@rubenlangeweg/mero-ui 0.8.0 → 0.10.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 (221) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +50 -11
  3. package/agent-docs/components/accordion.md +1 -1
  4. package/agent-docs/components/action-bar.md +1 -1
  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 +1 -1
  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 +3 -3
  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 +41 -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 +1 -1
  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 +1 -1
  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-input.md +1 -1
  77. package/agent-docs/components/file-tree.md +1 -1
  78. package/agent-docs/components/filter-chips.md +1 -1
  79. package/agent-docs/components/floating-toc.md +1 -1
  80. package/agent-docs/components/footer.md +1 -1
  81. package/agent-docs/components/form.md +1 -1
  82. package/agent-docs/components/hero.md +1 -1
  83. package/agent-docs/components/holo-card.md +1 -1
  84. package/agent-docs/components/hover-card.md +1 -1
  85. package/agent-docs/components/hover-gallery.md +1 -1
  86. package/agent-docs/components/indicator.md +1 -1
  87. package/agent-docs/components/inline-select.md +1 -1
  88. package/agent-docs/components/input-group.md +1 -1
  89. package/agent-docs/components/input-otp.md +1 -1
  90. package/agent-docs/components/input.md +1 -1
  91. package/agent-docs/components/item-card-group.md +1 -1
  92. package/agent-docs/components/item-card.md +1 -1
  93. package/agent-docs/components/join.md +1 -1
  94. package/agent-docs/components/joined-filter.md +1 -1
  95. package/agent-docs/components/kanban.md +1 -1
  96. package/agent-docs/components/kbd.md +1 -1
  97. package/agent-docs/components/kpi-group.md +1 -1
  98. package/agent-docs/components/kpi.md +1 -1
  99. package/agent-docs/components/label.md +1 -1
  100. package/agent-docs/components/line-chart.md +1 -1
  101. package/agent-docs/components/link.md +1 -1
  102. package/agent-docs/components/list-box.md +1 -1
  103. package/agent-docs/components/list-view.md +1 -1
  104. package/agent-docs/components/live-progress.md +1 -1
  105. package/agent-docs/components/map.md +1 -1
  106. package/agent-docs/components/markdown.md +1 -1
  107. package/agent-docs/components/mask.md +1 -1
  108. package/agent-docs/components/megamenu.md +1 -1
  109. package/agent-docs/components/menu-button.md +1 -1
  110. package/agent-docs/components/menu.md +1 -1
  111. package/agent-docs/components/meter.md +1 -1
  112. package/agent-docs/components/modal.md +1 -1
  113. package/agent-docs/components/native-select.md +1 -1
  114. package/agent-docs/components/navbar.md +1 -1
  115. package/agent-docs/components/number-field.md +1 -1
  116. package/agent-docs/components/number-stepper.md +1 -1
  117. package/agent-docs/components/number-value.md +1 -1
  118. package/agent-docs/components/page-header.md +1 -1
  119. package/agent-docs/components/pagination.md +1 -1
  120. package/agent-docs/components/phone-mockup.md +1 -1
  121. package/agent-docs/components/pie-chart.md +1 -1
  122. package/agent-docs/components/popover.md +1 -1
  123. package/agent-docs/components/pressable-feedback.md +1 -1
  124. package/agent-docs/components/progress-bar.md +1 -1
  125. package/agent-docs/components/progress-circle.md +1 -1
  126. package/agent-docs/components/prompt-input.md +1 -1
  127. package/agent-docs/components/prompt-suggestion.md +1 -1
  128. package/agent-docs/components/radar-chart.md +1 -1
  129. package/agent-docs/components/radial-chart.md +1 -1
  130. package/agent-docs/components/radio-button-group.md +1 -1
  131. package/agent-docs/components/radio-group.md +1 -1
  132. package/agent-docs/components/range-calendar.md +1 -1
  133. package/agent-docs/components/rating.md +1 -1
  134. package/agent-docs/components/resizable.md +1 -1
  135. package/agent-docs/components/rich-text-editor.md +1 -1
  136. package/agent-docs/components/scroll-shadow.md +1 -1
  137. package/agent-docs/components/search-field.md +1 -1
  138. package/agent-docs/components/segment.md +1 -1
  139. package/agent-docs/components/select.md +1 -1
  140. package/agent-docs/components/separator.md +1 -1
  141. package/agent-docs/components/sheet.md +1 -1
  142. package/agent-docs/components/sidebar.md +1 -1
  143. package/agent-docs/components/skeleton.md +1 -1
  144. package/agent-docs/components/slider.md +1 -1
  145. package/agent-docs/components/sortable-table.md +1 -1
  146. package/agent-docs/components/spinner.md +1 -1
  147. package/agent-docs/components/stack.md +1 -1
  148. package/agent-docs/components/status.md +1 -1
  149. package/agent-docs/components/stepper.md +1 -1
  150. package/agent-docs/components/surface.md +1 -1
  151. package/agent-docs/components/swap.md +1 -1
  152. package/agent-docs/components/switch.md +1 -1
  153. package/agent-docs/components/table.md +1 -1
  154. package/agent-docs/components/tabs.md +1 -1
  155. package/agent-docs/components/tag-group.md +1 -1
  156. package/agent-docs/components/text-area.md +1 -1
  157. package/agent-docs/components/text-field.md +1 -1
  158. package/agent-docs/components/text-rotate.md +1 -1
  159. package/agent-docs/components/text-shimmer.md +1 -1
  160. package/agent-docs/components/theme-controller.md +1 -1
  161. package/agent-docs/components/time-field.md +1 -1
  162. package/agent-docs/components/timeline.md +1 -1
  163. package/agent-docs/components/toast.md +1 -1
  164. package/agent-docs/components/toggle-button-group.md +1 -1
  165. package/agent-docs/components/toggle-button.md +1 -1
  166. package/agent-docs/components/toolbar.md +1 -1
  167. package/agent-docs/components/tooltip.md +1 -1
  168. package/agent-docs/components/trend-chip.md +1 -1
  169. package/agent-docs/components/typed-confirmation.md +1 -1
  170. package/agent-docs/components/typography.md +1 -1
  171. package/agent-docs/components/validator.md +23 -2
  172. package/agent-docs/components/visually-hidden.md +1 -1
  173. package/agent-docs/components/widget.md +1 -1
  174. package/agent-docs/components/window-mockup.md +1 -1
  175. package/agent-docs/llms-components.txt +237 -176
  176. package/agent-docs/llms-full.txt +363 -194
  177. package/agent-docs/llms-patterns.txt +127 -19
  178. package/agent-docs/llms.txt +1 -1
  179. package/bin/mero-ui.mjs +505 -0
  180. package/dist/manifest.json +230 -0
  181. package/dist/ui/mero-collections.min.css +3 -0
  182. package/dist/ui/mero-collections.min.js +2 -0
  183. package/dist/ui/mero-composition.min.css +3 -0
  184. package/dist/ui/mero-composition.min.js +2 -0
  185. package/dist/ui/mero-forms.min.js +2 -0
  186. package/dist/ui/mero-gallery.min.css +3 -0
  187. package/dist/ui/mero-gallery.min.js +2 -0
  188. package/dist/ui/mero-insights.min.css +3 -0
  189. package/dist/ui/mero-insights.min.js +2 -0
  190. package/dist/ui/mero-layouts.min.css +3 -0
  191. package/dist/ui/mero-live.min.js +2 -0
  192. package/dist/ui/mero-themes.min.css +3 -0
  193. package/dist/ui/mero-workspace.min.css +3 -0
  194. package/dist/ui/mero-workspace.min.js +4 -0
  195. package/dist/ui/mero.min.css +3 -0
  196. package/dist/ui/mero.min.js +2 -0
  197. package/package.json +27 -5
  198. package/ui/insight-charts.d.ts +20 -0
  199. package/ui/insight-charts.mjs +1 -1
  200. package/ui/insight-markdown.d.ts +2 -0
  201. package/ui/insight-markdown.mjs +2 -2
  202. package/ui/mero-collections.css +3 -1
  203. package/ui/mero-collections.js +1 -1
  204. package/ui/mero-composition.css +3 -1
  205. package/ui/mero-composition.js +2 -2
  206. package/ui/mero-forms.js +384 -72
  207. package/ui/mero-gallery.css +4 -16
  208. package/ui/mero-gallery.js +1 -1
  209. package/ui/mero-insights.css +3 -1
  210. package/ui/mero-insights.js +2 -2
  211. package/ui/mero-layouts.css +3 -1
  212. package/ui/mero-live.js +68 -10
  213. package/ui/mero-themes.css +186 -0
  214. package/ui/mero-workspace.css +3 -1
  215. package/ui/mero-workspace.js +1 -1
  216. package/ui/mero.css +104 -16
  217. package/ui/mero.d.ts +162 -0
  218. package/ui/mero.js +451 -62
  219. package/ui/mero-inventory.css +0 -182
  220. package/ui/mero-inventory.js +0 -56
  221. package/ui/studio-lamp.webp +0 -0
@@ -1,4 +1,4 @@
1
- # Mero UI 0.8.0 integration patterns
1
+ # Mero UI 0.10.0 integration patterns
2
2
 
3
3
  ## Install a component
4
4
 
@@ -10,9 +10,9 @@ Replace demonstration URLs with your routes and render user data with your templ
10
10
 
11
11
  For a validating data-mero-form, return the filled form with HTTP 422 and mark the invalid field. For Typed Confirmation, keep the original form on a successful save using the response headers under mero:form-saved below.
12
12
 
13
- ## Apply a theme
13
+ ## Apply a theme and coexist with Tailwind CSS v4
14
14
 
15
- Load your --mero-* token overrides after mero.css. Set data-theme="light" or data-theme="dark" on the document or section. Check both themes and keyboard focus after the fragment changes.
15
+ Load optional ui/mero-themes.css after mero.css for composable presets (cobalt, fern, clay, editorial) and structural modifiers (compact, flat, crisp) alongside light, dark or auto on data-theme (e.g. data-theme="cobalt dark compact"), or override --mero-* tokens including --mero-border-width and --mero-depth. For zero-JS constraint validation hints, add .mero-validator on an input/select/textarea with a sibling .mero-validator-hint. When using Tailwind CSS v4 alongside Mero, declare `@layer theme, base, mero, components, utilities;` before importing Tailwind and mero.css.
16
16
 
17
17
  ## Events Mero sends
18
18
 
@@ -20,19 +20,61 @@ Events bubble to the document.
20
20
 
21
21
  ### mero:selection
22
22
 
23
- Fires on the `data-mero-listbox` element when a person chooses an option.
23
+ Fires on a `data-mero-listbox` when a person chooses an option, or on a `data-mero-multiselect` when a chip is added or removed.
24
24
 
25
- event.detail: `{ value, option }`. `value` is the option’s `data-value`, or its text when that is absent. `option` is the chosen element.
25
+ event.detail: `{ value, option } or { values, added, removed, option }`. On a listbox, `value` is the option’s `data-value` or trimmed text. On a multi-select, `values` is the array of selected values and `added` / `removed` name the change.
26
+
27
+ ### mero:tab
28
+
29
+ Fires on the newly selected tab when a person changes the tab with a click, an arrow key, Home or End, after the tabs and panels are updated. It does not fire for the tab selected at load, or when the selected tab is chosen again.
30
+
31
+ event.detail: `{ tab, panel }`. `tab` is the selected tab. `panel` is the element its `aria-controls` names, or `null` when there is none.
32
+
33
+ ### mero:toggle
34
+
35
+ Fires on a `data-mero-toggle` button after a click flips its `aria-pressed`.
36
+
37
+ event.detail: `{ pressed }`. `pressed` is the new state, a boolean.
38
+
39
+ ### mero:select
40
+
41
+ Fires on a combobox input after a person selects an option and Mero writes the value and fires `change`.
42
+
43
+ event.detail: `{ value, label, option }`. `value` is the option’s `data-value` or trimmed text, `label` is its trimmed text and `option` is the chosen element.
44
+
45
+ ### mero:dialog
46
+
47
+ Fires on a `<dialog>` when Mero opens it and when any `<dialog>` closes.
48
+
49
+ event.detail: `{ open, dialog, returnValue }`. `open` is a boolean, `dialog` is the dialog element and `returnValue` is the dialog’s return value on close (empty string on open).
50
+
51
+ ### mero:peek
52
+
53
+ Fires on the `data-mero-peek` region when the row preview opens, moves to another row or closes (or on `document` if the region was removed). Swaps that keep the same row open do not repeat the event.
54
+
55
+ event.detail: `{ open, key, href, link, panel }`. `open` is a boolean, `key` is the row’s ID or link `href`, and `href`, `link` and `panel` are set while open and `null` on close.
56
+
57
+ ### mero:dirty
58
+
59
+ Fires on a `form[data-mero-dirty]` when its dirty state changes between clean and modified. Does not fire at load or from `MeroUI.init()`. Requires `mero-forms.js`.
60
+
61
+ event.detail: `{ dirty, form }`. `dirty` is a boolean and `form` is the form element.
62
+
63
+ ### mero:boost-unmatched
64
+
65
+ Fires on a boosted non-GET element (or on `document` when detached) when the server’s response does not contain the `data-mero-boost` region. Mero cancels the swap and keeps the current page instead of navigating to the action URL with GET.
66
+
67
+ event.detail: `{ source, status, method, url, text, response }`. `source` is the requesting element, `status` is the HTTP status code (or 0), `method` is the uppercase HTTP method, `url` is the final response or action URL, `text` is the raw response body and `response` is the htmx response object.
26
68
 
