@tokenami/config 0.0.30 → 0.0.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.
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +436 -431
- package/dist/index.mjs +435 -430
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ __export(src_exports, {
|
|
|
35
35
|
getTokenPropertySplit: () => getTokenPropertySplit,
|
|
36
36
|
getTokenValueParts: () => getTokenValueParts,
|
|
37
37
|
gridProperty: () => gridProperty,
|
|
38
|
-
|
|
38
|
+
layers: () => layers,
|
|
39
39
|
mapShorthandToLonghands: () => mapShorthandToLonghands,
|
|
40
40
|
properties: () => properties,
|
|
41
41
|
tokenProperty: () => tokenProperty,
|
|
@@ -285,424 +285,426 @@ var defaultConfig = createConfig({
|
|
|
285
285
|
var config_default_default = defaultConfig;
|
|
286
286
|
|
|
287
287
|
// src/supports.ts
|
|
288
|
-
var
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
288
|
+
var layers = [
|
|
289
|
+
[
|
|
290
|
+
"all",
|
|
291
|
+
"-webkit-line-clamp",
|
|
292
|
+
"accent-color",
|
|
293
|
+
"align-tracks",
|
|
294
|
+
"animation",
|
|
295
|
+
"appearance",
|
|
296
|
+
"aspect-ratio",
|
|
297
|
+
"backdrop-filter",
|
|
298
|
+
"backface-visibility",
|
|
299
|
+
"background",
|
|
300
|
+
"border",
|
|
301
|
+
"border-collapse",
|
|
302
|
+
"border-spacing",
|
|
303
|
+
"border-radius",
|
|
304
|
+
"box-decoration-break",
|
|
305
|
+
"box-shadow",
|
|
306
|
+
"box-sizing",
|
|
307
|
+
"break-after",
|
|
308
|
+
"break-before",
|
|
309
|
+
"break-inside",
|
|
310
|
+
"caption-side",
|
|
311
|
+
"clear",
|
|
312
|
+
"clip-path",
|
|
313
|
+
"color",
|
|
314
|
+
"color-scheme",
|
|
315
|
+
"column-fill",
|
|
316
|
+
"column-span",
|
|
317
|
+
"column-rule",
|
|
318
|
+
"columns",
|
|
319
|
+
"contain",
|
|
320
|
+
"contain-intrinsic-size",
|
|
321
|
+
"container",
|
|
322
|
+
"content",
|
|
323
|
+
"content-visibility",
|
|
324
|
+
"counter-increment",
|
|
325
|
+
"counter-reset",
|
|
326
|
+
"counter-set",
|
|
327
|
+
"cursor",
|
|
328
|
+
"direction",
|
|
329
|
+
"display",
|
|
330
|
+
"empty-cells",
|
|
331
|
+
"filter",
|
|
332
|
+
"flex",
|
|
333
|
+
"flex-flow",
|
|
334
|
+
"float",
|
|
335
|
+
"font",
|
|
336
|
+
"font-feature-settings",
|
|
337
|
+
"font-kerning",
|
|
338
|
+
"font-language-override",
|
|
339
|
+
"font-optical-sizing",
|
|
340
|
+
"font-palette",
|
|
341
|
+
"font-size-adjust",
|
|
342
|
+
"font-synthesis",
|
|
343
|
+
"font-variation-settings",
|
|
344
|
+
"forced-color-adjust",
|
|
345
|
+
"gap",
|
|
346
|
+
"grid",
|
|
347
|
+
"grid-area",
|
|
348
|
+
"grid-column",
|
|
349
|
+
"grid-row",
|
|
350
|
+
"grid-template",
|
|
351
|
+
"hanging-punctuation",
|
|
352
|
+
"height",
|
|
353
|
+
"hyphenate-character",
|
|
354
|
+
"hyphenate-limit-chars",
|
|
355
|
+
"hyphens",
|
|
356
|
+
"image-orientation",
|
|
357
|
+
"image-rendering",
|
|
358
|
+
"image-resolution",
|
|
359
|
+
"initial-letter",
|
|
360
|
+
"input-security",
|
|
361
|
+
"inset",
|
|
362
|
+
"isolation",
|
|
363
|
+
"justify-tracks",
|
|
364
|
+
"letter-spacing",
|
|
365
|
+
"line-break",
|
|
366
|
+
"line-clamp",
|
|
367
|
+
"line-height-step",
|
|
368
|
+
"list-style",
|
|
369
|
+
"margin",
|
|
370
|
+
"mask",
|
|
371
|
+
"mask-border",
|
|
372
|
+
"math-depth",
|
|
373
|
+
"math-shift",
|
|
374
|
+
"math-style",
|
|
375
|
+
"max-height",
|
|
376
|
+
"max-width",
|
|
377
|
+
"min-height",
|
|
378
|
+
"min-width",
|
|
379
|
+
"mix-blend-mode",
|
|
380
|
+
"object-fit",
|
|
381
|
+
"object-position",
|
|
382
|
+
"offset",
|
|
383
|
+
"opacity",
|
|
384
|
+
"order",
|
|
385
|
+
"orphans",
|
|
386
|
+
"outline",
|
|
387
|
+
"overflow",
|
|
388
|
+
"overscroll-behavior",
|
|
389
|
+
"padding",
|
|
390
|
+
"page",
|
|
391
|
+
"paint-order",
|
|
392
|
+
"perspective",
|
|
393
|
+
"perspective-origin",
|
|
394
|
+
"place-content",
|
|
395
|
+
"place-items",
|
|
396
|
+
"place-self",
|
|
397
|
+
"pointer-events",
|
|
398
|
+
"position",
|
|
399
|
+
"print-color-adjust",
|
|
400
|
+
"quotes",
|
|
401
|
+
"resize",
|
|
402
|
+
"rotate",
|
|
403
|
+
"ruby-position",
|
|
404
|
+
"scale",
|
|
405
|
+
"scroll-behavior",
|
|
406
|
+
"scroll-margin",
|
|
407
|
+
"scroll-padding",
|
|
408
|
+
"scroll-snap-align",
|
|
409
|
+
"scroll-snap-stop",
|
|
410
|
+
"scroll-snap-type",
|
|
411
|
+
"scroll-timeline",
|
|
412
|
+
"scrollbar-color",
|
|
413
|
+
"scrollbar-gutter",
|
|
414
|
+
"scrollbar-width",
|
|
415
|
+
"shape-image-threshold",
|
|
416
|
+
"shape-margin",
|
|
417
|
+
"shape-outside",
|
|
418
|
+
"tab-size",
|
|
419
|
+
"table-layout",
|
|
420
|
+
"text-align",
|
|
421
|
+
"text-align-last",
|
|
422
|
+
"text-combine-upright",
|
|
423
|
+
"text-decoration",
|
|
424
|
+
"text-decoration-skip-ink",
|
|
425
|
+
"text-emphasis",
|
|
426
|
+
"text-emphasis-position",
|
|
427
|
+
"text-indent",
|
|
428
|
+
"text-justify",
|
|
429
|
+
"text-orientation",
|
|
430
|
+
"text-overflow",
|
|
431
|
+
"text-rendering",
|
|
432
|
+
"text-shadow",
|
|
433
|
+
"text-size-adjust",
|
|
434
|
+
"text-transform",
|
|
435
|
+
"text-underline-offset",
|
|
436
|
+
"text-underline-position",
|
|
437
|
+
"touch-action",
|
|
438
|
+
"transform",
|
|
439
|
+
"transform-box",
|
|
440
|
+
"transform-origin",
|
|
441
|
+
"transform-style",
|
|
442
|
+
"transition",
|
|
443
|
+
"translate",
|
|
444
|
+
"unicode-bidi",
|
|
445
|
+
"user-select",
|
|
446
|
+
"vertical-align",
|
|
447
|
+
"view-transition-name",
|
|
448
|
+
"visibility",
|
|
449
|
+
"white-space",
|
|
450
|
+
"widows",
|
|
451
|
+
"width",
|
|
452
|
+
"will-change",
|
|
453
|
+
"word-break",
|
|
454
|
+
"word-spacing",
|
|
455
|
+
"word-wrap",
|
|
456
|
+
"writing-mode",
|
|
457
|
+
"z-index",
|
|
458
|
+
"zoom"
|
|
459
|
+
],
|
|
460
|
+
[
|
|
461
|
+
"animation-composition",
|
|
462
|
+
"animation-delay",
|
|
463
|
+
"animation-direction",
|
|
464
|
+
"animation-duration",
|
|
465
|
+
"animation-fill-mode",
|
|
466
|
+
"animation-iteration-count",
|
|
467
|
+
"animation-name",
|
|
468
|
+
"animation-play-state",
|
|
469
|
+
"animation-timeline",
|
|
470
|
+
"animation-timing-function",
|
|
471
|
+
"background-attachment",
|
|
472
|
+
"background-blend-mode",
|
|
473
|
+
"background-clip",
|
|
474
|
+
"background-color",
|
|
475
|
+
"background-image",
|
|
476
|
+
"background-origin",
|
|
477
|
+
"background-position",
|
|
478
|
+
"background-position-x",
|
|
479
|
+
"background-position-y",
|
|
480
|
+
"background-repeat",
|
|
481
|
+
"background-size",
|
|
482
|
+
"border-top",
|
|
483
|
+
"border-right",
|
|
484
|
+
"border-bottom",
|
|
485
|
+
"border-left",
|
|
486
|
+
"border-top-left-radius",
|
|
487
|
+
"border-top-right-radius",
|
|
488
|
+
"border-bottom-left-radius",
|
|
489
|
+
"border-bottom-right-radius",
|
|
490
|
+
"caret-color",
|
|
491
|
+
"caret-shape",
|
|
492
|
+
"column-rule-color",
|
|
493
|
+
"column-rule-style",
|
|
494
|
+
"column-rule-width",
|
|
495
|
+
"column-count",
|
|
496
|
+
"column-width",
|
|
497
|
+
"contain-intrinsic-width",
|
|
498
|
+
"contain-intrinsic-height",
|
|
499
|
+
"container-name",
|
|
500
|
+
"container-type",
|
|
501
|
+
"flex-grow",
|
|
502
|
+
"flex-shrink",
|
|
503
|
+
"flex-basis",
|
|
504
|
+
"flex-direction",
|
|
505
|
+
"flex-wrap",
|
|
506
|
+
"font-style",
|
|
507
|
+
"font-variant",
|
|
508
|
+
"font-weight",
|
|
509
|
+
"font-stretch",
|
|
510
|
+
"font-size",
|
|
511
|
+
"font-family",
|
|
512
|
+
"row-gap",
|
|
513
|
+
"column-gap",
|
|
514
|
+
"grid-auto-columns",
|
|
515
|
+
"grid-auto-flow",
|
|
516
|
+
"grid-auto-rows",
|
|
517
|
+
"grid-template-areas",
|
|
518
|
+
"grid-template-columns",
|
|
519
|
+
"grid-template-rows",
|
|
520
|
+
"grid-row-start",
|
|
521
|
+
"grid-column-start",
|
|
522
|
+
"grid-row-end",
|
|
523
|
+
"grid-column-end",
|
|
524
|
+
"top",
|
|
525
|
+
"right",
|
|
526
|
+
"bottom",
|
|
527
|
+
"left",
|
|
528
|
+
"line-height",
|
|
529
|
+
"list-style-image",
|
|
530
|
+
"list-style-position",
|
|
531
|
+
"list-style-type",
|
|
532
|
+
"margin-top",
|
|
533
|
+
"margin-right",
|
|
534
|
+
"margin-bottom",
|
|
535
|
+
"margin-left",
|
|
536
|
+
"mask-border-mode",
|
|
537
|
+
"mask-border-outset",
|
|
538
|
+
"mask-border-repeat",
|
|
539
|
+
"mask-border-slice",
|
|
540
|
+
"mask-border-source",
|
|
541
|
+
"mask-border-width",
|
|
542
|
+
"mask-clip",
|
|
543
|
+
"mask-composite",
|
|
544
|
+
"mask-image",
|
|
545
|
+
"mask-mode",
|
|
546
|
+
"mask-origin",
|
|
547
|
+
"mask-position",
|
|
548
|
+
"mask-repeat",
|
|
549
|
+
"mask-size",
|
|
550
|
+
"mask-type",
|
|
551
|
+
"offset-anchor",
|
|
552
|
+
"offset-distance",
|
|
553
|
+
"offset-path",
|
|
554
|
+
"offset-position",
|
|
555
|
+
"offset-rotate",
|
|
556
|
+
"outline-color",
|
|
557
|
+
"outline-offset",
|
|
558
|
+
"outline-style",
|
|
559
|
+
"outline-width",
|
|
560
|
+
"overflow-anchor",
|
|
561
|
+
"overflow-clip-margin",
|
|
562
|
+
"overflow-wrap",
|
|
563
|
+
"overflow-x",
|
|
564
|
+
"overflow-y",
|
|
565
|
+
"overscroll-behavior-x",
|
|
566
|
+
"overscroll-behavior-y",
|
|
567
|
+
"padding-top",
|
|
568
|
+
"padding-right",
|
|
569
|
+
"padding-bottom",
|
|
570
|
+
"padding-left",
|
|
571
|
+
"align-content",
|
|
572
|
+
"justify-content",
|
|
573
|
+
"align-items",
|
|
574
|
+
"justify-items",
|
|
575
|
+
"align-self",
|
|
576
|
+
"justify-self",
|
|
577
|
+
"scroll-margin-top",
|
|
578
|
+
"scroll-margin-right",
|
|
579
|
+
"scroll-margin-bottom",
|
|
580
|
+
"scroll-margin-left",
|
|
581
|
+
"scroll-padding-top",
|
|
582
|
+
"scroll-padding-right",
|
|
583
|
+
"scroll-padding-bottom",
|
|
584
|
+
"scroll-padding-left",
|
|
585
|
+
"scroll-timeline-axis",
|
|
586
|
+
"scroll-timeline-name",
|
|
587
|
+
"text-decoration-color",
|
|
588
|
+
"text-decoration-line",
|
|
589
|
+
"text-decoration-style",
|
|
590
|
+
"text-decoration-thickness",
|
|
591
|
+
"text-emphasis-color",
|
|
592
|
+
"text-emphasis-style",
|
|
593
|
+
"transition-delay",
|
|
594
|
+
"transition-duration",
|
|
595
|
+
"transition-property",
|
|
596
|
+
"transition-timing-function"
|
|
597
|
+
],
|
|
598
|
+
[
|
|
599
|
+
"border-style",
|
|
600
|
+
"border-color",
|
|
601
|
+
"border-width",
|
|
602
|
+
"border-image",
|
|
603
|
+
"font-variant-alternates",
|
|
604
|
+
"font-variant-caps",
|
|
605
|
+
"font-variant-east-asian",
|
|
606
|
+
"font-variant-emoji",
|
|
607
|
+
"font-variant-ligatures",
|
|
608
|
+
"font-variant-numeric",
|
|
609
|
+
"font-variant-position"
|
|
610
|
+
],
|
|
611
|
+
[
|
|
612
|
+
"border-top-color",
|
|
613
|
+
"border-top-style",
|
|
614
|
+
"border-top-width",
|
|
615
|
+
"border-right-color",
|
|
616
|
+
"border-right-style",
|
|
617
|
+
"border-right-width",
|
|
618
|
+
"border-bottom-color",
|
|
619
|
+
"border-bottom-style",
|
|
620
|
+
"border-bottom-width",
|
|
621
|
+
"border-left-color",
|
|
622
|
+
"border-left-style",
|
|
623
|
+
"border-left-width",
|
|
624
|
+
"border-image-outset",
|
|
625
|
+
"border-image-repeat",
|
|
626
|
+
"border-image-slice",
|
|
627
|
+
"border-image-source",
|
|
628
|
+
"border-image-width"
|
|
629
|
+
],
|
|
630
|
+
[
|
|
631
|
+
"block-size",
|
|
632
|
+
"border-block",
|
|
633
|
+
"border-inline",
|
|
634
|
+
"contain-intrinsic-block-size",
|
|
635
|
+
"contain-intrinsic-inline-size",
|
|
636
|
+
"inline-size",
|
|
637
|
+
"inset-block",
|
|
638
|
+
"inset-inline",
|
|
639
|
+
"margin-block",
|
|
640
|
+
"margin-inline",
|
|
641
|
+
"max-block-size",
|
|
642
|
+
"min-block-size",
|
|
643
|
+
"max-inline-size",
|
|
644
|
+
"min-inline-size",
|
|
645
|
+
"overflow-block",
|
|
646
|
+
"overflow-inline",
|
|
647
|
+
"overscroll-behavior-block",
|
|
648
|
+
"overscroll-behavior-inline",
|
|
649
|
+
"padding-block",
|
|
650
|
+
"padding-inline",
|
|
651
|
+
"scroll-margin-block",
|
|
652
|
+
"scroll-margin-inline",
|
|
653
|
+
"scroll-padding-block",
|
|
654
|
+
"scroll-padding-inline"
|
|
655
|
+
],
|
|
656
|
+
[
|
|
657
|
+
"border-block-width",
|
|
658
|
+
"border-block-style",
|
|
659
|
+
"border-block-color",
|
|
660
|
+
"border-block-start",
|
|
661
|
+
"border-block-end",
|
|
662
|
+
"border-inline-color",
|
|
663
|
+
"border-inline-style",
|
|
664
|
+
"border-inline-width",
|
|
665
|
+
"border-inline-start",
|
|
666
|
+
"border-inline-end",
|
|
667
|
+
"inset-block-end",
|
|
668
|
+
"inset-block-start",
|
|
669
|
+
"inset-inline-end",
|
|
670
|
+
"inset-inline-start",
|
|
671
|
+
"margin-block-end",
|
|
672
|
+
"margin-block-start",
|
|
673
|
+
"margin-inline-end",
|
|
674
|
+
"margin-inline-start",
|
|
675
|
+
"padding-block-end",
|
|
676
|
+
"padding-block-start",
|
|
677
|
+
"padding-inline-end",
|
|
678
|
+
"padding-inline-start",
|
|
679
|
+
"scroll-margin-block-end",
|
|
680
|
+
"scroll-margin-block-start",
|
|
681
|
+
"scroll-margin-inline-end",
|
|
682
|
+
"scroll-margin-inline-start",
|
|
683
|
+
"scroll-padding-block-end",
|
|
684
|
+
"scroll-padding-block-start",
|
|
685
|
+
"scroll-padding-inline-end",
|
|
686
|
+
"scroll-padding-inline-start"
|
|
687
|
+
],
|
|
688
|
+
[
|
|
689
|
+
"border-start-end-radius",
|
|
690
|
+
"border-start-start-radius",
|
|
691
|
+
"border-end-end-radius",
|
|
692
|
+
"border-end-start-radius",
|
|
693
|
+
"border-block-start-color",
|
|
694
|
+
"border-block-start-style",
|
|
695
|
+
"border-block-start-width",
|
|
696
|
+
"border-block-end-color",
|
|
697
|
+
"border-block-end-style",
|
|
698
|
+
"border-block-end-width",
|
|
699
|
+
"border-inline-start-color",
|
|
700
|
+
"border-inline-start-style",
|
|
701
|
+
"border-inline-start-width",
|
|
702
|
+
"border-inline-end-color",
|
|
703
|
+
"border-inline-end-style",
|
|
704
|
+
"border-inline-end-width"
|
|
705
|
+
]
|
|
705
706
|
];
|
|
707
|
+
var properties = layers.flat();
|
|
706
708
|
|
|
707
709
|
// src/shorthands.ts
|
|
708
710
|
var mapShorthandToLonghands = {
|
|
@@ -735,8 +737,7 @@ var mapShorthandToLonghands = {
|
|
|
735
737
|
"border-color",
|
|
736
738
|
"border-style",
|
|
737
739
|
"border-width",
|
|
738
|
-
"border-image"
|
|
739
|
-
"border-radius"
|
|
740
|
+
"border-image"
|
|
740
741
|
],
|
|
741
742
|
"border-top": ["border-top-width", "border-top-style", "border-top-color"],
|
|
742
743
|
"border-right": ["border-right-width", "border-right-style", "border-right-color"],
|
|
@@ -829,19 +830,22 @@ var mapShorthandToLonghands = {
|
|
|
829
830
|
"font-family"
|
|
830
831
|
],
|
|
831
832
|
"font-variant": [
|
|
832
|
-
"font-variant-
|
|
833
|
+
"font-variant-alternates",
|
|
833
834
|
"font-variant-caps",
|
|
835
|
+
"font-variant-east-asian",
|
|
836
|
+
"font-variant-emoji",
|
|
837
|
+
"font-variant-ligatures",
|
|
834
838
|
"font-variant-numeric",
|
|
835
|
-
"font-variant-
|
|
839
|
+
"font-variant-position"
|
|
836
840
|
],
|
|
837
841
|
gap: ["row-gap", "column-gap"],
|
|
838
842
|
grid: [
|
|
839
|
-
"grid-template-rows",
|
|
840
|
-
"grid-template-columns",
|
|
841
|
-
"grid-template-areas",
|
|
842
|
-
"grid-auto-rows",
|
|
843
843
|
"grid-auto-columns",
|
|
844
|
-
"grid-auto-flow"
|
|
844
|
+
"grid-auto-flow",
|
|
845
|
+
"grid-auto-rows",
|
|
846
|
+
"grid-template-areas",
|
|
847
|
+
"grid-template-columns",
|
|
848
|
+
"grid-template-rows"
|
|
845
849
|
],
|
|
846
850
|
"grid-area": ["grid-row-start", "grid-column-start", "grid-row-end", "grid-column-end"],
|
|
847
851
|
"grid-column": ["grid-column-start", "grid-column-end"],
|
|
@@ -876,6 +880,7 @@ var mapShorthandToLonghands = {
|
|
|
876
880
|
offset: ["offset-position", "offset-path", "offset-distance", "offset-anchor", "offset-rotate"],
|
|
877
881
|
outline: ["outline-color", "outline-style", "outline-width"],
|
|
878
882
|
overflow: ["overflow-x", "overflow-y"],
|
|
883
|
+
"overscroll-behavior": ["overscroll-behavior-x", "overscroll-behavior-y"],
|
|
879
884
|
padding: ["padding-top", "padding-right", "padding-bottom", "padding-left"],
|
|
880
885
|
"padding-block": ["padding-block-start", "padding-block-end"],
|
|
881
886
|
"padding-inline": ["padding-inline-start", "padding-inline-end"],
|
|
@@ -907,10 +912,10 @@ var mapShorthandToLonghands = {
|
|
|
907
912
|
],
|
|
908
913
|
"text-emphasis": ["text-emphasis-style", "text-emphasis-color"],
|
|
909
914
|
transition: [
|
|
910
|
-
"transition-
|
|
915
|
+
"transition-delay",
|
|
911
916
|
"transition-duration",
|
|
912
|
-
"transition-
|
|
913
|
-
"transition-
|
|
917
|
+
"transition-property",
|
|
918
|
+
"transition-timing-function"
|
|
914
919
|
]
|
|
915
920
|
};
|
|
916
921
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -930,7 +935,7 @@ var mapShorthandToLonghands = {
|
|
|
930
935
|
getTokenPropertySplit,
|
|
931
936
|
getTokenValueParts,
|
|
932
937
|
gridProperty,
|
|
933
|
-
|
|
938
|
+
layers,
|
|
934
939
|
mapShorthandToLonghands,
|
|
935
940
|
properties,
|
|
936
941
|
tokenProperty,
|