@rubenlangeweg/mero-ui 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -2
  3. package/agent-docs/components/accordion.md +1 -1
  4. package/agent-docs/components/action-bar.md +2 -2
  5. package/agent-docs/components/action-button.md +1 -1
  6. package/agent-docs/components/agenda.md +1 -1
  7. package/agent-docs/components/alert-dialog.md +1 -1
  8. package/agent-docs/components/alert.md +1 -1
  9. package/agent-docs/components/app-layout.md +42 -3
  10. package/agent-docs/components/area-chart.md +1 -1
  11. package/agent-docs/components/aura.md +1 -1
  12. package/agent-docs/components/autocomplete.md +1 -1
  13. package/agent-docs/components/avatar-group.md +1 -1
  14. package/agent-docs/components/avatar.md +1 -1
  15. package/agent-docs/components/badge.md +1 -1
  16. package/agent-docs/components/bar-chart.md +1 -1
  17. package/agent-docs/components/breadcrumbs.md +1 -1
  18. package/agent-docs/components/browser-mockup.md +1 -1
  19. package/agent-docs/components/button-group.md +1 -1
  20. package/agent-docs/components/button.md +1 -1
  21. package/agent-docs/components/calendar.md +67 -66
  22. package/agent-docs/components/card.md +1 -1
  23. package/agent-docs/components/carousel.md +1 -1
  24. package/agent-docs/components/cell-color-picker.md +1 -1
  25. package/agent-docs/components/cell-select.md +1 -1
  26. package/agent-docs/components/cell-slider.md +1 -1
  27. package/agent-docs/components/cell-switch.md +1 -1
  28. package/agent-docs/components/chain-of-thought.md +1 -1
  29. package/agent-docs/components/chart-tooltip.md +1 -1
  30. package/agent-docs/components/chat-attachment.md +1 -1
  31. package/agent-docs/components/chat-conversation.md +1 -1
  32. package/agent-docs/components/chat-list-view.md +1 -1
  33. package/agent-docs/components/chat-loader.md +1 -1
  34. package/agent-docs/components/chat-message-actions.md +1 -1
  35. package/agent-docs/components/chat-message.md +1 -1
  36. package/agent-docs/components/chat-source.md +1 -1
  37. package/agent-docs/components/chat-tool.md +1 -1
  38. package/agent-docs/components/checkbox-button-group.md +1 -1
  39. package/agent-docs/components/checkbox-group.md +1 -1
  40. package/agent-docs/components/checkbox.md +1 -1
  41. package/agent-docs/components/chip.md +1 -1
  42. package/agent-docs/components/close-button.md +1 -1
  43. package/agent-docs/components/code-block.md +1 -1
  44. package/agent-docs/components/code-mockup.md +1 -1
  45. package/agent-docs/components/color-area.md +1 -1
  46. package/agent-docs/components/color-field.md +1 -1
  47. package/agent-docs/components/color-picker.md +1 -1
  48. package/agent-docs/components/color-slider.md +1 -1
  49. package/agent-docs/components/color-swatch.md +1 -1
  50. package/agent-docs/components/combo-box.md +1 -1
  51. package/agent-docs/components/command-menu.md +1 -1
  52. package/agent-docs/components/command.md +1 -1
  53. package/agent-docs/components/composed-chart.md +1 -1
  54. package/agent-docs/components/context-menu.md +1 -1
  55. package/agent-docs/components/countdown.md +1 -1
  56. package/agent-docs/components/data-grid.md +5 -5
  57. package/agent-docs/components/date-field.md +1 -1
  58. package/agent-docs/components/date-picker.md +1 -1
  59. package/agent-docs/components/date-range-picker.md +1 -1
  60. package/agent-docs/components/description-list.md +1 -1
  61. package/agent-docs/components/description.md +1 -1
  62. package/agent-docs/components/diff.md +1 -1
  63. package/agent-docs/components/disclosure-group.md +1 -1
  64. package/agent-docs/components/disclosure.md +1 -1
  65. package/agent-docs/components/dock.md +1 -1
  66. package/agent-docs/components/drawer.md +1 -1
  67. package/agent-docs/components/drop-zone.md +1 -1
  68. package/agent-docs/components/dropdown.md +1 -1
  69. package/agent-docs/components/emoji-picker.md +1 -1
  70. package/agent-docs/components/emoji-reaction-button.md +1 -1
  71. package/agent-docs/components/empty-state.md +55 -3
  72. package/agent-docs/components/error-message.md +1 -1
  73. package/agent-docs/components/fab.md +1 -1
  74. package/agent-docs/components/field-error.md +1 -1
  75. package/agent-docs/components/fieldset.md +1 -1
  76. package/agent-docs/components/file-drop-zone.md +34 -0
  77. package/agent-docs/components/file-field.md +55 -0
  78. package/agent-docs/components/file-input.md +1 -1
  79. package/agent-docs/components/file-tree.md +1 -1
  80. package/agent-docs/components/filter-chips.md +1 -1
  81. package/agent-docs/components/floating-toc.md +1 -1
  82. package/agent-docs/components/footer.md +1 -1
  83. package/agent-docs/components/form.md +1 -1
  84. package/agent-docs/components/hero.md +1 -1
  85. package/agent-docs/components/holo-card.md +1 -1
  86. package/agent-docs/components/hover-card.md +1 -1
  87. package/agent-docs/components/hover-gallery.md +1 -1
  88. package/agent-docs/components/indicator.md +1 -1
  89. package/agent-docs/components/inline-select.md +1 -1
  90. package/agent-docs/components/input-group.md +1 -1
  91. package/agent-docs/components/input-otp.md +1 -1
  92. package/agent-docs/components/input.md +1 -1
  93. package/agent-docs/components/item-card-group.md +1 -1
  94. package/agent-docs/components/item-card.md +1 -1
  95. package/agent-docs/components/join.md +1 -1
  96. package/agent-docs/components/joined-filter.md +1 -1
  97. package/agent-docs/components/kanban.md +1 -1
  98. package/agent-docs/components/kbd.md +1 -1
  99. package/agent-docs/components/kpi-group.md +1 -1
  100. package/agent-docs/components/kpi.md +1 -1
  101. package/agent-docs/components/label.md +1 -1
  102. package/agent-docs/components/line-chart.md +1 -1
  103. package/agent-docs/components/link.md +1 -1
  104. package/agent-docs/components/list-box.md +1 -1
  105. package/agent-docs/components/list-view.md +1 -1
  106. package/agent-docs/components/live-progress.md +1 -1
  107. package/agent-docs/components/map.md +1 -1
  108. package/agent-docs/components/markdown.md +1 -1
  109. package/agent-docs/components/mask.md +1 -1
  110. package/agent-docs/components/megamenu.md +1 -1
  111. package/agent-docs/components/menu-button.md +1 -1
  112. package/agent-docs/components/menu.md +1 -1
  113. package/agent-docs/components/meter.md +1 -1
  114. package/agent-docs/components/modal.md +45 -1
  115. package/agent-docs/components/native-select.md +1 -1
  116. package/agent-docs/components/navbar.md +1 -1
  117. package/agent-docs/components/number-field.md +1 -1
  118. package/agent-docs/components/number-stepper.md +1 -1
  119. package/agent-docs/components/number-value.md +1 -1
  120. package/agent-docs/components/page-header.md +2 -2
  121. package/agent-docs/components/pagination.md +1 -1
  122. package/agent-docs/components/phone-mockup.md +1 -1
  123. package/agent-docs/components/pie-chart.md +1 -1
  124. package/agent-docs/components/popover.md +1 -1
  125. package/agent-docs/components/pressable-feedback.md +1 -1
  126. package/agent-docs/components/progress-bar.md +1 -1
  127. package/agent-docs/components/progress-circle.md +1 -1
  128. package/agent-docs/components/prompt-input.md +1 -1
  129. package/agent-docs/components/prompt-suggestion.md +1 -1
  130. package/agent-docs/components/radar-chart.md +1 -1
  131. package/agent-docs/components/radial-chart.md +1 -1
  132. package/agent-docs/components/radio-button-group.md +1 -1
  133. package/agent-docs/components/radio-group.md +1 -1
  134. package/agent-docs/components/range-calendar.md +1 -1
  135. package/agent-docs/components/rating.md +1 -1
  136. package/agent-docs/components/reorder-rows.md +114 -0
  137. package/agent-docs/components/resizable.md +1 -1
  138. package/agent-docs/components/rich-text-editor.md +1 -1
  139. package/agent-docs/components/scroll-shadow.md +1 -1
  140. package/agent-docs/components/search-field.md +1 -1
  141. package/agent-docs/components/segment.md +1 -1
  142. package/agent-docs/components/select.md +1 -1
  143. package/agent-docs/components/separator.md +1 -1
  144. package/agent-docs/components/sheet.md +1 -1
  145. package/agent-docs/components/sidebar.md +6 -3
  146. package/agent-docs/components/skeleton.md +1 -1
  147. package/agent-docs/components/slider.md +1 -1
  148. package/agent-docs/components/sortable-table.md +1 -1
  149. package/agent-docs/components/spinner.md +1 -1
  150. package/agent-docs/components/stack.md +1 -1
  151. package/agent-docs/components/status.md +1 -1
  152. package/agent-docs/components/stepper.md +1 -1
  153. package/agent-docs/components/surface.md +1 -1
  154. package/agent-docs/components/swap.md +1 -1
  155. package/agent-docs/components/switch.md +1 -1
  156. package/agent-docs/components/table.md +1 -1
  157. package/agent-docs/components/tabs.md +1 -1
  158. package/agent-docs/components/tag-group.md +1 -1
  159. package/agent-docs/components/text-area.md +1 -1
  160. package/agent-docs/components/text-field.md +1 -1
  161. package/agent-docs/components/text-rotate.md +1 -1
  162. package/agent-docs/components/text-shimmer.md +1 -1
  163. package/agent-docs/components/theme-controller.md +1 -1
  164. package/agent-docs/components/time-field.md +1 -1
  165. package/agent-docs/components/timeline.md +1 -1
  166. package/agent-docs/components/toast.md +1 -1
  167. package/agent-docs/components/toggle-button-group.md +1 -1
  168. package/agent-docs/components/toggle-button.md +1 -1
  169. package/agent-docs/components/toolbar.md +1 -1
  170. package/agent-docs/components/tooltip.md +1 -1
  171. package/agent-docs/components/trend-chip.md +1 -1
  172. package/agent-docs/components/typed-confirmation.md +1 -1
  173. package/agent-docs/components/typography.md +1 -1
  174. package/agent-docs/components/validator.md +1 -1
  175. package/agent-docs/components/visually-hidden.md +1 -1
  176. package/agent-docs/components/widget.md +1 -1
  177. package/agent-docs/components/window-mockup.md +1 -1
  178. package/agent-docs/llms-components.txt +589 -250
  179. package/agent-docs/llms-full.txt +617 -256
  180. package/agent-docs/llms-patterns.txt +29 -7
  181. package/agent-docs/llms.txt +4 -1
  182. package/dist/manifest.json +108 -108
  183. package/dist/ui/mero-collections.min.css +2 -2
  184. package/dist/ui/mero-collections.min.js +2 -2
  185. package/dist/ui/mero-composition.min.css +2 -2
  186. package/dist/ui/mero-composition.min.js +1 -1
  187. package/dist/ui/mero-forms.min.js +2 -2
  188. package/dist/ui/mero-gallery.min.css +2 -2
  189. package/dist/ui/mero-gallery.min.js +1 -1
  190. package/dist/ui/mero-insights.min.css +2 -2
  191. package/dist/ui/mero-insights.min.js +1 -1
  192. package/dist/ui/mero-layouts.min.css +2 -2
  193. package/dist/ui/mero-live.min.js +1 -1
  194. package/dist/ui/mero-themes.min.css +2 -2
  195. package/dist/ui/mero-workspace.min.css +3 -3
  196. package/dist/ui/mero-workspace.min.js +2 -2
  197. package/dist/ui/mero.min.css +3 -3
  198. package/dist/ui/mero.min.js +2 -2
  199. package/package.json +1 -1
  200. package/ui/insight-charts.d.ts +1 -1
  201. package/ui/insight-charts.mjs +1 -1
  202. package/ui/insight-markdown.d.ts +1 -1
  203. package/ui/insight-markdown.mjs +1 -1
  204. package/ui/mero-collections.css +1 -1
  205. package/ui/mero-collections.js +120 -12
  206. package/ui/mero-composition.css +1 -1
  207. package/ui/mero-composition.js +1 -1
  208. package/ui/mero-forms.js +174 -17
  209. package/ui/mero-gallery.css +1 -1
  210. package/ui/mero-gallery.js +1 -1
  211. package/ui/mero-insights.css +1 -1
  212. package/ui/mero-insights.js +1 -1
  213. package/ui/mero-layouts.css +1 -1
  214. package/ui/mero-live.js +1 -1
  215. package/ui/mero-themes.css +1 -1
  216. package/ui/mero-workspace.css +4 -2
  217. package/ui/mero-workspace.js +14 -4
  218. package/ui/mero.css +92 -3
  219. package/ui/mero.d.ts +17 -1
  220. package/ui/mero.js +84 -12
