@motifx-community/ui 0.1.0-beta.16 → 0.1.0-beta.17
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 +32 -0
- package/dist/components/diagram/Diagram.d.ts +92 -0
- package/dist/components/diagram/DiagramEdgeView.d.ts +14 -4
- package/dist/components/diagram/DiagramLinks.d.ts +2 -0
- package/dist/components/diagram/DiagramNodeView.d.ts +19 -1
- package/dist/components/diagram/diagram-change.d.ts +3 -2
- package/dist/components/diagram/diagram-edge-click-event-args.d.ts +21 -0
- package/dist/components/diagram/diagram-edge-pointer-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-edge.d.ts +8 -0
- package/dist/components/diagram/diagram-links-host.d.ts +3 -0
- package/dist/components/diagram/diagram-node-click-event-args.d.ts +23 -0
- package/dist/components/diagram/diagram-node-context.d.ts +5 -0
- package/dist/components/diagram/diagram-node-host.d.ts +4 -0
- package/dist/components/diagram/diagram-node-pointer-event-args.d.ts +6 -0
- package/dist/components/diagram/diagram-props.d.ts +45 -0
- package/dist/components/diagram/diagram-text-changed-event-args.d.ts +7 -0
- package/dist/components/diagram/diagram-text-changing-event-args.d.ts +14 -0
- package/dist/components/diagram/diagram-text-editing-event-args.d.ts +11 -0
- package/dist/components/diagram/index.d.ts +7 -0
- package/dist/core/ui-strings.d.ts +5 -0
- package/dist/index.js +2096 -1557
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/tr.json +3 -0
- package/dist/styles.css +54 -0
- package/dist/{tr-4GNbFdQh.js → tr-CMuuXBUb.js} +8 -2
- package/dist/{tr-4GNbFdQh.js.map → tr-CMuuXBUb.js.map} +1 -1
- package/docs/accordion.md +1 -1
- package/docs/actionsheet.md +1 -1
- package/docs/appbar.md +1 -1
- package/docs/appmenu-api.md +1 -1
- package/docs/appmenu-programmatic.md +1 -1
- package/docs/appmenu-search.md +1 -1
- package/docs/appmenu.md +1 -1
- package/docs/avatar.md +1 -1
- package/docs/badge.md +1 -1
- package/docs/bar-gauge-angles.md +1 -1
- package/docs/bar-gauge-data.md +1 -1
- package/docs/bar-gauge-labels.md +1 -1
- package/docs/bar-gauge.md +1 -1
- package/docs/barcode.md +1 -1
- package/docs/bottomnavigation.md +1 -1
- package/docs/bottomsheet.md +1 -1
- package/docs/breadcrumb.md +1 -1
- package/docs/button.md +1 -1
- package/docs/buttongroup.md +1 -1
- package/docs/buttons.md +1 -1
- package/docs/calendar.md +1 -1
- package/docs/card.md +1 -1
- package/docs/chart-bars.md +1 -1
- package/docs/chart-candles.md +1 -1
- package/docs/chart-funnel.md +1 -1
- package/docs/chart-heatmap.md +1 -1
- package/docs/chart-lines.md +1 -1
- package/docs/chart-live.md +1 -1
- package/docs/chart-pie.md +1 -1
- package/docs/chart-radar.md +1 -1
- package/docs/chart-ranges.md +1 -1
- package/docs/chart-references.md +1 -1
- package/docs/chart-scatter.md +1 -1
- package/docs/chart-waterfall.md +1 -1
- package/docs/chart-zoom.md +1 -1
- package/docs/chart.md +1 -1
- package/docs/chat.md +1 -1
- package/docs/checkbox.md +1 -1
- package/docs/chip.md +1 -1
- package/docs/choice.md +1 -1
- package/docs/colorbox.md +1 -1
- package/docs/combobox.md +1 -1
- package/docs/commands.md +1 -1
- package/docs/control.md +1 -1
- package/docs/data.md +1 -1
- package/docs/datagrid-api.md +1 -1
- package/docs/datagrid-bands.md +1 -1
- package/docs/datagrid-drag-select.md +1 -1
- package/docs/datagrid-drag.md +1 -1
- package/docs/datagrid-editing.md +1 -1
- package/docs/datagrid-filtering.md +1 -1
- package/docs/datagrid-forms.md +1 -1
- package/docs/datagrid-grouping.md +1 -1
- package/docs/datagrid-layout.md +1 -1
- package/docs/datagrid-lookups.md +1 -1
- package/docs/datagrid-master-detail.md +1 -1
- package/docs/datagrid-scrolling.md +1 -1
- package/docs/datagrid-selection.md +1 -1
- package/docs/datagrid.md +1 -1
- package/docs/datebox.md +1 -1
- package/docs/daterangebox.md +1 -1
- package/docs/diagram-api.md +19 -4
- package/docs/diagram-commands.md +2 -1
- package/docs/diagram-connections.md +8 -6
- package/docs/diagram-custom-nodes.md +1 -1
- package/docs/diagram-designer.md +1 -1
- package/docs/diagram-editing.md +132 -5
- package/docs/diagram-flow.md +21 -4
- package/docs/diagram-keyboard.md +5 -1
- package/docs/diagram-layout.md +1 -1
- package/docs/diagram-nodes.md +1 -1
- package/docs/diagram-tables.md +1 -1
- package/docs/diagram.md +11 -8
- package/docs/display.md +1 -1
- package/docs/draggable.md +1 -1
- package/docs/drawer.md +1 -1
- package/docs/dropdown.md +1 -1
- package/docs/editors.md +1 -1
- package/docs/expressioneditor.md +1 -1
- package/docs/expressions.md +1 -1
- package/docs/feedback.md +1 -1
- package/docs/fileuploader.md +1 -1
- package/docs/filterbuilder.md +1 -1
- package/docs/formlayout-schema.md +1 -1
- package/docs/formlayout.md +1 -1
- package/docs/foundations.md +1 -1
- package/docs/gallery.md +1 -1
- package/docs/gauge-base.md +1 -1
- package/docs/gauge-circular.md +1 -1
- package/docs/gauge-dashboards.md +1 -1
- package/docs/gauge-linear.md +1 -1
- package/docs/gauge-markers.md +1 -1
- package/docs/gauge-marks.md +1 -1
- package/docs/gauge-ranges.md +1 -1
- package/docs/gauge-scales.md +1 -1
- package/docs/gauge.md +1 -1
- package/docs/home.md +1 -1
- package/docs/keyboard.md +1 -1
- package/docs/language.md +1 -1
- package/docs/layout.md +1 -1
- package/docs/listbox.md +1 -1
- package/docs/loadpanel.md +1 -1
- package/docs/lookup.md +1 -1
- package/docs/markdown.md +1 -1
- package/docs/menus-api.md +1 -1
- package/docs/menus-context.md +1 -1
- package/docs/menus-customization.md +1 -1
- package/docs/menus-merging.md +1 -1
- package/docs/menus-programmatic.md +1 -1
- package/docs/menus.md +1 -1
- package/docs/multiview.md +1 -1
- package/docs/navigation.md +1 -1
- package/docs/numberbox.md +1 -1
- package/docs/otpinput.md +1 -1
- package/docs/pagination.md +1 -1
- package/docs/pivotgrid-api.md +1 -1
- package/docs/pivotgrid-chart.md +1 -1
- package/docs/pivotgrid-drilldown.md +1 -1
- package/docs/pivotgrid-export.md +1 -1
- package/docs/pivotgrid-fields.md +1 -1
- package/docs/pivotgrid-keyboard.md +1 -1
- package/docs/pivotgrid-layout.md +1 -1
- package/docs/pivotgrid-panel.md +1 -1
- package/docs/pivotgrid-remote.md +1 -1
- package/docs/pivotgrid-sorting.md +1 -1
- package/docs/pivotgrid-state.md +1 -1
- package/docs/pivotgrid-summaries.md +1 -1
- package/docs/pivotgrid.md +1 -1
- package/docs/popover.md +1 -1
- package/docs/progress.md +1 -1
- package/docs/qrcode.md +1 -1
- package/docs/radiogroup.md +1 -1
- package/docs/rating.md +1 -1
- package/docs/resizable.md +1 -1
- package/docs/ribbonmenu-api.md +1 -1
- package/docs/ribbonmenu-commands.md +1 -1
- package/docs/ribbonmenu-customization.md +1 -1
- package/docs/ribbonmenu-display.md +1 -1
- package/docs/ribbonmenu-layouts.md +1 -1
- package/docs/ribbonmenu-programmatic.md +1 -1
- package/docs/ribbonmenu.md +1 -1
- package/docs/scheduler-agenda.md +1 -1
- package/docs/scheduler-big-data.md +1 -1
- package/docs/scheduler-editing.md +1 -1
- package/docs/scheduler-form.md +1 -1
- package/docs/scheduler-icalendar.md +1 -1
- package/docs/scheduler-mobile.md +1 -1
- package/docs/scheduler-recurrence.md +1 -1
- package/docs/scheduler-resources.md +1 -1
- package/docs/scheduler-timeline.md +1 -1
- package/docs/scheduler.md +1 -1
- package/docs/scrollview.md +1 -1
- package/docs/shortcuteditor.md +1 -1
- package/docs/showcase-flowstudio.md +1 -1
- package/docs/showcase-home.md +1 -1
- package/docs/showcase-mail.md +1 -1
- package/docs/showcase.md +1 -1
- package/docs/signature.md +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/slider.md +1 -1
- package/docs/sortable.md +1 -1
- package/docs/sparkline.md +1 -1
- package/docs/speeddial.md +1 -1
- package/docs/splitter.md +1 -1
- package/docs/stepper.md +1 -1
- package/docs/switch.md +1 -1
- package/docs/tabdocs-dock.md +1 -1
- package/docs/tabdocs-drag.md +1 -1
- package/docs/tabdocs-menus.md +1 -1
- package/docs/tabdocs-mobile.md +1 -1
- package/docs/tabdocs-tabs.md +1 -1
- package/docs/tabdocs-windows.md +1 -1
- package/docs/tabdocs-workspace.md +1 -1
- package/docs/tabdocs.md +1 -1
- package/docs/tabs.md +1 -1
- package/docs/tagbox.md +1 -1
- package/docs/textarea.md +1 -1
- package/docs/textbox.md +1 -1
- package/docs/tileview.md +1 -1
- package/docs/timeline.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +1 -1
- package/docs/toolbar-api.md +1 -1
- package/docs/toolbar-customization.md +1 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.md +1 -1
- package/docs/treeview.md +1 -1
- package/docs/validationsummary.md +1 -1
- package/docs/window.md +1 -1
- package/docs/wizard.md +1 -1
- package/llms-full.txt +382 -213
- package/llms.txt +1 -1
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @motifx-community/ui
|
|
2
2
|
|
|
3
|
-
> UI components for MotifJS (@motifx/core) on the MotifJS design system. Version 0.1.0-beta.
|
|
3
|
+
> UI components for MotifJS (@motifx/core) on the MotifJS design system. Version 0.1.0-beta.17: a preview, its API may still change before 1.0.
|
|
4
4
|
|
|
5
5
|
Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with `new`, whose every prop takes a value or a function (`Bind<T>`); `x-model` binds a value two-way. The look is the design system’s (`@motifx-community/design-system`): five design languages (`data-design-language`), light and dark themes, density.
|
|
6
6
|
|
|
@@ -392,7 +392,7 @@ tokens, with examples.
|
|
|
392
392
|
|
|
393
393
|
# @motifx-community/ui
|
|
394
394
|
|
|
395
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
395
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
396
396
|
|
|
397
397
|
Components for MotifJS: objects you create when you need them, show anywhere and dispose when you are done, drawn from the MotifJS design system's tokens.
|
|
398
398
|
|
|
@@ -462,7 +462,7 @@ Loading issues…
|
|
|
462
462
|
|
|
463
463
|
# Showcase: an order screen
|
|
464
464
|
|
|
465
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
465
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
466
466
|
|
|
467
467
|
An order entry screen built with the kit, structured the way a MotifJS application is normally built: state and operations live in a model (`OrderModel`), and the page binds to it. The customer list is a data source of 5,000 rows that responds like a server.
|
|
468
468
|
|
|
@@ -475,7 +475,7 @@ Loading issues…
|
|
|
475
475
|
|
|
476
476
|
# Showcase: a smart home
|
|
477
477
|
|
|
478
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
478
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
479
479
|
|
|
480
480
|
A smart home panel for a tablet, built with the kit as a MotifJS application of its own: a rail of screens, the day and the home's state at the top, and tiles you can touch. The devices report new values every two seconds.
|
|
481
481
|
|
|
@@ -510,7 +510,7 @@ Loading issues…
|
|
|
510
510
|
|
|
511
511
|
# Showcase: a mail application
|
|
512
512
|
|
|
513
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
513
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
514
514
|
|
|
515
515
|
A mail, calendar, people and tasks application built with the kit as a standalone MotifJS application. The ribbon shows the commands of the active area, the panes are resizable, and messages, events, contacts and tasks can be edited. All data is sample data.
|
|
516
516
|
|
|
@@ -553,7 +553,7 @@ Loading issues…
|
|
|
553
553
|
|
|
554
554
|
# Showcase: FlowStudio
|
|
555
555
|
|
|
556
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
556
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
557
557
|
|
|
558
558
|
A studio for workflows, database tables and automations, built with the kit as a standalone MotifJS application: a ribbon whose commands work on the active document, documents with panels docked around them, a solution tree and diagrams. Workflows are checked and run, table diagrams give their SQL, and automations run in the page and give the definition a server runs. What is opened, changed and saved stays in the browser; every workflow, table and automation is made up.
|
|
559
559
|
|
|
@@ -618,7 +618,7 @@ Loading issues…
|
|
|
618
618
|
|
|
619
619
|
# Design tokens
|
|
620
620
|
|
|
621
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
621
|
+
> Get started · @motifx-community/ui 0.1.0-beta.17
|
|
622
622
|
|
|
623
623
|
The token system has five layers. The first four (primitives, design language scales, semantic tokens per theme, and density) come from `@motifx-community/design-system` and are listed here for reference. The fifth layer, component tokens, belongs to this kit: each component has its own tokens, written in `@layer mx.components`, and each one references a design system token. Every design language provides its own value for each component token.
|
|
624
624
|
|
|
@@ -6827,7 +6827,7 @@ Loading issues…
|
|
|
6827
6827
|
|
|
6828
6828
|
# Foundations
|
|
6829
6829
|
|
|
6830
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
6830
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.17
|
|
6831
6831
|
|
|
6832
6832
|
The foundations are what every control of the kit shares: the Control base with its properties, keyboard and focus, and the language of the texts and formats.
|
|
6833
6833
|
|
|
@@ -6910,7 +6910,7 @@ Loading issues…
|
|
|
6910
6910
|
|
|
6911
6911
|
# Control
|
|
6912
6912
|
|
|
6913
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
6913
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.17
|
|
6914
6914
|
|
|
6915
6915
|
`Control` is the base class of every control in the package. It provides the same `text`, `enabled`, `visible` and `tabStop` properties and the same focus methods, whether a control is declared in JSX and bound to state or created with `new` and changed programmatically.
|
|
6916
6916
|
|
|
@@ -7150,7 +7150,7 @@ Loading issues…
|
|
|
7150
7150
|
|
|
7151
7151
|
# Keyboard and focus
|
|
7152
7152
|
|
|
7153
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
7153
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.17
|
|
7154
7154
|
|
|
7155
7155
|
Every control follows the same rules for Tab order, the active control of a container, focus handling, `&File` access keys and application-wide shortcuts.
|
|
7156
7156
|
|
|
@@ -7346,7 +7346,7 @@ Loading issues…
|
|
|
7346
7346
|
|
|
7347
7347
|
# Commands and shortcuts
|
|
7348
7348
|
|
|
7349
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
7349
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.17
|
|
7350
7350
|
|
|
7351
7351
|
A command of the app is defined once: its text, icon, keys, state and action. Menus, toolbars and ribbons name it, its keys run it, and the user can give it other keys. Every shortcut of the app is in one list, so the ones that get in each other’s way are found.
|
|
7352
7352
|
|
|
@@ -7476,7 +7476,7 @@ Loading issues…
|
|
|
7476
7476
|
|
|
7477
7477
|
# Language
|
|
7478
7478
|
|
|
7479
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
7479
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.17
|
|
7480
7480
|
|
|
7481
7481
|
`uiLocale` controls the strings that controls display, the locale used for dates and numbers, and the text direction. The kit has one `uiLocale`, and each language pack is loaded on demand.
|
|
7482
7482
|
|
|
@@ -7713,7 +7713,7 @@ Loading issues…
|
|
|
7713
7713
|
|
|
7714
7714
|
# Buttons
|
|
7715
7715
|
|
|
7716
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
7716
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.17
|
|
7717
7717
|
|
|
7718
7718
|
Buttons start commands. The group covers single buttons, groups of them and a floating button for the main action of a screen. Toolbars and menus, which hold the many commands of an application, are in [Navigation](navigation.md).
|
|
7719
7719
|
|
|
@@ -7884,7 +7884,7 @@ Loading issues…
|
|
|
7884
7884
|
|
|
7885
7885
|
# Button
|
|
7886
7886
|
|
|
7887
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
7887
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.17
|
|
7888
7888
|
|
|
7889
7889
|
A native `<button>` styled with design tokens. It comes in three variants, three tones and three sizes, and supports an icon and an `&` access key. A button can act as a toggle, indicate that work is in progress, and open a menu or any other content, either from the whole button or from an arrow next to it with `split`, so the button keeps its own action.
|
|
7890
7890
|
|
|
@@ -8308,7 +8308,7 @@ Loading issues…
|
|
|
8308
8308
|
|
|
8309
8309
|
# ButtonGroup
|
|
8310
8310
|
|
|
8311
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
8311
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.17
|
|
8312
8312
|
|
|
8313
8313
|
A set of related buttons, used as a segmented selection of one or more options or as a row of actions. The buttons are standard kit buttons and are attached by default.
|
|
8314
8314
|
|
|
@@ -8457,7 +8457,7 @@ Loading issues…
|
|
|
8457
8457
|
|
|
8458
8458
|
# SpeedDial
|
|
8459
8459
|
|
|
8460
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
8460
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.17
|
|
8461
8461
|
|
|
8462
8462
|
A floating action button that opens a set of related actions. Place it in a corner, on an edge or inline. Actions appear in a line with labels, or on a full, half or quarter circle around the button with tooltips. If there is only one action, the main button performs it directly.
|
|
8463
8463
|
|
|
@@ -8755,7 +8755,7 @@ Loading issues…
|
|
|
8755
8755
|
|
|
8756
8756
|
# Editors
|
|
8757
8757
|
|
|
8758
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
8758
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
8759
8759
|
|
|
8760
8760
|
Editors take values: text, numbers, dates and times, ranges, colors, ratings, codes, files and signatures. They share one field model, so a label, help text, validation and binding work the same in all of them.
|
|
8761
8761
|
|
|
@@ -8918,7 +8918,7 @@ Loading issues…
|
|
|
8918
8918
|
|
|
8919
8919
|
# TextBox
|
|
8920
8920
|
|
|
8921
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
8921
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
8922
8922
|
|
|
8923
8923
|
A single-line text input with a label, help text and error display. It supports a placeholder, a prefix and suffix, buttons inside the box, a clear button, a password reveal button, a character counter, an input mask and validation, either on its own, in a group, or across all fields in a panel.
|
|
8924
8924
|
|
|
@@ -9379,7 +9379,7 @@ Loading issues…
|
|
|
9379
9379
|
|
|
9380
9380
|
# TextArea
|
|
9381
9381
|
|
|
9382
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
9382
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
9383
9383
|
|
|
9384
9384
|
A multi-line text input. The box can grow with its content or be resized by the user, and it supports a character counter, a clear button and Ctrl+Enter to submit, along with the label, help text and validation common to all fields.
|
|
9385
9385
|
|
|
@@ -9695,7 +9695,7 @@ Loading issues…
|
|
|
9695
9695
|
|
|
9696
9696
|
# ExpressionEditor
|
|
9697
9697
|
|
|
9698
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
9698
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
9699
9699
|
|
|
9700
9700
|
A field for an expression of the data layer, or for a template with expressions in it. The text is colored as it is typed, its problems are underlined where they are, the words that may be written at the caret come in a list, and the call the caret is in shows its parameters. It has the label, help text and validation common to all fields.
|
|
9701
9701
|
|
|
@@ -10168,7 +10168,7 @@ export default function States() {
|
|
|
10168
10168
|
|
|
10169
10169
|
# NumberBox
|
|
10170
10170
|
|
|
10171
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
10171
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
10172
10172
|
|
|
10173
10173
|
A numeric input with arrow key support, PageUp and PageDown, spin buttons that repeat while held, min and max limits, exact decimal stepping, display formats such as currency and percent, and locale-aware input.
|
|
10174
10174
|
|
|
@@ -10486,7 +10486,7 @@ Loading issues…
|
|
|
10486
10486
|
|
|
10487
10487
|
# DateBox
|
|
10488
10488
|
|
|
10489
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
10489
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
10490
10490
|
|
|
10491
10491
|
An input for a date, a time or both. Users can type through a mask in the locale's order, or pick from a calendar and a list of times. `min`, `max` and `disabledDates` apply to both methods.
|
|
10492
10492
|
|
|
@@ -10695,7 +10695,7 @@ Loading issues…
|
|
|
10695
10695
|
|
|
10696
10696
|
# DateRangeBox
|
|
10697
10697
|
|
|
10698
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
10698
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
10699
10699
|
|
|
10700
10700
|
A single field for a start date and an end date. Users can type through two masks, or pick from two side-by-side months and a list of presets, within the allowed dates and range length. The value is a `[start, end]` pair.
|
|
10701
10701
|
|
|
@@ -10895,7 +10895,7 @@ Loading issues…
|
|
|
10895
10895
|
|
|
10896
10896
|
# Signature
|
|
10897
10897
|
|
|
10898
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
10898
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
10899
10899
|
|
|
10900
10900
|
A pad to sign on with a pen, a finger or a mouse. The value is the strokes themselves, so a signature can be stored as data, drawn again at any size and exported as an image.
|
|
10901
10901
|
|
|
@@ -11107,7 +11107,7 @@ Loading issues…
|
|
|
11107
11107
|
|
|
11108
11108
|
# OtpInput
|
|
11109
11109
|
|
|
11110
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
11110
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
11111
11111
|
|
|
11112
11112
|
A one-time code in a row of boxes. Typing, pasting a whole code, the code a phone offers from a message and screen readers work as in any text box, because the boxes are drawn over one real input.
|
|
11113
11113
|
|
|
@@ -11308,7 +11308,7 @@ Loading issues…
|
|
|
11308
11308
|
|
|
11309
11309
|
# ColorBox and ColorPicker
|
|
11310
11310
|
|
|
11311
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
11311
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
11312
11312
|
|
|
11313
11313
|
A color field with a popup picker, or the picker on its own. The picker has a saturation and brightness area, a hue slider, an opacity slider, channel inputs and preset colors.
|
|
11314
11314
|
|
|
@@ -11469,7 +11469,7 @@ Loading issues…
|
|
|
11469
11469
|
|
|
11470
11470
|
# Calendar
|
|
11471
11471
|
|
|
11472
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
11472
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
11473
11473
|
|
|
11474
11474
|
A month view for selecting a date, with year and decade views for quick navigation. It serves as the DateBox picker and can also be used on its own.
|
|
11475
11475
|
|
|
@@ -11613,7 +11613,7 @@ Loading issues…
|
|
|
11613
11613
|
|
|
11614
11614
|
# Slider
|
|
11615
11615
|
|
|
11616
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
11616
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
11617
11617
|
|
|
11618
11618
|
Selects a value on a track by dragging a thumb or using the keyboard. It supports a single number or a range with two thumbs, steps, labeled tick marks, a value tooltip, a vertical orientation and number formatting, along with the label, help text and validation common to all fields.
|
|
11619
11619
|
|
|
@@ -11982,7 +11982,7 @@ Loading issues…
|
|
|
11982
11982
|
|
|
11983
11983
|
# Rating
|
|
11984
11984
|
|
|
11985
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
11985
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
11986
11986
|
|
|
11987
11987
|
A row of stars for entering or displaying a score, in whole or half steps. Rating is a field, so the label, help text, rules and `x-model` work the same way as on any other field.
|
|
11988
11988
|
|
|
@@ -12114,7 +12114,7 @@ Loading issues…
|
|
|
12114
12114
|
|
|
12115
12115
|
# ValidationSummary
|
|
12116
12116
|
|
|
12117
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
12117
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
12118
12118
|
|
|
12119
12119
|
Lists the invalid fields of a `ValidationGroup` under a header, with each field's label and message on its own line. Clicking a line moves focus to the field. The summary updates whenever a field in the group is validated or reset, and it is hidden when there are no errors.
|
|
12120
12120
|
|
|
@@ -12237,7 +12237,7 @@ Loading issues…
|
|
|
12237
12237
|
|
|
12238
12238
|
# FileUploader
|
|
12239
12239
|
|
|
12240
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
12240
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
12241
12241
|
|
|
12242
12242
|
Lets users select files with a button or drop them on the box. Files are listed with their size and status, and can upload automatically, on a button click or programmatically, with progress, cancel, retry and remove for each file. Files that exceed the limits are listed with the reason.
|
|
12243
12243
|
|
|
@@ -12446,7 +12446,7 @@ Loading issues…
|
|
|
12446
12446
|
|
|
12447
12447
|
# ShortcutEditor
|
|
12448
12448
|
|
|
12449
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
12449
|
+
> Editors · @motifx-community/ui 0.1.0-beta.17
|
|
12450
12450
|
|
|
12451
12451
|
A list of the app’s keyboard shortcuts in which the user assigns other keys. It shows the shortcuts of commands, of the app and of the kit’s components, and you can place it anywhere: a settings page, a dialog or a tab.
|
|
12452
12452
|
|
|
@@ -12698,7 +12698,7 @@ Loading issues…
|
|
|
12698
12698
|
|
|
12699
12699
|
# Choice
|
|
12700
12700
|
|
|
12701
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
12701
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
12702
12702
|
|
|
12703
12703
|
Choice components let the reader pick: on or off, one of a few, several of a list, or one of many with search.
|
|
12704
12704
|
|
|
@@ -12853,7 +12853,7 @@ Loading issues…
|
|
|
12853
12853
|
|
|
12854
12854
|
# CheckBox
|
|
12855
12855
|
|
|
12856
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
12856
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
12857
12857
|
|
|
12858
12858
|
A check box with a label that can be checked, unchecked or indeterminate. It supports an optional three-state cycle, read-only and required states, and validation with its group. It is a native check box styled with design tokens.
|
|
12859
12859
|
|
|
@@ -13197,7 +13197,7 @@ Loading issues…
|
|
|
13197
13197
|
|
|
13198
13198
|
# Switch
|
|
13199
13199
|
|
|
13200
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
13200
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
13201
13201
|
|
|
13202
13202
|
An on/off switch with a label. It has a track with a sliding thumb, optional on/off text inside or next to the track, and read-only and required states. It is a native check box with the switch role.
|
|
13203
13203
|
|
|
@@ -13447,7 +13447,7 @@ Loading issues…
|
|
|
13447
13447
|
|
|
13448
13448
|
# RadioGroup
|
|
13449
13449
|
|
|
13450
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
13450
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
13451
13451
|
|
|
13452
13452
|
A set of mutually exclusive options. Options can come from plain values, custom objects or a live list, and can be arranged vertically, horizontally or in columns. Individual options can be disabled, hidden or given help text. The group is a single Tab stop, and the arrow keys move between options.
|
|
13453
13453
|
|
|
@@ -13779,7 +13779,7 @@ Loading issues…
|
|
|
13779
13779
|
|
|
13780
13780
|
# DropDown
|
|
13781
13781
|
|
|
13782
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
13782
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
13783
13783
|
|
|
13784
13784
|
Selects one item from a list. The field shows the selected item, and the list opens below it on click or from the keyboard. The list can be searched, grouped and customized, and it stays fast with thousands of items.
|
|
13785
13785
|
|
|
@@ -14111,7 +14111,7 @@ export default function Validation() {
|
|
|
14111
14111
|
|
|
14112
14112
|
# ComboBox and Autocomplete
|
|
14113
14113
|
|
|
14114
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
14114
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
14115
14115
|
|
|
14116
14116
|
A text input with a list that filters as the user types. Items can come from memory or from a data layer source that is searched on the server. `Autocomplete` is the free-text variant, where the value is the text itself.
|
|
14117
14117
|
|
|
@@ -14334,7 +14334,7 @@ export default function CustomValues() {
|
|
|
14334
14334
|
|
|
14335
14335
|
# Lookup
|
|
14336
14336
|
|
|
14337
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
14337
|
+
> Choice · @motifx-community/ui 0.1.0-beta.17
|
|
14338
14338
|
|
|
14339
14339
|
Selects one row from a table-style list, typically from a data source searched on the server, such as a customer by company, contact and city. The field shows the text of the selected row, and everything else works as in DropDown.
|
|
14340
14340
|
|
|
@@ -14554,7 +14554,7 @@ export default function ByKey() {
|
|
|
14554
14554
|
|
|
14555
14555
|
# Feedback
|
|
14556
14556
|
|
|
14557
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
14557
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
14558
14558
|
|
|
14559
14559
|
Feedback components tell the reader what is happening: how far a task has come, that something is loading, what a control does, and what has just happened.
|
|
14560
14560
|
|
|
@@ -14696,7 +14696,7 @@ Loading issues…
|
|
|
14696
14696
|
|
|
14697
14697
|
# ProgressBar and Spinner
|
|
14698
14698
|
|
|
14699
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
14699
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
14700
14700
|
|
|
14701
14701
|
ProgressBar shows how far an operation has progressed, as a line or a circle, or indicates activity when the progress is unknown. Spinner shows that the system is busy. It is a rotating ring that can stand alone or cover a panel while it loads, and it can wait for a delay so that quick operations do not cause a flash.
|
|
14702
14702
|
|
|
@@ -15105,7 +15105,7 @@ Loading issues…
|
|
|
15105
15105
|
|
|
15106
15106
|
# Tooltip
|
|
15107
15107
|
|
|
15108
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
15108
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
15109
15109
|
|
|
15110
15110
|
A short description shown next to an element when the pointer rests on it, when it receives keyboard focus, or programmatically. Users can hover over the tooltip, Escape dismisses it, and only one is open at a time on the page.
|
|
15111
15111
|
|
|
@@ -15452,7 +15452,7 @@ Loading issues…
|
|
|
15452
15452
|
|
|
15453
15453
|
# Popover
|
|
15454
15454
|
|
|
15455
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
15455
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
15456
15456
|
|
|
15457
15457
|
Displays content next to a related element, such as a title, a close button, a form or a card. It opens on click or on hover, follows its target, and points to it with an arrow where the design language includes one.
|
|
15458
15458
|
|
|
@@ -15682,7 +15682,7 @@ Loading issues…
|
|
|
15682
15682
|
|
|
15683
15683
|
# LoadPanel
|
|
15684
15684
|
|
|
15685
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
15685
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
15686
15686
|
|
|
15687
15687
|
A loading overlay for a container or the whole page. It includes a shade, a panel with the kit spinner and a message, and a Cancel button when the operation can be stopped. The content underneath is unavailable while it is shown, and focus returns afterward.
|
|
15688
15688
|
|
|
@@ -15874,7 +15874,7 @@ Loading issues…
|
|
|
15874
15874
|
|
|
15875
15875
|
# Toast
|
|
15876
15876
|
|
|
15877
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
15877
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.17
|
|
15878
15878
|
|
|
15879
15879
|
Brief notifications at the edge of the window, with four tones, an optional action such as Undo, a custom duration or none, six positions and a limit on how many appear at once. Show them programmatically, or place a custom region in JSX.
|
|
15880
15880
|
|
|
@@ -16195,7 +16195,7 @@ Loading issues…
|
|
|
16195
16195
|
|
|
16196
16196
|
# Display
|
|
16197
16197
|
|
|
16198
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
16198
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
16199
16199
|
|
|
16200
16200
|
Display components present content: people, counts and labels, cards, pictures, tiles, events in time, codes to scan, and placeholders while content loads.
|
|
16201
16201
|
|
|
@@ -16347,7 +16347,7 @@ Loading issues…
|
|
|
16347
16347
|
|
|
16348
16348
|
# QRCode
|
|
16349
16349
|
|
|
16350
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
16350
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
16351
16351
|
|
|
16352
16352
|
A QR code, drawn as vectors so that it stays sharp at any size. It has no dependencies, chooses the smallest version that holds the text, and can carry a logo.
|
|
16353
16353
|
|
|
@@ -16530,7 +16530,7 @@ Loading issues…
|
|
|
16530
16530
|
|
|
16531
16531
|
# Barcode
|
|
16532
16532
|
|
|
16533
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
16533
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
16534
16534
|
|
|
16535
16535
|
A linear barcode, drawn as vectors: Code 128, Code 39, EAN-13, EAN-8, UPC-A or Interleaved 2 of 5. It has no dependencies, works out check digits and refuses a value the format cannot hold.
|
|
16536
16536
|
|
|
@@ -16727,7 +16727,7 @@ Loading issues…
|
|
|
16727
16727
|
|
|
16728
16728
|
# Badge
|
|
16729
16729
|
|
|
16730
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
16730
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
16731
16731
|
|
|
16732
16732
|
A short text, count or dot, shown inline or on the corner of a button, avatar or icon. A count above its maximum displays as “99+”, and a count of zero is hidden.
|
|
16733
16733
|
|
|
@@ -16928,7 +16928,7 @@ Loading issues…
|
|
|
16928
16928
|
|
|
16929
16929
|
# Avatar and AvatarGroup
|
|
16930
16930
|
|
|
16931
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
16931
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
16932
16932
|
|
|
16933
16933
|
Represents a person with a picture, initials or an icon, with an optional presence indicator on its corner. A group stacks or spreads avatars and counts the ones it does not show.
|
|
16934
16934
|
|
|
@@ -17174,7 +17174,7 @@ Loading issues…
|
|
|
17174
17174
|
|
|
17175
17175
|
# Chip and ChipGroup
|
|
17176
17176
|
|
|
17177
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
17177
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
17178
17178
|
|
|
17179
17179
|
A compact element with short text and an optional leading icon or avatar. Use it as a filter, as a choice among a few options, or to represent a selected item that can be removed. A group handles single or multiple selection and arrow key navigation.
|
|
17180
17180
|
|
|
@@ -17459,7 +17459,7 @@ Loading issues…
|
|
|
17459
17459
|
|
|
17460
17460
|
# Card
|
|
17461
17461
|
|
|
17462
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
17462
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
17463
17463
|
|
|
17464
17464
|
A surface for a single subject, with an optional image, a header with an avatar and titles, content and a row of actions. Empty parts are not rendered.
|
|
17465
17465
|
|
|
@@ -17721,7 +17721,7 @@ Loading issues…
|
|
|
17721
17721
|
|
|
17722
17722
|
# Gallery
|
|
17723
17723
|
|
|
17724
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
17724
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
17725
17725
|
|
|
17726
17726
|
Displays a horizontal set of slides, one or several at a time. Users navigate with the side buttons, the indicator dots, swipe gestures or the arrow keys, and it can run as an automatic slideshow. A slide can be an image with a caption or any other content.
|
|
17727
17727
|
|
|
@@ -17973,7 +17973,7 @@ Loading issues…
|
|
|
17973
17973
|
|
|
17974
17974
|
# TileView
|
|
17975
17975
|
|
|
17976
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
17976
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
17977
17977
|
|
|
17978
17978
|
Arranges tiles of different sizes on a grid of base cells, where each tile spans a set number of cells. Tiles fill the height in columns and scroll horizontally, or fill the width in rows. They can be selected and reordered by dragging.
|
|
17979
17979
|
|
|
@@ -18187,7 +18187,7 @@ Loading issues…
|
|
|
18187
18187
|
|
|
18188
18188
|
# Timeline
|
|
18189
18189
|
|
|
18190
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
18190
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
18191
18191
|
|
|
18192
18192
|
Displays events in chronological order. In the vertical layout, each event is a card next to a line with a marker. In the horizontal layout, events appear along a line of dates, and selecting a date shows that event's card below the line. Dates are formatted in the kit language. For scheduling by the hour, see [Scheduler](scheduler.md).
|
|
18193
18193
|
|
|
@@ -18369,7 +18369,7 @@ Loading issues…
|
|
|
18369
18369
|
|
|
18370
18370
|
# Skeleton
|
|
18371
18371
|
|
|
18372
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
18372
|
+
> Display · @motifx-community/ui 0.1.0-beta.17
|
|
18373
18373
|
|
|
18374
18374
|
A placeholder that matches the shape of content that is loading, so the page keeps its layout while data arrives. If you provide content, it replaces the placeholder in the same place when loading ends.
|
|
18375
18375
|
|
|
@@ -18508,7 +18508,7 @@ Loading issues…
|
|
|
18508
18508
|
|
|
18509
18509
|
# Chat
|
|
18510
18510
|
|
|
18511
|
-
> AI chat · @motifx-community/ui 0.1.0-beta.
|
|
18511
|
+
> AI chat · @motifx-community/ui 0.1.0-beta.17
|
|
18512
18512
|
|
|
18513
18513
|
A conversation with a model, drawn by turn: the user’s question, then what the model did, in order — its thinking, text, tool calls, to-do list — each with a dot at its start. The chat draws everything, and your app talks to the model and writes the reply. There is no built-in provider: any streaming API connects through `reply()`.
|
|
18514
18514
|
|
|
@@ -20024,7 +20024,7 @@ export function olderPage(): ChatMessage[] {
|
|
|
20024
20024
|
|
|
20025
20025
|
# Markdown
|
|
20026
20026
|
|
|
20027
|
-
> AI chat · @motifx-community/ui 0.1.0-beta.
|
|
20027
|
+
> AI chat · @motifx-community/ui 0.1.0-beta.17
|
|
20028
20028
|
|
|
20029
20029
|
Shows markdown, either all at once or as it arrives from a model. Each character appears the moment it is written. A mark whose meaning is not known yet shows as text until it is, then its element is made and the text continues inside it. Nothing that has been drawn is drawn again, while the text grows or when it ends.
|
|
20030
20030
|
|
|
@@ -20371,7 +20371,7 @@ Loading issues…
|
|
|
20371
20371
|
|
|
20372
20372
|
# Navigation
|
|
20373
20373
|
|
|
20374
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
20374
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
20375
20375
|
|
|
20376
20376
|
Navigation components move the reader around an application and lay out its screens: bars at the top and bottom, menus and toolbars, tabs, paths, steps and pages, panels that slide in, and the containers that arrange everything.
|
|
20377
20377
|
|
|
@@ -20523,7 +20523,7 @@ Loading issues…
|
|
|
20523
20523
|
|
|
20524
20524
|
# AppBar
|
|
20525
20525
|
|
|
20526
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
20526
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
20527
20527
|
|
|
20528
20528
|
The top bar of an application, with a navigation button, a logo, a title, a control and commands. The commands are a `Toolbar`, so those that do not fit move into a menu.
|
|
20529
20529
|
|
|
@@ -20721,7 +20721,7 @@ Loading issues…
|
|
|
20721
20721
|
|
|
20722
20722
|
# BottomNavigation
|
|
20723
20723
|
|
|
20724
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
20724
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
20725
20725
|
|
|
20726
20726
|
The destinations of an application at the bottom of the screen, each an icon with a label. The bar is one Tab stop, marks the selected item for screen readers and keeps clear of the home indicator of a phone.
|
|
20727
20727
|
|
|
@@ -20983,7 +20983,7 @@ Loading issues…
|
|
|
20983
20983
|
|
|
20984
20984
|
# Tabs
|
|
20985
20985
|
|
|
20986
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
20986
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
20987
20987
|
|
|
20988
20988
|
Tabs display one panel at a time below a tab strip. You can define them in JSX or programmatically, and they support closable tabs, icons and badges, scroll buttons when tabs overflow, four placements, and panels that are created on first display.
|
|
20989
20989
|
|
|
@@ -21447,7 +21447,7 @@ Loading issues…
|
|
|
21447
21447
|
|
|
21448
21448
|
# Breadcrumb
|
|
21449
21449
|
|
|
21450
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
21450
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
21451
21451
|
|
|
21452
21452
|
Shows the path to the current page. Each step is a link or button, and the current page comes last. Steps that do not fit move into a menu after the first step.
|
|
21453
21453
|
|
|
@@ -21580,7 +21580,7 @@ Loading issues…
|
|
|
21580
21580
|
|
|
21581
21581
|
# Pagination
|
|
21582
21582
|
|
|
21583
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
21583
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
21584
21584
|
|
|
21585
21585
|
Navigates through pages of items, with page size options, the current position, navigation buttons and a button for each nearby page. It switches to a compact layout when it does not fit, and it looks and works like the DataGrid pager.
|
|
21586
21586
|
|
|
@@ -21703,7 +21703,7 @@ Loading issues…
|
|
|
21703
21703
|
|
|
21704
21704
|
# Stepper
|
|
21705
21705
|
|
|
21706
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
21706
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
21707
21707
|
|
|
21708
21708
|
Shows the steps of a longer task and the user's progress through them. Each step has an indicator and text, with a line between steps, and steps before the current one are marked complete. [Wizard](wizard.md) adds a page and navigation buttons to each step.
|
|
21709
21709
|
|
|
@@ -21947,7 +21947,7 @@ Loading issues…
|
|
|
21947
21947
|
|
|
21948
21948
|
# Wizard
|
|
21949
21949
|
|
|
21950
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
21950
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
21951
21951
|
|
|
21952
21952
|
Guides the user through a multi-step task. It combines a [Stepper](stepper.md) above or next to one page per step with Back and Next buttons below. Next validates the page first, and on the last step it finishes the wizard.
|
|
21953
21953
|
|
|
@@ -22195,7 +22195,7 @@ Loading issues…
|
|
|
22195
22195
|
|
|
22196
22196
|
# Accordion
|
|
22197
22197
|
|
|
22198
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
22198
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
22199
22199
|
|
|
22200
22200
|
An accordion expands and collapses sections under their headers. It supports one or several open sections, sections that stay open, icons, three appearances and sections that are created when first opened.
|
|
22201
22201
|
|
|
@@ -22498,7 +22498,7 @@ Loading issues…
|
|
|
22498
22498
|
|
|
22499
22499
|
# MultiView
|
|
22500
22500
|
|
|
22501
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
22501
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
22502
22502
|
|
|
22503
22503
|
Displays one page at a time from a horizontal set. Users move between pages with a swipe or drag, and you can navigate with `next()`, `previous()` and `goTo()`, or with [Tabs](tabs.md), a [Stepper](stepper.md) or buttons bound to the same value. It works like the panels of a tab control without the tab strip.
|
|
22504
22504
|
|
|
@@ -22708,7 +22708,7 @@ Loading issues…
|
|
|
22708
22708
|
|
|
22709
22709
|
# Window and dialog
|
|
22710
22710
|
|
|
22711
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
22711
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
22712
22712
|
|
|
22713
22713
|
A window or dialog built on the native `<dialog>` element. A single form can be shown as modeless or modal, depending on how you open it. It has a title bar, can be moved, resized, minimized and maximized, and Enter and Escape activate its buttons. Forms can open other forms, and `messageBox` and `confirm` cover common prompts.
|
|
22714
22714
|
|
|
@@ -23272,7 +23272,7 @@ export default function DefaultButtons() {
|
|
|
23272
23272
|
|
|
23273
23273
|
# BottomSheet
|
|
23274
23274
|
|
|
23275
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
23275
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
23276
23276
|
|
|
23277
23277
|
A panel that slides up from the bottom of the page or a container and stops at set heights: peek, half, full, the height of its content, or custom values. Users can drag it by its handle and title, flick it, and swipe down to close it. It can be modal or non-modal, and the back button closes it on phones.
|
|
23278
23278
|
|
|
@@ -23596,7 +23596,7 @@ Loading issues…
|
|
|
23596
23596
|
|
|
23597
23597
|
# Drawer
|
|
23598
23598
|
|
|
23599
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
23599
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
23600
23600
|
|
|
23601
23601
|
A panel that slides in from an edge of the page or a container, either over the content or pushing it aside. Users can swipe it in from the edge and back out, and Escape, the scrim and the browser's back action close it.
|
|
23602
23602
|
|
|
@@ -23833,7 +23833,7 @@ Loading issues…
|
|
|
23833
23833
|
|
|
23834
23834
|
# ActionSheet
|
|
23835
23835
|
|
|
23836
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
23836
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
23837
23837
|
|
|
23838
23838
|
A list of commands that slides up from the bottom of the screen, built from the kit's menu items and sized for touch. It supports a title, a message and a separate Cancel button. A context menu uses it on touch screens.
|
|
23839
23839
|
|
|
@@ -24051,7 +24051,7 @@ Loading issues…
|
|
|
24051
24051
|
|
|
24052
24052
|
# Layout
|
|
24053
24053
|
|
|
24054
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
24054
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
24055
24055
|
|
|
24056
24056
|
Container controls for arranging other controls: `Stack` (a row or column), `Grid` (rows and columns), `Panel` (a plain box that can scroll), `GroupBox` (a titled frame), `DockPanel` (children docked to its edges) and `SplitContainer` (two panes with a splitter). All of them are controls, so they can disable and hide their content, and they lay out children added at any time.
|
|
24057
24057
|
|
|
@@ -24643,7 +24643,7 @@ Loading issues…
|
|
|
24643
24643
|
|
|
24644
24644
|
# Splitter
|
|
24645
24645
|
|
|
24646
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
24646
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
24647
24647
|
|
|
24648
24648
|
Divides space into any number of resizable panes, arranged side by side or stacked. A handle between each pair of panes can be dragged or moved with the keyboard, and it resizes the two panes next to it. Panes can be collapsed from their handle and can contain another splitter. For two panes where one has a fixed size, see [SplitContainer](layout.md).
|
|
24649
24649
|
|
|
@@ -24855,7 +24855,7 @@ Loading issues…
|
|
|
24855
24855
|
|
|
24856
24856
|
# Resizable
|
|
24857
24857
|
|
|
24858
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
24858
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
24859
24859
|
|
|
24860
24860
|
A box that users can resize from its edges and corners with the pointer, or with the arrow keys on the grip in its end corner. It respects minimum and maximum sizes, can stay within an area, and can preserve its aspect ratio.
|
|
24861
24861
|
|
|
@@ -25002,7 +25002,7 @@ Loading issues…
|
|
|
25002
25002
|
|
|
25003
25003
|
# Draggable and DropTarget
|
|
25004
25004
|
|
|
25005
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
25005
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
25006
25006
|
|
|
25007
25007
|
Makes any content movable with the pointer, touch or the arrow keys, optionally along one axis, inside a boundary, by a handle or as a copy. `DropTarget` defines areas that accept it. To reorder items in a list, see [Sortable](sortable.md).
|
|
25008
25008
|
|
|
@@ -25204,7 +25204,7 @@ Loading issues…
|
|
|
25204
25204
|
|
|
25205
25205
|
# ScrollView
|
|
25206
25206
|
|
|
25207
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
25207
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
25208
25208
|
|
|
25209
25209
|
A scrollable container with configurable scrollbars, pull-to-refresh, and load-on-scroll near the end of the content. You can scroll it programmatically to a position or an element.
|
|
25210
25210
|
|
|
@@ -25398,7 +25398,7 @@ Loading issues…
|
|
|
25398
25398
|
|
|
25399
25399
|
# Sortable
|
|
25400
25400
|
|
|
25401
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
25401
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
25402
25402
|
|
|
25403
25403
|
Lets users reorder items by dragging them with the pointer or a finger, or with the keyboard. Lists in the same group can exchange items. A drop moves the element and reports the indexes, while your data stays under your control.
|
|
25404
25404
|
|
|
@@ -25616,7 +25616,7 @@ Loading issues…
|
|
|
25616
25616
|
|
|
25617
25617
|
# FormLayout
|
|
25618
25618
|
|
|
25619
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
25619
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
25620
25620
|
|
|
25621
25621
|
Arranges the fields of a data object on a grid. Each field gets an editor, chosen by name or by the type of its value, with two-way binding to the object. Groups, column spans and buttons organize the layout, and submitting the form validates every field first.
|
|
25622
25622
|
|
|
@@ -25754,7 +25754,7 @@ Loading issues…
|
|
|
25754
25754
|
|
|
25755
25755
|
# FormLayout: From a schema
|
|
25756
25756
|
|
|
25757
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
25757
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.17
|
|
25758
25758
|
|
|
25759
25759
|
A form can be made from a schema of its data object: a field for each property, with the editor its type, values and format call for, its title as the label and its description as the help text. The same schema checks the value in the form, in the application and on a server, with the data layer's `jsonSchema`, a subset of JSON Schema.
|
|
25760
25760
|
|
|
@@ -25901,7 +25901,7 @@ Loading issues…
|
|
|
25901
25901
|
|
|
25902
25902
|
# Chart
|
|
25903
25903
|
|
|
25904
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
25904
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
25905
25905
|
|
|
25906
25906
|
Displays lines, areas, bars, scatter points and bubbles on a shared value axis. The chart has no dependencies, takes its appearance from the design language, and makes every value available through the keyboard and a table view.
|
|
25907
25907
|
|
|
@@ -26332,7 +26332,7 @@ export default class Programmatic extends Component<HTMLDivElement> {
|
|
|
26332
26332
|
|
|
26333
26333
|
# Chart: Lines and areas
|
|
26334
26334
|
|
|
26335
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
26335
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
26336
26336
|
|
|
26337
26337
|
Lines and areas show how values change along an axis: over time, or from one category to the next.
|
|
26338
26338
|
|
|
@@ -26464,7 +26464,7 @@ Loading issues…
|
|
|
26464
26464
|
|
|
26465
26465
|
# Chart: Bars
|
|
26466
26466
|
|
|
26467
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
26467
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
26468
26468
|
|
|
26469
26469
|
Bars compare amounts. They stand on a common baseline, so lengths compare exactly, side by side, stacked, or on their side for long names.
|
|
26470
26470
|
|
|
@@ -26610,7 +26610,7 @@ export const SALES = [
|
|
|
26610
26610
|
|
|
26611
26611
|
# Chart: Scatter and bubble
|
|
26612
26612
|
|
|
26613
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
26613
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
26614
26614
|
|
|
26615
26615
|
Scatter and bubble charts place each row by two numbers, to show how they relate.
|
|
26616
26616
|
|
|
@@ -26753,7 +26753,7 @@ Loading issues…
|
|
|
26753
26753
|
|
|
26754
26754
|
# Chart: Pie and donut
|
|
26755
26755
|
|
|
26756
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
26756
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
26757
26757
|
|
|
26758
26758
|
A pie or a donut splits one whole into its parts, for a share seen at a glance.
|
|
26759
26759
|
|
|
@@ -26882,7 +26882,7 @@ Loading issues…
|
|
|
26882
26882
|
|
|
26883
26883
|
# Chart: Funnel
|
|
26884
26884
|
|
|
26885
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
26885
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
26886
26886
|
|
|
26887
26887
|
A funnel follows a quantity through stages in order, and shows how much of it is left at each one.
|
|
26888
26888
|
|
|
@@ -27001,7 +27001,7 @@ Loading issues…
|
|
|
27001
27001
|
|
|
27002
27002
|
# Chart: Radar
|
|
27003
27003
|
|
|
27004
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27004
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27005
27005
|
|
|
27006
27006
|
A radar compares several measures at once, for one or more items.
|
|
27007
27007
|
|
|
@@ -27129,7 +27129,7 @@ Loading issues…
|
|
|
27129
27129
|
|
|
27130
27130
|
# Chart: Heat map
|
|
27131
27131
|
|
|
27132
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27132
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27133
27133
|
|
|
27134
27134
|
A heat map shows a value for each pair of two categories as a color.
|
|
27135
27135
|
|
|
@@ -27226,7 +27226,7 @@ Loading issues…
|
|
|
27226
27226
|
|
|
27227
27227
|
# Chart: Ranges
|
|
27228
27228
|
|
|
27229
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27229
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27230
27230
|
|
|
27231
27231
|
Ranges show a low and a high value for each position, as a band or as floating bars.
|
|
27232
27232
|
|
|
@@ -27357,7 +27357,7 @@ Loading issues…
|
|
|
27357
27357
|
|
|
27358
27358
|
# Chart: Candles
|
|
27359
27359
|
|
|
27360
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27360
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27361
27361
|
|
|
27362
27362
|
Candles show the first, highest, lowest and last price for each position.
|
|
27363
27363
|
|
|
@@ -27525,7 +27525,7 @@ Loading issues…
|
|
|
27525
27525
|
|
|
27526
27526
|
# Chart: Waterfall
|
|
27527
27527
|
|
|
27528
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27528
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27529
27529
|
|
|
27530
27530
|
A waterfall shows how a starting value becomes an end value through changes up and down.
|
|
27531
27531
|
|
|
@@ -27640,7 +27640,7 @@ Loading issues…
|
|
|
27640
27640
|
|
|
27641
27641
|
# Chart: Zoom and large data
|
|
27642
27642
|
|
|
27643
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27643
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27644
27644
|
|
|
27645
27645
|
Large data stays quick: long lines are thinned to the width with their peaks kept, and the reader zooms in for detail.
|
|
27646
27646
|
|
|
@@ -27739,7 +27739,7 @@ Loading issues…
|
|
|
27739
27739
|
|
|
27740
27740
|
# Chart: Live data
|
|
27741
27741
|
|
|
27742
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27742
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27743
27743
|
|
|
27744
27744
|
A chart follows its data: reactive values redraw it, and live data moves along with the latest values.
|
|
27745
27745
|
|
|
@@ -27805,7 +27805,7 @@ Loading issues…
|
|
|
27805
27805
|
|
|
27806
27806
|
# Chart: References and selection
|
|
27807
27807
|
|
|
27808
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27808
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27809
27809
|
|
|
27810
27810
|
Reference lines and bands give the values a target, a limit or a period, and the reader can choose values to act on.
|
|
27811
27811
|
|
|
@@ -27935,7 +27935,7 @@ export default function Selection() {
|
|
|
27935
27935
|
|
|
27936
27936
|
# Sparkline
|
|
27937
27937
|
|
|
27938
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
27938
|
+
> Charts · @motifx-community/ui 0.1.0-beta.17
|
|
27939
27939
|
|
|
27940
27940
|
A chart the size of a word, for a trend beside a number, in a sentence or in a row of a table. It draws a line, an area, bars, or wins and losses, and marks the values that matter.
|
|
27941
27941
|
|
|
@@ -28058,7 +28058,7 @@ Loading issues…
|
|
|
28058
28058
|
|
|
28059
28059
|
# Gauge
|
|
28060
28060
|
|
|
28061
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28061
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28062
28062
|
|
|
28063
28063
|
Shows a value against its scale, as an arc, a circle or a straight bar. Ranges give stretches of the scale a meaning, markers and marks point at values, and every part takes its look from the design language.
|
|
28064
28064
|
|
|
@@ -28214,7 +28214,7 @@ Loading issues…
|
|
|
28214
28214
|
|
|
28215
28215
|
# Gauge: Circular
|
|
28216
28216
|
|
|
28217
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28217
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28218
28218
|
|
|
28219
28219
|
A circular gauge shows its value on an arc or a whole circle, with the value written in the middle. It reads best for one value whose scale the reader knows, such as a speed or a share.
|
|
28220
28220
|
|
|
@@ -28319,7 +28319,7 @@ Loading issues…
|
|
|
28319
28319
|
|
|
28320
28320
|
# Gauge: Linear
|
|
28321
28321
|
|
|
28322
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28322
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28323
28323
|
|
|
28324
28324
|
A linear gauge shows its value on a straight bar, across or upright. Bars fit in narrow places, line up in lists, and compare well side by side.
|
|
28325
28325
|
|
|
@@ -28407,7 +28407,7 @@ Loading issues…
|
|
|
28407
28407
|
|
|
28408
28408
|
# Gauge: Scales
|
|
28409
28409
|
|
|
28410
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28410
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28411
28411
|
|
|
28412
28412
|
The scale tells the reader how to read the value: its ends, ticks with their values, or nothing at all.
|
|
28413
28413
|
|
|
@@ -28528,7 +28528,7 @@ Loading issues…
|
|
|
28528
28528
|
|
|
28529
28529
|
# Gauge: Ranges
|
|
28530
28530
|
|
|
28531
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28531
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28532
28532
|
|
|
28533
28533
|
Ranges give stretches of the scale a meaning, such as normal, high and critical. They show as a band beside the track, and the fill takes the color of the range its value is in.
|
|
28534
28534
|
|
|
@@ -28665,7 +28665,7 @@ Loading issues…
|
|
|
28665
28665
|
|
|
28666
28666
|
# Gauge: Markers
|
|
28667
28667
|
|
|
28668
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28668
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28669
28669
|
|
|
28670
28670
|
A marker points at the value: a needle from the middle of an arc, a shape on or beside the track, or a callout that writes the value.
|
|
28671
28671
|
|
|
@@ -28804,7 +28804,7 @@ Loading issues…
|
|
|
28804
28804
|
|
|
28805
28805
|
# Gauge: Marks
|
|
28806
28806
|
|
|
28807
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28807
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28808
28808
|
|
|
28809
28809
|
Marks show other values on the scale besides the gauge's own, such as a target, a limit, or the lowest and highest expected.
|
|
28810
28810
|
|
|
@@ -28916,7 +28916,7 @@ Loading issues…
|
|
|
28916
28916
|
|
|
28917
28917
|
# Gauge: Base value
|
|
28918
28918
|
|
|
28919
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
28919
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
28920
28920
|
|
|
28921
28921
|
The fill starts at the start of the scale, or at a base value inside it. A scale with values on both sides of a target then fills from the target, either way.
|
|
28922
28922
|
|
|
@@ -28998,7 +28998,7 @@ Loading issues…
|
|
|
28998
28998
|
|
|
28999
28999
|
# Gauge: Dashboards
|
|
29000
29000
|
|
|
29001
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
29001
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
29002
29002
|
|
|
29003
29003
|
Gauges of different kinds put together, all following the same values. Each gauge keeps its own scale, so readers compare values by their meaning, not by size alone.
|
|
29004
29004
|
|
|
@@ -29136,7 +29136,7 @@ Loading issues…
|
|
|
29136
29136
|
|
|
29137
29137
|
# BarGauge
|
|
29138
29138
|
|
|
29139
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
29139
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
29140
29140
|
|
|
29141
29141
|
Shows several values side by side as bars bent round one middle, each against the same scale. It compares a few values at a glance, in little room.
|
|
29142
29142
|
|
|
@@ -29238,7 +29238,7 @@ Loading issues…
|
|
|
29238
29238
|
|
|
29239
29239
|
# BarGauge: Labels and legend
|
|
29240
29240
|
|
|
29241
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
29241
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
29242
29242
|
|
|
29243
29243
|
Each value can be written at the end of its bar, named in a legend, and shown with its name under the pointer.
|
|
29244
29244
|
|
|
@@ -29320,7 +29320,7 @@ Loading issues…
|
|
|
29320
29320
|
|
|
29321
29321
|
# BarGauge: Data
|
|
29322
29322
|
|
|
29323
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
29323
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
29324
29324
|
|
|
29325
29325
|
A bar gauge reads numbers, or rows through their fields, and follows them as they change.
|
|
29326
29326
|
|
|
@@ -29446,7 +29446,7 @@ Loading issues…
|
|
|
29446
29446
|
|
|
29447
29447
|
# BarGauge: Angles and size
|
|
29448
29448
|
|
|
29449
|
-
> Gauges · @motifx-community/ui 0.1.0-beta.
|
|
29449
|
+
> Gauges · @motifx-community/ui 0.1.0-beta.17
|
|
29450
29450
|
|
|
29451
29451
|
How far the bars go round and which way they face fit a bar gauge to the room it has.
|
|
29452
29452
|
|
|
@@ -29537,7 +29537,7 @@ Loading issues…
|
|
|
29537
29537
|
|
|
29538
29538
|
# Data
|
|
29539
29539
|
|
|
29540
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
29540
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
29541
29541
|
|
|
29542
29542
|
Data components show and pick from structured data: hierarchies, lists, sets of tags, and filters that the reader builds. Tables have their own group: see [DataGrid](datagrid.md).
|
|
29543
29543
|
|
|
@@ -29668,7 +29668,7 @@ Loading issues…
|
|
|
29668
29668
|
|
|
29669
29669
|
# TreeView
|
|
29670
29670
|
|
|
29671
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
29671
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
29672
29672
|
|
|
29673
29673
|
Displays items in a hierarchy. Rows can be expanded and collapsed, selected individually or in groups, and searched. Check boxes can roll up to parent rows, and children can load on demand when a row is first expanded. Large trees render only the visible rows.
|
|
29674
29674
|
|
|
@@ -30430,7 +30430,7 @@ export default function SizesAndLines() {
|
|
|
30430
30430
|
|
|
30431
30431
|
# ListBox
|
|
30432
30432
|
|
|
30433
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
30433
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
30434
30434
|
|
|
30435
30435
|
A list displayed directly on the page. Users select one or more items with the keyboard or pointer. Items can come from memory or a data source, can be searched and grouped, and long lists render only the visible rows.
|
|
30436
30436
|
|
|
@@ -30813,7 +30813,7 @@ export default function Validation() {
|
|
|
30813
30813
|
|
|
30814
30814
|
# TagBox
|
|
30815
30815
|
|
|
30816
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
30816
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
30817
30817
|
|
|
30818
30818
|
Selects multiple items. Selected items appear as tags in the field, followed by a text input that searches the list. Items can come from memory or from a data source, and typed text can become a custom tag.
|
|
30819
30819
|
|
|
@@ -31182,7 +31182,7 @@ export default function Localization() {
|
|
|
31182
31182
|
|
|
31183
31183
|
# FilterBuilder
|
|
31184
31184
|
|
|
31185
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
31185
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
31186
31186
|
|
|
31187
31187
|
Lets users build a filter visually, using groups joined by And, Or, Not And or Not Or, and conditions made of a field, an operation and a value. Its value is a data layer filter expression, so it works directly with in-memory rows and every adapter. DataGrid opens it from the filter panel, and you can also use it on its own for reports or saved searches.
|
|
31188
31188
|
|
|
@@ -31791,7 +31791,7 @@ export default function Localization() {
|
|
|
31791
31791
|
|
|
31792
31792
|
# Expression language
|
|
31793
31793
|
|
|
31794
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
31794
|
+
> Data · @motifx-community/ui 0.1.0-beta.17
|
|
31795
31795
|
|
|
31796
31796
|
The data package carries a small expression language for the conditions, values and texts an application computes from data: the condition of a rule, the value a flow writes into a step, the body of a message. An expression changes nothing and reaches nothing by itself — it reads only the names it is given and their own fields, the moment and the time zone come from the evaluation, and limits stop runaway work — so the same expression with the same values always gives the same result, in the browser and on a server. It is checked against a schema as it is written, and it travels as text with a plain JSON tree.
|
|
31797
31797
|
|
|
@@ -32226,7 +32226,7 @@ Loading issues…
|
|
|
32226
32226
|
|
|
32227
32227
|
# RibbonMenu
|
|
32228
32228
|
|
|
32229
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32229
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32230
32230
|
|
|
32231
32231
|
The commands of an application in tabs, each tab in named groups of large, medium and small commands. It adapts to the room it has, can show only its tabs or hide itself, and lets users arrange it to their liking. The menu holds nothing of its own: the tabs, the groups and the commands are given by the application.
|
|
32232
32232
|
|
|
@@ -32465,7 +32465,7 @@ Loading issues…
|
|
|
32465
32465
|
|
|
32466
32466
|
# RibbonMenu: Commands
|
|
32467
32467
|
|
|
32468
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32468
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32469
32469
|
|
|
32470
32470
|
A group holds commands of three sizes and eight types. Every field of a command is a value or a function the menu follows, so the commands change with the application’s state.
|
|
32471
32471
|
|
|
@@ -32587,7 +32587,7 @@ Loading issues…
|
|
|
32587
32587
|
|
|
32588
32588
|
# RibbonMenu: Layouts and room
|
|
32589
32589
|
|
|
32590
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32590
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32591
32591
|
|
|
32592
32592
|
The menu has two layouts, and gives way step by step when its room shrinks: commands become smaller, groups fold, and what is left scrolls. Narrow enough, it turns compact.
|
|
32593
32593
|
|
|
@@ -32650,7 +32650,7 @@ Loading issues…
|
|
|
32650
32650
|
|
|
32651
32651
|
# RibbonMenu: Showing and keys
|
|
32652
32652
|
|
|
32653
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32653
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32654
32654
|
|
|
32655
32655
|
The menu can show only its tabs or hide itself to leave the page more room. A button before the tabs opens the app’s main menu, quick commands are at hand from every tab, and key hints let the keyboard reach any command in a few letters.
|
|
32656
32656
|
|
|
@@ -32750,7 +32750,7 @@ Loading issues…
|
|
|
32750
32750
|
|
|
32751
32751
|
# RibbonMenu: Customization
|
|
32752
32752
|
|
|
32753
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32753
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32754
32754
|
|
|
32755
32755
|
Users arrange the menu from its context menu: they hide what they never use, move what they use most, and add commands to the quick commands. Everything they change is one plain object, to save and give back.
|
|
32756
32756
|
|
|
@@ -32848,7 +32848,7 @@ Loading issues…
|
|
|
32848
32848
|
|
|
32849
32849
|
# RibbonMenu: Programmatic changes
|
|
32850
32850
|
|
|
32851
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32851
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32852
32852
|
|
|
32853
32853
|
Tabs, groups and commands can be added, removed, moved and changed at any time, by their paths. The menu redraws only what changed: groups and commands that stay keep their buttons, their state and their place.
|
|
32854
32854
|
|
|
@@ -32943,7 +32943,7 @@ Loading issues…
|
|
|
32943
32943
|
|
|
32944
32944
|
# RibbonMenu: API reference
|
|
32945
32945
|
|
|
32946
|
-
> RibbonMenu · @motifx-community/ui 0.1.0-beta.
|
|
32946
|
+
> RibbonMenu · @motifx-community/ui 0.1.0-beta.17
|
|
32947
32947
|
|
|
32948
32948
|
Everything `RibbonMenu` takes, offers and reports. Every prop is also a settable property, and a function is followed.
|
|
32949
32949
|
|
|
@@ -33078,7 +33078,7 @@ Loading issues…
|
|
|
33078
33078
|
|
|
33079
33079
|
# MenuBar and ContextMenu
|
|
33080
33080
|
|
|
33081
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33081
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33082
33082
|
|
|
33083
33083
|
An application menu bar (File, Edit, View) and a context menu that opens on right-click. Both use the same menu items, which support submenus, check and radio items, shortcuts and access keys. The bar can be customized by the user, changed by path and merged with the bars of documents and windows.
|
|
33084
33084
|
|
|
@@ -33242,7 +33242,7 @@ Loading issues…
|
|
|
33242
33242
|
|
|
33243
33243
|
# MenuBar: ContextMenu
|
|
33244
33244
|
|
|
33245
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33245
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33246
33246
|
|
|
33247
33247
|
The menu of an element: it opens on a right-click at the pointer, and with the Menu key or Shift+F10 at the focused element. Its items are the same as those of a menu bar.
|
|
33248
33248
|
|
|
@@ -33373,7 +33373,7 @@ Loading issues…
|
|
|
33373
33373
|
|
|
33374
33374
|
# MenuBar: Customization
|
|
33375
33375
|
|
|
33376
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33376
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33377
33377
|
|
|
33378
33378
|
With `customizable`, the user arranges the bar: hides and moves items, renames them, adds commands and menus, and changes keyboard shortcuts. The items you give stay as they are; what the user changed is one object for the app to save.
|
|
33379
33379
|
|
|
@@ -33519,7 +33519,7 @@ Loading issues…
|
|
|
33519
33519
|
|
|
33520
33520
|
# MenuBar: Programmatic changes
|
|
33521
33521
|
|
|
33522
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33522
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33523
33523
|
|
|
33524
33524
|
The items of a bar can be changed while it runs: by path, without building the whole list again, or in place followed by `refresh()`. Items can also name app commands, which give them their text, keys, state and action.
|
|
33525
33525
|
|
|
@@ -33597,7 +33597,7 @@ Loading issues…
|
|
|
33597
33597
|
|
|
33598
33598
|
# MenuBar: Merging menus
|
|
33599
33599
|
|
|
33600
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33600
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33601
33601
|
|
|
33602
33602
|
A page can have several bars: the app’s bar, and the bars of documents, windows and tabs. The bar of the document in use shows its items in the app’s bar, so the user always finds the commands in one place.
|
|
33603
33603
|
|
|
@@ -33809,7 +33809,7 @@ Loading issues…
|
|
|
33809
33809
|
|
|
33810
33810
|
# MenuBar: API reference
|
|
33811
33811
|
|
|
33812
|
-
> MenuBar · @motifx-community/ui 0.1.0-beta.
|
|
33812
|
+
> MenuBar · @motifx-community/ui 0.1.0-beta.17
|
|
33813
33813
|
|
|
33814
33814
|
Every prop, property, method and event of `MenuBar` and `ContextMenu`, the fields of a menu item, and the styling hooks and tokens.
|
|
33815
33815
|
|
|
@@ -33957,7 +33957,7 @@ Loading issues…
|
|
|
33957
33957
|
|
|
33958
33958
|
# Toolbar
|
|
33959
33959
|
|
|
33960
|
-
> Toolbar · @motifx-community/ui 0.1.0-beta.
|
|
33960
|
+
> Toolbar · @motifx-community/ui 0.1.0-beta.17
|
|
33961
33961
|
|
|
33962
33962
|
A command bar that holds buttons, toggle buttons, menus and fields, organized in groups with separators. The toolbar is a single Tab stop, and the arrow keys move between its controls. Items that do not fit move into an overflow menu at the end. You can define items as data, as JSX children, or both. The user can arrange a toolbar and send commands to it from the menus of the page ([Customization](toolbar-customization.md)); every prop, method and event is in the [API reference](toolbar-api.md).
|
|
33963
33963
|
|
|
@@ -34379,7 +34379,7 @@ export default function SizeAndOrientation() {
|
|
|
34379
34379
|
|
|
34380
34380
|
# Toolbar: Customization
|
|
34381
34381
|
|
|
34382
|
-
> Toolbar · @motifx-community/ui 0.1.0-beta.
|
|
34382
|
+
> Toolbar · @motifx-community/ui 0.1.0-beta.17
|
|
34383
34383
|
|
|
34384
34384
|
With `customizable`, the user arranges a toolbar: hides, moves and renames its items, adds commands and separators, chooses what a button shows, sends commands to it from the menus of the page, and changes keyboard shortcuts. The items you give stay as they are; what the user changed is one object for the app to save.
|
|
34385
34385
|
|
|
@@ -34644,7 +34644,7 @@ export default function SendToToolbar() {
|
|
|
34644
34644
|
|
|
34645
34645
|
# Toolbar: API reference
|
|
34646
34646
|
|
|
34647
|
-
> Toolbar · @motifx-community/ui 0.1.0-beta.
|
|
34647
|
+
> Toolbar · @motifx-community/ui 0.1.0-beta.17
|
|
34648
34648
|
|
|
34649
34649
|
Every prop, property, method and event of `Toolbar`, and the fields of its items.
|
|
34650
34650
|
|
|
@@ -34728,7 +34728,7 @@ Loading issues…
|
|
|
34728
34728
|
|
|
34729
34729
|
# AppMenu
|
|
34730
34730
|
|
|
34731
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
34731
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.17
|
|
34732
34732
|
|
|
34733
34733
|
The main menu of an application. It slides in from the start edge with a list of items, and each item shows its own page beside the list or runs a command. The menu holds nothing of its own: the items, the pages and the commands are given by the application.
|
|
34734
34734
|
|
|
@@ -34882,7 +34882,7 @@ Loading issues…
|
|
|
34882
34882
|
|
|
34883
34883
|
# AppMenu: Slots and search
|
|
34884
34884
|
|
|
34885
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
34885
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.17
|
|
34886
34886
|
|
|
34887
34887
|
The list can hold the app’s own content above and under its items, such as the user’s name or the version, and a search that narrows a long list as the user types.
|
|
34888
34888
|
|
|
@@ -34952,7 +34952,7 @@ Loading issues…
|
|
|
34952
34952
|
|
|
34953
34953
|
# AppMenu: Programmatic changes
|
|
34954
34954
|
|
|
34955
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
34955
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.17
|
|
34956
34956
|
|
|
34957
34957
|
Items can be added, removed, moved and changed at any time, by their keys. Items that stay keep their place, and pages that were opened keep their state.
|
|
34958
34958
|
|
|
@@ -35032,7 +35032,7 @@ Loading issues…
|
|
|
35032
35032
|
|
|
35033
35033
|
# AppMenu: API reference
|
|
35034
35034
|
|
|
35035
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
35035
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.17
|
|
35036
35036
|
|
|
35037
35037
|
Everything `AppMenu` takes, offers and reports. Every prop is also a settable property, and a function is followed.
|
|
35038
35038
|
|
|
@@ -35119,7 +35119,7 @@ Loading issues…
|
|
|
35119
35119
|
|
|
35120
35120
|
# TabDocumentManager
|
|
35121
35121
|
|
|
35122
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
35122
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
35123
35123
|
|
|
35124
35124
|
A document manager that arranges content the way code editors arrange files: documents in tabs, tabs in groups, and groups split side by side or one above the other. A document's content can be any component, such as a form, a grid or plain text, and it is moved rather than recreated when its tab goes to another group. Every user action is also a method, with a cancelable event before it and a notification after it, and the whole layout can be saved to JSON and restored. Preview and pinned tabs, sizes and copies are covered in [Tabs](tabdocs-tabs.md), and context menus, lists and keyboard shortcuts in [Menus and keys](tabdocs-menus.md).
|
|
35125
35125
|
|
|
@@ -36015,7 +36015,7 @@ export default function SaveRestore() {
|
|
|
36015
36015
|
|
|
36016
36016
|
# TabDocumentManager: Tabs
|
|
36017
36017
|
|
|
36018
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
36018
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
36019
36019
|
|
|
36020
36020
|
Tabs that behave as they do in code editors: preview tabs replaced by the next preview, pinned tabs that stay at the start, tabs that shrink, wrap or scroll, counts and colors, and the same document open in two groups.
|
|
36021
36021
|
|
|
@@ -36853,7 +36853,7 @@ export default function Duplicates() {
|
|
|
36853
36853
|
|
|
36854
36854
|
# TabDocumentManager: Menus and keys
|
|
36855
36855
|
|
|
36856
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
36856
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
36857
36857
|
|
|
36858
36858
|
The commands around tabs: context menus on tabs and on the empty strip, a searchable list of a group's documents, application toolbar buttons, the recently used list, back and forward, reopening closed documents, locked groups, and keyboard shortcuts for all of them.
|
|
36859
36859
|
|
|
@@ -37550,7 +37550,7 @@ export function customerCard(customer: Customer): ComponentBase {
|
|
|
37550
37550
|
|
|
37551
37551
|
# TabDocumentManager: Drag and drop
|
|
37552
37552
|
|
|
37553
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
37553
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
37554
37554
|
|
|
37555
37555
|
Drag tabs and whole groups as you would in a code editor: along a strip, to another group, beside a group, along an edge of the layout, or between two managers. The same moves are available from the keyboard, and every drop goes through the methods and events of the action it performs.
|
|
37556
37556
|
|
|
@@ -38112,7 +38112,7 @@ export default function MoveWithKeys() {
|
|
|
38112
38112
|
|
|
38113
38113
|
# TabDocumentManager: Dock and floating windows
|
|
38114
38114
|
|
|
38115
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
38115
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
38116
38116
|
|
|
38117
38117
|
Documents and whole groups can float in their own windows within the page, and dock again into document groups or into dock areas around them, which can collapse to the edge of the manager. The mouse, the keyboard and the API all perform the same actions through the same events.
|
|
38118
38118
|
|
|
@@ -38997,7 +38997,7 @@ export function customerCard(customer: Customer): ComponentBase {
|
|
|
38997
38997
|
|
|
38998
38998
|
# TabDocumentManager: New windows
|
|
38999
38999
|
|
|
39000
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
39000
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
39001
39001
|
|
|
39002
39002
|
A document, a group or a floating window can move into its own browser window and back. Its content moves with it without being recreated, and the new window is part of the same manager, so its tabs, menus, keys and dragging work the same way.
|
|
39003
39003
|
|
|
@@ -39661,7 +39661,7 @@ export default function WindowLayout() {
|
|
|
39661
39661
|
|
|
39662
39662
|
# TabDocumentManager: Tablet and phone
|
|
39663
39663
|
|
|
39664
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
39664
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
39665
39665
|
|
|
39666
39666
|
On tablets and phones, a layout of groups, splits and dock areas does not fit as designed. The manager keeps the layout and changes how it is presented: the documents, groups, areas and saved JSON stay the same, and content is moved rather than recreated. The presentation depends on the manager's own width rather than the device, and on touch screens its tabs and buttons are larger.
|
|
39667
39667
|
|
|
@@ -39946,7 +39946,7 @@ Loading issues…
|
|
|
39946
39946
|
|
|
39947
39947
|
# TabDocumentManager: A whole workspace
|
|
39948
39948
|
|
|
39949
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
39949
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.17
|
|
39950
39950
|
|
|
39951
39951
|
A complete screen built from kit components: a menu bar, the manager, a DataGrid with every feature enabled, forms, and a tool docked at the bottom. Each part is the same component documented on its own page, and the manager simply hosts them.
|
|
39952
39952
|
|
|
@@ -40363,7 +40363,7 @@ export function customerCard(customer: Customer): ComponentBase {
|
|
|
40363
40363
|
|
|
40364
40364
|
# Scheduler
|
|
40365
40365
|
|
|
40366
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
40366
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
40367
40367
|
|
|
40368
40368
|
A full-featured calendar for appointments across days and hours. It provides day, week, work week and month views, all-day and multi-day bars, side-by-side display of overlapping appointments, and a "+N more" link when a day is full. Appointments can come from an array or a data source, and every setting can change at runtime.
|
|
40369
40369
|
|
|
@@ -40963,7 +40963,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
|
|
|
40963
40963
|
|
|
40964
40964
|
# Scheduler: Editing
|
|
40965
40965
|
|
|
40966
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
40966
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
40967
40967
|
|
|
40968
40968
|
Users can add, move, resize, copy and delete appointments with the pointer and the keyboard, and you can do the same programmatically. Every change raises its event first, can wait for a server, and is reverted if saving fails.
|
|
40969
40969
|
|
|
@@ -41516,7 +41516,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
|
|
|
41516
41516
|
|
|
41517
41517
|
# Scheduler: Recurrence and time zones
|
|
41518
41518
|
|
|
41519
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
41519
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
41520
41520
|
|
|
41521
41521
|
Recurring appointments based on RFC 5545 rules, with exceptions and individually edited occurrences, a prompt that asks what a change should apply to, a recurrence editor, and time zone support that handles daylight saving time.
|
|
41522
41522
|
|
|
@@ -41944,7 +41944,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
|
|
|
41944
41944
|
|
|
41945
41945
|
# Scheduler: Resources and groups
|
|
41946
41946
|
|
|
41947
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
41947
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
41948
41948
|
|
|
41949
41949
|
Resources such as rooms, people and equipment can color appointments, divide columns into groups (nested or under each date), and define when each resource is available and when time is blocked.
|
|
41950
41950
|
|
|
@@ -42654,7 +42654,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
|
|
|
42654
42654
|
|
|
42655
42655
|
# Scheduler: The appointment form
|
|
42656
42656
|
|
|
42657
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
42657
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
42658
42658
|
|
|
42659
42659
|
Configure the appointment form without handling events. You can choose its fields and their order, arrange them in groups and tabs, use custom editors, add validation per field, and show or lock fields for specific appointments. You can also replace the form with your own.
|
|
42660
42660
|
|
|
@@ -43293,7 +43293,7 @@ export default function OwnForm() {
|
|
|
43293
43293
|
|
|
43294
43294
|
# Scheduler: Timeline
|
|
43295
43295
|
|
|
43296
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
43296
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
43297
43297
|
|
|
43298
43298
|
Displays one row per resource, with time running along the row, for a day, a week, a work week or a month. Appointments at the same time stack within a row, and the row grows to fit them.
|
|
43299
43299
|
|
|
@@ -43933,7 +43933,7 @@ export default function TimelineTemplates() {
|
|
|
43933
43933
|
|
|
43934
43934
|
# Scheduler: Agenda
|
|
43935
43935
|
|
|
43936
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
43936
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
43937
43937
|
|
|
43938
43938
|
Displays upcoming days as a list, with each day's appointments in time order. Days without appointments are omitted.
|
|
43939
43939
|
|
|
@@ -44538,7 +44538,7 @@ export default function AgendaTemplates() {
|
|
|
44538
44538
|
|
|
44539
44539
|
# Scheduler: Big data
|
|
44540
44540
|
|
|
44541
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
44541
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
44542
44542
|
|
|
44543
44543
|
Handles thousands of resources and appointments. The scheduler renders only what is visible, and recalculates the layout only for what has changed.
|
|
44544
44544
|
|
|
@@ -44799,7 +44799,7 @@ export default function BigWeek() {
|
|
|
44799
44799
|
|
|
44800
44800
|
# Scheduler: Tablet and phone
|
|
44801
44801
|
|
|
44802
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
44802
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
44803
44803
|
|
|
44804
44804
|
On tablets and phones, the scheduler keeps its appointments, views and date, and changes how it presents them. On a phone, it shows the agenda, a compact toolbar and bottom sheets. Touch gestures can lift and resize appointments, swipe between days, and pinch to zoom.
|
|
44805
44805
|
|
|
@@ -45471,7 +45471,7 @@ export default function Touch() {
|
|
|
45471
45471
|
|
|
45472
45472
|
# Scheduler: iCalendar and print
|
|
45473
45473
|
|
|
45474
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
45474
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.17
|
|
45475
45475
|
|
|
45476
45476
|
Exports appointments to an iCalendar file (RFC 5545) and imports them back, for use with other calendar applications. The scheduler can also be printed.
|
|
45477
45477
|
|
|
@@ -46070,7 +46070,7 @@ export function sampleAppointments(): Meeting[] {
|
|
|
46070
46070
|
|
|
46071
46071
|
# DataGrid
|
|
46072
46072
|
|
|
46073
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
46073
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
46074
46074
|
|
|
46075
46075
|
A grid for data entry and large data sets. Rows can be in memory or come from any data layer adapter, and can be displayed in a virtual list or in pages. It supports sorting, column layout, editing with kit editors, new rows with Tab navigation, three save modes, row actions, selection, filters, a search panel, grouping, summaries, a toolbar, lookup columns from other services, copy and paste, export, and a persistent layout. Every feature can be disabled for the grid or for a single column.
|
|
46076
46076
|
|
|
@@ -46440,7 +46440,7 @@ export default function Pager() {
|
|
|
46440
46440
|
|
|
46441
46441
|
# DataGrid: Editing
|
|
46442
46442
|
|
|
46443
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
46443
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
46444
46444
|
|
|
46445
46445
|
## Editing and save modes
|
|
46446
46446
|
|
|
@@ -47091,7 +47091,7 @@ export default function BarActions() {
|
|
|
47091
47091
|
|
|
47092
47092
|
# DataGrid: Edit forms and popups
|
|
47093
47093
|
|
|
47094
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
47094
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
47095
47095
|
|
|
47096
47096
|
## Edit forms and popups
|
|
47097
47097
|
|
|
@@ -47501,7 +47501,7 @@ export default function ValidationRules() {
|
|
|
47501
47501
|
|
|
47502
47502
|
# DataGrid: Filtering and search
|
|
47503
47503
|
|
|
47504
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
47504
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
47505
47505
|
|
|
47506
47506
|
## Filters
|
|
47507
47507
|
|
|
@@ -48077,7 +48077,7 @@ export function makeCustomers(n: number): Customer[] {
|
|
|
48077
48077
|
|
|
48078
48078
|
# DataGrid: Lookup columns
|
|
48079
48079
|
|
|
48080
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
48080
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
48081
48081
|
|
|
48082
48082
|
## Lookup columns
|
|
48083
48083
|
|
|
@@ -48451,7 +48451,7 @@ export default function TextFrom() {
|
|
|
48451
48451
|
|
|
48452
48452
|
# DataGrid: Grouping and summaries
|
|
48453
48453
|
|
|
48454
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
48454
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
48455
48455
|
|
|
48456
48456
|
## Grouping
|
|
48457
48457
|
|
|
@@ -48938,7 +48938,7 @@ export default function SummariesServer() {
|
|
|
48938
48938
|
|
|
48939
48939
|
# DataGrid: Master-detail
|
|
48940
48940
|
|
|
48941
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
48941
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
48942
48942
|
|
|
48943
48943
|
## Master-detail
|
|
48944
48944
|
|
|
@@ -49272,7 +49272,7 @@ export default function DetailTabs() {
|
|
|
49272
49272
|
|
|
49273
49273
|
# DataGrid: Bands and adaptive columns
|
|
49274
49274
|
|
|
49275
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
49275
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
49276
49276
|
|
|
49277
49277
|
## Band headers
|
|
49278
49278
|
|
|
@@ -49597,7 +49597,7 @@ export default function AdaptiveColumns() {
|
|
|
49597
49597
|
|
|
49598
49598
|
# DataGrid: Selection and export
|
|
49599
49599
|
|
|
49600
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
49600
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
49601
49601
|
|
|
49602
49602
|
## Selection
|
|
49603
49603
|
|
|
@@ -50204,7 +50204,7 @@ export default function PdfExport() {
|
|
|
50204
50204
|
|
|
50205
50205
|
# DataGrid: Row drag and drop
|
|
50206
50206
|
|
|
50207
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
50207
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
50208
50208
|
|
|
50209
50209
|
## Reorder rows
|
|
50210
50210
|
|
|
@@ -50553,7 +50553,7 @@ export default function RowDragBetween() {
|
|
|
50553
50553
|
|
|
50554
50554
|
# DataGrid: Selecting by dragging
|
|
50555
50555
|
|
|
50556
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
50556
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
50557
50557
|
|
|
50558
50558
|
## Rows
|
|
50559
50559
|
|
|
@@ -50887,7 +50887,7 @@ export default function CellRanges() {
|
|
|
50887
50887
|
|
|
50888
50888
|
# DataGrid: Scrolling
|
|
50889
50889
|
|
|
50890
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
50890
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
50891
50891
|
|
|
50892
50892
|
## Scrolling modes
|
|
50893
50893
|
|
|
@@ -51243,7 +51243,7 @@ export default function InfiniteGroups() {
|
|
|
51243
51243
|
|
|
51244
51244
|
# DataGrid: Layout and events
|
|
51245
51245
|
|
|
51246
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
51246
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
51247
51247
|
|
|
51248
51248
|
## Toolbar
|
|
51249
51249
|
|
|
@@ -51791,7 +51791,7 @@ export default function Events() {
|
|
|
51791
51791
|
|
|
51792
51792
|
# DataGrid: API reference
|
|
51793
51793
|
|
|
51794
|
-
> DataGrid · @motifx-community/ui 0.1.0-beta.
|
|
51794
|
+
> DataGrid · @motifx-community/ui 0.1.0-beta.17
|
|
51795
51795
|
|
|
51796
51796
|
## Columns
|
|
51797
51797
|
|
|
@@ -52219,7 +52219,7 @@ export interface Order {
|
|
|
52219
52219
|
|
|
52220
52220
|
# PivotGrid
|
|
52221
52221
|
|
|
52222
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
52222
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
52223
52223
|
|
|
52224
52224
|
A pivot table: rows summed up by row fields down the side and column fields across the top, with a value of every data field where they cross and totals for every member. The data layer computes it (`loadPivot`), in the browser for rows in memory or on the server where the adapter can. Members open and close, and the table draws only the rows and columns in view.
|
|
52225
52225
|
|
|
@@ -52518,7 +52518,7 @@ export default function Large() {
|
|
|
52518
52518
|
|
|
52519
52519
|
# PivotGrid: Fields and areas
|
|
52520
52520
|
|
|
52521
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
52521
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
52522
52522
|
|
|
52523
52523
|
A field is a value of the rows placed in an area. Its place, its levels, the order and filter of its members, and how a data field sums up its rows are all set on the field; the summaries and what a data field shows of them are on [Summaries and display](pivotgrid-summaries.md).
|
|
52524
52524
|
|
|
@@ -52767,7 +52767,7 @@ export default function Computed() {
|
|
|
52767
52767
|
|
|
52768
52768
|
# PivotGrid: Totals and layout
|
|
52769
52769
|
|
|
52770
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
52770
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
52771
52771
|
|
|
52772
52772
|
How the result is laid out: the totals and where they stand, the empty rows and columns, the row headers as a tree or in columns, where several data fields run, which members are open, the menu of the headers and cells, and what a data cell shows. Changing these settings lays the last result out again without loading it.
|
|
52773
52773
|
|
|
@@ -53434,7 +53434,7 @@ export default function Cells() {
|
|
|
53434
53434
|
|
|
53435
53435
|
# PivotGrid: Summaries and display
|
|
53436
53436
|
|
|
53437
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
53437
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
53438
53438
|
|
|
53439
53439
|
A data field sums up the rows of each cell. It shows that value as it is, or as a share of a total or of its parent, a change from the member before, a running total, or a calculation of your own.
|
|
53440
53440
|
|
|
@@ -53768,7 +53768,7 @@ export default function OwnCalculation() {
|
|
|
53768
53768
|
|
|
53769
53769
|
# PivotGrid: Field panel and chooser
|
|
53770
53770
|
|
|
53771
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
53771
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
53772
53772
|
|
|
53773
53773
|
The user arranges the fields: in the field panel over the table, where each kind of field has an area of chips. What the user changes is laid over `fields`; `arrangedFields` reads it, `fieldOption` reads and writes it from code, and `onFieldsChanged` tells every change.
|
|
53774
53774
|
|
|
@@ -53995,7 +53995,7 @@ export default function FieldChooser() {
|
|
|
53995
53995
|
|
|
53996
53996
|
# PivotGrid: Sorting and filtering
|
|
53997
53997
|
|
|
53998
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
53998
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
53999
53999
|
|
|
54000
54000
|
Members stand in the order of their values, their texts, a function of the app's or a data field's totals, and a pivot sums up only the rows its fields keep: given from code, or chosen by the user in a field's header filter.
|
|
54001
54001
|
|
|
@@ -54378,7 +54378,7 @@ export default function FilterItems() {
|
|
|
54378
54378
|
|
|
54379
54379
|
# PivotGrid: State and selection
|
|
54380
54380
|
|
|
54381
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
54381
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
54382
54382
|
|
|
54383
54383
|
What the user arranges and opens, kept in the browser or saved and given back from code, and the cells the user selects and copies to a spreadsheet.
|
|
54384
54384
|
|
|
@@ -54627,7 +54627,7 @@ export default function Selection() {
|
|
|
54627
54627
|
|
|
54628
54628
|
# PivotGrid: Remote data
|
|
54629
54629
|
|
|
54630
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
54630
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
54631
54631
|
|
|
54632
54632
|
A pivot a server computes is read from it: the members open, or, where the server computes the parts of pivots too, only what the view reaches as it scrolls, so a large result never comes whole.
|
|
54633
54633
|
|
|
@@ -55106,7 +55106,7 @@ self.onmessage = (e: MessageEvent<{ id: number; body: string }>) => {
|
|
|
55106
55106
|
|
|
55107
55107
|
# PivotGrid: Drill-down
|
|
55108
55108
|
|
|
55109
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
55109
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
55110
55110
|
|
|
55111
55111
|
A cell sums up rows. `drillDown` gives them as a filter and as a data source: for a `DataGrid` in a window, a report, or rows to export.
|
|
55112
55112
|
|
|
@@ -55252,7 +55252,7 @@ export function makeSales(count: number): Sale[] {
|
|
|
55252
55252
|
|
|
55253
55253
|
# PivotGrid: Chart
|
|
55254
55254
|
|
|
55255
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
55255
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
55256
55256
|
|
|
55257
55257
|
`chartData` gives the kit's `Chart` what a pivot shows: its rows and series follow the pivot as it loads, as a member opens or closes, and as it is arranged anew. The chart knows nothing of the pivot.
|
|
55258
55258
|
|
|
@@ -55388,7 +55388,7 @@ export function makeSales(count: number): Sale[] {
|
|
|
55388
55388
|
|
|
55389
55389
|
# PivotGrid: Export
|
|
55390
55390
|
|
|
55391
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
55391
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
55392
55392
|
|
|
55393
55393
|
A pivot exports what it shows, whole: the line of every open member, read in full where the pivot is read in parts. It writes CSV itself; Excel and PDF are written by the kit's `excel` and `pdf` entries, with the ExcelJS and jsPDF your application brings.
|
|
55394
55394
|
|
|
@@ -55599,7 +55599,7 @@ export function makeSales(count: number): Sale[] {
|
|
|
55599
55599
|
|
|
55600
55600
|
# PivotGrid: Keyboard and accessibility
|
|
55601
55601
|
|
|
55602
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
55602
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
55603
55603
|
|
|
55604
55604
|
The pivot is one Tab stop; the arrow keys move between its cells and headers, and Enter opens a member. Each cell has a name a screen reader reads in full, and every string comes from the kit's language.
|
|
55605
55605
|
|
|
@@ -55826,7 +55826,7 @@ export default function RightToLeft() {
|
|
|
55826
55826
|
|
|
55827
55827
|
# PivotGrid: API reference
|
|
55828
55828
|
|
|
55829
|
-
> PivotGrid · @motifx-community/ui 0.1.0-beta.
|
|
55829
|
+
> PivotGrid · @motifx-community/ui 0.1.0-beta.17
|
|
55830
55830
|
|
|
55831
55831
|
## Props
|
|
55832
55832
|
|
|
@@ -56010,7 +56010,7 @@ Loading issues…
|
|
|
56010
56010
|
|
|
56011
56011
|
# Diagram
|
|
56012
56012
|
|
|
56013
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
56013
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
56014
56014
|
|
|
56015
56015
|
Nodes and the connections between them on a surface that the user pans and zooms. The user draws connections between the ports of nodes and moves their ends. The diagram is only the surface: toolbars and menus belong to the app, which uses the diagram’s methods.
|
|
56016
56016
|
|
|
@@ -56027,7 +56027,8 @@ Each node has an `id` and a position in diagram units. A node without a size tak
|
|
|
56027
56027
|
```tsx
|
|
56028
56028
|
import { Diagram, type DiagramEdge, type DiagramNode } from '@motifx-community/ui';
|
|
56029
56029
|
|
|
56030
|
-
|
|
56030
|
+
/** The nodes and connections each time the example is shown: the diagram changes the arrays it is given. */
|
|
56031
|
+
const nodes = (): DiagramNode[] => [
|
|
56031
56032
|
{ id: 'order', x: 0, y: 90, text: 'Order received' },
|
|
56032
56033
|
{ id: 'stock', x: 220, y: 0, text: 'Check the stock' },
|
|
56033
56034
|
{ id: 'payment', x: 220, y: 180, text: 'Take the payment' },
|
|
@@ -56035,7 +56036,7 @@ const NODES: DiagramNode[] = [
|
|
|
56035
56036
|
{ id: 'notify', x: 680, y: 70, width: 170, text: 'Send the tracking number to the customer' },
|
|
56036
56037
|
];
|
|
56037
56038
|
|
|
56038
|
-
const
|
|
56039
|
+
const edges = (): DiagramEdge[] => [
|
|
56039
56040
|
{ id: 'e1', source: 'order', target: 'stock' },
|
|
56040
56041
|
{ id: 'e2', source: 'order', target: 'payment' },
|
|
56041
56042
|
{ id: 'e3', source: 'stock', target: 'ship', label: 'In stock' },
|
|
@@ -56045,7 +56046,7 @@ const EDGES: DiagramEdge[] = [
|
|
|
56045
56046
|
|
|
56046
56047
|
/** Nodes and the connections between them, fitted into view once they are laid out. */
|
|
56047
56048
|
export default function Basic() {
|
|
56048
|
-
return <Diagram class="diagram-basic" label="Order flow" autoFit nodes={
|
|
56049
|
+
return <Diagram class="diagram-basic" label="Order flow" autoFit nodes={nodes()} edges={edges()} />;
|
|
56049
56050
|
}
|
|
56050
56051
|
```
|
|
56051
56052
|
|
|
@@ -56057,7 +56058,8 @@ export default function Basic() {
|
|
|
56057
56058
|
import { reactive } from '@motifx/core';
|
|
56058
56059
|
import { Button, ButtonGroup, Diagram, Stack, type DiagramBackground, type DiagramNode, type DiagramViewport } from '@motifx-community/ui';
|
|
56059
56060
|
|
|
56060
|
-
|
|
56061
|
+
/** The nodes each time the example is shown: the diagram changes the array it is given. */
|
|
56062
|
+
const nodes = (): DiagramNode[] => Array.from({ length: 12 }, (_, i) => ({ id: `step-${i + 1}`, x: (i % 4) * 220, y: Math.floor(i / 4) * 140, text: `Step ${i + 1}` }));
|
|
56061
56063
|
|
|
56062
56064
|
/** The view moved from code: zoom, fit and center on a node, each gliding there; the marks of the surface. */
|
|
56063
56065
|
export default function View() {
|
|
@@ -56077,7 +56079,7 @@ export default function View() {
|
|
|
56077
56079
|
ref={(d: Diagram) => (diagram = d)}
|
|
56078
56080
|
label="Steps"
|
|
56079
56081
|
autoFit
|
|
56080
|
-
nodes={
|
|
56082
|
+
nodes={nodes()}
|
|
56081
56083
|
background={() => s.background as DiagramBackground}
|
|
56082
56084
|
onViewportChanged={(e) => (s.viewport = e.viewport)}
|
|
56083
56085
|
/>
|
|
@@ -56094,7 +56096,8 @@ export default function View() {
|
|
|
56094
56096
|
```tsx
|
|
56095
56097
|
import { Diagram, type DiagramNode } from '@motifx-community/ui';
|
|
56096
56098
|
|
|
56097
|
-
|
|
56099
|
+
/** The nodes each time the example is shown: the diagram changes the array it is given. */
|
|
56100
|
+
const nodes = (): DiagramNode[] => [
|
|
56098
56101
|
{ id: 'north', x: 160, y: 0, text: 'North' },
|
|
56099
56102
|
{ id: 'west', x: 0, y: 120, text: 'West' },
|
|
56100
56103
|
{ id: 'east', x: 320, y: 120, text: 'East' },
|
|
@@ -56103,7 +56106,7 @@ const NODES: DiagramNode[] = [
|
|
|
56103
56106
|
|
|
56104
56107
|
/** The view stays over the nodes' area, between half and twice the actual size. */
|
|
56105
56108
|
export default function Limits() {
|
|
56106
|
-
return <Diagram class="diagram-limits" label="Compass" autoFit nodes={
|
|
56109
|
+
return <Diagram class="diagram-limits" label="Compass" autoFit nodes={nodes()} minZoom={0.5} maxZoom={2} bounds={{ x: -80, y: -80, width: 600, height: 440 }} background="lines" />;
|
|
56107
56110
|
}
|
|
56108
56111
|
```
|
|
56109
56112
|
|
|
@@ -56231,7 +56234,7 @@ Loading issues…
|
|
|
56231
56234
|
|
|
56232
56235
|
# Diagram: Connections
|
|
56233
56236
|
|
|
56234
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
56237
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
56235
56238
|
|
|
56236
56239
|
Connections run from an output of a node to an input of another. The user draws them from the ports and moves their ends, and the diagram holds every connection to its rules.
|
|
56237
56240
|
|
|
@@ -56243,7 +56246,8 @@ Connections run from an output of a node to an input of another. The user draws
|
|
|
56243
56246
|
import { reactive } from '@motifx/core';
|
|
56244
56247
|
import { ButtonGroup, Diagram, Stack, type DiagramEdge, type DiagramEdgePath, type DiagramNode } from '@motifx-community/ui';
|
|
56245
56248
|
|
|
56246
|
-
|
|
56249
|
+
/** The nodes and connections each time the example is shown: the diagram changes the arrays it is given. */
|
|
56250
|
+
const nodes = (): DiagramNode[] => [
|
|
56247
56251
|
{ id: 'a', x: 0, y: 0, text: 'Arrow' },
|
|
56248
56252
|
{ id: 'b', x: 260, y: 90, text: 'Open arrow' },
|
|
56249
56253
|
{ id: 'c', x: 0, y: 200, text: 'Circle' },
|
|
@@ -56252,7 +56256,7 @@ const NODES: DiagramNode[] = [
|
|
|
56252
56256
|
{ id: 'f', x: 520, y: 290, text: 'No marks' },
|
|
56253
56257
|
];
|
|
56254
56258
|
|
|
56255
|
-
const
|
|
56259
|
+
const edges = (): DiagramEdge[] => [
|
|
56256
56260
|
{ id: 'ab', source: 'a', target: 'b', label: 'arrow' },
|
|
56257
56261
|
{ id: 'cb', source: 'c', target: 'b', targetMarker: 'arrow-open', label: 'arrow-open' },
|
|
56258
56262
|
{ id: 'cd', source: 'c', target: 'd', sourceMarker: 'circle', targetMarker: 'circle', label: 'circle' },
|
|
@@ -56267,7 +56271,7 @@ export default function Connections() {
|
|
|
56267
56271
|
return (
|
|
56268
56272
|
<Stack gap="md" style="inline-size: 100%">
|
|
56269
56273
|
<ButtonGroup label="Shape" items={['straight', 'curve', 'step', 'rounded-step']} x-model={() => s.path} />
|
|
56270
|
-
<Diagram class="diagram-connections" label="Shapes and marks" autoFit nodes={
|
|
56274
|
+
<Diagram class="diagram-connections" label="Shapes and marks" autoFit nodes={nodes()} edges={edges()} edgePath={() => s.path as DiagramEdgePath} background="lines" />
|
|
56271
56275
|
</Stack>
|
|
56272
56276
|
);
|
|
56273
56277
|
}
|
|
@@ -56281,7 +56285,8 @@ The ports show over a node; outputs are filled and inputs are hollow. Drag from
|
|
|
56281
56285
|
import { reactive } from '@motifx/core';
|
|
56282
56286
|
import { Diagram, Stack, type DiagramConnection, type DiagramEdge, type DiagramNode } from '@motifx-community/ui';
|
|
56283
56287
|
|
|
56284
|
-
|
|
56288
|
+
/** The nodes each time the example is shown: the diagram changes the array it is given. */
|
|
56289
|
+
const nodes = (): DiagramNode[] => [
|
|
56285
56290
|
{ id: 'orders', x: 0, y: 40, text: 'Orders', ports: [{ id: 'out', side: 'right', direction: 'source', type: 'data' }] },
|
|
56286
56291
|
{ id: 'clicks', x: 0, y: 200, text: 'Clicks', ports: [{ id: 'out', side: 'right', direction: 'source', type: 'event' }] },
|
|
56287
56292
|
{
|
|
@@ -56312,7 +56317,7 @@ export default function Connecting() {
|
|
|
56312
56317
|
class="diagram-connecting"
|
|
56313
56318
|
label="Data flow"
|
|
56314
56319
|
autoFit
|
|
56315
|
-
nodes={
|
|
56320
|
+
nodes={nodes()}
|
|
56316
56321
|
edges={edges}
|
|
56317
56322
|
edgePath="rounded-step"
|
|
56318
56323
|
canConnect={(c: DiagramConnection) => c.source !== c.target}
|
|
@@ -56392,7 +56397,7 @@ Loading issues…
|
|
|
56392
56397
|
|
|
56393
56398
|
# Diagram: Nodes and styles
|
|
56394
56399
|
|
|
56395
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
56400
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
56396
56401
|
|
|
56397
56402
|
What a node holds and how it looks: kinds of node of the app’s own with any control of the kit inside, groups, lanes and notes, resizing, and the app’s own classes and styles on top of the design tokens.
|
|
56398
56403
|
|
|
@@ -56602,7 +56607,7 @@ Loading issues…
|
|
|
56602
56607
|
|
|
56603
56608
|
# Diagram: Custom nodes
|
|
56604
56609
|
|
|
56605
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
56610
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
56606
56611
|
|
|
56607
56612
|
A node of the app’s own is a node kind: the node names it in `kind`, and the diagram’s `kinds` says what the nodes of that kind hold, which ports they have, how they look and how large they are. These recipes build kinds step by step, from a card that shows data to nodes with controls, ports of their own and content made without JSX.
|
|
56608
56613
|
|
|
@@ -56931,7 +56936,7 @@ Loading issues…
|
|
|
56931
56936
|
|
|
56932
56937
|
# Diagram: Tables and classes
|
|
56933
56938
|
|
|
56934
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
56939
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
56935
56940
|
|
|
56936
56941
|
Table (entity relationship) and class diagrams with the built-in `table` and `class` kinds, the marks their connections end with, and texts at the ends of a connection.
|
|
56937
56942
|
|
|
@@ -57147,7 +57152,7 @@ Loading issues…
|
|
|
57147
57152
|
|
|
57148
57153
|
# Diagram: Flow nodes
|
|
57149
57154
|
|
|
57150
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
57155
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
57151
57156
|
|
|
57152
57157
|
The pieces of a flow designer: the card, a kind of node to start one’s own from, ports with labels, the status a run shows on each node, and the connections of a node and the nodes at their other ends, for an app that walks the flow.
|
|
57153
57158
|
|
|
@@ -57155,6 +57160,8 @@ The pieces of a flow designer: the card, a kind of node to start one’s own fro
|
|
|
57155
57160
|
|
|
57156
57161
|
The steps are cards. Run walks the flow: each step is `running`, then `done`, and the next steps are the nodes its connections go to (`nodesOf`); a decision goes out by the port of its answer, and the way it does not take is `skipped`.
|
|
57157
57162
|
|
|
57163
|
+
The connection the run takes shows a status of its own: `setEdgeStatus`, the twin of `setNodeStatus`, paints its line and its marks in the status’s color, unless the connection has a `color` of its own, moves the line while it is `running`, dashes it while `waiting` and fades it when `skipped`. `statusText` stands in the line’s tip, such as how many rows went along, and a screen reader hears the status with the connection’s two nodes.
|
|
57164
|
+
|
|
57158
57165
|
```tsx
|
|
57159
57166
|
import { reactive } from '@motifx/core';
|
|
57160
57167
|
import { Button, Diagram, Stack, cardKind, type DiagramCardNode, type DiagramEdge, type DiagramNodeKind } from '@motifx-community/ui';
|
|
@@ -57162,7 +57169,7 @@ import { Button, Diagram, Stack, cardKind, type DiagramCardNode, type DiagramEdg
|
|
|
57162
57169
|
/** A glyph of the kit, drawn by the design language in use. */
|
|
57163
57170
|
const glyph = (name: string) => <span class="mx-glyph" data-icon={name} aria-hidden="true" />;
|
|
57164
57171
|
|
|
57165
|
-
/** A run through a flow of cards: each step
|
|
57172
|
+
/** A run through a flow of cards: each step and the connection the run takes show their statuses, and the next steps are the nodes its connections go to. */
|
|
57166
57173
|
export default function FlowRun() {
|
|
57167
57174
|
const s = reactive({ said: 'Run the flow to see each step take its status.', running: false, answer: 'yes' as 'yes' | 'no' });
|
|
57168
57175
|
|
|
@@ -57203,6 +57210,7 @@ export default function FlowRun() {
|
|
|
57203
57210
|
const run = async () => {
|
|
57204
57211
|
s.running = true;
|
|
57205
57212
|
for (const node of nodes) diagram.setNodeStatus(node.id, 'waiting');
|
|
57213
|
+
for (const edge of edges) diagram.setEdgeStatus(edge.id, 'waiting');
|
|
57206
57214
|
let at: DiagramCardNode | undefined = nodes[0];
|
|
57207
57215
|
while (at) {
|
|
57208
57216
|
diagram.setNodeStatus(at.id, 'running');
|
|
@@ -57211,8 +57219,20 @@ export default function FlowRun() {
|
|
|
57211
57219
|
diagram.setNodeStatus(at.id, 'done', at.id === 'query' ? '3 rows' : undefined);
|
|
57212
57220
|
// A decision goes out by the port of its answer, and the ways it does not take are skipped.
|
|
57213
57221
|
const decision = at.kind === 'decision';
|
|
57214
|
-
const
|
|
57215
|
-
|
|
57222
|
+
const port = decision ? s.answer : undefined;
|
|
57223
|
+
const next = diagram.nodesOf(at.id, { direction: 'out', port });
|
|
57224
|
+
if (decision) {
|
|
57225
|
+
for (const other of diagram.nodesOf(at.id, { direction: 'out' })) if (!next.includes(other)) diagram.setNodeStatus(other.id, 'skipped');
|
|
57226
|
+
for (const edge of diagram.edgesOf(at.id, { direction: 'out' })) if (edge.sourcePort !== port) diagram.setEdgeStatus(edge.id, 'skipped');
|
|
57227
|
+
}
|
|
57228
|
+
// The connection the run takes moves while it carries the step's result, then it is done too.
|
|
57229
|
+
const taken = next.length ? diagram.edgesOf(at.id, { direction: 'out', port }).find((edge) => edge.target === next[0].id) : undefined;
|
|
57230
|
+
if (taken) {
|
|
57231
|
+
const carried = at.id === 'query' ? '3 rows' : undefined;
|
|
57232
|
+
diagram.setEdgeStatus(taken.id, 'running', carried);
|
|
57233
|
+
await wait(400);
|
|
57234
|
+
diagram.setEdgeStatus(taken.id, 'done', carried);
|
|
57235
|
+
}
|
|
57216
57236
|
at = next[0];
|
|
57217
57237
|
}
|
|
57218
57238
|
s.said = 'The run reached the end.';
|
|
@@ -57230,6 +57250,7 @@ export default function FlowRun() {
|
|
|
57230
57250
|
disabled={() => s.running}
|
|
57231
57251
|
onclick={() => {
|
|
57232
57252
|
for (const node of nodes) diagram.setNodeStatus(node.id, null);
|
|
57253
|
+
for (const edge of edges) diagram.setEdgeStatus(edge.id, null);
|
|
57233
57254
|
s.said = 'Run the flow to see each step take its status.';
|
|
57234
57255
|
}}
|
|
57235
57256
|
/>
|
|
@@ -57295,6 +57316,7 @@ const next = diagram.nodesOf('check', { direction: 'out', port: 'yes' });
|
|
|
57295
57316
|
| Member | Returns | Description |
|
|
57296
57317
|
| --- | --- | --- |
|
|
57297
57318
|
| `setNodeStatus(id, status, text?)` | `boolean` | Shows what a node is doing; `null` takes the status away. A screen reader hears it with the node’s name. Not a step of the history. Returns whether it changed. |
|
|
57319
|
+
| `setEdgeStatus(id, status, text?)` | `boolean` | Shows what a connection is doing; `null` takes the status away. A screen reader hears it with the connection’s two nodes. Not a step of the history. Returns whether it changed. |
|
|
57298
57320
|
| `edgesOf(id, options?)` | `DiagramEdge[]` | The connections of a node: `direction` `'in'`, `'out'` or `'both'`, and `port`, a port of the node. Followed in a getter. |
|
|
57299
57321
|
| `nodesOf(id, options?)` | `DiagramNode[]` | The nodes at the other ends of those connections, each once. Followed in a getter. |
|
|
57300
57322
|
| `cardKind(options?)` | `DiagramNodeKind` | A kind of node made from the card: a header with an icon, a title and a line under it, a body of its own, and a row for each labeled port. |
|
|
@@ -57308,7 +57330,7 @@ Loading issues…
|
|
|
57308
57330
|
|
|
57309
57331
|
# Diagram: Build your own flow designer
|
|
57310
57332
|
|
|
57311
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
57333
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
57312
57334
|
|
|
57313
57335
|
A small flow designer, from a kind of step to a run of the flow: its card, the form of its settings, the data it reads from the steps before it, the checks, the definition a server reads, and the run. The designer is on this page with its code, and each section below takes one piece of it.
|
|
57314
57336
|
|
|
@@ -58128,7 +58150,7 @@ export const STEPS: Record<string, StepKind> = { orders, discount, message };
|
|
|
58128
58150
|
|
|
58129
58151
|
# Diagram: Layout, map and export
|
|
58130
58152
|
|
|
58131
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
58153
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
58132
58154
|
|
|
58133
58155
|
Placing the nodes automatically, a map of the whole diagram, saving and loading, and images of the diagram.
|
|
58134
58156
|
|
|
@@ -58486,7 +58508,7 @@ Loading issues…
|
|
|
58486
58508
|
|
|
58487
58509
|
# Diagram: Moving and selecting
|
|
58488
58510
|
|
|
58489
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
58511
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
58490
58512
|
|
|
58491
58513
|
The user moves, selects and deletes nodes and connections with the pointer and the keys, and the diagram writes every change to the app’s objects.
|
|
58492
58514
|
|
|
@@ -58498,14 +58520,15 @@ Drag a node to move it with the other selected nodes; its `x` and `y` are writte
|
|
|
58498
58520
|
import { reactive } from '@motifx/core';
|
|
58499
58521
|
import { Button, Diagram, Stack, Switch, type DiagramEdge, type DiagramNode } from '@motifx-community/ui';
|
|
58500
58522
|
|
|
58501
|
-
|
|
58523
|
+
/** The nodes and connections each time the example is shown: the diagram changes the arrays it is given. */
|
|
58524
|
+
const nodes = (): DiagramNode[] => [
|
|
58502
58525
|
{ id: 'start', x: 0, y: 100, text: 'Start' },
|
|
58503
58526
|
{ id: 'review', x: 220, y: 20, text: 'Review the request' },
|
|
58504
58527
|
{ id: 'approve', x: 220, y: 180, text: 'Approve' },
|
|
58505
58528
|
{ id: 'archive', x: 480, y: 100, text: 'Archive (fixed in place)', draggable: false },
|
|
58506
58529
|
];
|
|
58507
58530
|
|
|
58508
|
-
const
|
|
58531
|
+
const edges = (): DiagramEdge[] => [
|
|
58509
58532
|
{ id: 'e1', source: 'start', target: 'review' },
|
|
58510
58533
|
{ id: 'e2', source: 'review', target: 'approve' },
|
|
58511
58534
|
{ id: 'e3', source: 'approve', target: 'archive' },
|
|
@@ -58530,8 +58553,8 @@ export default function Editing() {
|
|
|
58530
58553
|
ref={(d: Diagram) => (diagram = d)}
|
|
58531
58554
|
label="Approval flow"
|
|
58532
58555
|
autoFit
|
|
58533
|
-
nodes={
|
|
58534
|
-
edges={
|
|
58556
|
+
nodes={nodes()}
|
|
58557
|
+
edges={edges()}
|
|
58535
58558
|
edgePath="rounded-step"
|
|
58536
58559
|
snapToGrid={() => s.snap}
|
|
58537
58560
|
onSelectionChanged={(e) => (s.told = e.nodes.length || e.edges.length ? `Selected: ${[...e.nodes.map((n) => n.text), ...e.edges.map((edge) => edge.id)].join(', ')}.` : 'Nothing selected.')}
|
|
@@ -58543,6 +58566,132 @@ export default function Editing() {
|
|
|
58543
58566
|
}
|
|
58544
58567
|
```
|
|
58545
58568
|
|
|
58569
|
+
## Clicks, menus and hovering
|
|
58570
|
+
|
|
58571
|
+
A press selects a node, and `onNodeClick` tells the click, with where it was on the page (`at`); `onEdgeClick` comes before the connection is selected, and `cancel` leaves the selection as it is. A right click on a node or a connection, or the Menu key or Shift+F10 on the one under the keys, asks for the app’s menu: open a `ContextMenu` at `e.at`, and the browser’s own menu stays closed, unless `cancel`. A double click, or Alt+Enter, is `onNodeDblClick` or `onEdgeDblClick`, and `onNodePointerEnter` and `onNodePointerLeave` follow the pointer. Here the menu renames a node (`editText`) or deletes it, a double click marks a node or a connection done, and the line under the diagram names the node under the pointer.
|
|
58572
|
+
|
|
58573
|
+
```tsx
|
|
58574
|
+
import { reactive } from '@motifx/core';
|
|
58575
|
+
import { ContextMenu, Diagram, Stack, type DiagramEdge, type DiagramNode, type MenuItem } from '@motifx-community/ui';
|
|
58576
|
+
|
|
58577
|
+
/** The nodes and connections each time the example is shown: the diagram changes the arrays it is given. */
|
|
58578
|
+
const nodes = (): DiagramNode[] => [
|
|
58579
|
+
{ id: 'draft', x: 0, y: 80, text: 'Draft' },
|
|
58580
|
+
{ id: 'review', x: 240, y: 0, text: 'Review' },
|
|
58581
|
+
{ id: 'check', x: 240, y: 160, text: 'Check the sources' },
|
|
58582
|
+
{ id: 'publish', x: 480, y: 80, text: 'Publish' },
|
|
58583
|
+
];
|
|
58584
|
+
|
|
58585
|
+
const edges = (): DiagramEdge[] => [
|
|
58586
|
+
{ id: 'e1', source: 'draft', target: 'review' },
|
|
58587
|
+
{ id: 'e2', source: 'draft', target: 'check' },
|
|
58588
|
+
{ id: 'e3', source: 'review', target: 'publish' },
|
|
58589
|
+
{ id: 'e4', source: 'check', target: 'publish' },
|
|
58590
|
+
];
|
|
58591
|
+
|
|
58592
|
+
/**
|
|
58593
|
+
* A right click on a node, or the Menu key on the node under the keys, opens the app's menu at `e.at`: Rename opens the
|
|
58594
|
+
* text editor (`editText`), Delete takes the node away. A double click marks a node or a connection done, and the line
|
|
58595
|
+
* under the diagram names the node under the pointer.
|
|
58596
|
+
*/
|
|
58597
|
+
export default function ItemEvents() {
|
|
58598
|
+
const s = reactive({ over: '', did: 'Right-click a node for its menu.' });
|
|
58599
|
+
let diagram!: Diagram;
|
|
58600
|
+
let menu!: ContextMenu;
|
|
58601
|
+
let target: DiagramNode | null = null;
|
|
58602
|
+
|
|
58603
|
+
const items: MenuItem[] = [
|
|
58604
|
+
{ text: '&Rename', click: () => target && diagram.editText(target.id) },
|
|
58605
|
+
{
|
|
58606
|
+
text: '&Delete',
|
|
58607
|
+
beginGroup: true,
|
|
58608
|
+
click: () => {
|
|
58609
|
+
if (!target) return;
|
|
58610
|
+
diagram.select({ nodes: [target.id] });
|
|
58611
|
+
if (diagram.deleteSelection()) s.did = `Deleted ${target.text}.`;
|
|
58612
|
+
},
|
|
58613
|
+
},
|
|
58614
|
+
];
|
|
58615
|
+
|
|
58616
|
+
return (
|
|
58617
|
+
<Stack gap="md" class="docs-wide">
|
|
58618
|
+
<Diagram
|
|
58619
|
+
ref={(d: Diagram) => (diagram = d)}
|
|
58620
|
+
label="Publishing steps"
|
|
58621
|
+
autoFit
|
|
58622
|
+
nodes={nodes()}
|
|
58623
|
+
edges={edges()}
|
|
58624
|
+
edgePath="rounded-step"
|
|
58625
|
+
onNodeContextMenu={(e) => {
|
|
58626
|
+
target = e.node;
|
|
58627
|
+
menu.open(e.at, diagram);
|
|
58628
|
+
}}
|
|
58629
|
+
onNodeDblClick={(e) => {
|
|
58630
|
+
const done = e.node.status !== 'done';
|
|
58631
|
+
diagram.setNodeStatus(e.node.id, done ? 'done' : null);
|
|
58632
|
+
s.did = done ? `Marked ${e.node.text} done.` : `Cleared the mark of ${e.node.text}.`;
|
|
58633
|
+
}}
|
|
58634
|
+
onEdgeDblClick={(e) => {
|
|
58635
|
+
const done = e.edge.status !== 'done';
|
|
58636
|
+
diagram.setEdgeStatus(e.edge.id, done ? 'done' : null);
|
|
58637
|
+
s.did = done ? `Marked the connection ${e.edge.id} done.` : `Cleared the mark of ${e.edge.id}.`;
|
|
58638
|
+
}}
|
|
58639
|
+
onNodePointerEnter={(e) => (s.over = e.node.text ?? e.node.id)}
|
|
58640
|
+
onNodePointerLeave={() => (s.over = '')}
|
|
58641
|
+
/>
|
|
58642
|
+
<ContextMenu ref={(m: ContextMenu) => (menu = m)} target={null} label="Node" items={items} />
|
|
58643
|
+
<output>{() => (s.over ? `Over ${s.over}. ` : '') + s.did}</output>
|
|
58644
|
+
</Stack>
|
|
58645
|
+
);
|
|
58646
|
+
}
|
|
58647
|
+
```
|
|
58648
|
+
|
|
58649
|
+
## Editing text in place
|
|
58650
|
+
|
|
58651
|
+
With `textEditable`, a double click on a node’s text, F2 or Alt+Enter on the node under the keys opens an editor over it: Enter or leaving it writes the text as a step of the history, and Escape keeps the old one. `editText(id)` opens it in code, and in a kind of one’s own `context.textPart(part)` names the part the editor covers. `onTextEditing` comes before the editor opens, `onTextChanging` when an edit ends with a new text, and `onTextChanged` after it was written. Here `onTextChanging` trims the text and refuses an empty one, and the line under the diagram tells the last change.
|
|
58652
|
+
|
|
58653
|
+
```tsx
|
|
58654
|
+
import { reactive } from '@motifx/core';
|
|
58655
|
+
import { Diagram, Stack, type DiagramEdge, type DiagramNode } from '@motifx-community/ui';
|
|
58656
|
+
|
|
58657
|
+
/** The nodes and connections each time the example is shown: the diagram changes the arrays it is given. */
|
|
58658
|
+
const nodes = (): DiagramNode[] => [
|
|
58659
|
+
{ id: 'plan', x: 0, y: 80, text: 'Plan' },
|
|
58660
|
+
{ id: 'write', x: 220, y: 0, text: 'Write' },
|
|
58661
|
+
{ id: 'send', x: 220, y: 160, text: 'Send' },
|
|
58662
|
+
];
|
|
58663
|
+
|
|
58664
|
+
const edges = (): DiagramEdge[] => [
|
|
58665
|
+
{ id: 'e1', source: 'plan', target: 'write' },
|
|
58666
|
+
{ id: 'e2', source: 'plan', target: 'send' },
|
|
58667
|
+
];
|
|
58668
|
+
|
|
58669
|
+
/**
|
|
58670
|
+
* Double-click a node's text, or press F2 on the node under the keys, to edit it in place; Enter or leaving the editor
|
|
58671
|
+
* writes the text, Escape keeps the old one. `onTextChanging` trims the text and refuses an empty one.
|
|
58672
|
+
*/
|
|
58673
|
+
export default function EditText() {
|
|
58674
|
+
const s = reactive({ last: 'No text changed yet.' });
|
|
58675
|
+
return (
|
|
58676
|
+
<Stack gap="md" class="docs-wide">
|
|
58677
|
+
<Diagram
|
|
58678
|
+
label="Steps"
|
|
58679
|
+
autoFit
|
|
58680
|
+
nodes={nodes()}
|
|
58681
|
+
edges={edges()}
|
|
58682
|
+
textEditable
|
|
58683
|
+
onTextChanging={(e) => {
|
|
58684
|
+
e.text = e.text.trim();
|
|
58685
|
+
if (!e.text) e.cancel = true;
|
|
58686
|
+
}}
|
|
58687
|
+
onTextChanged={(e) => (s.last = `${e.previous} is now ${e.text}.`)}
|
|
58688
|
+
/>
|
|
58689
|
+
<output>{() => s.last}</output>
|
|
58690
|
+
</Stack>
|
|
58691
|
+
);
|
|
58692
|
+
}
|
|
58693
|
+
```
|
|
58694
|
+
|
|
58546
58695
|
## Feedback
|
|
58547
58696
|
|
|
58548
58697
|
Loading issues…
|
|
@@ -58552,7 +58701,7 @@ Loading issues…
|
|
|
58552
58701
|
|
|
58553
58702
|
# Diagram: History and commands
|
|
58554
58703
|
|
|
58555
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
58704
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
58556
58705
|
|
|
58557
58706
|
Undo and redo, the clipboard and alignment, as commands that the app’s toolbars and menus name and the user runs with keys of their choice.
|
|
58558
58707
|
|
|
@@ -58622,6 +58771,7 @@ export default class Commands extends Component<HTMLDivElement> {
|
|
|
58622
58771
|
| `duplicate` | Ctrl+D | Copies the selected nodes next to them. |
|
|
58623
58772
|
| `delete` | Delete, Backspace | Deletes the selection. |
|
|
58624
58773
|
| `selectAll` | Ctrl+A | Selects everything. |
|
|
58774
|
+
| `rename` | F2 | Edits the text of the node under the keys, or of the only selected node, in place (`textEditable`). |
|
|
58625
58775
|
| `alignLeft, alignCenter, alignRight, alignTop, alignMiddle, alignBottom` | | Line the selected nodes up. |
|
|
58626
58776
|
| `zoomIn, zoomOut, zoomToFit` | Plus, Minus | Zoom in, zoom out, fit the nodes into view. |
|
|
58627
58777
|
| `layout` | | Places the nodes as `layoutOptions` says, gliding. |
|
|
@@ -58635,7 +58785,7 @@ Loading issues…
|
|
|
58635
58785
|
|
|
58636
58786
|
# Diagram: Keyboard and accessibility
|
|
58637
58787
|
|
|
58638
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
58788
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
58639
58789
|
|
|
58640
58790
|
Everything can be done with the keys, and a screen reader hears the diagram, its nodes and what the user does.
|
|
58641
58791
|
|
|
@@ -58649,6 +58799,10 @@ Everything can be done with the keys, and a screen reader hears the diagram, its
|
|
|
58649
58799
|
| `Arrow keys` | Move from node to node once a node is selected, to the nearest node within 45 degrees of the direction of the key, and pan the view otherwise. With Shift, the view pans four times further. |
|
|
58650
58800
|
| `Ctrl + arrow keys` | Move the selected nodes by one step of the grid, or the point under the keys; a run of a right-angled connection moves sideways. With Shift, by one unit. |
|
|
58651
58801
|
| `Alt + arrow keys` | Resize the node under the keys, if it can be resized, by one step of the grid. With Shift, by one unit. |
|
|
58802
|
+
| `Alt + Enter` | A double click on the node or the connection under the keys: the app hears `onNodeDblClick` or `onEdgeDblClick`, and with `textEditable` the node’s text is edited. |
|
|
58803
|
+
| `Menu key, Shift + F10` | The context menu of the node or the connection under the keys: the app opens its menu at the middle of it (`onNodeContextMenu`, `onEdgeContextMenu`). |
|
|
58804
|
+
| `F2` | Edits the text of the node under the keys, else the only one selected, in place (`textEditable`): an editor opens over the text. |
|
|
58805
|
+
| `Enter, Escape (in the text editor)` | Enter writes the text as a step of the history, as leaving the editor does; Escape keeps the old one. |
|
|
58652
58806
|
| `Ctrl + Z, Ctrl + Shift + Z, Ctrl + Y` | Undo and redo. |
|
|
58653
58807
|
| `Ctrl + C, Ctrl + X, Ctrl + V, Ctrl + D` | Copy, cut, paste and duplicate. |
|
|
58654
58808
|
| `Ctrl + A` | Selects every node and connection. |
|
|
@@ -58697,7 +58851,7 @@ Loading issues…
|
|
|
58697
58851
|
|
|
58698
58852
|
# Diagram: API reference
|
|
58699
58853
|
|
|
58700
|
-
> Diagram · @motifx-community/ui 0.1.0-beta.
|
|
58854
|
+
> Diagram · @motifx-community/ui 0.1.0-beta.17
|
|
58701
58855
|
|
|
58702
58856
|
The props, members, events, styling hooks and design tokens of `Diagram` and `DiagramMap`.
|
|
58703
58857
|
|
|
@@ -58720,6 +58874,7 @@ The props, members, events, styling hooks and design tokens of `Diagram` and `Di
|
|
|
58720
58874
|
| `snapToGrid` | `Bind<boolean>` | `false` | Snaps dragged nodes to the grid of `gridSize`. |
|
|
58721
58875
|
| `guides` | `Bind<boolean>` | `true` | Lines a dragged node up with the edges and middles of the other nodes, and shows guides while it does. |
|
|
58722
58876
|
| `history` | `Bind<boolean>` | `true` | Keeps the user’s steps to undo and redo. `false` clears the history. |
|
|
58877
|
+
| `textEditable` | `Bind<boolean>` | `false` | Whether the user edits a node’s `text` in place: a double click on the text, F2 or the `rename` command on the node under the keys opens an editor over it; Enter or leaving it writes the text as a step of the history, Escape keeps the old one. `editText()` opens it in code. |
|
|
58723
58878
|
| `commandScope` | `Bind<ComponentBase \| null>` | The diagram | The component the diagram’s commands are held to. Their keys work while focus is inside it, and the toolbars and menus inside it run this diagram’s commands. Give the editor that holds the diagram and its toolbar. |
|
|
58724
58879
|
| `viewport` | `Bind<DiagramViewport>` | `{ x: 0, y: 0, zoom: 1 }` | The position of the view. Panning and zooming change it, and `onViewportChanged` reports each change. |
|
|
58725
58880
|
| `minZoom, maxZoom` | `Bind<number>` | `0.1`, `4` | The smallest and the largest zoom. |
|
|
@@ -58752,6 +58907,8 @@ The props, members, events, styling hooks and design tokens of `Diagram` and `Di
|
|
|
58752
58907
|
| `deleteSelection()` | `boolean` | Deletes the selected nodes with their connections and the selected connections, except those that cannot be deleted, after `onDeleting`. A group goes with the nodes inside it. Returns whether anything was deleted. |
|
|
58753
58908
|
| `setCollapsed(id, collapsed)` | `boolean` | Collapses a node to its header or opens it, as the button in its header does: a group, a lane, a table or a class. Returns whether it changed. |
|
|
58754
58909
|
| `setNodeStatus(id, status, text?)` | `boolean` | Shows what a node is doing as a run goes through it, or takes it away with `null`: a mark on its corner and a ring, and a screen reader hears it with the node’s name. Not a step of the history. Returns whether it changed. |
|
|
58910
|
+
| `setEdgeStatus(id, status, text?)` | `boolean` | Shows what a connection is doing as a run goes along it, or takes it away with `null`: the status’s color on its line and its marks, unless the connection has a `color` of its own, a line that moves while it runs, and `text` in the line’s tip. A screen reader hears it with the connection’s two nodes. Not a step of the history. Returns whether it changed. |
|
|
58911
|
+
| `editText(id)` | `boolean` | Edits a node’s text in place, as a double click on it does with `textEditable`: an editor opens over the text, and Enter or leaving it writes the new text as a step of the history, Escape keeps the old one. Returns whether the editor opened: not in a read-only diagram, not for a node off the page, and not when `onTextEditing` cancels. |
|
|
58755
58912
|
| `edgesOf(id, options?), nodesOf(id, options?)` | `DiagramEdge[]`, `DiagramNode[]` | The connections of a node, by `direction` (`'in'`, `'out'`, `'both'`) and `port`, and the nodes at their other ends. Read in a getter, they follow the connections. |
|
|
58756
58913
|
| `setColumnChecked(id, column, checked)` | `boolean` | Ticks or clears the box of a column of a table that shows one, as the user does: a step of the history. Returns whether it changed. |
|
|
58757
58914
|
| `undo(), redo()` | `boolean` | Undoes the last step, or makes the last undone step again: a move, a resize, a node collapsed or opened, a connection made or moved, its line reshaped, a deletion, a paste, an alignment, a layout or a change the app recorded. Returns whether there was a step. |
|
|
@@ -58789,15 +58946,15 @@ The props, members, events, styling hooks and design tokens of `Diagram` and `Di
|
|
|
58789
58946
|
| --- | --- | --- |
|
|
58790
58947
|
| `DiagramNode` | `{ id, x, y, width?, height?, text?, kind?, parent?, collapsed?, resizable?, ports?, cssClass?, style?, draggable?, selectable?, connectable?, deletable?, status?, statusText? }` | A node. `status` (`running`, `done`, `error`, `waiting`, `skipped`) and `statusText` show what it is doing as a run goes through it. `x` and `y` are its top left corner in diagram units; dragging writes them. Without `width` and `height` the node takes the size of its content. `kind` names its kind, `parent` the group it is in, and `collapsed` keeps a group, a table or a class collapsed to its header. Without `ports` it has a port in the middle of each side, named `top`, `right`, `bottom` and `left`. `cssClass` and `style` add classes and CSS properties to its element. The object is kept as it is given, so it can carry the app’s own fields. |
|
|
58791
58948
|
| `DiagramNodeKind` | `{ content?, update?, ports?, cssClass?, resizable?, minWidth?, minHeight?, group?, collapsible?, collapse? }` | A kind of node. `content(context)` makes the content of each node once and returns a component or a text, or adds to `context.host`; `update(context)` writes what changed when the node is drawn again. `ports` may be a function that makes the ports from the node. `group` makes its nodes hold others, `collapsible` makes them collapse to their header, and `collapse` says whether a collapsed one keeps its width (`'vertical'`) or its height (`'horizontal'`). |
|
|
58792
|
-
| `DiagramNodeContext` | `{ node, host, diagram, selected, dragHandle(part), anchor(id, part), label(read) }` | What `content` and `update` receive: the node, the part its content goes into, the diagram, whether the node is selected, `dragHandle`, which makes one part the only place that drags the node, `anchor`, which stands a port beside a part of the content, such as a row,
|
|
58949
|
+
| `DiagramNodeContext` | `{ node, host, diagram, selected, dragHandle(part), anchor(id, part), label(read), textPart(part) }` | What `content` and `update` receive: the node, the part its content goes into, the diagram, whether the node is selected, `dragHandle`, which makes one part the only place that drags the node, `anchor`, which stands a port beside a part of the content, such as a row, `label`, which names the node with a function the node follows as the reactive data it reads changes, and `textPart`, which makes one part the place that shows the node’s `text`: the editor of an edit in place opens over it, and a double click on it starts one. The built-in kinds name theirs. |
|
|
58793
58950
|
| `DiagramTableNode, DiagramTableColumn` | `{ …DiagramNode, columns, checkable? }`, `{ name, type?, primaryKey?, foreignKey?, unique?, checked? }` | A node of the `table` kind: its `text` is its name, and each column has a port named by it beside its row, on the left and on the right. `checkable` shows a box before each column, which the user ticks and clears, as columns are chosen for a query; the column’s `checked` holds it. |
|
|
58794
58951
|
| `DiagramClassNode, DiagramClassMember` | `{ …DiagramNode, stereotype?, abstract?, attributes?, methods? }`, `{ name, type?, visibility?, static?, abstract? }` | A node of the `class` kind: its `text` is its name. `visibility` is `'public'`, `'private'`, `'protected'` or `'package'`. |
|
|
58795
58952
|
| `DiagramCardNode` | `{ …DiagramNode, icon?, subtitle? }` | A node of the `card` kind: its icon and `text` in its header with the `subtitle` under them. `cardKind(options)` makes a kind of one’s own from it. |
|
|
58796
58953
|
| `DiagramPort` | `{ id, side, offset?, direction?, type?, maxConnections?, label? }` | A port on a side of a node, or on several: a connection then takes the one that faces its other end. `offset` places it along the side, from `0` at the left or top end to `1`; the default is the middle, and a port the content anchors stands beside its part. `direction` is `'source'` for an output, `'target'` for an input, or `'both'`, the default for ports of the app’s own. |
|
|
58797
|
-
| `DiagramEdge` | `{ id, source, target, sourcePort?, targetPort?, path?, points?, label?, sourceLabel?, targetLabel?, sourceMarker?, targetMarker?, dashed?, animated?, reconnectable?, color?, width?, cssClass?, style?, selectable?, deletable? }` | A connection. Without a port, an end takes the output or input that faces the other node. The markers are `none`, `arrow`, `arrow-open`, `circle`, `triangle-open`, `diamond`, `diamond-open` and the crow’s feet `one`, `many`, `zero-or-one`, `one-or-many` and `zero-or-many`; the default is an arrow at the target. `sourceLabel` and `targetLabel` write a text at each end. `color` and `width` set its line, and `cssClass` and `style` add classes and CSS properties to its element. `points` are the points the line passes through, which the user adds, moves and takes away. `path` can also be a function that receives the ends and the points and returns an SVG path and the position of the label. `reconnectable: false` keeps its ends and its points. |
|
|
58954
|
+
| `DiagramEdge` | `{ id, source, target, sourcePort?, targetPort?, path?, points?, label?, sourceLabel?, targetLabel?, sourceMarker?, targetMarker?, dashed?, animated?, reconnectable?, color?, width?, cssClass?, style?, selectable?, deletable?, status?, statusText? }` | A connection. Without a port, an end takes the output or input that faces the other node. The markers are `none`, `arrow`, `arrow-open`, `circle`, `triangle-open`, `diamond`, `diamond-open` and the crow’s feet `one`, `many`, `zero-or-one`, `one-or-many` and `zero-or-many`; the default is an arrow at the target. `sourceLabel` and `targetLabel` write a text at each end. `color` and `width` set its line, and `cssClass` and `style` add classes and CSS properties to its element. `points` are the points the line passes through, which the user adds, moves and takes away. `path` can also be a function that receives the ends and the points and returns an SVG path and the position of the label. `reconnectable: false` keeps its ends and its points. `status` and `statusText` show what it is doing as a run goes along it, as `setEdgeStatus` writes them. |
|
|
58798
58955
|
| `DiagramNodeMove` | `{ node, from, to, fromParent?, toParent? }` | A node the user moved, with its position before and after, and the groups it left and joined when the drop took it into a group or out of one. |
|
|
58799
58956
|
| `DiagramEdit` | `{ undo(), redo(), nodes?, edges? }` | A change the app made, for `record`: `undo` puts it back, `redo` makes it again, and `nodes` and `edges` say what it changed. |
|
|
58800
|
-
| `DiagramChange` | `{ kind, nodes, edges }` | What a step of the history did: `kind` is `'move'`, `'resize'`, `'collapse'`, `'connect'`, `'reconnect'`, `'reshape'`, `'delete'`, `'paste'`, `'layout'` or `'edit'` (a change the app recorded). |
|
|
58957
|
+
| `DiagramChange` | `{ kind, nodes, edges }` | What a step of the history did: `kind` is `'move'`, `'resize'`, `'collapse'`, `'connect'`, `'reconnect'`, `'reshape'`, `'delete'`, `'paste'`, `'layout'`, `'text'` (a node’s text edited in place) or `'edit'` (a change the app recorded). |
|
|
58801
58958
|
| `DiagramData` | `{ version?, nodes, edges?, viewport? }` | What `save` gives and `load` takes: copies of the nodes and connections, and the view. |
|
|
58802
58959
|
| `DiagramDrawnNode` | `{ node, rect, group }` | A node on the surface, as `drawnNodes` gives it. |
|
|
58803
58960
|
| `DiagramConnection` | `{ source, sourcePort?, target, targetPort? }` | The two ends of a connection. |
|
|
@@ -58827,6 +58984,17 @@ The props, members, events, styling hooks and design tokens of `Diagram` and `Di
|
|
|
58827
58984
|
| `onPasting` | `{ nodes, edges, cancel }` | Occurs before copies are added by a paste or a duplicate. They are new objects with new ids; change their fields, such as an id of the app’s own, or set `cancel`. |
|
|
58828
58985
|
| `onPasted` | `{ nodes, edges }` | Occurs after copies were added to `nodes` and `edges`. They are the selection. |
|
|
58829
58986
|
| `onHistoryChanged` | `{ reason, change, canUndo, canRedo }` | Occurs whenever the history changes. `reason` is `'add'`, `'undo'`, `'redo'` or `'clear'`. After an undo or a redo, `nodes`, `edges` and their objects already match the diagram, so this is the event to save the diagram on. |
|
|
58987
|
+
| `onNodeClick` | `{ node, event, byKeyboard, at, cancel }` | Occurs when the user clicks a node; a press selects it before the click, so `cancel` has nothing to keep. Not after a drag, and not from the ports, the resize handles or the text editor. `at` is where it was on the page, in pixels. |
|
|
58988
|
+
| `onNodeDblClick` | `{ node, event, byKeyboard, at, cancel }` | Occurs when the user double-clicks a node, or presses Alt+Enter on the node under the keys (`byKeyboard`). `cancel` keeps its text from being edited (`textEditable`). |
|
|
58989
|
+
| `onNodeContextMenu` | `{ node, event, byKeyboard, at, cancel }` | Occurs when the user right-clicks a node, or presses the Menu key or Shift+F10 on the node under the keys: open a menu at `at`, the pointer or the middle of the node, with `menu.open(e.at, diagram)`. While the app listens, the browser’s own menu stays closed, unless `cancel`. |
|
|
58990
|
+
| `onNodePointerEnter, onNodePointerLeave` | `{ node, event }` | Occur when the pointer comes over a node and when it leaves it: its content, its ports and its frame alike. |
|
|
58991
|
+
| `onEdgeClick` | `{ edge, event, byKeyboard, at, cancel }` | Occurs when the user clicks a connection, before it is selected; `cancel` leaves the selection as it is. |
|
|
58992
|
+
| `onEdgeDblClick` | `{ edge, event, byKeyboard, at, cancel }` | Occurs when the user double-clicks a connection, or presses Alt+Enter on the connection under the keys; `at` is then the middle between its ends. |
|
|
58993
|
+
| `onEdgeContextMenu` | `{ edge, event, byKeyboard, at, cancel }` | Occurs when the user right-clicks a connection, or presses the Menu key or Shift+F10 on the connection under the keys: open a menu at `at`. While the app listens, the browser’s own menu stays closed, unless `cancel`. |
|
|
58994
|
+
| `onEdgePointerEnter, onEdgePointerLeave` | `{ edge, event }` | Occur when the pointer comes over a connection and when it leaves it: its line, its marks and its labels alike. |
|
|
58995
|
+
| `onTextEditing` | `{ node, text, byKeyboard, cancel }` | Occurs before the editor of a node’s text opens (`textEditable`): change `text`, the text the editor starts with, or set `cancel` to keep it closed. |
|
|
58996
|
+
| `onTextChanging` | `{ node, text, previous, cancel }` | Occurs when an edit of a node’s text ends with a new text, before it is written: change `text`, or set `cancel` to keep the old one, such as for a name already taken. The editor closes either way. |
|
|
58997
|
+
| `onTextChanged` | `{ node, text, previous }` | Occurs after an edit wrote a node’s new text, as a step of the history. |
|
|
58830
58998
|
| `onContentChanged` | `void` | Occurs at most once a frame after nodes moved or changed their size, came, went, were hidden in a group or shown again, or the surface changed its size. A map follows the diagram with it. |
|
|
58831
58999
|
|
|
58832
59000
|
### DiagramMap
|
|
@@ -58845,6 +59013,7 @@ The props, members, events, styling hooks and design tokens of `Diagram` and `Di
|
|
|
58845
59013
|
| `duplicate` | Ctrl+D | Copies the selected nodes next to them. |
|
|
58846
59014
|
| `delete` | Delete, Backspace | Deletes the selection. |
|
|
58847
59015
|
| `selectAll` | Ctrl+A | Selects everything. |
|
|
59016
|
+
| `rename` | F2 | Edits the text of the node under the keys, else the only one selected, in place (`textEditable`). |
|
|
58848
59017
|
| `alignLeft, alignCenter, alignRight, alignTop, alignMiddle, alignBottom` | | Line the selected nodes up. |
|
|
58849
59018
|
| `zoomIn, zoomOut, zoomToFit` | Plus, Minus | Zoom in, zoom out, fit the nodes into view. |
|
|
58850
59019
|
| `layout` | | Places the nodes as `layoutOptions` says, gliding. |
|