@vanduo-oss/framework 1.2.4 → 1.2.5
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 +4 -4
- package/css/utilities/table.css +7 -2
- package/dist/build-info.json +3 -3
- package/dist/vanduo.cjs.js +3 -26
- package/dist/vanduo.cjs.js.map +2 -2
- package/dist/vanduo.cjs.min.js +5 -10
- package/dist/vanduo.cjs.min.js.map +3 -3
- package/dist/vanduo.css +2 -2
- package/dist/vanduo.css.map +1 -1
- package/dist/vanduo.esm.js +3 -26
- package/dist/vanduo.esm.js.map +2 -2
- package/dist/vanduo.esm.min.js +5 -10
- package/dist/vanduo.esm.min.js.map +3 -3
- package/dist/vanduo.js +3 -26
- 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 +5 -10
- package/dist/vanduo.min.js.map +3 -3
- package/js/components/theme-customizer.js +2 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Vanduo Framework v1.2.
|
|
1
|
+
# Vanduo Framework v1.2.5
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<img src="vanduo-banner.svg" alt="Vanduo Framework Banner" width="100%">
|
|
@@ -54,8 +54,8 @@ The quickest way to get started — no install, no build step. Add two lines to
|
|
|
54
54
|
|
|
55
55
|
**Pin to a specific version** for production:
|
|
56
56
|
```html
|
|
57
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.
|
|
57
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.5/dist/vanduo.min.css">
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.2.5/dist/vanduo.min.js"></script>
|
|
59
59
|
<script>Vanduo.init();</script>
|
|
60
60
|
```
|
|
61
61
|
|
|
@@ -118,7 +118,7 @@ This project includes an [`llms.txt`](llms.txt) file — a structured markdown s
|
|
|
118
118
|
Use the hardened upload script to attach only approved bundle artifacts from `dist/`:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
pnpm run release:assets -- v1.2.
|
|
121
|
+
pnpm run release:assets -- v1.2.5
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
Notes:
|
package/css/utilities/table.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.table th,
|
|
38
38
|
.table td {
|
|
39
39
|
padding: var(--table-padding-y) var(--table-padding-x);
|
|
40
|
-
vertical-align:
|
|
40
|
+
vertical-align: middle;
|
|
41
41
|
border-top: 1px solid var(--table-border-color);
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -217,6 +217,7 @@ tfoot {
|
|
|
217
217
|
|
|
218
218
|
/* Responsive Breakpoints */
|
|
219
219
|
@media (max-width: 575.98px) {
|
|
220
|
+
|
|
220
221
|
.vd-table-responsive-sm,
|
|
221
222
|
.table-responsive-sm {
|
|
222
223
|
display: block;
|
|
@@ -233,6 +234,7 @@ tfoot {
|
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
@media (max-width: 767.98px) {
|
|
237
|
+
|
|
236
238
|
.vd-table-responsive-md,
|
|
237
239
|
.table-responsive-md {
|
|
238
240
|
display: block;
|
|
@@ -249,6 +251,7 @@ tfoot {
|
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
@media (max-width: 991.98px) {
|
|
254
|
+
|
|
252
255
|
.vd-table-responsive-lg,
|
|
253
256
|
.table-responsive-lg {
|
|
254
257
|
display: block;
|
|
@@ -265,6 +268,7 @@ tfoot {
|
|
|
265
268
|
}
|
|
266
269
|
|
|
267
270
|
@media (max-width: 1199.98px) {
|
|
271
|
+
|
|
268
272
|
.vd-table-responsive-xl,
|
|
269
273
|
.table-responsive-xl {
|
|
270
274
|
display: block;
|
|
@@ -345,6 +349,7 @@ tfoot {
|
|
|
345
349
|
|
|
346
350
|
/* Dark mode support for system preference */
|
|
347
351
|
@media (prefers-color-scheme: dark) {
|
|
352
|
+
|
|
348
353
|
:root:not([data-theme]) .vd-table,
|
|
349
354
|
:root:not([data-theme]) .table {
|
|
350
355
|
--table-bg: var(--bg-primary);
|
|
@@ -378,4 +383,4 @@ tfoot {
|
|
|
378
383
|
:root:not([data-theme]) thead {
|
|
379
384
|
background-color: var(--bg-secondary);
|
|
380
385
|
}
|
|
381
|
-
}
|
|
386
|
+
}
|
package/dist/build-info.json
CHANGED
package/dist/vanduo.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Vanduo v1.2.
|
|
1
|
+
/*! Vanduo v1.2.5 | Built: 2026-03-08T10:52:48.224Z | git:f37c545 | 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.5" : "0.0.0-dev";
|
|
136
136
|
const Vanduo2 = {
|
|
137
137
|
version: VANDUO_VERSION,
|
|
138
138
|
components: {},
|
|
@@ -4037,12 +4037,6 @@ module.exports = __toCommonJS(index_exports);
|
|
|
4037
4037
|
this.updateUI();
|
|
4038
4038
|
});
|
|
4039
4039
|
}
|
|
4040
|
-
this.elements.panel.querySelectorAll("[data-mode]").forEach((btn) => {
|
|
4041
|
-
this.addListener(btn, "click", () => {
|
|
4042
|
-
this.applyTheme(btn.dataset.mode);
|
|
4043
|
-
this.updateUI();
|
|
4044
|
-
});
|
|
4045
|
-
});
|
|
4046
4040
|
const resetBtn = this.elements.panel.querySelector(".customizer-reset");
|
|
4047
4041
|
if (resetBtn) {
|
|
4048
4042
|
this.addListener(resetBtn, "click", () => {
|
|
@@ -4093,15 +4087,6 @@ module.exports = __toCommonJS(index_exports);
|
|
|
4093
4087
|
for (const [key, value] of Object.entries(this.FONT_OPTIONS)) {
|
|
4094
4088
|
fontOptions += `<option value="${esc(key)}"${key === this.state.font ? " selected" : ""}>${esc(value.name)}</option>`;
|
|
4095
4089
|
}
|
|
4096
|
-
const modeIcons = {
|
|
4097
|
-
"system": "ph-desktop",
|
|
4098
|
-
"dark": "ph-moon",
|
|
4099
|
-
"light": "ph-sun"
|
|
4100
|
-
};
|
|
4101
|
-
let modeButtons = "";
|
|
4102
|
-
this.THEME_MODES.forEach((mode) => {
|
|
4103
|
-
modeButtons += `<button class="tc-mode-btn${mode === this.state.theme ? " is-active" : ""}" data-mode="${mode}"><i class="ph ${modeIcons[mode]}"></i><span>${mode.charAt(0).toUpperCase() + mode.slice(1)}</span></button>`;
|
|
4104
|
-
});
|
|
4105
4090
|
return `
|
|
4106
4091
|
<div class="tc-header">
|
|
4107
4092
|
<h3 class="tc-title">Customize Theme</h3>
|
|
@@ -4110,12 +4095,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
4110
4095
|
</button>
|
|
4111
4096
|
</div>
|
|
4112
4097
|
<div class="tc-body">
|
|
4113
|
-
|
|
4114
|
-
<label class="tc-label">Color Mode</label>
|
|
4115
|
-
<div class="tc-mode-group">
|
|
4116
|
-
${modeButtons}
|
|
4117
|
-
</div>
|
|
4118
|
-
</div>
|
|
4098
|
+
|
|
4119
4099
|
<div class="tc-section">
|
|
4120
4100
|
<label class="tc-label">Primary Color</label>
|
|
4121
4101
|
<div class="tc-color-grid">
|
|
@@ -4251,9 +4231,6 @@ module.exports = __toCommonJS(index_exports);
|
|
|
4251
4231
|
if (fontSelect) {
|
|
4252
4232
|
fontSelect.value = this.state.font;
|
|
4253
4233
|
}
|
|
4254
|
-
this.elements.panel.querySelectorAll("[data-mode]").forEach((btn) => {
|
|
4255
|
-
btn.classList.toggle("is-active", btn.dataset.mode === this.state.theme);
|
|
4256
|
-
});
|
|
4257
4234
|
},
|
|
4258
4235
|
/**
|
|
4259
4236
|
* Reset all preferences to defaults
|