@motifx-community/ui 0.1.0-beta.2 → 0.1.0-beta.3

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 (215) hide show
  1. package/CHANGELOG.md +87 -12
  2. package/README.md +6 -6
  3. package/dist/components/accordion/Accordion.d.ts +3 -3
  4. package/dist/components/accordion/AccordionItem.d.ts +1 -1
  5. package/dist/components/card/Card.d.ts +1 -1
  6. package/dist/components/contextmenu/ContextMenu.d.ts +1 -1
  7. package/dist/components/datagrid/DataGrid.d.ts +5 -5
  8. package/dist/components/datagrid/data-grid-props.d.ts +2 -2
  9. package/dist/components/datagrid/grid-adaptive-row-expanded-event-args.d.ts +1 -1
  10. package/dist/components/datagrid/grid-adaptive-row-expanding-event-args.d.ts +1 -1
  11. package/dist/components/datagrid/grid-grouping-changed-event-args.d.ts +1 -1
  12. package/dist/components/datagrid/grid-grouping-changing-event-args.d.ts +2 -2
  13. package/dist/components/datagrid/grid-master-detail.d.ts +1 -1
  14. package/dist/components/datagrid/grid-row-expanded-event-args.d.ts +1 -1
  15. package/dist/components/datagrid/grid-row-expanding-event-args.d.ts +1 -1
  16. package/dist/components/datagrid/grid-search-text-changed-event-args.d.ts +1 -1
  17. package/dist/components/datagrid/grid-search-text-changing-event-args.d.ts +1 -1
  18. package/dist/components/datagrid/grid-sort-changing-event-args.d.ts +1 -1
  19. package/dist/components/datagrid/model/GridSearch.d.ts +1 -1
  20. package/dist/components/draggable/Draggable.d.ts +99 -0
  21. package/dist/components/draggable/DropTarget.d.ts +38 -0
  22. package/dist/components/draggable/draggable-event-args.d.ts +17 -0
  23. package/dist/components/draggable/draggable-props.d.ts +37 -0
  24. package/dist/components/draggable/drop-event-args.d.ts +11 -0
  25. package/dist/components/draggable/drop-target-props.d.ts +13 -0
  26. package/dist/components/draggable/index.d.ts +6 -0
  27. package/dist/components/fileuploader/FileUploader.d.ts +1 -1
  28. package/dist/components/fileuploader/file-uploader-props.d.ts +1 -1
  29. package/dist/components/fileuploader/upload-mode.d.ts +1 -1
  30. package/dist/components/filterbuilder/FilterBuilder.d.ts +1 -1
  31. package/dist/components/gallery/Gallery.d.ts +132 -0
  32. package/dist/components/gallery/gallery-item-click-event-args.d.ts +9 -0
  33. package/dist/components/gallery/gallery-item.d.ts +18 -0
  34. package/dist/components/gallery/gallery-props.d.ts +38 -0
  35. package/dist/components/gallery/index.d.ts +6 -0
  36. package/dist/components/gallery/slide-changed-event-args.d.ts +11 -0
  37. package/dist/components/gallery/slide-changing-event-args.d.ts +14 -0
  38. package/dist/components/layout/ChildSettings.d.ts +1 -1
  39. package/dist/components/layout/DockPanel.d.ts +2 -2
  40. package/dist/components/layout/Grid.d.ts +1 -1
  41. package/dist/components/layout/SplitContainer.d.ts +1 -1
  42. package/dist/components/layout/Stack.d.ts +1 -1
  43. package/dist/components/multiview/MultiView.d.ts +87 -0
  44. package/dist/components/multiview/View.d.ts +41 -0
  45. package/dist/components/multiview/index.d.ts +6 -0
  46. package/dist/components/multiview/multi-view-props.d.ts +24 -0
  47. package/dist/components/multiview/view-props.d.ts +15 -0
  48. package/dist/components/multiview/view-selecting-event-args.d.ts +15 -0
  49. package/dist/components/multiview/view-selection-changed-event-args.d.ts +12 -0
  50. package/dist/components/numberbox/number-box-props.d.ts +1 -1
  51. package/dist/components/popover/Popover.d.ts +1 -1
  52. package/dist/components/popover/popover-props.d.ts +1 -1
  53. package/dist/components/resizable/Resizable.d.ts +84 -0
  54. package/dist/components/resizable/index.d.ts +3 -0
  55. package/dist/components/resizable/resizable-props.d.ts +41 -0
  56. package/dist/components/resizable/resize-event-args.d.ts +13 -0
  57. package/dist/components/scheduler/AppointmentEditor.d.ts +1 -1
  58. package/dist/components/scheduler/scheduler-props.d.ts +1 -1
  59. package/dist/components/scrollview/ScrollView.d.ts +1 -1
  60. package/dist/components/skeleton/Skeleton.d.ts +1 -1
  61. package/dist/components/speeddial/SpeedDial.d.ts +129 -0
  62. package/dist/components/speeddial/index.d.ts +6 -0
  63. package/dist/components/speeddial/speed-dial-action-click-event-args.d.ts +9 -0
  64. package/dist/components/speeddial/speed-dial-action.d.ts +25 -0
  65. package/dist/components/speeddial/speed-dial-event-args.d.ts +8 -0
  66. package/dist/components/speeddial/speed-dial-props.d.ts +49 -0
  67. package/dist/components/speeddial/speed-dial-tooltip.d.ts +3 -0
  68. package/dist/components/splitter/SplitPane.d.ts +45 -0
  69. package/dist/components/splitter/Splitter.d.ts +116 -0
  70. package/dist/components/splitter/index.d.ts +6 -0
  71. package/dist/components/splitter/split-pane-props.d.ts +21 -0
  72. package/dist/components/splitter/splitter-collapse-event-args.d.ts +13 -0
  73. package/dist/components/splitter/splitter-props.d.ts +25 -0
  74. package/dist/components/splitter/splitter-resize-event-args.d.ts +10 -0
  75. package/dist/components/stepper/Stepper.d.ts +1 -1
  76. package/dist/components/stepper/WizardStep.d.ts +1 -1
  77. package/dist/components/stepper/step-changed-event-args.d.ts +1 -1
  78. package/dist/components/stepper/step-changing-event-args.d.ts +1 -1
  79. package/dist/components/stepper/wizard-props.d.ts +1 -1
  80. package/dist/components/tabdocs/TabDocumentManager.d.ts +1 -1
  81. package/dist/components/tabs/Tabs.d.ts +2 -2
  82. package/dist/components/tileview/TileView.d.ts +128 -0
  83. package/dist/components/tileview/index.d.ts +6 -0
  84. package/dist/components/tileview/tile-click-event-args.d.ts +9 -0
  85. package/dist/components/tileview/tile-reorder-event-args.d.ts +11 -0
  86. package/dist/components/tileview/tile-selection-changed-event-args.d.ts +11 -0
  87. package/dist/components/tileview/tile-view-item.d.ts +18 -0
  88. package/dist/components/tileview/tile-view-props.d.ts +38 -0
  89. package/dist/components/timeline/Timeline.d.ts +113 -0
  90. package/dist/components/timeline/index.d.ts +5 -0
  91. package/dist/components/timeline/timeline-item-click-event-args.d.ts +9 -0
  92. package/dist/components/timeline/timeline-item.d.ts +24 -0
  93. package/dist/components/timeline/timeline-props.d.ts +30 -0
  94. package/dist/components/timeline/timeline-selection-changed-event-args.d.ts +11 -0
  95. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  96. package/dist/components/treeview/TreeView.d.ts +1 -1
  97. package/dist/components/validationsummary/ValidationSummary.d.ts +56 -0
  98. package/dist/components/validationsummary/index.d.ts +3 -0
  99. package/dist/components/validationsummary/summary-item-click-event-args.d.ts +11 -0
  100. package/dist/components/validationsummary/validation-summary-props.d.ts +17 -0
  101. package/dist/core/control.d.ts +4 -4
  102. package/dist/core/flow-home.d.ts +1 -1
  103. package/dist/core/ui-strings.d.ts +26 -0
  104. package/dist/generated/tokens.d.ts +6390 -4745
  105. package/dist/index.d.ts +9 -0
  106. package/dist/index.js +5119 -759
  107. package/dist/index.js.map +1 -1
  108. package/dist/locales/en.json +22 -1
  109. package/dist/locales/tr.json +22 -1
  110. package/dist/parts/slide/slide-track-host.d.ts +19 -0
  111. package/dist/parts/slide/slide-track.d.ts +45 -0
  112. package/dist/styles.css +3072 -182
  113. package/dist/tokens/index.d.ts +6390 -4745
  114. package/dist/tokens/index.js +6390 -4745
  115. package/dist/tokens/index.js.map +1 -1
  116. package/dist/{tr-B218zMtu.js → tr-C5IXRzAH.js} +45 -3
  117. package/dist/{tr-B218zMtu.js.map → tr-C5IXRzAH.js.map} +1 -1
  118. package/docs/accordion.md +9 -9
  119. package/docs/actionsheet.md +2 -2
  120. package/docs/avatar.md +5 -5
  121. package/docs/badge.md +6 -6
  122. package/docs/bottomsheet.md +4 -4
  123. package/docs/breadcrumb.md +3 -3
  124. package/docs/button.md +8 -8
  125. package/docs/buttongroup.md +5 -5
  126. package/docs/calendar.md +6 -6
  127. package/docs/card.md +6 -6
  128. package/docs/checkbox.md +7 -7
  129. package/docs/chip.md +5 -5
  130. package/docs/colorbox.md +3 -3
  131. package/docs/combobox.md +7 -7
  132. package/docs/control.md +12 -12
  133. package/docs/datagrid-api.md +5 -5
  134. package/docs/datagrid-bands.md +1 -1
  135. package/docs/datagrid-drag-select.md +2 -2
  136. package/docs/datagrid-drag.md +1 -1
  137. package/docs/datagrid-editing.md +2 -2
  138. package/docs/datagrid-filtering.md +3 -3
  139. package/docs/datagrid-forms.md +1 -1
  140. package/docs/datagrid-grouping.md +1 -1
  141. package/docs/datagrid-layout.md +4 -4
  142. package/docs/datagrid-lookups.md +1 -1
  143. package/docs/datagrid-master-detail.md +3 -3
  144. package/docs/datagrid-scrolling.md +1 -1
  145. package/docs/datagrid-selection.md +3 -3
  146. package/docs/datagrid.md +8 -8
  147. package/docs/datebox.md +6 -6
  148. package/docs/daterangebox.md +4 -4
  149. package/docs/draggable.md +194 -0
  150. package/docs/drawer.md +1 -1
  151. package/docs/dropdown.md +8 -8
  152. package/docs/fileuploader.md +4 -4
  153. package/docs/filterbuilder.md +7 -7
  154. package/docs/formlayout.md +1 -1
  155. package/docs/gallery.md +244 -0
  156. package/docs/home.md +11 -7
  157. package/docs/keyboard.md +1 -1
  158. package/docs/language.md +1 -1
  159. package/docs/layout.md +13 -13
  160. package/docs/listbox.md +8 -8
  161. package/docs/loadpanel.md +4 -4
  162. package/docs/lookup.md +1 -1
  163. package/docs/menus.md +2 -2
  164. package/docs/multiview.md +202 -0
  165. package/docs/numberbox.md +7 -7
  166. package/docs/pagination.md +4 -4
  167. package/docs/popover.md +11 -11
  168. package/docs/progress.md +7 -7
  169. package/docs/radiogroup.md +7 -7
  170. package/docs/rating.md +4 -4
  171. package/docs/resizable.md +139 -0
  172. package/docs/scheduler-agenda.md +1 -1
  173. package/docs/scheduler-big-data.md +1 -1
  174. package/docs/scheduler-editing.md +5 -5
  175. package/docs/scheduler-form.md +1 -1
  176. package/docs/scheduler-icalendar.md +1 -1
  177. package/docs/scheduler-mobile.md +1 -1
  178. package/docs/scheduler-recurrence.md +2 -2
  179. package/docs/scheduler-resources.md +1 -1
  180. package/docs/scheduler-timeline.md +1 -1
  181. package/docs/scheduler.md +4 -4
  182. package/docs/scrollview.md +5 -5
  183. package/docs/showcase.md +1 -1
  184. package/docs/skeleton.md +2 -2
  185. package/docs/slider.md +7 -7
  186. package/docs/sortable.md +2 -2
  187. package/docs/speeddial.md +290 -0
  188. package/docs/splitter.md +204 -0
  189. package/docs/stepper.md +5 -5
  190. package/docs/switch.md +7 -7
  191. package/docs/tabdocs-dock.md +3 -3
  192. package/docs/tabdocs-drag.md +1 -1
  193. package/docs/tabdocs-menus.md +1 -1
  194. package/docs/tabdocs-mobile.md +1 -1
  195. package/docs/tabdocs-tabs.md +1 -1
  196. package/docs/tabdocs-windows.md +1 -1
  197. package/docs/tabdocs-workspace.md +1 -1
  198. package/docs/tabdocs.md +5 -5
  199. package/docs/tabs.md +9 -9
  200. package/docs/tagbox.md +8 -8
  201. package/docs/textarea.md +7 -7
  202. package/docs/textbox.md +8 -8
  203. package/docs/tileview.md +206 -0
  204. package/docs/timeline.md +174 -0
  205. package/docs/toast.md +5 -5
  206. package/docs/tokens.md +333 -4
  207. package/docs/toolbar.md +6 -6
  208. package/docs/tooltip.md +12 -12
  209. package/docs/treeview.md +9 -9
  210. package/docs/validationsummary.md +115 -0
  211. package/docs/window.md +5 -5
  212. package/docs/wizard.md +9 -9
  213. package/llms-full.txt +2525 -379
  214. package/llms.txt +13 -4
  215. package/package.json +1 -1
