@seed-design/react 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ActionButton/ActionButton.cjs +72 -46
- package/lib/components/ActionButton/ActionButton.js +49 -43
- package/lib/components/ActionButton/index.cjs +9 -3
- package/lib/components/ActionButton/index.js +1 -2
- package/lib/components/ActionChip/ActionChip.cjs +16 -13
- package/lib/components/ActionChip/ActionChip.js +12 -12
- package/lib/components/ActionChip/index.cjs +9 -3
- package/lib/components/ActionChip/index.js +1 -2
- package/lib/components/ActionSheet/ActionSheet.cjs +56 -61
- package/lib/components/ActionSheet/ActionSheet.js +52 -60
- package/lib/components/ActionSheet/ActionSheet.namespace.cjs +19 -23
- package/lib/components/ActionSheet/ActionSheet.namespace.js +1 -18
- package/lib/components/ActionSheet/index.cjs +21 -20
- package/lib/components/ActionSheet/index.js +3 -3
- package/lib/components/Article/Article.cjs +44 -19
- package/lib/components/Article/Article.js +21 -16
- package/lib/components/Article/index.cjs +9 -3
- package/lib/components/Article/index.js +1 -2
- package/lib/components/Avatar/Avatar.cjs +58 -35
- package/lib/components/Avatar/Avatar.js +36 -33
- package/lib/components/Avatar/Avatar.namespace.cjs +13 -17
- package/lib/components/Avatar/Avatar.namespace.js +1 -12
- package/lib/components/Avatar/index.cjs +15 -14
- package/lib/components/Avatar/index.js +3 -3
- package/lib/components/Badge/Badge.cjs +19 -23
- package/lib/components/Badge/Badge.js +15 -21
- package/lib/components/Badge/index.cjs +9 -3
- package/lib/components/Badge/index.js +1 -2
- package/lib/components/BottomSheet/BottomSheet.cjs +52 -21
- package/lib/components/BottomSheet/BottomSheet.js +48 -20
- package/lib/components/BottomSheet/BottomSheet.namespace.cjs +21 -25
- package/lib/components/BottomSheet/BottomSheet.namespace.js +2 -20
- package/lib/components/BottomSheet/index.cjs +21 -20
- package/lib/components/BottomSheet/index.js +3 -3
- package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +19 -24
- package/lib/components/BottomSheetHandle/BottomSheetHandle.js +15 -21
- package/lib/components/BottomSheetHandle/index.cjs +9 -3
- package/lib/components/BottomSheetHandle/index.js +1 -2
- package/lib/components/Box/Box.cjs +38 -26
- package/lib/components/Box/Box.js +15 -23
- package/lib/components/Box/index.cjs +9 -3
- package/lib/components/Box/index.js +1 -2
- package/lib/components/Callout/Callout.cjs +33 -15
- package/lib/components/Callout/Callout.js +29 -14
- package/lib/components/Callout/Callout.namespace.cjs +14 -18
- package/lib/components/Callout/Callout.namespace.js +1 -13
- package/lib/components/Callout/index.cjs +16 -15
- package/lib/components/Callout/index.js +3 -3
- package/lib/components/Celsius/Celsius.cjs +8 -5
- package/lib/components/Celsius/Celsius.js +4 -5
- package/lib/components/Celsius/index.cjs +9 -3
- package/lib/components/Celsius/index.js +1 -2
- package/lib/components/Checkbox/Checkbox.cjs +89 -66
- package/lib/components/Checkbox/Checkbox.js +85 -64
- package/lib/components/Checkbox/Checkbox.namespace.cjs +13 -17
- package/lib/components/Checkbox/Checkbox.namespace.js +1 -12
- package/lib/components/Checkbox/index.cjs +15 -14
- package/lib/components/Checkbox/index.js +3 -3
- package/lib/components/Chip/Chip.cjs +39 -24
- package/lib/components/Chip/Chip.js +35 -23
- package/lib/components/Chip/Chip.namespace.cjs +13 -17
- package/lib/components/Chip/Chip.namespace.js +1 -12
- package/lib/components/Chip/index.cjs +15 -14
- package/lib/components/Chip/index.js +3 -3
- package/lib/components/ChipTabs/ChipTabs.cjs +53 -30
- package/lib/components/ChipTabs/ChipTabs.js +49 -28
- package/lib/components/ChipTabs/ChipTabs.namespace.cjs +14 -18
- package/lib/components/ChipTabs/ChipTabs.namespace.js +1 -13
- package/lib/components/ChipTabs/index.cjs +16 -15
- package/lib/components/ChipTabs/index.js +3 -3
- package/lib/components/Columns/Columns.cjs +55 -34
- package/lib/components/Columns/Columns.js +32 -32
- package/lib/components/Columns/index.cjs +10 -4
- package/lib/components/Columns/index.js +1 -2
- package/lib/components/ConsistentWidth/ConsistentWidth.cjs +22 -17
- package/lib/components/ConsistentWidth/ConsistentWidth.js +18 -15
- package/lib/components/ConsistentWidth/index.cjs +9 -3
- package/lib/components/ConsistentWidth/index.js +1 -2
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +51 -36
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +28 -33
- package/lib/components/ContextualFloatingButton/index.cjs +9 -3
- package/lib/components/ContextualFloatingButton/index.js +1 -2
- package/lib/components/ControlChip/ControlChip.cjs +16 -13
- package/lib/components/ControlChip/ControlChip.js +12 -12
- package/lib/components/ControlChip/index.cjs +9 -3
- package/lib/components/ControlChip/index.js +1 -2
- package/lib/components/Count/Count.cjs +14 -16
- package/lib/components/Count/Count.js +10 -14
- package/lib/components/Count/index.cjs +9 -3
- package/lib/components/Count/index.js +1 -2
- package/lib/components/Dialog/Dialog.cjs +44 -24
- package/lib/components/Dialog/Dialog.js +40 -23
- package/lib/components/Dialog/Dialog.namespace.cjs +18 -22
- package/lib/components/Dialog/Dialog.namespace.js +1 -17
- package/lib/components/Dialog/index.cjs +20 -19
- package/lib/components/Dialog/index.js +3 -3
- package/lib/components/Divider/Divider.cjs +68 -32
- package/lib/components/Divider/Divider.js +45 -30
- package/lib/components/Divider/index.cjs +9 -3
- package/lib/components/Divider/index.js +1 -2
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +43 -65
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +39 -64
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +20 -24
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +1 -19
- package/lib/components/ExtendedActionSheet/index.cjs +22 -21
- package/lib/components/ExtendedActionSheet/index.js +3 -3
- package/lib/components/ExtendedFab/ExtendedFab.cjs +17 -15
- package/lib/components/ExtendedFab/ExtendedFab.js +13 -14
- package/lib/components/ExtendedFab/index.cjs +9 -3
- package/lib/components/ExtendedFab/index.js +1 -2
- package/lib/components/Fab/Fab.cjs +12 -12
- package/lib/components/Fab/Fab.js +8 -11
- package/lib/components/Fab/index.cjs +9 -3
- package/lib/components/Fab/index.js +1 -2
- package/lib/components/Field/Field.cjs +107 -62
- package/lib/components/Field/Field.js +103 -60
- package/lib/components/Field/Field.namespace.cjs +17 -21
- package/lib/components/Field/Field.namespace.js +1 -16
- package/lib/components/Field/index.cjs +19 -18
- package/lib/components/Field/index.js +3 -3
- package/lib/components/FieldButton/FieldButton.cjs +177 -94
- package/lib/components/FieldButton/FieldButton.js +154 -91
- package/lib/components/FieldButton/FieldButton.namespace.cjs +26 -30
- package/lib/components/FieldButton/FieldButton.namespace.js +1 -25
- package/lib/components/FieldButton/index.cjs +28 -27
- package/lib/components/FieldButton/index.js +3 -3
- package/lib/components/Flex/Flex.cjs +45 -21
- package/lib/components/Flex/Flex.js +22 -19
- package/lib/components/Flex/index.cjs +9 -3
- package/lib/components/Flex/index.js +1 -2
- package/lib/components/Float/Float.cjs +104 -70
- package/lib/components/Float/Float.js +81 -68
- package/lib/components/Float/index.cjs +9 -3
- package/lib/components/Float/index.js +1 -2
- package/lib/components/FloatingActionButton/FloatingActionButton.cjs +15 -12
- package/lib/components/FloatingActionButton/FloatingActionButton.js +11 -11
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +11 -15
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +1 -10
- package/lib/components/FloatingActionButton/index.cjs +13 -12
- package/lib/components/FloatingActionButton/index.js +3 -3
- package/lib/components/HelpBubble/HelpBubble.cjs +81 -51
- package/lib/components/HelpBubble/HelpBubble.js +77 -49
- package/lib/components/HelpBubble/HelpBubble.namespace.cjs +19 -23
- package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -18
- package/lib/components/HelpBubble/index.cjs +21 -20
- package/lib/components/HelpBubble/index.js +3 -3
- package/lib/components/Icon/Icon.cjs +120 -99
- package/lib/components/Icon/Icon.js +116 -98
- package/lib/components/Icon/index.cjs +11 -5
- package/lib/components/Icon/index.js +1 -2
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +71 -50
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +48 -48
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +10 -14
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +1 -9
- package/lib/components/IdentityPlaceholder/index.cjs +12 -11
- package/lib/components/IdentityPlaceholder/index.js +3 -3
- package/lib/components/Inline/Inline.cjs +42 -21
- package/lib/components/Inline/Inline.js +19 -19
- package/lib/components/Inline/index.cjs +9 -3
- package/lib/components/Inline/index.js +1 -2
- package/lib/components/InlineBanner/InlineBanner.cjs +36 -33
- package/lib/components/InlineBanner/InlineBanner.js +32 -32
- package/lib/components/InlineBanner/InlineBanner.namespace.cjs +14 -18
- package/lib/components/InlineBanner/InlineBanner.namespace.js +1 -13
- package/lib/components/InlineBanner/index.cjs +16 -15
- package/lib/components/InlineBanner/index.js +3 -3
- package/lib/components/LinkContent/LinkContent.cjs +15 -13
- package/lib/components/LinkContent/LinkContent.js +11 -12
- package/lib/components/LinkContent/index.cjs +9 -3
- package/lib/components/LinkContent/index.js +1 -2
- package/lib/components/List/List.cjs +63 -46
- package/lib/components/List/List.js +59 -45
- package/lib/components/List/List.namespace.cjs +15 -19
- package/lib/components/List/List.namespace.js +1 -14
- package/lib/components/List/ListHeader.cjs +18 -18
- package/lib/components/List/ListHeader.js +14 -16
- package/lib/components/List/index.cjs +19 -18
- package/lib/components/List/index.js +4 -4
- package/lib/components/LoadingIndicator/LoadingIndicator.cjs +26 -24
- package/lib/components/LoadingIndicator/LoadingIndicator.js +22 -23
- package/lib/components/LoadingIndicator/index.cjs +9 -3
- package/lib/components/LoadingIndicator/index.js +1 -2
- package/lib/components/LoadingIndicator/usePendingButton.cjs +46 -22
- package/lib/components/LoadingIndicator/usePendingButton.js +23 -20
- package/lib/components/MannerTemp/MannerTemp.cjs +18 -20
- package/lib/components/MannerTemp/MannerTemp.js +14 -19
- package/lib/components/MannerTemp/MannerTempEmote.cjs +96 -130
- package/lib/components/MannerTemp/MannerTempEmote.js +92 -129
- package/lib/components/MannerTemp/index.cjs +11 -5
- package/lib/components/MannerTemp/index.js +2 -3
- package/lib/components/MannerTempBadge/MannerTempBadge.cjs +12 -9
- package/lib/components/MannerTempBadge/MannerTempBadge.js +8 -8
- package/lib/components/MannerTempBadge/index.cjs +9 -3
- package/lib/components/MannerTempBadge/index.js +1 -2
- package/lib/components/MenuSheet/MenuSheet.cjs +106 -61
- package/lib/components/MenuSheet/MenuSheet.js +83 -59
- package/lib/components/MenuSheet/MenuSheet.namespace.cjs +20 -24
- package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -19
- package/lib/components/MenuSheet/index.cjs +22 -21
- package/lib/components/MenuSheet/index.js +3 -3
- package/lib/components/NotificationBadge/NotificationBadge.cjs +41 -29
- package/lib/components/NotificationBadge/NotificationBadge.js +19 -27
- package/lib/components/NotificationBadge/index.cjs +10 -4
- package/lib/components/NotificationBadge/index.js +1 -2
- package/lib/components/PageBanner/PageBanner.cjs +51 -32
- package/lib/components/PageBanner/PageBanner.js +47 -30
- package/lib/components/PageBanner/PageBanner.namespace.cjs +15 -19
- package/lib/components/PageBanner/PageBanner.namespace.js +1 -14
- package/lib/components/PageBanner/index.cjs +17 -16
- package/lib/components/PageBanner/index.js +3 -3
- package/lib/components/Portal/index.cjs +10 -7
- package/lib/components/Portal/index.js +1 -2
- package/lib/components/ProgressCircle/ProgressCircle.cjs +23 -11
- package/lib/components/ProgressCircle/ProgressCircle.js +19 -10
- package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +11 -15
- package/lib/components/ProgressCircle/ProgressCircle.namespace.js +1 -10
- package/lib/components/ProgressCircle/index.cjs +13 -12
- package/lib/components/ProgressCircle/index.js +3 -3
- package/lib/components/PullToRefresh/PullToRefresh.cjs +20 -11
- package/lib/components/PullToRefresh/PullToRefresh.js +16 -10
- package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +15 -16
- package/lib/components/PullToRefresh/PullToRefresh.namespace.js +2 -12
- package/lib/components/PullToRefresh/index.cjs +16 -18
- package/lib/components/PullToRefresh/index.js +4 -4
- package/lib/components/RadioGroup/RadioGroup.cjs +72 -66
- package/lib/components/RadioGroup/RadioGroup.js +68 -64
- package/lib/components/RadioGroup/RadioGroup.namespace.cjs +14 -18
- package/lib/components/RadioGroup/RadioGroup.namespace.js +1 -13
- package/lib/components/RadioGroup/index.cjs +16 -15
- package/lib/components/RadioGroup/index.js +3 -3
- package/lib/components/ReactionButton/ReactionButton.cjs +47 -28
- package/lib/components/ReactionButton/ReactionButton.js +24 -25
- package/lib/components/ReactionButton/index.cjs +9 -3
- package/lib/components/ReactionButton/index.js +1 -2
- package/lib/components/ResponsivePair/ResponsivePair.cjs +57 -34
- package/lib/components/ResponsivePair/ResponsivePair.js +34 -32
- package/lib/components/ResponsivePair/index.cjs +9 -3
- package/lib/components/ResponsivePair/index.js +1 -2
- package/lib/components/ScrollFog/ScrollFog.cjs +61 -49
- package/lib/components/ScrollFog/ScrollFog.js +57 -47
- package/lib/components/ScrollFog/index.cjs +9 -3
- package/lib/components/ScrollFog/index.js +1 -2
- package/lib/components/SegmentedControl/SegmentedControl.cjs +22 -13
- package/lib/components/SegmentedControl/SegmentedControl.js +18 -12
- package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +12 -16
- package/lib/components/SegmentedControl/SegmentedControl.namespace.js +1 -11
- package/lib/components/SegmentedControl/index.cjs +14 -13
- package/lib/components/SegmentedControl/index.js +3 -3
- package/lib/components/SelectBox/CheckSelectBox.cjs +35 -29
- package/lib/components/SelectBox/CheckSelectBox.js +31 -28
- package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +13 -17
- package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -12
- package/lib/components/SelectBox/RadioSelectBox.cjs +33 -19
- package/lib/components/SelectBox/RadioSelectBox.js +29 -18
- package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +13 -17
- package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -12
- package/lib/components/SelectBox/index.cjs +23 -27
- package/lib/components/SelectBox/index.js +6 -5
- package/lib/components/Skeleton/Skeleton.cjs +13 -10
- package/lib/components/Skeleton/Skeleton.js +9 -9
- package/lib/components/Skeleton/index.cjs +9 -3
- package/lib/components/Skeleton/index.js +1 -2
- package/lib/components/Slider/Slider.cjs +90 -69
- package/lib/components/Slider/Slider.js +86 -67
- package/lib/components/Slider/Slider.namespace.cjs +21 -25
- package/lib/components/Slider/Slider.namespace.js +1 -20
- package/lib/components/Slider/index.cjs +23 -22
- package/lib/components/Slider/index.js +3 -3
- package/lib/components/Snackbar/Snackbar.cjs +55 -38
- package/lib/components/Snackbar/Snackbar.js +51 -37
- package/lib/components/Snackbar/Snackbar.namespace.cjs +18 -22
- package/lib/components/Snackbar/Snackbar.namespace.js +1 -17
- package/lib/components/Snackbar/index.cjs +24 -26
- package/lib/components/Snackbar/index.js +5 -5
- package/lib/components/Snackbar/useSnackbarAdapter.cjs +26 -22
- package/lib/components/Snackbar/useSnackbarAdapter.js +22 -21
- package/lib/components/Stack/Stack.cjs +35 -32
- package/lib/components/Stack/Stack.js +12 -30
- package/lib/components/Stack/index.cjs +11 -5
- package/lib/components/Stack/index.js +1 -2
- package/lib/components/Switch/Switch.cjs +63 -45
- package/lib/components/Switch/Switch.js +59 -42
- package/lib/components/Switch/Switch.namespace.cjs +13 -17
- package/lib/components/Switch/Switch.namespace.js +1 -12
- package/lib/components/Switch/index.cjs +15 -14
- package/lib/components/Switch/index.js +3 -3
- package/lib/components/Tabs/Tabs.cjs +33 -15
- package/lib/components/Tabs/Tabs.js +29 -14
- package/lib/components/Tabs/Tabs.namespace.cjs +19 -20
- package/lib/components/Tabs/Tabs.namespace.js +2 -16
- package/lib/components/Tabs/index.cjs +20 -22
- package/lib/components/Tabs/index.js +4 -4
- package/lib/components/TagGroup/TagGroup.cjs +35 -44
- package/lib/components/TagGroup/TagGroup.js +31 -42
- package/lib/components/TagGroup/TagGroup.namespace.cjs +10 -14
- package/lib/components/TagGroup/TagGroup.namespace.js +1 -9
- package/lib/components/TagGroup/index.cjs +12 -11
- package/lib/components/TagGroup/index.js +3 -3
- package/lib/components/Text/Text.cjs +85 -49
- package/lib/components/Text/Text.js +81 -47
- package/lib/components/Text/index.cjs +9 -3
- package/lib/components/Text/index.js +1 -2
- package/lib/components/TextField/TextField.cjs +122 -82
- package/lib/components/TextField/TextField.js +118 -80
- package/lib/components/TextField/TextField.namespace.cjs +15 -19
- package/lib/components/TextField/TextField.namespace.js +1 -14
- package/lib/components/TextField/index.cjs +19 -18
- package/lib/components/TextField/index.js +4 -4
- package/lib/components/TextField/memoize.cjs +15 -10
- package/lib/components/TextField/memoize.js +11 -10
- package/lib/components/TextField/useTextFieldWithGraphemes.cjs +50 -40
- package/lib/components/TextField/useTextFieldWithGraphemes.js +46 -39
- package/lib/components/ToggleButton/ToggleButton.cjs +47 -31
- package/lib/components/ToggleButton/ToggleButton.js +24 -28
- package/lib/components/ToggleButton/index.cjs +9 -3
- package/lib/components/ToggleButton/index.js +1 -2
- package/lib/components/VisuallyHidden/VisuallyHidden.cjs +14 -18
- package/lib/components/VisuallyHidden/VisuallyHidden.js +10 -17
- package/lib/components/VisuallyHidden/index.cjs +9 -3
- package/lib/components/VisuallyHidden/index.js +1 -2
- package/lib/components/index.cjs +401 -554
- package/lib/components/index.js +129 -100
- package/lib/components/private/Icon.cjs +15 -15
- package/lib/components/private/Icon.js +11 -14
- package/lib/components/private/useDismissible.cjs +73 -54
- package/lib/components/private/useDismissible.js +48 -53
- package/lib/index.cjs +401 -554
- package/lib/index.js +129 -100
- package/lib/primitive.cjs +55 -73
- package/lib/primitive.js +12 -12
- package/lib/utils/createRecipeContext.cjs +37 -46
- package/lib/utils/createRecipeContext.js +33 -44
- package/lib/utils/createSlotRecipeContext.cjs +74 -91
- package/lib/utils/createSlotRecipeContext.js +70 -89
- package/lib/utils/createWithStateProps.cjs +25 -23
- package/lib/utils/createWithStateProps.js +21 -22
- package/lib/utils/splitMultipleVariantsProps.cjs +29 -16
- package/lib/utils/splitMultipleVariantsProps.js +25 -16
- package/lib/utils/styled.cjs +273 -141
- package/lib/utils/styled.js +269 -141
- package/lib/vars.cjs +11 -7
- package/lib/vars.js +1 -1
- package/package.json +2 -2
- package/lib/_virtual/_rolldown/runtime.cjs +0 -34
- package/lib/_virtual/_rolldown/runtime.js +0 -14
|
@@ -1,33 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const React = require('react');
|
|
8
|
+
const Box = require('../Box/Box.cjs');
|
|
9
|
+
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
11
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
12
|
+
if (e) {
|
|
13
|
+
for (const k in e) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: () => e[k]
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
28
|
+
|
|
29
|
+
const Divider = React__namespace.forwardRef(
|
|
30
|
+
({
|
|
31
|
+
as = "hr",
|
|
32
|
+
color = "stroke.neutralMuted",
|
|
33
|
+
thickness = 1,
|
|
34
|
+
orientation = "horizontal",
|
|
35
|
+
inset = false,
|
|
36
|
+
...props
|
|
37
|
+
}, ref) => {
|
|
38
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
Box.Box,
|
|
40
|
+
{
|
|
41
|
+
ref,
|
|
42
|
+
as,
|
|
43
|
+
...(as === "hr" && orientation !== "horizontal" && (props.role === void 0 || props.role === "separator") || // if not hr but role is separator aria-orientation is needed
|
|
44
|
+
as !== "hr" && props.role === "separator") && {
|
|
45
|
+
"aria-orientation": orientation
|
|
46
|
+
},
|
|
47
|
+
display: "block",
|
|
48
|
+
borderColor: color,
|
|
49
|
+
borderWidth: 0,
|
|
50
|
+
...orientation === "vertical" && { borderRightWidth: thickness },
|
|
51
|
+
...orientation === "horizontal" && { borderBottomWidth: thickness },
|
|
52
|
+
...props,
|
|
53
|
+
style: {
|
|
54
|
+
...inset && orientation === "horizontal" && {
|
|
55
|
+
marginLeft: "16px",
|
|
56
|
+
marginRight: "16px"
|
|
57
|
+
},
|
|
58
|
+
...inset && orientation === "vertical" && {
|
|
59
|
+
marginTop: "16px",
|
|
60
|
+
marginBottom: "16px"
|
|
61
|
+
},
|
|
62
|
+
...props.style
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
|
|
33
69
|
exports.Divider = Divider;
|
|
@@ -1,31 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import * as React
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Box } from '../Box/Box.js';
|
|
5
|
+
|
|
6
|
+
const Divider = React.forwardRef(
|
|
7
|
+
({
|
|
8
|
+
as = "hr",
|
|
9
|
+
color = "stroke.neutralMuted",
|
|
10
|
+
thickness = 1,
|
|
11
|
+
orientation = "horizontal",
|
|
12
|
+
inset = false,
|
|
13
|
+
...props
|
|
14
|
+
}, ref) => {
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
Box,
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
as,
|
|
20
|
+
...(as === "hr" && orientation !== "horizontal" && (props.role === void 0 || props.role === "separator") || // if not hr but role is separator aria-orientation is needed
|
|
21
|
+
as !== "hr" && props.role === "separator") && {
|
|
22
|
+
"aria-orientation": orientation
|
|
23
|
+
},
|
|
24
|
+
display: "block",
|
|
25
|
+
borderColor: color,
|
|
26
|
+
borderWidth: 0,
|
|
27
|
+
...orientation === "vertical" && { borderRightWidth: thickness },
|
|
28
|
+
...orientation === "horizontal" && { borderBottomWidth: thickness },
|
|
29
|
+
...props,
|
|
30
|
+
style: {
|
|
31
|
+
...inset && orientation === "horizontal" && {
|
|
32
|
+
marginLeft: "16px",
|
|
33
|
+
marginRight: "16px"
|
|
34
|
+
},
|
|
35
|
+
...inset && orientation === "vertical" && {
|
|
36
|
+
marginTop: "16px",
|
|
37
|
+
marginBottom: "16px"
|
|
38
|
+
},
|
|
39
|
+
...props.style
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
|
|
31
46
|
export { Divider };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const Divider = require('./Divider.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Divider = Divider.Divider;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Divider };
|
|
1
|
+
export { Divider } from './Divider.js';
|
|
@@ -1,68 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
var ExtendedActionSheetTitle = withContext(withStateProps(_seed_design_react_primitive.Primitive.h2), "title");
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Use `MenuSheet` instead.
|
|
47
|
-
*/
|
|
48
|
-
var ExtendedActionSheetList = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "list");
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Use `MenuSheet` instead.
|
|
51
|
-
*/
|
|
52
|
-
var ExtendedActionSheetGroup = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "group");
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Use `MenuSheet` instead.
|
|
55
|
-
*/
|
|
56
|
-
var ExtendedActionSheetItem = withItemContext(withStateProps(_seed_design_react_primitive.Primitive.button));
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use `MenuSheet` instead.
|
|
59
|
-
*/
|
|
60
|
-
var ExtendedActionSheetFooter = withContext(withStateProps(_seed_design_react_primitive.Primitive.div), "footer");
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Use `MenuSheet` instead.
|
|
63
|
-
*/
|
|
64
|
-
var ExtendedActionSheetCloseButton = withContext(_seed_design_react_dialog.Dialog.CloseButton, "closeButton");
|
|
65
|
-
//#endregion
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const reactDialog = require('@seed-design/react-dialog');
|
|
7
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
8
|
+
const extendedActionSheet = require('@seed-design/css/recipes/extended-action-sheet');
|
|
9
|
+
const extendedActionSheetItem = require('@seed-design/css/recipes/extended-action-sheet-item');
|
|
10
|
+
const createRecipeContext = require('../../utils/createRecipeContext.cjs');
|
|
11
|
+
const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
|
|
12
|
+
const createWithStateProps = require('../../utils/createWithStateProps.cjs');
|
|
13
|
+
|
|
14
|
+
const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(extendedActionSheet.extendedActionSheet);
|
|
15
|
+
const { withContext: withItemContext } = createRecipeContext.createRecipeContext(extendedActionSheetItem.extendedActionSheetItem);
|
|
16
|
+
const withStateProps = createWithStateProps.createWithStateProps([reactDialog.useDialogContext]);
|
|
17
|
+
const ExtendedActionSheetRoot = withRootProvider(
|
|
18
|
+
reactDialog.Dialog.Root,
|
|
19
|
+
{
|
|
20
|
+
defaultProps: {
|
|
21
|
+
lazyMount: true,
|
|
22
|
+
unmountOnExit: true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
const ExtendedActionSheetTrigger = reactDialog.Dialog.Trigger;
|
|
27
|
+
const ExtendedActionSheetPositioner = withContext(reactDialog.Dialog.Positioner, "positioner");
|
|
28
|
+
const ExtendedActionSheetBackdrop = withContext(reactDialog.Dialog.Backdrop, "backdrop");
|
|
29
|
+
const ExtendedActionSheetContent = withContext(reactDialog.Dialog.Content, "content");
|
|
30
|
+
const ExtendedActionSheetHeader = withContext(withStateProps(reactPrimitive.Primitive.div), "header");
|
|
31
|
+
const ExtendedActionSheetTitle = withContext(withStateProps(reactPrimitive.Primitive.h2), "title");
|
|
32
|
+
const ExtendedActionSheetList = withContext(
|
|
33
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
34
|
+
"list"
|
|
35
|
+
);
|
|
36
|
+
const ExtendedActionSheetGroup = withContext(
|
|
37
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
38
|
+
"group"
|
|
39
|
+
);
|
|
40
|
+
const ExtendedActionSheetItem = withItemContext(withStateProps(reactPrimitive.Primitive.button));
|
|
41
|
+
const ExtendedActionSheetFooter = withContext(withStateProps(reactPrimitive.Primitive.div), "footer");
|
|
42
|
+
const ExtendedActionSheetCloseButton = withContext(reactDialog.Dialog.CloseButton, "closeButton");
|
|
43
|
+
|
|
66
44
|
exports.ExtendedActionSheetBackdrop = ExtendedActionSheetBackdrop;
|
|
67
45
|
exports.ExtendedActionSheetCloseButton = ExtendedActionSheetCloseButton;
|
|
68
46
|
exports.ExtendedActionSheetContent = ExtendedActionSheetContent;
|
|
@@ -1,65 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Use `MenuSheet` instead.
|
|
42
|
-
*/
|
|
43
|
-
var ExtendedActionSheetTitle = withContext(withStateProps(Primitive.h2), "title");
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use `MenuSheet` instead.
|
|
46
|
-
*/
|
|
47
|
-
var ExtendedActionSheetList = withContext(withStateProps(Primitive.div), "list");
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Use `MenuSheet` instead.
|
|
50
|
-
*/
|
|
51
|
-
var ExtendedActionSheetGroup = withContext(withStateProps(Primitive.div), "group");
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Use `MenuSheet` instead.
|
|
54
|
-
*/
|
|
55
|
-
var ExtendedActionSheetItem = withItemContext(withStateProps(Primitive.button));
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated Use `MenuSheet` instead.
|
|
58
|
-
*/
|
|
59
|
-
var ExtendedActionSheetFooter = withContext(withStateProps(Primitive.div), "footer");
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Use `MenuSheet` instead.
|
|
62
|
-
*/
|
|
63
|
-
var ExtendedActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
|
|
64
|
-
//#endregion
|
|
1
|
+
'use client';
|
|
2
|
+
import { Dialog, useDialogContext } from '@seed-design/react-dialog';
|
|
3
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
4
|
+
import { extendedActionSheet } from '@seed-design/css/recipes/extended-action-sheet';
|
|
5
|
+
import { extendedActionSheetItem } from '@seed-design/css/recipes/extended-action-sheet-item';
|
|
6
|
+
import { createRecipeContext } from '../../utils/createRecipeContext.js';
|
|
7
|
+
import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
|
|
8
|
+
import { createWithStateProps } from '../../utils/createWithStateProps.js';
|
|
9
|
+
|
|
10
|
+
const { withRootProvider, withContext } = createSlotRecipeContext(extendedActionSheet);
|
|
11
|
+
const { withContext: withItemContext } = createRecipeContext(extendedActionSheetItem);
|
|
12
|
+
const withStateProps = createWithStateProps([useDialogContext]);
|
|
13
|
+
const ExtendedActionSheetRoot = withRootProvider(
|
|
14
|
+
Dialog.Root,
|
|
15
|
+
{
|
|
16
|
+
defaultProps: {
|
|
17
|
+
lazyMount: true,
|
|
18
|
+
unmountOnExit: true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
const ExtendedActionSheetTrigger = Dialog.Trigger;
|
|
23
|
+
const ExtendedActionSheetPositioner = withContext(Dialog.Positioner, "positioner");
|
|
24
|
+
const ExtendedActionSheetBackdrop = withContext(Dialog.Backdrop, "backdrop");
|
|
25
|
+
const ExtendedActionSheetContent = withContext(Dialog.Content, "content");
|
|
26
|
+
const ExtendedActionSheetHeader = withContext(withStateProps(Primitive.div), "header");
|
|
27
|
+
const ExtendedActionSheetTitle = withContext(withStateProps(Primitive.h2), "title");
|
|
28
|
+
const ExtendedActionSheetList = withContext(
|
|
29
|
+
withStateProps(Primitive.div),
|
|
30
|
+
"list"
|
|
31
|
+
);
|
|
32
|
+
const ExtendedActionSheetGroup = withContext(
|
|
33
|
+
withStateProps(Primitive.div),
|
|
34
|
+
"group"
|
|
35
|
+
);
|
|
36
|
+
const ExtendedActionSheetItem = withItemContext(withStateProps(Primitive.button));
|
|
37
|
+
const ExtendedActionSheetFooter = withContext(withStateProps(Primitive.div), "footer");
|
|
38
|
+
const ExtendedActionSheetCloseButton = withContext(Dialog.CloseButton, "closeButton");
|
|
39
|
+
|
|
65
40
|
export { ExtendedActionSheetBackdrop, ExtendedActionSheetCloseButton, ExtendedActionSheetContent, ExtendedActionSheetFooter, ExtendedActionSheetGroup, ExtendedActionSheetHeader, ExtendedActionSheetItem, ExtendedActionSheetList, ExtendedActionSheetPositioner, ExtendedActionSheetRoot, ExtendedActionSheetTitle, ExtendedActionSheetTrigger };
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
get: function() {
|
|
22
|
-
return ExtendedActionSheet_namespace_exports;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const ExtendedActionSheet = require('./ExtendedActionSheet.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Backdrop = ExtendedActionSheet.ExtendedActionSheetBackdrop;
|
|
10
|
+
exports.CloseButton = ExtendedActionSheet.ExtendedActionSheetCloseButton;
|
|
11
|
+
exports.Content = ExtendedActionSheet.ExtendedActionSheetContent;
|
|
12
|
+
exports.Footer = ExtendedActionSheet.ExtendedActionSheetFooter;
|
|
13
|
+
exports.Group = ExtendedActionSheet.ExtendedActionSheetGroup;
|
|
14
|
+
exports.Header = ExtendedActionSheet.ExtendedActionSheetHeader;
|
|
15
|
+
exports.Item = ExtendedActionSheet.ExtendedActionSheetItem;
|
|
16
|
+
exports.List = ExtendedActionSheet.ExtendedActionSheetList;
|
|
17
|
+
exports.Positioner = ExtendedActionSheet.ExtendedActionSheetPositioner;
|
|
18
|
+
exports.Root = ExtendedActionSheet.ExtendedActionSheetRoot;
|
|
19
|
+
exports.Title = ExtendedActionSheet.ExtendedActionSheetTitle;
|
|
20
|
+
exports.Trigger = ExtendedActionSheet.ExtendedActionSheetTrigger;
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ExtendedActionSheetBackdrop, ExtendedActionSheetCloseButton, ExtendedActionSheetContent, ExtendedActionSheetFooter, ExtendedActionSheetGroup, ExtendedActionSheetHeader, ExtendedActionSheetItem, ExtendedActionSheetList, ExtendedActionSheetPositioner, ExtendedActionSheetRoot, ExtendedActionSheetTitle, ExtendedActionSheetTrigger } from "./ExtendedActionSheet.js";
|
|
3
|
-
//#region src/components/ExtendedActionSheet/ExtendedActionSheet.namespace.ts
|
|
4
|
-
var ExtendedActionSheet_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
Backdrop: () => ExtendedActionSheetBackdrop,
|
|
6
|
-
CloseButton: () => ExtendedActionSheetCloseButton,
|
|
7
|
-
Content: () => ExtendedActionSheetContent,
|
|
8
|
-
Footer: () => ExtendedActionSheetFooter,
|
|
9
|
-
Group: () => ExtendedActionSheetGroup,
|
|
10
|
-
Header: () => ExtendedActionSheetHeader,
|
|
11
|
-
Item: () => ExtendedActionSheetItem,
|
|
12
|
-
List: () => ExtendedActionSheetList,
|
|
13
|
-
Positioner: () => ExtendedActionSheetPositioner,
|
|
14
|
-
Root: () => ExtendedActionSheetRoot,
|
|
15
|
-
Title: () => ExtendedActionSheetTitle,
|
|
16
|
-
Trigger: () => ExtendedActionSheetTrigger
|
|
17
|
-
});
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ExtendedActionSheet_namespace_exports };
|
|
1
|
+
export { ExtendedActionSheetBackdrop as Backdrop, ExtendedActionSheetCloseButton as CloseButton, ExtendedActionSheetContent as Content, ExtendedActionSheetFooter as Footer, ExtendedActionSheetGroup as Group, ExtendedActionSheetHeader as Header, ExtendedActionSheetItem as Item, ExtendedActionSheetList as List, ExtendedActionSheetPositioner as Positioner, ExtendedActionSheetRoot as Root, ExtendedActionSheetTitle as Title, ExtendedActionSheetTrigger as Trigger } from './ExtendedActionSheet.js';
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.ExtendedActionSheetBackdrop =
|
|
11
|
-
exports.ExtendedActionSheetCloseButton =
|
|
12
|
-
exports.ExtendedActionSheetContent =
|
|
13
|
-
exports.ExtendedActionSheetFooter =
|
|
14
|
-
exports.ExtendedActionSheetGroup =
|
|
15
|
-
exports.ExtendedActionSheetHeader =
|
|
16
|
-
exports.ExtendedActionSheetItem =
|
|
17
|
-
exports.ExtendedActionSheetList =
|
|
18
|
-
exports.ExtendedActionSheetPositioner =
|
|
19
|
-
exports.ExtendedActionSheetRoot =
|
|
20
|
-
exports.ExtendedActionSheetTitle =
|
|
21
|
-
exports.ExtendedActionSheetTrigger =
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const ExtendedActionSheet = require('./ExtendedActionSheet.cjs');
|
|
6
|
+
const ExtendedActionSheet_namespace = require('./ExtendedActionSheet.namespace.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.ExtendedActionSheetBackdrop = ExtendedActionSheet.ExtendedActionSheetBackdrop;
|
|
11
|
+
exports.ExtendedActionSheetCloseButton = ExtendedActionSheet.ExtendedActionSheetCloseButton;
|
|
12
|
+
exports.ExtendedActionSheetContent = ExtendedActionSheet.ExtendedActionSheetContent;
|
|
13
|
+
exports.ExtendedActionSheetFooter = ExtendedActionSheet.ExtendedActionSheetFooter;
|
|
14
|
+
exports.ExtendedActionSheetGroup = ExtendedActionSheet.ExtendedActionSheetGroup;
|
|
15
|
+
exports.ExtendedActionSheetHeader = ExtendedActionSheet.ExtendedActionSheetHeader;
|
|
16
|
+
exports.ExtendedActionSheetItem = ExtendedActionSheet.ExtendedActionSheetItem;
|
|
17
|
+
exports.ExtendedActionSheetList = ExtendedActionSheet.ExtendedActionSheetList;
|
|
18
|
+
exports.ExtendedActionSheetPositioner = ExtendedActionSheet.ExtendedActionSheetPositioner;
|
|
19
|
+
exports.ExtendedActionSheetRoot = ExtendedActionSheet.ExtendedActionSheetRoot;
|
|
20
|
+
exports.ExtendedActionSheetTitle = ExtendedActionSheet.ExtendedActionSheetTitle;
|
|
21
|
+
exports.ExtendedActionSheetTrigger = ExtendedActionSheet.ExtendedActionSheetTrigger;
|
|
22
|
+
exports.ExtendedActionSheet = ExtendedActionSheet_namespace;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
export {
|
|
1
|
+
export { ExtendedActionSheetBackdrop, ExtendedActionSheetCloseButton, ExtendedActionSheetContent, ExtendedActionSheetFooter, ExtendedActionSheetGroup, ExtendedActionSheetHeader, ExtendedActionSheetItem, ExtendedActionSheetList, ExtendedActionSheetPositioner, ExtendedActionSheetRoot, ExtendedActionSheetTitle, ExtendedActionSheetTrigger } from './ExtendedActionSheet.js';
|
|
2
|
+
import * as ExtendedActionSheet_namespace from './ExtendedActionSheet.namespace.js';
|
|
3
|
+
export { ExtendedActionSheet_namespace as ExtendedActionSheet };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
7
|
+
const extendedFab = require('@seed-design/css/recipes/extended-fab');
|
|
8
|
+
const createRecipeContext = require('../../utils/createRecipeContext.cjs');
|
|
9
|
+
|
|
10
|
+
const { withContext } = createRecipeContext.createRecipeContext(extendedFab.extendedFab);
|
|
11
|
+
const ExtendedFab = withContext(reactPrimitive.Primitive.button, {
|
|
12
|
+
defaultProps: {
|
|
13
|
+
variant: "neutralSolid",
|
|
14
|
+
size: "medium"
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
16
18
|
exports.ExtendedFab = ExtendedFab;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
1
|
+
'use client';
|
|
2
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
3
|
+
import { extendedFab } from '@seed-design/css/recipes/extended-fab';
|
|
4
|
+
import { createRecipeContext } from '../../utils/createRecipeContext.js';
|
|
5
|
+
|
|
6
|
+
const { withContext } = createRecipeContext(extendedFab);
|
|
7
|
+
const ExtendedFab = withContext(Primitive.button, {
|
|
8
|
+
defaultProps: {
|
|
9
|
+
variant: "neutralSolid",
|
|
10
|
+
size: "medium"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
|
|
15
14
|
export { ExtendedFab };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const ExtendedFab = require('./ExtendedFab.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.ExtendedFab = ExtendedFab.ExtendedFab;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ExtendedFab };
|
|
1
|
+
export { ExtendedFab } from './ExtendedFab.js';
|