@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
@@ -57,49 +57,49 @@ const BAND_HEIGHT = { mobile: 64, desktop: 96 } as const;
57
57
  const scrollRegionAttributes = `role="region" aria-label="${SCROLL_REGION_LABEL}" tabindex="0"`;
58
58
 
59
59
  const scrollingParagraphs = `
60
- <h4 class="body-14-medium text-content-on-surface-primary">Deployment boundaries</h4>
61
- <p class="body-14-regular text-content-on-surface-primary">
60
+ <h4 class="body-s-medium text-content-on-surface-primary">Deployment boundaries</h4>
61
+ <p class="body-s-regular text-content-on-surface-primary">
62
62
  Sovereign AI keeps model weights, data and operations inside the boundary a
63
63
  customer controls, which makes deployment topology part of the product rather
64
64
  than an afterthought handled by whoever operates the cluster.
65
65
  </p>
66
- <p class="body-14-regular text-content-on-surface-primary">
66
+ <p class="body-s-regular text-content-on-surface-primary">
67
67
  Scroll this panel: the band stays pinned to its edge while the text moves
68
68
  underneath it, because the gradient sits in the wrapper rather than in the
69
69
  scrolling element itself.
70
70
  </p>
71
- <p class="body-14-regular text-content-on-surface-primary">
71
+ <p class="body-s-regular text-content-on-surface-primary">
72
72
  That is the whole point of wrapping the scroll container instead of placing
73
73
  the gradient inside it. A gradient inside the scroll area would travel with
74
74
  the content and drift out of view on the first swipe.
75
75
  </p>
76
- <p class="body-14-regular text-content-on-surface-primary">
76
+ <p class="body-s-regular text-content-on-surface-primary">
77
77
  The band is decorative and lets pointer events through, so scrolling, text
78
78
  selection and clicks on the content underneath all keep working while it is
79
79
  on screen.
80
80
  </p>
81
- <h4 class="body-14-medium text-content-on-surface-primary">Responsive behaviour</h4>
82
- <p class="body-14-regular text-content-on-surface-primary">
81
+ <h4 class="body-s-medium text-content-on-surface-primary">Responsive behaviour</h4>
82
+ <p class="body-s-regular text-content-on-surface-primary">
83
83
  Switch the Media breakpoint toolbar between Desktop and Mobile to compare
84
84
  both renderings of the band. Mobile gets a shorter runway, and its bottom
85
85
  gradient turns opaque much earlier.
86
86
  </p>
87
- <p class="body-14-regular text-content-on-surface-primary">
87
+ <p class="body-s-regular text-content-on-surface-primary">
88
88
  Keep the wrapper background aligned with the surface the content sits on. A
89
89
  mismatch is most obvious here, halfway through a scroll, where the fade ends
90
90
  on a visible horizontal seam.
91
91
  </p>
92
- <p class="body-14-regular text-content-on-surface-primary">
92
+ <p class="body-s-regular text-content-on-surface-primary">
93
93
  The fade covers a fixed strip of the container, so a taller panel shows more
94
94
  unmasked content while the masked strip stays the same size.
95
95
  </p>
96
- <h4 class="body-14-medium text-content-on-surface-primary">Reaching the end</h4>
97
- <p class="body-14-regular text-content-on-surface-primary">
96
+ <h4 class="body-s-medium text-content-on-surface-primary">Reaching the end</h4>
97
+ <p class="body-s-regular text-content-on-surface-primary">
98
98
  With a bottom band, the last line of a scroll area never sits flush against
99
99
  the container edge, which is what tells a reader there is nothing more to
100
100
  scroll to.
101
101
  </p>
102
- <p class="body-14-regular text-content-on-surface-primary">
102
+ <p class="body-s-regular text-content-on-surface-primary">
103
103
  This is the final paragraph, so a bottom-anchored band should be covering it
104
104
  completely once you get here.
105
105
  </p>
@@ -530,7 +530,7 @@ export const AllVariants: Story = {
530
530
  :key="variant.background + variant.position"
531
531
  class="flex flex-col gap-y-2"
532
532
  >
533
- <span class="label-12-regular text-content-on-surface-muted">
533
+ <span class="label-xs-regular text-content-on-surface-muted">
534
534
  {{ variant.background }} · {{ variant.position }}
535
535
  </span>
536
536
  <UiFadeMask
@@ -167,7 +167,7 @@ export const DesignNotes: Story = {
167
167
  <section class="flex flex-col gap-8 p-4 bg-surface-secondary">
168
168
  <div>
169
169
  <h2 class="heading-m font-bold text-content-on-surface-primary">Usage</h2>
170
- <div class="body-16-regular mt-2 flex flex-col gap-4 text-content-on-surface-primary">
170
+ <div class="body-m-regular mt-2 flex flex-col gap-4 text-content-on-surface-primary">
171
171
  <p>
172
172
  The Field component establishes a consistent structure for collecting information from users.
173
173
  It creates a predictable relationship between inputs, labels, help text, and validation messages,
@@ -181,11 +181,11 @@ export const DesignNotes: Story = {
181
181
 
182
182
  <div class="grid gap-8 md:grid-cols-1">
183
183
  <div class="flex flex-col gap-3">
184
- <h3 class="body-16-medium text-content-on-surface-primary">Clarity first</h3>
185
- <p class="body-16-regular text-content-on-surface-primary">
184
+ <h3 class="body-m-medium text-content-on-surface-primary">Clarity first</h3>
185
+ <p class="body-m-regular text-content-on-surface-primary">
186
186
  Users should immediately understand:
187
187
  </p>
188
- <ul class="body-16-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
188
+ <ul class="body-m-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
189
189
  <li>What information is being requested</li>
190
190
  <li>Whether the field is required or optional</li>
191
191
  <li>How to successfully complete the field</li>
@@ -194,11 +194,11 @@ export const DesignNotes: Story = {
194
194
  </div>
195
195
 
196
196
  <div class="flex flex-col gap-3">
197
- <h3 class="body-16-medium text-content-on-surface-primary">Progressive guidance</h3>
198
- <p class="body-16-regular text-content-on-surface-primary">
197
+ <h3 class="body-m-medium text-content-on-surface-primary">Progressive guidance</h3>
198
+ <p class="body-m-regular text-content-on-surface-primary">
199
199
  Provide information only when it helps the user complete a task:
200
200
  </p>
201
- <ul class="body-16-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
201
+ <ul class="body-m-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
202
202
  <li>Label explains what is needed</li>
203
203
  <li>Description provides additional guidance</li>
204
204
  <li>Error message appears only when required</li>
@@ -206,11 +206,11 @@ export const DesignNotes: Story = {
206
206
  </div>
207
207
 
208
208
  <div class="flex flex-col gap-3">
209
- <h3 class="body-16-medium text-content-on-surface-primary">Consistency</h3>
210
- <p class="body-16-regular text-content-on-surface-primary">
209
+ <h3 class="body-m-medium text-content-on-surface-primary">Consistency</h3>
210
+ <p class="body-m-regular text-content-on-surface-primary">
211
211
  All form controls should follow the same structure regardless of input type:
212
212
  </p>
213
- <ul class="body-16-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
213
+ <ul class="body-m-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
214
214
  <li>Text Input</li>
215
215
  <li>Select</li>
216
216
  <li>Checkbox</li>
@@ -226,8 +226,8 @@ export const DesignNotes: Story = {
226
226
  <h2 class="heading-m font-bold text-content-on-surface-primary">Do's and Don'ts</h2>
227
227
  <div class="grid gap-8 md:grid-cols-2">
228
228
  <div class="flex flex-col gap-3">
229
- <h3 class="body-16-medium text-content-on-surface-primary">Do</h3>
230
- <ul class="body-16-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
229
+ <h3 class="body-m-medium text-content-on-surface-primary">Do</h3>
230
+ <ul class="body-m-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
231
231
  <li>Use a clear label for every field</li>
232
232
  <li>Provide helpful descriptions when needed</li>
233
233
  <li>Group related information together</li>
@@ -237,8 +237,8 @@ export const DesignNotes: Story = {
237
237
  </div>
238
238
 
239
239
  <div class="flex flex-col gap-3">
240
- <h3 class="body-16-medium text-content-on-surface-primary">Don't</h3>
241
- <ul class="body-16-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
240
+ <h3 class="body-m-medium text-content-on-surface-primary">Don't</h3>
241
+ <ul class="body-m-regular list-disc space-y-2 pl-5 text-content-on-surface-primary">
242
242
  <li>Use placeholders as labels</li>
243
243
  <li>Display errors before interaction</li>
244
244
  <li>Overload fields with excessive guidance</li>
@@ -300,10 +300,10 @@ export const Accessibility: Story = {
300
300
 
301
301
  <div class="flex flex-col gap-6">
302
302
  <div class="flex flex-col gap-2">
303
- <h3 class="body-16-medium text-content-on-surface-primary">
303
+ <h3 class="body-m-medium text-content-on-surface-primary">
304
304
  Requirements
305
305
  </h3>
306
- <ul class="body-16-regular list-disc pl-5 text-content-on-surface-primary">
306
+ <ul class="body-m-regular list-disc pl-5 text-content-on-surface-primary">
307
307
  <li>Every field has a visible label</li>
308
308
  <li>Error states are communicated through more than color alone</li>
309
309
  <li>Descriptions remain readable and associated with the field</li>
@@ -312,10 +312,10 @@ export const Accessibility: Story = {
312
312
  </div>
313
313
 
314
314
  <div class="flex flex-col gap-2">
315
- <h3 class="body-16-medium text-content-on-surface-primary">
315
+ <h3 class="body-m-medium text-content-on-surface-primary">
316
316
  Enable accessibility theme
317
317
  </h3>
318
- <p class="body-16-regular text-content-on-surface-primary">
318
+ <p class="body-m-regular text-content-on-surface-primary">
319
319
  When accessibility is required, enable our accessibility theme. This
320
320
  increases contrast and ensures there are no color contrast issues.
321
321
  </p>
@@ -324,7 +324,7 @@ export const Accessibility: Story = {
324
324
 
325
325
  <div class="grid gap-4 md:grid-cols-2">
326
326
  <div class="flex flex-col gap-3">
327
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
327
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
328
328
  Default
329
329
  </h3>
330
330
  <div class="flex min-h-28 items-center justify-center border border-border-surface-default p-6">
@@ -357,7 +357,7 @@ export const Accessibility: Story = {
357
357
  </div>
358
358
 
359
359
  <div class="accessible-theme flex flex-col gap-3">
360
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
360
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
361
361
  Accessible
362
362
  </h3>
363
363
  <div class="flex min-h-28 items-center justify-center border border-border-surface-default p-6">
@@ -1419,7 +1419,7 @@ const plan = ref('pro')
1419
1419
  <UiField orientation="responsive">
1420
1420
  <UiRadioGroupItem id="plan-free" value="free" />
1421
1421
  <UiFieldContent>
1422
- <label for="plan-free" class="label-14-medium">Free</label>
1422
+ <label for="plan-free" class="label-s-medium">Free</label>
1423
1423
  <UiFieldDescription>Basic features for personal use.</UiFieldDescription>
1424
1424
  </UiFieldContent>
1425
1425
  </UiField>
@@ -1427,7 +1427,7 @@ const plan = ref('pro')
1427
1427
  <UiField orientation="responsive">
1428
1428
  <UiRadioGroupItem id="plan-pro" value="pro" />
1429
1429
  <UiFieldContent>
1430
- <label for="plan-pro" class="label-14-medium">Pro</label>
1430
+ <label for="plan-pro" class="label-s-medium">Pro</label>
1431
1431
  <UiFieldDescription>Everything you need for work.</UiFieldDescription>
1432
1432
  </UiFieldContent>
1433
1433
  </UiField>
@@ -1435,7 +1435,7 @@ const plan = ref('pro')
1435
1435
  <UiField orientation="responsive" data-disabled="true">
1436
1436
  <UiRadioGroupItem id="plan-enterprise" value="enterprise" disabled />
1437
1437
  <UiFieldContent>
1438
- <label for="plan-enterprise" class="label-14-medium text-content-on-surface-muted">Enterprise</label>
1438
+ <label for="plan-enterprise" class="label-s-medium text-content-on-surface-muted">Enterprise</label>
1439
1439
  <UiFieldDescription>Contact sales for pricing.</UiFieldDescription>
1440
1440
  </UiFieldContent>
1441
1441
  </UiField>
@@ -1474,7 +1474,7 @@ export const RadioGroupInFieldSet: Story = {
1474
1474
  <UiField orientation="responsive">
1475
1475
  <UiRadioGroupItem id="plan-free" value="free" />
1476
1476
  <UiFieldContent>
1477
- <label for="plan-free" class="label-14-medium">Free</label>
1477
+ <label for="plan-free" class="label-s-medium">Free</label>
1478
1478
  <UiFieldDescription>Basic features for personal use.</UiFieldDescription>
1479
1479
  </UiFieldContent>
1480
1480
  </UiField>
@@ -1482,7 +1482,7 @@ export const RadioGroupInFieldSet: Story = {
1482
1482
  <UiField orientation="responsive">
1483
1483
  <UiRadioGroupItem id="plan-pro" value="pro" />
1484
1484
  <UiFieldContent>
1485
- <label for="plan-pro" class="label-14-medium">Pro</label>
1485
+ <label for="plan-pro" class="label-s-medium">Pro</label>
1486
1486
  <UiFieldDescription>Everything you need for work.</UiFieldDescription>
1487
1487
  </UiFieldContent>
1488
1488
  </UiField>
@@ -1490,7 +1490,7 @@ export const RadioGroupInFieldSet: Story = {
1490
1490
  <UiField orientation="responsive" data-disabled="true">
1491
1491
  <UiRadioGroupItem id="plan-enterprise" value="enterprise" disabled />
1492
1492
  <UiFieldContent>
1493
- <label for="plan-enterprise" class="label-14-medium text-content-on-surface-muted">Enterprise</label>
1493
+ <label for="plan-enterprise" class="label-s-medium text-content-on-surface-muted">Enterprise</label>
1494
1494
  <UiFieldDescription>Contact sales for pricing.</UiFieldDescription>
1495
1495
  </UiFieldContent>
1496
1496
  </UiField>
@@ -2779,7 +2779,7 @@ export const FormKeyboardFlow: Story = {
2779
2779
  <p
2780
2780
  v-if="status === 'success'"
2781
2781
  role="status"
2782
- class="body-14-regular text-content-on-surface-primary"
2782
+ class="body-s-regular text-content-on-surface-primary"
2783
2783
  >
2784
2784
  Your details were saved.
2785
2785
  </p>
@@ -135,7 +135,7 @@ const contentClass = computed(() =>
135
135
  const titleClass = computed(() =>
136
136
  cn(
137
137
  'block w-full min-w-0 truncate text-content-on-surface-primary',
138
- isSmall.value ? 'label-12-medium' : 'body-14-medium',
138
+ isSmall.value ? 'label-xs-medium' : 'body-s-medium',
139
139
  ),
140
140
  );
141
141
 
@@ -183,7 +183,7 @@ const isTitleTruncated = useIsTruncated(titleRef, () => displayFilename.value);
183
183
 
184
184
  <p
185
185
  v-else-if="isError"
186
- class="label-12-medium text-content-on-status-error-inverse w-full truncate"
186
+ class="label-xs-medium text-content-on-status-error-inverse w-full truncate"
187
187
  role="alert"
188
188
  >
189
189
  {{ error }}
@@ -195,7 +195,7 @@ const isTitleTruncated = useIsTruncated(titleRef, () => displayFilename.value);
195
195
  role="status"
196
196
  :aria-label="processingStatusName"
197
197
  :aria-busy="processing"
198
- class="label-12-medium text-content-on-surface-muted flex w-full min-w-0 items-center gap-2"
198
+ class="label-xs-medium text-content-on-surface-muted flex w-full min-w-0 items-center gap-2"
199
199
  >
200
200
  <span v-if="typeLabel" class="truncate">{{ typeLabel }}</span>
201
201
  <span
@@ -210,7 +210,7 @@ const isTitleTruncated = useIsTruncated(titleRef, () => displayFilename.value);
210
210
  <div
211
211
  v-else-if="showMeta"
212
212
  data-slot="file-item-meta"
213
- class="label-12-medium text-content-on-surface-muted flex w-full min-w-0 items-center gap-2"
213
+ class="label-xs-medium text-content-on-surface-muted flex w-full min-w-0 items-center gap-2"
214
214
  >
215
215
  <span v-if="typeLabel" class="truncate">{{ typeLabel }}</span>
216
216
  <span
@@ -74,7 +74,7 @@ describe('UiFileItem', () => {
74
74
  expect(container.querySelector('[data-slot="file-item"]')).toHaveClass(
75
75
  'p-2',
76
76
  );
77
- expect(getByLabelText('doc.pdf')).toHaveClass('label-12-medium');
77
+ expect(getByLabelText('doc.pdf')).toHaveClass('label-xs-medium');
78
78
  });
79
79
 
80
80
  test('processing shows the status text and hides the size and progress bar', () => {
@@ -136,6 +136,6 @@ describe('UiFileItem', () => {
136
136
  expect(container.querySelector('[data-slot="file-item"]')).toHaveClass(
137
137
  'p-3',
138
138
  );
139
- expect(getByLabelText('doc.pdf')).toHaveClass('body-14-medium');
139
+ expect(getByLabelText('doc.pdf')).toHaveClass('body-s-medium');
140
140
  });
141
141
  });
@@ -144,23 +144,23 @@ import { UiFileType } from '@aleph-alpha/ui-library'
144
144
  <div class="grid gap-3">
145
145
  <div class="flex items-center gap-3">
146
146
  <UiFileType tone="default" icon="file" />
147
- <span class="body-14-regular text-content-on-surface-secondary">default</span>
147
+ <span class="body-s-regular text-content-on-surface-secondary">default</span>
148
148
  </div>
149
149
  <div class="flex items-center gap-3">
150
150
  <UiFileType tone="accent-pink" icon="file" />
151
- <span class="body-14-regular text-content-on-surface-secondary">accent-pink</span>
151
+ <span class="body-s-regular text-content-on-surface-secondary">accent-pink</span>
152
152
  </div>
153
153
  <div class="flex items-center gap-3">
154
154
  <UiFileType tone="accent-soft" icon="code-xml" />
155
- <span class="body-14-regular text-content-on-surface-secondary">accent-soft</span>
155
+ <span class="body-s-regular text-content-on-surface-secondary">accent-soft</span>
156
156
  </div>
157
157
  <div class="flex items-center gap-3">
158
158
  <UiFileType tone="accent-yellow" icon="table-2" />
159
- <span class="body-14-regular text-content-on-surface-secondary">accent-yellow</span>
159
+ <span class="body-s-regular text-content-on-surface-secondary">accent-yellow</span>
160
160
  </div>
161
161
  <div class="flex items-center gap-3">
162
162
  <UiFileType tone="accent-orange" icon="image-play" />
163
- <span class="body-14-regular text-content-on-surface-secondary">accent-orange</span>
163
+ <span class="body-s-regular text-content-on-surface-secondary">accent-orange</span>
164
164
  </div>
165
165
  </div>
166
166
  </template>`;
