lism-css 0.18.0 → 0.21.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/config/defaults/props.ts +41 -40
- package/config/defaults/tokens.ts +1 -1
- package/config/defaults/traits.ts +1 -7
- package/dist/components/state/Wrapper/Wrapper.d.ts +2 -4
- package/dist/components/state/Wrapper/index.js +5 -5
- package/dist/config/default-config.d.ts +47 -45
- package/dist/config/defaults/props.d.ts +45 -37
- package/dist/config/defaults/props.js +42 -41
- package/dist/config/defaults/tokens.d.ts +1 -1
- package/dist/config/defaults/tokens.js +1 -1
- package/dist/config/defaults/traits.d.ts +1 -7
- package/dist/config/defaults/traits.js +1 -7
- package/dist/config/index.d.ts +95 -91
- package/dist/css/base/set.css +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/main.css +1 -1
- package/dist/css/main_no_layer.css +1 -1
- package/dist/css/primitives/layout.css +1 -1
- package/dist/css/props.css +1 -1
- package/dist/css/trait.css +1 -1
- package/dist/lib/getLismProps.d.ts +2 -9
- package/dist/lib/getLismProps.js +98 -95
- package/dist/lib/types/PropValueTypes.d.ts +14 -10
- package/dist/lib/types/TraitProps.d.ts +10 -11
- package/dist/lib/types/allowedTags.d.ts +1 -1
- package/dist/lib/warnUnsupportedBp.d.ts +10 -0
- package/dist/lib/warnUnsupportedBp.js +20 -0
- package/package.json +1 -1
- package/packages/astro/state/Wrapper/Wrapper.astro +2 -8
- package/src/scss/_prop-config.scss +30 -66
- package/src/scss/base/_html.scss +7 -2
- package/src/scss/base/set/_bdrsInner.scss +1 -1
- package/src/scss/base/set/_bleed.scss +3 -0
- package/src/scss/base/set/_hov.scss +4 -4
- package/src/scss/base/set/_revert.scss +1 -1
- package/src/scss/base/set/index.scss +1 -0
- package/src/scss/base/tokens/_shadow.scss +2 -2
- package/src/scss/base/tokens/_space.scss +3 -3
- package/src/scss/base/tokens/_tokens.scss +15 -1
- package/src/scss/primitives/layout/_flow.scss +0 -4
- package/src/scss/props/_border.scss +4 -4
- package/src/scss/props/_hover.scss +4 -7
- package/src/scss/trait/is/_wrapper.scss +1 -8
|
@@ -58,12 +58,13 @@ declare const _default: {
|
|
|
58
58
|
readonly isVar: 1;
|
|
59
59
|
readonly token: "hl";
|
|
60
60
|
readonly tokenClass: 0;
|
|
61
|
-
readonly bp:
|
|
61
|
+
readonly bp: 0;
|
|
62
62
|
};
|
|
63
63
|
readonly lts: {
|
|
64
64
|
readonly prop: "letterSpacing";
|
|
65
65
|
readonly token: "lts";
|
|
66
66
|
readonly tokenClass: 1;
|
|
67
|
+
readonly bp: 0;
|
|
67
68
|
};
|
|
68
69
|
readonly ta: {
|
|
69
70
|
readonly prop: "textAlign";
|
|
@@ -85,7 +86,7 @@ declare const _default: {
|
|
|
85
86
|
readonly d: {
|
|
86
87
|
readonly prop: "display";
|
|
87
88
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
88
|
-
readonly bp:
|
|
89
|
+
readonly bp: "lg";
|
|
89
90
|
};
|
|
90
91
|
readonly o: {
|
|
91
92
|
readonly prop: "opacity";
|
|
@@ -158,6 +159,11 @@ declare const _default: {
|
|
|
158
159
|
readonly token: "sz";
|
|
159
160
|
readonly bp: 1;
|
|
160
161
|
};
|
|
162
|
+
readonly contentSize: {
|
|
163
|
+
readonly isVar: 1;
|
|
164
|
+
readonly presets: readonly ["s", "m", "l", "xl"];
|
|
165
|
+
readonly token: "sz";
|
|
166
|
+
};
|
|
161
167
|
readonly sz: {
|
|
162
168
|
readonly prop: "inlineSize";
|
|
163
169
|
readonly token: "sz";
|
|
@@ -190,7 +196,7 @@ declare const _default: {
|
|
|
190
196
|
};
|
|
191
197
|
readonly bg: {
|
|
192
198
|
readonly prop: "background";
|
|
193
|
-
readonly bp:
|
|
199
|
+
readonly bp: 0;
|
|
194
200
|
};
|
|
195
201
|
readonly bgi: {
|
|
196
202
|
readonly prop: "backgroundImage";
|
|
@@ -259,16 +265,16 @@ declare const _default: {
|
|
|
259
265
|
readonly 'bd-y': {
|
|
260
266
|
readonly prop: "borderBlock";
|
|
261
267
|
};
|
|
262
|
-
readonly 'bd-
|
|
268
|
+
readonly 'bd-s': {
|
|
263
269
|
readonly prop: "borderInlineStart";
|
|
264
270
|
};
|
|
265
|
-
readonly 'bd-
|
|
271
|
+
readonly 'bd-e': {
|
|
266
272
|
readonly prop: "borderInlineEnd";
|
|
267
273
|
};
|
|
268
|
-
readonly 'bd-
|
|
274
|
+
readonly 'bd-bs': {
|
|
269
275
|
readonly prop: "borderBlockStart";
|
|
270
276
|
};
|
|
271
|
-
readonly 'bd-
|
|
277
|
+
readonly 'bd-be': {
|
|
272
278
|
readonly prop: "borderBlockEnd";
|
|
273
279
|
};
|
|
274
280
|
readonly 'bd-t': {
|
|
@@ -335,6 +341,7 @@ declare const _default: {
|
|
|
335
341
|
readonly pos: {
|
|
336
342
|
readonly prop: "position";
|
|
337
343
|
readonly presets: readonly ["static", "fixed", "sticky", "relative", "absolute"];
|
|
344
|
+
readonly bp: 1;
|
|
338
345
|
};
|
|
339
346
|
readonly z: {
|
|
340
347
|
readonly prop: "zIndex";
|
|
@@ -387,19 +394,19 @@ declare const _default: {
|
|
|
387
394
|
readonly prop: "insetBlock";
|
|
388
395
|
readonly token: "space";
|
|
389
396
|
};
|
|
390
|
-
readonly 'i-
|
|
397
|
+
readonly 'i-s': {
|
|
391
398
|
readonly prop: "insetInlineStart";
|
|
392
399
|
readonly token: "space";
|
|
393
400
|
};
|
|
394
|
-
readonly 'i-
|
|
401
|
+
readonly 'i-e': {
|
|
395
402
|
readonly prop: "insetInlineEnd";
|
|
396
403
|
readonly token: "space";
|
|
397
404
|
};
|
|
398
|
-
readonly 'i-
|
|
405
|
+
readonly 'i-bs': {
|
|
399
406
|
readonly prop: "insetBlockStart";
|
|
400
407
|
readonly token: "space";
|
|
401
408
|
};
|
|
402
|
-
readonly 'i-
|
|
409
|
+
readonly 'i-be': {
|
|
403
410
|
readonly prop: "insetBlockEnd";
|
|
404
411
|
readonly token: "space";
|
|
405
412
|
};
|
|
@@ -425,22 +432,22 @@ declare const _default: {
|
|
|
425
432
|
readonly tokenClass: 1;
|
|
426
433
|
readonly bp: 1;
|
|
427
434
|
};
|
|
428
|
-
readonly
|
|
435
|
+
readonly ps: {
|
|
429
436
|
readonly prop: "paddingInlineStart";
|
|
430
437
|
readonly token: "space";
|
|
431
438
|
readonly bp: 1;
|
|
432
439
|
};
|
|
433
|
-
readonly
|
|
440
|
+
readonly pe: {
|
|
434
441
|
readonly prop: "paddingInlineEnd";
|
|
435
442
|
readonly token: "space";
|
|
436
443
|
readonly bp: 1;
|
|
437
444
|
};
|
|
438
|
-
readonly
|
|
445
|
+
readonly pbs: {
|
|
439
446
|
readonly prop: "paddingBlockStart";
|
|
440
447
|
readonly token: "space";
|
|
441
448
|
readonly bp: 1;
|
|
442
449
|
};
|
|
443
|
-
readonly
|
|
450
|
+
readonly pbe: {
|
|
444
451
|
readonly prop: "paddingBlockEnd";
|
|
445
452
|
readonly token: "space";
|
|
446
453
|
readonly bp: 1;
|
|
@@ -448,22 +455,22 @@ declare const _default: {
|
|
|
448
455
|
readonly pl: {
|
|
449
456
|
readonly prop: "paddingLeft";
|
|
450
457
|
readonly token: "space";
|
|
451
|
-
readonly bp:
|
|
458
|
+
readonly bp: 0;
|
|
452
459
|
};
|
|
453
460
|
readonly pr: {
|
|
454
461
|
readonly prop: "paddingRight";
|
|
455
462
|
readonly token: "space";
|
|
456
|
-
readonly bp:
|
|
463
|
+
readonly bp: 0;
|
|
457
464
|
};
|
|
458
465
|
readonly pt: {
|
|
459
466
|
readonly prop: "paddingTop";
|
|
460
467
|
readonly token: "space";
|
|
461
|
-
readonly bp:
|
|
468
|
+
readonly bp: 0;
|
|
462
469
|
};
|
|
463
470
|
readonly pb: {
|
|
464
471
|
readonly prop: "paddingBottom";
|
|
465
472
|
readonly token: "space";
|
|
466
|
-
readonly bp:
|
|
473
|
+
readonly bp: 0;
|
|
467
474
|
};
|
|
468
475
|
readonly m: {
|
|
469
476
|
readonly prop: "margin";
|
|
@@ -487,26 +494,26 @@ declare const _default: {
|
|
|
487
494
|
readonly tokenClass: 1;
|
|
488
495
|
readonly bp: 1;
|
|
489
496
|
};
|
|
490
|
-
readonly
|
|
497
|
+
readonly ms: {
|
|
491
498
|
readonly prop: "marginInlineStart";
|
|
492
499
|
readonly presets: readonly ["auto"];
|
|
493
500
|
readonly token: "space";
|
|
494
501
|
readonly bp: 1;
|
|
495
502
|
};
|
|
496
|
-
readonly
|
|
503
|
+
readonly me: {
|
|
497
504
|
readonly prop: "marginInlineEnd";
|
|
498
505
|
readonly presets: readonly ["auto"];
|
|
499
506
|
readonly token: "space";
|
|
500
507
|
readonly bp: 1;
|
|
501
508
|
};
|
|
502
|
-
readonly
|
|
509
|
+
readonly mbs: {
|
|
503
510
|
readonly prop: "marginBlockStart";
|
|
504
511
|
readonly token: "space";
|
|
505
512
|
readonly bp: 1;
|
|
506
513
|
readonly presets: readonly ["auto", "0"];
|
|
507
514
|
readonly tokenClass: 1;
|
|
508
515
|
};
|
|
509
|
-
readonly
|
|
516
|
+
readonly mbe: {
|
|
510
517
|
readonly prop: "marginBlockEnd";
|
|
511
518
|
readonly presets: readonly ["auto"];
|
|
512
519
|
readonly token: "space";
|
|
@@ -515,22 +522,22 @@ declare const _default: {
|
|
|
515
522
|
readonly ml: {
|
|
516
523
|
readonly prop: "marginLeft";
|
|
517
524
|
readonly token: "space";
|
|
518
|
-
readonly bp:
|
|
525
|
+
readonly bp: 0;
|
|
519
526
|
};
|
|
520
527
|
readonly mr: {
|
|
521
528
|
readonly prop: "marginRight";
|
|
522
529
|
readonly token: "space";
|
|
523
|
-
readonly bp:
|
|
530
|
+
readonly bp: 0;
|
|
524
531
|
};
|
|
525
532
|
readonly mt: {
|
|
526
533
|
readonly prop: "marginTop";
|
|
527
534
|
readonly token: "space";
|
|
528
|
-
readonly bp:
|
|
535
|
+
readonly bp: 0;
|
|
529
536
|
};
|
|
530
537
|
readonly mb: {
|
|
531
538
|
readonly prop: "marginBottom";
|
|
532
539
|
readonly token: "space";
|
|
533
|
-
readonly bp:
|
|
540
|
+
readonly bp: 0;
|
|
534
541
|
};
|
|
535
542
|
readonly g: {
|
|
536
543
|
readonly prop: "gap";
|
|
@@ -542,21 +549,21 @@ declare const _default: {
|
|
|
542
549
|
};
|
|
543
550
|
readonly token: "space";
|
|
544
551
|
readonly tokenClass: 1;
|
|
545
|
-
readonly bp:
|
|
552
|
+
readonly bp: "lg";
|
|
546
553
|
};
|
|
547
554
|
readonly cg: {
|
|
548
555
|
readonly prop: "columnGap";
|
|
549
556
|
readonly token: "space";
|
|
550
|
-
readonly bp:
|
|
557
|
+
readonly bp: 0;
|
|
551
558
|
};
|
|
552
559
|
readonly rg: {
|
|
553
560
|
readonly prop: "rowGap";
|
|
554
561
|
readonly token: "space";
|
|
555
|
-
readonly bp:
|
|
562
|
+
readonly bp: 0;
|
|
556
563
|
};
|
|
557
564
|
readonly cols: {
|
|
558
565
|
readonly isVar: 1;
|
|
559
|
-
readonly bp:
|
|
566
|
+
readonly bp: "lg";
|
|
560
567
|
};
|
|
561
568
|
readonly rows: {
|
|
562
569
|
readonly isVar: 1;
|
|
@@ -598,17 +605,17 @@ declare const _default: {
|
|
|
598
605
|
};
|
|
599
606
|
readonly gta: {
|
|
600
607
|
readonly prop: "gridTemplateAreas";
|
|
601
|
-
readonly bp:
|
|
608
|
+
readonly bp: "lg";
|
|
602
609
|
};
|
|
603
610
|
readonly gtc: {
|
|
604
611
|
readonly prop: "gridTemplateColumns";
|
|
605
612
|
readonly presets: readonly ["subgrid"];
|
|
606
|
-
readonly bp:
|
|
613
|
+
readonly bp: "lg";
|
|
607
614
|
};
|
|
608
615
|
readonly gtr: {
|
|
609
616
|
readonly prop: "gridTemplateRows";
|
|
610
617
|
readonly presets: readonly ["subgrid"];
|
|
611
|
-
readonly bp:
|
|
618
|
+
readonly bp: "lg";
|
|
612
619
|
};
|
|
613
620
|
readonly gaf: {
|
|
614
621
|
readonly prop: "gridAutoFlow";
|
|
@@ -626,21 +633,21 @@ declare const _default: {
|
|
|
626
633
|
readonly utils: {
|
|
627
634
|
readonly '1/1': "1 / 1";
|
|
628
635
|
};
|
|
629
|
-
readonly bp:
|
|
636
|
+
readonly bp: "lg";
|
|
630
637
|
};
|
|
631
638
|
readonly gc: {
|
|
632
639
|
readonly prop: "gridColumn";
|
|
633
640
|
readonly utils: {
|
|
634
641
|
readonly '1/-1': "1 / -1";
|
|
635
642
|
};
|
|
636
|
-
readonly bp:
|
|
643
|
+
readonly bp: "lg";
|
|
637
644
|
};
|
|
638
645
|
readonly gr: {
|
|
639
646
|
readonly prop: "gridRow";
|
|
640
647
|
readonly utils: {
|
|
641
648
|
readonly '1/-1': "1 / -1";
|
|
642
649
|
};
|
|
643
|
-
readonly bp:
|
|
650
|
+
readonly bp: "lg";
|
|
644
651
|
};
|
|
645
652
|
readonly gcs: {
|
|
646
653
|
readonly prop: "gridColumnStart";
|
|
@@ -745,6 +752,7 @@ declare const _default: {
|
|
|
745
752
|
readonly order: {
|
|
746
753
|
readonly prop: "order";
|
|
747
754
|
readonly presets: readonly ["0", "-1", "1"];
|
|
755
|
+
readonly bp: 1;
|
|
748
756
|
};
|
|
749
757
|
readonly ovw: {
|
|
750
758
|
readonly prop: "overflowWrap";
|
|
@@ -20,9 +20,9 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
20
20
|
isVar: 1,
|
|
21
21
|
token: "hl",
|
|
22
22
|
tokenClass: 0,
|
|
23
|
-
bp:
|
|
23
|
+
bp: 0
|
|
24
24
|
},
|
|
25
|
-
lts: { prop: "letterSpacing", token: "lts", tokenClass: 1 },
|
|
25
|
+
lts: { prop: "letterSpacing", token: "lts", tokenClass: 1, bp: 0 },
|
|
26
26
|
ta: { prop: "textAlign", presets: ["center", "left", "right"] },
|
|
27
27
|
td: { prop: "textDecoration", utils: { none: "none" } },
|
|
28
28
|
tt: { prop: "textTransform", utils: { upper: "uppercase", lower: "lowercase" } },
|
|
@@ -31,7 +31,7 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
31
31
|
d: {
|
|
32
32
|
prop: "display",
|
|
33
33
|
presets: ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"],
|
|
34
|
-
bp:
|
|
34
|
+
bp: "lg"
|
|
35
35
|
},
|
|
36
36
|
o: { prop: "opacity", presets: ["0"], token: "o", tokenClass: 1 },
|
|
37
37
|
v: { prop: "visibility", presets: ["hidden"] },
|
|
@@ -54,6 +54,7 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
54
54
|
"max-w": { prop: "maxWidth", presets: ["100%"], token: "sz", bp: 1 },
|
|
55
55
|
"min-h": { prop: "minHeight", presets: ["100%"], token: "sz", bp: 1 },
|
|
56
56
|
"max-h": { prop: "maxHeight", presets: ["100%"], token: "sz", bp: 1 },
|
|
57
|
+
contentSize: { isVar: 1, presets: ["s", "m", "l", "xl"], token: "sz" },
|
|
57
58
|
sz: { prop: "inlineSize", token: "sz" },
|
|
58
59
|
"min-sz": { prop: "minInlineSize", token: "sz" },
|
|
59
60
|
"max-sz": {
|
|
@@ -70,7 +71,7 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
70
71
|
"min-bsz": { prop: "minBlockSize", token: "sz" },
|
|
71
72
|
"max-bsz": { prop: "maxBlockSize", token: "sz" },
|
|
72
73
|
// bg
|
|
73
|
-
bg: { prop: "background", bp:
|
|
74
|
+
bg: { prop: "background", bp: 0 },
|
|
74
75
|
bgi: { prop: "backgroundImage" },
|
|
75
76
|
bgr: { prop: "backgroundRepeat", presets: ["no-repeat"] },
|
|
76
77
|
bgp: { prop: "backgroundPosition", presets: ["center"] },
|
|
@@ -114,10 +115,10 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
114
115
|
// --bdw のみ
|
|
115
116
|
"bd-x": { prop: "borderInline" },
|
|
116
117
|
"bd-y": { prop: "borderBlock" },
|
|
117
|
-
"bd-
|
|
118
|
-
"bd-
|
|
119
|
-
"bd-
|
|
120
|
-
"bd-
|
|
118
|
+
"bd-s": { prop: "borderInlineStart" },
|
|
119
|
+
"bd-e": { prop: "borderInlineEnd" },
|
|
120
|
+
"bd-bs": { prop: "borderBlockStart" },
|
|
121
|
+
"bd-be": { prop: "borderBlockEnd" },
|
|
121
122
|
"bd-t": { prop: "borderTop" },
|
|
122
123
|
"bd-b": { prop: "borderBottom" },
|
|
123
124
|
"bd-l": { prop: "borderLeft" },
|
|
@@ -142,7 +143,8 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
142
143
|
// position
|
|
143
144
|
pos: {
|
|
144
145
|
prop: "position",
|
|
145
|
-
presets: ["static", "fixed", "sticky", "relative", "absolute"]
|
|
146
|
+
presets: ["static", "fixed", "sticky", "relative", "absolute"],
|
|
147
|
+
bp: 1
|
|
146
148
|
},
|
|
147
149
|
z: { prop: "zIndex", presets: ["-1", "0", "1", "99"] },
|
|
148
150
|
t: { prop: "top", utils: { 0: "0%" }, presets: ["50%", "100%"], token: "space" },
|
|
@@ -152,10 +154,10 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
152
154
|
i: { prop: "inset", utils: { 0: "0%" }, token: "space" },
|
|
153
155
|
"i-x": { prop: "insetInline", token: "space" },
|
|
154
156
|
"i-y": { prop: "insetBlock", token: "space" },
|
|
155
|
-
"i-
|
|
156
|
-
"i-
|
|
157
|
-
"i-
|
|
158
|
-
"i-
|
|
157
|
+
"i-s": { prop: "insetInlineStart", token: "space" },
|
|
158
|
+
"i-e": { prop: "insetInlineEnd", token: "space" },
|
|
159
|
+
"i-bs": { prop: "insetBlockStart", token: "space" },
|
|
160
|
+
"i-be": { prop: "insetBlockEnd", token: "space" },
|
|
159
161
|
// space
|
|
160
162
|
p: {
|
|
161
163
|
prop: "padding",
|
|
@@ -167,14 +169,14 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
167
169
|
},
|
|
168
170
|
px: { prop: "paddingInline", presets: ["0"], token: "space", tokenClass: 1, bp: 1 },
|
|
169
171
|
py: { prop: "paddingBlock", presets: ["0"], token: "space", tokenClass: 1, bp: 1 },
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
pl: { prop: "paddingLeft", token: "space", bp:
|
|
175
|
-
pr: { prop: "paddingRight", token: "space", bp:
|
|
176
|
-
pt: { prop: "paddingTop", token: "space", bp:
|
|
177
|
-
pb: { prop: "paddingBottom", token: "space", bp:
|
|
172
|
+
ps: { prop: "paddingInlineStart", token: "space", bp: 1 },
|
|
173
|
+
pe: { prop: "paddingInlineEnd", token: "space", bp: 1 },
|
|
174
|
+
pbs: { prop: "paddingBlockStart", token: "space", bp: 1 },
|
|
175
|
+
pbe: { prop: "paddingBlockEnd", token: "space", bp: 1 },
|
|
176
|
+
pl: { prop: "paddingLeft", token: "space", bp: 0 },
|
|
177
|
+
pr: { prop: "paddingRight", token: "space", bp: 0 },
|
|
178
|
+
pt: { prop: "paddingTop", token: "space", bp: 0 },
|
|
179
|
+
pb: { prop: "paddingBottom", token: "space", bp: 0 },
|
|
178
180
|
m: {
|
|
179
181
|
prop: "margin",
|
|
180
182
|
presets: ["auto", "0"],
|
|
@@ -185,25 +187,25 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
185
187
|
},
|
|
186
188
|
mx: { prop: "marginInline", presets: ["auto", "0"], token: "space", tokenClass: 1, bp: 1 },
|
|
187
189
|
my: { prop: "marginBlock", presets: ["auto", "0"], token: "space", tokenClass: 1, bp: 1 },
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
ml: { prop: "marginLeft", token: "space", bp:
|
|
193
|
-
mr: { prop: "marginRight", token: "space", bp:
|
|
194
|
-
mt: { prop: "marginTop", token: "space", bp:
|
|
195
|
-
mb: { prop: "marginBottom", token: "space", bp:
|
|
190
|
+
ms: { prop: "marginInlineStart", presets: ["auto"], token: "space", bp: 1 },
|
|
191
|
+
me: { prop: "marginInlineEnd", presets: ["auto"], token: "space", bp: 1 },
|
|
192
|
+
mbs: { prop: "marginBlockStart", token: "space", bp: 1, presets: ["auto", "0"], tokenClass: 1 },
|
|
193
|
+
mbe: { prop: "marginBlockEnd", presets: ["auto"], token: "space", bp: 1 },
|
|
194
|
+
ml: { prop: "marginLeft", token: "space", bp: 0 },
|
|
195
|
+
mr: { prop: "marginRight", token: "space", bp: 0 },
|
|
196
|
+
mt: { prop: "marginTop", token: "space", bp: 0 },
|
|
197
|
+
mb: { prop: "marginBottom", token: "space", bp: 0 },
|
|
196
198
|
g: {
|
|
197
199
|
prop: "gap",
|
|
198
200
|
presets: ["0", "inherit"],
|
|
199
201
|
exUtility: { inherit: { gap: "inherit" } },
|
|
200
202
|
token: "space",
|
|
201
203
|
tokenClass: 1,
|
|
202
|
-
bp:
|
|
204
|
+
bp: "lg"
|
|
203
205
|
},
|
|
204
|
-
cg: { prop: "columnGap", token: "space", bp:
|
|
205
|
-
rg: { prop: "rowGap", token: "space", bp:
|
|
206
|
-
cols: { isVar: 1, bp:
|
|
206
|
+
cg: { prop: "columnGap", token: "space", bp: 0 },
|
|
207
|
+
rg: { prop: "rowGap", token: "space", bp: 0 },
|
|
208
|
+
cols: { isVar: 1, bp: "lg" },
|
|
207
209
|
rows: { isVar: 1, bp: 1 },
|
|
208
210
|
// flex
|
|
209
211
|
fxf: { prop: "flexFlow" },
|
|
@@ -219,26 +221,25 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
219
221
|
prop: "gridTemplate",
|
|
220
222
|
bp: 1
|
|
221
223
|
},
|
|
222
|
-
gta: { prop: "gridTemplateAreas", bp:
|
|
224
|
+
gta: { prop: "gridTemplateAreas", bp: "lg" },
|
|
223
225
|
gtc: {
|
|
224
226
|
prop: "gridTemplateColumns",
|
|
225
227
|
presets: ["subgrid"],
|
|
226
|
-
bp:
|
|
228
|
+
bp: "lg"
|
|
227
229
|
},
|
|
228
230
|
gtr: {
|
|
229
231
|
prop: "gridTemplateRows",
|
|
230
232
|
presets: ["subgrid"],
|
|
231
|
-
|
|
232
|
-
bp: 1
|
|
233
|
+
bp: "lg"
|
|
233
234
|
},
|
|
234
235
|
gaf: { prop: "gridAutoFlow", presets: ["row", "column"], bp: 1 },
|
|
235
236
|
//dense
|
|
236
237
|
gac: { prop: "gridAutoColumns" },
|
|
237
238
|
gar: { prop: "gridAutoRows" },
|
|
238
239
|
// grid item
|
|
239
|
-
ga: { prop: "gridArea", utils: { "1/1": "1 / 1" }, bp:
|
|
240
|
-
gc: { prop: "gridColumn", utils: { "1/-1": "1 / -1" }, bp:
|
|
241
|
-
gr: { prop: "gridRow", utils: { "1/-1": "1 / -1" }, bp:
|
|
240
|
+
ga: { prop: "gridArea", utils: { "1/1": "1 / 1" }, bp: "lg" },
|
|
241
|
+
gc: { prop: "gridColumn", utils: { "1/-1": "1 / -1" }, bp: "lg" },
|
|
242
|
+
gr: { prop: "gridRow", utils: { "1/-1": "1 / -1" }, bp: "lg" },
|
|
242
243
|
gcs: { prop: "gridColumnStart" },
|
|
243
244
|
gce: { prop: "gridColumnEnd" },
|
|
244
245
|
grs: { prop: "gridRowStart" },
|
|
@@ -284,7 +285,7 @@ const e = ["start", "center", "end"], r = ["flex-start", "flex-end"], p = { s: "
|
|
|
284
285
|
shorthands: p
|
|
285
286
|
},
|
|
286
287
|
pslf: { prop: "placeSelf", presets: e },
|
|
287
|
-
order: { prop: "order", presets: ["0", "-1", "1"] },
|
|
288
|
+
order: { prop: "order", presets: ["0", "-1", "1"], bp: 1 },
|
|
288
289
|
// transform
|
|
289
290
|
// translate: {
|
|
290
291
|
// prop: 'translate',
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
};
|
|
17
17
|
readonly c: {
|
|
18
18
|
readonly pre: "--";
|
|
19
|
-
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent"];
|
|
19
|
+
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral"];
|
|
20
20
|
};
|
|
21
21
|
readonly palette: {
|
|
22
22
|
readonly pre: "--";
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly isContainer: "is--container";
|
|
3
|
-
readonly isWrapper:
|
|
4
|
-
readonly className: "is--wrapper";
|
|
5
|
-
readonly preset: readonly ["s", "l"];
|
|
6
|
-
readonly presetClass: "-contentSize";
|
|
7
|
-
readonly customVar: "--contentSize";
|
|
8
|
-
readonly tokenKey: "sz";
|
|
9
|
-
};
|
|
3
|
+
readonly isWrapper: "is--wrapper";
|
|
10
4
|
readonly isLayer: "is--layer";
|
|
11
5
|
readonly isBoxLink: "is--boxLink";
|
|
12
6
|
readonly isCoverLink: "is--coverLink";
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
const s = {
|
|
2
2
|
isContainer: "is--container",
|
|
3
|
-
isWrapper:
|
|
4
|
-
className: "is--wrapper",
|
|
5
|
-
preset: ["s", "l"],
|
|
6
|
-
presetClass: "-contentSize",
|
|
7
|
-
customVar: "--contentSize",
|
|
8
|
-
tokenKey: "sz"
|
|
9
|
-
},
|
|
3
|
+
isWrapper: "is--wrapper",
|
|
10
4
|
isLayer: "is--layer",
|
|
11
5
|
isBoxLink: "is--boxLink",
|
|
12
6
|
isCoverLink: "is--coverLink",
|