diff --git a/change/@adaptive-web-adaptive-ui-8f61688b-16b6-4d93-85d8-1dba32026635.json b/change/@adaptive-web-adaptive-ui-8f61688b-16b6-4d93-85d8-1dba32026635.json new file mode 100644 index 00000000..c5b37896 --- /dev/null +++ b/change/@adaptive-web-adaptive-ui-8f61688b-16b6-4d93-85d8-1dba32026635.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Add legacy alias tokens for updated typography tokens", + "packageName": "@adaptive-web/adaptive-ui", + "email": "47367562+bheston@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@adaptive-web-adaptive-ui-designer-core-1382aa7b-2631-4ab8-a30c-dc87077a4680.json b/change/@adaptive-web-adaptive-ui-designer-core-1382aa7b-2631-4ab8-a30c-dc87077a4680.json new file mode 100644 index 00000000..def56544 --- /dev/null +++ b/change/@adaptive-web-adaptive-ui-designer-core-1382aa7b-2631-4ab8-a30c-dc87077a4680.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Add legacy alias tokens for updated typography tokens", + "packageName": "@adaptive-web/adaptive-ui-designer-core", + "email": "47367562+bheston@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/package-lock.json b/package-lock.json index 8238bf84..3a855b9a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -643,7 +643,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "dependencies": { "esbuild": "^0.18.10", "postcss": "^8.4.27", @@ -1321,7 +1320,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "dependencies": { "esbuild": "^0.18.10", "postcss": "^8.4.27", @@ -1457,7 +1455,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", "dev": true, - "peer": true, "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", @@ -3308,7 +3305,6 @@ "url": "https://opencollective.com/csstools" } ], - "peer": true, "engines": { "node": "^14 || ^16 || >=18" }, @@ -3330,7 +3326,6 @@ "url": "https://opencollective.com/csstools" } ], - "peer": true, "engines": { "node": "^14 || ^16 || >=18" } @@ -4501,7 +4496,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", "dev": true, - "peer": true, "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/generator": "^7.12.5", @@ -4673,14 +4667,12 @@ "node_modules/@microsoft/fast-element": { "version": "2.0.0-beta.26", "resolved": "https://registry.npmjs.org/@microsoft/fast-element/-/fast-element-2.0.0-beta.26.tgz", - "integrity": "sha512-t4x7mlNZdLHg5mTeNAiH9+lpTNFiZTpZZk/YsRGwNBKlw6mEBGT5zYRfQq5X3WhRbXafKmIa4V+etA1kP0ebWw==", - "peer": true + "integrity": "sha512-t4x7mlNZdLHg5mTeNAiH9+lpTNFiZTpZZk/YsRGwNBKlw6mEBGT5zYRfQq5X3WhRbXafKmIa4V+etA1kP0ebWw==" }, "node_modules/@microsoft/fast-foundation": { "version": "3.0.0-alpha.31", "resolved": "https://registry.npmjs.org/@microsoft/fast-foundation/-/fast-foundation-3.0.0-alpha.31.tgz", "integrity": "sha512-266JfAlmiz1uGQ0cnGIPtahZZ3WVNS8+6vrjsHmEg46sJTzb+9WfhgFan40y+MzgvWzZGr1Y1mh6GVpwVmKFJA==", - "peer": true, "dependencies": { "@floating-ui/dom": "^1.0.3", "@microsoft/fast-element": "2.0.0-beta.26", @@ -8613,7 +8605,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "dependencies": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", @@ -9454,7 +9445,6 @@ "url": "https://github.com/sponsors/ai" } ], - "peer": true, "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -9753,7 +9743,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", "dev": true, - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -12075,7 +12064,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "dependencies": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", @@ -12943,7 +12931,6 @@ "url": "https://github.com/sponsors/ai" } ], - "peer": true, "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -13239,7 +13226,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", "dev": true, - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -13816,8 +13802,7 @@ "version": "16.18.11", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.11.tgz", "integrity": "sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA==", - "dev": true, - "peer": true + "dev": true }, "node_modules/@types/node-fetch": { "version": "2.6.2", @@ -14052,7 +14037,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "6.21.0", "@typescript-eslint/types": "6.21.0", @@ -14549,7 +14533,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", "dev": true, - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -14692,7 +14675,6 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -16034,7 +16016,6 @@ "url": "https://github.com/sponsors/ai" } ], - "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001640", "electron-to-chromium": "^1.4.820", @@ -18940,7 +18921,6 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -27098,7 +27078,6 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", "dev": true, - "peer": true, "dependencies": { "picocolors": "^0.2.1", "source-map": "^0.6.1" @@ -27670,7 +27649,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", "dev": true, - "peer": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -27685,7 +27663,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", "dev": true, - "peer": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -28235,7 +28212,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", "dev": true, - "peer": true, "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/generator": "^7.12.5", @@ -28712,7 +28688,6 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.2.tgz", "integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==", "dev": true, - "peer": true, "bin": { "rollup": "dist/bin/rollup" }, @@ -30662,7 +30637,6 @@ "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz", "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==", "dev": true, - "peer": true, "dependencies": { "commander": "^2.20.0", "source-map": "~0.6.1", @@ -31336,7 +31310,6 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -31409,7 +31382,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.14.1.tgz", "integrity": "sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==", "dev": true, - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "7.14.1", "@typescript-eslint/types": "7.14.1", @@ -32665,7 +32637,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "dependencies": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", @@ -34222,7 +34193,6 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz", "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==", "dev": true, - "peer": true, "bin": { "rollup": "dist/bin/rollup" }, @@ -34273,7 +34243,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "dependencies": { "esbuild": "^0.18.10", "postcss": "^8.4.27", @@ -34994,7 +34963,6 @@ "url": "https://github.com/sponsors/ai" } ], - "peer": true, "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -35330,7 +35298,6 @@ "version": "8.4.40", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", - "peer": true, "requires": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -35720,7 +35687,6 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz", "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==", "dev": true, - "peer": true, "requires": { "fsevents": "~2.3.2" } @@ -35753,7 +35719,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "requires": { "esbuild": "^0.18.10", "fsevents": "~2.3.2", @@ -36534,7 +36499,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "requires": { "esbuild": "^0.18.10", "fsevents": "~2.3.2", @@ -36893,7 +36857,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.13.tgz", "integrity": "sha512-Hgp8IF/yZDzKsN1hQWOuQZbrKiaFsbQud+07jJ8h9m9PaHWkpvZ5u55Xw5yYjWRXwRQ4jwFlJvY7T7FUJG9MCA==", "dev": true, - "peer": true, "requires": { "esbuild": "^0.18.10", "fsevents": "~2.3.2", @@ -36943,7 +36906,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", "dev": true, - "peer": true, "requires": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", @@ -38202,14 +38164,12 @@ "version": "2.6.1", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", - "peer": true, "requires": {} }, "@csstools/css-tokenizer": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", - "peer": true + "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==" }, "@custom-elements-manifest/analyzer": { "version": "0.6.8", @@ -38984,7 +38944,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", "dev": true, - "peer": true, "requires": { "@babel/code-frame": "^7.10.4", "@babel/generator": "^7.12.5", @@ -39112,14 +39071,12 @@ "@microsoft/fast-element": { "version": "2.0.0-beta.26", "resolved": "https://registry.npmjs.org/@microsoft/fast-element/-/fast-element-2.0.0-beta.26.tgz", - "integrity": "sha512-t4x7mlNZdLHg5mTeNAiH9+lpTNFiZTpZZk/YsRGwNBKlw6mEBGT5zYRfQq5X3WhRbXafKmIa4V+etA1kP0ebWw==", - "peer": true + "integrity": "sha512-t4x7mlNZdLHg5mTeNAiH9+lpTNFiZTpZZk/YsRGwNBKlw6mEBGT5zYRfQq5X3WhRbXafKmIa4V+etA1kP0ebWw==" }, "@microsoft/fast-foundation": { "version": "3.0.0-alpha.31", "resolved": "https://registry.npmjs.org/@microsoft/fast-foundation/-/fast-foundation-3.0.0-alpha.31.tgz", "integrity": "sha512-266JfAlmiz1uGQ0cnGIPtahZZ3WVNS8+6vrjsHmEg46sJTzb+9WfhgFan40y+MzgvWzZGr1Y1mh6GVpwVmKFJA==", - "peer": true, "requires": { "@floating-ui/dom": "^1.0.3", "@microsoft/fast-element": "2.0.0-beta.26", @@ -41994,7 +41951,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "requires": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", @@ -42655,7 +42611,6 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", "dev": true, - "peer": true, "requires": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -42865,7 +42820,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", "dev": true, - "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -44639,7 +44593,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "requires": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", @@ -45316,7 +45269,6 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", "dev": true, - "peer": true, "requires": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -45526,7 +45478,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", "dev": true, - "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -45994,8 +45945,7 @@ "version": "16.18.11", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.11.tgz", "integrity": "sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA==", - "dev": true, - "peer": true + "dev": true }, "@types/node-fetch": { "version": "2.6.2", @@ -46209,7 +46159,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, - "peer": true, "requires": { "@typescript-eslint/scope-manager": "6.21.0", "@typescript-eslint/types": "6.21.0", @@ -46606,8 +46555,7 @@ "version": "6.4.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true, - "peer": true + "dev": true }, "acorn-globals": { "version": "6.0.0", @@ -46720,7 +46668,6 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "peer": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -47741,7 +47688,6 @@ "version": "4.23.2", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", - "peer": true, "requires": { "caniuse-lite": "^1.0.30001640", "electron-to-chromium": "^1.4.820", @@ -50031,7 +49977,6 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, - "peer": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -56170,7 +56115,6 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", "dev": true, - "peer": true, "requires": { "picocolors": "^0.2.1", "source-map": "^0.6.1" @@ -56606,7 +56550,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", "dev": true, - "peer": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -56618,7 +56561,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", "dev": true, - "peer": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -57031,7 +56973,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", "dev": true, - "peer": true, "requires": { "@babel/code-frame": "^7.10.4", "@babel/generator": "^7.12.5", @@ -57399,7 +57340,6 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.2.tgz", "integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==", "dev": true, - "peer": true, "requires": { "fsevents": "~2.3.2" } @@ -58981,7 +58921,6 @@ "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz", "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==", "dev": true, - "peer": true, "requires": { "commander": "^2.20.0", "source-map": "~0.6.1", @@ -59498,8 +59437,7 @@ "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "dev": true, - "peer": true + "dev": true }, "typescript-eslint": { "version": "7.14.1", @@ -59534,7 +59472,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.14.1.tgz", "integrity": "sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==", "dev": true, - "peer": true, "requires": { "@typescript-eslint/scope-manager": "7.14.1", "@typescript-eslint/types": "7.14.1", @@ -60490,7 +60427,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", "dev": true, - "peer": true, "requires": { "@webassemblyjs/ast": "1.9.0", "@webassemblyjs/helper-module-context": "1.9.0", diff --git a/packages/adaptive-ui-designer-core/src/registry/recipes.ts b/packages/adaptive-ui-designer-core/src/registry/recipes.ts index 6e94c9a6..05523823 100644 --- a/packages/adaptive-ui-designer-core/src/registry/recipes.ts +++ b/packages/adaptive-ui-designer-core/src/registry/recipes.ts @@ -129,24 +129,7 @@ import { successStrokeSafety, successStrokeStrong, successStrokeSubtle, - typeRampBaseFontSize, - typeRampBaseLineHeight, - typeRampMinus1FontSize, - typeRampMinus1LineHeight, - typeRampMinus2FontSize, - typeRampMinus2LineHeight, - typeRampPlus1FontSize, - typeRampPlus1LineHeight, - typeRampPlus2FontSize, - typeRampPlus2LineHeight, - typeRampPlus3FontSize, - typeRampPlus3LineHeight, - typeRampPlus4FontSize, - typeRampPlus4LineHeight, - typeRampPlus5FontSize, - typeRampPlus5LineHeight, - typeRampPlus6FontSize, - typeRampPlus6LineHeight, + typeRampDefault, warningBaseColor, warningFillDiscernible, warningFillIdeal, @@ -372,24 +355,24 @@ const textTokens: DesignTokenStore = [ fontWeight, bodyFontWeight, labelFontWeight, - typeRampBaseFontSize, - typeRampBaseLineHeight, - typeRampMinus1FontSize, - typeRampMinus1LineHeight, - typeRampMinus2FontSize, - typeRampMinus2LineHeight, - typeRampPlus1FontSize, - typeRampPlus1LineHeight, - typeRampPlus2FontSize, - typeRampPlus2LineHeight, - typeRampPlus3FontSize, - typeRampPlus3LineHeight, - typeRampPlus4FontSize, - typeRampPlus4LineHeight, - typeRampPlus5FontSize, - typeRampPlus5LineHeight, - typeRampPlus6FontSize, - typeRampPlus6LineHeight, + typeRampDefault.base.fontSize, + typeRampDefault.base.lineHeight, + typeRampDefault.minus1.fontSize, + typeRampDefault.minus1.lineHeight, + typeRampDefault.minus2.fontSize, + typeRampDefault.minus2.lineHeight, + typeRampDefault.plus1.fontSize, + typeRampDefault.plus1.lineHeight, + typeRampDefault.plus2.fontSize, + typeRampDefault.plus2.lineHeight, + typeRampDefault.plus3.fontSize, + typeRampDefault.plus3.lineHeight, + typeRampDefault.plus4.fontSize, + typeRampDefault.plus4.lineHeight, + typeRampDefault.plus5.fontSize, + typeRampDefault.plus5.lineHeight, + typeRampDefault.plus6.fontSize, + typeRampDefault.plus6.lineHeight, ]; const effectsTokens: DesignTokenStore = [ diff --git a/packages/adaptive-ui/src/reference/type.ts b/packages/adaptive-ui/src/reference/type.ts index e4286768..4b4afec8 100644 --- a/packages/adaptive-ui/src/reference/type.ts +++ b/packages/adaptive-ui/src/reference/type.ts @@ -1,4 +1,4 @@ -import { createTokenFontFamily, createTokenFontStyle, createTokenFontWeight } from "../core/token-helpers.js"; +import { createTokenFontFamily, createTokenFontSize, createTokenFontStyle, createTokenFontWeight } from "../core/token-helpers.js"; import { TypeRampTokenGroup } from "../core/typography/type-ramp.js"; /** @@ -45,6 +45,34 @@ export const bodyFontStyle = createTokenFontStyle("typography.fontStyle.body").w /** @public */ export const labelFontStyle = createTokenFontStyle("typography.fontStyle.label").withDefault(fontStyle); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const fontFamilyLegacy = createTokenFontFamily("typography.default.fontFamily").withDefault(fontFamily); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const bodyFontFamilyLegacy = createTokenFontFamily("typography.body.fontFamily").withDefault(bodyFontFamily); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const labelFontFamilyLegacy = createTokenFontFamily("typography.label.fontFamily").withDefault(labelFontFamily); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const fontWeightLegacy = createTokenFontWeight("typography.default.fontWeight").withDefault(fontWeight); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const bodyFontWeightLegacy = createTokenFontWeight("typography.body.fontWeight").withDefault(bodyFontWeight); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const labelFontWeightLegacy = createTokenFontWeight("typography.label.fontWeight").withDefault(labelFontWeight); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const fontStyleLegacy = createTokenFontStyle("typography.default.fontStyle").withDefault(fontStyle); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const bodyFontStyleLegacy = createTokenFontStyle("typography.body.fontStyle").withDefault(bodyFontStyle); + +/** @deprecated Use the non-"Legacy" versions of the tokens instead. @public */ +export const labelFontStyleLegacy = createTokenFontStyle("typography.label.fontStyle").withDefault(labelFontStyle); + /** * The complete type ramp with all positions from minus2 to plus6. * @@ -97,82 +125,82 @@ export const typeRampDefault = new TypeRampTokenGroup( // Export individual tokens for backward compatibility /** @deprecated Use `typeRampDefault.minus2.fontSize` directly. @public */ -export const typeRampMinus2FontSize = typeRampDefault.minus2.fontSize; +export const typeRampMinus2FontSize = createTokenFontSize("typography.ramp.minus2.fontSize").withDefault(typeRampDefault.minus2.fontSize); /** @deprecated Use `typeRampDefault.minus2.lineHeight` directly. @public */ -export const typeRampMinus2LineHeight = typeRampDefault.minus2.lineHeight; +export const typeRampMinus2LineHeight = createTokenFontSize("typography.ramp.minus2.lineHeight").withDefault(typeRampDefault.minus2.lineHeight); /** @deprecated Use `typeRampDefault.minus2.fontVariations` directly. @public */ -export const typeRampMinus2FontVariations = typeRampDefault.minus2.fontVariations; +export const typeRampMinus2FontVariations = createTokenFontSize("typography.ramp.minus2.fontVariations").withDefault(typeRampDefault.minus2.fontVariations); /** @deprecated Use `typeRampDefault.minus1.fontSize` directly. @public */ -export const typeRampMinus1FontSize = typeRampDefault.minus1.fontSize; +export const typeRampMinus1FontSize = createTokenFontSize("typography.ramp.minus1.fontSize").withDefault(typeRampDefault.minus1.fontSize); /** @deprecated Use `typeRampDefault.minus1.lineHeight` directly. @public */ -export const typeRampMinus1LineHeight = typeRampDefault.minus1.lineHeight; +export const typeRampMinus1LineHeight = createTokenFontSize("typography.ramp.minus1.lineHeight").withDefault(typeRampDefault.minus1.lineHeight); /** @deprecated Use `typeRampDefault.minus1.fontVariations` directly. @public */ -export const typeRampMinus1FontVariations = typeRampDefault.minus1.fontVariations; +export const typeRampMinus1FontVariations = createTokenFontSize("typography.ramp.minus1.fontVariations").withDefault(typeRampDefault.minus1.fontVariations); /** @deprecated Use `typeRampDefault.base.fontSize` directly. @public */ -export const typeRampBaseFontSize = typeRampDefault.base.fontSize; +export const typeRampBaseFontSize = createTokenFontSize("typography.ramp.base.fontSize").withDefault(typeRampDefault.base.fontSize); /** @deprecated Use `typeRampDefault.base.lineHeight` directly. @public */ -export const typeRampBaseLineHeight = typeRampDefault.base.lineHeight; +export const typeRampBaseLineHeight = createTokenFontSize("typography.ramp.base.lineHeight").withDefault(typeRampDefault.base.lineHeight); /** @deprecated Use `typeRampDefault.base.fontVariations` directly. @public */ -export const typeRampBaseFontVariations = typeRampDefault.base.fontVariations; +export const typeRampBaseFontVariations = createTokenFontSize("typography.ramp.base.fontVariations").withDefault(typeRampDefault.base.fontVariations); /** @deprecated Use `typeRampDefault.plus1.fontSize` directly. @public */ -export const typeRampPlus1FontSize = typeRampDefault.plus1.fontSize; +export const typeRampPlus1FontSize = createTokenFontSize("typography.ramp.plus1.fontSize").withDefault(typeRampDefault.plus1.fontSize); /** @deprecated Use `typeRampDefault.plus1.lineHeight` directly. @public */ -export const typeRampPlus1LineHeight = typeRampDefault.plus1.lineHeight; +export const typeRampPlus1LineHeight = createTokenFontSize("typography.ramp.plus1.lineHeight").withDefault(typeRampDefault.plus1.lineHeight); /** @deprecated Use `typeRampDefault.plus1.fontVariations` directly. @public */ -export const typeRampPlus1FontVariations = typeRampDefault.plus1.fontVariations; +export const typeRampPlus1FontVariations = createTokenFontSize("typography.ramp.plus1.fontVariations").withDefault(typeRampDefault.plus1.fontVariations); /** @deprecated Use `typeRampDefault.plus2.fontSize` directly. @public */ -export const typeRampPlus2FontSize = typeRampDefault.plus2.fontSize; +export const typeRampPlus2FontSize = createTokenFontSize("typography.ramp.plus2.fontSize").withDefault(typeRampDefault.plus2.fontSize); /** @deprecated Use `typeRampDefault.plus2.lineHeight` directly. @public */ -export const typeRampPlus2LineHeight = typeRampDefault.plus2.lineHeight; +export const typeRampPlus2LineHeight = createTokenFontSize("typography.ramp.plus2.lineHeight").withDefault(typeRampDefault.plus2.lineHeight); /** @deprecated Use `typeRampDefault.plus2.fontVariations` directly. @public */ -export const typeRampPlus2FontVariations = typeRampDefault.plus2.fontVariations; +export const typeRampPlus2FontVariations = createTokenFontSize("typography.ramp.plus2.fontVariations").withDefault(typeRampDefault.plus2.fontVariations); /** @deprecated Use `typeRampDefault.plus3.fontSize` directly. @public */ -export const typeRampPlus3FontSize = typeRampDefault.plus3.fontSize; +export const typeRampPlus3FontSize = createTokenFontSize("typography.ramp.plus3.fontSize").withDefault(typeRampDefault.plus3.fontSize); /** @deprecated Use `typeRampDefault.plus3.lineHeight` directly. @public */ -export const typeRampPlus3LineHeight = typeRampDefault.plus3.lineHeight; +export const typeRampPlus3LineHeight = createTokenFontSize("typography.ramp.plus3.lineHeight").withDefault(typeRampDefault.plus3.lineHeight); /** @deprecated Use `typeRampDefault.plus3.fontVariations` directly. @public */ -export const typeRampPlus3FontVariations = typeRampDefault.plus3.fontVariations; +export const typeRampPlus3FontVariations = createTokenFontSize("typography.ramp.plus3.fontVariations").withDefault(typeRampDefault.plus3.fontVariations); /** @deprecated Use `typeRampDefault.plus4.fontSize` directly. @public */ -export const typeRampPlus4FontSize = typeRampDefault.plus4.fontSize; +export const typeRampPlus4FontSize = createTokenFontSize("typography.ramp.plus4.fontSize").withDefault(typeRampDefault.plus4.fontSize); /** @deprecated Use `typeRampDefault.plus4.lineHeight` directly. @public */ -export const typeRampPlus4LineHeight = typeRampDefault.plus4.lineHeight; +export const typeRampPlus4LineHeight = createTokenFontSize("typography.ramp.plus4.lineHeight").withDefault(typeRampDefault.plus4.lineHeight); /** @deprecated Use `typeRampDefault.plus4.fontVariations` directly. @public */ -export const typeRampPlus4FontVariations = typeRampDefault.plus4.fontVariations; +export const typeRampPlus4FontVariations = createTokenFontSize("typography.ramp.plus4.fontVariations").withDefault(typeRampDefault.plus4.fontVariations); /** @deprecated Use `typeRampDefault.plus5.fontSize` directly. @public */ -export const typeRampPlus5FontSize = typeRampDefault.plus5.fontSize; +export const typeRampPlus5FontSize = createTokenFontSize("typography.ramp.plus5.fontSize").withDefault(typeRampDefault.plus5.fontSize); /** @deprecated Use `typeRampDefault.plus5.lineHeight` directly. @public */ -export const typeRampPlus5LineHeight = typeRampDefault.plus5.lineHeight; +export const typeRampPlus5LineHeight = createTokenFontSize("typography.ramp.plus5.lineHeight").withDefault(typeRampDefault.plus5.lineHeight); /** @deprecated Use `typeRampDefault.plus5.fontVariations` directly. @public */ -export const typeRampPlus5FontVariations = typeRampDefault.plus5.fontVariations; +export const typeRampPlus5FontVariations = createTokenFontSize("typography.ramp.plus5.fontVariations").withDefault(typeRampDefault.plus5.fontVariations); /** @deprecated Use `typeRampDefault.plus6.fontSize` directly. @public */ -export const typeRampPlus6FontSize = typeRampDefault.plus6.fontSize; +export const typeRampPlus6FontSize = createTokenFontSize("typography.ramp.plus6.fontSize").withDefault(typeRampDefault.plus6.fontSize); /** @deprecated Use `typeRampDefault.plus6.lineHeight` directly. @public */ -export const typeRampPlus6LineHeight = typeRampDefault.plus6.lineHeight; +export const typeRampPlus6LineHeight = createTokenFontSize("typography.ramp.plus6.lineHeight").withDefault(typeRampDefault.plus6.lineHeight); /** @deprecated Use `typeRampDefault.plus6.fontVariations` directly. @public */ -export const typeRampPlus6FontVariations = typeRampDefault.plus6.fontVariations; +export const typeRampPlus6FontVariations = createTokenFontSize("typography.ramp.plus6.fontVariations").withDefault(typeRampDefault.plus6.fontVariations);