sakana-element 2.1.4 → 2.2.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 +9 -6
- package/dist/es/Avatar-CxsRW-wl.js +9 -0
- package/dist/es/Badge-CoFWwBwv.js +14 -0
- package/dist/es/Breadcrumb-BtrwTVKW.js +15 -0
- package/dist/es/{Button-fW_ZOLmT.js → Button-S_31-UWJ.js} +3 -3
- package/dist/es/Card-DcW6nHYD.js +16 -0
- package/dist/es/Collapse-DsS7M-m3.js +53 -0
- package/dist/es/ConfigProvider-BgIewHXP.js +44 -0
- package/dist/es/{Dropdown-49nf6F8P.js → Dropdown-GcomGMAI.js} +10 -10
- package/dist/es/FileInput-BQ59woas.js +33 -0
- package/dist/es/Form-j90EzLXU.js +122 -0
- package/dist/es/{Input-DBPpvf0Y.js → Input-CiE4bPJN.js} +4 -4
- package/dist/es/Link-B9B2APZq.js +11 -0
- package/dist/es/Loading-BW99pE5N.js +92 -0
- package/dist/es/Message-DCNnTUje.js +123 -0
- package/dist/es/{Notification-D4RYHV9o.js → Notification-CBzY5904.js} +14 -14
- package/dist/es/Popconfirm-DF6d2ORS.js +23 -0
- package/dist/es/Select-Dwqv8isB.js +133 -0
- package/dist/es/Switch-B1Gnv1tB.js +34 -0
- package/dist/es/{Tooltip-HWx_i2FA.js → Tooltip-k6gKnMyt.js} +3 -3
- package/dist/es/hooks-BaG7l8K5.js +116 -0
- package/dist/es/index.js +73 -63
- package/dist/index.css +1 -1
- package/dist/theme/Alert.css +1 -1
- package/dist/theme/Avatar.css +116 -0
- package/dist/theme/Badge.css +36 -30
- package/dist/theme/Breadcrumb.css +150 -0
- package/dist/theme/Button.css +216 -216
- package/dist/theme/Card.css +170 -19
- package/dist/theme/Collapse.css +214 -54
- package/dist/theme/FileInput.css +365 -0
- package/dist/theme/Form.css +65 -34
- package/dist/theme/Link.css +50 -0
- package/dist/theme/Loading.css +154 -4
- package/dist/theme/Message.css +7 -4
- package/dist/theme/Notification.css +21 -21
- package/dist/theme/Popconfirm.css +5 -5
- package/dist/theme/Select.css +78 -78
- package/dist/theme/index.css +1 -5
- package/dist/types/components/Avatar/index.d.ts +30 -0
- package/dist/types/components/Avatar/types.d.ts +10 -0
- package/dist/types/components/Badge/types.d.ts +1 -0
- package/dist/types/components/Breadcrumb/constants.d.ts +3 -0
- package/dist/types/components/Breadcrumb/index.d.ts +45 -0
- package/dist/types/components/Breadcrumb/types.d.ts +13 -0
- package/dist/types/components/Card/types.d.ts +6 -0
- package/dist/types/components/Collapse/constants.d.ts +3 -0
- package/dist/types/components/Collapse/index.d.ts +9 -3
- package/dist/types/components/Collapse/types.d.ts +12 -0
- package/dist/types/components/FileInput/constants.d.ts +3 -0
- package/dist/types/components/FileInput/index.d.ts +58 -0
- package/dist/types/components/FileInput/types.d.ts +24 -0
- package/dist/types/components/Form/types.d.ts +17 -7
- package/dist/types/components/Input/index.d.ts +5 -5
- package/dist/types/components/Link/index.d.ts +34 -0
- package/dist/types/components/Link/types.d.ts +10 -0
- package/dist/types/components/Loading/index.d.ts +25 -0
- package/dist/types/components/Loading/types.d.ts +9 -0
- package/dist/types/components/Message/types.d.ts +2 -2
- package/dist/types/components/MessageBox/types.d.ts +2 -2
- package/dist/types/components/Notification/index.d.ts +1 -1
- package/dist/types/components/Notification/methods.d.ts +3 -1
- package/dist/types/components/Notification/types.d.ts +2 -2
- package/dist/types/components/Select/constants.d.ts +2 -1
- package/dist/types/components/Select/index.d.ts +11 -11
- package/dist/types/components/Select/useKeyMap.d.ts +1 -1
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/hooks/vitest.setup.d.ts +4 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +5 -14
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +59 -60
- package/dist/es/Badge-BG-vYP8Y.js +0 -13
- package/dist/es/Card-BCBnlVi_.js +0 -12
- package/dist/es/Collapse-B08VhCVq.js +0 -38
- package/dist/es/ConfigProvider-DZO1d5Eq.js +0 -44
- package/dist/es/Form-CGiTDSGI.js +0 -108
- package/dist/es/Loading-DlygqGOv.js +0 -88
- package/dist/es/Message-ganFfLeU.js +0 -123
- package/dist/es/Popconfirm-Cop44KwQ.js +0 -22
- package/dist/es/Select-TIoGsqKv.js +0 -133
- package/dist/es/Switch-CHjcLtHs.js +0 -34
- package/dist/es/hooks-CYdEHUVd.js +0 -105
- package/dist/theme/fonts/zpix.ttf +0 -0
package/dist/theme/Message.css
CHANGED
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
}
|
|
175
175
|
.px-message.fade-up-enter-active,
|
|
176
176
|
.px-message.fade-up-leave-active {
|
|
177
|
-
transition: opacity 0.
|
|
177
|
+
transition: opacity 0.15s steps(3), transform 0.15s steps(3);
|
|
178
178
|
}
|
|
179
179
|
/* MessageBox Variables */
|
|
180
180
|
.px-message-box {
|
|
@@ -286,7 +286,10 @@
|
|
|
286
286
|
font-size: var(--px-message-box-close-size);
|
|
287
287
|
cursor: pointer;
|
|
288
288
|
box-shadow: 2px 2px 0 0 var(--px-shadow-color);
|
|
289
|
-
transition: none;
|
|
289
|
+
transition: none;
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
justify-content: center;
|
|
290
293
|
}
|
|
291
294
|
.px-message-box .px-message-box__header .px-message-box__header-btn i {
|
|
292
295
|
color: var(--px-text-color-secondary);
|
|
@@ -336,10 +339,10 @@
|
|
|
336
339
|
}
|
|
337
340
|
/* Animation */
|
|
338
341
|
.fade-in-linear-enter-active .px-overlay-message-box {
|
|
339
|
-
animation: msgbox-fade-in 0.
|
|
342
|
+
animation: msgbox-fade-in 0.15s steps(3);
|
|
340
343
|
}
|
|
341
344
|
.fade-in-linear-leave-active .px-overlay-message-box {
|
|
342
|
-
animation: msgbox-fade-in 0.
|
|
345
|
+
animation: msgbox-fade-in 0.15s steps(3) reverse;
|
|
343
346
|
}
|
|
344
347
|
@keyframes msgbox-fade-in {
|
|
345
348
|
0% {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Notification Variables */
|
|
2
|
-
.px-notification[data-v-
|
|
2
|
+
.px-notification[data-v-ff3aeca4] {
|
|
3
3
|
--px-notification-width: 330px;
|
|
4
4
|
--px-notification-padding: 14px 20px;
|
|
5
5
|
--px-notification-border-color: var(--px-border-color);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--px-notification-shadow-color: var(--px-shadow-color);
|
|
15
15
|
}
|
|
16
16
|
/* Base Notification Styles - Pixel Game Style */
|
|
17
|
-
.px-notification[data-v-
|
|
17
|
+
.px-notification[data-v-ff3aeca4] {
|
|
18
18
|
display: flex;
|
|
19
19
|
width: var(--px-notification-width);
|
|
20
20
|
padding: var(--px-notification-padding);
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
/* No smooth transitions */
|
|
39
39
|
transition: none;
|
|
40
40
|
}
|
|
41
|
-
.px-notification.right[data-v-
|
|
41
|
+
.px-notification.right[data-v-ff3aeca4] {
|
|
42
42
|
right: 16px;
|
|
43
43
|
}
|
|
44
|
-
.px-notification.left[data-v-
|
|
44
|
+
.px-notification.left[data-v-ff3aeca4] {
|
|
45
45
|
left: 16px;
|
|
46
46
|
}
|
|
47
|
-
.px-notification .px-notification__text[data-v-
|
|
47
|
+
.px-notification .px-notification__text[data-v-ff3aeca4] {
|
|
48
48
|
margin: 0 10px;
|
|
49
49
|
flex: 1;
|
|
50
50
|
}
|
|
51
|
-
.px-notification .px-notification__icon[data-v-
|
|
51
|
+
.px-notification .px-notification__icon[data-v-ff3aeca4] {
|
|
52
52
|
height: var(--px-notification-icon-size);
|
|
53
53
|
width: var(--px-notification-icon-size);
|
|
54
54
|
font-size: var(--px-notification-icon-size);
|
|
55
55
|
color: var(--px-notification-icon-color);
|
|
56
56
|
flex-shrink: 0;
|
|
57
57
|
}
|
|
58
|
-
.px-notification .px-notification__title[data-v-
|
|
58
|
+
.px-notification .px-notification__title[data-v-ff3aeca4] {
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
font-size: var(--px-notification-title-font-size);
|
|
61
61
|
font-family: var(--px-font-family);
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
color: var(--px-notification-title-color);
|
|
64
64
|
margin: 0;
|
|
65
65
|
}
|
|
66
|
-
.px-notification .px-notification__content[data-v-
|
|
66
|
+
.px-notification .px-notification__content[data-v-ff3aeca4] {
|
|
67
67
|
font-size: var(--px-notification-content-font-size);
|
|
68
68
|
font-family: var(--px-font-family);
|
|
69
69
|
line-height: 1.5;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
color: var(--px-notification-content-color);
|
|
72
72
|
text-align: left;
|
|
73
73
|
}
|
|
74
|
-
.px-notification .px-notification__close[data-v-
|
|
74
|
+
.px-notification .px-notification__close[data-v-ff3aeca4] {
|
|
75
75
|
position: absolute;
|
|
76
76
|
top: 14px;
|
|
77
77
|
right: 14px;
|
|
@@ -79,48 +79,48 @@
|
|
|
79
79
|
color: var(--px-notification-close-color);
|
|
80
80
|
font-size: var(--px-notification-close-font-size);
|
|
81
81
|
}
|
|
82
|
-
.px-notification .px-notification__close[data-v-
|
|
82
|
+
.px-notification .px-notification__close[data-v-ff3aeca4]:hover {
|
|
83
83
|
color: var(--px-notification-close-hover-color);
|
|
84
84
|
}
|
|
85
85
|
/* Type variants with colored shadows */
|
|
86
|
-
.px-notification--info[data-v-
|
|
86
|
+
.px-notification--info[data-v-ff3aeca4] {
|
|
87
87
|
--px-notification-icon-color: var(--px-color-info);
|
|
88
88
|
--px-notification-border-color: var(--px-color-info);
|
|
89
89
|
--px-notification-shadow-color: var(--px-color-info-dark);
|
|
90
90
|
}
|
|
91
|
-
.px-notification--success[data-v-
|
|
91
|
+
.px-notification--success[data-v-ff3aeca4] {
|
|
92
92
|
--px-notification-icon-color: var(--px-color-success);
|
|
93
93
|
--px-notification-border-color: var(--px-color-success);
|
|
94
94
|
--px-notification-shadow-color: var(--px-color-success-dark);
|
|
95
95
|
}
|
|
96
|
-
.px-notification--warning[data-v-
|
|
96
|
+
.px-notification--warning[data-v-ff3aeca4] {
|
|
97
97
|
--px-notification-icon-color: var(--px-color-warning);
|
|
98
98
|
--px-notification-border-color: var(--px-color-warning);
|
|
99
99
|
--px-notification-shadow-color: var(--px-color-warning-dark);
|
|
100
100
|
}
|
|
101
|
-
.px-notification--danger[data-v-
|
|
101
|
+
.px-notification--danger[data-v-ff3aeca4] {
|
|
102
102
|
--px-notification-icon-color: var(--px-color-danger);
|
|
103
103
|
--px-notification-border-color: var(--px-color-danger);
|
|
104
104
|
--px-notification-shadow-color: var(--px-color-danger-dark);
|
|
105
105
|
}
|
|
106
|
-
.px-notification--error[data-v-
|
|
106
|
+
.px-notification--error[data-v-ff3aeca4] {
|
|
107
107
|
--px-notification-icon-color: var(--px-color-danger);
|
|
108
108
|
--px-notification-border-color: var(--px-color-danger);
|
|
109
109
|
--px-notification-shadow-color: var(--px-color-danger-dark);
|
|
110
110
|
}
|
|
111
111
|
/* Animation */
|
|
112
|
-
.px-notification-fade-enter-from.right[data-v-
|
|
112
|
+
.px-notification-fade-enter-from.right[data-v-ff3aeca4] {
|
|
113
113
|
right: 0;
|
|
114
114
|
transform: translateX(100%);
|
|
115
115
|
}
|
|
116
|
-
.px-notification-fade-enter-from.left[data-v-
|
|
116
|
+
.px-notification-fade-enter-from.left[data-v-ff3aeca4] {
|
|
117
117
|
left: 0;
|
|
118
118
|
transform: translateX(-100%);
|
|
119
119
|
}
|
|
120
|
-
.px-notification-fade-leave-to[data-v-
|
|
120
|
+
.px-notification-fade-leave-to[data-v-ff3aeca4] {
|
|
121
121
|
opacity: 0;
|
|
122
122
|
}
|
|
123
|
-
.px-notification-fade-enter-active[data-v-
|
|
124
|
-
.px-notification-fade-leave-active[data-v-
|
|
125
|
-
transition: opacity 0.
|
|
123
|
+
.px-notification-fade-enter-active[data-v-ff3aeca4],
|
|
124
|
+
.px-notification-fade-leave-active[data-v-ff3aeca4] {
|
|
125
|
+
transition: opacity 0.15s steps(3), transform 0.15s steps(3);
|
|
126
126
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* Popconfirm Variables */
|
|
2
|
-
.px-popconfirm[data-v-
|
|
2
|
+
.px-popconfirm[data-v-fd6e7d1d] {
|
|
3
3
|
--px-popconfirm-icon-size: 16px;
|
|
4
4
|
--px-popconfirm-font-size: var(--px-font-size-base);
|
|
5
5
|
}
|
|
6
6
|
/* Base Popconfirm Styles - Pixel Dialog */
|
|
7
|
-
.px-popconfirm[data-v-
|
|
7
|
+
.px-popconfirm[data-v-fd6e7d1d] {
|
|
8
8
|
font-family: var(--px-font-family);
|
|
9
9
|
}
|
|
10
|
-
.px-popconfirm .px-popconfirm__main[data-v-
|
|
10
|
+
.px-popconfirm .px-popconfirm__main[data-v-fd6e7d1d] {
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: flex-start;
|
|
13
13
|
gap: 8px;
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
color: var(--px-text-color-primary);
|
|
16
16
|
line-height: 1.5;
|
|
17
17
|
}
|
|
18
|
-
.px-popconfirm .px-popconfirm__main i[data-v-
|
|
18
|
+
.px-popconfirm .px-popconfirm__main i[data-v-fd6e7d1d] {
|
|
19
19
|
font-size: var(--px-popconfirm-icon-size);
|
|
20
20
|
flex-shrink: 0;
|
|
21
21
|
margin-top: 2px;
|
|
22
22
|
}
|
|
23
|
-
.px-popconfirm .px-popconfirm__action[data-v-
|
|
23
|
+
.px-popconfirm .px-popconfirm__action[data-v-fd6e7d1d] {
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: flex-end;
|
|
26
26
|
gap: 8px;
|
package/dist/theme/Select.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Select Variables */
|
|
2
|
-
.px-select[data-v-
|
|
2
|
+
.px-select[data-v-d9852f9a] {
|
|
3
3
|
--px-select-item-hover-bg-color: var(--px-fill-color-light);
|
|
4
4
|
--px-select-item-font-size: var(--px-font-size-base);
|
|
5
5
|
--px-select-item-font-color: var(--px-text-color-primary);
|
|
@@ -14,30 +14,30 @@
|
|
|
14
14
|
--px-select-item-highlighted-border-color: var(--px-color-primary);
|
|
15
15
|
}
|
|
16
16
|
/* Base Select Styles - Pixel Dropdown */
|
|
17
|
-
.px-select[data-v-
|
|
17
|
+
.px-select[data-v-d9852f9a] {
|
|
18
18
|
display: inline-block;
|
|
19
19
|
vertical-align: middle;
|
|
20
20
|
line-height: 32px;
|
|
21
21
|
font-family: var(--px-font-family);
|
|
22
22
|
}
|
|
23
23
|
/* Tooltip popper styling - pixel style inherited from Tooltip */
|
|
24
|
-
.px-select[data-v-
|
|
24
|
+
.px-select[data-v-d9852f9a] .px-tooltip__popper {
|
|
25
25
|
padding: 0;
|
|
26
26
|
}
|
|
27
27
|
/* Override tooltip background to match select dropdown */
|
|
28
|
-
.px-select[data-v-
|
|
28
|
+
.px-select[data-v-d9852f9a] .px-tooltip__popper::after {
|
|
29
29
|
background: var(--px-select-dropdown-bg-color);
|
|
30
30
|
}
|
|
31
31
|
/* Input with dropdown arrow */
|
|
32
|
-
.px-select[data-v-
|
|
32
|
+
.px-select[data-v-d9852f9a] .px-input .header-angle {
|
|
33
33
|
transition: none;
|
|
34
34
|
}
|
|
35
|
-
.px-select[data-v-
|
|
35
|
+
.px-select[data-v-d9852f9a] .px-input .header-angle.is-active {
|
|
36
36
|
transform: rotate(180deg);
|
|
37
37
|
}
|
|
38
38
|
/* No data / Loading states */
|
|
39
|
-
.px-select .px-select__nodata[data-v-
|
|
40
|
-
.px-select .px-select__loading[data-v-
|
|
39
|
+
.px-select .px-select__nodata[data-v-d9852f9a],
|
|
40
|
+
.px-select .px-select__loading[data-v-d9852f9a] {
|
|
41
41
|
padding: 12px 16px;
|
|
42
42
|
margin: 0;
|
|
43
43
|
text-align: center;
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
font-family: var(--px-font-family);
|
|
47
47
|
}
|
|
48
48
|
/* Menu container */
|
|
49
|
-
.px-select .px-select__menu[data-v-
|
|
49
|
+
.px-select .px-select__menu[data-v-d9852f9a] {
|
|
50
50
|
list-style: none;
|
|
51
51
|
margin: 0;
|
|
52
52
|
padding: 4px 0;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
}
|
|
55
55
|
/* Menu items - Pixel list style */
|
|
56
|
-
.px-select .px-select__menu-item[data-v-
|
|
56
|
+
.px-select .px-select__menu-item[data-v-d9852f9a] {
|
|
57
57
|
margin: 0;
|
|
58
58
|
font-size: var(--px-select-item-font-size);
|
|
59
59
|
font-family: var(--px-font-family);
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
transition: none;
|
|
71
71
|
}
|
|
72
72
|
/* Pixel selector indicator - small square */
|
|
73
|
-
.px-select .px-select__menu-item[data-v-
|
|
73
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]::before {
|
|
74
74
|
content: '';
|
|
75
75
|
position: absolute;
|
|
76
76
|
left: 10px;
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
z-index: 2;
|
|
84
84
|
}
|
|
85
85
|
/* Background layer for hover/selected states */
|
|
86
|
-
.px-select .px-select__menu-item[data-v-
|
|
86
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]::after {
|
|
87
87
|
content: '';
|
|
88
88
|
position: absolute;
|
|
89
89
|
inset: 0;
|
|
@@ -93,45 +93,45 @@
|
|
|
93
93
|
z-index: -1;
|
|
94
94
|
}
|
|
95
95
|
/* Hover effect */
|
|
96
|
-
.px-select .px-select__menu-item[data-v-
|
|
96
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]:hover::after {
|
|
97
97
|
background-color: var(--px-select-item-hover-bg-color);
|
|
98
98
|
}
|
|
99
|
-
.px-select .px-select__menu-item[data-v-
|
|
99
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]:hover::before {
|
|
100
100
|
border-color: var(--px-hover-border-color);
|
|
101
101
|
}
|
|
102
102
|
/* Selected state with pixel indicator */
|
|
103
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
103
|
+
.px-select .px-select__menu-item.is-selected[data-v-d9852f9a] {
|
|
104
104
|
color: var(--px-select-item-selected-font-color);
|
|
105
105
|
font-weight: 500;
|
|
106
106
|
}
|
|
107
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
107
|
+
.px-select .px-select__menu-item.is-selected[data-v-d9852f9a]::after {
|
|
108
108
|
background-color: var(--px-select-item-selected-bg-color);
|
|
109
109
|
}
|
|
110
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
110
|
+
.px-select .px-select__menu-item.is-selected[data-v-d9852f9a]::before {
|
|
111
111
|
background: var(--px-select-item-indicator-color);
|
|
112
112
|
border-color: var(--px-select-item-indicator-color);
|
|
113
113
|
}
|
|
114
114
|
/* Highlighted (keyboard navigation) */
|
|
115
|
-
.px-select .px-select__menu-item.is-highlighted[data-v-
|
|
115
|
+
.px-select .px-select__menu-item.is-highlighted[data-v-d9852f9a]::after {
|
|
116
116
|
background-color: var(--px-select-item-hover-bg-color);
|
|
117
117
|
}
|
|
118
|
-
.px-select .px-select__menu-item.is-highlighted[data-v-
|
|
118
|
+
.px-select .px-select__menu-item.is-highlighted[data-v-d9852f9a]::before {
|
|
119
119
|
border-color: var(--px-select-item-highlighted-border-color);
|
|
120
120
|
}
|
|
121
121
|
/* Disabled state */
|
|
122
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
122
|
+
.px-select .px-select__menu-item.is-disabled[data-v-d9852f9a] {
|
|
123
123
|
color: var(--px-select-item-disabled-font-color);
|
|
124
124
|
cursor: not-allowed;
|
|
125
125
|
}
|
|
126
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
126
|
+
.px-select .px-select__menu-item.is-disabled[data-v-d9852f9a]:hover::after {
|
|
127
127
|
background-color: transparent;
|
|
128
128
|
}
|
|
129
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
129
|
+
.px-select .px-select__menu-item.is-disabled[data-v-d9852f9a]:hover::before {
|
|
130
130
|
border-color: transparent;
|
|
131
131
|
background: transparent;
|
|
132
132
|
}
|
|
133
133
|
/* First item needs pixel corners on top */
|
|
134
|
-
.px-select .px-select__menu-item[data-v-
|
|
134
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]:first-child::after {
|
|
135
135
|
top: 2px;
|
|
136
136
|
clip-path: polygon(
|
|
137
137
|
0 2px, 2px 2px, 2px 0, 4px 0,
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
);
|
|
142
142
|
}
|
|
143
143
|
/* Last item needs pixel corners on bottom */
|
|
144
|
-
.px-select .px-select__menu-item[data-v-
|
|
144
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]:last-child::after {
|
|
145
145
|
bottom: 2px;
|
|
146
146
|
clip-path: polygon(
|
|
147
147
|
0 0,
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
153
|
/* If only one item, needs both top and bottom pixel corners */
|
|
154
|
-
.px-select .px-select__menu-item[data-v-
|
|
154
|
+
.px-select .px-select__menu-item[data-v-d9852f9a]:first-child:last-child::after {
|
|
155
155
|
top: 2px;
|
|
156
156
|
bottom: 2px;
|
|
157
157
|
clip-path: polygon(
|
|
@@ -162,81 +162,81 @@
|
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
164
|
/* Input pointer cursor */
|
|
165
|
-
.px-select[data-v-
|
|
165
|
+
.px-select[data-v-d9852f9a] .px-input__inner {
|
|
166
166
|
cursor: pointer;
|
|
167
167
|
}
|
|
168
168
|
/* Disabled state */
|
|
169
|
-
.px-select.is-disabled[data-v-
|
|
169
|
+
.px-select.is-disabled[data-v-d9852f9a] {
|
|
170
170
|
opacity: 0.6;
|
|
171
171
|
cursor: not-allowed;
|
|
172
172
|
}
|
|
173
173
|
/* Ghost style - transparent at rest, Input handles border/shadow via prop */
|
|
174
|
-
.px-select.is-ghost[data-v-
|
|
174
|
+
.px-select.is-ghost[data-v-d9852f9a] .px-tooltip__popper::after {
|
|
175
175
|
background: var(--px-select-dropdown-bg-color);
|
|
176
176
|
}
|
|
177
177
|
/* Size: Large */
|
|
178
|
-
.px-select.px-select--large[data-v-
|
|
178
|
+
.px-select.px-select--large[data-v-d9852f9a] {
|
|
179
179
|
line-height: 44px;
|
|
180
180
|
}
|
|
181
|
-
.px-select.px-select--large .px-select__menu-item[data-v-
|
|
181
|
+
.px-select.px-select--large .px-select__menu-item[data-v-d9852f9a] {
|
|
182
182
|
height: 44px;
|
|
183
183
|
line-height: 44px;
|
|
184
184
|
font-size: var(--px-font-size-large);
|
|
185
185
|
padding: 0 20px 0 28px;
|
|
186
186
|
}
|
|
187
|
-
.px-select.px-select--large .px-select__menu-item[data-v-
|
|
187
|
+
.px-select.px-select--large .px-select__menu-item[data-v-d9852f9a]::before {
|
|
188
188
|
left: 12px;
|
|
189
189
|
width: 8px;
|
|
190
190
|
height: 8px;
|
|
191
191
|
}
|
|
192
192
|
/* Size: Small */
|
|
193
|
-
.px-select.px-select--small[data-v-
|
|
193
|
+
.px-select.px-select--small[data-v-d9852f9a] {
|
|
194
194
|
line-height: 28px;
|
|
195
195
|
}
|
|
196
|
-
.px-select.px-select--small .px-select__menu-item[data-v-
|
|
196
|
+
.px-select.px-select--small .px-select__menu-item[data-v-d9852f9a] {
|
|
197
197
|
height: 28px;
|
|
198
198
|
line-height: 28px;
|
|
199
199
|
font-size: var(--px-font-size-small);
|
|
200
200
|
padding: 0 12px 0 20px;
|
|
201
201
|
}
|
|
202
|
-
.px-select.px-select--small .px-select__menu-item[data-v-
|
|
202
|
+
.px-select.px-select--small .px-select__menu-item[data-v-d9852f9a]::before {
|
|
203
203
|
left: 8px;
|
|
204
204
|
width: 4px;
|
|
205
205
|
height: 4px;
|
|
206
206
|
}
|
|
207
207
|
/* Color variants */
|
|
208
|
-
.px-select.px-select--primary[data-v-
|
|
208
|
+
.px-select.px-select--primary[data-v-d9852f9a] {
|
|
209
209
|
--px-select-item-selected-font-color: var(--px-color-primary);
|
|
210
210
|
--px-select-item-selected-bg-color: var(--px-color-primary-light-9);
|
|
211
211
|
--px-select-item-indicator-color: var(--px-color-primary);
|
|
212
212
|
--px-select-item-highlighted-border-color: var(--px-color-primary);
|
|
213
213
|
}
|
|
214
|
-
.px-select.px-select--success[data-v-
|
|
214
|
+
.px-select.px-select--success[data-v-d9852f9a] {
|
|
215
215
|
--px-select-item-selected-font-color: var(--px-color-success);
|
|
216
216
|
--px-select-item-selected-bg-color: var(--px-color-success-light-9);
|
|
217
217
|
--px-select-item-indicator-color: var(--px-color-success);
|
|
218
218
|
--px-select-item-highlighted-border-color: var(--px-color-success);
|
|
219
219
|
}
|
|
220
|
-
.px-select.px-select--warning[data-v-
|
|
220
|
+
.px-select.px-select--warning[data-v-d9852f9a] {
|
|
221
221
|
--px-select-item-selected-font-color: var(--px-color-warning);
|
|
222
222
|
--px-select-item-selected-bg-color: var(--px-color-warning-light-9);
|
|
223
223
|
--px-select-item-indicator-color: var(--px-color-warning);
|
|
224
224
|
--px-select-item-highlighted-border-color: var(--px-color-warning);
|
|
225
225
|
}
|
|
226
|
-
.px-select.px-select--info[data-v-
|
|
226
|
+
.px-select.px-select--info[data-v-d9852f9a] {
|
|
227
227
|
--px-select-item-selected-font-color: var(--px-color-info);
|
|
228
228
|
--px-select-item-selected-bg-color: var(--px-color-info-light-9);
|
|
229
229
|
--px-select-item-indicator-color: var(--px-color-info);
|
|
230
230
|
--px-select-item-highlighted-border-color: var(--px-color-info);
|
|
231
231
|
}
|
|
232
|
-
.px-select.px-select--danger[data-v-
|
|
232
|
+
.px-select.px-select--danger[data-v-d9852f9a] {
|
|
233
233
|
--px-select-item-selected-font-color: var(--px-color-danger);
|
|
234
234
|
--px-select-item-selected-bg-color: var(--px-color-danger-light-9);
|
|
235
235
|
--px-select-item-indicator-color: var(--px-color-danger);
|
|
236
236
|
--px-select-item-highlighted-border-color: var(--px-color-danger);
|
|
237
237
|
}
|
|
238
238
|
/* Select Variables */
|
|
239
|
-
.px-select[data-v-
|
|
239
|
+
.px-select[data-v-4d450d40] {
|
|
240
240
|
--px-select-item-hover-bg-color: var(--px-fill-color-light);
|
|
241
241
|
--px-select-item-font-size: var(--px-font-size-base);
|
|
242
242
|
--px-select-item-font-color: var(--px-text-color-primary);
|
|
@@ -251,30 +251,30 @@
|
|
|
251
251
|
--px-select-item-highlighted-border-color: var(--px-color-primary);
|
|
252
252
|
}
|
|
253
253
|
/* Base Select Styles - Pixel Dropdown */
|
|
254
|
-
.px-select[data-v-
|
|
254
|
+
.px-select[data-v-4d450d40] {
|
|
255
255
|
display: inline-block;
|
|
256
256
|
vertical-align: middle;
|
|
257
257
|
line-height: 32px;
|
|
258
258
|
font-family: var(--px-font-family);
|
|
259
259
|
}
|
|
260
260
|
/* Tooltip popper styling - pixel style inherited from Tooltip */
|
|
261
|
-
.px-select[data-v-
|
|
261
|
+
.px-select[data-v-4d450d40] .px-tooltip__popper {
|
|
262
262
|
padding: 0;
|
|
263
263
|
}
|
|
264
264
|
/* Override tooltip background to match select dropdown */
|
|
265
|
-
.px-select[data-v-
|
|
265
|
+
.px-select[data-v-4d450d40] .px-tooltip__popper::after {
|
|
266
266
|
background: var(--px-select-dropdown-bg-color);
|
|
267
267
|
}
|
|
268
268
|
/* Input with dropdown arrow */
|
|
269
|
-
.px-select[data-v-
|
|
269
|
+
.px-select[data-v-4d450d40] .px-input .header-angle {
|
|
270
270
|
transition: none;
|
|
271
271
|
}
|
|
272
|
-
.px-select[data-v-
|
|
272
|
+
.px-select[data-v-4d450d40] .px-input .header-angle.is-active {
|
|
273
273
|
transform: rotate(180deg);
|
|
274
274
|
}
|
|
275
275
|
/* No data / Loading states */
|
|
276
|
-
.px-select .px-select__nodata[data-v-
|
|
277
|
-
.px-select .px-select__loading[data-v-
|
|
276
|
+
.px-select .px-select__nodata[data-v-4d450d40],
|
|
277
|
+
.px-select .px-select__loading[data-v-4d450d40] {
|
|
278
278
|
padding: 12px 16px;
|
|
279
279
|
margin: 0;
|
|
280
280
|
text-align: center;
|
|
@@ -283,14 +283,14 @@
|
|
|
283
283
|
font-family: var(--px-font-family);
|
|
284
284
|
}
|
|
285
285
|
/* Menu container */
|
|
286
|
-
.px-select .px-select__menu[data-v-
|
|
286
|
+
.px-select .px-select__menu[data-v-4d450d40] {
|
|
287
287
|
list-style: none;
|
|
288
288
|
margin: 0;
|
|
289
289
|
padding: 4px 0;
|
|
290
290
|
box-sizing: border-box;
|
|
291
291
|
}
|
|
292
292
|
/* Menu items - Pixel list style */
|
|
293
|
-
.px-select .px-select__menu-item[data-v-
|
|
293
|
+
.px-select .px-select__menu-item[data-v-4d450d40] {
|
|
294
294
|
margin: 0;
|
|
295
295
|
font-size: var(--px-select-item-font-size);
|
|
296
296
|
font-family: var(--px-font-family);
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
transition: none;
|
|
308
308
|
}
|
|
309
309
|
/* Pixel selector indicator - small square */
|
|
310
|
-
.px-select .px-select__menu-item[data-v-
|
|
310
|
+
.px-select .px-select__menu-item[data-v-4d450d40]::before {
|
|
311
311
|
content: '';
|
|
312
312
|
position: absolute;
|
|
313
313
|
left: 10px;
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
z-index: 2;
|
|
321
321
|
}
|
|
322
322
|
/* Background layer for hover/selected states */
|
|
323
|
-
.px-select .px-select__menu-item[data-v-
|
|
323
|
+
.px-select .px-select__menu-item[data-v-4d450d40]::after {
|
|
324
324
|
content: '';
|
|
325
325
|
position: absolute;
|
|
326
326
|
inset: 0;
|
|
@@ -330,45 +330,45 @@
|
|
|
330
330
|
z-index: -1;
|
|
331
331
|
}
|
|
332
332
|
/* Hover effect */
|
|
333
|
-
.px-select .px-select__menu-item[data-v-
|
|
333
|
+
.px-select .px-select__menu-item[data-v-4d450d40]:hover::after {
|
|
334
334
|
background-color: var(--px-select-item-hover-bg-color);
|
|
335
335
|
}
|
|
336
|
-
.px-select .px-select__menu-item[data-v-
|
|
336
|
+
.px-select .px-select__menu-item[data-v-4d450d40]:hover::before {
|
|
337
337
|
border-color: var(--px-hover-border-color);
|
|
338
338
|
}
|
|
339
339
|
/* Selected state with pixel indicator */
|
|
340
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
340
|
+
.px-select .px-select__menu-item.is-selected[data-v-4d450d40] {
|
|
341
341
|
color: var(--px-select-item-selected-font-color);
|
|
342
342
|
font-weight: 500;
|
|
343
343
|
}
|
|
344
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
344
|
+
.px-select .px-select__menu-item.is-selected[data-v-4d450d40]::after {
|
|
345
345
|
background-color: var(--px-select-item-selected-bg-color);
|
|
346
346
|
}
|
|
347
|
-
.px-select .px-select__menu-item.is-selected[data-v-
|
|
347
|
+
.px-select .px-select__menu-item.is-selected[data-v-4d450d40]::before {
|
|
348
348
|
background: var(--px-select-item-indicator-color);
|
|
349
349
|
border-color: var(--px-select-item-indicator-color);
|
|
350
350
|
}
|
|
351
351
|
/* Highlighted (keyboard navigation) */
|
|
352
|
-
.px-select .px-select__menu-item.is-highlighted[data-v-
|
|
352
|
+
.px-select .px-select__menu-item.is-highlighted[data-v-4d450d40]::after {
|
|
353
353
|
background-color: var(--px-select-item-hover-bg-color);
|
|
354
354
|
}
|
|
355
|
-
.px-select .px-select__menu-item.is-highlighted[data-v-
|
|
355
|
+
.px-select .px-select__menu-item.is-highlighted[data-v-4d450d40]::before {
|
|
356
356
|
border-color: var(--px-select-item-highlighted-border-color);
|
|
357
357
|
}
|
|
358
358
|
/* Disabled state */
|
|
359
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
359
|
+
.px-select .px-select__menu-item.is-disabled[data-v-4d450d40] {
|
|
360
360
|
color: var(--px-select-item-disabled-font-color);
|
|
361
361
|
cursor: not-allowed;
|
|
362
362
|
}
|
|
363
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
363
|
+
.px-select .px-select__menu-item.is-disabled[data-v-4d450d40]:hover::after {
|
|
364
364
|
background-color: transparent;
|
|
365
365
|
}
|
|
366
|
-
.px-select .px-select__menu-item.is-disabled[data-v-
|
|
366
|
+
.px-select .px-select__menu-item.is-disabled[data-v-4d450d40]:hover::before {
|
|
367
367
|
border-color: transparent;
|
|
368
368
|
background: transparent;
|
|
369
369
|
}
|
|
370
370
|
/* First item needs pixel corners on top */
|
|
371
|
-
.px-select .px-select__menu-item[data-v-
|
|
371
|
+
.px-select .px-select__menu-item[data-v-4d450d40]:first-child::after {
|
|
372
372
|
top: 2px;
|
|
373
373
|
clip-path: polygon(
|
|
374
374
|
0 2px, 2px 2px, 2px 0, 4px 0,
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
/* Last item needs pixel corners on bottom */
|
|
381
|
-
.px-select .px-select__menu-item[data-v-
|
|
381
|
+
.px-select .px-select__menu-item[data-v-4d450d40]:last-child::after {
|
|
382
382
|
bottom: 2px;
|
|
383
383
|
clip-path: polygon(
|
|
384
384
|
0 0,
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
);
|
|
389
389
|
}
|
|
390
390
|
/* If only one item, needs both top and bottom pixel corners */
|
|
391
|
-
.px-select .px-select__menu-item[data-v-
|
|
391
|
+
.px-select .px-select__menu-item[data-v-4d450d40]:first-child:last-child::after {
|
|
392
392
|
top: 2px;
|
|
393
393
|
bottom: 2px;
|
|
394
394
|
clip-path: polygon(
|
|
@@ -399,74 +399,74 @@
|
|
|
399
399
|
);
|
|
400
400
|
}
|
|
401
401
|
/* Input pointer cursor */
|
|
402
|
-
.px-select[data-v-
|
|
402
|
+
.px-select[data-v-4d450d40] .px-input__inner {
|
|
403
403
|
cursor: pointer;
|
|
404
404
|
}
|
|
405
405
|
/* Disabled state */
|
|
406
|
-
.px-select.is-disabled[data-v-
|
|
406
|
+
.px-select.is-disabled[data-v-4d450d40] {
|
|
407
407
|
opacity: 0.6;
|
|
408
408
|
cursor: not-allowed;
|
|
409
409
|
}
|
|
410
410
|
/* Ghost style - transparent at rest, Input handles border/shadow via prop */
|
|
411
|
-
.px-select.is-ghost[data-v-
|
|
411
|
+
.px-select.is-ghost[data-v-4d450d40] .px-tooltip__popper::after {
|
|
412
412
|
background: var(--px-select-dropdown-bg-color);
|
|
413
413
|
}
|
|
414
414
|
/* Size: Large */
|
|
415
|
-
.px-select.px-select--large[data-v-
|
|
415
|
+
.px-select.px-select--large[data-v-4d450d40] {
|
|
416
416
|
line-height: 44px;
|
|
417
417
|
}
|
|
418
|
-
.px-select.px-select--large .px-select__menu-item[data-v-
|
|
418
|
+
.px-select.px-select--large .px-select__menu-item[data-v-4d450d40] {
|
|
419
419
|
height: 44px;
|
|
420
420
|
line-height: 44px;
|
|
421
421
|
font-size: var(--px-font-size-large);
|
|
422
422
|
padding: 0 20px 0 28px;
|
|
423
423
|
}
|
|
424
|
-
.px-select.px-select--large .px-select__menu-item[data-v-
|
|
424
|
+
.px-select.px-select--large .px-select__menu-item[data-v-4d450d40]::before {
|
|
425
425
|
left: 12px;
|
|
426
426
|
width: 8px;
|
|
427
427
|
height: 8px;
|
|
428
428
|
}
|
|
429
429
|
/* Size: Small */
|
|
430
|
-
.px-select.px-select--small[data-v-
|
|
430
|
+
.px-select.px-select--small[data-v-4d450d40] {
|
|
431
431
|
line-height: 28px;
|
|
432
432
|
}
|
|
433
|
-
.px-select.px-select--small .px-select__menu-item[data-v-
|
|
433
|
+
.px-select.px-select--small .px-select__menu-item[data-v-4d450d40] {
|
|
434
434
|
height: 28px;
|
|
435
435
|
line-height: 28px;
|
|
436
436
|
font-size: var(--px-font-size-small);
|
|
437
437
|
padding: 0 12px 0 20px;
|
|
438
438
|
}
|
|
439
|
-
.px-select.px-select--small .px-select__menu-item[data-v-
|
|
439
|
+
.px-select.px-select--small .px-select__menu-item[data-v-4d450d40]::before {
|
|
440
440
|
left: 8px;
|
|
441
441
|
width: 4px;
|
|
442
442
|
height: 4px;
|
|
443
443
|
}
|
|
444
444
|
/* Color variants */
|
|
445
|
-
.px-select.px-select--primary[data-v-
|
|
445
|
+
.px-select.px-select--primary[data-v-4d450d40] {
|
|
446
446
|
--px-select-item-selected-font-color: var(--px-color-primary);
|
|
447
447
|
--px-select-item-selected-bg-color: var(--px-color-primary-light-9);
|
|
448
448
|
--px-select-item-indicator-color: var(--px-color-primary);
|
|
449
449
|
--px-select-item-highlighted-border-color: var(--px-color-primary);
|
|
450
450
|
}
|
|
451
|
-
.px-select.px-select--success[data-v-
|
|
451
|
+
.px-select.px-select--success[data-v-4d450d40] {
|
|
452
452
|
--px-select-item-selected-font-color: var(--px-color-success);
|
|
453
453
|
--px-select-item-selected-bg-color: var(--px-color-success-light-9);
|
|
454
454
|
--px-select-item-indicator-color: var(--px-color-success);
|
|
455
455
|
--px-select-item-highlighted-border-color: var(--px-color-success);
|
|
456
456
|
}
|
|
457
|
-
.px-select.px-select--warning[data-v-
|
|
457
|
+
.px-select.px-select--warning[data-v-4d450d40] {
|
|
458
458
|
--px-select-item-selected-font-color: var(--px-color-warning);
|
|
459
459
|
--px-select-item-selected-bg-color: var(--px-color-warning-light-9);
|
|
460
460
|
--px-select-item-indicator-color: var(--px-color-warning);
|
|
461
461
|
--px-select-item-highlighted-border-color: var(--px-color-warning);
|
|
462
462
|
}
|
|
463
|
-
.px-select.px-select--info[data-v-
|
|
463
|
+
.px-select.px-select--info[data-v-4d450d40] {
|
|
464
464
|
--px-select-item-selected-font-color: var(--px-color-info);
|
|
465
465
|
--px-select-item-selected-bg-color: var(--px-color-info-light-9);
|
|
466
466
|
--px-select-item-indicator-color: var(--px-color-info);
|
|
467
467
|
--px-select-item-highlighted-border-color: var(--px-color-info);
|
|
468
468
|
}
|
|
469
|
-
.px-select.px-select--danger[data-v-
|
|
469
|
+
.px-select.px-select--danger[data-v-4d450d40] {
|
|
470
470
|
--px-select-item-selected-font-color: var(--px-color-danger);
|
|
471
471
|
--px-select-item-selected-bg-color: var(--px-color-danger-light-9);
|
|
472
472
|
--px-select-item-indicator-color: var(--px-color-danger);
|