@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
package/agent-docs/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Mero UI 1.
|
|
1
|
+
# Mero UI 1.2.0 integration patterns
|
|
2
2
|
|
|
3
3
|
## Install a component
|
|
4
4
|
|
|
@@ -26,7 +26,7 @@ event.detail: `{ value, option } or { values, added, removed, option }`. On a li
|
|
|
26
26
|
|
|
27
27
|
### mero:tab
|
|
28
28
|
|
|
29
|
-
Fires on the newly selected tab when a person changes the tab with a click, an arrow key, Home or End, after the tabs and panels are updated. It does not fire for the tab selected at load, or when the selected tab is chosen again.
|
|
29
|
+
Fires on the newly selected tab when a person changes the tab with a click, an arrow key, Home or End, or a script calls `MeroUI.selectTab` without `silent`, after the tabs and panels are updated. It does not fire for the tab selected at load, or when the selected tab is chosen again.
|
|
30
30
|
|
|
31
31
|
event.detail: `{ tab, panel }`. `tab` is the selected tab. `panel` is the element its `aria-controls` names, or `null` when there is none.
|
|
32
32
|
|
|
@@ -86,6 +86,12 @@ Fires on a card after it moves to another lane. Requires `mero-collections.js`.
|
|
|
86
86
|
|
|
87
87
|
event.detail: `{ card, from, to }`. `from` and `to` are the lanes’ `data-lane` values.
|
|
88
88
|
|
|
89
|
+
### mero:reorder
|
|
90
|
+
|
|
91
|
+
Fires on a row of a `data-mero-reorder` list after it moves up or down by Alt+Up Arrow, Alt+Down Arrow or a `data-mero-reorder-move` control. Moves past the first or last row do nothing and fire nothing. To save each move, set `hx-trigger="mero:reorder"` and `hx-sync="this:queue last"` on the enclosing form; without `queue last`, moves made while a save is in flight can leave the server one move behind. Requires `mero-collections.js`.
|
|
92
|
+
|
|
93
|
+
event.detail: `{ id, row, from, to, order }`. `id` is the row’s `data-mero-reorder-id` and `row` is the row element. `from` and `to` are its zero-based indexes before and after the move. `order` is the array of every row’s `data-mero-reorder-id` in the new order.
|
|
94
|
+
|
|
89
95
|
### mero:reaction
|
|
90
96
|
|
|
91
97
|
Fires on a reaction button after its count and pressed state change. Requires `mero-insights.js`.
|
|
@@ -133,6 +139,10 @@ Sets up tabs, listboxes, comboboxes, auto-opening dialogs, and—when loaded—`
|
|
|
133
139
|
|
|
134
140
|
Tears down Mero state inside `root` before removing it outside htmx: stops and aborts `data-mero-live` polls, clears tracked tooltips and closes any open row preview in `root`.
|
|
135
141
|
|
|
142
|
+
### MeroUI.selectTab(tab, { focus, silent })
|
|
143
|
+
|
|
144
|
+
Selects a tab inside `data-mero-tabs` the way a person choosing it would, without a synthetic click: updates the tabs and panels, then fires `mero:tab` if the selection changed. Set `focus: true` to move focus to the tab, or `silent: true` to skip the event, for example when restoring a tab after a swap. Returns whether the selection changed. Does nothing and returns `false` for a disabled tab, a tab outside `data-mero-tabs` or one outside the current document.
|
|
145
|
+
|
|
136
146
|
### MeroUI.configure({ messages, locale, dialogBackdrop })
|
|
137
147
|
|
|
138
148
|
Configures runtime strings (`messages`), default formatting locale (`locale`, or `"document"` / `"browser"`) and backdrop light-dismiss scope (`dialogBackdrop`: `"mero-only"` by default, or `"all"`). Returns the resolved configuration snapshot.
|
|
@@ -142,7 +152,7 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
142
152
|
### Core · mero.js
|
|
143
153
|
|
|
144
154
|
- `data-mero-open` — On a button. The value is the ID of the `<dialog>` to open as a modal.
|
|
145
|
-
- `data-mero-close` — On a control inside a dialog. Closes it. The value becomes the dialog’s `returnValue`.
|
|
155
|
+
- `data-mero-close` — On a control inside a dialog. Closes it. The value becomes the dialog’s `returnValue`. A submit button still submits its form, including one named by `form=`, unless the effective method is `dialog`: the button’s `formmethod` when set, otherwise the form’s `method`. So `formmethod="dialog"` in a POST form only closes, and `formmethod="post"` in a `method="dialog"` form submits.
|
|
146
156
|
- `data-mero-autoopen` — On a dialog. Opens it as soon as it is on the page or swapped in.
|
|
147
157
|
- `data-mero-static` — On a dialog. A click on the backdrop does not close it.
|
|
148
158
|
- `data-mero-dialog` — On a dialog without `.mero-dialog`. Opts the dialog into backdrop light-dismiss under the default `dialogBackdrop: "mero-only"` mode.
|
|
@@ -168,7 +178,7 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
168
178
|
- `data-mero-active` (set by Mero) — On the option highlighted with the keyboard.
|
|
169
179
|
- `data-mero-combo-pending` (set by Mero) — On the combobox input while a request for options is in flight.
|
|
170
180
|
- `data-mero-combo-error` (set by Mero) — On the combobox input after a request for options failed.
|
|
171
|
-
- `data-mero-combo-dismissed` (set by Mero) — On the combobox input after Escape. Dismissal clears the active option and
|
|
181
|
+
- `data-mero-combo-dismissed` (set by Mero) — On the combobox input after Escape. Dismissal clears the active option and keeps results closed through late responses and swaps inside the combo, until the person types or presses Arrow Down. Arrow Down requests fresh options when the server has yet to confirm the current query.
|
|
172
182
|
- `data-mero-error` (set by Mero) — On the combobox status element while it shows an error.
|
|
173
183
|
- `data-mero-tooltip-below` (set by Mero) — On a tooltip placed below its anchor because there is no room above.
|
|
174
184
|
- `data-mero-tooltip-dismissed` (set by Mero) — On a tooltip closed with Escape, until the pointer and focus leave it.
|
|
@@ -181,6 +191,9 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
181
191
|
- `data-mero-restore-focus` — On a list container. After Back to this page, focuses the link in it that was opened. Links are matched by `href`.
|
|
182
192
|
- `data-mero-copy-target` — On a button. A selector for an input, textarea or element whose value or text the button copies, then confirms with a “Copied” notification. When the browser blocks clipboard access, Mero selects the text instead. Prefer it for secrets. See the [Button](components/button.md) Copy to clipboard variant.
|
|
183
193
|
- `data-mero-copy-message` — With `data-mero-copy` or `data-mero-copy-target`. Replaces the “Copied” notification.
|
|
194
|
+
- `data-mero-drop` — On a `.mero-drop-zone` around one file input. Dropping files anywhere on it fills that input, whatever its `name` (only the first file unless it has `multiple`), and fires `input` and `change`. Mero sets `data-dragging` on the zone while files are over it. A disabled input, or one inside a disabled fieldset, ignores drops. Without scripts the native input shows inside the zone with its own file name. See the [File Drop Zone](components/file-drop-zone.md).
|
|
195
|
+
- `data-mero-drop-ready` (set by Mero) — On a `data-mero-drop` zone once `MeroUI.init` has run. The stylesheet then lays the file input over the whole zone, so a click or a drop anywhere reaches it.
|
|
196
|
+
- `data-mero-file-name` — Inside a `data-mero-drop` zone or a `.mero-field`. Mero writes the names of the files chosen in that file input, separated by commas, and empties it when the input's form resets. Hidden while empty. Add `aria-live="polite"` to announce the change. See the [File Field](components/file-field.md).
|
|
184
197
|
- `data-mero-time` — On a `<time datetime>`. Rewrites its text in the resolved locale and reader’s time zone: `absolute` (date and time), `date`, `time` or `relative` (“5 minutes ago”, refreshed every minute, with the full date in `title`). Follows a differing `[lang]` ancestor automatically, or `data-mero-locale` / `MeroUI.configure({ locale })`. Render the UTC time as its text for readers without scripts. See the [Typography](components/typography.md) Local time variant.
|
|
185
198
|
- `data-mero-locale` — On a `<time data-mero-time>`, a `data-mero-live` region or an ancestor. Overrides the BCP-47 locale used to format dates and times, or accepts `document` (follow `[lang]`) or `browser` (always use the browser locale).
|
|
186
199
|
- `data-mero-shortcut` — On a control. A single key such as `/` or `n`, or a two-key sequence such as `g r`, that focuses a field or clicks anything else. Ignored while typing in a field, in a menu, list, tab list, grid or combobox, with Ctrl, Cmd or Alt held, and outside an open modal dialog. Mero sets `aria-keyshortcuts` for single keys. See the [Kbd](components/kbd.md) Keyboard shortcuts variant.
|
|
@@ -200,7 +213,8 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
200
213
|
- `data-mero-confirm-reason` — On the optional reason field. Add `required` to require a non-empty, trimmed value.
|
|
201
214
|
- `data-mero-confirm-submit` — On the danger submit button. Render it disabled until the phrase and any required reason are ready.
|
|
202
215
|
- `data-mero-confirm-hint` — A polite status in the form explaining what still needs to be entered. Associate it with the input and the confirm button.
|
|
203
|
-
- `data-mero-form` — On a form that htmx submits. Disables its submit buttons and marks editable fields and multi-select containers `inert` while the request runs (without affecting submitted form data; pass `data-mero-form="keep-editable"` for composers that preserve mid-flight drafts), swaps in the replacement form on HTTP 422 and focuses the first invalid field. Reports the outcome like `data-mero-action`: the submitter gets `data-mero-action-state`, the form fires `mero:action`, and `Mero-Action-Outcome` and `Mero-Action-Message` override the state and the error text. A `mero:form-saved` trigger only acts on a succeeded outcome. A succeeded `Mero-Action-Message` shows as a toast.
|
|
216
|
+
- `data-mero-form` — On a form that htmx submits. Disables its submit buttons and marks editable fields and multi-select containers `inert` while the request runs (without affecting submitted form data; pass `data-mero-form="keep-editable"` for composers that preserve mid-flight drafts), keeps a surrounding dialog open by disabling its `data-mero-close` buttons and ignoring Escape and backdrop clicks until the request settles, swaps in the replacement form on HTTP 422 and focuses the first invalid field. Reports the outcome like `data-mero-action`: the submitter gets `data-mero-action-state`, the form fires `mero:action`, and `Mero-Action-Outcome` and `Mero-Action-Message` override the state and the error text. A `mero:form-saved` trigger only acts on a succeeded outcome. A succeeded `Mero-Action-Message` shows as a toast.
|
|
217
|
+
- `data-mero-lock` — On the wrapper of a host widget inside a `data-mero-form`, such as a rich-text editor with its own toolbar. Mero makes the whole wrapper `inert`, `type="button"` controls and any modal dialog open inside it included, while the form’s request runs and releases it when the request settles. Ignored with `data-mero-form="keep-editable"`.
|
|
204
218
|
- `data-mero-clear-passwords` — On a `data-mero-form`. Empties its password fields after every response, whatever the outcome, and in the replacement form after a 422.
|
|
205
219
|
- `data-mero-action` — On a button outside a form that makes an htmx request. Shows its outcome and ignores clicks while the request runs. `Mero-Action-Outcome` and `Mero-Action-Message` response headers override the state and the text.
|
|
206
220
|
- `data-mero-action-state` (set by Mero) — On a `data-mero-action` button, or on the button that submitted a `data-mero-form` (the form itself when there is none): `pending`, then `succeeded` (2xx), `rejected` (4xx other than 408) or `unknown` (anything else, including network errors, timeouts and a request aborted after it was sent). A request cancelled before it was sent clears the state.
|
|
@@ -254,6 +268,11 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
254
268
|
- `data-mero-agenda` — Root of an agenda. Restores focus after a swap from its `data-agenda-focus` value, and swaps an error response only on HTTP 422.
|
|
255
269
|
- `data-mero-load-superseded` (set by Mero) — On a grid or agenda mount when the person acted before its first refresh returned. That refresh is then discarded.
|
|
256
270
|
- `data-mero-kanban` — Root of a board. Cards move between its `data-lane` columns by drag or by the Move to menu, and fire `mero:kanban-move`.
|
|
271
|
+
- `data-mero-reorder` — On a `<tbody>` or a List View whose rows carry `data-mero-reorder-id`. With focus anywhere in a row, outside a field or open menu, Alt+Up Arrow and Alt+Down Arrow move the row one place. Focus stays where it was, a polite status announces the new position (message `reorderMoved`, “{label} moved to position {position} of {count}”) and the row fires `mero:reorder`. Put a hidden input with the row’s ID in each row and the enclosing form submits the rows in their new order. In a `data-mero-dirty` form a move counts as a change, and while a `data-mero-form` request is pending its rows do not move unless the form is `keep-editable`. See [Reorder Rows](components/reorder-rows.md).
|
|
272
|
+
- `data-mero-reorder-id` — On each direct child of a `data-mero-reorder` list that can move. Its value is the row’s ID in `event.detail.order`.
|
|
273
|
+
- `data-mero-reorder-label` — Optional, on a `data-mero-reorder-id` row. The name the move announcement uses. Without it Mero uses the text of the row header, else of the first `strong`, else of the row, leaving out `data-mero-cell-label` text.
|
|
274
|
+
- `data-mero-reorder-move` — `up` or `down`, on a menu item or button inside a `data-mero-reorder-id` row. Moves the row one place. A menu item returns focus to its menu button in the moved row. Mero sets `aria-disabled="true"` on Move up in the first row and Move down in the last.
|
|
275
|
+
- `data-mero-reorder-status` — On a polite status element, such as `<p class="mero-sr-only" role="status">`, near a `data-mero-reorder` list. Receives the move announcement; Mero uses the nearest one. Without one, moves are not announced.
|
|
257
276
|
- `data-mero-hover-card` — Around a trigger and its preview panel. Opens the panel on hover or focus.
|
|
258
277
|
- `data-mero-toc` — Root of a floating table of contents. Its links scroll the content and mark the current section.
|
|
259
278
|
- `data-mero-place-map` — Root of a map. Choosing a `data-place` pin shows the matching `data-place-detail`.
|
|
@@ -360,7 +379,7 @@ What a browser test proves about Mero next to Alpine. It runs Alpine 3.14.8, the
|
|
|
360
379
|
|
|
361
380
|
# Carousel
|
|
362
381
|
|
|
363
|
-
Mero UI 1.
|
|
382
|
+
Mero UI 1.2.0 · Media galleries
|
|
364
383
|
|
|
365
384
|
Browse product photography with native scroll snap, thumbnails and keyboard controls.
|
|
366
385
|
|
|
@@ -437,7 +456,7 @@ Template
|
|
|
437
456
|
|
|
438
457
|
# Hover Gallery
|
|
439
458
|
|
|
440
|
-
Mero UI 1.
|
|
459
|
+
Mero UI 1.2.0 · Media galleries
|
|
441
460
|
|
|
442
461
|
Explore the shade, base and profile of a product with a pointer, touch or keyboard.
|
|
443
462
|
|
|
@@ -514,7 +533,7 @@ Template
|
|
|
514
533
|
|
|
515
534
|
# Image Diff
|
|
516
535
|
|
|
517
|
-
Mero UI 1.
|
|
536
|
+
Mero UI 1.2.0 · Media galleries
|
|
518
537
|
|
|
519
538
|
Reveal two finishes at the same position using an accessible comparison slider.
|
|
520
539
|
|
|
@@ -556,7 +575,7 @@ Template
|
|
|
556
575
|
|
|
557
576
|
# Holo Card
|
|
558
577
|
|
|
559
|
-
Mero UI 1.
|
|
578
|
+
Mero UI 1.2.0 · Media galleries
|
|
560
579
|
|
|
561
580
|
Catch a material sample in a shifting foil reflection.
|
|
562
581
|
|
|
@@ -588,7 +607,7 @@ Template
|
|
|
588
607
|
|
|
589
608
|
# Data Grid
|
|
590
609
|
|
|
591
|
-
Mero UI 1.
|
|
610
|
+
Mero UI 1.2.0 · Studio collections
|
|
592
611
|
|
|
593
612
|
Search, sort, select and edit products in a server-rendered collection.
|
|
594
613
|
|
|
@@ -746,7 +765,7 @@ Template
|
|
|
746
765
|
|
|
747
766
|
# Action Bar
|
|
748
767
|
|
|
749
|
-
Mero UI 1.
|
|
768
|
+
Mero UI 1.2.0 · Studio collections
|
|
750
769
|
|
|
751
770
|
Select records and apply one status change to the selection.
|
|
752
771
|
|
|
@@ -790,7 +809,7 @@ Template
|
|
|
790
809
|
|
|
791
810
|
# Agenda
|
|
792
811
|
|
|
793
|
-
Mero UI 1.
|
|
812
|
+
Mero UI 1.2.0 · Studio collections
|
|
794
813
|
|
|
795
814
|
Browse daily bookings and add a timed event.
|
|
796
815
|
|
|
@@ -827,7 +846,7 @@ Template
|
|
|
827
846
|
|
|
828
847
|
# File Tree
|
|
829
848
|
|
|
830
|
-
Mero UI 1.
|
|
849
|
+
Mero UI 1.2.0 · Studio collections
|
|
831
850
|
|
|
832
851
|
Expand folders and preview a selected file with native disclosure controls.
|
|
833
852
|
|
|
@@ -850,7 +869,7 @@ Template
|
|
|
850
869
|
|
|
851
870
|
# Floating TOC
|
|
852
871
|
|
|
853
|
-
Mero UI 1.
|
|
872
|
+
Mero UI 1.2.0 · Studio collections
|
|
854
873
|
|
|
855
874
|
Navigate to sections with an index that follows the reading position.
|
|
856
875
|
|
|
@@ -873,7 +892,7 @@ Template
|
|
|
873
892
|
|
|
874
893
|
# Hover Card
|
|
875
894
|
|
|
876
|
-
Mero UI 1.
|
|
895
|
+
Mero UI 1.2.0 · Studio collections
|
|
877
896
|
|
|
878
897
|
Preview a contributor on hover, focus or tap.
|
|
879
898
|
|
|
@@ -898,7 +917,7 @@ Template
|
|
|
898
917
|
|
|
899
918
|
# Item Card
|
|
900
919
|
|
|
901
|
-
Mero UI 1.
|
|
920
|
+
Mero UI 1.2.0 · Studio collections
|
|
902
921
|
|
|
903
922
|
Give a related destination an identity, title and supporting detail.
|
|
904
923
|
|
|
@@ -921,7 +940,7 @@ Template
|
|
|
921
940
|
|
|
922
941
|
# Item Card Group
|
|
923
942
|
|
|
924
|
-
Mero UI 1.
|
|
943
|
+
Mero UI 1.2.0 · Studio collections
|
|
925
944
|
|
|
926
945
|
Arrange related destinations into a responsive group.
|
|
927
946
|
|
|
@@ -944,7 +963,7 @@ Template
|
|
|
944
963
|
|
|
945
964
|
# Kanban
|
|
946
965
|
|
|
947
|
-
Mero UI 1.
|
|
966
|
+
Mero UI 1.2.0 · Studio collections
|
|
948
967
|
|
|
949
968
|
Move a card between stages with a drag or its Move to menu.
|
|
950
969
|
|
|
@@ -967,9 +986,122 @@ Template
|
|
|
967
986
|
<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>
|
|
968
987
|
````
|
|
969
988
|
|
|
989
|
+
# Reorder Rows
|
|
990
|
+
|
|
991
|
+
Mero UI 1.2.0 · Studio collections
|
|
992
|
+
|
|
993
|
+
Change the order of table or list rows from the keyboard and save it with a form.
|
|
994
|
+
|
|
995
|
+
## Default
|
|
996
|
+
|
|
997
|
+
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.
|
|
998
|
+
|
|
999
|
+
Page assets
|
|
1000
|
+
|
|
1001
|
+
```html
|
|
1002
|
+
<link rel="stylesheet" href="/mero.css">
|
|
1003
|
+
<link rel="stylesheet" href="/mero-collections.css">
|
|
1004
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
1005
|
+
<script defer src="/mero.js"></script>
|
|
1006
|
+
<script defer src="/mero-collections.js"></script>
|
|
1007
|
+
```
|
|
1008
|
+
|
|
1009
|
+
Template
|
|
1010
|
+
|
|
1011
|
+
````html
|
|
1012
|
+
<form class="mero-stack" method="post" action="/demo/collections/order" hx-post="/demo/collections/order" hx-target="#reorder-result" hx-swap="innerHTML">
|
|
1013
|
+
<div class="mero-table-wrap">
|
|
1014
|
+
<table class="mero-table">
|
|
1015
|
+
<caption>Content languages</caption>
|
|
1016
|
+
<thead><tr><th scope="col">Language</th><th scope="col">Code</th><th scope="col">Actions</th></tr></thead>
|
|
1017
|
+
<tbody data-mero-reorder>
|
|
1018
|
+
<tr data-mero-reorder-id="en">
|
|
1019
|
+
<th scope="row">English<input type="hidden" name="order" value="en"></th>
|
|
1020
|
+
<td><code>en</code></td>
|
|
1021
|
+
<td>
|
|
1022
|
+
<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>
|
|
1023
|
+
<div class="mero-popover mero-menu" id="language-en-menu" popover role="menu" aria-label="English actions">
|
|
1024
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
1025
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
1026
|
+
</div>
|
|
1027
|
+
</td>
|
|
1028
|
+
</tr>
|
|
1029
|
+
<tr data-mero-reorder-id="de">
|
|
1030
|
+
<th scope="row">German<input type="hidden" name="order" value="de"></th>
|
|
1031
|
+
<td><code>de</code></td>
|
|
1032
|
+
<td>
|
|
1033
|
+
<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>
|
|
1034
|
+
<div class="mero-popover mero-menu" id="language-de-menu" popover role="menu" aria-label="German actions">
|
|
1035
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
1036
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
1037
|
+
</div>
|
|
1038
|
+
</td>
|
|
1039
|
+
</tr>
|
|
1040
|
+
<tr data-mero-reorder-id="fr">
|
|
1041
|
+
<th scope="row">French<input type="hidden" name="order" value="fr"></th>
|
|
1042
|
+
<td><code>fr</code></td>
|
|
1043
|
+
<td>
|
|
1044
|
+
<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>
|
|
1045
|
+
<div class="mero-popover mero-menu" id="language-fr-menu" popover role="menu" aria-label="French actions">
|
|
1046
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
1047
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
1048
|
+
</div>
|
|
1049
|
+
</td>
|
|
1050
|
+
</tr>
|
|
1051
|
+
<tr data-mero-reorder-id="nl">
|
|
1052
|
+
<th scope="row">Dutch<input type="hidden" name="order" value="nl"></th>
|
|
1053
|
+
<td><code>nl</code></td>
|
|
1054
|
+
<td>
|
|
1055
|
+
<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>
|
|
1056
|
+
<div class="mero-popover mero-menu" id="language-nl-menu" popover role="menu" aria-label="Dutch actions">
|
|
1057
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="up" aria-keyshortcuts="Alt+ArrowUp">Move up</button>
|
|
1058
|
+
<button class="mero-menu-item" type="button" role="menuitem" data-mero-reorder-move="down" aria-keyshortcuts="Alt+ArrowDown">Move down</button>
|
|
1059
|
+
</div>
|
|
1060
|
+
</td>
|
|
1061
|
+
</tr>
|
|
1062
|
+
</tbody>
|
|
1063
|
+
</table>
|
|
1064
|
+
</div>
|
|
1065
|
+
<p class="mero-sr-only" role="status" data-mero-reorder-status></p>
|
|
1066
|
+
<button class="mero-button mero-button-primary" type="submit">Save order</button>
|
|
1067
|
+
<div class="mero-form-status" id="reorder-result" role="status"></div>
|
|
1068
|
+
</form>
|
|
1069
|
+
````
|
|
1070
|
+
|
|
1071
|
+
## List View
|
|
1072
|
+
|
|
1073
|
+
Reorder List View rows with Alt+Arrow keys and save each move.
|
|
1074
|
+
|
|
1075
|
+
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.
|
|
1076
|
+
|
|
1077
|
+
Page assets
|
|
1078
|
+
|
|
1079
|
+
```html
|
|
1080
|
+
<link rel="stylesheet" href="/mero.css">
|
|
1081
|
+
<link rel="stylesheet" href="/mero-collections.css">
|
|
1082
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
1083
|
+
<script defer src="/mero.js"></script>
|
|
1084
|
+
<script defer src="/mero-collections.js"></script>
|
|
1085
|
+
```
|
|
1086
|
+
|
|
1087
|
+
Template
|
|
1088
|
+
|
|
1089
|
+
````html
|
|
1090
|
+
<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">
|
|
1091
|
+
<section class="mero-list-view" aria-label="Content languages" data-mero-reorder>
|
|
1092
|
+
<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>
|
|
1093
|
+
<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>
|
|
1094
|
+
<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>
|
|
1095
|
+
<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>
|
|
1096
|
+
</section>
|
|
1097
|
+
<p class="mero-sr-only" role="status" data-mero-reorder-status></p>
|
|
1098
|
+
<div class="mero-form-status" id="reorder-list-result" role="status"></div>
|
|
1099
|
+
</form>
|
|
1100
|
+
````
|
|
1101
|
+
|
|
970
1102
|
# List View
|
|
971
1103
|
|
|
972
|
-
Mero UI 1.
|
|
1104
|
+
Mero UI 1.2.0 · Studio collections
|
|
973
1105
|
|
|
974
1106
|
Browse structured destinations in a compact keyboard-accessible list.
|
|
975
1107
|
|
|
@@ -992,7 +1124,7 @@ Template
|
|
|
992
1124
|
|
|
993
1125
|
# Map
|
|
994
1126
|
|
|
995
|
-
Mero UI 1.
|
|
1127
|
+
Mero UI 1.2.0 · Studio collections
|
|
996
1128
|
|
|
997
1129
|
Choose a location on a self-contained campus map and read its address.
|
|
998
1130
|
|
|
@@ -1017,7 +1149,7 @@ Template
|
|
|
1017
1149
|
|
|
1018
1150
|
# Timeline
|
|
1019
1151
|
|
|
1020
|
-
Mero UI 1.
|
|
1152
|
+
Mero UI 1.2.0 · Studio collections
|
|
1021
1153
|
|
|
1022
1154
|
Present milestones in order and identify the current step.
|
|
1023
1155
|
|
|
@@ -1040,7 +1172,7 @@ Template
|
|
|
1040
1172
|
|
|
1041
1173
|
# Widget
|
|
1042
1174
|
|
|
1043
|
-
Mero UI 1.
|
|
1175
|
+
Mero UI 1.2.0 · Studio collections
|
|
1044
1176
|
|
|
1045
1177
|
Use a dashboard panel to track a checklist and its progress.
|
|
1046
1178
|
|
|
@@ -1063,7 +1195,7 @@ Template
|
|
|
1063
1195
|
|
|
1064
1196
|
# Cell Color Picker
|
|
1065
1197
|
|
|
1066
|
-
Mero UI 1.
|
|
1198
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1067
1199
|
|
|
1068
1200
|
Change one preference and receive inline confirmation from the server.
|
|
1069
1201
|
|
|
@@ -1094,7 +1226,7 @@ Template
|
|
|
1094
1226
|
|
|
1095
1227
|
# Cell Select
|
|
1096
1228
|
|
|
1097
|
-
Mero UI 1.
|
|
1229
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1098
1230
|
|
|
1099
1231
|
Change one preference and receive inline confirmation from the server.
|
|
1100
1232
|
|
|
@@ -1125,7 +1257,7 @@ Template
|
|
|
1125
1257
|
|
|
1126
1258
|
# Cell Slider
|
|
1127
1259
|
|
|
1128
|
-
Mero UI 1.
|
|
1260
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1129
1261
|
|
|
1130
1262
|
Change one preference and receive inline confirmation from the server.
|
|
1131
1263
|
|
|
@@ -1156,7 +1288,7 @@ Template
|
|
|
1156
1288
|
|
|
1157
1289
|
# Cell Switch
|
|
1158
1290
|
|
|
1159
|
-
Mero UI 1.
|
|
1291
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1160
1292
|
|
|
1161
1293
|
Change one preference and receive inline confirmation from the server.
|
|
1162
1294
|
|
|
@@ -1187,7 +1319,7 @@ Template
|
|
|
1187
1319
|
|
|
1188
1320
|
# Checkbox Button Group
|
|
1189
1321
|
|
|
1190
|
-
Mero UI 1.
|
|
1322
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1191
1323
|
|
|
1192
1324
|
Select several release channels using native checkboxes.
|
|
1193
1325
|
|
|
@@ -1215,7 +1347,7 @@ Template
|
|
|
1215
1347
|
|
|
1216
1348
|
# Radio Button Group
|
|
1217
1349
|
|
|
1218
|
-
Mero UI 1.
|
|
1350
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1219
1351
|
|
|
1220
1352
|
Choose one release schedule with labelled option cards.
|
|
1221
1353
|
|
|
@@ -1242,7 +1374,7 @@ Template
|
|
|
1242
1374
|
|
|
1243
1375
|
# Native Select
|
|
1244
1376
|
|
|
1245
|
-
Mero UI 1.
|
|
1377
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1246
1378
|
|
|
1247
1379
|
Choose a workspace from labelled option groups.
|
|
1248
1380
|
|
|
@@ -1267,7 +1399,7 @@ Template
|
|
|
1267
1399
|
|
|
1268
1400
|
# Inline Select
|
|
1269
1401
|
|
|
1270
|
-
Mero UI 1.
|
|
1402
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1271
1403
|
|
|
1272
1404
|
Change an audience within the sentence that describes it.
|
|
1273
1405
|
|
|
@@ -1292,7 +1424,7 @@ Template
|
|
|
1292
1424
|
|
|
1293
1425
|
# Number Stepper
|
|
1294
1426
|
|
|
1295
|
-
Mero UI 1.
|
|
1427
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1296
1428
|
|
|
1297
1429
|
Change a bounded quantity with the keyboard or step buttons.
|
|
1298
1430
|
|
|
@@ -1322,7 +1454,7 @@ Template
|
|
|
1322
1454
|
|
|
1323
1455
|
# File Input
|
|
1324
1456
|
|
|
1325
|
-
Mero UI 1.
|
|
1457
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1326
1458
|
|
|
1327
1459
|
Choose a local product image and validate it on the server.
|
|
1328
1460
|
|
|
@@ -1353,7 +1485,7 @@ Template
|
|
|
1353
1485
|
|
|
1354
1486
|
# Drop Zone
|
|
1355
1487
|
|
|
1356
|
-
Mero UI 1.
|
|
1488
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1357
1489
|
|
|
1358
1490
|
Drop an image or use the native file picker and check the file.
|
|
1359
1491
|
|
|
@@ -1386,7 +1518,7 @@ Template
|
|
|
1386
1518
|
|
|
1387
1519
|
# Rich Text Editor
|
|
1388
1520
|
|
|
1389
|
-
Mero UI 1.
|
|
1521
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1390
1522
|
|
|
1391
1523
|
Edit a short description with bold and italic text and preview the submitted result.
|
|
1392
1524
|
|
|
@@ -1420,7 +1552,7 @@ Template
|
|
|
1420
1552
|
|
|
1421
1553
|
# Joined Filter
|
|
1422
1554
|
|
|
1423
|
-
Mero UI 1.
|
|
1555
|
+
Mero UI 1.2.0 · Workspace forms
|
|
1424
1556
|
|
|
1425
1557
|
Search and filter releases with one server request.
|
|
1426
1558
|
|
|
@@ -1447,12 +1579,14 @@ Template
|
|
|
1447
1579
|
|
|
1448
1580
|
# App Layout
|
|
1449
1581
|
|
|
1450
|
-
Mero UI 1.
|
|
1582
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1451
1583
|
|
|
1452
1584
|
A responsive workspace with a sidebar, content area and mobile navigation drawer.
|
|
1453
1585
|
|
|
1454
1586
|
## Default
|
|
1455
1587
|
|
|
1588
|
+
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.
|
|
1589
|
+
|
|
1456
1590
|
Page assets
|
|
1457
1591
|
|
|
1458
1592
|
```html
|
|
@@ -1466,10 +1600,11 @@ Template
|
|
|
1466
1600
|
|
|
1467
1601
|
````html
|
|
1468
1602
|
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1603
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1469
1604
|
<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>
|
|
1470
|
-
<div class="mero-ws-shell-main">
|
|
1605
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1471
1606
|
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1472
|
-
<header><small>Studio North</small><
|
|
1607
|
+
<header><small>Studio North</small><h1>Release room</h1></header>
|
|
1473
1608
|
<div class="mero-ws-summary"><span class="mero-ws-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
|
|
1474
1609
|
<a class="mero-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
|
|
1475
1610
|
</div>
|
|
@@ -1480,14 +1615,52 @@ Template
|
|
|
1480
1615
|
</section>
|
|
1481
1616
|
````
|
|
1482
1617
|
|
|
1618
|
+
## Page Header in content
|
|
1619
|
+
|
|
1620
|
+
Open the content with a Page Header that holds the page's h1, its description and actions.
|
|
1621
|
+
|
|
1622
|
+
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.
|
|
1623
|
+
|
|
1624
|
+
Page assets
|
|
1625
|
+
|
|
1626
|
+
```html
|
|
1627
|
+
<link rel="stylesheet" href="/mero.css">
|
|
1628
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
1629
|
+
<script defer src="/mero.js"></script>
|
|
1630
|
+
<script defer src="/mero-workspace.js"></script>
|
|
1631
|
+
```
|
|
1632
|
+
|
|
1633
|
+
Template
|
|
1634
|
+
|
|
1635
|
+
````html
|
|
1636
|
+
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1637
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1638
|
+
<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>
|
|
1639
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1640
|
+
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1641
|
+
<header><small>Studio North</small><strong>Release room</strong></header>
|
|
1642
|
+
<header class="mero-page-head">
|
|
1643
|
+
<div><h1>Spring collection</h1><p>Photography approved · 12 products</p></div>
|
|
1644
|
+
<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>
|
|
1645
|
+
</header>
|
|
1646
|
+
</div>
|
|
1647
|
+
<dialog class="mero-dialog mero-ws-drawer" aria-label="Workspace navigation"><div class="mero-dialog-body">
|
|
1648
|
+
<button class="mero-button mero-button-sm mero-button-secondary" type="button" data-mero-close autofocus>Close navigation</button>
|
|
1649
|
+
<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>
|
|
1650
|
+
</div></dialog>
|
|
1651
|
+
</section>
|
|
1652
|
+
````
|
|
1653
|
+
|
|
1483
1654
|
# Sidebar
|
|
1484
1655
|
|
|
1485
|
-
Mero UI 1.
|
|
1656
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1486
1657
|
|
|
1487
1658
|
Navigate the workspace from a side rail that becomes a drawer at narrow widths.
|
|
1488
1659
|
|
|
1489
1660
|
## Default
|
|
1490
1661
|
|
|
1662
|
+
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.
|
|
1663
|
+
|
|
1491
1664
|
Page assets
|
|
1492
1665
|
|
|
1493
1666
|
```html
|
|
@@ -1501,10 +1674,11 @@ Template
|
|
|
1501
1674
|
|
|
1502
1675
|
````html
|
|
1503
1676
|
<section class="mero-ws-shell" data-mero-ws-shell aria-label="Studio workspace">
|
|
1677
|
+
<a class="mero-skip-link" href="#workspace-main">Skip to content</a>
|
|
1504
1678
|
<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>
|
|
1505
|
-
<div class="mero-ws-shell-main">
|
|
1679
|
+
<div class="mero-ws-shell-main" id="workspace-main" tabindex="-1">
|
|
1506
1680
|
<button class="mero-button mero-button-sm mero-button-secondary mero-ws-mobile-nav" type="button" data-mero-ws-open>Open navigation</button>
|
|
1507
|
-
<header><small>Studio North</small><
|
|
1681
|
+
<header><small>Studio North</small><h1>Workspace</h1></header>
|
|
1508
1682
|
<div class="mero-ws-summary"><span class="mero-ws-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
|
|
1509
1683
|
<a class="mero-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
|
|
1510
1684
|
</div>
|
|
@@ -1517,7 +1691,7 @@ Template
|
|
|
1517
1691
|
|
|
1518
1692
|
# Navbar
|
|
1519
1693
|
|
|
1520
|
-
Mero UI 1.
|
|
1694
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1521
1695
|
|
|
1522
1696
|
Place the workspace name and destinations in a wrapping top bar.
|
|
1523
1697
|
|
|
@@ -1540,7 +1714,7 @@ Template
|
|
|
1540
1714
|
|
|
1541
1715
|
# Command
|
|
1542
1716
|
|
|
1543
|
-
Mero UI 1.
|
|
1717
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1544
1718
|
|
|
1545
1719
|
Search local destinations and actions, then use the arrows and Enter to execute.
|
|
1546
1720
|
|
|
@@ -1580,7 +1754,7 @@ Template
|
|
|
1580
1754
|
|
|
1581
1755
|
# Context Menu
|
|
1582
1756
|
|
|
1583
|
-
Mero UI 1.
|
|
1757
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1584
1758
|
|
|
1585
1759
|
Open item actions with the visible button, a secondary click, or Shift F10.
|
|
1586
1760
|
|
|
@@ -1610,7 +1784,7 @@ Template
|
|
|
1610
1784
|
|
|
1611
1785
|
# Segment
|
|
1612
1786
|
|
|
1613
|
-
Mero UI 1.
|
|
1787
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1614
1788
|
|
|
1615
1789
|
Choose one display density in a compact segmented control.
|
|
1616
1790
|
|
|
@@ -1637,7 +1811,7 @@ Template
|
|
|
1637
1811
|
|
|
1638
1812
|
# Stepper
|
|
1639
1813
|
|
|
1640
|
-
Mero UI 1.
|
|
1814
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1641
1815
|
|
|
1642
1816
|
Move through validated project details and review the values before submitting.
|
|
1643
1817
|
|
|
@@ -1668,7 +1842,7 @@ Template
|
|
|
1668
1842
|
|
|
1669
1843
|
# Dock
|
|
1670
1844
|
|
|
1671
|
-
Mero UI 1.
|
|
1845
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1672
1846
|
|
|
1673
1847
|
Group frequently used workspace destinations in a compact navigation dock.
|
|
1674
1848
|
|
|
@@ -1693,7 +1867,7 @@ Template
|
|
|
1693
1867
|
|
|
1694
1868
|
# Megamenu
|
|
1695
1869
|
|
|
1696
|
-
Mero UI 1.
|
|
1870
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1697
1871
|
|
|
1698
1872
|
Explore grouped destinations from a native disclosure.
|
|
1699
1873
|
|
|
@@ -1718,7 +1892,7 @@ Template
|
|
|
1718
1892
|
|
|
1719
1893
|
# Floating Action Button
|
|
1720
1894
|
|
|
1721
|
-
Mero UI 1.
|
|
1895
|
+
Mero UI 1.2.0 · Workspace navigation
|
|
1722
1896
|
|
|
1723
1897
|
Reveal a small set of workspace shortcuts.
|
|
1724
1898
|
|
|
@@ -1743,7 +1917,7 @@ Template
|
|
|
1743
1917
|
|
|
1744
1918
|
# Resizable
|
|
1745
1919
|
|
|
1746
|
-
Mero UI 1.
|
|
1920
|
+
Mero UI 1.2.0 · Workspace tools
|
|
1747
1921
|
|
|
1748
1922
|
Resize two adjacent panels by dragging the divider or using the arrow keys.
|
|
1749
1923
|
|
|
@@ -1797,7 +1971,7 @@ Template
|
|
|
1797
1971
|
|
|
1798
1972
|
# Emoji Picker
|
|
1799
1973
|
|
|
1800
|
-
Mero UI 1.
|
|
1974
|
+
Mero UI 1.2.0 · Workspace tools
|
|
1801
1975
|
|
|
1802
1976
|
Search named reactions and submit the selected emoji as a form value.
|
|
1803
1977
|
|
|
@@ -1827,7 +2001,7 @@ Template
|
|
|
1827
2001
|
|
|
1828
2002
|
# Area Chart
|
|
1829
2003
|
|
|
1830
|
-
Mero UI 1.
|
|
2004
|
+
Mero UI 1.2.0 · Charts
|
|
1831
2005
|
|
|
1832
2006
|
Show the volume and shape of a series over time.
|
|
1833
2007
|
|
|
@@ -1862,7 +2036,7 @@ Template
|
|
|
1862
2036
|
|
|
1863
2037
|
# Bar Chart
|
|
1864
2038
|
|
|
1865
|
-
Mero UI 1.
|
|
2039
|
+
Mero UI 1.2.0 · Charts
|
|
1866
2040
|
|
|
1867
2041
|
Compare adjacent categories on a shared linear scale.
|
|
1868
2042
|
|
|
@@ -1897,7 +2071,7 @@ Template
|
|
|
1897
2071
|
|
|
1898
2072
|
# Chart Tooltip
|
|
1899
2073
|
|
|
1900
|
-
Mero UI 1.
|
|
2074
|
+
Mero UI 1.2.0 · Charts
|
|
1901
2075
|
|
|
1902
2076
|
Inspect the active data point using a pointer or keyboard.
|
|
1903
2077
|
|
|
@@ -1932,7 +2106,7 @@ Template
|
|
|
1932
2106
|
|
|
1933
2107
|
# Composed Chart
|
|
1934
2108
|
|
|
1935
|
-
Mero UI 1.
|
|
2109
|
+
Mero UI 1.2.0 · Charts
|
|
1936
2110
|
|
|
1937
2111
|
Compare actual volume with its target using columns and a line.
|
|
1938
2112
|
|
|
@@ -1967,7 +2141,7 @@ Template
|
|
|
1967
2141
|
|
|
1968
2142
|
# Line Chart
|
|
1969
2143
|
|
|
1970
|
-
Mero UI 1.
|
|
2144
|
+
Mero UI 1.2.0 · Charts
|
|
1971
2145
|
|
|
1972
2146
|
Trace changes across a reporting period.
|
|
1973
2147
|
|
|
@@ -2030,7 +2204,7 @@ Template
|
|
|
2030
2204
|
|
|
2031
2205
|
# Pie Chart
|
|
2032
2206
|
|
|
2033
|
-
Mero UI 1.
|
|
2207
|
+
Mero UI 1.2.0 · Charts
|
|
2034
2208
|
|
|
2035
2209
|
See how each collection contributes to total volume.
|
|
2036
2210
|
|
|
@@ -2065,7 +2239,7 @@ Template
|
|
|
2065
2239
|
|
|
2066
2240
|
# Radar Chart
|
|
2067
2241
|
|
|
2068
|
-
Mero UI 1.
|
|
2242
|
+
Mero UI 1.2.0 · Charts
|
|
2069
2243
|
|
|
2070
2244
|
Compare profiles across axes that use the same units.
|
|
2071
2245
|
|
|
@@ -2100,7 +2274,7 @@ Template
|
|
|
2100
2274
|
|
|
2101
2275
|
# Radial Chart
|
|
2102
2276
|
|
|
2103
|
-
Mero UI 1.
|
|
2277
|
+
Mero UI 1.2.0 · Charts
|
|
2104
2278
|
|
|
2105
2279
|
Compare categories as concentric rings against the largest category.
|
|
2106
2280
|
|
|
@@ -2135,7 +2309,7 @@ Template
|
|
|
2135
2309
|
|
|
2136
2310
|
# KPI
|
|
2137
2311
|
|
|
2138
|
-
Mero UI 1.
|
|
2312
|
+
Mero UI 1.2.0 · Metrics
|
|
2139
2313
|
|
|
2140
2314
|
Pair an exact figure with the reporting period it describes.
|
|
2141
2315
|
|
|
@@ -2158,7 +2332,7 @@ Template
|
|
|
2158
2332
|
|
|
2159
2333
|
# KPI Group
|
|
2160
2334
|
|
|
2161
|
-
Mero UI 1.
|
|
2335
|
+
Mero UI 1.2.0 · Metrics
|
|
2162
2336
|
|
|
2163
2337
|
Keep related measures on a common reporting period.
|
|
2164
2338
|
|
|
@@ -2181,7 +2355,7 @@ Template
|
|
|
2181
2355
|
|
|
2182
2356
|
# Emoji Reaction Button
|
|
2183
2357
|
|
|
2184
|
-
Mero UI 1.
|
|
2358
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
2185
2359
|
|
|
2186
2360
|
Add or remove a reaction while keeping its count visible.
|
|
2187
2361
|
|
|
@@ -2206,7 +2380,7 @@ Template
|
|
|
2206
2380
|
|
|
2207
2381
|
# Number Value
|
|
2208
2382
|
|
|
2209
|
-
Mero UI 1.
|
|
2383
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
2210
2384
|
|
|
2211
2385
|
Display a localized number with its machine-readable value.
|
|
2212
2386
|
|
|
@@ -2231,7 +2405,7 @@ Template
|
|
|
2231
2405
|
|
|
2232
2406
|
# Pressable Feedback
|
|
2233
2407
|
|
|
2234
|
-
Mero UI 1.
|
|
2408
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
2235
2409
|
|
|
2236
2410
|
Give a press a tactile response and keep its selected state visible.
|
|
2237
2411
|
|
|
@@ -2254,7 +2428,7 @@ Template
|
|
|
2254
2428
|
|
|
2255
2429
|
# Rating
|
|
2256
2430
|
|
|
2257
|
-
Mero UI 1.
|
|
2431
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
2258
2432
|
|
|
2259
2433
|
Choose a labelled score using native radio controls.
|
|
2260
2434
|
|
|
@@ -2279,7 +2453,7 @@ Template
|
|
|
2279
2453
|
|
|
2280
2454
|
# Trend Chip
|
|
2281
2455
|
|
|
2282
|
-
Mero UI 1.
|
|
2456
|
+
Mero UI 1.2.0 · Interaction feedback
|
|
2283
2457
|
|
|
2284
2458
|
Label the direction and magnitude of a change.
|
|
2285
2459
|
|
|
@@ -2302,7 +2476,7 @@ Template
|
|
|
2302
2476
|
|
|
2303
2477
|
# Chain Of Thought
|
|
2304
2478
|
|
|
2305
|
-
Mero UI 1.
|
|
2479
|
+
Mero UI 1.2.0 · Conversation
|
|
2306
2480
|
|
|
2307
2481
|
Display a disclosure of observable execution steps for a report.
|
|
2308
2482
|
|
|
@@ -2327,7 +2501,7 @@ Template
|
|
|
2327
2501
|
|
|
2328
2502
|
# Chat Attachment
|
|
2329
2503
|
|
|
2330
|
-
Mero UI 1.
|
|
2504
|
+
Mero UI 1.2.0 · Conversation
|
|
2331
2505
|
|
|
2332
2506
|
Display a named file and provide a working download.
|
|
2333
2507
|
|
|
@@ -2352,7 +2526,7 @@ Template
|
|
|
2352
2526
|
|
|
2353
2527
|
# Chat Conversation
|
|
2354
2528
|
|
|
2355
|
-
Mero UI 1.
|
|
2529
|
+
Mero UI 1.2.0 · Conversation
|
|
2356
2530
|
|
|
2357
2531
|
Keep messages, controls and a composer in one scoped conversation.
|
|
2358
2532
|
|
|
@@ -2412,7 +2586,7 @@ Template
|
|
|
2412
2586
|
|
|
2413
2587
|
# Chat List View
|
|
2414
2588
|
|
|
2415
|
-
Mero UI 1.
|
|
2589
|
+
Mero UI 1.2.0 · Conversation
|
|
2416
2590
|
|
|
2417
2591
|
Open a conversation returned by the server.
|
|
2418
2592
|
|
|
@@ -2436,7 +2610,7 @@ Template
|
|
|
2436
2610
|
|
|
2437
2611
|
# Chat Loader
|
|
2438
2612
|
|
|
2439
|
-
Mero UI 1.
|
|
2613
|
+
Mero UI 1.2.0 · Conversation
|
|
2440
2614
|
|
|
2441
2615
|
Show a concise status while a response is being prepared.
|
|
2442
2616
|
|
|
@@ -2459,7 +2633,7 @@ Template
|
|
|
2459
2633
|
|
|
2460
2634
|
# Chat Message
|
|
2461
2635
|
|
|
2462
|
-
Mero UI 1.
|
|
2636
|
+
Mero UI 1.2.0 · Conversation
|
|
2463
2637
|
|
|
2464
2638
|
Distinguish the sender and keep the message readable after a swap.
|
|
2465
2639
|
|
|
@@ -2482,7 +2656,7 @@ Template
|
|
|
2482
2656
|
|
|
2483
2657
|
# Chat Message Actions
|
|
2484
2658
|
|
|
2485
|
-
Mero UI 1.
|
|
2659
|
+
Mero UI 1.2.0 · Conversation
|
|
2486
2660
|
|
|
2487
2661
|
Copy a reply or mark it as helpful.
|
|
2488
2662
|
|
|
@@ -2506,7 +2680,7 @@ Template
|
|
|
2506
2680
|
|
|
2507
2681
|
# Chat Source
|
|
2508
2682
|
|
|
2509
|
-
Mero UI 1.
|
|
2683
|
+
Mero UI 1.2.0 · Conversation
|
|
2510
2684
|
|
|
2511
2685
|
Open the exact data behind a generated summary.
|
|
2512
2686
|
|
|
@@ -2529,7 +2703,7 @@ Template
|
|
|
2529
2703
|
|
|
2530
2704
|
# Chat Tool
|
|
2531
2705
|
|
|
2532
|
-
Mero UI 1.
|
|
2706
|
+
Mero UI 1.2.0 · Conversation
|
|
2533
2707
|
|
|
2534
2708
|
Disclose the inputs and output of an application action.
|
|
2535
2709
|
|
|
@@ -2569,7 +2743,7 @@ Template
|
|
|
2569
2743
|
|
|
2570
2744
|
# Code Block
|
|
2571
2745
|
|
|
2572
|
-
Mero UI 1.
|
|
2746
|
+
Mero UI 1.2.0 · Conversation
|
|
2573
2747
|
|
|
2574
2748
|
Show a file caption, selectable code and a copy control.
|
|
2575
2749
|
|
|
@@ -2592,7 +2766,7 @@ Template
|
|
|
2592
2766
|
|
|
2593
2767
|
# Markdown
|
|
2594
2768
|
|
|
2595
|
-
Mero UI 1.
|
|
2769
|
+
Mero UI 1.2.0 · Conversation
|
|
2596
2770
|
|
|
2597
2771
|
Render a small safe subset of Markdown into semantic HTML.
|
|
2598
2772
|
|
|
@@ -2627,7 +2801,7 @@ Template
|
|
|
2627
2801
|
|
|
2628
2802
|
# Prompt Input
|
|
2629
2803
|
|
|
2630
|
-
Mero UI 1.
|
|
2804
|
+
Mero UI 1.2.0 · Conversation
|
|
2631
2805
|
|
|
2632
2806
|
Collect a question and submit it to a server-rendered response endpoint.
|
|
2633
2807
|
|
|
@@ -2658,7 +2832,7 @@ Template
|
|
|
2658
2832
|
|
|
2659
2833
|
# Prompt Suggestion
|
|
2660
2834
|
|
|
2661
|
-
Mero UI 1.
|
|
2835
|
+
Mero UI 1.2.0 · Conversation
|
|
2662
2836
|
|
|
2663
2837
|
Choose a suggested prompt, edit it, then send it.
|
|
2664
2838
|
|
|
@@ -2689,7 +2863,7 @@ Template
|
|
|
2689
2863
|
|
|
2690
2864
|
# Text Shimmer
|
|
2691
2865
|
|
|
2692
|
-
Mero UI 1.
|
|
2866
|
+
Mero UI 1.2.0 · Conversation
|
|
2693
2867
|
|
|
2694
2868
|
Indicate work in progress with a moving highlight across readable text.
|
|
2695
2869
|
|
|
@@ -2712,7 +2886,7 @@ Template
|
|
|
2712
2886
|
|
|
2713
2887
|
# Button
|
|
2714
2888
|
|
|
2715
|
-
Mero UI 1.
|
|
2889
|
+
Mero UI 1.2.0 · Buttons
|
|
2716
2890
|
|
|
2717
2891
|
Trigger an action with a consistent hierarchy of visual emphasis.
|
|
2718
2892
|
|
|
@@ -2817,7 +2991,7 @@ Template
|
|
|
2817
2991
|
|
|
2818
2992
|
# Action Button
|
|
2819
2993
|
|
|
2820
|
-
Mero UI 1.
|
|
2994
|
+
Mero UI 1.2.0 · Buttons
|
|
2821
2995
|
|
|
2822
2996
|
Run a server action and report whether it succeeded, was refused or has an unknown result.
|
|
2823
2997
|
|
|
@@ -2889,7 +3063,7 @@ Template
|
|
|
2889
3063
|
|
|
2890
3064
|
# Button Group
|
|
2891
3065
|
|
|
2892
|
-
Mero UI 1.
|
|
3066
|
+
Mero UI 1.2.0 · Buttons
|
|
2893
3067
|
|
|
2894
3068
|
Keep related actions together while preserving each button’s own label and focus.
|
|
2895
3069
|
|
|
@@ -2914,7 +3088,7 @@ Template
|
|
|
2914
3088
|
|
|
2915
3089
|
# Close Button
|
|
2916
3090
|
|
|
2917
|
-
Mero UI 1.
|
|
3091
|
+
Mero UI 1.2.0 · Buttons
|
|
2918
3092
|
|
|
2919
3093
|
Give a dialog an icon-only close action with an accessible name.
|
|
2920
3094
|
|
|
@@ -2946,7 +3120,7 @@ Template
|
|
|
2946
3120
|
|
|
2947
3121
|
# Toggle Button
|
|
2948
3122
|
|
|
2949
|
-
Mero UI 1.
|
|
3123
|
+
Mero UI 1.2.0 · Buttons
|
|
2950
3124
|
|
|
2951
3125
|
Represent a persistent on or off state with a pressed button.
|
|
2952
3126
|
|
|
@@ -2969,7 +3143,7 @@ Template
|
|
|
2969
3143
|
|
|
2970
3144
|
# Toggle Button Group
|
|
2971
3145
|
|
|
2972
|
-
Mero UI 1.
|
|
3146
|
+
Mero UI 1.2.0 · Buttons
|
|
2973
3147
|
|
|
2974
3148
|
Select one presentation mode from a connected set of controls.
|
|
2975
3149
|
|
|
@@ -2999,7 +3173,7 @@ Template
|
|
|
2999
3173
|
|
|
3000
3174
|
# Checkbox
|
|
3001
3175
|
|
|
3002
|
-
Mero UI 1.
|
|
3176
|
+
Mero UI 1.2.0 · Forms
|
|
3003
3177
|
|
|
3004
3178
|
Include an independent binary choice in a form.
|
|
3005
3179
|
|
|
@@ -3023,7 +3197,7 @@ Template
|
|
|
3023
3197
|
|
|
3024
3198
|
# Checkbox Group
|
|
3025
3199
|
|
|
3026
|
-
Mero UI 1.
|
|
3200
|
+
Mero UI 1.2.0 · Forms
|
|
3027
3201
|
|
|
3028
3202
|
Group related independent choices with a fieldset and legend.
|
|
3029
3203
|
|
|
@@ -3051,7 +3225,7 @@ Template
|
|
|
3051
3225
|
|
|
3052
3226
|
# Description
|
|
3053
3227
|
|
|
3054
|
-
Mero UI 1.
|
|
3228
|
+
Mero UI 1.2.0 · Forms
|
|
3055
3229
|
|
|
3056
3230
|
Connect persistent help text to a control.
|
|
3057
3231
|
|
|
@@ -3078,7 +3252,7 @@ Template
|
|
|
3078
3252
|
|
|
3079
3253
|
# Error Message
|
|
3080
3254
|
|
|
3081
|
-
Mero UI 1.
|
|
3255
|
+
Mero UI 1.2.0 · Forms
|
|
3082
3256
|
|
|
3083
3257
|
Present a form-level failure where the user can act on it.
|
|
3084
3258
|
|
|
@@ -3102,7 +3276,7 @@ Template
|
|
|
3102
3276
|
|
|
3103
3277
|
# Field Error
|
|
3104
3278
|
|
|
3105
|
-
Mero UI 1.
|
|
3279
|
+
Mero UI 1.2.0 · Forms
|
|
3106
3280
|
|
|
3107
3281
|
Associate a validation error with the field that needs attention.
|
|
3108
3282
|
|
|
@@ -3131,7 +3305,7 @@ Template
|
|
|
3131
3305
|
|
|
3132
3306
|
# Fieldset
|
|
3133
3307
|
|
|
3134
|
-
Mero UI 1.
|
|
3308
|
+
Mero UI 1.2.0 · Forms
|
|
3135
3309
|
|
|
3136
3310
|
Add a shared label to a related set of form controls.
|
|
3137
3311
|
|
|
@@ -3210,9 +3384,96 @@ Template
|
|
|
3210
3384
|
</div>
|
|
3211
3385
|
````
|
|
3212
3386
|
|
|
3387
|
+
# File Drop Zone
|
|
3388
|
+
|
|
3389
|
+
Mero UI 1.2.0 · Forms
|
|
3390
|
+
|
|
3391
|
+
Drop files on a large target or click it to use the native file picker.
|
|
3392
|
+
|
|
3393
|
+
## Default
|
|
3394
|
+
|
|
3395
|
+
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.
|
|
3396
|
+
|
|
3397
|
+
Page assets
|
|
3398
|
+
|
|
3399
|
+
```html
|
|
3400
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3401
|
+
<script defer src="/mero.js"></script>
|
|
3402
|
+
```
|
|
3403
|
+
|
|
3404
|
+
Template
|
|
3405
|
+
|
|
3406
|
+
````html
|
|
3407
|
+
<div class="mero-scope" data-mero-scope>
|
|
3408
|
+
<div class="mero-field">
|
|
3409
|
+
<label class="mero-label" for="demo-drop-zone">Import contacts</label>
|
|
3410
|
+
<div class="mero-drop-zone" data-mero-drop>
|
|
3411
|
+
<input class="mero-file" id="demo-drop-zone" name="import" type="file" accept=".csv,.xlsx" aria-describedby="demo-drop-zone-hint">
|
|
3412
|
+
<p aria-hidden="true"><strong>Drop a CSV or XLSX file</strong></p>
|
|
3413
|
+
<p id="demo-drop-zone-hint">or click to choose one, up to 5 MB</p>
|
|
3414
|
+
<span data-mero-file-name aria-live="polite"></span>
|
|
3415
|
+
</div>
|
|
3416
|
+
</div>
|
|
3417
|
+
</div>
|
|
3418
|
+
````
|
|
3419
|
+
|
|
3420
|
+
# File Field
|
|
3421
|
+
|
|
3422
|
+
Mero UI 1.2.0 · Forms
|
|
3423
|
+
|
|
3424
|
+
Choose a file with a native file input styled like Mero buttons.
|
|
3425
|
+
|
|
3426
|
+
## Default
|
|
3427
|
+
|
|
3428
|
+
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.
|
|
3429
|
+
|
|
3430
|
+
Page assets
|
|
3431
|
+
|
|
3432
|
+
```html
|
|
3433
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3434
|
+
<script defer src="/mero.js"></script>
|
|
3435
|
+
```
|
|
3436
|
+
|
|
3437
|
+
Template
|
|
3438
|
+
|
|
3439
|
+
````html
|
|
3440
|
+
<div class="mero-scope" data-mero-scope>
|
|
3441
|
+
<div class="mero-field">
|
|
3442
|
+
<label class="mero-label" for="demo-file-field">Favicon</label>
|
|
3443
|
+
<input class="mero-file" id="demo-file-field" name="favicon" type="file" accept="image/png,image/svg+xml" aria-describedby="demo-file-field-hint">
|
|
3444
|
+
<p class="mero-description" id="demo-file-field-hint">PNG or SVG, at least 512 px square.</p>
|
|
3445
|
+
</div>
|
|
3446
|
+
</div>
|
|
3447
|
+
````
|
|
3448
|
+
|
|
3449
|
+
## Error
|
|
3450
|
+
|
|
3451
|
+
Ask for a different file after the server rejected the last one.
|
|
3452
|
+
|
|
3453
|
+
Render aria-invalid and the error from your server. The browser cannot keep the rejected file, so the person chooses it again.
|
|
3454
|
+
|
|
3455
|
+
Page assets
|
|
3456
|
+
|
|
3457
|
+
```html
|
|
3458
|
+
<link rel="stylesheet" href="/mero.css">
|
|
3459
|
+
<script defer src="/mero.js"></script>
|
|
3460
|
+
```
|
|
3461
|
+
|
|
3462
|
+
Template
|
|
3463
|
+
|
|
3464
|
+
````html
|
|
3465
|
+
<div class="mero-scope" data-mero-scope>
|
|
3466
|
+
<div class="mero-field">
|
|
3467
|
+
<label class="mero-label" for="demo-file-error">Watermark</label>
|
|
3468
|
+
<input class="mero-file" id="demo-file-error" name="watermark" type="file" accept="image/png" aria-invalid="true" aria-describedby="demo-file-error-message">
|
|
3469
|
+
<p class="mero-field-error" id="demo-file-error-message">The watermark must be a PNG under 1 MB.</p>
|
|
3470
|
+
</div>
|
|
3471
|
+
</div>
|
|
3472
|
+
````
|
|
3473
|
+
|
|
3213
3474
|
# Form
|
|
3214
3475
|
|
|
3215
|
-
Mero UI 1.
|
|
3476
|
+
Mero UI 1.2.0 · Forms
|
|
3216
3477
|
|
|
3217
3478
|
Submit native fields to the server and render an HTML response in place.
|
|
3218
3479
|
|
|
@@ -3400,7 +3661,7 @@ Template
|
|
|
3400
3661
|
|
|
3401
3662
|
# Input
|
|
3402
3663
|
|
|
3403
|
-
Mero UI 1.
|
|
3664
|
+
Mero UI 1.2.0 · Forms
|
|
3404
3665
|
|
|
3405
3666
|
A styled native input with browser validation and autocomplete.
|
|
3406
3667
|
|
|
@@ -3427,7 +3688,7 @@ Template
|
|
|
3427
3688
|
|
|
3428
3689
|
# Input Group
|
|
3429
3690
|
|
|
3430
|
-
Mero UI 1.
|
|
3691
|
+
Mero UI 1.2.0 · Forms
|
|
3431
3692
|
|
|
3432
3693
|
Combine a control and contextual prefix with a single outline.
|
|
3433
3694
|
|
|
@@ -3456,7 +3717,7 @@ Template
|
|
|
3456
3717
|
|
|
3457
3718
|
# Input OTP
|
|
3458
3719
|
|
|
3459
|
-
Mero UI 1.
|
|
3720
|
+
Mero UI 1.2.0 · Forms
|
|
3460
3721
|
|
|
3461
3722
|
Collect a six-digit code in one input with mobile autofill.
|
|
3462
3723
|
|
|
@@ -3485,7 +3746,7 @@ Template
|
|
|
3485
3746
|
|
|
3486
3747
|
# Label
|
|
3487
3748
|
|
|
3488
|
-
Mero UI 1.
|
|
3749
|
+
Mero UI 1.2.0 · Forms
|
|
3489
3750
|
|
|
3490
3751
|
Name an input and expand its activation area.
|
|
3491
3752
|
|
|
@@ -3512,7 +3773,7 @@ Template
|
|
|
3512
3773
|
|
|
3513
3774
|
# Number Field
|
|
3514
3775
|
|
|
3515
|
-
Mero UI 1.
|
|
3776
|
+
Mero UI 1.2.0 · Forms
|
|
3516
3777
|
|
|
3517
3778
|
Set numeric bounds and increments for a native field.
|
|
3518
3779
|
|
|
@@ -3539,7 +3800,7 @@ Template
|
|
|
3539
3800
|
|
|
3540
3801
|
# Radio Group
|
|
3541
3802
|
|
|
3542
|
-
Mero UI 1.
|
|
3803
|
+
Mero UI 1.2.0 · Forms
|
|
3543
3804
|
|
|
3544
3805
|
Choose exactly one option from a labeled set.
|
|
3545
3806
|
|
|
@@ -3567,7 +3828,7 @@ Template
|
|
|
3567
3828
|
|
|
3568
3829
|
# Search Field
|
|
3569
3830
|
|
|
3570
|
-
Mero UI 1.
|
|
3831
|
+
Mero UI 1.2.0 · Forms
|
|
3571
3832
|
|
|
3572
3833
|
Use a native search field with the platform’s clear affordance.
|
|
3573
3834
|
|
|
@@ -3636,7 +3897,7 @@ Template
|
|
|
3636
3897
|
|
|
3637
3898
|
# Text Area
|
|
3638
3899
|
|
|
3639
|
-
Mero UI 1.
|
|
3900
|
+
Mero UI 1.2.0 · Forms
|
|
3640
3901
|
|
|
3641
3902
|
Let users edit multiple lines of text with an optional autosizing surface.
|
|
3642
3903
|
|
|
@@ -3662,7 +3923,7 @@ Template
|
|
|
3662
3923
|
|
|
3663
3924
|
# Text Field
|
|
3664
3925
|
|
|
3665
|
-
Mero UI 1.
|
|
3926
|
+
Mero UI 1.2.0 · Forms
|
|
3666
3927
|
|
|
3667
3928
|
Compose a label, input, and hint into a reusable form field.
|
|
3668
3929
|
|
|
@@ -3689,7 +3950,7 @@ Template
|
|
|
3689
3950
|
|
|
3690
3951
|
# Calendar
|
|
3691
3952
|
|
|
3692
|
-
Mero UI 1.
|
|
3953
|
+
Mero UI 1.2.0 · Date and time
|
|
3693
3954
|
|
|
3694
3955
|
Navigate months and choose a day on an inline calendar rendered by the server.
|
|
3695
3956
|
|
|
@@ -3712,79 +3973,80 @@ Template
|
|
|
3712
3973
|
<div id="demo-calendar" class="mero-calendar">
|
|
3713
3974
|
<div class="mero-toolbar">
|
|
3714
3975
|
<button class="mero-button mero-button-sm mero-button-ghost mero-button-icon" type="button" id="calendar-prev"
|
|
3715
|
-
aria-label="Previous month" hx-get="/demo/catalog/calendar?month=2026-
|
|
3716
|
-
<strong id="demo-calendar-month">
|
|
3976
|
+
aria-label="Previous month" hx-get="/demo/catalog/calendar?month=2026-11" hx-target="closest .mero-calendar" hx-swap="outerHTML">‹</button>
|
|
3977
|
+
<strong id="demo-calendar-month">December 2026</strong>
|
|
3717
3978
|
<button class="mero-button mero-button-sm mero-button-ghost mero-button-icon" type="button" id="calendar-next"
|
|
3718
|
-
aria-label="Next month" hx-get="/demo/catalog/calendar?month=
|
|
3979
|
+
aria-label="Next month" hx-get="/demo/catalog/calendar?month=2027-01" hx-target="closest .mero-calendar" hx-swap="outerHTML">›</button>
|
|
3719
3980
|
</div>
|
|
3720
3981
|
<table class="mero-calendar-table" aria-labelledby="demo-calendar-month">
|
|
3721
3982
|
<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>
|
|
3722
|
-
<tbody><tr><td></td><td
|
|
3723
|
-
id="calendar-day-1" aria-label="
|
|
3724
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3983
|
+
<tbody><tr><td></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3984
|
+
id="calendar-day-1" aria-label="Tuesday, December 1, 2026" aria-pressed="false"
|
|
3985
|
+
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"
|
|
3986
|
+
id="calendar-day-2" aria-label="Wednesday, December 2, 2026" aria-pressed="false" aria-current="date"
|
|
3987
|
+
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"
|
|
3988
|
+
id="calendar-day-3" aria-label="Thursday, December 3, 2026" aria-pressed="false"
|
|
3989
|
+
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"
|
|
3990
|
+
id="calendar-day-4" aria-label="Friday, December 4, 2026" aria-pressed="false"
|
|
3991
|
+
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"
|
|
3992
|
+
id="calendar-day-5" aria-label="Saturday, December 5, 2026" aria-pressed="false"
|
|
3993
|
+
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"
|
|
3994
|
+
id="calendar-day-6" aria-label="Sunday, December 6, 2026" aria-pressed="false"
|
|
3995
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-06" hx-target="closest .mero-calendar" hx-swap="outerHTML">6</button></td></tr>
|
|
3725
3996
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3726
|
-
id="calendar-day-
|
|
3727
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3728
|
-
id="calendar-day-
|
|
3729
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3730
|
-
id="calendar-day-
|
|
3731
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3732
|
-
id="calendar-day-
|
|
3733
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3734
|
-
id="calendar-day-
|
|
3735
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3736
|
-
id="calendar-day-
|
|
3737
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3738
|
-
id="calendar-day-
|
|
3739
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3997
|
+
id="calendar-day-7" aria-label="Monday, December 7, 2026" aria-pressed="false"
|
|
3998
|
+
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"
|
|
3999
|
+
id="calendar-day-8" aria-label="Tuesday, December 8, 2026" aria-pressed="false"
|
|
4000
|
+
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"
|
|
4001
|
+
id="calendar-day-9" aria-label="Wednesday, December 9, 2026" aria-pressed="false"
|
|
4002
|
+
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"
|
|
4003
|
+
id="calendar-day-10" aria-label="Thursday, December 10, 2026" aria-pressed="false"
|
|
4004
|
+
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"
|
|
4005
|
+
id="calendar-day-11" aria-label="Friday, December 11, 2026" aria-pressed="false"
|
|
4006
|
+
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"
|
|
4007
|
+
id="calendar-day-12" aria-label="Saturday, December 12, 2026" aria-pressed="false"
|
|
4008
|
+
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"
|
|
4009
|
+
id="calendar-day-13" aria-label="Sunday, December 13, 2026" aria-pressed="false"
|
|
4010
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-13" hx-target="closest .mero-calendar" hx-swap="outerHTML">13</button></td></tr>
|
|
3740
4011
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3741
|
-
id="calendar-day-
|
|
3742
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3743
|
-
id="calendar-day-
|
|
3744
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3745
|
-
id="calendar-day-
|
|
3746
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3747
|
-
id="calendar-day-
|
|
3748
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3749
|
-
id="calendar-day-
|
|
3750
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3751
|
-
id="calendar-day-
|
|
3752
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3753
|
-
id="calendar-day-
|
|
3754
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
4012
|
+
id="calendar-day-14" aria-label="Monday, December 14, 2026" aria-pressed="false"
|
|
4013
|
+
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"
|
|
4014
|
+
id="calendar-day-15" aria-label="Tuesday, December 15, 2026" aria-pressed="false"
|
|
4015
|
+
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"
|
|
4016
|
+
id="calendar-day-16" aria-label="Wednesday, December 16, 2026" aria-pressed="false"
|
|
4017
|
+
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"
|
|
4018
|
+
id="calendar-day-17" aria-label="Thursday, December 17, 2026" aria-pressed="false"
|
|
4019
|
+
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"
|
|
4020
|
+
id="calendar-day-18" aria-label="Friday, December 18, 2026" aria-pressed="false"
|
|
4021
|
+
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"
|
|
4022
|
+
id="calendar-day-19" aria-label="Saturday, December 19, 2026" aria-pressed="false"
|
|
4023
|
+
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"
|
|
4024
|
+
id="calendar-day-20" aria-label="Sunday, December 20, 2026" aria-pressed="false"
|
|
4025
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-20" hx-target="closest .mero-calendar" hx-swap="outerHTML">20</button></td></tr>
|
|
3755
4026
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3756
|
-
id="calendar-day-
|
|
3757
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3758
|
-
id="calendar-day-
|
|
3759
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3760
|
-
id="calendar-day-
|
|
3761
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3762
|
-
id="calendar-day-
|
|
3763
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3764
|
-
id="calendar-day-
|
|
3765
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3766
|
-
id="calendar-day-
|
|
3767
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3768
|
-
id="calendar-day-
|
|
3769
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
4027
|
+
id="calendar-day-21" aria-label="Monday, December 21, 2026" aria-pressed="false"
|
|
4028
|
+
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"
|
|
4029
|
+
id="calendar-day-22" aria-label="Tuesday, December 22, 2026" aria-pressed="false"
|
|
4030
|
+
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"
|
|
4031
|
+
id="calendar-day-23" aria-label="Wednesday, December 23, 2026" aria-pressed="false"
|
|
4032
|
+
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"
|
|
4033
|
+
id="calendar-day-24" aria-label="Thursday, December 24, 2026" aria-pressed="false"
|
|
4034
|
+
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"
|
|
4035
|
+
id="calendar-day-25" aria-label="Friday, December 25, 2026" aria-pressed="false"
|
|
4036
|
+
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"
|
|
4037
|
+
id="calendar-day-26" aria-label="Saturday, December 26, 2026" aria-pressed="false"
|
|
4038
|
+
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"
|
|
4039
|
+
id="calendar-day-27" aria-label="Sunday, December 27, 2026" aria-pressed="false"
|
|
4040
|
+
hx-get="/demo/catalog/calendar?month=2026-12&selected=2026-12-27" hx-target="closest .mero-calendar" hx-swap="outerHTML">27</button></td></tr>
|
|
3770
4041
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3771
|
-
id="calendar-day-
|
|
3772
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3773
|
-
id="calendar-day-
|
|
3774
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3775
|
-
id="calendar-day-
|
|
3776
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3777
|
-
id="calendar-day-
|
|
3778
|
-
hx-get="/demo/catalog/calendar?month=2026-
|
|
3779
|
-
id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false"
|
|
3780
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-27" hx-target="closest .mero-calendar" hx-swap="outerHTML">27</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3781
|
-
id="calendar-day-28" aria-label="Saturday, November 28, 2026" aria-pressed="false"
|
|
3782
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-28" hx-target="closest .mero-calendar" hx-swap="outerHTML">28</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3783
|
-
id="calendar-day-29" aria-label="Sunday, November 29, 2026" aria-pressed="false" aria-current="date"
|
|
3784
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-29" hx-target="closest .mero-calendar" hx-swap="outerHTML">29</button></td></tr>
|
|
3785
|
-
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3786
|
-
id="calendar-day-30" aria-label="Monday, November 30, 2026" aria-pressed="false"
|
|
3787
|
-
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-30" hx-target="closest .mero-calendar" hx-swap="outerHTML">30</button></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></tbody>
|
|
4042
|
+
id="calendar-day-28" aria-label="Monday, December 28, 2026" aria-pressed="false"
|
|
4043
|
+
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"
|
|
4044
|
+
id="calendar-day-29" aria-label="Tuesday, December 29, 2026" aria-pressed="false"
|
|
4045
|
+
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"
|
|
4046
|
+
id="calendar-day-30" aria-label="Wednesday, December 30, 2026" aria-pressed="false"
|
|
4047
|
+
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"
|
|
4048
|
+
id="calendar-day-31" aria-label="Thursday, December 31, 2026" aria-pressed="false"
|
|
4049
|
+
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>
|
|
3788
4050
|
</table>
|
|
3789
4051
|
<p class="mero-description" role="status">Choose a day.</p>
|
|
3790
4052
|
</div>
|
|
@@ -3793,7 +4055,7 @@ Template
|
|
|
3793
4055
|
|
|
3794
4056
|
# Date Field
|
|
3795
4057
|
|
|
3796
|
-
Mero UI 1.
|
|
4058
|
+
Mero UI 1.2.0 · Date and time
|
|
3797
4059
|
|
|
3798
4060
|
Enter a calendar date in the system’s preferred format.
|
|
3799
4061
|
|
|
@@ -3820,7 +4082,7 @@ Template
|
|
|
3820
4082
|
|
|
3821
4083
|
# Date Picker
|
|
3822
4084
|
|
|
3823
|
-
Mero UI 1.
|
|
4085
|
+
Mero UI 1.2.0 · Date and time
|
|
3824
4086
|
|
|
3825
4087
|
Choose a date with the browser’s calendar picker and native constraints.
|
|
3826
4088
|
|
|
@@ -3849,7 +4111,7 @@ Template
|
|
|
3849
4111
|
|
|
3850
4112
|
# Date Range Picker
|
|
3851
4113
|
|
|
3852
|
-
Mero UI 1.
|
|
4114
|
+
Mero UI 1.2.0 · Date and time
|
|
3853
4115
|
|
|
3854
4116
|
Collect the start and end dates of a range.
|
|
3855
4117
|
|
|
@@ -3888,7 +4150,7 @@ Template
|
|
|
3888
4150
|
|
|
3889
4151
|
# Range Calendar
|
|
3890
4152
|
|
|
3891
|
-
Mero UI 1.
|
|
4153
|
+
Mero UI 1.2.0 · Date and time
|
|
3892
4154
|
|
|
3893
4155
|
Build a range with two native calendar controls.
|
|
3894
4156
|
|
|
@@ -3927,7 +4189,7 @@ Template
|
|
|
3927
4189
|
|
|
3928
4190
|
# Time Field
|
|
3929
4191
|
|
|
3930
|
-
Mero UI 1.
|
|
4192
|
+
Mero UI 1.2.0 · Date and time
|
|
3931
4193
|
|
|
3932
4194
|
Choose a wall-clock time without a timezone conversion.
|
|
3933
4195
|
|
|
@@ -3956,7 +4218,7 @@ Template
|
|
|
3956
4218
|
|
|
3957
4219
|
# Accordion
|
|
3958
4220
|
|
|
3959
|
-
Mero UI 1.
|
|
4221
|
+
Mero UI 1.2.0 · Navigation
|
|
3960
4222
|
|
|
3961
4223
|
Disclose one section at a time using grouped native details.
|
|
3962
4224
|
|
|
@@ -3986,7 +4248,7 @@ Template
|
|
|
3986
4248
|
|
|
3987
4249
|
# Breadcrumbs
|
|
3988
4250
|
|
|
3989
|
-
Mero UI 1.
|
|
4251
|
+
Mero UI 1.2.0 · Navigation
|
|
3990
4252
|
|
|
3991
4253
|
Show the user’s current location and its parent pages.
|
|
3992
4254
|
|
|
@@ -4013,7 +4275,7 @@ Template
|
|
|
4013
4275
|
|
|
4014
4276
|
# Disclosure
|
|
4015
4277
|
|
|
4016
|
-
Mero UI 1.
|
|
4278
|
+
Mero UI 1.2.0 · Navigation
|
|
4017
4279
|
|
|
4018
4280
|
Reveal a single block of supplementary information.
|
|
4019
4281
|
|
|
@@ -4037,7 +4299,7 @@ Template
|
|
|
4037
4299
|
|
|
4038
4300
|
# Disclosure Group
|
|
4039
4301
|
|
|
4040
|
-
Mero UI 1.
|
|
4302
|
+
Mero UI 1.2.0 · Navigation
|
|
4041
4303
|
|
|
4042
4304
|
Present a collection of independently expandable sections.
|
|
4043
4305
|
|
|
@@ -4067,7 +4329,7 @@ Template
|
|
|
4067
4329
|
|
|
4068
4330
|
# Link
|
|
4069
4331
|
|
|
4070
|
-
Mero UI 1.
|
|
4332
|
+
Mero UI 1.2.0 · Navigation
|
|
4071
4333
|
|
|
4072
4334
|
Navigate to a real URL with native link semantics.
|
|
4073
4335
|
|
|
@@ -4088,7 +4350,7 @@ Template
|
|
|
4088
4350
|
|
|
4089
4351
|
# Pagination
|
|
4090
4352
|
|
|
4091
|
-
Mero UI 1.
|
|
4353
|
+
Mero UI 1.2.0 · Navigation
|
|
4092
4354
|
|
|
4093
4355
|
Navigate between result pages with server-rendered fragments.
|
|
4094
4356
|
|
|
@@ -4127,7 +4389,7 @@ Template
|
|
|
4127
4389
|
|
|
4128
4390
|
# Tabs
|
|
4129
4391
|
|
|
4130
|
-
Mero UI 1.
|
|
4392
|
+
Mero UI 1.2.0 · Navigation
|
|
4131
4393
|
|
|
4132
4394
|
Switch between labeled panels with mouse or arrow keys.
|
|
4133
4395
|
|
|
@@ -4214,7 +4476,7 @@ Template
|
|
|
4214
4476
|
|
|
4215
4477
|
# Alert Dialog
|
|
4216
4478
|
|
|
4217
|
-
Mero UI 1.
|
|
4479
|
+
Mero UI 1.2.0 · Overlays
|
|
4218
4480
|
|
|
4219
4481
|
Ask for confirmation on a decision that calls for attention.
|
|
4220
4482
|
|
|
@@ -4249,7 +4511,7 @@ Template
|
|
|
4249
4511
|
|
|
4250
4512
|
# Typed Confirmation
|
|
4251
4513
|
|
|
4252
|
-
Mero UI 1.
|
|
4514
|
+
Mero UI 1.2.0 · Overlays
|
|
4253
4515
|
|
|
4254
4516
|
Require an exact phrase before submitting a destructive action.
|
|
4255
4517
|
|
|
@@ -4408,7 +4670,7 @@ Template
|
|
|
4408
4670
|
|
|
4409
4671
|
# Drawer
|
|
4410
4672
|
|
|
4411
|
-
Mero UI 1.
|
|
4673
|
+
Mero UI 1.2.0 · Overlays
|
|
4412
4674
|
|
|
4413
4675
|
Open a full-height edge panel for work that benefits from more room.
|
|
4414
4676
|
|
|
@@ -4523,12 +4785,14 @@ Template
|
|
|
4523
4785
|
|
|
4524
4786
|
# Modal
|
|
4525
4787
|
|
|
4526
|
-
Mero UI 1.
|
|
4788
|
+
Mero UI 1.2.0 · Overlays
|
|
4527
4789
|
|
|
4528
4790
|
Open a centered, named dialog with native focus containment.
|
|
4529
4791
|
|
|
4530
4792
|
## Default
|
|
4531
4793
|
|
|
4794
|
+
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.
|
|
4795
|
+
|
|
4532
4796
|
Page assets
|
|
4533
4797
|
|
|
4534
4798
|
```html
|
|
@@ -4554,9 +4818,51 @@ Template
|
|
|
4554
4818
|
</div>
|
|
4555
4819
|
````
|
|
4556
4820
|
|
|
4821
|
+
## Wide
|
|
4822
|
+
|
|
4823
|
+
Give side-by-side content more room in a centered dialog.
|
|
4824
|
+
|
|
4825
|
+
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.
|
|
4826
|
+
|
|
4827
|
+
Page assets
|
|
4828
|
+
|
|
4829
|
+
```html
|
|
4830
|
+
<link rel="stylesheet" href="/mero.css">
|
|
4831
|
+
<script defer src="/mero.js"></script>
|
|
4832
|
+
```
|
|
4833
|
+
|
|
4834
|
+
Template
|
|
4835
|
+
|
|
4836
|
+
````html
|
|
4837
|
+
<div class="mero-scope" data-mero-scope>
|
|
4838
|
+
<button class="mero-button mero-button-primary" type="button" data-mero-open="demo-wide-dialog">Restore changes</button>
|
|
4839
|
+
<dialog class="mero-dialog mero-dialog-wide" id="demo-wide-dialog" aria-labelledby="demo-wide-dialog-title" aria-describedby="demo-wide-dialog-description">
|
|
4840
|
+
<div class="mero-dialog-body mero-stack">
|
|
4841
|
+
<div>
|
|
4842
|
+
<h2 class="mero-dialog-title" id="demo-wide-dialog-title">Restore changes</h2>
|
|
4843
|
+
<p class="mero-description" id="demo-wide-dialog-description">Compare each field before you restore it.</p>
|
|
4844
|
+
</div>
|
|
4845
|
+
<div class="mero-table-wrap">
|
|
4846
|
+
<table class="mero-table mero-table-compact">
|
|
4847
|
+
<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>
|
|
4848
|
+
<tbody>
|
|
4849
|
+
<tr><th scope="row">Name</th><td>Studio North</td><td>Studio North East</td><td>Studio North</td></tr>
|
|
4850
|
+
<tr><th scope="row">Region</th><td>Amsterdam</td><td>Rotterdam</td><td>Amsterdam</td></tr>
|
|
4851
|
+
</tbody>
|
|
4852
|
+
</table>
|
|
4853
|
+
</div>
|
|
4854
|
+
<div class="mero-dialog-footer">
|
|
4855
|
+
<button class="mero-button mero-button-secondary" type="button" data-mero-close autofocus>Cancel</button>
|
|
4856
|
+
<button class="mero-button mero-button-primary" type="button" data-mero-close>Restore</button>
|
|
4857
|
+
</div>
|
|
4858
|
+
</div>
|
|
4859
|
+
</dialog>
|
|
4860
|
+
</div>
|
|
4861
|
+
````
|
|
4862
|
+
|
|
4557
4863
|
# Command Menu
|
|
4558
4864
|
|
|
4559
|
-
Mero UI 1.
|
|
4865
|
+
Mero UI 1.2.0 · Overlays
|
|
4560
4866
|
|
|
4561
4867
|
Press Cmd or Ctrl K to search pages and actions returned by your server.
|
|
4562
4868
|
|
|
@@ -4601,7 +4907,7 @@ Template
|
|
|
4601
4907
|
|
|
4602
4908
|
# Popover
|
|
4603
4909
|
|
|
4604
|
-
Mero UI 1.
|
|
4910
|
+
Mero UI 1.2.0 · Overlays
|
|
4605
4911
|
|
|
4606
4912
|
Display contextual information using the browser’s top layer.
|
|
4607
4913
|
|
|
@@ -4630,7 +4936,7 @@ Template
|
|
|
4630
4936
|
|
|
4631
4937
|
# Sheet
|
|
4632
4938
|
|
|
4633
|
-
Mero UI 1.
|
|
4939
|
+
Mero UI 1.2.0 · Overlays
|
|
4634
4940
|
|
|
4635
4941
|
Present concise secondary content from the bottom edge.
|
|
4636
4942
|
|
|
@@ -4663,7 +4969,7 @@ Template
|
|
|
4663
4969
|
|
|
4664
4970
|
# Toast
|
|
4665
4971
|
|
|
4666
|
-
Mero UI 1.
|
|
4972
|
+
Mero UI 1.2.0 · Overlays
|
|
4667
4973
|
|
|
4668
4974
|
Announce a completed action without interrupting the current task.
|
|
4669
4975
|
|
|
@@ -4684,7 +4990,7 @@ Template
|
|
|
4684
4990
|
|
|
4685
4991
|
# Tooltip
|
|
4686
4992
|
|
|
4687
|
-
Mero UI 1.
|
|
4993
|
+
Mero UI 1.2.0 · Overlays
|
|
4688
4994
|
|
|
4689
4995
|
Show a brief hint on pointer hover or keyboard focus.
|
|
4690
4996
|
|
|
@@ -4710,7 +5016,7 @@ Template
|
|
|
4710
5016
|
|
|
4711
5017
|
# Dropdown
|
|
4712
5018
|
|
|
4713
|
-
Mero UI 1.
|
|
5019
|
+
Mero UI 1.2.0 · Collections
|
|
4714
5020
|
|
|
4715
5021
|
Open a compact list of actions or destinations.
|
|
4716
5022
|
|
|
@@ -4740,7 +5046,7 @@ Template
|
|
|
4740
5046
|
|
|
4741
5047
|
# Menu Button
|
|
4742
5048
|
|
|
4743
|
-
Mero UI 1.
|
|
5049
|
+
Mero UI 1.2.0 · Collections
|
|
4744
5050
|
|
|
4745
5051
|
Open row actions and move through them with the arrow keys.
|
|
4746
5052
|
|
|
@@ -4851,7 +5157,7 @@ Template
|
|
|
4851
5157
|
|
|
4852
5158
|
# List Box
|
|
4853
5159
|
|
|
4854
|
-
Mero UI 1.
|
|
5160
|
+
Mero UI 1.2.0 · Collections
|
|
4855
5161
|
|
|
4856
5162
|
Present a selectable collection with arrow-key navigation.
|
|
4857
5163
|
|
|
@@ -4880,7 +5186,7 @@ Template
|
|
|
4880
5186
|
|
|
4881
5187
|
# Tag Group
|
|
4882
5188
|
|
|
4883
|
-
Mero UI 1.
|
|
5189
|
+
Mero UI 1.2.0 · Collections
|
|
4884
5190
|
|
|
4885
5191
|
Display a small, labeled collection of metadata tags.
|
|
4886
5192
|
|
|
@@ -4905,7 +5211,7 @@ Template
|
|
|
4905
5211
|
|
|
4906
5212
|
# Slider
|
|
4907
5213
|
|
|
4908
|
-
Mero UI 1.
|
|
5214
|
+
Mero UI 1.2.0 · Controls
|
|
4909
5215
|
|
|
4910
5216
|
Choose a value from a bounded range.
|
|
4911
5217
|
|
|
@@ -4931,7 +5237,7 @@ Template
|
|
|
4931
5237
|
|
|
4932
5238
|
# Switch
|
|
4933
5239
|
|
|
4934
|
-
Mero UI 1.
|
|
5240
|
+
Mero UI 1.2.0 · Controls
|
|
4935
5241
|
|
|
4936
5242
|
Toggle one setting with a checkbox-backed switch.
|
|
4937
5243
|
|
|
@@ -5005,7 +5311,7 @@ Template
|
|
|
5005
5311
|
|
|
5006
5312
|
# Alert
|
|
5007
5313
|
|
|
5008
|
-
Mero UI 1.
|
|
5314
|
+
Mero UI 1.2.0 · Feedback
|
|
5009
5315
|
|
|
5010
5316
|
Place status or guidance alongside the content it describes.
|
|
5011
5317
|
|
|
@@ -5029,13 +5335,13 @@ Template
|
|
|
5029
5335
|
|
|
5030
5336
|
# Empty State
|
|
5031
5337
|
|
|
5032
|
-
Mero UI 1.
|
|
5338
|
+
Mero UI 1.2.0 · Feedback
|
|
5033
5339
|
|
|
5034
5340
|
Explain an empty result and give the user a relevant next action.
|
|
5035
5341
|
|
|
5036
5342
|
## Default
|
|
5037
5343
|
|
|
5038
|
-
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.
|
|
5344
|
+
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.
|
|
5039
5345
|
|
|
5040
5346
|
Page assets
|
|
5041
5347
|
|
|
@@ -5061,7 +5367,7 @@ Template
|
|
|
5061
5367
|
|
|
5062
5368
|
Explain why a filtered list is empty and how to widen it.
|
|
5063
5369
|
|
|
5064
|
-
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.
|
|
5370
|
+
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.
|
|
5065
5371
|
|
|
5066
5372
|
Page assets
|
|
5067
5373
|
|
|
@@ -5082,9 +5388,61 @@ Template
|
|
|
5082
5388
|
</div>
|
|
5083
5389
|
````
|
|
5084
5390
|
|
|
5391
|
+
## Access refused
|
|
5392
|
+
|
|
5393
|
+
Explain a refused page (403) with a lock glyph.
|
|
5394
|
+
|
|
5395
|
+
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.
|
|
5396
|
+
|
|
5397
|
+
Page assets
|
|
5398
|
+
|
|
5399
|
+
```html
|
|
5400
|
+
<link rel="stylesheet" href="/mero.css">
|
|
5401
|
+
<script defer src="/mero.js"></script>
|
|
5402
|
+
```
|
|
5403
|
+
|
|
5404
|
+
Template
|
|
5405
|
+
|
|
5406
|
+
````html
|
|
5407
|
+
<div class="mero-scope" data-mero-scope>
|
|
5408
|
+
<section class="mero-empty-state" aria-labelledby="empty-access-title">
|
|
5409
|
+
<span class="mero-empty-glyph mero-empty-glyph-lock" aria-hidden="true"></span>
|
|
5410
|
+
<h2 id="empty-access-title">Only administrators can open this page</h2>
|
|
5411
|
+
<p>You are signed in as a viewer. Ask an administrator of this workspace for access.</p>
|
|
5412
|
+
<a class="mero-button mero-button-outline mero-button-sm" href="/components/page-header">Back to overview</a>
|
|
5413
|
+
</section>
|
|
5414
|
+
</div>
|
|
5415
|
+
````
|
|
5416
|
+
|
|
5417
|
+
## Failure
|
|
5418
|
+
|
|
5419
|
+
Explain a failed load (500) with a warning glyph.
|
|
5420
|
+
|
|
5421
|
+
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.
|
|
5422
|
+
|
|
5423
|
+
Page assets
|
|
5424
|
+
|
|
5425
|
+
```html
|
|
5426
|
+
<link rel="stylesheet" href="/mero.css">
|
|
5427
|
+
<script defer src="/mero.js"></script>
|
|
5428
|
+
```
|
|
5429
|
+
|
|
5430
|
+
Template
|
|
5431
|
+
|
|
5432
|
+
````html
|
|
5433
|
+
<div class="mero-scope" data-mero-scope>
|
|
5434
|
+
<section class="mero-empty-state" aria-labelledby="empty-failure-title">
|
|
5435
|
+
<span class="mero-empty-glyph mero-empty-glyph-warning" aria-hidden="true"></span>
|
|
5436
|
+
<h2 id="empty-failure-title">The releases could not be loaded</h2>
|
|
5437
|
+
<p>The server returned an error. Try again in a moment.</p>
|
|
5438
|
+
<a class="mero-button mero-button-outline mero-button-sm" href="/components/empty-state">Try again</a>
|
|
5439
|
+
</section>
|
|
5440
|
+
</div>
|
|
5441
|
+
````
|
|
5442
|
+
|
|
5085
5443
|
# Meter
|
|
5086
5444
|
|
|
5087
|
-
Mero UI 1.
|
|
5445
|
+
Mero UI 1.2.0 · Feedback
|
|
5088
5446
|
|
|
5089
5447
|
Show a measurement between known bounds.
|
|
5090
5448
|
|
|
@@ -5111,7 +5469,7 @@ Template
|
|
|
5111
5469
|
|
|
5112
5470
|
# Live Progress
|
|
5113
5471
|
|
|
5114
|
-
Mero UI 1.
|
|
5472
|
+
Mero UI 1.2.0 · Feedback
|
|
5115
5473
|
|
|
5116
5474
|
Follow a deployment through to its final status.
|
|
5117
5475
|
|
|
@@ -5181,7 +5539,7 @@ Template
|
|
|
5181
5539
|
|
|
5182
5540
|
# Progress Bar
|
|
5183
5541
|
|
|
5184
|
-
Mero UI 1.
|
|
5542
|
+
Mero UI 1.2.0 · Feedback
|
|
5185
5543
|
|
|
5186
5544
|
Report measurable progress toward completion.
|
|
5187
5545
|
|
|
@@ -5207,7 +5565,7 @@ Template
|
|
|
5207
5565
|
|
|
5208
5566
|
# Progress Circle
|
|
5209
5567
|
|
|
5210
|
-
Mero UI 1.
|
|
5568
|
+
Mero UI 1.2.0 · Feedback
|
|
5211
5569
|
|
|
5212
5570
|
Show a completion value in a compact circular display.
|
|
5213
5571
|
|
|
@@ -5229,7 +5587,7 @@ Template
|
|
|
5229
5587
|
|
|
5230
5588
|
# Skeleton
|
|
5231
5589
|
|
|
5232
|
-
Mero UI 1.
|
|
5590
|
+
Mero UI 1.2.0 · Feedback
|
|
5233
5591
|
|
|
5234
5592
|
Reserve space for content while its HTML is loading.
|
|
5235
5593
|
|
|
@@ -5254,7 +5612,7 @@ Template
|
|
|
5254
5612
|
|
|
5255
5613
|
# Spinner
|
|
5256
5614
|
|
|
5257
|
-
Mero UI 1.
|
|
5615
|
+
Mero UI 1.2.0 · Feedback
|
|
5258
5616
|
|
|
5259
5617
|
Indicate that work is underway when the completion time is unknown.
|
|
5260
5618
|
|
|
@@ -5278,7 +5636,7 @@ Template
|
|
|
5278
5636
|
|
|
5279
5637
|
# Card
|
|
5280
5638
|
|
|
5281
|
-
Mero UI 1.
|
|
5639
|
+
Mero UI 1.2.0 · Layout
|
|
5282
5640
|
|
|
5283
5641
|
Group related content and an action into one compact surface.
|
|
5284
5642
|
|
|
@@ -5358,13 +5716,13 @@ Template
|
|
|
5358
5716
|
|
|
5359
5717
|
# Page Header
|
|
5360
5718
|
|
|
5361
|
-
Mero UI 1.
|
|
5719
|
+
Mero UI 1.2.0 · Layout
|
|
5362
5720
|
|
|
5363
5721
|
Open a page with its title, a short description and the page’s main actions.
|
|
5364
5722
|
|
|
5365
5723
|
## Default
|
|
5366
5724
|
|
|
5367
|
-
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.
|
|
5725
|
+
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.
|
|
5368
5726
|
|
|
5369
5727
|
Page assets
|
|
5370
5728
|
|
|
@@ -5426,7 +5784,7 @@ Template
|
|
|
5426
5784
|
|
|
5427
5785
|
# Separator
|
|
5428
5786
|
|
|
5429
|
-
Mero UI 1.
|
|
5787
|
+
Mero UI 1.2.0 · Layout
|
|
5430
5788
|
|
|
5431
5789
|
Separate related content sections using a semantic rule.
|
|
5432
5790
|
|
|
@@ -5451,7 +5809,7 @@ Template
|
|
|
5451
5809
|
|
|
5452
5810
|
# Surface
|
|
5453
5811
|
|
|
5454
|
-
Mero UI 1.
|
|
5812
|
+
Mero UI 1.2.0 · Layout
|
|
5455
5813
|
|
|
5456
5814
|
Give related content a tonal background with shared theme tokens.
|
|
5457
5815
|
|
|
@@ -5475,7 +5833,7 @@ Template
|
|
|
5475
5833
|
|
|
5476
5834
|
# Toolbar
|
|
5477
5835
|
|
|
5478
|
-
Mero UI 1.
|
|
5836
|
+
Mero UI 1.2.0 · Layout
|
|
5479
5837
|
|
|
5480
5838
|
Keep nearby actions aligned and grouped by purpose.
|
|
5481
5839
|
|
|
@@ -5502,7 +5860,7 @@ Template
|
|
|
5502
5860
|
|
|
5503
5861
|
# Avatar
|
|
5504
5862
|
|
|
5505
|
-
Mero UI 1.
|
|
5863
|
+
Mero UI 1.2.0 · Media
|
|
5506
5864
|
|
|
5507
5865
|
Represent a person with initials and an accessible name.
|
|
5508
5866
|
|
|
@@ -5526,7 +5884,7 @@ Template
|
|
|
5526
5884
|
|
|
5527
5885
|
# Avatar Group
|
|
5528
5886
|
|
|
5529
|
-
Mero UI 1.
|
|
5887
|
+
Mero UI 1.2.0 · Media
|
|
5530
5888
|
|
|
5531
5889
|
Show a compact cluster of people associated with a workspace.
|
|
5532
5890
|
|
|
@@ -5551,7 +5909,7 @@ Template
|
|
|
5551
5909
|
|
|
5552
5910
|
# Autocomplete
|
|
5553
5911
|
|
|
5554
|
-
Mero UI 1.
|
|
5912
|
+
Mero UI 1.2.0 · Pickers
|
|
5555
5913
|
|
|
5556
5914
|
Request matching options from the server as a user types.
|
|
5557
5915
|
|
|
@@ -5631,7 +5989,7 @@ Template
|
|
|
5631
5989
|
|
|
5632
5990
|
# Combo Box
|
|
5633
5991
|
|
|
5634
|
-
Mero UI 1.
|
|
5992
|
+
Mero UI 1.2.0 · Pickers
|
|
5635
5993
|
|
|
5636
5994
|
Filter and select from suggestions already on the page.
|
|
5637
5995
|
|
|
@@ -5711,7 +6069,7 @@ Template
|
|
|
5711
6069
|
|
|
5712
6070
|
# Select
|
|
5713
6071
|
|
|
5714
|
-
Mero UI 1.
|
|
6072
|
+
Mero UI 1.2.0 · Pickers
|
|
5715
6073
|
|
|
5716
6074
|
Choose one of a fixed set of values using the platform’s picker.
|
|
5717
6075
|
|
|
@@ -5741,7 +6099,7 @@ Template
|
|
|
5741
6099
|
|
|
5742
6100
|
# Kbd
|
|
5743
6101
|
|
|
5744
|
-
Mero UI 1.
|
|
6102
|
+
Mero UI 1.2.0 · Typography
|
|
5745
6103
|
|
|
5746
6104
|
Format a keyboard shortcut with native semantics.
|
|
5747
6105
|
|
|
@@ -5793,7 +6151,7 @@ Template
|
|
|
5793
6151
|
|
|
5794
6152
|
# Typography
|
|
5795
6153
|
|
|
5796
|
-
Mero UI 1.
|
|
6154
|
+
Mero UI 1.2.0 · Typography
|
|
5797
6155
|
|
|
5798
6156
|
Apply the type scale to semantic content.
|
|
5799
6157
|
|
|
@@ -5841,7 +6199,7 @@ Template
|
|
|
5841
6199
|
|
|
5842
6200
|
# Badge
|
|
5843
6201
|
|
|
5844
|
-
Mero UI 1.
|
|
6202
|
+
Mero UI 1.2.0 · Data display
|
|
5845
6203
|
|
|
5846
6204
|
Label a status using text and a semantic tone.
|
|
5847
6205
|
|
|
@@ -5866,7 +6224,7 @@ Template
|
|
|
5866
6224
|
|
|
5867
6225
|
# Chip
|
|
5868
6226
|
|
|
5869
|
-
Mero UI 1.
|
|
6227
|
+
Mero UI 1.2.0 · Data display
|
|
5870
6228
|
|
|
5871
6229
|
Display a lightweight label for an attribute or filter value.
|
|
5872
6230
|
|
|
@@ -5887,7 +6245,7 @@ Template
|
|
|
5887
6245
|
|
|
5888
6246
|
# Description List
|
|
5889
6247
|
|
|
5890
|
-
Mero UI 1.
|
|
6248
|
+
Mero UI 1.2.0 · Data display
|
|
5891
6249
|
|
|
5892
6250
|
Show a record’s fields as label and value pairs.
|
|
5893
6251
|
|
|
@@ -5916,7 +6274,7 @@ Template
|
|
|
5916
6274
|
|
|
5917
6275
|
# Table
|
|
5918
6276
|
|
|
5919
|
-
Mero UI 1.
|
|
6277
|
+
Mero UI 1.2.0 · Data display
|
|
5920
6278
|
|
|
5921
6279
|
Show comparable records in a native table with column headers.
|
|
5922
6280
|
|
|
@@ -6003,7 +6361,7 @@ Template
|
|
|
6003
6361
|
|
|
6004
6362
|
# Sortable Table
|
|
6005
6363
|
|
|
6006
|
-
Mero UI 1.
|
|
6364
|
+
Mero UI 1.2.0 · Data display
|
|
6007
6365
|
|
|
6008
6366
|
Sort server-rendered rows from the column headers and open a row from anywhere in it.
|
|
6009
6367
|
|
|
@@ -6305,7 +6663,7 @@ Template
|
|
|
6305
6663
|
|
|
6306
6664
|
# Filter Chips
|
|
6307
6665
|
|
|
6308
|
-
Mero UI 1.
|
|
6666
|
+
Mero UI 1.2.0 · Data display
|
|
6309
6667
|
|
|
6310
6668
|
Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
|
|
6311
6669
|
|
|
@@ -6453,7 +6811,7 @@ Template
|
|
|
6453
6811
|
|
|
6454
6812
|
# Color Area
|
|
6455
6813
|
|
|
6456
|
-
Mero UI 1.
|
|
6814
|
+
Mero UI 1.2.0 · Colors
|
|
6457
6815
|
|
|
6458
6816
|
Open a browser-managed color surface and submit the selected color.
|
|
6459
6817
|
|
|
@@ -6482,7 +6840,7 @@ Template
|
|
|
6482
6840
|
|
|
6483
6841
|
# Color Field
|
|
6484
6842
|
|
|
6485
|
-
Mero UI 1.
|
|
6843
|
+
Mero UI 1.2.0 · Colors
|
|
6486
6844
|
|
|
6487
6845
|
Enter a six-digit hex value directly in a text field.
|
|
6488
6846
|
|
|
@@ -6511,7 +6869,7 @@ Template
|
|
|
6511
6869
|
|
|
6512
6870
|
# Color Picker
|
|
6513
6871
|
|
|
6514
|
-
Mero UI 1.
|
|
6872
|
+
Mero UI 1.2.0 · Colors
|
|
6515
6873
|
|
|
6516
6874
|
Choose a color using the native picker UI.
|
|
6517
6875
|
|
|
@@ -6538,7 +6896,7 @@ Template
|
|
|
6538
6896
|
|
|
6539
6897
|
# Color Slider
|
|
6540
6898
|
|
|
6541
|
-
Mero UI 1.
|
|
6899
|
+
Mero UI 1.2.0 · Colors
|
|
6542
6900
|
|
|
6543
6901
|
Adjust a hue along the color spectrum.
|
|
6544
6902
|
|
|
@@ -6568,7 +6926,7 @@ Template
|
|
|
6568
6926
|
|
|
6569
6927
|
# Color Swatch
|
|
6570
6928
|
|
|
6571
|
-
Mero UI 1.
|
|
6929
|
+
Mero UI 1.2.0 · Colors
|
|
6572
6930
|
|
|
6573
6931
|
Show a color with its human-readable label.
|
|
6574
6932
|
|
|
@@ -6593,7 +6951,7 @@ Template
|
|
|
6593
6951
|
|
|
6594
6952
|
# Scroll Shadow
|
|
6595
6953
|
|
|
6596
|
-
Mero UI 1.
|
|
6954
|
+
Mero UI 1.2.0 · Utilities
|
|
6597
6955
|
|
|
6598
6956
|
Expose a scrollable region with a visual cue that more content is available.
|
|
6599
6957
|
|
|
@@ -6623,7 +6981,7 @@ Template
|
|
|
6623
6981
|
|
|
6624
6982
|
# Visually Hidden
|
|
6625
6983
|
|
|
6626
|
-
Mero UI 1.
|
|
6984
|
+
Mero UI 1.2.0 · Utilities
|
|
6627
6985
|
|
|
6628
6986
|
Give screen readers context that the visible text leaves implied.
|
|
6629
6987
|
|
|
@@ -6649,7 +7007,7 @@ Template
|
|
|
6649
7007
|
|
|
6650
7008
|
# Join
|
|
6651
7009
|
|
|
6652
|
-
Mero UI 1.
|
|
7010
|
+
Mero UI 1.2.0 · Composition
|
|
6653
7011
|
|
|
6654
7012
|
Connect related controls with a shared outline.
|
|
6655
7013
|
|
|
@@ -6672,7 +7030,7 @@ Template
|
|
|
6672
7030
|
|
|
6673
7031
|
# Menu
|
|
6674
7032
|
|
|
6675
|
-
Mero UI 1.
|
|
7033
|
+
Mero UI 1.2.0 · Composition
|
|
6676
7034
|
|
|
6677
7035
|
Group destinations with an active page and section labels.
|
|
6678
7036
|
|
|
@@ -6695,7 +7053,7 @@ Template
|
|
|
6695
7053
|
|
|
6696
7054
|
# Hero
|
|
6697
7055
|
|
|
6698
|
-
Mero UI 1.
|
|
7056
|
+
Mero UI 1.2.0 · Composition
|
|
6699
7057
|
|
|
6700
7058
|
Pair a product introduction with a single destination.
|
|
6701
7059
|
|
|
@@ -6720,7 +7078,7 @@ Template
|
|
|
6720
7078
|
|
|
6721
7079
|
# Footer
|
|
6722
7080
|
|
|
6723
|
-
Mero UI 1.
|
|
7081
|
+
Mero UI 1.2.0 · Composition
|
|
6724
7082
|
|
|
6725
7083
|
Close a workspace with a small group of navigation links.
|
|
6726
7084
|
|
|
@@ -6743,7 +7101,7 @@ Template
|
|
|
6743
7101
|
|
|
6744
7102
|
# Theme Controller
|
|
6745
7103
|
|
|
6746
|
-
Mero UI 1.
|
|
7104
|
+
Mero UI 1.2.0 · Composition
|
|
6747
7105
|
|
|
6748
7106
|
Set a theme inside one section of a page.
|
|
6749
7107
|
|
|
@@ -6766,7 +7124,7 @@ Template
|
|
|
6766
7124
|
|
|
6767
7125
|
# Validator
|
|
6768
7126
|
|
|
6769
|
-
Mero UI 1.
|
|
7127
|
+
Mero UI 1.2.0 · Composition
|
|
6770
7128
|
|
|
6771
7129
|
Show a native field constraint and its correction with zero JavaScript.
|
|
6772
7130
|
|
|
@@ -6812,7 +7170,7 @@ Template
|
|
|
6812
7170
|
|
|
6813
7171
|
# Aura
|
|
6814
7172
|
|
|
6815
|
-
Mero UI 1.
|
|
7173
|
+
Mero UI 1.2.0 · Display utilities
|
|
6816
7174
|
|
|
6817
7175
|
Frame an interactive surface with a subtle moving highlight.
|
|
6818
7176
|
|
|
@@ -6835,7 +7193,7 @@ Template
|
|
|
6835
7193
|
|
|
6836
7194
|
# Countdown
|
|
6837
7195
|
|
|
6838
|
-
Mero UI 1.
|
|
7196
|
+
Mero UI 1.2.0 · Display utilities
|
|
6839
7197
|
|
|
6840
7198
|
Show the time remaining until the next daily shipping cutoff.
|
|
6841
7199
|
|
|
@@ -6860,7 +7218,7 @@ Template
|
|
|
6860
7218
|
|
|
6861
7219
|
# Indicator
|
|
6862
7220
|
|
|
6863
|
-
Mero UI 1.
|
|
7221
|
+
Mero UI 1.2.0 · Display utilities
|
|
6864
7222
|
|
|
6865
7223
|
Anchor a quantity to an icon or action.
|
|
6866
7224
|
|
|
@@ -6883,7 +7241,7 @@ Template
|
|
|
6883
7241
|
|
|
6884
7242
|
# Mask
|
|
6885
7243
|
|
|
6886
|
-
Mero UI 1.
|
|
7244
|
+
Mero UI 1.2.0 · Display utilities
|
|
6887
7245
|
|
|
6888
7246
|
Crop an image while keeping its alternative text.
|
|
6889
7247
|
|
|
@@ -6908,7 +7266,7 @@ Template
|
|
|
6908
7266
|
|
|
6909
7267
|
# Stack
|
|
6910
7268
|
|
|
6911
|
-
Mero UI 1.
|
|
7269
|
+
Mero UI 1.2.0 · Display utilities
|
|
6912
7270
|
|
|
6913
7271
|
Layer related previews while keeping the current item legible.
|
|
6914
7272
|
|
|
@@ -6933,7 +7291,7 @@ Template
|
|
|
6933
7291
|
|
|
6934
7292
|
# Status
|
|
6935
7293
|
|
|
6936
|
-
Mero UI 1.
|
|
7294
|
+
Mero UI 1.2.0 · Display utilities
|
|
6937
7295
|
|
|
6938
7296
|
Show system status with a label and a visual marker.
|
|
6939
7297
|
|
|
@@ -6956,7 +7314,7 @@ Template
|
|
|
6956
7314
|
|
|
6957
7315
|
# Swap
|
|
6958
7316
|
|
|
6959
|
-
Mero UI 1.
|
|
7317
|
+
Mero UI 1.2.0 · Display utilities
|
|
6960
7318
|
|
|
6961
7319
|
Switch between two labels or icons on a native control.
|
|
6962
7320
|
|
|
@@ -6979,7 +7337,7 @@ Template
|
|
|
6979
7337
|
|
|
6980
7338
|
# Text Rotate
|
|
6981
7339
|
|
|
6982
|
-
Mero UI 1.
|
|
7340
|
+
Mero UI 1.2.0 · Display utilities
|
|
6983
7341
|
|
|
6984
7342
|
Rotate through short messages with explicit playback controls.
|
|
6985
7343
|
|
|
@@ -7002,7 +7360,7 @@ Template
|
|
|
7002
7360
|
|
|
7003
7361
|
# Browser Mockup
|
|
7004
7362
|
|
|
7005
|
-
Mero UI 1.
|
|
7363
|
+
Mero UI 1.2.0 · Mockups
|
|
7006
7364
|
|
|
7007
7365
|
Present a site preview inside a compact browser frame.
|
|
7008
7366
|
|
|
@@ -7027,7 +7385,7 @@ Template
|
|
|
7027
7385
|
|
|
7028
7386
|
# Phone Mockup
|
|
7029
7387
|
|
|
7030
|
-
Mero UI 1.
|
|
7388
|
+
Mero UI 1.2.0 · Mockups
|
|
7031
7389
|
|
|
7032
7390
|
Frame a mobile product screen.
|
|
7033
7391
|
|
|
@@ -7052,7 +7410,7 @@ Template
|
|
|
7052
7410
|
|
|
7053
7411
|
# Window Mockup
|
|
7054
7412
|
|
|
7055
|
-
Mero UI 1.
|
|
7413
|
+
Mero UI 1.2.0 · Mockups
|
|
7056
7414
|
|
|
7057
7415
|
Place a desktop tool inside a labelled window.
|
|
7058
7416
|
|
|
@@ -7075,7 +7433,7 @@ Template
|
|
|
7075
7433
|
|
|
7076
7434
|
# Code Mockup
|
|
7077
7435
|
|
|
7078
|
-
Mero UI 1.
|
|
7436
|
+
Mero UI 1.2.0 · Mockups
|
|
7079
7437
|
|
|
7080
7438
|
Present a terminal command and its output.
|
|
7081
7439
|
|