@sewadah/selaras 0.2.0 → 0.3.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 (176) hide show
  1. package/README.md +36 -7
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +31 -15
  4. package/dist/runtime/components/Autocomplete.vue +3 -1
  5. package/dist/runtime/components/Badge.d.vue.ts +1 -1
  6. package/dist/runtime/components/Badge.vue.d.ts +1 -1
  7. package/dist/runtime/components/Calendar.d.vue.ts +69 -0
  8. package/dist/runtime/components/Calendar.vue +163 -0
  9. package/dist/runtime/components/Calendar.vue.d.ts +69 -0
  10. package/dist/runtime/components/Callout.vue +12 -1
  11. package/dist/runtime/components/CodeGroup.vue +13 -3
  12. package/dist/runtime/components/CodeTree.d.vue.ts +2 -0
  13. package/dist/runtime/components/CodeTree.vue +52 -1
  14. package/dist/runtime/components/CodeTree.vue.d.ts +2 -0
  15. package/dist/runtime/components/ColorPicker.d.vue.ts +8 -0
  16. package/dist/runtime/components/ColorPicker.vue +66 -45
  17. package/dist/runtime/components/ColorPicker.vue.d.ts +8 -0
  18. package/dist/runtime/components/Column.js +1 -1
  19. package/dist/runtime/components/CommandPalette.d.vue.ts +3 -1
  20. package/dist/runtime/components/CommandPalette.vue +5 -0
  21. package/dist/runtime/components/CommandPalette.vue.d.ts +3 -1
  22. package/dist/runtime/components/ContentNavigation.d.vue.ts +8 -1
  23. package/dist/runtime/components/ContentNavigation.vue +9 -2
  24. package/dist/runtime/components/ContentNavigation.vue.d.ts +8 -1
  25. package/dist/runtime/components/ContentToc.vue +14 -7
  26. package/dist/runtime/components/ContextMenu.d.vue.ts +8 -1
  27. package/dist/runtime/components/ContextMenu.vue +16 -4
  28. package/dist/runtime/components/ContextMenu.vue.d.ts +8 -1
  29. package/dist/runtime/components/DatePicker.d.vue.ts +10 -3
  30. package/dist/runtime/components/DatePicker.vue +24 -16
  31. package/dist/runtime/components/DatePicker.vue.d.ts +10 -3
  32. package/dist/runtime/components/Dropdown.d.vue.ts +33 -6
  33. package/dist/runtime/components/Dropdown.vue +143 -11
  34. package/dist/runtime/components/Dropdown.vue.d.ts +33 -6
  35. package/dist/runtime/components/FileTree.d.vue.ts +2 -0
  36. package/dist/runtime/components/FileTree.vue +8 -4
  37. package/dist/runtime/components/FileTree.vue.d.ts +2 -0
  38. package/dist/runtime/components/FileUpload.vue +1 -1
  39. package/dist/runtime/components/FormField.d.vue.ts +4 -0
  40. package/dist/runtime/components/FormField.vue +19 -4
  41. package/dist/runtime/components/FormField.vue.d.ts +4 -0
  42. package/dist/runtime/components/Input.vue +3 -2
  43. package/dist/runtime/components/Kbd.vue +12 -2
  44. package/dist/runtime/components/NavigationMenu.d.vue.ts +10 -10
  45. package/dist/runtime/components/NavigationMenu.vue +13 -7
  46. package/dist/runtime/components/NavigationMenu.vue.d.ts +10 -10
  47. package/dist/runtime/components/NavigationMenuAccordionItem.vue +5 -1
  48. package/dist/runtime/components/NavigationMenuFlyoutList.vue +7 -4
  49. package/dist/runtime/components/PinInput.vue +1 -1
  50. package/dist/runtime/components/Popover.d.vue.ts +8 -2
  51. package/dist/runtime/components/Popover.vue +9 -4
  52. package/dist/runtime/components/Popover.vue.d.ts +8 -2
  53. package/dist/runtime/components/ProsePre.d.vue.ts +6 -2
  54. package/dist/runtime/components/ProsePre.vue +11 -4
  55. package/dist/runtime/components/ProsePre.vue.d.ts +6 -2
  56. package/dist/runtime/components/Select.vue +3 -1
  57. package/dist/runtime/components/SplitterPanel.d.vue.ts +2 -2
  58. package/dist/runtime/components/SplitterPanel.vue.d.ts +2 -2
  59. package/dist/runtime/components/Table.vue +95 -26
  60. package/dist/runtime/components/Tabs.d.vue.ts +44 -4
  61. package/dist/runtime/components/Tabs.vue +171 -18
  62. package/dist/runtime/components/Tabs.vue.d.ts +44 -4
  63. package/dist/runtime/components/Textarea.vue +3 -2
  64. package/dist/runtime/components/Timeline.d.vue.ts +19 -0
  65. package/dist/runtime/components/Timeline.vue +99 -0
  66. package/dist/runtime/components/Timeline.vue.d.ts +19 -0
  67. package/dist/runtime/components/Toast.d.vue.ts +10 -1
  68. package/dist/runtime/components/Toast.vue +94 -8
  69. package/dist/runtime/components/Toast.vue.d.ts +10 -1
  70. package/dist/runtime/components/Tooltip.d.vue.ts +8 -2
  71. package/dist/runtime/components/Tooltip.vue +9 -4
  72. package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
  73. package/dist/runtime/composables/use-form-field.d.ts +1 -0
  74. package/dist/runtime/composables/use-table.d.ts +3 -0
  75. package/dist/runtime/composables/use-table.js +10 -4
  76. package/dist/runtime/composables/use-toast.js +5 -1
  77. package/dist/runtime/default-colors.css +1 -1
  78. package/dist/runtime/directives/hotkey.d.ts +13 -0
  79. package/dist/runtime/directives/hotkey.js +107 -0
  80. package/dist/runtime/directives/index.d.ts +2 -0
  81. package/dist/runtime/directives/index.js +2 -0
  82. package/dist/runtime/directives/mask.d.ts +30 -0
  83. package/dist/runtime/directives/mask.js +165 -0
  84. package/dist/runtime/internal/ComboboxSelectBase.d.vue.ts +29 -25
  85. package/dist/runtime/internal/ComboboxSelectBase.vue +104 -20
  86. package/dist/runtime/internal/ComboboxSelectBase.vue.d.ts +29 -25
  87. package/dist/runtime/internal/ComboboxSelectBody.d.vue.ts +16 -11
  88. package/dist/runtime/internal/ComboboxSelectBody.vue +49 -10
  89. package/dist/runtime/internal/ComboboxSelectBody.vue.d.ts +16 -11
  90. package/dist/runtime/internal/DatePickerCalendarBody.vue +1 -1
  91. package/dist/runtime/internal/DatePickerRangeCalendarBody.vue +1 -1
  92. package/dist/runtime/internal/ShortcutHint.d.vue.ts +6 -0
  93. package/dist/runtime/internal/ShortcutHint.vue +13 -0
  94. package/dist/runtime/internal/ShortcutHint.vue.d.ts +6 -0
  95. package/dist/runtime/internal/ToastItemRenderer.d.vue.ts +9 -1
  96. package/dist/runtime/internal/ToastItemRenderer.vue +55 -8
  97. package/dist/runtime/internal/ToastItemRenderer.vue.d.ts +9 -1
  98. package/dist/runtime/internal/combobox-select.js +2 -1
  99. package/dist/runtime/internal/programmatic-services.d.ts +2 -0
  100. package/dist/runtime/internal/programmatic-services.js +8 -0
  101. package/dist/runtime/internal/toast-stack.d.ts +36 -0
  102. package/dist/runtime/internal/toast-stack.js +36 -0
  103. package/dist/runtime/structural.css +1 -1
  104. package/dist/runtime/table.d.ts +1 -1
  105. package/dist/runtime/theme/alert-dialog.js +1 -1
  106. package/dist/runtime/theme/avatar.js +7 -7
  107. package/dist/runtime/theme/badge.js +2 -2
  108. package/dist/runtime/theme/calendar.d.ts +86 -0
  109. package/dist/runtime/theme/calendar.js +19 -0
  110. package/dist/runtime/theme/callout.d.ts +0 -12
  111. package/dist/runtime/theme/callout.js +8 -8
  112. package/dist/runtime/theme/checkbox.js +1 -1
  113. package/dist/runtime/theme/code-tree.js +1 -1
  114. package/dist/runtime/theme/command-palette.js +1 -1
  115. package/dist/runtime/theme/content-navigation.d.ts +3 -0
  116. package/dist/runtime/theme/content-navigation.js +1 -0
  117. package/dist/runtime/theme/date-picker.js +1 -1
  118. package/dist/runtime/theme/drawer.js +1 -1
  119. package/dist/runtime/theme/dropdown.d.ts +21 -0
  120. package/dist/runtime/theme/dropdown.js +15 -2
  121. package/dist/runtime/theme/file-tree.js +1 -1
  122. package/dist/runtime/theme/file-upload.js +2 -2
  123. package/dist/runtime/theme/form-field.d.ts +18 -0
  124. package/dist/runtime/theme/form-field.js +6 -1
  125. package/dist/runtime/theme/icon.js +1 -1
  126. package/dist/runtime/theme/input-number.js +1 -1
  127. package/dist/runtime/theme/input.js +1 -1
  128. package/dist/runtime/theme/modal.js +1 -1
  129. package/dist/runtime/theme/pin-input.js +1 -1
  130. package/dist/runtime/theme/progress.js +2 -2
  131. package/dist/runtime/theme/prose.d.ts +6 -0
  132. package/dist/runtime/theme/prose.js +2 -0
  133. package/dist/runtime/theme/radio-group.js +4 -4
  134. package/dist/runtime/theme/rating.js +1 -1
  135. package/dist/runtime/theme/select.js +2 -2
  136. package/dist/runtime/theme/separator.js +1 -1
  137. package/dist/runtime/theme/slideover.js +1 -1
  138. package/dist/runtime/theme/slider.js +2 -2
  139. package/dist/runtime/theme/splitter-resize-handle.js +1 -1
  140. package/dist/runtime/theme/switch.js +1 -1
  141. package/dist/runtime/theme/table.d.ts +27 -0
  142. package/dist/runtime/theme/table.js +11 -2
  143. package/dist/runtime/theme/tabs.d.ts +87 -3
  144. package/dist/runtime/theme/tabs.js +46 -22
  145. package/dist/runtime/theme/textarea.js +1 -1
  146. package/dist/runtime/theme/timeline.d.ts +251 -0
  147. package/dist/runtime/theme/timeline.js +84 -0
  148. package/dist/runtime/theme/toast.d.ts +92 -0
  149. package/dist/runtime/theme/toast.js +29 -7
  150. package/dist/runtime/theme-config.d.ts +12 -1
  151. package/dist/runtime/types/index.d.ts +6 -1
  152. package/dist/runtime/utils/arrow.d.ts +21 -0
  153. package/dist/runtime/utils/arrow.js +10 -0
  154. package/dist/runtime/utils/color-registry.d.ts +3 -1
  155. package/dist/runtime/utils/color-registry.js +4 -0
  156. package/dist/runtime/utils/file-icons.d.ts +8 -0
  157. package/dist/runtime/utils/file-icons.js +133 -0
  158. package/dist/runtime/utils/functional-tokens.d.ts +1 -1
  159. package/dist/runtime/utils/functional-tokens.js +1 -1
  160. package/dist/runtime/utils/icons.d.ts +2 -0
  161. package/dist/runtime/utils/icons.js +2 -0
  162. package/dist/runtime/utils/messages.d.ts +6 -0
  163. package/dist/runtime/utils/messages.js +6 -0
  164. package/dist/runtime/utils/navigation-menu.d.ts +10 -0
  165. package/dist/runtime/utils/navigation-menu.js +3 -0
  166. package/dist/runtime/utils/overlay.d.ts +17 -0
  167. package/dist/runtime/utils/overlay.js +7 -0
  168. package/dist/runtime/utils/seed-colors.d.ts +2 -1
  169. package/dist/runtime/utils/seed-colors.js +24 -16
  170. package/dist/runtime/utils/select-contracts.d.ts +7 -1
  171. package/dist/runtime/utils/table-columns.js +1 -1
  172. package/dist/runtime/utils/table-contracts.d.ts +9 -1
  173. package/dist/runtime/utils/timeline-contracts.d.ts +42 -0
  174. package/dist/runtime/utils/timeline-contracts.js +0 -0
  175. package/dist/tokens/default-colors.tokens.json +100 -100
  176. package/package.json +21 -9
