Skip to content

feat: add composable DataTable component #39

feat: add composable DataTable component

feat: add composable DataTable component #39

Triggered via pull request March 9, 2026 12:03
Status Failure
Total duration 52s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Lint
Process completed with exit code 1.
Lint
@repo/storybook#lint: command (/home/runner/work/datum-ui/datum-ui/apps/storybook) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
Lint: apps/storybook/stories/features/data-table.stories.tsx#L432
Closing tag of a multiline JSX expression must be on its own line
Lint: apps/storybook/stories/features/data-table.stories.tsx#L407
`{` .custom-dt [data-slot="dt-header"] { background-color: #1e293b; color: #f8fafc; } .custom-dt [data-slot="dt-header-cell"] { padding: 12px 16px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.75rem; } .custom-dt [data-slot="dt-row"]:hover { background-color: #f1f5f9; } .custom-dt [data-slot="dt-row"][data-state="selected"] { background-color: #dbeafe; } .custom-dt [data-slot="dt-cell"] { padding: 10px 16px; } .custom-dt [data-slot="dt-pagination"] { border-top: 2px solid #e2e8f0; padding-top: 12px; } `}` must be placed on a new line
Lint: apps/storybook/stories/features/data-table.stories.tsx#L362
` selected` must be placed on a new line
Lint: apps/storybook/stories/features/data-table.stories.tsx#L362
`{selectedRows.length}` must be placed on a new line
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L192
Do not call the 'set' function 'setPendingDate' of 'useState' directly in 'useEffect'
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 126) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
Lint: packages/datum-ui/src/components/features/calendar-date-picker/calendar-date-picker.tsx#L107
The 'today' object construction makes the dependencies of useMemo Hook (at line 117) change on every render. To fix this, wrap the initialization of 'today' in its own useMemo() Hook
Lint: packages/datum-ui/src/components/features/avatar-stack/avatar-stack.tsx#L95
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/typography/typography.tsx#L383
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/typography/typography.tsx#L381
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/typography/typography.tsx#L379
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/button/index.tsx#L1
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/button/button.tsx#L332
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: packages/datum-ui/src/components/base/badge/badge.tsx#L229
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components