From ba8e2ab601c2abc3da240a3b0cf62ce655eeb632 Mon Sep 17 00:00:00 2001 From: ShaneK Date: Wed, 18 Nov 2026 09:53:39 -0800 Subject: [PATCH 1/3] docs(toggle): document custom on/off icons and global config options with playground --- docs/api/toggle.mdx | 10 +++++ docs/developing/config.mdx | 2 + .../stackblitz/v9/angular/package-lock.json | 26 ++++++------ .../code/stackblitz/v9/angular/package.json | 4 +- .../code/stackblitz/v9/html/package-lock.json | 16 ++++---- static/code/stackblitz/v9/html/package.json | 2 +- .../stackblitz/v9/react/package-lock.json | 36 ++++++++--------- static/code/stackblitz/v9/react/package.json | 4 +- .../code/stackblitz/v9/vue/package-lock.json | 40 +++++++++---------- static/code/stackblitz/v9/vue/package.json | 4 +- static/usage/v9/fab/animation/demo.html | 4 +- .../angular/example_component_html.md | 3 ++ .../angular/example_component_ts.md | 24 +++++++++++ static/usage/v9/toggle/on-off-icons/demo.html | 28 +++++++++++++ static/usage/v9/toggle/on-off-icons/index.mdx | 24 +++++++++++ .../v9/toggle/on-off-icons/javascript.md | 3 ++ static/usage/v9/toggle/on-off-icons/react.md | 14 +++++++ static/usage/v9/toggle/on-off-icons/vue.md | 10 +++++ 18 files changed, 186 insertions(+), 68 deletions(-) create mode 100644 static/usage/v9/toggle/on-off-icons/angular/example_component_html.md create mode 100644 static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md create mode 100644 static/usage/v9/toggle/on-off-icons/demo.html create mode 100644 static/usage/v9/toggle/on-off-icons/index.mdx create mode 100644 static/usage/v9/toggle/on-off-icons/javascript.md create mode 100644 static/usage/v9/toggle/on-off-icons/react.md create mode 100644 static/usage/v9/toggle/on-off-icons/vue.md diff --git a/docs/api/toggle.mdx b/docs/api/toggle.mdx index 36b1fe39063..974d2921d63 100644 --- a/docs/api/toggle.mdx +++ b/docs/api/toggle.mdx @@ -37,6 +37,16 @@ import OnOff from '@site/static/usage/v9/toggle/on-off/index.mdx'; +### Custom On / Off Icons {/* #custom-on--off-icons */} + +The icons shown when on/off labels are enabled can be set to any [Ionicon](https://ionic.io/ionicons) or the `src` of an SVG file using the `checkedIcon` and `uncheckedIcon` properties. To change the icons for every toggle in an app, use the `toggleCheckedIcon` and `toggleUncheckedIcon` [global config](/developing/config.mdx#ionicconfig) options. A property set on a toggle takes priority over the global config. + +Custom icons are hidden from assistive technology, so the toggle's label needs to describe the setting on its own. Pick icons that keep the checked and unchecked states visually distinct. + +import OnOffIcons from '@site/static/usage/v9/toggle/on-off-icons/index.mdx'; + + + ## Toggles in a List {/* #toggles-in-a-list */} Toggles can also be used in a list view by using the [Item](./item) and [List](./list) components. diff --git a/docs/developing/config.mdx b/docs/developing/config.mdx index 66d7b5eb0dc..8cb589572dc 100644 --- a/docs/developing/config.mdx +++ b/docs/developing/config.mdx @@ -208,6 +208,8 @@ Below are the config options that Ionic uses. | `toastDuration` | `number` | Overrides the default `duration` for all `ion-toast` components. | | `toastEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-toast`, overriding the default "animation". | | `toastLeave` | `AnimationBuilder` | Provides a custom leave animation for all `ion-toast`, overriding the default "animation". | +| `toggleCheckedIcon` | `string` | Overrides the default checked icon in all `ion-toggle` components. Only shown when `enableOnOffLabels` is `true`. | | `toggleOnOffLabels` | `boolean` | Overrides the default `enableOnOffLabels` in all `ion-toggle` components. | +| `toggleUncheckedIcon` | `string` | Overrides the default unchecked icon in all `ion-toggle` components. Only shown when `enableOnOffLabels` is `true`. | | `experimentalCloseWatcher` | `boolean` | **Experimental:** If `true`, the [CloseWatcher API](https://github.com/WICG/close-watcher) will be used to handle all Escape key and hardware back button presses to dismiss menus and overlays and to navigate. Note that the `hardwareBackButton` config option must also be `true`. | | `focusManagerPriority` | [`FocusManagerPriority[]`](./managing-focus#types) | **Experimental:** When defined, Ionic will move focus to the appropriate element after each page transition. This ensures that users relying on assistive technology are informed when a page transition happens. Disabled by default. | diff --git a/static/code/stackblitz/v9/angular/package-lock.json b/static/code/stackblitz/v9/angular/package-lock.json index 4b05f85b4c1..63c9a01b246 100644 --- a/static/code/stackblitz/v9/angular/package-lock.json +++ b/static/code/stackblitz/v9/angular/package-lock.json @@ -14,8 +14,8 @@ "@angular/platform-browser": "^22.0.0", "@angular/platform-browser-dynamic": "^22.0.0", "@angular/router": "^22.0.0", - "@ionic/angular": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/angular": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "ionicons": "8.1.0", "rxjs": "^7.8.1", "tslib": "^2.5.0" @@ -2578,12 +2578,12 @@ } }, "node_modules/@ionic/angular": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-fxIfP6m9nDNDniKGbN2NnK6kWCLDq+60gOHEIfTyNsxn/j8rRVjliB5inxr0UOIwmOs+LN6k2t+RgplCqfFpcA==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-9i2/spV+gpKCIhQ0YuzidoYLUzClTdsylrPeJ7Devc23Jsw9kPBHxV6XDhVd3tlMH4Y5uHvejNFvrNbAQF4pkg==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "ionicons": "^8.0.13", "jsonc-parser": "^3.0.0", "tslib": "^2.3.0" @@ -2602,12 +2602,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.4", + "@stencil/core": "^4.45.3", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -4233,9 +4233,9 @@ "license": "MIT" }, "node_modules/@stencil/core": { - "version": "4.45.5", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz", - "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==", + "version": "4.45.4", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz", + "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==", "license": "MIT", "bin": { "stencil": "bin/stencil" diff --git a/static/code/stackblitz/v9/angular/package.json b/static/code/stackblitz/v9/angular/package.json index b4456ce7f5a..59b5542bc2d 100644 --- a/static/code/stackblitz/v9/angular/package.json +++ b/static/code/stackblitz/v9/angular/package.json @@ -15,8 +15,8 @@ "@angular/platform-browser": "^22.0.0", "@angular/platform-browser-dynamic": "^22.0.0", "@angular/router": "^22.0.0", - "@ionic/angular": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/angular": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "ionicons": "8.1.0", "rxjs": "^7.8.1", "tslib": "^2.5.0" diff --git a/static/code/stackblitz/v9/html/package-lock.json b/static/code/stackblitz/v9/html/package-lock.json index 585844a67bc..df93091d740 100644 --- a/static/code/stackblitz/v9/html/package-lock.json +++ b/static/code/stackblitz/v9/html/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "html-starter", "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "ionicons": "8.1.0" }, "devDependencies": { @@ -16,12 +16,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.4", + "@stencil/core": "^4.45.3", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -136,9 +136,9 @@ ] }, "node_modules/@stencil/core": { - "version": "4.45.5", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz", - "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==", + "version": "4.45.4", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz", + "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==", "license": "MIT", "bin": { "stencil": "bin/stencil" diff --git a/static/code/stackblitz/v9/html/package.json b/static/code/stackblitz/v9/html/package.json index c3a49f2f4c9..0e47a1a3c8c 100644 --- a/static/code/stackblitz/v9/html/package.json +++ b/static/code/stackblitz/v9/html/package.json @@ -9,7 +9,7 @@ "start": "vite preview" }, "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "ionicons": "8.1.0" }, "devDependencies": { diff --git a/static/code/stackblitz/v9/react/package-lock.json b/static/code/stackblitz/v9/react/package-lock.json index ea4d53cbbb6..50720f4b598 100644 --- a/static/code/stackblitz/v9/react/package-lock.json +++ b/static/code/stackblitz/v9/react/package-lock.json @@ -8,8 +8,8 @@ "name": "vite-react-typescript", "version": "0.1.0", "dependencies": { - "@ionic/react": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/react-router": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/react": "9.0.12-dev.11795023599.110c163a", + "@ionic/react-router": "9.0.12-dev.11795023599.110c163a", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", @@ -256,12 +256,12 @@ "license": "MIT" }, "node_modules/@ionic/core": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.4", + "@stencil/core": "^4.45.3", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -270,12 +270,12 @@ } }, "node_modules/@ionic/react": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-vEqxWTGziTdJjlfDQa81bctIhLyHVu54X12gfjFAjNGVstu++kjrCInbv9VcpfBouo9IriT8T25QliAJSsq+6w==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-Hnb7XPRS+qD+THGsJLQCtvaUs3/updLIraKC5umInZsYFghF7n+DkUlECo2QY9Q+avRPHbCkuHoTWKRP5CfxwQ==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "@stencil/react-output-target": "^1.7.0", "ionicons": "^8.0.13", "tslib": "*" @@ -286,13 +286,13 @@ } }, "node_modules/@ionic/react-router": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-xfEQHL8/7LUeWXmWhlIBH65HCibYOckADmRbGBJvz5/8z3jso+norvRtdvL+FhBWae2sUWTrdvuHzTd05lJJdw==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-RisyFa+nke2XelUjp9gtXhMLcw860nFukzlC7skxXvo8vY7p0eyGnp0Fv6zW2zm419nnT1B6WlKufuFqrAuZxg==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/react": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/react": "9.0.12-dev.11795023599.110c163a", "tslib": "*" }, "peerDependencies": { @@ -487,9 +487,9 @@ ] }, "node_modules/@stencil/core": { - "version": "4.45.5", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz", - "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==", + "version": "4.45.4", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz", + "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==", "license": "MIT", "bin": { "stencil": "bin/stencil" diff --git a/static/code/stackblitz/v9/react/package.json b/static/code/stackblitz/v9/react/package.json index 57cb9bd734d..db5da19ebef 100644 --- a/static/code/stackblitz/v9/react/package.json +++ b/static/code/stackblitz/v9/react/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "dependencies": { - "@ionic/react": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/react-router": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/react": "9.0.12-dev.11795023599.110c163a", + "@ionic/react-router": "9.0.12-dev.11795023599.110c163a", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/static/code/stackblitz/v9/vue/package-lock.json b/static/code/stackblitz/v9/vue/package-lock.json index 2e50235dc1a..a0ce4d2b937 100644 --- a/static/code/stackblitz/v9/vue/package-lock.json +++ b/static/code/stackblitz/v9/vue/package-lock.json @@ -8,8 +8,8 @@ "name": "vite-vue-starter", "version": "0.0.0", "dependencies": { - "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/vue-router": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/vue": "9.0.12-dev.11795023599.110c163a", + "@ionic/vue-router": "9.0.12-dev.11795023599.110c163a", "vue": "^3.2.25", "vue-router": "5.4.0" }, @@ -63,12 +63,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-2F9QwrH2wlsE5tJUU0R0vgDJpFoFuMNf8toXRjNp7w0eVIVBDbrfCHuOfojw839DY2ww6r8N1kXqgft4n7M29A==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.4", + "@stencil/core": "^4.45.3", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -77,23 +77,23 @@ } }, "node_modules/@ionic/vue": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-rHyDPHHSxvcmH17yB3IzWPHneXvmpVQEVk1WdwFQUNkutWgSALKH4pIiRLvvMpbp4GcaFbwl9WNxtr2Q5I+CfQ==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-ivXMO5xJPL7Yiw10ufJL66+2QADnv4gxsCpTWj9XsjOLDA/y1w5BKJ8jmvealoYxL7fkempvg82WHM4wINvFVA==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/core": "9.0.12-dev.11795023599.110c163a", "@stencil/vue-output-target": "0.14.7", "ionicons": "^8.0.13" } }, "node_modules/@ionic/vue-router": { - "version": "9.0.13-dev.11795197602.11ba74b4", - "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.13-dev.11795197602.11ba74b4.tgz", - "integrity": "sha512-wo3SqRqT88WaLqxClTIXi37GzqLvntAUNPTyDNLeeWiIRl2JTJNHvM46VTraWb9kQcB4xqKPpK17q3UsraFAzw==", + "version": "9.0.12-dev.11795023599.110c163a", + "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.12-dev.11795023599.110c163a.tgz", + "integrity": "sha512-dE/2qLFmqwpOCIUvaiwCbTucVt+zyDCWSSeDGsQmjFCit+jnUCENORQG+/UmooYI6eFD1gcy+TUZpmo2TR/IVQ==", "license": "MIT", "dependencies": { - "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4" + "@ionic/vue": "9.0.12-dev.11795023599.110c163a" } }, "node_modules/@jridgewell/gen-mapping": { @@ -255,9 +255,9 @@ ] }, "node_modules/@stencil/core": { - "version": "4.45.5", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.5.tgz", - "integrity": "sha512-tz6h9MI/s0WwNsfGbSguo9+xnerWam8NI8/U3VUS9MNMviTYyg3Ymz5XniSM9PGFnbd2xhhmyJhHHaFmy9mYog==", + "version": "4.45.4", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.45.4.tgz", + "integrity": "sha512-MkGop5DULDFAorpI4/zeEqmU9KRuUaqrjprMrEdpqGXhWQ8Lkk4jqQF+lJtOa3BjPrv8j7Ux2hu6vpd4vJJUvw==", "license": "MIT", "bin": { "stencil": "bin/stencil" @@ -728,9 +728,9 @@ "license": "MIT" }, "node_modules/ionicons": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-8.1.1.tgz", - "integrity": "sha512-VJjbZjjyzFmI0MAtlUKRprLpD4MbGbwcijk2aduu/a3jhGhlSUC/tQ2wM3p0/SF44/oDFdl0bdZMya3rZxnoyg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-8.1.0.tgz", + "integrity": "sha512-XSM2gYWTXxSYTwjmKWAoy4yR7AbAFDjpc5ZIivAiGXskM0fe5CdMPfs6InQRUcrYtVb2WZ/0HQ1/jeh3JW78SA==", "license": "MIT", "dependencies": { "@stencil/core": "^4.43.5" diff --git a/static/code/stackblitz/v9/vue/package.json b/static/code/stackblitz/v9/vue/package.json index 0d645e40b08..35efdaeff02 100644 --- a/static/code/stackblitz/v9/vue/package.json +++ b/static/code/stackblitz/v9/vue/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@ionic/vue": "9.0.13-dev.11795197602.11ba74b4", - "@ionic/vue-router": "9.0.13-dev.11795197602.11ba74b4", + "@ionic/vue": "9.0.12-dev.11795023599.110c163a", + "@ionic/vue-router": "9.0.12-dev.11795023599.110c163a", "vue": "^3.2.25", "vue-router": "5.4.0" }, diff --git a/static/usage/v9/fab/animation/demo.html b/static/usage/v9/fab/animation/demo.html index 7bef1b30b4c..cde29758c98 100644 --- a/static/usage/v9/fab/animation/demo.html +++ b/static/usage/v9/fab/animation/demo.html @@ -8,11 +8,11 @@ diff --git a/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md b/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md new file mode 100644 index 00000000000..93abdcb65a1 --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/angular/example_component_html.md @@ -0,0 +1,3 @@ +```html +Dark Mode +``` diff --git a/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md b/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md new file mode 100644 index 00000000000..d07b68ff264 --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/angular/example_component_ts.md @@ -0,0 +1,24 @@ +```ts +import { Component } from '@angular/core'; +import { IonToggle } from '@ionic/angular'; + +import { addIcons } from 'ionicons'; +import { moon, sunny } from 'ionicons/icons'; + +@Component({ + selector: 'app-example', + templateUrl: 'example.component.html', + styleUrls: ['example.component.css'], + imports: [IonToggle], +}) +export class ExampleComponent { + constructor() { + /** + * Any icons you want to use in your application + * can be registered in app.component.ts and then + * referenced by name anywhere in your application. + */ + addIcons({ moon, sunny }); + } +} +``` diff --git a/static/usage/v9/toggle/on-off-icons/demo.html b/static/usage/v9/toggle/on-off-icons/demo.html new file mode 100644 index 00000000000..006d2d46f58 --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/demo.html @@ -0,0 +1,28 @@ + + + + + + Toggle - On / Off Icons + + + + + + + + + +
+ Dark Mode +
+
+
+ + diff --git a/static/usage/v9/toggle/on-off-icons/index.mdx b/static/usage/v9/toggle/on-off-icons/index.mdx new file mode 100644 index 00000000000..c4e900149fd --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/index.mdx @@ -0,0 +1,24 @@ +import Playground from '@site/src/components/global/Playground'; + +import javascript from './javascript.md'; +import react from './react.md'; +import vue from './vue.md'; + +import angular_example_component_html from './angular/example_component_html.md'; +import angular_example_component_ts from './angular/example_component_ts.md'; + + diff --git a/static/usage/v9/toggle/on-off-icons/javascript.md b/static/usage/v9/toggle/on-off-icons/javascript.md new file mode 100644 index 00000000000..ac8546fa49b --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/javascript.md @@ -0,0 +1,3 @@ +```html +Dark Mode +``` diff --git a/static/usage/v9/toggle/on-off-icons/react.md b/static/usage/v9/toggle/on-off-icons/react.md new file mode 100644 index 00000000000..61b4cd166a0 --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/react.md @@ -0,0 +1,14 @@ +```tsx +import React from 'react'; +import { IonToggle } from '@ionic/react'; +import { moon, sunny } from 'ionicons/icons'; + +function Example() { + return ( + + Dark Mode + + ); +} +export default Example; +``` diff --git a/static/usage/v9/toggle/on-off-icons/vue.md b/static/usage/v9/toggle/on-off-icons/vue.md new file mode 100644 index 00000000000..5171b7e6504 --- /dev/null +++ b/static/usage/v9/toggle/on-off-icons/vue.md @@ -0,0 +1,10 @@ +```html + + + +``` From db2caca4c1d80a7d876a9f2ab25404d4a5220fe4 Mon Sep 17 00:00:00 2001 From: ShaneK Date: Fri, 20 Nov 2026 12:39:52 -0800 Subject: [PATCH 2/3] docs(toggle): register on/off icons in javascript example and fix vue code block formatting --- static/usage/v9/toggle/on-off-icons/javascript.md | 12 ++++++++++++ static/usage/v9/toggle/on-off-icons/vue.md | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/static/usage/v9/toggle/on-off-icons/javascript.md b/static/usage/v9/toggle/on-off-icons/javascript.md index ac8546fa49b..cc999a10ddd 100644 --- a/static/usage/v9/toggle/on-off-icons/javascript.md +++ b/static/usage/v9/toggle/on-off-icons/javascript.md @@ -1,3 +1,15 @@ ```html Dark Mode + + ``` diff --git a/static/usage/v9/toggle/on-off-icons/vue.md b/static/usage/v9/toggle/on-off-icons/vue.md index 5171b7e6504..101a80d23ba 100644 --- a/static/usage/v9/toggle/on-off-icons/vue.md +++ b/static/usage/v9/toggle/on-off-icons/vue.md @@ -1,10 +1,10 @@ -```html +```vue ``` From 651e1a156f14e259859695247b3beb0a50c26a65 Mon Sep 17 00:00:00 2001 From: ShaneK Date: Fri, 20 Nov 2026 13:37:53 -0800 Subject: [PATCH 3/3] docs(toggle): register icons with addIcons in JavaScript example and update to combined dev build --- .../stackblitz/v9/angular/package-lock.json | 20 ++++----- .../code/stackblitz/v9/angular/package.json | 4 +- .../code/stackblitz/v9/html/package-lock.json | 10 ++--- static/code/stackblitz/v9/html/package.json | 2 +- .../stackblitz/v9/react/package-lock.json | 30 ++++++------- static/code/stackblitz/v9/react/package.json | 4 +- .../code/stackblitz/v9/vue/package-lock.json | 43 +++++++++---------- static/code/stackblitz/v9/vue/package.json | 4 +- static/usage/v9/fab/animation/demo.html | 4 +- static/usage/v9/toggle/on-off-icons/demo.html | 4 +- 10 files changed, 62 insertions(+), 63 deletions(-) diff --git a/static/code/stackblitz/v9/angular/package-lock.json b/static/code/stackblitz/v9/angular/package-lock.json index 63c9a01b246..298d3be2f48 100644 --- a/static/code/stackblitz/v9/angular/package-lock.json +++ b/static/code/stackblitz/v9/angular/package-lock.json @@ -14,8 +14,8 @@ "@angular/platform-browser": "^22.0.0", "@angular/platform-browser-dynamic": "^22.0.0", "@angular/router": "^22.0.0", - "@ionic/angular": "9.0.12-dev.11795023599.110c163a", - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/angular": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "ionicons": "8.1.0", "rxjs": "^7.8.1", "tslib": "^2.5.0" @@ -2578,12 +2578,12 @@ } }, "node_modules/@ionic/angular": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-9i2/spV+gpKCIhQ0YuzidoYLUzClTdsylrPeJ7Devc23Jsw9kPBHxV6XDhVd3tlMH4Y5uHvejNFvrNbAQF4pkg==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/angular/-/angular-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-HB22uIzirPe5iONsC4GlFnzq6E4esUPFs8bJq2Td08dL6R4KJKuwkxc5SEz6wrh61TDMIOszUHt9akyGI2YVgQ==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "ionicons": "^8.0.13", "jsonc-parser": "^3.0.0", "tslib": "^2.3.0" @@ -2602,12 +2602,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.3", + "@stencil/core": "^4.45.4", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, diff --git a/static/code/stackblitz/v9/angular/package.json b/static/code/stackblitz/v9/angular/package.json index 59b5542bc2d..b8615ef5c97 100644 --- a/static/code/stackblitz/v9/angular/package.json +++ b/static/code/stackblitz/v9/angular/package.json @@ -15,8 +15,8 @@ "@angular/platform-browser": "^22.0.0", "@angular/platform-browser-dynamic": "^22.0.0", "@angular/router": "^22.0.0", - "@ionic/angular": "9.0.12-dev.11795023599.110c163a", - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/angular": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "ionicons": "8.1.0", "rxjs": "^7.8.1", "tslib": "^2.5.0" diff --git a/static/code/stackblitz/v9/html/package-lock.json b/static/code/stackblitz/v9/html/package-lock.json index df93091d740..ee46e9208c6 100644 --- a/static/code/stackblitz/v9/html/package-lock.json +++ b/static/code/stackblitz/v9/html/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "html-starter", "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "ionicons": "8.1.0" }, "devDependencies": { @@ -16,12 +16,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.3", + "@stencil/core": "^4.45.4", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, diff --git a/static/code/stackblitz/v9/html/package.json b/static/code/stackblitz/v9/html/package.json index 0e47a1a3c8c..2dad1ea7c79 100644 --- a/static/code/stackblitz/v9/html/package.json +++ b/static/code/stackblitz/v9/html/package.json @@ -9,7 +9,7 @@ "start": "vite preview" }, "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "ionicons": "8.1.0" }, "devDependencies": { diff --git a/static/code/stackblitz/v9/react/package-lock.json b/static/code/stackblitz/v9/react/package-lock.json index 50720f4b598..8278117762f 100644 --- a/static/code/stackblitz/v9/react/package-lock.json +++ b/static/code/stackblitz/v9/react/package-lock.json @@ -8,8 +8,8 @@ "name": "vite-react-typescript", "version": "0.1.0", "dependencies": { - "@ionic/react": "9.0.12-dev.11795023599.110c163a", - "@ionic/react-router": "9.0.12-dev.11795023599.110c163a", + "@ionic/react": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/react-router": "9.0.13-dev.11795209321.12c3c69e", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", @@ -256,12 +256,12 @@ "license": "MIT" }, "node_modules/@ionic/core": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.3", + "@stencil/core": "^4.45.4", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -270,12 +270,12 @@ } }, "node_modules/@ionic/react": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-Hnb7XPRS+qD+THGsJLQCtvaUs3/updLIraKC5umInZsYFghF7n+DkUlECo2QY9Q+avRPHbCkuHoTWKRP5CfxwQ==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/react/-/react-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-2IVKuuN7kjpbLD3zyMCmmqJvPiuybvRoYEPTNkv+yYZmgtlcJST6CcAErypOVjUS1TAdVY9ruA5gxZvA6jYCjA==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "@stencil/react-output-target": "^1.7.0", "ionicons": "^8.0.13", "tslib": "*" @@ -286,13 +286,13 @@ } }, "node_modules/@ionic/react-router": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-RisyFa+nke2XelUjp9gtXhMLcw860nFukzlC7skxXvo8vY7p0eyGnp0Fv6zW2zm419nnT1B6WlKufuFqrAuZxg==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/react-router/-/react-router-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-WvDnaTf94szJTou/9FFjCbXQH7mOhKx9UqVDuuUCnKSG4tPv81Q0XL362PloKt2MMzRLSU+HcRaoTRPIwJug7g==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", - "@ionic/react": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/react": "9.0.13-dev.11795209321.12c3c69e", "tslib": "*" }, "peerDependencies": { diff --git a/static/code/stackblitz/v9/react/package.json b/static/code/stackblitz/v9/react/package.json index db5da19ebef..fbbe257a5da 100644 --- a/static/code/stackblitz/v9/react/package.json +++ b/static/code/stackblitz/v9/react/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "dependencies": { - "@ionic/react": "9.0.12-dev.11795023599.110c163a", - "@ionic/react-router": "9.0.12-dev.11795023599.110c163a", + "@ionic/react": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/react-router": "9.0.13-dev.11795209321.12c3c69e", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/static/code/stackblitz/v9/vue/package-lock.json b/static/code/stackblitz/v9/vue/package-lock.json index a0ce4d2b937..53957198aa4 100644 --- a/static/code/stackblitz/v9/vue/package-lock.json +++ b/static/code/stackblitz/v9/vue/package-lock.json @@ -8,8 +8,8 @@ "name": "vite-vue-starter", "version": "0.0.0", "dependencies": { - "@ionic/vue": "9.0.12-dev.11795023599.110c163a", - "@ionic/vue-router": "9.0.12-dev.11795023599.110c163a", + "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/vue-router": "9.0.13-dev.11795209321.12c3c69e", "vue": "^3.2.25", "vue-router": "5.4.0" }, @@ -63,12 +63,12 @@ } }, "node_modules/@ionic/core": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-7uTyaokUO2AB76QoKMcCcB1+eKXZ/4OnhEBfAGMUS+uWRToAGPRNxjZYtjeui9S+xM1GlIkvRs2VOWyzEHR/rw==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-vP6Yu+J/RXguRCzGimDJ853nmiAUfEr4jROdT3dZsTUM9ZCx5+ydk+5J1meXz03HO4QgteWvLHKudwdXOFfrBg==", "license": "MIT", "dependencies": { - "@stencil/core": "^4.45.3", + "@stencil/core": "^4.45.4", "ionicons": "^8.1.0", "tslib": "^2.1.0" }, @@ -77,23 +77,23 @@ } }, "node_modules/@ionic/vue": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-ivXMO5xJPL7Yiw10ufJL66+2QADnv4gxsCpTWj9XsjOLDA/y1w5BKJ8jmvealoYxL7fkempvg82WHM4wINvFVA==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-lNFve2nWOuTk00l6Rsvs5dGlDCRMPLgWgG1GqSDmd6TKGHd4fMh1VyjLjRfA87CCuwJxvrDuaeCat10mP7Y/sQ==", "license": "MIT", "dependencies": { - "@ionic/core": "9.0.12-dev.11795023599.110c163a", + "@ionic/core": "9.0.13-dev.11795209321.12c3c69e", "@stencil/vue-output-target": "0.14.7", "ionicons": "^8.0.13" } }, "node_modules/@ionic/vue-router": { - "version": "9.0.12-dev.11795023599.110c163a", - "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.12-dev.11795023599.110c163a.tgz", - "integrity": "sha512-dE/2qLFmqwpOCIUvaiwCbTucVt+zyDCWSSeDGsQmjFCit+jnUCENORQG+/UmooYI6eFD1gcy+TUZpmo2TR/IVQ==", + "version": "9.0.13-dev.11795209321.12c3c69e", + "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-9.0.13-dev.11795209321.12c3c69e.tgz", + "integrity": "sha512-ucoDs6uLcYWPM72XpJvxVgasyQqkWKZTx2KCUUhjdLYRXlsjxnXGMUkWhd07pc5UgQfxoXl32U4kw8AcjhYC0w==", "license": "MIT", "dependencies": { - "@ionic/vue": "9.0.12-dev.11795023599.110c163a" + "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e" } }, "node_modules/@jridgewell/gen-mapping": { @@ -674,7 +674,7 @@ "node_modules/esbuild": { "name": "esbuild-wasm", "version": "0.28.1", - "dev": true, + "devOptional": true, "license": "MIT", "bin": { "esbuild": "bin/esbuild" @@ -710,7 +710,6 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -728,9 +727,9 @@ "license": "MIT" }, "node_modules/ionicons": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-8.1.0.tgz", - "integrity": "sha512-XSM2gYWTXxSYTwjmKWAoy4yR7AbAFDjpc5ZIivAiGXskM0fe5CdMPfs6InQRUcrYtVb2WZ/0HQ1/jeh3JW78SA==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-8.1.1.tgz", + "integrity": "sha512-VJjbZjjyzFmI0MAtlUKRprLpD4MbGbwcijk2aduu/a3jhGhlSUC/tQ2wM3p0/SF44/oDFdl0bdZMya3rZxnoyg==", "license": "MIT", "dependencies": { "@stencil/core": "^4.43.5" @@ -920,7 +919,7 @@ "node_modules/rollup": { "name": "@rollup/wasm-node", "version": "4.62.3", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree": "1.0.9" @@ -971,7 +970,7 @@ }, "node_modules/typescript": { "version": "5.9.3", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -1063,7 +1062,7 @@ "version": "7.3.7", "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz", "integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "esbuild": "^0.27.0 || ^0.28.0", diff --git a/static/code/stackblitz/v9/vue/package.json b/static/code/stackblitz/v9/vue/package.json index 35efdaeff02..69a608f5650 100644 --- a/static/code/stackblitz/v9/vue/package.json +++ b/static/code/stackblitz/v9/vue/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@ionic/vue": "9.0.12-dev.11795023599.110c163a", - "@ionic/vue-router": "9.0.12-dev.11795023599.110c163a", + "@ionic/vue": "9.0.13-dev.11795209321.12c3c69e", + "@ionic/vue-router": "9.0.13-dev.11795209321.12c3c69e", "vue": "^3.2.25", "vue-router": "5.4.0" }, diff --git a/static/usage/v9/fab/animation/demo.html b/static/usage/v9/fab/animation/demo.html index cde29758c98..5c10fceb4d1 100644 --- a/static/usage/v9/fab/animation/demo.html +++ b/static/usage/v9/fab/animation/demo.html @@ -8,11 +8,11 @@ diff --git a/static/usage/v9/toggle/on-off-icons/demo.html b/static/usage/v9/toggle/on-off-icons/demo.html index 006d2d46f58..53235060fa2 100644 --- a/static/usage/v9/toggle/on-off-icons/demo.html +++ b/static/usage/v9/toggle/on-off-icons/demo.html @@ -8,11 +8,11 @@