vanilla-jui 1.5.41 → 1.5.43
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/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/accordion.ts +0 -1
- package/src/components/pagination.ts +2 -2
- package/src/css/modal.css +0 -4
- package/src/css/status.css +7 -0
- package/src/css/themes/default/accordion.css +5 -7
- package/src/css/themes/default/modal.css +8 -0
- package/src/css/themes/default/pagination.css +1 -1
- package/src/css/themes/default/toast.css +0 -1
- package/src/css/themes/default/tooltip.css +8 -0
- package/src/css/tooltip.css +4 -0
- package/src/primitives/drop.ts +1 -1
- package/src/primitives/tooltip.ts +1 -1
package/package.json
CHANGED
|
@@ -103,8 +103,8 @@ const DEFAULT_CLASS_NAMES: PaginationClassNames = {
|
|
|
103
103
|
root: 'j-pagination',
|
|
104
104
|
list: 'pagination',
|
|
105
105
|
item: 'item',
|
|
106
|
-
button: 'j-button is-
|
|
107
|
-
currentBtn: 'j-button is-
|
|
106
|
+
button: 'j-button is-ghost is-icon',
|
|
107
|
+
currentBtn: 'j-button is-outline is-icon is-active',
|
|
108
108
|
moreBtn: 'j-button is-ghost is-icon',
|
|
109
109
|
loading: 'animate-spin',
|
|
110
110
|
};
|
package/src/css/modal.css
CHANGED
package/src/css/status.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
@layer status {
|
|
12
12
|
/* sad mode */
|
|
13
13
|
.is-sad {
|
|
14
|
+
-webkit-filter: grayscale(100%);
|
|
14
15
|
filter: grayscale(100%);
|
|
15
16
|
}
|
|
16
17
|
|
|
@@ -37,18 +38,24 @@
|
|
|
37
38
|
/* drag status */
|
|
38
39
|
.dragging {
|
|
39
40
|
cursor: move;
|
|
41
|
+
cursor: -webkit-grab;
|
|
40
42
|
cursor: grab;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
.dragging:active {
|
|
46
|
+
cursor: -webkit-grabbing;
|
|
44
47
|
cursor: grabbing;
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
/* disabled */
|
|
48
51
|
:disabled,
|
|
52
|
+
[disabled],
|
|
49
53
|
.is-disabled,
|
|
50
54
|
[aria-disabled='true'] {
|
|
51
55
|
cursor: not-allowed;
|
|
56
|
+
-webkit-user-select: none;
|
|
57
|
+
-moz-user-select: none;
|
|
58
|
+
-ms-user-select: none;
|
|
52
59
|
user-select: none;
|
|
53
60
|
}
|
|
54
61
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@layer themes {
|
|
2
2
|
.j-accordion {
|
|
3
|
-
--accordion-font-weight: var(--font-medium);
|
|
4
3
|
--accordion-border: 1px solid var(--ui-border-subtle);
|
|
5
4
|
--accordion-icon-transform: rotate(0deg);
|
|
6
5
|
}
|
|
@@ -8,9 +7,8 @@
|
|
|
8
7
|
.j-accordion .accordion-header {
|
|
9
8
|
padding: var(--s2) var(--s3);
|
|
10
9
|
margin: 0;
|
|
11
|
-
font-weight: var(--
|
|
10
|
+
font-weight: var(--font-medium);
|
|
12
11
|
font-size: var(--font-size-md);
|
|
13
|
-
|
|
14
12
|
border-bottom: var(--accordion-border);
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -34,14 +32,14 @@
|
|
|
34
32
|
border-right: 0;
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
.j-accordion .accordion-header[aria-expanded='true'] .header-title {
|
|
38
|
-
--accordion-font-weight: var(--font-bold);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
35
|
.j-accordion .accordion-header .header-arrow {
|
|
42
36
|
transform: var(--accordion-icon-transform);
|
|
43
37
|
}
|
|
44
38
|
|
|
39
|
+
.j-accordion .accordion-header .header-arrow svg {
|
|
40
|
+
width: var(--font-size-lg);
|
|
41
|
+
}
|
|
42
|
+
|
|
45
43
|
.j-accordion[data-direction='horizontal'] .accordion-header .header-arrow {
|
|
46
44
|
--accordion-icon-transform: rotate(-90deg);
|
|
47
45
|
}
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
font-weight: var(--font-medium);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.j-modal .modal-header .is-icon svg {
|
|
32
|
+
width: var(--font-size-lg);
|
|
33
|
+
}
|
|
34
|
+
|
|
31
35
|
.j-modal .modal-body {
|
|
32
36
|
padding: var(--modal-body-padding);
|
|
33
37
|
min-height: 32px;
|
|
@@ -55,4 +59,8 @@
|
|
|
55
59
|
.j-modal.is-fullscreen .modal-footer {
|
|
56
60
|
--modal-footer-padding: var(--s4);
|
|
57
61
|
}
|
|
62
|
+
|
|
63
|
+
.j-popup-layout:has(.is-fullscreen) {
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
58
66
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
border-color: var(--tooltip-border-color);
|
|
12
12
|
border-radius: var(--radius-md);
|
|
13
13
|
max-width: 260px;
|
|
14
|
+
padding: 2px 4px;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.j-tooltip.is-reverse {
|
|
@@ -48,4 +49,11 @@
|
|
|
48
49
|
font-size: var(--font-size-md);
|
|
49
50
|
line-height: var(--line-height);
|
|
50
51
|
}
|
|
52
|
+
|
|
53
|
+
.drop-container:has(.j-tooltip) {
|
|
54
|
+
border: unset;
|
|
55
|
+
/* border-radius: unset; */
|
|
56
|
+
background: unset;
|
|
57
|
+
box-shadow: unset;
|
|
58
|
+
}
|
|
51
59
|
}
|
package/src/css/tooltip.css
CHANGED
package/src/primitives/drop.ts
CHANGED