@ecopages/radiant-ui 0.1.0-beta.3 → 0.1.0-beta.6

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 (185) hide show
  1. package/dist/components/ui/autocomplete/autocomplete.css +135 -0
  2. package/dist/components/ui/autocomplete/autocomplete.d.ts +21 -0
  3. package/dist/components/ui/autocomplete/autocomplete.script.d.ts +42 -0
  4. package/dist/components/ui/autocomplete/index.d.ts +2 -0
  5. package/dist/components/ui/autocomplete/index.js +2 -0
  6. package/dist/components/ui/autocomplete/index.js.map +7 -0
  7. package/dist/components/ui/avatar/avatar.css +58 -0
  8. package/dist/components/ui/avatar/avatar.d.ts +13 -0
  9. package/dist/components/ui/avatar/index.d.ts +1 -0
  10. package/dist/components/ui/avatar/index.js +2 -0
  11. package/dist/components/ui/avatar/index.js.map +7 -0
  12. package/dist/components/ui/button-group/button-group.css +16 -0
  13. package/dist/components/ui/button-group/button-group.d.ts +10 -0
  14. package/dist/components/ui/button-group/index.d.ts +1 -0
  15. package/dist/components/ui/button-group/index.js +2 -0
  16. package/dist/components/ui/button-group/index.js.map +7 -0
  17. package/dist/components/ui/calendar/calendar.css +318 -0
  18. package/dist/components/ui/calendar/calendar.d.ts +5 -0
  19. package/dist/components/ui/calendar/calendar.script.d.ts +89 -0
  20. package/dist/components/ui/calendar/index.d.ts +2 -0
  21. package/dist/components/ui/calendar/index.js +2 -0
  22. package/dist/components/ui/calendar/index.js.map +7 -0
  23. package/dist/components/ui/chip/chip.css +47 -0
  24. package/dist/components/ui/chip/chip.d.ts +11 -0
  25. package/dist/components/ui/chip/index.d.ts +1 -0
  26. package/dist/components/ui/chip/index.js +2 -0
  27. package/dist/components/ui/chip/index.js.map +7 -0
  28. package/dist/components/ui/chip-list/chip-list.css +15 -0
  29. package/dist/components/ui/chip-list/chip-list.d.ts +10 -0
  30. package/dist/components/ui/chip-list/index.d.ts +1 -0
  31. package/dist/components/ui/chip-list/index.js +2 -0
  32. package/dist/components/ui/chip-list/index.js.map +7 -0
  33. package/dist/components/ui/combobox/combobox.css +42 -80
  34. package/dist/components/ui/combobox/combobox.d.ts +12 -20
  35. package/dist/components/ui/combobox/combobox.script.d.ts +15 -14
  36. package/dist/components/ui/combobox/index.d.ts +2 -1
  37. package/dist/components/ui/combobox/index.js +1 -1
  38. package/dist/components/ui/combobox/index.js.map +4 -4
  39. package/dist/components/ui/date-field/date-field.css +184 -0
  40. package/dist/components/ui/date-field/date-field.d.ts +10 -0
  41. package/dist/components/ui/date-field/date-field.script.d.ts +108 -0
  42. package/dist/components/ui/date-field/index.d.ts +2 -0
  43. package/dist/components/ui/date-field/index.js +2 -0
  44. package/dist/components/ui/date-field/index.js.map +7 -0
  45. package/dist/components/ui/date-range-picker/date-range-picker.css +194 -0
  46. package/dist/components/ui/date-range-picker/date-range-picker.d.ts +10 -0
  47. package/dist/components/ui/date-range-picker/date-range-picker.script.d.ts +99 -0
  48. package/dist/components/ui/date-range-picker/index.d.ts +2 -0
  49. package/dist/components/ui/date-range-picker/index.js +2 -0
  50. package/dist/components/ui/date-range-picker/index.js.map +7 -0
  51. package/dist/components/ui/dialog/dialog.css +1 -1
  52. package/dist/components/ui/feed/feed.css +169 -5
  53. package/dist/components/ui/feed/feed.d.ts +54 -11
  54. package/dist/components/ui/feed/index.d.ts +1 -2
  55. package/dist/components/ui/feed/index.js +1 -1
  56. package/dist/components/ui/feed/index.js.map +4 -4
  57. package/dist/components/ui/field/index.js +1 -1
  58. package/dist/components/ui/field/index.js.map +3 -3
  59. package/dist/components/ui/form/form-field.test.d.ts +1 -0
  60. package/dist/components/ui/form/index.js +1 -1
  61. package/dist/components/ui/form/index.js.map +3 -3
  62. package/dist/components/ui/heading/heading.css +107 -0
  63. package/dist/components/ui/heading/heading.d.ts +30 -0
  64. package/dist/components/ui/heading/index.d.ts +1 -0
  65. package/dist/components/ui/heading/index.js +2 -0
  66. package/dist/components/ui/heading/index.js.map +7 -0
  67. package/dist/components/ui/headline/headline.css +43 -0
  68. package/dist/components/ui/headline/headline.d.ts +16 -0
  69. package/dist/components/ui/headline/index.d.ts +1 -0
  70. package/dist/components/ui/headline/index.js +2 -0
  71. package/dist/components/ui/headline/index.js.map +7 -0
  72. package/dist/components/ui/input/index.js +1 -1
  73. package/dist/components/ui/input/index.js.map +4 -4
  74. package/dist/components/ui/input/input.d.ts +8 -1
  75. package/dist/components/ui/label/index.js +1 -1
  76. package/dist/components/ui/label/index.js.map +2 -2
  77. package/dist/components/ui/listbox/index.d.ts +1 -1
  78. package/dist/components/ui/listbox/index.js +1 -1
  79. package/dist/components/ui/listbox/index.js.map +4 -4
  80. package/dist/components/ui/listbox/listbox.css +34 -10
  81. package/dist/components/ui/listbox/listbox.d.ts +12 -4
  82. package/dist/components/ui/listbox/listbox.script.d.ts +12 -0
  83. package/dist/components/ui/menu-button/index.js +1 -1
  84. package/dist/components/ui/menu-button/index.js.map +4 -4
  85. package/dist/components/ui/menu-button/menu-button.css +24 -8
  86. package/dist/components/ui/menu-button/menu-button.script.d.ts +3 -4
  87. package/dist/components/ui/menubar/index.js +1 -1
  88. package/dist/components/ui/menubar/index.js.map +4 -4
  89. package/dist/components/ui/menubar/menubar.css +40 -22
  90. package/dist/components/ui/menubar/menubar.script.d.ts +6 -1
  91. package/dist/components/ui/number-field/index.d.ts +2 -0
  92. package/dist/components/ui/number-field/index.js +2 -0
  93. package/dist/components/ui/number-field/index.js.map +7 -0
  94. package/dist/components/ui/number-field/number-field.css +185 -0
  95. package/dist/components/ui/number-field/number-field.d.ts +43 -0
  96. package/dist/components/ui/number-field/number-field.script.d.ts +104 -0
  97. package/dist/components/ui/popover/index.d.ts +4 -0
  98. package/dist/components/ui/popover/index.js +2 -0
  99. package/dist/components/ui/popover/index.js.map +7 -0
  100. package/dist/components/ui/popover/popover.css +132 -0
  101. package/dist/components/ui/popover/popover.d.ts +15 -0
  102. package/dist/components/ui/popover/popover.script.d.ts +85 -0
  103. package/dist/components/ui/select/index.d.ts +3 -0
  104. package/dist/components/ui/select/index.js +2 -0
  105. package/dist/components/ui/select/index.js.map +7 -0
  106. package/dist/components/ui/select/select.css +216 -0
  107. package/dist/components/ui/select/select.d.ts +54 -0
  108. package/dist/components/ui/select/select.script.d.ts +106 -0
  109. package/dist/components/ui/shared/collection-navigation.d.ts +8 -0
  110. package/dist/components/ui/shared/collection-navigation.test.d.ts +1 -0
  111. package/dist/components/ui/shared/control-toggle.css +132 -0
  112. package/dist/components/ui/shared/field-label.d.ts +9 -0
  113. package/dist/components/ui/shared/floating-position.d.ts +13 -2
  114. package/dist/components/ui/shared/listbox-popover-behavior.d.ts +47 -0
  115. package/dist/components/ui/shared/listbox-popover-behavior.test.d.ts +1 -0
  116. package/dist/components/ui/shared/multi-value.d.ts +4 -0
  117. package/dist/components/ui/shared/popover-controller.d.ts +35 -0
  118. package/dist/components/ui/shared/popover-controller.test.d.ts +1 -0
  119. package/dist/components/ui/shared/popover.css +123 -0
  120. package/dist/components/ui/shared/portal.d.ts +7 -0
  121. package/dist/components/ui/shared/portal.test.d.ts +1 -0
  122. package/dist/components/ui/sidebar/index.js +1 -1
  123. package/dist/components/ui/sidebar/index.js.map +3 -3
  124. package/dist/components/ui/slider/index.js +1 -1
  125. package/dist/components/ui/slider/index.js.map +3 -3
  126. package/dist/components/ui/slider/slider.script.d.ts +5 -12
  127. package/dist/components/ui/tag-group/index.d.ts +2 -0
  128. package/dist/components/ui/tag-group/index.js +2 -0
  129. package/dist/components/ui/tag-group/index.js.map +7 -0
  130. package/dist/components/ui/tag-group/tag-group.css +184 -0
  131. package/dist/components/ui/tag-group/tag-group.d.ts +28 -0
  132. package/dist/components/ui/tag-group/tag-group.script.d.ts +65 -0
  133. package/dist/components/ui/textarea/index.js +1 -1
  134. package/dist/components/ui/textarea/index.js.map +2 -2
  135. package/dist/components/ui/toc/index.js +1 -1
  136. package/dist/components/ui/toc/index.js.map +3 -3
  137. package/dist/components/ui/toc/toc.css +1 -1
  138. package/dist/components/ui/toc/toc.ssr.test.d.ts +1 -0
  139. package/dist/components/ui/toc/toc.test.d.ts +1 -0
  140. package/dist/components/ui/tooltip/index.js +1 -1
  141. package/dist/components/ui/tooltip/index.js.map +3 -3
  142. package/dist/index.d.ts +14 -1
  143. package/dist/index.js +1 -1
  144. package/dist/index.js.map +4 -4
  145. package/dist/lib/icons/calendar.d.ts +3 -0
  146. package/dist/lib/icons/chevron-down.d.ts +3 -0
  147. package/dist/lib/icons/index.d.ts +3 -0
  148. package/dist/lib/icons/types.d.ts +4 -0
  149. package/dist/lib/intl/locale.d.ts +3 -0
  150. package/dist/lib/intl-date/calendar.d.ts +25 -0
  151. package/dist/lib/intl-date/formatters.d.ts +13 -0
  152. package/dist/lib/intl-date/index.d.ts +12 -0
  153. package/dist/lib/intl-date/iso.d.ts +6 -0
  154. package/dist/lib/intl-date/months.d.ts +12 -0
  155. package/dist/lib/intl-date/parts.d.ts +15 -0
  156. package/dist/lib/intl-date/parts.test.d.ts +1 -0
  157. package/dist/lib/intl-date/segments.d.ts +32 -0
  158. package/dist/lib/intl-date/segments.test.d.ts +1 -0
  159. package/dist/lib/intl-date/selection.d.ts +39 -0
  160. package/dist/lib/intl-date/selection.test.d.ts +1 -0
  161. package/dist/lib/intl-date/types.d.ts +17 -0
  162. package/dist/lib/intl-number/format.d.ts +9 -0
  163. package/dist/lib/intl-number/index.d.ts +2 -0
  164. package/dist/lib/intl-number/range.d.ts +3 -0
  165. package/dist/lib/intrinsic.d.ts +13 -0
  166. package/dist/lib/mask/date-mask.d.ts +29 -0
  167. package/dist/lib/mask/date-mask.test.d.ts +1 -0
  168. package/dist/lib/mask/index.d.ts +4 -0
  169. package/dist/lib/mask/input-mask.d.ts +52 -0
  170. package/dist/lib/mask/input-mask.test.d.ts +1 -0
  171. package/dist/lib/text-filter.d.ts +7 -0
  172. package/dist/lib/text-filter.test.d.ts +1 -0
  173. package/dist/styles/radiant-ui-core.css +131 -1
  174. package/dist/styles/radiant-ui.css +142 -1
  175. package/dist/styles/styles.css +4504 -2395
  176. package/dist/styles/tailwind.css +142 -1
  177. package/dist/styles/tokens/typography/default.css +8 -0
  178. package/package.json +106 -15
  179. package/dist/components/ui/feed/feed.script.d.ts +0 -22
  180. package/dist/components/ui/spinbutton/index.d.ts +0 -2
  181. package/dist/components/ui/spinbutton/index.js +0 -2
  182. package/dist/components/ui/spinbutton/index.js.map +0 -7
  183. package/dist/components/ui/spinbutton/spinbutton.css +0 -69
  184. package/dist/components/ui/spinbutton/spinbutton.d.ts +0 -5
  185. package/dist/components/ui/spinbutton/spinbutton.script.d.ts +0 -64
