@valiify/dashboard-ui 0.2.1 → 0.5.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.
Files changed (101) hide show
  1. package/CHANGELOG.md +1025 -12
  2. package/COMPONENTS.md +185 -79
  3. package/GETTING_STARTED.md +138 -38
  4. package/QUICK_REFERENCE.md +48 -30
  5. package/README.md +134 -83
  6. package/TROUBLESHOOTING.md +52 -34
  7. package/class-manifest.json +140 -71
  8. package/design-methodology/dashboard.md +92 -80
  9. package/dist/dashboard-ui.css +1525 -1078
  10. package/dist/index.css +1246 -732
  11. package/package.json +19 -10
  12. package/scripts/codemods/0.5.0-chip-sizes.mjs +437 -0
  13. package/src/build/utilities.css +7 -10
  14. package/src/components/_template.css +12 -8
  15. package/src/components/alert.css +35 -8
  16. package/src/components/avatar.css +42 -30
  17. package/src/components/breadcrumbs.css +39 -22
  18. package/src/components/button.css +84 -14
  19. package/src/components/card.css +2 -2
  20. package/src/components/checkbox.css +16 -11
  21. package/src/components/chip.css +155 -79
  22. package/src/components/composer.css +145 -0
  23. package/src/components/data-row.css +10 -6
  24. package/src/components/divider.css +17 -22
  25. package/src/components/dropdown-field.css +83 -43
  26. package/src/components/dropdown-menu.css +80 -14
  27. package/src/components/field-verification.css +21 -5
  28. package/src/components/filter-segment.css +27 -8
  29. package/src/components/icon-button.css +49 -10
  30. package/src/components/index.css +2 -0
  31. package/src/components/input.css +88 -32
  32. package/src/components/link.css +27 -16
  33. package/src/components/loading-inline.css +15 -21
  34. package/src/components/menu-item.css +149 -49
  35. package/src/components/modal.css +8 -5
  36. package/src/components/navigation-rail.css +67 -31
  37. package/src/components/pagination-item.css +29 -28
  38. package/src/components/pagination.css +9 -14
  39. package/src/components/pill.css +16 -10
  40. package/src/components/progress-bar.css +8 -10
  41. package/src/components/radio-select.css +9 -2
  42. package/src/components/recipient-input.css +119 -0
  43. package/src/components/section-marker.css +5 -5
  44. package/src/components/segment-selector.css +9 -3
  45. package/src/components/sensitive-data.css +7 -5
  46. package/src/components/skeleton.css +18 -6
  47. package/src/components/step.css +15 -4
  48. package/src/components/stepper.css +3 -2
  49. package/src/components/switch.css +7 -0
  50. package/src/components/tabs.css +108 -28
  51. package/src/components/tag.css +156 -51
  52. package/src/components/text-button.css +54 -59
  53. package/src/components/textarea.css +87 -22
  54. package/src/components/toast.css +41 -15
  55. package/src/components/tooltip.css +13 -2
  56. package/src/fonts.css +2 -1
  57. package/src/library.css +1 -1
  58. package/src/reset.css +213 -0
  59. package/src/themes/valiify-tokens.css +101 -126
  60. package/src/themes/valiify.css +258 -157
  61. package/src/utility-surface.css +51 -49
  62. package/types/components.d.ts +142 -24
  63. package/CLAUDE.md +0 -3694
  64. package/examples/README.md +0 -198
  65. package/examples/basic/index.html +0 -155
  66. package/examples/daisyui-starter/README.md +0 -58
  67. package/examples/daisyui-starter/check-no-bleed.mjs +0 -249
  68. package/examples/daisyui-starter/index.html +0 -72
  69. package/examples/daisyui-starter/linked.html +0 -74
  70. package/examples/daisyui-starter/package-lock.json +0 -2221
  71. package/examples/daisyui-starter/package.json +0 -22
  72. package/examples/daisyui-starter/postcss.config.js +0 -1
  73. package/examples/daisyui-starter/src/host.css +0 -14
  74. package/examples/daisyui-starter/src/only-import.css +0 -4
  75. package/examples/daisyui-starter/src/styles.css +0 -36
  76. package/examples/daisyui-starter/tailwind.config.js +0 -13
  77. package/examples/postcss-starter/README.md +0 -47
  78. package/examples/postcss-starter/index.html +0 -54
  79. package/examples/postcss-starter/package.json +0 -19
  80. package/examples/postcss-starter/postcss.config.js +0 -5
  81. package/examples/postcss-starter/src/styles.css +0 -17
  82. package/examples/sveltekit-starter/README.md +0 -32
  83. package/examples/sveltekit-starter/check-scoped-styles.mjs +0 -103
  84. package/examples/sveltekit-starter/package-lock.json +0 -1300
  85. package/examples/sveltekit-starter/package.json +0 -24
  86. package/examples/sveltekit-starter/src/app.css +0 -17
  87. package/examples/sveltekit-starter/src/app.html +0 -11
  88. package/examples/sveltekit-starter/src/lib/GlobalReset.svelte +0 -20
  89. package/examples/sveltekit-starter/src/lib/ScopedRemedy.svelte +0 -27
  90. package/examples/sveltekit-starter/src/lib/ScopedReset.svelte +0 -22
  91. package/examples/sveltekit-starter/src/routes/+layout.svelte +0 -6
  92. package/examples/sveltekit-starter/src/routes/+page.svelte +0 -10
  93. package/examples/sveltekit-starter/svelte.config.js +0 -4
  94. package/examples/sveltekit-starter/vite.config.js +0 -6
  95. package/examples/vite-starter/README.md +0 -125
  96. package/examples/vite-starter/index.html +0 -12
  97. package/examples/vite-starter/package.json +0 -19
  98. package/examples/vite-starter/src/main.js +0 -188
  99. package/examples/vite-starter/src/styles.css +0 -22
  100. package/examples/vite-starter/vite.config.js +0 -6
  101. package/src/themes/valiify-type-prefixed.css +0 -37
