@seed-design/react 1.2.8 → 1.2.10
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/_virtual/_rolldown/runtime.cjs +34 -0
- package/lib/_virtual/_rolldown/runtime.js +14 -0
- package/lib/components/ActionButton/ActionButton.cjs +46 -72
- package/lib/components/ActionButton/ActionButton.js +43 -49
- package/lib/components/ActionButton/index.cjs +3 -9
- package/lib/components/ActionButton/index.js +2 -1
- package/lib/components/ActionChip/ActionChip.cjs +13 -16
- package/lib/components/ActionChip/ActionChip.js +12 -12
- package/lib/components/ActionChip/index.cjs +3 -9
- package/lib/components/ActionChip/index.js +2 -1
- package/lib/components/ActionSheet/ActionSheet.cjs +61 -56
- package/lib/components/ActionSheet/ActionSheet.js +60 -52
- package/lib/components/ActionSheet/ActionSheet.namespace.cjs +23 -19
- package/lib/components/ActionSheet/ActionSheet.namespace.js +18 -1
- package/lib/components/ActionSheet/index.cjs +20 -21
- package/lib/components/ActionSheet/index.js +3 -3
- package/lib/components/Article/Article.cjs +19 -44
- package/lib/components/Article/Article.js +16 -21
- package/lib/components/Article/index.cjs +3 -9
- package/lib/components/Article/index.js +2 -1
- package/lib/components/AspectRatio/AspectRatio.cjs +27 -54
- package/lib/components/AspectRatio/AspectRatio.js +24 -31
- package/lib/components/AspectRatio/index.cjs +3 -9
- package/lib/components/AspectRatio/index.js +2 -1
- package/lib/components/Avatar/Avatar.cjs +35 -52
- package/lib/components/Avatar/Avatar.js +33 -30
- package/lib/components/Avatar/Avatar.namespace.cjs +17 -13
- package/lib/components/Avatar/Avatar.namespace.js +12 -1
- package/lib/components/Avatar/index.cjs +14 -15
- package/lib/components/Avatar/index.js +3 -3
- package/lib/components/Badge/Badge.cjs +23 -19
- package/lib/components/Badge/Badge.js +21 -15
- package/lib/components/Badge/index.cjs +3 -9
- package/lib/components/Badge/index.js +2 -1
- package/lib/components/BottomSheet/BottomSheet.cjs +31 -58
- package/lib/components/BottomSheet/BottomSheet.js +30 -54
- package/lib/components/BottomSheet/BottomSheet.namespace.cjs +25 -21
- package/lib/components/BottomSheet/BottomSheet.namespace.js +20 -2
- package/lib/components/BottomSheet/index.cjs +20 -21
- package/lib/components/BottomSheet/index.js +3 -3
- package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +24 -19
- package/lib/components/BottomSheetHandle/BottomSheetHandle.js +21 -15
- package/lib/components/BottomSheetHandle/index.cjs +3 -9
- package/lib/components/BottomSheetHandle/index.js +2 -1
- package/lib/components/Box/Box.cjs +26 -38
- package/lib/components/Box/Box.js +23 -15
- package/lib/components/Box/index.cjs +3 -9
- package/lib/components/Box/index.js +2 -1
- package/lib/components/Callout/Callout.cjs +15 -33
- package/lib/components/Callout/Callout.js +14 -29
- package/lib/components/Callout/Callout.namespace.cjs +18 -14
- package/lib/components/Callout/Callout.namespace.js +13 -1
- package/lib/components/Callout/index.cjs +15 -16
- package/lib/components/Callout/index.js +3 -3
- package/lib/components/Celsius/Celsius.cjs +5 -8
- package/lib/components/Celsius/Celsius.js +5 -4
- package/lib/components/Celsius/index.cjs +3 -9
- package/lib/components/Celsius/index.js +2 -1
- package/lib/components/Checkbox/Checkbox.cjs +70 -93
- package/lib/components/Checkbox/Checkbox.js +68 -89
- package/lib/components/Checkbox/Checkbox.namespace.cjs +18 -14
- package/lib/components/Checkbox/Checkbox.namespace.js +13 -1
- package/lib/components/Checkbox/index.cjs +15 -16
- package/lib/components/Checkbox/index.js +3 -3
- package/lib/components/Chip/Chip.cjs +24 -39
- package/lib/components/Chip/Chip.js +23 -35
- package/lib/components/Chip/Chip.namespace.cjs +17 -13
- package/lib/components/Chip/Chip.namespace.js +12 -1
- package/lib/components/Chip/index.cjs +14 -15
- package/lib/components/Chip/index.js +3 -3
- package/lib/components/ChipTabs/ChipTabs.cjs +30 -53
- package/lib/components/ChipTabs/ChipTabs.js +28 -49
- package/lib/components/ChipTabs/ChipTabs.namespace.cjs +18 -14
- package/lib/components/ChipTabs/ChipTabs.namespace.js +13 -1
- package/lib/components/ChipTabs/index.cjs +15 -16
- package/lib/components/ChipTabs/index.js +3 -3
- package/lib/components/Columns/Columns.cjs +34 -55
- package/lib/components/Columns/Columns.js +32 -32
- package/lib/components/Columns/index.cjs +4 -10
- package/lib/components/Columns/index.js +2 -1
- package/lib/components/ConsistentWidth/ConsistentWidth.cjs +17 -22
- package/lib/components/ConsistentWidth/ConsistentWidth.js +15 -18
- package/lib/components/ConsistentWidth/index.cjs +3 -9
- package/lib/components/ConsistentWidth/index.js +2 -1
- package/lib/components/ContentPlaceholder/ContentPlaceholder.cjs +43 -54
- package/lib/components/ContentPlaceholder/ContentPlaceholder.js +42 -32
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.cjs +14 -10
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.js +9 -1
- package/lib/components/ContentPlaceholder/index.cjs +11 -12
- package/lib/components/ContentPlaceholder/index.js +3 -3
- package/lib/components/ContentPlaceholder/presets.cjs +121 -76
- package/lib/components/ContentPlaceholder/presets.js +120 -72
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +36 -51
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +33 -28
- package/lib/components/ContextualFloatingButton/index.cjs +3 -9
- package/lib/components/ContextualFloatingButton/index.js +2 -1
- package/lib/components/ControlChip/ControlChip.cjs +13 -16
- package/lib/components/ControlChip/ControlChip.js +12 -12
- package/lib/components/ControlChip/index.cjs +3 -9
- package/lib/components/ControlChip/index.js +2 -1
- package/lib/components/Count/Count.cjs +16 -14
- package/lib/components/Count/Count.js +14 -10
- package/lib/components/Count/index.cjs +3 -9
- package/lib/components/Count/index.js +2 -1
- package/lib/components/Dialog/Dialog.cjs +24 -44
- package/lib/components/Dialog/Dialog.js +23 -40
- package/lib/components/Dialog/Dialog.namespace.cjs +22 -18
- package/lib/components/Dialog/Dialog.namespace.js +17 -1
- package/lib/components/Dialog/index.cjs +19 -20
- package/lib/components/Dialog/index.js +3 -3
- package/lib/components/Divider/Divider.cjs +32 -68
- package/lib/components/Divider/Divider.js +30 -45
- package/lib/components/Divider/index.cjs +3 -9
- package/lib/components/Divider/index.js +2 -1
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +65 -43
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +64 -39
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +24 -20
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +19 -1
- package/lib/components/ExtendedActionSheet/index.cjs +21 -22
- package/lib/components/ExtendedActionSheet/index.js +3 -3
- package/lib/components/ExtendedFab/ExtendedFab.cjs +15 -17
- package/lib/components/ExtendedFab/ExtendedFab.js +14 -13
- package/lib/components/ExtendedFab/index.cjs +3 -9
- package/lib/components/ExtendedFab/index.js +2 -1
- package/lib/components/Fab/Fab.cjs +12 -12
- package/lib/components/Fab/Fab.js +11 -8
- package/lib/components/Fab/index.cjs +3 -9
- package/lib/components/Fab/index.js +2 -1
- package/lib/components/Field/Field.cjs +62 -107
- package/lib/components/Field/Field.js +60 -103
- package/lib/components/Field/Field.namespace.cjs +21 -17
- package/lib/components/Field/Field.namespace.js +16 -1
- package/lib/components/Field/index.cjs +18 -19
- package/lib/components/Field/index.js +3 -3
- package/lib/components/FieldButton/FieldButton.cjs +94 -177
- package/lib/components/FieldButton/FieldButton.js +91 -154
- package/lib/components/FieldButton/FieldButton.namespace.cjs +30 -26
- package/lib/components/FieldButton/FieldButton.namespace.js +25 -1
- package/lib/components/FieldButton/index.cjs +27 -28
- package/lib/components/FieldButton/index.js +3 -3
- package/lib/components/Fieldset/Fieldset.cjs +40 -78
- package/lib/components/Fieldset/Fieldset.js +38 -74
- package/lib/components/Fieldset/Fieldset.namespace.cjs +20 -16
- package/lib/components/Fieldset/Fieldset.namespace.js +15 -1
- package/lib/components/Fieldset/index.cjs +17 -18
- package/lib/components/Fieldset/index.js +3 -3
- package/lib/components/Flex/Flex.cjs +21 -45
- package/lib/components/Flex/Flex.js +19 -22
- package/lib/components/Flex/index.cjs +3 -9
- package/lib/components/Flex/index.js +2 -1
- package/lib/components/Float/Float.cjs +70 -104
- package/lib/components/Float/Float.js +68 -81
- package/lib/components/Float/index.cjs +3 -9
- package/lib/components/Float/index.js +2 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.cjs +12 -15
- package/lib/components/FloatingActionButton/FloatingActionButton.js +11 -11
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +15 -11
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +10 -1
- package/lib/components/FloatingActionButton/index.cjs +12 -13
- package/lib/components/FloatingActionButton/index.js +3 -3
- package/lib/components/Grid/Grid.cjs +27 -54
- package/lib/components/Grid/Grid.js +25 -31
- package/lib/components/Grid/index.cjs +3 -9
- package/lib/components/Grid/index.js +2 -1
- package/lib/components/GridItem/GridItem.cjs +22 -40
- package/lib/components/GridItem/GridItem.js +20 -17
- package/lib/components/GridItem/index.cjs +3 -9
- package/lib/components/GridItem/index.js +2 -1
- package/lib/components/HelpBubble/HelpBubble.cjs +52 -85
- package/lib/components/HelpBubble/HelpBubble.js +50 -81
- package/lib/components/HelpBubble/HelpBubble.namespace.cjs +24 -20
- package/lib/components/HelpBubble/HelpBubble.namespace.js +19 -1
- package/lib/components/HelpBubble/index.cjs +21 -22
- package/lib/components/HelpBubble/index.js +3 -3
- package/lib/components/Icon/Icon.cjs +99 -120
- package/lib/components/Icon/Icon.js +98 -116
- package/lib/components/Icon/index.cjs +5 -11
- package/lib/components/Icon/index.js +2 -1
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +50 -71
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +48 -48
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +14 -10
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +9 -1
- package/lib/components/IdentityPlaceholder/index.cjs +11 -12
- package/lib/components/IdentityPlaceholder/index.js +3 -3
- package/lib/components/ImageFrame/ImageFrame.cjs +155 -171
- package/lib/components/ImageFrame/ImageFrame.d.ts +1 -1
- package/lib/components/ImageFrame/ImageFrame.js +152 -148
- package/lib/components/ImageFrame/index.cjs +8 -14
- package/lib/components/ImageFrame/index.js +2 -1
- package/lib/components/Inline/Inline.cjs +21 -42
- package/lib/components/Inline/Inline.js +19 -19
- package/lib/components/Inline/index.cjs +3 -9
- package/lib/components/Inline/index.js +2 -1
- package/lib/components/InlineBanner/InlineBanner.cjs +33 -36
- package/lib/components/InlineBanner/InlineBanner.js +32 -32
- package/lib/components/InlineBanner/InlineBanner.namespace.cjs +18 -14
- package/lib/components/InlineBanner/InlineBanner.namespace.js +13 -1
- package/lib/components/InlineBanner/index.cjs +15 -16
- package/lib/components/InlineBanner/index.js +3 -3
- package/lib/components/LinkContent/LinkContent.cjs +13 -15
- package/lib/components/LinkContent/LinkContent.js +12 -11
- package/lib/components/LinkContent/index.cjs +3 -9
- package/lib/components/LinkContent/index.js +2 -1
- package/lib/components/List/List.cjs +46 -63
- package/lib/components/List/List.js +45 -59
- package/lib/components/List/List.namespace.cjs +19 -15
- package/lib/components/List/List.namespace.js +14 -1
- package/lib/components/List/ListHeader.cjs +18 -18
- package/lib/components/List/ListHeader.js +16 -14
- package/lib/components/List/index.cjs +18 -19
- package/lib/components/List/index.js +4 -4
- package/lib/components/LoadingIndicator/LoadingIndicator.cjs +24 -26
- package/lib/components/LoadingIndicator/LoadingIndicator.js +23 -22
- package/lib/components/LoadingIndicator/index.cjs +3 -9
- package/lib/components/LoadingIndicator/index.js +2 -1
- package/lib/components/LoadingIndicator/usePendingButton.cjs +22 -46
- package/lib/components/LoadingIndicator/usePendingButton.js +20 -23
- package/lib/components/MannerTemp/MannerTemp.cjs +20 -18
- package/lib/components/MannerTemp/MannerTemp.js +19 -14
- package/lib/components/MannerTemp/MannerTempEmote.cjs +130 -96
- package/lib/components/MannerTemp/MannerTempEmote.js +129 -92
- package/lib/components/MannerTemp/index.cjs +5 -11
- package/lib/components/MannerTemp/index.js +3 -2
- package/lib/components/MannerTempBadge/MannerTempBadge.cjs +9 -12
- package/lib/components/MannerTempBadge/MannerTempBadge.js +8 -8
- package/lib/components/MannerTempBadge/index.cjs +3 -9
- package/lib/components/MannerTempBadge/index.js +2 -1
- package/lib/components/MenuSheet/MenuSheet.cjs +80 -138
- package/lib/components/MenuSheet/MenuSheet.js +77 -115
- package/lib/components/MenuSheet/MenuSheet.namespace.cjs +28 -24
- package/lib/components/MenuSheet/MenuSheet.namespace.js +23 -1
- package/lib/components/MenuSheet/index.cjs +25 -26
- package/lib/components/MenuSheet/index.js +3 -3
- package/lib/components/NotificationBadge/NotificationBadge.cjs +29 -41
- package/lib/components/NotificationBadge/NotificationBadge.js +27 -19
- package/lib/components/NotificationBadge/index.cjs +4 -10
- package/lib/components/NotificationBadge/index.js +2 -1
- package/lib/components/PageBanner/PageBanner.cjs +32 -51
- package/lib/components/PageBanner/PageBanner.js +30 -47
- package/lib/components/PageBanner/PageBanner.namespace.cjs +19 -15
- package/lib/components/PageBanner/PageBanner.namespace.js +14 -1
- package/lib/components/PageBanner/index.cjs +16 -17
- package/lib/components/PageBanner/index.js +3 -3
- package/lib/components/Portal/index.cjs +7 -10
- package/lib/components/Portal/index.js +2 -1
- package/lib/components/ProgressCircle/ProgressCircle.cjs +11 -23
- package/lib/components/ProgressCircle/ProgressCircle.js +10 -19
- package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +15 -11
- package/lib/components/ProgressCircle/ProgressCircle.namespace.js +10 -1
- package/lib/components/ProgressCircle/index.cjs +12 -13
- package/lib/components/ProgressCircle/index.js +3 -3
- package/lib/components/PullToRefresh/PullToRefresh.cjs +11 -20
- package/lib/components/PullToRefresh/PullToRefresh.js +10 -16
- package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +16 -15
- package/lib/components/PullToRefresh/PullToRefresh.namespace.js +12 -2
- package/lib/components/PullToRefresh/index.cjs +18 -16
- package/lib/components/PullToRefresh/index.js +4 -4
- package/lib/components/RadioGroup/RadioGroup.cjs +69 -75
- package/lib/components/RadioGroup/RadioGroup.js +67 -71
- package/lib/components/RadioGroup/RadioGroup.namespace.cjs +18 -14
- package/lib/components/RadioGroup/RadioGroup.namespace.js +13 -1
- package/lib/components/RadioGroup/index.cjs +15 -16
- package/lib/components/RadioGroup/index.js +3 -3
- package/lib/components/RadioGroupField/RadioGroupField.cjs +40 -69
- package/lib/components/RadioGroupField/RadioGroupField.js +38 -65
- package/lib/components/RadioGroupField/RadioGroupField.namespace.cjs +20 -16
- package/lib/components/RadioGroupField/RadioGroupField.namespace.js +15 -1
- package/lib/components/RadioGroupField/index.cjs +17 -18
- package/lib/components/RadioGroupField/index.js +3 -3
- package/lib/components/ReactionButton/ReactionButton.cjs +28 -47
- package/lib/components/ReactionButton/ReactionButton.js +25 -24
- package/lib/components/ReactionButton/index.cjs +3 -9
- package/lib/components/ReactionButton/index.js +2 -1
- package/lib/components/ResponsivePair/ResponsivePair.cjs +34 -57
- package/lib/components/ResponsivePair/ResponsivePair.js +32 -34
- package/lib/components/ResponsivePair/index.cjs +3 -9
- package/lib/components/ResponsivePair/index.js +2 -1
- package/lib/components/ScrollFog/ScrollFog.cjs +49 -61
- package/lib/components/ScrollFog/ScrollFog.js +47 -57
- package/lib/components/ScrollFog/index.cjs +3 -9
- package/lib/components/ScrollFog/index.js +2 -1
- package/lib/components/SegmentedControl/SegmentedControl.cjs +13 -22
- package/lib/components/SegmentedControl/SegmentedControl.js +12 -18
- package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +16 -12
- package/lib/components/SegmentedControl/SegmentedControl.namespace.js +11 -1
- package/lib/components/SegmentedControl/index.cjs +13 -14
- package/lib/components/SegmentedControl/index.js +3 -3
- package/lib/components/SelectBox/CheckSelectBox.cjs +115 -134
- package/lib/components/SelectBox/CheckSelectBox.js +113 -130
- package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +23 -19
- package/lib/components/SelectBox/CheckSelectBox.namespace.js +18 -1
- package/lib/components/SelectBox/RadioSelectBox.cjs +109 -128
- package/lib/components/SelectBox/RadioSelectBox.js +107 -124
- package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +21 -17
- package/lib/components/SelectBox/RadioSelectBox.namespace.js +16 -1
- package/lib/components/SelectBox/index.cjs +37 -33
- package/lib/components/SelectBox/index.js +5 -6
- package/lib/components/Skeleton/Skeleton.cjs +10 -13
- package/lib/components/Skeleton/Skeleton.js +9 -9
- package/lib/components/Skeleton/index.cjs +3 -9
- package/lib/components/Skeleton/index.js +2 -1
- package/lib/components/Slider/Slider.cjs +69 -90
- package/lib/components/Slider/Slider.js +67 -86
- package/lib/components/Slider/Slider.namespace.cjs +25 -21
- package/lib/components/Slider/Slider.namespace.js +20 -1
- package/lib/components/Slider/index.cjs +22 -23
- package/lib/components/Slider/index.js +3 -3
- package/lib/components/Snackbar/Snackbar.cjs +38 -55
- package/lib/components/Snackbar/Snackbar.d.ts +1 -1
- package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/lib/components/Snackbar/Snackbar.js +37 -51
- package/lib/components/Snackbar/Snackbar.namespace.cjs +22 -18
- package/lib/components/Snackbar/Snackbar.namespace.js +17 -1
- package/lib/components/Snackbar/index.cjs +26 -24
- package/lib/components/Snackbar/index.js +5 -5
- package/lib/components/Snackbar/useSnackbarAdapter.cjs +23 -26
- package/lib/components/Snackbar/useSnackbarAdapter.d.ts.map +1 -1
- package/lib/components/Snackbar/useSnackbarAdapter.js +22 -22
- package/lib/components/Stack/Stack.cjs +32 -35
- package/lib/components/Stack/Stack.js +30 -12
- package/lib/components/Stack/index.cjs +5 -11
- package/lib/components/Stack/index.js +2 -1
- package/lib/components/Switch/Switch.cjs +45 -63
- package/lib/components/Switch/Switch.js +42 -59
- package/lib/components/Switch/Switch.namespace.cjs +17 -13
- package/lib/components/Switch/Switch.namespace.js +12 -1
- package/lib/components/Switch/index.cjs +14 -15
- package/lib/components/Switch/index.js +3 -3
- package/lib/components/Tabs/Tabs.cjs +15 -33
- package/lib/components/Tabs/Tabs.js +14 -29
- package/lib/components/Tabs/Tabs.namespace.cjs +20 -19
- package/lib/components/Tabs/Tabs.namespace.js +16 -2
- package/lib/components/Tabs/index.cjs +22 -20
- package/lib/components/Tabs/index.js +4 -4
- package/lib/components/TagGroup/TagGroup.cjs +54 -51
- package/lib/components/TagGroup/TagGroup.js +52 -47
- package/lib/components/TagGroup/TagGroup.namespace.cjs +15 -11
- package/lib/components/TagGroup/TagGroup.namespace.js +10 -1
- package/lib/components/TagGroup/index.cjs +12 -13
- package/lib/components/TagGroup/index.js +3 -3
- package/lib/components/Text/Text.cjs +49 -85
- package/lib/components/Text/Text.js +47 -81
- package/lib/components/Text/index.cjs +3 -9
- package/lib/components/Text/index.js +2 -1
- package/lib/components/TextField/TextField.cjs +82 -122
- package/lib/components/TextField/TextField.js +80 -118
- package/lib/components/TextField/TextField.namespace.cjs +19 -15
- package/lib/components/TextField/TextField.namespace.js +14 -1
- package/lib/components/TextField/index.cjs +18 -19
- package/lib/components/TextField/index.js +4 -4
- package/lib/components/TextField/memoize.cjs +10 -15
- package/lib/components/TextField/memoize.js +10 -11
- package/lib/components/TextField/useTextFieldWithGraphemes.cjs +40 -50
- package/lib/components/TextField/useTextFieldWithGraphemes.js +39 -46
- package/lib/components/ToggleButton/ToggleButton.cjs +31 -47
- package/lib/components/ToggleButton/ToggleButton.js +28 -24
- package/lib/components/ToggleButton/index.cjs +3 -9
- package/lib/components/ToggleButton/index.js +2 -1
- package/lib/components/VisuallyHidden/VisuallyHidden.cjs +18 -14
- package/lib/components/VisuallyHidden/VisuallyHidden.js +17 -10
- package/lib/components/VisuallyHidden/index.cjs +3 -9
- package/lib/components/VisuallyHidden/index.js +2 -1
- package/lib/components/index.cjs +626 -458
- package/lib/components/index.js +110 -142
- package/lib/components/private/Icon.cjs +15 -15
- package/lib/components/private/Icon.js +14 -11
- package/lib/components/private/useDismissible.cjs +54 -73
- package/lib/components/private/useDismissible.js +53 -48
- package/lib/index.cjs +626 -458
- package/lib/index.js +110 -142
- package/lib/primitive.cjs +73 -55
- package/lib/primitive.js +12 -12
- package/lib/utils/createRecipeContext.cjs +46 -37
- package/lib/utils/createRecipeContext.js +44 -33
- package/lib/utils/createSlotRecipeContext.cjs +91 -74
- package/lib/utils/createSlotRecipeContext.js +89 -70
- package/lib/utils/createWithStateProps.cjs +23 -25
- package/lib/utils/createWithStateProps.js +22 -21
- package/lib/utils/splitMultipleVariantsProps.cjs +16 -29
- package/lib/utils/splitMultipleVariantsProps.js +16 -25
- package/lib/utils/styled.cjs +144 -279
- package/lib/utils/styled.js +144 -275
- package/lib/vars.cjs +7 -11
- package/lib/vars.js +1 -1
- package/package.json +5 -5
- package/src/components/ImageFrame/ImageFrame.tsx +1 -1
- package/src/components/Snackbar/useSnackbarAdapter.ts +2 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports
|
|
14
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_InlineBanner = require("./InlineBanner.cjs");
|
|
3
|
+
//#region src/components/InlineBanner/InlineBanner.namespace.ts
|
|
4
|
+
var InlineBanner_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
+
CloseButton: () => require_InlineBanner.InlineBannerCloseButton,
|
|
6
|
+
Content: () => require_InlineBanner.InlineBannerContent,
|
|
7
|
+
Description: () => require_InlineBanner.InlineBannerDescription,
|
|
8
|
+
Link: () => require_InlineBanner.InlineBannerLink,
|
|
9
|
+
Root: () => require_InlineBanner.InlineBannerRoot,
|
|
10
|
+
Title: () => require_InlineBanner.InlineBannerTitle
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
Object.defineProperty(exports, "InlineBanner_namespace_exports", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return InlineBanner_namespace_exports;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle } from "./InlineBanner.js";
|
|
3
|
+
//#region src/components/InlineBanner/InlineBanner.namespace.ts
|
|
4
|
+
var InlineBanner_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
CloseButton: () => InlineBannerCloseButton,
|
|
6
|
+
Content: () => InlineBannerContent,
|
|
7
|
+
Description: () => InlineBannerDescription,
|
|
8
|
+
Link: () => InlineBannerLink,
|
|
9
|
+
Root: () => InlineBannerRoot,
|
|
10
|
+
Title: () => InlineBannerTitle
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { InlineBanner_namespace_exports };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.InlineBannerCloseButton =
|
|
11
|
-
exports.InlineBannerContent =
|
|
12
|
-
exports.InlineBannerDescription =
|
|
13
|
-
exports.InlineBannerLink =
|
|
14
|
-
exports.InlineBannerRoot =
|
|
15
|
-
exports.InlineBannerTitle =
|
|
16
|
-
exports.InlineBanner = InlineBanner_namespace;
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_InlineBanner = require("./InlineBanner.cjs");
|
|
3
|
+
const require_InlineBanner_namespace = require("./InlineBanner.namespace.cjs");
|
|
4
|
+
Object.defineProperty(exports, "InlineBanner", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: function() {
|
|
7
|
+
return require_InlineBanner_namespace.InlineBanner_namespace_exports;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
exports.InlineBannerCloseButton = require_InlineBanner.InlineBannerCloseButton;
|
|
11
|
+
exports.InlineBannerContent = require_InlineBanner.InlineBannerContent;
|
|
12
|
+
exports.InlineBannerDescription = require_InlineBanner.InlineBannerDescription;
|
|
13
|
+
exports.InlineBannerLink = require_InlineBanner.InlineBannerLink;
|
|
14
|
+
exports.InlineBannerRoot = require_InlineBanner.InlineBannerRoot;
|
|
15
|
+
exports.InlineBannerTitle = require_InlineBanner.InlineBannerTitle;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
export {
|
|
1
|
+
import { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle } from "./InlineBanner.js";
|
|
2
|
+
import { InlineBanner_namespace_exports } from "./InlineBanner.namespace.js";
|
|
3
|
+
export { InlineBanner_namespace_exports as InlineBanner, InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
);
|
|
15
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_styled = require("../../utils/styled.cjs");
|
|
4
|
+
const require_createRecipeContext = require("../../utils/createRecipeContext.cjs");
|
|
5
|
+
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
6
|
+
let _seed_design_css_recipes_link_content = require("@seed-design/css/recipes/link-content");
|
|
7
|
+
//#region src/components/LinkContent/LinkContent.tsx
|
|
8
|
+
var { withContext } = require_createRecipeContext.createRecipeContext(_seed_design_css_recipes_link_content.linkContent);
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
11
|
+
*/
|
|
12
|
+
var LinkContent = withContext(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.span));
|
|
13
|
+
//#endregion
|
|
16
14
|
exports.LinkContent = LinkContent;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { withStyleProps } from "../../utils/styled.js";
|
|
3
|
+
import { createRecipeContext } from "../../utils/createRecipeContext.js";
|
|
4
|
+
import { Primitive } from "@seed-design/react-primitive";
|
|
5
|
+
import { linkContent } from "@seed-design/css/recipes/link-content";
|
|
6
|
+
//#region src/components/LinkContent/LinkContent.tsx
|
|
7
|
+
var { withContext } = createRecipeContext(linkContent);
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `ActionButton` with variant="ghost" instead.
|
|
10
|
+
*/
|
|
11
|
+
var LinkContent = withContext(withStyleProps(Primitive.span));
|
|
12
|
+
//#endregion
|
|
12
13
|
export { LinkContent };
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const LinkContent = require('./LinkContent.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.LinkContent = LinkContent.LinkContent;
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_LinkContent = require("./LinkContent.cjs");
|
|
3
|
+
exports.LinkContent = require_LinkContent.LinkContent;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { LinkContent } from "./LinkContent.js";
|
|
2
|
+
export { LinkContent };
|
|
@@ -1,67 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_styled = require("../../utils/styled.cjs");
|
|
4
|
+
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
5
|
+
const require_createWithStateProps = require("../../utils/createWithStateProps.cjs");
|
|
6
|
+
const require_Stack = require("../Stack/Stack.cjs");
|
|
7
|
+
let _seed_design_react_checkbox = require("@seed-design/react-checkbox");
|
|
8
|
+
let _seed_design_react_radio_group = require("@seed-design/react-radio-group");
|
|
9
|
+
let _seed_design_react_switch = require("@seed-design/react-switch");
|
|
10
|
+
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
11
|
+
let react = require("react");
|
|
12
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
|
+
let _seed_design_css_recipes_list_item = require("@seed-design/css/recipes/list-item");
|
|
14
|
+
//#region src/components/List/List.tsx
|
|
15
|
+
var { withContext, withProvider } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_list_item.listItem);
|
|
16
|
+
var withStateProps = require_createWithStateProps.createWithStateProps([
|
|
17
|
+
{
|
|
18
|
+
useContext: _seed_design_react_checkbox.useCheckboxContext,
|
|
19
|
+
strict: false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
useContext: _seed_design_react_radio_group.useRadioGroupItemContext,
|
|
23
|
+
strict: false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
useContext: _seed_design_react_switch.useSwitchContext,
|
|
27
|
+
strict: false
|
|
28
|
+
}
|
|
23
29
|
]);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"root"
|
|
43
|
-
);
|
|
44
|
-
const ListContent = withContext(
|
|
45
|
-
withStateProps(styled.withStyleProps(reactPrimitive.Primitive.div)),
|
|
46
|
-
"content"
|
|
47
|
-
);
|
|
48
|
-
const ListPrefix = withContext(
|
|
49
|
-
withStateProps(styled.withStyleProps(reactPrimitive.Primitive.div)),
|
|
50
|
-
"prefix"
|
|
51
|
-
);
|
|
52
|
-
const ListSuffix = withContext(
|
|
53
|
-
withStateProps(styled.withStyleProps(reactPrimitive.Primitive.div)),
|
|
54
|
-
"suffix"
|
|
55
|
-
);
|
|
56
|
-
const ListTitle = withContext(
|
|
57
|
-
withStateProps(reactPrimitive.Primitive.div),
|
|
58
|
-
"title"
|
|
59
|
-
);
|
|
60
|
-
const ListDetail = withContext(
|
|
61
|
-
withStateProps(reactPrimitive.Primitive.div),
|
|
62
|
-
"detail"
|
|
63
|
-
);
|
|
64
|
-
|
|
30
|
+
var ListRoot = (0, react.forwardRef)(({ as = "ul", style, itemBorderRadius, ...props }, ref) => {
|
|
31
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Stack.VStack, {
|
|
32
|
+
as,
|
|
33
|
+
ref,
|
|
34
|
+
style: {
|
|
35
|
+
...style,
|
|
36
|
+
"--list-item-border-radius": require_styled.handleRadius(itemBorderRadius)
|
|
37
|
+
},
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
var ListItem = withProvider(withStateProps(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.li)), "root");
|
|
42
|
+
var ListContent = withContext(withStateProps(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.div)), "content");
|
|
43
|
+
var ListPrefix = withContext(withStateProps(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.div)), "prefix");
|
|
44
|
+
var ListSuffix = withContext(withStateProps(require_styled.withStyleProps(_seed_design_react_primitive.Primitive.div)), "suffix");
|
|
45
|
+
var ListTitle = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "title");
|
|
46
|
+
var ListDetail = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "detail");
|
|
47
|
+
//#endregion
|
|
65
48
|
exports.ListContent = ListContent;
|
|
66
49
|
exports.ListDetail = ListDetail;
|
|
67
50
|
exports.ListItem = ListItem;
|
|
@@ -1,61 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { handleRadius, withStyleProps } from "../../utils/styled.js";
|
|
3
|
+
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
4
|
+
import { createWithStateProps } from "../../utils/createWithStateProps.js";
|
|
5
|
+
import { VStack } from "../Stack/Stack.js";
|
|
6
|
+
import { useCheckboxContext } from "@seed-design/react-checkbox";
|
|
7
|
+
import { useRadioGroupItemContext } from "@seed-design/react-radio-group";
|
|
8
|
+
import { useSwitchContext } from "@seed-design/react-switch";
|
|
9
|
+
import { Primitive } from "@seed-design/react-primitive";
|
|
10
|
+
import { forwardRef } from "react";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
import { listItem } from "@seed-design/css/recipes/list-item";
|
|
13
|
+
//#region src/components/List/List.tsx
|
|
14
|
+
var { withContext, withProvider } = createSlotRecipeContext(listItem);
|
|
15
|
+
var withStateProps = createWithStateProps([
|
|
16
|
+
{
|
|
17
|
+
useContext: useCheckboxContext,
|
|
18
|
+
strict: false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
useContext: useRadioGroupItemContext,
|
|
22
|
+
strict: false
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
useContext: useSwitchContext,
|
|
26
|
+
strict: false
|
|
27
|
+
}
|
|
19
28
|
]);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"root"
|
|
39
|
-
);
|
|
40
|
-
const ListContent = withContext(
|
|
41
|
-
withStateProps(withStyleProps(Primitive.div)),
|
|
42
|
-
"content"
|
|
43
|
-
);
|
|
44
|
-
const ListPrefix = withContext(
|
|
45
|
-
withStateProps(withStyleProps(Primitive.div)),
|
|
46
|
-
"prefix"
|
|
47
|
-
);
|
|
48
|
-
const ListSuffix = withContext(
|
|
49
|
-
withStateProps(withStyleProps(Primitive.div)),
|
|
50
|
-
"suffix"
|
|
51
|
-
);
|
|
52
|
-
const ListTitle = withContext(
|
|
53
|
-
withStateProps(Primitive.div),
|
|
54
|
-
"title"
|
|
55
|
-
);
|
|
56
|
-
const ListDetail = withContext(
|
|
57
|
-
withStateProps(Primitive.div),
|
|
58
|
-
"detail"
|
|
59
|
-
);
|
|
60
|
-
|
|
29
|
+
var ListRoot = forwardRef(({ as = "ul", style, itemBorderRadius, ...props }, ref) => {
|
|
30
|
+
return /* @__PURE__ */ jsx(VStack, {
|
|
31
|
+
as,
|
|
32
|
+
ref,
|
|
33
|
+
style: {
|
|
34
|
+
...style,
|
|
35
|
+
"--list-item-border-radius": handleRadius(itemBorderRadius)
|
|
36
|
+
},
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
var ListItem = withProvider(withStateProps(withStyleProps(Primitive.li)), "root");
|
|
41
|
+
var ListContent = withContext(withStateProps(withStyleProps(Primitive.div)), "content");
|
|
42
|
+
var ListPrefix = withContext(withStateProps(withStyleProps(Primitive.div)), "prefix");
|
|
43
|
+
var ListSuffix = withContext(withStateProps(withStyleProps(Primitive.div)), "suffix");
|
|
44
|
+
var ListTitle = withContext(withStateProps(Primitive.div), "title");
|
|
45
|
+
var ListDetail = withContext(withStateProps(Primitive.div), "detail");
|
|
46
|
+
//#endregion
|
|
61
47
|
export { ListContent, ListDetail, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle };
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports
|
|
15
|
-
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_List = require("./List.cjs");
|
|
3
|
+
//#region src/components/List/List.namespace.ts
|
|
4
|
+
var List_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
+
Content: () => require_List.ListContent,
|
|
6
|
+
Detail: () => require_List.ListDetail,
|
|
7
|
+
Item: () => require_List.ListItem,
|
|
8
|
+
Prefix: () => require_List.ListPrefix,
|
|
9
|
+
Root: () => require_List.ListRoot,
|
|
10
|
+
Suffix: () => require_List.ListSuffix,
|
|
11
|
+
Title: () => require_List.ListTitle
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
Object.defineProperty(exports, "List_namespace_exports", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return List_namespace_exports;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { ListContent, ListDetail, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle } from "./List.js";
|
|
3
|
+
//#region src/components/List/List.namespace.ts
|
|
4
|
+
var List_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
Content: () => ListContent,
|
|
6
|
+
Detail: () => ListDetail,
|
|
7
|
+
Item: () => ListItem,
|
|
8
|
+
Prefix: () => ListPrefix,
|
|
9
|
+
Root: () => ListRoot,
|
|
10
|
+
Suffix: () => ListSuffix,
|
|
11
|
+
Title: () => ListTitle
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { List_namespace_exports };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
);
|
|
1
|
+
"use client";
|
|
2
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
let clsx = require("clsx");
|
|
4
|
+
clsx = require_runtime.__toESM(clsx);
|
|
5
|
+
let react = require("react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let _seed_design_css_recipes_list_header = require("@seed-design/css/recipes/list-header");
|
|
8
|
+
//#region src/components/List/ListHeader.tsx
|
|
9
|
+
var ListHeader = (0, react.forwardRef)(({ as: Comp = "div", ...props }, ref) => {
|
|
10
|
+
const [variantProps, otherProps] = _seed_design_css_recipes_list_header.listHeader.splitVariantProps(props);
|
|
11
|
+
const className = (0, _seed_design_css_recipes_list_header.listHeader)(variantProps);
|
|
12
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
13
|
+
ref,
|
|
14
|
+
...otherProps,
|
|
15
|
+
className: (0, clsx.default)(className, props.className)
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
18
|
ListHeader.displayName = "ListHeader";
|
|
19
|
-
|
|
19
|
+
//#endregion
|
|
20
20
|
exports.ListHeader = ListHeader;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
)
|
|
1
|
+
"use client";
|
|
2
|
+
import clsx$1 from "clsx";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { listHeader } from "@seed-design/css/recipes/list-header";
|
|
6
|
+
//#region src/components/List/ListHeader.tsx
|
|
7
|
+
var ListHeader = forwardRef(({ as: Comp = "div", ...props }, ref) => {
|
|
8
|
+
const [variantProps, otherProps] = listHeader.splitVariantProps(props);
|
|
9
|
+
const className = listHeader(variantProps);
|
|
10
|
+
return /* @__PURE__ */ jsx(Comp, {
|
|
11
|
+
ref,
|
|
12
|
+
...otherProps,
|
|
13
|
+
className: clsx$1(className, props.className)
|
|
14
|
+
});
|
|
15
|
+
});
|
|
14
16
|
ListHeader.displayName = "ListHeader";
|
|
15
|
-
|
|
17
|
+
//#endregion
|
|
16
18
|
export { ListHeader };
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.ListContent =
|
|
12
|
-
exports.ListDetail =
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.List = List_namespace;
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_List = require("./List.cjs");
|
|
3
|
+
const require_ListHeader = require("./ListHeader.cjs");
|
|
4
|
+
const require_List_namespace = require("./List.namespace.cjs");
|
|
5
|
+
Object.defineProperty(exports, "List", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return require_List_namespace.List_namespace_exports;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
exports.ListContent = require_List.ListContent;
|
|
12
|
+
exports.ListDetail = require_List.ListDetail;
|
|
13
|
+
exports.ListHeader = require_ListHeader.ListHeader;
|
|
14
|
+
exports.ListItem = require_List.ListItem;
|
|
15
|
+
exports.ListPrefix = require_List.ListPrefix;
|
|
16
|
+
exports.ListRoot = require_List.ListRoot;
|
|
17
|
+
exports.ListSuffix = require_List.ListSuffix;
|
|
18
|
+
exports.ListTitle = require_List.ListTitle;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
export {
|
|
1
|
+
import { ListContent, ListDetail, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle } from "./List.js";
|
|
2
|
+
import { ListHeader } from "./ListHeader.js";
|
|
3
|
+
import { List_namespace_exports } from "./List.namespace.js";
|
|
4
|
+
export { List_namespace_exports as List, ListContent, ListDetail, ListHeader, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle };
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.span, { style: { opacity: 0, display: "inherit", gap: "inherit" }, children })
|
|
25
|
-
] });
|
|
1
|
+
"use client";
|
|
2
|
+
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_usePendingButton = require("./usePendingButton.cjs");
|
|
4
|
+
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
8
|
+
//#region src/components/LoadingIndicator/LoadingIndicator.tsx
|
|
9
|
+
var LoadingIndicator = (0, react.forwardRef)((props, ref) => {
|
|
10
|
+
const { indicator, children, ...otherProps } = props;
|
|
11
|
+
const { stateProps } = require_usePendingButton.usePendingButtonContext();
|
|
12
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
|
|
13
|
+
ref,
|
|
14
|
+
...(0, _seed_design_dom_utils.mergeProps)(stateProps, { className: "seed-loading-indicator" }, otherProps),
|
|
15
|
+
children: indicator
|
|
16
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.span, {
|
|
17
|
+
style: {
|
|
18
|
+
opacity: 0,
|
|
19
|
+
display: "inherit",
|
|
20
|
+
gap: "inherit"
|
|
21
|
+
},
|
|
22
|
+
children
|
|
23
|
+
})] });
|
|
26
24
|
});
|
|
27
|
-
|
|
25
|
+
//#endregion
|
|
28
26
|
exports.LoadingIndicator = LoadingIndicator;
|