@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,33 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
|
-
import { DismissibleCloseButton, DismissibleRoot } from "../private/useDismissible.js";
|
|
4
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
-
import { inlineBanner } from "@seed-design/css/recipes/inline-banner";
|
|
6
|
-
//#region src/components/InlineBanner/InlineBanner.tsx
|
|
7
|
-
var { withContext, withProvider } = createSlotRecipeContext(inlineBanner);
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `PageBanner` instead.
|
|
10
|
-
*/
|
|
11
|
-
var InlineBannerRoot = withProvider(DismissibleRoot, "root");
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use `PageBanner` instead.
|
|
14
|
-
*/
|
|
15
|
-
var InlineBannerContent = withContext(Primitive.div, "content");
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated Use `PageBanner` instead.
|
|
18
|
-
*/
|
|
19
|
-
var InlineBannerTitle = withContext(Primitive.span, "title");
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `PageBanner` instead.
|
|
22
|
-
*/
|
|
23
|
-
var InlineBannerDescription = withContext(Primitive.span, "description");
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated Use `PageBanner` instead.
|
|
26
|
-
*/
|
|
27
|
-
var InlineBannerLink = withContext(Primitive.button, "link");
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use `PageBanner` instead.
|
|
30
|
-
*/
|
|
31
|
-
var InlineBannerCloseButton = withContext(DismissibleCloseButton, "closeButton");
|
|
32
|
-
//#endregion
|
|
33
|
-
export { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
-
const require_InlineBanner = require("./InlineBanner.cjs");
|
|
3
|
-
//#region src/components/InlineBanner/InlineBanner.namespace.ts
|
|
4
|
-
var InlineBanner_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
-
CloseButton: () => require_InlineBanner.InlineBannerCloseButton,
|
|
6
|
-
Content: () => require_InlineBanner.InlineBannerContent,
|
|
7
|
-
Description: () => require_InlineBanner.InlineBannerDescription,
|
|
8
|
-
Link: () => require_InlineBanner.InlineBannerLink,
|
|
9
|
-
Root: () => require_InlineBanner.InlineBannerRoot,
|
|
10
|
-
Title: () => require_InlineBanner.InlineBannerTitle
|
|
11
|
-
});
|
|
12
|
-
//#endregion
|
|
13
|
-
Object.defineProperty(exports, "InlineBanner_namespace_exports", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function() {
|
|
16
|
-
return InlineBanner_namespace_exports;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { InlineBannerCloseButton as CloseButton, InlineBannerContent as Content, InlineBannerDescription as Description, InlineBannerLink as Link, InlineBannerRoot as Root, InlineBannerTitle as Title, type InlineBannerCloseButtonProps as CloseButtonProps, type InlineBannerContentProps as ContentProps, type InlineBannerDescriptionProps as DescriptionProps, type InlineBannerLinkProps as LinkProps, type InlineBannerRootProps as RootProps, type InlineBannerTitleProps as TitleProps, } from './InlineBanner';
|
|
2
|
-
//# sourceMappingURL=InlineBanner.namespace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InlineBanner.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/InlineBanner/InlineBanner.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,IAAI,WAAW,EACtC,mBAAmB,IAAI,OAAO,EAC9B,uBAAuB,IAAI,WAAW,EACtC,gBAAgB,IAAI,IAAI,EACxB,gBAAgB,IAAI,IAAI,EACxB,iBAAiB,IAAI,KAAK,EAC1B,KAAK,4BAA4B,IAAI,gBAAgB,EACrD,KAAK,wBAAwB,IAAI,YAAY,EAC7C,KAAK,4BAA4B,IAAI,gBAAgB,EACrD,KAAK,qBAAqB,IAAI,SAAS,EACvC,KAAK,qBAAqB,IAAI,SAAS,EACvC,KAAK,sBAAsB,IAAI,UAAU,GAC1C,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle } from "./InlineBanner.js";
|
|
3
|
-
//#region src/components/InlineBanner/InlineBanner.namespace.ts
|
|
4
|
-
var InlineBanner_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
CloseButton: () => InlineBannerCloseButton,
|
|
6
|
-
Content: () => InlineBannerContent,
|
|
7
|
-
Description: () => InlineBannerDescription,
|
|
8
|
-
Link: () => InlineBannerLink,
|
|
9
|
-
Root: () => InlineBannerRoot,
|
|
10
|
-
Title: () => InlineBannerTitle
|
|
11
|
-
});
|
|
12
|
-
//#endregion
|
|
13
|
-
export { InlineBanner_namespace_exports };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_InlineBanner = require("./InlineBanner.cjs");
|
|
3
|
-
const require_InlineBanner_namespace = require("./InlineBanner.namespace.cjs");
|
|
4
|
-
Object.defineProperty(exports, "InlineBanner", {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
get: function() {
|
|
7
|
-
return require_InlineBanner_namespace.InlineBanner_namespace_exports;
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
exports.InlineBannerCloseButton = require_InlineBanner.InlineBannerCloseButton;
|
|
11
|
-
exports.InlineBannerContent = require_InlineBanner.InlineBannerContent;
|
|
12
|
-
exports.InlineBannerDescription = require_InlineBanner.InlineBannerDescription;
|
|
13
|
-
exports.InlineBannerLink = require_InlineBanner.InlineBannerLink;
|
|
14
|
-
exports.InlineBannerRoot = require_InlineBanner.InlineBannerRoot;
|
|
15
|
-
exports.InlineBannerTitle = require_InlineBanner.InlineBannerTitle;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle, type InlineBannerCloseButtonProps, type InlineBannerContentProps, type InlineBannerDescriptionProps, type InlineBannerLinkProps, type InlineBannerRootProps, type InlineBannerTitleProps, } from './InlineBanner';
|
|
2
|
-
export * as InlineBanner from './InlineBanner.namespace';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InlineBanner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle } from "./InlineBanner.js";
|
|
2
|
-
import { InlineBanner_namespace_exports } from "./InlineBanner.namespace.js";
|
|
3
|
-
export { InlineBanner_namespace_exports as InlineBanner, InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_styled = require("../../utils/styled.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_link_content = require("@seed-design/css/recipes/link-content");
|
|
7
|
-
//#region src/components/LinkContent/LinkContent.tsx
|
|
8
|
-
var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_link_content.linkContent);
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
11
|
-
*/
|
|
12
|
-
var LinkContent = withContext(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.span));
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.LinkContent = LinkContent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LinkContentVariantProps } from '@seed-design/css/recipes/link-content';
|
|
2
|
-
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
-
import { StyleProps } from '../../utils/styled';
|
|
4
|
-
import type * as React from "react";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
7
|
-
*/
|
|
8
|
-
export interface LinkContentProps extends LinkContentVariantProps, PrimitiveProps, Pick<StyleProps, "color">, Omit<React.HTMLAttributes<HTMLSpanElement>, "color"> {
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const LinkContent: React.ForwardRefExoticComponent<LinkContentProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
//# sourceMappingURL=LinkContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkContent.d.ts","sourceRoot":"","sources":["../../../src/components/LinkContent/LinkContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrE;;GAEG;AACH,MAAM,WAAW,gBACf,SAAQ,uBAAuB,EAC7B,cAAc,EACd,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EACzB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CAAG;AAE3D;;GAEG;AACH,eAAO,MAAM,WAAW,4FAEvB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { withStyleProps } from "../../utils/styled.js";
|
|
3
|
-
import { createRecipeContext } from "../../utils/createRecipeContext.js";
|
|
4
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
-
import { linkContent } from "@seed-design/css/recipes/link-content";
|
|
6
|
-
//#region src/components/LinkContent/LinkContent.tsx
|
|
7
|
-
var { withContext } = createRecipeContext(linkContent);
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
10
|
-
*/
|
|
11
|
-
var LinkContent = withContext(withStyleProps(Primitive.span));
|
|
12
|
-
//#endregion
|
|
13
|
-
export { LinkContent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LinkContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
|
-
const require_WheelPicker = require("../private/WheelPicker.cjs");
|
|
5
|
-
let clsx = require("clsx");
|
|
6
|
-
clsx = require_runtime.__toESM(clsx);
|
|
7
|
-
let react = require("react");
|
|
8
|
-
react = require_runtime.__toESM(react);
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
-
let _seed_design_css_recipes_time_picker = require("@seed-design/css/recipes/time-picker");
|
|
11
|
-
let _seed_design_react_time_picker = require("@seed-design/react-time-picker");
|
|
12
|
-
//#region src/components/TimePicker/TimePicker.tsx
|
|
13
|
-
var ITEM_SIZE = 44;
|
|
14
|
-
var VISIBLE_ITEM_COUNT = 5;
|
|
15
|
-
var DEFAULT_ARIA_LABELS = {
|
|
16
|
-
ko: {
|
|
17
|
-
root: "시간 선택",
|
|
18
|
-
period: "오전/오후",
|
|
19
|
-
hour: "시",
|
|
20
|
-
minute: "분"
|
|
21
|
-
},
|
|
22
|
-
en: {
|
|
23
|
-
root: "Select time",
|
|
24
|
-
period: "AM/PM",
|
|
25
|
-
hour: "Hour",
|
|
26
|
-
minute: "Minute"
|
|
27
|
-
},
|
|
28
|
-
ja: {
|
|
29
|
-
root: "時刻を選択",
|
|
30
|
-
period: "午前/午後",
|
|
31
|
-
hour: "時",
|
|
32
|
-
minute: "分"
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
function getDefaultAriaLabels(locale) {
|
|
36
|
-
const [canonicalLocale = "ko-KR"] = Intl.getCanonicalLocales(locale ?? "ko-KR");
|
|
37
|
-
const language = new Intl.Locale(canonicalLocale).language;
|
|
38
|
-
if (language === "ko") return DEFAULT_ARIA_LABELS.ko;
|
|
39
|
-
if (language === "ja") return DEFAULT_ARIA_LABELS.ja;
|
|
40
|
-
return DEFAULT_ARIA_LABELS.en;
|
|
41
|
-
}
|
|
42
|
-
var classNames = (0, _seed_design_css_recipes_time_picker.timePicker)();
|
|
43
|
-
var columnClassNames = {
|
|
44
|
-
period: classNames.periodColumn,
|
|
45
|
-
hour: classNames.hourColumn,
|
|
46
|
-
minute: classNames.minuteColumn
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* 휠을 스크롤하여 오전·오후, 시, 분을 선택하는 12시간제 시간 선택 컴포넌트입니다.
|
|
50
|
-
*
|
|
51
|
-
* 값은 오전·오후를 별도 필드로 나누지 않고 24시간 형식의 `TimePickerValue`로 주고받습니다.
|
|
52
|
-
*/
|
|
53
|
-
var TimePicker = react.forwardRef(({ value, defaultValue, onValueChange, minuteStep, locale, disabled, periodAriaLabel, hourAriaLabel, minuteAriaLabel, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, ...props }, ref) => {
|
|
54
|
-
const api = (0, _seed_design_react_time_picker.useTimePicker)({
|
|
55
|
-
value,
|
|
56
|
-
defaultValue,
|
|
57
|
-
onValueChange,
|
|
58
|
-
minuteStep,
|
|
59
|
-
locale,
|
|
60
|
-
disabled
|
|
61
|
-
});
|
|
62
|
-
const defaultAriaLabels = getDefaultAriaLabels(locale);
|
|
63
|
-
const ariaLabels = {
|
|
64
|
-
period: periodAriaLabel ?? defaultAriaLabels.period,
|
|
65
|
-
hour: hourAriaLabel ?? defaultAriaLabels.hour,
|
|
66
|
-
minute: minuteAriaLabel ?? defaultAriaLabels.minute
|
|
67
|
-
};
|
|
68
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WheelPicker.InternalWheelPickerRoot, {
|
|
69
|
-
ref,
|
|
70
|
-
itemSize: ITEM_SIZE,
|
|
71
|
-
visibleItemCount: VISIBLE_ITEM_COUNT,
|
|
72
|
-
disabled,
|
|
73
|
-
"aria-label": ariaLabelledby ? ariaLabel : ariaLabel ?? defaultAriaLabels.root,
|
|
74
|
-
"aria-labelledby": ariaLabelledby,
|
|
75
|
-
className: (0, clsx.default)(classNames.root, className),
|
|
76
|
-
columnsClassName: classNames.columns,
|
|
77
|
-
scrollFogClassName: classNames.scrollFog,
|
|
78
|
-
selectionIndicatorClassName: classNames.selectionIndicator,
|
|
79
|
-
...props,
|
|
80
|
-
children: api.columnOrder.map((type) => {
|
|
81
|
-
const column = api.columns[type];
|
|
82
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WheelPicker.InternalWheelPickerColumn, {
|
|
83
|
-
"aria-label": ariaLabels[type],
|
|
84
|
-
className: columnClassNames[type],
|
|
85
|
-
itemClassName: classNames.item,
|
|
86
|
-
options: column.options,
|
|
87
|
-
value: column.value,
|
|
88
|
-
onValueChange: column.onValueChange,
|
|
89
|
-
loop: column.loop,
|
|
90
|
-
valueChangeBehavior: type === "period" ? "smooth" : "auto"
|
|
91
|
-
}, type);
|
|
92
|
-
})
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
TimePicker.displayName = "TimePicker";
|
|
96
|
-
//#endregion
|
|
97
|
-
exports.TimePicker = TimePicker;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseTimePickerProps } from '@seed-design/react-time-picker';
|
|
2
|
-
import { InternalWheelPickerRootProps } from '../private/WheelPicker';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
export interface TimePickerProps extends UseTimePickerProps, Omit<InternalWheelPickerRootProps, keyof UseTimePickerProps | "asChild" | "children" | "columnsClassName" | "fogSize" | "itemSize" | "readOnly" | "scrollFogClassName" | "selectionIndicatorClassName" | "visibleItemCount"> {
|
|
5
|
-
/**
|
|
6
|
-
* 오전·오후 컬럼의 접근성 이름입니다.
|
|
7
|
-
* 지정하지 않으면 `locale`에 맞는 기본값을 사용합니다.
|
|
8
|
-
*/
|
|
9
|
-
periodAriaLabel?: string;
|
|
10
|
-
/**
|
|
11
|
-
* 시 컬럼의 접근성 이름입니다.
|
|
12
|
-
* 지정하지 않으면 `locale`에 맞는 기본값을 사용합니다.
|
|
13
|
-
*/
|
|
14
|
-
hourAriaLabel?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 분 컬럼의 접근성 이름입니다.
|
|
17
|
-
* 지정하지 않으면 `locale`에 맞는 기본값을 사용합니다.
|
|
18
|
-
*/
|
|
19
|
-
minuteAriaLabel?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 휠을 스크롤하여 오전·오후, 시, 분을 선택하는 12시간제 시간 선택 컴포넌트입니다.
|
|
23
|
-
*
|
|
24
|
-
* 값은 오전·오후를 별도 필드로 나누지 않고 24시간 형식의 `TimePickerValue`로 주고받습니다.
|
|
25
|
-
*/
|
|
26
|
-
export declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export type { MinuteStep, TimePickerValue } from '@seed-design/react-time-picker';
|
|
28
|
-
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAExF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,4BAA4B,EAClC,MAAM,wBAAwB,CAAC;AA0ChC,MAAM,WAAW,eACf,SAAQ,kBAAkB,EACxB,IAAI,CACF,4BAA4B,EAC1B,MAAM,kBAAkB,GACxB,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,SAAS,GACT,UAAU,GACV,UAAU,GACV,oBAAoB,GACpB,6BAA6B,GAC7B,kBAAkB,CACrB;IACH;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,wFAoEtB,CAAC;AAGF,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
import { InternalWheelPickerColumn, InternalWheelPickerRoot } from "../private/WheelPicker.js";
|
|
4
|
-
import clsx$1 from "clsx";
|
|
5
|
-
import * as React$1 from "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { timePicker } from "@seed-design/css/recipes/time-picker";
|
|
8
|
-
import { useTimePicker } from "@seed-design/react-time-picker";
|
|
9
|
-
//#region src/components/TimePicker/TimePicker.tsx
|
|
10
|
-
var ITEM_SIZE = 44;
|
|
11
|
-
var VISIBLE_ITEM_COUNT = 5;
|
|
12
|
-
var DEFAULT_ARIA_LABELS = {
|
|
13
|
-
ko: {
|
|
14
|
-
root: "시간 선택",
|
|
15
|
-
period: "오전/오후",
|
|
16
|
-
hour: "시",
|
|
17
|
-
minute: "분"
|
|
18
|
-
},
|
|
19
|
-
en: {
|
|
20
|
-
root: "Select time",
|
|
21
|
-
period: "AM/PM",
|
|
22
|
-
hour: "Hour",
|
|
23
|
-
minute: "Minute"
|
|
24
|
-
},
|
|
25
|
-
ja: {
|
|
26
|
-
root: "時刻を選択",
|
|
27
|
-
period: "午前/午後",
|
|
28
|
-
hour: "時",
|
|
29
|
-
minute: "分"
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
function getDefaultAriaLabels(locale) {
|
|
33
|
-
const [canonicalLocale = "ko-KR"] = Intl.getCanonicalLocales(locale ?? "ko-KR");
|
|
34
|
-
const language = new Intl.Locale(canonicalLocale).language;
|
|
35
|
-
if (language === "ko") return DEFAULT_ARIA_LABELS.ko;
|
|
36
|
-
if (language === "ja") return DEFAULT_ARIA_LABELS.ja;
|
|
37
|
-
return DEFAULT_ARIA_LABELS.en;
|
|
38
|
-
}
|
|
39
|
-
var classNames = timePicker();
|
|
40
|
-
var columnClassNames = {
|
|
41
|
-
period: classNames.periodColumn,
|
|
42
|
-
hour: classNames.hourColumn,
|
|
43
|
-
minute: classNames.minuteColumn
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* 휠을 스크롤하여 오전·오후, 시, 분을 선택하는 12시간제 시간 선택 컴포넌트입니다.
|
|
47
|
-
*
|
|
48
|
-
* 값은 오전·오후를 별도 필드로 나누지 않고 24시간 형식의 `TimePickerValue`로 주고받습니다.
|
|
49
|
-
*/
|
|
50
|
-
var TimePicker = React$1.forwardRef(({ value, defaultValue, onValueChange, minuteStep, locale, disabled, periodAriaLabel, hourAriaLabel, minuteAriaLabel, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, ...props }, ref) => {
|
|
51
|
-
const api = useTimePicker({
|
|
52
|
-
value,
|
|
53
|
-
defaultValue,
|
|
54
|
-
onValueChange,
|
|
55
|
-
minuteStep,
|
|
56
|
-
locale,
|
|
57
|
-
disabled
|
|
58
|
-
});
|
|
59
|
-
const defaultAriaLabels = getDefaultAriaLabels(locale);
|
|
60
|
-
const ariaLabels = {
|
|
61
|
-
period: periodAriaLabel ?? defaultAriaLabels.period,
|
|
62
|
-
hour: hourAriaLabel ?? defaultAriaLabels.hour,
|
|
63
|
-
minute: minuteAriaLabel ?? defaultAriaLabels.minute
|
|
64
|
-
};
|
|
65
|
-
return /* @__PURE__ */ jsx(InternalWheelPickerRoot, {
|
|
66
|
-
ref,
|
|
67
|
-
itemSize: ITEM_SIZE,
|
|
68
|
-
visibleItemCount: VISIBLE_ITEM_COUNT,
|
|
69
|
-
disabled,
|
|
70
|
-
"aria-label": ariaLabelledby ? ariaLabel : ariaLabel ?? defaultAriaLabels.root,
|
|
71
|
-
"aria-labelledby": ariaLabelledby,
|
|
72
|
-
className: clsx$1(classNames.root, className),
|
|
73
|
-
columnsClassName: classNames.columns,
|
|
74
|
-
scrollFogClassName: classNames.scrollFog,
|
|
75
|
-
selectionIndicatorClassName: classNames.selectionIndicator,
|
|
76
|
-
...props,
|
|
77
|
-
children: api.columnOrder.map((type) => {
|
|
78
|
-
const column = api.columns[type];
|
|
79
|
-
return /* @__PURE__ */ jsx(InternalWheelPickerColumn, {
|
|
80
|
-
"aria-label": ariaLabels[type],
|
|
81
|
-
className: columnClassNames[type],
|
|
82
|
-
itemClassName: classNames.item,
|
|
83
|
-
options: column.options,
|
|
84
|
-
value: column.value,
|
|
85
|
-
onValueChange: column.onValueChange,
|
|
86
|
-
loop: column.loop,
|
|
87
|
-
valueChangeBehavior: type === "period" ? "smooth" : "auto"
|
|
88
|
-
}, type);
|
|
89
|
-
})
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
TimePicker.displayName = "TimePicker";
|
|
93
|
-
//#endregion
|
|
94
|
-
export { TimePicker };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.test.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
|
-
const require_ScrollFog = require("../ScrollFog/ScrollFog.cjs");
|
|
5
|
-
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
6
|
-
let clsx = require("clsx");
|
|
7
|
-
clsx = require_runtime.__toESM(clsx);
|
|
8
|
-
let react = require("react");
|
|
9
|
-
react = require_runtime.__toESM(react);
|
|
10
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
-
let _seed_design_css_recipes_wheel_picker = require("@seed-design/css/recipes/wheel-picker");
|
|
12
|
-
let _seed_design_react_wheel_picker = require("@seed-design/react-wheel-picker");
|
|
13
|
-
//#region src/components/private/WheelPicker.tsx
|
|
14
|
-
var classNames = (0, _seed_design_css_recipes_wheel_picker.wheelPicker)();
|
|
15
|
-
var InternalWheelPickerRoot = react.forwardRef(({ children, className, columnsClassName, scrollFogClassName, selectionIndicatorClassName, fogSize, itemSize, visibleItemCount, style, ...props }, ref) => {
|
|
16
|
-
const centerOffset = (visibleItemCount - 1) / 2 * itemSize;
|
|
17
|
-
const wheelPickerStyle = {
|
|
18
|
-
...style,
|
|
19
|
-
"--seed-wheel-picker-item-size": `${itemSize}px`,
|
|
20
|
-
"--seed-wheel-picker-visible-item-count": visibleItemCount,
|
|
21
|
-
"--seed-wheel-picker-viewport-size": `${itemSize * visibleItemCount}px`,
|
|
22
|
-
"--seed-wheel-picker-center-offset": `${centerOffset}px`
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_wheel_picker.WheelPicker.Root, {
|
|
25
|
-
ref,
|
|
26
|
-
itemSize,
|
|
27
|
-
visibleItemCount,
|
|
28
|
-
className: (0, clsx.default)(classNames.root, className),
|
|
29
|
-
style: wheelPickerStyle,
|
|
30
|
-
...props,
|
|
31
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
32
|
-
"aria-hidden": true,
|
|
33
|
-
className: (0, clsx.default)(classNames.selectionIndicator, selectionIndicatorClassName),
|
|
34
|
-
"data-wheel-picker-indicator": ""
|
|
35
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ScrollFog.ScrollFog, {
|
|
36
|
-
className: (0, clsx.default)(classNames.scrollFog, scrollFogClassName),
|
|
37
|
-
placement: ["top", "bottom"],
|
|
38
|
-
size: fogSize,
|
|
39
|
-
hideScrollBar: true,
|
|
40
|
-
"data-wheel-picker-scroll-fog": "",
|
|
41
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
42
|
-
className: (0, clsx.default)(classNames.columns, columnsClassName),
|
|
43
|
-
"data-wheel-picker-columns": "",
|
|
44
|
-
children
|
|
45
|
-
})
|
|
46
|
-
})]
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
InternalWheelPickerRoot.displayName = "InternalWheelPickerRoot";
|
|
50
|
-
var InternalWheelPickerColumn = react.forwardRef(({ className, itemClassName, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_wheel_picker.WheelPicker.Column, {
|
|
51
|
-
ref,
|
|
52
|
-
className: (0, clsx.default)(classNames.column, className),
|
|
53
|
-
renderOption: (option, optionProps) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
54
|
-
className: (0, clsx.default)(classNames.item, itemClassName),
|
|
55
|
-
...optionProps,
|
|
56
|
-
children: option.label
|
|
57
|
-
}),
|
|
58
|
-
...props
|
|
59
|
-
}));
|
|
60
|
-
InternalWheelPickerColumn.displayName = "InternalWheelPickerColumn";
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.InternalWheelPickerColumn = InternalWheelPickerColumn;
|
|
63
|
-
exports.InternalWheelPickerRoot = InternalWheelPickerRoot;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { WheelPicker as WheelPickerPrimitive } from '@seed-design/react-wheel-picker';
|
|
2
|
-
import { ScrollFogProps } from '../ScrollFog/ScrollFog';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
export interface InternalWheelPickerRootProps extends Omit<WheelPickerPrimitive.RootProps, "asChild" | "children"> {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
columnsClassName?: string;
|
|
7
|
-
scrollFogClassName?: string;
|
|
8
|
-
selectionIndicatorClassName?: string;
|
|
9
|
-
fogSize?: ScrollFogProps["size"];
|
|
10
|
-
}
|
|
11
|
-
export declare const InternalWheelPickerRoot: React.ForwardRefExoticComponent<InternalWheelPickerRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export interface InternalWheelPickerColumnProps extends Omit<WheelPickerPrimitive.ColumnProps, "asChild" | "renderOption"> {
|
|
13
|
-
itemClassName?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const InternalWheelPickerColumn: React.ForwardRefExoticComponent<InternalWheelPickerColumnProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
//# sourceMappingURL=WheelPicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WheelPicker.d.ts","sourceRoot":"","sources":["../../../src/components/private/WheelPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAEtF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAWxE,MAAM,WAAW,4BACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,uBAAuB,qGA2DnC,CAAC;AAGF,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,WAAW,EAAE,SAAS,GAAG,cAAc,CAAC;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,yBAAyB,uGAcpC,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
import { ScrollFog } from "../ScrollFog/ScrollFog.js";
|
|
4
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
-
import clsx$1 from "clsx";
|
|
6
|
-
import * as React$1 from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { wheelPicker } from "@seed-design/css/recipes/wheel-picker";
|
|
9
|
-
import { WheelPicker } from "@seed-design/react-wheel-picker";
|
|
10
|
-
//#region src/components/private/WheelPicker.tsx
|
|
11
|
-
var classNames = wheelPicker();
|
|
12
|
-
var InternalWheelPickerRoot = React$1.forwardRef(({ children, className, columnsClassName, scrollFogClassName, selectionIndicatorClassName, fogSize, itemSize, visibleItemCount, style, ...props }, ref) => {
|
|
13
|
-
const centerOffset = (visibleItemCount - 1) / 2 * itemSize;
|
|
14
|
-
const wheelPickerStyle = {
|
|
15
|
-
...style,
|
|
16
|
-
"--seed-wheel-picker-item-size": `${itemSize}px`,
|
|
17
|
-
"--seed-wheel-picker-visible-item-count": visibleItemCount,
|
|
18
|
-
"--seed-wheel-picker-viewport-size": `${itemSize * visibleItemCount}px`,
|
|
19
|
-
"--seed-wheel-picker-center-offset": `${centerOffset}px`
|
|
20
|
-
};
|
|
21
|
-
return /* @__PURE__ */ jsxs(WheelPicker.Root, {
|
|
22
|
-
ref,
|
|
23
|
-
itemSize,
|
|
24
|
-
visibleItemCount,
|
|
25
|
-
className: clsx$1(classNames.root, className),
|
|
26
|
-
style: wheelPickerStyle,
|
|
27
|
-
...props,
|
|
28
|
-
children: [/* @__PURE__ */ jsx(Primitive.div, {
|
|
29
|
-
"aria-hidden": true,
|
|
30
|
-
className: clsx$1(classNames.selectionIndicator, selectionIndicatorClassName),
|
|
31
|
-
"data-wheel-picker-indicator": ""
|
|
32
|
-
}), /* @__PURE__ */ jsx(ScrollFog, {
|
|
33
|
-
className: clsx$1(classNames.scrollFog, scrollFogClassName),
|
|
34
|
-
placement: ["top", "bottom"],
|
|
35
|
-
size: fogSize,
|
|
36
|
-
hideScrollBar: true,
|
|
37
|
-
"data-wheel-picker-scroll-fog": "",
|
|
38
|
-
children: /* @__PURE__ */ jsx(Primitive.div, {
|
|
39
|
-
className: clsx$1(classNames.columns, columnsClassName),
|
|
40
|
-
"data-wheel-picker-columns": "",
|
|
41
|
-
children
|
|
42
|
-
})
|
|
43
|
-
})]
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
InternalWheelPickerRoot.displayName = "InternalWheelPickerRoot";
|
|
47
|
-
var InternalWheelPickerColumn = React$1.forwardRef(({ className, itemClassName, ...props }, ref) => /* @__PURE__ */ jsx(WheelPicker.Column, {
|
|
48
|
-
ref,
|
|
49
|
-
className: clsx$1(classNames.column, className),
|
|
50
|
-
renderOption: (option, optionProps) => /* @__PURE__ */ jsx(Primitive.div, {
|
|
51
|
-
className: clsx$1(classNames.item, itemClassName),
|
|
52
|
-
...optionProps,
|
|
53
|
-
children: option.label
|
|
54
|
-
}),
|
|
55
|
-
...props
|
|
56
|
-
}));
|
|
57
|
-
InternalWheelPickerColumn.displayName = "InternalWheelPickerColumn";
|
|
58
|
-
//#endregion
|
|
59
|
-
export { InternalWheelPickerColumn, InternalWheelPickerRoot };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WheelPicker.test.d.ts","sourceRoot":"","sources":["../../../src/components/private/WheelPicker.test.tsx"],"names":[],"mappings":""}
|