package/docs/tokens.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Design tokens
2
2
 
3
- > Get started · @motifx-community/ui 0.1.0-beta.2
3
+ > Get started · @motifx-community/ui 0.1.0-beta.3
4
4
 
5
5
  Five layers. The first four — primitives, the design language's own scales, semantic tokens per theme, density — come from `@motifx-community/design-system` and are listed here for reference. The fifth, the component tokens, is this kit's own: a knob per component, each referencing a design-system token, written in `@layer mx.components`. Every design language gives every one of them its own value.
6
6
 
@@ -1228,6 +1228,22 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
1228
1228
  | `date-range-box.presets.beside.border-start-width` | `--mx-date-range-box-presets-beside-border-start-width` | `border.width.1` | `1px` |
1229
1229
  | `date-range-box.presets.beside.border-start-color` | `--mx-date-range-box-presets-beside-border-start-color` | `color.stroke.divider` | `rgb(0 0 0 / 0.1)` |
1230
1230
  | `disabled.element.color` | `--mx-disabled-element-color` | `color.fg.disabled` | `#a2a098` |
1231
+ | `draggable.box.draggable.cursor` | `--mx-draggable-box-draggable-cursor` | `` | `grab` |
1232
+ | `draggable.box.dragging.cursor` | `--mx-draggable-box-dragging-cursor` | `` | `grabbing` |
1233
+ | `draggable.box.dragging.shadow` | `--mx-draggable-box-dragging-shadow` | `elevation.popup` | `0px 8px 16px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
1234
+ | `draggable.box.focus.glow` | `--mx-draggable-box-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1235
+ | `draggable.box.focus.outline-width` | `--mx-draggable-box-focus-outline-width` | `focus.ring.width` | `2px` |
1236
+ | `draggable.box.focus.outline-color` | `--mx-draggable-box-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1237
+ | `draggable.box.focus.outline-offset` | `--mx-draggable-box-focus-outline-offset` | `focus.ring.offset` | `1px` |
1238
+ | `draggable.handle.cursor` | `--mx-draggable-handle-cursor` | `` | `grab` |
1239
+ | `draggable.handle.hover.bg` | `--mx-draggable-handle-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
1240
+ | `draggable.handle.focus.glow` | `--mx-draggable-handle-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1241
+ | `draggable.handle.focus.outline-width` | `--mx-draggable-handle-focus-outline-width` | `focus.ring.width` | `2px` |
1242
+ | `draggable.handle.focus.outline-color` | `--mx-draggable-handle-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1243
+ | `draggable.handle.focus.outline-offset` | `--mx-draggable-handle-focus-outline-offset` | `focus.ring.offset` | `1px` |
1244
+ | `draggable.ghost.radius` | `--mx-draggable-ghost-radius` | `radius.md` | `0.375rem` |
1245
+ | `draggable.ghost.shadow` | `--mx-draggable-ghost-shadow` | `elevation.popup` | `0px 8px 16px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
1246
+ | `draggable.ghost.opacity` | `--mx-draggable-ghost-opacity` | `` | `0.9` |
1231
1247
  | `drawer.font-family` | `--mx-drawer-font-family` | `font.family.sans` | `Archivo, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif` |
1232
1248
  | `drawer.size` | `--mx-drawer-size` | `` | `20rem` |
1233
1249
  | `drawer.inset` | `--mx-drawer-inset` | `` | `0px` |
@@ -1317,6 +1333,21 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
1317
1333
  | `drop-down.spinner.radius` | `--mx-drop-down-spinner-radius` | `radius.full` | `9999px` |
1318
1334
  | `drop-down.spinner.color` | `--mx-drop-down-spinner-color` | `color.fg.secondary` | `#5e5c55` |
1319
1335
  | `drop-down.spinner-shape.display` | `--mx-drop-down-spinner-shape-display` | `` | `initial` |
1336
+ | `drop-target.target.radius` | `--mx-drop-target-target-radius` | `radius.md` | `0.375rem` |
1337
+ | `drop-target.target.active.outline-style` | `--mx-drop-target-target-active-outline-style` | `` | `dashed` |
1338
+ | `drop-target.target.active.outline-width` | `--mx-drop-target-target-active-outline-width` | `border.width.2` | `2px` |
1339
+ | `drop-target.target.active.outline-color` | `--mx-drop-target-target-active-outline-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
1340
+ | `drop-target.target.active.outline-offset` | `--mx-drop-target-target-active-outline-offset` | `` | `-2px` |
1341
+ | `drop-target.target.over.outline-style` | `--mx-drop-target-target-over-outline-style` | `` | `solid` |
1342
+ | `drop-target.target.over.outline-width` | `--mx-drop-target-target-over-outline-width` | `border.width.2` | `2px` |
1343
+ | `drop-target.target.over.outline-color` | `--mx-drop-target-target-over-outline-color` | `color.accent.solid` | `#c24523` |
1344
+ | `drop-target.target.over.outline-offset` | `--mx-drop-target-target-over-outline-offset` | `` | `-2px` |
1345
+ | `drop-target.target.over.bg` | `--mx-drop-target-target-over-bg` | `color.accent.subtle` | `#fbe6de` |
1346
+ | `drop-target.target.refused.outline-style` | `--mx-drop-target-target-refused-outline-style` | `` | `solid` |
1347
+ | `drop-target.target.refused.outline-width` | `--mx-drop-target-target-refused-outline-width` | `border.width.2` | `2px` |
1348
+ | `drop-target.target.refused.outline-color` | `--mx-drop-target-target-refused-outline-color` | `color.danger.solid` | `#b03659` |
1349
+ | `drop-target.target.refused.outline-offset` | `--mx-drop-target-target-refused-outline-offset` | `` | `-2px` |
1350
+ | `drop-target.target.refused.bg` | `--mx-drop-target-target-refused-bg` | `color.danger.subtle` | `#fde7e9` |
1320
1351
  | `field.width` | `--mx-field-width` | `` | `16rem` |
1321
1352
  | `field.variant` | `--mx-field-variant` | `` | `outline` |