27
69
  ### mero:query
28
70
 
29
- Fires on a remote combobox input when it needs fresh options, for example an arrow key after a failed request. Add it to `hx-trigger` next to `input`.
71
+ Fires on a remote combobox input when it needs fresh options, for example an arrow key after a failed request. Add it to `hx-trigger` next to `input`. To follow the option a person chooses, listen for `mero:select` or the native `change` event on the input, both of which bubble.
30
72
 
31
73
  ### mero:action
32
74
 
33
75
  Fires on a `data-mero-action` button or a `data-mero-form` when its request starts and when it ends, or on the document when a swap removed the element. Requires `mero-forms.js`.
34
76
 
35
- event.detail: `{ state, status, message }`. `state` is `pending`, `succeeded`, `rejected` or `unknown`. `status` and `message` are set once the request ends. `status` is 0 when no response arrived.
77
+ event.detail: `{ state, status, message, source, id }`. `state` is `pending`, `succeeded`, `rejected` or `unknown`. `source` is the originating form or button (even when detached by a swap) and `id` is its `id` or `null`. `status` and `message` are set once the request ends; `status` is 0 when no response arrived.
36
78
 
37
79
  ### mero:refresh
38
80
 
@@ -75,17 +117,25 @@ HX-Trigger: {"mero:form-saved":{"message":"Saved"}}
75
117
 
76
118
  Opens a `<dialog>` as a modal. Pass the element or its ID. Focus returns to `trigger` on close, by default the element focused when you call it.
77
119
 
78
- ### MeroUI.close(dialog, { focus, value })
120
+ ### MeroUI.close(dialog, { focus, value, preserveToasts })
79
121
 
80
- Closes an open dialog. `focus` overrides where focus returns. `value` becomes the dialog’s `returnValue`.
122
+ Closes an open dialog. `focus` overrides where focus returns. `value` becomes the dialog’s `returnValue`. Set `preserveToasts: true` to move live toasts inside the dialog to `document.body` instead of removing them.
81
123
 
82
- ### MeroUI.toast(message, { tone, duration })
124
+ ### MeroUI.toast(message, { tone, duration, trigger })
83
125
 
84
- Shows a notification. `tone` is `accent`, `success`, `warning` or `danger`. `duration` is in milliseconds, 4800 by default. Use 0 to keep it until dismissed.
126
+ Shows a notification. `tone` is `accent`, `success`, `warning` or `danger`. `duration` is in milliseconds, 4800 by default. Use 0 to keep it until dismissed. `trigger` is the element the notification belongs to, by default the focused element. When it is inside an open dialog, the notification shows in that dialog.
85
127
 
86
128
  ### MeroUI.init(root)
87
129
 
88
- Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero calls it for every htmx swap. Call it yourself for markup you insert another way.
130
+ Sets up tabs, listboxes, comboboxes, auto-opening dialogs, and—when loaded—`mero-forms.js` state helpers (`data-mero-dirty`, `data-mero-show-when`, `data-mero-confirm`) and `mero-live.js` polling inside `root`. Mero calls it for every htmx swap. Call it yourself for markup you insert another way.
131
+
132
+ ### MeroUI.cleanup(root)
133
+
134
+ Tears down Mero state inside `root` before removing it outside htmx: stops and aborts `data-mero-live` polls, clears tracked tooltips and closes any open row preview in `root`.
135
+
136
+ ### MeroUI.configure({ messages, locale, dialogBackdrop })
137
+
138
+ Configures runtime strings (`messages`), default formatting locale (`locale`, or `"document"` / `"browser"`) and backdrop light-dismiss scope (`dialogBackdrop`: `"all"` or `"mero-only"`). Returns the resolved configuration snapshot.
89
139
 
90
140
  ## Component attributes
91
141
 
@@ -95,6 +145,7 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
95
145
  - `data-mero-close` — On a control inside a dialog. Closes it. The value becomes the dialog’s `returnValue`.
96
146
  - `data-mero-autoopen` — On a dialog. Opens it as soon as it is on the page or swapped in.
97
147
  - `data-mero-static` — On a dialog. A click on the backdrop does not close it.
148
+ - `data-mero-dialog` — On a dialog without `.mero-dialog`. Opts the dialog into backdrop light-dismiss when `MeroUI.configure({ dialogBackdrop: "mero-only" })` is set.
98
149
  - `data-mero-toast` — On a button. Shows the value as a notification on click.
99
150
  - `data-mero-tone` — With `data-mero-toast`. One of `accent`, `success`, `warning` or `danger`.
100
151
  - `data-mero-toggle` — On a button. Flips `aria-pressed` on click.
@@ -109,6 +160,10 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
109
160
  - `data-mero-combo` — Root of a combobox. Wraps the `role="combobox"` input and its options.
110
161
  - `data-mero-combo-remote` — On the combobox root when the options come from your server. Mero then leaves filtering to the response.
111
162
  - `data-mero-combo-status` — Inside a combobox. The element that receives loading and error text.
163
+ - `data-mero-multiselect` — With `data-mero-combo`. Turns a combobox into a multi-select tag picker whose selected chips submit as hidden inputs and emit `mero:selection`. See the [Combo Box](components/combo-box.md) Multi-select variant.
164
+ - `data-mero-multiselect-chips` — Inside a `data-mero-multiselect`. The list element holding selected `.mero-chip` items and their hidden inputs.
165
+ - `data-mero-multiselect-name` — On a `data-mero-multiselect`. The field `name` used for generated hidden inputs.
166
+ - `data-mero-multiselect-remove` — On a chip’s remove button inside `data-mero-multiselect`. Removes the chip, updates `aria-selected` and moves focus to a neighbour or the combobox input.
112
167
  - `data-mero-empty-option` — On the option to show when nothing matches. It cannot be selected.
113
168
  - `data-mero-active` (set by Mero) — On the option highlighted with the keyboard.
114
169
  - `data-mero-combo-pending` (set by Mero) — On the combobox input while a request for options is in flight.
@@ -126,12 +181,14 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
126
181
  - `data-mero-restore-focus` — On a list container. After Back to this page, focuses the link in it that was opened. Links are matched by `href`.
127
182
  - `data-mero-copy-target` — On a button. A selector for an input, textarea or element whose value or text the button copies, then confirms with a “Copied” notification. When the browser blocks clipboard access, Mero selects the text instead. Prefer it for secrets. See the [Button](components/button.md) Copy to clipboard variant.
128
183
  - `data-mero-copy-message` — With `data-mero-copy` or `data-mero-copy-target`. Replaces the “Copied” notification.
129
- - `data-mero-time` — On a `<time datetime>`. Rewrites its text in the reader’s locale and time zone: `absolute` (date and time), `date`, `time` or `relative` (“5 minutes ago”, refreshed every minute, with the full date in `title`). Render the UTC time as its text for readers without scripts. See the [Typography](components/typography.md) Local time variant.
184
+ - `data-mero-time` — On a `<time datetime>`. Rewrites its text in the resolved locale and reader’s time zone: `absolute` (date and time), `date`, `time` or `relative` (“5 minutes ago”, refreshed every minute, with the full date in `title`). Follows a differing `[lang]` ancestor automatically, or `data-mero-locale` / `MeroUI.configure({ locale })`. Render the UTC time as its text for readers without scripts. See the [Typography](components/typography.md) Local time variant.
185
+ - `data-mero-locale` — On a `<time data-mero-time>`, a `data-mero-live` region or an ancestor. Overrides the BCP-47 locale used to format dates and times, or accepts `document` (follow `[lang]`) or `browser` (always use the browser locale).
130
186
  - `data-mero-shortcut` — On a control. A single key such as `/` or `n`, or a two-key sequence such as `g r`, that focuses a field or clicks anything else. Ignored while typing in a field, in a menu, list, tab list, grid or combobox, with Ctrl, Cmd or Alt held, and outside an open modal dialog. Mero sets `aria-keyshortcuts` for single keys. See the [Kbd](components/kbd.md) Keyboard shortcuts variant.
131
187
  - `data-mero-shortcuts-toggle` — On a checkbox, switch, `menuitemcheckbox` or button. Turns single-key shortcuts off and on for every page in this browser, as WCAG 2.1.4 requires, and removes `aria-keyshortcuts` while they are off. Mero keeps its checked or pressed state in step.
132
188
  - `data-mero-focus-fallback` — On one focusable element inside an htmx swap target, or inside a `data-mero-restore-focus` container. When a swap or morph removes the focused element and leaves focus on the page body, Mero focuses the same element if it survived, else the element with its ID, else this fallback. Mero only acts when focus was inside the target as the swap began, never after the person moved focus elsewhere, and a server `autofocus` wins.
133
189
  - `data-mero-focus-manual` — On an htmx swap target, or an ancestor. Mero leaves focus after swaps inside it to your own code.
134
- - `data-mero-boost` — On an element with `hx-boost:inherited`, such as `<body>`. A selector for the region every boosted page contains. The newest boosted GET wins and older ones are aborted; boosted forms that change data are never aborted. A response without the region and without `HX-Redirect`, `HX-Location` or `HX-Refresh`, or a GET that fails without a response, becomes a full page load. When a boosted page swaps in, open dialogs other than static and alert dialogs close, and focus moves to the region unless htmx `autofocus` placed it or the person moved it during the load. See the [Drawer](components/drawer.md) Boosted navigation variant.
190
+ - `data-mero-boost` — On an element with `hx-boost:inherited`, such as `<body>`. A selector for the region every boosted page contains. Guards both boosted requests and declarative `hx-get` requests whose target is or contains the region (unless opted out with `data-mero-boost-ignore`), automatically selecting the region from full-page answers when the control omits `hx-select`. The newest GET wins and older ones are aborted; boosted forms that change data are never aborted. A guarded GET response without the region and without `HX-Redirect`, `HX-Location` or `HX-Refresh`, or a GET that fails without a response, becomes a full page load. A boosted non-GET response without the region cancels the swap, leaves the page intact and fires `mero:boost-unmatched` instead of issuing a GET to the action URL. When a guarded page swaps in, open dialogs other than static and alert dialogs close, and focus moves to the region unless htmx `autofocus` placed it or the person moved it during the load. See the [Drawer](components/drawer.md) Boosted navigation variant.
191
+ - `data-mero-boost-ignore` — On a control or ancestor inside a `data-mero-boost` container. Opts declarative `hx-get` fragment requests targeting the boosted region out of the boost guard, automatic region selection, dialog closing and full-load fallback.
135
192
  - `data-mero-pending` — On any element. Shows a `.mero-indicator` inside it, as `.htmx-request` does.
136
193
  - `data-mero-request` — With a pending state. Sets a progress cursor on the element.
137
194
 
@@ -143,7 +200,7 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
143
200
  - `data-mero-confirm-reason` — On the optional reason field. Add `required` to require a non-empty, trimmed value.
144
201
  - `data-mero-confirm-submit` — On the danger submit button. Render it disabled until the phrase and any required reason are ready.
145
202
  - `data-mero-confirm-hint` — A polite status in the form explaining what still needs to be entered. Associate it with the input and the confirm button.
146
- - `data-mero-form` — On a form that htmx submits. Disables its submit buttons while the request runs, swaps in the replacement form on HTTP 422 and focuses the first invalid field. Reports the outcome like `data-mero-action`: the submitter gets `data-mero-action-state`, the form fires `mero:action`, and `Mero-Action-Outcome` and `Mero-Action-Message` override the state and the error text. A `mero:form-saved` trigger only acts on a succeeded outcome. A succeeded `Mero-Action-Message` shows as a toast.
203
+ - `data-mero-form` — On a form that htmx submits. Disables its submit buttons and marks editable fields and multi-select containers `inert` while the request runs (without affecting submitted form data; pass `data-mero-form="keep-editable"` for composers that preserve mid-flight drafts), swaps in the replacement form on HTTP 422 and focuses the first invalid field. Reports the outcome like `data-mero-action`: the submitter gets `data-mero-action-state`, the form fires `mero:action`, and `Mero-Action-Outcome` and `Mero-Action-Message` override the state and the error text. A `mero:form-saved` trigger only acts on a succeeded outcome. A succeeded `Mero-Action-Message` shows as a toast.
147
204
  - `data-mero-clear-passwords` — On a `data-mero-form`. Empties its password fields after every response, whatever the outcome, and in the replacement form after a 422.
