@rubenlangeweg/mero-ui 0.9.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 (221) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +30 -12
  3. package/agent-docs/components/accordion.md +1 -1
  4. package/agent-docs/components/action-bar.md +1 -1
  5. package/agent-docs/components/action-button.md +1 -1
  6. package/agent-docs/components/agenda.md +1 -1
  7. package/agent-docs/components/alert-dialog.md +1 -1
  8. package/agent-docs/components/alert.md +1 -1
  9. package/agent-docs/components/app-layout.md +1 -1
  10. package/agent-docs/components/area-chart.md +1 -1
  11. package/agent-docs/components/aura.md +1 -1
  12. package/agent-docs/components/autocomplete.md +1 -1
  13. package/agent-docs/components/avatar-group.md +1 -1
  14. package/agent-docs/components/avatar.md +1 -1
  15. package/agent-docs/components/badge.md +1 -1
  16. package/agent-docs/components/bar-chart.md +1 -1
  17. package/agent-docs/components/breadcrumbs.md +1 -1
  18. package/agent-docs/components/browser-mockup.md +1 -1
  19. package/agent-docs/components/button-group.md +1 -1
  20. package/agent-docs/components/button.md +1 -1
  21. package/agent-docs/components/calendar.md +3 -3
  22. package/agent-docs/components/card.md +1 -1
  23. package/agent-docs/components/carousel.md +1 -1
  24. package/agent-docs/components/cell-color-picker.md +1 -1
  25. package/agent-docs/components/cell-select.md +1 -1
  26. package/agent-docs/components/cell-slider.md +1 -1
  27. package/agent-docs/components/cell-switch.md +1 -1
  28. package/agent-docs/components/chain-of-thought.md +1 -1
  29. package/agent-docs/components/chart-tooltip.md +1 -1
  30. package/agent-docs/components/chat-attachment.md +1 -1
  31. package/agent-docs/components/chat-conversation.md +1 -1
  32. package/agent-docs/components/chat-list-view.md +1 -1
  33. package/agent-docs/components/chat-loader.md +1 -1
  34. package/agent-docs/components/chat-message-actions.md +1 -1
  35. package/agent-docs/components/chat-message.md +1 -1
  36. package/agent-docs/components/chat-source.md +1 -1
  37. package/agent-docs/components/chat-tool.md +1 -1
  38. package/agent-docs/components/checkbox-button-group.md +1 -1
  39. package/agent-docs/components/checkbox-group.md +1 -1
  40. package/agent-docs/components/checkbox.md +1 -1
  41. package/agent-docs/components/chip.md +1 -1
  42. package/agent-docs/components/close-button.md +1 -1
  43. package/agent-docs/components/code-block.md +1 -1
  44. package/agent-docs/components/code-mockup.md +1 -1
  45. package/agent-docs/components/color-area.md +1 -1
  46. package/agent-docs/components/color-field.md +1 -1
  47. package/agent-docs/components/color-picker.md +1 -1
  48. package/agent-docs/components/color-slider.md +1 -1
  49. package/agent-docs/components/color-swatch.md +1 -1
  50. package/agent-docs/components/combo-box.md +41 -1
  51. package/agent-docs/components/command-menu.md +1 -1
  52. package/agent-docs/components/command.md +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 +25 -4
  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 +254 -190
  176. package/agent-docs/llms-full.txt +327 -215
  177. package/agent-docs/llms-patterns.txt +74 -26
  178. package/agent-docs/llms.txt +3 -3
  179. package/bin/mero-ui.mjs +505 -0
  180. package/dist/manifest.json +230 -0
  181. package/dist/ui/mero-collections.min.css +3 -0
  182. package/dist/ui/mero-collections.min.js +2 -0
  183. package/dist/ui/mero-composition.min.css +3 -0
  184. package/dist/ui/mero-composition.min.js +2 -0
  185. package/dist/ui/mero-forms.min.js +2 -0
  186. package/dist/ui/mero-gallery.min.css +3 -0
  187. package/dist/ui/mero-gallery.min.js +2 -0
  188. package/dist/ui/mero-insights.min.css +3 -0
  189. package/dist/ui/mero-insights.min.js +2 -0
  190. package/dist/ui/mero-layouts.min.css +3 -0
  191. package/dist/ui/mero-live.min.js +2 -0
  192. package/dist/ui/mero-themes.min.css +3 -0
  193. package/dist/ui/mero-workspace.min.css +3 -0
  194. package/dist/ui/mero-workspace.min.js +4 -0
  195. package/dist/ui/mero.min.css +3 -0
  196. package/dist/ui/mero.min.js +2 -0
  197. package/package.json +24 -5
  198. package/ui/insight-charts.d.ts +20 -0
  199. package/ui/insight-charts.mjs +1 -1
  200. package/ui/insight-markdown.d.ts +2 -0
  201. package/ui/insight-markdown.mjs +2 -2
  202. package/ui/mero-collections.css +3 -1
  203. package/ui/mero-collections.js +1 -1
  204. package/ui/mero-composition.css +3 -1
  205. package/ui/mero-composition.js +1 -11
  206. package/ui/mero-forms.js +383 -71
  207. package/ui/mero-gallery.css +4 -16
  208. package/ui/mero-gallery.js +1 -1
  209. package/ui/mero-insights.css +3 -1
  210. package/ui/mero-insights.js +2 -2
  211. package/ui/mero-layouts.css +3 -1
  212. package/ui/mero-live.js +68 -10
  213. package/ui/mero-themes.css +186 -0
  214. package/ui/mero-workspace.css +7 -6
  215. package/ui/mero-workspace.js +7 -26
  216. package/ui/mero.css +104 -16
  217. package/ui/mero.d.ts +162 -0
  218. package/ui/mero.js +440 -61
  219. package/ui/mero-inventory.css +0 -182
  220. package/ui/mero-inventory.js +0 -56
  221. package/ui/studio-lamp.webp +0 -0
@@ -1,8 +1,8 @@
1
- # Mero UI 0.9.0 component templates
1
+ # Mero UI 1.0.0 component templates
2
2
 
3
3
  # Carousel
4
4
 
5
- Mero UI 0.9.0 · Media galleries
5
+ Mero UI 1.0.0 · Media galleries
6
6
 
7
7
  Browse product photography with native scroll snap, thumbnails and keyboard controls.
8
8
 
@@ -79,7 +79,7 @@ Template
79
79
 
80
80
  # Hover Gallery
81
81
 
82
- Mero UI 0.9.0 · Media galleries
82
+ Mero UI 1.0.0 · Media galleries
83
83
 
84
84
  Explore the shade, base and profile of a product with a pointer, touch or keyboard.
85
85
 
@@ -156,7 +156,7 @@ Template
156
156
 
157
157
  # Image Diff
158
158
 
159
- Mero UI 0.9.0 · Media galleries
159
+ Mero UI 1.0.0 · Media galleries
160
160
 
161
161
  Reveal two finishes at the same position using an accessible comparison slider.
162
162
 
@@ -198,7 +198,7 @@ Template
198
198
 
199
199
  # Holo Card
200
200
 
201
- Mero UI 0.9.0 · Media galleries
201
+ Mero UI 1.0.0 · Media galleries
202
202
 
203
203
  Catch a material sample in a shifting foil reflection.
204
204
 
@@ -230,7 +230,7 @@ Template
230
230
 
231
231
  # Data Grid
232
232
 
233
- Mero UI 0.9.0 · Studio collections
233
+ Mero UI 1.0.0 · Studio collections
234
234
 
235
235
  Search, sort, select and edit products in a server-rendered collection.
236
236
 
@@ -388,7 +388,7 @@ Template
388
388
 
389
389
  # Action Bar
390
390
 
391
- Mero UI 0.9.0 · Studio collections
391
+ Mero UI 1.0.0 · Studio collections
392
392
 
393
393
  Select records and apply one status change to the selection.
394
394
 
@@ -432,7 +432,7 @@ Template
432
432
 
433
433
  # Agenda
434
434
 
435
- Mero UI 0.9.0 · Studio collections
435
+ Mero UI 1.0.0 · Studio collections
436
436
 
437
437
  Browse daily bookings and add a timed event.
438
438
 
@@ -469,7 +469,7 @@ Template
469
469
 
470
470
  # File Tree
471
471
 
472
- Mero UI 0.9.0 · Studio collections
472
+ Mero UI 1.0.0 · Studio collections
473
473
 
474
474
  Expand folders and preview a selected file with native disclosure controls.
475
475
 
@@ -492,7 +492,7 @@ Template
492
492
 
493
493
  # Floating TOC
494
494
 
495
- Mero UI 0.9.0 · Studio collections
495
+ Mero UI 1.0.0 · Studio collections
496
496
 
497
497
  Navigate to sections with an index that follows the reading position.
498
498
 
@@ -515,7 +515,7 @@ Template
515
515
 
516
516
  # Hover Card
517
517
 
518
- Mero UI 0.9.0 · Studio collections
518
+ Mero UI 1.0.0 · Studio collections
519
519
 
520
520
  Preview a contributor on hover, focus or tap.
