@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
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { createElement as
|
|
4
|
-
import { shorthands as l } from "../../
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { jsxs as S, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { createElement as ae } from "react";
|
|
4
|
+
import { shorthands as l } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
5
|
+
import { SLOT_ATTR as c } from "../../packages/volt-runtime/dist/renderer/contract.js";
|
|
6
|
+
import { mergeClasses as z } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
7
|
+
import { Field as re, FieldLabel as se, FieldInputGroup as de, FieldGroupAddon as ie, FieldError as oe } from "../field/field.js";
|
|
8
|
+
import { Button as pe } from "../button/button.js";
|
|
9
|
+
import { Pill as le } from "../pill/pill.js";
|
|
10
|
+
import { Popover as ce, PopoverTrigger as ge, PopoverContent as he } from "../popover/popover.js";
|
|
11
|
+
import { makeVoltStyles as ue } from "../../styles/make-styles.js";
|
|
12
|
+
import { gray6 as me, gray9 as fe, leadingSm as G, textSm as H, grayA8 as Te, grayA12 as ye, spacingElement1 as Ce, spacingGroup1 as qe, spacingElement2 as Se } from "../../tokens/index.js";
|
|
12
13
|
import { RangeCalendar as ke } from "./range-calendar.js";
|
|
13
14
|
import { formatDateTimeDisplay as d, parseDateTimeInput as b } from "../date-time-picker/date-time-picker-utils.js";
|
|
14
|
-
|
|
15
|
-
const Se = (S) => /* @__PURE__ */ s(
|
|
15
|
+
const xe = (k) => /* @__PURE__ */ s(
|
|
16
16
|
"svg",
|
|
17
17
|
{
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -20,10 +20,10 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
20
20
|
viewBox: "0 -960 960 960",
|
|
21
21
|
width: "18px",
|
|
22
22
|
fill: "currentColor",
|
|
23
|
-
...
|
|
23
|
+
...k,
|
|
24
24
|
children: /* @__PURE__ */ s("path", { d: "M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z" })
|
|
25
25
|
}
|
|
26
|
-
),
|
|
26
|
+
), we = "dd/MM/yyyy", B = ue({
|
|
27
27
|
root: {
|
|
28
28
|
width: "100%"
|
|
29
29
|
},
|
|
@@ -53,7 +53,7 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
53
53
|
triggerRoot: {
|
|
54
54
|
display: "flex",
|
|
55
55
|
alignItems: "center",
|
|
56
|
-
...l.gap(
|
|
56
|
+
...l.gap(Se),
|
|
57
57
|
flexGrow: 1,
|
|
58
58
|
flexShrink: 1,
|
|
59
59
|
flexBasis: "0%",
|
|
@@ -63,22 +63,24 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
63
63
|
input: {
|
|
64
64
|
width: "5.5rem",
|
|
65
65
|
outlineStyle: "none",
|
|
66
|
-
fontSize:
|
|
67
|
-
|
|
66
|
+
fontSize: H,
|
|
67
|
+
lineHeight: G,
|
|
68
|
+
color: ye,
|
|
68
69
|
backgroundColor: "transparent",
|
|
69
70
|
textAlign: "center",
|
|
70
71
|
...l.border("0"),
|
|
71
72
|
...l.padding("0"),
|
|
72
73
|
"::placeholder": {
|
|
73
|
-
color:
|
|
74
|
+
color: Te
|
|
74
75
|
},
|
|
75
76
|
":disabled": {
|
|
76
77
|
cursor: "not-allowed"
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
80
|
separator: {
|
|
80
|
-
fontSize:
|
|
81
|
-
|
|
81
|
+
fontSize: H,
|
|
82
|
+
lineHeight: G,
|
|
83
|
+
color: fe,
|
|
82
84
|
flexShrink: 0,
|
|
83
85
|
userSelect: "none",
|
|
84
86
|
...l.padding("0", "0.125rem")
|
|
@@ -102,21 +104,21 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
102
104
|
// v1 w-32
|
|
103
105
|
borderLeftWidth: "1px",
|
|
104
106
|
borderLeftStyle: "solid",
|
|
105
|
-
borderLeftColor:
|
|
107
|
+
borderLeftColor: me,
|
|
106
108
|
paddingLeft: "0.75rem"
|
|
107
109
|
// v1 pl-3 (0.75rem)
|
|
108
110
|
},
|
|
109
111
|
presetPill: {
|
|
110
112
|
alignSelf: "flex-start"
|
|
111
113
|
}
|
|
112
|
-
}),
|
|
114
|
+
}), be = r.forwardRef((k, t) => {
|
|
113
115
|
const {
|
|
114
116
|
startValue: o,
|
|
115
117
|
endValue: i,
|
|
116
118
|
startPlaceholder: x,
|
|
117
119
|
endPlaceholder: R,
|
|
118
120
|
disabled: T,
|
|
119
|
-
onStartChange:
|
|
121
|
+
onStartChange: y,
|
|
120
122
|
onEndChange: I,
|
|
121
123
|
onStartBlur: v,
|
|
122
124
|
onEndBlur: n,
|
|
@@ -125,8 +127,8 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
125
127
|
className: N,
|
|
126
128
|
"data-slot": O,
|
|
127
129
|
...V
|
|
128
|
-
} =
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
+
} = k, h = B();
|
|
131
|
+
return /* @__PURE__ */ S(
|
|
130
132
|
"div",
|
|
131
133
|
{
|
|
132
134
|
ref: t,
|
|
@@ -145,7 +147,7 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
145
147
|
"data-testid": e ? `${e}-start` : void 0,
|
|
146
148
|
disabled: T,
|
|
147
149
|
onBlur: v,
|
|
148
|
-
onChange:
|
|
150
|
+
onChange: y,
|
|
149
151
|
placeholder: x,
|
|
150
152
|
value: o
|
|
151
153
|
}
|
|
@@ -177,96 +179,96 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
177
179
|
]
|
|
178
180
|
}
|
|
179
181
|
);
|
|
180
|
-
}),
|
|
182
|
+
}), Fe = r.forwardRef(function({
|
|
181
183
|
value: t,
|
|
182
184
|
onChange: o,
|
|
183
185
|
onBlur: i,
|
|
184
186
|
disabled: x = !1,
|
|
185
187
|
disablePast: R = !1,
|
|
186
188
|
label: T,
|
|
187
|
-
error:
|
|
189
|
+
error: y,
|
|
188
190
|
startPlaceholder: I = "dd/MM/yyyy",
|
|
189
191
|
endPlaceholder: v = "dd/MM/yyyy",
|
|
190
|
-
format: n =
|
|
192
|
+
format: n = we,
|
|
191
193
|
locale: e = "de",
|
|
192
194
|
className: E,
|
|
193
195
|
keyboardIcon: N,
|
|
194
196
|
inputAriaLabel: O,
|
|
195
197
|
openPickerAriaLabel: V = "Open date picker",
|
|
196
198
|
previousMonthLabel: h = "Previous month",
|
|
197
|
-
nextMonthLabel:
|
|
198
|
-
testId:
|
|
199
|
-
currentTimeInTimezone:
|
|
200
|
-
showWeekNumbers:
|
|
199
|
+
nextMonthLabel: _ = "Next month",
|
|
200
|
+
testId: j,
|
|
201
|
+
currentTimeInTimezone: $,
|
|
202
|
+
showWeekNumbers: Q = !1,
|
|
201
203
|
presets: P
|
|
202
204
|
}, U) {
|
|
203
|
-
const p = B(), [Z, M] =
|
|
205
|
+
const p = B(), [Z, M] = r.useState(!1), [A, u] = r.useState(
|
|
204
206
|
() => t.start ? d(t.start, n, e) : ""
|
|
205
|
-
), [D, m] =
|
|
207
|
+
), [D, m] = r.useState(
|
|
206
208
|
() => t.end ? d(t.end, n, e) : ""
|
|
207
|
-
), [w,
|
|
208
|
-
|
|
209
|
+
), [w, C] = r.useState(t), f = r.useRef(t);
|
|
210
|
+
r.useEffect(() => {
|
|
209
211
|
u(
|
|
210
212
|
t.start ? d(t.start, n, e) : ""
|
|
211
213
|
), m(
|
|
212
214
|
t.end ? d(t.end, n, e) : ""
|
|
213
|
-
),
|
|
214
|
-
}, [t, n, e]),
|
|
215
|
-
Z && (f.current = t,
|
|
215
|
+
), C(t);
|
|
216
|
+
}, [t, n, e]), r.useEffect(() => {
|
|
217
|
+
Z && (f.current = t, C(t));
|
|
216
218
|
}, [Z, t]);
|
|
217
|
-
const W =
|
|
218
|
-
(
|
|
219
|
-
const g =
|
|
219
|
+
const W = r.useCallback(
|
|
220
|
+
(a) => {
|
|
221
|
+
const g = a.target.value;
|
|
220
222
|
u(g);
|
|
221
|
-
const
|
|
222
|
-
if (
|
|
223
|
-
const L = { ...t, start:
|
|
223
|
+
const q = b(g, n, e);
|
|
224
|
+
if (q) {
|
|
225
|
+
const L = { ...t, start: q };
|
|
224
226
|
o(L);
|
|
225
227
|
}
|
|
226
228
|
},
|
|
227
229
|
[o, t, n, e]
|
|
228
|
-
), J =
|
|
229
|
-
(
|
|
230
|
-
const g =
|
|
230
|
+
), J = r.useCallback(
|
|
231
|
+
(a) => {
|
|
232
|
+
const g = a.target.value;
|
|
231
233
|
m(g);
|
|
232
|
-
const
|
|
233
|
-
if (
|
|
234
|
-
const L = { ...t, end:
|
|
234
|
+
const q = b(g, n, e);
|
|
235
|
+
if (q) {
|
|
236
|
+
const L = { ...t, end: q };
|
|
235
237
|
o(L);
|
|
236
238
|
}
|
|
237
239
|
},
|
|
238
240
|
[o, t, n, e]
|
|
239
|
-
), K =
|
|
241
|
+
), K = r.useCallback(() => {
|
|
240
242
|
b(A, n, e) || u(
|
|
241
243
|
t.start ? d(t.start, n, e) : ""
|
|
242
244
|
), i == null || i();
|
|
243
|
-
}, [A, t.start, n, e, i]),
|
|
245
|
+
}, [A, t.start, n, e, i]), X = r.useCallback(() => {
|
|
244
246
|
b(D, n, e) || m(
|
|
245
247
|
t.end ? d(t.end, n, e) : ""
|
|
246
248
|
), i == null || i();
|
|
247
|
-
}, [D, t.end, n, e, i]),
|
|
248
|
-
(
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
}, [D, t.end, n, e, i]), Y = r.useCallback(
|
|
250
|
+
(a) => {
|
|
251
|
+
C(a), u(
|
|
252
|
+
a.start ? d(a.start, n, e) : ""
|
|
251
253
|
), m(
|
|
252
|
-
|
|
254
|
+
a.end ? d(a.end, n, e) : ""
|
|
253
255
|
);
|
|
254
256
|
},
|
|
255
257
|
[n, e]
|
|
256
|
-
), F =
|
|
257
|
-
(
|
|
258
|
-
o(
|
|
259
|
-
|
|
258
|
+
), F = r.useCallback(
|
|
259
|
+
(a) => {
|
|
260
|
+
o(a), C(a), u(
|
|
261
|
+
a.start ? d(a.start, n, e) : ""
|
|
260
262
|
), m(
|
|
261
|
-
|
|
263
|
+
a.end ? d(a.end, n, e) : ""
|
|
262
264
|
), setTimeout(() => {
|
|
263
265
|
M(!1);
|
|
264
266
|
}, 150);
|
|
265
267
|
},
|
|
266
268
|
[o, n, e]
|
|
267
|
-
),
|
|
268
|
-
(
|
|
269
|
-
|
|
269
|
+
), ee = r.useCallback(
|
|
270
|
+
(a) => {
|
|
271
|
+
a || (!w.start || !w.end) && (C(f.current), u(
|
|
270
272
|
f.current.start ? d(
|
|
271
273
|
f.current.start,
|
|
272
274
|
n,
|
|
@@ -278,40 +280,40 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
278
280
|
n,
|
|
279
281
|
e
|
|
280
282
|
) : ""
|
|
281
|
-
)), M(
|
|
283
|
+
)), M(a);
|
|
282
284
|
},
|
|
283
285
|
[w, n, e]
|
|
284
|
-
),
|
|
285
|
-
return /* @__PURE__ */
|
|
286
|
+
), te = N || /* @__PURE__ */ s(xe, {}), ne = y ? "destructive" : "highlight";
|
|
287
|
+
return /* @__PURE__ */ S(
|
|
286
288
|
re,
|
|
287
289
|
{
|
|
288
290
|
className: z(p.root, E),
|
|
289
291
|
"data-slot": "daterangepicker",
|
|
290
292
|
[c]: "daterangepicker",
|
|
291
293
|
ref: U,
|
|
292
|
-
variant:
|
|
294
|
+
variant: ne,
|
|
293
295
|
children: [
|
|
294
|
-
T && /* @__PURE__ */ s(
|
|
295
|
-
/* @__PURE__ */
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
/* @__PURE__ */ s(
|
|
298
|
-
|
|
296
|
+
T && /* @__PURE__ */ s(se, { children: T }),
|
|
297
|
+
/* @__PURE__ */ S(ce, { modal: !0, onOpenChange: ee, open: Z, children: [
|
|
298
|
+
/* @__PURE__ */ S(de, { className: p.inputGroup, children: [
|
|
299
|
+
/* @__PURE__ */ s(ge, { asChild: !0, className: p.popoverTrigger, children: /* @__PURE__ */ s(
|
|
300
|
+
be,
|
|
299
301
|
{
|
|
300
302
|
disabled: x,
|
|
301
303
|
endPlaceholder: v,
|
|
302
304
|
endValue: D,
|
|
303
305
|
inputAriaLabel: O,
|
|
304
|
-
onEndBlur:
|
|
306
|
+
onEndBlur: X,
|
|
305
307
|
onEndChange: J,
|
|
306
308
|
onStartBlur: K,
|
|
307
309
|
onStartChange: W,
|
|
308
310
|
startPlaceholder: I,
|
|
309
311
|
startValue: A,
|
|
310
|
-
testId:
|
|
312
|
+
testId: j
|
|
311
313
|
}
|
|
312
314
|
) }),
|
|
313
|
-
/* @__PURE__ */ s(
|
|
314
|
-
|
|
315
|
+
/* @__PURE__ */ s(ie, { align: "end", children: /* @__PURE__ */ s(
|
|
316
|
+
pe,
|
|
315
317
|
{
|
|
316
318
|
"aria-label": V,
|
|
317
319
|
disabled: x,
|
|
@@ -319,19 +321,19 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
319
321
|
className: p.addonButton,
|
|
320
322
|
size: "icon-sm",
|
|
321
323
|
variant: "tertiary",
|
|
322
|
-
children:
|
|
324
|
+
children: te
|
|
323
325
|
}
|
|
324
326
|
) })
|
|
325
327
|
] }),
|
|
326
328
|
/* @__PURE__ */ s(
|
|
327
|
-
|
|
329
|
+
he,
|
|
328
330
|
{
|
|
329
331
|
align: "start",
|
|
330
332
|
className: p.popoverContent,
|
|
331
333
|
flush: !0,
|
|
332
334
|
side: "bottom",
|
|
333
335
|
sideOffset: 4,
|
|
334
|
-
children: /* @__PURE__ */
|
|
336
|
+
children: /* @__PURE__ */ S(
|
|
335
337
|
"div",
|
|
336
338
|
{
|
|
337
339
|
className: p.content,
|
|
@@ -341,14 +343,14 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
341
343
|
/* @__PURE__ */ s(
|
|
342
344
|
ke,
|
|
343
345
|
{
|
|
344
|
-
currentTimeInTimezone:
|
|
346
|
+
currentTimeInTimezone: $,
|
|
345
347
|
disablePast: R,
|
|
346
348
|
locale: e,
|
|
347
|
-
nextMonthLabel:
|
|
348
|
-
onChange:
|
|
349
|
+
nextMonthLabel: _,
|
|
350
|
+
onChange: Y,
|
|
349
351
|
onRangeComplete: F,
|
|
350
352
|
previousMonthLabel: h,
|
|
351
|
-
showWeekNumbers:
|
|
353
|
+
showWeekNumbers: Q,
|
|
352
354
|
value: w
|
|
353
355
|
}
|
|
354
356
|
),
|
|
@@ -358,20 +360,20 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
358
360
|
className: p.presets,
|
|
359
361
|
"data-slot": "daterangepicker-presets",
|
|
360
362
|
[c]: "daterangepicker-presets",
|
|
361
|
-
children: P.map((
|
|
362
|
-
|
|
363
|
+
children: P.map((a) => /* @__PURE__ */ ae(
|
|
364
|
+
le,
|
|
363
365
|
{
|
|
364
366
|
className: p.presetPill,
|
|
365
367
|
"data-slot": "daterangepicker-preset",
|
|
366
368
|
[c]: "daterangepicker-preset",
|
|
367
|
-
key:
|
|
369
|
+
key: a.label,
|
|
368
370
|
onClick: () => {
|
|
369
|
-
const g =
|
|
371
|
+
const g = a.getValue();
|
|
370
372
|
F(g);
|
|
371
373
|
},
|
|
372
374
|
variant: "surface"
|
|
373
375
|
},
|
|
374
|
-
|
|
376
|
+
a.label
|
|
375
377
|
))
|
|
376
378
|
}
|
|
377
379
|
)
|
|
@@ -381,13 +383,13 @@ const Se = (S) => /* @__PURE__ */ s(
|
|
|
381
383
|
}
|
|
382
384
|
)
|
|
383
385
|
] }),
|
|
384
|
-
|
|
386
|
+
y && /* @__PURE__ */ s(oe, { children: y })
|
|
385
387
|
]
|
|
386
388
|
}
|
|
387
389
|
);
|
|
388
390
|
});
|
|
389
391
|
export {
|
|
390
|
-
|
|
392
|
+
Fe as DateRangePicker,
|
|
391
393
|
ke as RangeCalendar
|
|
392
394
|
};
|
|
393
395
|
//# sourceMappingURL=date-range-picker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-picker.js","sources":["../../../src/components/date-range-picker/date-range-picker.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { mergeClasses, shorthands } from \"@griffel/core\"\n\nimport {\n Field,\n FieldLabel,\n FieldError,\n FieldInputGroup,\n FieldGroupAddon,\n} from \"../field/field\"\nimport { Button } from \"../button/button\"\nimport { Pill } from \"../pill/pill\"\nimport { Popover, PopoverTrigger, PopoverContent } from \"../popover/popover\"\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\nimport { RangeCalendar } from \"./range-calendar\"\nimport type { RangeCalendarProps } from \"./range-calendar\"\nimport type { DateRange, DateTimePickerLocale } from \"./date-range-picker-utils\"\nimport {\n formatDateTimeDisplay,\n parseDateTimeInput,\n} from \"./date-range-picker-utils\"\n\nconst CalendarIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"18px\"\n viewBox=\"0 -960 960 960\"\n width=\"18px\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z\" />\n </svg>\n)\n\nconst DEFAULT_FORMAT = \"dd/MM/yyyy\"\n\nexport type DateRangePreset = {\n label: string\n getValue: () => DateRange\n}\n\nexport type DateRangePickerProps = {\n value: DateRange\n onChange: (range: DateRange) => void\n onBlur?: () => void\n disabled?: boolean\n disablePast?: boolean\n label?: string\n error?: string\n startPlaceholder?: string\n endPlaceholder?: string\n format?: string\n locale?: DateTimePickerLocale\n className?: string\n keyboardIcon?: React.ReactNode\n inputAriaLabel?: string\n openPickerAriaLabel?: string\n previousMonthLabel?: string\n nextMonthLabel?: string\n testId?: string\n currentTimeInTimezone?: Date\n showWeekNumbers?: boolean\n presets?: DateRangePreset[]\n}\n\nconst useStyles = makeVoltStyles({\n root: {\n width: \"100%\",\n },\n inputGroup: {\n width: \"100%\",\n },\n /**\n * Reproduces a v1 defect on purpose, the same way Label's line-height is reproduced: v1's\n * `icon-sm` size classes do not reach this button, so v1 renders it content-sized at 18x18 around\n * an unconstrained 18px icon rather than the 28x28-with-14px-icon that `icon-sm` specifies.\n * Standalone, both arms render 28x28 — see the `button/size-icon-sm` specimen.\n *\n * Rule 0 targets v1's OUTPUT, and here the output is what consumers lay out against: matching\n * `icon-sm` instead makes every date field 4px taller. So the size is released back to the content\n * and the icon left unconstrained, which is v1's mechanism and not just its numbers.\n */\n addonButton: {\n width: \"auto\",\n height: \"auto\",\n \"& svg\": { width: \"auto\", height: \"auto\" },\n },\n popoverTrigger: {\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n },\n triggerRoot: {\n display: \"flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n height: \"1.5rem\",\n cursor: \"pointer\",\n },\n input: {\n width: \"5.5rem\",\n outlineStyle: \"none\",\n fontSize: tokens.textSm,\n color: tokens.grayA12,\n backgroundColor: \"transparent\",\n textAlign: \"center\",\n ...shorthands.border(\"0\"),\n ...shorthands.padding(\"0\"),\n \"::placeholder\": {\n color: tokens.grayA8,\n },\n \":disabled\": {\n cursor: \"not-allowed\",\n },\n },\n separator: {\n fontSize: tokens.textSm,\n color: tokens.gray9,\n flexShrink: 0,\n userSelect: \"none\",\n ...shorthands.padding(\"0\", \"0.125rem\"), // v1 px-0.5\n },\n popoverContent: {\n ...shorthands.overflow(\"hidden\"),\n },\n content: {\n display: \"flex\",\n flexDirection: \"row\",\n ...shorthands.gap(tokens.spacingGroup1),\n ...shorthands.padding(\"0.75rem\"), // v1 p-3 (0.75rem)\n },\n presets: {\n display: \"flex\",\n flexDirection: \"column\",\n ...shorthands.gap(tokens.spacingElement1),\n width: \"8rem\", // v1 w-32\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderLeftColor: tokens.gray6,\n paddingLeft: \"0.75rem\", // v1 pl-3 (0.75rem)\n },\n presetPill: {\n alignSelf: \"flex-start\",\n },\n})\n\nconst RangeInputTrigger = React.forwardRef<\n HTMLDivElement,\n {\n startValue: string\n endValue: string\n startPlaceholder: string\n endPlaceholder: string\n disabled: boolean\n onStartChange: (e: React.ChangeEvent<HTMLInputElement>) => void\n onEndChange: (e: React.ChangeEvent<HTMLInputElement>) => void\n onStartBlur: () => void\n onEndBlur: () => void\n testId?: string\n inputAriaLabel?: string\n \"data-slot\"?: string\n } & React.HTMLAttributes<HTMLDivElement>\n>((props, ref) => {\n const {\n startValue,\n endValue,\n startPlaceholder,\n endPlaceholder,\n disabled,\n onStartChange,\n onEndChange,\n onStartBlur,\n onEndBlur,\n testId,\n inputAriaLabel,\n className,\n \"data-slot\": _dataSlot,\n ...divProps\n } = props\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n {...divProps}\n className={mergeClasses(styles.triggerRoot, className)}\n data-slot=\"date-range-input\"\n {...{ [SLOT_ATTR]: \"date-range-input\" }}\n >\n <input\n aria-label={inputAriaLabel || \"Start date\"}\n className={styles.input}\n data-slot=\"date-range-start-input\"\n {...{ [SLOT_ATTR]: \"date-range-start-input\" }}\n data-testid={testId ? `${testId}-start` : undefined}\n disabled={disabled}\n onBlur={onStartBlur}\n onChange={onStartChange}\n placeholder={startPlaceholder}\n value={startValue}\n />\n <span\n className={styles.separator}\n data-slot=\"date-range-separator\"\n {...{ [SLOT_ATTR]: \"date-range-separator\" }}\n >\n {\"\\u2013\"}\n </span>\n <input\n aria-label=\"End date\"\n className={styles.input}\n data-slot=\"date-range-end-input\"\n {...{ [SLOT_ATTR]: \"date-range-end-input\" }}\n data-testid={testId ? `${testId}-end` : undefined}\n disabled={disabled}\n onBlur={onEndBlur}\n onChange={onEndChange}\n placeholder={endPlaceholder}\n value={endValue}\n />\n </div>\n )\n})\n\nexport const DateRangePicker = React.forwardRef<\n HTMLDivElement,\n DateRangePickerProps\n>(function DateRangePicker(\n {\n value,\n onChange,\n onBlur,\n disabled = false,\n disablePast = false,\n label,\n error,\n startPlaceholder = \"dd/MM/yyyy\",\n endPlaceholder = \"dd/MM/yyyy\",\n format = DEFAULT_FORMAT,\n locale = \"de\",\n className,\n keyboardIcon,\n inputAriaLabel,\n openPickerAriaLabel = \"Open date picker\",\n previousMonthLabel = \"Previous month\",\n nextMonthLabel = \"Next month\",\n testId,\n currentTimeInTimezone,\n showWeekNumbers = false,\n presets,\n },\n ref\n) {\n const styles = useStyles()\n const [isOpen, setIsOpen] = React.useState(false)\n const [startInputValue, setStartInputValue] = React.useState(() =>\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n const [endInputValue, setEndInputValue] = React.useState(() =>\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n const [tempRange, setTempRange] = React.useState<DateRange>(value)\n const originalValueRef = React.useRef<DateRange>(value)\n\n React.useEffect(() => {\n setStartInputValue(\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n setEndInputValue(\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n setTempRange(value)\n }, [value, format, locale])\n\n React.useEffect(() => {\n if (isOpen) {\n originalValueRef.current = value\n setTempRange(value)\n }\n }, [isOpen, value])\n\n const handleStartInputChange = React.useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n const newValue = e.target.value\n\n setStartInputValue(newValue)\n\n const parsed = parseDateTimeInput(newValue, format, locale)\n\n if (parsed) {\n const newRange = { ...value, start: parsed }\n\n onChange(newRange)\n }\n },\n [onChange, value, format, locale]\n )\n\n const handleEndInputChange = React.useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n const newValue = e.target.value\n\n setEndInputValue(newValue)\n\n const parsed = parseDateTimeInput(newValue, format, locale)\n\n if (parsed) {\n const newRange = { ...value, end: parsed }\n\n onChange(newRange)\n }\n },\n [onChange, value, format, locale]\n )\n\n const handleStartInputBlur = React.useCallback(() => {\n const parsed = parseDateTimeInput(startInputValue, format, locale)\n\n if (!parsed) {\n setStartInputValue(\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n }\n onBlur?.()\n }, [startInputValue, value.start, format, locale, onBlur])\n\n const handleEndInputBlur = React.useCallback(() => {\n const parsed = parseDateTimeInput(endInputValue, format, locale)\n\n if (!parsed) {\n setEndInputValue(\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n }\n onBlur?.()\n }, [endInputValue, value.end, format, locale, onBlur])\n\n const handleRangeChange = React.useCallback(\n (range: DateRange) => {\n setTempRange(range)\n setStartInputValue(\n range.start ? formatDateTimeDisplay(range.start, format, locale) : \"\"\n )\n setEndInputValue(\n range.end ? formatDateTimeDisplay(range.end, format, locale) : \"\"\n )\n },\n [format, locale]\n )\n\n const handleRangeComplete = React.useCallback(\n (range: DateRange) => {\n onChange(range)\n setTempRange(range)\n setStartInputValue(\n range.start ? formatDateTimeDisplay(range.start, format, locale) : \"\"\n )\n setEndInputValue(\n range.end ? formatDateTimeDisplay(range.end, format, locale) : \"\"\n )\n // Small delay to allow the user to see the selection before closing\n setTimeout(() => {\n setIsOpen(false)\n }, 150)\n },\n [onChange, format, locale]\n )\n\n const handlePopoverOpenChange = React.useCallback(\n (open: boolean) => {\n if (!open) {\n // If closing without a complete selection, revert\n if (!tempRange.start || !tempRange.end) {\n setTempRange(originalValueRef.current)\n setStartInputValue(\n originalValueRef.current.start\n ? formatDateTimeDisplay(\n originalValueRef.current.start,\n format,\n locale\n )\n : \"\"\n )\n setEndInputValue(\n originalValueRef.current.end\n ? formatDateTimeDisplay(\n originalValueRef.current.end,\n format,\n locale\n )\n : \"\"\n )\n }\n }\n setIsOpen(open)\n },\n [tempRange, format, locale]\n )\n\n const IconComponent = keyboardIcon || <CalendarIcon />\n const fieldVariant = error ? \"destructive\" : \"highlight\"\n\n return (\n <Field\n className={mergeClasses(styles.root, className)}\n data-slot=\"daterangepicker\"\n {...{ [SLOT_ATTR]: \"daterangepicker\" }}\n ref={ref}\n variant={fieldVariant}\n >\n {label && <FieldLabel>{label}</FieldLabel>}\n <Popover modal onOpenChange={handlePopoverOpenChange} open={isOpen}>\n <FieldInputGroup className={styles.inputGroup}>\n <PopoverTrigger asChild className={styles.popoverTrigger}>\n <RangeInputTrigger\n disabled={disabled}\n endPlaceholder={endPlaceholder}\n endValue={endInputValue}\n inputAriaLabel={inputAriaLabel}\n onEndBlur={handleEndInputBlur}\n onEndChange={handleEndInputChange}\n onStartBlur={handleStartInputBlur}\n onStartChange={handleStartInputChange}\n startPlaceholder={startPlaceholder}\n startValue={startInputValue}\n testId={testId}\n />\n </PopoverTrigger>\n <FieldGroupAddon align=\"end\">\n <Button\n aria-label={openPickerAriaLabel}\n disabled={disabled}\n onClick={() => setIsOpen(true)}\n className={styles.addonButton}\n size=\"icon-sm\"\n variant=\"tertiary\"\n >\n {IconComponent}\n </Button>\n </FieldGroupAddon>\n </FieldInputGroup>\n <PopoverContent\n align=\"start\"\n className={styles.popoverContent}\n flush\n side=\"bottom\"\n sideOffset={4}\n >\n <div\n className={styles.content}\n data-slot=\"daterangepicker-content\"\n {...{ [SLOT_ATTR]: \"daterangepicker-content\" }}\n >\n <RangeCalendar\n currentTimeInTimezone={currentTimeInTimezone}\n disablePast={disablePast}\n locale={locale}\n nextMonthLabel={nextMonthLabel}\n onChange={handleRangeChange}\n onRangeComplete={handleRangeComplete}\n previousMonthLabel={previousMonthLabel}\n showWeekNumbers={showWeekNumbers}\n value={tempRange}\n />\n {presets && presets.length > 0 && (\n <aside\n className={styles.presets}\n data-slot=\"daterangepicker-presets\"\n {...{ [SLOT_ATTR]: \"daterangepicker-presets\" }}\n >\n {presets.map((preset) => (\n <Pill\n className={styles.presetPill}\n data-slot=\"daterangepicker-preset\"\n {...{ [SLOT_ATTR]: \"daterangepicker-preset\" }}\n key={preset.label}\n onClick={() => {\n const range = preset.getValue()\n\n handleRangeComplete(range)\n }}\n variant=\"surface\"\n >\n {preset.label}\n </Pill>\n ))}\n </aside>\n )}\n </div>\n </PopoverContent>\n </Popover>\n {error && <FieldError>{error}</FieldError>}\n </Field>\n )\n})\n\nexport { RangeCalendar }\nexport type { RangeCalendarProps, DateRange, DateTimePickerLocale }\n"],"names":["CalendarIcon","props","jsx","DEFAULT_FORMAT","useStyles","makeVoltStyles","shorthands","tokens.spacingElement2","tokens.textSm","tokens.grayA12","tokens.grayA8","tokens.gray9","tokens.spacingGroup1","tokens.spacingElement1","tokens.gray6","RangeInputTrigger","React","ref","startValue","endValue","startPlaceholder","endPlaceholder","disabled","onStartChange","onEndChange","onStartBlur","onEndBlur","testId","inputAriaLabel","className","_dataSlot","divProps","styles","jsxs","mergeClasses","SLOT_ATTR","DateRangePicker","value","onChange","onBlur","disablePast","label","error","format","locale","keyboardIcon","openPickerAriaLabel","previousMonthLabel","nextMonthLabel","currentTimeInTimezone","showWeekNumbers","presets","isOpen","setIsOpen","startInputValue","setStartInputValue","formatDateTimeDisplay","endInputValue","setEndInputValue","tempRange","setTempRange","originalValueRef","handleStartInputChange","e","newValue","parsed","parseDateTimeInput","newRange","handleEndInputChange","handleStartInputBlur","handleEndInputBlur","handleRangeChange","range","handleRangeComplete","handlePopoverOpenChange","open","IconComponent","fieldVariant","Field","FieldLabel","Popover","FieldInputGroup","PopoverTrigger","FieldGroupAddon","Button","PopoverContent","RangeCalendar","preset","createElement","Pill","FieldError"],"mappings":";;;;;;;;;;;;;;AAyBA,MAAMA,KAAe,CAACC,MACpB,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,EAA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AClB,aAAU;AAAA,wBACJ,CAACG,CAAS,GAAG;AAAA,wBAElB,UAAAgB,EAAQ,IAAI,CAACoC,MACZ,gBAAAC;AAAA,0BAACC;AAAA,0BAAA;AAAA,4BACC,WAAWzD,EAAO;AAAA,4BAClB,aAAU;AAAA,4BACJ,CAACG,CAAS,GAAG;AAAA,4BACnB,KAAKoD,EAAO;AAAA,4BACZ,SAAS,MAAM;AACb,oCAAMf,IAAQe,EAAO,SAAA;AAErB,8BAAAd,EAAoBD,CAAK;AAAA,4BAC3B;AAAA,4BACA,SAAQ;AAAA,0BAAA;AAAA,0BAEPe,EAAO;AAAA,wBAAA,CAEX;AAAA,sBAAA;AAAA,oBAAA;AAAA,kBACH;AAAA,gBAAA;AAAA,cAAA;AAAA,YAEJ;AAAA,UAAA;AAAA,QACF,GACF;AAAA,QACC7C,KAAS,gBAAAxC,EAACwF,IAAA,EAAY,UAAAhD,EAAA,CAAM;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGnC,CAAC;"}
|
|
1
|
+
{"version":3,"file":"date-range-picker.js","sources":["../../../src/components/date-range-picker/date-range-picker.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { mergeClasses, shorthands } from \"@epilot/volt-ui-runtime\"\n\nimport {\n Field,\n FieldLabel,\n FieldError,\n FieldInputGroup,\n FieldGroupAddon,\n} from \"../field/field\"\nimport { Button } from \"../button/button\"\nimport { Pill } from \"../pill/pill\"\nimport { Popover, PopoverTrigger, PopoverContent } from \"../popover/popover\"\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\nimport { RangeCalendar } from \"./range-calendar\"\nimport type { RangeCalendarProps } from \"./range-calendar\"\nimport type { DateRange, DateTimePickerLocale } from \"./date-range-picker-utils\"\nimport {\n formatDateTimeDisplay,\n parseDateTimeInput,\n} from \"./date-range-picker-utils\"\n\nconst CalendarIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"18px\"\n viewBox=\"0 -960 960 960\"\n width=\"18px\"\n fill=\"currentColor\"\n {...props}\n >\n <path d=\"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z\" />\n </svg>\n)\n\nconst DEFAULT_FORMAT = \"dd/MM/yyyy\"\n\nexport type DateRangePreset = {\n label: string\n getValue: () => DateRange\n}\n\nexport type DateRangePickerProps = {\n value: DateRange\n onChange: (range: DateRange) => void\n onBlur?: () => void\n disabled?: boolean\n disablePast?: boolean\n label?: string\n error?: string\n startPlaceholder?: string\n endPlaceholder?: string\n format?: string\n locale?: DateTimePickerLocale\n className?: string\n keyboardIcon?: React.ReactNode\n inputAriaLabel?: string\n openPickerAriaLabel?: string\n previousMonthLabel?: string\n nextMonthLabel?: string\n testId?: string\n currentTimeInTimezone?: Date\n showWeekNumbers?: boolean\n presets?: DateRangePreset[]\n}\n\nconst useStyles = makeVoltStyles({\n root: {\n width: \"100%\",\n },\n inputGroup: {\n width: \"100%\",\n },\n /**\n * Reproduces a v1 defect on purpose, the same way Label's line-height is reproduced: v1's\n * `icon-sm` size classes do not reach this button, so v1 renders it content-sized at 18x18 around\n * an unconstrained 18px icon rather than the 28x28-with-14px-icon that `icon-sm` specifies.\n * Standalone, both arms render 28x28 — see the `button/size-icon-sm` specimen.\n *\n * Rule 0 targets v1's OUTPUT, and here the output is what consumers lay out against: matching\n * `icon-sm` instead makes every date field 4px taller. So the size is released back to the content\n * and the icon left unconstrained, which is v1's mechanism and not just its numbers.\n */\n addonButton: {\n width: \"auto\",\n height: \"auto\",\n \"& svg\": { width: \"auto\", height: \"auto\" },\n },\n popoverTrigger: {\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n },\n triggerRoot: {\n display: \"flex\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n height: \"1.5rem\",\n cursor: \"pointer\",\n },\n input: {\n width: \"5.5rem\",\n outlineStyle: \"none\",\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n color: tokens.grayA12,\n backgroundColor: \"transparent\",\n textAlign: \"center\",\n ...shorthands.border(\"0\"),\n ...shorthands.padding(\"0\"),\n \"::placeholder\": {\n color: tokens.grayA8,\n },\n \":disabled\": {\n cursor: \"not-allowed\",\n },\n },\n separator: {\n fontSize: tokens.textSm,\n lineHeight: tokens.leadingSm,\n color: tokens.gray9,\n flexShrink: 0,\n userSelect: \"none\",\n ...shorthands.padding(\"0\", \"0.125rem\"), // v1 px-0.5\n },\n popoverContent: {\n ...shorthands.overflow(\"hidden\"),\n },\n content: {\n display: \"flex\",\n flexDirection: \"row\",\n ...shorthands.gap(tokens.spacingGroup1),\n ...shorthands.padding(\"0.75rem\"), // v1 p-3 (0.75rem)\n },\n presets: {\n display: \"flex\",\n flexDirection: \"column\",\n ...shorthands.gap(tokens.spacingElement1),\n width: \"8rem\", // v1 w-32\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderLeftColor: tokens.gray6,\n paddingLeft: \"0.75rem\", // v1 pl-3 (0.75rem)\n },\n presetPill: {\n alignSelf: \"flex-start\",\n },\n})\n\nconst RangeInputTrigger = React.forwardRef<\n HTMLDivElement,\n {\n startValue: string\n endValue: string\n startPlaceholder: string\n endPlaceholder: string\n disabled: boolean\n onStartChange: (e: React.ChangeEvent<HTMLInputElement>) => void\n onEndChange: (e: React.ChangeEvent<HTMLInputElement>) => void\n onStartBlur: () => void\n onEndBlur: () => void\n testId?: string\n inputAriaLabel?: string\n \"data-slot\"?: string\n } & React.HTMLAttributes<HTMLDivElement>\n>((props, ref) => {\n const {\n startValue,\n endValue,\n startPlaceholder,\n endPlaceholder,\n disabled,\n onStartChange,\n onEndChange,\n onStartBlur,\n onEndBlur,\n testId,\n inputAriaLabel,\n className,\n \"data-slot\": _dataSlot,\n ...divProps\n } = props\n const styles = useStyles()\n\n return (\n <div\n ref={ref}\n {...divProps}\n className={mergeClasses(styles.triggerRoot, className)}\n data-slot=\"date-range-input\"\n {...{ [SLOT_ATTR]: \"date-range-input\" }}\n >\n <input\n aria-label={inputAriaLabel || \"Start date\"}\n className={styles.input}\n data-slot=\"date-range-start-input\"\n {...{ [SLOT_ATTR]: \"date-range-start-input\" }}\n data-testid={testId ? `${testId}-start` : undefined}\n disabled={disabled}\n onBlur={onStartBlur}\n onChange={onStartChange}\n placeholder={startPlaceholder}\n value={startValue}\n />\n <span\n className={styles.separator}\n data-slot=\"date-range-separator\"\n {...{ [SLOT_ATTR]: \"date-range-separator\" }}\n >\n {\"\\u2013\"}\n </span>\n <input\n aria-label=\"End date\"\n className={styles.input}\n data-slot=\"date-range-end-input\"\n {...{ [SLOT_ATTR]: \"date-range-end-input\" }}\n data-testid={testId ? `${testId}-end` : undefined}\n disabled={disabled}\n onBlur={onEndBlur}\n onChange={onEndChange}\n placeholder={endPlaceholder}\n value={endValue}\n />\n </div>\n )\n})\n\nexport const DateRangePicker = React.forwardRef<\n HTMLDivElement,\n DateRangePickerProps\n>(function DateRangePicker(\n {\n value,\n onChange,\n onBlur,\n disabled = false,\n disablePast = false,\n label,\n error,\n startPlaceholder = \"dd/MM/yyyy\",\n endPlaceholder = \"dd/MM/yyyy\",\n format = DEFAULT_FORMAT,\n locale = \"de\",\n className,\n keyboardIcon,\n inputAriaLabel,\n openPickerAriaLabel = \"Open date picker\",\n previousMonthLabel = \"Previous month\",\n nextMonthLabel = \"Next month\",\n testId,\n currentTimeInTimezone,\n showWeekNumbers = false,\n presets,\n },\n ref\n) {\n const styles = useStyles()\n const [isOpen, setIsOpen] = React.useState(false)\n const [startInputValue, setStartInputValue] = React.useState(() =>\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n const [endInputValue, setEndInputValue] = React.useState(() =>\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n const [tempRange, setTempRange] = React.useState<DateRange>(value)\n const originalValueRef = React.useRef<DateRange>(value)\n\n React.useEffect(() => {\n setStartInputValue(\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n setEndInputValue(\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n setTempRange(value)\n }, [value, format, locale])\n\n React.useEffect(() => {\n if (isOpen) {\n originalValueRef.current = value\n setTempRange(value)\n }\n }, [isOpen, value])\n\n const handleStartInputChange = React.useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n const newValue = e.target.value\n\n setStartInputValue(newValue)\n\n const parsed = parseDateTimeInput(newValue, format, locale)\n\n if (parsed) {\n const newRange = { ...value, start: parsed }\n\n onChange(newRange)\n }\n },\n [onChange, value, format, locale]\n )\n\n const handleEndInputChange = React.useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n const newValue = e.target.value\n\n setEndInputValue(newValue)\n\n const parsed = parseDateTimeInput(newValue, format, locale)\n\n if (parsed) {\n const newRange = { ...value, end: parsed }\n\n onChange(newRange)\n }\n },\n [onChange, value, format, locale]\n )\n\n const handleStartInputBlur = React.useCallback(() => {\n const parsed = parseDateTimeInput(startInputValue, format, locale)\n\n if (!parsed) {\n setStartInputValue(\n value.start ? formatDateTimeDisplay(value.start, format, locale) : \"\"\n )\n }\n onBlur?.()\n }, [startInputValue, value.start, format, locale, onBlur])\n\n const handleEndInputBlur = React.useCallback(() => {\n const parsed = parseDateTimeInput(endInputValue, format, locale)\n\n if (!parsed) {\n setEndInputValue(\n value.end ? formatDateTimeDisplay(value.end, format, locale) : \"\"\n )\n }\n onBlur?.()\n }, [endInputValue, value.end, format, locale, onBlur])\n\n const handleRangeChange = React.useCallback(\n (range: DateRange) => {\n setTempRange(range)\n setStartInputValue(\n range.start ? formatDateTimeDisplay(range.start, format, locale) : \"\"\n )\n setEndInputValue(\n range.end ? formatDateTimeDisplay(range.end, format, locale) : \"\"\n )\n },\n [format, locale]\n )\n\n const handleRangeComplete = React.useCallback(\n (range: DateRange) => {\n onChange(range)\n setTempRange(range)\n setStartInputValue(\n range.start ? formatDateTimeDisplay(range.start, format, locale) : \"\"\n )\n setEndInputValue(\n range.end ? formatDateTimeDisplay(range.end, format, locale) : \"\"\n )\n // Small delay to allow the user to see the selection before closing\n setTimeout(() => {\n setIsOpen(false)\n }, 150)\n },\n [onChange, format, locale]\n )\n\n const handlePopoverOpenChange = React.useCallback(\n (open: boolean) => {\n if (!open) {\n // If closing without a complete selection, revert\n if (!tempRange.start || !tempRange.end) {\n setTempRange(originalValueRef.current)\n setStartInputValue(\n originalValueRef.current.start\n ? formatDateTimeDisplay(\n originalValueRef.current.start,\n format,\n locale\n )\n : \"\"\n )\n setEndInputValue(\n originalValueRef.current.end\n ? formatDateTimeDisplay(\n originalValueRef.current.end,\n format,\n locale\n )\n : \"\"\n )\n }\n }\n setIsOpen(open)\n },\n [tempRange, format, locale]\n )\n\n const IconComponent = keyboardIcon || <CalendarIcon />\n const fieldVariant = error ? \"destructive\" : \"highlight\"\n\n return (\n <Field\n className={mergeClasses(styles.root, className)}\n data-slot=\"daterangepicker\"\n {...{ [SLOT_ATTR]: \"daterangepicker\" }}\n ref={ref}\n variant={fieldVariant}\n >\n {label && <FieldLabel>{label}</FieldLabel>}\n <Popover modal onOpenChange={handlePopoverOpenChange} open={isOpen}>\n <FieldInputGroup className={styles.inputGroup}>\n <PopoverTrigger asChild className={styles.popoverTrigger}>\n <RangeInputTrigger\n disabled={disabled}\n endPlaceholder={endPlaceholder}\n endValue={endInputValue}\n inputAriaLabel={inputAriaLabel}\n onEndBlur={handleEndInputBlur}\n onEndChange={handleEndInputChange}\n onStartBlur={handleStartInputBlur}\n onStartChange={handleStartInputChange}\n startPlaceholder={startPlaceholder}\n startValue={startInputValue}\n testId={testId}\n />\n </PopoverTrigger>\n <FieldGroupAddon align=\"end\">\n <Button\n aria-label={openPickerAriaLabel}\n disabled={disabled}\n onClick={() => setIsOpen(true)}\n className={styles.addonButton}\n size=\"icon-sm\"\n variant=\"tertiary\"\n >\n {IconComponent}\n </Button>\n </FieldGroupAddon>\n </FieldInputGroup>\n <PopoverContent\n align=\"start\"\n className={styles.popoverContent}\n flush\n side=\"bottom\"\n sideOffset={4}\n >\n <div\n className={styles.content}\n data-slot=\"daterangepicker-content\"\n {...{ [SLOT_ATTR]: \"daterangepicker-content\" }}\n >\n <RangeCalendar\n currentTimeInTimezone={currentTimeInTimezone}\n disablePast={disablePast}\n locale={locale}\n nextMonthLabel={nextMonthLabel}\n onChange={handleRangeChange}\n onRangeComplete={handleRangeComplete}\n previousMonthLabel={previousMonthLabel}\n showWeekNumbers={showWeekNumbers}\n value={tempRange}\n />\n {presets && presets.length > 0 && (\n <aside\n className={styles.presets}\n data-slot=\"daterangepicker-presets\"\n {...{ [SLOT_ATTR]: \"daterangepicker-presets\" }}\n >\n {presets.map((preset) => (\n <Pill\n className={styles.presetPill}\n data-slot=\"daterangepicker-preset\"\n {...{ [SLOT_ATTR]: \"daterangepicker-preset\" }}\n key={preset.label}\n onClick={() => {\n const range = preset.getValue()\n\n handleRangeComplete(range)\n }}\n variant=\"surface\"\n >\n {preset.label}\n </Pill>\n ))}\n </aside>\n )}\n </div>\n </PopoverContent>\n </Popover>\n {error && <FieldError>{error}</FieldError>}\n </Field>\n )\n})\n\nexport { RangeCalendar }\nexport type { RangeCalendarProps, DateRange, DateTimePickerLocale }\n"],"names":["CalendarIcon","props","jsx","DEFAULT_FORMAT","useStyles","makeVoltStyles","shorthands","tokens.spacingElement2","tokens.textSm","tokens.leadingSm","tokens.grayA12","tokens.grayA8","tokens.gray9","tokens.spacingGroup1","tokens.spacingElement1","tokens.gray6","RangeInputTrigger","React","ref","startValue","endValue","startPlaceholder","endPlaceholder","disabled","onStartChange","onEndChange","onStartBlur","onEndBlur","testId","inputAriaLabel","className","_dataSlot","divProps","styles","jsxs","mergeClasses","SLOT_ATTR","DateRangePicker","value","onChange","onBlur","disablePast","label","error","format","locale","keyboardIcon","openPickerAriaLabel","previousMonthLabel","nextMonthLabel","currentTimeInTimezone","showWeekNumbers","presets","isOpen","setIsOpen","startInputValue","setStartInputValue","formatDateTimeDisplay","endInputValue","setEndInputValue","tempRange","setTempRange","originalValueRef","handleStartInputChange","e","newValue","parsed","parseDateTimeInput","newRange","handleEndInputChange","handleStartInputBlur","handleEndInputBlur","handleRangeChange","range","handleRangeComplete","handlePopoverOpenChange","open","IconComponent","fieldVariant","Field","FieldLabel","Popover","FieldInputGroup","PopoverTrigger","FieldGroupAddon","Button","PopoverContent","RangeCalendar","preset","createElement","Pill","FieldError"],"mappings":";;;;;;;;;;;;;;AAyBA,MAAMA,KAAe,CAACC,MACpB,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,yyBAAA,CAAyyB;AAAA,EAAA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AAAA,wBAClB,aAAU;AAAA,wBACJ,CAACG,CAAS,GAAG;AAAA,wBAElB,UAAAgB,EAAQ,IAAI,CAACoC,MACZ,gBAAAC;AAAA,0BAACC;AAAA,0BAAA;AAAA,4BACC,WAAWzD,EAAO;AAAA,4BAClB,aAAU;AAAA,4BACJ,CAACG,CAAS,GAAG;AAAA,4BACnB,KAAKoD,EAAO;AAAA,4BACZ,SAAS,MAAM;AACb,oCAAMf,IAAQe,EAAO,SAAA;AAErB,8BAAAd,EAAoBD,CAAK;AAAA,4BAC3B;AAAA,4BACA,SAAQ;AAAA,0BAAA;AAAA,0BAEPe,EAAO;AAAA,wBAAA,CAEX;AAAA,sBAAA;AAAA,oBAAA;AAAA,kBACH;AAAA,gBAAA;AAAA,cAAA;AAAA,YAEJ;AAAA,UAAA;AAAA,QACF,GACF;AAAA,QACC7C,KAAS,gBAAAzC,EAACyF,IAAA,EAAY,UAAAhD,EAAA,CAAM;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGnC,CAAC;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as L, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { shorthands as b } from "../../
|
|
3
|
+
import { shorthands as b } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
4
|
+
import { SLOT_ATTR as h } from "../../packages/volt-runtime/dist/renderer/contract.js";
|
|
5
|
+
import { mergeClasses as z } from "../../packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
4
6
|
import { Calendar as M } from "../date-time-picker/calendar.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { spacingLayout1 as A } from "../../tokens/index.js";
|
|
7
|
+
import { makeVoltStyles as A } from "../../styles/make-styles.js";
|
|
8
|
+
import { spacingLayout1 as Q } from "../../tokens/index.js";
|
|
8
9
|
import { normalizeRange as T } from "../date-time-picker/date-time-picker-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
const G = z({
|
|
10
|
+
import { startOfDay as N } from "../../vendor/date-fns/startOfDay.js";
|
|
11
|
+
import { addMonths as _ } from "../../vendor/date-fns/addMonths.js";
|
|
12
|
+
import { subMonths as q } from "../../vendor/date-fns/subMonths.js";
|
|
13
|
+
const F = A({
|
|
14
14
|
root: {
|
|
15
15
|
display: "flex",
|
|
16
16
|
flexDirection: "row",
|
|
17
|
-
...b.gap(
|
|
17
|
+
...b.gap(Q)
|
|
18
18
|
// v1 gap-6 (1.5rem)
|
|
19
19
|
},
|
|
20
20
|
panel: {
|
|
@@ -24,7 +24,7 @@ const G = z({
|
|
|
24
24
|
}), ae = e.forwardRef(function({
|
|
25
25
|
value: t,
|
|
26
26
|
onChange: i,
|
|
27
|
-
onRangeComplete:
|
|
27
|
+
onRangeComplete: s,
|
|
28
28
|
disablePast: D = !1,
|
|
29
29
|
locale: u = "de",
|
|
30
30
|
previousMonthLabel: g = "Previous month",
|
|
@@ -33,23 +33,23 @@ const G = z({
|
|
|
33
33
|
showWeekNumbers: y = !1,
|
|
34
34
|
className: R
|
|
35
35
|
}, P) {
|
|
36
|
-
const d =
|
|
36
|
+
const d = F(), [c, S] = e.useState(() => t.start ? N(t.start) : N(/* @__PURE__ */ new Date())), [n, C] = e.useState("idle"), [r, f] = e.useState(t.start), [V, m] = e.useState(t.end), [k, x] = e.useState(null);
|
|
37
37
|
e.useEffect(() => {
|
|
38
38
|
n === "idle" && (f(t.start), m(t.end));
|
|
39
39
|
}, [t.start, t.end, n]);
|
|
40
40
|
const j = e.useMemo(
|
|
41
|
-
() =>
|
|
41
|
+
() => _(c, 1),
|
|
42
42
|
[c]
|
|
43
43
|
), O = e.useCallback(
|
|
44
44
|
(a) => {
|
|
45
45
|
if (n === "idle")
|
|
46
46
|
f(a), m(null), C("selectingEnd"), i({ start: a, end: null });
|
|
47
47
|
else {
|
|
48
|
-
const o = T(
|
|
49
|
-
f(o.start), m(o.end), C("idle"), x(null), i(o),
|
|
48
|
+
const o = T(r, a);
|
|
49
|
+
f(o.start), m(o.end), C("idle"), x(null), i(o), s == null || s(o);
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
[n,
|
|
52
|
+
[n, r, i, s]
|
|
53
53
|
), E = e.useCallback(
|
|
54
54
|
(a) => {
|
|
55
55
|
n === "selectingEnd" && x(a);
|
|
@@ -58,7 +58,7 @@ const G = z({
|
|
|
58
58
|
), v = e.useCallback((a) => {
|
|
59
59
|
S(a);
|
|
60
60
|
}, []), B = e.useCallback((a) => {
|
|
61
|
-
S(
|
|
61
|
+
S(q(a));
|
|
62
62
|
}, []), H = e.useMemo(
|
|
63
63
|
() => t.start || /* @__PURE__ */ new Date(),
|
|
64
64
|
[t.start]
|
|
@@ -66,7 +66,7 @@ const G = z({
|
|
|
66
66
|
return /* @__PURE__ */ L(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
|
-
className:
|
|
69
|
+
className: z(d.root, R),
|
|
70
70
|
"data-slot": "range-calendar",
|
|
71
71
|
[h]: "range-calendar",
|
|
72
72
|
ref: P,
|
|
@@ -94,7 +94,7 @@ const G = z({
|
|
|
94
94
|
onViewDateChange: v,
|
|
95
95
|
previousMonthLabel: g,
|
|
96
96
|
rangeEnd: V,
|
|
97
|
-
rangeStart:
|
|
97
|
+
rangeStart: r,
|
|
98
98
|
showNextButton: !1,
|
|
99
99
|
showWeekNumbers: y,
|
|
100
100
|
value: H
|
|
@@ -125,7 +125,7 @@ const G = z({
|
|
|
125
125
|
onViewDateChange: B,
|
|
126
126
|
previousMonthLabel: g,
|
|
127
127
|
rangeEnd: V,
|
|
128
|
-
rangeStart:
|
|
128
|
+
rangeStart: r,
|
|
129
129
|
showPreviousButton: !1,
|
|
130
130
|
showWeekNumbers: y,
|
|
131
131
|
value: H
|