@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
package/lib/components/index.js
CHANGED
|
@@ -1,142 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
import
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
import
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
import
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
import
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
import
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
import
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
import
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
import
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
import
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
import
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
import
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
import
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
import
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
import
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
import
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
import
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
import
|
|
109
|
-
|
|
110
|
-
export { CheckSelectBoxBody, CheckSelectBoxCheckmarkControl, CheckSelectBoxCheckmarkIcon, CheckSelectBoxContent, CheckSelectBoxDescription, CheckSelectBoxFooter, CheckSelectBoxGroup, CheckSelectBoxHiddenInput, CheckSelectBoxLabel, CheckSelectBoxRoot, CheckSelectBoxTrigger
|
|
111
|
-
export { RadioSelectBoxBody, RadioSelectBoxContent, RadioSelectBoxDescription, RadioSelectBoxFooter, RadioSelectBoxGroup, RadioSelectBoxHiddenInput, RadioSelectBoxItem, RadioSelectBoxLabel, RadioSelectBoxTrigger } from './SelectBox/RadioSelectBox.js';
|
|
112
|
-
import * as CheckSelectBox_namespace from './SelectBox/CheckSelectBox.namespace.js';
|
|
113
|
-
export { CheckSelectBox_namespace as CheckSelectBox };
|
|
114
|
-
import * as RadioSelectBox_namespace from './SelectBox/RadioSelectBox.namespace.js';
|
|
115
|
-
export { RadioSelectBox_namespace as RadioSelectBox };
|
|
116
|
-
export { Skeleton } from './Skeleton/Skeleton.js';
|
|
117
|
-
export { SliderControl, SliderHiddenInput, SliderMarker, SliderMarkers, SliderRange, SliderRoot, SliderThumb, SliderTick, SliderTrack, SliderValueIndicatorArrow, SliderValueIndicatorArrowTip, SliderValueIndicatorLabel, SliderValueIndicatorRoot } from './Slider/Slider.js';
|
|
118
|
-
import * as Slider_namespace from './Slider/Slider.namespace.js';
|
|
119
|
-
export { Slider_namespace as Slider };
|
|
120
|
-
export { SnackbarActionButton, SnackbarAvoidOverlap, SnackbarHiddenCloseButton, SnackbarMessage, SnackbarPrefixIcon, SnackbarRegion, SnackbarRenderer, SnackbarRoot, SnackbarRootProvider } from './Snackbar/Snackbar.js';
|
|
121
|
-
export { useSnackbarContext } from '@seed-design/react-snackbar';
|
|
122
|
-
export { useSnackbarAdapter } from './Snackbar/useSnackbarAdapter.js';
|
|
123
|
-
import * as Snackbar_namespace from './Snackbar/Snackbar.namespace.js';
|
|
124
|
-
export { Snackbar_namespace as Snackbar };
|
|
125
|
-
export { HStack, Stack, VStack } from './Stack/Stack.js';
|
|
126
|
-
export { SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchThumb } from './Switch/Switch.js';
|
|
127
|
-
import * as Switch_namespace from './Switch/Switch.namespace.js';
|
|
128
|
-
export { Switch_namespace as Switch };
|
|
129
|
-
export { TabsCarousel, TabsCarouselCamera, TabsContent, TabsIndicator, TabsList, TabsRoot, TabsTrigger } from './Tabs/Tabs.js';
|
|
130
|
-
export { tabsCarouselPreventDrag } from '@seed-design/react-tabs';
|
|
131
|
-
import * as Tabs_namespace from './Tabs/Tabs.namespace.js';
|
|
132
|
-
export { Tabs_namespace as Tabs };
|
|
133
|
-
export { TagGroupItem, TagGroupItemLabel, TagGroupRoot } from './TagGroup/TagGroup.js';
|
|
134
|
-
import * as TagGroup_namespace from './TagGroup/TagGroup.namespace.js';
|
|
135
|
-
export { TagGroup_namespace as TagGroup };
|
|
136
|
-
export { Text } from './Text/Text.js';
|
|
137
|
-
export { TextFieldInput, TextFieldPrefixIcon, TextFieldPrefixText, TextFieldRoot, TextFieldSuffixIcon, TextFieldSuffixText, TextFieldTextarea } from './TextField/TextField.js';
|
|
138
|
-
export { useTextFieldWithGraphemes } from './TextField/useTextFieldWithGraphemes.js';
|
|
139
|
-
import * as TextField_namespace from './TextField/TextField.namespace.js';
|
|
140
|
-
export { TextField_namespace as TextField };
|
|
141
|
-
export { ToggleButton } from './ToggleButton/ToggleButton.js';
|
|
142
|
-
export { VisuallyHidden } from './VisuallyHidden/VisuallyHidden.js';
|
|
1
|
+
import { Icon, PrefixIcon, SuffixIcon } from "./Icon/Icon.js";
|
|
2
|
+
import { ActionButton } from "./ActionButton/ActionButton.js";
|
|
3
|
+
import { ActionChip } from "./ActionChip/ActionChip.js";
|
|
4
|
+
import { ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger } from "./ActionSheet/ActionSheet.js";
|
|
5
|
+
import { ActionSheet_namespace_exports } from "./ActionSheet/ActionSheet.namespace.js";
|
|
6
|
+
import { Box } from "./Box/Box.js";
|
|
7
|
+
import { Article } from "./Article/Article.js";
|
|
8
|
+
import { AspectRatio } from "./AspectRatio/AspectRatio.js";
|
|
9
|
+
import { AvatarBadge, AvatarFallback, AvatarImage, AvatarRoot, AvatarStack } from "./Avatar/Avatar.js";
|
|
10
|
+
import { Avatar_namespace_exports } from "./Avatar/Avatar.namespace.js";
|
|
11
|
+
import { Badge } from "./Badge/Badge.js";
|
|
12
|
+
import { BottomSheetBackdrop, BottomSheetBody, BottomSheetCloseButton, BottomSheetContent, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetPositioner, BottomSheetRoot, BottomSheetTitle, BottomSheetTrigger } from "./BottomSheet/BottomSheet.js";
|
|
13
|
+
import { BottomSheet_namespace_exports } from "./BottomSheet/BottomSheet.namespace.js";
|
|
14
|
+
import { CalloutCloseButton, CalloutContent, CalloutDescription, CalloutLink, CalloutRoot, CalloutTitle } from "./Callout/Callout.js";
|
|
15
|
+
import { Callout_namespace_exports } from "./Callout/Callout.namespace.js";
|
|
16
|
+
import { Celsius } from "./Celsius/Celsius.js";
|
|
17
|
+
import { CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot } from "./Checkbox/Checkbox.js";
|
|
18
|
+
import { Checkbox_namespace_exports } from "./Checkbox/Checkbox.namespace.js";
|
|
19
|
+
import { ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRoot, ChipSuffixIcon } from "./Chip/Chip.js";
|
|
20
|
+
import { Chip_namespace_exports } from "./Chip/Chip.namespace.js";
|
|
21
|
+
import { ChipTabsCarousel, ChipTabsCarouselCamera, ChipTabsContent, ChipTabsList, ChipTabsRoot, ChipTabsTrigger } from "./ChipTabs/ChipTabs.js";
|
|
22
|
+
import { ChipTabs_namespace_exports } from "./ChipTabs/ChipTabs.namespace.js";
|
|
23
|
+
import { Column, Columns } from "./Columns/Columns.js";
|
|
24
|
+
import { ConsistentWidth } from "./ConsistentWidth/ConsistentWidth.js";
|
|
25
|
+
import { ContentPlaceholderAsset, ContentPlaceholderRoot } from "./ContentPlaceholder/ContentPlaceholder.js";
|
|
26
|
+
import { ContentPlaceholder_namespace_exports } from "./ContentPlaceholder/ContentPlaceholder.namespace.js";
|
|
27
|
+
import { ContextualFloatingButton } from "./ContextualFloatingButton/ContextualFloatingButton.js";
|
|
28
|
+
import { ControlChip } from "./ControlChip/ControlChip.js";
|
|
29
|
+
import { Count } from "./Count/Count.js";
|
|
30
|
+
import { DialogAction, DialogBackdrop, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogRoot, DialogTitle, DialogTrigger } from "./Dialog/Dialog.js";
|
|
31
|
+
import { Dialog_namespace_exports } from "./Dialog/Dialog.namespace.js";
|
|
32
|
+
import { Divider } from "./Divider/Divider.js";
|
|
33
|
+
import { ExtendedActionSheetBackdrop, ExtendedActionSheetCloseButton, ExtendedActionSheetContent, ExtendedActionSheetFooter, ExtendedActionSheetGroup, ExtendedActionSheetHeader, ExtendedActionSheetItem, ExtendedActionSheetList, ExtendedActionSheetPositioner, ExtendedActionSheetRoot, ExtendedActionSheetTitle, ExtendedActionSheetTrigger } from "./ExtendedActionSheet/ExtendedActionSheet.js";
|
|
34
|
+
import { ExtendedActionSheet_namespace_exports } from "./ExtendedActionSheet/ExtendedActionSheet.namespace.js";
|
|
35
|
+
import { ExtendedFab } from "./ExtendedFab/ExtendedFab.js";
|
|
36
|
+
import { Fab } from "./Fab/Fab.js";
|
|
37
|
+
import { FieldCharacterCount, FieldDescription, FieldErrorMessage, FieldFooter, FieldHeader, FieldIndicatorText, FieldLabel, FieldRequiredIndicator, FieldRoot } from "./Field/Field.js";
|
|
38
|
+
import { Field_namespace_exports } from "./Field/Field.namespace.js";
|
|
39
|
+
import { FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue } from "./FieldButton/FieldButton.js";
|
|
40
|
+
import { FieldButton_namespace_exports } from "./FieldButton/FieldButton.namespace.js";
|
|
41
|
+
import { FieldsetDescription, FieldsetErrorMessage, FieldsetFooter, FieldsetHeader, FieldsetIndicatorText, FieldsetLabel, FieldsetRequiredIndicator, FieldsetRoot } from "./Fieldset/Fieldset.js";
|
|
42
|
+
import { Fieldset_namespace_exports } from "./Fieldset/Fieldset.namespace.js";
|
|
43
|
+
import { Flex } from "./Flex/Flex.js";
|
|
44
|
+
import { Float } from "./Float/Float.js";
|
|
45
|
+
import { FloatingActionButtonIcon, FloatingActionButtonLabel, FloatingActionButtonRoot } from "./FloatingActionButton/FloatingActionButton.js";
|
|
46
|
+
import { FloatingActionButton_namespace_exports } from "./FloatingActionButton/FloatingActionButton.namespace.js";
|
|
47
|
+
import { Grid } from "./Grid/Grid.js";
|
|
48
|
+
import { GridItem } from "./GridItem/GridItem.js";
|
|
49
|
+
import { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger } from "./HelpBubble/HelpBubble.js";
|
|
50
|
+
import { HelpBubble_namespace_exports } from "./HelpBubble/HelpBubble.namespace.js";
|
|
51
|
+
import { IdentityPlaceholderImage, IdentityPlaceholderRoot } from "./IdentityPlaceholder/IdentityPlaceholder.js";
|
|
52
|
+
import { IdentityPlaceholder_namespace_exports } from "./IdentityPlaceholder/IdentityPlaceholder.namespace.js";
|
|
53
|
+
import { ImageFrame, ImageFrameBadge, ImageFrameFloater, ImageFrameIcon, ImageFrameIndicator, ImageFrameReactionButton } from "./ImageFrame/ImageFrame.js";
|
|
54
|
+
import { Inline } from "./Inline/Inline.js";
|
|
55
|
+
import { InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle } from "./InlineBanner/InlineBanner.js";
|
|
56
|
+
import { InlineBanner_namespace_exports } from "./InlineBanner/InlineBanner.namespace.js";
|
|
57
|
+
import { LinkContent } from "./LinkContent/LinkContent.js";
|
|
58
|
+
import { HStack, Stack, VStack } from "./Stack/Stack.js";
|
|
59
|
+
import { ListContent, ListDetail, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle } from "./List/List.js";
|
|
60
|
+
import { ListHeader } from "./List/ListHeader.js";
|
|
61
|
+
import { List_namespace_exports } from "./List/List.namespace.js";
|
|
62
|
+
import { LoadingIndicator } from "./LoadingIndicator/LoadingIndicator.js";
|
|
63
|
+
import { MannerTempEmote } from "./MannerTemp/MannerTempEmote.js";
|
|
64
|
+
import { MannerTemp } from "./MannerTemp/MannerTemp.js";
|
|
65
|
+
import { MannerTempBadge } from "./MannerTempBadge/MannerTempBadge.js";
|
|
66
|
+
import { MenuSheetBackdrop, MenuSheetCloseButton, MenuSheetContent, MenuSheetDescription, MenuSheetFooter, MenuSheetGroup, MenuSheetHeader, MenuSheetItem, MenuSheetItemContent, MenuSheetItemDescription, MenuSheetItemLabel, MenuSheetList, MenuSheetPositioner, MenuSheetRoot, MenuSheetTitle, MenuSheetTrigger } from "./MenuSheet/MenuSheet.js";
|
|
67
|
+
import { MenuSheet_namespace_exports } from "./MenuSheet/MenuSheet.namespace.js";
|
|
68
|
+
import { NotificationBadge, NotificationBadgePositioner } from "./NotificationBadge/NotificationBadge.js";
|
|
69
|
+
import { PageBannerBody, PageBannerButton, PageBannerCloseButton, PageBannerContent, PageBannerDescription, PageBannerRoot, PageBannerTitle } from "./PageBanner/PageBanner.js";
|
|
70
|
+
import { PageBanner_namespace_exports } from "./PageBanner/PageBanner.namespace.js";
|
|
71
|
+
import { Portal } from "./Portal/index.js";
|
|
72
|
+
import { ProgressCircleRange, ProgressCircleRoot, ProgressCircleTrack } from "./ProgressCircle/ProgressCircle.js";
|
|
73
|
+
import { ProgressCircle_namespace_exports } from "./ProgressCircle/ProgressCircle.namespace.js";
|
|
74
|
+
import { PullToRefreshContent, PullToRefreshIndicator, PullToRefreshRoot } from "./PullToRefresh/PullToRefresh.js";
|
|
75
|
+
import { PullToRefresh_namespace_exports } from "./PullToRefresh/PullToRefresh.namespace.js";
|
|
76
|
+
import { pullToRefreshPreventPull } from "./PullToRefresh/index.js";
|
|
77
|
+
import { RadioGroupItem, RadioGroupItemControl, RadioGroupItemHiddenInput, RadioGroupItemIndicator, RadioGroupItemLabel, RadioGroupRoot } from "./RadioGroup/RadioGroup.js";
|
|
78
|
+
import { RadioGroup_namespace_exports } from "./RadioGroup/RadioGroup.namespace.js";
|
|
79
|
+
import { RadioGroupFieldDescription, RadioGroupFieldErrorMessage, RadioGroupFieldFooter, RadioGroupFieldHeader, RadioGroupFieldIndicatorText, RadioGroupFieldLabel, RadioGroupFieldRequiredIndicator, RadioGroupFieldRoot } from "./RadioGroupField/RadioGroupField.js";
|
|
80
|
+
import { RadioGroupField_namespace_exports } from "./RadioGroupField/RadioGroupField.namespace.js";
|
|
81
|
+
import { ReactionButton } from "./ReactionButton/ReactionButton.js";
|
|
82
|
+
import { ResponsivePair } from "./ResponsivePair/ResponsivePair.js";
|
|
83
|
+
import { ScrollFog } from "./ScrollFog/ScrollFog.js";
|
|
84
|
+
import { SegmentedControlIndicator, SegmentedControlItem, SegmentedControlItemHiddenInput, SegmentedControlRoot } from "./SegmentedControl/SegmentedControl.js";
|
|
85
|
+
import { SegmentedControl_namespace_exports } from "./SegmentedControl/SegmentedControl.namespace.js";
|
|
86
|
+
import { CheckSelectBoxBody, CheckSelectBoxCheckmarkControl, CheckSelectBoxCheckmarkIcon, CheckSelectBoxContent, CheckSelectBoxDescription, CheckSelectBoxFooter, CheckSelectBoxGroup, CheckSelectBoxHiddenInput, CheckSelectBoxLabel, CheckSelectBoxRoot, CheckSelectBoxTrigger } from "./SelectBox/CheckSelectBox.js";
|
|
87
|
+
import { RadioSelectBoxBody, RadioSelectBoxContent, RadioSelectBoxDescription, RadioSelectBoxFooter, RadioSelectBoxGroup, RadioSelectBoxHiddenInput, RadioSelectBoxItem, RadioSelectBoxLabel, RadioSelectBoxTrigger } from "./SelectBox/RadioSelectBox.js";
|
|
88
|
+
import { CheckSelectBox_namespace_exports } from "./SelectBox/CheckSelectBox.namespace.js";
|
|
89
|
+
import { RadioSelectBox_namespace_exports } from "./SelectBox/RadioSelectBox.namespace.js";
|
|
90
|
+
import { Skeleton } from "./Skeleton/Skeleton.js";
|
|
91
|
+
import { SliderControl, SliderHiddenInput, SliderMarker, SliderMarkers, SliderRange, SliderRoot, SliderThumb, SliderTick, SliderTrack, SliderValueIndicatorArrow, SliderValueIndicatorArrowTip, SliderValueIndicatorLabel, SliderValueIndicatorRoot } from "./Slider/Slider.js";
|
|
92
|
+
import { Slider_namespace_exports } from "./Slider/Slider.namespace.js";
|
|
93
|
+
import { SnackbarActionButton, SnackbarAvoidOverlap, SnackbarHiddenCloseButton, SnackbarMessage, SnackbarPrefixIcon, SnackbarRegion, SnackbarRenderer, SnackbarRoot, SnackbarRootProvider } from "./Snackbar/Snackbar.js";
|
|
94
|
+
import { useSnackbarAdapter } from "./Snackbar/useSnackbarAdapter.js";
|
|
95
|
+
import { Snackbar_namespace_exports } from "./Snackbar/Snackbar.namespace.js";
|
|
96
|
+
import { useSnackbarContext } from "./Snackbar/index.js";
|
|
97
|
+
import { SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchThumb } from "./Switch/Switch.js";
|
|
98
|
+
import { Switch_namespace_exports } from "./Switch/Switch.namespace.js";
|
|
99
|
+
import { TabsCarousel, TabsCarouselCamera, TabsContent, TabsIndicator, TabsList, TabsRoot, TabsTrigger } from "./Tabs/Tabs.js";
|
|
100
|
+
import { Tabs_namespace_exports } from "./Tabs/Tabs.namespace.js";
|
|
101
|
+
import { tabsCarouselPreventDrag } from "./Tabs/index.js";
|
|
102
|
+
import { TagGroupItem, TagGroupItemLabel, TagGroupRoot } from "./TagGroup/TagGroup.js";
|
|
103
|
+
import { TagGroup_namespace_exports } from "./TagGroup/TagGroup.namespace.js";
|
|
104
|
+
import { Text } from "./Text/Text.js";
|
|
105
|
+
import { TextFieldInput, TextFieldPrefixIcon, TextFieldPrefixText, TextFieldRoot, TextFieldSuffixIcon, TextFieldSuffixText, TextFieldTextarea } from "./TextField/TextField.js";
|
|
106
|
+
import { useTextFieldWithGraphemes } from "./TextField/useTextFieldWithGraphemes.js";
|
|
107
|
+
import { TextField_namespace_exports } from "./TextField/TextField.namespace.js";
|
|
108
|
+
import { ToggleButton } from "./ToggleButton/ToggleButton.js";
|
|
109
|
+
import { VisuallyHidden } from "./VisuallyHidden/VisuallyHidden.js";
|
|
110
|
+
export { ActionButton, ActionChip, ActionSheet_namespace_exports as ActionSheet, ActionSheetBackdrop, ActionSheetCloseButton, ActionSheetContent, ActionSheetDescription, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetPositioner, ActionSheetRoot, ActionSheetTitle, ActionSheetTrigger, Article, AspectRatio, Avatar_namespace_exports as Avatar, AvatarBadge, AvatarFallback, AvatarImage, AvatarRoot, AvatarStack, Badge, BottomSheet_namespace_exports as BottomSheet, BottomSheetBackdrop, BottomSheetBody, BottomSheetCloseButton, BottomSheetContent, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetPositioner, BottomSheetRoot, BottomSheetTitle, BottomSheetTrigger, Box, Callout_namespace_exports as Callout, CalloutCloseButton, CalloutContent, CalloutDescription, CalloutLink, CalloutRoot, CalloutTitle, Celsius, CheckSelectBox_namespace_exports as CheckSelectBox, CheckSelectBoxBody, CheckSelectBoxCheckmarkControl, CheckSelectBoxCheckmarkIcon, CheckSelectBoxContent, CheckSelectBoxDescription, CheckSelectBoxFooter, CheckSelectBoxGroup, CheckSelectBoxHiddenInput, CheckSelectBoxLabel, CheckSelectBoxRoot, CheckSelectBoxTrigger, Checkbox_namespace_exports as Checkbox, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, Chip_namespace_exports as Chip, ChipLabel, ChipPrefixAvatar, ChipPrefixIcon, ChipRoot, ChipSuffixIcon, ChipTabs_namespace_exports as ChipTabs, ChipTabsCarousel, ChipTabsCarouselCamera, ChipTabsContent, ChipTabsList, ChipTabsRoot, ChipTabsTrigger, Column, Columns, ConsistentWidth, ContentPlaceholder_namespace_exports as ContentPlaceholder, ContentPlaceholderAsset, ContentPlaceholderRoot, ContextualFloatingButton, ControlChip, Count, Dialog_namespace_exports as Dialog, DialogAction, DialogBackdrop, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogRoot, DialogTitle, DialogTrigger, Divider, ExtendedActionSheet_namespace_exports as ExtendedActionSheet, ExtendedActionSheetBackdrop, ExtendedActionSheetCloseButton, ExtendedActionSheetContent, ExtendedActionSheetFooter, ExtendedActionSheetGroup, ExtendedActionSheetHeader, ExtendedActionSheetItem, ExtendedActionSheetList, ExtendedActionSheetPositioner, ExtendedActionSheetRoot, ExtendedActionSheetTitle, ExtendedActionSheetTrigger, ExtendedFab, Fab, Field_namespace_exports as Field, FieldButton_namespace_exports as FieldButton, FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue, FieldCharacterCount, FieldDescription, FieldErrorMessage, FieldFooter, FieldHeader, FieldIndicatorText, FieldLabel, FieldRequiredIndicator, FieldRoot, Fieldset_namespace_exports as Fieldset, FieldsetDescription, FieldsetErrorMessage, FieldsetFooter, FieldsetHeader, FieldsetIndicatorText, FieldsetLabel, FieldsetRequiredIndicator, FieldsetRoot, Flex, Float, FloatingActionButton_namespace_exports as FloatingActionButton, FloatingActionButtonIcon, FloatingActionButtonLabel, FloatingActionButtonRoot, Grid, GridItem, HStack, HelpBubble_namespace_exports as HelpBubble, HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger, Icon, IdentityPlaceholder_namespace_exports as IdentityPlaceholder, IdentityPlaceholderImage, IdentityPlaceholderRoot, ImageFrame, ImageFrameBadge, ImageFrameFloater, ImageFrameIcon, ImageFrameIndicator, ImageFrameReactionButton, Inline, InlineBanner_namespace_exports as InlineBanner, InlineBannerCloseButton, InlineBannerContent, InlineBannerDescription, InlineBannerLink, InlineBannerRoot, InlineBannerTitle, LinkContent, List_namespace_exports as List, ListContent, ListDetail, ListHeader, ListItem, ListPrefix, ListRoot, ListSuffix, ListTitle, LoadingIndicator, MannerTemp, MannerTempBadge, MannerTempEmote, MenuSheet_namespace_exports as MenuSheet, MenuSheetBackdrop, MenuSheetCloseButton, MenuSheetContent, MenuSheetDescription, MenuSheetFooter, MenuSheetGroup, MenuSheetHeader, MenuSheetItem, MenuSheetItemContent, MenuSheetItemDescription, MenuSheetItemLabel, MenuSheetList, MenuSheetPositioner, MenuSheetRoot, MenuSheetTitle, MenuSheetTrigger, NotificationBadge, NotificationBadgePositioner, PageBanner_namespace_exports as PageBanner, PageBannerBody, PageBannerButton, PageBannerCloseButton, PageBannerContent, PageBannerDescription, PageBannerRoot, PageBannerTitle, Portal, PrefixIcon, ProgressCircle_namespace_exports as ProgressCircle, ProgressCircleRange, ProgressCircleRoot, ProgressCircleTrack, PullToRefresh_namespace_exports as PullToRefresh, PullToRefreshContent, PullToRefreshIndicator, PullToRefreshRoot, RadioGroup_namespace_exports as RadioGroup, RadioGroupField_namespace_exports as RadioGroupField, RadioGroupFieldDescription, RadioGroupFieldErrorMessage, RadioGroupFieldFooter, RadioGroupFieldHeader, RadioGroupFieldIndicatorText, RadioGroupFieldLabel, RadioGroupFieldRequiredIndicator, RadioGroupFieldRoot, RadioGroupItem, RadioGroupItemControl, RadioGroupItemHiddenInput, RadioGroupItemIndicator, RadioGroupItemLabel, RadioGroupRoot, RadioSelectBox_namespace_exports as RadioSelectBox, RadioSelectBoxBody, RadioSelectBoxContent, RadioSelectBoxDescription, RadioSelectBoxFooter, RadioSelectBoxGroup, RadioSelectBoxHiddenInput, RadioSelectBoxItem, RadioSelectBoxLabel, RadioSelectBoxTrigger, ReactionButton, ResponsivePair, ScrollFog, SegmentedControl_namespace_exports as SegmentedControl, SegmentedControlIndicator, SegmentedControlItem, SegmentedControlItemHiddenInput, SegmentedControlRoot, Skeleton, Slider_namespace_exports as Slider, SliderControl, SliderHiddenInput, SliderMarker, SliderMarkers, SliderRange, SliderRoot, SliderThumb, SliderTick, SliderTrack, SliderValueIndicatorArrow, SliderValueIndicatorArrowTip, SliderValueIndicatorLabel, SliderValueIndicatorRoot, Snackbar_namespace_exports as Snackbar, SnackbarActionButton, SnackbarAvoidOverlap, SnackbarHiddenCloseButton, SnackbarMessage, SnackbarPrefixIcon, SnackbarRegion, SnackbarRenderer, SnackbarRoot, SnackbarRootProvider, Stack, SuffixIcon, Switch_namespace_exports as Switch, SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchThumb, Tabs_namespace_exports as Tabs, TabsCarousel, TabsCarouselCamera, TabsContent, TabsIndicator, TabsList, TabsRoot, TabsTrigger, TagGroup_namespace_exports as TagGroup, TagGroupItem, TagGroupItemLabel, TagGroupRoot, Text, TextField_namespace_exports as TextField, TextFieldInput, TextFieldPrefixIcon, TextFieldPrefixText, TextFieldRoot, TextFieldSuffixIcon, TextFieldSuffixText, TextFieldTextarea, ToggleButton, VStack, VisuallyHidden, pullToRefreshPreventPull, tabsCarouselPreventDrag, useSnackbarAdapter, useSnackbarContext, useTextFieldWithGraphemes };
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
+
let react = require("react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
6
|
+
//#region src/components/private/Icon.tsx
|
|
7
|
+
var InternalIcon = (0, react.forwardRef)(({ svg, ...otherProps }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
|
|
9
|
+
ref,
|
|
10
|
+
"aria-hidden": true,
|
|
11
|
+
...otherProps,
|
|
12
|
+
children: svg
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
16
|
exports.InternalIcon = InternalIcon;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
5
|
+
//#region src/components/private/Icon.tsx
|
|
6
|
+
var InternalIcon = forwardRef(({ svg, ...otherProps }, ref) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(Slot, {
|
|
8
|
+
ref,
|
|
9
|
+
"aria-hidden": true,
|
|
10
|
+
...otherProps,
|
|
11
|
+
children: svg
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
12
15
|
export { InternalIcon };
|
|
@@ -1,79 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const React = require('react');
|
|
11
|
-
|
|
12
|
-
function _interopNamespaceDefault(e) {
|
|
13
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
14
|
-
if (e) {
|
|
15
|
-
for (const k in e) {
|
|
16
|
-
if (k !== 'default') {
|
|
17
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: () => e[k]
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
n.default = e;
|
|
26
|
-
return Object.freeze(n);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
30
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
8
|
+
let _radix_ui_react_use_controllable_state = require("@radix-ui/react-use-controllable-state");
|
|
9
|
+
//#region src/components/private/useDismissible.tsx
|
|
31
10
|
function useDismissible(props) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
dismiss();
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
};
|
|
11
|
+
const [open = true, setOpen] = (0, _radix_ui_react_use_controllable_state.useControllableState)({
|
|
12
|
+
prop: props.open,
|
|
13
|
+
defaultProp: props.defaultOpen,
|
|
14
|
+
onChange: (open) => {
|
|
15
|
+
if (!open) props.onDismiss?.();
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
const dismiss = react.useCallback(() => setOpen(false), [setOpen]);
|
|
19
|
+
return {
|
|
20
|
+
open,
|
|
21
|
+
dismiss,
|
|
22
|
+
rootProps: (0, _seed_design_dom_utils.elementProps)({}),
|
|
23
|
+
dismissButtonProps: (0, _seed_design_dom_utils.buttonProps)({ onClick: (e) => {
|
|
24
|
+
if (e.defaultPrevented) return;
|
|
25
|
+
dismiss();
|
|
26
|
+
} })
|
|
27
|
+
};
|
|
53
28
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
return context;
|
|
29
|
+
var DismissibleContext = react.createContext(null);
|
|
30
|
+
var DismissibleProvider = DismissibleContext.Provider;
|
|
31
|
+
var useDismissibleContext = () => {
|
|
32
|
+
const context = react.useContext(DismissibleContext);
|
|
33
|
+
if (context === null) throw new Error("useDismissibleContext should be used within DismissibleProvider");
|
|
34
|
+
return context;
|
|
62
35
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
36
|
+
var DismissibleRoot = react.forwardRef(({ defaultOpen, open, onDismiss, ...otherProps }, ref) => {
|
|
37
|
+
const api = useDismissible({
|
|
38
|
+
defaultOpen,
|
|
39
|
+
open,
|
|
40
|
+
onDismiss
|
|
41
|
+
});
|
|
42
|
+
if (!api.open) return null;
|
|
43
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DismissibleProvider, {
|
|
44
|
+
value: api,
|
|
45
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.div, {
|
|
46
|
+
ref,
|
|
47
|
+
...otherProps
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
var DismissibleCloseButton = react.forwardRef((props, ref) => {
|
|
52
|
+
const { dismissButtonProps } = useDismissibleContext();
|
|
53
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_seed_design_react_primitive.Primitive.button, {
|
|
54
|
+
ref,
|
|
55
|
+
...(0, _seed_design_dom_utils.mergeProps)(dismissButtonProps, props)
|
|
56
|
+
});
|
|
73
57
|
});
|
|
74
|
-
|
|
58
|
+
//#endregion
|
|
75
59
|
exports.DismissibleCloseButton = DismissibleCloseButton;
|
|
76
|
-
exports.DismissibleProvider = DismissibleProvider;
|
|
77
60
|
exports.DismissibleRoot = DismissibleRoot;
|
|
78
|
-
exports.useDismissible = useDismissible;
|
|
79
|
-
exports.useDismissibleContext = useDismissibleContext;
|