@emuanalytics/flow-rdf-ui 4.2.1 → 4.3.1

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 (411) hide show
  1. package/README.md +58 -0
  2. package/THIRD_PARTY_NOTICES.md +220 -0
  3. package/dist/components/alert/alert.component.mjs +13 -10
  4. package/dist/components/animation/animation.component.mjs +3 -2
  5. package/dist/components/autocomplete/autocomplete.component.mjs +21 -20
  6. package/dist/components/avatar/avatar.component.mjs +10 -12
  7. package/dist/components/badge/badge.component.mjs +1 -0
  8. package/dist/components/base-control/base-control.component.mjs +3 -0
  9. package/dist/components/breadcrumb/breadcrumb.component.mjs +3 -0
  10. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +15 -14
  11. package/dist/components/busy-overlay/busy-overlay.component.mjs +3 -0
  12. package/dist/components/button/button.component.mjs +7 -3
  13. package/dist/components/button/button.styles.mjs +5 -5
  14. package/dist/components/button-group/button-group.component.mjs +1 -0
  15. package/dist/components/calendar/calendar.component.mjs +29 -6
  16. package/dist/components/card/card.component.mjs +5 -4
  17. package/dist/components/carousel/carousel.component.mjs +45 -42
  18. package/dist/components/carousel-item/carousel-item.component.mjs +2 -0
  19. package/dist/components/chart/chart.component.mjs +5 -4
  20. package/dist/components/chart/chartjs-plugins/luxon.adapter.mjs +78 -0
  21. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +1 -1
  22. package/dist/components/chart/chartjs-support.mjs +2 -0
  23. package/dist/components/checkbox/checkbox.component.mjs +21 -18
  24. package/dist/components/checkbox-group/checkbox-group.component.mjs +3 -0
  25. package/dist/components/color-mapper/color-mapper.component.mjs +27 -6
  26. package/dist/components/color-picker/color-picker.component.mjs +79 -71
  27. package/dist/components/color-picker/color-picker.styles.mjs +4 -2
  28. package/dist/components/color-stop/color-stop.component.mjs +19 -2
  29. package/dist/components/date-time-picker/date-time-picker.component.mjs +35 -29
  30. package/dist/components/details/details.component.mjs +3 -0
  31. package/dist/components/diagram/diagram-panel.styles.mjs +44 -0
  32. package/dist/components/diagram/diagram-tokens.styles.mjs +148 -0
  33. package/dist/components/diagram/diagram.component.mjs +355 -0
  34. package/dist/components/diagram/diagram.mjs +5 -0
  35. package/dist/components/diagram/diagram.styles.mjs +95 -0
  36. package/dist/components/diagram-background/diagram-background.component.mjs +163 -0
  37. package/dist/components/diagram-background/diagram-background.mjs +5 -0
  38. package/dist/components/diagram-background/diagram-background.styles.mjs +58 -0
  39. package/dist/components/diagram-base-edge/diagram-base-edge.component.mjs +326 -0
  40. package/dist/components/diagram-base-edge/diagram-base-edge.mjs +5 -0
  41. package/dist/components/diagram-base-edge/diagram-base-edge.styles.mjs +147 -0
  42. package/dist/components/diagram-base-node/diagram-base-node.component.mjs +84 -0
  43. package/dist/components/diagram-base-node/diagram-base-node.mjs +5 -0
  44. package/dist/components/diagram-base-node/diagram-base-node.styles.mjs +37 -0
  45. package/dist/components/diagram-edge/diagram-edge.component.mjs +56 -0
  46. package/dist/components/diagram-edge/diagram-edge.mjs +5 -0
  47. package/dist/components/diagram-edge/diagram-edge.styles.mjs +37 -0
  48. package/dist/components/diagram-edge-label/diagram-edge-label.component.mjs +202 -0
  49. package/dist/components/diagram-edge-label/diagram-edge-label.mjs +5 -0
  50. package/dist/components/diagram-edge-label/diagram-edge-label.styles.mjs +54 -0
  51. package/dist/components/diagram-marker/diagram-marker.component.mjs +84 -0
  52. package/dist/components/diagram-marker/diagram-marker.mjs +5 -0
  53. package/dist/components/diagram-marker/diagram-marker.styles.mjs +9 -0
  54. package/dist/components/diagram-minimap/diagram-minimap.component.mjs +298 -0
  55. package/dist/components/diagram-minimap/diagram-minimap.mjs +5 -0
  56. package/dist/components/diagram-minimap/diagram-minimap.styles.mjs +83 -0
  57. package/dist/components/diagram-node/diagram-node-template.styles.mjs +36 -0
  58. package/dist/components/diagram-node/diagram-node.component.mjs +183 -0
  59. package/dist/components/diagram-node/diagram-node.mjs +6 -0
  60. package/dist/components/diagram-node/diagram-node.styles.mjs +29 -0
  61. package/dist/components/diagram-palette-item/diagram-palette-item.component.mjs +168 -0
  62. package/dist/components/diagram-palette-item/diagram-palette-item.mjs +5 -0
  63. package/dist/components/diagram-palette-item/diagram-palette-item.styles.mjs +20 -0
  64. package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.component.mjs +245 -0
  65. package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.mjs +6 -0
  66. package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.styles.mjs +41 -0
  67. package/dist/components/diagram-port/diagram-port.component.mjs +273 -0
  68. package/dist/components/diagram-port/diagram-port.mjs +5 -0
  69. package/dist/components/diagram-port/diagram-port.styles.mjs +116 -0
  70. package/dist/components/diagram-resize-adornment/diagram-resize-adornment.component.mjs +124 -0
  71. package/dist/components/diagram-resize-adornment/diagram-resize-adornment.mjs +5 -0
  72. package/dist/components/diagram-resize-adornment/diagram-resize-adornment.styles.mjs +136 -0
  73. package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.component.mjs +125 -0
  74. package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.mjs +5 -0
  75. package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.styles.mjs +65 -0
  76. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.component.mjs +158 -0
  77. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.mjs +5 -0
  78. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.styles.mjs +68 -0
  79. package/dist/components/dialog/dialog.component.mjs +5 -1
  80. package/dist/components/divider/divider.component.mjs +1 -0
  81. package/dist/components/drawer/drawer.component.mjs +22 -19
  82. package/dist/components/dropdown/dropdown.component.mjs +2 -1
  83. package/dist/components/form-group/form-group.component.mjs +1 -0
  84. package/dist/components/gauge/gauge.component.mjs +10 -2
  85. package/dist/components/icon/icon.component.mjs +1 -0
  86. package/dist/components/icon/library.mjs +7 -4
  87. package/dist/components/icon/library.system.mjs +2 -0
  88. package/dist/components/icon-button/icon-button.component.mjs +5 -0
  89. package/dist/components/input/input.component.mjs +21 -11
  90. package/dist/components/list/list.component.mjs +1 -0
  91. package/dist/components/list-item/list-item.component.mjs +34 -17
  92. package/dist/components/map/map.component.mjs +3 -0
  93. package/dist/components/map/map.styles.mjs +10 -0
  94. package/dist/components/menu/menu.component.mjs +1 -0
  95. package/dist/components/menu-item/menu-item.component.mjs +3 -0
  96. package/dist/components/menu-label/menu-label.component.mjs +1 -0
  97. package/dist/components/mutation-observer/mutation-observer.component.mjs +5 -6
  98. package/dist/components/option/option.component.mjs +2 -1
  99. package/dist/components/panel/panel.component.mjs +85 -1
  100. package/dist/components/panel/panel.styles.mjs +29 -0
  101. package/dist/components/panel-header/panel-header.component.mjs +14 -8
  102. package/dist/components/popup/popup.component.mjs +12 -11
  103. package/dist/components/progress-bar/progress-bar.component.mjs +3 -2
  104. package/dist/components/progress-ring/progress-ring.component.mjs +1 -0
  105. package/dist/components/query-builder/converters/javascript-filter-converter.mjs +0 -4
  106. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +0 -4
  107. package/dist/components/query-builder/query-builder.component.mjs +42 -15
  108. package/dist/components/radio/radio.component.mjs +10 -7
  109. package/dist/components/radio-group/radio-group.component.mjs +4 -1
  110. package/dist/components/range/range.component.mjs +4 -0
  111. package/dist/components/resize-observer/resize-observer.component.mjs +2 -1
  112. package/dist/components/scroll-view/scroll-view.component.mjs +1 -0
  113. package/dist/components/scroll-view/scroll-view.styles.mjs +20 -7
  114. package/dist/components/select/select.component.mjs +19 -21
  115. package/dist/components/split-view/split-view-layout-registry.mjs +44 -0
  116. package/dist/components/split-view/split-view-layout.mjs +607 -0
  117. package/dist/components/split-view/split-view.component.mjs +502 -468
  118. package/dist/components/split-view/split-view.styles.mjs +25 -0
  119. package/dist/components/split-view-divider/split-view-divider.component.mjs +2 -53
  120. package/dist/components/split-view-divider/split-view-divider.styles.mjs +28 -16
  121. package/dist/components/split-view-pane/split-view-pane.component.mjs +197 -18
  122. package/dist/components/split-view-pane/split-view-pane.styles.mjs +52 -0
  123. package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +5 -0
  124. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +3 -3
  125. package/dist/components/stepper/stepper.component.mjs +3 -2
  126. package/dist/components/stepper-panel/stepper-panel.component.mjs +4 -3
  127. package/dist/components/switch/switch.component.mjs +9 -8
  128. package/dist/components/tab/tab.component.mjs +21 -17
  129. package/dist/components/tab-group/tab-group.component.mjs +218 -44
  130. package/dist/components/tab-group/tab-group.styles.mjs +44 -0
  131. package/dist/components/tab-panel/tab-panel.component.mjs +1 -0
  132. package/dist/components/tag/tag.component.mjs +13 -12
  133. package/dist/components/textarea/textarea.component.mjs +11 -4
  134. package/dist/components/timer/ticker.mjs +7 -0
  135. package/dist/components/timer/timer.component.mjs +44 -3
  136. package/dist/components/timer/timer.styles.mjs +6 -2
  137. package/dist/components/tool-button/tool-button.component.mjs +4 -0
  138. package/dist/components/tool-button-group/tool-button-group.component.mjs +3 -0
  139. package/dist/components/tooltip/tooltip.component.mjs +3 -0
  140. package/dist/components/tree/tree.component.mjs +5 -2
  141. package/dist/components/tree-item/tree-item.component.mjs +5 -0
  142. package/dist/components/visually-hidden/visually-hidden.component.mjs +1 -0
  143. package/dist/custom-elements.json +7890 -1741
  144. package/dist/diagram/api/diagram-api-base.mjs +16 -0
  145. package/dist/diagram/api/diagram-api.mjs +399 -0
  146. package/dist/diagram/api/diagram-clipboard-api.mjs +52 -0
  147. package/dist/diagram/api/diagram-groups-api.mjs +46 -0
  148. package/dist/diagram/api/diagram-model-api.mjs +447 -0
  149. package/dist/diagram/api/diagram-nodes-api.mjs +61 -0
  150. package/dist/diagram/api/diagram-selection-api.mjs +56 -0
  151. package/dist/diagram/api/diagram-viewport-api.mjs +169 -0
  152. package/dist/diagram/api/emit-with-measurement-option.mjs +21 -0
  153. package/dist/diagram/input/box-selection-controller.mjs +104 -0
  154. package/dist/diagram/input/context-menu-controller.mjs +196 -0
  155. package/dist/diagram/input/cursor-position-tracker-controller.mjs +18 -0
  156. package/dist/diagram/input/input-controller.mjs +31 -0
  157. package/dist/diagram/input/keyboard-actions/moving-action.mjs +27 -0
  158. package/dist/diagram/input/keyboard-actions/panning-action.mjs +27 -0
  159. package/dist/diagram/input/keyboard-actions/paste-action.mjs +17 -0
  160. package/dist/diagram/input/keyboard-actions/zoom-action.mjs +30 -0
  161. package/dist/diagram/input/keyboard-inputs-controller.mjs +121 -0
  162. package/dist/diagram/input/linking-controller.mjs +127 -0
  163. package/dist/diagram/input/linking-events.mjs +61 -0
  164. package/dist/diagram/input/manual-linking.mjs +101 -0
  165. package/dist/diagram/input/mobile-box-selection-controller.mjs +133 -0
  166. package/dist/diagram/input/mobile-panning-controller.mjs +114 -0
  167. package/dist/diagram/input/mobile-zooming-controller.mjs +110 -0
  168. package/dist/diagram/input/object-selection-controller.mjs +152 -0
  169. package/dist/diagram/input/palette-drop-controller.mjs +92 -0
  170. package/dist/diagram/input/panning-controller.mjs +147 -0
  171. package/dist/diagram/input/pointer-move-selection-controller.mjs +191 -0
  172. package/dist/diagram/input/relinking-gesture.mjs +182 -0
  173. package/dist/diagram/input/resize-controller.mjs +122 -0
  174. package/dist/diagram/input/rotate-controller.mjs +126 -0
  175. package/dist/diagram/input/zooming-wheel-controller.mjs +55 -0
  176. package/dist/diagram/minimap/minimap-calculations.mjs +83 -0
  177. package/dist/diagram/minimap/minimap-navigation-controller.mjs +150 -0
  178. package/dist/diagram/minimap/minimap-node-cache.mjs +19 -0
  179. package/dist/diagram/minimap/minimap-strategies.mjs +44 -0
  180. package/dist/diagram/model/diagram-model-adapter.mjs +97 -0
  181. package/dist/diagram/model/initialize-model.mjs +31 -0
  182. package/dist/diagram/model/strip-runtime-properties.mjs +30 -0
  183. package/dist/diagram/runtime/attribute-converters.mjs +11 -0
  184. package/dist/diagram/runtime/batched-resize-observer.mjs +168 -0
  185. package/dist/diagram/runtime/box-selection-provider.mjs +9 -0
  186. package/dist/diagram/runtime/context.mjs +132 -0
  187. package/dist/diagram/runtime/contexts.mjs +8 -0
  188. package/dist/diagram/runtime/cursor-position-tracker.mjs +20 -0
  189. package/dist/diagram/runtime/default-edge-templates.mjs +21 -0
  190. package/dist/diagram/runtime/default-node-templates.mjs +20 -0
  191. package/dist/diagram/runtime/diagram-reference.mjs +126 -0
  192. package/dist/diagram/runtime/diagram-runtime.mjs +214 -0
  193. package/dist/diagram/runtime/dom-input-events-router.mjs +88 -0
  194. package/dist/diagram/runtime/environment.mjs +59 -0
  195. package/dist/diagram/runtime/event-bridge.mjs +31 -0
  196. package/dist/diagram/runtime/flow-offset.mjs +45 -0
  197. package/dist/diagram/runtime/group-highlighted.mjs +25 -0
  198. package/dist/diagram/runtime/hidden.mjs +147 -0
  199. package/dist/diagram/runtime/lit-renderer.mjs +33 -0
  200. package/dist/diagram/runtime/marker-registry.mjs +108 -0
  201. package/dist/diagram/runtime/middlewares.mjs +14 -0
  202. package/dist/diagram/runtime/model-owner.mjs +11 -0
  203. package/dist/diagram/runtime/node-selected.mjs +25 -0
  204. package/dist/diagram/runtime/observable.mjs +205 -0
  205. package/dist/diagram/runtime/palette-drag.mjs +56 -0
  206. package/dist/diagram/runtime/port-hover.mjs +27 -0
  207. package/dist/diagram/runtime/port-registry.mjs +87 -0
  208. package/dist/diagram/runtime/resize-processor.mjs +207 -0
  209. package/dist/diagram/runtime/template-resolver.mjs +98 -0
  210. package/dist/diagram/runtime/touch-events-state.mjs +52 -0
  211. package/dist/diagram/utilities.mjs +27 -0
  212. package/dist/diagram-core/action-state-manager/action-state-manager.mjs +238 -0
  213. package/dist/diagram-core/batch-processor/batch-processor.mjs +144 -0
  214. package/dist/diagram-core/command-handler/command-handler.mjs +62 -0
  215. package/dist/diagram-core/command-handler/commands/add-to-group.mjs +32 -0
  216. package/dist/diagram-core/command-handler/commands/add-update-delete.mjs +196 -0
  217. package/dist/diagram-core/command-handler/commands/centering.mjs +73 -0
  218. package/dist/diagram-core/command-handler/commands/copy-paste.mjs +223 -0
  219. package/dist/diagram-core/command-handler/commands/cut.mjs +9 -0
  220. package/dist/diagram-core/command-handler/commands/delete-selection.mjs +32 -0
  221. package/dist/diagram-core/command-handler/commands/detach-on-node-delete.mjs +77 -0
  222. package/dist/diagram-core/command-handler/commands/highlight-group.mjs +45 -0
  223. package/dist/diagram-core/command-handler/commands/index.mjs +88 -0
  224. package/dist/diagram-core/command-handler/commands/init.mjs +11 -0
  225. package/dist/diagram-core/command-handler/commands/linking/cancel-linking.mjs +26 -0
  226. package/dist/diagram-core/command-handler/commands/linking/finish-linking-to-position.mjs +33 -0
  227. package/dist/diagram-core/command-handler/commands/linking/finish-linking.mjs +108 -0
  228. package/dist/diagram-core/command-handler/commands/linking/finish-relinking.mjs +91 -0
  229. package/dist/diagram-core/command-handler/commands/linking/linking-gesture.mjs +13 -0
  230. package/dist/diagram-core/command-handler/commands/linking/move-temporary-edge.mjs +98 -0
  231. package/dist/diagram-core/command-handler/commands/linking/start-linking-from-position.mjs +23 -0
  232. package/dist/diagram-core/command-handler/commands/linking/start-linking.mjs +47 -0
  233. package/dist/diagram-core/command-handler/commands/linking/start-relinking.mjs +51 -0
  234. package/dist/diagram-core/command-handler/commands/linking/utils.mjs +103 -0
  235. package/dist/diagram-core/command-handler/commands/move-nodes-lifecycle.mjs +14 -0
  236. package/dist/diagram-core/command-handler/commands/move-viewport.mjs +48 -0
  237. package/dist/diagram-core/command-handler/commands/move.mjs +90 -0
  238. package/dist/diagram-core/command-handler/commands/remove-from-group.mjs +22 -0
  239. package/dist/diagram-core/command-handler/commands/resize-node-lifecycle.mjs +14 -0
  240. package/dist/diagram-core/command-handler/commands/resize-node.mjs +214 -0
  241. package/dist/diagram-core/command-handler/commands/rotate-node-lifecycle.mjs +14 -0
  242. package/dist/diagram-core/command-handler/commands/rotate-node.mjs +53 -0
  243. package/dist/diagram-core/command-handler/commands/selection.mjs +69 -0
  244. package/dist/diagram-core/command-handler/commands/z-order.mjs +125 -0
  245. package/dist/diagram-core/command-handler/commands/zoom-to-fit.mjs +118 -0
  246. package/dist/diagram-core/command-handler/commands/zoom.mjs +26 -0
  247. package/dist/diagram-core/edge-routing-manager/edge-routing-manager.mjs +253 -0
  248. package/dist/diagram-core/edge-routing-manager/resolve-label-position.mjs +13 -0
  249. package/dist/diagram-core/edge-routing-manager/routings/bezier/bezier-routing.mjs +73 -0
  250. package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-path.mjs +24 -0
  251. package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-point-at-distance.mjs +37 -0
  252. package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-point-on-path.mjs +33 -0
  253. package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-points.mjs +31 -0
  254. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-path.mjs +56 -0
  255. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-point-at-distance.mjs +12 -0
  256. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-point-on-path.mjs +38 -0
  257. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-points.mjs +26 -0
  258. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/orthogonal-routing.mjs +69 -0
  259. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/get-offset-point.mjs +14 -0
  260. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-bottom.mjs +104 -0
  261. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-left.mjs +91 -0
  262. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-right.mjs +88 -0
  263. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-top.mjs +168 -0
  264. package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints.mjs +23 -0
  265. package/dist/diagram-core/edge-routing-manager/routings/polyline/compute-polyline-point-at-distance.mjs +12 -0
  266. package/dist/diagram-core/edge-routing-manager/routings/polyline/compute-polyline-point-on-path.mjs +41 -0
  267. package/dist/diagram-core/edge-routing-manager/routings/polyline/polyline-routing.mjs +81 -0
  268. package/dist/diagram-core/edge-routing-manager/utils/linear-segment-utils.mjs +27 -0
  269. package/dist/diagram-core/edge-routing-manager/utils/normalize-distance.mjs +6 -0
  270. package/dist/diagram-core/event-manager/event-manager.mjs +164 -0
  271. package/dist/diagram-core/flow-config/default-flow-config.mjs +143 -0
  272. package/dist/diagram-core/flow-core.mjs +541 -0
  273. package/dist/diagram-core/input-events/handlers/box-selection/box-selection.handler.mjs +69 -0
  274. package/dist/diagram-core/input-events/handlers/cancel-interaction/cancel-interaction.handler.mjs +9 -0
  275. package/dist/diagram-core/input-events/handlers/copy/copy.handler.mjs +9 -0
  276. package/dist/diagram-core/input-events/handlers/cut/cut.handler.mjs +9 -0
  277. package/dist/diagram-core/input-events/handlers/delete-selection/delete-selection.handler.mjs +9 -0
  278. package/dist/diagram-core/input-events/handlers/event-handler.mjs +29 -0
  279. package/dist/diagram-core/input-events/handlers/keyboard-move-selection/keyboard-move-selection.handler.mjs +130 -0
  280. package/dist/diagram-core/input-events/handlers/keyboard-panning/keyboard-panning.handler.mjs +31 -0
  281. package/dist/diagram-core/input-events/handlers/linking/linking.handler.mjs +77 -0
  282. package/dist/diagram-core/input-events/handlers/movable-selection.mjs +26 -0
  283. package/dist/diagram-core/input-events/handlers/palette-drop/palette-drop.handler.mjs +20 -0
  284. package/dist/diagram-core/input-events/handlers/panning/panning-handler-factory.mjs +8 -0
  285. package/dist/diagram-core/input-events/handlers/panning/panning.handler.mjs +41 -0
  286. package/dist/diagram-core/input-events/handlers/panning/virtualized-panning.handler.mjs +77 -0
  287. package/dist/diagram-core/input-events/handlers/paste/paste.handler.mjs +17 -0
  288. package/dist/diagram-core/input-events/handlers/pointer-move-selection/pointer-move-selection.handler.mjs +220 -0
  289. package/dist/diagram-core/input-events/handlers/redo/redo.handler.mjs +14 -0
  290. package/dist/diagram-core/input-events/handlers/relinking/relinking.handler.mjs +62 -0
  291. package/dist/diagram-core/input-events/handlers/resize/resize.handler.mjs +174 -0
  292. package/dist/diagram-core/input-events/handlers/rotate/rotate.handler.mjs +107 -0
  293. package/dist/diagram-core/input-events/handlers/select/select.handler.mjs +42 -0
  294. package/dist/diagram-core/input-events/handlers/select-all/select-all.handler.mjs +10 -0
  295. package/dist/diagram-core/input-events/handlers/undo/undo.handler.mjs +14 -0
  296. package/dist/diagram-core/input-events/handlers/wheel-panning/wheel-panning.handler.mjs +25 -0
  297. package/dist/diagram-core/input-events/handlers/zooming/zooming.handler.mjs +28 -0
  298. package/dist/diagram-core/input-events/input-events.router.mjs +75 -0
  299. package/dist/diagram-core/interaction-coordinator/interaction-coordinator.mjs +75 -0
  300. package/dist/diagram-core/label-batch-processor/label-batch-processor.mjs +19 -0
  301. package/dist/diagram-core/math/angle-between-points/angle-between-points.mjs +5 -0
  302. package/dist/diagram-core/math/angle-to-side/angle-to-side.mjs +27 -0
  303. package/dist/diagram-core/math/calculate-edge-panning-force/calculate-edge-panning-force.mjs +34 -0
  304. package/dist/diagram-core/math/clamp/clamp.mjs +5 -0
  305. package/dist/diagram-core/math/distance-between-points/distance-between-points.mjs +5 -0
  306. package/dist/diagram-core/math/ng-diagram-math.mjs +25 -0
  307. package/dist/diagram-core/math/normalize-angle/normalize-angle.mjs +5 -0
  308. package/dist/diagram-core/math/snap-angle/snap-angle.mjs +43 -0
  309. package/dist/diagram-core/math/snap-number/snap-number.mjs +3 -0
  310. package/dist/diagram-core/math/snap-point/snap-point.mjs +8 -0
  311. package/dist/diagram-core/math/subtract-points/subtract-points.mjs +5 -0
  312. package/dist/diagram-core/measurement-tracker/measurement-tracker.mjs +182 -0
  313. package/dist/diagram-core/middleware-manager/middleware-executor.mjs +246 -0
  314. package/dist/diagram-core/middleware-manager/middleware-manager.mjs +93 -0
  315. package/dist/diagram-core/middleware-manager/middlewares/edges-routing/edges-routing.mjs +149 -0
  316. package/dist/diagram-core/middleware-manager/middlewares/edges-routing/get-edge-points.mjs +93 -0
  317. package/dist/diagram-core/middleware-manager/middlewares/edges-routing/get-source-target-positions.mjs +90 -0
  318. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/clipboard-paste.emitter.mjs +34 -0
  319. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/diagram-init.emitter.mjs +190 -0
  320. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-draw-ended.emitter.mjs +51 -0
  321. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-drawn.emitter.mjs +35 -0
  322. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-relink.emitter.mjs +58 -0
  323. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/group-membership-changed.emitter.mjs +49 -0
  324. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-drag-lifecycle.emitter.mjs +54 -0
  325. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-resize-lifecycle.emitter.mjs +44 -0
  326. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-rotate-lifecycle.emitter.mjs +44 -0
  327. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/palette-item-dropped.emitter.mjs +26 -0
  328. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-changed.emitter.mjs +61 -0
  329. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-gesture-ended.emitter.mjs +32 -0
  330. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-moved.emitter.mjs +57 -0
  331. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-removed.emitter.mjs +40 -0
  332. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-rotated.emitter.mjs +33 -0
  333. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/size-changed.emitter.mjs +33 -0
  334. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/viewport-changed.emitter.mjs +19 -0
  335. package/dist/diagram-core/middleware-manager/middlewares/event-emitter/event-emitter.middleware.mjs +69 -0
  336. package/dist/diagram-core/middleware-manager/middlewares/hidden-computation/hidden-computation.mjs +66 -0
  337. package/dist/diagram-core/middleware-manager/middlewares/internal-id-assignment/internal-id-assignment.mjs +24 -0
  338. package/dist/diagram-core/middleware-manager/middlewares/logger/logger.mjs +18 -0
  339. package/dist/diagram-core/middleware-manager/middlewares/measured-bounds-assignment/is-node-fully-measured.mjs +20 -0
  340. package/dist/diagram-core/middleware-manager/middlewares/measured-bounds-assignment/measured-bounds-assignment.mjs +59 -0
  341. package/dist/diagram-core/middleware-manager/middlewares/measurement-tracking/measurement-tracking.middleware.mjs +55 -0
  342. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/assign-edges-z-index.mjs +12 -0
  343. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/assign-node-z-index.mjs +61 -0
  344. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/create-group-children-map.mjs +14 -0
  345. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/initialize-z-index.mjs +30 -0
  346. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/sort-children.mjs +36 -0
  347. package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/z-index-assignment.mjs +240 -0
  348. package/dist/diagram-core/middleware-manager/pass-settlement.mjs +68 -0
  349. package/dist/diagram-core/model-lookup/model-lookup.mjs +394 -0
  350. package/dist/diagram-core/port-batch-processor/port-batch-processor.mjs +20 -0
  351. package/dist/diagram-core/render-strategy/base-render-strategy.mjs +26 -0
  352. package/dist/diagram-core/render-strategy/direct/direct-render-strategy.mjs +33 -0
  353. package/dist/diagram-core/render-strategy/render-performance-logger.mjs +42 -0
  354. package/dist/diagram-core/render-strategy/virtualized/idle-render-scheduler.mjs +43 -0
  355. package/dist/diagram-core/render-strategy/virtualized/result-cache.mjs +63 -0
  356. package/dist/diagram-core/render-strategy/virtualized/viewport-utils.mjs +40 -0
  357. package/dist/diagram-core/render-strategy/virtualized/virtualized-render-strategy.mjs +91 -0
  358. package/dist/diagram-core/render-strategy/virtualized/visible-elements-resolver.mjs +120 -0
  359. package/dist/diagram-core/render-strategy/virtualized/zoom-tracker.mjs +38 -0
  360. package/dist/diagram-core/set.polyfill.mjs +24 -0
  361. package/dist/diagram-core/shortcut-manager/default-shortcuts.mjs +99 -0
  362. package/dist/diagram-core/shortcut-manager/shortcut-manager.mjs +140 -0
  363. package/dist/diagram-core/spatial-hash/collision-detection.mjs +74 -0
  364. package/dist/diagram-core/spatial-hash/spatial-hash.mjs +161 -0
  365. package/dist/diagram-core/spatial-hash/utils.mjs +92 -0
  366. package/dist/diagram-core/transaction-manager/transaction-context.mjs +40 -0
  367. package/dist/diagram-core/transaction-manager/transaction-manager.mjs +94 -0
  368. package/dist/diagram-core/transaction-manager/transaction.mjs +179 -0
  369. package/dist/diagram-core/types/edge.interface.mjs +3 -0
  370. package/dist/diagram-core/types/node.interface.mjs +3 -0
  371. package/dist/diagram-core/types/utils.mjs +3 -0
  372. package/dist/diagram-core/updater/init-updater/init-state.mjs +356 -0
  373. package/dist/diagram-core/updater/init-updater/init-updater.mjs +275 -0
  374. package/dist/diagram-core/updater/init-updater/late-arrival-queue.mjs +71 -0
  375. package/dist/diagram-core/updater/init-updater/stability-detector.mjs +63 -0
  376. package/dist/diagram-core/updater/internal-updater/internal-updater.mjs +166 -0
  377. package/dist/diagram-core/utils/change-generation.mjs +13 -0
  378. package/dist/diagram-core/utils/compute-floating-edge-side.mjs +35 -0
  379. package/dist/diagram-core/utils/constants.mjs +3 -0
  380. package/dist/diagram-core/utils/dangling-edges.mjs +89 -0
  381. package/dist/diagram-core/utils/deep-merge.mjs +22 -0
  382. package/dist/diagram-core/utils/dimensions.mjs +52 -0
  383. package/dist/diagram-core/utils/get-node-border-intersection.mjs +99 -0
  384. package/dist/diagram-core/utils/get-port-flow-position.mjs +55 -0
  385. package/dist/diagram-core/utils/group-size.mjs +32 -0
  386. package/dist/diagram-core/utils/is-group.mjs +5 -0
  387. package/dist/diagram-core/utils/measurement-validation.mjs +11 -0
  388. package/dist/diagram-core/utils/object-properties.mjs +22 -0
  389. package/dist/diagram-core/utils/rects-points-sizes.mjs +148 -0
  390. package/dist/diagram-core/utils/relinking.mjs +6 -0
  391. package/dist/diagram-core/utils/semaphore.mjs +43 -0
  392. package/dist/diagram-core/utils/snap-node-position.mjs +11 -0
  393. package/dist/diagram-core/utils/sort-nodes-by-z-index.mjs +22 -0
  394. package/dist/diagram-core/visibility/effective-visibility.mjs +28 -0
  395. package/dist/diagram-core/visibility/template-visibility-registry.mjs +87 -0
  396. package/dist/index.d.mts +13296 -3667
  397. package/dist/index.d.ts +13296 -3667
  398. package/dist/index.mjs +34 -0
  399. package/dist/internal/content-size.mjs +14 -0
  400. package/dist/internal/custom-boolean-converter.mjs +18 -0
  401. package/dist/internal/flow-ui-rdf-element.mjs +57 -5
  402. package/dist/internal/form.mjs +1 -1
  403. package/dist/internal/on-off-converter.mjs +21 -0
  404. package/dist/package.json.mjs +1 -1
  405. package/dist/utilities/register-components.mjs +77 -142
  406. package/dist/vscode.html-custom-data.json +426 -156
  407. package/package.json +35 -40
  408. package/themes/dark.css +7 -5
  409. package/themes/dark.styles.js +7 -5
  410. package/themes/light.css +7 -5
  411. package/themes/light.styles.js +7 -5
