@vanduo-oss/framework 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Vanduo Framework v1.2.8
1
+ # Vanduo Framework v1.2.9
2
2
 
3
3
  <p align="center">
4
4
  <img src="vanduo-banner.svg" alt="Vanduo Framework Banner" width="100%">
@@ -38,13 +38,13 @@ A lightweight, pure HTML/CSS/JS framework with **45+ components** for designing
38
38
 
39
39
  ---
40
40
 
41
- ## What's New in v1.2.8
41
+ ## What's New in v1.2.9
42
42
 
43
- v1.2.8 focuses on theme-system clarity and release-surface alignment:
43
+ v1.2.9 is a patch release focused on theme-sync correctness and release continuity:
44
44
 
45
- - **Theme Switcher and Theme Customizer are now treated as distinct tooling components.** Use Theme Switcher for lightweight system/light/dark toggles and Theme Customizer for full palette, neutral, radius, font, and mode control.
46
- - **Shared theme coordination is more predictable.** When both components are present, they keep the shared theme preference synchronized and only swap between default per-theme primary colors when the user is still on the default primary.
47
- - **Release-facing docs were refreshed for v1.2.8.** The docs site now has dedicated Theme Switcher documentation, expanded Theme Customizer coordination guidance, and aligned versioned release copy.
45
+ - **Theme Customizer now syncs cleanly with Theme Switcher.** The runtime no longer calls a missing `savePreference()` path while applying themes, which removes the regression seen when both tools coexist.
46
+ - **Shared theme preference updates stay on the supported API path.** Theme changes now persist through the same preference flow used by Theme Switcher instead of relying on an undefined helper.
47
+ - **Release artifacts and docs are aligned for v1.2.9.** Package metadata, generated bundles, `llms.txt`, and release-facing README examples now point at the current version.
48
48
 
49
49
  The framework still ships **45+ components**, including the v1.2.7 additions below.
50
50
 
@@ -87,8 +87,8 @@ The quickest way to get started — no install, no build step. Add two lines to
87
87
 
88
88
  **Pin to a specific version** for production:
89
89
  ```html
90
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.8/dist/vanduo.min.css">
91
- <script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.8/dist/vanduo.min.js"></script>
90
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.9/dist/vanduo.min.css">
91
+ <script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.9/dist/vanduo.min.js"></script>
92
92
  <script>Vanduo.init();</script>
93
93
  ```
94
94
 
@@ -151,7 +151,7 @@ This project includes an [`llms.txt`](llms.txt) file — a structured markdown s
151
151
  Use the hardened upload script to attach only approved bundle artifacts from `dist/`:
152
152
 
153
153
  ```bash
154
- pnpm run release:assets -- v1.2.8
154
+ pnpm run release:assets -- v1.2.9
155
155
  ```
156
156
 
157
157
  Notes:
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.2.8",
3
- "builtAt": "2026-03-14T13:35:54.636Z",
4
- "commit": "f306379",
2
+ "version": "1.2.9",
3
+ "builtAt": "2026-03-14T18:56:04.214Z",
4
+ "commit": "800b9f0",
5
5
  "mode": "development+production"
6
6
  }
@@ -1,4 +1,4 @@
1
- /*! Vanduo v1.2.8 | Built: 2026-03-14T13:35:54.636Z | git:f306379 | development */
1
+ /*! Vanduo v1.2.9 | Built: 2026-03-14T18:56:04.214Z | git:800b9f0 | development */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -132,7 +132,7 @@ module.exports = __toCommonJS(index_exports);
132
132
  // js/vanduo.js
133
133
  (function() {
134
134
  "use strict";
135
- const VANDUO_VERSION = true ? "1.2.8" : "0.0.0-dev";
135
+ const VANDUO_VERSION = true ? "1.2.9" : "0.0.0-dev";
136
136
  const Vanduo2 = {
137
137
  version: VANDUO_VERSION,
138
138
  components: {},
@@ -3922,7 +3922,12 @@ module.exports = __toCommonJS(index_exports);
3922
3922
  const themeSwitcher = window.Vanduo.components.themeSwitcher;
3923
3923
  if (themeSwitcher.state && themeSwitcher.state.preference !== mode) {
3924
3924
  themeSwitcher.state.preference = mode;
3925
- themeSwitcher.savePreference(themeSwitcher.STORAGE_KEY, mode);
3925
+ if (typeof themeSwitcher.setStorageValue === "function") {
3926
+ themeSwitcher.setStorageValue(themeSwitcher.STORAGE_KEY, mode);
3927
+ }
3928
+ if (typeof themeSwitcher.updateUI === "function") {
3929
+ themeSwitcher.updateUI();
3930
+ }
3926
3931
  }
3927
3932
  }
3928
3933
  this._isApplying = false;