@luxonis/common-fe-components 1.18.2 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/custom/Alert.d.ts +0 -1
- package/dist/components/custom/Alert.d.ts.map +1 -1
- package/dist/components/custom/Badge.d.ts +0 -1
- 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 +819 -915
- 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 +0 -1
- 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 -0
- package/dist/components/custom/Grid.d.ts.map +1 -1
- package/dist/components/custom/Grid.js +11 -3
- package/dist/components/custom/Grid.js.map +1 -1
- package/dist/components/custom/Icon.d.ts +0 -1
- package/dist/components/custom/Icon.d.ts.map +1 -1
- package/dist/components/custom/IconHelp.d.ts +0 -1
- package/dist/components/custom/IconHelp.d.ts.map +1 -1
- package/dist/components/custom/KpiDisplay.d.ts +0 -1
- package/dist/components/custom/KpiDisplay.d.ts.map +1 -1
- package/dist/components/custom/Markdown.d.ts +0 -1
- 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/ProgressTicker.d.ts +0 -1
- package/dist/components/custom/ProgressTicker.d.ts.map +1 -1
- package/dist/components/custom/RadioGroup.d.ts +1642 -1834
- 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 +1635 -1827
- package/dist/components/custom/Slider.d.ts.map +1 -1
- package/dist/components/custom/SourceCode.d.ts +0 -1
- package/dist/components/custom/SourceCode.d.ts.map +1 -1
- package/dist/components/custom/StatusBar.d.ts +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +23 -23
- 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 +0 -1
- package/dist/components/shadow-panda/_Toast.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Tooltip.d.ts +0 -1
- 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 +9 -12
- 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 +0 -1
- 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 +0 -1
- package/dist/icons/svg/AccessDenied.d.ts.map +1 -1
- package/dist/icons/svg/Empty.d.ts +0 -1
- package/dist/icons/svg/Empty.d.ts.map +1 -1
- package/dist/icons/svg/Error.d.ts +0 -1
- 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 +15 -24
- package/dist/panda.css +1675 -1736
- package/dist/panda.d.ts.map +1 -1
- package/dist/panda.js +1 -2
- package/dist/panda.js.map +1 -1
- package/dist/styled-system/css/conditions.mjs +2 -4
- package/dist/styled-system/css/css.d.mts +2 -15
- package/dist/styled-system/css/css.mjs +1 -2
- package/dist/styled-system/css/cva.d.mts +1 -1
- package/dist/styled-system/css/cva.mjs +3 -5
- package/dist/styled-system/css/sva.mjs +3 -9
- package/dist/styled-system/helpers.mjs +54 -90
- 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/divider.mjs +1 -1
- package/dist/styled-system/jsx/factory.mjs +7 -8
- 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 +1 -7
- package/dist/styled-system/jsx/is-valid-prop.mjs +3 -3
- package/dist/styled-system/jsx/link-box.d.mts +10 -0
- package/dist/styled-system/jsx/link-box.mjs +14 -0
- 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 +2 -5
- package/dist/styled-system/patterns/bleed.d.mts +3 -3
- package/dist/styled-system/patterns/bleed.mjs +7 -12
- package/dist/styled-system/patterns/box.d.mts +1 -1
- package/dist/styled-system/patterns/box.mjs +2 -5
- package/dist/styled-system/patterns/center.d.mts +1 -1
- package/dist/styled-system/patterns/center.mjs +2 -5
- package/dist/styled-system/patterns/circle.d.mts +2 -2
- package/dist/styled-system/patterns/circle.mjs +2 -5
- package/dist/styled-system/patterns/container.d.mts +1 -1
- package/dist/styled-system/patterns/container.mjs +2 -5
- package/dist/styled-system/patterns/divider.d.mts +1 -1
- package/dist/styled-system/patterns/divider.mjs +4 -8
- package/dist/styled-system/patterns/flex.d.mts +8 -8
- package/dist/styled-system/patterns/flex.mjs +2 -5
- package/dist/styled-system/patterns/float.d.mts +1 -1
- package/dist/styled-system/patterns/float.mjs +3 -10
- package/dist/styled-system/patterns/grid-item.d.mts +1 -1
- package/dist/styled-system/patterns/grid-item.mjs +2 -5
- package/dist/styled-system/patterns/grid.d.mts +4 -4
- package/dist/styled-system/patterns/grid.mjs +6 -11
- package/dist/styled-system/patterns/hstack.d.mts +3 -3
- package/dist/styled-system/patterns/hstack.mjs +4 -8
- 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-box.d.mts +21 -0
- package/dist/styled-system/patterns/link-box.mjs +19 -0
- 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 +2 -5
- package/dist/styled-system/patterns/square.d.mts +2 -2
- package/dist/styled-system/patterns/square.mjs +2 -5
- package/dist/styled-system/patterns/stack.d.mts +5 -5
- package/dist/styled-system/patterns/stack.mjs +4 -8
- package/dist/styled-system/patterns/visually-hidden.d.mts +1 -1
- package/dist/styled-system/patterns/visually-hidden.mjs +2 -5
- package/dist/styled-system/patterns/vstack.d.mts +3 -3
- package/dist/styled-system/patterns/vstack.mjs +4 -8
- package/dist/styled-system/patterns/wrap.d.mts +6 -6
- package/dist/styled-system/patterns/wrap.mjs +2 -5
- package/dist/styled-system/recipes/accordion.d.mts +1 -6
- package/dist/styled-system/recipes/accordion.mjs +4 -6
- package/dist/styled-system/recipes/alert-description.d.mts +1 -6
- package/dist/styled-system/recipes/alert-description.mjs +2 -4
- package/dist/styled-system/recipes/alert-dialog.d.mts +1 -6
- package/dist/styled-system/recipes/alert-dialog.mjs +4 -6
- package/dist/styled-system/recipes/alert-title.d.mts +1 -6
- package/dist/styled-system/recipes/alert-title.mjs +2 -4
- package/dist/styled-system/recipes/alert.d.mts +2 -10
- package/dist/styled-system/recipes/alert.mjs +2 -4
- package/dist/styled-system/recipes/avatar.d.mts +1 -6
- package/dist/styled-system/recipes/avatar.mjs +4 -6
- package/dist/styled-system/recipes/badge.d.mts +2 -10
- package/dist/styled-system/recipes/badge.mjs +2 -4
- package/dist/styled-system/recipes/blockquote.d.mts +1 -6
- package/dist/styled-system/recipes/blockquote.mjs +2 -4
- package/dist/styled-system/recipes/button.d.mts +2 -13
- package/dist/styled-system/recipes/button.mjs +2 -4
- package/dist/styled-system/recipes/calendar.d.mts +1 -6
- package/dist/styled-system/recipes/calendar.mjs +4 -6
- package/dist/styled-system/recipes/card-content.d.mts +1 -6
- package/dist/styled-system/recipes/card-content.mjs +2 -4
- package/dist/styled-system/recipes/card-description.d.mts +1 -6
- package/dist/styled-system/recipes/card-description.mjs +2 -4
- package/dist/styled-system/recipes/card-footer.d.mts +1 -6
- package/dist/styled-system/recipes/card-footer.mjs +2 -4
- package/dist/styled-system/recipes/card-header.d.mts +1 -6
- package/dist/styled-system/recipes/card-header.mjs +2 -4
- package/dist/styled-system/recipes/card-title.d.mts +1 -6
- package/dist/styled-system/recipes/card-title.mjs +2 -4
- package/dist/styled-system/recipes/card.d.mts +1 -6
- package/dist/styled-system/recipes/card.mjs +2 -4
- package/dist/styled-system/recipes/checkbox.d.mts +1 -6
- package/dist/styled-system/recipes/checkbox.mjs +4 -6
- package/dist/styled-system/recipes/collapsible.d.mts +1 -6
- package/dist/styled-system/recipes/collapsible.mjs +4 -6
- package/dist/styled-system/recipes/command-dialog.d.mts +1 -6
- package/dist/styled-system/recipes/command-dialog.mjs +4 -6
- package/dist/styled-system/recipes/command.d.mts +1 -6
- package/dist/styled-system/recipes/command.mjs +4 -6
- package/dist/styled-system/recipes/context-menu.d.mts +2 -10
- package/dist/styled-system/recipes/context-menu.mjs +4 -6
- package/dist/styled-system/recipes/create-recipe.d.mts +1 -0
- package/dist/styled-system/recipes/create-recipe.mjs +5 -8
- package/dist/styled-system/recipes/dialog.d.mts +1 -6
- package/dist/styled-system/recipes/dialog.mjs +4 -6
- package/dist/styled-system/recipes/dropdown-menu.d.mts +1 -6
- package/dist/styled-system/recipes/dropdown-menu.mjs +4 -6
- package/dist/styled-system/recipes/form-control.d.mts +1 -6
- package/dist/styled-system/recipes/form-control.mjs +2 -4
- package/dist/styled-system/recipes/form-description.d.mts +1 -6
- package/dist/styled-system/recipes/form-description.mjs +2 -4
- package/dist/styled-system/recipes/form-item.d.mts +1 -6
- package/dist/styled-system/recipes/form-item.mjs +2 -4
- package/dist/styled-system/recipes/form-label.d.mts +1 -6
- package/dist/styled-system/recipes/form-label.mjs +2 -4
- package/dist/styled-system/recipes/form-message.d.mts +1 -6
- package/dist/styled-system/recipes/form-message.mjs +2 -4
- package/dist/styled-system/recipes/h1.d.mts +1 -6
- package/dist/styled-system/recipes/h1.mjs +2 -4
- package/dist/styled-system/recipes/h2.d.mts +1 -6
- package/dist/styled-system/recipes/h2.mjs +2 -4
- package/dist/styled-system/recipes/h3.d.mts +1 -6
- package/dist/styled-system/recipes/h3.mjs +2 -4
- package/dist/styled-system/recipes/h4.d.mts +1 -6
- package/dist/styled-system/recipes/h4.mjs +2 -4
- package/dist/styled-system/recipes/hover-card.d.mts +1 -6
- package/dist/styled-system/recipes/hover-card.mjs +4 -6
- package/dist/styled-system/recipes/icon.d.mts +2 -22
- package/dist/styled-system/recipes/icon.mjs +2 -4
- package/dist/styled-system/recipes/inline-code.d.mts +1 -6
- package/dist/styled-system/recipes/inline-code.mjs +2 -4
- package/dist/styled-system/recipes/input.d.mts +1 -6
- package/dist/styled-system/recipes/input.mjs +2 -4
- package/dist/styled-system/recipes/label.d.mts +1 -6
- package/dist/styled-system/recipes/label.mjs +2 -4
- package/dist/styled-system/recipes/large.d.mts +1 -6
- package/dist/styled-system/recipes/large.mjs +2 -4
- package/dist/styled-system/recipes/lead.d.mts +1 -6
- package/dist/styled-system/recipes/lead.mjs +2 -4
- package/dist/styled-system/recipes/link.d.mts +1 -6
- package/dist/styled-system/recipes/link.mjs +2 -4
- package/dist/styled-system/recipes/list.d.mts +1 -6
- package/dist/styled-system/recipes/list.mjs +2 -4
- package/dist/styled-system/recipes/menubar.d.mts +1 -6
- package/dist/styled-system/recipes/menubar.mjs +4 -6
- package/dist/styled-system/recipes/muted.d.mts +1 -6
- package/dist/styled-system/recipes/muted.mjs +2 -4
- package/dist/styled-system/recipes/navigation-menu.d.mts +1 -6
- package/dist/styled-system/recipes/navigation-menu.mjs +4 -6
- package/dist/styled-system/recipes/p.d.mts +1 -6
- package/dist/styled-system/recipes/p.mjs +2 -4
- package/dist/styled-system/recipes/popover.d.mts +1 -6
- package/dist/styled-system/recipes/popover.mjs +4 -6
- package/dist/styled-system/recipes/progress.d.mts +1 -6
- package/dist/styled-system/recipes/progress.mjs +4 -6
- package/dist/styled-system/recipes/radio-group.d.mts +1 -6
- package/dist/styled-system/recipes/radio-group.mjs +4 -6
- package/dist/styled-system/recipes/scroll-area.d.mts +1 -6
- package/dist/styled-system/recipes/scroll-area.mjs +4 -6
- package/dist/styled-system/recipes/select.d.mts +1 -6
- package/dist/styled-system/recipes/select.mjs +4 -6
- package/dist/styled-system/recipes/separator.d.mts +2 -10
- package/dist/styled-system/recipes/separator.mjs +2 -4
- package/dist/styled-system/recipes/sheet.d.mts +2 -10
- package/dist/styled-system/recipes/sheet.mjs +4 -6
- package/dist/styled-system/recipes/skeleton.d.mts +1 -6
- package/dist/styled-system/recipes/skeleton.mjs +2 -4
- package/dist/styled-system/recipes/slider.d.mts +1 -6
- package/dist/styled-system/recipes/slider.mjs +4 -6
- package/dist/styled-system/recipes/small.d.mts +1 -6
- package/dist/styled-system/recipes/small.mjs +2 -4
- package/dist/styled-system/recipes/switch-recipe.d.mts +1 -6
- package/dist/styled-system/recipes/switch-recipe.mjs +4 -6
- package/dist/styled-system/recipes/table-body.d.mts +1 -6
- package/dist/styled-system/recipes/table-body.mjs +2 -4
- package/dist/styled-system/recipes/table-caption.d.mts +1 -6
- package/dist/styled-system/recipes/table-caption.mjs +2 -4
- package/dist/styled-system/recipes/table-cell.d.mts +1 -6
- package/dist/styled-system/recipes/table-cell.mjs +2 -4
- package/dist/styled-system/recipes/table-container.d.mts +1 -6
- package/dist/styled-system/recipes/table-container.mjs +2 -4
- package/dist/styled-system/recipes/table-footer.d.mts +1 -6
- package/dist/styled-system/recipes/table-footer.mjs +2 -4
- package/dist/styled-system/recipes/table-head.d.mts +1 -6
- package/dist/styled-system/recipes/table-head.mjs +2 -4
- package/dist/styled-system/recipes/table-header.d.mts +1 -6
- package/dist/styled-system/recipes/table-header.mjs +2 -4
- package/dist/styled-system/recipes/table-row.d.mts +1 -6
- package/dist/styled-system/recipes/table-row.mjs +2 -4
- package/dist/styled-system/recipes/table.d.mts +1 -6
- package/dist/styled-system/recipes/table.mjs +2 -4
- package/dist/styled-system/recipes/tabs.d.mts +1 -6
- package/dist/styled-system/recipes/tabs.mjs +4 -6
- package/dist/styled-system/recipes/textarea.d.mts +1 -6
- package/dist/styled-system/recipes/textarea.mjs +2 -4
- package/dist/styled-system/recipes/toast-viewport.d.mts +1 -6
- package/dist/styled-system/recipes/toast-viewport.mjs +2 -4
- package/dist/styled-system/recipes/toast.d.mts +2 -10
- package/dist/styled-system/recipes/toast.mjs +4 -6
- package/dist/styled-system/recipes/toggle.d.mts +2 -13
- package/dist/styled-system/recipes/toggle.mjs +2 -4
- package/dist/styled-system/recipes/tooltip.d.mts +1 -6
- package/dist/styled-system/recipes/tooltip.mjs +4 -6
- package/dist/styled-system/recipes/typography-table-container.d.mts +1 -6
- package/dist/styled-system/recipes/typography-table-container.mjs +2 -4
- package/dist/styled-system/recipes/typography-table.d.mts +1 -6
- package/dist/styled-system/recipes/typography-table.mjs +2 -4
- package/dist/styled-system/tokens/index.mjs +1683 -1711
- package/dist/styled-system/tokens/tokens.d.mts +20 -20
- package/dist/styled-system/types/composition.d.mts +12 -65
- package/dist/styled-system/types/conditions.d.mts +44 -98
- package/dist/styled-system/types/global.d.mts +0 -1
- package/dist/styled-system/types/jsx.d.mts +1 -1
- package/dist/styled-system/types/pattern.d.mts +2 -17
- package/dist/styled-system/types/prop-type.d.mts +231 -58
- package/dist/styled-system/types/recipe.d.mts +10 -33
- package/dist/styled-system/types/selectors.d.mts +1 -1
- package/dist/styled-system/types/static-css.d.mts +4 -13
- package/dist/styled-system/types/style-props.d.mts +678 -7541
- package/dist/styled-system/types/system-types.d.mts +11 -111
- package/dist/translations/i18n-react.d.ts +0 -1
- 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 +9 -9
- package/dist/styled-system/jsx/cq.d.mts +0 -10
- package/dist/styled-system/jsx/cq.mjs +0 -14
- package/dist/styled-system/patterns/cq.d.mts +0 -22
- package/dist/styled-system/patterns/cq.mjs +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue, Nested } from './conditions.d.mts';
|
|
3
|
-
import type {
|
|
2
|
+
import type { ConditionalValue, Conditions, Nested } from './conditions.d.mts';
|
|
3
|
+
import type { PropertiesFallback } from './csstype.d.mts';
|
|
4
4
|
import type { SystemProperties, CssVarProperties } from './style-props.d.mts';
|
|
5
5
|
|
|
6
6
|
type String = string & {}
|
|
@@ -22,93 +22,9 @@ export type Assign<T, U> = {
|
|
|
22
22
|
* Native css properties
|
|
23
23
|
* -----------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
type DashedIdent = `--${string}`
|
|
26
|
-
|
|
27
|
-
type StringToMultiple<T extends string> = T | `${T}, ${T}`
|
|
28
|
-
|
|
29
|
-
export type PositionAreaAxis =
|
|
30
|
-
| 'left'
|
|
31
|
-
| 'center'
|
|
32
|
-
| 'right'
|
|
33
|
-
| 'x-start'
|
|
34
|
-
| 'x-end'
|
|
35
|
-
| 'span-x-start'
|
|
36
|
-
| 'span-x-end'
|
|
37
|
-
| 'x-self-start'
|
|
38
|
-
| 'x-self-end'
|
|
39
|
-
| 'span-x-self-start'
|
|
40
|
-
| 'span-x-self-end'
|
|
41
|
-
| 'span-all'
|
|
42
|
-
| 'top'
|
|
43
|
-
| 'bottom'
|
|
44
|
-
| 'span-top'
|
|
45
|
-
| 'span-bottom'
|
|
46
|
-
| 'y-start'
|
|
47
|
-
| 'y-end'
|
|
48
|
-
| 'span-y-start'
|
|
49
|
-
| 'span-y-end'
|
|
50
|
-
| 'y-self-start'
|
|
51
|
-
| 'y-self-end'
|
|
52
|
-
| 'span-y-self-start'
|
|
53
|
-
| 'span-y-self-end'
|
|
54
|
-
| 'block-start'
|
|
55
|
-
| 'block-end'
|
|
56
|
-
| 'span-block-start'
|
|
57
|
-
| 'span-block-end'
|
|
58
|
-
| 'inline-start'
|
|
59
|
-
| 'inline-end'
|
|
60
|
-
| 'span-inline-start'
|
|
61
|
-
| 'span-inline-end'
|
|
62
|
-
| 'self-block-start'
|
|
63
|
-
| 'self-block-end'
|
|
64
|
-
| 'span-self-block-start'
|
|
65
|
-
| 'span-self-block-end'
|
|
66
|
-
| 'self-inline-start'
|
|
67
|
-
| 'self-inline-end'
|
|
68
|
-
| 'span-self-inline-start'
|
|
69
|
-
| 'span-self-inline-end'
|
|
70
|
-
| 'start'
|
|
71
|
-
| 'end'
|
|
72
|
-
| 'span-start'
|
|
73
|
-
| 'span-end'
|
|
74
|
-
| 'self-start'
|
|
75
|
-
| 'self-end'
|
|
76
|
-
| 'span-self-start'
|
|
77
|
-
| 'span-self-end'
|
|
78
|
-
|
|
79
|
-
type PositionTry =
|
|
80
|
-
| 'normal'
|
|
81
|
-
| 'flip-block'
|
|
82
|
-
| 'flip-inline'
|
|
83
|
-
| 'top'
|
|
84
|
-
| 'bottom'
|
|
85
|
-
| 'left'
|
|
86
|
-
| 'right'
|
|
87
|
-
| 'block-start'
|
|
88
|
-
| 'block-end'
|
|
89
|
-
| 'inline-start'
|
|
90
|
-
| 'inline-end'
|
|
91
|
-
| DashedIdent
|
|
92
|
-
|
|
93
|
-
export interface ModernCssProperties {
|
|
94
|
-
anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>
|
|
95
|
-
anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>
|
|
96
|
-
fieldSizing?: Globals | 'fixed' | 'content'
|
|
97
|
-
interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'
|
|
98
|
-
positionAnchor?: Globals | 'auto' | DashedIdent
|
|
99
|
-
positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String
|
|
100
|
-
positionTry?: Globals | StringToMultiple<PositionTry> | String
|
|
101
|
-
positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String
|
|
102
|
-
positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'
|
|
103
|
-
positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'
|
|
104
|
-
textWrapMode?: Globals | 'wrap' | 'nowrap'
|
|
105
|
-
textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'
|
|
106
|
-
textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'
|
|
107
|
-
}
|
|
108
|
-
|
|
109
25
|
export type CssProperty = keyof PropertiesFallback
|
|
110
26
|
|
|
111
|
-
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties
|
|
27
|
+
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties {}
|
|
112
28
|
|
|
113
29
|
export interface CssKeyframes {
|
|
114
30
|
[name: string]: {
|
|
@@ -120,6 +36,10 @@ export interface CssKeyframes {
|
|
|
120
36
|
* Conditional css properties
|
|
121
37
|
* -----------------------------------------------------------------------------*/
|
|
122
38
|
|
|
39
|
+
type MinimalNested<P> = {
|
|
40
|
+
[K in keyof Conditions]?: Nested<P>
|
|
41
|
+
}
|
|
42
|
+
|
|
123
43
|
interface GenericProperties {
|
|
124
44
|
[key: string]: ConditionalValue<String | Number | boolean>
|
|
125
45
|
}
|
|
@@ -130,7 +50,7 @@ interface GenericProperties {
|
|
|
130
50
|
|
|
131
51
|
export type NestedCssProperties = Nested<CssProperties>
|
|
132
52
|
|
|
133
|
-
export type SystemStyleObject =
|
|
53
|
+
export type SystemStyleObject = Nested<SystemProperties & CssVarProperties>
|
|
134
54
|
|
|
135
55
|
export interface GlobalStyleObject {
|
|
136
56
|
[selector: string]: SystemStyleObject
|
|
@@ -140,41 +60,21 @@ export interface ExtendableGlobalStyleObject {
|
|
|
140
60
|
extend?: GlobalStyleObject | undefined
|
|
141
61
|
}
|
|
142
62
|
|
|
143
|
-
/* -----------------------------------------------------------------------------
|
|
144
|
-
* Composition (text styles, layer styles)
|
|
145
|
-
* -----------------------------------------------------------------------------*/
|
|
146
|
-
|
|
147
63
|
type FilterStyleObject<P extends string> = {
|
|
148
64
|
[K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
|
|
149
65
|
}
|
|
150
66
|
|
|
151
67
|
export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
|
|
152
68
|
|
|
153
|
-
/* -----------------------------------------------------------------------------
|
|
154
|
-
* Font face
|
|
155
|
-
* -----------------------------------------------------------------------------*/
|
|
156
|
-
|
|
157
|
-
export type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>
|
|
158
|
-
|
|
159
|
-
export type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>
|
|
160
|
-
|
|
161
|
-
export interface GlobalFontface {
|
|
162
|
-
[name: string]: FontfaceRule | FontfaceRule[]
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export interface ExtendableGlobalFontface {
|
|
166
|
-
[name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined
|
|
167
|
-
extend?: GlobalFontface | undefined
|
|
168
|
-
}
|
|
169
|
-
|
|
170
69
|
/* -----------------------------------------------------------------------------
|
|
171
70
|
* Jsx style props
|
|
172
71
|
* -----------------------------------------------------------------------------*/
|
|
173
72
|
interface WithCss {
|
|
174
|
-
css?: SystemStyleObject
|
|
73
|
+
css?: SystemStyleObject
|
|
175
74
|
}
|
|
75
|
+
type StyleProps = SystemProperties & MinimalNested<SystemStyleObject>
|
|
176
76
|
|
|
177
|
-
export type JsxStyleProps =
|
|
77
|
+
export type JsxStyleProps = StyleProps & WithCss
|
|
178
78
|
|
|
179
79
|
export interface PatchedHTMLProps {
|
|
180
80
|
htmlWidth?: string | number
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { I18nContextType } from 'typesafe-i18n/react';
|
|
3
2
|
import type { Locales, TranslationFunctions, Translations } from './i18n-types';
|
|
4
3
|
declare const TypesafeI18n: import("react").FunctionComponent<import("typesafe-i18n/react").TypesafeI18nProps<"en">>, I18nContext: import("react").Context<I18nContextType<"en", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-react.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-react.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"i18n-react.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-react.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAc,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAG3F,QAAA,MAAmB,YAAY,4FAAW,WAAW;;;;yBAA4G,CAAA;AAEjK,QAAA,MAAM,cAAc,QAAO,eAAe,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAA4B,CAAA;AAElH,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA;AAEtC,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-util.async.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-util.async.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAUzD,eAAO,MAAM,iBAAiB,WAAkB,OAAO,KAAG,
|
|
1
|
+
{"version":3,"file":"i18n-util.async.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-util.async.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAUzD,eAAO,MAAM,iBAAiB,WAAkB,OAAO,KAAG,OAAO,CAAC,YAAY,CACA,CAAA;AAE9E,eAAO,MAAM,eAAe,WAAkB,OAAO,KAAG,OAAO,CAAC,IAAI,CAGnE,CAAA;AAED,eAAO,MAAM,mBAAmB,QAAO,OAAO,CAAC,IAAI,EAAE,CAA8C,CAAA;AAEnG,eAAO,MAAM,cAAc,WAAY,OAAO,KAAG,IACQ,CAAA"}
|
|
@@ -3,14 +3,14 @@ import type { LocaleTranslationFunctions, TranslateByString } from 'typesafe-i18
|
|
|
3
3
|
import type { Formatters, Locales, Translations, TranslationFunctions } from './i18n-types';
|
|
4
4
|
export declare const baseLocale: Locales;
|
|
5
5
|
export declare const locales: Locales[];
|
|
6
|
-
export declare const isLocale: (locale: string) => locale is
|
|
6
|
+
export declare const isLocale: (locale: string) => locale is Locales;
|
|
7
7
|
export declare const loadedLocales: Record<Locales, Translations>;
|
|
8
8
|
export declare const loadedFormatters: Record<Locales, Formatters>;
|
|
9
9
|
export declare const extendDictionary: <Base extends import("typesafe-i18n").BaseTranslation | {
|
|
10
10
|
Common: {
|
|
11
11
|
Hi: string;
|
|
12
12
|
};
|
|
13
|
-
}, Translation extends Base>(base: Base, part: (Translation extends string ? string : Translation extends import("typesafe-i18n").BaseTranslation ? { [P in keyof Translation]?: (Translation[P] extends infer T ? T extends Translation[P] ? T extends string ? string : T extends import("typesafe-i18n").BaseTranslation ? { [P_1 in keyof T]?: (T[P_1] extends infer T_1 ? T_1 extends T[P_1] ? T_1 extends string ? string : T_1 extends import("typesafe-i18n").BaseTranslation ? { [P_2 in keyof T_1]?: (T_1[P_2] extends infer T_2 ? T_2 extends T_1[P_2] ? T_2 extends string ? string : T_2 extends import("typesafe-i18n").BaseTranslation ? { [P_3 in keyof T_2]?: (T_2[P_3] extends infer T_3 ? T_3 extends T_2[P_3] ? T_3 extends string ? string : T_3 extends import("typesafe-i18n").BaseTranslation ? { [P_4 in keyof T_3]?: (T_3[P_4] extends infer T_4 ? T_4 extends T_3[P_4] ? T_4 extends string ? string : T_4 extends import("typesafe-i18n").BaseTranslation ? { [P_5 in keyof T_4]?: (T_4[P_5] extends infer T_5 ? T_5 extends T_4[P_5] ? T_5 extends string ? string : T_5 extends import("typesafe-i18n").BaseTranslation ? { [P_6 in keyof T_5]?: (T_5[P_6] extends infer T_6 ? T_6 extends T_5[P_6] ? T_6 extends string ? string : T_6 extends import("typesafe-i18n").BaseTranslation ? { [P_7 in keyof T_6]?: (T_6[P_7] extends infer T_7 ? T_7 extends T_6[P_7] ? T_7 extends string ? string : T_7 extends import("typesafe-i18n").BaseTranslation ? { [P_8 in keyof T_7]?: (T_7[P_8] extends infer T_8 ? T_8 extends T_7[P_8] ? T_8 extends string ? string : T_8 extends import("typesafe-i18n").BaseTranslation ? { [P_9 in keyof T_8]?: (T_8[P_9] extends infer T_9 ? T_9 extends T_8[P_9] ? T_9 extends string ? string : T_9 extends import("typesafe-i18n").BaseTranslation ? { [P_10 in keyof T_9]?: any | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never) | undefined; } : Translation) extends infer T_10 ? T_10 extends (Translation extends string ? string : Translation extends import("typesafe-i18n").BaseTranslation ? { [P in keyof Translation]?: (Translation[P] extends infer
|
|
13
|
+
}, Translation extends Base>(base: Base, part: (Translation extends string ? string : Translation extends import("typesafe-i18n").BaseTranslation ? { [P in keyof Translation]?: (Translation[P] extends infer T ? T extends Translation[P] ? T extends string ? string : T extends import("typesafe-i18n").BaseTranslation ? { [P_1 in keyof T]?: (T[P_1] extends infer T_1 ? T_1 extends T[P_1] ? T_1 extends string ? string : T_1 extends import("typesafe-i18n").BaseTranslation ? { [P_2 in keyof T_1]?: (T_1[P_2] extends infer T_2 ? T_2 extends T_1[P_2] ? T_2 extends string ? string : T_2 extends import("typesafe-i18n").BaseTranslation ? { [P_3 in keyof T_2]?: (T_2[P_3] extends infer T_3 ? T_3 extends T_2[P_3] ? T_3 extends string ? string : T_3 extends import("typesafe-i18n").BaseTranslation ? { [P_4 in keyof T_3]?: (T_3[P_4] extends infer T_4 ? T_4 extends T_3[P_4] ? T_4 extends string ? string : T_4 extends import("typesafe-i18n").BaseTranslation ? { [P_5 in keyof T_4]?: (T_4[P_5] extends infer T_5 ? T_5 extends T_4[P_5] ? T_5 extends string ? string : T_5 extends import("typesafe-i18n").BaseTranslation ? { [P_6 in keyof T_5]?: (T_5[P_6] extends infer T_6 ? T_6 extends T_5[P_6] ? T_6 extends string ? string : T_6 extends import("typesafe-i18n").BaseTranslation ? { [P_7 in keyof T_6]?: (T_6[P_7] extends infer T_7 ? T_7 extends T_6[P_7] ? T_7 extends string ? string : T_7 extends import("typesafe-i18n").BaseTranslation ? { [P_8 in keyof T_7]?: (T_7[P_8] extends infer T_8 ? T_8 extends T_7[P_8] ? T_8 extends string ? string : T_8 extends import("typesafe-i18n").BaseTranslation ? { [P_9 in keyof T_8]?: (T_8[P_9] extends infer T_9 ? T_9 extends T_8[P_9] ? T_9 extends string ? string : T_9 extends import("typesafe-i18n").BaseTranslation ? { [P_10 in keyof T_9]?: any | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never) | undefined; } : Translation) extends infer T_10 ? T_10 extends (Translation extends string ? string : Translation extends import("typesafe-i18n").BaseTranslation ? { [P in keyof Translation]?: (Translation[P] extends infer T ? T extends Translation[P] ? T extends string ? string : T extends import("typesafe-i18n").BaseTranslation ? { [P_1 in keyof T]?: (T[P_1] extends infer T_1 ? T_1 extends T[P_1] ? T_1 extends string ? string : T_1 extends import("typesafe-i18n").BaseTranslation ? { [P_2 in keyof T_1]?: (T_1[P_2] extends infer T_2 ? T_2 extends T_1[P_2] ? T_2 extends string ? string : T_2 extends import("typesafe-i18n").BaseTranslation ? { [P_3 in keyof T_2]?: (T_2[P_3] extends infer T_3 ? T_3 extends T_2[P_3] ? T_3 extends string ? string : T_3 extends import("typesafe-i18n").BaseTranslation ? { [P_4 in keyof T_3]?: (T_3[P_4] extends infer T_4 ? T_4 extends T_3[P_4] ? T_4 extends string ? string : T_4 extends import("typesafe-i18n").BaseTranslation ? { [P_5 in keyof T_4]?: (T_4[P_5] extends infer T_5 ? T_5 extends T_4[P_5] ? T_5 extends string ? string : T_5 extends import("typesafe-i18n").BaseTranslation ? { [P_6 in keyof T_5]?: (T_5[P_6] extends infer T_6 ? T_6 extends T_5[P_6] ? T_6 extends string ? string : T_6 extends import("typesafe-i18n").BaseTranslation ? { [P_7 in keyof T_6]?: (T_6[P_7] extends infer T_7 ? T_7 extends T_6[P_7] ? T_7 extends string ? string : T_7 extends import("typesafe-i18n").BaseTranslation ? { [P_8 in keyof T_7]?: (T_7[P_8] extends infer T_8 ? T_8 extends T_7[P_8] ? T_8 extends string ? string : T_8 extends import("typesafe-i18n").BaseTranslation ? { [P_9 in keyof T_8]?: (T_8[P_9] extends infer T_9 ? T_9 extends T_8[P_9] ? T_9 extends string ? string : T_9 extends import("typesafe-i18n").BaseTranslation ? { [P_10 in keyof T_9]?: any | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never) | undefined; } : Translation) ? T_10 extends import("typesafe-i18n").BaseTranslation ? { [P_11 in keyof T_10]?: (T_10[P_11] extends infer T_11 ? T_11 extends T_10[P_11] ? T_11 extends import("typesafe-i18n").BaseTranslation ? { [P_12 in keyof T_11]?: (T_11[P_12] extends infer T_12 ? T_12 extends T_11[P_12] ? T_12 extends import("typesafe-i18n").BaseTranslation ? { [P_13 in keyof T_12]?: (T_12[P_13] extends infer T_13 ? T_13 extends T_12[P_13] ? T_13 extends import("typesafe-i18n").BaseTranslation ? { [P_14 in keyof T_13]?: (T_13[P_14] extends infer T_14 ? T_14 extends T_13[P_14] ? T_14 extends import("typesafe-i18n").BaseTranslation ? { [P_15 in keyof T_14]?: (T_14[P_15] extends infer T_15 ? T_15 extends T_14[P_15] ? T_15 extends import("typesafe-i18n").BaseTranslation ? { [P_16 in keyof T_15]?: (T_15[P_16] extends infer T_16 ? T_16 extends T_15[P_16] ? T_16 extends import("typesafe-i18n").BaseTranslation ? { [P_17 in keyof T_16]?: (T_16[P_17] extends infer T_17 ? T_17 extends T_16[P_17] ? T_17 extends import("typesafe-i18n").BaseTranslation ? { [P_18 in keyof T_17]?: (T_17[P_18] extends infer T_18 ? T_18 extends T_17[P_18] ? T_18 extends import("typesafe-i18n").BaseTranslation ? { [P_19 in keyof T_18]?: (T_18[P_19] extends infer T_19 ? T_19 extends T_18[P_19] ? T_19 extends import("typesafe-i18n").BaseTranslation ? { [P_20 in keyof T_19]?: (T_19[P_20] extends infer T_20 ? T_20 extends T_19[P_20] ? T_20 extends import("typesafe-i18n").BaseTranslation ? { [P_21 in keyof T_20]?: any | undefined; } : T_20 : never : never) | undefined; } : T_19 : never : never) | undefined; } : T_18 : never : never) | undefined; } : T_17 : never : never) | undefined; } : T_16 : never : never) | undefined; } : T_15 : never : never) | undefined; } : T_14 : never : never) | undefined; } : T_13 : never : never) | undefined; } : T_12 : never : never) | undefined; } : T_11 : never : never) | undefined; } : T_10 : never : never) => Translation;
|
|
14
14
|
export declare const i18nString: (locale: Locales) => TranslateByString;
|
|
15
15
|
export declare const i18nObject: (locale: Locales) => TranslationFunctions;
|
|
16
16
|
export declare const i18n: () => LocaleTranslationFunctions<Locales, Translations, TranslationFunctions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-util.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAGlF,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAE3F,eAAO,MAAM,UAAU,EAAE,OAAc,CAAA;AAEvC,eAAO,MAAM,OAAO,EAAE,OAAO,EAE5B,CAAA;AAED,eAAO,MAAM,QAAQ,WAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"i18n-util.d.ts","sourceRoot":"","sources":["../../src/translations/i18n-util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAGlF,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAE3F,eAAO,MAAM,UAAU,EAAE,OAAc,CAAA;AAEvC,eAAO,MAAM,OAAO,EAAE,OAAO,EAE5B,CAAA;AAED,eAAO,MAAM,QAAQ,WAAY,MAAM,KAAG,MAAM,IAAI,OAA8C,CAAA;AAElG,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAuC,CAAA;AAE/F,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAqC,CAAA;AAE9F,eAAO,MAAM,gBAAgB;;;;0oMAAuC,CAAA;AAEpE,eAAO,MAAM,UAAU,WAAY,OAAO,KAAG,iBAA0F,CAAA;AAEvI,eAAO,MAAM,UAAU,WAAY,OAAO,KAAG,oBAK3C,CAAA;AAEF,eAAO,MAAM,IAAI,QAAO,0BAA0B,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CACK,CAAA;AAEnG,eAAO,MAAM,YAAY,iBAAkB,cAAc,EAAE,KAAG,OAAqE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxonis/common-fe-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"style-gen": "panda codegen --clean
|
|
8
|
-
"build": "./build.sh",
|
|
7
|
+
"style-gen": "panda codegen --clean",
|
|
8
|
+
"build": "rm -rf ./dist; rm ./tsconfig.tsbuildinfo; ./build.sh",
|
|
9
9
|
"clean": "rm -rf ./dist ./node_modules ./tsconfig.tsbuildinfo ./src/styled-system",
|
|
10
10
|
"translation-gen": "typesafe-i18n --no-watch"
|
|
11
11
|
},
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@hookform/resolvers": "^3.9.0",
|
|
25
|
-
"@luxonis
|
|
26
|
-
"@luxonis-public/shadow-panda-style-context": "^0.7.2",
|
|
27
|
-
"@luxonis/common-fe-utils": "^1.18.2",
|
|
25
|
+
"@luxonis/common-fe-utils": "^1.19.0",
|
|
28
26
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
29
27
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
30
28
|
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
|
@@ -53,6 +51,8 @@
|
|
|
53
51
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
54
52
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
55
53
|
"@sentry/react": "^8.28.0",
|
|
54
|
+
"@shadow-panda/preset": "^0.7.1",
|
|
55
|
+
"@shadow-panda/style-context": "^0.7.1",
|
|
56
56
|
"@tanstack/react-table": "^8.20.5",
|
|
57
57
|
"@uiw/react-markdown-editor": "^6.1.2",
|
|
58
58
|
"cmdk": "^1.0.0",
|
|
@@ -74,16 +74,16 @@
|
|
|
74
74
|
"react": "^18.3.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@pandacss/dev": "^0.
|
|
77
|
+
"@pandacss/dev": "^0.26.2",
|
|
78
78
|
"@types/react": "^18.3.5",
|
|
79
79
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
80
80
|
"postcss": "^8.4.44",
|
|
81
|
-
"typescript": "5.
|
|
81
|
+
"typescript": "5.5.4"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"registry": "https://registry.npmjs.org",
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "ea07a009bb099325fae394cfcaa963082dfc761c",
|
|
88
88
|
"license": "UNLICENSED"
|
|
89
89
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { FunctionComponent } from 'react'
|
|
3
|
-
import type { CqProperties } from '../patterns/cq.d.mts';
|
|
4
|
-
import type { HTMLStyledProps } from '../types/jsx.d.mts';
|
|
5
|
-
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
|
-
|
|
7
|
-
export interface CqProps extends CqProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CqProperties > {}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const Cq: FunctionComponent<CqProps>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createElement, forwardRef } from 'react'
|
|
2
|
-
|
|
3
|
-
import { splitProps } from '../helpers.mjs';
|
|
4
|
-
import { getCqStyle } from '../patterns/cq.mjs';
|
|
5
|
-
import { styled } from './factory.mjs';
|
|
6
|
-
|
|
7
|
-
export const Cq = /* @__PURE__ */ forwardRef(function Cq(props, ref) {
|
|
8
|
-
const [patternProps, restProps] = splitProps(props, ["name","type"])
|
|
9
|
-
|
|
10
|
-
const styleProps = getCqStyle(patternProps)
|
|
11
|
-
const mergedProps = { ref, ...styleProps, ...restProps }
|
|
12
|
-
|
|
13
|
-
return createElement(styled.div, mergedProps)
|
|
14
|
-
})
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
|
-
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
|
-
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
|
-
|
|
8
|
-
export interface CqProperties {
|
|
9
|
-
name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
|
|
10
|
-
type?: SystemProperties["containerType"]
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
interface CqStyles extends CqProperties, DistributiveOmit<SystemStyleObject, keyof CqProperties > {}
|
|
15
|
-
|
|
16
|
-
interface CqPatternFn {
|
|
17
|
-
(styles?: CqStyles): string
|
|
18
|
-
raw: (styles?: CqStyles) => SystemStyleObject
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const cq: CqPatternFn;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
|
-
import { css } from '../css/index.mjs';
|
|
3
|
-
|
|
4
|
-
const cqConfig = {
|
|
5
|
-
transform(props) {
|
|
6
|
-
const { name, type, ...rest } = props;
|
|
7
|
-
return {
|
|
8
|
-
containerType: type,
|
|
9
|
-
containerName: name,
|
|
10
|
-
...rest
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
defaultValues:{type:'inline-size'}}
|
|
14
|
-
|
|
15
|
-
export const getCqStyle = (styles = {}) => {
|
|
16
|
-
const _styles = getPatternStyles(cqConfig, styles)
|
|
17
|
-
return cqConfig.transform(_styles, patternFns)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const cq = (styles) => css(getCqStyle(styles))
|
|
21
|
-
cq.raw = getCqStyle
|