521
521
 
@@ -540,7 +540,7 @@ Template
540
540
 
541
541
  # Item Card
542
542
 
543
- Mero UI 0.9.0 · Studio collections
543
+ Mero UI 1.0.0 · Studio collections
544
544
 
545
545
  Give a related destination an identity, title and supporting detail.
546
546
 
@@ -563,7 +563,7 @@ Template
563
563
 
564
564
  # Item Card Group
565
565
 
566
- Mero UI 0.9.0 · Studio collections
566
+ Mero UI 1.0.0 · Studio collections
567
567
 
568
568
  Arrange related destinations into a responsive group.
569
569
 
@@ -586,7 +586,7 @@ Template
586
586
 
587
587
  # Kanban
588
588
 
589
- Mero UI 0.9.0 · Studio collections
589
+ Mero UI 1.0.0 · Studio collections
590
590
 
591
591
  Move a card between stages with a drag or its Move to menu.
592
592
 
@@ -611,7 +611,7 @@ Template
611
611
 
612
612
  # List View
613
613
 
614
- Mero UI 0.9.0 · Studio collections
614
+ Mero UI 1.0.0 · Studio collections
615
615
 
616
616
  Browse structured destinations in a compact keyboard-accessible list.
617
617
 
@@ -634,7 +634,7 @@ Template
634
634
 
635
635
  # Map
636
636
 
637
- Mero UI 0.9.0 · Studio collections
637
+ Mero UI 1.0.0 · Studio collections
638
638
 
639
639
  Choose a location on a self-contained campus map and read its address.
640
640
 
@@ -659,7 +659,7 @@ Template
659
659
 
660
660
  # Timeline
661
661
 
662
- Mero UI 0.9.0 · Studio collections
662
+ Mero UI 1.0.0 · Studio collections
663
663
 
664
664
  Present milestones in order and identify the current step.
665
665
 
@@ -682,7 +682,7 @@ Template
682
682
 
683
683
  # Widget
684
684
 
685
- Mero UI 0.9.0 · Studio collections
685
+ Mero UI 1.0.0 · Studio collections
686
686
 
687
687
  Use a dashboard panel to track a checklist and its progress.
688
688
 
@@ -705,7 +705,7 @@ Template
705
705
 
706
706
  # Cell Color Picker
707
707
 
708
- Mero UI 0.9.0 · Workspace forms
708
+ Mero UI 1.0.0 · Workspace forms
709
709
 
710
710
  Change one preference and receive inline confirmation from the server.
711
711
 
@@ -736,7 +736,7 @@ Template
736
736
 
737
737
  # Cell Select
738
738
 
739
- Mero UI 0.9.0 · Workspace forms
739
+ Mero UI 1.0.0 · Workspace forms
740
740
 
741
741
  Change one preference and receive inline confirmation from the server.
742
742
 
@@ -767,7 +767,7 @@ Template
767
767
 
768
768
  # Cell Slider
769
769
 
770
- Mero UI 0.9.0 · Workspace forms
770
+ Mero UI 1.0.0 · Workspace forms
771
771
 
772
772
  Change one preference and receive inline confirmation from the server.
773
773
 
@@ -798,7 +798,7 @@ Template
798
798
 
799
799
  # Cell Switch
800
800
 
801
- Mero UI 0.9.0 · Workspace forms
801
+ Mero UI 1.0.0 · Workspace forms
802
802
 
803
803
  Change one preference and receive inline confirmation from the server.
804
804
 
@@ -829,7 +829,7 @@ Template
829
829
 
830
830
  # Checkbox Button Group
831
831
 
832
- Mero UI 0.9.0 · Workspace forms
832
+ Mero UI 1.0.0 · Workspace forms
833
833
 
834
834
  Select several release channels using native checkboxes.
835
835
 
@@ -857,7 +857,7 @@ Template
857
857
 
858
858
  # Radio Button Group
859
859
 
860
- Mero UI 0.9.0 · Workspace forms
860
+ Mero UI 1.0.0 · Workspace forms
861
861
 
862
862
  Choose one release schedule with labelled option cards.
863
863
 
@@ -884,7 +884,7 @@ Template
884
884
 
885
885
  # Native Select
886
886
 
887
- Mero UI 0.9.0 · Workspace forms
887
+ Mero UI 1.0.0 · Workspace forms
888
888
 
889
889
  Choose a workspace from labelled option groups.
890
890
 
@@ -909,7 +909,7 @@ Template
909
909
 
910
910
  # Inline Select
911
911
 
912
- Mero UI 0.9.0 · Workspace forms
912
+ Mero UI 1.0.0 · Workspace forms
913
913
 
914
914
  Change an audience within the sentence that describes it.
915
915
 
@@ -934,7 +934,7 @@ Template
934
934
 
935
935
  # Number Stepper
936
936
 
937
- Mero UI 0.9.0 · Workspace forms
937
+ Mero UI 1.0.0 · Workspace forms
938
938
 
939
939
  Change a bounded quantity with the keyboard or step buttons.
940
940
 
@@ -964,7 +964,7 @@ Template
964
964
 
965
965
  # File Input
966
966
 
967
- Mero UI 0.9.0 · Workspace forms
967
+ Mero UI 1.0.0 · Workspace forms
968
968
 
969
969
  Choose a local product image and validate it on the server.
970
970
 
@@ -995,7 +995,7 @@ Template
995
995
 
996
996
  # Drop Zone
997
997
 
998
- Mero UI 0.9.0 · Workspace forms
998
+ Mero UI 1.0.0 · Workspace forms
999
999
 
1000
1000
  Drop an image or use the native file picker and check the file.
1001
1001
 
@@ -1028,7 +1028,7 @@ Template
1028
1028
 
1029
1029
  # Rich Text Editor
1030
1030
 
1031
- Mero UI 0.9.0 · Workspace forms
1031
+ Mero UI 1.0.0 · Workspace forms
1032
1032
 
1033
1033
  Edit a short description with bold and italic text and preview the submitted result.
1034
1034
 
@@ -1062,7 +1062,7 @@ Template
1062
1062
 
1063
1063
  # Joined Filter
1064
1064
 
1065
- Mero UI 0.9.0 · Workspace forms
1065
+ Mero UI 1.0.0 · Workspace forms
1066
1066
 
1067
1067
  Search and filter releases with one server request.
1068
1068
 
@@ -1089,7 +1089,7 @@ Template
1089
1089
 
1090
1090
  # App Layout
1091
1091
 
1092
- Mero UI 0.9.0 · Workspace navigation
1092
+ Mero UI 1.0.0 · Workspace navigation
1093
1093
 
1094
1094
  A responsive workspace with a sidebar, content area and mobile navigation drawer.
1095
1095
 
@@ -1124,7 +1124,7 @@ Template
1124
1124
 
1125
1125
  # Sidebar
1126
1126
 
1127
- Mero UI 0.9.0 · Workspace navigation
1127
+ Mero UI 1.0.0 · Workspace navigation
1128
1128
 
1129
1129
  Navigate the workspace from a side rail that becomes a drawer at narrow widths.
1130
1130
 
@@ -1159,7 +1159,7 @@ Template
1159
1159
 
1160
1160
  # Navbar
1161
1161
 
1162
- Mero UI 0.9.0 · Workspace navigation
1162
+ Mero UI 1.0.0 · Workspace navigation
1163
1163
 
1164
1164
  Place the workspace name and destinations in a wrapping top bar.
1165
1165
 
@@ -1182,13 +1182,13 @@ Template
1182
1182
 
1183
1183
  # Command
1184
1184
 
1185
- Mero UI 0.9.0 · Workspace navigation
1185
+ Mero UI 1.0.0 · Workspace navigation
1186
1186
 
1187
- Search destinations and actions, then use the arrows and Enter to execute.
1187
+ Search local destinations and actions, then use the arrows and Enter to execute.
1188
1188
 
1189
1189
  ## Default
1190
1190
 
1191
- Click the trigger or press Cmd/Ctrl K. Escape returns focus to where you were working.
1191
+ 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.
1192
1192
 
1193
1193
  Page assets
1194
1194
 
@@ -1202,24 +1202,27 @@ Page assets
1202
1202
  Template
1203
1203
 
1204
1204
  ````html
