@rubenlangeweg/mero-ui 0.10.0 → 1.0.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 (217) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +4 -4
  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 +1 -1
  22. package/agent-docs/components/card.md +1 -1
  23. package/agent-docs/components/carousel.md +1 -1
  24. package/agent-docs/components/cell-color-picker.md +1 -1
  25. package/agent-docs/components/cell-select.md +1 -1
  26. package/agent-docs/components/cell-slider.md +1 -1
  27. package/agent-docs/components/cell-switch.md +1 -1
  28. package/agent-docs/components/chain-of-thought.md +1 -1
  29. package/agent-docs/components/chart-tooltip.md +1 -1
  30. package/agent-docs/components/chat-attachment.md +1 -1
  31. package/agent-docs/components/chat-conversation.md +1 -1
  32. package/agent-docs/components/chat-list-view.md +1 -1
  33. package/agent-docs/components/chat-loader.md +1 -1
  34. package/agent-docs/components/chat-message-actions.md +1 -1
  35. package/agent-docs/components/chat-message.md +1 -1
  36. package/agent-docs/components/chat-source.md +1 -1
  37. package/agent-docs/components/chat-tool.md +1 -1
  38. package/agent-docs/components/checkbox-button-group.md +1 -1
  39. package/agent-docs/components/checkbox-group.md +1 -1
  40. package/agent-docs/components/checkbox.md +1 -1
  41. package/agent-docs/components/chip.md +1 -1
  42. package/agent-docs/components/close-button.md +1 -1
  43. package/agent-docs/components/code-block.md +1 -1
  44. package/agent-docs/components/code-mockup.md +1 -1
  45. package/agent-docs/components/color-area.md +1 -1
  46. package/agent-docs/components/color-field.md +1 -1
  47. package/agent-docs/components/color-picker.md +1 -1
  48. package/agent-docs/components/color-slider.md +1 -1
  49. package/agent-docs/components/color-swatch.md +1 -1
  50. package/agent-docs/components/combo-box.md +1 -1
  51. package/agent-docs/components/command-menu.md +1 -1
  52. package/agent-docs/components/command.md +16 -13
  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 +8 -8
  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 +195 -192
  176. package/agent-docs/llms-full.txt +199 -198
  177. package/agent-docs/llms-patterns.txt +5 -7
  178. package/agent-docs/llms.txt +3 -3
  179. package/dist/manifest.json +144 -144
  180. package/dist/ui/mero-collections.min.css +2 -2
  181. package/dist/ui/mero-collections.min.js +1 -1
  182. package/dist/ui/mero-composition.min.css +2 -2
  183. package/dist/ui/mero-composition.min.js +2 -2
  184. package/dist/ui/mero-forms.min.js +2 -2
  185. package/dist/ui/mero-gallery.min.css +2 -2
  186. package/dist/ui/mero-gallery.min.js +1 -1
  187. package/dist/ui/mero-insights.min.css +2 -2
  188. package/dist/ui/mero-insights.min.js +1 -1
  189. package/dist/ui/mero-layouts.min.css +2 -2
  190. package/dist/ui/mero-live.min.js +2 -2
  191. package/dist/ui/mero-themes.min.css +2 -2
  192. package/dist/ui/mero-workspace.min.css +3 -3
  193. package/dist/ui/mero-workspace.min.js +3 -3
  194. package/dist/ui/mero.min.css +2 -2
  195. package/dist/ui/mero.min.js +2 -2
  196. package/package.json +1 -1
  197. package/ui/insight-charts.d.ts +1 -1
  198. package/ui/insight-charts.mjs +1 -1
  199. package/ui/insight-markdown.d.ts +1 -1
  200. package/ui/insight-markdown.mjs +1 -1
  201. package/ui/mero-collections.css +1 -1
  202. package/ui/mero-collections.js +1 -1
  203. package/ui/mero-composition.css +1 -1
  204. package/ui/mero-composition.js +1 -11
  205. package/ui/mero-forms.js +3 -3
  206. package/ui/mero-gallery.css +1 -1
  207. package/ui/mero-gallery.js +1 -1
  208. package/ui/mero-insights.css +1 -1
  209. package/ui/mero-insights.js +1 -1
  210. package/ui/mero-layouts.css +1 -1
  211. package/ui/mero-live.js +3 -3
  212. package/ui/mero-themes.css +1 -1
  213. package/ui/mero-workspace.css +5 -6
  214. package/ui/mero-workspace.js +7 -26
  215. package/ui/mero.css +1 -1
  216. package/ui/mero.d.ts +1 -1
  217. package/ui/mero.js +12 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0 · 27 November 2026
