@aleph-alpha/ui-library 5.3.1 → 5.4.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 (90) hide show
  1. package/config.d.ts +29 -3
  2. package/config.js +91 -3
  3. package/dist/system/lib.js +5246 -5152
  4. package/dist/system/patterns/UiDataTable/UiDataTableFilterMenu.vue.d.ts +24 -0
  5. package/dist/system/patterns/UiDataTable/constants.d.ts +10 -0
  6. package/dist/system/patterns/UiDataTable/index.d.ts +1 -0
  7. package/dist/system/patterns/UiDataTable/types.d.ts +23 -1
  8. package/docs/public-docs/getting-started-designers.md +3 -1
  9. package/package.json +1 -1
  10. package/src/components/UiAutocomplete/UiAutocomplete.stories.ts +1 -1
  11. package/src/components/UiAutocomplete/UiAutocomplete.vue +5 -5
  12. package/src/components/UiButton/UiButton.stories.ts +5 -5
  13. package/src/components/UiCheckbox/UiCheckbox.stories.ts +7 -9
  14. package/src/components/UiChip/UiChip.vue +1 -1
  15. package/src/components/UiDrawer/UiDrawer.stories.ts +2 -2
  16. package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +4 -4
  17. package/src/components/UiEmpty/UiEmpty.vue +2 -2
  18. package/src/components/UiField/UiField.stories.ts +2 -2
  19. package/src/components/UiField/UiFieldLabelInfo.vue +1 -1
  20. package/src/components/UiFileUploadBox/UiFileUploadBox.stories.ts +2 -2
  21. package/src/components/UiFileUploadBox/UiFileUploadBox.vue +2 -2
  22. package/src/components/UiInput/UiInput.vue +3 -3
  23. package/src/components/UiKbd/UiKbd.stories.ts +14 -14
  24. package/src/components/UiNavigationMenu/UiNavigationMenu.stories.ts +42 -42
  25. package/src/components/UiPopover/UiPopover.stories.ts +6 -6
  26. package/src/components/UiRadioGroup/UiRadioGroup.stories.ts +2 -2
  27. package/src/components/UiResizable/UiResizable.stories.ts +6 -5
  28. package/src/components/UiSeparator/UiSeparator.stories.ts +6 -6
  29. package/src/components/UiSheet/UiSheet.stories.ts +2 -2
  30. package/src/components/UiSlider/UiSlider.stories.ts +8 -8
  31. package/src/components/UiSpinner/UiSpinner.stories.ts +8 -8
  32. package/src/components/UiSwitch/UiSwitch.stories.ts +2 -2
  33. package/src/components/UiTabs/UiTabs.stories.ts +30 -30
  34. package/src/components/UiToggle/__tests__/UiToggle.test.ts +5 -3
  35. package/src/components/UiToggleGroup/UiToggleGroup.stories.ts +9 -9
  36. package/src/components/UiTooltip/UiTooltip.stories.ts +3 -3
  37. package/src/components/core/accordion/AccordionTrigger.vue +2 -2
  38. package/src/components/core/alert/AlertDescription.vue +1 -1
  39. package/src/components/core/badge/index.ts +1 -1
  40. package/src/components/core/button/index.ts +2 -2
  41. package/src/components/core/calendar/CalendarCellTrigger.vue +2 -2
  42. package/src/components/core/calendar/CalendarHeadCell.vue +1 -1
  43. package/src/components/core/card/CardDescription.vue +1 -1
  44. package/src/components/core/checkbox/Checkbox.vue +1 -1
  45. package/src/components/core/drawer/DrawerDescription.vue +1 -1
  46. package/src/components/core/dropdown-menu/DropdownMenuItem.vue +1 -1
  47. package/src/components/core/dropdown-menu/DropdownMenuShortcut.vue +1 -1
  48. package/src/components/core/field/FieldDescription.vue +1 -1
  49. package/src/components/core/field/FieldLabel.vue +1 -1
  50. package/src/components/core/field/FieldSeparator.vue +1 -1
  51. package/src/components/core/input/Input.vue +2 -2
  52. package/src/components/core/item/index.ts +1 -1
  53. package/src/components/core/kbd/Kbd.vue +1 -1
  54. package/src/components/core/listbox/ListboxFilter.vue +1 -1
  55. package/src/components/core/listbox/ListboxGroupLabel.vue +4 -1
  56. package/src/components/core/listbox/ListboxItem.vue +1 -1
  57. package/src/components/core/native-select/NativeSelect.vue +3 -3
  58. package/src/components/core/navigation-menu/NavigationMenuLink.vue +1 -1
  59. package/src/components/core/navigation-menu/index.ts +1 -1
  60. package/src/components/core/radio-group/RadioGroupItem.vue +1 -1
  61. package/src/components/core/range-calendar/RangeCalendarCellTrigger.vue +2 -2
  62. package/src/components/core/range-calendar/RangeCalendarHeadCell.vue +1 -1
  63. package/src/components/core/select/SelectItem.vue +1 -1
  64. package/src/components/core/select/SelectLabel.vue +4 -1
  65. package/src/components/core/select/SelectTrigger.vue +1 -1
  66. package/src/components/core/sheet/SheetDescription.vue +3 -1
  67. package/src/components/core/switch/Switch.vue +1 -1
  68. package/src/components/core/table/TableCaption.vue +3 -1
  69. package/src/components/core/tabs/TabsList.vue +1 -1
  70. package/src/components/core/tabs/TabsTrigger.vue +1 -1
  71. package/src/components/core/tags-input/TagsInput.vue +1 -1
  72. package/src/components/core/tags-input/TagsInputInput.vue +1 -1
  73. package/src/components/core/tags-input/TagsInputItemDelete.vue +1 -1
  74. package/src/components/core/textarea/Textarea.vue +1 -1
  75. package/src/components/core/toggle/index.ts +3 -3
  76. package/src/components/core/toggle-group/index.ts +2 -2
  77. package/src/lib/useDrag.stories.ts +8 -8
  78. package/src/patterns/UiDataTable/UiDataTable.stories.ts +420 -10
  79. package/src/patterns/UiDataTable/UiDataTableColumnFilter.vue +1 -1
  80. package/src/patterns/UiDataTable/UiDataTableFilterMenu.vue +91 -0
  81. package/src/patterns/UiDataTable/UiDataTablePagination.vue +1 -1
  82. package/src/patterns/UiDataTable/constants.ts +12 -0
  83. package/src/patterns/UiDataTable/index.ts +1 -0
  84. package/src/patterns/UiDataTable/types.ts +24 -0
  85. package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +4 -4
  86. package/src/patterns/UiDatePicker/UiDatePicker.vue +1 -1
  87. package/src/patterns/UiFloatActions/UiFloatActionItems.vue +4 -3
  88. package/src/patterns/UiFloatActions/UiFloatActions.stories.ts +353 -447
  89. package/src/patterns/UiFloatActions/UiFloatActions.vue +1 -1
  90. package/src/patterns/UiSidebar/UiSidebarMenuButton.stories.ts +2 -2
