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

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 (468) hide show
  1. package/CHANGELOG.md +414 -0
  2. package/README.md +2 -0
  3. package/dist/components/chart/Chart.d.ts +6 -4
  4. package/dist/components/chart/ChartPlot.d.ts +2 -1
  5. package/dist/components/chart/plot-view.d.ts +10 -2
  6. package/dist/components/chat/Chat.d.ts +276 -0
  7. package/dist/components/chat/ChatComposer.d.ts +172 -0
  8. package/dist/components/chat/ChatReply.d.ts +53 -0
  9. package/dist/components/chat/ChatWriter.d.ts +119 -0
  10. package/dist/components/chat/chat-ask-form.d.ts +64 -0
  11. package/dist/components/chat/chat-asked-entry.d.ts +21 -0
  12. package/dist/components/chat/chat-attachment-entry.d.ts +18 -0
  13. package/dist/components/chat/chat-choices-view.d.ts +40 -0
  14. package/dist/components/chat/chat-command.d.ts +7 -0
  15. package/dist/components/chat/chat-compaction-entry.d.ts +19 -0
  16. package/dist/components/chat/chat-composer-props.d.ts +63 -0
  17. package/dist/components/chat/chat-context-changed-event-args.d.ts +8 -0
  18. package/dist/components/chat/chat-context-item.d.ts +14 -0
  19. package/dist/components/chat/chat-copy-button.d.ts +11 -0
  20. package/dist/components/chat/chat-entry.d.ts +20 -0
  21. package/dist/components/chat/chat-flow-view.d.ts +32 -0
  22. package/dist/components/chat/chat-form-entry.d.ts +24 -0
  23. package/dist/components/chat/chat-form-view.d.ts +48 -0
  24. package/dist/components/chat/chat-history-event-args.d.ts +31 -0
  25. package/dist/components/chat/chat-load-older-event-args.d.ts +17 -0
  26. package/dist/components/chat/chat-look.d.ts +33 -0
  27. package/dist/components/chat/chat-mention.d.ts +21 -0
  28. package/dist/components/chat/chat-message-status.d.ts +2 -0
  29. package/dist/components/chat/chat-message.d.ts +23 -0
  30. package/dist/components/chat/chat-notice-entry.d.ts +20 -0
  31. package/dist/components/chat/chat-option.d.ts +7 -0
  32. package/dist/components/chat/chat-part.d.ts +110 -0
  33. package/dist/components/chat/chat-plan-entry.d.ts +25 -0
  34. package/dist/components/chat/chat-props.d.ts +70 -0
  35. package/dist/components/chat/chat-question-view.d.ts +41 -0
  36. package/dist/components/chat/chat-request.d.ts +173 -0
  37. package/dist/components/chat/chat-role.d.ts +2 -0
  38. package/dist/components/chat/chat-search-bar.d.ts +27 -0
  39. package/dist/components/chat/chat-search.d.ts +33 -0
  40. package/dist/components/chat/chat-send-event-args.d.ts +12 -0
  41. package/dist/components/chat/chat-sources-entry.d.ts +22 -0
  42. package/dist/components/chat/chat-text-entry.d.ts +20 -0
  43. package/dist/components/chat/chat-text-part.d.ts +5 -0
  44. package/dist/components/chat/chat-thinking-entry.d.ts +32 -0
  45. package/dist/components/chat/chat-todo-entry.d.ts +15 -0
  46. package/dist/components/chat/chat-tool-entry.d.ts +66 -0
  47. package/dist/components/chat/chat-tool-init.d.ts +18 -0
  48. package/dist/components/chat/chat-turn-view.d.ts +53 -0
  49. package/dist/components/chat/chat-turn.d.ts +8 -0
  50. package/dist/components/chat/chat-value-changed-event-args.d.ts +6 -0
  51. package/dist/components/chat/index.d.ts +22 -0
  52. package/dist/components/contextmenu/ContextMenu.d.ts +4 -0
  53. package/dist/components/contextmenu/context-menu-props.d.ts +6 -0
  54. package/dist/components/datagrid/DataGrid.d.ts +0 -12
  55. package/dist/components/datagrid/column-type.d.ts +2 -1
  56. package/dist/components/datagrid/grid-column.d.ts +4 -1
  57. package/dist/components/datagrid/grid-date-interval.d.ts +2 -1
  58. package/dist/components/datagrid/grid-filter-value.d.ts +2 -7
  59. package/dist/components/datagrid/grid-header-filter-interval.d.ts +2 -2
  60. package/dist/components/datagrid/grid-settings.d.ts +6 -3
  61. package/dist/components/datagrid/grid-sheet-cell.d.ts +3 -6
  62. package/dist/components/datagrid/grid-sheet-column.d.ts +2 -9
  63. package/dist/components/datagrid/grid-sheet-merge.d.ts +2 -7
  64. package/dist/components/datagrid/grid-sheet-row.d.ts +2 -5
  65. package/dist/components/datagrid/grid-sheet.d.ts +3 -2
  66. package/dist/components/datagrid/grid-summary-item.d.ts +5 -2
  67. package/dist/components/datagrid/grid-summary-texts.d.ts +2 -0
  68. package/dist/components/datagrid/grid-summary-type.d.ts +5 -2
  69. package/dist/components/datagrid/grid-summary.d.ts +3 -2
  70. package/dist/components/datagrid/list-option.d.ts +2 -4
  71. package/dist/components/datagrid/model/ColumnModel.d.ts +21 -3
  72. package/dist/components/datagrid/model/FilterValues.d.ts +15 -7
  73. package/dist/components/datagrid/model/GridExport.d.ts +1 -1
  74. package/dist/components/datagrid/model/GridModel.d.ts +2 -2
  75. package/dist/components/datagrid/model/LookupTexts.d.ts +1 -1
  76. package/dist/components/datagrid/view/CellEditor.d.ts +1 -1
  77. package/dist/components/datagrid/view/ColumnStyles.d.ts +4 -2
  78. package/dist/components/datagrid/view/GridBody.d.ts +1 -1
  79. package/dist/components/datagrid/view/HeaderRow.d.ts +3 -1
  80. package/dist/components/draggable/Draggable.d.ts +14 -3
  81. package/dist/components/dropdown/drop-down-props.d.ts +5 -2
  82. package/dist/components/form/MxForm.d.ts +1 -1
  83. package/dist/components/listbox/item-template.d.ts +4 -0
  84. package/dist/components/markdown/Markdown.d.ts +87 -0
  85. package/dist/components/markdown/code-block.d.ts +57 -0
  86. package/dist/components/markdown/code-colorer.d.ts +11 -0
  87. package/dist/components/markdown/code-highlighter.d.ts +9 -0
  88. package/dist/components/markdown/code-run.d.ts +6 -0
  89. package/dist/components/markdown/diagram-renderer.d.ts +21 -0
  90. package/dist/components/markdown/entities.d.ts +2 -0
  91. package/dist/components/markdown/index.d.ts +8 -0
  92. package/dist/components/markdown/inline-writer.d.ts +85 -0
  93. package/dist/components/markdown/markdown-context.d.ts +53 -0
  94. package/dist/components/markdown/markdown-link-click-event-args.d.ts +9 -0
  95. package/dist/components/markdown/markdown-props.d.ts +40 -0
  96. package/dist/components/markdown/markdown-writer.d.ts +95 -0
  97. package/dist/components/markdown/math-block.d.ts +22 -0
  98. package/dist/components/markdown/math-renderer.d.ts +18 -0
  99. package/dist/components/markdown/safe-href.d.ts +5 -0
  100. package/dist/components/markdown/text-run.d.ts +7 -0
  101. package/dist/components/menubar/MenuBar.d.ts +4 -0
  102. package/dist/components/menubar/menu-bar-props.d.ts +6 -0
  103. package/dist/components/pivotgrid/PivotGrid.d.ts +415 -0
  104. package/dist/components/pivotgrid/index.d.ts +44 -0
  105. package/dist/components/pivotgrid/model/PivotArrangement.d.ts +29 -0
  106. package/dist/components/pivotgrid/model/PivotAxisWindow.d.ts +169 -0
  107. package/dist/components/pivotgrid/model/PivotCellRanges.d.ts +63 -0
  108. package/dist/components/pivotgrid/model/PivotCellWindow.d.ts +47 -0
  109. package/dist/components/pivotgrid/model/PivotChart.d.ts +49 -0
  110. package/dist/components/pivotgrid/model/PivotDisplay.d.ts +61 -0
  111. package/dist/components/pivotgrid/model/PivotDrill.d.ts +19 -0
  112. package/dist/components/pivotgrid/model/PivotExpansion.d.ts +44 -0
  113. package/dist/components/pivotgrid/model/PivotFields.d.ts +55 -0
  114. package/dist/components/pivotgrid/model/PivotFilterValues.d.ts +36 -0
  115. package/dist/components/pivotgrid/model/PivotLayout.d.ts +75 -0
  116. package/dist/components/pivotgrid/model/PivotLoader.d.ts +29 -0
  117. package/dist/components/pivotgrid/model/PivotSheet.d.ts +44 -0
  118. package/dist/components/pivotgrid/model/PivotStateStore.d.ts +19 -0
  119. package/dist/components/pivotgrid/model/PivotTable.d.ts +78 -0
  120. package/dist/components/pivotgrid/model/PivotTexts.d.ts +47 -0
  121. package/dist/components/pivotgrid/model/PivotWindows.d.ts +120 -0
  122. package/dist/components/pivotgrid/model/pivot-copy.d.ts +26 -0
  123. package/dist/components/pivotgrid/model/pivot-csv.d.ts +9 -0
  124. package/dist/components/pivotgrid/model/pivot-header-cell.d.ts +19 -0
  125. package/dist/components/pivotgrid/model/pivot-line-key.d.ts +17 -0
  126. package/dist/components/pivotgrid/model/pivot-line.d.ts +14 -0
  127. package/dist/components/pivotgrid/pivot-grid-area.d.ts +2 -0
  128. package/dist/components/pivotgrid/pivot-grid-cell-click-event-args.d.ts +5 -0
  129. package/dist/components/pivotgrid/pivot-grid-cell-context.d.ts +19 -0
  130. package/dist/components/pivotgrid/pivot-grid-cell-dbl-click-event-args.d.ts +5 -0
  131. package/dist/components/pivotgrid/pivot-grid-cell-range.d.ts +16 -0
  132. package/dist/components/pivotgrid/pivot-grid-cell-selection-changed-event-args.d.ts +6 -0
  133. package/dist/components/pivotgrid/pivot-grid-chart-data.d.ts +15 -0
  134. package/dist/components/pivotgrid/pivot-grid-chart-options.d.ts +19 -0
  135. package/dist/components/pivotgrid/pivot-grid-column-resized-event-args.d.ts +8 -0
  136. package/dist/components/pivotgrid/pivot-grid-column-resizing.d.ts +15 -0
  137. package/dist/components/pivotgrid/pivot-grid-column.d.ts +19 -0
  138. package/dist/components/pivotgrid/pivot-grid-content-ready-event-args.d.ts +6 -0
  139. package/dist/components/pivotgrid/pivot-grid-context-menu-preparing-event-args.d.ts +22 -0
  140. package/dist/components/pivotgrid/pivot-grid-copying-event-args.d.ts +10 -0
  141. package/dist/components/pivotgrid/pivot-grid-custom-summary-info.d.ts +15 -0
  142. package/dist/components/pivotgrid/pivot-grid-data-error-event-args.d.ts +5 -0
  143. package/dist/components/pivotgrid/pivot-grid-drill-down.d.ts +14 -0
  144. package/dist/components/pivotgrid/pivot-grid-expanded-event-args.d.ts +6 -0
  145. package/dist/components/pivotgrid/pivot-grid-expanding-event-args.d.ts +9 -0
  146. package/dist/components/pivotgrid/pivot-grid-export-cell.d.ts +21 -0
  147. package/dist/components/pivotgrid/pivot-grid-export-options.d.ts +16 -0
  148. package/dist/components/pivotgrid/pivot-grid-export.d.ts +17 -0
  149. package/dist/components/pivotgrid/pivot-grid-exported-event-args.d.ts +9 -0
  150. package/dist/components/pivotgrid/pivot-grid-exporting-event-args.d.ts +17 -0
  151. package/dist/components/pivotgrid/pivot-grid-field-chooser.d.ts +20 -0
  152. package/dist/components/pivotgrid/pivot-grid-field-panel.d.ts +16 -0
  153. package/dist/components/pivotgrid/pivot-grid-field.d.ts +110 -0
  154. package/dist/components/pivotgrid/pivot-grid-fields-changed-event-args.d.ts +8 -0
  155. package/dist/components/pivotgrid/pivot-grid-filter-value.d.ts +4 -0
  156. package/dist/components/pivotgrid/pivot-grid-group-interval.d.ts +7 -0
  157. package/dist/components/pivotgrid/pivot-grid-header-filter-items-request.d.ts +9 -0
  158. package/dist/components/pivotgrid/pivot-grid-header-filter-items.d.ts +7 -0
  159. package/dist/components/pivotgrid/pivot-grid-load-panel.d.ts +11 -0
  160. package/dist/components/pivotgrid/pivot-grid-props.d.ts +121 -0
  161. package/dist/components/pivotgrid/pivot-grid-sheet-options.d.ts +14 -0
  162. package/dist/components/pivotgrid/pivot-grid-sheet.d.ts +19 -0
  163. package/dist/components/pivotgrid/pivot-grid-state.d.ts +54 -0
  164. package/dist/components/pivotgrid/pivot-grid-summary-cell.d.ts +29 -0
  165. package/dist/components/pivotgrid/pivot-grid-summary-display-mode.d.ts +5 -0
  166. package/dist/components/pivotgrid/pivot-grid-summary-type.d.ts +5 -0
  167. package/dist/components/pivotgrid/view/PivotFieldChooser.d.ts +71 -0
  168. package/dist/components/pivotgrid/view/PivotFieldPanel.d.ts +92 -0
  169. package/dist/components/pivotgrid/view/PivotView.d.ts +263 -0
  170. package/dist/components/resizable/Resizable.d.ts +2 -0
  171. package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +4 -0
  172. package/dist/components/ribbonmenu/RibbonMenu.d.ts +4 -1
  173. package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +8 -4
  174. package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +6 -0
  175. package/dist/components/scheduler/view/TimeView.d.ts +2 -0
  176. package/dist/components/scrollview/ScrollView.d.ts +48 -1
  177. package/dist/components/scrollview/index.d.ts +1 -0
  178. package/dist/components/scrollview/scroll-end-changed-event-args.d.ts +7 -0
  179. package/dist/components/scrollview/scroll-view-props.d.ts +9 -0
  180. package/dist/components/splitter/Splitter.d.ts +1 -3
  181. package/dist/components/tabdocs/DocumentTab.d.ts +0 -1
  182. package/dist/components/tabdocs/PhoneBar.d.ts +0 -1
  183. package/dist/components/tabdocs/TabDocumentManager.d.ts +3 -2
  184. package/dist/components/textarea/TextArea.d.ts +11 -0
  185. package/dist/components/textarea/text-area-props.d.ts +12 -1
  186. package/dist/components/textbox/TextBox.d.ts +3 -0
  187. package/dist/components/textbox/text-box-props.d.ts +3 -0
  188. package/dist/components/toolbar/Toolbar.d.ts +70 -1
  189. package/dist/components/toolbar/index.d.ts +5 -0
  190. package/dist/components/toolbar/toolbar-added-item.d.ts +9 -0
  191. package/dist/components/toolbar/toolbar-custom-menu-opening-event-args.d.ts +23 -0
  192. package/dist/components/toolbar/toolbar-customization.d.ts +18 -0
  193. package/dist/components/toolbar/toolbar-customized-event-args.d.ts +7 -0
  194. package/dist/components/toolbar/toolbar-item-display.d.ts +2 -0
  195. package/dist/components/toolbar/toolbar-item.d.ts +11 -1
  196. package/dist/components/toolbar/toolbar-props.d.ts +26 -0
  197. package/dist/components/toolbar/toolbar-targets.d.ts +22 -0
  198. package/dist/components/treeview/TreeView.d.ts +8 -4
  199. package/dist/components/treeview/tree-view-item-template.d.ts +4 -0
  200. package/dist/core/clipboard.d.ts +11 -0
  201. package/dist/core/enter-key-hint.d.ts +2 -0
  202. package/dist/core/look-watch.d.ts +2 -2
  203. package/dist/core/measure/look.d.ts +1 -1
  204. package/dist/core/measure/on-layout.d.ts +1 -1
  205. package/dist/core/measure/scroll.d.ts +3 -1
  206. package/dist/core/save-text.d.ts +2 -0
  207. package/dist/core/show-icon.d.ts +3 -3
  208. package/dist/core/ui-strings.d.ts +190 -0
  209. package/dist/excel/excel-pivot-customize-cell-args.d.ts +8 -0
  210. package/dist/excel/excel-pivot-export-options.d.ts +44 -0
  211. package/dist/excel/excel-pivot-export-result.d.ts +6 -0
  212. package/dist/excel/export-pivot-grid.d.ts +35 -0
  213. package/dist/excel/index.d.ts +4 -0
  214. package/dist/excel/index.js +190 -56
  215. package/dist/excel/index.js.map +1 -1
  216. package/dist/excel/write-sheet.d.ts +16 -0
  217. package/dist/{formula-guard-NYlpoA-t.js → formula-guard-Bx48S0u3.js} +2 -2
  218. package/dist/formula-guard-Bx48S0u3.js.map +1 -0
  219. package/dist/generated/tokens.d.ts +7527 -4097
  220. package/dist/index.d.ts +6 -0
  221. package/dist/index.js +66924 -50915
  222. package/dist/index.js.map +1 -1
  223. package/dist/locales/en.json +179 -1
  224. package/dist/locales/tr.json +179 -1
  225. package/dist/parts/customizer/Customizer.d.ts +12 -6
  226. package/dist/parts/customizer/customizer-display.d.ts +2 -0
  227. package/dist/parts/customizer/customizer-node.d.ts +5 -0
  228. package/dist/parts/customizer/customizer-source.d.ts +15 -3
  229. package/dist/parts/item-layout/layout-added-item.d.ts +2 -2
  230. package/dist/parts/list/OptionList.d.ts +4 -3
  231. package/dist/parts/list/option-parts.d.ts +1 -1
  232. package/dist/parts/menu/MenuList.d.ts +5 -0
  233. package/dist/parts/popup/Popup.d.ts +2 -0
  234. package/dist/{components/datagrid/model → parts/table}/CellFormatter.d.ts +8 -8
  235. package/dist/{components/datagrid/view → parts/table}/HeaderFilter.d.ts +16 -11
  236. package/dist/parts/table/OffsetList.d.ts +21 -0
  237. package/dist/parts/table/ScaledOffsets.d.ts +32 -0
  238. package/dist/{components/datagrid/model → parts/table}/ValueIntervals.d.ts +12 -5
  239. package/dist/{components/datagrid/model → parts/table}/ValueListAdapter.d.ts +4 -4
  240. package/dist/parts/table/date-interval.d.ts +2 -0
  241. package/dist/parts/table/date-type.d.ts +3 -0
  242. package/dist/{components/datagrid/model → parts/table}/filter-tree-node.d.ts +3 -1
  243. package/dist/parts/table/filter-value.d.ts +9 -0
  244. package/dist/parts/table/format-column.d.ts +14 -0
  245. package/dist/parts/table/header-filter-host.d.ts +27 -0
  246. package/dist/parts/table/option-of.d.ts +6 -0
  247. package/dist/parts/table/slice-sheet.d.ts +8 -0
  248. package/dist/parts/table/table-sheet-cell.d.ts +13 -0
  249. package/dist/parts/table/table-sheet-column.d.ts +11 -0
  250. package/dist/parts/table/table-sheet-merge.d.ts +9 -0
  251. package/dist/parts/table/table-sheet-row.d.ts +8 -0
  252. package/dist/parts/table/table-sheet.d.ts +24 -0
  253. package/dist/parts/table/value-interval.d.ts +6 -0
  254. package/dist/{components/datagrid/model → parts/table}/value-list.d.ts +7 -2
  255. package/dist/parts/table/value-loader.d.ts +8 -0
  256. package/dist/parts/table/value-option.d.ts +5 -0
  257. package/dist/parts/table/value-type.d.ts +5 -0
  258. package/dist/parts/table/values-result.d.ts +6 -0
  259. package/dist/parts/window/follow-pointer.d.ts +9 -3
  260. package/dist/parts/window-list/WindowList.d.ts +105 -0
  261. package/dist/parts/window-list/window-list-source.d.ts +10 -0
  262. package/dist/pdf/export-pivot-grid.d.ts +21 -0
  263. package/dist/pdf/index.d.ts +3 -0
  264. package/dist/pdf/index.js +143 -16
  265. package/dist/pdf/index.js.map +1 -1
  266. package/dist/pdf/pdf-customize-cell-args.d.ts +1 -1
  267. package/dist/pdf/pdf-pivot-cell-args.d.ts +25 -0
  268. package/dist/pdf/pdf-pivot-export-options.d.ts +61 -0
  269. package/dist/pdf/pdf-table.d.ts +38 -6
  270. package/dist/slice-sheet-C116M42H.js +43 -0
  271. package/dist/slice-sheet-C116M42H.js.map +1 -0
  272. package/dist/styles.css +4527 -201
  273. package/dist/tokens/index.d.ts +7527 -4097
  274. package/dist/tokens/index.js +7527 -4097
  275. package/dist/tokens/index.js.map +1 -1
  276. package/dist/{tr-BvKE8jSF.js → tr-BGbF9uCs.js} +359 -3
  277. package/dist/tr-BGbF9uCs.js.map +1 -0
  278. package/docs/accordion.md +1 -1
  279. package/docs/actionsheet.md +1 -1
  280. package/docs/appbar.md +1 -1
  281. package/docs/appmenu-api.md +1 -1
  282. package/docs/appmenu-programmatic.md +1 -1
  283. package/docs/appmenu-search.md +1 -1
  284. package/docs/appmenu.md +1 -1
  285. package/docs/avatar.md +1 -1
  286. package/docs/badge.md +1 -1
  287. package/docs/bar-gauge-angles.md +1 -1
  288. package/docs/bar-gauge-data.md +1 -1
  289. package/docs/bar-gauge-labels.md +1 -1
  290. package/docs/bar-gauge.md +1 -1
  291. package/docs/barcode.md +1 -1
  292. package/docs/bottomnavigation.md +1 -1
  293. package/docs/bottomsheet.md +1 -1
  294. package/docs/breadcrumb.md +1 -1
  295. package/docs/button.md +1 -1
  296. package/docs/buttongroup.md +1 -1
  297. package/docs/buttons.md +1 -1
  298. package/docs/calendar.md +1 -1
  299. package/docs/card.md +1 -1
  300. package/docs/chart-bars.md +1 -1
  301. package/docs/chart-candles.md +1 -1
  302. package/docs/chart-funnel.md +1 -1
  303. package/docs/chart-heatmap.md +1 -1
  304. package/docs/chart-lines.md +1 -1
  305. package/docs/chart-live.md +1 -1
  306. package/docs/chart-pie.md +1 -1
  307. package/docs/chart-radar.md +1 -1
  308. package/docs/chart-ranges.md +1 -1
  309. package/docs/chart-references.md +1 -1
  310. package/docs/chart-scatter.md +1 -1
  311. package/docs/chart-waterfall.md +1 -1
  312. package/docs/chart-zoom.md +1 -1
  313. package/docs/chart.md +1 -1
  314. package/docs/chat.md +1512 -0
  315. package/docs/checkbox.md +1 -1
  316. package/docs/chip.md +2 -2
  317. package/docs/choice.md +1 -1
  318. package/docs/colorbox.md +1 -1
  319. package/docs/combobox.md +2 -1
  320. package/docs/commands.md +1 -1
  321. package/docs/control.md +1 -1
  322. package/docs/data.md +1 -1
  323. package/docs/datagrid-api.md +3 -3
  324. package/docs/datagrid-bands.md +1 -1
  325. package/docs/datagrid-drag-select.md +1 -1
  326. package/docs/datagrid-drag.md +1 -1
  327. package/docs/datagrid-editing.md +1 -1
  328. package/docs/datagrid-filtering.md +2 -2
  329. package/docs/datagrid-forms.md +1 -1
  330. package/docs/datagrid-grouping.md +7 -7
  331. package/docs/datagrid-layout.md +2 -2
  332. package/docs/datagrid-lookups.md +4 -1
  333. package/docs/datagrid-master-detail.md +1 -1
  334. package/docs/datagrid-scrolling.md +1 -1
  335. package/docs/datagrid-selection.md +1 -1
  336. package/docs/datagrid.md +1 -1
  337. package/docs/datebox.md +1 -1
  338. package/docs/daterangebox.md +1 -1
  339. package/docs/display.md +1 -1
  340. package/docs/draggable.md +2 -2
  341. package/docs/drawer.md +1 -1
  342. package/docs/dropdown.md +4 -3
  343. package/docs/editors.md +1 -1
  344. package/docs/feedback.md +1 -1
  345. package/docs/fileuploader.md +1 -1
  346. package/docs/filterbuilder.md +1 -1
  347. package/docs/formlayout.md +1 -1
  348. package/docs/foundations.md +1 -1
  349. package/docs/gallery.md +1 -1
  350. package/docs/gauge-base.md +1 -1
  351. package/docs/gauge-circular.md +1 -1
  352. package/docs/gauge-dashboards.md +1 -1
  353. package/docs/gauge-linear.md +1 -1
  354. package/docs/gauge-markers.md +1 -1
  355. package/docs/gauge-marks.md +1 -1
  356. package/docs/gauge-ranges.md +1 -1
  357. package/docs/gauge-scales.md +1 -1
  358. package/docs/gauge.md +1 -1
  359. package/docs/home.md +1 -1
  360. package/docs/keyboard.md +1 -1
  361. package/docs/language.md +1 -1
  362. package/docs/layout.md +1 -1
  363. package/docs/listbox.md +4 -3
  364. package/docs/loadpanel.md +1 -1
  365. package/docs/lookup.md +1 -1
  366. package/docs/markdown.md +343 -0
  367. package/docs/menus-api.md +3 -1
  368. package/docs/menus-context.md +2 -1
  369. package/docs/menus-customization.md +5 -1
  370. package/docs/menus-merging.md +1 -1
  371. package/docs/menus-programmatic.md +1 -1
  372. package/docs/menus.md +1 -1
  373. package/docs/multiview.md +1 -1
  374. package/docs/navigation.md +1 -1
  375. package/docs/numberbox.md +1 -1
  376. package/docs/otpinput.md +1 -1
  377. package/docs/pagination.md +1 -1
  378. package/docs/pivotgrid-api.md +180 -0
  379. package/docs/pivotgrid-chart.md +132 -0
  380. package/docs/pivotgrid-drilldown.md +142 -0
  381. package/docs/pivotgrid-export.md +207 -0
  382. package/docs/pivotgrid-fields.md +245 -0
  383. package/docs/pivotgrid-keyboard.md +223 -0
  384. package/docs/pivotgrid-layout.md +663 -0
  385. package/docs/pivotgrid-panel.md +223 -0
  386. package/docs/pivotgrid-remote.md +397 -0
  387. package/docs/pivotgrid-sorting.md +379 -0
  388. package/docs/pivotgrid-state.md +245 -0
  389. package/docs/pivotgrid-summaries.md +330 -0
  390. package/docs/pivotgrid.md +295 -0
  391. package/docs/popover.md +1 -1
  392. package/docs/progress.md +1 -1
  393. package/docs/qrcode.md +1 -1
  394. package/docs/radiogroup.md +1 -1
  395. package/docs/rating.md +1 -1
  396. package/docs/resizable.md +1 -1
  397. package/docs/ribbonmenu-api.md +2 -1
  398. package/docs/ribbonmenu-commands.md +1 -1
  399. package/docs/ribbonmenu-customization.md +3 -2
  400. package/docs/ribbonmenu-display.md +3 -3
  401. package/docs/ribbonmenu-layouts.md +1 -1
  402. package/docs/ribbonmenu-programmatic.md +1 -1
  403. package/docs/ribbonmenu.md +3 -1
  404. package/docs/scheduler-agenda.md +1 -1
  405. package/docs/scheduler-big-data.md +1 -1
  406. package/docs/scheduler-editing.md +1 -1
  407. package/docs/scheduler-form.md +1 -1
  408. package/docs/scheduler-icalendar.md +1 -1
  409. package/docs/scheduler-mobile.md +1 -1
  410. package/docs/scheduler-recurrence.md +1 -1
  411. package/docs/scheduler-resources.md +1 -1
  412. package/docs/scheduler-timeline.md +1 -1
  413. package/docs/scheduler.md +1 -1
  414. package/docs/scrollview.md +1 -1
  415. package/docs/shortcuteditor.md +1 -1
  416. package/docs/showcase-home.md +1 -1
  417. package/docs/showcase-mail.md +39 -0
  418. package/docs/showcase.md +1 -1
  419. package/docs/signature.md +1 -1
  420. package/docs/skeleton.md +1 -1
  421. package/docs/slider.md +1 -1
  422. package/docs/sortable.md +3 -6
  423. package/docs/sparkline.md +1 -1
  424. package/docs/speeddial.md +1 -1
  425. package/docs/splitter.md +1 -1
  426. package/docs/stepper.md +1 -1
  427. package/docs/switch.md +1 -1
  428. package/docs/tabdocs-dock.md +1 -1
  429. package/docs/tabdocs-drag.md +1 -1
  430. package/docs/tabdocs-menus.md +1 -1
  431. package/docs/tabdocs-mobile.md +1 -1
  432. package/docs/tabdocs-tabs.md +1 -1
  433. package/docs/tabdocs-windows.md +1 -1
  434. package/docs/tabdocs-workspace.md +1 -1
  435. package/docs/tabdocs.md +1 -1
  436. package/docs/tabs.md +1 -1
  437. package/docs/tagbox.md +4 -3
  438. package/docs/textarea.md +4 -1
  439. package/docs/textbox.md +2 -1
  440. package/docs/tileview.md +1 -1
  441. package/docs/timeline.md +1 -1
  442. package/docs/toast.md +1 -1
  443. package/docs/tokens.md +687 -1
  444. package/docs/toolbar-api.md +80 -0
  445. package/docs/toolbar-customization.md +261 -0
  446. package/docs/toolbar.md +4 -52
  447. package/docs/tooltip.md +1 -1
  448. package/docs/treeview.md +3 -3
  449. package/docs/validationsummary.md +1 -1
  450. package/docs/window.md +1 -1
  451. package/docs/wizard.md +1 -1
  452. package/llms-full.txt +19005 -12353
  453. package/llms.txt +29 -2
  454. package/package.json +5 -5
  455. package/dist/components/datagrid/model/date-type.d.ts +0 -3
  456. package/dist/components/datagrid/model/option-of.d.ts +0 -6
  457. package/dist/components/datagrid/model/value-loader.d.ts +0 -8
  458. package/dist/formula-guard-NYlpoA-t.js.map +0 -1
  459. package/dist/tr-BvKE8jSF.js.map +0 -1
  460. /package/dist/{components/datagrid/model → core}/text-ranges.d.ts +0 -0
  461. /package/dist/{components/datagrid/model → parts/table}/ExtraHeights.d.ts +0 -0
  462. /package/dist/{components/datagrid/model → parts/table}/ScrollGeometry.d.ts +0 -0
  463. /package/dist/{components/datagrid/model → parts/table}/cell-list.d.ts +0 -0
  464. /package/dist/{components/datagrid/model → parts/table}/date-like.d.ts +0 -0
  465. /package/dist/{components/datagrid/view → parts/table}/editor-value.d.ts +0 -0
  466. /package/dist/{components/datagrid/model → parts/table}/formula-guard.d.ts +0 -0
  467. /package/dist/{components/datagrid/model → parts/table}/parse-date-text.d.ts +0 -0
  468. /package/dist/{components/datagrid/model → parts/table}/same-value.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,420 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.0-beta.14] - 2026-11-22
