@rubenlangeweg/mero-ui 0.10.0 → 1.1.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 +13 -0
- package/README.md +4 -4
- package/agent-docs/components/accordion.md +1 -1
- package/agent-docs/components/action-bar.md +2 -2
- 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 +1 -1
- 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 +3 -3
- 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 +16 -13
- 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 +5 -5
- 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 +1 -1
- 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-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 +1 -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 +1 -1
- 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/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 +1 -1
- 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 +8 -8
- 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 +202 -199
- package/agent-docs/llms-full.txt +211 -207
- package/agent-docs/llms-patterns.txt +10 -9
- package/agent-docs/llms.txt +3 -3
- package/dist/manifest.json +141 -141
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/ui/mero.min.css +2 -2
- 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 +54 -12
- package/ui/mero-composition.css +1 -1
- package/ui/mero-composition.js +1 -11
- package/ui/mero-forms.js +3 -3
- 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 +3 -3
- package/ui/mero-themes.css +1 -1
- package/ui/mero-workspace.css +5 -6
- package/ui/mero-workspace.js +7 -26
- package/ui/mero.css +1 -1
- package/ui/mero.d.ts +1 -1
- package/ui/mero.js +12 -10
package/agent-docs/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Mero UI
|
|
1
|
+
# Mero UI 1.1.0 integration patterns
|
|
2
2
|
|
|
3
3
|
## Install a component
|
|
4
4
|
|
|
@@ -135,7 +135,7 @@ Tears down Mero state inside `root` before removing it outside htmx: stops and a
|
|
|
135
135
|
|
|
136
136
|
### MeroUI.configure({ messages, locale, dialogBackdrop })
|
|
137
137
|
|
|
138
|
-
Configures runtime strings (`messages`), default formatting locale (`locale`, or `"document"` / `"browser"`) and backdrop light-dismiss scope (`dialogBackdrop`: `"
|
|
138
|
+
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.
|
|
139
139
|
|
|
140
140
|
## Component attributes
|
|
141
141
|
|
|
@@ -145,7 +145,7 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
145
145
|
- `data-mero-close` — On a control inside a dialog. Closes it. The value becomes the dialog’s `returnValue`.
|
|
146
146
|
- `data-mero-autoopen` — On a dialog. Opens it as soon as it is on the page or swapped in.
|
|
147
147
|
- `data-mero-static` — On a dialog. A click on the backdrop does not close it.
|
|
148
|
-
- `data-mero-dialog` — On a dialog without `.mero-dialog`. Opts the dialog into backdrop light-dismiss
|
|
148
|
+
- `data-mero-dialog` — On a dialog without `.mero-dialog`. Opts the dialog into backdrop light-dismiss under the default `dialogBackdrop: "mero-only"` mode.
|
|
149
149
|
- `data-mero-toast` — On a button. Shows the value as a notification on click.
|
|
150
150
|
- `data-mero-tone` — With `data-mero-toast`. One of `accent`, `success`, `warning` or `danger`.
|
|
151
151
|
- `data-mero-toggle` — On a button. Flips `aria-pressed` on click.
|
|
@@ -174,7 +174,7 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
174
174
|
- `data-mero-tooltip-dismissed` (set by Mero) — On a tooltip closed with Escape, until the pointer and focus leave it.
|
|
175
175
|
- `data-mero-cell-label` — On an `aria-hidden="true"` span inside a table cell. Copy its column heading here for the card layout. Add `mero-table-cards` to the table wrapper for cards below 768 px, or `mero-table-cards-wide` for 1024 px. See the [Sortable Table](components/sortable-table.md) for the table roles and sort links.
|
|
176
176
|
- `data-mero-card-hidden` — On a `th` or `td` in a `mero-table-cards` table. Hides that column in the card layout below 768 px, or 1024 px with `mero-table-cards-wide`. Put it on the column's header and on each of its cells. See the [Table](components/table?variant=Cards%20on%20phones.md).
|
|
177
|
-
- `data-mero-command` — On a `<dialog>` holding a remote combobox. Cmd or Ctrl K opens it with an empty query, and choosing an option runs that option’s link, `hx-*` request or toast. Give the shortcut to one command menu per page
|
|
177
|
+
- `data-mero-command` — On a `<dialog>` holding a local or remote combobox. Cmd or Ctrl K opens it with an empty query (skipping dialogs inside `[inert]` or `[hidden]` ancestors), and choosing an option runs that option’s link, `hx-*` request, copy action or toast. Give the shortcut to one command menu per page. Group server results with `role="group"` and `aria-labelledby` pointing to a visible heading. Give each option a unique ID. Up and Down cross groups, Home and End reach the first and last result, and the status counts selectable options. Omit empty groups and return one disabled “No results” option when nothing matches.
|
|
178
178
|
- `data-mero-peek` — Around a table wrapper whose rows have a `.mero-row-link`. With a row link focused, Space shows the row’s `data-mero-peek-body` template in a Preview panel beside the table, or in a bottom sheet below 768 px. While it is open, Up and Down Arrow move between rows and the panel follows focus. Space or Escape closes it and focuses the row. See the [Sortable Table](components/sortable-table.md) Row peek variant.
|
|
179
179
|
- `data-mero-peek-body` — On a `<template>` inside a row of a `data-mero-peek` table. Holds the server-rendered preview for that row. Give the row a stable `id` so the preview follows it through swaps; otherwise Mero matches the row link’s `href`.
|
|
180
180
|
- `data-mero-peek-close` (set by Mero) — On the Close button of the Preview panel Mero adds.
|
|
@@ -246,8 +246,11 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
246
246
|
|
|
247
247
|
### Collections · mero-collections.js
|
|
248
248
|
|
|
249
|
-
- `data-mero-grid` — Root of a data grid. Keeps
|
|
250
|
-
- `data-mero-grid-focus` — On the grid in a server response.
|
|
249
|
+
- `data-mero-grid` — Root of a data grid. Keeps select-all, the selection count and the bulk action bar in step with enabled `input[type=checkbox][name=row]` controls. Disabled rows, including those inside disabled fieldsets, are neither counted nor changed by select-all or Clear.
|
|
250
|
+
- `data-mero-grid-focus` — On the grid in a server response. Focuses the enabled control with a matching `data-mero-grid-focus-key` after the swap. Legacy recipe keys still work: `field`, `cancel`, `invalid`, `add`, `search` (input named q), `filter`, `sort-name`, `sort-status`, or `edit-ID` and `delete-ID` for that row’s Actions button. IDs may be UUIDs or other nonempty strings. If the target is missing or disabled, focus falls back to `data-mero-focus-fallback` and then `data-grid-add`. Mero removes the attribute once processed.
|
|
251
|
+
- `data-mero-grid-focus-key` — On a focusable control inside a grid. An application-defined exact key, unique within that grid. Takes precedence over legacy recipe keys; use it for arbitrary search fields, sort controls and row actions.
|
|
252
|
+
- `data-mero-grid-revision` — On the grid. Its current numeric, monotonically increasing revision. Responses with a lower revision are not swapped. Render the updated revision on the replacement grid element (for example with `outerHTML` or `outerMorph`) so the revision stays in step with the rendered content. If absent or blank, the legacy `data-inventory-revision` value is used.
|
|
253
|
+
- `data-mero-grid-revision-header` — On the grid. Response header carrying its numeric revision, such as `Assets-Revision`. Defaults to the legacy `Inventory-Revision` header. Responses without a valid numeric value in this header are not revision-checked. This guards stale rendering; the server must still enforce write conflicts.
|
|
251
254
|
- `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.
|
|
252
255
|
- `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.
|
|
253
256
|
- `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`.
|
|
@@ -280,8 +283,7 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
280
283
|
### Workspace · mero-workspace.js
|
|
281
284
|
|
|
282
285
|
- `data-mero-ws-shell` — Root of an app shell. A `data-mero-ws-open` button inside opens its dialog.
|
|
283
|
-
- `data-mero-ws-open` — On a button inside a shell
|
|
284
|
-
- `data-mero-ws-command` — Root of a command menu. Cmd or Ctrl and K opens it, and typing filters its actions.
|
|
286
|
+
- `data-mero-ws-open` — On a button inside a shell or emoji picker. Opens that component’s dialog.
|
|
285
287
|
- `data-mero-ws-emoji` — Root of an emoji picker. Choosing an emoji fills its hidden input and closes the dialog.
|
|
286
288
|
- `data-mero-ws-context` — Root of a context menu. A right click, the menu key or Shift and F10 on a row opens its `role="menu"`.
|
|
287
289
|
- `data-mero-ws-context-open` — On the button that opens the same context menu.
|
|
@@ -308,7 +310,6 @@ Configures runtime strings (`messages`), default formatting locale (`locale`, or
|
|
|
308
310
|
- `data-mero-theme-scope` — On a section. Receives the theme chosen in the picker inside it.
|
|
309
311
|
- `data-mero-theme-picker` — On a select or radio. Its value becomes the scope’s `data-theme`.
|
|
310
312
|
- `data-mero-cutoff-hour` — Around a `<time>`. Counts down to that hour, 0 to 23 in UTC.
|
|
311
|
-
- `data-mero-check-form` — Deprecated. Demo-only validation form hook; will be removed in 1.0.
|
|
312
313
|
|
|
313
314
|
## State Mero owns
|
|
314
315
|
|
|
@@ -359,7 +360,7 @@ What a browser test proves about Mero next to Alpine. It runs Alpine 3.14.8, the
|
|
|
359
360
|
|
|
360
361
|
# Carousel
|
|
361
362
|
|
|
362
|
-
Mero UI
|
|
363
|
+
Mero UI 1.1.0 · Media galleries
|
|
363
364
|
|
|
364
365
|
Browse product photography with native scroll snap, thumbnails and keyboard controls.
|
|
365
366
|
|
|
@@ -436,7 +437,7 @@ Template
|
|
|
436
437
|
|
|
437
438
|
# Hover Gallery
|
|
438
439
|
|
|
439
|
-
Mero UI
|
|
440
|
+
Mero UI 1.1.0 · Media galleries
|
|
440
441
|
|
|
441
442
|
Explore the shade, base and profile of a product with a pointer, touch or keyboard.
|
|
442
443
|
|
|
@@ -513,7 +514,7 @@ Template
|
|
|
513
514
|
|
|
514
515
|
# Image Diff
|
|
515
516
|
|
|
516
|
-
Mero UI
|
|
517
|
+
Mero UI 1.1.0 · Media galleries
|
|
517
518
|
|
|
518
519
|
Reveal two finishes at the same position using an accessible comparison slider.
|
|
519
520
|
|
|
@@ -555,7 +556,7 @@ Template
|
|
|
555
556
|
|
|
556
557
|
# Holo Card
|
|
557
558
|
|
|
558
|
-
Mero UI
|
|
559
|
+
Mero UI 1.1.0 · Media galleries
|
|
559
560
|
|
|
560
561
|
Catch a material sample in a shifting foil reflection.
|
|
561
562
|
|
|
@@ -587,7 +588,7 @@ Template
|
|
|
587
588
|
|
|
588
589
|
# Data Grid
|
|
589
590
|
|
|
590
|
-
Mero UI
|
|
591
|
+
Mero UI 1.1.0 · Studio collections
|
|
591
592
|
|
|
592
593
|
Search, sort, select and edit products in a server-rendered collection.
|
|
593
594
|
|
|
@@ -608,7 +609,7 @@ Page assets
|
|
|
608
609
|
Template
|
|
609
610
|
|
|
610
611
|
````html
|
|
611
|
-
<div class="mero-grid-mount" hx-get="/demo/collections/grid" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-
|
|
612
|
+
<div class="mero-grid-mount" hx-get="/demo/collections/grid" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
|
|
612
613
|
<input type="hidden" name="revision" value="0">
|
|
613
614
|
<div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
|
|
614
615
|
<form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
|
|
@@ -646,7 +647,7 @@ Page assets
|
|
|
646
647
|
Template
|
|
647
648
|
|
|
648
649
|
````html
|
|
649
|
-
<div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-
|
|
650
|
+
<div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
|
|
650
651
|
<input type="hidden" name="revision" value="0">
|
|
651
652
|
<div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
|
|
652
653
|
<form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
|
|
@@ -684,7 +685,7 @@ Page assets
|
|
|
684
685
|
Template
|
|
685
686
|
|
|
686
687
|
````html
|
|
687
|
-
<div class="mero-grid-mount" hx-get="/demo/collections/grid?filter=Draft" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-
|
|
688
|
+
<div class="mero-grid-mount" hx-get="/demo/collections/grid?filter=Draft" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
|
|
688
689
|
<input type="hidden" name="revision" value="0">
|
|
689
690
|
<div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
|
|
690
691
|
<form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
|
|
@@ -722,7 +723,7 @@ Page assets
|
|
|
722
723
|
Template
|
|
723
724
|
|
|
724
725
|
````html
|
|
725
|
-
<div class="mero-grid-mount" hx-get="/demo/collections/grid?q=No+such+SKU" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-
|
|
726
|
+
<div class="mero-grid-mount" hx-get="/demo/collections/grid?q=No+such+SKU" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
|
|
726
727
|
<input type="hidden" name="revision" value="0">
|
|
727
728
|
<div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
|
|
728
729
|
<form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
|
|
@@ -745,7 +746,7 @@ Template
|
|
|
745
746
|
|
|
746
747
|
# Action Bar
|
|
747
748
|
|
|
748
|
-
Mero UI
|
|
749
|
+
Mero UI 1.1.0 · Studio collections
|
|
749
750
|
|
|
750
751
|
Select records and apply one status change to the selection.
|
|
751
752
|
|
|
@@ -766,7 +767,7 @@ Page assets
|
|
|
766
767
|
Template
|
|
767
768
|
|
|
768
769
|
````html
|
|
769
|
-
<div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-
|
|
770
|
+
<div class="mero-grid-mount" hx-get="/demo/collections/grid?row=1&row=2" hx-trigger="load" hx-swap="innerHTML"><section class="mero-collection" data-mero-grid data-mero-scope data-mero-grid-revision="0" data-mero-grid-revision-header="Inventory-Revision" hx-target:inherited="closest [data-mero-grid]" hx-swap:inherited="outerHTML" hx-sync:inherited="closest [data-mero-grid]:drop" hx-include:inherited="closest [data-mero-grid]" hx-params="q,filter,sort,row,returnFocus">
|
|
770
771
|
<input type="hidden" name="revision" value="0">
|
|
771
772
|
<div class="mero-collection-head"><div><h2>Studio inventory</h2><p>Product catalog</p></div><button type="button" class="mero-button mero-button-primary mero-button-sm" data-grid-add hx-get="/demo/collections/grid/new">Add product</button></div>
|
|
772
773
|
<form class="mero-collection-filters" role="search" hx-get="/demo/collections/grid" hx-vals='{"returnFocus":"search"}'>
|
|
@@ -789,7 +790,7 @@ Template
|
|
|
789
790
|
|
|
790
791
|
# Agenda
|
|
791
792
|
|
|
792
|
-
Mero UI
|
|
793
|
+
Mero UI 1.1.0 · Studio collections
|
|
793
794
|
|
|
794
795
|
Browse daily bookings and add a timed event.
|
|
795
796
|
|
|
@@ -826,7 +827,7 @@ Template
|
|
|
826
827
|
|
|
827
828
|
# File Tree
|
|
828
829
|
|
|
829
|
-
Mero UI
|
|
830
|
+
Mero UI 1.1.0 · Studio collections
|
|
830
831
|
|
|
831
832
|
Expand folders and preview a selected file with native disclosure controls.
|
|
832
833
|
|
|
@@ -849,7 +850,7 @@ Template
|
|
|
849
850
|
|
|
850
851
|
# Floating TOC
|
|
851
852
|
|
|
852
|
-
Mero UI
|
|
853
|
+
Mero UI 1.1.0 · Studio collections
|
|
853
854
|
|
|
854
855
|
Navigate to sections with an index that follows the reading position.
|
|
855
856
|
|
|
@@ -872,7 +873,7 @@ Template
|
|
|
872
873
|
|
|
873
874
|
# Hover Card
|
|
874
875
|
|
|
875
|
-
Mero UI
|
|
876
|
+
Mero UI 1.1.0 · Studio collections
|
|
876
877
|
|
|
877
878
|
Preview a contributor on hover, focus or tap.
|
|
878
879
|
|
|
@@ -897,7 +898,7 @@ Template
|
|
|
897
898
|
|
|
898
899
|
# Item Card
|
|
899
900
|
|
|
900
|
-
Mero UI
|
|
901
|
+
Mero UI 1.1.0 · Studio collections
|
|
901
902
|
|
|
902
903
|
Give a related destination an identity, title and supporting detail.
|
|
903
904
|
|
|
@@ -920,7 +921,7 @@ Template
|
|
|
920
921
|
|
|
921
922
|
# Item Card Group
|
|
922
923
|
|
|
923
|
-
Mero UI
|
|
924
|
+
Mero UI 1.1.0 · Studio collections
|
|
924
925
|
|
|
925
926
|
Arrange related destinations into a responsive group.
|
|
926
927
|
|
|
@@ -943,7 +944,7 @@ Template
|
|
|
943
944
|
|
|
944
945
|
# Kanban
|
|
945
946
|
|
|
946
|
-
Mero UI
|
|
947
|
+
Mero UI 1.1.0 · Studio collections
|
|
947
948
|
|
|
948
949
|
Move a card between stages with a drag or its Move to menu.
|
|
949
950
|
|
|
@@ -968,7 +969,7 @@ Template
|
|
|
968
969
|
|
|
969
970
|
# List View
|
|
970
971
|
|
|
971
|
-
Mero UI
|
|
972
|
+
Mero UI 1.1.0 · Studio collections
|
|
972
973
|
|
|
973
974
|
Browse structured destinations in a compact keyboard-accessible list.
|
|
974
975
|
|
|
@@ -991,7 +992,7 @@ Template
|
|
|
991
992
|
|
|
992
993
|
# Map
|
|
993
994
|
|
|
994
|
-
Mero UI
|
|
995
|
+
Mero UI 1.1.0 · Studio collections
|
|
995
996
|
|
|
996
997
|
Choose a location on a self-contained campus map and read its address.
|
|
997
998
|
|
|
@@ -1016,7 +1017,7 @@ Template
|
|
|
1016
1017
|
|
|
1017
1018
|
# Timeline
|
|
1018
1019
|
|
|
1019
|
-
Mero UI
|
|
1020
|
+
Mero UI 1.1.0 · Studio collections
|
|
1020
1021
|
|
|
1021
1022
|
Present milestones in order and identify the current step.
|
|
1022
1023
|
|
|
@@ -1039,7 +1040,7 @@ Template
|
|
|
1039
1040
|
|
|
1040
1041
|
# Widget
|
|
1041
1042
|
|
|
1042
|
-
Mero UI
|
|
1043
|
+
Mero UI 1.1.0 · Studio collections
|
|
1043
1044
|
|
|
1044
1045
|
Use a dashboard panel to track a checklist and its progress.
|
|
1045
1046
|
|
|
@@ -1062,7 +1063,7 @@ Template
|
|
|
1062
1063
|
|
|
1063
1064
|
# Cell Color Picker
|
|
1064
1065
|
|
|
1065
|
-
Mero UI
|
|
1066
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1066
1067
|
|
|
1067
1068
|
Change one preference and receive inline confirmation from the server.
|
|
1068
1069
|
|
|
@@ -1093,7 +1094,7 @@ Template
|
|
|
1093
1094
|
|
|
1094
1095
|
# Cell Select
|
|
1095
1096
|
|
|
1096
|
-
Mero UI
|
|
1097
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1097
1098
|
|
|
1098
1099
|
Change one preference and receive inline confirmation from the server.
|
|
1099
1100
|
|
|
@@ -1124,7 +1125,7 @@ Template
|
|
|
1124
1125
|
|
|
1125
1126
|
# Cell Slider
|
|
1126
1127
|
|
|
1127
|
-
Mero UI
|
|
1128
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1128
1129
|
|
|
1129
1130
|
Change one preference and receive inline confirmation from the server.
|
|
1130
1131
|
|
|
@@ -1155,7 +1156,7 @@ Template
|
|
|
1155
1156
|
|
|
1156
1157
|
# Cell Switch
|
|
1157
1158
|
|
|
1158
|
-
Mero UI
|
|
1159
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1159
1160
|
|
|
1160
1161
|
Change one preference and receive inline confirmation from the server.
|
|
1161
1162
|
|
|
@@ -1186,7 +1187,7 @@ Template
|
|
|
1186
1187
|
|
|
1187
1188
|
# Checkbox Button Group
|
|
1188
1189
|
|
|
1189
|
-
Mero UI
|
|
1190
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1190
1191
|
|
|
1191
1192
|
Select several release channels using native checkboxes.
|
|
1192
1193
|
|
|
@@ -1214,7 +1215,7 @@ Template
|
|
|
1214
1215
|
|
|
1215
1216
|
# Radio Button Group
|
|
1216
1217
|
|
|
1217
|
-
Mero UI
|
|
1218
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1218
1219
|
|
|
1219
1220
|
Choose one release schedule with labelled option cards.
|
|
1220
1221
|
|
|
@@ -1241,7 +1242,7 @@ Template
|
|
|
1241
1242
|
|
|
1242
1243
|
# Native Select
|
|
1243
1244
|
|
|
1244
|
-
Mero UI
|
|
1245
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1245
1246
|
|
|
1246
1247
|
Choose a workspace from labelled option groups.
|
|
1247
1248
|
|
|
@@ -1266,7 +1267,7 @@ Template
|
|
|
1266
1267
|
|
|
1267
1268
|
# Inline Select
|
|
1268
1269
|
|
|
1269
|
-
Mero UI
|
|
1270
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1270
1271
|
|
|
1271
1272
|
Change an audience within the sentence that describes it.
|
|
1272
1273
|
|
|
@@ -1291,7 +1292,7 @@ Template
|
|
|
1291
1292
|
|
|
1292
1293
|
# Number Stepper
|
|
1293
1294
|
|
|
1294
|
-
Mero UI
|
|
1295
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1295
1296
|
|
|
1296
1297
|
Change a bounded quantity with the keyboard or step buttons.
|
|
1297
1298
|
|
|
@@ -1321,7 +1322,7 @@ Template
|
|
|
1321
1322
|
|
|
1322
1323
|
# File Input
|
|
1323
1324
|
|
|
1324
|
-
Mero UI
|
|
1325
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1325
1326
|
|
|
1326
1327
|
Choose a local product image and validate it on the server.
|
|
1327
1328
|
|
|
@@ -1352,7 +1353,7 @@ Template
|
|
|
1352
1353
|
|
|
1353
1354
|
# Drop Zone
|
|
1354
1355
|
|
|
1355
|
-
Mero UI
|
|
1356
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1356
1357
|
|
|
1357
1358
|
Drop an image or use the native file picker and check the file.
|
|
1358
1359
|
|
|
@@ -1385,7 +1386,7 @@ Template
|
|
|
1385
1386
|
|
|
1386
1387
|
# Rich Text Editor
|
|
1387
1388
|
|
|
1388
|
-
Mero UI
|
|
1389
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1389
1390
|
|
|
1390
1391
|
Edit a short description with bold and italic text and preview the submitted result.
|
|
1391
1392
|
|
|
@@ -1419,7 +1420,7 @@ Template
|
|
|
1419
1420
|
|
|
1420
1421
|
# Joined Filter
|
|
1421
1422
|
|
|
1422
|
-
Mero UI
|
|
1423
|
+
Mero UI 1.1.0 · Workspace forms
|
|
1423
1424
|
|
|
1424
1425
|
Search and filter releases with one server request.
|
|
1425
1426
|
|
|
@@ -1446,7 +1447,7 @@ Template
|
|
|
1446
1447
|
|
|
1447
1448
|
# App Layout
|
|
1448
1449
|
|
|
1449
|
-
Mero UI
|
|
1450
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1450
1451
|
|
|
1451
1452
|
A responsive workspace with a sidebar, content area and mobile navigation drawer.
|
|
1452
1453
|
|
|
@@ -1481,7 +1482,7 @@ Template
|
|
|
1481
1482
|
|
|
1482
1483
|
# Sidebar
|
|
1483
1484
|
|
|
1484
|
-
Mero UI
|
|
1485
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1485
1486
|
|
|
1486
1487
|
Navigate the workspace from a side rail that becomes a drawer at narrow widths.
|
|
1487
1488
|
|
|
@@ -1516,7 +1517,7 @@ Template
|
|
|
1516
1517
|
|
|
1517
1518
|
# Navbar
|
|
1518
1519
|
|
|
1519
|
-
Mero UI
|
|
1520
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1520
1521
|
|
|
1521
1522
|
Place the workspace name and destinations in a wrapping top bar.
|
|
1522
1523
|
|
|
@@ -1539,13 +1540,13 @@ Template
|
|
|
1539
1540
|
|
|
1540
1541
|
# Command
|
|
1541
1542
|
|
|
1542
|
-
Mero UI
|
|
1543
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1543
1544
|
|
|
1544
|
-
Search destinations and actions, then use the arrows and Enter to execute.
|
|
1545
|
+
Search local destinations and actions, then use the arrows and Enter to execute.
|
|
1545
1546
|
|
|
1546
1547
|
## Default
|
|
1547
1548
|
|
|
1548
|
-
Click the trigger or press Cmd/Ctrl K. Escape returns focus to where you were working.
|
|
1549
|
+
Built on core dialog[data-mero-command] with local data-mero-combo filtering. Click the trigger or press Cmd/Ctrl K. Escape closes the results, then the dialog, and returns focus to where you were working.
|
|
1549
1550
|
|
|
1550
1551
|
Page assets
|
|
1551
1552
|
|
|
@@ -1559,24 +1560,27 @@ Page assets
|
|
|
1559
1560
|
Template
|
|
1560
1561
|
|
|
1561
1562
|
````html
|
|
1562
|
-
<section class="mero-ws-command"
|
|
1563
|
-
<button class="mero-ws-launch" type="button" data-mero-ws-
|
|
1564
|
-
<dialog class="mero-dialog mero-ws-
|
|
1565
|
-
<div class="mero-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
<
|
|
1569
|
-
|
|
1563
|
+
<section class="mero-ws-command">
|
|
1564
|
+
<button class="mero-ws-launch" type="button" data-mero-open="ws-commands" aria-keyshortcuts="Meta+K Control+K"><span>Search commands</span><kbd>⌘ / Ctrl K</kbd></button>
|
|
1565
|
+
<dialog class="mero-dialog mero-command" id="ws-commands" data-mero-command aria-label="Workspace commands">
|
|
1566
|
+
<div class="mero-combo" data-mero-combo>
|
|
1567
|
+
<input class="mero-input" type="search" role="combobox" aria-label="Search commands" aria-expanded="false"
|
|
1568
|
+
aria-controls="ws-commands-options" aria-autocomplete="list" autocomplete="off" placeholder="Search pages and actions…" autofocus>
|
|
1569
|
+
<div class="mero-listbox mero-combo-list" id="ws-commands-options" role="listbox" aria-label="Workspace commands" hidden>
|
|
1570
|
+
<a id="ws-cmd-inventory" role="option" tabindex="-1" href="/layouts/dashboard?view=inventory">Open inventory</a>
|
|
1571
|
+
<a id="ws-cmd-settings" role="option" tabindex="-1" href="/layouts/dashboard?view=settings">Workspace settings</a>
|
|
1572
|
+
<button id="ws-cmd-copy" role="option" tabindex="-1" type="button" data-mero-copy="studio-north" data-mero-copy-message="Workspace ID copied.">Copy workspace ID</button>
|
|
1573
|
+
<div role="option" aria-disabled="true" data-mero-empty-option hidden>No matching commands</div>
|
|
1574
|
+
</div>
|
|
1575
|
+
<span class="mero-description" data-mero-combo-status role="status"></span>
|
|
1570
1576
|
</div>
|
|
1571
|
-
<p class="mero-ws-command-empty" hidden>No matching commands</p>
|
|
1572
1577
|
</dialog>
|
|
1573
|
-
<output class="mero-ws-status" role="status"></output>
|
|
1574
1578
|
</section>
|
|
1575
1579
|
````
|
|
1576
1580
|
|
|
1577
1581
|
# Context Menu
|
|
1578
1582
|
|
|
1579
|
-
Mero UI
|
|
1583
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1580
1584
|
|
|
1581
1585
|
Open item actions with the visible button, a secondary click, or Shift F10.
|
|
1582
1586
|
|
|
@@ -1606,7 +1610,7 @@ Template
|
|
|
1606
1610
|
|
|
1607
1611
|
# Segment
|
|
1608
1612
|
|
|
1609
|
-
Mero UI
|
|
1613
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1610
1614
|
|
|
1611
1615
|
Choose one display density in a compact segmented control.
|
|
1612
1616
|
|
|
@@ -1633,7 +1637,7 @@ Template
|
|
|
1633
1637
|
|
|
1634
1638
|
# Stepper
|
|
1635
1639
|
|
|
1636
|
-
Mero UI
|
|
1640
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1637
1641
|
|
|
1638
1642
|
Move through validated project details and review the values before submitting.
|
|
1639
1643
|
|
|
@@ -1664,7 +1668,7 @@ Template
|
|
|
1664
1668
|
|
|
1665
1669
|
# Dock
|
|
1666
1670
|
|
|
1667
|
-
Mero UI
|
|
1671
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1668
1672
|
|
|
1669
1673
|
Group frequently used workspace destinations in a compact navigation dock.
|
|
1670
1674
|
|
|
@@ -1689,7 +1693,7 @@ Template
|
|
|
1689
1693
|
|
|
1690
1694
|
# Megamenu
|
|
1691
1695
|
|
|
1692
|
-
Mero UI
|
|
1696
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1693
1697
|
|
|
1694
1698
|
Explore grouped destinations from a native disclosure.
|
|
1695
1699
|
|
|
@@ -1714,7 +1718,7 @@ Template
|
|
|
1714
1718
|
|
|
1715
1719
|
# Floating Action Button
|
|
1716
1720
|
|
|
1717
|
-
Mero UI
|
|
1721
|
+
Mero UI 1.1.0 · Workspace navigation
|
|
1718
1722
|
|
|
1719
1723
|
Reveal a small set of workspace shortcuts.
|
|
1720
1724
|
|
|
@@ -1739,7 +1743,7 @@ Template
|
|
|
1739
1743
|
|
|
1740
1744
|
# Resizable
|
|
1741
1745
|
|
|
1742
|
-
Mero UI
|
|
1746
|
+
Mero UI 1.1.0 · Workspace tools
|
|
1743
1747
|
|
|
1744
1748
|
Resize two adjacent panels by dragging the divider or using the arrow keys.
|
|
1745
1749
|
|
|
@@ -1793,7 +1797,7 @@ Template
|
|
|
1793
1797
|
|
|
1794
1798
|
# Emoji Picker
|
|
1795
1799
|
|
|
1796
|
-
Mero UI
|
|
1800
|
+
Mero UI 1.1.0 · Workspace tools
|
|
1797
1801
|
|
|
1798
1802
|
Search named reactions and submit the selected emoji as a form value.
|
|
1799
1803
|
|
|
@@ -1823,7 +1827,7 @@ Template
|
|
|
1823
1827
|
|
|
1824
1828
|
# Area Chart
|
|
1825
1829
|
|
|
1826
|
-
Mero UI
|
|
1830
|
+
Mero UI 1.1.0 · Charts
|
|
1827
1831
|
|
|
1828
1832
|
Show the volume and shape of a series over time.
|
|
1829
1833
|
|
|
@@ -1858,7 +1862,7 @@ Template
|
|
|
1858
1862
|
|
|
1859
1863
|
# Bar Chart
|
|
1860
1864
|
|
|
1861
|
-
Mero UI
|
|
1865
|
+
Mero UI 1.1.0 · Charts
|
|
1862
1866
|
|
|
1863
1867
|
Compare adjacent categories on a shared linear scale.
|
|
1864
1868
|
|
|
@@ -1893,7 +1897,7 @@ Template
|
|
|
1893
1897
|
|
|
1894
1898
|
# Chart Tooltip
|
|
1895
1899
|
|
|
1896
|
-
Mero UI
|
|
1900
|
+
Mero UI 1.1.0 · Charts
|
|
1897
1901
|
|
|
1898
1902
|
Inspect the active data point using a pointer or keyboard.
|
|
1899
1903
|
|
|
@@ -1928,7 +1932,7 @@ Template
|
|
|
1928
1932
|
|
|
1929
1933
|
# Composed Chart
|
|
1930
1934
|
|
|
1931
|
-
Mero UI
|
|
1935
|
+
Mero UI 1.1.0 · Charts
|
|
1932
1936
|
|
|
1933
1937
|
Compare actual volume with its target using columns and a line.
|
|
1934
1938
|
|
|
@@ -1963,7 +1967,7 @@ Template
|
|
|
1963
1967
|
|
|
1964
1968
|
# Line Chart
|
|
1965
1969
|
|
|
1966
|
-
Mero UI
|
|
1970
|
+
Mero UI 1.1.0 · Charts
|
|
1967
1971
|
|
|
1968
1972
|
Trace changes across a reporting period.
|
|
1969
1973
|
|
|
@@ -2026,7 +2030,7 @@ Template
|
|
|
2026
2030
|
|
|
2027
2031
|
# Pie Chart
|
|
2028
2032
|
|
|
2029
|
-
Mero UI
|
|
2033
|
+
Mero UI 1.1.0 · Charts
|
|
2030
2034
|
|
|
2031
2035
|
See how each collection contributes to total volume.
|
|
2032
2036
|
|
|
@@ -2061,7 +2065,7 @@ Template
|
|
|
2061
2065
|
|
|
2062
2066
|
# Radar Chart
|
|
2063
2067
|
|
|
2064
|
-
Mero UI
|
|
2068
|
+
Mero UI 1.1.0 · Charts
|
|
2065
2069
|
|
|
2066
2070
|
Compare profiles across axes that use the same units.
|
|
2067
2071
|
|
|
@@ -2096,7 +2100,7 @@ Template
|
|
|
2096
2100
|
|
|
2097
2101
|
# Radial Chart
|
|
2098
2102
|
|
|
2099
|
-
Mero UI
|
|
2103
|
+
Mero UI 1.1.0 · Charts
|
|
2100
2104
|
|
|
2101
2105
|
Compare categories as concentric rings against the largest category.
|
|
2102
2106
|
|
|
@@ -2131,7 +2135,7 @@ Template
|
|
|
2131
2135
|
|
|
2132
2136
|
# KPI
|
|
2133
2137
|
|
|
2134
|
-
Mero UI
|
|
2138
|
+
Mero UI 1.1.0 · Metrics
|
|
2135
2139
|
|
|
2136
2140
|
Pair an exact figure with the reporting period it describes.
|
|
2137
2141
|
|
|
@@ -2154,7 +2158,7 @@ Template
|
|
|
2154
2158
|
|
|
2155
2159
|
# KPI Group
|
|
2156
2160
|
|
|
2157
|
-
Mero UI
|
|
2161
|
+
Mero UI 1.1.0 · Metrics
|
|
2158
2162
|
|
|
2159
2163
|
Keep related measures on a common reporting period.
|
|
2160
2164
|
|
|
@@ -2177,7 +2181,7 @@ Template
|
|
|
2177
2181
|
|
|
2178
2182
|
# Emoji Reaction Button
|
|
2179
2183
|
|
|
2180
|
-
Mero UI
|
|
2184
|
+
Mero UI 1.1.0 · Interaction feedback
|
|
2181
2185
|
|
|
2182
2186
|
Add or remove a reaction while keeping its count visible.
|
|
2183
2187
|
|
|
@@ -2202,7 +2206,7 @@ Template
|
|
|
2202
2206
|
|
|
2203
2207
|
# Number Value
|
|
2204
2208
|
|
|
2205
|
-
Mero UI
|
|
2209
|
+
Mero UI 1.1.0 · Interaction feedback
|
|
2206
2210
|
|
|
2207
2211
|
Display a localized number with its machine-readable value.
|
|
2208
2212
|
|
|
@@ -2227,7 +2231,7 @@ Template
|
|
|
2227
2231
|
|
|
2228
2232
|
# Pressable Feedback
|
|
2229
2233
|
|
|
2230
|
-
Mero UI
|
|
2234
|
+
Mero UI 1.1.0 · Interaction feedback
|
|
2231
2235
|
|
|
2232
2236
|
Give a press a tactile response and keep its selected state visible.
|
|
2233
2237
|
|
|
@@ -2250,7 +2254,7 @@ Template
|
|
|
2250
2254
|
|
|
2251
2255
|
# Rating
|
|
2252
2256
|
|
|
2253
|
-
Mero UI
|
|
2257
|
+
Mero UI 1.1.0 · Interaction feedback
|
|
2254
2258
|
|
|
2255
2259
|
Choose a labelled score using native radio controls.
|
|
2256
2260
|
|
|
@@ -2275,7 +2279,7 @@ Template
|
|
|
2275
2279
|
|
|
2276
2280
|
# Trend Chip
|
|
2277
2281
|
|
|
2278
|
-
Mero UI
|
|
2282
|
+
Mero UI 1.1.0 · Interaction feedback
|
|
2279
2283
|
|
|
2280
2284
|
Label the direction and magnitude of a change.
|
|
2281
2285
|
|
|
@@ -2298,7 +2302,7 @@ Template
|
|
|
2298
2302
|
|
|
2299
2303
|
# Chain Of Thought
|
|
2300
2304
|
|
|
2301
|
-
Mero UI
|
|
2305
|
+
Mero UI 1.1.0 · Conversation
|
|
2302
2306
|
|
|
2303
2307
|
Display a disclosure of observable execution steps for a report.
|
|
2304
2308
|
|
|
@@ -2323,7 +2327,7 @@ Template
|
|
|
2323
2327
|
|
|
2324
2328
|
# Chat Attachment
|
|
2325
2329
|
|
|
2326
|
-
Mero UI
|
|
2330
|
+
Mero UI 1.1.0 · Conversation
|
|
2327
2331
|
|
|
2328
2332
|
Display a named file and provide a working download.
|
|
2329
2333
|
|
|
@@ -2348,7 +2352,7 @@ Template
|
|
|
2348
2352
|
|
|
2349
2353
|
# Chat Conversation
|
|
2350
2354
|
|
|
2351
|
-
Mero UI
|
|
2355
|
+
Mero UI 1.1.0 · Conversation
|
|
2352
2356
|
|
|
2353
2357
|
Keep messages, controls and a composer in one scoped conversation.
|
|
2354
2358
|
|
|
@@ -2408,7 +2412,7 @@ Template
|
|
|
2408
2412
|
|
|
2409
2413
|
# Chat List View
|
|
2410
2414
|
|
|
2411
|
-
Mero UI
|
|
2415
|
+
Mero UI 1.1.0 · Conversation
|
|
2412
2416
|
|
|
2413
2417
|
Open a conversation returned by the server.
|
|
2414
2418
|
|
|
@@ -2432,7 +2436,7 @@ Template
|
|
|
2432
2436
|
|
|
2433
2437
|
# Chat Loader
|
|
2434
2438
|
|
|
2435
|
-
Mero UI
|
|
2439
|
+
Mero UI 1.1.0 · Conversation
|
|
2436
2440
|
|
|
2437
2441
|
Show a concise status while a response is being prepared.
|
|
2438
2442
|
|
|
@@ -2455,7 +2459,7 @@ Template
|
|
|
2455
2459
|
|
|
2456
2460
|
# Chat Message
|
|
2457
2461
|
|
|
2458
|
-
Mero UI
|
|
2462
|
+
Mero UI 1.1.0 · Conversation
|
|
2459
2463
|
|
|
2460
2464
|
Distinguish the sender and keep the message readable after a swap.
|
|
2461
2465
|
|
|
@@ -2478,7 +2482,7 @@ Template
|
|
|
2478
2482
|
|
|
2479
2483
|
# Chat Message Actions
|
|
2480
2484
|
|
|
2481
|
-
Mero UI
|
|
2485
|
+
Mero UI 1.1.0 · Conversation
|
|
2482
2486
|
|
|
2483
2487
|
Copy a reply or mark it as helpful.
|
|
2484
2488
|
|
|
@@ -2502,7 +2506,7 @@ Template
|
|
|
2502
2506
|
|
|
2503
2507
|
# Chat Source
|
|
2504
2508
|
|
|
2505
|
-
Mero UI
|
|
2509
|
+
Mero UI 1.1.0 · Conversation
|
|
2506
2510
|
|
|
2507
2511
|
Open the exact data behind a generated summary.
|
|
2508
2512
|
|
|
@@ -2525,7 +2529,7 @@ Template
|
|
|
2525
2529
|
|
|
2526
2530
|
# Chat Tool
|
|
2527
2531
|
|
|
2528
|
-
Mero UI
|
|
2532
|
+
Mero UI 1.1.0 · Conversation
|
|
2529
2533
|
|
|
2530
2534
|
Disclose the inputs and output of an application action.
|
|
2531
2535
|
|
|
@@ -2565,7 +2569,7 @@ Template
|
|
|
2565
2569
|
|
|
2566
2570
|
# Code Block
|
|
2567
2571
|
|
|
2568
|
-
Mero UI
|
|
2572
|
+
Mero UI 1.1.0 · Conversation
|
|
2569
2573
|
|
|
2570
2574
|
Show a file caption, selectable code and a copy control.
|
|
2571
2575
|
|
|
@@ -2588,7 +2592,7 @@ Template
|
|
|
2588
2592
|
|
|
2589
2593
|
# Markdown
|
|
2590
2594
|
|
|
2591
|
-
Mero UI
|
|
2595
|
+
Mero UI 1.1.0 · Conversation
|
|
2592
2596
|
|
|
2593
2597
|
Render a small safe subset of Markdown into semantic HTML.
|
|
2594
2598
|
|
|
@@ -2623,7 +2627,7 @@ Template
|
|
|
2623
2627
|
|
|
2624
2628
|
# Prompt Input
|
|
2625
2629
|
|
|
2626
|
-
Mero UI
|
|
2630
|
+
Mero UI 1.1.0 · Conversation
|
|
2627
2631
|
|
|
2628
2632
|
Collect a question and submit it to a server-rendered response endpoint.
|
|
2629
2633
|
|
|
@@ -2654,7 +2658,7 @@ Template
|
|
|
2654
2658
|
|
|
2655
2659
|
# Prompt Suggestion
|
|
2656
2660
|
|
|
2657
|
-
Mero UI
|
|
2661
|
+
Mero UI 1.1.0 · Conversation
|
|
2658
2662
|
|
|
2659
2663
|
Choose a suggested prompt, edit it, then send it.
|
|
2660
2664
|
|
|
@@ -2685,7 +2689,7 @@ Template
|
|
|
2685
2689
|
|
|
2686
2690
|
# Text Shimmer
|
|
2687
2691
|
|
|
2688
|
-
Mero UI
|
|
2692
|
+
Mero UI 1.1.0 · Conversation
|
|
2689
2693
|
|
|
2690
2694
|
Indicate work in progress with a moving highlight across readable text.
|
|
2691
2695
|
|
|
@@ -2708,7 +2712,7 @@ Template
|
|
|
2708
2712
|
|
|
2709
2713
|
# Button
|
|
2710
2714
|
|
|
2711
|
-
Mero UI
|
|
2715
|
+
Mero UI 1.1.0 · Buttons
|
|
2712
2716
|
|
|
2713
2717
|
Trigger an action with a consistent hierarchy of visual emphasis.
|
|
2714
2718
|
|
|
@@ -2813,7 +2817,7 @@ Template
|
|
|
2813
2817
|
|
|
2814
2818
|
# Action Button
|
|
2815
2819
|
|
|
2816
|
-
Mero UI
|
|
2820
|
+
Mero UI 1.1.0 · Buttons
|
|
2817
2821
|
|
|
2818
2822
|
Run a server action and report whether it succeeded, was refused or has an unknown result.
|
|
2819
2823
|
|
|
@@ -2885,7 +2889,7 @@ Template
|
|
|
2885
2889
|
|
|
2886
2890
|
# Button Group
|
|
2887
2891
|
|
|
2888
|
-
Mero UI
|
|
2892
|
+
Mero UI 1.1.0 · Buttons
|
|
2889
2893
|
|
|
2890
2894
|
Keep related actions together while preserving each button’s own label and focus.
|
|
2891
2895
|
|
|
@@ -2910,7 +2914,7 @@ Template
|
|
|
2910
2914
|
|
|
2911
2915
|
# Close Button
|
|
2912
2916
|
|
|
2913
|
-
Mero UI
|
|
2917
|
+
Mero UI 1.1.0 · Buttons
|
|
2914
2918
|
|
|
2915
2919
|
Give a dialog an icon-only close action with an accessible name.
|
|
2916
2920
|
|
|
@@ -2942,7 +2946,7 @@ Template
|
|
|
2942
2946
|
|
|
2943
2947
|
# Toggle Button
|
|
2944
2948
|
|
|
2945
|
-
Mero UI
|
|
2949
|
+
Mero UI 1.1.0 · Buttons
|
|
2946
2950
|
|
|
2947
2951
|
Represent a persistent on or off state with a pressed button.
|
|
2948
2952
|
|
|
@@ -2965,7 +2969,7 @@ Template
|
|
|
2965
2969
|
|
|
2966
2970
|
# Toggle Button Group
|
|
2967
2971
|
|
|
2968
|
-
Mero UI
|
|
2972
|
+
Mero UI 1.1.0 · Buttons
|
|
2969
2973
|
|
|
2970
2974
|
Select one presentation mode from a connected set of controls.
|
|
2971
2975
|
|
|
@@ -2995,7 +2999,7 @@ Template
|
|
|
2995
2999
|
|
|
2996
3000
|
# Checkbox
|
|
2997
3001
|
|
|
2998
|
-
Mero UI
|
|
3002
|
+
Mero UI 1.1.0 · Forms
|
|
2999
3003
|
|
|
3000
3004
|
Include an independent binary choice in a form.
|
|
3001
3005
|
|
|
@@ -3019,7 +3023,7 @@ Template
|
|
|
3019
3023
|
|
|
3020
3024
|
# Checkbox Group
|
|
3021
3025
|
|
|
3022
|
-
Mero UI
|
|
3026
|
+
Mero UI 1.1.0 · Forms
|
|
3023
3027
|
|
|
3024
3028
|
Group related independent choices with a fieldset and legend.
|
|
3025
3029
|
|
|
@@ -3047,7 +3051,7 @@ Template
|
|
|
3047
3051
|
|
|
3048
3052
|
# Description
|
|
3049
3053
|
|
|
3050
|
-
Mero UI
|
|
3054
|
+
Mero UI 1.1.0 · Forms
|
|
3051
3055
|
|
|
3052
3056
|
Connect persistent help text to a control.
|
|
3053
3057
|
|
|
@@ -3074,7 +3078,7 @@ Template
|
|
|
3074
3078
|
|
|
3075
3079
|
# Error Message
|
|
3076
3080
|
|
|
3077
|
-
Mero UI
|
|
3081
|
+
Mero UI 1.1.0 · Forms
|
|
3078
3082
|
|
|
3079
3083
|
Present a form-level failure where the user can act on it.
|
|
3080
3084
|
|
|
@@ -3098,7 +3102,7 @@ Template
|
|
|
3098
3102
|
|
|
3099
3103
|
# Field Error
|
|
3100
3104
|
|
|
3101
|
-
Mero UI
|
|
3105
|
+
Mero UI 1.1.0 · Forms
|
|
3102
3106
|
|
|
3103
3107
|
Associate a validation error with the field that needs attention.
|
|
3104
3108
|
|
|
@@ -3127,7 +3131,7 @@ Template
|
|
|
3127
3131
|
|
|
3128
3132
|
# Fieldset
|
|
3129
3133
|
|
|
3130
|
-
Mero UI
|
|
3134
|
+
Mero UI 1.1.0 · Forms
|
|
3131
3135
|
|
|
3132
3136
|
Add a shared label to a related set of form controls.
|
|
3133
3137
|
|
|
@@ -3208,7 +3212,7 @@ Template
|
|
|
3208
3212
|
|
|
3209
3213
|
# Form
|
|
3210
3214
|
|
|
3211
|
-
Mero UI
|
|
3215
|
+
Mero UI 1.1.0 · Forms
|
|
3212
3216
|
|
|
3213
3217
|
Submit native fields to the server and render an HTML response in place.
|
|
3214
3218
|
|
|
@@ -3396,7 +3400,7 @@ Template
|
|
|
3396
3400
|
|
|
3397
3401
|
# Input
|
|
3398
3402
|
|
|
3399
|
-
Mero UI
|
|
3403
|
+
Mero UI 1.1.0 · Forms
|
|
3400
3404
|
|
|
3401
3405
|
A styled native input with browser validation and autocomplete.
|
|
3402
3406
|
|
|
@@ -3423,7 +3427,7 @@ Template
|
|
|
3423
3427
|
|
|
3424
3428
|
# Input Group
|
|
3425
3429
|
|
|
3426
|
-
Mero UI
|
|
3430
|
+
Mero UI 1.1.0 · Forms
|
|
3427
3431
|
|
|
3428
3432
|
Combine a control and contextual prefix with a single outline.
|
|
3429
3433
|
|
|
@@ -3452,7 +3456,7 @@ Template
|
|
|
3452
3456
|
|
|
3453
3457
|
# Input OTP
|
|
3454
3458
|
|
|
3455
|
-
Mero UI
|
|
3459
|
+
Mero UI 1.1.0 · Forms
|
|
3456
3460
|
|
|
3457
3461
|
Collect a six-digit code in one input with mobile autofill.
|
|
3458
3462
|
|
|
@@ -3481,7 +3485,7 @@ Template
|
|
|
3481
3485
|
|
|
3482
3486
|
# Label
|
|
3483
3487
|
|
|
3484
|
-
Mero UI
|
|
3488
|
+
Mero UI 1.1.0 · Forms
|
|
3485
3489
|
|
|
3486
3490
|
Name an input and expand its activation area.
|
|
3487
3491
|
|
|
@@ -3508,7 +3512,7 @@ Template
|
|
|
3508
3512
|
|
|
3509
3513
|
# Number Field
|
|
3510
3514
|
|
|
3511
|
-
Mero UI
|
|
3515
|
+
Mero UI 1.1.0 · Forms
|
|
3512
3516
|
|
|
3513
3517
|
Set numeric bounds and increments for a native field.
|
|
3514
3518
|
|
|
@@ -3535,7 +3539,7 @@ Template
|
|
|
3535
3539
|
|
|
3536
3540
|
# Radio Group
|
|
3537
3541
|
|
|
3538
|
-
Mero UI
|
|
3542
|
+
Mero UI 1.1.0 · Forms
|
|
3539
3543
|
|
|
3540
3544
|
Choose exactly one option from a labeled set.
|
|
3541
3545
|
|
|
@@ -3563,7 +3567,7 @@ Template
|
|
|
3563
3567
|
|
|
3564
3568
|
# Search Field
|
|
3565
3569
|
|
|
3566
|
-
Mero UI
|
|
3570
|
+
Mero UI 1.1.0 · Forms
|
|
3567
3571
|
|
|
3568
3572
|
Use a native search field with the platform’s clear affordance.
|
|
3569
3573
|
|
|
@@ -3632,7 +3636,7 @@ Template
|
|
|
3632
3636
|
|
|
3633
3637
|
# Text Area
|
|
3634
3638
|
|
|
3635
|
-
Mero UI
|
|
3639
|
+
Mero UI 1.1.0 · Forms
|
|
3636
3640
|
|
|
3637
3641
|
Let users edit multiple lines of text with an optional autosizing surface.
|
|
3638
3642
|
|
|
@@ -3658,7 +3662,7 @@ Template
|
|
|
3658
3662
|
|
|
3659
3663
|
# Text Field
|
|
3660
3664
|
|
|
3661
|
-
Mero UI
|
|
3665
|
+
Mero UI 1.1.0 · Forms
|
|
3662
3666
|
|
|
3663
3667
|
Compose a label, input, and hint into a reusable form field.
|
|
3664
3668
|
|
|
@@ -3685,7 +3689,7 @@ Template
|
|
|
3685
3689
|
|
|
3686
3690
|
# Calendar
|
|
3687
3691
|
|
|
3688
|
-
Mero UI
|
|
3692
|
+
Mero UI 1.1.0 · Date and time
|
|
3689
3693
|
|
|
3690
3694
|
Navigate months and choose a day on an inline calendar rendered by the server.
|
|
3691
3695
|
|
|
@@ -3772,11 +3776,11 @@ Template
|
|
|
3772
3776
|
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-25" hx-target="closest .mero-calendar" hx-swap="outerHTML">25</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3773
3777
|
id="calendar-day-26" aria-label="Thursday, November 26, 2026" aria-pressed="false"
|
|
3774
3778
|
hx-get="/demo/catalog/calendar?month=2026-11&selected=2026-11-26" hx-target="closest .mero-calendar" hx-swap="outerHTML">26</button></td><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3775
|
-
id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false"
|
|
3779
|
+
id="calendar-day-27" aria-label="Friday, November 27, 2026" aria-pressed="false"
|
|
3776
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"
|
|
3777
3781
|
id="calendar-day-28" aria-label="Saturday, November 28, 2026" aria-pressed="false"
|
|
3778
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"
|
|
3779
|
-
id="calendar-day-29" aria-label="Sunday, November 29, 2026" aria-pressed="false"
|
|
3783
|
+
id="calendar-day-29" aria-label="Sunday, November 29, 2026" aria-pressed="false" aria-current="date"
|
|
3780
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>
|
|
3781
3785
|
<tr><td><button class="mero-button mero-button-sm mero-calendar-day mero-button-ghost" type="button"
|
|
3782
3786
|
id="calendar-day-30" aria-label="Monday, November 30, 2026" aria-pressed="false"
|
|
@@ -3789,7 +3793,7 @@ Template
|
|
|
3789
3793
|
|
|
3790
3794
|
# Date Field
|
|
3791
3795
|
|
|
3792
|
-
Mero UI
|
|
3796
|
+
Mero UI 1.1.0 · Date and time
|
|
3793
3797
|
|
|
3794
3798
|
Enter a calendar date in the system’s preferred format.
|
|
3795
3799
|
|
|
@@ -3816,7 +3820,7 @@ Template
|
|
|
3816
3820
|
|
|
3817
3821
|
# Date Picker
|
|
3818
3822
|
|
|
3819
|
-
Mero UI
|
|
3823
|
+
Mero UI 1.1.0 · Date and time
|
|
3820
3824
|
|
|
3821
3825
|
Choose a date with the browser’s calendar picker and native constraints.
|
|
3822
3826
|
|
|
@@ -3845,7 +3849,7 @@ Template
|
|
|
3845
3849
|
|
|
3846
3850
|
# Date Range Picker
|
|
3847
3851
|
|
|
3848
|
-
Mero UI
|
|
3852
|
+
Mero UI 1.1.0 · Date and time
|
|
3849
3853
|
|
|
3850
3854
|
Collect the start and end dates of a range.
|
|
3851
3855
|
|
|
@@ -3884,7 +3888,7 @@ Template
|
|
|
3884
3888
|
|
|
3885
3889
|
# Range Calendar
|
|
3886
3890
|
|
|
3887
|
-
Mero UI
|
|
3891
|
+
Mero UI 1.1.0 · Date and time
|
|
3888
3892
|
|
|
3889
3893
|
Build a range with two native calendar controls.
|
|
3890
3894
|
|
|
@@ -3923,7 +3927,7 @@ Template
|
|
|
3923
3927
|
|
|
3924
3928
|
# Time Field
|
|
3925
3929
|
|
|
3926
|
-
Mero UI
|
|
3930
|
+
Mero UI 1.1.0 · Date and time
|
|
3927
3931
|
|
|
3928
3932
|
Choose a wall-clock time without a timezone conversion.
|
|
3929
3933
|
|
|
@@ -3952,7 +3956,7 @@ Template
|
|
|
3952
3956
|
|
|
3953
3957
|
# Accordion
|
|
3954
3958
|
|
|
3955
|
-
Mero UI
|
|
3959
|
+
Mero UI 1.1.0 · Navigation
|
|
3956
3960
|
|
|
3957
3961
|
Disclose one section at a time using grouped native details.
|
|
3958
3962
|
|
|
@@ -3982,7 +3986,7 @@ Template
|
|
|
3982
3986
|
|
|
3983
3987
|
# Breadcrumbs
|
|
3984
3988
|
|
|
3985
|
-
Mero UI
|
|
3989
|
+
Mero UI 1.1.0 · Navigation
|
|
3986
3990
|
|
|
3987
3991
|
Show the user’s current location and its parent pages.
|
|
3988
3992
|
|
|
@@ -4009,7 +4013,7 @@ Template
|
|
|
4009
4013
|
|
|
4010
4014
|
# Disclosure
|
|
4011
4015
|
|
|
4012
|
-
Mero UI
|
|
4016
|
+
Mero UI 1.1.0 · Navigation
|
|
4013
4017
|
|
|
4014
4018
|
Reveal a single block of supplementary information.
|
|
4015
4019
|
|
|
@@ -4033,7 +4037,7 @@ Template
|
|
|
4033
4037
|
|
|
4034
4038
|
# Disclosure Group
|
|
4035
4039
|
|
|
4036
|
-
Mero UI
|
|
4040
|
+
Mero UI 1.1.0 · Navigation
|
|
4037
4041
|
|
|
4038
4042
|
Present a collection of independently expandable sections.
|
|
4039
4043
|
|
|
@@ -4063,7 +4067,7 @@ Template
|
|
|
4063
4067
|
|
|
4064
4068
|
# Link
|
|
4065
4069
|
|
|
4066
|
-
Mero UI
|
|
4070
|
+
Mero UI 1.1.0 · Navigation
|
|
4067
4071
|
|
|
4068
4072
|
Navigate to a real URL with native link semantics.
|
|
4069
4073
|
|
|
@@ -4084,7 +4088,7 @@ Template
|
|
|
4084
4088
|
|
|
4085
4089
|
# Pagination
|
|
4086
4090
|
|
|
4087
|
-
Mero UI
|
|
4091
|
+
Mero UI 1.1.0 · Navigation
|
|
4088
4092
|
|
|
4089
4093
|
Navigate between result pages with server-rendered fragments.
|
|
4090
4094
|
|
|
@@ -4123,7 +4127,7 @@ Template
|
|
|
4123
4127
|
|
|
4124
4128
|
# Tabs
|
|
4125
4129
|
|
|
4126
|
-
Mero UI
|
|
4130
|
+
Mero UI 1.1.0 · Navigation
|
|
4127
4131
|
|
|
4128
4132
|
Switch between labeled panels with mouse or arrow keys.
|
|
4129
4133
|
|
|
@@ -4210,7 +4214,7 @@ Template
|
|
|
4210
4214
|
|
|
4211
4215
|
# Alert Dialog
|
|
4212
4216
|
|
|
4213
|
-
Mero UI
|
|
4217
|
+
Mero UI 1.1.0 · Overlays
|
|
4214
4218
|
|
|
4215
4219
|
Ask for confirmation on a decision that calls for attention.
|
|
4216
4220
|
|
|
@@ -4245,7 +4249,7 @@ Template
|
|
|
4245
4249
|
|
|
4246
4250
|
# Typed Confirmation
|
|
4247
4251
|
|
|
4248
|
-
Mero UI
|
|
4252
|
+
Mero UI 1.1.0 · Overlays
|
|
4249
4253
|
|
|
4250
4254
|
Require an exact phrase before submitting a destructive action.
|
|
4251
4255
|
|
|
@@ -4404,7 +4408,7 @@ Template
|
|
|
4404
4408
|
|
|
4405
4409
|
# Drawer
|
|
4406
4410
|
|
|
4407
|
-
Mero UI
|
|
4411
|
+
Mero UI 1.1.0 · Overlays
|
|
4408
4412
|
|
|
4409
4413
|
Open a full-height edge panel for work that benefits from more room.
|
|
4410
4414
|
|
|
@@ -4519,7 +4523,7 @@ Template
|
|
|
4519
4523
|
|
|
4520
4524
|
# Modal
|
|
4521
4525
|
|
|
4522
|
-
Mero UI
|
|
4526
|
+
Mero UI 1.1.0 · Overlays
|
|
4523
4527
|
|
|
4524
4528
|
Open a centered, named dialog with native focus containment.
|
|
4525
4529
|
|
|
@@ -4552,7 +4556,7 @@ Template
|
|
|
4552
4556
|
|
|
4553
4557
|
# Command Menu
|
|
4554
4558
|
|
|
4555
|
-
Mero UI
|
|
4559
|
+
Mero UI 1.1.0 · Overlays
|
|
4556
4560
|
|
|
4557
4561
|
Press Cmd or Ctrl K to search pages and actions returned by your server.
|
|
4558
4562
|
|
|
@@ -4597,7 +4601,7 @@ Template
|
|
|
4597
4601
|
|
|
4598
4602
|
# Popover
|
|
4599
4603
|
|
|
4600
|
-
Mero UI
|
|
4604
|
+
Mero UI 1.1.0 · Overlays
|
|
4601
4605
|
|
|
4602
4606
|
Display contextual information using the browser’s top layer.
|
|
4603
4607
|
|
|
@@ -4626,7 +4630,7 @@ Template
|
|
|
4626
4630
|
|
|
4627
4631
|
# Sheet
|
|
4628
4632
|
|
|
4629
|
-
Mero UI
|
|
4633
|
+
Mero UI 1.1.0 · Overlays
|
|
4630
4634
|
|
|
4631
4635
|
Present concise secondary content from the bottom edge.
|
|
4632
4636
|
|
|
@@ -4659,7 +4663,7 @@ Template
|
|
|
4659
4663
|
|
|
4660
4664
|
# Toast
|
|
4661
4665
|
|
|
4662
|
-
Mero UI
|
|
4666
|
+
Mero UI 1.1.0 · Overlays
|
|
4663
4667
|
|
|
4664
4668
|
Announce a completed action without interrupting the current task.
|
|
4665
4669
|
|
|
@@ -4680,7 +4684,7 @@ Template
|
|
|
4680
4684
|
|
|
4681
4685
|
# Tooltip
|
|
4682
4686
|
|
|
4683
|
-
Mero UI
|
|
4687
|
+
Mero UI 1.1.0 · Overlays
|
|
4684
4688
|
|
|
4685
4689
|
Show a brief hint on pointer hover or keyboard focus.
|
|
4686
4690
|
|
|
@@ -4706,7 +4710,7 @@ Template
|
|
|
4706
4710
|
|
|
4707
4711
|
# Dropdown
|
|
4708
4712
|
|
|
4709
|
-
Mero UI
|
|
4713
|
+
Mero UI 1.1.0 · Collections
|
|
4710
4714
|
|
|
4711
4715
|
Open a compact list of actions or destinations.
|
|
4712
4716
|
|
|
@@ -4736,7 +4740,7 @@ Template
|
|
|
4736
4740
|
|
|
4737
4741
|
# Menu Button
|
|
4738
4742
|
|
|
4739
|
-
Mero UI
|
|
4743
|
+
Mero UI 1.1.0 · Collections
|
|
4740
4744
|
|
|
4741
4745
|
Open row actions and move through them with the arrow keys.
|
|
4742
4746
|
|
|
@@ -4847,7 +4851,7 @@ Template
|
|
|
4847
4851
|
|
|
4848
4852
|
# List Box
|
|
4849
4853
|
|
|
4850
|
-
Mero UI
|
|
4854
|
+
Mero UI 1.1.0 · Collections
|
|
4851
4855
|
|
|
4852
4856
|
Present a selectable collection with arrow-key navigation.
|
|
4853
4857
|
|
|
@@ -4876,7 +4880,7 @@ Template
|
|
|
4876
4880
|
|
|
4877
4881
|
# Tag Group
|
|
4878
4882
|
|
|
4879
|
-
Mero UI
|
|
4883
|
+
Mero UI 1.1.0 · Collections
|
|
4880
4884
|
|
|
4881
4885
|
Display a small, labeled collection of metadata tags.
|
|
4882
4886
|
|
|
@@ -4901,7 +4905,7 @@ Template
|
|
|
4901
4905
|
|
|
4902
4906
|
# Slider
|
|
4903
4907
|
|
|
4904
|
-
Mero UI
|
|
4908
|
+
Mero UI 1.1.0 · Controls
|
|
4905
4909
|
|
|
4906
4910
|
Choose a value from a bounded range.
|
|
4907
4911
|
|
|
@@ -4927,7 +4931,7 @@ Template
|
|
|
4927
4931
|
|
|
4928
4932
|
# Switch
|
|
4929
4933
|
|
|
4930
|
-
Mero UI
|
|
4934
|
+
Mero UI 1.1.0 · Controls
|
|
4931
4935
|
|
|
4932
4936
|
Toggle one setting with a checkbox-backed switch.
|
|
4933
4937
|
|
|
@@ -5001,7 +5005,7 @@ Template
|
|
|
5001
5005
|
|
|
5002
5006
|
# Alert
|
|
5003
5007
|
|
|
5004
|
-
Mero UI
|
|
5008
|
+
Mero UI 1.1.0 · Feedback
|
|
5005
5009
|
|
|
5006
5010
|
Place status or guidance alongside the content it describes.
|
|
5007
5011
|
|
|
@@ -5025,7 +5029,7 @@ Template
|
|
|
5025
5029
|
|
|
5026
5030
|
# Empty State
|
|
5027
5031
|
|
|
5028
|
-
Mero UI
|
|
5032
|
+
Mero UI 1.1.0 · Feedback
|
|
5029
5033
|
|
|
5030
5034
|
Explain an empty result and give the user a relevant next action.
|
|
5031
5035
|
|
|
@@ -5080,7 +5084,7 @@ Template
|
|
|
5080
5084
|
|
|
5081
5085
|
# Meter
|
|
5082
5086
|
|
|
5083
|
-
Mero UI
|
|
5087
|
+
Mero UI 1.1.0 · Feedback
|
|
5084
5088
|
|
|
5085
5089
|
Show a measurement between known bounds.
|
|
5086
5090
|
|
|
@@ -5107,7 +5111,7 @@ Template
|
|
|
5107
5111
|
|
|
5108
5112
|
# Live Progress
|
|
5109
5113
|
|
|
5110
|
-
Mero UI
|
|
5114
|
+
Mero UI 1.1.0 · Feedback
|
|
5111
5115
|
|
|
5112
5116
|
Follow a deployment through to its final status.
|
|
5113
5117
|
|
|
@@ -5177,7 +5181,7 @@ Template
|
|
|
5177
5181
|
|
|
5178
5182
|
# Progress Bar
|
|
5179
5183
|
|
|
5180
|
-
Mero UI
|
|
5184
|
+
Mero UI 1.1.0 · Feedback
|
|
5181
5185
|
|
|
5182
5186
|
Report measurable progress toward completion.
|
|
5183
5187
|
|
|
@@ -5203,7 +5207,7 @@ Template
|
|
|
5203
5207
|
|
|
5204
5208
|
# Progress Circle
|
|
5205
5209
|
|
|
5206
|
-
Mero UI
|
|
5210
|
+
Mero UI 1.1.0 · Feedback
|
|
5207
5211
|
|
|
5208
5212
|
Show a completion value in a compact circular display.
|
|
5209
5213
|
|
|
@@ -5225,7 +5229,7 @@ Template
|
|
|
5225
5229
|
|
|
5226
5230
|
# Skeleton
|
|
5227
5231
|
|
|
5228
|
-
Mero UI
|
|
5232
|
+
Mero UI 1.1.0 · Feedback
|
|
5229
5233
|
|
|
5230
5234
|
Reserve space for content while its HTML is loading.
|
|
5231
5235
|
|
|
@@ -5250,7 +5254,7 @@ Template
|
|
|
5250
5254
|
|
|
5251
5255
|
# Spinner
|
|
5252
5256
|
|
|
5253
|
-
Mero UI
|
|
5257
|
+
Mero UI 1.1.0 · Feedback
|
|
5254
5258
|
|
|
5255
5259
|
Indicate that work is underway when the completion time is unknown.
|
|
5256
5260
|
|
|
@@ -5274,7 +5278,7 @@ Template
|
|
|
5274
5278
|
|
|
5275
5279
|
# Card
|
|
5276
5280
|
|
|
5277
|
-
Mero UI
|
|
5281
|
+
Mero UI 1.1.0 · Layout
|
|
5278
5282
|
|
|
5279
5283
|
Group related content and an action into one compact surface.
|
|
5280
5284
|
|
|
@@ -5354,7 +5358,7 @@ Template
|
|
|
5354
5358
|
|
|
5355
5359
|
# Page Header
|
|
5356
5360
|
|
|
5357
|
-
Mero UI
|
|
5361
|
+
Mero UI 1.1.0 · Layout
|
|
5358
5362
|
|
|
5359
5363
|
Open a page with its title, a short description and the page’s main actions.
|
|
5360
5364
|
|
|
@@ -5422,7 +5426,7 @@ Template
|
|
|
5422
5426
|
|
|
5423
5427
|
# Separator
|
|
5424
5428
|
|
|
5425
|
-
Mero UI
|
|
5429
|
+
Mero UI 1.1.0 · Layout
|
|
5426
5430
|
|
|
5427
5431
|
Separate related content sections using a semantic rule.
|
|
5428
5432
|
|
|
@@ -5447,7 +5451,7 @@ Template
|
|
|
5447
5451
|
|
|
5448
5452
|
# Surface
|
|
5449
5453
|
|
|
5450
|
-
Mero UI
|
|
5454
|
+
Mero UI 1.1.0 · Layout
|
|
5451
5455
|
|
|
5452
5456
|
Give related content a tonal background with shared theme tokens.
|
|
5453
5457
|
|
|
@@ -5471,7 +5475,7 @@ Template
|
|
|
5471
5475
|
|
|
5472
5476
|
# Toolbar
|
|
5473
5477
|
|
|
5474
|
-
Mero UI
|
|
5478
|
+
Mero UI 1.1.0 · Layout
|
|
5475
5479
|
|
|
5476
5480
|
Keep nearby actions aligned and grouped by purpose.
|
|
5477
5481
|
|
|
@@ -5498,7 +5502,7 @@ Template
|
|
|
5498
5502
|
|
|
5499
5503
|
# Avatar
|
|
5500
5504
|
|
|
5501
|
-
Mero UI
|
|
5505
|
+
Mero UI 1.1.0 · Media
|
|
5502
5506
|
|
|
5503
5507
|
Represent a person with initials and an accessible name.
|
|
5504
5508
|
|
|
@@ -5522,7 +5526,7 @@ Template
|
|
|
5522
5526
|
|
|
5523
5527
|
# Avatar Group
|
|
5524
5528
|
|
|
5525
|
-
Mero UI
|
|
5529
|
+
Mero UI 1.1.0 · Media
|
|
5526
5530
|
|
|
5527
5531
|
Show a compact cluster of people associated with a workspace.
|
|
5528
5532
|
|
|
@@ -5547,7 +5551,7 @@ Template
|
|
|
5547
5551
|
|
|
5548
5552
|
# Autocomplete
|
|
5549
5553
|
|
|
5550
|
-
Mero UI
|
|
5554
|
+
Mero UI 1.1.0 · Pickers
|
|
5551
5555
|
|
|
5552
5556
|
Request matching options from the server as a user types.
|
|
5553
5557
|
|
|
@@ -5627,7 +5631,7 @@ Template
|
|
|
5627
5631
|
|
|
5628
5632
|
# Combo Box
|
|
5629
5633
|
|
|
5630
|
-
Mero UI
|
|
5634
|
+
Mero UI 1.1.0 · Pickers
|
|
5631
5635
|
|
|
5632
5636
|
Filter and select from suggestions already on the page.
|
|
5633
5637
|
|
|
@@ -5707,7 +5711,7 @@ Template
|
|
|
5707
5711
|
|
|
5708
5712
|
# Select
|
|
5709
5713
|
|
|
5710
|
-
Mero UI
|
|
5714
|
+
Mero UI 1.1.0 · Pickers
|
|
5711
5715
|
|
|
5712
5716
|
Choose one of a fixed set of values using the platform’s picker.
|
|
5713
5717
|
|
|
@@ -5737,7 +5741,7 @@ Template
|
|
|
5737
5741
|
|
|
5738
5742
|
# Kbd
|
|
5739
5743
|
|
|
5740
|
-
Mero UI
|
|
5744
|
+
Mero UI 1.1.0 · Typography
|
|
5741
5745
|
|
|
5742
5746
|
Format a keyboard shortcut with native semantics.
|
|
5743
5747
|
|
|
@@ -5789,7 +5793,7 @@ Template
|
|
|
5789
5793
|
|
|
5790
5794
|
# Typography
|
|
5791
5795
|
|
|
5792
|
-
Mero UI
|
|
5796
|
+
Mero UI 1.1.0 · Typography
|
|
5793
5797
|
|
|
5794
5798
|
Apply the type scale to semantic content.
|
|
5795
5799
|
|
|
@@ -5837,7 +5841,7 @@ Template
|
|
|
5837
5841
|
|
|
5838
5842
|
# Badge
|
|
5839
5843
|
|
|
5840
|
-
Mero UI
|
|
5844
|
+
Mero UI 1.1.0 · Data display
|
|
5841
5845
|
|
|
5842
5846
|
Label a status using text and a semantic tone.
|
|
5843
5847
|
|
|
@@ -5862,7 +5866,7 @@ Template
|
|
|
5862
5866
|
|
|
5863
5867
|
# Chip
|
|
5864
5868
|
|
|
5865
|
-
Mero UI
|
|
5869
|
+
Mero UI 1.1.0 · Data display
|
|
5866
5870
|
|
|
5867
5871
|
Display a lightweight label for an attribute or filter value.
|
|
5868
5872
|
|
|
@@ -5883,7 +5887,7 @@ Template
|
|
|
5883
5887
|
|
|
5884
5888
|
# Description List
|
|
5885
5889
|
|
|
5886
|
-
Mero UI
|
|
5890
|
+
Mero UI 1.1.0 · Data display
|
|
5887
5891
|
|
|
5888
5892
|
Show a record’s fields as label and value pairs.
|
|
5889
5893
|
|
|
@@ -5912,7 +5916,7 @@ Template
|
|
|
5912
5916
|
|
|
5913
5917
|
# Table
|
|
5914
5918
|
|
|
5915
|
-
Mero UI
|
|
5919
|
+
Mero UI 1.1.0 · Data display
|
|
5916
5920
|
|
|
5917
5921
|
Show comparable records in a native table with column headers.
|
|
5918
5922
|
|
|
@@ -5999,7 +6003,7 @@ Template
|
|
|
5999
6003
|
|
|
6000
6004
|
# Sortable Table
|
|
6001
6005
|
|
|
6002
|
-
Mero UI
|
|
6006
|
+
Mero UI 1.1.0 · Data display
|
|
6003
6007
|
|
|
6004
6008
|
Sort server-rendered rows from the column headers and open a row from anywhere in it.
|
|
6005
6009
|
|
|
@@ -6301,7 +6305,7 @@ Template
|
|
|
6301
6305
|
|
|
6302
6306
|
# Filter Chips
|
|
6303
6307
|
|
|
6304
|
-
Mero UI
|
|
6308
|
+
Mero UI 1.1.0 · Data display
|
|
6305
6309
|
|
|
6306
6310
|
Add filters from a menu, see them as chips and remove them one at a time. The URL keeps the state.
|
|
6307
6311
|
|
|
@@ -6449,7 +6453,7 @@ Template
|
|
|
6449
6453
|
|
|
6450
6454
|
# Color Area
|
|
6451
6455
|
|
|
6452
|
-
Mero UI
|
|
6456
|
+
Mero UI 1.1.0 · Colors
|
|
6453
6457
|
|
|
6454
6458
|
Open a browser-managed color surface and submit the selected color.
|
|
6455
6459
|
|
|
@@ -6478,7 +6482,7 @@ Template
|
|
|
6478
6482
|
|
|
6479
6483
|
# Color Field
|
|
6480
6484
|
|
|
6481
|
-
Mero UI
|
|
6485
|
+
Mero UI 1.1.0 · Colors
|
|
6482
6486
|
|
|
6483
6487
|
Enter a six-digit hex value directly in a text field.
|
|
6484
6488
|
|
|
@@ -6507,7 +6511,7 @@ Template
|
|
|
6507
6511
|
|
|
6508
6512
|
# Color Picker
|
|
6509
6513
|
|
|
6510
|
-
Mero UI
|
|
6514
|
+
Mero UI 1.1.0 · Colors
|
|
6511
6515
|
|
|
6512
6516
|
Choose a color using the native picker UI.
|
|
6513
6517
|
|
|
@@ -6534,7 +6538,7 @@ Template
|
|
|
6534
6538
|
|
|
6535
6539
|
# Color Slider
|
|
6536
6540
|
|
|
6537
|
-
Mero UI
|
|
6541
|
+
Mero UI 1.1.0 · Colors
|
|
6538
6542
|
|
|
6539
6543
|
Adjust a hue along the color spectrum.
|
|
6540
6544
|
|
|
@@ -6564,7 +6568,7 @@ Template
|
|
|
6564
6568
|
|
|
6565
6569
|
# Color Swatch
|
|
6566
6570
|
|
|
6567
|
-
Mero UI
|
|
6571
|
+
Mero UI 1.1.0 · Colors
|
|
6568
6572
|
|
|
6569
6573
|
Show a color with its human-readable label.
|
|
6570
6574
|
|
|
@@ -6589,7 +6593,7 @@ Template
|
|
|
6589
6593
|
|
|
6590
6594
|
# Scroll Shadow
|
|
6591
6595
|
|
|
6592
|
-
Mero UI
|
|
6596
|
+
Mero UI 1.1.0 · Utilities
|
|
6593
6597
|
|
|
6594
6598
|
Expose a scrollable region with a visual cue that more content is available.
|
|
6595
6599
|
|
|
@@ -6619,7 +6623,7 @@ Template
|
|
|
6619
6623
|
|
|
6620
6624
|
# Visually Hidden
|
|
6621
6625
|
|
|
6622
|
-
Mero UI
|
|
6626
|
+
Mero UI 1.1.0 · Utilities
|
|
6623
6627
|
|
|
6624
6628
|
Give screen readers context that the visible text leaves implied.
|
|
6625
6629
|
|
|
@@ -6645,7 +6649,7 @@ Template
|
|
|
6645
6649
|
|
|
6646
6650
|
# Join
|
|
6647
6651
|
|
|
6648
|
-
Mero UI
|
|
6652
|
+
Mero UI 1.1.0 · Composition
|
|
6649
6653
|
|
|
6650
6654
|
Connect related controls with a shared outline.
|
|
6651
6655
|
|
|
@@ -6668,7 +6672,7 @@ Template
|
|
|
6668
6672
|
|
|
6669
6673
|
# Menu
|
|
6670
6674
|
|
|
6671
|
-
Mero UI
|
|
6675
|
+
Mero UI 1.1.0 · Composition
|
|
6672
6676
|
|
|
6673
6677
|
Group destinations with an active page and section labels.
|
|
6674
6678
|
|
|
@@ -6691,7 +6695,7 @@ Template
|
|
|
6691
6695
|
|
|
6692
6696
|
# Hero
|
|
6693
6697
|
|
|
6694
|
-
Mero UI
|
|
6698
|
+
Mero UI 1.1.0 · Composition
|
|
6695
6699
|
|
|
6696
6700
|
Pair a product introduction with a single destination.
|
|
6697
6701
|
|
|
@@ -6716,7 +6720,7 @@ Template
|
|
|
6716
6720
|
|
|
6717
6721
|
# Footer
|
|
6718
6722
|
|
|
6719
|
-
Mero UI
|
|
6723
|
+
Mero UI 1.1.0 · Composition
|
|
6720
6724
|
|
|
6721
6725
|
Close a workspace with a small group of navigation links.
|
|
6722
6726
|
|
|
@@ -6739,7 +6743,7 @@ Template
|
|
|
6739
6743
|
|
|
6740
6744
|
# Theme Controller
|
|
6741
6745
|
|
|
6742
|
-
Mero UI
|
|
6746
|
+
Mero UI 1.1.0 · Composition
|
|
6743
6747
|
|
|
6744
6748
|
Set a theme inside one section of a page.
|
|
6745
6749
|
|
|
@@ -6762,13 +6766,13 @@ Template
|
|
|
6762
6766
|
|
|
6763
6767
|
# Validator
|
|
6764
6768
|
|
|
6765
|
-
Mero UI
|
|
6769
|
+
Mero UI 1.1.0 · Composition
|
|
6766
6770
|
|
|
6767
|
-
Show a native field constraint and its correction.
|
|
6771
|
+
Show a native field constraint and its correction with zero JavaScript.
|
|
6768
6772
|
|
|
6769
6773
|
## Default
|
|
6770
6774
|
|
|
6771
|
-
|
|
6775
|
+
Pure CSS :user-invalid and :user-valid styling keeps .mero-validator-hint hidden until interaction or a server HTTP 422 aria-invalid="true" response. Place the field inside any form or data-mero-form.
|
|
6772
6776
|
|
|
6773
6777
|
Page assets
|
|
6774
6778
|
|
|
@@ -6782,14 +6786,14 @@ Page assets
|
|
|
6782
6786
|
Template
|
|
6783
6787
|
|
|
6784
6788
|
````html
|
|
6785
|
-
<
|
|
6789
|
+
<div class="mero-field"><label class="mero-label" for="val-sku">Catalog SKU</label><input id="val-sku" class="mero-input mero-validator" name="sku" required pattern="[A-Z]{2}-[0-9]{4}" placeholder="RL-2040" aria-describedby="val-sku-hint"><p id="val-sku-hint" class="mero-validator-hint">Use two uppercase letters, a hyphen and four digits (e.g. RL-2040).</p></div>
|
|
6786
6790
|
````
|
|
6787
6791
|
|
|
6788
|
-
##
|
|
6792
|
+
## Server 422 state
|
|
6789
6793
|
|
|
6790
|
-
|
|
6794
|
+
A server-returned validation error sets aria-invalid="true", revealing .mero-validator-hint immediately on load or after an HTMX 422 swap.
|
|
6791
6795
|
|
|
6792
|
-
|
|
6796
|
+
Pure CSS :user-invalid and :user-valid styling keeps .mero-validator-hint hidden until interaction or a server HTTP 422 aria-invalid="true" response. Place the field inside any form or data-mero-form.
|
|
6793
6797
|
|
|
6794
6798
|
Page assets
|
|
6795
6799
|
|
|
@@ -6803,12 +6807,12 @@ Page assets
|
|
|
6803
6807
|
Template
|
|
6804
6808
|
|
|
6805
6809
|
````html
|
|
6806
|
-
<
|
|
6810
|
+
<div class="mero-field"><label class="mero-label" for="val-sku-err">Catalog SKU</label><input id="val-sku-err" class="mero-input mero-validator" name="sku" value="bad-sku" required pattern="[A-Z]{2}-[0-9]{4}" aria-invalid="true" aria-describedby="val-sku-err-hint"><p id="val-sku-err-hint" class="mero-validator-hint">Use two uppercase letters, a hyphen and four digits (e.g. RL-2040).</p></div>
|
|
6807
6811
|
````
|
|
6808
6812
|
|
|
6809
6813
|
# Aura
|
|
6810
6814
|
|
|
6811
|
-
Mero UI
|
|
6815
|
+
Mero UI 1.1.0 · Display utilities
|
|
6812
6816
|
|
|
6813
6817
|
Frame an interactive surface with a subtle moving highlight.
|
|
6814
6818
|
|
|
@@ -6831,7 +6835,7 @@ Template
|
|
|
6831
6835
|
|
|
6832
6836
|
# Countdown
|
|
6833
6837
|
|
|
6834
|
-
Mero UI
|
|
6838
|
+
Mero UI 1.1.0 · Display utilities
|
|
6835
6839
|
|
|
6836
6840
|
Show the time remaining until the next daily shipping cutoff.
|
|
6837
6841
|
|
|
@@ -6856,7 +6860,7 @@ Template
|
|
|
6856
6860
|
|
|
6857
6861
|
# Indicator
|
|
6858
6862
|
|
|
6859
|
-
Mero UI
|
|
6863
|
+
Mero UI 1.1.0 · Display utilities
|
|
6860
6864
|
|
|
6861
6865
|
Anchor a quantity to an icon or action.
|
|
6862
6866
|
|
|
@@ -6879,7 +6883,7 @@ Template
|
|
|
6879
6883
|
|
|
6880
6884
|
# Mask
|
|
6881
6885
|
|
|
6882
|
-
Mero UI
|
|
6886
|
+
Mero UI 1.1.0 · Display utilities
|
|
6883
6887
|
|
|
6884
6888
|
Crop an image while keeping its alternative text.
|
|
6885
6889
|
|
|
@@ -6904,7 +6908,7 @@ Template
|
|
|
6904
6908
|
|
|
6905
6909
|
# Stack
|
|
6906
6910
|
|
|
6907
|
-
Mero UI
|
|
6911
|
+
Mero UI 1.1.0 · Display utilities
|
|
6908
6912
|
|
|
6909
6913
|
Layer related previews while keeping the current item legible.
|
|
6910
6914
|
|
|
@@ -6929,7 +6933,7 @@ Template
|
|
|
6929
6933
|
|
|
6930
6934
|
# Status
|
|
6931
6935
|
|
|
6932
|
-
Mero UI
|
|
6936
|
+
Mero UI 1.1.0 · Display utilities
|
|
6933
6937
|
|
|
6934
6938
|
Show system status with a label and a visual marker.
|
|
6935
6939
|
|
|
@@ -6952,7 +6956,7 @@ Template
|
|
|
6952
6956
|
|
|
6953
6957
|
# Swap
|
|
6954
6958
|
|
|
6955
|
-
Mero UI
|
|
6959
|
+
Mero UI 1.1.0 · Display utilities
|
|
6956
6960
|
|
|
6957
6961
|
Switch between two labels or icons on a native control.
|
|
6958
6962
|
|
|
@@ -6975,7 +6979,7 @@ Template
|
|
|
6975
6979
|
|
|
6976
6980
|
# Text Rotate
|
|
6977
6981
|
|
|
6978
|
-
Mero UI
|
|
6982
|
+
Mero UI 1.1.0 · Display utilities
|
|
6979
6983
|
|
|
6980
6984
|
Rotate through short messages with explicit playback controls.
|
|
6981
6985
|
|
|
@@ -6998,7 +7002,7 @@ Template
|
|
|
6998
7002
|
|
|
6999
7003
|
# Browser Mockup
|
|
7000
7004
|
|
|
7001
|
-
Mero UI
|
|
7005
|
+
Mero UI 1.1.0 · Mockups
|
|
7002
7006
|
|
|
7003
7007
|
Present a site preview inside a compact browser frame.
|
|
7004
7008
|
|
|
@@ -7023,7 +7027,7 @@ Template
|
|
|
7023
7027
|
|
|
7024
7028
|
# Phone Mockup
|
|
7025
7029
|
|
|
7026
|
-
Mero UI
|
|
7030
|
+
Mero UI 1.1.0 · Mockups
|
|
7027
7031
|
|
|
7028
7032
|
Frame a mobile product screen.
|
|
7029
7033
|
|
|
@@ -7048,7 +7052,7 @@ Template
|
|
|
7048
7052
|
|
|
7049
7053
|
# Window Mockup
|
|
7050
7054
|
|
|
7051
|
-
Mero UI
|
|
7055
|
+
Mero UI 1.1.0 · Mockups
|
|
7052
7056
|
|
|
7053
7057
|
Place a desktop tool inside a labelled window.
|
|
7054
7058
|
|
|
@@ -7071,7 +7075,7 @@ Template
|
|
|
7071
7075
|
|
|
7072
7076
|
# Code Mockup
|
|
7073
7077
|
|
|
7074
|
-
Mero UI
|
|
7078
|
+
Mero UI 1.1.0 · Mockups
|
|
7075
7079
|
|
|
7076
7080
|
Present a terminal command and its output.
|
|
7077
7081
|
|