@pwrs/lit-css 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lit-css.cjs CHANGED
@@ -409,23 +409,28 @@ var require_main = __commonJS({
409
409
  Object.defineProperty(exports2, "__esModule", { value: true });
410
410
  var shorthandData = {
411
411
  "animation": [
412
- "animation-name",
413
412
  "animation-duration",
414
413
  "animation-timing-function",
415
414
  "animation-delay",
416
415
  "animation-iteration-count",
417
416
  "animation-direction",
418
417
  "animation-fill-mode",
419
- "animation-play-state"
418
+ "animation-play-state",
419
+ "animation-name",
420
+ "animation-timeline"
421
+ ],
422
+ "animation-range": [
423
+ "animation-range-start",
424
+ "animation-range-end"
420
425
  ],
421
426
  "background": [
422
427
  "background-image",
423
- "background-size",
424
428
  "background-position",
429
+ "background-size",
425
430
  "background-repeat",
431
+ "background-attachment",
426
432
  "background-origin",
427
433
  "background-clip",
428
- "background-attachment",
429
434
  "background-color"
430
435
  ],
431
436
  "columns": [
@@ -437,6 +442,10 @@ var require_main = __commonJS({
437
442
  "column-rule-style",
438
443
  "column-rule-color"
439
444
  ],
445
+ "contain-intrinsic-size": [
446
+ "contain-intrinsic-width",
447
+ "contain-intrinsic-height"
448
+ ],
440
449
  "flex": [
441
450
  "flex-grow",
442
451
  "flex-shrink",
@@ -548,6 +557,14 @@ var require_main = __commonJS({
548
557
  "padding-bottom",
549
558
  "padding-left"
550
559
  ],
560
+ "position-try": [
561
+ "position-try-order",
562
+ "position-try-fallbacks"
563
+ ],
564
+ "scroll-timeline": [
565
+ "scroll-timeline-name",
566
+ "scroll-timeline-axis"
567
+ ],
551
568
  "margin": [
552
569
  "margin-block",
553
570
  "margin-block-start",
@@ -588,6 +605,16 @@ var require_main = __commonJS({
588
605
  "margin-bottom",
589
606
  "margin-left"
590
607
  ],
608
+ "marker": [
609
+ "marker-start",
610
+ "marker-mid",
611
+ "marker-end"
612
+ ],
613
+ "view-timeline": [
614
+ "view-timeline-name",
615
+ "view-timeline-axis",
616
+ "view-timeline-inset"
617
+ ],
591
618
  "border": [
592
619
  "border-top",
593
620
  "border-right",
@@ -839,11 +866,19 @@ var require_main = __commonJS({
839
866
  "align-self",
840
867
  "justify-self"
841
868
  ],
869
+ "text-box": [
870
+ "text-box-trim",
871
+ "text-box-edge"
872
+ ],
842
873
  "text-decoration": [
843
874
  "text-decoration-color",
844
875
  "text-decoration-style",
845
876
  "text-decoration-line"
846
877
  ],
878
+ "text-wrap": [
879
+ "text-wrap-mode",
880
+ "text-wrap-style"
881
+ ],
847
882
  "transition": [
848
883
  "transition-delay",
849
884
  "transition-duration",
@@ -859,6 +894,10 @@ var require_main = __commonJS({
859
894
  "font-synthesis-style",
860
895
  "font-synthesis-small-caps",
861
896
  "font-synthesis-position"
897
+ ],
898
+ "-webkit-text-stroke": [
899
+ "-webkit-text-stroke-color",
900
+ "-webkit-text-stroke-width"
862
901
  ]
863
902
  };
864
903
  function bubbleSort(list, comparator) {
@@ -887,6 +926,10 @@ var require_main = __commonJS({
887
926
  return Promise.resolve().then(function() {
888
927
  return concentricCss;
889
928
  });
929
+ case "../orders/frakto.mjs":
930
+ return Promise.resolve().then(function() {
931
+ return frakto;
932
+ });
890
933
  case "../orders/smacss.mjs":
891
934
  return Promise.resolve().then(function() {
892
935
  return smacss;
@@ -902,7 +945,8 @@ var require_main = __commonJS({
902
945
  var builtInOrders = [
903
946
  "alphabetical",
904
947
  "concentric-css",
905
- "smacss"
948
+ "smacss",
949
+ "frakto"
906
950
  ];
907
951
  var cssDeclarationSorter = ({ order = "alphabetical", keepOverrides = false } = {}) => ({
908
952
  postcssPlugin: "css-declaration-sorter",
@@ -1016,9 +1060,8 @@ var require_main = __commonJS({
1016
1060
  function removeVendorPrefix(property) {
1017
1061
  return property.replace(/^-\w+-/, "");
1018
1062
  }
1019
- var properties$2 = [
1063
+ var properties$3 = [
1020
1064
  "all",
1021
- "-webkit-line-clamp",
1022
1065
  "-webkit-text-fill-color",
1023
1066
  "-webkit-text-stroke",
1024
1067
  "-webkit-text-stroke-color",
@@ -1027,6 +1070,8 @@ var require_main = __commonJS({
1027
1070
  "align-content",
1028
1071
  "align-items",
1029
1072
  "align-self",
1073
+ "alignment-baseline",
1074
+ "anchor-name",
1030
1075
  "animation",
1031
1076
  "animation-composition",
1032
1077
  "animation-delay",
@@ -1036,6 +1081,10 @@ var require_main = __commonJS({
1036
1081
  "animation-iteration-count",
1037
1082
  "animation-name",
1038
1083
  "animation-play-state",
1084
+ "animation-range",
1085
+ "animation-range-end",
1086
+ "animation-range-start",
1087
+ "animation-timeline",
1039
1088
  "animation-timing-function",
1040
1089
  "appearance",
1041
1090
  "ascent-override",
@@ -1054,7 +1103,6 @@ var require_main = __commonJS({
1054
1103
  "background-position-y",
1055
1104
  "background-repeat",
1056
1105
  "background-size",
1057
- "baseline-source",
1058
1106
  "block-size",
1059
1107
  "border",
1060
1108
  "border-block",
@@ -1128,8 +1176,10 @@ var require_main = __commonJS({
1128
1176
  "caret-color",
1129
1177
  "clear",
1130
1178
  "clip-path",
1179
+ "clip-rule",
1131
1180
  "color",
1132
1181
  "color-interpolation",
1182
+ "color-interpolation-filters",
1133
1183
  "color-scheme",
1134
1184
  "column-count",
1135
1185
  "column-fill",
@@ -1142,7 +1192,9 @@ var require_main = __commonJS({
1142
1192
  "column-width",
1143
1193
  "columns",
1144
1194
  "contain",
1195
+ "contain-intrinsic-block-size",
1145
1196
  "contain-intrinsic-height",
1197
+ "contain-intrinsic-inline-size",
1146
1198
  "contain-intrinsic-size",
1147
1199
  "contain-intrinsic-width",
1148
1200
  "container",
@@ -1154,10 +1206,17 @@ var require_main = __commonJS({
1154
1206
  "counter-reset",
1155
1207
  "counter-set",
1156
1208
  "cursor",
1209
+ "cx",
1210
+ "cy",
1211
+ "d",
1157
1212
  "descent-override",
1158
1213
  "direction",
1159
1214
  "display",
1215
+ "dominant-baseline",
1160
1216
  "empty-cells",
1217
+ "fill",
1218
+ "fill-opacity",
1219
+ "fill-rule",
1161
1220
  "filter",
1162
1221
  "flex",
1163
1222
  "flex-basis",
@@ -1167,6 +1226,8 @@ var require_main = __commonJS({
1167
1226
  "flex-shrink",
1168
1227
  "flex-wrap",
1169
1228
  "float",
1229
+ "flood-color",
1230
+ "flood-opacity",
1170
1231
  "font",
1171
1232
  "font-display",
1172
1233
  "font-family",
@@ -1214,9 +1275,11 @@ var require_main = __commonJS({
1214
1275
  "hanging-punctuation",
1215
1276
  "height",
1216
1277
  "hyphenate-character",
1278
+ "hyphenate-limit-chars",
1217
1279
  "hyphens",
1218
1280
  "image-orientation",
1219
1281
  "image-rendering",
1282
+ "initial-letter",
1220
1283
  "inline-size",
1221
1284
  "inset",
1222
1285
  "inset-block",
@@ -1231,7 +1294,9 @@ var require_main = __commonJS({
1231
1294
  "justify-self",
1232
1295
  "left",
1233
1296
  "letter-spacing",
1297
+ "lighting-color",
1234
1298
  "line-break",
1299
+ "line-clamp",
1235
1300
  "line-gap-override",
1236
1301
  "line-height",
1237
1302
  "list-style",
@@ -1249,6 +1314,10 @@ var require_main = __commonJS({
1249
1314
  "margin-left",
1250
1315
  "margin-right",
1251
1316
  "margin-top",
1317
+ "marker",
1318
+ "marker-end",
1319
+ "marker-mid",
1320
+ "marker-start",
1252
1321
  "mask",
1253
1322
  "mask-border",
1254
1323
  "mask-border-outset",
@@ -1317,9 +1386,6 @@ var require_main = __commonJS({
1317
1386
  "padding-right",
1318
1387
  "padding-top",
1319
1388
  "page",
1320
- "page-break-after",
1321
- "page-break-before",
1322
- "page-break-inside",
1323
1389
  "paint-order",
1324
1390
  "perspective",
1325
1391
  "perspective-origin",
@@ -1328,13 +1394,23 @@ var require_main = __commonJS({
1328
1394
  "place-self",
1329
1395
  "pointer-events",
1330
1396
  "position",
1397
+ "position-anchor",
1398
+ "position-area",
1399
+ "position-try",
1400
+ "position-try-fallbacks",
1401
+ "position-try-order",
1331
1402
  "print-color-adjust",
1332
1403
  "quotes",
1404
+ "r",
1333
1405
  "resize",
1334
1406
  "right",
1335
1407
  "rotate",
1336
1408
  "row-gap",
1409
+ "ruby-align",
1410
+ "ruby-overhang",
1337
1411
  "ruby-position",
1412
+ "rx",
1413
+ "ry",
1338
1414
  "scale",
1339
1415
  "scroll-behavior",
1340
1416
  "scroll-margin",
@@ -1362,18 +1438,37 @@ var require_main = __commonJS({
1362
1438
  "scroll-snap-align",
1363
1439
  "scroll-snap-stop",
1364
1440
  "scroll-snap-type",
1441
+ "scroll-timeline",
1442
+ "scroll-timeline-axis",
1443
+ "scroll-timeline-name",
1365
1444
  "scrollbar-color",
1366
1445
  "scrollbar-gutter",
1367
1446
  "scrollbar-width",
1368
1447
  "shape-image-threshold",
1369
1448
  "shape-margin",
1370
1449
  "shape-outside",
1450
+ "shape-rendering",
1371
1451
  "size-adjust",
1372
1452
  "src",
1453
+ "stop-color",
1454
+ "stop-opacity",
1455
+ "stroke",
1456
+ "stroke-dasharray",
1457
+ "stroke-dashoffset",
1458
+ "stroke-linecap",
1459
+ "stroke-linejoin",
1460
+ "stroke-miterlimit",
1461
+ "stroke-opacity",
1462
+ "stroke-width",
1373
1463
  "tab-size",
1374
1464
  "table-layout",
1375
1465
  "text-align",
1376
1466
  "text-align-last",
1467
+ "text-anchor",
1468
+ "text-autospace",
1469
+ "text-box",
1470
+ "text-box-edge",
1471
+ "text-box-trim",
1377
1472
  "text-combine-upright",
1378
1473
  "text-decoration",
1379
1474
  "text-decoration-color",
@@ -1395,6 +1490,9 @@ var require_main = __commonJS({
1395
1490
  "text-underline-offset",
1396
1491
  "text-underline-position",
1397
1492
  "text-wrap",
1493
+ "text-wrap-mode",
1494
+ "text-wrap-style",
1495
+ "timeline-scope",
1398
1496
  "top",
1399
1497
  "touch-action",
1400
1498
  "transform",
@@ -1411,7 +1509,14 @@ var require_main = __commonJS({
1411
1509
  "unicode-bidi",
1412
1510
  "unicode-range",
1413
1511
  "user-select",
1512
+ "vector-effect",
1414
1513
  "vertical-align",
1514
+ "view-timeline",
1515
+ "view-timeline-axis",
1516
+ "view-timeline-inset",
1517
+ "view-timeline-name",
1518
+ "view-transition-class",
1519
+ "view-transition-name",
1415
1520
  "visibility",
1416
1521
  "white-space",
1417
1522
  "white-space-collapse",
@@ -1421,16 +1526,25 @@ var require_main = __commonJS({
1421
1526
  "word-break",
1422
1527
  "word-spacing",
1423
1528
  "writing-mode",
1424
- "z-index"
1529
+ "x",
1530
+ "y",
1531
+ "z-index",
1532
+ "zoom"
1425
1533
  ];
1426
1534
  var alphabetical = /* @__PURE__ */ Object.freeze({
1427
1535
  __proto__: null,
1428
- properties: properties$2
1536
+ properties: properties$3
1429
1537
  });
1430
- var properties$1 = [
1538
+ var properties$2 = [
1431
1539
  "all",
1432
1540
  "display",
1433
1541
  "position",
1542
+ "position-anchor",
1543
+ "position-area",
1544
+ "position-try",
1545
+ "position-try-order",
1546
+ "position-try-fallbacks",
1547
+ "anchor-name",
1434
1548
  "top",
1435
1549
  "right",
1436
1550
  "bottom",
@@ -1476,12 +1590,12 @@ var require_main = __commonJS({
1476
1590
  "align-self",
1477
1591
  "justify-self",
1478
1592
  "vertical-align",
1479
- "baseline-source",
1480
1593
  "order",
1481
1594
  "float",
1482
1595
  "clear",
1483
1596
  "shape-margin",
1484
1597
  "shape-outside",
1598
+ "shape-rendering",
1485
1599
  "shape-image-threshold",
1486
1600
  "orphans",
1487
1601
  "gap",
@@ -1498,16 +1612,15 @@ var require_main = __commonJS({
1498
1612
  "break-after",
1499
1613
  "break-inside",
1500
1614
  "page",
1501
- "page-break-before",
1502
- "page-break-after",
1503
- "page-break-inside",
1504
1615
  "transform",
1505
1616
  "transform-box",
1506
1617
  "transform-origin",
1507
1618
  "transform-style",
1619
+ "vector-effect",
1508
1620
  "translate",
1509
1621
  "rotate",
1510
1622
  "scale",
1623
+ "zoom",
1511
1624
  "perspective",
1512
1625
  "perspective-origin",
1513
1626
  "appearance",
@@ -1520,6 +1633,7 @@ var require_main = __commonJS({
1520
1633
  "backface-visibility",
1521
1634
  "backdrop-filter",
1522
1635
  "clip-path",
1636
+ "clip-rule",
1523
1637
  "mask",
1524
1638
  "mask-border",
1525
1639
  "mask-border-outset",
@@ -1537,8 +1651,15 @@ var require_main = __commonJS({
1537
1651
  "mask-composite",
1538
1652
  "mask-type",
1539
1653
  "filter",
1654
+ "timeline-scope",
1655
+ "scroll-timeline",
1656
+ "scroll-timeline-name",
1657
+ "scroll-timeline-axis",
1658
+ "view-timeline",
1659
+ "view-timeline-name",
1660
+ "view-timeline-axis",
1661
+ "view-timeline-inset",
1540
1662
  "animation",
1541
- "animation-composition",
1542
1663
  "animation-duration",
1543
1664
  "animation-timing-function",
1544
1665
  "animation-delay",
@@ -1547,6 +1668,13 @@ var require_main = __commonJS({
1547
1668
  "animation-fill-mode",
1548
1669
  "animation-play-state",
1549
1670
  "animation-name",
1671
+ "animation-timeline",
1672
+ "animation-composition",
1673
+ "animation-range",
1674
+ "animation-range-start",
1675
+ "animation-range-end",
1676
+ "view-transition-name",
1677
+ "view-transition-class",
1550
1678
  "transition",
1551
1679
  "transition-behavior",
1552
1680
  "transition-delay",
@@ -1558,14 +1686,44 @@ var require_main = __commonJS({
1558
1686
  "counter-reset",
1559
1687
  "counter-set",
1560
1688
  "cursor",
1689
+ "fill",
1690
+ "fill-opacity",
1691
+ "fill-rule",
1692
+ "flood-color",
1693
+ "flood-opacity",
1694
+ "lighting-color",
1695
+ "marker",
1696
+ "marker-end",
1697
+ "marker-mid",
1698
+ "marker-start",
1699
+ "x",
1700
+ "y",
1701
+ "r",
1702
+ "rx",
1703
+ "ry",
1704
+ "stop-color",
1705
+ "stop-opacity",
1706
+ "stroke",
1707
+ "stroke-dasharray",
1708
+ "stroke-dashoffset",
1709
+ "stroke-linecap",
1710
+ "stroke-linejoin",
1711
+ "stroke-miterlimit",
1712
+ "stroke-opacity",
1713
+ "stroke-width",
1561
1714
  "box-sizing",
1562
1715
  "contain",
1563
- "contain-intrinsic-height",
1564
1716
  "contain-intrinsic-size",
1565
1717
  "contain-intrinsic-width",
1718
+ "contain-intrinsic-height",
1719
+ "contain-intrinsic-inline-size",
1720
+ "contain-intrinsic-block-size",
1566
1721
  "container",
1567
1722
  "container-name",
1568
1723
  "container-type",
1724
+ "cx",
1725
+ "cy",
1726
+ "d",
1569
1727
  "margin",
1570
1728
  "margin-top",
1571
1729
  "margin-right",
@@ -1654,15 +1812,15 @@ var require_main = __commonJS({
1654
1812
  "background",
1655
1813
  "background-image",
1656
1814
  "background-position",
1815
+ "background-position-x",
1816
+ "background-position-y",
1657
1817
  "background-size",
1658
1818
  "background-repeat",
1819
+ "background-attachment",
1659
1820
  "background-origin",
1660
1821
  "background-clip",
1661
- "background-attachment",
1662
1822
  "background-color",
1663
1823
  "background-blend-mode",
1664
- "background-position-x",
1665
- "background-position-y",
1666
1824
  "isolation",
1667
1825
  "padding",
1668
1826
  "padding-top",
@@ -1684,11 +1842,11 @@ var require_main = __commonJS({
1684
1842
  "height",
1685
1843
  "min-height",
1686
1844
  "max-height",
1687
- "-webkit-line-clamp",
1845
+ "line-clamp",
1688
1846
  "-webkit-text-fill-color",
1689
1847
  "-webkit-text-stroke",
1690
- "-webkit-text-stroke-color",
1691
1848
  "-webkit-text-stroke-width",
1849
+ "-webkit-text-stroke-color",
1692
1850
  "inline-size",
1693
1851
  "min-inline-size",
1694
1852
  "max-inline-size",
@@ -1749,6 +1907,7 @@ var require_main = __commonJS({
1749
1907
  "hanging-punctuation",
1750
1908
  "color",
1751
1909
  "color-interpolation",
1910
+ "color-interpolation-filters",
1752
1911
  "accent-color",
1753
1912
  "print-color-adjust",
1754
1913
  "forced-color-adjust",
@@ -1784,11 +1943,20 @@ var require_main = __commonJS({
1784
1943
  "font-variant-position",
1785
1944
  "font-variation-settings",
1786
1945
  "font-feature-settings",
1946
+ "alignment-baseline",
1947
+ "dominant-baseline",
1948
+ "text-anchor",
1949
+ "text-autospace",
1950
+ "text-box",
1951
+ "text-box-trim",
1952
+ "text-box-edge",
1787
1953
  "ascent-override",
1788
1954
  "descent-override",
1789
1955
  "line-gap-override",
1790
1956
  "hyphens",
1791
1957
  "hyphenate-character",
1958
+ "hyphenate-limit-chars",
1959
+ "initial-letter",
1792
1960
  "letter-spacing",
1793
1961
  "line-break",
1794
1962
  "list-style",
@@ -1800,6 +1968,8 @@ var require_main = __commonJS({
1800
1968
  "unicode-bidi",
1801
1969
  "unicode-range",
1802
1970
  "user-select",
1971
+ "ruby-align",
1972
+ "ruby-overhang",
1803
1973
  "ruby-position",
1804
1974
  "math-depth",
1805
1975
  "math-style",
@@ -1826,6 +1996,8 @@ var require_main = __commonJS({
1826
1996
  "text-shadow",
1827
1997
  "text-transform",
1828
1998
  "text-wrap",
1999
+ "text-wrap-mode",
2000
+ "text-wrap-style",
1829
2001
  "white-space",
1830
2002
  "white-space-collapse",
1831
2003
  "word-break",
@@ -1835,6 +2007,481 @@ var require_main = __commonJS({
1835
2007
  "widows"
1836
2008
  ];
1837
2009
  var concentricCss = /* @__PURE__ */ Object.freeze({
2010
+ __proto__: null,
2011
+ properties: properties$2
2012
+ });
2013
+ var properties$1 = [
2014
+ "position",
2015
+ "position-anchor",
2016
+ "position-area",
2017
+ "position-try",
2018
+ "position-try-order",
2019
+ "position-try-fallbacks",
2020
+ "anchor-name",
2021
+ "top",
2022
+ "right",
2023
+ "bottom",
2024
+ "left",
2025
+ "inset",
2026
+ "inset-block",
2027
+ "inset-block-start",
2028
+ "inset-block-end",
2029
+ "inset-inline",
2030
+ "inset-inline-start",
2031
+ "inset-inline-end",
2032
+ "z-index",
2033
+ "float",
2034
+ "clear",
2035
+ "display",
2036
+ "box-sizing",
2037
+ "box-decoration-break",
2038
+ "aspect-ratio",
2039
+ "contain",
2040
+ "contain-intrinsic-size",
2041
+ "contain-intrinsic-width",
2042
+ "contain-intrinsic-height",
2043
+ "contain-intrinsic-block-size",
2044
+ "contain-intrinsic-inline-size",
2045
+ "container",
2046
+ "container-name",
2047
+ "container-type",
2048
+ "width",
2049
+ "min-width",
2050
+ "max-width",
2051
+ "height",
2052
+ "min-height",
2053
+ "max-height",
2054
+ "block-size",
2055
+ "min-block-size",
2056
+ "max-block-size",
2057
+ "inline-size",
2058
+ "min-inline-size",
2059
+ "max-inline-size",
2060
+ "margin",
2061
+ "margin-top",
2062
+ "margin-right",
2063
+ "margin-bottom",
2064
+ "margin-left",
2065
+ "margin-block",
2066
+ "margin-block-start",
2067
+ "margin-block-end",
2068
+ "margin-inline",
2069
+ "margin-inline-start",
2070
+ "margin-inline-end",
2071
+ "padding",
2072
+ "padding-top",
2073
+ "padding-right",
2074
+ "padding-bottom",
2075
+ "padding-left",
2076
+ "padding-block",
2077
+ "padding-block-start",
2078
+ "padding-block-end",
2079
+ "padding-inline",
2080
+ "padding-inline-start",
2081
+ "padding-inline-end",
2082
+ "flex",
2083
+ "flex-grow",
2084
+ "flex-shrink",
2085
+ "flex-basis",
2086
+ "flex-flow",
2087
+ "flex-direction",
2088
+ "flex-wrap",
2089
+ "grid",
2090
+ "grid-area",
2091
+ "grid-auto-columns",
2092
+ "grid-auto-flow",
2093
+ "grid-auto-rows",
2094
+ "grid-column",
2095
+ "grid-column-end",
2096
+ "grid-column-start",
2097
+ "grid-row",
2098
+ "grid-row-end",
2099
+ "grid-row-start",
2100
+ "grid-template",
2101
+ "grid-template-areas",
2102
+ "grid-template-columns",
2103
+ "grid-template-rows",
2104
+ "align-content",
2105
+ "align-items",
2106
+ "align-self",
2107
+ "justify-content",
2108
+ "justify-items",
2109
+ "justify-self",
2110
+ "place-content",
2111
+ "place-items",
2112
+ "place-self",
2113
+ "gap",
2114
+ "row-gap",
2115
+ "column-gap",
2116
+ "order",
2117
+ "orphans",
2118
+ "widows",
2119
+ "columns",
2120
+ "column-width",
2121
+ "column-count",
2122
+ "column-span",
2123
+ "column-rule",
2124
+ "column-rule-width",
2125
+ "column-rule-style",
2126
+ "column-rule-color",
2127
+ "column-fill",
2128
+ "table-layout",
2129
+ "caption-side",
2130
+ "color",
2131
+ "caret-color",
2132
+ "font",
2133
+ "font-style",
2134
+ "font-variant",
2135
+ "font-weight",
2136
+ "font-stretch",
2137
+ "font-size",
2138
+ "font-family",
2139
+ "font-size-adjust",
2140
+ "font-display",
2141
+ "font-optical-sizing",
2142
+ "font-variation-settings",
2143
+ "font-feature-settings",
2144
+ "font-kerning",
2145
+ "font-language-override",
2146
+ "font-palette",
2147
+ "font-synthesis",
2148
+ "font-synthesis-weight",
2149
+ "font-synthesis-style",
2150
+ "font-synthesis-small-caps",
2151
+ "font-synthesis-position",
2152
+ "font-variant-alternates",
2153
+ "font-variant-caps",
2154
+ "font-variant-ligatures",
2155
+ "font-variant-numeric",
2156
+ "font-variant-position",
2157
+ "font-variant-east-asian",
2158
+ "font-variant-emoji",
2159
+ "size-adjust",
2160
+ "text-align",
2161
+ "text-align-last",
2162
+ "text-indent",
2163
+ "text-justify",
2164
+ "text-wrap",
2165
+ "text-wrap-mode",
2166
+ "text-wrap-style",
2167
+ "text-overflow",
2168
+ "text-transform",
2169
+ "text-orientation",
2170
+ "text-combine-upright",
2171
+ "text-decoration",
2172
+ "text-decoration-line",
2173
+ "text-decoration-color",
2174
+ "text-decoration-style",
2175
+ "text-decoration-thickness",
2176
+ "text-decoration-skip-ink",
2177
+ "text-underline-offset",
2178
+ "text-underline-position",
2179
+ "text-emphasis",
2180
+ "text-emphasis-style",
2181
+ "text-emphasis-color",
2182
+ "text-emphasis-position",
2183
+ "text-shadow",
2184
+ "text-rendering",
2185
+ "text-anchor",
2186
+ "text-autospace",
2187
+ "text-box",
2188
+ "text-box-trim",
2189
+ "text-box-edge",
2190
+ "-webkit-text-fill-color",
2191
+ "-webkit-text-stroke",
2192
+ "-webkit-text-stroke-width",
2193
+ "-webkit-text-stroke-color",
2194
+ "line-height",
2195
+ "line-break",
2196
+ "line-clamp",
2197
+ "line-gap-override",
2198
+ "white-space",
2199
+ "white-space-collapse",
2200
+ "word-break",
2201
+ "word-spacing",
2202
+ "letter-spacing",
2203
+ "vertical-align",
2204
+ "list-style",
2205
+ "list-style-type",
2206
+ "list-style-position",
2207
+ "list-style-image",
2208
+ "hyphens",
2209
+ "hyphenate-character",
2210
+ "hyphenate-limit-chars",
2211
+ "hanging-punctuation",
2212
+ "direction",
2213
+ "unicode-bidi",
2214
+ "unicode-range",
2215
+ "writing-mode",
2216
+ "dominant-baseline",
2217
+ "alignment-baseline",
2218
+ "ascent-override",
2219
+ "descent-override",
2220
+ "initial-letter",
2221
+ "ruby-position",
2222
+ "ruby-overhang",
2223
+ "ruby-align",
2224
+ "quotes",
2225
+ "background",
2226
+ "background-image",
2227
+ "background-position",
2228
+ "background-position-x",
2229
+ "background-position-y",
2230
+ "background-size",
2231
+ "background-repeat",
2232
+ "background-attachment",
2233
+ "background-origin",
2234
+ "background-clip",
2235
+ "background-color",
2236
+ "background-blend-mode",
2237
+ "border",
2238
+ "border-width",
2239
+ "border-style",
2240
+ "border-color",
2241
+ "border-top",
2242
+ "border-top-width",
2243
+ "border-top-style",
2244
+ "border-top-color",
2245
+ "border-right",
2246
+ "border-right-width",
2247
+ "border-right-style",
2248
+ "border-right-color",
2249
+ "border-bottom",
2250
+ "border-bottom-width",
2251
+ "border-bottom-style",
2252
+ "border-bottom-color",
2253
+ "border-left",
2254
+ "border-left-width",
2255
+ "border-left-style",
2256
+ "border-left-color",
2257
+ "border-block",
2258
+ "border-block-width",
2259
+ "border-block-style",
2260
+ "border-block-color",
2261
+ "border-block-start",
2262
+ "border-block-start-width",
2263
+ "border-block-start-style",
2264
+ "border-block-start-color",
2265
+ "border-block-end",
2266
+ "border-block-end-width",
2267
+ "border-block-end-style",
2268
+ "border-block-end-color",
2269
+ "border-inline",
2270
+ "border-inline-width",
2271
+ "border-inline-style",
2272
+ "border-inline-color",
2273
+ "border-inline-start",
2274
+ "border-inline-start-width",
2275
+ "border-inline-start-style",
2276
+ "border-inline-start-color",
2277
+ "border-inline-end",
2278
+ "border-inline-end-width",
2279
+ "border-inline-end-style",
2280
+ "border-inline-end-color",
2281
+ "border-radius",
2282
+ "border-top-left-radius",
2283
+ "border-top-right-radius",
2284
+ "border-bottom-right-radius",
2285
+ "border-bottom-left-radius",
2286
+ "border-start-start-radius",
2287
+ "border-start-end-radius",
2288
+ "border-end-end-radius",
2289
+ "border-end-start-radius",
2290
+ "border-image",
2291
+ "border-image-source",
2292
+ "border-image-slice",
2293
+ "border-image-width",
2294
+ "border-image-outset",
2295
+ "border-image-repeat",
2296
+ "border-collapse",
2297
+ "border-spacing",
2298
+ "outline",
2299
+ "outline-width",
2300
+ "outline-style",
2301
+ "outline-color",
2302
+ "outline-offset",
2303
+ "box-shadow",
2304
+ "opacity",
2305
+ "visibility",
2306
+ "object-fit",
2307
+ "object-position",
2308
+ "filter",
2309
+ "backdrop-filter",
2310
+ "backface-visibility",
2311
+ "mask",
2312
+ "mask-border",
2313
+ "mask-border-outset",
2314
+ "mask-border-repeat",
2315
+ "mask-border-slice",
2316
+ "mask-border-source",
2317
+ "mask-border-width",
2318
+ "mask-clip",
2319
+ "mask-composite",
2320
+ "mask-image",
2321
+ "mask-mode",
2322
+ "mask-origin",
2323
+ "mask-position",
2324
+ "mask-repeat",
2325
+ "mask-size",
2326
+ "mask-type",
2327
+ "shape-outside",
2328
+ "shape-margin",
2329
+ "shape-rendering",
2330
+ "shape-image-threshold",
2331
+ "d",
2332
+ "x",
2333
+ "y",
2334
+ "cx",
2335
+ "cy",
2336
+ "r",
2337
+ "rx",
2338
+ "ry",
2339
+ "clip-path",
2340
+ "clip-rule",
2341
+ "fill",
2342
+ "fill-opacity",
2343
+ "fill-rule",
2344
+ "flood-color",
2345
+ "flood-opacity",
2346
+ "lighting-color",
2347
+ "marker",
2348
+ "marker-start",
2349
+ "marker-mid",
2350
+ "marker-end",
2351
+ "stroke",
2352
+ "stroke-width",
2353
+ "stroke-opacity",
2354
+ "stroke-dasharray",
2355
+ "stroke-dashoffset",
2356
+ "stroke-linecap",
2357
+ "stroke-linejoin",
2358
+ "stroke-miterlimit",
2359
+ "stop-color",
2360
+ "stop-opacity",
2361
+ "accent-color",
2362
+ "mix-blend-mode",
2363
+ "paint-order",
2364
+ "isolation",
2365
+ "appearance",
2366
+ "color-scheme",
2367
+ "color-interpolation",
2368
+ "color-interpolation-filters",
2369
+ "transform",
2370
+ "transform-box",
2371
+ "transform-origin",
2372
+ "transform-style",
2373
+ "translate",
2374
+ "scale",
2375
+ "rotate",
2376
+ "zoom",
2377
+ "vector-effect",
2378
+ "transition",
2379
+ "transition-property",
2380
+ "transition-duration",
2381
+ "transition-timing-function",
2382
+ "transition-delay",
2383
+ "transition-behavior",
2384
+ "view-transition-name",
2385
+ "view-transition-class",
2386
+ "timeline-scope",
2387
+ "scroll-timeline",
2388
+ "scroll-timeline-name",
2389
+ "scroll-timeline-axis",
2390
+ "view-timeline",
2391
+ "view-timeline-name",
2392
+ "view-timeline-axis",
2393
+ "view-timeline-inset",
2394
+ "animation",
2395
+ "animation-duration",
2396
+ "animation-timing-function",
2397
+ "animation-delay",
2398
+ "animation-iteration-count",
2399
+ "animation-direction",
2400
+ "animation-fill-mode",
2401
+ "animation-play-state",
2402
+ "animation-name",
2403
+ "animation-timeline",
2404
+ "animation-composition",
2405
+ "animation-range",
2406
+ "animation-range-start",
2407
+ "animation-range-end",
2408
+ "offset",
2409
+ "offset-path",
2410
+ "offset-position",
2411
+ "offset-distance",
2412
+ "offset-rotate",
2413
+ "offset-anchor",
2414
+ "image-orientation",
2415
+ "image-rendering",
2416
+ "perspective",
2417
+ "perspective-origin",
2418
+ "will-change",
2419
+ "cursor",
2420
+ "pointer-events",
2421
+ "touch-action",
2422
+ "user-select",
2423
+ "resize",
2424
+ "overflow",
2425
+ "overflow-x",
2426
+ "overflow-y",
2427
+ "overflow-block",
2428
+ "overflow-inline",
2429
+ "overflow-wrap",
2430
+ "overflow-anchor",
2431
+ "overflow-clip-margin",
2432
+ "overscroll-behavior",
2433
+ "overscroll-behavior-x",
2434
+ "overscroll-behavior-y",
2435
+ "overscroll-behavior-block",
2436
+ "overscroll-behavior-inline",
2437
+ "scroll-behavior",
2438
+ "scroll-margin",
2439
+ "scroll-margin-top",
2440
+ "scroll-margin-right",
2441
+ "scroll-margin-bottom",
2442
+ "scroll-margin-left",
2443
+ "scroll-margin-block",
2444
+ "scroll-margin-block-start",
2445
+ "scroll-margin-block-end",
2446
+ "scroll-margin-inline",
2447
+ "scroll-margin-inline-start",
2448
+ "scroll-margin-inline-end",
2449
+ "scroll-padding",
2450
+ "scroll-padding-top",
2451
+ "scroll-padding-right",
2452
+ "scroll-padding-bottom",
2453
+ "scroll-padding-left",
2454
+ "scroll-padding-block",
2455
+ "scroll-padding-block-start",
2456
+ "scroll-padding-block-end",
2457
+ "scroll-padding-inline",
2458
+ "scroll-padding-inline-start",
2459
+ "scroll-padding-inline-end",
2460
+ "scroll-snap-type",
2461
+ "scroll-snap-align",
2462
+ "scroll-snap-stop",
2463
+ "scrollbar-width",
2464
+ "scrollbar-color",
2465
+ "scrollbar-gutter",
2466
+ "all",
2467
+ "content",
2468
+ "content-visibility",
2469
+ "page",
2470
+ "break-after",
2471
+ "break-before",
2472
+ "break-inside",
2473
+ "counter-reset",
2474
+ "counter-increment",
2475
+ "counter-set",
2476
+ "empty-cells",
2477
+ "forced-color-adjust",
2478
+ "print-color-adjust",
2479
+ "math-depth",
2480
+ "math-style",
2481
+ "src",
2482
+ "tab-size"
2483
+ ];
2484
+ var frakto = /* @__PURE__ */ Object.freeze({
1838
2485
  __proto__: null,
1839
2486
  properties: properties$1
1840
2487
  });
@@ -1842,12 +2489,17 @@ var require_main = __commonJS({
1842
2489
  "all",
1843
2490
  "box-sizing",
1844
2491
  "contain",
1845
- "contain-intrinsic-height",
1846
2492
  "contain-intrinsic-size",
1847
2493
  "contain-intrinsic-width",
2494
+ "contain-intrinsic-height",
2495
+ "contain-intrinsic-inline-size",
2496
+ "contain-intrinsic-block-size",
1848
2497
  "container",
1849
2498
  "container-name",
1850
2499
  "container-type",
2500
+ "cx",
2501
+ "cy",
2502
+ "d",
1851
2503
  "display",
1852
2504
  "appearance",
1853
2505
  "visibility",
@@ -1855,6 +2507,12 @@ var require_main = __commonJS({
1855
2507
  "z-index",
1856
2508
  "paint-order",
1857
2509
  "position",
2510
+ "position-anchor",
2511
+ "position-area",
2512
+ "position-try",
2513
+ "position-try-order",
2514
+ "position-try-fallbacks",
2515
+ "anchor-name",
1858
2516
  "top",
1859
2517
  "right",
1860
2518
  "bottom",
@@ -1907,11 +2565,11 @@ var require_main = __commonJS({
1907
2565
  "height",
1908
2566
  "min-height",
1909
2567
  "max-height",
1910
- "-webkit-line-clamp",
2568
+ "line-clamp",
1911
2569
  "-webkit-text-fill-color",
1912
2570
  "-webkit-text-stroke",
1913
- "-webkit-text-stroke-color",
1914
2571
  "-webkit-text-stroke-width",
2572
+ "-webkit-text-stroke-color",
1915
2573
  "inline-size",
1916
2574
  "min-inline-size",
1917
2575
  "max-inline-size",
@@ -1978,9 +2636,11 @@ var require_main = __commonJS({
1978
2636
  "transform-box",
1979
2637
  "transform-origin",
1980
2638
  "transform-style",
2639
+ "vector-effect",
1981
2640
  "translate",
1982
2641
  "rotate",
1983
2642
  "scale",
2643
+ "zoom",
1984
2644
  "border",
1985
2645
  "border-top",
1986
2646
  "border-right",
@@ -2052,22 +2712,48 @@ var require_main = __commonJS({
2052
2712
  "background",
2053
2713
  "background-image",
2054
2714
  "background-position",
2715
+ "background-position-x",
2716
+ "background-position-y",
2055
2717
  "background-size",
2056
2718
  "background-repeat",
2719
+ "background-attachment",
2057
2720
  "background-origin",
2058
2721
  "background-clip",
2059
- "background-attachment",
2060
2722
  "background-color",
2061
2723
  "background-blend-mode",
2062
- "background-position-x",
2063
- "background-position-y",
2064
2724
  "box-shadow",
2065
2725
  "isolation",
2726
+ "fill",
2727
+ "fill-opacity",
2728
+ "fill-rule",
2729
+ "flood-color",
2730
+ "flood-opacity",
2731
+ "lighting-color",
2732
+ "marker",
2733
+ "marker-end",
2734
+ "marker-mid",
2735
+ "marker-start",
2736
+ "x",
2737
+ "y",
2738
+ "r",
2739
+ "rx",
2740
+ "ry",
2741
+ "stop-color",
2742
+ "stop-opacity",
2743
+ "stroke",
2744
+ "stroke-dasharray",
2745
+ "stroke-dashoffset",
2746
+ "stroke-linecap",
2747
+ "stroke-linejoin",
2748
+ "stroke-miterlimit",
2749
+ "stroke-opacity",
2750
+ "stroke-width",
2066
2751
  "content",
2067
2752
  "quotes",
2068
2753
  "hanging-punctuation",
2069
2754
  "color",
2070
2755
  "color-interpolation",
2756
+ "color-interpolation-filters",
2071
2757
  "accent-color",
2072
2758
  "print-color-adjust",
2073
2759
  "forced-color-adjust",
@@ -2103,11 +2789,20 @@ var require_main = __commonJS({
2103
2789
  "font-variant-position",
2104
2790
  "font-variation-settings",
2105
2791
  "font-feature-settings",
2792
+ "alignment-baseline",
2793
+ "dominant-baseline",
2794
+ "text-anchor",
2795
+ "text-autospace",
2796
+ "text-box",
2797
+ "text-box-trim",
2798
+ "text-box-edge",
2106
2799
  "ascent-override",
2107
2800
  "descent-override",
2108
2801
  "line-gap-override",
2109
2802
  "hyphens",
2110
2803
  "hyphenate-character",
2804
+ "hyphenate-limit-chars",
2805
+ "initial-letter",
2111
2806
  "letter-spacing",
2112
2807
  "line-break",
2113
2808
  "list-style",
@@ -2137,15 +2832,23 @@ var require_main = __commonJS({
2137
2832
  "text-shadow",
2138
2833
  "text-transform",
2139
2834
  "text-wrap",
2835
+ "text-wrap-mode",
2836
+ "text-wrap-style",
2140
2837
  "vertical-align",
2141
- "baseline-source",
2142
2838
  "white-space",
2143
2839
  "white-space-collapse",
2144
2840
  "word-break",
2145
2841
  "word-spacing",
2146
2842
  "overflow-wrap",
2843
+ "timeline-scope",
2844
+ "scroll-timeline",
2845
+ "scroll-timeline-name",
2846
+ "scroll-timeline-axis",
2847
+ "view-timeline",
2848
+ "view-timeline-name",
2849
+ "view-timeline-axis",
2850
+ "view-timeline-inset",
2147
2851
  "animation",
2148
- "animation-composition",
2149
2852
  "animation-duration",
2150
2853
  "animation-timing-function",
2151
2854
  "animation-delay",
@@ -2154,16 +2857,21 @@ var require_main = __commonJS({
2154
2857
  "animation-fill-mode",
2155
2858
  "animation-play-state",
2156
2859
  "animation-name",
2860
+ "animation-timeline",
2861
+ "animation-composition",
2862
+ "animation-range",
2863
+ "animation-range-start",
2864
+ "animation-range-end",
2865
+ "view-transition-name",
2866
+ "view-transition-class",
2157
2867
  "mix-blend-mode",
2158
2868
  "break-before",
2159
2869
  "break-after",
2160
2870
  "break-inside",
2161
2871
  "page",
2162
- "page-break-before",
2163
- "page-break-after",
2164
- "page-break-inside",
2165
2872
  "caption-side",
2166
2873
  "clip-path",
2874
+ "clip-rule",
2167
2875
  "counter-increment",
2168
2876
  "counter-reset",
2169
2877
  "counter-set",
@@ -2225,8 +2933,11 @@ var require_main = __commonJS({
2225
2933
  "shape-image-threshold",
2226
2934
  "shape-margin",
2227
2935
  "shape-outside",
2936
+ "shape-rendering",
2228
2937
  "tab-size",
2229
2938
  "table-layout",
2939
+ "ruby-align",
2940
+ "ruby-overhang",
2230
2941
  "ruby-position",
2231
2942
  "math-depth",
2232
2943
  "math-style",
@@ -2416,13 +3127,7 @@ var require_src3 = __commonJS({
2416
3127
  svgo: {
2417
3128
  plugins: [
2418
3129
  {
2419
- name: "preset-default",
2420
- params: {
2421
- overrides: {
2422
- removeViewBox: false,
2423
- removeTitle: false
2424
- }
2425
- }
3130
+ name: "preset-default"
2426
3131
  }
2427
3132
  ]
2428
3133
  }
@@ -2592,6 +3297,7 @@ var require_src4 = __commonJS({
2592
3297
  // packages/lit-css/lit-css.ts
2593
3298
  var lit_css_exports = {};
2594
3299
  __export(lit_css_exports, {
3300
+ toTaggedTemplateLiteral: () => toTaggedTemplateLiteral,
2595
3301
  transform: () => transform
2596
3302
  });
2597
3303
  module.exports = __toCommonJS(lit_css_exports);
@@ -2606,23 +3312,31 @@ async function cssnanoify(css, options) {
2606
3312
  const result = await (0, import_cssnano.default)(cssnanoOptions).process(css);
2607
3313
  return result.css;
2608
3314
  }
2609
- async function transform({
3315
+ async function toTaggedTemplateLiteral({
2610
3316
  css: source,
2611
3317
  filePath,
2612
- specifier = "lit",
2613
3318
  tag = "css",
2614
3319
  cssnano: cssnano2 = false,
2615
3320
  transform: transform2 = (x) => x
2616
3321
  }) {
2617
3322
  const css = await transform2(source, { filePath });
2618
3323
  const cssContent = cssnano2 ? await cssnanoify(css, cssnano2) : css;
3324
+ return `${tag}${stringToTemplateLiteral(cssContent)}`;
3325
+ }
3326
+ async function transform({
3327
+ specifier = "lit",
3328
+ tag = "css",
3329
+ ...rest
3330
+ }) {
3331
+ const taggedTL = await toTaggedTemplateLiteral({ tag, ...rest });
2619
3332
  return `import {${tag}} from '${specifier}';
2620
- export const styles = ${tag}${stringToTemplateLiteral(cssContent)};
3333
+ export const styles = ${taggedTL};
2621
3334
  export default styles;
2622
3335
  `;
2623
3336
  }
2624
3337
  // Annotate the CommonJS export names for ESM import in node:
2625
3338
  0 && (module.exports = {
3339
+ toTaggedTemplateLiteral,
2626
3340
  transform
2627
3341
  });
2628
3342
  /*! Bundled license information:
package/lit-css.d.ts CHANGED
@@ -39,4 +39,5 @@ export interface Options {
39
39
  */
40
40
  transform?(source: string, meta: Meta): string | Promise<string>;
41
41
  }
42
- export declare function transform({ css: source, filePath, specifier, tag, cssnano, transform, }: Options): Promise<string>;
42
+ export declare function toTaggedTemplateLiteral({ css: source, filePath, tag, cssnano, transform, }: Omit<Options, 'specifier'>): Promise<string>;
43
+ export declare function transform({ specifier, tag, ...rest }: Options): Promise<string>;
package/lit-css.js CHANGED
@@ -9,12 +9,16 @@ async function cssnanoify(css, options) {
9
9
  const result = await cssnano(cssnanoOptions).process(css);
10
10
  return result.css;
11
11
  }
12
- export async function transform({ css: source, filePath, specifier = 'lit', tag = 'css', cssnano = false, transform = x => x, }) {
12
+ export async function toTaggedTemplateLiteral({ css: source, filePath, tag = 'css', cssnano = false, transform = x => x, }) {
13
13
  const css = await transform(source, { filePath });
14
14
  const cssContent = cssnano ? await cssnanoify(css, cssnano)
15
15
  : css;
16
+ return `${tag}${stringToTemplateLiteral(cssContent)}`;
17
+ }
18
+ export async function transform({ specifier = 'lit', tag = 'css', ...rest }) {
19
+ const taggedTL = await toTaggedTemplateLiteral({ tag, ...rest });
16
20
  return `import {${tag}} from '${specifier}';
17
- export const styles = ${tag}${stringToTemplateLiteral(cssContent)};
21
+ export const styles = ${taggedTL};
18
22
  export default styles;
19
23
  `;
20
24
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pwrs/lit-css",
3
3
  "description": "Import CSS files as css tagged-template literals",
4
- "version": "4.0.0",
4
+ "version": "4.1.0",
5
5
  "type": "module",
6
6
  "main": "lit-css.js",
7
7
  "types": "lit-css.d.ts",