@govbr-ds/design 4.0.0-next.31

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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +73 -0
  3. package/dist/govbr-ds.css +1588 -0
  4. package/dist/govbr-ds.min.css +1 -0
  5. package/dist/govbr-utilities-lite.css +2811 -0
  6. package/dist/govbr-utilities-lite.min.css +1 -0
  7. package/dist/govbr-utilities.css +12667 -0
  8. package/dist/govbr-utilities.min.css +1 -0
  9. package/dist/modules/color.css +5674 -0
  10. package/dist/modules/elevation.css +113 -0
  11. package/dist/modules/flexbox.css +696 -0
  12. package/dist/modules/grid.css +518 -0
  13. package/dist/modules/motion.css +95 -0
  14. package/dist/modules/spacing.css +3928 -0
  15. package/dist/modules/surface.css +646 -0
  16. package/dist/modules/typography.css +706 -0
  17. package/package.json +65 -0
  18. package/src/core/_contrast.scss +2 -0
  19. package/src/core/_foundation.scss +227 -0
  20. package/src/core/_responsive.scss +9 -0
  21. package/src/core/_states.scss +121 -0
  22. package/src/core/_theme.scss +7 -0
  23. package/src/core/_tokens.scss +2 -0
  24. package/src/core/_utils.scss +116 -0
  25. package/src/core/govbr-ds.scss +9 -0
  26. package/src/utilities/_color.scss +139 -0
  27. package/src/utilities/_elevation.scss +47 -0
  28. package/src/utilities/_flexbox.scss +147 -0
  29. package/src/utilities/_grid.scss +137 -0
  30. package/src/utilities/_lite-config.scss +41 -0
  31. package/src/utilities/_lite-helpers.scss +137 -0
  32. package/src/utilities/_motion.scss +50 -0
  33. package/src/utilities/_responsive.scss +49 -0
  34. package/src/utilities/_spacing.scss +148 -0
  35. package/src/utilities/_surface.scss +135 -0
  36. package/src/utilities/_typography.scss +150 -0
  37. package/src/utilities/_utilities-generator.scss +61 -0
  38. package/src/utilities/govbr-utilities-lite.scss +4 -0
  39. package/src/utilities/govbr-utilities.scss +8 -0
  40. package/src/utilities/modules/color.scss +5 -0
  41. package/src/utilities/modules/elevation.scss +13 -0
  42. package/src/utilities/modules/flexbox.scss +13 -0
  43. package/src/utilities/modules/grid.scss +13 -0
  44. package/src/utilities/modules/motion.scss +5 -0
  45. package/src/utilities/modules/spacing.scss +13 -0
  46. package/src/utilities/modules/surface.scss +13 -0
  47. package/src/utilities/modules/typography.scss +13 -0
