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

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 (189) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/dist/components/combobox/ComboBox.d.ts +5 -0
  3. package/dist/components/combobox/combo-box-props.d.ts +6 -0
  4. package/dist/components/datagrid/DataGrid.d.ts +4 -1
  5. package/dist/components/datagrid/grid-lookup.d.ts +8 -0
  6. package/dist/components/datagrid/model/FilterModel.d.ts +5 -0
  7. package/dist/components/datagrid/model/LookupTexts.d.ts +2 -0
  8. package/dist/components/datagrid/model/LookupValues.d.ts +4 -0
  9. package/dist/components/datagrid/view/ActionWidths.d.ts +13 -3
  10. package/dist/components/datagrid/view/GridRow.d.ts +1 -1
  11. package/dist/components/dropdown/DropDown.d.ts +5 -0
  12. package/dist/components/dropdown/drop-down-props.d.ts +6 -0
  13. package/dist/components/filterbuilder/filter-builder-lookup.d.ts +3 -0
  14. package/dist/components/listbox/ListBox.d.ts +5 -0
  15. package/dist/components/listbox/list-box-props.d.ts +6 -0
  16. package/dist/components/listbox/select-all-state.d.ts +1 -1
  17. package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +1 -0
  18. package/dist/components/tagbox/TagBox.d.ts +5 -0
  19. package/dist/components/tagbox/tag-box-props.d.ts +6 -0
  20. package/dist/components/toolbar/Toolbar.d.ts +10 -2
  21. package/dist/core/measure/after-frame.d.ts +7 -0
  22. package/dist/core/measure/drawn.d.ts +7 -0
  23. package/dist/core/measure/index.d.ts +1 -1
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +571 -139
  26. package/dist/index.js.map +1 -1
  27. package/dist/parts/data/DataItems.d.ts +24 -0
  28. package/dist/parts/data/KeyedItems.d.ts +31 -5
  29. package/dist/parts/data/normalize-key.d.ts +7 -0
  30. package/dist/styles.css +32 -0
  31. package/docs/accordion.md +1 -1
  32. package/docs/actionsheet.md +1 -1
  33. package/docs/appbar.md +1 -1
  34. package/docs/appmenu-api.md +1 -1
  35. package/docs/appmenu-programmatic.md +1 -1
  36. package/docs/appmenu-search.md +1 -1
  37. package/docs/appmenu.md +1 -1
  38. package/docs/avatar.md +1 -1
  39. package/docs/badge.md +1 -1
  40. package/docs/bar-gauge-angles.md +1 -1
  41. package/docs/bar-gauge-data.md +1 -1
  42. package/docs/bar-gauge-labels.md +1 -1
  43. package/docs/bar-gauge.md +1 -1
  44. package/docs/barcode.md +1 -1
  45. package/docs/bottomnavigation.md +1 -1
  46. package/docs/bottomsheet.md +1 -1
  47. package/docs/breadcrumb.md +1 -1
  48. package/docs/button.md +2 -2
  49. package/docs/buttongroup.md +1 -1
  50. package/docs/buttons.md +3 -5
  51. package/docs/calendar.md +1 -1
  52. package/docs/card.md +1 -1
  53. package/docs/chart-bars.md +1 -1
  54. package/docs/chart-candles.md +1 -1
  55. package/docs/chart-funnel.md +1 -1
  56. package/docs/chart-heatmap.md +1 -1
  57. package/docs/chart-lines.md +1 -1
  58. package/docs/chart-live.md +1 -1
  59. package/docs/chart-pie.md +1 -1
  60. package/docs/chart-radar.md +1 -1
  61. package/docs/chart-ranges.md +1 -1
  62. package/docs/chart-references.md +1 -1
  63. package/docs/chart-scatter.md +1 -1
  64. package/docs/chart-waterfall.md +1 -1
  65. package/docs/chart-zoom.md +1 -1
  66. package/docs/chart.md +1 -1
  67. package/docs/checkbox.md +1 -1
  68. package/docs/chip.md +1 -1
  69. package/docs/choice.md +1 -1
  70. package/docs/colorbox.md +1 -1
  71. package/docs/combobox.md +1 -1
  72. package/docs/commands.md +126 -0
  73. package/docs/control.md +1 -1
  74. package/docs/data.md +1 -1
  75. package/docs/datagrid-api.md +3 -3
  76. package/docs/datagrid-bands.md +1 -1
  77. package/docs/datagrid-drag-select.md +1 -1
  78. package/docs/datagrid-drag.md +1 -1
  79. package/docs/datagrid-editing.md +107 -1
  80. package/docs/datagrid-filtering.md +11 -3
  81. package/docs/datagrid-forms.md +1 -1
  82. package/docs/datagrid-grouping.md +1 -1
  83. package/docs/datagrid-layout.md +2 -2
  84. package/docs/datagrid-lookups.md +1 -1
  85. package/docs/datagrid-master-detail.md +1 -1
  86. package/docs/datagrid-scrolling.md +1 -1
  87. package/docs/datagrid-selection.md +1 -1
  88. package/docs/datagrid.md +1 -1
  89. package/docs/datebox.md +1 -1
  90. package/docs/daterangebox.md +1 -1
  91. package/docs/display.md +1 -1
  92. package/docs/draggable.md +1 -1
  93. package/docs/drawer.md +1 -1
  94. package/docs/dropdown.md +1 -1
  95. package/docs/editors.md +3 -1
  96. package/docs/feedback.md +1 -1
  97. package/docs/fileuploader.md +1 -1
  98. package/docs/filterbuilder.md +1 -1
  99. package/docs/formlayout.md +1 -1
  100. package/docs/foundations.md +1 -1
  101. package/docs/gallery.md +1 -1
  102. package/docs/gauge-base.md +1 -1
  103. package/docs/gauge-circular.md +1 -1
  104. package/docs/gauge-dashboards.md +1 -1
  105. package/docs/gauge-linear.md +1 -1
  106. package/docs/gauge-markers.md +1 -1
  107. package/docs/gauge-marks.md +1 -1
  108. package/docs/gauge-ranges.md +1 -1
  109. package/docs/gauge-scales.md +1 -1
  110. package/docs/gauge.md +1 -1
  111. package/docs/home.md +2 -2
  112. package/docs/keyboard.md +5 -3
  113. package/docs/language.md +2 -2
  114. package/docs/layout.md +1 -1
  115. package/docs/listbox.md +1 -1
  116. package/docs/loadpanel.md +2 -2
  117. package/docs/lookup.md +1 -1
  118. package/docs/menus-api.md +142 -0
  119. package/docs/menus-context.md +126 -0
  120. package/docs/menus-customization.md +138 -0
  121. package/docs/menus-merging.md +208 -0
  122. package/docs/menus-programmatic.md +74 -0
  123. package/docs/menus.md +22 -179
  124. package/docs/multiview.md +1 -1
  125. package/docs/navigation.md +7 -2
  126. package/docs/numberbox.md +3 -3
  127. package/docs/otpinput.md +1 -1
  128. package/docs/pagination.md +1 -1
  129. package/docs/popover.md +1 -1
  130. package/docs/progress.md +3 -3
  131. package/docs/qrcode.md +1 -1
  132. package/docs/radiogroup.md +1 -1
  133. package/docs/rating.md +1 -1
  134. package/docs/resizable.md +1 -1
  135. package/docs/ribbonmenu-api.md +1 -1
  136. package/docs/ribbonmenu-commands.md +1 -1
  137. package/docs/ribbonmenu-customization.md +1 -1
  138. package/docs/ribbonmenu-display.md +1 -1
  139. package/docs/ribbonmenu-layouts.md +1 -1
  140. package/docs/ribbonmenu-programmatic.md +1 -1
  141. package/docs/ribbonmenu.md +1 -1
  142. package/docs/scheduler-agenda.md +1 -1
  143. package/docs/scheduler-big-data.md +1 -1
  144. package/docs/scheduler-editing.md +1 -1
  145. package/docs/scheduler-form.md +1 -1
  146. package/docs/scheduler-icalendar.md +1 -1
  147. package/docs/scheduler-mobile.md +1 -1
  148. package/docs/scheduler-recurrence.md +1 -1
  149. package/docs/scheduler-resources.md +1 -1
  150. package/docs/scheduler-timeline.md +1 -1
  151. package/docs/scheduler.md +1 -1
  152. package/docs/scrollview.md +1 -1
  153. package/docs/shortcuteditor.md +248 -0
  154. package/docs/showcase-home.md +1 -1
  155. package/docs/showcase.md +1 -1
  156. package/docs/signature.md +1 -1
  157. package/docs/skeleton.md +1 -1
  158. package/docs/slider.md +3 -3
  159. package/docs/sortable.md +1 -1
  160. package/docs/sparkline.md +1 -1
  161. package/docs/speeddial.md +1 -1
  162. package/docs/splitter.md +1 -1
  163. package/docs/stepper.md +1 -1
  164. package/docs/switch.md +1 -1
  165. package/docs/tabdocs-dock.md +1 -1
  166. package/docs/tabdocs-drag.md +1 -1
  167. package/docs/tabdocs-menus.md +1 -1
  168. package/docs/tabdocs-mobile.md +1 -1
  169. package/docs/tabdocs-tabs.md +1 -1
  170. package/docs/tabdocs-windows.md +1 -1
  171. package/docs/tabdocs-workspace.md +1 -1
  172. package/docs/tabdocs.md +1 -1
  173. package/docs/tabs.md +1 -1
  174. package/docs/tagbox.md +1 -1
  175. package/docs/textarea.md +1 -1
  176. package/docs/textbox.md +1 -1
  177. package/docs/tileview.md +1 -1
  178. package/docs/timeline.md +1 -1
  179. package/docs/toast.md +1 -1
  180. package/docs/tokens.md +13 -1
  181. package/docs/toolbar.md +1 -1
  182. package/docs/tooltip.md +1 -1
  183. package/docs/treeview.md +1 -1
  184. package/docs/validationsummary.md +1 -1
  185. package/docs/window.md +1 -1
  186. package/docs/wizard.md +1 -1
  187. package/llms-full.txt +3774 -2692
  188. package/llms.txt +16 -6
  189. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  # TabDocumentManager: Tabs