@@ -6,27 +6,19 @@
6
6
  "componentNamespace": "vd-",
7
7
  "utilityPrefix": "vd:",
8
8
  "counts": {
9
- "components": 313,
10
- "namespaced": 313,
9
+ "components": 394,
10
+ "namespaced": 394,
11
11
  "unprefixed": 0,
12
- "customUtilities": 7,
13
- "prefixedUtilities": 306
12
+ "customUtilities": 1,
13
+ "prefixedUtilities": 308
14
14
  },
15
15
  "customUtilitiesReachableFrom": {
16
16
  "$comment": "@utility blocks are @apply-inlined into components, so they never appear as classes in dist/index.css. A ./source consumer can always write them unprefixed. A ./styles.css consumer can only write the ones the closed utility surface emits, prefixed.",
17
17
  "source": [
18
- "focus-ring",
19
- "type-label-l",
20
- "type-label-l-bold",
21
- "type-label-l-mono",
22
- "type-label-s",
23
- "type-label-s-bold",
24
- "type-label-s-mono"
18
+ "focus-ring"
25
19
  ],
26
20
  "prefixedBundle": [
27
- "focus-ring",
28
- "type-label-l-bold",
29
- "type-label-s-bold"
21
+ "focus-ring"
30
22
  ]
31
23
  },
