diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 5a6ac84..9530578 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -9,7 +9,7 @@ jobs: permissions: {} strategy: matrix: - node-version: [ '16', '18' ] + node-version: [ '18', '20' ] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4769db1..f05f726 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' registry-url: 'https://registry.npmjs.org' - name: Use dependencies cache diff --git a/package-lock.json b/package-lock.json index 0e2c601..ed1aa86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "7.1.1", "license": "ISC", "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.32", @@ -128,9 +128,9 @@ "dev": true }, "node_modules/@mdn/browser-compat-data": { - "version": "5.3.17", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.3.17.tgz", - "integrity": "sha512-XoQWMIFRcg1U6ac7GDmqpWvJ1wkAKp5UwHh2rHzQgwaACVMcC4yWa4lW0HekGcNsvpD5e8OX+trAcEt8N+0Dsg==", + "version": "5.5.16", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.16.tgz", + "integrity": "sha512-za4DOflM2h73Rs2ORnhS2IU73sVRjrN4x5ZmOZ8WgLCSOVuZ1+y1K0NQKy8xqaPW52ezN+ni2N2RBUKt532ULA==", "dev": true }, "node_modules/@nodelib/fs.scandir": { diff --git a/package.json b/package.json index e22f09e..963d97e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "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.32", diff --git a/src/core/shorthand-data.mjs b/src/core/shorthand-data.mjs index 315bf32..f5e8bbb 100644 --- a/src/core/shorthand-data.mjs +++ b/src/core/shorthand-data.mjs @@ -84,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/src/orders/alphabetical.mjs b/src/orders/alphabetical.mjs index 85556da..90849ae 100644 --- a/src/orders/alphabetical.mjs +++ b/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/src/orders/concentric-css.mjs b/src/orders/concentric-css.mjs index 54ef353..6e6afae 100644 --- a/src/orders/concentric-css.mjs +++ b/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/src/orders/smacss.mjs b/src/orders/smacss.mjs index f6133ff..b1a0919 100644 --- a/src/orders/smacss.mjs +++ b/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",