@rubenlangeweg/mero-ui 1.1.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.
- package/CHANGELOG.md +17 -0
- package/README.md +2 -2
- package/agent-docs/components/accordion.md +1 -1
- package/agent-docs/components/action-bar.md +1 -1
- package/agent-docs/components/action-button.md +1 -1
- package/agent-docs/components/agenda.md +1 -1
- package/agent-docs/components/alert-dialog.md +1 -1
- package/agent-docs/components/alert.md +1 -1
- package/agent-docs/components/app-layout.md +42 -3
- package/agent-docs/components/area-chart.md +1 -1
- package/agent-docs/components/aura.md +1 -1
- package/agent-docs/components/autocomplete.md +1 -1
- package/agent-docs/components/avatar-group.md +1 -1
- package/agent-docs/components/avatar.md +1 -1
- package/agent-docs/components/badge.md +1 -1
- package/agent-docs/components/bar-chart.md +1 -1
- package/agent-docs/components/breadcrumbs.md +1 -1
- package/agent-docs/components/browser-mockup.md +1 -1
- package/agent-docs/components/button-group.md +1 -1
- package/agent-docs/components/button.md +1 -1
- package/agent-docs/components/calendar.md +67 -66
- package/agent-docs/components/card.md +1 -1
- package/agent-docs/components/carousel.md +1 -1
- package/agent-docs/components/cell-color-picker.md +1 -1
- package/agent-docs/components/cell-select.md +1 -1
- package/agent-docs/components/cell-slider.md +1 -1
- package/agent-docs/components/cell-switch.md +1 -1
- package/agent-docs/components/chain-of-thought.md +1 -1
- package/agent-docs/components/chart-tooltip.md +1 -1
- package/agent-docs/components/chat-attachment.md +1 -1
- package/agent-docs/components/chat-conversation.md +1 -1
- package/agent-docs/components/chat-list-view.md +1 -1
- package/agent-docs/components/chat-loader.md +1 -1
- package/agent-docs/components/chat-message-actions.md +1 -1
- package/agent-docs/components/chat-message.md +1 -1
- package/agent-docs/components/chat-source.md +1 -1
- package/agent-docs/components/chat-tool.md +1 -1
- package/agent-docs/components/checkbox-button-group.md +1 -1
- package/agent-docs/components/checkbox-group.md +1 -1
- package/agent-docs/components/checkbox.md +1 -1
- package/agent-docs/components/chip.md +1 -1
- package/agent-docs/components/close-button.md +1 -1
- package/agent-docs/components/code-block.md +1 -1
- package/agent-docs/components/code-mockup.md +1 -1
- package/agent-docs/components/color-area.md +1 -1
- package/agent-docs/components/color-field.md +1 -1
- package/agent-docs/components/color-picker.md +1 -1
- package/agent-docs/components/color-slider.md +1 -1
- package/agent-docs/components/color-swatch.md +1 -1
- package/agent-docs/components/combo-box.md +1 -1
- package/agent-docs/components/command-menu.md +1 -1
- package/agent-docs/components/command.md +1 -1
- package/agent-docs/components/composed-chart.md +1 -1
- package/agent-docs/components/context-menu.md +1 -1
- package/agent-docs/components/countdown.md +1 -1
- package/agent-docs/components/data-grid.md +1 -1
- package/agent-docs/components/date-field.md +1 -1
- package/agent-docs/components/date-picker.md +1 -1
- package/agent-docs/components/date-range-picker.md +1 -1
- package/agent-docs/components/description-list.md +1 -1
- package/agent-docs/components/description.md +1 -1
- package/agent-docs/components/diff.md +1 -1
- package/agent-docs/components/disclosure-group.md +1 -1
- package/agent-docs/components/disclosure.md +1 -1
- package/agent-docs/components/dock.md +1 -1
- package/agent-docs/components/drawer.md +1 -1
- package/agent-docs/components/drop-zone.md +1 -1
- package/agent-docs/components/dropdown.md +1 -1
- package/agent-docs/components/emoji-picker.md +1 -1
- package/agent-docs/components/emoji-reaction-button.md +1 -1
- package/agent-docs/components/empty-state.md +55 -3
- package/agent-docs/components/error-message.md +1 -1
- package/agent-docs/components/fab.md +1 -1
- package/agent-docs/components/field-error.md +1 -1
- package/agent-docs/components/fieldset.md +1 -1
- package/agent-docs/components/file-drop-zone.md +34 -0
- package/agent-docs/components/file-field.md +55 -0
- package/agent-docs/components/file-input.md +1 -1
- package/agent-docs/components/file-tree.md +1 -1
- package/agent-docs/components/filter-chips.md +1 -1
- package/agent-docs/components/floating-toc.md +1 -1
- package/agent-docs/components/footer.md +1 -1
- package/agent-docs/components/form.md +1 -1
- package/agent-docs/components/hero.md +1 -1
- package/agent-docs/components/holo-card.md +1 -1
- package/agent-docs/components/hover-card.md +1 -1
- package/agent-docs/components/hover-gallery.md +1 -1
- package/agent-docs/components/indicator.md +1 -1
- package/agent-docs/components/inline-select.md +1 -1
- package/agent-docs/components/input-group.md +1 -1
- package/agent-docs/components/input-otp.md +1 -1
- package/agent-docs/components/input.md +1 -1
- package/agent-docs/components/item-card-group.md +1 -1
- package/agent-docs/components/item-card.md +1 -1
- package/agent-docs/components/join.md +1 -1
- package/agent-docs/components/joined-filter.md +1 -1
- package/agent-docs/components/kanban.md +1 -1
- package/agent-docs/components/kbd.md +1 -1
- package/agent-docs/components/kpi-group.md +1 -1
- package/agent-docs/components/kpi.md +1 -1
- package/agent-docs/components/label.md +1 -1
- package/agent-docs/components/line-chart.md +1 -1
- package/agent-docs/components/link.md +1 -1
- package/agent-docs/components/list-box.md +1 -1
- package/agent-docs/components/list-view.md +1 -1
- package/agent-docs/components/live-progress.md +1 -1
- package/agent-docs/components/map.md +1 -1
- package/agent-docs/components/markdown.md +1 -1
- package/agent-docs/components/mask.md +1 -1
- package/agent-docs/components/megamenu.md +1 -1
- package/agent-docs/components/menu-button.md +1 -1
- package/agent-docs/components/menu.md +1 -1
- package/agent-docs/components/meter.md +1 -1
- package/agent-docs/components/modal.md +45 -1
- package/agent-docs/components/native-select.md +1 -1
- package/agent-docs/components/navbar.md +1 -1
- package/agent-docs/components/number-field.md +1 -1
- package/agent-docs/components/number-stepper.md +1 -1
- package/agent-docs/components/number-value.md +1 -1
- package/agent-docs/components/page-header.md +2 -2
- package/agent-docs/components/pagination.md +1 -1
- package/agent-docs/components/phone-mockup.md +1 -1
- package/agent-docs/components/pie-chart.md +1 -1
- package/agent-docs/components/popover.md +1 -1
- package/agent-docs/components/pressable-feedback.md +1 -1
- package/agent-docs/components/progress-bar.md +1 -1
- package/agent-docs/components/progress-circle.md +1 -1
- package/agent-docs/components/prompt-input.md +1 -1
- package/agent-docs/components/prompt-suggestion.md +1 -1
- package/agent-docs/components/radar-chart.md +1 -1
- package/agent-docs/components/radial-chart.md +1 -1
- package/agent-docs/components/radio-button-group.md +1 -1
- package/agent-docs/components/radio-group.md +1 -1
- package/agent-docs/components/range-calendar.md +1 -1
- package/agent-docs/components/rating.md +1 -1
- package/agent-docs/components/reorder-rows.md +114 -0
- package/agent-docs/components/resizable.md +1 -1
- package/agent-docs/components/rich-text-editor.md +1 -1
- package/agent-docs/components/scroll-shadow.md +1 -1
- package/agent-docs/components/search-field.md +1 -1
- package/agent-docs/components/segment.md +1 -1
- package/agent-docs/components/select.md +1 -1
- package/agent-docs/components/separator.md +1 -1
- package/agent-docs/components/sheet.md +1 -1
- package/agent-docs/components/sidebar.md +6 -3
- package/agent-docs/components/skeleton.md +1 -1
- package/agent-docs/components/slider.md +1 -1
- package/agent-docs/components/sortable-table.md +1 -1
- package/agent-docs/components/spinner.md +1 -1
- package/agent-docs/components/stack.md +1 -1
- package/agent-docs/components/status.md +1 -1
- package/agent-docs/components/stepper.md +1 -1
- package/agent-docs/components/surface.md +1 -1
- package/agent-docs/components/swap.md +1 -1
- package/agent-docs/components/switch.md +1 -1
- package/agent-docs/components/table.md +1 -1
- package/agent-docs/components/tabs.md +1 -1
- package/agent-docs/components/tag-group.md +1 -1
- package/agent-docs/components/text-area.md +1 -1
- package/agent-docs/components/text-field.md +1 -1
- package/agent-docs/components/text-rotate.md +1 -1
- package/agent-docs/components/text-shimmer.md +1 -1
- package/agent-docs/components/theme-controller.md +1 -1
- package/agent-docs/components/time-field.md +1 -1
- package/agent-docs/components/timeline.md +1 -1
- package/agent-docs/components/toast.md +1 -1
- package/agent-docs/components/toggle-button-group.md +1 -1
- package/agent-docs/components/toggle-button.md +1 -1
- package/agent-docs/components/toolbar.md +1 -1
- package/agent-docs/components/tooltip.md +1 -1
- package/agent-docs/components/trend-chip.md +1 -1
- package/agent-docs/components/typed-confirmation.md +1 -1
- package/agent-docs/components/typography.md +1 -1
- package/agent-docs/components/validator.md +1 -1
- package/agent-docs/components/visually-hidden.md +1 -1
- package/agent-docs/components/widget.md +1 -1
- package/agent-docs/components/window-mockup.md +1 -1
- package/agent-docs/llms-components.txt +584 -245
- package/agent-docs/llms-full.txt +607 -249
- package/agent-docs/llms-patterns.txt +24 -5
- package/agent-docs/llms.txt +4 -1
- package/dist/manifest.json +108 -108
- package/dist/ui/mero-collections.min.css +2 -2
- package/dist/ui/mero-collections.min.js +2 -2
- package/dist/ui/mero-composition.min.css +2 -2
- package/dist/ui/mero-composition.min.js +1 -1
- package/dist/ui/mero-forms.min.js +2 -2
- package/dist/ui/mero-gallery.min.css +2 -2
- package/dist/ui/mero-gallery.min.js +1 -1
- package/dist/ui/mero-insights.min.css +2 -2
- package/dist/ui/mero-insights.min.js +1 -1
- package/dist/ui/mero-layouts.min.css +2 -2
- package/dist/ui/mero-live.min.js +1 -1
- package/dist/ui/mero-themes.min.css +2 -2
- package/dist/ui/mero-workspace.min.css +3 -3
- package/dist/ui/mero-workspace.min.js +2 -2
- package/dist/ui/mero.min.css +3 -3
- package/dist/ui/mero.min.js +2 -2
- package/package.json +1 -1
- package/ui/insight-charts.d.ts +1 -1
- package/ui/insight-charts.mjs +1 -1
- package/ui/insight-markdown.d.ts +1 -1
- package/ui/insight-markdown.mjs +1 -1
- package/ui/mero-collections.css +1 -1
- package/ui/mero-collections.js +67 -1
- package/ui/mero-composition.css +1 -1
- package/ui/mero-composition.js +1 -1
- package/ui/mero-forms.js +174 -17
- package/ui/mero-gallery.css +1 -1
- package/ui/mero-gallery.js +1 -1
- package/ui/mero-insights.css +1 -1
- package/ui/mero-insights.js +1 -1
- package/ui/mero-layouts.css +1 -1
- package/ui/mero-live.js +1 -1
- package/ui/mero-themes.css +1 -1
- package/ui/mero-workspace.css +4 -2
- package/ui/mero-workspace.js +14 -4
- package/ui/mero.css +92 -3
- package/ui/mero.d.ts +17 -1
- package/ui/mero.js +84 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Mero UI 1.
|
|
1
|
+
# Mero UI 1.2.0 component templates
|
|
2
2
|
|
|
3
3
|
# Carousel
|
|
4
4
|
|
|
5
|
-
Mero UI 1.
|
|
5
|
+
Mero UI 1.2.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 1.
|
|
82
|
+
Mero UI 1.2.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 1.
|
|
159
|
+
Mero UI 1.2.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 1.
|
|
201
|
+
Mero UI 1.2.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 1.
|
|
233
|
+
Mero UI 1.2.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 1.
|
|
391
|
+
Mero UI 1.2.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 1.
|
|
435
|
+
Mero UI 1.2.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 1.
|
|
472
|
+
Mero UI 1.2.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 1.
|
|
495
|
+
Mero UI 1.2.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 1.
|
|
518
|
+
Mero UI 1.2.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 1.
|
|
543
|
+
Mero UI 1.2.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 1.
|
|
566
|
+
Mero UI 1.2.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 1.
|
|
589
|
+
Mero UI 1.2.0 · Studio collections
|
|
590
590
|
|
|
591
591
|
Move a card between stages with a drag or its Move to menu.
|
|
592
592
|
|
|
@@ -609,9 +609,122 @@ Template
|
|
|
609
609
|
<section class="mero-kanban" data-mero-kanban aria-label="Release board"><div class="mero-kanban-lanes"><section class="mero-kanban-lane" data-lane="Queued"><h2>Queued<span data-lane-count>1</span></h2><div data-lane-cards><article class="mero-kanban-card" draggable="true"><small>Production</small><strong>Validate finishes</strong><label>Move to<select class="mero-select" data-kanban-move aria-label="Move Validate finishes"><option value="Queued" selected>Queued</option><option value="In progress">In progress</option><option value="Ready">Ready</option></select></label></article></div></section><section class="mero-kanban-lane" data-lane="In progress"><h2>In progress<span data-lane-count>1</span></h2><div data-lane-cards><article class="mero-kanban-card" draggable="true"><small>Packaging</small><strong>Approve label proof</strong><label>Move to<select class="mero-select" data-kanban-move aria-label="Move Approve label proof"><option value="Queued">Queued</option><option value="In progress" selected>In progress</option><option value="Ready">Ready</option></select></label></article></div></section><section class="mero-kanban-lane" data-lane="Ready"><h2>Ready<span data-lane-count>1</span></h2><div data-lane-cards><article class="mero-kanban-card" draggable="true"><small>Outreach</small><strong>Send sample kit</strong><label>Move to<select class="mero-select" data-kanban-move aria-label="Move Send sample kit"><option value="Queued">Queued</option><option value="In progress">In progress</option><option value="Ready" selected>Ready</option></select></label></article></div></section></div><output role="status" class="mero-collection-sr"></output></section>
|
|
610
610
|
````
|
|
611
611
|
|
|
612
|
+
# Reorder Rows
|
|
613
|
+
|
|
614
|
+
Mero UI 1.2.0 · Studio collections
|
|
615
|
+
|
|
616
|
+
Change the order of table or list rows from the keyboard and save it with a form.
|
|
617
|
+
|
|
618
|
+
## Default
|
|
619
|
+
|
|
620
|
+
Put data-mero-reorder on the tbody or List View and data-mero-reorder-id on each row. Choose Move up or Move down in a row’s Actions menu, or press Alt+Up Arrow or Alt+Down Arrow with focus anywhere in the row. Focus stays on the moved row and the data-mero-reorder-status region announces the new position, such as “French moved to position 2 of 4”. Mero marks Move up in the first row and Move down in the last as aria-disabled. Each row carries a hidden input with its ID, so submitting the form posts the rows in their new order. The bubbling mero:reorder event carries the new order in event.detail.order; set hx-trigger to mero:reorder and hx-sync to this:queue last on the form to save every move, so moves made while a save is in flight end with one request carrying the latest order. Pointer drag is not included.
|
|
621
|
+
|
|
622
|
+
Page assets
|
|
623
|
+
|
|
624
|
+
```html
|
|
625
|
+
<link rel="stylesheet" href="/mero.css">
|
|
626
|
+
<link rel="stylesheet" href="/mero-collections.css">
|
|
627
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
628
|
+
<script defer src="/mero.js"></script>
|
|
629
|
+
<script defer src="/mero-collections.js"></script>
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
Template
|
|
633
|
+
|
|
634
|
+
````html
|
|
635
|
+
<form class="mero-stack" method="post" action="/demo/collections/order" hx-post="/demo/collections/order" hx-target="#reorder-result" hx-swap="innerHTML">
|
|
636
|
+
<div class="mero-table-wrap">
|
|
637
|
+
<table class="mero-table">
|
|
638
|
+
<caption>Content languages</caption>
|
|
639
|
+
<thead><tr><th scope="col">Language</th><th scope="col">Code</th><th scope="col">Actions</th></tr></thead>
|
|
640
|
+
<tbody data-mero-reorder>
|
|
641
|
+
<tr data-mero-reorder-id="en">
|
|
642
|
+
<th scope="row">English<input type="hidden" name="order" value="en"></th>
|
|
643
|
+
<td><code>en</code></td>
|
|
644
|
+
<td>
|
|
645
|
+
<button class="mero-button mero-button-ghost mero-button-sm" id="language-en-actions" type="button" popovertarget="language-en-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for English" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
|
|
646
|
+
<div class="mero-popover mero-menu" id="language-en-menu" popover role="menu" aria-label="English actions">
|
|
647
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
648
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
649
|
+
</div>
|
|
650
|
+
</td>
|
|
651
|
+
</tr>
|
|
652
|
+
<tr data-mero-reorder-id="de">
|
|
653
|
+
<th scope="row">German<input type="hidden" name="order" value="de"></th>
|
|
654
|
+
<td><code>de</code></td>
|
|
655
|
+
<td>
|
|
656
|
+
<button class="mero-button mero-button-ghost mero-button-sm" id="language-de-actions" type="button" popovertarget="language-de-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for German" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
|
|
657
|
+
<div class="mero-popover mero-menu" id="language-de-menu" popover role="menu" aria-label="German actions">
|
|
658
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
659
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
660
|
+
</div>
|
|
661
|
+
</td>
|
|
662
|
+
</tr>
|
|
663
|
+
<tr data-mero-reorder-id="fr">
|
|
664
|
+
<th scope="row">French<input type="hidden" name="order" value="fr"></th>
|
|
665
|
+
<td><code>fr</code></td>
|
|
666
|
+
<td>
|
|
667
|
+
<button class="mero-button mero-button-ghost mero-button-sm" id="language-fr-actions" type="button" popovertarget="language-fr-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for French" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
|
|
668
|
+
<div class="mero-popover mero-menu" id="language-fr-menu" popover role="menu" aria-label="French actions">
|
|
669
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
670
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
671
|
+
</div>
|
|
672
|
+
</td>
|
|
673
|
+
</tr>
|
|
674
|
+
<tr data-mero-reorder-id="nl">
|
|
675
|
+
<th scope="row">Dutch<input type="hidden" name="order" value="nl"></th>
|
|
676
|
+
<td><code>nl</code></td>
|
|
677
|
+
<td>
|
|
678
|
+
<button class="mero-button mero-button-ghost mero-button-sm" id="language-nl-actions" type="button" popovertarget="language-nl-menu" aria-haspopup="menu" aria-expanded="false" aria-label="Actions for Dutch" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown">Actions</button>
|
|
679
|
+
<div class="mero-popover mero-menu" id="language-nl-menu" popover role="menu" aria-label="Dutch actions">
|
|
680
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
681
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
682
|
+
</div>
|
|
683
|
+
</td>
|
|
684
|
+
</tr>
|
|
685
|
+
</tbody>
|
|
686
|
+
</table>
|
|
687
|
+
</div>
|
|
688
|
+
<p class="mero-sr-only" role="status" data-mero-reorder-status></p>
|
|
689
|
+
<button class="mero-button mero-button-primary" type="submit">Save order</button>
|
|
690
|
+
<div class="mero-form-status" id="reorder-result" role="status"></div>
|
|
691
|
+
</form>
|
|
692
|
+
````
|
|
693
|
+
|
|
694
|
+
## List View
|
|
695
|
+
|
|
696
|
+
Reorder List View rows with Alt+Arrow keys and save each move.
|
|
697
|
+
|
|
698
|
+
With a row link focused, Alt+Up Arrow or Alt+Down Arrow moves it. The form’s hx-trigger is mero:reorder, so each move posts the hidden inputs in their new order. hx-sync="this:queue last" makes moves made during a save send the latest order once that save ends.
|
|
699
|
+
|
|
700
|
+
Page assets
|
|
701
|
+
|
|
702
|
+
```html
|
|
703
|
+
<link rel="stylesheet" href="/mero.css">
|
|
704
|
+
<link rel="stylesheet" href="/mero-collections.css">
|
|
705
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
706
|
+
<script defer src="/mero.js"></script>
|
|
707
|
+
<script defer src="/mero-collections.js"></script>
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
Template
|
|
711
|
+
|
|
712
|
+
````html
|
|
713
|
+
<form class="mero-stack" method="post" action="/demo/collections/order" hx-post="/demo/collections/order" hx-trigger="mero:reorder" hx-sync="this:queue last" hx-target="#reorder-list-result" hx-swap="innerHTML">
|
|
714
|
+
<section class="mero-list-view" aria-label="Content languages" data-mero-reorder>
|
|
715
|
+
<a href="/components/reorder-rows" data-mero-reorder-id="en" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>English</strong><small>en</small></span><input type="hidden" name="order" value="en"><span aria-hidden="true">→</span></a>
|
|
716
|
+
<a href="/components/reorder-rows" data-mero-reorder-id="de" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>German</strong><small>de</small></span><input type="hidden" name="order" value="de"><span aria-hidden="true">→</span></a>
|
|
717
|
+
<a href="/components/reorder-rows" data-mero-reorder-id="fr" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>French</strong><small>fr</small></span><input type="hidden" name="order" value="fr"><span aria-hidden="true">→</span></a>
|
|
718
|
+
<a href="/components/reorder-rows" data-mero-reorder-id="nl" aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown"><span><strong>Dutch</strong><small>nl</small></span><input type="hidden" name="order" value="nl"><span aria-hidden="true">→</span></a>
|
|
719
|
+
</section>
|
|
720
|
+
<p class="mero-sr-only" role="status" data-mero-reorder-status></p>
|
|
721
|
+
<div class="mero-form-status" id="reorder-list-result" role="status"></div>
|
|
722
|
+
</form>
|
|
723
|
+
````
|
|
724
|
+
|
|
612
725
|
# List View
|
|
613
726
|
|
|
614
|
-
Mero UI 1.
|
|
727
|
+
Mero UI 1.2.0 · Studio collections
|
|
615
728
|
|
|
616
729
|
Browse structured destinations in a compact keyboard-accessible list.
|
|
617
730
|
|
|
@@ -634,7 +747,7 @@ Template
|
|
|
634
747
|
|
|
635
748
|
# Map
|
|
636
749
|
|
|
637
|
-
Mero UI 1.
|
|
750
|
+
Mero UI 1.2.0 · Studio collections
|
|
638
751
|
|
|
639
752
|
Choose a location on a self-contained campus map and read its address.
|
|
640
753
|
|
|
@@ -659,7 +772,7 @@ Template
|
|
|
659
772
|
|
|
660
773
|
# Timeline
|
|
661
774
|
|
|
662
|
-
Mero UI 1.
|
|
775
|
+
Mero UI 1.2.0 · Studio collections
|
|
663
776
|
|
|
664
777
|
Present milestones in order and identify the current step.
|
|
665
778
|
|
|
@@ -682,7 +795,7 @@ Template
|
|
|
682
795
|
|
|
683
796
|
# Widget
|
|
684
797
|
|
|
685
|
-
Mero UI 1.
|
|
798
|
+
Mero UI 1.2.0 · Studio collections
|
|
686
799
|
|
|
687
800
|
Use a dashboard panel to track a checklist and its progress.
|
|
688
801
|
|
|
@@ -705,7 +818,7 @@ Template
|
|
|
705
818
|
|
|
706
819
|
# Cell Color Picker
|
|
707
820
|
|
|
708
|
-
Mero UI 1.
|
|
821
|
+
Mero UI 1.2.0 · Workspace forms
|
|
709
822
|
|
|
710
823
|
Change one preference and receive inline confirmation from the server.
|
|
711
824
|
|
|
@@ -736,7 +849,7 @@ Template
|
|
|
736
849
|
|
|
737
850
|
# Cell Select
|
|
738
851
|
|
|
739
|
-
Mero UI 1.
|
|
852
|
+
Mero UI 1.2.0 · Workspace forms
|
|
740
853
|
|
|
741
854
|
Change one preference and receive inline confirmation from the server.
|
|
742
855
|
|
|
@@ -767,7 +880,7 @@ Template
|
|
|
767
880
|
|
|
768
881
|
# Cell Slider
|
|
769
882
|
|
|
770
|
-
Mero UI 1.
|
|
883
|
+
Mero UI 1.2.0 · Workspace forms
|
|
771
884
|
|
|
772
885
|
Change one preference and receive inline confirmation from the server.
|
|
773
886
|
|
|
@@ -798,7 +911,7 @@ Template
|
|
|
798
911
|
|
|
799
912
|
# Cell Switch
|
|
800
913
|
|
|
801
|
-
Mero UI 1.
|
|
914
|
+
Mero UI 1.2.0 · Workspace forms
|
|
802
915
|
|
|
803
916
|
Change one preference and receive inline confirmation from the server.
|
|
804
917
|
|
|
@@ -829,7 +942,7 @@ Template
|
|
|
829
942
|
|
|
830
943
|
# Checkbox Button Group
|
|
831
944
|
|
|
832
|
-
Mero UI 1.
|
|
945
|
+
Mero UI 1.2.0 · Workspace forms
|
|
833
946
|
|
|
834
947
|
Select several release channels using native checkboxes.
|
|
835
948
|
|
|
@@ -857,7 +970,7 @@ Template
|
|
|
857
970
|
|
|
858
971
|
# Radio Button Group
|
|
859
972
|
|
|
860
|
-
Mero UI 1.
|
|
973
|
+
Mero UI 1.2.0 · Workspace forms
|
|
861
974
|
|
|
862
975
|
Choose one release schedule with labelled option cards.
|
|
863
976
|
|
|
@@ -884,7 +997,7 @@ Template
|
|
|
884
997
|
|
|
885
998
|
# Native Select
|
|
886
999
|
|
|
887
|
-
Mero UI 1.
|
|
1000
|
+
Mero UI 1.2.0 · Workspace forms
|
|
888
1001
|
|
|
889
1002
|
Choose a workspace from labelled option groups.
|
|
890
1003
|
|
|
@@ -909,7 +1022,7 @@ Template
|
|
|
909
1022
|
|
|
910
1023
|
# Inline Select
|
|
911
1024
|
|
|
912
|
-
Mero UI 1.
|
|
1025
|
+
Mero UI 1.2.0 · Workspace forms
|
|
913
1026
|
|
|
914
1027
|
Change an audience within the sentence that describes it.
|
|
915
1028
|
|
|
@@ -934,7 +1047,7 @@ Template
|
|
|
934
1047
|
|
|
935
1048
|
# Number Stepper
|
|
936
1049
|
|
|
937
|
-
Mero UI 1.
|
|
1050
|
+
Mero UI 1.2.0 · Workspace forms
|
|
938
1051
|
|
|
939
1052
|
Change a bounded quantity with the keyboard or step buttons.
|
|
940
1053
|
|
|
@@ -964,7 +1077,7 @@ Template
|
|
|
964
1077
|
|
|
965
1078
|
# File Input
|
|
966
1079
|
|
|
967
|
-
Mero UI 1.
|
|
1080
|
+
Mero UI 1.2.0 · Workspace forms
|
|
968
1081
|
|
|
969
1082
|
Choose a local product image and validate it on the server.
|
|
970
1083
|
|
|
@@ -995,7 +1108,7 @@ Template
|
|
|
995
1108
|
|
|
996
1109
|
# Drop Zone
|
|
997
1110
|
|
|
998
|
-
Mero UI 1.
|
|
1111
|
+
Mero UI 1.2.0 · Workspace forms
|
|
999
1112
|
|
|
1000
1113
|
Drop an image or use the native file picker and check the file.
|
|
1001
1114
|
|
|
@@ -1028,7 +1141,7 @@ Template
|
|
|
1028
1141
|
|
|
1029
1142
|
# Rich Text Editor
|
|
1030
1143
|
|
|
1031
|
-
Mero UI 1.
|
|
1144
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1032
1145
|
|
|
1033
1146
|
Edit a short description with bold and italic text and preview the submitted result.
|
|
1034
1147
|
|
|
@@ -1062,7 +1175,7 @@ Template
|
|
|
1062
1175
|
|
|
1063
1176
|
# Joined Filter
|
|
1064
1177
|
|
|
1065
|
-
Mero UI 1.
|
|
1178
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1066
1179
|
|
|
1067
1180
|
Search and filter releases with one server request.
|
|
1068
1181
|
|
|
@@ -1089,12 +1202,14 @@ Template
|
|
|
1089
1202
|
|
|
1090
1203
|
# App Layout
|
|
1091
1204
|
|
|
1092
|
-
Mero UI 1.
|
|
1205
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1093
1206
|
|
|
1094
1207
|
A responsive workspace with a sidebar, content area and mobile navigation drawer.
|
|
1095
1208
|
|
|
1096
1209
|
## Default
|
|
1097
1210
|
|
|
1211
|
+
Give each page one h1 and decide where it lives: in the header bar at the top of the content, as here, or in a Page Header in the content, as in the Page Header in content variant, but not both. A title in the header bar is the h1 only when the page has no Page Header. The sidebar's workspace name is not a heading, because the sidebar is hidden at narrow widths. Keep the mero-skip-link as the shell's first focusable element so keyboard users can pass the navigation. It stays hidden until it receives keyboard focus. Its href names the id of the content region, which has tabindex="-1" so following the link moves focus there. When the shell is the whole page, make that region the page's main element, keeping its id and tabindex. To localise the label, change the link text in your template, for example to Naar inhoud; Mero adds no text of its own.
|
|
1212
|
+
|
|
1098
1213
|
Page assets
|
|
1099
1214
|
|
|
1100
1215
|
```html
|
|
@@ -1108,10 +1223,11 @@ Template
|
|
|
1108
1223
|
|
|
1109
1224
|
````html
|
|
1110
1225
|
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1226
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1111
1227
|
<aside class="mero-ws-side"><strong>Studio North</strong><nav aria-label="Workspace sidebar"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></aside>
|
|
1112
|
-
<div class="mero-ws-shell-main">
|
|
1228
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1113
1229
|
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1114
|
-
<header><small>Studio North</small><
|
|
1230
|
+
<header><small>Studio North</small><h1>Release room</h1></header>
|
|
1115
1231
|
<div class="mero-ws-summary"><span class="mero-ws-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
|
|
1116
1232
|
<a class="mero-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
|
|
1117
1233
|
</div>
|
|
@@ -1122,14 +1238,52 @@ Template
|
|
|
1122
1238
|
</section>
|
|
1123
1239
|
````
|
|
1124
1240
|
|
|
1241
|
+
## Page Header in content
|
|
1242
|
+
|
|
1243
|
+
Open the content with a Page Header that holds the page's h1, its description and actions.
|
|
1244
|
+
|
|
1245
|
+
When the content starts with a Page Header, its h1 is the page title. A title the header bar still shows is plain text, such as strong, not a heading, so the page keeps one h1.
|
|
1246
|
+
|
|
1247
|
+
Page assets
|
|
1248
|
+
|
|
1249
|
+
```html
|
|
1250
|
+
<link rel="stylesheet" href="/mero.css">
|
|
1251
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
1252
|
+
<script defer src="/mero.js"></script>
|
|
1253
|
+
<script defer src="/mero-workspace.js"></script>
|
|
1254
|
+
```
|
|
1255
|
+
|
|
1256
|
+
Template
|
|
1257
|
+
|
|
1258
|
+
````html
|
|
1259
|
+
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1260
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1261
|
+
<aside class="mero-ws-side"><strong>Studio North</strong><nav aria-label="Workspace sidebar"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></aside>
|
|
1262
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1263
|
+
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1264
|
+
<header><small>Studio North</small><strong>Release room</strong></header>
|
|
1265
|
+
<header class="mero-page-head">
|
|
1266
|
+
<div><h1>Spring collection</h1><p>Photography approved · 12 products</p></div>
|
|
1267
|
+
<div class="mero-page-head-actions"><a class="mero-button mero-button-sm mero-button-primary" href="/layouts/dashboard?view=inventory">Open inventory</a></div>
|
|
1268
|
+
</header>
|
|
1269
|
+
</div>
|
|
1270
|
+
<dialog class="mero-dialog mero-ws-drawer" aria-label="Workspace navigation"><div class="mero-dialog-body">
|
|
1271
|
+
<button class="mero-button mero-button-sm mero-button-secondary" type="button" data-mero-close autofocus>Close navigation</button>
|
|
1272
|
+
<nav aria-label="Mobile workspace"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav>
|
|
1273
|
+
</div></dialog>
|
|
1274
|
+
</section>
|
|
1275
|
+
````
|
|
1276
|
+
|
|
1125
1277
|
# Sidebar
|
|
1126
1278
|
|
|
1127
|
-
Mero UI 1.
|
|
1279
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1128
1280
|
|
|
1129
1281
|
Navigate the workspace from a side rail that becomes a drawer at narrow widths.
|
|
1130
1282
|
|
|
1131
1283
|
## Default
|
|
1132
1284
|
|
|
1285
|
+
Keep the mero-skip-link as the shell's first focusable element so keyboard users can pass the navigation. It stays hidden until it receives keyboard focus. Its href names the id of the content region, which has tabindex="-1" so following the link moves focus there. When the shell is the whole page, make that region the page's main element, keeping its id and tabindex. To localise the label, change the link text in your template, for example to Naar inhoud; Mero adds no text of its own.
|
|
1286
|
+
|
|
1133
1287
|
Page assets
|
|
1134
1288
|
|
|
1135
1289
|
```html
|
|
@@ -1143,10 +1297,11 @@ Template
|
|
|
1143
1297
|
|
|
1144
1298
|
````html
|
|
1145
1299
|
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1300
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1146
1301
|
<aside class="mero-ws-side"><strong>Studio North</strong><nav aria-label="Workspace sidebar"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></aside>
|
|
1147
|
-
<div class="mero-ws-shell-main">
|
|
1302
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1148
1303
|
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1149
|
-
<header><small>Studio North</small><
|
|
1304
|
+
<header><small>Studio North</small><h1>Workspace</h1></header>
|
|
1150
1305
|
<div class="mero-ws-summary"><span class="mero-ws-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
|
|
1151
1306
|
<a class="mero-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
|
|
1152
1307
|
</div>
|
|
@@ -1159,7 +1314,7 @@ Template
|
|
|
1159
1314
|
|
|
1160
1315
|
# Navbar
|
|
1161
1316
|
|
|
1162
|
-
Mero UI 1.
|
|
1317
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1163
1318
|
|
|
1164
1319
|
Place the workspace name and destinations in a wrapping top bar.
|
|
1165
1320
|
|
|
@@ -1182,7 +1337,7 @@ Template
|
|
|
1182
1337
|
|
|
1183
1338
|
# Command
|
|
1184
1339
|
|
|
1185
|
-
Mero UI 1.
|
|
1340
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1186
1341
|
|
|
1187
1342
|
Search local destinations and actions, then use the arrows and Enter to execute.
|
|
1188
1343
|
|
|
@@ -1222,7 +1377,7 @@ Template
|
|
|
1222
1377
|
|
|
1223
1378
|
# Context Menu
|
|
1224
1379
|
|
|
1225
|
-
Mero UI 1.
|
|
1380
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1226
1381
|
|
|
1227
1382
|
Open item actions with the visible button, a secondary click, or Shift F10.
|
|
1228
1383
|
|
|
@@ -1252,7 +1407,7 @@ Template
|
|
|
1252
1407
|
|
|
1253
1408
|
# Segment
|
|
1254
1409
|
|
|
1255
|
-
Mero UI 1.
|
|
1410
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1256
1411
|
|
|
1257
1412
|
Choose one display density in a compact segmented control.
|
|
1258
1413
|
|
|
@@ -1279,7 +1434,7 @@ Template
|
|
|
1279
1434
|
|
|
1280
1435
|
# Stepper
|
|
1281
1436
|
|
|
1282
|
-
Mero UI 1.
|
|
1437
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1283
1438
|
|
|
1284
1439
|
Move through validated project details and review the values before submitting.
|
|
1285
1440
|
|
|
@@ -1310,7 +1465,7 @@ Template
|
|
|
1310
1465
|
|
|
1311
1466
|
# Dock
|
|
1312
1467
|
|
|
1313
|
-
Mero UI 1.
|
|
1468
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1314
1469
|
|
|
1315
1470
|
Group frequently used workspace destinations in a compact navigation dock.
|
|
1316
1471
|
|
|
@@ -1335,7 +1490,7 @@ Template
|
|
|
1335
1490
|
|
|
1336
1491
|
# Megamenu
|
|
1337
1492
|
|
|
1338
|
-
Mero UI 1.
|
|
1493
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1339
1494
|
|
|
1340
1495
|
Explore grouped destinations from a native disclosure.
|
|
1341
1496
|
|
|
@@ -1360,7 +1515,7 @@ Template
|
|
|
1360
1515
|
|
|
1361
1516
|
# Floating Action Button
|
|
1362
1517
|
|
|
1363
|
-
Mero UI 1.
|
|
1518
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1364
1519
|
|
|
1365
1520
|
Reveal a small set of workspace shortcuts.
|
|
1366
1521
|
|
|
@@ -1385,7 +1540,7 @@ Template
|
|
|
1385
1540
|
|
|
1386
1541
|
# Resizable
|
|
1387
1542
|
|
|
1388
|
-
Mero UI 1.
|
|
1543
|
+
Mero UI 1.2.0 · Workspace tools
|
|
1389
1544
|
|
|
1390
1545
|
Resize two adjacent panels by dragging the divider or using the arrow keys.
|
|
1391
1546
|
|
|
@@ -1439,7 +1594,7 @@ Template
|
|
|
1439
1594
|
|
|
1440
1595
|
# Emoji Picker
|
|
1441
1596
|
|
|
1442
|
-
Mero UI 1.
|
|
1597
|
+
Mero UI 1.2.0 · Workspace tools
|
|
1443
1598
|
|
|
1444
1599
|
Search named reactions and submit the selected emoji as a form value.
|
|
1445
1600
|
|
|
@@ -1469,7 +1624,7 @@ Template
|
|
|
1469
1624
|
|
|
1470
1625
|
# Area Chart
|
|
1471
1626
|
|
|
1472
|
-
Mero UI 1.
|
|
1627
|
+
Mero UI 1.2.0 · Charts
|
|
1473
1628
|
|
|
1474
1629
|
Show the volume and shape of a series over time.
|
|
1475
1630
|
|
|
@@ -1504,7 +1659,7 @@ Template
|
|
|
1504
1659
|
|
|
1505
1660
|
# Bar Chart
|
|
1506
1661
|
|
|
1507
|
-
Mero UI 1.
|
|
1662
|
+
Mero UI 1.2.0 · Charts
|
|
1508
1663
|
|
|
1509
1664
|
Compare adjacent categories on a shared linear scale.
|
|
1510
1665
|
|
|
@@ -1539,7 +1694,7 @@ Template
|
|
|
1539
1694
|
|
|
1540
1695
|
# Chart Tooltip
|
|
1541
1696
|
|
|
1542
|
-
Mero UI 1.
|
|
1697
|
+
Mero UI 1.2.0 · Charts
|
|
1543
1698
|
|
|
1544
1699
|
Inspect the active data point using a pointer or keyboard.
|
|
1545
1700
|
|
|
@@ -1574,7 +1729,7 @@ Template
|
|
|
1574
1729
|
|
|
1575
1730
|
# Composed Chart
|
|
1576
1731
|
|
|
1577
|
-
Mero UI 1.
|
|
1732
|
+
Mero UI 1.2.0 · Charts
|
|
1578
1733
|
|
|
1579
1734
|
Compare actual volume with its target using columns and a line.
|
|
1580
1735
|
|
|
@@ -1609,7 +1764,7 @@ Template
|
|
|
1609
1764
|
|
|
1610
1765
|
# Line Chart
|
|
1611
1766
|
|
|
1612
|
-
Mero UI 1.
|
|
1767
|
+
Mero UI 1.2.0 · Charts
|
|
1613
1768
|
|
|
1614
1769
|
Trace changes across a reporting period.
|
|
1615
1770
|
|
|
@@ -1672,7 +1827,7 @@ Template
|
|
|
1672
1827
|
|
|
1673
1828
|
# Pie Chart
|
|
1674
1829
|
|
|
1675
|
-
Mero UI 1.
|
|
1830
|
+
Mero UI 1.2.0 · Charts
|
|
1676
1831
|
|
|
1677
1832
|
See how each collection contributes to total volume.
|
|
1678
1833
|
|
|
@@ -1707,7 +1862,7 @@ Template
|
|
|
1707
1862
|
|
|
1708
1863
|
# Radar Chart
|
|
1709
1864
|
|
|
1710
|
-
Mero UI 1.
|
|
1865
|
+
Mero UI 1.2.0 · Charts
|
|
1711
1866
|
|
|
1712
1867
|
Compare profiles across axes that use the same units.
|
|
1713
1868
|
|
|
@@ -1742,7 +1897,7 @@ Template
|
|
|
1742
1897
|
|
|
1743
1898
|
# Radial Chart
|
|
1744
1899
|
|
|
1745
|
-
Mero UI 1.
|
|
1900
|
+
Mero UI 1.2.0 · Charts
|
|
1746
1901
|
|
|
1747
1902
|
Compare categories as concentric rings against the largest category.
|
|
1748
1903
|
|
|
@@ -1777,7 +1932,7 @@ Template
|
|
|
1777
1932
|
|
|
1778
1933
|
# KPI
|
|
1779
1934
|
|
|
1780
|
-
Mero UI 1.
|
|
1935
|
+
Mero UI 1.2.0 · Metrics
|
|
1781
1936
|
|
|
1782
1937
|
Pair an exact figure with the reporting period it describes.
|
|
1783
1938
|
|
|
@@ -1800,7 +1955,7 @@ Template
|
|
|
1800
1955
|
|
|
1801
1956
|
# KPI Group
|
|
1802
1957
|
|
|
1803
|
-
Mero UI 1.
|
|
1958
|
+
Mero UI 1.2.0 · Metrics
|
|
1804
1959
|
|
|
1805
1960
|
Keep related measures on a common reporting period.
|
|
1806
1961
|
|
|
@@ -1823,7 +1978,7 @@ Template
|
|
|
1823
1978
|
|
|
1824
1979
|
# Emoji Reaction Button
|
|
1825
1980
|
|
|
1826
|
-
Mero UI 1.
|
|
1981
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
1827
1982
|
|
|
1828
1983
|
Add or remove a reaction while keeping its count visible.
|
|
1829
1984
|
|
|
@@ -1848,7 +2003,7 @@ Template
|
|
|
1848
2003
|
|
|
1849
2004
|
# Number Value
|
|
1850
2005
|
|
|
1851
|
-
Mero UI 1.
|
|
2006
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
1852
2007
|
|
|
1853
2008
|
Display a localized number with its machine-readable value.
|
|
1854
2009
|
|
|
@@ -1873,7 +2028,7 @@ Template
|
|
|
1873
2028
|
|
|
1874
2029
|
# Pressable Feedback
|
|
1875
2030
|
|
|
1876
|
-
Mero UI 1.
|
|
2031
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
1877
2032
|
|
|
1878
2033
|
Give a press a tactile response and keep its selected state visible.
|
|
1879
2034
|
|
|
@@ -1896,7 +2051,7 @@ Template
|
|
|
1896
2051
|
|
|
1897
2052
|
# Rating
|
|
1898
2053
|
|
|
1899
|
-
Mero UI 1.
|
|
2054
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
1900
2055
|
|
|
1901
2056
|
Choose a labelled score using native radio controls.
|
|
1902
2057
|
|
|
@@ -1921,7 +2076,7 @@ Template
|
|
|
1921
2076
|
|
|
1922
2077
|
# Trend Chip
|
|
1923
2078
|
|
|
1924
|
-
Mero UI 1.
|
|
2079
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
1925
2080
|
|
|
1926
2081
|
Label the direction and magnitude of a change.
|
|
1927
2082
|
|
|
@@ -1944,7 +2099,7 @@ Template
|
|
|
1944
2099
|
|
|
1945
2100
|
# Chain Of Thought
|
|
1946
2101
|
|
|
1947
|
-
Mero UI 1.
|
|
2102
|
+
Mero UI 1.2.0 · Conversation
|
|
1948
2103
|
|
|
1949
2104
|
Display a disclosure of observable execution steps for a report.
|
|
1950
2105
|
|
|
@@ -1969,7 +2124,7 @@ Template
|
|
|
1969
2124
|
|
|
1970
2125
|
# Chat Attachment
|
|
1971
2126
|
|
|
1972
|
-
Mero UI 1.
|
|
2127
|
+
Mero UI 1.2.0 · Conversation
|
|
1973
2128
|
|
|
1974
2129
|
Display a named file and provide a working download.
|
|
1975
2130
|
|
|
@@ -1994,7 +2149,7 @@ Template
|
|
|
1994
2149
|
|
|
1995
2150
|
# Chat Conversation
|
|
1996
2151
|
|
|
1997
|
-
Mero UI 1.
|
|
2152
|
+
Mero UI 1.2.0 · Conversation
|
|
1998
2153
|
|
|
1999
2154
|
Keep messages, controls and a composer in one scoped conversation.
|
|
2000
2155
|
|
|
@@ -2054,7 +2209,7 @@ Template
|
|
|
2054
2209
|
|
|
2055
2210
|
# Chat List View
|
|
2056
2211
|
|
|
2057
|
-
Mero UI 1.
|
|
2212
|
+
Mero UI 1.2.0 · Conversation
|
|
2058
2213
|
|
|
2059
2214
|
Open a conversation returned by the server.
|
|
2060
2215
|
|
|
@@ -2078,7 +2233,7 @@ Template
|
|
|
2078
2233
|
|
|
2079
2234
|
# Chat Loader
|
|
2080
2235
|
|
|
2081
|
-
Mero UI 1.
|
|
2236
|
+
Mero UI 1.2.0 · Conversation
|
|
2082
2237
|
|
|
2083
2238
|
Show a concise status while a response is being prepared.
|
|
2084
2239
|
|
|
@@ -2101,7 +2256,7 @@ Template
|
|
|
2101
2256
|
|
|
2102
2257
|
# Chat Message
|
|
2103
2258
|
|
|
2104
|
-
Mero UI 1.
|
|
2259
|
+
Mero UI 1.2.0 · Conversation
|
|
2105
2260
|
|
|
2106
2261
|
Distinguish the sender and keep the message readable after a swap.
|
|
2107
2262
|
|
|
@@ -2124,7 +2279,7 @@ Template
|
|
|
2124
2279
|
|
|
2125
2280
|
# Chat Message Actions
|
|
2126
2281
|
|
|
2127
|
-
Mero UI 1.
|
|
2282
|
+
Mero UI 1.2.0 · Conversation
|
|
2128
2283
|
|
|
2129
2284
|
Copy a reply or mark it as helpful.
|
|
2130
2285
|
|
|
@@ -2148,7 +2303,7 @@ Template
|
|
|
2148
2303
|
|
|
2149
2304
|
# Chat Source
|
|
2150
2305
|
|
|
2151
|
-
Mero UI 1.
|
|
2306
|
+
Mero UI 1.2.0 · Conversation
|
|
2152
2307
|
|
|
2153
2308
|
Open the exact data behind a generated summary.
|
|
2154
2309
|
|
|
@@ -2171,7 +2326,7 @@ Template
|
|
|
2171
2326
|
|
|
2172
2327
|
# Chat Tool
|
|
2173
2328
|
|
|
2174
|
-
Mero UI 1.
|
|
2329
|
+
Mero UI 1.2.0 · Conversation
|
|
2175
2330
|
|
|
2176
2331
|
Disclose the inputs and output of an application action.
|
|
2177
2332
|
|
|
@@ -2211,7 +2366,7 @@ Template
|
|
|
2211
2366
|
|
|
2212
2367
|
# Code Block
|
|
2213
2368
|
|
|
2214
|
-
Mero UI 1.
|
|
2369
|
+
Mero UI 1.2.0 · Conversation
|
|
2215
2370
|
|
|
2216
2371
|
Show a file caption, selectable code and a copy control.
|
|
2217
2372
|
|
|
@@ -2234,7 +2389,7 @@ Template
|
|
|
2234
2389
|
|
|
2235
2390
|
# Markdown
|
|
2236
2391
|
|
|
2237
|
-
Mero UI 1.
|
|
2392
|
+
Mero UI 1.2.0 · Conversation
|
|
2238
2393
|
|
|
2239
2394
|
Render a small safe subset of Markdown into semantic HTML.
|
|
2240
2395
|
|
|
@@ -2269,7 +2424,7 @@ Template
|
|
|
2269
2424
|
|
|
2270
2425
|
# Prompt Input
|
|
2271
2426
|
|
|
2272
|
-
Mero UI 1.
|
|
2427
|
+
Mero UI 1.2.0 · Conversation
|
|
2273
2428
|
|
|
2274
2429
|
Collect a question and submit it to a server-rendered response endpoint.
|
|
2275
2430
|
|
|
@@ -2300,7 +2455,7 @@ Template
|
|
|
2300
2455
|
|
|
2301
2456
|
# Prompt Suggestion
|
|
2302
2457
|
|
|
2303
|
-
Mero UI 1.
|
|
2458
|
+
Mero UI 1.2.0 · Conversation
|
|
2304
2459
|
|
|
2305
2460
|
Choose a suggested prompt, edit it, then send it.
|
|
2306
2461
|
|
|
@@ -2331,7 +2486,7 @@ Template
|
|
|
2331
2486
|
|
|
2332
2487
|
# Text Shimmer
|
|
2333
2488
|
|
|
2334
|
-
Mero UI 1.
|
|
2489
|
+
Mero UI 1.2.0 · Conversation
|
|
2335
2490
|
|
|
2336
2491
|
Indicate work in progress with a moving highlight across readable text.
|
|
2337
2492
|
|
|
@@ -2354,7 +2509,7 @@ Template
|
|
|
2354
2509
|
|
|
2355
2510
|
# Button
|
|
2356
2511
|
|
|
2357
|
-
Mero UI 1.
|
|
2512
|
+
Mero UI 1.2.0 · Buttons
|
|
2358
2513
|
|
|
2359
2514
|
Trigger an action with a consistent hierarchy of visual emphasis.
|
|
2360
2515
|
|
|
@@ -2459,7 +2614,7 @@ Template
|
|
|
2459
2614
|
|
|
2460
2615
|
# Action Button
|
|
2461
2616
|
|
|
2462
|
-
Mero UI 1.
|
|
2617
|
+
Mero UI 1.2.0 · Buttons
|
|
2463
2618
|
|
|
2464
2619
|
Run a server action and report whether it succeeded, was refused or has an unknown result.
|
|
2465
2620
|
|
|
@@ -2531,7 +2686,7 @@ Template
|
|
|
2531
2686
|
|
|
2532
2687
|
# Button Group
|
|
2533
2688
|
|
|
2534
|
-
Mero UI 1.
|
|
2689
|
+
Mero UI 1.2.0 · Buttons
|
|
2535
2690
|
|
|
2536
2691
|
Keep related actions together while preserving each button’s own label and focus.
|
|
2537
2692
|
|
|
@@ -2556,7 +2711,7 @@ Template
|
|
|
2556
2711
|
|
|
2557
2712
|
# Close Button
|
|
2558
2713
|
|
|
2559
|
-
Mero UI 1.
|
|
2714
|
+
Mero UI 1.2.0 · Buttons
|
|
2560
2715
|
|
|
2561
2716
|
Give a dialog an icon-only close action with an accessible name.
|
|
2562
2717
|
|
|
@@ -2588,7 +2743,7 @@ Template
|
|
|
2588
2743
|
|
|
2589
2744
|
# Toggle Button
|
|
2590
2745
|
|
|
2591
|
-
Mero UI 1.
|
|
2746
|
+
Mero UI 1.2.0 · Buttons
|
|
2592
2747
|
|
|
2593
2748
|
Represent a persistent on or off state with a pressed button.
|
|
2594
2749
|
|
|
@@ -2611,7 +2766,7 @@ Template
|
|
|
2611
2766
|
|
|
2612
2767
|
# Toggle Button Group
|
|
2613
2768
|
|
|
2614
|
-
Mero UI 1.
|
|
2769
|
+
Mero UI 1.2.0 · Buttons
|
|
2615
2770
|
|
|
2616
2771
|
Select one presentation mode from a connected set of controls.
|
|
2617
2772
|
|
|
@@ -2641,7 +2796,7 @@ Template
|
|
|
2641
2796
|
|
|
2642
2797
|
# Checkbox
|
|
2643
2798
|
|
|
2644
|
-
Mero UI 1.
|
|
2799
|
+
Mero UI 1.2.0 · Forms
|
|
2645
2800
|
|
|
2646
2801
|
Include an independent binary choice in a form.
|
|
2647
2802
|
|
|
@@ -2665,7 +2820,7 @@ Template
|
|
|
2665
2820
|
|
|
2666
2821
|
# Checkbox Group
|
|
2667
2822
|
|
|
2668
|
-
Mero UI 1.
|
|
2823
|
+
Mero UI 1.2.0 · Forms
|
|
2669
2824
|
|
|
2670
2825
|
Group related independent choices with a fieldset and legend.
|
|
2671
2826
|
|
|
@@ -2693,7 +2848,7 @@ Template
|
|
|
2693
2848
|
|
|
2694
2849
|
# Description
|
|
2695
2850
|
|
|
2696
|
-
Mero UI 1.
|
|
2851
|
+
Mero UI 1.2.0 · Forms
|
|
2697
2852
|
|
|
2698
2853
|
Connect persistent help text to a control.
|
|
2699
2854
|
|
|
@@ -2720,7 +2875,7 @@ Template
|
|
|
2720
2875
|
|
|
2721
2876
|
# Error Message
|
|
2722
2877
|
|
|
2723
|
-
Mero UI 1.
|
|
2878
|
+
Mero UI 1.2.0 · Forms
|
|
2724
2879
|
|
|
2725
2880
|
Present a form-level failure where the user can act on it.
|
|
2726
2881
|
|
|
@@ -2744,7 +2899,7 @@ Template
|
|
|
2744
2899
|
|
|
2745
2900
|
# Field Error
|
|
2746
2901
|
|
|
2747
|
-
Mero UI 1.
|
|
2902
|
+
Mero UI 1.2.0 · Forms
|
|
2748
2903
|
|
|
2749
2904
|
Associate a validation error with the field that needs attention.
|
|
2750
2905
|
|
|
@@ -2773,7 +2928,7 @@ Template
|
|
|
2773
2928
|
|
|
2774
2929
|
# Fieldset
|
|
2775
2930
|
|
|
2776
|
-
Mero UI 1.
|
|
2931
|
+
Mero UI 1.2.0 · Forms
|
|
2777
2932
|
|
|
2778
2933
|
Add a shared label to a related set of form controls.
|
|
2779
2934
|
|
|
@@ -2852,9 +3007,96 @@ Template
|
|
|
2852
3007
|
</div>
|
|
2853
3008
|
````
|
|
2854
3009
|
|
|
3010
|
+
# File Drop Zone
|
|
3011
|
+
|
|
3012
|
+
Mero UI 1.2.0 · Forms
|
|
3013
|
+
|
|
3014
|
+
Drop files on a large target or click it to use the native file picker.
|
|
3015
|
+
|
|
3016
|
+
## Default
|
|
3017
|
+
|
|
3018
|
+
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.
|
|
3019
|
+
|
|
3020
|
+
Page assets
|
|
3021
|
+
|
|
3022
|
+
```html
|
|
3023
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3024
|
+
<script defer src="/mero.js"></script>
|
|
3025
|
+
```
|
|
3026
|
+
|
|
3027
|
+
Template
|
|
3028
|
+
|
|
3029
|
+
````html
|
|
3030
|
+
<div class="mero-scope" data-mero-scope>
|
|
3031
|
+
<div class="mero-field">
|
|
3032
|
+
<label class="mero-label" for="demo-drop-zone">Import contacts</label>
|
|
3033
|
+
<div class="mero-drop-zone" data-mero-drop>
|
|
3034
|
+
<input class="mero-file" id="demo-drop-zone" name="import" type="file" accept=".csv,.xlsx" aria-describedby="demo-drop-zone-hint">
|
|
3035
|
+
<p aria-hidden="true"><strong>Drop a CSV or XLSX file</strong></p>
|
|
3036
|
+
<p id="demo-drop-zone-hint">or click to choose one, up to 5 MB</p>
|
|
3037
|
+
<span data-mero-file-name aria-live="polite"></span>
|
|
3038
|
+
</div>
|
|
3039
|
+
</div>
|
|
3040
|
+
</div>
|
|
3041
|
+
````
|
|
3042
|
+
|
|
3043
|
+
# File Field
|
|
3044
|
+
|
|
3045
|
+
Mero UI 1.2.0 · Forms
|
|
3046
|
+
|
|
3047
|
+
Choose a file with a native file input styled like Mero buttons.
|
|
3048
|
+
|
|
3049
|
+
## Default
|
|
3050
|
+
|
|
3051
|
+
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.
|
|
3052
|
+
|
|
3053
|
+
Page assets
|
|
3054
|
+
|
|
3055
|
+
```html
|
|
3056
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3057
|
+
<script defer src="/mero.js"></script>
|
|
3058
|
+
```
|
|
3059
|
+
|
|
3060
|
+
Template
|
|
3061
|
+
|
|
3062
|
+
````html
|
|
3063
|
+
<div class="mero-scope" data-mero-scope>
|
|
3064
|
+
<div class="mero-field">
|
|
3065
|
+
<label class="mero-label" for="demo-file-field">Favicon</label>
|
|
3066
|
+
<input class="mero-file" id="demo-file-field" name="favicon" type="file" accept="image/png,image/svg+xml" aria-describedby="demo-file-field-hint">
|
|
3067
|
+
<p class="mero-description" id="demo-file-field-hint">PNG or SVG, at least 512 px square.</p>
|
|
3068
|
+
</div>
|
|
3069
|
+
</div>
|
|
3070
|
+
````
|
|
3071
|
+
|
|
3072
|
+
## Error
|
|
3073
|
+
|
|
3074
|
+
Ask for a different file after the server rejected the last one.
|
|
3075
|
+
|
|
3076
|
+
Render aria-invalid and the error from your server. The browser cannot keep the rejected file, so the person chooses it again.
|
|
3077
|
+
|
|
3078
|
+
Page assets
|
|
3079
|
+
|
|
3080
|
+
```html
|
|
3081
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3082
|
+
<script defer src="/mero.js"></script>
|
|
3083
|
+
```
|
|
3084
|
+
|
|
3085
|
+
Template
|
|
3086
|
+
|
|
3087
|
+
````html
|
|
3088
|
+
<div class="mero-scope" data-mero-scope>
|
|
3089
|
+
<div class="mero-field">
|
|
3090
|
+
<label class="mero-label" for="demo-file-error">Watermark</label>
|
|
3091
|
+
<input class="mero-file" id="demo-file-error" name="watermark" type="file" accept="image/png" aria-invalid="true" aria-describedby="demo-file-error-message">
|
|
3092
|
+
<p class="mero-field-error" id="demo-file-error-message">The watermark must be a PNG under 1 MB.</p>
|
|
3093
|
+
</div>
|
|
3094
|
+
</div>
|
|
3095
|
+
````
|
|
3096
|
+
|
|
2855
3097
|
# Form
|
|
2856
3098
|
|
|
2857
|
-
Mero UI 1.
|
|
3099
|
+
Mero UI 1.2.0 · Forms
|
|
2858
3100
|
|
|
2859
3101
|
Submit native fields to the server and render an HTML response in place.
|
|
2860
3102
|
|
|
@@ -3042,7 +3284,7 @@ Template
|
|
|
3042
3284
|
|
|
3043
3285
|
# Input
|
|
3044
3286
|
|
|
3045
|
-
Mero UI 1.
|
|
3287
|
+
Mero UI 1.2.0 · Forms
|
|
3046
3288
|
|
|
3047
3289
|
A styled native input with browser validation and autocomplete.
|
|
3048
3290
|
|
|
@@ -3069,7 +3311,7 @@ Template
|
|
|
3069
3311
|
|
|
3070
3312
|
# Input Group
|
|
3071
3313
|
|
|
3072
|
-
Mero UI 1.
|
|
3314
|
+
Mero UI 1.2.0 · Forms
|
|
3073
3315
|
|
|
3074
3316
|
Combine a control and contextual prefix with a single outline.
|
|
3075
3317
|
|
|
@@ -3098,7 +3340,7 @@ Template
|
|
|
3098
3340
|
|
|
3099
3341
|
# Input OTP
|
|
3100
3342
|
|
|
3101
|
-
Mero UI 1.
|
|
3343
|
+
Mero UI 1.2.0 · Forms
|
|
3102
3344
|
|
|
3103
3345
|
Collect a six-digit code in one input with mobile autofill.
|
|
3104
3346
|
|
|
@@ -3127,7 +3369,7 @@ Template
|
|
|
3127
3369
|
|
|
3128
3370
|
# Label
|
|
3129
3371
|
|
|
3130
|
-
Mero UI 1.
|
|
3372
|
+
Mero UI 1.2.0 · Forms
|
|
3131
3373
|
|
|
3132
3374
|
Name an input and expand its activation area.
|
|
3133
3375
|
|
|
@@ -3154,7 +3396,7 @@ Template
|
|
|
3154
3396
|
|
|
3155
3397
|
# Number Field
|
|
3156
3398
|
|
|
3157
|
-
Mero UI 1.
|
|
3399
|
+
Mero UI 1.2.0 · Forms
|
|
3158
3400
|
|
|
3159
3401
|
Set numeric bounds and increments for a native field.
|
|
3160
3402
|
|
|
@@ -3181,7 +3423,7 @@ Template
|
|
|
3181
3423
|
|
|
3182
3424
|
# Radio Group
|
|
3183
3425
|
|
|
3184
|
-
Mero UI 1.
|
|
3426
|
+
Mero UI 1.2.0 · Forms
|
|
3185
3427
|
|
|
3186
3428
|
Choose exactly one option from a labeled set.
|
|
3187
3429
|
|
|
@@ -3209,7 +3451,7 @@ Template
|
|
|
3209
3451
|
|
|
3210
3452
|
# Search Field
|
|
3211
3453
|
|
|
3212
|
-
Mero UI 1.
|
|
3454
|
+
Mero UI 1.2.0 · Forms
|
|
3213
3455
|
|
|
3214
3456
|
Use a native search field with the platform’s clear affordance.
|
|
3215
3457
|
|
|
@@ -3278,7 +3520,7 @@ Template
|
|
|
3278
3520
|
|
|
3279
3521
|
# Text Area
|
|
3280
3522
|
|
|
3281
|
-
Mero UI 1.
|
|
3523
|
+
Mero UI 1.2.0 · Forms
|
|
3282
3524
|
|
|
3283
3525
|
Let users edit multiple lines of text with an optional autosizing surface.
|
|
3284
3526
|
|
|
@@ -3304,7 +3546,7 @@ Template
|
|
|
3304
3546
|
|
|
3305
3547
|
# Text Field
|
|
3306
3548
|
|
|
3307
|
-
Mero UI 1.
|
|
3549
|
+
Mero UI 1.2.0 · Forms
|
|
3308
3550
|
|
|
3309
3551
|
Compose a label, input, and hint into a reusable form field.
|
|
3310
3552
|
|
|
@@ -3331,7 +3573,7 @@ Template
|
|
|
3331
3573
|
|
|
3332
3574
|
# Calendar
|
|
3333
3575
|
|
|
3334
|
-
Mero UI 1.
|
|
3576
|
+
Mero UI 1.2.0 · Date and time
|
|
3335
3577
|
|
|
3336
3578
|
Navigate months and choose a day on an inline calendar rendered by the server.
|
|
3337
3579
|
|
|
@@ -3354,79 +3596,80 @@ Template
|
|
|
3354
3596
|
<div id="demo-calendar" class="mero-calendar">
|
|
3355
3597
|
<div class="mero-toolbar">
|
|
3356
3598
|
<button class="mero-button mero-button-sm mero-button-ghost mero-button-icon" type="button" id="calendar-prev"
|
|
3357
|
-
aria-label="Previous month" hx-get="/demo/catalog/calendar?month=2026-
|
|
3358
|
-
<strong id="demo-calendar-month">
|
|
3599
|
+
aria-label="Previous month" hx-get="/demo/catalog/calendar?month=2026-11" hx-target="closest .mero-calendar" hx-swap="outerHTML">‹</button>
|
|
3600
|
+
<strong id="demo-calendar-month">December 2026</strong>
|
|
3359
3601
|
<button class="mero-button mero-button-sm mero-button-ghost mero-button-icon" type="button" id="calendar-next"
|
|
3360
|
-
aria-label="Next month" hx-get="/demo/catalog/calendar?month=
|
|
3602
|
+
aria-label="Next month" hx-get="/demo/catalog/calendar?month=2027-01" hx-target="closest .mero-calendar" hx-swap="outerHTML">›</button>
|
|
3361
3603
|
</div>
|
|
3362
3604
|
<table class="mero-calendar-table" aria-labelledby="demo-calendar-month">
|
|
3363
3605
|
<thead><tr><th scope="col">Mon</th><th scope="col">Tue</th><th scope="col">Wed</th><th scope="col">Thu</th><th scope="col">Fri</th><th scope="col">Sat</th><th scope="col">Sun</th></tr></thead>
|
|
3364
|
-
<tbody><tr><td></td><td
|
|
3365
|
-
id="calendar-day-1" aria-label="
|
|
3366
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-06" hx-target="closest .mero-calendar" hx-swap="outerHTML">6</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3378
|
-
id="calendar-day-7" aria-label="Saturday, November 7, 2026" aria-pressed="false"
|
|
3379
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-07" hx-target="closest .mero-calendar" hx-swap="outerHTML">7</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3380
|
-
id="calendar-day-8" aria-label="Sunday, November 8, 2026" aria-pressed="false"
|
|
3381
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-08" hx-target="closest .mero-calendar" hx-swap="outerHTML">8</button></td></tr>
|
|
3606
|
+
<tbody><tr><td></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3607
|
+
id="calendar-day-1" aria-label="Tuesday, December 1, 2026" aria-pressed="false"
|
|
3608
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-01" hx-target="closest .mero-calendar" hx-swap="outerHTML">1</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3609
|
+
id="calendar-day-2" aria-label="Wednesday, December 2, 2026" aria-pressed="false" aria-current="date"
|
|
3610
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-02" hx-target="closest .mero-calendar" hx-swap="outerHTML">2</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3611
|
+
id="calendar-day-3" aria-label="Thursday, December 3, 2026" aria-pressed="false"
|
|
3612
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-03" hx-target="closest .mero-calendar" hx-swap="outerHTML">3</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3613
|
+
id="calendar-day-4" aria-label="Friday, December 4, 2026" aria-pressed="false"
|
|
3614
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-04" hx-target="closest .mero-calendar" hx-swap="outerHTML">4</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3615
|
+
id="calendar-day-5" aria-label="Saturday, December 5, 2026" aria-pressed="false"
|
|
3616
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-05" hx-target="closest .mero-calendar" hx-swap="outerHTML">5</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3617
|
+
id="calendar-day-6" aria-label="Sunday, December 6, 2026" aria-pressed="false"
|
|
3618
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-06" hx-target="closest .mero-calendar" hx-swap="outerHTML">6</button></td></tr>
|
|
3382
3619
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3383
|
-
id="calendar-day-
|
|
3384
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3385
|
-
id="calendar-day-
|
|
3386
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3387
|
-
id="calendar-day-
|
|
3388
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3389
|
-
id="calendar-day-
|
|
3390
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3391
|
-
id="calendar-day-
|
|
3392
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3393
|
-
id="calendar-day-
|
|
3394
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3395
|
-
id="calendar-day-
|
|
3396
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3620
|
+
id="calendar-day-7" aria-label="Monday, December 7, 2026" aria-pressed="false"
|
|
3621
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-07" hx-target="closest .mero-calendar" hx-swap="outerHTML">7</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3622
|
+
id="calendar-day-8" aria-label="Tuesday, December 8, 2026" aria-pressed="false"
|
|
3623
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-08" hx-target="closest .mero-calendar" hx-swap="outerHTML">8</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3624
|
+
id="calendar-day-9" aria-label="Wednesday, December 9, 2026" aria-pressed="false"
|
|
3625
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-09" hx-target="closest .mero-calendar" hx-swap="outerHTML">9</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3626
|
+
id="calendar-day-10" aria-label="Thursday, December 10, 2026" aria-pressed="false"
|
|
3627
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-10" hx-target="closest .mero-calendar" hx-swap="outerHTML">10</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3628
|
+
id="calendar-day-11" aria-label="Friday, December 11, 2026" aria-pressed="false"
|
|
3629
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-11" hx-target="closest .mero-calendar" hx-swap="outerHTML">11</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3630
|
+
id="calendar-day-12" aria-label="Saturday, December 12, 2026" aria-pressed="false"
|
|
3631
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-12" hx-target="closest .mero-calendar" hx-swap="outerHTML">12</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3632
|
+
id="calendar-day-13" aria-label="Sunday, December 13, 2026" aria-pressed="false"
|
|
3633
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-13" hx-target="closest .mero-calendar" hx-swap="outerHTML">13</button></td></tr>
|
|
3397
3634
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3398
|
-
id="calendar-day-
|
|
3399
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3400
|
-
id="calendar-day-
|
|
3401
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3402
|
-
id="calendar-day-
|
|
3403
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3404
|
-
id="calendar-day-
|
|
3405
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3406
|
-
id="calendar-day-
|
|
3407
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3408
|
-
id="calendar-day-
|
|
3409
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3410
|
-
id="calendar-day-
|
|
3411
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3635
|
+
id="calendar-day-14" aria-label="Monday, December 14, 2026" aria-pressed="false"
|
|
3636
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-14" hx-target="closest .mero-calendar" hx-swap="outerHTML">14</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3637
|
+
id="calendar-day-15" aria-label="Tuesday, December 15, 2026" aria-pressed="false"
|
|
3638
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-15" hx-target="closest .mero-calendar" hx-swap="outerHTML">15</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3639
|
+
id="calendar-day-16" aria-label="Wednesday, December 16, 2026" aria-pressed="false"
|
|
3640
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-16" hx-target="closest .mero-calendar" hx-swap="outerHTML">16</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3641
|
+
id="calendar-day-17" aria-label="Thursday, December 17, 2026" aria-pressed="false"
|
|
3642
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-17" hx-target="closest .mero-calendar" hx-swap="outerHTML">17</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3643
|
+
id="calendar-day-18" aria-label="Friday, December 18, 2026" aria-pressed="false"
|
|
3644
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-18" hx-target="closest .mero-calendar" hx-swap="outerHTML">18</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3645
|
+
id="calendar-day-19" aria-label="Saturday, December 19, 2026" aria-pressed="false"
|
|
3646
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-19" hx-target="closest .mero-calendar" hx-swap="outerHTML">19</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3647
|
+
id="calendar-day-20" aria-label="Sunday, December 20, 2026" aria-pressed="false"
|
|
3648
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-20" hx-target="closest .mero-calendar" hx-swap="outerHTML">20</button></td></tr>
|
|
3412
3649
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3413
|
-
id="calendar-day-
|
|
3414
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3415
|
-
id="calendar-day-
|
|
3416
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3417
|
-
id="calendar-day-
|
|
3418
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3419
|
-
id="calendar-day-
|
|
3420
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3421
|
-
id="calendar-day-
|
|
3422
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3423
|
-
id="calendar-day-
|
|
3424
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3425
|
-
id="calendar-day-
|
|
3426
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3650
|
+
id="calendar-day-21" aria-label="Monday, December 21, 2026" aria-pressed="false"
|
|
3651
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-21" hx-target="closest .mero-calendar" hx-swap="outerHTML">21</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3652
|
+
id="calendar-day-22" aria-label="Tuesday, December 22, 2026" aria-pressed="false"
|
|
3653
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-22" hx-target="closest .mero-calendar" hx-swap="outerHTML">22</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3654
|
+
id="calendar-day-23" aria-label="Wednesday, December 23, 2026" aria-pressed="false"
|
|
3655
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-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"
|
|
3656
|
+
id="calendar-day-24" aria-label="Thursday, December 24, 2026" aria-pressed="false"
|
|
3657
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-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"
|
|
3658
|
+
id="calendar-day-25" aria-label="Friday, December 25, 2026" aria-pressed="false"
|
|
3659
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-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"
|
|
3660
|
+
id="calendar-day-26" aria-label="Saturday, December 26, 2026" aria-pressed="false"
|
|
3661
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-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"
|
|
3662
|
+
id="calendar-day-27" aria-label="Sunday, December 27, 2026" aria-pressed="false"
|
|
3663
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-27" hx-target="closest .mero-calendar" hx-swap="outerHTML">27</button></td></tr>
|
|
3427
3664
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3428
|
-
id="calendar-day-
|
|
3429
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3665
|
+
id="calendar-day-28" aria-label="Monday, December 28, 2026" aria-pressed="false"
|
|
3666
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-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"
|
|
3667
|
+
id="calendar-day-29" aria-label="Tuesday, December 29, 2026" aria-pressed="false"
|
|
3668
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-29" hx-target="closest .mero-calendar" hx-swap="outerHTML">29</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3669
|
+
id="calendar-day-30" aria-label="Wednesday, December 30, 2026" aria-pressed="false"
|
|
3670
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-30" hx-target="closest .mero-calendar" hx-swap="outerHTML">30</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3671
|
+
id="calendar-day-31" aria-label="Thursday, December 31, 2026" aria-pressed="false"
|
|
3672
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-31" hx-target="closest .mero-calendar" hx-swap="outerHTML">31</button></td><td></td><td></td><td></td></tr></tbody>
|
|
3430
3673
|
</table>
|
|
3431
3674
|
<p class="mero-description" role="status">Choose a day.</p>
|
|
3432
3675
|
</div>
|
|
@@ -3435,7 +3678,7 @@ Template
|
|
|
3435
3678
|
|
|
3436
3679
|
# Date Field
|
|
3437
3680
|
|
|
3438
|
-
Mero UI 1.
|
|
3681
|
+
Mero UI 1.2.0 · Date and time
|
|
3439
3682
|
|
|
3440
3683
|
Enter a calendar date in the system’s preferred format.
|
|
3441
3684
|
|
|
@@ -3462,7 +3705,7 @@ Template
|
|
|
3462
3705
|
|
|
3463
3706
|
# Date Picker
|
|
3464
3707
|
|
|
3465
|
-
Mero UI 1.
|
|
3708
|
+
Mero UI 1.2.0 · Date and time
|
|
3466
3709
|
|
|
3467
3710
|
Choose a date with the browser’s calendar picker and native constraints.
|
|
3468
3711
|
|
|
@@ -3491,7 +3734,7 @@ Template
|
|
|
3491
3734
|
|
|
3492
3735
|
# Date Range Picker
|
|
3493
3736
|
|
|
3494
|
-
Mero UI 1.
|
|
3737
|
+
Mero UI 1.2.0 · Date and time
|
|
3495
3738
|
|
|
3496
3739
|
Collect the start and end dates of a range.
|
|
3497
3740
|
|
|
@@ -3530,7 +3773,7 @@ Template
|
|
|
3530
3773
|
|
|
3531
3774
|
# Range Calendar
|
|
3532
3775
|
|
|
3533
|
-
Mero UI 1.
|
|
3776
|
+
Mero UI 1.2.0 · Date and time
|
|
3534
3777
|
|
|
3535
3778
|
Build a range with two native calendar controls.
|
|
3536
3779
|
|
|
@@ -3569,7 +3812,7 @@ Template
|
|
|
3569
3812
|
|
|
3570
3813
|
# Time Field
|
|
3571
3814
|
|
|
3572
|
-
Mero UI 1.
|
|
3815
|
+
Mero UI 1.2.0 · Date and time
|
|
3573
3816
|
|
|
3574
3817
|
Choose a wall-clock time without a timezone conversion.
|
|
3575
3818
|
|
|
@@ -3598,7 +3841,7 @@ Template
|
|
|
3598
3841
|
|
|
3599
3842
|
# Accordion
|
|
3600
3843
|
|
|
3601
|
-
Mero UI 1.
|
|
3844
|
+
Mero UI 1.2.0 · Navigation
|
|
3602
3845
|
|
|
3603
3846
|
Disclose one section at a time using grouped native details.
|
|
3604
3847
|
|
|
@@ -3628,7 +3871,7 @@ Template
|
|
|
3628
3871
|
|
|
3629
3872
|
# Breadcrumbs
|
|
3630
3873
|
|
|
3631
|
-
Mero UI 1.
|
|
3874
|
+
Mero UI 1.2.0 · Navigation
|
|
3632
3875
|
|
|
3633
3876
|
Show the user’s current location and its parent pages.
|
|
3634
3877
|
|
|
@@ -3655,7 +3898,7 @@ Template
|
|
|
3655
3898
|
|
|
3656
3899
|
# Disclosure
|
|
3657
3900
|
|
|
3658
|
-
Mero UI 1.
|
|
3901
|
+
Mero UI 1.2.0 · Navigation
|
|
3659
3902
|
|
|
3660
3903
|
Reveal a single block of supplementary information.
|
|
3661
3904
|
|
|
@@ -3679,7 +3922,7 @@ Template
|
|
|
3679
3922
|
|
|
3680
3923
|
# Disclosure Group
|
|
3681
3924
|
|
|
3682
|
-
Mero UI 1.
|
|
3925
|
+
Mero UI 1.2.0 · Navigation
|
|
3683
3926
|
|
|
3684
3927
|
Present a collection of independently expandable sections.
|
|
3685
3928
|
|
|
@@ -3709,7 +3952,7 @@ Template
|
|
|
3709
3952
|
|
|
3710
3953
|
# Link
|
|
3711
3954
|
|
|
3712
|
-
Mero UI 1.
|
|
3955
|
+
Mero UI 1.2.0 · Navigation
|
|
3713
3956
|
|
|
3714
3957
|
Navigate to a real URL with native link semantics.
|
|
3715
3958
|
|
|
@@ -3730,7 +3973,7 @@ Template
|
|
|
3730
3973
|
|
|
3731
3974
|
# Pagination
|
|
3732
3975
|
|
|
3733
|
-
Mero UI 1.
|
|
3976
|
+
Mero UI 1.2.0 · Navigation
|
|
3734
3977
|
|
|
3735
3978
|
Navigate between result pages with server-rendered fragments.
|
|
3736
3979
|
|
|
@@ -3769,7 +4012,7 @@ Template
|
|
|
3769
4012
|
|
|
3770
4013
|
# Tabs
|
|
3771
4014
|
|
|
3772
|
-
Mero UI 1.
|
|
4015
|
+
Mero UI 1.2.0 · Navigation
|
|
3773
4016
|
|
|
3774
4017
|
Switch between labeled panels with mouse or arrow keys.
|
|
3775
4018
|
|
|
@@ -3856,7 +4099,7 @@ Template
|
|
|
3856
4099
|
|
|
3857
4100
|
# Alert Dialog
|
|
3858
4101
|
|
|
3859
|
-
Mero UI 1.
|
|
4102
|
+
Mero UI 1.2.0 · Overlays
|
|
3860
4103
|
|
|
3861
4104
|
Ask for confirmation on a decision that calls for attention.
|
|
3862
4105
|
|
|
@@ -3891,7 +4134,7 @@ Template
|
|
|
3891
4134
|
|
|
3892
4135
|
# Typed Confirmation
|
|
3893
4136
|
|
|
3894
|
-
Mero UI 1.
|
|
4137
|
+
Mero UI 1.2.0 · Overlays
|
|
3895
4138
|
|
|
3896
4139
|
Require an exact phrase before submitting a destructive action.
|
|
3897
4140
|
|
|
@@ -4050,7 +4293,7 @@ Template
|
|
|
4050
4293
|
|
|
4051
4294
|
# Drawer
|
|
4052
4295
|
|
|
4053
|
-
Mero UI 1.
|
|
4296
|
+
Mero UI 1.2.0 · Overlays
|
|
4054
4297
|
|
|
4055
4298
|
Open a full-height edge panel for work that benefits from more room.
|
|
4056
4299
|
|
|
@@ -4165,12 +4408,14 @@ Template
|
|
|
4165
4408
|
|
|
4166
4409
|
# Modal
|
|
4167
4410
|
|
|
4168
|
-
Mero UI 1.
|
|
4411
|
+
Mero UI 1.2.0 · Overlays
|
|
4169
4412
|
|
|
4170
4413
|
Open a centered, named dialog with native focus containment.
|
|
4171
4414
|
|
|
4172
4415
|
## Default
|
|
4173
4416
|
|
|
4417
|
+
The dialog is 28rem wide and keeps a 1.5rem gutter on narrow screens. Add mero-dialog-wide for 44rem, the width of a sheet, or set --mero-dialog-size on the dialog for another width; the gutter stays.
|
|
4418
|
+
|
|
4174
4419
|
Page assets
|
|
4175
4420
|
|
|
4176
4421
|
```html
|
|
@@ -4196,9 +4441,51 @@ Template
|
|
|
4196
4441
|
</div>
|
|
4197
4442
|
````
|
|
4198
4443
|
|
|
4444
|
+
## Wide
|
|
4445
|
+
|
|
4446
|
+
Give side-by-side content more room in a centered dialog.
|
|
4447
|
+
|
|
4448
|
+
Add mero-dialog-wide to a mero-dialog for 44rem. For another width, set --mero-dialog-size on the dialog itself, for example --mero-dialog-size: 36rem. Narrow screens keep Mero's 1.5rem gutter either way, so don't restate it in your own inline-size.
|
|
4449
|
+
|
|
4450
|
+
Page assets
|
|
4451
|
+
|
|
4452
|
+
```html
|
|
4453
|
+
<link rel="stylesheet" href="/mero.css">
|
|
4454
|
+
<script defer src="/mero.js"></script>
|
|
4455
|
+
```
|
|
4456
|
+
|
|
4457
|
+
Template
|
|
4458
|
+
|
|
4459
|
+
````html
|
|
4460
|
+
<div class="mero-scope" data-mero-scope>
|
|
4461
|
+
<button class="mero-button mero-button-primary" type="button" data-mero-open="demo-wide-dialog">Restore changes</button>
|
|
4462
|
+
<dialog class="mero-dialog mero-dialog-wide" id="demo-wide-dialog" aria-labelledby="demo-wide-dialog-title" aria-describedby="demo-wide-dialog-description">
|
|
4463
|
+
<div class="mero-dialog-body mero-stack">
|
|
4464
|
+
<div>
|
|
4465
|
+
<h2 class="mero-dialog-title" id="demo-wide-dialog-title">Restore changes</h2>
|
|
4466
|
+
<p class="mero-description" id="demo-wide-dialog-description">Compare each field before you restore it.</p>
|
|
4467
|
+
</div>
|
|
4468
|
+
<div class="mero-table-wrap">
|
|
4469
|
+
<table class="mero-table mero-table-compact">
|
|
4470
|
+
<thead><tr><th scope="col">Field</th><th scope="col">Recorded</th><th scope="col">Current</th><th scope="col">Restore to</th></tr></thead>
|
|
4471
|
+
<tbody>
|
|
4472
|
+
<tr><th scope="row">Name</th><td>Studio North</td><td>Studio North East</td><td>Studio North</td></tr>
|
|
4473
|
+
<tr><th scope="row">Region</th><td>Amsterdam</td><td>Rotterdam</td><td>Amsterdam</td></tr>
|
|
4474
|
+
</tbody>
|
|
4475
|
+
</table>
|
|
4476
|
+
</div>
|
|
4477
|
+
<div class="mero-dialog-footer">
|
|
4478
|
+
<button class="mero-button mero-button-secondary" type="button" data-mero-close autofocus>Cancel</button>
|
|
4479
|
+
<button class="mero-button mero-button-primary" type="button" data-mero-close>Restore</button>
|
|
4480
|
+
</div>
|
|
4481
|
+
</div>
|
|
4482
|
+
</dialog>
|
|
4483
|
+
</div>
|
|
4484
|
+
````
|
|
4485
|
+
|
|
4199
4486
|
# Command Menu
|
|
4200
4487
|
|
|
4201
|
-
Mero UI 1.
|
|
4488
|
+
Mero UI 1.2.0 · Overlays
|
|
4202
4489
|
|
|
4203
4490
|
Press Cmd or Ctrl K to search pages and actions returned by your server.
|
|
4204
4491
|
|
|
@@ -4243,7 +4530,7 @@ Template
|
|
|
4243
4530
|
|
|
4244
4531
|
# Popover
|
|
4245
4532
|
|
|
4246
|
-
Mero UI 1.
|
|
4533
|
+
Mero UI 1.2.0 · Overlays
|
|
4247
4534
|
|
|
4248
4535
|
Display contextual information using the browser’s top layer.
|
|
4249
4536
|
|
|
@@ -4272,7 +4559,7 @@ Template
|
|
|
4272
4559
|
|
|
4273
4560
|
# Sheet
|
|
4274
4561
|
|
|
4275
|
-
Mero UI 1.
|
|
4562
|
+
Mero UI 1.2.0 · Overlays
|
|
4276
4563
|
|
|
4277
4564
|
Present concise secondary content from the bottom edge.
|
|
4278
4565
|
|
|
@@ -4305,7 +4592,7 @@ Template
|
|
|
4305
4592
|
|
|
4306
4593
|
# Toast
|
|
4307
4594
|
|
|
4308
|
-
Mero UI 1.
|
|
4595
|
+
Mero UI 1.2.0 · Overlays
|
|
4309
4596
|
|
|
4310
4597
|
Announce a completed action without interrupting the current task.
|
|
4311
4598
|
|
|
@@ -4326,7 +4613,7 @@ Template
|
|
|
4326
4613
|
|
|
4327
4614
|
# Tooltip
|
|
4328
4615
|
|
|
4329
|
-
Mero UI 1.
|
|
4616
|
+
Mero UI 1.2.0 · Overlays
|
|
4330
4617
|
|
|
4331
4618
|
Show a brief hint on pointer hover or keyboard focus.
|
|
4332
4619
|
|
|
@@ -4352,7 +4639,7 @@ Template
|
|
|
4352
4639
|
|
|
4353
4640
|
# Dropdown
|
|
4354
4641
|
|
|
4355
|
-
Mero UI 1.
|
|
4642
|
+
Mero UI 1.2.0 · Collections
|
|
4356
4643
|
|
|
4357
4644
|
Open a compact list of actions or destinations.
|
|
4358
4645
|
|
|
@@ -4382,7 +4669,7 @@ Template
|
|
|
4382
4669
|
|
|
4383
4670
|
# Menu Button
|
|
4384
4671
|
|
|
4385
|
-
Mero UI 1.
|
|
4672
|
+
Mero UI 1.2.0 · Collections
|
|
4386
4673
|
|
|
4387
4674
|
Open row actions and move through them with the arrow keys.
|
|
4388
4675
|
|
|
@@ -4493,7 +4780,7 @@ Template
|
|
|
4493
4780
|
|
|
4494
4781
|
# List Box
|
|
4495
4782
|
|
|
4496
|
-
Mero UI 1.
|
|
4783
|
+
Mero UI 1.2.0 · Collections
|
|
4497
4784
|
|
|
4498
4785
|
Present a selectable collection with arrow-key navigation.
|
|
4499
4786
|
|
|
@@ -4522,7 +4809,7 @@ Template
|
|
|
4522
4809
|
|
|
4523
4810
|
# Tag Group
|
|
4524
4811
|
|
|
4525
|
-
Mero UI 1.
|
|
4812
|
+
Mero UI 1.2.0 · Collections
|
|
4526
4813
|
|
|
4527
4814
|
Display a small, labeled collection of metadata tags.
|
|
4528
4815
|
|
|
@@ -4547,7 +4834,7 @@ Template
|
|
|
4547
4834
|
|
|
4548
4835
|
# Slider
|
|
4549
4836
|
|
|
4550
|
-
Mero UI 1.
|
|
4837
|
+
Mero UI 1.2.0 · Controls
|
|
4551
4838
|
|
|
4552
4839
|
Choose a value from a bounded range.
|
|
4553
4840
|
|
|
@@ -4573,7 +4860,7 @@ Template
|
|
|
4573
4860
|
|
|
4574
4861
|
# Switch
|
|
4575
4862
|
|
|
4576
|
-
Mero UI 1.
|
|
4863
|
+
Mero UI 1.2.0 · Controls
|
|
4577
4864
|
|
|
4578
4865
|
Toggle one setting with a checkbox-backed switch.
|
|
4579
4866
|
|
|
@@ -4647,7 +4934,7 @@ Template
|
|
|
4647
4934
|
|
|
4648
4935
|
# Alert
|
|
4649
4936
|
|
|
4650
|
-
Mero UI 1.
|
|
4937
|
+
Mero UI 1.2.0 · Feedback
|
|
4651
4938
|
|
|
4652
4939
|
Place status or guidance alongside the content it describes.
|
|
4653
4940
|
|
|
@@ -4671,13 +4958,13 @@ Template
|
|
|
4671
4958
|
|
|
4672
4959
|
# Empty State
|
|
4673
4960
|
|
|
4674
|
-
Mero UI 1.
|
|
4961
|
+
Mero UI 1.2.0 · Feedback
|
|
4675
4962
|
|
|
4676
4963
|
Explain an empty result and give the user a relevant next action.
|
|
4677
4964
|
|
|
4678
4965
|
## Default
|
|
4679
4966
|
|
|
4680
|
-
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.
|
|
4967
|
+
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.
|
|
4681
4968
|
|
|
4682
4969
|
Page assets
|
|
4683
4970
|
|
|
@@ -4703,7 +4990,7 @@ Template
|
|
|
4703
4990
|
|
|
4704
4991
|
Explain why a filtered list is empty and how to widen it.
|
|
4705
4992
|
|
|
4706
|
-
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.
|
|
4993
|
+
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.
|
|
4707
4994
|
|
|
4708
4995
|
Page assets
|
|
4709
4996
|
|
|
@@ -4724,9 +5011,61 @@ Template
|
|
|
4724
5011
|
</div>
|
|
4725
5012
|
````
|
|
4726
5013
|
|
|
5014
|
+
## Access refused
|
|
5015
|
+
|
|
5016
|
+
Explain a refused page (403) with a lock glyph.
|
|
5017
|
+
|
|
5018
|
+
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.
|
|
5019
|
+
|
|
5020
|
+
Page assets
|
|
5021
|
+
|
|
5022
|
+
```html
|
|
5023
|
+
<link rel="stylesheet" href="/mero.css">
|
|
5024
|
+
<script defer src="/mero.js"></script>
|
|
5025
|
+
```
|
|
5026
|
+
|
|
5027
|
+
Template
|
|
5028
|
+
|
|
5029
|
+
````html
|
|
5030
|
+
<div class="mero-scope" data-mero-scope>
|
|
5031
|
+
<section class="mero-empty-state" aria-labelledby="empty-access-title">
|
|
5032
|
+
<span class="mero-empty-glyph mero-empty-glyph-lock" aria-hidden="true"></span>
|
|
5033
|
+
<h2 id="empty-access-title">Only administrators can open this page</h2>
|
|
5034
|
+
<p>You are signed in as a viewer. Ask an administrator of this workspace for access.</p>
|
|
5035
|
+
<a class="mero-button mero-button-outline mero-button-sm" href="/components/page-header">Back to overview</a>
|
|
5036
|
+
</section>
|
|
5037
|
+
</div>
|
|
5038
|
+
````
|
|
5039
|
+
|
|
5040
|
+
## Failure
|
|
5041
|
+
|
|
5042
|
+
Explain a failed load (500) with a warning glyph.
|
|
5043
|
+
|
|
5044
|
+
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.
|
|
5045
|
+
|
|
5046
|
+
Page assets
|
|
5047
|
+
|
|
5048
|
+
```html
|
|
5049
|
+
<link rel="stylesheet" href="/mero.css">
|
|
5050
|
+
<script defer src="/mero.js"></script>
|
|
5051
|
+
```
|
|
5052
|
+
|
|
5053
|
+
Template
|
|
5054
|
+
|
|
5055
|
+
````html
|
|
5056
|
+
<div class="mero-scope" data-mero-scope>
|
|
5057
|
+
<section class="mero-empty-state" aria-labelledby="empty-failure-title">
|
|
5058
|
+
<span class="mero-empty-glyph mero-empty-glyph-warning" aria-hidden="true"></span>
|
|
5059
|
+
<h2 id="empty-failure-title">The releases could not be loaded</h2>
|
|
5060
|
+
<p>The server returned an error. Try again in a moment.</p>
|
|
5061
|
+
<a class="mero-button mero-button-outline mero-button-sm" href="/components/empty-state">Try again</a>
|
|
5062
|
+
</section>
|
|
5063
|
+
</div>
|
|
5064
|
+
````
|
|
5065
|
+
|
|
4727
5066
|
# Meter
|
|
4728
5067
|
|
|
4729
|
-
Mero UI 1.
|
|
5068
|
+
Mero UI 1.2.0 · Feedback
|
|
4730
5069
|
|
|
4731
5070
|
Show a measurement between known bounds.
|
|
4732
5071
|
|
|
@@ -4753,7 +5092,7 @@ Template
|
|
|
4753
5092
|
|
|
4754
5093
|
# Live Progress
|
|
4755
5094
|
|
|
4756
|
-
Mero UI 1.
|
|
5095
|
+
Mero UI 1.2.0 · Feedback
|
|
4757
5096
|
|
|
4758
5097
|
Follow a deployment through to its final status.
|
|
4759
5098
|
|
|
@@ -4823,7 +5162,7 @@ Template
|
|
|
4823
5162
|
|
|
4824
5163
|
# Progress Bar
|
|
4825
5164
|
|
|
4826
|
-
Mero UI 1.
|
|
5165
|
+
Mero UI 1.2.0 · Feedback
|
|
4827
5166
|
|
|
4828
5167
|
Report measurable progress toward completion.
|
|
4829
5168
|
|
|
@@ -4849,7 +5188,7 @@ Template
|
|
|
4849
5188
|
|
|
4850
5189
|
# Progress Circle
|
|
4851
5190
|
|
|
4852
|
-
Mero UI 1.
|
|
5191
|
+
Mero UI 1.2.0 · Feedback
|
|
4853
5192
|
|
|
4854
5193
|
Show a completion value in a compact circular display.
|
|
4855
5194
|
|
|
@@ -4871,7 +5210,7 @@ Template
|
|
|
4871
5210
|
|
|
4872
5211
|
# Skeleton
|
|
4873
5212
|
|
|
4874
|
-
Mero UI 1.
|
|
5213
|
+
Mero UI 1.2.0 · Feedback
|
|
4875
5214
|
|
|
4876
5215
|
Reserve space for content while its HTML is loading.
|
|
4877
5216
|
|
|
@@ -4896,7 +5235,7 @@ Template
|
|
|
4896
5235
|
|
|
4897
5236
|
# Spinner
|
|
4898
5237
|
|
|
4899
|
-
Mero UI 1.
|
|
5238
|
+
Mero UI 1.2.0 · Feedback
|
|
4900
5239
|
|
|
4901
5240
|
Indicate that work is underway when the completion time is unknown.
|
|
4902
5241
|
|
|
@@ -4920,7 +5259,7 @@ Template
|
|
|
4920
5259
|
|
|
4921
5260
|
# Card
|
|
4922
5261
|
|
|
4923
|
-
Mero UI 1.
|
|
5262
|
+
Mero UI 1.2.0 · Layout
|
|
4924
5263
|
|
|
4925
5264
|
Group related content and an action into one compact surface.
|
|
4926
5265
|
|
|
@@ -5000,13 +5339,13 @@ Template
|
|
|
5000
5339
|
|
|
5001
5340
|
# Page Header
|
|
5002
5341
|
|
|
5003
|
-
Mero UI 1.
|
|
5342
|
+
Mero UI 1.2.0 · Layout
|
|
5004
5343
|
|
|
5005
5344
|
Open a page with its title, a short description and the page’s main actions.
|
|
5006
5345
|
|
|
5007
5346
|
## Default
|
|
5008
5347
|
|
|
5009
|
-
Use one per page, with the page’s h1. The description is a p inside the heading block. Actions sit at the end of the first row and wrap under the heading below 768 px. The layouts module uses the same class for its app pages.
|
|
5348
|
+
Use one per page, with the page’s h1. A page has one h1: in an app shell it is either the header bar’s title or this Page Header, not both. When the content starts with a Page Header, a title the header bar still shows is plain text, not a heading. App Layout shows both arrangements: the Default variant puts the h1 in the header bar, and the Page Header in content variant puts it here. The description is a p inside the heading block. Actions sit at the end of the first row and wrap under the heading below 768 px. The layouts module uses the same class for its app pages.
|
|
5010
5349
|
|
|
5011
5350
|
Page assets
|
|
5012
5351
|
|
|
@@ -5068,7 +5407,7 @@ Template
|
|
|
5068
5407
|
|
|
5069
5408
|
# Separator
|
|
5070
5409
|
|
|
5071
|
-
Mero UI 1.
|
|
5410
|
+
Mero UI 1.2.0 · Layout
|
|
5072
5411
|
|
|
5073
5412
|
Separate related content sections using a semantic rule.
|
|
5074
5413
|
|
|
@@ -5093,7 +5432,7 @@ Template
|
|
|
5093
5432
|
|
|
5094
5433
|
# Surface
|
|
5095
5434
|
|
|
5096
|
-
Mero UI 1.
|
|
5435
|
+
Mero UI 1.2.0 · Layout
|
|
5097
5436
|
|
|
5098
5437
|
Give related content a tonal background with shared theme tokens.
|
|
5099
5438
|
|
|
@@ -5117,7 +5456,7 @@ Template
|
|
|
5117
5456
|
|
|
5118
5457
|
# Toolbar
|
|
5119
5458
|
|
|
5120
|
-
Mero UI 1.
|
|
5459
|
+
Mero UI 1.2.0 · Layout
|
|
5121
5460
|
|
|
5122
5461
|
Keep nearby actions aligned and grouped by purpose.
|
|
5123
5462
|
|
|
@@ -5144,7 +5483,7 @@ Template
|
|
|
5144
5483
|
|
|
5145
5484
|
# Avatar
|
|
5146
5485
|
|
|
5147
|
-
Mero UI 1.
|
|
5486
|
+
Mero UI 1.2.0 · Media
|
|
5148
5487
|
|
|
5149
5488
|
Represent a person with initials and an accessible name.
|
|
5150
5489
|
|
|
@@ -5168,7 +5507,7 @@ Template
|
|
|
5168
5507
|
|
|
5169
5508
|
# Avatar Group
|
|
5170
5509
|
|
|
5171
|
-
Mero UI 1.
|
|
5510
|
+
Mero UI 1.2.0 · Media
|
|
5172
5511
|
|
|
5173
5512
|
Show a compact cluster of people associated with a workspace.
|
|
5174
5513
|
|
|
@@ -5193,7 +5532,7 @@ Template
|
|
|
5193
5532
|
|
|
5194
5533
|
# Autocomplete
|
|
5195
5534
|
|
|
5196
|
-
Mero UI 1.
|
|
5535
|
+
Mero UI 1.2.0 · Pickers
|
|
5197
5536
|
|
|
5198
5537
|
Request matching options from the server as a user types.
|
|
5199
5538
|
|
|
@@ -5273,7 +5612,7 @@ Template
|
|
|
5273
5612
|
|
|
5274
5613
|
# Combo Box
|
|
5275
5614
|
|
|
5276
|
-
Mero UI 1.
|
|
5615
|
+
Mero UI 1.2.0 · Pickers
|
|
5277
5616
|
|
|
5278
5617
|
Filter and select from suggestions already on the page.
|
|
5279
5618
|
|
|
@@ -5353,7 +5692,7 @@ Template
|
|
|
5353
5692
|
|
|
5354
5693
|
# Select
|
|
5355
5694
|
|
|
5356
|
-
Mero UI 1.
|
|
5695
|
+
Mero UI 1.2.0 · Pickers
|
|
5357
5696
|
|
|
5358
5697
|
Choose one of a fixed set of values using the platform’s picker.
|
|
5359
5698
|
|
|
@@ -5383,7 +5722,7 @@ Template
|
|
|
5383
5722
|
|
|
5384
5723
|
# Kbd
|
|
5385
5724
|
|
|
5386
|
-
Mero UI 1.
|
|
5725
|
+
Mero UI 1.2.0 · Typography
|
|
5387
5726
|
|
|
5388
5727
|
Format a keyboard shortcut with native semantics.
|
|
5389
5728
|
|
|
@@ -5435,7 +5774,7 @@ Template
|
|
|
5435
5774
|
|
|
5436
5775
|
# Typography
|
|
5437
5776
|
|
|
5438
|
-
Mero UI 1.
|
|
5777
|
+
Mero UI 1.2.0 · Typography
|
|
5439
5778
|
|
|
5440
5779
|
Apply the type scale to semantic content.
|
|
5441
5780
|
|
|
@@ -5483,7 +5822,7 @@ Template
|
|
|
5483
5822
|
|
|
5484
5823
|
# Badge
|
|
5485
5824
|
|
|
5486
|
-
Mero UI 1.
|
|
5825
|
+
Mero UI 1.2.0 · Data display
|
|
5487
5826
|
|
|
5488
5827
|
Label a status using text and a semantic tone.
|
|
5489
5828
|
|
|
@@ -5508,7 +5847,7 @@ Template
|
|
|
5508
5847
|
|
|
5509
5848
|
# Chip
|
|
5510
5849
|
|
|
5511
|
-
Mero UI 1.
|
|
5850
|
+
Mero UI 1.2.0 · Data display
|
|
5512
5851
|
|
|
5513
5852
|
Display a lightweight label for an attribute or filter value.
|
|
5514
5853
|
|
|
@@ -5529,7 +5868,7 @@ Template
|
|
|
5529
5868
|
|
|
5530
5869
|
# Description List
|
|
5531
5870
|
|
|
5532
|
-
Mero UI 1.
|
|
5871
|
+
Mero UI 1.2.0 · Data display
|
|
5533
5872
|
|
|
5534
5873
|
Show a record’s fields as label and value pairs.
|
|
5535
5874
|
|
|
@@ -5558,7 +5897,7 @@ Template
|
|
|
5558
5897
|
|
|
5559
5898
|
# Table
|
|
5560
5899
|
|
|
5561
|
-
Mero UI 1.
|
|
5900
|
+
Mero UI 1.2.0 · Data display
|
|
5562
5901
|
|
|
5563
5902
|
Show comparable records in a native table with column headers.
|
|
5564
5903
|
|
|
@@ -5645,7 +5984,7 @@ Template
|
|
|
5645
5984
|
|
|
5646
5985
|
# Sortable Table
|
|
5647
5986
|
|
|
5648
|
-
Mero UI 1.
|
|
5987
|
+
Mero UI 1.2.0 · Data display
|
|
5649
5988
|
|
|
5650
5989
|
Sort server-rendered rows from the column headers and open a row from anywhere in it.
|
|
5651
5990
|
|
|
@@ -5947,7 +6286,7 @@ Template
|
|
|
5947
6286
|
|
|
5948
6287
|
# Filter Chips
|
|
5949
6288
|
|
|
5950
|
-
Mero UI 1.
|
|
6289
|
+
Mero UI 1.2.0 · Data display
|
|
5951
6290
|
|
|
5952
6291
|
Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
|
|
5953
6292
|
|
|
@@ -6095,7 +6434,7 @@ Template
|
|
|
6095
6434
|
|
|
6096
6435
|
# Color Area
|
|
6097
6436
|
|
|
6098
|
-
Mero UI 1.
|
|
6437
|
+
Mero UI 1.2.0 · Colors
|
|
6099
6438
|
|
|
6100
6439
|
Open a browser-managed color surface and submit the selected color.
|
|
6101
6440
|
|
|
@@ -6124,7 +6463,7 @@ Template
|
|
|
6124
6463
|
|
|
6125
6464
|
# Color Field
|
|
6126
6465
|
|
|
6127
|
-
Mero UI 1.
|
|
6466
|
+
Mero UI 1.2.0 · Colors
|
|
6128
6467
|
|
|
6129
6468
|
Enter a six-digit hex value directly in a text field.
|
|
6130
6469
|
|
|
@@ -6153,7 +6492,7 @@ Template
|
|
|
6153
6492
|
|
|
6154
6493
|
# Color Picker
|
|
6155
6494
|
|
|
6156
|
-
Mero UI 1.
|
|
6495
|
+
Mero UI 1.2.0 · Colors
|
|
6157
6496
|
|
|
6158
6497
|
Choose a color using the native picker UI.
|
|
6159
6498
|
|
|
@@ -6180,7 +6519,7 @@ Template
|
|
|
6180
6519
|
|
|
6181
6520
|
# Color Slider
|
|
6182
6521
|
|
|
6183
|
-
Mero UI 1.
|
|
6522
|
+
Mero UI 1.2.0 · Colors
|
|
6184
6523
|
|
|
6185
6524
|
Adjust a hue along the color spectrum.
|
|
6186
6525
|
|
|
@@ -6210,7 +6549,7 @@ Template
|
|
|
6210
6549
|
|
|
6211
6550
|
# Color Swatch
|
|
6212
6551
|
|
|
6213
|
-
Mero UI 1.
|
|
6552
|
+
Mero UI 1.2.0 · Colors
|
|
6214
6553
|
|
|
6215
6554
|
Show a color with its human-readable label.
|
|
6216
6555
|
|
|
@@ -6235,7 +6574,7 @@ Template
|
|
|
6235
6574
|
|
|
6236
6575
|
# Scroll Shadow
|
|
6237
6576
|
|
|
6238
|
-
Mero UI 1.
|
|
6577
|
+
Mero UI 1.2.0 · Utilities
|
|
6239
6578
|
|
|
6240
6579
|
Expose a scrollable region with a visual cue that more content is available.
|
|
6241
6580
|
|
|
@@ -6265,7 +6604,7 @@ Template
|
|
|
6265
6604
|
|
|
6266
6605
|
# Visually Hidden
|
|
6267
6606
|
|
|
6268
|
-
Mero UI 1.
|
|
6607
|
+
Mero UI 1.2.0 · Utilities
|
|
6269
6608
|
|
|
6270
6609
|
Give screen readers context that the visible text leaves implied.
|
|
6271
6610
|
|
|
@@ -6291,7 +6630,7 @@ Template
|
|
|
6291
6630
|
|
|
6292
6631
|
# Join
|
|
6293
6632
|
|
|
6294
|
-
Mero UI 1.
|
|
6633
|
+
Mero UI 1.2.0 · Composition
|
|
6295
6634
|
|
|
6296
6635
|
Connect related controls with a shared outline.
|
|
6297
6636
|
|
|
@@ -6314,7 +6653,7 @@ Template
|
|
|
6314
6653
|
|
|
6315
6654
|
# Menu
|
|
6316
6655
|
|
|
6317
|
-
Mero UI 1.
|
|
6656
|
+
Mero UI 1.2.0 · Composition
|
|
6318
6657
|
|
|
6319
6658
|
Group destinations with an active page and section labels.
|
|
6320
6659
|
|
|
@@ -6337,7 +6676,7 @@ Template
|
|
|
6337
6676
|
|
|
6338
6677
|
# Hero
|
|
6339
6678
|
|
|
6340
|
-
Mero UI 1.
|
|
6679
|
+
Mero UI 1.2.0 · Composition
|
|
6341
6680
|
|
|
6342
6681
|
Pair a product introduction with a single destination.
|
|
6343
6682
|
|
|
@@ -6362,7 +6701,7 @@ Template
|
|
|
6362
6701
|
|
|
6363
6702
|
# Footer
|
|
6364
6703
|
|
|
6365
|
-
Mero UI 1.
|
|
6704
|
+
Mero UI 1.2.0 · Composition
|
|
6366
6705
|
|
|
6367
6706
|
Close a workspace with a small group of navigation links.
|
|
6368
6707
|
|
|
@@ -6385,7 +6724,7 @@ Template
|
|
|
6385
6724
|
|
|
6386
6725
|
# Theme Controller
|
|
6387
6726
|
|
|
6388
|
-
Mero UI 1.
|
|
6727
|
+
Mero UI 1.2.0 · Composition
|
|
6389
6728
|
|
|
6390
6729
|
Set a theme inside one section of a page.
|
|
6391
6730
|
|
|
@@ -6408,7 +6747,7 @@ Template
|
|
|
6408
6747
|
|
|
6409
6748
|
# Validator
|
|
6410
6749
|
|
|
6411
|
-
Mero UI 1.
|
|
6750
|
+
Mero UI 1.2.0 · Composition
|
|
6412
6751
|
|
|
6413
6752
|
Show a native field constraint and its correction with zero JavaScript.
|
|
6414
6753
|
|
|
@@ -6454,7 +6793,7 @@ Template
|
|
|
6454
6793
|
|
|
6455
6794
|
# Aura
|
|
6456
6795
|
|
|
6457
|
-
Mero UI 1.
|
|
6796
|
+
Mero UI 1.2.0 · Display utilities
|
|
6458
6797
|
|
|
6459
6798
|
Frame an interactive surface with a subtle moving highlight.
|
|
6460
6799
|
|
|
@@ -6477,7 +6816,7 @@ Template
|
|
|
6477
6816
|
|
|
6478
6817
|
# Countdown
|
|
6479
6818
|
|
|
6480
|
-
Mero UI 1.
|
|
6819
|
+
Mero UI 1.2.0 · Display utilities
|
|
6481
6820
|
|
|
6482
6821
|
Show the time remaining until the next daily shipping cutoff.
|
|
6483
6822
|
|
|
@@ -6502,7 +6841,7 @@ Template
|
|
|
6502
6841
|
|
|
6503
6842
|
# Indicator
|
|
6504
6843
|
|
|
6505
|
-
Mero UI 1.
|
|
6844
|
+
Mero UI 1.2.0 · Display utilities
|
|
6506
6845
|
|
|
6507
6846
|
Anchor a quantity to an icon or action.
|
|
6508
6847
|
|
|
@@ -6525,7 +6864,7 @@ Template
|
|
|
6525
6864
|
|
|
6526
6865
|
# Mask
|
|
6527
6866
|
|
|
6528
|
-
Mero UI 1.
|
|
6867
|
+
Mero UI 1.2.0 · Display utilities
|
|
6529
6868
|
|
|
6530
6869
|
Crop an image while keeping its alternative text.
|
|
6531
6870
|
|
|
@@ -6550,7 +6889,7 @@ Template
|
|
|
6550
6889
|
|
|
6551
6890
|
# Stack
|
|
6552
6891
|
|
|
6553
|
-
Mero UI 1.
|
|
6892
|
+
Mero UI 1.2.0 · Display utilities
|
|
6554
6893
|
|
|
6555
6894
|
Layer related previews while keeping the current item legible.
|
|
6556
6895
|
|
|
@@ -6575,7 +6914,7 @@ Template
|
|
|
6575
6914
|
|
|
6576
6915
|
# Status
|
|
6577
6916
|
|
|
6578
|
-
Mero UI 1.
|
|
6917
|
+
Mero UI 1.2.0 · Display utilities
|
|
6579
6918
|
|
|
6580
6919
|
Show system status with a label and a visual marker.
|
|
6581
6920
|
|
|
@@ -6598,7 +6937,7 @@ Template
|
|
|
6598
6937
|
|
|
6599
6938
|
# Swap
|
|
6600
6939
|
|
|
6601
|
-
Mero UI 1.
|
|
6940
|
+
Mero UI 1.2.0 · Display utilities
|
|
6602
6941
|
|
|
6603
6942
|
Switch between two labels or icons on a native control.
|
|
6604
6943
|
|
|
@@ -6621,7 +6960,7 @@ Template
|
|
|
6621
6960
|
|
|
6622
6961
|
# Text Rotate
|
|
6623
6962
|
|
|
6624
|
-
Mero UI 1.
|
|
6963
|
+
Mero UI 1.2.0 · Display utilities
|
|
6625
6964
|
|
|
6626
6965
|
Rotate through short messages with explicit playback controls.
|
|
6627
6966
|
|
|
@@ -6644,7 +6983,7 @@ Template
|
|
|
6644
6983
|
|
|
6645
6984
|
# Browser Mockup
|
|
6646
6985
|
|
|
6647
|
-
Mero UI 1.
|
|
6986
|
+
Mero UI 1.2.0 · Mockups
|
|
6648
6987
|
|
|
6649
6988
|
Present a site preview inside a compact browser frame.
|
|
6650
6989
|
|
|
@@ -6669,7 +7008,7 @@ Template
|
|
|
6669
7008
|
|
|
6670
7009
|
# Phone Mockup
|
|
6671
7010
|
|
|
6672
|
-
Mero UI 1.
|
|
7011
|
+
Mero UI 1.2.0 · Mockups
|
|
6673
7012
|
|
|
6674
7013
|
Frame a mobile product screen.
|
|
6675
7014
|
|
|
@@ -6694,7 +7033,7 @@ Template
|
|
|
6694
7033
|
|
|
6695
7034
|
# Window Mockup
|
|
6696
7035
|
|
|
6697
|
-
Mero UI 1.
|
|
7036
|
+
Mero UI 1.2.0 · Mockups
|
|
6698
7037
|
|
|
6699
7038
|
Place a desktop tool inside a labelled window.
|
|
6700
7039
|
|
|
@@ -6717,7 +7056,7 @@ Template
|
|
|
6717
7056
|
|
|
6718
7057
|
# Code Mockup
|
|
6719
7058
|
|
|
6720
|
-
Mero UI 1.
|
|
7059
|
+
Mero UI 1.2.0 · Mockups
|
|
6721
7060
|
|
|
6722
7061
|
Present a terminal command and its output.
|
|
6723
7062
|
|