@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/dist/vanduo.css CHANGED
@@ -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
  *, :before, :after {
3
3
  box-sizing: border-box;
4
4
  }
@@ -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
 
3
3
  // js/utils/lifecycle.js
4
4
  (function() {
@@ -107,7 +107,7 @@
107
107
  // js/vanduo.js
108
108
  (function() {
109
109
  "use strict";
110
- const VANDUO_VERSION = true ? "1.2.8" : "0.0.0-dev";
110
+ const VANDUO_VERSION = true ? "1.2.9" : "0.0.0-dev";
111
111
  const Vanduo2 = {
112
112
  version: VANDUO_VERSION,
113
113
  components: {},
@@ -3897,7 +3897,12 @@
3897
3897
  const themeSwitcher = window.Vanduo.components.themeSwitcher;
3898
3898
  if (themeSwitcher.state && themeSwitcher.state.preference !== mode) {
3899
3899
  themeSwitcher.state.preference = mode;
3900
- themeSwitcher.savePreference(themeSwitcher.STORAGE_KEY, mode);
3900
+ if (typeof themeSwitcher.setStorageValue === "function") {
3901
+ themeSwitcher.setStorageValue(themeSwitcher.STORAGE_KEY, mode);
3902
+ }
3903
+ if (typeof themeSwitcher.updateUI === "function") {
3904
+ themeSwitcher.updateUI();
3905
+ }
3901
3906
  }
3902
3907
  }
3903
3908
  this._isApplying = false;