4
+
5
+ - **Breaking:** removed the deprecated `data-mero-check-form` hook from `ui/mero-composition.js`. Use pure CSS `.mero-validator` + `.mero-validator-hint` for client constraint hints and `data-mero-form` for server-backed validation.
6
+ - **Breaking:** removed the deprecated `data-mero-ws-command` command palette from `ui/mero-workspace.js` (and its Cmd/Ctrl+K yield in `ui/mero.js`). Use core `dialog[data-mero-command]`, which now also supports local `data-mero-combo` option lists alongside remote HTMX searches and skips dialogs inside `[hidden]` ancestors.
7
+ - **Breaking:** changed the default `MeroUI.configure({ dialogBackdrop })` mode from `"all"` to `"mero-only"`. Mero now light-dismisses backdrop clicks on `.mero-dialog`, `[data-mero-dialog]`, and dialogs opened through `data-mero-open` / `MeroUI.open()`, leaving bare third-party or Alpine `<dialog>` elements untouched by default. Call `MeroUI.configure({ dialogBackdrop: "all" })` to opt back in to dismissing all modal dialogs.
8
+ - **1.0.0 stability guarantee:** locked the public API surface (`test/api-surface.json`, Core 4 runtime, TypeScript declarations, and zero-dependency `mero-ui` CLI) under strict SemVer — breaking changes happen only in major releases (`2.0.0+`).
9
+
3
10
  ## 0.10.0 · 27 November 2026
4
11
 
5
12
  - **Breaking:** moved the demo image (`studio-lamp.webp`) and Studio demo files (`mero-inventory.css`, `mero-inventory.js`) out of `ui/` into `public/` and moved demo `.mero-lamp-photo` rules out of `ui/mero-gallery.css` so `@rubenlangeweg/mero-ui/ui` ships self-contained text-only reusable assets.
package/README.md CHANGED
@@ -53,9 +53,9 @@ npx mero-ui upgrade public/mero
53
53
 
54
54
  Pass `--minified` to copy `dist/ui/*.min.{css,js}` instead of unminified `ui/` files. `mero-ui verify` exits non-zero if any vendored file drifted from `MERO.json`, and `mero-ui upgrade` prints every **Breaking:** and **Deprecated:** changelog entry since the previously vendored version.
55
55
 
56
- To skip the install, load a file straight from the tag, for example `https://cdn.jsdelivr.net/gh/rubenlangeweg/mero-ui@v0.10.0/ui/mero.css`.
56
+ To skip the install, load a file straight from the tag, for example `https://cdn.jsdelivr.net/gh/rubenlangeweg/mero-ui@v1.0.0/ui/mero.css`.
57
57
 