1322
1353
  | `field.label-mode` | `--mx-field-label-mode` | `` | `top` |
@@ -1518,15 +1549,14 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
1518
1549
  | `file-uploader.box-gap` | `--mx-file-uploader-box-gap` | `space.3` | `0.75rem` |
1519
1550
  | `file-uploader.button-gap` | `--mx-file-uploader-button-gap` | `space.2` | `0.5rem` |
1520
1551
  | `file-uploader.item-gap` | `--mx-file-uploader-item-gap` | `space.2` | `0.5rem` |
1552
+ | `file-uploader.zone-padding` | `--mx-file-uploader-zone-padding` | `space.2` | `0.5rem` |
1553
+ | `file-uploader.field.label-mode` | `--mx-file-uploader-field-label-mode` | `` | `top` |
1521
1554
  | `file-uploader.field.width` | `--mx-file-uploader-field-width` | `` | `26rem` |
1522
1555
  | `file-uploader.field.box.border-style` | `--mx-file-uploader-field-box-border-style` | `` | `dashed` |
1523
1556
  | `file-uploader.field.box.border-color` | `--mx-file-uploader-field-box-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
1524
1557
  | `file-uploader.field.box.radius` | `--mx-file-uploader-field-box-radius` | `radius.lg` | `0.625rem` |
1525
1558
  | `file-uploader.field.box.hover.bg` | `--mx-file-uploader-field-box-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
1526
1559
  | `file-uploader.field.border-width` | `--mx-file-uploader-field-border-width` | `border.width.1` | `1px` |
1527
- | `file-uploader.field.padding.sm` | `--mx-file-uploader-field-padding-sm` | `space.2` | `0.5rem` |
1528
- | `file-uploader.field.padding.md` | `--mx-file-uploader-field-padding-md` | `space.3` | `0.75rem` |
1529
- | `file-uploader.field.padding.lg` | `--mx-file-uploader-field-padding-lg` | `space.4` | `1rem` |
1530
1560
  | `file-uploader.action.variant` | `--mx-file-uploader-action-variant` | `` | `ghost` |
1531
1561
  | `file-uploader.over.bg` | `--mx-file-uploader-over-bg` | `color.accent.subtle` | `#fbe6de` |
1532
1562
  | `file-uploader.over.border-color` | `--mx-file-uploader-over-border-color` | `color.accent.solid` | `#c24523` |
@@ -1622,6 +1652,82 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
1622
1652
  | `form-layout.caption.padding-inline` | `--mx-form-layout-caption-padding-inline` | `space.1` | `0.25rem` |
1623
1653
  | `form-layout.caption.font-size` | `--mx-form-layout-caption-font-size` | `` | `1em` |
1624
1654
  | `form-layout.caption.font-weight` | `--mx-form-layout-caption-font-weight` | `font.weight.semibold` | `600` |
1655
+ | `gallery.gap` | `--mx-gallery-gap` | `space.2` | `0.5rem` |
1656
+ | `gallery.nav-inset` | `--mx-gallery-nav-inset` | `space.2` | `0.5rem` |
1657
+ | `gallery.bar-inset` | `--mx-gallery-bar-inset` | `space.2` | `0.5rem` |
1658
+ | `gallery.indicator-gap` | `--mx-gallery-indicator-gap` | `space.2` | `0.5rem` |
1659
+ | `gallery.caption-padding` | `--mx-gallery-caption-padding` | `space.3` | `0.75rem` |
1660
+ | `gallery.frame.radius` | `--mx-gallery-frame-radius` | `radius.md` | `0.375rem` |
1661
+ | `gallery.frame.bg` | `--mx-gallery-frame-bg` | `color.bg.layer` | `#ebeae5` |
1662
+ | `gallery.frame.focus.glow` | `--mx-gallery-frame-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1663
+ | `gallery.frame.focus.outline-width` | `--mx-gallery-frame-focus-outline-width` | `focus.ring.width` | `2px` |
1664
+ | `gallery.frame.focus.outline-color` | `--mx-gallery-frame-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1665
+ | `gallery.frame.focus.outline-offset` | `--mx-gallery-frame-focus-outline-offset` | `focus.ring.offset` | `1px` |
1666
+ | `gallery.frame.swipeable.cursor` | `--mx-gallery-frame-swipeable-cursor` | `` | `grab` |
1667
+ | `gallery.frame.dragging.cursor` | `--mx-gallery-frame-dragging-cursor` | `` | `grabbing` |
1668
+ | `gallery.frame.border-width` | `--mx-gallery-frame-border-width` | `` | `initial` |
1669
+ | `gallery.frame.border-color` | `--mx-gallery-frame-border-color` | `` | `initial` |
1670
+ | `gallery.caption.bg` | `--mx-gallery-caption-bg` | `color.bg.glass` | `rgb(248 247 243 / 0.78)` |
1671
+ | `gallery.caption.color` | `--mx-gallery-caption-color` | `color.fg.primary` | `#1d1c1a` |
1672
+ | `gallery.caption.font-size` | `--mx-gallery-caption-font-size` | `font.size.body` | `0.875rem` |
1673
+ | `gallery.title.font-weight` | `--mx-gallery-title-font-weight` | `font.weight.semibold` | `600` |
1674
+ | `gallery.description.color` | `--mx-gallery-description-color` | `color.fg.secondary` | `#5e5c55` |
1675
+ | `gallery.description.font-size` | `--mx-gallery-description-font-size` | `font.size.caption` | `0.75rem` |
1676
+ | `gallery.nav.size` | `--mx-gallery-nav-size` | `` | `2rem` |
1677
+ | `gallery.nav.radius` | `--mx-gallery-nav-radius` | `radius.full` | `9999px` |
1678
+ | `gallery.nav.bg` | `--mx-gallery-nav-bg` | `color.fill.control.default` | `#f5f4f0` |
1679
+ | `gallery.nav.color` | `--mx-gallery-nav-color` | `color.fg.primary` | `#1d1c1a` |
1680
+ | `gallery.nav.border-width` | `--mx-gallery-nav-border-width` | `border.width.1` | `1px` |
1681
+ | `gallery.nav.border-color` | `--mx-gallery-nav-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
1682
+ | `gallery.nav.shadow` | `--mx-gallery-nav-shadow` | `shadow.4` | `0px 2px 4px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
1683
+ | `gallery.nav.hover.bg` | `--mx-gallery-nav-hover-bg` | `color.fill.control.secondary` | `#ebeae5` |
1684
+ | `gallery.nav.hover.cursor` | `--mx-gallery-nav-hover-cursor` | `` | `pointer` |
1685
+ | `gallery.nav.pressed.bg` | `--mx-gallery-nav-pressed-bg` | `color.fill.control.tertiary` | `#e1e0da` |
1686
+ | `gallery.nav.focus.glow` | `--mx-gallery-nav-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1687
+ | `gallery.nav.focus.outline-width` | `--mx-gallery-nav-focus-outline-width` | `focus.ring.width` | `2px` |
1688
+ | `gallery.nav.focus.outline-color` | `--mx-gallery-nav-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1689
+ | `gallery.nav.focus.outline-offset` | `--mx-gallery-nav-focus-outline-offset` | `focus.ring.offset` | `1px` |
1690
+ | `gallery.nav.disabled.opacity` | `--mx-gallery-nav-disabled-opacity` | `opacity.disabled` | `0.5` |
1691
+ | `gallery.arrow.size` | `--mx-gallery-arrow-size` | `` | `1rem` |
1692
+ | `gallery.arrow.bg` | `--mx-gallery-arrow-bg` | `color.fg.primary` | `#1d1c1a` |
1693
+ | `gallery.arrow.previous.icon` | `--mx-gallery-arrow-previous-icon` | `` | `var(--mx-icon-chevron-start)` |
1694
+ | `gallery.arrow.next.icon` | `--mx-gallery-arrow-next-icon` | `` | `var(--mx-icon-chevron-end)` |
1695
+ | `gallery.dot.size` | `--mx-gallery-dot-size` | `` | `0.5rem` |
1696
+ | `gallery.dot.radius` | `--mx-gallery-dot-radius` | `radius.full` | `9999px` |
1697
+ | `gallery.dot.bg` | `--mx-gallery-dot-bg` | `color.fill.control.default` | `#f5f4f0` |
1698
+ | `gallery.dot.color` | `--mx-gallery-dot-color` | `color.fg.primary` | `#1d1c1a` |
1699
+ | `gallery.dot.border-width` | `--mx-gallery-dot-border-width` | `border.width.1` | `1px` |
1700
+ | `gallery.dot.border-color` | `--mx-gallery-dot-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
1701
+ | `gallery.dot.hover.bg` | `--mx-gallery-dot-hover-bg` | `color.fill.control.secondary` | `#ebeae5` |
1702
+ | `gallery.dot.hover.cursor` | `--mx-gallery-dot-hover-cursor` | `` | `pointer` |
1703
+ | `gallery.dot.pressed.bg` | `--mx-gallery-dot-pressed-bg` | `color.fill.control.tertiary` | `#e1e0da` |
1704
+ | `gallery.dot.focus.glow` | `--mx-gallery-dot-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1705
+ | `gallery.dot.focus.outline-width` | `--mx-gallery-dot-focus-outline-width` | `focus.ring.width` | `2px` |
1706
+ | `gallery.dot.focus.outline-color` | `--mx-gallery-dot-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1707
+ | `gallery.dot.focus.outline-offset` | `--mx-gallery-dot-focus-outline-offset` | `focus.ring.offset` | `1px` |
1708
+ | `gallery.dot.current.bg` | `--mx-gallery-dot-current-bg` | `color.accent.solid` | `#c24523` |
1709
+ | `gallery.dot.current.border-color` | `--mx-gallery-dot-current-border-color` | `color.accent.solid` | `#c24523` |
1710
+ | `gallery.dot.current.width` | `--mx-gallery-dot-current-width` | `` | `initial` |
1711
+ | `gallery.dot.current.size` | `--mx-gallery-dot-current-size` | `` | `initial` |
1712
+ | `gallery.play.size` | `--mx-gallery-play-size` | `` | `1.75rem` |
1713
+ | `gallery.play.radius` | `--mx-gallery-play-radius` | `radius.full` | `9999px` |
1714
+ | `gallery.play.bg` | `--mx-gallery-play-bg` | `color.fill.control.default` | `#f5f4f0` |
1715
+ | `gallery.play.color` | `--mx-gallery-play-color` | `color.fg.primary` | `#1d1c1a` |
1716
+ | `gallery.play.border-width` | `--mx-gallery-play-border-width` | `border.width.1` | `1px` |
1717
+ | `gallery.play.border-color` | `--mx-gallery-play-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
1718
+ | `gallery.play.shadow` | `--mx-gallery-play-shadow` | `shadow.4` | `0px 2px 4px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
1719
+ | `gallery.play.hover.bg` | `--mx-gallery-play-hover-bg` | `color.fill.control.secondary` | `#ebeae5` |
1720
+ | `gallery.play.hover.cursor` | `--mx-gallery-play-hover-cursor` | `` | `pointer` |
1721
+ | `gallery.play.pressed.bg` | `--mx-gallery-play-pressed-bg` | `color.fill.control.tertiary` | `#e1e0da` |
1722
+ | `gallery.play.focus.glow` | `--mx-gallery-play-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
1723
+ | `gallery.play.focus.outline-width` | `--mx-gallery-play-focus-outline-width` | `focus.ring.width` | `2px` |
1724
+ | `gallery.play.focus.outline-color` | `--mx-gallery-play-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1725
+ | `gallery.play.focus.outline-offset` | `--mx-gallery-play-focus-outline-offset` | `focus.ring.offset` | `1px` |
1726
+ | `gallery.play-glyph.size` | `--mx-gallery-play-glyph-size` | `` | `0.75rem` |
1727
+ | `gallery.play-glyph.bg` | `--mx-gallery-play-glyph-bg` | `color.fg.primary` | `#1d1c1a` |
1728
+ | `gallery.play-glyph.icon` | `--mx-gallery-play-glyph-icon` | `` | `var(--mx-icon-play)` |
1729
+ | `gallery.play-glyph.playing.icon` | `--mx-gallery-play-glyph-playing-icon` | `` | `var(--mx-icon-pause)` |
1730
+ | `gallery.item.radius` | `--mx-gallery-item-radius` | `` | `initial` |
1625
1731
  | `glyph.size` | `--mx-glyph-size` | `icon.size.sm` | `0.75rem` |