148
205
  - `data-mero-action` — On a button outside a form that makes an htmx request. Shows its outcome and ignores clicks while the request runs. `Mero-Action-Outcome` and `Mero-Action-Message` response headers override the state and the text.
149
206
  - `data-mero-action-state` (set by Mero) — On a `data-mero-action` button, or on the button that submitted a `data-mero-form` (the form itself when there is none): `pending`, then `succeeded` (2xx), `rejected` (4xx other than 408) or `unknown` (anything else, including network errors, timeouts and a request aborted after it was sent). A request cancelled before it was sent clears the state.
@@ -156,8 +213,12 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
156
213
  - `data-mero-form-error` — Inside the form. Receives the message when a request fails with a status other than 422. Send your own text in a `Mero-Form-Error` response header.
157
214
  - `data-mero-return-focus` — On the form. Selector for the element to focus after `mero:form-saved`.
158
215
  - `data-mero-fallback-focus` — On the form. Selector to focus when the return-focus element is gone.
159
- - `data-mero-show-when` — On a branch inside a form, ideally a `<fieldset>`. `field=value other` shows the branch while the form’s field has one of the values and hides and disables it otherwise, so its fields neither validate nor submit. Render the right state on the server too. See the [Fieldset](components/fieldset.md) Conditional fields variant.
160
- - `data-mero-dirty` — On a form. Keeps its submit buttons disabled until a field differs from the value the server rendered, and again once every field is back to that value.
216
+ - `data-mero-show-when` — On a branch inside a form, ideally a `<fieldset>`. `field=value other` shows the branch while the form’s field has one of the values (or `field!=value other` when it has none of them) and hides and disables it otherwise, so its fields neither validate nor submit. Render the right state on the server too. See the [Fieldset](components/fieldset.md) Conditional fields variant.
217
+ - `data-mero-show-when-keep-enabled` — With `data-mero-show-when`. Hides the branch visually without disabling its controls, so hidden fields still submit.
218
+ - `data-mero-dirty` — On a form. Keeps its submit buttons disabled until a field or `data-mero-multiselect` differs from the value the server rendered, emits `mero:dirty` on transitions, and resets its baseline after `mero:form-saved` when the form stays in the page.
219
+ - `data-mero-dirty-guard` — With `data-mero-dirty`. Prompts before boosted navigation or page unload while the form has unsaved edits. Optional value overrides the confirmation message.
220
+ - `data-mero-conflict-swap` — On a `data-mero-form`. Allows HTTP 409 responses to swap a conflict or merge replacement form (like HTTP 422) without overwriting the form error banner.
221
+ - `data-mero-conflict-focus` — On a control inside a swapped 409 conflict form. Receives focus automatically after the swap, ahead of `aria-invalid`.
161
222
  - `data-mero-close-all` — On a form in a nested dialog. A save closes the parent dialogs too.
162
223
  - `data-mero-hold` — Keeps the page while something the person cannot get back is on its way or on screen. On a `data-mero-form` or `data-mero-action` button it holds while the request is pending. On a `data-mero-ephemeral` element it holds while the element has content. While held, Mero cancels boosted navigation, history restores and requests whose target is the body or contains the held element, undoes Back to another htmx history entry and asks before the page unloads. Requests from controls inside the held content still run. The value is the warning shown as a toast; empty uses a generic text. See the [Form](components/form.md) One-time credential variant.
163
224
  - `data-mero-ephemeral` — On the element that receives a one-time secret, such as a new API token. Mero empties it when its dialog closes, when a `data-mero-ephemeral-dismiss` button inside it is activated, and when the page is hidden, so the back-forward cache cannot show it again. Add `data-mero-hold` to keep the page while it has content.
@@ -170,7 +231,7 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
170
231
  - `data-mero-live-error` — An initially empty status region that announces a failed read. The last good status stays visible until a successful read. The attribute value, when set, replaces the default text; `{time}` becomes the time of the last good read in the browser’s locale, or the page load when no read has succeeded yet.
171
232
  - `data-mero-live-follow` — On the `data-mero-live` region. An error response with `HX-Redirect`, `HX-Location` or `HX-Refresh: true`, such as a 401 for an expired session, is handed to htmx instead of retried, and polling stops. Without it Mero ignores those headers on an error response and keeps retrying.
172
233
  - `data-mero-live-retry` — On a hidden button. Mero shows it after a failed read. Activating it refreshes the status immediately. If a successful read hides the focused button, focus returns to the region.
173
- - `data-mero-live-done` — On an operation with a final status. Mero sets it after a successful response with the terminal header, and after following a redirect with `data-mero-live-follow`. Render it yourself if the operation has already finished.
234
+ - `data-mero-live-done` (set by Mero) — On an operation with a final status. Mero sets it after a successful response with the terminal header, and after following a redirect with `data-mero-live-follow`. Render it yourself if the operation has already finished.
174
235
 
175
236
  ### Gallery · mero-gallery.js
176
237
 
@@ -247,11 +308,58 @@ Sets up tabs, listboxes, comboboxes and auto-opening dialogs inside `root`. Mero
247
308
  - `data-mero-theme-scope` — On a section. Receives the theme chosen in the picker inside it.
248
309
  - `data-mero-theme-picker` — On a select or radio. Its value becomes the scope’s `data-theme`.
249
310
  - `data-mero-cutoff-hour` — Around a `<time>`. Counts down to that hour, 0 to 23 in UTC.
250
- - `data-mero-check-form` — On the catalog’s validation demo form. It reports a fixed message and is not meant for your app.
311
+ - `data-mero-check-form` — Deprecated. Demo-only validation form hook; will be removed in 1.0.
312
+
313
+ ## State Mero owns
314
+
315
+ The native and ARIA state Mero writes besides the attributes marked set by Mero above. Render the starting state in your markup, then leave these to Mero: a second writer and Mero overwrite each other. This list covers `mero.js`, `mero-forms.js` and `mero-live.js`. The state the other scripts write is not listed.
316
+
317
+ - Dialog (mero.js) — The `open` state of a dialog opened with `data-mero-open` or `MeroUI.open`.
318
+ - Scoped IDs (mero.js) — Inside a `data-mero-scope` or `data-mero-tabs`: the `id` of an element whose ID is already used elsewhere on the page, and every reference to it in that scope: `for`, `aria-controls`, `aria-labelledby`, `aria-describedby`, `aria-activedescendant`, `popovertarget`, `data-mero-open` and the ID selectors `data-mero-scope` lists. Read these from the element. Do not write back the ID you rendered.
319
+ - Tabs (mero.js) — `aria-selected` and `tabindex` on each tab, and `hidden` on each panel a tab names in `aria-controls`.
320
+ - List box (mero.js) — `aria-selected` and `tabindex` on each option.
321
+ - Combobox (mero.js) — On the input: `aria-expanded`, `aria-activedescendant` and, while a remote query runs, `aria-busy`. On the list it controls: `hidden` on the list, on options that do not match and on the empty row, and `aria-selected` on options. The input’s value when a person chooses an option. Opening a `data-mero-command` dialog clears its combobox input.
322
+ - Accordion (mero.js) — The `name` of each `details` directly inside a `data-mero-accordion`.
323
+ - Toggle button (mero.js) — `aria-pressed` on a `data-mero-toggle` button.
324
+ - Menu (mero.js) — `aria-expanded` on the button that opens a popover with `role="menu"`.
325
+ - Shortcuts (mero.js) — `aria-keyshortcuts` on a `data-mero-shortcut` element. On a `data-mero-shortcuts-toggle`: `checked` on a checkbox, otherwise `aria-checked` or `aria-pressed`.
326
+ - Radio group (mero.js) — For a `data-mero-radio-group` outside a form: the `form` attribute on each radio, pointing at a hidden form Mero adds, and `checked` on the selected radio.
327
+ - Toast and peek (mero.js) — Mero creates these elements and sets their `role`, `aria-label`, `aria-live` and `aria-hidden`.
328
+ - Form (mero-forms.js) — On a `data-mero-form` while its request runs: `aria-busy` on the form, `disabled` on its submit buttons and `inert` on its editable fields, reset buttons and multi-select containers (restored when the request ends if the form survives). `hidden` on its `data-mero-form-error` element and on a `data-mero-action-unknown` panel. With `data-mero-clear-passwords`: the value of its password inputs, cleared when the request ends unless it was cancelled.
329
+ - Action button (mero-forms.js) — On a `data-mero-action` button while its request runs: `aria-busy` and `aria-disabled`. `hidden` on a `data-mero-action-unknown` panel, and `hidden` and `data-tone` on `data-mero-action-status`. `aria-busy` on the region a `data-mero-action-reread` selector names, while Mero reads it again. That is the selected region, not the button, form or ancestor that carries the attribute, and it applies to a `data-mero-form` too.
330
+ - Typed confirmation (mero-forms.js) — `disabled` on `data-mero-confirm-submit`. The value of `data-mero-confirm-input`, cleared when its dialog closes.
331
+ - Show-when (mero-forms.js) — `hidden` on the branch, and `disabled` on a fieldset branch and on the controls inside a branch.
332
+ - Dirty (mero-forms.js) — `disabled` on the submit buttons of a `data-mero-dirty` form.
333
+ - Search (mero-forms.js) — `hidden` on `data-mero-search-error`. After a successful read: `defaultSelected` on each option and `defaultChecked` on each checkbox and radio of the form, set to the current choice, so a form reset returns to the last search that worked. After a failed read: `selected` and `checked`, put back to those defaults.
334
+ - Live progress (mero-live.js) — `aria-busy` on the `data-mero-live` region while a read runs, and `hidden` on `data-mero-live-retry`.
335
+ - Focus targets (mero.js, mero-forms.js, mero-live.js) — `tabindex="-1"` on a region Mero moves focus to when it has no `tabindex`: the boosted region, a `data-mero-live` region and an emptied `data-mero-ephemeral` element.
336
+
337
+ ## Headers
338
+
339
+ The `Mero-*` HTTP headers. Your server sends the response headers. Mero sends the request header.
340
+
341
+ - `Mero-Action-Outcome` (response, mero-forms.js) — `succeeded`, `rejected` or `unknown`. Overrides the outcome Mero derives from the status code of a `data-mero-action` or `data-mero-form` request. Any other value is ignored.
342
+ - `Mero-Action-Message` (response, mero-forms.js) — Text to show for the outcome of a `data-mero-action` or `data-mero-form` request.
343
+ - `Mero-Form-Error` (response, mero-forms.js) — Fallback text for a failed request. A form shows it when there is no `Mero-Action-Message` and no `data-mero-action-unknown` text, and never for a 422 without `Mero-Action-Outcome`, where the replacement form shows its own errors. A search shows it when `data-mero-search-error` has no value.
344
+ - `Mero-Live` (response, mero-live.js) — `done` on the final successful read of a `data-mero-live` region. Polling stops.
345
+ - `Mero-Live-Interval` (response, mero-live.js) — Positive interval in milliseconds returned on a successful `data-mero-live` read to adjust subsequent polling cadence.
346
+ - `Mero-Reread` (request, mero-forms.js) — A number Mero sends with the GET that reads again the region a `data-mero-action-reread` selector names.
347
+
348
+ ## With Alpine or your own scripts
349
+
350
+ What a browser test proves about Mero next to Alpine. It runs Alpine 3.14.8, the oldest version tested, and Alpine 3.17.5, with htmx 4.0.2 and its `hx-alpine-compat` extension loaded straight after htmx. Other Alpine versions and setups without the extension are not tested. The events are listed under “Events Mero sends”.
351
+
352
+ - Script order — With Mero and Alpine both loaded as deferred scripts, either order works.
353
+ - Listen, do not read — Put `x-on:mero:selection`, `x-on:mero:tab`, `x-on:mero:toggle`, `x-on:mero:select`, `x-on:mero:dialog` or `x-on:mero:dirty` on an `x-data` ancestor of the component. Each event arrives after Mero has written the state, so the listener sees the new state. Mero selecting a tab or flipping a toggle inside an `x-data` root leaves Alpine’s own state alone.
354
+ - mero:action — For a form or `data-mero-action` button that stays in the page, or a form that a 422 response replaces with another `data-mero-form`, a listener on an ancestor hears both the pending and the final event. When the swap removes the element and leaves no replacement, the final event fires on the document; use `@mero:action.window` on an Alpine component or a native listener on `document`. The detail is `{ state, source, id }` while pending and `{ state, status, message, source, id }` at the end, so a window listener can identify which form or button settled by `id` or `source` even after removal. Tested with `data-mero-form` and `data-mero-action` across succeeded, rejected and unknown outcomes.
355
+ - Combobox — Use `@mero:select` or `x-model.lazy` on the combobox input. Choosing an option fires `change` and `mero:select`, and never fires a synthetic `input` event (so remote comboboxes do not trigger a redundant server search).
356
+ - Writing a field value — A script that sets an input’s value fires no event. Dispatch a bubbling `change` on the input afterwards, or `data-mero-dirty`, `mero:dirty` and `data-mero-show-when` keep their old state.
357
+ - htmx swaps — After an `innerHTML` swap into an `x-data` element, and after an `innerMorph` or `outerMorph` swap of one with `hx-alpine-compat` loaded, the Alpine state survives, Alpine binds the new children and Mero sets up the tabs in the new content.
358
+ - Markup Alpine inserts or removes — Mero does not watch `x-if` or `x-teleport` insertions automatically. Call `MeroUI.init(el)` on the inserted element to set up tabs, `mero-forms.js` state helpers (`data-mero-dirty`, `data-mero-show-when`, `data-mero-confirm`) and `mero-live.js` polling (`mero-live.js` also invokes `htmx.process()` on an unprocessed live region; call `htmx.process(el)` explicitly for any other manually inserted `hx-*` controls). Repeated calls do not duplicate setup and reconcile state that changed between calls. Call `MeroUI.cleanup(el)` before removing a subtree with a `data-mero-live` region so pending polls stop immediately.
251
359
 
