@vanduo-oss/framework 1.2.8 → 1.3.0
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 +10 -9
- package/css/components/doc-tabs.css +2 -2
- package/css/core/helpers.css +2 -0
- package/css/core/typography.css +4 -0
- package/dist/build-info.json +3 -3
- package/dist/vanduo.cjs.js +8 -3
- package/dist/vanduo.cjs.js.map +2 -2
- package/dist/vanduo.cjs.min.js +4 -4
- package/dist/vanduo.cjs.min.js.map +2 -2
- package/dist/vanduo.css +15 -3
- package/dist/vanduo.css.map +1 -1
- package/dist/vanduo.esm.js +8 -3
- package/dist/vanduo.esm.js.map +2 -2
- package/dist/vanduo.esm.min.js +4 -4
- package/dist/vanduo.esm.min.js.map +2 -2
- package/dist/vanduo.js +8 -3
- package/dist/vanduo.js.map +2 -2
- package/dist/vanduo.min.css +2 -2
- package/dist/vanduo.min.css.map +1 -1
- package/dist/vanduo.min.js +4 -4
- package/dist/vanduo.min.js.map +2 -2
- package/js/components/theme-customizer.js +6 -1
- package/package.json +1 -1
package/dist/vanduo.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Vanduo v1.
|
|
1
|
+
/*! Vanduo v1.3.0 | Built: 2026-03-17T16:46:03.216Z | git:ea44b23 | 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.
|
|
110
|
+
const VANDUO_VERSION = true ? "1.3.0" : "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
|
-
|
|
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;
|