@@ -1,6 +1,6 @@
1
1
  # Chat Message
2
2
 
3
- Mero UI 1.0.0 · Conversation
3
+ Mero UI 1.2.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 1.0.0 · Conversation
3
+ Mero UI 1.2.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 1.0.0 · Conversation
3
+ Mero UI 1.2.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 1.0.0 · Workspace forms
3
+ Mero UI 1.2.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 1.0.0 · Forms
3
+ Mero UI 1.2.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 1.0.0 · Forms
3
+ Mero UI 1.2.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 1.0.0 · Data display
3
+ Mero UI 1.2.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 1.0.0 · Buttons
3
+ Mero UI 1.2.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 1.0.0 · Conversation
3
+ Mero UI 1.2.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 1.0.0 · Mockups
3
+ Mero UI 1.2.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 1.0.0 · Colors
3
+ Mero UI 1.2.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 1.0.0 · Colors
3
+ Mero UI 1.2.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 1.0.0 · Colors
3
+ Mero UI 1.2.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 1.0.0 · Colors
3
+ Mero UI 1.2.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 1.0.0 · Colors
3
+ Mero UI 1.2.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 1.0.0 · Pickers
3
+ Mero UI 1.2.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 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Press Cmd or Ctrl K to search pages and actions returned by your server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Command
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Search local destinations and actions, then use the arrows and Enter to execute.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Composed Chart
2
2
 