@@ -382,15 +382,15 @@
382
382
  }
383
383
  }
384
384
  },
385
- "emerald": {
385
+ "green": {
386
386
  "50": {
387
387
  "$type": "color",
388
388
  "$value": {
389
389
  "colorSpace": "oklch",
390
390
  "components": [
391
- 0.98,
392
- 0.02,
393
- 148
391
+ 0.982,
392
+ 0.018,
393
+ 155.826
394
394
  ]
395
395
  }
396
396
  },
@@ -399,9 +399,9 @@
399
399
  "$value": {
400
400
  "colorSpace": "oklch",
401
401
  "components": [
402
- 0.95,
403
- 0.045,
404
- 148
402
+ 0.962,
403
+ 0.044,
404
+ 156.743
405
405
  ]
406
406
  }
407
407
  },
@@ -410,9 +410,9 @@
410
410
  "$value": {
411
411
  "colorSpace": "oklch",
412
412
  "components": [
413
- 0.895,
414
- 0.08,
415
- 148
413
+ 0.925,
414
+ 0.084,
415
+ 155.995
416
416
  ]
417
417
  }
418
418
  },
@@ -421,9 +421,9 @@
421
421
  "$value": {
422
422
  "colorSpace": "oklch",
423
423
  "components": [
424
- 0.82,
425
- 0.12,
426
- 148
424
+ 0.871,
425
+ 0.15,
426
+ 154.449
427
427
  ]
428
428
  }
