@iress-oss/ids-components 6.0.0-alpha.0 → 6.0.0-alpha.2
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 +1 -1
- package/dist/Autocomplete-C5ubHBTi.js +358 -0
- package/dist/{Button-BXzmntRi.js → Button-mmhMLwp9.js} +89 -85
- package/dist/Provider-8wS70V56.js +64 -0
- package/dist/{TableProvider-D8SQKIG8.js → TableProvider-bdUNuoG-.js} +11 -21
- package/dist/components/Alert/Alert.js +34 -35
- package/dist/components/Alert/Alert.styles.js +15 -15
- package/dist/components/Alert/index.js +4 -5
- package/dist/components/Autocomplete/Autocomplete.js +17 -82
- package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +36 -35
- package/dist/components/Autocomplete/index.js +6 -4
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/Badge.styles.js +5 -5
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
- package/dist/components/ButtonGroup/hooks/useButtonGroupItem.js +11 -12
- package/dist/components/Card/Card.js +2 -2
- package/dist/components/Card/Card.styles.js +17 -17
- package/dist/components/Checkbox/Checkbox.js +85 -86
- package/dist/components/Checkbox/Checkbox.styles.js +6 -6
- package/dist/components/CheckboxGroup/CheckboxGroup.js +69 -74
- package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +11 -11
- package/dist/components/CheckboxMark/CheckboxMark.js +2 -2
- package/dist/components/CheckboxMark/CheckboxMark.styles.js +2 -2
- package/dist/components/Col/Col.js +1 -1
- package/dist/components/Col/Col.styles.js +1 -1
- package/dist/components/Container/Container.js +1 -1
- package/dist/components/Container/Container.styles.js +4 -3
- package/dist/components/Divider/Divider.js +2 -2
- package/dist/components/Divider/Divider.styles.js +2 -2
- package/dist/components/Expander/Expander.js +46 -41
- package/dist/components/Expander/Expander.styles.js +5 -5
- package/dist/components/Field/Field.js +55 -54
- package/dist/components/Field/Field.styles.js +17 -10
- package/dist/components/Field/FieldGroup/FieldGroup.js +40 -40
- package/dist/components/Field/FieldGroup/FieldGroup.styles.js +6 -6
- package/dist/components/Field/components/FieldFooter.js +32 -32
- package/dist/components/Field/components/FieldHint.js +3 -3
- package/dist/components/Filter/Filter.js +213 -100
- package/dist/components/Filter/Filter.styles.js +4 -4
- package/dist/components/Filter/components/FilterResetButton.js +17 -18
- package/dist/components/Filter/components/FilterResultsDescriptor.js +6 -6
- package/dist/components/Filter/components/FilterSearch.js +18 -19
- package/dist/components/Filter/index.js +2 -2
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/Icon/Icon.styles.js +1 -1
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/Image.styles.js +1 -1
- package/dist/components/Inline/Inline.js +1 -1
- package/dist/components/Inline/Inline.styles.js +2 -2
- package/dist/components/Input/Input.js +102 -108
- package/dist/components/Input/Input.styles.js +8 -8
- package/dist/components/Input/InputBase/InputBase.js +23 -23
- package/dist/components/Label/Label.styles.js +4 -4
- package/dist/components/Label/LabelBase/LabelBase.js +32 -32
- package/dist/components/Link/Link.js +50 -51
- package/dist/components/Link/Link.styles.js +4 -3
- package/dist/components/Menu/Menu.js +51 -51
- package/dist/components/Menu/Menu.styles.js +12 -12
- package/dist/components/Menu/MenuDivider/MenuDivider.js +13 -13
- package/dist/components/Menu/MenuItem/MenuItem.js +144 -146
- package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +5 -5
- package/dist/components/Menu/MenuText/MenuText.js +38 -38
- package/dist/components/Modal/Modal.js +115 -125
- package/dist/components/Modal/Modal.styles.js +22 -13
- package/dist/components/Modal/ModalProvider.js +20 -22
- package/dist/components/Modal/hooks/useModal.js +9 -7
- package/dist/components/Modal/hooks/useProviderModal.js +8 -8
- package/dist/components/Modal/index.js +7 -6
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Panel/Panel.styles.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +14 -14
- package/dist/components/Placeholder/Placeholder.styles.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +89 -14
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +31 -34
- package/dist/components/Popover/Popover.js +44 -43
- package/dist/components/Popover/Popover.styles.js +2 -2
- package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +48 -53
- package/dist/components/Popover/components/PopoverContent.js +33 -33
- package/dist/components/Popover/helpers/composeFloatingProps.js +23 -26
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +11 -14
- package/dist/components/Popover/hooks/usePopover.js +79 -75
- package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -26
- package/dist/components/Popover/hooks/usePopoverItem.js +16 -17
- package/dist/components/Popover/hooks/usePopoverNavigation.js +22 -22
- package/dist/components/Popover/index.js +6 -6
- package/dist/components/Progress/Progress.js +35 -41
- package/dist/components/Progress/Progress.styles.js +4 -4
- package/dist/components/Provider/Provider.js +12 -35
- package/dist/components/Provider/index.js +1 -1
- package/dist/components/Radio/Radio.js +86 -81
- package/dist/components/Radio/Radio.styles.js +6 -6
- package/dist/components/RadioGroup/RadioGroup.js +69 -77
- package/dist/components/RadioGroup/RadioGroup.styles.js +5 -5
- package/dist/components/Readonly/Readonly.js +44 -43
- package/dist/components/Readonly/Readonly.styles.js +12 -17
- package/dist/components/RichSelect/RichSelect.js +21 -86
- package/dist/components/RichSelect/RichSelect.styles.js +10 -10
- package/dist/components/RichSelect/SelectBody/SelectBody.js +23 -117
- package/dist/components/RichSelect/SelectBody/SelectBody.styles.js +1 -1
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +25 -114
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +67 -97
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +19 -19
- package/dist/components/RichSelect/SelectLabel/SelectLabel.styles.js +6 -6
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +69 -69
- package/dist/components/RichSelect/SelectMenu/SelectMenu.styles.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +52 -46
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +43 -98
- package/dist/components/RichSelect/SelectSearch/SelectSearch.styles.js +1 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +31 -32
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.styles.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +159 -105
- package/dist/components/RichSelect/SelectTags/SelectTags.styles.js +4 -4
- package/dist/components/RichSelect/components/SelectActivator.js +63 -6
- package/dist/components/RichSelect/components/SelectOptions.js +201 -95
- package/dist/components/RichSelect/index.js +18 -15
- package/dist/components/Row/Row.js +1 -1
- package/dist/components/Row/Row.styles.js +1 -1
- package/dist/components/Select/Select.js +71 -71
- package/dist/components/Select/Select.styles.js +9 -9
- package/dist/components/Select/SelectOption/SelectOption.js +1 -1
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Select/components/SelectReadonly.js +30 -33
- package/dist/components/Select/helpers/nodesToSelectOptions.js +19 -20
- package/dist/components/Skeleton/Skeleton.styles.js +2 -2
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/SkipLink/SkipLink.styles.js +3 -3
- package/dist/components/Slideout/Slideout.js +161 -161
- package/dist/components/Slideout/Slideout.styles.js +8 -8
- package/dist/components/Slideout/SlideoutProvider.js +18 -20
- package/dist/components/Slideout/components/SlideoutInner.js +3 -3
- package/dist/components/Slideout/hooks/useProviderSlideout.js +8 -8
- package/dist/components/Slideout/hooks/usePushElement.js +27 -27
- package/dist/components/Slideout/hooks/useSlideout.js +11 -9
- package/dist/components/Slideout/index.js +7 -6
- package/dist/components/Slider/Slider.js +76 -76
- package/dist/components/Slider/Slider.styles.js +4 -4
- package/dist/components/Slider/components/SliderTicks.js +15 -16
- package/dist/components/Spinner/Spinner.styles.js +1 -1
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/Stack/Stack.styles.js +4 -4
- package/dist/components/TabSet/Tab/Tab.js +88 -88
- package/dist/components/TabSet/Tab/Tab.styles.js +3 -3
- package/dist/components/TabSet/TabSet.js +80 -67
- package/dist/components/TabSet/TabSet.styles.js +4 -4
- package/dist/components/TabSet/TabSetProvider.js +43 -43
- package/dist/components/Table/Table.js +39 -39
- package/dist/components/Table/Table.styles.js +10 -8
- package/dist/components/Table/TableBody/TableBody.js +76 -76
- package/dist/components/Table/TableFormattedValue/TableFormattedValue.js +8 -18
- package/dist/components/Table/TableProvider.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +8 -8
- package/dist/components/Table/components/TableHeader.js +31 -32
- package/dist/components/Table/components/TableHeaderCell.js +23 -24
- package/dist/components/Table/components/TableRows.js +38 -38
- package/dist/components/Table/components/TableSortButton.js +6 -6
- package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
- package/dist/components/Table/helpers/composeTableInitialSorting.js +4 -4
- package/dist/components/Table/hooks/useTableColumnSort.js +12 -12
- package/dist/components/Table/hooks/useTableColumnStyles.js +13 -14
- package/dist/components/Table/index.js +2 -3
- package/dist/components/Tag/Tag.js +29 -32
- package/dist/components/Tag/Tag.styles.js +5 -6
- package/dist/components/Tag/TagInput/TagInput.js +120 -104
- package/dist/components/Tag/TagInput/TagInput.styles.js +26 -0
- package/dist/components/Text/Text.js +16 -36
- package/dist/components/Text/Text.styles.js +5 -4
- package/dist/components/Text/index.js +1 -2
- package/dist/components/Toaster/Toaster.js +59 -11
- package/dist/components/Toaster/Toaster.styles.js +2 -2
- package/dist/components/Toaster/ToasterProvider.js +49 -6
- package/dist/components/Toaster/components/Toast/Toast.js +46 -47
- package/dist/components/Toaster/components/Toast/Toast.styles.js +13 -13
- package/dist/components/Toaster/components/Toast/ToastAnimated.js +38 -37
- package/dist/components/Toaster/hooks/useToaster.js +24 -22
- package/dist/components/Toaster/index.js +5 -4
- package/dist/components/Toggle/Toggle.js +59 -54
- package/dist/components/Toggle/Toggle.styles.js +13 -13
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Tooltip/Tooltip.styles.js +2 -2
- package/dist/components/ValidationMessage/ValidationMessage.js +25 -26
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +5 -5
- package/dist/{composeTableColumnDefs-CeWqgpKW.js → composeTableColumnDefs-BfFBOARB.js} +99 -109
- package/dist/constants.js +10 -10
- package/dist/{create-recipe-BqEnhJ30.js → create-recipe-C-ASk1Hy.js} +11 -10
- package/dist/css-fGu_jDvv.js +228 -0
- package/dist/cva-JiDXAa83.js +63 -0
- package/dist/enums.js +7 -7
- package/dist/factory-oPXoMw9H.js +58 -0
- package/dist/{floating-ui.react-CPN4oQCc.js → floating-ui.react-BetVZ099.js} +1153 -1151
- package/dist/fuzzysort-DKAolWVP.js +397 -0
- package/dist/helpers/dom/closestCrossShadow.js +16 -17
- package/dist/helpers/dom/focusableElements.js +6 -6
- package/dist/helpers/dom/getActiveElement.js +5 -6
- package/dist/helpers/formatting/formatDateTime.js +9 -10
- package/dist/helpers/label-value/composeLabelValueDescriptor.js +8 -8
- package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
- package/dist/helpers/label-value/getValueFromLabelValues.js +5 -6
- package/dist/helpers/label-value/highlightQueryInLabel.js +4 -7
- package/dist/helpers/label-value/highlightQueryInLabelValue.js +6 -5
- package/dist/helpers/label-value/searchLabelValues.js +1 -1
- package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +4 -4
- package/dist/helpers/styling/iressCss.js +2 -2
- package/dist/helpers/styling/mapGutterToGap.js +7 -7
- package/dist/helpers/transition/getTransitionDuration.js +5 -8
- package/dist/hooks/useAriaRelationship.js +19 -21
- package/dist/hooks/useBreakpoint.js +8 -11
- package/dist/hooks/useControlledState.js +37 -35
- package/dist/{index-DlGwAtoO.js → index-CZ9ot38T.js} +107 -129
- package/dist/{index.esm-BdbWn-w_.js → index.esm-B6vzbp0e.js} +5 -5
- package/dist/{index.esm-BnSuefUA.js → index.esm-CL8gh5wr.js} +1 -5
- package/dist/is-valid-prop-Ce0wiweq.js +7 -0
- package/dist/main.js +298 -292
- package/dist/patterns/Form/Form.js +1 -1
- package/dist/patterns/Form/Form.styles.js +1 -1
- package/dist/patterns/Form/FormField/FormField.js +41 -44
- package/dist/patterns/Form/FormField/FormFieldset.js +41 -44
- package/dist/patterns/Form/FormField/helpers/getErrorTypeMessage.js +10 -10
- package/dist/patterns/Form/FormField/hooks/useFieldRenderProps.js +26 -26
- package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +55 -56
- package/dist/patterns/Form/HookForm/HookForm.js +72 -75
- package/dist/patterns/Form/components/LongForm.js +1 -1
- package/dist/patterns/Form/components/ShortForm.js +12 -12
- package/dist/patterns/Loading/Loading.styles.js +32 -20
- package/dist/patterns/Loading/LoadingSuspense.js +34 -34
- package/dist/patterns/Loading/components/ComponentLoading.js +42 -47
- package/dist/patterns/Loading/components/DefaultLoading.js +1 -1
- package/dist/patterns/Loading/components/LongLoading.js +45 -45
- package/dist/patterns/Loading/components/PageLoading.js +64 -64
- package/dist/patterns/Loading/components/StartUpLoading.js +61 -59
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Loading/hooks/useEstimatedProgressValue.js +8 -12
- package/dist/patterns/Loading/hooks/useShouldRenderLoading.js +14 -14
- package/dist/patterns/Loading/hooks/useShowIndicator.js +11 -11
- package/dist/patterns/Shadow/Shadow.js +22009 -0
- package/dist/patterns/Shadow/index.js +4 -0
- package/dist/src/components/Alert/Alert.d.ts +0 -1
- package/dist/src/components/Alert/Alert.styles.d.ts +2 -2
- package/dist/src/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/src/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +1 -1
- package/dist/src/components/Autocomplete/index.d.ts +1 -0
- package/dist/src/components/Badge/Badge.styles.d.ts +2 -2
- package/dist/src/components/Card/Card.styles.d.ts +2 -2
- package/dist/src/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/components/Checkbox/Checkbox.styles.d.ts +3 -3
- package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -4
- package/dist/src/components/Expander/Expander.styles.d.ts +2 -2
- package/dist/src/components/Field/Field.styles.d.ts +13 -6
- package/dist/src/components/Field/FieldGroup/FieldGroup.styles.d.ts +1 -1
- package/dist/src/components/Inline/Inline.d.ts +1 -2
- package/dist/src/components/Label/Label.styles.d.ts +1 -1
- package/dist/src/components/Menu/Menu.styles.d.ts +5 -5
- package/dist/src/components/Modal/Modal.styles.d.ts +8 -2
- package/dist/src/components/Modal/ModalProvider.d.ts +0 -16
- package/dist/src/components/Modal/hooks/useModal.d.ts +17 -0
- package/dist/src/components/Popover/Popover.styles.d.ts +1 -1
- package/dist/src/components/Popover/components/NestedPopoverActivator.d.ts +1 -1
- package/dist/src/components/Popover/hooks/usePopover.d.ts +4 -0
- package/dist/src/components/Popover/hooks/usePopoverNavigation.d.ts +1 -1
- package/dist/src/components/Radio/Radio.styles.d.ts +1 -1
- package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +4 -4
- package/dist/src/components/Readonly/Readonly.styles.d.ts +1 -1
- package/dist/src/components/RichSelect/RichSelect.d.ts +11 -1
- package/dist/src/components/RichSelect/RichSelect.styles.d.ts +7 -7
- package/dist/src/components/RichSelect/SelectBody/SelectBody.d.ts +1 -1
- package/dist/src/components/RichSelect/SelectMenu/SelectMenu.d.ts +2 -2
- package/dist/src/components/RichSelect/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/dist/src/components/RichSelect/SelectSearch/SelectSearch.d.ts +1 -1
- package/dist/src/components/RichSelect/SelectSearchInput/SelectSearchInput.d.ts +1 -2
- package/dist/src/components/RichSelect/SelectTags/SelectTags.d.ts +1 -1
- package/dist/src/components/RichSelect/SelectTags/SelectTags.styles.d.ts +1 -1
- package/dist/src/components/RichSelect/components/SelectOptions.d.ts +1 -1
- package/dist/src/components/Row/Row.d.ts +1 -2
- package/dist/src/components/Select/Select.styles.d.ts +7 -7
- package/dist/src/components/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/src/components/Slideout/Slideout.styles.d.ts +2 -2
- package/dist/src/components/Slideout/SlideoutProvider.d.ts +0 -6
- package/dist/src/components/Slideout/hooks/useSlideout.d.ts +7 -0
- package/dist/src/components/Stack/Stack.d.ts +1 -2
- package/dist/src/components/TabSet/TabSet.d.ts +10 -1
- package/dist/src/components/Table/TableFormattedValue/TableFormattedValue.d.ts +2 -3
- package/dist/src/components/Table/helpers/composeTableColumnDefs.d.ts +1 -1
- package/dist/src/components/Tag/TagInput/TagInput.styles.d.ts +1 -0
- package/dist/src/components/Text/Text.d.ts +1 -2
- package/dist/src/components/Toaster/ToasterProvider.d.ts +0 -2
- package/dist/src/components/Toaster/components/Toast/Toast.d.ts +1 -2
- package/dist/src/components/Toaster/components/Toast/Toast.styles.d.ts +4 -4
- package/dist/src/components/Toaster/hooks/useToaster.d.ts +7 -6
- package/dist/src/components/Toggle/Toggle.d.ts +10 -2
- package/dist/src/components/Toggle/Toggle.styles.d.ts +4 -4
- package/dist/src/enums.d.ts +1 -9
- package/dist/src/interfaces.d.ts +9 -10
- package/dist/src/main.d.ts +1 -1
- package/dist/src/patterns/Form/hooks/useNoDefaultValueInForms.d.ts +1 -1
- package/dist/src/patterns/Loading/Loading.styles.d.ts +11 -10
- package/dist/src/patterns/Loading/components/PageLoading.d.ts +5 -1
- package/dist/src/patterns/Loading/components/StartUpLoading.d.ts +8 -3
- package/dist/src/patterns/Loading/components/ValidateLoading.d.ts +1 -1
- package/dist/src/patterns/Shadow/Shadow.d.ts +34 -0
- package/dist/src/patterns/Shadow/index.d.ts +1 -0
- package/dist/src/patterns/Shadow/meta/Thumbnail.d.ts +2 -0
- package/dist/src/patterns/Shadow/meta/index.d.ts +7 -0
- package/dist/src/styled-system/jsx/create-style-context.d.ts +54 -0
- package/dist/src/styled-system/jsx/index.d.ts +1 -0
- package/dist/src/styled-system/patterns/aspect-ratio.d.ts +0 -1
- package/dist/src/styled-system/patterns/bleed.d.ts +0 -1
- package/dist/src/styled-system/patterns/box.d.ts +0 -1
- package/dist/src/styled-system/patterns/center.d.ts +0 -1
- package/dist/src/styled-system/patterns/circle.d.ts +0 -1
- package/dist/src/styled-system/patterns/container.d.ts +0 -1
- package/dist/src/styled-system/patterns/cq.d.ts +0 -1
- package/dist/src/styled-system/patterns/divider.d.ts +0 -1
- package/dist/src/styled-system/patterns/flex.d.ts +0 -1
- package/dist/src/styled-system/patterns/float.d.ts +0 -1
- package/dist/src/styled-system/patterns/grid-item.d.ts +0 -1
- package/dist/src/styled-system/patterns/grid.d.ts +0 -1
- package/dist/src/styled-system/patterns/hstack.d.ts +0 -1
- package/dist/src/styled-system/patterns/link-overlay.d.ts +0 -1
- package/dist/src/styled-system/patterns/spacer.d.ts +0 -1
- package/dist/src/styled-system/patterns/square.d.ts +0 -1
- package/dist/src/styled-system/patterns/stack.d.ts +0 -1
- package/dist/src/styled-system/patterns/visually-hidden.d.ts +0 -1
- package/dist/src/styled-system/patterns/vstack.d.ts +0 -1
- package/dist/src/styled-system/patterns/wrap.d.ts +0 -1
- package/dist/src/styled-system/recipes/button.d.ts +4 -3
- package/dist/src/styled-system/recipes/table.d.ts +4 -1
- package/dist/src/styled-system/recipes/text.d.ts +3 -2
- package/dist/src/styled-system/tokens/tokens.d.ts +4 -4
- package/dist/src/styled-system/types/composition.d.ts +83 -23
- package/dist/src/styled-system/types/conditions.d.ts +15 -11
- package/dist/src/styled-system/types/jsx.d.ts +27 -10
- package/dist/src/styled-system/types/prop-type.d.ts +11 -4
- package/dist/src/styled-system/types/style-props.d.ts +14 -1
- package/dist/src/styled-system/types/system-types.d.ts +76 -0
- package/dist/src/types.d.ts +3 -1
- package/dist/style.css +1 -1
- package/dist/sva-OmxClA9g.js +34 -0
- package/package.json +68 -46
- package/dist/Filter-Bwk7SIlJ.js +0 -1103
- package/dist/InputPopover-BWWuoQZ2.js +0 -132
- package/dist/ToasterProvider-XqpAGfRs.js +0 -112
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/cva-B2x59Dph.js +0 -294
- package/dist/factory-DHLOr79I.js +0 -53
- package/dist/fuzzysort-eoXOpoo6.js +0 -395
- package/dist/helpers/utility/generateScopedName.js +0 -9
- package/dist/is-valid-prop-DFFvE05x.js +0 -7
- package/dist/panda.config.d.ts +0 -4
- package/dist/src/helpers/utility/generateScopedName.d.ts +0 -8
- package/dist/sva-TRyehFkb.js +0 -32
- package/dist/theme-preset/config-recipes/button.d.ts +0 -6
- package/dist/theme-preset/config-recipes/table.d.ts +0 -1
- package/dist/theme-preset/config-recipes/text.d.ts +0 -1
- package/dist/theme-preset/globalCss.d.ts +0 -1
- package/dist/theme-preset/index.d.ts +0 -2
- package/dist/theme-preset/staticCss.d.ts +0 -2
- package/dist/theme-preset/storybook.d.ts +0 -4
- package/dist/theme-preset/tokens/animationStyles.d.ts +0 -1
- package/dist/theme-preset/tokens/borders.d.ts +0 -50
- package/dist/theme-preset/tokens/breakpoints.d.ts +0 -8
- package/dist/theme-preset/tokens/colors.d.ts +0 -156
- package/dist/theme-preset/tokens/keyframes.d.ts +0 -1
- package/dist/theme-preset/tokens/layerStyles.d.ts +0 -40
- package/dist/theme-preset/tokens/radii.d.ts +0 -42
- package/dist/theme-preset/tokens/sizes.d.ts +0 -246
- package/dist/theme-preset/tokens/spacing.d.ts +0 -100
- package/dist/theme-preset/tokens/textStyles.d.ts +0 -5
- package/dist/theme-preset/tokens/zIndex.d.ts +0 -23
- package/dist/theme-preset/utilities/chevron.d.ts +0 -3
- package/dist/theme-preset/utilities/focusable.d.ts +0 -1
- package/dist/theme-preset/utilities/gutter.d.ts +0 -1
- package/dist/theme-preset/utilities/hide.d.ts +0 -1
- package/dist/theme-preset/utilities/noGutter.d.ts +0 -1
- package/dist/theme-preset/utilities/offset.d.ts +0 -75
- package/dist/theme-preset/utilities/sliderThumb.d.ts +0 -1
- package/dist/theme-preset/utilities/span.d.ts +0 -120
- package/dist/theme-preset/utilities/stretch.d.ts +0 -1
- package/dist/theme-preset/utilities/topLeftTriangle.d.ts +0 -2
- package/dist/typography--vGt_ztU.js +0 -12
- package/dist/vite.config.d.ts +0 -2
- package/dist/vitest.config.d.ts +0 -2
- package/dist/vitest.setup.d.ts +0 -0
- /package/{LICENSE.txt → LICENSE} +0 -0
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as E } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as O, useContext as q } from "react";
|
|
3
|
-
import { g as R } from "./_commonjsHelpers-C6fGbg64.js";
|
|
4
|
-
import { GlobalCSSClass as u } from "./enums.js";
|
|
5
|
-
import { propagateTestid as x } from "./helpers/utility/propagateTestid.js";
|
|
6
|
-
import { PopoverContent as S } from "./components/Popover/components/PopoverContent.js";
|
|
7
|
-
import { InputPopoverActivator as D } from "./components/Popover/InputPopover/InputPopoverActivator.js";
|
|
8
|
-
import { usePopoverImperativeHandle as G } from "./components/Popover/hooks/usePopoverImperativeHandle.js";
|
|
9
|
-
import { s as H } from "./factory-DHLOr79I.js";
|
|
10
|
-
import { usePopover as T, PopoverContext as h } from "./components/Popover/hooks/usePopover.js";
|
|
11
|
-
import { c as V } from "./cx-DN21T1EH.js";
|
|
12
|
-
import { popover as W } from "./components/Popover/Popover.styles.js";
|
|
13
|
-
import { NestedPopoverActivator as g } from "./components/Popover/components/NestedPopoverActivator.js";
|
|
14
|
-
var f = { exports: {} };
|
|
15
|
-
/*!
|
|
16
|
-
Copyright (c) 2018 Jed Watson.
|
|
17
|
-
Licensed under the MIT License (MIT), see
|
|
18
|
-
http://jedwatson.github.io/classnames
|
|
19
|
-
*/
|
|
20
|
-
var P;
|
|
21
|
-
function z() {
|
|
22
|
-
return P || (P = 1, function(s) {
|
|
23
|
-
(function() {
|
|
24
|
-
var n = {}.hasOwnProperty;
|
|
25
|
-
function e() {
|
|
26
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
27
|
-
var o = arguments[r];
|
|
28
|
-
o && (t = a(t, p(o)));
|
|
29
|
-
}
|
|
30
|
-
return t;
|
|
31
|
-
}
|
|
32
|
-
function p(t) {
|
|
33
|
-
if (typeof t == "string" || typeof t == "number")
|
|
34
|
-
return t;
|
|
35
|
-
if (typeof t != "object")
|
|
36
|
-
return "";
|
|
37
|
-
if (Array.isArray(t))
|
|
38
|
-
return e.apply(null, t);
|
|
39
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
40
|
-
return t.toString();
|
|
41
|
-
var r = "";
|
|
42
|
-
for (var o in t)
|
|
43
|
-
n.call(t, o) && t[o] && (r = a(r, o));
|
|
44
|
-
return r;
|
|
45
|
-
}
|
|
46
|
-
function a(t, r) {
|
|
47
|
-
return r ? t ? t + " " + r : t + r : t;
|
|
48
|
-
}
|
|
49
|
-
s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
|
|
50
|
-
})();
|
|
51
|
-
}(f)), f.exports;
|
|
52
|
-
}
|
|
53
|
-
var B = z();
|
|
54
|
-
const J = /* @__PURE__ */ R(B), K = ({
|
|
55
|
-
activator: s,
|
|
56
|
-
align: n = "auto",
|
|
57
|
-
autoHighlight: e = !0,
|
|
58
|
-
children: p,
|
|
59
|
-
className: a,
|
|
60
|
-
container: t,
|
|
61
|
-
contentClassName: r,
|
|
62
|
-
contentStyle: o,
|
|
63
|
-
defaultShow: I,
|
|
64
|
-
displayMode: v = "overlay",
|
|
65
|
-
focusStartIndex: N,
|
|
66
|
-
minLength: A,
|
|
67
|
-
onActivated: C,
|
|
68
|
-
onDeactivated: b,
|
|
69
|
-
onNavigate: j,
|
|
70
|
-
show: F,
|
|
71
|
-
type: w = "listbox",
|
|
72
|
-
...c
|
|
73
|
-
}, y) => {
|
|
74
|
-
const l = v === "overlay", m = W({ hasInputActivator: !0, matchActivatorWidth: l }), d = T({
|
|
75
|
-
align: n,
|
|
76
|
-
autoHighlight: e,
|
|
77
|
-
defaultShow: I,
|
|
78
|
-
focusStartIndex: N,
|
|
79
|
-
hasInputActivator: !0,
|
|
80
|
-
matchActivatorWidth: l,
|
|
81
|
-
onActivated: C,
|
|
82
|
-
onDeactivated: b,
|
|
83
|
-
onNavigate: j,
|
|
84
|
-
show: F,
|
|
85
|
-
type: w,
|
|
86
|
-
virtualFocus: !0
|
|
87
|
-
});
|
|
88
|
-
return G(y, d), /* @__PURE__ */ i(h.Provider, { value: d, children: /* @__PURE__ */ E(
|
|
89
|
-
H.div,
|
|
90
|
-
{
|
|
91
|
-
...c,
|
|
92
|
-
className: J(
|
|
93
|
-
a,
|
|
94
|
-
u.FormElement,
|
|
95
|
-
m.root,
|
|
96
|
-
u.Popover,
|
|
97
|
-
u.InputPopover
|
|
98
|
-
),
|
|
99
|
-
children: [
|
|
100
|
-
/* @__PURE__ */ i(g, { parentPopover: q(h), children: /* @__PURE__ */ i(
|
|
101
|
-
D,
|
|
102
|
-
{
|
|
103
|
-
className: m.activator,
|
|
104
|
-
"data-testid": x(c["data-testid"], "activator"),
|
|
105
|
-
minLength: A,
|
|
106
|
-
children: s
|
|
107
|
-
}
|
|
108
|
-
) }),
|
|
109
|
-
/* @__PURE__ */ i(
|
|
110
|
-
S,
|
|
111
|
-
{
|
|
112
|
-
className: V(
|
|
113
|
-
r,
|
|
114
|
-
o == null ? void 0 : o.className,
|
|
115
|
-
m.content
|
|
116
|
-
),
|
|
117
|
-
container: t,
|
|
118
|
-
"data-testid": x(c["data-testid"], "content"),
|
|
119
|
-
displayMode: v,
|
|
120
|
-
virtualFocus: !0,
|
|
121
|
-
...o,
|
|
122
|
-
children: p
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
) });
|
|
128
|
-
}, et = O(K);
|
|
129
|
-
export {
|
|
130
|
-
et as I,
|
|
131
|
-
J as c
|
|
132
|
-
};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { jsx as d, jsxs as S, Fragment as E } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as I, useRef as P, useEffect as k, createElement as j, createContext as w, useState as F, useCallback as C, useMemo as M } from "react";
|
|
3
|
-
import "./components/Stack/Stack.styles.js";
|
|
4
|
-
import { IressStack as O } from "./components/Stack/Stack.js";
|
|
5
|
-
import { g as B } from "./floating-ui.react-CPN4oQCc.js";
|
|
6
|
-
import { toaster as D } from "./components/Toaster/Toaster.styles.js";
|
|
7
|
-
import { c as G } from "./cx-DN21T1EH.js";
|
|
8
|
-
import { ToastAnimated as H } from "./components/Toaster/components/Toast/ToastAnimated.js";
|
|
9
|
-
import { s as A } from "./factory-DHLOr79I.js";
|
|
10
|
-
import { GlobalCSSClass as L } from "./enums.js";
|
|
11
|
-
import { registerToaster as N, unregisterToaster as R } from "./components/Toaster/helpers/toasterRegister.js";
|
|
12
|
-
const V = {
|
|
13
|
-
"bottom-end": "end-x",
|
|
14
|
-
"bottom-start": "start-x",
|
|
15
|
-
"bottom-center": "end-y",
|
|
16
|
-
"top-end": "end-x",
|
|
17
|
-
"top-start": "start-x",
|
|
18
|
-
"top-center": "start-y"
|
|
19
|
-
}, h = {
|
|
20
|
-
role: "alert",
|
|
21
|
-
"aria-relevant": "additions",
|
|
22
|
-
"aria-live": "assertive"
|
|
23
|
-
}, $ = ({
|
|
24
|
-
className: b,
|
|
25
|
-
container: e,
|
|
26
|
-
position: n = "bottom-end",
|
|
27
|
-
toasts: u = [],
|
|
28
|
-
...g
|
|
29
|
-
}) => {
|
|
30
|
-
const o = I(y), l = P(null), f = D({ position: n });
|
|
31
|
-
return k(() => {
|
|
32
|
-
if (!e)
|
|
33
|
-
return;
|
|
34
|
-
const r = e instanceof HTMLElement ? e : e.current;
|
|
35
|
-
Object.entries(h).forEach(([i, m]) => {
|
|
36
|
-
r == null || r.setAttribute(i, String(m));
|
|
37
|
-
});
|
|
38
|
-
}, [e]), u.length ? /* @__PURE__ */ S(E, { children: [
|
|
39
|
-
!e && /* @__PURE__ */ d(A.div, { ref: l, ...h }),
|
|
40
|
-
/* @__PURE__ */ d(B, { root: e ?? l, children: /* @__PURE__ */ d(
|
|
41
|
-
O,
|
|
42
|
-
{
|
|
43
|
-
className: G(f.root, b, L.Toaster),
|
|
44
|
-
gap: "md",
|
|
45
|
-
...g,
|
|
46
|
-
children: u.map((r) => /* @__PURE__ */ j(
|
|
47
|
-
H,
|
|
48
|
-
{
|
|
49
|
-
...r,
|
|
50
|
-
animation: V[n],
|
|
51
|
-
key: r.id,
|
|
52
|
-
onClose: (i) => o == null ? void 0 : o.remove(r.id, i),
|
|
53
|
-
onTimeout: () => o == null ? void 0 : o.remove(r.id)
|
|
54
|
-
}
|
|
55
|
-
))
|
|
56
|
-
}
|
|
57
|
-
) })
|
|
58
|
-
] }) : e ? null : /* @__PURE__ */ d(A.div, { ref: l, ...h });
|
|
59
|
-
}, y = w(
|
|
60
|
-
void 0
|
|
61
|
-
), Z = ({
|
|
62
|
-
children: b,
|
|
63
|
-
id: e,
|
|
64
|
-
position: n,
|
|
65
|
-
...u
|
|
66
|
-
}) => {
|
|
67
|
-
const [g, o] = F([]), l = C(
|
|
68
|
-
(m, s) => {
|
|
69
|
-
o((t) => {
|
|
70
|
-
var c;
|
|
71
|
-
const a = t == null ? void 0 : t.find((x) => x.id === m);
|
|
72
|
-
return (c = a == null ? void 0 : a.onClose) == null || c.call(a, s), t == null ? void 0 : t.filter((x) => x.id !== m);
|
|
73
|
-
});
|
|
74
|
-
},
|
|
75
|
-
[]
|
|
76
|
-
), f = C(
|
|
77
|
-
(m, s) => {
|
|
78
|
-
const t = s.id ?? `${(/* @__PURE__ */ new Date()).getTime()}`, a = n == null ? void 0 : n.includes("top");
|
|
79
|
-
return o((c = []) => [
|
|
80
|
-
...a ? [] : c,
|
|
81
|
-
{ ...s, id: t, status: m },
|
|
82
|
-
...a ? c : []
|
|
83
|
-
]), t;
|
|
84
|
-
},
|
|
85
|
-
[n]
|
|
86
|
-
), r = C((m) => {
|
|
87
|
-
o(
|
|
88
|
-
(s) => s == null ? void 0 : s.map(
|
|
89
|
-
(t) => t.id === m ? { ...t, timeout: 100 } : t
|
|
90
|
-
)
|
|
91
|
-
);
|
|
92
|
-
}, []), i = M(
|
|
93
|
-
() => ({
|
|
94
|
-
close: r,
|
|
95
|
-
remove: l,
|
|
96
|
-
show: f
|
|
97
|
-
}),
|
|
98
|
-
[r, l, f]
|
|
99
|
-
);
|
|
100
|
-
return k(() => {
|
|
101
|
-
if (e)
|
|
102
|
-
return N(e, i), () => R(e);
|
|
103
|
-
}, [e, i]), /* @__PURE__ */ S(y.Provider, { value: i, children: [
|
|
104
|
-
b,
|
|
105
|
-
/* @__PURE__ */ d($, { id: e, position: n, ...u, toasts: g })
|
|
106
|
-
] });
|
|
107
|
-
};
|
|
108
|
-
export {
|
|
109
|
-
Z as I,
|
|
110
|
-
y as T,
|
|
111
|
-
$ as a
|
|
112
|
-
};
|
package/dist/cva-B2x59Dph.js
DELETED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
function x(t) {
|
|
2
|
-
return typeof t == "object" && t != null && !Array.isArray(t);
|
|
3
|
-
}
|
|
4
|
-
var W = (t) => typeof t == "object" && t !== null;
|
|
5
|
-
function T(t) {
|
|
6
|
-
return Object.fromEntries(Object.entries(t ?? {}).filter(([r, e]) => e !== void 0));
|
|
7
|
-
}
|
|
8
|
-
var L = (t) => t === "base";
|
|
9
|
-
function X(t) {
|
|
10
|
-
return t.slice().filter((r) => !L(r));
|
|
11
|
-
}
|
|
12
|
-
function k(t) {
|
|
13
|
-
return String.fromCharCode(t + (t > 25 ? 39 : 97));
|
|
14
|
-
}
|
|
15
|
-
function F(t) {
|
|
16
|
-
let r = "", e;
|
|
17
|
-
for (e = Math.abs(t); e > 52; e = e / 52 | 0)
|
|
18
|
-
r = k(e % 52) + r;
|
|
19
|
-
return k(e % 52) + r;
|
|
20
|
-
}
|
|
21
|
-
function D(t, r) {
|
|
22
|
-
let e = r.length;
|
|
23
|
-
for (; e; )
|
|
24
|
-
t = t * 33 ^ r.charCodeAt(--e);
|
|
25
|
-
return t;
|
|
26
|
-
}
|
|
27
|
-
function Y(t) {
|
|
28
|
-
return F(D(5381, t) >>> 0);
|
|
29
|
-
}
|
|
30
|
-
var R = /\s*!(important)?/i;
|
|
31
|
-
function N(t) {
|
|
32
|
-
return typeof t == "string" ? R.test(t) : !1;
|
|
33
|
-
}
|
|
34
|
-
function H(t) {
|
|
35
|
-
return typeof t == "string" ? t.replace(R, "").trim() : t;
|
|
36
|
-
}
|
|
37
|
-
function E(t) {
|
|
38
|
-
return typeof t == "string" ? t.replaceAll(" ", "_") : t;
|
|
39
|
-
}
|
|
40
|
-
var y = (t) => {
|
|
41
|
-
const r = /* @__PURE__ */ new Map();
|
|
42
|
-
return (...n) => {
|
|
43
|
-
const o = JSON.stringify(n);
|
|
44
|
-
if (r.has(o))
|
|
45
|
-
return r.get(o);
|
|
46
|
-
const i = t(...n);
|
|
47
|
-
return r.set(o, i), i;
|
|
48
|
-
};
|
|
49
|
-
}, G = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
50
|
-
function v(...t) {
|
|
51
|
-
return t.reduce((r, e) => (e && Object.keys(e).forEach((n) => {
|
|
52
|
-
if (G.has(n))
|
|
53
|
-
return;
|
|
54
|
-
const o = r[n], i = e[n];
|
|
55
|
-
x(o) && x(i) ? r[n] = v(o, i) : r[n] = i;
|
|
56
|
-
}), r), {});
|
|
57
|
-
}
|
|
58
|
-
var q = (t) => t != null;
|
|
59
|
-
function O(t, r, e = {}) {
|
|
60
|
-
const { stop: n, getKey: o } = e;
|
|
61
|
-
function i(s, a = []) {
|
|
62
|
-
if (W(s)) {
|
|
63
|
-
const l = {};
|
|
64
|
-
for (const [d, g] of Object.entries(s)) {
|
|
65
|
-
const m = (o == null ? void 0 : o(d, g)) ?? d, c = [...a, m];
|
|
66
|
-
if (n != null && n(s, c))
|
|
67
|
-
return r(s, a);
|
|
68
|
-
const b = i(g, c);
|
|
69
|
-
q(b) && (l[m] = b);
|
|
70
|
-
}
|
|
71
|
-
return l;
|
|
72
|
-
}
|
|
73
|
-
return r(s, a);
|
|
74
|
-
}
|
|
75
|
-
return i(t);
|
|
76
|
-
}
|
|
77
|
-
function $(t, r) {
|
|
78
|
-
return t.reduce(
|
|
79
|
-
(e, n, o) => {
|
|
80
|
-
const i = r[o];
|
|
81
|
-
return n != null && (e[i] = n), e;
|
|
82
|
-
},
|
|
83
|
-
{}
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
function j(t, r, e = !0) {
|
|
87
|
-
const { utility: n, conditions: o } = r, { hasShorthand: i, resolveShorthand: s } = n;
|
|
88
|
-
return O(
|
|
89
|
-
t,
|
|
90
|
-
(a) => Array.isArray(a) ? $(a, o.breakpoints.keys) : a,
|
|
91
|
-
{
|
|
92
|
-
stop: (a) => Array.isArray(a),
|
|
93
|
-
getKey: e ? (a) => i ? s(a) : a : void 0
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
var K = {
|
|
98
|
-
shift: (t) => t,
|
|
99
|
-
finalize: (t) => t,
|
|
100
|
-
breakpoints: { keys: [] }
|
|
101
|
-
}, Z = (t) => typeof t == "string" ? t.replaceAll(/[\n\s]+/g, " ") : t;
|
|
102
|
-
function U(t) {
|
|
103
|
-
const { utility: r, hash: e, conditions: n = K } = t, o = (s) => [r.prefix, s].filter(Boolean).join("-"), i = (s, a) => {
|
|
104
|
-
let l;
|
|
105
|
-
if (e) {
|
|
106
|
-
const d = [...n.finalize(s), a];
|
|
107
|
-
l = o(r.toHash(d, Y));
|
|
108
|
-
} else
|
|
109
|
-
l = [...n.finalize(s), o(a)].join(":");
|
|
110
|
-
return l;
|
|
111
|
-
};
|
|
112
|
-
return y(({ base: s, ...a } = {}) => {
|
|
113
|
-
const l = Object.assign(a, s), d = j(l, t), g = /* @__PURE__ */ new Set();
|
|
114
|
-
return O(d, (m, c) => {
|
|
115
|
-
if (m == null)
|
|
116
|
-
return;
|
|
117
|
-
const b = N(m), [p, ...u] = n.shift(c), _ = X(u), S = r.transform(p, H(Z(m)));
|
|
118
|
-
let h = i(_, S.className);
|
|
119
|
-
b && (h = `${h}!`), g.add(h);
|
|
120
|
-
}), Array.from(g).join(" ");
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
function J(...t) {
|
|
124
|
-
return t.flat().filter((r) => x(r) && Object.keys(T(r)).length > 0);
|
|
125
|
-
}
|
|
126
|
-
function Q(t) {
|
|
127
|
-
function r(o) {
|
|
128
|
-
const i = J(...o);
|
|
129
|
-
return i.length === 1 ? i : i.map((s) => j(s, t));
|
|
130
|
-
}
|
|
131
|
-
function e(...o) {
|
|
132
|
-
return v(...r(o));
|
|
133
|
-
}
|
|
134
|
-
function n(...o) {
|
|
135
|
-
return Object.assign({}, ...r(o));
|
|
136
|
-
}
|
|
137
|
-
return { mergeCss: y(e), assignCss: n };
|
|
138
|
-
}
|
|
139
|
-
var tt = /([A-Z])/g, rt = /^ms-/, et = y((t) => t.startsWith("--") ? t : t.replace(tt, "-$1").replace(rt, "-ms-").toLowerCase()), ot = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";
|
|
140
|
-
`${ot.split(",").join("|")}`;
|
|
141
|
-
var St = (t = {}) => {
|
|
142
|
-
const r = (o) => {
|
|
143
|
-
var i;
|
|
144
|
-
return {
|
|
145
|
-
className: [t.className, o].filter(Boolean).join("__"),
|
|
146
|
-
base: ((i = t.base) == null ? void 0 : i[o]) ?? {},
|
|
147
|
-
variants: {},
|
|
148
|
-
defaultVariants: t.defaultVariants ?? {},
|
|
149
|
-
compoundVariants: t.compoundVariants ? nt(t.compoundVariants, o) : []
|
|
150
|
-
};
|
|
151
|
-
}, n = (t.slots ?? []).map((o) => [o, r(o)]);
|
|
152
|
-
for (const [o, i] of Object.entries(t.variants ?? {}))
|
|
153
|
-
for (const [s, a] of Object.entries(i))
|
|
154
|
-
n.forEach(([l, d]) => {
|
|
155
|
-
var g;
|
|
156
|
-
(g = d.variants)[o] ?? (g[o] = {}), d.variants[o][s] = a[l] ?? {};
|
|
157
|
-
});
|
|
158
|
-
return Object.fromEntries(n);
|
|
159
|
-
}, nt = (t, r) => t.filter((e) => e.css[r]).map((e) => ({ ...e, css: e.css[r] }));
|
|
160
|
-
function it(t, ...r) {
|
|
161
|
-
const e = Object.getOwnPropertyDescriptors(t), n = Object.keys(e), o = (s) => {
|
|
162
|
-
const a = {};
|
|
163
|
-
for (let l = 0; l < s.length; l++) {
|
|
164
|
-
const d = s[l];
|
|
165
|
-
e[d] && (Object.defineProperty(a, d, e[d]), delete e[d]);
|
|
166
|
-
}
|
|
167
|
-
return a;
|
|
168
|
-
}, i = (s) => o(Array.isArray(s) ? s : n.filter(s));
|
|
169
|
-
return r.map(i).concat(o(n));
|
|
170
|
-
}
|
|
171
|
-
var st = (...t) => {
|
|
172
|
-
const r = t.reduce((e, n) => (n && n.forEach((o) => e.add(o)), e), /* @__PURE__ */ new Set([]));
|
|
173
|
-
return Array.from(r);
|
|
174
|
-
}, P = ["htmlSize", "htmlTranslate", "htmlWidth", "htmlHeight"];
|
|
175
|
-
function at(t) {
|
|
176
|
-
return P.includes(t) ? t.replace("html", "").toLowerCase() : t;
|
|
177
|
-
}
|
|
178
|
-
function lt(t) {
|
|
179
|
-
return Object.fromEntries(Object.entries(t).map(([r, e]) => [at(r), e]));
|
|
180
|
-
}
|
|
181
|
-
lt.keys = P;
|
|
182
|
-
const dt = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_nestedFormElements,_nestedFormLabels,_directNestedFormElements,_directNestedSizedElements,_nestedFieldsExceptFirst,_nestedFieldsExceptLast,_progressBar,_progressValue,_mozProgressValue,_focusVisibleWebkitSliderThumb,_focusVisibleMozRangeThumb,_webkitSliderThumb,_mozRangeThumb,_webkitSliderRunnableTrack,_mozRangeTrack,_directNestedHeadings,_siblingHeadings,_nestedHeadings,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xxl,xxlOnly,xxlDown,xsToSm,xsToMd,xsToLg,xsToXl,xsToXxl,smToMd,smToLg,smToXl,smToXxl,mdToLg,mdToXl,mdToXxl,lgToXl,lgToXxl,xlToXxl,base", I = new Set(dt.split(",")), ct = /^@|&|&$/;
|
|
183
|
-
function w(t) {
|
|
184
|
-
return I.has(t) || ct.test(t);
|
|
185
|
-
}
|
|
186
|
-
const bt = /^_/, gt = /&|@/;
|
|
187
|
-
function mt(t) {
|
|
188
|
-
return t.map((r) => I.has(r) ? r.replace(bt, "") : gt.test(r) ? `[${E(r.trim())}]` : r);
|
|
189
|
-
}
|
|
190
|
-
function pt(t) {
|
|
191
|
-
return t.sort((r, e) => {
|
|
192
|
-
const n = w(r), o = w(e);
|
|
193
|
-
return n && !o ? 1 : !n && o ? -1 : 0;
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
const ut = "aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,focusable:focusable,gutter:gutter,selectChevron:selectChevron,selectChevronRtl:selectChevronRtl,tableChevron:tableChevron,hide:hide,offset:offset,span:span,topLeftTriangle:triangle,checkmark:checkmark,sliderThumb:sliderThumb,noGutter:noGutter,stretch:stretch,textStyle:textStyle,layerStyle:layerStyle,animationStyle:animationStyle", M = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map();
|
|
197
|
-
ut.split(",").forEach((t) => {
|
|
198
|
-
const [r, e] = t.split(":"), [n, ...o] = e.split("/");
|
|
199
|
-
M.set(r, n), o.length && o.forEach((i) => {
|
|
200
|
-
V.set(i === "1" ? n : i, r);
|
|
201
|
-
});
|
|
202
|
-
});
|
|
203
|
-
const C = (t) => V.get(t) || t, A = {
|
|
204
|
-
conditions: {
|
|
205
|
-
shift: pt,
|
|
206
|
-
finalize: mt,
|
|
207
|
-
breakpoints: { keys: ["base", "xs", "sm", "md", "lg", "xl", "xxl"] }
|
|
208
|
-
},
|
|
209
|
-
utility: {
|
|
210
|
-
transform: (t, r) => {
|
|
211
|
-
const e = C(t);
|
|
212
|
-
return { className: `${M.get(e) || et(e)}_${E(r)}` };
|
|
213
|
-
},
|
|
214
|
-
hasShorthand: !0,
|
|
215
|
-
toHash: (t, r) => r(t.join(":")),
|
|
216
|
-
resolveShorthand: C
|
|
217
|
-
}
|
|
218
|
-
}, ft = U(A), z = (...t) => ft(f(...t));
|
|
219
|
-
z.raw = (...t) => f(...t);
|
|
220
|
-
const { mergeCss: f } = Q(A), B = (t) => ({
|
|
221
|
-
base: {},
|
|
222
|
-
variants: {},
|
|
223
|
-
defaultVariants: {},
|
|
224
|
-
compoundVariants: [],
|
|
225
|
-
...t
|
|
226
|
-
});
|
|
227
|
-
function ht(t) {
|
|
228
|
-
const { base: r, variants: e, defaultVariants: n, compoundVariants: o } = B(t), i = (c) => ({ ...n, ...T(c) });
|
|
229
|
-
function s(c = {}) {
|
|
230
|
-
var _;
|
|
231
|
-
const b = i(c);
|
|
232
|
-
let p = { ...r };
|
|
233
|
-
for (const [S, h] of Object.entries(b))
|
|
234
|
-
(_ = e[S]) != null && _[h] && (p = f(p, e[S][h]));
|
|
235
|
-
const u = _t(o, b);
|
|
236
|
-
return f(p, u);
|
|
237
|
-
}
|
|
238
|
-
function a(c) {
|
|
239
|
-
const b = B(c.config), p = st(c.variantKeys, Object.keys(e));
|
|
240
|
-
return ht({
|
|
241
|
-
base: f(r, b.base),
|
|
242
|
-
variants: Object.fromEntries(
|
|
243
|
-
p.map((u) => [u, f(e[u], b.variants[u])])
|
|
244
|
-
),
|
|
245
|
-
defaultVariants: v(n, b.defaultVariants),
|
|
246
|
-
compoundVariants: [...o, ...b.compoundVariants]
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
function l(c) {
|
|
250
|
-
return z(s(c));
|
|
251
|
-
}
|
|
252
|
-
const d = Object.keys(e);
|
|
253
|
-
function g(c) {
|
|
254
|
-
return it(c, d);
|
|
255
|
-
}
|
|
256
|
-
const m = Object.fromEntries(Object.entries(e).map(([c, b]) => [c, Object.keys(b)]));
|
|
257
|
-
return Object.assign(y(l), {
|
|
258
|
-
__cva__: !0,
|
|
259
|
-
variantMap: m,
|
|
260
|
-
variantKeys: d,
|
|
261
|
-
raw: s,
|
|
262
|
-
config: t,
|
|
263
|
-
merge: a,
|
|
264
|
-
splitVariantProps: g,
|
|
265
|
-
getVariantProps: i
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
function _t(t, r) {
|
|
269
|
-
let e = {};
|
|
270
|
-
return t.forEach((n) => {
|
|
271
|
-
Object.entries(n).every(([i, s]) => i === "css" ? !0 : (Array.isArray(s) ? s : [s]).some((l) => r[i] === l)) && (e = f(e, n.css));
|
|
272
|
-
}), e;
|
|
273
|
-
}
|
|
274
|
-
function yt(t, r, e, n) {
|
|
275
|
-
if (r.length > 0 && typeof (e == null ? void 0 : e[n]) == "object")
|
|
276
|
-
throw new Error(`[recipe:${t}:${n}] Conditions are not supported when using compound variants.`);
|
|
277
|
-
}
|
|
278
|
-
export {
|
|
279
|
-
ht as a,
|
|
280
|
-
T as b,
|
|
281
|
-
z as c,
|
|
282
|
-
_t as d,
|
|
283
|
-
U as e,
|
|
284
|
-
mt as f,
|
|
285
|
-
St as g,
|
|
286
|
-
pt as h,
|
|
287
|
-
yt as i,
|
|
288
|
-
nt as j,
|
|
289
|
-
y as m,
|
|
290
|
-
lt as n,
|
|
291
|
-
it as s,
|
|
292
|
-
st as u,
|
|
293
|
-
E as w
|
|
294
|
-
};
|
package/dist/factory-DHLOr79I.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { forwardRef as R, useMemo as w, createElement as $ } from "react";
|
|
2
|
-
import { a as q, s as G, n as h, c as S } from "./cva-B2x59Dph.js";
|
|
3
|
-
import { c as F } from "./cx-DN21T1EH.js";
|
|
4
|
-
import { i as b } from "./is-valid-prop-DFFvE05x.js";
|
|
5
|
-
const I = (s, r) => !r.includes(s) && !b(s), Q = (s, r) => s.__shouldForwardProps__ && r ? (e) => s.__shouldForwardProps__(e) && r(e) : r, U = (s, r) => {
|
|
6
|
-
var t;
|
|
7
|
-
if (s && !r) return s;
|
|
8
|
-
if (!s && r) return r;
|
|
9
|
-
if (s.__cva__ && r.__cva__ || s.__recipe__ && r.__recipe__) return s.merge(r);
|
|
10
|
-
const e = new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");
|
|
11
|
-
throw (t = TypeError.captureStackTrace) == null || t.call(TypeError, e), e;
|
|
12
|
-
}, W = (s) => typeof s == "string" ? s : (s == null ? void 0 : s.displayName) || (s == null ? void 0 : s.name) || "Component";
|
|
13
|
-
function u(s, r = {}, e = {}) {
|
|
14
|
-
const t = r.__cva__ || r.__recipe__ ? r : q(r), N = e.shouldForwardProp || I, i = (y) => N(y, t.variantKeys), x = Object.assign(
|
|
15
|
-
e.dataAttr && r.__name__ ? { "data-recipe": r.__name__ } : {},
|
|
16
|
-
e.defaultProps
|
|
17
|
-
), _ = U(s.__cva__, t), E = Q(s, i), c = s.__base__ || s, o = /* @__PURE__ */ R(function(M, g) {
|
|
18
|
-
const { as: j = c, children: k, ...P } = M, a = w(() => Object.assign({}, x, P), [P]), [K, V, n, m, z] = w(() => G(a, h.keys, E, _.variantKeys, b), [a]);
|
|
19
|
-
function H() {
|
|
20
|
-
var f;
|
|
21
|
-
const { css: l, ...p } = m, d = (f = _.__getCompoundVariantCss__) == null ? void 0 : f.call(_, n);
|
|
22
|
-
return F(_(n, !1), S(d, p, l), a.className);
|
|
23
|
-
}
|
|
24
|
-
function J() {
|
|
25
|
-
const { css: l, ...p } = m, d = _.raw(n);
|
|
26
|
-
return F(S(d, p, l), a.className);
|
|
27
|
-
}
|
|
28
|
-
const L = r.__recipe__ ? H : J;
|
|
29
|
-
return $(j, {
|
|
30
|
-
ref: g,
|
|
31
|
-
...V,
|
|
32
|
-
...z,
|
|
33
|
-
...h(K),
|
|
34
|
-
className: L()
|
|
35
|
-
}, a.children ?? k);
|
|
36
|
-
}), T = W(c);
|
|
37
|
-
return o.displayName = `styled.${T}`, o.__cva__ = _, o.__base__ = c, o.__shouldForwardProps__ = i, o;
|
|
38
|
-
}
|
|
39
|
-
function X() {
|
|
40
|
-
const s = /* @__PURE__ */ new Map();
|
|
41
|
-
return new Proxy(u, {
|
|
42
|
-
apply(r, e, t) {
|
|
43
|
-
return u(...t);
|
|
44
|
-
},
|
|
45
|
-
get(r, e) {
|
|
46
|
-
return s.has(e) || s.set(e, u(e)), s.get(e);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
const A = /* @__PURE__ */ X();
|
|
51
|
-
export {
|
|
52
|
-
A as s
|
|
53
|
-
};
|