3
- Mero UI 1.0.0 · Charts
3
+ Mero UI 1.2.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 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.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 1.0.0 · Display utilities
3
+ Mero UI 1.2.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 1.0.0 · Studio collections
3
+ Mero UI 1.2.0 · Studio collections
4
4
 
5
5
  Search, sort, select and edit products in a server-rendered collection.
6
6
 
@@ -23,7 +23,7 @@ Page assets
23
23
  Template
24
24
 
25
25
  ````html
26
- <div class="mero-grid-mount" hx-get="/demo/collections/grid" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-inventory-revision="0" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
26
+ <div class="mero-grid-mount" hx-get="/demo/collections/grid" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
27
27
  <input type="hidden" name="revision" value="0">
28
28
  <div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
29
29
  <form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
@@ -61,7 +61,7 @@ Page assets
61
61
  Template
62
62
 
63
63
  ````html
64
- <div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&amp;row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-inventory-revision="0" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
64
+ <div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&amp;row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
65
65
  <input type="hidden" name="revision" value="0">
66
66
  <div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
67
67
  <form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
@@ -99,7 +99,7 @@ Page assets
99
99
  Template
100
100
 
101
101
  ````html
102
- <div class="mero-grid-mount" hx-get="/demo/collections/grid?filter=Draft" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-inventory-revision="0" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
102
+ <div class="mero-grid-mount" hx-get="/demo/collections/grid?filter=Draft" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
103
103
  <input type="hidden" name="revision" value="0">
