@motifx-community/ui 0.1.0-beta.12 → 0.1.0-beta.13

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.
Files changed (173) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/components/datagrid/view/ColumnStyles.d.ts +3 -1
  3. package/dist/components/dropdown/drop-down-props.d.ts +5 -2
  4. package/dist/components/listbox/item-template.d.ts +4 -0
  5. package/dist/components/tabdocs/DocumentTab.d.ts +0 -1
  6. package/dist/components/tabdocs/PhoneBar.d.ts +0 -1
  7. package/dist/components/treeview/TreeView.d.ts +8 -4
  8. package/dist/components/treeview/tree-view-item-template.d.ts +4 -0
  9. package/dist/core/show-icon.d.ts +3 -3
  10. package/dist/index.js +99 -176
  11. package/dist/index.js.map +1 -1
  12. package/dist/parts/list/OptionList.d.ts +4 -3
  13. package/dist/parts/list/option-parts.d.ts +1 -1
  14. package/dist/styles.css +43 -24
  15. package/docs/accordion.md +1 -1
  16. package/docs/actionsheet.md +1 -1
  17. package/docs/appbar.md +1 -1
  18. package/docs/appmenu-api.md +1 -1
  19. package/docs/appmenu-programmatic.md +1 -1
  20. package/docs/appmenu-search.md +1 -1
  21. package/docs/appmenu.md +1 -1
  22. package/docs/avatar.md +1 -1
  23. package/docs/badge.md +1 -1
  24. package/docs/bar-gauge-angles.md +1 -1
  25. package/docs/bar-gauge-data.md +1 -1
  26. package/docs/bar-gauge-labels.md +1 -1
  27. package/docs/bar-gauge.md +1 -1
  28. package/docs/barcode.md +1 -1
  29. package/docs/bottomnavigation.md +1 -1
  30. package/docs/bottomsheet.md +1 -1
  31. package/docs/breadcrumb.md +1 -1
  32. package/docs/button.md +1 -1
  33. package/docs/buttongroup.md +1 -1
  34. package/docs/buttons.md +1 -1
  35. package/docs/calendar.md +1 -1
  36. package/docs/card.md +1 -1
  37. package/docs/chart-bars.md +1 -1
  38. package/docs/chart-candles.md +1 -1
  39. package/docs/chart-funnel.md +1 -1
  40. package/docs/chart-heatmap.md +1 -1
  41. package/docs/chart-lines.md +1 -1
  42. package/docs/chart-live.md +1 -1
  43. package/docs/chart-pie.md +1 -1
  44. package/docs/chart-radar.md +1 -1
  45. package/docs/chart-ranges.md +1 -1
  46. package/docs/chart-references.md +1 -1
  47. package/docs/chart-scatter.md +1 -1
  48. package/docs/chart-waterfall.md +1 -1
  49. package/docs/chart-zoom.md +1 -1
  50. package/docs/chart.md +1 -1
  51. package/docs/checkbox.md +1 -1
  52. package/docs/chip.md +1 -1
  53. package/docs/choice.md +1 -1
  54. package/docs/colorbox.md +1 -1
  55. package/docs/combobox.md +2 -1
  56. package/docs/commands.md +1 -1
  57. package/docs/control.md +1 -1
  58. package/docs/data.md +1 -1
  59. package/docs/datagrid-api.md +1 -1
  60. package/docs/datagrid-bands.md +1 -1
  61. package/docs/datagrid-drag-select.md +1 -1
  62. package/docs/datagrid-drag.md +1 -1
  63. package/docs/datagrid-editing.md +1 -1
  64. package/docs/datagrid-filtering.md +1 -1
  65. package/docs/datagrid-forms.md +1 -1
  66. package/docs/datagrid-grouping.md +1 -1
  67. package/docs/datagrid-layout.md +1 -1
  68. package/docs/datagrid-lookups.md +4 -1
  69. package/docs/datagrid-master-detail.md +1 -1
  70. package/docs/datagrid-scrolling.md +1 -1
  71. package/docs/datagrid-selection.md +1 -1
  72. package/docs/datagrid.md +1 -1
  73. package/docs/datebox.md +1 -1
  74. package/docs/daterangebox.md +1 -1
  75. package/docs/display.md +1 -1
  76. package/docs/draggable.md +1 -1
  77. package/docs/drawer.md +1 -1
  78. package/docs/dropdown.md +4 -3
  79. package/docs/editors.md +1 -1
  80. package/docs/feedback.md +1 -1
  81. package/docs/fileuploader.md +1 -1
  82. package/docs/filterbuilder.md +1 -1
  83. package/docs/formlayout.md +1 -1
  84. package/docs/foundations.md +1 -1
  85. package/docs/gallery.md +1 -1
  86. package/docs/gauge-base.md +1 -1
  87. package/docs/gauge-circular.md +1 -1
  88. package/docs/gauge-dashboards.md +1 -1
  89. package/docs/gauge-linear.md +1 -1
  90. package/docs/gauge-markers.md +1 -1
  91. package/docs/gauge-marks.md +1 -1
  92. package/docs/gauge-ranges.md +1 -1
  93. package/docs/gauge-scales.md +1 -1
  94. package/docs/gauge.md +1 -1
  95. package/docs/home.md +1 -1
  96. package/docs/keyboard.md +1 -1
  97. package/docs/language.md +1 -1
  98. package/docs/layout.md +1 -1
  99. package/docs/listbox.md +4 -3
  100. package/docs/loadpanel.md +1 -1
  101. package/docs/lookup.md +1 -1
  102. package/docs/menus-api.md +1 -1
  103. package/docs/menus-context.md +1 -1
  104. package/docs/menus-customization.md +1 -1
  105. package/docs/menus-merging.md +1 -1
  106. package/docs/menus-programmatic.md +1 -1
  107. package/docs/menus.md +1 -1
  108. package/docs/multiview.md +1 -1
  109. package/docs/navigation.md +1 -1
  110. package/docs/numberbox.md +1 -1
  111. package/docs/otpinput.md +1 -1
  112. package/docs/pagination.md +1 -1
  113. package/docs/popover.md +1 -1
  114. package/docs/progress.md +1 -1
  115. package/docs/qrcode.md +1 -1
  116. package/docs/radiogroup.md +1 -1
  117. package/docs/rating.md +1 -1
  118. package/docs/resizable.md +1 -1
  119. package/docs/ribbonmenu-api.md +1 -1
  120. package/docs/ribbonmenu-commands.md +1 -1
  121. package/docs/ribbonmenu-customization.md +1 -1
  122. package/docs/ribbonmenu-display.md +3 -3
  123. package/docs/ribbonmenu-layouts.md +1 -1
  124. package/docs/ribbonmenu-programmatic.md +1 -1
  125. package/docs/ribbonmenu.md +1 -1
  126. package/docs/scheduler-agenda.md +1 -1
  127. package/docs/scheduler-big-data.md +1 -1
  128. package/docs/scheduler-editing.md +1 -1
  129. package/docs/scheduler-form.md +1 -1
  130. package/docs/scheduler-icalendar.md +1 -1
  131. package/docs/scheduler-mobile.md +1 -1
  132. package/docs/scheduler-recurrence.md +1 -1
  133. package/docs/scheduler-resources.md +1 -1
  134. package/docs/scheduler-timeline.md +1 -1
  135. package/docs/scheduler.md +1 -1
  136. package/docs/scrollview.md +1 -1
  137. package/docs/shortcuteditor.md +1 -1
  138. package/docs/showcase-home.md +1 -1
  139. package/docs/showcase.md +1 -1
  140. package/docs/signature.md +1 -1
  141. package/docs/skeleton.md +1 -1
  142. package/docs/slider.md +1 -1
  143. package/docs/sortable.md +1 -1
  144. package/docs/sparkline.md +1 -1
  145. package/docs/speeddial.md +1 -1
  146. package/docs/splitter.md +1 -1
  147. package/docs/stepper.md +1 -1
  148. package/docs/switch.md +1 -1
  149. package/docs/tabdocs-dock.md +1 -1
  150. package/docs/tabdocs-drag.md +1 -1
  151. package/docs/tabdocs-menus.md +1 -1
  152. package/docs/tabdocs-mobile.md +1 -1
  153. package/docs/tabdocs-tabs.md +1 -1
  154. package/docs/tabdocs-windows.md +1 -1
  155. package/docs/tabdocs-workspace.md +1 -1
  156. package/docs/tabdocs.md +1 -1
  157. package/docs/tabs.md +1 -1
  158. package/docs/tagbox.md +4 -3
  159. package/docs/textarea.md +1 -1
  160. package/docs/textbox.md +1 -1
  161. package/docs/tileview.md +1 -1
  162. package/docs/timeline.md +1 -1
  163. package/docs/toast.md +1 -1
  164. package/docs/tokens.md +1 -1
  165. package/docs/toolbar.md +1 -1
  166. package/docs/tooltip.md +1 -1
  167. package/docs/treeview.md +3 -3
  168. package/docs/validationsummary.md +1 -1
  169. package/docs/window.md +1 -1
  170. package/docs/wizard.md +1 -1
  171. package/llms-full.txt +174 -167
  172. package/llms.txt +1 -1
  173. package/package.json +4 -4
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.11: a preview, its API may still change before 1.0.
3
+ > UI components for MotifJS (@motifx/core) on the MotifJS design system. Version 0.1.0-beta.13: 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
 