252
360
  # Carousel
253
361
 
254
- Mero UI 0.8.0 · Media galleries
362
+ Mero UI 0.10.0 · Media galleries
255
363
 
256
364
  Browse product photography with native scroll snap, thumbnails and keyboard controls.
257
365
 
@@ -328,7 +436,7 @@ Template
328
436
 
329
437
  # Hover Gallery
330
438
 
331
- Mero UI 0.8.0 · Media galleries
439
+ Mero UI 0.10.0 · Media galleries
332
440
 
333
441
  Explore the shade, base and profile of a product with a pointer, touch or keyboard.
334
442
 
@@ -405,7 +513,7 @@ Template
405
513
 
406
514
  # Image Diff
407
515
 
408
- Mero UI 0.8.0 · Media galleries
516
+ Mero UI 0.10.0 · Media galleries
409
517
 
410
518
  Reveal two finishes at the same position using an accessible comparison slider.
411
519
 
@@ -447,7 +555,7 @@ Template
447
555
 
448
556
  # Holo Card
449
557
 
450
- Mero UI 0.8.0 · Media galleries
558
+ Mero UI 0.10.0 · Media galleries
451
559
 
452
560
  Catch a material sample in a shifting foil reflection.
453
561
 
@@ -479,7 +587,7 @@ Template
479
587
 
480
588
  # Data Grid
481
589
 
482
- Mero UI 0.8.0 · Studio collections
590
+ Mero UI 0.10.0 · Studio collections
483
591
 
484
592
  Search, sort, select and edit products in a server-rendered collection.
485
593
 
@@ -637,7 +745,7 @@ Template
637
745
 
638
746
  # Action Bar
639
747
 
640
- Mero UI 0.8.0 · Studio collections
748
+ Mero UI 0.10.0 · Studio collections
641
749
 
642
750
  Select records and apply one status change to the selection.
643
751
 
@@ -681,7 +789,7 @@ Template
681
789
 
682
790
  # Agenda
683
791
 
684
- Mero UI 0.8.0 · Studio collections
792
+ Mero UI 0.10.0 · Studio collections
685
793
 
686
794
  Browse daily bookings and add a timed event.
687
795
 
@@ -718,7 +826,7 @@ Template
718
826
 
719
827
  # File Tree
720
828
 
721
- Mero UI 0.8.0 · Studio collections
829
+ Mero UI 0.10.0 · Studio collections
722
830
 
723
831
  Expand folders and preview a selected file with native disclosure controls.
724
832
 
@@ -741,7 +849,7 @@ Template
741
849
 
742
850
  # Floating TOC
743
851
 
744
- Mero UI 0.8.0 · Studio collections
852
+ Mero UI 0.10.0 · Studio collections
745
853
 
746
854
  Navigate to sections with an index that follows the reading position.
747
855
 
@@ -764,7 +872,7 @@ Template
764
872
 
765
873
  # Hover Card
766
874
 
767
- Mero UI 0.8.0 · Studio collections
875
+ Mero UI 0.10.0 · Studio collections
768
876
 
769
877
  Preview a contributor on hover, focus or tap.
770
878
 
@@ -789,7 +897,7 @@ Template
789
897
 
790
898
  # Item Card
791
899
 
792
- Mero UI 0.8.0 · Studio collections
900
+ Mero UI 0.10.0 · Studio collections
793
901
 
794
902
  Give a related destination an identity, title and supporting detail.
795
903
 
@@ -812,7 +920,7 @@ Template
812
920
 
813
921
  # Item Card Group
814
922
 
815
- Mero UI 0.8.0 · Studio collections
923
+ Mero UI 0.10.0 · Studio collections
816
924
 
817
925
  Arrange related destinations into a responsive group.
818
926
 
@@ -835,7 +943,7 @@ Template
835
943
 
836
944
  # Kanban
837
945
 
838
- Mero UI 0.8.0 · Studio collections
946
+ Mero UI 0.10.0 · Studio collections
839
947
 
840
948
  Move a card between stages with a drag or its Move to menu.
841
949
 
@@ -860,7 +968,7 @@ Template
860
968
 
861
969
  # List View
862
970
 
863
- Mero UI 0.8.0 · Studio collections
971
+ Mero UI 0.10.0 · Studio collections
864
972
 
865
973
  Browse structured destinations in a compact keyboard-accessible list.
866
974
 
@@ -883,7 +991,7 @@ Template
883
991
 
884
992
  # Map
885
993
 
886
- Mero UI 0.8.0 · Studio collections
994
+ Mero UI 0.10.0 · Studio collections
887
995
 
888
996
  Choose a location on a self-contained campus map and read its address.
889
997
 
@@ -908,7 +1016,7 @@ Template
908
1016
 
909
1017
  # Timeline
910
1018
 
911
- Mero UI 0.8.0 · Studio collections
1019
+ Mero UI 0.10.0 · Studio collections
912
1020
 
913
1021
  Present milestones in order and identify the current step.
914
1022
 
@@ -931,7 +1039,7 @@ Template
931
1039
 
932
1040
  # Widget
933
1041
 
934
- Mero UI 0.8.0 · Studio collections
1042
+ Mero UI 0.10.0 · Studio collections
935
1043
 
936
1044
  Use a dashboard panel to track a checklist and its progress.
937
1045
 
@@ -954,7 +1062,7 @@ Template
954
1062
 
955
1063
  # Cell Color Picker
956
1064
 
957
- Mero UI 0.8.0 · Workspace forms
1065
+ Mero UI 0.10.0 · Workspace forms
958
1066
 
959
1067
  Change one preference and receive inline confirmation from the server.
960
1068
 
@@ -985,7 +1093,7 @@ Template
985
1093
 
986
1094
  # Cell Select
987
1095
 
988
- Mero UI 0.8.0 · Workspace forms
1096
+ Mero UI 0.10.0 · Workspace forms
989
1097
 
990
1098
  Change one preference and receive inline confirmation from the server.
991
1099
 
@@ -1016,7 +1124,7 @@ Template
1016
1124
 
1017
1125
  # Cell Slider
1018
1126
 
1019
- Mero UI 0.8.0 · Workspace forms
1127
+ Mero UI 0.10.0 · Workspace forms
1020
1128
 
1021
1129
  Change one preference and receive inline confirmation from the server.
1022
1130
 
@@ -1047,7 +1155,7 @@ Template
1047
1155
 
1048
1156
  # Cell Switch
1049
1157
 
1050
- Mero UI 0.8.0 · Workspace forms
1158
+ Mero UI 0.10.0 · Workspace forms
1051
1159
 
1052
1160
  Change one preference and receive inline confirmation from the server.
1053
1161
 
@@ -1078,7 +1186,7 @@ Template
1078
1186
 
1079
1187
  # Checkbox Button Group
1080
1188
 
1081
- Mero UI 0.8.0 · Workspace forms
1189
+ Mero UI 0.10.0 · Workspace forms
1082
1190
 
1083
1191
  Select several release channels using native checkboxes.
1084
1192
 
@@ -1106,7 +1214,7 @@ Template
1106
1214
 
1107
1215
  # Radio Button Group
1108
1216
 
1109
- Mero UI 0.8.0 · Workspace forms
1217
+ Mero UI 0.10.0 · Workspace forms
1110
1218
 
1111
1219
  Choose one release schedule with labelled option cards.
1112
1220
 
@@ -1133,7 +1241,7 @@ Template
1133
1241
 
1134
1242
  # Native Select
1135
1243
 
1136
- Mero UI 0.8.0 · Workspace forms
1244
+ Mero UI 0.10.0 · Workspace forms
1137
1245
 
1138
1246
  Choose a workspace from labelled option groups.
1139
1247
 
@@ -1158,7 +1266,7 @@ Template
1158
1266
 
1159
1267
  # Inline Select
1160
1268
 
1161
- Mero UI 0.8.0 · Workspace forms
1269
+ Mero UI 0.10.0 · Workspace forms
1162
1270
 
1163
1271
  Change an audience within the sentence that describes it.
1164
1272
 
@@ -1183,7 +1291,7 @@ Template
1183
1291
 
1184
1292
  # Number Stepper
1185
1293
 
1186
- Mero UI 0.8.0 · Workspace forms
1294
+ Mero UI 0.10.0 · Workspace forms
1187
1295
 
1188
1296
  Change a bounded quantity with the keyboard or step buttons.
1189
1297
 
@@ -1213,7 +1321,7 @@ Template
1213
1321
 
1214
1322
  # File Input
1215
1323
 
1216
- Mero UI 0.8.0 · Workspace forms
1324
+ Mero UI 0.10.0 · Workspace forms
1217
1325
 
1218
1326
  Choose a local product image and validate it on the server.
1219
1327
 
@@ -1244,7 +1352,7 @@ Template
1244
1352
 
1245
1353
  # Drop Zone
1246
1354
 
1247
- Mero UI 0.8.0 · Workspace forms
1355
+ Mero UI 0.10.0 · Workspace forms
1248
1356
 
1249
1357
  Drop an image or use the native file picker and check the file.
1250
1358
 
@@ -1277,7 +1385,7 @@ Template
1277
1385
 
1278
1386
  # Rich Text Editor
1279
1387
 
1280
- Mero UI 0.8.0 · Workspace forms
1388
+ Mero UI 0.10.0 · Workspace forms
1281
1389
 
1282
1390
  Edit a short description with bold and italic text and preview the submitted result.
1283
1391
 
@@ -1311,7 +1419,7 @@ Template
1311
1419
 
1312
1420
  # Joined Filter
1313
1421
 
1314
- Mero UI 0.8.0 · Workspace forms
1422
+ Mero UI 0.10.0 · Workspace forms
1315
1423
 
1316
1424
  Search and filter releases with one server request.
1317
1425
 
@@ -1338,7 +1446,7 @@ Template
1338
1446
 
1339
1447
  # App Layout
1340
1448
 
1341
- Mero UI 0.8.0 · Workspace navigation
1449
+ Mero UI 0.10.0 · Workspace navigation
1342
1450
 
1343
1451
  A responsive workspace with a sidebar, content area and mobile navigation drawer.
1344
1452
 
@@ -1373,7 +1481,7 @@ Template
1373
1481
 
1374
1482
  # Sidebar
1375
1483
 
1376
- Mero UI 0.8.0 · Workspace navigation
1484
+ Mero UI 0.10.0 · Workspace navigation
1377
1485
 
1378
1486
  Navigate the workspace from a side rail that becomes a drawer at narrow widths.
1379
1487
 
@@ -1408,7 +1516,7 @@ Template
1408
1516
 
1409
1517
  # Navbar
1410
1518
 
1411
- Mero UI 0.8.0 · Workspace navigation
1519
+ Mero UI 0.10.0 · Workspace navigation
1412
1520
 
1413
1521
  Place the workspace name and destinations in a wrapping top bar.
1414
1522
 
@@ -1431,7 +1539,7 @@ Template
1431
1539
 
1432
1540
  # Command
1433
1541
 
1434
- Mero UI 0.8.0 · Workspace navigation
1542
+ Mero UI 0.10.0 · Workspace navigation
1435
1543
 
1436
1544
  Search destinations and actions, then use the arrows and Enter to execute.
1437
1545
 
@@ -1468,7 +1576,7 @@ Template
1468
1576
 
1469
1577
  # Context Menu
1470
1578
 
1471
- Mero UI 0.8.0 · Workspace navigation
1579
+ Mero UI 0.10.0 · Workspace navigation
1472
1580
 
1473
1581
  Open item actions with the visible button, a secondary click, or Shift F10.
1474
1582
 
@@ -1498,7 +1606,7 @@ Template
1498
1606
 
1499
1607
  # Segment
1500
1608
 
1501
- Mero UI 0.8.0 · Workspace navigation
1609
+ Mero UI 0.10.0 · Workspace navigation
1502
1610
 
1503
1611
  Choose one display density in a compact segmented control.