@@ -0,0 +1,696 @@
1
+ .flex-nowrap {
2
+ flex-wrap: nowrap;
3
+ }
4
+
5
+ .flex-wrap {
6
+ flex-wrap: wrap;
7
+ }
8
+
9
+ .flex-wrap-reverse {
10
+ flex-wrap: wrap-reverse;
11
+ }
12
+
13
+ .flex-row {
14
+ flex-direction: row;
15
+ }
16
+
17
+ .flex-row-reverse {
18
+ flex-direction: row-reverse;
19
+ }
20
+
21
+ .flex-column {
22
+ flex-direction: column;
23
+ }
24
+
25
+ .flex-column-reverse {
26
+ flex-direction: column-reverse;
27
+ }
28
+
29
+ .justify-content-start {
30
+ justify-content: flex-start;
31
+ }
32
+
33
+ .justify-content-end {
34
+ justify-content: flex-end;
35
+ }
36
+
37
+ .justify-content-center {
38
+ justify-content: center;
39
+ }
40
+
41
+ .justify-content-between {
42
+ justify-content: space-between;
43
+ }
44
+
45
+ .justify-content-around {
46
+ justify-content: space-around;
47
+ }
48
+
49
+ .justify-content-evenly {
50
+ justify-content: space-evenly;
51
+ }
52
+
53
+ .align-items-start {
54
+ align-items: flex-start;
55
+ }
56
+
57
+ .align-items-end {
58
+ align-items: flex-end;
59
+ }
60
+
61
+ .align-items-center {
62
+ align-items: center;
63
+ }
64
+
65
+ .align-items-baseline {
66
+ align-items: baseline;
67
+ }
68
+
69
+ .align-items-stretch {
70
+ align-items: stretch;
71
+ }
72
+
73
+ .align-self-start {
74
+ align-self: flex-start;
75
+ }
76
+
77
+ .align-self-end {
78
+ align-self: flex-end;
79
+ }
80
+
81
+ .align-self-center {
82
+ align-self: center;
83
+ }
84
+
85
+ .align-self-baseline {
86
+ align-self: baseline;
87
+ }
88
+
89
+ .align-self-stretch {
90
+ align-self: stretch;
91
+ }
92
+
93
+ .align-self-auto {
94
+ align-self: auto;
95
+ }
96
+
97
+ .flex-grow-1 {
98
+ flex-grow: 1;
99
+ }
100
+
101
+ .flex-grow-0 {
102
+ flex-grow: 0;
103
+ }
104
+
105
+ .flex-shrink-1 {
106
+ flex-shrink: 1;
107
+ }
108
+
109
+ .flex-shrink-0 {
110
+ flex-shrink: 0;
111
+ }
112
+
113
+ .flex-fill {
114
+ flex: 1 1 0;
115
+ }
116
+
117
+ .order-start {
118
+ order: -1;
119
+ }
120
+
121
+ .order-default {
122
+ order: 0;
123
+ }
124
+
125
+ .order-end {
126
+ order: 1;
127
+ }
128
+
129
+ .gap-1 {
130
+ gap: var(--br-spacing-layout-1);
131
+ }
132
+
133
+ .gap-2 {
134
+ gap: var(--br-spacing-layout-2);
135
+ }
136
+
137
+ .gap-3 {
138
+ gap: var(--br-spacing-layout-3);
139
+ }
140
+
141
+ .gap-4 {
142
+ gap: var(--br-spacing-layout-4);
143
+ }
144
+
145
+ .gap-5 {
146
+ gap: var(--br-spacing-layout-5);
147
+ }
148
+
149
+ .gap-6 {
150
+ gap: var(--br-spacing-layout-6);
151
+ }
152
+
153
+ .gap-7 {
154
+ gap: var(--br-spacing-layout-7);
155
+ }
156
+
157
+ .gap-8 {
158
+ gap: var(--br-spacing-layout-8);
159
+ }
160
+
161
+ .gap-9 {
162
+ gap: var(--br-spacing-layout-9);
163
+ }
164
+
165
+ .gap-10 {
166
+ gap: var(--br-spacing-layout-10);
167
+ }
168
+
169
+ .gap-0 {
170
+ gap: 0;
171
+ }
172
+
173
+ @media (min-width: 576px) {
174
+ .from-sm-flex-nowrap {
175
+ flex-wrap: nowrap;
176
+ }
177
+ .from-sm-flex-wrap {
178
+ flex-wrap: wrap;
179
+ }
180
+ .from-sm-flex-wrap-reverse {
181
+ flex-wrap: wrap-reverse;
182
+ }
183
+ .from-sm-flex-row {
184
+ flex-direction: row;
185
+ }
186
+ .from-sm-flex-row-reverse {
187
+ flex-direction: row-reverse;
188
+ }
189
+ .from-sm-flex-column {
190
+ flex-direction: column;
191
+ }
192
+ .from-sm-flex-column-reverse {
193
+ flex-direction: column-reverse;
194
+ }
195
+ .from-sm-justify-content-start {
196
+ justify-content: flex-start;
197
+ }
198
+ .from-sm-justify-content-end {
199
+ justify-content: flex-end;
200
+ }
201
+ .from-sm-justify-content-center {
202
+ justify-content: center;
203
+ }
204
+ .from-sm-justify-content-between {
205
+ justify-content: space-between;
206
+ }
207
+ .from-sm-justify-content-around {
208
+ justify-content: space-around;
209
+ }
210
+ .from-sm-justify-content-evenly {
211
+ justify-content: space-evenly;
212
+ }
213
+ .from-sm-align-items-start {
214
+ align-items: flex-start;
215
+ }
216
+ .from-sm-align-items-end {
217
+ align-items: flex-end;
218
+ }
219
+ .from-sm-align-items-center {
220
+ align-items: center;
221
+ }
222
+ .from-sm-align-items-baseline {
223
+ align-items: baseline;
224
+ }
225
+ .from-sm-align-items-stretch {
226
+ align-items: stretch;
227
+ }
228
+ .from-sm-align-self-start {
229
+ align-self: flex-start;
230
+ }
231
+ .from-sm-align-self-end {
232
+ align-self: flex-end;
233
+ }
234
+ .from-sm-align-self-center {
235
+ align-self: center;
236
+ }
237
+ .from-sm-align-self-baseline {
238
+ align-self: baseline;
239
+ }
240
+ .from-sm-align-self-stretch {
241
+ align-self: stretch;
242
+ }
243
+ .from-sm-align-self-auto {
244
+ align-self: auto;
245
+ }
246
+ .from-sm-flex-grow-1 {
247
+ flex-grow: 1;
248
+ }
249
+ .from-sm-flex-grow-0 {
250
+ flex-grow: 0;
251
+ }
252
+ .from-sm-flex-shrink-1 {
253
+ flex-shrink: 1;
254
+ }
255
+ .from-sm-flex-shrink-0 {
256
+ flex-shrink: 0;
257
+ }
258
+ .from-sm-flex-fill {
259
+ flex: 1 1 0;
260
+ }
261
+ .from-sm-order-start {
262
+ order: -1;
263
+ }
264
+ .from-sm-order-default {
265
+ order: 0;
266
+ }
267
+ .from-sm-order-end {
268
+ order: 1;
269
+ }
270
+ .from-sm-gap-1 {
271
+ gap: var(--br-spacing-layout-1);
272
+ }
273
+ .from-sm-gap-2 {
274
+ gap: var(--br-spacing-layout-2);
275
+ }
276
+ .from-sm-gap-3 {
277
+ gap: var(--br-spacing-layout-3);
278
+ }
279
+ .from-sm-gap-4 {
280
+ gap: var(--br-spacing-layout-4);
281
+ }
282
+ .from-sm-gap-5 {
283
+ gap: var(--br-spacing-layout-5);
284
+ }
285
+ .from-sm-gap-6 {
286
+ gap: var(--br-spacing-layout-6);
287
+ }
288
+ .from-sm-gap-7 {
289
+ gap: var(--br-spacing-layout-7);
290
+ }
291
+ .from-sm-gap-8 {
292
+ gap: var(--br-spacing-layout-8);
293
+ }
294
+ .from-sm-gap-9 {
295
+ gap: var(--br-spacing-layout-9);
296
+ }
297
+ .from-sm-gap-10 {
298
+ gap: var(--br-spacing-layout-10);
299
+ }
300
+ .from-sm-gap-0 {
301
+ gap: 0;
302
+ }
303
+ }
304
+ @media (min-width: 992px) {
305
+ .from-md-flex-nowrap {
306
+ flex-wrap: nowrap;
307
+ }
308
+ .from-md-flex-wrap {
309
+ flex-wrap: wrap;
310
+ }
311
+ .from-md-flex-wrap-reverse {
312
+ flex-wrap: wrap-reverse;
313
+ }
314
+ .from-md-flex-row {
315
+ flex-direction: row;
316
+ }
317
+ .from-md-flex-row-reverse {
318
+ flex-direction: row-reverse;
319
+ }
320
+ .from-md-flex-column {
321
+ flex-direction: column;
322
+ }
323
+ .from-md-flex-column-reverse {
324
+ flex-direction: column-reverse;
325
+ }
326
+ .from-md-justify-content-start {
327
+ justify-content: flex-start;
328
+ }
329
+ .from-md-justify-content-end {
330
+ justify-content: flex-end;
331
+ }
332
+ .from-md-justify-content-center {
333
+ justify-content: center;
334
+ }
335
+ .from-md-justify-content-between {
336
+ justify-content: space-between;
337
+ }
338
+ .from-md-justify-content-around {
339
+ justify-content: space-around;
340
+ }
341
+ .from-md-justify-content-evenly {
342
+ justify-content: space-evenly;
343
+ }
344
+ .from-md-align-items-start {
345
+ align-items: flex-start;
346
+ }
347
+ .from-md-align-items-end {
348
+ align-items: flex-end;
349
+ }
350
+ .from-md-align-items-center {
351
+ align-items: center;
352
+ }
353
+ .from-md-align-items-baseline {
354
+ align-items: baseline;
355
+ }
356
+ .from-md-align-items-stretch {
357
+ align-items: stretch;
358
+ }
359
+ .from-md-align-self-start {
360
+ align-self: flex-start;
361
+ }
362
+ .from-md-align-self-end {
363
+ align-self: flex-end;
364
+ }
365
+ .from-md-align-self-center {
366
+ align-self: center;
367
+ }
368
+ .from-md-align-self-baseline {
369
+ align-self: baseline;
370
+ }
371
+ .from-md-align-self-stretch {
372
+ align-self: stretch;
373
+ }
374
+ .from-md-align-self-auto {
375
+ align-self: auto;
376
+ }
377
+ .from-md-flex-grow-1 {
378
+ flex-grow: 1;
379
+ }
380
+ .from-md-flex-grow-0 {
381
+ flex-grow: 0;
382
+ }
383
+ .from-md-flex-shrink-1 {
384
+ flex-shrink: 1;
385
+ }
386
+ .from-md-flex-shrink-0 {
387
+ flex-shrink: 0;
388
+ }
389
+ .from-md-flex-fill {
390
+ flex: 1 1 0;
391
+ }
392
+ .from-md-order-start {
393
+ order: -1;
394
+ }
395
+ .from-md-order-default {
396
+ order: 0;
397
+ }
398
+ .from-md-order-end {
399
+ order: 1;
400
+ }
401
+ .from-md-gap-1 {
402
+ gap: var(--br-spacing-layout-1);
403
+ }
404
+ .from-md-gap-2 {
405
+ gap: var(--br-spacing-layout-2);
406
+ }
407
+ .from-md-gap-3 {
408
+ gap: var(--br-spacing-layout-3);
409
+ }
410
+ .from-md-gap-4 {
411
+ gap: var(--br-spacing-layout-4);
412
+ }
413
+ .from-md-gap-5 {
414
+ gap: var(--br-spacing-layout-5);
415
+ }
416
+ .from-md-gap-6 {
417
+ gap: var(--br-spacing-layout-6);
418
+ }
419
+ .from-md-gap-7 {
420
+ gap: var(--br-spacing-layout-7);
421
+ }
422
+ .from-md-gap-8 {
423
+ gap: var(--br-spacing-layout-8);
424
+ }
425
+ .from-md-gap-9 {
426
+ gap: var(--br-spacing-layout-9);
427
+ }
428
+ .from-md-gap-10 {
429
+ gap: var(--br-spacing-layout-10);
430
+ }
431
+ .from-md-gap-0 {
432
+ gap: 0;
433
+ }
434
+ }
435
+ @media (min-width: 1280px) {
436
+ .from-lg-flex-nowrap {
437
+ flex-wrap: nowrap;
438
+ }
439
+ .from-lg-flex-wrap {
440
+ flex-wrap: wrap;
441
+ }
442
+ .from-lg-flex-wrap-reverse {
443
+ flex-wrap: wrap-reverse;
444
+ }
445
+ .from-lg-flex-row {
446
+ flex-direction: row;
447
+ }
448
+ .from-lg-flex-row-reverse {
449
+ flex-direction: row-reverse;
450
+ }
451
+ .from-lg-flex-column {
452
+ flex-direction: column;
453
+ }
454
+ .from-lg-flex-column-reverse {
455
+ flex-direction: column-reverse;
456
+ }
457
+ .from-lg-justify-content-start {
458
+ justify-content: flex-start;
459
+ }
460
+ .from-lg-justify-content-end {
461
+ justify-content: flex-end;
462
+ }
463
+ .from-lg-justify-content-center {
464
+ justify-content: center;
465
+ }
466
+ .from-lg-justify-content-between {
467
+ justify-content: space-between;
468
+ }
469
+ .from-lg-justify-content-around {
470
+ justify-content: space-around;
471
+ }
472
+ .from-lg-justify-content-evenly {
473
+ justify-content: space-evenly;
474
+ }
475
+ .from-lg-align-items-start {
476
+ align-items: flex-start;
477
+ }
478
+ .from-lg-align-items-end {
479
+ align-items: flex-end;
480
+ }
481
+ .from-lg-align-items-center {
482
+ align-items: center;
483
+ }
484
+ .from-lg-align-items-baseline {
485
+ align-items: baseline;
486
+ }
487
+ .from-lg-align-items-stretch {
488
+ align-items: stretch;
489
+ }
490
+ .from-lg-align-self-start {
491
+ align-self: flex-start;
492
+ }
493
+ .from-lg-align-self-end {
494
+ align-self: flex-end;
495
+ }
496
+ .from-lg-align-self-center {
497
+ align-self: center;
498
+ }
499
+ .from-lg-align-self-baseline {
500
+ align-self: baseline;
501
+ }
502
+ .from-lg-align-self-stretch {
503
+ align-self: stretch;
504
+ }
505
+ .from-lg-align-self-auto {
506
+ align-self: auto;
507
+ }
508
+ .from-lg-flex-grow-1 {
509
+ flex-grow: 1;
510
+ }
511
+ .from-lg-flex-grow-0 {
512
+ flex-grow: 0;
513
+ }
514
+ .from-lg-flex-shrink-1 {
515
+ flex-shrink: 1;
516
+ }
517
+ .from-lg-flex-shrink-0 {
518
+ flex-shrink: 0;
519
+ }
520
+ .from-lg-flex-fill {
521
+ flex: 1 1 0;
522
+ }
523
+ .from-lg-order-start {
524
+ order: -1;
525
+ }
526
+ .from-lg-order-default {
527
+ order: 0;
528
+ }
529
+ .from-lg-order-end {
530
+ order: 1;
531
+ }
532
+ .from-lg-gap-1 {
533
+ gap: var(--br-spacing-layout-1);
534
+ }
535
+ .from-lg-gap-2 {
536
+ gap: var(--br-spacing-layout-2);
537
+ }
538
+ .from-lg-gap-3 {
539
+ gap: var(--br-spacing-layout-3);
540
+ }
541
+ .from-lg-gap-4 {
542
+ gap: var(--br-spacing-layout-4);
543
+ }
544
+ .from-lg-gap-5 {
545
+ gap: var(--br-spacing-layout-5);
546
+ }
547
+ .from-lg-gap-6 {
548
+ gap: var(--br-spacing-layout-6);
549
+ }
550
+ .from-lg-gap-7 {
551
+ gap: var(--br-spacing-layout-7);
552
+ }
553
+ .from-lg-gap-8 {
554
+ gap: var(--br-spacing-layout-8);
555
+ }
556
+ .from-lg-gap-9 {
557
+ gap: var(--br-spacing-layout-9);
558
+ }
559
+ .from-lg-gap-10 {
560
+ gap: var(--br-spacing-layout-10);
561
+ }
562
+ .from-lg-gap-0 {
563
+ gap: 0;
564
+ }
565
+ }
566
+ @media (min-width: 1600px) {
567
+ .from-xl-flex-nowrap {
568
+ flex-wrap: nowrap;
569
+ }
570
+ .from-xl-flex-wrap {
571
+ flex-wrap: wrap;
572
+ }
573
+ .from-xl-flex-wrap-reverse {
574
+ flex-wrap: wrap-reverse;
575
+ }
576
+ .from-xl-flex-row {
577
+ flex-direction: row;
578
+ }
579
+ .from-xl-flex-row-reverse {
580
+ flex-direction: row-reverse;
581
+ }
582
+ .from-xl-flex-column {
583
+ flex-direction: column;
584
+ }
585
+ .from-xl-flex-column-reverse {
586
+ flex-direction: column-reverse;
587
+ }
588
+ .from-xl-justify-content-start {
589
+ justify-content: flex-start;
590
+ }
591
+ .from-xl-justify-content-end {
592
+ justify-content: flex-end;
593
+ }
594
+ .from-xl-justify-content-center {
595
+ justify-content: center;
596
+ }
597
+ .from-xl-justify-content-between {
598
+ justify-content: space-between;
599
+ }
600
+ .from-xl-justify-content-around {
601
+ justify-content: space-around;
602
+ }
603
+ .from-xl-justify-content-evenly {
604
+ justify-content: space-evenly;
605
+ }
606
+ .from-xl-align-items-start {
607
+ align-items: flex-start;
608
+ }
609
+ .from-xl-align-items-end {
610
+ align-items: flex-end;
611
+ }
612
+ .from-xl-align-items-center {
613
+ align-items: center;
614
+ }
615
+ .from-xl-align-items-baseline {
616
+ align-items: baseline;
617
+ }
618
+ .from-xl-align-items-stretch {
619
+ align-items: stretch;
620
+ }
621
+ .from-xl-align-self-start {
622
+ align-self: flex-start;
623
+ }
624
+ .from-xl-align-self-end {
625
+ align-self: flex-end;
626
+ }
627
+ .from-xl-align-self-center {
628
+ align-self: center;
629
+ }
630
+ .from-xl-align-self-baseline {
631
+ align-self: baseline;
632
+ }
633
+ .from-xl-align-self-stretch {
634
+ align-self: stretch;
635
+ }
636
+ .from-xl-align-self-auto {
637
+ align-self: auto;
638
+ }
639
+ .from-xl-flex-grow-1 {
640
+ flex-grow: 1;
641
+ }
642
+ .from-xl-flex-grow-0 {
643
+ flex-grow: 0;
644
+ }
645
+ .from-xl-flex-shrink-1 {
646
+ flex-shrink: 1;
647
+ }
648
+ .from-xl-flex-shrink-0 {
649
+ flex-shrink: 0;
650
+ }
651
+ .from-xl-flex-fill {
652
+ flex: 1 1 0;
653
+ }
654
+ .from-xl-order-start {
655
+ order: -1;
656
+ }
657
+ .from-xl-order-default {
658
+ order: 0;
659
+ }
660
+ .from-xl-order-end {
661
+ order: 1;
662
+ }
663
+ .from-xl-gap-1 {
664
+ gap: var(--br-spacing-layout-1);
665
+ }
666
+ .from-xl-gap-2 {
667
+ gap: var(--br-spacing-layout-2);
668
+ }
669
+ .from-xl-gap-3 {
670
+ gap: var(--br-spacing-layout-3);
671
+ }
672
+ .from-xl-gap-4 {
673
+ gap: var(--br-spacing-layout-4);
674
+ }
675
+ .from-xl-gap-5 {
676
+ gap: var(--br-spacing-layout-5);
677
+ }
678
+ .from-xl-gap-6 {
679
+ gap: var(--br-spacing-layout-6);
680
+ }
681
+ .from-xl-gap-7 {
682
+ gap: var(--br-spacing-layout-7);
683
+ }
684
+ .from-xl-gap-8 {
685
+ gap: var(--br-spacing-layout-8);
686
+ }
687
+ .from-xl-gap-9 {
688
+ gap: var(--br-spacing-layout-9);
689
+ }
690
+ .from-xl-gap-10 {
691
+ gap: var(--br-spacing-layout-10);
692
+ }
693
+ .from-xl-gap-0 {
694
+ gap: 0;
695
+ }
696
+ }