@aleph-alpha/ui-library 6.5.0 → 6.6.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 (176) hide show
  1. package/dist/system/components/core/toggle/index.d.ts +1 -1
  2. package/dist/system/lib.js +14623 -14438
  3. package/dist/system/patterns/UiFloatActions/UiFloatActionItems.vue.d.ts +21 -174
  4. package/dist/system/patterns/UiFloatActions/core/FloatingButton.vue.d.ts +36 -0
  5. package/dist/system/patterns/UiFloatActions/core/FloatingInput.vue.d.ts +19 -0
  6. package/dist/system/patterns/UiFloatActions/floatActionItemContext.d.ts +3 -1
  7. package/dist/system/patterns/UiFloatActions/types.d.ts +93 -19
  8. package/dist/system/patterns/UiLayout/layout-shell.d.ts +117 -252
  9. package/package.json +2 -2
  10. package/src/components/UiAccordion/UiAccordion.stories.ts +8 -8
  11. package/src/components/UiAlert/UiAlert.stories.ts +13 -13
  12. package/src/components/UiAlertDialog/UiAlertDialog.stories.ts +4 -4
  13. package/src/components/UiAutocomplete/UiAutocomplete.stories.ts +13 -13
  14. package/src/components/UiAutocomplete/UiAutocomplete.vue +3 -3
  15. package/src/components/UiBadge/UiBadge.stories.ts +9 -9
  16. package/src/components/UiBreadcrumb/UiBreadcrumb.stories.ts +14 -14
  17. package/src/components/UiButton/UiButton.stories.ts +35 -35
  18. package/src/components/UiButtonGroup/UiButtonGroup.stories.ts +6 -6
  19. package/src/components/UiCalendar/UiCalendar.stories.ts +6 -6
  20. package/src/components/UiCard/UiCard.stories.ts +6 -6
  21. package/src/components/UiCheckbox/UiCheckbox.stories.ts +30 -30
  22. package/src/components/UiChip/UiChip.stories.ts +14 -14
  23. package/src/components/UiChip/UiChip.vue +1 -1
  24. package/src/components/UiDialog/UiDialog.stories.ts +20 -20
  25. package/src/components/UiDrawer/UiDrawer.stories.ts +29 -29
  26. package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +13 -13
  27. package/src/components/UiEmpty/UiEmpty.vue +1 -1
  28. package/src/components/UiFadeMask/UiFadeMask.stories.ts +13 -13
  29. package/src/components/UiField/UiField.stories.ts +27 -27
  30. package/src/components/UiFileItem/UiFileItem.vue +4 -4
  31. package/src/components/UiFileItem/__tests__/UiFileItem.test.ts +2 -2
  32. package/src/components/UiFileType/UiFileType.stories.ts +10 -10
  33. package/src/components/UiFileUploadBox/UiFileUploadBox.stories.ts +10 -10
  34. package/src/components/UiFileUploadBox/UiFileUploadBox.vue +3 -3
  35. package/src/components/UiIcon/UiIcon.stories.ts +9 -9
  36. package/src/components/UiInput/UiInput.stories.ts +13 -13
  37. package/src/components/UiInput/UiInput.vue +1 -1
  38. package/src/components/UiInputGroup/UiInputGroup.stories.ts +10 -10
  39. package/src/components/UiItem/UiItem.stories.ts +12 -12
  40. package/src/components/UiItem/__tests__/UiItem.test.ts +2 -2
  41. package/src/components/UiKbd/UiKbd.stories.ts +18 -18
  42. package/src/components/UiKbd/UiKbd.vue +1 -1
  43. package/src/components/UiLabel/UiLabel.stories.ts +12 -12
  44. package/src/components/UiLabel/__tests__/UiLabel.test.ts +1 -1
  45. package/src/components/UiListbox/UiListbox.stories.ts +20 -20
  46. package/src/components/UiNavigationMenu/UiNavigationMenu.stories.ts +94 -94
  47. package/src/components/UiPopover/UiPopover.stories.ts +35 -35
  48. package/src/components/UiRadioGroup/UiRadioGroup.stories.ts +53 -53
  49. package/src/components/UiRangeCalendar/UiRangeCalendar.stories.ts +6 -6
  50. package/src/components/UiResizable/UiResizable.stories.ts +40 -40
  51. package/src/components/UiSelect/UiSelect.stories.ts +14 -14
  52. package/src/components/UiSeparator/UiSeparator.stories.ts +16 -16
  53. package/src/components/UiSheet/UiSheet.stories.ts +29 -29
  54. package/src/components/UiSlider/UiSlider.stories.ts +28 -28
  55. package/src/components/UiSnackbar/UiSnackbar.stories.ts +6 -6
  56. package/src/components/UiSnackbar/UiSnackbar.vue +2 -2
  57. package/src/components/UiSnackbar/UiSnackbarContent.vue +2 -2
  58. package/src/components/UiSpinner/UiSpinner.stories.ts +8 -8
  59. package/src/components/UiStepper/UiStepper.stories.ts +6 -6
  60. package/src/components/UiSwitch/UiSwitch.stories.ts +37 -37
  61. package/src/components/UiTable/UiTable.stories.ts +4 -4
  62. package/src/components/UiTabs/UiTabs.stories.ts +64 -64
  63. package/src/components/UiTagsInput/UiTagsInput.stories.ts +16 -16
  64. package/src/components/UiTextarea/UiTextarea.stories.ts +20 -20
  65. package/src/components/UiToggle/UiToggle.stories.ts +26 -26
  66. package/src/components/UiToggleGroup/UiToggleGroup.stories.ts +31 -31
  67. package/src/components/UiTooltip/UiTooltip.stories.ts +7 -7
  68. package/src/components/core/accordion/AccordionContent.vue +1 -1
  69. package/src/components/core/accordion/AccordionTrigger.vue +1 -1
  70. package/src/components/core/alert/AlertDescription.vue +1 -1
  71. package/src/components/core/alert/index.ts +1 -1
  72. package/src/components/core/alert-dialog/AlertDialogDescription.vue +1 -1
  73. package/src/components/core/badge/index.ts +2 -2
  74. package/src/components/core/button/index.ts +3 -3
  75. package/src/components/core/calendar/Calendar.vue +4 -4
  76. package/src/components/core/calendar/CalendarCell.vue +1 -1
  77. package/src/components/core/calendar/CalendarHeading.vue +1 -1
  78. package/src/components/core/card/CardDescription.vue +1 -1
  79. package/src/components/core/dialog/DialogDescription.vue +1 -1
  80. package/src/components/core/drawer/DrawerDescription.vue +1 -1
  81. package/src/components/core/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -1
  82. package/src/components/core/dropdown-menu/DropdownMenuLabel.vue +1 -1
  83. package/src/components/core/dropdown-menu/DropdownMenuRadioItem.vue +1 -1
  84. package/src/components/core/dropdown-menu/DropdownMenuShortcut.vue +1 -1
  85. package/src/components/core/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  86. package/src/components/core/field/FieldDescription.vue +1 -1
  87. package/src/components/core/field/FieldError.vue +1 -1
  88. package/src/components/core/field/FieldLabel.vue +1 -1
  89. package/src/components/core/field/FieldLegend.vue +2 -2
  90. package/src/components/core/field/FieldSeparator.vue +1 -1
  91. package/src/components/core/field/FieldTitle.vue +1 -1
  92. package/src/components/core/input/Input.vue +1 -1
  93. package/src/components/core/input-group/InputGroupText.vue +1 -1
  94. package/src/components/core/input-group/index.ts +1 -1
  95. package/src/components/core/item/ItemDescription.vue +1 -1
  96. package/src/components/core/item/ItemTitle.vue +1 -1
  97. package/src/components/core/item/index.ts +2 -2
  98. package/src/components/core/label/Label.vue +1 -1
  99. package/src/components/core/listbox/ListboxFilter.vue +1 -1
  100. package/src/components/core/listbox/ListboxGroupLabel.vue +1 -1
  101. package/src/components/core/listbox/ListboxItem.vue +1 -1
  102. package/src/components/core/native-select/NativeSelect.vue +1 -1
  103. package/src/components/core/navigation-menu/NavigationMenuLink.vue +1 -1
  104. package/src/components/core/navigation-menu/index.ts +1 -1
  105. package/src/components/core/range-calendar/RangeCalendarCell.vue +1 -1
  106. package/src/components/core/range-calendar/RangeCalendarHeading.vue +1 -1
  107. package/src/components/core/select/SelectItem.vue +1 -1
  108. package/src/components/core/select/SelectLabel.vue +1 -1
  109. package/src/components/core/select/SelectTrigger.vue +1 -1
  110. package/src/components/core/sheet/SheetDescription.vue +1 -1
  111. package/src/components/core/sidebar/SidebarGroupContent.vue +1 -1
  112. package/src/components/core/sidebar/SidebarGroupLabel.vue +1 -1
  113. package/src/components/core/sidebar/SidebarMenuBadge.vue +1 -1
  114. package/src/components/core/sidebar/SidebarMenuSubButton.vue +2 -2
  115. package/src/components/core/sidebar/index.ts +4 -4
  116. package/src/components/core/stepper/StepperDescription.vue +1 -1
  117. package/src/components/core/stepper/StepperTitle.vue +1 -1
  118. package/src/components/core/table/Table.vue +1 -1
  119. package/src/components/core/table/TableCaption.vue +1 -1
  120. package/src/components/core/table/TableEmpty.vue +1 -1
  121. package/src/components/core/tabs/TabsTrigger.vue +1 -1
  122. package/src/components/core/tags-input/TagsInput.vue +1 -1
  123. package/src/components/core/tags-input/TagsInputItem.vue +1 -1
  124. package/src/components/core/textarea/Textarea.vue +1 -1
  125. package/src/components/core/toggle/index.ts +1 -1
  126. package/src/components/core/tooltip/TooltipContent.vue +1 -1
  127. package/src/directives/vHover.stories.ts +17 -17
  128. package/src/lib/useDevice.stories.ts +29 -29
  129. package/src/lib/useDrag.stories.ts +14 -14
  130. package/src/patterns/UiDataTable/UiDataTable.stories.ts +27 -27
  131. package/src/patterns/UiDataTable/UiDataTableColumnFilter.vue +2 -2
  132. package/src/patterns/UiDataTable/UiDataTableFilterMenu.vue +2 -2
  133. package/src/patterns/UiDataTable/UiDataTablePagination.vue +3 -3
  134. package/src/patterns/UiDataTable/__tests__/UiDataTableColumnFilter.test.ts +2 -2
  135. package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +14 -14
  136. package/src/patterns/UiFileUpload/UiFileItem.stories.ts +14 -14
  137. package/src/patterns/UiFileUpload/UiFileUpload.stories.ts +6 -6
  138. package/src/patterns/UiFloatActions/UiFloatActionItems.vue +226 -76
  139. package/src/patterns/UiFloatActions/UiFloatActions.stories.ts +1136 -116
  140. package/src/patterns/UiFloatActions/__tests__/UiFloatActionItems.test.ts +187 -1
  141. package/src/patterns/UiFloatActions/core/FloatingButton.vue +83 -0
  142. package/src/patterns/UiFloatActions/core/FloatingInput.vue +53 -0
  143. package/src/patterns/UiFloatActions/floatActionItemContext.ts +3 -1
  144. package/src/patterns/UiFloatActions/types.ts +106 -19
  145. package/src/patterns/UiLayout/UiLayoutContent.stories.ts +17 -17
  146. package/src/patterns/UiLayout/UiLayoutMobile.stories.ts +4 -4
  147. package/src/patterns/UiLayout/layout-shell.ts +6 -6
  148. package/src/patterns/UiProfileCard/UiProfileCard.stories.ts +8 -8
  149. package/src/patterns/UiProfileCard/profile-card.ts +2 -2
  150. package/src/patterns/UiSidebar/UiSidebar.stories.ts +6 -6
  151. package/src/patterns/UiSidebar/UiSidebarGroup.stories.ts +1 -1
  152. package/src/patterns/UiSidebar/UiSidebarGroupLabel.stories.ts +4 -4
  153. package/src/patterns/UiSidebar/UiSidebarGroupLabel.vue +1 -1
  154. package/src/patterns/UiSidebar/UiSidebarHeader.vue +1 -1
  155. package/src/patterns/UiSidebar/UiSidebarMenuButton.stories.ts +7 -7
  156. package/src/patterns/UiSidebar/UiSidebarMenuButton.vue +4 -4
  157. package/src/patterns/UiSidebar/UiSidebarMenuItem.stories.ts +4 -4
  158. package/src/patterns/UiSidebar/UiSidebarMenuSubItem.stories.ts +1 -1
  159. package/src/patterns/UiSidebar/UiSidebarMenuSubItem.vue +1 -1
  160. package/src/patterns/UiSidebar/UiSidebarPopoverMenu.vue +1 -1
  161. package/src/patterns/UiSidebar/UiSidebarPopoverMenuItem.vue +3 -3
  162. package/src/patterns/UiSidebar/UiSidebarPopoverTrigger.stories.ts +1 -1
  163. package/src/patterns/UiSidebar/UiSidebarPopoverTrigger.vue +1 -1
  164. package/src/patterns/UiSidebar/UiSidebarSub.stories.ts +1 -1
  165. package/src/patterns/UiTopBar/UiTopBar.stories.ts +24 -24
  166. package/src/theme/Background.stories.ts +62 -62
  167. package/src/theme/Border.stories.ts +19 -19
  168. package/src/theme/BorderRadius.stories.ts +14 -14
  169. package/src/theme/Extended.stories.ts +26 -26
  170. package/src/theme/Flex.stories.ts +21 -21
  171. package/src/theme/Grid.stories.ts +19 -19
  172. package/src/theme/HoverLayer.stories.ts +26 -26
  173. package/src/theme/Overlay.stories.ts +14 -14
  174. package/src/theme/Scrollbar.stories.ts +58 -58
  175. package/src/theme/Shadow.stories.ts +5 -5
  176. package/src/theme/Theme.stories.ts +38 -38
