@epilot/volt-ui-experimental-griffel 0.1.0-experiment.1
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 +157 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/components/accordion/accordion.d.ts +14 -0
- package/dist/components/accordion/accordion.js +167 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +36 -0
- package/dist/components/alert-dialog/alert-dialog.js +270 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/avatar/avatar-group.d.ts +7 -0
- package/dist/components/avatar/avatar-group.js +143 -0
- package/dist/components/avatar/avatar-group.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +17 -0
- package/dist/components/avatar/avatar.js +173 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/badge/badge.d.ts +41 -0
- package/dist/components/badge/badge.js +137 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +31 -0
- package/dist/components/breadcrumb/breadcrumb.js +111 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/button/button.d.ts +12 -0
- package/dist/components/button/button.js +168 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +30 -0
- package/dist/components/button-group/button-group.js +123 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/callout/callout.d.ts +23 -0
- package/dist/components/callout/callout.js +312 -0
- package/dist/components/callout/callout.js.map +1 -0
- package/dist/components/card/card.d.ts +9 -0
- package/dist/components/card/card.js +172 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +4 -0
- package/dist/components/checkbox/checkbox.js +123 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/collapsible-sidebar/collapsible-sidebar.d.ts +33 -0
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js +216 -0
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -0
- package/dist/components/command/command.d.ts +85 -0
- package/dist/components/command/command.js +358 -0
- package/dist/components/command/command.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker-utils.d.ts +2 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +34 -0
- package/dist/components/date-range-picker/date-range-picker.js +393 -0
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
- package/dist/components/date-range-picker/range-calendar.d.ts +15 -0
- package/dist/components/date-range-picker/range-calendar.js +143 -0
- package/dist/components/date-range-picker/range-calendar.js.map +1 -0
- package/dist/components/date-time-picker/calendar.d.ts +28 -0
- package/dist/components/date-time-picker/calendar.js +632 -0
- package/dist/components/date-time-picker/calendar.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-context.d.ts +39 -0
- package/dist/components/date-time-picker/date-time-picker-context.js +79 -0
- package/dist/components/date-time-picker/date-time-picker-context.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-input.d.ts +13 -0
- package/dist/components/date-time-picker/date-time-picker-input.js +229 -0
- package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-panel.d.ts +15 -0
- package/dist/components/date-time-picker/date-time-picker-panel.js +276 -0
- package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-popover.d.ts +6 -0
- package/dist/components/date-time-picker/date-time-picker-popover.js +26 -0
- package/dist/components/date-time-picker/date-time-picker-popover.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker-utils.d.ts +37 -0
- package/dist/components/date-time-picker/date-time-picker-utils.js +103 -0
- package/dist/components/date-time-picker/date-time-picker-utils.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +47 -0
- package/dist/components/date-time-picker/date-time-picker.js +112 -0
- package/dist/components/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/components/date-time-picker/time-picker.d.ts +12 -0
- package/dist/components/date-time-picker/time-picker.js +269 -0
- package/dist/components/date-time-picker/time-picker.js.map +1 -0
- package/dist/components/dialog/dialog.d.ts +27 -0
- package/dist/components/dialog/dialog.js +333 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/drawer/drawer.d.ts +27 -0
- package/dist/components/drawer/drawer.js +437 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +41 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +424 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/field/field-combobox.d.ts +90 -0
- package/dist/components/field/field-combobox.js +457 -0
- package/dist/components/field/field-combobox.js.map +1 -0
- package/dist/components/field/field-select.d.ts +4 -0
- package/dist/components/field/field-select.js +26 -0
- package/dist/components/field/field-select.js.map +1 -0
- package/dist/components/field/field.d.ts +76 -0
- package/dist/components/field/field.js +482 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/label/label.d.ts +21 -0
- package/dist/components/label/label.js +87 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/list/list.d.ts +46 -0
- package/dist/components/list/list.js +770 -0
- package/dist/components/list/list.js.map +1 -0
- package/dist/components/option-card/option-card.d.ts +39 -0
- package/dist/components/option-card/option-card.js +454 -0
- package/dist/components/option-card/option-card.js.map +1 -0
- package/dist/components/pill/pill.d.ts +27 -0
- package/dist/components/pill/pill.js +159 -0
- package/dist/components/pill/pill.js.map +1 -0
- package/dist/components/popover/popover.d.ts +14 -0
- package/dist/components/popover/popover.js +138 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/radio/radio.d.ts +6 -0
- package/dist/components/radio/radio.js +138 -0
- package/dist/components/radio/radio.js.map +1 -0
- package/dist/components/scroll-overflow/scroll-overflow.d.ts +38 -0
- package/dist/components/scroll-overflow/scroll-overflow.js +485 -0
- package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.d.ts +11 -0
- package/dist/components/segmented-control/segmented-control.js +262 -0
- package/dist/components/segmented-control/segmented-control.js.map +1 -0
- package/dist/components/select/select.d.ts +26 -0
- package/dist/components/select/select.js +509 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/separator.d.ts +30 -0
- package/dist/components/separator/separator.js +42 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +24 -0
- package/dist/components/skeleton/skeleton.js +121 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +25 -0
- package/dist/components/spinner/spinner.js +95 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/switch/switch.d.ts +17 -0
- package/dist/components/switch/switch.js +251 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/table/table.d.ts +50 -0
- package/dist/components/table/table.js +262 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/tabs/tabs.d.ts +18 -0
- package/dist/components/tabs/tabs.js +180 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/text/text.d.ts +22 -0
- package/dist/components/text/text.js +80 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/toast/toast.d.ts +10 -0
- package/dist/components/toast/toast.js +240 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toggle/toggle-group.d.ts +10 -0
- package/dist/components/toggle/toggle-group.js +49 -0
- package/dist/components/toggle/toggle-group.js.map +1 -0
- package/dist/components/toggle/toggle.d.ts +10 -0
- package/dist/components/toggle/toggle.js +124 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +15 -0
- package/dist/components/tooltip/tooltip.js +167 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +253 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/clear-button.d.ts +5 -0
- package/dist/lib/clear-button.js +52 -0
- package/dist/lib/clear-button.js.map +1 -0
- package/dist/lib/icons.d.ts +3 -0
- package/dist/lib/icons.js +15 -0
- package/dist/lib/icons.js.map +1 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +57 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +2599 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +368 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +236 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +23 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/constants.js +34 -0
- package/dist/node_modules/@griffel/core/src/constants.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js +27 -0
- package/dist/node_modules/@griffel/core/src/devtools/getAtomicDebugSequenceTree.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/getResetDebugSequence.js +19 -0
- package/dist/node_modules/@griffel/core/src/devtools/getResetDebugSequence.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js +18 -0
- package/dist/node_modules/@griffel/core/src/devtools/getSourceURLfromError.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/injectDevTools.js +26 -0
- package/dist/node_modules/@griffel/core/src/devtools/injectDevTools.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/isDevToolsEnabled.js +12 -0
- package/dist/node_modules/@griffel/core/src/devtools/isDevToolsEnabled.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js +15 -0
- package/dist/node_modules/@griffel/core/src/devtools/mergeDebugSequence.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js +40 -0
- package/dist/node_modules/@griffel/core/src/devtools/react-render-tracker/stackTrace.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/store.js +22 -0
- package/dist/node_modules/@griffel/core/src/devtools/store.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/devtools/utils.js +22 -0
- package/dist/node_modules/@griffel/core/src/devtools/utils.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/index.js +52 -0
- package/dist/node_modules/@griffel/core/src/index.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/insertionFactory.js +10 -0
- package/dist/node_modules/@griffel/core/src/insertionFactory.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/makeResetStyles.js +26 -0
- package/dist/node_modules/@griffel/core/src/makeResetStyles.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/makeStyles.js +33 -0
- package/dist/node_modules/@griffel/core/src/makeStyles.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/mergeClasses.js +49 -0
- package/dist/node_modules/@griffel/core/src/mergeClasses.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js +43 -0
- package/dist/node_modules/@griffel/core/src/renderer/createDOMRenderer.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js +23 -0
- package/dist/node_modules/@griffel/core/src/renderer/createIsomorphicStyleSheet.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js +81 -0
- package/dist/node_modules/@griffel/core/src/renderer/getStyleSheetForBucket.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/renderer/safeInsertRule.js +19 -0
- package/dist/node_modules/@griffel/core/src/renderer/safeInsertRule.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js +15 -0
- package/dist/node_modules/@griffel/core/src/resolveStyleRulesForSlots.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js +28 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileAtomicCSSRule.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js +23 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileCSSRules.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js +27 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileKeyframeCSS.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js +31 -0
- package/dist/node_modules/@griffel/core/src/runtime/compileResetCSSRules.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/getStyleBucketName.js +34 -0
- package/dist/node_modules/@griffel/core/src/runtime/getStyleBucketName.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js +33 -0
- package/dist/node_modules/@griffel/core/src/runtime/reduceToClassNameForSlots.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js +95 -0
- package/dist/node_modules/@griffel/core/src/runtime/resolveResetStyleRules.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js +187 -0
- package/dist/node_modules/@griffel/core/src/runtime/resolveStyleRules.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/shorthands.js +146 -0
- package/dist/node_modules/@griffel/core/src/runtime/shorthands.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js +29 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/globalPlugin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/isAtRuleElement.js +15 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/isAtRuleElement.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js +107 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/prefixerPlugin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js +9 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/rulesheetPlugin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js +41 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/scopePlugin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js +8 -0
- package/dist/node_modules/@griffel/core/src/runtime/stylis/sortClassesInAtRulesPlugin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js +19 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/cssifyObject.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/generateCombinedMediaQuery.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js +11 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashClassName.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js +16 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashPropertyKey.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js +17 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hashSequence.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js +16 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/hyphenateProperty.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isContainerQuerySelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isLayerSelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isMediaQuerySelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isMediaQuerySelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isNestedSelector.js +8 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isNestedSelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isObject.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js +8 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isResetValue.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isScopeSelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isScopeSelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isSupportQuerySelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/isSupportQuerySelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js +11 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeCSSBucketEntry.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/normalizeNestedProperty.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/utils/trimSelector.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/logError.js +7 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/logError.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js +22 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnresolvedRule.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js +16 -0
- package/dist/node_modules/@griffel/core/src/runtime/warnings/warnAboutUnsupportedProperties.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/border.js +19 -0
- package/dist/node_modules/@griffel/core/src/shorthands/border.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js +16 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderBottom.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderColor.js +8 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderColor.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js +16 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderLeft.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderRadius.js +12 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderRadius.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js +16 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderRight.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderStyle.js +8 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderStyle.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js +16 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderTop.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderWidth.js +8 -0
- package/dist/node_modules/@griffel/core/src/shorthands/borderWidth.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/flex.js +66 -0
- package/dist/node_modules/@griffel/core/src/shorthands/flex.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/gap.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/gap.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js +14 -0
- package/dist/node_modules/@griffel/core/src/shorthands/generateStyles.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/gridArea.js +31 -0
- package/dist/node_modules/@griffel/core/src/shorthands/gridArea.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/inset.js +13 -0
- package/dist/node_modules/@griffel/core/src/shorthands/inset.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/margin.js +8 -0
- package/dist/node_modules/@griffel/core/src/shorthands/margin.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/marginBlock.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/marginBlock.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/marginInline.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/marginInline.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/outline.js +11 -0
- package/dist/node_modules/@griffel/core/src/shorthands/outline.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/overflow.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/overflow.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/padding.js +8 -0
- package/dist/node_modules/@griffel/core/src/shorthands/padding.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/paddingBlock.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/paddingBlock.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/paddingInline.js +10 -0
- package/dist/node_modules/@griffel/core/src/shorthands/paddingInline.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/textDecoration.js +19 -0
- package/dist/node_modules/@griffel/core/src/shorthands/textDecoration.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/transition.js +19 -0
- package/dist/node_modules/@griffel/core/src/shorthands/transition.js.map +1 -0
- package/dist/node_modules/@griffel/core/src/shorthands/utils.js +19 -0
- package/dist/node_modules/@griffel/core/src/shorthands/utils.js.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +240 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +128 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +76 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +252 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +121 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +71 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +263 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +128 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +228 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +138 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +653 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +244 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +222 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +209 -0
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
- 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 +1 -0
- 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 +528 -0
- 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 +1 -0
- 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 +137 -0
- 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 +1 -0
- 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 +131 -0
- 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 +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +72 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +37 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +239 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +184 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +534 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +863 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +133 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +164 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +34 -0
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +138 -0
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +340 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +28 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +53 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +18 -0
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js.map +1 -0
- package/dist/node_modules/cmdk/dist/index.js +313 -0
- package/dist/node_modules/cmdk/dist/index.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +8 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +516 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +12 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +9 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +21 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/date-fns/addDays.js +11 -0
- package/dist/node_modules/date-fns/addDays.js.map +1 -0
- package/dist/node_modules/date-fns/addMonths.js +21 -0
- package/dist/node_modules/date-fns/addMonths.js.map +1 -0
- package/dist/node_modules/date-fns/constants.js +10 -0
- package/dist/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +9 -0
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/date-fns/constructNow.js +9 -0
- package/dist/node_modules/date-fns/constructNow.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +17 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +18 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js.map +1 -0
- package/dist/node_modules/date-fns/endOfWeek.js +10 -0
- package/dist/node_modules/date-fns/endOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/format.js +60 -0
- package/dist/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +9 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/getISODay.js +10 -0
- package/dist/node_modules/date-fns/getISODay.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +13 -0
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +16 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/getWeek.js +13 -0
- package/dist/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +18 -0
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/isAfter.js +9 -0
- package/dist/node_modules/date-fns/isAfter.js.map +1 -0
- package/dist/node_modules/date-fns/isBefore.js +9 -0
- package/dist/node_modules/date-fns/isBefore.js.map +1 -0
- package/dist/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/date-fns/isSameDay.js +15 -0
- package/dist/node_modules/date-fns/isSameDay.js.map +1 -0
- package/dist/node_modules/date-fns/isSameMonth.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js.map +1 -0
- package/dist/node_modules/date-fns/isToday.js +14 -0
- package/dist/node_modules/date-fns/isToday.js.map +1 -0
- package/dist/node_modules/date-fns/isValid.js +10 -0
- package/dist/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatDistance.js +164 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatLong.js +38 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatRelative.js +12 -0
- package/dist/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/_lib/localize.js +162 -0
- package/dist/node_modules/date-fns/locale/de/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/_lib/match.js +113 -0
- package/dist/node_modules/date-fns/locale/de/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de.js +22 -0
- package/dist/node_modules/date-fns/locale/de.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +71 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +34 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +12 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +122 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/match.js +111 -0
- package/dist/node_modules/date-fns/locale/fr/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr.js +22 -0
- package/dist/node_modules/date-fns/locale/fr.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +23 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +42 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +68 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +104 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
- package/dist/node_modules/date-fns/parse.js +90 -0
- package/dist/node_modules/date-fns/parse.js.map +1 -0
- package/dist/node_modules/date-fns/setDay.js +13 -0
- package/dist/node_modules/date-fns/setDay.js.map +1 -0
- package/dist/node_modules/date-fns/setHours.js +10 -0
- package/dist/node_modules/date-fns/setHours.js.map +1 -0
- package/dist/node_modules/date-fns/setISODay.js +12 -0
- package/dist/node_modules/date-fns/setISODay.js.map +1 -0
- package/dist/node_modules/date-fns/setISOWeek.js +11 -0
- package/dist/node_modules/date-fns/setISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/setMinutes.js +10 -0
- package/dist/node_modules/date-fns/setMinutes.js.map +1 -0
- package/dist/node_modules/date-fns/setWeek.js +11 -0
- package/dist/node_modules/date-fns/setWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +12 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfMonth.js +10 -0
- package/dist/node_modules/date-fns/startOfMonth.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +12 -0
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +14 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/subMonths.js +9 -0
- package/dist/node_modules/date-fns/subMonths.js.map +1 -0
- package/dist/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/node_modules/date-fns/transpose.js +19 -0
- package/dist/node_modules/date-fns/transpose.js.map +1 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +12 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +113 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +32 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +17 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +69 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +72 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +26 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +12 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +16 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +31 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/node_modules/rifm/dist/rifm.esm.js +87 -0
- package/dist/node_modules/rifm/dist/rifm.esm.js.map +1 -0
- package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js +303 -0
- package/dist/node_modules/rtl-css-js/dist/esm/convert-9768a965.js.map +1 -0
- package/dist/node_modules/sonner/dist/index.js +747 -0
- package/dist/node_modules/sonner/dist/index.js.map +1 -0
- package/dist/node_modules/stylis/src/Enum.js +16 -0
- package/dist/node_modules/stylis/src/Enum.js.map +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +19 -0
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
- package/dist/node_modules/stylis/src/Parser.js +128 -0
- package/dist/node_modules/stylis/src/Parser.js.map +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +29 -0
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +151 -0
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
- package/dist/node_modules/stylis/src/Utility.js +51 -0
- package/dist/node_modules/stylis/src/Utility.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +28 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +7 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +27 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +68 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +56 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +9 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/renderer/contract.d.ts +43 -0
- package/dist/renderer/contract.js +8 -0
- package/dist/renderer/contract.js.map +1 -0
- package/dist/renderer/index.d.ts +22 -0
- package/dist/renderer/index.js +59 -0
- package/dist/renderer/index.js.map +1 -0
- package/dist/renderer/insertion-point.d.ts +35 -0
- package/dist/renderer/insertion-point.js +30 -0
- package/dist/renderer/insertion-point.js.map +1 -0
- package/dist/renderer/rule-key.d.ts +14 -0
- package/dist/renderer/rule-key.js +12 -0
- package/dist/renderer/rule-key.js.map +1 -0
- package/dist/renderer/sheet-adoption.d.ts +32 -0
- package/dist/renderer/sheet-adoption.js +30 -0
- package/dist/renderer/sheet-adoption.js.map +1 -0
- package/dist/styles/make-styles.d.ts +43 -0
- package/dist/styles/make-styles.js +22 -0
- package/dist/styles/make-styles.js.map +1 -0
- package/dist/tokens/class-salt.generated.d.ts +2 -0
- package/dist/tokens/class-salt.generated.js +5 -0
- package/dist/tokens/class-salt.generated.js.map +1 -0
- package/dist/tokens/core.generated.d.ts +3 -0
- package/dist/tokens/core.generated.js +487 -0
- package/dist/tokens/core.generated.js.map +1 -0
- package/dist/tokens/ensure-sheet.d.ts +3 -0
- package/dist/tokens/ensure-sheet.js +14 -0
- package/dist/tokens/ensure-sheet.js.map +1 -0
- package/dist/tokens/index.d.ts +952 -0
- package/dist/tokens/index.js +958 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/install.d.ts +33 -0
- package/dist/tokens/install.js +14 -0
- package/dist/tokens/install.js.map +1 -0
- package/dist/tokens/palette.generated.d.ts +3 -0
- package/dist/tokens/palette.generated.js +1078 -0
- package/dist/tokens/palette.generated.js.map +1 -0
- package/dist/tokens.json +1911 -0
- package/package.json +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sources":["../../../src/components/list/list.tsx"],"sourcesContent":["import * as React from \"react\"\nimport {\n DndContext,\n DragOverlay,\n closestCenter,\n KeyboardSensor,\n PointerSensor,\n useSensor,\n useSensors,\n type DragEndEvent,\n type DragStartEvent,\n type DraggableAttributes,\n type DraggableSyntheticListeners,\n} from \"@dnd-kit/core\"\nimport {\n SortableContext,\n verticalListSortingStrategy,\n arrayMove,\n useSortable,\n} from \"@dnd-kit/sortable\"\nimport { mergeClasses, shorthands } from \"@griffel/core\"\n\nimport { SLOT_ATTR } from \"../../renderer/contract\"\nimport { makeVoltStyles } from \"../../styles/make-styles\"\nimport * as tokens from \"../../tokens\"\n\nexport type ListDensity = \"compact\" | \"relaxed\"\nexport type ListItemStatus = \"default\" | \"error\" | \"warning\" | \"success\"\n\n// ── Icons ──────────────────────────────────────────────────────────────────\n\nconst GripVerticalIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n {...props}\n >\n <circle cx=\"9\" cy=\"5\" r=\"1.5\" />\n <circle cx=\"15\" cy=\"5\" r=\"1.5\" />\n <circle cx=\"9\" cy=\"12\" r=\"1.5\" />\n <circle cx=\"15\" cy=\"12\" r=\"1.5\" />\n <circle cx=\"9\" cy=\"19\" r=\"1.5\" />\n <circle cx=\"15\" cy=\"19\" r=\"1.5\" />\n </svg>\n)\n\nconst WarningIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n {...props}\n >\n <path d=\"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z\" />\n <line x1=\"12\" y1=\"9\" x2=\"12\" y2=\"13\" />\n <line x1=\"12\" y1=\"17\" x2=\"12.01\" y2=\"17\" />\n </svg>\n)\n\nconst CheckCircleIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n {...props}\n >\n <path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\" />\n <polyline points=\"22 4 12 14.01 9 11.01\" />\n </svg>\n)\n\nconst ChevronRightIcon = (props: React.SVGProps<SVGSVGElement>) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n {...props}\n >\n <polyline points=\"9 18 15 12 9 6\" />\n </svg>\n)\n\n// ── Styles ─────────────────────────────────────────────────────────────────\n\nconst useStyles = makeVoltStyles({\n list: {\n display: \"flex\",\n width: \"100%\",\n listStyleType: \"none\",\n flexDirection: \"column\",\n ...shorthands.gap(0),\n ...shorthands.padding(0),\n ...shorthands.margin(0),\n },\n\n // ListItem base\n item: {\n position: \"relative\",\n display: \"flex\",\n width: \"100%\",\n alignItems: \"center\",\n ...shorthands.borderRadius(tokens.radiusMd),\n color: tokens.grayA12,\n transitionProperty:\n \"color, background-color, border-color, text-decoration-color, fill, stroke\",\n transitionDuration: \"150ms\",\n transitionTimingFunction: \"cubic-bezier(0.4, 0, 0.2, 1)\",\n \"& > svg\": {\n flexShrink: 0,\n },\n },\n\n // Density variants\n itemCompact: {\n minHeight: \"2rem\",\n ...shorthands.gap(tokens.spacingElement2),\n ...shorthands.padding(tokens.spacingElement1, tokens.spacingElement2),\n fontSize: tokens.textSm,\n \"& > svg\": {\n width: \"1rem\",\n height: \"1rem\",\n },\n },\n itemRelaxed: {\n minHeight: \"2.5rem\",\n // v1 gap-3 is 0.75rem.\n ...shorthands.gap(tokens.spacingElement3),\n ...shorthands.padding(tokens.spacingElement2, tokens.spacingElement3),\n fontSize: tokens.textSm,\n \"& > svg\": {\n width: \"1rem\",\n height: \"1rem\",\n },\n },\n\n // Status variants\n statusDefault: {},\n statusError: {\n backgroundColor: tokens.semErrorSoft,\n color: tokens.semErrorDefault,\n },\n statusWarning: {\n backgroundColor: tokens.semWarningSoft,\n color: tokens.semWarningDefault,\n },\n statusSuccess: {\n backgroundColor: tokens.semSuccessSoft,\n color: tokens.semSuccessDefault,\n },\n\n // Striped variant (only neutral rows)\n stripedEven: {\n \"&:nth-child(even)\": {\n backgroundColor: tokens.grayA2,\n },\n },\n\n // Interactive hovers\n interactiveDefault: {\n \":hover\": {\n backgroundColor: tokens.semAccentSoft,\n },\n },\n interactiveError: {\n \":hover\": {\n backgroundColor: tokens.semErrorSoftHover,\n },\n },\n interactiveWarning: {\n \":hover\": {\n backgroundColor: tokens.semWarningSoftHover,\n },\n },\n interactiveSuccess: {\n \":hover\": {\n backgroundColor: tokens.semSuccessSoftHover,\n },\n },\n\n // Sortable modifiers\n sortableItem: {\n cursor: \"grab\",\n touchAction: \"none\",\n \":active\": {\n cursor: \"grabbing\",\n },\n },\n itemDragging: {\n opacity: 0.4,\n },\n\n // Index gutter\n indexBase: {\n display: \"flex\",\n flexShrink: 0,\n userSelect: \"none\",\n alignItems: \"center\",\n justifyContent: \"center\",\n alignSelf: \"stretch\",\n borderTopLeftRadius: tokens.radiusMd,\n borderBottomLeftRadius: tokens.radiusMd,\n backgroundColor: tokens.grayA2,\n textAlign: \"center\",\n color: tokens.grayA11,\n fontVariantNumeric: \"tabular-nums\",\n },\n indexCompact: {\n marginTop: `-${tokens.spacingElement1}`,\n marginBottom: `-${tokens.spacingElement1}`,\n marginLeft: `-${tokens.spacingElement2}`,\n minWidth: \"1.5rem\",\n paddingLeft: \"0.375rem\",\n paddingRight: \"0.375rem\",\n },\n indexRelaxed: {\n marginTop: `-${tokens.spacingElement2}`,\n marginBottom: `-${tokens.spacingElement2}`,\n marginLeft: \"-0.75rem\",\n minWidth: \"1.75rem\",\n paddingLeft: tokens.spacingElement2,\n paddingRight: tokens.spacingElement2,\n },\n\n // Content\n content: {\n display: \"flex\",\n minWidth: 0,\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement2),\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n \"& > svg\": {\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n },\n },\n\n // Actions\n actions: {\n position: \"relative\",\n zIndex: 10,\n display: \"flex\",\n flexShrink: 0,\n alignItems: \"center\",\n ...shorthands.gap(tokens.spacingElement1),\n },\n\n // Text\n text: {\n display: \"flex\",\n minWidth: 0,\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n flexDirection: \"column\",\n ...shorthands.gap(\"0.125rem\"),\n },\n\n // Description\n description: {\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n fontSize: tokens.textXs,\n color: tokens.grayA11,\n },\n\n // Drag handle button\n dragHandle: {\n position: \"relative\",\n zIndex: 10,\n display: \"inline-flex\",\n flexShrink: 0,\n cursor: \"grab\",\n alignItems: \"center\",\n color: tokens.grayA8,\n backgroundColor: \"transparent\",\n ...shorthands.border(\"0\"),\n ...shorthands.padding(0),\n \":hover\": {\n color: tokens.grayA11,\n },\n \":active\": {\n cursor: \"grabbing\",\n },\n \":focus-visible\": {\n outlineWidth: \"2px\",\n outlineStyle: \"solid\",\n outlineOffset: \"2px\",\n outlineColor: tokens.accentA8,\n },\n \"& svg\": {\n width: \"1rem\",\n height: \"1rem\",\n },\n },\n\n // Drop indicator line\n dropIndicator: {\n pointerEvents: \"none\",\n position: \"absolute\",\n left: 0,\n right: 0,\n zIndex: 10,\n height: \"0.125rem\",\n transformOrigin: \"center\",\n ...shorthands.borderRadius(\"9999px\"),\n backgroundColor: tokens.semAccentSolid,\n animationName: {\n from: {\n transform: \"scaleX(0)\",\n opacity: 0,\n },\n to: {\n transform: \"scaleX(1)\",\n opacity: 1,\n },\n },\n animationDuration: \"160ms\",\n animationTimingFunction: \"ease-out\",\n },\n dropIndicatorTop: {\n top: \"-0.125rem\",\n },\n dropIndicatorBottom: {\n bottom: \"-0.125rem\",\n },\n\n // DragOverlay ghost\n dragOverlayItem: {\n transformOrigin: \"center\",\n transform: \"scale(0.95)\",\n cursor: \"grabbing\",\n ...shorthands.border(\"1px\", \"solid\", tokens.grayA5),\n backgroundColor: \"rgb(255 255 255 / 55%)\",\n boxShadow: \"0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a\",\n backdropFilter: \"blur(12px)\",\n animationName: {\n from: { transform: \"scale(1)\" },\n to: { transform: \"scale(0.95)\" },\n },\n animationDuration: \"160ms\",\n animationTimingFunction: \"ease-out\",\n \":hover\": {\n backgroundColor: \"rgb(255 255 255 / 55%)\",\n },\n },\n\n // Group\n group: {\n listStyleType: \"none\",\n },\n groupTrigger: {\n cursor: \"pointer\",\n textAlign: \"left\",\n fontWeight: tokens.fontWeightMedium,\n backgroundColor: \"transparent\",\n ...shorthands.border(\"0\"),\n },\n groupChevron: {\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n color: tokens.grayA10,\n transitionProperty: \"transform\",\n transitionDuration: \"150ms\",\n transitionTimingFunction: \"cubic-bezier(0.4, 0, 0.2, 1)\",\n },\n groupChevronOpen: {\n transform: \"rotate(90deg)\",\n },\n groupTriggerText: {\n minWidth: 0,\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: \"0%\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n },\n standaloneGroupLabel: {\n marginTop: tokens.spacingGroup2,\n display: \"block\",\n listStyleType: \"none\",\n ...shorthands.padding(\"0.375rem\", tokens.spacingElement3),\n fontSize: tokens.textSm,\n fontWeight: tokens.fontWeightSemibold,\n color: tokens.grayA12,\n \"&:first-child\": {\n marginTop: 0,\n },\n },\n groupContentList: {\n paddingLeft: tokens.spacingGroup2,\n },\n collapseWrapper: {\n display: \"grid\",\n gridTemplateRows: \"0fr\",\n transitionProperty: \"grid-template-rows\",\n transitionDuration: \"200ms\",\n transitionTimingFunction: \"cubic-bezier(0, 0, 0.2, 1)\",\n \"&[data-state='open']\": {\n gridTemplateRows: \"1fr\",\n },\n },\n collapseWrapperOpen: {\n gridTemplateRows: \"1fr\",\n },\n collapseInner: {\n minHeight: 0,\n overflow: \"hidden\",\n },\n\n // Status icons\n statusIconError: {\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n color: tokens.semErrorLight,\n },\n statusIconWarning: {\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n color: tokens.semWarningLight,\n },\n statusIconSuccess: {\n width: \"1rem\",\n height: \"1rem\",\n flexShrink: 0,\n color: tokens.semSuccessLight,\n },\n})\n\n// ── Status Icons Helper ────────────────────────────────────────────────────\n\nconst StatusIcon = ({ status }: { status: ListItemStatus }) => {\n const styles = useStyles()\n if (status === \"error\") {\n return <WarningIcon className={styles.statusIconError} />\n }\n if (status === \"warning\") {\n return <WarningIcon className={styles.statusIconWarning} />\n }\n if (status === \"success\") {\n return <CheckCircleIcon className={styles.statusIconSuccess} />\n }\n return null\n}\n\n// ── Context ────────────────────────────────────────────────────────────────\n\ntype ListContextValue = {\n density: ListDensity\n striped: boolean\n showIndex: boolean\n sortable: boolean\n}\n\nconst ListContext = React.createContext<ListContextValue>({\n density: \"relaxed\",\n striped: false,\n showIndex: false,\n sortable: false,\n})\n\nconst useListContext = () => React.useContext(ListContext)\n\n// ── List ───────────────────────────────────────────────────────────────────\n\nexport type ListProps = Omit<React.ComponentProps<\"ol\">, \"onReorder\"> & {\n /** Row density. Default: \"relaxed\" */\n density?: ListDensity\n /** Alternating background on neutral rows. Default: false */\n striped?: boolean\n /** Show a 1-based position number on each item. Default: false */\n showIndex?: boolean\n /** Enable drag-and-drop reordering. Each `ListItem` must have a `value`. */\n sortable?: boolean\n /** Called with the new order of `ListItem` values after a drag. */\n onReorder?: (values: string[]) => void\n}\n\nexport const List = React.forwardRef<HTMLOListElement, ListProps>(function List(\n {\n className,\n density = \"relaxed\",\n striped = false,\n showIndex = false,\n sortable = false,\n onReorder,\n children,\n ...props\n },\n ref\n) {\n const styles = useStyles()\n\n const items = React.Children.toArray(children).filter(\n React.isValidElement\n ) as React.ReactElement<ListItemProps>[]\n\n const indexedItems = items.map((child, index) =>\n child.type === ListItem ? React.cloneElement(child, { index }) : child\n )\n\n const sortableItems = items.filter((child) => child.type === ListItem)\n const values = sortableItems\n .map((child) => child.props.value)\n .filter((v): v is string => typeof v === \"string\")\n\n const [activeId, setActiveId] = React.useState<string | null>(null)\n const activeIndex = activeId ? values.indexOf(activeId) : -1\n const activeItem =\n activeId != null\n ? sortableItems.find((child) => child.props.value === activeId)\n : undefined\n\n const sensors = useSensors(\n useSensor(PointerSensor, { activationConstraint: { distance: 3 } }),\n useSensor(KeyboardSensor)\n )\n\n const handleDragStart = (event: DragStartEvent) => {\n setActiveId(event.active.id as string)\n }\n\n const handleDragEnd = (event: DragEndEvent) => {\n setActiveId(null)\n const { active, over } = event\n if (!over || active.id === over.id) return\n\n const oldIndex = values.indexOf(active.id as string)\n const newIndex = values.indexOf(over.id as string)\n if (oldIndex === -1 || newIndex === -1) return\n\n onReorder?.(arrayMove(values, oldIndex, newIndex))\n }\n\n const listElement = (\n <ol\n ref={ref}\n data-slot=\"list\"\n {...{ [SLOT_ATTR]: \"list\" }}\n data-density={density}\n className={mergeClasses(styles.list, className)}\n {...props}\n >\n {indexedItems}\n </ol>\n )\n\n return (\n <ListContext.Provider value={{ density, striped, showIndex, sortable }}>\n {sortable ? (\n <DndContext\n sensors={sensors}\n collisionDetection={closestCenter}\n onDragStart={handleDragStart}\n onDragEnd={handleDragEnd}\n onDragCancel={() => setActiveId(null)}\n >\n <SortableContext\n items={values}\n strategy={verticalListSortingStrategy}\n >\n {listElement}\n </SortableContext>\n <DragOverlay>\n {activeItem ? (\n <ListItemBody\n value={activeItem.props.value}\n status={activeItem.props.status}\n index={activeIndex}\n className={styles.dragOverlayItem}\n >\n {activeItem.props.children}\n </ListItemBody>\n ) : null}\n </DragOverlay>\n </DndContext>\n ) : (\n listElement\n )}\n </ListContext.Provider>\n )\n})\n\n// ── ListItemActions ────────────────────────────────────────────────────────\n\nexport type ListItemActionsProps = React.ComponentProps<\"span\">\n\nexport const ListItemActions = React.forwardRef<\n HTMLSpanElement,\n ListItemActionsProps\n>(function ListItemActions({ className, children, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <span\n ref={ref}\n data-slot=\"list-item-actions\"\n {...{ [SLOT_ATTR]: \"list-item-actions\" }}\n onPointerDown={(e) => e.stopPropagation()}\n className={mergeClasses(styles.actions, className)}\n {...props}\n >\n {children}\n </span>\n )\n})\n\n// ── ListItemText ───────────────────────────────────────────────────────────\n\nexport type ListItemTextProps = React.ComponentProps<\"span\">\n\nexport const ListItemText = React.forwardRef<\n HTMLSpanElement,\n ListItemTextProps\n>(function ListItemText({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <span\n ref={ref}\n data-slot=\"list-item-text\"\n {...{ [SLOT_ATTR]: \"list-item-text\" }}\n className={mergeClasses(styles.text, className)}\n {...props}\n />\n )\n})\n\n// ── ListItemDescription ────────────────────────────────────────────────────\n\nexport type ListItemDescriptionProps = React.ComponentProps<\"span\">\n\nexport const ListItemDescription = React.forwardRef<\n HTMLSpanElement,\n ListItemDescriptionProps\n>(function ListItemDescription({ className, ...props }, ref) {\n const styles = useStyles()\n\n return (\n <span\n ref={ref}\n data-slot=\"list-item-description\"\n {...{ [SLOT_ATTR]: \"list-item-description\" }}\n className={mergeClasses(styles.description, className)}\n {...props}\n />\n )\n})\n\n// ── ListItemBody ───────────────────────────────────────────────────────────\n\nexport type ListItemProps = React.ComponentProps<\"li\"> & {\n /** Stable id used for drag-and-drop. Required when the `List` is `sortable`. */\n value?: string\n /** System status. Tints the row and shows a trailing status icon. */\n status?: ListItemStatus\n /** Injected by `List` — the 0-based position. */\n index?: number\n}\n\ntype ListItemBodyProps = ListItemProps & {\n setNodeRef?: (node: HTMLElement | null) => void\n setActivatorNodeRef?: (node: HTMLElement | null) => void\n style?: React.CSSProperties\n isDragging?: boolean\n /** Insertion indicator edge while another item is dragged over this one. */\n dropEdge?: \"top\" | \"bottom\" | null\n /** dnd-kit listeners — pointer activation goes on the row, keyboard on the handle. */\n listeners?: DraggableSyntheticListeners\n /** dnd-kit a11y attributes for the keyboard drag handle. */\n attributes?: DraggableAttributes\n}\n\nconst ListItemBody = React.forwardRef<HTMLLIElement, ListItemBodyProps>(\n function ListItemBody(\n {\n className,\n value,\n status = \"default\",\n index,\n children,\n setNodeRef,\n setActivatorNodeRef,\n style,\n isDragging,\n dropEdge,\n listeners,\n attributes,\n ...props\n },\n forwardedRef\n ) {\n const styles = useStyles()\n const { density, striped, showIndex, sortable } = useListContext()\n const interactive = sortable && !isDragging\n\n const childArray = React.Children.toArray(children)\n const actionsSlot = childArray.find(\n (child): child is React.ReactElement =>\n React.isValidElement(child) && child.type === ListItemActions\n )\n const contentChildren = childArray.filter((child) => child !== actionsSlot)\n\n // Combined ref for dnd-kit setNodeRef + caller's forwardedRef\n const handleRef = React.useCallback(\n (node: HTMLLIElement | null) => {\n setNodeRef?.(node)\n if (typeof forwardedRef === \"function\") {\n forwardedRef(node)\n } else if (forwardedRef) {\n ;(\n forwardedRef as React.MutableRefObject<HTMLLIElement | null>\n ).current = node\n }\n },\n [setNodeRef, forwardedRef]\n )\n\n const statusStyle =\n status === \"error\"\n ? styles.statusError\n : status === \"warning\"\n ? styles.statusWarning\n : status === \"success\"\n ? styles.statusSuccess\n : styles.statusDefault\n\n const interactiveStyle = interactive\n ? status === \"error\"\n ? styles.interactiveError\n : status === \"warning\"\n ? styles.interactiveWarning\n : status === \"success\"\n ? styles.interactiveSuccess\n : styles.interactiveDefault\n : undefined\n\n const densityStyle =\n density === \"compact\" ? styles.itemCompact : styles.itemRelaxed\n\n return (\n <li\n ref={handleRef}\n style={style}\n data-slot=\"list-item\"\n {...{ [SLOT_ATTR]: \"list-item\" }}\n data-status={status}\n data-value={value}\n onPointerDown={\n sortable\n ? (listeners?.onPointerDown as\n | React.PointerEventHandler<HTMLLIElement>\n | undefined)\n : undefined\n }\n className={mergeClasses(\n styles.item,\n densityStyle,\n statusStyle,\n striped && status === \"default\" && styles.stripedEven,\n interactiveStyle,\n sortable && styles.sortableItem,\n isDragging && styles.itemDragging,\n className\n )}\n {...props}\n >\n {dropEdge && (\n <span\n data-slot=\"list-drop-indicator\"\n {...{ [SLOT_ATTR]: \"list-drop-indicator\" }}\n aria-hidden=\"true\"\n className={mergeClasses(\n styles.dropIndicator,\n dropEdge === \"top\"\n ? styles.dropIndicatorTop\n : styles.dropIndicatorBottom\n )}\n />\n )}\n\n {showIndex && (\n <span\n data-slot=\"list-item-index\"\n {...{ [SLOT_ATTR]: \"list-item-index\" }}\n aria-hidden=\"true\"\n className={mergeClasses(\n styles.indexBase,\n density === \"compact\" ? styles.indexCompact : styles.indexRelaxed\n )}\n >\n {(index ?? 0) + 1}\n </span>\n )}\n\n <span\n data-slot=\"list-item-content\"\n {...{ [SLOT_ATTR]: \"list-item-content\" }}\n className={styles.content}\n >\n {contentChildren}\n </span>\n\n <StatusIcon status={status} />\n\n {actionsSlot}\n\n {sortable && (\n <button\n ref={setActivatorNodeRef}\n type=\"button\"\n aria-label={`Drag to reorder ${value ?? \"item\"}`}\n className={styles.dragHandle}\n {...attributes}\n onKeyDown={\n listeners?.onKeyDown as\n | React.KeyboardEventHandler<HTMLButtonElement>\n | undefined\n }\n >\n <GripVerticalIcon />\n </button>\n )}\n </li>\n )\n }\n)\n\n// ── SortableListItem ───────────────────────────────────────────────────────\n\nconst SortableListItem = React.forwardRef<HTMLLIElement, ListItemProps>(\n function SortableListItem(props, ref) {\n const fallbackId = React.useId()\n\n if (process.env.NODE_ENV !== \"production\" && props.value === undefined) {\n console.warn(\n \"List: a sortable `ListItem` is missing a `value`. \" +\n \"Give each sortable item a unique `value` so it can be reordered — \" +\n \"items without one are excluded from `onReorder`.\"\n )\n }\n\n const {\n attributes,\n listeners,\n setNodeRef,\n setActivatorNodeRef,\n isDragging,\n isOver,\n activeIndex,\n overIndex,\n } = useSortable({\n id: props.value ?? fallbackId,\n animateLayoutChanges: () => false,\n })\n\n const dropEdge: \"top\" | \"bottom\" | null =\n isOver && !isDragging && activeIndex !== -1\n ? activeIndex < overIndex\n ? \"bottom\"\n : \"top\"\n : null\n\n return (\n <ListItemBody\n ref={ref}\n {...props}\n setNodeRef={setNodeRef}\n setActivatorNodeRef={setActivatorNodeRef}\n isDragging={isDragging}\n dropEdge={dropEdge}\n listeners={listeners}\n attributes={attributes}\n />\n )\n }\n)\n\n// ── ListItem ───────────────────────────────────────────────────────────────\n\nexport const ListItem = React.forwardRef<HTMLLIElement, ListItemProps>(\n function ListItem(props, ref) {\n const { sortable } = useListContext()\n\n if (sortable) {\n return <SortableListItem ref={ref} {...props} />\n }\n\n return <ListItemBody ref={ref} {...props} />\n }\n)\n\n// ── ListGroup ──────────────────────────────────────────────────────────────\n\ntype ListGroupContextValue = {\n open: boolean\n setOpen: (open: boolean) => void\n contentId: string\n}\n\nconst ListGroupContext = React.createContext<ListGroupContextValue | null>(null)\n\nexport type ListGroupProps = Omit<React.ComponentProps<\"li\">, \"onChange\"> & {\n /** Controlled open state of the collapsible group. */\n open?: boolean\n /** Initial open state when uncontrolled. Default: false */\n defaultOpen?: boolean\n /** Called when the group is expanded or collapsed. */\n onOpenChange?: (open: boolean) => void\n}\n\nexport const ListGroup = React.forwardRef<HTMLLIElement, ListGroupProps>(\n function ListGroup(\n {\n open: openProp,\n defaultOpen = false,\n onOpenChange,\n className,\n children,\n ...props\n },\n ref\n ) {\n const styles = useStyles()\n const [uncontrolledOpen, setUncontrolledOpen] = React.useState(defaultOpen)\n const open = openProp ?? uncontrolledOpen\n const contentId = React.useId()\n\n const setOpen = (next: boolean) => {\n if (openProp === undefined) setUncontrolledOpen(next)\n onOpenChange?.(next)\n }\n\n return (\n <ListGroupContext.Provider value={{ open, setOpen, contentId }}>\n <li\n ref={ref}\n data-slot=\"list-group\"\n {...{ [SLOT_ATTR]: \"list-group\" }}\n data-state={open ? \"open\" : \"closed\"}\n className={mergeClasses(styles.group, className)}\n {...props}\n >\n {children}\n </li>\n </ListGroupContext.Provider>\n )\n }\n)\n\n// ── ListGroupLabel ─────────────────────────────────────────────────────────\n\nexport type ListGroupLabelProps = React.ComponentProps<\"button\"> & {\n asListItem?: boolean\n}\n\nexport const ListGroupLabel = React.forwardRef<\n HTMLElement,\n ListGroupLabelProps\n>(function ListGroupLabel({ className, children, ...props }, ref) {\n const styles = useStyles()\n const group = React.useContext(ListGroupContext)\n const { density } = useListContext()\n\n if (group) {\n const densityStyle =\n density === \"compact\" ? styles.itemCompact : styles.itemRelaxed\n\n return (\n <button\n ref={ref as React.Ref<HTMLButtonElement>}\n type=\"button\"\n data-slot=\"list-group-trigger\"\n {...{ [SLOT_ATTR]: \"list-group-trigger\" }}\n aria-expanded={group.open}\n aria-controls={group.contentId}\n onClick={() => group.setOpen(!group.open)}\n className={mergeClasses(\n styles.item,\n densityStyle,\n styles.interactiveDefault,\n styles.groupTrigger,\n className\n )}\n {...props}\n >\n <ChevronRightIcon\n className={mergeClasses(\n styles.groupChevron,\n group.open && styles.groupChevronOpen\n )}\n />\n <span className={styles.groupTriggerText}>{children}</span>\n </button>\n )\n }\n\n return (\n <li\n ref={ref as React.Ref<HTMLLIElement>}\n data-slot=\"list-group-label\"\n {...{ [SLOT_ATTR]: \"list-group-label\" }}\n className={mergeClasses(styles.standaloneGroupLabel, className)}\n >\n {children}\n </li>\n )\n})\n\n// ── ListGroupContent ───────────────────────────────────────────────────────\n\nexport type ListGroupContentProps = React.ComponentProps<\"ul\">\n\nexport const ListGroupContent = React.forwardRef<\n HTMLUListElement,\n ListGroupContentProps\n>(function ListGroupContent({ className, children, ...props }, ref) {\n const styles = useStyles()\n const group = React.useContext(ListGroupContext)\n\n const items = (\n <ul\n ref={ref}\n data-slot=\"list-group-content\"\n {...{ [SLOT_ATTR]: \"list-group-content\" }}\n className={mergeClasses(styles.list, styles.groupContentList, className)}\n {...props}\n >\n {children}\n </ul>\n )\n\n if (!group) return items\n\n return (\n <div\n id={group.contentId}\n data-state={group.open ? \"open\" : \"closed\"}\n className={mergeClasses(\n styles.collapseWrapper,\n group.open && styles.collapseWrapperOpen\n )}\n >\n <div className={styles.collapseInner}>{items}</div>\n </div>\n )\n})\n"],"names":["GripVerticalIcon","props","jsxs","jsx","WarningIcon","CheckCircleIcon","ChevronRightIcon","useStyles","makeVoltStyles","shorthands","tokens.radiusMd","tokens.grayA12","tokens.spacingElement2","tokens.spacingElement1","tokens.textSm","tokens.spacingElement3","tokens.semErrorSoft","tokens.semErrorDefault","tokens.semWarningSoft","tokens.semWarningDefault","tokens.semSuccessSoft","tokens.semSuccessDefault","tokens.grayA2","tokens.semAccentSoft","tokens.semErrorSoftHover","tokens.semWarningSoftHover","tokens.semSuccessSoftHover","tokens.grayA11","tokens.textXs","tokens.grayA8","tokens.accentA8","tokens.semAccentSolid","tokens.grayA5","tokens.fontWeightMedium","tokens.grayA10","tokens.spacingGroup2","tokens.fontWeightSemibold","tokens.semErrorLight","tokens.semWarningLight","tokens.semSuccessLight","StatusIcon","status","styles","ListContext","React","useListContext","List","className","density","striped","showIndex","sortable","onReorder","children","ref","items","indexedItems","child","index","ListItem","sortableItems","values","v","activeId","setActiveId","activeIndex","activeItem","sensors","useSensors","useSensor","PointerSensor","KeyboardSensor","handleDragStart","event","handleDragEnd","active","over","oldIndex","newIndex","arrayMove","listElement","SLOT_ATTR","mergeClasses","DndContext","closestCenter","SortableContext","verticalListSortingStrategy","DragOverlay","ListItemBody","ListItemActions","e","ListItemText","ListItemDescription","value","setNodeRef","setActivatorNodeRef","style","isDragging","dropEdge","listeners","attributes","forwardedRef","interactive","childArray","actionsSlot","contentChildren","handleRef","node","statusStyle","interactiveStyle","densityStyle","SortableListItem","fallbackId","isOver","overIndex","useSortable","ListGroupContext","ListGroup","openProp","defaultOpen","onOpenChange","uncontrolledOpen","setUncontrolledOpen","open","contentId","setOpen","next","ListGroupLabel","group","ListGroupContent"],"mappings":";;;;;;;;;AA+BA,MAAMA,KAAmB,CAACC,MACxB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,OAAM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A,SACE,gBAAAlD;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAmD;AAAA,MACA,aAAU;AAAA,MACJ,CAAC2B,CAAS,GAAG;AAAA,MACnB,WAAWC,EAAaxC,EAAO,sBAAsBK,CAAS;AAAA,MAE7D,UAAAM;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC,GAMY4E,KAAmBrF,EAAM,WAGpC,SAA0B,EAAE,WAAAG,GAAW,UAAAM,GAAU,GAAGpD,EAAA,GAASqD,GAAK;AAClE,QAAMZ,IAASnC,EAAA,GACTyH,IAAQpF,EAAM,WAAWwE,CAAgB,GAEzC7D,IACJ,gBAAApD;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAmD;AAAA,MACA,aAAU;AAAA,MACJ,CAAC2B,CAAS,GAAG;AAAA,MACnB,WAAWC,EAAaxC,EAAO,MAAMA,EAAO,kBAAkBK,CAAS;AAAA,MACtE,GAAG9C;AAAA,MAEH,UAAAoD;AAAA,IAAA;AAAA,EAAA;AAIL,SAAK2E,IAGH,gBAAA7H;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAI6H,EAAM;AAAA,MACV,cAAYA,EAAM,OAAO,SAAS;AAAA,MAClC,WAAW9C;AAAA,QACTxC,EAAO;AAAA,QACPsF,EAAM,QAAQtF,EAAO;AAAA,MAAA;AAAA,MAGvB,UAAA,gBAAAvC,EAAC,OAAA,EAAI,WAAWuC,EAAO,eAAgB,UAAAa,EAAA,CAAM;AAAA,IAAA;AAAA,EAAA,IAX9BA;AAcrB,CAAC;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
3
|
+
/** The trailing control glyph an {@link OptionCard} shows for its selected state. */
|
|
4
|
+
export type OptionCardControlType = "radio" | "checkbox" | "switch" | "none";
|
|
5
|
+
export type OptionCardLayout = "grid" | "row" | "column";
|
|
6
|
+
export type OptionCardGroupProps = React.ComponentProps<typeof ToggleGroupPrimitive.Root> & {
|
|
7
|
+
layout?: OptionCardLayout;
|
|
8
|
+
};
|
|
9
|
+
export declare const OptionCardGroup: React.ForwardRefExoticComponent<(Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement> & {
|
|
10
|
+
layout?: OptionCardLayout;
|
|
11
|
+
}, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement> & {
|
|
12
|
+
layout?: OptionCardLayout;
|
|
13
|
+
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export type OptionCardControlProps = React.ComponentProps<"span"> & {
|
|
15
|
+
type?: OptionCardControlType;
|
|
16
|
+
};
|
|
17
|
+
export declare const OptionCardControl: React.ForwardRefExoticComponent<Omit<OptionCardControlProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
18
|
+
export type OptionCardMediaVariant = "icon" | "illustration";
|
|
19
|
+
export type OptionCardMediaProps = React.ComponentProps<"span"> & {
|
|
20
|
+
variant?: OptionCardMediaVariant;
|
|
21
|
+
};
|
|
22
|
+
export declare const OptionCardMedia: React.ForwardRefExoticComponent<Omit<OptionCardMediaProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
23
|
+
export type OptionCardTitleProps = React.ComponentProps<"span">;
|
|
24
|
+
export declare const OptionCardTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
25
|
+
export type OptionCardDescriptionProps = React.ComponentProps<"span">;
|
|
26
|
+
export declare const OptionCardDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
27
|
+
export type OptionCardContentProps = React.ComponentProps<"span">;
|
|
28
|
+
export declare const OptionCardContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
29
|
+
export type OptionCardProps = Omit<React.ComponentProps<"button">, "onChange" | "title"> & {
|
|
30
|
+
/** Value of this option. Required inside an {@link OptionCardGroup}. */
|
|
31
|
+
value?: string;
|
|
32
|
+
/** Controlled selected state for a standalone (group-less) card. */
|
|
33
|
+
pressed?: boolean;
|
|
34
|
+
/** Uncontrolled default selected state for a standalone card. */
|
|
35
|
+
defaultPressed?: boolean;
|
|
36
|
+
/** Fired when a standalone card is toggled. */
|
|
37
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
38
|
+
};
|
|
39
|
+
export declare const OptionCard: React.ForwardRefExoticComponent<Omit<OptionCardProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import { jsx as t, jsxs as q, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { Root as J } from "../../node_modules/@radix-ui/react-toggle/dist/index.js";
|
|
4
|
+
import { Item as K, Root as Q } from "../../node_modules/@radix-ui/react-toggle-group/dist/index.js";
|
|
5
|
+
import { shorthands as s } from "../../node_modules/@griffel/core/src/index.js";
|
|
6
|
+
import { SLOT_ATTR as r } from "../../renderer/contract.js";
|
|
7
|
+
import { makeVoltStyles as tt } from "../../styles/make-styles.js";
|
|
8
|
+
import { accentA7 as I, semAccentSolid as f, accentA8 as G, grayContrast as ot, grayA3 as rt, accentContrast as et, semAccentSoft as C, grayA11 as nt, fontWeightNormal as D, textXs as it, fontWeightSemibold as at, spacingElement1 as P, spacingElement2 as st, semAccentLight as ct, grayA12 as dt, textSm as lt, radiusLg as W, spacingElement3 as E, spacingGroup1 as pt } from "../../tokens/index.js";
|
|
9
|
+
import { mergeClasses as h } from "../../node_modules/@griffel/core/src/mergeClasses.js";
|
|
10
|
+
const ut = "grid", ht = "OptionCard: a card inside an OptionCardGroup is missing a `value`. Give each card a unique `value` so it can be selected and controlled.", F = n.createContext(null), k = n.createContext(
|
|
11
|
+
null
|
|
12
|
+
), p = tt({
|
|
13
|
+
// Group layouts
|
|
14
|
+
group: {
|
|
15
|
+
// The GROUP only lays out. v1's group base class is literally "" -- every border, padding and
|
|
16
|
+
// interaction style below used to live here, copied from v1's CARD class onto the wrong element,
|
|
17
|
+
// while `styles.card` and `styles[layout]` were read but never declared. See make-styles.ts for
|
|
18
|
+
// why tsc accepted that for as long as it did.
|
|
19
|
+
display: "grid",
|
|
20
|
+
...s.gap(pt)
|
|
21
|
+
},
|
|
22
|
+
// v1: grid-cols-[repeat(auto-fit,minmax(200px,1fr))]
|
|
23
|
+
grid: {
|
|
24
|
+
gridTemplateColumns: "repeat(auto-fit, minmax(200px, 1fr))"
|
|
25
|
+
},
|
|
26
|
+
// v1: grid-flow-col auto-cols-fr -- equal-width columns in one non-wrapping row, so options read
|
|
27
|
+
// as equal-weight peers regardless of their content.
|
|
28
|
+
row: {
|
|
29
|
+
gridAutoFlow: "column",
|
|
30
|
+
gridAutoColumns: "minmax(0, 1fr)"
|
|
31
|
+
},
|
|
32
|
+
// v1: plain `grid` with no template. One column, stacked.
|
|
33
|
+
column: {},
|
|
34
|
+
card: {
|
|
35
|
+
position: "relative",
|
|
36
|
+
display: "flex",
|
|
37
|
+
alignItems: "center",
|
|
38
|
+
// v1 gap-3 = 0.75rem. No token: the semantic scale has no 0.75rem step.
|
|
39
|
+
...s.gap(E),
|
|
40
|
+
overflow: "hidden",
|
|
41
|
+
...s.borderRadius(W),
|
|
42
|
+
...s.border("1px", "solid", "currentColor"),
|
|
43
|
+
...s.paddingInline(E),
|
|
44
|
+
...s.paddingBlock("0.375rem"),
|
|
45
|
+
textAlign: "left",
|
|
46
|
+
fontSize: lt,
|
|
47
|
+
fontWeight: D,
|
|
48
|
+
color: dt,
|
|
49
|
+
backgroundColor: "transparent",
|
|
50
|
+
transitionProperty: "color, background-color, border-color, box-shadow",
|
|
51
|
+
transitionDuration: "150ms",
|
|
52
|
+
transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
53
|
+
cursor: "pointer",
|
|
54
|
+
userSelect: "none",
|
|
55
|
+
height: "auto",
|
|
56
|
+
minWidth: "0",
|
|
57
|
+
":focus-visible": {
|
|
58
|
+
outlineWidth: "2px",
|
|
59
|
+
outlineStyle: "solid",
|
|
60
|
+
outlineOffset: "2px",
|
|
61
|
+
outlineColor: G
|
|
62
|
+
},
|
|
63
|
+
":disabled, &[data-disabled]": {
|
|
64
|
+
pointerEvents: "none",
|
|
65
|
+
opacity: 0.5
|
|
66
|
+
},
|
|
67
|
+
"&[data-state='on']": {
|
|
68
|
+
backgroundColor: C,
|
|
69
|
+
...s.borderColor(G)
|
|
70
|
+
},
|
|
71
|
+
[`&[data-state='on'] [${r}="option-card-radio-outer"]`]: {
|
|
72
|
+
...s.borderColor(f)
|
|
73
|
+
},
|
|
74
|
+
[`&[data-state='on'] [${r}="option-card-radio-dot"]`]: {
|
|
75
|
+
opacity: 1
|
|
76
|
+
},
|
|
77
|
+
[`&[data-state='on'] [${r}="option-card-checkbox-outer"]`]: {
|
|
78
|
+
...s.borderColor("transparent"),
|
|
79
|
+
backgroundColor: f
|
|
80
|
+
},
|
|
81
|
+
[`&[data-state='on'] [${r}="option-card-checkbox-check"]`]: {
|
|
82
|
+
opacity: 1
|
|
83
|
+
},
|
|
84
|
+
[`&[data-state='on'] [${r}="option-card-switch-track"]`]: {
|
|
85
|
+
backgroundColor: f
|
|
86
|
+
},
|
|
87
|
+
[`&[data-state='on'] [${r}="option-card-switch-thumb"]`]: {
|
|
88
|
+
transform: "translateX(calc(100% - 1px))"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
// Media
|
|
92
|
+
mediaRoot: {
|
|
93
|
+
flexShrink: 0
|
|
94
|
+
},
|
|
95
|
+
mediaIcon: {
|
|
96
|
+
display: "grid",
|
|
97
|
+
width: "2.5rem",
|
|
98
|
+
height: "2.5rem",
|
|
99
|
+
placeContent: "center",
|
|
100
|
+
alignSelf: "start",
|
|
101
|
+
...s.borderRadius(W),
|
|
102
|
+
backgroundColor: C,
|
|
103
|
+
color: ct,
|
|
104
|
+
"& svg": {
|
|
105
|
+
width: "1.25rem",
|
|
106
|
+
height: "1.25rem"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
mediaIllustration: {
|
|
110
|
+
position: "relative",
|
|
111
|
+
aspectRatio: "1 / 1",
|
|
112
|
+
alignSelf: "stretch",
|
|
113
|
+
overflow: "hidden",
|
|
114
|
+
"& svg": {
|
|
115
|
+
position: "absolute",
|
|
116
|
+
...s.inset(0),
|
|
117
|
+
width: "100%",
|
|
118
|
+
height: "100%"
|
|
119
|
+
},
|
|
120
|
+
"& img": {
|
|
121
|
+
position: "absolute",
|
|
122
|
+
...s.inset(0),
|
|
123
|
+
width: "100%",
|
|
124
|
+
height: "100%",
|
|
125
|
+
objectFit: "contain"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
// Content
|
|
129
|
+
content: {
|
|
130
|
+
display: "grid",
|
|
131
|
+
minWidth: 0,
|
|
132
|
+
flexGrow: 1,
|
|
133
|
+
flexShrink: 1,
|
|
134
|
+
flexBasis: "0%",
|
|
135
|
+
gridAutoRows: "min-content",
|
|
136
|
+
alignItems: "center",
|
|
137
|
+
columnGap: st,
|
|
138
|
+
paddingTop: P,
|
|
139
|
+
paddingBottom: P,
|
|
140
|
+
[`&:has([${r}="option-card-control"])`]: {
|
|
141
|
+
gridTemplateColumns: "1fr auto"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
// Title
|
|
145
|
+
title: {
|
|
146
|
+
gridColumnStart: 1,
|
|
147
|
+
gridRowStart: 1,
|
|
148
|
+
minWidth: 0,
|
|
149
|
+
alignSelf: "center",
|
|
150
|
+
overflow: "hidden",
|
|
151
|
+
textOverflow: "ellipsis",
|
|
152
|
+
whiteSpace: "nowrap",
|
|
153
|
+
fontWeight: at
|
|
154
|
+
},
|
|
155
|
+
// Description
|
|
156
|
+
description: {
|
|
157
|
+
gridColumnStart: 1,
|
|
158
|
+
gridRowStart: 2,
|
|
159
|
+
minWidth: 0,
|
|
160
|
+
overflowWrap: "break-word",
|
|
161
|
+
fontSize: it,
|
|
162
|
+
fontWeight: D,
|
|
163
|
+
color: nt
|
|
164
|
+
},
|
|
165
|
+
// Control
|
|
166
|
+
control: {
|
|
167
|
+
gridColumnStart: 2,
|
|
168
|
+
gridRowStart: 1,
|
|
169
|
+
alignSelf: "center",
|
|
170
|
+
justifySelf: "end"
|
|
171
|
+
},
|
|
172
|
+
// Radio glyph
|
|
173
|
+
radioOuter: {
|
|
174
|
+
display: "grid",
|
|
175
|
+
width: "1rem",
|
|
176
|
+
height: "1rem",
|
|
177
|
+
flexShrink: 0,
|
|
178
|
+
placeContent: "center",
|
|
179
|
+
borderRadius: "9999px",
|
|
180
|
+
...s.border("1px", "solid", I),
|
|
181
|
+
backgroundColor: C,
|
|
182
|
+
transitionProperty: "border-color",
|
|
183
|
+
transitionDuration: "150ms"
|
|
184
|
+
},
|
|
185
|
+
radioDot: {
|
|
186
|
+
width: "0.5rem",
|
|
187
|
+
height: "0.5rem",
|
|
188
|
+
borderRadius: "9999px",
|
|
189
|
+
backgroundColor: f,
|
|
190
|
+
opacity: 0,
|
|
191
|
+
transitionProperty: "opacity",
|
|
192
|
+
transitionDuration: "150ms"
|
|
193
|
+
},
|
|
194
|
+
// Checkbox glyph
|
|
195
|
+
checkboxOuter: {
|
|
196
|
+
display: "grid",
|
|
197
|
+
width: "1rem",
|
|
198
|
+
height: "1rem",
|
|
199
|
+
flexShrink: 0,
|
|
200
|
+
placeContent: "center",
|
|
201
|
+
...s.borderRadius("4px"),
|
|
202
|
+
...s.border("1px", "solid", I),
|
|
203
|
+
backgroundColor: C,
|
|
204
|
+
color: et,
|
|
205
|
+
transitionProperty: "background-color, border-color",
|
|
206
|
+
transitionDuration: "150ms"
|
|
207
|
+
},
|
|
208
|
+
checkboxCheck: {
|
|
209
|
+
width: "0.75rem",
|
|
210
|
+
height: "0.75rem",
|
|
211
|
+
opacity: 0,
|
|
212
|
+
transitionProperty: "opacity",
|
|
213
|
+
transitionDuration: "150ms"
|
|
214
|
+
},
|
|
215
|
+
// Switch glyph
|
|
216
|
+
switchTrack: {
|
|
217
|
+
display: "inline-flex",
|
|
218
|
+
height: "1.25rem",
|
|
219
|
+
width: "2.125rem",
|
|
220
|
+
flexShrink: 0,
|
|
221
|
+
alignItems: "center",
|
|
222
|
+
borderRadius: "9999px",
|
|
223
|
+
...s.border("1px", "solid", "transparent"),
|
|
224
|
+
backgroundColor: rt,
|
|
225
|
+
transitionProperty: "background-color",
|
|
226
|
+
transitionDuration: "150ms"
|
|
227
|
+
},
|
|
228
|
+
switchThumb: {
|
|
229
|
+
display: "block",
|
|
230
|
+
width: "1rem",
|
|
231
|
+
height: "1rem",
|
|
232
|
+
transform: "translateX(1px)",
|
|
233
|
+
borderRadius: "9999px",
|
|
234
|
+
backgroundColor: ot,
|
|
235
|
+
// v1 shadow-xs; no shadow tokens in this package.
|
|
236
|
+
boxShadow: "0 1px 2px 0 #0000000d",
|
|
237
|
+
transitionProperty: "transform",
|
|
238
|
+
transitionDuration: "150ms"
|
|
239
|
+
}
|
|
240
|
+
}), mt = (o) => /* @__PURE__ */ t(
|
|
241
|
+
"svg",
|
|
242
|
+
{
|
|
243
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
244
|
+
viewBox: "0 -960 960 960",
|
|
245
|
+
fill: "currentColor",
|
|
246
|
+
"aria-hidden": "true",
|
|
247
|
+
...o,
|
|
248
|
+
children: /* @__PURE__ */ t("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
|
|
249
|
+
}
|
|
250
|
+
), gt = () => {
|
|
251
|
+
const o = p();
|
|
252
|
+
return /* @__PURE__ */ t(
|
|
253
|
+
"span",
|
|
254
|
+
{
|
|
255
|
+
className: o.radioOuter,
|
|
256
|
+
[r]: "option-card-radio-outer",
|
|
257
|
+
children: /* @__PURE__ */ t(
|
|
258
|
+
"span",
|
|
259
|
+
{
|
|
260
|
+
className: o.radioDot,
|
|
261
|
+
[r]: "option-card-radio-dot"
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
}
|
|
265
|
+
);
|
|
266
|
+
}, ft = () => {
|
|
267
|
+
const o = p();
|
|
268
|
+
return /* @__PURE__ */ t(
|
|
269
|
+
"span",
|
|
270
|
+
{
|
|
271
|
+
className: o.checkboxOuter,
|
|
272
|
+
[r]: "option-card-checkbox-outer",
|
|
273
|
+
children: /* @__PURE__ */ t(
|
|
274
|
+
mt,
|
|
275
|
+
{
|
|
276
|
+
className: o.checkboxCheck,
|
|
277
|
+
[r]: "option-card-checkbox-check"
|
|
278
|
+
}
|
|
279
|
+
)
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
}, Ct = () => {
|
|
283
|
+
const o = p();
|
|
284
|
+
return /* @__PURE__ */ t(
|
|
285
|
+
"span",
|
|
286
|
+
{
|
|
287
|
+
className: o.switchTrack,
|
|
288
|
+
[r]: "option-card-switch-track",
|
|
289
|
+
children: /* @__PURE__ */ t(
|
|
290
|
+
"span",
|
|
291
|
+
{
|
|
292
|
+
className: o.switchThumb,
|
|
293
|
+
[r]: "option-card-switch-thumb"
|
|
294
|
+
}
|
|
295
|
+
)
|
|
296
|
+
}
|
|
297
|
+
);
|
|
298
|
+
}, Nt = n.forwardRef(function({ className: i, layout: e = ut, ...a }, c) {
|
|
299
|
+
const d = p();
|
|
300
|
+
return /* @__PURE__ */ t(F.Provider, { value: { type: a.type, layout: e }, children: /* @__PURE__ */ t(
|
|
301
|
+
Q,
|
|
302
|
+
{
|
|
303
|
+
ref: c,
|
|
304
|
+
"data-slot": "option-card-group",
|
|
305
|
+
[r]: "option-card-group",
|
|
306
|
+
"data-layout": e,
|
|
307
|
+
...a.type === "single" ? { role: "radiogroup" } : {},
|
|
308
|
+
className: h(d.group, d[e], i),
|
|
309
|
+
...a
|
|
310
|
+
}
|
|
311
|
+
) });
|
|
312
|
+
}), V = n.forwardRef(function({ className: i, type: e, ...a }, c) {
|
|
313
|
+
const d = p(), l = n.useContext(k), m = l == null ? void 0 : l.registerType;
|
|
314
|
+
n.useEffect(() => {
|
|
315
|
+
e && m && m(e);
|
|
316
|
+
}, [e, m]);
|
|
317
|
+
const g = e ?? (l == null ? void 0 : l.controlType) ?? "checkbox";
|
|
318
|
+
return g === "none" ? null : /* @__PURE__ */ t(
|
|
319
|
+
"span",
|
|
320
|
+
{
|
|
321
|
+
ref: c,
|
|
322
|
+
"aria-hidden": "true",
|
|
323
|
+
"data-slot": "option-card-control",
|
|
324
|
+
[r]: "option-card-control",
|
|
325
|
+
className: h(d.control, i),
|
|
326
|
+
...a,
|
|
327
|
+
children: g === "radio" ? /* @__PURE__ */ t(gt, {}) : g === "switch" ? /* @__PURE__ */ t(Ct, {}) : /* @__PURE__ */ t(ft, {})
|
|
328
|
+
}
|
|
329
|
+
);
|
|
330
|
+
}), L = n.forwardRef(function({ className: i, variant: e = "icon", ...a }, c) {
|
|
331
|
+
const d = p();
|
|
332
|
+
return /* @__PURE__ */ t(
|
|
333
|
+
"span",
|
|
334
|
+
{
|
|
335
|
+
ref: c,
|
|
336
|
+
"aria-hidden": "true",
|
|
337
|
+
"data-slot": "option-card-media",
|
|
338
|
+
[r]: "option-card-media",
|
|
339
|
+
"data-variant": e,
|
|
340
|
+
className: h(
|
|
341
|
+
d.mediaRoot,
|
|
342
|
+
e === "illustration" ? d.mediaIllustration : d.mediaIcon,
|
|
343
|
+
i
|
|
344
|
+
),
|
|
345
|
+
...a
|
|
346
|
+
}
|
|
347
|
+
);
|
|
348
|
+
}), bt = n.forwardRef(function({ className: i, ...e }, a) {
|
|
349
|
+
const c = p();
|
|
350
|
+
return /* @__PURE__ */ t(
|
|
351
|
+
"span",
|
|
352
|
+
{
|
|
353
|
+
ref: a,
|
|
354
|
+
"data-slot": "option-card-title",
|
|
355
|
+
[r]: "option-card-title",
|
|
356
|
+
className: h(c.title, i),
|
|
357
|
+
...e
|
|
358
|
+
}
|
|
359
|
+
);
|
|
360
|
+
}), It = n.forwardRef(function({ className: i, ...e }, a) {
|
|
361
|
+
const c = p();
|
|
362
|
+
return /* @__PURE__ */ t(
|
|
363
|
+
"span",
|
|
364
|
+
{
|
|
365
|
+
ref: a,
|
|
366
|
+
"data-slot": "option-card-description",
|
|
367
|
+
[r]: "option-card-description",
|
|
368
|
+
className: h(c.description, i),
|
|
369
|
+
...e
|
|
370
|
+
}
|
|
371
|
+
);
|
|
372
|
+
}), xt = (o) => n.Children.toArray(o).some(
|
|
373
|
+
(i) => n.isValidElement(i) && i.type === V
|
|
374
|
+
), $ = n.forwardRef(function({ className: i, children: e, ...a }, c) {
|
|
375
|
+
const d = p();
|
|
376
|
+
return /* @__PURE__ */ q(
|
|
377
|
+
"span",
|
|
378
|
+
{
|
|
379
|
+
ref: c,
|
|
380
|
+
"data-slot": "option-card-content",
|
|
381
|
+
[r]: "option-card-content",
|
|
382
|
+
className: h(d.content, i),
|
|
383
|
+
...a,
|
|
384
|
+
children: [
|
|
385
|
+
e,
|
|
386
|
+
!xt(e) && /* @__PURE__ */ t(V, {})
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
);
|
|
390
|
+
}), w = (o, ...i) => n.isValidElement(o) && i.includes(o.type), Gt = n.forwardRef(
|
|
391
|
+
function({
|
|
392
|
+
className: i,
|
|
393
|
+
children: e,
|
|
394
|
+
value: a,
|
|
395
|
+
pressed: c,
|
|
396
|
+
defaultPressed: d,
|
|
397
|
+
onPressedChange: l,
|
|
398
|
+
...m
|
|
399
|
+
}, g) {
|
|
400
|
+
const S = p(), R = n.useContext(F), b = R !== null, _ = n.useId();
|
|
401
|
+
process.env.NODE_ENV !== "production" && b && a === void 0 && console.warn(ht);
|
|
402
|
+
const [j, B] = n.useState(
|
|
403
|
+
d ?? !1
|
|
404
|
+
), v = c !== void 0, O = v ? c : j, M = (u) => {
|
|
405
|
+
v || B(u), l == null || l(u);
|
|
406
|
+
}, z = b ? R.type === "multiple" ? "checkbox" : "radio" : "checkbox", [x, U] = n.useState(z), T = n.useMemo(
|
|
407
|
+
() => ({ controlType: x, registerType: U }),
|
|
408
|
+
[x]
|
|
409
|
+
), y = n.Children.toArray(e), X = y.some((u) => w(u, $)), Y = y.filter((u) => w(u, L)), A = y.filter((u) => !w(u, L)), N = /* @__PURE__ */ q(H, { children: [
|
|
410
|
+
Y,
|
|
411
|
+
X ? A : /* @__PURE__ */ t($, { children: /* @__PURE__ */ t(bt, { children: A }) })
|
|
412
|
+
] });
|
|
413
|
+
if (b)
|
|
414
|
+
return /* @__PURE__ */ t(k.Provider, { value: T, children: /* @__PURE__ */ t(
|
|
415
|
+
K,
|
|
416
|
+
{
|
|
417
|
+
ref: g,
|
|
418
|
+
"data-slot": "option-card",
|
|
419
|
+
[r]: "option-card",
|
|
420
|
+
value: a ?? _,
|
|
421
|
+
className: h(S.card, i),
|
|
422
|
+
...m,
|
|
423
|
+
children: N
|
|
424
|
+
}
|
|
425
|
+
) });
|
|
426
|
+
const Z = x === "switch" ? "switch" : "checkbox";
|
|
427
|
+
return /* @__PURE__ */ t(k.Provider, { value: T, children: /* @__PURE__ */ t(
|
|
428
|
+
J,
|
|
429
|
+
{
|
|
430
|
+
ref: g,
|
|
431
|
+
"data-slot": "option-card",
|
|
432
|
+
[r]: "option-card",
|
|
433
|
+
pressed: O,
|
|
434
|
+
onPressedChange: M,
|
|
435
|
+
role: Z,
|
|
436
|
+
"aria-checked": O,
|
|
437
|
+
"aria-pressed": void 0,
|
|
438
|
+
className: h(S.card, i),
|
|
439
|
+
...m,
|
|
440
|
+
children: N
|
|
441
|
+
}
|
|
442
|
+
) });
|
|
443
|
+
}
|
|
444
|
+
);
|
|
445
|
+
export {
|
|
446
|
+
Gt as OptionCard,
|
|
447
|
+
$ as OptionCardContent,
|
|
448
|
+
V as OptionCardControl,
|
|
449
|
+
It as OptionCardDescription,
|
|
450
|
+
Nt as OptionCardGroup,
|
|
451
|
+
L as OptionCardMedia,
|
|
452
|
+
bt as OptionCardTitle
|
|
453
|
+
};
|
|
454
|
+
//# sourceMappingURL=option-card.js.map
|