@sigx/zero-daisyui 0.2.0-beta.1 → 0.2.0-beta.2

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.
Files changed (50) hide show
  1. package/dist/lynx/components/accordion.css +160 -0
  2. package/dist/lynx/components/alert.css +160 -0
  3. package/dist/lynx/components/avatar.css +5 -0
  4. package/dist/lynx/components/breadcrumbs.css +200 -0
  5. package/dist/lynx/components/button.css +180 -0
  6. package/dist/lynx/components/card.css +52 -0
  7. package/dist/lynx/components/carousel.css +162 -2
  8. package/dist/lynx/components/chat.css +40 -0
  9. package/dist/lynx/components/checkbox.css +7 -0
  10. package/dist/lynx/components/collapsible.css +160 -0
  11. package/dist/lynx/components/combobox.css +21 -0
  12. package/dist/lynx/components/countdown.css +160 -0
  13. package/dist/lynx/components/dialog.css +34 -0
  14. package/dist/lynx/components/diff.css +181 -0
  15. package/dist/lynx/components/divider.css +8 -0
  16. package/dist/lynx/components/drawer.css +12 -1
  17. package/dist/lynx/components/field.css +180 -0
  18. package/dist/lynx/components/file-upload.css +202 -0
  19. package/dist/lynx/components/input.css +37 -0
  20. package/dist/lynx/components/kbd.css +1 -0
  21. package/dist/lynx/components/menu.css +10 -0
  22. package/dist/lynx/components/native-select.css +30 -0
  23. package/dist/lynx/components/number-input.css +37 -0
  24. package/dist/lynx/components/pagination.css +33 -0
  25. package/dist/lynx/components/popover.css +12 -0
  26. package/dist/lynx/components/progress.css +220 -0
  27. package/dist/lynx/components/radial-progress.css +62 -0
  28. package/dist/lynx/components/radio-group.css +10 -0
  29. package/dist/lynx/components/rating-group.css +240 -0
  30. package/dist/lynx/components/select.css +32 -0
  31. package/dist/lynx/components/skeleton.css +160 -0
  32. package/dist/lynx/components/slider.css +22 -0
  33. package/dist/lynx/components/spinner.css +18 -0
  34. package/dist/lynx/components/stats.css +40 -0
  35. package/dist/lynx/components/status.css +18 -0
  36. package/dist/lynx/components/steps.css +236 -0
  37. package/dist/lynx/components/swap.css +160 -0
  38. package/dist/lynx/components/switch.css +41 -0
  39. package/dist/lynx/components/table.css +201 -0
  40. package/dist/lynx/components/tabs.css +21 -0
  41. package/dist/lynx/components/textarea.css +25 -0
  42. package/dist/lynx/components/timeline.css +18 -0
  43. package/dist/lynx/components/toast.css +0 -1
  44. package/dist/lynx/components/tooltip.css +10 -0
  45. package/dist/lynx/index.css +3707 -79
  46. package/dist/lynx/manifest.json +2 -2
  47. package/dist/lynx/tokens.css +14 -0
  48. package/dist/manifest.json +1 -1
  49. package/dist/report.json +233 -2083
  50. package/package.json +4 -4
@@ -26,10 +26,50 @@
26
26
  font-size: var(--text-xs);
27
27
  }
28
28
 
29
+ .zx-root .zx-table__caption {
30
+ color: #07070899;
31
+ }
32
+
33
+ .zx-root.zx-theme-dark .zx-table__caption {
34
+ color: #767d8099;
35
+ }
36
+
37
+ .zx-root.zx-theme-dim .zx-table__caption {
38
+ color: #57656a99;
39
+ }
40
+
41
+ .zx-root.zx-theme-nord .zx-table__caption {
42
+ color: #12151b99;
43
+ }
44
+
45
+ .zx-root.zx-theme-sunset .zx-table__caption {
46
+ color: #4d5b6799;
47
+ }
48
+
29
49
  .zx-table__foot {
30
50
  font-size: var(--text-xs);
31
51
  }
32
52
 
