@rubenlangeweg/mero-ui 1.0.0 → 1.2.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 (220) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -2
  3. package/agent-docs/components/accordion.md +1 -1
  4. package/agent-docs/components/action-bar.md +2 -2
  5. package/agent-docs/components/action-button.md +1 -1
  6. package/agent-docs/components/agenda.md +1 -1
  7. package/agent-docs/components/alert-dialog.md +1 -1
  8. package/agent-docs/components/alert.md +1 -1
  9. package/agent-docs/components/app-layout.md +42 -3
  10. package/agent-docs/components/area-chart.md +1 -1
  11. package/agent-docs/components/aura.md +1 -1
  12. package/agent-docs/components/autocomplete.md +1 -1
  13. package/agent-docs/components/avatar-group.md +1 -1
  14. package/agent-docs/components/avatar.md +1 -1
  15. package/agent-docs/components/badge.md +1 -1
  16. package/agent-docs/components/bar-chart.md +1 -1
  17. package/agent-docs/components/breadcrumbs.md +1 -1
  18. package/agent-docs/components/browser-mockup.md +1 -1
  19. package/agent-docs/components/button-group.md +1 -1
  20. package/agent-docs/components/button.md +1 -1
  21. package/agent-docs/components/calendar.md +67 -66
  22. package/agent-docs/components/card.md +1 -1
  23. package/agent-docs/components/carousel.md +1 -1
  24. package/agent-docs/components/cell-color-picker.md +1 -1
  25. package/agent-docs/components/cell-select.md +1 -1
  26. package/agent-docs/components/cell-slider.md +1 -1
  27. package/agent-docs/components/cell-switch.md +1 -1
  28. package/agent-docs/components/chain-of-thought.md +1 -1
  29. package/agent-docs/components/chart-tooltip.md +1 -1
  30. package/agent-docs/components/chat-attachment.md +1 -1
  31. package/agent-docs/components/chat-conversation.md +1 -1
  32. package/agent-docs/components/chat-list-view.md +1 -1
  33. package/agent-docs/components/chat-loader.md +1 -1
  34. package/agent-docs/components/chat-message-actions.md +1 -1
  35. package/agent-docs/components/chat-message.md +1 -1
  36. package/agent-docs/components/chat-source.md +1 -1
  37. package/agent-docs/components/chat-tool.md +1 -1
  38. package/agent-docs/components/checkbox-button-group.md +1 -1
  39. package/agent-docs/components/checkbox-group.md +1 -1
  40. package/agent-docs/components/checkbox.md +1 -1
  41. package/agent-docs/components/chip.md +1 -1
  42. package/agent-docs/components/close-button.md +1 -1
  43. package/agent-docs/components/code-block.md +1 -1
  44. package/agent-docs/components/code-mockup.md +1 -1
  45. package/agent-docs/components/color-area.md +1 -1
  46. package/agent-docs/components/color-field.md +1 -1
  47. package/agent-docs/components/color-picker.md +1 -1
  48. package/agent-docs/components/color-slider.md +1 -1
  49. package/agent-docs/components/color-swatch.md +1 -1
  50. package/agent-docs/components/combo-box.md +1 -1
  51. package/agent-docs/components/command-menu.md +1 -1
  52. package/agent-docs/components/command.md +1 -1
  53. package/agent-docs/components/composed-chart.md +1 -1
  54. package/agent-docs/components/context-menu.md +1 -1
  55. package/agent-docs/components/countdown.md +1 -1
  56. package/agent-docs/components/data-grid.md +5 -5
  57. package/agent-docs/components/date-field.md +1 -1
  58. package/agent-docs/components/date-picker.md +1 -1
  59. package/agent-docs/components/date-range-picker.md +1 -1
  60. package/agent-docs/components/description-list.md +1 -1
  61. package/agent-docs/components/description.md +1 -1
  62. package/agent-docs/components/diff.md +1 -1
  63. package/agent-docs/components/disclosure-group.md +1 -1
  64. package/agent-docs/components/disclosure.md +1 -1
  65. package/agent-docs/components/dock.md +1 -1
  66. package/agent-docs/components/drawer.md +1 -1
  67. package/agent-docs/components/drop-zone.md +1 -1
  68. package/agent-docs/components/dropdown.md +1 -1
  69. package/agent-docs/components/emoji-picker.md +1 -1
  70. package/agent-docs/components/emoji-reaction-button.md +1 -1
  71. package/agent-docs/components/empty-state.md +55 -3
  72. package/agent-docs/components/error-message.md +1 -1
  73. package/agent-docs/components/fab.md +1 -1
  74. package/agent-docs/components/field-error.md +1 -1
  75. package/agent-docs/components/fieldset.md +1 -1
  76. package/agent-docs/components/file-drop-zone.md +34 -0
  77. package/agent-docs/components/file-field.md +55 -0
  78. package/agent-docs/components/file-input.md +1 -1
  79. package/agent-docs/components/file-tree.md +1 -1
  80. package/agent-docs/components/filter-chips.md +1 -1
  81. package/agent-docs/components/floating-toc.md +1 -1
  82. package/agent-docs/components/footer.md +1 -1
  83. package/agent-docs/components/form.md +1 -1
  84. package/agent-docs/components/hero.md +1 -1
  85. package/agent-docs/components/holo-card.md +1 -1
  86. package/agent-docs/components/hover-card.md +1 -1
  87. package/agent-docs/components/hover-gallery.md +1 -1
  88. package/agent-docs/components/indicator.md +1 -1
  89. package/agent-docs/components/inline-select.md +1 -1
  90. package/agent-docs/components/input-group.md +1 -1
  91. package/agent-docs/components/input-otp.md +1 -1
  92. package/agent-docs/components/input.md +1 -1
  93. package/agent-docs/components/item-card-group.md +1 -1
  94. package/agent-docs/components/item-card.md +1 -1
  95. package/agent-docs/components/join.md +1 -1
  96. package/agent-docs/components/joined-filter.md +1 -1
  97. package/agent-docs/components/kanban.md +1 -1
  98. package/agent-docs/components/kbd.md +1 -1
  99. package/agent-docs/components/kpi-group.md +1 -1
  100. package/agent-docs/components/kpi.md +1 -1
  101. package/agent-docs/components/label.md +1 -1
  102. package/agent-docs/components/line-chart.md +1 -1
  103. package/agent-docs/components/link.md +1 -1
  104. package/agent-docs/components/list-box.md +1 -1
  105. package/agent-docs/components/list-view.md +1 -1
  106. package/agent-docs/components/live-progress.md +1 -1
  107. package/agent-docs/components/map.md +1 -1
  108. package/agent-docs/components/markdown.md +1 -1
  109. package/agent-docs/components/mask.md +1 -1
  110. package/agent-docs/components/megamenu.md +1 -1
  111. package/agent-docs/components/menu-button.md +1 -1
  112. package/agent-docs/components/menu.md +1 -1
  113. package/agent-docs/components/meter.md +1 -1
  114. package/agent-docs/components/modal.md +45 -1
  115. package/agent-docs/components/native-select.md +1 -1
  116. package/agent-docs/components/navbar.md +1 -1
  117. package/agent-docs/components/number-field.md +1 -1
  118. package/agent-docs/components/number-stepper.md +1 -1
  119. package/agent-docs/components/number-value.md +1 -1
  120. package/agent-docs/components/page-header.md +2 -2
  121. package/agent-docs/components/pagination.md +1 -1
  122. package/agent-docs/components/phone-mockup.md +1 -1
  123. package/agent-docs/components/pie-chart.md +1 -1
  124. package/agent-docs/components/popover.md +1 -1
  125. package/agent-docs/components/pressable-feedback.md +1 -1
  126. package/agent-docs/components/progress-bar.md +1 -1
  127. package/agent-docs/components/progress-circle.md +1 -1
  128. package/agent-docs/components/prompt-input.md +1 -1
  129. package/agent-docs/components/prompt-suggestion.md +1 -1
  130. package/agent-docs/components/radar-chart.md +1 -1
  131. package/agent-docs/components/radial-chart.md +1 -1
  132. package/agent-docs/components/radio-button-group.md +1 -1
  133. package/agent-docs/components/radio-group.md +1 -1
  134. package/agent-docs/components/range-calendar.md +1 -1
  135. package/agent-docs/components/rating.md +1 -1
  136. package/agent-docs/components/reorder-rows.md +114 -0
  137. package/agent-docs/components/resizable.md +1 -1
  138. package/agent-docs/components/rich-text-editor.md +1 -1
  139. package/agent-docs/components/scroll-shadow.md +1 -1
  140. package/agent-docs/components/search-field.md +1 -1
  141. package/agent-docs/components/segment.md +1 -1
  142. package/agent-docs/components/select.md +1 -1
  143. package/agent-docs/components/separator.md +1 -1
  144. package/agent-docs/components/sheet.md +1 -1
  145. package/agent-docs/components/sidebar.md +6 -3
  146. package/agent-docs/components/skeleton.md +1 -1
  147. package/agent-docs/components/slider.md +1 -1
  148. package/agent-docs/components/sortable-table.md +1 -1
  149. package/agent-docs/components/spinner.md +1 -1
  150. package/agent-docs/components/stack.md +1 -1
  151. package/agent-docs/components/status.md +1 -1
  152. package/agent-docs/components/stepper.md +1 -1
  153. package/agent-docs/components/surface.md +1 -1
  154. package/agent-docs/components/swap.md +1 -1
  155. package/agent-docs/components/switch.md +1 -1
  156. package/agent-docs/components/table.md +1 -1
  157. package/agent-docs/components/tabs.md +1 -1
  158. package/agent-docs/components/tag-group.md +1 -1
  159. package/agent-docs/components/text-area.md +1 -1
  160. package/agent-docs/components/text-field.md +1 -1
  161. package/agent-docs/components/text-rotate.md +1 -1
  162. package/agent-docs/components/text-shimmer.md +1 -1
  163. package/agent-docs/components/theme-controller.md +1 -1
  164. package/agent-docs/components/time-field.md +1 -1
  165. package/agent-docs/components/timeline.md +1 -1
  166. package/agent-docs/components/toast.md +1 -1
  167. package/agent-docs/components/toggle-button-group.md +1 -1
  168. package/agent-docs/components/toggle-button.md +1 -1
  169. package/agent-docs/components/toolbar.md +1 -1
  170. package/agent-docs/components/tooltip.md +1 -1
  171. package/agent-docs/components/trend-chip.md +1 -1
  172. package/agent-docs/components/typed-confirmation.md +1 -1
  173. package/agent-docs/components/typography.md +1 -1
  174. package/agent-docs/components/validator.md +1 -1
  175. package/agent-docs/components/visually-hidden.md +1 -1
  176. package/agent-docs/components/widget.md +1 -1
  177. package/agent-docs/components/window-mockup.md +1 -1
  178. package/agent-docs/llms-components.txt +589 -250
  179. package/agent-docs/llms-full.txt +617 -256
  180. package/agent-docs/llms-patterns.txt +29 -7
  181. package/agent-docs/llms.txt +4 -1
  182. package/dist/manifest.json +108 -108
  183. package/dist/ui/mero-collections.min.css +2 -2
  184. package/dist/ui/mero-collections.min.js +2 -2
  185. package/dist/ui/mero-composition.min.css +2 -2
  186. package/dist/ui/mero-composition.min.js +1 -1
  187. package/dist/ui/mero-forms.min.js +2 -2
  188. package/dist/ui/mero-gallery.min.css +2 -2
  189. package/dist/ui/mero-gallery.min.js +1 -1
  190. package/dist/ui/mero-insights.min.css +2 -2
  191. package/dist/ui/mero-insights.min.js +1 -1
  192. package/dist/ui/mero-layouts.min.css +2 -2
  193. package/dist/ui/mero-live.min.js +1 -1
  194. package/dist/ui/mero-themes.min.css +2 -2
  195. package/dist/ui/mero-workspace.min.css +3 -3
  196. package/dist/ui/mero-workspace.min.js +2 -2
  197. package/dist/ui/mero.min.css +3 -3
  198. package/dist/ui/mero.min.js +2 -2
  199. package/package.json +1 -1
  200. package/ui/insight-charts.d.ts +1 -1
  201. package/ui/insight-charts.mjs +1 -1
  202. package/ui/insight-markdown.d.ts +1 -1
  203. package/ui/insight-markdown.mjs +1 -1
  204. package/ui/mero-collections.css +1 -1
  205. package/ui/mero-collections.js +120 -12
  206. package/ui/mero-composition.css +1 -1
  207. package/ui/mero-composition.js +1 -1
  208. package/ui/mero-forms.js +174 -17
  209. package/ui/mero-gallery.css +1 -1
  210. package/ui/mero-gallery.js +1 -1
  211. package/ui/mero-insights.css +1 -1
  212. package/ui/mero-insights.js +1 -1
  213. package/ui/mero-layouts.css +1 -1
  214. package/ui/mero-live.js +1 -1
  215. package/ui/mero-themes.css +1 -1
  216. package/ui/mero-workspace.css +4 -2
  217. package/ui/mero-workspace.js +14 -4
  218. package/ui/mero.css +92 -3
  219. package/ui/mero.d.ts +17 -1
  220. package/ui/mero.js +84 -12
