@rubenlangeweg/mero-ui 0.7.0 → 0.8.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 (198) hide show
  1. package/CHANGELOG.md +15 -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 +32 -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 +32 -1
  21. package/agent-docs/components/calendar.md +1 -1
  22. package/agent-docs/components/card.md +56 -1
  23. package/agent-docs/components/carousel.md +1 -1
  24. package/agent-docs/components/cell-color-picker.md +1 -1
  25. package/agent-docs/components/cell-select.md +1 -1
  26. package/agent-docs/components/cell-slider.md +1 -1
  27. package/agent-docs/components/cell-switch.md +1 -1
  28. package/agent-docs/components/chain-of-thought.md +1 -1
  29. package/agent-docs/components/chart-tooltip.md +1 -1
  30. package/agent-docs/components/chat-attachment.md +1 -1
  31. package/agent-docs/components/chat-conversation.md +1 -1
  32. package/agent-docs/components/chat-list-view.md +1 -1
  33. package/agent-docs/components/chat-loader.md +1 -1
  34. package/agent-docs/components/chat-message-actions.md +1 -1
  35. package/agent-docs/components/chat-message.md +1 -1
  36. package/agent-docs/components/chat-source.md +1 -1
  37. package/agent-docs/components/chat-tool.md +1 -1
  38. package/agent-docs/components/checkbox-button-group.md +1 -1
  39. package/agent-docs/components/checkbox-group.md +1 -1
  40. package/agent-docs/components/checkbox.md +1 -1
  41. package/agent-docs/components/chip.md +1 -1
  42. package/agent-docs/components/close-button.md +1 -1
  43. package/agent-docs/components/code-block.md +1 -1
  44. package/agent-docs/components/code-mockup.md +1 -1
  45. package/agent-docs/components/color-area.md +1 -1
  46. package/agent-docs/components/color-field.md +1 -1
  47. package/agent-docs/components/color-picker.md +1 -1
  48. package/agent-docs/components/color-slider.md +1 -1
  49. package/agent-docs/components/color-swatch.md +1 -1
  50. package/agent-docs/components/combo-box.md +1 -1
  51. package/agent-docs/components/command-menu.md +1 -1
  52. package/agent-docs/components/command.md +1 -1
  53. package/agent-docs/components/composed-chart.md +1 -1
  54. package/agent-docs/components/context-menu.md +1 -1
  55. package/agent-docs/components/countdown.md +1 -1
  56. package/agent-docs/components/data-grid.md +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 +30 -0
  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 +83 -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 +36 -4
  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 +45 -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 +155 -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 +32 -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 +34 -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 +35 -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 +69 -0
  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 +43 -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 +58 -1
  154. package/agent-docs/components/tabs.md +24 -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 +24 -1
  171. package/agent-docs/components/validator.md +1 -1
  172. package/agent-docs/components/visually-hidden.md +27 -0
  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 +987 -192
  176. package/agent-docs/llms-full.txt +1016 -201
  177. package/agent-docs/llms-patterns.txt +30 -10
  178. package/agent-docs/llms.txt +5 -2
  179. package/package.json +1 -1
  180. package/ui/insight-charts.mjs +1 -1
  181. package/ui/insight-markdown.mjs +1 -1
  182. package/ui/mero-collections.css +1 -7
  183. package/ui/mero-collections.js +1 -1
  184. package/ui/mero-composition.css +1 -1
  185. package/ui/mero-composition.js +1 -1
  186. package/ui/mero-forms.js +415 -27
  187. package/ui/mero-gallery.css +1 -1
  188. package/ui/mero-gallery.js +1 -1
  189. package/ui/mero-insights.css +1 -1
  190. package/ui/mero-insights.js +1 -1
  191. package/ui/mero-inventory.css +1 -1
  192. package/ui/mero-inventory.js +1 -1
  193. package/ui/mero-layouts.css +1 -4
  194. package/ui/mero-live.js +25 -4
  195. package/ui/mero-workspace.css +1 -1
  196. package/ui/mero-workspace.js +1 -1
  197. package/ui/mero.css +104 -5
  198. package/ui/mero.js +202 -2
@@ -1,6 +1,6 @@
1
1
  # Hover Card
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Preview a contributor on hover, focus or tap.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Hover Gallery
2
2
 
3
- Mero UI 0.7.0 · Media galleries
3
+ Mero UI 0.8.0 · Media galleries
4
4
 