@@ -10,6 +10,10 @@
10
10
  --text-xs: var(--text-xs);
11
11
  --text-sm: var(--text-sm);
12
12
  --text-lg: var(--text-lg);
13
+ --text-xl: var(--text-xl);
14
+ --text-2xl: var(--text-2xl);
15
+ --text-3xl: var(--text-3xl);
16
+ --text-4xl: var(--text-4xl);
13
17
  --font-weight-medium: var(--weight-medium);
14
18
  --font-weight-semibold: var(--weight-semibold);
15
19
  --radius-md: var(--border-radius-md);
@@ -117,6 +121,9 @@
117
121
  --spacing-4: var(--space-4);
118
122
  --spacing-6: var(--space-6);
119
123
  --spacing-8: var(--space-8);
124
+ --spacing-inline: var(--space-inline);
125
+ --spacing-stack: var(--space-stack);
126
+ --spacing-inset: var(--space-inset);
120
127
  --radius-control: var(--radius-control);
121
128
  --radius-container: var(--radius-container);
122
129
  --radius-pill: var(--radius-pill);
@@ -301,6 +308,17 @@
301
308
  .visible {
302
309
  visibility: visible;
303
310
  }
311
+ .sr-only {
312
+ position: absolute;
313
+ width: 1px;
314
+ height: 1px;
315
+ padding: 0;
316
+ margin: -1px;
317
+ overflow: hidden;
318
+ clip-path: inset(50%);
319
+ white-space: nowrap;
320
+ border-width: 0;
321
+ }
304
322
  .absolute {
305
323
  position: absolute;
306
324
  }