1626
1732
  | `layout.space.xxs` | `--mx-layout-space-xxs` | `space.1` | `0.25rem` |
1627
1733
  | `layout.space.xs` | `--mx-layout-space-xs` | `space.2` | `0.5rem` |
@@ -1874,6 +1980,9 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
1874
1980
  | `menubar.item.focus.outline-color` | `--mx-menubar-item-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
1875
1981
  | `menubar.item.focus.outline-offset` | `--mx-menubar-item-focus-outline-offset` | `focus.ring.offset` | `1px` |
1876
1982
  | `menubar.icon.size` | `--mx-menubar-icon-size` | `icon.size.md` | `1rem` |
1983
+ | `multi-view.gap` | `--mx-multi-view-gap` | `space.0` | `0px` |
1984
+ | `multi-view.frame.swipeable.cursor` | `--mx-multi-view-frame-swipeable-cursor` | `` | `grab` |
1985
+ | `multi-view.frame.dragging.cursor` | `--mx-multi-view-frame-dragging-cursor` | `` | `grabbing` |
1877
1986
  | `number-box.spin-layout` | `--mx-number-box-spin-layout` | `` | `stacked` |
1878
1987
  | `number-box.spin-order` | `--mx-number-box-spin-order` | `` | `down-up` |
1879
1988
  | `number-box.spin-inset` | `--mx-number-box-spin-inset` | `border.width.2` | `2px` |
@@ -2193,6 +2302,23 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
2193
2302
  | `recurrence-editor.days-label.margin-bottom` | `--mx-recurrence-editor-days-label-margin-bottom` | `space.1` | `0.25rem` |
2194
2303
  | `recurrence-editor.days.gap` | `--mx-recurrence-editor-days-gap` | `space.1` | `0.25rem` |
2195
2304
  | `recurrence-editor.summary.color` | `--mx-recurrence-editor-summary-color` | `color.fg.secondary` | `#5e5c55` |
2305
+ | `resizable.edge` | `--mx-resizable-edge` | `space.2` | `0.5rem` |
2306
+ | `resizable.box.resizing.outline-width` | `--mx-resizable-box-resizing-outline-width` | `border.width.1` | `1px` |
2307
+ | `resizable.box.resizing.outline-color` | `--mx-resizable-box-resizing-outline-color` | `color.accent.solid` | `#c24523` |
2308
+ | `resizable.box.resizing.outline-offset` | `--mx-resizable-box-resizing-outline-offset` | `` | `-1px` |
2309
+ | `resizable.handle.hover.bg` | `--mx-resizable-handle-hover-bg` | `color.accent.subtle` | `#fbe6de` |
2310
+ | `resizable.handle.active.bg` | `--mx-resizable-handle-active-bg` | `color.accent.subtle` | `#fbe6de` |
2311
+ | `resizable.grip.size` | `--mx-resizable-grip-size` | `` | `1rem` |
2312
+ | `resizable.grip.radius` | `--mx-resizable-grip-radius` | `radius.sm` | `0.25rem` |
2313
+ | `resizable.grip.hover.bg` | `--mx-resizable-grip-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
2314
+ | `resizable.grip.pressed.bg` | `--mx-resizable-grip-pressed-bg` | `color.fill.subtle.tertiary` | `rgb(0 0 0 / 0.0241)` |
2315
+ | `resizable.grip.focus.glow` | `--mx-resizable-grip-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
2316
+ | `resizable.grip.focus.outline-width` | `--mx-resizable-grip-focus-outline-width` | `focus.ring.width` | `2px` |
2317
+ | `resizable.grip.focus.outline-color` | `--mx-resizable-grip-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
2318
+ | `resizable.grip.focus.outline-offset` | `--mx-resizable-grip-focus-outline-offset` | `focus.ring.offset` | `1px` |
2319
+ | `resizable.grip-glyph.size` | `--mx-resizable-grip-glyph-size` | `` | `0.75rem` |
2320
+ | `resizable.grip-glyph.bg` | `--mx-resizable-grip-glyph-bg` | `color.fg.tertiary` | `#8c8a82` |
2321
+ | `resizable.grip-glyph.icon` | `--mx-resizable-grip-glyph-icon` | `` | `var(--mx-icon-grip)` |
2196
2322
  | `scheduler.height` | `--mx-scheduler-height` | `` | `40rem` |
2197
2323
  | `scheduler.ruler-width` | `--mx-scheduler-ruler-width` | `` | `4rem` |
2198
2324
  | `scheduler.slot-height` | `--mx-scheduler-slot-height` | `control.height.md` | `2rem` |
@@ -2818,6 +2944,53 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
2818
2944
  | `sortable.ghost.radius` | `--mx-sortable-ghost-radius` | `radius.md` | `0.375rem` |