1205
- <section class="mero-ws-command" data-mero-ws-command>
1206
- <button class="mero-ws-launch" type="button" data-mero-ws-open><span>Search commands</span><kbd>⌘ / Ctrl K</kbd></button>
1207
- <dialog class="mero-dialog mero-ws-command-dialog" aria-label="Workspace commands">
1208
- <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>
1209
- <div class="mero-ws-command-items">
1210
- <a href="/layouts/dashboard?view=inventory"><strong>Open inventory</strong><small>Workspace</small></a>
1211
- <a href="/layouts/dashboard?view=settings"><strong>Workspace settings</strong><small>Workspace</small></a>
1212
- <button type="button" data-command-copy><strong>Copy page link</strong><small>Action</small></button>
1205
+ <section class="mero-ws-command">
1206
+ <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>
1207
+ <dialog class="mero-dialog mero-command" id="ws-commands" data-mero-command aria-label="Workspace commands">
1208
+ <div class="mero-combo" data-mero-combo>
1209
+ <input class="mero-input" type="search" role="combobox" aria-label="Search commands" aria-expanded="false"
1210
+ aria-controls="ws-commands-options" aria-autocomplete="list" autocomplete="off" placeholder="Search pages and actions…" autofocus>
1211
+ <div class="mero-listbox mero-combo-list" id="ws-commands-options" role="listbox" aria-label="Workspace commands" hidden>
1212
+ <a id="ws-cmd-inventory" role="option" tabindex="-1" href="/layouts/dashboard?view=inventory">Open inventory</a>
1213
+ <a id="ws-cmd-settings" role="option" tabindex="-1" href="/layouts/dashboard?view=settings">Workspace settings</a>
1214
+ <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>
1215
+ <div role="option" aria-disabled="true" data-mero-empty-option hidden>No matching commands</div>
1216
+ </div>
1217
+ <span class="mero-description" data-mero-combo-status role="status"></span>
1213
1218
  </div>
1214
- <p class="mero-ws-command-empty" hidden>No matching commands</p>
1215
1219
  </dialog>
1216
- <output class="mero-ws-status" role="status"></output>
1217
1220
  </section>
1218
1221
  ````
1219
1222
 
1220
1223
  # Context Menu
1221
1224
 
1222
- Mero UI 0.9.0 · Workspace navigation
1225
+ Mero UI 1.0.0 · Workspace navigation
1223
1226
 
1224
1227
  Open item actions with the visible button, a secondary click, or Shift F10.
1225
1228
 
@@ -1249,7 +1252,7 @@ Template
1249
1252
 
1250
1253
  # Segment
1251
1254
 
1252
- Mero UI 0.9.0 · Workspace navigation
1255
+ Mero UI 1.0.0 · Workspace navigation
1253
1256
 
1254
1257
  Choose one display density in a compact segmented control.
1255
1258
 
@@ -1276,7 +1279,7 @@ Template
1276
1279
 
1277
1280
  # Stepper
1278
1281
 
1279
- Mero UI 0.9.0 · Workspace navigation
1282
+ Mero UI 1.0.0 · Workspace navigation
1280
1283
 
1281
1284
  Move through validated project details and review the values before submitting.
1282
1285
 
@@ -1307,7 +1310,7 @@ Template
1307
1310
 
1308
1311
  # Dock
1309
1312
 
1310
- Mero UI 0.9.0 · Workspace navigation
1313
+ Mero UI 1.0.0 · Workspace navigation
1311
1314
 
1312
1315
  Group frequently used workspace destinations in a compact navigation dock.
1313
1316
 
@@ -1332,7 +1335,7 @@ Template
1332
1335
 
1333
1336
  # Megamenu
1334
1337
 
1335
- Mero UI 0.9.0 · Workspace navigation
1338
+ Mero UI 1.0.0 · Workspace navigation
1336
1339
 
1337
1340
  Explore grouped destinations from a native disclosure.
1338
1341
 
@@ -1357,7 +1360,7 @@ Template
1357
1360
 
1358
1361
  # Floating Action Button
1359
1362
 
1360
- Mero UI 0.9.0 · Workspace navigation
1363
+ Mero UI 1.0.0 · Workspace navigation
1361
1364
 
1362
1365
  Reveal a small set of workspace shortcuts.
1363
1366
 
@@ -1382,7 +1385,7 @@ Template
1382
1385
 
1383
1386
  # Resizable
1384
1387
 
1385
- Mero UI 0.9.0 · Workspace tools
1388
+ Mero UI 1.0.0 · Workspace tools
1386
1389
 
1387
1390
  Resize two adjacent panels by dragging the divider or using the arrow keys.
1388
1391
 
@@ -1436,7 +1439,7 @@ Template
1436
1439
 
1437
1440
  # Emoji Picker
1438
1441
 
1439
- Mero UI 0.9.0 · Workspace tools
1442
+ Mero UI 1.0.0 · Workspace tools
1440
1443
 
1441
1444
  Search named reactions and submit the selected emoji as a form value.
1442
1445
 
@@ -1466,7 +1469,7 @@ Template
1466
1469
 
1467
1470
  # Area Chart
1468
1471
 
1469
- Mero UI 0.9.0 · Charts
1472
+ Mero UI 1.0.0 · Charts
1470
1473
 
1471
1474
  Show the volume and shape of a series over time.
1472
1475
 
@@ -1501,7 +1504,7 @@ Template
1501
1504
 
1502
1505
  # Bar Chart
1503
1506
 
1504
- Mero UI 0.9.0 · Charts
1507
+ Mero UI 1.0.0 · Charts
1505
1508
 
1506
1509
  Compare adjacent categories on a shared linear scale.
1507
1510
 
@@ -1536,7 +1539,7 @@ Template
1536
1539
 
1537
1540
  # Chart Tooltip
1538
1541
 
1539
- Mero UI 0.9.0 · Charts
1542
+ Mero UI 1.0.0 · Charts
1540
1543
 
1541
1544
  Inspect the active data point using a pointer or keyboard.
1542
1545
 
@@ -1571,7 +1574,7 @@ Template
1571
1574
 
1572
1575
  # Composed Chart
1573
1576
 
1574
- Mero UI 0.9.0 · Charts
1577
+ Mero UI 1.0.0 · Charts
1575
1578
 
1576
1579
  Compare actual volume with its target using columns and a line.
1577
1580
 
@@ -1606,7 +1609,7 @@ Template
1606
1609
 
1607
1610
  # Line Chart
1608
1611
 
1609
- Mero UI 0.9.0 · Charts
1612
+ Mero UI 1.0.0 · Charts
1610
1613
 
1611
1614
  Trace changes across a reporting period.
1612
1615
 
@@ -1669,7 +1672,7 @@ Template
1669
1672
 
1670
1673
  # Pie Chart
1671
1674
 
1672
- Mero UI 0.9.0 · Charts
1675
+ Mero UI 1.0.0 · Charts
1673
1676
 
1674
1677
  See how each collection contributes to total volume.
1675
1678
 
@@ -1704,7 +1707,7 @@ Template
1704
1707
 
1705
1708
  # Radar Chart
1706
1709
 
1707
- Mero UI 0.9.0 · Charts
1710
+ Mero UI 1.0.0 · Charts
1708
1711
 
1709
1712
  Compare profiles across axes that use the same units.
1710
1713
 
@@ -1739,7 +1742,7 @@ Template
1739
1742
 
1740
1743
  # Radial Chart
1741
1744
 
1742
- Mero UI 0.9.0 · Charts
1745
+ Mero UI 1.0.0 · Charts
1743
1746
 
1744
1747
  Compare categories as concentric rings against the largest category.
1745
1748
 
@@ -1774,7 +1777,7 @@ Template
1774
1777
 
1775
1778
  # KPI
1776
1779
 
1777
- Mero UI 0.9.0 · Metrics
1780
+ Mero UI 1.0.0 · Metrics
1778
1781
 
1779
1782
  Pair an exact figure with the reporting period it describes.
1780
1783
 
@@ -1797,7 +1800,7 @@ Template
1797
1800
 
1798
1801
  # KPI Group
1799
1802
 
1800
- Mero UI 0.9.0 · Metrics
1803
+ Mero UI 1.0.0 · Metrics
1801
1804
 
1802
1805
  Keep related measures on a common reporting period.
1803
1806
 
@@ -1820,7 +1823,7 @@ Template
1820
1823
 
1821
1824
  # Emoji Reaction Button
1822
1825
 
1823
- Mero UI 0.9.0 · Interaction feedback
1826
+ Mero UI 1.0.0 · Interaction feedback
1824
1827
 
1825
1828
  Add or remove a reaction while keeping its count visible.
1826
1829
 
@@ -1845,7 +1848,7 @@ Template
1845
1848
 
1846
1849
  # Number Value
1847
1850
 
1848
- Mero UI 0.9.0 · Interaction feedback
1851
+ Mero UI 1.0.0 · Interaction feedback
1849
1852
 
1850
1853
  Display a localized number with its machine-readable value.
1851
1854
 
@@ -1870,7 +1873,7 @@ Template
1870
1873
 
1871
1874
  # Pressable Feedback
1872
1875
 
1873
- Mero UI 0.9.0 · Interaction feedback
1876
+ Mero UI 1.0.0 · Interaction feedback
1874
1877
 
1875
1878
  Give a press a tactile response and keep its selected state visible.
1876
1879
 
@@ -1893,7 +1896,7 @@ Template
1893
1896
 
1894
1897
  # Rating
1895
1898
 
1896
- Mero UI 0.9.0 · Interaction feedback
1899
+ Mero UI 1.0.0 · Interaction feedback
1897
1900
 
1898
1901
  Choose a labelled score using native radio controls.
1899
1902
 
@@ -1918,7 +1921,7 @@ Template
1918
1921
 
1919
1922
  # Trend Chip
1920
1923
 
1921
- Mero UI 0.9.0 · Interaction feedback
1924
+ Mero UI 1.0.0 · Interaction feedback
1922
1925
 
