@flipova/foundation 2.3.0 → 2.4.0-beta.1
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/README.md +157 -156
- package/components/ui/accordion/ANIMATION_CUSTOMIZATION.md +16 -7
- package/components/ui/accordion/AccordionAnimatedHeight.tsx +3 -15
- package/components/ui/accordion/AccordionAnimatedIcon.tsx +2 -9
- package/components/ui/accordion/AnimatedHeight.tsx +3 -15
- package/components/ui/accordion/AnimatedIcon.tsx +2 -9
- package/components/ui/accordion/MIGRATION_SUMMARY.md +22 -11
- package/components/ui/accordion/USAGE_EXAMPLE.tsx +10 -25
- package/components/ui/accordion/index.tsx +71 -139
- package/components/ui/actionsheet/index.tsx +63 -105
- package/components/ui/alert/index.tsx +20 -50
- package/components/ui/alert-dialog/index.tsx +23 -48
- package/components/ui/avatar/index.tsx +32 -68
- package/components/ui/badge/index.tsx +18 -49
- package/components/ui/bottomsheet/index.tsx +20 -52
- package/components/ui/box/index.tsx +4 -9
- package/components/ui/box/index.web.tsx +3 -9
- package/components/ui/button/index.tsx +73 -109
- package/components/ui/calendar/creator.tsx +69 -30
- package/components/ui/calendar/index.tsx +81 -159
- package/components/ui/calendar/styles.tsx +10 -10
- package/components/ui/card/index.tsx +8 -9
- package/components/ui/card/index.web.tsx +4 -10
- package/components/ui/center/index.tsx +6 -11
- package/components/ui/center/index.web.tsx +3 -9
- package/components/ui/checkbox/index.tsx +46 -107
- package/components/ui/date-time-picker/creator.tsx +14 -1
- package/components/ui/date-time-picker/index.tsx +107 -156
- package/components/ui/date-time-picker/index.web.tsx +11 -33
- package/components/ui/date-time-picker/styles.tsx +5 -5
- package/components/ui/divider/index.tsx +5 -6
- package/components/ui/drawer/index.tsx +108 -128
- package/components/ui/fab/index.tsx +25 -68
- package/components/ui/flat-list/index.tsx +11 -8
- package/components/ui/form-control/index.tsx +49 -90
- package/components/ui/gluestack-ui-provider/index.tsx +4 -18
- package/components/ui/gluestack-ui-provider/index.web.tsx +10 -11
- package/components/ui/gluestack-ui-provider/script.ts +1 -3
- package/components/ui/gluestack-ui-provider/theme-context.ts +2 -2
- package/components/ui/gluestack-ui-provider/useGluestackColors.ts +2 -6
- package/components/ui/grid/index.tsx +128 -165
- package/components/ui/grid/index.web.tsx +17 -19
- package/components/ui/grid/styles.tsx +1 -3
- package/components/ui/heading/index.tsx +146 -169
- package/components/ui/heading/index.web.tsx +7 -28
- package/components/ui/heading/styles.tsx +5 -5
- package/components/ui/hstack/index.tsx +16 -15
- package/components/ui/hstack/index.web.tsx +17 -17
- package/components/ui/hstack/styles.tsx +5 -5
- package/components/ui/icon/index.tsx +95 -486
- package/components/ui/icon/index.web.tsx +79 -439
- package/components/ui/image/index.tsx +13 -18
- package/components/ui/image-viewer/index.tsx +149 -221
- package/components/ui/image-viewer/index.web.tsx +88 -113
- package/components/ui/input/index.tsx +20 -33
- package/components/ui/link/index.tsx +16 -22
- package/components/ui/liquid-glass/index.tsx +19 -25
- package/components/ui/menu/index.tsx +44 -66
- package/components/ui/modal/index.tsx +70 -91
- package/components/ui/popover/index.tsx +102 -121
- package/components/ui/portal/index.tsx +5 -6
- package/components/ui/pressable/index.tsx +5 -9
- package/components/ui/progress/index.tsx +4 -11
- package/components/ui/radio/index.tsx +47 -83
- package/components/ui/select/index.tsx +38 -59
- package/components/ui/select/select-actionsheet.tsx +61 -108
- package/components/ui/skeleton/index.tsx +22 -43
- package/components/ui/skeleton/index.web.tsx +63 -75
- package/components/ui/slider/index.tsx +36 -56
- package/components/ui/spinner/index.tsx +1 -10
- package/components/ui/switch/index.tsx +6 -13
- package/components/ui/table/index.tsx +39 -102
- package/components/ui/table/index.web.tsx +41 -79
- package/components/ui/tabs/TabsAnimatedIndicator.tsx +10 -38
- package/components/ui/tabs/creator.tsx +32 -24
- package/components/ui/tabs/index.tsx +253 -309
- package/components/ui/text/index.tsx +23 -37
- package/components/ui/text/index.web.tsx +33 -35
- package/components/ui/text/styles.tsx +5 -5
- package/components/ui/textarea/index.tsx +24 -38
- package/components/ui/toast/index.tsx +47 -52
- package/components/ui/tooltip/index.tsx +12 -28
- package/components/ui/vstack/index.tsx +17 -17
- package/components/ui/vstack/index.web.tsx +17 -17
- package/components/ui/vstack/styles.tsx +5 -5
- package/design/tools/design.js +15 -12
- package/design/tools/npm.js +4 -3
- package/dist/{chunk-B277QSR5.mjs → chunk-2R66P5X5.mjs} +1816 -3124
- package/dist/chunk-2R66P5X5.mjs.map +1 -0
- package/dist/{chunk-GD37RFBR.js → chunk-LCTFQJZM.js} +1816 -3124
- package/dist/chunk-LCTFQJZM.js.map +1 -0
- package/dist/index.js +294 -294
- package/dist/index.mjs +1 -1
- package/dist/ui/index.js +294 -294
- package/dist/ui/index.mjs +1 -1
- package/package.json +12 -7
- package/dist/chunk-B277QSR5.mjs.map +0 -1
- package/dist/chunk-GD37RFBR.js.map +0 -1
|
@@ -17,178 +17,157 @@ cssInterop(H5, { className: 'style' });
|
|
|
17
17
|
cssInterop(H6, { className: 'style' });
|
|
18
18
|
|
|
19
19
|
const MappedHeading = memo(
|
|
20
|
-
forwardRef<React.ComponentRef<typeof H1>, IHeadingProps>(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
underline: underline as boolean,
|
|
162
|
-
strikeThrough: strikeThrough as boolean,
|
|
163
|
-
sub: sub as boolean,
|
|
164
|
-
italic: italic as boolean,
|
|
165
|
-
highlight: highlight as boolean,
|
|
166
|
-
class: className,
|
|
167
|
-
})}
|
|
168
|
-
{...props}
|
|
169
|
-
// @ts-expect-error : type issue
|
|
170
|
-
ref={ref}
|
|
171
|
-
/>
|
|
172
|
-
);
|
|
173
|
-
}
|
|
20
|
+
forwardRef<React.ComponentRef<typeof H1>, IHeadingProps>(function MappedHeading(
|
|
21
|
+
{ size, className, isTruncated, bold, underline, strikeThrough, sub, italic, highlight, ...props },
|
|
22
|
+
ref,
|
|
23
|
+
) {
|
|
24
|
+
switch (size) {
|
|
25
|
+
case '5xl':
|
|
26
|
+
case '4xl':
|
|
27
|
+
case '3xl':
|
|
28
|
+
return (
|
|
29
|
+
<H1
|
|
30
|
+
className={headingStyle({
|
|
31
|
+
size,
|
|
32
|
+
isTruncated: isTruncated as boolean,
|
|
33
|
+
bold: bold as boolean,
|
|
34
|
+
underline: underline as boolean,
|
|
35
|
+
strikeThrough: strikeThrough as boolean,
|
|
36
|
+
sub: sub as boolean,
|
|
37
|
+
italic: italic as boolean,
|
|
38
|
+
highlight: highlight as boolean,
|
|
39
|
+
class: className,
|
|
40
|
+
})}
|
|
41
|
+
{...props}
|
|
42
|
+
// @ts-expect-error : type issue
|
|
43
|
+
ref={ref}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
46
|
+
case '2xl':
|
|
47
|
+
return (
|
|
48
|
+
<H2
|
|
49
|
+
className={headingStyle({
|
|
50
|
+
size,
|
|
51
|
+
isTruncated: isTruncated as boolean,
|
|
52
|
+
bold: bold as boolean,
|
|
53
|
+
underline: underline as boolean,
|
|
54
|
+
strikeThrough: strikeThrough as boolean,
|
|
55
|
+
sub: sub as boolean,
|
|
56
|
+
italic: italic as boolean,
|
|
57
|
+
highlight: highlight as boolean,
|
|
58
|
+
class: className,
|
|
59
|
+
})}
|
|
60
|
+
{...props}
|
|
61
|
+
// @ts-expect-error : type issue
|
|
62
|
+
ref={ref}
|
|
63
|
+
/>
|
|
64
|
+
);
|
|
65
|
+
case 'xl':
|
|
66
|
+
return (
|
|
67
|
+
<H3
|
|
68
|
+
className={headingStyle({
|
|
69
|
+
size,
|
|
70
|
+
isTruncated: isTruncated as boolean,
|
|
71
|
+
bold: bold as boolean,
|
|
72
|
+
underline: underline as boolean,
|
|
73
|
+
strikeThrough: strikeThrough as boolean,
|
|
74
|
+
sub: sub as boolean,
|
|
75
|
+
italic: italic as boolean,
|
|
76
|
+
highlight: highlight as boolean,
|
|
77
|
+
class: className,
|
|
78
|
+
})}
|
|
79
|
+
{...props}
|
|
80
|
+
// @ts-expect-error : type issue
|
|
81
|
+
ref={ref}
|
|
82
|
+
/>
|
|
83
|
+
);
|
|
84
|
+
case 'lg':
|
|
85
|
+
return (
|
|
86
|
+
<H4
|
|
87
|
+
className={headingStyle({
|
|
88
|
+
size,
|
|
89
|
+
isTruncated: isTruncated as boolean,
|
|
90
|
+
bold: bold as boolean,
|
|
91
|
+
underline: underline as boolean,
|
|
92
|
+
strikeThrough: strikeThrough as boolean,
|
|
93
|
+
sub: sub as boolean,
|
|
94
|
+
italic: italic as boolean,
|
|
95
|
+
highlight: highlight as boolean,
|
|
96
|
+
class: className,
|
|
97
|
+
})}
|
|
98
|
+
{...props}
|
|
99
|
+
// @ts-expect-error : type issue
|
|
100
|
+
ref={ref}
|
|
101
|
+
/>
|
|
102
|
+
);
|
|
103
|
+
case 'md':
|
|
104
|
+
return (
|
|
105
|
+
<H5
|
|
106
|
+
className={headingStyle({
|
|
107
|
+
size,
|
|
108
|
+
isTruncated: isTruncated as boolean,
|
|
109
|
+
bold: bold as boolean,
|
|
110
|
+
underline: underline as boolean,
|
|
111
|
+
strikeThrough: strikeThrough as boolean,
|
|
112
|
+
sub: sub as boolean,
|
|
113
|
+
italic: italic as boolean,
|
|
114
|
+
highlight: highlight as boolean,
|
|
115
|
+
class: className,
|
|
116
|
+
})}
|
|
117
|
+
{...props}
|
|
118
|
+
// @ts-expect-error : type issue
|
|
119
|
+
ref={ref}
|
|
120
|
+
/>
|
|
121
|
+
);
|
|
122
|
+
case 'sm':
|
|
123
|
+
case 'xs':
|
|
124
|
+
return (
|
|
125
|
+
<H6
|
|
126
|
+
className={headingStyle({
|
|
127
|
+
size,
|
|
128
|
+
isTruncated: isTruncated as boolean,
|
|
129
|
+
bold: bold as boolean,
|
|
130
|
+
underline: underline as boolean,
|
|
131
|
+
strikeThrough: strikeThrough as boolean,
|
|
132
|
+
sub: sub as boolean,
|
|
133
|
+
italic: italic as boolean,
|
|
134
|
+
highlight: highlight as boolean,
|
|
135
|
+
class: className,
|
|
136
|
+
})}
|
|
137
|
+
{...props}
|
|
138
|
+
// @ts-expect-error : type issue
|
|
139
|
+
ref={ref}
|
|
140
|
+
/>
|
|
141
|
+
);
|
|
142
|
+
default:
|
|
143
|
+
return (
|
|
144
|
+
<H4
|
|
145
|
+
className={headingStyle({
|
|
146
|
+
size,
|
|
147
|
+
isTruncated: isTruncated as boolean,
|
|
148
|
+
bold: bold as boolean,
|
|
149
|
+
underline: underline as boolean,
|
|
150
|
+
strikeThrough: strikeThrough as boolean,
|
|
151
|
+
sub: sub as boolean,
|
|
152
|
+
italic: italic as boolean,
|
|
153
|
+
highlight: highlight as boolean,
|
|
154
|
+
class: className,
|
|
155
|
+
})}
|
|
156
|
+
{...props}
|
|
157
|
+
// @ts-expect-error : type issue
|
|
158
|
+
ref={ref}
|
|
159
|
+
/>
|
|
160
|
+
);
|
|
174
161
|
}
|
|
175
|
-
)
|
|
162
|
+
}),
|
|
176
163
|
);
|
|
177
164
|
|
|
178
165
|
const Heading = memo(
|
|
179
166
|
forwardRef<React.ComponentRef<typeof H1>, IHeadingProps>(function Heading(
|
|
180
167
|
{ className, size = 'lg', as: AsComp, ...props },
|
|
181
|
-
ref
|
|
168
|
+
ref,
|
|
182
169
|
) {
|
|
183
|
-
const {
|
|
184
|
-
isTruncated,
|
|
185
|
-
bold,
|
|
186
|
-
underline,
|
|
187
|
-
strikeThrough,
|
|
188
|
-
sub,
|
|
189
|
-
italic,
|
|
190
|
-
highlight,
|
|
191
|
-
} = props;
|
|
170
|
+
const { isTruncated, bold, underline, strikeThrough, sub, italic, highlight } = props;
|
|
192
171
|
|
|
193
172
|
if (AsComp) {
|
|
194
173
|
return (
|
|
@@ -209,10 +188,8 @@ const Heading = memo(
|
|
|
209
188
|
);
|
|
210
189
|
}
|
|
211
190
|
|
|
212
|
-
return
|
|
213
|
-
|
|
214
|
-
);
|
|
215
|
-
})
|
|
191
|
+
return <MappedHeading className={className} size={size} ref={ref} {...props} />;
|
|
192
|
+
}),
|
|
216
193
|
);
|
|
217
194
|
|
|
218
195
|
Heading.displayName = 'Heading';
|
|
@@ -8,19 +8,8 @@ type IHeadingProps = VariantProps<typeof headingStyle> &
|
|
|
8
8
|
|
|
9
9
|
const MappedHeading = memo(
|
|
10
10
|
forwardRef<HTMLHeadingElement, IHeadingProps>(function MappedHeading(
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
className,
|
|
14
|
-
isTruncated,
|
|
15
|
-
bold,
|
|
16
|
-
underline,
|
|
17
|
-
strikeThrough,
|
|
18
|
-
sub,
|
|
19
|
-
italic,
|
|
20
|
-
highlight,
|
|
21
|
-
...props
|
|
22
|
-
},
|
|
23
|
-
ref
|
|
11
|
+
{ size, className, isTruncated, bold, underline, strikeThrough, sub, italic, highlight, ...props },
|
|
12
|
+
ref,
|
|
24
13
|
) {
|
|
25
14
|
switch (size) {
|
|
26
15
|
case '5xl':
|
|
@@ -153,23 +142,15 @@ const MappedHeading = memo(
|
|
|
153
142
|
/>
|
|
154
143
|
);
|
|
155
144
|
}
|
|
156
|
-
})
|
|
145
|
+
}),
|
|
157
146
|
);
|
|
158
147
|
|
|
159
148
|
const Heading = memo(
|
|
160
149
|
forwardRef<HTMLHeadingElement, IHeadingProps>(function Heading(
|
|
161
150
|
{ className, size = 'lg', as: AsComp, ...props },
|
|
162
|
-
ref
|
|
151
|
+
ref,
|
|
163
152
|
) {
|
|
164
|
-
const {
|
|
165
|
-
isTruncated,
|
|
166
|
-
bold,
|
|
167
|
-
underline,
|
|
168
|
-
strikeThrough,
|
|
169
|
-
sub,
|
|
170
|
-
italic,
|
|
171
|
-
highlight,
|
|
172
|
-
} = props;
|
|
153
|
+
const { isTruncated, bold, underline, strikeThrough, sub, italic, highlight } = props;
|
|
173
154
|
|
|
174
155
|
if (AsComp) {
|
|
175
156
|
return (
|
|
@@ -191,10 +172,8 @@ const Heading = memo(
|
|
|
191
172
|
);
|
|
192
173
|
}
|
|
193
174
|
|
|
194
|
-
return
|
|
195
|
-
|
|
196
|
-
);
|
|
197
|
-
})
|
|
175
|
+
return <MappedHeading className={className} size={size} ref={ref} {...props} />;
|
|
176
|
+
}),
|
|
198
177
|
);
|
|
199
178
|
|
|
200
179
|
Heading.displayName = 'Heading';
|
|
@@ -33,11 +33,11 @@ export const headingStyle = tva({
|
|
|
33
33
|
'4xl': 'text-5xl',
|
|
34
34
|
'3xl': 'text-4xl',
|
|
35
35
|
'2xl': 'text-3xl',
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
xl: 'text-2xl',
|
|
37
|
+
lg: 'text-xl',
|
|
38
|
+
md: 'text-lg',
|
|
39
|
+
sm: 'text-base',
|
|
40
|
+
xs: 'text-sm',
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
});
|
|
@@ -6,21 +6,22 @@ import { hstackStyle } from './styles';
|
|
|
6
6
|
|
|
7
7
|
type IHStackProps = ViewProps & VariantProps<typeof hstackStyle>;
|
|
8
8
|
|
|
9
|
-
const HStack = React.forwardRef<React.ComponentRef<typeof View>, IHStackProps>(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
);
|
|
9
|
+
const HStack = React.forwardRef<React.ComponentRef<typeof View>, IHStackProps>(function HStack(
|
|
10
|
+
{ className, space, reversed, ...props },
|
|
11
|
+
ref,
|
|
12
|
+
) {
|
|
13
|
+
return (
|
|
14
|
+
<View
|
|
15
|
+
className={hstackStyle({
|
|
16
|
+
space,
|
|
17
|
+
reversed: reversed as boolean,
|
|
18
|
+
class: className,
|
|
19
|
+
})}
|
|
20
|
+
{...props}
|
|
21
|
+
ref={ref}
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
24
|
+
});
|
|
24
25
|
|
|
25
26
|
HStack.displayName = 'HStack';
|
|
26
27
|
|
|
@@ -2,24 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';
|
|
3
3
|
import { hstackStyle } from './styles';
|
|
4
4
|
|
|
5
|
-
type IHStackProps = React.ComponentPropsWithoutRef<'div'> &
|
|
6
|
-
VariantProps<typeof hstackStyle>;
|
|
5
|
+
type IHStackProps = React.ComponentPropsWithoutRef<'div'> & VariantProps<typeof hstackStyle>;
|
|
7
6
|
|
|
8
|
-
const HStack = React.forwardRef<React.ComponentRef<'div'>, IHStackProps>(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
);
|
|
7
|
+
const HStack = React.forwardRef<React.ComponentRef<'div'>, IHStackProps>(function HStack(
|
|
8
|
+
{ className, space, reversed, ...props },
|
|
9
|
+
ref,
|
|
10
|
+
) {
|
|
11
|
+
return (
|
|
12
|
+
<div
|
|
13
|
+
className={hstackStyle({
|
|
14
|
+
space,
|
|
15
|
+
reversed: reversed as boolean,
|
|
16
|
+
class: className,
|
|
17
|
+
})}
|
|
18
|
+
{...props}
|
|
19
|
+
ref={ref}
|
|
20
|
+
/>
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
23
|
|
|
24
24
|
HStack.displayName = 'HStack';
|
|
25
25
|
|
|
@@ -9,11 +9,11 @@ export const hstackStyle = tva({
|
|
|
9
9
|
base: `flex-row ${baseStyle}`,
|
|
10
10
|
variants: {
|
|
11
11
|
space: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
xs: 'gap-1',
|
|
13
|
+
sm: 'gap-2',
|
|
14
|
+
md: 'gap-3',
|
|
15
|
+
lg: 'gap-4',
|
|
16
|
+
xl: 'gap-5',
|
|
17
17
|
'2xl': 'gap-6',
|
|
18
18
|
'3xl': 'gap-7',
|
|
19
19
|
'4xl': 'gap-8',
|