429
429
  },
@@ -432,9 +432,9 @@
432
432
  "$value": {
433
433
  "colorSpace": "oklch",
434
434
  "components": [
435
- 0.735,
436
- 0.155,
437
- 148
435
+ 0.792,
436
+ 0.209,
437
+ 151.711
438
438
  ]
439
439
  }
440
440
  },
@@ -443,9 +443,9 @@
443
443
  "$value": {
444
444
  "colorSpace": "oklch",
445
445
  "components": [
446
- 0.64,
447
- 0.175,
448
- 148
446
+ 0.723,
447
+ 0.219,
448
+ 149.579
449
449
  ]
450
450
  }
451
451
  },
@@ -454,9 +454,9 @@
454
454
  "$value": {
455
455
  "colorSpace": "oklch",
456
456
  "components": [
457
- 0.555,
458
- 0.16,
459
- 148
457
+ 0.627,
458
+ 0.194,
459
+ 149.214
460
460
  ]
461
461
  }
462
462
  },
@@ -465,9 +465,9 @@
465
465
  "$value": {
466
466
  "colorSpace": "oklch",
467
467
  "components": [
468
- 0.47,
469
- 0.14,
470
- 148
468
+ 0.527,
469
+ 0.154,
470
+ 150.069
471
471
  ]
472
472
  }