@@ -328,12 +346,27 @@
328
346
  max-width: 96rem;
329
347
  }
330
348
  }
349
+ .m-0 {
350
+ margin: 0px;
351
+ }
352
+ .m-1 {
353
+ margin: var(--spacing-1);
354
+ }
355
+ .mx-auto {
356
+ margin-inline: auto;
357
+ }
331
358
  .mt-1 {
332
359
  margin-top: var(--spacing-1);
333
360
  }
334
361
  .mt-2 {
335
362
  margin-top: var(--spacing-2);
336
363
  }
364
+ .mb-2 {
365
+ margin-bottom: var(--spacing-2);
366
+ }
367
+ .mb-4 {
368
+ margin-bottom: var(--spacing-4);
369
+ }
337
370
  .block {
338
371
  display: block;
339
372
  }
@@ -372,18 +405,42 @@
372
405
  .h-full {
373
406
  height: 100%;
374
407
  }
408
+ .max-h-64 {
409
+ max-height: calc(var(--spacing, 0.25rem) * 64);
410
+ }
411
+ .min-h-72 {
412
+ min-height: calc(var(--spacing, 0.25rem) * 72);
413
+ }
414
+ .w-64 {
415
+ width: calc(var(--spacing, 0.25rem) * 64);
416
+ }
417
+ .w-\[calc\(100\%-0\.5rem\)\] {
418
+ width: calc(100% - 0.5rem);
419
+ }
375
420
  .w-full {
376
421
  width: 100%;
377
422
  }