2819
2945
  | `sortable.ghost.shadow` | `--mx-sortable-ghost-shadow` | `elevation.popup` | `0px 8px 16px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
2820
2946
  | `sortable.ghost.opacity` | `--mx-sortable-ghost-opacity` | `` | `0.9` |
2947
+ | `speed-dial.inset` | `--mx-speed-dial-inset` | `space.6` | `1.5rem` |
2948
+ | `speed-dial.gap` | `--mx-speed-dial-gap` | `space.3` | `0.75rem` |
2949
+ | `speed-dial.label-gap` | `--mx-speed-dial-label-gap` | `space.3` | `0.75rem` |
2950
+ | `speed-dial.main.size` | `--mx-speed-dial-main-size` | `` | `3rem` |
2951
+ | `speed-dial.main.radius` | `--mx-speed-dial-main-radius` | `radius.full` | `9999px` |
2952
+ | `speed-dial.main.bg` | `--mx-speed-dial-main-bg` | `color.accent.solid` | `#c24523` |
2953
+ | `speed-dial.main.color` | `--mx-speed-dial-main-color` | `color.accent.on-solid` | `#ffffff` |
2954
+ | `speed-dial.main.shadow` | `--mx-speed-dial-main-shadow` | `shadow.4` | `0px 2px 4px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
2955
+ | `speed-dial.main.gap` | `--mx-speed-dial-main-gap` | `space.2` | `0.5rem` |
2956
+ | `speed-dial.main.hover.bg` | `--mx-speed-dial-main-hover-bg` | `color.accent.solid-hover` | `#b43f20` |
2957
+ | `speed-dial.main.hover.cursor` | `--mx-speed-dial-main-hover-cursor` | `` | `pointer` |
2958
+ | `speed-dial.main.pressed.bg` | `--mx-speed-dial-main-pressed-bg` | `color.accent.solid-hover` | `#b43f20` |
2959
+ | `speed-dial.main.focus.glow` | `--mx-speed-dial-main-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
2960
+ | `speed-dial.main.focus.outline-width` | `--mx-speed-dial-main-focus-outline-width` | `focus.ring.width` | `2px` |
2961
+ | `speed-dial.main.focus.outline-color` | `--mx-speed-dial-main-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
2962
+ | `speed-dial.main.focus.outline-offset` | `--mx-speed-dial-main-focus-outline-offset` | `focus.ring.offset` | `1px` |
2963
+ | `speed-dial.main.disabled.opacity` | `--mx-speed-dial-main-disabled-opacity` | `opacity.disabled` | `0.5` |
2964
+ | `speed-dial.main.extended.width` | `--mx-speed-dial-main-extended-width` | `` | `auto` |
2965
+ | `speed-dial.main.extended.padding` | `--mx-speed-dial-main-extended-padding` | `space.4` | `1rem` |
2966
+ | `speed-dial.main-glyph.size` | `--mx-speed-dial-main-glyph-size` | `` | `1.25rem` |
2967
+ | `speed-dial.main-glyph.bg` | `--mx-speed-dial-main-glyph-bg` | `color.accent.on-solid` | `#ffffff` |
2968
+ | `speed-dial.main-text.font-weight` | `--mx-speed-dial-main-text-font-weight` | `font.weight.semibold` | `600` |
2969
+ | `speed-dial.action.size` | `--mx-speed-dial-action-size` | `` | `2.25rem` |
2970
+ | `speed-dial.action.radius` | `--mx-speed-dial-action-radius` | `radius.full` | `9999px` |
2971
+ | `speed-dial.action.bg` | `--mx-speed-dial-action-bg` | `color.fill.control.default` | `#f5f4f0` |
2972
+ | `speed-dial.action.color` | `--mx-speed-dial-action-color` | `color.fg.primary` | `#1d1c1a` |
2973
+ | `speed-dial.action.hover.bg` | `--mx-speed-dial-action-hover-bg` | `color.fill.control.secondary` | `#ebeae5` |
2974
+ | `speed-dial.action.hover.cursor` | `--mx-speed-dial-action-hover-cursor` | `` | `pointer` |
2975
+ | `speed-dial.action.pressed.bg` | `--mx-speed-dial-action-pressed-bg` | `color.fill.control.tertiary` | `#e1e0da` |
2976
+ | `speed-dial.action.focus.glow` | `--mx-speed-dial-action-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
2977
+ | `speed-dial.action.focus.outline-width` | `--mx-speed-dial-action-focus-outline-width` | `focus.ring.width` | `2px` |
2978
+ | `speed-dial.action.focus.outline-color` | `--mx-speed-dial-action-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
2979
+ | `speed-dial.action.focus.outline-offset` | `--mx-speed-dial-action-focus-outline-offset` | `focus.ring.offset` | `1px` |
2980
+ | `speed-dial.action.disabled.opacity` | `--mx-speed-dial-action-disabled-opacity` | `opacity.disabled` | `0.5` |
2981
+ | `speed-dial.action.border-width` | `--mx-speed-dial-action-border-width` | `border.width.1` | `1px` |
2982
+ | `speed-dial.action.border-color` | `--mx-speed-dial-action-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
2983
+ | `speed-dial.action.shadow` | `--mx-speed-dial-action-shadow` | `` | `initial` |
2984
+ | `speed-dial.action-icon.size` | `--mx-speed-dial-action-icon-size` | `` | `1rem` |
2985
+ | `speed-dial.action-icon.bg` | `--mx-speed-dial-action-icon-bg` | `color.fg.primary` | `#1d1c1a` |
2986
+ | `speed-dial.label.bg` | `--mx-speed-dial-label-bg` | `color.bg.glass` | `rgb(248 247 243 / 0.78)` |
2987
+ | `speed-dial.label.color` | `--mx-speed-dial-label-color` | `color.fg.primary` | `#1d1c1a` |
2988
+ | `speed-dial.label.radius` | `--mx-speed-dial-label-radius` | `radius.sm` | `0.25rem` |
2989
+ | `speed-dial.label.padding` | `--mx-speed-dial-label-padding` | `space.2` | `0.5rem` |
2990
+ | `speed-dial.label.font-size` | `--mx-speed-dial-label-font-size` | `font.size.caption` | `0.75rem` |
2991
+ | `speed-dial.label.shadow` | `--mx-speed-dial-label-shadow` | `elevation.card` | `0px 1px 2px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
2992
+ | `speed-dial.label.border-width` | `--mx-speed-dial-label-border-width` | `border.width.1` | `1px` |
2993
+ | `speed-dial.label.border-color` | `--mx-speed-dial-label-border-color` | `color.stroke.card` | `rgb(0 0 0 / 0.08)` |
2821
2994
  | `spinner.gap` | `--mx-spinner-gap` | `space.2` | `0.5rem` |
2822
2995
  | `spinner.cover-padding` | `--mx-spinner-cover-padding` | `space.4` | `1rem` |
2823
2996
  | `spinner.cover-background` | `--mx-spinner-cover-background` | `color.bg.glass` | `rgb(248 247 243 / 0.78)` |
@@ -2862,6 +3035,32 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
2862
3035
  | `spinner.shape.display` | `--mx-spinner-shape-display` | `` | `initial` |
2863
3036
  | `spinner.shape.contained.bg` | `--mx-spinner-shape-contained-bg` | `` | `initial` |
2864
3037
  | `spinner.shape.contained.scale` | `--mx-spinner-shape-contained-scale` | `` | `initial` |
3038
+ | `splitter.size` | `--mx-splitter-size` | `space.2` | `0.5rem` |
3039
+ | `splitter.line-width` | `--mx-splitter-line-width` | `border.width.1` | `1px` |
3040
+ | `splitter.active-width` | `--mx-splitter-active-width` | `border.width.2` | `2px` |
3041
+ | `splitter.grip-length` | `--mx-splitter-grip-length` | `space.6` | `1.5rem` |
3042
+ | `splitter.grip-thickness` | `--mx-splitter-grip-thickness` | `space.1` | `0.25rem` |
3043
+ | `splitter.handle.focus.glow` | `--mx-splitter-handle-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3044
+ | `splitter.handle.focus.outline-width` | `--mx-splitter-handle-focus-outline-width` | `focus.ring.width` | `2px` |
3045
+ | `splitter.handle.focus.outline-color` | `--mx-splitter-handle-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3046
+ | `splitter.handle.focus.outline-offset` | `--mx-splitter-handle-focus-outline-offset` | `focus.ring.offset` | `1px` |
3047
+ | `splitter.line.bg` | `--mx-splitter-line-bg` | `color.stroke.divider` | `rgb(0 0 0 / 0.1)` |
3048
+ | `splitter.line.active.bg` | `--mx-splitter-line-active-bg` | `color.accent.solid` | `#c24523` |
3049
+ | `splitter.grip.bg` | `--mx-splitter-grip-bg` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
3050
+ | `splitter.grip.radius` | `--mx-splitter-grip-radius` | `radius.full` | `9999px` |
3051
+ | `splitter.grip.active.bg` | `--mx-splitter-grip-active-bg` | `color.accent.solid` | `#c24523` |
3052
+ | `splitter.grip.disabled.bg` | `--mx-splitter-grip-disabled-bg` | `color.stroke.control.default` | `rgb(0 0 0 / 0.12)` |
3053
+ | `splitter.fold.size` | `--mx-splitter-fold-size` | `` | `1rem` |
3054
+ | `splitter.fold.radius` | `--mx-splitter-fold-radius` | `radius.sm` | `0.25rem` |
3055
+ | `splitter.fold.hover.bg` | `--mx-splitter-fold-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
3056
+ | `splitter.fold.hover.cursor` | `--mx-splitter-fold-hover-cursor` | `` | `pointer` |
3057
+ | `splitter.fold.pressed.bg` | `--mx-splitter-fold-pressed-bg` | `color.fill.subtle.tertiary` | `rgb(0 0 0 / 0.0241)` |
3058
+ | `splitter.fold.focus.glow` | `--mx-splitter-fold-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3059
+ | `splitter.fold.focus.outline-width` | `--mx-splitter-fold-focus-outline-width` | `focus.ring.width` | `2px` |
3060
+ | `splitter.fold.focus.outline-color` | `--mx-splitter-fold-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3061
+ | `splitter.fold.focus.outline-offset` | `--mx-splitter-fold-focus-outline-offset` | `focus.ring.offset` | `1px` |
3062
+ | `splitter.fold-glyph.size` | `--mx-splitter-fold-glyph-size` | `` | `0.625rem` |
3063
+ | `splitter.fold-glyph.bg` | `--mx-splitter-fold-glyph-bg` | `color.fg.secondary` | `#5e5c55` |
2865
3064
  | `stepper.font-size.sm` | `--mx-stepper-font-size-sm` | `font.size.caption` | `0.75rem` |
2866
3065
  | `stepper.font-size.md` | `--mx-stepper-font-size-md` | `font.size.body` | `0.875rem` |
2867
3066
  | `stepper.font-size.lg` | `--mx-stepper-font-size-lg` | `` | `1rem` |
@@ -3467,6 +3666,116 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
3467
3666
  | `text-box.reveal.shown.color` | `--mx-text-box-reveal-shown-color` | `color.fg.primary` | `#1d1c1a` |
3468
3667
  | `text-box.reveal-glyph.icon` | `--mx-text-box-reveal-glyph-icon` | `` | `var(--mx-icon-eye-open)` |
3469
3668
  | `text-box.reveal-glyph.shown.icon` | `--mx-text-box-reveal-glyph-shown-icon` | `` | `var(--mx-icon-eye-closed)` |
