@metamask-previews/design-system-shared 0.6.0-preview.69c659c → 0.6.0-preview.b4e6ece
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/dist/index.cjs +7 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/AvatarBase/AvatarBase.types.cjs +44 -0
- package/dist/types/AvatarBase/AvatarBase.types.cjs.map +1 -0
- package/dist/types/AvatarBase/AvatarBase.types.d.cts +78 -0
- package/dist/types/AvatarBase/AvatarBase.types.d.cts.map +1 -0
- package/dist/types/AvatarBase/AvatarBase.types.d.mts +78 -0
- package/dist/types/AvatarBase/AvatarBase.types.d.mts.map +1 -0
- package/dist/types/AvatarBase/AvatarBase.types.mjs +41 -0
- package/dist/types/AvatarBase/AvatarBase.types.mjs.map +1 -0
- package/dist/types/AvatarBase/index.cjs +7 -0
- package/dist/types/AvatarBase/index.cjs.map +1 -0
- package/dist/types/AvatarBase/index.d.cts +2 -0
- package/dist/types/AvatarBase/index.d.cts.map +1 -0
- package/dist/types/AvatarBase/index.d.mts +2 -0
- package/dist/types/AvatarBase/index.d.mts.map +1 -0
- package/dist/types/AvatarBase/index.mjs +2 -0
- package/dist/types/AvatarBase/index.mjs.map +1 -0
- package/dist/utils/isReactNodeRenderable.cjs +20 -0
- package/dist/utils/isReactNodeRenderable.cjs.map +1 -0
- package/dist/utils/isReactNodeRenderable.d.cts +15 -0
- package/dist/utils/isReactNodeRenderable.d.cts.map +1 -0
- package/dist/utils/isReactNodeRenderable.d.mts +15 -0
- package/dist/utils/isReactNodeRenderable.d.mts.map +1 -0
- package/dist/utils/isReactNodeRenderable.mjs +16 -0
- package/dist/utils/isReactNodeRenderable.mjs.map +1 -0
- package/package.json +7 -2
- package/dist/types/Box/Box.types.cjs +0 -176
- package/dist/types/Box/Box.types.cjs.map +0 -1
- package/dist/types/Box/Box.types.d.cts +0 -297
- package/dist/types/Box/Box.types.d.cts.map +0 -1
- package/dist/types/Box/Box.types.d.mts +0 -297
- package/dist/types/Box/Box.types.d.mts.map +0 -1
- package/dist/types/Box/Box.types.mjs +0 -173
- package/dist/types/Box/Box.types.mjs.map +0 -1
- package/dist/types/Box/index.cjs +0 -11
- package/dist/types/Box/index.cjs.map +0 -1
- package/dist/types/Box/index.d.cts +0 -2
- package/dist/types/Box/index.d.cts.map +0 -1
- package/dist/types/Box/index.d.mts +0 -2
- package/dist/types/Box/index.d.mts.map +0 -1
- package/dist/types/Box/index.mjs +0 -2
- package/dist/types/Box/index.mjs.map +0 -1
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Box - all spacing-related props
|
|
3
|
-
*/
|
|
4
|
-
export type BoxSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
5
|
-
/**
|
|
6
|
-
* Box - border width values (only valid Tailwind CSS border width utilities)
|
|
7
|
-
*/
|
|
8
|
-
export type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;
|
|
9
|
-
/**
|
|
10
|
-
* Box - flexDirection
|
|
11
|
-
* Convert from enum to const object (ADR-0003)
|
|
12
|
-
*/
|
|
13
|
-
export declare const BoxFlexDirection: {
|
|
14
|
-
readonly Row: "flex-row";
|
|
15
|
-
readonly RowReverse: "flex-row-reverse";
|
|
16
|
-
readonly Column: "flex-col";
|
|
17
|
-
readonly ColumnReverse: "flex-col-reverse";
|
|
18
|
-
};
|
|
19
|
-
export type BoxFlexDirection = (typeof BoxFlexDirection)[keyof typeof BoxFlexDirection];
|
|
20
|
-
/**
|
|
21
|
-
* Box - flexWrap
|
|
22
|
-
* Convert from enum to const object (ADR-0003)
|
|
23
|
-
*/
|
|
24
|
-
export declare const BoxFlexWrap: {
|
|
25
|
-
readonly NoWrap: "flex-nowrap";
|
|
26
|
-
readonly Wrap: "flex-wrap";
|
|
27
|
-
readonly WrapReverse: "flex-wrap-reverse";
|
|
28
|
-
};
|
|
29
|
-
export type BoxFlexWrap = (typeof BoxFlexWrap)[keyof typeof BoxFlexWrap];
|
|
30
|
-
/**
|
|
31
|
-
* Box - alignItems
|
|
32
|
-
* Convert from enum to const object (ADR-0003)
|
|
33
|
-
*/
|
|
34
|
-
export declare const BoxAlignItems: {
|
|
35
|
-
readonly Start: "items-start";
|
|
36
|
-
readonly Center: "items-center";
|
|
37
|
-
readonly End: "items-end";
|
|
38
|
-
readonly Stretch: "items-stretch";
|
|
39
|
-
readonly Baseline: "items-baseline";
|
|
40
|
-
};
|
|
41
|
-
export type BoxAlignItems = (typeof BoxAlignItems)[keyof typeof BoxAlignItems];
|
|
42
|
-
/**
|
|
43
|
-
* Box - justifyContent
|
|
44
|
-
* Convert from enum to const object (ADR-0003)
|
|
45
|
-
*/
|
|
46
|
-
export declare const BoxJustifyContent: {
|
|
47
|
-
readonly Start: "justify-start";
|
|
48
|
-
readonly Center: "justify-center";
|
|
49
|
-
readonly End: "justify-end";
|
|
50
|
-
readonly Between: "justify-between";
|
|
51
|
-
readonly Around: "justify-around";
|
|
52
|
-
readonly Evenly: "justify-evenly";
|
|
53
|
-
};
|
|
54
|
-
export type BoxJustifyContent = (typeof BoxJustifyContent)[keyof typeof BoxJustifyContent];
|
|
55
|
-
/**
|
|
56
|
-
* Box - backgroundColor
|
|
57
|
-
* Convert from enum to const object (ADR-0003)
|
|
58
|
-
*/
|
|
59
|
-
export declare const BoxBackgroundColor: {
|
|
60
|
-
/** Default background color */
|
|
61
|
-
readonly BackgroundDefault: "bg-default";
|
|
62
|
-
/** Alternative background color */
|
|
63
|
-
readonly BackgroundAlternative: "bg-alternative";
|
|
64
|
-
/** Section background color */
|
|
65
|
-
readonly BackgroundSection: "bg-section";
|
|
66
|
-
/** Subsection background color */
|
|
67
|
-
readonly BackgroundSubsection: "bg-subsection";
|
|
68
|
-
/** Muted background color */
|
|
69
|
-
readonly BackgroundMuted: "bg-muted";
|
|
70
|
-
/** Primary default background color */
|
|
71
|
-
readonly PrimaryDefault: "bg-primary-default";
|
|
72
|
-
/** Primary alternative background color */
|
|
73
|
-
readonly PrimaryAlternative: "bg-primary-alternative";
|
|
74
|
-
/** Primary muted background color */
|
|
75
|
-
readonly PrimaryMuted: "bg-primary-muted";
|
|
76
|
-
/** Primary inverse background color */
|
|
77
|
-
readonly PrimaryInverse: "bg-primary-inverse";
|
|
78
|
-
/** Error default background color */
|
|
79
|
-
readonly ErrorDefault: "bg-error-default";
|
|
80
|
-
/** Error alternative background color */
|
|
81
|
-
readonly ErrorAlternative: "bg-error-alternative";
|
|
82
|
-
/** Error muted background color */
|
|
83
|
-
readonly ErrorMuted: "bg-error-muted";
|
|
84
|
-
/** Error inverse background color */
|
|
85
|
-
readonly ErrorInverse: "bg-error-inverse";
|
|
86
|
-
/** Warning default background color */
|
|
87
|
-
readonly WarningDefault: "bg-warning-default";
|
|
88
|
-
/** Warning alternative background color */
|
|
89
|
-
readonly WarningAlternative: "bg-warning-alternative";
|
|
90
|
-
/** Warning muted background color */
|
|
91
|
-
readonly WarningMuted: "bg-warning-muted";
|
|
92
|
-
/** Warning inverse background color */
|
|
93
|
-
readonly WarningInverse: "bg-warning-inverse";
|
|
94
|
-
/** Success default background color */
|
|
95
|
-
readonly SuccessDefault: "bg-success-default";
|
|
96
|
-
/** Success alternative background color */
|
|
97
|
-
readonly SuccessAlternative: "bg-success-alternative";
|
|
98
|
-
/** Success muted background color */
|
|
99
|
-
readonly SuccessMuted: "bg-success-muted";
|
|
100
|
-
/** Success inverse background color */
|
|
101
|
-
readonly SuccessInverse: "bg-success-inverse";
|
|
102
|
-
/** Info default background color */
|
|
103
|
-
readonly InfoDefault: "bg-info-default";
|
|
104
|
-
/** Info muted background color */
|
|
105
|
-
readonly InfoMuted: "bg-info-muted";
|
|
106
|
-
/** Info inverse background color */
|
|
107
|
-
readonly InfoInverse: "bg-info-inverse";
|
|
108
|
-
/** Flask default background color */
|
|
109
|
-
readonly FlaskDefault: "bg-flask-default";
|
|
110
|
-
/** Flask inverse background color */
|
|
111
|
-
readonly FlaskInverse: "bg-flask-inverse";
|
|
112
|
-
/** Overlay alternative background color */
|
|
113
|
-
readonly OverlayAlternative: "bg-overlay-alternative";
|
|
114
|
-
/** Overlay default background color */
|
|
115
|
-
readonly OverlayDefault: "bg-overlay-default";
|
|
116
|
-
/** Overlay inverse background color */
|
|
117
|
-
readonly OverlayInverse: "bg-overlay-inverse";
|
|
118
|
-
/** Transparent background color */
|
|
119
|
-
readonly Transparent: "bg-transparent";
|
|
120
|
-
};
|
|
121
|
-
export type BoxBackgroundColor = (typeof BoxBackgroundColor)[keyof typeof BoxBackgroundColor];
|
|
122
|
-
/**
|
|
123
|
-
* Box - borderColor
|
|
124
|
-
* Convert from enum to const object (ADR-0003)
|
|
125
|
-
*/
|
|
126
|
-
export declare const BoxBorderColor: {
|
|
127
|
-
/** Background default for cut out effect */
|
|
128
|
-
readonly BackgroundDefault: "border-background-default";
|
|
129
|
-
/** Default border color */
|
|
130
|
-
readonly BorderDefault: "border-default";
|
|
131
|
-
/** Muted border color */
|
|
132
|
-
readonly BorderMuted: "border-muted";
|
|
133
|
-
/** Primary default border color */
|
|
134
|
-
readonly PrimaryDefault: "border-primary-default";
|
|
135
|
-
/** Primary alternative border color */
|
|
136
|
-
readonly PrimaryAlternative: "border-primary-alternative";
|
|
137
|
-
/** Primary muted border color */
|
|
138
|
-
readonly PrimaryMuted: "border-primary-muted";
|
|
139
|
-
/** Primary inverse border color */
|
|
140
|
-
readonly PrimaryInverse: "border-primary-inverse";
|
|
141
|
-
/** Error default border color */
|
|
142
|
-
readonly ErrorDefault: "border-error-default";
|
|
143
|
-
/** Error alternative border color */
|
|
144
|
-
readonly ErrorAlternative: "border-error-alternative";
|
|
145
|
-
/** Error muted border color */
|
|
146
|
-
readonly ErrorMuted: "border-error-muted";
|
|
147
|
-
/** Error inverse border color */
|
|
148
|
-
readonly ErrorInverse: "border-error-inverse";
|
|
149
|
-
/** Warning default border color */
|
|
150
|
-
readonly WarningDefault: "border-warning-default";
|
|
151
|
-
/** Warning alternative border color */
|
|
152
|
-
readonly WarningAlternative: "border-warning-alternative";
|
|
153
|
-
/** Warning muted border color */
|
|
154
|
-
readonly WarningMuted: "border-warning-muted";
|
|
155
|
-
/** Warning inverse border color */
|
|
156
|
-
readonly WarningInverse: "border-warning-inverse";
|
|
157
|
-
/** Success default border color */
|
|
158
|
-
readonly SuccessDefault: "border-success-default";
|
|
159
|
-
/** Success alternative border color */
|
|
160
|
-
readonly SuccessAlternative: "border-success-alternative";
|
|
161
|
-
/** Success muted border color */
|
|
162
|
-
readonly SuccessMuted: "border-success-muted";
|
|
163
|
-
/** Success inverse border color */
|
|
164
|
-
readonly SuccessInverse: "border-success-inverse";
|
|
165
|
-
/** Info default border color */
|
|
166
|
-
readonly InfoDefault: "border-info-default";
|
|
167
|
-
/** Info alternative border color */
|
|
168
|
-
readonly InfoAlternative: "border-info-alternative";
|
|
169
|
-
/** Info muted border color */
|
|
170
|
-
readonly InfoMuted: "border-info-muted";
|
|
171
|
-
/** Info inverse border color */
|
|
172
|
-
readonly InfoInverse: "border-info-inverse";
|
|
173
|
-
/** Flask default border color */
|
|
174
|
-
readonly FlaskDefault: "border-flask-default";
|
|
175
|
-
/** Flask inverse border color */
|
|
176
|
-
readonly FlaskInverse: "border-flask-inverse";
|
|
177
|
-
/** Overlay alternative border color */
|
|
178
|
-
readonly OverlayAlternative: "border-overlay-alternative";
|
|
179
|
-
/** Overlay default border color */
|
|
180
|
-
readonly OverlayDefault: "border-overlay-default";
|
|
181
|
-
/** Overlay inverse border color */
|
|
182
|
-
readonly OverlayInverse: "border-overlay-inverse";
|
|
183
|
-
/** Transparent border color */
|
|
184
|
-
readonly Transparent: "border-transparent";
|
|
185
|
-
};
|
|
186
|
-
export type BoxBorderColor = (typeof BoxBorderColor)[keyof typeof BoxBorderColor];
|
|
187
|
-
/**
|
|
188
|
-
* Box component shared props (ADR-0004)
|
|
189
|
-
* Platform-independent properties shared across React and React Native.
|
|
190
|
-
*/
|
|
191
|
-
export type BoxPropsShared = {
|
|
192
|
-
/**
|
|
193
|
-
* The flex-direction style of the component.
|
|
194
|
-
*/
|
|
195
|
-
flexDirection?: BoxFlexDirection;
|
|
196
|
-
/**
|
|
197
|
-
* The flex-wrap style of the component.
|
|
198
|
-
*/
|
|
199
|
-
flexWrap?: BoxFlexWrap;
|
|
200
|
-
/**
|
|
201
|
-
* The gap between the component's children.
|
|
202
|
-
* Use 0-12 for a gap of 0px-48px.
|
|
203
|
-
*/
|
|
204
|
-
gap?: BoxSpacing;
|
|
205
|
-
/**
|
|
206
|
-
* The align-items style of the component.
|
|
207
|
-
*/
|
|
208
|
-
alignItems?: BoxAlignItems;
|
|
209
|
-
/**
|
|
210
|
-
* The justify-content style of the component.
|
|
211
|
-
*/
|
|
212
|
-
justifyContent?: BoxJustifyContent;
|
|
213
|
-
/**
|
|
214
|
-
* The margin of the component.
|
|
215
|
-
* Use 0-12 for margin of 0px-48px.
|
|
216
|
-
*/
|
|
217
|
-
margin?: BoxSpacing;
|
|
218
|
-
/**
|
|
219
|
-
* The top margin of the component.
|
|
220
|
-
* Use 0-12 for margin of 0px-48px.
|
|
221
|
-
*/
|
|
222
|
-
marginTop?: BoxSpacing;
|
|
223
|
-
/**
|
|
224
|
-
* The right margin of the component.
|
|
225
|
-
* Use 0-12 for margin of 0px-48px.
|
|
226
|
-
*/
|
|
227
|
-
marginRight?: BoxSpacing;
|
|
228
|
-
/**
|
|
229
|
-
* The bottom margin of the component.
|
|
230
|
-
* Use 0-12 for margin of 0px-48px.
|
|
231
|
-
*/
|
|
232
|
-
marginBottom?: BoxSpacing;
|
|
233
|
-
/**
|
|
234
|
-
* The left margin of the component.
|
|
235
|
-
* Use 0-12 for margin of 0px-48px.
|
|
236
|
-
*/
|
|
237
|
-
marginLeft?: BoxSpacing;
|
|
238
|
-
/**
|
|
239
|
-
* The horizontal margin of the component.
|
|
240
|
-
* Use 0-12 for margin of 0px-48px.
|
|
241
|
-
*/
|
|
242
|
-
marginHorizontal?: BoxSpacing;
|
|
243
|
-
/**
|
|
244
|
-
* The vertical margin of the component.
|
|
245
|
-
* Use 0-12 for margin of 0px-48px.
|
|
246
|
-
*/
|
|
247
|
-
marginVertical?: BoxSpacing;
|
|
248
|
-
/**
|
|
249
|
-
* The padding of the component.
|
|
250
|
-
* Use 0-12 for padding of 0px-48px.
|
|
251
|
-
*/
|
|
252
|
-
padding?: BoxSpacing;
|
|
253
|
-
/**
|
|
254
|
-
* The top padding of the component.
|
|
255
|
-
* Use 0-12 for padding of 0px-48px.
|
|
256
|
-
*/
|
|
257
|
-
paddingTop?: BoxSpacing;
|
|
258
|
-
/**
|
|
259
|
-
* The right padding of the component.
|
|
260
|
-
* Use 0-12 for padding of 0px-48px.
|
|
261
|
-
*/
|
|
262
|
-
paddingRight?: BoxSpacing;
|
|
263
|
-
/**
|
|
264
|
-
* The bottom padding of the component.
|
|
265
|
-
* Use 0-12 for padding of 0px-48px.
|
|
266
|
-
*/
|
|
267
|
-
paddingBottom?: BoxSpacing;
|
|
268
|
-
/**
|
|
269
|
-
* The left padding of the component.
|
|
270
|
-
* Use 0-12 for padding of 0px-48px.
|
|
271
|
-
*/
|
|
272
|
-
paddingLeft?: BoxSpacing;
|
|
273
|
-
/**
|
|
274
|
-
* The horizontal padding of the component.
|
|
275
|
-
* Use 0-12 for padding of 0px-48px.
|
|
276
|
-
*/
|
|
277
|
-
paddingHorizontal?: BoxSpacing;
|
|
278
|
-
/**
|
|
279
|
-
* The vertical padding of the component.
|
|
280
|
-
* Use 0-12 for padding of 0px-48px.
|
|
281
|
-
*/
|
|
282
|
-
paddingVertical?: BoxSpacing;
|
|
283
|
-
/**
|
|
284
|
-
* The border width of the component.
|
|
285
|
-
* Use 0, 1, 2, 4, or 8 for border width of 0px, 1px, 2px, 4px, or 8px.
|
|
286
|
-
*/
|
|
287
|
-
borderWidth?: BoxBorderWidth;
|
|
288
|
-
/**
|
|
289
|
-
* The border color of the component.
|
|
290
|
-
*/
|
|
291
|
-
borderColor?: BoxBorderColor;
|
|
292
|
-
/**
|
|
293
|
-
* The background color of the component.
|
|
294
|
-
*/
|
|
295
|
-
backgroundColor?: BoxBackgroundColor;
|
|
296
|
-
};
|
|
297
|
-
//# sourceMappingURL=Box.types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Box.types.d.mts","sourceRoot":"","sources":["../../../src/types/Box/Box.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;CAId,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;CAMhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAC3B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AC,EAAE,kBAAkB,CAAC;CACtC,CAAC"}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Box - flexDirection
|
|
3
|
-
* Convert from enum to const object (ADR-0003)
|
|
4
|
-
*/
|
|
5
|
-
export const BoxFlexDirection = {
|
|
6
|
-
Row: 'flex-row',
|
|
7
|
-
RowReverse: 'flex-row-reverse',
|
|
8
|
-
Column: 'flex-col',
|
|
9
|
-
ColumnReverse: 'flex-col-reverse',
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Box - flexWrap
|
|
13
|
-
* Convert from enum to const object (ADR-0003)
|
|
14
|
-
*/
|
|
15
|
-
export const BoxFlexWrap = {
|
|
16
|
-
NoWrap: 'flex-nowrap',
|
|
17
|
-
Wrap: 'flex-wrap',
|
|
18
|
-
WrapReverse: 'flex-wrap-reverse',
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Box - alignItems
|
|
22
|
-
* Convert from enum to const object (ADR-0003)
|
|
23
|
-
*/
|
|
24
|
-
export const BoxAlignItems = {
|
|
25
|
-
Start: 'items-start',
|
|
26
|
-
Center: 'items-center',
|
|
27
|
-
End: 'items-end',
|
|
28
|
-
Stretch: 'items-stretch',
|
|
29
|
-
Baseline: 'items-baseline',
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Box - justifyContent
|
|
33
|
-
* Convert from enum to const object (ADR-0003)
|
|
34
|
-
*/
|
|
35
|
-
export const BoxJustifyContent = {
|
|
36
|
-
Start: 'justify-start',
|
|
37
|
-
Center: 'justify-center',
|
|
38
|
-
End: 'justify-end',
|
|
39
|
-
Between: 'justify-between',
|
|
40
|
-
Around: 'justify-around',
|
|
41
|
-
Evenly: 'justify-evenly',
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Box - backgroundColor
|
|
45
|
-
* Convert from enum to const object (ADR-0003)
|
|
46
|
-
*/
|
|
47
|
-
export const BoxBackgroundColor = {
|
|
48
|
-
/** Default background color */
|
|
49
|
-
BackgroundDefault: 'bg-default',
|
|
50
|
-
/** Alternative background color */
|
|
51
|
-
BackgroundAlternative: 'bg-alternative',
|
|
52
|
-
/** Section background color */
|
|
53
|
-
BackgroundSection: 'bg-section',
|
|
54
|
-
/** Subsection background color */
|
|
55
|
-
BackgroundSubsection: 'bg-subsection',
|
|
56
|
-
/** Muted background color */
|
|
57
|
-
BackgroundMuted: 'bg-muted',
|
|
58
|
-
/** Primary default background color */
|
|
59
|
-
PrimaryDefault: 'bg-primary-default',
|
|
60
|
-
/** Primary alternative background color */
|
|
61
|
-
PrimaryAlternative: 'bg-primary-alternative',
|
|
62
|
-
/** Primary muted background color */
|
|
63
|
-
PrimaryMuted: 'bg-primary-muted',
|
|
64
|
-
/** Primary inverse background color */
|
|
65
|
-
PrimaryInverse: 'bg-primary-inverse',
|
|
66
|
-
/** Error default background color */
|
|
67
|
-
ErrorDefault: 'bg-error-default',
|
|
68
|
-
/** Error alternative background color */
|
|
69
|
-
ErrorAlternative: 'bg-error-alternative',
|
|
70
|
-
/** Error muted background color */
|
|
71
|
-
ErrorMuted: 'bg-error-muted',
|
|
72
|
-
/** Error inverse background color */
|
|
73
|
-
ErrorInverse: 'bg-error-inverse',
|
|
74
|
-
/** Warning default background color */
|
|
75
|
-
WarningDefault: 'bg-warning-default',
|
|
76
|
-
/** Warning alternative background color */
|
|
77
|
-
WarningAlternative: 'bg-warning-alternative',
|
|
78
|
-
/** Warning muted background color */
|
|
79
|
-
WarningMuted: 'bg-warning-muted',
|
|
80
|
-
/** Warning inverse background color */
|
|
81
|
-
WarningInverse: 'bg-warning-inverse',
|
|
82
|
-
/** Success default background color */
|
|
83
|
-
SuccessDefault: 'bg-success-default',
|
|
84
|
-
/** Success alternative background color */
|
|
85
|
-
SuccessAlternative: 'bg-success-alternative',
|
|
86
|
-
/** Success muted background color */
|
|
87
|
-
SuccessMuted: 'bg-success-muted',
|
|
88
|
-
/** Success inverse background color */
|
|
89
|
-
SuccessInverse: 'bg-success-inverse',
|
|
90
|
-
/** Info default background color */
|
|
91
|
-
InfoDefault: 'bg-info-default',
|
|
92
|
-
/** Info muted background color */
|
|
93
|
-
InfoMuted: 'bg-info-muted',
|
|
94
|
-
/** Info inverse background color */
|
|
95
|
-
InfoInverse: 'bg-info-inverse',
|
|
96
|
-
/** Flask default background color */
|
|
97
|
-
FlaskDefault: 'bg-flask-default',
|
|
98
|
-
/** Flask inverse background color */
|
|
99
|
-
FlaskInverse: 'bg-flask-inverse',
|
|
100
|
-
/** Overlay alternative background color */
|
|
101
|
-
OverlayAlternative: 'bg-overlay-alternative',
|
|
102
|
-
/** Overlay default background color */
|
|
103
|
-
OverlayDefault: 'bg-overlay-default',
|
|
104
|
-
/** Overlay inverse background color */
|
|
105
|
-
OverlayInverse: 'bg-overlay-inverse',
|
|
106
|
-
/** Transparent background color */
|
|
107
|
-
Transparent: 'bg-transparent',
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Box - borderColor
|
|
111
|
-
* Convert from enum to const object (ADR-0003)
|
|
112
|
-
*/
|
|
113
|
-
export const BoxBorderColor = {
|
|
114
|
-
/** Background default for cut out effect */
|
|
115
|
-
BackgroundDefault: 'border-background-default',
|
|
116
|
-
/** Default border color */
|
|
117
|
-
BorderDefault: 'border-default',
|
|
118
|
-
/** Muted border color */
|
|
119
|
-
BorderMuted: 'border-muted',
|
|
120
|
-
/** Primary default border color */
|
|
121
|
-
PrimaryDefault: 'border-primary-default',
|
|
122
|
-
/** Primary alternative border color */
|
|
123
|
-
PrimaryAlternative: 'border-primary-alternative',
|
|
124
|
-
/** Primary muted border color */
|
|
125
|
-
PrimaryMuted: 'border-primary-muted',
|
|
126
|
-
/** Primary inverse border color */
|
|
127
|
-
PrimaryInverse: 'border-primary-inverse',
|
|
128
|
-
/** Error default border color */
|
|
129
|
-
ErrorDefault: 'border-error-default',
|
|
130
|
-
/** Error alternative border color */
|
|
131
|
-
ErrorAlternative: 'border-error-alternative',
|
|
132
|
-
/** Error muted border color */
|
|
133
|
-
ErrorMuted: 'border-error-muted',
|
|
134
|
-
/** Error inverse border color */
|
|
135
|
-
ErrorInverse: 'border-error-inverse',
|
|
136
|
-
/** Warning default border color */
|
|
137
|
-
WarningDefault: 'border-warning-default',
|
|
138
|
-
/** Warning alternative border color */
|
|
139
|
-
WarningAlternative: 'border-warning-alternative',
|
|
140
|
-
/** Warning muted border color */
|
|
141
|
-
WarningMuted: 'border-warning-muted',
|
|
142
|
-
/** Warning inverse border color */
|
|
143
|
-
WarningInverse: 'border-warning-inverse',
|
|
144
|
-
/** Success default border color */
|
|
145
|
-
SuccessDefault: 'border-success-default',
|
|
146
|
-
/** Success alternative border color */
|
|
147
|
-
SuccessAlternative: 'border-success-alternative',
|
|
148
|
-
/** Success muted border color */
|
|
149
|
-
SuccessMuted: 'border-success-muted',
|
|
150
|
-
/** Success inverse border color */
|
|
151
|
-
SuccessInverse: 'border-success-inverse',
|
|
152
|
-
/** Info default border color */
|
|
153
|
-
InfoDefault: 'border-info-default',
|
|
154
|
-
/** Info alternative border color */
|
|
155
|
-
InfoAlternative: 'border-info-alternative',
|
|
156
|
-
/** Info muted border color */
|
|
157
|
-
InfoMuted: 'border-info-muted',
|
|
158
|
-
/** Info inverse border color */
|
|
159
|
-
InfoInverse: 'border-info-inverse',
|
|
160
|
-
/** Flask default border color */
|
|
161
|
-
FlaskDefault: 'border-flask-default',
|
|
162
|
-
/** Flask inverse border color */
|
|
163
|
-
FlaskInverse: 'border-flask-inverse',
|
|
164
|
-
/** Overlay alternative border color */
|
|
165
|
-
OverlayAlternative: 'border-overlay-alternative',
|
|
166
|
-
/** Overlay default border color */
|
|
167
|
-
OverlayDefault: 'border-overlay-default',
|
|
168
|
-
/** Overlay inverse border color */
|
|
169
|
-
OverlayInverse: 'border-overlay-inverse',
|
|
170
|
-
/** Transparent border color */
|
|
171
|
-
Transparent: 'border-transparent',
|
|
172
|
-
};
|
|
173
|
-
//# sourceMappingURL=Box.types.mjs.map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nC,cAAc,EAAE,wBAAwB;IACxC,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,qCAAqC;IACrC,gBAAgB,EAAE,0BAA0B;IAC5C,+BAA+B;IAC/B,UAAU,EAAE,oBAAoB;IAChC,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,uCAAuC;IACvC,kBAAkB,EAAE,4BAA4B;IAChD,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,uCAAuC;IACvC,kBAAkB,EAAE,4BAA4B;IAChD,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,gCAAgC;IAChC,WAAW,EAAE,qBAAqB;IAClC,oCAAoC;IACpC,eAAe,EAAE,yBAAyB;IAC1C,8BAA8B;IAC9B,SAAS,EAAE,mBAAmB;IAC9B,gCAAgC;IAChC,WAAW,EAAE,qBAAqB;IAClC,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,iCAAiC;IACjC,YAAY,EAAE,sBAAsB;IACpC,uCAAuC;IACvC,kBAAkB,EAAE,4BAA4B;IAChD,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,mCAAmC;IACnC,cAAc,EAAE,wBAAwB;IACxC,+BAA+B;IAC/B,WAAW,EAAE,oBAAoB;CACzB,CAAC","sourcesContent":["/**\n * Box - all spacing-related props\n */\nexport type BoxSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n\n/**\n * Box - border width values (only valid Tailwind CSS border width utilities)\n */\nexport type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;\n\n/**\n * Box - flexDirection\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxFlexDirection = {\n Row: 'flex-row',\n RowReverse: 'flex-row-reverse',\n Column: 'flex-col',\n ColumnReverse: 'flex-col-reverse',\n} as const;\nexport type BoxFlexDirection =\n (typeof BoxFlexDirection)[keyof typeof BoxFlexDirection];\n\n/**\n * Box - flexWrap\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxFlexWrap = {\n NoWrap: 'flex-nowrap',\n Wrap: 'flex-wrap',\n WrapReverse: 'flex-wrap-reverse',\n} as const;\nexport type BoxFlexWrap = (typeof BoxFlexWrap)[keyof typeof BoxFlexWrap];\n\n/**\n * Box - alignItems\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxAlignItems = {\n Start: 'items-start',\n Center: 'items-center',\n End: 'items-end',\n Stretch: 'items-stretch',\n Baseline: 'items-baseline',\n} as const;\nexport type BoxAlignItems = (typeof BoxAlignItems)[keyof typeof BoxAlignItems];\n\n/**\n * Box - justifyContent\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxJustifyContent = {\n Start: 'justify-start',\n Center: 'justify-center',\n End: 'justify-end',\n Between: 'justify-between',\n Around: 'justify-around',\n Evenly: 'justify-evenly',\n} as const;\nexport type BoxJustifyContent =\n (typeof BoxJustifyContent)[keyof typeof BoxJustifyContent];\n\n/**\n * Box - backgroundColor\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxBackgroundColor = {\n /** Default background color */\n BackgroundDefault: 'bg-default',\n /** Alternative background color */\n BackgroundAlternative: 'bg-alternative',\n /** Section background color */\n BackgroundSection: 'bg-section',\n /** Subsection background color */\n BackgroundSubsection: 'bg-subsection',\n /** Muted background color */\n BackgroundMuted: 'bg-muted',\n /** Primary default background color */\n PrimaryDefault: 'bg-primary-default',\n /** Primary alternative background color */\n PrimaryAlternative: 'bg-primary-alternative',\n /** Primary muted background color */\n PrimaryMuted: 'bg-primary-muted',\n /** Primary inverse background color */\n PrimaryInverse: 'bg-primary-inverse',\n /** Error default background color */\n ErrorDefault: 'bg-error-default',\n /** Error alternative background color */\n ErrorAlternative: 'bg-error-alternative',\n /** Error muted background color */\n ErrorMuted: 'bg-error-muted',\n /** Error inverse background color */\n ErrorInverse: 'bg-error-inverse',\n /** Warning default background color */\n WarningDefault: 'bg-warning-default',\n /** Warning alternative background color */\n WarningAlternative: 'bg-warning-alternative',\n /** Warning muted background color */\n WarningMuted: 'bg-warning-muted',\n /** Warning inverse background color */\n WarningInverse: 'bg-warning-inverse',\n /** Success default background color */\n SuccessDefault: 'bg-success-default',\n /** Success alternative background color */\n SuccessAlternative: 'bg-success-alternative',\n /** Success muted background color */\n SuccessMuted: 'bg-success-muted',\n /** Success inverse background color */\n SuccessInverse: 'bg-success-inverse',\n /** Info default background color */\n InfoDefault: 'bg-info-default',\n /** Info muted background color */\n InfoMuted: 'bg-info-muted',\n /** Info inverse background color */\n InfoInverse: 'bg-info-inverse',\n /** Flask default background color */\n FlaskDefault: 'bg-flask-default',\n /** Flask inverse background color */\n FlaskInverse: 'bg-flask-inverse',\n /** Overlay alternative background color */\n OverlayAlternative: 'bg-overlay-alternative',\n /** Overlay default background color */\n OverlayDefault: 'bg-overlay-default',\n /** Overlay inverse background color */\n OverlayInverse: 'bg-overlay-inverse',\n /** Transparent background color */\n Transparent: 'bg-transparent',\n} as const;\nexport type BoxBackgroundColor =\n (typeof BoxBackgroundColor)[keyof typeof BoxBackgroundColor];\n\n/**\n * Box - borderColor\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxBorderColor = {\n /** Background default for cut out effect */\n BackgroundDefault: 'border-background-default',\n /** Default border color */\n BorderDefault: 'border-default',\n /** Muted border color */\n BorderMuted: 'border-muted',\n /** Primary default border color */\n PrimaryDefault: 'border-primary-default',\n /** Primary alternative border color */\n PrimaryAlternative: 'border-primary-alternative',\n /** Primary muted border color */\n PrimaryMuted: 'border-primary-muted',\n /** Primary inverse border color */\n PrimaryInverse: 'border-primary-inverse',\n /** Error default border color */\n ErrorDefault: 'border-error-default',\n /** Error alternative border color */\n ErrorAlternative: 'border-error-alternative',\n /** Error muted border color */\n ErrorMuted: 'border-error-muted',\n /** Error inverse border color */\n ErrorInverse: 'border-error-inverse',\n /** Warning default border color */\n WarningDefault: 'border-warning-default',\n /** Warning alternative border color */\n WarningAlternative: 'border-warning-alternative',\n /** Warning muted border color */\n WarningMuted: 'border-warning-muted',\n /** Warning inverse border color */\n WarningInverse: 'border-warning-inverse',\n /** Success default border color */\n SuccessDefault: 'border-success-default',\n /** Success alternative border color */\n SuccessAlternative: 'border-success-alternative',\n /** Success muted border color */\n SuccessMuted: 'border-success-muted',\n /** Success inverse border color */\n SuccessInverse: 'border-success-inverse',\n /** Info default border color */\n InfoDefault: 'border-info-default',\n /** Info alternative border color */\n InfoAlternative: 'border-info-alternative',\n /** Info muted border color */\n InfoMuted: 'border-info-muted',\n /** Info inverse border color */\n InfoInverse: 'border-info-inverse',\n /** Flask default border color */\n FlaskDefault: 'border-flask-default',\n /** Flask inverse border color */\n FlaskInverse: 'border-flask-inverse',\n /** Overlay alternative border color */\n OverlayAlternative: 'border-overlay-alternative',\n /** Overlay default border color */\n OverlayDefault: 'border-overlay-default',\n /** Overlay inverse border color */\n OverlayInverse: 'border-overlay-inverse',\n /** Transparent border color */\n Transparent: 'border-transparent',\n} as const;\nexport type BoxBorderColor =\n (typeof BoxBorderColor)[keyof typeof BoxBorderColor];\n\n/**\n * Box component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxPropsShared = {\n /**\n * The flex-direction style of the component.\n */\n flexDirection?: BoxFlexDirection;\n /**\n * The flex-wrap style of the component.\n */\n flexWrap?: BoxFlexWrap;\n /**\n * The gap between the component's children.\n * Use 0-12 for a gap of 0px-48px.\n */\n gap?: BoxSpacing;\n /**\n * The align-items style of the component.\n */\n alignItems?: BoxAlignItems;\n /**\n * The justify-content style of the component.\n */\n justifyContent?: BoxJustifyContent;\n /**\n * The margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n margin?: BoxSpacing;\n /**\n * The top margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginTop?: BoxSpacing;\n /**\n * The right margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginRight?: BoxSpacing;\n /**\n * The bottom margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginBottom?: BoxSpacing;\n /**\n * The left margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginLeft?: BoxSpacing;\n /**\n * The horizontal margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginHorizontal?: BoxSpacing;\n /**\n * The vertical margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginVertical?: BoxSpacing;\n /**\n * The padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n padding?: BoxSpacing;\n /**\n * The top padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingTop?: BoxSpacing;\n /**\n * The right padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingRight?: BoxSpacing;\n /**\n * The bottom padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingBottom?: BoxSpacing;\n /**\n * The left padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingLeft?: BoxSpacing;\n /**\n * The horizontal padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingHorizontal?: BoxSpacing;\n /**\n * The vertical padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingVertical?: BoxSpacing;\n /**\n * The border width of the component.\n * Use 0, 1, 2, 4, or 8 for border width of 0px, 1px, 2px, 4px, or 8px.\n */\n borderWidth?: BoxBorderWidth;\n /**\n * The border color of the component.\n */\n borderColor?: BoxBorderColor;\n /**\n * The background color of the component.\n */\n backgroundColor?: BoxBackgroundColor;\n};\n"]}
|
package/dist/types/Box/index.cjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = void 0;
|
|
4
|
-
var Box_types_1 = require("./Box.types.cjs");
|
|
5
|
-
Object.defineProperty(exports, "BoxFlexDirection", { enumerable: true, get: function () { return Box_types_1.BoxFlexDirection; } });
|
|
6
|
-
Object.defineProperty(exports, "BoxFlexWrap", { enumerable: true, get: function () { return Box_types_1.BoxFlexWrap; } });
|
|
7
|
-
Object.defineProperty(exports, "BoxAlignItems", { enumerable: true, get: function () { return Box_types_1.BoxAlignItems; } });
|
|
8
|
-
Object.defineProperty(exports, "BoxJustifyContent", { enumerable: true, get: function () { return Box_types_1.BoxJustifyContent; } });
|
|
9
|
-
Object.defineProperty(exports, "BoxBackgroundColor", { enumerable: true, get: function () { return Box_types_1.BoxBackgroundColor; } });
|
|
10
|
-
Object.defineProperty(exports, "BoxBorderColor", { enumerable: true, get: function () { return Box_types_1.BoxBorderColor; } });
|
|
11
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/Box/index.ts"],"names":[],"mappings":";;;AAAA,6CAUqB;AATnB,6GAAA,gBAAgB,OAAA;AAChB,wGAAA,WAAW,OAAA;AACX,0GAAA,aAAa,OAAA;AACb,8GAAA,iBAAiB,OAAA;AACjB,+GAAA,kBAAkB,OAAA;AAClB,2GAAA,cAAc,OAAA","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './Box.types';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,wBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,wBAAoB"}
|
package/dist/types/Box/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAIf,wBAAoB","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './Box.types';\n"]}
|