104
104
  <div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
105
105
  <form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
@@ -137,7 +137,7 @@ Page assets
137
137
  Template
138
138
 
139
139
  ````html
140
- <div class="mero-grid-mount" hx-get="/demo/collections/grid?q=No+such+SKU" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-inventory-revision="0" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
140
+ <div class="mero-grid-mount" hx-get="/demo/collections/grid?q=No+such+SKU" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
141
141
  <input type="hidden" name="revision" value="0">
142
142
  <div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
143
143
  <form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
@@ -1,6 +1,6 @@
1
1
  # Date Field
2
2
 
3
- Mero UI 1.0.0 · Date and time
3
+ Mero UI 1.2.0 · Date and time
4
4
 
5
5
  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 1.0.0 · Date and time
3
+ Mero UI 1.2.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 1.0.0 · Date and time
3
+ Mero UI 1.2.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 1.0.0 · Data display
3
+ Mero UI 1.2.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 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Connect persistent help text to a control.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Image Diff
2
2
 
3
- Mero UI 1.0.0 · Media galleries
3
+ Mero UI 1.2.0 · Media galleries
4
4
 
5
5
  Reveal two finishes at the same position using an accessible comparison slider.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Disclosure Group
2
2
 
3
- Mero UI 1.0.0 · Navigation
3
+ Mero UI 1.2.0 · Navigation
4
4
 
