@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 +9 -9
- 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 +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 +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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Vanduo Framework v1.2.
|
|
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.
|
|
41
|
+
## What's New in v1.2.9
|
|
42
42
|
|
|
43
|
-
v1.2.
|
|
43
|
+
v1.2.9 is a patch release focused on theme-sync correctness and release continuity:
|
|
44
44
|
|
|
45
|
-
- **Theme
|
|
46
|
-
- **Shared theme
|
|
47
|
-
- **Release
|
|
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.
|
|
91
|
-
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.
|
|
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.
|
|
154
|
+
pnpm run release:assets -- v1.2.9
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
Notes:
|
package/dist/build-info.json
CHANGED
package/dist/vanduo.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Vanduo v1.2.
|
|
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.
|
|
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
|
-
|
|
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;
|