@sigx/zero-daisyui 0.2.0-beta.5 → 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.
Files changed (98) hide show
  1. package/README.md +78 -5
  2. package/dist/audit.json +271915 -0
  3. package/dist/components.d.ts +75 -18
  4. package/dist/components.js +15 -3
  5. package/dist/css/breakpoints.css +7 -0
  6. package/dist/css/components/avatar.css +12 -0
  7. package/dist/css/components/badge.css +130 -1
  8. package/dist/css/components/box.css +58 -0
  9. package/dist/css/components/button.css +17 -17
  10. package/dist/css/components/center.css +17 -0
  11. package/dist/css/components/checkbox.css +1 -1
  12. package/dist/css/components/combobox.css +57 -6
  13. package/dist/css/components/container.css +16 -0
  14. package/dist/css/components/countdown.css +5 -0
  15. package/dist/css/components/dialog.css +3 -2
  16. package/dist/css/components/drawer.css +102 -6
  17. package/dist/css/components/empty-state.css +164 -0
  18. package/dist/css/components/grid.css +32 -0
  19. package/dist/css/components/kbd.css +1 -1
  20. package/dist/css/components/menu.css +4 -4
  21. package/dist/css/components/nav-list.css +165 -0
  22. package/dist/css/components/radio-group.css +2 -2
  23. package/dist/css/components/select.css +1 -1
  24. package/dist/css/components/spacer.css +13 -0
  25. package/dist/css/components/stack.css +39 -0
  26. package/dist/css/components/steps.css +109 -28
  27. package/dist/css/components/table.css +276 -2
  28. package/dist/css/components/timeline.css +64 -1
  29. package/dist/css/components/tree-view.css +2 -2
  30. package/dist/css/index.css +2220 -279
  31. package/dist/css/index.d.ts +2 -0
  32. package/dist/css/tokens.css +9 -0
  33. package/dist/design-system.d.ts.map +1 -1
  34. package/dist/design-system.js +15 -8
  35. package/dist/design-system.js.map +1 -1
  36. package/dist/lynx/components/avatar.css +12 -0
  37. package/dist/lynx/components/badge.css +56 -1
  38. package/dist/lynx/components/box.css +54 -0
  39. package/dist/lynx/components/breadcrumbs.css +10 -10
  40. package/dist/lynx/components/button.css +19 -6
  41. package/dist/lynx/components/card.css +5 -5
  42. package/dist/lynx/components/carousel.css +4 -4
  43. package/dist/lynx/components/center.css +13 -0
  44. package/dist/lynx/components/chat.css +12 -11
  45. package/dist/lynx/components/checkbox.css +4 -5
  46. package/dist/lynx/components/combobox.css +49 -6
  47. package/dist/lynx/components/container.css +11 -0
  48. package/dist/lynx/components/countdown.css +5 -0
  49. package/dist/lynx/components/dialog.css +22 -14
  50. package/dist/lynx/components/diff.css +6 -4
  51. package/dist/lynx/components/drawer.css +30 -6
  52. package/dist/lynx/components/empty-state.css +342 -0
  53. package/dist/lynx/components/file-upload.css +10 -10
  54. package/dist/lynx/components/grid.css +28 -0
  55. package/dist/lynx/components/indicator.css +24 -24
  56. package/dist/lynx/components/kbd.css +1 -1
  57. package/dist/lynx/components/menu.css +14 -9
  58. package/dist/lynx/components/nav-list.css +302 -0
  59. package/dist/lynx/components/number-input.css +4 -2
  60. package/dist/lynx/components/pagination.css +7 -6
  61. package/dist/lynx/components/popover.css +12 -6
  62. package/dist/lynx/components/progress.css +1 -1
  63. package/dist/lynx/components/radial-progress.css +5 -5
  64. package/dist/lynx/components/radio-group.css +2 -2
  65. package/dist/lynx/components/rating-group.css +5 -5
  66. package/dist/lynx/components/select.css +18 -12
  67. package/dist/lynx/components/slider.css +6 -5
  68. package/dist/lynx/components/spacer.css +11 -0
  69. package/dist/lynx/components/stack.css +35 -0
  70. package/dist/lynx/components/stats.css +10 -10
  71. package/dist/lynx/components/steps.css +117 -77
  72. package/dist/lynx/components/switch.css +5 -5
  73. package/dist/lynx/components/table.css +18 -12
  74. package/dist/lynx/components/tabs.css +5 -5
  75. package/dist/lynx/components/timeline.css +14 -5
  76. package/dist/lynx/components/toast.css +4 -4
  77. package/dist/lynx/components/tooltip.css +10 -5
  78. package/dist/lynx/components/tree-view.css +3 -3
  79. package/dist/lynx/index.css +1402 -450
  80. package/dist/lynx/manifest.json +354 -37
  81. package/dist/lynx/tokens.css +36 -0
  82. package/dist/manifest.json +351 -34
  83. package/dist/recipes.d.ts +17 -10
  84. package/dist/recipes.d.ts.map +1 -1
  85. package/dist/recipes.js +866 -153
  86. package/dist/recipes.js.map +1 -1
  87. package/dist/register.d.ts +89 -14
  88. package/dist/report.json +2815 -408
  89. package/dist/tokens.d.ts +22 -11
  90. package/dist/tokens.d.ts.map +1 -1
  91. package/dist/tokens.js +57 -7
  92. package/dist/tokens.js.map +1 -1
  93. package/package.json +28 -10
  94. package/src/design-system.ts +15 -8
  95. package/src/recipes.ts +880 -157
  96. package/src/tokens.ts +54 -7
  97. package/dist/css/components/native-select.css +0 -128
  98. package/dist/lynx/components/native-select.css +0 -130
@@ -5,8 +5,8 @@
5
5
  declare module '@sigx/zero' {
6
6
  interface ZeroVocabulary {
7
7
  theme: 'light' | 'dark' | 'dim' | 'nord' | 'sunset';
8
- breakpoint: never;
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.loading, mods.square, mods.wide wired. */
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; 'loading': boolean; 'square': boolean; 'wide': 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: Record<string, never>;
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
- /** native-select — color, size wired. */
248
- 'native-select': {
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
- /** card — color, size wired. */
257
- 'card': {
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
- /** alert — color, size wired. */
266
- 'alert': {
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: Record<string, never>;
545
+ mods: { 'inline': boolean };
471
546
  };
472
547
  /** diff — color, size wired. */
473
548
  'diff': {