5
5
  Present a collection of independently expandable sections.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Disclosure
2
2
 
3
- Mero UI 1.0.0 · Navigation
3
+ Mero UI 1.2.0 · Navigation
4
4
 
5
5
  Reveal a single block of supplementary information.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Dock
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Group frequently used workspace destinations in a compact navigation dock.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Drawer
2
2
 
3
- Mero UI 1.0.0 · Overlays
3
+ Mero UI 1.2.0 · Overlays
4
4
 
5
5
  Open a full-height edge panel for work that benefits from more room.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Drop Zone
2
2
 
3
- Mero UI 1.0.0 · Workspace forms
3
+ Mero UI 1.2.0 · Workspace forms
4
4
 
5
5
  Drop an image or use the native file picker and check the file.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Dropdown
2
2
 
3
- Mero UI 1.0.0 · Collections
3
+ Mero UI 1.2.0 · Collections
4
4
 
5
5
  Open a compact list of actions or destinations.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Emoji Picker
2
2
 
3
- Mero UI 1.0.0 · Workspace tools
3
+ Mero UI 1.2.0 · Workspace tools
4
4
 
5
5
  Search named reactions and submit the selected emoji as a form value.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Emoji Reaction Button
2
2
 
3
- Mero UI 1.0.0 · Interaction feedback
3
+ Mero UI 1.2.0 · Interaction feedback
4
4
 
5
5
  Add or remove a reaction while keeping its count visible.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Empty State
2
2
 
3
- Mero UI 1.0.0 · Feedback
3
+ Mero UI 1.2.0 · Feedback
4
4
 
5
5
  Explain an empty result and give the user a relevant next action.
6
6
 
@@ -8,7 +8,7 @@ Explain an empty result and give the user a relevant next action.
8
8
 
9
9
  ## Default
10
10
 
11
- Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers.
11
+ Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers. It draws a magnifier for an empty or unmatched result. Add mero-empty-glyph-lock when access is refused, or mero-empty-glyph-warning when something failed.
12
12
 
13
13
  Page assets
14
14
 
@@ -34,7 +34,7 @@ Template
34
34
 
35
35
  Explain why a filtered list is empty and how to widen it.
36
36
 
37
- Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers.
37
+ Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers. It draws a magnifier for an empty or unmatched result. Add mero-empty-glyph-lock when access is refused, or mero-empty-glyph-warning when something failed.
38
38
 
