@sigx/zero-daisyui 0.12.0 → 0.14.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/dist/audit.json +60 -0
- package/dist/css/components/combobox.css +7 -1
- package/dist/css/components/spinner.css +5 -5
- package/dist/css/index.css +12 -6
- package/dist/lynx/components/alert.css +42 -6
- package/dist/lynx/components/avatar-group.css +13 -1
- package/dist/lynx/components/avatar.css +56 -1
- package/dist/lynx/components/badge.css +209 -4
- package/dist/lynx/components/card.css +12 -1
- package/dist/lynx/components/checkbox.css +40 -9
- package/dist/lynx/components/combobox.css +7 -1
- package/dist/lynx/components/divider.css +45 -0
- package/dist/lynx/components/empty-state.css +7 -1
- package/dist/lynx/components/kbd.css +15 -1
- package/dist/lynx/components/number-input.css +20 -0
- package/dist/lynx/components/radio-group.css +0 -1
- package/dist/lynx/components/skeleton.css +1 -1
- package/dist/lynx/components/spinner.css +32 -12
- package/dist/lynx/components/stats.css +39 -3
- package/dist/lynx/components/status.css +197 -1
- package/dist/lynx/components/textarea.css +9 -6
- package/dist/lynx/components/toast.css +328 -15
- package/dist/lynx/components/toggle-group.css +18 -5
- package/dist/lynx/index.css +1095 -80
- package/dist/lynx/manifest.json +3 -3
- package/dist/lynx/tokens.css +0 -6
- package/dist/manifest.json +1 -1
- package/dist/recipes.d.ts +6 -1
- package/dist/recipes.d.ts.map +1 -1
- package/dist/recipes.js +821 -34
- package/dist/recipes.js.map +1 -1
- package/dist/report.json +92 -61
- package/package.json +4 -4
- package/src/recipes.ts +825 -34
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
border: var(--border) solid var(--color-base-200);
|
|
9
9
|
border-radius: var(--radius-box);
|
|
10
10
|
background: var(--color-base-100);
|
|
11
|
+
flex-direction: row;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
.zx-stats__root.zx-o-vertical {
|
|
@@ -15,12 +16,31 @@
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.zx-stats__item {
|
|
18
|
-
display:
|
|
19
|
+
display: flex;
|
|
19
20
|
grid-template-columns: 1fr auto;
|
|
20
21
|
column-gap: var(--space-md);
|
|
21
22
|
align-content: center;
|
|
22
23
|
flex: 1 1 0%;
|
|
23
|
-
padding:
|
|
24
|
+
padding: 0;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
position: relative;
|
|
28
|
+
padding-top: var(--space-lg);
|
|
29
|
+
padding-bottom: var(--space-lg);
|
|
30
|
+
padding-left: var(--space-xl);
|
|
31
|
+
padding-right: var(--space-xl);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.zx-stats__item.zx-o-horizontal {
|
|
35
|
+
border-left-width: var(--border);
|
|
36
|
+
border-left-style: solid;
|
|
37
|
+
border-left-color: var(--color-base-200);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.zx-stats__item.zx-o-vertical {
|
|
41
|
+
border-top-width: var(--border);
|
|
42
|
+
border-top-style: solid;
|
|
43
|
+
border-top-color: var(--color-base-200);
|
|
24
44
|
}
|
|
25
45
|
|
|
26
46
|
.zx-stats__title {
|
|
@@ -85,7 +105,14 @@
|
|
|
85
105
|
.zx-stats__figure {
|
|
86
106
|
grid-column: 2;
|
|
87
107
|
grid-row: 1 / span 3;
|
|
88
|
-
align-self:
|
|
108
|
+
align-self: auto;
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: 0;
|
|
111
|
+
bottom: 0;
|
|
112
|
+
right: var(--space-xl);
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
justify-content: center;
|
|
89
116
|
}
|
|
90
117
|
|
|
91
118
|
.zx-root .zx-stats__item.zx-a-color-primary {
|
|
@@ -263,3 +290,12 @@
|
|
|
263
290
|
.zx-stats__value.zx-a-size-xl {
|
|
264
291
|
font-size: var(--text-3xl);
|
|
265
292
|
}
|
|
293
|
+
.zx-stats__item.zx-m-first.zx-o-horizontal {
|
|
294
|
+
border-left-width: calc(var(--border) * 0);
|
|
295
|
+
}
|
|
296
|
+
.zx-stats__item.zx-m-first.zx-o-vertical {
|
|
297
|
+
border-top-width: calc(var(--border) * 0);
|
|
298
|
+
}
|
|
299
|
+
.zx-stats__item.zx-m-figure {
|
|
300
|
+
padding-right: calc(var(--space-xl) + var(--space-md) + 32px);
|
|
301
|
+
}
|
|
@@ -2,8 +2,28 @@
|
|
|
2
2
|
--status-ink: var(--color-base-content);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.zx-root .zx-status__root {
|
|
6
|
+
--status-halo: #18181b40;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.zx-root.zx-theme-dark .zx-status__root {
|
|
10
|
+
--status-halo: #ecf9ff40;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.zx-root.zx-theme-dim .zx-status__root {
|
|
14
|
+
--status-halo: #b2ccd640;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.zx-root.zx-theme-nord .zx-status__root {
|
|
18
|
+
--status-halo: #2e344040;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.zx-root.zx-theme-sunset .zx-status__root {
|
|
22
|
+
--status-halo: #9fb9d040;
|
|
23
|
+
}
|
|
24
|
+
|
|
5
25
|
.zx-status__root {
|
|
6
|
-
display:
|
|
26
|
+
display: flex;
|
|
7
27
|
inline-size: calc(var(--size-selector) * 2.5);
|
|
8
28
|
block-size: calc(var(--size-selector) * 2.5);
|
|
9
29
|
box-sizing: border-box;
|
|
@@ -11,60 +31,236 @@
|
|
|
11
31
|
background: var(--status-ink);
|
|
12
32
|
border: calc((var(--size-selector) * 2.5) / 2) solid var(--status-ink);
|
|
13
33
|
border-radius: 9999px;
|
|
34
|
+
box-shadow: 0 0 0 calc((var(--size-selector) * 2.5) / 4) var(--status-halo);
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
width: calc(var(--size-selector) * 2.5);
|
|
37
|
+
height: calc(var(--size-selector) * 2.5);
|
|
14
38
|
}
|
|
15
39
|
|
|
16
40
|
.zx-status__root.zx-a-size-xs {
|
|
17
41
|
inline-size: calc(var(--size-selector) * 1.5);
|
|
18
42
|
block-size: calc(var(--size-selector) * 1.5);
|
|
19
43
|
border: calc((var(--size-selector) * 1.5) / 2) solid var(--status-ink);
|
|
44
|
+
box-shadow: 0 0 0 calc((var(--size-selector) * 1.5) / 4) var(--status-halo);
|
|
45
|
+
width: calc(var(--size-selector) * 1.5);
|
|
46
|
+
height: calc(var(--size-selector) * 1.5);
|
|
20
47
|
}
|
|
21
48
|
|
|
22
49
|
.zx-status__root.zx-a-size-sm {
|
|
23
50
|
inline-size: calc(var(--size-selector) * 2);
|
|
24
51
|
block-size: calc(var(--size-selector) * 2);
|
|
25
52
|
border: calc((var(--size-selector) * 2) / 2) solid var(--status-ink);
|
|
53
|
+
box-shadow: 0 0 0 calc((var(--size-selector) * 2) / 4) var(--status-halo);
|
|
54
|
+
width: calc(var(--size-selector) * 2);
|
|
55
|
+
height: calc(var(--size-selector) * 2);
|
|
26
56
|
}
|
|
27
57
|
|
|
28
58
|
.zx-status__root.zx-a-size-lg {
|
|
29
59
|
inline-size: calc(var(--size-selector) * 3);
|
|
30
60
|
block-size: calc(var(--size-selector) * 3);
|
|
31
61
|
border: calc((var(--size-selector) * 3) / 2) solid var(--status-ink);
|
|
62
|
+
box-shadow: 0 0 0 calc((var(--size-selector) * 3) / 4) var(--status-halo);
|
|
63
|
+
width: calc(var(--size-selector) * 3);
|
|
64
|
+
height: calc(var(--size-selector) * 3);
|
|
32
65
|
}
|
|
33
66
|
|
|
34
67
|
.zx-status__root.zx-a-size-xl {
|
|
35
68
|
inline-size: calc(var(--size-selector) * 3.5);
|
|
36
69
|
block-size: calc(var(--size-selector) * 3.5);
|
|
37
70
|
border: calc((var(--size-selector) * 3.5) / 2) solid var(--status-ink);
|
|
71
|
+
box-shadow: 0 0 0 calc((var(--size-selector) * 3.5) / 4) var(--status-halo);
|
|
72
|
+
width: calc(var(--size-selector) * 3.5);
|
|
73
|
+
height: calc(var(--size-selector) * 3.5);
|
|
38
74
|
}
|
|
39
75
|
|
|
40
76
|
.zx-status__root.zx-a-color-primary {
|
|
41
77
|
--status-ink: var(--color-primary);
|
|
42
78
|
}
|
|
43
79
|
|
|
80
|
+
.zx-root .zx-status__root.zx-a-color-primary {
|
|
81
|
+
--status-halo: #422ad540;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-primary {
|
|
85
|
+
--status-halo: #605dff40;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-primary {
|
|
89
|
+
--status-halo: #9fe88d40;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-primary {
|
|
93
|
+
--status-halo: #5e81ac40;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-primary {
|
|
97
|
+
--status-halo: #ff865b40;
|
|
98
|
+
}
|
|
99
|
+
|
|
44
100
|
.zx-status__root.zx-a-color-secondary {
|
|
45
101
|
--status-ink: var(--color-secondary);
|
|
46
102
|
}
|
|
47
103
|
|
|
104
|
+
.zx-root .zx-status__root.zx-a-color-secondary {
|
|
105
|
+
--status-halo: #f4309840;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-secondary {
|
|
109
|
+
--status-halo: #f4309840;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-secondary {
|
|
113
|
+
--status-halo: #ff7d5d40;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-secondary {
|
|
117
|
+
--status-halo: #81a1c140;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-secondary {
|
|
121
|
+
--status-halo: #fd6f9c40;
|
|
122
|
+
}
|
|
123
|
+
|
|
48
124
|
.zx-status__root.zx-a-color-accent {
|
|
49
125
|
--status-ink: var(--color-accent);
|
|
50
126
|
}
|
|
51
127
|
|
|
128
|
+
.zx-root .zx-status__root.zx-a-color-accent {
|
|
129
|
+
--status-halo: #00d3bb40;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-accent {
|
|
133
|
+
--status-halo: #00d3bb40;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-accent {
|
|
137
|
+
--status-halo: #c792e940;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-accent {
|
|
141
|
+
--status-halo: #88c0d040;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-accent {
|
|
145
|
+
--status-halo: #b387fa40;
|
|
146
|
+
}
|
|
147
|
+
|
|
52
148
|
.zx-status__root.zx-a-color-neutral {
|
|
53
149
|
--status-ink: var(--color-neutral);
|
|
54
150
|
}
|
|
55
151
|
|
|
152
|
+
.zx-root .zx-status__root.zx-a-color-neutral {
|
|
153
|
+
--status-halo: #09090b40;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-neutral {
|
|
157
|
+
--status-halo: #09090b40;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-neutral {
|
|
161
|
+
--status-halo: #1c212b40;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-neutral {
|
|
165
|
+
--status-halo: #4c566a40;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-neutral {
|
|
169
|
+
--status-halo: #1b262c40;
|
|
170
|
+
}
|
|
171
|
+
|
|
56
172
|
.zx-status__root.zx-a-color-info {
|
|
57
173
|
--status-ink: var(--color-info);
|
|
58
174
|
}
|
|
59
175
|
|
|
176
|
+
.zx-root .zx-status__root.zx-a-color-info {
|
|
177
|
+
--status-halo: #00bafe40;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-info {
|
|
181
|
+
--status-halo: #00bafe40;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-info {
|
|
185
|
+
--status-halo: #28ebff40;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-info {
|
|
189
|
+
--status-halo: #b48ead40;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-info {
|
|
193
|
+
--status-halo: #89e0eb40;
|
|
194
|
+
}
|
|
195
|
+
|
|
60
196
|
.zx-status__root.zx-a-color-success {
|
|
61
197
|
--status-ink: var(--color-success);
|
|
62
198
|
}
|
|
63
199
|
|
|
200
|
+
.zx-root .zx-status__root.zx-a-color-success {
|
|
201
|
+
--status-halo: #00d39040;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-success {
|
|
205
|
+
--status-halo: #00d39040;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-success {
|
|
209
|
+
--status-halo: #62efbd40;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-success {
|
|
213
|
+
--status-halo: #a3be8d40;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-success {
|
|
217
|
+
--status-halo: #addfad40;
|
|
218
|
+
}
|
|
219
|
+
|
|
64
220
|
.zx-status__root.zx-a-color-warning {
|
|
65
221
|
--status-ink: var(--color-warning);
|
|
66
222
|
}
|
|
67
223
|
|
|
224
|
+
.zx-root .zx-status__root.zx-a-color-warning {
|
|
225
|
+
--status-halo: #fcb70040;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-warning {
|
|
229
|
+
--status-halo: #fcb70040;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-warning {
|
|
233
|
+
--status-halo: #efd05740;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-warning {
|
|
237
|
+
--status-halo: #ebcb8b40;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-warning {
|
|
241
|
+
--status-halo: #f1c89240;
|
|
242
|
+
}
|
|
243
|
+
|
|
68
244
|
.zx-status__root.zx-a-color-error {
|
|
69
245
|
--status-ink: var(--color-error);
|
|
70
246
|
}
|
|
247
|
+
|
|
248
|
+
.zx-root .zx-status__root.zx-a-color-error {
|
|
249
|
+
--status-halo: #ff627d40;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.zx-root.zx-theme-dark .zx-status__root.zx-a-color-error {
|
|
253
|
+
--status-halo: #ff627d40;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.zx-root.zx-theme-dim .zx-status__root.zx-a-color-error {
|
|
257
|
+
--status-halo: #ffae9b40;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.zx-root.zx-theme-nord .zx-status__root.zx-a-color-error {
|
|
261
|
+
--status-halo: #bf616a40;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.zx-root.zx-theme-sunset .zx-status__root.zx-a-color-error {
|
|
265
|
+
--status-halo: #ffbbbd40;
|
|
266
|
+
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
border-radius: var(--radius-field);
|
|
46
46
|
box-shadow: var(--shadow-xs);
|
|
47
47
|
display: block;
|
|
48
|
-
min-height: calc(
|
|
48
|
+
min-height: calc(var(--size-field) * 24);
|
|
49
49
|
width: 100%;
|
|
50
50
|
min-width: 0;
|
|
51
51
|
appearance: none;
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
padding: var(--space-sm) var(--space-md);
|
|
57
57
|
resize: vertical;
|
|
58
58
|
transition: border-color var(--duration-fast) var(--ease-standard);
|
|
59
|
+
--textarea-edge: var(--color-base-300);
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
.zx-root .zx-textarea__textarea {
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
.zx-textarea__textarea.zx-f-invalid {
|
|
82
83
|
border-color: var(--color-error);
|
|
84
|
+
--textarea-edge: var(--color-error);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
.zx-textarea__textarea.zx-f-disabled {
|
|
@@ -90,7 +92,8 @@
|
|
|
90
92
|
.zx-textarea__textarea.zx-f-focus-visible {
|
|
91
93
|
outline: none;
|
|
92
94
|
outline-offset: 2px;
|
|
93
|
-
|
|
95
|
+
border-color: var(--color-base-100);
|
|
96
|
+
box-shadow: 0 0 0 2px var(--textarea-accent), inset 0 0 0 1px var(--color-base-100), inset 0 0 0 2px var(--textarea-edge);
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
.zx-textarea__root.zx-a-color-primary {
|
|
@@ -127,24 +130,24 @@
|
|
|
127
130
|
|
|
128
131
|
.zx-textarea__textarea.zx-a-size-xs {
|
|
129
132
|
font-size: var(--text-xs);
|
|
130
|
-
min-height: calc(
|
|
133
|
+
min-height: calc(var(--size-field) * 16);
|
|
131
134
|
padding: var(--space-2xs) var(--space-xs);
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
.zx-textarea__textarea.zx-a-size-sm {
|
|
135
138
|
font-size: var(--text-xs);
|
|
136
|
-
min-height: calc(
|
|
139
|
+
min-height: calc(var(--size-field) * 20);
|
|
137
140
|
padding: var(--space-xs) var(--space-sm);
|
|
138
141
|
}
|
|
139
142
|
|
|
140
143
|
.zx-textarea__textarea.zx-a-size-lg {
|
|
141
144
|
font-size: var(--text-md);
|
|
142
|
-
min-height: calc(
|
|
145
|
+
min-height: calc(var(--size-field) * 28);
|
|
143
146
|
padding: var(--space-md) var(--space-lg);
|
|
144
147
|
}
|
|
145
148
|
|
|
146
149
|
.zx-textarea__textarea.zx-a-size-xl {
|
|
147
150
|
font-size: var(--text-lg);
|
|
148
|
-
min-height: calc(
|
|
151
|
+
min-height: calc(var(--size-field) * 32);
|
|
149
152
|
padding: var(--space-lg) var(--space-xl);
|
|
150
153
|
}
|