3669
+ | `tile-view.gap` | `--mx-tile-view-gap` | `space.3` | `0.75rem` |
3670
+ | `tile-view.tile.radius` | `--mx-tile-view-tile-radius` | `radius.md` | `0.375rem` |
3671
+ | `tile-view.tile.bg` | `--mx-tile-view-tile-bg` | `color.bg.card` | `#f5f4f0` |
3672
+ | `tile-view.tile.color` | `--mx-tile-view-tile-color` | `color.fg.primary` | `#1d1c1a` |
3673
+ | `tile-view.tile.padding` | `--mx-tile-view-tile-padding` | `space.3` | `0.75rem` |
3674
+ | `tile-view.tile.hover.bg` | `--mx-tile-view-tile-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
3675
+ | `tile-view.tile.hover.cursor` | `--mx-tile-view-tile-hover-cursor` | `` | `pointer` |
3676
+ | `tile-view.tile.pressed.bg` | `--mx-tile-view-tile-pressed-bg` | `color.fill.subtle.tertiary` | `rgb(0 0 0 / 0.0241)` |
3677
+ | `tile-view.tile.focus.glow` | `--mx-tile-view-tile-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3678
+ | `tile-view.tile.focus.outline-width` | `--mx-tile-view-tile-focus-outline-width` | `focus.ring.width` | `2px` |
3679
+ | `tile-view.tile.focus.outline-color` | `--mx-tile-view-tile-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3680
+ | `tile-view.tile.focus.outline-offset` | `--mx-tile-view-tile-focus-outline-offset` | `focus.ring.offset` | `1px` |
3681
+ | `tile-view.tile.selected.bg` | `--mx-tile-view-tile-selected-bg` | `color.accent.subtle` | `#fbe6de` |
3682
+ | `tile-view.tile.selected.border-color` | `--mx-tile-view-tile-selected-border-color` | `color.accent.solid` | `#c24523` |
3683
+ | `tile-view.tile.selected.color` | `--mx-tile-view-tile-selected-color` | `color.accent.fg` | `#983318` |
3684
+ | `tile-view.tile.disabled.color` | `--mx-tile-view-tile-disabled-color` | `color.fg.disabled` | `#a2a098` |
3685
+ | `tile-view.tile.disabled.cursor` | `--mx-tile-view-tile-disabled-cursor` | `` | `default` |
3686
+ | `tile-view.tile.dragging.opacity` | `--mx-tile-view-tile-dragging-opacity` | `` | `0.4` |
3687
+ | `tile-view.tile.target.outline-width` | `--mx-tile-view-tile-target-outline-width` | `border.width.2` | `2px` |
3688
+ | `tile-view.tile.target.outline-color` | `--mx-tile-view-tile-target-outline-color` | `color.accent.solid` | `#c24523` |
3689
+ | `tile-view.tile.target.outline-offset` | `--mx-tile-view-tile-target-outline-offset` | `` | `-2px` |
3690
+ | `tile-view.tile.border-width` | `--mx-tile-view-tile-border-width` | `border.width.1` | `1px` |
3691
+ | `tile-view.tile.border-color` | `--mx-tile-view-tile-border-color` | `color.stroke.card` | `rgb(0 0 0 / 0.08)` |
3692
+ | `tile-view.tile.shadow` | `--mx-tile-view-tile-shadow` | `` | `initial` |
3693
+ | `tile-view.ghost.radius` | `--mx-tile-view-ghost-radius` | `radius.md` | `0.375rem` |
3694
+ | `tile-view.ghost.shadow` | `--mx-tile-view-ghost-shadow` | `elevation.popup` | `0px 8px 16px 0px rgb(0 0 0 / 0.14), 0px 0px 2px 0px rgb(0 0 0 / 0.12)` |
3695
+ | `tile-view.ghost.opacity` | `--mx-tile-view-ghost-opacity` | `` | `0.9` |
3696
+ | `timeline.gap` | `--mx-timeline-gap` | `space.4` | `1rem` |
3697
+ | `timeline.dot-gap` | `--mx-timeline-dot-gap` | `space.3` | `0.75rem` |
3698
+ | `timeline.track-gap` | `--mx-timeline-track-gap` | `space.6` | `1.5rem` |
3699
+ | `timeline.row-gap` | `--mx-timeline-row-gap` | `space.3` | `0.75rem` |
3700
+ | `timeline.mark-size` | `--mx-timeline-mark-size` | `` | `1.25rem` |
3701
+ | `timeline.line-thickness` | `--mx-timeline-line-thickness` | `border.width.2` | `2px` |
3702
+ | `timeline.line.bg` | `--mx-timeline-line-bg` | `color.stroke.divider` | `rgb(0 0 0 / 0.1)` |
3703
+ | `timeline.dot.radius` | `--mx-timeline-dot-radius` | `radius.full` | `9999px` |
3704
+ | `timeline.dot.bg` | `--mx-timeline-dot-bg` | `color.fill.control.default` | `#f5f4f0` |
3705
+ | `timeline.dot.border-width` | `--mx-timeline-dot-border-width` | `border.width.2` | `2px` |
3706
+ | `timeline.dot.border-color` | `--mx-timeline-dot-border-color` | `color.stroke.control.strong` | `rgb(0 0 0 / 0.4458)` |
3707
+ | `timeline.dot.accent.bg` | `--mx-timeline-dot-accent-bg` | `color.accent.solid` | `#c24523` |
3708
+ | `timeline.dot.accent.border-color` | `--mx-timeline-dot-accent-border-color` | `color.accent.solid` | `#c24523` |
3709
+ | `timeline.dot.success.bg` | `--mx-timeline-dot-success-bg` | `color.success.solid` | `#006402` |
3710
+ | `timeline.dot.success.border-color` | `--mx-timeline-dot-success-border-color` | `color.success.solid` | `#006402` |
3711
+ | `timeline.dot.caution.bg` | `--mx-timeline-dot-caution-bg` | `color.caution.solid` | `#754702` |
3712
+ | `timeline.dot.caution.border-color` | `--mx-timeline-dot-caution-border-color` | `color.caution.solid` | `#754702` |
3713
+ | `timeline.dot.danger.bg` | `--mx-timeline-dot-danger-bg` | `color.danger.solid` | `#b03659` |
3714
+ | `timeline.dot.danger.border-color` | `--mx-timeline-dot-danger-border-color` | `color.danger.solid` | `#b03659` |
3715
+ | `timeline.dot.info.bg` | `--mx-timeline-dot-info-bg` | `color.info.solid` | `#5e5c55` |
3716
+ | `timeline.dot.info.border-color` | `--mx-timeline-dot-info-border-color` | `color.info.solid` | `#5e5c55` |
3717
+ | `timeline.dot-glyph.size` | `--mx-timeline-dot-glyph-size` | `` | `0.625rem` |
3718
+ | `timeline.dot-glyph.bg` | `--mx-timeline-dot-glyph-bg` | `color.fg.secondary` | `#5e5c55` |
3719
+ | `timeline.dot-glyph.accent.bg` | `--mx-timeline-dot-glyph-accent-bg` | `color.accent.on-solid` | `#ffffff` |
3720
+ | `timeline.dot-glyph.success.bg` | `--mx-timeline-dot-glyph-success-bg` | `color.success.on-solid` | `#ffffff` |
3721
+ | `timeline.dot-glyph.caution.bg` | `--mx-timeline-dot-glyph-caution-bg` | `color.caution.on-solid` | `#ffffff` |
3722
+ | `timeline.dot-glyph.danger.bg` | `--mx-timeline-dot-glyph-danger-bg` | `color.danger.on-solid` | `#ffffff` |
3723
+ | `timeline.dot-glyph.info.bg` | `--mx-timeline-dot-glyph-info-bg` | `color.info.on-solid` | `#e1e0da` |
3724
+ | `timeline.card.radius` | `--mx-timeline-card-radius` | `radius.md` | `0.375rem` |
3725
+ | `timeline.card.bg` | `--mx-timeline-card-bg` | `color.bg.card` | `#f5f4f0` |
3726
+ | `timeline.card.color` | `--mx-timeline-card-color` | `color.fg.primary` | `#1d1c1a` |
3727
+ | `timeline.card.padding` | `--mx-timeline-card-padding` | `space.3` | `0.75rem` |
3728
+ | `timeline.card.gap` | `--mx-timeline-card-gap` | `space.1` | `0.25rem` |
3729
+ | `timeline.card.pressable.cursor` | `--mx-timeline-card-pressable-cursor` | `` | `pointer` |
3730
+ | `timeline.card.hover.bg` | `--mx-timeline-card-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
3731
+ | `timeline.card.pressed.bg` | `--mx-timeline-card-pressed-bg` | `color.fill.subtle.tertiary` | `rgb(0 0 0 / 0.0241)` |
3732
+ | `timeline.card.focus.glow` | `--mx-timeline-card-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3733
+ | `timeline.card.focus.outline-width` | `--mx-timeline-card-focus-outline-width` | `focus.ring.width` | `2px` |
3734
+ | `timeline.card.focus.outline-color` | `--mx-timeline-card-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3735
+ | `timeline.card.focus.outline-offset` | `--mx-timeline-card-focus-outline-offset` | `focus.ring.offset` | `1px` |
3736
+ | `timeline.card.border-width` | `--mx-timeline-card-border-width` | `border.width.1` | `1px` |
3737
+ | `timeline.card.border-color` | `--mx-timeline-card-border-color` | `color.stroke.card` | `rgb(0 0 0 / 0.08)` |
3738
+ | `timeline.card.shadow` | `--mx-timeline-card-shadow` | `` | `initial` |
3739
+ | `timeline.flag.radius` | `--mx-timeline-flag-radius` | `radius.md` | `0.375rem` |
3740
+ | `timeline.flag.padding` | `--mx-timeline-flag-padding` | `space.2` | `0.5rem` |
3741
+ | `timeline.flag.gap` | `--mx-timeline-flag-gap` | `space.1` | `0.25rem` |
3742
+ | `timeline.flag.color` | `--mx-timeline-flag-color` | `color.fg.secondary` | `#5e5c55` |
3743
+ | `timeline.flag.hover.bg` | `--mx-timeline-flag-hover-bg` | `color.fill.subtle.secondary` | `rgb(0 0 0 / 0.0373)` |
3744
+ | `timeline.flag.hover.cursor` | `--mx-timeline-flag-hover-cursor` | `` | `pointer` |
3745
+ | `timeline.flag.pressed.bg` | `--mx-timeline-flag-pressed-bg` | `color.fill.subtle.tertiary` | `rgb(0 0 0 / 0.0241)` |
3746
+ | `timeline.flag.focus.glow` | `--mx-timeline-flag-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3747
+ | `timeline.flag.focus.outline-width` | `--mx-timeline-flag-focus-outline-width` | `focus.ring.width` | `2px` |
3748
+ | `timeline.flag.focus.outline-color` | `--mx-timeline-flag-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3749
+ | `timeline.flag.focus.outline-offset` | `--mx-timeline-flag-focus-outline-offset` | `focus.ring.offset` | `1px` |
3750
+ | `timeline.flag.selected.color` | `--mx-timeline-flag-selected-color` | `color.accent.fg` | `#983318` |
3751
+ | `timeline.date.color` | `--mx-timeline-date-color` | `color.fg.secondary` | `#5e5c55` |
3752
+ | `timeline.date.font-size` | `--mx-timeline-date-font-size` | `font.size.caption` | `0.75rem` |
3753
+ | `timeline.date.selected.color` | `--mx-timeline-date-selected-color` | `color.accent.fg` | `#983318` |
3754
+ | `timeline.date.selected.font-weight` | `--mx-timeline-date-selected-font-weight` | `font.weight.semibold` | `600` |
3755
+ | `timeline.title.font-weight` | `--mx-timeline-title-font-weight` | `font.weight.semibold` | `600` |
3756
+ | `timeline.description.color` | `--mx-timeline-description-color` | `color.fg.secondary` | `#5e5c55` |
3757
+ | `timeline.detail.radius` | `--mx-timeline-detail-radius` | `radius.md` | `0.375rem` |
3758
+ | `timeline.detail.bg` | `--mx-timeline-detail-bg` | `color.bg.card` | `#f5f4f0` |
3759
+ | `timeline.detail.color` | `--mx-timeline-detail-color` | `color.fg.primary` | `#1d1c1a` |
3760
+ | `timeline.detail.padding` | `--mx-timeline-detail-padding` | `space.3` | `0.75rem` |
3761
+ | `timeline.detail.gap` | `--mx-timeline-detail-gap` | `space.1` | `0.25rem` |
3762
+ | `timeline.detail.border-width` | `--mx-timeline-detail-border-width` | `border.width.1` | `1px` |
3763
+ | `timeline.detail.border-color` | `--mx-timeline-detail-border-color` | `color.stroke.card` | `rgb(0 0 0 / 0.08)` |
3764
+ | `timeline.detail.shadow` | `--mx-timeline-detail-shadow` | `` | `initial` |
3765
+ | `timeline.nav.size` | `--mx-timeline-nav-size` | `` | `2rem` |
3766
+ | `timeline.nav.radius` | `--mx-timeline-nav-radius` | `radius.full` | `9999px` |
3767
+ | `timeline.nav.bg` | `--mx-timeline-nav-bg` | `color.fill.control.default` | `#f5f4f0` |
3768
+ | `timeline.nav.color` | `--mx-timeline-nav-color` | `color.fg.primary` | `#1d1c1a` |
3769
+ | `timeline.nav.hover.bg` | `--mx-timeline-nav-hover-bg` | `color.fill.control.secondary` | `#ebeae5` |
3770
+ | `timeline.nav.hover.cursor` | `--mx-timeline-nav-hover-cursor` | `` | `pointer` |
3771
+ | `timeline.nav.pressed.bg` | `--mx-timeline-nav-pressed-bg` | `color.fill.control.tertiary` | `#e1e0da` |
3772
+ | `timeline.nav.focus.glow` | `--mx-timeline-nav-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
3773
+ | `timeline.nav.focus.outline-width` | `--mx-timeline-nav-focus-outline-width` | `focus.ring.width` | `2px` |
3774
+ | `timeline.nav.focus.outline-color` | `--mx-timeline-nav-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
3775
+ | `timeline.nav.focus.outline-offset` | `--mx-timeline-nav-focus-outline-offset` | `focus.ring.offset` | `1px` |
3776
+ | `timeline.nav.disabled.opacity` | `--mx-timeline-nav-disabled-opacity` | `opacity.disabled` | `0.5` |
3777
+ | `timeline.nav-glyph.size` | `--mx-timeline-nav-glyph-size` | `` | `1rem` |
3778
+ | `timeline.nav-glyph.bg` | `--mx-timeline-nav-glyph-bg` | `color.fg.primary` | `#1d1c1a` |
3470
3779
  | `toast.width` | `--mx-toast-width` | `` | `22rem` |