2
2
 
3
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.8
3
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # TabDocumentManager: New windows
2
2
 
3
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.8
3
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # TabDocumentManager: A whole workspace
2
2
 
3
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.8
3
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/tabdocs.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TabDocumentManager
2
2
 
3
- > TabDocumentManager · @motifx-community/ui 0.1.0-beta.8
3
+ > TabDocumentManager · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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).
6
6
 
package/docs/tabs.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Tabs
2
2
 
3
- > Navigation · @motifx-community/ui 0.1.0-beta.8
3
+ > Navigation · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/tagbox.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TagBox
2
2
 
3
- > Data · @motifx-community/ui 0.1.0-beta.8
3
+ > Data · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/textarea.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TextArea
2
2
 
3
- > Editors · @motifx-community/ui 0.1.0-beta.8
3
+ > Editors · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/textbox.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TextBox
2
2
 
3
- > Editors · @motifx-community/ui 0.1.0-beta.8
3
+ > Editors · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/tileview.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TileView
2
2
 
3
- > Display · @motifx-community/ui 0.1.0-beta.8
3
+ > Display · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/timeline.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Timeline
2
2
 
3
- > Display · @motifx-community/ui 0.1.0-beta.8
3
+ > Display · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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).
6
6
 
package/docs/toast.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Toast
2
2
 