32
24
  "components": [
@@ -46,6 +38,7 @@
46
38
  "vd-avatar-lg",
47
39
  "vd-avatar-md",
48
40
  "vd-avatar-sm",
41
+ "vd-avatar-xl",
49
42
  "vd-avatar-xs",
50
43
  "vd-badge",
51
44
  "vd-badge-bg-no",
@@ -56,6 +49,7 @@
56
49
  "vd-badge-sm",
57
50
  "vd-badge-success",
58
51
  "vd-badge-warning",
52
+ "vd-badge-xs",
59
53
  "vd-breadcrumb",
60
54
  "vd-breadcrumb-current",
61
55
  "vd-breadcrumb-home",
@@ -67,9 +61,12 @@
67
61
  "vd-btn-critical",
68
62
  "vd-btn-empty",
69
63
  "vd-btn-lg",
64
+ "vd-btn-md",
70
65
  "vd-btn-outline",
71
66
  "vd-btn-primary",
72
67
  "vd-btn-sm",
68
+ "vd-btn-xl",
69
+ "vd-btn-xs",
73
70
  "vd-card",
74
71
  "vd-card-body",
75
72
  "vd-card-bordered",
@@ -92,6 +89,19 @@
92
89
  "vd-chip-sm",
93
90
  "vd-chip-success",
94
91
  "vd-chip-warning",
92
+ "vd-chip-xs",
93
+ "vd-composer",
94
+ "vd-composer-actions",
95
+ "vd-composer-body",
96
+ "vd-composer-error",
97
+ "vd-composer-footer",
98
+ "vd-composer-helper",
99
+ "vd-composer-rows-1",
100
+ "vd-composer-rows-3",
101
+ "vd-composer-rows-5",
102
+ "vd-composer-shell",
103
+ "vd-composer-tags",
104
+ "vd-composer-textarea",
95
105
  "vd-data-row",
96
106
  "vd-data-row-action",
97
107
  "vd-data-row-field",
@@ -113,6 +123,7 @@
113
123
  "vd-dot-sm",
114
124
  "vd-dot-success",
115
125
  "vd-dot-warning",
126
+ "vd-dot-xs",
116
127
  "vd-dropdown",
117
128
  "vd-dropdown-field",
118
129
  "vd-dropdown-field-bg-neutral",
@@ -127,8 +138,14 @@
127
138
  "vd-dropdown-field-placeholder",
128
139
  "vd-dropdown-field-sm",
129
140
  "vd-dropdown-field-value",
141
+ "vd-dropdown-field-xl",
142
+ "vd-dropdown-field-xs",
130
143
  "vd-dropdown-menu",
131
144
  "vd-dropdown-menu-divider",
145
+ "vd-dropdown-menu-footer",
146
+ "vd-dropdown-menu-header",
147
+ "vd-dropdown-menu-header-label",
148
+ "vd-dropdown-menu-search",
132
149
  "vd-dropdown-panel",
133
150
  "vd-field-verification",
134
151
  "vd-field-verification-action",
@@ -144,11 +161,15 @@
144
161
  "vd-filter-segment-first",
145
162
  "vd-filter-segment-last",
146
163
  "vd-filter-segment-md",
164
+ "vd-filter-segment-sm",
147
165
  "vd-filter-segments",
148
166
  "vd-icon",
149
167
  "vd-icon-button",
168
+ "vd-icon-button-inline",
150
169
  "vd-icon-button-lg",
151
170
  "vd-icon-button-md",
171
+ "vd-icon-button-sm",
172
+ "vd-icon-button-xl",
152
173
  "vd-icon-button-xs",
153
174
  "vd-icon-ring",
154
175
  "vd-icon-size-10",
@@ -174,7 +195,10 @@
174
195
  "vd-input-label",
175
196
  "vd-input-lg",
176
197
  "vd-input-md",
198
+ "vd-input-search",
177
199
  "vd-input-sm",
200
+ "vd-input-xl",
201
+ "vd-input-xs",
178
202
  "vd-link",
179
203
  "vd-link-critical",
180
204
  "vd-link-inline",
@@ -192,14 +216,24 @@
192
216
  "vd-loading-inline-md",
193
217
  "vd-loading-inline-sm",
194
218
  "vd-menu-item",
195
- "vd-menu-item-badge",
196
- "vd-menu-item-combined",
219
+ "vd-menu-item-action",
220
+ "vd-menu-item-avatar",
221
+ "vd-menu-item-check",
222
+ "vd-menu-item-checkbox",
223
+ "vd-menu-item-chevron",
224
+ "vd-menu-item-chevron-left",
225
+ "vd-menu-item-critical",
226
+ "vd-menu-item-icon",
197
227
  "vd-menu-item-lg",
198
228
  "vd-menu-item-md",
229
+ "vd-menu-item-meta",
199
230
  "vd-menu-item-right-text",
231
+ "vd-menu-item-shortcut",
200
232
  "vd-menu-item-sm",
201
233
  "vd-menu-item-subtitle",
202
234
  "vd-menu-item-text",
235
+ "vd-menu-item-tile",
236
+ "vd-menu-item-tile-lg",
203
237
  "vd-menu-item-title",
204
238
  "vd-modal",
205
239
  "vd-modal-context",
@@ -269,6 +303,13 @@
269
303
  "vd-radio-select",
270
304
  "vd-radio-select-input",
271
305
  "vd-radio-select-label",
306
+ "vd-recipient-input",
307
+ "vd-recipient-input-error",
308
+ "vd-recipient-input-helper",
309
+ "vd-recipient-input-input",
310
+ "vd-recipient-input-lg",
311
+ "vd-recipient-input-shell",
312
+ "vd-recipient-input-xl",
272
313
  "vd-section-marker",
273
314
  "vd-section-marker-approve",
274
315
  "vd-section-marker-dot",
@@ -301,6 +342,7 @@
301
342
  "vd-switch-input",
302
343
  "vd-tab",
303
344
  "vd-tab-chip",
345
+ "vd-tab-label",
304
346
  "vd-tab-segment",
305
347
  "vd-tab-sm",
306
348
  "vd-tab-subtitle",
@@ -309,12 +351,38 @@
309
351
  "vd-tabs-chip",
310
352
  "vd-tag",
311
353
  "vd-tag-count",
354
+ "vd-tag-empty",
355
+ "vd-tag-external",
356
+ "vd-tag-lg",
312
357
  "vd-tag-md",
358
+ "vd-tag-recipient",
313
359
  "vd-tag-sm",
360
+ "vd-tag-xs",
361
+ "vd-text-action-compact",
362
+ "vd-text-action-compact-active",
363
+ "vd-text-action-default",
364
+ "vd-text-action-default-active",
365
+ "vd-text-body-default",
366
+ "vd-text-body-default-strong",
367
+ "vd-text-body-dense",
368
+ "vd-text-body-dense-strong",
314
369
  "vd-text-button",
315
370
  "vd-text-button-cell",
316
371
  "vd-text-button-primary",
317
372
  "vd-text-button-text",
373
+ "vd-text-data-compact",
374
+ "vd-text-data-dense",
375
+ "vd-text-data-emphasis",
376
+ "vd-text-data-large",
377
+ "vd-text-display-metric",
378
+ "vd-text-heading-compact",
379
+ "vd-text-heading-page",
380
+ "vd-text-heading-section",
381
+ "vd-text-label-compact",
382
+ "vd-text-supporting-caption",
383
+ "vd-text-supporting-caption-strong",
384
+ "vd-text-utility-avatar-initials",
385
+ "vd-text-utility-badge-count",
318
386
  "vd-textarea",
319
387
  "vd-textarea-bg-neutral",
320
388
  "vd-textarea-container",
@@ -324,6 +392,11 @@
324
392
  "vd-textarea-error-message",
325
393
  "vd-textarea-field",
326
394
  "vd-textarea-label",
395
+ "vd-textarea-lg",
396
+ "vd-textarea-md",
397
+ "vd-textarea-sm",
398
+ "vd-textarea-xl",
399
+ "vd-textarea-xs",
327
400
  "vd-toast",
328
401
  "vd-toast-error",
329
402
  "vd-toast-footer",
@@ -345,15 +418,10 @@
345
418
  "vd-with-ring"
346
419
  ],