@@ -334,7 +334,7 @@ tokens, with examples.
334
334
 
335
335
  # @motifx-community/ui
336
336
 
337
- > Get started · @motifx-community/ui 0.1.0-beta.11
337
+ > Get started · @motifx-community/ui 0.1.0-beta.13
338
338
 
339
339
  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.
340
340
 
@@ -404,7 +404,7 @@ Loading issues…
404
404
 
405
405
  # Showcase: an order screen
406
406
 
407
- > Get started · @motifx-community/ui 0.1.0-beta.11
407
+ > Get started · @motifx-community/ui 0.1.0-beta.13
408
408
 
409
409
  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.
410
410
 
@@ -417,7 +417,7 @@ Loading issues…
417
417
 
418
418
  # Showcase: a smart home
419
419
 
420
- > Get started · @motifx-community/ui 0.1.0-beta.11
420
+ > Get started · @motifx-community/ui 0.1.0-beta.13
421
421
 
422
422
  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.
423
423
 
@@ -452,7 +452,7 @@ Loading issues…
452
452
 
453
453
  # Design tokens
454
454
 
455
- > Get started · @motifx-community/ui 0.1.0-beta.11
455
+ > Get started · @motifx-community/ui 0.1.0-beta.13
456
456
 
457
457
  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.
458
458
 
@@ -5652,7 +5652,7 @@ Loading issues…
5652
5652
 
5653
5653
  # Foundations
5654
5654
 
5655
- > Foundations · @motifx-community/ui 0.1.0-beta.11
5655
+ > Foundations · @motifx-community/ui 0.1.0-beta.13
5656
5656
 
5657
5657
  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.
5658
5658
 
@@ -5735,7 +5735,7 @@ Loading issues…
5735
5735
 
5736
5736
  # Control
5737
5737
 
5738
- > Foundations · @motifx-community/ui 0.1.0-beta.11
5738
+ > Foundations · @motifx-community/ui 0.1.0-beta.13
5739
5739
 
5740
5740
  `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.
5741
5741
 
@@ -5975,7 +5975,7 @@ Loading issues…
5975
5975
 
5976
5976
  # Keyboard and focus
5977
5977
 
5978
- > Foundations · @motifx-community/ui 0.1.0-beta.11
5978
+ > Foundations · @motifx-community/ui 0.1.0-beta.13
5979
5979
 
5980
5980
  Every control follows the same rules for Tab order, the active control of a container, focus handling, `&File` access keys and application-wide shortcuts.
5981
5981
 
@@ -6171,7 +6171,7 @@ Loading issues…
6171
6171
 
6172
6172
  # Commands and shortcuts
6173
6173
 
6174
- > Foundations · @motifx-community/ui 0.1.0-beta.11
6174
+ > Foundations · @motifx-community/ui 0.1.0-beta.13
6175
6175
 
6176
6176
  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.
6177
6177
 
@@ -6301,7 +6301,7 @@ Loading issues…
6301
6301
 
6302
6302
  # Language
6303
6303
 
6304
- > Foundations · @motifx-community/ui 0.1.0-beta.11
6304
+ > Foundations · @motifx-community/ui 0.1.0-beta.13
6305
6305
 
6306
6306
  `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.
6307
6307
 
@@ -6538,7 +6538,7 @@ Loading issues…
6538
6538
 
6539
6539
  # Buttons
6540
6540
 
6541
- > Buttons · @motifx-community/ui 0.1.0-beta.11
6541
+ > Buttons · @motifx-community/ui 0.1.0-beta.13
6542
6542
 
6543
6543
  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).
6544
6544
 
@@ -6709,7 +6709,7 @@ Loading issues…
6709
6709
 
6710
6710
  # Button
6711
6711
 
6712
- > Buttons · @motifx-community/ui 0.1.0-beta.11
6712
+ > Buttons · @motifx-community/ui 0.1.0-beta.13
6713
6713
 
6714
6714
  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.
6715
6715
 
@@ -7133,7 +7133,7 @@ Loading issues…
7133
7133
 
7134
7134
  # ButtonGroup
7135
7135
 
7136
- > Buttons · @motifx-community/ui 0.1.0-beta.11
7136
+ > Buttons · @motifx-community/ui 0.1.0-beta.13
7137
7137
 
7138
7138
  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.
7139
7139
 
@@ -7282,7 +7282,7 @@ Loading issues…
7282
7282
 
7283
7283
  # SpeedDial
7284
7284
 
7285
- > Buttons · @motifx-community/ui 0.1.0-beta.11
7285
+ > Buttons · @motifx-community/ui 0.1.0-beta.13
7286
7286
 
7287
7287
  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.
7288
7288
 
@@ -7580,7 +7580,7 @@ Loading issues…
7580
7580
 
7581
7581
  # Editors
7582
7582
 
7583
- > Editors · @motifx-community/ui 0.1.0-beta.11
7583
+ > Editors · @motifx-community/ui 0.1.0-beta.13
7584
7584
 
7585
7585
  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.
7586
7586
 
@@ -7743,7 +7743,7 @@ Loading issues…
7743
7743
 
7744
7744
  # TextBox
7745
7745
 
7746
- > Editors · @motifx-community/ui 0.1.0-beta.11
7746
+ > Editors · @motifx-community/ui 0.1.0-beta.13
7747
7747
 
7748
7748
  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.
7749
7749
 
@@ -8203,7 +8203,7 @@ Loading issues…
8203
8203
 
8204
8204
  # TextArea
8205
8205
 
8206
- > Editors · @motifx-community/ui 0.1.0-beta.11
8206
+ > Editors · @motifx-community/ui 0.1.0-beta.13
8207
8207
 
8208
8208
  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.
8209
8209
 
@@ -8516,7 +8516,7 @@ Loading issues…
8516
8516
 
8517
8517
  # NumberBox
8518
8518
 
8519
- > Editors · @motifx-community/ui 0.1.0-beta.11
8519
+ > Editors · @motifx-community/ui 0.1.0-beta.13
8520
8520
 
8521
8521
  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.
8522
8522
 
@@ -8834,7 +8834,7 @@ Loading issues…
8834
8834
 
8835
8835
  # DateBox
8836
8836
 
8837
- > Editors · @motifx-community/ui 0.1.0-beta.11
8837
+ > Editors · @motifx-community/ui 0.1.0-beta.13
8838
8838
 
8839
8839
  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.
8840
8840
 
@@ -9043,7 +9043,7 @@ Loading issues…
9043
9043
 
9044
9044
  # DateRangeBox
9045
9045
 
9046
- > Editors · @motifx-community/ui 0.1.0-beta.11
9046
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9047
9047
 
9048
9048
  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.
9049
9049
 
@@ -9243,7 +9243,7 @@ Loading issues…
9243
9243
 
9244
9244
  # Signature
9245
9245
 
9246
- > Editors · @motifx-community/ui 0.1.0-beta.11
9246
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9247
9247
 
9248
9248
  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.
9249
9249
 
@@ -9455,7 +9455,7 @@ Loading issues…
9455
9455
 
9456
9456
  # OtpInput
9457
9457
 
9458
- > Editors · @motifx-community/ui 0.1.0-beta.11
9458
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9459
9459
 
9460
9460
  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.
9461
9461
 
@@ -9656,7 +9656,7 @@ Loading issues…
9656
9656
 
9657
9657
  # ColorBox and ColorPicker
9658
9658
 
9659
- > Editors · @motifx-community/ui 0.1.0-beta.11
9659
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9660
9660
 
9661
9661
  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.
9662
9662
 
@@ -9817,7 +9817,7 @@ Loading issues…
9817
9817
 
9818
9818
  # Calendar
9819
9819
 
9820
- > Editors · @motifx-community/ui 0.1.0-beta.11
9820
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9821
9821
 
9822
9822
  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.
9823
9823
 
@@ -9961,7 +9961,7 @@ Loading issues…
9961
9961
 
9962
9962
  # Slider
9963
9963
 
9964
- > Editors · @motifx-community/ui 0.1.0-beta.11
9964
+ > Editors · @motifx-community/ui 0.1.0-beta.13
9965
9965
 
9966
9966
  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.
9967
9967
 
@@ -10330,7 +10330,7 @@ Loading issues…
10330
10330
 
10331
10331
  # Rating
10332
10332
 
10333
- > Editors · @motifx-community/ui 0.1.0-beta.11
10333
+ > Editors · @motifx-community/ui 0.1.0-beta.13
10334
10334
 
10335
10335
  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.
10336
10336
 
@@ -10462,7 +10462,7 @@ Loading issues…
10462
10462
 
10463
10463
  # ValidationSummary
10464
10464
 
10465
- > Editors · @motifx-community/ui 0.1.0-beta.11
10465
+ > Editors · @motifx-community/ui 0.1.0-beta.13
10466
10466
 
10467
10467
  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.
10468
10468
 
@@ -10585,7 +10585,7 @@ Loading issues…
10585
10585
 
10586
10586
  # FileUploader
10587
10587
 
10588
- > Editors · @motifx-community/ui 0.1.0-beta.11
10588
+ > Editors · @motifx-community/ui 0.1.0-beta.13
10589
10589
 
10590
10590
  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.
10591
10591
 
@@ -10794,7 +10794,7 @@ Loading issues…
10794
10794
 
10795
10795
  # ShortcutEditor
