@stokelp/ui 2.126.1 → 3.0.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/accordion/Accordion.cjs +1 -1
- package/dist/components/accordion/Accordion.cjs.map +1 -1
- package/dist/components/accordion/Accordion.d.ts +1 -1
- package/dist/components/accordion/Accordion.js +1 -2
- package/dist/components/accordion/Accordion.js.map +1 -1
- package/dist/components/action-card/ActionCard.cjs.map +1 -1
- package/dist/components/action-card/ActionCard.d.ts +1 -1
- package/dist/components/action-card/ActionCard.js +1 -2
- package/dist/components/action-card/ActionCard.js.map +1 -1
- package/dist/components/alert/Alert.cjs.map +1 -1
- package/dist/components/alert/Alert.d.ts +1 -1
- package/dist/components/alert/Alert.js +1 -2
- package/dist/components/alert/Alert.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.js +1 -2
- package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.js +1 -2
- package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +2 -3
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.js +1 -2
- package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.d.ts +3 -3
- package/dist/components/app/mobile-card/MobileCardSkeleton.js +1 -2
- package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.js +2 -3
- package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
- package/dist/components/app/navigation/AppNavigation.cjs +1 -1
- package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
- package/dist/components/app/navigation/AppNavigation.js +3 -4
- package/dist/components/app/navigation/AppNavigation.js.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +5 -6
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
- package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
- package/dist/components/app/price-tag/PriceTag.d.ts +3 -5
- package/dist/components/app/price-tag/PriceTag.js +1 -2
- package/dist/components/app/price-tag/PriceTag.js.map +1 -1
- package/dist/components/app/product-card-catalog/styled.cjs +1 -1
- package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
- package/dist/components/app/product-card-catalog/styled.d.ts +1 -1
- package/dist/components/app/product-card-catalog/styled.js +2 -3
- package/dist/components/app/product-card-catalog/styled.js.map +1 -1
- package/dist/components/avatar/styled.cjs +1 -1
- package/dist/components/avatar/styled.cjs.map +1 -1
- package/dist/components/avatar/styled.d.ts +4 -7
- package/dist/components/avatar/styled.js +2 -3
- package/dist/components/avatar/styled.js.map +1 -1
- package/dist/components/box/Box.cjs +1 -1
- package/dist/components/box/Box.cjs.map +1 -1
- package/dist/components/box/Box.d.ts +1 -1
- package/dist/components/box/Box.js +3 -4
- package/dist/components/box/Box.js.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +1 -2
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/button/Button.cjs.map +1 -1
- package/dist/components/button/Button.js +1 -2
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
- package/dist/components/button-filter/ButtonFilter.d.ts +4 -5
- package/dist/components/button-filter/ButtonFilter.js +1 -2
- package/dist/components/button-filter/ButtonFilter.js.map +1 -1
- package/dist/components/chat/Chat.cjs +1 -1
- package/dist/components/chat/Chat.cjs.map +1 -1
- package/dist/components/chat/Chat.d.ts +4 -8
- package/dist/components/chat/Chat.js +2 -3
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.cjs +1 -1
- package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.js +3 -4
- package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
- package/dist/components/chat/ChatMessage.cjs.map +1 -1
- package/dist/components/chat/ChatMessage.d.ts +4 -7
- package/dist/components/chat/ChatMessage.js +1 -2
- package/dist/components/chat/ChatMessage.js.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.js +1 -2
- package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
- package/dist/components/chat/ChatScoreBreakdown.cjs.map +1 -1
- package/dist/components/chat/ChatScoreBreakdown.d.ts +1 -1
- package/dist/components/chat/ChatScoreBreakdown.js +1 -2
- package/dist/components/chat/ChatScoreBreakdown.js.map +1 -1
- package/dist/components/chat/ChatTextInput.cjs.map +1 -1
- package/dist/components/chat/ChatTextInput.js +1 -2
- package/dist/components/chat/ChatTextInput.js.map +1 -1
- package/dist/components/checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/checkbox/Checkbox.js +1 -2
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.js +1 -2
- package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
- package/dist/components/checkbox-card/namespace.cjs +1 -1
- package/dist/components/checkbox-card/namespace.cjs.map +1 -1
- package/dist/components/checkbox-card/namespace.js +2 -3
- package/dist/components/checkbox-card/namespace.js.map +1 -1
- package/dist/components/chip/Chip.cjs.map +1 -1
- package/dist/components/chip/Chip.d.ts +1 -1
- package/dist/components/chip/Chip.js +1 -2
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/collapsible/styled.cjs +1 -1
- package/dist/components/collapsible/styled.cjs.map +1 -1
- package/dist/components/collapsible/styled.d.ts +1 -1
- package/dist/components/collapsible/styled.js +2 -3
- package/dist/components/collapsible/styled.js.map +1 -1
- package/dist/components/combobox/Combobox.cjs +1 -1
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +1 -1
- package/dist/components/combobox/Combobox.js +6 -5
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/date-picker/DatePicker.cjs.map +1 -1
- package/dist/components/date-picker/DatePicker.js +1 -2
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/dialog/styled.cjs +1 -1
- package/dist/components/dialog/styled.cjs.map +1 -1
- package/dist/components/dialog/styled.d.ts +2 -2
- package/dist/components/dialog/styled.js +2 -3
- package/dist/components/dialog/styled.js.map +1 -1
- package/dist/components/drawer/Drawer.cjs.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +2 -2
- package/dist/components/drawer/Drawer.js +1 -2
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/flag/styled.cjs.map +1 -1
- package/dist/components/flag/styled.d.ts +209 -211
- package/dist/components/flag/styled.js +1 -2
- package/dist/components/flag/styled.js.map +1 -1
- package/dist/components/form/FormControl.cjs +1 -1
- package/dist/components/form/FormControl.cjs.map +1 -1
- package/dist/components/form/FormControl.js +11 -7
- package/dist/components/form/FormControl.js.map +1 -1
- package/dist/components/form/FormHelperText.cjs.map +1 -1
- package/dist/components/form/FormHelperText.js +1 -2
- package/dist/components/form/FormHelperText.js.map +1 -1
- package/dist/components/form/FormLabel.cjs.map +1 -1
- package/dist/components/form/FormLabel.js +1 -2
- package/dist/components/form/FormLabel.js.map +1 -1
- package/dist/components/heading/Heading.cjs +1 -1
- package/dist/components/heading/Heading.cjs.map +1 -1
- package/dist/components/heading/Heading.d.ts +1 -1
- package/dist/components/heading/Heading.js +3 -4
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.cjs.map +1 -1
- package/dist/components/icon/Icon.js +1 -2
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/icon-button/IconButton.cjs.map +1 -1
- package/dist/components/icon-button/IconButton.js +1 -2
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/illustration/Illustration.cjs.map +1 -1
- package/dist/components/illustration/Illustration.js +1 -2
- package/dist/components/illustration/Illustration.js.map +1 -1
- package/dist/components/illustration/patterns.cjs.map +1 -1
- package/dist/components/illustration/patterns.js +1 -2
- package/dist/components/illustration/patterns.js.map +1 -1
- package/dist/components/input/HighlightedInput.cjs.map +1 -1
- package/dist/components/input/HighlightedInput.d.ts +1 -1
- package/dist/components/input/HighlightedInput.js +1 -2
- package/dist/components/input/HighlightedInput.js.map +1 -1
- package/dist/components/input/Input.cjs.map +1 -1
- package/dist/components/input/Input.js +1 -2
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input/InputAddon.cjs.map +1 -1
- package/dist/components/input/InputAddon.d.ts +4 -5
- package/dist/components/input/InputAddon.js +1 -2
- package/dist/components/input/InputAddon.js.map +1 -1
- package/dist/components/input/InputGroup.cjs.map +1 -1
- package/dist/components/input/InputGroup.js +1 -2
- package/dist/components/input/InputGroup.js.map +1 -1
- package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
- package/dist/components/input/PhoneNumberInput.js +1 -2
- package/dist/components/input/PhoneNumberInput.js.map +1 -1
- package/dist/components/menu/Menu.cjs +1 -1
- package/dist/components/menu/Menu.cjs.map +1 -1
- package/dist/components/menu/Menu.d.ts +2 -2
- package/dist/components/menu/Menu.js +2 -3
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/origin-select/OriginSelect.cjs.map +1 -1
- package/dist/components/origin-select/OriginSelect.d.ts +1 -1
- package/dist/components/origin-select/OriginSelect.js +1 -2
- package/dist/components/origin-select/OriginSelect.js.map +1 -1
- package/dist/components/pagination/Pagination.cjs.map +1 -1
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/pagination/Pagination.js +1 -2
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/components/pagination/use-pagination.js +1 -2
- package/dist/components/pagination/use-pagination.js.map +1 -1
- package/dist/components/popover/Popover.cjs.map +1 -1
- package/dist/components/popover/Popover.d.ts +2 -2
- package/dist/components/popover/Popover.js +1 -2
- package/dist/components/popover/Popover.js.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.d.ts +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.js +1 -2
- package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.d.ts +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.js +1 -2
- package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
- package/dist/components/radio-card-group/namespace.cjs +1 -1
- package/dist/components/radio-card-group/namespace.cjs.map +1 -1
- package/dist/components/radio-card-group/namespace.js +2 -3
- package/dist/components/radio-card-group/namespace.js.map +1 -1
- package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
- package/dist/components/radio-group/RadioGroup.d.ts +1 -1
- package/dist/components/radio-group/RadioGroup.js +1 -2
- package/dist/components/radio-group/RadioGroup.js.map +1 -1
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/select/Select.js +2 -7
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select-language/SelectLanguage.cjs +1 -1
- package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
- package/dist/components/select-language/SelectLanguage.js +45 -43
- package/dist/components/select-language/SelectLanguage.js.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.cjs +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.js +30 -31
- package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
- package/dist/components/steps/Steps.cjs.map +1 -1
- package/dist/components/steps/Steps.d.ts +1 -1
- package/dist/components/steps/Steps.js +1 -2
- package/dist/components/steps/Steps.js.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.d.ts +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +1 -2
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.d.ts +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +53 -54
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js.map +1 -1
- package/dist/components/supplier-rating-badge/labels.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/labels.js +1 -2
- package/dist/components/supplier-rating-badge/labels.js.map +1 -1
- package/dist/components/switch/Switch.cjs.map +1 -1
- package/dist/components/switch/Switch.js +1 -2
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
- package/dist/components/switch-card/SwitchCard.d.ts +2 -1
- package/dist/components/switch-card/SwitchCard.js +1 -2
- package/dist/components/switch-card/SwitchCard.js.map +1 -1
- package/dist/components/switch-card/namespace.cjs +1 -1
- package/dist/components/switch-card/namespace.cjs.map +1 -1
- package/dist/components/switch-card/namespace.js +2 -3
- package/dist/components/switch-card/namespace.js.map +1 -1
- package/dist/components/table/Table.cjs +1 -1
- package/dist/components/table/Table.cjs.map +1 -1
- package/dist/components/table/Table.js +3 -4
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableProvider.cjs.map +1 -1
- package/dist/components/table/TableProvider.js +1 -2
- package/dist/components/table/TableProvider.js.map +1 -1
- package/dist/components/tabs/Tabs.cjs.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +4 -7
- package/dist/components/tabs/Tabs.js +1 -2
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tag/Tag.cjs +1 -1
- package/dist/components/tag/Tag.cjs.map +1 -1
- package/dist/components/tag/Tag.js +19 -14
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/text/Text.cjs +1 -1
- package/dist/components/text/Text.cjs.map +1 -1
- package/dist/components/text/Text.d.ts +1 -1
- package/dist/components/text/Text.js +3 -4
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.cjs.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +4 -5
- package/dist/components/textarea/Textarea.js +1 -2
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +2 -2
- package/dist/components/tooltip/Tooltip.js +1 -2
- package/dist/components/tooltip/Tooltip.js.map +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.cjs.map +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.js +1 -2
- package/dist/components/ui-labels/UiLabelsProvider.js.map +1 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.js +1 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js +4 -5
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.3.1/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs +1 -1
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs.map +1 -1
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +2 -3
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js.map +1 -1
- package/dist/preset.cjs +1 -1
- package/dist/preset.cjs.map +1 -1
- package/dist/preset.js +7 -6
- package/dist/preset.js.map +1 -1
- package/dist/shared/ConditionalWrapper.cjs.map +1 -1
- package/dist/shared/ConditionalWrapper.js +1 -2
- package/dist/shared/ConditionalWrapper.js.map +1 -1
- package/dist/shared/assets/icons.cjs.map +1 -1
- package/dist/shared/assets/icons.d.ts +2 -2
- package/dist/shared/assets/icons.js +1 -2
- package/dist/shared/assets/icons.js.map +1 -1
- package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
- package/dist/shared/hooks/useUncontrolled.js +1 -2
- package/dist/shared/hooks/useUncontrolled.js.map +1 -1
- package/dist/shared/utils/events.cjs.map +1 -1
- package/dist/shared/utils/events.js +1 -2
- package/dist/shared/utils/events.js.map +1 -1
- package/dist/theme/breakpoints.cjs.map +1 -1
- package/dist/theme/breakpoints.js +1 -2
- package/dist/theme/breakpoints.js.map +1 -1
- package/dist/theme/conditions.cjs.map +1 -1
- package/dist/theme/conditions.js +1 -2
- package/dist/theme/conditions.js.map +1 -1
- package/dist/theme/containers.cjs +1 -1
- package/dist/theme/containers.cjs.map +1 -1
- package/dist/theme/containers.d.ts +1 -1
- package/dist/theme/containers.js +2 -3
- package/dist/theme/containers.js.map +1 -1
- package/dist/theme/globalCss.cjs.map +1 -1
- package/dist/theme/globalCss.d.ts +1 -1
- package/dist/theme/globalCss.js +1 -2
- package/dist/theme/globalCss.js.map +1 -1
- package/dist/theme/keyframes.cjs.map +1 -1
- package/dist/theme/keyframes.d.ts +1 -1
- package/dist/theme/keyframes.js +1 -2
- package/dist/theme/keyframes.js.map +1 -1
- package/dist/theme/recipes/accordion.cjs.map +1 -1
- package/dist/theme/recipes/accordion.d.ts +32 -2
- package/dist/theme/recipes/accordion.js +1 -2
- package/dist/theme/recipes/accordion.js.map +1 -1
- package/dist/theme/recipes/action-card.cjs.map +1 -1
- package/dist/theme/recipes/action-card.d.ts +2 -2
- package/dist/theme/recipes/action-card.js +1 -2
- package/dist/theme/recipes/action-card.js.map +1 -1
- package/dist/theme/recipes/alert.cjs.map +1 -1
- package/dist/theme/recipes/alert.d.ts +30 -2
- package/dist/theme/recipes/alert.js +1 -2
- package/dist/theme/recipes/alert.js.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.d.ts +51 -2
- package/dist/theme/recipes/app/mobile-navigation.js +1 -2
- package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.cjs +1 -1
- package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.d.ts +105 -2
- package/dist/theme/recipes/app/navigation-language-select.js +31 -39
- package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
- package/dist/theme/recipes/app/navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation.d.ts +125 -2
- package/dist/theme/recipes/app/navigation.js +1 -2
- package/dist/theme/recipes/app/navigation.js.map +1 -1
- package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
- package/dist/theme/recipes/app/price-tag.d.ts +41 -2
- package/dist/theme/recipes/app/price-tag.js +1 -2
- package/dist/theme/recipes/app/price-tag.js.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.d.ts +2 -2
- package/dist/theme/recipes/app/product-card-catalog.js +1 -2
- package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
- package/dist/theme/recipes/avatar-group.cjs.map +1 -1
- package/dist/theme/recipes/avatar-group.d.ts +14 -2
- package/dist/theme/recipes/avatar-group.js +1 -2
- package/dist/theme/recipes/avatar-group.js.map +1 -1
- package/dist/theme/recipes/avatar.cjs.map +1 -1
- package/dist/theme/recipes/avatar.d.ts +53 -2
- package/dist/theme/recipes/avatar.js +1 -2
- package/dist/theme/recipes/avatar.js.map +1 -1
- package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
- package/dist/theme/recipes/breadcrumb.d.ts +2 -2
- package/dist/theme/recipes/breadcrumb.js +1 -2
- package/dist/theme/recipes/breadcrumb.js.map +1 -1
- package/dist/theme/recipes/button-filter.cjs.map +1 -1
- package/dist/theme/recipes/button-filter.d.ts +1 -1
- package/dist/theme/recipes/button-filter.js +1 -2
- package/dist/theme/recipes/button-filter.js.map +1 -1
- package/dist/theme/recipes/button.cjs.map +1 -1
- package/dist/theme/recipes/button.d.ts +93 -2
- package/dist/theme/recipes/button.js +1 -2
- package/dist/theme/recipes/button.js.map +1 -1
- package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-document-message.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-document-message.js +1 -2
- package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-input-text.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-input-text.js +1 -2
- package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
- package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-message.d.ts +28 -2
- package/dist/theme/recipes/chat/chat-message.js +1 -2
- package/dist/theme/recipes/chat/chat-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.d.ts +9 -2
- package/dist/theme/recipes/chat/chat-profile-avatar.js +1 -2
- package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
- package/dist/theme/recipes/chat/chat.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat.d.ts +2 -2
- package/dist/theme/recipes/chat/chat.js +1 -2
- package/dist/theme/recipes/chat/chat.js.map +1 -1
- package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
- package/dist/theme/recipes/checkbox-card.d.ts +1 -1
- package/dist/theme/recipes/checkbox-card.js +1 -2
- package/dist/theme/recipes/checkbox-card.js.map +1 -1
- package/dist/theme/recipes/checkbox-group.cjs.map +1 -1
- package/dist/theme/recipes/checkbox-group.d.ts +1 -1
- package/dist/theme/recipes/checkbox-group.js +1 -2
- package/dist/theme/recipes/checkbox-group.js.map +1 -1
- package/dist/theme/recipes/checkbox.cjs +1 -1
- package/dist/theme/recipes/checkbox.cjs.map +1 -1
- package/dist/theme/recipes/checkbox.d.ts +26 -2
- package/dist/theme/recipes/checkbox.js +7 -8
- package/dist/theme/recipes/checkbox.js.map +1 -1
- package/dist/theme/recipes/chip.cjs.map +1 -1
- package/dist/theme/recipes/chip.d.ts +148 -2
- package/dist/theme/recipes/chip.js +1 -2
- package/dist/theme/recipes/chip.js.map +1 -1
- package/dist/theme/recipes/collapsible.cjs.map +1 -1
- package/dist/theme/recipes/collapsible.d.ts +2 -2
- package/dist/theme/recipes/collapsible.js +1 -2
- package/dist/theme/recipes/collapsible.js.map +1 -1
- package/dist/theme/recipes/combobox.cjs +1 -1
- package/dist/theme/recipes/combobox.cjs.map +1 -1
- package/dist/theme/recipes/combobox.d.ts +33 -2
- package/dist/theme/recipes/combobox.js +6 -6
- package/dist/theme/recipes/combobox.js.map +1 -1
- package/dist/theme/recipes/common/group-card.cjs.map +1 -1
- package/dist/theme/recipes/common/group-card.d.ts +1 -1
- package/dist/theme/recipes/common/group-card.js +1 -2
- package/dist/theme/recipes/common/group-card.js.map +1 -1
- package/dist/theme/recipes/datepicker.cjs +1 -1
- package/dist/theme/recipes/datepicker.cjs.map +1 -1
- package/dist/theme/recipes/datepicker.d.ts +2 -2
- package/dist/theme/recipes/datepicker.js +6 -7
- package/dist/theme/recipes/datepicker.js.map +1 -1
- package/dist/theme/recipes/dialog.cjs.map +1 -1
- package/dist/theme/recipes/dialog.d.ts +2 -2
- package/dist/theme/recipes/dialog.js +1 -2
- package/dist/theme/recipes/dialog.js.map +1 -1
- package/dist/theme/recipes/drawer.cjs.map +1 -1
- package/dist/theme/recipes/drawer.d.ts +31 -2
- package/dist/theme/recipes/drawer.js +4 -4
- package/dist/theme/recipes/drawer.js.map +1 -1
- package/dist/theme/recipes/flag.cjs.map +1 -1
- package/dist/theme/recipes/flag.d.ts +15 -2
- package/dist/theme/recipes/flag.js +1 -2
- package/dist/theme/recipes/flag.js.map +1 -1
- package/dist/theme/recipes/form/control.cjs.map +1 -1
- package/dist/theme/recipes/form/control.d.ts +1 -1
- package/dist/theme/recipes/form/control.js +1 -2
- package/dist/theme/recipes/form/control.js.map +1 -1
- package/dist/theme/recipes/form/helper-text.cjs.map +1 -1
- package/dist/theme/recipes/form/helper-text.d.ts +1 -1
- package/dist/theme/recipes/form/helper-text.js +1 -2
- package/dist/theme/recipes/form/helper-text.js.map +1 -1
- package/dist/theme/recipes/form/label.cjs.map +1 -1
- package/dist/theme/recipes/form/label.d.ts +15 -2
- package/dist/theme/recipes/form/label.js +1 -2
- package/dist/theme/recipes/form/label.js.map +1 -1
- package/dist/theme/recipes/heading.cjs.map +1 -1
- package/dist/theme/recipes/heading.d.ts +33 -2
- package/dist/theme/recipes/heading.js +1 -2
- package/dist/theme/recipes/heading.js.map +1 -1
- package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
- package/dist/theme/recipes/highlightedInput.d.ts +2 -2
- package/dist/theme/recipes/highlightedInput.js +1 -2
- package/dist/theme/recipes/highlightedInput.js.map +1 -1
- package/dist/theme/recipes/icon-button.cjs.map +1 -1
- package/dist/theme/recipes/icon-button.d.ts +1 -1
- package/dist/theme/recipes/icon-button.js +0 -1
- package/dist/theme/recipes/icon-button.js.map +1 -1
- package/dist/theme/recipes/icon.cjs.map +1 -1
- package/dist/theme/recipes/icon.d.ts +25 -2
- package/dist/theme/recipes/icon.js +1 -2
- package/dist/theme/recipes/icon.js.map +1 -1
- package/dist/theme/recipes/illustration.cjs.map +1 -1
- package/dist/theme/recipes/illustration.d.ts +29 -2
- package/dist/theme/recipes/illustration.js +1 -2
- package/dist/theme/recipes/illustration.js.map +1 -1
- package/dist/theme/recipes/index.cjs +1 -1
- package/dist/theme/recipes/index.cjs.map +1 -1
- package/dist/theme/recipes/index.d.ts +1464 -49
- package/dist/theme/recipes/index.js +3 -4
- package/dist/theme/recipes/index.js.map +1 -1
- package/dist/theme/recipes/input-addon.cjs.map +1 -1
- package/dist/theme/recipes/input-addon.d.ts +1 -1
- package/dist/theme/recipes/input-addon.js +1 -2
- package/dist/theme/recipes/input-addon.js.map +1 -1
- package/dist/theme/recipes/input-group.cjs.map +1 -1
- package/dist/theme/recipes/input-group.d.ts +1 -1
- package/dist/theme/recipes/input-group.js +1 -2
- package/dist/theme/recipes/input-group.js.map +1 -1
- package/dist/theme/recipes/input.cjs +1 -1
- package/dist/theme/recipes/input.cjs.map +1 -1
- package/dist/theme/recipes/input.d.ts +9 -2
- package/dist/theme/recipes/input.js +5 -6
- package/dist/theme/recipes/input.js.map +1 -1
- package/dist/theme/recipes/menu.cjs.map +1 -1
- package/dist/theme/recipes/menu.d.ts +20 -2
- package/dist/theme/recipes/menu.js +1 -2
- package/dist/theme/recipes/menu.js.map +1 -1
- package/dist/theme/recipes/pagination.cjs +1 -1
- package/dist/theme/recipes/pagination.cjs.map +1 -1
- package/dist/theme/recipes/pagination.d.ts +2 -2
- package/dist/theme/recipes/pagination.js +3 -4
- package/dist/theme/recipes/pagination.js.map +1 -1
- package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
- package/dist/theme/recipes/phone-number-input.d.ts +9 -2
- package/dist/theme/recipes/phone-number-input.js +1 -2
- package/dist/theme/recipes/phone-number-input.js.map +1 -1
- package/dist/theme/recipes/popover.cjs.map +1 -1
- package/dist/theme/recipes/popover.d.ts +2 -2
- package/dist/theme/recipes/popover.js +1 -2
- package/dist/theme/recipes/popover.js.map +1 -1
- package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-button-group.d.ts +25 -2
- package/dist/theme/recipes/radio-button-group.js +1 -2
- package/dist/theme/recipes/radio-button-group.js.map +1 -1
- package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-card-group.d.ts +36 -2
- package/dist/theme/recipes/radio-card-group.js +1 -2
- package/dist/theme/recipes/radio-card-group.js.map +1 -1
- package/dist/theme/recipes/radio-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-group.d.ts +27 -2
- package/dist/theme/recipes/radio-group.js +1 -2
- package/dist/theme/recipes/radio-group.js.map +1 -1
- package/dist/theme/recipes/select-language.cjs.map +1 -1
- package/dist/theme/recipes/select-language.d.ts +15 -2
- package/dist/theme/recipes/select-language.js +1 -2
- package/dist/theme/recipes/select-language.js.map +1 -1
- package/dist/theme/recipes/select.cjs +1 -1
- package/dist/theme/recipes/select.cjs.map +1 -1
- package/dist/theme/recipes/select.d.ts +30 -2
- package/dist/theme/recipes/select.js +3 -18
- package/dist/theme/recipes/select.js.map +1 -1
- package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
- package/dist/theme/recipes/status-tag-select.d.ts +125 -2
- package/dist/theme/recipes/status-tag-select.js +1 -2
- package/dist/theme/recipes/status-tag-select.js.map +1 -1
- package/dist/theme/recipes/steps.cjs.map +1 -1
- package/dist/theme/recipes/steps.d.ts +2 -2
- package/dist/theme/recipes/steps.js +1 -2
- package/dist/theme/recipes/steps.js.map +1 -1
- package/dist/theme/recipes/switch-card.cjs.map +1 -1
- package/dist/theme/recipes/switch-card.d.ts +1 -1
- package/dist/theme/recipes/switch-card.js +1 -2
- package/dist/theme/recipes/switch-card.js.map +1 -1
- package/dist/theme/recipes/switch.cjs.map +1 -1
- package/dist/theme/recipes/switch.d.ts +22 -2
- package/dist/theme/recipes/switch.js +1 -2
- package/dist/theme/recipes/switch.js.map +1 -1
- package/dist/theme/recipes/table-container.cjs.map +1 -1
- package/dist/theme/recipes/table-container.d.ts +1 -1
- package/dist/theme/recipes/table-container.js +1 -2
- package/dist/theme/recipes/table-container.js.map +1 -1
- package/dist/theme/recipes/table-empty-row.cjs.map +1 -1
- package/dist/theme/recipes/table-empty-row.d.ts +1 -1
- package/dist/theme/recipes/table-empty-row.js +1 -2
- package/dist/theme/recipes/table-empty-row.js.map +1 -1
- package/dist/theme/recipes/table-group-title.cjs.map +1 -1
- package/dist/theme/recipes/table-group-title.d.ts +15 -2
- package/dist/theme/recipes/table-group-title.js +1 -2
- package/dist/theme/recipes/table-group-title.js.map +1 -1
- package/dist/theme/recipes/table.cjs.map +1 -1
- package/dist/theme/recipes/table.d.ts +2 -2
- package/dist/theme/recipes/table.js +1 -2
- package/dist/theme/recipes/table.js.map +1 -1
- package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
- package/dist/theme/recipes/tabs-chip.d.ts +29 -2
- package/dist/theme/recipes/tabs-chip.js +1 -2
- package/dist/theme/recipes/tabs-chip.js.map +1 -1
- package/dist/theme/recipes/tabs.cjs.map +1 -1
- package/dist/theme/recipes/tabs.d.ts +49 -2
- package/dist/theme/recipes/tabs.js +1 -2
- package/dist/theme/recipes/tabs.js.map +1 -1
- package/dist/theme/recipes/tag.cjs +1 -1
- package/dist/theme/recipes/tag.cjs.map +1 -1
- package/dist/theme/recipes/tag.d.ts +109 -2
- package/dist/theme/recipes/tag.js +24 -11
- package/dist/theme/recipes/tag.js.map +1 -1
- package/dist/theme/recipes/text.cjs.map +1 -1
- package/dist/theme/recipes/text.d.ts +29 -2
- package/dist/theme/recipes/text.js +1 -2
- package/dist/theme/recipes/text.js.map +1 -1
- package/dist/theme/recipes/textarea.cjs.map +1 -1
- package/dist/theme/recipes/textarea.d.ts +1 -1
- package/dist/theme/recipes/textarea.js +1 -2
- package/dist/theme/recipes/textarea.js.map +1 -1
- package/dist/theme/recipes/tooltip.cjs.map +1 -1
- package/dist/theme/recipes/tooltip.d.ts +2 -2
- package/dist/theme/recipes/tooltip.js +1 -2
- package/dist/theme/recipes/tooltip.js.map +1 -1
- package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
- package/dist/theme/semantic-tokens/colors.js +1 -2
- package/dist/theme/semantic-tokens/colors.js.map +1 -1
- package/dist/theme/semantic-tokens/gradients.cjs.map +1 -1
- package/dist/theme/semantic-tokens/gradients.js +1 -2
- package/dist/theme/semantic-tokens/gradients.js.map +1 -1
- package/dist/theme/semantic-tokens/index.cjs.map +1 -1
- package/dist/theme/semantic-tokens/index.js +1 -2
- package/dist/theme/semantic-tokens/index.js.map +1 -1
- package/dist/theme/text-styles.cjs.map +1 -1
- package/dist/theme/text-styles.d.ts +1 -1
- package/dist/theme/text-styles.js +1 -2
- package/dist/theme/text-styles.js.map +1 -1
- package/dist/theme/tokens/animations.cjs.map +1 -1
- package/dist/theme/tokens/animations.js +1 -2
- package/dist/theme/tokens/animations.js.map +1 -1
- package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
- package/dist/theme/tokens/aspect-ratios.js +1 -2
- package/dist/theme/tokens/aspect-ratios.js.map +1 -1
- package/dist/theme/tokens/blurs.cjs.map +1 -1
- package/dist/theme/tokens/blurs.js +1 -2
- package/dist/theme/tokens/blurs.js.map +1 -1
- package/dist/theme/tokens/borders.cjs.map +1 -1
- package/dist/theme/tokens/borders.js +1 -2
- package/dist/theme/tokens/borders.js.map +1 -1
- package/dist/theme/tokens/colors.cjs.map +1 -1
- package/dist/theme/tokens/colors.js +1 -2
- package/dist/theme/tokens/colors.js.map +1 -1
- package/dist/theme/tokens/durations.cjs.map +1 -1
- package/dist/theme/tokens/durations.js +1 -2
- package/dist/theme/tokens/durations.js.map +1 -1
- package/dist/theme/tokens/easings.cjs.map +1 -1
- package/dist/theme/tokens/easings.js +1 -2
- package/dist/theme/tokens/easings.js.map +1 -1
- package/dist/theme/tokens/index.cjs.map +1 -1
- package/dist/theme/tokens/index.js +1 -2
- package/dist/theme/tokens/index.js.map +1 -1
- package/dist/theme/tokens/radii.cjs.map +1 -1
- package/dist/theme/tokens/radii.js +1 -2
- package/dist/theme/tokens/radii.js.map +1 -1
- package/dist/theme/tokens/shadows.cjs.map +1 -1
- package/dist/theme/tokens/shadows.js +1 -2
- package/dist/theme/tokens/shadows.js.map +1 -1
- package/dist/theme/tokens/sizes.cjs.map +1 -1
- package/dist/theme/tokens/sizes.js +1 -2
- package/dist/theme/tokens/sizes.js.map +1 -1
- package/dist/theme/tokens/spacing.cjs.map +1 -1
- package/dist/theme/tokens/spacing.js +1 -2
- package/dist/theme/tokens/spacing.js.map +1 -1
- package/dist/theme/tokens/typography.cjs.map +1 -1
- package/dist/theme/tokens/typography.js +1 -2
- package/dist/theme/tokens/typography.js.map +1 -1
- package/dist/theme/tokens/z-index.cjs.map +1 -1
- package/dist/theme/tokens/z-index.js +1 -2
- package/dist/theme/tokens/z-index.js.map +1 -1
- package/dist/theme/utilities.cjs.map +1 -1
- package/dist/theme/utilities.js +0 -1
- package/dist/theme/utilities.js.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/slots.cjs +1 -1
- package/dist/utils/slots.cjs.map +1 -1
- package/dist/utils/slots.js +3 -4
- package/dist/utils/slots.js.map +1 -1
- package/package.json +9 -9
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +0 -1
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@heroicons_react@2.2.0_react@19.2.6 → @heroicons_react@2.2.0_react@19.3.1}/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("@stokelp/styled-system/recipes"),n=require("react/jsx-runtime");var r=(0,e.styled)(`div`,t.formControl,{defaultProps:{role:`group`}}),i=({isInvalid:e,isRequired:t,...i})=>
|
|
1
|
+
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("@stokelp/styled-system/recipes"),n=require("react/jsx-runtime");var r=(0,e.styled)(`div`,t.formControl,{defaultProps:{role:`group`}}),i=({isInvalid:e,isRequired:t,...i})=>{let a={...e?{"aria-invalid":!0}:{},...t?{"aria-required":!0}:{}};return(0,n.jsx)(r,{...a,...i})};exports.FormControl=i;
|
|
2
2
|
//# sourceMappingURL=FormControl.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.cjs","names":[],"sources":["../../../src/components/form/FormControl.tsx"],"sourcesContent":["import type { ComponentProps, FC } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formControl, type FormControlVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// Explicit `as` cast pins the literal `'div'` against TS's d.ts emit-time\n// widening (which would otherwise produce `StyledComponent<string, …>` and\n// strip every native HTML attribute — children, id, role, aria-*, etc. —\n// from consumer typings). Same pattern as IconButton.tsx.\nconst StyledFormControl = styled('div', formControl, {\n defaultProps: {\n role: 'group',\n },\n}) as StyledComponent<'div', FormControlVariantProps>\n\nexport type FormControlProps = ComponentProps<typeof StyledFormControl> & {\n isInvalid?: boolean\n isRequired?: boolean\n}\n\nexport const FormControl: FC<FormControlProps> = ({ isInvalid, isRequired, ...props }) => {\n const invalidProps = {\n ...(isInvalid ? { 'aria-invalid': true } : {}),\n ...(isRequired ? { 'aria-required': true } : {}),\n }\n\n return <StyledFormControl {...invalidProps} {...props} />\n}\n"],"mappings":"oIAUA,
|
|
1
|
+
{"version":3,"file":"FormControl.cjs","names":["styled","formControl","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react_jsx_runtime","StyledFormControl","FormControl","props","invalidProps","isInvalid","isRequired"],"sources":["../../../src/components/form/FormControl.tsx"],"sourcesContent":["import type { ComponentProps, FC } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formControl, type FormControlVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// Explicit `as` cast pins the literal `'div'` against TS's d.ts emit-time\n// widening (which would otherwise produce `StyledComponent<string, …>` and\n// strip every native HTML attribute — children, id, role, aria-*, etc. —\n// from consumer typings). Same pattern as IconButton.tsx.\nconst StyledFormControl = styled('div', formControl, {\n defaultProps: {\n role: 'group',\n },\n}) as StyledComponent<'div', FormControlVariantProps>\n\nexport type FormControlProps = ComponentProps<typeof StyledFormControl> & {\n isInvalid?: boolean\n isRequired?: boolean\n}\n\nexport const FormControl: FC<FormControlProps> = ({ isInvalid, isRequired, ...props }) => {\n const invalidProps = {\n ...(isInvalid ? { 'aria-invalid': true } : {}),\n ...(isRequired ? { 'aria-required': true } : {}),\n }\n\n return <StyledFormControl {...invalidProps} {...props} />\n}\n"],"mappings":"A,oIAUA,IAAMK,GAAA,EAAoBL,EAAAA,OAAAA,CAAO,MAAOC,EAAAA,YAAa,CACnD,aAAc,CACZ,KAAM,OACR,CACF,CAAC,EAOYK,GAAqC,CAAE,YAAW,aAAY,GAAGC,KAAY,CACxF,IAAMC,EAAe,CACnB,GAAIC,EAAY,CAAE,eAAgB,EAAK,EAAI,CAAC,EAC5C,GAAIC,EAAa,CAAE,gBAAiB,EAAK,EAAI,CAAC,CAChD,EAEA,OAAO,EAAAN,EAAA,IAAA,CAACC,EAAD,CAAmB,GAAIG,EAAc,GAAID,CAAQ,CAAA,CAC1D,E"}
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
import { styled as e } from "@stokelp/styled-system/jsx";
|
|
3
3
|
import { formControl as t } from "@stokelp/styled-system/recipes";
|
|
4
4
|
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
var r = e("div", t, { defaultProps: { role: "group" } }), i = ({ isInvalid: e, isRequired: t, ...i }) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
5
|
+
// src/components/form/FormControl.tsx
|
|
6
|
+
var r = e("div", t, { defaultProps: { role: "group" } }), i = ({ isInvalid: e, isRequired: t, ...i }) => {
|
|
7
|
+
let a = {
|
|
8
|
+
...e ? { "aria-invalid": !0 } : {},
|
|
9
|
+
...t ? { "aria-required": !0 } : {}
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ n(r, {
|
|
12
|
+
...a,
|
|
13
|
+
...i
|
|
14
|
+
});
|
|
15
|
+
};
|
|
12
16
|
export { i as FormControl };
|
|
13
17
|
|
|
14
18
|
//# sourceMappingURL=FormControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.js","names":[],"sources":["../../../src/components/form/FormControl.tsx"],"sourcesContent":["import type { ComponentProps, FC } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formControl, type FormControlVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// Explicit `as` cast pins the literal `'div'` against TS's d.ts emit-time\n// widening (which would otherwise produce `StyledComponent<string, …>` and\n// strip every native HTML attribute — children, id, role, aria-*, etc. —\n// from consumer typings). Same pattern as IconButton.tsx.\nconst StyledFormControl = styled('div', formControl, {\n defaultProps: {\n role: 'group',\n },\n}) as StyledComponent<'div', FormControlVariantProps>\n\nexport type FormControlProps = ComponentProps<typeof StyledFormControl> & {\n isInvalid?: boolean\n isRequired?: boolean\n}\n\nexport const FormControl: FC<FormControlProps> = ({ isInvalid, isRequired, ...props }) => {\n const invalidProps = {\n ...(isInvalid ? { 'aria-invalid': true } : {}),\n ...(isRequired ? { 'aria-required': true } : {}),\n }\n\n return <StyledFormControl {...invalidProps} {...props} />\n}\n"],"mappings":";;;;;AAUA,
|
|
1
|
+
{"version":3,"file":"FormControl.js","names":["StyledFormControl","styled","formControl","FormControl","props","invalidProps","isInvalid","isRequired"],"sources":["../../../src/components/form/FormControl.tsx"],"sourcesContent":["import type { ComponentProps, FC } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formControl, type FormControlVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// Explicit `as` cast pins the literal `'div'` against TS's d.ts emit-time\n// widening (which would otherwise produce `StyledComponent<string, …>` and\n// strip every native HTML attribute — children, id, role, aria-*, etc. —\n// from consumer typings). Same pattern as IconButton.tsx.\nconst StyledFormControl = styled('div', formControl, {\n defaultProps: {\n role: 'group',\n },\n}) as StyledComponent<'div', FormControlVariantProps>\n\nexport type FormControlProps = ComponentProps<typeof StyledFormControl> & {\n isInvalid?: boolean\n isRequired?: boolean\n}\n\nexport const FormControl: FC<FormControlProps> = ({ isInvalid, isRequired, ...props }) => {\n const invalidProps = {\n ...(isInvalid ? { 'aria-invalid': true } : {}),\n ...(isRequired ? { 'aria-required': true } : {}),\n }\n\n return <StyledFormControl {...invalidProps} {...props} />\n}\n"],"mappings":";;;;;AAUA,IAAMA,IAAoBC,EAAO,OAAOC,GAAa,EACnD,cAAc,EACZ,MAAM,QACR,EACF,CAAC,GAOYC,KAAqC,EAAE,cAAW,eAAY,GAAGC,QAAY;CACxF,IAAMC,IAAe;EACnB,GAAIC,IAAY,EAAE,gBAAgB,GAAK,IAAI,CAAC;EAC5C,GAAIC,IAAa,EAAE,iBAAiB,GAAK,IAAI,CAAC;CAChD;CAEA,OAAO,kBAACP,GAAD;EAAmB,GAAIK;EAAc,GAAID;CAAQ,CAAA;AAC1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormHelperText.cjs","names":[],"sources":["../../../src/components/form/FormHelperText.tsx"],"sourcesContent":["import type { ComponentProps } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formHelperText, type FormHelperTextVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nexport const FormHelperText = styled('p', formHelperText, {\n dataAttr: true,\n}) as StyledComponent<'p', FormHelperTextVariantProps>\n\nexport interface FormHelperTextProps extends ComponentProps<typeof FormHelperText> {}\n"],"mappings":"qGAOA,
|
|
1
|
+
{"version":3,"file":"FormHelperText.cjs","names":["styled","formHelperText","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","FormHelperText"],"sources":["../../../src/components/form/FormHelperText.tsx"],"sourcesContent":["import type { ComponentProps } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formHelperText, type FormHelperTextVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nexport const FormHelperText = styled('p', formHelperText, {\n dataAttr: true,\n}) as StyledComponent<'p', FormHelperTextVariantProps>\n\nexport interface FormHelperTextProps extends ComponentProps<typeof FormHelperText> {}\n"],"mappings":"A,qGAOA,IAAaI,GAAA,EAAiBJ,EAAAA,OAAAA,CAAO,IAAKC,EAAAA,eAAgB,CACxD,SAAU,EACZ,CAAC,E"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { styled as e } from "@stokelp/styled-system/jsx";
|
|
3
3
|
import { formHelperText as t } from "@stokelp/styled-system/recipes";
|
|
4
|
-
|
|
4
|
+
// src/components/form/FormHelperText.tsx
|
|
5
5
|
var n = e("p", t, { dataAttr: !0 });
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as FormHelperText };
|
|
8
7
|
|
|
9
8
|
//# sourceMappingURL=FormHelperText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormHelperText.js","names":[],"sources":["../../../src/components/form/FormHelperText.tsx"],"sourcesContent":["import type { ComponentProps } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formHelperText, type FormHelperTextVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nexport const FormHelperText = styled('p', formHelperText, {\n dataAttr: true,\n}) as StyledComponent<'p', FormHelperTextVariantProps>\n\nexport interface FormHelperTextProps extends ComponentProps<typeof FormHelperText> {}\n"],"mappings":";;;;AAOA,
|
|
1
|
+
{"version":3,"file":"FormHelperText.js","names":["FormHelperText","styled","formHelperText"],"sources":["../../../src/components/form/FormHelperText.tsx"],"sourcesContent":["import type { ComponentProps } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { formHelperText, type FormHelperTextVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nexport const FormHelperText = styled('p', formHelperText, {\n dataAttr: true,\n}) as StyledComponent<'p', FormHelperTextVariantProps>\n\nexport interface FormHelperTextProps extends ComponentProps<typeof FormHelperText> {}\n"],"mappings":";;;;AAOA,IAAaA,IAAiBC,EAAO,KAAKC,GAAgB,EACxD,UAAU,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormLabel.cjs","names":[],"sources":["../../../src/components/form/FormLabel.tsx"],"sourcesContent":["import type { ComponentProps, FC, ReactNode } from 'react'\n\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { formLabel, type FormLabelVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { Tooltip } from '~/components/tooltip/Tooltip'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nconst StyledFormLabel = styled('label', formLabel) as StyledComponent<'label', FormLabelVariantProps>\n\nexport type FormLabelProps = ComponentProps<typeof StyledFormLabel> & {\n addon?: ReactNode\n tooltipInformation?: ReactNode\n}\n\nexport const FormLabel: FC<FormLabelProps> = props => {\n const [variantProps, labelProps] = formLabel.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(labelProps)\n const { children, className, addon, tooltipInformation, ...rootProps } = localProps\n const styles = formLabel(variantProps)\n\n return (\n <StyledFormLabel className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n {addon ? <span className={styles.addon}>{addon}</span> : null}\n {tooltipInformation ? (\n <Tooltip label={tooltipInformation}>\n <svg\n className={styles.icon}\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.33337 4.66659H8.66671V5.99992H7.33337V4.66659ZM7.33337 7.33325H8.66671V11.3333H7.33337V7.33325ZM8.00004 1.33325C4.32004 1.33325 1.33337 4.31992 1.33337 7.99992C1.33337 11.6799 4.32004 14.6666 8.00004 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 8.00004 1.33325ZM8.00004 13.3333C5.06004 13.3333 2.66671 10.9399 2.66671 7.99992C2.66671 5.05992 5.06004 2.66659 8.00004 2.66659C10.94 2.66659 13.3334 5.05992 13.3334 7.99992C13.3334 10.9399 10.94 13.3333 8.00004 13.3333Z\"\n fill=\"currentColor\"\n />\n </svg>\n </Tooltip>\n ) : null}\n </StyledFormLabel>\n )\n}\n"],"mappings":"sNASA,
|
|
1
|
+
{"version":3,"file":"FormLabel.cjs","names":["styled","formLabel","splitCssProps","cx","css","Tooltip","require_Tooltip","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react_jsx_runtime","_stokelp_styled_system_css","StyledFormLabel","FormLabel","variantProps","labelProps","props","cssProps","localProps","rootProps","styles","className","children","addon","tooltipInformation"],"sources":["../../../src/components/form/FormLabel.tsx"],"sourcesContent":["import type { ComponentProps, FC, ReactNode } from 'react'\n\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { formLabel, type FormLabelVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { Tooltip } from '~/components/tooltip/Tooltip'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nconst StyledFormLabel = styled('label', formLabel) as StyledComponent<'label', FormLabelVariantProps>\n\nexport type FormLabelProps = ComponentProps<typeof StyledFormLabel> & {\n addon?: ReactNode\n tooltipInformation?: ReactNode\n}\n\nexport const FormLabel: FC<FormLabelProps> = props => {\n const [variantProps, labelProps] = formLabel.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(labelProps)\n const { children, className, addon, tooltipInformation, ...rootProps } = localProps\n const styles = formLabel(variantProps)\n\n return (\n <StyledFormLabel className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n {addon ? <span className={styles.addon}>{addon}</span> : null}\n {tooltipInformation ? (\n <Tooltip label={tooltipInformation}>\n <svg\n className={styles.icon}\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.33337 4.66659H8.66671V5.99992H7.33337V4.66659ZM7.33337 7.33325H8.66671V11.3333H7.33337V7.33325ZM8.00004 1.33325C4.32004 1.33325 1.33337 4.31992 1.33337 7.99992C1.33337 11.6799 4.32004 14.6666 8.00004 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 8.00004 1.33325ZM8.00004 13.3333C5.06004 13.3333 2.66671 10.9399 2.66671 7.99992C2.66671 5.05992 5.06004 2.66659 8.00004 2.66659C10.94 2.66659 13.3334 5.05992 13.3334 7.99992C13.3334 10.9399 10.94 13.3333 8.00004 13.3333Z\"\n fill=\"currentColor\"\n />\n </svg>\n </Tooltip>\n ) : null}\n </StyledFormLabel>\n )\n}\n"],"mappings":"A,sNASA,IAAMW,GAAA,EAAkBX,EAAAA,OAAAA,CAAO,QAASC,EAAAA,SAAS,EAOpCW,EAAgC,GAAS,CACpD,GAAM,CAACC,EAAcC,GAAcb,EAAAA,UAAU,kBAAkBc,CAAK,EAC9D,CAACC,EAAUC,IAAA,EAAcf,EAAAA,cAAAA,CAAcY,CAAU,EACjD,CAAE,WAAU,YAAW,QAAO,qBAAoB,GAAGI,GAAcD,EACnEE,GAAA,EAASlB,EAAAA,UAAAA,CAAUY,CAAY,EAErC,OACE,EAAAJ,EAAA,KAAA,CAACE,EAAD,CAAiB,WAAA,EAAWR,EAAAA,GAAAA,CAAGgB,EAAO,MAAA,EAAMf,EAAAA,IAAAA,CAAIY,CAAQ,EAAGI,CAAS,EAAG,GAAIF,EAA3E,SAAA,CACGG,EACAC,GAAQ,EAAAb,EAAA,IAAA,CAAC,OAAD,CAAM,UAAWU,EAAO,MAAQ,SAAAG,CAAY,CAAA,EAAI,KACxDC,GACC,EAAAd,EAAA,IAAA,CAACJ,EAAAA,QAAD,CAAS,MAAOkB,EACd,UAAA,EAAAd,EAAA,IAAA,CAAC,MAAD,CACE,UAAWU,EAAO,KAClB,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BAEN,UAAA,EAAAV,EAAA,IAAA,CAAC,OAAD,CACE,EAAE,+fACF,KAAK,cACN,CAAA,CACE,CAAA,CACE,CAAA,EACP,IACW,C,EAErB,E"}
|
|
@@ -4,7 +4,7 @@ import { splitCssProps as t, styled as n } from "@stokelp/styled-system/jsx";
|
|
|
4
4
|
import { formLabel as r } from "@stokelp/styled-system/recipes";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { css as o, cx as s } from "@stokelp/styled-system/css";
|
|
7
|
-
|
|
7
|
+
// src/components/form/FormLabel.tsx
|
|
8
8
|
var c = n("label", r), l = (n) => {
|
|
9
9
|
let [l, u] = r.splitVariantProps(n), [d, f] = t(u), { children: p, className: m, addon: h, tooltipInformation: g, ..._ } = f, v = r(l);
|
|
10
10
|
return /* @__PURE__ */ a(c, {
|
|
@@ -34,7 +34,6 @@ var c = n("label", r), l = (n) => {
|
|
|
34
34
|
]
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
|
-
//#endregion
|
|
38
37
|
export { l as FormLabel };
|
|
39
38
|
|
|
40
39
|
//# sourceMappingURL=FormLabel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormLabel.js","names":[],"sources":["../../../src/components/form/FormLabel.tsx"],"sourcesContent":["import type { ComponentProps, FC, ReactNode } from 'react'\n\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { formLabel, type FormLabelVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { Tooltip } from '~/components/tooltip/Tooltip'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nconst StyledFormLabel = styled('label', formLabel) as StyledComponent<'label', FormLabelVariantProps>\n\nexport type FormLabelProps = ComponentProps<typeof StyledFormLabel> & {\n addon?: ReactNode\n tooltipInformation?: ReactNode\n}\n\nexport const FormLabel: FC<FormLabelProps> = props => {\n const [variantProps, labelProps] = formLabel.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(labelProps)\n const { children, className, addon, tooltipInformation, ...rootProps } = localProps\n const styles = formLabel(variantProps)\n\n return (\n <StyledFormLabel className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n {addon ? <span className={styles.addon}>{addon}</span> : null}\n {tooltipInformation ? (\n <Tooltip label={tooltipInformation}>\n <svg\n className={styles.icon}\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.33337 4.66659H8.66671V5.99992H7.33337V4.66659ZM7.33337 7.33325H8.66671V11.3333H7.33337V7.33325ZM8.00004 1.33325C4.32004 1.33325 1.33337 4.31992 1.33337 7.99992C1.33337 11.6799 4.32004 14.6666 8.00004 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 8.00004 1.33325ZM8.00004 13.3333C5.06004 13.3333 2.66671 10.9399 2.66671 7.99992C2.66671 5.05992 5.06004 2.66659 8.00004 2.66659C10.94 2.66659 13.3334 5.05992 13.3334 7.99992C13.3334 10.9399 10.94 13.3333 8.00004 13.3333Z\"\n fill=\"currentColor\"\n />\n </svg>\n </Tooltip>\n ) : null}\n </StyledFormLabel>\n )\n}\n"],"mappings":";;;;;;;AASA,
|
|
1
|
+
{"version":3,"file":"FormLabel.js","names":["StyledFormLabel","styled","formLabel","FormLabel","variantProps","labelProps","props","cssProps","localProps","splitCssProps","rootProps","styles","cx","css","className","children","addon","tooltipInformation","Tooltip"],"sources":["../../../src/components/form/FormLabel.tsx"],"sourcesContent":["import type { ComponentProps, FC, ReactNode } from 'react'\n\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { formLabel, type FormLabelVariantProps } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { Tooltip } from '~/components/tooltip/Tooltip'\n\n// See FormControl.tsx for why we pin the literal tag with an `as` cast.\nconst StyledFormLabel = styled('label', formLabel) as StyledComponent<'label', FormLabelVariantProps>\n\nexport type FormLabelProps = ComponentProps<typeof StyledFormLabel> & {\n addon?: ReactNode\n tooltipInformation?: ReactNode\n}\n\nexport const FormLabel: FC<FormLabelProps> = props => {\n const [variantProps, labelProps] = formLabel.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(labelProps)\n const { children, className, addon, tooltipInformation, ...rootProps } = localProps\n const styles = formLabel(variantProps)\n\n return (\n <StyledFormLabel className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n {addon ? <span className={styles.addon}>{addon}</span> : null}\n {tooltipInformation ? (\n <Tooltip label={tooltipInformation}>\n <svg\n className={styles.icon}\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M7.33337 4.66659H8.66671V5.99992H7.33337V4.66659ZM7.33337 7.33325H8.66671V11.3333H7.33337V7.33325ZM8.00004 1.33325C4.32004 1.33325 1.33337 4.31992 1.33337 7.99992C1.33337 11.6799 4.32004 14.6666 8.00004 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 8.00004 1.33325ZM8.00004 13.3333C5.06004 13.3333 2.66671 10.9399 2.66671 7.99992C2.66671 5.05992 5.06004 2.66659 8.00004 2.66659C10.94 2.66659 13.3334 5.05992 13.3334 7.99992C13.3334 10.9399 10.94 13.3333 8.00004 13.3333Z\"\n fill=\"currentColor\"\n />\n </svg>\n </Tooltip>\n ) : null}\n </StyledFormLabel>\n )\n}\n"],"mappings":";;;;;;;AASA,IAAMA,IAAkBC,EAAO,SAASC,CAAS,GAOpCC,KAAgC,MAAS;CACpD,IAAM,CAACC,GAAcC,KAAcH,EAAU,kBAAkBI,CAAK,GAC9D,CAACC,GAAUC,KAAcC,EAAcJ,CAAU,GACjD,EAAE,aAAU,cAAW,UAAO,uBAAoB,GAAGK,MAAcF,GACnEG,IAAST,EAAUE,CAAY;CAErC,OACE,kBAACJ,GAAD;EAAiB,WAAWY,EAAGD,EAAO,MAAME,EAAIN,CAAQ,GAAGO,CAAS;EAAG,GAAIJ;EAA3E,UAAA;GACGK;GACAC,IAAQ,kBAAC,QAAD;IAAM,WAAWL,EAAO;IAAQ,UAAAK;GAAY,CAAA,IAAI;GACxDC,IACC,kBAACC,GAAD;IAAS,OAAOD;IACd,UAAA,kBAAC,OAAD;KACE,WAAWN,EAAO;KAClB,OAAM;KACN,QAAO;KACP,SAAQ;KACR,MAAK;KACL,OAAM;KAEN,UAAA,kBAAC,QAAD;MACE,GAAE;MACF,MAAK;KACN,CAAA;IACE,CAAA;GACE,CAAA,IACP;EACW;;AAErB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("@stokelp/styled-system/recipes"),n=require("react"),r=require("react/jsx-runtime");var i=i=>{let{as:a=`h2`,...o}=i
|
|
1
|
+
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("@stokelp/styled-system/recipes"),n=require("react"),r=require("react/jsx-runtime");var i=i=>{let{as:a=`h2`,...o}=i,s=(0,n.useMemo)(()=>(0,e.styled)(a,t.heading),[a]);return(0,r.jsx)(s,{size:a,...o})};exports.Heading=i;
|
|
2
2
|
//# sourceMappingURL=Heading.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.cjs","names":[],"sources":["../../../src/components/heading/Heading.tsx"],"sourcesContent":["import { type HTMLStyledProps, styled, type StyledComponent } from '@stokelp/styled-system/jsx'\nimport { heading, type HeadingVariantProps } from '@stokelp/styled-system/recipes'\nimport { useMemo } from 'react'\n\ntype As = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n\nexport type HeadingProps = {\n as?: As\n} & HeadingVariantProps &\n HTMLStyledProps<As>\n\nexport const Heading = (props: HeadingProps) => {\n const { as = 'h2', ...localProps } = props\n const Dynamic = useMemo(() => styled(as, heading) as StyledComponent<As>, [as])\n\n return <Dynamic size={as} {...localProps} />\n}\n"],"mappings":"uJAWA,
|
|
1
|
+
{"version":3,"file":"Heading.cjs","names":["useMemo","styled","heading","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react","react_jsx_runtime","Heading","localProps","props","Dynamic","as"],"sources":["../../../src/components/heading/Heading.tsx"],"sourcesContent":["import { type HTMLStyledProps, styled, type StyledComponent } from '@stokelp/styled-system/jsx'\nimport { heading, type HeadingVariantProps } from '@stokelp/styled-system/recipes'\nimport { useMemo } from 'react'\n\ntype As = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n\nexport type HeadingProps = {\n as?: As\n} & HeadingVariantProps &\n HTMLStyledProps<As>\n\nexport const Heading = (props: HeadingProps) => {\n const { as = 'h2', ...localProps } = props\n const Dynamic = useMemo(() => styled(as, heading) as StyledComponent<As>, [as])\n\n return <Dynamic size={as} {...localProps} />\n}\n"],"mappings":"A,uJAWA,IAAaO,EAAW,GAAwB,CAC9C,GAAM,CAAE,KAAK,KAAM,GAAGC,GAAeC,EAC/BC,GAAA,EAAUV,EAAAA,QAAAA,MAAAA,EAAcC,EAAAA,OAAAA,CAAOU,EAAIT,EAAAA,OAAO,EAA0B,CAACS,CAAE,CAAC,EAE9E,OAAO,EAAAL,EAAA,IAAA,CAACI,EAAD,CAAS,KAAMC,EAAI,GAAIH,CAAa,CAAA,CAC7C,E"}
|
|
@@ -4,5 +4,5 @@ type As = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
|
4
4
|
export type HeadingProps = {
|
|
5
5
|
as?: As;
|
|
6
6
|
} & HeadingVariantProps & HTMLStyledProps<As>;
|
|
7
|
-
export declare const Heading: (props: HeadingProps) => import(
|
|
7
|
+
export declare const Heading: (props: HeadingProps) => import('react').JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -3,15 +3,14 @@ import { styled as e } from "@stokelp/styled-system/jsx";
|
|
|
3
3
|
import { heading as t } from "@stokelp/styled-system/recipes";
|
|
4
4
|
import { useMemo as n } from "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/heading/Heading.tsx
|
|
7
7
|
var i = (i) => {
|
|
8
|
-
let { as: a = "h2", ...o } = i;
|
|
9
|
-
return /* @__PURE__ */ r(
|
|
8
|
+
let { as: a = "h2", ...o } = i, s = n(() => e(a, t), [a]);
|
|
9
|
+
return /* @__PURE__ */ r(s, {
|
|
10
10
|
size: a,
|
|
11
11
|
...o
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { i as Heading };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","names":[],"sources":["../../../src/components/heading/Heading.tsx"],"sourcesContent":["import { type HTMLStyledProps, styled, type StyledComponent } from '@stokelp/styled-system/jsx'\nimport { heading, type HeadingVariantProps } from '@stokelp/styled-system/recipes'\nimport { useMemo } from 'react'\n\ntype As = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n\nexport type HeadingProps = {\n as?: As\n} & HeadingVariantProps &\n HTMLStyledProps<As>\n\nexport const Heading = (props: HeadingProps) => {\n const { as = 'h2', ...localProps } = props\n const Dynamic = useMemo(() => styled(as, heading) as StyledComponent<As>, [as])\n\n return <Dynamic size={as} {...localProps} />\n}\n"],"mappings":";;;;;;AAWA,
|
|
1
|
+
{"version":3,"file":"Heading.js","names":["Heading","localProps","props","Dynamic","useMemo","styled","as","heading"],"sources":["../../../src/components/heading/Heading.tsx"],"sourcesContent":["import { type HTMLStyledProps, styled, type StyledComponent } from '@stokelp/styled-system/jsx'\nimport { heading, type HeadingVariantProps } from '@stokelp/styled-system/recipes'\nimport { useMemo } from 'react'\n\ntype As = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n\nexport type HeadingProps = {\n as?: As\n} & HeadingVariantProps &\n HTMLStyledProps<As>\n\nexport const Heading = (props: HeadingProps) => {\n const { as = 'h2', ...localProps } = props\n const Dynamic = useMemo(() => styled(as, heading) as StyledComponent<As>, [as])\n\n return <Dynamic size={as} {...localProps} />\n}\n"],"mappings":";;;;;;AAWA,IAAaA,KAAW,MAAwB;CAC9C,IAAM,EAAE,QAAK,MAAM,GAAGC,MAAeC,GAC/BC,IAAUC,QAAcC,EAAOC,GAAIC,CAAO,GAA0B,CAACD,CAAE,CAAC;CAE9E,OAAO,kBAACH,GAAD;EAAS,MAAMG;EAAI,GAAIL;CAAa,CAAA;AAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.cjs","names":[],"sources":["../../../src/components/icon/Icon.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport type { FC, ReactElement, ReactNode } from 'react'\nimport { forwardRef } from 'react'\n\nimport { type HTMLStyledProps, styled } from '@stokelp/styled-system/jsx'\nimport { icon, type IconVariantProps } from '@stokelp/styled-system/recipes'\n\nexport type IconProps = IconVariantProps &\n HTMLStyledProps<'svg'> & {\n children: ReactElement | ReactNode\n }\n\nconst StyledIcon = styled(ark.svg, icon)\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>((props, ref) => {\n return <StyledIcon ref={ref} asChild {...props} />\n}) as FC<IconProps>\n\nIcon.displayName = 'Icon'\n"],"mappings":"kLAYA,
|
|
1
|
+
{"version":3,"file":"Icon.cjs","names":["styled","ark","icon","forwardRef","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react","react_jsx_runtime","StyledIcon","Icon","props"],"sources":["../../../src/components/icon/Icon.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport type { FC, ReactElement, ReactNode } from 'react'\nimport { forwardRef } from 'react'\n\nimport { type HTMLStyledProps, styled } from '@stokelp/styled-system/jsx'\nimport { icon, type IconVariantProps } from '@stokelp/styled-system/recipes'\n\nexport type IconProps = IconVariantProps &\n HTMLStyledProps<'svg'> & {\n children: ReactElement | ReactNode\n }\n\nconst StyledIcon = styled(ark.svg, icon)\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>((props, ref) => {\n return <StyledIcon ref={ref} asChild {...props} />\n}) as FC<IconProps>\n\nIcon.displayName = 'Icon'\n"],"mappings":"A,kLAYA,IAAMS,GAAA,EAAaT,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,IAAKC,EAAAA,IAAI,EAE1BQ,GAAA,EAAOP,EAAAA,WAAAA,EAAsC,EAAO,KACxD,EAAAK,EAAA,IAAA,CAACC,EAAD,CAAiB,MAAK,QAAA,GAAQ,GAAIE,CAAQ,CAAA,CAClD,EAED,EAAK,YAAc,O"}
|
|
@@ -4,14 +4,13 @@ import { styled as t } from "@stokelp/styled-system/jsx";
|
|
|
4
4
|
import { icon as n } from "@stokelp/styled-system/recipes";
|
|
5
5
|
import { forwardRef as r } from "react";
|
|
6
6
|
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/icon/Icon.tsx
|
|
8
8
|
var a = t(e.svg, n), o = r((e, t) => /* @__PURE__ */ i(a, {
|
|
9
9
|
ref: t,
|
|
10
10
|
asChild: !0,
|
|
11
11
|
...e
|
|
12
12
|
}));
|
|
13
13
|
o.displayName = "Icon";
|
|
14
|
-
//#endregion
|
|
15
14
|
export { o as Icon };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","names":[],"sources":["../../../src/components/icon/Icon.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport type { FC, ReactElement, ReactNode } from 'react'\nimport { forwardRef } from 'react'\n\nimport { type HTMLStyledProps, styled } from '@stokelp/styled-system/jsx'\nimport { icon, type IconVariantProps } from '@stokelp/styled-system/recipes'\n\nexport type IconProps = IconVariantProps &\n HTMLStyledProps<'svg'> & {\n children: ReactElement | ReactNode\n }\n\nconst StyledIcon = styled(ark.svg, icon)\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>((props, ref) => {\n return <StyledIcon ref={ref} asChild {...props} />\n}) as FC<IconProps>\n\nIcon.displayName = 'Icon'\n"],"mappings":";;;;;;;AAYA,
|
|
1
|
+
{"version":3,"file":"Icon.js","names":["StyledIcon","styled","ark","icon","Icon","forwardRef","props"],"sources":["../../../src/components/icon/Icon.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport type { FC, ReactElement, ReactNode } from 'react'\nimport { forwardRef } from 'react'\n\nimport { type HTMLStyledProps, styled } from '@stokelp/styled-system/jsx'\nimport { icon, type IconVariantProps } from '@stokelp/styled-system/recipes'\n\nexport type IconProps = IconVariantProps &\n HTMLStyledProps<'svg'> & {\n children: ReactElement | ReactNode\n }\n\nconst StyledIcon = styled(ark.svg, icon)\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>((props, ref) => {\n return <StyledIcon ref={ref} asChild {...props} />\n}) as FC<IconProps>\n\nIcon.displayName = 'Icon'\n"],"mappings":";;;;;;;AAYA,IAAMA,IAAaC,EAAOC,EAAI,KAAKC,CAAI,GAE1BC,IAAOC,GAAsC,GAAO,MACxD,kBAACL,GAAD;CAAiB;CAAK,SAAA;CAAQ,GAAIM;AAAQ,CAAA,CAClD;AAED,EAAK,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.cjs","names":[],"sources":["../../../src/components/icon-button/IconButton.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { iconButton, type IconButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, StyledComponent } from '@stokelp/styled-system/types'\nimport type { ComponentProps } from 'react'\n\nexport const IconButton = styled('button', iconButton) as StyledComponent<\n 'button',\n IconButtonVariantProps & { 'aria-label': string }\n>\n\nexport type IconButtonProps = Assign<ComponentProps<typeof IconButton>, { 'aria-label': string }>\n"],"mappings":"qGAKA,
|
|
1
|
+
{"version":3,"file":"IconButton.cjs","names":["styled","iconButton","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","IconButton"],"sources":["../../../src/components/icon-button/IconButton.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { iconButton, type IconButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, StyledComponent } from '@stokelp/styled-system/types'\nimport type { ComponentProps } from 'react'\n\nexport const IconButton = styled('button', iconButton) as StyledComponent<\n 'button',\n IconButtonVariantProps & { 'aria-label': string }\n>\n\nexport type IconButtonProps = Assign<ComponentProps<typeof IconButton>, { 'aria-label': string }>\n"],"mappings":"A,qGAKA,IAAaI,GAAA,EAAaJ,EAAAA,OAAAA,CAAO,SAAUC,EAAAA,UAAU,E"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { styled as e } from "@stokelp/styled-system/jsx";
|
|
3
3
|
import { iconButton as t } from "@stokelp/styled-system/recipes";
|
|
4
|
-
|
|
4
|
+
// src/components/icon-button/IconButton.tsx
|
|
5
5
|
var n = e("button", t);
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as IconButton };
|
|
8
7
|
|
|
9
8
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","names":[],"sources":["../../../src/components/icon-button/IconButton.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { iconButton, type IconButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, StyledComponent } from '@stokelp/styled-system/types'\nimport type { ComponentProps } from 'react'\n\nexport const IconButton = styled('button', iconButton) as StyledComponent<\n 'button',\n IconButtonVariantProps & { 'aria-label': string }\n>\n\nexport type IconButtonProps = Assign<ComponentProps<typeof IconButton>, { 'aria-label': string }>\n"],"mappings":";;;;AAKA,
|
|
1
|
+
{"version":3,"file":"IconButton.js","names":["IconButton","styled","iconButton"],"sources":["../../../src/components/icon-button/IconButton.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { iconButton, type IconButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, StyledComponent } from '@stokelp/styled-system/types'\nimport type { ComponentProps } from 'react'\n\nexport const IconButton = styled('button', iconButton) as StyledComponent<\n 'button',\n IconButtonVariantProps & { 'aria-label': string }\n>\n\nexport type IconButtonProps = Assign<ComponentProps<typeof IconButton>, { 'aria-label': string }>\n"],"mappings":";;;;AAKA,IAAaA,IAAaC,EAAO,UAAUC,CAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Illustration.cjs","names":[],"sources":["../../../src/components/illustration/Illustration.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { HTMLArkProps } from '@ark-ui/react/factory'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { illustration, type IllustrationVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { type FC, useLayoutEffect, useRef } from 'react'\nimport * as Patterns from '~/components/illustration/patterns'\n\nexport type IllustrationProps = Omit<Assign<JsxStyleProps, HTMLArkProps<'div'>>, 'children'> & IllustrationVariantProps\n\nconst StyledIllustration = styled(ark.div, illustration)\n\nconst getIllustrationForPattern = (pattern: IllustrationVariantProps['pattern']) => {\n switch (pattern) {\n case 'neutral':\n return <Patterns.NeutralPattern />\n case 'fish':\n return <Patterns.FishPattern />\n case 'meat':\n return <Patterns.MeatPattern />\n case 'fruit':\n return <Patterns.FruitPattern />\n case 'vegetable':\n return <Patterns.VegetablePattern />\n case 'cereal':\n return <Patterns.CerealPattern />\n case 'oil':\n return <Patterns.OilPattern />\n case 'aromatic':\n return <Patterns.AromaticPattern />\n default:\n throw new Error(`Invalid pattern given: \"${pattern}\"`)\n }\n}\n\nexport const Illustration: FC<IllustrationProps> = (props: IllustrationProps) => {\n const $element = useRef<HTMLDivElement>(null)\n\n useLayoutEffect(() => {\n if ($element.current) {\n const $parent = $element.current.parentElement\n if ($parent) {\n if (getComputedStyle($parent).position === 'static') {\n $parent.style.position = 'relative'\n }\n }\n }\n }, [])\n\n return (\n <StyledIllustration ref={$element} {...props}>\n {getIllustrationForPattern(props.pattern)}\n </StyledIllustration>\n )\n}\n"],"mappings":"oNAUA,
|
|
1
|
+
{"version":3,"file":"Illustration.cjs","names":["styled","ark","illustration","useRef","require_patterns","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react","react_jsx_runtime","StyledIllustration","getIllustrationForPattern","pattern","Illustration","$element","$parent","props"],"sources":["../../../src/components/illustration/Illustration.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { HTMLArkProps } from '@ark-ui/react/factory'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { illustration, type IllustrationVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { type FC, useLayoutEffect, useRef } from 'react'\nimport * as Patterns from '~/components/illustration/patterns'\n\nexport type IllustrationProps = Omit<Assign<JsxStyleProps, HTMLArkProps<'div'>>, 'children'> & IllustrationVariantProps\n\nconst StyledIllustration = styled(ark.div, illustration)\n\nconst getIllustrationForPattern = (pattern: IllustrationVariantProps['pattern']) => {\n switch (pattern) {\n case 'neutral':\n return <Patterns.NeutralPattern />\n case 'fish':\n return <Patterns.FishPattern />\n case 'meat':\n return <Patterns.MeatPattern />\n case 'fruit':\n return <Patterns.FruitPattern />\n case 'vegetable':\n return <Patterns.VegetablePattern />\n case 'cereal':\n return <Patterns.CerealPattern />\n case 'oil':\n return <Patterns.OilPattern />\n case 'aromatic':\n return <Patterns.AromaticPattern />\n default:\n throw new Error(`Invalid pattern given: \"${pattern}\"`)\n }\n}\n\nexport const Illustration: FC<IllustrationProps> = (props: IllustrationProps) => {\n const $element = useRef<HTMLDivElement>(null)\n\n useLayoutEffect(() => {\n if ($element.current) {\n const $parent = $element.current.parentElement\n if ($parent) {\n if (getComputedStyle($parent).position === 'static') {\n $parent.style.position = 'relative'\n }\n }\n }\n }, [])\n\n return (\n <StyledIllustration ref={$element} {...props}>\n {getIllustrationForPattern(props.pattern)}\n </StyledIllustration>\n )\n}\n"],"mappings":"A,oNAUA,IAAMU,GAAA,EAAqBV,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,IAAKC,EAAAA,YAAY,EAEjDS,EAA6B,GAAiD,CAClF,OAAQC,EAAR,CACE,IAAK,UACH,OAAO,EAAAH,EAAA,IAAA,CAAAL,EAAA,eAAA,CAA0B,CAAA,EACnC,IAAK,OACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,YAAA,CAAuB,CAAA,EAChC,IAAK,OACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,YAAA,CAAuB,CAAA,EAChC,IAAK,QACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,aAAA,CAAwB,CAAA,EACjC,IAAK,YACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,iBAAA,CAA4B,CAAA,EACrC,IAAK,SACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,cAAA,CAAyB,CAAA,EAClC,IAAK,MACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,WAAA,CAAsB,CAAA,EAC/B,IAAK,WACH,OAAO,EAAAK,EAAA,IAAA,CAAAL,EAAA,gBAAA,CAA2B,CAAA,EACpC,QACE,MAAU,MAAM,2BAA2BQ,EAAQ,EAAE,CACzD,CACF,EAEaC,EAAuC,GAA6B,CAC/E,IAAMC,GAAA,EAAWX,EAAAA,OAAAA,CAAuB,IAAI,EAa5C,OAXA,EAAAK,EAAA,gBAAA,KAAsB,CACpB,GAAIM,EAAS,QAAS,CACpB,IAAMC,EAAUD,EAAS,QAAQ,cAC7BC,GACE,iBAAiBA,CAAO,CAAC,CAAC,WAAa,WACzC,EAAQ,MAAM,SAAW,WAG/B,CACF,EAAG,CAAC,CAAC,GAGH,EAAAN,EAAA,IAAA,CAACC,EAAD,CAAoB,IAAKI,EAAU,GAAIE,EACpC,SAAAL,EAA0BK,EAAM,OAAO,CACtB,CAAA,CAExB,E"}
|
|
@@ -5,7 +5,7 @@ import { styled as l } from "@stokelp/styled-system/jsx";
|
|
|
5
5
|
import { illustration as u } from "@stokelp/styled-system/recipes";
|
|
6
6
|
import { useLayoutEffect as d, useRef as f } from "react";
|
|
7
7
|
import { jsx as p } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/illustration/Illustration.tsx
|
|
9
9
|
var m = l(c.div, u), h = (c) => {
|
|
10
10
|
switch (c) {
|
|
11
11
|
case "neutral": return /* @__PURE__ */ p(a, {});
|
|
@@ -31,7 +31,6 @@ var m = l(c.div, u), h = (c) => {
|
|
|
31
31
|
children: h(e.pattern)
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { g as Illustration };
|
|
36
35
|
|
|
37
36
|
//# sourceMappingURL=Illustration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Illustration.js","names":[],"sources":["../../../src/components/illustration/Illustration.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { HTMLArkProps } from '@ark-ui/react/factory'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { illustration, type IllustrationVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { type FC, useLayoutEffect, useRef } from 'react'\nimport * as Patterns from '~/components/illustration/patterns'\n\nexport type IllustrationProps = Omit<Assign<JsxStyleProps, HTMLArkProps<'div'>>, 'children'> & IllustrationVariantProps\n\nconst StyledIllustration = styled(ark.div, illustration)\n\nconst getIllustrationForPattern = (pattern: IllustrationVariantProps['pattern']) => {\n switch (pattern) {\n case 'neutral':\n return <Patterns.NeutralPattern />\n case 'fish':\n return <Patterns.FishPattern />\n case 'meat':\n return <Patterns.MeatPattern />\n case 'fruit':\n return <Patterns.FruitPattern />\n case 'vegetable':\n return <Patterns.VegetablePattern />\n case 'cereal':\n return <Patterns.CerealPattern />\n case 'oil':\n return <Patterns.OilPattern />\n case 'aromatic':\n return <Patterns.AromaticPattern />\n default:\n throw new Error(`Invalid pattern given: \"${pattern}\"`)\n }\n}\n\nexport const Illustration: FC<IllustrationProps> = (props: IllustrationProps) => {\n const $element = useRef<HTMLDivElement>(null)\n\n useLayoutEffect(() => {\n if ($element.current) {\n const $parent = $element.current.parentElement\n if ($parent) {\n if (getComputedStyle($parent).position === 'static') {\n $parent.style.position = 'relative'\n }\n }\n }\n }, [])\n\n return (\n <StyledIllustration ref={$element} {...props}>\n {getIllustrationForPattern(props.pattern)}\n </StyledIllustration>\n )\n}\n"],"mappings":";;;;;;;;AAUA,
|
|
1
|
+
{"version":3,"file":"Illustration.js","names":["Patterns.NeutralPattern","Patterns.FishPattern","Patterns.MeatPattern","Patterns.FruitPattern","Patterns.VegetablePattern","Patterns.CerealPattern","Patterns.OilPattern","Patterns.AromaticPattern","StyledIllustration","styled","ark","illustration","getIllustrationForPattern","pattern","NeutralPattern","FishPattern","MeatPattern","FruitPattern","VegetablePattern","CerealPattern","OilPattern","AromaticPattern","Illustration","$element","useRef","useLayoutEffect","$parent","props"],"sources":["../../../src/components/illustration/Illustration.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { HTMLArkProps } from '@ark-ui/react/factory'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { illustration, type IllustrationVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { type FC, useLayoutEffect, useRef } from 'react'\nimport * as Patterns from '~/components/illustration/patterns'\n\nexport type IllustrationProps = Omit<Assign<JsxStyleProps, HTMLArkProps<'div'>>, 'children'> & IllustrationVariantProps\n\nconst StyledIllustration = styled(ark.div, illustration)\n\nconst getIllustrationForPattern = (pattern: IllustrationVariantProps['pattern']) => {\n switch (pattern) {\n case 'neutral':\n return <Patterns.NeutralPattern />\n case 'fish':\n return <Patterns.FishPattern />\n case 'meat':\n return <Patterns.MeatPattern />\n case 'fruit':\n return <Patterns.FruitPattern />\n case 'vegetable':\n return <Patterns.VegetablePattern />\n case 'cereal':\n return <Patterns.CerealPattern />\n case 'oil':\n return <Patterns.OilPattern />\n case 'aromatic':\n return <Patterns.AromaticPattern />\n default:\n throw new Error(`Invalid pattern given: \"${pattern}\"`)\n }\n}\n\nexport const Illustration: FC<IllustrationProps> = (props: IllustrationProps) => {\n const $element = useRef<HTMLDivElement>(null)\n\n useLayoutEffect(() => {\n if ($element.current) {\n const $parent = $element.current.parentElement\n if ($parent) {\n if (getComputedStyle($parent).position === 'static') {\n $parent.style.position = 'relative'\n }\n }\n }\n }, [])\n\n return (\n <StyledIllustration ref={$element} {...props}>\n {getIllustrationForPattern(props.pattern)}\n </StyledIllustration>\n )\n}\n"],"mappings":";;;;;;;;AAUA,IAAMQ,IAAqBC,EAAOC,EAAI,KAAKC,CAAY,GAEjDC,KAA6B,MAAiD;CAClF,QAAQC,GAAR;EACE,KAAK,WACH,OAAO,kBAACb,GAAD,CAA0B,CAAA;EACnC,KAAK,QACH,OAAO,kBAACC,GAAD,CAAuB,CAAA;EAChC,KAAK,QACH,OAAO,kBAACC,GAAD,CAAuB,CAAA;EAChC,KAAK,SACH,OAAO,kBAACC,GAAD,CAAwB,CAAA;EACjC,KAAK,aACH,OAAO,kBAACC,GAAD,CAA4B,CAAA;EACrC,KAAK,UACH,OAAO,kBAACC,GAAD,CAAyB,CAAA;EAClC,KAAK,OACH,OAAO,kBAACC,GAAD,CAAsB,CAAA;EAC/B,KAAK,YACH,OAAO,kBAACC,GAAD,CAA2B,CAAA;EACpC,SACE,MAAU,MAAM,2BAA2BM,EAAQ,EAAE;CACzD;AACF,GAEaS,KAAuC,MAA6B;CAC/E,IAAMC,IAAWC,EAAuB,IAAI;CAa5C,OAXAC,QAAsB;EACpB,IAAIF,EAAS,SAAS;GACpB,IAAMG,IAAUH,EAAS,QAAQ;GACjC,AAAIG,KACE,iBAAiBA,CAAO,CAAC,CAAC,aAAa,aACzC,EAAQ,MAAM,WAAW;EAG/B;CACF,GAAG,CAAC,CAAC,GAGH,kBAAClB,GAAD;EAAoB,KAAKe;EAAU,GAAII;EACpC,UAAAf,EAA0Be,EAAM,OAAO;CACtB,CAAA;AAExB"}
|