@@ -180,23 +180,23 @@ export const ToneOverrides: Story = {
180
180
  <div class="grid gap-3">
181
181
  <div class="flex items-center gap-3">
182
182
  <UiFileType tone="default" icon="file" />
183
- <span class="body-14-regular text-content-on-surface-secondary">default</span>
183
+ <span class="body-s-regular text-content-on-surface-secondary">default</span>
184
184
  </div>
185
185
  <div class="flex items-center gap-3">
186
186
  <UiFileType tone="accent-pink" icon="file" />
187
- <span class="body-14-regular text-content-on-surface-secondary">accent-pink</span>
187
+ <span class="body-s-regular text-content-on-surface-secondary">accent-pink</span>
188
188
  </div>
189
189
  <div class="flex items-center gap-3">
190
190
  <UiFileType tone="accent-soft" icon="code-xml" />
191
- <span class="body-14-regular text-content-on-surface-secondary">accent-soft</span>
191
+ <span class="body-s-regular text-content-on-surface-secondary">accent-soft</span>
192
192
  </div>
193
193
  <div class="flex items-center gap-3">
194
194
  <UiFileType tone="accent-yellow" icon="table-2" />
195
- <span class="body-14-regular text-content-on-surface-secondary">accent-yellow</span>
195
+ <span class="body-s-regular text-content-on-surface-secondary">accent-yellow</span>
196
196
  </div>
197
197
  <div class="flex items-center gap-3">
198
198
  <UiFileType tone="accent-orange" icon="image-play" />
199
- <span class="body-14-regular text-content-on-surface-secondary">accent-orange</span>
199
+ <span class="body-s-regular text-content-on-surface-secondary">accent-orange</span>
200
200
  </div>
201
201
  </div>
202
202
  `,
@@ -120,8 +120,8 @@ function onError(e: { message: string }) {
120
120
  @update:files="onFiles"
121
121
  @error="onError"
122
122
  />
123
- <p v-if="lastError" class="body-14-regular text-destructive">{{ lastError }}</p>
124
- <p v-if="names.length" class="body-14-regular text-content-on-surface-muted">Selected: {{ names.join(', ') }}</p>
123
+ <p v-if="lastError" class="body-s-regular text-destructive">{{ lastError }}</p>
124
+ <p v-if="names.length" class="body-s-regular text-content-on-surface-muted">Selected: {{ names.join(', ') }}</p>
125
125
  </div>
126
126
  </template>`;
127
127
 
@@ -147,8 +147,8 @@ export const Default: Story = {
147
147
  template: `
148
148
  <div class="max-w-md gap-y-2">
149
149
  <UiFileUploadBox v-bind="args" @update:files="onFiles" @error="onError" @picker-open="onPickerOpen" />
150
- <p v-if="lastError" class="body-14-regular text-destructive">{{ lastError }}</p>
151
- <p v-if="names.length" class="body-14-regular text-content-on-surface-muted">Selected: {{ names.join(', ') }}</p>
150
+ <p v-if="lastError" class="body-s-regular text-destructive">{{ lastError }}</p>
151
+ <p v-if="names.length" class="body-s-regular text-content-on-surface-muted">Selected: {{ names.join(', ') }}</p>
152
152
  </div>
153
153
  `,
154
154
  }),
