sakana-element 2.3.0 → 2.4.1
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 +5 -5
- package/dist/es/{Alert-BwTsp4X3.js → Alert-DRIDwear.js} +2 -2
- package/dist/es/{Avatar-CJu6JYV3.js → Avatar-Dkvvhw_D.js} +1 -1
- package/dist/es/{Badge-BmxZXX8k.js → Badge-CLNacHVq.js} +2 -2
- package/dist/es/{Breadcrumb-BP8MSklj.js → Breadcrumb-CfJA9NZz.js} +2 -2
- package/dist/es/{Button-BJHtN7gh.js → Button-Dj1DIvXh.js} +3 -3
- package/dist/es/{Card-DJHkCmsz.js → Card-meh7F1e2.js} +1 -1
- package/dist/es/ChatBubble-Ccr3wzoK.js +9 -0
- package/dist/es/{Checkbox-DX8L3fyp.js → Checkbox-vOcwl1OX.js} +3 -3
- package/dist/es/{Collapse-Ir3V9CuO.js → Collapse-BG58s0uJ.js} +4 -4
- package/dist/es/{ConfigProvider-CsbSqwwi.js → ConfigProvider-Cr8Hpzf2.js} +2 -2
- package/dist/es/Diff-KQ44cDcY.js +64 -0
- package/dist/es/{Divider-C7PtODSK.js → Divider-CYYeUqYc.js} +1 -1
- package/dist/es/{Drawer-C2eVmvUp.js → Drawer-CDXFDfrf.js} +2 -2
- package/dist/es/{Dropdown-CVg_c2fB.js → Dropdown-CPZtzHPx.js} +9 -9
- package/dist/es/{FileInput-BE26BmXm.js → FileInput-Ram4-wy2.js} +3 -3
- package/dist/es/Filter-CLLkrn-W.js +40 -0
- package/dist/es/{Form-7lZt5ehf.js → Form-po3aIrSN.js} +62 -61
- package/dist/es/{Icon-BLDDdSU-.js → Icon-XJfGGAMY.js} +1 -1
- package/dist/es/{Indicator-B-en-MgG.js → Indicator-vsSp5r5K.js} +1 -1
- package/dist/es/{Input-C5HuVehE.js → Input-KrNqNZMe.js} +5 -5
- package/dist/es/Kbd-CtCGx7_s.js +13 -0
- package/dist/es/{Link-Av9RdcFv.js → Link-Bbwdgs74.js} +1 -1
- package/dist/es/{Loading-CBNDUWQd.js → Loading-DiyIiKxO.js} +3 -3
- package/dist/es/{Message-DgnyyuXn.js → Message-BoNCtMo7.js} +14 -14
- package/dist/es/{Notification-LYRXnVAf.js → Notification-CFY-yvRf.js} +13 -13
- package/dist/es/{Overlay-CpvMhnuU.js → Overlay-DoFA2lgP.js} +1 -1
- package/dist/es/Pixelate-dqwHc6nX.js +39 -0
- package/dist/es/{Popconfirm-DvxFdLrw.js → Popconfirm-DPOujyiA.js} +12 -12
- package/dist/es/{Progress-Bc5INMhJ.js → Progress-B0oYE8Z3.js} +1 -1
- package/dist/es/{Radio-263_rtRl.js → Radio-C-Ot7pLA.js} +3 -3
- package/dist/es/Resizable-G5KVHayx.js +151 -0
- package/dist/es/{Select-7ZxUCS8z.js → Select-DqxPeAKK.js} +14 -14
- package/dist/es/Skeleton-4SeKRKn9.js +15 -0
- package/dist/es/{Switch-DiCsMJT3.js → Switch-C_tBxZtT.js} +3 -3
- package/dist/es/{Table-BvA_xzDe.js → Table-Cr6HFL4_.js} +1 -1
- package/dist/es/{Tooltip-J3ji6weH.js → Tooltip-rak4BryQ.js} +3 -3
- package/dist/es/Validator-DKVfknvI.js +40 -0
- package/dist/es/{hooks-BqobYUzS.js → hooks-pTjI-j9o.js} +51 -53
- package/dist/es/index.js +119 -90
- package/dist/es/utils-DzOow9K9.js +155 -0
- package/dist/es/{vendor-DXmGx29U.js → vendor-DrBJKLFW.js} +254 -210
- package/dist/index.css +1 -1
- package/dist/{es/theme → theme}/Badge.css +151 -151
- package/dist/{es/theme → theme}/Button.css +92 -8
- package/dist/theme/ChatBubble.css +218 -0
- package/dist/{es/theme → theme}/Checkbox.css +138 -18
- package/dist/{es/theme → theme}/Collapse.css +96 -96
- package/dist/theme/Diff.css +110 -0
- package/dist/{es/theme → theme}/Divider.css +42 -3
- package/dist/{es/theme → theme}/Dropdown.css +2 -2
- package/dist/{es/theme → theme}/FileInput.css +32 -0
- package/dist/theme/Filter.css +598 -0
- package/dist/{es/theme → theme}/Input.css +414 -407
- package/dist/theme/Kbd.css +104 -0
- package/dist/{es/theme → theme}/Message.css +1 -1
- package/dist/{es/theme → theme}/Notification.css +44 -44
- package/dist/{es/theme → theme}/Radio.css +114 -48
- package/dist/theme/Resizable.css +95 -0
- package/dist/{es/theme → theme}/Select.css +198 -88
- package/dist/theme/Skeleton.css +192 -0
- package/dist/{es/theme → theme}/Switch.css +22 -3
- package/dist/theme/Validator.css +25 -0
- package/dist/types/components/ChatBubble/constants.d.ts +2 -0
- package/dist/types/components/ChatBubble/index.d.ts +27 -0
- package/dist/types/components/ChatBubble/types.d.ts +10 -0
- package/dist/types/components/Diff/constants.d.ts +4 -0
- package/dist/types/components/Diff/index.d.ts +67 -0
- package/dist/types/components/Diff/types.d.ts +29 -0
- package/dist/types/components/Dropdown/index.d.ts +3 -3
- package/dist/types/components/Filter/constants.d.ts +5 -0
- package/dist/types/components/Filter/index.d.ts +59 -0
- package/dist/types/components/Filter/types.d.ts +38 -0
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Kbd/constants.d.ts +3 -0
- package/dist/types/components/Kbd/index.d.ts +24 -0
- package/dist/types/components/Kbd/types.d.ts +10 -0
- package/dist/types/components/Pixelate/index.d.ts +3 -3
- package/dist/types/components/Popconfirm/index.d.ts +3 -3
- package/dist/types/components/Resizable/constants.d.ts +3 -0
- package/dist/types/components/Resizable/index.d.ts +135 -0
- package/dist/types/components/Resizable/types.d.ts +52 -0
- package/dist/types/components/Select/index.d.ts +3 -3
- package/dist/types/components/Skeleton/index.d.ts +36 -0
- package/dist/types/components/Skeleton/types.d.ts +12 -0
- package/dist/types/components/Tooltip/index.d.ts +3 -3
- package/dist/types/components/Validator/index.d.ts +52 -0
- package/dist/types/components/Validator/types.d.ts +13 -0
- package/dist/types/components/index.d.ts +8 -1
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useFocusController.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/pixelate.d.ts +10 -0
- package/dist/types/utils/style.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +3 -3
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/es/Pixelate-BPypBgJU.js +0 -67
- package/dist/es/utils-BS5vsvlM.js +0 -101
- /package/dist/{es/theme → theme}/Alert.css +0 -0
- /package/dist/{es/theme → theme}/Avatar.css +0 -0
- /package/dist/{es/theme → theme}/Breadcrumb.css +0 -0
- /package/dist/{es/theme → theme}/Card.css +0 -0
- /package/dist/{es/theme → theme}/Drawer.css +0 -0
- /package/dist/{es/theme → theme}/Form.css +0 -0
- /package/dist/{es/theme → theme}/Icon.css +0 -0
- /package/dist/{es/theme → theme}/Indicator.css +0 -0
- /package/dist/{es/theme → theme}/Link.css +0 -0
- /package/dist/{es/theme → theme}/Loading.css +0 -0
- /package/dist/{es/theme → theme}/Overlay.css +0 -0
- /package/dist/{es/theme → theme}/Popconfirm.css +0 -0
- /package/dist/{es/theme → theme}/Progress.css +0 -0
- /package/dist/{es/theme → theme}/Table.css +0 -0
- /package/dist/{es/theme → theme}/Tooltip.css +0 -0
- /package/dist/{es/theme → theme}/fonts/zpix.woff2 +0 -0
- /package/dist/{es/theme → theme}/index.css +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* Kbd Variables */
|
|
2
|
+
.px-kbd[data-v-fa07bd0e] {
|
|
3
|
+
--px-kbd-text-color: var(--px-text-color-primary);
|
|
4
|
+
--px-kbd-bg-color: var(--px-fill-color-blank);
|
|
5
|
+
--px-kbd-border-color: var(--px-border-color);
|
|
6
|
+
--px-kbd-shadow-color: var(--px-shadow-color);
|
|
7
|
+
--px-kbd-font-size: var(--px-font-size-extra-small);
|
|
8
|
+
--px-kbd-height: 24px;
|
|
9
|
+
--px-kbd-padding: 0 6px;
|
|
10
|
+
--px-kbd-inset-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.08);
|
|
11
|
+
--px-kbd-inset-highlight: inset -2px -2px 0 0 rgba(255, 255, 255, 0.15);
|
|
12
|
+
}
|
|
13
|
+
/* Base Kbd Styles - Pixel Keycap Aesthetic */
|
|
14
|
+
.px-kbd[data-v-fa07bd0e] {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 4px;
|
|
18
|
+
font-family: var(--px-font-family);
|
|
19
|
+
vertical-align: middle;
|
|
20
|
+
}
|
|
21
|
+
/* Individual key element */
|
|
22
|
+
.px-kbd__key[data-v-fa07bd0e] {
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
height: var(--px-kbd-height);
|
|
27
|
+
min-width: var(--px-kbd-height);
|
|
28
|
+
padding: var(--px-kbd-padding);
|
|
29
|
+
font-size: var(--px-kbd-font-size);
|
|
30
|
+
font-family: var(--px-font-family);
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
color: var(--px-kbd-text-color);
|
|
33
|
+
line-height: 1;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
position: relative;
|
|
37
|
+
background: transparent;
|
|
38
|
+
|
|
39
|
+
border: none;
|
|
40
|
+
|
|
41
|
+
/* Pixel shadow via drop-shadow */
|
|
42
|
+
filter: drop-shadow(2px 2px 0px var(--px-kbd-shadow-color));
|
|
43
|
+
|
|
44
|
+
transition: none;
|
|
45
|
+
}
|
|
46
|
+
/* Border layer — pixel shape with 2px staircase corners */
|
|
47
|
+
.px-kbd__key[data-v-fa07bd0e]::before {
|
|
48
|
+
content: '';
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset: 0;
|
|
51
|
+
background: var(--px-kbd-border-color);
|
|
52
|
+
clip-path: polygon(
|
|
53
|
+
0 2px, 2px 2px, 2px 0,
|
|
54
|
+
calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px,
|
|
55
|
+
100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%,
|
|
56
|
+
2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px)
|
|
57
|
+
);
|
|
58
|
+
z-index: -1;
|
|
59
|
+
}
|
|
60
|
+
/* Fill layer — sunken keycap bevel */
|
|
61
|
+
.px-kbd__key[data-v-fa07bd0e]::after {
|
|
62
|
+
content: '';
|
|
63
|
+
position: absolute;
|
|
64
|
+
inset: 2px;
|
|
65
|
+
background: var(--px-kbd-bg-color);
|
|
66
|
+
clip-path: polygon(
|
|
67
|
+
0 2px, 2px 2px, 2px 0,
|
|
68
|
+
calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px,
|
|
69
|
+
100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%,
|
|
70
|
+
2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px)
|
|
71
|
+
);
|
|
72
|
+
box-shadow: var(--px-kbd-inset-shadow), var(--px-kbd-inset-highlight);
|
|
73
|
+
z-index: -1;
|
|
74
|
+
}
|
|
75
|
+
/* Abbr element — remove default underline */
|
|
76
|
+
.px-kbd__abbr[data-v-fa07bd0e] {
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
position: relative;
|
|
79
|
+
z-index: 1;
|
|
80
|
+
}
|
|
81
|
+
/* Icon inside key */
|
|
82
|
+
.px-kbd__key .px-icon[data-v-fa07bd0e] {
|
|
83
|
+
position: relative;
|
|
84
|
+
z-index: 1;
|
|
85
|
+
}
|
|
86
|
+
/* Size variants */
|
|
87
|
+
.px-kbd--large[data-v-fa07bd0e] {
|
|
88
|
+
--px-kbd-height: 30px;
|
|
89
|
+
--px-kbd-padding: 0 10px;
|
|
90
|
+
--px-kbd-font-size: var(--px-font-size-base);
|
|
91
|
+
}
|
|
92
|
+
.px-kbd--small[data-v-fa07bd0e] {
|
|
93
|
+
--px-kbd-height: 20px;
|
|
94
|
+
--px-kbd-padding: 0 4px;
|
|
95
|
+
--px-kbd-font-size: 10px;
|
|
96
|
+
}
|
|
97
|
+
.px-kbd--small .px-kbd__key[data-v-fa07bd0e] {
|
|
98
|
+
filter: drop-shadow(1px 1px 0px var(--px-kbd-shadow-color));
|
|
99
|
+
}
|
|
100
|
+
/* Dark mode */
|
|
101
|
+
html.dark .px-kbd[data-v-fa07bd0e] {
|
|
102
|
+
--px-kbd-inset-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.2);
|
|
103
|
+
--px-kbd-inset-highlight: inset -2px -2px 0 0 rgba(255, 255, 255, 0.08);
|
|
104
|
+
}
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
.px-message.fade-up-enter-active,
|
|
291
291
|
.px-message.fade-up-leave-active {
|
|
292
292
|
transition: opacity 0.15s steps(3), transform 0.15s steps(3);
|
|
293
|
-
}
|
|
293
|
+
}
|
|
294
294
|
/* MessageBox Variables */
|
|
295
295
|
.px-message-box {
|
|
296
296
|
--px-message-box-title-color: var(--px-text-color-primary);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Notification Variables */
|
|
2
|
-
.px-notification[data-v-
|
|
2
|
+
.px-notification[data-v-5c4c1be5] {
|
|
3
3
|
--px-notification-width: 330px;
|
|
4
4
|
--px-notification-padding: 14px 20px;
|
|
5
5
|
--px-notification-border-color: var(--px-border-color);
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--px-notification-inset-shadow: inset -2px -2px 0 0 rgba(0, 0, 0, 0.08);
|
|
21
21
|
}
|
|
22
22
|
/* Base Notification Styles - Pixel Game Aesthetic */
|
|
23
|
-
.px-notification[data-v-
|
|
23
|
+
.px-notification[data-v-5c4c1be5] {
|
|
24
24
|
display: flex;
|
|
25
25
|
width: var(--px-notification-width);
|
|
26
26
|
padding: var(--px-notification-padding);
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
transition: none;
|
|
43
43
|
}
|
|
44
44
|
/* Border layer — 3-step staircase clip (8px corners) */
|
|
45
|
-
.px-notification[data-v-
|
|
45
|
+
.px-notification[data-v-5c4c1be5]::before {
|
|
46
46
|
content: '';
|
|
47
47
|
position: absolute;
|
|
48
48
|
inset: 0;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
z-index: 0;
|
|
57
57
|
}
|
|
58
58
|
/* Fill layer — 4px inset, 2-step staircase chamfer, beveled */
|
|
59
|
-
.px-notification[data-v-
|
|
59
|
+
.px-notification[data-v-5c4c1be5]::after {
|
|
60
60
|
content: '';
|
|
61
61
|
position: absolute;
|
|
62
62
|
inset: 4px;
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
box-shadow: var(--px-notification-inset-highlight), var(--px-notification-inset-shadow);
|
|
71
71
|
z-index: 0;
|
|
72
72
|
}
|
|
73
|
-
.px-notification.right[data-v-
|
|
73
|
+
.px-notification.right[data-v-5c4c1be5] {
|
|
74
74
|
right: 16px;
|
|
75
75
|
}
|
|
76
|
-
.px-notification.left[data-v-
|
|
76
|
+
.px-notification.left[data-v-5c4c1be5] {
|
|
77
77
|
left: 16px;
|
|
78
78
|
}
|
|
79
|
-
.px-notification .px-notification__text[data-v-
|
|
79
|
+
.px-notification .px-notification__text[data-v-5c4c1be5] {
|
|
80
80
|
position: relative;
|
|
81
81
|
z-index: 1;
|
|
82
82
|
margin: 0 10px;
|
|
83
83
|
flex: 1;
|
|
84
84
|
}
|
|
85
|
-
.px-notification .px-notification__icon[data-v-
|
|
85
|
+
.px-notification .px-notification__icon[data-v-5c4c1be5] {
|
|
86
86
|
position: relative;
|
|
87
87
|
z-index: 1;
|
|
88
88
|
height: var(--px-notification-icon-size);
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
color: var(--px-notification-icon-color);
|
|
92
92
|
flex-shrink: 0;
|
|
93
93
|
}
|
|
94
|
-
.px-notification .px-notification__title[data-v-
|
|
94
|
+
.px-notification .px-notification__title[data-v-5c4c1be5] {
|
|
95
95
|
position: relative;
|
|
96
96
|
z-index: 1;
|
|
97
97
|
font-weight: 500;
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
padding-bottom: 8px;
|
|
104
104
|
}
|
|
105
105
|
/* Pixel-dashed divider at bottom */
|
|
106
|
-
.px-notification .px-notification__title[data-v-
|
|
106
|
+
.px-notification .px-notification__title[data-v-5c4c1be5]::after {
|
|
107
107
|
content: "";
|
|
108
108
|
position: absolute;
|
|
109
109
|
bottom: 0;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
transparent 12px
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
|
-
.px-notification .px-notification__content[data-v-
|
|
121
|
+
.px-notification .px-notification__content[data-v-5c4c1be5] {
|
|
122
122
|
position: relative;
|
|
123
123
|
z-index: 1;
|
|
124
124
|
font-size: var(--px-notification-content-font-size);
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
color: var(--px-notification-content-color);
|
|
129
129
|
text-align: left;
|
|
130
130
|
}
|
|
131
|
-
.px-notification .px-notification__close[data-v-
|
|
131
|
+
.px-notification .px-notification__close[data-v-5c4c1be5] {
|
|
132
132
|
position: absolute;
|
|
133
133
|
top: 14px;
|
|
134
134
|
right: 14px;
|
|
@@ -138,61 +138,61 @@
|
|
|
138
138
|
z-index: 1;
|
|
139
139
|
transition: none;
|
|
140
140
|
}
|
|
141
|
-
.px-notification .px-notification__close .px-icon[data-v-
|
|
141
|
+
.px-notification .px-notification__close .px-icon[data-v-5c4c1be5] {
|
|
142
142
|
cursor: pointer;
|
|
143
143
|
transition: none;
|
|
144
144
|
}
|
|
145
|
-
.px-notification .px-notification__close .px-icon[data-v-
|
|
145
|
+
.px-notification .px-notification__close .px-icon[data-v-5c4c1be5]:hover {
|
|
146
146
|
color: var(--px-notification-close-hover-color);
|
|
147
147
|
transform: translate(-1px, -1px);
|
|
148
148
|
}
|
|
149
|
-
.px-notification .px-notification__close .px-icon[data-v-
|
|
149
|
+
.px-notification .px-notification__close .px-icon[data-v-5c4c1be5]:active {
|
|
150
150
|
transform: translate(1px, 1px);
|
|
151
151
|
}
|
|
152
152
|
/* Map error type to danger color palette so @each loops handle both */
|
|
153
|
-
.px-notification--error[data-v-
|
|
153
|
+
.px-notification--error[data-v-5c4c1be5] {
|
|
154
154
|
--px-color-error: var(--px-color-danger);
|
|
155
155
|
--px-color-error-dark: var(--px-color-danger-dark);
|
|
156
156
|
--px-color-error-light-5: var(--px-color-danger-light-5);
|
|
157
157
|
--px-color-error-light-9: var(--px-color-danger-light-9);
|
|
158
158
|
}
|
|
159
159
|
/* Type variants with colored borders and shadows */
|
|
160
|
-
.px-notification--info[data-v-
|
|
160
|
+
.px-notification--info[data-v-5c4c1be5] {
|
|
161
161
|
--px-notification-icon-color: var(--px-color-info);
|
|
162
162
|
--px-notification-border-color: var(--px-color-info);
|
|
163
163
|
--px-notification-shadow-color: var(--px-color-info-dark);
|
|
164
164
|
--px-notification-divider-color: var(--px-color-info-light-5, var(--px-color-info));
|
|
165
165
|
}
|
|
166
|
-
.px-notification--success[data-v-
|
|
166
|
+
.px-notification--success[data-v-5c4c1be5] {
|
|
167
167
|
--px-notification-icon-color: var(--px-color-success);
|
|
168
168
|
--px-notification-border-color: var(--px-color-success);
|
|
169
169
|
--px-notification-shadow-color: var(--px-color-success-dark);
|
|
170
170
|
--px-notification-divider-color: var(--px-color-success-light-5, var(--px-color-success));
|
|
171
171
|
}
|
|
172
|
-
.px-notification--warning[data-v-
|
|
172
|
+
.px-notification--warning[data-v-5c4c1be5] {
|
|
173
173
|
--px-notification-icon-color: var(--px-color-warning);
|
|
174
174
|
--px-notification-border-color: var(--px-color-warning);
|
|
175
175
|
--px-notification-shadow-color: var(--px-color-warning-dark);
|
|
176
176
|
--px-notification-divider-color: var(--px-color-warning-light-5, var(--px-color-warning));
|
|
177
177
|
}
|
|
178
|
-
.px-notification--danger[data-v-
|
|
178
|
+
.px-notification--danger[data-v-5c4c1be5] {
|
|
179
179
|
--px-notification-icon-color: var(--px-color-danger);
|
|
180
180
|
--px-notification-border-color: var(--px-color-danger);
|
|
181
181
|
--px-notification-shadow-color: var(--px-color-danger-dark);
|
|
182
182
|
--px-notification-divider-color: var(--px-color-danger-light-5, var(--px-color-danger));
|
|
183
183
|
}
|
|
184
|
-
.px-notification--error[data-v-
|
|
184
|
+
.px-notification--error[data-v-5c4c1be5] {
|
|
185
185
|
--px-notification-icon-color: var(--px-color-error);
|
|
186
186
|
--px-notification-border-color: var(--px-color-error);
|
|
187
187
|
--px-notification-shadow-color: var(--px-color-error-dark);
|
|
188
188
|
--px-notification-divider-color: var(--px-color-error-light-5, var(--px-color-error));
|
|
189
189
|
}
|
|
190
190
|
/* ─── Plain variant ─── */
|
|
191
|
-
.px-notification.is-plain[data-v-
|
|
191
|
+
.px-notification.is-plain[data-v-5c4c1be5] {
|
|
192
192
|
--px-notification-shadow-color: var(--px-border-color-light);
|
|
193
193
|
--px-notification-bg-color: var(--px-fill-color-blank);
|
|
194
194
|
}
|
|
195
|
-
.px-notification--info.is-plain[data-v-
|
|
195
|
+
.px-notification--info.is-plain[data-v-5c4c1be5] {
|
|
196
196
|
--px-notification-bg-color: var(--px-color-info-light-9);
|
|
197
197
|
--px-notification-border-color: var(--px-color-info-light-5, var(--px-color-info));
|
|
198
198
|
--px-notification-icon-color: var(--px-color-info);
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
--px-notification-shadow-color: var(--px-color-info-light-5, var(--px-color-info));
|
|
202
202
|
--px-notification-divider-color: var(--px-color-info-light-5, var(--px-color-info));
|
|
203
203
|
}
|
|
204
|
-
.px-notification--success.is-plain[data-v-
|
|
204
|
+
.px-notification--success.is-plain[data-v-5c4c1be5] {
|
|
205
205
|
--px-notification-bg-color: var(--px-color-success-light-9);
|
|
206
206
|
--px-notification-border-color: var(--px-color-success-light-5, var(--px-color-success));
|
|
207
207
|
--px-notification-icon-color: var(--px-color-success);
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
--px-notification-shadow-color: var(--px-color-success-light-5, var(--px-color-success));
|
|
211
211
|
--px-notification-divider-color: var(--px-color-success-light-5, var(--px-color-success));
|
|
212
212
|
}
|
|
213
|
-
.px-notification--warning.is-plain[data-v-
|
|
213
|
+
.px-notification--warning.is-plain[data-v-5c4c1be5] {
|
|
214
214
|
--px-notification-bg-color: var(--px-color-warning-light-9);
|
|
215
215
|
--px-notification-border-color: var(--px-color-warning-light-5, var(--px-color-warning));
|
|
216
216
|
--px-notification-icon-color: var(--px-color-warning);
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
--px-notification-shadow-color: var(--px-color-warning-light-5, var(--px-color-warning));
|
|
220
220
|
--px-notification-divider-color: var(--px-color-warning-light-5, var(--px-color-warning));
|
|
221
221
|
}
|
|
222
|
-
.px-notification--danger.is-plain[data-v-
|
|
222
|
+
.px-notification--danger.is-plain[data-v-5c4c1be5] {
|
|
223
223
|
--px-notification-bg-color: var(--px-color-danger-light-9);
|
|
224
224
|
--px-notification-border-color: var(--px-color-danger-light-5, var(--px-color-danger));
|
|
225
225
|
--px-notification-icon-color: var(--px-color-danger);
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
--px-notification-shadow-color: var(--px-color-danger-light-5, var(--px-color-danger));
|
|
229
229
|
--px-notification-divider-color: var(--px-color-danger-light-5, var(--px-color-danger));
|
|
230
230
|
}
|
|
231
|
-
.px-notification--error.is-plain[data-v-
|
|
231
|
+
.px-notification--error.is-plain[data-v-5c4c1be5] {
|
|
232
232
|
--px-notification-bg-color: var(--px-color-error-light-9);
|
|
233
233
|
--px-notification-border-color: var(--px-color-error-light-5, var(--px-color-error));
|
|
234
234
|
--px-notification-icon-color: var(--px-color-error);
|
|
@@ -238,40 +238,40 @@
|
|
|
238
238
|
--px-notification-divider-color: var(--px-color-error-light-5, var(--px-color-error));
|
|
239
239
|
}
|
|
240
240
|
/* ─── Ghost variant ─── */
|
|
241
|
-
.px-notification.is-ghost[data-v-
|
|
241
|
+
.px-notification.is-ghost[data-v-5c4c1be5] {
|
|
242
242
|
--px-notification-bg-color: var(--px-fill-color-blank);
|
|
243
243
|
--px-notification-shadow-color: transparent;
|
|
244
244
|
filter: none;
|
|
245
245
|
}
|
|
246
|
-
.px-notification.is-ghost[data-v-
|
|
246
|
+
.px-notification.is-ghost[data-v-5c4c1be5]::before, .px-notification.is-ghost[data-v-5c4c1be5]::after { display: none;
|
|
247
247
|
}
|
|
248
|
-
.px-notification--info.is-ghost[data-v-
|
|
248
|
+
.px-notification--info.is-ghost[data-v-5c4c1be5] {
|
|
249
249
|
--px-notification-icon-color: var(--px-color-info);
|
|
250
250
|
--px-notification-title-color: var(--px-color-info-dark);
|
|
251
251
|
--px-notification-content-color: var(--px-color-info);
|
|
252
252
|
}
|
|
253
|
-
.px-notification--success.is-ghost[data-v-
|
|
253
|
+
.px-notification--success.is-ghost[data-v-5c4c1be5] {
|
|
254
254
|
--px-notification-icon-color: var(--px-color-success);
|
|
255
255
|
--px-notification-title-color: var(--px-color-success-dark);
|
|
256
256
|
--px-notification-content-color: var(--px-color-success);
|
|
257
257
|
}
|
|
258
|
-
.px-notification--warning.is-ghost[data-v-
|
|
258
|
+
.px-notification--warning.is-ghost[data-v-5c4c1be5] {
|
|
259
259
|
--px-notification-icon-color: var(--px-color-warning);
|
|
260
260
|
--px-notification-title-color: var(--px-color-warning-dark);
|
|
261
261
|
--px-notification-content-color: var(--px-color-warning);
|
|
262
262
|
}
|
|
263
|
-
.px-notification--danger.is-ghost[data-v-
|
|
263
|
+
.px-notification--danger.is-ghost[data-v-5c4c1be5] {
|
|
264
264
|
--px-notification-icon-color: var(--px-color-danger);
|
|
265
265
|
--px-notification-title-color: var(--px-color-danger-dark);
|
|
266
266
|
--px-notification-content-color: var(--px-color-danger);
|
|
267
267
|
}
|
|
268
|
-
.px-notification--error.is-ghost[data-v-
|
|
268
|
+
.px-notification--error.is-ghost[data-v-5c4c1be5] {
|
|
269
269
|
--px-notification-icon-color: var(--px-color-error);
|
|
270
270
|
--px-notification-title-color: var(--px-color-error-dark);
|
|
271
271
|
--px-notification-content-color: var(--px-color-error);
|
|
272
272
|
}
|
|
273
273
|
/* ─── Timer bar ─── */
|
|
274
|
-
.px-notification__timer[data-v-
|
|
274
|
+
.px-notification__timer[data-v-5c4c1be5] {
|
|
275
275
|
position: absolute;
|
|
276
276
|
bottom: 4px;
|
|
277
277
|
left: 8px;
|
|
@@ -280,37 +280,37 @@
|
|
|
280
280
|
z-index: 1;
|
|
281
281
|
background: var(--px-notification-icon-color, var(--px-text-color-secondary));
|
|
282
282
|
opacity: 0.5;
|
|
283
|
-
animation: px-notification-timer-
|
|
283
|
+
animation: px-notification-timer-5c4c1be5 linear forwards;
|
|
284
284
|
transform-origin: left;
|
|
285
285
|
}
|
|
286
286
|
/* Pause timer bar animation when notification is hovered (matches JS timer pause) */
|
|
287
|
-
.px-notification:hover .px-notification__timer[data-v-
|
|
287
|
+
.px-notification:hover .px-notification__timer[data-v-5c4c1be5] {
|
|
288
288
|
animation-play-state: paused;
|
|
289
289
|
}
|
|
290
|
-
@keyframes px-notification-timer-
|
|
290
|
+
@keyframes px-notification-timer-5c4c1be5 {
|
|
291
291
|
0% { transform: scaleX(1);
|
|
292
292
|
}
|
|
293
293
|
100% { transform: scaleX(0);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
/* Dark mode — invert bevel highlights */
|
|
297
|
-
.px-dark .px-notification[data-v-
|
|
297
|
+
.px-dark .px-notification[data-v-5c4c1be5] {
|
|
298
298
|
--px-notification-inset-highlight: inset 2px 2px 0 0 rgba(255, 255, 255, 0.10);
|
|
299
299
|
--px-notification-inset-shadow: inset -2px -2px 0 0 rgba(0, 0, 0, 0.25);
|
|
300
300
|
}
|
|
301
301
|
/* Animation */
|
|
302
|
-
.px-notification-fade-enter-from.right[data-v-
|
|
302
|
+
.px-notification-fade-enter-from.right[data-v-5c4c1be5] {
|
|
303
303
|
right: 0;
|
|
304
304
|
transform: translateX(100%);
|
|
305
305
|
}
|
|
306
|
-
.px-notification-fade-enter-from.left[data-v-
|
|
306
|
+
.px-notification-fade-enter-from.left[data-v-5c4c1be5] {
|
|
307
307
|
left: 0;
|
|
308
308
|
transform: translateX(-100%);
|
|
309
309
|
}
|
|
310
|
-
.px-notification-fade-leave-to[data-v-
|
|
310
|
+
.px-notification-fade-leave-to[data-v-5c4c1be5] {
|
|
311
311
|
opacity: 0;
|
|
312
312
|
}
|
|
313
|
-
.px-notification-fade-enter-active[data-v-
|
|
314
|
-
.px-notification-fade-leave-active[data-v-
|
|
313
|
+
.px-notification-fade-enter-active[data-v-5c4c1be5],
|
|
314
|
+
.px-notification-fade-leave-active[data-v-5c4c1be5] {
|
|
315
315
|
transition: opacity 0.15s steps(3), transform 0.15s steps(3);
|
|
316
316
|
}
|