@stokelp/ui 2.103.0 → 2.104.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/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/_virtual/_rolldown/runtime.js +21 -0
- package/dist/components/accordion/Accordion.cjs +2 -2
- package/dist/components/accordion/Accordion.cjs.map +1 -1
- package/dist/components/accordion/Accordion.js +22 -27
- package/dist/components/accordion/Accordion.js.map +1 -1
- package/dist/components/action-card/ActionCard.cjs +2 -2
- package/dist/components/action-card/ActionCard.cjs.map +1 -1
- package/dist/components/action-card/ActionCard.js +23 -26
- package/dist/components/action-card/ActionCard.js.map +1 -1
- package/dist/components/alert/Alert.cjs +2 -2
- package/dist/components/alert/Alert.cjs.map +1 -1
- package/dist/components/alert/Alert.js +117 -84
- package/dist/components/alert/Alert.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs +2 -2
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.js +44 -25
- package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.cjs +2 -2
- package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.js +18 -20
- package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +2 -2
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +31 -13
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.cjs +2 -2
- package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.js +17 -19
- package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs +2 -2
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.js +45 -22
- package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs +2 -2
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +4 -5
- package/dist/components/app/mobile-navigation/MobileNavigation.js +16 -18
- package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
- package/dist/components/app/navigation/AppNavigation.cjs +2 -2
- package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
- package/dist/components/app/navigation/AppNavigation.d.ts +11 -11
- package/dist/components/app/navigation/AppNavigation.js +35 -47
- package/dist/components/app/navigation/AppNavigation.js.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +2 -2
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +188 -119
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
- package/dist/components/app/price-tag/PriceTag.cjs +2 -2
- package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
- package/dist/components/app/price-tag/PriceTag.js +25 -19
- package/dist/components/app/price-tag/PriceTag.js.map +1 -1
- package/dist/components/app/product-card-catalog/styled.cjs +2 -2
- package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
- package/dist/components/app/product-card-catalog/styled.js +23 -21
- package/dist/components/app/product-card-catalog/styled.js.map +1 -1
- package/dist/components/avatar/styled.cjs +2 -2
- package/dist/components/avatar/styled.cjs.map +1 -1
- package/dist/components/avatar/styled.d.ts +11 -7
- package/dist/components/avatar/styled.js +28 -27
- package/dist/components/avatar/styled.js.map +1 -1
- package/dist/components/box/Box.cjs +2 -2
- package/dist/components/box/Box.cjs.map +1 -1
- package/dist/components/box/Box.js +11 -10
- package/dist/components/box/Box.js.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.cjs +2 -2
- package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +6 -8
- package/dist/components/breadcrumb/Breadcrumb.js +39 -35
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/button/Button.cjs +2 -2
- package/dist/components/button/Button.cjs.map +1 -1
- package/dist/components/button/Button.d.ts +8 -4
- package/dist/components/button/Button.js +9 -8
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button-filter/ButtonFilter.cjs +2 -2
- package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
- package/dist/components/button-filter/ButtonFilter.d.ts +5 -4
- package/dist/components/button-filter/ButtonFilter.js +9 -8
- package/dist/components/button-filter/ButtonFilter.js.map +1 -1
- package/dist/components/chat/Chat.cjs +2 -2
- package/dist/components/chat/Chat.cjs.map +1 -1
- package/dist/components/chat/Chat.d.ts +15 -8
- package/dist/components/chat/Chat.js +27 -26
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.cjs +2 -2
- package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.js +32 -31
- package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
- package/dist/components/chat/ChatMessage.cjs +2 -2
- package/dist/components/chat/ChatMessage.cjs.map +1 -1
- package/dist/components/chat/ChatMessage.d.ts +7 -4
- package/dist/components/chat/ChatMessage.js +8 -7
- package/dist/components/chat/ChatMessage.js.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.cjs +2 -2
- package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.js +24 -16
- package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
- package/dist/components/chat/ChatTextInput.cjs +2 -2
- package/dist/components/chat/ChatTextInput.cjs.map +1 -1
- package/dist/components/chat/ChatTextInput.d.ts +2 -2
- package/dist/components/chat/ChatTextInput.js +44 -52
- package/dist/components/chat/ChatTextInput.js.map +1 -1
- package/dist/components/checkbox/Checkbox.cjs +2 -2
- package/dist/components/checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/checkbox/Checkbox.js +36 -34
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.cjs +2 -2
- package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.d.ts +2 -2
- package/dist/components/checkbox-card/CheckboxCard.js +33 -38
- package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
- package/dist/components/checkbox-card/namespace.cjs +2 -2
- package/dist/components/checkbox-card/namespace.cjs.map +1 -1
- package/dist/components/checkbox-card/namespace.js +14 -9
- package/dist/components/checkbox-card/namespace.js.map +1 -1
- package/dist/components/chip/Chip.cjs +2 -2
- package/dist/components/chip/Chip.cjs.map +1 -1
- package/dist/components/chip/Chip.d.ts +1 -1
- package/dist/components/chip/Chip.js +23 -23
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/collapsible/styled.cjs +2 -2
- package/dist/components/collapsible/styled.cjs.map +1 -1
- package/dist/components/collapsible/styled.js +15 -11
- package/dist/components/collapsible/styled.js.map +1 -1
- package/dist/components/combobox/Combobox.cjs +2 -2
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.js +206 -173
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/date-picker/DatePicker.cjs +2 -2
- package/dist/components/date-picker/DatePicker.cjs.map +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +2 -2
- package/dist/components/date-picker/DatePicker.js +151 -127
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/dialog/styled.cjs +2 -2
- package/dist/components/dialog/styled.cjs.map +1 -1
- package/dist/components/dialog/styled.js +75 -65
- package/dist/components/dialog/styled.js.map +1 -1
- package/dist/components/drawer/Drawer.cjs +2 -2
- package/dist/components/drawer/Drawer.cjs.map +1 -1
- package/dist/components/drawer/Drawer.js +69 -63
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/flag/styled.cjs +2 -2
- package/dist/components/flag/styled.cjs.map +1 -1
- package/dist/components/flag/styled.d.ts +9 -7
- package/dist/components/flag/styled.js +8437 -3751
- package/dist/components/flag/styled.js.map +1 -1
- package/dist/components/form/FormControl.cjs +2 -2
- package/dist/components/form/FormControl.cjs.map +1 -1
- package/dist/components/form/FormControl.d.ts +3 -3
- package/dist/components/form/FormControl.js +13 -18
- package/dist/components/form/FormControl.js.map +1 -1
- package/dist/components/form/FormHelperText.cjs +2 -2
- package/dist/components/form/FormHelperText.cjs.map +1 -1
- package/dist/components/form/FormHelperText.d.ts +1 -1
- package/dist/components/form/FormHelperText.js +8 -9
- package/dist/components/form/FormHelperText.js.map +1 -1
- package/dist/components/form/FormLabel.cjs +2 -2
- package/dist/components/form/FormLabel.cjs.map +1 -1
- package/dist/components/form/FormLabel.d.ts +3 -3
- package/dist/components/form/FormLabel.js +38 -33
- package/dist/components/form/FormLabel.js.map +1 -1
- package/dist/components/heading/Heading.cjs +2 -2
- package/dist/components/heading/Heading.cjs.map +1 -1
- package/dist/components/heading/Heading.js +14 -10
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.cjs +2 -2
- package/dist/components/icon/Icon.cjs.map +1 -1
- package/dist/components/icon/Icon.d.ts +2 -2
- package/dist/components/icon/Icon.js +15 -10
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/icon-button/IconButton.cjs +2 -2
- package/dist/components/icon-button/IconButton.cjs.map +1 -1
- package/dist/components/icon-button/IconButton.d.ts +2 -3
- package/dist/components/icon-button/IconButton.js +8 -7
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/illustration/Illustration.cjs +2 -2
- package/dist/components/illustration/Illustration.cjs.map +1 -1
- package/dist/components/illustration/Illustration.js +35 -39
- package/dist/components/illustration/Illustration.js.map +1 -1
- package/dist/components/illustration/patterns.cjs +2 -2
- package/dist/components/illustration/patterns.cjs.map +1 -1
- package/dist/components/illustration/patterns.js +5563 -8897
- package/dist/components/illustration/patterns.js.map +1 -1
- package/dist/components/input/HighlightedInput.cjs +2 -2
- package/dist/components/input/HighlightedInput.cjs.map +1 -1
- package/dist/components/input/HighlightedInput.d.ts +13 -16
- package/dist/components/input/HighlightedInput.js +43 -58
- package/dist/components/input/HighlightedInput.js.map +1 -1
- package/dist/components/input/Input.cjs +2 -2
- package/dist/components/input/Input.cjs.map +1 -1
- package/dist/components/input/Input.d.ts +2 -3
- package/dist/components/input/Input.js +12 -13
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input/InputAddon.cjs +2 -2
- package/dist/components/input/InputAddon.cjs.map +1 -1
- package/dist/components/input/InputAddon.d.ts +5 -4
- package/dist/components/input/InputAddon.js +8 -9
- package/dist/components/input/InputAddon.js.map +1 -1
- package/dist/components/input/InputGroup.cjs +2 -2
- package/dist/components/input/InputGroup.cjs.map +1 -1
- package/dist/components/input/InputGroup.d.ts +1 -1
- package/dist/components/input/InputGroup.js +8 -9
- package/dist/components/input/InputGroup.js.map +1 -1
- package/dist/components/input/PhoneNumberInput.cjs +2 -2
- package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
- package/dist/components/input/PhoneNumberInput.js +21 -23
- package/dist/components/input/PhoneNumberInput.js.map +1 -1
- package/dist/components/menu/Menu.cjs +2 -2
- package/dist/components/menu/Menu.cjs.map +1 -1
- package/dist/components/menu/Menu.js +32 -28
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/pagination/Pagination.cjs +2 -2
- package/dist/components/pagination/Pagination.cjs.map +1 -1
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/pagination/Pagination.js +76 -84
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/use-pagination.cjs +2 -2
- package/dist/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/components/pagination/use-pagination.js +56 -54
- package/dist/components/pagination/use-pagination.js.map +1 -1
- package/dist/components/popover/Popover.cjs +2 -2
- package/dist/components/popover/Popover.cjs.map +1 -1
- package/dist/components/popover/Popover.js +21 -25
- package/dist/components/popover/Popover.js.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.cjs +2 -2
- package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.js +20 -20
- package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.cjs +2 -2
- package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.d.ts +2 -2
- package/dist/components/radio-card-group/RadioCardGroup.js +21 -22
- package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
- package/dist/components/radio-card-group/namespace.cjs +2 -2
- package/dist/components/radio-card-group/namespace.cjs.map +1 -1
- package/dist/components/radio-card-group/namespace.js +15 -10
- package/dist/components/radio-card-group/namespace.js.map +1 -1
- package/dist/components/radio-group/RadioGroup.cjs +2 -2
- package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
- package/dist/components/radio-group/RadioGroup.js +21 -21
- package/dist/components/radio-group/RadioGroup.js.map +1 -1
- package/dist/components/select/Select.cjs +2 -2
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.js +194 -141
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select-language/SelectLanguage.cjs +2 -2
- package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
- package/dist/components/select-language/SelectLanguage.js +114 -88
- package/dist/components/select-language/SelectLanguage.js.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.cjs +2 -2
- package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.js +93 -115
- package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
- package/dist/components/switch/Switch.cjs +2 -2
- package/dist/components/switch/Switch.cjs.map +1 -1
- package/dist/components/switch/Switch.js +30 -18
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/switch-card/SwitchCard.cjs +2 -2
- package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
- package/dist/components/switch-card/SwitchCard.d.ts +2 -2
- package/dist/components/switch-card/SwitchCard.js +28 -25
- package/dist/components/switch-card/SwitchCard.js.map +1 -1
- package/dist/components/switch-card/namespace.cjs +2 -2
- package/dist/components/switch-card/namespace.cjs.map +1 -1
- package/dist/components/switch-card/namespace.js +14 -9
- package/dist/components/switch-card/namespace.js.map +1 -1
- package/dist/components/table/Table.cjs +2 -2
- package/dist/components/table/Table.cjs.map +1 -1
- package/dist/components/table/Table.d.ts +12 -13
- package/dist/components/table/Table.js +133 -109
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableProvider.cjs +2 -2
- package/dist/components/table/TableProvider.cjs.map +1 -1
- package/dist/components/table/TableProvider.js +36 -39
- package/dist/components/table/TableProvider.js.map +1 -1
- package/dist/components/tabs/Tabs.cjs +2 -2
- package/dist/components/tabs/Tabs.cjs.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +8 -4
- package/dist/components/tabs/Tabs.js +18 -26
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tag/Tag.cjs +2 -2
- package/dist/components/tag/Tag.cjs.map +1 -1
- package/dist/components/tag/Tag.js +22 -16
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/text/Text.cjs +2 -2
- package/dist/components/text/Text.cjs.map +1 -1
- package/dist/components/text/Text.js +12 -11
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.cjs +2 -2
- package/dist/components/textarea/Textarea.cjs.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +6 -6
- package/dist/components/textarea/Textarea.js +9 -8
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tooltip/Tooltip.cjs +2 -2
- package/dist/components/tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/tooltip/Tooltip.js +38 -42
- package/dist/components/tooltip/Tooltip.js.map +1 -1
- package/dist/icons/index.cjs +2 -2
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.js +65 -58
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.js +66 -191
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/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/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/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/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/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/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/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/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +25 -0
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs +2 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs.map +1 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +77 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js.map +1 -0
- package/dist/preset.cjs +2 -2
- package/dist/preset.cjs.map +1 -1
- package/dist/preset.d.ts +1 -1
- package/dist/preset.js +30 -31
- package/dist/preset.js.map +1 -1
- package/dist/shared/ConditionalWrapper.cjs +2 -2
- package/dist/shared/ConditionalWrapper.cjs.map +1 -1
- package/dist/shared/ConditionalWrapper.js +6 -5
- package/dist/shared/ConditionalWrapper.js.map +1 -1
- package/dist/shared/assets/icons.cjs +2 -2
- package/dist/shared/assets/icons.cjs.map +1 -1
- package/dist/shared/assets/icons.js +30 -22
- package/dist/shared/assets/icons.js.map +1 -1
- package/dist/shared/hooks/useUncontrolled.cjs +2 -2
- package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
- package/dist/shared/hooks/useUncontrolled.js +19 -16
- package/dist/shared/hooks/useUncontrolled.js.map +1 -1
- package/dist/shared/utils/events.cjs +2 -2
- package/dist/shared/utils/events.cjs.map +1 -1
- package/dist/shared/utils/events.js +7 -6
- package/dist/shared/utils/events.js.map +1 -1
- package/dist/theme/breakpoints.cjs +2 -2
- package/dist/theme/breakpoints.cjs.map +1 -1
- package/dist/theme/breakpoints.js +10 -9
- package/dist/theme/breakpoints.js.map +1 -1
- package/dist/theme/conditions.cjs +2 -2
- package/dist/theme/conditions.cjs.map +1 -1
- package/dist/theme/conditions.js +23 -24
- package/dist/theme/conditions.js.map +1 -1
- package/dist/theme/containers.cjs +2 -2
- package/dist/theme/containers.cjs.map +1 -1
- package/dist/theme/containers.js +18 -17
- package/dist/theme/containers.js.map +1 -1
- package/dist/theme/globalCss.cjs +4 -4
- package/dist/theme/globalCss.cjs.map +1 -1
- package/dist/theme/globalCss.d.ts +1 -1
- package/dist/theme/globalCss.js +94 -99
- package/dist/theme/globalCss.js.map +1 -1
- package/dist/theme/keyframes.cjs +2 -2
- package/dist/theme/keyframes.cjs.map +1 -1
- package/dist/theme/keyframes.d.ts +1 -1
- package/dist/theme/keyframes.js +256 -171
- package/dist/theme/keyframes.js.map +1 -1
- package/dist/theme/recipes/accordion.cjs +2 -2
- package/dist/theme/recipes/accordion.cjs.map +1 -1
- package/dist/theme/recipes/accordion.d.ts +1 -1
- package/dist/theme/recipes/accordion.js +93 -110
- package/dist/theme/recipes/accordion.js.map +1 -1
- package/dist/theme/recipes/action-card.cjs +2 -2
- package/dist/theme/recipes/action-card.cjs.map +1 -1
- package/dist/theme/recipes/action-card.d.ts +1 -1
- package/dist/theme/recipes/action-card.js +88 -84
- package/dist/theme/recipes/action-card.js.map +1 -1
- package/dist/theme/recipes/alert.cjs +2 -2
- package/dist/theme/recipes/alert.cjs.map +1 -1
- package/dist/theme/recipes/alert.d.ts +1 -1
- package/dist/theme/recipes/alert.js +52 -65
- package/dist/theme/recipes/alert.js.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.cjs +2 -2
- package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.d.ts +1 -1
- package/dist/theme/recipes/app/mobile-navigation.js +94 -108
- package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.cjs +2 -2
- package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.d.ts +1 -1
- package/dist/theme/recipes/app/navigation-language-select.js +135 -148
- package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
- package/dist/theme/recipes/app/navigation.cjs +2 -2
- package/dist/theme/recipes/app/navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation.d.ts +1 -1
- package/dist/theme/recipes/app/navigation.js +214 -269
- package/dist/theme/recipes/app/navigation.js.map +1 -1
- package/dist/theme/recipes/app/price-tag.cjs +2 -2
- package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
- package/dist/theme/recipes/app/price-tag.d.ts +1 -1
- package/dist/theme/recipes/app/price-tag.js +59 -70
- package/dist/theme/recipes/app/price-tag.js.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.cjs +2 -2
- package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.d.ts +1 -1
- package/dist/theme/recipes/app/product-card-catalog.js +189 -194
- package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
- package/dist/theme/recipes/avatar-group.cjs +2 -2
- package/dist/theme/recipes/avatar-group.cjs.map +1 -1
- package/dist/theme/recipes/avatar-group.d.ts +1 -1
- package/dist/theme/recipes/avatar-group.js +27 -38
- package/dist/theme/recipes/avatar-group.js.map +1 -1
- package/dist/theme/recipes/avatar.cjs +2 -2
- package/dist/theme/recipes/avatar.cjs.map +1 -1
- package/dist/theme/recipes/avatar.d.ts +1 -1
- package/dist/theme/recipes/avatar.js +97 -95
- package/dist/theme/recipes/avatar.js.map +1 -1
- package/dist/theme/recipes/breadcrumb.cjs +2 -2
- package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
- package/dist/theme/recipes/breadcrumb.d.ts +1 -1
- package/dist/theme/recipes/breadcrumb.js +35 -31
- package/dist/theme/recipes/breadcrumb.js.map +1 -1
- package/dist/theme/recipes/button-filter.cjs +2 -2
- 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 +57 -60
- package/dist/theme/recipes/button-filter.js.map +1 -1
- package/dist/theme/recipes/button.cjs +2 -2
- package/dist/theme/recipes/button.cjs.map +1 -1
- package/dist/theme/recipes/button.d.ts +1 -1
- package/dist/theme/recipes/button.js +287 -295
- package/dist/theme/recipes/button.js.map +1 -1
- package/dist/theme/recipes/chat/chat-document-message.cjs +2 -2
- 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 +38 -43
- package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-input-text.cjs +2 -2
- 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 +26 -27
- package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
- package/dist/theme/recipes/chat/chat-message.cjs +2 -2
- package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-message.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-message.js +49 -45
- package/dist/theme/recipes/chat/chat-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.cjs +2 -2
- package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.js +20 -25
- package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
- package/dist/theme/recipes/chat/chat.cjs +2 -2
- package/dist/theme/recipes/chat/chat.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat.d.ts +1 -1
- package/dist/theme/recipes/chat/chat.js +51 -56
- package/dist/theme/recipes/chat/chat.js.map +1 -1
- package/dist/theme/recipes/checkbox-card.cjs +2 -2
- package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
- package/dist/theme/recipes/checkbox-card.js +44 -40
- package/dist/theme/recipes/checkbox-card.js.map +1 -1
- package/dist/theme/recipes/checkbox-group.cjs +2 -2
- 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 +13 -12
- package/dist/theme/recipes/checkbox-group.js.map +1 -1
- package/dist/theme/recipes/checkbox.cjs +2 -2
- package/dist/theme/recipes/checkbox.cjs.map +1 -1
- package/dist/theme/recipes/checkbox.d.ts +1 -1
- package/dist/theme/recipes/checkbox.js +110 -129
- package/dist/theme/recipes/checkbox.js.map +1 -1
- package/dist/theme/recipes/chip.cjs +2 -2
- package/dist/theme/recipes/chip.cjs.map +1 -1
- package/dist/theme/recipes/chip.d.ts +1 -1
- package/dist/theme/recipes/chip.js +144 -182
- package/dist/theme/recipes/chip.js.map +1 -1
- package/dist/theme/recipes/collapsible.cjs +2 -2
- package/dist/theme/recipes/collapsible.cjs.map +1 -1
- package/dist/theme/recipes/collapsible.d.ts +1 -1
- package/dist/theme/recipes/collapsible.js +30 -28
- package/dist/theme/recipes/collapsible.js.map +1 -1
- package/dist/theme/recipes/combobox.cjs +2 -2
- package/dist/theme/recipes/combobox.cjs.map +1 -1
- package/dist/theme/recipes/combobox.d.ts +1 -1
- package/dist/theme/recipes/combobox.js +149 -176
- package/dist/theme/recipes/combobox.js.map +1 -1
- package/dist/theme/recipes/common/group-card.cjs +2 -2
- package/dist/theme/recipes/common/group-card.cjs.map +1 -1
- package/dist/theme/recipes/common/group-card.js +60 -80
- package/dist/theme/recipes/common/group-card.js.map +1 -1
- package/dist/theme/recipes/datepicker.cjs +2 -2
- package/dist/theme/recipes/datepicker.cjs.map +1 -1
- package/dist/theme/recipes/datepicker.d.ts +1 -1
- package/dist/theme/recipes/datepicker.js +149 -176
- package/dist/theme/recipes/datepicker.js.map +1 -1
- package/dist/theme/recipes/dialog.cjs +2 -2
- package/dist/theme/recipes/dialog.cjs.map +1 -1
- package/dist/theme/recipes/dialog.d.ts +1 -1
- package/dist/theme/recipes/dialog.js +137 -151
- package/dist/theme/recipes/dialog.js.map +1 -1
- package/dist/theme/recipes/drawer.cjs +2 -2
- package/dist/theme/recipes/drawer.cjs.map +1 -1
- package/dist/theme/recipes/drawer.d.ts +1 -1
- package/dist/theme/recipes/drawer.js +105 -125
- package/dist/theme/recipes/drawer.js.map +1 -1
- package/dist/theme/recipes/flag.cjs +2 -2
- package/dist/theme/recipes/flag.cjs.map +1 -1
- package/dist/theme/recipes/flag.d.ts +1 -1
- package/dist/theme/recipes/flag.js +21 -30
- package/dist/theme/recipes/flag.js.map +1 -1
- package/dist/theme/recipes/form/control.cjs +2 -2
- 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 +27 -34
- package/dist/theme/recipes/form/control.js.map +1 -1
- package/dist/theme/recipes/form/helper-text.cjs +2 -2
- 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 +14 -13
- package/dist/theme/recipes/form/helper-text.js.map +1 -1
- package/dist/theme/recipes/form/label.cjs +2 -2
- package/dist/theme/recipes/form/label.cjs.map +1 -1
- package/dist/theme/recipes/form/label.d.ts +1 -1
- package/dist/theme/recipes/form/label.js +47 -48
- package/dist/theme/recipes/form/label.js.map +1 -1
- package/dist/theme/recipes/heading.cjs +2 -2
- package/dist/theme/recipes/heading.cjs.map +1 -1
- package/dist/theme/recipes/heading.d.ts +1 -1
- package/dist/theme/recipes/heading.js +25 -34
- package/dist/theme/recipes/heading.js.map +1 -1
- package/dist/theme/recipes/highlightedInput.cjs +2 -2
- package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
- package/dist/theme/recipes/highlightedInput.d.ts +1 -1
- package/dist/theme/recipes/highlightedInput.js +54 -45
- package/dist/theme/recipes/highlightedInput.js.map +1 -1
- package/dist/theme/recipes/icon-button.cjs +2 -2
- package/dist/theme/recipes/icon-button.cjs.map +1 -1
- package/dist/theme/recipes/icon-button.js +81 -89
- package/dist/theme/recipes/icon-button.js.map +1 -1
- package/dist/theme/recipes/icon.cjs +2 -2
- package/dist/theme/recipes/icon.cjs.map +1 -1
- package/dist/theme/recipes/icon.d.ts +1 -1
- package/dist/theme/recipes/icon.js +39 -42
- package/dist/theme/recipes/icon.js.map +1 -1
- package/dist/theme/recipes/illustration.cjs +2 -2
- package/dist/theme/recipes/illustration.cjs.map +1 -1
- package/dist/theme/recipes/illustration.d.ts +1 -1
- package/dist/theme/recipes/illustration.js +29 -48
- package/dist/theme/recipes/illustration.js.map +1 -1
- package/dist/theme/recipes/index.cjs +2 -2
- package/dist/theme/recipes/index.cjs.map +1 -1
- package/dist/theme/recipes/index.d.ts +1 -1
- package/dist/theme/recipes/index.js +127 -127
- package/dist/theme/recipes/index.js.map +1 -1
- package/dist/theme/recipes/input-addon.cjs +2 -2
- 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 +24 -24
- package/dist/theme/recipes/input-addon.js.map +1 -1
- package/dist/theme/recipes/input-group.cjs +2 -2
- 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 +40 -49
- package/dist/theme/recipes/input-group.js.map +1 -1
- package/dist/theme/recipes/input.cjs +2 -2
- package/dist/theme/recipes/input.cjs.map +1 -1
- package/dist/theme/recipes/input.d.ts +1 -1
- package/dist/theme/recipes/input.js +48 -61
- package/dist/theme/recipes/input.js.map +1 -1
- package/dist/theme/recipes/menu.cjs +2 -2
- package/dist/theme/recipes/menu.cjs.map +1 -1
- package/dist/theme/recipes/menu.d.ts +1 -1
- package/dist/theme/recipes/menu.js +96 -100
- package/dist/theme/recipes/menu.js.map +1 -1
- package/dist/theme/recipes/pagination.cjs +2 -2
- package/dist/theme/recipes/pagination.cjs.map +1 -1
- package/dist/theme/recipes/pagination.d.ts +1 -1
- package/dist/theme/recipes/pagination.js +76 -71
- package/dist/theme/recipes/pagination.js.map +1 -1
- package/dist/theme/recipes/phone-number-input.cjs +2 -2
- package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
- package/dist/theme/recipes/phone-number-input.d.ts +1 -1
- package/dist/theme/recipes/phone-number-input.js +55 -66
- package/dist/theme/recipes/phone-number-input.js.map +1 -1
- package/dist/theme/recipes/popover.cjs +2 -2
- package/dist/theme/recipes/popover.cjs.map +1 -1
- package/dist/theme/recipes/popover.d.ts +1 -1
- package/dist/theme/recipes/popover.js +30 -28
- package/dist/theme/recipes/popover.js.map +1 -1
- package/dist/theme/recipes/radio-button-group.cjs +2 -2
- package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-button-group.d.ts +1 -1
- package/dist/theme/recipes/radio-button-group.js +83 -94
- package/dist/theme/recipes/radio-button-group.js.map +1 -1
- package/dist/theme/recipes/radio-card-group.cjs +2 -2
- package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-card-group.d.ts +1 -1
- package/dist/theme/recipes/radio-card-group.js +64 -67
- package/dist/theme/recipes/radio-card-group.js.map +1 -1
- package/dist/theme/recipes/radio-group.cjs +2 -2
- package/dist/theme/recipes/radio-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-group.d.ts +1 -1
- package/dist/theme/recipes/radio-group.js +101 -118
- package/dist/theme/recipes/radio-group.js.map +1 -1
- package/dist/theme/recipes/select-language.cjs +2 -2
- package/dist/theme/recipes/select-language.cjs.map +1 -1
- package/dist/theme/recipes/select-language.d.ts +1 -1
- package/dist/theme/recipes/select-language.js +93 -112
- package/dist/theme/recipes/select-language.js.map +1 -1
- package/dist/theme/recipes/select.cjs +2 -2
- package/dist/theme/recipes/select.cjs.map +1 -1
- package/dist/theme/recipes/select.d.ts +1 -1
- package/dist/theme/recipes/select.js +194 -206
- package/dist/theme/recipes/select.js.map +1 -1
- package/dist/theme/recipes/status-tag-select.cjs +2 -2
- package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
- package/dist/theme/recipes/status-tag-select.d.ts +1 -1
- package/dist/theme/recipes/status-tag-select.js +162 -175
- package/dist/theme/recipes/status-tag-select.js.map +1 -1
- package/dist/theme/recipes/switch-card.cjs +2 -2
- package/dist/theme/recipes/switch-card.cjs.map +1 -1
- package/dist/theme/recipes/switch-card.js +43 -42
- package/dist/theme/recipes/switch-card.js.map +1 -1
- package/dist/theme/recipes/switch.cjs +2 -2
- package/dist/theme/recipes/switch.cjs.map +1 -1
- package/dist/theme/recipes/switch.d.ts +1 -1
- package/dist/theme/recipes/switch.js +71 -86
- package/dist/theme/recipes/switch.js.map +1 -1
- package/dist/theme/recipes/table-container.cjs +2 -2
- 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 +19 -18
- package/dist/theme/recipes/table-container.js.map +1 -1
- package/dist/theme/recipes/table-empty-row.cjs +2 -2
- 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 +17 -16
- package/dist/theme/recipes/table-empty-row.js.map +1 -1
- package/dist/theme/recipes/table-group-title.cjs +2 -2
- package/dist/theme/recipes/table-group-title.cjs.map +1 -1
- package/dist/theme/recipes/table-group-title.d.ts +1 -1
- package/dist/theme/recipes/table-group-title.js +26 -33
- package/dist/theme/recipes/table-group-title.js.map +1 -1
- package/dist/theme/recipes/table.cjs +2 -2
- package/dist/theme/recipes/table.cjs.map +1 -1
- package/dist/theme/recipes/table.d.ts +1 -1
- package/dist/theme/recipes/table.js +111 -109
- package/dist/theme/recipes/table.js.map +1 -1
- package/dist/theme/recipes/tabs-chip.cjs +2 -2
- package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
- package/dist/theme/recipes/tabs-chip.d.ts +1 -1
- package/dist/theme/recipes/tabs-chip.js +43 -46
- package/dist/theme/recipes/tabs-chip.js.map +1 -1
- package/dist/theme/recipes/tabs.cjs +2 -2
- package/dist/theme/recipes/tabs.cjs.map +1 -1
- package/dist/theme/recipes/tabs.d.ts +1 -1
- package/dist/theme/recipes/tabs.js +92 -125
- package/dist/theme/recipes/tabs.js.map +1 -1
- package/dist/theme/recipes/tag.cjs +2 -2
- package/dist/theme/recipes/tag.cjs.map +1 -1
- package/dist/theme/recipes/tag.d.ts +1 -1
- package/dist/theme/recipes/tag.js +110 -121
- package/dist/theme/recipes/tag.js.map +1 -1
- package/dist/theme/recipes/text.cjs +2 -2
- package/dist/theme/recipes/text.cjs.map +1 -1
- package/dist/theme/recipes/text.d.ts +1 -1
- package/dist/theme/recipes/text.js +25 -38
- package/dist/theme/recipes/text.js.map +1 -1
- package/dist/theme/recipes/textarea.cjs +2 -2
- package/dist/theme/recipes/textarea.cjs.map +1 -1
- package/dist/theme/recipes/textarea.d.ts +1 -1
- package/dist/theme/recipes/textarea.js +15 -14
- package/dist/theme/recipes/textarea.js.map +1 -1
- package/dist/theme/recipes/tooltip.cjs +2 -2
- package/dist/theme/recipes/tooltip.cjs.map +1 -1
- package/dist/theme/recipes/tooltip.d.ts +1 -1
- package/dist/theme/recipes/tooltip.js +47 -62
- package/dist/theme/recipes/tooltip.js.map +1 -1
- package/dist/theme/semantic-tokens/colors.cjs +2 -2
- package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
- package/dist/theme/semantic-tokens/colors.js +189 -140
- package/dist/theme/semantic-tokens/colors.js.map +1 -1
- package/dist/theme/semantic-tokens/index.cjs +2 -2
- package/dist/theme/semantic-tokens/index.cjs.map +1 -1
- package/dist/theme/semantic-tokens/index.js +7 -8
- package/dist/theme/semantic-tokens/index.js.map +1 -1
- package/dist/theme/text-styles.cjs +2 -2
- package/dist/theme/text-styles.cjs.map +1 -1
- package/dist/theme/text-styles.d.ts +1 -1
- package/dist/theme/text-styles.js +70 -87
- package/dist/theme/text-styles.js.map +1 -1
- package/dist/theme/tokens/animations.cjs +2 -2
- package/dist/theme/tokens/animations.cjs.map +1 -1
- package/dist/theme/tokens/animations.js +22 -45
- package/dist/theme/tokens/animations.js.map +1 -1
- package/dist/theme/tokens/aspect-ratios.cjs +2 -2
- package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
- package/dist/theme/tokens/aspect-ratios.js +12 -11
- package/dist/theme/tokens/aspect-ratios.js.map +1 -1
- package/dist/theme/tokens/blurs.cjs +2 -2
- package/dist/theme/tokens/blurs.cjs.map +1 -1
- package/dist/theme/tokens/blurs.js +13 -12
- package/dist/theme/tokens/blurs.js.map +1 -1
- package/dist/theme/tokens/borders.cjs +2 -2
- package/dist/theme/tokens/borders.cjs.map +1 -1
- package/dist/theme/tokens/borders.js +6 -9
- package/dist/theme/tokens/borders.js.map +1 -1
- package/dist/theme/tokens/colors.cjs +2 -2
- package/dist/theme/tokens/colors.cjs.map +1 -1
- package/dist/theme/tokens/colors.js +78 -77
- package/dist/theme/tokens/colors.js.map +1 -1
- package/dist/theme/tokens/durations.cjs +2 -2
- package/dist/theme/tokens/durations.cjs.map +1 -1
- package/dist/theme/tokens/durations.js +14 -13
- package/dist/theme/tokens/durations.js.map +1 -1
- package/dist/theme/tokens/easings.cjs +3 -3
- package/dist/theme/tokens/easings.cjs.map +1 -1
- package/dist/theme/tokens/easings.js +24 -92
- package/dist/theme/tokens/easings.js.map +1 -1
- package/dist/theme/tokens/index.cjs +2 -2
- package/dist/theme/tokens/index.cjs.map +1 -1
- package/dist/theme/tokens/index.js +36 -35
- package/dist/theme/tokens/index.js.map +1 -1
- package/dist/theme/tokens/radii.cjs +2 -2
- package/dist/theme/tokens/radii.cjs.map +1 -1
- package/dist/theme/tokens/radii.js +28 -27
- package/dist/theme/tokens/radii.js.map +1 -1
- package/dist/theme/tokens/shadows.cjs +2 -2
- package/dist/theme/tokens/shadows.cjs.map +1 -1
- package/dist/theme/tokens/shadows.js +14 -13
- package/dist/theme/tokens/shadows.js.map +1 -1
- package/dist/theme/tokens/sizes.cjs +2 -2
- package/dist/theme/tokens/sizes.cjs.map +1 -1
- package/dist/theme/tokens/sizes.js +35 -84
- package/dist/theme/tokens/sizes.js.map +1 -1
- package/dist/theme/tokens/spacing.cjs +2 -2
- package/dist/theme/tokens/spacing.cjs.map +1 -1
- package/dist/theme/tokens/spacing.js +32 -83
- package/dist/theme/tokens/spacing.js.map +1 -1
- package/dist/theme/tokens/typography.cjs +2 -2
- package/dist/theme/tokens/typography.cjs.map +1 -1
- package/dist/theme/tokens/typography.js +82 -85
- package/dist/theme/tokens/typography.js.map +1 -1
- package/dist/theme/tokens/z-index.cjs +2 -2
- package/dist/theme/tokens/z-index.cjs.map +1 -1
- package/dist/theme/tokens/z-index.js +18 -41
- package/dist/theme/tokens/z-index.js.map +1 -1
- package/dist/theme/utilities.cjs +2 -2
- package/dist/theme/utilities.cjs.map +1 -1
- package/dist/theme/utilities.js +15 -16
- package/dist/theme/utilities.js.map +1 -1
- package/dist/ui.css +2 -1
- package/dist/utils/slots.cjs +2 -2
- package/dist/utils/slots.cjs.map +1 -1
- package/dist/utils/slots.js +42 -40
- package/dist/utils/slots.js.map +1 -1
- package/package.json +11 -7
- package/dist/_virtual/_commonjsHelpers.cjs +0 -2
- package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -10
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/cjs.cjs +0 -2
- package/dist/_virtual/cjs.cjs.map +0 -1
- package/dist/_virtual/cjs.js +0 -9
- package/dist/_virtual/cjs.js.map +0 -1
- package/dist/_virtual/lodash.cjs +0 -2
- package/dist/_virtual/lodash.cjs.map +0 -1
- package/dist/_virtual/lodash.js +0 -7
- package/dist/_virtual/lodash.js.map +0 -1
- package/dist/_virtual/lodash2.cjs +0 -2
- package/dist/_virtual/lodash2.cjs.map +0 -1
- package/dist/_virtual/lodash2.js +0 -6
- package/dist/_virtual/lodash2.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +0 -2
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +0 -30
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +0 -2
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +0 -30
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +0 -2
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +0 -30
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +0 -2
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +0 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +0 -30
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +0 -1
- package/dist/node_modules/@pandacss/shared/dist/index.cjs +0 -2
- package/dist/node_modules/@pandacss/shared/dist/index.cjs.map +0 -1
- package/dist/node_modules/@pandacss/shared/dist/index.js +0 -469
- package/dist/node_modules/@pandacss/shared/dist/index.js.map +0 -1
- package/dist/node_modules/@zag-js/utils/dist/functions.cjs +0 -2
- package/dist/node_modules/@zag-js/utils/dist/functions.cjs.map +0 -1
- package/dist/node_modules/@zag-js/utils/dist/functions.js +0 -6
- package/dist/node_modules/@zag-js/utils/dist/functions.js.map +0 -1
- package/dist/node_modules/deepmerge/dist/cjs.cjs +0 -2
- package/dist/node_modules/deepmerge/dist/cjs.cjs.map +0 -1
- package/dist/node_modules/deepmerge/dist/cjs.js +0 -81
- package/dist/node_modules/deepmerge/dist/cjs.js.map +0 -1
- package/dist/node_modules/lodash/lodash.cjs +0 -21
- package/dist/node_modules/lodash/lodash.cjs.map +0 -1
- package/dist/node_modules/lodash/lodash.js +0 -3686
- package/dist/node_modules/lodash/lodash.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { alert } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps, forwardRef, ReactNode } from 'react'\nimport { IconButton, type IconButtonProps } from '~/components/icon-button/IconButton'\nimport { Icon, IconProps } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(alert)\n\nconst StyledAlert = withProvider(styled(ark.div), 'root')\nconst StyledAlertIcon = withContext(styled(ark.svg), 'icon')\nconst StyledAlertTitle = withContext(styled(ark.h3), 'title')\nconst StyledAlertDescription = withContext(styled(ark.div), 'description')\n\nexport interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'children' | 'title'> {\n title: ReactNode\n description?: ReactNode\n onDismiss?: IconButtonProps['onClick']\n showDismissTrigger?: boolean\n showIcon?: boolean\n icon?: ReactNode\n iconProps?: IconProps\n}\n\nconst getIcon = (severity: AlertProps['severity']) => {\n switch (severity) {\n default:\n case 'neutral':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'info':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'success':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'warning':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'error':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n }\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(\n (\n { title, description, showDismissTrigger, onDismiss, severity, showIcon = true, icon, iconProps, ...props },\n ref,\n ) => {\n return (\n <StyledAlert ref={ref} severity={severity} {...props}>\n <StyledAlertTitle>\n {showIcon ? (\n <StyledAlertIcon asChild>\n <Icon {...iconProps}>{icon ? icon : getIcon(severity)}</Icon>\n </StyledAlertIcon>\n ) : null}\n {title}\n {showDismissTrigger ? (\n <IconButton ml=\"auto\" onClick={onDismiss} size=\"sm\" variant=\"tertiary\" aria-label=\"dismiss\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z\"\n fill=\"currentColor\"\n />\n </svg>\n </IconButton>\n ) : null}\n </StyledAlertTitle>\n {description ? <StyledAlertDescription>{description}</StyledAlertDescription> : null}\n </StyledAlert>\n )\n },\n)\n"],"names":["withProvider","withContext","createStyleContext","alert","StyledAlert","styled","ark","StyledAlertIcon","StyledAlertTitle","StyledAlertDescription","getIcon","severity","jsx","Alert","forwardRef","title","description","showDismissTrigger","onDismiss","showIcon","icon","iconProps","props","ref","jsxs","Icon","IconButton"],"mappings":";;;;;;;;;AAQA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAK,GAExDC,IAAcJ,EAAaK,EAAOC,EAAI,GAAG,GAAG,MAAM,GAClDC,IAAkBN,EAAYI,EAAOC,EAAI,GAAG,GAAG,MAAM,GACrDE,IAAmBP,EAAYI,EAAOC,EAAI,EAAE,GAAG,OAAO,GACtDG,IAAyBR,EAAYI,EAAOC,EAAI,GAAG,GAAG,aAAa,GAYnEI,IAAU,CAACC,MAAqC;AACpD,UAAQA,GAAA;AAAA,IACN;AAAA,IACA,KAAK;AACH,aACE,gBAAAC,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,GAET;AAAA,IAEJ,KAAK;AACH,aACE,gBAAAA,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,GAET;AAAA,IAEJ,KAAK;AACH,aACE,gBAAAA,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,GAET;AAAA,IAEJ,KAAK;AACH,aACE,gBAAAA,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,GAET;AAAA,IAEJ,KAAK;AACH,aACE,gBAAAA,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,GAET;AAAA,EAAA;AAGR,GAEaC,IAAQC;AAAA,EACnB,CACE,EAAE,OAAAC,GAAO,aAAAC,GAAa,oBAAAC,GAAoB,WAAAC,GAAW,UAAAP,GAAU,UAAAQ,IAAW,IAAM,MAAAC,GAAM,WAAAC,GAAW,GAAGC,EAAA,GACpGC,MAGE,gBAAAC,EAACpB,GAAA,EAAY,KAAAmB,GAAU,UAAAZ,GAAqB,GAAGW,GAC7C,UAAA;AAAA,IAAA,gBAAAE,EAAChB,GAAA,EACE,UAAA;AAAA,MAAAW,IACC,gBAAAP,EAACL,GAAA,EAAgB,SAAO,IACtB,4BAACkB,GAAA,EAAM,GAAGJ,GAAY,UAAAD,KAAcV,EAAQC,CAAQ,EAAA,CAAE,GACxD,IACE;AAAA,MACHI;AAAA,MACAE,IACC,gBAAAL,EAACc,GAAA,EAAW,IAAG,QAAO,SAASR,GAAW,MAAK,MAAK,SAAQ,YAAW,cAAW,WAChF,UAAA,gBAAAN,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA,EACP,CACF,GACF,IACE;AAAA,IAAA,GACN;AAAA,IACCI,IAAc,gBAAAJ,EAACH,GAAA,EAAwB,UAAAO,EAAA,CAAY,IAA4B;AAAA,EAAA,GAClF;AAGN;"}
|
|
1
|
+
{"version":3,"file":"Alert.js","names":[],"sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { alert } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps, forwardRef, ReactNode } from 'react'\nimport { IconButton, type IconButtonProps } from '~/components/icon-button/IconButton'\nimport { Icon, IconProps } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(alert)\n\nconst StyledAlert = withProvider(styled(ark.div), 'root')\nconst StyledAlertIcon = withContext(styled(ark.svg), 'icon')\nconst StyledAlertTitle = withContext(styled(ark.h3), 'title')\nconst StyledAlertDescription = withContext(styled(ark.div), 'description')\n\nexport interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'children' | 'title'> {\n title: ReactNode\n description?: ReactNode\n onDismiss?: IconButtonProps['onClick']\n showDismissTrigger?: boolean\n showIcon?: boolean\n icon?: ReactNode\n iconProps?: IconProps\n}\n\nconst getIcon = (severity: AlertProps['severity']) => {\n switch (severity) {\n default:\n case 'neutral':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'info':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'success':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'warning':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'error':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n }\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(\n (\n { title, description, showDismissTrigger, onDismiss, severity, showIcon = true, icon, iconProps, ...props },\n ref,\n ) => {\n return (\n <StyledAlert ref={ref} severity={severity} {...props}>\n <StyledAlertTitle>\n {showIcon ? (\n <StyledAlertIcon asChild>\n <Icon {...iconProps}>{icon ? icon : getIcon(severity)}</Icon>\n </StyledAlertIcon>\n ) : null}\n {title}\n {showDismissTrigger ? (\n <IconButton ml=\"auto\" onClick={onDismiss} size=\"sm\" variant=\"tertiary\" aria-label=\"dismiss\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z\"\n fill=\"currentColor\"\n />\n </svg>\n </IconButton>\n ) : null}\n </StyledAlertTitle>\n {description ? <StyledAlertDescription>{description}</StyledAlertDescription> : null}\n </StyledAlert>\n )\n },\n)\n"],"mappings":";;;;;;;;;;AAQA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAK,GAExD,IAAc,EAAa,EAAO,EAAI,GAAG,GAAG,MAAM,GAClD,IAAkB,EAAY,EAAO,EAAI,GAAG,GAAG,MAAM,GACrD,IAAmB,EAAY,EAAO,EAAI,EAAE,GAAG,OAAO,GACtD,IAAyB,EAAY,EAAO,EAAI,GAAG,GAAG,aAAa,GAYnE,KAAW,MAAqC;CACpD,QAAQ,GAAR;EACE;EACA,KAAK,WACH,OACE,kBAAC,OAAD;GAAK,OAAM;GAAK,QAAO;GAAK,SAAQ;GAAY,MAAK;GAAO,OAAM;aAChE,kBAAC,QAAD;IACE,UAAS;IACT,UAAS;IACT,GAAE;IACF,MAAK;GACN,CAAA;EACE,CAAA;EAET,KAAK,QACH,OACE,kBAAC,OAAD;GAAK,OAAM;GAAK,QAAO;GAAK,SAAQ;GAAY,MAAK;GAAO,OAAM;aAChE,kBAAC,QAAD;IACE,UAAS;IACT,UAAS;IACT,GAAE;IACF,MAAK;GACN,CAAA;EACE,CAAA;EAET,KAAK,WACH,OACE,kBAAC,OAAD;GAAK,OAAM;GAAK,QAAO;GAAK,SAAQ;GAAY,MAAK;GAAO,OAAM;aAChE,kBAAC,QAAD;IACE,UAAS;IACT,UAAS;IACT,GAAE;IACF,MAAK;GACN,CAAA;EACE,CAAA;EAET,KAAK,WACH,OACE,kBAAC,OAAD;GAAK,OAAM;GAAK,QAAO;GAAK,SAAQ;GAAY,MAAK;GAAO,OAAM;aAChE,kBAAC,QAAD;IACE,UAAS;IACT,UAAS;IACT,GAAE;IACF,MAAK;GACN,CAAA;EACE,CAAA;EAET,KAAK,SACH,OACE,kBAAC,OAAD;GAAK,OAAM;GAAK,QAAO;GAAK,SAAQ;GAAY,MAAK;GAAO,OAAM;aAChE,kBAAC,QAAD;IACE,UAAS;IACT,UAAS;IACT,GAAE;IACF,MAAK;GACN,CAAA;EACE,CAAA;CAEX;AACF,GAEa,IAAQ,GAEjB,EAAE,UAAO,gBAAa,uBAAoB,cAAW,aAAU,cAAW,IAAM,SAAM,cAAW,GAAG,KACpG,MAGE,kBAAC,GAAD;CAAkB;CAAe;CAAU,GAAI;WAA/C,CACE,kBAAC,GAAD,EAAA,UAAA;EACG,IACC,kBAAC,GAAD;GAAiB,SAAA;aACf,kBAAC,GAAD;IAAM,GAAI;cAAY,KAAc,EAAQ,CAAQ;GAAQ,CAAA;EAC7C,CAAA,IACf;EACH;EACA,IACC,kBAAC,GAAD;GAAY,IAAG;GAAO,SAAS;GAAW,MAAK;GAAK,SAAQ;GAAW,cAAW;aAChF,kBAAC,OAAD;IAAK,OAAM;IAAK,QAAO;IAAK,SAAQ;IAAY,MAAK;IAAO,OAAM;cAChE,kBAAC,QAAD;KACE,UAAS;KACT,UAAS;KACT,GAAE;KACF,MAAK;IACN,CAAA;GACE,CAAA;EACK,CAAA,IACV;CACY,EAAA,CAAA,GACjB,IAAc,kBAAC,GAAD,EAAA,UAAyB,EAAoC,CAAA,IAAI,IACrE;EAGnB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileCardEntityRow.cjs.map
|
|
1
|
+
"use client";const e=require("../../text/Text.cjs"),t=require("./MobileCardNotificationBadge.cjs");let n=require("@stokelp/styled-system/jsx"),r=require("react/jsx-runtime");function i({name:i,imageURL:a,unreadNotifications:o}){return(0,r.jsxs)(n.HStack,{gap:`space-8`,alignItems:`center`,justifyContent:`space-between`,children:[(0,r.jsxs)(n.HStack,{gap:`space-8`,alignItems:`center`,flex:`1`,minW:`0`,children:[a&&(0,r.jsx)(n.Box,{borderRadius:`full`,overflow:`hidden`,w:`size-20`,h:`size-20`,flexShrink:0,children:(0,r.jsx)(`img`,{src:a,alt:i,width:20,height:20,style:{objectFit:`cover`,width:`100%`,height:`100%`}})}),(0,r.jsx)(e.Text,{size:`sm`,bold:!0,truncate:!0,children:i})]}),(0,r.jsx)(t.MobileCardNotificationBadge,{count:o})]})}exports.MobileCardEntityRow=i;
|
|
2
|
+
//# sourceMappingURL=MobileCardEntityRow.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardEntityRow.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardEntityRow.cjs","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"mappings":"8KAUA,SAAgB,EAAoB,CAAE,OAAM,WAAU,uBAAiD,CACrG,OACE,EAAA,EAAA,MAAC,EAAA,OAAD,CAAQ,IAAI,UAAU,WAAW,SAAS,eAAe,yBAAzD,EACE,EAAA,EAAA,MAAC,EAAA,OAAD,CAAQ,IAAI,UAAU,WAAW,SAAS,KAAK,IAAI,KAAK,aAAxD,CACG,IACC,EAAA,EAAA,KAAC,EAAA,IAAD,CAAK,aAAa,OAAO,SAAS,SAAS,EAAE,UAAU,EAAE,UAAU,WAAY,YAC7E,EAAA,EAAA,KAAC,MAAD,CACE,IAAK,EACL,IAAK,EACL,MAAO,GACP,OAAQ,GACR,MAAO,CAAE,UAAW,QAAS,MAAO,OAAQ,OAAQ,MAAO,CAC5D,CAAA,CACE,CAAA,GAEP,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,KAAK,KAAA,GAAK,SAAA,YAClB,CACG,CAAA,CACA,KACR,EAAA,EAAA,KAAC,EAAA,4BAAD,CAA6B,MAAO,CAAsB,CAAA,CACpD,GAEZ"}
|
|
@@ -1,27 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
import { Text as e } from "../../text/Text.js";
|
|
3
|
+
import { MobileCardNotificationBadge as t } from "./MobileCardNotificationBadge.js";
|
|
4
|
+
import { Box as n, HStack as r } from "@stokelp/styled-system/jsx";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/app/mobile-card/MobileCardEntityRow.tsx
|
|
7
|
+
function o({ name: o, imageURL: s, unreadNotifications: c }) {
|
|
8
|
+
return /* @__PURE__ */ a(r, {
|
|
9
|
+
gap: "space-8",
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
justifyContent: "space-between",
|
|
12
|
+
children: [/* @__PURE__ */ a(r, {
|
|
13
|
+
gap: "space-8",
|
|
14
|
+
alignItems: "center",
|
|
15
|
+
flex: "1",
|
|
16
|
+
minW: "0",
|
|
17
|
+
children: [s && /* @__PURE__ */ i(n, {
|
|
18
|
+
borderRadius: "full",
|
|
19
|
+
overflow: "hidden",
|
|
20
|
+
w: "size-20",
|
|
21
|
+
h: "size-20",
|
|
22
|
+
flexShrink: 0,
|
|
23
|
+
children: /* @__PURE__ */ i("img", {
|
|
24
|
+
src: s,
|
|
25
|
+
alt: o,
|
|
26
|
+
width: 20,
|
|
27
|
+
height: 20,
|
|
28
|
+
style: {
|
|
29
|
+
objectFit: "cover",
|
|
30
|
+
width: "100%",
|
|
31
|
+
height: "100%"
|
|
32
|
+
}
|
|
33
|
+
})
|
|
34
|
+
}), /* @__PURE__ */ i(e, {
|
|
35
|
+
size: "sm",
|
|
36
|
+
bold: !0,
|
|
37
|
+
truncate: !0,
|
|
38
|
+
children: o
|
|
39
|
+
})]
|
|
40
|
+
}), /* @__PURE__ */ i(t, { count: c })]
|
|
41
|
+
});
|
|
23
42
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=MobileCardEntityRow.js.map
|
|
43
|
+
//#endregion
|
|
44
|
+
export { o as MobileCardEntityRow };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=MobileCardEntityRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardEntityRow.js","sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardEntityRow.js","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardEntityRow.tsx"],"sourcesContent":["import { HStack, Box } from '@stokelp/styled-system/jsx'\nimport { Text } from '~/components/text/Text'\nimport { MobileCardNotificationBadge } from './MobileCardNotificationBadge'\n\nexport interface MobileCardEntityRowProps {\n name: string\n imageURL?: string\n unreadNotifications?: number\n}\n\nexport function MobileCardEntityRow({ name, imageURL, unreadNotifications }: MobileCardEntityRowProps) {\n return (\n <HStack gap=\"space-8\" alignItems=\"center\" justifyContent=\"space-between\">\n <HStack gap=\"space-8\" alignItems=\"center\" flex=\"1\" minW=\"0\">\n {imageURL && (\n <Box borderRadius=\"full\" overflow=\"hidden\" w=\"size-20\" h=\"size-20\" flexShrink={0}>\n <img\n src={imageURL}\n alt={name}\n width={20}\n height={20}\n style={{ objectFit: 'cover', width: '100%', height: '100%' }}\n />\n </Box>\n )}\n <Text size=\"sm\" bold truncate>\n {name}\n </Text>\n </HStack>\n <MobileCardNotificationBadge count={unreadNotifications} />\n </HStack>\n )\n}\n"],"mappings":";;;;;;AAUA,SAAgB,EAAoB,EAAE,SAAM,aAAU,0BAAiD;CACrG,OACE,kBAAC,GAAD;EAAQ,KAAI;EAAU,YAAW;EAAS,gBAAe;YAAzD,CACE,kBAAC,GAAD;GAAQ,KAAI;GAAU,YAAW;GAAS,MAAK;GAAI,MAAK;aAAxD,CACG,KACC,kBAAC,GAAD;IAAK,cAAa;IAAO,UAAS;IAAS,GAAE;IAAU,GAAE;IAAU,YAAY;cAC7E,kBAAC,OAAD;KACE,KAAK;KACL,KAAK;KACL,OAAO;KACP,QAAQ;KACR,OAAO;MAAE,WAAW;MAAS,OAAO;MAAQ,QAAQ;KAAO;IAC5D,CAAA;GACE,CAAA,GAEP,kBAAC,GAAD;IAAM,MAAK;IAAK,MAAA;IAAK,UAAA;cAClB;GACG,CAAA,CACA;MACR,kBAAC,GAAD,EAA6B,OAAO,EAAsB,CAAA,CACpD;;AAEZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileCardHeader.cjs.map
|
|
1
|
+
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("react/jsx-runtime");function n({children:n,onClick:r}){return(0,t.jsx)(e.HStack,{bgColor:`primary.300`,px:`space-16`,py:`space-12`,gap:`space-12`,justifyContent:`space-between`,cursor:r?`pointer`:void 0,onClick:r,children:n})}exports.MobileCardHeader=n;
|
|
2
|
+
//# sourceMappingURL=MobileCardHeader.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardHeader.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardHeader.cjs","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"mappings":"wFAQA,SAAgB,EAAiB,CAAE,WAAU,WAAkC,CAC7E,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CACE,QAAQ,cACR,GAAG,WACH,GAAG,WACH,IAAI,WACJ,eAAe,gBACf,OAAQ,EAAU,UAAY,IAAA,GACrB,UAER,UACK,CAAA,CAEZ"}
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
);
|
|
2
|
+
import { HStack as e } from "@stokelp/styled-system/jsx";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/app/mobile-card/MobileCardHeader.tsx
|
|
5
|
+
function n({ children: n, onClick: r }) {
|
|
6
|
+
return /* @__PURE__ */ t(e, {
|
|
7
|
+
bgColor: "primary.300",
|
|
8
|
+
px: "space-16",
|
|
9
|
+
py: "space-12",
|
|
10
|
+
gap: "space-12",
|
|
11
|
+
justifyContent: "space-between",
|
|
12
|
+
cursor: r ? "pointer" : void 0,
|
|
13
|
+
onClick: r,
|
|
14
|
+
children: n
|
|
15
|
+
});
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=MobileCardHeader.js.map
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as MobileCardHeader };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=MobileCardHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardHeader.js","sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardHeader.js","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardHeader.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { HStack } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardHeaderProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardHeader({ children, onClick }: MobileCardHeaderProps) {\n return (\n <HStack\n bgColor=\"primary.300\"\n px=\"space-16\"\n py=\"space-12\"\n gap=\"space-12\"\n justifyContent=\"space-between\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </HStack>\n )\n}\n"],"mappings":";;;;AAQA,SAAgB,EAAiB,EAAE,aAAU,cAAkC;CAC7E,OACE,kBAAC,GAAD;EACE,SAAQ;EACR,IAAG;EACH,IAAG;EACH,KAAI;EACJ,gBAAe;EACf,QAAQ,IAAU,YAAY,KAAA;EACrB;EAER;CACK,CAAA;AAEZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileCardNotificationBadge.cjs.map
|
|
1
|
+
"use client";const e=require("../../chip/Chip.cjs"),t=require("../../icon/Icon.cjs"),n=require("../../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs");let r=require("@stokelp/styled-system/jsx"),i=require("react/jsx-runtime");function a({count:a}){return!a||a<=0?null:(0,i.jsxs)(r.HStack,{gap:`space-4`,alignItems:`center`,flexShrink:0,children:[(0,i.jsx)(t.Icon,{size:`sm`,color:`grey.400`,children:(0,i.jsx)(n.default,{})}),(0,i.jsx)(e.Chip,{size:`sm`,display:`flex`,placeContent:`center`,bgColor:`error.500`,w:`size-20`,h:`size-20`,children:(0,i.jsx)(e.ChipLabel,{color:`white`,children:a})})]})}exports.MobileCardNotificationBadge=a;
|
|
2
|
+
//# sourceMappingURL=MobileCardNotificationBadge.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardNotificationBadge.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardNotificationBadge.cjs","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"mappings":"sTASA,SAAgB,EAA4B,CAAE,SAA2C,CAGvF,MAFI,CAAC,GAAS,GAAS,EAAU,MAG/B,EAAA,EAAA,MAAC,EAAA,OAAD,CAAQ,IAAI,UAAU,WAAW,SAAS,WAAY,WAAtD,EACE,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,KAAK,MAAM,qBACpB,EAAA,EAAA,KAAC,EAAA,QAAD,CAA0B,CAAA,CACtB,CAAA,GACN,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,KAAK,QAAQ,OAAO,aAAa,SAAS,QAAQ,YAAY,EAAE,UAAU,EAAE,oBACrF,EAAA,EAAA,KAAC,EAAA,UAAD,CAAW,MAAM,iBAAS,CAAiB,CAAA,CACvC,CAAA,CACA,GAEZ"}
|
|
@@ -1,16 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { HStack as o } from "@stokelp/styled-system/jsx";
|
|
4
|
-
import { Chip as l, ChipLabel as t } from "../../chip/Chip.js";
|
|
2
|
+
import { Chip as e, ChipLabel as t } from "../../chip/Chip.js";
|
|
5
3
|
import { Icon as n } from "../../icon/Icon.js";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
import r from "../../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js";
|
|
5
|
+
import { HStack as i } from "@stokelp/styled-system/jsx";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/app/mobile-card/MobileCardNotificationBadge.tsx
|
|
8
|
+
function s({ count: s }) {
|
|
9
|
+
return !s || s <= 0 ? null : /* @__PURE__ */ o(i, {
|
|
10
|
+
gap: "space-4",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
flexShrink: 0,
|
|
13
|
+
children: [/* @__PURE__ */ a(n, {
|
|
14
|
+
size: "sm",
|
|
15
|
+
color: "grey.400",
|
|
16
|
+
children: /* @__PURE__ */ a(r, {})
|
|
17
|
+
}), /* @__PURE__ */ a(e, {
|
|
18
|
+
size: "sm",
|
|
19
|
+
display: "flex",
|
|
20
|
+
placeContent: "center",
|
|
21
|
+
bgColor: "error.500",
|
|
22
|
+
w: "size-20",
|
|
23
|
+
h: "size-20",
|
|
24
|
+
children: /* @__PURE__ */ a(t, {
|
|
25
|
+
color: "white",
|
|
26
|
+
children: s
|
|
27
|
+
})
|
|
28
|
+
})]
|
|
29
|
+
});
|
|
12
30
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=MobileCardNotificationBadge.js.map
|
|
31
|
+
//#endregion
|
|
32
|
+
export { s as MobileCardNotificationBadge };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=MobileCardNotificationBadge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardNotificationBadge.js","sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardNotificationBadge.js","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardNotificationBadge.tsx"],"sourcesContent":["import { HStack } from '@stokelp/styled-system/jsx'\nimport { Chip, ChipLabel } from '~/components/chip/Chip'\nimport { Icon } from '~/components/icon/Icon'\nimport { ChatBubbleLeftRightIcon } from '@heroicons/react/24/outline'\n\nexport interface MobileCardNotificationBadgeProps {\n count?: number\n}\n\nexport function MobileCardNotificationBadge({ count }: MobileCardNotificationBadgeProps) {\n if (!count || count <= 0) return null\n\n return (\n <HStack gap=\"space-4\" alignItems=\"center\" flexShrink={0}>\n <Icon size=\"sm\" color=\"grey.400\">\n <ChatBubbleLeftRightIcon />\n </Icon>\n <Chip size=\"sm\" display=\"flex\" placeContent=\"center\" bgColor=\"error.500\" w=\"size-20\" h=\"size-20\">\n <ChipLabel color=\"white\">{count}</ChipLabel>\n </Chip>\n </HStack>\n )\n}\n"],"mappings":";;;;;;;AASA,SAAgB,EAA4B,EAAE,YAA2C;CAGvF,OAFI,CAAC,KAAS,KAAS,IAAU,OAG/B,kBAAC,GAAD;EAAQ,KAAI;EAAU,YAAW;EAAS,YAAY;YAAtD,CACE,kBAAC,GAAD;GAAM,MAAK;GAAK,OAAM;aACpB,kBAAC,GAAD,CAA0B,CAAA;EACtB,CAAA,GACN,kBAAC,GAAD;GAAM,MAAK;GAAK,SAAQ;GAAO,cAAa;GAAS,SAAQ;GAAY,GAAE;GAAU,GAAE;aACrF,kBAAC,GAAD;IAAW,OAAM;cAAS;GAAiB,CAAA;EACvC,CAAA,CACA;;AAEZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileCardShell.cjs.map
|
|
1
|
+
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("react/jsx-runtime");function n({children:n,onClick:r}){return(0,t.jsx)(e.Box,{width:`100%`,borderRadius:`radius-16`,overflow:`hidden`,backgroundColor:`white`,cursor:r?`pointer`:void 0,onClick:r,children:n})}exports.MobileCardShell=n;
|
|
2
|
+
//# sourceMappingURL=MobileCardShell.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardShell.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardShell.cjs","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"mappings":"wFAQA,SAAgB,EAAgB,CAAE,WAAU,WAAiC,CAC3E,OACE,EAAA,EAAA,KAAC,EAAA,IAAD,CACE,MAAM,OACN,aAAa,YACb,SAAS,SACT,gBAAgB,QAChB,OAAQ,EAAU,UAAY,IAAA,GACrB,UAER,UACE,CAAA,CAET"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
);
|
|
2
|
+
import { Box as e } from "@stokelp/styled-system/jsx";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/app/mobile-card/MobileCardShell.tsx
|
|
5
|
+
function n({ children: n, onClick: r }) {
|
|
6
|
+
return /* @__PURE__ */ t(e, {
|
|
7
|
+
width: "100%",
|
|
8
|
+
borderRadius: "radius-16",
|
|
9
|
+
overflow: "hidden",
|
|
10
|
+
backgroundColor: "white",
|
|
11
|
+
cursor: r ? "pointer" : void 0,
|
|
12
|
+
onClick: r,
|
|
13
|
+
children: n
|
|
14
|
+
});
|
|
17
15
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=MobileCardShell.js.map
|
|
16
|
+
//#endregion
|
|
17
|
+
export { n as MobileCardShell };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=MobileCardShell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardShell.js","sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardShell.js","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardShell.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box } from '@stokelp/styled-system/jsx'\n\nexport interface MobileCardShellProps {\n children: ReactNode\n onClick?: () => void\n}\n\nexport function MobileCardShell({ children, onClick }: MobileCardShellProps) {\n return (\n <Box\n width=\"100%\"\n borderRadius=\"radius-16\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n cursor={onClick ? 'pointer' : undefined}\n onClick={onClick}\n >\n {children}\n </Box>\n )\n}\n"],"mappings":";;;;AAQA,SAAgB,EAAgB,EAAE,aAAU,cAAiC;CAC3E,OACE,kBAAC,GAAD;EACE,OAAM;EACN,cAAa;EACb,UAAS;EACT,iBAAgB;EAChB,QAAQ,IAAU,YAAY,KAAA;EACrB;EAER;CACE,CAAA;AAET"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileCardSkeleton.cjs.map
|
|
1
|
+
"use client";let e=require("@stokelp/styled-system/jsx"),t=require("react/jsx-runtime");var n=(0,require("@stokelp/styled-system/css").css)({background:`linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)`,backgroundSize:`200% 100%`,animation:`shimmer 1.5s infinite`});function r({width:r,height:i,borderRadius:a=`radius-4`}){return(0,t.jsx)(e.Box,{width:r,height:i,borderRadius:a,className:n})}function i({headerContent:n,bodyContent:r}){return(0,t.jsxs)(e.Box,{width:`100%`,borderRadius:`radius-16`,overflow:`hidden`,border:`1px solid`,borderColor:`grey.100`,children:[(0,t.jsx)(e.HStack,{bgColor:`primary.100`,px:`space-16`,py:`space-12`,gap:`space-8`,children:n}),(0,t.jsx)(e.VStack,{gap:`space-12`,p:`space-16`,alignItems:`stretch`,children:r})]})}function a({count:n=3,children:r}){return(0,t.jsx)(e.VStack,{gap:`space-16`,width:`100%`,children:Array.from({length:n},(n,i)=>(0,t.jsx)(e.Box,{children:r()},i))})}exports.MobileCardSkeleton=i,exports.MobileCardSkeletonList=a,exports.SkeletonBlock=r;
|
|
2
|
+
//# sourceMappingURL=MobileCardSkeleton.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardSkeleton.cjs","sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardSkeleton.cjs","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"mappings":"wFAIA,IAAM,GAAA,sCAAA,EAAA,KAAoB,CACxB,WAAY,gEACZ,eAAgB,YAChB,UAAW,uBACb,CAAC,EAQD,SAAgB,EAAc,CAAE,QAAO,SAAQ,eAAe,YAAkC,CAC9F,OAAO,EAAA,EAAA,KAAC,EAAA,IAAD,CAAY,QAAe,SAAsB,eAAc,UAAW,CAAgB,CAAA,CACnG,CAOA,SAAgB,EAAmB,CAAE,gBAAe,eAAwC,CAC1F,OACE,EAAA,EAAA,MAAC,EAAA,IAAD,CAAK,MAAM,OAAO,aAAa,YAAY,SAAS,SAAS,OAAO,YAAY,YAAY,oBAA5F,EACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAQ,cAAc,GAAG,WAAW,GAAG,WAAW,IAAI,mBAC3D,CACK,CAAA,GACR,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,IAAI,WAAW,EAAE,WAAW,WAAW,mBAC5C,CACK,CAAA,CACL,GAET,CAOA,SAAgB,EAAuB,CAAE,QAAQ,EAAG,YAAyC,CAC3F,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,IAAI,WAAW,MAAM,gBAC1B,MAAM,KAAK,CAAE,OAAQ,CAAM,GAAI,EAAG,KACjC,EAAA,EAAA,KAAC,EAAA,IAAD,CAAA,SAAc,EAAS,CAAO,EAApB,CAAoB,CAC/B,CACK,CAAA,CAEZ"}
|
|
@@ -1,27 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { css as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { Box as e, HStack as t, VStack as n } from "@stokelp/styled-system/jsx";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import { css as a } from "@stokelp/styled-system/css";
|
|
5
|
+
//#region src/components/app/mobile-card/MobileCardSkeleton.tsx
|
|
6
|
+
var o = a({
|
|
7
|
+
background: "linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)",
|
|
8
|
+
backgroundSize: "200% 100%",
|
|
9
|
+
animation: "shimmer 1.5s infinite"
|
|
9
10
|
});
|
|
10
|
-
function
|
|
11
|
-
|
|
11
|
+
function s({ width: t, height: n, borderRadius: i = "radius-4" }) {
|
|
12
|
+
return /* @__PURE__ */ r(e, {
|
|
13
|
+
width: t,
|
|
14
|
+
height: n,
|
|
15
|
+
borderRadius: i,
|
|
16
|
+
className: o
|
|
17
|
+
});
|
|
12
18
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
function c({ headerContent: a, bodyContent: o }) {
|
|
20
|
+
return /* @__PURE__ */ i(e, {
|
|
21
|
+
width: "100%",
|
|
22
|
+
borderRadius: "radius-16",
|
|
23
|
+
overflow: "hidden",
|
|
24
|
+
border: "1px solid",
|
|
25
|
+
borderColor: "grey.100",
|
|
26
|
+
children: [/* @__PURE__ */ r(t, {
|
|
27
|
+
bgColor: "primary.100",
|
|
28
|
+
px: "space-16",
|
|
29
|
+
py: "space-12",
|
|
30
|
+
gap: "space-8",
|
|
31
|
+
children: a
|
|
32
|
+
}), /* @__PURE__ */ r(n, {
|
|
33
|
+
gap: "space-12",
|
|
34
|
+
p: "space-16",
|
|
35
|
+
alignItems: "stretch",
|
|
36
|
+
children: o
|
|
37
|
+
})]
|
|
38
|
+
});
|
|
18
39
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
40
|
+
function l({ count: t = 3, children: i }) {
|
|
41
|
+
return /* @__PURE__ */ r(n, {
|
|
42
|
+
gap: "space-16",
|
|
43
|
+
width: "100%",
|
|
44
|
+
children: Array.from({ length: t }, (t, n) => /* @__PURE__ */ r(e, { children: i() }, n))
|
|
45
|
+
});
|
|
21
46
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=MobileCardSkeleton.js.map
|
|
47
|
+
//#endregion
|
|
48
|
+
export { c as MobileCardSkeleton, l as MobileCardSkeletonList, s as SkeletonBlock };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=MobileCardSkeleton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCardSkeleton.js","sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileCardSkeleton.js","names":[],"sources":["../../../../src/components/app/mobile-card/MobileCardSkeleton.tsx"],"sourcesContent":["import { ReactNode } from 'react'\nimport { Box, HStack, VStack } from '@stokelp/styled-system/jsx'\nimport { css } from '@stokelp/styled-system/css'\n\nconst skeletonClass = css({\n background: 'linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%)',\n backgroundSize: '200% 100%',\n animation: 'shimmer 1.5s infinite',\n})\n\nexport interface SkeletonBlockProps {\n width: string\n height: string\n borderRadius?: string\n}\n\nexport function SkeletonBlock({ width, height, borderRadius = 'radius-4' }: SkeletonBlockProps) {\n return <Box width={width} height={height} borderRadius={borderRadius} className={skeletonClass} />\n}\n\nexport interface MobileCardSkeletonProps {\n headerContent: ReactNode\n bodyContent: ReactNode\n}\n\nexport function MobileCardSkeleton({ headerContent, bodyContent }: MobileCardSkeletonProps) {\n return (\n <Box width=\"100%\" borderRadius=\"radius-16\" overflow=\"hidden\" border=\"1px solid\" borderColor=\"grey.100\">\n <HStack bgColor=\"primary.100\" px=\"space-16\" py=\"space-12\" gap=\"space-8\">\n {headerContent}\n </HStack>\n <VStack gap=\"space-12\" p=\"space-16\" alignItems=\"stretch\">\n {bodyContent}\n </VStack>\n </Box>\n )\n}\n\nexport interface MobileCardSkeletonListProps {\n count?: number\n children: () => ReactNode\n}\n\nexport function MobileCardSkeletonList({ count = 3, children }: MobileCardSkeletonListProps) {\n return (\n <VStack gap=\"space-16\" width=\"100%\">\n {Array.from({ length: count }, (_, i) => (\n <Box key={i}>{children()}</Box>\n ))}\n </VStack>\n )\n}\n"],"mappings":";;;;;AAIA,IAAM,IAAgB,EAAI;CACxB,YAAY;CACZ,gBAAgB;CAChB,WAAW;AACb,CAAC;AAQD,SAAgB,EAAc,EAAE,UAAO,WAAQ,kBAAe,cAAkC;CAC9F,OAAO,kBAAC,GAAD;EAAY;EAAe;EAAsB;EAAc,WAAW;CAAgB,CAAA;AACnG;AAOA,SAAgB,EAAmB,EAAE,kBAAe,kBAAwC;CAC1F,OACE,kBAAC,GAAD;EAAK,OAAM;EAAO,cAAa;EAAY,UAAS;EAAS,QAAO;EAAY,aAAY;YAA5F,CACE,kBAAC,GAAD;GAAQ,SAAQ;GAAc,IAAG;GAAW,IAAG;GAAW,KAAI;aAC3D;EACK,CAAA,GACR,kBAAC,GAAD;GAAQ,KAAI;GAAW,GAAE;GAAW,YAAW;aAC5C;EACK,CAAA,CACL;;AAET;AAOA,SAAgB,EAAuB,EAAE,WAAQ,GAAG,eAAyC;CAC3F,OACE,kBAAC,GAAD;EAAQ,KAAI;EAAW,OAAM;YAC1B,MAAM,KAAK,EAAE,QAAQ,EAAM,IAAI,GAAG,MACjC,kBAAC,GAAD,EAAA,UAAc,EAAS,EAAO,GAApB,CAAoB,CAC/B;CACK,CAAA;AAEZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=MobileNavigation.cjs.map
|
|
1
|
+
"use client";const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utils/slots.cjs"),n=require("../../icon/Icon.cjs");let r=require("@stokelp/styled-system/jsx"),i=require("@stokelp/styled-system/recipes");var a=e.__exportAll({Item:()=>l,ItemIcon:()=>u,ItemLabel:()=>d,Root:()=>c}),{withProvider:o,withContext:s}=t.createStyleContext(i.mobileNavigation,{dataAttr:!0}),c=o((0,r.styled)(`nav`),`root`),l=s((0,r.styled)(`a`),`item`),u=s(n.Icon,`itemIcon`,{defaultProps:{size:`sm`}}),d=s((0,r.styled)(`span`),`itemLabel`);Object.defineProperty(exports,"MobileNavigation_exports",{enumerable:!0,get:function(){return a}});
|
|
2
|
+
//# sourceMappingURL=MobileNavigation.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileNavigation.cjs","sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"
|
|
1
|
+
{"version":3,"file":"MobileNavigation.cjs","names":[],"sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"mappings":"mTAMM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,iBAAkB,CACzE,SAAU,EACZ,CAAC,EAEY,EAAO,GAAA,EAAA,EAAA,QAAoB,KAAK,EAAG,MAAM,EACzC,EAAO,GAAA,EAAA,EAAA,QAAmB,GAAG,EAAG,MAAM,EACtC,EAAW,EAAY,EAAA,KAAM,WAAY,CACpD,aAAc,CACZ,KAAM,IACR,CACF,CAAC,EACY,EAAY,GAAA,EAAA,EAAA,QAAmB,MAAM,EAAG,WAAW"}
|
|
@@ -2,11 +2,10 @@ import { ComponentProps, FC } from 'react';
|
|
|
2
2
|
import { ComponentVariants } from '../../../utils/slots';
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { MobileNavigationRecipe } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const ItemLabel: StyledComponent<"span", {}>;
|
|
5
|
+
export declare const Root: ComponentVariants<StyledComponent<string, {}>, MobileNavigationRecipe>;
|
|
6
|
+
export declare const Item: StyledComponent<string, {}>;
|
|
7
|
+
export declare const ItemIcon: FC<any>;
|
|
8
|
+
export declare const ItemLabel: StyledComponent<string, {}>;
|
|
10
9
|
export interface MobileNavigationProps extends ComponentProps<typeof Root> {
|
|
11
10
|
}
|
|
12
11
|
export interface MobileNavigationItemProps extends ComponentProps<typeof Item> {
|