1923
1926
  Label the direction and magnitude of a change.
1924
1927
 
@@ -1941,7 +1944,7 @@ Template
1941
1944
 
1942
1945
  # Chain Of Thought
1943
1946
 
1944
- Mero UI 0.9.0 · Conversation
1947
+ Mero UI 1.0.0 · Conversation
1945
1948
 
1946
1949
  Display a disclosure of observable execution steps for a report.
1947
1950
 
@@ -1966,7 +1969,7 @@ Template
1966
1969
 
1967
1970
  # Chat Attachment
1968
1971
 
1969
- Mero UI 0.9.0 · Conversation
1972
+ Mero UI 1.0.0 · Conversation
1970
1973
 
1971
1974
  Display a named file and provide a working download.
1972
1975
 
@@ -1991,7 +1994,7 @@ Template
1991
1994
 
1992
1995
  # Chat Conversation
1993
1996
 
1994
- Mero UI 0.9.0 · Conversation
1997
+ Mero UI 1.0.0 · Conversation
1995
1998
 
1996
1999
  Keep messages, controls and a composer in one scoped conversation.
1997
2000
 
@@ -2051,7 +2054,7 @@ Template
2051
2054
 
2052
2055
  # Chat List View
2053
2056
 
2054
- Mero UI 0.9.0 · Conversation
2057
+ Mero UI 1.0.0 · Conversation
2055
2058
 
2056
2059
  Open a conversation returned by the server.
2057
2060
 
@@ -2075,7 +2078,7 @@ Template
2075
2078
 
2076
2079
  # Chat Loader
2077
2080
 
2078
- Mero UI 0.9.0 · Conversation
2081
+ Mero UI 1.0.0 · Conversation
2079
2082
 
2080
2083
  Show a concise status while a response is being prepared.
2081
2084
 
@@ -2098,7 +2101,7 @@ Template
2098
2101
 
2099
2102
  # Chat Message
2100
2103
 
2101
- Mero UI 0.9.0 · Conversation
2104
+ Mero UI 1.0.0 · Conversation
2102
2105
 
2103
2106
  Distinguish the sender and keep the message readable after a swap.
2104
2107
 
@@ -2121,7 +2124,7 @@ Template
2121
2124
 
2122
2125
  # Chat Message Actions
2123
2126
 
2124
- Mero UI 0.9.0 · Conversation
2127
+ Mero UI 1.0.0 · Conversation
2125
2128
 
2126
2129
  Copy a reply or mark it as helpful.
2127
2130
 
@@ -2145,7 +2148,7 @@ Template
2145
2148
 
2146
2149
  # Chat Source
2147
2150
 
2148
- Mero UI 0.9.0 · Conversation
2151
+ Mero UI 1.0.0 · Conversation
2149
2152
 
2150
2153
  Open the exact data behind a generated summary.
2151
2154
 
@@ -2168,7 +2171,7 @@ Template
2168
2171
 
2169
2172
  # Chat Tool
2170
2173
 
2171
- Mero UI 0.9.0 · Conversation
2174
+ Mero UI 1.0.0 · Conversation
2172
2175
 
2173
2176
  Disclose the inputs and output of an application action.
2174
2177
 
@@ -2208,7 +2211,7 @@ Template
2208
2211
 
2209
2212
  # Code Block
2210
2213
 
2211
- Mero UI 0.9.0 · Conversation
2214
+ Mero UI 1.0.0 · Conversation
2212
2215
 
2213
2216
  Show a file caption, selectable code and a copy control.
2214
2217
 
@@ -2231,7 +2234,7 @@ Template
2231
2234
 
2232
2235
  # Markdown
2233
2236
 
2234
- Mero UI 0.9.0 · Conversation
2237
+ Mero UI 1.0.0 · Conversation
2235
2238
 
2236
2239
  Render a small safe subset of Markdown into semantic HTML.
2237
2240
 
@@ -2266,7 +2269,7 @@ Template
2266
2269
 
2267
2270
  # Prompt Input
2268
2271
 
2269
- Mero UI 0.9.0 · Conversation
2272
+ Mero UI 1.0.0 · Conversation
2270
2273
 
2271
2274
  Collect a question and submit it to a server-rendered response endpoint.
2272
2275
 
@@ -2297,7 +2300,7 @@ Template
2297
2300
 
2298
2301
  # Prompt Suggestion
2299
2302
 
2300
- Mero UI 0.9.0 · Conversation
2303
+ Mero UI 1.0.0 · Conversation
2301
2304
 
2302
2305
  Choose a suggested prompt, edit it, then send it.
2303
2306
 
@@ -2328,7 +2331,7 @@ Template
2328
2331
 
2329
2332
  # Text Shimmer
2330
2333
 
2331
- Mero UI 0.9.0 · Conversation
2334
+ Mero UI 1.0.0 · Conversation
2332
2335
 
2333
2336
  Indicate work in progress with a moving highlight across readable text.
2334
2337
 
@@ -2351,7 +2354,7 @@ Template
2351
2354
 
2352
2355
  # Button
2353
2356
 
2354
- Mero UI 0.9.0 · Buttons
2357
+ Mero UI 1.0.0 · Buttons
2355
2358
 
2356
2359
  Trigger an action with a consistent hierarchy of visual emphasis.
2357
2360
 
@@ -2456,7 +2459,7 @@ Template
2456
2459
 
2457
2460
  # Action Button
2458
2461
 
2459
- Mero UI 0.9.0 · Buttons
2462
+ Mero UI 1.0.0 · Buttons
2460
2463
 
2461
2464
  Run a server action and report whether it succeeded, was refused or has an unknown result.
2462
2465
 
@@ -2528,7 +2531,7 @@ Template
2528
2531
 
2529
2532
  # Button Group
2530
2533
 
2531
- Mero UI 0.9.0 · Buttons
2534
+ Mero UI 1.0.0 · Buttons
2532
2535
 
2533
2536
  Keep related actions together while preserving each button’s own label and focus.
2534
2537
 
@@ -2553,7 +2556,7 @@ Template
2553
2556
 
2554
2557
  # Close Button
2555
2558
 
2556
- Mero UI 0.9.0 · Buttons
2559
+ Mero UI 1.0.0 · Buttons
2557
2560
 
2558
2561
  Give a dialog an icon-only close action with an accessible name.
2559
2562
 
@@ -2585,7 +2588,7 @@ Template
2585
2588
 
2586
2589
  # Toggle Button
2587
2590
 
2588
- Mero UI 0.9.0 · Buttons
2591
+ Mero UI 1.0.0 · Buttons
2589
2592
 
2590
2593
  Represent a persistent on or off state with a pressed button.
2591
2594
 
@@ -2608,7 +2611,7 @@ Template
2608
2611
 
2609
2612
  # Toggle Button Group
2610
2613
 
2611
- Mero UI 0.9.0 · Buttons
2614
+ Mero UI 1.0.0 · Buttons
2612
2615
 
2613
2616
  Select one presentation mode from a connected set of controls.
2614
2617
 
@@ -2638,7 +2641,7 @@ Template
2638
2641
 
2639
2642
  # Checkbox
2640
2643
 
2641
- Mero UI 0.9.0 · Forms
2644
+ Mero UI 1.0.0 · Forms
2642
2645
 
2643
2646
  Include an independent binary choice in a form.
2644
2647
 
@@ -2662,7 +2665,7 @@ Template
2662
2665
 
2663
2666
  # Checkbox Group
2664
2667
 
2665
- Mero UI 0.9.0 · Forms
2668
+ Mero UI 1.0.0 · Forms
2666
2669
 
2667
2670
  Group related independent choices with a fieldset and legend.
2668
2671
 
@@ -2690,7 +2693,7 @@ Template
2690
2693
 
2691
2694
  # Description
2692
2695
 
2693
- Mero UI 0.9.0 · Forms
2696
+ Mero UI 1.0.0 · Forms
2694
2697
 
2695
2698
  Connect persistent help text to a control.
2696
2699
 
@@ -2717,7 +2720,7 @@ Template
2717
2720
 
2718
2721
  # Error Message
2719
2722
 
2720
- Mero UI 0.9.0 · Forms
2723
+ Mero UI 1.0.0 · Forms
2721
2724
 
2722
2725
  Present a form-level failure where the user can act on it.
2723
2726
 
@@ -2741,7 +2744,7 @@ Template
2741
2744
 
2742
2745
  # Field Error
2743
2746
 
2744
- Mero UI 0.9.0 · Forms
2747
+ Mero UI 1.0.0 · Forms
2745
2748
 
2746
2749
  Associate a validation error with the field that needs attention.
2747
2750
 
@@ -2770,7 +2773,7 @@ Template
2770
2773
 
2771
2774
  # Fieldset
2772
2775
 
2773
- Mero UI 0.9.0 · Forms
2776
+ Mero UI 1.0.0 · Forms
2774
2777
 
2775
2778
  Add a shared label to a related set of form controls.
2776
2779
 
@@ -2851,7 +2854,7 @@ Template
2851
2854
 
