@fpkit/acss 2.2.0 → 3.1.0
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/libs/chunk-5RAWNUVD.js +8 -0
- package/libs/chunk-5RAWNUVD.js.map +1 -0
- package/libs/{chunk-UJAQVHWC.js → chunk-CWRNJA4P.js} +2 -2
- package/libs/{chunk-R7NLLZU2.cjs → chunk-DYFAUAB7.cjs} +3 -3
- package/libs/chunk-NWJDAHP6.cjs +17 -0
- package/libs/chunk-NWJDAHP6.cjs.map +1 -0
- package/libs/components/breadcrumbs/breadcrumb.cjs +5 -5
- package/libs/components/breadcrumbs/breadcrumb.d.cts +2 -2
- package/libs/components/breadcrumbs/breadcrumb.d.ts +2 -2
- package/libs/components/breadcrumbs/breadcrumb.js +2 -2
- package/libs/components/flexbox/flex.css +1 -0
- package/libs/components/flexbox/flex.css.map +1 -0
- package/libs/components/flexbox/flex.min.css +3 -0
- package/libs/components/link/link.cjs +5 -5
- package/libs/components/link/link.css +1 -1
- package/libs/components/link/link.css.map +1 -1
- package/libs/components/link/link.d.cts +2 -131
- package/libs/components/link/link.d.ts +2 -131
- package/libs/components/link/link.js +1 -1
- package/libs/components/link/link.min.css +2 -2
- package/libs/components/nav/nav.css +1 -1
- package/libs/components/nav/nav.css.map +1 -1
- package/libs/components/nav/nav.min.css +2 -2
- package/libs/hooks.cjs +3 -3
- package/libs/hooks.d.cts +1 -1
- package/libs/hooks.d.ts +1 -1
- package/libs/hooks.js +2 -2
- package/libs/index.cjs +30 -29
- package/libs/index.cjs.map +1 -1
- package/libs/index.css +1 -1
- package/libs/index.css.map +1 -1
- package/libs/index.d.cts +246 -290
- package/libs/index.d.ts +246 -290
- package/libs/index.js +15 -15
- package/libs/index.js.map +1 -1
- package/libs/link-59ad884f.d.ts +371 -0
- package/package.json +2 -2
- package/src/components/flexbox/README.mdx +996 -0
- package/src/components/flexbox/flex.scss +847 -0
- package/src/components/flexbox/flex.stories.tsx +1233 -0
- package/src/components/flexbox/flex.test.tsx +689 -0
- package/src/components/flexbox/flex.tsx +484 -0
- package/src/components/flexbox/flex.types.ts +224 -0
- package/src/components/link/link.scss +4 -10
- package/src/components/link/link.tsx +18 -3
- package/src/components/nav/nav.scss +1 -1
- package/src/index.scss +1 -0
- package/src/index.ts +19 -2
- package/src/patterns/page/page-header.tsx +1 -3
- package/src/styles/flexbox/flex.css +736 -0
- package/src/styles/flexbox/flex.css.map +1 -0
- package/src/styles/index.css +739 -9
- package/src/styles/index.css.map +1 -1
- package/src/styles/link/link.css +2 -6
- package/src/styles/link/link.css.map +1 -1
- package/src/styles/nav/nav.css +3 -3
- package/libs/chunk-5PJYLVFY.cjs +0 -17
- package/libs/chunk-5PJYLVFY.cjs.map +0 -1
- package/libs/chunk-NNTBIHSD.js +0 -8
- package/libs/chunk-NNTBIHSD.js.map +0 -1
- package/libs/components/alert/alert.min.min.css +0 -2
- package/libs/components/badge/badge.min.min.css +0 -2
- package/libs/components/breadcrumbs/breadcrumb.min.min.css +0 -2
- package/libs/components/buttons/button.min.min.css +0 -2
- package/libs/components/cards/card-style.min.min.css +0 -2
- package/libs/components/cards/card.min.min.css +0 -2
- package/libs/components/details/details.min.min.css +0 -2
- package/libs/components/dialog/dialog.min.min.css +0 -2
- package/libs/components/form/form.min.min.css +0 -2
- package/libs/components/icons/icon.min.min.css +0 -2
- package/libs/components/images/img.min.min.css +0 -2
- package/libs/components/layout/landmarks.min.min.css +0 -2
- package/libs/components/link/link.min.min.css +0 -2
- package/libs/components/list/list.min.min.css +0 -2
- package/libs/components/nav/nav.min.min.css +0 -2
- package/libs/components/progress/progress.min.min.css +0 -2
- package/libs/components/styles/index.min.min.css +0 -2
- package/libs/components/tag/tag.min.min.css +0 -2
- package/libs/components/text-to-speech/text-to-speech.min.min.css +0 -2
- /package/libs/{chunk-UJAQVHWC.js.map → chunk-CWRNJA4P.js.map} +0 -0
- /package/libs/{chunk-R7NLLZU2.cjs.map → chunk-DYFAUAB7.cjs.map} +0 -0
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
FLEXBOX UTILITIES - Responsive Layout Control
|
|
3
|
+
============================================================================
|
|
4
|
+
|
|
5
|
+
Comprehensive flexbox utility classes with responsive modifiers.
|
|
6
|
+
Uses CSS custom properties for flexibility and modern range media queries.
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
1. Direct utility classes: <div className="flex gap-md justify-between">
|
|
10
|
+
2. React Flex component: <Flex gap="md" justify="between">
|
|
11
|
+
- Flex component automatically generates these utility classes from props
|
|
12
|
+
- Supports responsive props: <Flex md={{ direction: "row" }}>
|
|
13
|
+
- Sub-components: Flex.Item, Flex.Spacer
|
|
14
|
+
|
|
15
|
+
Breakpoints:
|
|
16
|
+
- sm: 30rem (480px)
|
|
17
|
+
- md: 48rem (768px)
|
|
18
|
+
- lg: 62rem (992px)
|
|
19
|
+
- xl: 80rem (1280px)
|
|
20
|
+
|
|
21
|
+
All spacing uses rem units (base: 1rem = 16px)
|
|
22
|
+
============================================================================ */
|
|
23
|
+
/* CSS Custom Properties
|
|
24
|
+
========================================================================== */
|
|
25
|
+
:root {
|
|
26
|
+
/* Gap spacing - fluid typography with clamp() */
|
|
27
|
+
--flex-gap-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem); /* 4-8px */
|
|
28
|
+
--flex-gap-sm: clamp(0.5rem, 0.45rem + 0.35vw, 0.75rem); /* 8-12px */
|
|
29
|
+
--flex-gap-md: clamp(0.75rem, 0.65rem + 0.45vw, 1.125rem); /* 12-18px */
|
|
30
|
+
--flex-gap-lg: clamp(1rem, 0.85rem + 0.6vw, 1.5rem); /* 16-24px */
|
|
31
|
+
--flex-gap-xl: clamp(1.5rem, 1.25rem + 0.75vw, 2rem); /* 24-32px */
|
|
32
|
+
/* Default gap for flex containers */
|
|
33
|
+
--flex-gap: var(--flex-gap-sm);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Base Flex Containers
|
|
37
|
+
========================================================================== */
|
|
38
|
+
/* Standard flex container */
|
|
39
|
+
.flex {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: var(--flex-gap);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Inline flex container */
|
|
45
|
+
.flex-inline {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
gap: var(--flex-gap);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Flex Direction
|
|
51
|
+
========================================================================== */
|
|
52
|
+
.flex-row {
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.flex-row-reverse {
|
|
57
|
+
flex-direction: row-reverse;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.flex-col {
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.flex-col-reverse {
|
|
65
|
+
flex-direction: column-reverse;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Flex Wrap
|
|
69
|
+
========================================================================== */
|
|
70
|
+
.flex-wrap {
|
|
71
|
+
flex-wrap: wrap;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.flex-wrap-reverse {
|
|
75
|
+
flex-wrap: wrap-reverse;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.flex-nowrap {
|
|
79
|
+
flex-wrap: nowrap;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Justify Content (Main Axis)
|
|
83
|
+
========================================================================== */
|
|
84
|
+
.justify-start {
|
|
85
|
+
justify-content: flex-start;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.justify-end {
|
|
89
|
+
justify-content: flex-end;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.justify-center {
|
|
93
|
+
justify-content: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.justify-between {
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.justify-around {
|
|
101
|
+
justify-content: space-around;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.justify-evenly {
|
|
105
|
+
justify-content: space-evenly;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Align Items (Cross Axis)
|
|
109
|
+
========================================================================== */
|
|
110
|
+
.items-start {
|
|
111
|
+
align-items: flex-start;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.items-end {
|
|
115
|
+
align-items: flex-end;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.items-center {
|
|
119
|
+
align-items: center;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.items-baseline {
|
|
123
|
+
align-items: baseline;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.items-stretch {
|
|
127
|
+
align-items: stretch;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Align Content (Multi-line)
|
|
131
|
+
========================================================================== */
|
|
132
|
+
.content-start {
|
|
133
|
+
align-content: flex-start;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.content-end {
|
|
137
|
+
align-content: flex-end;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.content-center {
|
|
141
|
+
align-content: center;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.content-between {
|
|
145
|
+
align-content: space-between;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.content-around {
|
|
149
|
+
align-content: space-around;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.content-evenly {
|
|
153
|
+
align-content: space-evenly;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.content-stretch {
|
|
157
|
+
align-content: stretch;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Align Self (Individual Items)
|
|
161
|
+
========================================================================== */
|
|
162
|
+
.self-auto {
|
|
163
|
+
align-self: auto;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.self-start {
|
|
167
|
+
align-self: flex-start;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.self-end {
|
|
171
|
+
align-self: flex-end;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.self-center {
|
|
175
|
+
align-self: center;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.self-baseline {
|
|
179
|
+
align-self: baseline;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.self-stretch {
|
|
183
|
+
align-self: stretch;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Flex Item Sizing
|
|
187
|
+
========================================================================== */
|
|
188
|
+
/* Flex grow */
|
|
189
|
+
.flex-grow-0 {
|
|
190
|
+
flex-grow: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.flex-grow-1 {
|
|
194
|
+
flex-grow: 1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Flex shrink */
|
|
198
|
+
.flex-shrink-0 {
|
|
199
|
+
flex-shrink: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.flex-shrink-1 {
|
|
203
|
+
flex-shrink: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Flex basis */
|
|
207
|
+
.flex-basis-auto {
|
|
208
|
+
flex-basis: auto;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.flex-basis-0 {
|
|
212
|
+
flex-basis: 0;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.flex-basis-full {
|
|
216
|
+
flex-basis: 100%;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* Flex shorthand utilities */
|
|
220
|
+
.flex-1 {
|
|
221
|
+
flex: 1 1 0%;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.flex-auto {
|
|
225
|
+
flex: 1 1 auto;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.flex-initial {
|
|
229
|
+
flex: 0 1 auto;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.flex-none {
|
|
233
|
+
flex: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Gap Utilities
|
|
237
|
+
========================================================================== */
|
|
238
|
+
.gap-0 {
|
|
239
|
+
gap: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.gap-xs {
|
|
243
|
+
gap: var(--flex-gap-xs);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.gap-sm {
|
|
247
|
+
gap: var(--flex-gap-sm);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.gap-md {
|
|
251
|
+
gap: var(--flex-gap-md);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.gap-lg {
|
|
255
|
+
gap: var(--flex-gap-lg);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.gap-xl {
|
|
259
|
+
gap: var(--flex-gap-xl);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* Row gap */
|
|
263
|
+
.row-gap-0 {
|
|
264
|
+
row-gap: 0;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.row-gap-xs {
|
|
268
|
+
row-gap: var(--flex-gap-xs);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.row-gap-sm {
|
|
272
|
+
row-gap: var(--flex-gap-sm);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.row-gap-md {
|
|
276
|
+
row-gap: var(--flex-gap-md);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.row-gap-lg {
|
|
280
|
+
row-gap: var(--flex-gap-lg);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.row-gap-xl {
|
|
284
|
+
row-gap: var(--flex-gap-xl);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Column gap */
|
|
288
|
+
.col-gap-0 {
|
|
289
|
+
column-gap: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.col-gap-xs {
|
|
293
|
+
column-gap: var(--flex-gap-xs);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.col-gap-sm {
|
|
297
|
+
column-gap: var(--flex-gap-sm);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.col-gap-md {
|
|
301
|
+
column-gap: var(--flex-gap-md);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.col-gap-lg {
|
|
305
|
+
column-gap: var(--flex-gap-lg);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.col-gap-xl {
|
|
309
|
+
column-gap: var(--flex-gap-xl);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/* Common Flex Patterns
|
|
313
|
+
========================================================================== */
|
|
314
|
+
/* Center content both axes */
|
|
315
|
+
.flex-center {
|
|
316
|
+
display: flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
justify-content: center;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* Space between with center alignment */
|
|
322
|
+
.flex-between {
|
|
323
|
+
display: flex;
|
|
324
|
+
justify-content: space-between;
|
|
325
|
+
align-items: center;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Space around with center alignment */
|
|
329
|
+
.flex-around {
|
|
330
|
+
display: flex;
|
|
331
|
+
justify-content: space-around;
|
|
332
|
+
align-items: center;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Stack - column layout with gap */
|
|
336
|
+
.flex-stack {
|
|
337
|
+
display: flex;
|
|
338
|
+
flex-direction: column;
|
|
339
|
+
gap: var(--flex-gap-sm);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Spread - equal width children */
|
|
343
|
+
.flex-spread > * {
|
|
344
|
+
flex: 1 1 0%;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Order utilities
|
|
348
|
+
========================================================================== */
|
|
349
|
+
.order-first {
|
|
350
|
+
order: -1;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.order-last {
|
|
354
|
+
order: 999;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.order-none {
|
|
358
|
+
order: 0;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* Responsive Utilities - Small (sm: 30rem / 480px)
|
|
362
|
+
========================================================================== */
|
|
363
|
+
@media (width >= 30rem) {
|
|
364
|
+
/* Direction */
|
|
365
|
+
.sm\:flex-row {
|
|
366
|
+
flex-direction: row;
|
|
367
|
+
}
|
|
368
|
+
.sm\:flex-row-reverse {
|
|
369
|
+
flex-direction: row-reverse;
|
|
370
|
+
}
|
|
371
|
+
.sm\:flex-col {
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
}
|
|
374
|
+
.sm\:flex-col-reverse {
|
|
375
|
+
flex-direction: column-reverse;
|
|
376
|
+
}
|
|
377
|
+
/* Wrap */
|
|
378
|
+
.sm\:flex-wrap {
|
|
379
|
+
flex-wrap: wrap;
|
|
380
|
+
}
|
|
381
|
+
.sm\:flex-nowrap {
|
|
382
|
+
flex-wrap: nowrap;
|
|
383
|
+
}
|
|
384
|
+
/* Justify */
|
|
385
|
+
.sm\:justify-start {
|
|
386
|
+
justify-content: flex-start;
|
|
387
|
+
}
|
|
388
|
+
.sm\:justify-end {
|
|
389
|
+
justify-content: flex-end;
|
|
390
|
+
}
|
|
391
|
+
.sm\:justify-center {
|
|
392
|
+
justify-content: center;
|
|
393
|
+
}
|
|
394
|
+
.sm\:justify-between {
|
|
395
|
+
justify-content: space-between;
|
|
396
|
+
}
|
|
397
|
+
.sm\:justify-around {
|
|
398
|
+
justify-content: space-around;
|
|
399
|
+
}
|
|
400
|
+
.sm\:justify-evenly {
|
|
401
|
+
justify-content: space-evenly;
|
|
402
|
+
}
|
|
403
|
+
/* Align Items */
|
|
404
|
+
.sm\:items-start {
|
|
405
|
+
align-items: flex-start;
|
|
406
|
+
}
|
|
407
|
+
.sm\:items-end {
|
|
408
|
+
align-items: flex-end;
|
|
409
|
+
}
|
|
410
|
+
.sm\:items-center {
|
|
411
|
+
align-items: center;
|
|
412
|
+
}
|
|
413
|
+
.sm\:items-baseline {
|
|
414
|
+
align-items: baseline;
|
|
415
|
+
}
|
|
416
|
+
.sm\:items-stretch {
|
|
417
|
+
align-items: stretch;
|
|
418
|
+
}
|
|
419
|
+
/* Gaps */
|
|
420
|
+
.sm\:gap-0 {
|
|
421
|
+
gap: 0;
|
|
422
|
+
}
|
|
423
|
+
.sm\:gap-xs {
|
|
424
|
+
gap: var(--flex-gap-xs);
|
|
425
|
+
}
|
|
426
|
+
.sm\:gap-sm {
|
|
427
|
+
gap: var(--flex-gap-sm);
|
|
428
|
+
}
|
|
429
|
+
.sm\:gap-md {
|
|
430
|
+
gap: var(--flex-gap-md);
|
|
431
|
+
}
|
|
432
|
+
.sm\:gap-lg {
|
|
433
|
+
gap: var(--flex-gap-lg);
|
|
434
|
+
}
|
|
435
|
+
.sm\:gap-xl {
|
|
436
|
+
gap: var(--flex-gap-xl);
|
|
437
|
+
}
|
|
438
|
+
/* Flex sizing */
|
|
439
|
+
.sm\:flex-1 {
|
|
440
|
+
flex: 1 1 0%;
|
|
441
|
+
}
|
|
442
|
+
.sm\:flex-auto {
|
|
443
|
+
flex: 1 1 auto;
|
|
444
|
+
}
|
|
445
|
+
.sm\:flex-none {
|
|
446
|
+
flex: none;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
/* Responsive Utilities - Medium (md: 48rem / 768px)
|
|
450
|
+
========================================================================== */
|
|
451
|
+
@media (width >= 48rem) {
|
|
452
|
+
/* Direction */
|
|
453
|
+
.md\:flex-row {
|
|
454
|
+
flex-direction: row;
|
|
455
|
+
}
|
|
456
|
+
.md\:flex-row-reverse {
|
|
457
|
+
flex-direction: row-reverse;
|
|
458
|
+
}
|
|
459
|
+
.md\:flex-col {
|
|
460
|
+
flex-direction: column;
|
|
461
|
+
}
|
|
462
|
+
.md\:flex-col-reverse {
|
|
463
|
+
flex-direction: column-reverse;
|
|
464
|
+
}
|
|
465
|
+
/* Wrap */
|
|
466
|
+
.md\:flex-wrap {
|
|
467
|
+
flex-wrap: wrap;
|
|
468
|
+
}
|
|
469
|
+
.md\:flex-nowrap {
|
|
470
|
+
flex-wrap: nowrap;
|
|
471
|
+
}
|
|
472
|
+
/* Justify */
|
|
473
|
+
.md\:justify-start {
|
|
474
|
+
justify-content: flex-start;
|
|
475
|
+
}
|
|
476
|
+
.md\:justify-end {
|
|
477
|
+
justify-content: flex-end;
|
|
478
|
+
}
|
|
479
|
+
.md\:justify-center {
|
|
480
|
+
justify-content: center;
|
|
481
|
+
}
|
|
482
|
+
.md\:justify-between {
|
|
483
|
+
justify-content: space-between;
|
|
484
|
+
}
|
|
485
|
+
.md\:justify-around {
|
|
486
|
+
justify-content: space-around;
|
|
487
|
+
}
|
|
488
|
+
.md\:justify-evenly {
|
|
489
|
+
justify-content: space-evenly;
|
|
490
|
+
}
|
|
491
|
+
/* Align Items */
|
|
492
|
+
.md\:items-start {
|
|
493
|
+
align-items: flex-start;
|
|
494
|
+
}
|
|
495
|
+
.md\:items-end {
|
|
496
|
+
align-items: flex-end;
|
|
497
|
+
}
|
|
498
|
+
.md\:items-center {
|
|
499
|
+
align-items: center;
|
|
500
|
+
}
|
|
501
|
+
.md\:items-baseline {
|
|
502
|
+
align-items: baseline;
|
|
503
|
+
}
|
|
504
|
+
.md\:items-stretch {
|
|
505
|
+
align-items: stretch;
|
|
506
|
+
}
|
|
507
|
+
/* Gaps */
|
|
508
|
+
.md\:gap-0 {
|
|
509
|
+
gap: 0;
|
|
510
|
+
}
|
|
511
|
+
.md\:gap-xs {
|
|
512
|
+
gap: var(--flex-gap-xs);
|
|
513
|
+
}
|
|
514
|
+
.md\:gap-sm {
|
|
515
|
+
gap: var(--flex-gap-sm);
|
|
516
|
+
}
|
|
517
|
+
.md\:gap-md {
|
|
518
|
+
gap: var(--flex-gap-md);
|
|
519
|
+
}
|
|
520
|
+
.md\:gap-lg {
|
|
521
|
+
gap: var(--flex-gap-lg);
|
|
522
|
+
}
|
|
523
|
+
.md\:gap-xl {
|
|
524
|
+
gap: var(--flex-gap-xl);
|
|
525
|
+
}
|
|
526
|
+
/* Flex sizing */
|
|
527
|
+
.md\:flex-1 {
|
|
528
|
+
flex: 1 1 0%;
|
|
529
|
+
}
|
|
530
|
+
.md\:flex-auto {
|
|
531
|
+
flex: 1 1 auto;
|
|
532
|
+
}
|
|
533
|
+
.md\:flex-none {
|
|
534
|
+
flex: none;
|
|
535
|
+
}
|
|
536
|
+
/* Common patterns at medium breakpoint */
|
|
537
|
+
.flex-stack {
|
|
538
|
+
flex-direction: row;
|
|
539
|
+
align-items: center;
|
|
540
|
+
gap: var(--flex-gap-md);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
/* Responsive Utilities - Large (lg: 62rem / 992px)
|
|
544
|
+
========================================================================== */
|
|
545
|
+
@media (width >= 62rem) {
|
|
546
|
+
/* Direction */
|
|
547
|
+
.lg\:flex-row {
|
|
548
|
+
flex-direction: row;
|
|
549
|
+
}
|
|
550
|
+
.lg\:flex-row-reverse {
|
|
551
|
+
flex-direction: row-reverse;
|
|
552
|
+
}
|
|
553
|
+
.lg\:flex-col {
|
|
554
|
+
flex-direction: column;
|
|
555
|
+
}
|
|
556
|
+
.lg\:flex-col-reverse {
|
|
557
|
+
flex-direction: column-reverse;
|
|
558
|
+
}
|
|
559
|
+
/* Wrap */
|
|
560
|
+
.lg\:flex-wrap {
|
|
561
|
+
flex-wrap: wrap;
|
|
562
|
+
}
|
|
563
|
+
.lg\:flex-nowrap {
|
|
564
|
+
flex-wrap: nowrap;
|
|
565
|
+
}
|
|
566
|
+
/* Justify */
|
|
567
|
+
.lg\:justify-start {
|
|
568
|
+
justify-content: flex-start;
|
|
569
|
+
}
|
|
570
|
+
.lg\:justify-end {
|
|
571
|
+
justify-content: flex-end;
|
|
572
|
+
}
|
|
573
|
+
.lg\:justify-center {
|
|
574
|
+
justify-content: center;
|
|
575
|
+
}
|
|
576
|
+
.lg\:justify-between {
|
|
577
|
+
justify-content: space-between;
|
|
578
|
+
}
|
|
579
|
+
.lg\:justify-around {
|
|
580
|
+
justify-content: space-around;
|
|
581
|
+
}
|
|
582
|
+
.lg\:justify-evenly {
|
|
583
|
+
justify-content: space-evenly;
|
|
584
|
+
}
|
|
585
|
+
/* Align Items */
|
|
586
|
+
.lg\:items-start {
|
|
587
|
+
align-items: flex-start;
|
|
588
|
+
}
|
|
589
|
+
.lg\:items-end {
|
|
590
|
+
align-items: flex-end;
|
|
591
|
+
}
|
|
592
|
+
.lg\:items-center {
|
|
593
|
+
align-items: center;
|
|
594
|
+
}
|
|
595
|
+
.lg\:items-baseline {
|
|
596
|
+
align-items: baseline;
|
|
597
|
+
}
|
|
598
|
+
.lg\:items-stretch {
|
|
599
|
+
align-items: stretch;
|
|
600
|
+
}
|
|
601
|
+
/* Gaps */
|
|
602
|
+
.lg\:gap-0 {
|
|
603
|
+
gap: 0;
|
|
604
|
+
}
|
|
605
|
+
.lg\:gap-xs {
|
|
606
|
+
gap: var(--flex-gap-xs);
|
|
607
|
+
}
|
|
608
|
+
.lg\:gap-sm {
|
|
609
|
+
gap: var(--flex-gap-sm);
|
|
610
|
+
}
|
|
611
|
+
.lg\:gap-md {
|
|
612
|
+
gap: var(--flex-gap-md);
|
|
613
|
+
}
|
|
614
|
+
.lg\:gap-lg {
|
|
615
|
+
gap: var(--flex-gap-lg);
|
|
616
|
+
}
|
|
617
|
+
.lg\:gap-xl {
|
|
618
|
+
gap: var(--flex-gap-xl);
|
|
619
|
+
}
|
|
620
|
+
/* Flex sizing */
|
|
621
|
+
.lg\:flex-1 {
|
|
622
|
+
flex: 1 1 0%;
|
|
623
|
+
}
|
|
624
|
+
.lg\:flex-auto {
|
|
625
|
+
flex: 1 1 auto;
|
|
626
|
+
}
|
|
627
|
+
.lg\:flex-none {
|
|
628
|
+
flex: none;
|
|
629
|
+
}
|
|
630
|
+
/* Increase gaps at large screens */
|
|
631
|
+
.flex,
|
|
632
|
+
.flex-inline {
|
|
633
|
+
gap: var(--flex-gap-md);
|
|
634
|
+
}
|
|
635
|
+
.flex-stack {
|
|
636
|
+
gap: var(--flex-gap-lg);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
/* Responsive Utilities - Extra Large (xl: 80rem / 1280px)
|
|
640
|
+
========================================================================== */
|
|
641
|
+
@media (width >= 80rem) {
|
|
642
|
+
/* Direction */
|
|
643
|
+
.xl\:flex-row {
|
|
644
|
+
flex-direction: row;
|
|
645
|
+
}
|
|
646
|
+
.xl\:flex-row-reverse {
|
|
647
|
+
flex-direction: row-reverse;
|
|
648
|
+
}
|
|
649
|
+
.xl\:flex-col {
|
|
650
|
+
flex-direction: column;
|
|
651
|
+
}
|
|
652
|
+
.xl\:flex-col-reverse {
|
|
653
|
+
flex-direction: column-reverse;
|
|
654
|
+
}
|
|
655
|
+
/* Wrap */
|
|
656
|
+
.xl\:flex-wrap {
|
|
657
|
+
flex-wrap: wrap;
|
|
658
|
+
}
|
|
659
|
+
.xl\:flex-nowrap {
|
|
660
|
+
flex-wrap: nowrap;
|
|
661
|
+
}
|
|
662
|
+
/* Justify */
|
|
663
|
+
.xl\:justify-start {
|
|
664
|
+
justify-content: flex-start;
|
|
665
|
+
}
|
|
666
|
+
.xl\:justify-end {
|
|
667
|
+
justify-content: flex-end;
|
|
668
|
+
}
|
|
669
|
+
.xl\:justify-center {
|
|
670
|
+
justify-content: center;
|
|
671
|
+
}
|
|
672
|
+
.xl\:justify-between {
|
|
673
|
+
justify-content: space-between;
|
|
674
|
+
}
|
|
675
|
+
.xl\:justify-around {
|
|
676
|
+
justify-content: space-around;
|
|
677
|
+
}
|
|
678
|
+
.xl\:justify-evenly {
|
|
679
|
+
justify-content: space-evenly;
|
|
680
|
+
}
|
|
681
|
+
/* Align Items */
|
|
682
|
+
.xl\:items-start {
|
|
683
|
+
align-items: flex-start;
|
|
684
|
+
}
|
|
685
|
+
.xl\:items-end {
|
|
686
|
+
align-items: flex-end;
|
|
687
|
+
}
|
|
688
|
+
.xl\:items-center {
|
|
689
|
+
align-items: center;
|
|
690
|
+
}
|
|
691
|
+
.xl\:items-baseline {
|
|
692
|
+
align-items: baseline;
|
|
693
|
+
}
|
|
694
|
+
.xl\:items-stretch {
|
|
695
|
+
align-items: stretch;
|
|
696
|
+
}
|
|
697
|
+
/* Gaps */
|
|
698
|
+
.xl\:gap-0 {
|
|
699
|
+
gap: 0;
|
|
700
|
+
}
|
|
701
|
+
.xl\:gap-xs {
|
|
702
|
+
gap: var(--flex-gap-xs);
|
|
703
|
+
}
|
|
704
|
+
.xl\:gap-sm {
|
|
705
|
+
gap: var(--flex-gap-sm);
|
|
706
|
+
}
|
|
707
|
+
.xl\:gap-md {
|
|
708
|
+
gap: var(--flex-gap-md);
|
|
709
|
+
}
|
|
710
|
+
.xl\:gap-lg {
|
|
711
|
+
gap: var(--flex-gap-lg);
|
|
712
|
+
}
|
|
713
|
+
.xl\:gap-xl {
|
|
714
|
+
gap: var(--flex-gap-xl);
|
|
715
|
+
}
|
|
716
|
+
/* Flex sizing */
|
|
717
|
+
.xl\:flex-1 {
|
|
718
|
+
flex: 1 1 0%;
|
|
719
|
+
}
|
|
720
|
+
.xl\:flex-auto {
|
|
721
|
+
flex: 1 1 auto;
|
|
722
|
+
}
|
|
723
|
+
.xl\:flex-none {
|
|
724
|
+
flex: none;
|
|
725
|
+
}
|
|
726
|
+
/* Maximum gaps at extra large screens */
|
|
727
|
+
.flex,
|
|
728
|
+
.flex-inline {
|
|
729
|
+
gap: var(--flex-gap-lg);
|
|
730
|
+
}
|
|
731
|
+
.flex-stack {
|
|
732
|
+
gap: var(--flex-gap-xl);
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/*# sourceMappingURL=flex.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../components/flexbox/flex.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAuBA;AAAA;AAEA;AACE;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;;;AAGF;AAAA;AAGA;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAGA;AACA;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAGA;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;AAEA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAEA;AACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;;AAIJ;AAAA;AAEA;AACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;IACA;IACA;;;AAIJ;AAAA;AAEA;AACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;AAAA;IAEE;;EAGF;IACE;;;AAIJ;AAAA;AAEA;AACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;AAGF;EACA;AAAA;IAEE;;EAGF;IACE","file":"flex.css"}
|