1504
1612
 
@@ -1525,7 +1633,7 @@ Template
1525
1633
 
1526
1634
  # Stepper
1527
1635
 
1528
- Mero UI 0.8.0 · Workspace navigation
1636
+ Mero UI 0.10.0 · Workspace navigation
1529
1637
 
1530
1638
  Move through validated project details and review the values before submitting.
1531
1639
 
@@ -1556,7 +1664,7 @@ Template
1556
1664
 
1557
1665
  # Dock
1558
1666
 
1559
- Mero UI 0.8.0 · Workspace navigation
1667
+ Mero UI 0.10.0 · Workspace navigation
1560
1668
 
1561
1669
  Group frequently used workspace destinations in a compact navigation dock.
1562
1670
 
@@ -1581,7 +1689,7 @@ Template
1581
1689
 
1582
1690
  # Megamenu
1583
1691
 
1584
- Mero UI 0.8.0 · Workspace navigation
1692
+ Mero UI 0.10.0 · Workspace navigation
1585
1693
 
1586
1694
  Explore grouped destinations from a native disclosure.
1587
1695
 
@@ -1606,7 +1714,7 @@ Template
1606
1714
 
1607
1715
  # Floating Action Button
1608
1716
 
1609
- Mero UI 0.8.0 · Workspace navigation
1717
+ Mero UI 0.10.0 · Workspace navigation
1610
1718
 
1611
1719
  Reveal a small set of workspace shortcuts.
1612
1720
 
@@ -1631,7 +1739,7 @@ Template
1631
1739
 
1632
1740
  # Resizable
1633
1741
 
1634
- Mero UI 0.8.0 · Workspace tools
1742
+ Mero UI 0.10.0 · Workspace tools
1635
1743
 
1636
1744
  Resize two adjacent panels by dragging the divider or using the arrow keys.
1637
1745
 
@@ -1685,7 +1793,7 @@ Template
1685
1793
 
1686
1794
  # Emoji Picker
1687
1795
 
1688
- Mero UI 0.8.0 · Workspace tools
1796
+ Mero UI 0.10.0 · Workspace tools
1689
1797
 
1690
1798
  Search named reactions and submit the selected emoji as a form value.
1691
1799
 
@@ -1715,7 +1823,7 @@ Template
1715
1823
 
1716
1824
  # Area Chart
1717
1825
 
1718
- Mero UI 0.8.0 · Charts
1826
+ Mero UI 0.10.0 · Charts
1719
1827
 
1720
1828
  Show the volume and shape of a series over time.
1721
1829
 
@@ -1750,7 +1858,7 @@ Template
1750
1858
 
1751
1859
  # Bar Chart
1752
1860
 
1753
- Mero UI 0.8.0 · Charts
1861
+ Mero UI 0.10.0 · Charts
1754
1862
 
1755
1863
  Compare adjacent categories on a shared linear scale.
1756
1864
 
@@ -1785,7 +1893,7 @@ Template
1785
1893
 
1786
1894
  # Chart Tooltip
1787
1895
 
1788
- Mero UI 0.8.0 · Charts
1896
+ Mero UI 0.10.0 · Charts
1789
1897
 
1790
1898
  Inspect the active data point using a pointer or keyboard.
1791
1899
 
@@ -1820,7 +1928,7 @@ Template
1820
1928
 
1821
1929
  # Composed Chart
1822
1930
 
1823
- Mero UI 0.8.0 · Charts
1931
+ Mero UI 0.10.0 · Charts
1824
1932
 
1825
1933
  Compare actual volume with its target using columns and a line.
1826
1934
 
@@ -1855,7 +1963,7 @@ Template
1855
1963
 
1856
1964
  # Line Chart
1857
1965
 
1858
- Mero UI 0.8.0 · Charts
1966
+ Mero UI 0.10.0 · Charts
1859
1967
 
1860
1968
  Trace changes across a reporting period.
1861
1969
 
@@ -1918,7 +2026,7 @@ Template
1918
2026
 
1919
2027
  # Pie Chart
1920
2028
 
1921
- Mero UI 0.8.0 · Charts
2029
+ Mero UI 0.10.0 · Charts
1922
2030
 
1923
2031
  See how each collection contributes to total volume.
1924
2032
 
@@ -1953,7 +2061,7 @@ Template
1953
2061
 
1954
2062
  # Radar Chart
1955
2063
 
1956
- Mero UI 0.8.0 · Charts
2064
+ Mero UI 0.10.0 · Charts
1957
2065
 
1958
2066
  Compare profiles across axes that use the same units.
1959
2067
 
@@ -1988,7 +2096,7 @@ Template
1988
2096
 
1989
2097
  # Radial Chart
1990
2098
 
1991
- Mero UI 0.8.0 · Charts
2099
+ Mero UI 0.10.0 · Charts
1992
2100
 
1993
2101
  Compare categories as concentric rings against the largest category.
1994
2102
 
@@ -2023,7 +2131,7 @@ Template
2023
2131
 
2024
2132
  # KPI
2025
2133
 
2026
- Mero UI 0.8.0 · Metrics
2134
+ Mero UI 0.10.0 · Metrics
2027
2135
 
2028
2136
  Pair an exact figure with the reporting period it describes.
2029
2137
 
@@ -2046,7 +2154,7 @@ Template
2046
2154
 
2047
2155
  # KPI Group
2048
2156
 
2049
- Mero UI 0.8.0 · Metrics
2157
+ Mero UI 0.10.0 · Metrics
2050
2158
 
2051
2159
  Keep related measures on a common reporting period.
2052
2160
 
@@ -2069,7 +2177,7 @@ Template
2069
2177
 
2070
2178
  # Emoji Reaction Button
2071
2179
 
2072
- Mero UI 0.8.0 · Interaction feedback
2180
+ Mero UI 0.10.0 · Interaction feedback
2073
2181
 
2074
2182
  Add or remove a reaction while keeping its count visible.
2075
2183
 
@@ -2094,7 +2202,7 @@ Template
2094
2202
 
2095
2203
  # Number Value
2096
2204
 
2097
- Mero UI 0.8.0 · Interaction feedback
2205
+ Mero UI 0.10.0 · Interaction feedback
2098
2206
 
2099
2207
  Display a localized number with its machine-readable value.
2100
2208
 
@@ -2119,7 +2227,7 @@ Template
2119
2227
 
2120
2228
  # Pressable Feedback
2121
2229
 
2122
- Mero UI 0.8.0 · Interaction feedback
2230
+ Mero UI 0.10.0 · Interaction feedback
2123
2231
 
2124
2232
  Give a press a tactile response and keep its selected state visible.
2125
2233
 
@@ -2142,7 +2250,7 @@ Template
2142
2250
 
2143
2251
  # Rating
2144
2252
 
2145
- Mero UI 0.8.0 · Interaction feedback
2253
+ Mero UI 0.10.0 · Interaction feedback
2146
2254
 
2147
2255
  Choose a labelled score using native radio controls.
2148
2256
 
@@ -2167,7 +2275,7 @@ Template
2167
2275
 
2168
2276
  # Trend Chip
2169
2277
 
2170
- Mero UI 0.8.0 · Interaction feedback
2278
+ Mero UI 0.10.0 · Interaction feedback
2171
2279
 
2172
2280
  Label the direction and magnitude of a change.
2173
2281
 
@@ -2190,7 +2298,7 @@ Template
2190
2298
 
2191
2299
  # Chain Of Thought
2192
2300
 
2193
- Mero UI 0.8.0 · Conversation
2301
+ Mero UI 0.10.0 · Conversation
2194
2302
 
2195
2303
  Display a disclosure of observable execution steps for a report.
2196
2304
 
@@ -2215,7 +2323,7 @@ Template
2215
2323
 
2216
2324
  # Chat Attachment
2217
2325
 
2218
- Mero UI 0.8.0 · Conversation
2326
+ Mero UI 0.10.0 · Conversation
2219
2327
 
2220
2328
  Display a named file and provide a working download.
2221
2329
 
@@ -2240,7 +2348,7 @@ Template
2240
2348
 
2241
2349
  # Chat Conversation
2242
2350
 
2243
- Mero UI 0.8.0 · Conversation
2351
+ Mero UI 0.10.0 · Conversation
2244
2352
 
2245
2353
  Keep messages, controls and a composer in one scoped conversation.
2246
2354
 
@@ -2300,7 +2408,7 @@ Template
2300
2408
 
2301
2409
  # Chat List View
2302
2410
 
2303
- Mero UI 0.8.0 · Conversation
2411
+ Mero UI 0.10.0 · Conversation
2304
2412
 
2305
2413
  Open a conversation returned by the server.
2306
2414
 
@@ -2324,7 +2432,7 @@ Template
2324
2432
 
2325
2433
  # Chat Loader
2326
2434
 
2327
- Mero UI 0.8.0 · Conversation
2435
+ Mero UI 0.10.0 · Conversation
2328
2436
 
2329
2437
  Show a concise status while a response is being prepared.
2330
2438
 
@@ -2347,7 +2455,7 @@ Template
2347
2455
 
2348
2456
  # Chat Message
2349
2457
 
2350
- Mero UI 0.8.0 · Conversation
2458
+ Mero UI 0.10.0 · Conversation
2351
2459
 
2352
2460
  Distinguish the sender and keep the message readable after a swap.
2353
2461
 
@@ -2370,7 +2478,7 @@ Template
2370
2478
 
2371
2479
  # Chat Message Actions
2372
2480
 
2373
- Mero UI 0.8.0 · Conversation
2481
+ Mero UI 0.10.0 · Conversation
2374
2482
 
2375
2483
  Copy a reply or mark it as helpful.
2376
2484
 
@@ -2394,7 +2502,7 @@ Template
2394
2502
 
2395
2503
  # Chat Source
2396
2504
 
2397
- Mero UI 0.8.0 · Conversation
2505
+ Mero UI 0.10.0 · Conversation
2398
2506
 
2399
2507
  Open the exact data behind a generated summary.
2400
2508
 
@@ -2417,7 +2525,7 @@ Template
2417
2525
 
2418
2526
  # Chat Tool
2419
2527
 
2420
- Mero UI 0.8.0 · Conversation
2528
+ Mero UI 0.10.0 · Conversation
2421
2529
 
2422
2530
  Disclose the inputs and output of an application action.
2423
2531
 
@@ -2457,7 +2565,7 @@ Template
2457
2565
 
2458
2566
  # Code Block
2459
2567
 
2460
- Mero UI 0.8.0 · Conversation
2568
+ Mero UI 0.10.0 · Conversation
2461
2569
 
2462
2570
  Show a file caption, selectable code and a copy control.
2463
2571
 
@@ -2480,7 +2588,7 @@ Template
2480
2588
 
2481
2589
  # Markdown
2482
2590
 
2483
- Mero UI 0.8.0 · Conversation
2591
+ Mero UI 0.10.0 · Conversation
2484
2592
 
2485
2593
  Render a small safe subset of Markdown into semantic HTML.
2486
2594
 
@@ -2515,7 +2623,7 @@ Template
2515
2623
 
2516
2624
  # Prompt Input
2517
2625
 
2518
- Mero UI 0.8.0 · Conversation
2626
+ Mero UI 0.10.0 · Conversation
2519
2627
 
2520
2628
  Collect a question and submit it to a server-rendered response endpoint.
2521
2629
 
@@ -2546,7 +2654,7 @@ Template
2546
2654
 
2547
2655
  # Prompt Suggestion
2548
2656
 
2549
- Mero UI 0.8.0 · Conversation
2657
+ Mero UI 0.10.0 · Conversation
2550
2658
 
2551
2659
  Choose a suggested prompt, edit it, then send it.
2552
2660
 
@@ -2577,7 +2685,7 @@ Template
2577
2685
 
2578
2686
  # Text Shimmer
2579
2687
 
2580
- Mero UI 0.8.0 · Conversation
2688
+ Mero UI 0.10.0 · Conversation
2581
2689
 
2582
2690
  Indicate work in progress with a moving highlight across readable text.
2583
2691
 
@@ -2600,7 +2708,7 @@ Template
2600
2708
 
2601
2709
  # Button
2602
2710
 
2603
- Mero UI 0.8.0 · Buttons
2711
+ Mero UI 0.10.0 · Buttons
2604
2712
 
2605
2713
  Trigger an action with a consistent hierarchy of visual emphasis.
2606
2714
 
@@ -2705,7 +2813,7 @@ Template
2705
2813
 
2706
2814
  # Action Button
2707
2815
 
2708
- Mero UI 0.8.0 · Buttons
2816
+ Mero UI 0.10.0 · Buttons
2709
2817
 
2710
2818
  Run a server action and report whether it succeeded, was refused or has an unknown result.
2711
2819
 
@@ -2777,7 +2885,7 @@ Template
2777
2885
 
2778
2886
  # Button Group
2779
2887
 
2780
- Mero UI 0.8.0 · Buttons
2888
+ Mero UI 0.10.0 · Buttons
2781
2889
 
