@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 CHANGED
@@ -1,4 +1,4 @@
1
- # Vanduo Framework v1.2.8
1
+ # Vanduo Framework v1.3.0
2
2
 
3
3
  <p align="center">
4
4
  <img src="vanduo-banner.svg" alt="Vanduo Framework Banner" width="100%">
@@ -38,13 +38,14 @@ 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.3.0
42
42
 
43
- v1.2.8 focuses on theme-system clarity and release-surface alignment:
43
+ v1.3.0 is a maintenance release focused on documentation improvements and framework consistency:
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
+ - **Added missing spacing utilities and text-italic class.** The framework now includes `.vd-mt-6` and `.vd-mt-8` spacing utilities, plus `.vd-text-italic` for text styling.
46
+ - **Fixed phantom class references in documentation.** Updated docs to use correct class names that match the actual framework implementation.
47
+ - **Improved documentation structure.** Added inline sidebar filter for Components & Guides pages, unified component documentation structure, and refreshed visual styling.
48
+ - **Release artifacts and docs are aligned for v1.3.0.** Package metadata, generated bundles, `llms.txt`, and release-facing README examples now point at the current version.
48
49
 
49
50
  The framework still ships **45+ components**, including the v1.2.7 additions below.
50
51
 
@@ -87,8 +88,8 @@ The quickest way to get started — no install, no build step. Add two lines to
87
88
 
88
89
  **Pin to a specific version** for production:
89
90
  ```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>
91
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.3.0/dist/vanduo.min.css">
92
+ <script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.3.0/dist/vanduo.min.js"></script>
92
93
  <script>Vanduo.init();</script>
93
94
  ```
94
95
 
@@ -151,7 +152,7 @@ This project includes an [`llms.txt`](llms.txt) file — a structured markdown s
151
152
  Use the hardened upload script to attach only approved bundle artifacts from `dist/`:
152
153
 
153
154
  ```bash
154
- pnpm run release:assets -- v1.2.8
155
+ pnpm run release:assets -- v1.3.0
155
156
  ```
156
157
 
157
158
  Notes:
@@ -32,7 +32,7 @@
32
32
 
33
33
  .doc-tab.active {
34
34
  border-color: var(--color-primary);
35
- color: var(--color-primary);
36
- background: var(--color-primary-alpha-12);
35
+ color: var(--text-on-primary);
36
+ background: var(--color-primary);
37
37
  box-shadow: 0 0 0 1px var(--color-primary-alpha-20);
38
38
  }
@@ -1498,6 +1498,8 @@
1498
1498
  .vd-mt-3 { margin-top: var(--spacing-3); }
1499
1499
  .vd-mt-4 { margin-top: var(--spacing-4); }
1500
1500
  .vd-mt-5 { margin-top: var(--spacing-5); }
1501
+ .vd-mt-6 { margin-top: var(--spacing-6); }
1502
+ .vd-mt-8 { margin-top: var(--spacing-8); }
1501
1503
  .vd-mb-0 { margin-bottom: var(--spacing-0); }
1502
1504
  .vd-mb-2 { margin-bottom: var(--spacing-2); }
1503
1505
  .vd-mb-3 { margin-bottom: var(--spacing-3); }
@@ -318,6 +318,10 @@ pre code {
318
318
  font-weight: var(--font-weight-bold);
319
319
  }
320
320
 
321
+ .vd-text-italic {
322
+ font-style: italic;
323
+ }
324
+
321
325
  .vd-font-extrabold {
322
326
  font-weight: var(--font-weight-extrabold);
323
327
  }
@@ -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.3.0",
3
+ "builtAt": "2026-03-17T16:46:03.216Z",
4
+ "commit": "ea44b23",
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.3.0 | Built: 2026-03-17T16:46:03.216Z | git:ea44b23 | 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.3.0" : "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;