5
5
  Explore the shade, base and profile of a product with a pointer, touch or keyboard.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Indicator
2
2
 
3
- Mero UI 0.7.0 · Display utilities
3
+ Mero UI 0.8.0 · Display utilities
4
4
 
5
5
  Anchor a quantity to an icon or action.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Inline Select
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Change an audience within the sentence that describes it.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Input Group
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  Combine a control and contextual prefix with a single outline.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Input OTP
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  Collect a six-digit code in one input with mobile autofill.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Input
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  A styled native input with browser validation and autocomplete.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Item Card Group
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Arrange related destinations into a responsive group.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Item Card
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Give a related destination an identity, title and supporting detail.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Join
2
2
 
3
- Mero UI 0.7.0 · Composition
3
+ Mero UI 0.8.0 · Composition
4
4
 
5
5
  Connect related controls with a shared outline.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Joined Filter
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Search and filter releases with one server request.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Kanban
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Move a card between stages with a drag or its Move to menu.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Kbd
2
2
 
3
- Mero UI 0.7.0 · Typography
3
+ Mero UI 0.8.0 · Typography
4
4
 
5
5
  Format a keyboard shortcut with native semantics.
6
6
 
@@ -20,3 +20,34 @@ Template
20
20
  ````html
21
21
  <p class="mero-text">Use <kbd class="mero-kbd">Tab</kbd> to move to the next control.</p>
22
22
  ````
23
+
24
+ ## Keyboard shortcuts
25
+
26
+ Act on single keys and two-key sequences, with a switch to turn them off.
27
+
28
+ Shortcuts are ignored while the person types in a field, works in a menu, list, tab list or grid, or holds Ctrl, Cmd or Alt. A field takes focus; anything else is clicked. A two-key sequence such as g r must be finished within 1.5 seconds. WCAG 2.1.4 requires a way to turn single-key shortcuts off: the data-mero-shortcuts-toggle control does that for every page in this browser, and Mero updates aria-keyshortcuts to match.
29
+
30
+ Page assets
31
+
32
+ ```html
33
+ <link rel="stylesheet" href="/mero.css">
34
+ <script defer src="/mero.js"></script>
35
+ ```
36
+
37
+ Template
38
+
39
+ ````html
40
+ <div class="mero-scope" data-mero-scope>
41
+ <div class="mero-stack">
42
+ <div class="mero-field">
43
+ <label class="mero-label" for="shortcut-demo-search">Search <kbd class="mero-kbd">/</kbd></label>
44
+ <input class="mero-input" id="shortcut-demo-search" type="search" data-mero-shortcut="/">
45
+ </div>
46
+ <div class="mero-row">
47
+ <button class="mero-button mero-button-secondary" type="button" data-mero-shortcut="n" data-mero-toast="New draft started">New draft <kbd class="mero-kbd">N</kbd></button>
48
+ <button class="mero-button mero-button-secondary" type="button" data-mero-shortcut="g r" data-mero-toast="Opened reports">Reports <kbd class="mero-kbd">G</kbd> <kbd class="mero-kbd">R</kbd></button>
49
+ </div>
50
+ <label class="mero-row"><input class="mero-checkbox" type="checkbox" data-mero-shortcuts-toggle checked> Single-key shortcuts</label>
51
+ </div>
52
+ </div>
53
+ ````
@@ -1,6 +1,6 @@
1
1
  # KPI Group
2
2
 
3
- Mero UI 0.7.0 · Metrics
3
+ Mero UI 0.8.0 · Metrics
4
4
 
5
5
  Keep related measures on a common reporting period.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # KPI
2
2
 
3
- Mero UI 0.7.0 · Metrics
3
+ Mero UI 0.8.0 · Metrics
4
4
 
5
5
  Pair an exact figure with the reporting period it describes.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Label
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  Name an input and expand its activation area.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Line Chart
2
2
 
3
- Mero UI 0.7.0 · Charts
3
+ Mero UI 0.8.0 · Charts
4
4
 
5
5
  Trace changes across a reporting period.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Link
2
2
 
3
- Mero UI 0.7.0 · Navigation
3
+ Mero UI 0.8.0 · Navigation
4
4
 
5
5
  Navigate to a real URL with native link semantics.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # List Box
2
2
 
3
- Mero UI 0.7.0 · Collections
3
+ Mero UI 0.8.0 · Collections
4
4
 
5
5
  Present a selectable collection with arrow-key navigation.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # List View
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Browse structured destinations in a compact keyboard-accessible list.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Live Progress
2
2
 