473
473
  },
@@ -476,9 +476,9 @@
476
476
  "$value": {
477
477
  "colorSpace": "oklch",
478
478
  "components": [
479
- 0.39,
480
- 0.115,
481
- 148
479
+ 0.448,
480
+ 0.119,
481
+ 151.328
482
482
  ]
483
483
  }
484
484
  },
@@ -487,9 +487,9 @@
487
487
  "$value": {
488
488
  "colorSpace": "oklch",
489
489
  "components": [
490
- 0.315,
491
- 0.085,
492
- 148
490
+ 0.393,
491
+ 0.095,
492
+ 152.535
493
493
  ]
494
494
  }
495
495
  },
@@ -498,9 +498,9 @@
498
498
  "$value": {
499
499
  "colorSpace": "oklch",
500
500
  "components": [
501
- 0.225,
502
- 0.055,
503
- 148
501
+ 0.266,
502
+ 0.065,
503
+ 152.934
504
504
  ]
505
505
  }
506
506
  }
@@ -628,15 +628,15 @@
628
628
  }
629
629
  }
630
630
  },
631
- "amber": {
631
+ "yellow": {
632
632
  "50": {
633
633
  "$type": "color",
634
634
  "$value": {
635
635
  "colorSpace": "oklch",
636
636
  "components": [
637
- 0.985,
638
- 0.022,
639
- 88
637
+ 0.987,
638
+ 0.026,
639
+ 102.212
640
640
  ]
641
641
  }
642
642
  },
@@ -645,9 +645,9 @@
645
645
  "$value": {
646
646
  "colorSpace": "oklch",
647
647
  "components": [
648
- 0.96,
649
- 0.055,
650
- 88
648
+ 0.973,
649
+ 0.071,
650
+ 103.193
651
651
  ]
652
652
  }
653
653
  },
@@ -656,9 +656,9 @@
656
656
  "$value": {
657
657
  "colorSpace": "oklch",
658
658
  "components": [
659
- 0.915,
660
- 0.105,
661
- 88
659
+ 0.945,
660
+ 0.129,
661
+ 101.54
662
662
  ]
663
663
  }
664
664
  },
