diff --git a/e2e/package.json b/e2e/package.json index 8ac3949bf4c..f2d2297a66c 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -23,7 +23,7 @@ "test:vue-showcase": "npm run test:e2e --workspace=vue-showcase" }, "devDependencies": { - "@playwright/test": "1.45.3", + "@playwright/test": "1.46.0", "cpr": "3.0.1", "cross-env": "^7.0.3", "dotenv": "^16.0.3", diff --git a/output/react/package.json b/output/react/package.json index 5e671b66529..2a23b649fa8 100644 --- a/output/react/package.json +++ b/output/react/package.json @@ -26,7 +26,7 @@ "tsc": "tsc -p . --sourceMap false" }, "devDependencies": { - "@playwright/experimental-ct-react": "1.45.3", + "@playwright/experimental-ct-react": "1.46.0", "@types/react": "^18.3.3", "react": "^18.3.1", "react-dom": "^18.3.1" diff --git a/output/vue/package.json b/output/vue/package.json index e2ea72e2772..1714f23bcd1 100644 --- a/output/vue/package.json +++ b/output/vue/package.json @@ -38,10 +38,10 @@ "test:components": "playwright test -c playwright.config.ts" }, "dependencies": { - "vue": "^3.4.35" + "vue": "^3.4.36" }, "devDependencies": { - "@playwright/experimental-ct-vue": "1.45.3", + "@playwright/experimental-ct-vue": "1.46.0", "@vitejs/plugin-vue": "^5.1.2", "replace-in-file": "^8.1.0", "tsx": "^4.16.5", diff --git a/package-lock.json b/package-lock.json index 9985e92d5e0..97e92c091ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@double-great/stylelint-a11y": "3.0.2", "@guidepup/guidepup": "0.22.3", "@guidepup/playwright": "^0.14.0", - "@playwright/test": "1.45.3", + "@playwright/test": "1.46.0", "@types/fs-extra": "^11.0.4", "accessibility-checker": "^3.1.71", "adm-zip": "0.5.15", @@ -72,7 +72,7 @@ "output/*" ], "devDependencies": { - "@playwright/test": "1.45.3", + "@playwright/test": "1.46.0", "cpr": "3.0.1", "cross-env": "^7.0.3", "dotenv": "^16.0.3", @@ -4380,9 +4380,9 @@ } }, "node_modules/@builder.io/mitosis": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@builder.io/mitosis/-/mitosis-0.3.19.tgz", - "integrity": "sha512-96QGgrGaKMJEzd9vl13Iq96Ppdl/sB8+HSOKUrV8jXSE4nvUX9quFNCx7pcuFI6E+pNcTs5qLs1kn7YetwktYA==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@builder.io/mitosis/-/mitosis-0.3.20.tgz", + "integrity": "sha512-toX8/eVADuylfs7JzQNW+QEt39s9lcioNEU14fQ5jCLfrX4g1hwO8W8mCCxh0zW17rirTPXLTT1rRQ1WdMFoLg==", "dev": true, "dependencies": { "@angular/compiler": "^11.2.11", @@ -4411,12 +4411,12 @@ } }, "node_modules/@builder.io/mitosis-cli": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@builder.io/mitosis-cli/-/mitosis-cli-0.3.19.tgz", - "integrity": "sha512-XA9W5dJ2JvLbYeE9sJX6AAM8AlnzP5ZE1IuWXwcGLQMud4qulHFG9hCdLFpuqcHEiSGO3Uq4HPRp3UOv2w0jvg==", + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@builder.io/mitosis-cli/-/mitosis-cli-0.3.20.tgz", + "integrity": "sha512-/ejpXlX9ip/Nm5f8W50as82YBAZurnU1AnnBKDsI4j71apxJ6qXw3E8lUgS9cGpM37Tg+TynQERSWiSOLz2ddw==", "dev": true, "dependencies": { - "@builder.io/mitosis": "0.3.19", + "@builder.io/mitosis": "0.3.20", "debug": "^4.3.4", "dedent": "^0.7.0", "esbuild": "^0.12.16", @@ -10028,13 +10028,13 @@ } }, "node_modules/@playwright/experimental-ct-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-core/-/experimental-ct-core-1.45.3.tgz", - "integrity": "sha512-uYcWBxRPu2G2Mj2e+XUxRBzRNnG/Yz0A5DVWFewiG3qEfC92MaGYGxmzKeFeU9NcMA2fWwaqB3XWHXjn9qSM5Q==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-core/-/experimental-ct-core-1.46.0.tgz", + "integrity": "sha512-4bHw+P0ub0A/B6tbiqLQFwvaR+wsH5fE2yt1rxWg/dtE8uGhqEeAav9TX7j4PmILM86R3Le21h94wdDIHyeJBA==", "dev": true, "dependencies": { - "playwright": "1.45.3", - "playwright-core": "1.45.3", + "playwright": "1.46.0", + "playwright-core": "1.46.0", "vite": "^5.2.8" }, "engines": { @@ -10042,12 +10042,12 @@ } }, "node_modules/@playwright/experimental-ct-react": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-react/-/experimental-ct-react-1.45.3.tgz", - "integrity": "sha512-cEgiZ2+DqVCeFJWJdHgOUwhlEof41Rg1GX48FtMX/xrjAnxs2ccqqAXMILD+mVV1ftsC2jeS1EiRLoAmf8QXgA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-react/-/experimental-ct-react-1.46.0.tgz", + "integrity": "sha512-BSEfTBes2ljEQZxmtPpEQi8ZJns+B9F5h226Fk4/DdJbvueriEcJa4uls6KRIScSX8gd27Vg3P9T/buxW2BvjA==", "dev": true, "dependencies": { - "@playwright/experimental-ct-core": "1.45.3", + "@playwright/experimental-ct-core": "1.46.0", "@vitejs/plugin-react": "^4.2.1" }, "bin": { @@ -10058,12 +10058,12 @@ } }, "node_modules/@playwright/experimental-ct-vue": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-vue/-/experimental-ct-vue-1.45.3.tgz", - "integrity": "sha512-rnZVOX1AIxDPxystjYTnD5DkgkKD8zSQexU0kfFnNYj96ELR19oBHRnpqhXp1onjyQiB5kq9TwmhMu5vdpa0kA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/experimental-ct-vue/-/experimental-ct-vue-1.46.0.tgz", + "integrity": "sha512-aRU6h+xcNXLPTblj7MR2/Ppsrferh7B/ET01MycibLMS26KUR442D+j/+B9JCCOp+k+fnHNLOEN9ZgMzHasRxQ==", "dev": true, "dependencies": { - "@playwright/experimental-ct-core": "1.45.3", + "@playwright/experimental-ct-core": "1.46.0", "@vitejs/plugin-vue": "^4.2.1" }, "bin": { @@ -10087,12 +10087,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", - "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.0.tgz", + "integrity": "sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==", "devOptional": true, "dependencies": { - "playwright": "1.45.3" + "playwright": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -12203,41 +12203,52 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.35.tgz", - "integrity": "sha512-gKp0zGoLnMYtw4uS/SJRRO7rsVggLjvot3mcctlMXunYNsX+aRJDqqw/lV5/gHK91nvaAAlWFgdVl020AW1Prg==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.36.tgz", + "integrity": "sha512-qBkndgpwFKdupmOPoiS10i7oFdN7a+4UNDlezD0GlQ1kuA1pNrscg9g12HnB5E8hrWSuEftRsbJhL1HI2zpJhg==", "dependencies": { "@babel/parser": "^7.24.7", - "@vue/shared": "3.4.35", - "entities": "^4.5.0", + "@vue/shared": "3.4.36", + "entities": "^5.0.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" } }, + "node_modules/@vue/compiler-core/node_modules/entities": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-5.0.0.tgz", + "integrity": "sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/@vue/compiler-core/node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, "node_modules/@vue/compiler-dom": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.35.tgz", - "integrity": "sha512-pWIZRL76/oE/VMhdv/ovZfmuooEni6JPG1BFe7oLk5DZRo/ImydXijoZl/4kh2406boRQ7lxTYzbZEEXEhj9NQ==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.36.tgz", + "integrity": "sha512-eEIjy4GwwZTFon/Y+WO8tRRNGqylaRlA79T1RLhUpkOzJ7EtZkkb8MurNfkqY6x6Qiu0R7ESspEF7GkPR/4yYg==", "dependencies": { - "@vue/compiler-core": "3.4.35", - "@vue/shared": "3.4.35" + "@vue/compiler-core": "3.4.36", + "@vue/shared": "3.4.36" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.35.tgz", - "integrity": "sha512-xacnRS/h/FCsjsMfxBkzjoNxyxEyKyZfBch/P4vkLRvYJwe5ChXmZZrj8Dsed/752H2Q3JE8kYu9Uyha9J6PgA==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.36.tgz", + "integrity": "sha512-rhuHu7qztt/rNH90dXPTzhB7hLQT2OC4s4GrPVqmzVgPY4XBlfWmcWzn4bIPEWNImt0CjO7kfHAf/1UXOtx3vw==", "dependencies": { "@babel/parser": "^7.24.7", - "@vue/compiler-core": "3.4.35", - "@vue/compiler-dom": "3.4.35", - "@vue/compiler-ssr": "3.4.35", - "@vue/shared": "3.4.35", + "@vue/compiler-core": "3.4.36", + "@vue/compiler-dom": "3.4.36", + "@vue/compiler-ssr": "3.4.36", + "@vue/shared": "3.4.36", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", "postcss": "^8.4.40", @@ -12258,12 +12269,12 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.35.tgz", - "integrity": "sha512-7iynB+0KB1AAJKk/biENTV5cRGHRdbdaD7Mx3nWcm1W8bVD6QmnH3B4AHhQQ1qZHhqFwzEzMwiytXm3PX1e60A==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.36.tgz", + "integrity": "sha512-Wt1zyheF0zVvRJyhY74uxQbnkXV2Le/JPOrAxooR4rFYKC7cFr+cRqW6RU3cM/bsTy7sdZ83IDuy/gLPSfPGng==", "dependencies": { - "@vue/compiler-dom": "3.4.35", - "@vue/shared": "3.4.35" + "@vue/compiler-dom": "3.4.36", + "@vue/shared": "3.4.36" } }, "node_modules/@vue/compiler-vue2": { @@ -12365,49 +12376,49 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.35.tgz", - "integrity": "sha512-Ggtz7ZZHakriKioveJtPlStYardwQH6VCs9V13/4qjHSQb/teE30LVJNrbBVs4+aoYGtTQKJbTe4CWGxVZrvEw==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.36.tgz", + "integrity": "sha512-wN1aoCwSoqrt1yt8wO0gc13QaC+Vk1o6AoSt584YHNnz6TGDhh1NCMUYgAnvp4HEIkLdGsaC1bvu/P+wpoDEXw==", "dependencies": { - "@vue/shared": "3.4.35" + "@vue/shared": "3.4.36" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.35.tgz", - "integrity": "sha512-D+BAjFoWwT5wtITpSxwqfWZiBClhBbR+bm0VQlWYFOadUUXFo+5wbe9ErXhLvwguPiLZdEF13QAWi2vP3ZD5tA==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.36.tgz", + "integrity": "sha512-9+TR14LAVEerZWLOm/N/sG2DVYhrH2bKgFrbH/FVt/Q8Jdw4OtdcGMRC6Tx8VAo0DA1eqAqrZaX0fbOaOxxZ4A==", "dependencies": { - "@vue/reactivity": "3.4.35", - "@vue/shared": "3.4.35" + "@vue/reactivity": "3.4.36", + "@vue/shared": "3.4.36" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.35.tgz", - "integrity": "sha512-yGOlbos+MVhlS5NWBF2HDNgblG8e2MY3+GigHEyR/dREAluvI5tuUUgie3/9XeqhPE4LF0i2wjlduh5thnfOqw==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.36.tgz", + "integrity": "sha512-2Qe2fKkLxgZBVvHrG0QMNLL4bsx7Ae88pyXebY2WnQYABpOnGYvA+axMbcF9QwM4yxnsv+aELbC0eiNVns7mGw==", "dependencies": { - "@vue/reactivity": "3.4.35", - "@vue/runtime-core": "3.4.35", - "@vue/shared": "3.4.35", + "@vue/reactivity": "3.4.36", + "@vue/runtime-core": "3.4.36", + "@vue/shared": "3.4.36", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.35.tgz", - "integrity": "sha512-iZ0e/u9mRE4T8tNhlo0tbA+gzVkgv8r5BX6s1kRbOZqfpq14qoIvCZ5gIgraOmYkMYrSEZgkkojFPr+Nyq/Mnw==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.36.tgz", + "integrity": "sha512-2XW90Rq8+Y7S1EIsAuubZVLm0gCU8HYb5mRAruFdwfC3XSOU5/YKePz29csFzsch8hXaY5UHh7ZMddmi1XTJEA==", "dependencies": { - "@vue/compiler-ssr": "3.4.35", - "@vue/shared": "3.4.35" + "@vue/compiler-ssr": "3.4.36", + "@vue/shared": "3.4.36" }, "peerDependencies": { - "vue": "3.4.35" + "vue": "3.4.36" } }, "node_modules/@vue/shared": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.35.tgz", - "integrity": "sha512-hvuhBYYDe+b1G8KHxsQ0diDqDMA8D9laxWZhNAjE83VZb5UDaXl9Xnz7cGdDSyiHM90qqI/CyGMcpBpiDy6VVQ==" + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.36.tgz", + "integrity": "sha512-fdPLStwl1sDfYuUftBaUVn2pIrVFDASYerZSrlBvVBfylObPA1gtcWJHy5Ox8jLEJ524zBibss488Q3SZtU1uA==" }, "node_modules/@webassemblyjs/ast": { "version": "1.12.1", @@ -28966,12 +28977,12 @@ } }, "node_modules/playwright": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", - "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", + "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", "devOptional": true, "dependencies": { - "playwright-core": "1.45.3" + "playwright-core": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -28984,9 +28995,9 @@ } }, "node_modules/playwright-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", - "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", + "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", "devOptional": true, "bin": { "playwright-core": "cli.js" @@ -36450,15 +36461,15 @@ "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" }, "node_modules/vue": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.35.tgz", - "integrity": "sha512-+fl/GLmI4GPileHftVlCdB7fUL4aziPcqTudpTGXCT8s+iZWuOCeNEB5haX6Uz2IpRrbEXOgIFbe+XciCuGbNQ==", + "version": "3.4.36", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.36.tgz", + "integrity": "sha512-mIFvbLgjODfx3Iy1SrxOsiPpDb8Bo3EU+87ioimOZzZTOp15IEdAels70IjBOLO3ZFlLW5AhdwY4dWbXVQKYow==", "dependencies": { - "@vue/compiler-dom": "3.4.35", - "@vue/compiler-sfc": "3.4.35", - "@vue/runtime-dom": "3.4.35", - "@vue/server-renderer": "3.4.35", - "@vue/shared": "3.4.35" + "@vue/compiler-dom": "3.4.36", + "@vue/compiler-sfc": "3.4.36", + "@vue/runtime-dom": "3.4.36", + "@vue/server-renderer": "3.4.36", + "@vue/shared": "3.4.36" }, "peerDependencies": { "typescript": "*" @@ -36483,9 +36494,9 @@ "integrity": "sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==" }, "node_modules/vue-router": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.2.tgz", - "integrity": "sha512-1qNybkn2L7QsLzaXs8nvlQmRKp8XF8DCxZys/Jr1JpQcHsKUxTKzTxCVA1G7NfBfwRIBgCJPoujOG5lHCCNUxw==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.3.tgz", + "integrity": "sha512-sv6wmNKx2j3aqJQDMxLFzs/u/mjA9Z5LCgy6BE0f7yFWMjrPLnS/sPNn8ARY/FXw6byV18EFutn5lTO6+UsV5A==", "dependencies": { "@vue/devtools-api": "^6.6.3" }, @@ -38316,7 +38327,7 @@ "version": "0.0.0", "license": "Apache-2.0", "devDependencies": { - "@playwright/experimental-ct-react": "1.45.3", + "@playwright/experimental-ct-react": "1.46.0", "@types/react": "^18.3.3", "react": "^18.3.1", "react-dom": "^18.3.1" @@ -38327,10 +38338,10 @@ "version": "0.0.0", "license": "Apache-2.0", "dependencies": { - "vue": "^3.4.35" + "vue": "^3.4.36" }, "devDependencies": { - "@playwright/experimental-ct-vue": "1.45.3", + "@playwright/experimental-ct-vue": "1.46.0", "@vitejs/plugin-vue": "^5.1.2", "replace-in-file": "^8.1.0", "tsx": "^4.16.5", @@ -38356,8 +38367,8 @@ }, "devDependencies": { "@builder.io/eslint-plugin-mitosis": "^0.0.16", - "@builder.io/mitosis": "^0.3.19", - "@builder.io/mitosis-cli": "^0.3.19", + "@builder.io/mitosis": "^0.3.20", + "@builder.io/mitosis-cli": "^0.3.20", "@react-docgen/cli": "^2.0.3", "cpr": "3.0.1", "cssnano": "^7.0.4", @@ -38453,7 +38464,7 @@ }, "showcases/next-showcase": { "dependencies": { - "next": "latest", + "next": "*", "react": "18.3.1", "react-dom": "18.3.1" }, @@ -38473,8 +38484,8 @@ "hasInstallScript": true, "dependencies": { "nuxt": "^3.12.4", - "vue": "^3.4.35", - "vue-router": "^4.4.2" + "vue": "^3.4.36", + "vue-router": "^4.4.3" } }, "showcases/patternhub": { @@ -39162,8 +39173,8 @@ "version": "0.0.0", "dependencies": { "sa11y": "3.2.2", - "vue": "^3.4.35", - "vue-router": "4.4.2" + "vue": "^3.4.36", + "vue-router": "4.4.3" }, "devDependencies": { "@vitejs/plugin-vue": "^5.1.2", diff --git a/package.json b/package.json index 65d49ac9fc7..b341dff77aa 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@double-great/stylelint-a11y": "3.0.2", "@guidepup/guidepup": "0.22.3", "@guidepup/playwright": "^0.14.0", - "@playwright/test": "1.45.3", + "@playwright/test": "1.46.0", "@types/fs-extra": "^11.0.4", "accessibility-checker": "^3.1.71", "adm-zip": "0.5.15", diff --git a/packages/components/package.json b/packages/components/package.json index 615a7ce5bae..ee981d788e6 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -47,8 +47,8 @@ }, "devDependencies": { "@builder.io/eslint-plugin-mitosis": "^0.0.16", - "@builder.io/mitosis": "^0.3.19", - "@builder.io/mitosis-cli": "^0.3.19", + "@builder.io/mitosis": "^0.3.20", + "@builder.io/mitosis-cli": "^0.3.20", "@react-docgen/cli": "^2.0.3", "cpr": "3.0.1", "cssnano": "^7.0.4", diff --git a/packages/foundations/docs/Colors.md b/packages/foundations/docs/Colors.md index 0b31b712681..06a509ff423 100644 --- a/packages/foundations/docs/Colors.md +++ b/packages/foundations/docs/Colors.md @@ -4,6 +4,14 @@ - You can also use it to change the text color for components with the `*-transparent-semi` colors. - Most classes/placeholders will change `color` and `background-color` and will set properties, which will be passed down to adaptive components. +## How to use + +1. First, you can use our **[color usage guide](./color-usage-guide)** to find out which method is best for coloring your layouts or components. +2. The colors of layouts can be easily set using the predefined **[color classes](./color-classes)**. +3. When developing your own components, `SCSS` variables or `CSS Custom Properties` should be used. + +**🚧 The overview of our color variables is still in the making. Please come back soon.** + ## How to include colors For **CSS** and **Tailwind** you need to use the import `@import "@db-ui/foundations/build/css/color/classes/all.css";` in your root `.css` file. @@ -14,29 +22,7 @@ In case that you're either using a bundler (recommended) or importing the CSS wi For **SCSS** you need to use the import `@use @db-ui/foundations/build/scss/color/placeholder` in your `.scss` file, where you need to reference the specific variable. Then you can use e.g. **informational** color by extending our SCSS placeholders like this: `@extend %db-informational-bg-1`. -### How to use - -We're providing an [overview for all possible colors](./overview). - -There are several variants: `brand`, `neutral`, `critical`, `informational`, `successful`, `warning`. - -**We use `XXX` here you should replace it with a variant from above.** - -| Variant | CSS | SCSS | Tailwind | -| :--------------------: | ------------------------------------ | ------------------------------------- | ------------------------------------ | -| `XXX-bg-1` | `class="db-XXX-bg-1"` | `@extend %db-XXX-bg-1` | `class="db-XXX-bg-1"` | -| `XXX-bg-2` | `class="db-XXX-bg-2"` | `@extend %db-XXX-bg-2` | `class="db-XXX-bg-2"` | -| `XXX-bg-3` | `class="db-XXX-bg-3"` | `@extend %db-XXX-bg-3` | `class="db-XXX-bg-3"` | -| `XXX-transparent-semi` | `class="db-XXX-bg-transparent-semi"` | `@extend %db-XXX-bg-transparent-semi` | `class="db-XXX-bg-transparent-semi"` | -| `XXX-transparent-full` | `class="db-XXX-bg-transparent-full"` | `@extend %db-XXX-bg-transparent-full` | `class="db-XXX-bg-transparent-full"` | - -#### Additional Colors - -Besides of the variants above we deliver additional colors which aren't required for the Design System, but you can use them the same way. The additional variants are: -`yellow`, `orange`, `red`, `pink`, `violet`, `blue`, -`cyan`, `turquoise`, `green` - -### Dark- & Light-Mode +## Dark- & Light-Mode We provide tokens for both dark- and light-mode. If you include the **db-ui-42** style you get a media query `@media (prefers-color-scheme: dark)` with the relevant tokens. You can [emulate](https://developer.chrome.com/docs/devtools/rendering/emulate-css/) the modes inside the devtools. @@ -48,7 +34,7 @@ It's [recommended to set a `meta`-HTML-tag](https://web.dev/articles/color-schem We recommend using the default media query based on the user preference, but if you want to force a mode for your page or a container you can do it with adding the attributes `data-color-scheme="dark"` or `data-color-scheme="light"`: -#### HTML +### HTML ```html