39
39
  Page assets
40
40
 
@@ -54,3 +54,55 @@ Template
54
54
  </div>
55
55
  </div>
56
56
  ````
57
+
58
+ ## Access refused
59
+
60
+ Explain a refused page (403) with a lock glyph.
61
+
62
+ Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers. It draws a magnifier for an empty or unmatched result. Add mero-empty-glyph-lock when access is refused, or mero-empty-glyph-warning when something failed.
63
+
64
+ Page assets
65
+
66
+ ```html
67
+ <link rel="stylesheet" href="/mero.css">
68
+ <script defer src="/mero.js"></script>
69
+ ```
70
+
71
+ Template
72
+
73
+ ````html
74
+ <div class="mero-scope" data-mero-scope>
75
+ <section class="mero-empty-state" aria-labelledby="empty-access-title">
76
+ <span class="mero-empty-glyph mero-empty-glyph-lock" aria-hidden="true"></span>
77
+ <h2 id="empty-access-title">Only administrators can open this page</h2>
78
+ <p>You are signed in as a viewer. Ask an administrator of this workspace for access.</p>
79
+ <a class="mero-button mero-button-outline mero-button-sm" href="/components/page-header">Back to overview</a>
80
+ </section>
81
+ </div>
82
+ ````
83
+
84
+ ## Failure
85
+
86
+ Explain a failed load (500) with a warning glyph.
87
+
88
+ Use a heading at the level the page needs, so the empty result appears in the heading outline. Inside a table cell or a list, where a heading would break the outline, use strong instead. Put one action after the description, or several in a mero-row. The glyph is decorative and hidden from screen readers. It draws a magnifier for an empty or unmatched result. Add mero-empty-glyph-lock when access is refused, or mero-empty-glyph-warning when something failed.
89
+
90
+ Page assets
91
+
92
+ ```html
93
+ <link rel="stylesheet" href="/mero.css">
94
+ <script defer src="/mero.js"></script>
95
+ ```
96
+
97
+ Template
98
+
99
+ ````html
100
+ <div class="mero-scope" data-mero-scope>
101
+ <section class="mero-empty-state" aria-labelledby="empty-failure-title">
102
+ <span class="mero-empty-glyph mero-empty-glyph-warning" aria-hidden="true"></span>
103
+ <h2 id="empty-failure-title">The releases could not be loaded</h2>
104
+ <p>The server returned an error. Try again in a moment.</p>
105
+ <a class="mero-button mero-button-outline mero-button-sm" href="/components/empty-state">Try again</a>
106
+ </section>
107
+ </div>
108
+ ````
@@ -1,6 +1,6 @@
1
1
  # Error Message
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Present a form-level failure where the user can act on it.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Floating Action Button
2
2
 
3
- Mero UI 1.0.0 · Workspace navigation
3
+ Mero UI 1.2.0 · Workspace navigation
4
4
 
5
5
  Reveal a small set of workspace shortcuts.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Field Error
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Associate a validation error with the field that needs attention.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Fieldset
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Add a shared label to a related set of form controls.
6
6
 