@@ -667,9 +667,9 @@
667
667
  "$value": {
668
668
  "colorSpace": "oklch",
669
669
  "components": [
670
- 0.86,
671
- 0.145,
672
- 88
670
+ 0.905,
671
+ 0.182,
672
+ 98.111
673
673
  ]
674
674
  }
675
675
  },
@@ -678,9 +678,9 @@
678
678
  "$value": {
679
679
  "colorSpace": "oklch",
680
680
  "components": [
681
- 0.81,
682
- 0.165,
683
- 88
681
+ 0.852,
682
+ 0.199,
683
+ 91.936
684
684
  ]
685
685
  }
686
686
  },
@@ -689,9 +689,9 @@
689
689
  "$value": {
690
690
  "colorSpace": "oklch",
691
691
  "components": [
692
- 0.755,
693
- 0.165,
694
- 88
692
+ 0.795,
693
+ 0.184,
694
+ 86.047
695
695
  ]
696
696
  }
697
697
  },
@@ -700,9 +700,9 @@
700
700
  "$value": {
701
701
  "colorSpace": "oklch",
702
702
  "components": [
703
- 0.665,
704
- 0.155,
705
- 88
703
+ 0.681,
704
+ 0.162,
705
+ 75.834
706
706
  ]
707
707
  }
708
708
  },
@@ -711,9 +711,9 @@
711
711
  "$value": {
712
712
  "colorSpace": "oklch",
713
713
  "components": [
714
- 0.565,
714
+ 0.554,
715
715
  0.135,
716
- 88
716
+ 66.442
717
717
  ]
718
718
  }
719
719
  },
@@ -722,9 +722,9 @@
722
722
  "$value": {
723
723
  "colorSpace": "oklch",
724
724
  "components": [
725
- 0.465,
726
- 0.11,
727
- 88
725
+ 0.476,
726
+ 0.114,
727
+ 61.907
728
728
  ]
729
729
  }
730
730
  },
@@ -733,9 +733,9 @@
733
733
  "$value": {
734
734
  "colorSpace": "oklch",
735
735
  "components": [
736
- 0.375,
737
- 0.085,
738
- 88
736
+ 0.421,
737
+ 0.095,
738
+ 57.708
739
739
  ]
740
740
  }