2852
2855
  # Form
2853
2856
 
2854
- Mero UI 0.9.0 · Forms
2857
+ Mero UI 1.0.0 · Forms
2855
2858
 
2856
2859
  Submit native fields to the server and render an HTML response in place.
2857
2860
 
@@ -3039,7 +3042,7 @@ Template
3039
3042
 
3040
3043
  # Input
3041
3044
 
3042
- Mero UI 0.9.0 · Forms
3045
+ Mero UI 1.0.0 · Forms
3043
3046
 
3044
3047
  A styled native input with browser validation and autocomplete.
3045
3048
 
@@ -3066,7 +3069,7 @@ Template
3066
3069
 
3067
3070
  # Input Group
3068
3071
 
3069
- Mero UI 0.9.0 · Forms
3072
+ Mero UI 1.0.0 · Forms
3070
3073
 
3071
3074
  Combine a control and contextual prefix with a single outline.
3072
3075
 
@@ -3095,7 +3098,7 @@ Template
3095
3098
 
3096
3099
  # Input OTP
3097
3100
 
3098
- Mero UI 0.9.0 · Forms
3101
+ Mero UI 1.0.0 · Forms
3099
3102
 
3100
3103
  Collect a six-digit code in one input with mobile autofill.
3101
3104
 
@@ -3124,7 +3127,7 @@ Template
3124
3127
 
3125
3128
  # Label
3126
3129
 
3127
- Mero UI 0.9.0 · Forms
3130
+ Mero UI 1.0.0 · Forms
3128
3131
 
3129
3132
  Name an input and expand its activation area.
3130
3133
 
@@ -3151,7 +3154,7 @@ Template
3151
3154
 
3152
3155
  # Number Field
3153
3156
 
3154
- Mero UI 0.9.0 · Forms
3157
+ Mero UI 1.0.0 · Forms
3155
3158
 
3156
3159
  Set numeric bounds and increments for a native field.
3157
3160
 
@@ -3178,7 +3181,7 @@ Template
3178
3181
 
3179
3182
  # Radio Group
3180
3183
 
3181
- Mero UI 0.9.0 · Forms
3184
+ Mero UI 1.0.0 · Forms
3182
3185
 
3183
3186
  Choose exactly one option from a labeled set.
3184
3187
 
@@ -3206,7 +3209,7 @@ Template
3206
3209
 
3207
3210
  # Search Field
3208
3211
 
3209
- Mero UI 0.9.0 · Forms
3212
+ Mero UI 1.0.0 · Forms
3210
3213
 
3211
3214
  Use a native search field with the platform’s clear affordance.
3212
3215
 
@@ -3275,7 +3278,7 @@ Template
3275
3278
 
3276
3279
  # Text Area
3277
3280
 
3278
- Mero UI 0.9.0 · Forms
3281
+ Mero UI 1.0.0 · Forms
3279
3282
 
3280
3283
  Let users edit multiple lines of text with an optional autosizing surface.
3281
3284
 
@@ -3301,7 +3304,7 @@ Template
3301
3304
 
3302
3305
  # Text Field
3303
3306
 
3304
- Mero UI 0.9.0 · Forms
3307
+ Mero UI 1.0.0 · Forms
3305
3308
 
3306
3309
  Compose a label, input, and hint into a reusable form field.
3307
3310
 
@@ -3328,7 +3331,7 @@ Template
3328
3331
 
3329
3332
  # Calendar
3330
3333
 
3331
- Mero UI 0.9.0 · Date and time
3334
+ Mero UI 1.0.0 · Date and time
3332
3335
 
3333
3336
  Navigate months and choose a day on an inline calendar rendered by the server.
3334
3337
 
@@ -3409,13 +3412,13 @@ Template
3409
3412
  <tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3410
3413
  id="calendar-day-23" aria-label="Monday, November 23, 2026" aria-pressed="false"
3411
3414
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-23" hx-target="closest .mero-calendar" hx-swap="outerHTML">23</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3412
- id="calendar-day-24" aria-label="Tuesday, November 24, 2026" aria-pressed="false" aria-current="date"
3415
+ id="calendar-day-24" aria-label="Tuesday, November 24, 2026" aria-pressed="false"
3413
3416
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-24" hx-target="closest .mero-calendar" hx-swap="outerHTML">24</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3414
3417
  id="calendar-day-25" aria-label="Wednesday, November 25, 2026" aria-pressed="false"
3415
3418
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-25" hx-target="closest .mero-calendar" hx-swap="outerHTML">25</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3416
3419
  id="calendar-day-26" aria-label="Thursday, November 26, 2026" aria-pressed="false"
3417
3420
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-26" hx-target="closest .mero-calendar" hx-swap="outerHTML">26</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3418
- id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false"
3421
+ id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false" aria-current="date"
3419
3422
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-27" hx-target="closest .mero-calendar" hx-swap="outerHTML">27</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
3420
3423
  id="calendar-day-28" aria-label="Saturday, November 28, 2026" aria-pressed="false"
3421
3424
  hx-get="/demo/catalog/calendar?month=2026-11&amp;selected=2026-11-28" hx-target="closest .mero-calendar" hx-swap="outerHTML">28</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
@@ -3432,7 +3435,7 @@ Template
3432
3435
 
3433
3436
  # Date Field
3434
3437
 
3435
- Mero UI 0.9.0 · Date and time
3438
+ Mero UI 1.0.0 · Date and time
3436
3439
 
3437
3440
  Enter a calendar date in the system’s preferred format.
3438
3441
 
@@ -3459,7 +3462,7 @@ Template
3459
3462
 
3460
3463
  # Date Picker
3461
3464
 
3462
- Mero UI 0.9.0 · Date and time
3465
+ Mero UI 1.0.0 · Date and time
3463
3466
 
3464
3467
  Choose a date with the browser’s calendar picker and native constraints.
3465
3468
 
@@ -3488,7 +3491,7 @@ Template
3488
3491
 
3489
3492
  # Date Range Picker
3490
3493
 
3491
- Mero UI 0.9.0 · Date and time
3494
+ Mero UI 1.0.0 · Date and time
3492
3495
 
3493
3496
  Collect the start and end dates of a range.
3494
3497
 
@@ -3527,7 +3530,7 @@ Template
3527
3530
 
3528
3531
  # Range Calendar
3529
3532
 
3530
- Mero UI 0.9.0 · Date and time
3533
+ Mero UI 1.0.0 · Date and time
3531
3534
 
3532
3535
  Build a range with two native calendar controls.
3533
3536
 
@@ -3566,7 +3569,7 @@ Template
3566
3569
 
3567
3570
  # Time Field
3568
3571
 
3569
- Mero UI 0.9.0 · Date and time
3572
+ Mero UI 1.0.0 · Date and time
3570
3573
 
3571
3574
  Choose a wall-clock time without a timezone conversion.
3572
3575
 
@@ -3595,7 +3598,7 @@ Template
3595
3598
 
3596
3599
  # Accordion
3597
3600
 
3598
- Mero UI 0.9.0 · Navigation
3601
+ Mero UI 1.0.0 · Navigation
3599
3602
 
3600
3603
  Disclose one section at a time using grouped native details.
3601
3604
 
@@ -3625,7 +3628,7 @@ Template
3625
3628
 
3626
3629
  # Breadcrumbs
3627
3630
 
3628
- Mero UI 0.9.0 · Navigation
3631
+ Mero UI 1.0.0 · Navigation
3629
3632
 
3630
3633
  Show the user’s current location and its parent pages.
3631
3634
 
@@ -3652,7 +3655,7 @@ Template
3652
3655
 
3653
3656
  # Disclosure
3654
3657
 
3655
- Mero UI 0.9.0 · Navigation
3658
+ Mero UI 1.0.0 · Navigation
3656
3659
 
3657
3660
  Reveal a single block of supplementary information.
3658
3661
 
@@ -3676,7 +3679,7 @@ Template
3676
3679
 
3677
3680
  # Disclosure Group
3678
3681
 
3679
- Mero UI 0.9.0 · Navigation
3682
+ Mero UI 1.0.0 · Navigation
3680
3683
 
3681
3684
  Present a collection of independently expandable sections.
3682
3685
 
@@ -3706,7 +3709,7 @@ Template
3706
3709
 
3707
3710
  # Link
3708
3711
 
3709
- Mero UI 0.9.0 · Navigation
3712
+ Mero UI 1.0.0 · Navigation
3710
3713
 
3711
3714
  Navigate to a real URL with native link semantics.
3712
3715
 
@@ -3727,7 +3730,7 @@ Template
3727
3730
 
3728
3731
  # Pagination
3729
3732
 
3730
- Mero UI 0.9.0 · Navigation
3733
+ Mero UI 1.0.0 · Navigation
3731
3734
 
3732
3735
  Navigate between result pages with server-rendered fragments.
3733
3736
 
@@ -3766,7 +3769,7 @@ Template
3766
3769
 
3767
3770
  # Tabs
3768
3771
 
3769
- Mero UI 0.9.0 · Navigation
3772
+ Mero UI 1.0.0 · Navigation
3770
3773
 