@@ -0,0 +1,34 @@
1
+ # File Drop Zone
2
+
3
+ Mero UI 1.2.0 · Forms
4
+
5
+ Drop files on a large target or click it to use the native file picker.
6
+
7
+ [Integration patterns and API reference](../llms-patterns.txt)
8
+
9
+ ## Default
10
+
11
+ Put the field in a plain <form method="post" enctype="multipart/form-data">. Without scripts the native file input shows inside the zone with its own file name, and the form submits as usual. With mero.js the input covers the whole zone, and a drop anywhere on a data-mero-drop zone fills its file input, whatever its name, and fires change. The zone gets data-dragging while files are over it, and data-mero-file-name lists the chosen files. Add multiple to accept several files. Your server still checks the type and size.
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
+ <div class="mero-scope" data-mero-scope>
24
+ <div class="mero-field">
25
+ <label class="mero-label" for="demo-drop-zone">Import contacts</label>
26
+ <div class="mero-drop-zone" data-mero-drop>
27
+ <input class="mero-file" id="demo-drop-zone" name="import" type="file" accept=".csv,.xlsx" aria-describedby="demo-drop-zone-hint">
28
+ <p aria-hidden="true"><strong>Drop a CSV or XLSX file</strong></p>
29
+ <p id="demo-drop-zone-hint">or click to choose one, up to 5 MB</p>
30
+ <span data-mero-file-name aria-live="polite"></span>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ ````
@@ -0,0 +1,55 @@
1
+ # File Field
2
+
3
+ Mero UI 1.2.0 · Forms
4
+
5
+ Choose a file with a native file input styled like Mero buttons.
6
+
7
+ [Integration patterns and API reference](../llms-patterns.txt)
8
+
9
+ ## Default
10
+
11
+ Use it in a plain <form method="post" enctype="multipart/form-data">. The browser shows the chosen file name next to the button. For your own echo, such as a list of several files, put an element with data-mero-file-name in the same mero-field.
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
+ <div class="mero-scope" data-mero-scope>
24
+ <div class="mero-field">
25
+ <label class="mero-label" for="demo-file-field">Favicon</label>
26
+ <input class="mero-file" id="demo-file-field" name="favicon" type="file" accept="image/png,image/svg+xml" aria-describedby="demo-file-field-hint">
27
+ <p class="mero-description" id="demo-file-field-hint">PNG or SVG, at least 512 px square.</p>
28
+ </div>
29
+ </div>
30
+ ````
31
+
32
+ ## Error
33
+
34
+ Ask for a different file after the server rejected the last one.
35
+
36
+ Render aria-invalid and the error from your server. The browser cannot keep the rejected file, so the person chooses it again.
37
+
38
+ Page assets
39
+
40
+ ```html
41
+ <link rel="stylesheet" href="/mero.css">
42
+ <script defer src="/mero.js"></script>
43
+ ```
44
+
45
+ Template
46
+
47
+ ````html
48
+ <div class="mero-scope" data-mero-scope>
49
+ <div class="mero-field">
50
+ <label class="mero-label" for="demo-file-error">Watermark</label>
51
+ <input class="mero-file" id="demo-file-error" name="watermark" type="file" accept="image/png" aria-invalid="true" aria-describedby="demo-file-error-message">
52
+ <p class="mero-field-error" id="demo-file-error-message">The watermark must be a PNG under 1 MB.</p>
53
+ </div>
54
+ </div>
55
+ ````
@@ -1,6 +1,6 @@
1
1
  # File Input
2
2
 
3
- Mero UI 1.0.0 · Workspace forms
3
+ Mero UI 1.2.0 · Workspace forms
4
4
 
5
5
  Choose a local product image and validate it on the server.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # File Tree
2
2
 
3
- Mero UI 1.0.0 · Studio collections
3
+ Mero UI 1.2.0 · Studio collections
4
4
 
5
5
  Expand folders and preview a selected file with native disclosure controls.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Filter Chips
2
2
 
3
- Mero UI 1.0.0 · Data display
3
+ Mero UI 1.2.0 · Data display
4
4
 
5
5
  Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Floating TOC
2
2
 
3
- Mero UI 1.0.0 · Studio collections
3
+ Mero UI 1.2.0 · Studio collections
4
4
 
5
5
  Navigate to sections with an index that follows the reading position.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Footer
2
2
 
3
- Mero UI 1.0.0 · Composition
3
+ Mero UI 1.2.0 · Composition
4
4
 
5
5
  Close a workspace with a small group of navigation links.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Form
2
2
 
3
- Mero UI 1.0.0 · Forms
3
+ Mero UI 1.2.0 · Forms
4
4
 
5
5
  Submit native fields to the server and render an HTML response in place.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Hero
2
2
 
3
- Mero UI 1.0.0 · Composition
3
+ Mero UI 1.2.0 · Composition
4
4
 
5
5
  Pair a product introduction with a single destination.
6
6