2782
2890
  Keep related actions together while preserving each button’s own label and focus.
2783
2891
 
@@ -2802,7 +2910,7 @@ Template
2802
2910
 
2803
2911
  # Close Button
2804
2912
 
2805
- Mero UI 0.8.0 · Buttons
2913
+ Mero UI 0.10.0 · Buttons
2806
2914
 
2807
2915
  Give a dialog an icon-only close action with an accessible name.
2808
2916
 
@@ -2834,7 +2942,7 @@ Template
2834
2942
 
2835
2943
  # Toggle Button
2836
2944
 
2837
- Mero UI 0.8.0 · Buttons
2945
+ Mero UI 0.10.0 · Buttons
2838
2946
 
2839
2947
  Represent a persistent on or off state with a pressed button.
2840
2948
 
@@ -2857,7 +2965,7 @@ Template
2857
2965
 
2858
2966
  # Toggle Button Group
2859
2967
 
2860
- Mero UI 0.8.0 · Buttons
2968
+ Mero UI 0.10.0 · Buttons
2861
2969
 
2862
2970
  Select one presentation mode from a connected set of controls.
2863
2971
 
@@ -2887,7 +2995,7 @@ Template
2887
2995
 
2888
2996
  # Checkbox
2889
2997
 
2890
- Mero UI 0.8.0 · Forms
2998
+ Mero UI 0.10.0 · Forms
2891
2999
 
2892
3000
  Include an independent binary choice in a form.
2893
3001
 
@@ -2911,7 +3019,7 @@ Template
2911
3019
 
2912
3020
  # Checkbox Group
2913
3021
 
2914
- Mero UI 0.8.0 · Forms
3022
+ Mero UI 0.10.0 · Forms
2915
3023
 
2916
3024
  Group related independent choices with a fieldset and legend.
2917
3025
 
@@ -2939,7 +3047,7 @@ Template
2939
3047
 
2940
3048
  # Description
2941
3049
 
2942
- Mero UI 0.8.0 · Forms
3050
+ Mero UI 0.10.0 · Forms
2943
3051
 
2944
3052
  Connect persistent help text to a control.
2945
3053
 
@@ -2966,7 +3074,7 @@ Template
2966
3074
 
2967
3075
  # Error Message
2968
3076
 
2969
- Mero UI 0.8.0 · Forms
3077
+ Mero UI 0.10.0 · Forms
2970
3078
 
2971
3079
  Present a form-level failure where the user can act on it.
2972
3080
 
@@ -2990,7 +3098,7 @@ Template
2990
3098
 
2991
3099
  # Field Error
2992
3100
 
2993
- Mero UI 0.8.0 · Forms
3101
+ Mero UI 0.10.0 · Forms
2994
3102
 
2995
3103
  Associate a validation error with the field that needs attention.
2996
3104
 
@@ -3019,7 +3127,7 @@ Template
3019
3127
 
3020
3128
  # Fieldset
3021
3129
 
3022
- Mero UI 0.8.0 · Forms
3130
+ Mero UI 0.10.0 · Forms
3023
3131
 
3024
3132
  Add a shared label to a related set of form controls.
3025
3133
 
@@ -3100,7 +3208,7 @@ Template
3100
3208
 
3101
3209
  # Form
3102
3210
 
3103
- Mero UI 0.8.0 · Forms
3211
+ Mero UI 0.10.0 · Forms
3104
3212
 
3105
3213
  Submit native fields to the server and render an HTML response in place.
3106
3214
 
@@ -3288,7 +3396,7 @@ Template
3288
3396
 
3289
3397
  # Input
3290
3398
 
3291
- Mero UI 0.8.0 · Forms
3399
+ Mero UI 0.10.0 · Forms
3292
3400
 
3293
3401
  A styled native input with browser validation and autocomplete.
3294
3402
 
@@ -3315,7 +3423,7 @@ Template
3315
3423
 
3316
3424
  # Input Group
3317
3425
 
3318
- Mero UI 0.8.0 · Forms
3426
+ Mero UI 0.10.0 · Forms
3319
3427
 
3320
3428
  Combine a control and contextual prefix with a single outline.
3321
3429
 
@@ -3344,7 +3452,7 @@ Template
3344
3452
 
3345
3453
  # Input OTP
3346
3454
 
3347
- Mero UI 0.8.0 · Forms
3455
+ Mero UI 0.10.0 · Forms
3348
3456
 
3349
3457
  Collect a six-digit code in one input with mobile autofill.
3350
3458
 
@@ -3373,7 +3481,7 @@ Template
3373
3481
 
3374
3482
  # Label
3375
3483
 
3376
- Mero UI 0.8.0 · Forms
3484
+ Mero UI 0.10.0 · Forms
3377
3485
 
3378
3486
  Name an input and expand its activation area.
3379
3487
 
@@ -3400,7 +3508,7 @@ Template
3400
3508
 
3401
3509
  # Number Field
3402
3510
 
3403
- Mero UI 0.8.0 · Forms
3511
+ Mero UI 0.10.0 · Forms
3404
3512
 
3405
3513
  Set numeric bounds and increments for a native field.
3406
3514
 
@@ -3427,7 +3535,7 @@ Template
3427
3535
 
3428
3536
  # Radio Group
3429
3537
 
3430
- Mero UI 0.8.0 · Forms
3538
+ Mero UI 0.10.0 · Forms
3431
3539
 
3432
3540
  Choose exactly one option from a labeled set.
3433
3541
 
@@ -3455,7 +3563,7 @@ Template
3455
3563
 
3456
3564
  # Search Field
3457
3565
 
3458
- Mero UI 0.8.0 · Forms
3566
+ Mero UI 0.10.0 · Forms
3459
3567
 
3460
3568
  Use a native search field with the platform’s clear affordance.
3461
3569
 
@@ -3524,7 +3632,7 @@ Template
3524
3632
 
3525
3633
  # Text Area
3526
3634
 
3527
- Mero UI 0.8.0 · Forms
3635
+ Mero UI 0.10.0 · Forms
3528
3636
 
3529
3637
  Let users edit multiple lines of text with an optional autosizing surface.
3530
3638
 
@@ -3550,7 +3658,7 @@ Template
3550
3658
 
3551
3659
  # Text Field
3552
3660
 
3553
- Mero UI 0.8.0 · Forms
3661
+ Mero UI 0.10.0 · Forms
3554
3662
 
3555
3663
  Compose a label, input, and hint into a reusable form field.
3556
3664
 
@@ -3577,7 +3685,7 @@ Template
3577
3685
 
3578
3686
  # Calendar
3579
3687
 
3580
- Mero UI 0.8.0 · Date and time
3688
+ Mero UI 0.10.0 · Date and time
3581
3689
 
3582
3690
  Navigate months and choose a day on an inline calendar rendered by the server.
3583
3691
 
@@ -3656,7 +3764,7 @@ Template
3656
3764
  id="calendar-day-22" aria-label="Sunday, November 22, 2026" aria-pressed="false"
3657
3765
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-22" hx-target="closest .mero-calendar" hx-swap="outerHTML">22</button></td></tr>
3658
3766
  <tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3659
- id="calendar-day-23" aria-label="Monday, November 23, 2026" aria-pressed="false" aria-current="date"
3767
+ id="calendar-day-23" aria-label="Monday, November 23, 2026" aria-pressed="false"
3660
3768
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-23" hx-target="closest .mero-calendar" hx-swap="outerHTML">23</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3661
3769
  id="calendar-day-24" aria-label="Tuesday, November 24, 2026" aria-pressed="false"
3662
3770
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-24" hx-target="closest .mero-calendar" hx-swap="outerHTML">24</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
@@ -3664,7 +3772,7 @@ Template
3664
3772
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-25" hx-target="closest .mero-calendar" hx-swap="outerHTML">25</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3665
3773
  id="calendar-day-26" aria-label="Thursday, November 26, 2026" aria-pressed="false"
3666
3774
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-26" hx-target="closest .mero-calendar" hx-swap="outerHTML">26</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3667
- id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false"
3775
+ id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false" aria-current="date"
3668
3776
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-27" hx-target="closest .mero-calendar" hx-swap="outerHTML">27</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3669
3777
  id="calendar-day-28" aria-label="Saturday, November 28, 2026" aria-pressed="false"
3670
3778
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-28" hx-target="closest .mero-calendar" hx-swap="outerHTML">28</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
@@ -3681,7 +3789,7 @@ Template
3681
3789
 
3682
3790
  # Date Field
3683
3791
 
3684
- Mero UI 0.8.0 · Date and time
3792
+ Mero UI 0.10.0 · Date and time
3685
3793
 
3686
3794
  Enter a calendar date in the system’s preferred format.
3687
3795
 
@@ -3708,7 +3816,7 @@ Template
3708
3816
 
3709
3817
  # Date Picker
3710
3818
 
3711
- Mero UI 0.8.0 · Date and time
3819
+ Mero UI 0.10.0 · Date and time
3712
3820
 
3713
3821
  Choose a date with the browser’s calendar picker and native constraints.
3714
3822
 
@@ -3737,7 +3845,7 @@ Template
3737
3845
 
3738
3846
  # Date Range Picker
3739
3847
 
3740
- Mero UI 0.8.0 · Date and time
3848
+ Mero UI 0.10.0 · Date and time
3741
3849
 
3742
3850
  Collect the start and end dates of a range.
3743
3851
 
@@ -3776,7 +3884,7 @@ Template
3776
3884
 
3777
3885
  # Range Calendar
3778
3886
 
3779
- Mero UI 0.8.0 · Date and time
3887
+ Mero UI 0.10.0 · Date and time
3780
3888
 
3781
3889
  Build a range with two native calendar controls.
3782
3890
 
@@ -3815,7 +3923,7 @@ Template
3815
3923
 
3816
3924
  # Time Field
3817
3925
 
3818
- Mero UI 0.8.0 · Date and time
3926
+ Mero UI 0.10.0 · Date and time
3819
3927
 
3820
3928
  Choose a wall-clock time without a timezone conversion.
3821
3929
 
@@ -3844,7 +3952,7 @@ Template
3844
3952
 
3845
3953
  # Accordion
3846
3954
 
3847
- Mero UI 0.8.0 · Navigation
3955
+ Mero UI 0.10.0 · Navigation
3848
3956
 
3849
3957
  Disclose one section at a time using grouped native details.
3850
3958
 
@@ -3874,7 +3982,7 @@ Template
3874
3982
 
3875
3983
  # Breadcrumbs
3876
3984
 
3877
- Mero UI 0.8.0 · Navigation
3985
+ Mero UI 0.10.0 · Navigation
3878
3986
 
3879
3987
  Show the user’s current location and its parent pages.
3880
3988
 
@@ -3901,7 +4009,7 @@ Template
3901
4009
 
3902
4010
  # Disclosure
3903
4011
 
3904
- Mero UI 0.8.0 · Navigation
4012
+ Mero UI 0.10.0 · Navigation
3905
4013
 
3906
4014
  Reveal a single block of supplementary information.
3907
4015
 
@@ -3925,7 +4033,7 @@ Template
3925
4033
 
3926
4034
  # Disclosure Group
3927
4035
 
3928
- Mero UI 0.8.0 · Navigation
4036
+ Mero UI 0.10.0 · Navigation
3929
4037
 
3930
4038
  Present a collection of independently expandable sections.
3931
4039
 
@@ -3955,7 +4063,7 @@ Template
3955
4063
 
3956
4064
  # Link
3957
4065
 
3958
- Mero UI 0.8.0 · Navigation
4066
+ Mero UI 0.10.0 · Navigation
3959
4067
 
3960
4068
  Navigate to a real URL with native link semantics.
3961
4069
 
@@ -3976,7 +4084,7 @@ Template
3976
4084
 
3977
4085
  # Pagination
3978
4086
 
3979
- Mero UI 0.8.0 · Navigation
4087
+ Mero UI 0.10.0 · Navigation
3980
4088
 
3981
4089
  Navigate between result pages with server-rendered fragments.
3982
4090
 
@@ -4015,7 +4123,7 @@ Template
4015
4123
 
4016
4124
  # Tabs
4017
4125
 
4018
- Mero UI 0.8.0 · Navigation
4126
+ Mero UI 0.10.0 · Navigation
4019
4127
 
4020
4128
  Switch between labeled panels with mouse or arrow keys.
4021
4129
 
@@ -4102,7 +4210,7 @@ Template
4102
4210
 
4103
4211
  # Alert Dialog
4104
4212
 
4105
- Mero UI 0.8.0 · Overlays
4213
+ Mero UI 0.10.0 · Overlays
4106
4214
 
4107
4215
  Ask for confirmation on a decision that calls for attention.
4108
4216
 
@@ -4137,7 +4245,7 @@ Template
4137
4245
 
4138
4246
  # Typed Confirmation
4139
4247
 