3771
3774
  Switch between labeled panels with mouse or arrow keys.
3772
3775
 
@@ -3853,7 +3856,7 @@ Template
3853
3856
 
3854
3857
  # Alert Dialog
3855
3858
 
3856
- Mero UI 0.9.0 · Overlays
3859
+ Mero UI 1.0.0 · Overlays
3857
3860
 
3858
3861
  Ask for confirmation on a decision that calls for attention.
3859
3862
 
@@ -3888,7 +3891,7 @@ Template
3888
3891
 
3889
3892
  # Typed Confirmation
3890
3893
 
3891
- Mero UI 0.9.0 · Overlays
3894
+ Mero UI 1.0.0 · Overlays
3892
3895
 
3893
3896
  Require an exact phrase before submitting a destructive action.
3894
3897
 
@@ -4047,7 +4050,7 @@ Template
4047
4050
 
4048
4051
  # Drawer
4049
4052
 
4050
- Mero UI 0.9.0 · Overlays
4053
+ Mero UI 1.0.0 · Overlays
4051
4054
 
4052
4055
  Open a full-height edge panel for work that benefits from more room.
4053
4056
 
@@ -4162,7 +4165,7 @@ Template
4162
4165
 
4163
4166
  # Modal
4164
4167
 
4165
- Mero UI 0.9.0 · Overlays
4168
+ Mero UI 1.0.0 · Overlays
4166
4169
 
4167
4170
  Open a centered, named dialog with native focus containment.
4168
4171
 
@@ -4195,7 +4198,7 @@ Template
4195
4198
 
4196
4199
  # Command Menu
4197
4200
 
4198
- Mero UI 0.9.0 · Overlays
4201
+ Mero UI 1.0.0 · Overlays
4199
4202
 
4200
4203
  Press Cmd or Ctrl K to search pages and actions returned by your server.
4201
4204
 
@@ -4240,7 +4243,7 @@ Template
4240
4243
 
4241
4244
  # Popover
4242
4245
 
4243
- Mero UI 0.9.0 · Overlays
4246
+ Mero UI 1.0.0 · Overlays
4244
4247
 
4245
4248
  Display contextual information using the browser’s top layer.
4246
4249
 
@@ -4269,7 +4272,7 @@ Template
4269
4272
 
4270
4273
  # Sheet
4271
4274
 
4272
- Mero UI 0.9.0 · Overlays
4275
+ Mero UI 1.0.0 · Overlays
4273
4276
 
4274
4277
  Present concise secondary content from the bottom edge.
4275
4278
 
@@ -4302,7 +4305,7 @@ Template
4302
4305
 
4303
4306
  # Toast
4304
4307
 
4305
- Mero UI 0.9.0 · Overlays
4308
+ Mero UI 1.0.0 · Overlays
4306
4309
 
4307
4310
  Announce a completed action without interrupting the current task.
4308
4311
 
@@ -4323,7 +4326,7 @@ Template
4323
4326
 
4324
4327
  # Tooltip
4325
4328
 
4326
- Mero UI 0.9.0 · Overlays
4329
+ Mero UI 1.0.0 · Overlays
4327
4330
 
4328
4331
  Show a brief hint on pointer hover or keyboard focus.
4329
4332
 
@@ -4349,7 +4352,7 @@ Template
4349
4352
 
4350
4353
  # Dropdown
4351
4354
 
4352
- Mero UI 0.9.0 · Collections
4355
+ Mero UI 1.0.0 · Collections
4353
4356
 
4354
4357
  Open a compact list of actions or destinations.
4355
4358
 
@@ -4379,7 +4382,7 @@ Template
4379
4382
 
4380
4383
  # Menu Button
4381
4384
 
4382
- Mero UI 0.9.0 · Collections
4385
+ Mero UI 1.0.0 · Collections
4383
4386
 
4384
4387
  Open row actions and move through them with the arrow keys.
4385
4388
 
@@ -4490,7 +4493,7 @@ Template
4490
4493
 
4491
4494
  # List Box
4492
4495
 
4493
- Mero UI 0.9.0 · Collections
4496
+ Mero UI 1.0.0 · Collections
4494
4497
 
4495
4498
  Present a selectable collection with arrow-key navigation.
4496
4499
 
@@ -4519,7 +4522,7 @@ Template
4519
4522
 
4520
4523
  # Tag Group
4521
4524
 
4522
- Mero UI 0.9.0 · Collections
4525
+ Mero UI 1.0.0 · Collections
4523
4526
 
4524
4527
  Display a small, labeled collection of metadata tags.
4525
4528
 
@@ -4544,7 +4547,7 @@ Template
4544
4547
 
4545
4548
  # Slider
4546
4549
 
4547
- Mero UI 0.9.0 · Controls
4550
+ Mero UI 1.0.0 · Controls
4548
4551
 
4549
4552
  Choose a value from a bounded range.
4550
4553
 
@@ -4570,7 +4573,7 @@ Template
4570
4573
 
4571
4574
  # Switch
4572
4575
 
4573
- Mero UI 0.9.0 · Controls
4576
+ Mero UI 1.0.0 · Controls
4574
4577
 
4575
4578
  Toggle one setting with a checkbox-backed switch.
4576
4579
 
@@ -4644,7 +4647,7 @@ Template
4644
4647
 
4645
4648
  # Alert
4646
4649
 
4647
- Mero UI 0.9.0 · Feedback
4650
+ Mero UI 1.0.0 · Feedback
4648
4651
 
4649
4652
  Place status or guidance alongside the content it describes.
4650
4653
 
@@ -4668,7 +4671,7 @@ Template
4668
4671
 
4669
4672
  # Empty State
4670
4673
 
4671
- Mero UI 0.9.0 · Feedback
4674
+ Mero UI 1.0.0 · Feedback
4672
4675
 
4673
4676
  Explain an empty result and give the user a relevant next action.
4674
4677
 
@@ -4723,7 +4726,7 @@ Template
4723
4726
 
4724
4727
  # Meter
4725
4728
 
4726
- Mero UI 0.9.0 · Feedback
4729
+ Mero UI 1.0.0 · Feedback
4727
4730
 
4728
4731
  Show a measurement between known bounds.
4729
4732
 
@@ -4750,7 +4753,7 @@ Template
4750
4753
 
4751
4754
  # Live Progress
4752
4755
 
4753
- Mero UI 0.9.0 · Feedback
4756
+ Mero UI 1.0.0 · Feedback
4754
4757
 
4755
4758
  Follow a deployment through to its final status.
4756
4759
 
@@ -4820,7 +4823,7 @@ Template
4820
4823
 
4821
4824
  # Progress Bar
4822
4825
 
4823
- Mero UI 0.9.0 · Feedback
4826
+ Mero UI 1.0.0 · Feedback
4824
4827
 
4825
4828
  Report measurable progress toward completion.
4826
4829
 
@@ -4846,7 +4849,7 @@ Template
4846
4849
 
4847
4850
  # Progress Circle
4848
4851
 
4849
- Mero UI 0.9.0 · Feedback
4852
+ Mero UI 1.0.0 · Feedback
4850
4853
 
4851
4854
  Show a completion value in a compact circular display.
4852
4855
 
@@ -4868,7 +4871,7 @@ Template
4868
4871
 
4869
4872
  # Skeleton
4870
4873
 
4871
- Mero UI 0.9.0 · Feedback
4874
+ Mero UI 1.0.0 · Feedback
4872
4875
 
4873
4876
  Reserve space for content while its HTML is loading.
4874
4877
 
@@ -4893,7 +4896,7 @@ Template
4893
4896
 
4894
4897
  # Spinner
4895
4898
 
4896
- Mero UI 0.9.0 · Feedback
4899
+ Mero UI 1.0.0 · Feedback
4897
4900
 
4898
4901
  Indicate that work is underway when the completion time is unknown.
4899
4902
 
@@ -4917,7 +4920,7 @@ Template
4917
4920
 
4918
4921
  # Card
4919
4922
 
4920
- Mero UI 0.9.0 · Layout
4923
+ Mero UI 1.0.0 · Layout
4921
4924
 
4922
4925
  Group related content and an action into one compact surface.
4923
4926
 
@@ -4997,7 +5000,7 @@ Template
4997
5000
 
4998
5001
  # Page Header
4999
5002
 
5000
- Mero UI 0.9.0 · Layout
5003
+ Mero UI 1.0.0 · Layout
5001
5004
 
5002
5005
  Open a page with its title, a short description and the page’s main actions.
5003
5006
 
@@ -5065,7 +5068,7 @@ Template
5065
5068
 
5066
5069
  # Separator
5067
5070
 
5068
- Mero UI 0.9.0 · Layout
5071
+ Mero UI 1.0.0 · Layout
5069
5072
 
5070
5073
  Separate related content sections using a semantic rule.
5071
5074
 
@@ -5090,7 +5093,7 @@ Template
5090
5093
 
5091
5094
  # Surface
5092
5095
 
5093
- Mero UI 0.9.0 · Layout
5096
+ Mero UI 1.0.0 · Layout
5094
5097
 