@@ -271,10 +271,10 @@ export const Accessibility: Story = {
271
271
  </h2>
272
272
 
273
273
  <div class="flex flex-col gap-2">
274
- <h3 class="body-16-medium text-content-on-surface-primary">
274
+ <h3 class="body-m-medium text-content-on-surface-primary">
275
275
  Requirements
276
276
  </h3>
277
- <ul class="body-16-regular flex list-disc flex-col gap-1 pl-6 text-content-on-surface-primary">
277
+ <ul class="body-m-regular flex list-disc flex-col gap-1 pl-6 text-content-on-surface-primary">
278
278
  <li>
279
279
  The whole box is one native button: one Tab stop, and Enter or
280
280
  Space opens the file picker
@@ -300,10 +300,10 @@ export const Accessibility: Story = {
300
300
  </div>
301
301
 
302
302
  <div class="flex flex-col gap-2">
303
- <h3 class="body-16-medium text-content-on-surface-primary">
303
+ <h3 class="body-m-medium text-content-on-surface-primary">
304
304
  Enable accessibility theme
305
305
  </h3>
306
- <p class="body-16-regular text-content-on-surface-primary">
306
+ <p class="body-m-regular text-content-on-surface-primary">
307
307
  When accessibility is required, enable our accessibility theme.
308
308
  This increases contrast and ensures there are no color contrast
309
309
  issues.
@@ -312,14 +312,14 @@ export const Accessibility: Story = {
312
312
 
313
313
  <div class="grid gap-4 md:grid-cols-2">
314
314
  <div class="flex flex-col gap-3">
315
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
315
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
316
316
  Default
317
317
  </h3>
318
318
  <UiFileUploadBox supported-types-label="Supported: PDF" />
319
319
  </div>
320
320
 
321
321
  <div class="accessible-theme flex flex-col gap-3">
322
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
322
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
323
323
  Accessible
324
324
  </h3>
325
325
  <UiFileUploadBox supported-types-label="Supported: PDF" />
@@ -148,8 +148,8 @@ function processFileList(fileList: FileList) {
148
148
  cn(
149
149
  'border-border-surface-default bg-background-surface-modal ui-focus-ring text-content-on-surface-primary relative flex cursor-pointer flex-col items-center justify-center gap-4 rounded-lg border border-dashed p-8 text-center transition-colors',
150
150
  isDragging
151
- ? 'border-1 border-border-surface-focus-ring body-16-bold'
152
- : 'body-16-medium',
151
+ ? 'border-1 border-border-surface-focus-ring body-m-bold'
152
+ : 'body-m-medium',
153
153
  disabled && 'cursor-not-allowed opacity-50',
154
154
  )
155
155
  "
@@ -211,7 +211,7 @@ function processFileList(fileList: FileList) {
211
211
  <slot name="footer">
212
212
  <div
213
213
  v-if="showFooter"
214
- class="text-content-on-surface-muted flex flex-wrap items-center justify-between gap-2 label-12-regular"
214
+ class="text-content-on-surface-muted flex flex-wrap items-center justify-between gap-2 label-xs-regular"
215
215
  >
216
216
  <span v-if="supportedTypesLabel?.trim()">{{
217
217
  supportedTypesLabel
@@ -230,14 +230,14 @@ export const IconLibrary: Story = {
230
230
  <div class="flex w-full items-center gap-1.5">
231
231
  <UiInput v-model="searchedIcon" id="search-icon" name="search-icon" placeholder="Search icons..." />
232
232
  </div>
233
- <p class="body-14-regular text-content-on-surface-muted">
233
+ <p class="body-s-regular text-content-on-surface-muted">
234
234
  Showing {{ resultStart }}-{{ pageEnd }} of {{ filteredIcons.length }} icons from lucide-vue-next.
235
235
  </p>
236
236
  <div class="flex items-center gap-2">
237
237
  <UiButton variant="outline" size="sm" :disabled="page === 1" @click="page -= 1">
238
238
  Previous
239
239
  </UiButton>
240
- <span class="label-12-regular text-content-on-surface-muted">Page {{ page }} of {{ pageCount }}</span>
240
+ <span class="label-xs-regular text-content-on-surface-muted">Page {{ page }} of {{ pageCount }}</span>
241
241
  <UiButton variant="outline" size="sm" :disabled="page === pageCount" @click="page += 1">
242
242
  Next
243
243
  </UiButton>
@@ -250,10 +250,10 @@ export const IconLibrary: Story = {
250
250
  class="flex min-w-0 items-center gap-3 rounded-md border border-border-surface-default bg-background-surface-floating p-5 text-content-on-surface-primary shadow-sm"
251
251
  >
252
252
  <UiIcon :name="icon" size="m" class="shrink-0" />
253
- <code class="truncate label-14-regular text-content-on-surface-muted">{{ icon }}</code>
253
+ <code class="truncate label-s-regular text-content-on-surface-muted">{{ icon }}</code>
254
254
  </div>
255
255
  </div>
256
- <p v-if="visibleIcons.length === 0" class="body-14-regular text-content-on-surface-muted">
256
+ <p v-if="visibleIcons.length === 0" class="body-s-regular text-content-on-surface-muted">
257
257
  No icons found.
258
258
  </p>
259
259
  </div>
@@ -376,14 +376,14 @@ function brandIconStory(
376
376
  placeholder="Search by name or code..."
377
377
  />
378
378
  </div>
379
- <p class="body-14-regular text-content-on-surface-muted">
379
+ <p class="body-s-regular text-content-on-surface-muted">
380
380
  Showing {{ resultStart }}-{{ pageEnd }} of {{ filteredIcons.length }} ${category} icons.
381
381
  </p>
382
382
  <div class="flex items-center gap-2">
383
383
  <UiButton variant="outline" size="sm" :disabled="page === 1" @click="page -= 1">
384
384
  Previous
385
385
  </UiButton>
386
- <span class="label-12-regular text-content-on-surface-muted">Page {{ page }} of {{ pageCount }}</span>
386
+ <span class="label-xs-regular text-content-on-surface-muted">Page {{ page }} of {{ pageCount }}</span>
387
387
  <UiButton variant="outline" size="sm" :disabled="page === pageCount" @click="page += 1">
388
388
  Next
389
389
  </UiButton>
@@ -397,12 +397,12 @@ function brandIconStory(
397
397
  >
398
398
  <UiIcon :name="icon.component" size="m" class="shrink-0" />
399
399
  <div class="min-w-0">
400
- <code class="block truncate label-14-regular text-content-on-surface-muted">{{ icon.name }}</code>
401
- <p class="truncate label-12-regular text-content-on-surface-muted">{{ icon.label }}</p>
400
+ <code class="block truncate label-s-regular text-content-on-surface-muted">{{ icon.name }}</code>
401
+ <p class="truncate label-xs-regular text-content-on-surface-muted">{{ icon.label }}</p>
402
402
  </div>
403
403
  </div>
404
404
  </div>
405
- <p v-if="visibleIcons.length === 0" class="body-14-regular text-content-on-surface-muted">
405
+ <p v-if="visibleIcons.length === 0" class="body-s-regular text-content-on-surface-muted">
406
406
  No icons found.
407
407
  </p>
408
408
  </div>
@@ -89,7 +89,7 @@ import { UiInput } from '@aleph-alpha/ui-library'
89
89
 
90
90
  <template>
91
91
  <div class="grid w-full max-w-sm items-center gap-1.5">
92
- <label for="email" class="body-14-medium">Email</label>
92
+ <label for="email" class="body-s-medium">Email</label>
93
93
  <UiInput id="email" name="email" type="email" placeholder="Email" />
94
94
  </div>
95
95
  </template>`;
@@ -104,7 +104,7 @@ export const WithLabel: Story = {
104
104
  return { args };
105
105
  },
106
106
  template: `<div class="grid w-full max-w-sm items-center gap-1.5">
107
- <label for="email" class="body-14-medium">Email</label>
107
+ <label for="email" class="body-s-medium">Email</label>
108
108
  <UiInput id="email" name="email" type="email" placeholder="Email" :disabled="args.disabled" :required="args.required" />
109
109
  </div>`,
110
110
  }),
@@ -219,7 +219,7 @@ import { UiInput } from '@aleph-alpha/ui-library'
219
219
 
220
220
  <template>
221
221
  <div class="grid w-full max-w-sm items-center gap-1.5">
222
- <label for="picture" class="body-14-medium">Picture</label>
222
+ <label for="picture" class="body-s-medium">Picture</label>
223
223
  <UiInput id="picture" name="picture" type="file" />
224
224
  </div>
225
225
  </template>`;
@@ -234,7 +234,7 @@ export const File: Story = {
234
234
  return { args };
235
235
  },
236
236
  template: `<div class="grid w-full max-w-sm items-center gap-1.5">
237
- <label for="picture" class="body-14-medium">Picture</label>
237
+ <label for="picture" class="body-s-medium">Picture</label>
238
238
  <UiInput id="picture" name="picture" type="file" :disabled="args.disabled" />
239
239
  </div>`,
240
240
  }),
@@ -260,7 +260,7 @@ export const TextEntry: Story = {
260
260
  return { onUpdate };
261
261
  },
262
262
  template: `<div class="grid w-full max-w-sm items-center gap-1.5">
263
- <label for="full-name" class="body-14-medium">Full name</label>
263
+ <label for="full-name" class="body-s-medium">Full name</label>
264
264
  <UiInput id="full-name" name="full-name" placeholder="Ada Lovelace" @update:model-value="onUpdate" />
265
265
  </div>`,
266
266
  }),
@@ -313,7 +313,7 @@ export const FileUpload: Story = {
313
313
  return { onFiles };
314
314
  },
315
315
  template: `<div class="grid w-full max-w-sm items-center gap-1.5">
316
- <label for="attachment" class="body-14-medium">Attachment</label>
316
+ <label for="attachment" class="body-s-medium">Attachment</label>
317
317
  <UiInput id="attachment" name="attachment" type="file" @update:files="onFiles" />
318
318
  </div>`,
319
319
  }),
@@ -367,7 +367,7 @@ export const DesignNotes: Story = {
367
367
  <section class="flex flex-col gap-8 p-4 bg-surface-secondary">
368
368
  <div>
369
369
  <h2 class="heading-m font-bold text-content-on-surface-primary">Usage</h2>
370
- <p class="body-16-regular mt-2 text-content-on-surface-primary">
370
+ <p class="body-m-regular mt-2 text-content-on-surface-primary">
371
371
  The input field is a base component for form fields. It should not be
372
372
  used on its own unless there is a specific need for text input without
373
373
  labels. Please use the <strong class="font-semibold">field component</strong> and the
@@ -407,10 +407,10 @@ export const Accessibility: Story = {
407
407
 
408
408
  <div class="flex flex-col gap-6">
409
409
  <div class="flex flex-col gap-2">
410
- <h3 class="body-16-medium text-content-on-surface-primary">
410
+ <h3 class="body-m-medium text-content-on-surface-primary">
411
411
  Enable accessibility theme
412
412
  </h3>
413
- <p class="body-16-regular text-content-on-surface-primary">
413
+ <p class="body-m-regular text-content-on-surface-primary">
414
414
  When accessibility is required, enable our accessibility theme. This
415
415
  increases contrast and ensures there are no color contrast issues.
416
416
  </p>
@@ -419,7 +419,7 @@ export const Accessibility: Story = {
419
419
 
420
420
  <div class="grid gap-4 md:grid-cols-2">
421
421
  <div class="flex flex-col gap-3">
422
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
422
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
423
423
  Default
424
424
  </h3>
425
425
  <div class="flex min-h-20 items-center justify-center border border-border-surface-default p-6">
@@ -428,7 +428,7 @@ export const Accessibility: Story = {
428
428
  </div>
429
429
 
430
430
  <div class="accessible-theme flex flex-col gap-3">
431
- <h3 class="label-16-medium text-center text-content-on-surface-primary">
431
+ <h3 class="label-m-medium text-center text-content-on-surface-primary">
432
432
  Accessible
433
433
  </h3>
434
434
  <div class="flex min-h-20 items-center justify-center border border-border-surface-default p-6">
@@ -459,7 +459,7 @@ import { UiInput } from '@aleph-alpha/ui-library'
459
459
 
460
460
  <template>
461
461
  <div class="grid w-full max-w-sm items-center gap-1.5">
462
- <label for="mobile-email" class="body-14-medium">Email</label>
462
+ <label for="mobile-email" class="body-s-medium">Email</label>
463
463
  <UiInput id="mobile-email" name="email" type="email" placeholder="Email" />
464
464
  </div>
465
465
  </template>`;
@@ -479,7 +479,7 @@ export const MobileBreakpoint: Story = {
479
479
  return { onUpdate };
480
480
  },
481
481
  template: `<div class="grid w-full max-w-sm items-center gap-1.5">
482
- <label for="mobile-email" class="body-14-medium">Email</label>
482
+ <label for="mobile-email" class="body-s-medium">Email</label>
483
483
  <UiInput id="mobile-email" name="email" type="email" placeholder="Email" @update:model-value="onUpdate" />
484
484
  </div>`,
485
485
  }),
@@ -101,7 +101,7 @@ function handleFilesChange(e: Event) {
101
101
  </label>
102
102
  </UiButton>
103
103
  <span
104
- class="placeholder:text-content-on-surface-muted flex-1 truncate pr-2 label-16-regular md:label-14-regular"
104
+ class="placeholder:text-content-on-surface-muted flex-1 truncate pr-2 label-m-regular md:label-s-regular"
105
105
  :class="{
106
106
  'text-content-on-surface-muted group-data-[invalid=true]/field:text-border-input-error':
107
107
  fileDisplayValue === '' && !isInvalid,