3
- Mero UI 0.7.0 · Feedback
3
+ Mero UI 0.8.0 · Feedback
4
4
 
5
5
  Follow a deployment through to its final status.
6
6
 
@@ -36,3 +36,36 @@ Template
36
36
  </section>
37
37
  </div>
38
38
  ````
39
+
40
+ ## Stale status
41
+
42
+ Keep showing the last confirmed status, with its time, while reads fail.
43
+
44
+ This demo endpoint fails every read after the first. data-mero-live-error fills {time} with the time of the last good read, in the browser's locale. data-mero-live-follow hands an error response with HX-Redirect, HX-Location or HX-Refresh to htmx and stops polling, so an expired session answered with 401 and HX-Redirect: /login goes to the login page instead of retrying forever.
45
+
46
+ Page assets
47
+
48
+ ```html
49
+ <link rel="stylesheet" href="/mero.css">
50
+ <script defer src="/vendor/htmx.min.js"></script>
51
+ <script defer src="/mero.js"></script>
52
+ <script defer src="/mero-live.js"></script>
53
+ ```
54
+
55
+ Template
56
+
57
+ ````html
58
+ <div class="mero-scope" data-mero-scope>
59
+ <section class="mero-card mero-live" aria-labelledby="stale-deployment-title" tabindex="-1" data-mero-live="3000" data-mero-live-follow
60
+ hx-get="/demo/catalog/live-progress?outage=1" hx-trigger="mero:refresh"
61
+ hx-target="find [data-mero-live-status]" hx-swap="innerHTML" hx-include="find input">
62
+ <h2 class="mero-card-title" id="stale-deployment-title">Production deployment</h2>
63
+ <div class="mero-live-status" data-mero-live-status role="status" aria-atomic="true">
64
+ <span class="mero-badge mero-badge-dot">Queued</span>
65
+ <input type="hidden" name="started" value="">
66
+ </div>
67
+ <p class="mero-form-status" role="status" data-mero-live-error="Couldn't refresh. This is the status from {time}. Retrying…"></p>
68
+ <button type="button" class="mero-button mero-button-secondary" data-mero-live-retry hidden>Retry now</button>
69
+ </section>
70
+ </div>
71
+ ````
@@ -1,6 +1,6 @@
1
1
  # Map
2
2
 
3
- Mero UI 0.7.0 · Studio collections
3
+ Mero UI 0.8.0 · Studio collections
4
4
 
5
5
  Choose a location on a self-contained campus map and read its address.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Markdown
2
2
 
3
- Mero UI 0.7.0 · Conversation
3
+ Mero UI 0.8.0 · Conversation
4
4
 
5
5
  Render a small safe subset of Markdown into semantic HTML.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Mask
2
2
 
3
- Mero UI 0.7.0 · Display utilities
3
+ Mero UI 0.8.0 · Display utilities
4
4
 
5
5
  Crop an image while keeping its alternative text.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Megamenu
2
2
 
3
- Mero UI 0.7.0 · Workspace navigation
3
+ Mero UI 0.8.0 · Workspace navigation
4
4
 
5
5
  Explore grouped destinations from a native disclosure.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Menu Button
2
2
 
3
- Mero UI 0.7.0 · Collections
3
+ Mero UI 0.8.0 · Collections
4
4
 
5
5
  Open row actions and move through them with the arrow keys.
6
6
 
@@ -76,3 +76,37 @@ Template
76
76
  </div>
77
77
  </div>
78
78
  ````