4140
- Mero UI 0.8.0 · Overlays
4248
+ Mero UI 0.10.0 · Overlays
4141
4249
 
4142
4250
  Require an exact phrase before submitting a destructive action.
4143
4251
 
@@ -4296,7 +4404,7 @@ Template
4296
4404
 
4297
4405
  # Drawer
4298
4406
 
4299
- Mero UI 0.8.0 · Overlays
4407
+ Mero UI 0.10.0 · Overlays
4300
4408
 
4301
4409
  Open a full-height edge panel for work that benefits from more room.
4302
4410
 
@@ -4411,7 +4519,7 @@ Template
4411
4519
 
4412
4520
  # Modal
4413
4521
 
4414
- Mero UI 0.8.0 · Overlays
4522
+ Mero UI 0.10.0 · Overlays
4415
4523
 
4416
4524
  Open a centered, named dialog with native focus containment.
4417
4525
 
@@ -4444,7 +4552,7 @@ Template
4444
4552
 
4445
4553
  # Command Menu
4446
4554
 
4447
- Mero UI 0.8.0 · Overlays
4555
+ Mero UI 0.10.0 · Overlays
4448
4556
 
4449
4557
  Press Cmd or Ctrl K to search pages and actions returned by your server.
4450
4558
 
@@ -4489,7 +4597,7 @@ Template
4489
4597
 
4490
4598
  # Popover
4491
4599
 
4492
- Mero UI 0.8.0 · Overlays
4600
+ Mero UI 0.10.0 · Overlays
4493
4601
 
4494
4602
  Display contextual information using the browser’s top layer.
4495
4603
 
@@ -4518,7 +4626,7 @@ Template
4518
4626
 
4519
4627
  # Sheet
4520
4628
 
4521
- Mero UI 0.8.0 · Overlays
4629
+ Mero UI 0.10.0 · Overlays
4522
4630
 
4523
4631
  Present concise secondary content from the bottom edge.
4524
4632
 
@@ -4551,7 +4659,7 @@ Template
4551
4659
 
4552
4660
  # Toast
4553
4661
 
4554
- Mero UI 0.8.0 · Overlays
4662
+ Mero UI 0.10.0 · Overlays
4555
4663
 
4556
4664
  Announce a completed action without interrupting the current task.
4557
4665
 
@@ -4572,7 +4680,7 @@ Template
4572
4680
 
4573
4681
  # Tooltip
4574
4682
 
4575
- Mero UI 0.8.0 · Overlays
4683
+ Mero UI 0.10.0 · Overlays
4576
4684
 
4577
4685
  Show a brief hint on pointer hover or keyboard focus.
4578
4686
 
@@ -4598,7 +4706,7 @@ Template
4598
4706
 
4599
4707
  # Dropdown
4600
4708
 
4601
- Mero UI 0.8.0 · Collections
4709
+ Mero UI 0.10.0 · Collections
4602
4710
 
4603
4711
  Open a compact list of actions or destinations.
4604
4712
 
@@ -4628,7 +4736,7 @@ Template
4628
4736
 
4629
4737
  # Menu Button
4630
4738
 
4631
- Mero UI 0.8.0 · Collections
4739
+ Mero UI 0.10.0 · Collections
4632
4740
 
4633
4741
  Open row actions and move through them with the arrow keys.
4634
4742
 
@@ -4739,7 +4847,7 @@ Template
4739
4847
 
4740
4848
  # List Box
4741
4849
 
4742
- Mero UI 0.8.0 · Collections
4850
+ Mero UI 0.10.0 · Collections
4743
4851
 
4744
4852
  Present a selectable collection with arrow-key navigation.
4745
4853
 
@@ -4768,7 +4876,7 @@ Template
4768
4876
 
4769
4877
  # Tag Group
4770
4878
 
4771
- Mero UI 0.8.0 · Collections
4879
+ Mero UI 0.10.0 · Collections
4772
4880
 
4773
4881
  Display a small, labeled collection of metadata tags.
4774
4882
 
@@ -4793,7 +4901,7 @@ Template
4793
4901
 
4794
4902
  # Slider
4795
4903
 
4796
- Mero UI 0.8.0 · Controls
4904
+ Mero UI 0.10.0 · Controls
4797
4905
 
4798
4906
  Choose a value from a bounded range.
4799
4907
 
@@ -4819,7 +4927,7 @@ Template
4819
4927
 
4820
4928
  # Switch
4821
4929
 
4822
- Mero UI 0.8.0 · Controls
4930
+ Mero UI 0.10.0 · Controls
4823
4931
 
4824
4932
  Toggle one setting with a checkbox-backed switch.
4825
4933
 
@@ -4893,7 +5001,7 @@ Template
4893
5001
 
4894
5002
  # Alert
4895
5003
 
4896
- Mero UI 0.8.0 · Feedback
5004
+ Mero UI 0.10.0 · Feedback
4897
5005
 
4898
5006
  Place status or guidance alongside the content it describes.
4899
5007
 
@@ -4917,7 +5025,7 @@ Template
4917
5025
 
4918
5026
  # Empty State
4919
5027
 
4920
- Mero UI 0.8.0 · Feedback
5028
+ Mero UI 0.10.0 · Feedback
4921
5029
 
4922
5030
  Explain an empty result and give the user a relevant next action.
4923
5031
 
@@ -4972,7 +5080,7 @@ Template
4972
5080
 
4973
5081
  # Meter
4974
5082
 
4975
- Mero UI 0.8.0 · Feedback
5083
+ Mero UI 0.10.0 · Feedback
4976
5084
 
4977
5085
  Show a measurement between known bounds.
4978
5086
 
@@ -4999,7 +5107,7 @@ Template
4999
5107
 
5000
5108
  # Live Progress
5001
5109
 
5002
- Mero UI 0.8.0 · Feedback
5110
+ Mero UI 0.10.0 · Feedback
5003
5111
 
5004
5112
  Follow a deployment through to its final status.
5005
5113
 
@@ -5069,7 +5177,7 @@ Template
5069
5177
 
5070
5178
  # Progress Bar
5071
5179
 
5072
- Mero UI 0.8.0 · Feedback
5180
+ Mero UI 0.10.0 · Feedback
5073
5181
 
5074
5182
  Report measurable progress toward completion.
5075
5183
 
@@ -5095,7 +5203,7 @@ Template
5095
5203
 
5096
5204
  # Progress Circle
5097
5205
 
5098
- Mero UI 0.8.0 · Feedback
5206
+ Mero UI 0.10.0 · Feedback
5099
5207
 
5100
5208
  Show a completion value in a compact circular display.
5101
5209
 
@@ -5117,7 +5225,7 @@ Template
5117
5225
 
5118
5226
  # Skeleton
5119
5227
 
5120
- Mero UI 0.8.0 · Feedback
5228
+ Mero UI 0.10.0 · Feedback
5121
5229
 
5122
5230
  Reserve space for content while its HTML is loading.
5123
5231
 
@@ -5142,7 +5250,7 @@ Template
5142
5250
 
5143
5251
  # Spinner
5144
5252
 
5145
- Mero UI 0.8.0 · Feedback
5253
+ Mero UI 0.10.0 · Feedback
5146
5254
 
5147
5255
  Indicate that work is underway when the completion time is unknown.
5148
5256
 
@@ -5166,7 +5274,7 @@ Template
5166
5274
 
5167
5275
  # Card
5168
5276
 
5169
- Mero UI 0.8.0 · Layout
5277
+ Mero UI 0.10.0 · Layout
5170
5278
 
5171
5279
  Group related content and an action into one compact surface.
5172
5280
 
@@ -5246,7 +5354,7 @@ Template
5246
5354
 
5247
5355
  # Page Header
5248
5356
 
5249
- Mero UI 0.8.0 · Layout
5357
+ Mero UI 0.10.0 · Layout
5250
5358
 
5251
5359
  Open a page with its title, a short description and the page’s main actions.
5252
5360
 
@@ -5314,7 +5422,7 @@ Template
5314
5422
 
5315
5423
  # Separator
5316
5424
 
5317
- Mero UI 0.8.0 · Layout
5425
+ Mero UI 0.10.0 · Layout
5318
5426
 
5319
5427
  Separate related content sections using a semantic rule.
5320
5428
 
@@ -5339,7 +5447,7 @@ Template
5339
5447
 
5340
5448
  # Surface
5341
5449
 
5342
- Mero UI 0.8.0 · Layout
5450
+ Mero UI 0.10.0 · Layout
5343
5451
 
5344
5452
  Give related content a tonal background with shared theme tokens.
5345
5453
 
@@ -5363,7 +5471,7 @@ Template
5363
5471
 
5364
5472
  # Toolbar
5365
5473
 
5366
- Mero UI 0.8.0 · Layout
5474
+ Mero UI 0.10.0 · Layout
5367
5475
 
5368
5476
  Keep nearby actions aligned and grouped by purpose.
5369
5477
 
@@ -5390,7 +5498,7 @@ Template
5390
5498
 
5391
5499
  # Avatar
5392
5500
 
5393
- Mero UI 0.8.0 · Media
5501
+ Mero UI 0.10.0 · Media
5394
5502
 
5395
5503
  Represent a person with initials and an accessible name.
5396
5504
 
@@ -5414,7 +5522,7 @@ Template
5414
5522
 
5415
5523
  # Avatar Group
5416
5524
 
5417
- Mero UI 0.8.0 · Media
5525
+ Mero UI 0.10.0 · Media
5418
5526
 
5419
5527
  Show a compact cluster of people associated with a workspace.
5420
5528
 
@@ -5439,7 +5547,7 @@ Template
5439
5547
 
5440
5548
  # Autocomplete
5441
5549
 
5442
- Mero UI 0.8.0 · Pickers
5550
+ Mero UI 0.10.0 · Pickers
5443
5551
 
5444
5552
  Request matching options from the server as a user types.
5445
5553
 
@@ -5519,7 +5627,7 @@ Template
5519
5627
 
5520
5628
  # Combo Box
5521
5629
 
5522
- Mero UI 0.8.0 · Pickers
5630
+ Mero UI 0.10.0 · Pickers
5523
5631
 
5524
5632
  Filter and select from suggestions already on the page.
5525
5633
 
@@ -5557,9 +5665,49 @@ Template
5557
5665
  </div>
5558
5666
  ````
5559
5667
 
5668
+ ## Multi-select
5669
+
5670
+ Select multiple options as removable chips that submit as named hidden fields.
5671
+
5672
+ Type to filter, press Enter to toggle options, Backspace on an empty input to remove the last chip, or listen to mero:selection for changes.
5673
+
5674
+ Page assets
5675
+
5676
+ ```html
5677
+ <link rel="stylesheet" href="/mero.css">
5678
+ <script defer src="/mero.js"></script>
5679
+ ```
5680
+
5681
+ Template
5682
+
5683
+ ````html
5684
+ <div class="mero-scope" data-mero-scope>
5685
+ <div class="mero-field">
5686
+ <label class="mero-label" for="demo-multiselect">Channels</label>
5687
+ <div class="mero-multiselect" data-mero-multiselect data-mero-combo data-mero-multiselect-name="channels">
5688
+ <div class="mero-multiselect-control">
5689
+ <ul class="mero-tag-group mero-multiselect-chips" data-mero-multiselect-chips>
5690
+ <li class="mero-chip" data-value="webshop">Webshop<input type="hidden" name="channels" value="webshop"><button type="button" aria-label="Remove Webshop" data-mero-multiselect-remove>×</button></li>
5691
+ </ul>
5692
+ <input class="mero-multiselect-input" id="demo-multiselect" type="text" role="combobox"
5693
+ aria-expanded="false" aria-controls="demo-multiselect-options" aria-autocomplete="list"
5694
+ autocomplete="off" placeholder="Add channel…">
5695
+ </div>
5696
+ <ul class="mero-listbox mero-combo-list" id="demo-multiselect-options" role="listbox" aria-label="Channels" aria-multiselectable="true" hidden>
5697
+ <li class="mero-option" id="demo-multiselect-webshop" role="option" data-value="webshop" aria-selected="true">Webshop</li>
5698
+ <li class="mero-option" id="demo-multiselect-wholesale" role="option" data-value="wholesale" aria-selected="false">Wholesale</li>
5699
+ <li class="mero-option" id="demo-multiselect-retail" role="option" data-value="retail" aria-selected="false">Retail</li>
5700
+ <li class="mero-option" role="option" aria-disabled="true" data-mero-empty-option hidden>No matches</li>
5701
+ </ul>
5702
+ <span class="mero-description" data-mero-combo-status role="status"></span>
5703
+ </div>
5704
+ </div>
5705
+ </div>
5706
+ ````
5707
+
5560
5708
  # Select
5561
5709
 
5562
- Mero UI 0.8.0 · Pickers
5710
+ Mero UI 0.10.0 · Pickers
5563
5711
 
5564
5712
  Choose one of a fixed set of values using the platform’s picker.
5565
5713
 
@@ -5589,7 +5737,7 @@ Template
5589
5737
 