@@ -0,0 +1,114 @@
1
+ # Reorder Rows
2
+
3
+ Mero UI 1.2.0 · Studio collections
4
+
5
+ Change the order of table or list rows from the keyboard and save it with a form.
6
+
7
+ [Integration patterns and API reference](../llms-patterns.txt)
8
+
9
+ ## Default
10
+
11
+ Put data-mero-reorder on the tbody or List View and data-mero-reorder-id on each row. Choose Move up or Move down in a row’s Actions menu, or press Alt+Up Arrow or Alt+Down Arrow with focus anywhere in the row. Focus stays on the moved row and the data-mero-reorder-status region announces the new position, such as “French moved to position 2 of 4”. Mero marks Move up in the first row and Move down in the last as aria-disabled. Each row carries a hidden input with its ID, so submitting the form posts the rows in their new order. The bubbling mero:reorder event carries the new order in event.detail.order; set hx-trigger to mero:reorder and hx-sync to this:queue last on the form to save every move, so moves made while a save is in flight end with one request carrying the latest order. Pointer drag is not included.
12
+
13
+ Page assets
14
+
15
+ ```html
16
+ <link rel="stylesheet" href="/mero.css">
17
+ <link rel="stylesheet" href="/mero-collections.css">
18
+ <script defer src="/vendor/htmx.min.js"></script>
19
+ <script defer src="/mero.js"></script>
20
+ <script defer src="/mero-collections.js"></script>
21
+ ```
22
+
23
+ Template
24
+
25
+ ````html
26
+ <form class="mero-stack" method="post" action="/demo/collections/order" hx-post="/demo/collections/order" hx-target="#reorder-result" hx-swap="innerHTML">
27
+ <div class="mero-table-wrap">
28
+ <table class="mero-table">
29
+ <caption>Content languages</caption>
30
+ <thead><tr><th scope="col">Language</th><th scope="col">Code</th><th scope="col">Actions</th></tr></thead>
31
+ <tbody data-mero-reorder>
32
+ <tr data-mero-reorder-id="en">
33
+ <th scope="row">English<input type="hidden" name="order" value="en"></th>
34
+ <td><code>en</code></td>
35
+ <td>
36
+ <button class="mero-button mero-button-ghost mero-button-sm" id="language-en-actions" type="button" popovertarget="language-en-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for English" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
37
+ <div class="mero-popover mero-menu" id="language-en-menu" popover role="menu" aria-label="English actions">
38
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
39
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
40
+ </div>
41
+ </td>
42
+ </tr>
43
+ <tr data-mero-reorder-id="de">
44
+ <th scope="row">German<input type="hidden" name="order" value="de"></th>
45
+ <td><code>de</code></td>
46
+ <td>
47
+ <button class="mero-button mero-button-ghost mero-button-sm" id="language-de-actions" type="button" popovertarget="language-de-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for German" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
48
+ <div class="mero-popover mero-menu" id="language-de-menu" popover role="menu" aria-label="German actions">
49
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
50
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <tr data-mero-reorder-id="fr">
55
+ <th scope="row">French<input type="hidden" name="order" value="fr"></th>
56
+ <td><code>fr</code></td>
57
+ <td>
58
+ <button class="mero-button mero-button-ghost mero-button-sm" id="language-fr-actions" type="button" popovertarget="language-fr-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for French" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
59
+ <div class="mero-popover mero-menu" id="language-fr-menu" popover role="menu" aria-label="French actions">
60
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
61
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
62
+ </div>
63
+ </td>
64
+ </tr>
65
+ <tr data-mero-reorder-id="nl">
66
+ <th scope="row">Dutch<input type="hidden" name="order" value="nl"></th>
67
+ <td><code>nl</code></td>
68
+ <td>
69
+ <button class="mero-button mero-button-ghost mero-button-sm" id="language-nl-actions" type="button" popovertarget="language-nl-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for Dutch" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
70
+ <div class="mero-popover mero-menu" id="language-nl-menu" popover role="menu" aria-label="Dutch actions">
71
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
72
+ <button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
73
+ </div>
74
+ </td>
75
+ </tr>
76
+ </tbody>
77
+ </table>
78
+ </div>
79
+ <p class="mero-sr-only" role="status" data-mero-reorder-status></p>
80
+ <button class="mero-button mero-button-primary" type="submit">Save order</button>
81
+ <div class="mero-form-status" id="reorder-result" role="status"></div>
82
+ </form>
83
+ ````
84
+
85
+ ## List View
86
+
87
+ Reorder List View rows with Alt+Arrow keys and save each move.
88
+
89
+ With a row link focused, Alt+Up Arrow or Alt+Down Arrow moves it. The form’s hx-trigger is mero:reorder, so each move posts the hidden inputs in their new order. hx-sync="this:queue last" makes moves made during a save send the latest order once that save ends.
90
+
91
+ Page assets
92
+
93
+ ```html
94
+ <link rel="stylesheet" href="/mero.css">
95
+ <link rel="stylesheet" href="/mero-collections.css">
96
+ <script defer src="/vendor/htmx.min.js"></script>
97
+ <script defer src="/mero.js"></script>
98
+ <script defer src="/mero-collections.js"></script>
99
+ ```
100
+
101
+ Template
102
+
103
+ ````html
104
+ <form class="mero-stack" method="post" action="/demo/collections/order" hx-post="/demo/collections/order" hx-trigger="mero:reorder" hx-sync="this:queue last" hx-target="#reorder-list-result" hx-swap="innerHTML">
105
+ <section class="mero-list-view" aria-label="Content languages" data-mero-reorder>
106
+ <a href="/components/reorder-rows" data-mero-reorder-id="en" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>English</strong><small>en</small></span><input type="hidden" name="order" value="en"><span aria-hidden="true">→</span></a>
107
+ <a href="/components/reorder-rows" data-mero-reorder-id="de" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>German</strong><small>de</small></span><input type="hidden" name="order" value="de"><span aria-hidden="true">→</span></a>
108
+ <a href="/components/reorder-rows" data-mero-reorder-id="fr" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>French</strong><small>fr</small></span><input type="hidden" name="order" value="fr"><span aria-hidden="true">→</span></a>
109
+ <a href="/components/reorder-rows" data-mero-reorder-id="nl" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>Dutch</strong><small>nl</small></span><input type="hidden" name="order" value="nl"><span aria-hidden="true">→</span></a>
110
+ </section>
111
+ <p class="mero-sr-only" role="status" data-mero-reorder-status></p>
112
+ <div class="mero-form-status" id="reorder-list-result" role="status"></div>
113
+ </form>
114
+ ````
@@ -1,6 +1,6 @@
1
1
  # Resizable
