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
package/dist/config/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const CONFIG: {
|
|
|
17
17
|
};
|
|
18
18
|
readonly c: {
|
|
19
19
|
readonly pre: "--";
|
|
20
|
-
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent"];
|
|
20
|
+
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral"];
|
|
21
21
|
};
|
|
22
22
|
readonly palette: {
|
|
23
23
|
readonly pre: "--";
|
|
@@ -68,12 +68,13 @@ export declare const CONFIG: {
|
|
|
68
68
|
readonly isVar: 1;
|
|
69
69
|
readonly token: "hl";
|
|
70
70
|
readonly tokenClass: 0;
|
|
71
|
-
readonly bp:
|
|
71
|
+
readonly bp: 0;
|
|
72
72
|
};
|
|
73
73
|
readonly lts: {
|
|
74
74
|
readonly prop: "letterSpacing";
|
|
75
75
|
readonly token: "lts";
|
|
76
76
|
readonly tokenClass: 1;
|
|
77
|
+
readonly bp: 0;
|
|
77
78
|
};
|
|
78
79
|
readonly ta: {
|
|
79
80
|
readonly prop: "textAlign";
|
|
@@ -95,7 +96,7 @@ export declare const CONFIG: {
|
|
|
95
96
|
readonly d: {
|
|
96
97
|
readonly prop: "display";
|
|
97
98
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
98
|
-
readonly bp:
|
|
99
|
+
readonly bp: "lg";
|
|
99
100
|
};
|
|
100
101
|
readonly o: {
|
|
101
102
|
readonly prop: "opacity";
|
|
@@ -168,6 +169,11 @@ export declare const CONFIG: {
|
|
|
168
169
|
readonly token: "sz";
|
|
169
170
|
readonly bp: 1;
|
|
170
171
|
};
|
|
172
|
+
readonly contentSize: {
|
|
173
|
+
readonly isVar: 1;
|
|
174
|
+
readonly presets: readonly ["s", "m", "l", "xl"];
|
|
175
|
+
readonly token: "sz";
|
|
176
|
+
};
|
|
171
177
|
readonly sz: {
|
|
172
178
|
readonly prop: "inlineSize";
|
|
173
179
|
readonly token: "sz";
|
|
@@ -200,7 +206,7 @@ export declare const CONFIG: {
|
|
|
200
206
|
};
|
|
201
207
|
readonly bg: {
|
|
202
208
|
readonly prop: "background";
|
|
203
|
-
readonly bp:
|
|
209
|
+
readonly bp: 0;
|
|
204
210
|
};
|
|
205
211
|
readonly bgi: {
|
|
206
212
|
readonly prop: "backgroundImage";
|
|
@@ -269,16 +275,16 @@ export declare const CONFIG: {
|
|
|
269
275
|
readonly 'bd-y': {
|
|
270
276
|
readonly prop: "borderBlock";
|
|
271
277
|
};
|
|
272
|
-
readonly 'bd-
|
|
278
|
+
readonly 'bd-s': {
|
|
273
279
|
readonly prop: "borderInlineStart";
|
|
274
280
|
};
|
|
275
|
-
readonly 'bd-
|
|
281
|
+
readonly 'bd-e': {
|
|
276
282
|
readonly prop: "borderInlineEnd";
|
|
277
283
|
};
|
|
278
|
-
readonly 'bd-
|
|
284
|
+
readonly 'bd-bs': {
|
|
279
285
|
readonly prop: "borderBlockStart";
|
|
280
286
|
};
|
|
281
|
-
readonly 'bd-
|
|
287
|
+
readonly 'bd-be': {
|
|
282
288
|
readonly prop: "borderBlockEnd";
|
|
283
289
|
};
|
|
284
290
|
readonly 'bd-t': {
|
|
@@ -345,6 +351,7 @@ export declare const CONFIG: {
|
|
|
345
351
|
readonly pos: {
|
|
346
352
|
readonly prop: "position";
|
|
347
353
|
readonly presets: readonly ["static", "fixed", "sticky", "relative", "absolute"];
|
|
354
|
+
readonly bp: 1;
|
|
348
355
|
};
|
|
349
356
|
readonly z: {
|
|
350
357
|
readonly prop: "zIndex";
|
|
@@ -397,19 +404,19 @@ export declare const CONFIG: {
|
|
|
397
404
|
readonly prop: "insetBlock";
|
|
398
405
|
readonly token: "space";
|
|
399
406
|
};
|
|
400
|
-
readonly 'i-
|
|
407
|
+
readonly 'i-s': {
|
|
401
408
|
readonly prop: "insetInlineStart";
|
|
402
409
|
readonly token: "space";
|
|
403
410
|
};
|
|
404
|
-
readonly 'i-
|
|
411
|
+
readonly 'i-e': {
|
|
405
412
|
readonly prop: "insetInlineEnd";
|
|
406
413
|
readonly token: "space";
|
|
407
414
|
};
|
|
408
|
-
readonly 'i-
|
|
415
|
+
readonly 'i-bs': {
|
|
409
416
|
readonly prop: "insetBlockStart";
|
|
410
417
|
readonly token: "space";
|
|
411
418
|
};
|
|
412
|
-
readonly 'i-
|
|
419
|
+
readonly 'i-be': {
|
|
413
420
|
readonly prop: "insetBlockEnd";
|
|
414
421
|
readonly token: "space";
|
|
415
422
|
};
|
|
@@ -435,22 +442,22 @@ export declare const CONFIG: {
|
|
|
435
442
|
readonly tokenClass: 1;
|
|
436
443
|
readonly bp: 1;
|
|
437
444
|
};
|
|
438
|
-
readonly
|
|
445
|
+
readonly ps: {
|
|
439
446
|
readonly prop: "paddingInlineStart";
|
|
440
447
|
readonly token: "space";
|
|
441
448
|
readonly bp: 1;
|
|
442
449
|
};
|
|
443
|
-
readonly
|
|
450
|
+
readonly pe: {
|
|
444
451
|
readonly prop: "paddingInlineEnd";
|
|
445
452
|
readonly token: "space";
|
|
446
453
|
readonly bp: 1;
|
|
447
454
|
};
|
|
448
|
-
readonly
|
|
455
|
+
readonly pbs: {
|
|
449
456
|
readonly prop: "paddingBlockStart";
|
|
450
457
|
readonly token: "space";
|
|
451
458
|
readonly bp: 1;
|
|
452
459
|
};
|
|
453
|
-
readonly
|
|
460
|
+
readonly pbe: {
|
|
454
461
|
readonly prop: "paddingBlockEnd";
|
|
455
462
|
readonly token: "space";
|
|
456
463
|
readonly bp: 1;
|
|
@@ -458,22 +465,22 @@ export declare const CONFIG: {
|
|
|
458
465
|
readonly pl: {
|
|
459
466
|
readonly prop: "paddingLeft";
|
|
460
467
|
readonly token: "space";
|
|
461
|
-
readonly bp:
|
|
468
|
+
readonly bp: 0;
|
|
462
469
|
};
|
|
463
470
|
readonly pr: {
|
|
464
471
|
readonly prop: "paddingRight";
|
|
465
472
|
readonly token: "space";
|
|
466
|
-
readonly bp:
|
|
473
|
+
readonly bp: 0;
|
|
467
474
|
};
|
|
468
475
|
readonly pt: {
|
|
469
476
|
readonly prop: "paddingTop";
|
|
470
477
|
readonly token: "space";
|
|
471
|
-
readonly bp:
|
|
478
|
+
readonly bp: 0;
|
|
472
479
|
};
|
|
473
480
|
readonly pb: {
|
|
474
481
|
readonly prop: "paddingBottom";
|
|
475
482
|
readonly token: "space";
|
|
476
|
-
readonly bp:
|
|
483
|
+
readonly bp: 0;
|
|
477
484
|
};
|
|
478
485
|
readonly m: {
|
|
479
486
|
readonly prop: "margin";
|
|
@@ -497,26 +504,26 @@ export declare const CONFIG: {
|
|
|
497
504
|
readonly tokenClass: 1;
|
|
498
505
|
readonly bp: 1;
|
|
499
506
|
};
|
|
500
|
-
readonly
|
|
507
|
+
readonly ms: {
|
|
501
508
|
readonly prop: "marginInlineStart";
|
|
502
509
|
readonly presets: readonly ["auto"];
|
|
503
510
|
readonly token: "space";
|
|
504
511
|
readonly bp: 1;
|
|
505
512
|
};
|
|
506
|
-
readonly
|
|
513
|
+
readonly me: {
|
|
507
514
|
readonly prop: "marginInlineEnd";
|
|
508
515
|
readonly presets: readonly ["auto"];
|
|
509
516
|
readonly token: "space";
|
|
510
517
|
readonly bp: 1;
|
|
511
518
|
};
|
|
512
|
-
readonly
|
|
519
|
+
readonly mbs: {
|
|
513
520
|
readonly prop: "marginBlockStart";
|
|
514
521
|
readonly token: "space";
|
|
515
522
|
readonly bp: 1;
|
|
516
523
|
readonly presets: readonly ["auto", "0"];
|
|
517
524
|
readonly tokenClass: 1;
|
|
518
525
|
};
|
|
519
|
-
readonly
|
|
526
|
+
readonly mbe: {
|
|
520
527
|
readonly prop: "marginBlockEnd";
|
|
521
528
|
readonly presets: readonly ["auto"];
|
|
522
529
|
readonly token: "space";
|
|
@@ -525,22 +532,22 @@ export declare const CONFIG: {
|
|
|
525
532
|
readonly ml: {
|
|
526
533
|
readonly prop: "marginLeft";
|
|
527
534
|
readonly token: "space";
|
|
528
|
-
readonly bp:
|
|
535
|
+
readonly bp: 0;
|
|
529
536
|
};
|
|
530
537
|
readonly mr: {
|
|
531
538
|
readonly prop: "marginRight";
|
|
532
539
|
readonly token: "space";
|
|
533
|
-
readonly bp:
|
|
540
|
+
readonly bp: 0;
|
|
534
541
|
};
|
|
535
542
|
readonly mt: {
|
|
536
543
|
readonly prop: "marginTop";
|
|
537
544
|
readonly token: "space";
|
|
538
|
-
readonly bp:
|
|
545
|
+
readonly bp: 0;
|
|
539
546
|
};
|
|
540
547
|
readonly mb: {
|
|
541
548
|
readonly prop: "marginBottom";
|
|
542
549
|
readonly token: "space";
|
|
543
|
-
readonly bp:
|
|
550
|
+
readonly bp: 0;
|
|
544
551
|
};
|
|
545
552
|
readonly g: {
|
|
546
553
|
readonly prop: "gap";
|
|
@@ -552,21 +559,21 @@ export declare const CONFIG: {
|
|
|
552
559
|
};
|
|
553
560
|
readonly token: "space";
|
|
554
561
|
readonly tokenClass: 1;
|
|
555
|
-
readonly bp:
|
|
562
|
+
readonly bp: "lg";
|
|
556
563
|
};
|
|
557
564
|
readonly cg: {
|
|
558
565
|
readonly prop: "columnGap";
|
|
559
566
|
readonly token: "space";
|
|
560
|
-
readonly bp:
|
|
567
|
+
readonly bp: 0;
|
|
561
568
|
};
|
|
562
569
|
readonly rg: {
|
|
563
570
|
readonly prop: "rowGap";
|
|
564
571
|
readonly token: "space";
|
|
565
|
-
readonly bp:
|
|
572
|
+
readonly bp: 0;
|
|
566
573
|
};
|
|
567
574
|
readonly cols: {
|
|
568
575
|
readonly isVar: 1;
|
|
569
|
-
readonly bp:
|
|
576
|
+
readonly bp: "lg";
|
|
570
577
|
};
|
|
571
578
|
readonly rows: {
|
|
572
579
|
readonly isVar: 1;
|
|
@@ -608,17 +615,17 @@ export declare const CONFIG: {
|
|
|
608
615
|
};
|
|
609
616
|
readonly gta: {
|
|
610
617
|
readonly prop: "gridTemplateAreas";
|
|
611
|
-
readonly bp:
|
|
618
|
+
readonly bp: "lg";
|
|
612
619
|
};
|
|
613
620
|
readonly gtc: {
|
|
614
621
|
readonly prop: "gridTemplateColumns";
|
|
615
622
|
readonly presets: readonly ["subgrid"];
|
|
616
|
-
readonly bp:
|
|
623
|
+
readonly bp: "lg";
|
|
617
624
|
};
|
|
618
625
|
readonly gtr: {
|
|
619
626
|
readonly prop: "gridTemplateRows";
|
|
620
627
|
readonly presets: readonly ["subgrid"];
|
|
621
|
-
readonly bp:
|
|
628
|
+
readonly bp: "lg";
|
|
622
629
|
};
|
|
623
630
|
readonly gaf: {
|
|
624
631
|
readonly prop: "gridAutoFlow";
|
|
@@ -636,21 +643,21 @@ export declare const CONFIG: {
|
|
|
636
643
|
readonly utils: {
|
|
637
644
|
readonly '1/1': "1 / 1";
|
|
638
645
|
};
|
|
639
|
-
readonly bp:
|
|
646
|
+
readonly bp: "lg";
|
|
640
647
|
};
|
|
641
648
|
readonly gc: {
|
|
642
649
|
readonly prop: "gridColumn";
|
|
643
650
|
readonly utils: {
|
|
644
651
|
readonly '1/-1': "1 / -1";
|
|
645
652
|
};
|
|
646
|
-
readonly bp:
|
|
653
|
+
readonly bp: "lg";
|
|
647
654
|
};
|
|
648
655
|
readonly gr: {
|
|
649
656
|
readonly prop: "gridRow";
|
|
650
657
|
readonly utils: {
|
|
651
658
|
readonly '1/-1': "1 / -1";
|
|
652
659
|
};
|
|
653
|
-
readonly bp:
|
|
660
|
+
readonly bp: "lg";
|
|
654
661
|
};
|
|
655
662
|
readonly gcs: {
|
|
656
663
|
readonly prop: "gridColumnStart";
|
|
@@ -755,6 +762,7 @@ export declare const CONFIG: {
|
|
|
755
762
|
readonly order: {
|
|
756
763
|
readonly prop: "order";
|
|
757
764
|
readonly presets: readonly ["0", "-1", "1"];
|
|
765
|
+
readonly bp: 1;
|
|
758
766
|
};
|
|
759
767
|
readonly ovw: {
|
|
760
768
|
readonly prop: "overflowWrap";
|
|
@@ -784,13 +792,7 @@ export declare const CONFIG: {
|
|
|
784
792
|
};
|
|
785
793
|
traits: {
|
|
786
794
|
readonly isContainer: "is--container";
|
|
787
|
-
readonly isWrapper:
|
|
788
|
-
readonly className: "is--wrapper";
|
|
789
|
-
readonly preset: readonly ["s", "l"];
|
|
790
|
-
readonly presetClass: "-contentSize";
|
|
791
|
-
readonly customVar: "--contentSize";
|
|
792
|
-
readonly tokenKey: "sz";
|
|
793
|
-
};
|
|
795
|
+
readonly isWrapper: "is--wrapper";
|
|
794
796
|
readonly isLayer: "is--layer";
|
|
795
797
|
readonly isBoxLink: "is--boxLink";
|
|
796
798
|
readonly isCoverLink: "is--coverLink";
|
|
@@ -820,7 +822,7 @@ export declare const TOKENS: {
|
|
|
820
822
|
};
|
|
821
823
|
readonly c: {
|
|
822
824
|
readonly pre: "--";
|
|
823
|
-
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent"];
|
|
825
|
+
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral"];
|
|
824
826
|
};
|
|
825
827
|
readonly palette: {
|
|
826
828
|
readonly pre: "--";
|
|
@@ -828,7 +830,7 @@ export declare const TOKENS: {
|
|
|
828
830
|
};
|
|
829
831
|
readonly writing: readonly ["vertical"];
|
|
830
832
|
readonly flow: readonly ["s", "l"];
|
|
831
|
-
readonly color: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
833
|
+
readonly color: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral", "red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
832
834
|
};
|
|
833
835
|
export declare const PROPS: {
|
|
834
836
|
readonly f: {
|
|
@@ -872,12 +874,13 @@ export declare const PROPS: {
|
|
|
872
874
|
readonly isVar: 1;
|
|
873
875
|
readonly token: "hl";
|
|
874
876
|
readonly tokenClass: 0;
|
|
875
|
-
readonly bp:
|
|
877
|
+
readonly bp: 0;
|
|
876
878
|
};
|
|
877
879
|
readonly lts: {
|
|
878
880
|
readonly prop: "letterSpacing";
|
|
879
881
|
readonly token: "lts";
|
|
880
882
|
readonly tokenClass: 1;
|
|
883
|
+
readonly bp: 0;
|
|
881
884
|
};
|
|
882
885
|
readonly ta: {
|
|
883
886
|
readonly prop: "textAlign";
|
|
@@ -899,7 +902,7 @@ export declare const PROPS: {
|
|
|
899
902
|
readonly d: {
|
|
900
903
|
readonly prop: "display";
|
|
901
904
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
902
|
-
readonly bp:
|
|
905
|
+
readonly bp: "lg";
|
|
903
906
|
};
|
|
904
907
|
readonly o: {
|
|
905
908
|
readonly prop: "opacity";
|
|
@@ -972,6 +975,11 @@ export declare const PROPS: {
|
|
|
972
975
|
readonly token: "sz";
|
|
973
976
|
readonly bp: 1;
|
|
974
977
|
};
|
|
978
|
+
readonly contentSize: {
|
|
979
|
+
readonly isVar: 1;
|
|
980
|
+
readonly presets: readonly ["s", "m", "l", "xl"];
|
|
981
|
+
readonly token: "sz";
|
|
982
|
+
};
|
|
975
983
|
readonly sz: {
|
|
976
984
|
readonly prop: "inlineSize";
|
|
977
985
|
readonly token: "sz";
|
|
@@ -1004,7 +1012,7 @@ export declare const PROPS: {
|
|
|
1004
1012
|
};
|
|
1005
1013
|
readonly bg: {
|
|
1006
1014
|
readonly prop: "background";
|
|
1007
|
-
readonly bp:
|
|
1015
|
+
readonly bp: 0;
|
|
1008
1016
|
};
|
|
1009
1017
|
readonly bgi: {
|
|
1010
1018
|
readonly prop: "backgroundImage";
|
|
@@ -1073,16 +1081,16 @@ export declare const PROPS: {
|
|
|
1073
1081
|
readonly 'bd-y': {
|
|
1074
1082
|
readonly prop: "borderBlock";
|
|
1075
1083
|
};
|
|
1076
|
-
readonly 'bd-
|
|
1084
|
+
readonly 'bd-s': {
|
|
1077
1085
|
readonly prop: "borderInlineStart";
|
|
1078
1086
|
};
|
|
1079
|
-
readonly 'bd-
|
|
1087
|
+
readonly 'bd-e': {
|
|
1080
1088
|
readonly prop: "borderInlineEnd";
|
|
1081
1089
|
};
|
|
1082
|
-
readonly 'bd-
|
|
1090
|
+
readonly 'bd-bs': {
|
|
1083
1091
|
readonly prop: "borderBlockStart";
|
|
1084
1092
|
};
|
|
1085
|
-
readonly 'bd-
|
|
1093
|
+
readonly 'bd-be': {
|
|
1086
1094
|
readonly prop: "borderBlockEnd";
|
|
1087
1095
|
};
|
|
1088
1096
|
readonly 'bd-t': {
|
|
@@ -1149,6 +1157,7 @@ export declare const PROPS: {
|
|
|
1149
1157
|
readonly pos: {
|
|
1150
1158
|
readonly prop: "position";
|
|
1151
1159
|
readonly presets: readonly ["static", "fixed", "sticky", "relative", "absolute"];
|
|
1160
|
+
readonly bp: 1;
|
|
1152
1161
|
};
|
|
1153
1162
|
readonly z: {
|
|
1154
1163
|
readonly prop: "zIndex";
|
|
@@ -1201,19 +1210,19 @@ export declare const PROPS: {
|
|
|
1201
1210
|
readonly prop: "insetBlock";
|
|
1202
1211
|
readonly token: "space";
|
|
1203
1212
|
};
|
|
1204
|
-
readonly 'i-
|
|
1213
|
+
readonly 'i-s': {
|
|
1205
1214
|
readonly prop: "insetInlineStart";
|
|
1206
1215
|
readonly token: "space";
|
|
1207
1216
|
};
|
|
1208
|
-
readonly 'i-
|
|
1217
|
+
readonly 'i-e': {
|
|
1209
1218
|
readonly prop: "insetInlineEnd";
|
|
1210
1219
|
readonly token: "space";
|
|
1211
1220
|
};
|
|
1212
|
-
readonly 'i-
|
|
1221
|
+
readonly 'i-bs': {
|
|
1213
1222
|
readonly prop: "insetBlockStart";
|
|
1214
1223
|
readonly token: "space";
|
|
1215
1224
|
};
|
|
1216
|
-
readonly 'i-
|
|
1225
|
+
readonly 'i-be': {
|
|
1217
1226
|
readonly prop: "insetBlockEnd";
|
|
1218
1227
|
readonly token: "space";
|
|
1219
1228
|
};
|
|
@@ -1239,22 +1248,22 @@ export declare const PROPS: {
|
|
|
1239
1248
|
readonly tokenClass: 1;
|
|
1240
1249
|
readonly bp: 1;
|
|
1241
1250
|
};
|
|
1242
|
-
readonly
|
|
1251
|
+
readonly ps: {
|
|
1243
1252
|
readonly prop: "paddingInlineStart";
|
|
1244
1253
|
readonly token: "space";
|
|
1245
1254
|
readonly bp: 1;
|
|
1246
1255
|
};
|
|
1247
|
-
readonly
|
|
1256
|
+
readonly pe: {
|
|
1248
1257
|
readonly prop: "paddingInlineEnd";
|
|
1249
1258
|
readonly token: "space";
|
|
1250
1259
|
readonly bp: 1;
|
|
1251
1260
|
};
|
|
1252
|
-
readonly
|
|
1261
|
+
readonly pbs: {
|
|
1253
1262
|
readonly prop: "paddingBlockStart";
|
|
1254
1263
|
readonly token: "space";
|
|
1255
1264
|
readonly bp: 1;
|
|
1256
1265
|
};
|
|
1257
|
-
readonly
|
|
1266
|
+
readonly pbe: {
|
|
1258
1267
|
readonly prop: "paddingBlockEnd";
|
|
1259
1268
|
readonly token: "space";
|
|
1260
1269
|
readonly bp: 1;
|
|
@@ -1262,22 +1271,22 @@ export declare const PROPS: {
|
|
|
1262
1271
|
readonly pl: {
|
|
1263
1272
|
readonly prop: "paddingLeft";
|
|
1264
1273
|
readonly token: "space";
|
|
1265
|
-
readonly bp:
|
|
1274
|
+
readonly bp: 0;
|
|
1266
1275
|
};
|
|
1267
1276
|
readonly pr: {
|
|
1268
1277
|
readonly prop: "paddingRight";
|
|
1269
1278
|
readonly token: "space";
|
|
1270
|
-
readonly bp:
|
|
1279
|
+
readonly bp: 0;
|
|
1271
1280
|
};
|
|
1272
1281
|
readonly pt: {
|
|
1273
1282
|
readonly prop: "paddingTop";
|
|
1274
1283
|
readonly token: "space";
|
|
1275
|
-
readonly bp:
|
|
1284
|
+
readonly bp: 0;
|
|
1276
1285
|
};
|
|
1277
1286
|
readonly pb: {
|
|
1278
1287
|
readonly prop: "paddingBottom";
|
|
1279
1288
|
readonly token: "space";
|
|
1280
|
-
readonly bp:
|
|
1289
|
+
readonly bp: 0;
|
|
1281
1290
|
};
|
|
1282
1291
|
readonly m: {
|
|
1283
1292
|
readonly prop: "margin";
|
|
@@ -1301,26 +1310,26 @@ export declare const PROPS: {
|
|
|
1301
1310
|
readonly tokenClass: 1;
|
|
1302
1311
|
readonly bp: 1;
|
|
1303
1312
|
};
|
|
1304
|
-
readonly
|
|
1313
|
+
readonly ms: {
|
|
1305
1314
|
readonly prop: "marginInlineStart";
|
|
1306
1315
|
readonly presets: readonly ["auto"];
|
|
1307
1316
|
readonly token: "space";
|
|
1308
1317
|
readonly bp: 1;
|
|
1309
1318
|
};
|
|
1310
|
-
readonly
|
|
1319
|
+
readonly me: {
|
|
1311
1320
|
readonly prop: "marginInlineEnd";
|
|
1312
1321
|
readonly presets: readonly ["auto"];
|
|
1313
1322
|
readonly token: "space";
|
|
1314
1323
|
readonly bp: 1;
|
|
1315
1324
|
};
|
|
1316
|
-
readonly
|
|
1325
|
+
readonly mbs: {
|
|
1317
1326
|
readonly prop: "marginBlockStart";
|
|
1318
1327
|
readonly token: "space";
|
|
1319
1328
|
readonly bp: 1;
|
|
1320
1329
|
readonly presets: readonly ["auto", "0"];
|
|
1321
1330
|
readonly tokenClass: 1;
|
|
1322
1331
|
};
|
|
1323
|
-
readonly
|
|
1332
|
+
readonly mbe: {
|
|
1324
1333
|
readonly prop: "marginBlockEnd";
|
|
1325
1334
|
readonly presets: readonly ["auto"];
|
|
1326
1335
|
readonly token: "space";
|
|
@@ -1329,22 +1338,22 @@ export declare const PROPS: {
|
|
|
1329
1338
|
readonly ml: {
|
|
1330
1339
|
readonly prop: "marginLeft";
|
|
1331
1340
|
readonly token: "space";
|
|
1332
|
-
readonly bp:
|
|
1341
|
+
readonly bp: 0;
|
|
1333
1342
|
};
|
|
1334
1343
|
readonly mr: {
|
|
1335
1344
|
readonly prop: "marginRight";
|
|
1336
1345
|
readonly token: "space";
|
|
1337
|
-
readonly bp:
|
|
1346
|
+
readonly bp: 0;
|
|
1338
1347
|
};
|
|
1339
1348
|
readonly mt: {
|
|
1340
1349
|
readonly prop: "marginTop";
|
|
1341
1350
|
readonly token: "space";
|
|
1342
|
-
readonly bp:
|
|
1351
|
+
readonly bp: 0;
|
|
1343
1352
|
};
|
|
1344
1353
|
readonly mb: {
|
|
1345
1354
|
readonly prop: "marginBottom";
|
|
1346
1355
|
readonly token: "space";
|
|
1347
|
-
readonly bp:
|
|
1356
|
+
readonly bp: 0;
|
|
1348
1357
|
};
|
|
1349
1358
|
readonly g: {
|
|
1350
1359
|
readonly prop: "gap";
|
|
@@ -1356,21 +1365,21 @@ export declare const PROPS: {
|
|
|
1356
1365
|
};
|
|
1357
1366
|
readonly token: "space";
|
|
1358
1367
|
readonly tokenClass: 1;
|
|
1359
|
-
readonly bp:
|
|
1368
|
+
readonly bp: "lg";
|
|
1360
1369
|
};
|
|
1361
1370
|
readonly cg: {
|
|
1362
1371
|
readonly prop: "columnGap";
|
|
1363
1372
|
readonly token: "space";
|
|
1364
|
-
readonly bp:
|
|
1373
|
+
readonly bp: 0;
|
|
1365
1374
|
};
|
|
1366
1375
|
readonly rg: {
|
|
1367
1376
|
readonly prop: "rowGap";
|
|
1368
1377
|
readonly token: "space";
|
|
1369
|
-
readonly bp:
|
|
1378
|
+
readonly bp: 0;
|
|
1370
1379
|
};
|
|
1371
1380
|
readonly cols: {
|
|
1372
1381
|
readonly isVar: 1;
|
|
1373
|
-
readonly bp:
|
|
1382
|
+
readonly bp: "lg";
|
|
1374
1383
|
};
|
|
1375
1384
|
readonly rows: {
|
|
1376
1385
|
readonly isVar: 1;
|
|
@@ -1412,17 +1421,17 @@ export declare const PROPS: {
|
|
|
1412
1421
|
};
|
|
1413
1422
|
readonly gta: {
|
|
1414
1423
|
readonly prop: "gridTemplateAreas";
|
|
1415
|
-
readonly bp:
|
|
1424
|
+
readonly bp: "lg";
|
|
1416
1425
|
};
|
|
1417
1426
|
readonly gtc: {
|
|
1418
1427
|
readonly prop: "gridTemplateColumns";
|
|
1419
1428
|
readonly presets: readonly ["subgrid"];
|
|
1420
|
-
readonly bp:
|
|
1429
|
+
readonly bp: "lg";
|
|
1421
1430
|
};
|
|
1422
1431
|
readonly gtr: {
|
|
1423
1432
|
readonly prop: "gridTemplateRows";
|
|
1424
1433
|
readonly presets: readonly ["subgrid"];
|
|
1425
|
-
readonly bp:
|
|
1434
|
+
readonly bp: "lg";
|
|
1426
1435
|
};
|
|
1427
1436
|
readonly gaf: {
|
|
1428
1437
|
readonly prop: "gridAutoFlow";
|
|
@@ -1440,21 +1449,21 @@ export declare const PROPS: {
|
|
|
1440
1449
|
readonly utils: {
|
|
1441
1450
|
readonly '1/1': "1 / 1";
|
|
1442
1451
|
};
|
|
1443
|
-
readonly bp:
|
|
1452
|
+
readonly bp: "lg";
|
|
1444
1453
|
};
|
|
1445
1454
|
readonly gc: {
|
|
1446
1455
|
readonly prop: "gridColumn";
|
|
1447
1456
|
readonly utils: {
|
|
1448
1457
|
readonly '1/-1': "1 / -1";
|
|
1449
1458
|
};
|
|
1450
|
-
readonly bp:
|
|
1459
|
+
readonly bp: "lg";
|
|
1451
1460
|
};
|
|
1452
1461
|
readonly gr: {
|
|
1453
1462
|
readonly prop: "gridRow";
|
|
1454
1463
|
readonly utils: {
|
|
1455
1464
|
readonly '1/-1': "1 / -1";
|
|
1456
1465
|
};
|
|
1457
|
-
readonly bp:
|
|
1466
|
+
readonly bp: "lg";
|
|
1458
1467
|
};
|
|
1459
1468
|
readonly gcs: {
|
|
1460
1469
|
readonly prop: "gridColumnStart";
|
|
@@ -1559,6 +1568,7 @@ export declare const PROPS: {
|
|
|
1559
1568
|
readonly order: {
|
|
1560
1569
|
readonly prop: "order";
|
|
1561
1570
|
readonly presets: readonly ["0", "-1", "1"];
|
|
1571
|
+
readonly bp: 1;
|
|
1562
1572
|
};
|
|
1563
1573
|
readonly ovw: {
|
|
1564
1574
|
readonly prop: "overflowWrap";
|
|
@@ -1588,13 +1598,7 @@ export declare const PROPS: {
|
|
|
1588
1598
|
};
|
|
1589
1599
|
export declare const TRAITS: {
|
|
1590
1600
|
readonly isContainer: "is--container";
|
|
1591
|
-
readonly isWrapper:
|
|
1592
|
-
readonly className: "is--wrapper";
|
|
1593
|
-
readonly preset: readonly ["s", "l"];
|
|
1594
|
-
readonly presetClass: "-contentSize";
|
|
1595
|
-
readonly customVar: "--contentSize";
|
|
1596
|
-
readonly tokenKey: "sz";
|
|
1597
|
-
};
|
|
1601
|
+
readonly isWrapper: "is--wrapper";
|
|
1598
1602
|
readonly isLayer: "is--layer";
|
|
1599
1603
|
readonly isBoxLink: "is--boxLink";
|
|
1600
1604
|
readonly isCoverLink: "is--coverLink";
|
package/dist/css/base/set.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@media (any-hover:hover){.set--
|
|
1
|
+
@media (any-hover:hover){.set--hov:hover{--_notHov: }.set--hov:not(:is(:hover,:focus-within)){--_isHov: }}@media (any-hover:none){.set--hov{--_isHov: }}.set--hov:is(:focus-visible,:focus-within){--_notHov: }.set--bdrsInner{--bdrs--inner:calc(var(--bdrs, 0px) - var(--p, 0px))}.set--bleed{--bleed:max(var(--gutter-size),calc((100cqi - min(100cqi, var(--contentSize, var(--sz--m)))) / 2))}.set--plain{background:none;border:none;border-radius:0;color:inherit;font:inherit;height:auto;line-height:calc(1em + var(--hl)*2);margin:0;max-height:none;max-width:none;min-height:0;min-width:0;padding:0;text-decoration:none;width:auto}:is(ul,ol).set--revert{list-style:revert;padding-inline-start:var(--list-ps,1.75em)}
|
package/dist/css/base.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@property --sz--bleed{syntax:"<length-percentage>";initial-value:100svi;inherits:true}:root{--sz--xl:1600px;--sz--l:1200px;--sz--m:880px;--sz--s:640px;--sz--xs:400px;--black:#000;--white:#fff;--L:60%;--C:0.2;--red:oklch(var(--L) var(--C) 20);--orange:oklch(calc(var(--L) + 6%) calc(var(--C) - 0.01) 48);--yellow:oklch(calc(var(--L) + 12%) calc(var(--C) - 0.02) 80);--green:oklch(calc(var(--L) + 4%) calc(var(--C) - 0.01) 152);--blue:oklch(calc(var(--L) - 4%) calc(var(--C) + 0.01) 264);--purple:oklch(calc(var(--L) - 4%) calc(var(--C) + 0.01) 288);--pink:oklch(calc(var(--L) + 2%) calc(var(--C) + 0.01) 352);--gray:oklch(calc(var(--L) - 4%)
|
|
1
|
+
@property --sz--bleed{syntax:"<length-percentage>";initial-value:100svi;inherits:true}:root{--sz--xl:1600px;--sz--l:1200px;--sz--m:880px;--sz--s:640px;--sz--xs:400px;--black:#000;--white:#fff;--L:60%;--C:0.2;--red:oklch(var(--L) var(--C) 20);--orange:oklch(calc(var(--L) + 6%) calc(var(--C) - 0.01) 48);--yellow:oklch(calc(var(--L) + 12%) calc(var(--C) - 0.02) 80);--green:oklch(calc(var(--L) + 4%) calc(var(--C) - 0.01) 152);--blue:oklch(calc(var(--L) - 4%) calc(var(--C) + 0.01) 264);--purple:oklch(calc(var(--L) - 4%) calc(var(--C) + 0.01) 288);--pink:oklch(calc(var(--L) + 2%) calc(var(--C) + 0.01) 352);--gray:oklch(calc(var(--L) - 4%) calc(var(--C)/10) 240);--brand:#1e5f8c;--accent:#d94a6a;--base:#fcfcfc;--base-2:#f2f2f3;--text:#141414;--text-2:#4e5155;--link:oklch(50% 0.3 240);--divider:#dfe0e2;--shadow:rgba(20,20,21,.12);--neutral:#cbcccd;--o--mp:0.9;--o--p:0.75;--o--pp:0.5;--o--ppp:0.25;--bdrs--10:0.25rem;--bdrs--20:0.5rem;--bdrs--30:1rem;--bdrs--40:1.5rem;--bdrs--99:99rem;--ar--og:1.91/1;--gutter-size:var(--s30);--flow--base:var(--s30);--flow--s:var(--s20)}:root:where([lang=ja]){--flow--base:var(--s35)}@property --hl{syntax:"<length>";inherits:true;initial-value:.25rem}:root{--fz--base:1rem;--fz-mol:8;--fz--5xl:calc(1em*var(--fz-mol)/(var(--fz-mol) - 6));--fz--4xl:calc(1em*var(--fz-mol)/(var(--fz-mol) - 5));--fz--3xl:calc(1em*var(--fz-mol)/(var(--fz-mol) - 4));--fz--2xl:calc(1em*var(--fz-mol)/(var(--fz-mol) - 3));--fz--xl:calc(1em*var(--fz-mol)/(var(--fz-mol) - 2));--fz--l:calc(1em*var(--fz-mol)/(var(--fz-mol) - 1));--fz--m:1em;--fz--s:calc(1em*var(--fz-mol)/(var(--fz-mol) + 1));--fz--xs:calc(1em*var(--fz-mol)/(var(--fz-mol) + 2));--fz--2xs:calc(1em*var(--fz-mol)/(var(--fz-mol) + 3));--ff--base:-apple-system,"BlinkMacSystemFont","Hiragino Sans",sans-serif,"Segoe UI Emoji";--ff--mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;--ff--accent:"Garamond","Baskerville","Times New Roman",serif;--fw--light:300;--fw--normal:400;--fw--bold:600;--lts--base:normal;--lts--s:-0.025em;--lts--l:0.05em;--lts--xl:0.1em;--hl-unit:calc(var(--fz--base)*0.125);--hl--xs:var(--hl-unit);--hl--s:calc(var(--hl-unit)*2);--hl--base:calc(var(--hl-unit)*3);--hl--l:calc(var(--hl-unit)*4)}.set--s,:root{--s-unit:calc(var(--fz--base)*0.5);--s10:var(--s-unit);--s20:calc(var(--s-unit)*2);--s30:calc(var(--s-unit)*3);--s40:calc(var(--s-unit)*5);--s50:calc(var(--s-unit)*8);--s60:calc(var(--s-unit)*13);--s70:calc(var(--s-unit)*21);--s80:calc(var(--s-unit)*34);--s5:calc(var(--s-unit)*0.5);--s15:calc(var(--s-unit)*1.5);--s25:calc(var(--s-unit)*2.5);--s35:calc(var(--s-unit)*4)}.set--s{--s-unit:0.5em}:root{--shc:var(--shadow);--shsz--10:0px 1px 3px;--shsz--20:0px 2px 6px;--shsz--30:0px 4px 12px;--shsz--40:0px 8px 24px;--shsz--50:0px 16px 48px}.set--bxsh,:root{--bxsh--10:var(--shsz--10) var(--shc);--bxsh--20:var(--shsz--20) var(--shc);--bxsh--30:var(--shsz--30) var(--shc);--bxsh--40:var(--shsz--40) var(--shc);--bxsh--50:var(--shsz--50) var(--shc)}body{--hl:var(--hl--base);background-color:var(--base);color:var(--text);font-family:var(--ff--base);font-size:var(--fz--base);letter-spacing:var(--lts--base);text-underline-offset:var(--under-offset,.25em)}*{line-height:calc(1em + var(--hl)*2)}:is(h1,h2,h3,h4,h5,h6){font-family:var(--headings-ff,inherit);font-weight:var(--headings-fw,var(--fw--bold))}h1{font-size:var(--fz--3xl)}h2{font-size:var(--fz--2xl)}h3{font-size:var(--fz--xl)}h4{font-size:var(--fz--l)}h5,h6{font-size:var(--fz--m)}a{color:var(--link-c,var(--link));-webkit-text-decoration:var(--link-td,underline);text-decoration:var(--link-td,underline)}small{--hl:var(--hl--s);font-size:var(--fz--xs)}b,strong{font-weight:var(--fw--bold)}sub,sup{--hl:var(--hl--xs);font-size:80%}code,kbd,samp,var{font-family:var(--ff--mono);letter-spacing:normal}:where(blockquote>p)+p{margin-block-start:var(--s10)}blockquote,q{font-style:italic}blockquote,pre{background-color:var(--base-2);padding:var(--s20)}caption,figcaption{font-size:var(--fz--s)}hr{block-size:0;border:none;border-block-start:1px solid var(--divider)}:is(ul,ol):where(:not([class])){list-style:revert;padding-inline-start:var(--list-ps,1.75em)}dt{font-weight:var(--fw--bold)}dd+dt{margin-block-start:var(--s20)}table{--td-c:inherit;--td-bgc:transparent;--td-p:var(--s10) var(--s15);--td-min-sz:initial}td{background-color:var(--td-bgc);color:var(--td-c);min-inline-size:var(--td-min-sz);padding:var(--td-p)}th{background-color:var(--th-bgc,var(--td-bgc));color:var(--th-c,var(--td-c));min-inline-size:var(--th-min-sz,var(--td-min-sz));padding:var(--th-p,var(--td-p))}::file-selector-button,button,input:not([type=range]),select,textarea{background-color:var(--controls-bgc,var(--base-2));border:1px solid var(--controls-bdc,var(--divider));border-radius:var(--controls-bdrs,var(--bdrs--10));padding:var(--controls-p,var(--s5) var(--s10))}:disabled{opacity:var(--o--pp)}:focus-visible{outline-offset:var(--focus-offset,0)}@media (any-hover:hover){.set--hov:hover{--_notHov: }.set--hov:not(:is(:hover,:focus-within)){--_isHov: }}@media (any-hover:none){.set--hov{--_isHov: }}.set--hov:is(:focus-visible,:focus-within){--_notHov: }.set--bdrsInner{--bdrs--inner:calc(var(--bdrs, 0px) - var(--p, 0px))}.set--bleed{--bleed:max(var(--gutter-size),calc((100cqi - min(100cqi, var(--contentSize, var(--sz--m)))) / 2))}.set--plain{background:none;border:none;border-radius:0;color:inherit;font:inherit;height:auto;line-height:calc(1em + var(--hl)*2);margin:0;max-height:none;max-width:none;min-height:0;min-width:0;padding:0;text-decoration:none;width:auto}:is(ul,ol).set--revert{list-style:revert;padding-inline-start:var(--list-ps,1.75em)}
|