@rubenlangeweg/mero-ui 0.0.0-stage → 0.8.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 +86 -0
- package/LICENSE +21 -0
- package/README.md +141 -2
- package/agent-docs/components/accordion.md +31 -0
- package/agent-docs/components/action-bar.md +45 -0
- package/agent-docs/components/action-button.md +73 -0
- package/agent-docs/components/agenda.md +38 -0
- package/agent-docs/components/alert-dialog.md +36 -0
- package/agent-docs/components/alert.md +25 -0
- package/agent-docs/components/app-layout.md +36 -0
- package/agent-docs/components/area-chart.md +36 -0
- package/agent-docs/components/aura.md +24 -0
- package/agent-docs/components/autocomplete.md +81 -0
- package/agent-docs/components/avatar-group.md +26 -0
- package/agent-docs/components/avatar.md +25 -0
- package/agent-docs/components/badge.md +26 -0
- package/agent-docs/components/bar-chart.md +36 -0
- package/agent-docs/components/breadcrumbs.md +28 -0
- package/agent-docs/components/browser-mockup.md +26 -0
- package/agent-docs/components/button-group.md +26 -0
- package/agent-docs/components/button.md +106 -0
- package/agent-docs/components/calendar.md +105 -0
- package/agent-docs/components/card.md +81 -0
- package/agent-docs/components/carousel.md +78 -0
- package/agent-docs/components/cell-color-picker.md +32 -0
- package/agent-docs/components/cell-select.md +32 -0
- package/agent-docs/components/cell-slider.md +32 -0
- package/agent-docs/components/cell-switch.md +32 -0
- package/agent-docs/components/chain-of-thought.md +26 -0
- package/agent-docs/components/chart-tooltip.md +36 -0
- package/agent-docs/components/chat-attachment.md +26 -0
- package/agent-docs/components/chat-conversation.md +61 -0
- package/agent-docs/components/chat-list-view.md +25 -0
- package/agent-docs/components/chat-loader.md +24 -0
- package/agent-docs/components/chat-message-actions.md +25 -0
- package/agent-docs/components/chat-message.md +24 -0
- package/agent-docs/components/chat-source.md +24 -0
- package/agent-docs/components/chat-tool.md +41 -0
- package/agent-docs/components/checkbox-button-group.md +29 -0
- package/agent-docs/components/checkbox-group.md +29 -0
- package/agent-docs/components/checkbox.md +25 -0
- package/agent-docs/components/chip.md +22 -0
- package/agent-docs/components/close-button.md +33 -0
- package/agent-docs/components/code-block.md +24 -0
- package/agent-docs/components/code-mockup.md +25 -0
- package/agent-docs/components/color-area.md +30 -0
- package/agent-docs/components/color-field.md +30 -0
- package/agent-docs/components/color-picker.md +28 -0
- package/agent-docs/components/color-slider.md +31 -0
- package/agent-docs/components/color-swatch.md +26 -0
- package/agent-docs/components/combo-box.md +41 -0
- package/agent-docs/components/command-menu.md +46 -0
- package/agent-docs/components/command.md +38 -0
- package/agent-docs/components/composed-chart.md +36 -0
- package/agent-docs/components/context-menu.md +31 -0
- package/agent-docs/components/countdown.md +26 -0
- package/agent-docs/components/data-grid.md +159 -0
- package/agent-docs/components/date-field.md +28 -0
- package/agent-docs/components/date-picker.md +30 -0
- package/agent-docs/components/date-range-picker.md +40 -0
- package/agent-docs/components/description-list.md +30 -0
- package/agent-docs/components/description.md +28 -0
- package/agent-docs/components/diff.md +43 -0
- package/agent-docs/components/disclosure-group.md +31 -0
- package/agent-docs/components/disclosure.md +25 -0
- package/agent-docs/components/dock.md +26 -0
- package/agent-docs/components/drawer.md +116 -0
- package/agent-docs/components/drop-zone.md +34 -0
- package/agent-docs/components/dropdown.md +31 -0
- package/agent-docs/components/emoji-picker.md +31 -0
- package/agent-docs/components/emoji-reaction-button.md +26 -0
- package/agent-docs/components/empty-state.md +56 -0
- package/agent-docs/components/error-message.md +25 -0
- package/agent-docs/components/fab.md +26 -0
- package/agent-docs/components/field-error.md +30 -0
- package/agent-docs/components/fieldset.md +82 -0
- package/agent-docs/components/file-input.md +32 -0
- package/agent-docs/components/file-tree.md +24 -0
- package/agent-docs/components/filter-chips.md +149 -0
- package/agent-docs/components/floating-toc.md +24 -0
- package/agent-docs/components/footer.md +24 -0
- package/agent-docs/components/form.md +189 -0
- package/agent-docs/components/hero.md +26 -0
- package/agent-docs/components/holo-card.md +33 -0
- package/agent-docs/components/hover-card.md +26 -0
- package/agent-docs/components/hover-gallery.md +78 -0
- package/agent-docs/components/indicator.md +24 -0
- package/agent-docs/components/inline-select.md +26 -0
- package/agent-docs/components/input-group.md +30 -0
- package/agent-docs/components/input-otp.md +30 -0
- package/agent-docs/components/input.md +28 -0
- package/agent-docs/components/item-card-group.md +24 -0
- package/agent-docs/components/item-card.md +24 -0
- package/agent-docs/components/join.md +24 -0
- package/agent-docs/components/joined-filter.md +28 -0
- package/agent-docs/components/kanban.md +26 -0
- package/agent-docs/components/kbd.md +53 -0
- package/agent-docs/components/kpi-group.md +24 -0
- package/agent-docs/components/kpi.md +24 -0
- package/agent-docs/components/label.md +28 -0
- package/agent-docs/components/line-chart.md +64 -0
- package/agent-docs/components/link.md +22 -0
- package/agent-docs/components/list-box.md +30 -0
- package/agent-docs/components/list-view.md +24 -0
- package/agent-docs/components/live-progress.md +71 -0
- package/agent-docs/components/map.md +26 -0
- package/agent-docs/components/markdown.md +36 -0
- package/agent-docs/components/mask.md +26 -0
- package/agent-docs/components/megamenu.md +26 -0
- package/agent-docs/components/menu-button.md +112 -0
- package/agent-docs/components/menu.md +24 -0
- package/agent-docs/components/meter.md +28 -0
- package/agent-docs/components/modal.md +34 -0
- package/agent-docs/components/native-select.md +26 -0
- package/agent-docs/components/navbar.md +24 -0
- package/agent-docs/components/number-field.md +28 -0
- package/agent-docs/components/number-stepper.md +31 -0
- package/agent-docs/components/number-value.md +26 -0
- package/agent-docs/components/page-header.md +69 -0
- package/agent-docs/components/pagination.md +40 -0
- package/agent-docs/components/phone-mockup.md +26 -0
- package/agent-docs/components/pie-chart.md +36 -0
- package/agent-docs/components/popover.md +30 -0
- package/agent-docs/components/pressable-feedback.md +24 -0
- package/agent-docs/components/progress-bar.md +27 -0
- package/agent-docs/components/progress-circle.md +23 -0
- package/agent-docs/components/prompt-input.md +32 -0
- package/agent-docs/components/prompt-suggestion.md +32 -0
- package/agent-docs/components/radar-chart.md +36 -0
- package/agent-docs/components/radial-chart.md +36 -0
- package/agent-docs/components/radio-button-group.md +28 -0
- package/agent-docs/components/radio-group.md +29 -0
- package/agent-docs/components/range-calendar.md +40 -0
- package/agent-docs/components/rating.md +26 -0
- package/agent-docs/components/resizable.md +55 -0
- package/agent-docs/components/rich-text-editor.md +35 -0
- package/agent-docs/components/scroll-shadow.md +31 -0
- package/agent-docs/components/search-field.md +70 -0
- package/agent-docs/components/segment.md +28 -0
- package/agent-docs/components/select.md +31 -0
- package/agent-docs/components/separator.md +26 -0
- package/agent-docs/components/sheet.md +34 -0
- package/agent-docs/components/sidebar.md +36 -0
- package/agent-docs/components/skeleton.md +26 -0
- package/agent-docs/components/slider.md +27 -0
- package/agent-docs/components/sortable-table.md +303 -0
- package/agent-docs/components/spinner.md +25 -0
- package/agent-docs/components/stack.md +26 -0
- package/agent-docs/components/status.md +24 -0
- package/agent-docs/components/stepper.md +32 -0
- package/agent-docs/components/surface.md +25 -0
- package/agent-docs/components/swap.md +24 -0
- package/agent-docs/components/switch.md +75 -0
- package/agent-docs/components/table.md +88 -0
- package/agent-docs/components/tabs.md +88 -0
- package/agent-docs/components/tag-group.md +26 -0
- package/agent-docs/components/text-area.md +27 -0
- package/agent-docs/components/text-field.md +28 -0
- package/agent-docs/components/text-rotate.md +24 -0
- package/agent-docs/components/text-shimmer.md +24 -0
- package/agent-docs/components/theme-controller.md +24 -0
- package/agent-docs/components/time-field.md +30 -0
- package/agent-docs/components/timeline.md +24 -0
- package/agent-docs/components/toast.md +22 -0
- package/agent-docs/components/toggle-button-group.md +31 -0
- package/agent-docs/components/toggle-button.md +24 -0
- package/agent-docs/components/toolbar.md +28 -0
- package/agent-docs/components/tooltip.md +27 -0
- package/agent-docs/components/trend-chip.md +24 -0
- package/agent-docs/components/typed-confirmation.md +160 -0
- package/agent-docs/components/typography.md +49 -0
- package/agent-docs/components/validator.md +26 -0
- package/agent-docs/components/visually-hidden.md +27 -0
- package/agent-docs/components/widget.md +24 -0
- package/agent-docs/components/window-mockup.md +24 -0
- package/agent-docs/llms-components.txt +6676 -0
- package/agent-docs/llms-full.txt +6925 -0
- package/agent-docs/llms-patterns.txt +250 -0
- package/agent-docs/llms.txt +264 -0
- package/package.json +48 -4
- package/ui/insight-charts.mjs +124 -0
- package/ui/insight-markdown.mjs +46 -0
- package/ui/mero-collections.css +140 -0
- package/ui/mero-collections.js +272 -0
- package/ui/mero-composition.css +342 -0
- package/ui/mero-composition.js +79 -0
- package/ui/mero-forms.js +611 -0
- package/ui/mero-gallery.css +122 -0
- package/ui/mero-gallery.js +193 -0
- package/ui/mero-insights.css +168 -0
- package/ui/mero-insights.js +188 -0
- package/ui/mero-inventory.css +182 -0
- package/ui/mero-inventory.js +56 -0
- package/ui/mero-layouts.css +70 -0
- package/ui/mero-live.js +141 -0
- package/ui/mero-workspace.css +152 -0
- package/ui/mero-workspace.js +590 -0
- package/ui/mero.css +1021 -0
- package/ui/mero.js +1068 -0
- package/ui/studio-lamp.webp +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Map
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Studio collections
|
|
4
|
+
|
|
5
|
+
Choose a location on a self-contained campus map and read its address.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The illustrated plan uses local CSS and labelled pins, so it can work offline.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-collections.css">
|
|
18
|
+
<script defer src="/mero.js"></script>
|
|
19
|
+
<script defer src="/mero-collections.js"></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Template
|
|
23
|
+
|
|
24
|
+
````html
|
|
25
|
+
<figure class="mero-place-map" data-mero-place-map><figcaption><strong>Studio campus</strong><small>Rotterdam</small></figcaption><div class="mero-map-drawing" aria-label="Studio locations"><div class="mero-map-block mero-map-block-a"></div><div class="mero-map-block mero-map-block-b"></div><div class="mero-map-block mero-map-block-c"></div><button class="mero-map-pin" type="button" style="--pin-x:39%;--pin-y:27%" aria-label="1. Showroom" aria-pressed="true" data-place="showroom">1</button><button class="mero-map-pin" type="button" style="--pin-x:68%;--pin-y:50%" aria-label="2. Atelier" aria-pressed="false" data-place="atelier">2</button><button class="mero-map-pin" type="button" style="--pin-x:27%;--pin-y:73%" aria-label="3. Dispatch" aria-pressed="false" data-place="dispatch">3</button></div><div class="mero-map-caption"><div data-place-detail="showroom"><strong>Showroom</strong><small>Building A · Ground floor</small></div><div data-place-detail="atelier" hidden><strong>Atelier</strong><small>Building B · First floor</small></div><div data-place-detail="dispatch" hidden><strong>Dispatch</strong><small>West entrance · Loading bay</small></div><output class="mero-collection-sr" aria-live="polite"></output></div></figure>
|
|
26
|
+
````
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Markdown
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Render a small safe subset of Markdown into semantic HTML.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
Optional server helper: `ui/insight-markdown.mjs`.
|
|
10
|
+
|
|
11
|
+
## Default
|
|
12
|
+
|
|
13
|
+
The optional insight-markdown.mjs server helper supports paragraphs, headings, unordered lists, strong, emphasis, inline code and fenced code. Raw markup is escaped.
|
|
14
|
+
|
|
15
|
+
Page assets
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<link rel="stylesheet" href="/mero.css">
|
|
19
|
+
<link rel="stylesheet" href="/mero-insights.css">
|
|
20
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
21
|
+
<script defer src="/mero.js"></script>
|
|
22
|
+
<script defer src="/mero-insights.js"></script>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Template
|
|
26
|
+
|
|
27
|
+
````html
|
|
28
|
+
<div class="mero-markdown-editor"><form class="mero-md-edit" action="/demo/insights/markdown" method="post" hx-post="/demo/insights/markdown" hx-target="next .mero-md-output" hx-swap="innerHTML" hx-sync="this:replace"><label>Markdown source<textarea class="mero-input" name="source" rows="6" maxlength="4000" spellcheck="false"># Dispatch brief
|
|
29
|
+
|
|
30
|
+
**Lighting** led shipments. Prepare the next batch for Wednesday.
|
|
31
|
+
|
|
32
|
+
- Check `SL-204` stock.
|
|
33
|
+
- Reserve two packing stations.</textarea></label><div class="mero-md-actions"><button class="mero-button mero-button-secondary mero-button-sm">Render preview</button><span class="mero-insight-status" data-mero-report-status role="status"></span></div></form><section class="mero-md-preview" aria-label="Rendered preview"><h2>Preview</h2><div class="mero-md-output"><div class="mero-markdown"><h3>Dispatch brief</h3>
|
|
34
|
+
<p><strong>Lighting</strong> led shipments. Prepare the next batch for Wednesday.</p>
|
|
35
|
+
<ul><li>Check <code>SL-204</code> stock.</li><li>Reserve two packing stations.</li></ul></div></div></section></div>
|
|
36
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Mask
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Display utilities
|
|
4
|
+
|
|
5
|
+
Crop an image while keeping its alternative text.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Serve studio-lamp.webp for the sample image.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-composition.css">
|
|
18
|
+
<script defer src="/mero.js"></script>
|
|
19
|
+
<script defer src="/mero-composition.js"></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Template
|
|
23
|
+
|
|
24
|
+
````html
|
|
25
|
+
<figure class="mero-mask-sample"><img src="/studio-lamp.webp" width="1120" height="747" alt="Arc Task Lamp in warm ivory" loading="lazy"><figcaption>Soft ivory</figcaption></figure>
|
|
26
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Megamenu
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Workspace navigation
|
|
4
|
+
|
|
5
|
+
Explore grouped destinations from a native disclosure.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-workspace.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<details class="mero-ws-mega"><summary>Browse the library <svg class="mero-ws-icon" aria-hidden="true" focusable="false" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg></summary>
|
|
24
|
+
<div><section><strong>Components</strong><nav aria-label="Component categories"><a href="/components/native-select">Form controls</a><a href="/components/sidebar">Navigation</a><a href="/components/emoji-picker">Overlays</a></nav></section><section><strong>Workspaces</strong><nav aria-label="Workspace examples"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></section></div>
|
|
25
|
+
</details>
|
|
26
|
+
````
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Menu Button
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Collections
|
|
4
|
+
|
|
5
|
+
Open row actions and move through them with the arrow keys.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Each Actions button names its record and identifies its menu with aria-controls. Enter, Space or Down Arrow opens the menu on its first item, and Up Arrow on its last. Arrow keys, Home, End and a typed letter move between items. Escape closes the menu and returns focus to the button. Tab and Shift+Tab close it and continue in the browser’s tab order.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<script defer src="/mero.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<div class="mero-scope" data-mero-scope>
|
|
24
|
+
<ul class="mero-stack">
|
|
25
|
+
<li class="mero-row">
|
|
26
|
+
<span>Arc Task Lamp</span>
|
|
27
|
+
<button class="mero-button mero-button-ghost mero-button-sm" type="button" popovertarget="row-1-actions" aria-haspopup="menu" aria-controls="row-1-actions" aria-expanded="false" aria-label="Actions for Arc Task Lamp">Actions</button>
|
|
28
|
+
<div class="mero-popover mero-menu" id="row-1-actions" popover role="menu" aria-label="Arc Task Lamp actions">
|
|
29
|
+
<a class="mero-menu-item" role="menuitem" href="/components/sortable-table">Open details</a>
|
|
30
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Arc Task Lamp duplicated">Duplicate</button>
|
|
31
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Arc Task Lamp archived">Archive</button>
|
|
32
|
+
<button class="mero-menu-item" role="menuitem" type="button" aria-disabled="true">Delete</button>
|
|
33
|
+
</div>
|
|
34
|
+
</li>
|
|
35
|
+
<li class="mero-row">
|
|
36
|
+
<span>Halo Pendant</span>
|
|
37
|
+
<button class="mero-button mero-button-ghost mero-button-sm" type="button" popovertarget="row-2-actions" aria-haspopup="menu" aria-controls="row-2-actions" aria-expanded="false" aria-label="Actions for Halo Pendant">Actions</button>
|
|
38
|
+
<div class="mero-popover mero-menu" id="row-2-actions" popover role="menu" aria-label="Halo Pendant actions">
|
|
39
|
+
<a class="mero-menu-item" role="menuitem" href="/components/sortable-table">Open details</a>
|
|
40
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Halo Pendant duplicated">Duplicate</button>
|
|
41
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Halo Pendant archived">Archive</button>
|
|
42
|
+
<button class="mero-menu-item" role="menuitem" type="button" aria-disabled="true">Delete</button>
|
|
43
|
+
</div>
|
|
44
|
+
</li>
|
|
45
|
+
</ul>
|
|
46
|
+
</div>
|
|
47
|
+
````
|
|
48
|
+
|
|
49
|
+
## Choice items
|
|
50
|
+
|
|
51
|
+
Choose one sort order or switch an option from a menu that shows the current state.
|
|
52
|
+
|
|
53
|
+
Use role=menuitemradio for one choice in a group and role=menuitemcheckbox for an option that is on or off. Render aria-checked on the server; Mero shows a check mark but never changes it, so each item links to the URL with the new state. The menu opens on the checked radio item, or on the first item when none is checked. Up Arrow still opens it on the last item. The keys work as in the default Menu Button.
|
|
54
|
+
|
|
55
|
+
Page assets
|
|
56
|
+
|
|
57
|
+
```html
|
|
58
|
+
<link rel="stylesheet" href="/mero.css">
|
|
59
|
+
<script defer src="/mero.js"></script>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Template
|
|
63
|
+
|
|
64
|
+
````html
|
|
65
|
+
<div class="mero-scope" data-mero-scope>
|
|
66
|
+
<button class="mero-button mero-button-outline mero-button-sm" type="button" popovertarget="view-menu" aria-haspopup="menu" aria-controls="view-menu" aria-expanded="false">Sort: Category</button>
|
|
67
|
+
<div class="mero-popover mero-menu" id="view-menu" popover role="menu" aria-label="View options">
|
|
68
|
+
<div role="group" aria-label="Sort by">
|
|
69
|
+
<a class="mero-menu-item" role="menuitemradio" aria-checked="false" href="/components/sortable-table?sort=name">Product</a>
|
|
70
|
+
<a class="mero-menu-item" role="menuitemradio" aria-checked="true" href="/components/sortable-table?sort=category">Category</a>
|
|
71
|
+
<a class="mero-menu-item" role="menuitemradio" aria-checked="false" href="/components/sortable-table?sort=status">Status</a>
|
|
72
|
+
</div>
|
|
73
|
+
<div role="group" aria-label="Show">
|
|
74
|
+
<a class="mero-menu-item" role="menuitemcheckbox" aria-checked="false" href="/components/filter-chips?status=Active">Active only</a>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
````
|
|
79
|
+
|
|
80
|
+
## Groups and danger
|
|
81
|
+
|
|
82
|
+
Label groups of actions with a visible heading and set a destructive action apart.
|
|
83
|
+
|
|
84
|
+
Give each group role=group and aria-labelledby its mero-menu-heading. The heading is aria-hidden, so screen readers announce it once as the group name, and arrow keys and typeahead skip it. Use mero-menu-item-danger for an action that destroys data, after a separator, and name the action in its text because forced-colors mode drops the colour. Let it open a confirmation instead of acting immediately.
|
|
85
|
+
|
|
86
|
+
Page assets
|
|
87
|
+
|
|
88
|
+
```html
|
|
89
|
+
<link rel="stylesheet" href="/mero.css">
|
|
90
|
+
<script defer src="/mero.js"></script>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Template
|
|
94
|
+
|
|
95
|
+
````html
|
|
96
|
+
<div class="mero-scope" data-mero-scope>
|
|
97
|
+
<button class="mero-button mero-button-outline mero-button-sm" type="button" popovertarget="environment-menu" aria-haspopup="menu" aria-controls="environment-menu" aria-expanded="false">Environment actions</button>
|
|
98
|
+
<div class="mero-popover mero-menu" id="environment-menu" popover role="menu" aria-label="acme-production actions">
|
|
99
|
+
<div role="group" aria-labelledby="environment-menu-lifecycle">
|
|
100
|
+
<div class="mero-menu-heading" id="environment-menu-lifecycle" aria-hidden="true">Lifecycle</div>
|
|
101
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Deploy started">Deploy release</button>
|
|
102
|
+
<button class="mero-menu-item" role="menuitem" type="button" data-mero-toast="Suspend requested">Suspend</button>
|
|
103
|
+
</div>
|
|
104
|
+
<div role="group" aria-labelledby="environment-menu-access">
|
|
105
|
+
<div class="mero-menu-heading" id="environment-menu-access" aria-hidden="true">Access</div>
|
|
106
|
+
<a class="mero-menu-item" role="menuitem" href="/components/typed-confirmation">Grant support access</a>
|
|
107
|
+
</div>
|
|
108
|
+
<hr class="mero-separator">
|
|
109
|
+
<a class="mero-menu-item mero-menu-item-danger" role="menuitem" href="/components/typed-confirmation">Delete environment…</a>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Menu
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Composition
|
|
4
|
+
|
|
5
|
+
Group destinations with an active page and section labels.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<link rel="stylesheet" href="/mero-composition.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-composition.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<nav class="mero-link-menu" aria-label="Studio guide"><strong>Workspace</strong><a href="/layouts/dashboard" aria-current="page">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav>
|
|
24
|
+
````
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Meter
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Feedback
|
|
4
|
+
|
|
5
|
+
Show a measurement between known bounds.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<script defer src="/mero.js"></script>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Template
|
|
19
|
+
|
|
20
|
+
````html
|
|
21
|
+
<div class="mero-scope" data-mero-scope>
|
|
22
|
+
<div class="mero-field">
|
|
23
|
+
<label class="mero-label" for="demo-meter">Storage used</label>
|
|
24
|
+
<meter class="mero-meter" id="demo-meter" min="0" max="100" value="64" high="80">64%</meter>
|
|
25
|
+
<p class="mero-description">64 GB of 100 GB</p>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
````
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Modal
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Overlays
|
|
4
|
+
|
|
5
|
+
Open a centered, named dialog with native focus containment.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<script defer src="/mero.js"></script>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Template
|
|
19
|
+
|
|
20
|
+
````html
|
|
21
|
+
<div class="mero-scope" data-mero-scope>
|
|
22
|
+
<button class="mero-button mero-button-primary" type="button" data-mero-open="demo-modal">Workspace details</button>
|
|
23
|
+
<dialog class="mero-dialog" id="demo-modal" aria-labelledby="demo-modal-title" aria-describedby="demo-modal-description">
|
|
24
|
+
<div class="mero-dialog-body">
|
|
25
|
+
<h2 class="mero-dialog-title" id="demo-modal-title">Workspace details</h2>
|
|
26
|
+
<p class="mero-description" id="demo-modal-description">Only workspace managers can change access.</p>
|
|
27
|
+
<div class="mero-dialog-footer">
|
|
28
|
+
<button class="mero-button mero-button-secondary" type="button" data-mero-close autofocus>Done</button>
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</dialog>
|
|
33
|
+
</div>
|
|
34
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Native Select
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Choose a workspace from labelled option groups.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-workspace.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<label class="mero-ws-labeled mero-ws-workspace-picker"><strong>Default workspace</strong>
|
|
24
|
+
<select class="mero-select" name="workspace"><optgroup label="Design"><option>Studio North</option><option>Archive</option></optgroup><optgroup label="Operations"><option>Production</option></optgroup></select>
|
|
25
|
+
</label>
|
|
26
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Navbar
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Workspace navigation
|
|
4
|
+
|
|
5
|
+
Place the workspace name and destinations in a wrapping top bar.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-workspace.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<header class="mero-ws-navbar"><strong>Studio North</strong><nav aria-label="Primary navigation"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></header>
|
|
24
|
+
````
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Number Field
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Forms
|
|
4
|
+
|
|
5
|
+
Set numeric bounds and increments for a native field.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<script defer src="/mero.js"></script>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Template
|
|
19
|
+
|
|
20
|
+
````html
|
|
21
|
+
<div class="mero-scope" data-mero-scope>
|
|
22
|
+
<div class="mero-field">
|
|
23
|
+
<label class="mero-label" for="demo-number">Seats</label>
|
|
24
|
+
<input class="mero-input" id="demo-number" type="number" name="seats" min="1" max="50" step="1" value="5">
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
````
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Number Stepper
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Change a bounded quantity with the keyboard or step buttons.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Page assets
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<link rel="stylesheet" href="/mero.css">
|
|
15
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-workspace.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<div class="mero-ws-labeled"><strong>Seats</strong>
|
|
24
|
+
<span class="mero-ws-step-number" data-mero-ws-number>
|
|
25
|
+
<button type="button" aria-label="Remove one seat" data-step="-1"><svg class="mero-ws-icon" aria-hidden="true" focusable="false" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/></svg></button>
|
|
26
|
+
<input type="number" name="seats" aria-label="Seats" min="1" max="12" step="1" value="3" inputmode="numeric">
|
|
27
|
+
<button type="button" aria-label="Add one seat" data-step="1"><svg class="mero-ws-icon" aria-hidden="true" focusable="false" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14m-7-7v14"/></svg></button>
|
|
28
|
+
</span>
|
|
29
|
+
<small>1 to 12 seats per workspace</small>
|
|
30
|
+
</div>
|
|
31
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Number Value
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Interaction feedback
|
|
4
|
+
|
|
5
|
+
Display a localized number with its machine-readable value.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Format values on the server using the locale and currency of the report.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-insights.css">
|
|
18
|
+
<script defer src="/mero.js"></script>
|
|
19
|
+
<script defer src="/mero-insights.js"></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Template
|
|
23
|
+
|
|
24
|
+
````html
|
|
25
|
+
<dl class="mero-insight-metrics"><div class="mero-insight-metric"><dt>Gross sales</dt><dd><strong><data value="17860.5">$17,860.50</data></strong><span>USD · sample week</span></dd></div><div class="mero-insight-metric"><dt>Units packed</dt><dd><strong><data value="1284">1,284</data></strong><span>this month</span></dd></div></dl>
|
|
26
|
+
````
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Page Header
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Layout
|
|
4
|
+
|
|
5
|
+
Open a page with its title, a short description and the page’s main actions.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<script defer src="/mero.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<header class="mero-page-head">
|
|
24
|
+
<div>
|
|
25
|
+
<h1>Environments</h1>
|
|
26
|
+
<p>Every customer environment and the release it runs.</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="mero-page-head-actions">
|
|
29
|
+
<a class="mero-button mero-button-primary" href="/components/form">New environment</a>
|
|
30
|
+
</div>
|
|
31
|
+
</header>
|
|
32
|
+
````
|
|
33
|
+
|
|
34
|
+
## Record
|
|
35
|
+
|
|
36
|
+
Show where a record sits, its current status and what you can do with it.
|
|
37
|
+
|
|
38
|
+
Put Breadcrumbs first; they take the whole first row. Wrap the h1 and its status badge in mero-page-head-title so the badge follows the title and wraps with it. Keep the badge outside the h1 so the heading’s name stays the record’s name. The meta line is the p after the title row.
|
|
39
|
+
|
|
40
|
+
Page assets
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<link rel="stylesheet" href="/mero.css">
|
|
44
|
+
<script defer src="/mero.js"></script>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Template
|
|
48
|
+
|
|
49
|
+
````html
|
|
50
|
+
<header class="mero-page-head">
|
|
51
|
+
<nav class="mero-breadcrumbs" aria-label="Breadcrumb">
|
|
52
|
+
<ol>
|
|
53
|
+
<li><a href="/components">Environments</a></li>
|
|
54
|
+
<li aria-current="page">acme-production</li>
|
|
55
|
+
</ol>
|
|
56
|
+
</nav>
|
|
57
|
+
<div>
|
|
58
|
+
<div class="mero-page-head-title">
|
|
59
|
+
<h1>acme-production</h1>
|
|
60
|
+
<span class="mero-badge mero-badge-success">Live</span>
|
|
61
|
+
</div>
|
|
62
|
+
<p>Acme Corporation · Europe West · Updated 4 minutes ago</p>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="mero-page-head-actions">
|
|
65
|
+
<button class="mero-button mero-button-outline" type="button" data-mero-toast="Suspend requested">Suspend</button>
|
|
66
|
+
<a class="mero-button mero-button-primary" href="/components/typed-confirmation">Deploy release</a>
|
|
67
|
+
</div>
|
|
68
|
+
</header>
|
|
69
|
+
````
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Pagination
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Navigation
|
|
4
|
+
|
|
5
|
+
Navigate between result pages with server-rendered fragments.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The server returns the next result and its updated paginator together.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
18
|
+
<script defer src="/mero.js"></script>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Template
|
|
22
|
+
|
|
23
|
+
````html
|
|
24
|
+
<div class="mero-scope" data-mero-scope>
|
|
25
|
+
<div id="catalog-pagination" data-mero-pagination class="mero-stack">
|
|
26
|
+
<p class="mero-description" role="status">Design references</p>
|
|
27
|
+
<nav class="mero-pagination" aria-label="Results pages">
|
|
28
|
+
<button class="mero-button mero-button-sm mero-button-primary" id="demo-pagination-page-1" type="button"
|
|
29
|
+
hx-get="/demo/catalog/pagination?page=1" hx-target="closest [data-mero-pagination]" hx-swap="innerHTML"
|
|
30
|
+
aria-current="page">1</button>
|
|
31
|
+
<button class="mero-button mero-button-sm mero-button-outline" id="demo-pagination-page-2" type="button"
|
|
32
|
+
hx-get="/demo/catalog/pagination?page=2" hx-target="closest [data-mero-pagination]" hx-swap="innerHTML"
|
|
33
|
+
>2</button>
|
|
34
|
+
<button class="mero-button mero-button-sm mero-button-outline" id="demo-pagination-page-3" type="button"
|
|
35
|
+
hx-get="/demo/catalog/pagination?page=3" hx-target="closest [data-mero-pagination]" hx-swap="innerHTML"
|
|
36
|
+
>3</button>
|
|
37
|
+
</nav>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Phone Mockup
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Mockups
|
|
4
|
+
|
|
5
|
+
Frame a mobile product screen.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Serve studio-lamp.webp for the sample image.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-composition.css">
|
|
18
|
+
<script defer src="/mero.js"></script>
|
|
19
|
+
<script defer src="/mero-composition.js"></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Template
|
|
23
|
+
|
|
24
|
+
````html
|
|
25
|
+
<figure class="mero-device mero-device-phone"><img src="/studio-lamp.webp" width="1120" height="747" alt="Arc Task Lamp in warm ivory" loading="lazy"><figcaption>Arc Task Lamp<br><small>Studio lighting</small></figcaption></figure>
|
|
26
|
+
````
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Pie Chart
|
|
2
|
+
|
|
3
|
+
Mero UI 0.8.0 · Charts
|
|
4
|
+
|
|
5
|
+
See how each collection contributes to total volume.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
Optional server helper: `ui/insight-charts.mjs`.
|
|
10
|
+
|
|
11
|
+
## Default
|
|
12
|
+
|
|
13
|
+
The SVG and data table share one dataset. Tab into the chart once. Arrow left and right inspect categories. Arrow up and down change series. The next Tab reaches the data table. The optional insight-charts.mjs helper renders this HTML on your server.
|
|
14
|
+
|
|
15
|
+
Page assets
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<link rel="stylesheet" href="/mero.css">
|
|
19
|
+
<link rel="stylesheet" href="/mero-insights.css">
|
|
20
|
+
<script defer src="/mero.js"></script>
|
|
21
|
+
<script defer src="/mero-insights.js"></script>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Template
|
|
25
|
+
|
|
26
|
+
````html
|
|
27
|
+
<figure class="mero-plot" data-mero-chart="pie">
|
|
28
|
+
<figcaption><strong>Share of dispatches</strong><span>Studio dispatch · sample week</span></figcaption>
|
|
29
|
+
<ul class="mero-plot-legend" aria-label="Categories"><li><i class="mero-plot-tone-0" aria-hidden="true"></i>Lighting</li><li><i class="mero-plot-tone-1" aria-hidden="true"></i>Furniture</li><li><i class="mero-plot-tone-2" aria-hidden="true"></i>Objects</li><li><i class="mero-plot-tone-3" aria-hidden="true"></i>Textiles</li></ul>
|
|
30
|
+
<svg viewBox="0 0 330 170" role="group" aria-label="Share of dispatches"><desc>Use the arrow keys to explore values. Open the data table for all values.</desc><g class="mero-plot-point mero-plot-tone-0" tabindex="0" role="img" aria-label="Lighting · Shipped: 106" data-mero-series="0" data-mero-plot-value="Lighting · Shipped: 106"><path d="M165,85 L165,12 A73,73 0 0 1 217.19,136.04 Z"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Furniture · Shipped: 83" data-mero-series="0" data-mero-plot-value="Furniture · Shipped: 83"><path d="M165,85 L217.19,136.04 A73,73 0 0 1 102.05,121.97 Z"/></g><g class="mero-plot-point mero-plot-tone-2" tabindex="-1" role="img" aria-label="Objects · Shipped: 58" data-mero-series="0" data-mero-plot-value="Objects · Shipped: 58"><path d="M165,85 L102.05,121.97 A73,73 0 0 1 111.7,35.12 Z"/></g><g class="mero-plot-point mero-plot-tone-3" tabindex="-1" role="img" aria-label="Textiles · Shipped: 37" data-mero-series="0" data-mero-plot-value="Textiles · Shipped: 37"><path d="M165,85 L111.7,35.12 A73,73 0 0 1 165,12 Z"/></g></svg>
|
|
31
|
+
<span class="mero-plot-tooltip" data-mero-plot-tooltip aria-hidden="true" hidden></span>
|
|
32
|
+
<div class="mero-plot-readout" data-mero-plot-readout>Inspect a point or use the arrow keys</div>
|
|
33
|
+
<details class="mero-plot-data"><summary>View chart data</summary><div><table class="mero-table"><caption>Share of dispatches</caption><thead><tr><th scope="col">Category</th><th scope="col">Shipped</th></tr></thead>
|
|
34
|
+
<tbody><tr><th scope="row">Lighting</th><td>106</td></tr><tr><th scope="row">Furniture</th><td>83</td></tr><tr><th scope="row">Objects</th><td>58</td></tr><tr><th scope="row">Textiles</th><td>37</td></tr></tbody></table></div></details>
|
|
35
|
+
</figure>
|
|
36
|
+
````
|