423
+ .max-w-2xl {
424
+ max-width: var(--container-2xl, 42rem);
425
+ }
378
426
  .max-w-3xl {
379
427
  max-width: var(--container-3xl, 48rem);
380
428
  }
429
+ .max-w-4xl {
430
+ max-width: var(--container-4xl, 56rem);
431
+ }
381
432
  .max-w-5xl {
382
433
  max-width: var(--container-5xl, 64rem);
383
434
  }
435
+ .max-w-md {
436
+ max-width: var(--container-md, 28rem);
437
+ }
384
438
  .max-w-prose {
385
439
  max-width: 65ch;
386
440
  }
441
+ .max-w-xl {
442
+ max-width: var(--container-xl, 36rem);
443
+ }
387
444
  .min-w-0 {
388
445
  min-width: 0px;
389
446
  }
@@ -402,6 +459,9 @@
402
459
  .flex-col {
403
460
  flex-direction: column;
404
461
  }
462
+ .flex-wrap {
463
+ flex-wrap: wrap;
464
+ }
405
465
  .place-items-center {
406
466
  place-items: center;
407
467
  }
@@ -411,6 +471,9 @@
411
471
  .justify-between {
412
472
  justify-content: space-between;
413
473
  }
474
+ .justify-center {
475
+ justify-content: center;
476
+ }
414
477
  .gap-0\.5 {
415
478
  gap: calc(var(--spacing, 0.25rem) * 0.5);
416
479
  }