53
+ .zx-root .zx-table__foot {
54
+ color: #07070899;
55
+ }
56
+
57
+ .zx-root.zx-theme-dark .zx-table__foot {
58
+ color: #767d8099;
59
+ }
60
+
61
+ .zx-root.zx-theme-dim .zx-table__foot {
62
+ color: #57656a99;
63
+ }
64
+
65
+ .zx-root.zx-theme-nord .zx-table__foot {
66
+ color: #12151b99;
67
+ }
68
+
69
+ .zx-root.zx-theme-sunset .zx-table__foot {
70
+ color: #4d5b6799;
71
+ }
72
+
33
73
  .zx-table__row {
34
74
  border-block-end: var(--border) solid var(--color-base-200);
35
75
  }
@@ -50,7 +90,168 @@
50
90
  text-align: start;
51
91
  }
52
92
 
93
+ .zx-root .zx-table__root.zx-a-color-primary {
94
+ --table-accent: #3f2bcb;
95
+ }
96
+
97
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-primary {
98
+ --table-accent: #6567ff;
99
+ }
100
+
101
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-primary {
102
+ --table-accent: #a0e791;
103
+ }
104
+
105
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-primary {
106
+ --table-accent: #5c7da6;
107
+ }
108
+
109
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-primary {
110
+ --table-accent: #fb8a62;
111
+ }
112
+
113
+ .zx-root .zx-table__root.zx-a-color-secondary {
114
+ --table-accent: #ad316f;
115
+ }
116
+
117
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-secondary {
118
+ --table-accent: #fa7cb6;
119
+ }
120
+
121
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-secondary {
122
+ --table-accent: #ed9984;
123
+ }
124
+
125
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-secondary {
126
+ --table-accent: #677e98;
127
+ }
128
+
129
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-secondary {
130
+ --table-accent: #e68aac;
131
+ }
132
+
133
+ .zx-root .zx-table__root.zx-a-color-accent {
134
+ --table-accent: #2b786d;
135
+ }
136
+
137
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-accent {
138
+ --table-accent: #93e5d9;
139
+ }
140
+
141
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-accent {
142
+ --table-accent: #bfade1;
143
+ }
144
+
145
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-accent {
146
+ --table-accent: #5e7d8c;
147
+ }
148
+
149
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-accent {
150
+ --table-accent: #ab9fe8;
151
+ }
152
+
153
+ .zx-root .zx-table__root.zx-a-color-neutral {
154
+ --table-accent: #121214;
155
+ }
156
+
157
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-neutral {
158
+ --table-accent: #878e92;
159
+ }
160
+
161
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-neutral {
162
+ --table-accent: #71828c;
163
+ }
164
+
165
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-neutral {
166
+ --table-accent: #3a4150;
167
+ }
168
+
169
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-neutral {
170
+ --table-accent: #667a8a;
171
+ }
172
+
173
+ .zx-root .zx-table__root.zx-a-color-info {
174
+ --table-accent: #2685b3;
175
+ }
176
+
177
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-info {
178
+ --table-accent: #70ceff;
179
+ }
180
+
181
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-info {
182
+ --table-accent: #6ce2f3;
183
+ }
184
+
185
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-info {
186
+ --table-accent: #89728a;
187
+ }
188
+
189
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-info {
190
+ --table-accent: #91d4e3;
191
+ }
192
+
193
+ .zx-root .zx-table__root.zx-a-color-success {
194
+ --table-accent: #2a7858;
195
+ }
196
+
197
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-success {
198
+ --table-accent: #92e5c2;
199
+ }
200
+
201
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-success {
202
+ --table-accent: #8ee0c9;
203
+ }
204
+
205
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-success {
206
+ --table-accent: #6b7d6a;
207
+ }
208
+
209
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-success {
210
+ --table-accent: #a6cebe;
211
+ }
212
+
213
+ .zx-root .zx-table__root.zx-a-color-warning {
214
+ --table-accent: #755a2b;
215
+ }
216
+
217
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-warning {
218
+ --table-accent: #f5ddac;
219
+ }
220
+
221
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-warning {
222
+ --table-accent: #cecfa6;
223
+ }
224
+
225
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-warning {
226
+ --table-accent: #7d7463;
227
+ }
228
+
229
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-warning {
230
+ --table-accent: #c5c1b7;
231
+ }
232
+
233
+ .zx-root .zx-table__root.zx-a-color-error {
234
+ --table-accent: #d9576d;
235
+ }
236
+
237
+ .zx-root.zx-theme-dark .zx-table__root.zx-a-color-error {
238
+ --table-accent: #ff7d90;
239
+ }
240
+
241
+ .zx-root.zx-theme-dim .zx-table__root.zx-a-color-error {
242
+ --table-accent: #f5b3a4;
243
+ }
244
+
245
+ .zx-root.zx-theme-nord .zx-table__root.zx-a-color-error {
246
+ --table-accent: #a85b64;
247
+ }
248
+
249
+ .zx-root.zx-theme-sunset .zx-table__root.zx-a-color-error {
250
+ --table-accent: #f2bbc0;
251
+ }
252
+
53
253
  .zx-table__root.zx-a-size-xs {
254
+ --table-pad-block: calc(var(--space-xs) / 2);
54
255
  --table-pad-inline: var(--space-xs);
55
256
  --table-font: var(--text-xs);
56
257
  }
