@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
package/src/index.ts
CHANGED
|
@@ -5,8 +5,31 @@ export type { ResponsiveValue, UnwrapResponsive, BreakpointThreshold } from "./t
|
|
|
5
5
|
export { useBreakpoint } from "./hooks/useBreakpoint";
|
|
6
6
|
export type { UseBreakpointOptions } from "./hooks/useBreakpoint";
|
|
7
7
|
export { useBreakpointValue } from "./hooks/useBreakpointValue";
|
|
8
|
-
export { useScaleFeedback, ScaleFeedback } from "@seed-design/react-scale-feedback";
|
|
9
|
-
export type { ScaleFeedbackProps } from "@seed-design/react-scale-feedback";
|
|
8
|
+
export { useScaleFeedback, ScaleFeedback, ContentScale } from "@seed-design/react-scale-feedback";
|
|
9
|
+
export type { ScaleFeedbackProps, ContentScaleProps } from "@seed-design/react-scale-feedback";
|
|
10
|
+
export {
|
|
11
|
+
usePagination,
|
|
12
|
+
useTablePagination,
|
|
13
|
+
type PaginationChangeDetails,
|
|
14
|
+
type PaginationChangeReason,
|
|
15
|
+
type PaginationVisibleItemCount,
|
|
16
|
+
type TablePaginationChangeDetails,
|
|
17
|
+
type TablePaginationChangeReason,
|
|
18
|
+
type TablePaginationValue,
|
|
19
|
+
type UsePaginationProps,
|
|
20
|
+
type UseTablePaginationProps,
|
|
21
|
+
} from "@seed-design/react-pagination";
|
|
22
|
+
export {
|
|
23
|
+
useTimePicker,
|
|
24
|
+
type MinuteStep,
|
|
25
|
+
type TimePickerColumn,
|
|
26
|
+
type TimePickerColumnType,
|
|
27
|
+
type TimePickerColumnValueChangeDetails,
|
|
28
|
+
type TimePickerOption,
|
|
29
|
+
type TimePickerValue,
|
|
30
|
+
type UseTimePickerProps,
|
|
31
|
+
type UseTimePickerReturn,
|
|
32
|
+
} from "@seed-design/react-time-picker";
|
|
10
33
|
export { BreakpointProvider } from "./providers/BreakpointProvider";
|
|
11
34
|
export type { BreakpointProviderProps } from "./providers/BreakpointProvider";
|
|
12
35
|
|
package/src/utils/styled.tsx
CHANGED
|
@@ -71,13 +71,17 @@ export function handleDimension(dimension: string | 0 | undefined): string | und
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
function handleBleed(
|
|
74
|
-
dimension: "asPadding" | string | 0 | undefined,
|
|
74
|
+
dimension: "asPadding" | "safeArea" | string | 0 | undefined,
|
|
75
75
|
direction: "top" | "right" | "bottom" | "left",
|
|
76
76
|
) {
|
|
77
77
|
if (dimension === "asPadding") {
|
|
78
78
|
return `var(--seed-box-padding-${direction})`;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
if (dimension === "safeArea") {
|
|
82
|
+
return `var(--seed-safe-area-${direction})`;
|
|
83
|
+
}
|
|
84
|
+
|
|
81
85
|
return handleDimension(dimension);
|
|
82
86
|
}
|
|
83
87
|
|
|
@@ -92,7 +96,7 @@ function handleShadow(shadow: Shadow | (string & {}) | undefined) {
|
|
|
92
96
|
|
|
93
97
|
function handlePaddingWithSafeArea(
|
|
94
98
|
padding: string | 0 | undefined,
|
|
95
|
-
direction: "top" | "bottom",
|
|
99
|
+
direction: "top" | "right" | "bottom" | "left",
|
|
96
100
|
): string | undefined {
|
|
97
101
|
if (padding === "safeArea") {
|
|
98
102
|
return `var(--seed-safe-area-${direction})`;
|
|
@@ -257,71 +261,120 @@ interface BleedStyleProps {
|
|
|
257
261
|
/**
|
|
258
262
|
* Negative margin on all four sides to extend the element outside its parent.
|
|
259
263
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
264
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
260
265
|
*
|
|
261
266
|
* Cannot be combined with any `margin*` prop.
|
|
262
267
|
*/
|
|
263
268
|
bleed?: ResponsiveValue<
|
|
264
|
-
"asPadding"
|
|
269
|
+
| "asPadding"
|
|
270
|
+
| "safeArea"
|
|
271
|
+
| Dimension
|
|
272
|
+
| `spacingX.${SpacingX}`
|
|
273
|
+
| `spacingY.${SpacingY}`
|
|
274
|
+
| 0
|
|
275
|
+
| (string & {})
|
|
265
276
|
>;
|
|
266
277
|
|
|
267
278
|
/**
|
|
268
279
|
* Negative x-axis margin to extend the element outside its parent.
|
|
269
280
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
281
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
270
282
|
*
|
|
271
283
|
* Cannot be combined with any `margin*` prop.
|
|
272
284
|
*/
|
|
273
285
|
bleedX?: ResponsiveValue<
|
|
274
|
-
"asPadding"
|
|
286
|
+
| "asPadding"
|
|
287
|
+
| "safeArea"
|
|
288
|
+
| Dimension
|
|
289
|
+
| `spacingX.${SpacingX}`
|
|
290
|
+
| `spacingY.${SpacingY}`
|
|
291
|
+
| 0
|
|
292
|
+
| (string & {})
|
|
275
293
|
>;
|
|
276
294
|
|
|
277
295
|
/**
|
|
278
296
|
* Negative y-axis margin to extend the element outside its parent.
|
|
279
297
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
298
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
280
299
|
*
|
|
281
300
|
* Cannot be combined with any `margin*` prop.
|
|
282
301
|
*/
|
|
283
302
|
bleedY?: ResponsiveValue<
|
|
284
|
-
"asPadding"
|
|
303
|
+
| "asPadding"
|
|
304
|
+
| "safeArea"
|
|
305
|
+
| Dimension
|
|
306
|
+
| `spacingX.${SpacingX}`
|
|
307
|
+
| `spacingY.${SpacingY}`
|
|
308
|
+
| 0
|
|
309
|
+
| (string & {})
|
|
285
310
|
>;
|
|
286
311
|
|
|
287
312
|
/**
|
|
288
313
|
* Negative top margin to extend the element outside its parent.
|
|
289
314
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
315
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
290
316
|
*
|
|
291
317
|
* Cannot be combined with any `margin*` prop.
|
|
292
318
|
*/
|
|
293
319
|
bleedTop?: ResponsiveValue<
|
|
294
|
-
"asPadding"
|
|
320
|
+
| "asPadding"
|
|
321
|
+
| "safeArea"
|
|
322
|
+
| Dimension
|
|
323
|
+
| `spacingX.${SpacingX}`
|
|
324
|
+
| `spacingY.${SpacingY}`
|
|
325
|
+
| 0
|
|
326
|
+
| (string & {})
|
|
295
327
|
>;
|
|
296
328
|
|
|
297
329
|
/**
|
|
298
330
|
* Negative right margin to extend the element outside its parent.
|
|
299
331
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
332
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
300
333
|
*
|
|
301
334
|
* Cannot be combined with any `margin*` prop.
|
|
302
335
|
*/
|
|
303
336
|
bleedRight?: ResponsiveValue<
|
|
304
|
-
"asPadding"
|
|
337
|
+
| "asPadding"
|
|
338
|
+
| "safeArea"
|
|
339
|
+
| Dimension
|
|
340
|
+
| `spacingX.${SpacingX}`
|
|
341
|
+
| `spacingY.${SpacingY}`
|
|
342
|
+
| 0
|
|
343
|
+
| (string & {})
|
|
305
344
|
>;
|
|
306
345
|
|
|
307
346
|
/**
|
|
308
347
|
* Negative bottom margin to extend the element outside its parent.
|
|
309
348
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
349
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
310
350
|
*
|
|
311
351
|
* Cannot be combined with any `margin*` prop.
|
|
312
352
|
*/
|
|
313
353
|
bleedBottom?: ResponsiveValue<
|
|
314
|
-
"asPadding"
|
|
354
|
+
| "asPadding"
|
|
355
|
+
| "safeArea"
|
|
356
|
+
| Dimension
|
|
357
|
+
| `spacingX.${SpacingX}`
|
|
358
|
+
| `spacingY.${SpacingY}`
|
|
359
|
+
| 0
|
|
360
|
+
| (string & {})
|
|
315
361
|
>;
|
|
316
362
|
|
|
317
363
|
/**
|
|
318
364
|
* Negative left margin to extend the element outside its parent.
|
|
319
365
|
* If set to "asPadding", it will use the padding value in the same direction.
|
|
366
|
+
* If set to "safeArea", it will use the safe area inset in the same direction.
|
|
320
367
|
*
|
|
321
368
|
* Cannot be combined with any `margin*` prop.
|
|
322
369
|
*/
|
|
323
370
|
bleedLeft?: ResponsiveValue<
|
|
324
|
-
"asPadding"
|
|
371
|
+
| "asPadding"
|
|
372
|
+
| "safeArea"
|
|
373
|
+
| Dimension
|
|
374
|
+
| `spacingX.${SpacingX}`
|
|
375
|
+
| `spacingY.${SpacingY}`
|
|
376
|
+
| 0
|
|
377
|
+
| (string & {})
|
|
325
378
|
>;
|
|
326
379
|
}
|
|
327
380
|
|
|
@@ -479,14 +532,14 @@ export type StyleProps = {
|
|
|
479
532
|
>;
|
|
480
533
|
|
|
481
534
|
paddingRight?: ResponsiveValue<
|
|
482
|
-
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | (string & {})
|
|
535
|
+
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | "safeArea" | (string & {})
|
|
483
536
|
>;
|
|
484
537
|
|
|
485
538
|
/**
|
|
486
539
|
* Shorthand for `paddingRight`.
|
|
487
540
|
*/
|
|
488
541
|
pr?: ResponsiveValue<
|
|
489
|
-
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | (string & {})
|
|
542
|
+
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | "safeArea" | (string & {})
|
|
490
543
|
>;
|
|
491
544
|
|
|
492
545
|
paddingBottom?: ResponsiveValue<
|
|
@@ -501,14 +554,14 @@ export type StyleProps = {
|
|
|
501
554
|
>;
|
|
502
555
|
|
|
503
556
|
paddingLeft?: ResponsiveValue<
|
|
504
|
-
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | (string & {})
|
|
557
|
+
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | "safeArea" | (string & {})
|
|
505
558
|
>;
|
|
506
559
|
|
|
507
560
|
/**
|
|
508
561
|
* Shorthand for `paddingLeft`.
|
|
509
562
|
*/
|
|
510
563
|
pl?: ResponsiveValue<
|
|
511
|
-
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | (string & {})
|
|
564
|
+
Dimension | `spacingX.${SpacingX}` | `spacingY.${SpacingY}` | 0 | "safeArea" | (string & {})
|
|
512
565
|
>;
|
|
513
566
|
|
|
514
567
|
display?: ResponsiveValue<
|
|
@@ -747,13 +800,17 @@ export function useStyleProps<T extends UseStyleProps>(
|
|
|
747
800
|
handlePaddingWithSafeArea(v, "top"),
|
|
748
801
|
)),
|
|
749
802
|
...((paddingRight ?? pr) !== undefined &&
|
|
750
|
-
resolveResponsive("--seed-box-padding-right", paddingRight ?? pr,
|
|
803
|
+
resolveResponsive("--seed-box-padding-right", paddingRight ?? pr, (v) =>
|
|
804
|
+
handlePaddingWithSafeArea(v, "right"),
|
|
805
|
+
)),
|
|
751
806
|
...((paddingBottom ?? pb) !== undefined &&
|
|
752
807
|
resolveResponsive("--seed-box-padding-bottom", paddingBottom ?? pb, (v) =>
|
|
753
808
|
handlePaddingWithSafeArea(v, "bottom"),
|
|
754
809
|
)),
|
|
755
810
|
...((paddingLeft ?? pl) !== undefined &&
|
|
756
|
-
resolveResponsive("--seed-box-padding-left", paddingLeft ?? pl,
|
|
811
|
+
resolveResponsive("--seed-box-padding-left", paddingLeft ?? pl, (v) =>
|
|
812
|
+
handlePaddingWithSafeArea(v, "left"),
|
|
813
|
+
)),
|
|
757
814
|
...((bleedTop ?? bleedY ?? bleed) !== undefined &&
|
|
758
815
|
resolveResponsive("--seed-box-bleed-top", bleedTop ?? bleedY ?? bleed, (v) =>
|
|
759
816
|
handleBleed(v, "top"),
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Primitive } from "@seed-design/react-primitive";
|
|
2
|
+
import { render } from "@testing-library/react";
|
|
3
|
+
import { describe, expect, it } from "bun:test";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { PageBannerContent, PageBannerRoot } from "../components/PageBanner/PageBanner";
|
|
6
|
+
import { withContentScale } from "./withContentScale";
|
|
7
|
+
|
|
8
|
+
const Pressable = withContentScale(Primitive.button);
|
|
9
|
+
|
|
10
|
+
describe("withContentScale", () => {
|
|
11
|
+
describe("without asChild", () => {
|
|
12
|
+
it("makes the content scale box the element's only child, holding the children", () => {
|
|
13
|
+
const { container } = render(
|
|
14
|
+
<Pressable>
|
|
15
|
+
<span>prefix</span>
|
|
16
|
+
<span>body</span>
|
|
17
|
+
</Pressable>,
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
const root = container.firstElementChild;
|
|
21
|
+
const box = root?.firstElementChild;
|
|
22
|
+
|
|
23
|
+
expect(root?.tagName).toBe("BUTTON");
|
|
24
|
+
expect(root?.childNodes.length).toBe(1);
|
|
25
|
+
expect(box?.outerHTML).toBe(
|
|
26
|
+
'<span class="seed-content-scale"><span>prefix</span><span>body</span></span>',
|
|
27
|
+
);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it("forwards className and ref to the element and opts it into scale feedback", () => {
|
|
31
|
+
const ref = React.createRef<HTMLButtonElement>();
|
|
32
|
+
const { container } = render(
|
|
33
|
+
<Pressable ref={ref} className="custom">
|
|
34
|
+
content
|
|
35
|
+
</Pressable>,
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
const root = container.firstElementChild;
|
|
39
|
+
|
|
40
|
+
expect(root?.className).toBe("seed-scale-feedback custom");
|
|
41
|
+
expect(ref.current).toBe(root as HTMLButtonElement);
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
describe("with asChild", () => {
|
|
46
|
+
it("renders the child as the element and wraps the child's children in the box", () => {
|
|
47
|
+
const ref = React.createRef<HTMLButtonElement>();
|
|
48
|
+
const childRef = React.createRef<HTMLAnchorElement>();
|
|
49
|
+
const { container } = render(
|
|
50
|
+
<Pressable asChild ref={ref} className="custom">
|
|
51
|
+
<a href="/x" className="link" ref={childRef}>
|
|
52
|
+
<span>text</span>
|
|
53
|
+
</a>
|
|
54
|
+
</Pressable>,
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
const root = container.firstElementChild;
|
|
58
|
+
|
|
59
|
+
expect(container.childNodes.length).toBe(1);
|
|
60
|
+
expect(root?.tagName).toBe("A");
|
|
61
|
+
expect(root?.getAttribute("href")).toBe("/x");
|
|
62
|
+
expect(root?.className).toBe("seed-scale-feedback custom link");
|
|
63
|
+
expect(ref.current).toBe(root as HTMLButtonElement);
|
|
64
|
+
expect(childRef.current).toBe(root as HTMLAnchorElement);
|
|
65
|
+
expect(root?.innerHTML).toBe('<span class="seed-content-scale"><span>text</span></span>');
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it("wraps an actionable PageBanner's button content through Root asChild", () => {
|
|
70
|
+
const { container } = render(
|
|
71
|
+
<PageBannerRoot asChild>
|
|
72
|
+
<button type="button">
|
|
73
|
+
<PageBannerContent>description</PageBannerContent>
|
|
74
|
+
</button>
|
|
75
|
+
</PageBannerRoot>,
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
const root = container.firstElementChild;
|
|
79
|
+
const box = root?.firstElementChild;
|
|
80
|
+
|
|
81
|
+
expect(root?.tagName).toBe("BUTTON");
|
|
82
|
+
expect(root?.classList.contains("seed-scale-feedback")).toBe(true);
|
|
83
|
+
expect(root?.childNodes.length).toBe(1);
|
|
84
|
+
expect(box?.className).toBe("seed-content-scale");
|
|
85
|
+
expect(box?.childNodes.length).toBe(1);
|
|
86
|
+
expect(box?.textContent).toBe("description");
|
|
87
|
+
});
|
|
88
|
+
});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
2
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
3
|
+
import { ContentScale, useScaleFeedback } from "@seed-design/react-scale-feedback";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Wraps a component so its element opts into scale feedback and renders its
|
|
9
|
+
* children inside a `ContentScale` box, for slots whose recipe publishes
|
|
10
|
+
* `--seed-content-scale` instead of scaling the element itself.
|
|
11
|
+
*
|
|
12
|
+
* The children go through `Slottable`, so the box lands inside whichever element
|
|
13
|
+
* ends up rendered: the component's own element, or the `asChild` child, whose
|
|
14
|
+
* children are wrapped in its place.
|
|
15
|
+
*/
|
|
16
|
+
export function withContentScale<P>(
|
|
17
|
+
Component: React.ForwardRefExoticComponent<P>,
|
|
18
|
+
): React.ForwardRefExoticComponent<P>;
|
|
19
|
+
export function withContentScale(
|
|
20
|
+
Component: React.ForwardRefExoticComponent<
|
|
21
|
+
React.RefAttributes<HTMLElement> & { className?: string; children?: React.ReactNode }
|
|
22
|
+
>,
|
|
23
|
+
): React.ForwardRefExoticComponent<
|
|
24
|
+
React.RefAttributes<HTMLElement> & { className?: string; children?: React.ReactNode }
|
|
25
|
+
> {
|
|
26
|
+
const Pressable = React.forwardRef<
|
|
27
|
+
HTMLElement,
|
|
28
|
+
{ className?: string; children?: React.ReactNode }
|
|
29
|
+
>(({ children, ...props }, ref) => {
|
|
30
|
+
const { scaleFeedbackRef, scaleFeedbackClassName } = useScaleFeedback();
|
|
31
|
+
const composedRef = useComposedRefs(scaleFeedbackRef, ref);
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<Component
|
|
35
|
+
{...props}
|
|
36
|
+
ref={composedRef}
|
|
37
|
+
className={clsx(scaleFeedbackClassName, props.className)}
|
|
38
|
+
>
|
|
39
|
+
<Slottable child={children}>
|
|
40
|
+
{(content) => <ContentScale>{content}</ContentScale>}
|
|
41
|
+
</Slottable>
|
|
42
|
+
</Component>
|
|
43
|
+
);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
Pressable.displayName = Component.displayName;
|
|
47
|
+
return Pressable;
|
|
48
|
+
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_Icon = require("../Icon/Icon.cjs");
|
|
4
|
-
const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
|
|
5
|
-
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
6
|
-
let _seed_design_css_recipes_action_chip = require("@seed-design/css/recipes/action-chip");
|
|
7
|
-
//#region src/components/ActionChip/ActionChip.tsx
|
|
8
|
-
var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_action_chip.actionChip);
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
|
|
11
|
-
*/
|
|
12
|
-
var ActionChip = require_Icon.withIconRequired(withContext(_seed_design_react_primitive.Primitive.button), (props) => props.layout === "iconOnly");
|
|
13
|
-
ActionChip.displayName = "ActionChip";
|
|
14
|
-
//#endregion
|
|
15
|
-
exports.ActionChip = ActionChip;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ActionChipVariantProps } from '@seed-design/css/recipes/action-chip';
|
|
2
|
-
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
-
import type * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
|
|
6
|
-
*
|
|
7
|
-
* Migration guide:
|
|
8
|
-
* ```tsx
|
|
9
|
-
* // Before
|
|
10
|
-
* <ActionChip size="medium">Label</ActionChip>
|
|
11
|
-
*
|
|
12
|
-
* // After
|
|
13
|
-
* import { Chip } from "@seed-design/react";
|
|
14
|
-
* <Chip.Button size="medium" variant="solid">Label</Chip.Button>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export interface ActionChipProps extends ActionChipVariantProps, PrimitiveProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
|
|
21
|
-
*/
|
|
22
|
-
export declare const ActionChip: React.ForwardRefExoticComponent<Omit<ActionChipProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
23
|
-
//# sourceMappingURL=ActionChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionChip.d.ts","sourceRoot":"","sources":["../../../src/components/ActionChip/ActionChip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eACf,SAAQ,sBAAsB,EAC5B,cAAc,EACd,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAEpD;;GAEG;AACH,eAAO,MAAM,UAAU,iJAGtB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { withIconRequired } from "../Icon/Icon.js";
|
|
3
|
-
import { createRecipeContext } from "../../utils/createRecipeContext.js";
|
|
4
|
-
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
-
import { actionChip } from "@seed-design/css/recipes/action-chip";
|
|
6
|
-
//#region src/components/ActionChip/ActionChip.tsx
|
|
7
|
-
var { withContext } = createRecipeContext(actionChip);
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated ActionChip is deprecated. Use Chip.Button with variant="solid" instead.
|
|
10
|
-
*/
|
|
11
|
-
var ActionChip = withIconRequired(withContext(Primitive.button), (props) => props.layout === "iconOnly");
|
|
12
|
-
ActionChip.displayName = "ActionChip";
|
|
13
|
-
//#endregion
|
|
14
|
-
export { ActionChip };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ActionChip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
4
|
-
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
5
|
-
const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
|
|
6
|
-
let _seed_design_react_dialog = require("@seed-design/react-dialog");
|
|
7
|
-
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
8
|
-
let _seed_design_css_recipes_action_sheet = require("@seed-design/css/recipes/action-sheet");
|
|
9
|
-
let _seed_design_css_recipes_action_sheet_item = require("@seed-design/css/recipes/action-sheet-item");
|
|
10
|
-
//#region src/components/ActionSheet/ActionSheet.tsx
|
|
11
|
-
var { withRootProvider, withContext } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_action_sheet.actionSheet);
|
|
12
|
-
var { withContext: withItemContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_action_sheet_item.actionSheetItem);
|
|
13
|
-
var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_dialog.useDialogContext]);
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
16
|
-
*/
|
|
17
|
-
var ActionSheetRoot = withRootProvider(_seed_design_react_dialog.Dialog.Root, { defaultProps: {
|
|
18
|
-
lazyMount: true,
|
|
19
|
-
unmountOnExit: true
|
|
20
|
-
} });
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
23
|
-
*/
|
|
24
|
-
var ActionSheetTrigger = _seed_design_react_dialog.Dialog.Trigger;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
27
|
-
*/
|
|
28
|
-
var ActionSheetPositioner = withContext(_seed_design_react_dialog.Dialog.Positioner, "positioner");
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
31
|
-
*/
|
|
32
|
-
var ActionSheetBackdrop = withContext(_seed_design_react_dialog.Dialog.Backdrop, "backdrop");
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
35
|
-
*/
|
|
36
|
-
var ActionSheetContent = withContext(_seed_design_react_dialog.Dialog.Content, "content");
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
39
|
-
*/
|
|
40
|
-
var ActionSheetHeader = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "header");
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
43
|
-
*/
|
|
44
|
-
var ActionSheetTitle = withContext(withStateProps(_seed_design_react_primitive.Primitive.h2), "title");
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
47
|
-
*/
|
|
48
|
-
var ActionSheetDescription = withContext(withStateProps(_seed_design_react_primitive.Primitive.p), "description");
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
51
|
-
*/
|
|
52
|
-
var ActionSheetList = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "list");
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
55
|
-
*/
|
|
56
|
-
var ActionSheetItem = withItemContext(withStateProps(_seed_design_react_primitive.Primitive.button));
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
59
|
-
*/
|
|
60
|
-
var ActionSheetCloseButton = withContext(_seed_design_react_dialog.Dialog.CloseButton, "closeButton");
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.ActionSheetBackdrop = ActionSheetBackdrop;
|
|
63
|
-
exports.ActionSheetCloseButton = ActionSheetCloseButton;
|
|
64
|
-
exports.ActionSheetContent = ActionSheetContent;
|
|
65
|
-
exports.ActionSheetDescription = ActionSheetDescription;
|
|
66
|
-
exports.ActionSheetHeader = ActionSheetHeader;
|
|
67
|
-
exports.ActionSheetItem = ActionSheetItem;
|
|
68
|
-
exports.ActionSheetList = ActionSheetList;
|
|
69
|
-
exports.ActionSheetPositioner = ActionSheetPositioner;
|
|
70
|
-
exports.ActionSheetRoot = ActionSheetRoot;
|
|
71
|
-
exports.ActionSheetTitle = ActionSheetTitle;
|
|
72
|
-
exports.ActionSheetTrigger = ActionSheetTrigger;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { ActionSheetVariantProps } from '@seed-design/css/recipes/action-sheet';
|
|
2
|
-
import { ActionSheetItemVariantProps } from '@seed-design/css/recipes/action-sheet-item';
|
|
3
|
-
import { Dialog as DialogPrimitive } from '@seed-design/react-dialog';
|
|
4
|
-
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
5
|
-
import type * as React from "react";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
8
|
-
*/
|
|
9
|
-
export interface ActionSheetRootProps extends ActionSheetVariantProps, DialogPrimitive.RootProps {
|
|
10
|
-
/**
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
lazyMount?: DialogPrimitive.RootProps["lazyMount"];
|
|
14
|
-
/**
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
unmountOnExit?: DialogPrimitive.RootProps["unmountOnExit"];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
21
|
-
*/
|
|
22
|
-
export declare const ActionSheetRoot: React.ForwardRefExoticComponent<ActionSheetRootProps>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
25
|
-
*/
|
|
26
|
-
export interface ActionSheetTriggerProps extends DialogPrimitive.TriggerProps {
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
30
|
-
*/
|
|
31
|
-
export declare const ActionSheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
34
|
-
*/
|
|
35
|
-
export interface ActionSheetPositionerProps extends DialogPrimitive.PositionerProps {
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
39
|
-
*/
|
|
40
|
-
export declare const ActionSheetPositioner: React.ForwardRefExoticComponent<ActionSheetPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
43
|
-
*/
|
|
44
|
-
export interface ActionSheetBackdropProps extends DialogPrimitive.BackdropProps {
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
48
|
-
*/
|
|
49
|
-
export declare const ActionSheetBackdrop: React.ForwardRefExoticComponent<ActionSheetBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
52
|
-
*/
|
|
53
|
-
export interface ActionSheetContentProps extends DialogPrimitive.ContentProps {
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
57
|
-
*/
|
|
58
|
-
export declare const ActionSheetContent: React.ForwardRefExoticComponent<ActionSheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
61
|
-
*/
|
|
62
|
-
export interface ActionSheetHeaderProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
66
|
-
*/
|
|
67
|
-
export declare const ActionSheetHeader: React.ForwardRefExoticComponent<ActionSheetHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
70
|
-
*/
|
|
71
|
-
export interface ActionSheetTitleProps extends DialogPrimitive.TitleProps {
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
75
|
-
*/
|
|
76
|
-
export declare const ActionSheetTitle: React.ForwardRefExoticComponent<ActionSheetTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
79
|
-
*/
|
|
80
|
-
export interface ActionSheetDescriptionProps extends DialogPrimitive.DescriptionProps {
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
84
|
-
*/
|
|
85
|
-
export declare const ActionSheetDescription: React.ForwardRefExoticComponent<ActionSheetDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
86
|
-
/**
|
|
87
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
88
|
-
*/
|
|
89
|
-
export interface ActionSheetListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
93
|
-
*/
|
|
94
|
-
export declare const ActionSheetList: React.ForwardRefExoticComponent<ActionSheetListProps & React.RefAttributes<HTMLDivElement>>;
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
97
|
-
*/
|
|
98
|
-
export interface ActionSheetItemProps extends PrimitiveProps, ActionSheetItemVariantProps, React.HTMLAttributes<HTMLButtonElement> {
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
102
|
-
*/
|
|
103
|
-
export declare const ActionSheetItem: React.ForwardRefExoticComponent<ActionSheetItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
106
|
-
*/
|
|
107
|
-
export interface ActionSheetCloseButtonProps extends DialogPrimitive.CloseButtonProps {
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* @deprecated Use `SwipeableMenuSheet` instead.
|
|
111
|
-
*/
|
|
112
|
-
export declare const ActionSheetCloseButton: React.ForwardRefExoticComponent<ActionSheetCloseButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
113
|
-
//# sourceMappingURL=ActionSheet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../src/components/ActionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,2BAA2B,CAAC;AACxF,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB,EAAE,eAAe,CAAC,SAAS;IAC9F;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;CAC5D;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,uDAK1B,CAAC;AAIH;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,CAAC,YAAY;CAAG;AAEhF;;GAEG;AACH,eAAO,MAAM,kBAAkB,wGAA0B,CAAC;AAI1D;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,eAAe,CAAC,eAAe;CAAG;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,mGAGjC,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,eAAe,CAAC,aAAa;CAAG;AAElF;;GAEG;AACH,eAAO,MAAM,mBAAmB,iGAG/B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,CAAC,YAAY;CAAG;AAEhF;;GAEG;AACH,eAAO,MAAM,kBAAkB,gGAG9B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C;;GAEG;AACH,eAAO,MAAM,iBAAiB,+FAG7B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe,CAAC,UAAU;CAAG;AAE5E;;GAEG;AACH,eAAO,MAAM,gBAAgB,kGAG5B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAExF;;GAEG;AACH,eAAO,MAAM,sBAAsB,0GAGU,CAAC;AAI9C;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAErF;;GAEG;AACH,eAAO,MAAM,eAAe,6FAG3B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,2BAA2B,EAC3B,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;CAAG;AAE9C;;GAEG;AACH,eAAO,MAAM,eAAe,gGAE3B,CAAC;AAIF;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAExF;;GAEG;AACH,eAAO,MAAM,sBAAsB,oGAGlC,CAAC"}
|