vanilla-jui 1.7.39 → 1.7.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-jui",
3
- "version": "1.7.39",
3
+ "version": "1.7.40",
4
4
  "private": false,
5
5
  "description": "A lightweight, reactive, and fully customizable vanilla JS UI library.",
6
6
  "keywords": [
@@ -68,19 +68,12 @@
68
68
  "@tsdown/css": "^0.23.7",
69
69
  "jsdom": "^31.0.0",
70
70
  "typescript": "^7.0.2",
71
- "vite-plus": "^1.5.1"
71
+ "vite-plus": "^1.6.0"
72
72
  },
73
73
  "registry": {
74
74
  "type": "git",
75
75
  "url": "git+https://github.com/WangShai123/vanilla-jui.git"
76
76
  },
77
- "devEngines": {
78
- "packageManager": {
79
- "name": "npm",
80
- "version": "12.0.2",
81
- "onFail": "download"
82
- }
83
- },
84
77
  "allowScripts": {
85
78
  "fsevents@2.3.3": true
86
79
  }
@@ -10,8 +10,8 @@
10
10
  user-select: none;
11
11
  }
12
12
 
13
- .j-breadcrumb > ol,
14
- .j-breadcrumb > ul {
13
+ .j-breadcrumb>ol,
14
+ .j-breadcrumb>ul {
15
15
  display: flex;
16
16
  flex-wrap: wrap;
17
17
  justify-content: flex-start;
@@ -20,26 +20,26 @@
20
20
  padding: 0;
21
21
  }
22
22
 
23
- .j-breadcrumb > ol li,
24
- .j-breadcrumb > ul li {
23
+ .j-breadcrumb>ol li,
24
+ .j-breadcrumb>ul li {
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: center;
28
28
  }
29
29
 
30
- .j-breadcrumb li + li::before {
30
+ .j-breadcrumb li+li::before {
31
31
  content: '/';
32
32
  }
33
33
 
34
- .j-breadcrumb.is-dot li + li::before {
34
+ .j-breadcrumb.is-dot li+li::before {
35
35
  content: '•';
36
36
  }
37
37
 
38
- .j-breadcrumb.is-arrow li + li::before {
38
+ .j-breadcrumb.is-arrow li+li::before {
39
39
  content: '>';
40
40
  }
41
41
 
42
- .j-breadcrumb.is-dash li + li::before {
42
+ .j-breadcrumb.is-dash li+li::before {
43
43
  content: '–';
44
44
  }
45
45
 
@@ -61,7 +61,7 @@
61
61
  .j-breadcrumb a {
62
62
  gap: 4px;
63
63
  color: var(--breadcrumb-link-fg);
64
- padding: 0 var(--s2);
64
+ padding: 0 8px;
65
65
 
66
66
  display: flex;
67
67
  align-items: center;
@@ -79,7 +79,7 @@
79
79
  justify-content: center;
80
80
  }
81
81
 
82
- .j-breadcrumb li + li::before {
82
+ .j-breadcrumb li+li::before {
83
83
  color: var(--ui-fg-soft);
84
84
  }
85
85
 
@@ -103,4 +103,4 @@
103
103
  .j-breadcrumb.is-right ol {
104
104
  justify-content: flex-end;
105
105
  }
106
- }
106
+ }
@@ -169,7 +169,7 @@
169
169
  .j-btn.is-reverse:not(:disabled).is-active,
170
170
  .j-btn.is-reverse:not(:disabled):focus-visible {
171
171
  --btn-border-color: transparent;
172
- --btn-box-shadow: 0 0 0 3px var(--tone-card-active);
172
+ --btn-box-shadow: 0 0 0 3px var(--tone-border);
173
173
  }
174
174
 
175
175
  .j-btn.is-info:not(:disabled).is-active {
@@ -266,4 +266,4 @@
266
266
  .j-btns.is-vertical .j-btn:last-child {
267
267
  border-bottom-left-radius: var(--btn-radius);
268
268
  }
269
- }
269
+ }
@@ -171,13 +171,6 @@
171
171
  --tone-link-active: #dc2626;
172
172
  --tone-link-disabled: #9ca3af;
173
173
 
174
- /* Card */
175
- --tone-card: rgba(255, 255, 255, 0.8);
176
- --tone-card-hover: rgba(255, 255, 255, 0.9);
177
- --tone-card-active: rgba(0, 0, 0, 0.2);
178
- --tone-card-border: rgba(0, 0, 0, 0.08);
179
- --tone-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
180
-
181
174
  /* States */
182
175
  --state-error: #ef4444;
183
176
  --state-error-hover: #dc2626;
@@ -344,13 +337,6 @@
344
337
  --tone-link-active: #f87171;
345
338
  --tone-link-disabled: #4b5563;
346
339
 
347
- /* Card */
348
- --tone-card: rgba(17, 24, 39, 0.82);
349
- --tone-card-hover: rgba(17, 24, 39, 0.92);
350
- --tone-card-active: rgba(255, 255, 255, 0.15);
351
- --tone-card-border: rgba(148, 163, 184, 0.12);
352
- --tone-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
353
-
354
340
  /* States */
355
341
  --state-error: #f87171;
356
342
  --state-error-hover: #fca5a5;
@@ -1276,4 +1262,4 @@
1276
1262
  --el-height-2xl: 3.5rem;
1277
1263
  --el-height-3xl: 3.75rem;
1278
1264
  }
1279
- }
1265
+ }