2
2
 
3
- Mero UI 1.0.0 · Workspace tools
3
+ Mero UI 1.2.0 · Workspace tools
4
4
 
5
5
  Resize two adjacent panels by dragging the divider or using the arrow keys.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Rich Text Editor
2
2
 
3
- Mero UI 1.0.0 · Workspace forms
3
+ Mero UI 1.2.0 · Workspace forms
4
4
 
5
5
  Edit a short description with bold and italic text and preview the submitted result.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Scroll Shadow
2
2
 
3
- Mero UI 1.0.0 · Utilities
3
+ Mero UI 1.2.0 · Utilities
4
4
 
5
5
  Expose a scrollable region with a visual cue that more content is available.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Search Field
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Use a native search field with the platform’s clear affordance.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Segment
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Choose one display density in a compact segmented control.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Select
2
2
 
3
- Mero UI 1.0.0 · Pickers
3
+ Mero UI 1.2.0 · Pickers
4
4
 
5
5
  Choose one of a fixed set of values using the platform’s picker.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Separator
2
2
 
3
- Mero UI 1.0.0 · Layout
3
+ Mero UI 1.2.0 · Layout
4
4
 
5
5
  Separate related content sections using a semantic rule.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Sheet
2
2
 
3
- Mero UI 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Present concise secondary content from the bottom edge.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Sidebar
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Navigate the workspace from a side rail that becomes a drawer at narrow widths.
6
6
 