741
741
  },
@@ -744,9 +744,9 @@
744
744
  "$value": {
745
745
  "colorSpace": "oklch",
746
746
  "components": [
747
- 0.255,
748
- 0.055,
749
- 88
747
+ 0.286,
748
+ 0.066,
749
+ 53.813
750
750
  ]
751
751
  }
752
752
  }
@@ -757,9 +757,9 @@
757
757
  "$value": {
758
758
  "colorSpace": "oklch",
759
759
  "components": [
760
- 0.975,
761
- 0.015,
762
- 28
760
+ 0.971,
761
+ 0.013,
762
+ 17.38
763
763
  ]
764
764
  }
765
765
  },
@@ -768,9 +768,9 @@
768
768
  "$value": {
769
769
  "colorSpace": "oklch",
770
770
  "components": [
771
- 0.945,
772
- 0.035,
773
- 28
771
+ 0.936,
772
+ 0.032,
773
+ 17.717
774
774
  ]
775
775
  }
776
776
  },
@@ -779,9 +779,9 @@
779
779
  "$value": {
780
780
  "colorSpace": "oklch",
781
781
  "components": [
782
- 0.89,
783
- 0.07,
784
- 28
782
+ 0.885,
783
+ 0.062,
784
+ 18.334
785
785
  ]
786
786
  }
787
787
  },
@@ -790,9 +790,9 @@
790
790
  "$value": {
791
791
  "colorSpace": "oklch",
792
792
  "components": [
793
- 0.805,
794
- 0.12,
795
- 28
793
+ 0.808,
794
+ 0.114,
795
+ 19.571
796
796
  ]
797
797
  }
798
798
  },
@@ -801,9 +801,9 @@
801
801
  "$value": {
802
802
  "colorSpace": "oklch",
803
803
  "components": [
804
- 0.7,
805
- 0.175,
806
- 28
804
+ 0.704,
805
+ 0.191,
806
+ 22.216
807
807
  ]
808
808
  }
809
809
  },
@@ -812,9 +812,9 @@
812
812
  "$value": {
813
813
  "colorSpace": "oklch",
814
814
  "components": [
815
- 0.6,
816
- 0.205,
817
- 28
815
+ 0.637,
816
+ 0.237,
817
+ 25.331
818
818
  ]
819
819
  }
820
820
  },
@@ -823,9 +823,9 @@
823
823
  "$value": {
824
824
  "colorSpace": "oklch",
825
825
  "components": [
826
- 0.525,
827
- 0.195,
828
- 28
826
+ 0.577,
827
+ 0.245,
828
+ 27.325
829
829
  ]
830
830
  }
831
831
  },
@@ -834,9 +834,9 @@
834
834
  "$value": {
835
835
  "colorSpace": "oklch",
836
836
  "components": [
837
- 0.445,
838
- 0.17,
839
- 28
837
+ 0.505,
838
+ 0.213,
839
+ 27.518
840
840
  ]
841
841
  }
842
842
  },
@@ -845,9 +845,9 @@
845
845
  "$value": {
846
846
  "colorSpace": "oklch",
847
847
  "components": [
848
- 0.365,
849
- 0.135,
850
- 28
848
+ 0.444,
849
+ 0.177,
850
+ 26.899
851
851
  ]
852
852
  }
853
853
  },
@@ -856,9 +856,9 @@
856
856
  "$value": {
857
857
  "colorSpace": "oklch",
858
858
  "components": [
859
- 0.295,
860
- 0.1,
861
- 28
859
+ 0.396,
860
+ 0.141,
861
+ 25.723
862
862
  ]
863
863
  }
864
864
  },
@@ -867,9 +867,9 @@
867
867
  "$value": {
868
868
  "colorSpace": "oklch",
869
869
  "components": [
870
- 0.205,
871
- 0.065,
872
- 28
870
+ 0.258,
871
+ 0.092,
872
+ 26.042
873
873
  ]
874
874
  }