5095
5098
  Give related content a tonal background with shared theme tokens.
5096
5099
 
@@ -5114,7 +5117,7 @@ Template
5114
5117
 
5115
5118
  # Toolbar
5116
5119
 
5117
- Mero UI 0.9.0 · Layout
5120
+ Mero UI 1.0.0 · Layout
5118
5121
 
5119
5122
  Keep nearby actions aligned and grouped by purpose.
5120
5123
 
@@ -5141,7 +5144,7 @@ Template
5141
5144
 
5142
5145
  # Avatar
5143
5146
 
5144
- Mero UI 0.9.0 · Media
5147
+ Mero UI 1.0.0 · Media
5145
5148
 
5146
5149
  Represent a person with initials and an accessible name.
5147
5150
 
@@ -5165,7 +5168,7 @@ Template
5165
5168
 
5166
5169
  # Avatar Group
5167
5170
 
5168
- Mero UI 0.9.0 · Media
5171
+ Mero UI 1.0.0 · Media
5169
5172
 
5170
5173
  Show a compact cluster of people associated with a workspace.
5171
5174
 
@@ -5190,7 +5193,7 @@ Template
5190
5193
 
5191
5194
  # Autocomplete
5192
5195
 
5193
- Mero UI 0.9.0 · Pickers
5196
+ Mero UI 1.0.0 · Pickers
5194
5197
 
5195
5198
  Request matching options from the server as a user types.
5196
5199
 
@@ -5270,7 +5273,7 @@ Template
5270
5273
 
5271
5274
  # Combo Box
5272
5275
 
5273
- Mero UI 0.9.0 · Pickers
5276
+ Mero UI 1.0.0 · Pickers
5274
5277
 
5275
5278
  Filter and select from suggestions already on the page.
5276
5279
 
@@ -5308,9 +5311,49 @@ Template
5308
5311
  </div>
5309
5312
  ````
5310
5313
 
5314
+ ## Multi-select
5315
+
5316
+ Select multiple options as removable chips that submit as named hidden fields.
5317
+
5318
+ Type to filter, press Enter to toggle options, Backspace on an empty input to remove the last chip, or listen to mero:selection for changes.
5319
+
5320
+ Page assets
5321
+
5322
+ ```html
5323
+ <link rel="stylesheet" href="/mero.css">
5324
+ <script defer src="/mero.js"></script>
5325
+ ```
5326
+
5327
+ Template
5328
+
5329
+ ````html
5330
+ <div class="mero-scope" data-mero-scope>
5331
+ <div class="mero-field">
5332
+ <label class="mero-label" for="demo-multiselect">Channels</label>
5333
+ <div class="mero-multiselect" data-mero-multiselect data-mero-combo data-mero-multiselect-name="channels">
5334
+ <div class="mero-multiselect-control">
5335
+ <ul class="mero-tag-group mero-multiselect-chips" data-mero-multiselect-chips>
5336
+ <li class="mero-chip" data-value="webshop">Webshop<input type="hidden" name="channels" value="webshop"><button type="button" aria-label="Remove Webshop" data-mero-multiselect-remove>×</button></li>
5337
+ </ul>
5338
+ <input class="mero-multiselect-input" id="demo-multiselect" type="text" role="combobox"
5339
+ aria-expanded="false" aria-controls="demo-multiselect-options" aria-autocomplete="list"
5340
+ autocomplete="off" placeholder="Add channel…">
5341
+ </div>
5342
+ <ul class="mero-listbox mero-combo-list" id="demo-multiselect-options" role="listbox" aria-label="Channels" aria-multiselectable="true" hidden>
5343
+ <li class="mero-option" id="demo-multiselect-webshop" role="option" data-value="webshop" aria-selected="true">Webshop</li>
5344
+ <li class="mero-option" id="demo-multiselect-wholesale" role="option" data-value="wholesale" aria-selected="false">Wholesale</li>
5345
+ <li class="mero-option" id="demo-multiselect-retail" role="option" data-value="retail" aria-selected="false">Retail</li>
5346
+ <li class="mero-option" role="option" aria-disabled="true" data-mero-empty-option hidden>No matches</li>
5347
+ </ul>
5348
+ <span class="mero-description" data-mero-combo-status role="status"></span>
5349
+ </div>
5350
+ </div>
5351
+ </div>
5352
+ ````
5353
+
5311
5354
  # Select
5312
5355
 
5313
- Mero UI 0.9.0 · Pickers
5356
+ Mero UI 1.0.0 · Pickers
5314
5357
 
5315
5358
  Choose one of a fixed set of values using the platform’s picker.
5316
5359
 
@@ -5340,7 +5383,7 @@ Template
5340
5383
 
5341
5384
  # Kbd
5342
5385
 
5343
- Mero UI 0.9.0 · Typography
5386
+ Mero UI 1.0.0 · Typography
5344
5387
 
5345
5388
  Format a keyboard shortcut with native semantics.
5346
5389
 
@@ -5392,7 +5435,7 @@ Template
5392
5435
 
5393
5436
  # Typography
5394
5437
 
5395
- Mero UI 0.9.0 · Typography
5438
+ Mero UI 1.0.0 · Typography
5396
5439
 
5397
5440
  Apply the type scale to semantic content.
5398
5441
 
@@ -5440,7 +5483,7 @@ Template
5440
5483
 
5441
5484
  # Badge
5442
5485
 
5443
- Mero UI 0.9.0 · Data display
5486
+ Mero UI 1.0.0 · Data display
5444
5487
 
5445
5488
  Label a status using text and a semantic tone.
5446
5489
 
@@ -5465,7 +5508,7 @@ Template
5465
5508
 
5466
5509
  # Chip
5467
5510
 
5468
- Mero UI 0.9.0 · Data display
5511
+ Mero UI 1.0.0 · Data display
5469
5512
 
5470
5513
  Display a lightweight label for an attribute or filter value.
5471
5514
 
@@ -5486,7 +5529,7 @@ Template
5486
5529
 
5487
5530
  # Description List
5488
5531
 
5489
- Mero UI 0.9.0 · Data display
5532
+ Mero UI 1.0.0 · Data display
5490
5533
 
5491
5534
  Show a record’s fields as label and value pairs.
5492
5535
 
@@ -5515,7 +5558,7 @@ Template
5515
5558
 
5516
5559
  # Table
5517
5560
 
5518
- Mero UI 0.9.0 · Data display
5561
+ Mero UI 1.0.0 · Data display
5519
5562
 
5520
5563
  Show comparable records in a native table with column headers.
5521
5564
 
@@ -5602,7 +5645,7 @@ Template
5602
5645
 
5603
5646
  # Sortable Table
5604
5647
 
5605
- Mero UI 0.9.0 · Data display
5648
+ Mero UI 1.0.0 · Data display
5606
5649
 
5607
5650
  Sort server-rendered rows from the column headers and open a row from anywhere in it.
5608
5651
 
@@ -5904,7 +5947,7 @@ Template
5904
5947
 
5905
5948
  # Filter Chips
5906
5949
 
5907
- Mero UI 0.9.0 · Data display
5950
+ Mero UI 1.0.0 · Data display
5908
5951
 
5909
5952
  Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
5910
5953
 
@@ -6052,7 +6095,7 @@ Template
6052
6095
 
6053
6096
  # Color Area
6054
6097
 
6055
- Mero UI 0.9.0 · Colors
6098
+ Mero UI 1.0.0 · Colors
6056
6099
 
6057
6100
  Open a browser-managed color surface and submit the selected color.
6058
6101
 
@@ -6081,7 +6124,7 @@ Template
6081
6124
 
6082
6125
  # Color Field
6083
6126
 
6084
- Mero UI 0.9.0 · Colors
6127
+ Mero UI 1.0.0 · Colors
6085
6128
 
6086
6129
  Enter a six-digit hex value directly in a text field.
6087
6130
 
@@ -6110,7 +6153,7 @@ Template
6110
6153
 
6111
6154
  # Color Picker
6112
6155
 
6113
- Mero UI 0.9.0 · Colors
6156
+ Mero UI 1.0.0 · Colors
6114
6157
 
6115
6158
  Choose a color using the native picker UI.
6116
6159
 
@@ -6137,7 +6180,7 @@ Template
6137
6180
 
6138
6181
  # Color Slider
6139
6182
 
6140
- Mero UI 0.9.0 · Colors
6183
+ Mero UI 1.0.0 · Colors
6141
6184
 
6142
6185
  Adjust a hue along the color spectrum.
6143
6186
 
@@ -6167,7 +6210,7 @@ Template
6167
6210
 
6168
6211
  # Color Swatch
6169
6212
 
6170
- Mero UI 0.9.0 · Colors
6213
+ Mero UI 1.0.0 · Colors
6171
6214
 
6172
6215
  Show a color with its human-readable label.
6173
6216
 
@@ -6192,7 +6235,7 @@ Template
6192
6235
 
6193
6236
  # Scroll Shadow
6194
6237
 
6195
- Mero UI 0.9.0 · Utilities
6238
+ Mero UI 1.0.0 · Utilities
6196
6239
 