@@ -35,68 +35,6 @@
35
35
  ],
36
36
  "references": []
37
37
  },
38
- {
39
- "name": "flow-ui-animation",
40
- "description": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
41
- "attributes": [
42
- {
43
- "name": "name",
44
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
45
- "values": []
46
- },
47
- {
48
- "name": "play",
49
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
50
- "values": []
51
- },
52
- {
53
- "name": "delay",
54
- "description": "The number of milliseconds to delay the start of the animation.",
55
- "values": []
56
- },
57
- {
58
- "name": "direction",
59
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
60
- "values": [{ "name": "PlaybackDirection" }]
61
- },
62
- {
63
- "name": "duration",
64
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
65
- "values": []
66
- },
67
- {
68
- "name": "easing",
69
- "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
70
- "values": []
71
- },
72
- {
73
- "name": "end-delay",
74
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
75
- "values": []
76
- },
77
- {
78
- "name": "fill",
79
- "description": "Sets how the animation applies styles to its target before and after its execution.",
80
- "values": [{ "name": "FillMode" }]
81
- },
82
- {
83
- "name": "iterations",
84
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
85
- "values": []
86
- },
87
- {
88
- "name": "iteration-start",
89
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
90
- "values": []
91
- },
92
- {
93
- "name": "playback-rate",
94
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
95
- "values": []
96
- }
97
- ],
98
- "references": []
99
- },
100
38
  {
101
39
  "name": "flow-ui-badge",
102
40
  "description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -172,61 +110,62 @@
172
110
  "references": []
173
111
  },