@@ -142,20 +142,20 @@ const value = ref('')
142
142
  <ul class="grid w-[400px]">
143
143
  <li>
144
144
  <UiNavigationMenuLink href="#">
145
- <div class="body-14-medium">Analytics</div>
146
- <p class="body-14-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
145
+ <div class="body-s-medium">Analytics</div>
146
+ <p class="body-s-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
147
147
  </UiNavigationMenuLink>
148
148
  </li>
149
149
  <li>
150
150
  <UiNavigationMenuLink href="#">
151
- <div class="body-14-medium">Automation</div>
152
- <p class="body-14-regular text-content-on-surface-muted">Streamline your workflows</p>
151
+ <div class="body-s-medium">Automation</div>
152
+ <p class="body-s-regular text-content-on-surface-muted">Streamline your workflows</p>
153
153
  </UiNavigationMenuLink>
154
154
  </li>
155
155
  <li>
156
156
  <UiNavigationMenuLink href="#">
157
- <div class="body-14-medium">Integrations</div>
158
- <p class="body-14-regular text-content-on-surface-muted">Connect with your favorite tools</p>
157
+ <div class="body-s-medium">Integrations</div>
158
+ <p class="body-s-regular text-content-on-surface-muted">Connect with your favorite tools</p>
159
159
  </UiNavigationMenuLink>