6197
6240
  Expose a scrollable region with a visual cue that more content is available.
6198
6241
 
@@ -6222,7 +6265,7 @@ Template
6222
6265
 
6223
6266
  # Visually Hidden
6224
6267
 
6225
- Mero UI 0.9.0 · Utilities
6268
+ Mero UI 1.0.0 · Utilities
6226
6269
 
6227
6270
  Give screen readers context that the visible text leaves implied.
6228
6271
 
@@ -6248,7 +6291,7 @@ Template
6248
6291
 
6249
6292
  # Join
6250
6293
 
6251
- Mero UI 0.9.0 · Composition
6294
+ Mero UI 1.0.0 · Composition
6252
6295
 
6253
6296
  Connect related controls with a shared outline.
6254
6297
 
@@ -6271,7 +6314,7 @@ Template
6271
6314
 
6272
6315
  # Menu
6273
6316
 
6274
- Mero UI 0.9.0 · Composition
6317
+ Mero UI 1.0.0 · Composition
6275
6318
 
6276
6319
  Group destinations with an active page and section labels.
6277
6320
 
@@ -6294,7 +6337,7 @@ Template
6294
6337
 
6295
6338
  # Hero
6296
6339
 
6297
- Mero UI 0.9.0 · Composition
6340
+ Mero UI 1.0.0 · Composition
6298
6341
 
6299
6342
  Pair a product introduction with a single destination.
6300
6343
 
@@ -6319,7 +6362,7 @@ Template
6319
6362
 
6320
6363
  # Footer
6321
6364
 
6322
- Mero UI 0.9.0 · Composition
6365
+ Mero UI 1.0.0 · Composition
6323
6366
 
6324
6367
  Close a workspace with a small group of navigation links.
6325
6368
 
@@ -6342,7 +6385,7 @@ Template
6342
6385
 
6343
6386
  # Theme Controller
6344
6387
 
6345
- Mero UI 0.9.0 · Composition
6388
+ Mero UI 1.0.0 · Composition
6346
6389
 
6347
6390
  Set a theme inside one section of a page.
6348
6391
 
@@ -6365,13 +6408,34 @@ Template
6365
6408
 
6366
6409
  # Validator
6367
6410
 
6368
- Mero UI 0.9.0 · Composition
6411
+ Mero UI 1.0.0 · Composition
6369
6412
 
6370
- Show a native field constraint and its correction.
6413
+ Show a native field constraint and its correction with zero JavaScript.
6371
6414
 
6372
6415
  ## Default
6373
6416
 
6374
- This checks the format locally. Use the inventory form to enforce a unique SKU on the server.
6417
+ Pure CSS :user-invalid and :user-valid styling keeps .mero-validator-hint hidden until interaction or a server HTTP 422 aria-invalid="true" response. Place the field inside any form or data-mero-form.
6418
+
6419
+ Page assets
6420
+
6421
+ ```html
6422
+ <link rel="stylesheet" href="/mero.css">
6423
+ <link rel="stylesheet" href="/mero-composition.css">
6424
+ <script defer src="/mero.js"></script>
6425
+ <script defer src="/mero-composition.js"></script>
6426
+ ```
6427
+
6428
+ Template
6429
+
6430
+ ````html
6431
+ <div class="mero-field"><label class="mero-label" for="val-sku">Catalog SKU</label><input id="val-sku" class="mero-input mero-validator" name="sku" required pattern="[A-Z]{2}-[0-9]{4}" placeholder="RL-2040" aria-describedby="val-sku-hint"><p id="val-sku-hint" class="mero-validator-hint">Use two uppercase letters, a hyphen and four digits (e.g. RL-2040).</p></div>
6432
+ ````
6433
+
6434
+ ## Server 422 state
6435
+
6436
+ A server-returned validation error sets aria-invalid="true", revealing .mero-validator-hint immediately on load or after an HTMX 422 swap.
6437
+
6438
+ Pure CSS :user-invalid and :user-valid styling keeps .mero-validator-hint hidden until interaction or a server HTTP 422 aria-invalid="true" response. Place the field inside any form or data-mero-form.
6375
6439
 
6376
6440
  Page assets
6377
6441
 
@@ -6385,12 +6449,12 @@ Page assets
6385
6449
  Template
6386
6450
 
6387
6451
  ````html
6388
- <form class="mero-validation-example" data-mero-check-form><label class="mero-label">Catalog SKU<input class="mero-input" name="sku" required pattern="[A-Z]{2}-[0-9]{4}" placeholder="RL-2040"></label><small>Use two uppercase letters, a hyphen and four digits.</small><button class="mero-button" type="submit">Check SKU</button><output role="status"></output></form>
6452
+ <div class="mero-field"><label class="mero-label" for="val-sku-err">Catalog SKU</label><input id="val-sku-err" class="mero-input mero-validator" name="sku" value="bad-sku" required pattern="[A-Z]{2}-[0-9]{4}" aria-invalid="true" aria-describedby="val-sku-err-hint"><p id="val-sku-err-hint" class="mero-validator-hint">Use two uppercase letters, a hyphen and four digits (e.g. RL-2040).</p></div>
6389
6453
  ````
6390
6454
 
6391
6455
  # Aura
6392
6456
 
6393
- Mero UI 0.9.0 · Display utilities
6457
+ Mero UI 1.0.0 · Display utilities
6394
6458
 
6395
6459
  Frame an interactive surface with a subtle moving highlight.
6396
6460
 
@@ -6413,7 +6477,7 @@ Template
6413
6477
 
6414
6478
  # Countdown
6415
6479
 
6416
- Mero UI 0.9.0 · Display utilities
6480
+ Mero UI 1.0.0 · Display utilities
6417
6481
 
6418
6482
  Show the time remaining until the next daily shipping cutoff.
6419
6483
 
@@ -6438,7 +6502,7 @@ Template
6438
6502
 
6439
6503
  # Indicator
6440
6504
 
6441
- Mero UI 0.9.0 · Display utilities
6505
+ Mero UI 1.0.0 · Display utilities
6442
6506
 
6443
6507
  Anchor a quantity to an icon or action.
6444
6508
 
@@ -6461,7 +6525,7 @@ Template
6461
6525
 
6462
6526
  # Mask
6463
6527
 
6464
- Mero UI 0.9.0 · Display utilities
6528
+ Mero UI 1.0.0 · Display utilities
6465
6529
 
6466
6530
  Crop an image while keeping its alternative text.
6467
6531
 
@@ -6486,7 +6550,7 @@ Template
6486
6550
 
6487
6551
  # Stack
6488
6552
 
6489
- Mero UI 0.9.0 · Display utilities
6553
+ Mero UI 1.0.0 · Display utilities
6490
6554
 
6491
6555
  Layer related previews while keeping the current item legible.
6492
6556
 
@@ -6511,7 +6575,7 @@ Template
6511
6575
 
6512
6576
  # Status
6513
6577
 
6514
- Mero UI 0.9.0 · Display utilities
6578
+ Mero UI 1.0.0 · Display utilities
6515
6579
 
6516
6580
  Show system status with a label and a visual marker.
6517
6581
 
@@ -6534,7 +6598,7 @@ Template
6534
6598
 
6535
6599
  # Swap
6536
6600
 
6537
- Mero UI 0.9.0 · Display utilities
6601
+ Mero UI 1.0.0 · Display utilities
6538
6602
 
6539
6603
  Switch between two labels or icons on a native control.
6540
6604
 
@@ -6557,7 +6621,7 @@ Template
6557
6621
 
6558
6622
  # Text Rotate
6559
6623
 
6560
- Mero UI 0.9.0 · Display utilities
6624
+ Mero UI 1.0.0 · Display utilities
6561
6625
 
6562
6626
  Rotate through short messages with explicit playback controls.
6563
6627
 
@@ -6580,7 +6644,7 @@ Template
6580
6644
 
6581
6645
  # Browser Mockup
6582
6646
 
6583
- Mero UI 0.9.0 · Mockups
6647
+ Mero UI 1.0.0 · Mockups
6584
6648
 
6585
6649
  Present a site preview inside a compact browser frame.
6586
6650
 
@@ -6605,7 +6669,7 @@ Template
6605
6669
 
6606
6670
  # Phone Mockup
6607
6671
 
6608
- Mero UI 0.9.0 · Mockups
6672
+ Mero UI 1.0.0 · Mockups
6609
6673
 
6610
6674
  Frame a mobile product screen.
6611
6675
 
@@ -6630,7 +6694,7 @@ Template
6630
6694
 
6631
6695
  # Window Mockup
6632
6696
 
6633
- Mero UI 0.9.0 · Mockups
6697
+ Mero UI 1.0.0 · Mockups
6634
6698
 
6635
6699
  Place a desktop tool inside a labelled window.
6636
6700
 
@@ -6653,7 +6717,7 @@ Template
6653
6717
 
6654
6718
  # Code Mockup
6655
6719
 
6656
- Mero UI 0.9.0 · Mockups
6720
+ Mero UI 1.0.0 · Mockups
6657
6721
 
6658
6722
  Present a terminal command and its output.
6659
6723