@@ -429,14 +492,42 @@
429
492
  .gap-4 {
430
493
  gap: var(--spacing-4);
431
494
  }
495
+ .gap-8 {
496
+ gap: var(--spacing-8);
497
+ }
498
+ .gap-10 {
499
+ gap: calc(var(--spacing, 0.25rem) * 10);
500
+ }
501
+ .gap-inline {
502
+ gap: var(--spacing-inline);
503
+ }
504
+ .gap-stack {
505
+ gap: var(--spacing-stack);
506
+ }
507
+ :where(.divide-y > :not(:last-child)) {
508
+ --tw-divide-y-reverse: 0;
509
+ border-bottom-style: var(--tw-border-style);
510
+ border-top-style: var(--tw-border-style);
511
+ border-top-width: calc(1px * var(--tw-divide-y-reverse));
512
+ border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
513
+ }
514
+ :where(.divide-border > :not(:last-child)) {
515
+ border-color: var(--color-border);
516
+ }
432
517
  .truncate {
433
518
  overflow: hidden;
434
519
  text-overflow: ellipsis;
435
520
  white-space: nowrap;
436
521
  }
522
+ .overflow-auto {
523
+ overflow: auto;
524
+ }
437
525
  .overflow-y-auto {
438
526
  overflow-y: auto;
439
527
  }
528
+ .rounded-container {
529
+ border-radius: var(--radius-container);
530
+ }
440
531
  .rounded-control {
441
532
  border-radius: var(--radius-control);
442
533
  }
@@ -455,29 +546,60 @@
455
546
  border-bottom-style: var(--tw-border-style);
456
547
  border-bottom-width: 1px;
457
548
  }
549
+ .border-l-2 {
550
+ border-left-style: var(--tw-border-style);
551
+ border-left-width: 2px;
552
+ }
458
553
  .border-border {
459
554
  border-color: var(--color-border);
460
555
  }
