@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
@@ -50,14 +50,14 @@ export const Extended1: Story = {
50
50
 
51
51
  <div class="mb-6">
52
52
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended-1</h2>
53
- <p class="body-14-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
53
+ <p class="body-s-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
54
54
  </div>
55
55
 
56
56
  <div class="flex flex-col items-start gap-1.5">
57
57
  <div class="w-16 h-16 rounded-md bg-extended-extended-1 border border-border-surface-default"></div>
58
58
  <div class="text-left">
59
- <span class="label-12-medium text-content-on-surface-primary block">extended-1</span>
60
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-1', this)">bg-extended-extended-1</code>
59
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-1</span>
60
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-1', this)">bg-extended-extended-1</code>
61
61
  </div>
62
62
  </div>
63
63
  </div>
@@ -84,14 +84,14 @@ export const Extended2: Story = {
84
84
 
85
85
  <div class="mb-6">
86
86
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended-2</h2>
87
- <p class="body-14-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
87
+ <p class="body-s-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
88
88
  </div>
89
89
 
90
90
  <div class="flex flex-col items-start gap-1.5">
91
91
  <div class="w-16 h-16 rounded-md bg-extended-extended-2 border border-border-surface-default"></div>
92
92
  <div class="text-left">
93
- <span class="label-12-medium text-content-on-surface-primary block">extended-2</span>
94
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-2', this)">bg-extended-extended-2</code>
93
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-2</span>
94
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-2', this)">bg-extended-extended-2</code>
95
95
  </div>
96
96
  </div>
97
97
  </div>
@@ -118,14 +118,14 @@ export const Extended3: Story = {
118
118
 
119
119
  <div class="mb-6">
120
120
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended-3</h2>
121
- <p class="body-14-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
121
+ <p class="body-s-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
122
122
  </div>
123
123
 
124
124
  <div class="flex flex-col items-start gap-1.5">
125
125
  <div class="w-16 h-16 rounded-md bg-extended-extended-3 border border-border-surface-default"></div>
126
126
  <div class="text-left">
127
- <span class="label-12-medium text-content-on-surface-primary block">extended-3</span>
128
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-3', this)">bg-extended-extended-3</code>
127
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-3</span>
128
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-3', this)">bg-extended-extended-3</code>
129
129
  </div>
130
130
  </div>
131
131
  </div>
@@ -152,14 +152,14 @@ export const Extended4: Story = {
152
152
 
153
153
  <div class="mb-6">
154
154
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended-4</h2>
155
- <p class="body-14-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
155
+ <p class="body-s-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
156
156
  </div>
157
157
 
158
158
  <div class="flex flex-col items-start gap-1.5">
159
159
  <div class="w-16 h-16 rounded-md bg-extended-extended-4 border border-border-surface-default"></div>
160
160
  <div class="text-left">
161
- <span class="label-12-medium text-content-on-surface-primary block">extended-4</span>
162
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-4', this)">bg-extended-extended-4</code>
161
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-4</span>
162
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-4', this)">bg-extended-extended-4</code>
163
163
  </div>
164
164
  </div>
165
165
  </div>
@@ -186,14 +186,14 @@ export const Extended5: Story = {
186
186
 
187
187
  <div class="mb-6">
188
188
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended-5</h2>
189
- <p class="body-14-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
189
+ <p class="body-s-regular text-content-on-surface-muted">Extended color for charts and non-semantic visualizations. Click class name to copy.</p>
190
190
  </div>
191
191
 
192
192
  <div class="flex flex-col items-start gap-1.5">
193
193
  <div class="w-16 h-16 rounded-md bg-extended-extended-5 border border-border-surface-default"></div>
194
194
  <div class="text-left">
195
- <span class="label-12-medium text-content-on-surface-primary block">extended-5</span>
196
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-5', this)">bg-extended-extended-5</code>
195
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-5</span>
196
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-5', this)">bg-extended-extended-5</code>
197
197
  </div>
198
198
  </div>
199
199
  </div>
@@ -220,47 +220,47 @@ export const AllExtended: Story = {
220
220
 
221
221
  <div class="mb-6">
222
222
  <h2 class="heading-s text-content-on-surface-primary mb-1">extended</h2>
223
- <p class="body-14-regular text-content-on-surface-muted">Extended colors are used for charts and other non-semantic visualizations. Click class name to copy.</p>
223
+ <p class="body-s-regular text-content-on-surface-muted">Extended colors are used for charts and other non-semantic visualizations. Click class name to copy.</p>
224
224
  </div>
225
225
 
226
226
  <div class="flex flex-wrap gap-6">
227
227
  <div class="flex flex-col items-center gap-1.5">
228
228
  <div class="w-16 h-16 rounded-md bg-extended-extended-1 border border-border-surface-default"></div>
229
229
  <div class="text-center">
230
- <span class="label-12-medium text-content-on-surface-primary block">extended-1</span>
231
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-1', this)">bg-extended-extended-1</code>
230
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-1</span>
231
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-1', this)">bg-extended-extended-1</code>
232
232
  </div>
233
233
  </div>
234
234
 
235
235
  <div class="flex flex-col items-center gap-1.5">
236
236
  <div class="w-16 h-16 rounded-md bg-extended-extended-2 border border-border-surface-default"></div>
237
237
  <div class="text-center">
238
- <span class="label-12-medium text-content-on-surface-primary block">extended-2</span>
239
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-2', this)">bg-extended-extended-2</code>
238
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-2</span>
239
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-2', this)">bg-extended-extended-2</code>
240
240
  </div>
241
241
  </div>
242
242
 
243
243
  <div class="flex flex-col items-center gap-1.5">
244
244
  <div class="w-16 h-16 rounded-md bg-extended-extended-3 border border-border-surface-default"></div>
245
245
  <div class="text-center">
246
- <span class="label-12-medium text-content-on-surface-primary block">extended-3</span>
247
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-3', this)">bg-extended-extended-3</code>
246
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-3</span>
247
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-3', this)">bg-extended-extended-3</code>
248
248
  </div>
249
249
  </div>
250
250
 
251
251
  <div class="flex flex-col items-center gap-1.5">
252
252
  <div class="w-16 h-16 rounded-md bg-extended-extended-4 border border-border-surface-default"></div>
253
253
  <div class="text-center">
254
- <span class="label-12-medium text-content-on-surface-primary block">extended-4</span>
255
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-4', this)">bg-extended-extended-4</code>
254
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-4</span>
255
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-4', this)">bg-extended-extended-4</code>
256
256
  </div>
257
257
  </div>
258
258
 
259
259
  <div class="flex flex-col items-center gap-1.5">
260
260
  <div class="w-16 h-16 rounded-md bg-extended-extended-5 border border-border-surface-default"></div>
261
261
  <div class="text-center">
262
- <span class="label-12-medium text-content-on-surface-primary block">extended-5</span>
263
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-5', this)">bg-extended-extended-5</code>
262
+ <span class="label-xs-medium text-content-on-surface-primary block">extended-5</span>
263
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-extended-extended-5', this)">bg-extended-extended-5</code>
264
264
  </div>
265
265
  </div>
266
266
  </div>
@@ -49,12 +49,12 @@ export const Direction: Story = {
49
49
 
50
50
  <div class="mb-8">
51
51
  <h2 class="heading-s text-content-on-surface-primary mb-1">Direction</h2>
52
- <p class="body-14-regular text-content-on-surface-muted">Control the direction of flex items. Click class name to copy.</p>
52
+ <p class="body-s-regular text-content-on-surface-muted">Control the direction of flex items. Click class name to copy.</p>
53
53
  </div>
54
54
 
55
55
  <div class="gap-y-8">
56
56
  <div>
57
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-row', this)">flex flex-row</code>
57
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-row', this)">flex flex-row</code>
58
58
  <div class="flex flex-row gap-2 p-4 bg-background-surface-muted rounded-md">
59
59
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
60
60
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -63,7 +63,7 @@ export const Direction: Story = {
63
63
  </div>
64
64
 
65
65
  <div>
66
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-col', this)">flex flex-col</code>
66
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-col', this)">flex flex-col</code>
67
67
  <div class="flex flex-col gap-2 p-4 bg-background-surface-muted rounded-md w-fit">
68
68
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
69
69
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -72,7 +72,7 @@ export const Direction: Story = {
72
72
  </div>
73
73
 
74
74
  <div>
75
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-row-reverse', this)">flex flex-row-reverse</code>
75
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-row-reverse', this)">flex flex-row-reverse</code>
76
76
  <div class="flex flex-row-reverse gap-2 p-4 bg-background-surface-muted rounded-md">
77
77
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
78
78
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -103,12 +103,12 @@ export const JustifyContent: Story = {
103
103
 
104
104
  <div class="mb-8">
105
105
  <h2 class="heading-s text-content-on-surface-primary mb-1">Justify Content</h2>
106
- <p class="body-14-regular text-content-on-surface-muted">Control how items are distributed along the main axis. Click class name to copy.</p>
106
+ <p class="body-s-regular text-content-on-surface-muted">Control how items are distributed along the main axis. Click class name to copy.</p>
107
107
  </div>
108
108
 
109
109
  <div class="gap-y-8">
110
110
  <div>
111
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-start', this)">flex justify-start</code>
111
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-start', this)">flex justify-start</code>
112
112
  <div class="flex justify-start gap-2 p-4 bg-background-surface-muted rounded-md">
113
113
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
114
114
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -117,7 +117,7 @@ export const JustifyContent: Story = {
117
117
  </div>
118
118
 
119
119
  <div>
120
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-center', this)">flex justify-center</code>
120
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-center', this)">flex justify-center</code>
121
121
  <div class="flex justify-center gap-2 p-4 bg-background-surface-muted rounded-md">
122
122
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
123
123
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -126,7 +126,7 @@ export const JustifyContent: Story = {
126
126
  </div>
127
127
 
128
128
  <div>
129
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-end', this)">flex justify-end</code>
129
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-end', this)">flex justify-end</code>
130
130
  <div class="flex justify-end gap-2 p-4 bg-background-surface-muted rounded-md">
131
131
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
132
132
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -135,7 +135,7 @@ export const JustifyContent: Story = {
135
135
  </div>
136
136
 
137
137
  <div>
138
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-between', this)">flex justify-between</code>
138
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex justify-between', this)">flex justify-between</code>
139
139
  <div class="flex justify-between p-4 bg-background-surface-muted rounded-md">
140
140
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
141
141
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -166,12 +166,12 @@ export const AlignItems: Story = {
166
166
 
167
167
  <div class="mb-8">
168
168
  <h2 class="heading-s text-content-on-surface-primary mb-1">Align Items</h2>
169
- <p class="body-14-regular text-content-on-surface-muted">Control how items are aligned along the cross axis. Click class name to copy.</p>
169
+ <p class="body-s-regular text-content-on-surface-muted">Control how items are aligned along the cross axis. Click class name to copy.</p>
170
170
  </div>
171
171
 
172
172
  <div class="gap-y-8">
173
173
  <div>
174
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-start', this)">flex items-start</code>
174
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-start', this)">flex items-start</code>
175
175
  <div class="flex items-start gap-2 p-4 bg-background-surface-muted rounded-md h-32">
176
176
  <div class="w-16 h-8 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
177
177
  <div class="w-16 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -180,7 +180,7 @@ export const AlignItems: Story = {
180
180
  </div>
181
181
 
182
182
  <div>
183
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-center', this)">flex items-center</code>
183
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-center', this)">flex items-center</code>
184
184
  <div class="flex items-center gap-2 p-4 bg-background-surface-muted rounded-md h-32">
185
185
  <div class="w-16 h-8 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
186
186
  <div class="w-16 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -189,7 +189,7 @@ export const AlignItems: Story = {
189
189
  </div>
190
190
 
191
191
  <div>
192
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-end', this)">flex items-end</code>
192
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-end', this)">flex items-end</code>
193
193
  <div class="flex items-end gap-2 p-4 bg-background-surface-muted rounded-md h-32">
194
194
  <div class="w-16 h-8 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
195
195
  <div class="w-16 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -198,7 +198,7 @@ export const AlignItems: Story = {
198
198
  </div>
199
199
 
200
200
  <div>
201
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-stretch', this)">flex items-stretch</code>
201
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex items-stretch', this)">flex items-stretch</code>
202
202
  <div class="flex items-stretch gap-2 p-4 bg-background-surface-muted rounded-md h-32">
203
203
  <div class="w-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
204
204
  <div class="w-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -229,12 +229,12 @@ export const Gap: Story = {
229
229
 
230
230
  <div class="mb-8">
231
231
  <h2 class="heading-s text-content-on-surface-primary mb-1">Gap</h2>
232
- <p class="body-14-regular text-content-on-surface-muted">Control spacing between flex items. Click class name to copy.</p>
232
+ <p class="body-s-regular text-content-on-surface-muted">Control spacing between flex items. Click class name to copy.</p>
233
233
  </div>
234
234
 
235
235
  <div class="gap-y-8">
236
236
  <div>
237
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-1', this)">flex gap-1</code>
237
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-1', this)">flex gap-1</code>
238
238
  <div class="flex gap-1 p-4 bg-background-surface-muted rounded-md">
239
239
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
240
240
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -243,7 +243,7 @@ export const Gap: Story = {
243
243
  </div>
244
244
 
245
245
  <div>
246
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-4', this)">flex gap-4</code>
246
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-4', this)">flex gap-4</code>
247
247
  <div class="flex gap-4 p-4 bg-background-surface-muted rounded-md">
248
248
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
249
249
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -252,7 +252,7 @@ export const Gap: Story = {
252
252
  </div>
253
253
 
254
254
  <div>
255
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-8', this)">flex gap-8</code>
255
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex gap-8', this)">flex gap-8</code>
256
256
  <div class="flex gap-8 p-4 bg-background-surface-muted rounded-md">
257
257
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
258
258
  <div class="w-16 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -283,12 +283,12 @@ export const Wrap: Story = {
283
283
 
284
284
  <div class="mb-8">
285
285
  <h2 class="heading-s text-content-on-surface-primary mb-1">Wrap</h2>
286
- <p class="body-14-regular text-content-on-surface-muted">Control how flex items wrap. Click class name to copy.</p>
286
+ <p class="body-s-regular text-content-on-surface-muted">Control how flex items wrap. Click class name to copy.</p>
287
287
  </div>
288
288
 
289
289
  <div class="gap-y-8">
290
290
  <div>
291
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-nowrap', this)">flex flex-nowrap</code>
291
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-nowrap', this)">flex flex-nowrap</code>
292
292
  <div class="flex flex-nowrap gap-2 p-4 bg-background-surface-muted rounded-md overflow-x-auto max-w-md" tabindex="0" aria-label="No-wrap flex example">
293
293
  <div class="w-24 h-16 flex-shrink-0 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
294
294
  <div class="w-24 h-16 flex-shrink-0 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -299,7 +299,7 @@ export const Wrap: Story = {
299
299
  </div>
300
300
 
301
301
  <div>
302
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-wrap', this)">flex flex-wrap</code>
302
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('flex flex-wrap', this)">flex flex-wrap</code>
303
303
  <div class="flex flex-wrap gap-2 p-4 bg-background-surface-muted rounded-md max-w-md">
304
304
  <div class="w-24 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
305
305
  <div class="w-24 h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -49,12 +49,12 @@ export const Columns: Story = {
49
49
 
50
50
  <div class="mb-8">
51
51
  <h2 class="heading-s text-content-on-surface-primary mb-1">Columns</h2>
52
- <p class="body-14-regular text-content-on-surface-muted">Control the number of grid columns. Click class name to copy.</p>
52
+ <p class="body-s-regular text-content-on-surface-muted">Control the number of grid columns. Click class name to copy.</p>
53
53
  </div>
54
54
 
55
55
  <div class="gap-y-8">
56
56
  <div>
57
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-2', this)">grid grid-cols-2</code>
57
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-2', this)">grid grid-cols-2</code>
58
58
  <div class="grid grid-cols-2 gap-2 p-4 bg-background-surface-muted rounded-md">
59
59
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
60
60
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -64,7 +64,7 @@ export const Columns: Story = {
64
64
  </div>
65
65
 
66
66
  <div>
67
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-3', this)">grid grid-cols-3</code>
67
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-3', this)">grid grid-cols-3</code>
68
68
  <div class="grid grid-cols-3 gap-2 p-4 bg-background-surface-muted rounded-md">
69
69
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
70
70
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -76,7 +76,7 @@ export const Columns: Story = {
76
76
  </div>
77
77
 
78
78
  <div>
79
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-4', this)">grid grid-cols-4</code>
79
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-4', this)">grid grid-cols-4</code>
80
80
  <div class="grid grid-cols-4 gap-2 p-4 bg-background-surface-muted rounded-md">
81
81
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
82
82
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -112,12 +112,12 @@ export const ColumnSpan: Story = {
112
112
 
113
113
  <div class="mb-8">
114
114
  <h2 class="heading-s text-content-on-surface-primary mb-1">Column Span</h2>
115
- <p class="body-14-regular text-content-on-surface-muted">Make items span multiple columns. Click class name to copy.</p>
115
+ <p class="body-s-regular text-content-on-surface-muted">Make items span multiple columns. Click class name to copy.</p>
116
116
  </div>
117
117
 
118
118
  <div class="gap-y-8">
119
119
  <div>
120
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('col-span-2', this)">col-span-2</code>
120
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('col-span-2', this)">col-span-2</code>
121
121
  <div class="grid grid-cols-4 gap-2 p-4 bg-background-surface-muted rounded-md">
122
122
  <div class="h-16 col-span-2 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">span-2</div>
123
123
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
@@ -129,7 +129,7 @@ export const ColumnSpan: Story = {
129
129
  </div>
130
130
 
131
131
  <div>
132
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('col-span-full', this)">col-span-full</code>
132
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('col-span-full', this)">col-span-full</code>
133
133
  <div class="grid grid-cols-4 gap-2 p-4 bg-background-surface-muted rounded-md">
134
134
  <div class="h-16 col-span-full bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">span-full</div>
135
135
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
@@ -162,12 +162,12 @@ export const Gap: Story = {
162
162
 
163
163
  <div class="mb-8">
164
164
  <h2 class="heading-s text-content-on-surface-primary mb-1">Gap</h2>
165
- <p class="body-14-regular text-content-on-surface-muted">Control spacing between grid items. Click class name to copy.</p>
165
+ <p class="body-s-regular text-content-on-surface-muted">Control spacing between grid items. Click class name to copy.</p>
166
166
  </div>
167
167
 
168
168
  <div class="gap-y-8">
169
169
  <div>
170
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-1', this)">grid gap-1</code>
170
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-1', this)">grid gap-1</code>
171
171
  <div class="grid grid-cols-3 gap-1 p-4 bg-background-surface-muted rounded-md">
172
172
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
173
173
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -176,7 +176,7 @@ export const Gap: Story = {
176
176
  </div>
177
177
 
178
178
  <div>
179
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-4', this)">grid gap-4</code>
179
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-4', this)">grid gap-4</code>
180
180
  <div class="grid grid-cols-3 gap-4 p-4 bg-background-surface-muted rounded-md">
181
181
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
182
182
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -185,7 +185,7 @@ export const Gap: Story = {
185
185
  </div>
186
186
 
187
187
  <div>
188
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-8', this)">grid gap-8</code>
188
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-8', this)">grid gap-8</code>
189
189
  <div class="grid grid-cols-3 gap-8 p-4 bg-background-surface-muted rounded-md">
190
190
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
191
191
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -194,7 +194,7 @@ export const Gap: Story = {
194
194
  </div>
195
195
 
196
196
  <div>
197
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-x-4 gap-y-2', this)">grid gap-x-4 gap-y-2</code>
197
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid gap-x-4 gap-y-2', this)">grid gap-x-4 gap-y-2</code>
198
198
  <div class="grid grid-cols-3 gap-x-4 gap-y-2 p-4 bg-background-surface-muted rounded-md">
199
199
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
200
200
  <div class="h-16 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -228,12 +228,12 @@ export const AutoColumns: Story = {
228
228
 
229
229
  <div class="mb-8">
230
230
  <h2 class="heading-s text-content-on-surface-primary mb-1">Auto Columns</h2>
231
- <p class="body-14-regular text-content-on-surface-muted">Create responsive grids with auto-fit. Click class name to copy.</p>
231
+ <p class="body-s-regular text-content-on-surface-muted">Create responsive grids with auto-fit. Click class name to copy.</p>
232
232
  </div>
233
233
 
234
234
  <div class="gap-y-8">
235
235
  <div>
236
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))]', this)">grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))]</code>
236
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))]', this)">grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))]</code>
237
237
  <div class="grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))] gap-4 p-4 bg-background-surface-muted rounded-md">
238
238
  <div class="h-24 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
239
239
  <div class="h-24 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -241,7 +241,7 @@ export const AutoColumns: Story = {
241
241
  <div class="h-24 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">4</div>
242
242
  <div class="h-24 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">5</div>
243
243
  </div>
244
- <p class="body-14-regular text-content-on-surface-muted mt-2">Resize the window to see columns adjust automatically.</p>
244
+ <p class="body-s-regular text-content-on-surface-muted mt-2">Resize the window to see columns adjust automatically.</p>
245
245
  </div>
246
246
  </div>
247
247
  </div>
@@ -267,12 +267,12 @@ export const PlaceItems: Story = {
267
267
 
268
268
  <div class="mb-8">
269
269
  <h2 class="heading-s text-content-on-surface-primary mb-1">Place Items</h2>
270
- <p class="body-14-regular text-content-on-surface-muted">Position all grid items at once. Click class name to copy.</p>
270
+ <p class="body-s-regular text-content-on-surface-muted">Position all grid items at once. Click class name to copy.</p>
271
271
  </div>
272
272
 
273
273
  <div class="gap-y-8">
274
274
  <div>
275
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-center', this)">grid place-items-center</code>
275
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-center', this)">grid place-items-center</code>
276
276
  <div class="grid grid-cols-3 place-items-center gap-4 p-4 bg-background-surface-muted rounded-md h-48">
277
277
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
278
278
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -281,7 +281,7 @@ export const PlaceItems: Story = {
281
281
  </div>
282
282
 
283
283
  <div>
284
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-start', this)">grid place-items-start</code>
284
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-start', this)">grid place-items-start</code>
285
285
  <div class="grid grid-cols-3 place-items-start gap-4 p-4 bg-background-surface-muted rounded-md h-48">
286
286
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
287
287
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -290,7 +290,7 @@ export const PlaceItems: Story = {
290
290
  </div>
291
291
 
292
292
  <div>
293
- <code class="copy-btn label-12-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-end', this)">grid place-items-end</code>
293
+ <code class="copy-btn label-xs-regular text-content-on-surface-muted block mb-2 px-1 py-0.5 rounded w-fit" onclick="copyToClipboard('grid place-items-end', this)">grid place-items-end</code>
294
294
  <div class="grid grid-cols-3 place-items-end gap-4 p-4 bg-background-surface-muted rounded-md h-48">
295
295
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">1</div>
296
296
  <div class="w-12 h-12 bg-background-accent-default rounded flex items-center justify-center text-content-on-accent-default">2</div>
@@ -78,7 +78,7 @@ const EXAMPLES: Array<{
78
78
 
79
79
  const renderCopyCode = (text: string): string => `
80
80
  <code
81
- class="copy-btn label-12-regular text-content-on-surface-muted inline-block px-1 py-0.5 rounded"
81
+ class="copy-btn label-xs-regular text-content-on-surface-muted inline-block px-1 py-0.5 rounded"
82
82
  onclick="copyToClipboard('${text}', this)"
83
83
  >${text}</code>
84
84
  `;
@@ -94,7 +94,7 @@ const renderPreview = (
94
94
  <div class="flex flex-col gap-2">
95
95
  <button
96
96
  type="button"
97
- class="${className} h-16 w-36 rounded-md px-3 body-14-medium"
97
+ class="${className} h-16 w-36 rounded-md px-3 body-s-medium"
98
98
  >
99
99
  <span>${variant}</span>
100
100
  </button>
@@ -115,7 +115,7 @@ const renderFixedHoverPreview = (
115
115
  <div class="flex flex-col gap-2">
116
116
  <button
117
117
  type="button"
118
- class="${className} h-16 w-36 rounded-md px-3 body-14-medium"
118
+ class="${className} h-16 w-36 rounded-md px-3 body-s-medium"
119
119
  >
120
120
  <span>hover</span>
121
121
  </button>
@@ -128,8 +128,8 @@ const renderFixedHoverPreview = (
128
128
  const renderExampleRow = (example: (typeof EXAMPLES)[number]): string => `
129
129
  <tr class="border-b border-border-surface-default last:border-b-0">
130
130
  <td class="p-3 align-top">
131
- <div class="body-14-medium text-content-on-surface-primary">${example.title}</div>
132
- <p class="label-12-regular text-content-on-surface-muted mt-1">${example.description}</p>
131
+ <div class="body-s-medium text-content-on-surface-primary">${example.title}</div>
132
+ <p class="label-xs-regular text-content-on-surface-muted mt-1">${example.description}</p>
133
133
  </td>
134
134
  ${
135
135
  example.hoverClass
@@ -160,36 +160,36 @@ export const All: Story = {
160
160
 
161
161
  <div class="mb-6">
162
162
  <h2 class="heading-s text-content-on-surface-primary mb-1">Hover Layer</h2>
163
- <p class="body-14-regular text-content-on-surface-muted max-w-3xl">
164
- Use <code class="label-12-medium">hover-layer</code> with
165
- <code class="label-12-medium">hover-layer-subtle</code>,
166
- <code class="label-12-medium">hover-layer-default</code>, or
167
- <code class="label-12-medium">hover-layer-strong</code>.
168
- The layer is rendered with <code class="label-12-medium">::after</code>
169
- and uses <code class="label-12-medium">overlay-hover-*</code> tokens directly.
163
+ <p class="body-s-regular text-content-on-surface-muted max-w-3xl">
164
+ Use <code class="label-xs-medium">hover-layer</code> with
165
+ <code class="label-xs-medium">hover-layer-subtle</code>,
166
+ <code class="label-xs-medium">hover-layer-default</code>, or
167
+ <code class="label-xs-medium">hover-layer-strong</code>.
168
+ The layer is rendered with <code class="label-xs-medium">::after</code>
169
+ and uses <code class="label-xs-medium">overlay-hover-*</code> tokens directly.
170
170
  </p>
171
171
  <div class="mt-4 max-w-3xl rounded-md border border-border-surface-default bg-background-surface-muted p-4">
172
- <h3 class="body-14-bold text-content-on-surface-primary mb-2">Hover Anatomy</h3>
172
+ <h3 class="body-s-bold text-content-on-surface-primary mb-2">Hover Anatomy</h3>
173
173
  <div class="grid gap-3 md:grid-cols-2">
174
174
  <div>
175
- <p class="label-12-medium text-content-on-surface-primary mb-1">No existing background color</p>
176
- <p class="label-12-regular text-content-on-surface-muted">
175
+ <p class="label-xs-medium text-content-on-surface-primary mb-1">No existing background color</p>
176
+ <p class="label-xs-regular text-content-on-surface-muted">
177
177
  State: Hover<br />
178
- Fill 1: <code class="label-12-medium">hover:bg-background-surface-muted-subtle</code>
178
+ Fill 1: <code class="label-xs-medium">hover:bg-background-surface-muted-subtle</code>
179
179
  </p>
180
180
  </div>
181
181
  <div>
182
- <p class="label-12-medium text-content-on-surface-primary mb-1">Existing background color</p>
183
- <p class="label-12-regular text-content-on-surface-muted">
182
+ <p class="label-xs-medium text-content-on-surface-primary mb-1">Existing background color</p>
183
+ <p class="label-xs-regular text-content-on-surface-muted">
184
184
  State: Hover<br />
185
185
  Fill 1: inherited from the component<br />
186
- Fill 2: <code class="label-12-medium">hover-layer hover-layer-subtle</code>,
187
- <code class="label-12-medium">hover-layer hover-layer-default</code>, or
188
- <code class="label-12-medium">hover-layer hover-layer-strong</code>
186
+ Fill 2: <code class="label-xs-medium">hover-layer hover-layer-subtle</code>,
187
+ <code class="label-xs-medium">hover-layer hover-layer-default</code>, or
188
+ <code class="label-xs-medium">hover-layer hover-layer-strong</code>
189
189
  </p>
190
190
  </div>
191
191
  </div>
192
- <p class="label-12-regular text-content-on-surface-muted mt-3">
192
+ <p class="label-xs-regular text-content-on-surface-muted mt-3">
193
193
  The design team defines hover strength at component level based on the underlying base color.
194
194
  Always check which strength the component uses before changing it.
195
195
  </p>
@@ -200,10 +200,10 @@ export const All: Story = {
200
200
  <table class="w-full border-collapse text-left">
201
201
  <thead>
202
202
  <tr class="border-b border-border-surface-default">
203
- <th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Example</th>
204
- <th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Subtle</th>
205
- <th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Default</th>
206
- <th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Strong</th>
203
+ <th class="p-3 label-xs-medium text-content-on-surface-muted font-medium">Example</th>
204
+ <th class="p-3 label-xs-medium text-content-on-surface-muted font-medium">Subtle</th>
205
+ <th class="p-3 label-xs-medium text-content-on-surface-muted font-medium">Default</th>
206
+ <th class="p-3 label-xs-medium text-content-on-surface-muted font-medium">Strong</th>
207
207
  </tr>
208
208
  </thead>
209
209
  <tbody>