@luxonis/common-fe-components 1.18.0 → 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 +2 -0
- package/dist/components/custom/Alert.d.ts.map +1 -1
- package/dist/components/custom/Alert.js +2 -2
- package/dist/components/custom/Alert.js.map +1 -1
- package/dist/components/custom/Badge.d.ts +6 -0
- package/dist/components/custom/Badge.d.ts.map +1 -1
- package/dist/components/custom/Badge.js +5 -0
- package/dist/components/custom/Badge.js.map +1 -1
- package/dist/components/custom/Button.d.ts +2 -2
- package/dist/components/custom/Button.d.ts.map +1 -1
- package/dist/components/custom/Button.js +2 -2
- package/dist/components/custom/Button.js.map +1 -1
- 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 +927 -831
- 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/Grid.d.ts +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 +1844 -1652
- 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/Stepper.js +1 -1
- package/dist/components/custom/Stepper.js.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 +34 -34
- 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 textareaFn = /* @__PURE__ */ createRecipe('textarea', {}, [])
|
|
@@ -7,9 +7,10 @@ const textareaVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const textareaVariantKeys = Object.keys(textareaVariantMap)
|
|
9
9
|
|
|
10
|
-
export const textarea = /* @__PURE__ */ Object.assign(textareaFn, {
|
|
10
|
+
export const textarea = /* @__PURE__ */ Object.assign(memo(textareaFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'textarea',
|
|
13
|
+
__getCompoundVariantCss__: textareaFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: textareaVariantKeys,
|
|
15
16
|
variantMap: textareaVariantMap,
|
|
@@ -19,4 +20,5 @@ export const textarea = /* @__PURE__ */ Object.assign(textareaFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, textareaVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: textareaFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface ToastViewportRecipe {
|
|
|
21
21
|
variantMap: ToastViewportVariantMap
|
|
22
22
|
variantKeys: Array<keyof ToastViewportVariant>
|
|
23
23
|
splitVariantProps<Props extends ToastViewportVariantProps>(props: Props): [ToastViewportVariantProps, Pretty<DistributiveOmit<Props, keyof ToastViewportVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ToastViewportVariantProps) => ToastViewportVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the ToastViewport component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const toastViewport: ToastViewportRecipe
|
|
@@ -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 toastViewportFn = /* @__PURE__ */ createRecipe('toastViewport', {}, [])
|
|
@@ -7,9 +7,10 @@ const toastViewportVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const toastViewportVariantKeys = Object.keys(toastViewportVariantMap)
|
|
9
9
|
|
|
10
|
-
export const toastViewport = /* @__PURE__ */ Object.assign(toastViewportFn, {
|
|
10
|
+
export const toastViewport = /* @__PURE__ */ Object.assign(memo(toastViewportFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'toastViewport',
|
|
13
|
+
__getCompoundVariantCss__: toastViewportFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: toastViewportVariantKeys,
|
|
15
16
|
variantMap: toastViewportVariantMap,
|
|
@@ -19,4 +20,5 @@ export const toastViewport = /* @__PURE__ */ Object.assign(toastViewportFn, {
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, toastViewportVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: toastViewportFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -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 ToastVariant {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @default "default"
|
|
8
|
+
*/
|
|
9
|
+
variant: "default" | "destructive"
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
type ToastVariantMap = {
|
|
@@ -21,7 +24,12 @@ export interface ToastRecipe {
|
|
|
21
24
|
variantMap: ToastVariantMap
|
|
22
25
|
variantKeys: Array<keyof ToastVariant>
|
|
23
26
|
splitVariantProps<Props extends ToastVariantProps>(props: Props): [ToastVariantProps, Pretty<DistributiveOmit<Props, keyof ToastVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: ToastVariantProps) => ToastVariantProps
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Styles for the Toast component
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
*/
|
|
27
35
|
export declare const toast: ToastRecipe
|
|
@@ -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 toastDefaultVariants = {
|
|
@@ -58,13 +58,14 @@ const toastSlotNames = [
|
|
|
58
58
|
]
|
|
59
59
|
const toastSlotFns = /* @__PURE__ */ toastSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toastDefaultVariants, getSlotCompoundVariant(toastCompoundVariants, slotName))])
|
|
60
60
|
|
|
61
|
-
const toastFn = (props = {}) => {
|
|
62
|
-
return Object.fromEntries(toastSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
63
|
-
}
|
|
61
|
+
const toastFn = memo((props = {}) => {
|
|
62
|
+
return Object.fromEntries(toastSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
63
|
+
})
|
|
64
64
|
|
|
65
65
|
const toastVariantKeys = [
|
|
66
66
|
"variant"
|
|
67
67
|
]
|
|
68
|
+
const getVariantProps = (variants) => ({ ...toastDefaultVariants, ...compact(variants) })
|
|
68
69
|
|
|
69
70
|
export const toast = /* @__PURE__ */ Object.assign(toastFn, {
|
|
70
71
|
__recipe__: false,
|
|
@@ -80,4 +81,5 @@ export const toast = /* @__PURE__ */ Object.assign(toastFn, {
|
|
|
80
81
|
splitVariantProps(props) {
|
|
81
82
|
return splitProps(props, toastVariantKeys)
|
|
82
83
|
},
|
|
84
|
+
getVariantProps
|
|
83
85
|
})
|
|
@@ -3,7 +3,13 @@ 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 ToggleVariant {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @default "default"
|
|
8
|
+
*/
|
|
9
|
+
variant: "default" | "outline"
|
|
10
|
+
/**
|
|
11
|
+
* @default "default"
|
|
12
|
+
*/
|
|
7
13
|
size: "default" | "sm" | "lg"
|
|
8
14
|
}
|
|
9
15
|
|
|
@@ -22,7 +28,12 @@ export interface ToggleRecipe {
|
|
|
22
28
|
variantMap: ToggleVariantMap
|
|
23
29
|
variantKeys: Array<keyof ToggleVariant>
|
|
24
30
|
splitVariantProps<Props extends ToggleVariantProps>(props: Props): [ToggleVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleVariantProps>>]
|
|
31
|
+
getVariantProps: (props?: ToggleVariantProps) => ToggleVariantProps
|
|
25
32
|
}
|
|
26
33
|
|
|
27
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Styles for the Toggle component
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
*/
|
|
28
39
|
export declare const toggle: ToggleRecipe
|
|
@@ -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 toggleFn = /* @__PURE__ */ createRecipe('toggle', {
|
|
@@ -20,9 +20,10 @@ const toggleVariantMap = {
|
|
|
20
20
|
|
|
21
21
|
const toggleVariantKeys = Object.keys(toggleVariantMap)
|
|
22
22
|
|
|
23
|
-
export const toggle = /* @__PURE__ */ Object.assign(toggleFn, {
|
|
23
|
+
export const toggle = /* @__PURE__ */ Object.assign(memo(toggleFn.recipeFn), {
|
|
24
24
|
__recipe__: true,
|
|
25
25
|
__name__: 'toggle',
|
|
26
|
+
__getCompoundVariantCss__: toggleFn.__getCompoundVariantCss__,
|
|
26
27
|
raw: (props) => props,
|
|
27
28
|
variantKeys: toggleVariantKeys,
|
|
28
29
|
variantMap: toggleVariantMap,
|
|
@@ -32,4 +33,5 @@ export const toggle = /* @__PURE__ */ Object.assign(toggleFn, {
|
|
|
32
33
|
splitVariantProps(props) {
|
|
33
34
|
return splitProps(props, toggleVariantKeys)
|
|
34
35
|
},
|
|
36
|
+
getVariantProps: toggleFn.getVariantProps,
|
|
35
37
|
})
|
|
@@ -21,7 +21,12 @@ export interface TooltipRecipe {
|
|
|
21
21
|
variantMap: TooltipVariantMap
|
|
22
22
|
variantKeys: Array<keyof TooltipVariant>
|
|
23
23
|
splitVariantProps<Props extends TooltipVariantProps>(props: Props): [TooltipVariantProps, Pretty<DistributiveOmit<Props, keyof TooltipVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: TooltipVariantProps) => TooltipVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Styles for the Tooltip component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const tooltip: TooltipRecipe
|
|
@@ -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 tooltipDefaultVariants = {}
|
|
@@ -32,11 +32,12 @@ const tooltipSlotNames = [
|
|
|
32
32
|
]
|
|
33
33
|
const tooltipSlotFns = /* @__PURE__ */ tooltipSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tooltipDefaultVariants, getSlotCompoundVariant(tooltipCompoundVariants, slotName))])
|
|
34
34
|
|
|
35
|
-
const tooltipFn = (props = {}) => {
|
|
36
|
-
return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
37
|
-
}
|
|
35
|
+
const tooltipFn = memo((props = {}) => {
|
|
36
|
+
return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
37
|
+
})
|
|
38
38
|
|
|
39
39
|
const tooltipVariantKeys = []
|
|
40
|
+
const getVariantProps = (variants) => ({ ...tooltipDefaultVariants, ...compact(variants) })
|
|
40
41
|
|
|
41
42
|
export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
|
|
42
43
|
__recipe__: false,
|
|
@@ -47,4 +48,5 @@ export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
|
|
|
47
48
|
splitVariantProps(props) {
|
|
48
49
|
return splitProps(props, tooltipVariantKeys)
|
|
49
50
|
},
|
|
51
|
+
getVariantProps
|
|
50
52
|
})
|
|
@@ -21,7 +21,12 @@ export interface TypographyTableContainerRecipe {
|
|
|
21
21
|
variantMap: TypographyTableContainerVariantMap
|
|
22
22
|
variantKeys: Array<keyof TypographyTableContainerVariant>
|
|
23
23
|
splitVariantProps<Props extends TypographyTableContainerVariantProps>(props: Props): [TypographyTableContainerVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableContainerVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: TypographyTableContainerVariantProps) => TypographyTableContainerVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - table container style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const typographyTableContainer: TypographyTableContainerRecipe
|
|
@@ -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 typographyTableContainerFn = /* @__PURE__ */ createRecipe('typographyTableContainer', {}, [])
|
|
@@ -7,9 +7,10 @@ const typographyTableContainerVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const typographyTableContainerVariantKeys = Object.keys(typographyTableContainerVariantMap)
|
|
9
9
|
|
|
10
|
-
export const typographyTableContainer = /* @__PURE__ */ Object.assign(typographyTableContainerFn, {
|
|
10
|
+
export const typographyTableContainer = /* @__PURE__ */ Object.assign(memo(typographyTableContainerFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'typographyTableContainer',
|
|
13
|
+
__getCompoundVariantCss__: typographyTableContainerFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: typographyTableContainerVariantKeys,
|
|
15
16
|
variantMap: typographyTableContainerVariantMap,
|
|
@@ -19,4 +20,5 @@ export const typographyTableContainer = /* @__PURE__ */ Object.assign(typography
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, typographyTableContainerVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: typographyTableContainerFn.getVariantProps,
|
|
22
24
|
})
|
|
@@ -21,7 +21,12 @@ export interface TypographyTableRecipe {
|
|
|
21
21
|
variantMap: TypographyTableVariantMap
|
|
22
22
|
variantKeys: Array<keyof TypographyTableVariant>
|
|
23
23
|
splitVariantProps<Props extends TypographyTableVariantProps>(props: Props): [TypographyTableVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: TypographyTableVariantProps) => TypographyTableVariantProps
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Typography - table style
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
27
32
|
export declare const typographyTable: TypographyTableRecipe
|
|
@@ -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 typographyTableFn = /* @__PURE__ */ createRecipe('typographyTable', {}, [])
|
|
@@ -7,9 +7,10 @@ const typographyTableVariantMap = {}
|
|
|
7
7
|
|
|
8
8
|
const typographyTableVariantKeys = Object.keys(typographyTableVariantMap)
|
|
9
9
|
|
|
10
|
-
export const typographyTable = /* @__PURE__ */ Object.assign(typographyTableFn, {
|
|
10
|
+
export const typographyTable = /* @__PURE__ */ Object.assign(memo(typographyTableFn.recipeFn), {
|
|
11
11
|
__recipe__: true,
|
|
12
12
|
__name__: 'typographyTable',
|
|
13
|
+
__getCompoundVariantCss__: typographyTableFn.__getCompoundVariantCss__,
|
|
13
14
|
raw: (props) => props,
|
|
14
15
|
variantKeys: typographyTableVariantKeys,
|
|
15
16
|
variantMap: typographyTableVariantMap,
|
|
@@ -19,4 +20,5 @@ export const typographyTable = /* @__PURE__ */ Object.assign(typographyTableFn,
|
|
|
19
20
|
splitVariantProps(props) {
|
|
20
21
|
return splitProps(props, typographyTableVariantKeys)
|
|
21
22
|
},
|
|
23
|
+
getVariantProps: typographyTableFn.getVariantProps,
|
|
22
24
|
})
|