@dashforge/tw 0.5.0-beta → 0.6.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +268 -0
- package/dist/index.esm.js +1553 -4
- package/dist/src/components/Table/Table.d.ts +24 -0
- package/dist/src/components/Table/Table.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/getNestedValue.d.ts +20 -0
- package/dist/src/components/Table/_internal/getNestedValue.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useColumnAutoDetect.d.ts +45 -0
- package/dist/src/components/Table/_internal/useColumnAutoDetect.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useControllableState.d.ts +23 -0
- package/dist/src/components/Table/_internal/useControllableState.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useDebouncedValue.d.ts +10 -0
- package/dist/src/components/Table/_internal/useDebouncedValue.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useTableFilter.d.ts +13 -0
- package/dist/src/components/Table/_internal/useTableFilter.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useTableSearch.d.ts +23 -0
- package/dist/src/components/Table/_internal/useTableSearch.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useTableSelection.d.ts +25 -0
- package/dist/src/components/Table/_internal/useTableSelection.d.ts.map +1 -0
- package/dist/src/components/Table/_internal/useTableSort.d.ts +20 -0
- package/dist/src/components/Table/_internal/useTableSort.d.ts.map +1 -0
- package/dist/src/components/Table/cells/RenderButton.d.ts +13 -0
- package/dist/src/components/Table/cells/RenderButton.d.ts.map +1 -0
- package/dist/src/components/Table/cells/RenderChip.d.ts +80 -0
- package/dist/src/components/Table/cells/RenderChip.d.ts.map +1 -0
- package/dist/src/components/Table/cells/RenderText.d.ts +21 -0
- package/dist/src/components/Table/cells/RenderText.d.ts.map +1 -0
- package/dist/src/components/Table/cells/RenderTwoLine.d.ts +20 -0
- package/dist/src/components/Table/cells/RenderTwoLine.d.ts.map +1 -0
- package/dist/src/components/Table/cells/RowActionsMenu.d.ts +36 -0
- package/dist/src/components/Table/cells/RowActionsMenu.d.ts.map +1 -0
- package/dist/src/components/Table/cells/index.d.ts +11 -0
- package/dist/src/components/Table/cells/index.d.ts.map +1 -0
- package/dist/src/components/Table/table.types.d.ts +304 -0
- package/dist/src/components/Table/table.types.d.ts.map +1 -0
- package/dist/src/components/Table/table.variants.d.ts +285 -0
- package/dist/src/components/Table/table.variants.d.ts.map +1 -0
- package/dist/src/index.d.ts +7 -1
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.test.tsx +603 -0
- package/src/components/Table/Table.tsx +816 -0
- package/src/components/Table/_internal/getNestedValue.test.ts +50 -0
- package/src/components/Table/_internal/getNestedValue.ts +32 -0
- package/src/components/Table/_internal/themeIdentity.test.ts +84 -0
- package/src/components/Table/_internal/useColumnAutoDetect.test.ts +123 -0
- package/src/components/Table/_internal/useColumnAutoDetect.ts +100 -0
- package/src/components/Table/_internal/useControllableState.ts +48 -0
- package/src/components/Table/_internal/useDebouncedValue.ts +24 -0
- package/src/components/Table/_internal/useTableFilter.ts +37 -0
- package/src/components/Table/_internal/useTableSearch.test.ts +115 -0
- package/src/components/Table/_internal/useTableSearch.ts +66 -0
- package/src/components/Table/_internal/useTableSelection.test.ts +100 -0
- package/src/components/Table/_internal/useTableSelection.ts +100 -0
- package/src/components/Table/_internal/useTableSort.test.ts +150 -0
- package/src/components/Table/_internal/useTableSort.ts +141 -0
- package/src/components/Table/cells/RenderButton.tsx +23 -0
- package/src/components/Table/cells/RenderChip.tsx +103 -0
- package/src/components/Table/cells/RenderText.tsx +37 -0
- package/src/components/Table/cells/RenderTwoLine.tsx +34 -0
- package/src/components/Table/cells/RowActionsMenu.tsx +147 -0
- package/src/components/Table/cells/index.ts +14 -0
- package/src/components/Table/table.types.ts +337 -0
- package/src/components/Table/table.variants.ts +207 -0
- package/src/index.ts +43 -1
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { AccessRequirement } from '@dashforge/rbac';
|
|
3
|
+
import type { TableVariants } from './table.variants.js';
|
|
4
|
+
/**
|
|
5
|
+
* Type-level dotted path through an object's nested structure.
|
|
6
|
+
*
|
|
7
|
+
* `NestedKeyOf<{ user: { name: string } }>` → `'user' | 'user.name'`.
|
|
8
|
+
*
|
|
9
|
+
* Used as the `field` of a column to give autocomplete on nested
|
|
10
|
+
* paths. The runtime lookup happens via `getNestedValue` in
|
|
11
|
+
* `_internal/getNestedValue.ts` (split on `.` and walk).
|
|
12
|
+
*/
|
|
13
|
+
export type NestedKeyOf<T extends object> = {
|
|
14
|
+
[K in keyof T & (string | number)]: T[K] extends object | undefined ? T[K] extends ReadonlyArray<unknown> ? `${K}` : NonNullable<T[K]> extends object ? `${K}` | `${K}.${NestedKeyOf<NonNullable<T[K]>>}` : `${K}` : `${K}`;
|
|
15
|
+
}[keyof T & (string | number)];
|
|
16
|
+
/**
|
|
17
|
+
* Auto-detected primitive type for a column. Drives smart defaults:
|
|
18
|
+
* - `number` → align right + monospace (`tabular-nums`)
|
|
19
|
+
* - `date` → align left + monospace (consistent ISO width)
|
|
20
|
+
* - `boolean` → align center
|
|
21
|
+
* - `string` → align left (default)
|
|
22
|
+
* - `unknown` → fallback to left, no monospace
|
|
23
|
+
*/
|
|
24
|
+
export type TableColumnInferredType = 'number' | 'date' | 'boolean' | 'string' | 'unknown';
|
|
25
|
+
/**
|
|
26
|
+
* Context passed to a custom `cellRenderer`. Mirrors what the consumer
|
|
27
|
+
* needs to render a cell: row, resolved value, position, selection
|
|
28
|
+
* state, expand state, and the resolved RBAC access state for THIS
|
|
29
|
+
* column.
|
|
30
|
+
*/
|
|
31
|
+
export interface TableCellContext<T> {
|
|
32
|
+
row: T;
|
|
33
|
+
value: unknown;
|
|
34
|
+
rowIndex: number;
|
|
35
|
+
isSelected: boolean;
|
|
36
|
+
isExpanded: boolean;
|
|
37
|
+
/** Resolved RBAC state for this column. `null` if no `access` set. */
|
|
38
|
+
access: {
|
|
39
|
+
hidden: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
} | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* One column definition for `<Table>`.
|
|
46
|
+
*
|
|
47
|
+
* **i18n**: pass `t('users.name')` directly to `header` — `header`
|
|
48
|
+
* accepts `string` for the common case. Use the function form
|
|
49
|
+
* `header: () => <span>…</span>` only when you need richer JSX.
|
|
50
|
+
*
|
|
51
|
+
* **Smart defaults**: when `align` / `monospace` are omitted, the
|
|
52
|
+
* Table auto-detects the column type from the first non-null value
|
|
53
|
+
* across the visible rows and applies `right + tabular-nums` for
|
|
54
|
+
* numbers, `center` for booleans, etc. Explicit props always win.
|
|
55
|
+
*/
|
|
56
|
+
export interface TableColumn<T extends object> {
|
|
57
|
+
/**
|
|
58
|
+
* Dotted path to the value in each row. Supports nested keys
|
|
59
|
+
* (`'address.city.zipCode'`) thanks to `NestedKeyOf<T>` typing +
|
|
60
|
+
* runtime `getNestedValue()`.
|
|
61
|
+
*/
|
|
62
|
+
field: NestedKeyOf<T> | (string & {});
|
|
63
|
+
/**
|
|
64
|
+
* Visible header. Pass a translation string directly:
|
|
65
|
+
* `header: t('users.name')`. Use the function form for richer
|
|
66
|
+
* JSX (e.g. header with an icon).
|
|
67
|
+
*/
|
|
68
|
+
header: string | (() => ReactNode);
|
|
69
|
+
/** Pixel width (`px`). Mutually informative with `flex`. */
|
|
70
|
+
width?: number;
|
|
71
|
+
/** Flex grow factor (CSS `flex: <n> 1 0`). */
|
|
72
|
+
flex?: number;
|
|
73
|
+
/** Minimum pixel width (for resizable columns — deferred to v1-bis). */
|
|
74
|
+
minWidth?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Horizontal alignment. Default is auto-detected from value type
|
|
77
|
+
* (number → right, boolean → center, otherwise left).
|
|
78
|
+
*/
|
|
79
|
+
align?: 'left' | 'right' | 'center';
|
|
80
|
+
/**
|
|
81
|
+
* Opt-in to a monospace **font family** for this column. The
|
|
82
|
+
* library never auto-applies `font-mono` — it would override the
|
|
83
|
+
* consumer's theme `font-sans`. Set `true` explicitly only when
|
|
84
|
+
* the design calls for a typewriter font (e.g. raw hex IDs).
|
|
85
|
+
*
|
|
86
|
+
* The dashforgePreset does NOT own the `fontFamily` axis; the
|
|
87
|
+
* consumer configures the mono stack in their own
|
|
88
|
+
* `tailwind.config.ts` (`theme.extend.fontFamily.mono`).
|
|
89
|
+
*/
|
|
90
|
+
monospace?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Apply `font-variant-numeric: tabular-nums` so every digit
|
|
93
|
+
* occupies the same width — clean alignment for currency / metric
|
|
94
|
+
* columns. Does NOT change the font family. Auto-applied for
|
|
95
|
+
* `number` and `date` columns; pass `false` explicitly to opt out
|
|
96
|
+
* or `true` to force on a string column.
|
|
97
|
+
*/
|
|
98
|
+
tabularNums?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Make the column sortable. Pass `true` for default comparator
|
|
101
|
+
* (works for string/number/date/boolean) or a custom
|
|
102
|
+
* `(a, b) => number`.
|
|
103
|
+
*/
|
|
104
|
+
sortable?: boolean | ((a: T, b: T) => number);
|
|
105
|
+
/**
|
|
106
|
+
* Include this column in the global search filter.
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
searchable?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Enable per-column quick filter (text-based in v1).
|
|
112
|
+
* @default false
|
|
113
|
+
*/
|
|
114
|
+
filterable?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Custom cell renderer. Receives the full row + the resolved
|
|
117
|
+
* (potentially nested) value, the row index, selection state,
|
|
118
|
+
* expansion state, and the RBAC access state.
|
|
119
|
+
*/
|
|
120
|
+
cellRenderer?: (ctx: TableCellContext<T>) => ReactNode;
|
|
121
|
+
/**
|
|
122
|
+
* Per-column RBAC. `onUnauthorized: 'hide'` removes the column
|
|
123
|
+
* entirely from header AND every row cell (a11y-correct).
|
|
124
|
+
* `disable` / `readonly` are forwarded to `cellRenderer` via
|
|
125
|
+
* `ctx.access` — the renderer is expected to honor them.
|
|
126
|
+
*/
|
|
127
|
+
access?: AccessRequirement;
|
|
128
|
+
/** Reserved for v1-bis (column-visibility dialog). */
|
|
129
|
+
hideable?: boolean;
|
|
130
|
+
defaultHidden?: boolean;
|
|
131
|
+
}
|
|
132
|
+
export type TableSortDirection = 'asc' | 'desc';
|
|
133
|
+
export interface TableSortItem {
|
|
134
|
+
field: string;
|
|
135
|
+
direction: TableSortDirection;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Sort model. Single-column sort = array of length 1. Multi-column
|
|
139
|
+
* sort = array of N (typically up to 3). The order matters: first
|
|
140
|
+
* item is the primary sort key, subsequent items break ties.
|
|
141
|
+
*/
|
|
142
|
+
export type TableSortModel = TableSortItem[];
|
|
143
|
+
export interface TableFilterItem {
|
|
144
|
+
field: string;
|
|
145
|
+
/** Text substring match. Future ops: `equals`, `in`, `gte`, `lte`, `between`. */
|
|
146
|
+
op: 'contains';
|
|
147
|
+
value: string;
|
|
148
|
+
}
|
|
149
|
+
export type TableFilterModel = TableFilterItem[];
|
|
150
|
+
export type TableRowSelectionMode = 'none' | 'single' | 'multiple';
|
|
151
|
+
/**
|
|
152
|
+
* Internal default strings used by the Table for accessibility
|
|
153
|
+
* announcements, density toggle, search placeholder, etc. Pass the
|
|
154
|
+
* subset you need to translate; the rest fall back to English.
|
|
155
|
+
*
|
|
156
|
+
* For column headers, empty state, bulk actions and row action
|
|
157
|
+
* labels — pass the translated value directly via the matching
|
|
158
|
+
* prop (`header`, `emptyState`, `bulkActions`, `rowActions`).
|
|
159
|
+
*/
|
|
160
|
+
export interface TableLabels {
|
|
161
|
+
searchPlaceholder?: string;
|
|
162
|
+
noData?: string;
|
|
163
|
+
loading?: string;
|
|
164
|
+
ariaSortNone?: string;
|
|
165
|
+
ariaSortAscending?: string;
|
|
166
|
+
ariaSortDescending?: string;
|
|
167
|
+
ariaSelectRow?: string;
|
|
168
|
+
ariaSelectAllRows?: string;
|
|
169
|
+
ariaExpandRow?: string;
|
|
170
|
+
ariaCollapseRow?: string;
|
|
171
|
+
/** "X selected" — `{count}` placeholder gets replaced. */
|
|
172
|
+
selectedCount?: string;
|
|
173
|
+
clearSelection?: string;
|
|
174
|
+
/** Per-column filter Popover. */
|
|
175
|
+
filterColumn?: string;
|
|
176
|
+
filterApply?: string;
|
|
177
|
+
filterClear?: string;
|
|
178
|
+
/** Density toggle. */
|
|
179
|
+
density?: string;
|
|
180
|
+
densityCompact?: string;
|
|
181
|
+
densityComfortable?: string;
|
|
182
|
+
densitySpacious?: string;
|
|
183
|
+
}
|
|
184
|
+
export interface TableSlotProps {
|
|
185
|
+
root?: {
|
|
186
|
+
className?: string;
|
|
187
|
+
};
|
|
188
|
+
toolbar?: {
|
|
189
|
+
className?: string;
|
|
190
|
+
};
|
|
191
|
+
search?: {
|
|
192
|
+
className?: string;
|
|
193
|
+
};
|
|
194
|
+
scroll?: {
|
|
195
|
+
className?: string;
|
|
196
|
+
};
|
|
197
|
+
table?: {
|
|
198
|
+
className?: string;
|
|
199
|
+
};
|
|
200
|
+
thead?: {
|
|
201
|
+
className?: string;
|
|
202
|
+
};
|
|
203
|
+
tbody?: {
|
|
204
|
+
className?: string;
|
|
205
|
+
};
|
|
206
|
+
headerRow?: {
|
|
207
|
+
className?: string;
|
|
208
|
+
};
|
|
209
|
+
headerCell?: {
|
|
210
|
+
className?: string;
|
|
211
|
+
};
|
|
212
|
+
row?: {
|
|
213
|
+
className?: string;
|
|
214
|
+
};
|
|
215
|
+
cell?: {
|
|
216
|
+
className?: string;
|
|
217
|
+
};
|
|
218
|
+
emptyState?: {
|
|
219
|
+
className?: string;
|
|
220
|
+
};
|
|
221
|
+
loadingOverlay?: {
|
|
222
|
+
className?: string;
|
|
223
|
+
};
|
|
224
|
+
selectionCell?: {
|
|
225
|
+
className?: string;
|
|
226
|
+
};
|
|
227
|
+
expandToggleCell?: {
|
|
228
|
+
className?: string;
|
|
229
|
+
};
|
|
230
|
+
expandedRow?: {
|
|
231
|
+
className?: string;
|
|
232
|
+
};
|
|
233
|
+
rowActionsCell?: {
|
|
234
|
+
className?: string;
|
|
235
|
+
};
|
|
236
|
+
bulkActionFooter?: {
|
|
237
|
+
className?: string;
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
export interface TableExpandableConfig<T> {
|
|
241
|
+
render: (row: T) => ReactNode;
|
|
242
|
+
expandedRowIds?: string[];
|
|
243
|
+
onExpandChange?: (ids: string[]) => void;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Props for `<Table>`.
|
|
247
|
+
*
|
|
248
|
+
* Hybrid declarative-first architecture: by default every state piece
|
|
249
|
+
* (sort, filter, search, selection, expansion) is internal. Pass the
|
|
250
|
+
* matching controlled prop + change handler to lift state up.
|
|
251
|
+
*
|
|
252
|
+
* Smart defaults: column types are auto-detected on first render —
|
|
253
|
+
* number columns get right-align + tabular-nums, dates get monospace,
|
|
254
|
+
* booleans get center-align, etc. Override via explicit `align` /
|
|
255
|
+
* `monospace` per column.
|
|
256
|
+
*
|
|
257
|
+
* Visual style: Stripe-inspired clean lines by default
|
|
258
|
+
* (`variant="lines"`), row actions revealed on hover, sticky header,
|
|
259
|
+
* `comfortable` density. Switch via variant / density / size props.
|
|
260
|
+
*
|
|
261
|
+
* i18n: column `header` accepts plain strings (use `t('...')`
|
|
262
|
+
* directly). All internal label strings configurable via `labels`
|
|
263
|
+
* prop with English defaults.
|
|
264
|
+
*/
|
|
265
|
+
export interface TableProps<T extends object> extends Pick<TableVariants, 'variant' | 'size' | 'density'> {
|
|
266
|
+
rows: T[];
|
|
267
|
+
cols: TableColumn<T>[];
|
|
268
|
+
/** Stable row id resolver. Default: positional index. */
|
|
269
|
+
getRowId?: (row: T, index: number) => string;
|
|
270
|
+
sortModel?: TableSortModel;
|
|
271
|
+
onSortChange?: (model: TableSortModel) => void;
|
|
272
|
+
/** Default sort applied when uncontrolled. */
|
|
273
|
+
defaultSortModel?: TableSortModel;
|
|
274
|
+
enableSearch?: boolean;
|
|
275
|
+
searchQuery?: string;
|
|
276
|
+
onSearchQueryChange?: (q: string) => void;
|
|
277
|
+
searchPlaceholder?: string;
|
|
278
|
+
searchDebounceMs?: number;
|
|
279
|
+
filterModel?: TableFilterModel;
|
|
280
|
+
onFilterChange?: (model: TableFilterModel) => void;
|
|
281
|
+
rowSelection?: TableRowSelectionMode;
|
|
282
|
+
selectedRowIds?: string[];
|
|
283
|
+
onSelectionChange?: (ids: string[]) => void;
|
|
284
|
+
/** Sticky bulk action footer (visible only when selection > 0). */
|
|
285
|
+
bulkActions?: (selectedRows: T[]) => ReactNode;
|
|
286
|
+
expandable?: TableExpandableConfig<T>;
|
|
287
|
+
rowActions?: (row: T) => ReactNode;
|
|
288
|
+
loading?: boolean;
|
|
289
|
+
/** Number of skeleton rows shown while `loading=true`. @default 5 */
|
|
290
|
+
loadingRowCount?: number;
|
|
291
|
+
emptyState?: ReactNode;
|
|
292
|
+
/** Sticky header. @default true */
|
|
293
|
+
stickyHeader?: boolean;
|
|
294
|
+
/** Optional caption for screen readers. */
|
|
295
|
+
caption?: ReactNode;
|
|
296
|
+
/** Renders the caption visually too (otherwise sr-only). @default false */
|
|
297
|
+
showCaption?: boolean;
|
|
298
|
+
/** Table-level RBAC. `hide` returns null; `disable` greys everything. */
|
|
299
|
+
access?: AccessRequirement;
|
|
300
|
+
labels?: TableLabels;
|
|
301
|
+
sx?: string;
|
|
302
|
+
slotProps?: TableSlotProps;
|
|
303
|
+
}
|
|
304
|
+
//# sourceMappingURL=table.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/table.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK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,CAAC,CAAC,CAAC,CAAC;IAGtC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IAGnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qEAAqE;IACrE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;IAGvB,mCAAmC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,OAAO,CAAC;IAGtB,yEAAyE;IACzE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAG3B,MAAM,CAAC,EAAE,WAAW,CAAC;IAGrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B"}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
2
|
+
/**
|
|
3
|
+
* `<Table>` variant recipe.
|
|
4
|
+
*
|
|
5
|
+
* Slots:
|
|
6
|
+
* - `root` — outer wrapper
|
|
7
|
+
* - `toolbar` — search + filter chips row above table
|
|
8
|
+
* - `search` — search input
|
|
9
|
+
* - `scroll` — `<div class="overflow-auto">` wrapping the table
|
|
10
|
+
* - `table` — `<table>` element
|
|
11
|
+
* - `thead` — `<thead>` (sticky positioning here)
|
|
12
|
+
* - `tbody` — `<tbody>`
|
|
13
|
+
* - `headerRow` — `<tr>` inside `<thead>`
|
|
14
|
+
* - `headerCell` — `<th>` cell
|
|
15
|
+
* - `headerCellButton` — `<button>` inside sortable `<th>`
|
|
16
|
+
* - `row` — `<tr>` inside `<tbody>` (data row)
|
|
17
|
+
* - `cell` — `<td>` data cell
|
|
18
|
+
* - `selectionCell` — first `<td>` when selection mode active
|
|
19
|
+
* - `expandToggleCell` — second `<td>` when expandable active
|
|
20
|
+
* - `expandedRow` — full-width `<tr>` rendered after an expanded row
|
|
21
|
+
* - `rowActionsCell` — last `<td>` when `rowActions` provided
|
|
22
|
+
* - `emptyState` — placeholder when rows is empty
|
|
23
|
+
* - `loadingOverlay` — skeleton overlay when loading
|
|
24
|
+
* - `bulkActionFooter` — sticky footer with bulk actions
|
|
25
|
+
*
|
|
26
|
+
* Variant axes:
|
|
27
|
+
* - `variant` — visual row-division style:
|
|
28
|
+
* - `plain` — minimal separators
|
|
29
|
+
* - `lines` — Stripe-style thin horizontal dividers (default)
|
|
30
|
+
* - `striped` — alternating row backgrounds (zebra)
|
|
31
|
+
* - `bordered` — full cell borders
|
|
32
|
+
* - `card` — each row rendered as a separate surface card
|
|
33
|
+
* - `size` — `sm` / `md` (default) / `lg`
|
|
34
|
+
* - `density` — `compact` (40px row) / `comfortable` (default 48px) / `spacious` (56px)
|
|
35
|
+
*
|
|
36
|
+
* Smart-default alignment (per column) is applied by the Table
|
|
37
|
+
* component code, NOT here — it depends on the runtime-detected
|
|
38
|
+
* value type, which the recipe doesn't see.
|
|
39
|
+
*
|
|
40
|
+
* **Dashforge identity rule** (memory: `feedback_dashforge_preset_is_identity`):
|
|
41
|
+
* This recipe uses NO `dark:` variants on the neutral palette. The
|
|
42
|
+
* `dashforgePreset()` CSS-variable swap auto-inverts neutral tokens
|
|
43
|
+
* (`bg-neutral-50` is light surface in light mode, dark surface in
|
|
44
|
+
* dark mode — same class, different physical color). Adding a
|
|
45
|
+
* `dark:` variant on neutral palette = DOUBLE inversion = breaks
|
|
46
|
+
* dark mode. The selected-row state uses the canonical LeftNav
|
|
47
|
+
* `itemActive` pattern (`bg-primary-100 text-primary-900 font-medium`),
|
|
48
|
+
* which works in both modes because the primary palette has no
|
|
49
|
+
* inversion (both `bg` and `text` resolve to the same physical
|
|
50
|
+
* colors regardless of mode → guaranteed contrast).
|
|
51
|
+
*/
|
|
52
|
+
export declare const tableVariants: import("tailwind-variants").TVReturnType<{
|
|
53
|
+
variant: {
|
|
54
|
+
plain: {};
|
|
55
|
+
lines: {};
|
|
56
|
+
striped: {
|
|
57
|
+
row: string;
|
|
58
|
+
};
|
|
59
|
+
bordered: {
|
|
60
|
+
table: string;
|
|
61
|
+
cell: string;
|
|
62
|
+
headerCell: string;
|
|
63
|
+
};
|
|
64
|
+
card: {
|
|
65
|
+
scroll: string;
|
|
66
|
+
table: string;
|
|
67
|
+
row: string[];
|
|
68
|
+
cell: string;
|
|
69
|
+
headerCell: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
sm: {
|
|
74
|
+
headerCell: string;
|
|
75
|
+
cell: string;
|
|
76
|
+
search: string;
|
|
77
|
+
};
|
|
78
|
+
md: {
|
|
79
|
+
headerCell: string;
|
|
80
|
+
cell: string;
|
|
81
|
+
search: string;
|
|
82
|
+
};
|
|
83
|
+
lg: {
|
|
84
|
+
headerCell: string;
|
|
85
|
+
cell: string;
|
|
86
|
+
search: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
density: {
|
|
90
|
+
compact: {
|
|
91
|
+
headerCell: string;
|
|
92
|
+
cell: string;
|
|
93
|
+
};
|
|
94
|
+
comfortable: {
|
|
95
|
+
headerCell: string;
|
|
96
|
+
cell: string;
|
|
97
|
+
};
|
|
98
|
+
spacious: {
|
|
99
|
+
headerCell: string;
|
|
100
|
+
cell: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
stickyHeader: {
|
|
104
|
+
true: {
|
|
105
|
+
thead: string;
|
|
106
|
+
};
|
|
107
|
+
false: {};
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
root: string;
|
|
111
|
+
toolbar: string;
|
|
112
|
+
search: string[];
|
|
113
|
+
scroll: string;
|
|
114
|
+
table: string;
|
|
115
|
+
thead: string;
|
|
116
|
+
tbody: string;
|
|
117
|
+
headerRow: string;
|
|
118
|
+
headerCell: string[];
|
|
119
|
+
headerCellButton: string[];
|
|
120
|
+
row: string[];
|
|
121
|
+
cell: string[];
|
|
122
|
+
selectionCell: string;
|
|
123
|
+
expandToggleCell: string;
|
|
124
|
+
expandedRow: string;
|
|
125
|
+
rowActionsCell: string[];
|
|
126
|
+
emptyState: string[];
|
|
127
|
+
loadingOverlay: string[];
|
|
128
|
+
bulkActionFooter: string[];
|
|
129
|
+
}, undefined, {
|
|
130
|
+
variant: {
|
|
131
|
+
plain: {};
|
|
132
|
+
lines: {};
|
|
133
|
+
striped: {
|
|
134
|
+
row: string;
|
|
135
|
+
};
|
|
136
|
+
bordered: {
|
|
137
|
+
table: string;
|
|
138
|
+
cell: string;
|
|
139
|
+
headerCell: string;
|
|
140
|
+
};
|
|
141
|
+
card: {
|
|
142
|
+
scroll: string;
|
|
143
|
+
table: string;
|
|
144
|
+
row: string[];
|
|
145
|
+
cell: string;
|
|
146
|
+
headerCell: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
size: {
|
|
150
|
+
sm: {
|
|
151
|
+
headerCell: string;
|
|
152
|
+
cell: string;
|
|
153
|
+
search: string;
|
|
154
|
+
};
|
|
155
|
+
md: {
|
|
156
|
+
headerCell: string;
|
|
157
|
+
cell: string;
|
|
158
|
+
search: string;
|
|
159
|
+
};
|
|
160
|
+
lg: {
|
|
161
|
+
headerCell: string;
|
|
162
|
+
cell: string;
|
|
163
|
+
search: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
density: {
|
|
167
|
+
compact: {
|
|
168
|
+
headerCell: string;
|
|
169
|
+
cell: string;
|
|
170
|
+
};
|
|
171
|
+
comfortable: {
|
|
172
|
+
headerCell: string;
|
|
173
|
+
cell: string;
|
|
174
|
+
};
|
|
175
|
+
spacious: {
|
|
176
|
+
headerCell: string;
|
|
177
|
+
cell: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
stickyHeader: {
|
|
181
|
+
true: {
|
|
182
|
+
thead: string;
|
|
183
|
+
};
|
|
184
|
+
false: {};
|
|
185
|
+
};
|
|
186
|
+
}, {
|
|
187
|
+
root: string;
|
|
188
|
+
toolbar: string;
|
|
189
|
+
search: string[];
|
|
190
|
+
scroll: string;
|
|
191
|
+
table: string;
|
|
192
|
+
thead: string;
|
|
193
|
+
tbody: string;
|
|
194
|
+
headerRow: string;
|
|
195
|
+
headerCell: string[];
|
|
196
|
+
headerCellButton: string[];
|
|
197
|
+
row: string[];
|
|
198
|
+
cell: string[];
|
|
199
|
+
selectionCell: string;
|
|
200
|
+
expandToggleCell: string;
|
|
201
|
+
expandedRow: string;
|
|
202
|
+
rowActionsCell: string[];
|
|
203
|
+
emptyState: string[];
|
|
204
|
+
loadingOverlay: string[];
|
|
205
|
+
bulkActionFooter: string[];
|
|
206
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
207
|
+
variant: {
|
|
208
|
+
plain: {};
|
|
209
|
+
lines: {};
|
|
210
|
+
striped: {
|
|
211
|
+
row: string;
|
|
212
|
+
};
|
|
213
|
+
bordered: {
|
|
214
|
+
table: string;
|
|
215
|
+
cell: string;
|
|
216
|
+
headerCell: string;
|
|
217
|
+
};
|
|
218
|
+
card: {
|
|
219
|
+
scroll: string;
|
|
220
|
+
table: string;
|
|
221
|
+
row: string[];
|
|
222
|
+
cell: string;
|
|
223
|
+
headerCell: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
size: {
|
|
227
|
+
sm: {
|
|
228
|
+
headerCell: string;
|
|
229
|
+
cell: string;
|
|
230
|
+
search: string;
|
|
231
|
+
};
|
|
232
|
+
md: {
|
|
233
|
+
headerCell: string;
|
|
234
|
+
cell: string;
|
|
235
|
+
search: string;
|
|
236
|
+
};
|
|
237
|
+
lg: {
|
|
238
|
+
headerCell: string;
|
|
239
|
+
cell: string;
|
|
240
|
+
search: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
density: {
|
|
244
|
+
compact: {
|
|
245
|
+
headerCell: string;
|
|
246
|
+
cell: string;
|
|
247
|
+
};
|
|
248
|
+
comfortable: {
|
|
249
|
+
headerCell: string;
|
|
250
|
+
cell: string;
|
|
251
|
+
};
|
|
252
|
+
spacious: {
|
|
253
|
+
headerCell: string;
|
|
254
|
+
cell: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
stickyHeader: {
|
|
258
|
+
true: {
|
|
259
|
+
thead: string;
|
|
260
|
+
};
|
|
261
|
+
false: {};
|
|
262
|
+
};
|
|
263
|
+
}, {
|
|
264
|
+
root: string;
|
|
265
|
+
toolbar: string;
|
|
266
|
+
search: string[];
|
|
267
|
+
scroll: string;
|
|
268
|
+
table: string;
|
|
269
|
+
thead: string;
|
|
270
|
+
tbody: string;
|
|
271
|
+
headerRow: string;
|
|
272
|
+
headerCell: string[];
|
|
273
|
+
headerCellButton: string[];
|
|
274
|
+
row: string[];
|
|
275
|
+
cell: string[];
|
|
276
|
+
selectionCell: string;
|
|
277
|
+
expandToggleCell: string;
|
|
278
|
+
expandedRow: string;
|
|
279
|
+
rowActionsCell: string[];
|
|
280
|
+
emptyState: string[];
|
|
281
|
+
loadingOverlay: string[];
|
|
282
|
+
bulkActionFooter: string[];
|
|
283
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
284
|
+
export type TableVariants = VariantProps<typeof tableVariants>;
|
|
285
|
+
//# sourceMappingURL=table.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/table.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAwJxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -114,6 +114,12 @@ export { skeletonVariants } from './components/Skeleton/skeleton.variants.js';
|
|
|
114
114
|
export { Pagination } from './components/Pagination/Pagination.js';
|
|
115
115
|
export type { PaginationProps, PaginationSlotProps, PaginationLabels, } from './components/Pagination/pagination.types.js';
|
|
116
116
|
export { paginationVariants } from './components/Pagination/pagination.variants.js';
|
|
117
|
+
export { Table } from './components/Table/Table.js';
|
|
118
|
+
export type { TableProps, TableColumn, TableColumnInferredType, TableCellContext, TableSortDirection, TableSortItem, TableSortModel, TableFilterItem, TableFilterModel, TableRowSelectionMode, TableExpandableConfig, TableLabels, TableSlotProps, NestedKeyOf, } from './components/Table/table.types.js';
|
|
119
|
+
export { tableVariants } from './components/Table/table.variants.js';
|
|
120
|
+
export { RenderText, RenderTwoLine, RenderChip, RenderButton, RowActionsMenu, } from './components/Table/cells/index.js';
|
|
121
|
+
export type { RenderTextProps, RenderTwoLineProps, RenderChipProps, RenderButtonProps, RowActionsMenuProps, TableRowAction, } from './components/Table/cells/index.js';
|
|
122
|
+
export { getNestedValue } from './components/Table/_internal/getNestedValue.js';
|
|
117
123
|
export { useAccessState } from './hooks/useAccessState.js';
|
|
118
124
|
export { cn } from './utils/cn.js';
|
|
119
125
|
export { tv } from 'tailwind-variants';
|
|
@@ -121,5 +127,5 @@ export type { VariantProps } from 'tailwind-variants';
|
|
|
121
127
|
/**
|
|
122
128
|
* Package version (synced with `package.json` at publish time).
|
|
123
129
|
*/
|
|
124
|
-
export declare const VERSION = "0.
|
|
130
|
+
export declare const VERSION = "0.6.0-beta";
|
|
125
131
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1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