3471
3780
  | `toast.inset` | `--mx-toast-inset` | `space.4` | `1rem` |
3472
3781
  | `toast.buttons-align` | `--mx-toast-buttons-align` | `` | `center` |
@@ -3672,6 +3981,26 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
3672
3981
  | `treeview.retry.radius` | `--mx-treeview-retry-radius` | `radius.sm` | `0.25rem` |
3673
3982
  | `treeview.retry.color` | `--mx-treeview-retry-color` | `color.accent.fg` | `#983318` |
3674
3983
  | `treeview.retry.text-decoration` | `--mx-treeview-retry-text-decoration` | `` | `underline` |
3984
+ | `validation-summary.gap` | `--mx-validation-summary-gap` | `space.2` | `0.5rem` |
3985
+ | `validation-summary.line-gap` | `--mx-validation-summary-line-gap` | `space.1` | `0.25rem` |
3986
+ | `validation-summary.box.bg` | `--mx-validation-summary-box-bg` | `color.danger.subtle` | `#fde7e9` |
3987
+ | `validation-summary.box.border-width` | `--mx-validation-summary-box-border-width` | `border.width.1` | `1px` |
3988
+ | `validation-summary.box.border-color` | `--mx-validation-summary-box-border-color` | `color.danger.solid` | `#b03659` |
3989
+ | `validation-summary.box.radius` | `--mx-validation-summary-box-radius` | `radius.md` | `0.375rem` |
3990
+ | `validation-summary.box.padding` | `--mx-validation-summary-box-padding` | `space.3` | `0.75rem` |
3991
+ | `validation-summary.icon.icon` | `--mx-validation-summary-icon-icon` | `` | `var(--mx-icon-danger)` |
3992
+ | `validation-summary.icon.size` | `--mx-validation-summary-icon-size` | `` | `1rem` |
3993
+ | `validation-summary.icon.bg` | `--mx-validation-summary-icon-bg` | `color.danger.fg` | `#b03659` |
3994
+ | `validation-summary.header.color` | `--mx-validation-summary-header-color` | `color.danger.fg` | `#b03659` |
3995
+ | `validation-summary.header.font-weight` | `--mx-validation-summary-header-font-weight` | `font.weight.semibold` | `600` |
3996
+ | `validation-summary.item.color` | `--mx-validation-summary-item-color` | `color.danger.fg` | `#b03659` |
3997
+ | `validation-summary.item.radius` | `--mx-validation-summary-item-radius` | `radius.xs` | `0.25rem` |
3998
+ | `validation-summary.item.hover.text-decoration` | `--mx-validation-summary-item-hover-text-decoration` | `` | `underline` |
3999
+ | `validation-summary.item.hover.cursor` | `--mx-validation-summary-item-hover-cursor` | `` | `pointer` |
4000
+ | `validation-summary.item.focus.glow` | `--mx-validation-summary-item-focus-glow` | `focus.ring.halo` | `0px 0px 0px 1px rgb(255 255 255 / 0.7)` |
4001
+ | `validation-summary.item.focus.outline-width` | `--mx-validation-summary-item-focus-outline-width` | `focus.ring.width` | `2px` |
4002
+ | `validation-summary.item.focus.outline-color` | `--mx-validation-summary-item-focus-outline-color` | `focus.ring.color` | `#1d1c1a` |
4003
+ | `validation-summary.item.focus.outline-offset` | `--mx-validation-summary-item-focus-outline-offset` | `focus.ring.offset` | `1px` |
3675
4004
  | `window.font-family` | `--mx-window-font-family` | `font.family.sans` | `Archivo, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif` |
3676
4005
  | `window.title-align` | `--mx-window-title-align` | `` | `start` |
3677
4006
  | `window.min-width` | `--mx-window-min-width` | `` | `16rem` |
package/docs/toolbar.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Toolbar
2
2
 
3
- > Buttons · @motifx-community/ui 0.1.0-beta.2
3
+ > Buttons · @motifx-community/ui 0.1.0-beta.3
4
4
 
5
5
  A bar of commands: buttons, toggle buttons, menus and fields in groups between separators. It is one Tab stop and the arrow keys move inside it; items that do not fit move into a “more” menu at the end. Items come as data, as JSX children, or both.
6
6
 
@@ -10,9 +10,9 @@ A bar of commands: buttons, toggle buttons, menus and fields in groups between s
10
10
  import { Toolbar, ToolbarSeparator, type ToolbarItem } from '@motifx-community/ui';
11
11
  ```
12
12
 
13
- ## From JSX and from code
13
+ ## Declarative and programmatic
14
14
 
15
- `items` describes the commands as data, each field a value or a function; JSX children (any control) come after them. From code, a toolbar is filled like any control: `toolbar.controls.add(button)`. Every prop is also a property.
15
+ `items` describes the commands as data, each field a value or a function; JSX children (any control) come after them. Programmatically, a toolbar is filled like any control: `toolbar.controls.add(button)`. Every prop is also a property.
16
16
 
17
17
  ```tsx
18
18
  /** A small outline icon drawn from one path. */
@@ -41,21 +41,21 @@ import { reactive, type Component } from '@motifx/core';
41
41
  import { Button, Toolbar } from '@motifx-community/ui';
42
42
 
43
43
  /** A toolbar made with `new` and filled with `controls.add`. */
