summaryrefslogtreecommitdiff
path: root/node_modules/css-declaration-sorter
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
commit06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch)
tree4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/css-declaration-sorter
parent1368909b3cd552dbb0d12d5863c597f5be46177d (diff)
updated node_modules
Diffstat (limited to 'node_modules/css-declaration-sorter')
-rw-r--r--node_modules/css-declaration-sorter/dist/main.cjs29
-rw-r--r--node_modules/css-declaration-sorter/package.json8
-rw-r--r--node_modules/css-declaration-sorter/src/core/shorthand-data.mjs11
-rw-r--r--node_modules/css-declaration-sorter/src/orders/alphabetical.mjs6
-rw-r--r--node_modules/css-declaration-sorter/src/orders/concentric-css.mjs6
-rw-r--r--node_modules/css-declaration-sorter/src/orders/smacss.mjs6
6 files changed, 62 insertions, 4 deletions
diff --git a/node_modules/css-declaration-sorter/dist/main.cjs b/node_modules/css-declaration-sorter/dist/main.cjs
index 309304dc..66ef44e8 100644
--- a/node_modules/css-declaration-sorter/dist/main.cjs
+++ b/node_modules/css-declaration-sorter/dist/main.cjs
@@ -50,6 +50,10 @@ const shorthandData = {
'font-family',
'line-height',
],
+ 'gap': [
+ 'column-gap',
+ 'row-gap',
+ ],
'grid': [
'grid-template-rows',
'grid-template-columns',
@@ -84,6 +88,13 @@ const shorthandData = {
'list-style-position',
'list-style-image',
],
+ 'offset': [
+ 'offset-anchor',
+ 'offset-distance',
+ 'offset-path',
+ 'offset-position',
+ 'offset-rotate',
+ ],
'padding': [
'padding-block',
'padding-block-start',
@@ -740,6 +751,7 @@ const properties$2 = [
"clear",
"clip-path",
"color",
+ "color-interpolation",
"color-scheme",
"column-count",
"column-fill",
@@ -759,6 +771,7 @@ const properties$2 = [
"container-name",
"container-type",
"content",
+ "content-visibility",
"counter-increment",
"counter-reset",
"counter-set",
@@ -891,6 +904,7 @@ const properties$2 = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
"opacity",
"order",
@@ -1002,6 +1016,7 @@ const properties$2 = [
"text-transform",
"text-underline-offset",
"text-underline-position",
+ "text-wrap",
"top",
"touch-action",
"transform",
@@ -1009,6 +1024,7 @@ const properties$2 = [
"transform-origin",
"transform-style",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",
@@ -1020,6 +1036,7 @@ const properties$2 = [
"vertical-align",
"visibility",
"white-space",
+ "white-space-collapse",
"widows",
"width",
"will-change",
@@ -1046,6 +1063,7 @@ const properties$1 = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
"grid",
"grid-template-rows",
@@ -1119,6 +1137,7 @@ const properties$1 = [
"perspective-origin",
"appearance",
"visibility",
+ "content-visibility",
"opacity",
"z-index",
"paint-order",
@@ -1154,6 +1173,7 @@ const properties$1 = [
"animation-play-state",
"animation-name",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",
@@ -1356,6 +1376,7 @@ const properties$1 = [
"quotes",
"hanging-punctuation",
"color",
+ "color-interpolation",
"accent-color",
"print-color-adjust",
"forced-color-adjust",
@@ -1432,7 +1453,9 @@ const properties$1 = [
"text-rendering",
"text-shadow",
"text-transform",
+ "text-wrap",
"white-space",
+ "white-space-collapse",
"word-break",
"word-spacing",
"overflow-wrap",
@@ -1458,6 +1481,7 @@ const properties = [
"display",
"appearance",
"visibility",
+ "content-visibility",
"z-index",
"paint-order",
"position",
@@ -1469,6 +1493,7 @@ const properties = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
@@ -1677,6 +1702,7 @@ const properties = [
"quotes",
"hanging-punctuation",
"color",
+ "color-interpolation",
"accent-color",
"print-color-adjust",
"forced-color-adjust",
@@ -1745,9 +1771,11 @@ const properties = [
"text-rendering",
"text-shadow",
"text-transform",
+ "text-wrap",
"vertical-align",
"baseline-source",
"white-space",
+ "white-space-collapse",
"word-break",
"word-spacing",
"overflow-wrap",
@@ -1841,6 +1869,7 @@ const properties = [
"text-combine-upright",
"touch-action",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",
diff --git a/node_modules/css-declaration-sorter/package.json b/node_modules/css-declaration-sorter/package.json
index ce56c36e..f6fd1a36 100644
--- a/node_modules/css-declaration-sorter/package.json
+++ b/node_modules/css-declaration-sorter/package.json
@@ -1,6 +1,6 @@
{
"name": "css-declaration-sorter",
- "version": "7.1.1",
+ "version": "7.2.0",
"description": "Sorts CSS declarations fast and automatically in a certain order.",
"type": "module",
"exports": {
@@ -26,14 +26,14 @@
"test": "uvu src .+\\.test\\.mjs",
"test:ci": "npm test && npm run lint -- --max-warnings 0",
"lint": "eslint src/core/*.mjs",
- "scrape": "node --experimental-import-meta-resolve src/property-scraper.mjs",
+ "scrape": "node src/property-scraper.mjs",
"prepack": "npm run build"
},
"devDependencies": {
- "@mdn/browser-compat-data": "^5.3.17",
+ "@mdn/browser-compat-data": "^5.5.14",
"@rollup/plugin-dynamic-import-vars": "^2.0.5",
"eslint": "^8.48.0",
- "postcss": "^8.4.23",
+ "postcss": "^8.4.35",
"rollup": "^3.26.2",
"uvu": "^0.5.6"
},
diff --git a/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs b/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs
index c8b2a705..f5e8bbbf 100644
--- a/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs
+++ b/node_modules/css-declaration-sorter/src/core/shorthand-data.mjs
@@ -46,6 +46,10 @@ export const shorthandData = {
'font-family',
'line-height',
],
+ 'gap': [
+ 'column-gap',
+ 'row-gap',
+ ],
'grid': [
'grid-template-rows',
'grid-template-columns',
@@ -80,6 +84,13 @@ export const shorthandData = {
'list-style-position',
'list-style-image',
],
+ 'offset': [
+ 'offset-anchor',
+ 'offset-distance',
+ 'offset-path',
+ 'offset-position',
+ 'offset-rotate',
+ ],
'padding': [
'padding-block',
'padding-block-start',
diff --git a/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs b/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs
index 85556da6..90849aef 100644
--- a/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/alphabetical.mjs
@@ -111,6 +111,7 @@ export const properties = [
"clear",
"clip-path",
"color",
+ "color-interpolation",
"color-scheme",
"column-count",
"column-fill",
@@ -130,6 +131,7 @@ export const properties = [
"container-name",
"container-type",
"content",
+ "content-visibility",
"counter-increment",
"counter-reset",
"counter-set",
@@ -262,6 +264,7 @@ export const properties = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
"opacity",
"order",
@@ -373,6 +376,7 @@ export const properties = [
"text-transform",
"text-underline-offset",
"text-underline-position",
+ "text-wrap",
"top",
"touch-action",
"transform",
@@ -380,6 +384,7 @@ export const properties = [
"transform-origin",
"transform-style",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",
@@ -391,6 +396,7 @@ export const properties = [
"vertical-align",
"visibility",
"white-space",
+ "white-space-collapse",
"widows",
"width",
"will-change",
diff --git a/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs b/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs
index 54ef3533..6e6afaef 100644
--- a/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/concentric-css.mjs
@@ -10,6 +10,7 @@ export const properties = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
"grid",
"grid-template-rows",
@@ -83,6 +84,7 @@ export const properties = [
"perspective-origin",
"appearance",
"visibility",
+ "content-visibility",
"opacity",
"z-index",
"paint-order",
@@ -118,6 +120,7 @@ export const properties = [
"animation-play-state",
"animation-name",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",
@@ -320,6 +323,7 @@ export const properties = [
"quotes",
"hanging-punctuation",
"color",
+ "color-interpolation",
"accent-color",
"print-color-adjust",
"forced-color-adjust",
@@ -396,7 +400,9 @@ export const properties = [
"text-rendering",
"text-shadow",
"text-transform",
+ "text-wrap",
"white-space",
+ "white-space-collapse",
"word-break",
"word-spacing",
"overflow-wrap",
diff --git a/node_modules/css-declaration-sorter/src/orders/smacss.mjs b/node_modules/css-declaration-sorter/src/orders/smacss.mjs
index f6133ffb..b1a09198 100644
--- a/node_modules/css-declaration-sorter/src/orders/smacss.mjs
+++ b/node_modules/css-declaration-sorter/src/orders/smacss.mjs
@@ -11,6 +11,7 @@ export const properties = [
"display",
"appearance",
"visibility",
+ "content-visibility",
"z-index",
"paint-order",
"position",
@@ -22,6 +23,7 @@ export const properties = [
"offset-anchor",
"offset-distance",
"offset-path",
+ "offset-position",
"offset-rotate",
@@ -230,6 +232,7 @@ export const properties = [
"quotes",
"hanging-punctuation",
"color",
+ "color-interpolation",
"accent-color",
"print-color-adjust",
"forced-color-adjust",
@@ -298,9 +301,11 @@ export const properties = [
"text-rendering",
"text-shadow",
"text-transform",
+ "text-wrap",
"vertical-align",
"baseline-source",
"white-space",
+ "white-space-collapse",
"word-break",
"word-spacing",
"overflow-wrap",
@@ -394,6 +399,7 @@ export const properties = [
"text-combine-upright",
"touch-action",
"transition",
+ "transition-behavior",
"transition-delay",
"transition-duration",
"transition-property",