79
+
80
+ ## Groups and danger
81
+
82
+ Label groups of actions with a visible heading and set a destructive action apart.
83
+
84
+ Give each group role=group and aria-labelledby its mero-menu-heading. The heading is aria-hidden, so screen readers announce it once as the group name, and arrow keys and typeahead skip it. Use mero-menu-item-danger for an action that destroys data, after a separator, and name the action in its text because forced-colors mode drops the colour. Let it open a confirmation instead of acting immediately.
85
+
86
+ Page assets
87
+
88
+ ```html
89
+ <link rel="stylesheet" href="/mero.css">
90
+ <script defer src="/mero.js"></script>
91
+ ```
92
+
93
+ Template
94
+
95
+ ````html
96
+ <div class="mero-scope" data-mero-scope>
97
+ <button class="mero-button mero-button-outline mero-button-sm" type="button" popovertarget="environment-menu" aria-haspopup="menu" aria-controls="environment-menu" aria-expanded="false">Environment actions</button>
98
+ <div class="mero-popover mero-menu" id="environment-menu" popover role="menu" aria-label="acme-production actions">
99
+ <div role="group" aria-labelledby="environment-menu-lifecycle">
100
+ <div class="mero-menu-heading" id="environment-menu-lifecycle" aria-hidden="true">Lifecycle</div>
101
+ <button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Deploy started">Deploy release</button>
102
+ <button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Suspend requested">Suspend</button>
103
+ </div>
104
+ <div role="group" aria-labelledby="environment-menu-access">
105
+ <div class="mero-menu-heading" id="environment-menu-access" aria-hidden="true">Access</div>
106
+ <a class="mero-menu-item" role="menuitem" href="/components/typed-confirmation">Grant support access</a>
107
+ </div>
108
+ <hr class="mero-separator">
109
+ <a class="mero-menu-item mero-menu-item-danger" role="menuitem" href="/components/typed-confirmation">Delete environment…</a>
110
+ </div>
111
+ </div>
112
+ ````
@@ -1,6 +1,6 @@
1
1
  # Menu
2
2
 
3
- Mero UI 0.7.0 · Composition
3
+ Mero UI 0.8.0 · Composition
4
4
 
5
5
  Group destinations with an active page and section labels.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Meter
2
2
 
3
- Mero UI 0.7.0 · Feedback
3
+ Mero UI 0.8.0 · Feedback
4
4
 
5
5
  Show a measurement between known bounds.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Modal
2
2
 
3
- Mero UI 0.7.0 · Overlays
3
+ Mero UI 0.8.0 · Overlays
4
4
 
5
5
  Open a centered, named dialog with native focus containment.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Native Select
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Choose a workspace from labelled option groups.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Navbar
2
2
 
3
- Mero UI 0.7.0 · Workspace navigation
3
+ Mero UI 0.8.0 · Workspace navigation
4
4
 
5
5
  Place the workspace name and destinations in a wrapping top bar.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Number Field
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  Set numeric bounds and increments for a native field.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Number Stepper
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Change a bounded quantity with the keyboard or step buttons.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Number Value
2
2
 
3
- Mero UI 0.7.0 · Interaction feedback
3
+ Mero UI 0.8.0 · Interaction feedback
4
4
 
5
5
  Display a localized number with its machine-readable value.
6
6
 
@@ -0,0 +1,69 @@
1
+ # Page Header
2
+
3
+ Mero UI 0.8.0 · Layout
4
+
5
+ Open a page with its title, a short description and the page’s main actions.
6
+
7
+ [Integration patterns and API reference](../llms-patterns.txt)
8
+
9
+ ## Default
10
+
11
+ Use one per page, with the page’s h1. The description is a p inside the heading block. Actions sit at the end of the first row and wrap under the heading below 768 px. The layouts module uses the same class for its app pages.
12
+
13
+ Page assets
14
+
15
+ ```html
16
+ <link rel="stylesheet" href="/mero.css">
17
+ <script defer src="/mero.js"></script>
18
+ ```
19
+
20
+ Template
21
+
22
+ ````html
23
+ <header class="mero-page-head">
24
+ <div>
25
+ <h1>Environments</h1>
26
+ <p>Every customer environment and the release it runs.</p>
27
+ </div>
28
+ <div class="mero-page-head-actions">
29
+ <a class="mero-button mero-button-primary" href="/components/form">New environment</a>
30
+ </div>
31
+ </header>
32
+ ````
33
+
34
+ ## Record
35
+
36
+ Show where a record sits, its current status and what you can do with it.
37
+
38
+ Put Breadcrumbs first; they take the whole first row. Wrap the h1 and its status badge in mero-page-head-title so the badge follows the title and wraps with it. Keep the badge outside the h1 so the heading’s name stays the record’s name. The meta line is the p after the title row.
39
+
40
+ Page assets
41
+
42
+ ```html
43
+ <link rel="stylesheet" href="/mero.css">
44
+ <script defer src="/mero.js"></script>
45
+ ```
46
+
47
+ Template
48
+
49
+ ````html
50
+ <header class="mero-page-head">
51
+ <nav class="mero-breadcrumbs" aria-label="Breadcrumb">
52
+ <ol>
53
+ <li><a href="/components">Environments</a></li>
54
+ <li aria-current="page">acme-production</li>
55
+ </ol>
56
+ </nav>
57
+ <div>
58
+ <div class="mero-page-head-title">
59
+ <h1>acme-production</h1>
60
+ <span class="mero-badge mero-badge-success">Live</span>
61
+ </div>
62
+ <p>Acme Corporation · Europe West · Updated 4 minutes ago</p>
63
+ </div>
64
+ <div class="mero-page-head-actions">
65
+ <button class="mero-button mero-button-outline" type="button" data-mero-toast="Suspend requested">Suspend</button>
66
+ <a class="mero-button mero-button-primary" href="/components/typed-confirmation">Deploy release</a>
67
+ </div>
68
+ </header>
69
+ ````
@@ -1,6 +1,6 @@
1
1
  # Pagination
