@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,103 +1,186 @@
|
|
|
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
|
-
|
|
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 reactPrimitive = require('@seed-design/react-primitive');
|
|
8
|
+
const reactFieldButton = require('@seed-design/react-field-button');
|
|
9
|
+
const React = require('react');
|
|
10
|
+
const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
|
|
11
|
+
const createWithStateProps = require('../../utils/createWithStateProps.cjs');
|
|
12
|
+
const field = require('@seed-design/css/recipes/field');
|
|
13
|
+
const fieldLabel = require('@seed-design/css/recipes/field-label');
|
|
14
|
+
const Icon = require('../private/Icon.cjs');
|
|
15
|
+
const inputButton = require('@seed-design/css/recipes/input-button');
|
|
16
|
+
const clsx = require('clsx');
|
|
17
|
+
|
|
18
|
+
function _interopNamespaceDefault(e) {
|
|
19
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
20
|
+
if (e) {
|
|
21
|
+
for (const k in e) {
|
|
22
|
+
if (k !== 'default') {
|
|
23
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
24
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: () => e[k]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
n.default = e;
|
|
32
|
+
return Object.freeze(n);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
36
|
+
|
|
37
|
+
const { withContext: withFieldContext, withProvider: withFieldProvider } = createSlotRecipeContext.createSlotRecipeContext(field.field);
|
|
38
|
+
const { withProvider, withContext, useClassNames } = createSlotRecipeContext.createSlotRecipeContext(inputButton.inputButton);
|
|
39
|
+
const {
|
|
40
|
+
withProvider: withLabelProvider,
|
|
41
|
+
withContext: withLabelContext,
|
|
42
|
+
useClassNames: useLabelClassNames
|
|
43
|
+
} = createSlotRecipeContext.createSlotRecipeContext(fieldLabel.fieldLabel);
|
|
44
|
+
const withStateProps = createWithStateProps.createWithStateProps([reactFieldButton.useFieldButtonContext]);
|
|
45
|
+
const FieldButtonRoot = withFieldProvider(
|
|
46
|
+
reactFieldButton.FieldButton.Root,
|
|
47
|
+
"root"
|
|
48
|
+
);
|
|
49
|
+
const FieldButtonHeader = withFieldContext(
|
|
50
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
51
|
+
"header"
|
|
52
|
+
);
|
|
53
|
+
const FieldButtonLabel = withLabelProvider(
|
|
54
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
55
|
+
"root"
|
|
56
|
+
);
|
|
57
|
+
const FieldButtonIndicatorText = withLabelContext(withStateProps(reactPrimitive.Primitive.span), "indicatorText");
|
|
58
|
+
const FieldButtonRequiredIndicator = React__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
59
|
+
const { indicatorIcon } = useLabelClassNames();
|
|
60
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
61
|
+
Icon.InternalIcon,
|
|
62
|
+
{
|
|
63
|
+
svg: (
|
|
64
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: InternalIcon is aria-hidden
|
|
65
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
+
"svg",
|
|
67
|
+
{
|
|
68
|
+
viewBox: "0 0 6 6",
|
|
69
|
+
fill: "none",
|
|
70
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
71
|
+
className: clsx(indicatorIcon, className),
|
|
72
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
73
|
+
"path",
|
|
74
|
+
{
|
|
75
|
+
d: "M3.75002 1.55859L4.41318 1.09468C4.75243 0.857361 5.21982 0.939865 5.45732 1.27899C5.69499 1.61836 5.61243 2.08615 5.27295 2.32366L4.30763 2.99902L5.27372 3.67612C5.61285 3.91381 5.69517 4.38137 5.45761 4.72059C5.21999 5.0599 4.7523 5.14233 4.41299 4.90471L3.75002 4.44043V5.25C3.75002 5.66421 3.41423 6 3.00002 6C2.5858 6 2.25002 5.66421 2.25002 5.25V4.44043L1.58704 4.90471C1.24773 5.14233 0.780041 5.0599 0.542418 4.72059C0.304856 4.38137 0.387176 3.91381 0.726309 3.67612L1.6924 2.99902L0.727079 2.32366C0.387603 2.08615 0.305043 1.61836 0.542707 1.27899C0.780206 0.939865 1.2476 0.857361 1.58685 1.09468L2.25002 1.55859V0.75C2.25002 0.335786 2.5858 0 3.00002 0C3.41423 0 3.75002 0.335786 3.75002 0.75V1.55859Z",
|
|
76
|
+
fill: "currentColor"
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
),
|
|
82
|
+
ref,
|
|
83
|
+
...props
|
|
84
|
+
}
|
|
85
|
+
);
|
|
41
86
|
});
|
|
42
87
|
FieldButtonRequiredIndicator.displayName = "FieldButtonRequiredIndicator";
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
88
|
+
const FieldButtonPrefixIcon = withContext(
|
|
89
|
+
withStateProps(Icon.InternalIcon),
|
|
90
|
+
"prefixIcon"
|
|
91
|
+
);
|
|
92
|
+
const FieldButtonPrefixText = React__namespace.forwardRef(
|
|
93
|
+
({ className, ...props }, ref) => {
|
|
94
|
+
const { stateProps } = reactFieldButton.useFieldButtonContext();
|
|
95
|
+
const { prefixText } = useClassNames();
|
|
96
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
97
|
+
reactPrimitive.Primitive.span,
|
|
98
|
+
{
|
|
99
|
+
className: clsx(prefixText, className),
|
|
100
|
+
ref,
|
|
101
|
+
"aria-hidden": true,
|
|
102
|
+
...stateProps,
|
|
103
|
+
...props
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
);
|
|
55
108
|
FieldButtonPrefixText.displayName = "FieldButtonPrefixText";
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
109
|
+
const FieldButtonSuffixIcon = withContext(
|
|
110
|
+
withStateProps(Icon.InternalIcon),
|
|
111
|
+
"suffixIcon"
|
|
112
|
+
);
|
|
113
|
+
const FieldButtonSuffixText = React__namespace.forwardRef(
|
|
114
|
+
({ className, ...props }, ref) => {
|
|
115
|
+
const { stateProps } = reactFieldButton.useFieldButtonContext();
|
|
116
|
+
const { suffixText } = useClassNames();
|
|
117
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
118
|
+
reactPrimitive.Primitive.span,
|
|
119
|
+
{
|
|
120
|
+
className: clsx(suffixText, className),
|
|
121
|
+
ref,
|
|
122
|
+
"aria-hidden": true,
|
|
123
|
+
...stateProps,
|
|
124
|
+
...props
|
|
125
|
+
}
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
);
|
|
68
129
|
FieldButtonSuffixText.displayName = "FieldButtonSuffixText";
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
130
|
+
const FieldButtonFooter = withFieldContext(
|
|
131
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
132
|
+
"footer"
|
|
133
|
+
);
|
|
134
|
+
const FieldButtonDescription = withFieldContext(reactFieldButton.FieldButton.Description, "description");
|
|
135
|
+
const FieldButtonErrorMessage = withFieldContext(reactFieldButton.FieldButton.ErrorMessage, "errorMessage");
|
|
136
|
+
const FieldButtonHiddenInput = reactFieldButton.FieldButton.HiddenInput;
|
|
137
|
+
const FieldButtonButton = withContext(
|
|
138
|
+
reactFieldButton.FieldButton.Button,
|
|
139
|
+
"button"
|
|
140
|
+
);
|
|
141
|
+
const FieldButtonControl = withProvider(
|
|
142
|
+
withStateProps(reactPrimitive.Primitive.div),
|
|
143
|
+
"root"
|
|
144
|
+
);
|
|
145
|
+
const FieldButtonClearButton = withContext(
|
|
146
|
+
reactFieldButton.FieldButton.ClearButton,
|
|
147
|
+
"clearButton"
|
|
148
|
+
);
|
|
149
|
+
const FieldButtonValue = React__namespace.forwardRef(
|
|
150
|
+
({ className, ...props }, ref) => {
|
|
151
|
+
const { stateProps } = reactFieldButton.useFieldButtonContext();
|
|
152
|
+
const { value } = useClassNames();
|
|
153
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
+
reactPrimitive.Primitive.div,
|
|
155
|
+
{
|
|
156
|
+
className: clsx(value, className),
|
|
157
|
+
ref,
|
|
158
|
+
"aria-hidden": true,
|
|
159
|
+
...stateProps,
|
|
160
|
+
...props
|
|
161
|
+
}
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
);
|
|
87
165
|
FieldButtonValue.displayName = "FieldButtonValue";
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
166
|
+
const FieldButtonPlaceholder = React__namespace.forwardRef(
|
|
167
|
+
({ className, ...props }, ref) => {
|
|
168
|
+
const { stateProps } = reactFieldButton.useFieldButtonContext();
|
|
169
|
+
const { placeholder } = useClassNames();
|
|
170
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
171
|
+
reactPrimitive.Primitive.div,
|
|
172
|
+
{
|
|
173
|
+
className: clsx(placeholder, className),
|
|
174
|
+
ref,
|
|
175
|
+
"aria-hidden": true,
|
|
176
|
+
...stateProps,
|
|
177
|
+
...props
|
|
178
|
+
}
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
);
|
|
99
182
|
FieldButtonPlaceholder.displayName = "FieldButtonPlaceholder";
|
|
100
|
-
|
|
183
|
+
|
|
101
184
|
exports.FieldButtonButton = FieldButtonButton;
|
|
102
185
|
exports.FieldButtonClearButton = FieldButtonClearButton;
|
|
103
186
|
exports.FieldButtonControl = FieldButtonControl;
|
|
@@ -1,98 +1,161 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
4
|
+
import { FieldButton, useFieldButtonContext } from '@seed-design/react-field-button';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
|
|
7
|
+
import { createWithStateProps } from '../../utils/createWithStateProps.js';
|
|
8
|
+
import { field } from '@seed-design/css/recipes/field';
|
|
9
|
+
import { fieldLabel } from '@seed-design/css/recipes/field-label';
|
|
10
|
+
import { InternalIcon } from '../private/Icon.js';
|
|
11
|
+
import { inputButton } from '@seed-design/css/recipes/input-button';
|
|
12
|
+
import clsx from 'clsx';
|
|
13
|
+
|
|
14
|
+
const { withContext: withFieldContext, withProvider: withFieldProvider } = createSlotRecipeContext(field);
|
|
15
|
+
const { withProvider, withContext, useClassNames } = createSlotRecipeContext(inputButton);
|
|
16
|
+
const {
|
|
17
|
+
withProvider: withLabelProvider,
|
|
18
|
+
withContext: withLabelContext,
|
|
19
|
+
useClassNames: useLabelClassNames
|
|
20
|
+
} = createSlotRecipeContext(fieldLabel);
|
|
21
|
+
const withStateProps = createWithStateProps([useFieldButtonContext]);
|
|
22
|
+
const FieldButtonRoot = withFieldProvider(
|
|
23
|
+
FieldButton.Root,
|
|
24
|
+
"root"
|
|
25
|
+
);
|
|
26
|
+
const FieldButtonHeader = withFieldContext(
|
|
27
|
+
withStateProps(Primitive.div),
|
|
28
|
+
"header"
|
|
29
|
+
);
|
|
30
|
+
const FieldButtonLabel = withLabelProvider(
|
|
31
|
+
withStateProps(Primitive.div),
|
|
32
|
+
"root"
|
|
33
|
+
);
|
|
34
|
+
const FieldButtonIndicatorText = withLabelContext(withStateProps(Primitive.span), "indicatorText");
|
|
35
|
+
const FieldButtonRequiredIndicator = React.forwardRef(({ className, ...props }, ref) => {
|
|
36
|
+
const { indicatorIcon } = useLabelClassNames();
|
|
37
|
+
return /* @__PURE__ */ jsx(
|
|
38
|
+
InternalIcon,
|
|
39
|
+
{
|
|
40
|
+
svg: (
|
|
41
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: InternalIcon is aria-hidden
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
"svg",
|
|
44
|
+
{
|
|
45
|
+
viewBox: "0 0 6 6",
|
|
46
|
+
fill: "none",
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
48
|
+
className: clsx(indicatorIcon, className),
|
|
49
|
+
children: /* @__PURE__ */ jsx(
|
|
50
|
+
"path",
|
|
51
|
+
{
|
|
52
|
+
d: "M3.75002 1.55859L4.41318 1.09468C4.75243 0.857361 5.21982 0.939865 5.45732 1.27899C5.69499 1.61836 5.61243 2.08615 5.27295 2.32366L4.30763 2.99902L5.27372 3.67612C5.61285 3.91381 5.69517 4.38137 5.45761 4.72059C5.21999 5.0599 4.7523 5.14233 4.41299 4.90471L3.75002 4.44043V5.25C3.75002 5.66421 3.41423 6 3.00002 6C2.5858 6 2.25002 5.66421 2.25002 5.25V4.44043L1.58704 4.90471C1.24773 5.14233 0.780041 5.0599 0.542418 4.72059C0.304856 4.38137 0.387176 3.91381 0.726309 3.67612L1.6924 2.99902L0.727079 2.32366C0.387603 2.08615 0.305043 1.61836 0.542707 1.27899C0.780206 0.939865 1.2476 0.857361 1.58685 1.09468L2.25002 1.55859V0.75C2.25002 0.335786 2.5858 0 3.00002 0C3.41423 0 3.75002 0.335786 3.75002 0.75V1.55859Z",
|
|
53
|
+
fill: "currentColor"
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
),
|
|
59
|
+
ref,
|
|
60
|
+
...props
|
|
61
|
+
}
|
|
62
|
+
);
|
|
38
63
|
});
|
|
39
64
|
FieldButtonRequiredIndicator.displayName = "FieldButtonRequiredIndicator";
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
65
|
+
const FieldButtonPrefixIcon = withContext(
|
|
66
|
+
withStateProps(InternalIcon),
|
|
67
|
+
"prefixIcon"
|
|
68
|
+
);
|
|
69
|
+
const FieldButtonPrefixText = React.forwardRef(
|
|
70
|
+
({ className, ...props }, ref) => {
|
|
71
|
+
const { stateProps } = useFieldButtonContext();
|
|
72
|
+
const { prefixText } = useClassNames();
|
|
73
|
+
return /* @__PURE__ */ jsx(
|
|
74
|
+
Primitive.span,
|
|
75
|
+
{
|
|
76
|
+
className: clsx(prefixText, className),
|
|
77
|
+
ref,
|
|
78
|
+
"aria-hidden": true,
|
|
79
|
+
...stateProps,
|
|
80
|
+
...props
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
);
|
|
52
85
|
FieldButtonPrefixText.displayName = "FieldButtonPrefixText";
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
86
|
+
const FieldButtonSuffixIcon = withContext(
|
|
87
|
+
withStateProps(InternalIcon),
|
|
88
|
+
"suffixIcon"
|
|
89
|
+
);
|
|
90
|
+
const FieldButtonSuffixText = React.forwardRef(
|
|
91
|
+
({ className, ...props }, ref) => {
|
|
92
|
+
const { stateProps } = useFieldButtonContext();
|
|
93
|
+
const { suffixText } = useClassNames();
|
|
94
|
+
return /* @__PURE__ */ jsx(
|
|
95
|
+
Primitive.span,
|
|
96
|
+
{
|
|
97
|
+
className: clsx(suffixText, className),
|
|
98
|
+
ref,
|
|
99
|
+
"aria-hidden": true,
|
|
100
|
+
...stateProps,
|
|
101
|
+
...props
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
);
|
|
65
106
|
FieldButtonSuffixText.displayName = "FieldButtonSuffixText";
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
107
|
+
const FieldButtonFooter = withFieldContext(
|
|
108
|
+
withStateProps(Primitive.div),
|
|
109
|
+
"footer"
|
|
110
|
+
);
|
|
111
|
+
const FieldButtonDescription = withFieldContext(FieldButton.Description, "description");
|
|
112
|
+
const FieldButtonErrorMessage = withFieldContext(FieldButton.ErrorMessage, "errorMessage");
|
|
113
|
+
const FieldButtonHiddenInput = FieldButton.HiddenInput;
|
|
114
|
+
const FieldButtonButton = withContext(
|
|
115
|
+
FieldButton.Button,
|
|
116
|
+
"button"
|
|
117
|
+
);
|
|
118
|
+
const FieldButtonControl = withProvider(
|
|
119
|
+
withStateProps(Primitive.div),
|
|
120
|
+
"root"
|
|
121
|
+
);
|
|
122
|
+
const FieldButtonClearButton = withContext(
|
|
123
|
+
FieldButton.ClearButton,
|
|
124
|
+
"clearButton"
|
|
125
|
+
);
|
|
126
|
+
const FieldButtonValue = React.forwardRef(
|
|
127
|
+
({ className, ...props }, ref) => {
|
|
128
|
+
const { stateProps } = useFieldButtonContext();
|
|
129
|
+
const { value } = useClassNames();
|
|
130
|
+
return /* @__PURE__ */ jsx(
|
|
131
|
+
Primitive.div,
|
|
132
|
+
{
|
|
133
|
+
className: clsx(value, className),
|
|
134
|
+
ref,
|
|
135
|
+
"aria-hidden": true,
|
|
136
|
+
...stateProps,
|
|
137
|
+
...props
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
);
|
|
84
142
|
FieldButtonValue.displayName = "FieldButtonValue";
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
143
|
+
const FieldButtonPlaceholder = React.forwardRef(
|
|
144
|
+
({ className, ...props }, ref) => {
|
|
145
|
+
const { stateProps } = useFieldButtonContext();
|
|
146
|
+
const { placeholder } = useClassNames();
|
|
147
|
+
return /* @__PURE__ */ jsx(
|
|
148
|
+
Primitive.div,
|
|
149
|
+
{
|
|
150
|
+
className: clsx(placeholder, className),
|
|
151
|
+
ref,
|
|
152
|
+
"aria-hidden": true,
|
|
153
|
+
...stateProps,
|
|
154
|
+
...props
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
);
|
|
96
159
|
FieldButtonPlaceholder.displayName = "FieldButtonPlaceholder";
|
|
97
|
-
|
|
160
|
+
|
|
98
161
|
export { FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue };
|
|
@@ -1,30 +1,26 @@
|
|
|
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
|
-
get: function() {
|
|
28
|
-
return FieldButton_namespace_exports;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const FieldButton = require('./FieldButton.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Button = FieldButton.FieldButtonButton;
|
|
10
|
+
exports.ClearButton = FieldButton.FieldButtonClearButton;
|
|
11
|
+
exports.Control = FieldButton.FieldButtonControl;
|
|
12
|
+
exports.Description = FieldButton.FieldButtonDescription;
|
|
13
|
+
exports.ErrorMessage = FieldButton.FieldButtonErrorMessage;
|
|
14
|
+
exports.Footer = FieldButton.FieldButtonFooter;
|
|
15
|
+
exports.Header = FieldButton.FieldButtonHeader;
|
|
16
|
+
exports.HiddenInput = FieldButton.FieldButtonHiddenInput;
|
|
17
|
+
exports.IndicatorText = FieldButton.FieldButtonIndicatorText;
|
|
18
|
+
exports.Label = FieldButton.FieldButtonLabel;
|
|
19
|
+
exports.Placeholder = FieldButton.FieldButtonPlaceholder;
|
|
20
|
+
exports.PrefixIcon = FieldButton.FieldButtonPrefixIcon;
|
|
21
|
+
exports.PrefixText = FieldButton.FieldButtonPrefixText;
|
|
22
|
+
exports.RequiredIndicator = FieldButton.FieldButtonRequiredIndicator;
|
|
23
|
+
exports.Root = FieldButton.FieldButtonRoot;
|
|
24
|
+
exports.SuffixIcon = FieldButton.FieldButtonSuffixIcon;
|
|
25
|
+
exports.SuffixText = FieldButton.FieldButtonSuffixText;
|
|
26
|
+
exports.Value = FieldButton.FieldButtonValue;
|
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FieldButtonButton, FieldButtonClearButton, FieldButtonControl, FieldButtonDescription, FieldButtonErrorMessage, FieldButtonFooter, FieldButtonHeader, FieldButtonHiddenInput, FieldButtonIndicatorText, FieldButtonLabel, FieldButtonPlaceholder, FieldButtonPrefixIcon, FieldButtonPrefixText, FieldButtonRequiredIndicator, FieldButtonRoot, FieldButtonSuffixIcon, FieldButtonSuffixText, FieldButtonValue } from "./FieldButton.js";
|
|
3
|
-
//#region src/components/FieldButton/FieldButton.namespace.ts
|
|
4
|
-
var FieldButton_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
Button: () => FieldButtonButton,
|
|
6
|
-
ClearButton: () => FieldButtonClearButton,
|
|
7
|
-
Control: () => FieldButtonControl,
|
|
8
|
-
Description: () => FieldButtonDescription,
|
|
9
|
-
ErrorMessage: () => FieldButtonErrorMessage,
|
|
10
|
-
Footer: () => FieldButtonFooter,
|
|
11
|
-
Header: () => FieldButtonHeader,
|
|
12
|
-
HiddenInput: () => FieldButtonHiddenInput,
|
|
13
|
-
IndicatorText: () => FieldButtonIndicatorText,
|
|
14
|
-
Label: () => FieldButtonLabel,
|
|
15
|
-
Placeholder: () => FieldButtonPlaceholder,
|
|
16
|
-
PrefixIcon: () => FieldButtonPrefixIcon,
|
|
17
|
-
PrefixText: () => FieldButtonPrefixText,
|
|
18
|
-
RequiredIndicator: () => FieldButtonRequiredIndicator,
|
|
19
|
-
Root: () => FieldButtonRoot,
|
|
20
|
-
SuffixIcon: () => FieldButtonSuffixIcon,
|
|
21
|
-
SuffixText: () => FieldButtonSuffixText,
|
|
22
|
-
Value: () => FieldButtonValue
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
export { FieldButton_namespace_exports };
|
|
1
|
+
export { FieldButtonButton as Button, FieldButtonClearButton as ClearButton, FieldButtonControl as Control, FieldButtonDescription as Description, FieldButtonErrorMessage as ErrorMessage, FieldButtonFooter as Footer, FieldButtonHeader as Header, FieldButtonHiddenInput as HiddenInput, FieldButtonIndicatorText as IndicatorText, FieldButtonLabel as Label, FieldButtonPlaceholder as Placeholder, FieldButtonPrefixIcon as PrefixIcon, FieldButtonPrefixText as PrefixText, FieldButtonRequiredIndicator as RequiredIndicator, FieldButtonRoot as Root, FieldButtonSuffixIcon as SuffixIcon, FieldButtonSuffixText as SuffixText, FieldButtonValue as Value } from './FieldButton.js';
|