@@ -20,10 +20,31 @@
20
20
  padding: var(--space-sm) var(--space-xl);
21
21
  font-size: var(--text-sm);
22
22
  font-weight: var(--weight-semibold);
23
+ border-radius: calc(var(--radius-field) - 0.25rem);
23
24
  cursor: pointer;
24
25
  transition: background var(--duration-normal) var(--ease-standard), color var(--duration-normal) var(--ease-standard);
25
26
  }
26
27
 
28
+ .zx-root .zx-tabs__tab {
29
+ color: #07070899;
30
+ }
31
+
32
+ .zx-root.zx-theme-dark .zx-tabs__tab {
33
+ color: #767d8099;
34
+ }
35
+
36
+ .zx-root.zx-theme-dim .zx-tabs__tab {
37
+ color: #57656a99;
38
+ }
39
+
40
+ .zx-root.zx-theme-nord .zx-tabs__tab {
41
+ color: #12151b99;
42
+ }
43
+
44
+ .zx-root.zx-theme-sunset .zx-tabs__tab {
45
+ color: #4d5b6799;
46
+ }
47
+
27
48
  .zx-tabs__tab.zx-s-active {
28
49
  background: var(--color-base-100);
29
50
  color: var(--color-base-content);
@@ -17,6 +17,26 @@
17
17
  opacity: var(--disabled-opacity);
18
18
  }
19
19
 