875
875
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sewadah/selaras",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.3.1",
5
5
  "description": "A UI component library for Nuxt, built on Reka UI and Tailwind v4",
6
6
  "author": "Wicaksana Pratama <wicaksanapratama@gmail.com>",
7
7
  "license": "MIT",
@@ -93,16 +93,27 @@
93
93
  "node": "^22.19.0 || ^24.11.0 || >=26.0.0"
94
94
  },
95
95
  "workspaces": [
96
- "playground"
96
+ "docs",
97
+ "packages/docs"
97
98
  ],
98
99
  "scripts": {
99
100
  "prepack": "nuxt-module-build build",
100
- "dev": "bun run dev:prepare && nuxt dev playground",
101
- "dev:build": "nuxt build playground",
102
- "dev:generate": "nuxt generate playground",
103
- "dev:preview": "NODE_ENV=production bun playground/.output/server/index.mjs",
104
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
105
- "release": "bun run lint && bun run test && changelogen --bump && bun run test:release && npm publish --access public && bash scripts/tag-and-push-release.sh && changelogen gh release",
101
+ "dev": "bun run docs:dev",
102
+ "dev:build": "bun run docs:build",
103
+ "dev:generate": "bun run docs:generate",
104
+ "dev:preview": "bunx nuxt preview docs",
105
+ "dev:prepare": "bun run docs:prepare",
106
+ "docs:build": "nuxt build docs",
107
+ "docs:dev": "bun run docs:prepare && nuxt dev docs",
108
+ "docs:generate": "nuxt generate docs",
109
+ "docs:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare docs && bun run scripts/sync-workspace-dist.mjs",
110
+ "docs:types": "cd docs && vue-tsc --noEmit",
111
+ "docs-template:dev": "bun run docs-template:prepare && nuxt dev packages/docs/preview",
112
+ "docs-template:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare packages/docs/preview",
113
+ "release": "bun run release:both",
114
+ "release:both": "bun run release:selaras && bun run release:docs",
115
+ "release:selaras": "bun run lint && bun run test && (if [ -n \"$RELEASE_VERSION\" ]; then npx changelogen --bump -r \"$RELEASE_VERSION\"; elif [ \"${RELEASE_BUMP:-auto}\" = \"auto\" ]; then npx changelogen --bump; else npx changelogen --bump \"--$RELEASE_BUMP\"; fi) && bun run test:release && npm publish --access public && bash scripts/tag-and-push-release.sh selaras && changelogen gh release",
116
+ "release:docs": "node scripts/bump-docs-layer.mjs && node scripts/prepare-docs-layer-release.mjs --verify && bun run test:release && node scripts/prepare-docs-layer-release.mjs && (cd packages/docs && npm publish --access public) && node scripts/prepare-docs-layer-release.mjs --restore && bash scripts/tag-and-push-release.sh selaras-docs",
106
117
  "lint": "eslint .",
107
118
  "lint:fix": "eslint --fix",
108
119
  "test": "vitest run",
@@ -111,7 +122,7 @@
111
122
  "test:compat": "node scripts/test-compatibility.mjs",
112
123
  "test:release": "bun run test:types && SELARAS_PACKED_BROWSER=1 bun run test:compat",
113
124
  "test:watch": "vitest watch",
114
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
125
+ "test:types": "vue-tsc --noEmit && bun run docs:types",
115
126
  "tokens:check": "node scripts/generate-default-colors.mjs --check",
116
127
  "tokens:generate": "node scripts/generate-default-colors.mjs"
117
128
  },
@@ -129,6 +140,7 @@
129
140
  "@tanstack/vue-table": "^9.1.2",
130
141
  "@tanstack/vue-virtual": "^3.13.36",
131
142
  "reka-ui": "^2.2.0",
143
+ "shiki": "^4.4.3",
132
144
  "tailwind-merge": "^3.6.0",
133
145
  "tailwind-variants": "^3.3.1",
134
146
  "tw-animate-css": "^1.4.0"