@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,3 +1,3 @@
|
|
|
1
|
-
import { ChipLabel, ChipPrefixAvatar, ChipPrefixIcon,
|
|
1
|
+
import { ChipButton, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRadioItem, ChipRadioRoot, ChipSuffixIcon, ChipToggle } from "./Chip.js";
|
|
2
2
|
import { Chip_namespace_exports } from "./Chip.namespace.js";
|
|
3
|
-
export { Chip_namespace_exports as Chip, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon,
|
|
3
|
+
export { Chip_namespace_exports as Chip, ChipButton, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRadioItem, ChipRadioRoot, ChipSuffixIcon, ChipToggle };
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
4
4
|
const require_withScaleFeedback = require("../../utils/withScaleFeedback.cjs");
|
|
5
|
-
let _seed_design_react_tabs = require("@seed-design/react-tabs");
|
|
6
5
|
let clsx = require("clsx");
|
|
7
6
|
clsx = require_runtime.__toESM(clsx);
|
|
8
7
|
let react = require("react");
|
|
9
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
9
|
let _seed_design_css_recipes_chip_tabs = require("@seed-design/css/recipes/chip-tabs");
|
|
10
|
+
let _seed_design_react_tabs = require("@seed-design/react-tabs");
|
|
11
11
|
//#region src/components/ChipTabs/ChipTabs.tsx
|
|
12
12
|
var { ClassNamesProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_chip_tabs.chipTabs);
|
|
13
13
|
var ChipTabsRoot = (0, react.forwardRef)(({ className, ...props }, ref) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
3
|
import { withScaleFeedback } from "../../utils/withScaleFeedback.js";
|
|
4
|
-
import { Tabs } from "@seed-design/react-tabs";
|
|
5
4
|
import clsx$1 from "clsx";
|
|
6
5
|
import { forwardRef } from "react";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
8
7
|
import { chipTabs } from "@seed-design/css/recipes/chip-tabs";
|
|
8
|
+
import { Tabs } from "@seed-design/react-tabs";
|
|
9
9
|
//#region src/components/ChipTabs/ChipTabs.tsx
|
|
10
10
|
var { ClassNamesProvider, withContext } = createSlotRecipeContext(chipTabs);
|
|
11
11
|
var ChipTabsRoot = forwardRef(({ className, ...props }, ref) => {
|
|
@@ -1,58 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
|
-
const require_styled = require("../../utils/styled.cjs");
|
|
5
4
|
const require_Icon = require("../Icon/Icon.cjs");
|
|
6
5
|
const require_ActionButton = require("../ActionButton/ActionButton.cjs");
|
|
7
|
-
const
|
|
6
|
+
const require_Box = require("../Box/Box.cjs");
|
|
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);
|
|
11
10
|
let react = require("react");
|
|
12
11
|
react = require_runtime.__toESM(react);
|
|
13
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
-
let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
15
13
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
16
14
|
let _seed_design_css_recipes_date_picker = require("@seed-design/css/recipes/date-picker");
|
|
17
15
|
let _seed_design_react_date_picker = require("@seed-design/react-date-picker");
|
|
16
|
+
let _seed_design_react_popover = require("@seed-design/react-popover");
|
|
18
17
|
//#region src/components/DatePicker/DatePicker.tsx
|
|
19
|
-
var
|
|
20
|
-
var
|
|
18
|
+
var MONTH_WHEEL_ITEM_SIZE = 44;
|
|
19
|
+
var MONTH_WHEEL_VISIBLE_ITEM_COUNT = 7;
|
|
20
|
+
var MONTH_WHEEL_SCROLL_FOG_SIZE = 102;
|
|
21
|
+
var WEEK_WHEEL_POPOVER_GUTTER = 4;
|
|
21
22
|
function getContinuousSpacerStyle(height) {
|
|
22
23
|
return { "--seed-date-picker-continuous-spacer-height": `${height}px` };
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
ref
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
fill: "currentColor"
|
|
37
|
-
})
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
NavigationChevronIcon.displayName = "NavigationChevronIcon";
|
|
41
|
-
var HeaderChevronIcon = react.forwardRef(({ expanded, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
42
|
-
ref,
|
|
43
|
-
...props,
|
|
44
|
-
viewBox: "0 0 20 20",
|
|
45
|
-
fill: "none",
|
|
46
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
47
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
48
|
-
fillRule: "evenodd",
|
|
49
|
-
clipRule: "evenodd",
|
|
50
|
-
d: "M5.2453 7.74286C5.57141 7.4181 6.09905 7.41919 6.42381 7.7453L9.98736 11.3237L13.5808 7.77134C13.9081 7.44778 14.4357 7.45081 14.7593 7.77812C15.0829 8.10542 15.0798 8.63305 14.7525 8.95661L10.5686 13.0926C10.2422 13.4154 9.7162 13.4133 9.39228 13.088L5.24286 8.92137C4.9181 8.59526 4.91919 8.06762 5.2453 7.74286Z",
|
|
51
|
-
fill: "currentColor",
|
|
52
|
-
transform: expanded ? "rotate(180 10 10)" : void 0
|
|
53
|
-
})
|
|
54
|
-
}));
|
|
55
|
-
HeaderChevronIcon.displayName = "HeaderChevronIcon";
|
|
25
|
+
function composeRefs(...refs) {
|
|
26
|
+
return (value) => {
|
|
27
|
+
for (const ref of refs) if (typeof ref === "function") ref(value);
|
|
28
|
+
else if (ref) ref.current = value;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
var DatePickerContext = react.createContext(null);
|
|
32
|
+
function useDatePickerContext() {
|
|
33
|
+
const context = react.useContext(DatePickerContext);
|
|
34
|
+
if (!context) throw new Error("DatePicker compound components must be used within DatePicker.Root");
|
|
35
|
+
return context;
|
|
36
|
+
}
|
|
56
37
|
function WeekdayRow({ api, classNames, semantic = true }) {
|
|
57
38
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
58
39
|
role: semantic ? "row" : void 0,
|
|
@@ -129,22 +110,27 @@ function MonthView({ api, classNames, month, renderDateCellContent, renderDateCe
|
|
|
129
110
|
]
|
|
130
111
|
});
|
|
131
112
|
}
|
|
132
|
-
function NavigationButton({
|
|
113
|
+
function NavigationButton({ icon, className, ...props }) {
|
|
133
114
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ActionButton.ActionButton, {
|
|
134
115
|
...props,
|
|
135
116
|
variant: "ghost",
|
|
136
117
|
size: "medium",
|
|
137
118
|
layout: "iconOnly",
|
|
138
119
|
className,
|
|
139
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, { svg:
|
|
120
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, { svg: icon })
|
|
140
121
|
});
|
|
141
122
|
}
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
-
const
|
|
123
|
+
var DatePickerHeader = react.forwardRef(({ leftIcon, rightIcon, headerIcon }, ref) => {
|
|
124
|
+
const { api, classNames } = useDatePickerContext();
|
|
125
|
+
const popover = (0, _seed_design_react_popover.usePopoverContext)();
|
|
126
|
+
if (api.visibleRange === "continuous" || api.visibleRange === "twoMonths") return null;
|
|
127
|
+
const previousIcon = api.isRtl ? rightIcon : leftIcon;
|
|
128
|
+
const nextIcon = api.isRtl ? leftIcon : rightIcon;
|
|
145
129
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_primitive.Primitive.div, {
|
|
130
|
+
ref,
|
|
146
131
|
className: classNames.header,
|
|
147
132
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_primitive.Primitive.button, {
|
|
133
|
+
ref: popover.refs.anchor,
|
|
148
134
|
...api.monthYearButtonProps,
|
|
149
135
|
id: `${api.rootProps.id}-header-label`,
|
|
150
136
|
className: classNames.headerLabel,
|
|
@@ -152,24 +138,26 @@ function Header({ api, classNames }) {
|
|
|
152
138
|
"data-date-picker-header-label": "",
|
|
153
139
|
children: api.headerLabel
|
|
154
140
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
|
|
141
|
+
"data-expanded": api.isWheelOpen ? "" : void 0,
|
|
155
142
|
className: classNames.headerChevron,
|
|
156
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, { svg:
|
|
143
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, { svg: headerIcon })
|
|
157
144
|
})]
|
|
158
145
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_primitive.Primitive.div, {
|
|
159
146
|
className: classNames.navigation,
|
|
160
147
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavigationButton, {
|
|
161
148
|
...api.previousButtonProps,
|
|
162
|
-
|
|
149
|
+
icon: previousIcon,
|
|
163
150
|
className: classNames.navigationButton
|
|
164
151
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavigationButton, {
|
|
165
152
|
...api.nextButtonProps,
|
|
166
|
-
|
|
153
|
+
icon: nextIcon,
|
|
167
154
|
className: classNames.navigationButton
|
|
168
155
|
})]
|
|
169
156
|
})]
|
|
170
157
|
});
|
|
171
|
-
}
|
|
172
|
-
|
|
158
|
+
});
|
|
159
|
+
DatePickerHeader.displayName = "DatePickerHeader";
|
|
160
|
+
function TwoMonthHeader({ api, classNames, label, labelId, position, leftIcon, rightIcon }) {
|
|
173
161
|
const isFirst = position === "first";
|
|
174
162
|
const direction = api.isRtl ? isFirst ? "right" : "left" : isFirst ? "left" : "right";
|
|
175
163
|
const buttonProps = isFirst ? api.previousButtonProps : api.nextButtonProps;
|
|
@@ -181,171 +169,185 @@ function TwoMonthHeader({ api, classNames, label, labelId, position }) {
|
|
|
181
169
|
children: label
|
|
182
170
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavigationButton, {
|
|
183
171
|
...buttonProps,
|
|
184
|
-
direction,
|
|
172
|
+
icon: direction === "left" ? leftIcon : rightIcon,
|
|
185
173
|
"data-placement": isFirst ? "start" : "end",
|
|
186
174
|
className: classNames.twoMonthNavigationButton
|
|
187
175
|
})]
|
|
188
176
|
});
|
|
189
177
|
}
|
|
190
|
-
|
|
178
|
+
var DatePickerWheel = react.forwardRef(({ children }, ref) => {
|
|
179
|
+
const { api, classNames } = useDatePickerContext();
|
|
180
|
+
if (!api.isWheelOpen || api.visibleRange === "twoMonths" || api.visibleRange === "continuous") return null;
|
|
181
|
+
const columns = [{
|
|
182
|
+
id: "year",
|
|
183
|
+
"aria-label": api.ariaLabels.yearWheel,
|
|
184
|
+
className: classNames.yearColumn,
|
|
185
|
+
options: api.wheel.yearOptions,
|
|
186
|
+
value: api.wheel.yearValue,
|
|
187
|
+
onValueChange: api.wheel.onYearValueChange,
|
|
188
|
+
loop: false
|
|
189
|
+
}, {
|
|
190
|
+
id: "month",
|
|
191
|
+
"aria-label": api.ariaLabels.monthWheel,
|
|
192
|
+
className: classNames.monthColumn,
|
|
193
|
+
options: api.wheel.monthOptions,
|
|
194
|
+
value: api.wheel.monthValue,
|
|
195
|
+
onValueChange: api.wheel.onMonthValueChange,
|
|
196
|
+
loop: true
|
|
197
|
+
}];
|
|
198
|
+
const sharedRootProps = {
|
|
199
|
+
...api.wheelProps,
|
|
200
|
+
disabled: api.disabled,
|
|
201
|
+
readOnly: api.readOnly,
|
|
202
|
+
"aria-label": api.headerLabel,
|
|
203
|
+
className: classNames.wheelView
|
|
204
|
+
};
|
|
205
|
+
if (api.visibleRange === "week") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_popover.Popover.Positioner, {
|
|
206
|
+
className: classNames.wheelPositioner,
|
|
207
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_popover.Popover.Content, {
|
|
208
|
+
ref,
|
|
209
|
+
"aria-labelledby": `${api.rootProps.id}-header-label`,
|
|
210
|
+
className: classNames.wheelPopover,
|
|
211
|
+
children: children({
|
|
212
|
+
rootProps: {
|
|
213
|
+
...sharedRootProps,
|
|
214
|
+
size: "small"
|
|
215
|
+
},
|
|
216
|
+
columns
|
|
217
|
+
})
|
|
218
|
+
})
|
|
219
|
+
});
|
|
191
220
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
221
|
+
ref,
|
|
192
222
|
className: classNames.wheelContainer,
|
|
193
|
-
children:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
scrollFogClassName: classNames.wheelScrollFog,
|
|
203
|
-
selectionIndicatorClassName: classNames.wheelSelectionIndicator,
|
|
204
|
-
fogSize: 102,
|
|
205
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WheelPicker.InternalWheelPickerColumn, {
|
|
206
|
-
"aria-label": api.ariaLabels.yearWheel,
|
|
207
|
-
className: classNames.yearColumn,
|
|
208
|
-
itemClassName: classNames.wheelItem,
|
|
209
|
-
options: api.wheel.yearOptions,
|
|
210
|
-
value: api.wheel.yearValue,
|
|
211
|
-
onValueChange: api.wheel.onYearValueChange,
|
|
212
|
-
loop: false
|
|
213
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WheelPicker.InternalWheelPickerColumn, {
|
|
214
|
-
"aria-label": api.ariaLabels.monthWheel,
|
|
215
|
-
className: classNames.monthColumn,
|
|
216
|
-
itemClassName: classNames.wheelItem,
|
|
217
|
-
options: api.wheel.monthOptions,
|
|
218
|
-
value: api.wheel.monthValue,
|
|
219
|
-
onValueChange: api.wheel.onMonthValueChange,
|
|
220
|
-
loop: true
|
|
221
|
-
})]
|
|
223
|
+
children: children({
|
|
224
|
+
rootProps: {
|
|
225
|
+
...sharedRootProps,
|
|
226
|
+
size: "medium",
|
|
227
|
+
itemSize: MONTH_WHEEL_ITEM_SIZE,
|
|
228
|
+
visibleItemCount: MONTH_WHEEL_VISIBLE_ITEM_COUNT,
|
|
229
|
+
scrollFogSize: MONTH_WHEEL_SCROLL_FOG_SIZE
|
|
230
|
+
},
|
|
231
|
+
columns
|
|
222
232
|
})
|
|
223
233
|
});
|
|
224
|
-
}
|
|
225
|
-
|
|
234
|
+
});
|
|
235
|
+
DatePickerWheel.displayName = "DatePickerWheel";
|
|
236
|
+
var DatePickerCalendar = react.forwardRef(({ leftIcon, rightIcon }, ref) => {
|
|
237
|
+
const { api, classNames, renderDateCellContent, renderDateCellSupplement } = useDatePickerContext();
|
|
238
|
+
if (api.visibleRange === "continuous") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_primitive.Primitive.div, {
|
|
239
|
+
ref: composeRefs(ref, api.refs.continuousScroll),
|
|
240
|
+
...api.continuousScrollProps,
|
|
241
|
+
"data-date-picker-continuous-scroll": "",
|
|
242
|
+
className: classNames.continuousScroll,
|
|
243
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(WeekdayRow, {
|
|
244
|
+
api,
|
|
245
|
+
classNames,
|
|
246
|
+
semantic: false
|
|
247
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_seed_design_react_primitive.Primitive.div, {
|
|
248
|
+
className: classNames.continuousContent,
|
|
249
|
+
children: [
|
|
250
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
251
|
+
"aria-hidden": "true",
|
|
252
|
+
"data-date-picker-continuous-spacer": "",
|
|
253
|
+
className: classNames.continuousSpacer,
|
|
254
|
+
style: getContinuousSpacerStyle(api.virtual.topHeight)
|
|
255
|
+
}),
|
|
256
|
+
api.months.map((month) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MonthView, {
|
|
257
|
+
api,
|
|
258
|
+
classNames,
|
|
259
|
+
month,
|
|
260
|
+
renderDateCellContent,
|
|
261
|
+
renderDateCellSupplement,
|
|
262
|
+
showWeekdays: false,
|
|
263
|
+
showMonthLabel: true,
|
|
264
|
+
monthRef: api.refs.continuousMonth(month.key)
|
|
265
|
+
}, month.key)),
|
|
266
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
267
|
+
"aria-hidden": "true",
|
|
268
|
+
"data-date-picker-continuous-spacer": "",
|
|
269
|
+
className: classNames.continuousSpacer,
|
|
270
|
+
style: getContinuousSpacerStyle(api.virtual.bottomHeight)
|
|
271
|
+
})
|
|
272
|
+
]
|
|
273
|
+
})]
|
|
274
|
+
});
|
|
275
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
276
|
+
ref,
|
|
277
|
+
"data-wheel-open": api.isWheelOpen && api.visibleRange === "month" ? "" : void 0,
|
|
278
|
+
"aria-hidden": api.isWheelOpen && api.visibleRange === "month" ? true : void 0,
|
|
279
|
+
className: classNames.months,
|
|
280
|
+
children: api.months.map((month, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MonthView, {
|
|
281
|
+
api,
|
|
282
|
+
classNames,
|
|
283
|
+
month,
|
|
284
|
+
renderDateCellContent,
|
|
285
|
+
renderDateCellSupplement,
|
|
286
|
+
showWeekdays: true,
|
|
287
|
+
showMonthLabel: false,
|
|
288
|
+
renderHeader: api.visibleRange === "twoMonths" ? (labelId) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TwoMonthHeader, {
|
|
289
|
+
api,
|
|
290
|
+
classNames,
|
|
291
|
+
label: month.label,
|
|
292
|
+
labelId,
|
|
293
|
+
position: index === 0 ? "first" : "last",
|
|
294
|
+
leftIcon,
|
|
295
|
+
rightIcon
|
|
296
|
+
}) : void 0
|
|
297
|
+
}, month.key))
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
DatePickerCalendar.displayName = "DatePickerCalendar";
|
|
301
|
+
var DatePickerRoot = react.forwardRef((props, forwardedRef) => {
|
|
226
302
|
const api = (0, _seed_design_react_date_picker.useDatePicker)(props);
|
|
227
303
|
const [variantProps, otherProps] = _seed_design_css_recipes_date_picker.datePicker.splitVariantProps(props);
|
|
228
304
|
const classNames = (0, _seed_design_css_recipes_date_picker.datePicker)({
|
|
229
305
|
...variantProps,
|
|
230
306
|
visibleRange: api.visibleRange
|
|
231
307
|
});
|
|
232
|
-
const { renderDateCellContent, renderDateCellSupplement, actionsRef, selectionMode: _selectionMode, value: _value, defaultValue: _defaultValue, onValueChange: _onValueChange, viewDate: _viewDate, defaultViewDate: _defaultViewDate, onViewDateChange: _onViewDateChange, today: _today, locale: _locale, weekStartsOn: _weekStartsOn, yearRange: _yearRange, monthRange: _monthRange, constraints: _constraints, disabled: _disabled, readOnly: _readOnly, rangeStartReadOnly: _rangeStartReadOnly, ariaLabels: _ariaLabels, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, ...
|
|
233
|
-
const { style: styleProps, restProps: rootProps } = require_styled.useStyleProps(styleAndRootProps);
|
|
234
|
-
const rootRef = react.useRef(null);
|
|
308
|
+
const { children, renderDateCellContent, renderDateCellSupplement, actionsRef, selectionMode: _selectionMode, value: _value, defaultValue: _defaultValue, onValueChange: _onValueChange, viewDate: _viewDate, defaultViewDate: _defaultViewDate, onViewDateChange: _onViewDateChange, today: _today, locale: _locale, weekStartsOn: _weekStartsOn, yearRange: _yearRange, monthRange: _monthRange, constraints: _constraints, disabled: _disabled, readOnly: _readOnly, rangeStartReadOnly: _rangeStartReadOnly, ariaLabels: _ariaLabels, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, height, minHeight, maxHeight, ...rootProps } = otherProps;
|
|
235
309
|
const hasContinuousSizeConstraint = props.height !== void 0 || props.minHeight !== void 0 || props.maxHeight !== void 0;
|
|
236
310
|
react.useEffect(() => {
|
|
237
311
|
if (process.env.NODE_ENV === "production" || api.visibleRange !== "continuous") return;
|
|
238
|
-
if (!hasContinuousSizeConstraint) console.warn("
|
|
312
|
+
if (!hasContinuousSizeConstraint) console.warn("DatePicker.Root: continuous에서는 height, minHeight 또는 maxHeight가 필요합니다.");
|
|
239
313
|
}, [api.visibleRange, hasContinuousSizeConstraint]);
|
|
240
314
|
react.useImperativeHandle(actionsRef, () => api.actions, [api.actions]);
|
|
241
315
|
const rootAriaLabel = ariaLabelledby ? ariaLabel : ariaLabel ?? api.ariaLabels.root;
|
|
242
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
children:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
month,
|
|
271
|
-
renderDateCellContent,
|
|
272
|
-
renderDateCellSupplement,
|
|
273
|
-
showWeekdays: false,
|
|
274
|
-
showMonthLabel: true,
|
|
275
|
-
monthRef: api.refs.continuousMonth(month.key)
|
|
276
|
-
}, month.key)),
|
|
277
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
278
|
-
"aria-hidden": "true",
|
|
279
|
-
"data-date-picker-continuous-spacer": "",
|
|
280
|
-
className: classNames.continuousSpacer,
|
|
281
|
-
style: getContinuousSpacerStyle(api.virtual.bottomHeight)
|
|
282
|
-
})
|
|
283
|
-
]
|
|
284
|
-
})]
|
|
285
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
286
|
-
api.visibleRange !== "twoMonths" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Header, {
|
|
287
|
-
api,
|
|
288
|
-
classNames
|
|
289
|
-
}),
|
|
290
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
291
|
-
"data-wheel-open": api.isWheelOpen && api.visibleRange !== "twoMonths" ? "" : void 0,
|
|
292
|
-
"aria-hidden": api.isWheelOpen && api.visibleRange !== "twoMonths" ? true : void 0,
|
|
293
|
-
className: classNames.months,
|
|
294
|
-
children: api.months.map((month, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MonthView, {
|
|
295
|
-
api,
|
|
296
|
-
classNames,
|
|
297
|
-
month,
|
|
298
|
-
renderDateCellContent,
|
|
299
|
-
renderDateCellSupplement,
|
|
300
|
-
showWeekdays: true,
|
|
301
|
-
showMonthLabel: false,
|
|
302
|
-
renderHeader: api.visibleRange === "twoMonths" ? (labelId) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TwoMonthHeader, {
|
|
303
|
-
api,
|
|
304
|
-
classNames,
|
|
305
|
-
label: month.label,
|
|
306
|
-
labelId,
|
|
307
|
-
position: index === 0 ? "first" : "last"
|
|
308
|
-
}) : void 0
|
|
309
|
-
}, month.key))
|
|
310
|
-
}),
|
|
311
|
-
api.isWheelOpen && api.visibleRange !== "twoMonths" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WheelView, {
|
|
312
|
-
api,
|
|
313
|
-
classNames
|
|
316
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DatePickerContext.Provider, {
|
|
317
|
+
value: {
|
|
318
|
+
api,
|
|
319
|
+
classNames,
|
|
320
|
+
renderDateCellContent,
|
|
321
|
+
renderDateCellSupplement
|
|
322
|
+
},
|
|
323
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_popover.Popover.Root, {
|
|
324
|
+
open: api.visibleRange === "week" && api.isWheelOpen,
|
|
325
|
+
onOpenChange: (open) => {
|
|
326
|
+
if (!open) api.closeWheel();
|
|
327
|
+
},
|
|
328
|
+
placement: "bottom-start",
|
|
329
|
+
gutter: WEEK_WHEEL_POPOVER_GUTTER,
|
|
330
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Box.Box, {
|
|
331
|
+
ref: composeRefs(forwardedRef, api.refs.root),
|
|
332
|
+
...(0, _seed_design_dom_utils.mergeProps)(api.rootProps, rootProps),
|
|
333
|
+
"aria-label": rootAriaLabel,
|
|
334
|
+
"aria-labelledby": ariaLabelledby,
|
|
335
|
+
className: (0, clsx.default)(classNames.root, className),
|
|
336
|
+
height,
|
|
337
|
+
minHeight,
|
|
338
|
+
maxHeight,
|
|
339
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
|
|
340
|
+
...api.liveRegionProps,
|
|
341
|
+
className: classNames.liveRegion,
|
|
342
|
+
children: api.headerLabel
|
|
343
|
+
})]
|
|
314
344
|
})
|
|
315
|
-
|
|
316
|
-
...api.liveRegionProps,
|
|
317
|
-
className: classNames.liveRegion,
|
|
318
|
-
children: api.headerLabel
|
|
319
|
-
})]
|
|
345
|
+
})
|
|
320
346
|
});
|
|
321
347
|
});
|
|
322
|
-
|
|
323
|
-
var DatePicker = react.forwardRef((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DatePickerImplementation, {
|
|
324
|
-
ref,
|
|
325
|
-
...props,
|
|
326
|
-
visibleRange: "month"
|
|
327
|
-
}));
|
|
328
|
-
DatePicker.displayName = "DatePicker";
|
|
329
|
-
var TwoMonthDatePicker = react.forwardRef((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DatePickerImplementation, {
|
|
330
|
-
ref,
|
|
331
|
-
...props,
|
|
332
|
-
visibleRange: "twoMonths"
|
|
333
|
-
}));
|
|
334
|
-
TwoMonthDatePicker.displayName = "TwoMonthDatePicker";
|
|
335
|
-
var WeekDatePicker = react.forwardRef((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DatePickerImplementation, {
|
|
336
|
-
ref,
|
|
337
|
-
...props,
|
|
338
|
-
visibleRange: "week"
|
|
339
|
-
}));
|
|
340
|
-
WeekDatePicker.displayName = "WeekDatePicker";
|
|
341
|
-
var ContinuousDatePicker = react.forwardRef((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DatePickerImplementation, {
|
|
342
|
-
ref,
|
|
343
|
-
...props,
|
|
344
|
-
visibleRange: "continuous"
|
|
345
|
-
}));
|
|
346
|
-
ContinuousDatePicker.displayName = "ContinuousDatePicker";
|
|
348
|
+
DatePickerRoot.displayName = "DatePickerRoot";
|
|
347
349
|
//#endregion
|
|
348
|
-
exports.
|
|
349
|
-
exports.
|
|
350
|
-
exports.
|
|
351
|
-
exports.
|
|
350
|
+
exports.DatePickerCalendar = DatePickerCalendar;
|
|
351
|
+
exports.DatePickerHeader = DatePickerHeader;
|
|
352
|
+
exports.DatePickerRoot = DatePickerRoot;
|
|
353
|
+
exports.DatePickerWheel = DatePickerWheel;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DatePickerActions, DatePickerCellState, DatePickerMonthRange, UseDatePickerProps } from '@seed-design/react-date-picker';
|
|
1
|
+
import { DatePickerActions, DatePickerCellState, DatePickerMonthRange, DatePickerVisibleRange, UseDatePickerProps } from '@seed-design/react-date-picker';
|
|
2
2
|
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
-
import {
|
|
3
|
+
import { BoxProps } from '../Box/Box';
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
type
|
|
5
|
+
type DatePickerRootElementProps = PrimitiveProps & Pick<BoxProps, "height" | "minHeight" | "maxHeight"> & Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange" | "onValueChange">;
|
|
6
6
|
export interface DatePickerCellContentRenderProps extends DatePickerCellState {
|
|
7
7
|
}
|
|
8
8
|
type DatePickerBehaviorProps = UseDatePickerProps extends infer Props ? Props extends UseDatePickerProps ? Omit<Props, "visibleRange" | "monthRange"> : never : never;
|
|
@@ -21,25 +21,54 @@ type DatePickerCellCustomization = {
|
|
|
21
21
|
renderDateCellContent?: (props: DatePickerCellContentRenderProps) => React.ReactNode;
|
|
22
22
|
renderDateCellSupplement?: never;
|
|
23
23
|
};
|
|
24
|
-
type
|
|
24
|
+
export type DatePickerRootProps = DatePickerBehaviorProps & DatePickerRootElementProps & DatePickerCellCustomization & {
|
|
25
|
+
/** Date Picker가 표시할 달력 레이아웃입니다. */
|
|
26
|
+
visibleRange: DatePickerVisibleRange;
|
|
27
|
+
/** Continuous 레이아웃에서 노출하고 이동할 수 있는 월 범위입니다. */
|
|
28
|
+
monthRange?: DatePickerMonthRange;
|
|
25
29
|
/** 날짜 이동과 포커스 action을 받는 ref입니다. */
|
|
26
30
|
actionsRef?: React.Ref<DatePickerActions>;
|
|
27
|
-
|
|
28
|
-
type ContinuousSizeConstraint = (Required<Pick<StyleProps, "height">> & Pick<StyleProps, "minHeight" | "maxHeight">) | (Required<Pick<StyleProps, "minHeight">> & Pick<StyleProps, "height" | "maxHeight">) | (Required<Pick<StyleProps, "maxHeight">> & Pick<StyleProps, "height" | "minHeight">);
|
|
29
|
-
export type DatePickerProps = DatePickerSharedProps;
|
|
30
|
-
export type TwoMonthDatePickerProps = DatePickerSharedProps;
|
|
31
|
-
export type WeekDatePickerProps = DatePickerSharedProps;
|
|
32
|
-
type DatePickerPropsWithoutSize<Props = DatePickerSharedProps> = Props extends DatePickerSharedProps ? Omit<Props, "height" | "minHeight" | "maxHeight"> : never;
|
|
33
|
-
export type ContinuousDatePickerProps = DatePickerPropsWithoutSize & ContinuousSizeConstraint & {
|
|
34
|
-
/**
|
|
35
|
-
* 노출하고 이동할 수 있는 월 범위입니다. 양끝 월을 포함합니다.
|
|
36
|
-
* 생략하면 `yearRange.start`의 1월부터 `yearRange.end`의 12월까지 노출합니다.
|
|
37
|
-
*/
|
|
38
|
-
monthRange?: DatePickerMonthRange;
|
|
31
|
+
children?: React.ReactNode;
|
|
39
32
|
};
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
export interface DatePickerHeaderProps {
|
|
34
|
+
leftIcon: React.ReactNode;
|
|
35
|
+
rightIcon: React.ReactNode;
|
|
36
|
+
headerIcon: React.ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export declare const DatePickerHeader: React.ForwardRefExoticComponent<DatePickerHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
export interface DatePickerWheelColumn {
|
|
40
|
+
id: "year" | "month";
|
|
41
|
+
"aria-label": string;
|
|
42
|
+
className: string;
|
|
43
|
+
options: readonly {
|
|
44
|
+
value: string;
|
|
45
|
+
label: React.ReactNode;
|
|
46
|
+
}[];
|
|
47
|
+
value: string;
|
|
48
|
+
onValueChange: (value: string) => void;
|
|
49
|
+
loop: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface DatePickerWheelRenderProps {
|
|
52
|
+
rootProps: React.HTMLAttributes<HTMLDivElement> & {
|
|
53
|
+
/** Month는 `medium`, Week popover는 `small` 크기를 사용합니다. */
|
|
54
|
+
size: "small" | "medium";
|
|
55
|
+
itemSize?: number;
|
|
56
|
+
visibleItemCount?: number;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
readOnly: boolean;
|
|
59
|
+
scrollFogSize?: number;
|
|
60
|
+
};
|
|
61
|
+
columns: readonly DatePickerWheelColumn[];
|
|
62
|
+
}
|
|
63
|
+
export interface DatePickerWheelProps {
|
|
64
|
+
children: (props: DatePickerWheelRenderProps) => React.ReactNode;
|
|
65
|
+
}
|
|
66
|
+
export declare const DatePickerWheel: React.ForwardRefExoticComponent<DatePickerWheelProps & React.RefAttributes<HTMLDivElement>>;
|
|
67
|
+
export interface DatePickerCalendarProps {
|
|
68
|
+
leftIcon: React.ReactNode;
|
|
69
|
+
rightIcon: React.ReactNode;
|
|
70
|
+
}
|
|
71
|
+
export declare const DatePickerCalendar: React.ForwardRefExoticComponent<DatePickerCalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
export declare const DatePickerRoot: React.ForwardRefExoticComponent<DatePickerRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
export type { DatePickerActions } from '@seed-design/react-date-picker';
|
|
45
74
|
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,iBAAiB,EAEtB,KAAK,mBAAmB,EAExB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AA2BhD,KAAK,0BAA0B,GAAG,cAAc,GAC9C,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC,GACpD,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,eAAe,CAC3D,CAAC;AAEJ,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB;CAAG;AAEhF,KAAK,uBAAuB,GAAG,kBAAkB,SAAS,MAAM,KAAK,GACjE,KAAK,SAAS,kBAAkB,GAC9B,IAAI,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC,GAC1C,KAAK,GACP,KAAK,CAAC;AAEV,KAAK,2BAA2B,GAC5B;IACE;;;OAGG;IACH,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,gCAAgC,KAAK,KAAK,CAAC,SAAS,CAAC;IACxF,qBAAqB,CAAC,EAAE,KAAK,CAAC;CAC/B,GACD;IACE;;;OAGG;IACH,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,gCAAgC,KAAK,KAAK,CAAC,SAAS,CAAC;IACrF,wBAAwB,CAAC,EAAE,KAAK,CAAC;CAClC,CAAC;AAEN,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GACvD,0BAA0B,GAC1B,2BAA2B,GAAG;IAC5B,mCAAmC;IACnC,YAAY,EAAE,sBAAsB,CAAC;IAErC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC,oCAAoC;IACpC,UAAU,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAE1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAkKJ,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,8FA0C5B,CAAC;AAuCF,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,SAAS;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,EAAE,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;QAChD,wDAAwD;QACxD,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;QACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,EAAE,OAAO,CAAC;QAClB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,EAAE,SAAS,qBAAqB,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,KAAK,CAAC,SAAS,CAAC;CAClE;AAED,eAAO,MAAM,eAAe,6FAmE3B,CAAC;AAGF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,gGAkF9B,CAAC;AAGF,eAAO,MAAM,cAAc,4FAsF1B,CAAC;AAGF,YAAY,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC"}
|