174
112
  {
175
- "name": "flow-ui-base-control",
176
- "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
113
+ "name": "flow-ui-animation",
114
+ "description": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
177
115
  "attributes": [
178
116
  {
179
- "name": "size",
180
- "description": "The input's size.",
181
- "values": [
182
- { "name": "small" },
183
- { "name": "medium" },
184
- { "name": "large" }
185
- ]
117
+ "name": "name",
118
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
119
+ "values": []
186
120
  },
187
121
  {
188
- "name": "filled",
189
- "description": "Draws a filled input.",
122
+ "name": "play",
123
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
190
124
  "values": []
191
125
  },
192
126
  {
193
- "name": "pill",
194
- "description": "Draws a pill-style input with rounded edges.",
127
+ "name": "delay",
128
+ "description": "The number of milliseconds to delay the start of the animation.",
195
129
  "values": []
196
130
  },
197
131
  {
198
- "name": "label",
199
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
200
- "values": []
132
+ "name": "direction",
133
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
134
+ "values": [{ "name": "PlaybackDirection" }]
201
135
  },
202
136
  {
203
- "name": "help-text",
204
- "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
137
+ "name": "duration",
138
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
205
139
  "values": []
206
140
  },
207
141
  {
208
- "name": "disabled",
209
- "description": "Disables the input.",
142
+ "name": "easing",
143
+ "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
210
144
  "values": []
211
145
  },
212
146
  {
213
- "name": "form",
214
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
147
+ "name": "end-delay",
148
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
215
149
  "values": []
216
150
  },
217
151
  {
218
- "name": "required",
219
- "description": "Makes the input a required field.",
152
+ "name": "fill",
153
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
154
+ "values": [{ "name": "FillMode" }]
155
+ },
156
+ {
157
+ "name": "iterations",
158
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
220
159
  "values": []
221
160
  },
222
161
  {
223
- "name": "inline",
224
- "description": "Display the input in the 'inline' form control style.",
162
+ "name": "iteration-start",
163
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
225
164
  "values": []
226
165
  },
227
166
  {
228
- "name": "divider",
229
- "description": "Indicates that the control should display a divider",
167
+ "name": "playback-rate",
168
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
230
169
  "values": []
231
170
  }
232
171
  ],
@@ -234,11 +173,11 @@
234
173
  },
