@epilot/volt-ui-experimental-griffel 0.1.2 → 0.2.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/README.md +9 -9
- package/dist/components/accordion/accordion.js +29 -27
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.js +42 -40
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/avatar/avatar-group.js +36 -35
- package/dist/components/avatar/avatar-group.js.map +1 -1
- package/dist/components/avatar/avatar.js +42 -39
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/badge/badge.js +17 -17
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +33 -32
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/button/button.js +43 -39
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button-group/button-group.js +20 -19
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/callout/callout.js +64 -61
- package/dist/components/callout/callout.js.map +1 -1
- package/dist/components/card/card.js +47 -46
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +15 -15
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js +7 -7
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -1
- package/dist/components/command/command.js +98 -93
- package/dist/components/command/command.js.map +1 -1
- package/dist/components/data-table/data-table-body.d.ts +21 -0
- package/dist/components/data-table/data-table-body.js +84 -0
- package/dist/components/data-table/data-table-body.js.map +1 -0
- package/dist/components/data-table/data-table-column-header.d.ts +13 -0
- package/dist/components/data-table/data-table-column-header.js +128 -0
- package/dist/components/data-table/data-table-column-header.js.map +1 -0
- package/dist/components/data-table/data-table-column-visibility.d.ts +21 -0
- package/dist/components/data-table/data-table-column-visibility.js +79 -0
- package/dist/components/data-table/data-table-column-visibility.js.map +1 -0
- package/dist/components/data-table/data-table-content.d.ts +13 -0
- package/dist/components/data-table/data-table-content.js +100 -0
- package/dist/components/data-table/data-table-content.js.map +1 -0
- package/dist/components/data-table/data-table-context.d.ts +66 -0
- package/dist/components/data-table/data-table-context.js +10 -0
- package/dist/components/data-table/data-table-context.js.map +1 -0
- package/dist/components/data-table/data-table-error.d.ts +21 -0
- package/dist/components/data-table/data-table-error.js +84 -0
- package/dist/components/data-table/data-table-error.js.map +1 -0
- package/dist/components/data-table/data-table-header.d.ts +14 -0
- package/dist/components/data-table/data-table-header.js +100 -0
- package/dist/components/data-table/data-table-header.js.map +1 -0
- package/dist/components/data-table/data-table-loading.d.ts +13 -0
- package/dist/components/data-table/data-table-loading.js +39 -0
- package/dist/components/data-table/data-table-loading.js.map +1 -0
- package/dist/components/data-table/data-table-pagination.d.ts +17 -0
- package/dist/components/data-table/data-table-pagination.js +30 -0
- package/dist/components/data-table/data-table-pagination.js.map +1 -0
- package/dist/components/data-table/data-table-pinning-utils.d.ts +17 -0
- package/dist/components/data-table/data-table-pinning-utils.js +25 -0
- package/dist/components/data-table/data-table-pinning-utils.js.map +1 -0
- package/dist/components/data-table/data-table-row.d.ts +14 -0
- package/dist/components/data-table/data-table-row.js +163 -0
- package/dist/components/data-table/data-table-row.js.map +1 -0
- package/dist/components/data-table/data-table-toolbar.d.ts +7 -0
- package/dist/components/data-table/data-table-toolbar.js +35 -0
- package/dist/components/data-table/data-table-toolbar.js.map +1 -0
- package/dist/components/data-table/data-table.d.ts +92 -0
- package/dist/components/data-table/data-table.js +271 -0
- package/dist/components/data-table/data-table.js.map +1 -0
- package/dist/components/data-table/get-selected-row-data.d.ts +18 -0
- package/dist/components/data-table/get-selected-row-data.js +8 -0
- package/dist/components/data-table/get-selected-row-data.js.map +1 -0
- package/dist/components/data-table/hooks/index.d.ts +2 -0
- package/dist/components/data-table/hooks/use-data-table-content.d.ts +1 -0
- package/dist/components/data-table/hooks/use-data-table-content.js +9 -0
- package/dist/components/data-table/hooks/use-data-table-content.js.map +1 -0
- package/dist/components/data-table/hooks/use-data-table.d.ts +2 -0
- package/dist/components/data-table/hooks/use-data-table.js +12 -0
- package/dist/components/data-table/hooks/use-data-table.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.js +97 -95
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
- package/dist/components/date-range-picker/range-calendar.js +20 -20
- package/dist/components/date-range-picker/range-calendar.js.map +1 -1
- package/dist/components/date-time-picker/calendar.js +159 -153
- package/dist/components/date-time-picker/calendar.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-input.js +25 -25
- package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-panel.js +22 -22
- package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-utils.js +22 -22
- package/dist/components/date-time-picker/date-time-picker.js +32 -32
- package/dist/components/date-time-picker/date-time-picker.js.map +1 -1
- package/dist/components/date-time-picker/time-picker.js +35 -33
- package/dist/components/date-time-picker/time-picker.js.map +1 -1
- package/dist/components/dialog/dialog.js +48 -46
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/drawer/drawer.js +54 -52
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.js +96 -93
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/field/field-combobox.js +125 -121
- package/dist/components/field/field-combobox.js.map +1 -1
- package/dist/components/field/field.js +86 -80
- package/dist/components/field/field.js.map +1 -1
- package/dist/components/label/label.js +49 -39
- package/dist/components/label/label.js.map +1 -1
- package/dist/components/list/list.js +96 -92
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/option-card/option-card.js +44 -42
- package/dist/components/option-card/option-card.js.map +1 -1
- package/dist/components/pill/pill.js +36 -35
- package/dist/components/pill/pill.js.map +1 -1
- package/dist/components/popover/popover.js +32 -32
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/scroll-overflow/scroll-overflow.js +10 -10
- package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +21 -20
- package/dist/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/select/select.js +75 -72
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/separator/separator.js +13 -13
- package/dist/components/separator/separator.js.map +1 -1
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/spinner/spinner.js +9 -9
- package/dist/components/spinner/spinner.js.map +1 -1
- package/dist/components/switch/switch.js +16 -16
- package/dist/components/switch/switch.js.map +1 -1
- package/dist/components/table/table-pagination.d.ts +45 -0
- package/dist/components/table/table-pagination.js +437 -0
- package/dist/components/table/table-pagination.js.map +1 -0
- package/dist/components/table/table.js +57 -55
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/tabs/tabs.js +27 -26
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/components/text/text.js +53 -43
- package/dist/components/text/text.js.map +1 -1
- package/dist/components/toast/toast.js +64 -60
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toggle/toggle-group.js +8 -8
- package/dist/components/toggle/toggle-group.js.map +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +23 -23
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/tooltip.js +17 -17
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/index.d.ts +20 -2
- package/dist/index.js +285 -247
- package/dist/index.js.map +1 -1
- package/dist/lib/clear-button.js +9 -9
- package/dist/lib/clear-button.js.map +1 -1
- package/dist/lib/pagination.d.ts +71 -0
- package/dist/lib/pagination.js +46 -0
- package/dist/lib/pagination.js.map +1 -0
- package/dist/{tokens → packages/volt-runtime/dist}/class-salt.generated.js +2 -2
- package/dist/packages/volt-runtime/dist/class-salt.generated.js.map +1 -0
- package/dist/packages/volt-runtime/dist/renderer/contract.js +8 -0
- package/dist/packages/volt-runtime/dist/renderer/contract.js.map +1 -0
- package/dist/packages/volt-runtime/dist/renderer/index.js +26 -0
- package/dist/packages/volt-runtime/dist/renderer/index.js.map +1 -0
- package/dist/{renderer → packages/volt-runtime/dist/renderer}/insertion-point.js +13 -13
- package/dist/packages/volt-runtime/dist/renderer/insertion-point.js.map +1 -0
- package/dist/packages/volt-runtime/dist/sheet.js +16 -0
- package/dist/packages/volt-runtime/dist/sheet.js.map +1 -0
- package/dist/packages/volt-runtime/dist/styles/make-styles.js +22 -0
- package/dist/packages/volt-runtime/dist/styles/make-styles.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@emotion/hash/dist/emotion-hash.esm.js +23 -0
- package/dist/packages/volt-runtime/dist/vendor/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/constants.js +34 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/constants.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js +27 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/devtools/getResetDebugSequence.js +5 -5
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/getResetDebugSequence.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/getSourceURLfromError.js +18 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/getSourceURLfromError.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/devtools/injectDevTools.js +11 -11
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/injectDevTools.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/devtools/isDevToolsEnabled.js +1 -1
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/isDevToolsEnabled.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/mergeDebugSequence.js +15 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/mergeDebugSequence.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/react-render-tracker/stackTrace.js +40 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/react-render-tracker/stackTrace.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/store.js +22 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/store.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/utils.js +22 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/devtools/utils.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/index.js +52 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/index.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/insertionFactory.js +10 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/insertionFactory.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/makeResetStyles.js +26 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/makeResetStyles.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/makeStyles.js +15 -15
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/makeStyles.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js +49 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/createDOMRenderer.js +43 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/createDOMRenderer.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/createIsomorphicStyleSheet.js +23 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/createIsomorphicStyleSheet.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/getStyleSheetForBucket.js +81 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/getStyleSheetForBucket.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/renderer/safeInsertRule.js +6 -6
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/renderer/safeInsertRule.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/resolveStyleRulesForSlots.js +15 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/resolveStyleRulesForSlots.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileAtomicCSSRule.js +28 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileAtomicCSSRule.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileCSSRules.js +23 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileCSSRules.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileKeyframeCSS.js +27 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileKeyframeCSS.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileResetCSSRules.js +31 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/compileResetCSSRules.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/getStyleBucketName.js +9 -9
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/getStyleBucketName.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/reduceToClassNameForSlots.js +33 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/reduceToClassNameForSlots.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/resolveResetStyleRules.js +95 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/resolveResetStyleRules.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/resolveStyleRules.js +187 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/resolveStyleRules.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/shorthands.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/globalPlugin.js +29 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/globalPlugin.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/stylis/isAtRuleElement.js +5 -5
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/isAtRuleElement.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/prefixerPlugin.js +107 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/prefixerPlugin.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/rulesheetPlugin.js +9 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/rulesheetPlugin.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/scopePlugin.js +41 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/scopePlugin.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js +8 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/cssifyObject.js +19 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/cssifyObject.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashClassName.js +11 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashClassName.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashPropertyKey.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashPropertyKey.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashSequence.js +17 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hashSequence.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hyphenateProperty.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/hyphenateProperty.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isContainerQuerySelector.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isContainerQuerySelector.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isLayerSelector.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isLayerSelector.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isMediaQuerySelector.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/utils/isNestedSelector.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isNestedSelector.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isObject.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isObject.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isResetValue.js +8 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isResetValue.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isScopeSelector.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/isSupportQuerySelector.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js +6 -6
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/normalizeNestedProperty.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/normalizeNestedProperty.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/trimSelector.js +7 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/utils/trimSelector.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/warnings/logError.js +2 -2
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/warnings/logError.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js +6 -6
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js +4 -4
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/border.js +19 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/border.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderBottom.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderBottom.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderColor.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderLeft.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderLeft.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/borderRadius.js +4 -4
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderRadius.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderRight.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderRight.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderStyle.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderTop.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderTop.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/borderWidth.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/flex.js +25 -25
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/flex.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/gap.js +10 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/gap.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/generateStyles.js +14 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/generateStyles.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/gridArea.js +13 -13
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/gridArea.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/inset.js +13 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/inset.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/margin.js +8 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/margin.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/marginBlock.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/marginBlock.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/marginInline.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/marginInline.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/outline.js +11 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/outline.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/overflow.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/overflow.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/padding.js +8 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/padding.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/paddingBlock.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/paddingBlock.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/paddingInline.js +3 -3
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/paddingInline.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/textDecoration.js +2 -2
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/textDecoration.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/transition.js +19 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/transition.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/@griffel/core/src/shorthands/utils.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/rtl-css-js/dist/esm/convert-9768a965.js +303 -0
- package/dist/packages/volt-runtime/dist/vendor/rtl-css-js/dist/esm/convert-9768a965.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Enum.js +16 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Enum.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Middleware.js +19 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Middleware.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Parser.js +128 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Parser.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Serializer.js +29 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Serializer.js.map +1 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Tokenizer.js +150 -0
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Tokenizer.js.map +1 -0
- package/dist/{node_modules → packages/volt-runtime/dist/vendor}/stylis/src/Utility.js +15 -15
- package/dist/packages/volt-runtime/dist/vendor/stylis/src/Utility.js.map +1 -0
- package/dist/renderer/contract.d.ts +8 -39
- package/dist/renderer/index.d.ts +7 -19
- package/dist/styles/make-styles.d.ts +21 -27
- package/dist/styles/make-styles.js +9 -12
- package/dist/styles/make-styles.js.map +1 -1
- package/dist/tokens/core.generated.d.ts +3 -3
- package/dist/tokens/core.generated.js +1204 -478
- package/dist/tokens/core.generated.js.map +1 -1
- package/dist/tokens/index.d.ts +1051 -950
- package/dist/tokens/index.js +1018 -917
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/install.d.ts +7 -2
- package/dist/tokens/install.js +1 -1
- package/dist/tokens/install.js.map +1 -1
- package/dist/tokens/palette.generated.d.ts +3 -3
- package/dist/tokens/palette.generated.js +1294 -1069
- package/dist/tokens/palette.generated.js.map +1 -1
- package/dist/tokens.json +497 -295
- package/dist/vendor/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/{node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules → vendor}/@floating-ui/dom/dist/floating-ui.dom.js +3 -3
- package/dist/vendor/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/{node_modules/@radix-ui/react-popper/node_modules → vendor}/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/dist/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/vendor/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/{node_modules → vendor}/@radix-ui/react-alert-dialog/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-collection/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-dialog/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-menu/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-popover/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-popper/dist/index.js +2 -2
- package/dist/{node_modules → vendor}/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-select/dist/index.js +1 -1
- package/dist/{node_modules → vendor}/@radix-ui/react-tooltip/dist/index.js +1 -1
- package/dist/vendor/@tanstack/react-table/build/lib/index.js +103 -0
- package/dist/vendor/@tanstack/react-table/build/lib/index.js.map +1 -0
- package/dist/vendor/@tanstack/table-core/build/lib/index.js +1896 -0
- package/dist/vendor/@tanstack/table-core/build/lib/index.js.map +1 -0
- package/package.json +9 -6
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -23
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/constants.js +0 -34
- package/dist/node_modules/@griffel/core/src/constants.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js +0 -27
- package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/getResetDebugSequence.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js +0 -18
- package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/injectDevTools.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/isDevToolsEnabled.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js +0 -15
- package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js +0 -40
- package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/store.js +0 -22
- package/dist/node_modules/@griffel/core/src/devtools/store.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/devtools/utils.js +0 -22
- package/dist/node_modules/@griffel/core/src/devtools/utils.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/index.js +0 -52
- package/dist/node_modules/@griffel/core/src/index.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/insertionFactory.js +0 -10
- package/dist/node_modules/@griffel/core/src/insertionFactory.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/makeResetStyles.js +0 -26
- package/dist/node_modules/@griffel/core/src/makeResetStyles.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/makeStyles.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/mergeClasses.js +0 -49
- package/dist/node_modules/@griffel/core/src/mergeClasses.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js +0 -43
- package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js +0 -23
- package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js +0 -81
- package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/renderer/safeInsertRule.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js +0 -15
- package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js +0 -28
- package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js +0 -23
- package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js +0 -27
- package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js +0 -31
- package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/getStyleBucketName.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js +0 -33
- package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js +0 -95
- package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js +0 -187
- package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/shorthands.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js +0 -29
- package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/isAtRuleElement.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js +0 -107
- package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js +0 -9
- package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js +0 -41
- package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js +0 -8
- package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js +0 -19
- package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js +0 -11
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js +0 -16
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js +0 -17
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js +0 -16
- package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isMediaQuerySelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isNestedSelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js +0 -8
- package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isScopeSelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/isSupportQuerySelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js +0 -7
- package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/warnings/logError.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/border.js +0 -19
- package/dist/node_modules/@griffel/core/src/shorthands/border.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js +0 -16
- package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderColor.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js +0 -16
- package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderRadius.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js +0 -16
- package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderStyle.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js +0 -16
- package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/borderWidth.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/flex.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/gap.js +0 -10
- package/dist/node_modules/@griffel/core/src/shorthands/gap.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js +0 -14
- package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/gridArea.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/inset.js +0 -13
- package/dist/node_modules/@griffel/core/src/shorthands/inset.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/margin.js +0 -8
- package/dist/node_modules/@griffel/core/src/shorthands/margin.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/marginBlock.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/marginInline.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/outline.js +0 -11
- package/dist/node_modules/@griffel/core/src/shorthands/outline.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/overflow.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/padding.js +0 -8
- package/dist/node_modules/@griffel/core/src/shorthands/padding.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/paddingBlock.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/paddingInline.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/textDecoration.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/transition.js +0 -19
- package/dist/node_modules/@griffel/core/src/shorthands/transition.js.map +0 -1
- package/dist/node_modules/@griffel/core/src/shorthands/utils.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js +0 -303
- package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js.map +0 -1
- package/dist/node_modules/stylis/src/Enum.js +0 -16
- package/dist/node_modules/stylis/src/Enum.js.map +0 -1
- package/dist/node_modules/stylis/src/Middleware.js +0 -19
- package/dist/node_modules/stylis/src/Middleware.js.map +0 -1
- package/dist/node_modules/stylis/src/Parser.js +0 -128
- package/dist/node_modules/stylis/src/Parser.js.map +0 -1
- package/dist/node_modules/stylis/src/Serializer.js +0 -29
- package/dist/node_modules/stylis/src/Serializer.js.map +0 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -151
- package/dist/node_modules/stylis/src/Tokenizer.js.map +0 -1
- package/dist/node_modules/stylis/src/Utility.js.map +0 -1
- package/dist/renderer/contract.js +0 -8
- package/dist/renderer/contract.js.map +0 -1
- package/dist/renderer/index.js +0 -59
- package/dist/renderer/index.js.map +0 -1
- package/dist/renderer/insertion-point.d.ts +0 -35
- package/dist/renderer/insertion-point.js.map +0 -1
- package/dist/renderer/rule-key.d.ts +0 -14
- package/dist/renderer/rule-key.js +0 -12
- package/dist/renderer/rule-key.js.map +0 -1
- package/dist/renderer/sheet-adoption.d.ts +0 -32
- package/dist/renderer/sheet-adoption.js +0 -30
- package/dist/renderer/sheet-adoption.js.map +0 -1
- package/dist/tokens/class-salt.generated.d.ts +0 -2
- package/dist/tokens/class-salt.generated.js.map +0 -1
- package/dist/tokens/ensure-sheet.d.ts +0 -3
- package/dist/tokens/ensure-sheet.js +0 -14
- package/dist/tokens/ensure-sheet.js.map +0 -1
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/shorthands.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/utils/isMediaQuerySelector.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/utils/isScopeSelector.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/runtime/utils/isSupportQuerySelector.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/borderColor.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/borderStyle.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/borderWidth.js +0 -0
- /package/dist/{node_modules → packages/volt-runtime/dist/vendor}/@griffel/core/src/shorthands/utils.js +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/accessibility/dist/accessibility.esm.js.map +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/core/dist/core.esm.js +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/core/dist/core.esm.js.map +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/sortable/dist/sortable.esm.js +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/sortable/dist/sortable.esm.js.map +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/utilities/dist/utilities.esm.js +0 -0
- /package/dist/{node_modules → vendor}/@dnd-kit/utilities/dist/utilities.esm.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules → vendor}/@floating-ui/core/dist/floating-ui.core.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules → vendor}/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/node_modules → vendor}/@floating-ui/utils/dist/floating-ui.utils.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/number/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/number/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/primitive/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/primitive/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-accordion/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-accordion/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-alert-dialog/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-alert-dialog/node_modules → vendor/@radix-ui/react-alert-dialog/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-alert-dialog/node_modules → vendor/@radix-ui/react-alert-dialog/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-arrow/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-arrow/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-avatar/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-avatar/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-checkbox/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-checkbox/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-collapsible/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-collapsible/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-collection/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-collection/node_modules → vendor/@radix-ui/react-collection/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-collection/node_modules → vendor/@radix-ui/react-collection/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-compose-refs/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-compose-refs/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-context/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-context/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-dialog/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-dialog/node_modules → vendor/@radix-ui/react-dialog/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-dialog/node_modules → vendor/@radix-ui/react-dialog/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-direction/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-direction/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-dismissable-layer/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-dropdown-menu/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-focus-guards/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-focus-guards/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-focus-scope/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-focus-scope/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-id/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-id/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-menu/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-menu/node_modules → vendor/@radix-ui/react-menu/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-menu/node_modules → vendor/@radix-ui/react-menu/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-popover/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-popover/node_modules → vendor/@radix-ui/react-popover/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-popover/node_modules → vendor/@radix-ui/react-popover/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-popper/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-portal/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-portal/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-presence/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-presence/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-primitive/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-primitive/node_modules → vendor/@radix-ui/react-primitive/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-primitive/node_modules → vendor/@radix-ui/react-primitive/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-radio-group/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-radio-group/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-roving-focus/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-roving-focus/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-scroll-area/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-scroll-area/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-select/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-select/node_modules → vendor/@radix-ui/react-select/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-select/node_modules → vendor/@radix-ui/react-select/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-switch/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-switch/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-tabs/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-tabs/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-toggle/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-toggle/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-toggle-group/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-toggle-group/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-tooltip/dist/index.js.map +0 -0
- /package/dist/{node_modules/@radix-ui/react-tooltip/node_modules → vendor/@radix-ui/react-tooltip/vendor}/@radix-ui/react-slot/dist/index.js +0 -0
- /package/dist/{node_modules/@radix-ui/react-tooltip/node_modules → vendor/@radix-ui/react-tooltip/vendor}/@radix-ui/react-slot/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-callback-ref/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-controllable-state/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-escape-keydown/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-is-hydrated/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-is-hydrated/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-layout-effect/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-previous/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-previous/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-size/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-use-size/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-visually-hidden/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/@radix-ui/react-visually-hidden/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/aria-hidden/dist/es2015/index.js +0 -0
- /package/dist/{node_modules → vendor}/aria-hidden/dist/es2015/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/cmdk/dist/chunk-NZJY6EH4.js +0 -0
- /package/dist/{node_modules → vendor}/cmdk/dist/chunk-NZJY6EH4.js.map +0 -0
- /package/dist/{node_modules → vendor}/cmdk/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/cmdk/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/addLeadingZeros.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/addLeadingZeros.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/defaultOptions.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/defaultOptions.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/formatters.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/formatters.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/lightFormatters.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/lightFormatters.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/longFormatters.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/format/longFormatters.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/normalizeDates.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/normalizeDates.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/normalizeInterval.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/normalizeInterval.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/protectedTokens.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/_lib/protectedTokens.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/addDays.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/addDays.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/addMonths.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/addMonths.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constants.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constants.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constructFrom.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constructFrom.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constructNow.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/constructNow.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/differenceInCalendarDays.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/differenceInCalendarDays.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/eachDayOfInterval.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/eachDayOfInterval.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/endOfWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/endOfWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/format.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/format.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getDayOfYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getDayOfYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getDefaultOptions.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getDefaultOptions.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISODay.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISODay.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISOWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISOWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISOWeekYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getISOWeekYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getWeekYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/getWeekYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isAfter.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isAfter.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isBefore.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isBefore.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isDate.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isDate.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isSameDay.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isSameDay.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isSameMonth.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isSameMonth.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isToday.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isToday.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isValid.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/isValid.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildFormatLongFn.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildLocalizeFn.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildMatchFn.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildMatchFn.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildMatchPatternFn.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatDistance.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatDistance.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatLong.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatLong.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatRelative.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/formatRelative.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/localize.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/localize.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/match.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de/_lib/match.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/de.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatDistance.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatLong.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatLong.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatRelative.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/localize.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/localize.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/match.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US/_lib/match.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/en-US.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatDistance.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatDistance.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatLong.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatLong.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatRelative.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/formatRelative.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/localize.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/localize.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/match.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr/_lib/match.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/locale/fr.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/Parser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/Parser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/Setter.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/Setter.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/constants.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/constants.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/AMPMParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DateParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DateParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/EraParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/EraParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISODayParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/MinuteParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/MonthParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/QuarterParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/SecondParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/YearParser.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers/YearParser.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/parsers.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/utils.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse/_lib/utils.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/parse.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setDay.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setDay.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setHours.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setHours.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setISODay.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setISODay.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setISOWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setISOWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setMinutes.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setMinutes.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/setWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfDay.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfDay.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfISOWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfISOWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfISOWeekYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfISOWeekYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfMonth.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfMonth.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfWeek.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfWeek.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfWeekYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfWeekYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfYear.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/startOfYear.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/subMonths.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/subMonths.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/toDate.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/toDate.js.map +0 -0
- /package/dist/{node_modules → vendor}/date-fns/transpose.js +0 -0
- /package/dist/{node_modules → vendor}/date-fns/transpose.js.map +0 -0
- /package/dist/{node_modules → vendor}/get-nonce/dist/es2015/index.js +0 -0
- /package/dist/{node_modules → vendor}/get-nonce/dist/es2015/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/Combination.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/Combination.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/SideEffect.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/UI.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/UI.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/handleScroll.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/medium.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/medium.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/sidecar.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll/dist/es2015/sidecar.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/component.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/component.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/constants.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/utils.js +0 -0
- /package/dist/{node_modules → vendor}/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/component.js +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/component.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/hook.js +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/hook.js.map +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/singleton.js +0 -0
- /package/dist/{node_modules → vendor}/react-style-singleton/dist/es2015/singleton.js.map +0 -0
- /package/dist/{node_modules → vendor}/rifm/dist/rifm.esm.js +0 -0
- /package/dist/{node_modules → vendor}/rifm/dist/rifm.esm.js.map +0 -0
- /package/dist/{node_modules → vendor}/sonner/dist/index.js +0 -0
- /package/dist/{node_modules → vendor}/sonner/dist/index.js.map +0 -0
- /package/dist/{node_modules → vendor}/tslib/tslib.es6.js +0 -0
- /package/dist/{node_modules → vendor}/tslib/tslib.es6.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/assignRef.js +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/assignRef.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/useMergeRef.js +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/useRef.js +0 -0
- /package/dist/{node_modules → vendor}/use-callback-ref/dist/es2015/useRef.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-sidecar/dist/es2015/exports.js +0 -0
- /package/dist/{node_modules → vendor}/use-sidecar/dist/es2015/exports.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-sidecar/dist/es2015/medium.js +0 -0
- /package/dist/{node_modules → vendor}/use-sidecar/dist/es2015/medium.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/shim/index.js +0 -0
- /package/dist/{node_modules → vendor}/use-sync-external-store/shim/index.js.map +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { shorthands as i } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
4
|
+
import { SLOT_ATTR as g } from "../../packages/volt-runtime/dist/renderer/contract.js";
|
|
5
|
+
import { mergeClasses as h } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
6
|
+
import { makeVoltStyles as m } from "../../styles/make-styles.js";
|
|
7
|
+
import { accent11 as p, accentA8 as u, semAccentSoft as w, spacingElement1 as c, radiusLg as k } from "../../tokens/index.js";
|
|
8
|
+
const f = (e) => /* @__PURE__ */ n(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: "16",
|
|
13
|
+
height: "16",
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
fill: "none",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
...e,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ o("path", { d: "m5 12 7-7 7 7" }),
|
|
23
|
+
/* @__PURE__ */ o("path", { d: "M12 19V5" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
), v = (e) => /* @__PURE__ */ n(
|
|
27
|
+
"svg",
|
|
28
|
+
{
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: "16",
|
|
31
|
+
height: "16",
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: "none",
|
|
34
|
+
stroke: "currentColor",
|
|
35
|
+
strokeWidth: "2",
|
|
36
|
+
strokeLinecap: "round",
|
|
37
|
+
strokeLinejoin: "round",
|
|
38
|
+
...e,
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ o("path", { d: "M12 5v14" }),
|
|
41
|
+
/* @__PURE__ */ o("path", { d: "m19 12-7 7-7-7" })
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
), S = (e) => /* @__PURE__ */ n(
|
|
45
|
+
"svg",
|
|
46
|
+
{
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
48
|
+
width: "16",
|
|
49
|
+
height: "16",
|
|
50
|
+
viewBox: "0 0 24 24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
stroke: "currentColor",
|
|
53
|
+
strokeWidth: "2",
|
|
54
|
+
strokeLinecap: "round",
|
|
55
|
+
strokeLinejoin: "round",
|
|
56
|
+
...e,
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ o("path", { d: "m7 15 5 5 5-5" }),
|
|
59
|
+
/* @__PURE__ */ o("path", { d: "m7 9 5-5 5 5" })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
), b = m({
|
|
63
|
+
button: {
|
|
64
|
+
display: "inline-flex",
|
|
65
|
+
alignItems: "center",
|
|
66
|
+
gap: c,
|
|
67
|
+
...i.paddingBlock("0.125rem"),
|
|
68
|
+
...i.paddingInline(c),
|
|
69
|
+
...i.borderRadius(k),
|
|
70
|
+
cursor: "pointer",
|
|
71
|
+
transitionProperty: "color, background-color, border-color",
|
|
72
|
+
transitionDuration: "150ms",
|
|
73
|
+
":hover": {
|
|
74
|
+
backgroundColor: w
|
|
75
|
+
},
|
|
76
|
+
":focus-visible": {
|
|
77
|
+
outlineWidth: "2px",
|
|
78
|
+
outlineStyle: "solid",
|
|
79
|
+
outlineOffset: "2px",
|
|
80
|
+
outlineColor: u
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
iconActive: {
|
|
84
|
+
width: "1rem",
|
|
85
|
+
height: "1rem",
|
|
86
|
+
color: p,
|
|
87
|
+
flexShrink: 0
|
|
88
|
+
},
|
|
89
|
+
iconUnsorted: {
|
|
90
|
+
width: "1rem",
|
|
91
|
+
height: "1rem",
|
|
92
|
+
opacity: 0.4,
|
|
93
|
+
flexShrink: 0
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
function x({ column: e, title: t, className: a }, d) {
|
|
97
|
+
const r = b();
|
|
98
|
+
return e.getCanSort() ? /* @__PURE__ */ n(
|
|
99
|
+
"span",
|
|
100
|
+
{
|
|
101
|
+
ref: d,
|
|
102
|
+
role: "button",
|
|
103
|
+
tabIndex: 0,
|
|
104
|
+
"data-slot": "data-table-column-header",
|
|
105
|
+
[g]: "data-table-column-header",
|
|
106
|
+
"data-fs-element": "DataTable-SortButton",
|
|
107
|
+
onClick: () => e.toggleSorting(),
|
|
108
|
+
onKeyDown: (s) => {
|
|
109
|
+
(s.key === "Enter" || s.key === " ") && (s.preventDefault(), e.toggleSorting());
|
|
110
|
+
},
|
|
111
|
+
"aria-label": e.getIsSorted() === "asc" ? `${t}, sorted ascending. Click to sort descending.` : e.getIsSorted() === "desc" ? `${t}, sorted descending. Click to remove sorting.` : `${t}. Click to sort ascending.`,
|
|
112
|
+
className: h(r.button, a),
|
|
113
|
+
children: [
|
|
114
|
+
t,
|
|
115
|
+
e.getIsSorted() === "asc" && /* @__PURE__ */ o(f, { className: r.iconActive }),
|
|
116
|
+
e.getIsSorted() === "desc" && /* @__PURE__ */ o(v, { className: r.iconActive }),
|
|
117
|
+
!e.getIsSorted() && /* @__PURE__ */ o(S, { className: r.iconUnsorted })
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
) : /* @__PURE__ */ o("span", { ref: d, className: a, children: t });
|
|
121
|
+
}
|
|
122
|
+
const T = l.forwardRef(
|
|
123
|
+
x
|
|
124
|
+
);
|
|
125
|
+
export {
|
|
126
|
+
T as DataTableColumnHeader
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=data-table-column-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-column-header.js","sources":["../../../src/components/data-table/data-table-column-header.tsx"],"sourcesContent":["import * as React from \"react\"\nimport type { SVGProps } from \"react\"\nimport type { Column } from \"@tanstack/react-table\"\nimport { mergeClasses, shorthands } from \"@epilot/volt-ui-runtime\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\n// Sort icons\nconst IconArrowUp = (props: SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <path d=\"m5 12 7-7 7 7\" />\n <path d=\"M12 19V5\" />\n </svg>\n)\n\nconst IconArrowDown = (props: SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <path d=\"M12 5v14\" />\n <path d=\"m19 12-7 7-7-7\" />\n </svg>\n)\n\nconst IconArrowsSort = (props: SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...props}\n >\n <path d=\"m7 15 5 5 5-5\" />\n <path d=\"m7 9 5-5 5 5\" />\n </svg>\n)\n\nconst useStyles = makeVoltStyles({\n button: {\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: tokens.spacingElement1,\n ...shorthands.paddingBlock(\"0.125rem\"),\n ...shorthands.paddingInline(tokens.spacingElement1),\n ...shorthands.borderRadius(tokens.radiusLg),\n cursor: \"pointer\",\n transitionProperty: \"color, background-color, border-color\",\n transitionDuration: \"150ms\",\n \":hover\": {\n backgroundColor: tokens.semAccentSoft,\n },\n \":focus-visible\": {\n outlineWidth: \"2px\",\n outlineStyle: \"solid\",\n outlineOffset: \"2px\",\n outlineColor: tokens.accentA8,\n },\n },\n iconActive: {\n width: \"1rem\",\n height: \"1rem\",\n color: tokens.accent11,\n flexShrink: 0,\n },\n iconUnsorted: {\n width: \"1rem\",\n height: \"1rem\",\n opacity: 0.4,\n flexShrink: 0,\n },\n})\n\nexport type DataTableColumnHeaderProps<TData = unknown, TValue = unknown> = {\n /** The column instance from Tanstack Table */\n column: Column<TData, TValue>\n /** The header title to display */\n title: string\n /** Additional class name */\n className?: string\n}\n\nfunction DataTableColumnHeaderInner<TData, TValue>(\n { column, title, className }: DataTableColumnHeaderProps<TData, TValue>,\n ref: React.ForwardedRef<HTMLSpanElement>\n) {\n const styles = useStyles()\n\n if (!column.getCanSort()) {\n return (\n <span ref={ref} className={className}>\n {title}\n </span>\n )\n }\n\n return (\n <span\n ref={ref}\n role=\"button\"\n tabIndex={0}\n data-slot=\"data-table-column-header\"\n {...{ [SLOT_ATTR]: \"data-table-column-header\" }}\n data-fs-element=\"DataTable-SortButton\"\n onClick={() => column.toggleSorting()}\n onKeyDown={(e) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault()\n column.toggleSorting()\n }\n }}\n aria-label={\n column.getIsSorted() === \"asc\"\n ? `${title}, sorted ascending. Click to sort descending.`\n : column.getIsSorted() === \"desc\"\n ? `${title}, sorted descending. Click to remove sorting.`\n : `${title}. Click to sort ascending.`\n }\n className={mergeClasses(styles.button, className)}\n >\n {title}\n {column.getIsSorted() === \"asc\" && (\n <IconArrowUp className={styles.iconActive} />\n )}\n {column.getIsSorted() === \"desc\" && (\n <IconArrowDown className={styles.iconActive} />\n )}\n {!column.getIsSorted() && (\n <IconArrowsSort className={styles.iconUnsorted} />\n )}\n </span>\n )\n}\n\nexport const DataTableColumnHeader = React.forwardRef(\n DataTableColumnHeaderInner\n) as <TData = unknown, TValue = unknown>(\n props: DataTableColumnHeaderProps<TData, TValue> & {\n ref?: React.Ref<HTMLSpanElement>\n }\n) => React.ReactElement | null\n"],"names":["IconArrowUp","props","jsxs","jsx","IconArrowDown","IconArrowsSort","useStyles","makeVoltStyles","tokens.spacingElement1","shorthands","tokens.radiusLg","tokens.semAccentSoft","tokens.accentA8","tokens.accent11","DataTableColumnHeaderInner","column","title","className","ref","styles","SLOT_ATTR","e","mergeClasses","DataTableColumnHeader","React"],"mappings":";;;;;;;AAUA,MAAMA,IAAc,CAACC,MACnB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,QAAO;AAAA,IACP,aAAY;AAAA,IACZ,eAAc;AAAA,IACd,gBAAe;AAAA,IACd,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE,EAAC,QAAA,EAAK,GAAE,gBAAA,CAAgB;AAAA,MACxB,gBAAAA,EAAC,QAAA,EAAK,GAAE,WAAA,CAAW;AAAA,IAAA;AAAA,EAAA;AACrB,GAGIC,IAAgB,CAACH,MACrB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,QAAO;AAAA,IACP,aAAY;AAAA,IACZ,eAAc;AAAA,IACd,gBAAe;AAAA,IACd,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE,EAAC,QAAA,EAAK,GAAE,WAAA,CAAW;AAAA,MACnB,gBAAAA,EAAC,QAAA,EAAK,GAAE,iBAAA,CAAiB;AAAA,IAAA;AAAA,EAAA;AAC3B,GAGIE,IAAiB,CAACJ,MACtB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,QAAO;AAAA,IACP,aAAY;AAAA,IACZ,eAAc;AAAA,IACd,gBAAe;AAAA,IACd,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE,EAAC,QAAA,EAAK,GAAE,gBAAA,CAAgB;AAAA,MACxB,gBAAAA,EAAC,QAAA,EAAK,GAAE,eAAA,CAAe;AAAA,IAAA;AAAA,EAAA;AACzB,GAGIG,IAAYC,EAAe;AAAA,EAC/B,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,KAAKC;AAAAA,IACL,GAAGC,EAAW,aAAa,UAAU;AAAA,IACrC,GAAGA,EAAW,cAAcD,CAAsB;AAAA,IAClD,GAAGC,EAAW,aAAaC,CAAe;AAAA,IAC1C,QAAQ;AAAA,IACR,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,IACpB,UAAU;AAAA,MACR,iBAAiBC;AAAAA,IAAO;AAAA,IAE1B,kBAAkB;AAAA,MAChB,cAAc;AAAA,MACd,cAAc;AAAA,MACd,eAAe;AAAA,MACf,cAAcC;AAAAA,IAAO;AAAA,EACvB;AAAA,EAEF,YAAY;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOC;AAAAA,IACP,YAAY;AAAA,EAAA;AAAA,EAEd,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,EAAA;AAEhB,CAAC;AAWD,SAASC,EACP,EAAE,QAAAC,GAAQ,OAAAC,GAAO,WAAAC,EAAA,GACjBC,GACA;AACA,QAAMC,IAASb,EAAA;AAEf,SAAKS,EAAO,eASV,gBAAAb;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAgB;AAAA,MACA,MAAK;AAAA,MACL,UAAU;AAAA,MACV,aAAU;AAAA,MACJ,CAACE,CAAS,GAAG;AAAA,MACnB,mBAAgB;AAAA,MAChB,SAAS,MAAML,EAAO,cAAA;AAAA,MACtB,WAAW,CAACM,MAAM;AAChB,SAAIA,EAAE,QAAQ,WAAWA,EAAE,QAAQ,SACjCA,EAAE,eAAA,GACFN,EAAO,cAAA;AAAA,MAEX;AAAA,MACA,cACEA,EAAO,YAAA,MAAkB,QACrB,GAAGC,CAAK,kDACRD,EAAO,kBAAkB,SACvB,GAAGC,CAAK,kDACR,GAAGA,CAAK;AAAA,MAEhB,WAAWM,EAAaH,EAAO,QAAQF,CAAS;AAAA,MAE/C,UAAA;AAAA,QAAAD;AAAA,QACAD,EAAO,kBAAkB,2BACvBf,GAAA,EAAY,WAAWmB,EAAO,YAAY;AAAA,QAE5CJ,EAAO,kBAAkB,4BACvBX,GAAA,EAAc,WAAWe,EAAO,YAAY;AAAA,QAE9C,CAACJ,EAAO,YAAA,uBACNV,GAAA,EAAe,WAAWc,EAAO,aAAA,CAAc;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,IAtClD,gBAAAhB,EAAC,QAAA,EAAK,KAAAe,GAAU,WAAAD,GACb,UAAAD,GACH;AAwCN;AAEO,MAAMO,IAAwBC,EAAM;AAAA,EACzCV;AACF;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
3
|
+
import { DropdownMenu } from "../dropdown-menu/dropdown-menu";
|
|
4
|
+
export type DataTableColumnVisibilityProps = {
|
|
5
|
+
/** Custom icon for the default trigger button. Falls back to settings gear icon. */
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
/** Custom trigger element. Defaults to a settings icon button. */
|
|
8
|
+
trigger?: ReactNode;
|
|
9
|
+
/** Label shown at top of dropdown and as screen reader text for default trigger. Required for i18n. */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Additional class name for the dropdown content */
|
|
12
|
+
contentClassName?: string;
|
|
13
|
+
/** Alignment of dropdown relative to trigger. Default: "end" */
|
|
14
|
+
align?: "start" | "center" | "end";
|
|
15
|
+
} & Omit<ComponentProps<typeof DropdownMenu>, "children">;
|
|
16
|
+
/**
|
|
17
|
+
* A dropdown menu for toggling column visibility in DataTable.
|
|
18
|
+
* Shows checkboxes for each column that can be hidden.
|
|
19
|
+
* Place in DataTableToolbar for consistent layout.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DataTableColumnVisibility: React.ForwardRefExoticComponent<Omit<DataTableColumnVisibilityProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as b from "react";
|
|
3
|
+
import { shorthands as n } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
4
|
+
import { makeVoltStyles as w } from "../../styles/make-styles.js";
|
|
5
|
+
import { Button as D } from "../button/button.js";
|
|
6
|
+
import { DropdownMenu as y, DropdownMenuTrigger as C, DropdownMenuContent as x, DropdownMenuLabel as T, DropdownMenuSeparator as M, DropdownMenuCheckboxItem as V } from "../dropdown-menu/dropdown-menu.js";
|
|
7
|
+
import { useDataTable as v } from "./hooks/use-data-table.js";
|
|
8
|
+
const S = (r) => /* @__PURE__ */ t(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: "20",
|
|
13
|
+
height: "20",
|
|
14
|
+
viewBox: "0 -960 960 960",
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
...r,
|
|
17
|
+
children: /* @__PURE__ */ t("path", { d: "M413.09-65.87q-16.26 0-28.68-9.85Q372-85.56 370-101.83l-15-94.56q-15.61-5.31-34.07-15.89-18.45-10.59-31.63-21.33l-85.43 40q-15.7 6.57-31.96 1.78-16.26-4.78-24.82-20.04l-65.92-118.7q-9.13-14.13-5.34-30.1 3.78-15.98 17.47-26.11l79.44-59q-1.44-7.31-1.94-17.11-.5-9.81-.5-17.11 0-7.3.5-17.11.5-9.8 1.94-17.11L93.3-572.65q-14.26-10.13-17.76-26.11-3.5-15.98 5.63-30.67l65.92-118.7q8.56-14.13 24.54-19.48 15.98-5.35 31.67 1.22l87.13 40q12.61-10.18 30.79-20.48 18.17-10.3 33.78-15.17l15-95.57q2-16.83 14.41-26.96 12.42-10.13 28.68-10.13h133.82q16.26 0 28.68 10.13Q588-874.44 590-857.61l15 94.57q15.61 5.87 34.28 15.67 18.68 9.8 31.42 20.98l85.43-40q15.7-6.57 31.46-1.22 15.76 5.35 24.32 19.48l67.48 118.7q8.57 14.69 5.07 31.17-3.5 16.48-17.76 25.61l-80 56.43q1.43 8.31 2.21 18.11.79 9.81.79 18.11 0 8.3-.79 17.61-.78 9.3-2.21 17.61l80 57.43q14.26 9.13 17.76 25.61 3.5 16.48-5.07 31.17l-66.48 118.7q-8.56 14.7-24.54 19.76-15.98 5.07-31.67-1.5l-86.57-40q-13.17 10.74-30.85 21.55-17.67 10.8-34.28 15.67l-15 94.56q-2 16.27-14.41 26.11-12.42 9.85-28.68 9.85H413.09Zm27.43-79.22h78.39l14.57-111.43q33.56-8 63.91-25 30.35-17 54.35-42.7l106 46 34.91-64.65-92.87-67.87q4-17.56 6.78-34.63 2.79-17.06 2.79-34.63 0-17.57-2.29-34.63-2.28-17.07-7.28-34.63l93.44-67.87-35.48-64.65-105.44 46q-23-27.13-53.13-45.48-30.13-18.35-65.69-22.78l-14-110.87h-78.96l-13.43 110.87q-35.13 6.43-65.76 24.28-30.63 17.85-54.2 43.98l-104.87-46-35.48 64.65 92.31 67.3q-4 17.57-6.79 34.92-2.78 17.34-2.78 34.91 0 17.57 2.78 35.2 2.79 17.63 6.79 34.63l-92.31 67.3 35.48 64.65 104.87-46q24.57 25.13 55.2 42.7 30.63 17.56 64.76 25.56l13.43 110.87ZM478.87-350q54 0 92-38t38-92q0-54-38-92t-92-38q-54 0-92 38t-38 92q0 54 38 92t92 38ZM480-480Z" })
|
|
18
|
+
}
|
|
19
|
+
), k = w({
|
|
20
|
+
icon: {
|
|
21
|
+
width: "1rem",
|
|
22
|
+
height: "1rem"
|
|
23
|
+
},
|
|
24
|
+
srOnly: {
|
|
25
|
+
position: "absolute",
|
|
26
|
+
width: "1px",
|
|
27
|
+
height: "1px",
|
|
28
|
+
...n.padding(0),
|
|
29
|
+
...n.margin("-1px"),
|
|
30
|
+
...n.overflow("hidden"),
|
|
31
|
+
clip: "rect(0, 0, 0, 0)",
|
|
32
|
+
whiteSpace: "nowrap"
|
|
33
|
+
}
|
|
34
|
+
}), B = b.forwardRef(function({ icon: d, trigger: h, label: o, contentClassName: m, align: c = "end", ...p }, q) {
|
|
35
|
+
const { table: f } = v(), a = k(), s = f.getAllColumns().filter((e) => e.getCanHide());
|
|
36
|
+
return s.length === 0 ? null : /* @__PURE__ */ l(y, { ref: q, ...p, children: [
|
|
37
|
+
/* @__PURE__ */ t(C, { asChild: !0, children: h ?? /* @__PURE__ */ l(
|
|
38
|
+
D,
|
|
39
|
+
{
|
|
40
|
+
variant: "tertiary",
|
|
41
|
+
size: "sm",
|
|
42
|
+
"data-fs-element": "DataTable-ColumnVisibility-Trigger",
|
|
43
|
+
children: [
|
|
44
|
+
d ?? /* @__PURE__ */ t(S, { className: a.icon }),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: a.srOnly, children: o })
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
) }),
|
|
49
|
+
/* @__PURE__ */ l(
|
|
50
|
+
x,
|
|
51
|
+
{
|
|
52
|
+
align: c,
|
|
53
|
+
className: m,
|
|
54
|
+
"data-fs-element": "DataTable-ColumnVisibility-Content",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ t(T, { children: o }),
|
|
57
|
+
/* @__PURE__ */ t(M, {}),
|
|
58
|
+
s.map((e) => {
|
|
59
|
+
const i = e.columnDef.meta, g = (i == null ? void 0 : i.visibilityLabel) ?? (typeof e.columnDef.header == "string" ? e.columnDef.header : e.id);
|
|
60
|
+
return /* @__PURE__ */ t(
|
|
61
|
+
V,
|
|
62
|
+
{
|
|
63
|
+
checked: e.getIsVisible(),
|
|
64
|
+
onCheckedChange: (u) => e.toggleVisibility(!!u),
|
|
65
|
+
"data-fs-element": "DataTable-ColumnVisibility-Item",
|
|
66
|
+
children: g
|
|
67
|
+
},
|
|
68
|
+
e.id
|
|
69
|
+
);
|
|
70
|
+
})
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] });
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
B as DataTableColumnVisibility
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=data-table-column-visibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-column-visibility.js","sources":["../../../src/components/data-table/data-table-column-visibility.tsx"],"sourcesContent":["import * as React from \"react\"\nimport type { ComponentProps, ReactNode, SVGProps } from \"react\"\nimport { shorthands } from \"@epilot/volt-ui-runtime\"\n\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport { Button } from \"../button/button\"\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"../dropdown-menu/dropdown-menu\"\nimport { useDataTable } from \"./hooks/use-data-table\"\n\n// Settings/gear icon (default)\nconst IconSettings = (props: SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 -960 960 960\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"M413.09-65.87q-16.26 0-28.68-9.85Q372-85.56 370-101.83l-15-94.56q-15.61-5.31-34.07-15.89-18.45-10.59-31.63-21.33l-85.43 40q-15.7 6.57-31.96 1.78-16.26-4.78-24.82-20.04l-65.92-118.7q-9.13-14.13-5.34-30.1 3.78-15.98 17.47-26.11l79.44-59q-1.44-7.31-1.94-17.11-.5-9.81-.5-17.11 0-7.3.5-17.11.5-9.8 1.94-17.11L93.3-572.65q-14.26-10.13-17.76-26.11-3.5-15.98 5.63-30.67l65.92-118.7q8.56-14.13 24.54-19.48 15.98-5.35 31.67 1.22l87.13 40q12.61-10.18 30.79-20.48 18.17-10.3 33.78-15.17l15-95.57q2-16.83 14.41-26.96 12.42-10.13 28.68-10.13h133.82q16.26 0 28.68 10.13Q588-874.44 590-857.61l15 94.57q15.61 5.87 34.28 15.67 18.68 9.8 31.42 20.98l85.43-40q15.7-6.57 31.46-1.22 15.76 5.35 24.32 19.48l67.48 118.7q8.57 14.69 5.07 31.17-3.5 16.48-17.76 25.61l-80 56.43q1.43 8.31 2.21 18.11.79 9.81.79 18.11 0 8.3-.79 17.61-.78 9.3-2.21 17.61l80 57.43q14.26 9.13 17.76 25.61 3.5 16.48-5.07 31.17l-66.48 118.7q-8.56 14.7-24.54 19.76-15.98 5.07-31.67-1.5l-86.57-40q-13.17 10.74-30.85 21.55-17.67 10.8-34.28 15.67l-15 94.56q-2 16.27-14.41 26.11-12.42 9.85-28.68 9.85H413.09Zm27.43-79.22h78.39l14.57-111.43q33.56-8 63.91-25 30.35-17 54.35-42.7l106 46 34.91-64.65-92.87-67.87q4-17.56 6.78-34.63 2.79-17.06 2.79-34.63 0-17.57-2.29-34.63-2.28-17.07-7.28-34.63l93.44-67.87-35.48-64.65-105.44 46q-23-27.13-53.13-45.48-30.13-18.35-65.69-22.78l-14-110.87h-78.96l-13.43 110.87q-35.13 6.43-65.76 24.28-30.63 17.85-54.2 43.98l-104.87-46-35.48 64.65 92.31 67.3q-4 17.57-6.79 34.92-2.78 17.34-2.78 34.91 0 17.57 2.78 35.2 2.79 17.63 6.79 34.63l-92.31 67.3 35.48 64.65 104.87-46q24.57 25.13 55.2 42.7 30.63 17.56 64.76 25.56l13.43 110.87ZM478.87-350q54 0 92-38t38-92q0-54-38-92t-92-38q-54 0-92 38t-38 92q0 54 38 92t92 38ZM480-480Z\" />\n </svg>\n)\n\nconst useStyles = makeVoltStyles({\n icon: {\n width: \"1rem\",\n height: \"1rem\",\n },\n srOnly: {\n position: \"absolute\",\n width: \"1px\",\n height: \"1px\",\n ...shorthands.padding(0),\n ...shorthands.margin(\"-1px\"),\n ...shorthands.overflow(\"hidden\"),\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n },\n})\n\nexport type DataTableColumnVisibilityProps = {\n /** Custom icon for the default trigger button. Falls back to settings gear icon. */\n icon?: ReactNode\n /** Custom trigger element. Defaults to a settings icon button. */\n trigger?: ReactNode\n /** Label shown at top of dropdown and as screen reader text for default trigger. Required for i18n. */\n label: string\n /** Additional class name for the dropdown content */\n contentClassName?: string\n /** Alignment of dropdown relative to trigger. Default: \"end\" */\n align?: \"start\" | \"center\" | \"end\"\n} & Omit<ComponentProps<typeof DropdownMenu>, \"children\">\n\n/**\n * A dropdown menu for toggling column visibility in DataTable.\n * Shows checkboxes for each column that can be hidden.\n * Place in DataTableToolbar for consistent layout.\n */\nexport const DataTableColumnVisibility = React.forwardRef<\n HTMLElement,\n DataTableColumnVisibilityProps\n>(function DataTableColumnVisibility(\n { icon, trigger, label, contentClassName, align = \"end\", ...props },\n ref\n) {\n const { table } = useDataTable()\n const styles = useStyles()\n\n // Get columns that can be hidden (excludes selection column, etc.)\n const columns = table.getAllColumns().filter((column) => column.getCanHide())\n\n // If no hideable columns, don't render anything\n if (columns.length === 0) {\n return null\n }\n\n return (\n <DropdownMenu ref={ref} {...props}>\n <DropdownMenuTrigger asChild>\n {trigger ?? (\n <Button\n variant=\"tertiary\"\n size=\"sm\"\n data-fs-element=\"DataTable-ColumnVisibility-Trigger\"\n >\n {icon ?? <IconSettings className={styles.icon} />}\n <span className={styles.srOnly}>{label}</span>\n </Button>\n )}\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align={align}\n className={contentClassName}\n data-fs-element=\"DataTable-ColumnVisibility-Content\"\n >\n <DropdownMenuLabel>{label}</DropdownMenuLabel>\n <DropdownMenuSeparator />\n {columns.map((column) => {\n // Get column header text for display\n // Priority: meta.visibilityLabel > string header > column.id\n const columnMeta = column.columnDef.meta as\n | { visibilityLabel?: string }\n | undefined\n const headerText =\n columnMeta?.visibilityLabel ??\n (typeof column.columnDef.header === \"string\"\n ? column.columnDef.header\n : column.id)\n\n return (\n <DropdownMenuCheckboxItem\n key={column.id}\n checked={column.getIsVisible()}\n onCheckedChange={(value) => column.toggleVisibility(!!value)}\n data-fs-element=\"DataTable-ColumnVisibility-Item\"\n >\n {headerText}\n </DropdownMenuCheckboxItem>\n )\n })}\n </DropdownMenuContent>\n </DropdownMenu>\n )\n})\n"],"names":["IconSettings","props","jsx","useStyles","makeVoltStyles","shorthands","DataTableColumnVisibility","React","icon","trigger","label","contentClassName","align","ref","table","useDataTable","styles","columns","column","jsxs","DropdownMenu","DropdownMenuTrigger","Button","DropdownMenuContent","DropdownMenuLabel","DropdownMenuSeparator","columnMeta","headerText","DropdownMenuCheckboxItem","value"],"mappings":";;;;;;;AAiBA,MAAMA,IAAe,CAACC,MACpB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACJ,GAAGD;AAAA,IAEJ,UAAA,gBAAAC,EAAC,QAAA,EAAK,GAAE,iqDAAA,CAAiqD;AAAA,EAAA;AAC3qD,GAGIC,IAAYC,EAAe;AAAA,EAC/B,MAAM;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,EAAA;AAAA,EAEV,QAAQ;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,GAAGC,EAAW,QAAQ,CAAC;AAAA,IACvB,GAAGA,EAAW,OAAO,MAAM;AAAA,IAC3B,GAAGA,EAAW,SAAS,QAAQ;AAAA,IAC/B,MAAM;AAAA,IACN,YAAY;AAAA,EAAA;AAEhB,CAAC,GAoBYC,IAA4BC,EAAM,WAG7C,SACA,EAAE,MAAAC,GAAM,SAAAC,GAAS,OAAAC,GAAO,kBAAAC,GAAkB,OAAAC,IAAQ,OAAO,GAAGX,EAAA,GAC5DY,GACA;AACA,QAAM,EAAE,OAAAC,EAAA,IAAUC,EAAA,GACZC,IAASb,EAAA,GAGTc,IAAUH,EAAM,cAAA,EAAgB,OAAO,CAACI,MAAWA,EAAO,YAAY;AAG5E,SAAID,EAAQ,WAAW,IACd,OAIP,gBAAAE,EAACC,GAAA,EAAa,KAAAP,GAAW,GAAGZ,GAC1B,UAAA;AAAA,IAAA,gBAAAC,EAACmB,GAAA,EAAoB,SAAO,IACzB,UAAAZ,KACC,gBAAAU;AAAA,MAACG;AAAA,MAAA;AAAA,QACC,SAAQ;AAAA,QACR,MAAK;AAAA,QACL,mBAAgB;AAAA,QAEf,UAAA;AAAA,UAAAd,KAAQ,gBAAAN,EAACF,GAAA,EAAa,WAAWgB,EAAO,MAAM;AAAA,UAC/C,gBAAAd,EAAC,QAAA,EAAK,WAAWc,EAAO,QAAS,UAAAN,EAAA,CAAM;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAG7C;AAAA,IACA,gBAAAS;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,OAAAX;AAAA,QACA,WAAWD;AAAA,QACX,mBAAgB;AAAA,QAEhB,UAAA;AAAA,UAAA,gBAAAT,EAACsB,KAAmB,UAAAd,EAAA,CAAM;AAAA,4BACzBe,GAAA,EAAsB;AAAA,UACtBR,EAAQ,IAAI,CAACC,MAAW;AAGvB,kBAAMQ,IAAaR,EAAO,UAAU,MAG9BS,KACJD,KAAA,gBAAAA,EAAY,qBACX,OAAOR,EAAO,UAAU,UAAW,WAChCA,EAAO,UAAU,SACjBA,EAAO;AAEb,mBACE,gBAAAhB;AAAA,cAAC0B;AAAA,cAAA;AAAA,gBAEC,SAASV,EAAO,aAAA;AAAA,gBAChB,iBAAiB,CAACW,MAAUX,EAAO,iBAAiB,CAAC,CAACW,CAAK;AAAA,gBAC3D,mBAAgB;AAAA,gBAEf,UAAAF;AAAA,cAAA;AAAA,cALIT,EAAO;AAAA,YAAA;AAAA,UAQlB,CAAC;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GACF;AAEJ,CAAC;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type DataTableContentProps = {
|
|
4
|
+
/** Children to render inside the table (DataTableHeader, DataTableBody) */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Additional class name */
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Container component for DataTable that handles the table structure.
|
|
11
|
+
* If no children are provided, renders DataTableHeader and DataTableBody by default.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DataTableContent: React.ForwardRefExoticComponent<DataTableContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as r, jsxs as O, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
+
import * as A from "react";
|
|
3
|
+
import { useRef as S, useState as z, useCallback as R, useEffect as I, useMemo as l } from "react";
|
|
4
|
+
import { flushSync as N } from "react-dom";
|
|
5
|
+
import { shorthands as U } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
6
|
+
import { SLOT_ATTR as y } from "../../packages/volt-runtime/dist/renderer/contract.js";
|
|
7
|
+
import { mergeClasses as $ } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
8
|
+
import { makeVoltStyles as j } from "../../styles/make-styles.js";
|
|
9
|
+
import { leadingSm as k, textSm as q } from "../../tokens/index.js";
|
|
10
|
+
import { DataTableContentContext as P } from "./data-table-context.js";
|
|
11
|
+
import { DataTableHeader as Q } from "./data-table-header.js";
|
|
12
|
+
import { DataTableBody as G } from "./data-table-body.js";
|
|
13
|
+
import { useDataTable as J } from "./hooks/use-data-table.js";
|
|
14
|
+
const K = 150, X = j({
|
|
15
|
+
container: {
|
|
16
|
+
position: "relative",
|
|
17
|
+
width: "100%",
|
|
18
|
+
...U.overflow("auto")
|
|
19
|
+
},
|
|
20
|
+
resizing: {
|
|
21
|
+
cursor: "col-resize",
|
|
22
|
+
userSelect: "none"
|
|
23
|
+
},
|
|
24
|
+
table: {
|
|
25
|
+
tableLayout: "fixed",
|
|
26
|
+
borderCollapse: "separate",
|
|
27
|
+
borderSpacing: 0,
|
|
28
|
+
fontSize: q,
|
|
29
|
+
lineHeight: k
|
|
30
|
+
}
|
|
31
|
+
}), dt = A.forwardRef(function({ children: T, className: x }, a) {
|
|
32
|
+
var p;
|
|
33
|
+
const c = X(), { table: e, disableColumnResizing: W } = J(), D = !W && ((p = e.getState().columnSizingInfo) == null ? void 0 : p.isResizingColumn), f = S(null), u = S(null), [o, v] = z(!1), [m, w] = z(0), L = R(
|
|
34
|
+
(t) => {
|
|
35
|
+
f.current = t, typeof a == "function" ? a(t) : a && (a.current = t);
|
|
36
|
+
},
|
|
37
|
+
[a]
|
|
38
|
+
);
|
|
39
|
+
I(() => {
|
|
40
|
+
const t = f.current;
|
|
41
|
+
if (!t || typeof ResizeObserver > "u") return;
|
|
42
|
+
const n = new ResizeObserver((i) => {
|
|
43
|
+
w(i[0].contentRect.width);
|
|
44
|
+
});
|
|
45
|
+
return n.observe(t), () => n.disconnect();
|
|
46
|
+
}, []);
|
|
47
|
+
const b = R(() => {
|
|
48
|
+
if (u.current && !o) {
|
|
49
|
+
const t = u.current.querySelectorAll(
|
|
50
|
+
"th:not([data-spacer])"
|
|
51
|
+
), n = e.getVisibleLeafColumns();
|
|
52
|
+
if (t.length === n.length) {
|
|
53
|
+
const i = {};
|
|
54
|
+
t.forEach((d, M) => {
|
|
55
|
+
const C = n[M];
|
|
56
|
+
C && (i[C.id] = Math.round(
|
|
57
|
+
d.getBoundingClientRect().width
|
|
58
|
+
));
|
|
59
|
+
}), N(() => {
|
|
60
|
+
v(!0), e.setColumnSizing((d) => ({ ...d, ...i }));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, [e, o]), V = e.getState().columnSizing, H = e.getState().columnVisibility, s = l(() => e.getVisibleLeafColumns().reduce((n, i) => n + (i.getSize() ?? K), 0), [e, V, H]), h = 4, B = l(() => o ? s ? `${s}px` : `calc(100% - ${h}px)` : `calc(100% - ${h}px)`, [o, s]), g = l(() => !o || !m ? 0 : Math.max(0, m - s), [o, m, s]), E = T ?? /* @__PURE__ */ O(_, { children: [
|
|
65
|
+
/* @__PURE__ */ r(Q, {}),
|
|
66
|
+
/* @__PURE__ */ r(G, {})
|
|
67
|
+
] }), F = l(
|
|
68
|
+
() => ({ syncColumnWidthsBeforeResize: b, spacerWidth: g }),
|
|
69
|
+
[b, g]
|
|
70
|
+
);
|
|
71
|
+
return /* @__PURE__ */ r(P.Provider, { value: F, children: /* @__PURE__ */ r(
|
|
72
|
+
"div",
|
|
73
|
+
{
|
|
74
|
+
ref: L,
|
|
75
|
+
"data-slot": "data-table-content",
|
|
76
|
+
[y]: "data-table-content",
|
|
77
|
+
"data-fs-element": "DataTable-Content",
|
|
78
|
+
className: $(
|
|
79
|
+
c.container,
|
|
80
|
+
D && c.resizing,
|
|
81
|
+
x
|
|
82
|
+
),
|
|
83
|
+
children: /* @__PURE__ */ r(
|
|
84
|
+
"table",
|
|
85
|
+
{
|
|
86
|
+
ref: u,
|
|
87
|
+
"data-slot": "table",
|
|
88
|
+
[y]: "table",
|
|
89
|
+
className: c.table,
|
|
90
|
+
style: { width: B },
|
|
91
|
+
children: E
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
) });
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
dt as DataTableContent
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=data-table-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-content.js","sources":["../../../src/components/data-table/data-table-content.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { useRef, useMemo, useCallback, useState, useEffect } from \"react\"\nimport { flushSync } from \"react-dom\"\nimport type { ReactNode } from \"react\"\nimport { mergeClasses, shorthands } from \"@epilot/volt-ui-runtime\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\nimport { useDataTable } from \"./hooks\"\nimport { DataTableContentContext } from \"./data-table-context\"\nimport { DataTableHeader } from \"./data-table-header\"\nimport { DataTableBody } from \"./data-table-body\"\n\n// TanStack Table's default column width\nconst DEFAULT_COLUMN_WIDTH = 150\n\nconst useStyles = makeVoltStyles({\n container: {\n position: \"relative\",\n width: \"100%\",\n ...shorthands.overflow(\"auto\"),\n },\n resizing: {\n cursor: \"col-resize\",\n userSelect: \"none\",\n },\n table: {\n tableLayout: \"fixed\",\n borderCollapse: \"separate\",\n borderSpacing: 0,\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n },\n})\n\nexport type DataTableContentProps = {\n /** Children to render inside the table (DataTableHeader, DataTableBody) */\n children?: ReactNode\n /** Additional class name */\n className?: string\n}\n\n/**\n * Container component for DataTable that handles the table structure.\n * If no children are provided, renders DataTableHeader and DataTableBody by default.\n */\nexport const DataTableContent = React.forwardRef<\n HTMLDivElement,\n DataTableContentProps\n>(function DataTableContent({ children, className }, ref) {\n const styles = useStyles()\n const { table, disableColumnResizing } = useDataTable()\n const enableColumnResizing = !disableColumnResizing\n\n const isResizing =\n enableColumnResizing && table.getState().columnSizingInfo?.isResizingColumn\n const internalContainerRef = useRef<HTMLDivElement>(null!)\n const tableRef = useRef<HTMLTableElement>(null)\n const [hasSyncedWidths, setHasSyncedWidths] = useState(false)\n const [containerWidth, setContainerWidth] = useState(0)\n\n // Attach ref to internal ref or forwarded ref\n const handleRef = useCallback(\n (node: HTMLDivElement | null) => {\n internalContainerRef.current = node!\n if (typeof ref === \"function\") {\n ref(node)\n } else if (ref) {\n ;(ref as React.MutableRefObject<HTMLDivElement | null>).current = node\n }\n },\n [ref]\n )\n\n // Track container width for spacer calculation\n useEffect(() => {\n const container = internalContainerRef.current\n if (!container || typeof ResizeObserver === \"undefined\") return\n\n const observer = new ResizeObserver((entries) => {\n setContainerWidth(entries[0].contentRect.width)\n })\n observer.observe(container)\n return () => observer.disconnect()\n }, [])\n\n // Sync visual column widths to stored widths BEFORE resize starts\n const syncColumnWidthsBeforeResize = useCallback(() => {\n if (tableRef.current && !hasSyncedWidths) {\n const headerCells = tableRef.current.querySelectorAll(\n \"th:not([data-spacer])\"\n )\n const columns = table.getVisibleLeafColumns()\n\n if (headerCells.length === columns.length) {\n const newSizing: Record<string, number> = {}\n\n headerCells.forEach((cell, index) => {\n const column = columns[index]\n if (column) {\n newSizing[column.id] = Math.round(\n cell.getBoundingClientRect().width\n )\n }\n })\n\n flushSync(() => {\n setHasSyncedWidths(true)\n table.setColumnSizing((prev) => ({ ...prev, ...newSizing }))\n })\n }\n }\n }, [table, hasSyncedWidths])\n\n // Get column sizing and visibility state to trigger recalculation\n const columnSizing = table.getState().columnSizing\n const columnVisibility = table.getState().columnVisibility\n\n // Calculate total column width from visible columns\n const calculatedColumnSum = useMemo(() => {\n const totalWidth = table.getVisibleLeafColumns().reduce((sum, col) => {\n return sum + (col.getSize() ?? DEFAULT_COLUMN_WIDTH)\n }, 0)\n return totalWidth\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [table, columnSizing, columnVisibility])\n\n const WIDTH_BUFFER = 4\n const tableWidth = useMemo(() => {\n if (!hasSyncedWidths) {\n return `calc(100% - ${WIDTH_BUFFER}px)`\n }\n return calculatedColumnSum\n ? `${calculatedColumnSum}px`\n : `calc(100% - ${WIDTH_BUFFER}px)`\n }, [hasSyncedWidths, calculatedColumnSum])\n\n // Calculate spacer width to fill remaining container space after resize\n const spacerWidth = useMemo(() => {\n if (!hasSyncedWidths || !containerWidth) return 0\n return Math.max(0, containerWidth - calculatedColumnSum)\n }, [hasSyncedWidths, containerWidth, calculatedColumnSum])\n\n // If no children, render default header + body\n const content = children ?? (\n <>\n <DataTableHeader />\n <DataTableBody />\n </>\n )\n\n const contentContextValue = useMemo(\n () => ({ syncColumnWidthsBeforeResize, spacerWidth }),\n [syncColumnWidthsBeforeResize, spacerWidth]\n )\n\n return (\n <DataTableContentContext.Provider value={contentContextValue}>\n <div\n ref={handleRef}\n data-slot=\"data-table-content\"\n {...{ [SLOT_ATTR]: \"data-table-content\" }}\n data-fs-element=\"DataTable-Content\"\n className={mergeClasses(\n styles.container,\n isResizing && styles.resizing,\n className\n )}\n >\n <table\n ref={tableRef}\n data-slot=\"table\"\n {...{ [SLOT_ATTR]: \"table\" }}\n className={styles.table}\n style={{ width: tableWidth }}\n >\n {content}\n </table>\n </div>\n </DataTableContentContext.Provider>\n )\n})\n"],"names":["DEFAULT_COLUMN_WIDTH","useStyles","makeVoltStyles","shorthands","tokens.textSm","tokens.leadingSm","DataTableContent","React","children","className","ref","styles","table","disableColumnResizing","useDataTable","isResizing","_a","internalContainerRef","useRef","tableRef","hasSyncedWidths","setHasSyncedWidths","useState","containerWidth","setContainerWidth","handleRef","useCallback","node","useEffect","container","observer","entries","syncColumnWidthsBeforeResize","headerCells","columns","newSizing","cell","index","column","flushSync","prev","columnSizing","columnVisibility","calculatedColumnSum","useMemo","sum","col","WIDTH_BUFFER","tableWidth","spacerWidth","content","jsxs","Fragment","jsx","DataTableHeader","DataTableBody","contentContextValue","DataTableContentContext","SLOT_ATTR","mergeClasses"],"mappings":";;;;;;;;;;;;;AAeA,MAAMA,IAAuB,KAEvBC,IAAYC,EAAe;AAAA,EAC/B,WAAW;AAAA,IACT,UAAU;AAAA,IACV,OAAO;AAAA,IACP,GAAGC,EAAW,SAAS,MAAM;AAAA,EAAA;AAAA,EAE/B,UAAU;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,EAAA;AAAA,EAEd,OAAO;AAAA,IACL,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,UAAUC;AAAAA,IACV,YAAYC;AAAAA,EAAO;AAEvB,CAAC,GAaYC,KAAmBC,EAAM,WAGpC,SAA0B,EAAE,UAAAC,GAAU,WAAAC,EAAA,GAAaC,GAAK;;AACxD,QAAMC,IAASV,EAAA,GACT,EAAE,OAAAW,GAAO,uBAAAC,EAAA,IAA0BC,EAAA,GAGnCC,IAFuB,CAACF,OAGJG,IAAAJ,EAAM,SAAA,EAAW,qBAAjB,gBAAAI,EAAmC,mBACvDC,IAAuBC,EAAuB,IAAK,GACnDC,IAAWD,EAAyB,IAAI,GACxC,CAACE,GAAiBC,CAAkB,IAAIC,EAAS,EAAK,GACtD,CAACC,GAAgBC,CAAiB,IAAIF,EAAS,CAAC,GAGhDG,IAAYC;AAAA,IAChB,CAACC,MAAgC;AAC/B,MAAAV,EAAqB,UAAUU,GAC3B,OAAOjB,KAAQ,aACjBA,EAAIiB,CAAI,IACCjB,MACPA,EAAsD,UAAUiB;AAAA,IAEtE;AAAA,IACA,CAACjB,CAAG;AAAA,EAAA;AAIN,EAAAkB,EAAU,MAAM;AACd,UAAMC,IAAYZ,EAAqB;AACvC,QAAI,CAACY,KAAa,OAAO,iBAAmB,IAAa;AAEzD,UAAMC,IAAW,IAAI,eAAe,CAACC,MAAY;AAC/C,MAAAP,EAAkBO,EAAQ,CAAC,EAAE,YAAY,KAAK;AAAA,IAChD,CAAC;AACD,WAAAD,EAAS,QAAQD,CAAS,GACnB,MAAMC,EAAS,WAAA;AAAA,EACxB,GAAG,CAAA,CAAE;AAGL,QAAME,IAA+BN,EAAY,MAAM;AACrD,QAAIP,EAAS,WAAW,CAACC,GAAiB;AACxC,YAAMa,IAAcd,EAAS,QAAQ;AAAA,QACnC;AAAA,MAAA,GAEIe,IAAUtB,EAAM,sBAAA;AAEtB,UAAIqB,EAAY,WAAWC,EAAQ,QAAQ;AACzC,cAAMC,IAAoC,CAAA;AAE1C,QAAAF,EAAY,QAAQ,CAACG,GAAMC,MAAU;AACnC,gBAAMC,IAASJ,EAAQG,CAAK;AAC5B,UAAIC,MACFH,EAAUG,EAAO,EAAE,IAAI,KAAK;AAAA,YAC1BF,EAAK,wBAAwB;AAAA,UAAA;AAAA,QAGnC,CAAC,GAEDG,EAAU,MAAM;AACd,UAAAlB,EAAmB,EAAI,GACvBT,EAAM,gBAAgB,CAAC4B,OAAU,EAAE,GAAGA,GAAM,GAAGL,IAAY;AAAA,QAC7D,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF,GAAG,CAACvB,GAAOQ,CAAe,CAAC,GAGrBqB,IAAe7B,EAAM,SAAA,EAAW,cAChC8B,IAAmB9B,EAAM,SAAA,EAAW,kBAGpC+B,IAAsBC,EAAQ,MACfhC,EAAM,sBAAA,EAAwB,OAAO,CAACiC,GAAKC,MACrDD,KAAOC,EAAI,QAAA,KAAa9C,IAC9B,CAAC,GAGH,CAACY,GAAO6B,GAAcC,CAAgB,CAAC,GAEpCK,IAAe,GACfC,IAAaJ,EAAQ,MACpBxB,IAGEuB,IACH,GAAGA,CAAmB,OACtB,eAAeI,CAAY,QAJtB,eAAeA,CAAY,OAKnC,CAAC3B,GAAiBuB,CAAmB,CAAC,GAGnCM,IAAcL,EAAQ,MACtB,CAACxB,KAAmB,CAACG,IAAuB,IACzC,KAAK,IAAI,GAAGA,IAAiBoB,CAAmB,GACtD,CAACvB,GAAiBG,GAAgBoB,CAAmB,CAAC,GAGnDO,IAAU1C,KACd,gBAAA2C,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAgB;AAAA,sBAChBC,GAAA,CAAA,CAAc;AAAA,EAAA,GACjB,GAGIC,IAAsBZ;AAAA,IAC1B,OAAO,EAAE,8BAAAZ,GAA8B,aAAAiB;IACvC,CAACjB,GAA8BiB,CAAW;AAAA,EAAA;AAG5C,SACE,gBAAAI,EAACI,EAAwB,UAAxB,EAAiC,OAAOD,GACvC,UAAA,gBAAAH;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK5B;AAAA,MACL,aAAU;AAAA,MACJ,CAACiC,CAAS,GAAG;AAAA,MACnB,mBAAgB;AAAA,MAChB,WAAWC;AAAAA,QACThD,EAAO;AAAA,QACPI,KAAcJ,EAAO;AAAA,QACrBF;AAAA,MAAA;AAAA,MAGF,UAAA,gBAAA4C;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAKlC;AAAA,UACL,aAAU;AAAA,UACJ,CAACuC,CAAS,GAAG;AAAA,UACnB,WAAW/C,EAAO;AAAA,UAClB,OAAO,EAAE,OAAOqC,EAAA;AAAA,UAEf,UAAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IACH;AAAA,EAAA,GAEJ;AAEJ,CAAC;"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { MouseEvent } from "react";
|
|
2
|
+
import type { Table as TanstackTable, PaginationState, Row } from "@tanstack/react-table";
|
|
3
|
+
/**
|
|
4
|
+
* @no-host-element Constant configuration value.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEFAULT_ROW_HEIGHT = 48;
|
|
7
|
+
/**
|
|
8
|
+
* @no-host-element Constant configuration value.
|
|
9
|
+
*/
|
|
10
|
+
export declare const DEFAULT_OVERSCAN = 10;
|
|
11
|
+
/**
|
|
12
|
+
* @no-host-element Constant configuration value.
|
|
13
|
+
*/
|
|
14
|
+
export declare const DEFAULT_CONTAINER_HEIGHT = 600;
|
|
15
|
+
/** Controls how cell content handles overflow */
|
|
16
|
+
export type DataTableCellOverflow = "grow" | "wrap" | "truncate";
|
|
17
|
+
export type DataTablePaginationConfig = {
|
|
18
|
+
/** Controlled page index (0-indexed) */
|
|
19
|
+
pageIndex?: number;
|
|
20
|
+
/** Page size (items per page). Default: 10 */
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
/** Available page size options. Default: [10, 25, 50, 100] */
|
|
23
|
+
pageSizeOptions?: number[];
|
|
24
|
+
/** Total items count for server-side pagination */
|
|
25
|
+
totalItems?: number;
|
|
26
|
+
/** Total page count for server-side pagination (optional if totalItems provided) */
|
|
27
|
+
pageCount?: number;
|
|
28
|
+
/** Callback for pagination state changes */
|
|
29
|
+
onPaginationChange?: (state: PaginationState) => void;
|
|
30
|
+
};
|
|
31
|
+
export type DataTableContextValue<TData> = {
|
|
32
|
+
table: TanstackTable<TData>;
|
|
33
|
+
pagination?: DataTablePaginationConfig;
|
|
34
|
+
/** Handler called when a row is clicked. Enables clickable row mode. */
|
|
35
|
+
onRowClick?: (row: Row<TData>, event: MouseEvent<HTMLTableRowElement>) => void;
|
|
36
|
+
/** Custom hover class for clickable rows. Default: 'hover:bg-accent-a3' */
|
|
37
|
+
clickableRowClassName?: string;
|
|
38
|
+
/** Custom class for selected rows. Default: 'data-[state=selected]:bg-accent-a3' */
|
|
39
|
+
selectedRowClassName?: string;
|
|
40
|
+
/** Controls how cell content handles overflow. 'grow' expands cells (default), 'wrap' wraps text, 'truncate' shows ellipsis. */
|
|
41
|
+
cellOverflow?: DataTableCellOverflow;
|
|
42
|
+
/** Whether column resizing is disabled (enabled by default) */
|
|
43
|
+
disableColumnResizing?: boolean;
|
|
44
|
+
/** Show bottom border on header row. Default: true */
|
|
45
|
+
showHeaderBorder?: boolean;
|
|
46
|
+
/** Show bottom borders on data rows. Default: true */
|
|
47
|
+
showRowBorders?: boolean;
|
|
48
|
+
/** Ensure columns have minimum width to fit header content (prevents hover clipping on sortable headers) */
|
|
49
|
+
fitHeaderWidth?: boolean;
|
|
50
|
+
};
|
|
51
|
+
export type DataTableContentContextValue = {
|
|
52
|
+
/** Sync column widths to visual values before resize starts (prevents snap/jump) */
|
|
53
|
+
syncColumnWidthsBeforeResize: () => void;
|
|
54
|
+
/** Width of the spacer column to fill remaining container space (0 if columns fill or exceed container) */
|
|
55
|
+
spacerWidth: number;
|
|
56
|
+
} | null;
|
|
57
|
+
/**
|
|
58
|
+
* Context for accessing table instance in compound components
|
|
59
|
+
* @no-host-element Context object, renders no DOM element.
|
|
60
|
+
*/
|
|
61
|
+
export declare const DataTableContext: import("react").Context<DataTableContextValue<any> | null>;
|
|
62
|
+
/**
|
|
63
|
+
* Context for content-level functions (sync widths before resize)
|
|
64
|
+
* @no-host-element Context object, renders no DOM element.
|
|
65
|
+
*/
|
|
66
|
+
export declare const DataTableContentContext: import("react").Context<DataTableContentContextValue>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext as t } from "react";
|
|
2
|
+
const n = (
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
+
t(null)
|
|
5
|
+
), o = t(null);
|
|
6
|
+
export {
|
|
7
|
+
o as DataTableContentContext,
|
|
8
|
+
n as DataTableContext
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=data-table-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-context.js","sources":["../../../src/components/data-table/data-table-context.tsx"],"sourcesContent":["import { createContext } from \"react\"\nimport type { MouseEvent } from \"react\"\nimport type {\n Table as TanstackTable,\n PaginationState,\n Row,\n} from \"@tanstack/react-table\"\n\n// =============================================================================\n// Configuration Constants\n// =============================================================================\n\n/**\n * @no-host-element Constant configuration value.\n */\nexport const DEFAULT_ROW_HEIGHT = 48\n\n/**\n * @no-host-element Constant configuration value.\n */\nexport const DEFAULT_OVERSCAN = 10\n\n/**\n * @no-host-element Constant configuration value.\n */\nexport const DEFAULT_CONTAINER_HEIGHT = 600\n\n/** Controls how cell content handles overflow */\nexport type DataTableCellOverflow = \"grow\" | \"wrap\" | \"truncate\"\n\n// =============================================================================\n// Types\n// =============================================================================\n\nexport type DataTablePaginationConfig = {\n /** Controlled page index (0-indexed) */\n pageIndex?: number\n /** Page size (items per page). Default: 10 */\n pageSize?: number\n /** Available page size options. Default: [10, 25, 50, 100] */\n pageSizeOptions?: number[]\n /** Total items count for server-side pagination */\n totalItems?: number\n /** Total page count for server-side pagination (optional if totalItems provided) */\n pageCount?: number\n /** Callback for pagination state changes */\n onPaginationChange?: (state: PaginationState) => void\n}\n\nexport type DataTableContextValue<TData> = {\n table: TanstackTable<TData>\n pagination?: DataTablePaginationConfig\n /** Handler called when a row is clicked. Enables clickable row mode. */\n onRowClick?: (row: Row<TData>, event: MouseEvent<HTMLTableRowElement>) => void\n /** Custom hover class for clickable rows. Default: 'hover:bg-accent-a3' */\n clickableRowClassName?: string\n /** Custom class for selected rows. Default: 'data-[state=selected]:bg-accent-a3' */\n selectedRowClassName?: string\n /** Controls how cell content handles overflow. 'grow' expands cells (default), 'wrap' wraps text, 'truncate' shows ellipsis. */\n cellOverflow?: DataTableCellOverflow\n /** Whether column resizing is disabled (enabled by default) */\n disableColumnResizing?: boolean\n /** Show bottom border on header row. Default: true */\n showHeaderBorder?: boolean\n /** Show bottom borders on data rows. Default: true */\n showRowBorders?: boolean\n /** Ensure columns have minimum width to fit header content (prevents hover clipping on sortable headers) */\n fitHeaderWidth?: boolean\n}\n\nexport type DataTableContentContextValue = {\n /** Sync column widths to visual values before resize starts (prevents snap/jump) */\n syncColumnWidthsBeforeResize: () => void\n /** Width of the spacer column to fill remaining container space (0 if columns fill or exceed container) */\n spacerWidth: number\n} | null\n\n// =============================================================================\n// Context\n// =============================================================================\n\n/**\n * Context for accessing table instance in compound components\n * @no-host-element Context object, renders no DOM element.\n */\nexport const DataTableContext =\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n createContext<DataTableContextValue<any> | null>(null)\n\n/**\n * Context for content-level functions (sync widths before resize)\n * @no-host-element Context object, renders no DOM element.\n */\nexport const DataTableContentContext =\n createContext<DataTableContentContextValue>(null)\n"],"names":["DataTableContext","createContext","DataTableContentContext"],"mappings":";AAqFO,MAAMA;AAAA;AAAA,EAEXC,EAAiD,IAAI;AAAA,GAM1CC,IACXD,EAA4C,IAAI;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type DataTableErrorProps = {
|
|
4
|
+
/** Error title text */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Error description/message */
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
/** Retry button text */
|
|
9
|
+
retryLabel?: string;
|
|
10
|
+
/** Callback when retry is clicked */
|
|
11
|
+
onRetry?: () => void;
|
|
12
|
+
/** Additional class name */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Custom error content (overrides default error display) */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Error state display for DataTable.
|
|
19
|
+
* Shows an error icon, message, and optional retry button.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DataTableError: React.ForwardRefExoticComponent<DataTableErrorProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsx as t, jsxs as g, Fragment as p } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { shorthands as e } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
4
|
+
import { SLOT_ATTR as T } from "../../packages/volt-runtime/dist/renderer/contract.js";
|
|
5
|
+
import { mergeClasses as h } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
6
|
+
import { makeVoltStyles as q } from "../../styles/make-styles.js";
|
|
7
|
+
import { spacingGroup1 as f, grayA11 as x, leadingSm as y, textSm as u, grayA12 as w, fontWeightMedium as v, leadingBase as S, textBase as B, spacingElement2 as A, errorA11 as E, spacingElement1 as N, spacingLayout2 as Z } from "../../tokens/index.js";
|
|
8
|
+
import { Button as b } from "../button/button.js";
|
|
9
|
+
const C = (o) => /* @__PURE__ */ t(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
height: "24px",
|
|
14
|
+
viewBox: "0 -960 960 960",
|
|
15
|
+
width: "24px",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
...o,
|
|
18
|
+
children: /* @__PURE__ */ t("path", { d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" })
|
|
19
|
+
}
|
|
20
|
+
), j = q({
|
|
21
|
+
root: {
|
|
22
|
+
display: "flex",
|
|
23
|
+
flexDirection: "column",
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
justifyContent: "center",
|
|
26
|
+
gap: N,
|
|
27
|
+
...e.paddingBlock(Z),
|
|
28
|
+
textAlign: "center"
|
|
29
|
+
},
|
|
30
|
+
icon: {
|
|
31
|
+
width: "2.5rem",
|
|
32
|
+
height: "2.5rem",
|
|
33
|
+
color: E,
|
|
34
|
+
marginBottom: A
|
|
35
|
+
},
|
|
36
|
+
title: {
|
|
37
|
+
fontSize: B,
|
|
38
|
+
lineHeight: S,
|
|
39
|
+
fontWeight: v,
|
|
40
|
+
color: w,
|
|
41
|
+
...e.margin(0)
|
|
42
|
+
},
|
|
43
|
+
description: {
|
|
44
|
+
fontSize: u,
|
|
45
|
+
lineHeight: y,
|
|
46
|
+
color: x,
|
|
47
|
+
maxWidth: "28rem",
|
|
48
|
+
...e.margin(0)
|
|
49
|
+
},
|
|
50
|
+
retry: {
|
|
51
|
+
marginTop: f
|
|
52
|
+
}
|
|
53
|
+
}), M = d.forwardRef(function({ title: n, description: a, retryLabel: s, onRetry: i, className: l, children: m }, c) {
|
|
54
|
+
const r = j();
|
|
55
|
+
return /* @__PURE__ */ t(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
ref: c,
|
|
59
|
+
"data-slot": "data-table-error",
|
|
60
|
+
[T]: "data-table-error",
|
|
61
|
+
role: "alert",
|
|
62
|
+
className: h(r.root, l),
|
|
63
|
+
children: m ?? /* @__PURE__ */ g(p, { children: [
|
|
64
|
+
/* @__PURE__ */ t(C, { className: r.icon }),
|
|
65
|
+
/* @__PURE__ */ t("p", { className: r.title, children: n }),
|
|
66
|
+
a && /* @__PURE__ */ t("p", { className: r.description, children: a }),
|
|
67
|
+
i && /* @__PURE__ */ t(
|
|
68
|
+
b,
|
|
69
|
+
{
|
|
70
|
+
variant: "secondary",
|
|
71
|
+
size: "sm",
|
|
72
|
+
onClick: i,
|
|
73
|
+
className: r.retry,
|
|
74
|
+
children: s
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] })
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
M as DataTableError
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=data-table-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-error.js","sources":["../../../src/components/data-table/data-table-error.tsx"],"sourcesContent":["import * as React from \"react\"\nimport type { ReactNode } from \"react\"\nimport { mergeClasses, shorthands } from \"@epilot/volt-ui-runtime\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\nimport { Button } from \"../button/button\"\n\nconst ErrorIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z\" />\n </svg>\n)\n\nconst useStyles = makeVoltStyles({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: tokens.spacingElement1,\n ...shorthands.paddingBlock(tokens.spacingLayout2),\n textAlign: \"center\",\n },\n icon: {\n width: \"2.5rem\",\n height: \"2.5rem\",\n color: tokens.errorA11,\n marginBottom: tokens.spacingElement2,\n },\n title: {\n fontSize: tokens.textBase,\n lineHeight: tokens.leadingBase,\n fontWeight: tokens.fontWeightMedium,\n color: tokens.grayA12,\n ...shorthands.margin(0),\n },\n description: {\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n color: tokens.grayA11,\n maxWidth: \"28rem\",\n ...shorthands.margin(0),\n },\n retry: {\n marginTop: tokens.spacingGroup1,\n },\n})\n\nexport type DataTableErrorProps = {\n /** Error title text */\n title?: string\n /** Error description/message */\n description?: ReactNode\n /** Retry button text */\n retryLabel?: string\n /** Callback when retry is clicked */\n onRetry?: () => void\n /** Additional class name */\n className?: string\n /** Custom error content (overrides default error display) */\n children?: ReactNode\n}\n\n/**\n * Error state display for DataTable.\n * Shows an error icon, message, and optional retry button.\n */\nexport const DataTableError = React.forwardRef<\n HTMLDivElement,\n DataTableErrorProps\n>(function DataTableError(\n { title, description, retryLabel, onRetry, className, children },\n ref\n) {\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n data-slot=\"data-table-error\"\n {...{ [SLOT_ATTR]: \"data-table-error\" }}\n role=\"alert\"\n className={mergeClasses(styles.root, className)}\n >\n {children ?? (\n <>\n <ErrorIcon className={styles.icon} />\n <p className={styles.title}>{title}</p>\n {description && <p className={styles.description}>{description}</p>}\n {onRetry && (\n <Button\n variant=\"secondary\"\n size=\"sm\"\n onClick={onRetry}\n className={styles.retry}\n >\n {retryLabel}\n </Button>\n )}\n </>\n )}\n </div>\n )\n})\n"],"names":["ErrorIcon","props","jsx","useStyles","makeVoltStyles","tokens.spacingElement1","shorthands","tokens.spacingLayout2","tokens.errorA11","tokens.spacingElement2","tokens.textBase","tokens.leadingBase","tokens.fontWeightMedium","tokens.grayA12","tokens.textSm","tokens.leadingSm","tokens.grayA11","tokens.spacingGroup1","DataTableError","React","title","description","retryLabel","onRetry","className","children","ref","styles","SLOT_ATTR","mergeClasses","jsxs","Fragment","Button"],"mappings":";;;;;;;;AASA,MAAMA,IAAY,CAACC,MACjB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,OAAM;AAAA,IACN,MAAK;AAAA,IACJ,GAAGD;AAAA,IAEJ,UAAA,gBAAAC,EAAC,QAAA,EAAK,GAAE,kfAAA,CAAkf;AAAA,EAAA;AAC5f,GAGIC,IAAYC,EAAe;AAAA,EAC/B,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,KAAKC;AAAAA,IACL,GAAGC,EAAW,aAAaC,CAAqB;AAAA,IAChD,WAAW;AAAA,EAAA;AAAA,EAEb,MAAM;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAOC;AAAAA,IACP,cAAcC;AAAAA,EAAO;AAAA,EAEvB,OAAO;AAAA,IACL,UAAUC;AAAAA,IACV,YAAYC;AAAAA,IACZ,YAAYC;AAAAA,IACZ,OAAOC;AAAAA,IACP,GAAGP,EAAW,OAAO,CAAC;AAAA,EAAA;AAAA,EAExB,aAAa;AAAA,IACX,UAAUQ;AAAAA,IACV,YAAYC;AAAAA,IACZ,OAAOC;AAAAA,IACP,UAAU;AAAA,IACV,GAAGV,EAAW,OAAO,CAAC;AAAA,EAAA;AAAA,EAExB,OAAO;AAAA,IACL,WAAWW;AAAAA,EAAO;AAEtB,CAAC,GAqBYC,IAAiBC,EAAM,WAGlC,SACA,EAAE,OAAAC,GAAO,aAAAC,GAAa,YAAAC,GAAY,SAAAC,GAAS,WAAAC,GAAW,UAAAC,EAAA,GACtDC,GACA;AACA,QAAMC,IAASxB,EAAA;AAEf,SACE,gBAAAD;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAwB;AAAA,MACA,aAAU;AAAA,MACJ,CAACE,CAAS,GAAG;AAAA,MACnB,MAAK;AAAA,MACL,WAAWC,EAAaF,EAAO,MAAMH,CAAS;AAAA,MAE7C,eACC,gBAAAM,EAAAC,GAAA,EACE,UAAA;AAAA,QAAA,gBAAA7B,EAACF,GAAA,EAAU,WAAW2B,EAAO,KAAA,CAAM;AAAA,QACnC,gBAAAzB,EAAC,KAAA,EAAE,WAAWyB,EAAO,OAAQ,UAAAP,GAAM;AAAA,QAClCC,KAAe,gBAAAnB,EAAC,KAAA,EAAE,WAAWyB,EAAO,aAAc,UAAAN,GAAY;AAAA,QAC9DE,KACC,gBAAArB;AAAA,UAAC8B;AAAA,UAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,SAAST;AAAA,YACT,WAAWI,EAAO;AAAA,YAEjB,UAAAL;AAAA,UAAA;AAAA,QAAA;AAAA,MACH,EAAA,CAEJ;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export type DataTableHeaderProps = {
|
|
3
|
+
/** Additional class name */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Whether to make header sticky */
|
|
6
|
+
sticky?: boolean;
|
|
7
|
+
/** Background color for sticky header. Default: tokens.gray2 */
|
|
8
|
+
stickyBackground?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Renders the table header with column headers.
|
|
12
|
+
* Must be used within a DataTable component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const DataTableHeader: React.ForwardRefExoticComponent<DataTableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|