@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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Vanduo Framework v1.
|
|
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.
|
|
41
|
+
## What's New in v1.3.0
|
|
42
42
|
|
|
43
|
-
v1.
|
|
43
|
+
v1.3.0 is a maintenance release focused on documentation improvements and framework consistency:
|
|
44
44
|
|
|
45
|
-
- **
|
|
46
|
-
- **
|
|
47
|
-
- **
|
|
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.
|
|
91
|
-
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.
|
|
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.
|
|
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(--
|
|
36
|
-
background: var(--color-primary
|
|
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
|
}
|
package/css/core/helpers.css
CHANGED
|
@@ -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); }
|
package/css/core/typography.css
CHANGED
package/dist/build-info.json
CHANGED
package/dist/vanduo.cjs.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
|
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.
|
|
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
|
-
|
|
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;
|