@@ -8,6 +8,8 @@ Navigate the workspace from a side rail that becomes a drawer at narrow widths.
8
8
 
9
9
  ## Default
10
10
 
11
+ Keep the mero-skip-link as the shell's first focusable element so keyboard users can pass the navigation. It stays hidden until it receives keyboard focus. Its href names the id of the content region, which has tabindex="-1" so following the link moves focus there. When the shell is the whole page, make that region the page's main element, keeping its id and tabindex. To localise the label, change the link text in your template, for example to Naar inhoud; Mero adds no text of its own.
12
+
11
13
  Page assets
12
14
 
13
15
  ```html
@@ -21,10 +23,11 @@ Template
21
23
 
22
24
  ````html
23
25
  <section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
26
+ <a class="mero-skip-link" href="#workspace-main">Skip to content</a>
24
27
  <aside class="mero-ws-side"><strong>Studio North</strong><nav aria-label="Workspace sidebar"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></aside>
25
- <div class="mero-ws-shell-main">
28
+ <div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
26
29
  <button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
27
- <header><small>Studio North</small><h2>Workspace</h2></header>
30
+ <header><small>Studio North</small><h1>Workspace</h1></header>
28
31
  <div class="mero-ws-summary"><span class="mero-ws-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
29
32
  <a class="mero-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
30
33
  </div>
@@ -1,6 +1,6 @@
1
1
  # Skeleton
2
2
 
3
- Mero UI 1.0.0 · Feedback
3
+ Mero UI 1.2.0 · Feedback
4
4
 
5
5
  Reserve space for content while its HTML is loading.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Slider
2
2
 
3
- Mero UI 1.0.0 · Controls
3
+ Mero UI 1.2.0 · Controls
4
4
 
5
5
  Choose a value from a bounded range.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Sortable Table
2
2
 
3
- Mero UI 1.0.0 · Data display
3
+ Mero UI 1.2.0 · Data display
4
4
 
5
5
  Sort server-rendered rows from the column headers and open a row from anywhere in it.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Spinner
2
2
 
3
- Mero UI 1.0.0 · Feedback
3
+ Mero UI 1.2.0 · Feedback
4
4
 
5
5
  Indicate that work is underway when the completion time is unknown.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Stack
2
2
 
3
- Mero UI 1.0.0 · Display utilities
3
+ Mero UI 1.2.0 · Display utilities
4
4
 
5
5
  Layer related previews while keeping the current item legible.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Status
2
2
 
3
- Mero UI 1.0.0 · Display utilities
3
+ Mero UI 1.2.0 · Display utilities
4
4
 
5
5
  Show system status with a label and a visual marker.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Stepper
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Move through validated project details and review the values before submitting.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Surface
2
2
 
3
- Mero UI 1.0.0 · Layout
3
+ Mero UI 1.2.0 · Layout
4
4
 
5
5
  Give related content a tonal background with shared theme tokens.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Swap
2
2
 
3
- Mero UI 1.0.0 · Display utilities
3
+ Mero UI 1.2.0 · Display utilities
4
4
 
5
5
  Switch between two labels or icons on a native control.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Switch
2
2
 
3
- Mero UI 1.0.0 · Controls
3
+ Mero UI 1.2.0 · Controls
4
4
 
5
5
  Toggle one setting with a checkbox-backed switch.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Table
2
2
 
3
- Mero UI 1.0.0 · Data display
3
+ Mero UI 1.2.0 · Data display
4
4
 
5
5
  Show comparable records in a native table with column headers.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Tabs
2
2
 
3
- Mero UI 1.0.0 · Navigation
3
+ Mero UI 1.2.0 · Navigation
4
4
 
5
5
  Switch between labeled panels with mouse or arrow keys.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Tag Group
2
2
 
3
- Mero UI 1.0.0 · Collections
3
+ Mero UI 1.2.0 · Collections
4
4
 
5
5
  Display a small, labeled collection of metadata tags.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Text Area
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Let users edit multiple lines of text with an optional autosizing surface.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Text Field
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Compose a label, input, and hint into a reusable form field.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Text Rotate
2
2
 
3
- Mero UI 1.0.0 · Display utilities
3
+ Mero UI 1.2.0 · Display utilities
4
4
 
5
5
  Rotate through short messages with explicit playback controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Text Shimmer
2
2
 
3
- Mero UI 1.0.0 · Conversation
3
+ Mero UI 1.2.0 · Conversation
4
4
 
5
5
  Indicate work in progress with a moving highlight across readable text.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Theme Controller
2
2
 
3
- Mero UI 1.0.0 · Composition
3
+ Mero UI 1.2.0 · Composition
4
4
 
5
5
  Set a theme inside one section of a page.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Time Field
2
2
 
3
- Mero UI 1.0.0 · Date and time
3
+ Mero UI 1.2.0 · Date and time
4
4
 
5
5
  Choose a wall-clock time without a timezone conversion.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Timeline
2
2
 
3
- Mero UI 1.0.0 · Studio collections
3
+ Mero UI 1.2.0 · Studio collections
4
4
 
5
5
  Present milestones in order and identify the current step.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Toast
2
2
 
3
- Mero UI 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Announce a completed action without interrupting the current task.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Toggle Button Group
2
2
 
3
- Mero UI 1.0.0 · Buttons
3
+ Mero UI 1.2.0 · Buttons
4
4
 
5
5
  Select one presentation mode from a connected set of controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Toggle Button
2
2
 
3
- Mero UI 1.0.0 · Buttons
3
+ Mero UI 1.2.0 · Buttons
4
4
 
5
5
  Represent a persistent on or off state with a pressed button.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Toolbar
2
2
 
3
- Mero UI 1.0.0 · Layout
3
+ Mero UI 1.2.0 · Layout
4
4
 
5
5
  Keep nearby actions aligned and grouped by purpose.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Tooltip
2
2
 
3
- Mero UI 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Show a brief hint on pointer hover or keyboard focus.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Trend Chip
2
2
 
3
- Mero UI 1.0.0 · Interaction feedback
3
+ Mero UI 1.2.0 · Interaction feedback
4
4
 
5
5
  Label the direction and magnitude of a change.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Typed Confirmation
2
2
 
3
- Mero UI 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Require an exact phrase before submitting a destructive action.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Typography
2
2
 
3
- Mero UI 1.0.0 · Typography
3
+ Mero UI 1.2.0 · Typography
4
4
 
5
5
  Apply the type scale to semantic content.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Validator
2
2
 
3
- Mero UI 1.0.0 · Composition
3
+ Mero UI 1.2.0 · Composition
4
4
 
5
5
  Show a native field constraint and its correction with zero JavaScript.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Visually Hidden
2
2
 
3
- Mero UI 1.0.0 · Utilities
3
+ Mero UI 1.2.0 · Utilities
4
4
 
5
5
  Give screen readers context that the visible text leaves implied.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Widget
2
2
 
3
- Mero UI 1.0.0 · Studio collections
3
+ Mero UI 1.2.0 · Studio collections
4
4
 
5
5
  Use a dashboard panel to track a checklist and its progress.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Window Mockup
2
2
 
3
- Mero UI 1.0.0 · Mockups
3
+ Mero UI 1.2.0 · Mockups
4
4
 
5
5
  Place a desktop tool inside a labelled window.
6
6