10
+
11
+ Needs `@motifx/core` 1.2.0-rc.31 and `@motifx-community/data` 0.1.0-beta.2.
12
+
13
+ ### Added
14
+
15
+ - `Markdown`: shows markdown given at once or as it arrives from a model (`append`, `end`, or `text` with
16
+ `streaming`). Every character is on screen the moment it is written; a mark not understood yet shows as text at
17
+ the end until it is, then its element is made and the text goes on into it. Nothing drawn is drawn again, and the
18
+ result is the same whatever the pieces the text arrives in. Headings, emphasis, inline and fenced code, nested and
19
+ task lists, quotes, tables with alignment, links and bare addresses, rules, escapes and entities; HTML is shown as
20
+ text, links take only safe addresses, images are off until `images` and `allowImage` allow them. Code blocks show
21
+ their language and a copy button, and any highlighter colours them through `highlighter` (`CodeHighlighter`).
22
+ - The kit glyph `copy`, and the kit strings `markdownCopy`, `markdownCopied`, `markdownTaskDone`, `markdownTaskOpen`.
23
+ - `Chat`: a conversation with a model, its reply written as it streams through `reply()` (`ChatReply`). A reply is a
24
+ line of parts in the order they came: text drawn as markdown, thinking with a note on what it is about, tool calls
25
+ (`tool()` returns a `ChatToolCall`: `progress`, `start`, `output`, `done`, `fail`; drawn as text, a terminal or a
26
+ diff), a sub-agent's work drawn inside its call, the to-do list (`todo`), notices (`retrying` counts down to the next
27
+ try), and the place the conversation was summed up (`compaction`). The line under the conversation says what the
28
+ reply does, for how long, and how to stop it; a message sent meanwhile waits above the box. `signal` is aborted when
29
+ the user stops the reply or the chat goes, and tool calls still open when a reply ends are closed as failed.
30
+ - `Chat` asks the user and waits: `ChatToolCall.permission()` asks whether a tool may run ("Yes", "always", "No" with
31
+ what to do instead), `reply.plan()` asks to approve a plan, and `reply.questions()` asks questions (tabs, one or many
32
+ choices, previews, "Other", free text, "Decide for me"). Each request takes the message box's place until it is
33
+ answered, one at a time, and the flow says which one waits, with "Answer" to go there. Each returns a Promise and is
34
+ answered with the keys too; a reply that ends first answers it as declined. The answers are written into the
35
+ message, and a turn drawn again shows them.
36
+ - `Chat` keeps on the page only the turns in and near the view, and makes a turn again from its message when it comes
37
+ back (`WindowList`). The view stays at the end while it is there, written before the frame is drawn; scrolled away,
38
+ it stays put and a button counts the messages that came. `hasOlder` and `onLoadOlder` load older messages near the
39
+ top or from a button, and `prepend` keeps the messages on screen in place; a failed load offers to try again.
40
+ - `Chat`: a message of the user can be copied, edited in place and sent again (`resend`), or the conversation taken
41
+ back to before it (`rewind`; `onRewind` can keep it); with `onFork` it opens another conversation from there. A
42
+ reply is copied as markdown, and a failed or stopped last reply is tried again with `onRetry`. With a pointer the
43
+ buttons show on hover or focus.
44
+ - `Chat`: Ctrl+F opens a search over every message, the turns off the page too (`openSearch`, `closeSearch`, `find`,
45
+ `findNext`, `findPrevious`). The result nearest the end shows first; going to a result draws its turn and marks the
46
+ block that holds it (`data-found`).
47
+ - `Chat` for keyboards and screen readers: the turns are a feed, each an article named by its question with its place
48
+ in the whole conversation and busy while its reply is written; Page Down and Page Up go from turn to turn, Ctrl+End
49
+ to the box. Screen readers hear when a reply ends, stops, fails or waits.
50
+ - `Chat` on phones: an on-screen keyboard over the chat's end gives it room there, and it keeps clear of the home
51
+ indicator and the notch. On a touch screen Enter starts a new line in the composer and the button sends.
52
+ - `Chat`: `mathRenderer` and `diagramRenderer`, passed to the markdown of its messages.
53
+ - `ChatComposer`: the message box and its tools in one field, used by `Chat` (`composer`) or alone. Files are picked,
54
+ pasted or dropped, shown as chips (images as small pictures) and sent with the message (`attachments`, `accept`);
55
+ context chips turn on and off (`contextItems`, `onContextChanged`); `/` opens the commands (`commands`) and `@` the
56
+ suggestions (`onMention`, at once or by a Promise) while the focus stays in the box; menus choose the mode (`modes`,
57
+ Shift+Tab for the next), the model and thinking; a ring shows how much of the context is used (`usage`); ↑ and ↓ go
58
+ through the messages sent (`history`).
59
+ - `WindowList` (a part): a list of items of any height in a `ScrollView` that has only the parts in and near the view.
60
+ A part is made from its item when the item comes near and disposed when it goes far: only the item and the part's
61
+ measured height are kept. Heights are estimated until measured, and the part on screen stays where it is while
62
+ estimates turn into measures or items are added above. A part holding focus is not disposed.
63
+ - `ScrollView`: `stickToEnd` (with `endOffset`, `isAtEnd`, `onAtEndChanged`, `scrollToEnd()`, `stick()` and
64
+ `stickNow()`), and `holdPosition(part, change)`, which keeps a part where it was on screen while parts are added above
65
+ it.
66
+ - `TextArea`: `submitOnEnter`, where Enter raises `onEnter` and Shift+Enter starts a new line; an input method's Enter
67
+ never raises it. `selectionStart`, `selectionEnd` and `setSelectionRange()`.
68
+ - `TextArea` and `TextBox`: `enterKeyHint` (`EnterKeyHint`), what the Enter key of an on-screen keyboard says.
69
+ - `Markdown`: footnotes. `[^1]` is the note's number, raised, a link to its note (`[^1]: text`, drawn where it is
70
+ written), and the note links back. `mathRenderer` (`MathRenderer`) draws `$…$`, `$$…$$` and `math` blocks, and
71
+ `diagramRenderer` (`DiagramRenderer`) draws fenced blocks in its languages (`mermaid`), at once or by a promise: their
72
+ text shows as it arrives and what the door draws takes its place once it is complete. Without a door, `$` is text.
73
+ `blockAt(index)` gives the block drawn for a character of the text.
74
+ - `WindowList.reveal(item, then?, align?)`: brings an item into view, making its part when it has none.
75
+ - `Chat`: `onRegenerate` asks for another reply in the place of the last one once it ended, and `onFeedback` puts good
76
+ and bad buttons on a reply (toggles, written in `message.feedback`, `ChatFeedbackEventArgs`).
77
+ - `Chat`: `reply.form(message, schema, { source })` asks the user to fill in a form, as an MCP server's elicitation
78
+ does: the `requestedSchema` is drawn as the kit's editors in the message box's place (text, email, address, date
79
+ and time, numbers, a choice of one as round buttons or a drop-down, several as tags, a yes or no), checked as the
80
+ schema says, and the answer is the elicitation's result (`accept` with its content, `decline`, `cancel`). On a tool
81
+ call it is kept inside the call; questions and forms come one at a time.
82
+ - `Chat`: `reply.sources(items)` shows the sources a reply names as numbered chips, a link to each safe address, its
83
+ site, and what the reply took from it as its hint.
84
+ - `Markdown`: `codeLines` folds a code block longer than that many lines to them, with a button that shows them all
85
+ and folds them again; `Chat` passes its own `codeLines` on. A very long text given at once is drawn a piece a frame
86
+ (`isDrawing`), so the page never stops for it, and a chat whose last message is one shows once it is all there.
87
+ - The kit glyphs `thumb-up` and `thumb-down`, and the kit strings `chatRegenerate`, `chatGood`, `chatBad`,
88
+ `chatSources`, `chatForm` … `chatFormCancelled`, `markdownShowLines`, `markdownShowFewer`.
89
+ - The kit glyphs `send` and `stop`, the kit strings of the chat (`chatLabel` … `chatSearchNext`) and
90
+ `markdownFootnote`, `markdownFootnoteBack`.
91
+ - `Toolbar`: with `customizable`, the user arranges the toolbar from the menu of the right button or Shift+F10:
92
+ hides an item, moves it along the bar, puts a separator before it or takes one away, chooses what a button shows
93
+ (`ToolbarItemDisplay`: icon, text or both), shows the hidden items again and undoes every change. An item says
94
+ otherwise with `customizable: false`; JSX children stay as they are and keep the browser's menu. What the user changed
95
+ is one object (`customization`, `onCustomized`, `ToolbarCustomization`); items are named by their new `key`, else
96
+ their position. The controls of the items are kept: a move, a new name or another display writes only what changed.
97
+ `onCustomMenuOpening` lets the app add commands of its own, also on a toolbar the user cannot change.
98
+ - `Toolbar.openCustomizer()` and "Customize…" open the customizer for a flat list: the items with their check boxes,
99
+ separators instead of groups, renaming, what a button shows, the commands to add (`commands`, else the app's commands
100
+ that have a text) and the keyboard page (`customizerKeyboard`). `customizer: false` leaves it out of the menu.
101
+ - An item's `display` says what its button shows; the text of a button showing only its icon names it and is its
102
+ tooltip.
103
+ - Commands sent to a toolbar from a menu: on a `MenuBar` item that names a command, the menu of the right button offers
104
+ to add it to each customizable toolbar of the page that takes commands (`acceptCommands`), or to take it away where
105
+ it is shown. Adding shows the toolbar's own item of that command again, else adds it as an item of the user's; the
106
+ saved object keeps only the command's key. `MenuBar.toolbarTargets: false` leaves these lines out; they are there
107
+ also on a bar that is not `customizable`.
108
+ - `RibbonMenu` and `ContextMenu` send commands to toolbars the same way: a right-click (or the Menu key, Shift+F10) on
109
+ a ribbon command, or on an item of an open context menu or of its submenu, that names a command of the app offers
110
+ the same lines. On the ribbon they follow the command's own lines, alone when the menu is not `customizable`; its
111
+ quick commands stay its own. In a context menu they open as a small menu of their own, and elsewhere in the menu a
112
+ right-click still opens nothing, not even the browser's menu. `toolbarTargets: false` leaves them out on both. The
113
+ three menus build the lines with the same code (`toolbar-targets.ts`).
114
+ - `CustomizerSource` says what its owner offers: groups (`groups`, `true` by default), separators (`separators`) and
115
+ what an item shows (`display`); the window shows only those buttons, and a flat list adds a command with "Add" after
116
+ the selected item.
117
+ - The kit strings `customizerAdd`, `customizerNewSeparator`, `customizerSeparator`, `customizerDisplay` …
118
+ `customizerDisplayBoth`, `toolbarHide` … `toolbarUnnamed`, `menuBarAddToToolbar`, `menuBarRemoveFromToolbar`.
119
+ - `DataGrid` summaries count the different values of a column that are not empty (`summaryType: 'countDistinct'`),
120
+ compared the way filters compare them, in the browser or by an adapter that computes summaries. The value shows as
121
+ a plain number under any column. Needs `@motifx-community/data` with `countDistinct`.
122
+ - The kit strings `gridSummaryCountDistinct` and `gridSummaryCountDistinctOtherColumn`, and the summary texts
123
+ `countDistinct` and `countDistinctOtherColumn`.
124
+ - `PivotGrid` (its first part): the rows of `data` or a `dataSource` summed up by row fields down the side and column
125
+ fields across the top, a value of every data field where they cross, the totals of open members and the grand
126
+ totals. A field (`PivotGridField`) has an `area` (`row`, `column`, `data`, `filter`), groups dates by their parts and
127
+ numbers by ranges (`groupInterval`; a list makes a hierarchy), orders its members by value, by text or by a data
128
+ field's total, keeps the members of `filterValues` (in every area, by intervals and computed values too), and sums up
129
+ with a summary type or `calculateCustomSummary`. Row headers make a tree or a table (`rowHeaderLayout`), several data
130
+ fields run across or down (`dataFieldArea`), totals come after or before their members (`showTotalsPrior`) and turn
131
+ off per axis or per field. The data layer computes the pivot: in the browser for rows in memory, where a member opens
132
+ without a new load, or on the server where the adapter can, where a member's children load when it opens. Only the
133
+ rows and columns in view are drawn, the headers kept at the top and the start. `cellTemplate`, `cellClass`,
134
+ `onCellClick`, `onExpanding` and `onExpanded`, `onContentReady`, and `onDataErrorOccurred` with a Retry button.
135
+ A header opens its member wherever it is pressed. The table is an ARIA grid once it has rows, `aria-busy` while it
136
+ loads, with one Tab stop: the arrows (over
137
+ cells that span several), Home and End, Ctrl+Home and Ctrl+End, Page Up and Page Down move the active cell, which
138
+ stays drawn and scrolls into view; Enter and Space open a member; a cell is read as its row, its column, its data
139
+ field and its value, and a cell no row falls in as having no value, whatever `emptyText` shows. Right to left, the
140
+ arrows follow the page.
141
+ - The kit strings `pivotGrandTotal`, `pivotTotal`, `pivotEmpty`, `pivotQuarter`, `pivotRange`, `pivotCellLabel`,
142
+ `pivotNoValue`, and the `pivotgrid` token schema with the values of the five design languages.
143
+ - `PivotGrid` keeps what the user arranges over `fields` (`arrangedFields`; a new `fields` list starts again):
144
+ `fieldOption(field, name?, value?)` reads and writes a field, named by its place, `name`, `field` or `title`, and
145
+ `onFieldsChanged` tells every change, the user's or the code's. Options that only lay the result out do it without
146
+ a load, and an axis keeps its open members on the levels it keeps. The field panel (`fieldPanel`) over the table has
147
+ an area of chips for the filter, data, column and row fields, each named: a chip is dragged to another area or along
148
+ its own, and a row or column field's chip turns the order of its members around. The chips are one Tab stop, the
149
+ arrows go from chip to chip, Shift and an arrow move one, Delete takes it out, and Alt and Down, Shift and F10 or the
150
+ menu key open its menu; moves are announced. `allowFieldDragging`, and a field's `allowDragging` and `allowSorting`.
151
+ The kit strings `pivotFieldPanel` … `pivotFieldRemoved`, and the field panel's units in the five design languages.
152
+ - `PivotGrid` header filter: the funnel in a chip, or "Filter values" in its menu, opens the window `DataGrid` has (a
153
+ list with a search box, "Select all" and the rows of each value; a tree for a field grouped in levels) over every
154
+ value of the field in the source, from the data layer: in the browser, or from the server where the adapter computes
155
+ pivots. The choice becomes the field's `filterValues` and `filterType`, and a filtered chip shows it. A field's
156
+ `allowFiltering`; the kit strings `pivotFieldFiltered` and `pivotFilterValues`.
157
+ - `PivotGrid` field chooser (`fieldChooser`, `openFieldChooser()`, `closeFieldChooser()`, and a button at the end of
158
+ the field panel): a window with every field in a list that searches, checked while it is in an area, beside the four
159
+ areas or over them (`layout`). A field checked in takes the area it was given, else the data fields when it sums up
160
+ its rows, else the row fields; its chips move and filter as in the panel. Changes apply at once or with OK
161
+ (`applyChangesMode`). The pivot's token scope covers its header filter, menus and chooser wherever they open. The kit
162
+ strings `pivotFieldChooser` and `pivotAllFields`, and the chooser's units and places in the five design languages.
163
+ - `PivotGrid` context menu: a right click, a long press, the Menu key or Shift+F10 on a header, a title of the corner
164
+ or a data cell opens the kit's `ContextMenu`. It opens or closes the member, every member of its level, sorts each
165
+ field of the other axis by the header's row or column (a submenu of the data fields where there are several), hides
166
+ the field, and opens the field chooser. `onContextMenuPreparing` changes the items or cancels. A field's
167
+ `sortBySummaryPath` orders its members by their values in one member of the other axis; `sortBySummaryField` also
168
+ finds a data field by its `name`. `expandAll(area, level)` and `collapseAll(area, level)` take one level. The kit
169
+ strings `pivotHeaderMenu`, `pivotCellMenu`, `pivotExpand`, `pivotCollapse`, `pivotExpandAll`, `pivotCollapseAll`,
170
+ `pivotSortByColumn`, `pivotSortByRow` and `pivotHideField`.
171
+ - `PivotGrid` state: `state` reads what the user arranged (the fields' areas, places, order and filters changed over
172
+ `fields`, and the members opened or closed one by one, a level whole or all at once) and takes it back, starting
173
+ again from `fields`; the `state` prop gives one at first. `layoutKey` keeps it in `localStorage` (`layoutStorage`:
174
+ another store) on every change and a pivot made again with the name takes it back; dates stay dates, and full or
175
+ blocked storage keeps nothing and fails nothing. `resetState()` goes back to `fields` and forgets what was kept.
176
+ - `PivotGrid` cell selection (`cellSelection: 'single' | 'multiple'`): a press, Shift and a press, a drag (the table
177
+ scrolling at its edges), Ctrl and a press for another range, Shift with the arrows, Home, End, Page Up and Page Down,
178
+ Ctrl+A and Escape. Ranges stay on their cells through a new layout. `cellRanges`, `selectCells()`,
179
+ `clearCellSelection()`, `selectedCells` and `onCellSelectionChanged`. Ctrl+C and `copy()` put the ranges on the
180
+ clipboard under their columns' names and beside their rows' as tab-separated text and an HTML table, or the active
181
+ cell's text; `onCopying` changes or cancels it, and each copy is announced. The range tokens in the five design
182
+ languages, as `DataGrid` has them; the kit strings `pivotCopiedCell` and `pivotCopiedCells`. Keys and presses inside a
183
+ cell template's content stay its own. Docs: a "State and selection" page.
184
+ - `PivotGrid` sorting and filtering: a field's `compare` orders its members by their keys with a function of the app's
185
+ (in memory and over a server's members; `sortOrder` turns it around, empty members stay last), and its header filter
186
+ lists them in that order. A filter expression among `filterValues` keeps the rows it passes with the values, or
187
+ leaves them out with them, on a field grouped by an interval too (`keep` with a `filter`, from `motifjs-data`).
188
+ `headerFilterItems` gives a field's header filter entries of its own (members or filter expressions, or a function
189
+ that starts from the members). Docs: a "Sorting and filtering" page, which takes the order and filters of members
190
+ from "Fields and areas" and the header filter from "Field panel and chooser", and its own browser check
191
+ (`e2e/checks/123-pivotgrid-sorting.mjs`).
192
+ - `PivotGrid` reads a pivot in parts where its source computes them (`capabilities.pivotWindow` of `motifjs-data`):
193
+ only the members and values the view reaches, never the whole result. The first view takes three requests (the
194
+ first part of each axis, which tells how many members it has, then their values; a level open by default adds one).
195
+ Members and values are read a part at a time (`partSize`, 100 rows and 40 columns by default), the next half a part
196
+ before the view reaches it; a long move waits until the scroll stops and lets go of the requests still on their way.
197
+ A member not read yet is an empty line that reads as loading (`data-kind="loading"`, cells with `data-loading`).
198
+ Cell ranges and the active cell keep their members through the parts; Ctrl+C and `copy()`, which resolves to the
199
+ text, read the cells of the ranges first, up to 100,000. `result` and `layout` are `null` then, and `onContentReady`
200
+ gives no result. Columns are drawn as rows are, only those in view, and past ten million pixels the scroll across is
201
+ scaled, so 100,000 columns scroll as a hundred do. Docs: a "Remote data" page with a million orders on a server in a
202
+ worker, and its own browser check (`e2e/checks/124-pivotgrid-remote.mjs`).
203
+ - `PivotGrid` display calculations: a data field's `summaryDisplayMode` shows its value as a share of its row's, its
204
+ column's or the grand total, or of its parent member's value on the rows or the columns (`percentOfRowTotal`,
205
+ `percentOfColumnTotal`, `percentOfGrandTotal`, `percentOfRowParent`, `percentOfColumnParent`), or how far it moved
206
+ from the member before it (`absoluteVariation`, `percentVariation`, along `displayAlong`). `runningTotal` adds the
207
+ values up along the columns or the rows among the members of one parent, and the display mode works on the sums.
208
+ `calculateSummaryValue` works out what a cell shows from the cell and the cells around it (`PivotGridSummaryCell`).
209
+ Shares show as percentages unless the field has a format. A cell's text, its name, what Ctrl+C copies and the
210
+ `value` of its context are what it shows. Read in parts, the values a calculation needs are read with those in view,
211
+ and running totals come from the data layer (`running` of `loadPivotCells`). Docs: a "Summaries and display" page,
212
+ which takes the summaries from "Fields and areas", and its own browser check (`e2e/checks/125-pivotgrid-summaries.mjs`).
213
+ - `PivotGrid` drill-down: `drillDown(cell, options)` resolves to the rows a data cell sums up, as a filter (its members
214
+ on every level, through their intervals, the fields' filters and the members they keep) and as a data source. Where
215
+ the backend applies the filter the data source reads from the pivot's source and query, a part at a time; a field
216
+ read with `value`, or a condition the backend cannot write, has the rows read and filtered in the browser.
217
+ `onCellDblClick` occurs on a double click on a data cell and on Enter there. Docs: a "Drill-down" page with the rows
218
+ of a cell in a window, and its own browser check (`e2e/checks/126-pivotgrid-drilldown.mjs`).
219
+ - `PivotGrid` chart: `chartData(options)` gives the kit's `Chart` its `data`, `xField` and `series` from the pivot: the
220
+ lines of one axis (`argumentAxis`, the rows by default) along the chart's axis, the other axis's lines as series (one
221
+ per data field where there are several), the values and texts the cells show; `totals`, `grandTotals`, `dataFields`,
222
+ `level` (every member of a level, wherever the table stands) and `type`. `data` and `series` are tracked: the chart
223
+ follows the pivot as it loads, opens a member, scrolls or is arranged anew. Read in parts, it draws the lines in view
224
+ and reads a `level` whole. Docs: a "Chart" page, and its own browser check (`e2e/checks/127-pivotgrid-chart.mjs`).
225
+ - `PivotGrid` export: the `export` prop (`formats`, `fileName`, `enabled`) puts an export button at the end of the field
226
+ panel and "Export" in the table's menu. The pivot writes CSV itself (`exportCsv`); `exportTo(format)` raises
227
+ `onExporting` for any other format, and `onExported` follows. `exportSheet(options, write)` gives a writer the pivot
228
+ as rows of cells: the rows of column headers and the corner, a row per line with its row headers, every open member's,
229
+ headers merged over the lines and levels they cover, numbers with the format their cells show them with, totals bold.
230
+ A pivot read in parts is read whole first, a run of rows at a time (as many as 20,000 cells across every column, the
231
+ next run read while one is written), with the load panel's progress and stop button (`loadPanel`, `onProgress`,
232
+ `signal`, `cancelExport()`); a member opened meanwhile stops it. The million orders of the Remote data example export
233
+ their 100,017 rows to CSV in about nine seconds, most of them the example's server. `exportPivotGrid` of
234
+ `@motifx-community/ui/excel` writes it to an ExcelJS worksheet, the headers kept in view and, in the tree layout,
235
+ members indented and their rows folding; a table larger than a worksheet goes on in worksheets added after it, the
236
+ headers in each. `exportPivotGrid` of `@motifx-community/ui/pdf` draws it on a jsPDF document; columns that do not
237
+ fit go on to the next pages after the row headers again (`splitColumns`). The strings `pivotExport`, `pivotExportTo`,
238
+ `pivotExporting`, `pivotExported`, `pivotExportFailed`, `pivotExportCanceled`, `pivotExportProgress`,
239
+ `pivotExportCancel`, and the place `pivotgrid.export-button`. Docs: an "Export" page, and its own browser check
240
+ (`e2e/checks/128-pivotgrid-export.mjs`).
241
+ - `PivotGrid` column widths: the end of a column header drags its column wider or narrower, and the end of a title of
242
+ the corner a column of row headers; "Width" in a header's menu resizes with the arrow keys (Shift a pixel, Enter or
243
+ Tab keeps it, Escape takes it back, each step announced). A data column takes its data field's width, so every column
244
+ of the data field follows. The widths are kept in the `state` (a field's `width` in its entry, those of the tree's
245
+ column, the data field titles and the data columns of several data fields in `widths`) over the fields' `width`;
246
+ `onColumnResized`, `columnWidth(column)`, `resizeColumn(column, width)`, `columnResizing` (`enabled`, `minWidth`,
247
+ `step`, `fineStep`) and a field's `allowResizing`. The strings `pivotResizeColumn`, `pivotResizingHint`,
248
+ `pivotWidthIs`, the unit `pivotgrid.resize` and the token `pivotgrid.resize-hit-width`. Docs: "Column widths" on the
249
+ "Totals and layout" page, and its own browser check (`e2e/checks/129-pivotgrid-resize.mjs`).
250
+ - A `PivotGrid` field's `allowExpanding: false` keeps the user from opening and closing its members: their headers have
251
+ no arrow and no `aria-expanded`, Enter and Space do nothing on them, and the menu has no such items, nor its level's
252
+ on a title of the corner. `expanded`, `expandAll`, `collapseAll` and the state open them all the same. Changing it, or
253
+ `allowResizing`, lays the pivot out again without loading it.
254
+ - `PivotGrid` `wrapColumnHeaders`: the text of the column headers and of the corner's titles wraps onto more lines, and
255
+ the rows of column headers grow to hold it (`data-wrap-headers` on the pivot); row headers and cells keep one line.
256
+ - `PivotGrid` `showEmptyRows` and `showEmptyColumns`: `false` leaves out the rows and columns whose data fields are all
257
+ empty at the other axis's grand total, with their children and totals; a member whose children are all left out
258
+ stands as one that does not open. Read in parts, the members are asked with `nonEmpty` of `motifjs-data`, so those
259
+ left out are not read. Docs: "Empty rows and columns" on the "Totals and layout" page, and its own browser check
260
+ (`e2e/checks/130-pivotgrid-empty.mjs`).
261
+ - A `TableSheet` may keep columns of row headers in view (`headerColumns`) and give a cell number and date formats of
262
+ its own and a bold total (`numberFormat`, `dateFormat`, `strong`); the Excel and PDF writers follow them.
263
+
264
+ ### Fixed
265
+
266
+ - A `PivotGrid` read in parts lets go of the values it keeps past its limit many at once. One at a time, each one let go
267
+ of went past all those before it, and reading slowed down the longer the pivot was scrolled.
268
+ - A `DataGrid` column's `headerFilterItems` with every entry chosen keeps the rows of those entries. The header filter
269
+ took every entry chosen for every value and dropped the filter, though entries of a column's own need not cover every
270
+ row.
271
+ - An open `ContextMenu` that follows the element it opened on through a scroll places itself again as a read the
272
+ measure layer allows. It read the layout in the middle of a write, which development reported and which laid the page
273
+ out once more.
274
+ - A dragged copy (a `DataGrid` header or chip, a tab, a `Sortable`, `Draggable` or `TileView` item) is as large as what
275
+ it copies, to the fraction of a pixel. Its size was rounded, and a copy rounded down could cut its text short.
276
+ - A `Toolbar` given its room back hides its "more" button once every item is in the bar again. When only its room
277
+ changed, the toolbar fitted its items from the sizes it knew, put them all back and left the empty button showing.
278
+ - `MenuBar.customization` given `null`, or a saved object, after the user changed the bar forgets or restores the
279
+ changes each time. The bar kept the user's changes inside only, so a value given a second time looked unchanged and
280
+ was not taken.
281
+ - The right-click menu of an item in an open `MenuBar` menu stays open while the pointer moves to it. The menu under
282
+ it took focus for the item under the pointer at its first move, and the right-click menu, losing focus, closed. A
283
+ menu list now leaves focus where it is while a popup in front of it that is not one of its own submenus holds it.
284
+ - A component put inside one of its kind keeps its own look, as the `DataGrid` does since 0.1.0-beta.13. A rule
285
+ going down from a state of a part that holds content reached the same parts of the component inside it: a
286
+ horizontal `Splitter` in a vertical one took its cursor; a `Timeline` in an event took the orientation of the one
287
+ around it; a `MultiView` in one without animation lost its slide; a vertical `Sortable` in a horizontal one drew its
288
+ drop line two pixels wide and no higher; a `ScrollView` took the pull state of the one around it; a `ListBox` in an
289
+ item of a list box with check boxes showed its checks ticked, and one in a list of several choices lost the bar of
290
+ its chosen item; a `TabDocumentManager` in a document took the wrapping, the row and the size of pinned tabs, the
291
+ splitters, the tablet and phone layout and the window's bar of the one around it. Each rule now goes the component's
292
+ own way down (`>`), or the root declares a value that each root declares again. Each group of a `TabDocumentManager`
293
+ carries `data-pinned-size`, `data-pinned-row` and `data-wrap` as the root does, for its own rules. A component on
294
+ its own looks as it did.
295
+ - A button takes the colors of an accent `AppBar` only where it stands on the bar: the bar's own, one in its content
296
+ (in a stack or a button group too) and the buttons of its actions. A button inside another component in the bar (a
297
+ `Signature`'s buttons, a field's, one in a popover, a popup or a dialog) keeps that component's colors; it took the
298
+ bar's light text and could not be read. Likewise a `ListBox` draws no frame of its own only where it stands on a
299
+ `Drawer`, a `Popup` or a `BottomSheet`: inside a card or another component there it is a field again.
300
+ - A `ScrollView` stuck to its end stays there when its content grows by much in a frame. The scroll it made to the end
301
+ was heard after the content had grown again, and read as the user leaving the end; a notice of the content's size,
302
+ which comes a frame or two late, took the view back up to an end it had passed. A view at the end that went down now
303
+ stays at the end, and a notice of an end above the view is not followed.
304
+ - The button back to the latest message of a `Chat` stands in the middle, on a surface of its own: the button's own
305
+ margins put it at the start, and its outline let the text under it show through.
306
+ - A `Form` maximized by a double click on its title bar goes back to its own size on Restore. Each press on the bar
307
+ was taken as the start of a move, and its geometry was measured a frame after the release: by then the double click
308
+ had maximized the form, and the page's size was kept as its `width` and `height`. A press that moves nothing now
309
+ keeps nothing, and the geometry is kept only in the normal state.
310
+ - A `Chart` measures each text in the font it is drawn in: the axis labels in theirs, the labels on the marks and of
311
+ the references in their own. The texts were measured in the chart's font, larger than the labels', so in a chart of
312
+ twelve months with room for each name every other month was left out. The probes take the units of the texts
313
+ (`.mx-chart__probe`, `.mx-chart__label-probe`, `.mx-chart__reference-probe`).
314
+ - A `Chart` turns with the reading direction when `dir` changes on the page or on a part of it, as the docs' RTL
315
+ switch does. A change of `dir` is a change of the look now, as a theme's is: what was drawn for one direction is
316
+ drawn again.
317
+ - `RibbonMenu` key hints take the keys typed before their letters are laid out: Alt and a letter in one go, or the
318
+ letter of a command typed right after the tab's. Those keys were swallowed while the letters waited for the next
319
+ measuring round; they now wait with them and are typed once the letters are drawn.
320
+ - A tab chosen right after another stays in sight in a `Tabs` strip that scrolls (Home or End just after a click).
321
+ Each choice asked the strip to show its tab, and both were read in the same round: the first tab, out of sight by
322
+ then, took the strip back to the start. A reveal asked for along the same axis of the same scroller now takes the
323
+ place of one not run yet (`reveal` in the measuring layer), for every component that shows its chosen item.
324
+ - A `Draggable` is drawn where the pointer let it go. When the drawing was behind the pointer, the last move landed
325
+ with the release and glided there as a move by the keys does, so `onDragEnded` came while it was still on its way.
326
+ It carries `data-landing` until that place is drawn; a move by the keys or the model still glides.
327
+ - A `Chip` that is a button or an option itself holds no button inside. Its remove mark is for the pointer only
328
+ (`aria-hidden`); Delete and Backspace remove it, and the chip names them (`aria-keyshortcuts`). A chip that is only
329
+ removable keeps its remove button.
330
+ - What is dragged stays under the pointer when the page, or a scroller around it, scrolls during the drag (a wheel,
331
+ the keys, a smooth scroll), the pointer at rest too: a `Draggable`, a `Resizable`'s edges, the handles of `Splitter`
332
+ and `SplitContainer`, the splitters of `TabDocumentManager` and its strip's thin scrollbar, and a `DataGrid` column's
333
+ edge. Each moved by the pointer's way on the screen from the press, so the scrolled distance came off: a page
334
+ scrolled 60 px in the middle of a drag left the box 60 px from the pointer. The way is counted now from what the
335
+ drag does not move and a scroll does (the place a draggable or a positioned box starts from, the splitter's box,
336
+ the row a column starts in), read in the measuring round of each move and of each scroll.
337
+ - A `DataGrid` column dragged alone (`resizeMode: 'widget'`) grows and shrinks at the edge dragged in a grid its columns
338
+ fill. A flexing column before it gave it the room, so it grew toward the start and its edge stayed where it was. From
339
+ the first move the flexing columns before it keep the widths they show and stop flexing, as a column resized itself
340
+ does; the following ones move on, a flexing one among them taking up the difference first.
341
+ - A `DataGrid` column pinned to the end is resized at its start edge. Its handle was at its end edge, which the grid's
342
+ end edge holds in place: dragged, the column grew toward the start and the edge dragged stayed where it was. The
343
+ handle and its line are at the start edge now (`data-edge="start"`) and the drag is turned round: toward the start
344
+ the column grows, a flexing column before it taking up the difference; with `resizeMode: 'nextColumn'` it trades
345
+ with the column before it in its zone. The arrow keys of “Width” in the column menu move the same edge.
346
+ - `RibbonMenu`: the right-click menu of a command that takes its text from the app's command it names reads “Hide
347
+ “Bold””; it read “Hide “””, from the command's own text. `onCustomMenuOpening` gives one of the app's quick commands
348
+ as `item` (with no `path`); it gave `null`, as if the pointer were on nothing.
349
+
350
+ ### Changed
351
+
352
+ - `DataGrid`: the columns pinned to the end stand at the grid's end edge also when the columns leave room, the room
353
+ coming before them (a track of its own while no other column flexes). They stood right after the other columns, the
354
+ room after them. Their cells, a band's header and the empty pieces over them, and the group summary items under them
355
+ are placed on grid lines counted from the end.
356
+ - The clipboard writing of `DataGrid` is shared (`core/clipboard.ts`): the Clipboard API where the page may use it,
357
+ else the copy command. Its hidden text area is `.mx-copy-area`.
358
+ - The parts of `DataGrid` another table will use are shared (`parts/table/`): the cell formatter, the value
359
+ intervals, the scroll geometry of a long body, the header filter window (it asks its component through
360
+ `HeaderFilterHost` and names its parts after it, so the grid's stay `mx-data-grid__values…`) and the export sheet
361
+ (`TableSheet`), which the Excel and PDF writers now take. The grid's types keep their names and fields.
362
+ - `LayoutAddedItem.parent` may be left out: an item added to a flat list stands at the top.
363
+ - Token schema: a place may be a context (`context`: the component that gives it, `selector`: the part's root), and
364
+ a component names its roots that only lay out their children (`$layout`). `src/generated/places.css` gives a
365
+ context on its component, has the part read it before its own tokens and stops it at every other component's root.
366
+ A unit that turns may turn with its parent only (`turn.where` ending in `>`).
367
+ - Docs: `Toolbar` has a group of its own (Overview, Customization, API reference).
368
+ - Docs: `PivotGrid` has a group of its own (Overview, Fields and areas, Totals and layout, Keyboard and accessibility,
369
+ API reference), in English and Turkish, with a pivot a server computes among its examples, and a browser check of
370
+ its own (`e2e/checks/118-pivotgrid.mjs`).
371
+ - Docs: the `DataGrid` summary table says that `recalculateWhileEditing: true` makes the values follow unsaved edits;
372
+ it said this of `false`.
373
+ - Docs: the `Sortable` handle example builds its grip as a component; the `Draggable` page names `data-landing`.
374
+ `e2e/docs-smoke.mjs` reads the docs in English whatever the machine's language and starts each check in the same
375
+ window size, and the browser checks follow the kit's parts that are out of the page while hidden, the clipboard
376
+ written through the Clipboard API, the print mark on the app's root, boxes read in one frame and what a drag draws
377
+ with the next frame. A check scrolls the page into place at once (`behavior: 'instant'`), whatever `scroll-behavior`
378
+ the page has: a smooth one moved what it then pressed.
379
+ - Docs: the browser checks switch the theme and the design language with `e2e/theme.mjs` (`useTheme`,
380
+ `coloursSettled`) and read colours, or run axe, once the colour transitions the switch started have ended; a fixed
381
+ wait read them on their way on a busy machine (a tab's title at 2.14:1 in the dark theme). The TextArea check waits
382
+ for the height the measuring round writes, the Tabs check for the scroll buttons that round takes away, the TabDocs
383
+ drag check presses a tab once its strip has stopped scrolling after the fonts came in, and the DataGrid actions check
384
+ says which menu did not open, and what the page held then.
385
+ - Docs: the DataGrid check waits for the rows of the virtual list, which a server sends after 300 ms, before it
386
+ measures a cell of them after the page is opened again; a quick run read the first row before it came.
387
+
388
+ ## [0.1.0-beta.13] - 2026-11-17
389
+
390
+ Needs `@motifx/core` 1.2.0-rc.31.
391
+
392
+ ### Fixed
393
+
394
+ - A template's cleanup runs with its host whole, when the item is drawn again and when its control goes (#3). The
395
+ cleanup an `itemTemplate` (`ListBox`, `ComboBox`, `DropDown`, `Lookup`, `TagBox`, `TreeView`), a `fieldTemplate`
396
+ (`DropDown`, `Lookup`) or a `tagTemplate` (`TagBox`) returns was kept by the control and called by hand: on a redraw
397
+ with the host alive, and when the control, its owner or the tab holding it went, after the host was already
398
+ disposed, so a cleanup that touched the host threw once per drawn row. Every drawing now has a host of its own, the
399
+ cleanup is given to that host, and it runs as the host goes, the same way in both cases. A template that only adds
400
+ components to its host needs no cleanup: they go with the host.
401
+ - `DropDown` and `Lookup` draw the value once as they are built: the field was drawn, then drawn again for the data
402
+ source given (none included), so a `fieldTemplate` ran twice and its cleanup once in between. With a data source,
403
+ the first drawing wrote the key itself before the source was there.
404
+ - A `DataGrid` inside another `DataGrid` (in a row's details, in a cell) keeps its own columns and its own look (#4).
405
+ A grid wrote the rules of its columns, and its stylesheet the rules for its states, with descendant selectors, so
406
+ they reached the rows of a grid inside it too. A column the outer grid does not show (its own selection column
407
+ among them) was hidden inside as well, and the cells after it moved into the wrong tracks; a column's alignment,
408
+ its pinning and, with virtual columns, its track went to the same field inside; and the outer grid's `striped`,
409
+ `selection`, `headerButtons: 'always'` and its loading or empty state showed on the rows, the headers and the body
410
+ inside. The column rules now find the rows through the parts that hold them (`data-grid-id` is on the head, the
411
+ body and the foot, no longer on `.mx-data-grid`), and a rule that depends on a state of the grid, a row or a cell
412
+ goes on by child combinators only. A grid that holds no grid looks as it did.
413
+ - A `striped` `DataGrid` shows the row under the pointer, the active row and a new row on its odd rows too. The
414
+ stripe's rule outweighed theirs, so every second row kept its stripe under the pointer and as the active row. The
415
+ stripe now comes first and weighs no more than they do; the even rows, a selected row and a grid without stripes
416
+ look as they did.
417
+
418
+ ### Changed
419
+
420
+ - `OptionParts.text` is a new part each time an option's drawing changes, and `OptionList.bindText` returns nothing:
421
+ the binding goes with the text part it writes.
422
+
9
423
  ## [0.1.0-beta.12] - 2026-11-14
10
424
 
11
425
  Needs `@motifx/core` 1.2.0-rc.30.
package/README.md CHANGED
@@ -45,6 +45,8 @@ component (`npm run dev`).
45
45
  | Charts | `Chart` (lines, areas, bars, dots, bubbles, pie, donut, funnel, radar, heat map, ranges, candles, waterfall; zoom, live data, references, selection; keyboard, table view, images), `Sparkline` |
46
46
  | Gauges | `Gauge` (arc, circle, half, quarter, bar across or upright; ticks, ranges, needles and markers, marks), `BarGauge` |
47
47
  | Display | `QRCode`, `Barcode` (Code 128, Code 39, EAN, UPC, Interleaved 2 of 5), `Badge`, `Avatar`, `AvatarGroup`, `Chip`, `ChipGroup`, `Card`, `Skeleton`, `Gallery` (slides, dots, slideshow), `TileView` (selectable, reorderable tiles on a grid), `Timeline` (vertical, or horizontal along a line of dates) |
48
+ | Parts | `WindowList` (items of any height, only those near the view on the page) |
49
+ | AI chat | `Chat` (streamed replies with thinking, tool calls and sub-agents; permission, plan and question requests; MCP elicitation forms; sources; edit, rewind, fork, retry, regenerate, good and bad; search over every message; a feed for screen readers; long conversations on the page by window; stays at the end, older messages without a jump), `ChatComposer` (files, context, `/` commands, `@` suggestions, mode and model menus, context meter), `Markdown` (drawn as it streams, never drawn again; very long texts a piece a frame; code blocks with a highlighter door, a copy button and folding; footnotes; math and diagram doors) |
48
50
  | Navigation | `AppBar`, `BottomNavigation`, `Tabs`, `Accordion`, `Breadcrumb`, `Pagination`, `Stepper`, `Wizard`, `MultiView` (swipeable pages), `TabDocumentManager` |
49
51
  | More editors | `OtpInput` (one-time codes), `Signature` (strokes, image export), `Rating`, `ColorBox`, `ColorPicker` |
50
52
  | Scheduling | `Scheduler` (day, week, month, timeline, agenda; recurrence, resources, iCalendar) |
@@ -1,7 +1,6 @@
1
1
  import { Emitter, type Bind, type Component, type ComponentBase, type Event as MotifEvent, type IBaseProp, type IDisposable } from "@motifx/core";
2
2
  import type { data } from "@motifx-community/data";
3
3
  import { Control } from "../../core/control";
4
- import { DrawnTexts } from "../../parts/chart/chart-text";
5
4
  import { Button } from "../button/Button";
6
5
  import type { ChartAxis } from "./chart-axis";
7
6
  import type { ChartDataErrorEventArgs } from "./chart-data-error-event-args";
@@ -29,7 +28,7 @@ import { ChartTable } from "./ChartTable";
29
28
  import { ChartTooltip } from "./ChartTooltip";
30
29
  import type { LegendEntry } from "./legend-entry";
31
30
  import type { PlotRoom } from "./plot-room";
32
- import type { PlotView } from "./plot-view";
31
+ import type { PlotTexts, PlotView } from "./plot-view";
33
32
  /**
34
33
  * A chart of lines, areas, bars, dots and bubbles. Each series says how it draws, and they share one axis of values.
35
34
  * Series keep their color when others are hidden. Every value is reachable without a pointer: the arrow keys walk the
@@ -84,8 +83,11 @@ export declare class Chart<T = any> extends Control<HTMLDivElement, ChartProps<T
84
83
  tablePart: ChartTable;
85
84
  model: ChartModel | null;
86
85
  look: ChartLook | null;
87
- /** The plot's texts, measured in the chart's font; one that comes out another size than estimated draws again. */
88
- readonly texts: DrawnTexts;
86
+ /**
87
+ * The plot's texts, each measured in the font it is drawn in: the probe classes take the same units as the texts
88
+ * (chart tokens). One that comes out another size than estimated draws again.
89
+ */
90
+ readonly texts: PlotTexts;
89
91
  hidden: Set<number>;
90
92
  activeSlot: ModelSlot | null;
91
93
  activePoint: ModelPoint | null;
@@ -61,12 +61,13 @@ export declare class ChartPlot implements PlotView {
61
61
  brush: Component<SVGPathElement>;
62
62
  /** The model of the last drawing: where a change moves its values from. The chart may hand over the next one early, for its texts. */
63
63
  drawn: ChartModel | null;
64
+ /** The scales of the last drawing, and the width of a label on the marks: what a move of the values draws with. */
64
65
  scales: {
65
66
  position: ChartScale & {
66
67
  size?: number;
67
68
  };
68
69
  value: ChartScale;
69
- measure: (text: string) => number;
70
+ labelWidth: (text: string) => number;
70
71
  } | null;
71
72
  /** Stops the move of the values under way, if one is. */
72
73
  stopMove: (() => void) | null;
@@ -4,6 +4,15 @@ import type { ChartAxis } from './chart-axis';
4
4
  import type { ChartLook } from './chart-look';
5
5
  import type { ChartModel, ModelPoint, ModelSlot } from './chart-model';
6
6
  import type { ChartReference } from './chart-reference';
7
+ /** The texts a plot lays out, each measured in the font it is drawn in: estimates until measured, then drawn again. */
8
+ export interface PlotTexts {
9
+ /** The labels of the axes (`.mx-chart__ticks`). */
10
+ ticks: DrawnTexts;
11
+ /** The labels on the marks (`.mx-chart__labels`). */
12
+ labels: DrawnTexts;
13
+ /** The labels of the reference lines and bands (`.mx-chart__reference-label`). */
14
+ references: DrawnTexts;
15
+ }
7
16
  /** What a plot is drawn from. */
8
17
  export interface PlotInput {
9
18
  model: ChartModel;
@@ -14,8 +23,7 @@ export interface PlotInput {
14
23
  width: number;
15
24
  height: number;
16
25
  look: ChartLook;
17
- /** The widths of the plot's texts in the chart's font: estimates until measured, then drawn again. */
18
- texts: DrawnTexts;
26
+ texts: PlotTexts;
19
27
  locale: string;
20
28
  /** The part of the positions in view, once zoomed or following live data; null for all of them. */
21
29
  window?: {