@vanduo-oss/framework 1.3.9 → 1.4.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 +87 -42
- package/css/components/affix.css +1 -1
- package/css/components/alerts.css +40 -40
- package/css/components/avatar.css +33 -33
- package/css/components/badges.css +42 -42
- package/css/components/breadcrumbs.css +5 -5
- package/css/components/bubble.css +4 -4
- package/css/components/buttons.css +124 -124
- package/css/components/cards.css +10 -10
- package/css/components/chips.css +28 -28
- package/css/components/code-snippet.css +18 -18
- package/css/components/collapsible.css +20 -20
- package/css/components/collections.css +21 -21
- package/css/components/datepicker.css +13 -13
- package/css/components/doc-search.css +46 -53
- package/css/components/doc-tabs.css +10 -10
- package/css/components/draggable.css +34 -34
- package/css/components/dropdown.css +14 -14
- package/css/components/expanding-cards.css +1 -1
- package/css/components/fab.css +7 -7
- package/css/components/flow.css +3 -3
- package/css/components/footer.css +26 -26
- package/css/components/forms.css +95 -83
- package/css/components/image-box.css +13 -17
- package/css/components/modals.css +8 -8
- package/css/components/music-player.css +26 -26
- package/css/components/navbar.css +27 -27
- package/css/components/pagination.css +15 -15
- package/css/components/preloader.css +10 -10
- package/css/components/progress.css +8 -8
- package/css/components/rating.css +4 -4
- package/css/components/sidenav.css +14 -14
- package/css/components/skeleton.css +10 -9
- package/css/components/spinner.css +10 -10
- package/css/components/spotlight.css +7 -7
- package/css/components/stepper.css +13 -13
- package/css/components/suggest.css +10 -10
- package/css/components/tabs.css +22 -22
- package/css/components/theme-customizer.css +87 -87
- package/css/components/timeline.css +14 -14
- package/css/components/timepicker.css +7 -7
- package/css/components/toast.css +31 -31
- package/css/components/tooltips.css +11 -11
- package/css/components/transfer.css +12 -12
- package/css/components/tree.css +9 -9
- package/css/components/waypoint.css +3 -3
- package/css/core/colors.css +34 -34
- package/css/core/grid.css +1 -6
- package/css/core/helpers.css +11 -11
- package/css/core/tokens.css +113 -35
- package/css/core/typography.css +14 -12
- package/css/core/vd-aliases.css +100 -52
- package/css/effects/morph.css +5 -5
- package/css/utilities/media.css +2 -2
- package/css/utilities/table.css +34 -34
- package/css/utilities/transitions.css +22 -10
- package/css/vanduo.css +14 -34
- package/dist/build-info.json +3 -3
- package/dist/vanduo.cjs.js +929 -289
- package/dist/vanduo.cjs.js.map +3 -3
- package/dist/vanduo.cjs.min.js +7 -7
- package/dist/vanduo.cjs.min.js.map +3 -3
- package/dist/vanduo.css +7914 -7823
- package/dist/vanduo.css.map +1 -1
- package/dist/vanduo.esm.js +929 -289
- package/dist/vanduo.esm.js.map +3 -3
- package/dist/vanduo.esm.min.js +7 -7
- package/dist/vanduo.esm.min.js.map +3 -3
- package/dist/vanduo.js +929 -289
- package/dist/vanduo.js.map +3 -3
- package/dist/vanduo.min.css +2 -2
- package/dist/vanduo.min.css.map +1 -1
- package/dist/vanduo.min.js +7 -7
- package/dist/vanduo.min.js.map +3 -3
- package/js/components/affix.js +2 -2
- package/js/components/bubble.js +3 -3
- package/js/components/code-snippet.js +129 -5
- package/js/components/collapsible.js +2 -3
- package/js/components/datepicker.js +2 -2
- package/js/components/doc-search.js +69 -11
- package/js/components/draggable.js +4 -4
- package/js/components/dropdown.js +2 -3
- package/js/components/expanding-cards.js +2 -2
- package/js/components/flow.js +2 -2
- package/js/components/font-switcher.js +23 -13
- package/js/components/glass.js +2 -2
- package/js/components/grid.js +19 -8
- package/js/components/image-box.js +49 -10
- package/js/components/lazy-load.js +81 -9
- package/js/components/modals.js +28 -12
- package/js/components/morph.js +2 -2
- package/js/components/music-player.js +2 -2
- package/js/components/navbar.js +2 -2
- package/js/components/pagination.js +2 -3
- package/js/components/parallax.js +9 -10
- package/js/components/preloader.js +14 -5
- package/js/components/rating.js +2 -2
- package/js/components/ripple.js +2 -2
- package/js/components/select.js +2 -3
- package/js/components/sidenav.js +43 -14
- package/js/components/spotlight.js +2 -2
- package/js/components/stepper.js +2 -2
- package/js/components/suggest.js +9 -3
- package/js/components/tabs.js +2 -2
- package/js/components/theme-customizer.js +151 -21
- package/js/components/theme-switcher.js +27 -16
- package/js/components/timeline.js +41 -12
- package/js/components/timepicker.js +2 -2
- package/js/components/toast.js +1 -1
- package/js/components/tooltips.js +4 -4
- package/js/components/transfer.js +2 -2
- package/js/components/tree.js +2 -2
- package/js/components/validate.js +2 -2
- package/js/components/vd-hex.js +12 -6
- package/js/components/waypoint.js +2 -2
- package/js/utils/helpers.js +7 -4
- package/js/utils/lifecycle.js +158 -83
- package/js/vanduo.js +203 -34
- package/package.json +2 -1
package/css/utilities/table.css
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
7
|
/* Table Colors */
|
|
8
|
-
--table-bg: var(--color-white);
|
|
9
|
-
--table-border-color: var(--border-color);
|
|
10
|
-
--table-striped-bg: var(--bg-secondary);
|
|
8
|
+
--table-bg: var(--vd-color-white);
|
|
9
|
+
--table-border-color: var(--vd-border-color);
|
|
10
|
+
--table-striped-bg: var(--vd-bg-secondary);
|
|
11
11
|
--table-hover-bg: rgba(0, 0, 0, 0.075);
|
|
12
|
-
--table-active-bg: var(--color-primary-alpha-10);
|
|
12
|
+
--table-active-bg: var(--vd-color-primary-alpha-10);
|
|
13
13
|
|
|
14
14
|
/* Table Spacing (Fibonacci) */
|
|
15
15
|
--table-padding-y: 0.5rem;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.table {
|
|
28
28
|
width: 100%;
|
|
29
29
|
margin-bottom: 1rem;
|
|
30
|
-
color: var(--text-primary);
|
|
30
|
+
color: var(--vd-text-primary);
|
|
31
31
|
background-color: var(--table-bg);
|
|
32
32
|
border-collapse: collapse;
|
|
33
33
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
vertical-align: bottom;
|
|
47
47
|
border-bottom: 2px solid var(--table-border-color);
|
|
48
48
|
font-weight: var(--font-weight-semibold);
|
|
49
|
-
color: var(--text-primary);
|
|
49
|
+
color: var(--vd-text-primary);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.vd-table tbody+tbody,
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
.table-primary,
|
|
119
119
|
.table-primary>th,
|
|
120
120
|
.table-primary>td {
|
|
121
|
-
color: var(--color-white);
|
|
122
|
-
background-color: var(--color-primary);
|
|
121
|
+
color: var(--vd-color-white);
|
|
122
|
+
background-color: var(--vd-color-primary);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.vd-table-secondary,
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
.table-secondary,
|
|
129
129
|
.table-secondary>th,
|
|
130
130
|
.table-secondary>td {
|
|
131
|
-
color: var(--color-white);
|
|
132
|
-
background-color: var(--color-secondary);
|
|
131
|
+
color: var(--vd-color-white);
|
|
132
|
+
background-color: var(--vd-color-secondary);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.vd-table-success,
|
|
@@ -138,8 +138,8 @@
|
|
|
138
138
|
.table-success,
|
|
139
139
|
.table-success>th,
|
|
140
140
|
.table-success>td {
|
|
141
|
-
color: var(--color-white);
|
|
142
|
-
background-color: var(--color-success);
|
|
141
|
+
color: var(--vd-color-white);
|
|
142
|
+
background-color: var(--vd-color-success);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.vd-table-warning,
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
.table-warning,
|
|
149
149
|
.table-warning>th,
|
|
150
150
|
.table-warning>td {
|
|
151
|
-
color: var(--color-gray-900);
|
|
152
|
-
background-color: var(--color-warning);
|
|
151
|
+
color: var(--vd-color-gray-900);
|
|
152
|
+
background-color: var(--vd-color-warning);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.vd-table-error,
|
|
@@ -158,8 +158,8 @@
|
|
|
158
158
|
.table-error,
|
|
159
159
|
.table-error>th,
|
|
160
160
|
.table-error>td {
|
|
161
|
-
color: var(--color-white);
|
|
162
|
-
background-color: var(--color-error);
|
|
161
|
+
color: var(--vd-color-white);
|
|
162
|
+
background-color: var(--vd-color-error);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.vd-table-info,
|
|
@@ -168,15 +168,15 @@
|
|
|
168
168
|
.table-info,
|
|
169
169
|
.table-info>th,
|
|
170
170
|
.table-info>td {
|
|
171
|
-
color: var(--color-white);
|
|
172
|
-
background-color: var(--color-info);
|
|
171
|
+
color: var(--vd-color-white);
|
|
172
|
+
background-color: var(--vd-color-info);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/* Table Sections */
|
|
176
176
|
.vd-table-header,
|
|
177
177
|
.table-header,
|
|
178
178
|
thead {
|
|
179
|
-
background-color: var(--bg-secondary);
|
|
179
|
+
background-color: var(--vd-bg-secondary);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.vd-table-header th,
|
|
@@ -196,7 +196,7 @@ tbody {
|
|
|
196
196
|
.vd-table-footer,
|
|
197
197
|
.table-footer,
|
|
198
198
|
tfoot {
|
|
199
|
-
background-color: var(--bg-secondary);
|
|
199
|
+
background-color: var(--vd-bg-secondary);
|
|
200
200
|
font-weight: var(--font-weight-semibold);
|
|
201
201
|
}
|
|
202
202
|
|
|
@@ -287,8 +287,8 @@ tfoot {
|
|
|
287
287
|
/* Dark Table Variant */
|
|
288
288
|
.vd-table-dark,
|
|
289
289
|
.table-dark {
|
|
290
|
-
color: var(--color-white);
|
|
291
|
-
background-color: var(--color-gray-800);
|
|
290
|
+
color: var(--vd-color-white);
|
|
291
|
+
background-color: var(--vd-color-gray-800);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.vd-table-dark th,
|
|
@@ -315,13 +315,13 @@ tfoot {
|
|
|
315
315
|
/* Dark Mode Table Overrides */
|
|
316
316
|
[data-theme="dark"] .vd-table,
|
|
317
317
|
[data-theme="dark"] .table {
|
|
318
|
-
--table-bg: var(--bg-primary);
|
|
319
|
-
--table-border-color: var(--border-color);
|
|
320
|
-
--table-striped-bg: var(--bg-secondary);
|
|
318
|
+
--table-bg: var(--vd-bg-primary);
|
|
319
|
+
--table-border-color: var(--vd-border-color);
|
|
320
|
+
--table-striped-bg: var(--vd-bg-secondary);
|
|
321
321
|
--table-hover-bg: rgba(255, 255, 255, 0.05);
|
|
322
322
|
|
|
323
323
|
background-color: var(--table-bg);
|
|
324
|
-
color: var(--text-primary);
|
|
324
|
+
color: var(--vd-text-primary);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
[data-theme="dark"] .vd-table th,
|
|
@@ -334,7 +334,7 @@ tfoot {
|
|
|
334
334
|
[data-theme="dark"] .vd-table thead th,
|
|
335
335
|
[data-theme="dark"] .table thead th {
|
|
336
336
|
border-color: var(--table-border-color);
|
|
337
|
-
color: var(--text-primary);
|
|
337
|
+
color: var(--vd-text-primary);
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
[data-theme="dark"] .vd-table-striped tbody tr:nth-of-type(odd),
|
|
@@ -344,7 +344,7 @@ tfoot {
|
|
|
344
344
|
|
|
345
345
|
[data-theme="dark"] .vd-table thead,
|
|
346
346
|
[data-theme="dark"] thead {
|
|
347
|
-
background-color: var(--bg-secondary);
|
|
347
|
+
background-color: var(--vd-bg-secondary);
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
/* Dark mode support for system preference */
|
|
@@ -352,13 +352,13 @@ tfoot {
|
|
|
352
352
|
|
|
353
353
|
:root:not([data-theme]) .vd-table,
|
|
354
354
|
:root:not([data-theme]) .table {
|
|
355
|
-
--table-bg: var(--bg-primary);
|
|
356
|
-
--table-border-color: var(--border-color);
|
|
357
|
-
--table-striped-bg: var(--bg-secondary);
|
|
355
|
+
--table-bg: var(--vd-bg-primary);
|
|
356
|
+
--table-border-color: var(--vd-border-color);
|
|
357
|
+
--table-striped-bg: var(--vd-bg-secondary);
|
|
358
358
|
--table-hover-bg: rgba(255, 255, 255, 0.05);
|
|
359
359
|
|
|
360
360
|
background-color: var(--table-bg);
|
|
361
|
-
color: var(--text-primary);
|
|
361
|
+
color: var(--vd-text-primary);
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
:root:not([data-theme]) .vd-table th,
|
|
@@ -371,7 +371,7 @@ tfoot {
|
|
|
371
371
|
:root:not([data-theme]) .vd-table thead th,
|
|
372
372
|
:root:not([data-theme]) .table thead th {
|
|
373
373
|
border-color: var(--table-border-color);
|
|
374
|
-
color: var(--text-primary);
|
|
374
|
+
color: var(--vd-text-primary);
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
:root:not([data-theme]) .vd-table-striped tbody tr:nth-of-type(odd),
|
|
@@ -381,6 +381,6 @@ tfoot {
|
|
|
381
381
|
|
|
382
382
|
:root:not([data-theme]) .vd-table thead,
|
|
383
383
|
:root:not([data-theme]) thead {
|
|
384
|
-
background-color: var(--bg-secondary);
|
|
384
|
+
background-color: var(--vd-bg-secondary);
|
|
385
385
|
}
|
|
386
386
|
}
|
|
@@ -32,9 +32,15 @@
|
|
|
32
32
|
|
|
33
33
|
/* Transition Duration Utilities */
|
|
34
34
|
.vd-transition-none { transition: none; }
|
|
35
|
-
.vd-transition-fast {
|
|
35
|
+
.vd-transition-fast {
|
|
36
|
+
transition: var(--transition-fast);
|
|
37
|
+
transition-duration: var(--transition-duration-fast);
|
|
38
|
+
}
|
|
36
39
|
.vd-transition-base { transition-duration: var(--transition-duration-base); }
|
|
37
|
-
.vd-transition-slow {
|
|
40
|
+
.vd-transition-slow {
|
|
41
|
+
transition: var(--transition-slow);
|
|
42
|
+
transition-duration: var(--transition-duration-slow);
|
|
43
|
+
}
|
|
38
44
|
.vd-transition-slower { transition-duration: var(--transition-duration-slower); }
|
|
39
45
|
.vd-transition-slowest { transition-duration: var(--transition-duration-slowest); }
|
|
40
46
|
|
|
@@ -48,20 +54,26 @@
|
|
|
48
54
|
/* Transition Property Utilities */
|
|
49
55
|
.vd-transition-all { transition-property: all; }
|
|
50
56
|
.vd-transition-colors { transition-property: color, background-color, border-color; }
|
|
51
|
-
.vd-transition-opacity {
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
.vd-transition-opacity {
|
|
58
|
+
transition: var(--transition-opacity);
|
|
59
|
+
transition-property: opacity;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.vd-transition-transform {
|
|
63
|
+
transition: var(--transition-transform);
|
|
64
|
+
transition-property: transform;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.vd-transition-shadow {
|
|
68
|
+
transition: var(--transition-shadow);
|
|
69
|
+
transition-property: box-shadow;
|
|
70
|
+
}
|
|
54
71
|
|
|
55
72
|
/* Combined Transition Utilities */
|
|
56
73
|
.vd-transition { transition: var(--transition-base); }
|
|
57
|
-
.vd-transition-fast { transition: var(--transition-fast); }
|
|
58
|
-
.vd-transition-slow { transition: var(--transition-slow); }
|
|
59
74
|
.vd-transition-color { transition: var(--transition-color); }
|
|
60
75
|
.vd-transition-bg { transition: var(--transition-bg); }
|
|
61
76
|
.vd-transition-border { transition: var(--transition-border); }
|
|
62
|
-
.vd-transition-opacity { transition: var(--transition-opacity); }
|
|
63
|
-
.vd-transition-transform { transition: var(--transition-transform); }
|
|
64
|
-
.vd-transition-shadow { transition: var(--transition-shadow); }
|
|
65
77
|
|
|
66
78
|
/* Delay Utilities */
|
|
67
79
|
.vd-transition-delay-none { transition-delay: 0ms; }
|
package/css/vanduo.css
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Import all framework modules
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
/*
|
|
6
|
+
/* Layer 0: Reset */
|
|
7
7
|
@import url('core/reset.css');
|
|
8
8
|
|
|
9
|
-
/*
|
|
9
|
+
/* Layer 1: Foundation (palette -> canonical tokens -> compatibility aliases) */
|
|
10
10
|
@import url('core/colors.css');
|
|
11
11
|
@import url('core/fonts.css');
|
|
12
12
|
@import url('core/typography.css');
|
|
@@ -15,43 +15,34 @@
|
|
|
15
15
|
@import url('core/grid.css');
|
|
16
16
|
@import url('core/helpers.css');
|
|
17
17
|
|
|
18
|
-
/*
|
|
18
|
+
/* Layer 2: Icons */
|
|
19
19
|
@import url('icons/icons-all.css');
|
|
20
20
|
|
|
21
|
-
/*
|
|
21
|
+
/* Layer 3: Utilities */
|
|
22
22
|
@import url('utilities/shadow.css');
|
|
23
|
-
|
|
24
|
-
/* Utilities - Phase 4 */
|
|
25
23
|
@import url('utilities/transitions.css');
|
|
26
24
|
@import url('utilities/transforms.css');
|
|
25
|
+
@import url('utilities/media.css');
|
|
26
|
+
@import url('utilities/table.css');
|
|
27
|
+
@import url('utilities/color-utilities.css');
|
|
27
28
|
|
|
28
|
-
/*
|
|
29
|
+
/* Layer 4: Components */
|
|
29
30
|
@import url('components/buttons.css');
|
|
30
31
|
@import url('components/forms.css');
|
|
31
32
|
@import url('components/cards.css');
|
|
32
33
|
@import url('components/expanding-cards.css');
|
|
33
|
-
|
|
34
|
-
/* Components - Phase 3 */
|
|
35
34
|
@import url('components/navbar.css');
|
|
36
35
|
@import url('components/footer.css');
|
|
37
36
|
@import url('components/breadcrumbs.css');
|
|
38
|
-
|
|
39
|
-
/* Components - Phase 5 */
|
|
40
37
|
@import url('components/tooltips.css');
|
|
41
38
|
@import url('components/collapsible.css');
|
|
42
39
|
@import url('components/dropdown.css');
|
|
43
40
|
@import url('components/modals.css');
|
|
44
|
-
|
|
45
|
-
/* Components - Phase 6 */
|
|
46
41
|
@import url('components/badges.css');
|
|
47
42
|
@import url('components/collections.css');
|
|
48
43
|
@import url('components/pagination.css');
|
|
49
44
|
@import url('components/sidenav.css');
|
|
50
|
-
|
|
51
|
-
/* Components - Phase 7 */
|
|
52
45
|
@import url('components/preloader.css');
|
|
53
|
-
|
|
54
|
-
/* Components - Phase 8 (New) */
|
|
55
46
|
@import url('components/alerts.css');
|
|
56
47
|
@import url('components/chips.css');
|
|
57
48
|
@import url('components/avatar.css');
|
|
@@ -66,23 +57,7 @@
|
|
|
66
57
|
@import url('components/image-box.css');
|
|
67
58
|
@import url('components/doc-tabs.css');
|
|
68
59
|
@import url('components/doc-search.css');
|
|
69
|
-
|
|
70
|
-
/* Utilities - Phase 7 */
|
|
71
|
-
@import url('utilities/media.css');
|
|
72
|
-
@import url('utilities/table.css');
|
|
73
|
-
|
|
74
|
-
/* Utilities - Color palette (per-hue bg/text classes) */
|
|
75
|
-
@import url('utilities/color-utilities.css');
|
|
76
|
-
|
|
77
|
-
/* Effects - Phase 7 */
|
|
78
|
-
@import url('effects/parallax.css');
|
|
79
|
-
@import url('effects/glass.css');
|
|
80
|
-
@import url('effects/morph.css');
|
|
81
|
-
|
|
82
|
-
/* Components - Phase 9 (New) */
|
|
83
60
|
@import url('components/draggable.css');
|
|
84
|
-
|
|
85
|
-
/* Components - Phase 10 (v1.2.7) */
|
|
86
61
|
@import url('components/flow.css');
|
|
87
62
|
@import url('components/bubble.css');
|
|
88
63
|
@import url('components/waypoint.css');
|
|
@@ -100,5 +75,10 @@
|
|
|
100
75
|
@import url('components/spotlight.css');
|
|
101
76
|
@import url('components/music-player.css');
|
|
102
77
|
|
|
103
|
-
/*
|
|
78
|
+
/* Layer 5: Effects */
|
|
79
|
+
@import url('effects/parallax.css');
|
|
80
|
+
@import url('effects/glass.css');
|
|
81
|
+
@import url('effects/morph.css');
|
|
82
|
+
|
|
83
|
+
/* Layer 6: Print */
|
|
104
84
|
@import url('utilities/print.css');
|
package/dist/build-info.json
CHANGED