58
- Mero targets htmx 4 and is tested against htmx 4.0.2; later 4.x releases are expected to work but are not tested until the pin moves. Copy the Mero files you use from `node_modules/@rubenlangeweg/mero-ui/ui/` into your app’s static directory. The first line of each file names its release, for example `/*! @rubenlangeweg/mero-ui 0.10.0 | MIT */`, so a copied file shows which version it is. Serve `htmx.org/dist/htmx.min.js` at the path used in your HTML.
58
+ Mero targets htmx 4 and is tested against htmx 4.0.2; later 4.x releases are expected to work but are not tested until the pin moves. Copy the Mero files you use from `node_modules/@rubenlangeweg/mero-ui/ui/` into your app’s static directory. The first line of each file names its release, for example `/*! @rubenlangeweg/mero-ui 1.0.0 | MIT */`, so a copied file shows which version it is. Serve `htmx.org/dist/htmx.min.js` at the path used in your HTML.
59
59
 
60
60
  The Mero scripts listen to htmx 4 events and read `event.detail.ctx`. Load `mero.js` on every page that uses a Mero script.
61
61
 
@@ -63,7 +63,7 @@ The Mero scripts listen to htmx 4 events and read `event.detail.ctx`. Load `mero
63
63
  - **Server responses.** Send `HX-Trigger: {"mero:form-saved":{"message":"Saved"}}` after a successful save. htmx 4 fires it after the swap settles. Add a `target` selector to the event detail when the swap replaces the submitting form. Read the `HX-Target` request header as `tag#id`. An error response other than the documented 422, 409 or 413 is never swapped into a Mero component, although htmx 4 swaps error responses by default.
64
64
  - **The compatibility extension.** Do not load `htmx-2-compat` on a page with Mero scripts. It dispatches the old event names, which the Mero scripts do not read.
65
65
 
66
- Serve `ui/mero.css` and `ui/mero.js` from your app. Include htmx 4 for examples with `hx-*` attributes. Each component page lists the optional CSS and JavaScript its family uses. The copyable markup works in any server template. A sortable table sorts on the server through plain `?sort=` header links, so it works without JavaScript. Filter chips work the same way: each chip, the "+ Filter" menu items and "Clear all filters" are links to the URL with that query parameter changed. A `role="menu"` popover gets arrow-key, Home, End, typeahead, Escape and Tab handling from `mero.js` for its `menuitem`, `menuitemradio` and `menuitemcheckbox` items. A menu opens on its checked `menuitemradio`; render `aria-checked` on the server. A `dialog[data-mero-command]` holding a remote combobox opens on Cmd or Ctrl K and runs the chosen server option; use one per page, and not alongside the workspace Command. The local catalog includes htmx 4.0.2 and Geist with their license notices.
66
+ Serve `ui/mero.css` and `ui/mero.js` from your app. Include htmx 4 for examples with `hx-*` attributes. Each component page lists the optional CSS and JavaScript its family uses. The copyable markup works in any server template. A sortable table sorts on the server through plain `?sort=` header links, so it works without JavaScript. Filter chips work the same way: each chip, the "+ Filter" menu items and "Clear all filters" are links to the URL with that query parameter changed. A `role="menu"` popover gets arrow-key, Home, End, typeahead, Escape and Tab handling from `mero.js` for its `menuitem`, `menuitemradio` and `menuitemcheckbox` items. A menu opens on its checked `menuitemradio`; render `aria-checked` on the server. A `dialog[data-mero-command]` holding a local or remote combobox opens on Cmd or Ctrl K and runs the chosen option; use one per page. The local catalog includes htmx 4.0.2 and Geist with their license notices.
67
67
 
68
68
  ### Preview a row
69
69
 
@@ -106,7 +106,7 @@ All shipped stylesheets wrap their rules in `@layer mero` with `:where()` select
106
106
 
107
107
  ## Stability
108
108
 
