vanilla-jui 1.5.33 → 1.5.35
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/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/css/editor.css +10 -11
- package/src/css/form.css +157 -285
- package/src/css/table.css +4 -19
- package/src/css/themes/default/editor.css +4 -4
- package/src/css/themes/default/table.css +7 -7
- package/src/css/tokens.css +37 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vanilla-jui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A lightweight, reactive, and fully customizable vanilla JS UI library.",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"validator",
|
|
24
24
|
"vanilla"
|
|
25
25
|
],
|
|
26
|
-
"homepage": "https://
|
|
26
|
+
"homepage": "https://app.jealer.com/vanilla-jui",
|
|
27
27
|
"bugs": {
|
|
28
28
|
"url": "https://github.com/WangShai123/vanilla-jui/issues"
|
|
29
29
|
},
|
package/src/css/editor.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
Typography - 段落与标题
|
|
39
39
|
============================================ */
|
|
40
40
|
.j-editor > p {
|
|
41
|
-
margin-block: var(--editor-
|
|
41
|
+
margin-block: var(--editor-block-space);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.j-editor h1,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
.j-editor h4+p,
|
|
87
87
|
.j-editor h5+p,
|
|
88
88
|
.j-editor h6+p {
|
|
89
|
-
margin-top: calc(var(--editor-
|
|
89
|
+
margin-top: calc(var(--editor-block-space) * -0.5);
|
|
90
90
|
} */
|
|
91
91
|
|
|
92
92
|
/* ============================================
|
|
@@ -191,13 +191,13 @@
|
|
|
191
191
|
============================================ */
|
|
192
192
|
.j-editor ul,
|
|
193
193
|
.j-editor ol {
|
|
194
|
-
margin: 0 0 var(--editor-
|
|
194
|
+
margin: 0 0 var(--editor-list-space);
|
|
195
195
|
padding-left: 1.75em;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.j-editor ul li,
|
|
199
199
|
.j-editor ol li {
|
|
200
|
-
margin-bottom: var(--editor-
|
|
200
|
+
margin-bottom: var(--editor-space);
|
|
201
201
|
padding-left: 0.25em;
|
|
202
202
|
}
|
|
203
203
|
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
.j-editor ol ol,
|
|
219
219
|
.j-editor ol ul,
|
|
220
220
|
.j-editor ul ol {
|
|
221
|
-
margin-top: var(--editor-
|
|
221
|
+
margin-top: var(--editor-space);
|
|
222
222
|
margin-bottom: 0;
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
|
|
262
262
|
.j-editor dd {
|
|
263
263
|
margin: 0 0 0.75rem;
|
|
264
|
-
padding-left: var(--editor-
|
|
264
|
+
padding-left: var(--editor-list-space);
|
|
265
265
|
color: var(--tone-body);
|
|
266
266
|
}
|
|
267
267
|
|
|
@@ -585,11 +585,10 @@
|
|
|
585
585
|
|
|
586
586
|
.j-editor table {
|
|
587
587
|
margin-block: var(--editor-block-space);
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
--table-cell-padding: 0.5rem 1rem;
|
|
588
|
+
overflow-x: auto;
|
|
589
|
+
scrollbar-width: thin;
|
|
590
|
+
scrollbar-color: var(--ui-border) transparent;
|
|
591
|
+
display: block;
|
|
593
592
|
}
|
|
594
593
|
|
|
595
594
|
/* ============================================
|