2
2
 
3
- Mero UI 0.7.0 · Navigation
3
+ Mero UI 0.8.0 · Navigation
4
4
 
5
5
  Navigate between result pages with server-rendered fragments.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Phone Mockup
2
2
 
3
- Mero UI 0.7.0 · Mockups
3
+ Mero UI 0.8.0 · Mockups
4
4
 
5
5
  Frame a mobile product screen.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Pie Chart
2
2
 
3
- Mero UI 0.7.0 · Charts
3
+ Mero UI 0.8.0 · Charts
4
4
 
5
5
  See how each collection contributes to total volume.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Popover
2
2
 
3
- Mero UI 0.7.0 · Overlays
3
+ Mero UI 0.8.0 · Overlays
4
4
 
5
5
  Display contextual information using the browser’s top layer.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Pressable Feedback
2
2
 
3
- Mero UI 0.7.0 · Interaction feedback
3
+ Mero UI 0.8.0 · Interaction feedback
4
4
 
5
5
  Give a press a tactile response and keep its selected state visible.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Progress Bar
2
2
 
3
- Mero UI 0.7.0 · Feedback
3
+ Mero UI 0.8.0 · Feedback
4
4
 
5
5
  Report measurable progress toward completion.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Progress Circle
2
2
 
3
- Mero UI 0.7.0 · Feedback
3
+ Mero UI 0.8.0 · Feedback
4
4
 
5
5
  Show a completion value in a compact circular display.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Prompt Input
2
2
 
3
- Mero UI 0.7.0 · Conversation
3
+ Mero UI 0.8.0 · Conversation
4
4
 
5
5
  Collect a question and submit it to a server-rendered response endpoint.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Prompt Suggestion
2
2
 
3
- Mero UI 0.7.0 · Conversation
3
+ Mero UI 0.8.0 · Conversation
4
4
 
5
5
  Choose a suggested prompt, edit it, then send it.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Radar Chart
2
2
 
3
- Mero UI 0.7.0 · Charts
3
+ Mero UI 0.8.0 · Charts
4
4
 
5
5
  Compare profiles across axes that use the same units.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Radial Chart
2
2
 
3
- Mero UI 0.7.0 · Charts
3
+ Mero UI 0.8.0 · Charts
4
4
 
5
5
  Compare categories as concentric rings against the largest category.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Radio Button Group
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Choose one release schedule with labelled option cards.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Radio Group
2
2
 
3
- Mero UI 0.7.0 · Forms
3
+ Mero UI 0.8.0 · Forms
4
4
 
5
5
  Choose exactly one option from a labeled set.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Range Calendar
2
2
 
3
- Mero UI 0.7.0 · Date and time
3
+ Mero UI 0.8.0 · Date and time
4
4
 
5
5
  Build a range with two native calendar controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Rating
2
2
 
3
- Mero UI 0.7.0 · Interaction feedback
3
+ Mero UI 0.8.0 · Interaction feedback
4
4
 
5
5
  Choose a labelled score using native radio controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Resizable
2
2
 
3
- Mero UI 0.7.0 · Workspace tools
3
+ Mero UI 0.8.0 · Workspace tools
4
4
 
5
5
  Resize two adjacent panels by dragging the divider or using the arrow keys.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Rich Text Editor
2
2
 
3
- Mero UI 0.7.0 · Workspace forms
3
+ Mero UI 0.8.0 · Workspace forms
4
4
 
5
5
  Edit a short description with bold and italic text and preview the submitted result.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Scroll Shadow
2
2
 
3
- Mero UI 0.7.0 · Utilities
3
+ Mero UI 0.8.0 · Utilities
4
4
 
5
5
  Expose a scrollable region with a visual cue that more content is available.
6
6