3
- > Feedback · @motifx-community/ui 0.1.0-beta.8
3
+ > Feedback · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/tokens.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Design tokens
2
2
 
3
- > Get started · @motifx-community/ui 0.1.0-beta.8
3
+ > Get started · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
@@ -1097,6 +1097,9 @@ Source: `tokens/schema/*.json` for names and types, and `tokens/languages/<langu
1097
1097
  | `combo-box.arrow-glyph.icon` | `--mx-combo-box-arrow-glyph-icon` | `` | `var(--mx-icon-chevron-down)` |
1098
1098
  | `combo-box.arrow-glyph.open.rotate` | `--mx-combo-box-arrow-glyph-open-rotate` | `` | `0.5turn` |
1099
1099
  | `combo-box.loading.color` | `--mx-combo-box-loading-color` | `color.fg.secondary` | `#5e5c55` |
1100
+ | `customizer.page.gap` | `--mx-customizer-page-gap` | `space.3` | `0.75rem` |
1101
+ | `customizer.buttons.gap` | `--mx-customizer-buttons-gap` | `space.2` | `0.5rem` |
1102
+ | `customizer.footer.gap` | `--mx-customizer-footer-gap` | `space.2` | `0.5rem` |
1100
1103
  | `datagrid.record-height` | `--mx-datagrid-record-height` | `control.height.md` | `2rem` |