109
- Mero follows [semantic versioning](https://semver.org). Mero is 0.x and still young, so a minor release may break the public API. From 0.9.0 it never does so silently: the [changelog](CHANGELOG.md) marks every removal, rename or change in meaning as **Breaking:** in the release that makes it. Where it is cheap, a name is marked **Deprecated:** and keeps working for a release first. Patch releases do not break. Read those two bullets before each upgrade.
109
+ Mero follows [semantic versioning](https://semver.org). From 1.0.0, breaking changes to the public surface happen only in major releases (`2.0.0+`), never silently: the [changelog](CHANGELOG.md) marks every removal, rename or change in meaning as **Breaking:** in the release that makes it, and `npx mero-ui upgrade` surfaces those notes automatically. Where practical, a name is marked **Deprecated:** and keeps working for at least one minor release first. Minor releases add backwards-compatible features; patch releases fix bugs without breaking changes. Read **Breaking:** and **Deprecated:** bullets before each upgrade.
110
110
 
111
111
  A test fails when one of these names disappears from `ui/`. The reviewed list is `test/api-surface.json`:
112
112
 
@@ -1,6 +1,6 @@
1
1
  # Accordion
2
2
 
3
- Mero UI 0.10.0 · Navigation
3
+ Mero UI 1.0.0 · Navigation
4
4
 
5
5
  Disclose one section at a time using grouped native details.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Action Bar
2
2
 
3
- Mero UI 0.10.0 · Studio collections
3
+ Mero UI 1.0.0 · Studio collections
4
4
 
5
5
  Select records and apply one status change to the selection.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Action Button
2
2
 
3
- Mero UI 0.10.0 · Buttons
3
+ Mero UI 1.0.0 · Buttons
4
4
 
5
5
  Run a server action and report whether it succeeded, was refused or has an unknown result.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Agenda
2
2
 
3
- Mero UI 0.10.0 · Studio collections
3
+ Mero UI 1.0.0 · Studio collections
4
4
 
5
5
  Browse daily bookings and add a timed event.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Alert Dialog
2
2
 
3
- Mero UI 0.10.0 · Overlays
3
+ Mero UI 1.0.0 · Overlays
4
4
 
5
5
  Ask for confirmation on a decision that calls for attention.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Alert
2
2
 
3
- Mero UI 0.10.0 · Feedback
3
+ Mero UI 1.0.0 · Feedback
4
4
 
5
5
  Place status or guidance alongside the content it describes.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # App Layout
2
2
 
3
- Mero UI 0.10.0 · Workspace navigation
3
+ Mero UI 1.0.0 · Workspace navigation
4
4
 
5
5
  A responsive workspace with a sidebar, content area and mobile navigation drawer.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Area Chart
2
2
 
3
- Mero UI 0.10.0 · Charts
3
+ Mero UI 1.0.0 · Charts
4
4
 
5
5
  Show the volume and shape of a series over time.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Aura
2
2
 
3
- Mero UI 0.10.0 · Display utilities
3
+ Mero UI 1.0.0 · Display utilities
4
4
 
5
5
  Frame an interactive surface with a subtle moving highlight.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Autocomplete
2
2
 
3
- Mero UI 0.10.0 · Pickers
3
+ Mero UI 1.0.0 · Pickers
4
4
 
5
5
  Request matching options from the server as a user types.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Avatar Group
2
2
 
3
- Mero UI 0.10.0 · Media
3
+ Mero UI 1.0.0 · Media
4
4
 
5
5
  Show a compact cluster of people associated with a workspace.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Avatar
2
2
 
3
- Mero UI 0.10.0 · Media
3
+ Mero UI 1.0.0 · Media
4
4
 
5
5
  Represent a person with initials and an accessible name.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Badge
2
2
 
3
- Mero UI 0.10.0 · Data display
3
+ Mero UI 1.0.0 · Data display
4
4
 
5
5
  Label a status using text and a semantic tone.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Bar Chart
2
2
 
3
- Mero UI 0.10.0 · Charts
3
+ Mero UI 1.0.0 · Charts
4
4
 
5
5
  Compare adjacent categories on a shared linear scale.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Breadcrumbs
2
2
 
3
- Mero UI 0.10.0 · Navigation
3
+ Mero UI 1.0.0 · Navigation
4
4
 
5
5
  Show the user’s current location and its parent pages.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Browser Mockup
2
2
 
3
- Mero UI 0.10.0 · Mockups
3
+ Mero UI 1.0.0 · Mockups
4
4
 
5
5
  Present a site preview inside a compact browser frame.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Button Group
2
2
 
3
- Mero UI 0.10.0 · Buttons
3
+ Mero UI 1.0.0 · Buttons
4
4
 
5
5
  Keep related actions together while preserving each button’s own label and focus.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Button
2
2
 
3
- Mero UI 0.10.0 · Buttons
3
+ Mero UI 1.0.0 · Buttons
4
4
 
5
5
  Trigger an action with a consistent hierarchy of visual emphasis.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Calendar
2
2
 
3
- Mero UI 0.10.0 · Date and time
3
+ Mero UI 1.0.0 · Date and time
4
4
 
5
5
  Navigate months and choose a day on an inline calendar rendered by the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Card
2
2
 
3
- Mero UI 0.10.0 · Layout
3
+ Mero UI 1.0.0 · Layout
4
4
 
5
5
  Group related content and an action into one compact surface.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Carousel
2
2
 
3
- Mero UI 0.10.0 · Media galleries
3
+ Mero UI 1.0.0 · Media galleries
4
4
 
5
5
  Browse product photography with native scroll snap, thumbnails and keyboard controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Cell Color Picker
2
2
 
3
- Mero UI 0.10.0 · Workspace forms
3
+ Mero UI 1.0.0 · Workspace forms
4
4
 
5
5
  Change one preference and receive inline confirmation from the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Cell Select
2
2
 
3
- Mero UI 0.10.0 · Workspace forms
3
+ Mero UI 1.0.0 · Workspace forms
4
4
 
5
5
  Change one preference and receive inline confirmation from the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Cell Slider
2
2
 
3
- Mero UI 0.10.0 · Workspace forms
3
+ Mero UI 1.0.0 · Workspace forms
4
4
 
5
5
  Change one preference and receive inline confirmation from the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Cell Switch
2
2
 
3
- Mero UI 0.10.0 · Workspace forms
3
+ Mero UI 1.0.0 · Workspace forms
4
4
 
5
5
  Change one preference and receive inline confirmation from the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chain Of Thought
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Display a disclosure of observable execution steps for a report.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chart Tooltip
2
2
 
3
- Mero UI 0.10.0 · Charts
3
+ Mero UI 1.0.0 · Charts
4
4
 
5
5
  Inspect the active data point using a pointer or keyboard.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Attachment
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Display a named file and provide a working download.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Conversation
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Keep messages, controls and a composer in one scoped conversation.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat List View
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Open a conversation returned by the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Loader
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Show a concise status while a response is being prepared.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Message Actions
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Copy a reply or mark it as helpful.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Message
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Distinguish the sender and keep the message readable after a swap.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Source
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Open the exact data behind a generated summary.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chat Tool
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Disclose the inputs and output of an application action.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Checkbox Button Group
2
2
 
3
- Mero UI 0.10.0 · Workspace forms
3
+ Mero UI 1.0.0 · Workspace forms
4
4
 
5
5
  Select several release channels using native checkboxes.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Checkbox Group
2
2
 
3
- Mero UI 0.10.0 · Forms
3
+ Mero UI 1.0.0 · Forms
4
4
 
5
5
  Group related independent choices with a fieldset and legend.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Checkbox
2
2
 
3
- Mero UI 0.10.0 · Forms
3
+ Mero UI 1.0.0 · Forms
4
4
 
5
5
  Include an independent binary choice in a form.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Chip
2
2
 
3
- Mero UI 0.10.0 · Data display
3
+ Mero UI 1.0.0 · Data display
4
4
 
5
5
  Display a lightweight label for an attribute or filter value.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Close Button
2
2
 
3
- Mero UI 0.10.0 · Buttons
3
+ Mero UI 1.0.0 · Buttons
4
4
 
5
5
  Give a dialog an icon-only close action with an accessible name.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Code Block
2
2
 
3
- Mero UI 0.10.0 · Conversation
3
+ Mero UI 1.0.0 · Conversation
4
4
 
5
5
  Show a file caption, selectable code and a copy control.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Code Mockup
2
2
 
3
- Mero UI 0.10.0 · Mockups
3
+ Mero UI 1.0.0 · Mockups
4
4
 
5
5
  Present a terminal command and its output.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Color Area
2
2
 
3
- Mero UI 0.10.0 · Colors
3
+ Mero UI 1.0.0 · Colors
4
4
 
5
5
  Open a browser-managed color surface and submit the selected color.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Color Field
2
2
 
3
- Mero UI 0.10.0 · Colors
3
+ Mero UI 1.0.0 · Colors
4
4
 
5
5
  Enter a six-digit hex value directly in a text field.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Color Picker
2
2
 
3
- Mero UI 0.10.0 · Colors
3
+ Mero UI 1.0.0 · Colors
4
4
 
5
5
  Choose a color using the native picker UI.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Color Slider
2
2
 
3
- Mero UI 0.10.0 · Colors
3
+ Mero UI 1.0.0 · Colors
4
4
 
5
5
  Adjust a hue along the color spectrum.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Color Swatch
2
2
 
3
- Mero UI 0.10.0 · Colors
3
+ Mero UI 1.0.0 · Colors
4
4
 
5
5
  Show a color with its human-readable label.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Combo Box
2
2
 
3
- Mero UI 0.10.0 · Pickers
3
+ Mero UI 1.0.0 · Pickers
4
4
 
5
5
  Filter and select from suggestions already on the page.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Command Menu
2
2
 
3
- Mero UI 0.10.0 · Overlays
3
+ Mero UI 1.0.0 · Overlays
4
4
 
5
5
  Press Cmd or Ctrl K to search pages and actions returned by your server.
6
6
 
@@ -1,14 +1,14 @@
1
1
  # Command
2
2
 
3
- Mero UI 0.10.0 · Workspace navigation
3
+ Mero UI 1.0.0 · Workspace navigation
4
4
 
5
- Search destinations and actions, then use the arrows and Enter to execute.
5
+ Search local destinations and actions, then use the arrows and Enter to execute.
6
6
 
7
7
  [Integration patterns and API reference](../llms-patterns.txt)
8
8
 
9
9
  ## Default
10
10
 
11
- Click the trigger or press Cmd/Ctrl K. Escape returns focus to where you were working.
11
+ Built on core dialog[data-mero-command] with local data-mero-combo filtering. Click the trigger or press Cmd/Ctrl K. Escape closes the results, then the dialog, and returns focus to where you were working.
12
12
 
13
13
  Page assets
14
14
 
@@ -22,17 +22,20 @@ Page assets
22
22
  Template
23
23
 
24
24
  ````html
25
- <section class="mero-ws-command" data-mero-ws-command>
26
- <button class="mero-ws-launch" type="button" data-mero-ws-open><span>Search commands</span><kbd>⌘ / Ctrl K</kbd></button>
27
- <dialog class="mero-dialog mero-ws-command-dialog" aria-label="Workspace commands">
28
- <div class="mero-ws-command-head"><input type="search" data-command-search placeholder="Search pages and actions…" aria-label="Search commands" autofocus><button type="button" data-mero-close aria-label="Close commands"><svg class="mero-ws-icon" aria-hidden="true" focusable="false" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m6 6 12 12M18 6 6 18"/></svg></button></div>
29
- <div class="mero-ws-command-items">
30
- <a href="/layouts/dashboard?view=inventory"><strong>Open inventory</strong><small>Workspace</small></a>
31
- <a href="/layouts/dashboard?view=settings"><strong>Workspace settings</strong><small>Workspace</small></a>
32
- <button type="button" data-command-copy><strong>Copy page link</strong><small>Action</small></button>
25
+ <section class="mero-ws-command">
26
+ <button class="mero-ws-launch" type="button" data-mero-open="ws-commands" aria-keyshortcuts="Meta+K Control+K"><span>Search commands</span><kbd>⌘ / Ctrl K</kbd></button>
27
+ <dialog class="mero-dialog mero-command" id="ws-commands" data-mero-command aria-label="Workspace commands">
28
+ <div class="mero-combo" data-mero-combo>
29
+ <input class="mero-input" type="search" role="combobox" aria-label="Search commands" aria-expanded="false"
30
+ aria-controls="ws-commands-options" aria-autocomplete="list" autocomplete="off" placeholder="Search pages and actions…" autofocus>
31
+ <div class="mero-listbox mero-combo-list" id="ws-commands-options" role="listbox" aria-label="Workspace commands" hidden>
32
+ <a id="ws-cmd-inventory" role="option" tabindex="-1" href="/layouts/dashboard?view=inventory">Open inventory</a>
33
+ <a id="ws-cmd-settings" role="option" tabindex="-1" href="/layouts/dashboard?view=settings">Workspace settings</a>
34
+ <button id="ws-cmd-copy" role="option" tabindex="-1" type="button" data-mero-copy="studio-north" data-mero-copy-message="Workspace ID copied.">Copy workspace ID</button>
35
+ <div role="option" aria-disabled="true" data-mero-empty-option hidden>No matching commands</div>
36
+ </div>
37
+ <span class="mero-description" data-mero-combo-status role="status"></span>
33
38
  </div>
34
- <p class="mero-ws-command-empty" hidden>No matching commands</p>
35
39
  </dialog>
36
- <output class="mero-ws-status" role="status"></output>
37
40
  </section>
38
41
  ````
@@ -1,6 +1,6 @@
1
1
  # Composed Chart
2
2
 
3
- Mero UI 0.10.0 · Charts
3
+ Mero UI 1.0.0 · Charts
4
4
 
5
5
  Compare actual volume with its target using columns and a line.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Context Menu
2
2
 
3
- Mero UI 0.10.0 · Workspace navigation
3
+ Mero UI 1.0.0 · Workspace navigation
4
4
 
5
5
  Open item actions with the visible button, a secondary click, or Shift F10.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Countdown
2
2
 
3
- Mero UI 0.10.0 · Display utilities
3
+ Mero UI 1.0.0 · Display utilities
4
4
 
5
5
  Show the time remaining until the next daily shipping cutoff.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Data Grid
2
2
 
3
- Mero UI 0.10.0 · Studio collections
3
+ Mero UI 1.0.0 · Studio collections
4
4
 
5
5
  Search, sort, select and edit products in a server-rendered collection.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Date Field
2
2
 
3
- Mero UI 0.10.0 · Date and time
3
+ Mero UI 1.0.0 · Date and time
4
4
 
5
5
  Enter a calendar date in the system’s preferred format.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Date Picker
2
2
 
3
- Mero UI 0.10.0 · Date and time
3
+ Mero UI 1.0.0 · Date and time
4
4
 
5
5
  Choose a date with the browser’s calendar picker and native constraints.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Date Range Picker
2
2
 
3
- Mero UI 0.10.0 · Date and time
3
+ Mero UI 1.0.0 · Date and time
4
4
 
5
5
  Collect the start and end dates of a range.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Description List
2
2
 
3
- Mero UI 0.10.0 · Data display
3
+ Mero UI 1.0.0 · Data display
4
4
 
5
5
  Show a record’s fields as label and value pairs.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Description
2
2
 
3
- Mero UI 0.10.0 · Forms
3
+ Mero UI 1.0.0 · Forms
4
4
 
5
5
  Connect persistent help text to a control.
6
6