5590
5738
  # Kbd
5591
5739
 
5592
- Mero UI 0.8.0 · Typography
5740
+ Mero UI 0.10.0 · Typography
5593
5741
 
5594
5742
  Format a keyboard shortcut with native semantics.
5595
5743
 
@@ -5641,7 +5789,7 @@ Template
5641
5789
 
5642
5790
  # Typography
5643
5791
 
5644
- Mero UI 0.8.0 · Typography
5792
+ Mero UI 0.10.0 · Typography
5645
5793
 
5646
5794
  Apply the type scale to semantic content.
5647
5795
 
@@ -5689,7 +5837,7 @@ Template
5689
5837
 
5690
5838
  # Badge
5691
5839
 
5692
- Mero UI 0.8.0 · Data display
5840
+ Mero UI 0.10.0 · Data display
5693
5841
 
5694
5842
  Label a status using text and a semantic tone.
5695
5843
 
@@ -5714,7 +5862,7 @@ Template
5714
5862
 
5715
5863
  # Chip
5716
5864
 
5717
- Mero UI 0.8.0 · Data display
5865
+ Mero UI 0.10.0 · Data display
5718
5866
 
5719
5867
  Display a lightweight label for an attribute or filter value.
5720
5868
 
@@ -5735,7 +5883,7 @@ Template
5735
5883
 
5736
5884
  # Description List
5737
5885
 
5738
- Mero UI 0.8.0 · Data display
5886
+ Mero UI 0.10.0 · Data display
5739
5887
 
5740
5888
  Show a record’s fields as label and value pairs.
5741
5889
 
@@ -5764,7 +5912,7 @@ Template
5764
5912
 
5765
5913
  # Table
5766
5914
 
5767
- Mero UI 0.8.0 · Data display
5915
+ Mero UI 0.10.0 · Data display
5768
5916
 
5769
5917
  Show comparable records in a native table with column headers.
5770
5918
 
@@ -5851,7 +5999,7 @@ Template
5851
5999
 
5852
6000
  # Sortable Table
5853
6001
 
5854
- Mero UI 0.8.0 · Data display
6002
+ Mero UI 0.10.0 · Data display
5855
6003
 
5856
6004
  Sort server-rendered rows from the column headers and open a row from anywhere in it.
5857
6005
 
@@ -6153,7 +6301,7 @@ Template
6153
6301
 
6154
6302
  # Filter Chips
6155
6303
 
6156
- Mero UI 0.8.0 · Data display
6304
+ Mero UI 0.10.0 · Data display
6157
6305
 
6158
6306
  Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
6159
6307
 
@@ -6301,7 +6449,7 @@ Template
6301
6449
 
6302
6450
  # Color Area
6303
6451
 
6304
- Mero UI 0.8.0 · Colors
6452
+ Mero UI 0.10.0 · Colors
6305
6453
 
6306
6454
  Open a browser-managed color surface and submit the selected color.
6307
6455
 
@@ -6330,7 +6478,7 @@ Template
6330
6478
 
6331
6479
  # Color Field
6332
6480
 
6333
- Mero UI 0.8.0 · Colors
6481
+ Mero UI 0.10.0 · Colors
6334
6482
 
6335
6483
  Enter a six-digit hex value directly in a text field.
6336
6484
 
@@ -6359,7 +6507,7 @@ Template
6359
6507
 
6360
6508
  # Color Picker
6361
6509
 
6362
- Mero UI 0.8.0 · Colors
6510
+ Mero UI 0.10.0 · Colors
6363
6511
 
6364
6512
  Choose a color using the native picker UI.
6365
6513
 
@@ -6386,7 +6534,7 @@ Template
6386
6534
 
6387
6535
  # Color Slider
6388
6536
 
6389
- Mero UI 0.8.0 · Colors
6537
+ Mero UI 0.10.0 · Colors
6390
6538
 
6391
6539
  Adjust a hue along the color spectrum.
6392
6540
 
@@ -6416,7 +6564,7 @@ Template
6416
6564
 
6417
6565
  # Color Swatch
6418
6566
 
6419
- Mero UI 0.8.0 · Colors
6567
+ Mero UI 0.10.0 · Colors
6420
6568
 
6421
6569
  Show a color with its human-readable label.
6422
6570
 
@@ -6441,7 +6589,7 @@ Template
6441
6589
 
6442
6590
  # Scroll Shadow
6443
6591
 
6444
- Mero UI 0.8.0 · Utilities
6592
+ Mero UI 0.10.0 · Utilities
6445
6593
 
6446
6594
  Expose a scrollable region with a visual cue that more content is available.
6447
6595
 
@@ -6471,7 +6619,7 @@ Template
6471
6619
 
6472
6620
  # Visually Hidden
6473
6621
 
6474
- Mero UI 0.8.0 · Utilities
6622
+ Mero UI 0.10.0 · Utilities
6475
6623
 
6476
6624
  Give screen readers context that the visible text leaves implied.
6477
6625
 
@@ -6497,7 +6645,7 @@ Template
6497
6645
 
6498
6646
  # Join
6499
6647
 
6500
- Mero UI 0.8.0 · Composition
6648
+ Mero UI 0.10.0 · Composition
6501
6649
 
6502
6650
  Connect related controls with a shared outline.
6503
6651
 
@@ -6520,7 +6668,7 @@ Template
6520
6668
 
6521
6669
  # Menu
6522
6670
 
6523
- Mero UI 0.8.0 · Composition
6671
+ Mero UI 0.10.0 · Composition
6524
6672
 
6525
6673
  Group destinations with an active page and section labels.
6526
6674
 
@@ -6543,7 +6691,7 @@ Template
6543
6691
 
6544
6692
  # Hero
6545
6693
 
6546
- Mero UI 0.8.0 · Composition
6694
+ Mero UI 0.10.0 · Composition
6547
6695
 
6548
6696
  Pair a product introduction with a single destination.
6549
6697
 
@@ -6568,7 +6716,7 @@ Template
6568
6716
 
6569
6717
  # Footer
6570
6718
 
6571
- Mero UI 0.8.0 · Composition
6719
+ Mero UI 0.10.0 · Composition
6572
6720
 
6573
6721
  Close a workspace with a small group of navigation links.
6574
6722
 
@@ -6591,7 +6739,7 @@ Template
6591
6739
 
6592
6740
  # Theme Controller
6593
6741
 
6594
- Mero UI 0.8.0 · Composition
6742
+ Mero UI 0.10.0 · Composition
6595
6743
 
6596
6744
  Set a theme inside one section of a page.
6597
6745
 
@@ -6614,13 +6762,13 @@ Template
6614
6762
 
6615
6763
  # Validator
6616
6764
 
6617
- Mero UI 0.8.0 · Composition
6765
+ Mero UI 0.10.0 · Composition
6618
6766
 
6619
6767
  Show a native field constraint and its correction.
6620
6768
 
6621
6769
  ## Default
6622
6770
 
6623
- This checks the format locally. Use the inventory form to enforce a unique SKU on the server.
6771
+ This checks the format locally. Use the Zero-JS hint variant for pure CSS :user-invalid styling, and the inventory form to enforce uniqueness on the server.
6624
6772
 
6625
6773
  Page assets
6626
6774
 
@@ -6637,9 +6785,30 @@ Template
6637
6785
  <form class="mero-validation-example" data-mero-check-form><label class="mero-label">Catalog SKU<input class="mero-input" name="sku" required pattern="[A-Z]{2}-[0-9]{4}" placeholder="RL-2040"></label><small>Use two uppercase letters, a hyphen and four digits.</small><button class="mero-button" type="submit">Check SKU</button><output role="status"></output></form>
6638
6786
  ````
6639
6787
 
6788
+ ## Zero-JS hint
6789
+
6790
+ Pure CSS :user-invalid and :user-valid styling with an inline .mero-validator-hint that stays hidden until user interaction or a server HTTP 422 aria-invalid response.
6791
+
6792
+ This checks the format locally. Use the Zero-JS hint variant for pure CSS :user-invalid styling, and the inventory form to enforce uniqueness on the server.
6793
+
6794
+ Page assets
6795
+
6796
+ ```html
6797
+ <link rel="stylesheet" href="/mero.css">
6798
+ <link rel="stylesheet" href="/mero-composition.css">
6799
+ <script defer src="/mero.js"></script>
6800
+ <script defer src="/mero-composition.js"></script>
6801
+ ```
6802
+
6803
+ Template
6804
+
6805
+ ````html
6806
+ <form class="mero-stack"><div class="mero-field"><label class="mero-label" for="val-sku">Catalog SKU</label><input id="val-sku" class="mero-input mero-validator" name="sku" required pattern="[A-Z]{2}-[0-9]{4}" placeholder="RL-2040" aria-describedby="val-sku-hint"><p id="val-sku-hint" class="mero-validator-hint">Use two uppercase letters, a hyphen and four digits (e.g. RL-2040).</p></div><button class="mero-button mero-button-primary" type="submit">Save SKU</button></form>
6807
+ ````
6808
+
6640
6809
  # Aura
6641
6810
 
6642
- Mero UI 0.8.0 · Display utilities
6811
+ Mero UI 0.10.0 · Display utilities
6643
6812
 
6644
6813
  Frame an interactive surface with a subtle moving highlight.
6645
6814
 
@@ -6662,7 +6831,7 @@ Template
6662
6831
 
6663
6832
  # Countdown
6664
6833
 
6665
- Mero UI 0.8.0 · Display utilities
6834
+ Mero UI 0.10.0 · Display utilities
6666
6835
 
6667
6836
  Show the time remaining until the next daily shipping cutoff.
6668
6837
 
@@ -6687,7 +6856,7 @@ Template
6687
6856
 
6688
6857
  # Indicator
6689
6858
 
6690
- Mero UI 0.8.0 · Display utilities
6859
+ Mero UI 0.10.0 · Display utilities
6691
6860
 
6692
6861
  Anchor a quantity to an icon or action.
6693
6862
 
@@ -6710,7 +6879,7 @@ Template
6710
6879
 
6711
6880
  # Mask
6712
6881
 
6713
- Mero UI 0.8.0 · Display utilities
6882
+ Mero UI 0.10.0 · Display utilities
6714
6883
 
6715
6884
  Crop an image while keeping its alternative text.
6716
6885
 
@@ -6735,7 +6904,7 @@ Template
6735
6904
 
6736
6905
  # Stack
6737
6906
 
6738
- Mero UI 0.8.0 · Display utilities
6907
+ Mero UI 0.10.0 · Display utilities
6739
6908
 
6740
6909
  Layer related previews while keeping the current item legible.
6741
6910
 
@@ -6760,7 +6929,7 @@ Template
6760
6929
 
6761
6930
  # Status
6762
6931
 
6763
- Mero UI 0.8.0 · Display utilities
6932
+ Mero UI 0.10.0 · Display utilities
6764
6933
 
6765
6934
  Show system status with a label and a visual marker.
6766
6935
 
@@ -6783,7 +6952,7 @@ Template
6783
6952
 
6784
6953
  # Swap
6785
6954
 
6786
- Mero UI 0.8.0 · Display utilities
6955
+ Mero UI 0.10.0 · Display utilities
6787
6956
 
6788
6957
  Switch between two labels or icons on a native control.
6789
6958
 
@@ -6806,7 +6975,7 @@ Template
6806
6975
 
6807
6976
  # Text Rotate
6808
6977
 
6809
- Mero UI 0.8.0 · Display utilities
6978
+ Mero UI 0.10.0 · Display utilities
6810
6979
 
6811
6980
  Rotate through short messages with explicit playback controls.
6812
6981
 
@@ -6829,7 +6998,7 @@ Template
6829
6998
 
6830
6999
  # Browser Mockup
6831
7000
 
6832
- Mero UI 0.8.0 · Mockups
7001
+ Mero UI 0.10.0 · Mockups
6833
7002
 
6834
7003
  Present a site preview inside a compact browser frame.
6835
7004
 
@@ -6854,7 +7023,7 @@ Template
6854
7023
 
6855
7024
  # Phone Mockup
6856
7025
 
6857
- Mero UI 0.8.0 · Mockups
7026
+ Mero UI 0.10.0 · Mockups
6858
7027
 
6859
7028
  Frame a mobile product screen.
6860
7029
 
@@ -6879,7 +7048,7 @@ Template
6879
7048
 
6880
7049
  # Window Mockup
6881
7050
 
6882
- Mero UI 0.8.0 · Mockups
7051
+ Mero UI 0.10.0 · Mockups
6883
7052
 
6884
7053
  Place a desktop tool inside a labelled window.
6885
7054
 
@@ -6902,7 +7071,7 @@ Template
6902
7071
 
6903
7072
  # Code Mockup
6904
7073
 
6905
- Mero UI 0.8.0 · Mockups
7074
+ Mero UI 0.10.0 · Mockups
6906
7075
 
6907
7076
  Present a terminal command and its output.
6908
7077