diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 43bf1339f..21a1616db 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -94696,6 +94696,42 @@ "type": "string", "default": "", "description": "Checked hover background of handle" + }, + { + "name": "handle.color", + "token": "toggleswitch.handle.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Color of handle" + }, + { + "name": "handle.hoverColor", + "token": "toggleswitch.handle.hover.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Hover color of handle" + }, + { + "name": "handle.checkedColor", + "token": "toggleswitch.handle.checked.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Checked color of handle" + }, + { + "name": "handle.checkedHoverColor", + "token": "toggleswitch.handle.checked.hover.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Checked hover color of handle" } ] } diff --git a/packages/themes/types/toggleswitch/index.d.ts b/packages/themes/types/toggleswitch/index.d.ts index d9e295589..58689697a 100644 --- a/packages/themes/types/toggleswitch/index.d.ts +++ b/packages/themes/types/toggleswitch/index.d.ts @@ -205,5 +205,29 @@ export interface ToggleSwitchDesignTokens extends ColorSchemeDesignToken=14} @@ -3929,8 +3932,8 @@ packages: resolution: {integrity: sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - h3@1.12.0: - resolution: {integrity: sha512-Zi/CcNeWBXDrFNlV0hUBJQR9F7a96RjMeAZweW/ZWkR9fuXrMcvKnSA63f/zZ9l0GgQOZDVHGvXivNN9PWOwhA==} + h3@1.13.0: + resolution: {integrity: sha512-vFEAu/yf8UMUcB4s43OaDaigcqpQd14yanmOsn+NcRX3/guSKncyE2rOYhq8RIchgJrPSs/QiIddnTTR1ddiAg==} has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} @@ -4365,8 +4368,8 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - listhen@1.8.0: - resolution: {integrity: sha512-Wj5hk++HPDqnG/0nc9++oXf8M3GlzObC6AJJJ9VYAVhVTdeW+t3HyeiKhK6Ro0GPhVd8lOYM75zsckrtzLB2Gw==} + listhen@1.9.0: + resolution: {integrity: sha512-I8oW2+QL5KJo8zXNWX046M134WchxsXC7SawLPvRQpogCbkyQIaFxPE89A2HiwR7vAK2Dm2ERBAmyjTYGYEpBg==} hasBin: true load-tsconfig@0.2.5: @@ -5436,8 +5439,8 @@ packages: resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} - preact@10.24.1: - resolution: {integrity: sha512-PnBAwFI3Yjxxcxw75n6VId/5TFxNW/81zexzWD9jn1+eSrOP84NdsS38H5IkF/UH3frqRPT+MvuCoVHjTDTnDw==} + preact@10.24.2: + resolution: {integrity: sha512-1cSoF0aCC8uaARATfrlz4VCBqE8LwZwRfLgkxJOQwAlQt6ayTmi0D9OF7nXid1POI5SZidFuG9CnlXbDfLqY/Q==} prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} @@ -7790,7 +7793,7 @@ snapshots: '@docsearch/js@3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2)': dependencies: '@docsearch/react': 3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2) - preact: 10.24.1 + preact: 10.24.2 transitivePeerDependencies: - '@algolia/client-search' - '@types/react' @@ -8460,7 +8463,7 @@ snapshots: flatted: 3.3.1 get-port-please: 3.1.2 global-dirs: 3.0.1 - h3: 1.12.0 + h3: 1.13.0 hookable: 5.5.3 image-meta: 0.1.1 is-installed-globally: 0.4.0 @@ -8492,7 +8495,6 @@ snapshots: - debug - rollup - supports-color - - uWebSockets.js - utf-8-validate - webpack-sources @@ -8767,7 +8769,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.0)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.24.0)(webpack-sources@3.2.3) @@ -8778,7 +8780,7 @@ snapshots: estree-walker: 3.0.3 fake-indexeddb: 6.0.0 get-port-please: 3.1.2 - h3: 1.12.0 + h3: 1.13.0 local-pkg: 0.5.0 magic-string: 0.30.11 nitropack: 2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3) @@ -8794,7 +8796,7 @@ snapshots: unenv: 1.10.0 unplugin: 1.14.1(webpack-sources@3.2.3) vite: 5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1) - vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3) + vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3) vue: 3.5.11(typescript@5.6.2) vue-router: 4.4.5(vue@3.5.11(typescript@5.6.2)) optionalDependencies: @@ -8825,7 +8827,7 @@ snapshots: externality: 1.0.2 fs-extra: 11.2.0 get-port-please: 3.1.2 - h3: 1.12.0 + h3: 1.13.0 knitwork: 1.1.0 magic-string: 0.30.11 mlly: 1.7.1 @@ -8862,7 +8864,6 @@ snapshots: - supports-color - terser - typescript - - uWebSockets.js - vls - vti - vue-tsc @@ -9804,7 +9805,7 @@ snapshots: autoprefixer@10.4.20(postcss@8.4.47): dependencies: browserslist: 4.24.0 - caniuse-lite: 1.0.30001666 + caniuse-lite: 1.0.30001667 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.0 @@ -9893,7 +9894,7 @@ snapshots: browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001666 + caniuse-lite: 1.0.30001667 electron-to-chromium: 1.5.32 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) @@ -9976,11 +9977,11 @@ snapshots: caniuse-api@3.0.0: dependencies: browserslist: 4.24.0 - caniuse-lite: 1.0.30001666 + caniuse-lite: 1.0.30001667 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001666: {} + caniuse-lite@1.0.30001667: {} chai@4.5.0: dependencies: @@ -10195,6 +10196,10 @@ snapshots: crossws@0.2.4: {} + crossws@0.3.1: + dependencies: + uncrypto: 0.1.3 + css-declaration-sorter@6.4.1(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -11156,10 +11161,10 @@ snapshots: dependencies: duplexer: 0.1.2 - h3@1.12.0: + h3@1.13.0: dependencies: cookie-es: 1.2.2 - crossws: 0.2.4 + crossws: 0.3.1 defu: 6.1.4 destr: 2.0.3 iron-webcrypto: 1.2.1 @@ -11168,8 +11173,6 @@ snapshots: ufo: 1.5.4 uncrypto: 0.1.3 unenv: 1.10.0 - transitivePeerDependencies: - - uWebSockets.js has-flag@3.0.0: {} @@ -11574,7 +11577,7 @@ snapshots: lines-and-columns@1.2.4: {} - listhen@1.8.0: + listhen@1.9.0: dependencies: '@parcel/watcher': 2.4.1 '@parcel/watcher-wasm': 2.4.1 @@ -11584,7 +11587,7 @@ snapshots: crossws: 0.2.4 defu: 6.1.4 get-port-please: 3.1.2 - h3: 1.12.0 + h3: 1.13.0 http-shutdown: 1.2.2 jiti: 2.1.2 mlly: 1.7.1 @@ -11907,14 +11910,14 @@ snapshots: fs-extra: 11.2.0 globby: 13.2.2 gzip-size: 7.0.0 - h3: 1.12.0 + h3: 1.13.0 hookable: 5.5.3 http-proxy: 1.18.1 is-primitive: 3.0.1 jiti: 1.21.6 klona: 2.0.6 knitwork: 1.1.0 - listhen: 1.8.0 + listhen: 1.9.0 mime: 3.0.0 mlly: 1.7.1 mri: 1.2.0 @@ -11992,14 +11995,14 @@ snapshots: fs-extra: 11.2.0 globby: 14.0.2 gzip-size: 7.0.0 - h3: 1.12.0 + h3: 1.13.0 hookable: 5.5.3 httpxy: 0.1.5 ioredis: 5.4.1 jiti: 1.21.6 klona: 2.0.6 knitwork: 1.1.0 - listhen: 1.8.0 + listhen: 1.9.0 magic-string: 0.30.11 mime: 4.0.4 mlly: 1.7.1 @@ -12195,7 +12198,7 @@ snapshots: estree-walker: 3.0.3 fs-extra: 11.2.0 globby: 13.2.2 - h3: 1.12.0 + h3: 1.13.0 hash-sum: 2.0.0 hookable: 5.5.3 jiti: 1.21.6 @@ -12277,7 +12280,7 @@ snapshots: estree-walker: 3.0.3 fs-extra: 11.2.0 globby: 13.2.2 - h3: 1.12.0 + h3: 1.13.0 hash-sum: 2.0.0 hookable: 5.5.3 jiti: 1.21.6 @@ -12946,7 +12949,7 @@ snapshots: picocolors: 1.1.0 source-map-js: 1.2.1 - preact@10.24.1: {} + preact@10.24.2: {} prelude-ls@1.2.1: {} @@ -13976,8 +13979,8 @@ snapshots: anymatch: 3.1.3 chokidar: 3.6.0 destr: 2.0.3 - h3: 1.12.0 - listhen: 1.8.0 + h3: 1.13.0 + listhen: 1.9.0 lru-cache: 10.4.3 mri: 1.2.0 node-fetch-native: 1.6.4 @@ -14173,9 +14176,9 @@ snapshots: sass: 1.79.4 terser: 5.34.1 - vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3): + vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: - '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.24.0)(vite@5.4.8(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vitest@1.6.0(@types/node@18.19.54)(sass@1.79.4)(terser@5.34.1))(vue-router@4.4.5(vue@3.5.11(typescript@5.6.2)))(vue@3.5.11(typescript@5.6.2))(webpack-sources@3.2.3) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals'