eidos-ui 1.2.0 → 2.0.0
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/dist/Table.types-Cl5gR8r9.d.cts +183 -0
- package/dist/Table.types-jhPb7JNU.d.ts +183 -0
- package/dist/{chunk-6XB3QTHO.cjs → chunk-2ZENLZEQ.cjs} +55 -51
- package/dist/chunk-2ZENLZEQ.cjs.map +1 -0
- package/dist/{chunk-6DBCT5MK.js → chunk-AJZTVCST.js} +1 -1
- package/dist/chunk-AJZTVCST.js.map +1 -0
- package/dist/{chunk-P2ZHWFK4.js → chunk-MH2CD2QT.js} +29 -25
- package/dist/chunk-MH2CD2QT.js.map +1 -0
- package/dist/{chunk-NUK4NT5Q.cjs → chunk-QONDJ5VM.cjs} +11 -11
- package/dist/chunk-QONDJ5VM.cjs.map +1 -0
- package/dist/{chunk-2KO5ZCZC.js → chunk-VSFKM7FE.js} +2 -2
- package/dist/chunk-VSFKM7FE.js.map +1 -0
- package/dist/{chunk-TKLWQWMT.cjs → chunk-XVSODE4K.cjs} +1 -1
- package/dist/chunk-XVSODE4K.cjs.map +1 -0
- package/dist/data-grid/index.cjs +3 -3
- package/dist/data-grid/index.d.cts +123 -51
- package/dist/data-grid/index.d.ts +123 -51
- package/dist/data-grid/index.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/table/index.cjs +3 -3
- package/dist/table/index.d.cts +5 -5
- package/dist/table/index.d.ts +5 -5
- package/dist/table/index.js +2 -2
- package/package.json +1 -1
- package/dist/Table.types-Bv9l7qxd.d.ts +0 -103
- package/dist/Table.types-DQ0ReOLj.d.cts +0 -103
- package/dist/chunk-2KO5ZCZC.js.map +0 -1
- package/dist/chunk-6DBCT5MK.js.map +0 -1
- package/dist/chunk-6XB3QTHO.cjs.map +0 -1
- package/dist/chunk-NUK4NT5Q.cjs.map +0 -1
- package/dist/chunk-P2ZHWFK4.js.map +0 -1
- package/dist/chunk-TKLWQWMT.cjs.map +0 -1
package/dist/data-grid/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk2ZENLZEQcjs = require('../chunk-2ZENLZEQ.cjs');
|
|
4
|
+
require('../chunk-XVSODE4K.cjs');
|
|
5
5
|
require('../chunk-TROYIUDH.cjs');
|
|
6
6
|
require('../chunk-EQEV7GPT.cjs');
|
|
7
7
|
require('../chunk-ISABZ2VX.cjs');
|
|
@@ -27,5 +27,5 @@ require('../chunk-Z5U4NJTW.cjs');
|
|
|
27
27
|
require('../chunk-DZUJEN5N.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.DataGrid =
|
|
30
|
+
exports.DataGrid = _chunk2ZENLZEQcjs.DataGrid;
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { I as IconType } from '../renderIcon-C2lEMMzb.cjs';
|
|
3
|
+
import { R as RowKey, e as TableFilters, B as BulkAction } from '../Table.types-Cl5gR8r9.cjs';
|
|
4
|
+
export { a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption } from '../Table.types-Cl5gR8r9.cjs';
|
|
3
5
|
import { C as ComboboxOption } from '../Combobox.types-B7ozlnA9.cjs';
|
|
4
6
|
import { b as MenuItemType } from '../Menu.types-DwcuCZM7.cjs';
|
|
5
7
|
import { S as SelectOption } from '../Select.types-CAkT2ACt.cjs';
|
|
6
8
|
import { b as SegmentedOption, S as SegmentedControlColorProps } from '../SegmentedControl.types-Dm4SnwCK.cjs';
|
|
7
|
-
import
|
|
8
|
-
export { a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption } from '../Table.types-DQ0ReOLj.cjs';
|
|
9
|
+
import '../Button.types-DZRCVqyN.cjs';
|
|
9
10
|
import '../sizes-DM6Rrrgq.cjs';
|
|
10
11
|
import '../Input.types-DFZNyJGF.cjs';
|
|
11
|
-
import '../Button.types-DZRCVqyN.cjs';
|
|
12
12
|
|
|
13
|
-
type DataGridCellType = 'text' | 'number' | 'select' | 'checkbox' | 'date' | 'readonly' | 'actions';
|
|
13
|
+
type DataGridCellType = 'text' | 'number' | 'select' | 'checkbox' | 'date' | 'readonly' | 'custom' | 'actions';
|
|
14
|
+
/** Cell types that address a row field, i.e. everything but the two escape hatches. */
|
|
15
|
+
type DataGridValueCellType = Exclude<DataGridCellType, 'custom' | 'actions'>;
|
|
14
16
|
interface DataGridSelectOption {
|
|
15
17
|
value: string;
|
|
16
18
|
label: string;
|
|
@@ -22,9 +24,15 @@ interface DataGridSelectOption {
|
|
|
22
24
|
* field (including ones you don't display), without hunting through column
|
|
23
25
|
* definitions to find which ones set a filter flag.
|
|
24
26
|
*/
|
|
25
|
-
interface DataGridFilterField {
|
|
26
|
-
/**
|
|
27
|
-
|
|
27
|
+
interface DataGridFilterField<T extends object = Record<string, unknown>> {
|
|
28
|
+
/**
|
|
29
|
+
* Row data key this filter reads/writes. Does not need to match a `columns`
|
|
30
|
+
* entry - the decoupling from `columns` is intact, so filtering an
|
|
31
|
+
* undisplayed field still works. It does have to be a real field of `T`,
|
|
32
|
+
* because the filter evaluates `row[key]`: a name that isn't on the row
|
|
33
|
+
* type used to compile fine and then silently match nothing.
|
|
34
|
+
*/
|
|
35
|
+
key: RowKey<T>;
|
|
28
36
|
label: string;
|
|
29
37
|
/** Filter UI type. @default 'text' */
|
|
30
38
|
filterType?: 'text' | 'select' | 'date' | 'boolean';
|
|
@@ -40,9 +48,12 @@ interface DataGridFilterField {
|
|
|
40
48
|
type DataGridQuickFilterSelectOption = Omit<SelectOption, 'id'>;
|
|
41
49
|
type DataGridQuickFilterComboboxOption = Omit<ComboboxOption, 'id'>;
|
|
42
50
|
type DataGridQuickFilterSegmentedOption = SegmentedOption;
|
|
43
|
-
interface DataGridQuickFilterBase {
|
|
44
|
-
/**
|
|
45
|
-
|
|
51
|
+
interface DataGridQuickFilterBase<T extends object = Record<string, unknown>> {
|
|
52
|
+
/**
|
|
53
|
+
* Row data key this filter reads/writes. Does not need to match a `columns`
|
|
54
|
+
* entry, but must be a real field of `T` - the filter evaluates `row[key]`.
|
|
55
|
+
*/
|
|
56
|
+
key: RowKey<T>;
|
|
46
57
|
/**
|
|
47
58
|
* Short label for the control. The toolbar has no room for a visible field
|
|
48
59
|
* label, so this is used as the control's placeholder and its accessible
|
|
@@ -63,7 +74,7 @@ interface DataGridQuickFilterBase {
|
|
|
63
74
|
*/
|
|
64
75
|
defaultValue?: string | string[];
|
|
65
76
|
}
|
|
66
|
-
interface DataGridQuickFilterSelect extends DataGridQuickFilterBase {
|
|
77
|
+
interface DataGridQuickFilterSelect<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
67
78
|
type: 'select';
|
|
68
79
|
options: DataGridQuickFilterSelectOption[];
|
|
69
80
|
/** Select several values at once - writes a `string[]` filter value. @default false */
|
|
@@ -73,7 +84,7 @@ interface DataGridQuickFilterSelect extends DataGridQuickFilterBase {
|
|
|
73
84
|
/** Defaults to `label`. */
|
|
74
85
|
placeholder?: string;
|
|
75
86
|
}
|
|
76
|
-
interface DataGridQuickFilterCombobox extends DataGridQuickFilterBase {
|
|
87
|
+
interface DataGridQuickFilterCombobox<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
77
88
|
type: 'combobox';
|
|
78
89
|
/** Optional so options can be supplied asynchronously via `onSearch`. */
|
|
79
90
|
options?: DataGridQuickFilterComboboxOption[];
|
|
@@ -87,7 +98,7 @@ interface DataGridQuickFilterCombobox extends DataGridQuickFilterBase {
|
|
|
87
98
|
loading?: boolean;
|
|
88
99
|
loadingText?: string;
|
|
89
100
|
}
|
|
90
|
-
interface DataGridQuickFilterSegmented extends DataGridQuickFilterBase {
|
|
101
|
+
interface DataGridQuickFilterSegmented<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
91
102
|
type: 'segmented';
|
|
92
103
|
/**
|
|
93
104
|
* Rendered after the reset segment, which the grid always prepends - a
|
|
@@ -104,7 +115,7 @@ interface DataGridQuickFilterSegmented extends DataGridQuickFilterBase {
|
|
|
104
115
|
* `DataGridProps.quickFilters`. Discriminated on `type`, so each control only
|
|
105
116
|
* accepts the props that actually apply to it.
|
|
106
117
|
*/
|
|
107
|
-
type DataGridQuickFilter = DataGridQuickFilterSelect | DataGridQuickFilterCombobox | DataGridQuickFilterSegmented
|
|
118
|
+
type DataGridQuickFilter<T extends object = Record<string, unknown>> = DataGridQuickFilterSelect<T> | DataGridQuickFilterCombobox<T> | DataGridQuickFilterSegmented<T>;
|
|
108
119
|
/** A single entry in a `type: 'actions'` column's menu - see `DataGridColumn.actions`. */
|
|
109
120
|
interface DataGridRowAction<T = Record<string, unknown>> {
|
|
110
121
|
/** Defaults to `label` if omitted - only needs to be unique within this column's `actions`. */
|
|
@@ -118,24 +129,11 @@ interface DataGridRowAction<T = Record<string, unknown>> {
|
|
|
118
129
|
/** Renders a separator directly above this item. */
|
|
119
130
|
divider?: boolean;
|
|
120
131
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
key: string;
|
|
132
|
+
/** Members every column variant shares, whether or not it addresses a row field. */
|
|
133
|
+
interface DataGridColumnCommon {
|
|
124
134
|
header: string;
|
|
125
|
-
/** @default 'text' */
|
|
126
|
-
type?: DataGridCellType;
|
|
127
135
|
width?: number | string;
|
|
128
136
|
minWidth?: number | string;
|
|
129
|
-
/** @default true */
|
|
130
|
-
editable?: boolean;
|
|
131
|
-
/** Show error if cell is left empty */
|
|
132
|
-
required?: boolean;
|
|
133
|
-
/** For type='select' */
|
|
134
|
-
options?: DataGridSelectOption[];
|
|
135
|
-
/** Return an error string or `true` if valid */
|
|
136
|
-
validate?: (value: unknown) => string | true;
|
|
137
|
-
renderCell?: (value: unknown, row: T, rowIndex: number) => React__default.ReactNode;
|
|
138
|
-
renderEditor?: (value: unknown, onChange: (v: unknown) => void, row: T) => React__default.ReactNode;
|
|
139
137
|
/** Enable click-to-sort on this column */
|
|
140
138
|
sortable?: boolean;
|
|
141
139
|
/**
|
|
@@ -149,6 +147,73 @@ interface DataGridColumn<T = Record<string, unknown>> {
|
|
|
149
147
|
align?: 'left' | 'center' | 'right';
|
|
150
148
|
/** Lock this column to the left or right edge on horizontal scroll */
|
|
151
149
|
pin?: 'left' | 'right';
|
|
150
|
+
/**
|
|
151
|
+
* Render this column's value as the card's title instead of a label:value
|
|
152
|
+
* field row. Only the first column with `cardHeader` set is used - if
|
|
153
|
+
* several are marked, the rest are silently ignored.
|
|
154
|
+
*/
|
|
155
|
+
cardHeader?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Render this column's value as the card's subtitle, directly under the
|
|
158
|
+
* `cardHeader` value. Only the first column with `cardSubheader` set is
|
|
159
|
+
* used. Has no effect without a `cardHeader` column also being set.
|
|
160
|
+
*/
|
|
161
|
+
cardSubheader?: boolean;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A column bound to the row field named by `key`, which is what makes `value`
|
|
165
|
+
* knowable: every callback below receives `T[K]` rather than `unknown`.
|
|
166
|
+
*
|
|
167
|
+
* Not used directly - `DataGridColumn` distributes this over `keyof T` so each
|
|
168
|
+
* entry in a `columns` array correlates its own `key` with its own value type.
|
|
169
|
+
*/
|
|
170
|
+
interface DataGridValueColumn<T extends object, K extends RowKey<T>> extends DataGridColumnCommon {
|
|
171
|
+
/** Matches the key in the data row object. */
|
|
172
|
+
key: K;
|
|
173
|
+
/** @default 'text' */
|
|
174
|
+
type?: DataGridValueCellType;
|
|
175
|
+
/** @default true */
|
|
176
|
+
editable?: boolean;
|
|
177
|
+
/** Show error if cell is left empty */
|
|
178
|
+
required?: boolean;
|
|
179
|
+
/** For type='select' */
|
|
180
|
+
options?: DataGridSelectOption[];
|
|
181
|
+
/** Return an error string or `true` if valid */
|
|
182
|
+
validate?: (value: T[K]) => string | true;
|
|
183
|
+
renderCell?: (value: T[K], row: T, rowIndex: number) => React__default.ReactNode;
|
|
184
|
+
renderEditor?: (value: T[K], onChange: (v: T[K]) => void, row: T) => React__default.ReactNode;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* A column that renders from the whole row rather than one field - a computed
|
|
188
|
+
* or composite value (`${row.first} ${row.last}`), a link, a status derived
|
|
189
|
+
* from several fields. `key` is free-form here because nothing reads
|
|
190
|
+
* `row[key]`: it's only an identity for React keys, sorting and `data-col-key`.
|
|
191
|
+
*
|
|
192
|
+
* This is the home for what used to be expressible by pointing `key` at a
|
|
193
|
+
* field that didn't exist. Not editable - there is no single field to write
|
|
194
|
+
* back to - so `editable`, `required`, `validate` and `renderEditor` are all
|
|
195
|
+
* absent by design.
|
|
196
|
+
*/
|
|
197
|
+
interface DataGridCustomColumn<T extends object> extends DataGridColumnCommon {
|
|
198
|
+
/** Free-form - must only be unique within `columns`. */
|
|
199
|
+
key: string;
|
|
200
|
+
type: 'custom';
|
|
201
|
+
/**
|
|
202
|
+
* Required: a custom column has no field to fall back to rendering.
|
|
203
|
+
* `value` is always `undefined` and exists only to keep the parameter list
|
|
204
|
+
* aligned with `DataGridValueColumn.renderCell`, so `(_, row) => ...` reads
|
|
205
|
+
* the same on both.
|
|
206
|
+
*/
|
|
207
|
+
renderCell: (value: undefined, row: T, rowIndex: number) => React__default.ReactNode;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* The row-actions column. Addresses no field, so it needs no `key` at all -
|
|
211
|
+
* previously this had to carry a required placeholder string that nothing read.
|
|
212
|
+
*/
|
|
213
|
+
interface DataGridActionsColumn<T extends object> extends DataGridColumnCommon {
|
|
214
|
+
/** Optional, and unused - only ever an identity for React keys. */
|
|
215
|
+
key?: string;
|
|
216
|
+
type: 'actions';
|
|
152
217
|
/**
|
|
153
218
|
* The menu items shown for this row. Required for the column to render
|
|
154
219
|
* anything - a `type: 'actions'` column with no `actions` renders nothing.
|
|
@@ -169,24 +234,31 @@ interface DataGridColumn<T = Record<string, unknown>> {
|
|
|
169
234
|
* ignored.
|
|
170
235
|
*/
|
|
171
236
|
renderActions?: (row: T, index: number) => MenuItemType[];
|
|
172
|
-
/**
|
|
173
|
-
* Render this column's value as the card's title instead of a label:value
|
|
174
|
-
* field row. Only the first column with `cardHeader` set is used - if
|
|
175
|
-
* several are marked, the rest are silently ignored.
|
|
176
|
-
*/
|
|
177
|
-
cardHeader?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Render this column's value as the card's subtitle, directly under the
|
|
180
|
-
* `cardHeader` value. Only the first column with `cardSubheader` set is
|
|
181
|
-
* used. Has no effect without a `cardHeader` column also being set.
|
|
182
|
-
*/
|
|
183
|
-
cardSubheader?: boolean;
|
|
184
237
|
}
|
|
185
|
-
|
|
238
|
+
/**
|
|
239
|
+
* One column definition. A union of three variants, discriminated on `type`:
|
|
240
|
+
*
|
|
241
|
+
* - **value column** (default, `type` omitted or a cell type) - `key` must be a
|
|
242
|
+
* field of `T`, and `renderCell`/`renderEditor`/`validate` receive that
|
|
243
|
+
* field's type instead of `unknown`.
|
|
244
|
+
* - **`type: 'custom'`** - renders from the whole row; `key` is free-form.
|
|
245
|
+
* - **`type: 'actions'`** - the row-actions menu; `key` is optional.
|
|
246
|
+
*
|
|
247
|
+
* The value variant is produced by distributing over `RowKey<T>`, which is
|
|
248
|
+
* what correlates `key` with the value type. Note this keeps a single public
|
|
249
|
+
* type parameter, so no consumer signature changes.
|
|
250
|
+
*
|
|
251
|
+
* With the untyped default `T`, `RowKey<T>` is `string` and `T[K]` is
|
|
252
|
+
* `unknown`, which is byte-identical to the pre-2.0 behaviour.
|
|
253
|
+
*/
|
|
254
|
+
type DataGridColumn<T extends object = Record<string, unknown>> = {
|
|
255
|
+
[K in RowKey<T>]: DataGridValueColumn<T, K>;
|
|
256
|
+
}[RowKey<T>] | DataGridCustomColumn<T> | DataGridActionsColumn<T>;
|
|
257
|
+
interface DataGridProps<T extends object = Record<string, unknown>> {
|
|
186
258
|
columns: DataGridColumn<T>[];
|
|
187
259
|
data: T[];
|
|
188
260
|
/** Field name used as React key. @default 'id' */
|
|
189
|
-
rowKey?:
|
|
261
|
+
rowKey?: RowKey<T>;
|
|
190
262
|
/** Called after each cell commit with the full updated dataset */
|
|
191
263
|
onChange?: (data: T[]) => void;
|
|
192
264
|
/** Returns a blank row object; if omitted, no Add-row button is shown */
|
|
@@ -206,11 +278,11 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
206
278
|
onRowReorder?: (newData: T[]) => void;
|
|
207
279
|
/** Controlled sort state. When provided, component is in server-side sort mode. */
|
|
208
280
|
currentSort?: {
|
|
209
|
-
key:
|
|
281
|
+
key: RowKey<T>;
|
|
210
282
|
direction: 'asc' | 'desc';
|
|
211
283
|
};
|
|
212
284
|
/** Server-side sort callback. When omitted, sorting is handled client-side. */
|
|
213
|
-
onSortChange?: (key:
|
|
285
|
+
onSortChange?: (key: RowKey<T>, direction: 'asc' | 'desc') => void;
|
|
214
286
|
/** Show the filter button in the toolbar. */
|
|
215
287
|
showFilters?: boolean;
|
|
216
288
|
/**
|
|
@@ -219,7 +291,7 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
219
291
|
* (including ones that aren't rendered as a column at all), rather than
|
|
220
292
|
* columns each carrying their own filter flag.
|
|
221
293
|
*/
|
|
222
|
-
filterConfig?: DataGridFilterField[];
|
|
294
|
+
filterConfig?: DataGridFilterField<T>[];
|
|
223
295
|
/** Controlled filter state (the current values, keyed by `filterConfig[].key`). When provided with onFiltersChange → server-side mode. */
|
|
224
296
|
filters?: TableFilters;
|
|
225
297
|
/** Filter change callback. When omitted, filtering is handled client-side. */
|
|
@@ -239,7 +311,7 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
239
311
|
* Hidden while rows are selected - the selection count and bulk actions
|
|
240
312
|
* occupy the same toolbar zone.
|
|
241
313
|
*/
|
|
242
|
-
quickFilters?: DataGridQuickFilter[];
|
|
314
|
+
quickFilters?: DataGridQuickFilter<T>[];
|
|
243
315
|
showPagination?: boolean;
|
|
244
316
|
/** @default 10 */
|
|
245
317
|
pageSize?: number;
|
|
@@ -312,14 +384,14 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
312
384
|
*/
|
|
313
385
|
cardMinWidth?: number;
|
|
314
386
|
}
|
|
315
|
-
type EditingCell = {
|
|
387
|
+
type EditingCell<T extends object = Record<string, unknown>> = {
|
|
316
388
|
rowIndex: number;
|
|
317
|
-
colKey:
|
|
389
|
+
colKey: RowKey<T>;
|
|
318
390
|
} | null;
|
|
319
391
|
|
|
320
|
-
declare function DataGridInner<T extends
|
|
392
|
+
declare function DataGridInner<T extends object>({ columns: columnsProp, data, rowKey, onChange, onRowAdd, editable, loading, emptyText, className, stickyHeader, maxHeight, showRowNumbers, draggableRows, onRowReorder, currentSort, onSortChange, showFilters, filterConfig, filters, onFiltersChange, quickFilters, showPagination, pageSize, pageSizeOptions, totalRows: totalRowsProp, onPageChange, selectable, selectedRows: controlledSelectedRows, defaultSelectedRows, onSelectionChange, bulkActions, expandable, renderExpandedContent, isRowExpandable, expandMultiple, expandedRows: controlledExpandedRows, defaultExpandedRows, onExpandedRowsChange, density, showDensity, hasCardView, cardViewBreakpoint, cardMinWidth, }: DataGridProps<T>): React__default.ReactElement;
|
|
321
393
|
declare const DataGrid: typeof DataGridInner & {
|
|
322
394
|
displayName: string;
|
|
323
395
|
};
|
|
324
396
|
|
|
325
|
-
export { BulkAction, DataGrid, type DataGridCellType, type DataGridColumn, type DataGridFilterField, type DataGridProps, type DataGridQuickFilter, type DataGridQuickFilterCombobox, type DataGridQuickFilterComboboxOption, type DataGridQuickFilterSegmented, type DataGridQuickFilterSegmentedOption, type DataGridQuickFilterSelect, type DataGridQuickFilterSelectOption, type DataGridRowAction, type DataGridSelectOption, type EditingCell };
|
|
397
|
+
export { BulkAction, DataGrid, type DataGridActionsColumn, type DataGridCellType, type DataGridColumn, type DataGridCustomColumn, type DataGridFilterField, type DataGridProps, type DataGridQuickFilter, type DataGridQuickFilterCombobox, type DataGridQuickFilterComboboxOption, type DataGridQuickFilterSegmented, type DataGridQuickFilterSegmentedOption, type DataGridQuickFilterSelect, type DataGridQuickFilterSelectOption, type DataGridRowAction, type DataGridSelectOption, type DataGridValueCellType, type DataGridValueColumn, type EditingCell };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { I as IconType } from '../renderIcon-C2lEMMzb.js';
|
|
3
|
+
import { R as RowKey, e as TableFilters, B as BulkAction } from '../Table.types-jhPb7JNU.js';
|
|
4
|
+
export { a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption } from '../Table.types-jhPb7JNU.js';
|
|
3
5
|
import { C as ComboboxOption } from '../Combobox.types-DkigkEh2.js';
|
|
4
6
|
import { b as MenuItemType } from '../Menu.types-DNIpjSAK.js';
|
|
5
7
|
import { S as SelectOption } from '../Select.types-B4kDpkGB.js';
|
|
6
8
|
import { b as SegmentedOption, S as SegmentedControlColorProps } from '../SegmentedControl.types-CK8EiShd.js';
|
|
7
|
-
import
|
|
8
|
-
export { a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption } from '../Table.types-Bv9l7qxd.js';
|
|
9
|
+
import '../Button.types-BH0CPyPx.js';
|
|
9
10
|
import '../sizes-DM6Rrrgq.js';
|
|
10
11
|
import '../Input.types-XrJTI0JC.js';
|
|
11
|
-
import '../Button.types-BH0CPyPx.js';
|
|
12
12
|
|
|
13
|
-
type DataGridCellType = 'text' | 'number' | 'select' | 'checkbox' | 'date' | 'readonly' | 'actions';
|
|
13
|
+
type DataGridCellType = 'text' | 'number' | 'select' | 'checkbox' | 'date' | 'readonly' | 'custom' | 'actions';
|
|
14
|
+
/** Cell types that address a row field, i.e. everything but the two escape hatches. */
|
|
15
|
+
type DataGridValueCellType = Exclude<DataGridCellType, 'custom' | 'actions'>;
|
|
14
16
|
interface DataGridSelectOption {
|
|
15
17
|
value: string;
|
|
16
18
|
label: string;
|
|
@@ -22,9 +24,15 @@ interface DataGridSelectOption {
|
|
|
22
24
|
* field (including ones you don't display), without hunting through column
|
|
23
25
|
* definitions to find which ones set a filter flag.
|
|
24
26
|
*/
|
|
25
|
-
interface DataGridFilterField {
|
|
26
|
-
/**
|
|
27
|
-
|
|
27
|
+
interface DataGridFilterField<T extends object = Record<string, unknown>> {
|
|
28
|
+
/**
|
|
29
|
+
* Row data key this filter reads/writes. Does not need to match a `columns`
|
|
30
|
+
* entry - the decoupling from `columns` is intact, so filtering an
|
|
31
|
+
* undisplayed field still works. It does have to be a real field of `T`,
|
|
32
|
+
* because the filter evaluates `row[key]`: a name that isn't on the row
|
|
33
|
+
* type used to compile fine and then silently match nothing.
|
|
34
|
+
*/
|
|
35
|
+
key: RowKey<T>;
|
|
28
36
|
label: string;
|
|
29
37
|
/** Filter UI type. @default 'text' */
|
|
30
38
|
filterType?: 'text' | 'select' | 'date' | 'boolean';
|
|
@@ -40,9 +48,12 @@ interface DataGridFilterField {
|
|
|
40
48
|
type DataGridQuickFilterSelectOption = Omit<SelectOption, 'id'>;
|
|
41
49
|
type DataGridQuickFilterComboboxOption = Omit<ComboboxOption, 'id'>;
|
|
42
50
|
type DataGridQuickFilterSegmentedOption = SegmentedOption;
|
|
43
|
-
interface DataGridQuickFilterBase {
|
|
44
|
-
/**
|
|
45
|
-
|
|
51
|
+
interface DataGridQuickFilterBase<T extends object = Record<string, unknown>> {
|
|
52
|
+
/**
|
|
53
|
+
* Row data key this filter reads/writes. Does not need to match a `columns`
|
|
54
|
+
* entry, but must be a real field of `T` - the filter evaluates `row[key]`.
|
|
55
|
+
*/
|
|
56
|
+
key: RowKey<T>;
|
|
46
57
|
/**
|
|
47
58
|
* Short label for the control. The toolbar has no room for a visible field
|
|
48
59
|
* label, so this is used as the control's placeholder and its accessible
|
|
@@ -63,7 +74,7 @@ interface DataGridQuickFilterBase {
|
|
|
63
74
|
*/
|
|
64
75
|
defaultValue?: string | string[];
|
|
65
76
|
}
|
|
66
|
-
interface DataGridQuickFilterSelect extends DataGridQuickFilterBase {
|
|
77
|
+
interface DataGridQuickFilterSelect<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
67
78
|
type: 'select';
|
|
68
79
|
options: DataGridQuickFilterSelectOption[];
|
|
69
80
|
/** Select several values at once - writes a `string[]` filter value. @default false */
|
|
@@ -73,7 +84,7 @@ interface DataGridQuickFilterSelect extends DataGridQuickFilterBase {
|
|
|
73
84
|
/** Defaults to `label`. */
|
|
74
85
|
placeholder?: string;
|
|
75
86
|
}
|
|
76
|
-
interface DataGridQuickFilterCombobox extends DataGridQuickFilterBase {
|
|
87
|
+
interface DataGridQuickFilterCombobox<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
77
88
|
type: 'combobox';
|
|
78
89
|
/** Optional so options can be supplied asynchronously via `onSearch`. */
|
|
79
90
|
options?: DataGridQuickFilterComboboxOption[];
|
|
@@ -87,7 +98,7 @@ interface DataGridQuickFilterCombobox extends DataGridQuickFilterBase {
|
|
|
87
98
|
loading?: boolean;
|
|
88
99
|
loadingText?: string;
|
|
89
100
|
}
|
|
90
|
-
interface DataGridQuickFilterSegmented extends DataGridQuickFilterBase {
|
|
101
|
+
interface DataGridQuickFilterSegmented<T extends object = Record<string, unknown>> extends DataGridQuickFilterBase<T> {
|
|
91
102
|
type: 'segmented';
|
|
92
103
|
/**
|
|
93
104
|
* Rendered after the reset segment, which the grid always prepends - a
|
|
@@ -104,7 +115,7 @@ interface DataGridQuickFilterSegmented extends DataGridQuickFilterBase {
|
|
|
104
115
|
* `DataGridProps.quickFilters`. Discriminated on `type`, so each control only
|
|
105
116
|
* accepts the props that actually apply to it.
|
|
106
117
|
*/
|
|
107
|
-
type DataGridQuickFilter = DataGridQuickFilterSelect | DataGridQuickFilterCombobox | DataGridQuickFilterSegmented
|
|
118
|
+
type DataGridQuickFilter<T extends object = Record<string, unknown>> = DataGridQuickFilterSelect<T> | DataGridQuickFilterCombobox<T> | DataGridQuickFilterSegmented<T>;
|
|
108
119
|
/** A single entry in a `type: 'actions'` column's menu - see `DataGridColumn.actions`. */
|
|
109
120
|
interface DataGridRowAction<T = Record<string, unknown>> {
|
|
110
121
|
/** Defaults to `label` if omitted - only needs to be unique within this column's `actions`. */
|
|
@@ -118,24 +129,11 @@ interface DataGridRowAction<T = Record<string, unknown>> {
|
|
|
118
129
|
/** Renders a separator directly above this item. */
|
|
119
130
|
divider?: boolean;
|
|
120
131
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
key: string;
|
|
132
|
+
/** Members every column variant shares, whether or not it addresses a row field. */
|
|
133
|
+
interface DataGridColumnCommon {
|
|
124
134
|
header: string;
|
|
125
|
-
/** @default 'text' */
|
|
126
|
-
type?: DataGridCellType;
|
|
127
135
|
width?: number | string;
|
|
128
136
|
minWidth?: number | string;
|
|
129
|
-
/** @default true */
|
|
130
|
-
editable?: boolean;
|
|
131
|
-
/** Show error if cell is left empty */
|
|
132
|
-
required?: boolean;
|
|
133
|
-
/** For type='select' */
|
|
134
|
-
options?: DataGridSelectOption[];
|
|
135
|
-
/** Return an error string or `true` if valid */
|
|
136
|
-
validate?: (value: unknown) => string | true;
|
|
137
|
-
renderCell?: (value: unknown, row: T, rowIndex: number) => React__default.ReactNode;
|
|
138
|
-
renderEditor?: (value: unknown, onChange: (v: unknown) => void, row: T) => React__default.ReactNode;
|
|
139
137
|
/** Enable click-to-sort on this column */
|
|
140
138
|
sortable?: boolean;
|
|
141
139
|
/**
|
|
@@ -149,6 +147,73 @@ interface DataGridColumn<T = Record<string, unknown>> {
|
|
|
149
147
|
align?: 'left' | 'center' | 'right';
|
|
150
148
|
/** Lock this column to the left or right edge on horizontal scroll */
|
|
151
149
|
pin?: 'left' | 'right';
|
|
150
|
+
/**
|
|
151
|
+
* Render this column's value as the card's title instead of a label:value
|
|
152
|
+
* field row. Only the first column with `cardHeader` set is used - if
|
|
153
|
+
* several are marked, the rest are silently ignored.
|
|
154
|
+
*/
|
|
155
|
+
cardHeader?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Render this column's value as the card's subtitle, directly under the
|
|
158
|
+
* `cardHeader` value. Only the first column with `cardSubheader` set is
|
|
159
|
+
* used. Has no effect without a `cardHeader` column also being set.
|
|
160
|
+
*/
|
|
161
|
+
cardSubheader?: boolean;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A column bound to the row field named by `key`, which is what makes `value`
|
|
165
|
+
* knowable: every callback below receives `T[K]` rather than `unknown`.
|
|
166
|
+
*
|
|
167
|
+
* Not used directly - `DataGridColumn` distributes this over `keyof T` so each
|
|
168
|
+
* entry in a `columns` array correlates its own `key` with its own value type.
|
|
169
|
+
*/
|
|
170
|
+
interface DataGridValueColumn<T extends object, K extends RowKey<T>> extends DataGridColumnCommon {
|
|
171
|
+
/** Matches the key in the data row object. */
|
|
172
|
+
key: K;
|
|
173
|
+
/** @default 'text' */
|
|
174
|
+
type?: DataGridValueCellType;
|
|
175
|
+
/** @default true */
|
|
176
|
+
editable?: boolean;
|
|
177
|
+
/** Show error if cell is left empty */
|
|
178
|
+
required?: boolean;
|
|
179
|
+
/** For type='select' */
|
|
180
|
+
options?: DataGridSelectOption[];
|
|
181
|
+
/** Return an error string or `true` if valid */
|
|
182
|
+
validate?: (value: T[K]) => string | true;
|
|
183
|
+
renderCell?: (value: T[K], row: T, rowIndex: number) => React__default.ReactNode;
|
|
184
|
+
renderEditor?: (value: T[K], onChange: (v: T[K]) => void, row: T) => React__default.ReactNode;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* A column that renders from the whole row rather than one field - a computed
|
|
188
|
+
* or composite value (`${row.first} ${row.last}`), a link, a status derived
|
|
189
|
+
* from several fields. `key` is free-form here because nothing reads
|
|
190
|
+
* `row[key]`: it's only an identity for React keys, sorting and `data-col-key`.
|
|
191
|
+
*
|
|
192
|
+
* This is the home for what used to be expressible by pointing `key` at a
|
|
193
|
+
* field that didn't exist. Not editable - there is no single field to write
|
|
194
|
+
* back to - so `editable`, `required`, `validate` and `renderEditor` are all
|
|
195
|
+
* absent by design.
|
|
196
|
+
*/
|
|
197
|
+
interface DataGridCustomColumn<T extends object> extends DataGridColumnCommon {
|
|
198
|
+
/** Free-form - must only be unique within `columns`. */
|
|
199
|
+
key: string;
|
|
200
|
+
type: 'custom';
|
|
201
|
+
/**
|
|
202
|
+
* Required: a custom column has no field to fall back to rendering.
|
|
203
|
+
* `value` is always `undefined` and exists only to keep the parameter list
|
|
204
|
+
* aligned with `DataGridValueColumn.renderCell`, so `(_, row) => ...` reads
|
|
205
|
+
* the same on both.
|
|
206
|
+
*/
|
|
207
|
+
renderCell: (value: undefined, row: T, rowIndex: number) => React__default.ReactNode;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* The row-actions column. Addresses no field, so it needs no `key` at all -
|
|
211
|
+
* previously this had to carry a required placeholder string that nothing read.
|
|
212
|
+
*/
|
|
213
|
+
interface DataGridActionsColumn<T extends object> extends DataGridColumnCommon {
|
|
214
|
+
/** Optional, and unused - only ever an identity for React keys. */
|
|
215
|
+
key?: string;
|
|
216
|
+
type: 'actions';
|
|
152
217
|
/**
|
|
153
218
|
* The menu items shown for this row. Required for the column to render
|
|
154
219
|
* anything - a `type: 'actions'` column with no `actions` renders nothing.
|
|
@@ -169,24 +234,31 @@ interface DataGridColumn<T = Record<string, unknown>> {
|
|
|
169
234
|
* ignored.
|
|
170
235
|
*/
|
|
171
236
|
renderActions?: (row: T, index: number) => MenuItemType[];
|
|
172
|
-
/**
|
|
173
|
-
* Render this column's value as the card's title instead of a label:value
|
|
174
|
-
* field row. Only the first column with `cardHeader` set is used - if
|
|
175
|
-
* several are marked, the rest are silently ignored.
|
|
176
|
-
*/
|
|
177
|
-
cardHeader?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Render this column's value as the card's subtitle, directly under the
|
|
180
|
-
* `cardHeader` value. Only the first column with `cardSubheader` set is
|
|
181
|
-
* used. Has no effect without a `cardHeader` column also being set.
|
|
182
|
-
*/
|
|
183
|
-
cardSubheader?: boolean;
|
|
184
237
|
}
|
|
185
|
-
|
|
238
|
+
/**
|
|
239
|
+
* One column definition. A union of three variants, discriminated on `type`:
|
|
240
|
+
*
|
|
241
|
+
* - **value column** (default, `type` omitted or a cell type) - `key` must be a
|
|
242
|
+
* field of `T`, and `renderCell`/`renderEditor`/`validate` receive that
|
|
243
|
+
* field's type instead of `unknown`.
|
|
244
|
+
* - **`type: 'custom'`** - renders from the whole row; `key` is free-form.
|
|
245
|
+
* - **`type: 'actions'`** - the row-actions menu; `key` is optional.
|
|
246
|
+
*
|
|
247
|
+
* The value variant is produced by distributing over `RowKey<T>`, which is
|
|
248
|
+
* what correlates `key` with the value type. Note this keeps a single public
|
|
249
|
+
* type parameter, so no consumer signature changes.
|
|
250
|
+
*
|
|
251
|
+
* With the untyped default `T`, `RowKey<T>` is `string` and `T[K]` is
|
|
252
|
+
* `unknown`, which is byte-identical to the pre-2.0 behaviour.
|
|
253
|
+
*/
|
|
254
|
+
type DataGridColumn<T extends object = Record<string, unknown>> = {
|
|
255
|
+
[K in RowKey<T>]: DataGridValueColumn<T, K>;
|
|
256
|
+
}[RowKey<T>] | DataGridCustomColumn<T> | DataGridActionsColumn<T>;
|
|
257
|
+
interface DataGridProps<T extends object = Record<string, unknown>> {
|
|
186
258
|
columns: DataGridColumn<T>[];
|
|
187
259
|
data: T[];
|
|
188
260
|
/** Field name used as React key. @default 'id' */
|
|
189
|
-
rowKey?:
|
|
261
|
+
rowKey?: RowKey<T>;
|
|
190
262
|
/** Called after each cell commit with the full updated dataset */
|
|
191
263
|
onChange?: (data: T[]) => void;
|
|
192
264
|
/** Returns a blank row object; if omitted, no Add-row button is shown */
|
|
@@ -206,11 +278,11 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
206
278
|
onRowReorder?: (newData: T[]) => void;
|
|
207
279
|
/** Controlled sort state. When provided, component is in server-side sort mode. */
|
|
208
280
|
currentSort?: {
|
|
209
|
-
key:
|
|
281
|
+
key: RowKey<T>;
|
|
210
282
|
direction: 'asc' | 'desc';
|
|
211
283
|
};
|
|
212
284
|
/** Server-side sort callback. When omitted, sorting is handled client-side. */
|
|
213
|
-
onSortChange?: (key:
|
|
285
|
+
onSortChange?: (key: RowKey<T>, direction: 'asc' | 'desc') => void;
|
|
214
286
|
/** Show the filter button in the toolbar. */
|
|
215
287
|
showFilters?: boolean;
|
|
216
288
|
/**
|
|
@@ -219,7 +291,7 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
219
291
|
* (including ones that aren't rendered as a column at all), rather than
|
|
220
292
|
* columns each carrying their own filter flag.
|
|
221
293
|
*/
|
|
222
|
-
filterConfig?: DataGridFilterField[];
|
|
294
|
+
filterConfig?: DataGridFilterField<T>[];
|
|
223
295
|
/** Controlled filter state (the current values, keyed by `filterConfig[].key`). When provided with onFiltersChange → server-side mode. */
|
|
224
296
|
filters?: TableFilters;
|
|
225
297
|
/** Filter change callback. When omitted, filtering is handled client-side. */
|
|
@@ -239,7 +311,7 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
239
311
|
* Hidden while rows are selected - the selection count and bulk actions
|
|
240
312
|
* occupy the same toolbar zone.
|
|
241
313
|
*/
|
|
242
|
-
quickFilters?: DataGridQuickFilter[];
|
|
314
|
+
quickFilters?: DataGridQuickFilter<T>[];
|
|
243
315
|
showPagination?: boolean;
|
|
244
316
|
/** @default 10 */
|
|
245
317
|
pageSize?: number;
|
|
@@ -312,14 +384,14 @@ interface DataGridProps<T extends Record<string, unknown> = Record<string, unkno
|
|
|
312
384
|
*/
|
|
313
385
|
cardMinWidth?: number;
|
|
314
386
|
}
|
|
315
|
-
type EditingCell = {
|
|
387
|
+
type EditingCell<T extends object = Record<string, unknown>> = {
|
|
316
388
|
rowIndex: number;
|
|
317
|
-
colKey:
|
|
389
|
+
colKey: RowKey<T>;
|
|
318
390
|
} | null;
|
|
319
391
|
|
|
320
|
-
declare function DataGridInner<T extends
|
|
392
|
+
declare function DataGridInner<T extends object>({ columns: columnsProp, data, rowKey, onChange, onRowAdd, editable, loading, emptyText, className, stickyHeader, maxHeight, showRowNumbers, draggableRows, onRowReorder, currentSort, onSortChange, showFilters, filterConfig, filters, onFiltersChange, quickFilters, showPagination, pageSize, pageSizeOptions, totalRows: totalRowsProp, onPageChange, selectable, selectedRows: controlledSelectedRows, defaultSelectedRows, onSelectionChange, bulkActions, expandable, renderExpandedContent, isRowExpandable, expandMultiple, expandedRows: controlledExpandedRows, defaultExpandedRows, onExpandedRowsChange, density, showDensity, hasCardView, cardViewBreakpoint, cardMinWidth, }: DataGridProps<T>): React__default.ReactElement;
|
|
321
393
|
declare const DataGrid: typeof DataGridInner & {
|
|
322
394
|
displayName: string;
|
|
323
395
|
};
|
|
324
396
|
|
|
325
|
-
export { BulkAction, DataGrid, type DataGridCellType, type DataGridColumn, type DataGridFilterField, type DataGridProps, type DataGridQuickFilter, type DataGridQuickFilterCombobox, type DataGridQuickFilterComboboxOption, type DataGridQuickFilterSegmented, type DataGridQuickFilterSegmentedOption, type DataGridQuickFilterSelect, type DataGridQuickFilterSelectOption, type DataGridRowAction, type DataGridSelectOption, type EditingCell };
|
|
397
|
+
export { BulkAction, DataGrid, type DataGridActionsColumn, type DataGridCellType, type DataGridColumn, type DataGridCustomColumn, type DataGridFilterField, type DataGridProps, type DataGridQuickFilter, type DataGridQuickFilterCombobox, type DataGridQuickFilterComboboxOption, type DataGridQuickFilterSegmented, type DataGridQuickFilterSegmentedOption, type DataGridQuickFilterSelect, type DataGridQuickFilterSelectOption, type DataGridRowAction, type DataGridSelectOption, type DataGridValueCellType, type DataGridValueColumn, type EditingCell };
|
package/dist/data-grid/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@ var _chunkHFZ5FKRGcjs = require('./chunk-HFZ5FKRG.cjs');
|
|
|
38
38
|
var _chunkIXZMKIV5cjs = require('./chunk-IXZMKIV5.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkQONDJ5VMcjs = require('./chunk-QONDJ5VM.cjs');
|
|
42
42
|
require('./chunk-3RUIKBH4.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
@@ -109,10 +109,10 @@ require('./chunk-VW32UTUE.cjs');
|
|
|
109
109
|
var _chunk4BQM5F76cjs = require('./chunk-4BQM5F76.cjs');
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunk2ZENLZEQcjs = require('./chunk-2ZENLZEQ.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
var
|
|
115
|
+
var _chunkXVSODE4Kcjs = require('./chunk-XVSODE4K.cjs');
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
var _chunkTROYIUDHcjs = require('./chunk-TROYIUDH.cjs');
|
|
@@ -265,5 +265,5 @@ require('./chunk-DZUJEN5N.cjs');
|
|
|
265
265
|
|
|
266
266
|
|
|
267
267
|
|
|
268
|
-
exports.Accordion = _chunkSDEKANNLcjs.Accordion; exports.AccordionItem = _chunkSDEKANNLcjs.AccordionItem; exports.Alert = _chunk6RGJAQCUcjs.Alert; exports.Avatar = _chunkQ3GNKF74cjs.Avatar; exports.AvatarGroup = _chunkQ3GNKF74cjs.AvatarGroup; exports.Badge = _chunk3ETWFS2Ncjs.Badge; exports.Breadcrumb = _chunk5O73AALPcjs.Breadcrumb; exports.Button = _chunkA7Z2QAFZcjs.Button; exports.ButtonGroup = _chunk2ROKOO22cjs.ButtonGroup; exports.Calendar = _chunk2U7UJOOBcjs.Calendar; exports.Card = _chunkV5RS3JZNcjs.Card; exports.Checkbox = _chunkIJ4DXG7Dcjs.Checkbox; exports.Chip = _chunkOGKD5PLScjs.Chip; exports.ColorPicker = _chunkW6IKHJ76cjs.ColorPicker; exports.Combobox = _chunkHNUTV3HRcjs.Combobox; exports.CommandPalette = _chunk3EPND5M2cjs.CommandPalette; exports.ContextMenu = _chunk4BQM5F76cjs.ContextMenu; exports.DataGrid =
|
|
268
|
+
exports.Accordion = _chunkSDEKANNLcjs.Accordion; exports.AccordionItem = _chunkSDEKANNLcjs.AccordionItem; exports.Alert = _chunk6RGJAQCUcjs.Alert; exports.Avatar = _chunkQ3GNKF74cjs.Avatar; exports.AvatarGroup = _chunkQ3GNKF74cjs.AvatarGroup; exports.Badge = _chunk3ETWFS2Ncjs.Badge; exports.Breadcrumb = _chunk5O73AALPcjs.Breadcrumb; exports.Button = _chunkA7Z2QAFZcjs.Button; exports.ButtonGroup = _chunk2ROKOO22cjs.ButtonGroup; exports.Calendar = _chunk2U7UJOOBcjs.Calendar; exports.Card = _chunkV5RS3JZNcjs.Card; exports.Checkbox = _chunkIJ4DXG7Dcjs.Checkbox; exports.Chip = _chunkOGKD5PLScjs.Chip; exports.ColorPicker = _chunkW6IKHJ76cjs.ColorPicker; exports.Combobox = _chunkHNUTV3HRcjs.Combobox; exports.CommandPalette = _chunk3EPND5M2cjs.CommandPalette; exports.ContextMenu = _chunk4BQM5F76cjs.ContextMenu; exports.DataGrid = _chunk2ZENLZEQcjs.DataGrid; exports.DatePicker = _chunk2U7UJOOBcjs.DatePicker; exports.Divider = _chunk366R4GKRcjs.Divider; exports.Drawer = _chunkPJC7NZUVcjs.Drawer; exports.Dropdown = _chunkFRUOA2QUcjs.Dropdown; exports.DropdownProvider = _chunkFRUOA2QUcjs.DropdownProvider; exports.EmptyState = _chunkKV3V2CPHcjs.EmptyState; exports.FileUpload = _chunk3CXULV4Gcjs.FileUpload; exports.Footer = _chunkPTBBY4ZXcjs.Footer; exports.Header = _chunkIJYYHBZCcjs.Header; exports.IconButton = _chunkA7Z2QAFZcjs.IconButton; exports.InlineEdit = _chunk4UJ7LG4Wcjs.InlineEdit; exports.Input = _chunkG5IGADJIcjs.Input; exports.Kbd = _chunkKVIL4EP4cjs.Kbd; exports.Menu = _chunkFMPXSF3Hcjs.Menu; exports.MenuPanel = _chunkFMPXSF3Hcjs.MenuPanel; exports.Modal = _chunkMW2S7PZ7cjs.Modal; exports.Navigation = _chunk7AHZTHXRcjs.Navigation; exports.NumberInput = _chunkQF2RAUPBcjs.NumberInput; exports.OTPInput = _chunkFKXKBJUIcjs.OTPInput; exports.PageLayout = _chunkWPTMMOA6cjs.PageLayout; exports.Pagination = _chunkISABZ2VXcjs.Pagination; exports.Pill = _chunkEQ6BNPTLcjs.Pill; exports.Popover = _chunkKIXFSXINcjs.Popover; exports.Progress = _chunkV2S6XWIQcjs.Progress; exports.Radio = _chunkQQIALSTXcjs.Radio; exports.RadioGroup = _chunkQQIALSTXcjs.RadioGroup; exports.SegmentedControl = _chunkDKZTDYH5cjs.SegmentedControl; exports.Select = _chunkHLNKIAE5cjs.Select; exports.Skeleton = _chunkIYWAZEFIcjs.Skeleton; exports.Slider = _chunkOZZHOEN5cjs.Slider; exports.SnackbarContainer = _chunkAYMD4D4Mcjs.SnackbarContainer; exports.SnackbarProvider = _chunkAYMD4D4Mcjs.SnackbarProvider; exports.Spinner = _chunkTROYIUDHcjs.Spinner; exports.SplitButton = _chunkEQEV7GPTcjs.SplitButton; exports.Stepper = _chunkHFZ5FKRGcjs.Stepper; exports.Switch = _chunkIXZMKIV5cjs.Switch; exports.Tab = _chunkS77GR5YQcjs.Tab; exports.TabPanel = _chunkS77GR5YQcjs.TabPanel; exports.Table = _chunkQONDJ5VMcjs.Table; exports.TableFiltersDropdown = _chunkXVSODE4Kcjs.TableFiltersDropdown; exports.Tabs = _chunkS77GR5YQcjs.Tabs; exports.TagInput = _chunkZBKJ3EMKcjs.TagInput; exports.Textarea = _chunk6U2H26A4cjs.Textarea; exports.TimeInput = _chunk2U7UJOOBcjs.TimeInput; exports.Timeline = _chunkZMDZGL5Acjs.Timeline; exports.Toolbar = _chunkUGMONQGHcjs.Toolbar; exports.Tooltip = _chunkZ5U4NJTWcjs.Tooltip; exports.TreeView = _chunkXKQMEVODcjs.TreeView; exports.VirtualList = _chunk6A2ZKVSTcjs.VirtualList; exports.renderIcon = _chunkGOR642KKcjs.renderIcon; exports.useDropdownContext = _chunkFRUOA2QUcjs.useDropdownContext; exports.useSnackbar = _chunkAYMD4D4Mcjs.useSnackbar; exports.useSnackbarContext = _chunkAYMD4D4Mcjs.useSnackbarContext;
|
|
269
269
|
//# sourceMappingURL=index.cjs.map
|