@luxonis/common-fe-components 1.19.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +918 -822
- 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/FilterDropdown.js +5 -0
- package/dist/components/custom/FilterDropdown.js.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/ProgressTicker.d.ts +1 -0
- package/dist/components/custom/ProgressTicker.d.ts.map +1 -1
- package/dist/components/custom/RadioGroup.d.ts +1840 -1648
- 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 +1835 -1643
- 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 +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 +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 +24 -15
- package/dist/panda.css +1682 -1621
- package/dist/panda.d.ts.map +1 -1
- package/dist/panda.js +3 -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/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,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue,
|
|
3
|
-
import type { PropertiesFallback } from './csstype.d.mts';
|
|
2
|
+
import type { ConditionalValue, Nested } from './conditions.d.mts';
|
|
3
|
+
import type { AtRule, Globals, PropertiesFallback } from './csstype.d.mts';
|
|
4
4
|
import type { SystemProperties, CssVarProperties } from './style-props.d.mts';
|
|
5
5
|
|
|
6
6
|
type String = string & {}
|
|
@@ -22,9 +22,93 @@ 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
|
+
|
|
25
109
|
export type CssProperty = keyof PropertiesFallback
|
|
26
110
|
|
|
27
|
-
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties {}
|
|
111
|
+
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}
|
|
28
112
|
|
|
29
113
|
export interface CssKeyframes {
|
|
30
114
|
[name: string]: {
|
|
@@ -36,10 +120,6 @@ export interface CssKeyframes {
|
|
|
36
120
|
* Conditional css properties
|
|
37
121
|
* -----------------------------------------------------------------------------*/
|
|
38
122
|
|
|
39
|
-
type MinimalNested<P> = {
|
|
40
|
-
[K in keyof Conditions]?: Nested<P>
|
|
41
|
-
}
|
|
42
|
-
|
|
43
123
|
interface GenericProperties {
|
|
44
124
|
[key: string]: ConditionalValue<String | Number | boolean>
|
|
45
125
|
}
|
|
@@ -50,7 +130,7 @@ interface GenericProperties {
|
|
|
50
130
|
|
|
51
131
|
export type NestedCssProperties = Nested<CssProperties>
|
|
52
132
|
|
|
53
|
-
export type SystemStyleObject = Nested<SystemProperties & CssVarProperties>
|
|
133
|
+
export type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>
|
|
54
134
|
|
|
55
135
|
export interface GlobalStyleObject {
|
|
56
136
|
[selector: string]: SystemStyleObject
|
|
@@ -60,21 +140,41 @@ export interface ExtendableGlobalStyleObject {
|
|
|
60
140
|
extend?: GlobalStyleObject | undefined
|
|
61
141
|
}
|
|
62
142
|
|
|
143
|
+
/* -----------------------------------------------------------------------------
|
|
144
|
+
* Composition (text styles, layer styles)
|
|
145
|
+
* -----------------------------------------------------------------------------*/
|
|
146
|
+
|
|
63
147
|
type FilterStyleObject<P extends string> = {
|
|
64
148
|
[K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
|
|
65
149
|
}
|
|
66
150
|
|
|
67
151
|
export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
|
|
68
152
|
|
|
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
|
+
|
|
69
170
|
/* -----------------------------------------------------------------------------
|
|
70
171
|
* Jsx style props
|
|
71
172
|
* -----------------------------------------------------------------------------*/
|
|
72
173
|
interface WithCss {
|
|
73
|
-
css?: SystemStyleObject
|
|
174
|
+
css?: SystemStyleObject | SystemStyleObject[]
|
|
74
175
|
}
|
|
75
|
-
type StyleProps = SystemProperties & MinimalNested<SystemStyleObject>
|
|
76
176
|
|
|
77
|
-
export type JsxStyleProps =
|
|
177
|
+
export type JsxStyleProps = SystemStyleObject & WithCss
|
|
78
178
|
|
|
79
179
|
export interface PatchedHTMLProps {
|
|
80
180
|
htmlWidth?: string | number
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { I18nContextType } from 'typesafe-i18n/react';
|
|
2
3
|
import type { Locales, TranslationFunctions, Translations } from './i18n-types';
|
|
3
4
|
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":"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,
|
|
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,gBAAgB,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,QAAQ,YAAY,CACA,CAAA;AAE9E,eAAO,MAAM,eAAe,WAAkB,OAAO,KAAG,QAAQ,IAAI,CAGnE,CAAA;AAED,eAAO,MAAM,mBAAmB,QAAO,QAAQ,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 "en";
|
|
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_21 ? T_21 extends Translation[P] ? T_21 extends string ? string : T_21 extends import("typesafe-i18n").BaseTranslation ? { [P_22 in keyof T_21]?: (T_21[P_22] extends infer T_22 ? T_22 extends T_21[P_22] ? T_22 extends string ? string : T_22 extends import("typesafe-i18n").BaseTranslation ? { [P_23 in keyof T_22]?: (T_22[P_23] extends infer T_23 ? T_23 extends T_22[P_23] ? T_23 extends string ? string : T_23 extends import("typesafe-i18n").BaseTranslation ? { [P_24 in keyof T_23]?: (T_23[P_24] extends infer T_24 ? T_24 extends T_23[P_24] ? T_24 extends string ? string : T_24 extends import("typesafe-i18n").BaseTranslation ? { [P_25 in keyof T_24]?: (T_24[P_25] extends infer T_25 ? T_25 extends T_24[P_25] ? T_25 extends string ? string : T_25 extends import("typesafe-i18n").BaseTranslation ? { [P_26 in keyof T_25]?: (T_25[P_26] extends infer T_26 ? T_26 extends T_25[P_26] ? T_26 extends string ? string : T_26 extends import("typesafe-i18n").BaseTranslation ? { [P_27 in keyof T_26]?: (T_26[P_27] extends infer T_27 ? T_27 extends T_26[P_27] ? T_27 extends string ? string : T_27 extends import("typesafe-i18n").BaseTranslation ? { [P_28 in keyof T_27]?: (T_27[P_28] extends infer T_28 ? T_28 extends T_27[P_28] ? T_28 extends string ? string : T_28 extends import("typesafe-i18n").BaseTranslation ? { [P_29 in keyof T_28]?: (T_28[P_29] extends infer T_29 ? T_29 extends T_28[P_29] ? T_29 extends string ? string : T_29 extends import("typesafe-i18n").BaseTranslation ? { [P_30 in keyof T_29]?: (T_29[P_30] extends infer T_30 ? T_30 extends T_29[P_30] ? T_30 extends string ? string : T_30 extends import("typesafe-i18n").BaseTranslation ? { [P_31 in keyof T_30]?: any | undefined; } : T_30 : never : never) | undefined; } : T_29 : never : never) | undefined; } : T_28 : never : never) | undefined; } : T_27 : never : never) | undefined; } : T_26 : never : never) | undefined; } : T_25 : never : never) | undefined; } : T_24 : never : never) | undefined; } : T_23 : never : never) | undefined; } : T_22 : never : never) | undefined; } : T_21 : 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,mBAA2D,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;;;;mwMAAuC,CAAA;AAEpE,eAAO,MAAM,UAAU,WAAY,OAAO,KAAG,iBAA0F,CAAA;AAEvI,eAAO,MAAM,UAAU,WAAY,OAAO,KAAG,oBAK3C,CAAA;AAEF,eAAO,MAAM,IAAI,QAAO,2BAA2B,OAAO,EAAE,YAAY,EAAE,oBAAoB,CACK,CAAA;AAEnG,eAAO,MAAM,YAAY,iBAAkB,cAAc,EAAE,KAAG,OAAqE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxonis/common-fe-components",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@hookform/resolvers": "^3.9.0",
|
|
25
|
-
"@luxonis/
|
|
25
|
+
"@luxonis-public/shadow-panda-preset": "^0.7.2",
|
|
26
|
+
"@luxonis-public/shadow-panda-style-context": "^0.7.2",
|
|
27
|
+
"@luxonis/common-fe-utils": "^1.19.1",
|
|
26
28
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
27
29
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
28
30
|
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
|
@@ -51,8 +53,6 @@
|
|
|
51
53
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
52
54
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
53
55
|
"@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.53.0",
|
|
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.4.4"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"registry": "https://registry.npmjs.org",
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "4237f940949c10872d7dcaabd885f84d34edd543",
|
|
88
88
|
"license": "UNLICENSED"
|
|
89
89
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { FunctionComponent } from 'react'
|
|
3
|
-
import type { LinkBoxProperties } from '../patterns/link-box.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 LinkBoxProps extends LinkBoxProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof LinkBoxProperties > {}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const LinkBox: FunctionComponent<LinkBoxProps>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createElement, forwardRef } from 'react'
|
|
2
|
-
import { mergeCss } from '../css/css.mjs';
|
|
3
|
-
import { splitProps } from '../helpers.mjs';
|
|
4
|
-
import { getLinkBoxStyle } from '../patterns/link-box.mjs';
|
|
5
|
-
import { styled } from './factory.mjs';
|
|
6
|
-
|
|
7
|
-
export const LinkBox = /* @__PURE__ */ forwardRef(function LinkBox(props, ref) {
|
|
8
|
-
const [patternProps, restProps] = splitProps(props, [])
|
|
9
|
-
|
|
10
|
-
const styleProps = getLinkBoxStyle(patternProps)
|
|
11
|
-
const mergedProps = { ref, ...styleProps, ...restProps }
|
|
12
|
-
|
|
13
|
-
return createElement(styled.div, mergedProps)
|
|
14
|
-
})
|
|
@@ -1,21 +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 { PropertyValue } from '../types/prop-type.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 LinkBoxProperties {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
|
|
14
|
-
|
|
15
|
-
interface LinkBoxPatternFn {
|
|
16
|
-
(styles?: LinkBoxStyles): string
|
|
17
|
-
raw: (styles?: LinkBoxStyles) => SystemStyleObject
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare const linkBox: LinkBoxPatternFn;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { mapObject } from '../helpers.mjs';
|
|
2
|
-
import { css } from '../css/index.mjs';
|
|
3
|
-
|
|
4
|
-
const linkBoxConfig = {
|
|
5
|
-
transform(props) {
|
|
6
|
-
return {
|
|
7
|
-
position: "relative",
|
|
8
|
-
"& :where(a, abbr)": {
|
|
9
|
-
position: "relative",
|
|
10
|
-
zIndex: "1"
|
|
11
|
-
},
|
|
12
|
-
...props
|
|
13
|
-
};
|
|
14
|
-
}}
|
|
15
|
-
|
|
16
|
-
export const getLinkBoxStyle = (styles = {}) => linkBoxConfig.transform(styles, { map: mapObject })
|
|
17
|
-
|
|
18
|
-
export const linkBox = (styles) => css(getLinkBoxStyle(styles))
|
|
19
|
-
linkBox.raw = getLinkBoxStyle
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|