@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
package/llms.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.8: 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.11: 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
 
@@ -20,16 +20,15 @@ Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with
20
20
  - [Foundations](docs/foundations.md): 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.
21
21
  - [Control](docs/control.md): `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…
22
22
  - [Keyboard and focus](docs/keyboard.md): Every control follows the same rules for Tab order, the active control of a container, focus handling, `&File` access keys and application-wide shortcuts.
23
+ - [Commands and shortcuts](docs/commands.md): 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…
23
24
  - [Language](docs/language.md): `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…
24
25
 
25
26
  ## Buttons
26
27
 
27
- - [Buttons](docs/buttons.md): Buttons start commands. The group covers single buttons, groups of them, toolbars that keep commands in reach at any width, application and context menus,…
28
+ - [Buttons](docs/buttons.md): 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…
28
29
  - [Button](docs/button.md): 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…
29
30
  - [ButtonGroup](docs/buttongroup.md): 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…
30
- - [Toolbar](docs/toolbar.md): 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…
31
31
  - [SpeedDial](docs/speeddial.md): 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…
32
- - [MenuBar and ContextMenu](docs/menus.md): 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…
33
32
 
34
33
  ## Editors
35
34
 
@@ -47,6 +46,7 @@ Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with
47
46
  - [Rating](docs/rating.md): 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…
48
47
  - [ValidationSummary](docs/validationsummary.md): 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…
49
48
  - [FileUploader](docs/fileuploader.md): 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…
49
+ - [ShortcutEditor](docs/shortcuteditor.md): 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…
50
50
 
51
51
  ## Choice
52
52
 
@@ -83,8 +83,9 @@ Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with
83
83
 
84
84
  ## Navigation
85
85
 
86
- - [Navigation](docs/navigation.md): Navigation components move the reader around an application and lay out its screens: bars at the top and bottom, tabs, paths, steps and pages, panels that…
86
+ - [Navigation](docs/navigation.md): 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…
87
87
  - [AppBar](docs/appbar.md): 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…
88
+ - [Toolbar](docs/toolbar.md): 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…
88
89
  - [BottomNavigation](docs/bottomnavigation.md): 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…
89
90
  - [Tabs](docs/tabs.md): 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…
90
91
  - [Breadcrumb](docs/breadcrumb.md): 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.
@@ -157,6 +158,15 @@ Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with
157
158
  - [RibbonMenu: Programmatic changes](docs/ribbonmenu-programmatic.md): 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…
158
159
  - [RibbonMenu: API reference](docs/ribbonmenu-api.md): Everything `RibbonMenu` takes, offers and reports. Every prop is also a settable property, and a function is followed.
159
160
 
161
+ ## MenuBar
162
+
163
+ - [MenuBar and ContextMenu](docs/menus.md): 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…
164
+ - [MenuBar: ContextMenu](docs/menus-context.md): 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…
165
+ - [MenuBar: Customization](docs/menus-customization.md): With `customizable`, the user arranges the bar: hides and moves items, renames them, adds commands and menus, and changes keyboard shortcuts. The items you…
166
+ - [MenuBar: Programmatic changes](docs/menus-programmatic.md): 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…
167
+ - [MenuBar: Merging menus](docs/menus-merging.md): 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,…
168
+ - [MenuBar: API reference](docs/menus-api.md): Every prop, property, method and event of `MenuBar` and `ContextMenu`, the fields of a menu item, and the styling hooks and tokens.
169
+
160
170
  ## AppMenu
161
171
 
162
172
  - [AppMenu](docs/appmenu.md): 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.…
@@ -203,7 +213,7 @@ Built on MotifJS (`@motifx/core`): a component is an object, made in JSX or with
203
213
  - [DataGrid: Selecting by dragging](docs/datagrid-drag-select.md): With `selection: 'multiple'`, press on a row and drag over others to select the rows in between, with a frame around them during the drag. A plain drag…
204
214
  - [DataGrid: Scrolling](docs/datagrid-scrolling.md): The `mode` prop determines how rows are reached. Every mode renders only the visible rows from a small pool, so the page never holds one element per row.
205
215
  - [DataGrid: Layout and events](docs/datagrid-layout.md): The bar above the rows contains the grid's own items whose features are enabled, at the end, in this order: “New row” (`addRows`, `newRowButton`), “Save…
206
- - [DataGrid: API reference](docs/datagrid-api.md): All strings the grid displays come from `uiLocale.strings` (the `grid…` keys) or from the grid's own `texts`: the toolbar, the search box, the bar, the…
216
+ - [DataGrid: API reference](docs/datagrid-api.md): Up to 0.1.0-beta.8, the root of the content that `cell`, `groupCell`, `headerCell`, a band's `headerCell` and the detail `template` return must not carry…
207
217
 
208
218
  ## Optional
209
219
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motifx-community/ui",
3
- "version": "0.1.0-beta.10",
3
+ "version": "0.1.0-beta.12",
4
4
  "description": "UI components for MotifJS (@motifx/core) on the MotifJS design system",
5
5
  "keywords": [
6
6
  "motifjs",
@@ -79,7 +79,7 @@
79
79
  "@motifx-community/data": "^0.1.0-beta.1",
80
80
  "@motifx-community/design-system": "^0.1.0-beta.3",
81
81
  "@motifx-community/i18n": "^0.1.0-beta.0",
82
- "@motifx/core": "^1.2.0-rc.29",
82
+ "@motifx/core": "^1.2.0-rc.30",
83
83
  "exceljs": "^4.4.0",
84
84
  "jspdf": "^4.2.1"
85
85
  },
@@ -95,8 +95,8 @@
95
95
  "@motifx-community/data": "file:../motifjs-data",
96
96
  "@motifx-community/design-system": "file:../motifjs-design-system",
97
97
  "@motifx-community/i18n": "file:../motifjs-i18n",
98
- "@motifx/compiler": "1.2.0-rc.29",
99
- "@motifx/core": "1.2.0-rc.29",
98
+ "@motifx/compiler": "1.2.0-rc.30",
99
+ "@motifx/core": "1.2.0-rc.30",
100
100
  "@types/node": "^24.19.1",
101
101
  "axe-core": "^4.11.0",
102
102
  "exceljs": "^4.4.0",