@stokelp/ui 2.127.0 → 3.0.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/README.md +4 -4
- package/dist/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/accordion/Accordion.cjs +1 -1
- package/dist/components/accordion/Accordion.cjs.map +1 -1
- package/dist/components/accordion/Accordion.d.ts +1 -1
- package/dist/components/accordion/Accordion.js +1 -2
- package/dist/components/accordion/Accordion.js.map +1 -1
- package/dist/components/action-card/ActionCard.cjs.map +1 -1
- package/dist/components/action-card/ActionCard.d.ts +1 -1
- package/dist/components/action-card/ActionCard.js +1 -2
- package/dist/components/action-card/ActionCard.js.map +1 -1
- package/dist/components/alert/Alert.cjs.map +1 -1
- package/dist/components/alert/Alert.d.ts +1 -1
- package/dist/components/alert/Alert.js +1 -2
- package/dist/components/alert/Alert.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardEntityRow.js +1 -2
- package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardHeader.js +1 -2
- package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +2 -3
- package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.d.ts +1 -1
- package/dist/components/app/mobile-card/MobileCardShell.js +1 -2
- package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
- package/dist/components/app/mobile-card/MobileCardSkeleton.d.ts +3 -3
- package/dist/components/app/mobile-card/MobileCardSkeleton.js +1 -2
- package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +2 -1
- package/dist/components/app/mobile-navigation/MobileNavigation.js +2 -3
- package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
- package/dist/components/app/navigation/AppNavigation.cjs +1 -1
- package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
- package/dist/components/app/navigation/AppNavigation.d.ts +2 -2
- package/dist/components/app/navigation/AppNavigation.js +3 -4
- package/dist/components/app/navigation/AppNavigation.js.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +5 -6
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
- package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
- package/dist/components/app/price-tag/PriceTag.d.ts +3 -5
- package/dist/components/app/price-tag/PriceTag.js +1 -2
- package/dist/components/app/price-tag/PriceTag.js.map +1 -1
- package/dist/components/app/product-card-catalog/styled.cjs +1 -1
- package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
- package/dist/components/app/product-card-catalog/styled.d.ts +1 -1
- package/dist/components/app/product-card-catalog/styled.js +2 -3
- package/dist/components/app/product-card-catalog/styled.js.map +1 -1
- package/dist/components/avatar/styled.cjs +1 -1
- package/dist/components/avatar/styled.cjs.map +1 -1
- package/dist/components/avatar/styled.d.ts +6 -10
- package/dist/components/avatar/styled.js +2 -3
- package/dist/components/avatar/styled.js.map +1 -1
- package/dist/components/box/Box.cjs +1 -1
- package/dist/components/box/Box.cjs.map +1 -1
- package/dist/components/box/Box.d.ts +1 -1
- package/dist/components/box/Box.js +3 -4
- package/dist/components/box/Box.js.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +1 -2
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/button/Button.cjs.map +1 -1
- package/dist/components/button/Button.js +1 -2
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
- package/dist/components/button-filter/ButtonFilter.d.ts +5 -6
- package/dist/components/button-filter/ButtonFilter.js +1 -2
- package/dist/components/button-filter/ButtonFilter.js.map +1 -1
- package/dist/components/chat/Chat.cjs +1 -1
- package/dist/components/chat/Chat.cjs.map +1 -1
- package/dist/components/chat/Chat.d.ts +6 -10
- package/dist/components/chat/Chat.js +2 -3
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.cjs +1 -1
- package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
- package/dist/components/chat/ChatDocumentMessage.js +3 -4
- package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
- package/dist/components/chat/ChatMessage.cjs.map +1 -1
- package/dist/components/chat/ChatMessage.d.ts +5 -8
- package/dist/components/chat/ChatMessage.js +1 -2
- package/dist/components/chat/ChatMessage.js.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
- package/dist/components/chat/ChatProfileAvatar.js +1 -2
- package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
- package/dist/components/chat/ChatScoreBreakdown.cjs.map +1 -1
- package/dist/components/chat/ChatScoreBreakdown.d.ts +1 -1
- package/dist/components/chat/ChatScoreBreakdown.js +1 -2
- package/dist/components/chat/ChatScoreBreakdown.js.map +1 -1
- package/dist/components/chat/ChatTextInput.cjs.map +1 -1
- package/dist/components/chat/ChatTextInput.js +1 -2
- package/dist/components/chat/ChatTextInput.js.map +1 -1
- package/dist/components/checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/checkbox/Checkbox.js +1 -2
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
- package/dist/components/checkbox-card/CheckboxCard.js +1 -2
- package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
- package/dist/components/checkbox-card/namespace.cjs +1 -1
- package/dist/components/checkbox-card/namespace.cjs.map +1 -1
- package/dist/components/checkbox-card/namespace.js +2 -3
- package/dist/components/checkbox-card/namespace.js.map +1 -1
- package/dist/components/chip/Chip.cjs.map +1 -1
- package/dist/components/chip/Chip.d.ts +2 -2
- package/dist/components/chip/Chip.js +1 -2
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/collapsible/styled.cjs +1 -1
- package/dist/components/collapsible/styled.cjs.map +1 -1
- package/dist/components/collapsible/styled.d.ts +1 -1
- package/dist/components/collapsible/styled.js +2 -3
- package/dist/components/collapsible/styled.js.map +1 -1
- package/dist/components/combobox/Combobox.cjs +1 -1
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +4 -3
- package/dist/components/combobox/Combobox.js +66 -64
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/date-picker/DatePicker.cjs.map +1 -1
- package/dist/components/date-picker/DatePicker.js +1 -2
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/dialog/styled.cjs +1 -1
- package/dist/components/dialog/styled.cjs.map +1 -1
- package/dist/components/dialog/styled.d.ts +2 -2
- package/dist/components/dialog/styled.js +2 -3
- package/dist/components/dialog/styled.js.map +1 -1
- package/dist/components/drawer/Drawer.cjs.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +2 -2
- package/dist/components/drawer/Drawer.js +1 -2
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/flag/styled.cjs.map +1 -1
- package/dist/components/flag/styled.d.ts +211 -213
- package/dist/components/flag/styled.js +1 -2
- package/dist/components/flag/styled.js.map +1 -1
- package/dist/components/form/FormControl.cjs +1 -1
- package/dist/components/form/FormControl.cjs.map +1 -1
- package/dist/components/form/FormControl.js +11 -7
- package/dist/components/form/FormControl.js.map +1 -1
- package/dist/components/form/FormHelperText.cjs.map +1 -1
- package/dist/components/form/FormHelperText.js +1 -2
- package/dist/components/form/FormHelperText.js.map +1 -1
- package/dist/components/form/FormLabel.cjs.map +1 -1
- package/dist/components/form/FormLabel.js +1 -2
- package/dist/components/form/FormLabel.js.map +1 -1
- package/dist/components/heading/Heading.cjs +1 -1
- package/dist/components/heading/Heading.cjs.map +1 -1
- package/dist/components/heading/Heading.d.ts +1 -1
- package/dist/components/heading/Heading.js +3 -4
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.cjs.map +1 -1
- package/dist/components/icon/Icon.js +1 -2
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/icon-button/IconButton.cjs.map +1 -1
- package/dist/components/icon-button/IconButton.js +1 -2
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/illustration/Illustration.cjs.map +1 -1
- package/dist/components/illustration/Illustration.js +1 -2
- package/dist/components/illustration/Illustration.js.map +1 -1
- package/dist/components/illustration/patterns.cjs.map +1 -1
- package/dist/components/illustration/patterns.js +1 -2
- package/dist/components/illustration/patterns.js.map +1 -1
- package/dist/components/input/HighlightedInput.cjs.map +1 -1
- package/dist/components/input/HighlightedInput.d.ts +4 -4
- package/dist/components/input/HighlightedInput.js +1 -2
- package/dist/components/input/HighlightedInput.js.map +1 -1
- package/dist/components/input/Input.cjs.map +1 -1
- package/dist/components/input/Input.js +1 -2
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input/InputAddon.cjs.map +1 -1
- package/dist/components/input/InputAddon.d.ts +5 -6
- package/dist/components/input/InputAddon.js +1 -2
- package/dist/components/input/InputAddon.js.map +1 -1
- package/dist/components/input/InputGroup.cjs.map +1 -1
- package/dist/components/input/InputGroup.js +1 -2
- package/dist/components/input/InputGroup.js.map +1 -1
- package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
- package/dist/components/input/PhoneNumberInput.js +1 -2
- package/dist/components/input/PhoneNumberInput.js.map +1 -1
- package/dist/components/menu/Menu.cjs +1 -1
- package/dist/components/menu/Menu.cjs.map +1 -1
- package/dist/components/menu/Menu.d.ts +2 -2
- package/dist/components/menu/Menu.js +2 -3
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/origin-select/OriginSelect.cjs.map +1 -1
- package/dist/components/origin-select/OriginSelect.d.ts +1 -1
- package/dist/components/origin-select/OriginSelect.js +1 -2
- package/dist/components/origin-select/OriginSelect.js.map +1 -1
- package/dist/components/pagination/Pagination.cjs.map +1 -1
- package/dist/components/pagination/Pagination.d.ts +2 -2
- package/dist/components/pagination/Pagination.js +1 -2
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/components/pagination/use-pagination.js +1 -2
- package/dist/components/pagination/use-pagination.js.map +1 -1
- package/dist/components/popover/Popover.cjs.map +1 -1
- package/dist/components/popover/Popover.d.ts +2 -2
- package/dist/components/popover/Popover.js +1 -2
- package/dist/components/popover/Popover.js.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.d.ts +1 -1
- package/dist/components/radio-button-group/RadioButtonGroup.js +1 -2
- package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
- package/dist/components/radio-card-group/RadioCardGroup.d.ts +3 -3
- package/dist/components/radio-card-group/RadioCardGroup.js +1 -2
- package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
- package/dist/components/radio-card-group/namespace.cjs +1 -1
- package/dist/components/radio-card-group/namespace.cjs.map +1 -1
- package/dist/components/radio-card-group/namespace.js +2 -3
- package/dist/components/radio-card-group/namespace.js.map +1 -1
- package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
- package/dist/components/radio-group/RadioGroup.d.ts +1 -1
- package/dist/components/radio-group/RadioGroup.js +1 -2
- package/dist/components/radio-group/RadioGroup.js.map +1 -1
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/select/Select.js +2 -7
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select-language/SelectLanguage.cjs +1 -1
- package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
- package/dist/components/select-language/SelectLanguage.js +45 -43
- package/dist/components/select-language/SelectLanguage.js.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.cjs +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
- package/dist/components/status-tag-select/StatusTagSelect.js +30 -31
- package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
- package/dist/components/steps/Steps.cjs.map +1 -1
- package/dist/components/steps/Steps.d.ts +1 -1
- package/dist/components/steps/Steps.js +1 -2
- package/dist/components/steps/Steps.js.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.d.ts +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +1 -2
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.d.ts +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +53 -54
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js.map +1 -1
- package/dist/components/supplier-rating-badge/labels.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/labels.js +1 -2
- package/dist/components/supplier-rating-badge/labels.js.map +1 -1
- package/dist/components/switch/Switch.cjs.map +1 -1
- package/dist/components/switch/Switch.js +1 -2
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
- package/dist/components/switch-card/SwitchCard.d.ts +4 -3
- package/dist/components/switch-card/SwitchCard.js +1 -2
- package/dist/components/switch-card/SwitchCard.js.map +1 -1
- package/dist/components/switch-card/namespace.cjs +1 -1
- package/dist/components/switch-card/namespace.cjs.map +1 -1
- package/dist/components/switch-card/namespace.js +2 -3
- package/dist/components/switch-card/namespace.js.map +1 -1
- package/dist/components/table/Table.cjs +1 -1
- package/dist/components/table/Table.cjs.map +1 -1
- package/dist/components/table/Table.js +3 -4
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableProvider.cjs.map +1 -1
- package/dist/components/table/TableProvider.js +1 -2
- package/dist/components/table/TableProvider.js.map +1 -1
- package/dist/components/tabs/Tabs.cjs.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +5 -9
- package/dist/components/tabs/Tabs.js +1 -2
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tag/Tag.cjs.map +1 -1
- package/dist/components/tag/Tag.js +1 -2
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/text/Text.cjs +1 -1
- package/dist/components/text/Text.cjs.map +1 -1
- package/dist/components/text/Text.d.ts +1 -1
- package/dist/components/text/Text.js +3 -4
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.cjs.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +5 -6
- package/dist/components/textarea/Textarea.js +1 -2
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +2 -2
- package/dist/components/tooltip/Tooltip.js +1 -2
- package/dist/components/tooltip/Tooltip.js.map +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.cjs.map +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.js +1 -2
- package/dist/components/ui-labels/UiLabelsProvider.js.map +1 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.js +1 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -0
- package/dist/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 → @heroicons}/react/24/outline/esm/ArrowDownTrayIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -0
- package/dist/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 → @heroicons}/react/24/outline/esm/ArrowLeftCircleIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -0
- package/dist/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 → @heroicons}/react/24/outline/esm/ChatBubbleLeftRightIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +2 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +1 -0
- package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/CheckCircleIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -0
- package/dist/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 → @heroicons}/react/24/outline/esm/DocumentTextIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +2 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +1 -0
- package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/XCircleIcon.js +4 -5
- package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +1 -0
- package/dist/node_modules/deepmerge/dist/cjs.cjs +2 -0
- package/dist/node_modules/deepmerge/dist/cjs.cjs.map +1 -0
- package/dist/node_modules/{.pnpm/deepmerge@4.3.1/node_modules/deepmerge → deepmerge}/dist/cjs.js +3 -4
- package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
- package/dist/preset.cjs +1 -1
- package/dist/preset.cjs.map +1 -1
- package/dist/preset.js +7 -6
- package/dist/preset.js.map +1 -1
- package/dist/shared/ConditionalWrapper.cjs.map +1 -1
- package/dist/shared/ConditionalWrapper.js +1 -2
- package/dist/shared/ConditionalWrapper.js.map +1 -1
- package/dist/shared/assets/icons.cjs.map +1 -1
- package/dist/shared/assets/icons.d.ts +2 -2
- package/dist/shared/assets/icons.js +1 -2
- package/dist/shared/assets/icons.js.map +1 -1
- package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
- package/dist/shared/hooks/useUncontrolled.js +1 -2
- package/dist/shared/hooks/useUncontrolled.js.map +1 -1
- package/dist/shared/utils/events.cjs.map +1 -1
- package/dist/shared/utils/events.js +1 -2
- package/dist/shared/utils/events.js.map +1 -1
- package/dist/theme/breakpoints.cjs.map +1 -1
- package/dist/theme/breakpoints.js +1 -2
- package/dist/theme/breakpoints.js.map +1 -1
- package/dist/theme/conditions.cjs.map +1 -1
- package/dist/theme/conditions.js +1 -2
- package/dist/theme/conditions.js.map +1 -1
- package/dist/theme/containers.cjs +1 -1
- package/dist/theme/containers.cjs.map +1 -1
- package/dist/theme/containers.d.ts +1 -1
- package/dist/theme/containers.js +2 -3
- package/dist/theme/containers.js.map +1 -1
- package/dist/theme/globalCss.cjs.map +1 -1
- package/dist/theme/globalCss.d.ts +1 -1
- package/dist/theme/globalCss.js +1 -2
- package/dist/theme/globalCss.js.map +1 -1
- package/dist/theme/keyframes.cjs.map +1 -1
- package/dist/theme/keyframes.d.ts +1 -1
- package/dist/theme/keyframes.js +1 -2
- package/dist/theme/keyframes.js.map +1 -1
- package/dist/theme/recipes/accordion.cjs.map +1 -1
- package/dist/theme/recipes/accordion.d.ts +32 -2
- package/dist/theme/recipes/accordion.js +1 -2
- package/dist/theme/recipes/accordion.js.map +1 -1
- package/dist/theme/recipes/action-card.cjs.map +1 -1
- package/dist/theme/recipes/action-card.d.ts +2 -2
- package/dist/theme/recipes/action-card.js +1 -2
- package/dist/theme/recipes/action-card.js.map +1 -1
- package/dist/theme/recipes/alert.cjs.map +1 -1
- package/dist/theme/recipes/alert.d.ts +30 -2
- package/dist/theme/recipes/alert.js +1 -2
- package/dist/theme/recipes/alert.js.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.d.ts +51 -2
- package/dist/theme/recipes/app/mobile-navigation.js +1 -2
- package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.cjs +1 -1
- package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation-language-select.d.ts +105 -2
- package/dist/theme/recipes/app/navigation-language-select.js +31 -39
- package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
- package/dist/theme/recipes/app/navigation.cjs.map +1 -1
- package/dist/theme/recipes/app/navigation.d.ts +125 -2
- package/dist/theme/recipes/app/navigation.js +1 -2
- package/dist/theme/recipes/app/navigation.js.map +1 -1
- package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
- package/dist/theme/recipes/app/price-tag.d.ts +41 -2
- package/dist/theme/recipes/app/price-tag.js +1 -2
- package/dist/theme/recipes/app/price-tag.js.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
- package/dist/theme/recipes/app/product-card-catalog.d.ts +2 -2
- package/dist/theme/recipes/app/product-card-catalog.js +1 -2
- package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
- package/dist/theme/recipes/avatar-group.cjs.map +1 -1
- package/dist/theme/recipes/avatar-group.d.ts +14 -2
- package/dist/theme/recipes/avatar-group.js +1 -2
- package/dist/theme/recipes/avatar-group.js.map +1 -1
- package/dist/theme/recipes/avatar.cjs.map +1 -1
- package/dist/theme/recipes/avatar.d.ts +53 -2
- package/dist/theme/recipes/avatar.js +1 -2
- package/dist/theme/recipes/avatar.js.map +1 -1
- package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
- package/dist/theme/recipes/breadcrumb.d.ts +2 -2
- package/dist/theme/recipes/breadcrumb.js +1 -2
- package/dist/theme/recipes/breadcrumb.js.map +1 -1
- package/dist/theme/recipes/button-filter.cjs.map +1 -1
- package/dist/theme/recipes/button-filter.d.ts +1 -1
- package/dist/theme/recipes/button-filter.js +1 -2
- package/dist/theme/recipes/button-filter.js.map +1 -1
- package/dist/theme/recipes/button.cjs.map +1 -1
- package/dist/theme/recipes/button.d.ts +93 -2
- package/dist/theme/recipes/button.js +1 -2
- package/dist/theme/recipes/button.js.map +1 -1
- package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-document-message.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-document-message.js +1 -2
- package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-input-text.d.ts +1 -1
- package/dist/theme/recipes/chat/chat-input-text.js +1 -2
- package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
- package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-message.d.ts +28 -2
- package/dist/theme/recipes/chat/chat-message.js +1 -2
- package/dist/theme/recipes/chat/chat-message.js.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat-profile-avatar.d.ts +9 -2
- package/dist/theme/recipes/chat/chat-profile-avatar.js +1 -2
- package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
- package/dist/theme/recipes/chat/chat.cjs.map +1 -1
- package/dist/theme/recipes/chat/chat.d.ts +2 -2
- package/dist/theme/recipes/chat/chat.js +1 -2
- package/dist/theme/recipes/chat/chat.js.map +1 -1
- package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
- package/dist/theme/recipes/checkbox-card.d.ts +1 -1
- package/dist/theme/recipes/checkbox-card.js +1 -2
- package/dist/theme/recipes/checkbox-card.js.map +1 -1
- package/dist/theme/recipes/checkbox-group.cjs.map +1 -1
- package/dist/theme/recipes/checkbox-group.d.ts +1 -1
- package/dist/theme/recipes/checkbox-group.js +1 -2
- package/dist/theme/recipes/checkbox-group.js.map +1 -1
- package/dist/theme/recipes/checkbox.cjs +1 -1
- package/dist/theme/recipes/checkbox.cjs.map +1 -1
- package/dist/theme/recipes/checkbox.d.ts +26 -2
- package/dist/theme/recipes/checkbox.js +7 -8
- package/dist/theme/recipes/checkbox.js.map +1 -1
- package/dist/theme/recipes/chip.cjs.map +1 -1
- package/dist/theme/recipes/chip.d.ts +148 -2
- package/dist/theme/recipes/chip.js +1 -2
- package/dist/theme/recipes/chip.js.map +1 -1
- package/dist/theme/recipes/collapsible.cjs.map +1 -1
- package/dist/theme/recipes/collapsible.d.ts +2 -2
- package/dist/theme/recipes/collapsible.js +1 -2
- package/dist/theme/recipes/collapsible.js.map +1 -1
- package/dist/theme/recipes/combobox.cjs +1 -1
- package/dist/theme/recipes/combobox.cjs.map +1 -1
- package/dist/theme/recipes/combobox.d.ts +33 -2
- package/dist/theme/recipes/combobox.js +6 -6
- package/dist/theme/recipes/combobox.js.map +1 -1
- package/dist/theme/recipes/common/group-card.cjs.map +1 -1
- package/dist/theme/recipes/common/group-card.d.ts +1 -1
- package/dist/theme/recipes/common/group-card.js +1 -2
- package/dist/theme/recipes/common/group-card.js.map +1 -1
- package/dist/theme/recipes/datepicker.cjs +1 -1
- package/dist/theme/recipes/datepicker.cjs.map +1 -1
- package/dist/theme/recipes/datepicker.d.ts +2 -2
- package/dist/theme/recipes/datepicker.js +6 -7
- package/dist/theme/recipes/datepicker.js.map +1 -1
- package/dist/theme/recipes/dialog.cjs.map +1 -1
- package/dist/theme/recipes/dialog.d.ts +2 -2
- package/dist/theme/recipes/dialog.js +1 -2
- package/dist/theme/recipes/dialog.js.map +1 -1
- package/dist/theme/recipes/drawer.cjs.map +1 -1
- package/dist/theme/recipes/drawer.d.ts +31 -2
- package/dist/theme/recipes/drawer.js +4 -4
- package/dist/theme/recipes/drawer.js.map +1 -1
- package/dist/theme/recipes/flag.cjs.map +1 -1
- package/dist/theme/recipes/flag.d.ts +15 -2
- package/dist/theme/recipes/flag.js +1 -2
- package/dist/theme/recipes/flag.js.map +1 -1
- package/dist/theme/recipes/form/control.cjs.map +1 -1
- package/dist/theme/recipes/form/control.d.ts +1 -1
- package/dist/theme/recipes/form/control.js +1 -2
- package/dist/theme/recipes/form/control.js.map +1 -1
- package/dist/theme/recipes/form/helper-text.cjs.map +1 -1
- package/dist/theme/recipes/form/helper-text.d.ts +1 -1
- package/dist/theme/recipes/form/helper-text.js +1 -2
- package/dist/theme/recipes/form/helper-text.js.map +1 -1
- package/dist/theme/recipes/form/label.cjs.map +1 -1
- package/dist/theme/recipes/form/label.d.ts +15 -2
- package/dist/theme/recipes/form/label.js +1 -2
- package/dist/theme/recipes/form/label.js.map +1 -1
- package/dist/theme/recipes/heading.cjs.map +1 -1
- package/dist/theme/recipes/heading.d.ts +33 -2
- package/dist/theme/recipes/heading.js +1 -2
- package/dist/theme/recipes/heading.js.map +1 -1
- package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
- package/dist/theme/recipes/highlightedInput.d.ts +2 -2
- package/dist/theme/recipes/highlightedInput.js +1 -2
- package/dist/theme/recipes/highlightedInput.js.map +1 -1
- package/dist/theme/recipes/icon-button.cjs +1 -1
- package/dist/theme/recipes/icon-button.cjs.map +1 -1
- package/dist/theme/recipes/icon-button.d.ts +1 -1
- package/dist/theme/recipes/icon-button.js +1 -2
- package/dist/theme/recipes/icon-button.js.map +1 -1
- package/dist/theme/recipes/icon.cjs.map +1 -1
- package/dist/theme/recipes/icon.d.ts +25 -2
- package/dist/theme/recipes/icon.js +1 -2
- package/dist/theme/recipes/icon.js.map +1 -1
- package/dist/theme/recipes/illustration.cjs.map +1 -1
- package/dist/theme/recipes/illustration.d.ts +29 -2
- package/dist/theme/recipes/illustration.js +1 -2
- package/dist/theme/recipes/illustration.js.map +1 -1
- package/dist/theme/recipes/index.cjs +1 -1
- package/dist/theme/recipes/index.cjs.map +1 -1
- package/dist/theme/recipes/index.d.ts +1464 -49
- package/dist/theme/recipes/index.js +3 -4
- package/dist/theme/recipes/index.js.map +1 -1
- package/dist/theme/recipes/input-addon.cjs.map +1 -1
- package/dist/theme/recipes/input-addon.d.ts +1 -1
- package/dist/theme/recipes/input-addon.js +1 -2
- package/dist/theme/recipes/input-addon.js.map +1 -1
- package/dist/theme/recipes/input-group.cjs.map +1 -1
- package/dist/theme/recipes/input-group.d.ts +1 -1
- package/dist/theme/recipes/input-group.js +1 -2
- package/dist/theme/recipes/input-group.js.map +1 -1
- package/dist/theme/recipes/input.cjs +1 -1
- package/dist/theme/recipes/input.cjs.map +1 -1
- package/dist/theme/recipes/input.d.ts +9 -2
- package/dist/theme/recipes/input.js +5 -6
- package/dist/theme/recipes/input.js.map +1 -1
- package/dist/theme/recipes/menu.cjs.map +1 -1
- package/dist/theme/recipes/menu.d.ts +20 -2
- package/dist/theme/recipes/menu.js +1 -2
- package/dist/theme/recipes/menu.js.map +1 -1
- package/dist/theme/recipes/pagination.cjs +1 -1
- package/dist/theme/recipes/pagination.cjs.map +1 -1
- package/dist/theme/recipes/pagination.d.ts +2 -2
- package/dist/theme/recipes/pagination.js +3 -4
- package/dist/theme/recipes/pagination.js.map +1 -1
- package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
- package/dist/theme/recipes/phone-number-input.d.ts +9 -2
- package/dist/theme/recipes/phone-number-input.js +1 -2
- package/dist/theme/recipes/phone-number-input.js.map +1 -1
- package/dist/theme/recipes/popover.cjs.map +1 -1
- package/dist/theme/recipes/popover.d.ts +2 -2
- package/dist/theme/recipes/popover.js +1 -2
- package/dist/theme/recipes/popover.js.map +1 -1
- package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-button-group.d.ts +25 -2
- package/dist/theme/recipes/radio-button-group.js +1 -2
- package/dist/theme/recipes/radio-button-group.js.map +1 -1
- package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-card-group.d.ts +36 -2
- package/dist/theme/recipes/radio-card-group.js +1 -2
- package/dist/theme/recipes/radio-card-group.js.map +1 -1
- package/dist/theme/recipes/radio-group.cjs.map +1 -1
- package/dist/theme/recipes/radio-group.d.ts +27 -2
- package/dist/theme/recipes/radio-group.js +1 -2
- package/dist/theme/recipes/radio-group.js.map +1 -1
- package/dist/theme/recipes/select-language.cjs.map +1 -1
- package/dist/theme/recipes/select-language.d.ts +15 -2
- package/dist/theme/recipes/select-language.js +1 -2
- package/dist/theme/recipes/select-language.js.map +1 -1
- package/dist/theme/recipes/select.cjs +1 -1
- package/dist/theme/recipes/select.cjs.map +1 -1
- package/dist/theme/recipes/select.d.ts +30 -2
- package/dist/theme/recipes/select.js +3 -18
- package/dist/theme/recipes/select.js.map +1 -1
- package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
- package/dist/theme/recipes/status-tag-select.d.ts +125 -2
- package/dist/theme/recipes/status-tag-select.js +1 -2
- package/dist/theme/recipes/status-tag-select.js.map +1 -1
- package/dist/theme/recipes/steps.cjs.map +1 -1
- package/dist/theme/recipes/steps.d.ts +2 -2
- package/dist/theme/recipes/steps.js +1 -2
- package/dist/theme/recipes/steps.js.map +1 -1
- package/dist/theme/recipes/switch-card.cjs.map +1 -1
- package/dist/theme/recipes/switch-card.d.ts +1 -1
- package/dist/theme/recipes/switch-card.js +1 -2
- package/dist/theme/recipes/switch-card.js.map +1 -1
- package/dist/theme/recipes/switch.cjs.map +1 -1
- package/dist/theme/recipes/switch.d.ts +22 -2
- package/dist/theme/recipes/switch.js +1 -2
- package/dist/theme/recipes/switch.js.map +1 -1
- package/dist/theme/recipes/table-container.cjs.map +1 -1
- package/dist/theme/recipes/table-container.d.ts +1 -1
- package/dist/theme/recipes/table-container.js +1 -2
- package/dist/theme/recipes/table-container.js.map +1 -1
- package/dist/theme/recipes/table-empty-row.cjs.map +1 -1
- package/dist/theme/recipes/table-empty-row.d.ts +1 -1
- package/dist/theme/recipes/table-empty-row.js +1 -2
- package/dist/theme/recipes/table-empty-row.js.map +1 -1
- package/dist/theme/recipes/table-group-title.cjs.map +1 -1
- package/dist/theme/recipes/table-group-title.d.ts +15 -2
- package/dist/theme/recipes/table-group-title.js +1 -2
- package/dist/theme/recipes/table-group-title.js.map +1 -1
- package/dist/theme/recipes/table.cjs.map +1 -1
- package/dist/theme/recipes/table.d.ts +2 -2
- package/dist/theme/recipes/table.js +1 -2
- package/dist/theme/recipes/table.js.map +1 -1
- package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
- package/dist/theme/recipes/tabs-chip.d.ts +29 -2
- package/dist/theme/recipes/tabs-chip.js +1 -2
- package/dist/theme/recipes/tabs-chip.js.map +1 -1
- package/dist/theme/recipes/tabs.cjs.map +1 -1
- package/dist/theme/recipes/tabs.d.ts +49 -2
- package/dist/theme/recipes/tabs.js +1 -2
- package/dist/theme/recipes/tabs.js.map +1 -1
- package/dist/theme/recipes/tag.cjs.map +1 -1
- package/dist/theme/recipes/tag.d.ts +109 -2
- package/dist/theme/recipes/tag.js +1 -2
- package/dist/theme/recipes/tag.js.map +1 -1
- package/dist/theme/recipes/text.cjs.map +1 -1
- package/dist/theme/recipes/text.d.ts +29 -2
- package/dist/theme/recipes/text.js +1 -2
- package/dist/theme/recipes/text.js.map +1 -1
- package/dist/theme/recipes/textarea.cjs.map +1 -1
- package/dist/theme/recipes/textarea.d.ts +1 -1
- package/dist/theme/recipes/textarea.js +1 -2
- package/dist/theme/recipes/textarea.js.map +1 -1
- package/dist/theme/recipes/tooltip.cjs.map +1 -1
- package/dist/theme/recipes/tooltip.d.ts +2 -2
- package/dist/theme/recipes/tooltip.js +1 -2
- package/dist/theme/recipes/tooltip.js.map +1 -1
- package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
- package/dist/theme/semantic-tokens/colors.js +1 -2
- package/dist/theme/semantic-tokens/colors.js.map +1 -1
- package/dist/theme/semantic-tokens/gradients.cjs.map +1 -1
- package/dist/theme/semantic-tokens/gradients.js +1 -2
- package/dist/theme/semantic-tokens/gradients.js.map +1 -1
- package/dist/theme/semantic-tokens/index.cjs.map +1 -1
- package/dist/theme/semantic-tokens/index.js +1 -2
- package/dist/theme/semantic-tokens/index.js.map +1 -1
- package/dist/theme/text-styles.cjs.map +1 -1
- package/dist/theme/text-styles.d.ts +1 -1
- package/dist/theme/text-styles.js +1 -2
- package/dist/theme/text-styles.js.map +1 -1
- package/dist/theme/tokens/animations.cjs.map +1 -1
- package/dist/theme/tokens/animations.js +1 -2
- package/dist/theme/tokens/animations.js.map +1 -1
- package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
- package/dist/theme/tokens/aspect-ratios.js +1 -2
- package/dist/theme/tokens/aspect-ratios.js.map +1 -1
- package/dist/theme/tokens/blurs.cjs.map +1 -1
- package/dist/theme/tokens/blurs.js +1 -2
- package/dist/theme/tokens/blurs.js.map +1 -1
- package/dist/theme/tokens/borders.cjs.map +1 -1
- package/dist/theme/tokens/borders.js +1 -2
- package/dist/theme/tokens/borders.js.map +1 -1
- package/dist/theme/tokens/colors.cjs.map +1 -1
- package/dist/theme/tokens/colors.js +1 -2
- package/dist/theme/tokens/colors.js.map +1 -1
- package/dist/theme/tokens/durations.cjs.map +1 -1
- package/dist/theme/tokens/durations.js +1 -2
- package/dist/theme/tokens/durations.js.map +1 -1
- package/dist/theme/tokens/easings.cjs.map +1 -1
- package/dist/theme/tokens/easings.js +1 -2
- package/dist/theme/tokens/easings.js.map +1 -1
- package/dist/theme/tokens/index.cjs.map +1 -1
- package/dist/theme/tokens/index.js +1 -2
- package/dist/theme/tokens/index.js.map +1 -1
- package/dist/theme/tokens/radii.cjs.map +1 -1
- package/dist/theme/tokens/radii.js +1 -2
- package/dist/theme/tokens/radii.js.map +1 -1
- package/dist/theme/tokens/shadows.cjs.map +1 -1
- package/dist/theme/tokens/shadows.js +1 -2
- package/dist/theme/tokens/shadows.js.map +1 -1
- package/dist/theme/tokens/sizes.cjs.map +1 -1
- package/dist/theme/tokens/sizes.js +1 -2
- package/dist/theme/tokens/sizes.js.map +1 -1
- package/dist/theme/tokens/spacing.cjs.map +1 -1
- package/dist/theme/tokens/spacing.js +1 -2
- package/dist/theme/tokens/spacing.js.map +1 -1
- package/dist/theme/tokens/typography.cjs.map +1 -1
- package/dist/theme/tokens/typography.js +1 -2
- package/dist/theme/tokens/typography.js.map +1 -1
- package/dist/theme/tokens/z-index.cjs.map +1 -1
- package/dist/theme/tokens/z-index.js +1 -2
- package/dist/theme/tokens/z-index.js.map +1 -1
- package/dist/theme/utilities.cjs.map +1 -1
- package/dist/theme/utilities.js +0 -1
- package/dist/theme/utilities.js.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/slots.cjs +1 -1
- package/dist/utils/slots.cjs.map +1 -1
- package/dist/utils/slots.js +3 -4
- package/dist/utils/slots.js.map +1 -1
- package/package.json +14 -15
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +0 -2
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +0 -1
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs +0 -2
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs.map +0 -1
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";let e=require("@ark-ui/react");var t=(0,require("@pandacss/dev").defineSlotRecipe)({base:{control:{fontFamily:`satoshi`,position:`relative`,'&:has(> [data-part="trigger"][hidden])':{'& > [data-part="clear-trigger"]':{right:`space-16!`}},_disabled:{cursor:`not-allowed`},'&[data-multiple="true"]':{display:`flex`,alignItems:`center`,flexWrap:`wrap`,gap:`space-4`,minHeight:`40px`,paddingTop:`space-8`,paddingBottom:`space-4`,paddingLeft:`space-8`,paddingRight:`space-48`,border:`1px solid {colors.grey.100}`,borderRadius:`radius-8`,cursor:`text`,transitionProperty:`border-color`,transitionDuration:`normal`,_focusWithin:{borderColor:`primary.500`}},'&[data-multiple="true"][data-open]':{borderColor:`primary.500`,borderBottomColor:`grey.100`,borderBottomLeftRadius:`radius-0`,borderBottomRightRadius:`radius-0`}},content:{fontFamily:`satoshi`,background:`background`,borderWidth:1,borderColor:`primary.500`,borderStyle:`solid`,borderTopStyle:`none`,borderBottomLeftRadius:`radius-8`,borderBottomRightRadius:`radius-8`,display:`flex`,flexDirection:`column`,outline:0,zIndex:`modal`,maxHeight:`180px`,overflow:`auto`},clearTrigger:{position:`absolute`,cursor:`pointer`,right:`space-48`,top:`10px`,color:`secondary.900`,_disabled:{color:`grey.300`,pointerEvents:`none`}},trigger:{position:`absolute`,cursor:`pointer`,right:`space-16`,top:`9px`,color:{base:`secondary.900`,_disabled:`grey.300`},_disabled:{_focus:{border:`none`},pointerEvents:`none`,userSelect:`none`,cursor:`not-allowed`}},item:{_disabled:{cursor:`not-allowed`},alignItems:`center`,background:{_disabled:{_hover:`grey.100!`,_selected:`grey.50!`,_checked:`grey.50
|
|
1
|
+
"use client";let e=require("@ark-ui/react");var t=(0,require("@pandacss/dev").defineSlotRecipe)({base:{control:{fontFamily:`satoshi`,position:`relative`,'&:has(> [data-part="trigger"][hidden])':{'& > [data-part="clear-trigger"]':{right:`space-16!`}},_disabled:{cursor:`not-allowed`},'&[data-multiple="true"]':{display:`flex`,alignItems:`center`,flexWrap:`wrap`,gap:`space-4`,minHeight:`40px`,paddingTop:`space-8`,paddingBottom:`space-4`,paddingLeft:`space-8`,paddingRight:`space-48`,border:`1px solid {colors.grey.100}`,borderRadius:`radius-8`,cursor:`text`,_disabled:{cursor:`not-allowed`},transitionProperty:`border-color`,transitionDuration:`normal`,_focusWithin:{borderColor:`primary.500`}},'&[data-multiple="true"][data-open]':{borderColor:`primary.500`,borderBottomColor:`grey.100`,borderBottomLeftRadius:`radius-0`,borderBottomRightRadius:`radius-0`}},content:{fontFamily:`satoshi`,background:`background`,borderWidth:1,borderColor:`primary.500`,borderStyle:`solid`,borderTopStyle:`none`,borderBottomLeftRadius:`radius-8`,borderBottomRightRadius:`radius-8`,display:`flex`,flexDirection:`column`,outline:0,zIndex:`modal`,maxHeight:`180px`,overflow:`auto`},clearTrigger:{position:`absolute`,cursor:`pointer`,right:`space-48`,top:`10px`,color:`secondary.900`,_disabled:{color:`grey.300`,pointerEvents:`none`}},trigger:{position:`absolute`,cursor:`pointer`,right:`space-16`,top:`9px`,color:{base:`secondary.900`,_disabled:`grey.300`},_disabled:{_focus:{border:`none`},pointerEvents:`none`,userSelect:`none`,cursor:`not-allowed`}},item:{_disabled:{cursor:`not-allowed`},alignItems:`center`,background:{_disabled:{base:`grey.100!`,_hover:`grey.100!`,_selected:`grey.50!`,_checked:`grey.50!`},_selected:`primary.500`,_checked:`primary.500`,_highlighted:`primary.200`,_hover:`primary.200`,base:`background`},color:{_disabled:{base:`grey.300!`,_hover:`grey.300!`,_selected:`grey.300!`,_checked:`grey.300!`},_selected:`white`,_checked:`white`},cursor:`pointer`,display:`flex`,gap:`space-4`,transitionDuration:`fast`,transitionProperty:`background, color`,transitionTimingFunction:`default`,"& p":{color:`inherit!`}},itemGroupLabel:{textStyle:`body.sm`},root:{display:`flex`,flexDirection:`column`,gap:`space-4`,width:`full`,_disabled:{cursor:`not-allowed`}},input:{_disabled:{pointerEvents:`none`},_placeholderShown:{color:{base:`grey.400`,_disabled:`grey.300`}},_open:{border:`1px solid {colors.primary.500}`,_open:{borderBottomLeftRadius:`radius-0!`,borderBottomRightRadius:`radius-0!`}},alignItems:`center`,borderBottomColor:{_open:`grey.100`},paddingRight:{base:`space-60!`,'&[value]:not([value=""])':`90px!`},position:`relative`,'&[data-multiple="true"]':{border:`none!`,background:`transparent`,minHeight:`auto!`,height:`auto`,width:`auto!`,minWidth:`90px`,flex:`1 1 90px`,paddingBlock:`space-2!`,paddingLeft:`space-0!`,paddingRight:`space-0!`,_open:{border:`none!`}}}},className:`combobox`,defaultVariants:{size:`md`},jsx:[`Combobox`],slots:e.comboboxAnatomy.keys(),variants:{hideClearTrigger:{true:{input:{paddingRight:{base:`space-60!`,'&[value]:not([value=""])':`space-60!`}},clearTrigger:{display:`none`}}},size:{md:{item:{px:`space-16`,py:`space-8`,textStyle:`body.md`},input:{gap:`space-8`,minH:`40px`,minW:`size-16`,py:`space-8`,px:`space-16`,textStyle:`body.md`}}}}});exports.comboboxRecipe=t;
|
|
2
2
|
//# sourceMappingURL=combobox.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.cjs","names":[],"sources":["../../../src/theme/recipes/combobox.ts"],"sourcesContent":["import { comboboxAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const comboboxRecipe = defineSlotRecipe({\n base: {\n control: {\n fontFamily: 'satoshi',\n position: 'relative',\n '&:has(> [data-part=\"trigger\"][hidden])': {\n '& > [data-part=\"clear-trigger\"]': {\n right: 'space-16!',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n },\n // Tags-input layout (multiple mode): the control becomes the bordered box\n // holding the selected chips + a borderless input. Styled via a self\n // attribute (`&[data-multiple]`) — panda drops ancestor-combinator nested\n // selectors from slot recipes, but keeps `&`-first ones. Ships via the\n // recipe (inline css() does not reach consumer apps).\n '&[data-multiple=\"true\"]': {\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n gap: 'space-4',\n minHeight: '40px',\n // Extra top padding clears the FormControl's floating label (absolute,\n // top:-8, white bg) so the first wrapped chip row isn't covered by it —\n // the single-line input's `py` does the same. Bottom stays tight.\n paddingTop: 'space-8',\n paddingBottom: 'space-4',\n paddingLeft: 'space-8',\n paddingRight: 'space-48',\n border: '1px solid {colors.grey.100}',\n borderRadius: 'radius-8',\n cursor: 'text',\n transitionProperty: 'border-color',\n transitionDuration: 'normal',\n _focusWithin: { borderColor: 'primary.500' },\n },\n // Flatten the bottom edge while the dropdown is open so it merges cleanly.\n '&[data-multiple=\"true\"][data-open]': {\n borderColor: 'primary.500',\n borderBottomColor: 'grey.100',\n borderBottomLeftRadius: 'radius-0',\n borderBottomRightRadius: 'radius-0',\n },\n },\n content: {\n fontFamily: 'satoshi',\n background: 'background',\n borderWidth: 1,\n borderColor: 'primary.500',\n borderStyle: 'solid',\n borderTopStyle: 'none',\n borderBottomLeftRadius: 'radius-8',\n borderBottomRightRadius: 'radius-8',\n display: 'flex',\n flexDirection: 'column',\n outline: 0,\n zIndex: 'modal',\n maxHeight: '180px',\n overflow: 'auto',\n },\n clearTrigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-48',\n top: '10px',\n color: 'secondary.900',\n _disabled: {\n color: 'grey.300',\n pointerEvents: 'none',\n },\n },\n trigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-16',\n top: '9px',\n color: {\n base: 'secondary.900',\n _disabled: 'grey.300',\n },\n _disabled: {\n _focus: {\n border: 'none',\n },\n pointerEvents: 'none',\n userSelect: 'none',\n cursor: 'not-allowed',\n },\n },\n item: {\n _disabled: {\n cursor: 'not-allowed',\n },\n alignItems: 'center',\n background: {\n _disabled: {\n
|
|
1
|
+
{"version":3,"file":"combobox.cjs","names":["defineSlotRecipe","comboboxAnatomy","_ark_ui_react","comboboxRecipe"],"sources":["../../../src/theme/recipes/combobox.ts"],"sourcesContent":["import { comboboxAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const comboboxRecipe = defineSlotRecipe({\n base: {\n control: {\n fontFamily: 'satoshi',\n position: 'relative',\n '&:has(> [data-part=\"trigger\"][hidden])': {\n '& > [data-part=\"clear-trigger\"]': {\n right: 'space-16!',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n },\n // Tags-input layout (multiple mode): the control becomes the bordered box\n // holding the selected chips + a borderless input. Styled via a self\n // attribute (`&[data-multiple]`) — panda drops ancestor-combinator nested\n // selectors from slot recipes, but keeps `&`-first ones. Ships via the\n // recipe (inline css() does not reach consumer apps).\n '&[data-multiple=\"true\"]': {\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n gap: 'space-4',\n minHeight: '40px',\n // Extra top padding clears the FormControl's floating label (absolute,\n // top:-8, white bg) so the first wrapped chip row isn't covered by it —\n // the single-line input's `py` does the same. Bottom stays tight.\n paddingTop: 'space-8',\n paddingBottom: 'space-4',\n paddingLeft: 'space-8',\n paddingRight: 'space-48',\n border: '1px solid {colors.grey.100}',\n borderRadius: 'radius-8',\n cursor: 'text',\n // Panda 2 writes the control's `_disabled` cursor before this rule (same specificity): repeat it.\n _disabled: { cursor: 'not-allowed' },\n transitionProperty: 'border-color',\n transitionDuration: 'normal',\n _focusWithin: { borderColor: 'primary.500' },\n },\n // Flatten the bottom edge while the dropdown is open so it merges cleanly.\n '&[data-multiple=\"true\"][data-open]': {\n borderColor: 'primary.500',\n borderBottomColor: 'grey.100',\n borderBottomLeftRadius: 'radius-0',\n borderBottomRightRadius: 'radius-0',\n },\n },\n content: {\n fontFamily: 'satoshi',\n background: 'background',\n borderWidth: 1,\n borderColor: 'primary.500',\n borderStyle: 'solid',\n borderTopStyle: 'none',\n borderBottomLeftRadius: 'radius-8',\n borderBottomRightRadius: 'radius-8',\n display: 'flex',\n flexDirection: 'column',\n outline: 0,\n zIndex: 'modal',\n maxHeight: '180px',\n overflow: 'auto',\n },\n clearTrigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-48',\n top: '10px',\n color: 'secondary.900',\n _disabled: {\n color: 'grey.300',\n pointerEvents: 'none',\n },\n },\n trigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-16',\n top: '9px',\n color: {\n base: 'secondary.900',\n _disabled: 'grey.300',\n },\n _disabled: {\n _focus: {\n border: 'none',\n },\n pointerEvents: 'none',\n userSelect: 'none',\n cursor: 'not-allowed',\n },\n },\n item: {\n _disabled: {\n cursor: 'not-allowed',\n },\n alignItems: 'center',\n background: {\n // `base` first: Panda 2 writes nested conditions in this order, and a later `base` won\n // over `_checked` on a disabled checked item.\n _disabled: {\n base: 'grey.100!',\n _hover: 'grey.100!',\n _selected: 'grey.50!',\n _checked: 'grey.50!',\n },\n _selected: 'primary.500',\n _checked: 'primary.500',\n _highlighted: 'primary.200',\n _hover: 'primary.200',\n base: 'background',\n },\n color: {\n _disabled: {\n base: 'grey.300!',\n _hover: 'grey.300!',\n _selected: 'grey.300!',\n _checked: 'grey.300!',\n },\n _selected: 'white',\n _checked: 'white',\n },\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-4',\n transitionDuration: 'fast',\n transitionProperty: 'background, color',\n transitionTimingFunction: 'default',\n '& p': {\n color: 'inherit!',\n },\n },\n itemGroupLabel: {\n textStyle: 'body.sm',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: 'space-4',\n width: 'full',\n _disabled: {\n cursor: 'not-allowed',\n },\n },\n input: {\n _disabled: {\n pointerEvents: 'none',\n },\n _placeholderShown: {\n color: {\n base: 'grey.400',\n _disabled: 'grey.300',\n },\n },\n _open: {\n border: '1px solid {colors.primary.500}',\n _open: {\n borderBottomLeftRadius: 'radius-0!',\n borderBottomRightRadius: 'radius-0!',\n },\n },\n alignItems: 'center',\n borderBottomColor: {\n _open: 'grey.100',\n },\n paddingRight: {\n base: 'space-60!',\n '&[value]:not([value=\"\"])': '90px!',\n },\n position: 'relative',\n // In tags-input (multiple) mode the input sits inline inside the control\n // box, so it must be borderless, auto-width and flush (! beats the base\n // important paddingRight and the _open border). Self-attribute selector so\n // panda keeps it (see the control slot note above).\n '&[data-multiple=\"true\"]': {\n border: 'none!',\n background: 'transparent',\n minHeight: 'auto!',\n height: 'auto',\n width: 'auto!',\n minWidth: '90px',\n flex: '1 1 90px',\n paddingBlock: 'space-2!',\n paddingLeft: 'space-0!',\n paddingRight: 'space-0!',\n _open: { border: 'none!' },\n },\n },\n },\n className: 'combobox',\n defaultVariants: {\n size: 'md',\n },\n jsx: ['Combobox'],\n slots: comboboxAnatomy.keys(),\n variants: {\n hideClearTrigger: {\n true: {\n input: {\n paddingRight: {\n base: 'space-60!',\n '&[value]:not([value=\"\"])': 'space-60!',\n },\n },\n clearTrigger: {\n display: 'none',\n },\n },\n },\n size: {\n md: {\n item: { px: 'space-16', py: 'space-8', textStyle: 'body.md' },\n input: {\n gap: 'space-8',\n minH: '40px',\n minW: 'size-16',\n py: 'space-8',\n px: 'space-16',\n textStyle: 'body.md',\n },\n },\n },\n },\n})\n"],"mappings":"A,4CAGA,IAAaG,GAAA,E,uBAAiBH,CAAAA,CAAAA,iBAAAA,CAAiB,CAC7C,KAAM,CACJ,QAAS,CACP,WAAY,UACZ,SAAU,WACV,yCAA0C,CACxC,kCAAmC,CACjC,MAAO,WACT,CACF,EACA,UAAW,CACT,OAAQ,aACV,EAMA,0BAA2B,CACzB,QAAS,OACT,WAAY,SACZ,SAAU,OACV,IAAK,UACL,UAAW,OAIX,WAAY,UACZ,cAAe,UACf,YAAa,UACb,aAAc,WACd,OAAQ,8BACR,aAAc,WACd,OAAQ,OAER,UAAW,CAAE,OAAQ,aAAc,EACnC,mBAAoB,eACpB,mBAAoB,SACpB,aAAc,CAAE,YAAa,aAAc,CAC7C,EAEA,qCAAsC,CACpC,YAAa,cACb,kBAAmB,WACnB,uBAAwB,WACxB,wBAAyB,UAC3B,CACF,EACA,QAAS,CACP,WAAY,UACZ,WAAY,aACZ,YAAa,EACb,YAAa,cACb,YAAa,QACb,eAAgB,OAChB,uBAAwB,WACxB,wBAAyB,WACzB,QAAS,OACT,cAAe,SACf,QAAS,EACT,OAAQ,QACR,UAAW,QACX,SAAU,MACZ,EACA,aAAc,CACZ,SAAU,WACV,OAAQ,UACR,MAAO,WACP,IAAK,OACL,MAAO,gBACP,UAAW,CACT,MAAO,WACP,cAAe,MACjB,CACF,EACA,QAAS,CACP,SAAU,WACV,OAAQ,UACR,MAAO,WACP,IAAK,MACL,MAAO,CACL,KAAM,gBACN,UAAW,UACb,EACA,UAAW,CACT,OAAQ,CACN,OAAQ,MACV,EACA,cAAe,OACf,WAAY,OACZ,OAAQ,aACV,CACF,EACA,KAAM,CACJ,UAAW,CACT,OAAQ,aACV,EACA,WAAY,SACZ,WAAY,CAGV,UAAW,CACT,KAAM,YACN,OAAQ,YACR,UAAW,WACX,SAAU,UACZ,EACA,UAAW,cACX,SAAU,cACV,aAAc,cACd,OAAQ,cACR,KAAM,YACR,EACA,MAAO,CACL,UAAW,CACT,KAAM,YACN,OAAQ,YACR,UAAW,YACX,SAAU,WACZ,EACA,UAAW,QACX,SAAU,OACZ,EACA,OAAQ,UACR,QAAS,OACT,IAAK,UACL,mBAAoB,OACpB,mBAAoB,oBACpB,yBAA0B,UAC1B,MAAO,CACL,MAAO,UACT,CACF,EACA,eAAgB,CACd,UAAW,SACb,EACA,KAAM,CACJ,QAAS,OACT,cAAe,SACf,IAAK,UACL,MAAO,OACP,UAAW,CACT,OAAQ,aACV,CACF,EACA,MAAO,CACL,UAAW,CACT,cAAe,MACjB,EACA,kBAAmB,CACjB,MAAO,CACL,KAAM,WACN,UAAW,UACb,CACF,EACA,MAAO,CACL,OAAQ,iCACR,MAAO,CACL,uBAAwB,YACxB,wBAAyB,WAC3B,CACF,EACA,WAAY,SACZ,kBAAmB,CACjB,MAAO,UACT,EACA,aAAc,CACZ,KAAM,YACN,2BAA4B,OAC9B,EACA,SAAU,WAKV,0BAA2B,CACzB,OAAQ,QACR,WAAY,cACZ,UAAW,QACX,OAAQ,OACR,MAAO,QACP,SAAU,OACV,KAAM,WACN,aAAc,WACd,YAAa,WACb,aAAc,WACd,MAAO,CAAE,OAAQ,OAAQ,CAC3B,CACF,CACF,EACA,UAAW,WACX,gBAAiB,CACf,KAAM,IACR,EACA,IAAK,CAAC,UAAU,EAChB,MAAOC,EAAAA,gBAAgB,KAAK,EAC5B,SAAU,CACR,iBAAkB,CAChB,KAAM,CACJ,MAAO,CACL,aAAc,CACZ,KAAM,YACN,2BAA4B,WAC9B,CACF,EACA,aAAc,CACZ,QAAS,MACX,CACF,CACF,EACA,KAAM,CACJ,GAAI,CACF,KAAM,CAAE,GAAI,WAAY,GAAI,UAAW,UAAW,SAAU,EAC5D,MAAO,CACL,IAAK,UACL,KAAM,OACN,KAAM,UACN,GAAI,UACJ,GAAI,WACJ,UAAW,SACb,CACF,CACF,CACF,CACF,CAAC,E"}
|
|
@@ -1,2 +1,33 @@
|
|
|
1
|
-
import { SlotRecipeConfig } from '@pandacss/
|
|
2
|
-
export declare const comboboxRecipe: SlotRecipeConfig
|
|
1
|
+
import { SlotRecipeConfig } from '@pandacss/types';
|
|
2
|
+
export declare const comboboxRecipe: SlotRecipeConfig<"input" | "label" | "list" | "content" | "root" | "item" | "itemIndicator" | "control" | "trigger" | "positioner" | "clearTrigger" | "itemText" | "itemGroup" | "itemGroupLabel" | "empty", {
|
|
3
|
+
hideClearTrigger: {
|
|
4
|
+
true: {
|
|
5
|
+
input: {
|
|
6
|
+
paddingRight: {
|
|
7
|
+
base: "space-60!";
|
|
8
|
+
'&[value]:not([value=""])': "space-60!";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
clearTrigger: {
|
|
12
|
+
display: "none";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
md: {
|
|
18
|
+
item: {
|
|
19
|
+
px: string;
|
|
20
|
+
py: string;
|
|
21
|
+
textStyle: string;
|
|
22
|
+
};
|
|
23
|
+
input: {
|
|
24
|
+
gap: "space-8";
|
|
25
|
+
minH: string;
|
|
26
|
+
minW: string;
|
|
27
|
+
py: string;
|
|
28
|
+
px: string;
|
|
29
|
+
textStyle: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { comboboxAnatomy as e } from "@ark-ui/react";
|
|
3
3
|
import { defineSlotRecipe as t } from "@pandacss/dev";
|
|
4
|
-
|
|
4
|
+
// src/theme/recipes/combobox.ts
|
|
5
5
|
var n = t({
|
|
6
6
|
base: {
|
|
7
7
|
control: {
|
|
@@ -22,6 +22,7 @@ var n = t({
|
|
|
22
22
|
border: "1px solid {colors.grey.100}",
|
|
23
23
|
borderRadius: "radius-8",
|
|
24
24
|
cursor: "text",
|
|
25
|
+
_disabled: { cursor: "not-allowed" },
|
|
25
26
|
transitionProperty: "border-color",
|
|
26
27
|
transitionDuration: "normal",
|
|
27
28
|
_focusWithin: { borderColor: "primary.500" }
|
|
@@ -81,10 +82,10 @@ var n = t({
|
|
|
81
82
|
alignItems: "center",
|
|
82
83
|
background: {
|
|
83
84
|
_disabled: {
|
|
85
|
+
base: "grey.100!",
|
|
84
86
|
_hover: "grey.100!",
|
|
85
87
|
_selected: "grey.50!",
|
|
86
|
-
_checked: "grey.50!"
|
|
87
|
-
base: "grey.100!"
|
|
88
|
+
_checked: "grey.50!"
|
|
88
89
|
},
|
|
89
90
|
_selected: "primary.500",
|
|
90
91
|
_checked: "primary.500",
|
|
@@ -94,10 +95,10 @@ var n = t({
|
|
|
94
95
|
},
|
|
95
96
|
color: {
|
|
96
97
|
_disabled: {
|
|
98
|
+
base: "grey.300!",
|
|
97
99
|
_hover: "grey.300!",
|
|
98
100
|
_selected: "grey.300!",
|
|
99
|
-
_checked: "grey.300!"
|
|
100
|
-
base: "grey.300!"
|
|
101
|
+
_checked: "grey.300!"
|
|
101
102
|
},
|
|
102
103
|
_selected: "white",
|
|
103
104
|
_checked: "white"
|
|
@@ -182,7 +183,6 @@ var n = t({
|
|
|
182
183
|
} }
|
|
183
184
|
}
|
|
184
185
|
});
|
|
185
|
-
//#endregion
|
|
186
186
|
export { n as comboboxRecipe };
|
|
187
187
|
|
|
188
188
|
//# sourceMappingURL=combobox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.js","names":[],"sources":["../../../src/theme/recipes/combobox.ts"],"sourcesContent":["import { comboboxAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const comboboxRecipe = defineSlotRecipe({\n base: {\n control: {\n fontFamily: 'satoshi',\n position: 'relative',\n '&:has(> [data-part=\"trigger\"][hidden])': {\n '& > [data-part=\"clear-trigger\"]': {\n right: 'space-16!',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n },\n // Tags-input layout (multiple mode): the control becomes the bordered box\n // holding the selected chips + a borderless input. Styled via a self\n // attribute (`&[data-multiple]`) — panda drops ancestor-combinator nested\n // selectors from slot recipes, but keeps `&`-first ones. Ships via the\n // recipe (inline css() does not reach consumer apps).\n '&[data-multiple=\"true\"]': {\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n gap: 'space-4',\n minHeight: '40px',\n // Extra top padding clears the FormControl's floating label (absolute,\n // top:-8, white bg) so the first wrapped chip row isn't covered by it —\n // the single-line input's `py` does the same. Bottom stays tight.\n paddingTop: 'space-8',\n paddingBottom: 'space-4',\n paddingLeft: 'space-8',\n paddingRight: 'space-48',\n border: '1px solid {colors.grey.100}',\n borderRadius: 'radius-8',\n cursor: 'text',\n transitionProperty: 'border-color',\n transitionDuration: 'normal',\n _focusWithin: { borderColor: 'primary.500' },\n },\n // Flatten the bottom edge while the dropdown is open so it merges cleanly.\n '&[data-multiple=\"true\"][data-open]': {\n borderColor: 'primary.500',\n borderBottomColor: 'grey.100',\n borderBottomLeftRadius: 'radius-0',\n borderBottomRightRadius: 'radius-0',\n },\n },\n content: {\n fontFamily: 'satoshi',\n background: 'background',\n borderWidth: 1,\n borderColor: 'primary.500',\n borderStyle: 'solid',\n borderTopStyle: 'none',\n borderBottomLeftRadius: 'radius-8',\n borderBottomRightRadius: 'radius-8',\n display: 'flex',\n flexDirection: 'column',\n outline: 0,\n zIndex: 'modal',\n maxHeight: '180px',\n overflow: 'auto',\n },\n clearTrigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-48',\n top: '10px',\n color: 'secondary.900',\n _disabled: {\n color: 'grey.300',\n pointerEvents: 'none',\n },\n },\n trigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-16',\n top: '9px',\n color: {\n base: 'secondary.900',\n _disabled: 'grey.300',\n },\n _disabled: {\n _focus: {\n border: 'none',\n },\n pointerEvents: 'none',\n userSelect: 'none',\n cursor: 'not-allowed',\n },\n },\n item: {\n _disabled: {\n cursor: 'not-allowed',\n },\n alignItems: 'center',\n background: {\n _disabled: {\n
|
|
1
|
+
{"version":3,"file":"combobox.js","names":["comboboxRecipe","defineSlotRecipe","comboboxAnatomy"],"sources":["../../../src/theme/recipes/combobox.ts"],"sourcesContent":["import { comboboxAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const comboboxRecipe = defineSlotRecipe({\n base: {\n control: {\n fontFamily: 'satoshi',\n position: 'relative',\n '&:has(> [data-part=\"trigger\"][hidden])': {\n '& > [data-part=\"clear-trigger\"]': {\n right: 'space-16!',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n },\n // Tags-input layout (multiple mode): the control becomes the bordered box\n // holding the selected chips + a borderless input. Styled via a self\n // attribute (`&[data-multiple]`) — panda drops ancestor-combinator nested\n // selectors from slot recipes, but keeps `&`-first ones. Ships via the\n // recipe (inline css() does not reach consumer apps).\n '&[data-multiple=\"true\"]': {\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n gap: 'space-4',\n minHeight: '40px',\n // Extra top padding clears the FormControl's floating label (absolute,\n // top:-8, white bg) so the first wrapped chip row isn't covered by it —\n // the single-line input's `py` does the same. Bottom stays tight.\n paddingTop: 'space-8',\n paddingBottom: 'space-4',\n paddingLeft: 'space-8',\n paddingRight: 'space-48',\n border: '1px solid {colors.grey.100}',\n borderRadius: 'radius-8',\n cursor: 'text',\n // Panda 2 writes the control's `_disabled` cursor before this rule (same specificity): repeat it.\n _disabled: { cursor: 'not-allowed' },\n transitionProperty: 'border-color',\n transitionDuration: 'normal',\n _focusWithin: { borderColor: 'primary.500' },\n },\n // Flatten the bottom edge while the dropdown is open so it merges cleanly.\n '&[data-multiple=\"true\"][data-open]': {\n borderColor: 'primary.500',\n borderBottomColor: 'grey.100',\n borderBottomLeftRadius: 'radius-0',\n borderBottomRightRadius: 'radius-0',\n },\n },\n content: {\n fontFamily: 'satoshi',\n background: 'background',\n borderWidth: 1,\n borderColor: 'primary.500',\n borderStyle: 'solid',\n borderTopStyle: 'none',\n borderBottomLeftRadius: 'radius-8',\n borderBottomRightRadius: 'radius-8',\n display: 'flex',\n flexDirection: 'column',\n outline: 0,\n zIndex: 'modal',\n maxHeight: '180px',\n overflow: 'auto',\n },\n clearTrigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-48',\n top: '10px',\n color: 'secondary.900',\n _disabled: {\n color: 'grey.300',\n pointerEvents: 'none',\n },\n },\n trigger: {\n position: 'absolute',\n cursor: 'pointer',\n right: 'space-16',\n top: '9px',\n color: {\n base: 'secondary.900',\n _disabled: 'grey.300',\n },\n _disabled: {\n _focus: {\n border: 'none',\n },\n pointerEvents: 'none',\n userSelect: 'none',\n cursor: 'not-allowed',\n },\n },\n item: {\n _disabled: {\n cursor: 'not-allowed',\n },\n alignItems: 'center',\n background: {\n // `base` first: Panda 2 writes nested conditions in this order, and a later `base` won\n // over `_checked` on a disabled checked item.\n _disabled: {\n base: 'grey.100!',\n _hover: 'grey.100!',\n _selected: 'grey.50!',\n _checked: 'grey.50!',\n },\n _selected: 'primary.500',\n _checked: 'primary.500',\n _highlighted: 'primary.200',\n _hover: 'primary.200',\n base: 'background',\n },\n color: {\n _disabled: {\n base: 'grey.300!',\n _hover: 'grey.300!',\n _selected: 'grey.300!',\n _checked: 'grey.300!',\n },\n _selected: 'white',\n _checked: 'white',\n },\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-4',\n transitionDuration: 'fast',\n transitionProperty: 'background, color',\n transitionTimingFunction: 'default',\n '& p': {\n color: 'inherit!',\n },\n },\n itemGroupLabel: {\n textStyle: 'body.sm',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: 'space-4',\n width: 'full',\n _disabled: {\n cursor: 'not-allowed',\n },\n },\n input: {\n _disabled: {\n pointerEvents: 'none',\n },\n _placeholderShown: {\n color: {\n base: 'grey.400',\n _disabled: 'grey.300',\n },\n },\n _open: {\n border: '1px solid {colors.primary.500}',\n _open: {\n borderBottomLeftRadius: 'radius-0!',\n borderBottomRightRadius: 'radius-0!',\n },\n },\n alignItems: 'center',\n borderBottomColor: {\n _open: 'grey.100',\n },\n paddingRight: {\n base: 'space-60!',\n '&[value]:not([value=\"\"])': '90px!',\n },\n position: 'relative',\n // In tags-input (multiple) mode the input sits inline inside the control\n // box, so it must be borderless, auto-width and flush (! beats the base\n // important paddingRight and the _open border). Self-attribute selector so\n // panda keeps it (see the control slot note above).\n '&[data-multiple=\"true\"]': {\n border: 'none!',\n background: 'transparent',\n minHeight: 'auto!',\n height: 'auto',\n width: 'auto!',\n minWidth: '90px',\n flex: '1 1 90px',\n paddingBlock: 'space-2!',\n paddingLeft: 'space-0!',\n paddingRight: 'space-0!',\n _open: { border: 'none!' },\n },\n },\n },\n className: 'combobox',\n defaultVariants: {\n size: 'md',\n },\n jsx: ['Combobox'],\n slots: comboboxAnatomy.keys(),\n variants: {\n hideClearTrigger: {\n true: {\n input: {\n paddingRight: {\n base: 'space-60!',\n '&[value]:not([value=\"\"])': 'space-60!',\n },\n },\n clearTrigger: {\n display: 'none',\n },\n },\n },\n size: {\n md: {\n item: { px: 'space-16', py: 'space-8', textStyle: 'body.md' },\n input: {\n gap: 'space-8',\n minH: '40px',\n minW: 'size-16',\n py: 'space-8',\n px: 'space-16',\n textStyle: 'body.md',\n },\n },\n },\n },\n})\n"],"mappings":";;;;AAGA,IAAaA,IAAiBC,EAAiB;CAC7C,MAAM;EACJ,SAAS;GACP,YAAY;GACZ,UAAU;GACV,4CAA0C,EACxC,qCAAmC,EACjC,OAAO,YACT,EACF;GACA,WAAW,EACT,QAAQ,cACV;GAMA,6BAA2B;IACzB,SAAS;IACT,YAAY;IACZ,UAAU;IACV,KAAK;IACL,WAAW;IAIX,YAAY;IACZ,eAAe;IACf,aAAa;IACb,cAAc;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IAER,WAAW,EAAE,QAAQ,cAAc;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,cAAc,EAAE,aAAa,cAAc;GAC7C;GAEA,wCAAsC;IACpC,aAAa;IACb,mBAAmB;IACnB,wBAAwB;IACxB,yBAAyB;GAC3B;EACF;EACA,SAAS;GACP,YAAY;GACZ,YAAY;GACZ,aAAa;GACb,aAAa;GACb,aAAa;GACb,gBAAgB;GAChB,wBAAwB;GACxB,yBAAyB;GACzB,SAAS;GACT,eAAe;GACf,SAAS;GACT,QAAQ;GACR,WAAW;GACX,UAAU;EACZ;EACA,cAAc;GACZ,UAAU;GACV,QAAQ;GACR,OAAO;GACP,KAAK;GACL,OAAO;GACP,WAAW;IACT,OAAO;IACP,eAAe;GACjB;EACF;EACA,SAAS;GACP,UAAU;GACV,QAAQ;GACR,OAAO;GACP,KAAK;GACL,OAAO;IACL,MAAM;IACN,WAAW;GACb;GACA,WAAW;IACT,QAAQ,EACN,QAAQ,OACV;IACA,eAAe;IACf,YAAY;IACZ,QAAQ;GACV;EACF;EACA,MAAM;GACJ,WAAW,EACT,QAAQ,cACV;GACA,YAAY;GACZ,YAAY;IAGV,WAAW;KACT,MAAM;KACN,QAAQ;KACR,WAAW;KACX,UAAU;IACZ;IACA,WAAW;IACX,UAAU;IACV,cAAc;IACd,QAAQ;IACR,MAAM;GACR;GACA,OAAO;IACL,WAAW;KACT,MAAM;KACN,QAAQ;KACR,WAAW;KACX,UAAU;IACZ;IACA,WAAW;IACX,UAAU;GACZ;GACA,QAAQ;GACR,SAAS;GACT,KAAK;GACL,oBAAoB;GACpB,oBAAoB;GACpB,0BAA0B;GAC1B,OAAO,EACL,OAAO,WACT;EACF;EACA,gBAAgB,EACd,WAAW,UACb;EACA,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACL,OAAO;GACP,WAAW,EACT,QAAQ,cACV;EACF;EACA,OAAO;GACL,WAAW,EACT,eAAe,OACjB;GACA,mBAAmB,EACjB,OAAO;IACL,MAAM;IACN,WAAW;GACb,EACF;GACA,OAAO;IACL,QAAQ;IACR,OAAO;KACL,wBAAwB;KACxB,yBAAyB;IAC3B;GACF;GACA,YAAY;GACZ,mBAAmB,EACjB,OAAO,WACT;GACA,cAAc;IACZ,MAAM;IACN,8BAA4B;GAC9B;GACA,UAAU;GAKV,6BAA2B;IACzB,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,QAAQ;IACR,OAAO;IACP,UAAU;IACV,MAAM;IACN,cAAc;IACd,aAAa;IACb,cAAc;IACd,OAAO,EAAE,QAAQ,QAAQ;GAC3B;EACF;CACF;CACA,WAAW;CACX,iBAAiB,EACf,MAAM,KACR;CACA,KAAK,CAAC,UAAU;CAChB,OAAOC,EAAgB,KAAK;CAC5B,UAAU;EACR,kBAAkB,EAChB,MAAM;GACJ,OAAO,EACL,cAAc;IACZ,MAAM;IACN,8BAA4B;GAC9B,EACF;GACA,cAAc,EACZ,SAAS,OACX;EACF,EACF;EACA,MAAM,EACJ,IAAI;GACF,MAAM;IAAE,IAAI;IAAY,IAAI;IAAW,WAAW;GAAU;GAC5D,OAAO;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,WAAW;GACb;EACF,EACF;CACF;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-card.cjs","names":[],"sources":["../../../../src/theme/recipes/common/group-card.ts"],"sourcesContent":["import { type SystemStyleObject } from '@stokelp/styled-system/types'\n\nexport const groupCard = {\n root: {\n fontFamily: 'satoshi',\n WebkitTapHighlightColor: 'transparent',\n _disabled: {\n '& [data-recipe-slot=\"title\"],[data-recipe-slot=\"itemTitle\"]': {\n color: 'grey.400',\n },\n '& [data-recipe-slot=\"description\"],[data-recipe-slot=\"itemDescription\"]': {\n color: 'grey.200',\n },\n '& [data-recipe-slot=\"image\"],[data-recipe-slot=\"itemImage\"]': {\n filter: 'grayscale(1)',\n },\n userSelect: 'none',\n pointerEvents: 'none',\n },\n alignItems: 'center',\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-12',\n borderRadius: 'radius-8',\n border: '1px solid',\n transitionProperty: 'border-color, box-shadow',\n boxShadow: {\n _hover: '0px 4px 8px 0px {colors.secondary.500/20}',\n },\n bg: {\n base: 'white',\n _disabled: 'grey.50',\n },\n transitionDuration: 'normal',\n borderColor: {\n base: 'primary.100',\n _hover: 'primary.500',\n _checked: 'primary.500',\n _disabled: 'grey.100',\n },\n },\n content: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n image: {\n borderRadius: 'radius-4',\n },\n title: {\n color: 'text.heading',\n fontWeight: 'bold',\n },\n description: {\n color: 'text',\n },\n} satisfies Record<string, SystemStyleObject>\n\nexport const groupCardVariants = {\n size: {\n md: {\n root: {\n px: 'space-16',\n py: 'space-12',\n },\n title: {\n textStyle: 'body.md',\n },\n image: {\n objectFit: 'cover',\n height: 'size-32',\n width: 'size-32',\n },\n description: {\n textStyle: 'body.sm',\n },\n },\n },\n} satisfies Record<'size', Record<'md', Record<string, SystemStyleObject>>>\n"],"mappings":"aAEA,
|
|
1
|
+
{"version":3,"file":"group-card.cjs","names":["groupCard","groupCardVariants"],"sources":["../../../../src/theme/recipes/common/group-card.ts"],"sourcesContent":["import { type SystemStyleObject } from '@stokelp/styled-system/types'\n\nexport const groupCard = {\n root: {\n fontFamily: 'satoshi',\n WebkitTapHighlightColor: 'transparent',\n _disabled: {\n '& [data-recipe-slot=\"title\"],[data-recipe-slot=\"itemTitle\"]': {\n color: 'grey.400',\n },\n '& [data-recipe-slot=\"description\"],[data-recipe-slot=\"itemDescription\"]': {\n color: 'grey.200',\n },\n '& [data-recipe-slot=\"image\"],[data-recipe-slot=\"itemImage\"]': {\n filter: 'grayscale(1)',\n },\n userSelect: 'none',\n pointerEvents: 'none',\n },\n alignItems: 'center',\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-12',\n borderRadius: 'radius-8',\n border: '1px solid',\n transitionProperty: 'border-color, box-shadow',\n boxShadow: {\n _hover: '0px 4px 8px 0px {colors.secondary.500/20}',\n },\n bg: {\n base: 'white',\n _disabled: 'grey.50',\n },\n transitionDuration: 'normal',\n borderColor: {\n base: 'primary.100',\n _hover: 'primary.500',\n _checked: 'primary.500',\n _disabled: 'grey.100',\n },\n },\n content: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n image: {\n borderRadius: 'radius-4',\n },\n title: {\n color: 'text.heading',\n fontWeight: 'bold',\n },\n description: {\n color: 'text',\n },\n} satisfies Record<string, SystemStyleObject>\n\nexport const groupCardVariants = {\n size: {\n md: {\n root: {\n px: 'space-16',\n py: 'space-12',\n },\n title: {\n textStyle: 'body.md',\n },\n image: {\n objectFit: 'cover',\n height: 'size-32',\n width: 'size-32',\n },\n description: {\n textStyle: 'body.sm',\n },\n },\n },\n} satisfies Record<'size', Record<'md', Record<string, SystemStyleObject>>>\n"],"mappings":"A,aAEA,IAAaA,EAAY,CACvB,KAAM,CACJ,WAAY,UACZ,wBAAyB,cACzB,UAAW,CACT,8DAA+D,CAC7D,MAAO,UACT,EACA,0EAA2E,CACzE,MAAO,UACT,EACA,8DAA+D,CAC7D,OAAQ,cACV,EACA,WAAY,OACZ,cAAe,MACjB,EACA,WAAY,SACZ,OAAQ,UACR,QAAS,OACT,IAAK,WACL,aAAc,WACd,OAAQ,YACR,mBAAoB,2BACpB,UAAW,CACT,OAAQ,2CACV,EACA,GAAI,CACF,KAAM,QACN,UAAW,SACb,EACA,mBAAoB,SACpB,YAAa,CACX,KAAM,cACN,OAAQ,cACR,SAAU,cACV,UAAW,UACb,CACF,EACA,QAAS,CACP,KAAM,EACN,QAAS,OACT,cAAe,QACjB,EACA,MAAO,CACL,aAAc,UAChB,EACA,MAAO,CACL,MAAO,eACP,WAAY,MACd,EACA,YAAa,CACX,MAAO,MACT,CACF,EAEaC,EAAoB,CAC/B,KAAM,CACJ,GAAI,CACF,KAAM,CACJ,GAAI,WACJ,GAAI,UACN,EACA,MAAO,CACL,UAAW,SACb,EACA,MAAO,CACL,UAAW,QACX,OAAQ,UACR,MAAO,SACT,EACA,YAAa,CACX,UAAW,SACb,CACF,CACF,CACF,E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
// src/theme/recipes/common/group-card.ts
|
|
3
3
|
var e = {
|
|
4
4
|
root: {
|
|
5
5
|
fontFamily: "satoshi",
|
|
@@ -55,7 +55,6 @@ var e = {
|
|
|
55
55
|
},
|
|
56
56
|
description: { textStyle: "body.sm" }
|
|
57
57
|
} } };
|
|
58
|
-
//#endregion
|
|
59
58
|
export { e as groupCard, t as groupCardVariants };
|
|
60
59
|
|
|
61
60
|
//# sourceMappingURL=group-card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-card.js","names":[],"sources":["../../../../src/theme/recipes/common/group-card.ts"],"sourcesContent":["import { type SystemStyleObject } from '@stokelp/styled-system/types'\n\nexport const groupCard = {\n root: {\n fontFamily: 'satoshi',\n WebkitTapHighlightColor: 'transparent',\n _disabled: {\n '& [data-recipe-slot=\"title\"],[data-recipe-slot=\"itemTitle\"]': {\n color: 'grey.400',\n },\n '& [data-recipe-slot=\"description\"],[data-recipe-slot=\"itemDescription\"]': {\n color: 'grey.200',\n },\n '& [data-recipe-slot=\"image\"],[data-recipe-slot=\"itemImage\"]': {\n filter: 'grayscale(1)',\n },\n userSelect: 'none',\n pointerEvents: 'none',\n },\n alignItems: 'center',\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-12',\n borderRadius: 'radius-8',\n border: '1px solid',\n transitionProperty: 'border-color, box-shadow',\n boxShadow: {\n _hover: '0px 4px 8px 0px {colors.secondary.500/20}',\n },\n bg: {\n base: 'white',\n _disabled: 'grey.50',\n },\n transitionDuration: 'normal',\n borderColor: {\n base: 'primary.100',\n _hover: 'primary.500',\n _checked: 'primary.500',\n _disabled: 'grey.100',\n },\n },\n content: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n image: {\n borderRadius: 'radius-4',\n },\n title: {\n color: 'text.heading',\n fontWeight: 'bold',\n },\n description: {\n color: 'text',\n },\n} satisfies Record<string, SystemStyleObject>\n\nexport const groupCardVariants = {\n size: {\n md: {\n root: {\n px: 'space-16',\n py: 'space-12',\n },\n title: {\n textStyle: 'body.md',\n },\n image: {\n objectFit: 'cover',\n height: 'size-32',\n width: 'size-32',\n },\n description: {\n textStyle: 'body.sm',\n },\n },\n },\n} satisfies Record<'size', Record<'md', Record<string, SystemStyleObject>>>\n"],"mappings":";;AAEA,
|
|
1
|
+
{"version":3,"file":"group-card.js","names":["groupCard","groupCardVariants"],"sources":["../../../../src/theme/recipes/common/group-card.ts"],"sourcesContent":["import { type SystemStyleObject } from '@stokelp/styled-system/types'\n\nexport const groupCard = {\n root: {\n fontFamily: 'satoshi',\n WebkitTapHighlightColor: 'transparent',\n _disabled: {\n '& [data-recipe-slot=\"title\"],[data-recipe-slot=\"itemTitle\"]': {\n color: 'grey.400',\n },\n '& [data-recipe-slot=\"description\"],[data-recipe-slot=\"itemDescription\"]': {\n color: 'grey.200',\n },\n '& [data-recipe-slot=\"image\"],[data-recipe-slot=\"itemImage\"]': {\n filter: 'grayscale(1)',\n },\n userSelect: 'none',\n pointerEvents: 'none',\n },\n alignItems: 'center',\n cursor: 'pointer',\n display: 'flex',\n gap: 'space-12',\n borderRadius: 'radius-8',\n border: '1px solid',\n transitionProperty: 'border-color, box-shadow',\n boxShadow: {\n _hover: '0px 4px 8px 0px {colors.secondary.500/20}',\n },\n bg: {\n base: 'white',\n _disabled: 'grey.50',\n },\n transitionDuration: 'normal',\n borderColor: {\n base: 'primary.100',\n _hover: 'primary.500',\n _checked: 'primary.500',\n _disabled: 'grey.100',\n },\n },\n content: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n image: {\n borderRadius: 'radius-4',\n },\n title: {\n color: 'text.heading',\n fontWeight: 'bold',\n },\n description: {\n color: 'text',\n },\n} satisfies Record<string, SystemStyleObject>\n\nexport const groupCardVariants = {\n size: {\n md: {\n root: {\n px: 'space-16',\n py: 'space-12',\n },\n title: {\n textStyle: 'body.md',\n },\n image: {\n objectFit: 'cover',\n height: 'size-32',\n width: 'size-32',\n },\n description: {\n textStyle: 'body.sm',\n },\n },\n },\n} satisfies Record<'size', Record<'md', Record<string, SystemStyleObject>>>\n"],"mappings":";;AAEA,IAAaA,IAAY;CACvB,MAAM;EACJ,YAAY;EACZ,yBAAyB;EACzB,WAAW;GACT,mEAA+D,EAC7D,OAAO,WACT;GACA,+EAA2E,EACzE,OAAO,WACT;GACA,mEAA+D,EAC7D,QAAQ,eACV;GACA,YAAY;GACZ,eAAe;EACjB;EACA,YAAY;EACZ,QAAQ;EACR,SAAS;EACT,KAAK;EACL,cAAc;EACd,QAAQ;EACR,oBAAoB;EACpB,WAAW,EACT,QAAQ,4CACV;EACA,IAAI;GACF,MAAM;GACN,WAAW;EACb;EACA,oBAAoB;EACpB,aAAa;GACX,MAAM;GACN,QAAQ;GACR,UAAU;GACV,WAAW;EACb;CACF;CACA,SAAS;EACP,MAAM;EACN,SAAS;EACT,eAAe;CACjB;CACA,OAAO,EACL,cAAc,WAChB;CACA,OAAO;EACL,OAAO;EACP,YAAY;CACd;CACA,aAAa,EACX,OAAO,OACT;AACF,GAEaC,IAAoB,EAC/B,MAAM,EACJ,IAAI;CACF,MAAM;EACJ,IAAI;EACJ,IAAI;CACN;CACA,OAAO,EACL,WAAW,UACb;CACA,OAAO;EACL,WAAW;EACX,QAAQ;EACR,OAAO;CACT;CACA,aAAa,EACX,WAAW,UACb;AACF,EACF,EACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";let e=require("@ark-ui/react"),t=require("@pandacss/dev");var n=`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`,r=(0,t.defineSlotRecipe)({className:`datepicker`,slots:e.datePickerAnatomy.keys(),jsx:[`DatePicker`],base:{clearTrigger:{mr:`space-4`,cursor:`pointer`},root:{display:`flex`,flexDirection:`column`},control:{display:`flex`,flexDirection:`row`,gap:`space-8`,alignItems:`center`},viewControl:{display:`flex`,justifyContent:`space-between`,gap:`space-8`,px:`space-16`,pt:`space-8`,background:`grey.50`},content:{background:`white`,textStyle:`body.md`,fontFamily:`satoshi`,color:`grey.900`,width:`304px`,borderRadius:`radius-8`,boxShadow:`0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)`,inset:0,zIndex:`popover`,_open:{animation:`fadeIn 0.25s ease-out`},_closed:{animation:`fadeOut 0.2s ease-out`}},monthSelect:{backgroundColor:`white`,textTransform:`capitalize`,borderRadius:`radius-8`,border:`1px solid {colors.grey.100}`,bg:`white`,minWidth:`110px`,py:`space-6`,px:`space-4`,appearance:`none`,paddingRight:`30px`,background:`url('${n}') no-repeat right 10px center`,_focus:{border:`1px solid {colors.primary.500}`}},yearSelect:{backgroundColor:`white`,textTransform:`capitalize`,borderRadius:`radius-8`,border:`1px solid {colors.grey.100}`,bg:`white`,minWidth:`80px`,py:`space-6`,px:`space-4`,appearance:`none`,paddingRight:`30px`,background:`url('${n}') no-repeat right 10px center`,_focus:{border:`1px solid {colors.primary.500}`}},prevTrigger:{cursor:`pointer`,"&:hover .default-icon":{display:`none`},"&:hover .hover-icon":{display:`block`},"& .hover-icon":{display:`none`}},table:{width:`100%`},tableHead:{fontStyle:`italic`,background:`grey.50`,fontSize:`10px`,color:`grey.700`,textTransform:`uppercase`,boxShadow:`0px 1px 0px 0px {colors.grey.100}`},tableHeader:{py:`6px`,width:`32px !important`,height:`32px !important`,fontWeight:300,"&:first-child":{paddingLeft:`16px`},"&:last-child":{paddingRight:`16px`}},tableCell:{textAlign:`center`,verticalAlign:`middle`,width:`32px !important`,height:`32px !important`,padding:`2px`,"&:first-child":{paddingLeft:`16px`},"&:last-child":{paddingRight:`16px`}},tableCellTrigger:{width:`32px!`,height:`32px!`,borderRadius:`radius-16`,_disabled:{_hover:{bg:`none!`,color:`grey.400!`},color:`grey.400`,cursor:`not-allowed`,userSelect:`none`},_hover:{bg:`primary.100`,color:`blue.500`},
|
|
1
|
+
"use client";let e=require("@ark-ui/react"),t=require("@pandacss/dev");var n=`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`,r=(0,t.defineSlotRecipe)({className:`datepicker`,slots:e.datePickerAnatomy.keys(),jsx:[`DatePicker`],base:{clearTrigger:{mr:`space-4`,cursor:`pointer`},root:{display:`flex`,flexDirection:`column`},control:{display:`flex`,flexDirection:`row`,gap:`space-8`,alignItems:`center`},viewControl:{display:`flex`,justifyContent:`space-between`,gap:`space-8`,px:`space-16`,pt:`space-8`,background:`grey.50`},content:{background:`white`,textStyle:`body.md`,fontFamily:`satoshi`,color:`grey.900`,width:`304px`,borderRadius:`radius-8`,boxShadow:`0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)`,inset:0,zIndex:`popover`,_open:{animation:`fadeIn 0.25s ease-out`},_closed:{animation:`fadeOut 0.2s ease-out`}},monthSelect:{backgroundColor:`white`,textTransform:`capitalize`,borderRadius:`radius-8`,border:`1px solid {colors.grey.100}`,bg:`white`,minWidth:`110px`,py:`space-6`,px:`space-4`,appearance:`none`,paddingRight:`30px`,background:`url('${n}') no-repeat right 10px center`,_focus:{border:`1px solid {colors.primary.500}`}},yearSelect:{backgroundColor:`white`,textTransform:`capitalize`,borderRadius:`radius-8`,border:`1px solid {colors.grey.100}`,bg:`white`,minWidth:`80px`,py:`space-6`,px:`space-4`,appearance:`none`,paddingRight:`30px`,background:`url('${n}') no-repeat right 10px center`,_focus:{border:`1px solid {colors.primary.500}`}},prevTrigger:{cursor:`pointer`,"&:hover .default-icon":{display:`none`},"&:hover .hover-icon":{display:`block`},"& .hover-icon":{display:`none`}},table:{width:`100%`},tableHead:{fontStyle:`italic`,background:`grey.50`,fontSize:`10px`,color:`grey.700`,textTransform:`uppercase`,boxShadow:`0px 1px 0px 0px {colors.grey.100}`},tableHeader:{py:`6px`,width:`32px !important`,height:`32px !important`,fontWeight:300,"&:first-child":{paddingLeft:`16px`},"&:last-child":{paddingRight:`16px`}},tableCell:{textAlign:`center`,verticalAlign:`middle`,width:`32px !important`,height:`32px !important`,padding:`2px`,"&:first-child":{paddingLeft:`16px`},"&:last-child":{paddingRight:`16px`}},tableCellTrigger:{width:`32px!`,height:`32px!`,borderRadius:`radius-16`,_selected:{bg:`primary.500`,color:`white`,fontStyle:`italic`},_disabled:{_hover:{bg:`none!`,color:`grey.400!`},color:`grey.400`,cursor:`not-allowed`,userSelect:`none`},_hover:{bg:`primary.100`,color:`blue.500`},"&[data-in-range]":{bg:`primary.100`,_selected:{bg:`primary.500`,color:`white`,fontStyle:`italic`}},"&[data-today]":{color:`primary.500`,fontWeight:700}},tableRow:{"&:first-child td":{paddingTop:`space-8`},"&:last-child td":{paddingBottom:`space-8`},px:`space-8`,textAlign:`center`}}});exports.datepickerRecipe=r;
|
|
2
2
|
//# sourceMappingURL=datepicker.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.cjs","names":[],"sources":["../../../src/theme/recipes/datepicker.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\nimport { datePickerAnatomy } from '@ark-ui/react'\n\nconst rightIconDataUri = `data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`\n\nexport const datepickerRecipe = defineSlotRecipe({\n className: 'datepicker',\n slots: datePickerAnatomy.keys(),\n jsx: ['DatePicker'],\n base: {\n clearTrigger: {\n mr: 'space-4',\n cursor: 'pointer',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n },\n control: {\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-8',\n alignItems: 'center',\n },\n viewControl: {\n display: 'flex',\n justifyContent: 'space-between',\n gap: 'space-8',\n px: 'space-16',\n pt: 'space-8',\n background: 'grey.50',\n },\n content: {\n background: 'white',\n textStyle: 'body.md',\n fontFamily: 'satoshi',\n color: 'grey.900',\n width: '304px',\n borderRadius: 'radius-8',\n boxShadow: '0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)',\n inset: 0,\n zIndex: 'popover',\n _open: {\n animation: 'fadeIn 0.25s ease-out',\n },\n _closed: {\n animation: 'fadeOut 0.2s ease-out',\n },\n },\n monthSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '110px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n yearSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '80px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n prevTrigger: {\n cursor: 'pointer',\n '&:hover .default-icon': {\n display: 'none',\n },\n '&:hover .hover-icon': {\n display: 'block',\n },\n '& .hover-icon': {\n display: 'none',\n },\n },\n table: {\n width: '100%',\n },\n tableHead: {\n fontStyle: 'italic',\n background: 'grey.50',\n fontSize: '10px',\n color: 'grey.700',\n textTransform: 'uppercase',\n boxShadow: '0px 1px 0px 0px {colors.grey.100}',\n },\n tableHeader: {\n py: '6px',\n width: '32px !important',\n height: '32px !important',\n fontWeight: 300,\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCell: {\n textAlign: 'center',\n verticalAlign: 'middle',\n width: '32px !important',\n height: '32px !important',\n padding: '2px',\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCellTrigger: {\n width: '32px!',\n height: '32px!',\n borderRadius: 'radius-16',\n _disabled: {\n _hover: {\n bg: 'none!',\n color: 'grey.400!',\n },\n color: 'grey.400',\n cursor: 'not-allowed',\n userSelect: 'none',\n },\n _hover: {\n bg: 'primary.100',\n color: 'blue.500',\n },\n
|
|
1
|
+
{"version":3,"file":"datepicker.cjs","names":["defineSlotRecipe","datePickerAnatomy","_ark_ui_react","_pandacss_dev","rightIconDataUri","datepickerRecipe"],"sources":["../../../src/theme/recipes/datepicker.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\nimport { datePickerAnatomy } from '@ark-ui/react'\n\nconst rightIconDataUri = `data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`\n\nexport const datepickerRecipe = defineSlotRecipe({\n className: 'datepicker',\n slots: datePickerAnatomy.keys(),\n jsx: ['DatePicker'],\n base: {\n clearTrigger: {\n mr: 'space-4',\n cursor: 'pointer',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n },\n control: {\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-8',\n alignItems: 'center',\n },\n viewControl: {\n display: 'flex',\n justifyContent: 'space-between',\n gap: 'space-8',\n px: 'space-16',\n pt: 'space-8',\n background: 'grey.50',\n },\n content: {\n background: 'white',\n textStyle: 'body.md',\n fontFamily: 'satoshi',\n color: 'grey.900',\n width: '304px',\n borderRadius: 'radius-8',\n boxShadow: '0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)',\n inset: 0,\n zIndex: 'popover',\n _open: {\n animation: 'fadeIn 0.25s ease-out',\n },\n _closed: {\n animation: 'fadeOut 0.2s ease-out',\n },\n },\n monthSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '110px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n yearSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '80px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n prevTrigger: {\n cursor: 'pointer',\n '&:hover .default-icon': {\n display: 'none',\n },\n '&:hover .hover-icon': {\n display: 'block',\n },\n '& .hover-icon': {\n display: 'none',\n },\n },\n table: {\n width: '100%',\n },\n tableHead: {\n fontStyle: 'italic',\n background: 'grey.50',\n fontSize: '10px',\n color: 'grey.700',\n textTransform: 'uppercase',\n boxShadow: '0px 1px 0px 0px {colors.grey.100}',\n },\n tableHeader: {\n py: '6px',\n width: '32px !important',\n height: '32px !important',\n fontWeight: 300,\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCell: {\n textAlign: 'center',\n verticalAlign: 'middle',\n width: '32px !important',\n height: '32px !important',\n padding: '2px',\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCellTrigger: {\n width: '32px!',\n height: '32px!',\n borderRadius: 'radius-16',\n // Before `_disabled`: Panda 2 writes condition rules in this order, so a disabled selected\n // day keeps the disabled text color, as with Panda 1.\n _selected: {\n bg: 'primary.500',\n color: 'white',\n fontStyle: 'italic',\n },\n _disabled: {\n _hover: {\n bg: 'none!',\n color: 'grey.400!',\n },\n color: 'grey.400',\n cursor: 'not-allowed',\n userSelect: 'none',\n },\n _hover: {\n bg: 'primary.100',\n color: 'blue.500',\n },\n '&[data-in-range]': {\n bg: 'primary.100',\n _selected: {\n bg: 'primary.500',\n color: 'white',\n fontStyle: 'italic',\n },\n },\n '&[data-today]': {\n color: 'primary.500',\n fontWeight: 700,\n },\n },\n tableRow: {\n '&:first-child td': {\n paddingTop: 'space-8',\n },\n '&:last-child td': {\n paddingBottom: 'space-8',\n },\n px: 'space-8',\n textAlign: 'center',\n },\n },\n})\n"],"mappings":"A,uEAGA,IAAMI,EAAmB,ySAEZC,GAAA,EAAmBL,EAAAA,iBAAAA,CAAiB,CAC/C,UAAW,aACX,MAAOC,EAAAA,kBAAkB,KAAK,EAC9B,IAAK,CAAC,YAAY,EAClB,KAAM,CACJ,aAAc,CACZ,GAAI,UACJ,OAAQ,SACV,EACA,KAAM,CACJ,QAAS,OACT,cAAe,QACjB,EACA,QAAS,CACP,QAAS,OACT,cAAe,MACf,IAAK,UACL,WAAY,QACd,EACA,YAAa,CACX,QAAS,OACT,eAAgB,gBAChB,IAAK,UACL,GAAI,WACJ,GAAI,UACJ,WAAY,SACd,EACA,QAAS,CACP,WAAY,QACZ,UAAW,UACX,WAAY,UACZ,MAAO,WACP,MAAO,QACP,aAAc,WACd,UAAW,iFACX,MAAO,EACP,OAAQ,UACR,MAAO,CACL,UAAW,uBACb,EACA,QAAS,CACP,UAAW,uBACb,CACF,EACA,YAAa,CACX,gBAAiB,QACjB,cAAe,aACf,aAAc,WACd,OAAQ,8BACR,GAAI,QACJ,SAAU,QACV,GAAI,UACJ,GAAI,UACJ,WAAY,OACZ,aAAc,OACd,WAAY,QAAQG,EAAiB,gCACrC,OAAQ,CACN,OAAQ,gCACV,CACF,EACA,WAAY,CACV,gBAAiB,QACjB,cAAe,aACf,aAAc,WACd,OAAQ,8BACR,GAAI,QACJ,SAAU,OACV,GAAI,UACJ,GAAI,UACJ,WAAY,OACZ,aAAc,OACd,WAAY,QAAQA,EAAiB,gCACrC,OAAQ,CACN,OAAQ,gCACV,CACF,EACA,YAAa,CACX,OAAQ,UACR,wBAAyB,CACvB,QAAS,MACX,EACA,sBAAuB,CACrB,QAAS,OACX,EACA,gBAAiB,CACf,QAAS,MACX,CACF,EACA,MAAO,CACL,MAAO,MACT,EACA,UAAW,CACT,UAAW,SACX,WAAY,UACZ,SAAU,OACV,MAAO,WACP,cAAe,YACf,UAAW,mCACb,EACA,YAAa,CACX,GAAI,MACJ,MAAO,kBACP,OAAQ,kBACR,WAAY,IACZ,gBAAiB,CACf,YAAa,MACf,EACA,eAAgB,CACd,aAAc,MAChB,CACF,EACA,UAAW,CACT,UAAW,SACX,cAAe,SACf,MAAO,kBACP,OAAQ,kBACR,QAAS,MACT,gBAAiB,CACf,YAAa,MACf,EACA,eAAgB,CACd,aAAc,MAChB,CACF,EACA,iBAAkB,CAChB,MAAO,QACP,OAAQ,QACR,aAAc,YAGd,UAAW,CACT,GAAI,cACJ,MAAO,QACP,UAAW,QACb,EACA,UAAW,CACT,OAAQ,CACN,GAAI,QACJ,MAAO,WACT,EACA,MAAO,WACP,OAAQ,cACR,WAAY,MACd,EACA,OAAQ,CACN,GAAI,cACJ,MAAO,UACT,EACA,mBAAoB,CAClB,GAAI,cACJ,UAAW,CACT,GAAI,cACJ,MAAO,QACP,UAAW,QACb,CACF,EACA,gBAAiB,CACf,MAAO,cACP,WAAY,GACd,CACF,EACA,SAAU,CACR,mBAAoB,CAClB,WAAY,SACd,EACA,kBAAmB,CACjB,cAAe,SACjB,EACA,GAAI,UACJ,UAAW,QACb,CACF,CACF,CAAC,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SlotRecipeConfig } from '@pandacss/
|
|
2
|
-
export declare const datepickerRecipe: SlotRecipeConfig
|
|
1
|
+
import { SlotRecipeConfig, SlotRecipeVariantRecord } from '@pandacss/types';
|
|
2
|
+
export declare const datepickerRecipe: SlotRecipeConfig<"input" | "label" | "table" | "view" | "content" | "root" | "control" | "trigger" | "positioner" | "nextTrigger" | "prevTrigger" | "clearTrigger" | "valueText" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect", SlotRecipeVariantRecord<"input" | "label" | "table" | "view" | "content" | "root" | "control" | "trigger" | "positioner" | "nextTrigger" | "prevTrigger" | "clearTrigger" | "valueText" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { datePickerAnatomy as e } from "@ark-ui/react";
|
|
3
3
|
import { defineSlotRecipe as t } from "@pandacss/dev";
|
|
4
|
-
|
|
4
|
+
// src/theme/recipes/datepicker.ts
|
|
5
5
|
var n = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", r = t({
|
|
6
6
|
className: "datepicker",
|
|
7
7
|
slots: e.keys(),
|
|
@@ -106,6 +106,11 @@ var n = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94P
|
|
|
106
106
|
width: "32px!",
|
|
107
107
|
height: "32px!",
|
|
108
108
|
borderRadius: "radius-16",
|
|
109
|
+
_selected: {
|
|
110
|
+
bg: "primary.500",
|
|
111
|
+
color: "white",
|
|
112
|
+
fontStyle: "italic"
|
|
113
|
+
},
|
|
109
114
|
_disabled: {
|
|
110
115
|
_hover: {
|
|
111
116
|
bg: "none!",
|
|
@@ -119,11 +124,6 @@ var n = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94P
|
|
|
119
124
|
bg: "primary.100",
|
|
120
125
|
color: "blue.500"
|
|
121
126
|
},
|
|
122
|
-
_selected: {
|
|
123
|
-
bg: "primary.500",
|
|
124
|
-
color: "white",
|
|
125
|
-
fontStyle: "italic"
|
|
126
|
-
},
|
|
127
127
|
"&[data-in-range]": {
|
|
128
128
|
bg: "primary.100",
|
|
129
129
|
_selected: {
|
|
@@ -145,7 +145,6 @@ var n = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94P
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
|
-
//#endregion
|
|
149
148
|
export { r as datepickerRecipe };
|
|
150
149
|
|
|
151
150
|
//# sourceMappingURL=datepicker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.js","names":[],"sources":["../../../src/theme/recipes/datepicker.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\nimport { datePickerAnatomy } from '@ark-ui/react'\n\nconst rightIconDataUri = `data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`\n\nexport const datepickerRecipe = defineSlotRecipe({\n className: 'datepicker',\n slots: datePickerAnatomy.keys(),\n jsx: ['DatePicker'],\n base: {\n clearTrigger: {\n mr: 'space-4',\n cursor: 'pointer',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n },\n control: {\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-8',\n alignItems: 'center',\n },\n viewControl: {\n display: 'flex',\n justifyContent: 'space-between',\n gap: 'space-8',\n px: 'space-16',\n pt: 'space-8',\n background: 'grey.50',\n },\n content: {\n background: 'white',\n textStyle: 'body.md',\n fontFamily: 'satoshi',\n color: 'grey.900',\n width: '304px',\n borderRadius: 'radius-8',\n boxShadow: '0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)',\n inset: 0,\n zIndex: 'popover',\n _open: {\n animation: 'fadeIn 0.25s ease-out',\n },\n _closed: {\n animation: 'fadeOut 0.2s ease-out',\n },\n },\n monthSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '110px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n yearSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '80px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n prevTrigger: {\n cursor: 'pointer',\n '&:hover .default-icon': {\n display: 'none',\n },\n '&:hover .hover-icon': {\n display: 'block',\n },\n '& .hover-icon': {\n display: 'none',\n },\n },\n table: {\n width: '100%',\n },\n tableHead: {\n fontStyle: 'italic',\n background: 'grey.50',\n fontSize: '10px',\n color: 'grey.700',\n textTransform: 'uppercase',\n boxShadow: '0px 1px 0px 0px {colors.grey.100}',\n },\n tableHeader: {\n py: '6px',\n width: '32px !important',\n height: '32px !important',\n fontWeight: 300,\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCell: {\n textAlign: 'center',\n verticalAlign: 'middle',\n width: '32px !important',\n height: '32px !important',\n padding: '2px',\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCellTrigger: {\n width: '32px!',\n height: '32px!',\n borderRadius: 'radius-16',\n _disabled: {\n _hover: {\n bg: 'none!',\n color: 'grey.400!',\n },\n color: 'grey.400',\n cursor: 'not-allowed',\n userSelect: 'none',\n },\n _hover: {\n bg: 'primary.100',\n color: 'blue.500',\n },\n
|
|
1
|
+
{"version":3,"file":"datepicker.js","names":["rightIconDataUri","datepickerRecipe","defineSlotRecipe","datePickerAnatomy"],"sources":["../../../src/theme/recipes/datepicker.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\nimport { datePickerAnatomy } from '@ark-ui/react'\n\nconst rightIconDataUri = `data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K`\n\nexport const datepickerRecipe = defineSlotRecipe({\n className: 'datepicker',\n slots: datePickerAnatomy.keys(),\n jsx: ['DatePicker'],\n base: {\n clearTrigger: {\n mr: 'space-4',\n cursor: 'pointer',\n },\n root: {\n display: 'flex',\n flexDirection: 'column',\n },\n control: {\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-8',\n alignItems: 'center',\n },\n viewControl: {\n display: 'flex',\n justifyContent: 'space-between',\n gap: 'space-8',\n px: 'space-16',\n pt: 'space-8',\n background: 'grey.50',\n },\n content: {\n background: 'white',\n textStyle: 'body.md',\n fontFamily: 'satoshi',\n color: 'grey.900',\n width: '304px',\n borderRadius: 'radius-8',\n boxShadow: '0px 4px 20px 0px rgba(45, 42, 49, 0.1), 0px 4px 20px 0px rgba(45, 42, 49, 0.1)',\n inset: 0,\n zIndex: 'popover',\n _open: {\n animation: 'fadeIn 0.25s ease-out',\n },\n _closed: {\n animation: 'fadeOut 0.2s ease-out',\n },\n },\n monthSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '110px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n yearSelect: {\n backgroundColor: 'white',\n textTransform: 'capitalize',\n borderRadius: 'radius-8',\n border: '1px solid {colors.grey.100}',\n bg: 'white',\n minWidth: '80px',\n py: 'space-6',\n px: 'space-4',\n appearance: 'none',\n paddingRight: '30px',\n background: `url('${rightIconDataUri}') no-repeat right 10px center`,\n _focus: {\n border: '1px solid {colors.primary.500}',\n },\n },\n prevTrigger: {\n cursor: 'pointer',\n '&:hover .default-icon': {\n display: 'none',\n },\n '&:hover .hover-icon': {\n display: 'block',\n },\n '& .hover-icon': {\n display: 'none',\n },\n },\n table: {\n width: '100%',\n },\n tableHead: {\n fontStyle: 'italic',\n background: 'grey.50',\n fontSize: '10px',\n color: 'grey.700',\n textTransform: 'uppercase',\n boxShadow: '0px 1px 0px 0px {colors.grey.100}',\n },\n tableHeader: {\n py: '6px',\n width: '32px !important',\n height: '32px !important',\n fontWeight: 300,\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCell: {\n textAlign: 'center',\n verticalAlign: 'middle',\n width: '32px !important',\n height: '32px !important',\n padding: '2px',\n '&:first-child': {\n paddingLeft: '16px',\n },\n '&:last-child': {\n paddingRight: '16px',\n },\n },\n tableCellTrigger: {\n width: '32px!',\n height: '32px!',\n borderRadius: 'radius-16',\n // Before `_disabled`: Panda 2 writes condition rules in this order, so a disabled selected\n // day keeps the disabled text color, as with Panda 1.\n _selected: {\n bg: 'primary.500',\n color: 'white',\n fontStyle: 'italic',\n },\n _disabled: {\n _hover: {\n bg: 'none!',\n color: 'grey.400!',\n },\n color: 'grey.400',\n cursor: 'not-allowed',\n userSelect: 'none',\n },\n _hover: {\n bg: 'primary.100',\n color: 'blue.500',\n },\n '&[data-in-range]': {\n bg: 'primary.100',\n _selected: {\n bg: 'primary.500',\n color: 'white',\n fontStyle: 'italic',\n },\n },\n '&[data-today]': {\n color: 'primary.500',\n fontWeight: 700,\n },\n },\n tableRow: {\n '&:first-child td': {\n paddingTop: 'space-8',\n },\n '&:last-child td': {\n paddingBottom: 'space-8',\n },\n px: 'space-8',\n textAlign: 'center',\n },\n },\n})\n"],"mappings":";;;;AAGA,IAAMA,IAAmB,0SAEZC,IAAmBC,EAAiB;CAC/C,WAAW;CACX,OAAOC,EAAkB,KAAK;CAC9B,KAAK,CAAC,YAAY;CAClB,MAAM;EACJ,cAAc;GACZ,IAAI;GACJ,QAAQ;EACV;EACA,MAAM;GACJ,SAAS;GACT,eAAe;EACjB;EACA,SAAS;GACP,SAAS;GACT,eAAe;GACf,KAAK;GACL,YAAY;EACd;EACA,aAAa;GACX,SAAS;GACT,gBAAgB;GAChB,KAAK;GACL,IAAI;GACJ,IAAI;GACJ,YAAY;EACd;EACA,SAAS;GACP,YAAY;GACZ,WAAW;GACX,YAAY;GACZ,OAAO;GACP,OAAO;GACP,cAAc;GACd,WAAW;GACX,OAAO;GACP,QAAQ;GACR,OAAO,EACL,WAAW,wBACb;GACA,SAAS,EACP,WAAW,wBACb;EACF;EACA,aAAa;GACX,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,QAAQ;GACR,IAAI;GACJ,UAAU;GACV,IAAI;GACJ,IAAI;GACJ,YAAY;GACZ,cAAc;GACd,YAAY,QAAQH,EAAiB;GACrC,QAAQ,EACN,QAAQ,iCACV;EACF;EACA,YAAY;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,QAAQ;GACR,IAAI;GACJ,UAAU;GACV,IAAI;GACJ,IAAI;GACJ,YAAY;GACZ,cAAc;GACd,YAAY,QAAQA,EAAiB;GACrC,QAAQ,EACN,QAAQ,iCACV;EACF;EACA,aAAa;GACX,QAAQ;GACR,yBAAyB,EACvB,SAAS,OACX;GACA,uBAAuB,EACrB,SAAS,QACX;GACA,iBAAiB,EACf,SAAS,OACX;EACF;EACA,OAAO,EACL,OAAO,OACT;EACA,WAAW;GACT,WAAW;GACX,YAAY;GACZ,UAAU;GACV,OAAO;GACP,eAAe;GACf,WAAW;EACb;EACA,aAAa;GACX,IAAI;GACJ,OAAO;GACP,QAAQ;GACR,YAAY;GACZ,iBAAiB,EACf,aAAa,OACf;GACA,gBAAgB,EACd,cAAc,OAChB;EACF;EACA,WAAW;GACT,WAAW;GACX,eAAe;GACf,OAAO;GACP,QAAQ;GACR,SAAS;GACT,iBAAiB,EACf,aAAa,OACf;GACA,gBAAgB,EACd,cAAc,OAChB;EACF;EACA,kBAAkB;GAChB,OAAO;GACP,QAAQ;GACR,cAAc;GAGd,WAAW;IACT,IAAI;IACJ,OAAO;IACP,WAAW;GACb;GACA,WAAW;IACT,QAAQ;KACN,IAAI;KACJ,OAAO;IACT;IACA,OAAO;IACP,QAAQ;IACR,YAAY;GACd;GACA,QAAQ;IACN,IAAI;IACJ,OAAO;GACT;GACA,oBAAoB;IAClB,IAAI;IACJ,WAAW;KACT,IAAI;KACJ,OAAO;KACP,WAAW;IACb;GACF;GACA,iBAAiB;IACf,OAAO;IACP,YAAY;GACd;EACF;EACA,UAAU;GACR,oBAAoB,EAClB,YAAY,UACd;GACA,mBAAmB,EACjB,eAAe,UACjB;GACA,IAAI;GACJ,WAAW;EACb;CACF;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.cjs","names":[],"sources":["../../../src/theme/recipes/dialog.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const dialogRecipe = defineSlotRecipe({\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n position: 'fixed',\n zIndex: 'modal',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n content: {\n '--footer-height': '70px',\n position: 'relative',\n '& [data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]': {\n pt: 'space-40',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]) [data-recipe-slot=\"header\"]': {\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n _closed: {\n animation: 'dialog-out',\n },\n _open: {\n animation: 'dialog-in',\n },\n alignSelf: {\n base: 'flex-end',\n md: 'center',\n },\n fontFamily: 'satoshi',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100%',\n // `clip`, not the default `visible`: a body that overflows the card (a long table, a\n // tall form) otherwise leaks its overflow past content and makes both content and the\n // fixed positioner scrollable. Focusing any control inside — a checkbox's hidden\n // input, say — then lets the browser satisfy its scroll-into-view against those bogus\n // scroll ranges by scrolling the dialog itself out of the viewport, while it stays\n // open with the backdrop up and the body inert, so the page reads as frozen. `clip`\n // creates no scroll container at all, leaving body the only thing that scrolls.\n // Popovers/selects/tooltips inside a dialog are portaled, so nothing needs to paint\n // outside the card.\n overflow: 'clip',\n minW: {\n base: '100%',\n md: '800px',\n },\n maxW: '922px',\n '& > form': {\n display: 'contents',\n },\n '& > :first-child, & > form > :first-child': {\n borderTopLeftRadius: 'radius-16',\n borderTopRightRadius: 'radius-16',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"])': {\n '& [data-recipe-slot=\"body\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"body\"], [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n },\n header: {\n '& [data-part=\"close-trigger\"]': {\n alignSelf: 'flex-start',\n ml: 'auto',\n },\n background: 'background',\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n background: 'background',\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n overflowY: 'auto',\n px: 'space-24',\n pt: 'space-24',\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n },\n footer: {\n background: 'background',\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n gap: 'space-16',\n justifyContent: {\n base: 'stretch',\n md: 'flex-end',\n },\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n inset: 0,\n justifyContent: 'center',\n overflow: 'auto',\n p: {\n base: 'space-8',\n md: 'space-16',\n },\n position: 'fixed',\n zIndex: 'modal',\n },\n title: {\n textStyle: 'heading.h4',\n color: 'primary.900',\n fontFamily: 'cabinet',\n },\n },\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'header', 'body', 'footer'],\n})\n"],"mappings":"4CAGA,
|
|
1
|
+
{"version":3,"file":"dialog.cjs","names":["defineSlotRecipe","dialogAnatomy","_ark_ui_react","dialogRecipe"],"sources":["../../../src/theme/recipes/dialog.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const dialogRecipe = defineSlotRecipe({\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n position: 'fixed',\n zIndex: 'modal',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n content: {\n '--footer-height': '70px',\n position: 'relative',\n '& [data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]': {\n pt: 'space-40',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]) [data-recipe-slot=\"header\"]': {\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n _closed: {\n animation: 'dialog-out',\n },\n _open: {\n animation: 'dialog-in',\n },\n alignSelf: {\n base: 'flex-end',\n md: 'center',\n },\n fontFamily: 'satoshi',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100%',\n // `clip`, not the default `visible`: a body that overflows the card (a long table, a\n // tall form) otherwise leaks its overflow past content and makes both content and the\n // fixed positioner scrollable. Focusing any control inside — a checkbox's hidden\n // input, say — then lets the browser satisfy its scroll-into-view against those bogus\n // scroll ranges by scrolling the dialog itself out of the viewport, while it stays\n // open with the backdrop up and the body inert, so the page reads as frozen. `clip`\n // creates no scroll container at all, leaving body the only thing that scrolls.\n // Popovers/selects/tooltips inside a dialog are portaled, so nothing needs to paint\n // outside the card.\n overflow: 'clip',\n minW: {\n base: '100%',\n md: '800px',\n },\n maxW: '922px',\n '& > form': {\n display: 'contents',\n },\n '& > :first-child, & > form > :first-child': {\n borderTopLeftRadius: 'radius-16',\n borderTopRightRadius: 'radius-16',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"])': {\n '& [data-recipe-slot=\"body\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"body\"], [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n },\n header: {\n '& [data-part=\"close-trigger\"]': {\n alignSelf: 'flex-start',\n ml: 'auto',\n },\n background: 'background',\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n background: 'background',\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n overflowY: 'auto',\n px: 'space-24',\n pt: 'space-24',\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n },\n footer: {\n background: 'background',\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n gap: 'space-16',\n justifyContent: {\n base: 'stretch',\n md: 'flex-end',\n },\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n inset: 0,\n justifyContent: 'center',\n overflow: 'auto',\n p: {\n base: 'space-8',\n md: 'space-16',\n },\n position: 'fixed',\n zIndex: 'modal',\n },\n title: {\n textStyle: 'heading.h4',\n color: 'primary.900',\n fontFamily: 'cabinet',\n },\n },\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'header', 'body', 'footer'],\n})\n"],"mappings":"A,4CAGA,IAAaG,GAAA,E,uBAAeH,CAAAA,CAAAA,iBAAAA,CAAiB,CAC3C,KAAM,CACJ,SAAU,CACR,eAAgB,YAChB,WAAY,iBACZ,SAAU,QACV,OAAQ,QACR,MAAO,EACP,MAAO,CACL,UAAW,aACb,EACA,QAAS,CACP,UAAW,cACb,CACF,EACA,QAAS,CACP,kBAAmB,OACnB,SAAU,WACV,8DAA+D,CAC7D,GAAI,UACN,EACA,+FAAgG,CAC9F,GAAI,+CACJ,uBAAwB,YACxB,wBAAyB,WAC3B,EACA,QAAS,CACP,UAAW,YACb,EACA,MAAO,CACL,UAAW,WACb,EACA,UAAW,CACT,KAAM,WACN,GAAI,QACN,EACA,WAAY,UACZ,QAAS,OACT,cAAe,SACf,UAAW,OAUX,SAAU,OACV,KAAM,CACJ,KAAM,OACN,GAAI,OACN,EACA,KAAM,QACN,WAAY,CACV,QAAS,UACX,EACA,4CAA6C,CAC3C,oBAAqB,YACrB,qBAAsB,WACxB,EACA,mEAAoE,CAClE,gCAAiC,CAC/B,uBAAwB,YACxB,wBAAyB,WAC3B,CACF,EACA,iEAAkE,CAChE,8BAA+B,CAC7B,uBAAwB,YACxB,wBAAyB,WAC3B,CACF,EACA,iEAAkE,CAChE,gCAAiC,CAC/B,uBAAwB,YACxB,wBAAyB,WAC3B,CACF,EACA,+FAAgG,CAC9F,2DAA4D,CAC1D,uBAAwB,YACxB,wBAAyB,WAC3B,CACF,CACF,EACA,OAAQ,CACN,gCAAiC,CAC/B,UAAW,aACX,GAAI,MACN,EACA,WAAY,aACZ,WAAY,SACZ,QAAS,OACT,cAAe,MACf,IAAK,WACL,GAAI,WACJ,GAAI,UACN,EACA,KAAM,CACJ,WAAY,aACZ,QAAS,OACT,KAAM,EACN,cAAe,SACf,UAAW,OACX,GAAI,WACJ,GAAI,WACJ,GAAI,8CACN,EACA,OAAQ,CACN,WAAY,aACZ,SAAU,WACV,OAAQ,EACR,KAAM,EACN,MAAO,EACP,GAAI,WACJ,eAAgB,OAChB,aAAc,MACd,QAAS,OACT,cAAe,CACb,KAAM,iBACN,GAAI,KACN,EACA,IAAK,WACL,eAAgB,CACd,KAAM,UACN,GAAI,UACN,EACA,GAAI,WACJ,GAAI,WACJ,GAAI,WACJ,uBAAwB,YACxB,wBAAyB,WAC3B,EACA,WAAY,CACV,WAAY,SACZ,QAAS,OACT,MAAO,EACP,eAAgB,SAChB,SAAU,OACV,EAAG,CACD,KAAM,UACN,GAAI,UACN,EACA,SAAU,QACV,OAAQ,OACV,EACA,MAAO,CACL,UAAW,aACX,MAAO,cACP,WAAY,SACd,CACF,EACA,UAAW,SACX,MAAO,CAAC,GAAGC,EAAAA,cAAc,KAAK,EAAG,SAAU,OAAQ,QAAQ,CAC7D,CAAC,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SlotRecipeConfig } from '@pandacss/
|
|
2
|
-
export declare const dialogRecipe: SlotRecipeConfig
|
|
1
|
+
import { SlotRecipeConfig, SlotRecipeVariantRecord } from '@pandacss/types';
|
|
2
|
+
export declare const dialogRecipe: SlotRecipeConfig<"body" | "footer" | "header" | "title" | "content" | "description" | "trigger" | "backdrop" | "positioner" | "closeTrigger", SlotRecipeVariantRecord<"body" | "footer" | "header" | "title" | "content" | "description" | "trigger" | "backdrop" | "positioner" | "closeTrigger">>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { dialogAnatomy as e } from "@ark-ui/react";
|
|
3
3
|
import { defineSlotRecipe as t } from "@pandacss/dev";
|
|
4
|
-
|
|
4
|
+
// src/theme/recipes/dialog.ts
|
|
5
5
|
var n = t({
|
|
6
6
|
base: {
|
|
7
7
|
backdrop: {
|
|
@@ -135,7 +135,6 @@ var n = t({
|
|
|
135
135
|
"footer"
|
|
136
136
|
]
|
|
137
137
|
});
|
|
138
|
-
//#endregion
|
|
139
138
|
export { n as dialogRecipe };
|
|
140
139
|
|
|
141
140
|
//# sourceMappingURL=dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","names":[],"sources":["../../../src/theme/recipes/dialog.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const dialogRecipe = defineSlotRecipe({\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n position: 'fixed',\n zIndex: 'modal',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n content: {\n '--footer-height': '70px',\n position: 'relative',\n '& [data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]': {\n pt: 'space-40',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]) [data-recipe-slot=\"header\"]': {\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n _closed: {\n animation: 'dialog-out',\n },\n _open: {\n animation: 'dialog-in',\n },\n alignSelf: {\n base: 'flex-end',\n md: 'center',\n },\n fontFamily: 'satoshi',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100%',\n // `clip`, not the default `visible`: a body that overflows the card (a long table, a\n // tall form) otherwise leaks its overflow past content and makes both content and the\n // fixed positioner scrollable. Focusing any control inside — a checkbox's hidden\n // input, say — then lets the browser satisfy its scroll-into-view against those bogus\n // scroll ranges by scrolling the dialog itself out of the viewport, while it stays\n // open with the backdrop up and the body inert, so the page reads as frozen. `clip`\n // creates no scroll container at all, leaving body the only thing that scrolls.\n // Popovers/selects/tooltips inside a dialog are portaled, so nothing needs to paint\n // outside the card.\n overflow: 'clip',\n minW: {\n base: '100%',\n md: '800px',\n },\n maxW: '922px',\n '& > form': {\n display: 'contents',\n },\n '& > :first-child, & > form > :first-child': {\n borderTopLeftRadius: 'radius-16',\n borderTopRightRadius: 'radius-16',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"])': {\n '& [data-recipe-slot=\"body\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"body\"], [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n },\n header: {\n '& [data-part=\"close-trigger\"]': {\n alignSelf: 'flex-start',\n ml: 'auto',\n },\n background: 'background',\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n background: 'background',\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n overflowY: 'auto',\n px: 'space-24',\n pt: 'space-24',\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n },\n footer: {\n background: 'background',\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n gap: 'space-16',\n justifyContent: {\n base: 'stretch',\n md: 'flex-end',\n },\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n inset: 0,\n justifyContent: 'center',\n overflow: 'auto',\n p: {\n base: 'space-8',\n md: 'space-16',\n },\n position: 'fixed',\n zIndex: 'modal',\n },\n title: {\n textStyle: 'heading.h4',\n color: 'primary.900',\n fontFamily: 'cabinet',\n },\n },\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'header', 'body', 'footer'],\n})\n"],"mappings":";;;;AAGA,
|
|
1
|
+
{"version":3,"file":"dialog.js","names":["dialogRecipe","defineSlotRecipe","dialogAnatomy"],"sources":["../../../src/theme/recipes/dialog.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const dialogRecipe = defineSlotRecipe({\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n position: 'fixed',\n zIndex: 'modal',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n content: {\n '--footer-height': '70px',\n position: 'relative',\n '& [data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]': {\n pt: 'space-40',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"]) [data-recipe-slot=\"header\"]': {\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n _closed: {\n animation: 'dialog-out',\n },\n _open: {\n animation: 'dialog-in',\n },\n alignSelf: {\n base: 'flex-end',\n md: 'center',\n },\n fontFamily: 'satoshi',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100%',\n // `clip`, not the default `visible`: a body that overflows the card (a long table, a\n // tall form) otherwise leaks its overflow past content and makes both content and the\n // fixed positioner scrollable. Focusing any control inside — a checkbox's hidden\n // input, say — then lets the browser satisfy its scroll-into-view against those bogus\n // scroll ranges by scrolling the dialog itself out of the viewport, while it stays\n // open with the backdrop up and the body inert, so the page reads as frozen. `clip`\n // creates no scroll container at all, leaving body the only thing that scrolls.\n // Popovers/selects/tooltips inside a dialog are portaled, so nothing needs to paint\n // outside the card.\n overflow: 'clip',\n minW: {\n base: '100%',\n md: '800px',\n },\n maxW: '922px',\n '& > form': {\n display: 'contents',\n },\n '& > :first-child, & > form > :first-child': {\n borderTopLeftRadius: 'radius-16',\n borderTopRightRadius: 'radius-16',\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"])': {\n '& [data-recipe-slot=\"body\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n '&:has([data-recipe-slot=\"header\"] + [data-recipe-slot=\"body\"] + [data-recipe-slot=\"footer\"])': {\n '& [data-recipe-slot=\"body\"], [data-recipe-slot=\"footer\"]': {\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n },\n },\n header: {\n '& [data-part=\"close-trigger\"]': {\n alignSelf: 'flex-start',\n ml: 'auto',\n },\n background: 'background',\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'row',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n background: 'background',\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n overflowY: 'auto',\n px: 'space-24',\n pt: 'space-24',\n pb: 'calc(var(--footer-height) + {sizes.size-24})',\n },\n footer: {\n background: 'background',\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n gap: 'space-16',\n justifyContent: {\n base: 'stretch',\n md: 'flex-end',\n },\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n borderBottomLeftRadius: 'radius-16',\n borderBottomRightRadius: 'radius-16',\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n inset: 0,\n justifyContent: 'center',\n overflow: 'auto',\n p: {\n base: 'space-8',\n md: 'space-16',\n },\n position: 'fixed',\n zIndex: 'modal',\n },\n title: {\n textStyle: 'heading.h4',\n color: 'primary.900',\n fontFamily: 'cabinet',\n },\n },\n className: 'dialog',\n slots: [...dialogAnatomy.keys(), 'header', 'body', 'footer'],\n})\n"],"mappings":";;;;AAGA,IAAaA,IAAeC,EAAiB;CAC3C,MAAM;EACJ,UAAU;GACR,gBAAgB;GAChB,YAAY;GACZ,UAAU;GACV,QAAQ;GACR,OAAO;GACP,OAAO,EACL,WAAW,cACb;GACA,SAAS,EACP,WAAW,eACb;EACF;EACA,SAAS;GACP,mBAAmB;GACnB,UAAU;GACV,mEAA+D,EAC7D,IAAI,WACN;GACA,sGAAgG;IAC9F,IAAI;IACJ,wBAAwB;IACxB,yBAAyB;GAC3B;GACA,SAAS,EACP,WAAW,aACb;GACA,OAAO,EACL,WAAW,YACb;GACA,WAAW;IACT,MAAM;IACN,IAAI;GACN;GACA,YAAY;GACZ,SAAS;GACT,eAAe;GACf,WAAW;GAUX,UAAU;GACV,MAAM;IACJ,MAAM;IACN,IAAI;GACN;GACA,MAAM;GACN,YAAY,EACV,SAAS,WACX;GACA,6CAA6C;IAC3C,qBAAqB;IACrB,sBAAsB;GACxB;GACA,wEAAoE,EAClE,mCAAiC;IAC/B,wBAAwB;IACxB,yBAAyB;GAC3B,EACF;GACA,sEAAkE,EAChE,iCAA+B;IAC7B,wBAAwB;IACxB,yBAAyB;GAC3B,EACF;GACA,sEAAkE,EAChE,mCAAiC;IAC/B,wBAAwB;IACxB,yBAAyB;GAC3B,EACF;GACA,sGAAgG,EAC9F,gEAA4D;IAC1D,wBAAwB;IACxB,yBAAyB;GAC3B,EACF;EACF;EACA,QAAQ;GACN,mCAAiC;IAC/B,WAAW;IACX,IAAI;GACN;GACA,YAAY;GACZ,YAAY;GACZ,SAAS;GACT,eAAe;GACf,KAAK;GACL,IAAI;GACJ,IAAI;EACN;EACA,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,MAAM;GACN,eAAe;GACf,WAAW;GACX,IAAI;GACJ,IAAI;GACJ,IAAI;EACN;EACA,QAAQ;GACN,YAAY;GACZ,UAAU;GACV,QAAQ;GACR,MAAM;GACN,OAAO;GACP,IAAI;GACJ,gBAAgB;GAChB,cAAc;GACd,SAAS;GACT,eAAe;IACb,MAAM;IACN,IAAI;GACN;GACA,KAAK;GACL,gBAAgB;IACd,MAAM;IACN,IAAI;GACN;GACA,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,wBAAwB;GACxB,yBAAyB;EAC3B;EACA,YAAY;GACV,YAAY;GACZ,SAAS;GACT,OAAO;GACP,gBAAgB;GAChB,UAAU;GACV,GAAG;IACD,MAAM;IACN,IAAI;GACN;GACA,UAAU;GACV,QAAQ;EACV;EACA,OAAO;GACL,WAAW;GACX,OAAO;GACP,YAAY;EACd;CACF;CACA,WAAW;CACX,OAAO;EAAC,GAAGC,EAAc,KAAK;EAAG;EAAU;EAAQ;CAAQ;AAC7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.cjs","names":[],"sources":["../../../src/theme/recipes/drawer.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nconst anatomy = dialogAnatomy.extendWith('header', 'body', 'footer')\n\nexport const drawerRecipe = defineSlotRecipe({\n className: 'drawer',\n slots: anatomy.keys(),\n jsx: ['Drawer'],\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n height: '100vh',\n position: 'fixed',\n width: '100vw',\n zIndex: 'overlay',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n height: '100dvh',\n position: 'fixed',\n inset: 0,\n zIndex: 'modal',\n },\n content: {\n '--footer-height': '70px',\n outline: 'none',\n position: 'relative',\n background: 'white',\n display: 'flex',\n flexDirection: 'column',\n height: 'full',\n minWidth: {\n base: 'full',\n md: '736px',\n },\n maxWidth: {\n base: 'full',\n md: '800px',\n },\n width: 'full',\n },\n header: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n overflow: 'auto',\n px: 'space-24',\n pt: 'space-16',\n pb: 'var(--footer-height)',\n },\n footer: {\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n justifyContent: 'flex-end',\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n gap: 'space-16',\n },\n title: {\n color: 'primary.900',\n fontFamily: 'cabinet',\n textStyle: 'heading.h4',\n },\n },\n defaultVariants: {\n variant: 'right',\n },\n variants: {\n variant: {\n left: {\n positioner: {\n justifyContent: 'flex-start',\n },\n content: {\n _open: {\n animation: 'drawer-in-left',\n },\n _closed: {\n animation: 'drawer-out-left',\n },\n },\n },\n right: {\n positioner: {\n justifyContent: 'flex-end',\n },\n content: {\n _open: {\n animation: 'drawer-in-right',\n },\n _closed: {\n animation: 'drawer-out-right',\n },\n },\n },\n },\n },\n})\n"],"mappings":"uEAGA,
|
|
1
|
+
{"version":3,"file":"drawer.cjs","names":["dialogAnatomy","defineSlotRecipe","_ark_ui_react","_pandacss_dev","anatomy","drawerRecipe"],"sources":["../../../src/theme/recipes/drawer.ts"],"sourcesContent":["import { dialogAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nconst anatomy = dialogAnatomy.extendWith('header', 'body', 'footer')\n\nexport const drawerRecipe = defineSlotRecipe({\n className: 'drawer',\n slots: anatomy.keys(),\n jsx: ['Drawer'],\n base: {\n backdrop: {\n backdropFilter: 'blur(4px)',\n background: 'primary.300/20',\n height: '100vh',\n position: 'fixed',\n width: '100vw',\n zIndex: 'overlay',\n inset: 0,\n _open: {\n animation: 'backdrop-in',\n },\n _closed: {\n animation: 'backdrop-out',\n },\n },\n positioner: {\n alignItems: 'center',\n display: 'flex',\n height: '100dvh',\n position: 'fixed',\n inset: 0,\n zIndex: 'modal',\n },\n content: {\n '--footer-height': '70px',\n outline: 'none',\n position: 'relative',\n background: 'white',\n display: 'flex',\n flexDirection: 'column',\n height: 'full',\n minWidth: {\n base: 'full',\n md: '736px',\n },\n maxWidth: {\n base: 'full',\n md: '800px',\n },\n width: 'full',\n },\n header: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 'space-16',\n px: 'space-24',\n py: 'space-16',\n },\n body: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n overflow: 'auto',\n px: 'space-24',\n pt: 'space-16',\n pb: 'var(--footer-height)',\n },\n footer: {\n display: 'flex',\n flexDirection: {\n base: 'column-reverse',\n md: 'row',\n },\n position: 'absolute',\n bottom: 0,\n left: 0,\n right: 0,\n bg: 'white/50',\n backdropFilter: 'auto',\n backdropBlur: '4px',\n justifyContent: 'flex-end',\n px: 'space-24',\n pt: 'space-16',\n pb: 'space-16',\n gap: 'space-16',\n },\n title: {\n color: 'primary.900',\n fontFamily: 'cabinet',\n textStyle: 'heading.h4',\n },\n },\n defaultVariants: {\n variant: 'right',\n },\n variants: {\n variant: {\n left: {\n positioner: {\n justifyContent: 'flex-start',\n },\n content: {\n _open: {\n animation: 'drawer-in-left',\n },\n _closed: {\n animation: 'drawer-out-left',\n },\n },\n },\n right: {\n positioner: {\n justifyContent: 'flex-end',\n },\n content: {\n _open: {\n animation: 'drawer-in-right',\n },\n _closed: {\n animation: 'drawer-out-right',\n },\n },\n },\n },\n },\n})\n"],"mappings":"A,uEAGA,IAAMI,EAAUJ,EAAAA,cAAc,WAAW,SAAU,OAAQ,QAAQ,EAEtDK,GAAA,EAAeJ,EAAAA,iBAAAA,CAAiB,CAC3C,UAAW,SACX,MAAOG,EAAQ,KAAK,EACpB,IAAK,CAAC,QAAQ,EACd,KAAM,CACJ,SAAU,CACR,eAAgB,YAChB,WAAY,iBACZ,OAAQ,QACR,SAAU,QACV,MAAO,QACP,OAAQ,UACR,MAAO,EACP,MAAO,CACL,UAAW,aACb,EACA,QAAS,CACP,UAAW,cACb,CACF,EACA,WAAY,CACV,WAAY,SACZ,QAAS,OACT,OAAQ,SACR,SAAU,QACV,MAAO,EACP,OAAQ,OACV,EACA,QAAS,CACP,kBAAmB,OACnB,QAAS,OACT,SAAU,WACV,WAAY,QACZ,QAAS,OACT,cAAe,SACf,OAAQ,OACR,SAAU,CACR,KAAM,OACN,GAAI,OACN,EACA,SAAU,CACR,KAAM,OACN,GAAI,OACN,EACA,MAAO,MACT,EACA,OAAQ,CACN,QAAS,OACT,cAAe,MACf,WAAY,SACZ,IAAK,WACL,GAAI,WACJ,GAAI,UACN,EACA,KAAM,CACJ,QAAS,OACT,cAAe,SACf,KAAM,EACN,SAAU,OACV,GAAI,WACJ,GAAI,WACJ,GAAI,sBACN,EACA,OAAQ,CACN,QAAS,OACT,cAAe,CACb,KAAM,iBACN,GAAI,KACN,EACA,SAAU,WACV,OAAQ,EACR,KAAM,EACN,MAAO,EACP,GAAI,WACJ,eAAgB,OAChB,aAAc,MACd,eAAgB,WAChB,GAAI,WACJ,GAAI,WACJ,GAAI,WACJ,IAAK,UACP,EACA,MAAO,CACL,MAAO,cACP,WAAY,UACZ,UAAW,YACb,CACF,EACA,gBAAiB,CACf,QAAS,OACX,EACA,SAAU,CACR,QAAS,CACP,KAAM,CACJ,WAAY,CACV,eAAgB,YAClB,EACA,QAAS,CACP,MAAO,CACL,UAAW,gBACb,EACA,QAAS,CACP,UAAW,iBACb,CACF,CACF,EACA,MAAO,CACL,WAAY,CACV,eAAgB,UAClB,EACA,QAAS,CACP,MAAO,CACL,UAAW,iBACb,EACA,QAAS,CACP,UAAW,kBACb,CACF,CACF,CACF,CACF,CACF,CAAC,E"}
|
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
import { SlotRecipeConfig } from '@pandacss/
|
|
2
|
-
export declare const drawerRecipe: SlotRecipeConfig
|
|
1
|
+
import { SlotRecipeConfig } from '@pandacss/types';
|
|
2
|
+
export declare const drawerRecipe: SlotRecipeConfig<"body" | "footer" | "header" | "title" | "content" | "description" | "trigger" | "backdrop" | "positioner" | "closeTrigger", {
|
|
3
|
+
variant: {
|
|
4
|
+
left: {
|
|
5
|
+
positioner: {
|
|
6
|
+
justifyContent: "flex-start";
|
|
7
|
+
};
|
|
8
|
+
content: {
|
|
9
|
+
_open: {
|
|
10
|
+
animation: "drawer-in-left";
|
|
11
|
+
};
|
|
12
|
+
_closed: {
|
|
13
|
+
animation: "drawer-out-left";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
right: {
|
|
18
|
+
positioner: {
|
|
19
|
+
justifyContent: "flex-end";
|
|
20
|
+
};
|
|
21
|
+
content: {
|
|
22
|
+
_open: {
|
|
23
|
+
animation: "drawer-in-right";
|
|
24
|
+
};
|
|
25
|
+
_closed: {
|
|
26
|
+
animation: "drawer-out-right";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}>;
|