10796
10796
 
10797
- > Editors · @motifx-community/ui 0.1.0-beta.11
10797
+ > Editors · @motifx-community/ui 0.1.0-beta.13
10798
10798
 
10799
10799
  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.
10800
10800
 
@@ -11046,7 +11046,7 @@ Loading issues…
11046
11046
 
11047
11047
  # Choice
11048
11048
 
11049
- > Choice · @motifx-community/ui 0.1.0-beta.11
11049
+ > Choice · @motifx-community/ui 0.1.0-beta.13
11050
11050
 
11051
11051
  Choice components let the reader pick: on or off, one of a few, several of a list, or one of many with search.
11052
11052
 
@@ -11201,7 +11201,7 @@ Loading issues…
11201
11201
 
11202
11202
  # CheckBox
11203
11203
 
11204
- > Choice · @motifx-community/ui 0.1.0-beta.11
11204
+ > Choice · @motifx-community/ui 0.1.0-beta.13
11205
11205
 
11206
11206
  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.
11207
11207
 
@@ -11545,7 +11545,7 @@ Loading issues…
11545
11545
 
11546
11546
  # Switch
11547
11547
 
11548
- > Choice · @motifx-community/ui 0.1.0-beta.11
11548
+ > Choice · @motifx-community/ui 0.1.0-beta.13
11549
11549
 
11550
11550
  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.
11551
11551
 
@@ -11795,7 +11795,7 @@ Loading issues…
11795
11795
 
11796
11796
  # RadioGroup
11797
11797
 
11798
- > Choice · @motifx-community/ui 0.1.0-beta.11
11798
+ > Choice · @motifx-community/ui 0.1.0-beta.13
11799
11799
 
11800
11800
  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.
11801
11801
 
@@ -12127,7 +12127,7 @@ Loading issues…
12127
12127
 
12128
12128
  # DropDown
12129
12129
 
12130
- > Choice · @motifx-community/ui 0.1.0-beta.11
12130
+ > Choice · @motifx-community/ui 0.1.0-beta.13
12131
12131
 
12132
12132
  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.
12133
12133
 
