@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.
- package/README.md +36 -7
- package/dist/module.json +1 -1
- package/dist/module.mjs +31 -15
- package/dist/runtime/components/Autocomplete.vue +3 -1
- package/dist/runtime/components/Badge.d.vue.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.d.vue.ts +69 -0
- package/dist/runtime/components/Calendar.vue +163 -0
- package/dist/runtime/components/Calendar.vue.d.ts +69 -0
- package/dist/runtime/components/Callout.vue +12 -1
- package/dist/runtime/components/CodeGroup.vue +13 -3
- package/dist/runtime/components/CodeTree.d.vue.ts +2 -0
- package/dist/runtime/components/CodeTree.vue +52 -1
- package/dist/runtime/components/CodeTree.vue.d.ts +2 -0
- package/dist/runtime/components/ColorPicker.d.vue.ts +8 -0
- package/dist/runtime/components/ColorPicker.vue +66 -45
- package/dist/runtime/components/ColorPicker.vue.d.ts +8 -0
- package/dist/runtime/components/Column.js +1 -1
- package/dist/runtime/components/CommandPalette.d.vue.ts +3 -1
- package/dist/runtime/components/CommandPalette.vue +5 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +3 -1
- package/dist/runtime/components/ContentNavigation.d.vue.ts +8 -1
- package/dist/runtime/components/ContentNavigation.vue +9 -2
- package/dist/runtime/components/ContentNavigation.vue.d.ts +8 -1
- package/dist/runtime/components/ContentToc.vue +14 -7
- package/dist/runtime/components/ContextMenu.d.vue.ts +8 -1
- package/dist/runtime/components/ContextMenu.vue +16 -4
- package/dist/runtime/components/ContextMenu.vue.d.ts +8 -1
- package/dist/runtime/components/DatePicker.d.vue.ts +10 -3
- package/dist/runtime/components/DatePicker.vue +24 -16
- package/dist/runtime/components/DatePicker.vue.d.ts +10 -3
- package/dist/runtime/components/Dropdown.d.vue.ts +33 -6
- package/dist/runtime/components/Dropdown.vue +143 -11
- package/dist/runtime/components/Dropdown.vue.d.ts +33 -6
- package/dist/runtime/components/FileTree.d.vue.ts +2 -0
- package/dist/runtime/components/FileTree.vue +8 -4
- package/dist/runtime/components/FileTree.vue.d.ts +2 -0
- package/dist/runtime/components/FileUpload.vue +1 -1
- package/dist/runtime/components/FormField.d.vue.ts +4 -0
- package/dist/runtime/components/FormField.vue +19 -4
- package/dist/runtime/components/FormField.vue.d.ts +4 -0
- package/dist/runtime/components/Input.vue +3 -2
- package/dist/runtime/components/Kbd.vue +12 -2
- package/dist/runtime/components/NavigationMenu.d.vue.ts +10 -10
- package/dist/runtime/components/NavigationMenu.vue +13 -7
- package/dist/runtime/components/NavigationMenu.vue.d.ts +10 -10
- package/dist/runtime/components/NavigationMenuAccordionItem.vue +5 -1
- package/dist/runtime/components/NavigationMenuFlyoutList.vue +7 -4
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/Popover.d.vue.ts +8 -2
- package/dist/runtime/components/Popover.vue +9 -4
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/ProsePre.d.vue.ts +6 -2
- package/dist/runtime/components/ProsePre.vue +11 -4
- package/dist/runtime/components/ProsePre.vue.d.ts +6 -2
- package/dist/runtime/components/Select.vue +3 -1
- package/dist/runtime/components/SplitterPanel.d.vue.ts +2 -2
- package/dist/runtime/components/SplitterPanel.vue.d.ts +2 -2
- package/dist/runtime/components/Table.vue +95 -26
- package/dist/runtime/components/Tabs.d.vue.ts +44 -4
- package/dist/runtime/components/Tabs.vue +171 -18
- package/dist/runtime/components/Tabs.vue.d.ts +44 -4
- package/dist/runtime/components/Textarea.vue +3 -2
- package/dist/runtime/components/Timeline.d.vue.ts +19 -0
- package/dist/runtime/components/Timeline.vue +99 -0
- package/dist/runtime/components/Timeline.vue.d.ts +19 -0
- package/dist/runtime/components/Toast.d.vue.ts +10 -1
- package/dist/runtime/components/Toast.vue +94 -8
- package/dist/runtime/components/Toast.vue.d.ts +10 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +8 -2
- package/dist/runtime/components/Tooltip.vue +9 -4
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/composables/use-form-field.d.ts +1 -0
- package/dist/runtime/composables/use-table.d.ts +3 -0
- package/dist/runtime/composables/use-table.js +10 -4
- package/dist/runtime/composables/use-toast.js +5 -1
- package/dist/runtime/default-colors.css +1 -1
- package/dist/runtime/directives/hotkey.d.ts +13 -0
- package/dist/runtime/directives/hotkey.js +107 -0
- package/dist/runtime/directives/index.d.ts +2 -0
- package/dist/runtime/directives/index.js +2 -0
- package/dist/runtime/directives/mask.d.ts +30 -0
- package/dist/runtime/directives/mask.js +165 -0
- package/dist/runtime/internal/ComboboxSelectBase.d.vue.ts +29 -25
- package/dist/runtime/internal/ComboboxSelectBase.vue +104 -20
- package/dist/runtime/internal/ComboboxSelectBase.vue.d.ts +29 -25
- package/dist/runtime/internal/ComboboxSelectBody.d.vue.ts +16 -11
- package/dist/runtime/internal/ComboboxSelectBody.vue +49 -10
- package/dist/runtime/internal/ComboboxSelectBody.vue.d.ts +16 -11
- package/dist/runtime/internal/DatePickerCalendarBody.vue +1 -1
- package/dist/runtime/internal/DatePickerRangeCalendarBody.vue +1 -1
- package/dist/runtime/internal/ShortcutHint.d.vue.ts +6 -0
- package/dist/runtime/internal/ShortcutHint.vue +13 -0
- package/dist/runtime/internal/ShortcutHint.vue.d.ts +6 -0
- package/dist/runtime/internal/ToastItemRenderer.d.vue.ts +9 -1
- package/dist/runtime/internal/ToastItemRenderer.vue +55 -8
- package/dist/runtime/internal/ToastItemRenderer.vue.d.ts +9 -1
- package/dist/runtime/internal/combobox-select.js +2 -1
- package/dist/runtime/internal/programmatic-services.d.ts +2 -0
- package/dist/runtime/internal/programmatic-services.js +8 -0
- package/dist/runtime/internal/toast-stack.d.ts +36 -0
- package/dist/runtime/internal/toast-stack.js +36 -0
- package/dist/runtime/structural.css +1 -1
- package/dist/runtime/table.d.ts +1 -1
- package/dist/runtime/theme/alert-dialog.js +1 -1
- package/dist/runtime/theme/avatar.js +7 -7
- package/dist/runtime/theme/badge.js +2 -2
- package/dist/runtime/theme/calendar.d.ts +86 -0
- package/dist/runtime/theme/calendar.js +19 -0
- package/dist/runtime/theme/callout.d.ts +0 -12
- package/dist/runtime/theme/callout.js +8 -8
- package/dist/runtime/theme/checkbox.js +1 -1
- package/dist/runtime/theme/code-tree.js +1 -1
- package/dist/runtime/theme/command-palette.js +1 -1
- package/dist/runtime/theme/content-navigation.d.ts +3 -0
- package/dist/runtime/theme/content-navigation.js +1 -0
- package/dist/runtime/theme/date-picker.js +1 -1
- package/dist/runtime/theme/drawer.js +1 -1
- package/dist/runtime/theme/dropdown.d.ts +21 -0
- package/dist/runtime/theme/dropdown.js +15 -2
- package/dist/runtime/theme/file-tree.js +1 -1
- package/dist/runtime/theme/file-upload.js +2 -2
- package/dist/runtime/theme/form-field.d.ts +18 -0
- package/dist/runtime/theme/form-field.js +6 -1
- package/dist/runtime/theme/icon.js +1 -1
- package/dist/runtime/theme/input-number.js +1 -1
- package/dist/runtime/theme/input.js +1 -1
- package/dist/runtime/theme/modal.js +1 -1
- package/dist/runtime/theme/pin-input.js +1 -1
- package/dist/runtime/theme/progress.js +2 -2
- package/dist/runtime/theme/prose.d.ts +6 -0
- package/dist/runtime/theme/prose.js +2 -0
- package/dist/runtime/theme/radio-group.js +4 -4
- package/dist/runtime/theme/rating.js +1 -1
- package/dist/runtime/theme/select.js +2 -2
- package/dist/runtime/theme/separator.js +1 -1
- package/dist/runtime/theme/slideover.js +1 -1
- package/dist/runtime/theme/slider.js +2 -2
- package/dist/runtime/theme/splitter-resize-handle.js +1 -1
- package/dist/runtime/theme/switch.js +1 -1
- package/dist/runtime/theme/table.d.ts +27 -0
- package/dist/runtime/theme/table.js +11 -2
- package/dist/runtime/theme/tabs.d.ts +87 -3
- package/dist/runtime/theme/tabs.js +46 -22
- package/dist/runtime/theme/textarea.js +1 -1
- package/dist/runtime/theme/timeline.d.ts +251 -0
- package/dist/runtime/theme/timeline.js +84 -0
- package/dist/runtime/theme/toast.d.ts +92 -0
- package/dist/runtime/theme/toast.js +29 -7
- package/dist/runtime/theme-config.d.ts +12 -1
- package/dist/runtime/types/index.d.ts +6 -1
- package/dist/runtime/utils/arrow.d.ts +21 -0
- package/dist/runtime/utils/arrow.js +10 -0
- package/dist/runtime/utils/color-registry.d.ts +3 -1
- package/dist/runtime/utils/color-registry.js +4 -0
- package/dist/runtime/utils/file-icons.d.ts +8 -0
- package/dist/runtime/utils/file-icons.js +133 -0
- package/dist/runtime/utils/functional-tokens.d.ts +1 -1
- package/dist/runtime/utils/functional-tokens.js +1 -1
- package/dist/runtime/utils/icons.d.ts +2 -0
- package/dist/runtime/utils/icons.js +2 -0
- package/dist/runtime/utils/messages.d.ts +6 -0
- package/dist/runtime/utils/messages.js +6 -0
- package/dist/runtime/utils/navigation-menu.d.ts +10 -0
- package/dist/runtime/utils/navigation-menu.js +3 -0
- package/dist/runtime/utils/overlay.d.ts +17 -0
- package/dist/runtime/utils/overlay.js +7 -0
- package/dist/runtime/utils/seed-colors.d.ts +2 -1
- package/dist/runtime/utils/seed-colors.js +24 -16
- package/dist/runtime/utils/select-contracts.d.ts +7 -1
- package/dist/runtime/utils/table-columns.js +1 -1
- package/dist/runtime/utils/table-contracts.d.ts +9 -1
- package/dist/runtime/utils/timeline-contracts.d.ts +42 -0
- package/dist/runtime/utils/timeline-contracts.js +0 -0
- package/dist/tokens/default-colors.tokens.json +100 -100
- package/package.json +21 -9
|
@@ -382,15 +382,15 @@
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
|
-
"
|
|
385
|
+
"green": {
|
|
386
386
|
"50": {
|
|
387
387
|
"$type": "color",
|
|
388
388
|
"$value": {
|
|
389
389
|
"colorSpace": "oklch",
|
|
390
390
|
"components": [
|
|
391
|
-
0.
|
|
392
|
-
0.
|
|
393
|
-
|
|
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.
|
|
403
|
-
0.
|
|
404
|
-
|
|
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.
|
|
414
|
-
0.
|
|
415
|
-
|
|
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.
|
|
425
|
-
0.
|
|
426
|
-
|
|
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.
|
|
436
|
-
0.
|
|
437
|
-
|
|
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.
|
|
447
|
-
0.
|
|
448
|
-
|
|
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.
|
|
458
|
-
0.
|
|
459
|
-
|
|
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.
|
|
469
|
-
0.
|
|
470
|
-
|
|
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.
|
|
480
|
-
0.
|
|
481
|
-
|
|
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.
|
|
491
|
-
0.
|
|
492
|
-
|
|
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.
|
|
502
|
-
0.
|
|
503
|
-
|
|
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
|
-
"
|
|
631
|
+
"yellow": {
|
|
632
632
|
"50": {
|
|
633
633
|
"$type": "color",
|
|
634
634
|
"$value": {
|
|
635
635
|
"colorSpace": "oklch",
|
|
636
636
|
"components": [
|
|
637
|
-
0.
|
|
638
|
-
0.
|
|
639
|
-
|
|
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.
|
|
649
|
-
0.
|
|
650
|
-
|
|
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.
|
|
660
|
-
0.
|
|
661
|
-
|
|
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.
|
|
671
|
-
0.
|
|
672
|
-
|
|
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.
|
|
682
|
-
0.
|
|
683
|
-
|
|
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.
|
|
693
|
-
0.
|
|
694
|
-
|
|
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.
|
|
704
|
-
0.
|
|
705
|
-
|
|
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.
|
|
714
|
+
0.554,
|
|
715
715
|
0.135,
|
|
716
|
-
|
|
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.
|
|
726
|
-
0.
|
|
727
|
-
|
|
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.
|
|
737
|
-
0.
|
|
738
|
-
|
|
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.
|
|
748
|
-
0.
|
|
749
|
-
|
|
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.
|
|
761
|
-
0.
|
|
762
|
-
|
|
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.
|
|
772
|
-
0.
|
|
773
|
-
|
|
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.
|
|
783
|
-
0.
|
|
784
|
-
|
|
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.
|
|
794
|
-
0.
|
|
795
|
-
|
|
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.
|
|
805
|
-
0.
|
|
806
|
-
|
|
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.
|
|
816
|
-
0.
|
|
817
|
-
|
|
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.
|
|
827
|
-
0.
|
|
828
|
-
|
|
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.
|
|
838
|
-
0.
|
|
839
|
-
|
|
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.
|
|
849
|
-
0.
|
|
850
|
-
|
|
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.
|
|
860
|
-
0.
|
|
861
|
-
|
|
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.
|
|
871
|
-
0.
|
|
872
|
-
|
|
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.
|
|
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
|
-
"
|
|
96
|
+
"docs",
|
|
97
|
+
"packages/docs"
|
|
97
98
|
],
|
|
98
99
|
"scripts": {
|
|
99
100
|
"prepack": "nuxt-module-build build",
|
|
100
|
-
"dev": "bun run
|
|
101
|
-
"dev:build": "
|
|
102
|
-
"dev:generate": "
|
|
103
|
-
"dev:preview": "
|
|
104
|
-
"dev:prepare": "
|
|
105
|
-
"
|
|
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 &&
|
|
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"
|