@valiify/dashboard-ui 0.3.0 → 0.5.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 (101) hide show
  1. package/CHANGELOG.md +948 -10
  2. package/COMPONENTS.md +199 -79
  3. package/GETTING_STARTED.md +116 -54
  4. package/QUICK_REFERENCE.md +48 -30
  5. package/README.md +107 -85
  6. package/TROUBLESHOOTING.md +52 -34
  7. package/class-manifest.json +141 -71
  8. package/design-methodology/dashboard.md +92 -80
  9. package/dist/dashboard-ui.css +1529 -1078
  10. package/dist/index.css +1250 -732
  11. package/package.json +17 -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 +122 -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 +1 -1
  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 +145 -25
  63. package/CLAUDE.md +0 -3740
  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": 395,
10
+ "namespaced": 395,
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,20 +342,48 @@
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",
348
+ "vd-tab-stretch",
306
349
  "vd-tab-subtitle",
307
350
  "vd-tab-underline",
308
351
  "vd-tabs",
309
352
  "vd-tabs-chip",
310
353
  "vd-tag",
311
354
  "vd-tag-count",
355
+ "vd-tag-empty",
356
+ "vd-tag-external",
357
+ "vd-tag-lg",
312
358
  "vd-tag-md",
359
+ "vd-tag-recipient",
313
360
  "vd-tag-sm",
361
+ "vd-tag-xs",
362
+ "vd-text-action-compact",
363
+ "vd-text-action-compact-active",
364
+ "vd-text-action-default",
365
+ "vd-text-action-default-active",
366
+ "vd-text-body-default",
367
+ "vd-text-body-default-strong",
368
+ "vd-text-body-dense",
369
+ "vd-text-body-dense-strong",
314
370
  "vd-text-button",
315
371
  "vd-text-button-cell",
316
372
  "vd-text-button-primary",
317
373
  "vd-text-button-text",
374
+ "vd-text-data-compact",
375
+ "vd-text-data-dense",
376
+ "vd-text-data-emphasis",
377
+ "vd-text-data-large",
378
+ "vd-text-display-metric",
379
+ "vd-text-heading-compact",
380
+ "vd-text-heading-page",
381
+ "vd-text-heading-section",
382
+ "vd-text-label-compact",
383
+ "vd-text-supporting-caption",
384
+ "vd-text-supporting-caption-strong",
385
+ "vd-text-utility-avatar-initials",
386
+ "vd-text-utility-badge-count",
318
387
  "vd-textarea",
319
388
  "vd-textarea-bg-neutral",
320
389
  "vd-textarea-container",
@@ -324,6 +393,11 @@
324
393
  "vd-textarea-error-message",
325
394
  "vd-textarea-field",
326
395
  "vd-textarea-label",
396
+ "vd-textarea-lg",
397
+ "vd-textarea-md",
398
+ "vd-textarea-sm",
399
+ "vd-textarea-xl",
400
+ "vd-textarea-xs",
327
401
  "vd-toast",
328
402
  "vd-toast-error",
329
403
  "vd-toast-footer",
@@ -345,15 +419,10 @@
345
419
  "vd-with-ring"
346
420
  ],
347
421
  "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"
422
+ "focus-ring"
355
423
  ],
