@seed-design/react 2.5.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Accordion/Accordion.cjs +2 -1
- package/lib/components/Accordion/Accordion.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.js +2 -1
- package/lib/components/ActionButton/ActionButton.cjs +1 -1
- package/lib/components/ActionButton/ActionButton.js +1 -1
- package/lib/components/AlertDialog/AlertDialog.cjs +34 -0
- package/lib/components/AlertDialog/AlertDialog.d.ts +51 -0
- package/lib/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/lib/components/AlertDialog/AlertDialog.js +24 -0
- package/lib/components/AlertDialog/AlertDialog.namespace.cjs +22 -0
- package/lib/components/AlertDialog/AlertDialog.namespace.d.ts +2 -0
- package/lib/components/AlertDialog/AlertDialog.namespace.d.ts.map +1 -0
- package/lib/components/AlertDialog/AlertDialog.namespace.js +17 -0
- package/lib/components/AlertDialog/AlertDialog.test.d.ts +2 -0
- package/lib/components/AlertDialog/AlertDialog.test.d.ts.map +1 -0
- package/lib/components/AlertDialog/index.cjs +19 -0
- package/lib/components/AlertDialog/index.d.ts +3 -0
- package/lib/components/AlertDialog/index.d.ts.map +1 -0
- package/lib/components/AlertDialog/index.js +3 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.cjs +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplay.js +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.cjs +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts.map +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.js +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.cjs +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.js +1 -1
- package/lib/components/AttachmentDisplay/index.cjs +8 -0
- package/lib/components/AttachmentDisplay/index.d.ts +2 -0
- package/lib/components/AttachmentDisplay/index.d.ts.map +1 -1
- package/lib/components/AttachmentDisplay/index.js +2 -1
- package/lib/components/AttachmentInput/AttachmentInput.cjs +1 -1
- package/lib/components/AttachmentInput/AttachmentInput.js +1 -1
- package/lib/components/AttachmentInput/AttachmentInputDropzone.cjs +1 -1
- package/lib/components/AttachmentInput/AttachmentInputDropzone.js +1 -1
- package/lib/components/AttachmentInput/AttachmentInputItem.cjs +2 -2
- package/lib/components/AttachmentInput/AttachmentInputItem.d.ts.map +1 -1
- package/lib/components/AttachmentInput/AttachmentInputItem.js +2 -2
- package/lib/components/AttachmentInput/AttachmentInputTrigger.cjs +1 -1
- package/lib/components/AttachmentInput/AttachmentInputTrigger.js +1 -1
- package/lib/components/AttachmentInput/index.cjs +8 -0
- package/lib/components/AttachmentInput/index.d.ts +2 -0
- package/lib/components/AttachmentInput/index.d.ts.map +1 -1
- package/lib/components/AttachmentInput/index.js +2 -1
- package/lib/components/Badge/Badge.cjs +52 -10
- package/lib/components/Badge/Badge.d.ts +13 -4
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.js +49 -11
- package/lib/components/Badge/Badge.namespace.cjs +16 -0
- package/lib/components/Badge/Badge.namespace.d.ts +2 -0
- package/lib/components/Badge/Badge.namespace.d.ts.map +1 -0
- package/lib/components/Badge/Badge.namespace.js +11 -0
- package/lib/components/Badge/Badge.test.d.ts +2 -0
- package/lib/components/Badge/Badge.test.d.ts.map +1 -0
- package/lib/components/Badge/index.cjs +11 -1
- package/lib/components/Badge/index.d.ts +2 -1
- package/lib/components/Badge/index.d.ts.map +1 -1
- package/lib/components/Badge/index.js +3 -2
- package/lib/components/Box/Box.test.d.ts +2 -0
- package/lib/components/Box/Box.test.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.cjs +2 -2
- package/lib/components/Checkbox/Checkbox.d.ts +3 -1
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +2 -2
- package/lib/components/Checkbox/Checkbox.namespace.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -1
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/Checkbox/index.d.ts.map +1 -1
- package/lib/components/Chip/Chip.cjs +13 -5
- package/lib/components/Chip/Chip.d.ts +13 -2
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +10 -5
- package/lib/components/Chip/Chip.namespace.cjs +5 -2
- package/lib/components/Chip/Chip.namespace.d.ts +1 -1
- package/lib/components/Chip/Chip.namespace.d.ts.map +1 -1
- package/lib/components/Chip/Chip.namespace.js +6 -3
- package/lib/components/Chip/index.cjs +4 -1
- package/lib/components/Chip/index.d.ts +1 -1
- package/lib/components/Chip/index.d.ts.map +1 -1
- package/lib/components/Chip/index.js +2 -2
- package/lib/components/ChipTabs/ChipTabs.cjs +1 -1
- package/lib/components/ChipTabs/ChipTabs.js +1 -1
- package/lib/components/DatePicker/DatePicker.cjs +192 -190
- package/lib/components/DatePicker/DatePicker.d.ts +50 -21
- package/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/lib/components/DatePicker/DatePicker.js +189 -187
- package/lib/components/DatePicker/DatePicker.namespace.cjs +16 -0
- package/lib/components/DatePicker/DatePicker.namespace.d.ts +2 -0
- package/lib/components/DatePicker/DatePicker.namespace.d.ts.map +1 -0
- package/lib/components/DatePicker/DatePicker.namespace.js +11 -0
- package/lib/components/DatePicker/index.cjs +11 -4
- package/lib/components/DatePicker/index.d.ts +3 -2
- package/lib/components/DatePicker/index.d.ts.map +1 -1
- package/lib/components/DatePicker/index.js +3 -2
- package/lib/components/Dialog/Dialog.cjs +84 -9
- package/lib/components/Dialog/Dialog.d.ts +21 -14
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.js +80 -9
- package/lib/components/Dialog/Dialog.namespace.cjs +2 -0
- package/lib/components/Dialog/Dialog.namespace.d.ts +1 -1
- package/lib/components/Dialog/Dialog.namespace.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.namespace.js +3 -1
- package/lib/components/Dialog/index.cjs +2 -0
- package/lib/components/Dialog/index.d.ts +1 -1
- package/lib/components/Dialog/index.d.ts.map +1 -1
- package/lib/components/Dialog/index.js +2 -2
- package/lib/components/HelpBubble/HelpBubble.cjs +18 -5
- package/lib/components/HelpBubble/HelpBubble.d.ts +5 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.js +18 -5
- package/lib/components/HelpBubble/HelpBubble.test.d.ts +2 -0
- package/lib/components/HelpBubble/HelpBubble.test.d.ts.map +1 -0
- package/lib/components/ImageFrame/ImageFrame.cjs +5 -4
- package/lib/components/ImageFrame/ImageFrame.d.ts +2 -2
- package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -1
- package/lib/components/ImageFrame/ImageFrame.js +6 -5
- package/lib/components/List/List.cjs +14 -3
- package/lib/components/List/List.d.ts +15 -0
- package/lib/components/List/List.d.ts.map +1 -1
- package/lib/components/List/List.js +11 -4
- package/lib/components/List/List.namespace.cjs +4 -0
- package/lib/components/List/List.namespace.d.ts +1 -1
- package/lib/components/List/List.namespace.d.ts.map +1 -1
- package/lib/components/List/List.namespace.js +5 -1
- package/lib/components/List/index.cjs +4 -0
- package/lib/components/List/index.d.ts +1 -1
- package/lib/components/List/index.d.ts.map +1 -1
- package/lib/components/List/index.js +2 -2
- package/lib/components/Menu/Menu.cjs +3 -2
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +3 -2
- package/lib/components/MenuSheet/MenuSheet.cjs +4 -3
- package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
- package/lib/components/MenuSheet/MenuSheet.js +4 -3
- package/lib/components/NavigationMenu/NavigationMenu.cjs +4 -3
- package/lib/components/NavigationMenu/NavigationMenu.d.ts.map +1 -1
- package/lib/components/NavigationMenu/NavigationMenu.js +4 -3
- package/lib/components/PageBanner/PageBanner.cjs +3 -2
- package/lib/components/PageBanner/PageBanner.d.ts.map +1 -1
- package/lib/components/PageBanner/PageBanner.js +3 -2
- package/lib/components/{ContentDialog/ContentDialog.cjs → Popover/Popover.cjs} +61 -40
- package/lib/components/Popover/Popover.d.ts +69 -0
- package/lib/components/Popover/Popover.d.ts.map +1 -0
- package/lib/components/{ContentDialog/ContentDialog.js → Popover/Popover.js} +49 -29
- package/lib/components/Popover/Popover.namespace.cjs +26 -0
- package/lib/components/Popover/Popover.namespace.d.ts +2 -0
- package/lib/components/Popover/Popover.namespace.d.ts.map +1 -0
- package/lib/components/Popover/Popover.namespace.js +21 -0
- package/lib/components/Popover/Popover.test.d.ts +2 -0
- package/lib/components/Popover/Popover.test.d.ts.map +1 -0
- package/lib/components/Popover/index.cjs +23 -0
- package/lib/components/Popover/index.d.ts +3 -0
- package/lib/components/Popover/index.d.ts.map +1 -0
- package/lib/components/Popover/index.js +3 -0
- package/lib/components/QuantityPicker/QuantityPicker.d.ts.map +1 -1
- package/lib/components/RadioGroup/RadioGroup.cjs +2 -2
- package/lib/components/RadioGroup/RadioGroup.d.ts +2 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioGroup/RadioGroup.js +2 -2
- package/lib/components/RadioGroup/RadioGroup.namespace.d.ts +1 -1
- package/lib/components/RadioGroup/RadioGroup.namespace.d.ts.map +1 -1
- package/lib/components/RadioGroup/index.d.ts +1 -1
- package/lib/components/RadioGroup/index.d.ts.map +1 -1
- package/lib/components/RadioGroupField/RadioGroupField.cjs +2 -2
- package/lib/components/RadioGroupField/RadioGroupField.d.ts +5 -1
- package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -1
- package/lib/components/RadioGroupField/RadioGroupField.js +2 -2
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +1 -1
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -1
- package/lib/components/ReactionButton/ReactionButton.cjs +1 -1
- package/lib/components/ReactionButton/ReactionButton.js +1 -1
- package/lib/components/ResponsiveDialog/ResponsiveDialog.cjs +13 -13
- package/lib/components/ResponsiveDialog/ResponsiveDialog.d.ts +15 -15
- package/lib/components/ResponsiveDialog/ResponsiveDialog.d.ts.map +1 -1
- package/lib/components/ResponsiveDialog/ResponsiveDialog.js +13 -13
- package/lib/components/SegmentedControl/SegmentedControl.cjs +2 -1
- package/lib/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/lib/components/SegmentedControl/SegmentedControl.js +2 -1
- package/lib/components/Select/Select.cjs +5 -4
- package/lib/components/Select/Select.d.ts.map +1 -1
- package/lib/components/Select/Select.js +5 -4
- package/lib/components/SelectBox/CheckSelectBox.cjs +20 -6
- package/lib/components/SelectBox/CheckSelectBox.d.ts +7 -0
- package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/CheckSelectBox.js +21 -7
- package/lib/components/SelectBox/RadioSelectBox.cjs +20 -6
- package/lib/components/SelectBox/RadioSelectBox.d.ts +7 -0
- package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/RadioSelectBox.js +21 -7
- package/lib/components/SelectBox/SelectBox.test.d.ts +2 -0
- package/lib/components/SelectBox/SelectBox.test.d.ts.map +1 -0
- package/lib/components/SideNavigation/SideNavigation.cjs +2 -2
- package/lib/components/SideNavigation/SideNavigation.js +2 -2
- package/lib/components/SideNavigation/index.cjs +8 -0
- package/lib/components/SideNavigation/index.d.ts +1 -0
- package/lib/components/SideNavigation/index.d.ts.map +1 -1
- package/lib/components/SideNavigation/index.js +2 -1
- package/lib/components/SidePanel/SidePanel.d.ts +0 -12
- package/lib/components/SidePanel/SidePanel.d.ts.map +1 -1
- package/lib/components/Slider/Slider.cjs +1 -1
- package/lib/components/Slider/Slider.js +1 -1
- package/lib/components/Snackbar/Snackbar.cjs +2 -2
- package/lib/components/Snackbar/Snackbar.js +2 -2
- package/lib/components/Snackbar/useSnackbarAdapter.cjs +1 -1
- package/lib/components/Snackbar/useSnackbarAdapter.js +1 -1
- package/lib/components/Stack/Stack.cjs +0 -12
- package/lib/components/Stack/Stack.d.ts +0 -8
- package/lib/components/Stack/Stack.d.ts.map +1 -1
- package/lib/components/Stack/Stack.js +1 -12
- package/lib/components/Stack/index.cjs +0 -1
- package/lib/components/Stack/index.d.ts +1 -1
- package/lib/components/Stack/index.d.ts.map +1 -1
- package/lib/components/Stack/index.js +2 -2
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.cjs +3 -2
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -1
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.js +3 -2
- package/lib/components/Switch/Switch.cjs +3 -3
- package/lib/components/Switch/Switch.d.ts +5 -1
- package/lib/components/Switch/Switch.d.ts.map +1 -1
- package/lib/components/Switch/Switch.js +3 -3
- package/lib/components/Switch/Switch.namespace.d.ts +1 -1
- package/lib/components/Switch/Switch.namespace.d.ts.map +1 -1
- package/lib/components/Switch/index.d.ts +1 -1
- package/lib/components/Switch/index.d.ts.map +1 -1
- package/lib/components/TagGroup/TagGroup.d.ts.map +1 -1
- package/lib/components/ToggleButton/ToggleButton.cjs +1 -1
- package/lib/components/ToggleButton/ToggleButton.js +1 -1
- package/lib/components/WheelPicker/WheelPicker.cjs +11 -12
- package/lib/components/WheelPicker/WheelPicker.d.ts +7 -2
- package/lib/components/WheelPicker/WheelPicker.d.ts.map +1 -1
- package/lib/components/WheelPicker/WheelPicker.js +11 -12
- package/lib/components/index.cjs +90 -94
- package/lib/components/index.d.ts +2 -12
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +17 -24
- package/lib/index.cjs +116 -94
- package/lib/index.d.ts +4 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +20 -25
- package/lib/utils/styled.cjs +3 -2
- package/lib/utils/styled.d.ts +18 -11
- package/lib/utils/styled.d.ts.map +1 -1
- package/lib/utils/styled.js +3 -2
- package/lib/utils/withContentScale.cjs +30 -0
- package/lib/utils/withContentScale.d.ts +12 -0
- package/lib/utils/withContentScale.d.ts.map +1 -0
- package/lib/utils/withContentScale.js +27 -0
- package/lib/utils/withContentScale.test.d.ts +2 -0
- package/lib/utils/withContentScale.test.d.ts.map +1 -0
- package/package.json +9 -14
- package/src/components/Accordion/Accordion.tsx +3 -3
- package/src/components/AlertDialog/AlertDialog.namespace.ts +22 -0
- package/src/components/AlertDialog/AlertDialog.test.tsx +61 -0
- package/src/components/AlertDialog/AlertDialog.tsx +115 -0
- package/src/components/AlertDialog/index.ts +24 -0
- package/src/components/AttachmentDisplay/AttachmentDisplayItem.tsx +2 -0
- package/src/components/AttachmentDisplay/index.ts +10 -0
- package/src/components/AttachmentInput/AttachmentInputItem.tsx +2 -0
- package/src/components/AttachmentInput/index.ts +10 -0
- package/src/components/Badge/Badge.namespace.ts +10 -0
- package/src/components/Badge/Badge.test.tsx +56 -0
- package/src/components/Badge/Badge.tsx +82 -11
- package/src/components/Badge/index.ts +12 -1
- package/src/components/Box/Box.test.tsx +88 -0
- package/src/components/Checkbox/Checkbox.namespace.ts +1 -0
- package/src/components/Checkbox/Checkbox.tsx +3 -1
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Chip/Chip.namespace.ts +8 -2
- package/src/components/Chip/Chip.tsx +34 -7
- package/src/components/Chip/index.ts +8 -2
- package/src/components/DatePicker/DatePicker.namespace.ts +14 -0
- package/src/components/DatePicker/DatePicker.test.tsx +85 -276
- package/src/components/DatePicker/DatePicker.tsx +327 -284
- package/src/components/DatePicker/index.ts +25 -21
- package/src/components/Dialog/Dialog.namespace.ts +4 -0
- package/src/components/Dialog/Dialog.tsx +128 -10
- package/src/components/Dialog/index.ts +4 -5
- package/src/components/HelpBubble/HelpBubble.test.tsx +111 -0
- package/src/components/HelpBubble/HelpBubble.tsx +19 -3
- package/src/components/ImageFrame/ImageFrame.tsx +12 -4
- package/src/components/List/List.namespace.ts +8 -0
- package/src/components/List/List.tsx +43 -3
- package/src/components/List/index.ts +8 -0
- package/src/components/Menu/Menu.tsx +4 -3
- package/src/components/MenuSheet/MenuSheet.tsx +20 -17
- package/src/components/NavigationMenu/NavigationMenu.tsx +20 -17
- package/src/components/PageBanner/PageBanner.tsx +6 -3
- package/src/components/Popover/Popover.namespace.ts +30 -0
- package/src/components/Popover/Popover.test.tsx +222 -0
- package/src/components/Popover/Popover.tsx +282 -0
- package/src/components/Popover/index.ts +32 -0
- package/src/components/QuantityPicker/QuantityPicker.tsx +2 -0
- package/src/components/RadioGroup/RadioGroup.namespace.ts +1 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -0
- package/src/components/RadioGroup/index.ts +1 -0
- package/src/components/RadioGroupField/RadioGroupField.namespace.ts +1 -0
- package/src/components/RadioGroupField/RadioGroupField.tsx +5 -3
- package/src/components/ResponsiveDialog/ResponsiveDialog.tsx +45 -48
- package/src/components/SegmentedControl/SegmentedControl.tsx +3 -3
- package/src/components/Select/Select.tsx +7 -6
- package/src/components/SelectBox/CheckSelectBox.tsx +28 -10
- package/src/components/SelectBox/RadioSelectBox.tsx +28 -10
- package/src/components/SelectBox/SelectBox.test.tsx +138 -0
- package/src/components/SideNavigation/index.ts +5 -0
- package/src/components/SidePanel/SidePanel.tsx +1 -16
- package/src/components/Stack/Stack.tsx +0 -12
- package/src/components/Stack/index.ts +1 -8
- package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +20 -18
- package/src/components/Switch/Switch.namespace.ts +1 -0
- package/src/components/Switch/Switch.tsx +6 -3
- package/src/components/Switch/index.ts +1 -0
- package/src/components/TagGroup/TagGroup.tsx +2 -0
- package/src/components/WheelPicker/WheelPicker.test.tsx +53 -44
- package/src/components/WheelPicker/WheelPicker.tsx +24 -21
- package/src/components/index.ts +2 -12
- package/src/index.ts +25 -2
- package/src/utils/styled.tsx +72 -15
- package/src/utils/withContentScale.test.tsx +88 -0
- package/src/utils/withContentScale.tsx +48 -0
- package/lib/components/ActionChip/ActionChip.cjs +0 -15
- package/lib/components/ActionChip/ActionChip.d.ts +0 -23
- package/lib/components/ActionChip/ActionChip.d.ts.map +0 -1
- package/lib/components/ActionChip/ActionChip.js +0 -14
- package/lib/components/ActionChip/index.cjs +0 -3
- package/lib/components/ActionChip/index.d.ts +0 -2
- package/lib/components/ActionChip/index.d.ts.map +0 -1
- package/lib/components/ActionChip/index.js +0 -2
- package/lib/components/ActionSheet/ActionSheet.cjs +0 -72
- package/lib/components/ActionSheet/ActionSheet.d.ts +0 -113
- package/lib/components/ActionSheet/ActionSheet.d.ts.map +0 -1
- package/lib/components/ActionSheet/ActionSheet.js +0 -61
- package/lib/components/ActionSheet/ActionSheet.namespace.cjs +0 -23
- package/lib/components/ActionSheet/ActionSheet.namespace.d.ts +0 -2
- package/lib/components/ActionSheet/ActionSheet.namespace.d.ts.map +0 -1
- package/lib/components/ActionSheet/ActionSheet.namespace.js +0 -18
- package/lib/components/ActionSheet/index.cjs +0 -20
- package/lib/components/ActionSheet/index.d.ts +0 -3
- package/lib/components/ActionSheet/index.d.ts.map +0 -1
- package/lib/components/ActionSheet/index.js +0 -3
- package/lib/components/Columns/Columns.cjs +0 -38
- package/lib/components/Columns/Columns.d.ts +0 -22
- package/lib/components/Columns/Columns.d.ts.map +0 -1
- package/lib/components/Columns/Columns.js +0 -35
- package/lib/components/Columns/index.cjs +0 -4
- package/lib/components/Columns/index.d.ts +0 -2
- package/lib/components/Columns/index.d.ts.map +0 -1
- package/lib/components/Columns/index.js +0 -2
- package/lib/components/ContentDialog/ContentDialog.d.ts +0 -50
- package/lib/components/ContentDialog/ContentDialog.d.ts.map +0 -1
- package/lib/components/ContentDialog/ContentDialog.namespace.cjs +0 -24
- package/lib/components/ContentDialog/ContentDialog.namespace.d.ts +0 -2
- package/lib/components/ContentDialog/ContentDialog.namespace.d.ts.map +0 -1
- package/lib/components/ContentDialog/ContentDialog.namespace.js +0 -19
- package/lib/components/ContentDialog/index.cjs +0 -21
- package/lib/components/ContentDialog/index.d.ts +0 -3
- package/lib/components/ContentDialog/index.d.ts.map +0 -1
- package/lib/components/ContentDialog/index.js +0 -3
- package/lib/components/ControlChip/ControlChip.cjs +0 -15
- package/lib/components/ControlChip/ControlChip.d.ts +0 -28
- package/lib/components/ControlChip/ControlChip.d.ts.map +0 -1
- package/lib/components/ControlChip/ControlChip.js +0 -14
- package/lib/components/ControlChip/index.cjs +0 -3
- package/lib/components/ControlChip/index.d.ts +0 -2
- package/lib/components/ControlChip/index.d.ts.map +0 -1
- package/lib/components/ControlChip/index.js +0 -2
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +0 -77
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +0 -122
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +0 -1
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +0 -65
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +0 -24
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts +0 -2
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts.map +0 -1
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +0 -19
- package/lib/components/ExtendedActionSheet/index.cjs +0 -21
- package/lib/components/ExtendedActionSheet/index.d.ts +0 -3
- package/lib/components/ExtendedActionSheet/index.d.ts.map +0 -1
- package/lib/components/ExtendedActionSheet/index.js +0 -3
- package/lib/components/ExtendedFab/ExtendedFab.cjs +0 -16
- package/lib/components/ExtendedFab/ExtendedFab.d.ts +0 -13
- package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +0 -1
- package/lib/components/ExtendedFab/ExtendedFab.js +0 -15
- package/lib/components/ExtendedFab/index.cjs +0 -3
- package/lib/components/ExtendedFab/index.d.ts +0 -2
- package/lib/components/ExtendedFab/index.d.ts.map +0 -1
- package/lib/components/ExtendedFab/index.js +0 -2
- package/lib/components/Fab/Fab.cjs +0 -13
- package/lib/components/Fab/Fab.d.ts +0 -13
- package/lib/components/Fab/Fab.d.ts.map +0 -1
- package/lib/components/Fab/Fab.js +0 -12
- package/lib/components/Fab/index.cjs +0 -3
- package/lib/components/Fab/index.d.ts +0 -2
- package/lib/components/Fab/index.d.ts.map +0 -1
- package/lib/components/Fab/index.js +0 -2
- package/lib/components/Inline/Inline.cjs +0 -23
- package/lib/components/Inline/Inline.d.ts +0 -12
- package/lib/components/Inline/Inline.d.ts.map +0 -1
- package/lib/components/Inline/Inline.js +0 -21
- package/lib/components/Inline/index.cjs +0 -3
- package/lib/components/Inline/index.d.ts +0 -2
- package/lib/components/Inline/index.d.ts.map +0 -1
- package/lib/components/Inline/index.js +0 -2
- package/lib/components/InlineBanner/InlineBanner.cjs +0 -39
- package/lib/components/InlineBanner/InlineBanner.d.ts +0 -59
- package/lib/components/InlineBanner/InlineBanner.d.ts.map +0 -1
- package/lib/components/InlineBanner/InlineBanner.js +0 -33
- package/lib/components/InlineBanner/InlineBanner.namespace.cjs +0 -18
- package/lib/components/InlineBanner/InlineBanner.namespace.d.ts +0 -2
- package/lib/components/InlineBanner/InlineBanner.namespace.d.ts.map +0 -1
- package/lib/components/InlineBanner/InlineBanner.namespace.js +0 -13
- package/lib/components/InlineBanner/index.cjs +0 -15
- package/lib/components/InlineBanner/index.d.ts +0 -3
- package/lib/components/InlineBanner/index.d.ts.map +0 -1
- package/lib/components/InlineBanner/index.js +0 -3
- package/lib/components/LinkContent/LinkContent.cjs +0 -14
- package/lib/components/LinkContent/LinkContent.d.ts +0 -14
- package/lib/components/LinkContent/LinkContent.d.ts.map +0 -1
- package/lib/components/LinkContent/LinkContent.js +0 -13
- package/lib/components/LinkContent/index.cjs +0 -3
- package/lib/components/LinkContent/index.d.ts +0 -2
- package/lib/components/LinkContent/index.d.ts.map +0 -1
- package/lib/components/LinkContent/index.js +0 -2
- package/lib/components/TimePicker/TimePicker.cjs +0 -97
- package/lib/components/TimePicker/TimePicker.d.ts +0 -28
- package/lib/components/TimePicker/TimePicker.d.ts.map +0 -1
- package/lib/components/TimePicker/TimePicker.js +0 -94
- package/lib/components/TimePicker/TimePicker.test.d.ts +0 -2
- package/lib/components/TimePicker/TimePicker.test.d.ts.map +0 -1
- package/lib/components/TimePicker/index.cjs +0 -3
- package/lib/components/TimePicker/index.d.ts +0 -2
- package/lib/components/TimePicker/index.d.ts.map +0 -1
- package/lib/components/TimePicker/index.js +0 -2
- package/lib/components/private/WheelPicker.cjs +0 -63
- package/lib/components/private/WheelPicker.d.ts +0 -16
- package/lib/components/private/WheelPicker.d.ts.map +0 -1
- package/lib/components/private/WheelPicker.js +0 -59
- package/lib/components/private/WheelPicker.test.d.ts +0 -2
- package/lib/components/private/WheelPicker.test.d.ts.map +0 -1
- package/lib/primitive.cjs +0 -154
- package/lib/primitive.d.ts +0 -18
- package/lib/primitive.d.ts.map +0 -1
- package/lib/primitive.js +0 -17
- package/src/components/ActionChip/ActionChip.tsx +0 -34
- package/src/components/ActionChip/index.ts +0 -4
- package/src/components/ActionSheet/ActionSheet.namespace.ts +0 -24
- package/src/components/ActionSheet/ActionSheet.tsx +0 -192
- package/src/components/ActionSheet/index.ts +0 -26
- package/src/components/Columns/Columns.tsx +0 -50
- package/src/components/Columns/index.ts +0 -1
- package/src/components/ContentDialog/ContentDialog.namespace.ts +0 -26
- package/src/components/ContentDialog/ContentDialog.tsx +0 -224
- package/src/components/ContentDialog/index.ts +0 -33
- package/src/components/ControlChip/ControlChip.tsx +0 -38
- package/src/components/ControlChip/index.ts +0 -5
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.namespace.ts +0 -26
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +0 -220
- package/src/components/ExtendedActionSheet/index.ts +0 -28
- package/src/components/ExtendedFab/ExtendedFab.tsx +0 -25
- package/src/components/ExtendedFab/index.ts +0 -4
- package/src/components/Fab/Fab.tsx +0 -21
- package/src/components/Fab/index.ts +0 -4
- package/src/components/Inline/Inline.tsx +0 -25
- package/src/components/Inline/index.ts +0 -1
- package/src/components/InlineBanner/InlineBanner.namespace.ts +0 -14
- package/src/components/InlineBanner/InlineBanner.tsx +0 -103
- package/src/components/InlineBanner/index.ts +0 -16
- package/src/components/LinkContent/LinkContent.tsx +0 -23
- package/src/components/LinkContent/index.ts +0 -4
- package/src/components/TimePicker/TimePicker.test.tsx +0 -166
- package/src/components/TimePicker/TimePicker.tsx +0 -163
- package/src/components/TimePicker/index.ts +0 -6
- package/src/components/private/WheelPicker.test.tsx +0 -55
- package/src/components/private/WheelPicker.tsx +0 -110
- package/src/primitive.ts +0 -17
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
|
-
import { createWithStateProps } from "../../utils/createWithStateProps.js";
|
|
4
|
-
import { createRecipeContext } from "../../utils/createRecipeContext.js";
|
|
5
|
-
import { Dialog, useDialogContext } from "@seed-design/react-dialog";
|
|
6
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
7
|
-
import { actionSheet } from "@seed-design/css/recipes/action-sheet";
|
|
8
|
-
import { actionSheetItem } from "@seed-design/css/recipes/action-sheet-item";
|
|
9
|
-
//#region src/components/ActionSheet/ActionSheet.tsx
|
|
10
|
-
var { withRootProvider, withContext } = createSlotRecipeContext(actionSheet);
|
|
11
|
-
var { withContext: withItemContext } = createRecipeContext(actionSheetItem);
|
|
12
|
-
var withStateProps = createWithStateProps([useDialogContext]);
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
15
|
-
*/
|
|
16
|
-
var ActionSheetRoot = withRootProvider(Dialog.Root, { defaultProps: {
|
|
17
|
-
lazyMount: true,
|
|
18
|
-
unmountOnExit: true
|
|
19
|
-
} });
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
22
|
-
*/
|
|
23
|
-
var ActionSheetTrigger = Dialog.Trigger;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
26
|
-
*/
|
|
27
|
-
var ActionSheetPositioner = withContext(Dialog.Positioner, "positioner");
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
30
|
-
*/
|
|
31
|
-
var ActionSheetBackdrop = withContext(Dialog.Backdrop, "backdrop");
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
34
|
-
*/
|
|
35
|
-
var ActionSheetContent = withContext(Dialog.Content, "content");
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
38
|
-
*/
|
|
39
|
-
var ActionSheetHeader = withContext(withStateProps(Primitive.div), "header");
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
42
|
-
*/
|
|
43
|
-
var ActionSheetTitle = withContext(withStateProps(Primitive.h2), "title");
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
46
|
-
*/
|
|
47
|
-
var ActionSheetDescription = withContext(withStateProps(Primitive.p), "description");
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
50
|
-
*/
|
|
51
|
-
var ActionSheetList = withContext(withStateProps(Primitive.div), "list");
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
54
|
-
*/
|
|
55
|
-
var ActionSheetItem = withItemContext(withStateProps(Primitive.button));
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
58
|
-
*/
|
|
59
|
-
var ActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
|
|
60
|
-
//#endregion
|
|
61
|
-
export { ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
-
const require_ActionSheet = require("./ActionSheet.cjs");
|
|
3
|
-
//#region src/components/ActionSheet/ActionSheet.namespace.ts
|
|
4
|
-
var ActionSheet_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
-
Backdrop: () => require_ActionSheet.ActionSheetBackdrop,
|
|
6
|
-
CloseButton: () => require_ActionSheet.ActionSheetCloseButton,
|
|
7
|
-
Content: () => require_ActionSheet.ActionSheetContent,
|
|
8
|
-
Description: () => require_ActionSheet.ActionSheetDescription,
|
|
9
|
-
Header: () => require_ActionSheet.ActionSheetHeader,
|
|
10
|
-
Item: () => require_ActionSheet.ActionSheetItem,
|
|
11
|
-
List: () => require_ActionSheet.ActionSheetList,
|
|
12
|
-
Positioner: () => require_ActionSheet.ActionSheetPositioner,
|
|
13
|
-
Root: () => require_ActionSheet.ActionSheetRoot,
|
|
14
|
-
Title: () => require_ActionSheet.ActionSheetTitle,
|
|
15
|
-
Trigger: () => require_ActionSheet.ActionSheetTrigger
|
|
16
|
-
});
|
|
17
|
-
//#endregion
|
|
18
|
-
Object.defineProperty(exports, "ActionSheet_namespace_exports", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function() {
|
|
21
|
-
return ActionSheet_namespace_exports;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { ActionSheetBackdrop as Backdrop, ActionSheetPositioner as Positioner, ActionSheetContent as Content, ActionSheetHeader as Header, ActionSheetRoot as Root, ActionSheetTitle as Title, ActionSheetDescription as Description, ActionSheetTrigger as Trigger, ActionSheetList as List, ActionSheetItem as Item, ActionSheetCloseButton as CloseButton, type ActionSheetBackdropProps as BackdropProps, type ActionSheetPositionerProps as PositionerProps, type ActionSheetContentProps as ContentProps, type ActionSheetHeaderProps as HeaderProps, type ActionSheetRootProps as RootProps, type ActionSheetTitleProps as TitleProps, type ActionSheetDescriptionProps as DescriptionProps, type ActionSheetTriggerProps as TriggerProps, type ActionSheetListProps as ListProps, type ActionSheetItemProps as ItemProps, type ActionSheetCloseButtonProps as CloseButtonProps, } from './ActionSheet';
|
|
2
|
-
//# sourceMappingURL=ActionSheet.namespace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/ActionSheet/ActionSheet.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,qBAAqB,IAAI,UAAU,EACnC,kBAAkB,IAAI,OAAO,EAC7B,iBAAiB,IAAI,MAAM,EAC3B,eAAe,IAAI,IAAI,EACvB,gBAAgB,IAAI,KAAK,EACzB,sBAAsB,IAAI,WAAW,EACrC,kBAAkB,IAAI,OAAO,EAC7B,eAAe,IAAI,IAAI,EACvB,eAAe,IAAI,IAAI,EACvB,sBAAsB,IAAI,WAAW,EACrC,KAAK,wBAAwB,IAAI,aAAa,EAC9C,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,qBAAqB,IAAI,UAAU,EACxC,KAAK,2BAA2B,IAAI,gBAAgB,EACpD,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,2BAA2B,IAAI,gBAAgB,GACrD,MAAM,eAAe,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger } from "./ActionSheet.js";
|
|
3
|
-
//#region src/components/ActionSheet/ActionSheet.namespace.ts
|
|
4
|
-
var ActionSheet_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
Backdrop: () => ActionSheetBackdrop,
|
|
6
|
-
CloseButton: () => ActionSheetCloseButton,
|
|
7
|
-
Content: () => ActionSheetContent,
|
|
8
|
-
Description: () => ActionSheetDescription,
|
|
9
|
-
Header: () => ActionSheetHeader,
|
|
10
|
-
Item: () => ActionSheetItem,
|
|
11
|
-
List: () => ActionSheetList,
|
|
12
|
-
Positioner: () => ActionSheetPositioner,
|
|
13
|
-
Root: () => ActionSheetRoot,
|
|
14
|
-
Title: () => ActionSheetTitle,
|
|
15
|
-
Trigger: () => ActionSheetTrigger
|
|
16
|
-
});
|
|
17
|
-
//#endregion
|
|
18
|
-
export { ActionSheet_namespace_exports };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_ActionSheet = require("./ActionSheet.cjs");
|
|
3
|
-
const require_ActionSheet_namespace = require("./ActionSheet.namespace.cjs");
|
|
4
|
-
Object.defineProperty(exports, "ActionSheet", {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
get: function() {
|
|
7
|
-
return require_ActionSheet_namespace.ActionSheet_namespace_exports;
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
exports.ActionSheetBackdrop = require_ActionSheet.ActionSheetBackdrop;
|
|
11
|
-
exports.ActionSheetCloseButton = require_ActionSheet.ActionSheetCloseButton;
|
|
12
|
-
exports.ActionSheetContent = require_ActionSheet.ActionSheetContent;
|
|
13
|
-
exports.ActionSheetDescription = require_ActionSheet.ActionSheetDescription;
|
|
14
|
-
exports.ActionSheetHeader = require_ActionSheet.ActionSheetHeader;
|
|
15
|
-
exports.ActionSheetItem = require_ActionSheet.ActionSheetItem;
|
|
16
|
-
exports.ActionSheetList = require_ActionSheet.ActionSheetList;
|
|
17
|
-
exports.ActionSheetPositioner = require_ActionSheet.ActionSheetPositioner;
|
|
18
|
-
exports.ActionSheetRoot = require_ActionSheet.ActionSheetRoot;
|
|
19
|
-
exports.ActionSheetTitle = require_ActionSheet.ActionSheetTitle;
|
|
20
|
-
exports.ActionSheetTrigger = require_ActionSheet.ActionSheetTrigger;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ActionSheetBackdrop, ActionSheetPositioner, ActionSheetContent, ActionSheetHeader, ActionSheetRoot, ActionSheetTitle, ActionSheetDescription, ActionSheetTrigger, ActionSheetList, ActionSheetItem, ActionSheetCloseButton, type ActionSheetBackdropProps, type ActionSheetPositionerProps, type ActionSheetContentProps, type ActionSheetHeaderProps, type ActionSheetRootProps, type ActionSheetTitleProps, type ActionSheetDescriptionProps, type ActionSheetTriggerProps, type ActionSheetListProps, type ActionSheetItemProps, type ActionSheetCloseButtonProps, } from './ActionSheet';
|
|
2
|
-
export * as ActionSheet from './ActionSheet.namespace';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ActionSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger } from "./ActionSheet.js";
|
|
2
|
-
import { ActionSheet_namespace_exports } from "./ActionSheet.namespace.js";
|
|
3
|
-
export { ActionSheet_namespace_exports as ActionSheet, ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_Box = require("../Box/Box.cjs");
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_runtime.__toESM(react);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
//#region src/components/Columns/Columns.tsx
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `HStack` instead.
|
|
10
|
-
*/
|
|
11
|
-
var Columns = react.forwardRef((props, ref) => {
|
|
12
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
|
|
13
|
-
ref,
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "row",
|
|
16
|
-
flexWrap: "nowrap",
|
|
17
|
-
justifyContent: "flex-start",
|
|
18
|
-
...props
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use `HStack` instead.
|
|
23
|
-
*/
|
|
24
|
-
var Column = react.forwardRef((props, ref) => {
|
|
25
|
-
const { width, ...otherProps } = props;
|
|
26
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
|
|
27
|
-
ref,
|
|
28
|
-
display: "flex",
|
|
29
|
-
flexDirection: "column",
|
|
30
|
-
width: width !== "content" ? "full" : void 0,
|
|
31
|
-
flexShrink: width ? 0 : void 0,
|
|
32
|
-
flexGrow: width ? 0 : 1,
|
|
33
|
-
...otherProps
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
//#endregion
|
|
37
|
-
exports.Column = Column;
|
|
38
|
-
exports.Columns = Columns;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DistributiveOmit } from '../../utils/styled';
|
|
2
|
-
import { BoxProps } from '../Box/Box';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Use `HStack` instead.
|
|
6
|
-
*/
|
|
7
|
-
export type ColumnsProps = DistributiveOmit<BoxProps, "display" | "direction">;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `HStack` instead.
|
|
10
|
-
*/
|
|
11
|
-
export declare const Columns: React.ForwardRefExoticComponent<ColumnsProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use `HStack` instead.
|
|
14
|
-
*/
|
|
15
|
-
export type ColumnProps = DistributiveOmit<BoxProps, "display" | "flexDirection" | "width"> & {
|
|
16
|
-
width?: BoxProps["width"] | "content";
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Use `HStack` instead.
|
|
20
|
-
*/
|
|
21
|
-
export declare const Column: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
//# sourceMappingURL=Columns.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Columns.d.ts","sourceRoot":"","sources":["../../../src/components/Columns/Columns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,QAAQ,EAAE,SAAS,GAAG,WAAW,CAAC,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,OAAO,qFAWlB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,QAAQ,EAAE,SAAS,GAAG,eAAe,GAAG,OAAO,CAAC,GAAG;IAC5F,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,oFAcjB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Box } from "../Box/Box.js";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
//#region src/components/Columns/Columns.tsx
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `HStack` instead.
|
|
8
|
-
*/
|
|
9
|
-
var Columns = React$1.forwardRef((props, ref) => {
|
|
10
|
-
return /* @__PURE__ */ jsx(Box, {
|
|
11
|
-
ref,
|
|
12
|
-
display: "flex",
|
|
13
|
-
flexDirection: "row",
|
|
14
|
-
flexWrap: "nowrap",
|
|
15
|
-
justifyContent: "flex-start",
|
|
16
|
-
...props
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Use `HStack` instead.
|
|
21
|
-
*/
|
|
22
|
-
var Column = React$1.forwardRef((props, ref) => {
|
|
23
|
-
const { width, ...otherProps } = props;
|
|
24
|
-
return /* @__PURE__ */ jsx(Box, {
|
|
25
|
-
ref,
|
|
26
|
-
display: "flex",
|
|
27
|
-
flexDirection: "column",
|
|
28
|
-
width: width !== "content" ? "full" : void 0,
|
|
29
|
-
flexShrink: width ? 0 : void 0,
|
|
30
|
-
flexGrow: width ? 0 : 1,
|
|
31
|
-
...otherProps
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
|
-
export { Column, Columns };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Columns/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ContentDialogVariantProps } from '@seed-design/css/recipes/content-dialog';
|
|
2
|
-
import { Dialog as DialogPrimitive } from '@seed-design/react-dialog';
|
|
3
|
-
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
4
|
-
import { StyleProps } from '../../utils/styled';
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
export interface ContentDialogRootProps extends ContentDialogVariantProps, Omit<DialogPrimitive.RootProps, "role"> {
|
|
7
|
-
/**
|
|
8
|
-
* @default true
|
|
9
|
-
*/
|
|
10
|
-
lazyMount?: DialogPrimitive.RootProps["lazyMount"];
|
|
11
|
-
/**
|
|
12
|
-
* @default true
|
|
13
|
-
*/
|
|
14
|
-
unmountOnExit?: DialogPrimitive.RootProps["unmountOnExit"];
|
|
15
|
-
}
|
|
16
|
-
export declare function ContentDialogRoot(props: ContentDialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export interface ContentDialogTriggerProps extends DialogPrimitive.TriggerProps {
|
|
18
|
-
}
|
|
19
|
-
export declare const ContentDialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
-
export interface ContentDialogPositionerProps extends DialogPrimitive.PositionerProps {
|
|
21
|
-
}
|
|
22
|
-
export declare const ContentDialogPositioner: React.ForwardRefExoticComponent<ContentDialogPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
export interface ContentDialogBackdropProps extends DialogPrimitive.BackdropProps {
|
|
24
|
-
}
|
|
25
|
-
export declare const ContentDialogBackdrop: React.ForwardRefExoticComponent<ContentDialogBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
export interface ContentDialogContentProps extends DialogPrimitive.ContentProps, Pick<StyleProps, "width" | "maxWidth"> {
|
|
27
|
-
}
|
|
28
|
-
export declare const ContentDialogContent: React.ForwardRefExoticComponent<ContentDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export interface ContentDialogHeaderProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
30
|
-
}
|
|
31
|
-
export declare const ContentDialogHeader: React.ForwardRefExoticComponent<ContentDialogHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
-
export interface ContentDialogTitleProps extends DialogPrimitive.TitleProps {
|
|
33
|
-
}
|
|
34
|
-
export declare const ContentDialogTitle: React.ForwardRefExoticComponent<ContentDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
35
|
-
export interface ContentDialogDescriptionProps extends DialogPrimitive.DescriptionProps {
|
|
36
|
-
}
|
|
37
|
-
export declare const ContentDialogDescription: React.ForwardRefExoticComponent<ContentDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
38
|
-
export interface ContentDialogBodyProps extends PrimitiveProps, Pick<StyleProps, "paddingX" | "minHeight" | "maxHeight" | "justifyContent" | "alignItems">, React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
-
}
|
|
40
|
-
export declare const ContentDialogBody: React.ForwardRefExoticComponent<ContentDialogBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
export interface ContentDialogFooterProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
42
|
-
}
|
|
43
|
-
export declare const ContentDialogFooter: React.ForwardRefExoticComponent<ContentDialogFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
-
export interface ContentDialogActionProps extends DialogPrimitive.CloseButtonProps {
|
|
45
|
-
}
|
|
46
|
-
export declare const ContentDialogAction: React.ForwardRefExoticComponent<DialogPrimitive.CloseButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
47
|
-
export interface ContentDialogCloseButtonProps extends DialogPrimitive.CloseButtonProps {
|
|
48
|
-
}
|
|
49
|
-
export declare const ContentDialogCloseButton: React.ForwardRefExoticComponent<ContentDialogCloseButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
//# sourceMappingURL=ContentDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ContentDialog/ContentDialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAiC,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQpF,MAAM,WAAW,sBACf,SAAQ,yBAAyB,EAC/B,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;CAC5D;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAe9D;AAID,MAAM,WAAW,yBAA0B,SAAQ,eAAe,CAAC,YAAY;CAAG;AAElF,eAAO,MAAM,oBAAoB,wGAA0B,CAAC;AAI5D,MAAM,WAAW,4BAA6B,SAAQ,eAAe,CAAC,eAAe;CAAG;AAExF,eAAO,MAAM,uBAAuB,qGAGnC,CAAC;AAIF,MAAM,WAAW,0BAA2B,SAAQ,eAAe,CAAC,aAAa;CAAG;AAEpF,eAAO,MAAM,qBAAqB,mGAGjC,CAAC;AAIF,MAAM,WAAW,yBACf,SAAQ,eAAe,CAAC,YAAY,EAClC,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;CAAG;AAE7C,eAAO,MAAM,oBAAoB,kGAGhC,CAAC;AAIF,MAAM,WAAW,wBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,mBAAmB,iGAc/B,CAAC;AAMF,MAAM,WAAW,uBAAwB,SAAQ,eAAe,CAAC,UAAU;CAAG;AAE9E,eAAO,MAAM,kBAAkB,oGAG9B,CAAC;AAIF,MAAM,WAAW,6BAA8B,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAE1F,eAAO,MAAM,wBAAwB,4GAGQ,CAAC;AAI9C,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,gBAAgB,GAAG,YAAY,CAAC,EAC1F,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,+FA8C7B,CAAC;AAMF,MAAM,WAAW,wBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,mBAAmB,iGAG/B,CAAC;AAIF,MAAM,WAAW,wBAAyB,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAErF,eAAO,MAAM,mBAAmB,4GAA8B,CAAC;AAI/D,MAAM,WAAW,6BAA8B,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAE1F,eAAO,MAAM,wBAAwB,yGAenC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
-
const require_ContentDialog = require("./ContentDialog.cjs");
|
|
3
|
-
//#region src/components/ContentDialog/ContentDialog.namespace.ts
|
|
4
|
-
var ContentDialog_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
-
Action: () => require_ContentDialog.ContentDialogAction,
|
|
6
|
-
Backdrop: () => require_ContentDialog.ContentDialogBackdrop,
|
|
7
|
-
Body: () => require_ContentDialog.ContentDialogBody,
|
|
8
|
-
CloseButton: () => require_ContentDialog.ContentDialogCloseButton,
|
|
9
|
-
Content: () => require_ContentDialog.ContentDialogContent,
|
|
10
|
-
Description: () => require_ContentDialog.ContentDialogDescription,
|
|
11
|
-
Footer: () => require_ContentDialog.ContentDialogFooter,
|
|
12
|
-
Header: () => require_ContentDialog.ContentDialogHeader,
|
|
13
|
-
Positioner: () => require_ContentDialog.ContentDialogPositioner,
|
|
14
|
-
Root: () => require_ContentDialog.ContentDialogRoot,
|
|
15
|
-
Title: () => require_ContentDialog.ContentDialogTitle,
|
|
16
|
-
Trigger: () => require_ContentDialog.ContentDialogTrigger
|
|
17
|
-
});
|
|
18
|
-
//#endregion
|
|
19
|
-
Object.defineProperty(exports, "ContentDialog_namespace_exports", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function() {
|
|
22
|
-
return ContentDialog_namespace_exports;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { ContentDialogBackdrop as Backdrop, ContentDialogPositioner as Positioner, ContentDialogContent as Content, ContentDialogBody as Body, ContentDialogDescription as Description, ContentDialogFooter as Footer, ContentDialogHeader as Header, ContentDialogRoot as Root, ContentDialogTitle as Title, ContentDialogTrigger as Trigger, ContentDialogAction as Action, ContentDialogCloseButton as CloseButton, type ContentDialogBackdropProps as BackdropProps, type ContentDialogPositionerProps as PositionerProps, type ContentDialogContentProps as ContentProps, type ContentDialogBodyProps as BodyProps, type ContentDialogDescriptionProps as DescriptionProps, type ContentDialogFooterProps as FooterProps, type ContentDialogHeaderProps as HeaderProps, type ContentDialogRootProps as RootProps, type ContentDialogTitleProps as TitleProps, type ContentDialogTriggerProps as TriggerProps, type ContentDialogActionProps as ActionProps, type ContentDialogCloseButtonProps as CloseButtonProps, } from './ContentDialog';
|
|
2
|
-
//# sourceMappingURL=ContentDialog.namespace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentDialog.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/ContentDialog/ContentDialog.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,IAAI,QAAQ,EACjC,uBAAuB,IAAI,UAAU,EACrC,oBAAoB,IAAI,OAAO,EAC/B,iBAAiB,IAAI,IAAI,EACzB,wBAAwB,IAAI,WAAW,EACvC,mBAAmB,IAAI,MAAM,EAC7B,mBAAmB,IAAI,MAAM,EAC7B,iBAAiB,IAAI,IAAI,EACzB,kBAAkB,IAAI,KAAK,EAC3B,oBAAoB,IAAI,OAAO,EAC/B,mBAAmB,IAAI,MAAM,EAC7B,wBAAwB,IAAI,WAAW,EACvC,KAAK,0BAA0B,IAAI,aAAa,EAChD,KAAK,4BAA4B,IAAI,eAAe,EACpD,KAAK,yBAAyB,IAAI,YAAY,EAC9C,KAAK,sBAAsB,IAAI,SAAS,EACxC,KAAK,6BAA6B,IAAI,gBAAgB,EACtD,KAAK,wBAAwB,IAAI,WAAW,EAC5C,KAAK,wBAAwB,IAAI,WAAW,EAC5C,KAAK,sBAAsB,IAAI,SAAS,EACxC,KAAK,uBAAuB,IAAI,UAAU,EAC1C,KAAK,yBAAyB,IAAI,YAAY,EAC9C,KAAK,wBAAwB,IAAI,WAAW,EAC5C,KAAK,6BAA6B,IAAI,gBAAgB,GACvD,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { ContentDialogAction, ContentDialogBackdrop, ContentDialogBody, ContentDialogCloseButton, ContentDialogContent, ContentDialogDescription, ContentDialogFooter, ContentDialogHeader, ContentDialogPositioner, ContentDialogRoot, ContentDialogTitle, ContentDialogTrigger } from "./ContentDialog.js";
|
|
3
|
-
//#region src/components/ContentDialog/ContentDialog.namespace.ts
|
|
4
|
-
var ContentDialog_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
Action: () => ContentDialogAction,
|
|
6
|
-
Backdrop: () => ContentDialogBackdrop,
|
|
7
|
-
Body: () => ContentDialogBody,
|
|
8
|
-
CloseButton: () => ContentDialogCloseButton,
|
|
9
|
-
Content: () => ContentDialogContent,
|
|
10
|
-
Description: () => ContentDialogDescription,
|
|
11
|
-
Footer: () => ContentDialogFooter,
|
|
12
|
-
Header: () => ContentDialogHeader,
|
|
13
|
-
Positioner: () => ContentDialogPositioner,
|
|
14
|
-
Root: () => ContentDialogRoot,
|
|
15
|
-
Title: () => ContentDialogTitle,
|
|
16
|
-
Trigger: () => ContentDialogTrigger
|
|
17
|
-
});
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ContentDialog_namespace_exports };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_ContentDialog = require("./ContentDialog.cjs");
|
|
3
|
-
const require_ContentDialog_namespace = require("./ContentDialog.namespace.cjs");
|
|
4
|
-
Object.defineProperty(exports, "ContentDialog", {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
get: function() {
|
|
7
|
-
return require_ContentDialog_namespace.ContentDialog_namespace_exports;
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
exports.ContentDialogAction = require_ContentDialog.ContentDialogAction;
|
|
11
|
-
exports.ContentDialogBackdrop = require_ContentDialog.ContentDialogBackdrop;
|
|
12
|
-
exports.ContentDialogBody = require_ContentDialog.ContentDialogBody;
|
|
13
|
-
exports.ContentDialogCloseButton = require_ContentDialog.ContentDialogCloseButton;
|
|
14
|
-
exports.ContentDialogContent = require_ContentDialog.ContentDialogContent;
|
|
15
|
-
exports.ContentDialogDescription = require_ContentDialog.ContentDialogDescription;
|
|
16
|
-
exports.ContentDialogFooter = require_ContentDialog.ContentDialogFooter;
|
|
17
|
-
exports.ContentDialogHeader = require_ContentDialog.ContentDialogHeader;
|
|
18
|
-
exports.ContentDialogPositioner = require_ContentDialog.ContentDialogPositioner;
|
|
19
|
-
exports.ContentDialogRoot = require_ContentDialog.ContentDialogRoot;
|
|
20
|
-
exports.ContentDialogTitle = require_ContentDialog.ContentDialogTitle;
|
|
21
|
-
exports.ContentDialogTrigger = require_ContentDialog.ContentDialogTrigger;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ContentDialogBackdrop, ContentDialogPositioner, ContentDialogContent, ContentDialogBody, ContentDialogDescription, ContentDialogFooter, ContentDialogHeader, ContentDialogRoot, ContentDialogTitle, ContentDialogTrigger, ContentDialogAction, ContentDialogCloseButton, type ContentDialogBackdropProps, type ContentDialogPositionerProps, type ContentDialogContentProps, type ContentDialogBodyProps, type ContentDialogDescriptionProps, type ContentDialogFooterProps, type ContentDialogHeaderProps, type ContentDialogRootProps, type ContentDialogTitleProps, type ContentDialogTriggerProps, type ContentDialogActionProps, type ContentDialogCloseButtonProps, } from './ContentDialog';
|
|
2
|
-
export * as ContentDialog from './ContentDialog.namespace';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContentDialog/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,GACnC,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ContentDialogAction, ContentDialogBackdrop, ContentDialogBody, ContentDialogCloseButton, ContentDialogContent, ContentDialogDescription, ContentDialogFooter, ContentDialogHeader, ContentDialogPositioner, ContentDialogRoot, ContentDialogTitle, ContentDialogTrigger } from "./ContentDialog.js";
|
|
2
|
-
import { ContentDialog_namespace_exports } from "./ContentDialog.namespace.js";
|
|
3
|
-
export { ContentDialog_namespace_exports as ContentDialog, ContentDialogAction, ContentDialogBackdrop, ContentDialogBody, ContentDialogCloseButton, ContentDialogContent, ContentDialogDescription, ContentDialogFooter, ContentDialogHeader, ContentDialogPositioner, ContentDialogRoot, ContentDialogTitle, ContentDialogTrigger };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_Icon = require("../Icon/Icon.cjs");
|
|
4
|
-
const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
|
|
5
|
-
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
6
|
-
let _seed_design_css_recipes_control_chip = require("@seed-design/css/recipes/control-chip");
|
|
7
|
-
//#region src/components/ControlChip/ControlChip.tsx
|
|
8
|
-
var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_control_chip.controlChip);
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated ControlChip is deprecated. Use Chip.Toggle or Chip.Button instead.
|
|
11
|
-
*/
|
|
12
|
-
var ControlChip = require_Icon.withIconRequired(withContext(_seed_design_react_primitive.Primitive.button), (props) => props.layout === "iconOnly");
|
|
13
|
-
ControlChip.displayName = "ControlChip";
|
|
14
|
-
//#endregion
|
|
15
|
-
exports.ControlChip = ControlChip;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ControlChipVariantProps } from '@seed-design/css/recipes/control-chip';
|
|
2
|
-
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
-
import type * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated ControlChipBaseProps is deprecated. Use ChipBaseProps from Chip instead.
|
|
6
|
-
*/
|
|
7
|
-
export interface ControlChipBaseProps extends PrimitiveProps, ControlChipVariantProps {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated ControlChipProps is deprecated. Use Chip.Toggle or Chip.Button instead.
|
|
11
|
-
*
|
|
12
|
-
* Migration guide:
|
|
13
|
-
* ```tsx
|
|
14
|
-
* // Before
|
|
15
|
-
* <ControlChip size="medium">Label</ControlChip>
|
|
16
|
-
*
|
|
17
|
-
* // After
|
|
18
|
-
* import { Chip } from "@seed-design/react";
|
|
19
|
-
* <Chip.Toggle size="medium" variant="outlineStrong">Label</Chip.Toggle>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export interface ControlChipProps extends ControlChipBaseProps, React.HTMLAttributes<HTMLButtonElement> {
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated ControlChip is deprecated. Use Chip.Toggle or Chip.Button instead.
|
|
26
|
-
*/
|
|
27
|
-
export declare const ControlChip: React.ForwardRefExoticComponent<Omit<ControlChipProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
//# sourceMappingURL=ControlChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControlChip.d.ts","sourceRoot":"","sources":["../../../src/components/ControlChip/ControlChip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,cAAc,EAAE,uBAAuB;CAAG;AAExF;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBACf,SAAQ,oBAAoB,EAC1B,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;CAAG;AAE9C;;GAEG;AACH,eAAO,MAAM,WAAW,kJAGvB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { withIconRequired } from "../Icon/Icon.js";
|
|
3
|
-
import { createRecipeContext } from "../../utils/createRecipeContext.js";
|
|
4
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
-
import { controlChip } from "@seed-design/css/recipes/control-chip";
|
|
6
|
-
//#region src/components/ControlChip/ControlChip.tsx
|
|
7
|
-
var { withContext } = createRecipeContext(controlChip);
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated ControlChip is deprecated. Use Chip.Toggle or Chip.Button instead.
|
|
10
|
-
*/
|
|
11
|
-
var ControlChip = withIconRequired(withContext(Primitive.button), (props) => props.layout === "iconOnly");
|
|
12
|
-
ControlChip.displayName = "ControlChip";
|
|
13
|
-
//#endregion
|
|
14
|
-
export { ControlChip };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ControlChip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
4
|
-
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
5
|
-
const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
|
|
6
|
-
let _seed_design_react_dialog = require("@seed-design/react-dialog");
|
|
7
|
-
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
8
|
-
let _seed_design_css_recipes_extended_action_sheet = require("@seed-design/css/recipes/extended-action-sheet");
|
|
9
|
-
let _seed_design_css_recipes_extended_action_sheet_item = require("@seed-design/css/recipes/extended-action-sheet-item");
|
|
10
|
-
//#region src/components/ExtendedActionSheet/ExtendedActionSheet.tsx
|
|
11
|
-
var { withRootProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_extended_action_sheet.extendedActionSheet);
|
|
12
|
-
var { withContext: withItemContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_extended_action_sheet_item.extendedActionSheetItem);
|
|
13
|
-
var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_dialog.useDialogContext]);
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
16
|
-
*/
|
|
17
|
-
var ExtendedActionSheetRoot = withRootProvider(_seed_design_react_dialog.Dialog.Root, { defaultProps: {
|
|
18
|
-
lazyMount: true,
|
|
19
|
-
unmountOnExit: true
|
|
20
|
-
} });
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
23
|
-
*/
|
|
24
|
-
var ExtendedActionSheetTrigger = _seed_design_react_dialog.Dialog.Trigger;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
27
|
-
*/
|
|
28
|
-
var ExtendedActionSheetPositioner = withContext(_seed_design_react_dialog.Dialog.Positioner, "positioner");
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
31
|
-
*/
|
|
32
|
-
var ExtendedActionSheetBackdrop = withContext(_seed_design_react_dialog.Dialog.Backdrop, "backdrop");
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
35
|
-
*/
|
|
36
|
-
var ExtendedActionSheetContent = withContext(_seed_design_react_dialog.Dialog.Content, "content");
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
39
|
-
*/
|
|
40
|
-
var ExtendedActionSheetHeader = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "header");
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
43
|
-
*/
|
|
44
|
-
var ExtendedActionSheetTitle = withContext(withStateProps(_seed_design_react_primitive.Primitive.h2), "title");
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
47
|
-
*/
|
|
48
|
-
var ExtendedActionSheetList = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "list");
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
51
|
-
*/
|
|
52
|
-
var ExtendedActionSheetGroup = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "group");
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
55
|
-
*/
|
|
56
|
-
var ExtendedActionSheetItem = withItemContext(withStateProps(_seed_design_react_primitive.Primitive.button));
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
59
|
-
*/
|
|
60
|
-
var ExtendedActionSheetFooter = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "footer");
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
63
|
-
*/
|
|
64
|
-
var ExtendedActionSheetCloseButton = withContext(_seed_design_react_dialog.Dialog.CloseButton, "closeButton");
|
|
65
|
-
//#endregion
|
|
66
|
-
exports.ExtendedActionSheetBackdrop = ExtendedActionSheetBackdrop;
|
|
67
|
-
exports.ExtendedActionSheetCloseButton = ExtendedActionSheetCloseButton;
|
|
68
|
-
exports.ExtendedActionSheetContent = ExtendedActionSheetContent;
|
|
69
|
-
exports.ExtendedActionSheetFooter = ExtendedActionSheetFooter;
|
|
70
|
-
exports.ExtendedActionSheetGroup = ExtendedActionSheetGroup;
|
|
71
|
-
exports.ExtendedActionSheetHeader = ExtendedActionSheetHeader;
|
|
72
|
-
exports.ExtendedActionSheetItem = ExtendedActionSheetItem;
|
|
73
|
-
exports.ExtendedActionSheetList = ExtendedActionSheetList;
|
|
74
|
-
exports.ExtendedActionSheetPositioner = ExtendedActionSheetPositioner;
|
|
75
|
-
exports.ExtendedActionSheetRoot = ExtendedActionSheetRoot;
|
|
76
|
-
exports.ExtendedActionSheetTitle = ExtendedActionSheetTitle;
|
|
77
|
-
exports.ExtendedActionSheetTrigger = ExtendedActionSheetTrigger;
|