556
+ .border-primary {
557
+ border-color: var(--color-primary);
558
+ }
559
+ .bg-background {
560
+ background-color: var(--color-background);
561
+ }
461
562
  .bg-primary {
462
563
  background-color: var(--color-primary);
463
564
  }
464
565
  .bg-surface {
465
566
  background-color: var(--color-surface);
466
567
  }
568
+ .bg-surface-container-low {
569
+ background-color: var(--color-surface-container-low);
570
+ }
571
+ .p-2 {
572
+ padding: var(--spacing-2);
573
+ }
467
574
  .p-4 {
468
575
  padding: var(--spacing-4);
469
576
  }
577
+ .p-inset {
578
+ padding: var(--spacing-inset);
579
+ }
470
580
  .px-4 {
471
581
  padding-inline: var(--spacing-4);
472
582
  }
583
+ .px-8 {
584
+ padding-inline: var(--spacing-8);
585
+ }
473
586
  .py-2 {
474
587
  padding-block: var(--spacing-2);
475
588
  }
589
+ .py-8 {
590
+ padding-block: var(--spacing-8);
591
+ }
592
+ .py-16 {
593
+ padding-block: calc(var(--spacing, 0.25rem) * 16);
594
+ }
476
595
  .pt-1\.5 {
477
596
  padding-top: calc(var(--spacing, 0.25rem) * 1.5);
478
597
  }
598
+ .pl-6 {
599
+ padding-left: var(--spacing-6);
600
+ }
479
601
  .text-2xl {
480
- font-size: var(--text-2xl, 1.5rem);
602
+ font-size: var(--text-2xl);
481
603
  line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
482
604
  }
483
605
  .text-base {
@@ -551,6 +673,12 @@
551
673
  --tw-duration: 150ms;
552
674
  transition-duration: 150ms;
553
675
  }
676
+ .first\:pt-0:first-child {
677
+ padding-top: 0px;
678
+ }
679
+ .last\:pb-0:last-child {
680
+ padding-bottom: 0px;
681
+ }
554
682
  @media (width >= 40rem) {
555
683
  .sm\:p-6 {
556
684
  padding: var(--spacing-6);
@@ -563,6 +691,9 @@
563
691
  .md\:hidden {
564
692
  display: none;
565
693
  }
694
+ .md\:grid-cols-2 {
695
+ grid-template-columns: repeat(2, minmax(0, 1fr));
696
+ }
566
697
  }
567
698
  @media (width >= 64rem) {
568
699
  .lg\:p-8 {
@@ -834,6 +965,10 @@
834
965
  --text-sm: 0.875rem;
835
966
  --text-body: 1rem;
836
967
  --text-lg: 1.125rem;
968
+ --text-xl: 1.25rem;
969
+ --text-2xl: 1.5rem;
970
+ --text-3xl: 1.875rem;
971
+ --text-4xl: 2.25rem;
837
972
  --text-label: 0.875rem;
838
973
  --text-control: 0.875rem;
839
974
  --leading-body: 1.5;
@@ -1340,6 +1475,11 @@ html.dark[data-rui-colors='ember'] {
1340
1475
  syntax: "*";
1341
1476
  inherits: false;
1342
1477
  }
1478
+ @property --tw-divide-y-reverse {
1479
+ syntax: "*";
1480
+ inherits: false;
1481
+ initial-value: 0;
1482
+ }
1343
1483
  @property --tw-border-style {
1344
1484
  syntax: "*";
1345
1485
  inherits: false;
@@ -1488,6 +1628,7 @@ html.dark[data-rui-colors='ember'] {
1488
1628
  --tw-rotate-z: initial;
1489
1629
  --tw-skew-x: initial;
1490
1630
  --tw-skew-y: initial;
1631
+ --tw-divide-y-reverse: 0;
1491
1632
  --tw-border-style: solid;
1492
1633
  --tw-font-weight: initial;
1493
1634
  --tw-shadow: 0 0 #0000;