summaryrefslogtreecommitdiff
path: root/node_modules/css-declaration-sorter
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/css-declaration-sorter')
-rw-r--r--node_modules/css-declaration-sorter/dist/main.cjs48
-rw-r--r--node_modules/css-declaration-sorter/package.json40
-rw-r--r--node_modules/css-declaration-sorter/src/core/bubble-sort.mjs (renamed from node_modules/css-declaration-sorter/src/bubble-sort.mjs)0
-rw-r--r--node_modules/css-declaration-sorter/src/core/main.d.cts (renamed from node_modules/css-declaration-sorter/src/main.d.ts)0
-rw-r--r--node_modules/css-declaration-sorter/src/core/main.d.mts27
-rw-r--r--node_modules/css-declaration-sorter/src/core/main.mjs (renamed from node_modules/css-declaration-sorter/src/main.mjs)8
-rw-r--r--node_modules/css-declaration-sorter/src/core/main.test.mjs255
-rw-r--r--node_modules/css-declaration-sorter/src/core/shorthand-data.mjs (renamed from node_modules/css-declaration-sorter/src/shorthand-data.mjs)10
-rw-r--r--node_modules/css-declaration-sorter/src/orders/alphabetical.mjs (renamed from node_modules/css-declaration-sorter/orders/alphabetical.mjs)10
-rw-r--r--node_modules/css-declaration-sorter/src/orders/concentric-css.mjs (renamed from node_modules/css-declaration-sorter/orders/concentric-css.mjs)10
-rw-r--r--node_modules/css-declaration-sorter/src/orders/smacss.mjs (renamed from node_modules/css-declaration-sorter/orders/smacss.mjs)10
11 files changed, 391 insertions, 27 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",
diff --git a/node_modules/css-declaration-sorter/package.json b/node_modules/css-declaration-sorter/package.json
index bc952bb5..ce56c36e 100644
--- a/node_modules/css-declaration-sorter/package.json
+++ b/node_modules/css-declaration-sorter/package.json
@@ -1,45 +1,47 @@
{
"name": "css-declaration-sorter",
- "version": "6.4.1",
+ "version": "7.1.1",
"description": "Sorts CSS declarations fast and automatically in a certain order.",
"type": "module",
- "main": "./dist/main.cjs",
"exports": {
- "import": "./src/main.mjs",
- "require": "./dist/main.cjs"
+ "import": {
+ "types": "./src/core/main.d.mts",
+ "default": "./src/core/main.mjs"
+ },
+ "require": {
+ "types": "./src/core/main.d.cts",
+ "default": "./dist/main.cjs"
+ }
},
- "types": "./src/main.d.ts",
+ "types": "./src/core/main.d.cts",
+ "main": "./dist/main.cjs",
"files": [
- "src/main.mjs",
- "src/main.d.ts",
- "src/shorthand-data.mjs",
- "src/bubble-sort.mjs",
- "orders",
- "dist"
+ "src/core/",
+ "src/orders/",
+ "dist/"
],
"scripts": {
"build": "rollup -c",
"preversion": "npm test",
"test": "uvu src .+\\.test\\.mjs",
"test:ci": "npm test && npm run lint -- --max-warnings 0",
- "lint": "eslint src/*.mjs",
+ "lint": "eslint src/core/*.mjs",
"scrape": "node --experimental-import-meta-resolve src/property-scraper.mjs",
"prepack": "npm run build"
},
"devDependencies": {
- "@mdn/browser-compat-data": "^5.2.23",
- "@rollup/plugin-dynamic-import-vars": "^2.0.2",
- "@rollup/plugin-replace": "^5.0.2",
- "eslint": "^8.35.0",
- "postcss": "^8.4.18",
- "rollup": "^3.15.0",
+ "@mdn/browser-compat-data": "^5.3.17",
+ "@rollup/plugin-dynamic-import-vars": "^2.0.5",
+ "eslint": "^8.48.0",
+ "postcss": "^8.4.23",
+ "rollup": "^3.26.2",
"uvu": "^0.5.6"
},
"peerDependencies": {
"postcss": "^8.0.9"
},
"engines": {
- "node": "^10 || ^12 || >=14"
+ "node": "^14 || ^16 || >=18"
},
"repository": {
"type": "git",
diff --git a/node_modules/css-declaration-sorter/src/bubble-sort.mjs b/node_modules/css-declaration-sorter/src/core/bubble-sort.mjs
index 87803b46..87803b46 100644
--- a/node_modules/css-declaration-sorter/src/bubble-sort.mjs
+++ b/node_modules/css-declaration-sorter/src/core/bubble-sort.mjs
diff --git a/node_modules/css-declaration-sorter/src/main.d.ts b/node_modules/css-declaration-sorter/src/core/main.d.cts
index 257704b6..257704b6 100644
--- a/node_modules/css-declaration-sorter/src/main.d.ts
+++ b/node_modules/css-declaration-sorter/src/core/main.d.cts
diff --git a/node_modules/css-declaration-sorter/src/core/main.d.mts b/node_modules/css-declaration-sorter/src/core/main.d.mts
new file mode 100644
index 00000000..3896195a
--- /dev/null
+++ b/node_modules/css-declaration-sorter/src/core/main.d.mts
@@ -0,0 +1,27 @@
+import type { PluginCreator } from 'postcss';
+
+export const cssDeclarationSorter: PluginCreator<{
+ /**
+ Provide the name of one of the built-in sort orders or a comparison function that is passed to `Array.sort`.
+
+ @default 'alphabetical'
+ */
+ order?: SortOrder | SortFunction | undefined;
+
+ /**
+ To prevent breaking legacy CSS where shorthand declarations override longhand declarations. For example `animation-name: some; animation: greeting;` will be kept in this order.
+
+ @default false
+ */
+ keepOverrides?: boolean;
+}>;
+
+export default cssDeclarationSorter;
+
+type SortOrder = 'alphabetical' | 'concentric-css' | 'smacss';
+
+/**
+ * This function receives two declaration property names and is expected
+ * to return -1, 0 or 1 depending on the wanted order.
+ */
+type SortFunction = (propertyNameA: string, propertyNameB: string) => -1 | 0 | 1;
diff --git a/node_modules/css-declaration-sorter/src/main.mjs b/node_modules/css-declaration-sorter/src/core/main.mjs
index b17cde16..3404c2cc 100644
--- a/node_modules/css-declaration-sorter/src/main.mjs
+++ b/node_modules/css-declaration-sorter/src/core/main.mjs
@@ -129,7 +129,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;
};
}
diff --git a/node_modules/css-declaration-sorter/src/core/main.test.mjs b/node_modules/css-declaration-sorter/src/core/main.test.mjs
new file mode 100644
index 00000000..b6f3829a
--- /dev/null
+++ b/node_modules/css-declaration-sorter/src/core/main.test.mjs
@@ -0,0 +1,255 @@
+import { test } from 'uvu';
+import * as assert from 'uvu/assert';
+import postcss from 'postcss';
+import { cssDeclarationSorter as plugin } from './main.mjs';
+
+const testCssFixtures = (testMessage, tests) => {
+ test(testMessage, () => (
+ Promise.all(tests.map(({ message, fixture, expected, options }) => (
+ postcss(plugin(options))
+ .process(fixture, { from: undefined })
+ .then((result) => {
+ assert.is(result.css, expected, message);
+ assert.is(result.warnings().length, 0);
+ })
+ )))
+ ));
+};
+
+const sortOrderTests = [
+ {
+ message: 'Keep same order for identical properties.',
+ fixture: 'a{flex: 0;flex: 2;}',
+ expected: 'a{flex: 0;flex: 2;}',
+ },
+ {
+ message: 'Sort alphabetically with no order defined.',
+ fixture: 'a{flex: 0;border: 0;}',
+ expected: 'a{border: 0;flex: 0;}',
+ },
+ {
+ message: 'Sort alphabetically with a defined order.',
+ fixture: 'a{flex: 0;border: 0;}',
+ expected: 'a{border: 0;flex: 0;}',
+ options: { order: 'alphabetical' },
+ },
+ {
+ message: 'Sort according to custom order, changed.',
+ fixture: 'a{border: 0;z-index: 0;}',
+ expected: 'a{z-index: 0;border: 0;}',
+ options: { order: () => 1 },
+ },
+ {
+ message: 'Sort according to custom order, retained.',
+ fixture: 'a{border: 0;z-index: 0;}',
+ expected: 'a{border: 0;z-index: 0;}',
+ options: { order: () => -1 },
+ },
+ {
+ message: 'Sort according to SMACSS.',
+ fixture: 'a{border: 0;flex: 0;}',
+ expected: 'a{flex: 0;border: 0;}',
+ options: { order: 'smacss' },
+ },
+ {
+ message: 'Sort according to Concentric CSS.',
+ fixture: 'a{border: 0;flex: 0;}',
+ expected: 'a{flex: 0;border: 0;}',
+ options: { order: 'concentric-css' },
+ },
+ {
+ message: 'Keep at-rule at the same position.',
+ fixture: 'a{border: 0;@import sii;flex:0;}',
+ expected: 'a{border: 0;@import sii;flex:0;}',
+ },
+ {
+ message: 'Retain unknown properties, left to right.',
+ fixture: 'a{unknown-a: 0;unknown-b: 0;}',
+ expected: 'a{unknown-a: 0;unknown-b: 0;}',
+ },
+ {
+ message: 'Retain unknown properties, right to left.',
+ fixture: 'a{unknown-b: 0;unknown-a: 0;}',
+ expected: 'a{unknown-b: 0;unknown-a: 0;}',
+ },
+ {
+ message: 'Retain unknown next to known properties, left to right.',
+ fixture: 'a{animation: 0;animation-timeline: none;}',
+ expected: 'a{animation: 0;animation-timeline: none;}',
+ },
+ {
+ message: 'Retain unknown next to known properties, right to left.',
+ fixture: 'a{animation-timeline: none;animation: 0;}',
+ expected: 'a{animation-timeline: none;animation: 0;}',
+ },
+ {
+ message: 'Sort shorthand, resulting in impactful ordering.',
+ fixture: 'a{border-width: 0;border-radius: 0;border-bottom: 1px;}',
+ expected: 'a{border-bottom: 1px;border-radius: 0;border-width: 0;}',
+ },
+];
+
+const commentOrderTests = [
+ {
+ message: 'Keep comment intact.',
+ fixture: 'a{flex: 0;/*flex*/}',
+ expected: 'a{flex: 0;/*flex*/}',
+ },
+ {
+ message: 'Keep root comments intact.',
+ fixture: '/*a*/\na{}\n/*b*/\nb{}',
+ expected: '/*a*/\na{}\n/*b*/\nb{}',
+ },
+ {
+ message: 'Handle declaration with one comment.',
+ fixture: 'a{/*comment*/}',
+ expected: 'a{/*comment*/}',
+ },
+ {
+ message: 'Keep dangling comment intact.',
+ fixture: 'a{flex: 0;\n/*end*/}',
+ expected: 'a{flex: 0;\n/*end*/}',
+ },
+ {
+ message: 'Keep multiple comments intact.',
+ fixture: 'a{flex: 0;\n/*flex*/\n/*flex 2*/}',
+ expected: 'a{flex: 0;\n/*flex*/\n/*flex 2*/}',
+ },
+ {
+ message: 'Keep newline comment above declaration.',
+ fixture: 'a{flex: 0;\n/*border*/\nborder: 0;}',
+ expected: 'a{\n/*border*/\nborder: 0;flex: 0;}',
+ },
+ {
+ message: 'Handle multiple newline comments.',
+ fixture: 'a{flex: 0;\n/*border a*/\n/*border b*/\nborder: 0;}',
+ expected: 'a{\n/*border a*/\n/*border b*/\nborder: 0;flex: 0;}',
+ },
+ {
+ message: 'Keep inline comment beside declaration.',
+ fixture: 'a{flex: 0;\nborder: 0; /*border*/}',
+ expected: 'a{\nborder: 0; /*border*/flex: 0;}',
+ },
+ {
+ message: 'Do not lose reference to paired comment node on one line.',
+ fixture: 'body{/*a*/border:0;/*b*/}',
+ expected: 'body{border:0;/*b*//*a*/}',
+ },
+];
+
+const nestedDeclarationTests = [
+ {
+ message: 'Sort nested declarations.',
+ fixture: 'a{a{flex: 0;border: 0;}}',
+ expected: 'a{a{border: 0;flex: 0;}}',
+ },
+ {
+ message: 'Sort nested at-rule declarations.',
+ fixture: 'a{@media(){flex: 0;border: 0;}}',
+ expected: 'a{@media(){border: 0;flex: 0;}}',
+ },
+ {
+ message: 'Keep nested newline comment above declaration.',
+ fixture: 'a{&:hover{flex: 0;\n/*border*/\nborder: 0;}}',
+ expected: 'a{&:hover{\n/*border*/\nborder: 0;flex: 0;}}',
+ },
+ {
+ message: 'Keep nested inline comment beside declaration.',
+ fixture: 'a{&:hover{flex: 0;\nborder: 0; /*border*/}}',
+ expected: 'a{&:hover{\nborder: 0; /*border*/flex: 0;}}',
+ },
+ {
+ message: 'Put declarations before nested selector.',
+ fixture: 'a{margin: 0;&:hover{color: red;}padding: 0;}',
+ expected: 'a{margin: 0;padding: 0;&:hover{color: red;}}',
+ },
+];
+
+const keepOverridesTests = [
+ {
+ message: 'Keep shorthand overrides in place.',
+ fixture: 'a{animation-name: hi;animation: hey 1s ease;}',
+ expected: 'a{animation-name: hi;animation: hey 1s ease;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep longhand overrides in place.',
+ fixture: 'a{flex: 1;flex-grow: -1;}',
+ expected: 'a{flex: 1;flex-grow: -1;}',
+ options: { keepOverrides: true, order: () => -1 },
+ },
+ {
+ message: 'Sort overrides with other declarations.',
+ fixture: 'a{z-index: 1;animation: hey 1s ease;}',
+ expected: 'a{animation: hey 1s ease;z-index: 1;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep overrides in place mixed with declaration.',
+ fixture: 'a{z-index: 1;animation: hey 1s ease;animation-name: hi;}',
+ expected: 'a{animation: hey 1s ease;animation-name: hi;z-index: 1;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep vendor prefixed declarations in place.',
+ fixture: 'a{animation: a;-moz-animation:b;}',
+ expected: 'a{animation: a;-moz-animation:b;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep border declarations in place.',
+ fixture: 'a{border-top: 1px solid;border-color: purple;}',
+ expected:'a{border-top: 1px solid;border-color: purple;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep padding declarations in place.',
+ fixture: 'a{padding-left: unset;padding-inline-start: 0;}',
+ expected:'a{padding-left: unset;padding-inline-start: 0;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep border block declarations in place.',
+ fixture: 'a{border-block-end: 1px solid purple;border-block: none;}',
+ expected: 'a{border-block-end: 1px solid purple;border-block: none;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep border block style declarations in place.',
+ fixture: 'a{border-style: none;border-block-end: 1px solid purple;}',
+ expected: 'a{border-style: none;border-block-end: 1px solid purple;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep border width logical property declarations in place.',
+ fixture: 'a{background: grey;border-width: 0;border-top-width: 1px;border-inline-start-width: 1px;}',
+ expected: 'a{background: grey;border-width: 0;border-inline-start-width: 1px;border-top-width: 1px;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep longhand border style declaration in place.',
+ fixture: 'a{border-width: 0;border-radius: 0;border-bottom: 1px;}',
+ expected: 'a{border-radius: 0;border-width: 0;border-bottom: 1px;}',
+ options: { keepOverrides: true },
+ },
+ {
+ message: 'Keep longhand border logical declaration in place.',
+ fixture: 'a{border-radius: 5px;border-end-start-radius: 0;border-end-end-radius: 0;}',
+ expected: 'a{border-radius: 5px;border-end-end-radius: 0;border-end-start-radius: 0;}',
+ options: { keepOverrides: true },
+ },
+];
+
+testCssFixtures('Should order declarations.', sortOrderTests);
+
+testCssFixtures('Should retain comments.', commentOrderTests);
+
+testCssFixtures('Should order nested declarations.', nestedDeclarationTests);
+
+testCssFixtures('Should keep shorthand override order.', keepOverridesTests);
+
+test('Should use the PostCSS plugin API.', () => {
+ assert.is(plugin().postcssPlugin, 'css-declaration-sorter', 'Able to access name.');
+});
+
+test.run();
diff --git a/node_modules/css-declaration-sorter/src/shorthand-data.mjs b/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs
index d79b7376..c8b2a705 100644
--- a/node_modules/css-declaration-sorter/src/shorthand-data.mjs
+++ b/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs
@@ -280,6 +280,10 @@ export 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',
@@ -430,4 +434,10 @@ export const shorthandData = {
'text-emphasis-style',
'text-emphasis-color',
],
+ 'font-synthesis': [
+ 'font-synthesis-weight',
+ 'font-synthesis-style',
+ 'font-synthesis-small-caps',
+ 'font-synthesis-position',
+ ],
};
diff --git a/node_modules/css-declaration-sorter/orders/alphabetical.mjs b/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs
index 723cd2b0..85556da6 100644
--- a/node_modules/css-declaration-sorter/orders/alphabetical.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs
@@ -10,6 +10,7 @@ export const properties = [
"align-items",
"align-self",
"animation",
+ "animation-composition",
"animation-delay",
"animation-direction",
"animation-duration",
@@ -35,6 +36,7 @@ export const properties = [
"background-position-y",
"background-repeat",
"background-size",
+ "baseline-source",
"block-size",
"border",
"border-block",
@@ -128,7 +130,6 @@ export const properties = [
"container-name",
"container-type",
"content",
- "content-visibility",
"counter-increment",
"counter-reset",
"counter-set",
@@ -149,6 +150,7 @@ export const properties = [
"font",
"font-display",
"font-family",
+ "font-feature-settings",
"font-kerning",
"font-language-override",
"font-optical-sizing",
@@ -158,6 +160,10 @@ export const properties = [
"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",
@@ -239,6 +245,8 @@ export const properties = [
"mask-repeat",
"mask-size",
"mask-type",
+ "math-depth",
+ "math-style",
"max-block-size",
"max-height",
"max-inline-size",
diff --git a/node_modules/css-declaration-sorter/orders/concentric-css.mjs b/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs
index a002b753..54ef3533 100644
--- a/node_modules/css-declaration-sorter/orders/concentric-css.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs
@@ -46,6 +46,7 @@ export const properties = [
"align-self",
"justify-self",
"vertical-align",
+ "baseline-source",
"order",
"float",
"clear",
@@ -82,7 +83,6 @@ export const properties = [
"perspective-origin",
"appearance",
"visibility",
- "content-visibility",
"opacity",
"z-index",
"paint-order",
@@ -108,6 +108,7 @@ export const properties = [
"mask-type",
"filter",
"animation",
+ "animation-composition",
"animation-duration",
"animation-timing-function",
"animation-delay",
@@ -341,6 +342,10 @@ export 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",
@@ -349,6 +354,7 @@ export const properties = [
"font-variant-numeric",
"font-variant-position",
"font-variation-settings",
+ "font-feature-settings",
"ascent-override",
"descent-override",
"line-gap-override",
@@ -366,6 +372,8 @@ export const properties = [
"unicode-range",
"user-select",
"ruby-position",
+ "math-depth",
+ "math-style",
"text-combine-upright",
"text-align",
"text-align-last",
diff --git a/node_modules/css-declaration-sorter/orders/smacss.mjs b/node_modules/css-declaration-sorter/src/orders/smacss.mjs
index 919db4ed..f6133ffb 100644
--- a/node_modules/css-declaration-sorter/orders/smacss.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/smacss.mjs
@@ -11,7 +11,6 @@ export const properties = [
"display",
"appearance",
"visibility",
- "content-visibility",
"z-index",
"paint-order",
"position",
@@ -253,6 +252,10 @@ export 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",
@@ -261,6 +264,7 @@ export const properties = [
"font-variant-numeric",
"font-variant-position",
"font-variation-settings",
+ "font-feature-settings",
"ascent-override",
"descent-override",
"line-gap-override",
@@ -295,12 +299,14 @@ export 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",
@@ -383,6 +389,8 @@ export const properties = [
"tab-size",
"table-layout",
"ruby-position",
+ "math-depth",
+ "math-style",
"text-combine-upright",
"touch-action",
"transition",