frontile 0.18.0-alpha.10 → 0.18.0-alpha.12
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/declarations/components/collections/simple-table/body.d.ts +55 -2
- package/declarations/components/collections/simple-table/cell.d.ts +52 -0
- package/declarations/components/collections/simple-table/column.d.ts +52 -0
- package/declarations/components/collections/simple-table/footer.d.ts +52 -0
- package/declarations/components/collections/simple-table/header.d.ts +52 -0
- package/declarations/components/collections/simple-table/index.d.ts +52 -0
- package/declarations/components/collections/simple-table/row.d.ts +54 -1
- package/declarations/components/collections/table/column-visibility.d.ts +52 -0
- package/declarations/components/collections/table/sort-button.d.ts +52 -0
- package/declarations/components/collections/table/table.d.ts +78 -3
- package/declarations/components/collections/table/types.d.ts +15 -3
- package/declarations/components/collections/table/utils.d.ts +3 -3
- package/declarations/components/overlays/overlay.d.ts +4 -2
- package/declarations/components/utilities/index.d.ts +1 -0
- package/declarations/components/utilities/skeleton.d.ts +31 -0
- package/declarations/template-registry.d.ts +2 -1
- package/declarations/utils/listManager.d.ts +14 -3
- package/dist/components/buttons/button-group.js +1 -1
- package/dist/components/buttons/button-group.js.map +1 -1
- package/dist/components/buttons/button.js +3 -3
- package/dist/components/buttons/button.js.map +1 -1
- package/dist/components/buttons/chip.js +1 -1
- package/dist/components/buttons/chip.js.map +1 -1
- package/dist/components/buttons/close-button.js +3 -3
- package/dist/components/buttons/close-button.js.map +1 -1
- package/dist/components/buttons/toggle-button.js +2 -2
- package/dist/components/buttons/toggle-button.js.map +1 -1
- package/dist/components/collections/dropdown.js +3 -3
- package/dist/components/collections/dropdown.js.map +1 -1
- package/dist/components/collections/listbox/item.js +3 -3
- package/dist/components/collections/listbox/item.js.map +1 -1
- package/dist/components/collections/listbox/listbox.js +1 -1
- package/dist/components/collections/listbox/listbox.js.map +1 -1
- package/dist/components/collections/simple-table/body.js +1 -1
- package/dist/components/collections/simple-table/body.js.map +1 -1
- package/dist/components/collections/simple-table/cell.js +1 -1
- package/dist/components/collections/simple-table/cell.js.map +1 -1
- package/dist/components/collections/simple-table/column.js +1 -1
- package/dist/components/collections/simple-table/column.js.map +1 -1
- package/dist/components/collections/simple-table/footer.js +1 -1
- package/dist/components/collections/simple-table/footer.js.map +1 -1
- package/dist/components/collections/simple-table/header.js +1 -1
- package/dist/components/collections/simple-table/header.js.map +1 -1
- package/dist/components/collections/simple-table/index.js +1 -1
- package/dist/components/collections/simple-table/index.js.map +1 -1
- package/dist/components/collections/simple-table/row.js +1 -1
- package/dist/components/collections/simple-table/row.js.map +1 -1
- package/dist/components/collections/table/cell-default.js +1 -1
- package/dist/components/collections/table/cell-default.js.map +1 -1
- package/dist/components/collections/table/cell-for.js +1 -1
- package/dist/components/collections/table/cell-for.js.map +1 -1
- package/dist/components/collections/table/checkbox.js +2 -2
- package/dist/components/collections/table/checkbox.js.map +1 -1
- package/dist/components/collections/table/column-visibility.js +2 -2
- package/dist/components/collections/table/column-visibility.js.map +1 -1
- package/dist/components/collections/table/icons.js +3 -3
- package/dist/components/collections/table/icons.js.map +1 -1
- package/dist/components/collections/table/sort-button.js +2 -2
- package/dist/components/collections/table/sort-button.js.map +1 -1
- package/dist/components/collections/table/table.js +51 -6
- package/dist/components/collections/table/table.js.map +1 -1
- package/dist/components/collections/table/utils.js +1 -1
- package/dist/components/collections/table/utils.js.map +1 -1
- package/dist/components/forms/autocomplete.js +2 -2
- package/dist/components/forms/autocomplete.js.map +1 -1
- package/dist/components/forms/checkbox-group.js +1 -1
- package/dist/components/forms/checkbox-group.js.map +1 -1
- package/dist/components/forms/checkbox.js +2 -2
- package/dist/components/forms/checkbox.js.map +1 -1
- package/dist/components/forms/field.js +2 -2
- package/dist/components/forms/field.js.map +1 -1
- package/dist/components/forms/form-control.js +1 -1
- package/dist/components/forms/form-control.js.map +1 -1
- package/dist/components/forms/form-description.js +1 -1
- package/dist/components/forms/form-description.js.map +1 -1
- package/dist/components/forms/form-feedback.js +1 -1
- package/dist/components/forms/form-feedback.js.map +1 -1
- package/dist/components/forms/form.js +2 -2
- package/dist/components/forms/form.js.map +1 -1
- package/dist/components/forms/icons.js +2 -2
- package/dist/components/forms/icons.js.map +1 -1
- package/dist/components/forms/input.js +2 -2
- package/dist/components/forms/input.js.map +1 -1
- package/dist/components/forms/label.js +1 -1
- package/dist/components/forms/label.js.map +1 -1
- package/dist/components/forms/native-select.js +3 -3
- package/dist/components/forms/native-select.js.map +1 -1
- package/dist/components/forms/radio-group.js +1 -1
- package/dist/components/forms/radio-group.js.map +1 -1
- package/dist/components/forms/radio.js +2 -2
- package/dist/components/forms/radio.js.map +1 -1
- package/dist/components/forms/select.js +2 -2
- package/dist/components/forms/select.js.map +1 -1
- package/dist/components/forms/switch.js +2 -2
- package/dist/components/forms/switch.js.map +1 -1
- package/dist/components/forms/textarea.js +2 -2
- package/dist/components/forms/textarea.js.map +1 -1
- package/dist/components/notifications/index.js +1 -1
- package/dist/components/notifications/notification-card.js +2 -3
- package/dist/components/notifications/notification-card.js.map +1 -1
- package/dist/components/notifications/notifications-container.js +2 -2
- package/dist/components/notifications/notifications-container.js.map +1 -1
- package/dist/components/overlays/backdrop.js +1 -1
- package/dist/components/overlays/backdrop.js.map +1 -1
- package/dist/components/overlays/drawer/body.js +1 -1
- package/dist/components/overlays/drawer/body.js.map +1 -1
- package/dist/components/overlays/drawer/footer.js +1 -1
- package/dist/components/overlays/drawer/footer.js.map +1 -1
- package/dist/components/overlays/drawer/header.js +1 -1
- package/dist/components/overlays/drawer/header.js.map +1 -1
- package/dist/components/overlays/drawer.js +1 -1
- package/dist/components/overlays/drawer.js.map +1 -1
- package/dist/components/overlays/index.js +1 -1
- package/dist/components/overlays/modal/body.js +1 -1
- package/dist/components/overlays/modal/body.js.map +1 -1
- package/dist/components/overlays/modal/footer.js +1 -1
- package/dist/components/overlays/modal/footer.js.map +1 -1
- package/dist/components/overlays/modal/header.js +1 -1
- package/dist/components/overlays/modal/header.js.map +1 -1
- package/dist/components/overlays/modal.js +1 -1
- package/dist/components/overlays/modal.js.map +1 -1
- package/dist/components/overlays/overlay.js +3 -4
- package/dist/components/overlays/overlay.js.map +1 -1
- package/dist/components/overlays/popover.js +3 -3
- package/dist/components/overlays/popover.js.map +1 -1
- package/dist/components/overlays/portal-target.js +1 -1
- package/dist/components/overlays/portal-target.js.map +1 -1
- package/dist/components/overlays/portal.js +1 -1
- package/dist/components/status/progress-bar.js +1 -1
- package/dist/components/status/progress-bar.js.map +1 -1
- package/dist/components/utilities/avatar.js +1 -1
- package/dist/components/utilities/avatar.js.map +1 -1
- package/dist/components/utilities/collapsible.js +1 -1
- package/dist/components/utilities/collapsible.js.map +1 -1
- package/dist/components/utilities/divider.js +1 -1
- package/dist/components/utilities/divider.js.map +1 -1
- package/dist/components/utilities/index.js +2 -1
- package/dist/components/utilities/index.js.map +1 -1
- package/dist/components/utilities/skeleton.js +14 -0
- package/dist/components/utilities/skeleton.js.map +1 -0
- package/dist/components/utilities/spinner.js +1 -1
- package/dist/components/utilities/spinner.js.map +1 -1
- package/dist/components/utilities/visually-hidden.js +1 -1
- package/dist/components/utilities/visually-hidden.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/{manager-C1Vyhk-A.js → manager-x3PBWzjm.js} +2 -2
- package/dist/{manager-C1Vyhk-A.js.map → manager-x3PBWzjm.js.map} +1 -1
- package/dist/notifications.js +1 -1
- package/dist/overlays.js +1 -1
- package/dist/{portal-BTKv9EEY.js → portal-D2m_lkn7.js} +3 -3
- package/dist/{portal-BTKv9EEY.js.map → portal-D2m_lkn7.js.map} +1 -1
- package/dist/{runtime-BPCpkOf1-B5Lbloj7.js → runtime--fcdnjmJ-BOdRhmsS.js} +2 -2
- package/dist/runtime--fcdnjmJ-BOdRhmsS.js.map +1 -0
- package/dist/services/notifications.js +1 -1
- package/dist/test-support.js +9 -31
- package/dist/test-support.js.map +1 -1
- package/dist/utilities.js +2 -1
- package/dist/utilities.js.map +1 -1
- package/dist/utils/listManager.js +98 -18
- package/dist/utils/listManager.js.map +1 -1
- package/dist/utils/ref.js +1 -1
- package/dist/utils/ref.js.map +1 -1
- package/dist/utils/toggle.js +1 -1
- package/dist/utils/toggle.js.map +1 -1
- package/package.json +21 -21
- package/dist/runtime-BPCpkOf1-B5Lbloj7.js.map +0 -1
|
@@ -3,6 +3,7 @@ import { useStyles } from '@frontile/theme';
|
|
|
3
3
|
import { SimpleTableRow } from './row';
|
|
4
4
|
import { SimpleTableCell } from './cell';
|
|
5
5
|
import type { SlotsToClasses, TableSlots } from '../table/types';
|
|
6
|
+
import type { WithBoundArgs } from '@glint/template';
|
|
6
7
|
interface SimpleTableBodySignature {
|
|
7
8
|
Args: {
|
|
8
9
|
/** Additional CSS class to apply to the body section */
|
|
@@ -22,8 +23,8 @@ interface SimpleTableBodySignature {
|
|
|
22
23
|
Blocks: {
|
|
23
24
|
default: [
|
|
24
25
|
{
|
|
25
|
-
Row: typeof SimpleTableRow
|
|
26
|
-
Cell: typeof SimpleTableCell
|
|
26
|
+
Row: WithBoundArgs<typeof SimpleTableRow, 'styleFns' | 'classes'>;
|
|
27
|
+
Cell: WithBoundArgs<typeof SimpleTableCell, 'styleFns' | 'classes'>;
|
|
27
28
|
}
|
|
28
29
|
];
|
|
29
30
|
};
|
|
@@ -225,6 +226,32 @@ declare class SimpleTableBody extends Component<SimpleTableBodySignature> {
|
|
|
225
226
|
hasStickyHeader?: boolean | undefined;
|
|
226
227
|
isInStickyRow?: boolean | undefined;
|
|
227
228
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
229
|
+
skeleton: (slotProps?: ({
|
|
230
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
231
|
+
isLoading?: boolean | undefined;
|
|
232
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
233
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
234
|
+
layout?: "fixed" | "auto" | undefined;
|
|
235
|
+
striped?: boolean | undefined;
|
|
236
|
+
isSticky?: boolean | undefined;
|
|
237
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
238
|
+
isScrollable?: boolean | undefined;
|
|
239
|
+
hasStickyHeader?: boolean | undefined;
|
|
240
|
+
isInStickyRow?: boolean | undefined;
|
|
241
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
242
|
+
skeletonRow: (slotProps?: ({
|
|
243
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
244
|
+
isLoading?: boolean | undefined;
|
|
245
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
246
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
247
|
+
layout?: "fixed" | "auto" | undefined;
|
|
248
|
+
striped?: boolean | undefined;
|
|
249
|
+
isSticky?: boolean | undefined;
|
|
250
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
251
|
+
isScrollable?: boolean | undefined;
|
|
252
|
+
hasStickyHeader?: boolean | undefined;
|
|
253
|
+
isInStickyRow?: boolean | undefined;
|
|
254
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
228
255
|
} & {
|
|
229
256
|
base: (slotProps?: ({
|
|
230
257
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -421,6 +448,32 @@ declare class SimpleTableBody extends Component<SimpleTableBodySignature> {
|
|
|
421
448
|
hasStickyHeader?: boolean | undefined;
|
|
422
449
|
isInStickyRow?: boolean | undefined;
|
|
423
450
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
451
|
+
skeleton: (slotProps?: ({
|
|
452
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
453
|
+
isLoading?: boolean | undefined;
|
|
454
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
455
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
456
|
+
layout?: "fixed" | "auto" | undefined;
|
|
457
|
+
striped?: boolean | undefined;
|
|
458
|
+
isSticky?: boolean | undefined;
|
|
459
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
460
|
+
isScrollable?: boolean | undefined;
|
|
461
|
+
hasStickyHeader?: boolean | undefined;
|
|
462
|
+
isInStickyRow?: boolean | undefined;
|
|
463
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
464
|
+
skeletonRow: (slotProps?: ({
|
|
465
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
466
|
+
isLoading?: boolean | undefined;
|
|
467
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
468
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
469
|
+
layout?: "fixed" | "auto" | undefined;
|
|
470
|
+
striped?: boolean | undefined;
|
|
471
|
+
isSticky?: boolean | undefined;
|
|
472
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
473
|
+
isScrollable?: boolean | undefined;
|
|
474
|
+
hasStickyHeader?: boolean | undefined;
|
|
475
|
+
isInStickyRow?: boolean | undefined;
|
|
476
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
424
477
|
} & {};
|
|
425
478
|
get classNames(): string;
|
|
426
479
|
}
|
|
@@ -224,6 +224,32 @@ declare class SimpleTableCell extends Component<SimpleTableCellSignature> {
|
|
|
224
224
|
hasStickyHeader?: boolean | undefined;
|
|
225
225
|
isInStickyRow?: boolean | undefined;
|
|
226
226
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
227
|
+
skeleton: (slotProps?: ({
|
|
228
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
229
|
+
isLoading?: boolean | undefined;
|
|
230
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
231
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
232
|
+
layout?: "fixed" | "auto" | undefined;
|
|
233
|
+
striped?: boolean | undefined;
|
|
234
|
+
isSticky?: boolean | undefined;
|
|
235
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
236
|
+
isScrollable?: boolean | undefined;
|
|
237
|
+
hasStickyHeader?: boolean | undefined;
|
|
238
|
+
isInStickyRow?: boolean | undefined;
|
|
239
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
240
|
+
skeletonRow: (slotProps?: ({
|
|
241
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
242
|
+
isLoading?: boolean | undefined;
|
|
243
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
244
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
245
|
+
layout?: "fixed" | "auto" | undefined;
|
|
246
|
+
striped?: boolean | undefined;
|
|
247
|
+
isSticky?: boolean | undefined;
|
|
248
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
249
|
+
isScrollable?: boolean | undefined;
|
|
250
|
+
hasStickyHeader?: boolean | undefined;
|
|
251
|
+
isInStickyRow?: boolean | undefined;
|
|
252
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
227
253
|
} & {
|
|
228
254
|
base: (slotProps?: ({
|
|
229
255
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -420,6 +446,32 @@ declare class SimpleTableCell extends Component<SimpleTableCellSignature> {
|
|
|
420
446
|
hasStickyHeader?: boolean | undefined;
|
|
421
447
|
isInStickyRow?: boolean | undefined;
|
|
422
448
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
449
|
+
skeleton: (slotProps?: ({
|
|
450
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
451
|
+
isLoading?: boolean | undefined;
|
|
452
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
453
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
454
|
+
layout?: "fixed" | "auto" | undefined;
|
|
455
|
+
striped?: boolean | undefined;
|
|
456
|
+
isSticky?: boolean | undefined;
|
|
457
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
458
|
+
isScrollable?: boolean | undefined;
|
|
459
|
+
hasStickyHeader?: boolean | undefined;
|
|
460
|
+
isInStickyRow?: boolean | undefined;
|
|
461
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
462
|
+
skeletonRow: (slotProps?: ({
|
|
463
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
464
|
+
isLoading?: boolean | undefined;
|
|
465
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
466
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
467
|
+
layout?: "fixed" | "auto" | undefined;
|
|
468
|
+
striped?: boolean | undefined;
|
|
469
|
+
isSticky?: boolean | undefined;
|
|
470
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
471
|
+
isScrollable?: boolean | undefined;
|
|
472
|
+
hasStickyHeader?: boolean | undefined;
|
|
473
|
+
isInStickyRow?: boolean | undefined;
|
|
474
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
423
475
|
} & {};
|
|
424
476
|
get classNames(): string;
|
|
425
477
|
}
|
|
@@ -216,6 +216,32 @@ declare class SimpleTableColumn extends Component<SimpleTableColumnSignature> {
|
|
|
216
216
|
hasStickyHeader?: boolean | undefined;
|
|
217
217
|
isInStickyRow?: boolean | undefined;
|
|
218
218
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
219
|
+
skeleton: (slotProps?: ({
|
|
220
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
221
|
+
isLoading?: boolean | undefined;
|
|
222
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
223
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
224
|
+
layout?: "fixed" | "auto" | undefined;
|
|
225
|
+
striped?: boolean | undefined;
|
|
226
|
+
isSticky?: boolean | undefined;
|
|
227
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
228
|
+
isScrollable?: boolean | undefined;
|
|
229
|
+
hasStickyHeader?: boolean | undefined;
|
|
230
|
+
isInStickyRow?: boolean | undefined;
|
|
231
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
232
|
+
skeletonRow: (slotProps?: ({
|
|
233
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
234
|
+
isLoading?: boolean | undefined;
|
|
235
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
236
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
237
|
+
layout?: "fixed" | "auto" | undefined;
|
|
238
|
+
striped?: boolean | undefined;
|
|
239
|
+
isSticky?: boolean | undefined;
|
|
240
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
241
|
+
isScrollable?: boolean | undefined;
|
|
242
|
+
hasStickyHeader?: boolean | undefined;
|
|
243
|
+
isInStickyRow?: boolean | undefined;
|
|
244
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
219
245
|
} & {
|
|
220
246
|
base: (slotProps?: ({
|
|
221
247
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -412,6 +438,32 @@ declare class SimpleTableColumn extends Component<SimpleTableColumnSignature> {
|
|
|
412
438
|
hasStickyHeader?: boolean | undefined;
|
|
413
439
|
isInStickyRow?: boolean | undefined;
|
|
414
440
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
441
|
+
skeleton: (slotProps?: ({
|
|
442
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
443
|
+
isLoading?: boolean | undefined;
|
|
444
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
445
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
446
|
+
layout?: "fixed" | "auto" | undefined;
|
|
447
|
+
striped?: boolean | undefined;
|
|
448
|
+
isSticky?: boolean | undefined;
|
|
449
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
450
|
+
isScrollable?: boolean | undefined;
|
|
451
|
+
hasStickyHeader?: boolean | undefined;
|
|
452
|
+
isInStickyRow?: boolean | undefined;
|
|
453
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
454
|
+
skeletonRow: (slotProps?: ({
|
|
455
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
456
|
+
isLoading?: boolean | undefined;
|
|
457
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
458
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
459
|
+
layout?: "fixed" | "auto" | undefined;
|
|
460
|
+
striped?: boolean | undefined;
|
|
461
|
+
isSticky?: boolean | undefined;
|
|
462
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
463
|
+
isScrollable?: boolean | undefined;
|
|
464
|
+
hasStickyHeader?: boolean | undefined;
|
|
465
|
+
isInStickyRow?: boolean | undefined;
|
|
466
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
415
467
|
} & {};
|
|
416
468
|
get classNames(): string;
|
|
417
469
|
}
|
|
@@ -225,6 +225,32 @@ declare class SimpleTableFooter extends Component<SimpleTableFooterSignature> {
|
|
|
225
225
|
hasStickyHeader?: boolean | undefined;
|
|
226
226
|
isInStickyRow?: boolean | undefined;
|
|
227
227
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
228
|
+
skeleton: (slotProps?: ({
|
|
229
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
230
|
+
isLoading?: boolean | undefined;
|
|
231
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
232
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
233
|
+
layout?: "fixed" | "auto" | undefined;
|
|
234
|
+
striped?: boolean | undefined;
|
|
235
|
+
isSticky?: boolean | undefined;
|
|
236
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
237
|
+
isScrollable?: boolean | undefined;
|
|
238
|
+
hasStickyHeader?: boolean | undefined;
|
|
239
|
+
isInStickyRow?: boolean | undefined;
|
|
240
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
241
|
+
skeletonRow: (slotProps?: ({
|
|
242
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
243
|
+
isLoading?: boolean | undefined;
|
|
244
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
245
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
246
|
+
layout?: "fixed" | "auto" | undefined;
|
|
247
|
+
striped?: boolean | undefined;
|
|
248
|
+
isSticky?: boolean | undefined;
|
|
249
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
250
|
+
isScrollable?: boolean | undefined;
|
|
251
|
+
hasStickyHeader?: boolean | undefined;
|
|
252
|
+
isInStickyRow?: boolean | undefined;
|
|
253
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
228
254
|
} & {
|
|
229
255
|
base: (slotProps?: ({
|
|
230
256
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -421,6 +447,32 @@ declare class SimpleTableFooter extends Component<SimpleTableFooterSignature> {
|
|
|
421
447
|
hasStickyHeader?: boolean | undefined;
|
|
422
448
|
isInStickyRow?: boolean | undefined;
|
|
423
449
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
450
|
+
skeleton: (slotProps?: ({
|
|
451
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
452
|
+
isLoading?: boolean | undefined;
|
|
453
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
454
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
455
|
+
layout?: "fixed" | "auto" | undefined;
|
|
456
|
+
striped?: boolean | undefined;
|
|
457
|
+
isSticky?: boolean | undefined;
|
|
458
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
459
|
+
isScrollable?: boolean | undefined;
|
|
460
|
+
hasStickyHeader?: boolean | undefined;
|
|
461
|
+
isInStickyRow?: boolean | undefined;
|
|
462
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
463
|
+
skeletonRow: (slotProps?: ({
|
|
464
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
465
|
+
isLoading?: boolean | undefined;
|
|
466
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
467
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
468
|
+
layout?: "fixed" | "auto" | undefined;
|
|
469
|
+
striped?: boolean | undefined;
|
|
470
|
+
isSticky?: boolean | undefined;
|
|
471
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
472
|
+
isScrollable?: boolean | undefined;
|
|
473
|
+
hasStickyHeader?: boolean | undefined;
|
|
474
|
+
isInStickyRow?: boolean | undefined;
|
|
475
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
424
476
|
} & {};
|
|
425
477
|
get classNames(): string;
|
|
426
478
|
get rowClassNames(): string;
|
|
@@ -225,6 +225,32 @@ declare class SimpleTableHeader extends Component<SimpleTableHeaderSignature> {
|
|
|
225
225
|
hasStickyHeader?: boolean | undefined;
|
|
226
226
|
isInStickyRow?: boolean | undefined;
|
|
227
227
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
228
|
+
skeleton: (slotProps?: ({
|
|
229
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
230
|
+
isLoading?: boolean | undefined;
|
|
231
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
232
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
233
|
+
layout?: "fixed" | "auto" | undefined;
|
|
234
|
+
striped?: boolean | undefined;
|
|
235
|
+
isSticky?: boolean | undefined;
|
|
236
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
237
|
+
isScrollable?: boolean | undefined;
|
|
238
|
+
hasStickyHeader?: boolean | undefined;
|
|
239
|
+
isInStickyRow?: boolean | undefined;
|
|
240
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
241
|
+
skeletonRow: (slotProps?: ({
|
|
242
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
243
|
+
isLoading?: boolean | undefined;
|
|
244
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
245
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
246
|
+
layout?: "fixed" | "auto" | undefined;
|
|
247
|
+
striped?: boolean | undefined;
|
|
248
|
+
isSticky?: boolean | undefined;
|
|
249
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
250
|
+
isScrollable?: boolean | undefined;
|
|
251
|
+
hasStickyHeader?: boolean | undefined;
|
|
252
|
+
isInStickyRow?: boolean | undefined;
|
|
253
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
228
254
|
} & {
|
|
229
255
|
base: (slotProps?: ({
|
|
230
256
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -421,6 +447,32 @@ declare class SimpleTableHeader extends Component<SimpleTableHeaderSignature> {
|
|
|
421
447
|
hasStickyHeader?: boolean | undefined;
|
|
422
448
|
isInStickyRow?: boolean | undefined;
|
|
423
449
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
450
|
+
skeleton: (slotProps?: ({
|
|
451
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
452
|
+
isLoading?: boolean | undefined;
|
|
453
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
454
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
455
|
+
layout?: "fixed" | "auto" | undefined;
|
|
456
|
+
striped?: boolean | undefined;
|
|
457
|
+
isSticky?: boolean | undefined;
|
|
458
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
459
|
+
isScrollable?: boolean | undefined;
|
|
460
|
+
hasStickyHeader?: boolean | undefined;
|
|
461
|
+
isInStickyRow?: boolean | undefined;
|
|
462
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
463
|
+
skeletonRow: (slotProps?: ({
|
|
464
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
465
|
+
isLoading?: boolean | undefined;
|
|
466
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
467
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
468
|
+
layout?: "fixed" | "auto" | undefined;
|
|
469
|
+
striped?: boolean | undefined;
|
|
470
|
+
isSticky?: boolean | undefined;
|
|
471
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
472
|
+
isScrollable?: boolean | undefined;
|
|
473
|
+
hasStickyHeader?: boolean | undefined;
|
|
474
|
+
isInStickyRow?: boolean | undefined;
|
|
475
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
424
476
|
} & {};
|
|
425
477
|
get classNames(): string;
|
|
426
478
|
get rowClassNames(): string;
|
|
@@ -242,6 +242,32 @@ declare class SimpleTable extends Component<SimpleTableSignature> {
|
|
|
242
242
|
hasStickyHeader?: boolean | undefined;
|
|
243
243
|
isInStickyRow?: boolean | undefined;
|
|
244
244
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
245
|
+
skeleton: (slotProps?: ({
|
|
246
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
247
|
+
isLoading?: boolean | undefined;
|
|
248
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
249
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
250
|
+
layout?: "fixed" | "auto" | undefined;
|
|
251
|
+
striped?: boolean | undefined;
|
|
252
|
+
isSticky?: boolean | undefined;
|
|
253
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
254
|
+
isScrollable?: boolean | undefined;
|
|
255
|
+
hasStickyHeader?: boolean | undefined;
|
|
256
|
+
isInStickyRow?: boolean | undefined;
|
|
257
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
258
|
+
skeletonRow: (slotProps?: ({
|
|
259
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
260
|
+
isLoading?: boolean | undefined;
|
|
261
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
262
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
263
|
+
layout?: "fixed" | "auto" | undefined;
|
|
264
|
+
striped?: boolean | undefined;
|
|
265
|
+
isSticky?: boolean | undefined;
|
|
266
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
267
|
+
isScrollable?: boolean | undefined;
|
|
268
|
+
hasStickyHeader?: boolean | undefined;
|
|
269
|
+
isInStickyRow?: boolean | undefined;
|
|
270
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
245
271
|
} & {
|
|
246
272
|
base: (slotProps?: ({
|
|
247
273
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -438,6 +464,32 @@ declare class SimpleTable extends Component<SimpleTableSignature> {
|
|
|
438
464
|
hasStickyHeader?: boolean | undefined;
|
|
439
465
|
isInStickyRow?: boolean | undefined;
|
|
440
466
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
467
|
+
skeleton: (slotProps?: ({
|
|
468
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
469
|
+
isLoading?: boolean | undefined;
|
|
470
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
471
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
472
|
+
layout?: "fixed" | "auto" | undefined;
|
|
473
|
+
striped?: boolean | undefined;
|
|
474
|
+
isSticky?: boolean | undefined;
|
|
475
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
476
|
+
isScrollable?: boolean | undefined;
|
|
477
|
+
hasStickyHeader?: boolean | undefined;
|
|
478
|
+
isInStickyRow?: boolean | undefined;
|
|
479
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
480
|
+
skeletonRow: (slotProps?: ({
|
|
481
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
482
|
+
isLoading?: boolean | undefined;
|
|
483
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
484
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
485
|
+
layout?: "fixed" | "auto" | undefined;
|
|
486
|
+
striped?: boolean | undefined;
|
|
487
|
+
isSticky?: boolean | undefined;
|
|
488
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
489
|
+
isScrollable?: boolean | undefined;
|
|
490
|
+
hasStickyHeader?: boolean | undefined;
|
|
491
|
+
isInStickyRow?: boolean | undefined;
|
|
492
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
441
493
|
} & {};
|
|
442
494
|
get wrapperClassNames(): string;
|
|
443
495
|
get tableClassNames(): string;
|
|
@@ -2,6 +2,7 @@ import Component from '@glimmer/component';
|
|
|
2
2
|
import { useStyles } from '@frontile/theme';
|
|
3
3
|
import { SimpleTableCell } from './cell';
|
|
4
4
|
import type { SlotsToClasses, TableSlots } from '../table/types';
|
|
5
|
+
import type { WithBoundArgs } from '@glint/template';
|
|
5
6
|
interface SimpleTableRowSignature {
|
|
6
7
|
Args: {
|
|
7
8
|
/** Additional CSS class to apply to the row */
|
|
@@ -25,7 +26,7 @@ interface SimpleTableRowSignature {
|
|
|
25
26
|
Blocks: {
|
|
26
27
|
default: [
|
|
27
28
|
{
|
|
28
|
-
Cell: typeof SimpleTableCell
|
|
29
|
+
Cell: WithBoundArgs<typeof SimpleTableCell, 'styleFns' | 'classes'>;
|
|
29
30
|
}
|
|
30
31
|
];
|
|
31
32
|
};
|
|
@@ -227,6 +228,32 @@ declare class SimpleTableRow extends Component<SimpleTableRowSignature> {
|
|
|
227
228
|
hasStickyHeader?: boolean | undefined;
|
|
228
229
|
isInStickyRow?: boolean | undefined;
|
|
229
230
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
231
|
+
skeleton: (slotProps?: ({
|
|
232
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
233
|
+
isLoading?: boolean | undefined;
|
|
234
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
235
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
236
|
+
layout?: "fixed" | "auto" | undefined;
|
|
237
|
+
striped?: boolean | undefined;
|
|
238
|
+
isSticky?: boolean | undefined;
|
|
239
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
240
|
+
isScrollable?: boolean | undefined;
|
|
241
|
+
hasStickyHeader?: boolean | undefined;
|
|
242
|
+
isInStickyRow?: boolean | undefined;
|
|
243
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
244
|
+
skeletonRow: (slotProps?: ({
|
|
245
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
246
|
+
isLoading?: boolean | undefined;
|
|
247
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
248
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
249
|
+
layout?: "fixed" | "auto" | undefined;
|
|
250
|
+
striped?: boolean | undefined;
|
|
251
|
+
isSticky?: boolean | undefined;
|
|
252
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
253
|
+
isScrollable?: boolean | undefined;
|
|
254
|
+
hasStickyHeader?: boolean | undefined;
|
|
255
|
+
isInStickyRow?: boolean | undefined;
|
|
256
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
230
257
|
} & {
|
|
231
258
|
base: (slotProps?: ({
|
|
232
259
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -423,6 +450,32 @@ declare class SimpleTableRow extends Component<SimpleTableRowSignature> {
|
|
|
423
450
|
hasStickyHeader?: boolean | undefined;
|
|
424
451
|
isInStickyRow?: boolean | undefined;
|
|
425
452
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
453
|
+
skeleton: (slotProps?: ({
|
|
454
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
455
|
+
isLoading?: boolean | undefined;
|
|
456
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
457
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
458
|
+
layout?: "fixed" | "auto" | undefined;
|
|
459
|
+
striped?: boolean | undefined;
|
|
460
|
+
isSticky?: boolean | undefined;
|
|
461
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
462
|
+
isScrollable?: boolean | undefined;
|
|
463
|
+
hasStickyHeader?: boolean | undefined;
|
|
464
|
+
isInStickyRow?: boolean | undefined;
|
|
465
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
466
|
+
skeletonRow: (slotProps?: ({
|
|
467
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
468
|
+
isLoading?: boolean | undefined;
|
|
469
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
470
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
471
|
+
layout?: "fixed" | "auto" | undefined;
|
|
472
|
+
striped?: boolean | undefined;
|
|
473
|
+
isSticky?: boolean | undefined;
|
|
474
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
475
|
+
isScrollable?: boolean | undefined;
|
|
476
|
+
hasStickyHeader?: boolean | undefined;
|
|
477
|
+
isInStickyRow?: boolean | undefined;
|
|
478
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
426
479
|
} & {};
|
|
427
480
|
get classNames(): string;
|
|
428
481
|
}
|
|
@@ -210,6 +210,32 @@ export default class ColumnVisibility<T> extends Component<ColumnVisibilitySigna
|
|
|
210
210
|
hasStickyHeader?: boolean | undefined;
|
|
211
211
|
isInStickyRow?: boolean | undefined;
|
|
212
212
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
213
|
+
skeleton: (slotProps?: ({
|
|
214
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
215
|
+
isLoading?: boolean | undefined;
|
|
216
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
217
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
218
|
+
layout?: "fixed" | "auto" | undefined;
|
|
219
|
+
striped?: boolean | undefined;
|
|
220
|
+
isSticky?: boolean | undefined;
|
|
221
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
222
|
+
isScrollable?: boolean | undefined;
|
|
223
|
+
hasStickyHeader?: boolean | undefined;
|
|
224
|
+
isInStickyRow?: boolean | undefined;
|
|
225
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
226
|
+
skeletonRow: (slotProps?: ({
|
|
227
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
228
|
+
isLoading?: boolean | undefined;
|
|
229
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
230
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
231
|
+
layout?: "fixed" | "auto" | undefined;
|
|
232
|
+
striped?: boolean | undefined;
|
|
233
|
+
isSticky?: boolean | undefined;
|
|
234
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
235
|
+
isScrollable?: boolean | undefined;
|
|
236
|
+
hasStickyHeader?: boolean | undefined;
|
|
237
|
+
isInStickyRow?: boolean | undefined;
|
|
238
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
213
239
|
} & {
|
|
214
240
|
base: (slotProps?: ({
|
|
215
241
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -406,6 +432,32 @@ export default class ColumnVisibility<T> extends Component<ColumnVisibilitySigna
|
|
|
406
432
|
hasStickyHeader?: boolean | undefined;
|
|
407
433
|
isInStickyRow?: boolean | undefined;
|
|
408
434
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
435
|
+
skeleton: (slotProps?: ({
|
|
436
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
437
|
+
isLoading?: boolean | undefined;
|
|
438
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
439
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
440
|
+
layout?: "fixed" | "auto" | undefined;
|
|
441
|
+
striped?: boolean | undefined;
|
|
442
|
+
isSticky?: boolean | undefined;
|
|
443
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
444
|
+
isScrollable?: boolean | undefined;
|
|
445
|
+
hasStickyHeader?: boolean | undefined;
|
|
446
|
+
isInStickyRow?: boolean | undefined;
|
|
447
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
448
|
+
skeletonRow: (slotProps?: ({
|
|
449
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
450
|
+
isLoading?: boolean | undefined;
|
|
451
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
452
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
453
|
+
layout?: "fixed" | "auto" | undefined;
|
|
454
|
+
striped?: boolean | undefined;
|
|
455
|
+
isSticky?: boolean | undefined;
|
|
456
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
457
|
+
isScrollable?: boolean | undefined;
|
|
458
|
+
hasStickyHeader?: boolean | undefined;
|
|
459
|
+
isInStickyRow?: boolean | undefined;
|
|
460
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
409
461
|
} & {};
|
|
410
462
|
get size(): "xs" | "sm" | "lg" | "xl";
|
|
411
463
|
get columns(): Column<T>[];
|
|
@@ -211,6 +211,32 @@ export default class SortButton<T> extends Component<SortButtonSignature<T>> {
|
|
|
211
211
|
hasStickyHeader?: boolean | undefined;
|
|
212
212
|
isInStickyRow?: boolean | undefined;
|
|
213
213
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
214
|
+
skeleton: (slotProps?: ({
|
|
215
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
216
|
+
isLoading?: boolean | undefined;
|
|
217
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
218
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
219
|
+
layout?: "fixed" | "auto" | undefined;
|
|
220
|
+
striped?: boolean | undefined;
|
|
221
|
+
isSticky?: boolean | undefined;
|
|
222
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
223
|
+
isScrollable?: boolean | undefined;
|
|
224
|
+
hasStickyHeader?: boolean | undefined;
|
|
225
|
+
isInStickyRow?: boolean | undefined;
|
|
226
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
227
|
+
skeletonRow: (slotProps?: ({
|
|
228
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
229
|
+
isLoading?: boolean | undefined;
|
|
230
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
231
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
232
|
+
layout?: "fixed" | "auto" | undefined;
|
|
233
|
+
striped?: boolean | undefined;
|
|
234
|
+
isSticky?: boolean | undefined;
|
|
235
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
236
|
+
isScrollable?: boolean | undefined;
|
|
237
|
+
hasStickyHeader?: boolean | undefined;
|
|
238
|
+
isInStickyRow?: boolean | undefined;
|
|
239
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
214
240
|
} & {
|
|
215
241
|
base: (slotProps?: ({
|
|
216
242
|
size?: "sm" | "md" | "lg" | undefined;
|
|
@@ -407,6 +433,32 @@ export default class SortButton<T> extends Component<SortButtonSignature<T>> {
|
|
|
407
433
|
hasStickyHeader?: boolean | undefined;
|
|
408
434
|
isInStickyRow?: boolean | undefined;
|
|
409
435
|
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
436
|
+
skeleton: (slotProps?: ({
|
|
437
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
438
|
+
isLoading?: boolean | undefined;
|
|
439
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
440
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
441
|
+
layout?: "fixed" | "auto" | undefined;
|
|
442
|
+
striped?: boolean | undefined;
|
|
443
|
+
isSticky?: boolean | undefined;
|
|
444
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
445
|
+
isScrollable?: boolean | undefined;
|
|
446
|
+
hasStickyHeader?: boolean | undefined;
|
|
447
|
+
isInStickyRow?: boolean | undefined;
|
|
448
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
449
|
+
skeletonRow: (slotProps?: ({
|
|
450
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
451
|
+
isLoading?: boolean | undefined;
|
|
452
|
+
loadingColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
453
|
+
selectionColor?: "default" | "primary" | "success" | "warning" | "danger" | undefined;
|
|
454
|
+
layout?: "fixed" | "auto" | undefined;
|
|
455
|
+
striped?: boolean | undefined;
|
|
456
|
+
isSticky?: boolean | undefined;
|
|
457
|
+
stickyPosition?: "bottom" | "left" | "right" | "top" | undefined;
|
|
458
|
+
isScrollable?: boolean | undefined;
|
|
459
|
+
hasStickyHeader?: boolean | undefined;
|
|
460
|
+
isInStickyRow?: boolean | undefined;
|
|
461
|
+
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
410
462
|
} & {};
|
|
411
463
|
get showUpIcon(): boolean;
|
|
412
464
|
}
|