@@ -137,19 +137,19 @@ const value = ref('')
137
137
  <li>
138
138
  <UiNavigationMenuLink href="#">
139
139
  <div class="body-14-medium">Analytics</div>
140
- <p class="body-14-regular text-muted-foreground">Track your metrics and KPIs</p>
140
+ <p class="body-14-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
141
141
  </UiNavigationMenuLink>
142
142
  </li>
143
143
  <li>
144
144
  <UiNavigationMenuLink href="#">
145
145
  <div class="body-14-medium">Automation</div>
146
- <p class="body-14-regular text-muted-foreground">Streamline your workflows</p>
146
+ <p class="body-14-regular text-content-on-surface-muted">Streamline your workflows</p>
147
147
  </UiNavigationMenuLink>
148
148
  </li>
149
149
  <li>
150
150
  <UiNavigationMenuLink href="#">
151
151
  <div class="body-14-medium">Integrations</div>
152
- <p class="body-14-regular text-muted-foreground">Connect with your favorite tools</p>
152
+ <p class="body-14-regular text-content-on-surface-muted">Connect with your favorite tools</p>
153
153
  </UiNavigationMenuLink>
154
154
  </li>
155
155
  </ul>
@@ -202,19 +202,19 @@ export const Default: Story = {
202
202
  <li>
203
203
  <UiNavigationMenuLink href="#">
204
204
  <div class="body-14-medium">Analytics</div>
205
- <p class="body-14-regular text-muted-foreground">Track your metrics and KPIs</p>
205
+ <p class="body-14-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
206
206
  </UiNavigationMenuLink>
207
207
  </li>
208
208
  <li>
209
209
  <UiNavigationMenuLink href="#">
210
210
  <div class="body-14-medium">Automation</div>
211
- <p class="body-14-regular text-muted-foreground">Streamline your workflows</p>
211
+ <p class="body-14-regular text-content-on-surface-muted">Streamline your workflows</p>
212
212
  </UiNavigationMenuLink>
213
213
  </li>
214
214
  <li>
215
215
  <UiNavigationMenuLink href="#">
216
216
  <div class="body-14-medium">Integrations</div>
217
- <p class="body-14-regular text-muted-foreground">Connect with your favorite tools</p>
217
+ <p class="body-14-regular text-content-on-surface-muted">Connect with your favorite tools</p>
218
218
  </UiNavigationMenuLink>
219
219
  </li>
220
220
  </ul>
@@ -333,13 +333,13 @@ const value = ref('')
333
333
  <li>
334
334
  <UiNavigationMenuLink href="#">
335
335
  <div class="body-14-medium">Introduction</div>
336
- <p class="body-14-regular text-muted-foreground">Learn the basics</p>
336
+ <p class="body-14-regular text-content-on-surface-muted">Learn the basics</p>
337
337
  </UiNavigationMenuLink>
338
338
  </li>
339
339
  <li>
340
340
  <UiNavigationMenuLink href="#">
341
341
  <div class="body-14-medium">Installation</div>
342
- <p class="body-14-regular text-muted-foreground">Get up and running</p>
342
+ <p class="body-14-regular text-content-on-surface-muted">Get up and running</p>
343
343
  </UiNavigationMenuLink>
344
344
  </li>
345
345
  </ul>
@@ -353,13 +353,13 @@ const value = ref('')
353
353
  <li>
354
354
  <UiNavigationMenuLink href="#">
355
355
  <div class="body-14-medium">Buttons</div>
356
- <p class="body-14-regular text-muted-foreground">Interactive elements</p>
356
+ <p class="body-14-regular text-content-on-surface-muted">Interactive elements</p>
357
357
  </UiNavigationMenuLink>
358
358
  </li>
359
359
  <li>
360
360
  <UiNavigationMenuLink href="#">
361
361
  <div class="body-14-medium">Forms</div>
362
- <p class="body-14-regular text-muted-foreground">Input components</p>
362
+ <p class="body-14-regular text-content-on-surface-muted">Input components</p>
363
363
  </UiNavigationMenuLink>
364
364
  </li>
365
365
  </ul>
@@ -404,13 +404,13 @@ export const WithIndicator: Story = {
404
404
  <li>
405
405
  <UiNavigationMenuLink href="#">
406
406
  <div class="body-14-medium">Introduction</div>
407
- <p class="body-14-regular text-muted-foreground">Learn the basics</p>
407
+ <p class="body-14-regular text-content-on-surface-muted">Learn the basics</p>
408
408
  </UiNavigationMenuLink>
409
409
  </li>
410
410
  <li>
411
411
  <UiNavigationMenuLink href="#">
412
412
  <div class="body-14-medium">Installation</div>
413
- <p class="body-14-regular text-muted-foreground">Get up and running</p>
413
+ <p class="body-14-regular text-content-on-surface-muted">Get up and running</p>
414
414
  </UiNavigationMenuLink>
415
415
  </li>
416
416
  </ul>
@@ -424,13 +424,13 @@ export const WithIndicator: Story = {
424
424
  <li>
425
425
  <UiNavigationMenuLink href="#">
426
426
  <div class="body-14-medium">Buttons</div>
427
- <p class="body-14-regular text-muted-foreground">Interactive elements</p>
427
+ <p class="body-14-regular text-content-on-surface-muted">Interactive elements</p>
428
428
  </UiNavigationMenuLink>
429
429
  </li>
430
430
  <li>
431
431
  <UiNavigationMenuLink href="#">
432
432
  <div class="body-14-medium">Forms</div>
433
- <p class="body-14-regular text-muted-foreground">Input components</p>
433
+ <p class="body-14-regular text-content-on-surface-muted">Input components</p>
434
434
  </UiNavigationMenuLink>
435
435
  </li>
436
436
  </ul>
@@ -596,7 +596,7 @@ const value = ref('')
596
596
  <div class="grid gap-3 p-6 w-[600px] grid-cols-[.75fr_1fr]">
597
597
  <div class="row-span-3 rounded-md bg-gradient-to-b from-muted/50 to-muted p-6">
598
598
  <div class="mb-2 heading-s">Featured</div>
599
- <p class="body-14-regular text-muted-foreground mb-4">
599
+ <p class="body-14-regular text-content-on-surface-muted mb-4">
600
600
  Our most popular product with advanced features and integrations.
601
601
  </p>
602
602
  <UiNavigationMenuLink href="#" class="label-14-medium text-primary hover:underline">
@@ -607,19 +607,19 @@ const value = ref('')
607
607
  <li>
608
608
  <UiNavigationMenuLink href="#">
609
609
  <div class="label-14-medium">Analytics Platform</div>
610
- <p class="body-14-regular text-muted-foreground">Real-time insights and reporting</p>
610
+ <p class="body-14-regular text-content-on-surface-muted">Real-time insights and reporting</p>
611
611
  </UiNavigationMenuLink>
612
612
  </li>
613
613
  <li>
614
614
  <UiNavigationMenuLink href="#">
615
615
  <div class="label-14-medium">Automation Suite</div>
616
- <p class="body-14-regular text-muted-foreground">Workflow automation tools</p>
616
+ <p class="body-14-regular text-content-on-surface-muted">Workflow automation tools</p>
617
617
  </UiNavigationMenuLink>
618
618
  </li>
619
619
  <li>
620
620
  <UiNavigationMenuLink href="#">
621
621
  <div class="label-14-medium">Developer API</div>
622
- <p class="body-14-regular text-muted-foreground">Build custom integrations</p>
622
+ <p class="body-14-regular text-content-on-surface-muted">Build custom integrations</p>
623
623
  </UiNavigationMenuLink>
624
624
  </li>
625
625
  </ul>
@@ -634,25 +634,25 @@ const value = ref('')
634
634
  <li>
635
635
  <UiNavigationMenuLink href="#">
636
636
  <div class="label-14-medium">Documentation</div>
637
- <p class="body-14-regular text-muted-foreground">Guides and API reference</p>
637
+ <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
638
638
  </UiNavigationMenuLink>
639
639
  </li>
640
640
  <li>
641
641
  <UiNavigationMenuLink href="#">
642
642
  <div class="label-14-medium">Blog</div>
643
- <p class="body-14-regular text-muted-foreground">Latest news and updates</p>
643
+ <p class="body-14-regular text-content-on-surface-muted">Latest news and updates</p>
644
644
  </UiNavigationMenuLink>
645
645
  </li>
646
646
  <li>
647
647
  <UiNavigationMenuLink href="#">
648
648
  <div class="label-14-medium">Community</div>
649
- <p class="body-14-regular text-muted-foreground">Join the discussion</p>
649
+ <p class="body-14-regular text-content-on-surface-muted">Join the discussion</p>
650
650
  </UiNavigationMenuLink>
651
651
  </li>
652
652
  <li>
653
653
  <UiNavigationMenuLink href="#">
654
654
  <div class="label-14-medium">Support</div>
655
- <p class="body-14-regular text-muted-foreground">Get help from our team</p>
655
+ <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
656
656
  </UiNavigationMenuLink>
657
657
  </li>
658
658
  </ul>
@@ -697,7 +697,7 @@ export const WithCustomContent: Story = {
697
697
  <div class="grid gap-3 p-6 w-[600px] grid-cols-[.75fr_1fr]">
698
698
  <div class="row-span-3 rounded-md bg-gradient-to-b from-muted/50 to-muted p-6">
699
699
  <div class="mb-2 heading-s">Featured</div>
700
- <p class="body-14-regular text-muted-foreground mb-4">
700
+ <p class="body-14-regular text-content-on-surface-muted mb-4">
701
701
  Our most popular product with advanced features and integrations.
702
702
  </p>
703
703
  <UiNavigationMenuLink href="#" class="label-14-medium text-primary hover:underline">
@@ -708,19 +708,19 @@ export const WithCustomContent: Story = {
708
708
  <li>
709
709
  <UiNavigationMenuLink href="#">
710
710
  <div class="label-14-medium">Analytics Platform</div>
711
- <p class="body-14-regular text-muted-foreground">Real-time insights and reporting</p>
711
+ <p class="body-14-regular text-content-on-surface-muted">Real-time insights and reporting</p>
712
712
  </UiNavigationMenuLink>
713
713
  </li>
714
714
  <li>
715
715
  <UiNavigationMenuLink href="#">
716
716
  <div class="label-14-medium">Automation Suite</div>
717
- <p class="body-14-regular text-muted-foreground">Workflow automation tools</p>
717
+ <p class="body-14-regular text-content-on-surface-muted">Workflow automation tools</p>
718
718
  </UiNavigationMenuLink>
719
719
  </li>
720
720
  <li>
721
721
  <UiNavigationMenuLink href="#">
722
722
  <div class="label-14-medium">Developer API</div>
723
- <p class="body-14-regular text-muted-foreground">Build custom integrations</p>
723
+ <p class="body-14-regular text-content-on-surface-muted">Build custom integrations</p>
724
724
  </UiNavigationMenuLink>
725
725
  </li>
726
726
  </ul>
@@ -735,25 +735,25 @@ export const WithCustomContent: Story = {
735
735
  <li>
736
736
  <UiNavigationMenuLink href="#">
737
737
  <div class="label-14-medium">Documentation</div>
738
- <p class="body-14-regular text-muted-foreground">Guides and API reference</p>
738
+ <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
739
739
  </UiNavigationMenuLink>
740
740
  </li>
741
741
  <li>
742
742
  <UiNavigationMenuLink href="#">
743
743
  <div class="label-14-medium">Blog</div>
744
- <p class="body-14-regular text-muted-foreground">Latest news and updates</p>
744
+ <p class="body-14-regular text-content-on-surface-muted">Latest news and updates</p>
745
745
  </UiNavigationMenuLink>
746
746
  </li>
747
747
  <li>
748
748
  <UiNavigationMenuLink href="#">
749
749
  <div class="label-14-medium">Community</div>
750
- <p class="body-14-regular text-muted-foreground">Join the discussion</p>
750
+ <p class="body-14-regular text-content-on-surface-muted">Join the discussion</p>
751
751
  </UiNavigationMenuLink>
752
752
  </li>
753
753
  <li>
754
754
  <UiNavigationMenuLink href="#">
755
755
  <div class="label-14-medium">Support</div>
756
- <p class="body-14-regular text-muted-foreground">Get help from our team</p>
756
+ <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
757
757
  </UiNavigationMenuLink>
758
758
  </li>
759
759
  </ul>
@@ -808,7 +808,7 @@ function closeAll() {
808
808
  <button type="button" @click="closeAll" class="px-3 py-1 body-14-regular border rounded">
809
809
  Close All
810
810
  </button>
811
- <span class="body-14-regular text-muted-foreground">
811
+ <span class="body-14-regular text-content-on-surface-muted">
812
812
  Current value: "{{ activeItem }}"
813
813
  </span>
814
814
  </div>
@@ -874,7 +874,7 @@ const value = ref('')
874
874
  <div class="gap-y-4">
875
875
  <div class="p-4 bg-background-surface-muted rounded-md body-14-regular">
876
876
  <p class="font-medium mb-2">Keyboard Navigation:</p>
877
- <ul class="gap-y-1 text-muted-foreground">
877
+ <ul class="gap-y-1 text-content-on-surface-muted">
878
878
  <li><kbd class="px-1 bg-background rounded">Tab</kbd> - Move focus to/from navigation</li>
879
879
  <li><kbd class="px-1 bg-background rounded">Arrow Left/Right</kbd> - Navigate between menu items</li>
880
880
  <li><kbd class="px-1 bg-background rounded">Enter</kbd> or <kbd class="px-1 bg-background rounded">Space</kbd> - Open dropdown / activate link</li>
@@ -896,13 +896,13 @@ const value = ref('')
896
896
  <li>
897
897
  <UiNavigationMenuLink href="#">
898
898
  <div class="body-14-medium">Analytics</div>
899
- <p class="body-14-regular text-muted-foreground">Track your metrics</p>
899
+ <p class="body-14-regular text-content-on-surface-muted">Track your metrics</p>
900
900
  </UiNavigationMenuLink>
901
901
  </li>
902
902
  <li>
903
903
  <UiNavigationMenuLink href="#">
904
904
  <div class="body-14-medium">Automation</div>
905
- <p class="body-14-regular text-muted-foreground">Streamline workflows</p>
905
+ <p class="body-14-regular text-content-on-surface-muted">Streamline workflows</p>
906
906
  </UiNavigationMenuLink>
907
907
  </li>
908
908
  </ul>
@@ -916,13 +916,13 @@ const value = ref('')
916
916
  <li>
917
917
  <UiNavigationMenuLink href="#">
918
918
  <div class="body-14-medium">Documentation</div>
919
- <p class="body-14-regular text-muted-foreground">Guides and API reference</p>
919
+ <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
920
920
  </UiNavigationMenuLink>
921
921
  </li>
922
922
  <li>
923
923
  <UiNavigationMenuLink href="#">
924
924
  <div class="body-14-medium">Support</div>
925
- <p class="body-14-regular text-muted-foreground">Get help from our team</p>
925
+ <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
926
926
  </UiNavigationMenuLink>
927
927
  </li>
928
928
  </ul>
@@ -1010,7 +1010,7 @@ export const ControlledState: Story = {
1010
1010
  <button type="button" @click="closeAll" class="px-3 py-1 body-14-regular border rounded hover:bg-background-surface-muted">
1011
1011
  Close All
1012
1012
  </button>
1013
- <span class="body-14-regular text-muted-foreground">
1013
+ <span class="body-14-regular text-content-on-surface-muted">
1014
1014
  Current value: "{{ activeItem }}"
1015
1015
  </span>
1016
1016
  </div>
@@ -1093,7 +1093,7 @@ export const KeyboardNavigation: Story = {
1093
1093
  template: `<div class="gap-y-4">
1094
1094
  <div class="p-4 bg-background-surface-muted rounded-md body-14-regular">
1095
1095
  <p class="font-medium mb-2">Keyboard Navigation:</p>
1096
- <ul class="gap-y-1 text-muted-foreground">
1096
+ <ul class="gap-y-1 text-content-on-surface-muted">
1097
1097
  <li><kbd class="px-1 bg-background rounded">Tab</kbd> - Move focus to/from navigation</li>
1098
1098
  <li><kbd class="px-1 bg-background rounded">Arrow Left/Right</kbd> - Navigate between menu items</li>
1099
1099
  <li><kbd class="px-1 bg-background rounded">Enter</kbd> or <kbd class="px-1 bg-background rounded">Space</kbd> - Open dropdown / activate link</li>
@@ -1120,13 +1120,13 @@ export const KeyboardNavigation: Story = {
1120
1120
  <li>
1121
1121
  <UiNavigationMenuLink href="#">
1122
1122
  <div class="body-14-medium">Analytics</div>
1123
- <p class="body-14-regular text-muted-foreground">Track your metrics</p>
1123
+ <p class="body-14-regular text-content-on-surface-muted">Track your metrics</p>
1124
1124
  </UiNavigationMenuLink>
1125
1125
  </li>
1126
1126
  <li>
1127
1127
  <UiNavigationMenuLink href="#">
1128
1128
  <div class="body-14-medium">Automation</div>
1129
- <p class="body-14-regular text-muted-foreground">Streamline workflows</p>
1129
+ <p class="body-14-regular text-content-on-surface-muted">Streamline workflows</p>
1130
1130
  </UiNavigationMenuLink>
1131
1131
  </li>
1132
1132
  </ul>
@@ -1140,13 +1140,13 @@ export const KeyboardNavigation: Story = {
1140
1140
  <li>
1141
1141
  <UiNavigationMenuLink href="#">
1142
1142
  <div class="body-14-medium">Documentation</div>
1143
- <p class="body-14-regular text-muted-foreground">Guides and API reference</p>
1143
+ <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
1144
1144
  </UiNavigationMenuLink>
1145
1145
  </li>
1146
1146
  <li>
1147
1147
  <UiNavigationMenuLink href="#">
1148
1148
  <div class="body-14-medium">Support</div>
1149
- <p class="body-14-regular text-muted-foreground">Get help from our team</p>
1149
+ <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
1150
1150
  </UiNavigationMenuLink>
1151
1151
  </li>
1152
1152
  </ul>
@@ -42,7 +42,7 @@ import { UiPopover, UiPopoverTrigger, UiPopoverContent, UiButton } from '@aleph-
42
42
  <UiPopoverContent>
43
43
  <div class="gap-y-2">
44
44
  <h4 class="font-medium leading-none">Dimensions</h4>
45
- <p class="body-14-regular text-muted-foreground">
45
+ <p class="body-14-regular text-content-on-surface-muted">
46
46
  Set the dimensions for the layer.
47
47
  </p>
48
48
  </div>
@@ -82,7 +82,7 @@ export const Default: Story = {
82
82
  <UiPopoverContent>
83
83
  <div class="gap-y-2">
84
84
  <h4 class="font-medium leading-none">Dimensions</h4>
85
- <p class="body-14-regular text-muted-foreground">
85
+ <p class="body-14-regular text-content-on-surface-muted">
86
86
  Set the dimensions for the layer.
87
87
  </p>
88
88
  </div>
@@ -116,7 +116,7 @@ const open = ref(false)
116
116
  <UiPopoverContent>
117
117
  <div class="gap-y-2">
118
118
  <h4 class="font-medium leading-none">Controlled Popover</h4>
119
- <p class="body-14-regular text-muted-foreground">
119
+ <p class="body-14-regular text-content-on-surface-muted">
120
120
  This popover is controlled via v-model:open.
121
121
  </p>
122
122
  <UiButton size="sm" @click="open = false">Close</UiButton>
@@ -146,7 +146,7 @@ export const Controlled: Story = {
146
146
  <UiPopoverContent>
147
147
  <div class="gap-y-2">
148
148
  <h4 class="font-medium leading-none">Controlled Popover</h4>
149
- <p class="body-14-regular text-muted-foreground">
149
+ <p class="body-14-regular text-content-on-surface-muted">
150
150
  This popover is controlled via v-model:open.
151
151
  </p>
152
152
  <UiButton size="sm" @click="open = false">Close</UiButton>
@@ -365,7 +365,7 @@ const open = ref(true)
365
365
  <UiPopoverContent>
366
366
  <div class="gap-y-2">
367
367
  <h4 class="font-medium leading-none">Popover Content</h4>
368
- <p class="body-14-regular text-muted-foreground">
368
+ <p class="body-14-regular text-content-on-surface-muted">
369
369
  This popover is open by default for visual testing.
370
370
  </p>
371
371
  </div>
@@ -394,7 +394,7 @@ export const OpenByDefault: Story = {
394
394
  <UiPopoverContent>
395
395
  <div class="gap-y-2">
396
396
  <h4 class="font-medium leading-none">Popover Content</h4>
397
- <p class="body-14-regular text-muted-foreground">
397
+ <p class="body-14-regular text-content-on-surface-muted">
398
398
  This popover is open by default for visual testing.
399
399
  </p>
400
400
  </div>
@@ -119,7 +119,7 @@ const selected = ref('default')
119
119
  </div>
120
120
  <div class="flex items-center gap-x-2">
121
121
  <UiRadioGroupItem id="r2" value="comfortable" disabled />
122
- <label for="r2" class="label-14-medium text-muted-foreground">Comfortable</label>
122
+ <label for="r2" class="label-14-medium text-content-on-surface-muted">Comfortable</label>
123
123
  </div>
124
124
  <div class="flex items-center gap-x-2">
125
125
  <UiRadioGroupItem id="r3" value="compact" />
@@ -146,7 +146,7 @@ export const Disabled: Story = {
146
146
  </div>
147
147
  <div class="flex items-center gap-x-2">
148
148
  <UiRadioGroupItem id="r2" value="comfortable" disabled />
149
- <label for="r2" class="label-14-medium text-muted-foreground">Comfortable</label>
149
+ <label for="r2" class="label-14-medium text-content-on-surface-muted">Comfortable</label>
150
150
  </div>
151
151
  <div class="flex items-center gap-x-2">
152
152
  <UiRadioGroupItem id="r3" value="compact" />
@@ -42,7 +42,8 @@ type Story = StoryObj<typeof UiResizablePanelGroup>;
42
42
 
43
43
  const panelClasses =
44
44
  'flex items-center justify-center rounded-md bg-background-surface-muted p-6 body-14-regular';
45
- const sizeValueClasses = 'font-mono label-12-regular text-muted-foreground';
45
+ const sizeValueClasses =
46
+ 'font-mono label-12-regular text-content-on-surface-muted';
46
47
 
47
48
  const defaultTemplateSource = `<script setup lang="ts">
48
49
  import { ref } from 'vue'
@@ -75,7 +76,7 @@ function updateContentWidth(size: number) {
75
76
  class="flex h-full flex-col items-center justify-center gap-1 rounded-md bg-background-surface-muted p-6 body-14-regular"
76
77
  >
77
78
  <span>Sidebar</span>
78
- <span class="font-mono label-12-regular text-muted-foreground">{{ sidebarWidth }}% wide</span>
79
+ <span class="font-mono label-12-regular text-content-on-surface-muted">{{ sidebarWidth }}% wide</span>
79
80
  </div>
80
81
  </UiResizablePanel>
81
82
  <UiResizableHandle with-handle />
@@ -88,7 +89,7 @@ function updateContentWidth(size: number) {
88
89
  class="flex h-full flex-col items-center justify-center gap-1 rounded-md bg-background-surface-muted p-6 body-14-regular"
89
90
  >
90
91
  <span>Content</span>
91
- <span class="font-mono label-12-regular text-muted-foreground">{{ contentWidth }}% wide</span>
92
+ <span class="font-mono label-12-regular text-content-on-surface-muted">{{ contentWidth }}% wide</span>
92
93
  </div>
93
94
  </UiResizablePanel>
94
95
  </UiResizablePanelGroup>
@@ -199,7 +200,7 @@ function updateConsoleHeight(size: number) {
199
200
  class="flex h-full flex-col items-center justify-center gap-1 rounded-md bg-background-surface-muted p-6 body-14-regular"
200
201
  >
201
202
  <span>Preview</span>
202
- <span class="font-mono label-12-regular text-muted-foreground">{{ previewHeight }}% tall</span>
203
+ <span class="font-mono label-12-regular text-content-on-surface-muted">{{ previewHeight }}% tall</span>
203
204
  </div>
204
205
  </UiResizablePanel>
205
206
  <UiResizableHandle with-handle />
@@ -212,7 +213,7 @@ function updateConsoleHeight(size: number) {
212
213
  class="flex h-full flex-col items-center justify-center gap-1 rounded-md bg-background-surface-muted p-6 body-14-regular"
213
214
  >
214
215
  <span>Console</span>
215
- <span class="font-mono label-12-regular text-muted-foreground">{{ consoleHeight }}% tall</span>
216
+ <span class="font-mono label-12-regular text-content-on-surface-muted">{{ consoleHeight }}% tall</span>
216
217
  </div>
217
218
  </UiResizablePanel>
218
219
  </UiResizablePanelGroup>
@@ -39,12 +39,12 @@ import { UiSeparator } from '@aleph-alpha/ui-library'
39
39
  <div class="gap-y-4">
40
40
  <div>
41
41
  <h4 class="body-14-medium">Section Title</h4>
42
- <p class="body-14-regular text-muted-foreground">Description text goes here.</p>
42
+ <p class="body-14-regular text-content-on-surface-muted">Description text goes here.</p>
43
43
  </div>
44
44
  <UiSeparator />
45
45
  <div>
46
46
  <h4 class="body-14-medium">Another Section</h4>
47
- <p class="body-14-regular text-muted-foreground">More content below the separator.</p>
47
+ <p class="body-14-regular text-content-on-surface-muted">More content below the separator.</p>
48
48
  </div>
49
49
  </div>
50
50
  </template>`;
@@ -61,12 +61,12 @@ export const Default: Story = {
61
61
  template: `<div class="gap-y-4">
62
62
  <div>
63
63
  <h4 class="body-14-medium">Section Title</h4>
64
- <p class="body-14-regular text-muted-foreground">Description text goes here.</p>
64
+ <p class="body-14-regular text-content-on-surface-muted">Description text goes here.</p>
65
65
  </div>
66
66
  <UiSeparator v-bind="args" />
67
67
  <div>
68
68
  <h4 class="body-14-medium">Another Section</h4>
69
- <p class="body-14-regular text-muted-foreground">More content below the separator.</p>
69
+ <p class="body-14-regular text-content-on-surface-muted">More content below the separator.</p>
70
70
  </div>
71
71
  </div>`,
72
72
  }),
@@ -131,7 +131,7 @@ import { UiSeparator } from '@aleph-alpha/ui-library'
131
131
  <div class="rounded-lg border p-4">
132
132
  <div class="gap-y-1">
133
133
  <h4 class="body-14-medium leading-none">Aleph Alpha UI</h4>
134
- <p class="body-14-regular text-muted-foreground">
134
+ <p class="body-14-regular text-content-on-surface-muted">
135
135
  An open-source UI component library.
136
136
  </p>
137
137
  </div>
@@ -158,7 +158,7 @@ export const InCard: Story = {
158
158
  template: `<div class="rounded-lg border p-4">
159
159
  <div class="gap-y-1">
160
160
  <h4 class="body-14-medium leading-none">Aleph Alpha UI</h4>
161
- <p class="body-14-regular text-muted-foreground">
161
+ <p class="body-14-regular text-content-on-surface-muted">
162
162
  An open-source UI component library.
163
163
  </p>
164
164
  </div>
@@ -344,7 +344,7 @@ import {
344
344
 
345
345
  <template>
346
346
  <div class="gap-y-4">
347
- <p class="body-14-regular text-muted-foreground">
347
+ <p class="body-14-regular text-content-on-surface-muted">
348
348
  Non-modal sheet: you can still interact with the page while it is open.
349
349
  </p>
350
350
  <UiSheet :modal="false">
@@ -390,7 +390,7 @@ export const NonModal: Story = {
390
390
  },
391
391
  template: `
392
392
  <div class="gap-y-4">
393
- <p class="body-14-regular text-muted-foreground">
393
+ <p class="body-14-regular text-content-on-surface-muted">
394
394
  Non-modal sheet: you can still interact with the page while it is open.
395
395
  </p>
396
396
  <UiSheet :modal="false">
@@ -67,7 +67,7 @@ const value = ref([50])
67
67
  <template>
68
68
  <div class="w-72 gap-y-3">
69
69
  <UiSlider v-model="value" :min="0" :max="100" :step="1" />
70
- <div class="body-14-regular text-muted-foreground">Value: {{ value[0] }}</div>
70
+ <div class="body-14-regular text-content-on-surface-muted my-4">Value: {{ value[0] }}</div>
71
71
  </div>
72
72
  </template>`;
73
73
 
@@ -101,7 +101,7 @@ export const Default: Story = {
101
101
  :orientation="args.orientation"
102
102
  :inverted="args.inverted"
103
103
  />
104
- <div class="body-14-regular text-muted-foreground">Value: {{ value }}</div>
104
+ <div class="body-14-regular text-content-on-surface-muted my-4">Value: {{ value }}</div>
105
105
  </div>
106
106
  `,
107
107
  }),
@@ -120,7 +120,7 @@ const range = ref([25, 75])
120
120
  <template>
121
121
  <div class="w-72 gap-y-3">
122
122
  <UiSlider v-model="range" :min="0" :max="100" :step="1" :min-steps-between-thumbs="5" />
123
- <div class="body-14-regular text-muted-foreground">Range: {{ range[0] }} – {{ range[1] }}</div>
123
+ <div class="body-14-regular text-content-on-surface-muted my-4">Range: {{ range[0] }} – {{ range[1] }}</div>
124
124
  </div>
125
125
  </template>`;
126
126
 
@@ -138,7 +138,7 @@ export const Range: Story = {
138
138
  template: `
139
139
  <div class="w-72 gap-y-3">
140
140
  <UiSlider v-model="range" :min="0" :max="100" :step="1" :min-steps-between-thumbs="5" />
141
- <div class="body-14-regular text-muted-foreground">Range: {{ range[0] }} – {{ range[1] }}</div>
141
+ <div class="body-14-regular text-content-on-surface-muted my-4">Range: {{ range[0] }} – {{ range[1] }}</div>
142
142
  </div>
143
143
  `,
144
144
  }),
@@ -160,7 +160,7 @@ const value = ref([50])
160
160
  <div class="h-44">
161
161
  <UiSlider v-model="value" orientation="vertical" />
162
162
  </div>
163
- <div class="body-14-regular text-muted-foreground">Value: {{ value[0] }}</div>
163
+ <div class="body-14-regular text-content-on-surface-muted">Value: {{ value[0] }}</div>
164
164
  </div>
165
165
  </template>`;
166
166
 
@@ -180,7 +180,7 @@ export const Vertical: Story = {
180
180
  <div class="h-44">
181
181
  <UiSlider v-model="value" orientation="vertical" />
182
182
  </div>
183
- <div class="body-14-regular text-muted-foreground">Value: {{ value[0] }}</div>
183
+ <div class="body-14-regular text-content-on-surface-muted">Value: {{ value[0] }}</div>
184
184
  </div>
185
185
  `,
186
186
  }),
@@ -200,7 +200,7 @@ const value = ref([50])
200
200
  <template>
201
201
  <div class="w-72 gap-y-3">
202
202
  <UiSlider v-model="value" disabled />
203
- <div class="body-14-regular text-muted-foreground">Value: {{ value[0] }}</div>
203
+ <div class="body-14-regular text-content-on-surface-muted my-4">Value: {{ value[0] }}</div>
204
204
  </div>
205
205
  </template>`;
206
206
 
@@ -218,7 +218,7 @@ export const Disabled: Story = {
218
218
  template: `
219
219
  <div class="w-72 gap-y-3">
220
220
  <UiSlider v-model="value" disabled />
221
- <div class="body-14-regular text-muted-foreground">Value: {{ value[0] }}</div>
221
+ <div class="body-14-regular text-content-on-surface-muted my-4">Value: {{ value[0] }}</div>
222
222
  </div>
223
223
  `,
224
224
  }),
@@ -64,19 +64,19 @@ import { UiSpinner } from '@aleph-alpha/ui-library'
64
64
  <template>
65
65
  <div class="flex items-end gap-6">
66
66
  <div class="flex flex-col items-center gap-2">
67
- <span class="text-muted-foreground label-12-regular">default</span>
67
+ <span class="text-content-on-surface-muted label-12-regular">default</span>
68
68
  <UiSpinner />
69
69
  </div>
70
70
  <div class="flex flex-col items-center gap-2">
71
- <span class="text-muted-foreground label-12-regular">size-6</span>
71
+ <span class="text-content-on-surface-muted label-12-regular">size-6</span>
72
72
  <UiSpinner class="size-6" />
73
73
  </div>
74
74
  <div class="flex flex-col items-center gap-2">
75
- <span class="text-muted-foreground label-12-regular">size-8</span>
75
+ <span class="text-content-on-surface-muted label-12-regular">size-8</span>
76
76
  <UiSpinner class="size-8" />
77
77
  </div>
78
78
  <div class="flex flex-col items-center gap-2">
79
- <span class="text-muted-foreground label-12-regular">size-12</span>
79
+ <span class="text-content-on-surface-muted label-12-regular">size-12</span>
80
80
  <UiSpinner class="size-12" />
81
81
  </div>
82
82
  </div>
@@ -90,19 +90,19 @@ export const Sizes: Story = {
90
90
  components: { UiSpinner },
91
91
  template: `<div class="flex items-end gap-6">
92
92
  <div class="flex flex-col items-center gap-2">
93
- <span class="text-muted-foreground label-12-regular">default</span>
93
+ <span class="text-content-on-surface-muted label-12-regular">default</span>
94
94
  <UiSpinner />
95
95
  </div>
96
96
  <div class="flex flex-col items-center gap-2">
97
- <span class="text-muted-foreground label-12-regular">size-6</span>
97
+ <span class="text-content-on-surface-muted label-12-regular">size-6</span>
98
98
  <UiSpinner class="size-6" />
99
99
  </div>
100
100
  <div class="flex flex-col items-center gap-2">
101
- <span class="text-muted-foreground label-12-regular">size-8</span>
101
+ <span class="text-content-on-surface-muted label-12-regular">size-8</span>
102
102
  <UiSpinner class="size-8" />
103
103
  </div>
104
104
  <div class="flex flex-col items-center gap-2">
105
- <span class="text-muted-foreground label-12-regular">size-12</span>
105
+ <span class="text-content-on-surface-muted label-12-regular">size-12</span>
106
106
  <UiSpinner class="size-12" />
107
107
  </div>
108
108
  </div>`,