347
420
  "customUtilities": [
348
- "focus-ring",
349
- "type-label-l",
350
- "type-label-l-bold",
351
- "type-label-l-mono",
352
- "type-label-s",
353
- "type-label-s-bold",
354
- "type-label-s-mono"
421
+ "focus-ring"
355
422
  ],
356
423
  "prefixedUtilities": [
424
+ "vd:aspect-square",
357
425
  "vd:bg-action-selected",
358
426
  "vd:bg-action-subtle",
359
427
  "vd:bg-approved",
@@ -411,16 +479,20 @@
411
479
  "vd:h-9",
412
480
  "vd:h-[103px]",
413
481
  "vd:h-[18px]",
414
- "vd:h-[26px]",
415
482
  "vd:h-[30px]",
416
483
  "vd:h-[38px]",
417
484
  "vd:h-[55px]",
418
485
  "vd:h-[71px]",
486
+ "vd:h-control-lg",
487
+ "vd:h-control-md",
488
+ "vd:h-control-sm",
489
+ "vd:h-control-xl",
490
+ "vd:h-control-xs",
419
491
  "vd:hover:border-critical",
420
492
  "vd:hover:text-critical",
421
- "vd:hover:text-warning",
422
493
  "vd:items-center",
423
494
  "vd:justify-between",
495
+ "vd:md:aspect-square",
424
496
  "vd:md:bg-action-selected",
425
497
  "vd:md:bg-action-subtle",
426
498
  "vd:md:bg-approved",
@@ -478,20 +550,27 @@
478
550
  "vd:md:h-9",
479
551
  "vd:md:h-[103px]",
480
552
  "vd:md:h-[18px]",
481
- "vd:md:h-[26px]",
482
553
  "vd:md:h-[30px]",
483
554
  "vd:md:h-[38px]",
484
555
  "vd:md:h-[55px]",
485
556
  "vd:md:h-[71px]",
557
+ "vd:md:h-control-lg",
558
+ "vd:md:h-control-md",
559
+ "vd:md:h-control-sm",
560
+ "vd:md:h-control-xl",
561
+ "vd:md:h-control-xs",
486
562
  "vd:md:hover:border-critical",
487
563
  "vd:md:hover:text-critical",
488
- "vd:md:hover:text-warning",
489
564
  "vd:md:items-center",
490
565
  "vd:md:justify-between",
566
+ "vd:md:min-h-control-lg",
567
+ "vd:md:min-h-control-md",
568
+ "vd:md:min-h-control-sm",
569
+ "vd:md:min-h-control-xl",
570
+ "vd:md:min-h-control-xs",
491
571
  "vd:md:mx-auto",
492
572
  "vd:md:p-0.5",
493
573
  "vd:md:p-1",
494
- "vd:md:p-1.5",
495
574
  "vd:md:p-5",
496
575
  "vd:md:pb-7",
497
576
  "vd:md:pl-7",
@@ -502,11 +581,10 @@
502
581
  "vd:md:px-1.5",
503
582
  "vd:md:px-10",
504
583
  "vd:md:px-2",
505
- "vd:md:px-2.25",
506
584
  "vd:md:px-3",
507
585
  "vd:md:px-4",
508
586
  "vd:md:px-5",
509
- "vd:md:py-1.25",
587
+ "vd:md:py-0.5",
510
588
  "vd:md:py-1.5",
511
589
  "vd:md:py-1.75",
512
590
  "vd:md:py-2",
@@ -523,40 +601,34 @@
523
601
  "vd:md:rounded-tight",
524
602
  "vd:md:shadow-[0_4px_4px_rgb(0_0_0/0.08)]",
525
603
  "vd:md:shadow-panel",
526
- "vd:md:size-7",
527
604
  "vd:md:size-[18px]",
528
605
  "vd:md:text-[#415472]",
529
606
  "vd:md:text-[#ad751b]",
530
- "vd:md:text-action-m",
531
- "vd:md:text-action-s",
607
+ "vd:md:text-action-compact",
608
+ "vd:md:text-action-compact-active",
609
+ "vd:md:text-action-default",
532
610
  "vd:md:text-approved",
533
611
  "vd:md:text-approved-strong",
534
- "vd:md:text-body-1",
535
- "vd:md:text-body-1-bold",
536
- "vd:md:text-body-2",
537
- "vd:md:text-body-2-bold",
538
- "vd:md:text-caption",
612
+ "vd:md:text-body-dense",
613
+ "vd:md:text-body-dense-strong",
539
614
  "vd:md:text-content-contrast",
540
615
  "vd:md:text-content-faint",
541
616
  "vd:md:text-content-primary",
542
617
  "vd:md:text-content-secondary",
543
618
  "vd:md:text-content-tertiary",
544
619
  "vd:md:text-critical",
545
- "vd:md:text-data-s",
546
- "vd:md:text-data-xs",
547
- "vd:md:text-display",
548
- "vd:md:text-h1",
549
- "vd:md:text-h2",
550
- "vd:md:text-help-caption",
551
- "vd:md:text-micro-l",
552
- "vd:md:text-micro-s-bold",
620
+ "vd:md:text-data-compact",
621
+ "vd:md:text-data-dense",
622
+ "vd:md:text-display-metric",
623
+ "vd:md:text-heading-page",
624
+ "vd:md:text-heading-section",
625
+ "vd:md:text-label-compact",
553
626
  "vd:md:text-primary",
554
627
  "vd:md:text-primary-dark",
555
628
  "vd:md:text-right",
556
- "vd:md:text-statecap",
629
+ "vd:md:text-supporting-caption",
630
+ "vd:md:text-supporting-caption-strong",
557
631
  "vd:md:text-warning",
558
- "vd:md:type-label-l-bold",
559
- "vd:md:type-label-s-bold",
560
632
  "vd:md:uppercase",
561
633
  "vd:md:w-100",
562
634
  "vd:md:w-11",
@@ -574,10 +646,14 @@
574
646
  "vd:md:w-[600px]",
575
647
  "vd:md:w-[622px]",
576
648
  "vd:md:w-full",
649
+ "vd:min-h-control-lg",
650
+ "vd:min-h-control-md",
651
+ "vd:min-h-control-sm",
652
+ "vd:min-h-control-xl",
653
+ "vd:min-h-control-xs",
577
654
  "vd:mx-auto",
578
655
  "vd:p-0.5",
579
656
  "vd:p-1",
580
- "vd:p-1.5",
581
657
  "vd:p-5",
582
658
  "vd:pb-7",
583
659
  "vd:pl-7",
@@ -588,11 +664,10 @@
588
664
  "vd:px-1.5",
589
665
  "vd:px-10",
590
666
  "vd:px-2",
591
- "vd:px-2.25",
592
667
  "vd:px-3",
593
668
  "vd:px-4",
594
669
  "vd:px-5",
595
- "vd:py-1.25",
670
+ "vd:py-0.5",
596
671
  "vd:py-1.5",
597
672
  "vd:py-1.75",
598
673
  "vd:py-2",
@@ -609,40 +684,34 @@
609
684
  "vd:rounded-tight",
610
685
  "vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]",
611
686
  "vd:shadow-panel",
612
- "vd:size-7",
613
687
  "vd:size-[18px]",
614
688
  "vd:text-[#415472]",
615
689
  "vd:text-[#ad751b]",
616
- "vd:text-action-m",
617
- "vd:text-action-s",
690
+ "vd:text-action-compact",
691
+ "vd:text-action-compact-active",
692
+ "vd:text-action-default",
618
693
  "vd:text-approved",
619
694
  "vd:text-approved-strong",
620
- "vd:text-body-1",
621
- "vd:text-body-1-bold",
622
- "vd:text-body-2",
623
- "vd:text-body-2-bold",
624
- "vd:text-caption",
695
+ "vd:text-body-dense",
696
+ "vd:text-body-dense-strong",
625
697
  "vd:text-content-contrast",
626
698
  "vd:text-content-faint",
627
699
  "vd:text-content-primary",
628
700
  "vd:text-content-secondary",
629
701
  "vd:text-content-tertiary",
630
702
  "vd:text-critical",
631
- "vd:text-data-s",
632
- "vd:text-data-xs",
633
- "vd:text-display",
634
- "vd:text-h1",
635
- "vd:text-h2",
636
- "vd:text-help-caption",
637
- "vd:text-micro-l",
638
- "vd:text-micro-s-bold",
703
+ "vd:text-data-compact",
704
+ "vd:text-data-dense",
705
+ "vd:text-display-metric",
706
+ "vd:text-heading-page",
707
+ "vd:text-heading-section",
708
+ "vd:text-label-compact",
639
709
  "vd:text-primary",
640
710
  "vd:text-primary-dark",
641
711
  "vd:text-right",
642
- "vd:text-statecap",
712
+ "vd:text-supporting-caption",
713
+ "vd:text-supporting-caption-strong",
643
714
  "vd:text-warning",
644
- "vd:type-label-l-bold",
645
- "vd:type-label-s-bold",
646
715
  "vd:uppercase",
647
716
  "vd:w-100",
648
717
  "vd:w-11",