@@ -12148,7 +12148,7 @@ export const cities = ['Ankara', 'Antalya', 'Bursa', 'İstanbul', 'İzmir', 'Kon
12148
12148
 
12149
12149
  ## Objects, groups, templates
12150
12150
 
12151
- Custom objects are read through `textField` and `valueField`, each a property name or a function. `groupField` places options under headers, `enabledField` disables specific options, and a template customizes how an option is drawn.
12151
+ Custom objects are read through `textField` and `valueField`, each a property name or a function. `groupField` places options under headers, `enabledField` disables specific options, and a template customizes how an option is drawn. A template draws into a `host` of its own, which goes when the option or the value is drawn again or the box goes, with everything the template added to it. The cleanup a template can return is for what lives outside the host, such as a subscription or a timer: it runs as the host goes, once what the host held is gone.
12152
12152
 
12153
12153
  ```tsx
12154
12154
  import { reactive, type ComponentBase } from '@motifx/core';
@@ -12333,12 +12333,13 @@ export default function Localization() {
12333
12333
  | `valueText` | `Bind<string>` | `''` | The display text for the value while its item is requested from `dataSource`, shown immediately instead of waiting. Use it when a record already has the name: `valueText={() => order.customerName}`. |
12334
12334
  | `searchDelay` | `Bind<number>` | `250` with a data source, otherwise `0` | The delay, in milliseconds, between the last keystroke in the search box and the search. |
12335
12335
  | `textField / valueField` | `Bind<ItemField<T>>` | `'text'` / `'value'` | A property name or a function `(item) => …`. Without `valueField`, an object with a `value` property uses that value, and anything else is its own value. |
12336
+ | `normalizeKey` | `Bind<NormalizeKey>` | — | Values equal once normalized are one value, such as `(k) => k.trimEnd()` for codes padded with spaces. Without it, the item of a value a data source compares its own way (trailing spaces, case) is still found: the source is asked for it and decides, and the list marks that item. |
12336
12337
  | `iconField, groupField, enabledField` | `Bind<ItemField<T>>` | — | An icon for each option. Options in the same group appear together under its name. `enabled` marks options that cannot be selected. |
12337
12338
  | `placeholder` | `Bind<string>` | `''` | Displayed when no item is selected. |
12338
12339
  | `searchEnabled` | `Bind<boolean>` | `false` | Adds a search box at the top of the list. |
12339
12340
  | `searchMode` | `Bind<'contains' \| 'startswith'>` | `'contains'` | How the search matches option text. |
12340
12341
  | `clearButton` | `Bind<boolean>` | `false` | Shows a button that clears the value. Escape does the same while the list is closed. |
12341
- | `itemTemplate / fieldTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how an option or the selected item is drawn. |
12342
+ | `itemTemplate / fieldTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how an option or the selected item is drawn. What it adds to `host` goes with `host`; a cleanup it returns runs as `host` goes. |
12342
12343
  | `matchWidth` | `Bind<boolean>` | `true` | The list is at least as wide as the field. |
12343
12344
  | `label, labelMode, helpText, hint, prefix, icon, buttons, readOnly, required, size, variant, stretch, rules, error, validateOn, validationGroup` | see TextBox | | Field props shared by all editors. |
12344
12345
 
@@ -12458,7 +12459,7 @@ export default function Validation() {
12458
12459
 
12459
12460
  # ComboBox and Autocomplete
12460
12461
 
12461
- > Choice · @motifx-community/ui 0.1.0-beta.11
12462
+ > Choice · @motifx-community/ui 0.1.0-beta.13
12462
12463
 
12463
12464
  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.
12464
12465
 
@@ -12533,6 +12534,7 @@ export const cities = ['Adana', 'Ankara', 'Antalya', 'Bursa', 'Diyarbakır', 'Er
12533
12534
  | `value` | `Bind<V \| null>` | `null` | The value of the selected item. `x-model` binds it. |
12534
12535
  | `items / dataSource` | `Bind<readonly T[]>` / `Bind<DataSource \| null>` | — | An in-memory array, searched on the client, or a `@motifx-community/data` data source, searched on the server. |
12535
12536
  | `textField, valueField, iconField, groupField, enabledField` | `Bind<ItemField<T>>` | — | Same as DropDown. Groups apply to in-memory items. |
12537
+ | `normalizeKey` | `Bind<NormalizeKey>` | — | Same as DropDown. |
12536
12538
  | `searchMode` | `Bind<'contains' \| 'startswith'>` | `'contains'` | How in-memory items are matched. |
12537
12539
  | `minSearchLength` | `Bind<number>` | `0` | The number of characters to type before the list opens. |
12538
12540
  | `searchDelay` | `Bind<number>` | `0` / `250` | The delay, in milliseconds, between the last keystroke and the search (in memory / with a data source). |
@@ -12680,7 +12682,7 @@ export default function CustomValues() {
12680
12682
 
12681
12683
  # Lookup
12682
12684
 
12683
- > Choice · @motifx-community/ui 0.1.0-beta.11
12685
+ > Choice · @motifx-community/ui 0.1.0-beta.13
12684
12686
 
12685
12687
  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.
12686
12688
 
@@ -12900,7 +12902,7 @@ export default function ByKey() {
12900
12902
 
12901
12903
  # Feedback
12902
12904
 
12903
- > Feedback · @motifx-community/ui 0.1.0-beta.11
12905
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
12904
12906
 
12905
12907
  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.
12906
12908
 
@@ -13042,7 +13044,7 @@ Loading issues…
13042
13044
 
13043
13045
  # ProgressBar and Spinner
13044
13046
 
13045
- > Feedback · @motifx-community/ui 0.1.0-beta.11
13047
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
13046
13048
 
13047
13049
  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.
13048
13050
 
@@ -13451,7 +13453,7 @@ Loading issues…
13451
13453
 
13452
13454
  # Tooltip
13453
13455
 
13454
- > Feedback · @motifx-community/ui 0.1.0-beta.11
13456
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
13455
13457
 
13456
13458
  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.
13457
13459
 
@@ -13798,7 +13800,7 @@ Loading issues…
13798
13800
 
13799
13801
  # Popover
13800
13802
 
13801
- > Feedback · @motifx-community/ui 0.1.0-beta.11
13803
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
13802
13804
 
13803
13805
  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.
13804
13806
 
@@ -14028,7 +14030,7 @@ Loading issues…
14028
14030
 
14029
14031
  # LoadPanel
14030
14032
 
14031
- > Feedback · @motifx-community/ui 0.1.0-beta.11
14033
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
14032
14034
 
14033
14035
  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.
14034
14036
 
@@ -14220,7 +14222,7 @@ Loading issues…
14220
14222
 
14221
14223
  # Toast
14222
14224
 
14223
- > Feedback · @motifx-community/ui 0.1.0-beta.11
14225
+ > Feedback · @motifx-community/ui 0.1.0-beta.13
14224
14226
 
14225
14227
  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.
14226
14228
 
@@ -14541,7 +14543,7 @@ Loading issues…
14541
14543
 
14542
14544
  # Display
14543
14545
 
14544
- > Display · @motifx-community/ui 0.1.0-beta.11
14546
+ > Display · @motifx-community/ui 0.1.0-beta.13
14545
14547
 
14546
14548
  Display components present content: people, counts and labels, cards, pictures, tiles, events in time, codes to scan, and placeholders while content loads.
14547
14549
 
@@ -14693,7 +14695,7 @@ Loading issues…
14693
14695
 
14694
14696
  # QRCode
14695
14697
 
14696
- > Display · @motifx-community/ui 0.1.0-beta.11
14698
+ > Display · @motifx-community/ui 0.1.0-beta.13
14697
14699
 
14698
14700
  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.
14699
14701
 
@@ -14876,7 +14878,7 @@ Loading issues…
14876
14878
 
14877
14879
  # Barcode
14878
14880
 
14879
- > Display · @motifx-community/ui 0.1.0-beta.11
14881
+ > Display · @motifx-community/ui 0.1.0-beta.13
14880
14882
 
14881
14883
  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.
14882
14884
 
@@ -15073,7 +15075,7 @@ Loading issues…
15073
15075
 
15074
15076
  # Badge
15075
15077
 
15076
- > Display · @motifx-community/ui 0.1.0-beta.11
15078
+ > Display · @motifx-community/ui 0.1.0-beta.13
15077
15079
 
15078
15080
  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.
15079
15081
 
@@ -15274,7 +15276,7 @@ Loading issues…
15274
15276
 
15275
15277
  # Avatar and AvatarGroup
15276
15278
 
15277
- > Display · @motifx-community/ui 0.1.0-beta.11
15279
+ > Display · @motifx-community/ui 0.1.0-beta.13
15278
15280
 
15279
15281
  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.
15280
15282
 
@@ -15520,7 +15522,7 @@ Loading issues…
15520
15522
 
15521
15523
  # Chip and ChipGroup
15522
15524
 
15523
- > Display · @motifx-community/ui 0.1.0-beta.11
15525
+ > Display · @motifx-community/ui 0.1.0-beta.13
15524
15526
 
15525
15527
  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.
15526
15528
 
@@ -15805,7 +15807,7 @@ Loading issues…
15805
15807
 
15806
15808
  # Card
15807
15809
 
15808
- > Display · @motifx-community/ui 0.1.0-beta.11
15810
+ > Display · @motifx-community/ui 0.1.0-beta.13
15809
15811
 
15810
15812
  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.
15811
15813
 
@@ -16067,7 +16069,7 @@ Loading issues…
16067
16069
 
16068
16070
  # Gallery
16069
16071
 
16070
- > Display · @motifx-community/ui 0.1.0-beta.11
16072
+ > Display · @motifx-community/ui 0.1.0-beta.13
16071
16073
 
16072
16074
  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.
16073
16075
 
@@ -16319,7 +16321,7 @@ Loading issues…
16319
16321
 
16320
16322
  # TileView
16321
16323
 
16322
- > Display · @motifx-community/ui 0.1.0-beta.11
16324
+ > Display · @motifx-community/ui 0.1.0-beta.13
16323
16325
 
16324
16326
  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.
16325
16327
 
@@ -16533,7 +16535,7 @@ Loading issues…
16533
16535
 
16534
16536
  # Timeline
16535
16537
 
16536
- > Display · @motifx-community/ui 0.1.0-beta.11
16538
+ > Display · @motifx-community/ui 0.1.0-beta.13
16537
16539
 
16538
16540
  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).
16539
16541
 
@@ -16715,7 +16717,7 @@ Loading issues…
16715
16717
 
16716
16718
  # Skeleton
16717
16719
 
16718
- > Display · @motifx-community/ui 0.1.0-beta.11
16720
+ > Display · @motifx-community/ui 0.1.0-beta.13
16719
16721
 
16720
16722
  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.
16721
16723
 
@@ -16854,7 +16856,7 @@ Loading issues…
16854
16856
 
16855
16857
  # Navigation
16856
16858
 
16857
- > Navigation · @motifx-community/ui 0.1.0-beta.11
16859
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
16858
16860
 
16859
16861
  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.
16860
16862
 
@@ -17006,7 +17008,7 @@ Loading issues…
17006
17008
 
17007
17009
  # AppBar
17008
17010
 
17009
- > Navigation · @motifx-community/ui 0.1.0-beta.11
17011
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
17010
17012
 
17011
17013
  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.
17012
17014
 
@@ -17204,7 +17206,7 @@ Loading issues…
17204
17206
 
17205
17207
  # Toolbar
17206
17208
 
17207
- > Navigation · @motifx-community/ui 0.1.0-beta.11
17209
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
17208
17210
 
17209
17211
  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.
17210
17212
 
@@ -17674,7 +17676,7 @@ export default function SizeAndOrientation() {
17674
17676
 
17675
17677
  # BottomNavigation
17676
17678
 
17677
- > Navigation · @motifx-community/ui 0.1.0-beta.11
17679
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
17678
17680
 
17679
17681
  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.
17680
17682
 
@@ -17936,7 +17938,7 @@ Loading issues…
17936
17938
 
17937
17939
  # Tabs
17938
17940
 
17939
- > Navigation · @motifx-community/ui 0.1.0-beta.11
17941
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
17940
17942
 
17941
17943
  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.
17942
17944
 
@@ -18400,7 +18402,7 @@ Loading issues…
18400
18402
 
18401
18403
  # Breadcrumb
18402
18404
 
18403
- > Navigation · @motifx-community/ui 0.1.0-beta.11
18405
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
18404
18406
 
18405
18407
  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.
18406
18408
 
@@ -18533,7 +18535,7 @@ Loading issues…
18533
18535
 
18534
18536
  # Pagination
18535
18537
 
18536
- > Navigation · @motifx-community/ui 0.1.0-beta.11
18538
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
18537
18539
 
18538
18540
  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.
18539
18541
 
@@ -18656,7 +18658,7 @@ Loading issues…
18656
18658
 
18657
18659
  # Stepper
18658
18660
 
18659
- > Navigation · @motifx-community/ui 0.1.0-beta.11
18661
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
18660
18662
 
18661
18663
  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.
18662
18664
 
@@ -18900,7 +18902,7 @@ Loading issues…
18900
18902
 
18901
18903
  # Wizard
18902
18904
 
18903
- > Navigation · @motifx-community/ui 0.1.0-beta.11
18905
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
18904
18906
 
18905
18907
  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.
18906
18908
 
@@ -19148,7 +19150,7 @@ Loading issues…
19148
19150
 
19149
19151
  # Accordion
19150
19152
 
19151
- > Navigation · @motifx-community/ui 0.1.0-beta.11
19153
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
19152
19154
 
19153
19155
  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.
19154
19156
 
@@ -19451,7 +19453,7 @@ Loading issues…
19451
19453
 
19452
19454
  # MultiView
19453
19455
 
19454
- > Navigation · @motifx-community/ui 0.1.0-beta.11
19456
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
19455
19457
 
19456
19458
  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.
19457
19459
 
@@ -19661,7 +19663,7 @@ Loading issues…
19661
19663
 
19662
19664
  # Window and dialog
19663
19665
 
19664
- > Navigation · @motifx-community/ui 0.1.0-beta.11
19666
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
19665
19667
 
19666
19668
  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.
19667
19669
 
@@ -20225,7 +20227,7 @@ export default function DefaultButtons() {
20225
20227
 
20226
20228
  # BottomSheet
20227
20229
 
20228
- > Navigation · @motifx-community/ui 0.1.0-beta.11
20230
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
20229
20231
 
20230
20232
  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.
20231
20233
 
@@ -20549,7 +20551,7 @@ Loading issues…
20549
20551
 
20550
20552
  # Drawer
20551
20553
 
20552
- > Navigation · @motifx-community/ui 0.1.0-beta.11
20554
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
20553
20555
 
20554
20556
  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.
20555
20557
 
@@ -20786,7 +20788,7 @@ Loading issues…
20786
20788
 
20787
20789
  # ActionSheet
20788
20790
 
20789
- > Navigation · @motifx-community/ui 0.1.0-beta.11
20791
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
20790
20792
 
20791
20793
  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.
20792
20794
 
@@ -21004,7 +21006,7 @@ Loading issues…
21004
21006
 
21005
21007
  # Layout
21006
21008
 
21007
- > Navigation · @motifx-community/ui 0.1.0-beta.11
21009
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
21008
21010
 
21009
21011
  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.
21010
21012
 
@@ -21596,7 +21598,7 @@ Loading issues…
21596
21598
 
21597
21599
  # Splitter
21598
21600
 
21599
- > Navigation · @motifx-community/ui 0.1.0-beta.11
21601
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
21600
21602
 
21601
21603
  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).
21602
21604
 
@@ -21808,7 +21810,7 @@ Loading issues…
21808
21810
 
21809
21811
  # Resizable
21810
21812
 
21811
- > Navigation · @motifx-community/ui 0.1.0-beta.11
21813
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
21812
21814
 
21813
21815
  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.
21814
21816
 
@@ -21955,7 +21957,7 @@ Loading issues…
21955
21957
 
21956
21958
  # Draggable and DropTarget
21957
21959
 
21958
- > Navigation · @motifx-community/ui 0.1.0-beta.11
21960
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
21959
21961
 
21960
21962
  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).
21961
21963
 
@@ -22157,7 +22159,7 @@ Loading issues…
22157
22159
 
22158
22160
  # ScrollView
22159
22161
 
22160
- > Navigation · @motifx-community/ui 0.1.0-beta.11
22162
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
22161
22163
 
22162
22164
  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.
22163
22165
 
@@ -22351,7 +22353,7 @@ Loading issues…
22351
22353
 
22352
22354
  # Sortable
22353
22355
 
22354
- > Navigation · @motifx-community/ui 0.1.0-beta.11
22356
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
22355
22357
 
22356
22358
  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.
22357
22359
 
@@ -22572,7 +22574,7 @@ Loading issues…
22572
22574
 
22573
22575
  # FormLayout
22574
22576
 
22575
- > Navigation · @motifx-community/ui 0.1.0-beta.11
22577
+ > Navigation · @motifx-community/ui 0.1.0-beta.13
22576
22578
 
22577
22579
  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.
22578
22580
 
@@ -22698,7 +22700,7 @@ Loading issues…
22698
22700
 
22699
22701
  # Chart
22700
22702
 
22701
- > Charts · @motifx-community/ui 0.1.0-beta.11
22703
+ > Charts · @motifx-community/ui 0.1.0-beta.13
22702
22704
 
22703
22705
  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.
22704
22706
 
@@ -23129,7 +23131,7 @@ export default class Programmatic extends Component<HTMLDivElement> {
23129
23131
 
23130
23132
  # Chart: Lines and areas
23131
23133
 
23132
- > Charts · @motifx-community/ui 0.1.0-beta.11
23134
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23133
23135
 
23134
23136
  Lines and areas show how values change along an axis: over time, or from one category to the next.
23135
23137
 
@@ -23261,7 +23263,7 @@ Loading issues…
23261
23263
 
23262
23264
  # Chart: Bars
23263
23265
 
23264
- > Charts · @motifx-community/ui 0.1.0-beta.11
23266
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23265
23267
 
23266
23268
  Bars compare amounts. They stand on a common baseline, so lengths compare exactly, side by side, stacked, or on their side for long names.
23267
23269
 
@@ -23407,7 +23409,7 @@ export const SALES = [
23407
23409
 
23408
23410
  # Chart: Scatter and bubble
23409
23411
 
23410
- > Charts · @motifx-community/ui 0.1.0-beta.11
23412
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23411
23413
 
23412
23414
  Scatter and bubble charts place each row by two numbers, to show how they relate.
23413
23415
 
@@ -23550,7 +23552,7 @@ Loading issues…
23550
23552
 
23551
23553
  # Chart: Pie and donut
23552
23554
 
23553
- > Charts · @motifx-community/ui 0.1.0-beta.11
23555
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23554
23556
 
23555
23557
  A pie or a donut splits one whole into its parts, for a share seen at a glance.
23556
23558
 
@@ -23679,7 +23681,7 @@ Loading issues…
23679
23681
 
23680
23682
  # Chart: Funnel
23681
23683
 
23682
- > Charts · @motifx-community/ui 0.1.0-beta.11
23684
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23683
23685
 
23684
23686
  A funnel follows a quantity through stages in order, and shows how much of it is left at each one.
23685
23687
 
@@ -23798,7 +23800,7 @@ Loading issues…
23798
23800
 
23799
23801
  # Chart: Radar
23800
23802
 
23801
- > Charts · @motifx-community/ui 0.1.0-beta.11
23803
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23802
23804
 
23803
23805
  A radar compares several measures at once, for one or more items.
23804
23806
 
@@ -23926,7 +23928,7 @@ Loading issues…
23926
23928
 
23927
23929
  # Chart: Heat map
23928
23930
 
23929
- > Charts · @motifx-community/ui 0.1.0-beta.11
23931
+ > Charts · @motifx-community/ui 0.1.0-beta.13
23930
23932
 
23931
23933
  A heat map shows a value for each pair of two categories as a color.
23932
23934
 
@@ -24023,7 +24025,7 @@ Loading issues…
24023
24025
 
24024
24026
  # Chart: Ranges
24025
24027
 
24026
- > Charts · @motifx-community/ui 0.1.0-beta.11
24028
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24027
24029
 
24028
24030
  Ranges show a low and a high value for each position, as a band or as floating bars.
24029
24031
 
@@ -24154,7 +24156,7 @@ Loading issues…
24154
24156
 
24155
24157
  # Chart: Candles
24156
24158
 
24157
- > Charts · @motifx-community/ui 0.1.0-beta.11
24159
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24158
24160
 
24159
24161
  Candles show the first, highest, lowest and last price for each position.
24160
24162
 
@@ -24322,7 +24324,7 @@ Loading issues…
24322
24324
 
24323
24325
  # Chart: Waterfall
24324
24326
 
24325
- > Charts · @motifx-community/ui 0.1.0-beta.11
24327
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24326
24328
 
24327
24329
  A waterfall shows how a starting value becomes an end value through changes up and down.
24328
24330
 
@@ -24437,7 +24439,7 @@ Loading issues…
24437
24439
 
24438
24440
  # Chart: Zoom and large data
24439
24441
 
24440
- > Charts · @motifx-community/ui 0.1.0-beta.11
24442
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24441
24443
 
24442
24444
  Large data stays quick: long lines are thinned to the width with their peaks kept, and the reader zooms in for detail.
24443
24445
 
@@ -24536,7 +24538,7 @@ Loading issues…
24536
24538
 
24537
24539
  # Chart: Live data
24538
24540
 
24539
- > Charts · @motifx-community/ui 0.1.0-beta.11
24541
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24540
24542
 
24541
24543
  A chart follows its data: reactive values redraw it, and live data moves along with the latest values.
24542
24544
 
@@ -24602,7 +24604,7 @@ Loading issues…
24602
24604
 
24603
24605
  # Chart: References and selection
24604
24606
 
24605
- > Charts · @motifx-community/ui 0.1.0-beta.11
24607
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24606
24608
 
24607
24609
  Reference lines and bands give the values a target, a limit or a period, and the reader can choose values to act on.
24608
24610
 
@@ -24732,7 +24734,7 @@ export default function Selection() {
24732
24734
 
24733
24735
  # Sparkline
24734
24736
 
24735
- > Charts · @motifx-community/ui 0.1.0-beta.11
24737
+ > Charts · @motifx-community/ui 0.1.0-beta.13
24736
24738
 
24737
24739
  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.
24738
24740
 
@@ -24855,7 +24857,7 @@ Loading issues…
24855
24857
 
24856
24858
  # Gauge
24857
24859
 
24858
- > Gauges · @motifx-community/ui 0.1.0-beta.11
24860
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
24859
24861
 
24860
24862
  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.
24861
24863
 
@@ -25011,7 +25013,7 @@ Loading issues…
25011
25013
 
25012
25014
  # Gauge: Circular
25013
25015
 
25014
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25016
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25015
25017
 
25016
25018
  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.
25017
25019
 
@@ -25116,7 +25118,7 @@ Loading issues…
25116
25118
 
25117
25119
  # Gauge: Linear
25118
25120
 
25119
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25121
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25120
25122
 
25121
25123
  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.
25122
25124
 
@@ -25204,7 +25206,7 @@ Loading issues…
25204
25206
 
25205
25207
  # Gauge: Scales
25206
25208
 
25207
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25209
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25208
25210
 
25209
25211
  The scale tells the reader how to read the value: its ends, ticks with their values, or nothing at all.
25210
25212
 
@@ -25325,7 +25327,7 @@ Loading issues…
25325
25327
 
25326
25328
  # Gauge: Ranges
25327
25329
 
25328
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25330
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25329
25331
 
25330
25332
  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.
25331
25333
 
@@ -25462,7 +25464,7 @@ Loading issues…
25462
25464
 
25463
25465
  # Gauge: Markers
25464
25466
 
25465
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25467
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25466
25468
 
25467
25469
  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.
25468
25470
 
@@ -25601,7 +25603,7 @@ Loading issues…
25601
25603
 
25602
25604
  # Gauge: Marks
25603
25605
 
25604
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25606
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25605
25607
 
25606
25608
  Marks show other values on the scale besides the gauge's own, such as a target, a limit, or the lowest and highest expected.
25607
25609
 
@@ -25713,7 +25715,7 @@ Loading issues…
25713
25715
 
25714
25716
  # Gauge: Base value
25715
25717
 
25716
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25718
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25717
25719
 
25718
25720
  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.
25719
25721
 
@@ -25795,7 +25797,7 @@ Loading issues…
25795
25797
 
25796
25798
  # Gauge: Dashboards
25797
25799
 
25798
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25800
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25799
25801
 
25800
25802
  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.
25801
25803
 
@@ -25933,7 +25935,7 @@ Loading issues…
25933
25935
 
25934
25936
  # BarGauge
25935
25937
 
25936
- > Gauges · @motifx-community/ui 0.1.0-beta.11
25938
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
25937
25939
 
25938
25940
  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.
25939
25941
 
@@ -26035,7 +26037,7 @@ Loading issues…
26035
26037
 
26036
26038
  # BarGauge: Labels and legend
26037
26039
 
26038
- > Gauges · @motifx-community/ui 0.1.0-beta.11
26040
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
26039
26041
 
26040
26042
  Each value can be written at the end of its bar, named in a legend, and shown with its name under the pointer.
26041
26043
 
@@ -26117,7 +26119,7 @@ Loading issues…
26117
26119
 
26118
26120
  # BarGauge: Data
26119
26121
 
26120
- > Gauges · @motifx-community/ui 0.1.0-beta.11
26122
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
26121
26123
 
26122
26124
  A bar gauge reads numbers, or rows through their fields, and follows them as they change.
26123
26125
 
@@ -26243,7 +26245,7 @@ Loading issues…
26243
26245
 
26244
26246
  # BarGauge: Angles and size
26245
26247
 
26246
- > Gauges · @motifx-community/ui 0.1.0-beta.11
26248
+ > Gauges · @motifx-community/ui 0.1.0-beta.13
26247
26249
 
26248
26250
  How far the bars go round and which way they face fit a bar gauge to the room it has.
26249
26251
 
@@ -26334,7 +26336,7 @@ Loading issues…
26334
26336
 
26335
26337
  # Data
26336
26338
 
26337
- > Data · @motifx-community/ui 0.1.0-beta.11
26339
+ > Data · @motifx-community/ui 0.1.0-beta.13
26338
26340
 
26339
26341
  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).
26340
26342
 
@@ -26465,7 +26467,7 @@ Loading issues…
26465
26467
 
26466
26468
  # TreeView
26467
26469
 
26468
- > Data · @motifx-community/ui 0.1.0-beta.11
26470
+ > Data · @motifx-community/ui 0.1.0-beta.13
26469
26471
 
26470
26472
  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.
26471
26473
 
@@ -26567,7 +26569,7 @@ export interface Entry {
26567
26569
 
26568
26570
  ## Flat data, fields and templates
26569
26571
 
26570
- Flat rows reference their parent through `parentField`, which defaults to `parentId`. Any field can be a property name or a function. `itemTemplate` customizes a row's content, and `enabledField` and `expandedField` apply per row.
26572
+ Flat rows reference their parent through `parentField`, which defaults to `parentId`. Any field can be a property name or a function. `itemTemplate` customizes a row's content: what it adds to its `host` goes with the row, and a cleanup it returns, for what lives outside the row, runs as the row goes (drawn again or the tree gone; a closed row's rows stay drawn). `enabledField` and `enabledField` and `expandedField` apply per row.
26571
26573
 
26572
26574
  ```tsx
26573
26575
  /** A row of the trees on this page. */
@@ -26717,7 +26719,7 @@ export default function Localization() {
26717
26719
  | `size` | `Bind<ControlSize>` | `'md'` | `sm`, `md`, `lg`, from the density tokens. |
26718
26720
  | `label` | `Bind<string>` | `''` | The accessible name of the tree. `aria-label` and `aria-labelledby` on the tag also work. |
26719
26721
  | `virtualFrom` | `Bind<number>` | `500` | When more rows than this are on screen, only the visible rows are rendered. |
26720
- | `itemTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes the content of a row. |
26722
+ | `itemTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes the content of a row. What it adds to `host` goes with the row; a cleanup it returns runs as the row goes. |
26721
26723
  | `enabled / disabled, visible, tabStop, tabIndex` | see Control | | Properties shared by all controls. |
26722
26724
 
26723
26725
  ### Properties
@@ -27227,7 +27229,7 @@ export default function SizesAndLines() {
27227
27229
 
27228
27230
  # ListBox
27229
27231
 
27230
- > Data · @motifx-community/ui 0.1.0-beta.11
27232
+ > Data · @motifx-community/ui 0.1.0-beta.13
27231
27233
 
27232
27234
  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.
27233
27235
 
@@ -27258,7 +27260,7 @@ export const cities = ['Ankara', 'Antalya', 'Bursa', 'İstanbul', 'İzmir', 'Kon
27258
27260
 
27259
27261
  ## Objects, groups, templates
27260
27262
 
27261
- Custom objects are read through `textField` and `valueField`. `groupField` places items under headers, `enabledField` disables specific items, and `itemTemplate` customizes how an item is drawn.
27263
+ Custom objects are read through `textField` and `valueField`. `groupField` places items under headers, `enabledField` disables specific items, and `itemTemplate` customizes how an item is drawn. A template draws into a `host` of its own, which goes when the item is drawn again (another template, the items given again) or the list goes, with everything the template added to it. The cleanup a template can return is for what lives outside the host, such as a subscription or a timer: it runs as the host goes, once what the host held is gone.
27262
27264
 
27263
27265
  ```tsx
27264
27266
  import { reactive, type ComponentBase } from '@motifx/core';
@@ -27438,6 +27440,7 @@ export default function Localization() {
27438
27440
  | `value` | `Bind<V \| V[] \| null>` | `null` / `[]` | The selected value (single) or values (multiple). `x-model` binds it, and a change writes a new array. |
27439
27441
  | `items / dataSource` | `Bind<readonly T[]>` / `Bind<DataSource \| null>` | — | An in-memory array, searched on the client, or a `@motifx-community/data` data source, searched on the server. A data source takes precedence. |
27440
27442
  | `textField, valueField` | `Bind<ItemField<T>>` | `'text'`, `'value'` | A property name or a function `(item) => …`. Plain values serve as their own text and value. |
27443
+ | `normalizeKey` | `Bind<NormalizeKey>` | — | Same as DropDown. |
27441
27444
  | `iconField, groupField, enabledField` | `Bind<ItemField<T>>` | — | An icon for each item, headers between groups (in-memory items), and items that cannot be selected. |
27442
27445
  | `selectionMode` | `Bind<'single' \| 'multiple'>` | `'single'` | A single value, or an array of values. |
27443
27446
  | `showCheckBoxes` | `Bind<boolean>` | `true` | In multiple selection, shows check boxes in front of the items. `false` draws a check mark instead, and a plain click selects only that item. |
@@ -27447,7 +27450,7 @@ export default function Localization() {
27447
27450
  | `searchMode` | `Bind<'contains' \| 'startswith'>` | `'contains'` | How the search matches in-memory items. |
27448
27451
  | `searchDelay` | `Bind<number>` | `0` / `250` | The delay, in milliseconds, between the last keystroke and the search (in memory / with a data source). |
27449
27452
  | `height` | `Bind<number \| string \| null>` | — | The height, in rows (`8`) or a CSS length (`"12rem"`). Without it, the list is as tall as its items, up to the `max-height` of the list (`list.container`). |
27450
- | `itemTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how an item is drawn. |
27453
+ | `itemTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how an item is drawn. What it adds to `host` goes with `host`; a cleanup it returns runs as `host` goes. |
27451
27454
  | `noItemsText` | `Bind<string>` | — | The text for an empty list, which replaces the `uiLocale` “No items” string. |
27452
27455
  | `label, labelMode, helpText, hint, readOnly, required, size, variant, stretch, rules, error, validateOn, validationGroup` | see TextBox | | Field props shared by all editors. |
27453
27456
 
@@ -27609,7 +27612,7 @@ export default function Validation() {
27609
27612
 
27610
27613
  # TagBox
27611
27614
 
27612
- > Data · @motifx-community/ui 0.1.0-beta.11
27615
+ > Data · @motifx-community/ui 0.1.0-beta.13
27613
27616
 
27614
27617
  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.
27615
27618
 
@@ -27733,7 +27736,7 @@ export default function Customers() {
27733
27736
 
27734
27737
  ## Custom tags
27735
27738
 
27736
- With `acceptCustomValue`, pressing Enter adds text that matches no item as a tag. `customValue` transforms or rejects it, and `tagTemplate` customizes how a tag is drawn.
27739
+ With `acceptCustomValue`, pressing Enter adds text that matches no item as a tag. `customValue` transforms or rejects it, and `tagTemplate` customizes how a tag is drawn. It draws into a `host` of its own, which goes when the tag is drawn again, its value is taken out or the box goes, with everything the template added to it; a cleanup it returns runs then, for what lives outside the host.
27737
27740
 
27738
27741
  ```tsx
27739
27742
  import { reactive } from '@motifx/core';
@@ -27826,6 +27829,7 @@ export const skills = ['CSS', 'Go', 'HTML', 'Java', 'JavaScript', 'Kotlin', 'Pyt
27826
27829
  | `value` | `Bind<V[]>` | `[]` | The values of the selected items. `x-model` binds them, and every change writes a new array. |
27827
27830
  | `items / dataSource` | `Bind<readonly T[]>` / `Bind<DataSource \| null>` | — | An in-memory array, searched on the client, or a `@motifx-community/data` data source, searched on the server. |
27828
27831
  | `textField, valueField, iconField, groupField, enabledField` | `Bind<ItemField<T>>` | — | Same as ListBox. Groups apply to in-memory items. |
27832
+ | `normalizeKey` | `Bind<NormalizeKey>` | — | Same as DropDown. |
27829
27833
  | `placeholder` | `Bind<string>` | `''` | Displayed when no item is selected. |
27830
27834
  | `searchMode, minSearchLength, searchDelay` | | `'contains'`, `0`, `0` / `250` | How and when typed text searches, as in ComboBox. |
27831
27835
  | `acceptCustomValue` | `Bind<boolean>` | `false` | Pressing Enter adds text that matches no item as a custom tag. |
@@ -27838,7 +27842,7 @@ export const skills = ['CSS', 'Go', 'HTML', 'Java', 'JavaScript', 'Kotlin', 'Pyt
27838
27842
  | `hideSelected` | `Bind<boolean>` | `false` | Removes selected items from the list (in-memory items only). |
27839
27843
  | `openOnFieldClick` | `Bind<boolean>` | `true` | Clicking the field opens the list. |
27840
27844
  | `showDropDownButton, clearButton` | `Bind<boolean>` | `true`, `false` | The arrow that opens all items, and the button that removes all tags. |
27841
- | `itemTemplate, tagTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how a list item or a tag is drawn. |
27845
+ | `itemTemplate, tagTemplate` | `Bind<(item, host: ComponentBase) => cleanup \| void>` | — | Customizes how a list item or a tag is drawn. What it adds to `host` goes with `host`; a cleanup it returns runs as `host` goes. |
27842
27846
  | `matchWidth` | `Bind<boolean>` | `true` | The list is at least as wide as the field. |
27843
27847
  | `label, labelMode, helpText, hint, prefix, icon, readOnly, required, size, variant, stretch, rules, error, validateOn, validationGroup` | see TextBox | | Field props shared by all editors. |
27844
27848
 
@@ -27977,7 +27981,7 @@ export default function Localization() {
27977
27981
 
27978
27982
  # FilterBuilder
27979
27983
 
27980
- > Data · @motifx-community/ui 0.1.0-beta.11
27984
+ > Data · @motifx-community/ui 0.1.0-beta.13
27981
27985
 
27982
27986
  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.
27983
27987
 
@@ -28586,7 +28590,7 @@ export default function Localization() {
28586
28590
 
28587
28591
  # RibbonMenu
28588
28592
 
28589
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
28593
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
28590
28594
 
28591
28595
  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.
28592
28596
 
@@ -28823,7 +28827,7 @@ Loading issues…
28823
28827
 
28824
28828
  # RibbonMenu: Commands
28825
28829
 
28826
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
28830
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
28827
28831
 
28828
28832
  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.
28829
28833
 
@@ -28945,7 +28949,7 @@ Loading issues…
28945
28949
 
28946
28950
  # RibbonMenu: Layouts and room
28947
28951
 
28948
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
28952
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
28949
28953
 
28950
28954
  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.
28951
28955
 
@@ -29008,7 +29012,7 @@ Loading issues…
29008
29012
 
29009
29013
  # RibbonMenu: Showing and keys
29010
29014
 
29011
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
29015
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
29012
29016
 
29013
29017
  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.
29014
29018
 
@@ -29093,8 +29097,8 @@ A double-click on a tab and Ctrl+F1 switch between `always` and `tabs`; the menu
29093
29097
  | When | What happens |
29094
29098
  | --- | --- |
29095
29099
  | `On the tabs` | Each tab shows its access key (the letter after `&` in its text), else its first letter. The button before the tabs has a letter too, and the quick commands have digits. |
29096
- | `On the commands` | A command shows its `keyHint`, else its access key, else its first letter. Several commands starting with the same letter have a letter and a digit. |
29097
- | `Typing` | The letters press what they stand on. A tab goes on to the letters of its commands; a command ends the hints. Typing the first of two letters hides the others. |
29100
+ | `On the commands` | A command shows its `keyHint`, else its access key, else its first letter. A command that holds a field and has no text takes them from the field's label. Several commands starting with the same letter have a letter and a digit. |
29101
+ | `Typing` | The letters press what they stand on. A tab goes on to the letters of its commands; a command ends the hints, and so do the button before the tabs and a quick command (what the button opens, such as an `AppMenu`, has access keys of its own). Typing the first of two letters hides the others. |
29098
29102
  | `Escape` | Goes back one level: from the commands to the tabs, then ends the hints. Any other key, a click and leaving the page end them too. |
29099
29103
 
29100
29104
  Alt and F10 reach the menu that has focus, else the first menu of the page. `keyHints: false` turns them off, and `showKeyHints()` shows them programmatically.
@@ -29108,7 +29112,7 @@ Loading issues…
29108
29112
 
29109
29113
  # RibbonMenu: Customization
29110
29114
 
29111
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
29115
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
29112
29116
 
29113
29117
  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.
29114
29118
 
@@ -29205,7 +29209,7 @@ Loading issues…
29205
29209
 
29206
29210
  # RibbonMenu: Programmatic changes
29207
29211
 
29208
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
29212
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
29209
29213
 
29210
29214
  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.
29211
29215
 
@@ -29300,7 +29304,7 @@ Loading issues…
29300
29304
 
29301
29305
  # RibbonMenu: API reference
29302
29306
 
29303
- > RibbonMenu · @motifx-community/ui 0.1.0-beta.11
29307
+ > RibbonMenu · @motifx-community/ui 0.1.0-beta.13
29304
29308
 
29305
29309
  Everything `RibbonMenu` takes, offers and reports. Every prop is also a settable property, and a function is followed.
29306
29310
 
@@ -29434,7 +29438,7 @@ Loading issues…
29434
29438
 
29435
29439
  # MenuBar and ContextMenu
29436
29440
 
29437
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
29441
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
29438
29442
 
29439
29443
  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.
29440
29444
 
@@ -29598,7 +29602,7 @@ Loading issues…
29598
29602
 
29599
29603
  # MenuBar: ContextMenu
29600
29604
 
29601
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
29605
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
29602
29606
 
29603
29607
  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.
29604
29608
 
@@ -29728,7 +29732,7 @@ Loading issues…
29728
29732
 
29729
29733
  # MenuBar: Customization
29730
29734
 
29731
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
29735
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
29732
29736
 
29733
29737
  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.
29734
29738
 
@@ -29870,7 +29874,7 @@ Loading issues…
29870
29874
 
29871
29875
  # MenuBar: Programmatic changes
29872
29876
 
29873
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
29877
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
29874
29878
 
29875
29879
  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.
29876
29880
 
@@ -29948,7 +29952,7 @@ Loading issues…
29948
29952
 
29949
29953
  # MenuBar: Merging menus
29950
29954
 
29951
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
29955
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
29952
29956
 
29953
29957
  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.
29954
29958
 
@@ -30160,7 +30164,7 @@ Loading issues…
30160
30164
 
30161
30165
  # MenuBar: API reference
30162
30166
 
30163
- > MenuBar · @motifx-community/ui 0.1.0-beta.11
30167
+ > MenuBar · @motifx-community/ui 0.1.0-beta.13
30164
30168
 
30165
30169
  Every prop, property, method and event of `MenuBar` and `ContextMenu`, the fields of a menu item, and the styling hooks and tokens.
30166
30170
 
@@ -30306,7 +30310,7 @@ Loading issues…
30306
30310
 
30307
30311
  # AppMenu
30308
30312
 
30309
- > AppMenu · @motifx-community/ui 0.1.0-beta.11
30313
+ > AppMenu · @motifx-community/ui 0.1.0-beta.13
30310
30314
 
30311
30315
  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.
30312
30316
 
@@ -30460,7 +30464,7 @@ Loading issues…
30460
30464
 
30461
30465
  # AppMenu: Slots and search
30462
30466
 
30463
- > AppMenu · @motifx-community/ui 0.1.0-beta.11
30467
+ > AppMenu · @motifx-community/ui 0.1.0-beta.13
30464
30468
 
30465
30469
  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.
30466
30470
 
@@ -30530,7 +30534,7 @@ Loading issues…
30530
30534
 
30531
30535
  # AppMenu: Programmatic changes
30532
30536
 
30533
- > AppMenu · @motifx-community/ui 0.1.0-beta.11
30537
+ > AppMenu · @motifx-community/ui 0.1.0-beta.13
30534
30538
 
30535
30539
  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.
30536
30540
 
@@ -30610,7 +30614,7 @@ Loading issues…
30610
30614
 
30611
30615
  # AppMenu: API reference
30612
30616
 
30613
- > AppMenu · @motifx-community/ui 0.1.0-beta.11
30617
+ > AppMenu · @motifx-community/ui 0.1.0-beta.13
30614
30618
 
30615
30619
  Everything `AppMenu` takes, offers and reports. Every prop is also a settable property, and a function is followed.
30616
30620
 
@@ -30697,7 +30701,7 @@ Loading issues…
30697
30701
 
30698
30702
  # TabDocumentManager
30699
30703
 
30700
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
30704
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
30701
30705
 
30702
30706
  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).
30703
30707
 
@@ -31593,7 +31597,7 @@ export default function SaveRestore() {
31593
31597
 
31594
31598
  # TabDocumentManager: Tabs
31595
31599
 
31596
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
31600
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
31597
31601
 
31598
31602
  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.
31599
31603
 
@@ -32431,7 +32435,7 @@ export default function Duplicates() {
32431
32435
 
32432
32436
  # TabDocumentManager: Menus and keys
32433
32437
 
32434
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
32438
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
32435
32439
 
32436
32440
  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.
32437
32441
 
@@ -33128,7 +33132,7 @@ export function customerCard(customer: Customer): ComponentBase {
33128
33132
 
33129
33133
  # TabDocumentManager: Drag and drop
33130
33134
 
33131
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
33135
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
33132
33136
 
33133
33137
  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.
33134
33138
 
@@ -33690,7 +33694,7 @@ export default function MoveWithKeys() {
33690
33694
 
33691
33695
  # TabDocumentManager: Dock and floating windows
33692
33696
 
33693
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
33697
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
33694
33698
 
33695
33699
  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.
33696
33700
 
@@ -34575,7 +34579,7 @@ export function customerCard(customer: Customer): ComponentBase {
34575
34579
 
34576
34580
  # TabDocumentManager: New windows
34577
34581
 
34578
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
34582
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
34579
34583
 
34580
34584
  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.
34581
34585
 
@@ -35239,7 +35243,7 @@ export default function WindowLayout() {
35239
35243
 
35240
35244
  # TabDocumentManager: Tablet and phone
35241
35245
 
35242
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
35246
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
35243
35247
 
35244
35248
  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.
35245
35249
 
@@ -35524,7 +35528,7 @@ Loading issues…
35524
35528
 
35525
35529
  # TabDocumentManager: A whole workspace
35526
35530
 
35527
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
35531
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.13
35528
35532
 
35529
35533
  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.
35530
35534
 
@@ -35941,7 +35945,7 @@ export function customerCard(customer: Customer): ComponentBase {
35941
35945
 
35942
35946
  # Scheduler
35943
35947
 
35944
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
35948
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
35945
35949
 
35946
35950
  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.
35947
35951
 
@@ -36541,7 +36545,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
36541
36545
 
36542
36546
  # Scheduler: Editing
36543
36547
 
36544
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
36548
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
36545
36549
 
36546
36550
  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.
36547
36551
 
@@ -37094,7 +37098,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
37094
37098
 
37095
37099
  # Scheduler: Recurrence and time zones
37096
37100
 
37097
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
37101
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
37098
37102
 
37099
37103
  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.
37100
37104
 
@@ -37522,7 +37526,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
37522
37526
 
37523
37527
  # Scheduler: Resources and groups
37524
37528
 
37525
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
37529
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
37526
37530
 
37527
37531
  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.
37528
37532
 
@@ -38232,7 +38236,7 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
38232
38236
 
38233
38237
  # Scheduler: The appointment form
38234
38238
 
38235
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
38239
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
38236
38240
 
38237
38241
  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.
38238
38242
 
@@ -38871,7 +38875,7 @@ export default function OwnForm() {
38871
38875
 
38872
38876
  # Scheduler: Timeline
38873
38877
 
38874
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
38878
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
38875
38879
 
38876
38880
  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.
38877
38881
 
@@ -39511,7 +39515,7 @@ export default function TimelineTemplates() {
39511
39515
 
39512
39516
  # Scheduler: Agenda
39513
39517
 
39514
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
39518
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
39515
39519
 
39516
39520
  Displays upcoming days as a list, with each day's appointments in time order. Days without appointments are omitted.
39517
39521
 
@@ -40116,7 +40120,7 @@ export default function AgendaTemplates() {
40116
40120
 
40117
40121
  # Scheduler: Big data
40118
40122
 
40119
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
40123
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
40120
40124
 
40121
40125
  Handles thousands of resources and appointments. The scheduler renders only what is visible, and recalculates the layout only for what has changed.
40122
40126
 
@@ -40377,7 +40381,7 @@ export default function BigWeek() {
40377
40381
 
40378
40382
  # Scheduler: Tablet and phone
40379
40383
 
40380
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
40384
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
40381
40385
 
40382
40386
  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.
40383
40387
 
@@ -41049,7 +41053,7 @@ export default function Touch() {
41049
41053
 
41050
41054
  # Scheduler: iCalendar and print
41051
41055
 
41052
- > Scheduler · @motifx-community/ui 0.1.0-beta.11
41056
+ > Scheduler · @motifx-community/ui 0.1.0-beta.13
41053
41057
 
41054
41058
  Exports appointments to an iCalendar file (RFC 5545) and imports them back, for use with other calendar applications. The scheduler can also be printed.
41055
41059
 
@@ -41648,7 +41652,7 @@ export function sampleAppointments(): Meeting[] {
41648
41652
 
41649
41653
  # DataGrid
41650
41654
 
41651
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
41655
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
41652
41656
 
41653
41657
  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.
41654
41658
 
@@ -42018,7 +42022,7 @@ export default function Pager() {
42018
42022
 
42019
42023
  # DataGrid: Editing
42020
42024
 
42021
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
42025
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
42022
42026
 
42023
42027
  ## Editing and save modes
42024
42028
 
@@ -42669,7 +42673,7 @@ export default function BarActions() {
42669
42673
 
42670
42674
  # DataGrid: Edit forms and popups
42671
42675
 
42672
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
42676
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
42673
42677
 
42674
42678
  ## Edit forms and popups
42675
42679
 
@@ -43079,7 +43083,7 @@ export default function ValidationRules() {
43079
43083
 
43080
43084
  # DataGrid: Filtering and search
43081
43085
 
43082
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
43086
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
43083
43087
 
43084
43088
  ## Filters
43085
43089
 
@@ -43655,7 +43659,7 @@ export function makeCustomers(n: number): Customer[] {
43655
43659
 
43656
43660
  # DataGrid: Lookup columns
43657
43661
 
43658
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
43662
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
43659
43663
 
43660
43664
  ## Lookup columns
43661
43665
 
@@ -43735,10 +43739,13 @@ export class SlowAdapter<T extends object, K> extends data.ArrayAdapter<T, K> {
43735
43739
  }
43736
43740
  ```
43737
43741
 
43742
+ Which item a key stands for is the source's decision, as its database compares keys: one that disregards trailing spaces (a `char(n)` column) matches `'A '` to `'A'`, one that disregards case matches an ID written in capitals, and a numeric column reads `'007'` as `7`. The grid asks for the keys of a moment together; when the source returns items no key matched exactly, or items that differ from a key only in such a way, it asks for those keys one by one, and what the source returns for a key is that key's item. A key the source does not have stays a missing key, with no request more. The cell, the editor (its list marks the item), the filter row and the header filter follow the same answer; keys matched to one item are one entry in the lists, which filters by all of them. The row's value is never changed: the editor writes another value only when another item is picked. `normalizeKey` states the rule instead, for an in-memory array, or to spare those requests.
43743
+
43738
43744
  | Lookup field | Description |
43739
43745
  | --- | --- |
43740
43746
  | `dataSource` | `Bind<DataSource \| unknown[]>`. The items, searched and resolved on their own service, or an in-memory array. |
43741
43747
  | `valueField, textField` | The field that matches the cell value (by default, the source's key, or the value itself in an array of plain values), and the displayed text as a field or `(item) => text` (by default, the value). |
43748
+ | `normalizeKey` | `(key) => unknown`. The rule of keys a source compares its own way: keys equal once normalized are one key, such as `(k) => (typeof k === 'string' ? k.trimEnd() : k)` for codes a database pads with spaces. Without it, such keys are still matched (see above); give it to spare those requests, and for an in-memory array, where no source decides. Use one function for a source, so every use of it shares one cache. |
43742
43749
  | `searchFields` | The fields searched by the editor and text searches. By default, `textField` when it is a field. |
43743
43750
  | `filter` | `(row, context) => FilterExpression`. Narrows the items for a row (for cascading lists, `context.getValue('province')` returns the entered value, otherwise the row's). `row` is `null` for filter lists. |
43744
43751
  | `allowClearing` | `Bind<boolean>`. Adds a clear button to the editor. The default is `false`. |
@@ -44026,7 +44033,7 @@ export default function TextFrom() {
44026
44033
 
44027
44034
  # DataGrid: Grouping and summaries
44028
44035
 
44029
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
44036
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
44030
44037
 
44031
44038
  ## Grouping
44032
44039
 
@@ -44513,7 +44520,7 @@ export default function SummariesServer() {
44513
44520
 
44514
44521
  # DataGrid: Master-detail
44515
44522
 
44516
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
44523
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
44517
44524
 
44518
44525
  ## Master-detail
44519
44526
 
@@ -44847,7 +44854,7 @@ export default function DetailTabs() {
44847
44854
 
44848
44855
  # DataGrid: Bands and adaptive columns
44849
44856
 
44850
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
44857
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
44851
44858
 
44852
44859
  ## Band headers
44853
44860
 
@@ -45172,7 +45179,7 @@ export default function AdaptiveColumns() {
45172
45179
 
45173
45180
  # DataGrid: Selection and export
45174
45181
 
45175
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
45182
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
45176
45183
 
45177
45184
  ## Selection
45178
45185
 
@@ -45779,7 +45786,7 @@ export default function PdfExport() {
45779
45786
 
45780
45787
  # DataGrid: Row drag and drop
45781
45788
 
45782
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
45789
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
45783
45790
 
45784
45791
  ## Reorder rows
45785
45792
 
@@ -46128,7 +46135,7 @@ export default function RowDragBetween() {
46128
46135
 
46129
46136
  # DataGrid: Selecting by dragging
46130
46137
 
46131
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
46138
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
46132
46139
 
46133
46140
  ## Rows
46134
46141
 
@@ -46462,7 +46469,7 @@ export default function CellRanges() {
46462
46469
 
46463
46470
  # DataGrid: Scrolling
46464
46471
 
46465
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
46472
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
46466
46473
 
46467
46474
  ## Scrolling modes
46468
46475
 
@@ -46818,7 +46825,7 @@ export default function InfiniteGroups() {
46818
46825
 
46819
46826
  # DataGrid: Layout and events
46820
46827
 
46821
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
46828
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
46822
46829
 
46823
46830
  ## Toolbar
46824
46831
 
@@ -47366,7 +47373,7 @@ export default function Events() {
47366
47373
 
47367
47374
  # DataGrid: API reference
47368
47375
 
47369
- > DataGrid · @motifx-community/ui 0.1.0-beta.11
47376
+ > DataGrid · @motifx-community/ui 0.1.0-beta.13
47370
47377
 
47371
47378
  ## Columns
47372
47379