@rubenlangeweg/mero-ui 0.0.0-stage → 0.7.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 +71 -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 +42 -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 +75 -0
- package/agent-docs/components/calendar.md +105 -0
- package/agent-docs/components/card.md +26 -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.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 +34 -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 +24 -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 +38 -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 +35 -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 +22 -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 +38 -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 +78 -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/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 +28 -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 +31 -0
- package/agent-docs/components/tabs.md +65 -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 +26 -0
- package/agent-docs/components/validator.md +26 -0
- package/agent-docs/components/widget.md +24 -0
- package/agent-docs/components/window-mockup.md +24 -0
- package/agent-docs/llms-components.txt +5881 -0
- package/agent-docs/llms-full.txt +6110 -0
- package/agent-docs/llms-patterns.txt +230 -0
- package/agent-docs/llms.txt +261 -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 +146 -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 +223 -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 +73 -0
- package/ui/mero-live.js +120 -0
- package/ui/mero-workspace.css +152 -0
- package/ui/mero-workspace.js +590 -0
- package/ui/mero.css +922 -0
- package/ui/mero.js +868 -0
- package/ui/studio-lamp.webp +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Cell Select
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Change one preference and receive inline confirmation from the server.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The local endpoint validates the value and returns a status fragment. Persist it in your own settings handler.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
18
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
19
|
+
<script defer src="/mero.js"></script>
|
|
20
|
+
<script defer src="/mero-workspace.js"></script>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Template
|
|
24
|
+
|
|
25
|
+
````html
|
|
26
|
+
<form class="mero-ws-cell" hx-post="/demo/workspace/cell/select" hx-trigger="change" hx-target="find output" hx-sync="this:replace">
|
|
27
|
+
<label class="mero-ws-cell-row"><span><strong>Start of week</strong><small>The first day in your planning calendar.</small></span>
|
|
28
|
+
<select class="mero-select" name="value" aria-label="Start of week"><option>Monday</option><option>Sunday</option><option>Saturday</option></select>
|
|
29
|
+
</label>
|
|
30
|
+
<output role="status" class="mero-ws-status"></output>
|
|
31
|
+
</form>
|
|
32
|
+
````
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Cell Slider
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Change one preference and receive inline confirmation from the server.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The local endpoint validates the value and returns a status fragment. Persist it in your own settings handler.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
18
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
19
|
+
<script defer src="/mero.js"></script>
|
|
20
|
+
<script defer src="/mero-workspace.js"></script>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Template
|
|
24
|
+
|
|
25
|
+
````html
|
|
26
|
+
<form class="mero-ws-cell" hx-post="/demo/workspace/cell/slider" hx-trigger="change" hx-target="find output" hx-sync="this:replace">
|
|
27
|
+
<label class="mero-ws-cell-row"><span><strong>Preview size</strong><small>Scale the thumbnails in your library.</small></span>
|
|
28
|
+
<input class="mero-slider" type="range" name="value" min="60" max="120" step="5" value="80" aria-label="Preview size">
|
|
29
|
+
</label>
|
|
30
|
+
<output role="status" class="mero-ws-status"></output>
|
|
31
|
+
</form>
|
|
32
|
+
````
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Cell Switch
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Change one preference and receive inline confirmation from the server.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The local endpoint validates the value and returns a status fragment. Persist it in your own settings handler.
|
|
12
|
+
|
|
13
|
+
Page assets
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link rel="stylesheet" href="/mero.css">
|
|
17
|
+
<link rel="stylesheet" href="/mero-workspace.css">
|
|
18
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
19
|
+
<script defer src="/mero.js"></script>
|
|
20
|
+
<script defer src="/mero-workspace.js"></script>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Template
|
|
24
|
+
|
|
25
|
+
````html
|
|
26
|
+
<form class="mero-ws-cell" hx-post="/demo/workspace/cell/switch" hx-trigger="change" hx-target="find output" hx-sync="this:replace">
|
|
27
|
+
<label class="mero-ws-cell-row"><span><strong>Release notifications</strong><small>Receive an update when a release is ready.</small></span>
|
|
28
|
+
<input class="mero-switch" type="checkbox" role="switch" name="value" value="on" aria-label="Release notifications" checked>
|
|
29
|
+
</label>
|
|
30
|
+
<output role="status" class="mero-ws-status"></output>
|
|
31
|
+
</form>
|
|
32
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Chain Of Thought
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Display a disclosure of observable execution steps for a report.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Populate this component with public tool activity from your application.
|
|
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
|
+
<details class="mero-chat-disclosure" open><summary>Report activity <span>Complete</span></summary><ol class="mero-chat-steps"><li>Read the weekly ledger <small>7 daily entries</small></li><li>Group shipments by collection <small>4 collections</small></li><li>Calculate weekly total <small>284 units</small></li></ol></details>
|
|
26
|
+
````
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Chart Tooltip
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Charts
|
|
4
|
+
|
|
5
|
+
Inspect the active data point using a pointer or keyboard.
|
|
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="line">
|
|
28
|
+
<figcaption><strong>Dispatch detail</strong><span>Studio dispatch · sample week</span></figcaption>
|
|
29
|
+
<ul class="mero-plot-legend" aria-label="Series"><li><i class="mero-plot-tone-0" aria-hidden="true"></i>Shipped</li><li><i class="mero-plot-tone-1" aria-hidden="true"></i>Planned</li></ul>
|
|
30
|
+
<svg viewBox="0 0 495 188" role="group" aria-label="Dispatch detail"><desc>Use the arrow keys to explore values. Open the data table for all values.</desc><line class="mero-plot-grid" x1="42" x2="480" y1="155" y2="155"/><text class="mero-plot-axis" x="35" y="159" text-anchor="end">0</text><line class="mero-plot-grid" x1="42" x2="480" y1="85.5" y2="85.5"/><text class="mero-plot-axis" x="35" y="89.5" text-anchor="end">28</text><line class="mero-plot-grid" x1="42" x2="480" y1="16" y2="16"/><text class="mero-plot-axis" x="35" y="20" text-anchor="end">56</text><text class="mero-plot-axis" x="73.29" y="179" text-anchor="middle">Mon</text><text class="mero-plot-axis" x="135.86" y="179" text-anchor="middle">Tue</text><text class="mero-plot-axis" x="198.43" y="179" text-anchor="middle">Wed</text><text class="mero-plot-axis" x="261" y="179" text-anchor="middle">Thu</text><text class="mero-plot-axis" x="323.57" y="179" text-anchor="middle">Fri</text><text class="mero-plot-axis" x="386.14" y="179" text-anchor="middle">Sat</text><text class="mero-plot-axis" x="448.71" y="179" text-anchor="middle">Sun</text><polyline class="mero-plot-line mero-plot-tone-0" points="73.29,75.57 135.86,58.2 198.43,73.09 261,40.82 323.57,16 386.14,60.68 448.71,55.71"/><polyline class="mero-plot-line mero-plot-tone-1" points="73.29,68.13 135.86,53.23 198.43,75.57 261,35.86 323.57,25.93 386.14,65.64 448.71,50.75"/><g class="mero-plot-point mero-plot-tone-0" tabindex="0" role="img" aria-label="Mon · Shipped: 32" data-mero-series="0" data-mero-plot-value="Mon · Shipped: 32"><circle cx="73.29" cy="75.57" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="73.29" cy="75.57" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Tue · Shipped: 39" data-mero-series="0" data-mero-plot-value="Tue · Shipped: 39"><circle cx="135.86" cy="58.2" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="135.86" cy="58.2" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Wed · Shipped: 33" data-mero-series="0" data-mero-plot-value="Wed · Shipped: 33"><circle cx="198.43" cy="73.09" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="198.43" cy="73.09" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Thu · Shipped: 46" data-mero-series="0" data-mero-plot-value="Thu · Shipped: 46"><circle cx="261" cy="40.82" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="261" cy="40.82" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Fri · Shipped: 56" data-mero-series="0" data-mero-plot-value="Fri · Shipped: 56"><circle cx="323.57" cy="16" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="323.57" cy="16" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Sat · Shipped: 38" data-mero-series="0" data-mero-plot-value="Sat · Shipped: 38"><circle cx="386.14" cy="60.68" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="386.14" cy="60.68" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-0" tabindex="-1" role="img" aria-label="Sun · Shipped: 40" data-mero-series="0" data-mero-plot-value="Sun · Shipped: 40"><circle cx="448.71" cy="55.71" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="448.71" cy="55.71" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Mon · Planned: 35" data-mero-series="1" data-mero-plot-value="Mon · Planned: 35"><circle cx="73.29" cy="68.13" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="73.29" cy="68.13" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Tue · Planned: 41" data-mero-series="1" data-mero-plot-value="Tue · Planned: 41"><circle cx="135.86" cy="53.23" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="135.86" cy="53.23" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Wed · Planned: 32" data-mero-series="1" data-mero-plot-value="Wed · Planned: 32"><circle cx="198.43" cy="75.57" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="198.43" cy="75.57" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Thu · Planned: 48" data-mero-series="1" data-mero-plot-value="Thu · Planned: 48"><circle cx="261" cy="35.86" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="261" cy="35.86" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Fri · Planned: 52" data-mero-series="1" data-mero-plot-value="Fri · Planned: 52"><circle cx="323.57" cy="25.93" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="323.57" cy="25.93" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Sat · Planned: 36" data-mero-series="1" data-mero-plot-value="Sat · Planned: 36"><circle cx="386.14" cy="65.64" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="386.14" cy="65.64" r="3.8"/></g><g class="mero-plot-point mero-plot-tone-1" tabindex="-1" role="img" aria-label="Sun · Planned: 42" data-mero-series="1" data-mero-plot-value="Sun · Planned: 42"><circle cx="448.71" cy="50.75" r="9" fill="transparent"/><circle class="mero-plot-dot" cx="448.71" cy="50.75" r="3.8"/></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>Dispatch detail</caption><thead><tr><th scope="col">Category</th><th scope="col">Shipped</th><th scope="col">Planned</th></tr></thead>
|
|
34
|
+
<tbody><tr><th scope="row">Mon</th><td>32</td><td>35</td></tr><tr><th scope="row">Tue</th><td>39</td><td>41</td></tr><tr><th scope="row">Wed</th><td>33</td><td>32</td></tr><tr><th scope="row">Thu</th><td>46</td><td>48</td></tr><tr><th scope="row">Fri</th><td>56</td><td>52</td></tr><tr><th scope="row">Sat</th><td>38</td><td>36</td></tr><tr><th scope="row">Sun</th><td>40</td><td>42</td></tr></tbody></table></div></details>
|
|
35
|
+
</figure>
|
|
36
|
+
````
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Chat Attachment
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Display a named file and provide a working download.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
The example serves an actual CSV from the local demo endpoint.
|
|
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
|
+
<a class="mero-chat-file" href="/demo/insights/dispatch.csv" download="dispatch.csv"><span aria-hidden="true">↧</span><span><strong>dispatch.csv</strong><small>Weekly shipment ledger · CSV</small></span></a>
|
|
26
|
+
````
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Chat Conversation
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Keep messages, controls and a composer in one scoped conversation.
|
|
6
|
+
|
|
7
|
+
[Integration patterns and API reference](../llms-patterns.txt)
|
|
8
|
+
|
|
9
|
+
## Default
|
|
10
|
+
|
|
11
|
+
Replies come from a deterministic local shipment fixture. The endpoint returns two message articles.
|
|
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="/vendor/htmx.min.js"></script>
|
|
19
|
+
<script defer src="/mero.js"></script>
|
|
20
|
+
<script defer src="/mero-insights.js"></script>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Template
|
|
24
|
+
|
|
25
|
+
````html
|
|
26
|
+
<section class="mero-chat" aria-label="Dispatch assistant demo">
|
|
27
|
+
<header class="mero-chat-head"><strong>Dispatch assistant</strong><span>Local demo</span></header>
|
|
28
|
+
<div class="mero-chat-history" role="log" aria-label="Conversation" aria-relevant="additions"><article class="mero-chat-message" data-role="user"><header>You</header><div data-mero-message-text><p>Summarize this week.</p></div></article><article class="mero-chat-message" data-role="assistant"><header>Studio</header><div data-mero-message-text><div class="mero-markdown"><p>Studio shipped <strong>284 units</strong> this week against a plan of 286. Fri was the busiest day with 56 units.</p></div></div><div class="mero-chat-actions" role="group" aria-label="Message actions"><button class="mero-insight-link" type="button" data-mero-copy>Copy message</button><button class="mero-insight-link" type="button" data-mero-pressable aria-pressed="false">Helpful</button></div></article></div>
|
|
29
|
+
<form class="mero-chat-compose" data-mero-compose method="post" action="/demo/insights/reply" hx-post="/demo/insights/reply" hx-target="previous .mero-chat-history" hx-swap="beforeend" hx-sync="this:drop">
|
|
30
|
+
<div class="mero-chat-actions" role="group" aria-label="Suggested questions"><button class="mero-suggestion" type="button" data-mero-suggest>Summarize this week</button><button class="mero-suggestion" type="button" data-mero-suggest>Which day shipped most?</button><button class="mero-suggestion" type="button" data-mero-suggest>Show the collection mix</button></div><label><span class="mero-insight-sr">Your question</span><textarea class="mero-input" name="message" placeholder="Ask about this week’s dispatches…" rows="2" required maxlength="1000"></textarea></label>
|
|
31
|
+
<div class="mero-chat-compose-foot"><span data-mero-chat-status role="status"></span><button type="submit" class="mero-button mero-button-primary mero-button-sm">Send <span aria-hidden="true">↑</span></button></div>
|
|
32
|
+
</form>
|
|
33
|
+
</section>
|
|
34
|
+
````
|
|
35
|
+
|
|
36
|
+
## Empty conversation
|
|
37
|
+
|
|
38
|
+
Replies come from a deterministic local shipment fixture. The endpoint returns two message articles.
|
|
39
|
+
|
|
40
|
+
Page assets
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<link rel="stylesheet" href="/mero.css">
|
|
44
|
+
<link rel="stylesheet" href="/mero-insights.css">
|
|
45
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
46
|
+
<script defer src="/mero.js"></script>
|
|
47
|
+
<script defer src="/mero-insights.js"></script>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Template
|
|
51
|
+
|
|
52
|
+
````html
|
|
53
|
+
<section class="mero-chat" aria-label="Dispatch assistant demo">
|
|
54
|
+
<header class="mero-chat-head"><strong>Dispatch assistant</strong><span>Local demo</span></header>
|
|
55
|
+
<div class="mero-chat-history" role="log" aria-label="Conversation" aria-relevant="additions"></div>
|
|
56
|
+
<form class="mero-chat-compose" data-mero-compose method="post" action="/demo/insights/reply" hx-post="/demo/insights/reply" hx-target="previous .mero-chat-history" hx-swap="beforeend" hx-sync="this:drop">
|
|
57
|
+
<div class="mero-chat-actions" role="group" aria-label="Suggested questions"><button class="mero-suggestion" type="button" data-mero-suggest>Summarize this week</button><button class="mero-suggestion" type="button" data-mero-suggest>Which day shipped most?</button><button class="mero-suggestion" type="button" data-mero-suggest>Show the collection mix</button></div><label><span class="mero-insight-sr">Your question</span><textarea class="mero-input" name="message" placeholder="Ask about this week’s dispatches…" rows="2" required maxlength="1000"></textarea></label>
|
|
58
|
+
<div class="mero-chat-compose-foot"><span data-mero-chat-status role="status"></span><button type="submit" class="mero-button mero-button-primary mero-button-sm">Send <span aria-hidden="true">↑</span></button></div>
|
|
59
|
+
</form>
|
|
60
|
+
</section>
|
|
61
|
+
````
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Chat List View
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Open a conversation returned by the server.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/vendor/htmx.min.js"></script>
|
|
17
|
+
<script defer src="/mero.js"></script>
|
|
18
|
+
<script defer src="/mero-insights.js"></script>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Template
|
|
22
|
+
|
|
23
|
+
````html
|
|
24
|
+
<div class="mero-chat-inbox"><nav aria-label="Dispatch conversations"><a href="/demo/insights/thread?topic=weekly" data-mero-topic="weekly" aria-current="true" hx-get="/demo/insights/thread?topic=weekly" hx-target="next .mero-chat-thread" hx-swap="innerHTML" hx-sync="closest nav:replace">Weekly dispatches</a><a href="/demo/insights/thread?topic=peak" data-mero-topic="peak" hx-get="/demo/insights/thread?topic=peak" hx-target="next .mero-chat-thread" hx-swap="innerHTML" hx-sync="closest nav:replace">Peak capacity</a><a href="/demo/insights/thread?topic=mix" data-mero-topic="mix" hx-get="/demo/insights/thread?topic=mix" hx-target="next .mero-chat-thread" hx-swap="innerHTML" hx-sync="closest nav:replace">Collection mix</a></nav><section class="mero-chat-thread" aria-label="Selected conversation" aria-live="polite"><div data-mero-current-topic="weekly"><h2>Weekly dispatches</h2><article class="mero-chat-message" data-role="assistant"><header>Studio</header><div data-mero-message-text><div class="mero-markdown"><p>Studio shipped <strong>284 units</strong> this week against a plan of 286. Fri was the busiest day with 56 units.</p></div></div></article></div></section><div class="mero-insight-status" data-mero-report-status role="status"></div></div>
|
|
25
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Chat Loader
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Show a concise status while a response is being prepared.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<div class="mero-chat-loader" role="status"><span aria-hidden="true"><i></i><i></i><i></i></span> Preparing report</div>
|
|
24
|
+
````
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Chat Message Actions
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Copy a reply or mark it as helpful.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<article class="mero-chat-message" data-role="assistant"><header>Studio</header><div data-mero-message-text><div class="mero-markdown"><p>Weekly dispatches by collection:</p>
|
|
24
|
+
<ul><li><strong>Lighting</strong> · 106 units</li><li><strong>Furniture</strong> · 83 units</li><li><strong>Objects</strong> · 58 units</li><li><strong>Textiles</strong> · 37 units</li></ul></div></div><div class="mero-chat-actions" role="group" aria-label="Message actions"><button class="mero-insight-link" type="button" data-mero-copy>Copy message</button><button class="mero-insight-link" type="button" data-mero-pressable aria-pressed="false">Helpful</button></div></article>
|
|
25
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Chat Message
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Distinguish the sender and keep the message readable after a swap.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<div class="mero-chat-history"><article class="mero-chat-message" data-role="user"><header>You</header><div data-mero-message-text><p>Which day shipped most?</p></div></article><article class="mero-chat-message" data-role="assistant"><header>Studio</header><div data-mero-message-text><div class="mero-markdown"><p>The busiest day was <strong>Fri</strong>, with <strong>56 units</strong> dispatched against a plan of 52.</p></div></div></article></div>
|
|
24
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Chat Source
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Open the exact data behind a generated summary.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<details class="mero-chat-disclosure"><summary>Shipment ledger <span>7 entries</span></summary><table class="mero-table"><thead><tr><th scope="col">Day</th><th scope="col">Shipped</th><th scope="col">Planned</th></tr></thead><tbody><tr><th scope="row">Mon</th><td>32</td><td>35</td></tr><tr><th scope="row">Tue</th><td>39</td><td>41</td></tr><tr><th scope="row">Wed</th><td>33</td><td>32</td></tr><tr><th scope="row">Thu</th><td>46</td><td>48</td></tr><tr><th scope="row">Fri</th><td>56</td><td>52</td></tr><tr><th scope="row">Sat</th><td>38</td><td>36</td></tr><tr><th scope="row">Sun</th><td>40</td><td>42</td></tr></tbody></table></details>
|
|
24
|
+
````
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Chat Tool
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Disclose the inputs and output of an application action.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<details class="mero-chat-disclosure"><summary>Calculate dispatch totals <span>Completed</span></summary><dl class="mero-tool-result"><dt>Input</dt><dd>7 daily shipment totals</dd><dt>Result</dt><dd>284 units shipped</dd></dl></details>
|
|
24
|
+
````
|
|
25
|
+
|
|
26
|
+
## Failed run
|
|
27
|
+
|
|
28
|
+
Page assets
|
|
29
|
+
|
|
30
|
+
```html
|
|
31
|
+
<link rel="stylesheet" href="/mero.css">
|
|
32
|
+
<link rel="stylesheet" href="/mero-insights.css">
|
|
33
|
+
<script defer src="/mero.js"></script>
|
|
34
|
+
<script defer src="/mero-insights.js"></script>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Template
|
|
38
|
+
|
|
39
|
+
````html
|
|
40
|
+
<details class="mero-chat-disclosure" open><summary>Calculate dispatch totals <span>Failed</span></summary><p role="status">The ledger could not be read. Check that the selected report still exists.</p></details>
|
|
41
|
+
````
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Checkbox Button Group
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Workspace forms
|
|
4
|
+
|
|
5
|
+
Select several release channels using native checkboxes.
|
|
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
|
+
<form class="mero-ws-cardform"><fieldset class="mero-ws-choices">
|
|
24
|
+
<legend>Release channels</legend>
|
|
25
|
+
<label class="mero-ws-choice"><input class="mero-checkbox" type="checkbox" name="channels" value="email" checked><span><strong>Email</strong><small>Send the launch email</small></span></label>
|
|
26
|
+
<label class="mero-ws-choice"><input class="mero-checkbox" type="checkbox" name="channels" value="web"><span><strong>Storefront</strong><small>Publish on the storefront</small></span></label>
|
|
27
|
+
<label class="mero-ws-choice"><input class="mero-checkbox" type="checkbox" name="channels" value="mobile"><span><strong>Mobile</strong><small>Notify app subscribers</small></span></label>
|
|
28
|
+
</fieldset></form>
|
|
29
|
+
````
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Checkbox Group
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Forms
|
|
4
|
+
|
|
5
|
+
Group related independent choices with a fieldset and legend.
|
|
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
|
+
<fieldset class="mero-fieldset">
|
|
22
|
+
<legend class="mero-label">Notifications</legend>
|
|
23
|
+
<div class="mero-checkbox-group">
|
|
24
|
+
<label><input class="mero-checkbox" type="checkbox" name="notify" value="build" checked> Build status</label>
|
|
25
|
+
<label><input class="mero-checkbox" type="checkbox" name="notify" value="review"> Review requests</label>
|
|
26
|
+
<label><input class="mero-checkbox" type="checkbox" name="notify" value="access"> Access changes</label>
|
|
27
|
+
</div>
|
|
28
|
+
</fieldset>
|
|
29
|
+
````
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Checkbox
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Forms
|
|
4
|
+
|
|
5
|
+
Include an independent binary choice in a form.
|
|
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
|
+
<label class="mero-row">
|
|
22
|
+
<input class="mero-checkbox" type="checkbox" name="newsletter" value="yes" checked>
|
|
23
|
+
Send release notes
|
|
24
|
+
</label>
|
|
25
|
+
````
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Chip
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Data display
|
|
4
|
+
|
|
5
|
+
Display a lightweight label for an attribute or filter value.
|
|
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
|
+
<span class="mero-chip">Europe West</span>
|
|
22
|
+
````
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Close Button
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Buttons
|
|
4
|
+
|
|
5
|
+
Give a dialog an icon-only close action with an accessible name.
|
|
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-close">Open dialog</button>
|
|
23
|
+
<dialog class="mero-dialog" id="demo-close" aria-labelledby="demo-close-title">
|
|
24
|
+
<div class="mero-dialog-body">
|
|
25
|
+
<div class="mero-dialog-header">
|
|
26
|
+
<h2 class="mero-dialog-title" id="demo-close-title">Release details</h2>
|
|
27
|
+
<button class="mero-button mero-close-button" type="button" aria-label="Close release details" data-mero-close><span class="mero-dismiss-mark" aria-hidden="true"></span></button>
|
|
28
|
+
</div>
|
|
29
|
+
<p class="mero-description">The preview has been updated to the latest build.</p>
|
|
30
|
+
</div>
|
|
31
|
+
</dialog>
|
|
32
|
+
</div>
|
|
33
|
+
````
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Code Block
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Conversation
|
|
4
|
+
|
|
5
|
+
Show a file caption, selectable code and a copy control.
|
|
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-insights.css">
|
|
16
|
+
<script defer src="/mero.js"></script>
|
|
17
|
+
<script defer src="/mero-insights.js"></script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Template
|
|
21
|
+
|
|
22
|
+
````html
|
|
23
|
+
<figure class="mero-code-block"><figcaption><span>dispatch.html</span><button type="button" class="mero-insight-link" data-mero-copy>Copy code</button></figcaption><pre tabindex="0"><code><output aria-live="polite">284 units shipped</output></code></pre></figure>
|
|
24
|
+
````
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Code Mockup
|
|
2
|
+
|
|
3
|
+
Mero UI 0.7.0 · Mockups
|
|
4
|
+
|
|
5
|
+
Present a terminal command and its output.
|
|
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
|
+
<figure class="mero-device mero-device-terminal"><figcaption>Terminal</figcaption><pre><code>$ npm start
|
|
24
|
+
Mero UI is running locally.</code></pre></figure>
|
|
25
|
+
````
|