@luxonis/common-fe-components 1.18.1 → 1.18.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/dist/components/custom/Alert.d.ts +1 -0
- package/dist/components/custom/Alert.d.ts.map +1 -1
- package/dist/components/custom/Badge.d.ts +1 -0
- package/dist/components/custom/Badge.d.ts.map +1 -1
- package/dist/components/custom/Button.d.ts +2 -2
- package/dist/components/custom/CardList.d.ts.map +1 -1
- package/dist/components/custom/CardList.js +1 -1
- package/dist/components/custom/CardList.js.map +1 -1
- package/dist/components/custom/Checkbox.d.ts.map +1 -1
- package/dist/components/custom/Command.d.ts.map +1 -1
- package/dist/components/custom/Command.js.map +1 -1
- package/dist/components/custom/DropdownMenu.d.ts +922 -826
- package/dist/components/custom/DropdownMenu.d.ts.map +1 -1
- package/dist/components/custom/Dropzone.d.ts +1 -1
- package/dist/components/custom/Dropzone.d.ts.map +1 -1
- package/dist/components/custom/EmptyView.d.ts +1 -0
- package/dist/components/custom/EmptyView.d.ts.map +1 -1
- package/dist/components/custom/ErrorView.d.ts.map +1 -1
- package/dist/components/custom/FilterDropdown.d.ts.map +1 -1
- package/dist/components/custom/Form.d.ts.map +1 -1
- package/dist/components/custom/Icon.d.ts +1 -0
- package/dist/components/custom/Icon.d.ts.map +1 -1
- package/dist/components/custom/IconHelp.d.ts +1 -0
- package/dist/components/custom/IconHelp.d.ts.map +1 -1
- package/dist/components/custom/KpiDisplay.d.ts +1 -0
- package/dist/components/custom/KpiDisplay.d.ts.map +1 -1
- package/dist/components/custom/Markdown.d.ts +1 -0
- package/dist/components/custom/Markdown.d.ts.map +1 -1
- package/dist/components/custom/Modal.d.ts +2 -2
- package/dist/components/custom/Modal.d.ts.map +1 -1
- package/dist/components/custom/Modal.js +2 -2
- package/dist/components/custom/Modal.js.map +1 -1
- package/dist/components/custom/ProgressTicker.d.ts +1 -0
- package/dist/components/custom/ProgressTicker.d.ts.map +1 -1
- package/dist/components/custom/RadioGroup.d.ts +1834 -1642
- package/dist/components/custom/RadioGroup.d.ts.map +1 -1
- package/dist/components/custom/SelectCards.d.ts.map +1 -1
- package/dist/components/custom/Slider.d.ts +1837 -1645
- package/dist/components/custom/Slider.d.ts.map +1 -1
- package/dist/components/custom/SourceCode.d.ts +1 -0
- package/dist/components/custom/SourceCode.d.ts.map +1 -1
- package/dist/components/custom/StatusBar.d.ts +1 -0
- package/dist/components/custom/StatusBar.d.ts.map +1 -1
- package/dist/components/custom/Stepper.d.ts.map +1 -1
- package/dist/components/custom/Text.d.ts.map +1 -1
- package/dist/components/custom/TimePicker.d.ts +1 -0
- package/dist/components/custom/TimePicker.d.ts.map +1 -1
- package/dist/components/custom/Toast.d.ts.map +1 -1
- package/dist/components/custom/Toast.js +1 -1
- package/dist/components/custom/Toast.js.map +1 -1
- package/dist/components/custom/Tooltip.d.ts.map +1 -1
- package/dist/components/custom/Tooltip.js.map +1 -1
- package/dist/components/custom/TurnstileWidget.d.ts +1 -0
- package/dist/components/custom/TurnstileWidget.d.ts.map +1 -1
- package/dist/components/custom/VideoPlayer.d.ts.map +1 -1
- package/dist/components/custom/devices/devices.d.ts.map +1 -1
- package/dist/components/shadow-panda/Accordion.js +1 -1
- package/dist/components/shadow-panda/Accordion.js.map +1 -1
- package/dist/components/shadow-panda/Avatar.d.ts +1 -0
- package/dist/components/shadow-panda/Avatar.d.ts.map +1 -1
- package/dist/components/shadow-panda/Avatar.js +1 -1
- package/dist/components/shadow-panda/Avatar.js.map +1 -1
- package/dist/components/shadow-panda/DropdownMenu.d.ts +3 -3
- package/dist/components/shadow-panda/DropdownMenu.d.ts.map +1 -1
- package/dist/components/shadow-panda/DropdownMenu.js +1 -1
- package/dist/components/shadow-panda/DropdownMenu.js.map +1 -1
- package/dist/components/shadow-panda/Form.d.ts +1 -1
- package/dist/components/shadow-panda/Form.d.ts.map +1 -1
- package/dist/components/shadow-panda/Tabs.d.ts +1 -0
- package/dist/components/shadow-panda/Tabs.d.ts.map +1 -1
- package/dist/components/shadow-panda/Tabs.js +1 -1
- package/dist/components/shadow-panda/Tabs.js.map +1 -1
- package/dist/components/shadow-panda/_Alert.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Button.d.ts +1 -1
- package/dist/components/shadow-panda/_Button.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Command.d.ts +25 -25
- package/dist/components/shadow-panda/_Command.js +1 -1
- package/dist/components/shadow-panda/_Command.js.map +1 -1
- package/dist/components/shadow-panda/_Dialog.js +1 -1
- package/dist/components/shadow-panda/_Dialog.js.map +1 -1
- package/dist/components/shadow-panda/_RadioGroup.js +1 -1
- package/dist/components/shadow-panda/_RadioGroup.js.map +1 -1
- package/dist/components/shadow-panda/_Select.js +1 -1
- package/dist/components/shadow-panda/_Select.js.map +1 -1
- package/dist/components/shadow-panda/_Slider.d.ts +6 -6
- package/dist/components/shadow-panda/_Slider.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Toast.d.ts +1 -0
- package/dist/components/shadow-panda/_Toast.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Tooltip.d.ts +1 -0
- package/dist/components/shadow-panda/_Tooltip.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Tooltip.js +1 -1
- package/dist/components/shadow-panda/_Tooltip.js.map +1 -1
- package/dist/components/skeletons/Button.d.ts.map +1 -1
- package/dist/components/skeletons/Grid.d.ts +5 -5
- package/dist/components/skeletons/Grid.d.ts.map +1 -1
- package/dist/components/skeletons/Grid.js +12 -9
- package/dist/components/skeletons/Grid.js.map +1 -1
- package/dist/components/skeletons/Input.d.ts.map +1 -1
- package/dist/components/skeletons/Table.d.ts.map +1 -1
- package/dist/components/skeletons/Textarea.d.ts.map +1 -1
- package/dist/hooks/dropzone.d.ts.map +1 -1
- package/dist/hooks/modal.d.ts.map +1 -1
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/use-translations.d.ts +1 -0
- package/dist/hooks/use-translations.d.ts.map +1 -1
- package/dist/icons/style-provider.d.ts.map +1 -1
- package/dist/icons/svg/AccessDenied.d.ts +1 -0
- package/dist/icons/svg/AccessDenied.d.ts.map +1 -1
- package/dist/icons/svg/Empty.d.ts +1 -0
- package/dist/icons/svg/Empty.d.ts.map +1 -1
- package/dist/icons/svg/Error.d.ts +1 -0
- package/dist/icons/svg/Error.d.ts.map +1 -1
- package/dist/icons/svg/Logo.d.ts +1 -1
- package/dist/icons/svg/Logo.d.ts.map +1 -1
- package/dist/panda.buildinfo.json +25 -16
- package/dist/panda.css +1683 -1622
- package/dist/panda.d.ts.map +1 -1
- package/dist/panda.js +2 -1
- package/dist/panda.js.map +1 -1
- package/dist/styled-system/css/conditions.mjs +4 -2
- package/dist/styled-system/css/css.d.mts +15 -2
- package/dist/styled-system/css/css.mjs +2 -1
- package/dist/styled-system/css/cva.d.mts +1 -1
- package/dist/styled-system/css/cva.mjs +5 -3
- package/dist/styled-system/css/sva.mjs +9 -3
- package/dist/styled-system/helpers.mjs +90 -54
- package/dist/styled-system/jsx/aspect-ratio.mjs +1 -1
- package/dist/styled-system/jsx/bleed.mjs +1 -1
- package/dist/styled-system/jsx/box.mjs +1 -1
- package/dist/styled-system/jsx/center.mjs +1 -1
- package/dist/styled-system/jsx/circle.mjs +1 -1
- package/dist/styled-system/jsx/container.mjs +1 -1
- package/dist/styled-system/jsx/cq.d.mts +10 -0
- package/dist/styled-system/jsx/cq.mjs +14 -0
- package/dist/styled-system/jsx/divider.mjs +1 -1
- package/dist/styled-system/jsx/factory.mjs +8 -7
- package/dist/styled-system/jsx/flex.mjs +1 -1
- package/dist/styled-system/jsx/float.mjs +1 -1
- package/dist/styled-system/jsx/grid-item.mjs +1 -1
- package/dist/styled-system/jsx/grid.mjs +1 -1
- package/dist/styled-system/jsx/hstack.mjs +1 -1
- package/dist/styled-system/jsx/index.d.mts +1 -1
- package/dist/styled-system/jsx/index.mjs +2 -2
- package/dist/styled-system/jsx/is-valid-prop.d.mts +7 -1
- package/dist/styled-system/jsx/is-valid-prop.mjs +3 -3
- package/dist/styled-system/jsx/link-overlay.mjs +1 -1
- package/dist/styled-system/jsx/spacer.mjs +1 -1
- package/dist/styled-system/jsx/square.mjs +1 -1
- package/dist/styled-system/jsx/stack.mjs +1 -1
- package/dist/styled-system/jsx/visually-hidden.mjs +1 -1
- package/dist/styled-system/jsx/vstack.mjs +1 -1
- package/dist/styled-system/jsx/wrap.mjs +1 -1
- package/dist/styled-system/patterns/aspect-ratio.d.mts +1 -1
- package/dist/styled-system/patterns/aspect-ratio.mjs +5 -2
- package/dist/styled-system/patterns/bleed.d.mts +3 -3
- package/dist/styled-system/patterns/bleed.mjs +12 -7
- package/dist/styled-system/patterns/box.d.mts +1 -1
- package/dist/styled-system/patterns/box.mjs +5 -2
- package/dist/styled-system/patterns/center.d.mts +1 -1
- package/dist/styled-system/patterns/center.mjs +5 -2
- package/dist/styled-system/patterns/circle.d.mts +2 -2
- package/dist/styled-system/patterns/circle.mjs +5 -2
- package/dist/styled-system/patterns/container.d.mts +1 -1
- package/dist/styled-system/patterns/container.mjs +5 -2
- package/dist/styled-system/patterns/cq.d.mts +22 -0
- package/dist/styled-system/patterns/cq.mjs +21 -0
- package/dist/styled-system/patterns/divider.d.mts +1 -1
- package/dist/styled-system/patterns/divider.mjs +8 -4
- package/dist/styled-system/patterns/flex.d.mts +8 -8
- package/dist/styled-system/patterns/flex.mjs +5 -2
- package/dist/styled-system/patterns/float.d.mts +1 -1
- package/dist/styled-system/patterns/float.mjs +10 -3
- package/dist/styled-system/patterns/grid-item.d.mts +1 -1
- package/dist/styled-system/patterns/grid-item.mjs +5 -2
- package/dist/styled-system/patterns/grid.d.mts +4 -4
- package/dist/styled-system/patterns/grid.mjs +11 -6
- package/dist/styled-system/patterns/hstack.d.mts +3 -3
- package/dist/styled-system/patterns/hstack.mjs +8 -4
- package/dist/styled-system/patterns/index.d.mts +2 -2
- package/dist/styled-system/patterns/index.mjs +2 -2
- package/dist/styled-system/patterns/link-overlay.d.mts +1 -1
- package/dist/styled-system/patterns/link-overlay.mjs +5 -5
- package/dist/styled-system/patterns/spacer.d.mts +1 -1
- package/dist/styled-system/patterns/spacer.mjs +5 -2
- package/dist/styled-system/patterns/square.d.mts +2 -2
- package/dist/styled-system/patterns/square.mjs +5 -2
- package/dist/styled-system/patterns/stack.d.mts +5 -5
- package/dist/styled-system/patterns/stack.mjs +8 -4
- package/dist/styled-system/patterns/visually-hidden.d.mts +1 -1
- package/dist/styled-system/patterns/visually-hidden.mjs +5 -2
- package/dist/styled-system/patterns/vstack.d.mts +3 -3
- package/dist/styled-system/patterns/vstack.mjs +8 -4
- package/dist/styled-system/patterns/wrap.d.mts +6 -6
- package/dist/styled-system/patterns/wrap.mjs +5 -2
- package/dist/styled-system/recipes/accordion.d.mts +6 -1
- package/dist/styled-system/recipes/accordion.mjs +6 -4
- package/dist/styled-system/recipes/alert-description.d.mts +6 -1
- package/dist/styled-system/recipes/alert-description.mjs +4 -2
- package/dist/styled-system/recipes/alert-dialog.d.mts +6 -1
- package/dist/styled-system/recipes/alert-dialog.mjs +6 -4
- package/dist/styled-system/recipes/alert-title.d.mts +6 -1
- package/dist/styled-system/recipes/alert-title.mjs +4 -2
- package/dist/styled-system/recipes/alert.d.mts +10 -2
- package/dist/styled-system/recipes/alert.mjs +4 -2
- package/dist/styled-system/recipes/avatar.d.mts +6 -1
- package/dist/styled-system/recipes/avatar.mjs +6 -4
- package/dist/styled-system/recipes/badge.d.mts +10 -2
- package/dist/styled-system/recipes/badge.mjs +4 -2
- package/dist/styled-system/recipes/blockquote.d.mts +6 -1
- package/dist/styled-system/recipes/blockquote.mjs +4 -2
- package/dist/styled-system/recipes/button.d.mts +13 -2
- package/dist/styled-system/recipes/button.mjs +4 -2
- package/dist/styled-system/recipes/calendar.d.mts +6 -1
- package/dist/styled-system/recipes/calendar.mjs +6 -4
- package/dist/styled-system/recipes/card-content.d.mts +6 -1
- package/dist/styled-system/recipes/card-content.mjs +4 -2
- package/dist/styled-system/recipes/card-description.d.mts +6 -1
- package/dist/styled-system/recipes/card-description.mjs +4 -2
- package/dist/styled-system/recipes/card-footer.d.mts +6 -1
- package/dist/styled-system/recipes/card-footer.mjs +4 -2
- package/dist/styled-system/recipes/card-header.d.mts +6 -1
- package/dist/styled-system/recipes/card-header.mjs +4 -2
- package/dist/styled-system/recipes/card-title.d.mts +6 -1
- package/dist/styled-system/recipes/card-title.mjs +4 -2
- package/dist/styled-system/recipes/card.d.mts +6 -1
- package/dist/styled-system/recipes/card.mjs +4 -2
- package/dist/styled-system/recipes/checkbox.d.mts +6 -1
- package/dist/styled-system/recipes/checkbox.mjs +6 -4
- package/dist/styled-system/recipes/collapsible.d.mts +6 -1
- package/dist/styled-system/recipes/collapsible.mjs +6 -4
- package/dist/styled-system/recipes/command-dialog.d.mts +6 -1
- package/dist/styled-system/recipes/command-dialog.mjs +6 -4
- package/dist/styled-system/recipes/command.d.mts +6 -1
- package/dist/styled-system/recipes/command.mjs +6 -4
- package/dist/styled-system/recipes/context-menu.d.mts +10 -2
- package/dist/styled-system/recipes/context-menu.mjs +6 -4
- package/dist/styled-system/recipes/create-recipe.mjs +8 -5
- package/dist/styled-system/recipes/dialog.d.mts +6 -1
- package/dist/styled-system/recipes/dialog.mjs +6 -4
- package/dist/styled-system/recipes/dropdown-menu.d.mts +6 -1
- package/dist/styled-system/recipes/dropdown-menu.mjs +6 -4
- package/dist/styled-system/recipes/form-control.d.mts +6 -1
- package/dist/styled-system/recipes/form-control.mjs +4 -2
- package/dist/styled-system/recipes/form-description.d.mts +6 -1
- package/dist/styled-system/recipes/form-description.mjs +4 -2
- package/dist/styled-system/recipes/form-item.d.mts +6 -1
- package/dist/styled-system/recipes/form-item.mjs +4 -2
- package/dist/styled-system/recipes/form-label.d.mts +6 -1
- package/dist/styled-system/recipes/form-label.mjs +4 -2
- package/dist/styled-system/recipes/form-message.d.mts +6 -1
- package/dist/styled-system/recipes/form-message.mjs +4 -2
- package/dist/styled-system/recipes/h1.d.mts +6 -1
- package/dist/styled-system/recipes/h1.mjs +4 -2
- package/dist/styled-system/recipes/h2.d.mts +6 -1
- package/dist/styled-system/recipes/h2.mjs +4 -2
- package/dist/styled-system/recipes/h3.d.mts +6 -1
- package/dist/styled-system/recipes/h3.mjs +4 -2
- package/dist/styled-system/recipes/h4.d.mts +6 -1
- package/dist/styled-system/recipes/h4.mjs +4 -2
- package/dist/styled-system/recipes/hover-card.d.mts +6 -1
- package/dist/styled-system/recipes/hover-card.mjs +6 -4
- package/dist/styled-system/recipes/icon.d.mts +22 -2
- package/dist/styled-system/recipes/icon.mjs +4 -2
- package/dist/styled-system/recipes/inline-code.d.mts +6 -1
- package/dist/styled-system/recipes/inline-code.mjs +4 -2
- package/dist/styled-system/recipes/input.d.mts +6 -1
- package/dist/styled-system/recipes/input.mjs +4 -2
- package/dist/styled-system/recipes/label.d.mts +6 -1
- package/dist/styled-system/recipes/label.mjs +4 -2
- package/dist/styled-system/recipes/large.d.mts +6 -1
- package/dist/styled-system/recipes/large.mjs +4 -2
- package/dist/styled-system/recipes/lead.d.mts +6 -1
- package/dist/styled-system/recipes/lead.mjs +4 -2
- package/dist/styled-system/recipes/link.d.mts +6 -1
- package/dist/styled-system/recipes/link.mjs +4 -2
- package/dist/styled-system/recipes/list.d.mts +6 -1
- package/dist/styled-system/recipes/list.mjs +4 -2
- package/dist/styled-system/recipes/menubar.d.mts +6 -1
- package/dist/styled-system/recipes/menubar.mjs +6 -4
- package/dist/styled-system/recipes/muted.d.mts +6 -1
- package/dist/styled-system/recipes/muted.mjs +4 -2
- package/dist/styled-system/recipes/navigation-menu.d.mts +6 -1
- package/dist/styled-system/recipes/navigation-menu.mjs +6 -4
- package/dist/styled-system/recipes/p.d.mts +6 -1
- package/dist/styled-system/recipes/p.mjs +4 -2
- package/dist/styled-system/recipes/popover.d.mts +6 -1
- package/dist/styled-system/recipes/popover.mjs +6 -4
- package/dist/styled-system/recipes/progress.d.mts +6 -1
- package/dist/styled-system/recipes/progress.mjs +6 -4
- package/dist/styled-system/recipes/radio-group.d.mts +6 -1
- package/dist/styled-system/recipes/radio-group.mjs +6 -4
- package/dist/styled-system/recipes/scroll-area.d.mts +6 -1
- package/dist/styled-system/recipes/scroll-area.mjs +6 -4
- package/dist/styled-system/recipes/select.d.mts +6 -1
- package/dist/styled-system/recipes/select.mjs +6 -4
- package/dist/styled-system/recipes/separator.d.mts +10 -2
- package/dist/styled-system/recipes/separator.mjs +4 -2
- package/dist/styled-system/recipes/sheet.d.mts +10 -2
- package/dist/styled-system/recipes/sheet.mjs +6 -4
- package/dist/styled-system/recipes/skeleton.d.mts +6 -1
- package/dist/styled-system/recipes/skeleton.mjs +4 -2
- package/dist/styled-system/recipes/slider.d.mts +6 -1
- package/dist/styled-system/recipes/slider.mjs +6 -4
- package/dist/styled-system/recipes/small.d.mts +6 -1
- package/dist/styled-system/recipes/small.mjs +4 -2
- package/dist/styled-system/recipes/switch-recipe.d.mts +6 -1
- package/dist/styled-system/recipes/switch-recipe.mjs +6 -4
- package/dist/styled-system/recipes/table-body.d.mts +6 -1
- package/dist/styled-system/recipes/table-body.mjs +4 -2
- package/dist/styled-system/recipes/table-caption.d.mts +6 -1
- package/dist/styled-system/recipes/table-caption.mjs +4 -2
- package/dist/styled-system/recipes/table-cell.d.mts +6 -1
- package/dist/styled-system/recipes/table-cell.mjs +4 -2
- package/dist/styled-system/recipes/table-container.d.mts +6 -1
- package/dist/styled-system/recipes/table-container.mjs +4 -2
- package/dist/styled-system/recipes/table-footer.d.mts +6 -1
- package/dist/styled-system/recipes/table-footer.mjs +4 -2
- package/dist/styled-system/recipes/table-head.d.mts +6 -1
- package/dist/styled-system/recipes/table-head.mjs +4 -2
- package/dist/styled-system/recipes/table-header.d.mts +6 -1
- package/dist/styled-system/recipes/table-header.mjs +4 -2
- package/dist/styled-system/recipes/table-row.d.mts +6 -1
- package/dist/styled-system/recipes/table-row.mjs +4 -2
- package/dist/styled-system/recipes/table.d.mts +6 -1
- package/dist/styled-system/recipes/table.mjs +4 -2
- package/dist/styled-system/recipes/tabs.d.mts +6 -1
- package/dist/styled-system/recipes/tabs.mjs +6 -4
- package/dist/styled-system/recipes/textarea.d.mts +6 -1
- package/dist/styled-system/recipes/textarea.mjs +4 -2
- package/dist/styled-system/recipes/toast-viewport.d.mts +6 -1
- package/dist/styled-system/recipes/toast-viewport.mjs +4 -2
- package/dist/styled-system/recipes/toast.d.mts +10 -2
- package/dist/styled-system/recipes/toast.mjs +6 -4
- package/dist/styled-system/recipes/toggle.d.mts +13 -2
- package/dist/styled-system/recipes/toggle.mjs +4 -2
- package/dist/styled-system/recipes/tooltip.d.mts +6 -1
- package/dist/styled-system/recipes/tooltip.mjs +6 -4
- package/dist/styled-system/recipes/typography-table-container.d.mts +6 -1
- package/dist/styled-system/recipes/typography-table-container.mjs +4 -2
- package/dist/styled-system/recipes/typography-table.d.mts +6 -1
- package/dist/styled-system/recipes/typography-table.mjs +4 -2
- package/dist/styled-system/tokens/index.mjs +1711 -1683
- package/dist/styled-system/tokens/tokens.d.mts +20 -20
- package/dist/styled-system/types/composition.d.mts +65 -12
- package/dist/styled-system/types/conditions.d.mts +98 -44
- package/dist/styled-system/types/global.d.mts +1 -0
- package/dist/styled-system/types/jsx.d.mts +1 -1
- package/dist/styled-system/types/pattern.d.mts +17 -2
- package/dist/styled-system/types/prop-type.d.mts +58 -231
- package/dist/styled-system/types/recipe.d.mts +33 -10
- package/dist/styled-system/types/selectors.d.mts +1 -1
- package/dist/styled-system/types/static-css.d.mts +13 -4
- package/dist/styled-system/types/style-props.d.mts +7541 -678
- package/dist/styled-system/types/system-types.d.mts +111 -11
- package/dist/translations/i18n-react.d.ts +1 -0
- package/dist/translations/i18n-react.d.ts.map +1 -1
- package/dist/translations/i18n-util.async.d.ts.map +1 -1
- package/dist/translations/i18n-util.d.ts +2 -2
- package/dist/translations/i18n-util.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/components/custom/oak4/oak4-device-info.d.ts +0 -13
- package/dist/components/custom/oak4/oak4-device-info.d.ts.map +0 -1
- package/dist/components/custom/oak4/oak4-device-info.js +0 -100
- package/dist/components/custom/oak4/oak4-device-info.js.map +0 -1
- package/dist/components/custom/oak4/oak4-model.d.ts +0 -4
- package/dist/components/custom/oak4/oak4-model.d.ts.map +0 -1
- package/dist/components/custom/oak4/oak4-model.js +0 -3
- package/dist/components/custom/oak4/oak4-model.js.map +0 -1
- package/dist/styled-system/jsx/link-box.d.mts +0 -10
- package/dist/styled-system/jsx/link-box.mjs +0 -14
- package/dist/styled-system/patterns/link-box.d.mts +0 -21
- package/dist/styled-system/patterns/link-box.mjs +0 -19
- package/dist/styled-system/recipes/create-recipe.d.mts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const inputFn = /* @__PURE__ */ createRecipe('input', {}, [])
|
|
@@ -7,9 +7,10 @@ const inputVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const inputVariantKeys = Object.keys(inputVariantMap)
|
|
9
9
|
|
|
10
|
-
export const input = /* @__PURE__ */ Object.assign(inputFn, {
|
|
10
|
+
export const input = /* @__PURE__ */ Object.assign(memo(inputFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'input',
|
|
13
|
+
__getCompoundVariantCss__: inputFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: inputVariantKeys,
|
|
15
16
|
variantMap: inputVariantMap,
|
|
@@ -19,4 +20,5 @@ export const input = /* @__PURE__ */ Object.assign(inputFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, inputVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: inputFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface LabelRecipe {
|
|
|
21
21
|
variantMap: LabelVariantMap
|
|
22
22
|
variantKeys: Array<keyof LabelVariant>
|
|
23
23
|
splitVariantProps<Props extends LabelVariantProps>(props: Props): [LabelVariantProps, Pretty<DistributiveOmit<Props, keyof LabelVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: LabelVariantProps) => LabelVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Label component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const label: LabelRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const labelFn = /* @__PURE__ */ createRecipe('label', {}, [])
|
|
@@ -7,9 +7,10 @@ const labelVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const labelVariantKeys = Object.keys(labelVariantMap)
|
|
9
9
|
|
|
10
|
-
export const label = /* @__PURE__ */ Object.assign(labelFn, {
|
|
10
|
+
export const label = /* @__PURE__ */ Object.assign(memo(labelFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'label',
|
|
13
|
+
__getCompoundVariantCss__: labelFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: labelVariantKeys,
|
|
15
16
|
variantMap: labelVariantMap,
|
|
@@ -19,4 +20,5 @@ export const label = /* @__PURE__ */ Object.assign(labelFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, labelVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: labelFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface LargeRecipe {
|
|
|
21
21
|
variantMap: LargeVariantMap
|
|
22
22
|
variantKeys: Array<keyof LargeVariant>
|
|
23
23
|
splitVariantProps<Props extends LargeVariantProps>(props: Props): [LargeVariantProps, Pretty<DistributiveOmit<Props, keyof LargeVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: LargeVariantProps) => LargeVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - Large style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const large: LargeRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const largeFn = /* @__PURE__ */ createRecipe('large', {}, [])
|
|
@@ -7,9 +7,10 @@ const largeVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const largeVariantKeys = Object.keys(largeVariantMap)
|
|
9
9
|
|
|
10
|
-
export const large = /* @__PURE__ */ Object.assign(largeFn, {
|
|
10
|
+
export const large = /* @__PURE__ */ Object.assign(memo(largeFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'large',
|
|
13
|
+
__getCompoundVariantCss__: largeFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: largeVariantKeys,
|
|
15
16
|
variantMap: largeVariantMap,
|
|
@@ -19,4 +20,5 @@ export const large = /* @__PURE__ */ Object.assign(largeFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, largeVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: largeFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface LeadRecipe {
|
|
|
21
21
|
variantMap: LeadVariantMap
|
|
22
22
|
variantKeys: Array<keyof LeadVariant>
|
|
23
23
|
splitVariantProps<Props extends LeadVariantProps>(props: Props): [LeadVariantProps, Pretty<DistributiveOmit<Props, keyof LeadVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: LeadVariantProps) => LeadVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - Lead style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const lead: LeadRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const leadFn = /* @__PURE__ */ createRecipe('lead', {}, [])
|
|
@@ -7,9 +7,10 @@ const leadVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const leadVariantKeys = Object.keys(leadVariantMap)
|
|
9
9
|
|
|
10
|
-
export const lead = /* @__PURE__ */ Object.assign(leadFn, {
|
|
10
|
+
export const lead = /* @__PURE__ */ Object.assign(memo(leadFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'lead',
|
|
13
|
+
__getCompoundVariantCss__: leadFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: leadVariantKeys,
|
|
15
16
|
variantMap: leadVariantMap,
|
|
@@ -19,4 +20,5 @@ export const lead = /* @__PURE__ */ Object.assign(leadFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, leadVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: leadFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface LinkRecipe {
|
|
|
21
21
|
variantMap: LinkVariantMap
|
|
22
22
|
variantKeys: Array<keyof LinkVariant>
|
|
23
23
|
splitVariantProps<Props extends LinkVariantProps>(props: Props): [LinkVariantProps, Pretty<DistributiveOmit<Props, keyof LinkVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: LinkVariantProps) => LinkVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - Link style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const link: LinkRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const linkFn = /* @__PURE__ */ createRecipe('link', {}, [])
|
|
@@ -7,9 +7,10 @@ const linkVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const linkVariantKeys = Object.keys(linkVariantMap)
|
|
9
9
|
|
|
10
|
-
export const link = /* @__PURE__ */ Object.assign(linkFn, {
|
|
10
|
+
export const link = /* @__PURE__ */ Object.assign(memo(linkFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'link',
|
|
13
|
+
__getCompoundVariantCss__: linkFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: linkVariantKeys,
|
|
15
16
|
variantMap: linkVariantMap,
|
|
@@ -19,4 +20,5 @@ export const link = /* @__PURE__ */ Object.assign(linkFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, linkVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: linkFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface ListRecipe {
|
|
|
21
21
|
variantMap: ListVariantMap
|
|
22
22
|
variantKeys: Array<keyof ListVariant>
|
|
23
23
|
splitVariantProps<Props extends ListVariantProps>(props: Props): [ListVariantProps, Pretty<DistributiveOmit<Props, keyof ListVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ListVariantProps) => ListVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - list style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const list: ListRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const listFn = /* @__PURE__ */ createRecipe('list', {}, [])
|
|
@@ -7,9 +7,10 @@ const listVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const listVariantKeys = Object.keys(listVariantMap)
|
|
9
9
|
|
|
10
|
-
export const list = /* @__PURE__ */ Object.assign(listFn, {
|
|
10
|
+
export const list = /* @__PURE__ */ Object.assign(memo(listFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'list',
|
|
13
|
+
__getCompoundVariantCss__: listFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: listVariantKeys,
|
|
15
16
|
variantMap: listVariantMap,
|
|
@@ -19,4 +20,5 @@ export const list = /* @__PURE__ */ Object.assign(listFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, listVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: listFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface MenubarRecipe {
|
|
|
21
21
|
variantMap: MenubarVariantMap
|
|
22
22
|
variantKeys: Array<keyof MenubarVariant>
|
|
23
23
|
splitVariantProps<Props extends MenubarVariantProps>(props: Props): [MenubarVariantProps, Pretty<DistributiveOmit<Props, keyof MenubarVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: MenubarVariantProps) => MenubarVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Menubar component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const menubar: MenubarRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const menubarDefaultVariants = {}
|
|
@@ -144,11 +144,12 @@ const menubarSlotNames = [
|
|
|
144
144
|
]
|
|
145
145
|
const menubarSlotFns = /* @__PURE__ */ menubarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, menubarDefaultVariants, getSlotCompoundVariant(menubarCompoundVariants, slotName))])
|
|
146
146
|
|
|
147
|
-
const menubarFn = (props = {}) => {
|
|
148
|
-
return Object.fromEntries(menubarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
149
|
-
}
|
|
147
|
+
const menubarFn = memo((props = {}) => {
|
|
148
|
+
return Object.fromEntries(menubarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
149
|
+
})
|
|
150
150
|
|
|
151
151
|
const menubarVariantKeys = []
|
|
152
|
+
const getVariantProps = (variants) => ({ ...menubarDefaultVariants, ...compact(variants) })
|
|
152
153
|
|
|
153
154
|
export const menubar = /* @__PURE__ */ Object.assign(menubarFn, {
|
|
154
155
|
__recipe__: false,
|
|
@@ -159,4 +160,5 @@ export const menubar = /* @__PURE__ */ Object.assign(menubarFn, {
|
|
|
159
160
|
splitVariantProps(props) {
|
|
160
161
|
return splitProps(props, menubarVariantKeys)
|
|
161
162
|
},
|
|
163
|
+
getVariantProps
|
|
162
164
|
})
|
|
@@ -21,7 +21,12 @@ export interface MutedRecipe {
|
|
|
21
21
|
variantMap: MutedVariantMap
|
|
22
22
|
variantKeys: Array<keyof MutedVariant>
|
|
23
23
|
splitVariantProps<Props extends MutedVariantProps>(props: Props): [MutedVariantProps, Pretty<DistributiveOmit<Props, keyof MutedVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: MutedVariantProps) => MutedVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - Muted style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const muted: MutedRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const mutedFn = /* @__PURE__ */ createRecipe('muted', {}, [])
|
|
@@ -7,9 +7,10 @@ const mutedVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const mutedVariantKeys = Object.keys(mutedVariantMap)
|
|
9
9
|
|
|
10
|
-
export const muted = /* @__PURE__ */ Object.assign(mutedFn, {
|
|
10
|
+
export const muted = /* @__PURE__ */ Object.assign(memo(mutedFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'muted',
|
|
13
|
+
__getCompoundVariantCss__: mutedFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: mutedVariantKeys,
|
|
15
16
|
variantMap: mutedVariantMap,
|
|
@@ -19,4 +20,5 @@ export const muted = /* @__PURE__ */ Object.assign(mutedFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, mutedVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: mutedFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface NavigationMenuRecipe {
|
|
|
21
21
|
variantMap: NavigationMenuVariantMap
|
|
22
22
|
variantKeys: Array<keyof NavigationMenuVariant>
|
|
23
23
|
splitVariantProps<Props extends NavigationMenuVariantProps>(props: Props): [NavigationMenuVariantProps, Pretty<DistributiveOmit<Props, keyof NavigationMenuVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: NavigationMenuVariantProps) => NavigationMenuVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the NavigationMenu component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const navigationMenu: NavigationMenuRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const navigationMenuDefaultVariants = {}
|
|
@@ -80,11 +80,12 @@ const navigationMenuSlotNames = [
|
|
|
80
80
|
]
|
|
81
81
|
const navigationMenuSlotFns = /* @__PURE__ */ navigationMenuSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, navigationMenuDefaultVariants, getSlotCompoundVariant(navigationMenuCompoundVariants, slotName))])
|
|
82
82
|
|
|
83
|
-
const navigationMenuFn = (props = {}) => {
|
|
84
|
-
return Object.fromEntries(navigationMenuSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
85
|
-
}
|
|
83
|
+
const navigationMenuFn = memo((props = {}) => {
|
|
84
|
+
return Object.fromEntries(navigationMenuSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
85
|
+
})
|
|
86
86
|
|
|
87
87
|
const navigationMenuVariantKeys = []
|
|
88
|
+
const getVariantProps = (variants) => ({ ...navigationMenuDefaultVariants, ...compact(variants) })
|
|
88
89
|
|
|
89
90
|
export const navigationMenu = /* @__PURE__ */ Object.assign(navigationMenuFn, {
|
|
90
91
|
__recipe__: false,
|
|
@@ -95,4 +96,5 @@ export const navigationMenu = /* @__PURE__ */ Object.assign(navigationMenuFn, {
|
|
|
95
96
|
splitVariantProps(props) {
|
|
96
97
|
return splitProps(props, navigationMenuVariantKeys)
|
|
97
98
|
},
|
|
99
|
+
getVariantProps
|
|
98
100
|
})
|
|
@@ -21,7 +21,12 @@ export interface PRecipe {
|
|
|
21
21
|
variantMap: PVariantMap
|
|
22
22
|
variantKeys: Array<keyof PVariant>
|
|
23
23
|
splitVariantProps<Props extends PVariantProps>(props: Props): [PVariantProps, Pretty<DistributiveOmit<Props, keyof PVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: PVariantProps) => PVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - p style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const p: PRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const pFn = /* @__PURE__ */ createRecipe('p', {}, [])
|
|
@@ -7,9 +7,10 @@ const pVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const pVariantKeys = Object.keys(pVariantMap)
|
|
9
9
|
|
|
10
|
-
export const p = /* @__PURE__ */ Object.assign(pFn, {
|
|
10
|
+
export const p = /* @__PURE__ */ Object.assign(memo(pFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'p',
|
|
13
|
+
__getCompoundVariantCss__: pFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: pVariantKeys,
|
|
15
16
|
variantMap: pVariantMap,
|
|
@@ -19,4 +20,5 @@ export const p = /* @__PURE__ */ Object.assign(pFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, pVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: pFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface PopoverRecipe {
|
|
|
21
21
|
variantMap: PopoverVariantMap
|
|
22
22
|
variantKeys: Array<keyof PopoverVariant>
|
|
23
23
|
splitVariantProps<Props extends PopoverVariantProps>(props: Props): [PopoverVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: PopoverVariantProps) => PopoverVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Popover component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const popover: PopoverRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const popoverDefaultVariants = {}
|
|
@@ -40,11 +40,12 @@ const popoverSlotNames = [
|
|
|
40
40
|
]
|
|
41
41
|
const popoverSlotFns = /* @__PURE__ */ popoverSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, popoverDefaultVariants, getSlotCompoundVariant(popoverCompoundVariants, slotName))])
|
|
42
42
|
|
|
43
|
-
const popoverFn = (props = {}) => {
|
|
44
|
-
return Object.fromEntries(popoverSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
45
|
-
}
|
|
43
|
+
const popoverFn = memo((props = {}) => {
|
|
44
|
+
return Object.fromEntries(popoverSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
45
|
+
})
|
|
46
46
|
|
|
47
47
|
const popoverVariantKeys = []
|
|
48
|
+
const getVariantProps = (variants) => ({ ...popoverDefaultVariants, ...compact(variants) })
|
|
48
49
|
|
|
49
50
|
export const popover = /* @__PURE__ */ Object.assign(popoverFn, {
|
|
50
51
|
__recipe__: false,
|
|
@@ -55,4 +56,5 @@ export const popover = /* @__PURE__ */ Object.assign(popoverFn, {
|
|
|
55
56
|
splitVariantProps(props) {
|
|
56
57
|
return splitProps(props, popoverVariantKeys)
|
|
57
58
|
},
|
|
59
|
+
getVariantProps
|
|
58
60
|
})
|
|
@@ -21,7 +21,12 @@ export interface ProgressRecipe {
|
|
|
21
21
|
variantMap: ProgressVariantMap
|
|
22
22
|
variantKeys: Array<keyof ProgressVariant>
|
|
23
23
|
splitVariantProps<Props extends ProgressVariantProps>(props: Props): [ProgressVariantProps, Pretty<DistributiveOmit<Props, keyof ProgressVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ProgressVariantProps) => ProgressVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Progress component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const progress: ProgressRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const progressDefaultVariants = {}
|
|
@@ -24,11 +24,12 @@ const progressSlotNames = [
|
|
|
24
24
|
]
|
|
25
25
|
const progressSlotFns = /* @__PURE__ */ progressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))])
|
|
26
26
|
|
|
27
|
-
const progressFn = (props = {}) => {
|
|
28
|
-
return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
29
|
-
}
|
|
27
|
+
const progressFn = memo((props = {}) => {
|
|
28
|
+
return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
29
|
+
})
|
|
30
30
|
|
|
31
31
|
const progressVariantKeys = []
|
|
32
|
+
const getVariantProps = (variants) => ({ ...progressDefaultVariants, ...compact(variants) })
|
|
32
33
|
|
|
33
34
|
export const progress = /* @__PURE__ */ Object.assign(progressFn, {
|
|
34
35
|
__recipe__: false,
|
|
@@ -39,4 +40,5 @@ export const progress = /* @__PURE__ */ Object.assign(progressFn, {
|
|
|
39
40
|
splitVariantProps(props) {
|
|
40
41
|
return splitProps(props, progressVariantKeys)
|
|
41
42
|
},
|
|
43
|
+
getVariantProps
|
|
42
44
|
})
|
|
@@ -21,7 +21,12 @@ export interface RadioGroupRecipe {
|
|
|
21
21
|
variantMap: RadioGroupVariantMap
|
|
22
22
|
variantKeys: Array<keyof RadioGroupVariant>
|
|
23
23
|
splitVariantProps<Props extends RadioGroupVariantProps>(props: Props): [RadioGroupVariantProps, Pretty<DistributiveOmit<Props, keyof RadioGroupVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: RadioGroupVariantProps) => RadioGroupVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the RadioGroup component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const radioGroup: RadioGroupRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const radioGroupDefaultVariants = {}
|
|
@@ -40,11 +40,12 @@ const radioGroupSlotNames = [
|
|
|
40
40
|
]
|
|
41
41
|
const radioGroupSlotFns = /* @__PURE__ */ radioGroupSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, radioGroupDefaultVariants, getSlotCompoundVariant(radioGroupCompoundVariants, slotName))])
|
|
42
42
|
|
|
43
|
-
const radioGroupFn = (props = {}) => {
|
|
44
|
-
return Object.fromEntries(radioGroupSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
45
|
-
}
|
|
43
|
+
const radioGroupFn = memo((props = {}) => {
|
|
44
|
+
return Object.fromEntries(radioGroupSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
45
|
+
})
|
|
46
46
|
|
|
47
47
|
const radioGroupVariantKeys = []
|
|
48
|
+
const getVariantProps = (variants) => ({ ...radioGroupDefaultVariants, ...compact(variants) })
|
|
48
49
|
|
|
49
50
|
export const radioGroup = /* @__PURE__ */ Object.assign(radioGroupFn, {
|
|
50
51
|
__recipe__: false,
|
|
@@ -55,4 +56,5 @@ export const radioGroup = /* @__PURE__ */ Object.assign(radioGroupFn, {
|
|
|
55
56
|
splitVariantProps(props) {
|
|
56
57
|
return splitProps(props, radioGroupVariantKeys)
|
|
57
58
|
},
|
|
59
|
+
getVariantProps
|
|
58
60
|
})
|
|
@@ -21,7 +21,12 @@ export interface ScrollAreaRecipe {
|
|
|
21
21
|
variantMap: ScrollAreaVariantMap
|
|
22
22
|
variantKeys: Array<keyof ScrollAreaVariant>
|
|
23
23
|
splitVariantProps<Props extends ScrollAreaVariantProps>(props: Props): [ScrollAreaVariantProps, Pretty<DistributiveOmit<Props, keyof ScrollAreaVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ScrollAreaVariantProps) => ScrollAreaVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the ScrollArea component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const scrollArea: ScrollAreaRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const scrollAreaDefaultVariants = {}
|
|
@@ -48,11 +48,12 @@ const scrollAreaSlotNames = [
|
|
|
48
48
|
]
|
|
49
49
|
const scrollAreaSlotFns = /* @__PURE__ */ scrollAreaSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, scrollAreaDefaultVariants, getSlotCompoundVariant(scrollAreaCompoundVariants, slotName))])
|
|
50
50
|
|
|
51
|
-
const scrollAreaFn = (props = {}) => {
|
|
52
|
-
return Object.fromEntries(scrollAreaSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
53
|
-
}
|
|
51
|
+
const scrollAreaFn = memo((props = {}) => {
|
|
52
|
+
return Object.fromEntries(scrollAreaSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
53
|
+
})
|
|
54
54
|
|
|
55
55
|
const scrollAreaVariantKeys = []
|
|
56
|
+
const getVariantProps = (variants) => ({ ...scrollAreaDefaultVariants, ...compact(variants) })
|
|
56
57
|
|
|
57
58
|
export const scrollArea = /* @__PURE__ */ Object.assign(scrollAreaFn, {
|
|
58
59
|
__recipe__: false,
|
|
@@ -63,4 +64,5 @@ export const scrollArea = /* @__PURE__ */ Object.assign(scrollAreaFn, {
|
|
|
63
64
|
splitVariantProps(props) {
|
|
64
65
|
return splitProps(props, scrollAreaVariantKeys)
|
|
65
66
|
},
|
|
67
|
+
getVariantProps
|
|
66
68
|
})
|
|
@@ -21,7 +21,12 @@ export interface SelectRecipe {
|
|
|
21
21
|
variantMap: SelectVariantMap
|
|
22
22
|
variantKeys: Array<keyof SelectVariant>
|
|
23
23
|
splitVariantProps<Props extends SelectVariantProps>(props: Props): [SelectVariantProps, Pretty<DistributiveOmit<Props, keyof SelectVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: SelectVariantProps) => SelectVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Select component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const select: SelectRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const selectDefaultVariants = {}
|
|
@@ -88,11 +88,12 @@ const selectSlotNames = [
|
|
|
88
88
|
]
|
|
89
89
|
const selectSlotFns = /* @__PURE__ */ selectSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectDefaultVariants, getSlotCompoundVariant(selectCompoundVariants, slotName))])
|
|
90
90
|
|
|
91
|
-
const selectFn = (props = {}) => {
|
|
92
|
-
return Object.fromEntries(selectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
93
|
-
}
|
|
91
|
+
const selectFn = memo((props = {}) => {
|
|
92
|
+
return Object.fromEntries(selectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
93
|
+
})
|
|
94
94
|
|
|
95
95
|
const selectVariantKeys = []
|
|
96
|
+
const getVariantProps = (variants) => ({ ...selectDefaultVariants, ...compact(variants) })
|
|
96
97
|
|
|
97
98
|
export const select = /* @__PURE__ */ Object.assign(selectFn, {
|
|
98
99
|
__recipe__: false,
|
|
@@ -103,4 +104,5 @@ export const select = /* @__PURE__ */ Object.assign(selectFn, {
|
|
|
103
104
|
splitVariantProps(props) {
|
|
104
105
|
return splitProps(props, selectVariantKeys)
|
|
105
106
|
},
|
|
107
|
+
getVariantProps
|
|
106
108
|
})
|
|
@@ -3,7 +3,10 @@ import type { ConditionalValue } from '../types/index.d.mts';
|
|
|
3
3
|
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
4
|
|
|
5
5
|
interface SeparatorVariant {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @default "horizontal"
|
|
8
|
+
*/
|
|
9
|
+
orientation: "horizontal" | "vertical"
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
type SeparatorVariantMap = {
|
|
@@ -21,7 +24,12 @@ export interface SeparatorRecipe {
|
|
|
21
24
|
variantMap: SeparatorVariantMap
|
|
22
25
|
variantKeys: Array<keyof SeparatorVariant>
|
|
23
26
|
splitVariantProps<Props extends SeparatorVariantProps>(props: Props): [SeparatorVariantProps, Pretty<DistributiveOmit<Props, keyof SeparatorVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: SeparatorVariantProps) => SeparatorVariantProps
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Styles for the Separator component
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
*/
|
|
27
35
|
export declare const separator: SeparatorRecipe
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps } from '../helpers.mjs';
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const separatorFn = /* @__PURE__ */ createRecipe('separator', {
|
|
@@ -14,9 +14,10 @@ const separatorVariantMap = {
|
|
|
14
14
|
|
|
15
15
|
const separatorVariantKeys = Object.keys(separatorVariantMap)
|
|
16
16
|
|
|
17
|
-
export const separator = /* @__PURE__ */ Object.assign(separatorFn, {
|
|
17
|
+
export const separator = /* @__PURE__ */ Object.assign(memo(separatorFn.recipeFn), {
|
|
18
18
|
__recipe__: true,
|
|
19
19
|
__name__: 'separator',
|
|
20
|
+
__getCompoundVariantCss__: separatorFn.__getCompoundVariantCss__,
|
|
20
21
|
raw: (props) => props,
|
|
21
22
|
variantKeys: separatorVariantKeys,
|
|
22
23
|
variantMap: separatorVariantMap,
|
|
@@ -26,4 +27,5 @@ export const separator = /* @__PURE__ */ Object.assign(separatorFn, {
|
|
|
26
27
|
splitVariantProps(props) {
|
|
27
28
|
return splitProps(props, separatorVariantKeys)
|
|
28
29
|
},
|
|
30
|
+
getVariantProps: separatorFn.getVariantProps,
|
|
29
31
|
})
|