20
+ .zx-root .zx-textarea__label.zx-f-invalid {
21
+ color: #d9576d;
22
+ }
23
+
24
+ .zx-root.zx-theme-dark .zx-textarea__label.zx-f-invalid {
25
+ color: #ff7d90;
26
+ }
27
+
28
+ .zx-root.zx-theme-dim .zx-textarea__label.zx-f-invalid {
29
+ color: #f5b3a4;
30
+ }
31
+
32
+ .zx-root.zx-theme-nord .zx-textarea__label.zx-f-invalid {
33
+ color: #a85b64;
34
+ }
35
+
36
+ .zx-root.zx-theme-sunset .zx-textarea__label.zx-f-invalid {
37
+ color: #f2bbc0;
38
+ }
39
+
20
40
  .zx-textarea__textarea {
21
41
  box-sizing: border-box;
22
42
  height: auto;
@@ -25,6 +45,7 @@
25
45
  border-radius: var(--radius-field);
26
46
  box-shadow: var(--shadow-xs);
27
47
  display: block;
48
+ min-height: calc(calc(var(--size-field) * 12) * 2);
28
49
  width: 100%;
29
50
  min-width: 0;
30
51
  appearance: none;
@@ -85,20 +106,24 @@
85
106
 
86
107
  .zx-textarea__textarea.zx-a-size-xs {
87
108
  font-size: var(--text-xs);
109
+ min-height: calc(calc(var(--size-field) * 8) * 2);
88
110
  padding: var(--space-2xs) var(--space-xs);
89
111
  }
90
112
 
91
113
  .zx-textarea__textarea.zx-a-size-sm {
92
114
  font-size: var(--text-xs);
115
+ min-height: calc(calc(var(--size-field) * 10) * 2);
93
116
  padding: var(--space-xs) var(--space-sm);
94
117
  }
95
118
 
96
119
  .zx-textarea__textarea.zx-a-size-lg {
97
120
  font-size: var(--text-md);
121
+ min-height: calc(calc(var(--size-field) * 14) * 2);
98
122
  padding: var(--space-md) var(--space-lg);
99
123
  }
100
124
 
101
125
  .zx-textarea__textarea.zx-a-size-xl {
102
126
  font-size: var(--text-lg);
127
+ min-height: calc(calc(var(--size-field) * 16) * 2);
103
128
  padding: var(--space-lg) var(--space-xl);
104
129
  }
@@ -1,5 +1,6 @@
1
1
  .zx-timeline__root {
2
2
  --timeline-accent: var(--color-base-content);
3
+ --timeline-marker-size: calc(var(--size-selector) * 3);
3
4
  }
4
5
 
5
6
  .zx-timeline__root {
@@ -36,6 +37,7 @@
36
37
  box-sizing: border-box;
37
38
  border-radius: 9999px;
38
39
  background: var(--timeline-accent);
40
+ border: calc(var(--timeline-marker-size) / 2) solid var(--timeline-accent);
39
41
  display: flex;
40
42
  align-items: center;
41
43
  justify-content: center;
@@ -106,18 +108,34 @@
106
108
  --timeline-accent: var(--color-error);
107
109
  }
108
110
 
111
+ .zx-timeline__marker.zx-a-size-xs {
112
+ --timeline-marker-size: calc(var(--size-selector) * 2);
113
+ }
114
+
109
115
  .zx-timeline__content.zx-a-size-xs {
110
116
  font-size: var(--text-xs);
111
117
  }
112
118
 
119
+ .zx-timeline__marker.zx-a-size-sm {
120
+ --timeline-marker-size: calc(var(--size-selector) * 2.5);
121
+ }
122
+
113
123
  .zx-timeline__content.zx-a-size-sm {
114
124
  font-size: var(--text-xs);
115
125
  }
116
126
 
127
+ .zx-timeline__marker.zx-a-size-lg {
128
+ --timeline-marker-size: calc(var(--size-selector) * 3.5);
129
+ }
130
+
117
131
  .zx-timeline__content.zx-a-size-lg {
118
132
  font-size: var(--text-md);
119
133
  }
120
134
 
135
+ .zx-timeline__marker.zx-a-size-xl {
136
+ --timeline-marker-size: calc(var(--size-selector) * 4);
137
+ }
138
+
121
139
  .zx-timeline__content.zx-a-size-xl {
122
140
  font-size: var(--text-md);
123
141
  }
@@ -12,7 +12,6 @@
12
12
  border: none;
13
13
  background: transparent;
14
14
  overflow: visible;
15
- width: min(24rem, 100vw);
16
15
  list-style: none;
17
16
  flex-direction: column;
18
17
  gap: var(--space-sm);
@@ -4,6 +4,8 @@
4
4
  align-items: center;
5
5
  justify-content: center;
6
6
  gap: 0.5em;
7
+ height: calc(var(--size-field) * 12);
8
+ padding-inline: calc(var(--size-field) * 4);
7
9
  font-size: var(--text-sm);
8
10
  font-weight: var(--weight-semibold);
9
11
  color: var(--color-base-content);
@@ -137,17 +139,25 @@
137
139
  }
138
140
 
139
141
  .zx-tooltip__trigger.zx-a-size-xs {
142
+ height: calc(var(--size-field) * 8);
143
+ padding-inline: calc(var(--size-field) * 2);
140
144
  font-size: var(--text-xs);
141
145
  }
142
146
 
143
147
  .zx-tooltip__trigger.zx-a-size-sm {
148
+ height: calc(var(--size-field) * 10);
149
+ padding-inline: calc(var(--size-field) * 3);
144
150
  font-size: var(--text-sm);
145
151
  }
146
152
 
147
153
  .zx-tooltip__trigger.zx-a-size-lg {
154
+ height: calc(var(--size-field) * 14);
155
+ padding-inline: calc(var(--size-field) * 5);
148
156
  font-size: var(--text-md);
149
157
  }
150
158
 
151
159
  .zx-tooltip__trigger.zx-a-size-xl {
160
+ height: calc(var(--size-field) * 16);
161
+ padding-inline: calc(var(--size-field) * 6);
152
162
  font-size: var(--text-lg);
153
163
  }