@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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
6
|
+
const require_withContentScale = require("../../utils/withContentScale.cjs");
|
|
6
7
|
let _seed_design_css_recipes_accordion = require("@seed-design/css/recipes/accordion");
|
|
7
8
|
let _seed_design_react_accordion = require("@seed-design/react-accordion");
|
|
8
9
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
@@ -15,7 +16,7 @@ var AccordionItem = withContext(_seed_design_react_accordion.Accordion.Item, "it
|
|
|
15
16
|
AccordionItem.displayName = "AccordionItem";
|
|
16
17
|
var AccordionHeader = withContext(_seed_design_react_accordion.Accordion.Header, "header");
|
|
17
18
|
AccordionHeader.displayName = "AccordionHeader";
|
|
18
|
-
var AccordionTrigger = withContext(_seed_design_react_accordion.Accordion.Trigger, "trigger");
|
|
19
|
+
var AccordionTrigger = require_withContentScale.withContentScale(withContext(_seed_design_react_accordion.Accordion.Trigger, "trigger"));
|
|
19
20
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
20
21
|
var AccordionContent = withContext(_seed_design_react_accordion.Accordion.Content, "content");
|
|
21
22
|
AccordionContent.displayName = "AccordionContent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,SAAS,IAAI,kBAAkB,EAEhC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,SAAS,IAAI,kBAAkB,EAEhC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAUpC,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB,EAAE,kBAAkB,CAAC,SAAS;CAAG;AAElG,eAAO,MAAM,aAAa,2FAGzB,CAAC;AAKF,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,SAAS;CAAG;AAE3E,eAAO,MAAM,aAAa,2FAGzB,CAAC;AAKF,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,WAAW;CAAG;AAE/E,eAAO,MAAM,eAAe,iGAG3B,CAAC;AAKF,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,YAAY;CAAG;AAEjF,eAAO,MAAM,gBAAgB,iGAE5B,CAAC;AAKF,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,YAAY;CAAG;AAEjF,eAAO,MAAM,gBAAgB,8FAG5B,CAAC;AAKF,MAAM,WAAW,kBAAmB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEnG,eAAO,MAAM,aAAa,2FAAyE,CAAC;AAKpG,MAAM,WAAW,mBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,cAAc,6FAG1B,CAAC;AAKF,MAAM,WAAW,yBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,oBAAoB,mGAGhC,CAAC;AAKF,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,eAAe,6FAG3B,CAAC;AAKF,MAAM,WAAW,wBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,mBAAmB,iGAG/B,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { createWithStateProps } from "../../utils/createWithStateProps.js";
|
|
5
|
+
import { withContentScale } from "../../utils/withContentScale.js";
|
|
5
6
|
import { accordion } from "@seed-design/css/recipes/accordion";
|
|
6
7
|
import { Accordion, useAccordionItemContext } from "@seed-design/react-accordion";
|
|
7
8
|
import { Primitive } from "@seed-design/react-primitive";
|
|
@@ -14,7 +15,7 @@ var AccordionItem = withContext(Accordion.Item, "item");
|
|
|
14
15
|
AccordionItem.displayName = "AccordionItem";
|
|
15
16
|
var AccordionHeader = withContext(Accordion.Header, "header");
|
|
16
17
|
AccordionHeader.displayName = "AccordionHeader";
|
|
17
|
-
var AccordionTrigger = withContext(Accordion.Trigger, "trigger");
|
|
18
|
+
var AccordionTrigger = withContentScale(withContext(Accordion.Trigger, "trigger"));
|
|
18
19
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
19
20
|
var AccordionContent = withContext(Accordion.Content, "content");
|
|
20
21
|
AccordionContent.displayName = "AccordionContent";
|
|
@@ -10,9 +10,9 @@ clsx = require_runtime.__toESM(clsx);
|
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_runtime.__toESM(react);
|
|
12
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
|
-
let _seed_design_css_recipes_action_button = require("@seed-design/css/recipes/action-button");
|
|
14
13
|
let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
15
14
|
let _seed_design_react_scale_feedback = require("@seed-design/react-scale-feedback");
|
|
15
|
+
let _seed_design_css_recipes_action_button = require("@seed-design/css/recipes/action-button");
|
|
16
16
|
//#region src/components/ActionButton/ActionButton.tsx
|
|
17
17
|
var ActionButton = react.forwardRef(({ variant, size, loading = false, layout = "withText", color, fontWeight, className, children, ...otherProps }, ref) => {
|
|
18
18
|
const recipeClassName = (0, _seed_design_css_recipes_action_button.actionButton)({
|
|
@@ -7,9 +7,9 @@ import { Primitive } from "@seed-design/react-primitive";
|
|
|
7
7
|
import clsx$1 from "clsx";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
import { actionButton } from "@seed-design/css/recipes/action-button";
|
|
11
10
|
import { useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
12
11
|
import { useScaleFeedback } from "@seed-design/react-scale-feedback";
|
|
12
|
+
import { actionButton } from "@seed-design/css/recipes/action-button";
|
|
13
13
|
//#region src/components/ActionButton/ActionButton.tsx
|
|
14
14
|
var ActionButton = React$1.forwardRef(({ variant, size, loading = false, layout = "withText", color, fontWeight, className, children, ...otherProps }, ref) => {
|
|
15
15
|
const recipeClassName = actionButton({
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
4
|
+
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
5
|
+
let _seed_design_react_dialog = require("@seed-design/react-dialog");
|
|
6
|
+
let _seed_design_css_recipes_alert_dialog = require("@seed-design/css/recipes/alert-dialog");
|
|
7
|
+
//#region src/components/AlertDialog/AlertDialog.tsx
|
|
8
|
+
var { withRootProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_alert_dialog.alertDialog);
|
|
9
|
+
var AlertDialogRoot = withRootProvider(_seed_design_react_dialog.Dialog.Root, { defaultProps: {
|
|
10
|
+
role: "alertdialog",
|
|
11
|
+
closeOnInteractOutside: false,
|
|
12
|
+
lazyMount: true,
|
|
13
|
+
unmountOnExit: true
|
|
14
|
+
} });
|
|
15
|
+
var AlertDialogTrigger = _seed_design_react_dialog.Dialog.Trigger;
|
|
16
|
+
var AlertDialogPositioner = withContext(_seed_design_react_dialog.Dialog.Positioner, "positioner");
|
|
17
|
+
var AlertDialogBackdrop = withContext(_seed_design_react_dialog.Dialog.Backdrop, "backdrop");
|
|
18
|
+
var AlertDialogContent = withContext(_seed_design_react_dialog.Dialog.Content, "content");
|
|
19
|
+
var AlertDialogHeader = withContext(_seed_design_react_primitive.Primitive.div, "header");
|
|
20
|
+
var AlertDialogTitle = withContext(_seed_design_react_dialog.Dialog.Title, "title");
|
|
21
|
+
var AlertDialogDescription = withContext(_seed_design_react_dialog.Dialog.Description, "description");
|
|
22
|
+
var AlertDialogFooter = withContext(_seed_design_react_primitive.Primitive.div, "footer");
|
|
23
|
+
var AlertDialogAction = _seed_design_react_dialog.Dialog.CloseButton;
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.AlertDialogAction = AlertDialogAction;
|
|
26
|
+
exports.AlertDialogBackdrop = AlertDialogBackdrop;
|
|
27
|
+
exports.AlertDialogContent = AlertDialogContent;
|
|
28
|
+
exports.AlertDialogDescription = AlertDialogDescription;
|
|
29
|
+
exports.AlertDialogFooter = AlertDialogFooter;
|
|
30
|
+
exports.AlertDialogHeader = AlertDialogHeader;
|
|
31
|
+
exports.AlertDialogPositioner = AlertDialogPositioner;
|
|
32
|
+
exports.AlertDialogRoot = AlertDialogRoot;
|
|
33
|
+
exports.AlertDialogTitle = AlertDialogTitle;
|
|
34
|
+
exports.AlertDialogTrigger = AlertDialogTrigger;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Dialog as DialogPrimitive } from '@seed-design/react-dialog';
|
|
2
|
+
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
+
import { AlertDialogVariantProps } from '@seed-design/css/recipes/alert-dialog';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
export interface AlertDialogRootProps extends AlertDialogVariantProps, DialogPrimitive.RootProps {
|
|
6
|
+
/**
|
|
7
|
+
* @default "alertdialog"
|
|
8
|
+
*/
|
|
9
|
+
role?: DialogPrimitive.RootProps["role"];
|
|
10
|
+
/**
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
closeOnInteractOutside?: DialogPrimitive.RootProps["closeOnInteractOutside"];
|
|
14
|
+
/**
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
lazyMount?: DialogPrimitive.RootProps["lazyMount"];
|
|
18
|
+
/**
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
unmountOnExit?: DialogPrimitive.RootProps["unmountOnExit"];
|
|
22
|
+
}
|
|
23
|
+
export declare const AlertDialogRoot: ForwardRefExoticComponent<AlertDialogRootProps>;
|
|
24
|
+
export interface AlertDialogTriggerProps extends DialogPrimitive.TriggerProps {
|
|
25
|
+
}
|
|
26
|
+
export declare const AlertDialogTrigger: ForwardRefExoticComponent<DialogPrimitive.TriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
export interface AlertDialogPositionerProps extends DialogPrimitive.PositionerProps {
|
|
28
|
+
}
|
|
29
|
+
export declare const AlertDialogPositioner: ForwardRefExoticComponent<AlertDialogPositionerProps & RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export interface AlertDialogBackdropProps extends DialogPrimitive.BackdropProps {
|
|
31
|
+
}
|
|
32
|
+
export declare const AlertDialogBackdrop: ForwardRefExoticComponent<AlertDialogBackdropProps & RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export interface AlertDialogContentProps extends DialogPrimitive.ContentProps {
|
|
34
|
+
}
|
|
35
|
+
export declare const AlertDialogContent: ForwardRefExoticComponent<AlertDialogContentProps & RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export interface AlertDialogHeaderProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
37
|
+
}
|
|
38
|
+
export declare const AlertDialogHeader: ForwardRefExoticComponent<AlertDialogHeaderProps & RefAttributes<HTMLDivElement>>;
|
|
39
|
+
export interface AlertDialogTitleProps extends DialogPrimitive.TitleProps {
|
|
40
|
+
}
|
|
41
|
+
export declare const AlertDialogTitle: ForwardRefExoticComponent<AlertDialogTitleProps & RefAttributes<HTMLHeadingElement>>;
|
|
42
|
+
export interface AlertDialogDescriptionProps extends DialogPrimitive.DescriptionProps {
|
|
43
|
+
}
|
|
44
|
+
export declare const AlertDialogDescription: ForwardRefExoticComponent<AlertDialogDescriptionProps & RefAttributes<HTMLParagraphElement>>;
|
|
45
|
+
export interface AlertDialogFooterProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
46
|
+
}
|
|
47
|
+
export declare const AlertDialogFooter: ForwardRefExoticComponent<AlertDialogFooterProps & RefAttributes<HTMLDivElement>>;
|
|
48
|
+
export interface AlertDialogActionProps extends DialogPrimitive.CloseButtonProps {
|
|
49
|
+
}
|
|
50
|
+
export declare const AlertDialogAction: ForwardRefExoticComponent<DialogPrimitive.CloseButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
51
|
+
//# sourceMappingURL=AlertDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../../src/components/AlertDialog/AlertDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAOlG,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB,EAAE,eAAe,CAAC,SAAS;IAC9F;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACzC;;OAEG;IACH,sBAAsB,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;IAC7E;;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,eAAO,MAAM,eAAe,iEAO1B,CAAC;AAIH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,CAAC,YAAY;CAAG;AAEhF,eAAO,MAAM,kBAAkB,4HAA0B,CAAC;AAI1D,MAAM,WAAW,0BAA2B,SAAQ,eAAe,CAAC,eAAe;CAAG;AAEtF,eAAO,MAAM,qBAAqB,uHAGjC,CAAC;AAIF,MAAM,WAAW,wBAAyB,SAAQ,eAAe,CAAC,aAAa;CAAG;AAElF,eAAO,MAAM,mBAAmB,qHAG/B,CAAC;AAIF,MAAM,WAAW,uBAAwB,SAAQ,eAAe,CAAC,YAAY;CAAG;AAEhF,eAAO,MAAM,kBAAkB,oHAG9B,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,qBAAsB,SAAQ,eAAe,CAAC,UAAU;CAAG;AAE5E,eAAO,MAAM,gBAAgB,sHAG5B,CAAC;AAIF,MAAM,WAAW,2BAA4B,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAExF,eAAO,MAAM,sBAAsB,8HAGU,CAAC;AAI9C,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,sBAAuB,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAEnF,eAAO,MAAM,iBAAiB,gIAA8B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
|
+
import { Primitive } from "@seed-design/react-primitive";
|
|
4
|
+
import { Dialog } from "@seed-design/react-dialog";
|
|
5
|
+
import { alertDialog } from "@seed-design/css/recipes/alert-dialog";
|
|
6
|
+
//#region src/components/AlertDialog/AlertDialog.tsx
|
|
7
|
+
var { withRootProvider, withContext } = createSlotRecipeContext(alertDialog);
|
|
8
|
+
var AlertDialogRoot = withRootProvider(Dialog.Root, { defaultProps: {
|
|
9
|
+
role: "alertdialog",
|
|
10
|
+
closeOnInteractOutside: false,
|
|
11
|
+
lazyMount: true,
|
|
12
|
+
unmountOnExit: true
|
|
13
|
+
} });
|
|
14
|
+
var AlertDialogTrigger = Dialog.Trigger;
|
|
15
|
+
var AlertDialogPositioner = withContext(Dialog.Positioner, "positioner");
|
|
16
|
+
var AlertDialogBackdrop = withContext(Dialog.Backdrop, "backdrop");
|
|
17
|
+
var AlertDialogContent = withContext(Dialog.Content, "content");
|
|
18
|
+
var AlertDialogHeader = withContext(Primitive.div, "header");
|
|
19
|
+
var AlertDialogTitle = withContext(Dialog.Title, "title");
|
|
20
|
+
var AlertDialogDescription = withContext(Dialog.Description, "description");
|
|
21
|
+
var AlertDialogFooter = withContext(Primitive.div, "footer");
|
|
22
|
+
var AlertDialogAction = Dialog.CloseButton;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { AlertDialogAction, AlertDialogBackdrop, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPositioner, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_AlertDialog = require("./AlertDialog.cjs");
|
|
3
|
+
//#region src/components/AlertDialog/AlertDialog.namespace.ts
|
|
4
|
+
var AlertDialog_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
+
Action: () => require_AlertDialog.AlertDialogAction,
|
|
6
|
+
Backdrop: () => require_AlertDialog.AlertDialogBackdrop,
|
|
7
|
+
Content: () => require_AlertDialog.AlertDialogContent,
|
|
8
|
+
Description: () => require_AlertDialog.AlertDialogDescription,
|
|
9
|
+
Footer: () => require_AlertDialog.AlertDialogFooter,
|
|
10
|
+
Header: () => require_AlertDialog.AlertDialogHeader,
|
|
11
|
+
Positioner: () => require_AlertDialog.AlertDialogPositioner,
|
|
12
|
+
Root: () => require_AlertDialog.AlertDialogRoot,
|
|
13
|
+
Title: () => require_AlertDialog.AlertDialogTitle,
|
|
14
|
+
Trigger: () => require_AlertDialog.AlertDialogTrigger
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
Object.defineProperty(exports, "AlertDialog_namespace_exports", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function() {
|
|
20
|
+
return AlertDialog_namespace_exports;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AlertDialogBackdrop as Backdrop, AlertDialogPositioner as Positioner, AlertDialogContent as Content, AlertDialogDescription as Description, AlertDialogFooter as Footer, AlertDialogHeader as Header, AlertDialogRoot as Root, AlertDialogTitle as Title, AlertDialogTrigger as Trigger, AlertDialogAction as Action, type AlertDialogBackdropProps as BackdropProps, type AlertDialogPositionerProps as PositionerProps, type AlertDialogContentProps as ContentProps, type AlertDialogDescriptionProps as DescriptionProps, type AlertDialogFooterProps as FooterProps, type AlertDialogHeaderProps as HeaderProps, type AlertDialogRootProps as RootProps, type AlertDialogTitleProps as TitleProps, type AlertDialogTriggerProps as TriggerProps, type AlertDialogActionProps as ActionProps, } from './AlertDialog';
|
|
2
|
+
//# sourceMappingURL=AlertDialog.namespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/AlertDialog/AlertDialog.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,qBAAqB,IAAI,UAAU,EACnC,kBAAkB,IAAI,OAAO,EAC7B,sBAAsB,IAAI,WAAW,EACrC,iBAAiB,IAAI,MAAM,EAC3B,iBAAiB,IAAI,MAAM,EAC3B,eAAe,IAAI,IAAI,EACvB,gBAAgB,IAAI,KAAK,EACzB,kBAAkB,IAAI,OAAO,EAC7B,iBAAiB,IAAI,MAAM,EAC3B,KAAK,wBAAwB,IAAI,aAAa,EAC9C,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,2BAA2B,IAAI,gBAAgB,EACpD,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,qBAAqB,IAAI,UAAU,EACxC,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,sBAAsB,IAAI,WAAW,GAC3C,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { AlertDialogAction, AlertDialogBackdrop, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPositioner, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger } from "./AlertDialog.js";
|
|
3
|
+
//#region src/components/AlertDialog/AlertDialog.namespace.ts
|
|
4
|
+
var AlertDialog_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
Action: () => AlertDialogAction,
|
|
6
|
+
Backdrop: () => AlertDialogBackdrop,
|
|
7
|
+
Content: () => AlertDialogContent,
|
|
8
|
+
Description: () => AlertDialogDescription,
|
|
9
|
+
Footer: () => AlertDialogFooter,
|
|
10
|
+
Header: () => AlertDialogHeader,
|
|
11
|
+
Positioner: () => AlertDialogPositioner,
|
|
12
|
+
Root: () => AlertDialogRoot,
|
|
13
|
+
Title: () => AlertDialogTitle,
|
|
14
|
+
Trigger: () => AlertDialogTrigger
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AlertDialog_namespace_exports };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.test.d.ts","sourceRoot":"","sources":["../../../src/components/AlertDialog/AlertDialog.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_AlertDialog = require("./AlertDialog.cjs");
|
|
3
|
+
const require_AlertDialog_namespace = require("./AlertDialog.namespace.cjs");
|
|
4
|
+
Object.defineProperty(exports, "AlertDialog", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: function() {
|
|
7
|
+
return require_AlertDialog_namespace.AlertDialog_namespace_exports;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
exports.AlertDialogAction = require_AlertDialog.AlertDialogAction;
|
|
11
|
+
exports.AlertDialogBackdrop = require_AlertDialog.AlertDialogBackdrop;
|
|
12
|
+
exports.AlertDialogContent = require_AlertDialog.AlertDialogContent;
|
|
13
|
+
exports.AlertDialogDescription = require_AlertDialog.AlertDialogDescription;
|
|
14
|
+
exports.AlertDialogFooter = require_AlertDialog.AlertDialogFooter;
|
|
15
|
+
exports.AlertDialogHeader = require_AlertDialog.AlertDialogHeader;
|
|
16
|
+
exports.AlertDialogPositioner = require_AlertDialog.AlertDialogPositioner;
|
|
17
|
+
exports.AlertDialogRoot = require_AlertDialog.AlertDialogRoot;
|
|
18
|
+
exports.AlertDialogTitle = require_AlertDialog.AlertDialogTitle;
|
|
19
|
+
exports.AlertDialogTrigger = require_AlertDialog.AlertDialogTrigger;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AlertDialogBackdrop, AlertDialogPositioner, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, AlertDialogAction, type AlertDialogBackdropProps, type AlertDialogPositionerProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogHeaderProps, type AlertDialogRootProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AlertDialogActionProps, } from './AlertDialog';
|
|
2
|
+
export * as AlertDialog from './AlertDialog.namespace';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AlertDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,GAC5B,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AlertDialogAction, AlertDialogBackdrop, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPositioner, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger } from "./AlertDialog.js";
|
|
2
|
+
import { AlertDialog_namespace_exports } from "./AlertDialog.namespace.js";
|
|
3
|
+
export { AlertDialog_namespace_exports as AlertDialog, AlertDialogAction, AlertDialogBackdrop, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPositioner, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -4,7 +4,6 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
6
6
|
const require_Icon = require("../private/Icon.cjs");
|
|
7
|
-
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
8
7
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
9
8
|
let clsx = require("clsx");
|
|
10
9
|
clsx = require_runtime.__toESM(clsx);
|
|
@@ -14,6 +13,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
14
13
|
let _seed_design_css_recipes_field = require("@seed-design/css/recipes/field");
|
|
15
14
|
let _seed_design_css_recipes_field_label = require("@seed-design/css/recipes/field-label");
|
|
16
15
|
let _seed_design_css_recipes_attachment_input = require("@seed-design/css/recipes/attachment-input");
|
|
16
|
+
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
17
17
|
//#region src/components/AttachmentDisplay/AttachmentDisplay.tsx
|
|
18
18
|
var { withProvider: withAttachmentInputProvider, withContext: withAttachmentInputContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input.attachmentInput);
|
|
19
19
|
var { withProvider: withFieldProvider, withContext: withFieldContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_field.field);
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { createWithStateProps } from "../../utils/createWithStateProps.js";
|
|
5
5
|
import { InternalIcon } from "../private/Icon.js";
|
|
6
|
-
import { AttachmentDisplay, useAttachmentDisplayContext } from "@seed-design/react-attachment-display";
|
|
7
6
|
import { Primitive } from "@seed-design/react-primitive";
|
|
8
7
|
import clsx$1 from "clsx";
|
|
9
8
|
import * as React$1 from "react";
|
|
@@ -11,6 +10,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
11
10
|
import { field } from "@seed-design/css/recipes/field";
|
|
12
11
|
import { fieldLabel } from "@seed-design/css/recipes/field-label";
|
|
13
12
|
import { attachmentInput } from "@seed-design/css/recipes/attachment-input";
|
|
13
|
+
import { AttachmentDisplay, useAttachmentDisplayContext } from "@seed-design/react-attachment-display";
|
|
14
14
|
//#region src/components/AttachmentDisplay/AttachmentDisplay.tsx
|
|
15
15
|
var { withProvider: withAttachmentInputProvider, withContext: withAttachmentInputContext } = createSlotRecipeContext(attachmentInput);
|
|
16
16
|
var { withProvider: withFieldProvider, withContext: withFieldContext } = createSlotRecipeContext(field);
|
|
@@ -4,7 +4,6 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_createRenderTrackingContext = require("../../utils/createRenderTrackingContext.cjs");
|
|
6
6
|
const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
|
|
7
|
-
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
8
7
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
9
8
|
let clsx = require("clsx");
|
|
10
9
|
clsx = require_runtime.__toESM(clsx);
|
|
@@ -14,6 +13,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
14
13
|
let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
15
14
|
let _seed_design_react_scale_feedback = require("@seed-design/react-scale-feedback");
|
|
16
15
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
16
|
+
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
17
17
|
let _seed_design_css_recipes_attachment_input_item = require("@seed-design/css/recipes/attachment-input-item");
|
|
18
18
|
//#region src/components/AttachmentDisplay/AttachmentDisplayItem.tsx
|
|
19
19
|
var { useClassNames, ClassNamesProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input_item.attachmentInputItem);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentDisplayItem.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentDisplay/AttachmentDisplayItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EACL,iBAAiB,IAAI,0BAA0B,EAI/C,KAAK,gBAAgB,EACtB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,0BACf,SAAQ,IAAI,CAAC,+BAA+B,EAAE,MAAM,CAAC,EACnD,cAAc,EACd,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IACvC,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,kGA4BjC,CAAC;AAKF,MAAM,WAAW,+BACf,SAAQ,0BAA0B,CAAC,cAAc;CAAG;AAEtD,eAAO,MAAM,0BAA0B,0GAGS,CAAC;AAIjD,MAAM,WAAW,mCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,8BAA8B,4GAiBzC,CAAC;AAMH,MAAM,WAAW,kCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,6BAA6B,2GAiBxC,CAAC;AAMH,MAAM,WAAW,kCACf,SAAQ,0BAA0B,CAAC,iBAAiB;CAAG;AAEzD,eAAO,MAAM,6BAA6B,2GAcxC,CAAC;AAMH,MAAM,WAAW,+BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"AttachmentDisplayItem.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentDisplay/AttachmentDisplayItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EACL,iBAAiB,IAAI,0BAA0B,EAI/C,KAAK,gBAAgB,EACtB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,0BACf,SAAQ,IAAI,CAAC,+BAA+B,EAAE,MAAM,CAAC,EACnD,cAAc,EACd,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IACvC,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,kGA4BjC,CAAC;AAKF,MAAM,WAAW,+BACf,SAAQ,0BAA0B,CAAC,cAAc;CAAG;AAEtD,eAAO,MAAM,0BAA0B,0GAGS,CAAC;AAIjD,MAAM,WAAW,mCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,8BAA8B,4GAiBzC,CAAC;AAMH,MAAM,WAAW,kCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,6BAA6B,2GAiBxC,CAAC;AAMH,MAAM,WAAW,kCACf,SAAQ,0BAA0B,CAAC,iBAAiB;CAAG;AAEzD,eAAO,MAAM,6BAA6B,2GAcxC,CAAC;AAMH,MAAM,WAAW,+BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,0BAA0B,wGAarC,CAAC;AAKH,MAAM,WAAW,sCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,iCAAiC,kHAe5C,CAAC;AAKH,MAAM,WAAW,sCACf,SAAQ,0BAA0B,CAAC,qBAAqB;CAAG;AAE7D,eAAO,MAAM,iCAAiC,kHAK7C,CAAC"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { createRenderTrackingContext } from "../../utils/createRenderTrackingContext.js";
|
|
5
5
|
import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
|
|
6
|
-
import { AttachmentDisplay, AttachmentDisplayItemProvider, useAttachmentDisplayContext, useAttachmentDisplayItem } from "@seed-design/react-attachment-display";
|
|
7
6
|
import { Primitive } from "@seed-design/react-primitive";
|
|
8
7
|
import clsx$1 from "clsx";
|
|
9
8
|
import * as React$1 from "react";
|
|
@@ -11,6 +10,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
11
10
|
import { composeRefs, useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
12
11
|
import { useScaleFeedback } from "@seed-design/react-scale-feedback";
|
|
13
12
|
import { dataAttr } from "@seed-design/dom-utils";
|
|
13
|
+
import { AttachmentDisplay, AttachmentDisplayItemProvider, useAttachmentDisplayContext, useAttachmentDisplayItem } from "@seed-design/react-attachment-display";
|
|
14
14
|
import { attachmentInputItem } from "@seed-design/css/recipes/attachment-input-item";
|
|
15
15
|
//#region src/components/AttachmentDisplay/AttachmentDisplayItem.tsx
|
|
16
16
|
var { useClassNames, ClassNamesProvider, withContext } = createSlotRecipeContext(attachmentInputItem);
|
|
@@ -4,7 +4,6 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
|
|
6
6
|
const require_Icon = require("../private/Icon.cjs");
|
|
7
|
-
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
8
7
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
9
8
|
let clsx = require("clsx");
|
|
10
9
|
clsx = require_runtime.__toESM(clsx);
|
|
@@ -12,6 +11,7 @@ let react = require("react");
|
|
|
12
11
|
react = require_runtime.__toESM(react);
|
|
13
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
13
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
14
|
+
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
15
15
|
let _seed_design_css_recipes_attachment_input_trigger = require("@seed-design/css/recipes/attachment-input-trigger");
|
|
16
16
|
//#region src/components/AttachmentDisplay/AttachmentDisplayTrigger.tsx
|
|
17
17
|
var { withProvider, useClassNames } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input_trigger.attachmentInputTrigger);
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
|
|
5
5
|
import { InternalIcon } from "../private/Icon.js";
|
|
6
|
-
import { AttachmentDisplay, useAttachmentDisplayContext } from "@seed-design/react-attachment-display";
|
|
7
6
|
import { Primitive } from "@seed-design/react-primitive";
|
|
8
7
|
import clsx$1 from "clsx";
|
|
9
8
|
import * as React$1 from "react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { mergeProps } from "@seed-design/dom-utils";
|
|
11
|
+
import { AttachmentDisplay, useAttachmentDisplayContext } from "@seed-design/react-attachment-display";
|
|
12
12
|
import { attachmentInputTrigger } from "@seed-design/css/recipes/attachment-input-trigger";
|
|
13
13
|
//#region src/components/AttachmentDisplay/AttachmentDisplayTrigger.tsx
|
|
14
14
|
var { withProvider, useClassNames } = createSlotRecipeContext(attachmentInputTrigger);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
3
|
const require_AttachmentDisplay = require("./AttachmentDisplay.cjs");
|
|
3
4
|
const require_AttachmentDisplayItem = require("./AttachmentDisplayItem.cjs");
|
|
4
5
|
const require_AttachmentDisplayTrigger = require("./AttachmentDisplayTrigger.cjs");
|
|
5
6
|
const require_AttachmentDisplay_namespace = require("./AttachmentDisplay.namespace.cjs");
|
|
7
|
+
let _seed_design_react_attachment_display = require("@seed-design/react-attachment-display");
|
|
6
8
|
Object.defineProperty(exports, "AttachmentDisplay", {
|
|
7
9
|
enumerable: true,
|
|
8
10
|
get: function() {
|
|
@@ -32,3 +34,9 @@ exports.AttachmentDisplayRoot = require_AttachmentDisplay.AttachmentDisplayRoot;
|
|
|
32
34
|
exports.AttachmentDisplayTrigger = require_AttachmentDisplayTrigger.AttachmentDisplayTrigger;
|
|
33
35
|
exports.AttachmentDisplayTriggerIcon = require_AttachmentDisplayTrigger.AttachmentDisplayTriggerIcon;
|
|
34
36
|
exports.AttachmentDisplayTriggerItemCount = require_AttachmentDisplayTrigger.AttachmentDisplayTriggerItemCount;
|
|
37
|
+
Object.defineProperty(exports, "useAttachmentDisplayContext", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function() {
|
|
40
|
+
return _seed_design_react_attachment_display.useAttachmentDisplayContext;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
@@ -3,4 +3,6 @@ export { AttachmentDisplayContext, type AttachmentDisplayContextProps, } from '.
|
|
|
3
3
|
export { AttachmentDisplayItem, AttachmentDisplayItemActionButton, AttachmentDisplayItemBackdrop, AttachmentDisplayItemBadge, AttachmentDisplayItemImage, AttachmentDisplayItemMetadata, AttachmentDisplayItemRemoveButton, AttachmentDisplayItemThumbnail, type AttachmentDisplayItemActionButtonProps, type AttachmentDisplayItemBackdropProps, type AttachmentDisplayItemBadgeProps, type AttachmentDisplayItemImageProps, type AttachmentDisplayItemMetadataProps, type AttachmentDisplayItemProps, type AttachmentDisplayItemRemoveButtonProps, type AttachmentDisplayItemThumbnailProps, } from './AttachmentDisplayItem';
|
|
4
4
|
export { AttachmentDisplayTrigger, AttachmentDisplayTriggerIcon, AttachmentDisplayTriggerItemCount, type AttachmentDisplayTriggerIconProps, type AttachmentDisplayTriggerItemCountProps, type AttachmentDisplayTriggerProps, } from './AttachmentDisplayTrigger';
|
|
5
5
|
export * as AttachmentDisplay from './AttachmentDisplay.namespace';
|
|
6
|
+
export { useAttachmentDisplayContext, type UseAttachmentDisplayContext as AttachmentDisplayContextValue, } from '@seed-design/react-attachment-display';
|
|
7
|
+
export type { DisplayItemEntry as AttachmentDisplayItemEntry, DisplayItemStatusDetails as AttachmentDisplayItemStatusDetails, } from '@seed-design/react-attachment-display';
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,uCAAuC,EAC5C,KAAK,0BAA0B,GAChC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,iCAAiC,EACjC,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,iCAAiC,EACjC,8BAA8B,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,GACzC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,iCAAiC,EACjC,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,uCAAuC,EAC5C,KAAK,0BAA0B,GAChC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,iCAAiC,EACjC,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,iCAAiC,EACjC,8BAA8B,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAC/B,KAAK,sCAAsC,EAC3C,KAAK,mCAAmC,GACzC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,iCAAiC,EACjC,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EACL,2BAA2B,EAC3B,KAAK,2BAA2B,IAAI,6BAA6B,GAClE,MAAM,uCAAuC,CAAC;AAE/C,YAAY,EACV,gBAAgB,IAAI,0BAA0B,EAC9C,wBAAwB,IAAI,kCAAkC,GAC/D,MAAM,uCAAuC,CAAC"}
|
|
@@ -2,4 +2,5 @@ import { AttachmentDisplayContainer, AttachmentDisplayContext, AttachmentDisplay
|
|
|
2
2
|
import { AttachmentDisplayItem, AttachmentDisplayItemActionButton, AttachmentDisplayItemBackdrop, AttachmentDisplayItemBadge, AttachmentDisplayItemImage, AttachmentDisplayItemMetadata, AttachmentDisplayItemRemoveButton, AttachmentDisplayItemThumbnail } from "./AttachmentDisplayItem.js";
|
|
3
3
|
import { AttachmentDisplayTrigger, AttachmentDisplayTriggerIcon, AttachmentDisplayTriggerItemCount } from "./AttachmentDisplayTrigger.js";
|
|
4
4
|
import { AttachmentDisplay_namespace_exports } from "./AttachmentDisplay.namespace.js";
|
|
5
|
-
|
|
5
|
+
import { useAttachmentDisplayContext } from "@seed-design/react-attachment-display";
|
|
6
|
+
export { AttachmentDisplay_namespace_exports as AttachmentDisplay, AttachmentDisplayContainer, AttachmentDisplayContext, AttachmentDisplayControl, AttachmentDisplayDescription, AttachmentDisplayErrorMessage, AttachmentDisplayFooter, AttachmentDisplayHeader, AttachmentDisplayIndicatorText, AttachmentDisplayItem, AttachmentDisplayItemActionButton, AttachmentDisplayItemBackdrop, AttachmentDisplayItemBadge, AttachmentDisplayItemGroup, AttachmentDisplayItemImage, AttachmentDisplayItemMetadata, AttachmentDisplayItemRemoveButton, AttachmentDisplayItemThumbnail, AttachmentDisplayLabel, AttachmentDisplayRequiredIndicator, AttachmentDisplayRoot, AttachmentDisplayTrigger, AttachmentDisplayTriggerIcon, AttachmentDisplayTriggerItemCount, useAttachmentDisplayContext };
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
6
|
-
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
7
6
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
8
7
|
let react = require("react");
|
|
9
8
|
react = require_runtime.__toESM(react);
|
|
@@ -11,6 +10,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
11
10
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
12
11
|
let _seed_design_react_field = require("@seed-design/react-field");
|
|
13
12
|
let _seed_design_css_recipes_attachment_input = require("@seed-design/css/recipes/attachment-input");
|
|
13
|
+
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
14
14
|
//#region src/components/AttachmentInput/AttachmentInput.tsx
|
|
15
15
|
var { withProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input.attachmentInput);
|
|
16
16
|
var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_file_upload.useFileUploadContext]);
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { createWithStateProps } from "../../utils/createWithStateProps.js";
|
|
5
|
-
import { FileUpload, useFileUploadContext } from "@seed-design/react-file-upload";
|
|
6
5
|
import { Primitive } from "@seed-design/react-primitive";
|
|
7
6
|
import * as React$1 from "react";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
9
8
|
import { mergeProps } from "@seed-design/dom-utils";
|
|
10
9
|
import { useFieldContext } from "@seed-design/react-field";
|
|
11
10
|
import { attachmentInput } from "@seed-design/css/recipes/attachment-input";
|
|
11
|
+
import { FileUpload, useFileUploadContext } from "@seed-design/react-file-upload";
|
|
12
12
|
//#region src/components/AttachmentInput/AttachmentInput.tsx
|
|
13
13
|
var { withProvider, withContext } = createSlotRecipeContext(attachmentInput);
|
|
14
14
|
var withStateProps = createWithStateProps([useFileUploadContext]);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
4
|
const require_AttachmentInput = require("./AttachmentInput.cjs");
|
|
5
|
-
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
6
5
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
6
|
+
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
7
7
|
//#region src/components/AttachmentInput/AttachmentInputDropzone.tsx
|
|
8
8
|
var AttachmentInputDropzone = require_AttachmentInput.withContext(_seed_design_react_file_upload.FileUpload.Dropzone, "dropzone");
|
|
9
9
|
var AttachmentInputDropzoneLabel = require_AttachmentInput.withContext(_seed_design_react_primitive.Primitive.div, "dropzoneLabel");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
import { withContext } from "./AttachmentInput.js";
|
|
4
|
-
import { FileUpload } from "@seed-design/react-file-upload";
|
|
5
4
|
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
+
import { FileUpload } from "@seed-design/react-file-upload";
|
|
6
6
|
//#region src/components/AttachmentInput/AttachmentInputDropzone.tsx
|
|
7
7
|
var AttachmentInputDropzone = withContext(FileUpload.Dropzone, "dropzone");
|
|
8
8
|
var AttachmentInputDropzoneLabel = withContext(Primitive.div, "dropzoneLabel");
|
|
@@ -4,8 +4,6 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_createRenderTrackingContext = require("../../utils/createRenderTrackingContext.cjs");
|
|
6
6
|
const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
|
|
7
|
-
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
8
|
-
let _seed_design_react_middle_truncate = require("@seed-design/react-middle-truncate");
|
|
9
7
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
10
8
|
let clsx = require("clsx");
|
|
11
9
|
clsx = require_runtime.__toESM(clsx);
|
|
@@ -16,6 +14,8 @@ let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
|
16
14
|
let _seed_design_react_scale_feedback = require("@seed-design/react-scale-feedback");
|
|
17
15
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
18
16
|
let _seed_design_css_recipes_attachment_input_item = require("@seed-design/css/recipes/attachment-input-item");
|
|
17
|
+
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
18
|
+
let _seed_design_react_middle_truncate = require("@seed-design/react-middle-truncate");
|
|
19
19
|
//#region src/components/AttachmentInput/AttachmentInputItem.tsx
|
|
20
20
|
var { useClassNames, ClassNamesProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input_item.attachmentInputItem);
|
|
21
21
|
var overlayTracker = require_createRenderTrackingContext.createRenderTrackingContext("AttachmentInputItemOverlay");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentInputItem.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentInput/AttachmentInputItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EACL,UAAU,IAAI,mBAAmB,EAKjC,KAAK,SAAS,EAEf,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAY9E,MAAM,WAAW,wBACf,SAAQ,+BAA+B,EACrC,cAAc,EACd,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IACvC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,gGA4B/B,CAAC;AAKF,MAAM,WAAW,4BACf,SAAQ,cAAc,EACpB,mBAAmB,CAAC,aAAa;CAAG;AAExC,eAAO,MAAM,uBAAuB,sGAiBlC,CAAC;AAKH,MAAM,WAAW,4BAA6B,SAAQ,mBAAmB,CAAC,aAAa;CAAG;AAE1F,eAAO,MAAM,uBAAuB,sGAalC,CAAC;AAKH,MAAM,WAAW,oCACf,SAAQ,mBAAmB,CAAC,qBAAqB;CAAG;AAEtD,eAAO,MAAM,+BAA+B,gHAK3C,CAAC;AAEF,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB,CAAC,cAAc;CAAG;AAE5F,eAAO,MAAM,wBAAwB,wGAGI,CAAC;AAE1C,MAAM,WAAW,iCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAG3C,eAAO,MAAM,4BAA4B,0GAiBvC,CAAC;AAMH,MAAM,WAAW,6BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"AttachmentInputItem.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentInput/AttachmentInputItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EACL,UAAU,IAAI,mBAAmB,EAKjC,KAAK,SAAS,EAEf,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAY9E,MAAM,WAAW,wBACf,SAAQ,+BAA+B,EACrC,cAAc,EACd,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IACvC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,gGA4B/B,CAAC;AAKF,MAAM,WAAW,4BACf,SAAQ,cAAc,EACpB,mBAAmB,CAAC,aAAa;CAAG;AAExC,eAAO,MAAM,uBAAuB,sGAiBlC,CAAC;AAKH,MAAM,WAAW,4BAA6B,SAAQ,mBAAmB,CAAC,aAAa;CAAG;AAE1F,eAAO,MAAM,uBAAuB,sGAalC,CAAC;AAKH,MAAM,WAAW,oCACf,SAAQ,mBAAmB,CAAC,qBAAqB;CAAG;AAEtD,eAAO,MAAM,+BAA+B,gHAK3C,CAAC;AAEF,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB,CAAC,cAAc;CAAG;AAE5F,eAAO,MAAM,wBAAwB,wGAGI,CAAC;AAE1C,MAAM,WAAW,iCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAG3C,eAAO,MAAM,4BAA4B,0GAiBvC,CAAC;AAMH,MAAM,WAAW,6BACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,wBAAwB,sGAanC,CAAC;AAKH,MAAM,WAAW,oCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD,eAAO,MAAM,+BAA+B,gHAe1C,CAAC;AAKH,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB,CAAC,iBAAiB;CAAG;AAElG,eAAO,MAAM,2BAA2B,yGActC,CAAC;AAMH,MAAM,WAAW,gCACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,2BAA2B,yGAiBtC,CAAC"}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { createRenderTrackingContext } from "../../utils/createRenderTrackingContext.js";
|
|
5
5
|
import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
|
|
6
|
-
import { FileUpload, FileUploadItemProvider, splitFileName, useFileUploadContext, useFileUploadItem, useFileUploadItemContext } from "@seed-design/react-file-upload";
|
|
7
|
-
import { MiddleTruncate } from "@seed-design/react-middle-truncate";
|
|
8
6
|
import { Primitive } from "@seed-design/react-primitive";
|
|
9
7
|
import clsx$1 from "clsx";
|
|
10
8
|
import * as React$1 from "react";
|
|
@@ -13,6 +11,8 @@ import { composeRefs, useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
|
13
11
|
import { useScaleFeedback } from "@seed-design/react-scale-feedback";
|
|
14
12
|
import { dataAttr } from "@seed-design/dom-utils";
|
|
15
13
|
import { attachmentInputItem } from "@seed-design/css/recipes/attachment-input-item";
|
|
14
|
+
import { FileUpload, FileUploadItemProvider, splitFileName, useFileUploadContext, useFileUploadItem, useFileUploadItemContext } from "@seed-design/react-file-upload";
|
|
15
|
+
import { MiddleTruncate } from "@seed-design/react-middle-truncate";
|
|
16
16
|
//#region src/components/AttachmentInput/AttachmentInputItem.tsx
|
|
17
17
|
var { useClassNames, ClassNamesProvider, withContext } = createSlotRecipeContext(attachmentInputItem);
|
|
18
18
|
var overlayTracker = createRenderTrackingContext("AttachmentInputItemOverlay");
|
|
@@ -4,7 +4,6 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
5
|
const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
|
|
6
6
|
const require_Icon = require("../private/Icon.cjs");
|
|
7
|
-
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
8
7
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
9
8
|
let clsx = require("clsx");
|
|
10
9
|
clsx = require_runtime.__toESM(clsx);
|
|
@@ -13,6 +12,7 @@ react = require_runtime.__toESM(react);
|
|
|
13
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
13
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
15
14
|
let _seed_design_css_recipes_attachment_input_trigger = require("@seed-design/css/recipes/attachment-input-trigger");
|
|
15
|
+
let _seed_design_react_file_upload = require("@seed-design/react-file-upload");
|
|
16
16
|
//#region src/components/AttachmentInput/AttachmentInputTrigger.tsx
|
|
17
17
|
var { withProvider, useClassNames } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_attachment_input_trigger.attachmentInputTrigger);
|
|
18
18
|
var AttachmentInputTrigger = require_withScaleFeedback.withScaleFeedback(withProvider(_seed_design_react_file_upload.FileUpload.Trigger, "root"));
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
4
|
import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
|
|
5
5
|
import { InternalIcon } from "../private/Icon.js";
|
|
6
|
-
import { FileUpload, useFileUploadContext } from "@seed-design/react-file-upload";
|
|
7
6
|
import { Primitive } from "@seed-design/react-primitive";
|
|
8
7
|
import clsx$1 from "clsx";
|
|
9
8
|
import * as React$1 from "react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { mergeProps } from "@seed-design/dom-utils";
|
|
12
11
|
import { attachmentInputTrigger } from "@seed-design/css/recipes/attachment-input-trigger";
|
|
12
|
+
import { FileUpload, useFileUploadContext } from "@seed-design/react-file-upload";
|
|
13
13
|
//#region src/components/AttachmentInput/AttachmentInputTrigger.tsx
|
|
14
14
|
var { withProvider, useClassNames } = createSlotRecipeContext(attachmentInputTrigger);
|
|
15
15
|
var AttachmentInputTrigger = withScaleFeedback(withProvider(FileUpload.Trigger, "root"));
|