@sigx/zero-daisyui 0.2.0-beta.6 → 0.3.0-beta.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 +78 -5
- package/dist/audit.json +271915 -0
- package/dist/components.d.ts +75 -18
- package/dist/components.js +15 -3
- package/dist/css/breakpoints.css +7 -0
- package/dist/css/components/avatar.css +12 -0
- package/dist/css/components/badge.css +130 -1
- package/dist/css/components/box.css +58 -0
- package/dist/css/components/button.css +17 -17
- package/dist/css/components/center.css +17 -0
- package/dist/css/components/checkbox.css +1 -1
- package/dist/css/components/combobox.css +57 -6
- package/dist/css/components/container.css +16 -0
- package/dist/css/components/countdown.css +5 -0
- package/dist/css/components/dialog.css +3 -2
- package/dist/css/components/drawer.css +102 -6
- package/dist/css/components/empty-state.css +164 -0
- package/dist/css/components/grid.css +32 -0
- package/dist/css/components/kbd.css +1 -1
- package/dist/css/components/menu.css +4 -4
- package/dist/css/components/nav-list.css +165 -0
- package/dist/css/components/radio-group.css +2 -2
- package/dist/css/components/select.css +1 -1
- package/dist/css/components/spacer.css +13 -0
- package/dist/css/components/stack.css +39 -0
- package/dist/css/components/steps.css +109 -28
- package/dist/css/components/table.css +276 -2
- package/dist/css/components/timeline.css +64 -1
- package/dist/css/components/tree-view.css +2 -2
- package/dist/css/index.css +2220 -279
- package/dist/css/index.d.ts +2 -0
- package/dist/css/tokens.css +9 -0
- package/dist/design-system.d.ts.map +1 -1
- package/dist/design-system.js +15 -8
- package/dist/design-system.js.map +1 -1
- package/dist/lynx/components/avatar.css +12 -0
- package/dist/lynx/components/badge.css +56 -1
- package/dist/lynx/components/box.css +54 -0
- package/dist/lynx/components/breadcrumbs.css +10 -10
- package/dist/lynx/components/button.css +15 -4
- package/dist/lynx/components/card.css +5 -5
- package/dist/lynx/components/center.css +13 -0
- package/dist/lynx/components/chat.css +10 -10
- package/dist/lynx/components/checkbox.css +1 -1
- package/dist/lynx/components/combobox.css +49 -6
- package/dist/lynx/components/container.css +11 -0
- package/dist/lynx/components/countdown.css +5 -0
- package/dist/lynx/components/dialog.css +8 -7
- package/dist/lynx/components/drawer.css +18 -0
- package/dist/lynx/components/empty-state.css +342 -0
- package/dist/lynx/components/file-upload.css +10 -10
- package/dist/lynx/components/grid.css +28 -0
- package/dist/lynx/components/kbd.css +1 -1
- package/dist/lynx/components/menu.css +4 -4
- package/dist/lynx/components/nav-list.css +302 -0
- package/dist/lynx/components/pagination.css +5 -5
- package/dist/lynx/components/radial-progress.css +5 -5
- package/dist/lynx/components/radio-group.css +2 -2
- package/dist/lynx/components/rating-group.css +5 -5
- package/dist/lynx/components/select.css +6 -6
- package/dist/lynx/components/spacer.css +11 -0
- package/dist/lynx/components/stack.css +35 -0
- package/dist/lynx/components/stats.css +10 -10
- package/dist/lynx/components/steps.css +99 -59
- package/dist/lynx/components/switch.css +5 -5
- package/dist/lynx/components/table.css +18 -12
- package/dist/lynx/components/tabs.css +5 -5
- package/dist/lynx/components/timeline.css +14 -5
- package/dist/lynx/components/tree-view.css +2 -2
- package/dist/lynx/index.css +1254 -345
- package/dist/lynx/manifest.json +354 -37
- package/dist/lynx/tokens.css +36 -0
- package/dist/manifest.json +351 -34
- package/dist/recipes.d.ts +17 -10
- package/dist/recipes.d.ts.map +1 -1
- package/dist/recipes.js +582 -173
- package/dist/recipes.js.map +1 -1
- package/dist/register.d.ts +89 -14
- package/dist/report.json +2476 -564
- package/dist/tokens.d.ts +22 -11
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +57 -7
- package/dist/tokens.js.map +1 -1
- package/package.json +28 -10
- package/src/design-system.ts +15 -8
- package/src/recipes.ts +594 -177
- package/src/tokens.ts +54 -7
- package/dist/css/components/native-select.css +0 -128
- package/dist/lynx/components/native-select.css +0 -130
package/dist/register.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
declare module '@sigx/zero' {
|
|
6
6
|
interface ZeroVocabulary {
|
|
7
7
|
theme: 'light' | 'dark' | 'dim' | 'nord' | 'sunset';
|
|
8
|
-
breakpoint:
|
|
9
|
-
property: '--border' | '--color-accent' | '--color-accent-content' | '--color-accent-soft' | '--color-base-100' | '--color-base-200' | '--color-base-300' | '--color-base-content' | '--color-error' | '--color-error-content' | '--color-error-soft' | '--color-info' | '--color-info-content' | '--color-info-soft' | '--color-neutral' | '--color-neutral-content' | '--color-neutral-soft' | '--color-primary' | '--color-primary-content' | '--color-primary-soft' | '--color-secondary' | '--color-secondary-content' | '--color-secondary-soft' | '--color-success' | '--color-success-content' | '--color-success-soft' | '--color-warning' | '--color-warning-content' | '--color-warning-soft' | '--depth' | '--depth-shade' | '--depth-sheen' | '--disabled-opacity' | '--duration-fast' | '--duration-instant' | '--duration-normal' | '--duration-slow' | '--ease-standard' | '--font-mono' | '--font-sans' | '--fx-noise' | '--leading-none' | '--leading-normal' | '--leading-tight' | '--noise' | '--radius-box' | '--radius-field' | '--radius-selector' | '--shadow-lg' | '--shadow-md' | '--shadow-sm' | '--shadow-xl' | '--shadow-xs' | '--size-field' | '--size-selector' | '--space-2xl' | '--space-2xs' | '--space-lg' | '--space-md' | '--space-sm' | '--space-xl' | '--space-xs' | '--tracking-normal' | '--tracking-wide' | '--weight-bold' | '--weight-medium' | '--weight-normal' | '--weight-semibold';
|
|
8
|
+
breakpoint: 'sm' | 'md' | 'lg';
|
|
9
|
+
property: '--border' | '--breakpoint-lg' | '--breakpoint-md' | '--breakpoint-sm' | '--color-accent' | '--color-accent-content' | '--color-accent-soft' | '--color-base-100' | '--color-base-200' | '--color-base-300' | '--color-base-content' | '--color-error' | '--color-error-content' | '--color-error-soft' | '--color-info' | '--color-info-content' | '--color-info-soft' | '--color-neutral' | '--color-neutral-content' | '--color-neutral-soft' | '--color-primary' | '--color-primary-content' | '--color-primary-soft' | '--color-secondary' | '--color-secondary-content' | '--color-secondary-soft' | '--color-success' | '--color-success-content' | '--color-success-soft' | '--color-warning' | '--color-warning-content' | '--color-warning-soft' | '--depth' | '--depth-shade' | '--depth-sheen' | '--disabled-opacity' | '--duration-fast' | '--duration-instant' | '--duration-normal' | '--duration-slow' | '--ease-standard' | '--font-mono' | '--font-sans' | '--fx-noise' | '--leading-none' | '--leading-normal' | '--leading-tight' | '--measure-lg' | '--measure-md' | '--measure-prose' | '--measure-sm' | '--measure-xl' | '--measure-xs' | '--noise' | '--radius-box' | '--radius-field' | '--radius-selector' | '--shadow-lg' | '--shadow-md' | '--shadow-sm' | '--shadow-xl' | '--shadow-xs' | '--size-field' | '--size-selector' | '--space-2xl' | '--space-2xs' | '--space-lg' | '--space-md' | '--space-sm' | '--space-xl' | '--space-xs' | '--tracking-normal' | '--tracking-wide' | '--weight-bold' | '--weight-medium' | '--weight-normal' | '--weight-semibold';
|
|
10
10
|
tokens: {
|
|
11
11
|
radius: 'selector' | 'field' | 'box';
|
|
12
12
|
size: 'selector' | 'field';
|
|
@@ -16,11 +16,77 @@ declare module '@sigx/zero' {
|
|
|
16
16
|
leading: 'none' | 'tight' | 'normal' | 'relaxed';
|
|
17
17
|
tracking: 'tight' | 'normal' | 'wide';
|
|
18
18
|
space: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
19
|
+
measure: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'prose';
|
|
19
20
|
shadow: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20
21
|
duration: 'instant' | 'fast' | 'normal' | 'slow';
|
|
21
22
|
ease: 'linear' | 'standard' | 'emphasized';
|
|
22
23
|
};
|
|
23
24
|
components: {
|
|
25
|
+
/** stack — no axis wired by daisyui; every axis errors under this register module. */
|
|
26
|
+
'stack': {
|
|
27
|
+
/** Accepts `color` at runtime, but daisyui declares no color axis for stack — the attribute would match nothing. */
|
|
28
|
+
color: never;
|
|
29
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for stack — the attribute would match nothing. */
|
|
30
|
+
size: never;
|
|
31
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for stack — the attribute would match nothing. */
|
|
32
|
+
variant: never;
|
|
33
|
+
axes: Record<string, never>;
|
|
34
|
+
mods: Record<string, never>;
|
|
35
|
+
};
|
|
36
|
+
/** spacer — no axis wired by daisyui; every axis errors under this register module. */
|
|
37
|
+
'spacer': {
|
|
38
|
+
/** Accepts `color` at runtime, but daisyui declares no color axis for spacer — the attribute would match nothing. */
|
|
39
|
+
color: never;
|
|
40
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for spacer — the attribute would match nothing. */
|
|
41
|
+
size: never;
|
|
42
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for spacer — the attribute would match nothing. */
|
|
43
|
+
variant: never;
|
|
44
|
+
axes: Record<string, never>;
|
|
45
|
+
mods: Record<string, never>;
|
|
46
|
+
};
|
|
47
|
+
/** grid — no axis wired by daisyui; every axis errors under this register module. */
|
|
48
|
+
'grid': {
|
|
49
|
+
/** Accepts `color` at runtime, but daisyui declares no color axis for grid — the attribute would match nothing. */
|
|
50
|
+
color: never;
|
|
51
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for grid — the attribute would match nothing. */
|
|
52
|
+
size: never;
|
|
53
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for grid — the attribute would match nothing. */
|
|
54
|
+
variant: never;
|
|
55
|
+
axes: Record<string, never>;
|
|
56
|
+
mods: Record<string, never>;
|
|
57
|
+
};
|
|
58
|
+
/** center — no axis wired by daisyui; every axis errors under this register module. */
|
|
59
|
+
'center': {
|
|
60
|
+
/** Accepts `color` at runtime, but daisyui declares no color axis for center — the attribute would match nothing. */
|
|
61
|
+
color: never;
|
|
62
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for center — the attribute would match nothing. */
|
|
63
|
+
size: never;
|
|
64
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for center — the attribute would match nothing. */
|
|
65
|
+
variant: never;
|
|
66
|
+
axes: Record<string, never>;
|
|
67
|
+
mods: Record<string, never>;
|
|
68
|
+
};
|
|
69
|
+
/** box — color wired. */
|
|
70
|
+
'box': {
|
|
71
|
+
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
72
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for box — the attribute would match nothing. */
|
|
73
|
+
size: never;
|
|
74
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for box — the attribute would match nothing. */
|
|
75
|
+
variant: never;
|
|
76
|
+
axes: Record<string, never>;
|
|
77
|
+
mods: Record<string, never>;
|
|
78
|
+
};
|
|
79
|
+
/** container — no axis wired by daisyui; every axis errors under this register module. */
|
|
80
|
+
'container': {
|
|
81
|
+
/** Accepts `color` at runtime, but daisyui declares no color axis for container — the attribute would match nothing. */
|
|
82
|
+
color: never;
|
|
83
|
+
/** Accepts `size` at runtime, but daisyui declares no size axis for container — the attribute would match nothing. */
|
|
84
|
+
size: never;
|
|
85
|
+
/** Accepts `variant` at runtime, but daisyui declares no variant axis for container — the attribute would match nothing. */
|
|
86
|
+
variant: never;
|
|
87
|
+
axes: Record<string, never>;
|
|
88
|
+
mods: Record<string, never>;
|
|
89
|
+
};
|
|
24
90
|
/** tabs — color, size, variant wired. */
|
|
25
91
|
'tabs': {
|
|
26
92
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -146,21 +212,21 @@ declare module '@sigx/zero' {
|
|
|
146
212
|
axes: Record<string, never>;
|
|
147
213
|
mods: Record<string, never>;
|
|
148
214
|
};
|
|
149
|
-
/** button — color, size, variant, mods.active, mods.block, mods.circle, mods.
|
|
215
|
+
/** button — color, size, variant, mods.active, mods.block, mods.circle, mods.square, mods.wide wired. */
|
|
150
216
|
'button': {
|
|
151
217
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
152
218
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
153
219
|
variant: 'solid' | 'outline' | 'soft' | 'ghost' | 'dash' | 'link';
|
|
154
220
|
axes: Record<string, never>;
|
|
155
|
-
mods: { 'active': boolean; 'block': boolean; 'circle': boolean; '
|
|
221
|
+
mods: { 'active': boolean; 'block': boolean; 'circle': boolean; 'square': boolean; 'wide': boolean };
|
|
156
222
|
};
|
|
157
|
-
/** avatar — color, size wired. */
|
|
223
|
+
/** avatar — color, size, axes.shape wired. */
|
|
158
224
|
'avatar': {
|
|
159
225
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
160
226
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
161
227
|
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
162
228
|
variant: never;
|
|
163
|
-
axes:
|
|
229
|
+
axes: { 'shape': 'circle' | 'square' | 'rounded' };
|
|
164
230
|
mods: Record<string, never>;
|
|
165
231
|
};
|
|
166
232
|
/** toast — color, size wired. */
|
|
@@ -244,8 +310,8 @@ declare module '@sigx/zero' {
|
|
|
244
310
|
axes: Record<string, never>;
|
|
245
311
|
mods: Record<string, never>;
|
|
246
312
|
};
|
|
247
|
-
/**
|
|
248
|
-
'
|
|
313
|
+
/** card — color, size wired. */
|
|
314
|
+
'card': {
|
|
249
315
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
250
316
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
251
317
|
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
@@ -253,8 +319,8 @@ declare module '@sigx/zero' {
|
|
|
253
319
|
axes: Record<string, never>;
|
|
254
320
|
mods: Record<string, never>;
|
|
255
321
|
};
|
|
256
|
-
/**
|
|
257
|
-
'
|
|
322
|
+
/** alert — color, size wired. */
|
|
323
|
+
'alert': {
|
|
258
324
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
259
325
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
260
326
|
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
@@ -262,8 +328,8 @@ declare module '@sigx/zero' {
|
|
|
262
328
|
axes: Record<string, never>;
|
|
263
329
|
mods: Record<string, never>;
|
|
264
330
|
};
|
|
265
|
-
/**
|
|
266
|
-
'
|
|
331
|
+
/** empty-state — color, size wired. */
|
|
332
|
+
'empty-state': {
|
|
267
333
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
268
334
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
269
335
|
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
@@ -388,6 +454,15 @@ declare module '@sigx/zero' {
|
|
|
388
454
|
axes: Record<string, never>;
|
|
389
455
|
mods: Record<string, never>;
|
|
390
456
|
};
|
|
457
|
+
/** nav-list — color, size wired. */
|
|
458
|
+
'nav-list': {
|
|
459
|
+
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
460
|
+
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
461
|
+
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
462
|
+
variant: never;
|
|
463
|
+
axes: Record<string, never>;
|
|
464
|
+
mods: Record<string, never>;
|
|
465
|
+
};
|
|
391
466
|
/** breadcrumbs — color, size wired. */
|
|
392
467
|
'breadcrumbs': {
|
|
393
468
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -460,14 +535,14 @@ declare module '@sigx/zero' {
|
|
|
460
535
|
axes: Record<string, never>;
|
|
461
536
|
mods: Record<string, never>;
|
|
462
537
|
};
|
|
463
|
-
/** countdown — color, size wired. */
|
|
538
|
+
/** countdown — color, size, mods.inline wired. */
|
|
464
539
|
'countdown': {
|
|
465
540
|
color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
466
541
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
467
542
|
/** Accepts `variant` at runtime, but no daisyui recipe wires it — the attribute would match nothing. */
|
|
468
543
|
variant: never;
|
|
469
544
|
axes: Record<string, never>;
|
|
470
|
-
mods:
|
|
545
|
+
mods: { 'inline': boolean };
|
|
471
546
|
};
|
|
472
547
|
/** diff — color, size wired. */
|
|
473
548
|
'diff': {
|