356
424
  "prefixedUtilities": [
425
+ "vd:aspect-square",
357
426
  "vd:bg-action-selected",
358
427
  "vd:bg-action-subtle",
359
428
  "vd:bg-approved",
@@ -411,16 +480,20 @@
411
480
  "vd:h-9",
412
481
  "vd:h-[103px]",
413
482
  "vd:h-[18px]",
414
- "vd:h-[26px]",
415
483
  "vd:h-[30px]",
416
484
  "vd:h-[38px]",
417
485
  "vd:h-[55px]",
418
486
  "vd:h-[71px]",
487
+ "vd:h-control-lg",
488
+ "vd:h-control-md",
489
+ "vd:h-control-sm",
490
+ "vd:h-control-xl",
491
+ "vd:h-control-xs",
419
492
  "vd:hover:border-critical",
420
493
  "vd:hover:text-critical",
421
- "vd:hover:text-warning",
422
494
  "vd:items-center",
423
495
  "vd:justify-between",
496
+ "vd:md:aspect-square",
424
497
  "vd:md:bg-action-selected",
425
498
  "vd:md:bg-action-subtle",
426
499
  "vd:md:bg-approved",
@@ -478,20 +551,27 @@
478
551
  "vd:md:h-9",
479
552
  "vd:md:h-[103px]",
480
553
  "vd:md:h-[18px]",
481
- "vd:md:h-[26px]",
482
554
  "vd:md:h-[30px]",
483
555
  "vd:md:h-[38px]",
484
556
  "vd:md:h-[55px]",
485
557
  "vd:md:h-[71px]",
558
+ "vd:md:h-control-lg",
559
+ "vd:md:h-control-md",
560
+ "vd:md:h-control-sm",
561
+ "vd:md:h-control-xl",
562
+ "vd:md:h-control-xs",
486
563
  "vd:md:hover:border-critical",
487
564
  "vd:md:hover:text-critical",
488
- "vd:md:hover:text-warning",
489
565
  "vd:md:items-center",
490
566
  "vd:md:justify-between",
567
+ "vd:md:min-h-control-lg",
568
+ "vd:md:min-h-control-md",
569
+ "vd:md:min-h-control-sm",
570
+ "vd:md:min-h-control-xl",
571
+ "vd:md:min-h-control-xs",
491
572
  "vd:md:mx-auto",
492
573
  "vd:md:p-0.5",
493
574
  "vd:md:p-1",
494
- "vd:md:p-1.5",
495
575
  "vd:md:p-5",
496
576
  "vd:md:pb-7",
497
577
  "vd:md:pl-7",
@@ -502,11 +582,10 @@
502
582
  "vd:md:px-1.5",
503
583
  "vd:md:px-10",
504
584
  "vd:md:px-2",
505
- "vd:md:px-2.25",
506
585
  "vd:md:px-3",
507
586
  "vd:md:px-4",
508
587
  "vd:md:px-5",
509
- "vd:md:py-1.25",
588
+ "vd:md:py-0.5",
510
589
  "vd:md:py-1.5",
511
590
  "vd:md:py-1.75",
512
591
  "vd:md:py-2",
@@ -523,40 +602,34 @@
523
602
  "vd:md:rounded-tight",
524
603
  "vd:md:shadow-[0_4px_4px_rgb(0_0_0/0.08)]",
525
604
  "vd:md:shadow-panel",
526
- "vd:md:size-7",
527
605
  "vd:md:size-[18px]",
528
606
  "vd:md:text-[#415472]",
529
607
  "vd:md:text-[#ad751b]",
530
- "vd:md:text-action-m",
531
- "vd:md:text-action-s",
608
+ "vd:md:text-action-compact",
609
+ "vd:md:text-action-compact-active",
610
+ "vd:md:text-action-default",
532
611
  "vd:md:text-approved",
533
612
  "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",
613
+ "vd:md:text-body-dense",
614
+ "vd:md:text-body-dense-strong",
539
615
  "vd:md:text-content-contrast",
540
616
  "vd:md:text-content-faint",
541
617
  "vd:md:text-content-primary",
542
618
  "vd:md:text-content-secondary",
543
619
  "vd:md:text-content-tertiary",
544
620
  "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",
621
+ "vd:md:text-data-compact",
622
+ "vd:md:text-data-dense",
623
+ "vd:md:text-display-metric",
624
+ "vd:md:text-heading-page",
625
+ "vd:md:text-heading-section",
626
+ "vd:md:text-label-compact",
553
627
  "vd:md:text-primary",
554
628
  "vd:md:text-primary-dark",
555
629
  "vd:md:text-right",
556
- "vd:md:text-statecap",
630
+ "vd:md:text-supporting-caption",
631
+ "vd:md:text-supporting-caption-strong",
557
632
  "vd:md:text-warning",
558
- "vd:md:type-label-l-bold",
559
- "vd:md:type-label-s-bold",
560
633
  "vd:md:uppercase",
561
634
  "vd:md:w-100",
562
635
  "vd:md:w-11",
@@ -574,10 +647,14 @@
574
647
  "vd:md:w-[600px]",
575
648
  "vd:md:w-[622px]",
576
649
  "vd:md:w-full",
650
+ "vd:min-h-control-lg",
651
+ "vd:min-h-control-md",
652
+ "vd:min-h-control-sm",
653
+ "vd:min-h-control-xl",
654
+ "vd:min-h-control-xs",
577
655
  "vd:mx-auto",
578
656
  "vd:p-0.5",
579
657
  "vd:p-1",
580
- "vd:p-1.5",
581
658
  "vd:p-5",
582
659
  "vd:pb-7",
583
660
  "vd:pl-7",
@@ -588,11 +665,10 @@
588
665
  "vd:px-1.5",
589
666
  "vd:px-10",
590
667
  "vd:px-2",
591
- "vd:px-2.25",
592
668
  "vd:px-3",
593
669
  "vd:px-4",
594
670
  "vd:px-5",
595
- "vd:py-1.25",
671
+ "vd:py-0.5",
596
672
  "vd:py-1.5",
597
673
  "vd:py-1.75",
598
674
  "vd:py-2",
@@ -609,40 +685,34 @@
609
685
  "vd:rounded-tight",
610
686
  "vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]",
611
687
  "vd:shadow-panel",
612
- "vd:size-7",
613
688
  "vd:size-[18px]",
614
689
  "vd:text-[#415472]",
615
690
  "vd:text-[#ad751b]",
616
- "vd:text-action-m",
617
- "vd:text-action-s",
691
+ "vd:text-action-compact",
692
+ "vd:text-action-compact-active",
693
+ "vd:text-action-default",
618
694
  "vd:text-approved",
619
695
  "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",
696
+ "vd:text-body-dense",
697
+ "vd:text-body-dense-strong",
625
698
  "vd:text-content-contrast",
626
699
  "vd:text-content-faint",
627
700
  "vd:text-content-primary",
628
701
  "vd:text-content-secondary",
629
702
  "vd:text-content-tertiary",
630
703
  "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",
704
+ "vd:text-data-compact",
705
+ "vd:text-data-dense",
706
+ "vd:text-display-metric",
707
+ "vd:text-heading-page",
708
+ "vd:text-heading-section",
709
+ "vd:text-label-compact",
639
710
  "vd:text-primary",
640
711
  "vd:text-primary-dark",
641
712
  "vd:text-right",
642
- "vd:text-statecap",
713
+ "vd:text-supporting-caption",
714
+ "vd:text-supporting-caption-strong",
643
715
  "vd:text-warning",
644
- "vd:type-label-l-bold",
645
- "vd:type-label-s-bold",
646
716
  "vd:uppercase",
647
717
  "vd:w-100",
648
718
  "vd:w-11",