diff options
Diffstat (limited to 'node_modules/css-declaration-sorter/dist')
| -rw-r--r-- | node_modules/css-declaration-sorter/dist/main.cjs | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/node_modules/css-declaration-sorter/dist/main.cjs b/node_modules/css-declaration-sorter/dist/main.cjs index cef56d78..309304dc 100644 --- a/node_modules/css-declaration-sorter/dist/main.cjs +++ b/node_modules/css-declaration-sorter/dist/main.cjs @@ -284,6 +284,10 @@ const shorthandData = { 'border-top-left-radius', 'border-bottom-right-radius', 'border-bottom-left-radius', + 'border-end-end-radius', + 'border-end-start-radius', + 'border-start-end-radius', + 'border-start-start-radius', ], 'border-block': [ 'border-block-start', @@ -434,6 +438,12 @@ const shorthandData = { 'text-emphasis-style', 'text-emphasis-color', ], + 'font-synthesis': [ + 'font-synthesis-weight', + 'font-synthesis-style', + 'font-synthesis-small-caps', + 'font-synthesis-position', + ], }; function bubbleSort (list, comparator) { @@ -595,7 +605,13 @@ function withOverridesComparator (shorthandData) { function orderComparator (order) { return function (a, b) { - return order.indexOf(a) - order.indexOf(b); + const bIndex = order.indexOf(b); + + if (bIndex === -1) { + return 0; + } + + return order.indexOf(a) - bIndex; }; } @@ -623,6 +639,7 @@ const properties$2 = [ "align-items", "align-self", "animation", + "animation-composition", "animation-delay", "animation-direction", "animation-duration", @@ -648,6 +665,7 @@ const properties$2 = [ "background-position-y", "background-repeat", "background-size", + "baseline-source", "block-size", "border", "border-block", @@ -741,7 +759,6 @@ const properties$2 = [ "container-name", "container-type", "content", - "content-visibility", "counter-increment", "counter-reset", "counter-set", @@ -762,6 +779,7 @@ const properties$2 = [ "font", "font-display", "font-family", + "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", @@ -771,6 +789,10 @@ const properties$2 = [ "font-stretch", "font-style", "font-synthesis", + "font-synthesis-position", + "font-synthesis-small-caps", + "font-synthesis-style", + "font-synthesis-weight", "font-variant", "font-variant-alternates", "font-variant-caps", @@ -852,6 +874,8 @@ const properties$2 = [ "mask-repeat", "mask-size", "mask-type", + "math-depth", + "math-style", "max-block-size", "max-height", "max-inline-size", @@ -1058,6 +1082,7 @@ const properties$1 = [ "align-self", "justify-self", "vertical-align", + "baseline-source", "order", "float", "clear", @@ -1094,7 +1119,6 @@ const properties$1 = [ "perspective-origin", "appearance", "visibility", - "content-visibility", "opacity", "z-index", "paint-order", @@ -1120,6 +1144,7 @@ const properties$1 = [ "mask-type", "filter", "animation", + "animation-composition", "animation-duration", "animation-timing-function", "animation-delay", @@ -1353,6 +1378,10 @@ const properties$1 = [ "font-palette", "font-size-adjust", "font-synthesis", + "font-synthesis-weight", + "font-synthesis-style", + "font-synthesis-small-caps", + "font-synthesis-position", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", @@ -1361,6 +1390,7 @@ const properties$1 = [ "font-variant-numeric", "font-variant-position", "font-variation-settings", + "font-feature-settings", "ascent-override", "descent-override", "line-gap-override", @@ -1378,6 +1408,8 @@ const properties$1 = [ "unicode-range", "user-select", "ruby-position", + "math-depth", + "math-style", "text-combine-upright", "text-align", "text-align-last", @@ -1426,7 +1458,6 @@ const properties = [ "display", "appearance", "visibility", - "content-visibility", "z-index", "paint-order", "position", @@ -1668,6 +1699,10 @@ const properties = [ "font-palette", "font-size-adjust", "font-synthesis", + "font-synthesis-weight", + "font-synthesis-style", + "font-synthesis-small-caps", + "font-synthesis-position", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", @@ -1676,6 +1711,7 @@ const properties = [ "font-variant-numeric", "font-variant-position", "font-variation-settings", + "font-feature-settings", "ascent-override", "descent-override", "line-gap-override", @@ -1710,12 +1746,14 @@ const properties = [ "text-shadow", "text-transform", "vertical-align", + "baseline-source", "white-space", "word-break", "word-spacing", "overflow-wrap", "animation", + "animation-composition", "animation-duration", "animation-timing-function", "animation-delay", @@ -1798,6 +1836,8 @@ const properties = [ "tab-size", "table-layout", "ruby-position", + "math-depth", + "math-style", "text-combine-upright", "touch-action", "transition", |