235
174
  {
236
175
  "name": "flow-ui-autocomplete",
237
- "description": "The Autocomplete is a Text input enhanced by a panel of suggested options.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the display value changes.\n- **flow-ui-change** - Emitted when the input value changes.\n- **flow-ui-focus** - Emitted when the input is focused.\n- **flow-ui-blur** - Emitted when the input is blurred.\n- **flow-ui-show** - Emitted when the dropdown is shown.\n- **flow-ui-after-show** - Emitted when the dropdown is shown.\n- **flow-ui-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-after-hide** - Emitted when the dropdown is hidden.\n- **flow-ui-invalid** - Emitted when the input is invalid.\n- **flow-ui-valid** - Emitted when the input is valid.\n- **flow-ui-validate** - Emitted when the input is validated.\n- **flow-ui-validate-complete** - Emitted when the input is validated and the validity state is updated.\n- **flow-ui-validate-error** - Emitted when the input is validated and an error occurs.\n- **flow-ui-validate-success** - Emitted when the input is validated and no errors occur.\n\n### **Methods:**\n - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus()** - Focuses on the control\n- **blur()** - Blurs from the control.\n- **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **getInputText()** - Gets the current value of the text input\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **clear-button** - The clear button.",
176
+ "description": "Autocompletes allow users to type into a text input and choose a value from a list of suggested [options](./flow-ui-option).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.\n- **flow-ui-change** - Emitted when the autocomplete's value changes.\n- **flow-ui-focus** - Emitted when the autocomplete gains focus.\n- **flow-ui-blur** - Emitted when the autocomplete loses focus.\n- **flow-ui-show** - Emitted when the listbox opens.\n- **flow-ui-after-show** - Emitted after the listbox opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the listbox closes.\n- **flow-ui-after-hide** - Emitted after the listbox closes and all animations are complete.\n\n### **Methods:**\n - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus()** - Focuses on the control\n- **blur()** - Blurs from the control.\n- **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **getInputText()** - Gets the current value of the text input\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.\n- **label** - The autocomplete's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **help-text** - Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **label** - The label's wrapper.\n- **help-text** - The help text's wrapper.\n- **control** - The input's wrapper.\n- **combobox** - The container that wraps the prefix, suffix, input and clear button.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **display-input** - The text input, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **clear-button** - The clear button.",
238
177
  "attributes": [
239
178
  {
240
179
  "name": "size",
241
- "description": "The autocomplete's size",
180
+ "description": "The autocomplete's size.",
242
181
  "values": [
243
182
  { "name": "small" },
244
183
  { "name": "medium" },
@@ -247,52 +186,52 @@
247
186
  },
248
187
  {
249
188
  "name": "filled",
250
- "description": "Draws a filled autocomplete input",
189
+ "description": "Draws a filled autocomplete input.",
251
190
  "values": []
252
191
  },
253
192
  {
254
193
  "name": "pill",
255
- "description": "Draws a pill-style autocomplete input with rounded edges",
194
+ "description": "Draws a pill-style autocomplete input with rounded edges.",
256
195
  "values": []
257
196
  },
258
197
  {
259
198
  "name": "label",
260
- "description": "The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead",
199
+ "description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
261
200
  "values": []
262
201
  },
263
202
  {
264
203
  "name": "help-text",
265
- "description": "The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead",
204
+ "description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
266
205
  "values": []
267
206
  },
268
207
  {
269
208
  "name": "placeholder",
270
- "description": "The autocomplete input's placeholder text",
209
+ "description": "The autocomplete's placeholder text.",
271
210
  "values": []
272
211
  },
273
212
  {
274
213
  "name": "disabled",
275
- "description": "Disables the autocomplete",
214
+ "description": "Disables the autocomplete.",
276
215
  "values": []
277
216
  },
278
217
  {
279
218
  "name": "form",
280
- "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
219
+ "description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
281
220
  "values": []
282
221
  },
283
222
  {
284
223
  "name": "required",
285
- "description": "Makes the autocomplete a required field",
224
+ "description": "Makes the autocomplete a required field.",
286
225
  "values": []
287
226
  },
288
227
  {
289
228
  "name": "inline",
290
- "description": "Display the autocomplete in the 'inline' form control style",
229
+ "description": "Set to `true` to display the autocomplete in the inline form control style.",
291
230
  "values": []
292
231
  },
293
232
  {
294
233
  "name": "divider",
295
- "description": "Indicates that the control should display a divider",
234
+ "description": "Set to `true` to display a divider below the control.",
296
235
  "values": []
297
236
  },
298
237
  {
@@ -307,12 +246,12 @@
307
246
  },
308
247
  {
309
248
  "name": "value",
310
- "description": "Current value of the control, selected from one of the valid options available",
249
+ "description": "The option value of the selected option.",
311
250
  "values": []
312
251
  },
313
252
  {
314
253
  "name": "displayWith",
315
- "description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
254
+ "description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
316
255
  "values": [
317
256
  { "name": "((value: string) => string)" },
318
257
  { "name": "((value: string) => Promise<string>)" }
@@ -320,29 +259,78 @@
320
259
  },
321
260
  {
322
261
  "name": "debounce-delay",
323
- "description": "Debounce delay",
262
+ "description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
324
263
  "values": []
325
264
  },
326
265
  {
327
266
  "name": "clearable",
328
- "description": "Show the option to clear input",
267
+ "description": "Set to `true` to show a clear button when the autocomplete has a value.",
329
268
  "values": []
330
269
  },
331
270
  {
332
271
  "name": "clear-on-focus",
333
- "description": "Clear the value when the autocomplete is focused on",
272
+ "description": "Set to `true` to clear the value when the autocomplete gains focus.",
334
273
  "values": []
335
274
  }
336
275
  ],
337
276
  "references": []
338
277
  },
339
278
  {
340
- "name": "flow-ui-breadcrumb",
341
- "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
279
+ "name": "flow-ui-base-control",
280
+ "description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
342
281
  "attributes": [
282
+ {
283
+ "name": "size",
284
+ "description": "The input's size.",
285
+ "values": [
286
+ { "name": "small" },
287
+ { "name": "medium" },
288
+ { "name": "large" }
289
+ ]
290
+ },
291
+ {
292
+ "name": "filled",
293
+ "description": "Draws a filled input.",
294
+ "values": []
295
+ },
296
+ {
297
+ "name": "pill",
298
+ "description": "Draws a pill-style input with rounded edges.",
299
+ "values": []
300
+ },
343
301
  {
344
302
  "name": "label",
345
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
303
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
304
+ "values": []
305
+ },
306
+ {
307
+ "name": "help-text",
308
+ "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
309
+ "values": []
310
+ },
311
+ {
312
+ "name": "disabled",
313
+ "description": "Disables the input.",
314
+ "values": []
315
+ },
316
+ {
317
+ "name": "form",
318
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
319
+ "values": []
320
+ },
321
+ {
322
+ "name": "required",
323
+ "description": "Makes the input a required field.",
324
+ "values": []
325
+ },
326
+ {
327
+ "name": "inline",
328
+ "description": "Display the input in the 'inline' form control style.",
329
+ "values": []
330
+ },
331
+ {
332
+ "name": "divider",
333
+ "description": "Indicates that the control should display a divider",
346
334
  "values": []
347
335
  }
348
336
  ],
@@ -375,6 +363,18 @@
375
363
  ],
376
364
  "references": []
377
365
  },
366
+ {
367
+ "name": "flow-ui-breadcrumb",
368
+ "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
369
+ "attributes": [
370
+ {
371
+ "name": "label",
372
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
373
+ "values": []
374
+ }
375
+ ],
376
+ "references": []
377
+ },
378
378
  {
379
379
  "name": "flow-ui-busy-overlay",
380
380
  "description": "Busy overlay is used to indicate that a component which displays data is being currently updated.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The component to overlay with when busy.\n- **busy-animation** - The indeterminate custom loading animation to display when busy.\n\n### **CSS Properties:**\n - **--transition-delay** - The delay after which the overlay is shown. _(default: undefined)_\n- **--transition-duration** - The duration of the overlay's fade-in/out transition. _(default: undefined)_\n- **--progress-ring-size** - The size of the default progress ring loading animation. _(default: undefined)_\n- **--progress-ring-track-width** - The width of the default progress ring's track. _(default: undefined)_\n- **--progress-ring-track-color** - The color of the default progress ring's track. _(default: undefined)_\n- **--overlay-background-color** - The background color of the overlay. _(default: undefined)_",
@@ -418,7 +418,6 @@
418
418
  "name": "variant",
419
419
  "description": "The button's theme variant.",
420
420
  "values": [
421
- { "name": "" },
422
421
  { "name": "default" },
423
422
  { "name": "primary" },
424
423
  { "name": "secondary" },
@@ -785,7 +784,7 @@
785
784
  },
786
785
  {
787
786
  "name": "flow-ui-checkbox-group",
788
- "description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **handleChildEvents(event: _Event_)** - Stop propagation of flow-ui-input and flow-ui-change from child checkboxes\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
787
+ "description": "Checkbox groups are used to group multiple [checkboxes](./flow-ui-checkbox) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the checkbox group's value changes by UI interaction.\n- **flow-ui-input** - Emitted when the checkbox group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **handleChildEvents(event: _Event_)** - Stop propagation of flow-ui-input and flow-ui-change from child checkboxes\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - The checkbox group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.",
789
788
  "attributes": [
790
789
  {
791
790
  "name": "label",
@@ -794,7 +793,7 @@
794
793
  },
795
794
  {
796
795
  "name": "help-text",
797
- "description": "The checkbox groups's help text. If you need to display HTML, use the `help-text` slot instead.",
796
+ "description": "The checkbox group's help text. If you need to display HTML, use the `help-text` slot instead.",
798
797
  "values": []
799
798
  },
800
799
  {
@@ -802,10 +801,14 @@
802
801
  "description": "The name of the checkbox group, submitted as a name/value pair with form data.",
803
802
  "values": []
804
803
  },
805
- { "name": "value", "values": [{ "name": "string[]" }] },
804
+ {
805
+ "name": "value",
806
+ "description": "The values of the checked checkboxes. (Space-separated list when set as an attribute)",
807
+ "values": [{ "name": "string[]" }]
808
+ },
806
809
  {
807
810
  "name": "size",
808
- "description": "The radio group's size. This size will be applied to all child checkboxes.",
811
+ "description": "The checkbox group's size. This size will be applied to all child checkboxes.",
809
812
  "values": [
810
813
  { "name": "small" },
811
814
  { "name": "medium" },
@@ -819,17 +822,17 @@
819
822
  },
820
823
  {
821
824
  "name": "required",
822
- "description": "Ensures a child radio is checked before allowing the containing form to submit.",
825
+ "description": "Makes the checkbox group a required field.",
823
826
  "values": []
824
827
  },
825
828
  {
826
829
  "name": "reverse",
827
- "description": "Display the radio using a reversed style with left-aligned label.",
830
+ "description": "Set to `true` to display the child checkboxes in a reversed style with a left-aligned label.",
828
831
  "values": []
829
832
  },
830
833
  {
831
834
  "name": "divider",
832
- "description": "Indicates that the control should display a divider",
835
+ "description": "Set to `true` to display a divider below the control.",
833
836
  "values": []
834
837
  }
835
838
  ],
@@ -1211,6 +1214,270 @@
1211
1214
  ],
1212
1215
  "references": []
1213
1216
  },
1217
+ {
1218
+ "name": "flow-ui-diagram",
1219
+ "description": "Diagrams are used to display and edit nodes connected by edges.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-diagram-init** - Emitted when every node, port and label has been measured and the diagram is shown.\n- **flow-ui-diagram-selection-moved** - Emitted when selected nodes are moved, by dragging or through the API.\n- **flow-ui-diagram-selection-changed** - Emitted when the selected nodes or edges change.\n- **flow-ui-diagram-selection-removed** - Emitted when selected nodes and edges are deleted.\n- **flow-ui-diagram-group-membership-changed** - Emitted when nodes are moved into or out of a group.\n- **flow-ui-diagram-selection-rotated** - Emitted when a node is rotated.\n- **flow-ui-diagram-viewport-changed** - Emitted when the viewport is panned or zoomed.\n- **flow-ui-diagram-edge-drawn** - Emitted when the user draws an edge between two nodes. Deprecated: use `flow-ui-diagram-edge-draw-ended` instead, which is also emitted when a draw is canceled.\n- **flow-ui-diagram-edge-draw-ended** - Emitted when an edge-drawing gesture ends, whether an edge was created or not.\n- **flow-ui-diagram-edge-relink-started** - Emitted when the user starts dragging an end of an existing edge.\n- **flow-ui-diagram-edge-relink-ended** - Emitted when an edge relink gesture ends: the edge is reconnected, left dangling or reverted.\n- **flow-ui-diagram-clipboard-pasted** - Emitted when nodes and edges are pasted.\n- **flow-ui-diagram-node-resized** - Emitted when a node or group changes size.\n- **flow-ui-diagram-palette-item-dropped** - Emitted when a palette item is dropped onto the diagram.\n- **flow-ui-diagram-node-resize-started** - Emitted when the user starts resizing a node.\n- **flow-ui-diagram-node-resize-ended** - Emitted when the user finishes resizing a node.\n- **flow-ui-diagram-node-rotate-started** - Emitted when the user starts rotating a node.\n- **flow-ui-diagram-node-rotate-ended** - Emitted when the user finishes rotating a node.\n- **flow-ui-diagram-selection-gesture-ended** - Emitted when a selection gesture (click, box selection or select-all) ends.\n- **flow-ui-diagram-node-drag-started** - Emitted when a node drag crosses the drag threshold.\n- **flow-ui-diagram-node-drag-ended** - Emitted when the user finishes dragging nodes.\n- **flow-ui-diagram-context-menu** - Emitted when the user asks for a context menu: a right-click on a node, an edge or the background, or a touch long press on a node or an edge. The `detail` has the `target` and `targetType`, and the `clientPosition` and `flowPosition` to open the menu at. Calling `event.preventDefault()` will cancel the browser's context menu.\n\n### **Slots:**\n - **background** - A background, such as `flow-ui-diagram-background`, drawn beneath the content. A `flow-ui-diagram-background` child is assigned to it automatically. Without one, the diagram has the plain `--flow-ui-diagram-background-color`.\n- **overlay** - Elements drawn above the diagram, such as `flow-ui-diagram-minimap` and `flow-ui-diagram-zoom-controls` (assigned to it automatically when they are direct children). Pointer presses on overlay elements do not pan, select or box-select in the diagram.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-background-color** - The diagram's background color. _(default: undefined)_\n- **--flow-ui-diagram-text-color** - The default text color of the diagram content. _(default: undefined)_\n- **--flow-ui-diagram-accent-color** - The accent color (selection, hover, handles). _(default: undefined)_\n- **--flow-ui-diagram-node-background-color** - The background color of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color** - The border color of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color-hover** - The border color of hovered and selected default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-radius** - The corner radius of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-selected-node-box-shadow** - The box shadow of selected default nodes. _(default: undefined)_\n- **--flow-ui-diagram-group-border-color** - The border color of default groups. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-background** - The fill of the box-selection rectangle. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-border-color** - The border color of the box-selection rectangle. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-border-size** - The border width of the box-selection rectangle. _(default: undefined)_\n\n### **CSS Parts:**\n - **background** - The container of the `background` slot.\n- **overlay** - The container of the `overlay` slot, covering the diagram. It does not take pointer events itself, but its slotted elements do.\n- **canvas** - The transformed layer (pan and zoom) that holds the nodes and edges.\n- **box-selection** - The rectangle drawn during a box selection.",
1220
+ "attributes": [
1221
+ {
1222
+ "name": "tabbable",
1223
+ "description": "Set to `false` to take the diagram out of the page's Tab order (`tabindex=\"-1\"` instead of `tabindex=\"0\"`). It\ncan still be clicked and focused from code, and keyboard shortcuts still work while it has focus. Focusable\ncontent inside node and edge templates keeps its own Tab stops.",
1224
+ "values": []
1225
+ },
1226
+ {
1227
+ "name": "selection-mode",
1228
+ "description": "The selection mode: how pressing nodes and edges changes the selection. In `default` mode, a press selects the\npressed node or edge alone, unless the multi-selection modifier is held. In `toggle` mode, each tap adds the\ntapped node or edge to the selection or removes it, which allows multi-selection on touch screens. Note that\nswitching modes keeps the current selection.",
1229
+ "values": [{ "name": "DiagramSelectionMode" }]
1230
+ }
1231
+ ],
1232
+ "references": []
1233
+ },
1234
+ {
1235
+ "name": "flow-ui-diagram-background",
1236
+ "description": "Diagram backgrounds are used to draw a dotted, grid or custom backdrop that follows pan and zoom.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Custom background content, in place of the built-in pattern.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-background-dot-color** - The color of the dots. _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-color** - The color of minor grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-color** - The color of major grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-width** - The width of minor grid lines, in pixels (a number). _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-width** - The width of major grid lines, in pixels (a number). _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-opacity** - The opacity of minor grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-opacity** - The opacity of major grid lines. _(default: undefined)_\n\n### **CSS Parts:**\n - **pattern** - The SVG that draws the built-in dots or grid.\n- **custom** - The container of slotted custom content.",
1237
+ "attributes": [
1238
+ {
1239
+ "name": "type",
1240
+ "description": "The built-in pattern. Note that it is ignored when the element has custom content.",
1241
+ "values": [{ "name": "dots" }, { "name": "grid" }]
1242
+ }
1243
+ ],
1244
+ "references": []
1245
+ },
1246
+ {
1247
+ "name": "flow-ui-diagram-base-edge",
1248
+ "description": "Base edges are used in edge templates to draw the path and arrowheads of a diagram edge.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Edge labels, such as `flow-ui-diagram-edge-label`.\n\n### **CSS Properties:**\n - **--edge-stroke** - The stroke color, when the `stroke` property is not set. Defaults to `--flow-ui-diagram-edge-stroke`. _(default: undefined)_\n- **--edge-stroke-width** - The stroke width, when `stroke-width` is not set. Defaults to `2px`. _(default: undefined)_\n- **--edge-stroke-dasharray** - The stroke dash pattern, when `stroke-dasharray` is not set. Defaults to `none`. _(default: undefined)_\n- **--edge-stroke-opacity** - The stroke opacity, when `stroke-opacity` is not set. Defaults to `1`. _(default: undefined)_\n- **--edge-stroke-transition** - A transition for the stroke, for example on hover. Defaults to `none`. _(default: undefined)_\n- **--edge-relink-handle-size** - The outer diameter of the relink handles. Defaults to `--flow-ui-diagram-relink-handle-size`; the other `--edge-relink-handle-*` properties default to the matching `--flow-ui-diagram-relink-handle-*` ones. _(default: undefined)_\n- **--edge-relink-handle-stroke-width** - The width of the relink handles' ring. _(default: undefined)_\n- **--edge-relink-handle-fill** - The relink handles' fill color. _(default: undefined)_\n- **--edge-relink-handle-fill-hover** - The fill color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-fill-drag** - The fill color of a dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-stroke** - The relink handles' ring color. _(default: undefined)_\n- **--edge-relink-handle-stroke-hover** - The ring color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-stroke-drag** - The ring color of a dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-size** - The width of the halo around a hovered or dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-color-hover** - The halo color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-color-drag** - The halo color of a dragged relink handle. _(default: undefined)_\n\n### **CSS Parts:**\n - **svg** - The SVG element (positioned at the diagram origin, with visible overflow).\n- **path** - The visible path.\n- **hit-area** - The invisible, wider path that catches pointer events.",
1249
+ "attributes": [
1250
+ {
1251
+ "name": "routing",
1252
+ "description": "The name of the edge routing to use, which is written to the edge in the model. If not set, the edge's `routing`\nis used.",
1253
+ "values": []
1254
+ },
1255
+ {
1256
+ "name": "stroke",
1257
+ "description": "The stroke color. If not set, `--edge-stroke` is used.",
1258
+ "values": []
1259
+ },
1260
+ {
1261
+ "name": "source-arrowhead",
1262
+ "description": "The ID of the marker at the source end. Note that the edge's `sourceArrowhead` takes precedence.",
1263
+ "values": []
1264
+ },
1265
+ {
1266
+ "name": "target-arrowhead",
1267
+ "description": "The ID of the marker at the target end. Note that the edge's `targetArrowhead` takes precedence.",
1268
+ "values": []
1269
+ },
1270
+ {
1271
+ "name": "stroke-opacity",
1272
+ "description": "The stroke opacity, from 0 to 1. If not set, `--edge-stroke-opacity` is used.",
1273
+ "values": []
1274
+ },
1275
+ {
1276
+ "name": "stroke-width",
1277
+ "description": "The stroke width in pixels. If not set, `--edge-stroke-width` is used.",
1278
+ "values": []
1279
+ },
1280
+ {
1281
+ "name": "stroke-dasharray",
1282
+ "description": "The stroke dash pattern (e.g. `5 5` for a dashed line). If not set, `--edge-stroke-dasharray` is used.",
1283
+ "values": []
1284
+ }
1285
+ ],
1286
+ "references": []
1287
+ },
1288
+ {
1289
+ "name": "flow-ui-diagram-base-node",
1290
+ "description": "Base nodes are used in node templates to draw the default node look, with adornments and ports.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The node's content.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-node-background-color** - The node's background color. _(default: undefined)_\n- **--flow-ui-diagram-node-color** - The node's text color. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color** - The node's border color. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color-hover** - The node's border color on hover and while selected. _(default: undefined)_\n- **--flow-ui-diagram-node-border-radius** - The node's corner radius. _(default: undefined)_\n- **--flow-ui-diagram-node-border-size** - The node's border width. _(default: undefined)_\n- **--flow-ui-diagram-node-padding** - The padding around the content. _(default: undefined)_\n- **--flow-ui-diagram-selected-node-box-shadow** - The box shadow of the selected node. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The node box around the slotted content.",
1291
+ "attributes": [
1292
+ {
1293
+ "name": "remove-default-ports",
1294
+ "description": "Set to `true` to remove the two default ports. If not set, the diagram's `defaultNode.removePorts` setting is\nused (by default the ports are shown). Set to `false` to show them whatever the diagram's setting.",
1295
+ "values": []
1296
+ }
1297
+ ],
1298
+ "references": []
1299
+ },
1300
+ {
1301
+ "name": "flow-ui-diagram-edge-label",
1302
+ "description": "Edge labels are used in edge templates to show text or controls at a position along a diagram edge.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The label's content: text, icons, buttons.\n\n### **CSS Properties:**\n - **--edge-label-padding** - The default label's padding. Defaults to `4px 8px`. _(default: undefined)_\n- **--edge-label-border-radius** - The default label's corner radius. Defaults to `4px`. _(default: undefined)_\n- **--edge-label-font-size** - The default label's font size. Defaults to `12px`. _(default: undefined)_\n- **--edge-label-background-color** - The default label's background color. Defaults to `--flow-ui-diagram-edge-label-background-color`. _(default: undefined)_\n- **--edge-label-text-color** - The default label's text color. Defaults to `--flow-ui-diagram-edge-label-color`. _(default: undefined)_\n- **--edge-label-border-width** - The default label's border width. Defaults to `1px`. _(default: undefined)_\n- **--edge-label-border-color** - The default label's border color. Defaults to `--flow-ui-diagram-edge-label-border-color`. _(default: undefined)_\n- **--edge-label-border-color-hover** - The default label's border color while the edge is hovered. Defaults to `--edge-label-border-color`, then `--flow-ui-diagram-edge-stroke-hover`. _(default: undefined)_\n- **--edge-label-border-color-selected** - The default label's border color while the edge is selected. Defaults to `--edge-label-border-color`, then `--flow-ui-diagram-edge-stroke-selected`. _(default: undefined)_\n- **--edge-label-border-transition** - The transition of the default label's border. Defaults to `border-color 0.1s ease-in-out`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The element around the slotted content. With `variant=\"default\"`, it draws the label chip.",
1303
+ "attributes": [
1304
+ {
1305
+ "name": "id",
1306
+ "description": "The label's ID, unique within its edge. It identifies the label in the edge's `measuredLabels`. Note that the\nproperty is not reflected, so many edges can use the same label ID without duplicate DOM IDs.",
1307
+ "values": []
1308
+ },
1309
+ {
1310
+ "name": "position-on-edge",
1311
+ "description": "The label's position along the edge: a number from 0 (the source end) to 1 (the target end), or an absolute\ndistance (e.g. `30px` from the source or `-20px` from the target).",
1312
+ "values": [{ "name": "DiagramEdgeLabelPosition" }]
1313
+ },
1314
+ {
1315
+ "name": "variant",
1316
+ "description": "The label's look: `default` for the built-in label chip. If not set, the slotted content is shown as it is.",
1317
+ "values": [{ "name": "default" }]
1318
+ },
1319
+ {
1320
+ "name": "hidden",
1321
+ "description": "Set to `true` to hide the label. A hidden label stays registered but does not hold up initialization. It is\nmeasured again when shown.",
1322
+ "values": []
1323
+ }
1324
+ ],
1325
+ "references": []
1326
+ },
1327
+ {
1328
+ "name": "flow-ui-diagram-marker",
1329
+ "description": "Diagram markers are used to define SVG arrowheads for diagram edges.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - An `<svg>` with the `<marker>` definitions.",
1330
+ "attributes": [],
1331
+ "references": []
1332
+ },
1333
+ {
1334
+ "name": "flow-ui-diagram-minimap",
1335
+ "description": "Minimaps provide a navigable overview of a diagram, with zoom controls.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--flow-ui-diagram-minimap-background** - The panel background. _(default: undefined)_\n- **--flow-ui-diagram-minimap-border-color** - The panel border color. _(default: undefined)_\n- **--flow-ui-diagram-minimap-border-radius** - The panel corner radius. _(default: undefined)_\n- **--flow-ui-diagram-minimap-padding** - The panel padding. _(default: undefined)_\n- **--flow-ui-diagram-minimap-margin** - The distance from the corner of the containing block. _(default: undefined)_\n- **--flow-ui-diagram-minimap-shadow-color** - The color of the panel shadow. _(default: undefined)_\n- **--flow-ui-diagram-minimap-node-color** - The fill of the default node shapes. _(default: undefined)_\n- **--flow-ui-diagram-minimap-node-opacity** - The opacity of the default node shapes. _(default: undefined)_\n- **--flow-ui-diagram-minimap-viewport-stroke-color** - The stroke of the visible-area rectangle. _(default: undefined)_\n- **--flow-ui-diagram-minimap-viewport-stroke-width** - The stroke width of the visible-area rectangle (a number). _(default: undefined)_\n- **--flow-ui-diagram-minimap-diagram-bounds-color** - The fill of the diagram extent (virtualized mode). _(default: undefined)_\n- **--flow-ui-diagram-minimap-diagram-bounds-opacity** - The opacity of the diagram extent (virtualized mode). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The panel that holds the map and the zoom controls.\n- **svg** - The map.\n- **node** - Each default node shape. A node's `nodeStyle.cssClass` names are added as part names too.\n- **viewport** - The rectangle of the visible area.\n- **diagram-bounds** - The diagram's extent, drawn in virtualized mode.\n- **zoom-controls** - The zoom controls.",
1336
+ "attributes": [
1337
+ {
1338
+ "name": "diagram",
1339
+ "description": "The diagram to show: the `id` of a `flow-ui-diagram` in the same document or shadow root (attribute), or the\ndiagram element (property). If not set, the minimap uses the diagram it is inside.",
1340
+ "values": [{ "name": "DiagramReference" }]
1341
+ },
1342
+ {
1343
+ "name": "position",
1344
+ "description": "The corner of the containing block to place the minimap in.",
1345
+ "values": [{ "name": "DiagramPanelPosition" }]
1346
+ },
1347
+ {
1348
+ "name": "width",
1349
+ "description": "The width of the map, in pixels.",
1350
+ "values": []
1351
+ },
1352
+ {
1353
+ "name": "height",
1354
+ "description": "The height of the map, in pixels.",
1355
+ "values": []
1356
+ },
1357
+ {
1358
+ "name": "show-zoom-controls",
1359
+ "description": "Set to `false` to hide the zoom controls below the map.",
1360
+ "values": []
1361
+ },
1362
+ {
1363
+ "name": "defer-node-updates",
1364
+ "description": "Set to `true` to update the nodes on the minimap only when a drag, resize or rotation ends, not while it is in\nprogress. The visible-area rectangle always updates. We recommend it for large diagrams.",
1365
+ "values": []
1366
+ }
1367
+ ],
1368
+ "references": []
1369
+ },
1370
+ {
1371
+ "name": "flow-ui-diagram-palette-item",
1372
+ "description": "Palette items allow users to add nodes to a diagram by dragging them from a palette.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The item's content, and optionally its `flow-ui-diagram-palette-item-preview`.\n\n### **CSS Parts:**\n - **base** - The draggable container around the content.",
1373
+ "attributes": [
1374
+ {
1375
+ "name": "item",
1376
+ "description": "The node or group that dropping the item creates: its `type`, `data`, `size`, `autoSize`, `resizable`,\n`rotatable`, `angle`, `zOrder` and, for a group, `isGroup`. The node gets a new ID and the drop point as its\nposition. Set it as a property, or as JSON in the attribute.",
1377
+ "values": [{ "name": "DiagramPaletteItem" }]
1378
+ },
1379
+ {
1380
+ "name": "diagram",
1381
+ "description": "The diagram whose node templates and zoom level the item's preview uses: the `id` of a `flow-ui-diagram` in the\nsame document or shadow root (attribute), or the diagram element (property). If not set, the item uses the\ndiagram it is inside, if any.",
1382
+ "values": [{ "name": "DiagramReference" }]
1383
+ }
1384
+ ],
1385
+ "references": []
1386
+ },
1387
+ {
1388
+ "name": "flow-ui-diagram-palette-item-preview",
1389
+ "description": "Palette item previews are used with palette items to provide the drag image.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Custom preview content. Without it, the preview renders the item's node through the node templates.\n\n### **CSS Parts:**\n - **base** - The off-screen container of the preview, which becomes the drag image.",
1390
+ "attributes": [],
1391
+ "references": []
1392
+ },
1393
+ {
1394
+ "name": "flow-ui-diagram-port",
1395
+ "description": "Ports are used in node templates to provide connection points for edges.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Optional custom content for the port, in place of the default round shape.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-port-size** - The width and height of the default port (inside its border). _(default: undefined)_\n- **--flow-ui-diagram-port-background-color** - The port's background color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-color** - The port's border color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-size** - The port's border width. _(default: undefined)_\n- **--flow-ui-diagram-port-border-radius** - The default port's corner radius. _(default: undefined)_\n- **--flow-ui-diagram-port-background-color-hover** - The highlighted port's background color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-color-hover** - The color of the highlighted port's outer ring. _(default: undefined)_\n- **--flow-ui-diagram-port-border-size-hover** - The width of the highlighted port's outer ring. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The element that draws the port's background and border, around the slotted content.",
1396
+ "attributes": [
1397
+ {
1398
+ "name": "id",
1399
+ "description": "The port's ID, unique within its node. Edges reference it as `sourcePort` / `targetPort`.",
1400
+ "values": []
1401
+ },
1402
+ {
1403
+ "name": "type",
1404
+ "description": "The port's role: edges can start at a `source` port, end at a `target` port, or both.",
1405
+ "values": [{ "name": "DiagramPort['type']" }]
1406
+ },
1407
+ {
1408
+ "name": "side",
1409
+ "description": "The side of the node that the port is on, which is also the direction in which edges leave or enter it.",
1410
+ "values": [{ "name": "DiagramPortSide" }]
1411
+ },
1412
+ {
1413
+ "name": "origin-point",
1414
+ "description": "The point of the port that lies on the node's side.",
1415
+ "values": [{ "name": "DiagramOriginPoint" }]
1416
+ },
1417
+ {
1418
+ "name": "hidden",
1419
+ "description": "Set to `true` to hide the port. A hidden port stays registered with its last measured position, so its edges\nstay put, but it does not hold up initialization and cannot be linked to. It is measured again when shown.",
1420
+ "values": []
1421
+ }
1422
+ ],
1423
+ "references": []
1424
+ },
1425
+ {
1426
+ "name": "flow-ui-diagram-resize-adornment",
1427
+ "description": "Resize adornments allow users to resize a selected diagram node.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The node's content.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-resize-line-border-width** - The width of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-line-border-style** - The style of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-line-border-color** - The color of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-size** - The width and height of a corner handle. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-background-color** - A corner handle's background color. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-size** - A corner handle's border width. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-style** - A corner handle's border style. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-color** - A corner handle's border color. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-radius** - A corner handle's corner radius. _(default: undefined)_\n\n### **CSS Parts:**\n - **line** - A resize line, one for each side. Inert lines also have the `line-inactive` part.\n- **line-inactive** - A resize line for a side missing from `active-sides`.\n- **handle** - A corner resize handle.",
1428
+ "attributes": [
1429
+ {
1430
+ "name": "default-resizable",
1431
+ "description": "Set to `false` to stop users from resizing nodes that use this adornment and do not set their own `resizable`.\nIf not set, the diagram's `resize.defaultResizable` is used.",
1432
+ "values": []
1433
+ },
1434
+ {
1435
+ "name": "active-sides",
1436
+ "description": "The sides of the node that can be dragged to resize it, separated by spaces (`active-sides=\"right bottom\"`).\nLines for other sides still render, as the selection frame, but are inert. An empty value keeps the frame\nwithout any interactive resize.",
1437
+ "values": [{ "name": "readonly DiagramSide[]" }]
1438
+ }
1439
+ ],
1440
+ "references": []
1441
+ },
1442
+ {
1443
+ "name": "flow-ui-diagram-rotate-adornment",
1444
+ "description": "Rotate adornments allow users to rotate a selected diagram node.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Optional custom content for the handle, in place of the built-in icon.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-rotate-handle-size** - The width and height of the handle. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color** - The built-in handle's background color. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color-hover** - The built-in handle's background color on hover. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color-active** - The built-in handle's background color while rotating. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-top** - The handle's `top` offset from the node's top edge. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-right** - The handle's `right` offset from the node's right edge. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-bottom** - The handle's `bottom` offset (unset by default). _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-left** - The handle's `left` offset (unset by default). _(default: undefined)_\n\n### **CSS Parts:**\n - **handle** - The rotation handle. It has the `data-rotating` attribute while pressed.",
1445
+ "attributes": [
1446
+ {
1447
+ "name": "default-rotatable",
1448
+ "description": "Set to `false` to stop users from rotating nodes that use this adornment and do not set their own `rotatable`.\nIf not set, the diagram's `nodeRotation.defaultRotatable` is used.",
1449
+ "values": []
1450
+ }
1451
+ ],
1452
+ "references": []
1453
+ },
1454
+ {
1455
+ "name": "flow-ui-diagram-zoom-controls",
1456
+ "description": "Zoom controls allow users to zoom a diagram in and out, and to fit its content into the view.\n\n\n---\n\n\n\n\n### **Methods:**\n - **zoomIn(): _void_** - Zooms in by `step`, around the center of the view.\n- **zoomOut(): _void_** - Zooms out by `step`, around the center of the view.\n- **fit(): _void_** - Fits the diagram content into the view.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-nav-button-color** - The color of the buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-size** - The size of the button icons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-padding** - The padding around the button icons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-border-radius** - The corner radius of the buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-background-color-hover** - The background color of hovered buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-color-active** - The color of pressed buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-color-disabled** - The color of disabled buttons. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-font-size** - The font size of the zoom level. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-font-weight** - The font weight of the zoom level. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-color** - The color of the zoom level. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The container of the buttons and the label.\n- **zoom-out** - The zoom-out button (`flow-ui-icon-button`).\n- **label** - The zoom level label.\n- **zoom-in** - The zoom-in button (`flow-ui-icon-button`).\n- **fit** - The fit-to-view button (`flow-ui-icon-button`).",
1457
+ "attributes": [
1458
+ {
1459
+ "name": "diagram",
1460
+ "description": "The diagram to control: the `id` of a `flow-ui-diagram` in the same document or shadow root (attribute), or\nthe diagram element (property). If not set, the controls use the diagram they are inside.",
1461
+ "values": [{ "name": "DiagramReference" }]
1462
+ },
1463
+ {
1464
+ "name": "step",
1465
+ "description": "The change in zoom scale for one click on zoom in or zoom out (`0.1` is 10 percentage points).",
1466
+ "values": []
1467
+ },
1468
+ {
1469
+ "name": "position",
1470
+ "description": "The corner of the containing block to place the controls in, on a panel. If not set, the controls are laid out\ninline, without a panel (as inside the minimap).",
1471
+ "values": [{ "name": "DiagramPanelPosition" }]
1472
+ },
1473
+ {
1474
+ "name": "show-fit",
1475
+ "description": "Set to `false` to hide the fit-to-view button.",
1476
+ "values": []
1477
+ }
1478
+ ],
1479
+ "references": []
1480
+ },
1214
1481
  {
1215
1482
  "name": "flow-ui-dialog",
1216
1483
  "description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the dialog opens.\n- **flow-ui-after-show** - Emitted after the dialog opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the dialog closes.\n- **flow-ui-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **flow-ui-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **flow-ui-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n- **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **title** - The dialog's title text. Alternatively, you can use the `title` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **title** - The dialog's title text.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.\n- **tab-group__nav** - The tab group's navigation container where tabs are slotted in.\n- **tab-group__tabs** - The container that wraps the tabs.\n- **tab-group__active-tab-indicator** - The line that highlights the currently selected tab.\n- **tab-group__body** - The tab group's body where tab panels are slotted in.",
@@ -1374,7 +1641,7 @@
1374
1641
  },
1375
1642
  {
1376
1643
  "name": "flow-ui-form-group",
1377
- "description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
1644
+ "description": "Form groups are used to group related form controls under a shared label and help text.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where form controls are placed.\n- **label** - The form group's label. Alternatively, you can use the `label` attribute.\n- **help-text** - The form group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The component's base wrapper.\n- **label** - The label's wrapper.\n- **help-text** - The help text's wrapper.\n- **control** - The container that wraps the form controls.",
1378
1645
  "attributes": [
1379
1646
  {
1380
1647
  "name": "label",
@@ -1392,12 +1659,12 @@
1392
1659
  },
1393
1660
  {
1394
1661
  "name": "help-text",
1395
- "description": "The form groups's help text. If you need to display HTML, use the `help-text` slot instead.",
1662
+ "description": "The form group's help text. If you need to display HTML, use the `help-text` slot instead.",
1396
1663
  "values": []
1397
1664
  },
1398
1665
  {
1399
1666
  "name": "borders",
1400
- "description": "Set to `true` to display form group borders.",
1667
+ "description": "Set to `true` to draw the form controls in a bordered panel with a divider between each control.",
1401
1668
  "values": []
1402
1669
  },
1403
1670
  {
@@ -1575,7 +1842,6 @@
1575
1842
  "name": "type",
1576
1843
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
1577
1844
  "values": [
1578
- { "name": "" },
1579
1845
  { "name": "date" },
1580
1846
  { "name": "datetime-local" },
1581
1847
  { "name": "email" },
@@ -1721,8 +1987,8 @@
1721
1987
  },
1722
1988
  {
1723
1989
  "name": "autocorrect",
1724
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
1725
- "values": [{ "name": "off" }, { "name": "on" }]
1990
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
1991
+ "values": []
1726
1992
  },
1727
1993
  {
1728
1994
  "name": "autocomplete",
@@ -1861,7 +2127,7 @@
1861
2127
  },
1862
2128
  {
1863
2129
  "name": "flow-ui-map",
1864
- "description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-map-load** - Dispatched when the map is first initialized and has completed loading. The Flo.w Core map instance can be retrieved from the event `detail` property.\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
2130
+ "description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-map-load** - Dispatched when the map is first initialized and has completed loading. The Flo.w Core map instance can be retrieved from the event `detail` property.\n\n### **CSS Properties:**\n - **--flow-ui-map-inset** - The inset of the `fixed` map canvas from the edges of the viewport (as for the CSS `inset` property). Defaults to `0`. Note that the canvas is clipped to the map element, so an inset is no longer needed to keep the map out of the borders of an application shell. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
1865
2131
  "attributes": [
1866
2132
  {
1867
2133
  "name": "map-id",
@@ -1900,7 +2166,7 @@
1900
2166
  },
1901
2167
  {
1902
2168
  "name": "fixed",
1903
- "description": "Set to `true` to apply `fixed` positioning to the map canvas.\n\nThe map canvas will break out of its `flow-map` container to fill the entire viewport.\nThis allows side bars to be opened and closed smoothly without having to re-render the map.\n\nNote that the `flow-map` container will still be positioned as normal, providing a visible\nwindow onto the full map.\n\nUse the `visibleBounds` property to retrieve the visible bounds of the map in map coordinates.",
2169
+ "description": "Set to `true` to keep the map canvas the size of the viewport, so that the map is not resized or re-rendered when\nthe map element is.\n\nThe canvas fills the viewport and is clipped to the map element, which shows the part of the map that lies\nwithin it. Side bars next to the map can then be opened and closed smoothly: the map stays still on screen while\nthe map element grows and shrinks. Nothing outside the map element shows the map or passes pointer events to it,\nso the surrounding panes need no `z-index` or opaque background, and popups hoisted out of them are shown above\nthe map.\n\nUse the `getVisibleBounds()` method of the `FlowCoreMap` to get the bounds of the part of the map that is\nvisible within the map element. `getBounds()` returns the bounds of the whole canvas.\n\nNote that the canvas is still resized with the viewport, and that MapLibre's own controls, such as the\nattribution, are placed at the corners of the canvas, so they are hidden unless the map element reaches that\ncorner of the viewport.",
1904
2170
  "values": []
1905
2171
  },
1906
2172
  {
@@ -1998,7 +2264,7 @@
1998
2264
  },
1999
2265
  {
2000
2266
  "name": "flow-ui-option",
2001
- "description": "Options define the selectable items within various form controls such as [select](/components/select).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, a `<flow-ui-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
2267
+ "description": "Options define the selectable items within various form controls such as [select](./flow-ui-select).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, a `<flow-ui-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
2002
2268
  "attributes": [
2003
2269
  {
2004
2270
  "name": "value",
@@ -2024,11 +2290,11 @@
2024
2290
  },
2025
2291
  {
2026
2292
  "name": "flow-ui-panel",
2027
- "description": "Panels are use with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent: _boolean_)** - Open the panel\n- **collapse(emitEvent: _boolean_)** - Close the panel\n\n### **CSS Properties:**\n - **--padding** - Padding to add to the panel when the `padding` attribute is set. Defaults to `--flow-ui-spacing-small`. _(default: undefined)_",
2293
+ "description": "Panels are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent: _boolean_)** - Open the panel\n- **collapse(emitEvent: _boolean_)** - Close the panel\n\n### **CSS Properties:**\n - **--padding** - Padding to add to the panel when the `padding` attribute is set. Defaults to `--flow-ui-spacing-small`. _(default: undefined)_",
2028
2294
  "attributes": [
2029
2295
  {
2030
2296
  "name": "closed",
2031
- "description": "Indicates whether the panel is open or closed.",
2297
+ "description": "Indicates whether the panel is open or closed. A closed panel hides its body and shows only its header. A panel\nheader in the `header` slot follows this state. In a [split-view pane](./flow-ui-split-view-pane), set `closed` on\nthe pane instead: the pane passes its state to a panel that is its direct child (or a child of an element that\nwraps it, such as an Angular component's host element), overriding the panel's own.",
2032
2298
  "values": []
2033
2299
  },
2034
2300
  {
@@ -2373,7 +2639,7 @@
2373
2639
  },
2374
2640
  {
2375
2641
  "name": "flow-ui-radio-group",
2376
- "description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
2642
+ "description": "Radio groups are used to group multiple [radios](./flow-ui-radio) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - The radio group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.",
2377
2643
  "attributes": [
2378
2644
  {
2379
2645
  "name": "label",
@@ -2618,21 +2884,21 @@
2618
2884
  },
2619
2885
  {
2620
2886
  "name": "flow-ui-split-view",
2621
- "description": "Split-views contain two or more split-view panes to create resizable areas.\n\n\n---\n\n\n",
2887
+ "description": "Split-views are used to arrange two or more split-view panes in resizable areas.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--flow-ui-split-view-divider-color** - The color of the dividers' line. Hovered, focused and dragged dividers are highlighted with `--flow-ui-divider-color-active`. _(default: undefined)_\n\n### **CSS Parts:**\n - **divider** - Each divider between two visible panes. The divider's line is its background.",
2622
2888
  "attributes": [
2623
2889
  {
2624
2890
  "name": "no-drag-close",
2625
- "description": "Disable drag-to-close behaviour.",
2891
+ "description": "Set to `true` to stop dragging a divider from closing panes.",
2626
2892
  "values": []
2627
2893
  },
2628
2894
  {
2629
- "name": "positions",
2630
- "description": "The pane positions in CSS size units",
2631
- "values": [{ "name": "string[]" }]
2895
+ "name": "vertical",
2896
+ "description": "Set to `true` for vertically-arranged panes. By default, panes are laid out horizontally.",
2897
+ "values": []
2632
2898
  },
2633
2899
  {
2634
- "name": "vertical",
2635
- "description": "Set to `true` for vertically-arranged panes. By default, panes are layed out horizontally.",
2900
+ "name": "dragging",
2901
+ "description": "Indicates whether the user is dragging a divider. The split view sets this attribute while a drag is in progress,\nfor example to style the cursor with `flow-ui-split-view[dragging] *`. Note that setting it has no effect on the\ndrag.",
2636
2902
  "values": []
2637
2903
  }
2638
2904
  ],
@@ -2640,16 +2906,16 @@
2640
2906
  },
2641
2907
  {
2642
2908
  "name": "flow-ui-split-view-divider",
2643
- "description": "Split-view dividers are used internally by split-views to create resizable areas.\n\n\n---\n\n\n",
2909
+ "description": "Split-view dividers are used internally by split-views to resize the panes on either side of them.\n\n\n---\n\n\n",
2644
2910
  "attributes": [
2645
2911
  {
2646
2912
  "name": "disabled",
2647
- "description": "Disables user interaction with the split pane divider.",
2913
+ "description": "Disables the divider. The split view sets it when the divider cannot move a pane or close one.",
2648
2914
  "values": []
2649
2915
  },
2650
2916
  {
2651
2917
  "name": "vertical",
2652
- "description": "Draws the divider for vertically-arranged panes",
2918
+ "description": "Set to `true` to draw the divider for vertically-arranged panes. The split view sets it.",
2653
2919
  "values": []
2654
2920
  }
2655
2921
  ],
@@ -2657,7 +2923,7 @@
2657
2923
  },
2658
2924
  {
2659
2925
  "name": "flow-ui-split-view-pane",
2660
- "description": "Split-view panes are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** - Open the split pane.\n- **collapse(emitEvent)** - Close the split pane.",
2926
+ "description": "Split-view panes are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** - Opens the pane.\n- **collapse(emitEvent)** - Closes the pane.",
2661
2927
  "attributes": [
2662
2928
  {
2663
2929
  "name": "vertical",
@@ -2666,37 +2932,37 @@
2666
2932
  },
2667
2933
  {
2668
2934
  "name": "size",
2669
- "description": "Set the initial size of the split pane in CSS px or % units",
2935
+ "description": "The pane's preferred size, in CSS px or % units, `auto` or `content`. If not set, the pane is `auto`: it shares the\nspace the other panes leave with the other `auto` panes. Note that dragging a divider changes the pane's preferred\nsize but not this attribute; changing the attribute resets the preferred size to the new value.\n\nWith `content`, the preferred size is the natural size of the pane's content, within `min-size` and `max-size`,\nand follows the content as it changes, for example a card that appears or a header that wraps. The pane never\ngrows past its content to fill spare space, even when it is the only open pane. Dragging the divider can make it\nsmaller than its content, which then scrolls, but never larger; the dragged size lasts until this attribute\nchanges, and the pane still shrinks if the content becomes smaller. A [panel](./flow-ui-panel) or\n[tab group](./flow-ui-tab-group) child fills the pane, so a scrollable panel scrolls its body, and a tab group its\ntab panels. A pane whose content is a split view has no natural size: there, `content` is treated as `auto` (the\npanes inside the nested split view can be content-sized).",
2670
2936
  "values": []
2671
2937
  },
2672
2938
  {
2673
2939
  "name": "min-size",
2674
- "description": "Set the minimum size of the split pane in CSS px or % units",
2940
+ "description": "The pane's minimum size, in CSS px or % units.",
2675
2941
  "values": []
2676
2942
  },
2677
2943
  {
2678
2944
  "name": "max-size",
2679
- "description": "Set the maximum size of the split pane in CSS px or % units",
2945
+ "description": "The pane's maximum size, in CSS px or % units.",
2680
2946
  "values": []
2681
2947
  },
2682
2948
  {
2683
2949
  "name": "closed-size",
2684
- "description": "Set the closed size split pane in CSS px or % units",
2950
+ "description": "The pane's size when closed, in CSS px or % units, or `content`. If not set (or `0px`), a closed pane takes no\nspace. Note that only panes with a non-zero or `content` closed size can be closed by dragging a divider, or by\nthe split view when the panes do not fit.\n\nWith `content`, a closed pane takes the natural size of what its content still renders while closed. A\n[panel](./flow-ui-panel) child hides its body when closed, so the pane closes to the panel's header at any font\nsize, however the header wraps. A [tab group](./flow-ui-tab-group) child hides its header, body and footer, so the\npane closes to the tab bar: its width for tabs at the `start` or `end` in a horizontal split view, or its height\nfor tabs at the `top` or `bottom` in a vertical one. A panel or tab group inside an element that wraps it, such as\nan Angular component's host element, does the same. Other content can hide parts of itself with CSS on the pane's\n`closed` attribute, for example `flow-ui-split-view-pane[closed] .details { display: none }`. In a horizontal\nsplit view, the closed size is the natural width, for a panel the width of its header on one line. A pane whose\ncontent is a split view has no natural size: there, `content` is treated as `0px`.",
2685
2951
  "values": []
2686
2952
  },
2687
2953
  {
2688
2954
  "name": "closed",
2689
- "description": "Indicates if the split-view pane is open or closed.",
2955
+ "description": "Indicates whether the split-view pane is open or closed. Toggle this attribute to expand or collapse the pane,\nor call the `expand()` and `collapse()` methods. Note that the split view also closes panes that have a\n`closed-size` when they do not fit, and opens them again when there is space, without emitting events. A\n[panel](./flow-ui-panel) or [tab group](./flow-ui-tab-group) that is a direct child of the pane, or a child of an\nelement that wraps it, follows this state, whatever changes it.",
2690
2956
  "values": []
2691
2957
  },
2692
2958
  {
2693
2959
  "name": "divider",
2694
- "description": "Indicates if the split-view pane has a divider.",
2960
+ "description": "Has no effect. The split view draws a divider between each pair of visible panes.",
2695
2961
  "values": []
2696
2962
  },
2697
2963
  {
2698
2964
  "name": "hidden",
2699
- "description": "Indicates if the split-view pane is hidden.",
2965
+ "description": "Set to `true` to hide the pane. The other panes take its space, and give it back when it is shown again. Note\nthat a pane without an `id` gets its space back from wherever there is room, not necessarily from where it went.",
2700
2966
  "values": []
2701
2967
  }
2702
2968
  ],
@@ -2704,7 +2970,7 @@
2704
2970
  },
2705
2971
  {
2706
2972
  "name": "flow-ui-split-view-toggle-button",
2707
- "description": "Use a split panel toggle button to control a parent panel's open/closed state\n\n\n---\n\n\n",
2973
+ "description": "Split-view toggle buttons are used to open and close the split-view pane that contains them.\n\n\n---\n\n\n\n\n### **Methods:**\n - **toggle(emitEvents)** - Toggles the button's state. Unless `emitEvents` is `false`, it emits `flow-ui-collapse` or `flow-ui-expand`,\nwhich closes or opens the parent split-view pane.",
2708
2974
  "attributes": [
2709
2975
  {
2710
2976
  "name": "name",
@@ -2718,7 +2984,7 @@
2718
2984
  },
2719
2985
  {
2720
2986
  "name": "closed",
2721
- "description": "Set to control the open/closed state of the parent split pane.",
2987
+ "description": "Indicates whether the parent split-view pane is closed. The button follows the pane's state; clicking it opens or\ncloses the pane.",
2722
2988
  "values": []
2723
2989
  }
2724
2990
  ],
@@ -2815,7 +3081,7 @@
2815
3081
  },
2816
3082
  {
2817
3083
  "name": "flow-ui-tab",
2818
- "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
3084
+ "description": "Tabs are used inside [tab groups](./flow-ui-tab-group) to represent and activate [tab panels](./flow-ui-tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **icon** - An icon shown with the label, such as a `<flow-ui-icon>`. With `icon-only`, the tab shows only the icon and the label is shown as a tooltip.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container of the `icon` slot.\n- **label** - The container of the label.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
2819
3085
  "attributes": [
2820
3086
  {
2821
3087
  "name": "panel",
@@ -2877,7 +3143,7 @@
2877
3143
  },
2878
3144
  {
2879
3145
  "name": "flow-ui-tab-group",
2880
- "description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<flow-ui-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<flow-ui-tab>` elements.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<flow-ui-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
3146
+ "description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<flow-ui-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<flow-ui-tab>` elements.\n- **nav-accessories-start** - Content before the tabs in the tab bar, such as a split-view toggle button. Shown when the tab group is closed.\n- **nav-accessories-end** - Content after the tabs in the tab bar, such as icon buttons. Shown when the tab group is closed.\n- **header** - Content above the tab panels, such as an application title. Hidden when the tab group is closed.\n- **footer** - Content below the tab panels. Hidden when the tab group is closed.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **nav-accessories-start** - The container of the `nav-accessories-start` slot.\n- **nav-accessories-end** - The container of the `nav-accessories-end` slot.\n- **accessory-divider** - The dividers between the nav accessories and the tabs, `<flow-ui-divider>` elements.\n- **header** - The `header` slot.\n- **body** - The tab group's body where tab panels are slotted in.\n- **footer** - The `footer` slot.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<flow-ui-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
2881
3147
  "attributes": [
2882
3148
  {
2883
3149
  "name": "placement",
@@ -2903,13 +3169,18 @@
2903
3169
  "name": "control-split-view",
2904
3170
  "description": "Set to `true` to allow parent split-view pane to be automatically opened and closed when tabs are clicked.",
2905
3171
  "values": []
3172
+ },
3173
+ {
3174
+ "name": "closed",
3175
+ "description": "Indicates whether the tab group is open or closed. A closed tab group shows only its tab bar (the tabs and the nav\naccessories) and hides its header, tab panels and footer. In a [split-view pane](./flow-ui-split-view-pane), set\n`closed` on the pane instead: the pane passes its state to a tab group that is its direct child (or a child of an\nelement that wraps it, such as an Angular component's host element), overriding the tab group's own. While the\npane animates closed, the header, tab panels and footer keep their size and cannot be focused, and they are hidden\nwhen the animation ends.",
3176
+ "values": []
2906
3177
  }
2907
3178
  ],
2908
3179
  "references": []
2909
3180
  },
2910
3181
  {
2911
3182
  "name": "flow-ui-tab-panel",
2912
- "description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
3183
+ "description": "Tab panels are used inside [tab groups](./flow-ui-tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
2913
3184
  "attributes": [
2914
3185
  {
2915
3186
  "name": "name",
@@ -2942,7 +3213,6 @@
2942
3213
  "name": "variant",
2943
3214
  "description": "The tag's theme variant.",
2944
3215
  "values": [
2945
- { "name": "" },
2946
3216
  { "name": "primary" },
2947
3217
  { "name": "secondary" },
2948
3218
  { "name": "success" },
@@ -3075,7 +3345,7 @@
3075
3345
  },
3076
3346
  {
3077
3347
  "name": "autocorrect",
3078
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
3348
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
3079
3349
  "values": []
3080
3350
  },
3081
3351
  {
@@ -3459,7 +3729,7 @@
3459
3729
  },
3460
3730
  {
3461
3731
  "name": "flow-ui-tree-item",
3462
- "description": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowUiTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
3732
+ "description": "A tree item serves as a hierarchical node that lives inside a [tree](./flow-ui-tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowUiTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
3463
3733
  "attributes": [
3464
3734
  {
3465
3735
  "name": "value",