160
160
  </li>
161
161
  </ul>
@@ -207,20 +207,20 @@ export const Default: Story = {
207
207
  <ul class="grid w-[400px]">
208
208
  <li>
209
209
  <UiNavigationMenuLink href="#">
210
- <div class="body-14-medium">Analytics</div>
211
- <p class="body-14-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
210
+ <div class="body-s-medium">Analytics</div>
211
+ <p class="body-s-regular text-content-on-surface-muted">Track your metrics and KPIs</p>
212
212
  </UiNavigationMenuLink>
213
213
  </li>
214
214
  <li>
215
215
  <UiNavigationMenuLink href="#">
216
- <div class="body-14-medium">Automation</div>
217
- <p class="body-14-regular text-content-on-surface-muted">Streamline your workflows</p>
216
+ <div class="body-s-medium">Automation</div>
217
+ <p class="body-s-regular text-content-on-surface-muted">Streamline your workflows</p>
218
218
  </UiNavigationMenuLink>
219
219
  </li>
220
220
  <li>
221
221
  <UiNavigationMenuLink href="#">
222
- <div class="body-14-medium">Integrations</div>
223
- <p class="body-14-regular text-content-on-surface-muted">Connect with your favorite tools</p>
222
+ <div class="body-s-medium">Integrations</div>
223
+ <p class="body-s-regular text-content-on-surface-muted">Connect with your favorite tools</p>
224
224
  </UiNavigationMenuLink>
225
225
  </li>
226
226
  </ul>
@@ -338,14 +338,14 @@ const value = ref('')
338
338
  <ul class="grid w-[300px]">
339
339
  <li>
340
340
  <UiNavigationMenuLink href="#">
341
- <div class="body-14-medium">Introduction</div>
342
- <p class="body-14-regular text-content-on-surface-muted">Learn the basics</p>
341
+ <div class="body-s-medium">Introduction</div>
342
+ <p class="body-s-regular text-content-on-surface-muted">Learn the basics</p>
343
343
  </UiNavigationMenuLink>
344
344
  </li>
345
345
  <li>
346
346
  <UiNavigationMenuLink href="#">
347
- <div class="body-14-medium">Installation</div>
348
- <p class="body-14-regular text-content-on-surface-muted">Get up and running</p>
347
+ <div class="body-s-medium">Installation</div>
348
+ <p class="body-s-regular text-content-on-surface-muted">Get up and running</p>
349
349
  </UiNavigationMenuLink>
350
350
  </li>
351
351
  </ul>
@@ -358,14 +358,14 @@ const value = ref('')
358
358
  <ul class="grid w-[300px]">
359
359
  <li>
360
360
  <UiNavigationMenuLink href="#">
361
- <div class="body-14-medium">Buttons</div>
362
- <p class="body-14-regular text-content-on-surface-muted">Interactive elements</p>
361
+ <div class="body-s-medium">Buttons</div>
362
+ <p class="body-s-regular text-content-on-surface-muted">Interactive elements</p>
363
363
  </UiNavigationMenuLink>
364
364
  </li>
365
365
  <li>
366
366
  <UiNavigationMenuLink href="#">
367
- <div class="body-14-medium">Forms</div>
368
- <p class="body-14-regular text-content-on-surface-muted">Input components</p>
367
+ <div class="body-s-medium">Forms</div>
368
+ <p class="body-s-regular text-content-on-surface-muted">Input components</p>
369
369
  </UiNavigationMenuLink>
370
370
  </li>
371
371
  </ul>
@@ -409,14 +409,14 @@ export const WithIndicator: Story = {
409
409
  <ul class="grid w-[300px]">
410
410
  <li>
411
411
  <UiNavigationMenuLink href="#">
412
- <div class="body-14-medium">Introduction</div>
413
- <p class="body-14-regular text-content-on-surface-muted">Learn the basics</p>
412
+ <div class="body-s-medium">Introduction</div>
413
+ <p class="body-s-regular text-content-on-surface-muted">Learn the basics</p>
414
414
  </UiNavigationMenuLink>
415
415
  </li>
416
416
  <li>
417
417
  <UiNavigationMenuLink href="#">
418
- <div class="body-14-medium">Installation</div>
419
- <p class="body-14-regular text-content-on-surface-muted">Get up and running</p>
418
+ <div class="body-s-medium">Installation</div>
419
+ <p class="body-s-regular text-content-on-surface-muted">Get up and running</p>
420
420
  </UiNavigationMenuLink>
421
421
  </li>
422
422
  </ul>
@@ -429,14 +429,14 @@ export const WithIndicator: Story = {
429
429
  <ul class="grid w-[300px]">
430
430
  <li>
431
431
  <UiNavigationMenuLink href="#">
432
- <div class="body-14-medium">Buttons</div>
433
- <p class="body-14-regular text-content-on-surface-muted">Interactive elements</p>
432
+ <div class="body-s-medium">Buttons</div>
433
+ <p class="body-s-regular text-content-on-surface-muted">Interactive elements</p>
434
434
  </UiNavigationMenuLink>
435
435
  </li>
436
436
  <li>
437
437
  <UiNavigationMenuLink href="#">
438
- <div class="body-14-medium">Forms</div>
439
- <p class="body-14-regular text-content-on-surface-muted">Input components</p>
438
+ <div class="body-s-medium">Forms</div>
439
+ <p class="body-s-regular text-content-on-surface-muted">Input components</p>
440
440
  </UiNavigationMenuLink>
441
441
  </li>
442
442
  </ul>
@@ -602,30 +602,30 @@ const value = ref('')
602
602
  <div class="grid gap-3 p-6 w-[600px] grid-cols-[.75fr_1fr]">
603
603
  <div class="row-span-3 rounded-md bg-gradient-to-b from-muted/50 to-muted p-6">
604
604
  <div class="mb-2 heading-s">Featured</div>
605
- <p class="body-14-regular text-content-on-surface-muted mb-4">
605
+ <p class="body-s-regular text-content-on-surface-muted mb-4">
606
606
  Our most popular product with advanced features and integrations.
607
607
  </p>
608
- <UiNavigationMenuLink href="#" class="label-14-medium text-primary hover:underline">
608
+ <UiNavigationMenuLink href="#" class="label-s-medium text-primary hover:underline">
609
609
  Learn more
610
610
  </UiNavigationMenuLink>
611
611
  </div>
612
612
  <ul class="grid gap-3">
613
613
  <li>
614
614
  <UiNavigationMenuLink href="#">
615
- <div class="label-14-medium">Analytics Platform</div>
616
- <p class="body-14-regular text-content-on-surface-muted">Real-time insights and reporting</p>
615
+ <div class="label-s-medium">Analytics Platform</div>
616
+ <p class="body-s-regular text-content-on-surface-muted">Real-time insights and reporting</p>
617
617
  </UiNavigationMenuLink>
618
618
  </li>
619
619
  <li>
620
620
  <UiNavigationMenuLink href="#">
621
- <div class="label-14-medium">Automation Suite</div>
622
- <p class="body-14-regular text-content-on-surface-muted">Workflow automation tools</p>
621
+ <div class="label-s-medium">Automation Suite</div>
622
+ <p class="body-s-regular text-content-on-surface-muted">Workflow automation tools</p>
623
623
  </UiNavigationMenuLink>
624
624
  </li>
625
625
  <li>
626
626
  <UiNavigationMenuLink href="#">
627
- <div class="label-14-medium">Developer API</div>
628
- <p class="body-14-regular text-content-on-surface-muted">Build custom integrations</p>
627
+ <div class="label-s-medium">Developer API</div>
628
+ <p class="body-s-regular text-content-on-surface-muted">Build custom integrations</p>
629
629
  </UiNavigationMenuLink>
630
630
  </li>
631
631
  </ul>
@@ -639,26 +639,26 @@ const value = ref('')
639
639
  <ul class="grid w-[500px] gap-3 p-4 grid-cols-2">
640
640
  <li>
641
641
  <UiNavigationMenuLink href="#">
642
- <div class="label-14-medium">Documentation</div>
643
- <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
642
+ <div class="label-s-medium">Documentation</div>
643
+ <p class="body-s-regular text-content-on-surface-muted">Guides and API reference</p>
644
644
  </UiNavigationMenuLink>
645
645
  </li>
646
646
  <li>
647
647
  <UiNavigationMenuLink href="#">
648
- <div class="label-14-medium">Blog</div>
649
- <p class="body-14-regular text-content-on-surface-muted">Latest news and updates</p>
648
+ <div class="label-s-medium">Blog</div>
649
+ <p class="body-s-regular text-content-on-surface-muted">Latest news and updates</p>
650
650
  </UiNavigationMenuLink>
651
651
  </li>
652
652
  <li>
653
653
  <UiNavigationMenuLink href="#">
654
- <div class="label-14-medium">Community</div>
655
- <p class="body-14-regular text-content-on-surface-muted">Join the discussion</p>
654
+ <div class="label-s-medium">Community</div>
655
+ <p class="body-s-regular text-content-on-surface-muted">Join the discussion</p>
656
656
  </UiNavigationMenuLink>
657
657
  </li>
658
658
  <li>
659
659
  <UiNavigationMenuLink href="#">
660
- <div class="label-14-medium">Support</div>
661
- <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
660
+ <div class="label-s-medium">Support</div>
661
+ <p class="body-s-regular text-content-on-surface-muted">Get help from our team</p>
662
662
  </UiNavigationMenuLink>
663
663
  </li>
664
664
  </ul>
@@ -703,30 +703,30 @@ export const WithCustomContent: Story = {
703
703
  <div class="grid gap-3 p-6 w-[600px] grid-cols-[.75fr_1fr]">
704
704
  <div class="row-span-3 rounded-md bg-gradient-to-b from-muted/50 to-muted p-6">
705
705
  <div class="mb-2 heading-s">Featured</div>
706
- <p class="body-14-regular text-content-on-surface-muted mb-4">
706
+ <p class="body-s-regular text-content-on-surface-muted mb-4">
707
707
  Our most popular product with advanced features and integrations.
708
708
  </p>
709
- <UiNavigationMenuLink href="#" class="label-14-medium text-primary hover:underline">
709
+ <UiNavigationMenuLink href="#" class="label-s-medium text-primary hover:underline">
710
710
  Learn more
711
711
  </UiNavigationMenuLink>
712
712
  </div>
713
713
  <ul class="grid gap-3">
714
714
  <li>
715
715
  <UiNavigationMenuLink href="#">
716
- <div class="label-14-medium">Analytics Platform</div>
717
- <p class="body-14-regular text-content-on-surface-muted">Real-time insights and reporting</p>
716
+ <div class="label-s-medium">Analytics Platform</div>
717
+ <p class="body-s-regular text-content-on-surface-muted">Real-time insights and reporting</p>
718
718
  </UiNavigationMenuLink>
719
719
  </li>
720
720
  <li>
721
721
  <UiNavigationMenuLink href="#">
722
- <div class="label-14-medium">Automation Suite</div>
723
- <p class="body-14-regular text-content-on-surface-muted">Workflow automation tools</p>
722
+ <div class="label-s-medium">Automation Suite</div>
723
+ <p class="body-s-regular text-content-on-surface-muted">Workflow automation tools</p>
724
724
  </UiNavigationMenuLink>
725
725
  </li>
726
726
  <li>
727
727
  <UiNavigationMenuLink href="#">
728
- <div class="label-14-medium">Developer API</div>
729
- <p class="body-14-regular text-content-on-surface-muted">Build custom integrations</p>
728
+ <div class="label-s-medium">Developer API</div>
729
+ <p class="body-s-regular text-content-on-surface-muted">Build custom integrations</p>
730
730
  </UiNavigationMenuLink>
731
731
  </li>
732
732
  </ul>
@@ -740,26 +740,26 @@ export const WithCustomContent: Story = {
740
740
  <ul class="grid w-[500px] gap-3 p-4 grid-cols-2">
741
741
  <li>
742
742
  <UiNavigationMenuLink href="#">
743
- <div class="label-14-medium">Documentation</div>
744
- <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
743
+ <div class="label-s-medium">Documentation</div>
744
+ <p class="body-s-regular text-content-on-surface-muted">Guides and API reference</p>
745
745
  </UiNavigationMenuLink>
746
746
  </li>
747
747
  <li>
748
748
  <UiNavigationMenuLink href="#">
749
- <div class="label-14-medium">Blog</div>
750
- <p class="body-14-regular text-content-on-surface-muted">Latest news and updates</p>
749
+ <div class="label-s-medium">Blog</div>
750
+ <p class="body-s-regular text-content-on-surface-muted">Latest news and updates</p>
751
751
  </UiNavigationMenuLink>
752
752
  </li>
753
753
  <li>
754
754
  <UiNavigationMenuLink href="#">
755
- <div class="label-14-medium">Community</div>
756
- <p class="body-14-regular text-content-on-surface-muted">Join the discussion</p>
755
+ <div class="label-s-medium">Community</div>
756
+ <p class="body-s-regular text-content-on-surface-muted">Join the discussion</p>
757
757
  </UiNavigationMenuLink>
758
758
  </li>
759
759
  <li>
760
760
  <UiNavigationMenuLink href="#">
761
- <div class="label-14-medium">Support</div>
762
- <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
761
+ <div class="label-s-medium">Support</div>
762
+ <p class="body-s-regular text-content-on-surface-muted">Get help from our team</p>
763
763
  </UiNavigationMenuLink>
764
764
  </li>
765
765
  </ul>
@@ -808,13 +808,13 @@ function closeAll() {
808
808
  <template>
809
809
  <div class="gap-y-4">
810
810
  <div class="flex gap-2">
811
- <button type="button" @click="openProducts" class="px-3 py-1 body-14-regular border rounded">
811
+ <button type="button" @click="openProducts" class="px-3 py-1 body-s-regular border rounded">
812
812
  Open Products
813
813
  </button>
814
- <button type="button" @click="closeAll" class="px-3 py-1 body-14-regular border rounded">
814
+ <button type="button" @click="closeAll" class="px-3 py-1 body-s-regular border rounded">
815
815
  Close All
816
816
  </button>
817
- <span class="body-14-regular text-content-on-surface-muted">
817
+ <span class="body-s-regular text-content-on-surface-muted">
818
818
  Current value: "{{ activeItem }}"
819
819
  </span>
820
820
  </div>
@@ -878,7 +878,7 @@ const value = ref('')
878
878
 
879
879
  <template>
880
880
  <div class="gap-y-4">
881
- <div class="p-4 bg-background-surface-muted rounded-md body-14-regular">
881
+ <div class="p-4 bg-background-surface-muted rounded-md body-s-regular">
882
882
  <p class="font-medium mb-2">Keyboard Navigation:</p>
883
883
  <ul class="gap-y-1 text-content-on-surface-muted">
884
884
  <li><kbd class="px-1 bg-background rounded">Tab</kbd> - Move focus to/from navigation</li>
@@ -901,14 +901,14 @@ const value = ref('')
901
901
  <ul class="grid w-[300px]">
902
902
  <li>
903
903
  <UiNavigationMenuLink href="#">
904
- <div class="body-14-medium">Analytics</div>
905
- <p class="body-14-regular text-content-on-surface-muted">Track your metrics</p>
904
+ <div class="body-s-medium">Analytics</div>
905
+ <p class="body-s-regular text-content-on-surface-muted">Track your metrics</p>
906
906
  </UiNavigationMenuLink>
907
907
  </li>
908
908
  <li>
909
909
  <UiNavigationMenuLink href="#">
910
- <div class="body-14-medium">Automation</div>
911
- <p class="body-14-regular text-content-on-surface-muted">Streamline workflows</p>
910
+ <div class="body-s-medium">Automation</div>
911
+ <p class="body-s-regular text-content-on-surface-muted">Streamline workflows</p>
912
912
  </UiNavigationMenuLink>
913
913
  </li>
914
914
  </ul>
@@ -921,14 +921,14 @@ const value = ref('')
921
921
  <ul class="grid w-[300px]">
922
922
  <li>
923
923
  <UiNavigationMenuLink href="#">
924
- <div class="body-14-medium">Documentation</div>
925
- <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
924
+ <div class="body-s-medium">Documentation</div>
925
+ <p class="body-s-regular text-content-on-surface-muted">Guides and API reference</p>
926
926
  </UiNavigationMenuLink>
927
927
  </li>
928
928
  <li>
929
929
  <UiNavigationMenuLink href="#">
930
- <div class="body-14-medium">Support</div>
931
- <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
930
+ <div class="body-s-medium">Support</div>
931
+ <p class="body-s-regular text-content-on-surface-muted">Get help from our team</p>
932
932
  </UiNavigationMenuLink>
933
933
  </li>
934
934
  </ul>
@@ -1010,13 +1010,13 @@ export const ControlledState: Story = {
1010
1010
  },
1011
1011
  template: `<div class="gap-y-4">
1012
1012
  <div class="flex gap-2 items-center">
1013
- <button type="button" @click="openProducts" class="px-3 py-1 body-14-regular border rounded hover:bg-background-surface-muted">
1013
+ <button type="button" @click="openProducts" class="px-3 py-1 body-s-regular border rounded hover:bg-background-surface-muted">
1014
1014
  Open Products
1015
1015
  </button>
1016
- <button type="button" @click="closeAll" class="px-3 py-1 body-14-regular border rounded hover:bg-background-surface-muted">
1016
+ <button type="button" @click="closeAll" class="px-3 py-1 body-s-regular border rounded hover:bg-background-surface-muted">
1017
1017
  Close All
1018
1018
  </button>
1019
- <span class="body-14-regular text-content-on-surface-muted">
1019
+ <span class="body-s-regular text-content-on-surface-muted">
1020
1020
  Current value: "{{ activeItem }}"
1021
1021
  </span>
1022
1022
  </div>
@@ -1097,7 +1097,7 @@ export const KeyboardNavigation: Story = {
1097
1097
  return { args, value, navigationMenuTriggerStyle };
1098
1098
  },
1099
1099
  template: `<div class="gap-y-4">
1100
- <div class="p-4 bg-background-surface-muted rounded-md body-14-regular">
1100
+ <div class="p-4 bg-background-surface-muted rounded-md body-s-regular">
1101
1101
  <p class="font-medium mb-2">Keyboard Navigation:</p>
1102
1102
  <ul class="gap-y-1 text-content-on-surface-muted">
1103
1103
  <li><kbd class="px-1 bg-background rounded">Tab</kbd> - Move focus to/from navigation</li>
@@ -1125,14 +1125,14 @@ export const KeyboardNavigation: Story = {
1125
1125
  <ul class="grid w-[300px]">
1126
1126
  <li>
1127
1127
  <UiNavigationMenuLink href="#">
1128
- <div class="body-14-medium">Analytics</div>
1129
- <p class="body-14-regular text-content-on-surface-muted">Track your metrics</p>
1128
+ <div class="body-s-medium">Analytics</div>
1129
+ <p class="body-s-regular text-content-on-surface-muted">Track your metrics</p>
1130
1130
  </UiNavigationMenuLink>
1131
1131
  </li>
1132
1132
  <li>
1133
1133
  <UiNavigationMenuLink href="#">
1134
- <div class="body-14-medium">Automation</div>
1135
- <p class="body-14-regular text-content-on-surface-muted">Streamline workflows</p>
1134
+ <div class="body-s-medium">Automation</div>
1135
+ <p class="body-s-regular text-content-on-surface-muted">Streamline workflows</p>
1136
1136
  </UiNavigationMenuLink>
1137
1137
  </li>
1138
1138
  </ul>
@@ -1145,14 +1145,14 @@ export const KeyboardNavigation: Story = {
1145
1145
  <ul class="grid w-[300px]">
1146
1146
  <li>
1147
1147
  <UiNavigationMenuLink href="#">
1148
- <div class="body-14-medium">Documentation</div>
1149
- <p class="body-14-regular text-content-on-surface-muted">Guides and API reference</p>
1148
+ <div class="body-s-medium">Documentation</div>
1149
+ <p class="body-s-regular text-content-on-surface-muted">Guides and API reference</p>
1150
1150
  </UiNavigationMenuLink>
1151
1151
  </li>
1152
1152
  <li>
1153
1153
  <UiNavigationMenuLink href="#">
1154
- <div class="body-14-medium">Support</div>
1155
- <p class="body-14-regular text-content-on-surface-muted">Get help from our team</p>
1154
+ <div class="body-s-medium">Support</div>
1155
+ <p class="body-s-regular text-content-on-surface-muted">Get help from our team</p>
1156
1156
  </UiNavigationMenuLink>
1157
1157
  </li>
1158
1158
  </ul>
@@ -1255,14 +1255,14 @@ function renderTestMenu() {
1255
1255
  <ul class="grid w-[300px]">
1256
1256
  <li>
1257
1257
  <UiNavigationMenuLink href="#analytics" @select="onSelect">
1258
- <div class="body-14-medium">Analytics</div>
1259
- <p class="body-14-regular text-content-on-surface-muted">Track your metrics</p>
1258
+ <div class="body-s-medium">Analytics</div>
1259
+ <p class="body-s-regular text-content-on-surface-muted">Track your metrics</p>
1260
1260
  </UiNavigationMenuLink>
1261
1261
  </li>
1262
1262
  <li>
1263
1263
  <UiNavigationMenuLink href="#automation">
1264
- <div class="body-14-medium">Automation</div>
1265
- <p class="body-14-regular text-content-on-surface-muted">Streamline workflows</p>
1264
+ <div class="body-s-medium">Automation</div>
1265
+ <p class="body-s-regular text-content-on-surface-muted">Streamline workflows</p>
1266
1266
  </UiNavigationMenuLink>
1267
1267
  </li>
1268
1268
  </ul>
@@ -1806,10 +1806,10 @@ export const Accessibility: Story = {
1806
1806
 
1807
1807
  <div class="flex flex-col gap-6">
1808
1808
  <div class="flex flex-col gap-2">
1809
- <h3 class="body-16-medium text-content-on-surface-primary">
1809
+ <h3 class="body-m-medium text-content-on-surface-primary">
1810
1810
  Requirements
1811
1811
  </h3>
1812
- <ul class="body-16-regular flex list-disc flex-col gap-1 pl-6 text-content-on-surface-primary">
1812
+ <ul class="body-m-regular flex list-disc flex-col gap-1 pl-6 text-content-on-surface-primary">
1813
1813
  <li>
1814
1814
  The current section is marked by weight or a rule, not by
1815
1815
  colour alone
@@ -1845,10 +1845,10 @@ export const Accessibility: Story = {
1845
1845
  </div>
1846
1846
 
1847
1847
  <div class="flex flex-col gap-2">
1848
- <h3 class="body-16-medium text-content-on-surface-primary">
1848
+ <h3 class="body-m-medium text-content-on-surface-primary">
1849
1849
  Enable accessibility theme
1850
1850
  </h3>
1851
- <p class="body-16-regular text-content-on-surface-primary">
1851
+ <p class="body-m-regular text-content-on-surface-primary">
1852
1852
  When accessibility is required, enable our accessibility theme.
1853
1853
  This increases contrast and ensures there are no color contrast
1854
1854
  issues.
@@ -1858,7 +1858,7 @@ export const Accessibility: Story = {
1858
1858
 
1859
1859
  <div class="grid gap-4 md:grid-cols-2">
1860
1860
  <div class="flex flex-col gap-3">
1861
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
1861
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
1862
1862
  Default
1863
1863
  </h3>
1864
1864
  <div class="flex min-h-20 items-center justify-start overflow-visible border border-border-surface-default p-6">
@@ -1895,7 +1895,7 @@ export const Accessibility: Story = {
1895
1895
  </div>
1896
1896
 
1897
1897
  <div class="accessible-theme flex flex-col gap-3">
1898
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
1898
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
1899
1899
  Accessible
1900
1900
  </h3>
1901
1901
  <div class="flex min-h-20 items-center justify-start overflow-visible border border-border-surface-default p-6">