44
- export default function FromCode() {
44
+ export default function Programmatic() {
45
45
  const s = reactive({ log: '' });
46
46
  let added = 0;
47
47
 
48
48
  const bar = new Toolbar({ label: 'Actions', size: 'sm' });
49
49
  bar.controls.add(new Button({ text: 'First', onclick: () => (s.log = 'First pressed') }));
50
50
 
51
- const addFromCode = () => {
51
+ const addProgrammatic = () => {
52
52
  const n = ++added;
53
53
  bar.controls.add(new Button({ text: `Button ${n}`, onclick: () => (s.log = `Button ${n} pressed`) }));
54
54
  };
55
55
 
56
56
  return (
57
57
  <>
58
- <Button text="Add a button from code" variant="outline" onclick={addFromCode} />
58
+ <Button text="Add a button programmatically" variant="outline" onclick={addProgrammatic} />
59
59
  <div style="inline-size: 100%" ref={(c: Component<HTMLDivElement>) => c.controls.add(bar)} />
60
60
  <output>{() => s.log}</output>
61
61
  </>
package/docs/tooltip.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Tooltip
2
2
 
3
- > Feedback · @motifx-community/ui 0.1.0-beta.2
3
+ > Feedback · @motifx-community/ui 0.1.0-beta.3
4
4
 
5
- A short description shown next to an element: after the pointer rests on it, when it gets keyboard focus, or from code. It can be hovered, Escape hides it, and one is open at a time on the page.
5
+ A short description shown next to an element: after the pointer rests on it, when it gets keyboard focus, or programmatically. It can be hovered, Escape hides it, and one is open at a time on the page.
6
6
 
7
7
  ## Import
8
8
 
@@ -10,27 +10,27 @@ A short description shown next to an element: after the pointer rests on it, whe
10
10
  import { Tooltip, addTooltip, type TooltipShowOn } from '@motifx-community/ui';
11
11
  ```
12
12
 
13
- ## From JSX and from code
13
+ ## Declarative and programmatic
14
14
 
15
- In JSX a tooltip is placed anywhere and pointed at its `target`; where it sits does not matter. From code, `new Tooltip({ target, text })` needs nothing else: it puts itself into the page when it first shows, and goes when its target component does.
15
+ In JSX a tooltip is placed anywhere and pointed at its `target`; where it sits does not matter. Programmatically, `new Tooltip({ target, text })` needs nothing else: it puts itself into the page when it first shows, and goes when its target component does.
16
16
 
17
17
  ```tsx
18
18
  import { Button, Tooltip } from '@motifx-community/ui';
19
19
 
20
- /** A tooltip from JSX pointed at its target, and one created with `new` and opened from code. */
21
- export default function FromCode() {
20
+ /** A tooltip from JSX pointed at its target, and one created with `new` and opened programmatically. */
21
+ export default function Programmatic() {
22
22
  let save: Button | null = null;
23
23
  let target: Button | null = null;
24
24
  let tip: Tooltip | null = null;
25
25
  let opened = 0;
26
26
 
27
- const openFromCode = () => {
27
+ const openProgrammatic = () => {
28
28
  if (!target) return;
29
29
  if (!tip) {
30
30
  tip = new Tooltip({ target });
31
31
  tip.placement = 'end';
32
32
  }
33
- tip.text = `Made from code, opened ${++opened} time(s)`;
33
+ tip.text = `Made programmatically, opened ${++opened} time(s)`;
34
34
  tip.open();
35
35
  };
36
36
 
@@ -39,7 +39,7 @@ export default function FromCode() {
39
39
  <Button ref={(b: Button) => (save = b)} text="Save" tone="accent" />
40
40
  <Tooltip target={() => save} text="Save the file (Ctrl+S)" />
41
41
  <Button ref={(b: Button) => (target = b)} text="Target" variant="outline" />
42
- <Button text="Open a tooltip from code" variant="outline" onclick={openFromCode} />
42
+ <Button text="Open a tooltip programmatically" variant="outline" onclick={openProgrammatic} />
43
43
  </>
44
44
  );
45
45
  }
@@ -200,7 +200,7 @@ export default function RichContent() {
200
200
  import { reactive } from '@motifx/core';
201
201
  import { Button, Tooltip } from '@motifx-community/ui';
202
202
 
203
- /** A tooltip opened only from code, and one shown on keyboard focus while a toggle allows it. */
203
+ /** A tooltip opened only programmatically, and one shown on keyboard focus while a toggle allows it. */
204
204
  export default function ShowOn() {
205
205
  const s = reactive({ on: true });
206
206
  let help: Button | null = null;
@@ -209,7 +209,7 @@ export default function ShowOn() {
209
209
  return (
210
210
  <>
211
211
  <Button ref={(b: Button) => (help = b)} text="Help" variant="outline" />
212
- <Tooltip ref={(t: Tooltip) => (tip = t)} target={() => help} text="Shown from code" showOn="manual" placement="bottom" />
212
+ <Tooltip ref={(t: Tooltip) => (tip = t)} target={() => help} text="Shown programmatically" showOn="manual" placement="bottom" />
213
213
  <Button text={() => (tip?.opened ? 'Hide it' : 'Show it')} onclick={() => tip && (tip.opened = !tip.opened)} />
214
214
  <Button text={() => (s.on ? 'Tooltips on' : 'Tooltips off')} toggle x-model={() => s.on} variant="ghost" />
215
215
  <Button ref={(b: Button) => (keyboardOnly = b)} text="Keyboard only" variant="outline" />
@@ -233,7 +233,7 @@ const SEATS = ['1', '2', '3', '4', '5', '6'].flatMap((row) =>
233
233
  })),
234
234
  );
235
235
 
236
- /** A tooltip on each of 24 seats, made only when first needed, and one that is removed from code. */
236
+ /** A tooltip on each of 24 seats, made only when first needed, and one that is removed programmatically. */
237
237
  export default function ManyElements() {
238
238
  let removeGuideTip = () => {};
239
239
  return (
package/docs/treeview.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TreeView
2
2
 
3
- > Data · @motifx-community/ui 0.1.0-beta.2
3
+ > Data · @motifx-community/ui 0.1.0-beta.3
4
4
 
5
5
  A tree view shows items in a hierarchy. Rows open and close, are selected one or many at a time, can carry check boxes that add up to their parents, can be searched, and can load their children when they are first opened. Long trees draw only the rows in view.
6
6
 
@@ -10,9 +10,9 @@ A tree view shows items in a hierarchy. Rows open and close, are selected one or
10
10
  import { TreeView } from '@motifx-community/ui';
11
11
  ```
12
12
 
13
- ## From JSX and from code
13
+ ## Declarative and programmatic
14
14
 
15
- Items are objects with a `children` array (or a `parentId`, see below). `value` is the selected row's key and `x-model` binds it two-way. Created with `new`, the tree is filled and driven from code; items changed in place, plain or reactive, show after `refresh()` (`refreshItem(key)` for one row).
15
+ Items are objects with a `children` array (or a `parentId`, see below). `value` is the selected row's key and `x-model` binds it two-way. Created with `new`, the tree is filled and driven programmatically; items changed in place, plain or reactive, show after `refresh()` (`refreshItem(key)` for one row).
16
16
 
17
17
  ```tsx
18
18
  /** A row of the trees on this page. */
@@ -84,7 +84,7 @@ export interface Entry {
84
84
 
85
85
  ## Search and filter
86
86
 
87
- `searchEnabled` adds a search box; matches show with their parents, opened, and clearing the search brings the rows back as they were. `searchValue` (or `filter(text)`) filters from code; `searchMode` is `contains` or `startswith`.
87
+ `searchEnabled` adds a search box; matches show with their parents, opened, and clearing the search brings the rows back as they were. `searchValue` (or `filter(text)`) filters programmatically; `searchMode` is `contains` or `startswith`.
88
88
 
89
89
  ```tsx
90
90
  /** A row of the trees on this page. */
@@ -269,8 +269,8 @@ export default function Localization() {
269
269
  | --- | --- | --- |
270
270
  | `expand(key), collapse(key)` | `boolean` | Opens / closes a row; children load first if they have to. The cancelable events run. |
271
271
  | `expandAll(), collapseAll()` | `void` | Every row whose children are known. No event per row. |
272
- | `select(key), unselect(key), selectAll(), clearSelection()` | `void` | From code; `select` adds to the selection with `multiple`. |
273
- | `check(key, checked?), uncheck(key), checkAll(), uncheckAll()` | `void` | From code. |
272
+ | `select(key), unselect(key), selectAll(), clearSelection()` | `void` | Programmatically; `select` adds to the selection with `multiple`. |
273
+ | `check(key, checked?), uncheck(key), checkAll(), uncheckAll()` | `void` | Programmatically. |
274
274
  | `filter(text)` | `void` | Sets `searchValue`. |
275
275
  | `scrollTo(key), focusNode(key)` | `boolean` | Opens the row's parents and scrolls it into view (and focuses it). |
276
276
  | `reload(key?)` | `void` | Loads a row's children again (all loaded children without a key). |
@@ -291,7 +291,7 @@ export default function Localization() {
291
291
 
292
292
  ## Example files
293
293
 
294
- `FromCode.tsx`
294
+ `Programmatic.tsx`
295
295
 
296
296
  ```tsx
297
297
  import { reactive } from '@motifx/core';
@@ -302,7 +302,7 @@ import { project } from './project';
302
302
  const BOX = 'inline-size: 100%; max-inline-size: 26rem; background: var(--mx-color-bg-card)';
303
303
 
304
304
  /** A tree bound with x-model, and a tree made with `new` whose items change in place and are read again on `refresh()`. */
305
- export default function FromCode() {
305
+ export default function Programmatic() {
306
306
  const s = reactive({ file: 'tree' as unknown, clicked: '' });
307
307
  const menu = reactive<Entry[]>([
308
308
  { id: 'home', text: 'Home' },
@@ -327,7 +327,7 @@ export default function FromCode() {
327
327
  </Panel>
328
328
  <output class="tv-value">{() => `value: ${JSON.stringify(s.file)}`}</output>
329
329
  <Stack orientation="horizontal" wrap align="center">
330
- <Button text="Add a product from code" variant="outline" onclick={addProduct} />
330
+ <Button text="Add a product programmatically" variant="outline" onclick={addProduct} />
331
331
  <Button text="Expand all" variant="ghost" onclick={() => tree.expandAll()} />
332
332
  <Button text="Collapse all" variant="ghost" onclick={() => tree.collapseAll()} />
333
333
  <output class="tv-clicked">{() => s.clicked}</output>