1101
1104
  | `datagrid.row-space` | `--mx-datagrid-row-space` | `space.1` | `0.25rem` |
1102
1105
  | `datagrid.cell-inset` | `--mx-datagrid-cell-inset` | `control.padding.sm` | `0.5rem` |
@@ -3423,6 +3426,15 @@ Source: `tokens/schema/*.json` for names and types, and `tokens/languages/<langu
3423
3426
  | `sheet.footer.gap` | `--mx-sheet-footer-gap` | `space.2` | `0.5rem` |
3424
3427
  | `sheet.footer.border-top-width` | `--mx-sheet-footer-border-top-width` | `border.width.1` | `1px` |
3425
3428
  | `sheet.footer.border-top-color` | `--mx-sheet-footer-border-top-color` | `color.stroke.divider` | `rgb(0 0 0 / 0.1)` |
3429
+ | `shortcut-editor.editor.gap` | `--mx-shortcut-editor-editor-gap` | `space.3` | `0.75rem` |
3430
+ | `shortcut-editor.keys.gap` | `--mx-shortcut-editor-keys-gap` | `space.3` | `0.75rem` |
3431
+ | `shortcut-editor.status.color` | `--mx-shortcut-editor-status-color` | `color.fg.secondary` | `#5e5c55` |
3432
+ | `shortcut-editor.row-keys.padding-start` | `--mx-shortcut-editor-row-keys-padding-start` | `space.6` | `1.5rem` |
3433
+ | `shortcut-editor.row-keys.color` | `--mx-shortcut-editor-row-keys-color` | `color.fg.secondary` | `#5e5c55` |
3434
+ | `shortcut-editor.row-keys.font-size` | `--mx-shortcut-editor-row-keys-font-size` | `font.size.caption` | `0.75rem` |
3435
+ | `shortcut-editor.changed.padding-start` | `--mx-shortcut-editor-changed-padding-start` | `space.2` | `0.5rem` |
3436
+ | `shortcut-editor.changed.color` | `--mx-shortcut-editor-changed-color` | `color.fg.secondary` | `#5e5c55` |
3437
+ | `shortcut-editor.changed.font-size` | `--mx-shortcut-editor-changed-font-size` | `font.size.caption` | `0.75rem` |
3426
3438
  | `signature.width` | `--mx-signature-width` | `` | `420px` |
3427
3439
  | `signature.height` | `--mx-signature-height` | `` | `160px` |
3428
3440
  | `signature.guide-inset` | `--mx-signature-guide-inset` | `space.6` | `1.5rem` |
package/docs/toolbar.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Toolbar
2
2
 
3
- > Buttons · @motifx-community/ui 0.1.0-beta.8
3
+ > Navigation · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/tooltip.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Tooltip
2
2
 
3
- > Feedback · @motifx-community/ui 0.1.0-beta.8
3
+ > Feedback · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/treeview.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TreeView
2
2
 
3
- > Data · @motifx-community/ui 0.1.0-beta.8
3
+ > Data · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # ValidationSummary
2
2
 
3
- > Editors · @motifx-community/ui 0.1.0-beta.8
3
+ > Editors · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/window.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Window and dialog
2
2
 
3
- > Navigation · @motifx-community/ui 0.1.0-beta.8
3
+ > Navigation · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6
 
package/docs/wizard.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Wizard
2
2
 
3
- > Navigation · @motifx-community/ui 0.1.0-beta.8
3
+ > Navigation · @motifx-community/ui 0.1.0-beta.11
4
4
 
5
5
  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.
6
6