@redvars/peacock 4.0.0 → 4.1.0

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 (408) hide show
  1. package/dist/{BaseField-CAog9TIc.js → BaseField-BMumJpkW.js} +6 -3
  2. package/dist/BaseField-BMumJpkW.js.map +1 -0
  3. package/dist/{BaseInput-CcMfg1Y2.js → BaseInput-mWdyYv27.js} +6 -3
  4. package/dist/BaseInput-mWdyYv27.js.map +1 -0
  5. package/dist/accordion.js.map +1 -1
  6. package/dist/ai-badge.js +2 -2
  7. package/dist/ai-summary.js +2 -2
  8. package/dist/alert.js +2 -2
  9. package/dist/anchor-nav.js +2 -2
  10. package/dist/app-shell.js +2 -2
  11. package/dist/assistant-panel.js +2 -2
  12. package/dist/assistant-step.js +2 -2
  13. package/dist/assistant-steps.js +2 -2
  14. package/dist/avatar-group.js +2 -2
  15. package/dist/banner.js +2 -2
  16. package/dist/{base-button-Do2TUy8M.js → base-button-BJMGMcMv.js} +3 -1
  17. package/dist/base-button-BJMGMcMv.js.map +1 -0
  18. package/dist/{base-progress-BiLlZVHJ.js → base-progress-CvLVSjuy.js} +4 -2
  19. package/dist/base-progress-CvLVSjuy.js.map +1 -0
  20. package/dist/bottom-sheet.js +2 -2
  21. package/dist/breadcrumb.js +2 -2
  22. package/dist/button-group.js +4 -4
  23. package/dist/button.js +3 -3
  24. package/dist/calendar.js +2 -2
  25. package/dist/canvas-base-BTQMEVn_.js +788 -0
  26. package/dist/canvas-base-BTQMEVn_.js.map +1 -0
  27. package/dist/canvas-link-CtgsALq4.js +54 -0
  28. package/dist/canvas-link-CtgsALq4.js.map +1 -0
  29. package/dist/{cartesian-chart-C-f1frt0.js → cartesian-chart-DM1FC_XT.js} +3 -2
  30. package/dist/cartesian-chart-DM1FC_XT.js.map +1 -0
  31. package/dist/{cb-group-base-DeuCVx3a.js → cb-group-base-B6fa4Lll.js} +2 -2
  32. package/dist/{cb-group-base-DeuCVx3a.js.map → cb-group-base-B6fa4Lll.js.map} +1 -1
  33. package/dist/cb-group.js +3 -3
  34. package/dist/cb-rule.js +3 -3
  35. package/dist/chart-area.js +5 -4
  36. package/dist/chart-area.js.map +1 -1
  37. package/dist/chart-bar.js +5 -4
  38. package/dist/chart-bar.js.map +1 -1
  39. package/dist/chart-base-Dhxuw_Mw.js +833 -0
  40. package/dist/chart-base-Dhxuw_Mw.js.map +1 -0
  41. package/dist/chart-doughnut.js +4 -3
  42. package/dist/chart-doughnut.js.map +1 -1
  43. package/dist/chart-line.js +5 -4
  44. package/dist/chart-line.js.map +1 -1
  45. package/dist/chart-pie.js +4 -3
  46. package/dist/chart-pie.js.map +1 -1
  47. package/dist/chat-message.js +2 -2
  48. package/dist/chat-thread.js +2 -2
  49. package/dist/checkbox-group.js +4 -4
  50. package/dist/checkbox.js +4 -4
  51. package/dist/chip-set.js +3 -3
  52. package/dist/chip.js +4 -4
  53. package/dist/circular-progress.js +3 -3
  54. package/dist/citation.js +2 -2
  55. package/dist/code-editor.js +5 -4
  56. package/dist/code-editor.js.map +1 -1
  57. package/dist/code-highlighter.js +2 -2
  58. package/dist/color-field.js +5 -5
  59. package/dist/color-picker.js +2 -2
  60. package/dist/command-palette.js +2 -2
  61. package/dist/comment-composer.js +5 -5
  62. package/dist/condition-builder.js +3 -3
  63. package/dist/confirm-dialog.js +2 -2
  64. package/dist/copy-button.js +2 -2
  65. package/dist/currency-field.js +5 -5
  66. package/dist/custom-elements-jsdocs.json +2115 -336
  67. package/dist/custom-elements.json +19483 -615
  68. package/dist/date-field.js +6 -6
  69. package/dist/date-picker.js +4 -2
  70. package/dist/date-picker.js.map +1 -1
  71. package/dist/date-range-field.js +6 -6
  72. package/dist/datetime-field.js +6 -6
  73. package/dist/dependency-map-layout-5KUueabk.js +1390 -0
  74. package/dist/dependency-map-layout-5KUueabk.js.map +1 -0
  75. package/dist/dependency-map.js +1605 -0
  76. package/dist/dependency-map.js.map +1 -0
  77. package/dist/description-item.js +2 -2
  78. package/dist/description-list.js +2 -2
  79. package/dist/diagram-2r11KySs.js +2029 -0
  80. package/dist/diagram-2r11KySs.js.map +1 -0
  81. package/dist/diagram-controls.js +345 -0
  82. package/dist/diagram-controls.js.map +1 -0
  83. package/dist/diagram-minimap.js +216 -0
  84. package/dist/diagram-minimap.js.map +1 -0
  85. package/dist/diagram.js +20 -0
  86. package/dist/diagram.js.map +1 -0
  87. package/dist/diff-viewer.js +2 -2
  88. package/dist/discussion-activity.js +2 -2
  89. package/dist/discussion-comment.js +2 -2
  90. package/dist/discussion.js +5 -5
  91. package/dist/{document-editor-BO7QPbO5.js → document-editor-BnEugM3E.js} +2 -2
  92. package/dist/{document-editor-BO7QPbO5.js.map → document-editor-BnEugM3E.js.map} +1 -1
  93. package/dist/document-editor.js +3 -3
  94. package/dist/draft-card.js +2 -2
  95. package/dist/erd.js +2021 -0
  96. package/dist/erd.js.map +1 -0
  97. package/dist/fab.js +4 -4
  98. package/dist/field.js +257 -43
  99. package/dist/field.js.map +1 -1
  100. package/dist/file-upload.js +37 -15
  101. package/dist/file-upload.js.map +1 -1
  102. package/dist/filter-bar.js +2 -2
  103. package/dist/flow.js +27 -970
  104. package/dist/flow.js.map +1 -1
  105. package/dist/focus-ring.js +2 -0
  106. package/dist/focus-ring.js.map +1 -1
  107. package/dist/{form-associated-D3Tn33s_.js → form-associated-BHbg72PG.js} +3 -1
  108. package/dist/{form-associated-D3Tn33s_.js.map → form-associated-BHbg72PG.js.map} +1 -1
  109. package/dist/{form-submitter-DWwv6K9-.js → form-submitter-beG1CXAn.js} +7 -1
  110. package/dist/{form-submitter-DWwv6K9-.js.map → form-submitter-beG1CXAn.js.map} +1 -1
  111. package/dist/form.js +2 -2
  112. package/dist/{generative-view-DmtpDobn.js → generative-view-BgOcLRXr.js} +13 -13
  113. package/dist/generative-view-BgOcLRXr.js.map +1 -0
  114. package/dist/generative-view.js +3 -3
  115. package/dist/geometry-INg82Lxq.js +305 -0
  116. package/dist/geometry-INg82Lxq.js.map +1 -0
  117. package/dist/history-YbTSQZHj.js +45 -0
  118. package/dist/history-YbTSQZHj.js.map +1 -0
  119. package/dist/host-CZK7xhzh.js +40 -0
  120. package/dist/host-CZK7xhzh.js.map +1 -0
  121. package/dist/html-editor.js +5 -5
  122. package/dist/{hyperlink-DhE9RlVS.js → hyperlink-DycWPKwU.js} +10 -1
  123. package/dist/hyperlink-DycWPKwU.js.map +1 -0
  124. package/dist/{i18n-controller-urcQKYGe.js → i18n-controller-Cp43HjJl.js} +2 -2
  125. package/dist/{i18n-controller-urcQKYGe.js.map → i18n-controller-Cp43HjJl.js.map} +1 -1
  126. package/dist/icon-button.js +4 -4
  127. package/dist/image.js +2 -2
  128. package/dist/index.js +37 -18
  129. package/dist/index.js.map +1 -1
  130. package/dist/inline-edit.js +2 -2
  131. package/dist/input.js +4 -4
  132. package/dist/json-viewer.js +2 -2
  133. package/dist/kanban.js +2 -2
  134. package/dist/kbd.js +2 -2
  135. package/dist/linear-progress.js +3 -3
  136. package/dist/link-button.js +2 -2
  137. package/dist/list-item.js +2 -2
  138. package/dist/list.js +2 -2
  139. package/dist/listbox.js +3 -3
  140. package/dist/loader-full.js +13 -13
  141. package/dist/loader.js +44 -15
  142. package/dist/loader.js.map +1 -1
  143. package/dist/markdown-editor.js +5 -5
  144. package/dist/markers-BFmh1OCz.js +46 -0
  145. package/dist/markers-BFmh1OCz.js.map +1 -0
  146. package/dist/measure-controller-Dmc5hZKg.js +89 -0
  147. package/dist/measure-controller-Dmc5hZKg.js.map +1 -0
  148. package/dist/mention-input.js +6 -5
  149. package/dist/mention-input.js.map +1 -1
  150. package/dist/menu-item.js +3 -2
  151. package/dist/menu-item.js.map +1 -1
  152. package/dist/menu.js +2 -2
  153. package/dist/modal.js +2 -2
  154. package/dist/navigation-bar.js +2 -2
  155. package/dist/navigation-drawer.js +2 -2
  156. package/dist/navigation-rail.js +2 -2
  157. package/dist/notification-center.js +2 -2
  158. package/dist/number-field.js +6 -5
  159. package/dist/number-field.js.map +1 -1
  160. package/dist/option.js +2 -2
  161. package/dist/page-header.js +2 -2
  162. package/dist/pagination.js +2 -2
  163. package/dist/password-field.js +5 -5
  164. package/dist/password-rules.js +2 -2
  165. package/dist/phone-field.js +5 -5
  166. package/dist/{picker-field-B4DtcJfL.js → picker-field-dTlIMAQn.js} +3 -3
  167. package/dist/{picker-field-B4DtcJfL.js.map → picker-field-dTlIMAQn.js.map} +1 -1
  168. package/dist/pin-input.js +5 -5
  169. package/dist/presence-indicator.js +2 -2
  170. package/dist/prompt-input.js +5 -5
  171. package/dist/radio-group.js +1 -0
  172. package/dist/radio-group.js.map +1 -1
  173. package/dist/radio.js +5 -5
  174. package/dist/radio.js.map +1 -1
  175. package/dist/rating.js +5 -4
  176. package/dist/rating.js.map +1 -1
  177. package/dist/redvars-loader.js +2 -2
  178. package/dist/relative-time.js +2 -2
  179. package/dist/resizable-panels.js +2 -2
  180. package/dist/{rich-text-input-DLICqof1.js → rich-text-input-DM_BOzgk.js} +3 -3
  181. package/dist/{rich-text-input-DLICqof1.js.map → rich-text-input-DM_BOzgk.js.map} +1 -1
  182. package/dist/ripple.js +2 -0
  183. package/dist/ripple.js.map +1 -1
  184. package/dist/{schema-hMt-NRLk.js → schema-B8g30A_n.js} +2 -2
  185. package/dist/{schema-hMt-NRLk.js.map → schema-B8g30A_n.js.map} +1 -1
  186. package/dist/search.js +4 -4
  187. package/dist/segmented-button-group.js +1 -1
  188. package/dist/select.js +7 -7
  189. package/dist/side-sheet.js +2 -2
  190. package/dist/signature-pad.js +5 -4
  191. package/dist/signature-pad.js.map +1 -1
  192. package/dist/slider.js +5 -4
  193. package/dist/slider.js.map +1 -1
  194. package/dist/snackbar.js +2 -2
  195. package/dist/sparkline.js +2 -2
  196. package/dist/split-button.js +2 -2
  197. package/dist/src/__internal/diagram/canvas-base.d.ts +105 -0
  198. package/dist/src/__internal/diagram/canvas-link.d.ts +21 -0
  199. package/dist/src/__internal/diagram/geometry.d.ts +49 -0
  200. package/dist/src/__internal/diagram/history.d.ts +17 -0
  201. package/dist/src/__internal/diagram/host.d.ts +45 -0
  202. package/dist/src/__internal/diagram/markers.d.ts +16 -0
  203. package/dist/src/__internal/diagram/measure-controller.d.ts +32 -0
  204. package/dist/src/__internal/diagram/motion.d.ts +22 -0
  205. package/dist/src/__internal/diagram/selection.d.ts +20 -0
  206. package/dist/src/__internal/diagram/types.d.ts +39 -0
  207. package/dist/src/__internal/diagram/viewport-controller.d.ts +89 -0
  208. package/dist/src/__internal/i18n/strings.d.ts +149 -0
  209. package/dist/src/__internal/toggle-base.d.ts +8 -0
  210. package/dist/src/__internal/utils/deprecate.d.ts +3 -3
  211. package/dist/src/accordion/accordion.d.ts +1 -0
  212. package/dist/src/code-editor/code-editor.d.ts +1 -0
  213. package/dist/src/date-picker/date-picker.d.ts +2 -0
  214. package/dist/src/dependency-map/dependency-map-layout.d.ts +48 -0
  215. package/dist/src/dependency-map/dependency-map.d.ts +241 -0
  216. package/dist/src/dependency-map/index.d.ts +2 -0
  217. package/dist/src/diagram/diagram.d.ts +300 -0
  218. package/dist/src/diagram/flow.d.ts +53 -0
  219. package/dist/src/diagram/index.d.ts +4 -0
  220. package/dist/src/diagram-controls/diagram-controls.d.ts +46 -0
  221. package/dist/src/diagram-controls/index.d.ts +1 -0
  222. package/dist/src/diagram-minimap/diagram-minimap.d.ts +39 -0
  223. package/dist/src/diagram-minimap/index.d.ts +1 -0
  224. package/dist/src/erd/erd-layout.d.ts +27 -0
  225. package/dist/src/erd/erd.d.ts +266 -0
  226. package/dist/src/erd/index.d.ts +2 -0
  227. package/dist/src/field/field.d.ts +38 -1
  228. package/dist/src/file-upload/file-upload.d.ts +3 -1
  229. package/dist/src/focus-ring/focus-ring.d.ts +2 -0
  230. package/dist/src/index.d.ts +15 -2
  231. package/dist/src/input/BaseField.d.ts +3 -0
  232. package/dist/src/input/BaseInput.d.ts +3 -0
  233. package/dist/src/menu/menu-item/menu-item.d.ts +1 -0
  234. package/dist/src/number-field/number-field.d.ts +4 -0
  235. package/dist/src/progress/base-progress.d.ts +3 -0
  236. package/dist/src/radio/radio-group.d.ts +1 -0
  237. package/dist/src/rating/rating.d.ts +1 -0
  238. package/dist/src/ripple/ripple.d.ts +2 -0
  239. package/dist/src/signature-pad/signature-pad.d.ts +1 -0
  240. package/dist/src/slider/slider.d.ts +1 -0
  241. package/dist/src/switch/switch.d.ts +1 -0
  242. package/dist/src/tabs/tab.d.ts +2 -0
  243. package/dist/src/tabs/tabs.d.ts +1 -0
  244. package/dist/src/textarea/textarea.d.ts +1 -0
  245. package/dist/src/time-picker/time-picker.d.ts +2 -0
  246. package/dist/src/transfer-list/transfer-list.d.ts +1 -0
  247. package/dist/src/tree-chart/index.d.ts +2 -0
  248. package/dist/src/tree-chart/tree-chart-layout.d.ts +49 -0
  249. package/dist/src/tree-chart/tree-chart.d.ts +221 -0
  250. package/dist/src/workflow/index.d.ts +2 -0
  251. package/dist/src/workflow/workflow-format.d.ts +5 -0
  252. package/dist/src/workflow/workflow-model.d.ts +194 -0
  253. package/dist/src/workflow/workflow.d.ts +313 -0
  254. package/dist/src/workflow-timeline/index.d.ts +1 -0
  255. package/dist/src/workflow-timeline/workflow-timeline.d.ts +41 -0
  256. package/dist/stat.js +2 -2
  257. package/dist/status-indicator.js +2 -2
  258. package/dist/step.js +2 -2
  259. package/dist/stepper.js +2 -2
  260. package/dist/{strings-DmbqMTfs.js → strings-BJPuhKJk.js} +163 -1
  261. package/dist/{strings-DmbqMTfs.js.map → strings-BJPuhKJk.js.map} +1 -1
  262. package/dist/sub-menu.js +2 -2
  263. package/dist/svg.js +2 -2
  264. package/dist/switch.js +5 -4
  265. package/dist/switch.js.map +1 -1
  266. package/dist/tab.js +1 -0
  267. package/dist/tab.js.map +1 -1
  268. package/dist/table.js +2 -2
  269. package/dist/tabs.js +1 -0
  270. package/dist/tabs.js.map +1 -1
  271. package/dist/test/diagram-controls.test.d.ts +1 -0
  272. package/dist/test/diagram-geometry.test.d.ts +1 -0
  273. package/dist/test/diagram.test.d.ts +1 -0
  274. package/dist/test/erd.test.d.ts +1 -0
  275. package/dist/test/toggle-label.test.d.ts +1 -0
  276. package/dist/test/tree-chart.test.d.ts +1 -0
  277. package/dist/test/workflow-debug.test.d.ts +1 -0
  278. package/dist/test/workflow.test.d.ts +1 -0
  279. package/dist/textarea.js +7 -5
  280. package/dist/textarea.js.map +1 -1
  281. package/dist/time-field.js +6 -6
  282. package/dist/time-picker.js +4 -2
  283. package/dist/time-picker.js.map +1 -1
  284. package/dist/timeline-item.js +2 -2
  285. package/dist/timeline.js +2 -2
  286. package/dist/{toggle-base-BQO5pjrU.js → toggle-base-BlaHalfS.js} +19 -3
  287. package/dist/toggle-base-BlaHalfS.js.map +1 -0
  288. package/dist/tour.js +2 -2
  289. package/dist/transfer-list.js +5 -4
  290. package/dist/transfer-list.js.map +1 -1
  291. package/dist/{chart-base-B-gOg2Di.js → transform-CxeQFXXB.js} +9 -839
  292. package/dist/transform-CxeQFXXB.js.map +1 -0
  293. package/dist/tree-chart.js +1986 -0
  294. package/dist/tree-chart.js.map +1 -0
  295. package/dist/tree-item.js +2 -2
  296. package/dist/tree.js +2 -2
  297. package/dist/tsconfig.tsbuildinfo +1 -1
  298. package/dist/typing-indicator.js +2 -2
  299. package/dist/url-field.js +5 -5
  300. package/dist/user-menu.js +2 -2
  301. package/dist/virtual-list.js +2 -2
  302. package/dist/workflow-format-BsyveyeC.js +34 -0
  303. package/dist/workflow-format-BsyveyeC.js.map +1 -0
  304. package/dist/workflow-model-CauduOG2.js +330 -0
  305. package/dist/workflow-model-CauduOG2.js.map +1 -0
  306. package/dist/workflow-timeline.js +354 -0
  307. package/dist/workflow-timeline.js.map +1 -0
  308. package/dist/workflow.js +3337 -0
  309. package/dist/workflow.js.map +1 -0
  310. package/dist/workspace-switcher.js +2 -2
  311. package/package.json +1 -1
  312. package/readme.md +44 -2
  313. package/src/LoaderUtils.ts +9 -2
  314. package/src/__internal/diagram/canvas-base.ts +410 -0
  315. package/src/__internal/diagram/canvas-link.ts +66 -0
  316. package/src/__internal/diagram/geometry.ts +372 -0
  317. package/src/__internal/diagram/history.ts +49 -0
  318. package/src/__internal/diagram/host.ts +76 -0
  319. package/src/__internal/diagram/markers.ts +56 -0
  320. package/src/__internal/diagram/measure-controller.ts +104 -0
  321. package/src/__internal/diagram/motion.ts +89 -0
  322. package/src/__internal/diagram/selection.ts +69 -0
  323. package/src/__internal/diagram/types.ts +56 -0
  324. package/src/__internal/diagram/viewport-controller.ts +494 -0
  325. package/src/__internal/i18n/strings.ts +201 -0
  326. package/src/__internal/mixins/field.ts +3 -0
  327. package/src/__internal/mixins/form-associated.ts +2 -0
  328. package/src/__internal/mixins/form-submitter.ts +6 -0
  329. package/src/__internal/mixins/hyperlink.ts +10 -0
  330. package/src/__internal/toggle-base.ts +16 -0
  331. package/src/__internal/utils/deprecate.ts +5 -4
  332. package/src/accordion/accordion.ts +1 -0
  333. package/src/button/base-button/base-button.ts +2 -0
  334. package/src/code-editor/code-editor.ts +1 -0
  335. package/src/date-picker/date-picker.ts +2 -0
  336. package/src/dependency-map/dependency-map-layout.ts +505 -0
  337. package/src/dependency-map/dependency-map.scss +626 -0
  338. package/src/dependency-map/dependency-map.ts +1280 -0
  339. package/src/dependency-map/index.ts +16 -0
  340. package/src/diagram/diagram.scss +513 -0
  341. package/src/diagram/diagram.ts +1852 -0
  342. package/src/diagram/flow.ts +81 -0
  343. package/src/diagram/index.ts +44 -0
  344. package/src/diagram-controls/diagram-controls.scss +68 -0
  345. package/src/diagram-controls/diagram-controls.ts +255 -0
  346. package/src/diagram-controls/index.ts +1 -0
  347. package/src/diagram-minimap/diagram-minimap.scss +41 -0
  348. package/src/diagram-minimap/diagram-minimap.ts +149 -0
  349. package/src/diagram-minimap/index.ts +1 -0
  350. package/src/erd/erd-layout.ts +92 -0
  351. package/src/erd/erd.scss +636 -0
  352. package/src/erd/erd.ts +1728 -0
  353. package/src/erd/index.ts +17 -0
  354. package/src/field/field.scss +197 -23
  355. package/src/field/field.ts +109 -16
  356. package/src/file-upload/file-upload.scss +37 -10
  357. package/src/file-upload/file-upload.ts +3 -1
  358. package/src/focus-ring/focus-ring.ts +2 -0
  359. package/src/generative-view/catalog.generated.ts +12 -11
  360. package/src/index.ts +121 -2
  361. package/src/input/BaseField.ts +3 -0
  362. package/src/input/BaseInput.ts +3 -0
  363. package/src/loader.ts +25 -0
  364. package/src/mention-input/mention-input.scss +2 -0
  365. package/src/menu/menu-item/menu-item.ts +1 -0
  366. package/src/number-field/number-field.ts +4 -0
  367. package/src/progress/base-progress.ts +3 -0
  368. package/src/radio/radio-group.ts +1 -0
  369. package/src/radio/radio.ts +1 -1
  370. package/src/rating/rating.ts +1 -0
  371. package/src/ripple/ripple.ts +2 -0
  372. package/src/signature-pad/signature-pad.ts +1 -0
  373. package/src/slider/slider.ts +1 -0
  374. package/src/switch/switch.ts +1 -0
  375. package/src/tabs/tab.ts +2 -0
  376. package/src/tabs/tabs.ts +1 -0
  377. package/src/textarea/textarea.scss +2 -0
  378. package/src/textarea/textarea.ts +1 -0
  379. package/src/time-picker/time-picker.ts +2 -0
  380. package/src/transfer-list/transfer-list.ts +1 -0
  381. package/src/tree-chart/index.ts +13 -0
  382. package/src/tree-chart/tree-chart-layout.ts +185 -0
  383. package/src/tree-chart/tree-chart.scss +377 -0
  384. package/src/tree-chart/tree-chart.ts +1170 -0
  385. package/src/workflow/index.ts +35 -0
  386. package/src/workflow/workflow-format.ts +29 -0
  387. package/src/workflow/workflow-model.ts +583 -0
  388. package/src/workflow/workflow.scss +1164 -0
  389. package/src/workflow/workflow.ts +2674 -0
  390. package/src/workflow-timeline/index.ts +1 -0
  391. package/src/workflow-timeline/workflow-timeline.scss +128 -0
  392. package/src/workflow-timeline/workflow-timeline.ts +238 -0
  393. package/dist/BaseField-CAog9TIc.js.map +0 -1
  394. package/dist/BaseInput-CcMfg1Y2.js.map +0 -1
  395. package/dist/base-button-Do2TUy8M.js.map +0 -1
  396. package/dist/base-progress-BiLlZVHJ.js.map +0 -1
  397. package/dist/cartesian-chart-C-f1frt0.js.map +0 -1
  398. package/dist/chart-base-B-gOg2Di.js.map +0 -1
  399. package/dist/generative-view-DmtpDobn.js.map +0 -1
  400. package/dist/hyperlink-DhE9RlVS.js.map +0 -1
  401. package/dist/src/flow/flow.d.ts +0 -178
  402. package/dist/src/flow/index.d.ts +0 -2
  403. package/dist/toggle-base-BQO5pjrU.js.map +0 -1
  404. package/src/button/button-group/readme.md +0 -23
  405. package/src/flow/flow.scss +0 -215
  406. package/src/flow/flow.ts +0 -958
  407. package/src/flow/index.ts +0 -10
  408. /package/dist/test/{flow.test.d.ts → dependency-map.test.d.ts} +0 -0
@@ -1673,8 +1673,8 @@
1673
1673
  "text": "string"
1674
1674
  },
1675
1675
  "default": "''",
1676
- "fieldName": "variant",
1677
1676
  "description": "The visual style of the button: `\"filled\"`, `\"tonal\"`, `\"outlined\"`, `\"text\"`,\n`\"elevated\"` or `\"neo\"`. Unset, it comes from `level`, else `\"filled\"`.",
1677
+ "fieldName": "variant",
1678
1678
  "inheritedFrom": {
1679
1679
  "name": "mixinBaseButton",
1680
1680
  "module": "src/button/base-button/base-button.ts"
@@ -1686,8 +1686,8 @@
1686
1686
  "text": "string"
1687
1687
  },
1688
1688
  "default": "''",
1689
- "fieldName": "color",
1690
1689
  "description": "The color role of the button. Unset, it comes from `level`, else `\"primary\"`.",
1690
+ "fieldName": "color",
1691
1691
  "inheritedFrom": {
1692
1692
  "name": "mixinBaseButton",
1693
1693
  "module": "src/button/base-button/base-button.ts"
@@ -1695,12 +1695,12 @@
1695
1695
  },
1696
1696
  {
1697
1697
  "name": "disabled",
1698
+ "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
1698
1699
  "fieldName": "disabled",
1699
1700
  "type": {
1700
1701
  "text": "boolean"
1701
1702
  },
1702
1703
  "default": "false",
1703
- "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
1704
1704
  "inheritedFrom": {
1705
1705
  "name": "mixinFormAssociated",
1706
1706
  "module": "src/__internal/mixins/form-associated.ts"
@@ -1750,6 +1750,7 @@
1750
1750
  "text": "string"
1751
1751
  },
1752
1752
  "default": "'submit'",
1753
+ "description": "What activating the element does in a form: `\"submit\"` (default) submits it, `\"reset\"`\nresets it and `\"button\"` does nothing.",
1753
1754
  "fieldName": "type",
1754
1755
  "inheritedFrom": {
1755
1756
  "name": "mixinFormSubmitter",
@@ -1762,6 +1763,7 @@
1762
1763
  "text": "string"
1763
1764
  },
1764
1765
  "default": "''",
1766
+ "description": "The value sent with the form, paired with `name`, when this element submits it.",
1765
1767
  "fieldName": "value",
1766
1768
  "inheritedFrom": {
1767
1769
  "name": "mixinFormSubmitter",
@@ -1770,6 +1772,7 @@
1770
1772
  },
1771
1773
  {
1772
1774
  "name": "name",
1775
+ "description": "The name the value is submitted under in a form.",
1773
1776
  "fieldName": "name",
1774
1777
  "inheritedFrom": {
1775
1778
  "name": "mixinFormAssociated",
@@ -4162,6 +4165,7 @@
4162
4165
  },
4163
4166
  {
4164
4167
  "name": "name",
4168
+ "description": "The name the value is submitted under in a form.",
4165
4169
  "fieldName": "name",
4166
4170
  "inheritedFrom": {
4167
4171
  "name": "BaseInput",
@@ -4170,6 +4174,7 @@
4170
4174
  },
4171
4175
  {
4172
4176
  "name": "disabled",
4177
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
4173
4178
  "fieldName": "disabled",
4174
4179
  "inheritedFrom": {
4175
4180
  "name": "BaseInput",
@@ -4182,6 +4187,7 @@
4182
4187
  "text": "boolean"
4183
4188
  },
4184
4189
  "default": "false",
4190
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
4185
4191
  "fieldName": "readonly",
4186
4192
  "inheritedFrom": {
4187
4193
  "name": "BaseInput",
@@ -4194,6 +4200,7 @@
4194
4200
  "text": "boolean"
4195
4201
  },
4196
4202
  "default": "false",
4203
+ "description": "Requires a value before the form can submit.",
4197
4204
  "fieldName": "required",
4198
4205
  "inheritedFrom": {
4199
4206
  "name": "BaseInput",
@@ -4206,6 +4213,7 @@
4206
4213
  "text": "boolean"
4207
4214
  },
4208
4215
  "default": "false",
4216
+ "description": "Shows a loading placeholder in place of the control.",
4209
4217
  "fieldName": "skeleton",
4210
4218
  "inheritedFrom": {
4211
4219
  "name": "BaseInput",
@@ -4371,6 +4379,7 @@
4371
4379
  },
4372
4380
  {
4373
4381
  "name": "name",
4382
+ "description": "The name the value is submitted under in a form.",
4374
4383
  "fieldName": "name",
4375
4384
  "inheritedFrom": {
4376
4385
  "name": "BaseInput",
@@ -4379,6 +4388,7 @@
4379
4388
  },
4380
4389
  {
4381
4390
  "name": "disabled",
4391
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
4382
4392
  "fieldName": "disabled",
4383
4393
  "inheritedFrom": {
4384
4394
  "name": "BaseInput",
@@ -4391,6 +4401,7 @@
4391
4401
  "text": "boolean"
4392
4402
  },
4393
4403
  "default": "false",
4404
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
4394
4405
  "fieldName": "readonly",
4395
4406
  "inheritedFrom": {
4396
4407
  "name": "BaseInput",
@@ -4403,6 +4414,7 @@
4403
4414
  "text": "boolean"
4404
4415
  },
4405
4416
  "default": "false",
4417
+ "description": "Requires a value before the form can submit.",
4406
4418
  "fieldName": "required",
4407
4419
  "inheritedFrom": {
4408
4420
  "name": "BaseInput",
@@ -4415,6 +4427,7 @@
4415
4427
  "text": "boolean"
4416
4428
  },
4417
4429
  "default": "false",
4430
+ "description": "Shows a loading placeholder in place of the control.",
4418
4431
  "fieldName": "skeleton",
4419
4432
  "inheritedFrom": {
4420
4433
  "name": "BaseInput",
@@ -4548,6 +4561,7 @@
4548
4561
  "text": "string"
4549
4562
  },
4550
4563
  "default": "''",
4564
+ "description": "The visual style of the button, such as `\"filled\"`, `\"tonal\"`, `\"outlined\"` or `\"text\"`.",
4551
4565
  "fieldName": "variant",
4552
4566
  "inheritedFrom": {
4553
4567
  "name": "mixinBaseButton",
@@ -4560,6 +4574,7 @@
4560
4574
  "text": "string"
4561
4575
  },
4562
4576
  "default": "''",
4577
+ "description": "The color role of the button, such as `\"primary\"`, `\"surface\"` or `\"danger\"`.",
4563
4578
  "fieldName": "color",
4564
4579
  "inheritedFrom": {
4565
4580
  "name": "mixinBaseButton",
@@ -4610,6 +4625,7 @@
4610
4625
  "type": {
4611
4626
  "text": "string | undefined"
4612
4627
  },
4628
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
4613
4629
  "fieldName": "href",
4614
4630
  "inheritedFrom": {
4615
4631
  "name": "mixinHyperlink",
@@ -4622,6 +4638,7 @@
4622
4638
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
4623
4639
  },
4624
4640
  "default": "'_self'",
4641
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
4625
4642
  "fieldName": "target",
4626
4643
  "inheritedFrom": {
4627
4644
  "name": "mixinHyperlink",
@@ -4634,6 +4651,7 @@
4634
4651
  "text": "string"
4635
4652
  },
4636
4653
  "default": "''",
4654
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
4637
4655
  "fieldName": "rel",
4638
4656
  "inheritedFrom": {
4639
4657
  "name": "mixinHyperlink",
@@ -4646,6 +4664,7 @@
4646
4664
  "text": "string"
4647
4665
  },
4648
4666
  "default": "''",
4667
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
4649
4668
  "fieldName": "download",
4650
4669
  "inheritedFrom": {
4651
4670
  "name": "mixinHyperlink",
@@ -4789,6 +4808,7 @@
4789
4808
  },
4790
4809
  {
4791
4810
  "name": "name",
4811
+ "description": "The name the value is submitted under in a form.",
4792
4812
  "fieldName": "name",
4793
4813
  "inheritedFrom": {
4794
4814
  "name": "BaseInput",
@@ -4797,6 +4817,7 @@
4797
4817
  },
4798
4818
  {
4799
4819
  "name": "disabled",
4820
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
4800
4821
  "fieldName": "disabled",
4801
4822
  "inheritedFrom": {
4802
4823
  "name": "BaseInput",
@@ -4809,6 +4830,7 @@
4809
4830
  "text": "boolean"
4810
4831
  },
4811
4832
  "default": "false",
4833
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
4812
4834
  "fieldName": "readonly",
4813
4835
  "inheritedFrom": {
4814
4836
  "name": "BaseInput",
@@ -4821,6 +4843,7 @@
4821
4843
  "text": "boolean"
4822
4844
  },
4823
4845
  "default": "false",
4846
+ "description": "Requires a value before the form can submit.",
4824
4847
  "fieldName": "required",
4825
4848
  "inheritedFrom": {
4826
4849
  "name": "BaseInput",
@@ -4833,6 +4856,7 @@
4833
4856
  "text": "boolean"
4834
4857
  },
4835
4858
  "default": "false",
4859
+ "description": "Shows a loading placeholder in place of the control.",
4836
4860
  "fieldName": "skeleton",
4837
4861
  "inheritedFrom": {
4838
4862
  "name": "BaseInput",
@@ -4918,6 +4942,7 @@
4918
4942
  "text": "boolean"
4919
4943
  },
4920
4944
  "default": "false",
4945
+ "description": "Shows ongoing activity with no known completion, ignoring `value`.",
4921
4946
  "fieldName": "indeterminate",
4922
4947
  "inheritedFrom": {
4923
4948
  "name": "BaseProgress",
@@ -4941,6 +4966,7 @@
4941
4966
  "type": {
4942
4967
  "text": "string | undefined"
4943
4968
  },
4969
+ "description": "Help text shown below the progress indicator.",
4944
4970
  "fieldName": "helperText",
4945
4971
  "inheritedFrom": {
4946
4972
  "name": "BaseProgress",
@@ -4953,6 +4979,7 @@
4953
4979
  "text": "boolean"
4954
4980
  },
4955
4981
  "default": "false",
4982
+ "description": "Lays out the label and the indicator on one line instead of stacking them.",
4956
4983
  "fieldName": "inline",
4957
4984
  "inheritedFrom": {
4958
4985
  "name": "BaseProgress",
@@ -5318,6 +5345,7 @@
5318
5345
  "text": "string"
5319
5346
  },
5320
5347
  "default": "''",
5348
+ "description": "Error message shown below the editor while `error` is set; replaces the help text.",
5321
5349
  "fieldName": "errorText"
5322
5350
  },
5323
5351
  {
@@ -5431,6 +5459,7 @@
5431
5459
  },
5432
5460
  {
5433
5461
  "name": "name",
5462
+ "description": "The name the value is submitted under in a form.",
5434
5463
  "fieldName": "name",
5435
5464
  "inheritedFrom": {
5436
5465
  "name": "BaseInput",
@@ -5439,6 +5468,7 @@
5439
5468
  },
5440
5469
  {
5441
5470
  "name": "disabled",
5471
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
5442
5472
  "fieldName": "disabled",
5443
5473
  "inheritedFrom": {
5444
5474
  "name": "BaseInput",
@@ -5451,6 +5481,7 @@
5451
5481
  "text": "boolean"
5452
5482
  },
5453
5483
  "default": "false",
5484
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
5454
5485
  "fieldName": "readonly",
5455
5486
  "inheritedFrom": {
5456
5487
  "name": "BaseInput",
@@ -5463,6 +5494,7 @@
5463
5494
  "text": "boolean"
5464
5495
  },
5465
5496
  "default": "false",
5497
+ "description": "Requires a value before the form can submit.",
5466
5498
  "fieldName": "required",
5467
5499
  "inheritedFrom": {
5468
5500
  "name": "BaseInput",
@@ -5475,6 +5507,7 @@
5475
5507
  "text": "boolean"
5476
5508
  },
5477
5509
  "default": "false",
5510
+ "description": "Shows a loading placeholder in place of the control.",
5478
5511
  "fieldName": "skeleton",
5479
5512
  "inheritedFrom": {
5480
5513
  "name": "BaseInput",
@@ -6001,6 +6034,7 @@
6001
6034
  "text": "string"
6002
6035
  },
6003
6036
  "default": "''",
6037
+ "description": "Hint shown inside the empty control.",
6004
6038
  "fieldName": "placeholder",
6005
6039
  "inheritedFrom": {
6006
6040
  "name": "BaseField",
@@ -6039,6 +6073,7 @@
6039
6073
  "text": "string"
6040
6074
  },
6041
6075
  "default": "''",
6076
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
6042
6077
  "fieldName": "errorText",
6043
6078
  "inheritedFrom": {
6044
6079
  "name": "BaseField",
@@ -6064,6 +6099,7 @@
6064
6099
  "text": "string"
6065
6100
  },
6066
6101
  "default": "''",
6102
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
6067
6103
  "fieldName": "warningText",
6068
6104
  "inheritedFrom": {
6069
6105
  "name": "BaseField",
@@ -6127,6 +6163,7 @@
6127
6163
  },
6128
6164
  {
6129
6165
  "name": "name",
6166
+ "description": "The name the value is submitted under in a form.",
6130
6167
  "fieldName": "name",
6131
6168
  "inheritedFrom": {
6132
6169
  "name": "BaseInput",
@@ -6135,6 +6172,7 @@
6135
6172
  },
6136
6173
  {
6137
6174
  "name": "disabled",
6175
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
6138
6176
  "fieldName": "disabled",
6139
6177
  "inheritedFrom": {
6140
6178
  "name": "BaseInput",
@@ -6147,6 +6185,7 @@
6147
6185
  "text": "boolean"
6148
6186
  },
6149
6187
  "default": "false",
6188
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
6150
6189
  "fieldName": "readonly",
6151
6190
  "inheritedFrom": {
6152
6191
  "name": "BaseInput",
@@ -6159,6 +6198,7 @@
6159
6198
  "text": "boolean"
6160
6199
  },
6161
6200
  "default": "false",
6201
+ "description": "Requires a value before the form can submit.",
6162
6202
  "fieldName": "required",
6163
6203
  "inheritedFrom": {
6164
6204
  "name": "BaseInput",
@@ -6171,6 +6211,7 @@
6171
6211
  "text": "boolean"
6172
6212
  },
6173
6213
  "default": "false",
6214
+ "description": "Shows a loading placeholder in place of the control.",
6174
6215
  "fieldName": "skeleton",
6175
6216
  "inheritedFrom": {
6176
6217
  "name": "BaseInput",
@@ -6711,6 +6752,7 @@
6711
6752
  },
6712
6753
  {
6713
6754
  "name": "name",
6755
+ "description": "The name the value is submitted under in a form.",
6714
6756
  "fieldName": "name",
6715
6757
  "inheritedFrom": {
6716
6758
  "name": "BaseInput",
@@ -6719,6 +6761,7 @@
6719
6761
  },
6720
6762
  {
6721
6763
  "name": "disabled",
6764
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
6722
6765
  "fieldName": "disabled",
6723
6766
  "inheritedFrom": {
6724
6767
  "name": "BaseInput",
@@ -6731,6 +6774,7 @@
6731
6774
  "text": "boolean"
6732
6775
  },
6733
6776
  "default": "false",
6777
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
6734
6778
  "fieldName": "readonly",
6735
6779
  "inheritedFrom": {
6736
6780
  "name": "BaseInput",
@@ -6743,6 +6787,7 @@
6743
6787
  "text": "boolean"
6744
6788
  },
6745
6789
  "default": "false",
6790
+ "description": "Requires a value before the form can submit.",
6746
6791
  "fieldName": "required",
6747
6792
  "inheritedFrom": {
6748
6793
  "name": "BaseInput",
@@ -6755,6 +6800,7 @@
6755
6800
  "text": "boolean"
6756
6801
  },
6757
6802
  "default": "false",
6803
+ "description": "Shows a loading placeholder in place of the control.",
6758
6804
  "fieldName": "skeleton",
6759
6805
  "inheritedFrom": {
6760
6806
  "name": "BaseInput",
@@ -7353,6 +7399,7 @@
7353
7399
  "text": "string"
7354
7400
  },
7355
7401
  "default": "''",
7402
+ "description": "Hint shown inside the empty control.",
7356
7403
  "fieldName": "placeholder",
7357
7404
  "inheritedFrom": {
7358
7405
  "name": "BaseField",
@@ -7391,6 +7438,7 @@
7391
7438
  "text": "string"
7392
7439
  },
7393
7440
  "default": "''",
7441
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
7394
7442
  "fieldName": "errorText",
7395
7443
  "inheritedFrom": {
7396
7444
  "name": "BaseField",
@@ -7416,6 +7464,7 @@
7416
7464
  "text": "string"
7417
7465
  },
7418
7466
  "default": "''",
7467
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
7419
7468
  "fieldName": "warningText",
7420
7469
  "inheritedFrom": {
7421
7470
  "name": "BaseField",
@@ -7479,6 +7528,7 @@
7479
7528
  },
7480
7529
  {
7481
7530
  "name": "name",
7531
+ "description": "The name the value is submitted under in a form.",
7482
7532
  "fieldName": "name",
7483
7533
  "inheritedFrom": {
7484
7534
  "name": "BaseInput",
@@ -7487,6 +7537,7 @@
7487
7537
  },
7488
7538
  {
7489
7539
  "name": "disabled",
7540
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
7490
7541
  "fieldName": "disabled",
7491
7542
  "inheritedFrom": {
7492
7543
  "name": "BaseInput",
@@ -7499,6 +7550,7 @@
7499
7550
  "text": "boolean"
7500
7551
  },
7501
7552
  "default": "false",
7553
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
7502
7554
  "fieldName": "readonly",
7503
7555
  "inheritedFrom": {
7504
7556
  "name": "BaseInput",
@@ -7511,6 +7563,7 @@
7511
7563
  "text": "boolean"
7512
7564
  },
7513
7565
  "default": "false",
7566
+ "description": "Requires a value before the form can submit.",
7514
7567
  "fieldName": "required",
7515
7568
  "inheritedFrom": {
7516
7569
  "name": "BaseInput",
@@ -7523,6 +7576,7 @@
7523
7576
  "text": "boolean"
7524
7577
  },
7525
7578
  "default": "false",
7579
+ "description": "Shows a loading placeholder in place of the control.",
7526
7580
  "fieldName": "skeleton",
7527
7581
  "inheritedFrom": {
7528
7582
  "name": "BaseInput",
@@ -7712,6 +7766,7 @@
7712
7766
  "text": "string"
7713
7767
  },
7714
7768
  "default": "''",
7769
+ "description": "Hint shown inside the empty control.",
7715
7770
  "fieldName": "placeholder",
7716
7771
  "inheritedFrom": {
7717
7772
  "name": "BaseField",
@@ -7750,6 +7805,7 @@
7750
7805
  "text": "string"
7751
7806
  },
7752
7807
  "default": "''",
7808
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
7753
7809
  "fieldName": "errorText",
7754
7810
  "inheritedFrom": {
7755
7811
  "name": "BaseField",
@@ -7775,6 +7831,7 @@
7775
7831
  "text": "string"
7776
7832
  },
7777
7833
  "default": "''",
7834
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
7778
7835
  "fieldName": "warningText",
7779
7836
  "inheritedFrom": {
7780
7837
  "name": "BaseField",
@@ -7838,6 +7895,7 @@
7838
7895
  },
7839
7896
  {
7840
7897
  "name": "name",
7898
+ "description": "The name the value is submitted under in a form.",
7841
7899
  "fieldName": "name",
7842
7900
  "inheritedFrom": {
7843
7901
  "name": "BaseInput",
@@ -7846,6 +7904,7 @@
7846
7904
  },
7847
7905
  {
7848
7906
  "name": "disabled",
7907
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
7849
7908
  "fieldName": "disabled",
7850
7909
  "inheritedFrom": {
7851
7910
  "name": "BaseInput",
@@ -7858,6 +7917,7 @@
7858
7917
  "text": "boolean"
7859
7918
  },
7860
7919
  "default": "false",
7920
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
7861
7921
  "fieldName": "readonly",
7862
7922
  "inheritedFrom": {
7863
7923
  "name": "BaseInput",
@@ -7870,6 +7930,7 @@
7870
7930
  "text": "boolean"
7871
7931
  },
7872
7932
  "default": "false",
7933
+ "description": "Requires a value before the form can submit.",
7873
7934
  "fieldName": "required",
7874
7935
  "inheritedFrom": {
7875
7936
  "name": "BaseInput",
@@ -7882,6 +7943,7 @@
7882
7943
  "text": "boolean"
7883
7944
  },
7884
7945
  "default": "false",
7946
+ "description": "Shows a loading placeholder in place of the control.",
7885
7947
  "fieldName": "skeleton",
7886
7948
  "inheritedFrom": {
7887
7949
  "name": "BaseInput",
@@ -8045,6 +8107,7 @@
8045
8107
  "text": "boolean"
8046
8108
  },
8047
8109
  "default": "false",
8110
+ "description": "Disables the calendar: no date can be focused or picked.",
8048
8111
  "fieldName": "disabled"
8049
8112
  },
8050
8113
  {
@@ -8053,6 +8116,7 @@
8053
8116
  "text": "boolean"
8054
8117
  },
8055
8118
  "default": "false",
8119
+ "description": "Shows the selected date but stops the user changing it.",
8056
8120
  "fieldName": "readonly"
8057
8121
  }
8058
8122
  ],
@@ -8243,6 +8307,7 @@
8243
8307
  "text": "string"
8244
8308
  },
8245
8309
  "default": "''",
8310
+ "description": "Hint shown inside the empty control.",
8246
8311
  "fieldName": "placeholder",
8247
8312
  "inheritedFrom": {
8248
8313
  "name": "BaseField",
@@ -8281,6 +8346,7 @@
8281
8346
  "text": "string"
8282
8347
  },
8283
8348
  "default": "''",
8349
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
8284
8350
  "fieldName": "errorText",
8285
8351
  "inheritedFrom": {
8286
8352
  "name": "BaseField",
@@ -8306,6 +8372,7 @@
8306
8372
  "text": "string"
8307
8373
  },
8308
8374
  "default": "''",
8375
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
8309
8376
  "fieldName": "warningText",
8310
8377
  "inheritedFrom": {
8311
8378
  "name": "BaseField",
@@ -8369,6 +8436,7 @@
8369
8436
  },
8370
8437
  {
8371
8438
  "name": "name",
8439
+ "description": "The name the value is submitted under in a form.",
8372
8440
  "fieldName": "name",
8373
8441
  "inheritedFrom": {
8374
8442
  "name": "BaseInput",
@@ -8377,6 +8445,7 @@
8377
8445
  },
8378
8446
  {
8379
8447
  "name": "disabled",
8448
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
8380
8449
  "fieldName": "disabled",
8381
8450
  "inheritedFrom": {
8382
8451
  "name": "BaseInput",
@@ -8389,6 +8458,7 @@
8389
8458
  "text": "boolean"
8390
8459
  },
8391
8460
  "default": "false",
8461
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
8392
8462
  "fieldName": "readonly",
8393
8463
  "inheritedFrom": {
8394
8464
  "name": "BaseInput",
@@ -8401,6 +8471,7 @@
8401
8471
  "text": "boolean"
8402
8472
  },
8403
8473
  "default": "false",
8474
+ "description": "Requires a value before the form can submit.",
8404
8475
  "fieldName": "required",
8405
8476
  "inheritedFrom": {
8406
8477
  "name": "BaseInput",
@@ -8413,6 +8484,7 @@
8413
8484
  "text": "boolean"
8414
8485
  },
8415
8486
  "default": "false",
8487
+ "description": "Shows a loading placeholder in place of the control.",
8416
8488
  "fieldName": "skeleton",
8417
8489
  "inheritedFrom": {
8418
8490
  "name": "BaseInput",
@@ -8631,6 +8703,7 @@
8631
8703
  "text": "string"
8632
8704
  },
8633
8705
  "default": "''",
8706
+ "description": "Hint shown inside the empty control.",
8634
8707
  "fieldName": "placeholder",
8635
8708
  "inheritedFrom": {
8636
8709
  "name": "BaseField",
@@ -8669,6 +8742,7 @@
8669
8742
  "text": "string"
8670
8743
  },
8671
8744
  "default": "''",
8745
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
8672
8746
  "fieldName": "errorText",
8673
8747
  "inheritedFrom": {
8674
8748
  "name": "BaseField",
@@ -8694,6 +8768,7 @@
8694
8768
  "text": "string"
8695
8769
  },
8696
8770
  "default": "''",
8771
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
8697
8772
  "fieldName": "warningText",
8698
8773
  "inheritedFrom": {
8699
8774
  "name": "BaseField",
@@ -8757,6 +8832,7 @@
8757
8832
  },
8758
8833
  {
8759
8834
  "name": "name",
8835
+ "description": "The name the value is submitted under in a form.",
8760
8836
  "fieldName": "name",
8761
8837
  "inheritedFrom": {
8762
8838
  "name": "BaseInput",
@@ -8765,6 +8841,7 @@
8765
8841
  },
8766
8842
  {
8767
8843
  "name": "disabled",
8844
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
8768
8845
  "fieldName": "disabled",
8769
8846
  "inheritedFrom": {
8770
8847
  "name": "BaseInput",
@@ -8777,6 +8854,7 @@
8777
8854
  "text": "boolean"
8778
8855
  },
8779
8856
  "default": "false",
8857
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
8780
8858
  "fieldName": "readonly",
8781
8859
  "inheritedFrom": {
8782
8860
  "name": "BaseInput",
@@ -8789,6 +8867,7 @@
8789
8867
  "text": "boolean"
8790
8868
  },
8791
8869
  "default": "false",
8870
+ "description": "Requires a value before the form can submit.",
8792
8871
  "fieldName": "required",
8793
8872
  "inheritedFrom": {
8794
8873
  "name": "BaseInput",
@@ -8801,6 +8880,7 @@
8801
8880
  "text": "boolean"
8802
8881
  },
8803
8882
  "default": "false",
8883
+ "description": "Shows a loading placeholder in place of the control.",
8804
8884
  "fieldName": "skeleton",
8805
8885
  "inheritedFrom": {
8806
8886
  "name": "BaseInput",
@@ -8833,6 +8913,304 @@
8833
8913
  }
8834
8914
  }
8835
8915
  },
8916
+ {
8917
+ "label": "Dependency map",
8918
+ "tag": "wc-dependency-map",
8919
+ "rawTag": "dependency-map",
8920
+ "summary": "An explorable map of connected services and assets: service meshes, CMDB relationships, infrastructure.",
8921
+ "overview": "<p>Set <code>nodes</code>, <code>edges</code> and optionally <code>groups</code>. Each node has a\n<code>type</code>, a <code>status</code> (healthy, degraded, down) shown as a ring, and an optional\n<code>group</code> (a cluster, namespace or business service) drawn as a box. Edges get thicker with\ntraffic (<code>metrics.rps</code>) and warmer with errors (<code>metrics.errorRate</code>); hover one\nfor its metrics. A collapsed group becomes one node with combined status and edges.</p>\n<p><code>layout</code> is <code>force</code> (organic, groups drift together), <code>layered</code>\n(callers on the left, dependencies on the right) or <code>radial</code> (rings of hops around the\nfocused or selected node). Live updates move as little as possible, and changing layout glides.\nDrag a node to pin it.</p>\n<p>Select a node and set <code>impact</code> to <code>upstream</code> to light up everything that\ndepends on it (what breaks if it goes down), or <code>downstream</code> for everything it depends on;\nthe rest dims. <code>focused-node</code> shows only the nodes within <code>hops</code> of one node (press F\non a node). <code>filter</code> limits nodes by type, status, tag or text, and the legend's types toggle\nit. Zoomed out, nodes become status dots; zoomed in, they show their metrics.</p>\n<p>Nodes are buttons with one tab stop. Down moves to a node it depends on, Up to one that depends\non it, Left and Right to the other nodes along that step, Enter selects, F focuses and Escape\nclears. The canvas is infinite like <code>wc-diagram</code>, with the <code>controls</code> and\n<code>minimap</code> slots.</p>",
8922
+ "example": "```html\n<wc-dependency-map id=\"mesh\" style=\"height: 500px\"></wc-dependency-map>\n<script>\n const map = document.getElementById('mesh');\n map.nodes = [\n { id: 'web', type: 'Service', headline: 'checkout-web', status: 'healthy' },\n { id: 'api', type: 'Service', headline: 'payments-api', status: 'degraded' },\n { id: 'db', type: 'Database', headline: 'payments-db', status: 'degraded', icon: 'database' }\n ];\n map.edges = [\n { id: 'e1', source: 'web', target: 'api', metrics: { rps: 420 } },\n { id: 'e2', source: 'api', target: 'db', metrics: { rps: 1200, errorRate: 0.008 } }\n ];\n</script>\n```",
8923
+ "slot": "minimap - A `wc-diagram-minimap`, shown at the bottom end corner.",
8924
+ "fires": "viewport-change - Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
8925
+ "cssprop": "--dependency-map-background - Canvas background. Defaults to surface-container-lowest.",
8926
+ "tags": "data",
8927
+ "customElement": {
8928
+ "kind": "class",
8929
+ "description": "",
8930
+ "cssProperties": [
8931
+ {
8932
+ "description": "Colour of edges. Defaults to outline.",
8933
+ "name": "--dependency-map-edge-color"
8934
+ },
8935
+ {
8936
+ "description": "Colour of the impact path. Defaults to the orange palette.",
8937
+ "name": "--dependency-map-impact-color"
8938
+ },
8939
+ {
8940
+ "description": "Canvas background. Defaults to surface-container-lowest.",
8941
+ "name": "--dependency-map-background"
8942
+ }
8943
+ ],
8944
+ "slots": [
8945
+ {
8946
+ "description": "A `wc-diagram-controls`, shown at the bottom start corner.",
8947
+ "name": "controls"
8948
+ },
8949
+ {
8950
+ "description": "A `wc-diagram-minimap`, shown at the bottom end corner.",
8951
+ "name": "minimap"
8952
+ }
8953
+ ],
8954
+ "events": [
8955
+ {
8956
+ "type": {
8957
+ "text": "CustomEvent<DependencyMapSelectDetail>"
8958
+ },
8959
+ "description": "A node or collapsed group was chosen. Detail contains `{ id, node, group }`.",
8960
+ "name": "select"
8961
+ },
8962
+ {
8963
+ "type": {
8964
+ "text": "CustomEvent<DependencyMapFocusDetail>"
8965
+ },
8966
+ "description": "Focus mode was turned on or off with the keyboard. Detail contains `{ id, hops }`.",
8967
+ "name": "focus-change"
8968
+ },
8969
+ {
8970
+ "type": {
8971
+ "text": "CustomEvent<DependencyMapFilterDetail>"
8972
+ },
8973
+ "description": "The legend changed the filter. Detail contains `{ filter }`.",
8974
+ "name": "filter-change"
8975
+ },
8976
+ {
8977
+ "type": {
8978
+ "text": "CustomEvent<DependencyMapMoveDetail>"
8979
+ },
8980
+ "description": "A dragged node was dropped and pinned there. Detail contains `{ id, position }`.",
8981
+ "name": "node-drag-end"
8982
+ },
8983
+ {
8984
+ "type": {
8985
+ "text": "CustomEvent<DependencyMapGroupDetail>"
8986
+ },
8987
+ "description": "A group was collapsed or expanded. Detail contains `{ id, collapsed }`.",
8988
+ "name": "group-toggle"
8989
+ },
8990
+ {
8991
+ "type": {
8992
+ "text": "CustomEvent<DependencyMapViewportDetail>"
8993
+ },
8994
+ "description": "Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
8995
+ "name": "viewport-change"
8996
+ },
8997
+ {
8998
+ "name": "type",
8999
+ "type": {
9000
+ "text": "CustomEvent"
9001
+ },
9002
+ "inheritedFrom": {
9003
+ "name": "DiagramCanvasElement",
9004
+ "module": "src/__internal/diagram/canvas-base.ts"
9005
+ }
9006
+ }
9007
+ ],
9008
+ "attributes": [
9009
+ {
9010
+ "name": "layout",
9011
+ "type": {
9012
+ "text": "DependencyMapLayout"
9013
+ },
9014
+ "default": "'force'",
9015
+ "description": "How nodes are arranged.",
9016
+ "fieldName": "layout",
9017
+ "expandedType": {
9018
+ "text": "'force' | 'layered' | 'radial'"
9019
+ }
9020
+ },
9021
+ {
9022
+ "name": "impact",
9023
+ "type": {
9024
+ "text": "DependencyMapImpact"
9025
+ },
9026
+ "default": "'none'",
9027
+ "description": "Highlights what depends on the selected node (`upstream`) or what it depends on (`downstream`).",
9028
+ "fieldName": "impact",
9029
+ "expandedType": {
9030
+ "text": "'none' | 'upstream' | 'downstream'"
9031
+ }
9032
+ },
9033
+ {
9034
+ "name": "focused-node",
9035
+ "type": {
9036
+ "text": "string"
9037
+ },
9038
+ "default": "''",
9039
+ "description": "Shows only the nodes within `hops` of this node.",
9040
+ "fieldName": "focusedNode"
9041
+ },
9042
+ {
9043
+ "name": "hops",
9044
+ "type": {
9045
+ "text": "number"
9046
+ },
9047
+ "default": "2",
9048
+ "description": "How far focus mode reaches.",
9049
+ "fieldName": "hops"
9050
+ },
9051
+ {
9052
+ "name": "selected",
9053
+ "type": {
9054
+ "text": "string"
9055
+ },
9056
+ "default": "''",
9057
+ "description": "Id of the selected node or collapsed group.",
9058
+ "fieldName": "selected"
9059
+ },
9060
+ {
9061
+ "name": "hide-legend",
9062
+ "type": {
9063
+ "text": "boolean"
9064
+ },
9065
+ "default": "false",
9066
+ "description": "Leaves out the legend.",
9067
+ "fieldName": "hideLegend"
9068
+ },
9069
+ {
9070
+ "name": "zoom",
9071
+ "type": {
9072
+ "text": "number"
9073
+ },
9074
+ "default": "1",
9075
+ "description": "The camera's scale. Follows wheel and pinch zooming; set it to zoom around the centre.",
9076
+ "fieldName": "zoom",
9077
+ "inheritedFrom": {
9078
+ "name": "DiagramCanvasElement",
9079
+ "module": "src/__internal/diagram/canvas-base.ts"
9080
+ }
9081
+ },
9082
+ {
9083
+ "name": "padding",
9084
+ "type": {
9085
+ "text": "number"
9086
+ },
9087
+ "default": "50",
9088
+ "description": "Screen pixels kept around content when fitting it.",
9089
+ "fieldName": "padding",
9090
+ "inheritedFrom": {
9091
+ "name": "DiagramCanvasElement",
9092
+ "module": "src/__internal/diagram/canvas-base.ts"
9093
+ }
9094
+ },
9095
+ {
9096
+ "name": "start-position",
9097
+ "type": {
9098
+ "text": "DiagramStartPosition"
9099
+ },
9100
+ "default": "'fit'",
9101
+ "description": "Where the camera starts: fit all content, the canvas origin at 100%, or the first item at 100%.",
9102
+ "fieldName": "startPosition",
9103
+ "expandedType": {
9104
+ "text": "'fit' | 'origin' | 'first'"
9105
+ },
9106
+ "inheritedFrom": {
9107
+ "name": "DiagramCanvasElement",
9108
+ "module": "src/__internal/diagram/canvas-base.ts"
9109
+ }
9110
+ },
9111
+ {
9112
+ "name": "start-view",
9113
+ "type": {
9114
+ "text": "DiagramView | undefined"
9115
+ },
9116
+ "description": "An exact starting camera, `{ x, y, zoom }`, for example one saved from `viewport-change`. Wins over `start-position`.",
9117
+ "fieldName": "startView",
9118
+ "inheritedFrom": {
9119
+ "name": "DiagramCanvasElement",
9120
+ "module": "src/__internal/diagram/canvas-base.ts"
9121
+ }
9122
+ },
9123
+ {
9124
+ "name": "min-zoom",
9125
+ "type": {
9126
+ "text": "number"
9127
+ },
9128
+ "default": "0.1",
9129
+ "description": "Smallest zoom.",
9130
+ "fieldName": "minZoom",
9131
+ "inheritedFrom": {
9132
+ "name": "DiagramCanvasElement",
9133
+ "module": "src/__internal/diagram/canvas-base.ts"
9134
+ }
9135
+ },
9136
+ {
9137
+ "name": "max-zoom",
9138
+ "type": {
9139
+ "text": "number"
9140
+ },
9141
+ "default": "4",
9142
+ "description": "Largest zoom.",
9143
+ "fieldName": "maxZoom",
9144
+ "inheritedFrom": {
9145
+ "name": "DiagramCanvasElement",
9146
+ "module": "src/__internal/diagram/canvas-base.ts"
9147
+ }
9148
+ },
9149
+ {
9150
+ "name": "grid-size",
9151
+ "type": {
9152
+ "text": "number"
9153
+ },
9154
+ "default": "20",
9155
+ "description": "Spacing of the background dots, in canvas pixels.",
9156
+ "fieldName": "gridSize",
9157
+ "inheritedFrom": {
9158
+ "name": "DiagramCanvasElement",
9159
+ "module": "src/__internal/diagram/canvas-base.ts"
9160
+ }
9161
+ },
9162
+ {
9163
+ "name": "editable",
9164
+ "type": {
9165
+ "text": "boolean"
9166
+ },
9167
+ "default": "false",
9168
+ "description": "Turns on editing.",
9169
+ "fieldName": "editable",
9170
+ "inheritedFrom": {
9171
+ "name": "DiagramCanvasElement",
9172
+ "module": "src/__internal/diagram/canvas-base.ts"
9173
+ }
9174
+ },
9175
+ {
9176
+ "name": "readonly",
9177
+ "type": {
9178
+ "text": "boolean"
9179
+ },
9180
+ "default": "false",
9181
+ "description": "Keeps content in place; the person can still pan, zoom and select.",
9182
+ "fieldName": "readonly",
9183
+ "inheritedFrom": {
9184
+ "name": "DiagramCanvasElement",
9185
+ "module": "src/__internal/diagram/canvas-base.ts"
9186
+ }
9187
+ },
9188
+ {
9189
+ "name": "label",
9190
+ "type": {
9191
+ "text": "string"
9192
+ },
9193
+ "default": "''",
9194
+ "description": "The canvas's accessible name.",
9195
+ "fieldName": "label",
9196
+ "inheritedFrom": {
9197
+ "name": "DiagramCanvasElement",
9198
+ "module": "src/__internal/diagram/canvas-base.ts"
9199
+ }
9200
+ }
9201
+ ],
9202
+ "superclass": {
9203
+ "name": "DiagramCanvasElement",
9204
+ "package": "@/__internal/diagram/canvas-base.js"
9205
+ },
9206
+ "tagName": "wc-dependency-map",
9207
+ "customElement": true,
9208
+ "rawTag": {
9209
+ "name": "dependency-map",
9210
+ "description": ""
9211
+ }
9212
+ }
9213
+ },
8836
9214
  {
8837
9215
  "label": "Description Item",
8838
9216
  "tag": "wc-description-item",
@@ -8958,94 +9336,500 @@
8958
9336
  }
8959
9337
  },
8960
9338
  {
8961
- "label": "Diff Viewer",
8962
- "tag": "wc-diff-viewer",
8963
- "rawTag": "diff-viewer",
8964
- "summary": "Shows what changed between two texts, such as two versions of a config or document.",
8965
- "overview": "<p>The viewer compares <code>old-value</code> and <code>new-value</code> line by line\n(Myers' algorithm) and marks the changed words inside each pair of changed lines. A summary\nsuch as \"3 additions, 2 deletions\" sits at the top. Unchanged lines more than\n<code>context</code> lines (default 3) away from a change fold into a \"Show 24 unchanged lines\"\nbutton that expands them.</p>\n<p><code>view=\"unified\"</code> (the default) lists removed lines before the added lines that\nreplace them, with old and new line numbers; <code>view=\"split\"</code> puts the old text on the\nleft and the new text on the right (code reads left to right, also in right-to-left pages).</p>\n<p>Lines are compared without their line endings, so CRLF and LF texts match; a note says when\nthe endings differ. A last line without a line break is marked when the other side has one.\nTexts that are too different or too large to compare line by line within a time budget are\nshown as the changed part removed and then added, with a note.</p>\n<p>The diff is a table: each row is a line, removed and added lines carry a <code>−</code> or\n<code>+</code> marker besides their color, and screen readers hear \"Removed line 12\" or\n\"Added line 13\" before the text. The text is shown plain, without syntax highlighting.</p>",
8966
- "cssprop": "--diff-viewer-removed-color - Hue of removed lines and words. Defaults to `--color-error`.",
8967
- "csspart": "content - The scrollable area holding the table.",
8968
- "example": "```html\n<wc-diff-viewer view=\"split\" context=\"1\" old-value=\"a&#10;b&#10;c\" new-value=\"a&#10;B&#10;c\"></wc-diff-viewer>\n```",
8969
- "tags": "display",
9339
+ "label": "Diagram",
9340
+ "tag": "wc-diagram",
9341
+ "rawTag": "diagram",
9342
+ "summary": "An infinite canvas of nodes and connections that the person pans, zooms and edits, for state machines, process maps and node editors.",
9343
+ "overview": "<p>Set <code>nodes</code> and <code>edges</code> as properties. A node shows a built-in card with\n<code>headline</code>, <code>supportingText</code> and <code>icon</code>, or your own content in an\nelement with <code>slot=\"node:&lt;id&gt;\"</code>. Nodes connect through <code>ports</code> on their\nsides; edges are drawn as rounded elbows by default (<code>connector</code>), with an optional label\nand markers at each end.</p>\n<p>The canvas is infinite: drag the background, hold Space and drag, use the middle button or a\ntrackpad to pan, and hold Ctrl or Command and scroll, or pinch, to zoom. It opens at\n<code>start-position</code> (<code>fit</code>, <code>origin</code> or <code>first</code>) or at an exact\n<code>start-view</code>; Home or <code>home()</code> flies back there, Shift+1 or <code>fit()</code> fits\nall content, and a \"Back to content\" button appears when everything is out of view. Read and set\nthe camera with <code>view</code>, and save it from <code>viewport-change</code>. Add\n<code>wc-diagram-controls</code> and <code>wc-diagram-minimap</code> in the <code>controls</code> and\n<code>minimap</code> slots.</p>\n<p>By default nodes can be dragged and connections drawn; the diagram fires <code>node-drag-end</code>\nand <code>connect</code> and leaves edges to you. <code>editable</code> turns it into a full editor:\nit adds the edge on <code>connect</code> unless you cancel the event, selects edges, draws a marquee\nwith Shift + drag, moves several nodes at once, snaps to other nodes (and to the grid with\n<code>snap-to-grid</code>), deletes with Delete, copies and pastes, and undoes with Ctrl+Z. Every\ncommitted edit fires <code>change</code>. <code>readonly</code> keeps everything in place.</p>\n<p>The diagram never mutates the objects you pass: edits assign new <code>nodes</code> and\n<code>edges</code> arrays. Each node is focusable and named by its headline. Arrow keys move the\nfocused node by 20px (Shift: 100px), Alt + arrow moves focus to the nearest node in that\ndirection, and Enter or Space selects it. Arrow keys follow the canvas axes and are not mirrored in\nright-to-left layouts.</p>\n<p>This component was called <code>wc-flow</code> before 4.0. That tag still works as a\ndeprecated alias until 5.0.</p>",
9344
+ "example": "```html\n<wc-diagram id=\"my-diagram\" style=\"height: 400px\">\n <wc-diagram-controls slot=\"controls\"></wc-diagram-controls>\n <wc-diagram-minimap slot=\"minimap\"></wc-diagram-minimap>\n</wc-diagram>\n<script>\n const diagram = document.getElementById('my-diagram');\n diagram.nodes = [\n { id: 'new', position: { x: 0, y: 0 }, headline: 'New', icon: 'fiber_new' },\n { id: 'done', position: { x: 300, y: 0 }, headline: 'Done', icon: 'task_alt' }\n ];\n diagram.edges = [{ id: 'e1', source: 'new', target: 'done', label: 'finish' }];\n</script>\n```",
9345
+ "slot": "node:<id> - Custom content for the node with that id, in place of the built-in card.",
9346
+ "fires": "viewport-change - Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
9347
+ "cssprop": "--diagram-node-background - Background of the built-in card.",
9348
+ "tags": "data",
8970
9349
  "customElement": {
8971
9350
  "kind": "class",
8972
9351
  "description": "",
8973
9352
  "cssProperties": [
8974
9353
  {
8975
- "description": "Block background. Defaults to `--color-surface-container-low`.",
8976
- "name": "--diff-viewer-background"
8977
- },
8978
- {
8979
- "description": "Block border color. Defaults to `--color-outline-variant`.",
8980
- "name": "--diff-viewer-border-color"
9354
+ "description": "Canvas background. Defaults to surface-container-lowest.",
9355
+ "name": "--diagram-background"
8981
9356
  },
8982
9357
  {
8983
- "description": "Block corner radius. Defaults to `--shape-corner-medium`.",
8984
- "name": "--diff-viewer-shape"
9358
+ "description": "Colour of the grid dots. Defaults to outline-variant.",
9359
+ "name": "--diagram-dot-color"
8985
9360
  },
8986
9361
  {
8987
- "description": "Text color. Defaults to `--color-on-surface`.",
8988
- "name": "--diff-viewer-foreground"
9362
+ "description": "Colour of edges at rest. Defaults to a mix of primary and outline-variant.",
9363
+ "name": "--diagram-line-color"
8989
9364
  },
8990
9365
  {
8991
- "description": "Caps the height of the lines; they scroll beyond. Defaults to `none`.",
8992
- "name": "--diff-viewer-max-height"
9366
+ "description": "Colour of hovered and selected edges, ports and nodes. Defaults to primary.",
9367
+ "name": "--diagram-hover-color"
8993
9368
  },
8994
9369
  {
8995
- "description": "Hue of added lines and words. Defaults to `--color-success`.",
8996
- "name": "--diff-viewer-added-color"
9370
+ "description": "Diameter of a port ring. Defaults to 10px.",
9371
+ "name": "--diagram-port-size"
8997
9372
  },
8998
9373
  {
8999
- "description": "Hue of removed lines and words. Defaults to `--color-error`.",
9000
- "name": "--diff-viewer-removed-color"
9374
+ "description": "Background of the built-in card.",
9375
+ "name": "--diagram-node-background"
9001
9376
  }
9002
9377
  ],
9003
- "cssParts": [
9004
- {
9005
- "description": "The outer block.",
9006
- "name": "container"
9007
- },
9378
+ "slots": [
9008
9379
  {
9009
- "description": "The row with the label and the summary.",
9010
- "name": "header"
9380
+ "description": "A `wc-diagram-controls`, shown at the bottom start corner.",
9381
+ "name": "controls"
9011
9382
  },
9012
9383
  {
9013
- "description": "The additions and deletions summary.",
9014
- "name": "summary"
9384
+ "description": "A `wc-diagram-minimap`, shown at the bottom end corner.",
9385
+ "name": "minimap"
9015
9386
  },
9016
9387
  {
9017
- "description": "The scrollable area holding the table.",
9018
- "name": "content"
9388
+ "description": "Custom content for the node with that id, in place of the built-in card.",
9389
+ "name": "node:<id>"
9019
9390
  }
9020
9391
  ],
9021
- "attributes": [
9392
+ "events": [
9022
9393
  {
9023
- "name": "old-value",
9024
9394
  "type": {
9025
- "text": "string"
9395
+ "text": "CustomEvent<DiagramNodeMoveDetail>"
9026
9396
  },
9027
- "default": "''",
9028
- "description": "The text before the change.",
9029
- "fieldName": "oldValue"
9397
+ "description": "While a node is dragged. Detail contains `{ id, position }`.",
9398
+ "name": "node-drag"
9030
9399
  },
9031
9400
  {
9032
- "name": "new-value",
9033
9401
  "type": {
9034
- "text": "string"
9402
+ "text": "CustomEvent<DiagramNodeMoveDetail>"
9035
9403
  },
9036
- "default": "''",
9037
- "description": "The text after the change.",
9038
- "fieldName": "newValue"
9404
+ "description": "Once when a drag ends, and after each keyboard move. Detail contains `{ id, position }`.",
9405
+ "name": "node-drag-end"
9039
9406
  },
9040
9407
  {
9041
- "name": "view",
9042
9408
  "type": {
9043
- "text": "DiffViewerView"
9409
+ "text": "CustomEvent<DiagramSelectDetail>"
9044
9410
  },
9045
- "default": "'unified'",
9046
- "description": "`unified` lists both sides in one column; `split` shows them side by side.",
9047
- "fieldName": "view",
9048
- "expandedType": {
9411
+ "description": "A node or edge was chosen with a click, Enter or Space. Detail contains `{ id, kind, node, edge }`.",
9412
+ "name": "select"
9413
+ },
9414
+ {
9415
+ "type": {
9416
+ "text": "CustomEvent<DiagramConnectDetail>"
9417
+ },
9418
+ "description": "A connection was dragged onto a port. With `editable`, the diagram adds the edge unless the event is canceled. Detail contains `{ source, target, sourceHandle, targetHandle }`.",
9419
+ "name": "connect"
9420
+ },
9421
+ {
9422
+ "type": {
9423
+ "text": "CustomEvent<DiagramDeleteDetail>"
9424
+ },
9425
+ "description": "Before nodes and edges are deleted with `editable`. Cancel it to keep them. Detail contains `{ nodes, edges }` (ids).",
9426
+ "name": "delete"
9427
+ },
9428
+ {
9429
+ "type": {
9430
+ "text": "CustomEvent<DiagramChangeDetail>"
9431
+ },
9432
+ "description": "After a committed edit. Detail contains `{ nodes, edges, reason }`.",
9433
+ "name": "change"
9434
+ },
9435
+ {
9436
+ "type": {
9437
+ "text": "CustomEvent<DiagramViewportDetail>"
9438
+ },
9439
+ "description": "Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
9440
+ "name": "viewport-change"
9441
+ },
9442
+ {
9443
+ "name": "type",
9444
+ "type": {
9445
+ "text": "CustomEvent"
9446
+ },
9447
+ "inheritedFrom": {
9448
+ "name": "DiagramCanvasElement",
9449
+ "module": "src/__internal/diagram/canvas-base.ts"
9450
+ }
9451
+ }
9452
+ ],
9453
+ "attributes": [
9454
+ {
9455
+ "name": "nodes",
9456
+ "type": {
9457
+ "text": "DiagramNode[]"
9458
+ },
9459
+ "default": "[]",
9460
+ "description": "Nodes to draw. Replaced with a new array, never mutated, when the person edits.",
9461
+ "fieldName": "nodes"
9462
+ },
9463
+ {
9464
+ "name": "edges",
9465
+ "type": {
9466
+ "text": "DiagramEdge[]"
9467
+ },
9468
+ "default": "[]",
9469
+ "description": "Connections between node ports.",
9470
+ "fieldName": "edges"
9471
+ },
9472
+ {
9473
+ "name": "selected",
9474
+ "type": {
9475
+ "text": "string"
9476
+ },
9477
+ "default": "''",
9478
+ "description": "Id of the selected node or edge. With several selected, the last one chosen.",
9479
+ "fieldName": "selected"
9480
+ },
9481
+ {
9482
+ "name": "connector",
9483
+ "type": {
9484
+ "text": "DiagramConnector"
9485
+ },
9486
+ "default": "'elbow'",
9487
+ "description": "How edges without a `type` are drawn.",
9488
+ "fieldName": "connector",
9489
+ "expandedType": {
9490
+ "text": "'elbow' | 'bezier' | 'straight'"
9491
+ }
9492
+ },
9493
+ {
9494
+ "name": "snap-to-grid",
9495
+ "type": {
9496
+ "text": "boolean"
9497
+ },
9498
+ "default": "false",
9499
+ "description": "Snaps dragged nodes to the grid (`grid-size`).",
9500
+ "fieldName": "snapToGrid"
9501
+ },
9502
+ {
9503
+ "name": "zoom",
9504
+ "type": {
9505
+ "text": "number"
9506
+ },
9507
+ "default": "1",
9508
+ "description": "The camera's scale. Follows wheel and pinch zooming; set it to zoom around the centre.",
9509
+ "fieldName": "zoom",
9510
+ "inheritedFrom": {
9511
+ "name": "DiagramCanvasElement",
9512
+ "module": "src/__internal/diagram/canvas-base.ts"
9513
+ }
9514
+ },
9515
+ {
9516
+ "name": "padding",
9517
+ "type": {
9518
+ "text": "number"
9519
+ },
9520
+ "default": "50",
9521
+ "description": "Screen pixels kept around content when fitting it.",
9522
+ "fieldName": "padding",
9523
+ "inheritedFrom": {
9524
+ "name": "DiagramCanvasElement",
9525
+ "module": "src/__internal/diagram/canvas-base.ts"
9526
+ }
9527
+ },
9528
+ {
9529
+ "name": "start-position",
9530
+ "type": {
9531
+ "text": "DiagramStartPosition"
9532
+ },
9533
+ "default": "'fit'",
9534
+ "description": "Where the camera starts: fit all content, the canvas origin at 100%, or the first item at 100%.",
9535
+ "fieldName": "startPosition",
9536
+ "expandedType": {
9537
+ "text": "'fit' | 'origin' | 'first'"
9538
+ },
9539
+ "inheritedFrom": {
9540
+ "name": "DiagramCanvasElement",
9541
+ "module": "src/__internal/diagram/canvas-base.ts"
9542
+ }
9543
+ },
9544
+ {
9545
+ "name": "start-view",
9546
+ "type": {
9547
+ "text": "DiagramView | undefined"
9548
+ },
9549
+ "description": "An exact starting camera, `{ x, y, zoom }`, for example one saved from `viewport-change`. Wins over `start-position`.",
9550
+ "fieldName": "startView",
9551
+ "inheritedFrom": {
9552
+ "name": "DiagramCanvasElement",
9553
+ "module": "src/__internal/diagram/canvas-base.ts"
9554
+ }
9555
+ },
9556
+ {
9557
+ "name": "min-zoom",
9558
+ "type": {
9559
+ "text": "number"
9560
+ },
9561
+ "default": "0.1",
9562
+ "description": "Smallest zoom.",
9563
+ "fieldName": "minZoom",
9564
+ "inheritedFrom": {
9565
+ "name": "DiagramCanvasElement",
9566
+ "module": "src/__internal/diagram/canvas-base.ts"
9567
+ }
9568
+ },
9569
+ {
9570
+ "name": "max-zoom",
9571
+ "type": {
9572
+ "text": "number"
9573
+ },
9574
+ "default": "4",
9575
+ "description": "Largest zoom.",
9576
+ "fieldName": "maxZoom",
9577
+ "inheritedFrom": {
9578
+ "name": "DiagramCanvasElement",
9579
+ "module": "src/__internal/diagram/canvas-base.ts"
9580
+ }
9581
+ },
9582
+ {
9583
+ "name": "grid-size",
9584
+ "type": {
9585
+ "text": "number"
9586
+ },
9587
+ "default": "20",
9588
+ "description": "Spacing of the background dots, in canvas pixels.",
9589
+ "fieldName": "gridSize",
9590
+ "inheritedFrom": {
9591
+ "name": "DiagramCanvasElement",
9592
+ "module": "src/__internal/diagram/canvas-base.ts"
9593
+ }
9594
+ },
9595
+ {
9596
+ "name": "editable",
9597
+ "type": {
9598
+ "text": "boolean"
9599
+ },
9600
+ "default": "false",
9601
+ "description": "Turns on editing.",
9602
+ "fieldName": "editable",
9603
+ "inheritedFrom": {
9604
+ "name": "DiagramCanvasElement",
9605
+ "module": "src/__internal/diagram/canvas-base.ts"
9606
+ }
9607
+ },
9608
+ {
9609
+ "name": "readonly",
9610
+ "type": {
9611
+ "text": "boolean"
9612
+ },
9613
+ "default": "false",
9614
+ "description": "Keeps content in place; the person can still pan, zoom and select.",
9615
+ "fieldName": "readonly",
9616
+ "inheritedFrom": {
9617
+ "name": "DiagramCanvasElement",
9618
+ "module": "src/__internal/diagram/canvas-base.ts"
9619
+ }
9620
+ },
9621
+ {
9622
+ "name": "label",
9623
+ "type": {
9624
+ "text": "string"
9625
+ },
9626
+ "default": "''",
9627
+ "description": "The canvas's accessible name.",
9628
+ "fieldName": "label",
9629
+ "inheritedFrom": {
9630
+ "name": "DiagramCanvasElement",
9631
+ "module": "src/__internal/diagram/canvas-base.ts"
9632
+ }
9633
+ }
9634
+ ],
9635
+ "superclass": {
9636
+ "name": "DiagramCanvasElement",
9637
+ "package": "@/__internal/diagram/canvas-base.js"
9638
+ },
9639
+ "tagName": "wc-diagram",
9640
+ "customElement": true,
9641
+ "rawTag": {
9642
+ "name": "diagram",
9643
+ "description": ""
9644
+ }
9645
+ }
9646
+ },
9647
+ {
9648
+ "label": "Diagram controls",
9649
+ "tag": "wc-diagram-controls",
9650
+ "rawTag": "diagram-controls",
9651
+ "summary": "Zoom, fit, back-to-start and undo buttons for a diagram canvas such as `wc-diagram`.",
9652
+ "overview": "<p>Put it in a canvas's <code>controls</code> slot, or anywhere on the page with <code>for</code> set\nto the canvas's id. It shows zoom out, the zoom level, zoom in, fit to content and back to start;\nundo and redo join them when the canvas is <code>editable</code>. The zoom level opens a menu with\n50%, 100%, 200%, fit, zoom to selection and back to start.</p>\n<p>It is a <code>toolbar</code>: Tab reaches it once and the arrow keys move between its buttons.</p>",
9653
+ "example": "```html\n<wc-diagram style=\"height: 400px\">\n <wc-diagram-controls slot=\"controls\"></wc-diagram-controls>\n</wc-diagram>\n```",
9654
+ "tags": "data",
9655
+ "customElement": {
9656
+ "kind": "class",
9657
+ "description": "",
9658
+ "attributes": [
9659
+ {
9660
+ "name": "for",
9661
+ "type": {
9662
+ "text": "string"
9663
+ },
9664
+ "default": "''",
9665
+ "description": "Id of the canvas to control, when the controls are not inside it.",
9666
+ "fieldName": "for"
9667
+ },
9668
+ {
9669
+ "name": "orientation",
9670
+ "type": {
9671
+ "text": "'horizontal' | 'vertical'"
9672
+ },
9673
+ "default": "'horizontal'",
9674
+ "description": "Lays the buttons out in a row or a column.",
9675
+ "fieldName": "orientation"
9676
+ },
9677
+ {
9678
+ "name": "hide-history",
9679
+ "type": {
9680
+ "text": "boolean"
9681
+ },
9682
+ "default": "false",
9683
+ "description": "Leaves out undo and redo even when the canvas is editable.",
9684
+ "fieldName": "hideHistory"
9685
+ }
9686
+ ],
9687
+ "superclass": {
9688
+ "name": "LitElement",
9689
+ "package": "lit"
9690
+ },
9691
+ "tagName": "wc-diagram-controls",
9692
+ "customElement": true,
9693
+ "rawTag": {
9694
+ "name": "diagram-controls",
9695
+ "description": ""
9696
+ }
9697
+ }
9698
+ },
9699
+ {
9700
+ "label": "Diagram minimap",
9701
+ "tag": "wc-diagram-minimap",
9702
+ "rawTag": "diagram-minimap",
9703
+ "summary": "A small overview of a diagram canvas that shows where the view is and moves it.",
9704
+ "overview": "<p>Put it in a canvas's <code>minimap</code> slot, or anywhere with <code>for</code> set to the\ncanvas's id. It draws every node as a box and the part of the canvas in view as a rectangle,\nwherever the view has wandered. Click to fly there, or drag to move the view.</p>\n<p>The minimap is a pointer shortcut; keyboard users pan the canvas itself with the arrow keys.</p>",
9705
+ "example": "```html\n<wc-diagram style=\"height: 400px\">\n <wc-diagram-minimap slot=\"minimap\"></wc-diagram-minimap>\n</wc-diagram>\n```",
9706
+ "cssprop": "--diagram-minimap-height - Height. Defaults to 132px.",
9707
+ "tags": "data",
9708
+ "customElement": {
9709
+ "kind": "class",
9710
+ "description": "",
9711
+ "cssProperties": [
9712
+ {
9713
+ "description": "Width. Defaults to 200px.",
9714
+ "name": "--diagram-minimap-width"
9715
+ },
9716
+ {
9717
+ "description": "Height. Defaults to 132px.",
9718
+ "name": "--diagram-minimap-height"
9719
+ }
9720
+ ],
9721
+ "attributes": [
9722
+ {
9723
+ "name": "for",
9724
+ "type": {
9725
+ "text": "string"
9726
+ },
9727
+ "default": "''",
9728
+ "description": "Id of the canvas to show, when the minimap is not inside it.",
9729
+ "fieldName": "for"
9730
+ }
9731
+ ],
9732
+ "superclass": {
9733
+ "name": "LitElement",
9734
+ "package": "lit"
9735
+ },
9736
+ "tagName": "wc-diagram-minimap",
9737
+ "customElement": true,
9738
+ "rawTag": {
9739
+ "name": "diagram-minimap",
9740
+ "description": ""
9741
+ }
9742
+ }
9743
+ },
9744
+ {
9745
+ "label": "Diff Viewer",
9746
+ "tag": "wc-diff-viewer",
9747
+ "rawTag": "diff-viewer",
9748
+ "summary": "Shows what changed between two texts, such as two versions of a config or document.",
9749
+ "overview": "<p>The viewer compares <code>old-value</code> and <code>new-value</code> line by line\n(Myers' algorithm) and marks the changed words inside each pair of changed lines. A summary\nsuch as \"3 additions, 2 deletions\" sits at the top. Unchanged lines more than\n<code>context</code> lines (default 3) away from a change fold into a \"Show 24 unchanged lines\"\nbutton that expands them.</p>\n<p><code>view=\"unified\"</code> (the default) lists removed lines before the added lines that\nreplace them, with old and new line numbers; <code>view=\"split\"</code> puts the old text on the\nleft and the new text on the right (code reads left to right, also in right-to-left pages).</p>\n<p>Lines are compared without their line endings, so CRLF and LF texts match; a note says when\nthe endings differ. A last line without a line break is marked when the other side has one.\nTexts that are too different or too large to compare line by line within a time budget are\nshown as the changed part removed and then added, with a note.</p>\n<p>The diff is a table: each row is a line, removed and added lines carry a <code>−</code> or\n<code>+</code> marker besides their color, and screen readers hear \"Removed line 12\" or\n\"Added line 13\" before the text. The text is shown plain, without syntax highlighting.</p>",
9750
+ "cssprop": "--diff-viewer-removed-color - Hue of removed lines and words. Defaults to `--color-error`.",
9751
+ "csspart": "content - The scrollable area holding the table.",
9752
+ "example": "```html\n<wc-diff-viewer view=\"split\" context=\"1\" old-value=\"a&#10;b&#10;c\" new-value=\"a&#10;B&#10;c\"></wc-diff-viewer>\n```",
9753
+ "tags": "display",
9754
+ "customElement": {
9755
+ "kind": "class",
9756
+ "description": "",
9757
+ "cssProperties": [
9758
+ {
9759
+ "description": "Block background. Defaults to `--color-surface-container-low`.",
9760
+ "name": "--diff-viewer-background"
9761
+ },
9762
+ {
9763
+ "description": "Block border color. Defaults to `--color-outline-variant`.",
9764
+ "name": "--diff-viewer-border-color"
9765
+ },
9766
+ {
9767
+ "description": "Block corner radius. Defaults to `--shape-corner-medium`.",
9768
+ "name": "--diff-viewer-shape"
9769
+ },
9770
+ {
9771
+ "description": "Text color. Defaults to `--color-on-surface`.",
9772
+ "name": "--diff-viewer-foreground"
9773
+ },
9774
+ {
9775
+ "description": "Caps the height of the lines; they scroll beyond. Defaults to `none`.",
9776
+ "name": "--diff-viewer-max-height"
9777
+ },
9778
+ {
9779
+ "description": "Hue of added lines and words. Defaults to `--color-success`.",
9780
+ "name": "--diff-viewer-added-color"
9781
+ },
9782
+ {
9783
+ "description": "Hue of removed lines and words. Defaults to `--color-error`.",
9784
+ "name": "--diff-viewer-removed-color"
9785
+ }
9786
+ ],
9787
+ "cssParts": [
9788
+ {
9789
+ "description": "The outer block.",
9790
+ "name": "container"
9791
+ },
9792
+ {
9793
+ "description": "The row with the label and the summary.",
9794
+ "name": "header"
9795
+ },
9796
+ {
9797
+ "description": "The additions and deletions summary.",
9798
+ "name": "summary"
9799
+ },
9800
+ {
9801
+ "description": "The scrollable area holding the table.",
9802
+ "name": "content"
9803
+ }
9804
+ ],
9805
+ "attributes": [
9806
+ {
9807
+ "name": "old-value",
9808
+ "type": {
9809
+ "text": "string"
9810
+ },
9811
+ "default": "''",
9812
+ "description": "The text before the change.",
9813
+ "fieldName": "oldValue"
9814
+ },
9815
+ {
9816
+ "name": "new-value",
9817
+ "type": {
9818
+ "text": "string"
9819
+ },
9820
+ "default": "''",
9821
+ "description": "The text after the change.",
9822
+ "fieldName": "newValue"
9823
+ },
9824
+ {
9825
+ "name": "view",
9826
+ "type": {
9827
+ "text": "DiffViewerView"
9828
+ },
9829
+ "default": "'unified'",
9830
+ "description": "`unified` lists both sides in one column; `split` shows them side by side.",
9831
+ "fieldName": "view",
9832
+ "expandedType": {
9049
9833
  "text": "'unified' | 'split'"
9050
9834
  }
9051
9835
  },
@@ -9985,105 +10769,393 @@
9985
10769
  "fieldName": "size"
9986
10770
  },
9987
10771
  {
9988
- "name": "variant",
10772
+ "name": "variant",
10773
+ "type": {
10774
+ "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'"
10775
+ },
10776
+ "default": "'filled'",
10777
+ "description": "The visual style of the dropdown button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"text\"` is a transparent button.\n`\"tonal\"` is a light color button.\n`\"elevated\"` is an elevated button.",
10778
+ "fieldName": "variant",
10779
+ "expandedType": {
10780
+ "text": "'elevated' | 'filled' | 'tonal' | 'outlined' | 'text'"
10781
+ }
10782
+ },
10783
+ {
10784
+ "name": "color",
10785
+ "type": {
10786
+ "text": "| 'primary'\n | 'secondary'\n | 'tertiary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'surface'\n | 'on-surface'"
10787
+ },
10788
+ "default": "'primary'",
10789
+ "description": "Defines the primary color of the dropdown button.",
10790
+ "fieldName": "color",
10791
+ "expandedType": {
10792
+ "text": "'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
10793
+ }
10794
+ },
10795
+ {
10796
+ "name": "disabled",
10797
+ "type": {
10798
+ "text": "boolean"
10799
+ },
10800
+ "default": "false",
10801
+ "description": "Whether the dropdown button is disabled.",
10802
+ "fieldName": "disabled"
10803
+ },
10804
+ {
10805
+ "name": "placement",
10806
+ "type": {
10807
+ "text": "OverlayPlacement"
10808
+ },
10809
+ "default": "'bottom-start'",
10810
+ "description": "Where the menu opens relative to the button: `top`, `bottom`, `start` or `end`, optionally\nfollowed by `-start` or `-end` (ADR-030001). `start` and `end` follow the writing direction.\nDefaults to `\"bottom-start\"`.",
10811
+ "fieldName": "placement",
10812
+ "expandedType": {
10813
+ "text": "'top' | 'bottom' | 'start' | 'end' | | "
10814
+ }
10815
+ },
10816
+ {
10817
+ "name": "menu-variant",
10818
+ "type": {
10819
+ "text": "| 'standard'\n | 'expressive'"
10820
+ },
10821
+ "default": "'standard'",
10822
+ "description": "Visual variant of the menu: one surface (`\"standard\"`) or segmented groups (`\"expressive\"`).",
10823
+ "fieldName": "menuVariant",
10824
+ "expandedType": {
10825
+ "text": "'standard' | 'expressive'"
10826
+ }
10827
+ }
10828
+ ],
10829
+ "superclass": {
10830
+ "name": "LitElement",
10831
+ "package": "lit"
10832
+ },
10833
+ "tagName": "wc-dropdown-button",
10834
+ "customElement": true,
10835
+ "rawTag": {
10836
+ "name": "dropdown-button",
10837
+ "description": ""
10838
+ }
10839
+ }
10840
+ },
10841
+ {
10842
+ "label": "Elevation",
10843
+ "tag": "wc-elevation",
10844
+ "rawTag": "elevation",
10845
+ "summary": "A shadow layer placed inside an element to lift it off the page, with a shadow depth set per level and per side.",
10846
+ "overview": "<ul>\n<li>Elevation adds a shadow effect to an element to give it depth.</li>\n<li>It can be used to create a sense of hierarchy or to draw attention to a particular\nelement.</li>\n<li>It fills its nearest positioned ancestor, so place it inside an element with\n<code>position: relative</code>. It ignores pointer events.</li>\n<li><code>--elevation-level</code> sets the level. <code>--elevation-level-block-start</code>,\n<code>--elevation-level-block-end</code>, <code>--elevation-level-inline-start</code> and\n<code>--elevation-level-inline-end</code> set the level of one side and override\n<code>--elevation-level</code> for it; the inline sides follow the reading direction.</li>\n<li>Match the shadow to the element's corners with\n<code>--elevation-container-shape</code>.</li>\n</ul>",
10847
+ "cssprop": "--elevation-color - Controls the color of the shadow.",
10848
+ "example": "```html\n <div style=\"position: relative; padding: var(--spacing-200);\">\n <wc-elevation style='--elevation-level: 2; --elevation-container-shape: var(--shape-corner-extra-small);'></wc-elevation>\n Level 2\n </div>\n```",
10849
+ "tags": "display",
10850
+ "customElement": {
10851
+ "kind": "class",
10852
+ "description": "",
10853
+ "cssProperties": [
10854
+ {
10855
+ "description": "Controls the elevation level of the shadow.",
10856
+ "name": "--elevation-level"
10857
+ },
10858
+ {
10859
+ "description": "Controls the color of the shadow.",
10860
+ "name": "--elevation-color"
10861
+ }
10862
+ ],
10863
+ "superclass": {
10864
+ "name": "LitElement",
10865
+ "package": "lit"
10866
+ },
10867
+ "tagName": "wc-elevation",
10868
+ "customElement": true,
10869
+ "rawTag": {
10870
+ "name": "elevation",
10871
+ "description": ""
10872
+ }
10873
+ }
10874
+ },
10875
+ {
10876
+ "label": "ERD",
10877
+ "tag": "wc-erd",
10878
+ "rawTag": "erd",
10879
+ "summary": "An entity-relationship diagram: tables with their columns, joined by crow's-foot relations.",
10880
+ "overview": "<p>Set <code>entities</code> (each with <code>columns</code>) and <code>relations</code>. A relation\nruns from the entity holding the foreign key (<code>source</code>, <code>sourceColumn</code>) to the\none it references (<code>target</code>, <code>targetColumn</code>), and its ends show crow's-foot\ncardinality (many to one by default). Lines join the column rows and route at right angles. Primary\nkeys show a key, foreign keys a link. Hover an entity or a column to highlight what it is joined to.</p>\n<p>Entities without a <code>position</code> are laid out automatically: referenced tables to the left\nof the tables that reference them. Collapse an entity to its header with the chevron (or Shift+Enter);\nthe layout closes the gap. <code>schema</code> shows one schema, and <code>focused-node</code> with\n<code>hops</code> shows one entity's neighbourhood (press F on an entity). Zoomed far out, rows\nbecome bars.</p>\n<p>With <code>editable</code>: double-click a name or type to rename it (F2 on an entity), add and\nremove columns, click a row's key to toggle the primary key, drag the ring at a row's end onto\nanother row to add a relation and pick its cardinality, and delete with Delete. Every edit fires\n<code>change</code> with the new <code>entities</code> and <code>relations</code>; undo with Ctrl+Z.</p>\n<p>Entities are one tab stop: arrow keys move to the nearest entity in that direction, Enter selects.\nThe canvas is infinite like <code>wc-diagram</code>, with the <code>controls</code> and\n<code>minimap</code> slots.</p>",
10881
+ "example": "```html\n<wc-erd id=\"schema\" style=\"height: 480px\"></wc-erd>\n<script>\n const erd = document.getElementById('schema');\n erd.entities = [\n { id: 'customers', name: 'customers', columns: [\n { name: 'id', type: 'uuid', pk: true }, { name: 'email', type: 'text' }] },\n { id: 'orders', name: 'orders', columns: [\n { name: 'id', type: 'uuid', pk: true }, { name: 'customer_id', type: 'uuid' }] }\n ];\n erd.relations = [\n { id: 'r1', source: 'orders', sourceColumn: 'customer_id', target: 'customers', targetColumn: 'id' }\n ];\n</script>\n```",
10882
+ "slot": "minimap - A `wc-diagram-minimap`, shown at the bottom end corner.",
10883
+ "fires": "viewport-change - Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
10884
+ "cssprop": "--erd-background - Canvas background. Defaults to surface-container-lowest.",
10885
+ "tags": "data",
10886
+ "customElement": {
10887
+ "kind": "class",
10888
+ "description": "",
10889
+ "cssProperties": [
10890
+ {
10891
+ "description": "Colour of relations. Defaults to outline.",
10892
+ "name": "--erd-relation-color"
10893
+ },
10894
+ {
10895
+ "description": "Colour of highlighted relations and rows. Defaults to primary.",
10896
+ "name": "--erd-highlight-color"
10897
+ },
10898
+ {
10899
+ "description": "Canvas background. Defaults to surface-container-lowest.",
10900
+ "name": "--erd-background"
10901
+ }
10902
+ ],
10903
+ "slots": [
10904
+ {
10905
+ "description": "A `wc-diagram-controls`, shown at the bottom start corner.",
10906
+ "name": "controls"
10907
+ },
10908
+ {
10909
+ "description": "A `wc-diagram-minimap`, shown at the bottom end corner.",
10910
+ "name": "minimap"
10911
+ }
10912
+ ],
10913
+ "events": [
10914
+ {
10915
+ "type": {
10916
+ "text": "CustomEvent<ErdSelectDetail>"
10917
+ },
10918
+ "description": "An entity or relation was chosen. Detail contains `{ id, kind, entity, relation }`.",
10919
+ "name": "select"
10920
+ },
10921
+ {
10922
+ "type": {
10923
+ "text": "CustomEvent<ErdMoveDetail>"
10924
+ },
10925
+ "description": "A dragged entity was dropped. Detail contains `{ id, position }`.",
10926
+ "name": "entity-move"
10927
+ },
10928
+ {
10929
+ "type": {
10930
+ "text": "CustomEvent<ErdToggleDetail>"
10931
+ },
10932
+ "description": "An entity was collapsed or expanded. Detail contains `{ id, collapsed }`.",
10933
+ "name": "toggle"
10934
+ },
10935
+ {
10936
+ "type": {
10937
+ "text": "CustomEvent<ErdConnectDetail>"
10938
+ },
10939
+ "description": "A relation is about to be added by dragging. Cancelable. Detail contains `{ relation }`.",
10940
+ "name": "connect"
10941
+ },
10942
+ {
10943
+ "type": {
10944
+ "text": "CustomEvent<ErdDeleteDetail>"
10945
+ },
10946
+ "description": "Entities or relations are about to be deleted. Cancelable. Detail contains `{ entities, relations }`.",
10947
+ "name": "delete"
10948
+ },
10949
+ {
10950
+ "type": {
10951
+ "text": "CustomEvent<ErdChangeDetail>"
10952
+ },
10953
+ "description": "An edit was made. Detail contains `{ entities, relations, reason }`.",
10954
+ "name": "change"
10955
+ },
10956
+ {
10957
+ "type": {
10958
+ "text": "CustomEvent<ErdFocusDetail>"
10959
+ },
10960
+ "description": "Focus mode was turned on or off with the keyboard. Detail contains `{ id, hops }`.",
10961
+ "name": "focus-change"
10962
+ },
10963
+ {
10964
+ "type": {
10965
+ "text": "CustomEvent<ErdViewportDetail>"
10966
+ },
10967
+ "description": "Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
10968
+ "name": "viewport-change"
10969
+ },
10970
+ {
10971
+ "name": "type",
10972
+ "type": {
10973
+ "text": "CustomEvent"
10974
+ },
10975
+ "inheritedFrom": {
10976
+ "name": "DiagramCanvasElement",
10977
+ "module": "src/__internal/diagram/canvas-base.ts"
10978
+ }
10979
+ }
10980
+ ],
10981
+ "attributes": [
10982
+ {
10983
+ "name": "schema",
10984
+ "type": {
10985
+ "text": "string"
10986
+ },
10987
+ "default": "''",
10988
+ "description": "Shows only the entities of this schema.",
10989
+ "fieldName": "schema"
10990
+ },
10991
+ {
10992
+ "name": "focused-node",
10993
+ "type": {
10994
+ "text": "string"
10995
+ },
10996
+ "default": "''",
10997
+ "description": "Shows only the entities within `hops` relations of this entity.",
10998
+ "fieldName": "focusedNode"
10999
+ },
11000
+ {
11001
+ "name": "hops",
11002
+ "type": {
11003
+ "text": "number"
11004
+ },
11005
+ "default": "1",
11006
+ "description": "How far focus mode reaches.",
11007
+ "fieldName": "hops"
11008
+ },
11009
+ {
11010
+ "name": "selected",
11011
+ "type": {
11012
+ "text": "string"
11013
+ },
11014
+ "default": "''",
11015
+ "description": "Id of the selected entity or relation.",
11016
+ "fieldName": "selected"
11017
+ },
11018
+ {
11019
+ "name": "zoom",
11020
+ "type": {
11021
+ "text": "number"
11022
+ },
11023
+ "default": "1",
11024
+ "description": "The camera's scale. Follows wheel and pinch zooming; set it to zoom around the centre.",
11025
+ "fieldName": "zoom",
11026
+ "inheritedFrom": {
11027
+ "name": "DiagramCanvasElement",
11028
+ "module": "src/__internal/diagram/canvas-base.ts"
11029
+ }
11030
+ },
11031
+ {
11032
+ "name": "padding",
11033
+ "type": {
11034
+ "text": "number"
11035
+ },
11036
+ "default": "50",
11037
+ "description": "Screen pixels kept around content when fitting it.",
11038
+ "fieldName": "padding",
11039
+ "inheritedFrom": {
11040
+ "name": "DiagramCanvasElement",
11041
+ "module": "src/__internal/diagram/canvas-base.ts"
11042
+ }
11043
+ },
11044
+ {
11045
+ "name": "start-position",
11046
+ "type": {
11047
+ "text": "DiagramStartPosition"
11048
+ },
11049
+ "default": "'fit'",
11050
+ "description": "Where the camera starts: fit all content, the canvas origin at 100%, or the first item at 100%.",
11051
+ "fieldName": "startPosition",
11052
+ "expandedType": {
11053
+ "text": "'fit' | 'origin' | 'first'"
11054
+ },
11055
+ "inheritedFrom": {
11056
+ "name": "DiagramCanvasElement",
11057
+ "module": "src/__internal/diagram/canvas-base.ts"
11058
+ }
11059
+ },
11060
+ {
11061
+ "name": "start-view",
11062
+ "type": {
11063
+ "text": "DiagramView | undefined"
11064
+ },
11065
+ "description": "An exact starting camera, `{ x, y, zoom }`, for example one saved from `viewport-change`. Wins over `start-position`.",
11066
+ "fieldName": "startView",
11067
+ "inheritedFrom": {
11068
+ "name": "DiagramCanvasElement",
11069
+ "module": "src/__internal/diagram/canvas-base.ts"
11070
+ }
11071
+ },
11072
+ {
11073
+ "name": "min-zoom",
11074
+ "type": {
11075
+ "text": "number"
11076
+ },
11077
+ "default": "0.1",
11078
+ "description": "Smallest zoom.",
11079
+ "fieldName": "minZoom",
11080
+ "inheritedFrom": {
11081
+ "name": "DiagramCanvasElement",
11082
+ "module": "src/__internal/diagram/canvas-base.ts"
11083
+ }
11084
+ },
11085
+ {
11086
+ "name": "max-zoom",
9989
11087
  "type": {
9990
- "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'"
11088
+ "text": "number"
9991
11089
  },
9992
- "default": "'filled'",
9993
- "description": "The visual style of the dropdown button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"text\"` is a transparent button.\n`\"tonal\"` is a light color button.\n`\"elevated\"` is an elevated button.",
9994
- "fieldName": "variant",
9995
- "expandedType": {
9996
- "text": "'elevated' | 'filled' | 'tonal' | 'outlined' | 'text'"
11090
+ "default": "4",
11091
+ "description": "Largest zoom.",
11092
+ "fieldName": "maxZoom",
11093
+ "inheritedFrom": {
11094
+ "name": "DiagramCanvasElement",
11095
+ "module": "src/__internal/diagram/canvas-base.ts"
9997
11096
  }
9998
11097
  },
9999
11098
  {
10000
- "name": "color",
11099
+ "name": "grid-size",
10001
11100
  "type": {
10002
- "text": "| 'primary'\n | 'secondary'\n | 'tertiary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'surface'\n | 'on-surface'"
11101
+ "text": "number"
10003
11102
  },
10004
- "default": "'primary'",
10005
- "description": "Defines the primary color of the dropdown button.",
10006
- "fieldName": "color",
10007
- "expandedType": {
10008
- "text": "'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
11103
+ "default": "20",
11104
+ "description": "Spacing of the background dots, in canvas pixels.",
11105
+ "fieldName": "gridSize",
11106
+ "inheritedFrom": {
11107
+ "name": "DiagramCanvasElement",
11108
+ "module": "src/__internal/diagram/canvas-base.ts"
10009
11109
  }
10010
11110
  },
10011
11111
  {
10012
- "name": "disabled",
11112
+ "name": "editable",
10013
11113
  "type": {
10014
11114
  "text": "boolean"
10015
11115
  },
10016
11116
  "default": "false",
10017
- "description": "Whether the dropdown button is disabled.",
10018
- "fieldName": "disabled"
11117
+ "description": "Turns on editing.",
11118
+ "fieldName": "editable",
11119
+ "inheritedFrom": {
11120
+ "name": "DiagramCanvasElement",
11121
+ "module": "src/__internal/diagram/canvas-base.ts"
11122
+ }
10019
11123
  },
10020
11124
  {
10021
- "name": "placement",
11125
+ "name": "readonly",
10022
11126
  "type": {
10023
- "text": "OverlayPlacement"
11127
+ "text": "boolean"
10024
11128
  },
10025
- "default": "'bottom-start'",
10026
- "description": "Where the menu opens relative to the button: `top`, `bottom`, `start` or `end`, optionally\nfollowed by `-start` or `-end` (ADR-030001). `start` and `end` follow the writing direction.\nDefaults to `\"bottom-start\"`.",
10027
- "fieldName": "placement",
10028
- "expandedType": {
10029
- "text": "'top' | 'bottom' | 'start' | 'end' | | "
11129
+ "default": "false",
11130
+ "description": "Keeps content in place; the person can still pan, zoom and select.",
11131
+ "fieldName": "readonly",
11132
+ "inheritedFrom": {
11133
+ "name": "DiagramCanvasElement",
11134
+ "module": "src/__internal/diagram/canvas-base.ts"
10030
11135
  }
10031
11136
  },
10032
11137
  {
10033
- "name": "menu-variant",
11138
+ "name": "label",
10034
11139
  "type": {
10035
- "text": "| 'standard'\n | 'expressive'"
11140
+ "text": "string"
10036
11141
  },
10037
- "default": "'standard'",
10038
- "description": "Visual variant of the menu: one surface (`\"standard\"`) or segmented groups (`\"expressive\"`).",
10039
- "fieldName": "menuVariant",
10040
- "expandedType": {
10041
- "text": "'standard' | 'expressive'"
11142
+ "default": "''",
11143
+ "description": "The canvas's accessible name.",
11144
+ "fieldName": "label",
11145
+ "inheritedFrom": {
11146
+ "name": "DiagramCanvasElement",
11147
+ "module": "src/__internal/diagram/canvas-base.ts"
10042
11148
  }
10043
11149
  }
10044
11150
  ],
10045
11151
  "superclass": {
10046
- "name": "LitElement",
10047
- "package": "lit"
10048
- },
10049
- "tagName": "wc-dropdown-button",
10050
- "customElement": true,
10051
- "rawTag": {
10052
- "name": "dropdown-button",
10053
- "description": ""
10054
- }
10055
- }
10056
- },
10057
- {
10058
- "label": "Elevation",
10059
- "tag": "wc-elevation",
10060
- "rawTag": "elevation",
10061
- "summary": "A shadow layer placed inside an element to lift it off the page, with a shadow depth set per level and per side.",
10062
- "overview": "<ul>\n<li>Elevation adds a shadow effect to an element to give it depth.</li>\n<li>It can be used to create a sense of hierarchy or to draw attention to a particular\nelement.</li>\n<li>It fills its nearest positioned ancestor, so place it inside an element with\n<code>position: relative</code>. It ignores pointer events.</li>\n<li><code>--elevation-level</code> sets the level. <code>--elevation-level-block-start</code>,\n<code>--elevation-level-block-end</code>, <code>--elevation-level-inline-start</code> and\n<code>--elevation-level-inline-end</code> set the level of one side and override\n<code>--elevation-level</code> for it; the inline sides follow the reading direction.</li>\n<li>Match the shadow to the element's corners with\n<code>--elevation-container-shape</code>.</li>\n</ul>",
10063
- "cssprop": "--elevation-color - Controls the color of the shadow.",
10064
- "example": "```html\n <div style=\"position: relative; padding: var(--spacing-200);\">\n <wc-elevation style='--elevation-level: 2; --elevation-container-shape: var(--shape-corner-extra-small);'></wc-elevation>\n Level 2\n </div>\n```",
10065
- "tags": "display",
10066
- "customElement": {
10067
- "kind": "class",
10068
- "description": "",
10069
- "cssProperties": [
10070
- {
10071
- "description": "Controls the elevation level of the shadow.",
10072
- "name": "--elevation-level"
10073
- },
10074
- {
10075
- "description": "Controls the color of the shadow.",
10076
- "name": "--elevation-color"
10077
- }
10078
- ],
10079
- "superclass": {
10080
- "name": "LitElement",
10081
- "package": "lit"
11152
+ "name": "DiagramCanvasElement",
11153
+ "package": "@/__internal/diagram/canvas-base.js"
10082
11154
  },
10083
- "tagName": "wc-elevation",
11155
+ "tagName": "wc-erd",
10084
11156
  "customElement": true,
10085
11157
  "rawTag": {
10086
- "name": "elevation",
11158
+ "name": "erd",
10087
11159
  "description": ""
10088
11160
  }
10089
11161
  }
@@ -10159,8 +11231,8 @@
10159
11231
  "text": "string"
10160
11232
  },
10161
11233
  "default": "'surface'",
10162
- "fieldName": "color",
10163
11234
  "description": "The color role of the FAB.\n`\"surface\"` uses the surface color role.\n`\"primary\"` uses the primary color role.\n`\"secondary\"` uses the secondary color role.\n`\"tertiary\"` uses the tertiary color role.",
11235
+ "fieldName": "color",
10164
11236
  "expandedType": {
10165
11237
  "text": "'surface' | 'primary' | 'secondary' | 'tertiary'"
10166
11238
  },
@@ -10175,8 +11247,8 @@
10175
11247
  "text": "string"
10176
11248
  },
10177
11249
  "default": "'tonal'",
10178
- "fieldName": "variant",
10179
11250
  "description": "The style variant of the FAB.\n`\"tonal\"` uses container colors.\n`\"filled\"` uses solid role colors.",
11251
+ "fieldName": "variant",
10180
11252
  "inheritedFrom": {
10181
11253
  "name": "mixinBaseButton",
10182
11254
  "module": "src/button/base-button/base-button.ts"
@@ -10237,12 +11309,12 @@
10237
11309
  },
10238
11310
  {
10239
11311
  "name": "disabled",
11312
+ "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
10240
11313
  "fieldName": "disabled",
10241
11314
  "type": {
10242
11315
  "text": "boolean"
10243
11316
  },
10244
11317
  "default": "false",
10245
- "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
10246
11318
  "inheritedFrom": {
10247
11319
  "name": "mixinFormAssociated",
10248
11320
  "module": "src/__internal/mixins/form-associated.ts"
@@ -10291,6 +11363,7 @@
10291
11363
  "type": {
10292
11364
  "text": "string | undefined"
10293
11365
  },
11366
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
10294
11367
  "fieldName": "href",
10295
11368
  "inheritedFrom": {
10296
11369
  "name": "mixinHyperlink",
@@ -10303,6 +11376,7 @@
10303
11376
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
10304
11377
  },
10305
11378
  "default": "'_self'",
11379
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
10306
11380
  "fieldName": "target",
10307
11381
  "inheritedFrom": {
10308
11382
  "name": "mixinHyperlink",
@@ -10315,6 +11389,7 @@
10315
11389
  "text": "string"
10316
11390
  },
10317
11391
  "default": "''",
11392
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
10318
11393
  "fieldName": "rel",
10319
11394
  "inheritedFrom": {
10320
11395
  "name": "mixinHyperlink",
@@ -10327,6 +11402,7 @@
10327
11402
  "text": "string"
10328
11403
  },
10329
11404
  "default": "''",
11405
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
10330
11406
  "fieldName": "download",
10331
11407
  "inheritedFrom": {
10332
11408
  "name": "mixinHyperlink",
@@ -10339,6 +11415,7 @@
10339
11415
  "text": "string"
10340
11416
  },
10341
11417
  "default": "'submit'",
11418
+ "description": "What activating the element does in a form: `\"submit\"` (default) submits it, `\"reset\"`\nresets it and `\"button\"` does nothing.",
10342
11419
  "fieldName": "type",
10343
11420
  "inheritedFrom": {
10344
11421
  "name": "mixinFormSubmitter",
@@ -10351,6 +11428,7 @@
10351
11428
  "text": "string"
10352
11429
  },
10353
11430
  "default": "''",
11431
+ "description": "The value sent with the form, paired with `name`, when this element submits it.",
10354
11432
  "fieldName": "value",
10355
11433
  "inheritedFrom": {
10356
11434
  "name": "mixinFormSubmitter",
@@ -10359,6 +11437,7 @@
10359
11437
  },
10360
11438
  {
10361
11439
  "name": "name",
11440
+ "description": "The name the value is submitted under in a form.",
10362
11441
  "fieldName": "name",
10363
11442
  "inheritedFrom": {
10364
11443
  "name": "mixinFormAssociated",
@@ -10409,12 +11488,27 @@
10409
11488
  "tag": "wc-field",
10410
11489
  "rawTag": "field",
10411
11490
  "summary": "The box around a form control, with its label, required mark, helper, error or warning text and a character count.",
10412
- "overview": "<p>The field draws the frame of a form control: the label with a required mark, the bordered\nbox with <code>field-start</code> and <code>field-end</code> slots, and a footer with helper,\nerror or warning text and a character count. Wrap a custom control in it to match the\nbuilt-in fields.</p>",
11491
+ "overview": "<p>The field draws the frame of a form control: the label with a required mark, the bordered\nbox with <code>field-start</code> and <code>field-end</code> slots, and a footer with helper,\nerror or warning text and a character count. Wrap a custom control in it to match the\nbuilt-in fields.</p>\n<p>The <code>default</code> variant fills its box with <code>surface-container-lowest</code>, so it\nstands out on cards and dialogs as well as on the page. <code>outlined</code> has no fill (the\noutline alone marks it) and <code>filled</code> uses <code>surface-container-highest</code>, as in\nMaterial 3. Disabled follows M3: the text at 38%, the outline at 12% and a 4% fill. Read-only\nkeeps the label and value at full contrast in a faint box, so it reads as information.</p>\n<p>The <code>outlined</code> variant is the M3 outlined text field: its label rests inside the\nempty field and, on focus or with a value, floats into a notch in the outline's top edge. The\noutline is drawn in parts (start, notch, end), so the notch needs no background and the field\nworks on any surface. The outline is 1px, 2px while focused.</p>",
11492
+ "cssprop": "--field-label-rest-top - Where the outlined label's resting line is centred, from the top of the box. Defaults to the middle; multi-line fields set it to their first line.",
10413
11493
  "example": "```html\n<wc-field label=\"Name\" required>\n some text\n</wc-field>\n```",
10414
11494
  "tags": "form",
10415
11495
  "customElement": {
10416
11496
  "kind": "class",
10417
11497
  "description": "",
11498
+ "cssProperties": [
11499
+ {
11500
+ "description": "The box's fill. Defaults to `surface-container-lowest` (default variant), `surface-container-highest` (filled) or none (outlined).",
11501
+ "name": "--field-container-color"
11502
+ },
11503
+ {
11504
+ "description": "The outline's resting width. Defaults to 1px on the outlined variant.",
11505
+ "name": "--field-outline-width"
11506
+ },
11507
+ {
11508
+ "description": "Where the outlined label's resting line is centred, from the top of the box. Defaults to the middle; multi-line fields set it to their first line.",
11509
+ "name": "--field-label-rest-top"
11510
+ }
11511
+ ],
10418
11512
  "attributes": [
10419
11513
  {
10420
11514
  "name": "label",
@@ -10621,204 +11715,75 @@
10621
11715
  "type": {
10622
11716
  "text": "boolean"
10623
11717
  },
10624
- "default": "false",
10625
- "description": "Disables every form control inside, like a disabled native `<fieldset>`.",
10626
- "fieldName": "disabled"
10627
- }
10628
- ],
10629
- "superclass": {
10630
- "name": "LitElement",
10631
- "package": "lit"
10632
- },
10633
- "tagName": "wc-fieldset",
10634
- "customElement": true,
10635
- "rawTag": {
10636
- "name": "fieldset",
10637
- "description": ""
10638
- }
10639
- }
10640
- },
10641
- {
10642
- "label": "File Upload",
10643
- "tag": "wc-file-upload",
10644
- "rawTag": "file-upload",
10645
- "summary": "A drop zone and file picker that collects files into a list, for the app to upload.",
10646
- "overview": "<p>File upload collects files: the person drops them on the zone, or activates it (click, Enter\nor Space) to open the system file picker. Chosen files are listed with their name and size and a\nbutton that removes them. The component uploads nothing itself: the app listens for\n<code>change</code>, uploads <code>files</code> however it likes and reports back per file with\n<code>setFileState(file, { progress, error, done })</code>, which shows a progress bar, an error\nor a done mark on that file.</p>\n<p><code>accept</code>, <code>max-size</code> (bytes per file) and <code>max-files</code> (with\n<code>multiple</code>) decide what is added. Files that do not fit are left out, listed in a short\nmessage under the zone, and reported in a <code>reject</code> event. Without\n<code>multiple</code>, a new file replaces the chosen one. A file that is already listed is not\nadded twice. Adding, removing and rejecting files is announced to screen readers.</p>\n<p>Inside a <code>&lt;form&gt;</code> the files are submitted under <code>name</code>, like a\nnative file input; <code>required</code> blocks submission while no file is chosen, and\n<code>form.reset()</code> clears the list. <code>readonly</code> shows the list without the drop\nzone and the remove buttons.</p>",
10647
- "fires": "remove - Dispatched when the person removes a file, before `change`.",
10648
- "cssprop": "--file-upload-drop-zone-min-block-size - Minimum height of the drop zone.",
10649
- "example": "```html\n<wc-file-upload\n label=\"Photos\"\n name=\"photos\"\n accept=\"image/*\"\n multiple\n max-files=\"5\"\n max-size=\"5000000\"\n helper-text=\"Up to 5 images, 5 MB each\"\n></wc-file-upload>\n```",
10650
- "tags": "input, form",
10651
- "customElement": {
10652
- "kind": "function",
10653
- "return": {
10654
- "type": {
10655
- "text": "string"
10656
- }
10657
- },
10658
- "parameters": [
10659
- {
10660
- "name": "bytes",
10661
- "type": {
10662
- "text": "number"
10663
- }
10664
- },
10665
- {
10666
- "name": "locale",
10667
- "type": {
10668
- "text": "string"
10669
- }
10670
- }
10671
- ],
10672
- "description": "Formats a size in bytes with `Intl`, in decimal units: \"512 bytes\", \"1.5 MB\"."
10673
- }
10674
- },
10675
- {
10676
- "label": "Filter Bar",
10677
- "tag": "wc-filter-bar",
10678
- "rawTag": "filter-bar",
10679
- "summary": "The faceted filter row above a table or list: search, filter chips and saved views.",
10680
- "overview": "<p>Describe the filters the person can use with <code>filters</code>, an array of\n<code>{ key, label, type, options?, placeholder? }</code>. <code>type</code> picks the control\nthe filter is edited with: <code>select</code>, <code>multiselect</code>, <code>text</code>,\n<code>date-range</code> or <code>boolean</code> (a switch).</p>\n<p>\"Add filter\" opens a menu of the filters not in use yet. Each active filter is a dismissible\nchip, \"Label: value\"; a click (or Enter) on it opens its control in a popover, and its dismiss\nbutton (or Delete) removes it. \"Clear all\" removes every filter and keeps the search text.</p>\n<p><code>value</code> holds the active filters by key: a string for <code>select</code> and\n<code>text</code>, an array of strings for <code>multiselect</code>, <code>start/end</code> ISO\ndates for <code>date-range</code> and a boolean for <code>boolean</code>. With\n<code>search</code>, the search text is under the reserved key <code>q</code>. The value is plain\nJSON, so it can go in the URL. Every committed change fires <code>change</code> with\n<code>{ value }</code>; typing in the search box fires <code>input</code>, and\n<code>change</code> once the text is committed (Enter, blur or clear).</p>\n<p>Saved views: <code>views</code> lists named values, shown in a views menu with \"All\" (which\nclears the value). Picking one sets <code>view</code> to its id (<code>''</code> for \"All\"),\napplies its value and fires <code>view-change</code>, then <code>change</code>. With\n<code>saveable</code> the menu has \"Save view\", which fires <code>view-save</code> with the\ncurrent value; store it and add it to <code>views</code>. The views menu shows when there are\nviews or <code>saveable</code> is set. <code>view</code> stays as it is when the person edits\nthe filters afterwards.</p>\n<p>Accessibility: the bar is a group named by <code>label</code> (default \"Filters\"). The chips\nare one tab stop: the arrow keys move between them (mirrored in right-to-left), Home and End jump\nto the ends. Each popover is a dialog named after its filter; Escape closes it and returns focus\nto the chip. Removing a filter is announced through a polite live region.</p>\n<p><b>Filters from a sentence.</b> With <code>search</code> and a provider that offers\n<code>parse</code> (ADR-030002), typing a sentence such as \"urgent hardware incidents in Pune\"\noffers <strong>Turn into filters</strong>. The provider gets the sentence and the filter\ndefinitions (never record values) with <code>target: 'filter-bar'</code>, and answers with a\nvalue; only known filters with valid values are kept, and words it could not map stay as search\ntext. The new chips are marked with a sparkle and one Suggested badge whose clear button puts the\nprevious filters back; editing or removing a chip accepts it. <code>no-ai</code> turns this\noff.</p>",
10681
- "fires": "view-save - Dispatched when the person picks \"Save view\".",
10682
- "example": "```html\n<wc-filter-bar id=\"bar\" search></wc-filter-bar>\n<script>\n bar.filters = [\n { key: 'status', label: 'Status', type: 'select',\n options: [{ label: 'Open', value: 'open' }, { label: 'Closed', value: 'closed' }] },\n { key: 'archived', label: 'Archived', type: 'boolean' },\n ];\n</script>\n```",
10683
- "tags": "form",
10684
- "customElement": {
10685
- "kind": "variable",
10686
- "type": {
10687
- "text": "string"
10688
- },
10689
- "default": "'q'",
10690
- "description": "Key of the search text in `value`."
10691
- }
10692
- },
10693
- {
10694
- "label": "Flow",
10695
- "tag": "wc-flow",
10696
- "rawTag": "flow",
10697
- "summary": "A node editor on a dotted grid, where the person moves nodes and draws connections between them.",
10698
- "overview": "<p>Set <code>nodes</code> and <code>edges</code> as properties. A node shows its\n<code>data.label</code> (or its id) on a default card, or renders your own element when\n<code>data</code> is an element or has an <code>element</code>. Each node has input handles\n(left by default) and output handles (right by default); an edge is drawn as a smooth step,\nbezier or straight line, solid, dashed or animated dashed.</p>\n<p>Nodes are dragged with a mouse, pen or touch; <code>node-drag</code> fires while a node moves\nand <code>node-drag-end</code> once when the drag ends. A press without movement selects the\nnode, sets <code>selected</code> and fires <code>select</code>. Dragging from an output handle\nonto another node's input handle fires <code>connect</code>; the flow does not add the edge, so\nadd it to <code>edges</code> yourself.</p>\n<p>Each node is focusable and named by its label. Arrow keys move the focused node by one grid\nstep (20px), Shift + arrow by 100px, and each move fires <code>node-drag-end</code>; Enter or\nSpace selects it. Arrow keys follow the canvas axes, so they are not mirrored in right-to-left\nlayouts.</p>\n<p>Moving a node never mutates the objects you passed: the flow replaces the moved node with a\nnew object (<code>{ ...node, position }</code>) and assigns a new array to <code>nodes</code>.\nRead <code>flow.nodes</code>, or save the position from <code>node-drag-end</code>, to keep the\nchange. <code>zoom</code> scales the canvas and <code>padding</code> sets the space around the\nnodes.</p>",
10699
- "example": "```html\n<wc-flow id=\"my-flow\"></wc-flow>\n<script>\n const flow = document.getElementById('my-flow');\n flow.nodes = [\n { id: '1', position: { x: 50, y: 50 }, data: { label: 'Node 1' } },\n { id: '2', position: { x: 250, y: 50 }, data: { label: 'Node 2' } }\n ];\n flow.edges = [\n { id: 'e1-2', source: '1', target: '2' }\n ];\n</script>\n```",
10700
- "fires": "connect - An output handle was dragged onto another node's input handle. Detail contains `{ source, target, sourceHandle, targetHandle }`.",
10701
- "cssprop": "--flow-arrow-color - Stroke color for arrow markers. Defaults to on-surface.",
10702
- "customElement": {
10703
- "kind": "class",
10704
- "description": "",
10705
- "cssProperties": [
10706
- {
10707
- "description": "Background color for the canvas wrapper. Defaults to surface-container-low.",
10708
- "name": "--flow-background"
10709
- },
10710
- {
10711
- "description": "Color of the background grid dots. Defaults to outline-variant.",
10712
- "name": "--flow-dot-color"
10713
- },
10714
- {
10715
- "description": "Default stroke color for lines and connectors. Defaults to on-surface.",
10716
- "name": "--flow-line-color"
10717
- },
10718
- {
10719
- "description": "Stroke color on hover for clickable shapes. Defaults to primary.",
10720
- "name": "--flow-hover-color"
10721
- },
10722
- {
10723
- "description": "Stroke color for arrow markers. Defaults to on-surface.",
10724
- "name": "--flow-arrow-color"
10725
- }
10726
- ],
10727
- "events": [
10728
- {
10729
- "name": "type",
10730
- "type": {
10731
- "text": "CustomEvent"
10732
- }
10733
- },
10734
- {
10735
- "type": {
10736
- "text": "CustomEvent<FlowNodeMoveDetail>"
10737
- },
10738
- "description": "While a node is dragged. Detail contains `{ id, position }`.",
10739
- "name": "node-drag"
10740
- },
10741
- {
10742
- "type": {
10743
- "text": "CustomEvent<FlowNodeMoveDetail>"
10744
- },
10745
- "description": "Once when a drag ends, and after each keyboard move. Detail contains `{ id, position }`.",
10746
- "name": "node-drag-end"
10747
- },
10748
- {
10749
- "type": {
10750
- "text": "CustomEvent<FlowSelectDetail>"
10751
- },
10752
- "description": "A node was clicked, or chosen with Enter or Space. Detail contains `{ id, node }`.",
10753
- "name": "select"
10754
- },
10755
- {
10756
- "type": {
10757
- "text": "CustomEvent<FlowConnectDetail>"
10758
- },
10759
- "description": "An output handle was dragged onto another node's input handle. Detail contains `{ source, target, sourceHandle, targetHandle }`.",
10760
- "name": "connect"
10761
- }
10762
- ],
10763
- "attributes": [
10764
- {
10765
- "name": "nodes",
10766
- "type": {
10767
- "text": "FlowNode[]"
10768
- },
10769
- "default": "[]",
10770
- "description": "Nodes to draw. Replaced with a new array, never mutated, when a node moves.",
10771
- "fieldName": "nodes"
10772
- },
10773
- {
10774
- "name": "edges",
10775
- "type": {
10776
- "text": "FlowEdge[]"
10777
- },
10778
- "default": "[]",
10779
- "description": "Connections between node handles.",
10780
- "fieldName": "edges"
10781
- },
10782
- {
10783
- "name": "zoom",
10784
- "type": {
10785
- "text": "number"
10786
- },
10787
- "default": "1",
10788
- "description": "Scale of the canvas.",
10789
- "fieldName": "zoom"
10790
- },
10791
- {
10792
- "name": "padding",
10793
- "type": {
10794
- "text": "number"
10795
- },
10796
- "default": "50",
10797
- "description": "Space around the nodes, in canvas pixels.",
10798
- "fieldName": "padding"
10799
- },
10800
- {
10801
- "name": "selected",
10802
- "type": {
10803
- "text": "string"
10804
- },
10805
- "default": "''",
10806
- "description": "Id of the selected node. Set by clicking a node or pressing Enter or Space on it.",
10807
- "fieldName": "selected"
11718
+ "default": "false",
11719
+ "description": "Disables every form control inside, like a disabled native `<fieldset>`.",
11720
+ "fieldName": "disabled"
10808
11721
  }
10809
11722
  ],
10810
11723
  "superclass": {
10811
11724
  "name": "LitElement",
10812
11725
  "package": "lit"
10813
11726
  },
10814
- "tagName": "wc-flow",
11727
+ "tagName": "wc-fieldset",
10815
11728
  "customElement": true,
10816
11729
  "rawTag": {
10817
- "name": "flow",
11730
+ "name": "fieldset",
10818
11731
  "description": ""
10819
11732
  }
10820
11733
  }
10821
11734
  },
11735
+ {
11736
+ "label": "File Upload",
11737
+ "tag": "wc-file-upload",
11738
+ "rawTag": "file-upload",
11739
+ "summary": "A drop zone and file picker that collects files into a list, for the app to upload.",
11740
+ "overview": "<p>File upload collects files: the person drops them on the zone, or activates it (click, Enter\nor Space) to open the system file picker. Chosen files are listed with their name and size and a\nbutton that removes them. The component uploads nothing itself: the app listens for\n<code>change</code>, uploads <code>files</code> however it likes and reports back per file with\n<code>setFileState(file, { progress, error, done })</code>, which shows a progress bar, an error\nor a done mark on that file.</p>\n<p><code>accept</code>, <code>max-size</code> (bytes per file) and <code>max-files</code> (with\n<code>multiple</code>) decide what is added. Files that do not fit are left out, listed in a short\nmessage under the zone, and reported in a <code>reject</code> event. Without\n<code>multiple</code>, a new file replaces the chosen one. A file that is already listed is not\nadded twice. Adding, removing and rejecting files is announced to screen readers.</p>\n<p>Inside a <code>&lt;form&gt;</code> the files are submitted under <code>name</code>, like a\nnative file input; <code>required</code> blocks submission while no file is chosen, and\n<code>form.reset()</code> clears the list. <code>readonly</code> shows the list without the drop\nzone and the remove buttons.</p>",
11741
+ "fires": "remove - Dispatched when the person removes a file, before `change`.",
11742
+ "cssprop": "--file-upload-drop-zone-min-block-size - Minimum height of the drop zone.",
11743
+ "example": "```html\n<wc-file-upload\n label=\"Photos\"\n name=\"photos\"\n accept=\"image/*\"\n multiple\n max-files=\"5\"\n max-size=\"5000000\"\n helper-text=\"Up to 5 images, 5 MB each\"\n></wc-file-upload>\n```",
11744
+ "tags": "input, form",
11745
+ "customElement": {
11746
+ "kind": "function",
11747
+ "return": {
11748
+ "type": {
11749
+ "text": "string"
11750
+ }
11751
+ },
11752
+ "parameters": [
11753
+ {
11754
+ "name": "bytes",
11755
+ "type": {
11756
+ "text": "number"
11757
+ }
11758
+ },
11759
+ {
11760
+ "name": "locale",
11761
+ "type": {
11762
+ "text": "string"
11763
+ }
11764
+ }
11765
+ ],
11766
+ "description": "Formats a size in bytes with `Intl`, in decimal units: \"512 bytes\", \"1.5 MB\"."
11767
+ }
11768
+ },
11769
+ {
11770
+ "label": "Filter Bar",
11771
+ "tag": "wc-filter-bar",
11772
+ "rawTag": "filter-bar",
11773
+ "summary": "The faceted filter row above a table or list: search, filter chips and saved views.",
11774
+ "overview": "<p>Describe the filters the person can use with <code>filters</code>, an array of\n<code>{ key, label, type, options?, placeholder? }</code>. <code>type</code> picks the control\nthe filter is edited with: <code>select</code>, <code>multiselect</code>, <code>text</code>,\n<code>date-range</code> or <code>boolean</code> (a switch).</p>\n<p>\"Add filter\" opens a menu of the filters not in use yet. Each active filter is a dismissible\nchip, \"Label: value\"; a click (or Enter) on it opens its control in a popover, and its dismiss\nbutton (or Delete) removes it. \"Clear all\" removes every filter and keeps the search text.</p>\n<p><code>value</code> holds the active filters by key: a string for <code>select</code> and\n<code>text</code>, an array of strings for <code>multiselect</code>, <code>start/end</code> ISO\ndates for <code>date-range</code> and a boolean for <code>boolean</code>. With\n<code>search</code>, the search text is under the reserved key <code>q</code>. The value is plain\nJSON, so it can go in the URL. Every committed change fires <code>change</code> with\n<code>{ value }</code>; typing in the search box fires <code>input</code>, and\n<code>change</code> once the text is committed (Enter, blur or clear).</p>\n<p>Saved views: <code>views</code> lists named values, shown in a views menu with \"All\" (which\nclears the value). Picking one sets <code>view</code> to its id (<code>''</code> for \"All\"),\napplies its value and fires <code>view-change</code>, then <code>change</code>. With\n<code>saveable</code> the menu has \"Save view\", which fires <code>view-save</code> with the\ncurrent value; store it and add it to <code>views</code>. The views menu shows when there are\nviews or <code>saveable</code> is set. <code>view</code> stays as it is when the person edits\nthe filters afterwards.</p>\n<p>Accessibility: the bar is a group named by <code>label</code> (default \"Filters\"). The chips\nare one tab stop: the arrow keys move between them (mirrored in right-to-left), Home and End jump\nto the ends. Each popover is a dialog named after its filter; Escape closes it and returns focus\nto the chip. Removing a filter is announced through a polite live region.</p>\n<p><b>Filters from a sentence.</b> With <code>search</code> and a provider that offers\n<code>parse</code> (ADR-030002), typing a sentence such as \"urgent hardware incidents in Pune\"\noffers <strong>Turn into filters</strong>. The provider gets the sentence and the filter\ndefinitions (never record values) with <code>target: 'filter-bar'</code>, and answers with a\nvalue; only known filters with valid values are kept, and words it could not map stay as search\ntext. The new chips are marked with a sparkle and one Suggested badge whose clear button puts the\nprevious filters back; editing or removing a chip accepts it. <code>no-ai</code> turns this\noff.</p>",
11775
+ "fires": "view-save - Dispatched when the person picks \"Save view\".",
11776
+ "example": "```html\n<wc-filter-bar id=\"bar\" search></wc-filter-bar>\n<script>\n bar.filters = [\n { key: 'status', label: 'Status', type: 'select',\n options: [{ label: 'Open', value: 'open' }, { label: 'Closed', value: 'closed' }] },\n { key: 'archived', label: 'Archived', type: 'boolean' },\n ];\n</script>\n```",
11777
+ "tags": "form",
11778
+ "customElement": {
11779
+ "kind": "variable",
11780
+ "type": {
11781
+ "text": "string"
11782
+ },
11783
+ "default": "'q'",
11784
+ "description": "Key of the search text in `value`."
11785
+ }
11786
+ },
10822
11787
  {
10823
11788
  "label": "Focus Ring",
10824
11789
  "tag": "wc-focus-ring",
@@ -11564,6 +12529,7 @@
11564
12529
  },
11565
12530
  {
11566
12531
  "name": "name",
12532
+ "description": "The name the value is submitted under in a form.",
11567
12533
  "fieldName": "name",
11568
12534
  "inheritedFrom": {
11569
12535
  "name": "BaseInput",
@@ -11572,6 +12538,7 @@
11572
12538
  },
11573
12539
  {
11574
12540
  "name": "disabled",
12541
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
11575
12542
  "fieldName": "disabled",
11576
12543
  "inheritedFrom": {
11577
12544
  "name": "BaseInput",
@@ -11584,6 +12551,7 @@
11584
12551
  "text": "boolean"
11585
12552
  },
11586
12553
  "default": "false",
12554
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
11587
12555
  "fieldName": "readonly",
11588
12556
  "inheritedFrom": {
11589
12557
  "name": "BaseInput",
@@ -11596,6 +12564,7 @@
11596
12564
  "text": "boolean"
11597
12565
  },
11598
12566
  "default": "false",
12567
+ "description": "Requires a value before the form can submit.",
11599
12568
  "fieldName": "required",
11600
12569
  "inheritedFrom": {
11601
12570
  "name": "BaseInput",
@@ -11608,6 +12577,7 @@
11608
12577
  "text": "boolean"
11609
12578
  },
11610
12579
  "default": "false",
12580
+ "description": "Shows a loading placeholder in place of the control.",
11611
12581
  "fieldName": "skeleton",
11612
12582
  "inheritedFrom": {
11613
12583
  "name": "BaseInput",
@@ -11895,8 +12865,8 @@
11895
12865
  "text": "string"
11896
12866
  },
11897
12867
  "default": "''",
11898
- "fieldName": "variant",
11899
12868
  "description": "The visual style of the button: `\"filled\"`, `\"tonal\"`, `\"outlined\"`, `\"text\"`,\n`\"elevated\"` or `\"neo\"`. Unset, it comes from `level`, else `\"filled\"`.",
12869
+ "fieldName": "variant",
11900
12870
  "inheritedFrom": {
11901
12871
  "name": "mixinBaseButton",
11902
12872
  "module": "src/button/base-button/base-button.ts"
@@ -11908,8 +12878,8 @@
11908
12878
  "text": "string"
11909
12879
  },
11910
12880
  "default": "''",
11911
- "fieldName": "color",
11912
12881
  "description": "The color role of the button. Unset, it comes from `level`, else `\"primary\"`.",
12882
+ "fieldName": "color",
11913
12883
  "inheritedFrom": {
11914
12884
  "name": "mixinBaseButton",
11915
12885
  "module": "src/button/base-button/base-button.ts"
@@ -11917,12 +12887,12 @@
11917
12887
  },
11918
12888
  {
11919
12889
  "name": "disabled",
12890
+ "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
11920
12891
  "fieldName": "disabled",
11921
12892
  "type": {
11922
12893
  "text": "boolean"
11923
12894
  },
11924
12895
  "default": "false",
11925
- "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
11926
12896
  "inheritedFrom": {
11927
12897
  "name": "mixinFormAssociated",
11928
12898
  "module": "src/__internal/mixins/form-associated.ts"
@@ -11971,6 +12941,7 @@
11971
12941
  "type": {
11972
12942
  "text": "string | undefined"
11973
12943
  },
12944
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
11974
12945
  "fieldName": "href",
11975
12946
  "inheritedFrom": {
11976
12947
  "name": "mixinHyperlink",
@@ -11983,6 +12954,7 @@
11983
12954
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
11984
12955
  },
11985
12956
  "default": "'_self'",
12957
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
11986
12958
  "fieldName": "target",
11987
12959
  "inheritedFrom": {
11988
12960
  "name": "mixinHyperlink",
@@ -11995,6 +12967,7 @@
11995
12967
  "text": "string"
11996
12968
  },
11997
12969
  "default": "''",
12970
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
11998
12971
  "fieldName": "rel",
11999
12972
  "inheritedFrom": {
12000
12973
  "name": "mixinHyperlink",
@@ -12007,6 +12980,7 @@
12007
12980
  "text": "string"
12008
12981
  },
12009
12982
  "default": "''",
12983
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
12010
12984
  "fieldName": "download",
12011
12985
  "inheritedFrom": {
12012
12986
  "name": "mixinHyperlink",
@@ -12019,6 +12993,7 @@
12019
12993
  "text": "string"
12020
12994
  },
12021
12995
  "default": "'submit'",
12996
+ "description": "What activating the element does in a form: `\"submit\"` (default) submits it, `\"reset\"`\nresets it and `\"button\"` does nothing.",
12022
12997
  "fieldName": "type",
12023
12998
  "inheritedFrom": {
12024
12999
  "name": "mixinFormSubmitter",
@@ -12031,6 +13006,7 @@
12031
13006
  "text": "string"
12032
13007
  },
12033
13008
  "default": "''",
13009
+ "description": "The value sent with the form, paired with `name`, when this element submits it.",
12034
13010
  "fieldName": "value",
12035
13011
  "inheritedFrom": {
12036
13012
  "name": "mixinFormSubmitter",
@@ -12039,6 +13015,7 @@
12039
13015
  },
12040
13016
  {
12041
13017
  "name": "name",
13018
+ "description": "The name the value is submitted under in a form.",
12042
13019
  "fieldName": "name",
12043
13020
  "inheritedFrom": {
12044
13021
  "name": "mixinFormAssociated",
@@ -12551,6 +13528,7 @@
12551
13528
  "text": "string"
12552
13529
  },
12553
13530
  "default": "''",
13531
+ "description": "Hint shown inside the empty control.",
12554
13532
  "fieldName": "placeholder",
12555
13533
  "inheritedFrom": {
12556
13534
  "name": "BaseField",
@@ -12589,6 +13567,7 @@
12589
13567
  "text": "string"
12590
13568
  },
12591
13569
  "default": "''",
13570
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
12592
13571
  "fieldName": "errorText",
12593
13572
  "inheritedFrom": {
12594
13573
  "name": "BaseField",
@@ -12614,6 +13593,7 @@
12614
13593
  "text": "string"
12615
13594
  },
12616
13595
  "default": "''",
13596
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
12617
13597
  "fieldName": "warningText",
12618
13598
  "inheritedFrom": {
12619
13599
  "name": "BaseField",
@@ -12677,6 +13657,7 @@
12677
13657
  },
12678
13658
  {
12679
13659
  "name": "name",
13660
+ "description": "The name the value is submitted under in a form.",
12680
13661
  "fieldName": "name",
12681
13662
  "inheritedFrom": {
12682
13663
  "name": "BaseInput",
@@ -12685,6 +13666,7 @@
12685
13666
  },
12686
13667
  {
12687
13668
  "name": "disabled",
13669
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
12688
13670
  "fieldName": "disabled",
12689
13671
  "inheritedFrom": {
12690
13672
  "name": "BaseInput",
@@ -12697,6 +13679,7 @@
12697
13679
  "text": "boolean"
12698
13680
  },
12699
13681
  "default": "false",
13682
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
12700
13683
  "fieldName": "readonly",
12701
13684
  "inheritedFrom": {
12702
13685
  "name": "BaseInput",
@@ -12709,6 +13692,7 @@
12709
13692
  "text": "boolean"
12710
13693
  },
12711
13694
  "default": "false",
13695
+ "description": "Requires a value before the form can submit.",
12712
13696
  "fieldName": "required",
12713
13697
  "inheritedFrom": {
12714
13698
  "name": "BaseInput",
@@ -12721,6 +13705,7 @@
12721
13705
  "text": "boolean"
12722
13706
  },
12723
13707
  "default": "false",
13708
+ "description": "Shows a loading placeholder in place of the control.",
12724
13709
  "fieldName": "skeleton",
12725
13710
  "inheritedFrom": {
12726
13711
  "name": "BaseInput",
@@ -13017,6 +14002,7 @@
13017
14002
  "text": "boolean"
13018
14003
  },
13019
14004
  "default": "false",
14005
+ "description": "Shows ongoing activity with no known completion, ignoring `value`.",
13020
14006
  "fieldName": "indeterminate",
13021
14007
  "inheritedFrom": {
13022
14008
  "name": "BaseProgress",
@@ -13040,6 +14026,7 @@
13040
14026
  "type": {
13041
14027
  "text": "string | undefined"
13042
14028
  },
14029
+ "description": "Help text shown below the progress indicator.",
13043
14030
  "fieldName": "helperText",
13044
14031
  "inheritedFrom": {
13045
14032
  "name": "BaseProgress",
@@ -13052,6 +14039,7 @@
13052
14039
  "text": "boolean"
13053
14040
  },
13054
14041
  "default": "false",
14042
+ "description": "Lays out the label and the indicator on one line instead of stacking them.",
13055
14043
  "fieldName": "inline",
13056
14044
  "inheritedFrom": {
13057
14045
  "name": "BaseProgress",
@@ -13269,8 +14257,8 @@
13269
14257
  "text": "string"
13270
14258
  },
13271
14259
  "default": "''",
13272
- "fieldName": "variant",
13273
14260
  "description": "The visual style of the button: `\"filled\"`, `\"tonal\"`, `\"outlined\"`, `\"text\"`,\n`\"elevated\"` or `\"neo\"`. Unset, it comes from `level`, else `\"filled\"`.",
14261
+ "fieldName": "variant",
13274
14262
  "inheritedFrom": {
13275
14263
  "name": "mixinBaseButton",
13276
14264
  "module": "src/button/base-button/base-button.ts"
@@ -13282,8 +14270,8 @@
13282
14270
  "text": "string"
13283
14271
  },
13284
14272
  "default": "''",
13285
- "fieldName": "color",
13286
14273
  "description": "The color role of the button. Unset, it comes from `level`, else `\"primary\"`.",
14274
+ "fieldName": "color",
13287
14275
  "inheritedFrom": {
13288
14276
  "name": "mixinBaseButton",
13289
14277
  "module": "src/button/base-button/base-button.ts"
@@ -13345,6 +14333,7 @@
13345
14333
  "type": {
13346
14334
  "text": "string | undefined"
13347
14335
  },
14336
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
13348
14337
  "fieldName": "href",
13349
14338
  "inheritedFrom": {
13350
14339
  "name": "mixinHyperlink",
@@ -13357,6 +14346,7 @@
13357
14346
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
13358
14347
  },
13359
14348
  "default": "'_self'",
14349
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
13360
14350
  "fieldName": "target",
13361
14351
  "inheritedFrom": {
13362
14352
  "name": "mixinHyperlink",
@@ -13369,6 +14359,7 @@
13369
14359
  "text": "string"
13370
14360
  },
13371
14361
  "default": "''",
14362
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
13372
14363
  "fieldName": "rel",
13373
14364
  "inheritedFrom": {
13374
14365
  "name": "mixinHyperlink",
@@ -13381,6 +14372,7 @@
13381
14372
  "text": "string"
13382
14373
  },
13383
14374
  "default": "''",
14375
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
13384
14376
  "fieldName": "download",
13385
14377
  "inheritedFrom": {
13386
14378
  "name": "mixinHyperlink",
@@ -13546,6 +14538,7 @@
13546
14538
  },
13547
14539
  {
13548
14540
  "name": "name",
14541
+ "description": "The name the value is submitted under in a form.",
13549
14542
  "fieldName": "name",
13550
14543
  "inheritedFrom": {
13551
14544
  "name": "BaseInput",
@@ -13554,6 +14547,7 @@
13554
14547
  },
13555
14548
  {
13556
14549
  "name": "disabled",
14550
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
13557
14551
  "fieldName": "disabled",
13558
14552
  "inheritedFrom": {
13559
14553
  "name": "BaseInput",
@@ -13566,6 +14560,7 @@
13566
14560
  "text": "boolean"
13567
14561
  },
13568
14562
  "default": "false",
14563
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
13569
14564
  "fieldName": "readonly",
13570
14565
  "inheritedFrom": {
13571
14566
  "name": "BaseInput",
@@ -13578,6 +14573,7 @@
13578
14573
  "text": "boolean"
13579
14574
  },
13580
14575
  "default": "false",
14576
+ "description": "Requires a value before the form can submit.",
13581
14577
  "fieldName": "required",
13582
14578
  "inheritedFrom": {
13583
14579
  "name": "BaseInput",
@@ -13590,6 +14586,7 @@
13590
14586
  "text": "boolean"
13591
14587
  },
13592
14588
  "default": "false",
14589
+ "description": "Shows a loading placeholder in place of the control.",
13593
14590
  "fieldName": "skeleton",
13594
14591
  "inheritedFrom": {
13595
14592
  "name": "BaseInput",
@@ -13839,6 +14836,7 @@
13839
14836
  "text": "string"
13840
14837
  },
13841
14838
  "default": "''",
14839
+ "description": "The visual style of the button, such as `\"filled\"`, `\"tonal\"`, `\"outlined\"` or `\"text\"`.",
13842
14840
  "fieldName": "variant",
13843
14841
  "inheritedFrom": {
13844
14842
  "name": "mixinBaseButton",
@@ -13851,6 +14849,7 @@
13851
14849
  "text": "string"
13852
14850
  },
13853
14851
  "default": "''",
14852
+ "description": "The color role of the button, such as `\"primary\"`, `\"surface\"` or `\"danger\"`.",
13854
14853
  "fieldName": "color",
13855
14854
  "inheritedFrom": {
13856
14855
  "name": "mixinBaseButton",
@@ -13913,6 +14912,7 @@
13913
14912
  "type": {
13914
14913
  "text": "string | undefined"
13915
14914
  },
14915
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
13916
14916
  "fieldName": "href",
13917
14917
  "inheritedFrom": {
13918
14918
  "name": "mixinHyperlink",
@@ -13925,6 +14925,7 @@
13925
14925
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
13926
14926
  },
13927
14927
  "default": "'_self'",
14928
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
13928
14929
  "fieldName": "target",
13929
14930
  "inheritedFrom": {
13930
14931
  "name": "mixinHyperlink",
@@ -13937,6 +14938,7 @@
13937
14938
  "text": "string"
13938
14939
  },
13939
14940
  "default": "''",
14941
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
13940
14942
  "fieldName": "rel",
13941
14943
  "inheritedFrom": {
13942
14944
  "name": "mixinHyperlink",
@@ -13949,6 +14951,7 @@
13949
14951
  "text": "string"
13950
14952
  },
13951
14953
  "default": "''",
14954
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
13952
14955
  "fieldName": "download",
13953
14956
  "inheritedFrom": {
13954
14957
  "name": "mixinHyperlink",
@@ -14435,6 +15438,7 @@
14435
15438
  },
14436
15439
  {
14437
15440
  "name": "name",
15441
+ "description": "The name the value is submitted under in a form.",
14438
15442
  "fieldName": "name",
14439
15443
  "inheritedFrom": {
14440
15444
  "name": "BaseInput",
@@ -14443,6 +15447,7 @@
14443
15447
  },
14444
15448
  {
14445
15449
  "name": "disabled",
15450
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
14446
15451
  "fieldName": "disabled",
14447
15452
  "inheritedFrom": {
14448
15453
  "name": "BaseInput",
@@ -14455,6 +15460,7 @@
14455
15460
  "text": "boolean"
14456
15461
  },
14457
15462
  "default": "false",
15463
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
14458
15464
  "fieldName": "readonly",
14459
15465
  "inheritedFrom": {
14460
15466
  "name": "BaseInput",
@@ -14467,6 +15473,7 @@
14467
15473
  "text": "boolean"
14468
15474
  },
14469
15475
  "default": "false",
15476
+ "description": "Requires a value before the form can submit.",
14470
15477
  "fieldName": "required",
14471
15478
  "inheritedFrom": {
14472
15479
  "name": "BaseInput",
@@ -14479,6 +15486,7 @@
14479
15486
  "text": "boolean"
14480
15487
  },
14481
15488
  "default": "false",
15489
+ "description": "Shows a loading placeholder in place of the control.",
14482
15490
  "fieldName": "skeleton",
14483
15491
  "inheritedFrom": {
14484
15492
  "name": "BaseInput",
@@ -14674,6 +15682,7 @@
14674
15682
  "text": "string"
14675
15683
  },
14676
15684
  "default": "''",
15685
+ "description": "Hint shown inside the empty control.",
14677
15686
  "fieldName": "placeholder",
14678
15687
  "inheritedFrom": {
14679
15688
  "name": "BaseField",
@@ -14712,6 +15721,7 @@
14712
15721
  "text": "string"
14713
15722
  },
14714
15723
  "default": "''",
15724
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
14715
15725
  "fieldName": "errorText",
14716
15726
  "inheritedFrom": {
14717
15727
  "name": "BaseField",
@@ -14737,6 +15747,7 @@
14737
15747
  "text": "string"
14738
15748
  },
14739
15749
  "default": "''",
15750
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
14740
15751
  "fieldName": "warningText",
14741
15752
  "inheritedFrom": {
14742
15753
  "name": "BaseField",
@@ -14800,6 +15811,7 @@
14800
15811
  },
14801
15812
  {
14802
15813
  "name": "name",
15814
+ "description": "The name the value is submitted under in a form.",
14803
15815
  "fieldName": "name",
14804
15816
  "inheritedFrom": {
14805
15817
  "name": "BaseInput",
@@ -14808,6 +15820,7 @@
14808
15820
  },
14809
15821
  {
14810
15822
  "name": "disabled",
15823
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
14811
15824
  "fieldName": "disabled",
14812
15825
  "inheritedFrom": {
14813
15826
  "name": "BaseInput",
@@ -14820,6 +15833,7 @@
14820
15833
  "text": "boolean"
14821
15834
  },
14822
15835
  "default": "false",
15836
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
14823
15837
  "fieldName": "readonly",
14824
15838
  "inheritedFrom": {
14825
15839
  "name": "BaseInput",
@@ -14832,6 +15846,7 @@
14832
15846
  "text": "boolean"
14833
15847
  },
14834
15848
  "default": "false",
15849
+ "description": "Requires a value before the form can submit.",
14835
15850
  "fieldName": "required",
14836
15851
  "inheritedFrom": {
14837
15852
  "name": "BaseInput",
@@ -14844,6 +15859,7 @@
14844
15859
  "text": "boolean"
14845
15860
  },
14846
15861
  "default": "false",
15862
+ "description": "Shows a loading placeholder in place of the control.",
14847
15863
  "fieldName": "skeleton",
14848
15864
  "inheritedFrom": {
14849
15865
  "name": "BaseInput",
@@ -15148,6 +16164,7 @@
15148
16164
  "text": "string"
15149
16165
  },
15150
16166
  "default": "''",
16167
+ "description": "The visual style of the button, such as `\"filled\"`, `\"tonal\"`, `\"outlined\"` or `\"text\"`.",
15151
16168
  "fieldName": "variant",
15152
16169
  "inheritedFrom": {
15153
16170
  "name": "mixinBaseButton",
@@ -15160,6 +16177,7 @@
15160
16177
  "text": "string"
15161
16178
  },
15162
16179
  "default": "''",
16180
+ "description": "The color role of the button, such as `\"primary\"`, `\"surface\"` or `\"danger\"`.",
15163
16181
  "fieldName": "color",
15164
16182
  "inheritedFrom": {
15165
16183
  "name": "mixinBaseButton",
@@ -15222,6 +16240,7 @@
15222
16240
  "type": {
15223
16241
  "text": "string | undefined"
15224
16242
  },
16243
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
15225
16244
  "fieldName": "href",
15226
16245
  "inheritedFrom": {
15227
16246
  "name": "mixinHyperlink",
@@ -15234,6 +16253,7 @@
15234
16253
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
15235
16254
  },
15236
16255
  "default": "'_self'",
16256
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
15237
16257
  "fieldName": "target",
15238
16258
  "inheritedFrom": {
15239
16259
  "name": "mixinHyperlink",
@@ -15246,6 +16266,7 @@
15246
16266
  "text": "string"
15247
16267
  },
15248
16268
  "default": "''",
16269
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
15249
16270
  "fieldName": "rel",
15250
16271
  "inheritedFrom": {
15251
16272
  "name": "mixinHyperlink",
@@ -15258,6 +16279,7 @@
15258
16279
  "text": "string"
15259
16280
  },
15260
16281
  "default": "''",
16282
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
15261
16283
  "fieldName": "download",
15262
16284
  "inheritedFrom": {
15263
16285
  "name": "mixinHyperlink",
@@ -16565,6 +17587,7 @@
16565
17587
  "type": {
16566
17588
  "text": "number | undefined"
16567
17589
  },
17590
+ "description": "The largest value allowed.",
16568
17591
  "fieldName": "max"
16569
17592
  },
16570
17593
  {
@@ -16572,6 +17595,7 @@
16572
17595
  "type": {
16573
17596
  "text": "number | undefined"
16574
17597
  },
17598
+ "description": "The smallest value allowed.",
16575
17599
  "fieldName": "min"
16576
17600
  },
16577
17601
  {
@@ -16579,6 +17603,7 @@
16579
17603
  "type": {
16580
17604
  "text": "number | undefined"
16581
17605
  },
17606
+ "description": "How much the value changes per step, and the granularity a valid value must match.",
16582
17607
  "fieldName": "step"
16583
17608
  },
16584
17609
  {
@@ -16587,6 +17612,7 @@
16587
17612
  "text": "'on' | 'off'"
16588
17613
  },
16589
17614
  "default": "'off'",
17615
+ "description": "Whether the browser may autofill the field: `\"on\"` or `\"off\"` (default).",
16590
17616
  "fieldName": "autocomplete"
16591
17617
  },
16592
17618
  {
@@ -16625,6 +17651,7 @@
16625
17651
  "text": "string"
16626
17652
  },
16627
17653
  "default": "''",
17654
+ "description": "Hint shown inside the empty control.",
16628
17655
  "fieldName": "placeholder",
16629
17656
  "inheritedFrom": {
16630
17657
  "name": "BaseField",
@@ -16663,6 +17690,7 @@
16663
17690
  "text": "string"
16664
17691
  },
16665
17692
  "default": "''",
17693
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
16666
17694
  "fieldName": "errorText",
16667
17695
  "inheritedFrom": {
16668
17696
  "name": "BaseField",
@@ -16688,6 +17716,7 @@
16688
17716
  "text": "string"
16689
17717
  },
16690
17718
  "default": "''",
17719
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
16691
17720
  "fieldName": "warningText",
16692
17721
  "inheritedFrom": {
16693
17722
  "name": "BaseField",
@@ -16751,6 +17780,7 @@
16751
17780
  },
16752
17781
  {
16753
17782
  "name": "name",
17783
+ "description": "The name the value is submitted under in a form.",
16754
17784
  "fieldName": "name",
16755
17785
  "inheritedFrom": {
16756
17786
  "name": "BaseInput",
@@ -16759,6 +17789,7 @@
16759
17789
  },
16760
17790
  {
16761
17791
  "name": "disabled",
17792
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
16762
17793
  "fieldName": "disabled",
16763
17794
  "inheritedFrom": {
16764
17795
  "name": "BaseInput",
@@ -16771,6 +17802,7 @@
16771
17802
  "text": "boolean"
16772
17803
  },
16773
17804
  "default": "false",
17805
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
16774
17806
  "fieldName": "readonly",
16775
17807
  "inheritedFrom": {
16776
17808
  "name": "BaseInput",
@@ -16783,6 +17815,7 @@
16783
17815
  "text": "boolean"
16784
17816
  },
16785
17817
  "default": "false",
17818
+ "description": "Requires a value before the form can submit.",
16786
17819
  "fieldName": "required",
16787
17820
  "inheritedFrom": {
16788
17821
  "name": "BaseInput",
@@ -16795,6 +17828,7 @@
16795
17828
  "text": "boolean"
16796
17829
  },
16797
17830
  "default": "false",
17831
+ "description": "Shows a loading placeholder in place of the control.",
16798
17832
  "fieldName": "skeleton",
16799
17833
  "inheritedFrom": {
16800
17834
  "name": "BaseInput",
@@ -17189,6 +18223,7 @@
17189
18223
  "text": "string"
17190
18224
  },
17191
18225
  "default": "''",
18226
+ "description": "Hint shown inside the empty control.",
17192
18227
  "fieldName": "placeholder",
17193
18228
  "inheritedFrom": {
17194
18229
  "name": "BaseField",
@@ -17227,6 +18262,7 @@
17227
18262
  "text": "string"
17228
18263
  },
17229
18264
  "default": "''",
18265
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
17230
18266
  "fieldName": "errorText",
17231
18267
  "inheritedFrom": {
17232
18268
  "name": "BaseField",
@@ -17252,6 +18288,7 @@
17252
18288
  "text": "string"
17253
18289
  },
17254
18290
  "default": "''",
18291
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
17255
18292
  "fieldName": "warningText",
17256
18293
  "inheritedFrom": {
17257
18294
  "name": "BaseField",
@@ -17315,6 +18352,7 @@
17315
18352
  },
17316
18353
  {
17317
18354
  "name": "name",
18355
+ "description": "The name the value is submitted under in a form.",
17318
18356
  "fieldName": "name",
17319
18357
  "inheritedFrom": {
17320
18358
  "name": "BaseInput",
@@ -17323,6 +18361,7 @@
17323
18361
  },
17324
18362
  {
17325
18363
  "name": "disabled",
18364
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
17326
18365
  "fieldName": "disabled",
17327
18366
  "inheritedFrom": {
17328
18367
  "name": "BaseInput",
@@ -17335,6 +18374,7 @@
17335
18374
  "text": "boolean"
17336
18375
  },
17337
18376
  "default": "false",
18377
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
17338
18378
  "fieldName": "readonly",
17339
18379
  "inheritedFrom": {
17340
18380
  "name": "BaseInput",
@@ -17347,6 +18387,7 @@
17347
18387
  "text": "boolean"
17348
18388
  },
17349
18389
  "default": "false",
18390
+ "description": "Requires a value before the form can submit.",
17350
18391
  "fieldName": "required",
17351
18392
  "inheritedFrom": {
17352
18393
  "name": "BaseInput",
@@ -17359,6 +18400,7 @@
17359
18400
  "text": "boolean"
17360
18401
  },
17361
18402
  "default": "false",
18403
+ "description": "Shows a loading placeholder in place of the control.",
17362
18404
  "fieldName": "skeleton",
17363
18405
  "inheritedFrom": {
17364
18406
  "name": "BaseInput",
@@ -17546,6 +18588,7 @@
17546
18588
  "text": "string"
17547
18589
  },
17548
18590
  "default": "''",
18591
+ "description": "Hint shown inside the empty control.",
17549
18592
  "fieldName": "placeholder",
17550
18593
  "inheritedFrom": {
17551
18594
  "name": "BaseField",
@@ -17584,6 +18627,7 @@
17584
18627
  "text": "string"
17585
18628
  },
17586
18629
  "default": "''",
18630
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
17587
18631
  "fieldName": "errorText",
17588
18632
  "inheritedFrom": {
17589
18633
  "name": "BaseField",
@@ -17609,6 +18653,7 @@
17609
18653
  "text": "string"
17610
18654
  },
17611
18655
  "default": "''",
18656
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
17612
18657
  "fieldName": "warningText",
17613
18658
  "inheritedFrom": {
17614
18659
  "name": "BaseField",
@@ -17672,6 +18717,7 @@
17672
18717
  },
17673
18718
  {
17674
18719
  "name": "name",
18720
+ "description": "The name the value is submitted under in a form.",
17675
18721
  "fieldName": "name",
17676
18722
  "inheritedFrom": {
17677
18723
  "name": "BaseInput",
@@ -17680,6 +18726,7 @@
17680
18726
  },
17681
18727
  {
17682
18728
  "name": "disabled",
18729
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
17683
18730
  "fieldName": "disabled",
17684
18731
  "inheritedFrom": {
17685
18732
  "name": "BaseInput",
@@ -17692,6 +18739,7 @@
17692
18739
  "text": "boolean"
17693
18740
  },
17694
18741
  "default": "false",
18742
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
17695
18743
  "fieldName": "readonly",
17696
18744
  "inheritedFrom": {
17697
18745
  "name": "BaseInput",
@@ -17704,6 +18752,7 @@
17704
18752
  "text": "boolean"
17705
18753
  },
17706
18754
  "default": "false",
18755
+ "description": "Requires a value before the form can submit.",
17707
18756
  "fieldName": "required",
17708
18757
  "inheritedFrom": {
17709
18758
  "name": "BaseInput",
@@ -17716,6 +18765,7 @@
17716
18765
  "text": "boolean"
17717
18766
  },
17718
18767
  "default": "false",
18768
+ "description": "Shows a loading placeholder in place of the control.",
17719
18769
  "fieldName": "skeleton",
17720
18770
  "inheritedFrom": {
17721
18771
  "name": "BaseInput",
@@ -17881,6 +18931,7 @@
17881
18931
  "text": "string"
17882
18932
  },
17883
18933
  "default": "''",
18934
+ "description": "Hint shown inside the empty control.",
17884
18935
  "fieldName": "placeholder",
17885
18936
  "inheritedFrom": {
17886
18937
  "name": "BaseField",
@@ -17919,6 +18970,7 @@
17919
18970
  "text": "string"
17920
18971
  },
17921
18972
  "default": "''",
18973
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
17922
18974
  "fieldName": "errorText",
17923
18975
  "inheritedFrom": {
17924
18976
  "name": "BaseField",
@@ -17944,6 +18996,7 @@
17944
18996
  "text": "string"
17945
18997
  },
17946
18998
  "default": "''",
18999
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
17947
19000
  "fieldName": "warningText",
17948
19001
  "inheritedFrom": {
17949
19002
  "name": "BaseField",
@@ -18007,6 +19060,7 @@
18007
19060
  },
18008
19061
  {
18009
19062
  "name": "name",
19063
+ "description": "The name the value is submitted under in a form.",
18010
19064
  "fieldName": "name",
18011
19065
  "inheritedFrom": {
18012
19066
  "name": "BaseInput",
@@ -18015,6 +19069,7 @@
18015
19069
  },
18016
19070
  {
18017
19071
  "name": "disabled",
19072
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
18018
19073
  "fieldName": "disabled",
18019
19074
  "inheritedFrom": {
18020
19075
  "name": "BaseInput",
@@ -18027,6 +19082,7 @@
18027
19082
  "text": "boolean"
18028
19083
  },
18029
19084
  "default": "false",
19085
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
18030
19086
  "fieldName": "readonly",
18031
19087
  "inheritedFrom": {
18032
19088
  "name": "BaseInput",
@@ -18039,6 +19095,7 @@
18039
19095
  "text": "boolean"
18040
19096
  },
18041
19097
  "default": "false",
19098
+ "description": "Requires a value before the form can submit.",
18042
19099
  "fieldName": "required",
18043
19100
  "inheritedFrom": {
18044
19101
  "name": "BaseInput",
@@ -18051,6 +19108,7 @@
18051
19108
  "text": "boolean"
18052
19109
  },
18053
19110
  "default": "false",
19111
+ "description": "Shows a loading placeholder in place of the control.",
18054
19112
  "fieldName": "skeleton",
18055
19113
  "inheritedFrom": {
18056
19114
  "name": "BaseInput",
@@ -18693,6 +19751,7 @@
18693
19751
  },
18694
19752
  {
18695
19753
  "name": "name",
19754
+ "description": "The name the value is submitted under in a form.",
18696
19755
  "fieldName": "name",
18697
19756
  "inheritedFrom": {
18698
19757
  "name": "BaseInput",
@@ -18701,6 +19760,7 @@
18701
19760
  },
18702
19761
  {
18703
19762
  "name": "disabled",
19763
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
18704
19764
  "fieldName": "disabled",
18705
19765
  "inheritedFrom": {
18706
19766
  "name": "BaseInput",
@@ -18713,6 +19773,7 @@
18713
19773
  "text": "boolean"
18714
19774
  },
18715
19775
  "default": "false",
19776
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
18716
19777
  "fieldName": "readonly",
18717
19778
  "inheritedFrom": {
18718
19779
  "name": "BaseInput",
@@ -18725,6 +19786,7 @@
18725
19786
  "text": "boolean"
18726
19787
  },
18727
19788
  "default": "false",
19789
+ "description": "Requires a value before the form can submit.",
18728
19790
  "fieldName": "required",
18729
19791
  "inheritedFrom": {
18730
19792
  "name": "BaseInput",
@@ -18737,6 +19799,7 @@
18737
19799
  "text": "boolean"
18738
19800
  },
18739
19801
  "default": "false",
19802
+ "description": "Shows a loading placeholder in place of the control.",
18740
19803
  "fieldName": "skeleton",
18741
19804
  "inheritedFrom": {
18742
19805
  "name": "BaseInput",
@@ -18917,6 +19980,7 @@
18917
19980
  },
18918
19981
  {
18919
19982
  "name": "name",
19983
+ "description": "The name the value is submitted under in a form.",
18920
19984
  "fieldName": "name",
18921
19985
  "inheritedFrom": {
18922
19986
  "name": "BaseInput",
@@ -18925,6 +19989,7 @@
18925
19989
  },
18926
19990
  {
18927
19991
  "name": "disabled",
19992
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
18928
19993
  "fieldName": "disabled",
18929
19994
  "inheritedFrom": {
18930
19995
  "name": "BaseInput",
@@ -18937,6 +20002,7 @@
18937
20002
  "text": "boolean"
18938
20003
  },
18939
20004
  "default": "false",
20005
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
18940
20006
  "fieldName": "readonly",
18941
20007
  "inheritedFrom": {
18942
20008
  "name": "BaseInput",
@@ -18949,6 +20015,7 @@
18949
20015
  "text": "boolean"
18950
20016
  },
18951
20017
  "default": "false",
20018
+ "description": "Requires a value before the form can submit.",
18952
20019
  "fieldName": "required",
18953
20020
  "inheritedFrom": {
18954
20021
  "name": "BaseInput",
@@ -18961,6 +20028,7 @@
18961
20028
  "text": "boolean"
18962
20029
  },
18963
20030
  "default": "false",
20031
+ "description": "Shows a loading placeholder in place of the control.",
18964
20032
  "fieldName": "skeleton",
18965
20033
  "inheritedFrom": {
18966
20034
  "name": "BaseInput",
@@ -19113,6 +20181,7 @@
19113
20181
  "text": "string"
19114
20182
  },
19115
20183
  "default": "''",
20184
+ "description": "Error message shown below the group while `error` is set; replaces the help text.",
19116
20185
  "fieldName": "errorText"
19117
20186
  },
19118
20187
  {
@@ -19282,6 +20351,7 @@
19282
20351
  "text": "string"
19283
20352
  },
19284
20353
  "default": "''",
20354
+ "description": "Error message shown below the rating while `error` is set; replaces the help text.",
19285
20355
  "fieldName": "errorText"
19286
20356
  },
19287
20357
  {
@@ -19315,6 +20385,7 @@
19315
20385
  },
19316
20386
  {
19317
20387
  "name": "name",
20388
+ "description": "The name the value is submitted under in a form.",
19318
20389
  "fieldName": "name",
19319
20390
  "inheritedFrom": {
19320
20391
  "name": "BaseInput",
@@ -19323,6 +20394,7 @@
19323
20394
  },
19324
20395
  {
19325
20396
  "name": "disabled",
20397
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
19326
20398
  "fieldName": "disabled",
19327
20399
  "inheritedFrom": {
19328
20400
  "name": "BaseInput",
@@ -19335,6 +20407,7 @@
19335
20407
  "text": "boolean"
19336
20408
  },
19337
20409
  "default": "false",
20410
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
19338
20411
  "fieldName": "readonly",
19339
20412
  "inheritedFrom": {
19340
20413
  "name": "BaseInput",
@@ -19347,6 +20420,7 @@
19347
20420
  "text": "boolean"
19348
20421
  },
19349
20422
  "default": "false",
20423
+ "description": "Requires a value before the form can submit.",
19350
20424
  "fieldName": "required",
19351
20425
  "inheritedFrom": {
19352
20426
  "name": "BaseInput",
@@ -19359,6 +20433,7 @@
19359
20433
  "text": "boolean"
19360
20434
  },
19361
20435
  "default": "false",
20436
+ "description": "Shows a loading placeholder in place of the control.",
19362
20437
  "fieldName": "skeleton",
19363
20438
  "inheritedFrom": {
19364
20439
  "name": "BaseInput",
@@ -19959,6 +21034,7 @@
19959
21034
  },
19960
21035
  {
19961
21036
  "name": "name",
21037
+ "description": "The name the value is submitted under in a form.",
19962
21038
  "fieldName": "name",
19963
21039
  "inheritedFrom": {
19964
21040
  "name": "BaseInput",
@@ -19967,6 +21043,7 @@
19967
21043
  },
19968
21044
  {
19969
21045
  "name": "disabled",
21046
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
19970
21047
  "fieldName": "disabled",
19971
21048
  "inheritedFrom": {
19972
21049
  "name": "BaseInput",
@@ -19979,6 +21056,7 @@
19979
21056
  "text": "boolean"
19980
21057
  },
19981
21058
  "default": "false",
21059
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
19982
21060
  "fieldName": "readonly",
19983
21061
  "inheritedFrom": {
19984
21062
  "name": "BaseInput",
@@ -19991,6 +21069,7 @@
19991
21069
  "text": "boolean"
19992
21070
  },
19993
21071
  "default": "false",
21072
+ "description": "Requires a value before the form can submit.",
19994
21073
  "fieldName": "required",
19995
21074
  "inheritedFrom": {
19996
21075
  "name": "BaseInput",
@@ -20003,6 +21082,7 @@
20003
21082
  "text": "boolean"
20004
21083
  },
20005
21084
  "default": "false",
21085
+ "description": "Shows a loading placeholder in place of the control.",
20006
21086
  "fieldName": "skeleton",
20007
21087
  "inheritedFrom": {
20008
21088
  "name": "BaseInput",
@@ -20224,6 +21304,7 @@
20224
21304
  },
20225
21305
  {
20226
21306
  "name": "name",
21307
+ "description": "The name the value is submitted under in a form.",
20227
21308
  "fieldName": "name",
20228
21309
  "inheritedFrom": {
20229
21310
  "name": "mixinFormAssociated",
@@ -20232,6 +21313,7 @@
20232
21313
  },
20233
21314
  {
20234
21315
  "name": "disabled",
21316
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
20235
21317
  "fieldName": "disabled",
20236
21318
  "inheritedFrom": {
20237
21319
  "name": "mixinFormAssociated",
@@ -20413,6 +21495,7 @@
20413
21495
  "text": "string"
20414
21496
  },
20415
21497
  "default": "''",
21498
+ "description": "Hint shown inside the empty control.",
20416
21499
  "fieldName": "placeholder",
20417
21500
  "inheritedFrom": {
20418
21501
  "name": "BaseField",
@@ -20451,6 +21534,7 @@
20451
21534
  "text": "string"
20452
21535
  },
20453
21536
  "default": "''",
21537
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
20454
21538
  "fieldName": "errorText",
20455
21539
  "inheritedFrom": {
20456
21540
  "name": "BaseField",
@@ -20476,6 +21560,7 @@
20476
21560
  "text": "string"
20477
21561
  },
20478
21562
  "default": "''",
21563
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
20479
21564
  "fieldName": "warningText",
20480
21565
  "inheritedFrom": {
20481
21566
  "name": "BaseField",
@@ -20539,6 +21624,7 @@
20539
21624
  },
20540
21625
  {
20541
21626
  "name": "name",
21627
+ "description": "The name the value is submitted under in a form.",
20542
21628
  "fieldName": "name",
20543
21629
  "inheritedFrom": {
20544
21630
  "name": "BaseInput",
@@ -20547,6 +21633,7 @@
20547
21633
  },
20548
21634
  {
20549
21635
  "name": "disabled",
21636
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
20550
21637
  "fieldName": "disabled",
20551
21638
  "inheritedFrom": {
20552
21639
  "name": "BaseInput",
@@ -20559,6 +21646,7 @@
20559
21646
  "text": "boolean"
20560
21647
  },
20561
21648
  "default": "false",
21649
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
20562
21650
  "fieldName": "readonly",
20563
21651
  "inheritedFrom": {
20564
21652
  "name": "BaseInput",
@@ -20571,6 +21659,7 @@
20571
21659
  "text": "boolean"
20572
21660
  },
20573
21661
  "default": "false",
21662
+ "description": "Requires a value before the form can submit.",
20574
21663
  "fieldName": "required",
20575
21664
  "inheritedFrom": {
20576
21665
  "name": "BaseInput",
@@ -20583,6 +21672,7 @@
20583
21672
  "text": "boolean"
20584
21673
  },
20585
21674
  "default": "false",
21675
+ "description": "Shows a loading placeholder in place of the control.",
20586
21676
  "fieldName": "skeleton",
20587
21677
  "inheritedFrom": {
20588
21678
  "name": "BaseInput",
@@ -20668,6 +21758,7 @@
20668
21758
  "text": "string"
20669
21759
  },
20670
21760
  "default": "''",
21761
+ "description": "The visual style of the button, such as `\"filled\"`, `\"tonal\"`, `\"outlined\"` or `\"text\"`.",
20671
21762
  "fieldName": "variant",
20672
21763
  "inheritedFrom": {
20673
21764
  "name": "MenuItem",
@@ -20680,6 +21771,7 @@
20680
21771
  "text": "string"
20681
21772
  },
20682
21773
  "default": "''",
21774
+ "description": "The color role of the button, such as `\"primary\"`, `\"surface\"` or `\"danger\"`.",
20683
21775
  "fieldName": "color",
20684
21776
  "inheritedFrom": {
20685
21777
  "name": "MenuItem",
@@ -20742,6 +21834,7 @@
20742
21834
  "type": {
20743
21835
  "text": "string | undefined"
20744
21836
  },
21837
+ "description": "The URL to link to. When set, the component renders as an `<a>` element.",
20745
21838
  "fieldName": "href",
20746
21839
  "inheritedFrom": {
20747
21840
  "name": "MenuItem",
@@ -20754,6 +21847,7 @@
20754
21847
  "text": "'_self' | '_parent' | '_blank' | '_top' | string"
20755
21848
  },
20756
21849
  "default": "'_self'",
21850
+ "description": "Where to open the linked URL: `\"_self\"` (default), `\"_blank\"`, `\"_parent\"`, `\"_top\"` or a\nframe name. Pair `\"_blank\"` with `rel=\"noopener noreferrer\"`.",
20757
21851
  "fieldName": "target",
20758
21852
  "inheritedFrom": {
20759
21853
  "name": "MenuItem",
@@ -20766,6 +21860,7 @@
20766
21860
  "text": "string"
20767
21861
  },
20768
21862
  "default": "''",
21863
+ "description": "The relationship of the linked URL to the current page, as the native `rel` attribute.",
20769
21864
  "fieldName": "rel",
20770
21865
  "inheritedFrom": {
20771
21866
  "name": "MenuItem",
@@ -20778,6 +21873,7 @@
20778
21873
  "text": "string"
20779
21874
  },
20780
21875
  "default": "''",
21876
+ "description": "Downloads the linked URL instead of navigating to it; the value is the suggested file\nname. Only applies with `href`.",
20781
21877
  "fieldName": "download",
20782
21878
  "inheritedFrom": {
20783
21879
  "name": "MenuItem",
@@ -21283,6 +22379,7 @@
21283
22379
  "text": "string"
21284
22380
  },
21285
22381
  "default": "''",
22382
+ "description": "Error message shown below the slider while `error` is set; replaces the help text.",
21286
22383
  "fieldName": "errorText"
21287
22384
  },
21288
22385
  {
@@ -21311,6 +22408,7 @@
21311
22408
  },
21312
22409
  {
21313
22410
  "name": "name",
22411
+ "description": "The name the value is submitted under in a form.",
21314
22412
  "fieldName": "name",
21315
22413
  "inheritedFrom": {
21316
22414
  "name": "BaseInput",
@@ -21319,6 +22417,7 @@
21319
22417
  },
21320
22418
  {
21321
22419
  "name": "disabled",
22420
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
21322
22421
  "fieldName": "disabled",
21323
22422
  "inheritedFrom": {
21324
22423
  "name": "BaseInput",
@@ -21331,6 +22430,7 @@
21331
22430
  "text": "boolean"
21332
22431
  },
21333
22432
  "default": "false",
22433
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
21334
22434
  "fieldName": "readonly",
21335
22435
  "inheritedFrom": {
21336
22436
  "name": "BaseInput",
@@ -21343,6 +22443,7 @@
21343
22443
  "text": "boolean"
21344
22444
  },
21345
22445
  "default": "false",
22446
+ "description": "Requires a value before the form can submit.",
21346
22447
  "fieldName": "required",
21347
22448
  "inheritedFrom": {
21348
22449
  "name": "BaseInput",
@@ -21355,6 +22456,7 @@
21355
22456
  "text": "boolean"
21356
22457
  },
21357
22458
  "default": "false",
22459
+ "description": "Shows a loading placeholder in place of the control.",
21358
22460
  "fieldName": "skeleton",
21359
22461
  "inheritedFrom": {
21360
22462
  "name": "BaseInput",
@@ -22454,6 +23556,7 @@
22454
23556
  "text": "boolean"
22455
23557
  },
22456
23558
  "default": "false",
23559
+ "description": "Shows a check icon in the handle when on and a close icon when off.",
22457
23560
  "fieldName": "withIcon"
22458
23561
  },
22459
23562
  {
@@ -22509,6 +23612,7 @@
22509
23612
  },
22510
23613
  {
22511
23614
  "name": "name",
23615
+ "description": "The name the value is submitted under in a form.",
22512
23616
  "fieldName": "name",
22513
23617
  "inheritedFrom": {
22514
23618
  "name": "BaseInput",
@@ -22517,6 +23621,7 @@
22517
23621
  },
22518
23622
  {
22519
23623
  "name": "disabled",
23624
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
22520
23625
  "fieldName": "disabled",
22521
23626
  "inheritedFrom": {
22522
23627
  "name": "BaseInput",
@@ -22529,6 +23634,7 @@
22529
23634
  "text": "boolean"
22530
23635
  },
22531
23636
  "default": "false",
23637
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
22532
23638
  "fieldName": "readonly",
22533
23639
  "inheritedFrom": {
22534
23640
  "name": "BaseInput",
@@ -22541,6 +23647,7 @@
22541
23647
  "text": "boolean"
22542
23648
  },
22543
23649
  "default": "false",
23650
+ "description": "Requires a value before the form can submit.",
22544
23651
  "fieldName": "required",
22545
23652
  "inheritedFrom": {
22546
23653
  "name": "BaseInput",
@@ -22553,6 +23660,7 @@
22553
23660
  "text": "boolean"
22554
23661
  },
22555
23662
  "default": "false",
23663
+ "description": "Shows a loading placeholder in place of the control.",
22556
23664
  "fieldName": "skeleton",
22557
23665
  "inheritedFrom": {
22558
23666
  "name": "BaseInput",
@@ -22627,6 +23735,7 @@
22627
23735
  "text": "boolean"
22628
23736
  },
22629
23737
  "default": "false",
23738
+ "description": "Disables the tab: it can't be selected.",
22630
23739
  "fieldName": "disabled"
22631
23740
  },
22632
23741
  {
@@ -22668,6 +23777,7 @@
22668
23777
  "type": {
22669
23778
  "text": "string | undefined"
22670
23779
  },
23780
+ "description": "The URL to link to. When set, the tab renders as a link for page navigation.",
22671
23781
  "fieldName": "href"
22672
23782
  },
22673
23783
  {
@@ -23180,6 +24290,7 @@
23180
24290
  "text": "'primary' | 'secondary' | 'contained' | 'filled'"
23181
24291
  },
23182
24292
  "default": "'primary'",
24293
+ "description": "The visual style of the tabs: `\"primary\"` (default), `\"secondary\"`, `\"contained\"` or `\"filled\"`.",
23183
24294
  "fieldName": "variant"
23184
24295
  },
23185
24296
  {
@@ -23346,6 +24457,7 @@
23346
24457
  "text": "'on' | 'off'"
23347
24458
  },
23348
24459
  "default": "'off'",
24460
+ "description": "Whether the browser may autofill the field: `\"on\"` or `\"off\"` (default).",
23349
24461
  "fieldName": "autocomplete"
23350
24462
  },
23351
24463
  {
@@ -23427,6 +24539,7 @@
23427
24539
  "text": "string"
23428
24540
  },
23429
24541
  "default": "''",
24542
+ "description": "Hint shown inside the empty control.",
23430
24543
  "fieldName": "placeholder",
23431
24544
  "inheritedFrom": {
23432
24545
  "name": "BaseField",
@@ -23465,6 +24578,7 @@
23465
24578
  "text": "string"
23466
24579
  },
23467
24580
  "default": "''",
24581
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
23468
24582
  "fieldName": "errorText",
23469
24583
  "inheritedFrom": {
23470
24584
  "name": "BaseField",
@@ -23490,6 +24604,7 @@
23490
24604
  "text": "string"
23491
24605
  },
23492
24606
  "default": "''",
24607
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
23493
24608
  "fieldName": "warningText",
23494
24609
  "inheritedFrom": {
23495
24610
  "name": "BaseField",
@@ -23553,6 +24668,7 @@
23553
24668
  },
23554
24669
  {
23555
24670
  "name": "name",
24671
+ "description": "The name the value is submitted under in a form.",
23556
24672
  "fieldName": "name",
23557
24673
  "inheritedFrom": {
23558
24674
  "name": "BaseInput",
@@ -23561,6 +24677,7 @@
23561
24677
  },
23562
24678
  {
23563
24679
  "name": "disabled",
24680
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
23564
24681
  "fieldName": "disabled",
23565
24682
  "inheritedFrom": {
23566
24683
  "name": "BaseInput",
@@ -23573,6 +24690,7 @@
23573
24690
  "text": "boolean"
23574
24691
  },
23575
24692
  "default": "false",
24693
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
23576
24694
  "fieldName": "readonly",
23577
24695
  "inheritedFrom": {
23578
24696
  "name": "BaseInput",
@@ -23585,6 +24703,7 @@
23585
24703
  "text": "boolean"
23586
24704
  },
23587
24705
  "default": "false",
24706
+ "description": "Requires a value before the form can submit.",
23588
24707
  "fieldName": "required",
23589
24708
  "inheritedFrom": {
23590
24709
  "name": "BaseInput",
@@ -23597,6 +24716,7 @@
23597
24716
  "text": "boolean"
23598
24717
  },
23599
24718
  "default": "false",
24719
+ "description": "Shows a loading placeholder in place of the control.",
23600
24720
  "fieldName": "skeleton",
23601
24721
  "inheritedFrom": {
23602
24722
  "name": "BaseInput",
@@ -23795,6 +24915,7 @@
23795
24915
  "text": "string"
23796
24916
  },
23797
24917
  "default": "''",
24918
+ "description": "Hint shown inside the empty control.",
23798
24919
  "fieldName": "placeholder",
23799
24920
  "inheritedFrom": {
23800
24921
  "name": "BaseField",
@@ -23833,6 +24954,7 @@
23833
24954
  "text": "string"
23834
24955
  },
23835
24956
  "default": "''",
24957
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
23836
24958
  "fieldName": "errorText",
23837
24959
  "inheritedFrom": {
23838
24960
  "name": "BaseField",
@@ -23858,6 +24980,7 @@
23858
24980
  "text": "string"
23859
24981
  },
23860
24982
  "default": "''",
24983
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
23861
24984
  "fieldName": "warningText",
23862
24985
  "inheritedFrom": {
23863
24986
  "name": "BaseField",
@@ -23921,6 +25044,7 @@
23921
25044
  },
23922
25045
  {
23923
25046
  "name": "name",
25047
+ "description": "The name the value is submitted under in a form.",
23924
25048
  "fieldName": "name",
23925
25049
  "inheritedFrom": {
23926
25050
  "name": "BaseInput",
@@ -23929,6 +25053,7 @@
23929
25053
  },
23930
25054
  {
23931
25055
  "name": "disabled",
25056
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
23932
25057
  "fieldName": "disabled",
23933
25058
  "inheritedFrom": {
23934
25059
  "name": "BaseInput",
@@ -23941,6 +25066,7 @@
23941
25066
  "text": "boolean"
23942
25067
  },
23943
25068
  "default": "false",
25069
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
23944
25070
  "fieldName": "readonly",
23945
25071
  "inheritedFrom": {
23946
25072
  "name": "BaseInput",
@@ -23953,6 +25079,7 @@
23953
25079
  "text": "boolean"
23954
25080
  },
23955
25081
  "default": "false",
25082
+ "description": "Requires a value before the form can submit.",
23956
25083
  "fieldName": "required",
23957
25084
  "inheritedFrom": {
23958
25085
  "name": "BaseInput",
@@ -23965,6 +25092,7 @@
23965
25092
  "text": "boolean"
23966
25093
  },
23967
25094
  "default": "false",
25095
+ "description": "Shows a loading placeholder in place of the control.",
23968
25096
  "fieldName": "skeleton",
23969
25097
  "inheritedFrom": {
23970
25098
  "name": "BaseInput",
@@ -24213,6 +25341,7 @@
24213
25341
  "text": "boolean"
24214
25342
  },
24215
25343
  "default": "false",
25344
+ "description": "Disables the picker: no time can be focused or picked.",
24216
25345
  "fieldName": "disabled"
24217
25346
  },
24218
25347
  {
@@ -24221,6 +25350,7 @@
24221
25350
  "text": "boolean"
24222
25351
  },
24223
25352
  "default": "false",
25353
+ "description": "Shows the selected time but stops the user changing it.",
24224
25354
  "fieldName": "readonly"
24225
25355
  }
24226
25356
  ],
@@ -24599,6 +25729,7 @@
24599
25729
  "text": "string"
24600
25730
  },
24601
25731
  "default": "''",
25732
+ "description": "Error message shown below the component while `error` is set; replaces the help text.",
24602
25733
  "fieldName": "errorText"
24603
25734
  },
24604
25735
  {
@@ -24647,6 +25778,7 @@
24647
25778
  },
24648
25779
  {
24649
25780
  "name": "name",
25781
+ "description": "The name the value is submitted under in a form.",
24650
25782
  "fieldName": "name",
24651
25783
  "inheritedFrom": {
24652
25784
  "name": "BaseInput",
@@ -24655,6 +25787,7 @@
24655
25787
  },
24656
25788
  {
24657
25789
  "name": "disabled",
25790
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
24658
25791
  "fieldName": "disabled",
24659
25792
  "inheritedFrom": {
24660
25793
  "name": "BaseInput",
@@ -24667,6 +25800,7 @@
24667
25800
  "text": "boolean"
24668
25801
  },
24669
25802
  "default": "false",
25803
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
24670
25804
  "fieldName": "readonly",
24671
25805
  "inheritedFrom": {
24672
25806
  "name": "BaseInput",
@@ -24679,6 +25813,7 @@
24679
25813
  "text": "boolean"
24680
25814
  },
24681
25815
  "default": "false",
25816
+ "description": "Requires a value before the form can submit.",
24682
25817
  "fieldName": "required",
24683
25818
  "inheritedFrom": {
24684
25819
  "name": "BaseInput",
@@ -24691,6 +25826,7 @@
24691
25826
  "text": "boolean"
24692
25827
  },
24693
25828
  "default": "false",
25829
+ "description": "Shows a loading placeholder in place of the control.",
24694
25830
  "fieldName": "skeleton",
24695
25831
  "inheritedFrom": {
24696
25832
  "name": "BaseInput",
@@ -24785,21 +25921,299 @@
24785
25921
  "type": {
24786
25922
  "text": "TreeSelection"
24787
25923
  },
24788
- "default": "'none'",
24789
- "description": "How the person chooses items: `none` (navigate and activate only), `single` or `multiple`\n(checkboxes).",
24790
- "fieldName": "selection",
24791
- "expandedType": {
24792
- "text": "'none' | 'single' | 'multiple'"
25924
+ "default": "'none'",
25925
+ "description": "How the person chooses items: `none` (navigate and activate only), `single` or `multiple`\n(checkboxes).",
25926
+ "fieldName": "selection",
25927
+ "expandedType": {
25928
+ "text": "'none' | 'single' | 'multiple'"
25929
+ }
25930
+ },
25931
+ {
25932
+ "name": "value",
25933
+ "type": {
25934
+ "text": "string"
25935
+ },
25936
+ "default": "''",
25937
+ "description": "The selected item's value. With `selection=\"multiple\"`, a comma-separated list of the checked\nitems' values (use `values`), so item values must not contain commas.",
25938
+ "fieldName": "value"
25939
+ },
25940
+ {
25941
+ "name": "label",
25942
+ "type": {
25943
+ "text": "string"
25944
+ },
25945
+ "default": "''",
25946
+ "description": "The accessible name, when no `aria-label` or `aria-labelledby` is set.",
25947
+ "fieldName": "label"
25948
+ }
25949
+ ],
25950
+ "superclass": {
25951
+ "name": "LitElement",
25952
+ "package": "lit"
25953
+ },
25954
+ "tagName": "wc-tree",
25955
+ "customElement": true,
25956
+ "rawTag": {
25957
+ "name": "tree",
25958
+ "description": ""
25959
+ }
25960
+ }
25961
+ },
25962
+ {
25963
+ "label": "Tree chart",
25964
+ "tag": "wc-tree-chart",
25965
+ "rawTag": "tree-chart",
25966
+ "summary": "A hierarchy laid out as a tidy tree on an infinite canvas: org charts, taxonomies, sitemaps, decision trees.",
25967
+ "overview": "<p>Set <code>items</code> to a flat list where each item names its <code>parentId</code>; the chart lays\nthe tree out with each card's real size. Top to bottom by default, or left to right with\n<code>orientation=\"horizontal\"</code>. <code>compact</code> stacks teams with no further levels in a\ncolumn under their manager, which keeps wide organisations narrow.</p>\n<p>A card shows an avatar (or an <code>icon</code>), a headline, supporting text and a\n<code>badge</code>. Put your own card in <code>slot=\"item:&lt;id&gt;\"</code>. The chip under a card\nshows how many items are below it and expands or collapses them (<code>expand</code> and\n<code>collapse</code> fire). For lazy loading, give an item <code>hasChildren</code> and add its\nchildren when it fires <code>expand</code>; it shows a spinner until they arrive.</p>\n<p><code>search(text)</code> expands the way to every match, highlights the path from the root and\ndims the rest, and zooms to the first match; <code>clearSearch()</code> undoes it.</p>\n<p>With <code>editable</code>, drag a card onto another to change its parent (never into its own\nbranch), add an item below or beside with the buttons on a card, and delete with Delete, which\nmoves the item's children up to its parent. <code>reparent</code>, <code>add</code> and\n<code>delete</code> fire first and can be canceled; every edit then fires <code>change</code> with the\nnew <code>items</code>. Undo with Ctrl+Z. Expanding, collapsing and edits glide.</p>\n<p>The tree follows the WAI-ARIA tree pattern with one tab stop. In a vertical chart Up goes to the\nparent, Down to the first child, Left and Right to siblings (mirrored in right-to-left); a\nhorizontal chart turns the keys. Home and End go to the first and last item, <code>*</code> expands\nall siblings, Enter selects and Shift + Enter expands or collapses. The canvas is infinite like\n<code>wc-diagram</code>, with the <code>controls</code> and <code>minimap</code> slots.</p>",
25968
+ "example": "```html\n<wc-tree-chart id=\"org\" style=\"height: 500px\"></wc-tree-chart>\n<script>\n document.getElementById('org').items = [\n { id: 'ceo', headline: 'Sarah Jenkins', supportingText: 'CEO' },\n { id: 'cto', parentId: 'ceo', headline: 'Michael Chen', supportingText: 'CTO', badge: 'Engineering' },\n { id: 'cpo', parentId: 'ceo', headline: 'Elena Rostova', supportingText: 'CPO', badge: 'Product' }\n ];\n</script>\n```",
25969
+ "slot": "item:<id> - Custom content for the item with that id, in place of the built-in card.",
25970
+ "fires": "viewport-change - Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
25971
+ "cssprop": "--tree-chart-background - Canvas background. Defaults to surface-container-lowest.",
25972
+ "tags": "data",
25973
+ "customElement": {
25974
+ "kind": "class",
25975
+ "description": "",
25976
+ "cssProperties": [
25977
+ {
25978
+ "description": "Colour of connectors. Defaults to a mix of primary and outline-variant.",
25979
+ "name": "--tree-chart-connector-color"
25980
+ },
25981
+ {
25982
+ "description": "Canvas background. Defaults to surface-container-lowest.",
25983
+ "name": "--tree-chart-background"
25984
+ }
25985
+ ],
25986
+ "slots": [
25987
+ {
25988
+ "description": "A `wc-diagram-controls`, shown at the bottom start corner.",
25989
+ "name": "controls"
25990
+ },
25991
+ {
25992
+ "description": "A `wc-diagram-minimap`, shown at the bottom end corner.",
25993
+ "name": "minimap"
25994
+ },
25995
+ {
25996
+ "description": "Custom content for the item with that id, in place of the built-in card.",
25997
+ "name": "item:<id>"
25998
+ }
25999
+ ],
26000
+ "events": [
26001
+ {
26002
+ "type": {
26003
+ "text": "CustomEvent<TreeChartItemDetail>"
26004
+ },
26005
+ "description": "An item was chosen with a click, Enter or Space. Detail contains `{ id, item }`.",
26006
+ "name": "select"
26007
+ },
26008
+ {
26009
+ "type": {
26010
+ "text": "CustomEvent<TreeChartItemDetail>"
26011
+ },
26012
+ "description": "An item was expanded. Add its children now when they load lazily. Detail contains `{ id, item }`.",
26013
+ "name": "expand"
26014
+ },
26015
+ {
26016
+ "type": {
26017
+ "text": "CustomEvent<TreeChartItemDetail>"
26018
+ },
26019
+ "description": "An item was collapsed. Detail contains `{ id, item }`.",
26020
+ "name": "collapse"
26021
+ },
26022
+ {
26023
+ "type": {
26024
+ "text": "CustomEvent<TreeChartReparentDetail>"
26025
+ },
26026
+ "description": "Before a dragged item gets a new parent. Cancel it to keep it where it was. Detail contains `{ id, parentId, previousParentId }`.",
26027
+ "name": "reparent"
26028
+ },
26029
+ {
26030
+ "type": {
26031
+ "text": "CustomEvent<TreeChartAddDetail>"
26032
+ },
26033
+ "description": "Before a new item is added with a card's buttons. Cancel it to add the item your own way. Detail contains `{ parentId, position, of }`.",
26034
+ "name": "add"
26035
+ },
26036
+ {
26037
+ "type": {
26038
+ "text": "CustomEvent<TreeChartDeleteDetail>"
26039
+ },
26040
+ "description": "Before an item is removed. Cancel it to keep it. Detail contains `{ ids }`.",
26041
+ "name": "delete"
26042
+ },
26043
+ {
26044
+ "type": {
26045
+ "text": "CustomEvent<TreeChartChangeDetail>"
26046
+ },
26047
+ "description": "After every edit. Detail contains `{ items, reason }`.",
26048
+ "name": "change"
26049
+ },
26050
+ {
26051
+ "type": {
26052
+ "text": "CustomEvent<TreeChartViewportDetail>"
26053
+ },
26054
+ "description": "Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
26055
+ "name": "viewport-change"
26056
+ },
26057
+ {
26058
+ "name": "type",
26059
+ "type": {
26060
+ "text": "CustomEvent"
26061
+ },
26062
+ "inheritedFrom": {
26063
+ "name": "DiagramCanvasElement",
26064
+ "module": "src/__internal/diagram/canvas-base.ts"
26065
+ }
26066
+ }
26067
+ ],
26068
+ "attributes": [
26069
+ {
26070
+ "name": "orientation",
26071
+ "type": {
26072
+ "text": "TreeChartOrientation"
26073
+ },
26074
+ "default": "'vertical'",
26075
+ "description": "Lays the tree out top to bottom or left to right.",
26076
+ "fieldName": "orientation",
26077
+ "expandedType": {
26078
+ "text": "'vertical' | 'horizontal'"
26079
+ }
26080
+ },
26081
+ {
26082
+ "name": "compact",
26083
+ "type": {
26084
+ "text": "boolean"
26085
+ },
26086
+ "default": "false",
26087
+ "description": "Stacks children that have no children of their own in a column (vertical charts).",
26088
+ "fieldName": "compact"
26089
+ },
26090
+ {
26091
+ "name": "selected",
26092
+ "type": {
26093
+ "text": "string"
26094
+ },
26095
+ "default": "''",
26096
+ "description": "Id of the selected item.",
26097
+ "fieldName": "selected"
26098
+ },
26099
+ {
26100
+ "name": "zoom",
26101
+ "type": {
26102
+ "text": "number"
26103
+ },
26104
+ "default": "1",
26105
+ "description": "The camera's scale. Follows wheel and pinch zooming; set it to zoom around the centre.",
26106
+ "fieldName": "zoom",
26107
+ "inheritedFrom": {
26108
+ "name": "DiagramCanvasElement",
26109
+ "module": "src/__internal/diagram/canvas-base.ts"
26110
+ }
26111
+ },
26112
+ {
26113
+ "name": "padding",
26114
+ "type": {
26115
+ "text": "number"
26116
+ },
26117
+ "default": "50",
26118
+ "description": "Screen pixels kept around content when fitting it.",
26119
+ "fieldName": "padding",
26120
+ "inheritedFrom": {
26121
+ "name": "DiagramCanvasElement",
26122
+ "module": "src/__internal/diagram/canvas-base.ts"
26123
+ }
26124
+ },
26125
+ {
26126
+ "name": "start-position",
26127
+ "type": {
26128
+ "text": "DiagramStartPosition"
26129
+ },
26130
+ "default": "'fit'",
26131
+ "description": "Where the camera starts: fit all content, the canvas origin at 100%, or the first item at 100%.",
26132
+ "fieldName": "startPosition",
26133
+ "expandedType": {
26134
+ "text": "'fit' | 'origin' | 'first'"
26135
+ },
26136
+ "inheritedFrom": {
26137
+ "name": "DiagramCanvasElement",
26138
+ "module": "src/__internal/diagram/canvas-base.ts"
26139
+ }
26140
+ },
26141
+ {
26142
+ "name": "start-view",
26143
+ "type": {
26144
+ "text": "DiagramView | undefined"
26145
+ },
26146
+ "description": "An exact starting camera, `{ x, y, zoom }`, for example one saved from `viewport-change`. Wins over `start-position`.",
26147
+ "fieldName": "startView",
26148
+ "inheritedFrom": {
26149
+ "name": "DiagramCanvasElement",
26150
+ "module": "src/__internal/diagram/canvas-base.ts"
26151
+ }
26152
+ },
26153
+ {
26154
+ "name": "min-zoom",
26155
+ "type": {
26156
+ "text": "number"
26157
+ },
26158
+ "default": "0.1",
26159
+ "description": "Smallest zoom.",
26160
+ "fieldName": "minZoom",
26161
+ "inheritedFrom": {
26162
+ "name": "DiagramCanvasElement",
26163
+ "module": "src/__internal/diagram/canvas-base.ts"
26164
+ }
26165
+ },
26166
+ {
26167
+ "name": "max-zoom",
26168
+ "type": {
26169
+ "text": "number"
26170
+ },
26171
+ "default": "4",
26172
+ "description": "Largest zoom.",
26173
+ "fieldName": "maxZoom",
26174
+ "inheritedFrom": {
26175
+ "name": "DiagramCanvasElement",
26176
+ "module": "src/__internal/diagram/canvas-base.ts"
26177
+ }
26178
+ },
26179
+ {
26180
+ "name": "grid-size",
26181
+ "type": {
26182
+ "text": "number"
26183
+ },
26184
+ "default": "20",
26185
+ "description": "Spacing of the background dots, in canvas pixels.",
26186
+ "fieldName": "gridSize",
26187
+ "inheritedFrom": {
26188
+ "name": "DiagramCanvasElement",
26189
+ "module": "src/__internal/diagram/canvas-base.ts"
26190
+ }
26191
+ },
26192
+ {
26193
+ "name": "editable",
26194
+ "type": {
26195
+ "text": "boolean"
26196
+ },
26197
+ "default": "false",
26198
+ "description": "Turns on editing.",
26199
+ "fieldName": "editable",
26200
+ "inheritedFrom": {
26201
+ "name": "DiagramCanvasElement",
26202
+ "module": "src/__internal/diagram/canvas-base.ts"
24793
26203
  }
24794
26204
  },
24795
26205
  {
24796
- "name": "value",
26206
+ "name": "readonly",
24797
26207
  "type": {
24798
- "text": "string"
26208
+ "text": "boolean"
24799
26209
  },
24800
- "default": "''",
24801
- "description": "The selected item's value. With `selection=\"multiple\"`, a comma-separated list of the checked\nitems' values (use `values`), so item values must not contain commas.",
24802
- "fieldName": "value"
26210
+ "default": "false",
26211
+ "description": "Keeps content in place; the person can still pan, zoom and select.",
26212
+ "fieldName": "readonly",
26213
+ "inheritedFrom": {
26214
+ "name": "DiagramCanvasElement",
26215
+ "module": "src/__internal/diagram/canvas-base.ts"
26216
+ }
24803
26217
  },
24804
26218
  {
24805
26219
  "name": "label",
@@ -24807,18 +26221,22 @@
24807
26221
  "text": "string"
24808
26222
  },
24809
26223
  "default": "''",
24810
- "description": "The accessible name, when no `aria-label` or `aria-labelledby` is set.",
24811
- "fieldName": "label"
26224
+ "description": "The canvas's accessible name.",
26225
+ "fieldName": "label",
26226
+ "inheritedFrom": {
26227
+ "name": "DiagramCanvasElement",
26228
+ "module": "src/__internal/diagram/canvas-base.ts"
26229
+ }
24812
26230
  }
24813
26231
  ],
24814
26232
  "superclass": {
24815
- "name": "LitElement",
24816
- "package": "lit"
26233
+ "name": "DiagramCanvasElement",
26234
+ "package": "@/__internal/diagram/canvas-base.js"
24817
26235
  },
24818
- "tagName": "wc-tree",
26236
+ "tagName": "wc-tree-chart",
24819
26237
  "customElement": true,
24820
26238
  "rawTag": {
24821
- "name": "tree",
26239
+ "name": "tree-chart",
24822
26240
  "description": ""
24823
26241
  }
24824
26242
  }
@@ -25120,6 +26538,7 @@
25120
26538
  "text": "string"
25121
26539
  },
25122
26540
  "default": "''",
26541
+ "description": "Hint shown inside the empty control.",
25123
26542
  "fieldName": "placeholder",
25124
26543
  "inheritedFrom": {
25125
26544
  "name": "BaseField",
@@ -25158,6 +26577,7 @@
25158
26577
  "text": "string"
25159
26578
  },
25160
26579
  "default": "''",
26580
+ "description": "Error message shown below the field while `error` is set; replaces the help text.",
25161
26581
  "fieldName": "errorText",
25162
26582
  "inheritedFrom": {
25163
26583
  "name": "BaseField",
@@ -25183,6 +26603,7 @@
25183
26603
  "text": "string"
25184
26604
  },
25185
26605
  "default": "''",
26606
+ "description": "Warning message shown below the field while `warning` is set; replaces the help text.",
25186
26607
  "fieldName": "warningText",
25187
26608
  "inheritedFrom": {
25188
26609
  "name": "BaseField",
@@ -25246,6 +26667,7 @@
25246
26667
  },
25247
26668
  {
25248
26669
  "name": "name",
26670
+ "description": "The name the value is submitted under in a form.",
25249
26671
  "fieldName": "name",
25250
26672
  "inheritedFrom": {
25251
26673
  "name": "BaseInput",
@@ -25254,6 +26676,7 @@
25254
26676
  },
25255
26677
  {
25256
26678
  "name": "disabled",
26679
+ "description": "Disables the control: it can't be focused or changed, and its value isn't submitted.",
25257
26680
  "fieldName": "disabled",
25258
26681
  "inheritedFrom": {
25259
26682
  "name": "BaseInput",
@@ -25266,6 +26689,7 @@
25266
26689
  "text": "boolean"
25267
26690
  },
25268
26691
  "default": "false",
26692
+ "description": "Shows the value but stops the user changing it; unlike `disabled`, it stays focusable and is submitted.",
25269
26693
  "fieldName": "readonly",
25270
26694
  "inheritedFrom": {
25271
26695
  "name": "BaseInput",
@@ -25278,6 +26702,7 @@
25278
26702
  "text": "boolean"
25279
26703
  },
25280
26704
  "default": "false",
26705
+ "description": "Requires a value before the form can submit.",
25281
26706
  "fieldName": "required",
25282
26707
  "inheritedFrom": {
25283
26708
  "name": "BaseInput",
@@ -25290,6 +26715,7 @@
25290
26715
  "text": "boolean"
25291
26716
  },
25292
26717
  "default": "false",
26718
+ "description": "Shows a loading placeholder in place of the control.",
25293
26719
  "fieldName": "skeleton",
25294
26720
  "inheritedFrom": {
25295
26721
  "name": "BaseInput",
@@ -25538,6 +26964,359 @@
25538
26964
  }
25539
26965
  }
25540
26966
  },
26967
+ {
26968
+ "label": "Workflow",
26969
+ "tag": "wc-workflow",
26970
+ "rawTag": "workflow",
26971
+ "summary": "A structured builder for business rules and processes: steps, branches that merge back, parallel paths, loops, error paths and ends.",
26972
+ "overview": "<p>Set <code>value</code> to a trigger and a list of steps. Steps are <code>action</code>,\n<code>wait</code> and <code>end</code> cards, <code>branch</code> and <code>parallel</code> blocks whose\npaths sit side by side and merge back below (a path that ends draws no merge), and\n<code>loop</code> frames. An action's <code>onError</code> steps run as a side path. The layout is\nautomatic: top to bottom, or left to right with <code>direction=\"horizontal\"</code>, joined by rounded\nconnectors.</p>\n<p>Cards show a tinted icon, a headline and the kind of step, up to three <code>fields</code>\n(<code>{{Step.output}}</code> in a value renders as a data pill), and a footer with outputs, tools or\nan assignee. <code>density</code> shows less (<code>compact</code>) or everything\n(<code>expanded</code>). Put your own card in <code>slot=\"step:&lt;id&gt;\"</code>.</p>\n<p>With <code>editable</code>, a \"+\" on every connector opens a searchable palette built from\n<code>stepTypes</code>; <code>step-add</code> fires first and can be canceled to show your own dialog.\nDrag a step to another \"+\" to move it, delete it with Delete, duplicate with Ctrl+D, copy and paste,\nand undo with Ctrl+Z. Steps glide to their new places. Every edit fires <code>change</code> with the\nnew <code>value</code>; selecting a step fires <code>select</code>, for your inspector. Apply its edits\nwith <code>updateStep()</code>.</p>\n<p>The canvas is infinite, like <code>wc-diagram</code>: pan, zoom, <code>start-position</code>,\n<code>home()</code>, and the <code>controls</code> and <code>minimap</code> slots. Steps are a tree for\nscreen readers. Up and Down move through steps in reading order, Left and Right move between the\npaths of a branch (in a horizontal workflow the keys swap), Insert opens the palette after the\nfocused step, Alt + Up or Down moves it, and Shift + Enter collapses or expands a block.</p>\n<p><code>mode=\"debug\"</code> and <code>mode=\"history\"</code> show a <code>run</code> from your engine:\neach card gets its status and duration, the path taken is drawn solid and paths not taken are\ndashed, the running step pulses and a dot travels into each step the run reaches\n(<code>follow</code> keeps it in view). A failed step shows its error with \"Retry from here\". In\ndebug mode a debug bar fires <code>debug-action</code> (Continue F5, Step over F10, Step into F11,\nRestart, Stop Shift+F5), and the dot left of each card toggles a breakpoint (F9) and fires\n<code>breakpoint-toggle</code>. A loop shows an iteration picker; the steps inside show the picked\niteration. History mode is read-only. Editing is off outside <code>design</code>. Pair it with\n<code>wc-workflow-timeline</code> for a timeline of the run.</p>",
26973
+ "example": "```html\n<wc-workflow id=\"rule\" editable style=\"height: 600px\">\n <wc-diagram-controls slot=\"controls\"></wc-diagram-controls>\n</wc-workflow>\n<script>\n document.getElementById('rule').value = {\n trigger: { id: 'created', type: 'action', headline: 'Expense created', icon: 'bolt' },\n steps: [\n {\n id: 'amount', type: 'branch', headline: 'Amount check',\n paths: [\n { id: 'big', label: 'amount > 1,000', steps: [{ id: 'approve', type: 'action', headline: 'Manager approval' }] },\n { id: 'small', label: 'Otherwise', isDefault: true, steps: [] }\n ]\n },\n { id: 'end', type: 'end' }\n ]\n };\n</script>\n```",
26974
+ "slot": "step:<id> - Custom content for the step with that id, in place of the built-in card.",
26975
+ "fires": "iteration-change - A different loop iteration was picked. Detail contains `{ loopId, index }`.",
26976
+ "cssprop": "--workflow-background - Canvas background. Defaults to surface-container-lowest.",
26977
+ "tags": "data",
26978
+ "customElement": {
26979
+ "kind": "class",
26980
+ "description": "",
26981
+ "cssProperties": [
26982
+ {
26983
+ "description": "Width of a standard card. Defaults to 280px.",
26984
+ "name": "--workflow-card-width"
26985
+ },
26986
+ {
26987
+ "description": "Colour of connectors. Defaults to a mix of primary and outline-variant.",
26988
+ "name": "--workflow-connector-color"
26989
+ },
26990
+ {
26991
+ "description": "Canvas background. Defaults to surface-container-lowest.",
26992
+ "name": "--workflow-background"
26993
+ }
26994
+ ],
26995
+ "slots": [
26996
+ {
26997
+ "description": "A `wc-diagram-controls`, shown at the bottom start corner.",
26998
+ "name": "controls"
26999
+ },
27000
+ {
27001
+ "description": "A `wc-diagram-minimap`, shown at the bottom end corner.",
27002
+ "name": "minimap"
27003
+ },
27004
+ {
27005
+ "description": "Custom content for the step with that id, in place of the built-in card.",
27006
+ "name": "step:<id>"
27007
+ }
27008
+ ],
27009
+ "events": [
27010
+ {
27011
+ "type": {
27012
+ "text": "CustomEvent<WorkflowSelectDetail>"
27013
+ },
27014
+ "description": "A step was chosen with a click, Enter or Space. Detail contains `{ id, step }`.",
27015
+ "name": "select"
27016
+ },
27017
+ {
27018
+ "type": {
27019
+ "text": "CustomEvent<WorkflowStepAddDetail>"
27020
+ },
27021
+ "description": "Before a step from the palette is added. Cancel it to add the step your own way. Detail contains `{ stepType, list, index, trigger }`.",
27022
+ "name": "step-add"
27023
+ },
27024
+ {
27025
+ "type": {
27026
+ "text": "CustomEvent<WorkflowDeleteDetail>"
27027
+ },
27028
+ "description": "Before steps are removed. Cancel it to keep them. Detail contains `{ ids }`.",
27029
+ "name": "delete"
27030
+ },
27031
+ {
27032
+ "type": {
27033
+ "text": "CustomEvent<WorkflowChangeDetail>"
27034
+ },
27035
+ "description": "After every edit. Detail contains `{ value, reason }`.",
27036
+ "name": "change"
27037
+ },
27038
+ {
27039
+ "type": {
27040
+ "text": "CustomEvent<WorkflowViewportDetail>"
27041
+ },
27042
+ "description": "Once per frame while the camera moves and once when it settles. Detail contains `{ x, y, zoom, settled }`.",
27043
+ "name": "viewport-change"
27044
+ },
27045
+ {
27046
+ "type": {
27047
+ "text": "CustomEvent<WorkflowDebugActionDetail>"
27048
+ },
27049
+ "description": "A debug bar button, a debug shortcut or \"Retry from here\" was used. Detail contains `{ action, stepId }`.",
27050
+ "name": "debug-action"
27051
+ },
27052
+ {
27053
+ "type": {
27054
+ "text": "CustomEvent<WorkflowBreakpointDetail>"
27055
+ },
27056
+ "description": "A breakpoint was set or cleared in debug mode. Detail contains `{ id, enabled, breakpoints }`.",
27057
+ "name": "breakpoint-toggle"
27058
+ },
27059
+ {
27060
+ "type": {
27061
+ "text": "CustomEvent<WorkflowIterationDetail>"
27062
+ },
27063
+ "description": "A different loop iteration was picked. Detail contains `{ loopId, index }`.",
27064
+ "name": "iteration-change"
27065
+ },
27066
+ {
27067
+ "name": "type",
27068
+ "type": {
27069
+ "text": "CustomEvent"
27070
+ },
27071
+ "inheritedFrom": {
27072
+ "name": "DiagramCanvasElement",
27073
+ "module": "src/__internal/diagram/canvas-base.ts"
27074
+ }
27075
+ }
27076
+ ],
27077
+ "attributes": [
27078
+ {
27079
+ "name": "direction",
27080
+ "type": {
27081
+ "text": "WorkflowDirection"
27082
+ },
27083
+ "default": "'vertical'",
27084
+ "description": "Lays the workflow out top to bottom or left to right.",
27085
+ "fieldName": "direction",
27086
+ "expandedType": {
27087
+ "text": "'vertical' | 'horizontal'"
27088
+ }
27089
+ },
27090
+ {
27091
+ "name": "density",
27092
+ "type": {
27093
+ "text": "WorkflowDensity"
27094
+ },
27095
+ "default": "'standard'",
27096
+ "description": "How much each card shows: the header only, up to three fields, or everything.",
27097
+ "fieldName": "density",
27098
+ "expandedType": {
27099
+ "text": "'compact' | 'standard' | 'expanded'"
27100
+ }
27101
+ },
27102
+ {
27103
+ "name": "selected",
27104
+ "type": {
27105
+ "text": "string"
27106
+ },
27107
+ "default": "''",
27108
+ "description": "Id of the selected step.",
27109
+ "fieldName": "selected"
27110
+ },
27111
+ {
27112
+ "name": "mode",
27113
+ "type": {
27114
+ "text": "WorkflowMode"
27115
+ },
27116
+ "default": "'design'",
27117
+ "description": "`design` edits the workflow. `debug` shows a live `run` with a debug bar and breakpoints.\n`history` replays a past `run`, read-only. Editing is off outside `design`.",
27118
+ "fieldName": "mode",
27119
+ "expandedType": {
27120
+ "text": "'design' | 'debug' | 'history'"
27121
+ }
27122
+ },
27123
+ {
27124
+ "name": "follow",
27125
+ "type": {
27126
+ "text": "boolean"
27127
+ },
27128
+ "default": "false",
27129
+ "description": "Keeps the step that is running in view as the run moves.",
27130
+ "fieldName": "follow"
27131
+ },
27132
+ {
27133
+ "name": "zoom",
27134
+ "type": {
27135
+ "text": "number"
27136
+ },
27137
+ "default": "1",
27138
+ "description": "The camera's scale. Follows wheel and pinch zooming; set it to zoom around the centre.",
27139
+ "fieldName": "zoom",
27140
+ "inheritedFrom": {
27141
+ "name": "DiagramCanvasElement",
27142
+ "module": "src/__internal/diagram/canvas-base.ts"
27143
+ }
27144
+ },
27145
+ {
27146
+ "name": "padding",
27147
+ "type": {
27148
+ "text": "number"
27149
+ },
27150
+ "default": "50",
27151
+ "description": "Screen pixels kept around content when fitting it.",
27152
+ "fieldName": "padding",
27153
+ "inheritedFrom": {
27154
+ "name": "DiagramCanvasElement",
27155
+ "module": "src/__internal/diagram/canvas-base.ts"
27156
+ }
27157
+ },
27158
+ {
27159
+ "name": "start-position",
27160
+ "type": {
27161
+ "text": "DiagramStartPosition"
27162
+ },
27163
+ "default": "'fit'",
27164
+ "description": "Where the camera starts: fit all content, the canvas origin at 100%, or the first item at 100%.",
27165
+ "fieldName": "startPosition",
27166
+ "expandedType": {
27167
+ "text": "'fit' | 'origin' | 'first'"
27168
+ },
27169
+ "inheritedFrom": {
27170
+ "name": "DiagramCanvasElement",
27171
+ "module": "src/__internal/diagram/canvas-base.ts"
27172
+ }
27173
+ },
27174
+ {
27175
+ "name": "start-view",
27176
+ "type": {
27177
+ "text": "DiagramView | undefined"
27178
+ },
27179
+ "description": "An exact starting camera, `{ x, y, zoom }`, for example one saved from `viewport-change`. Wins over `start-position`.",
27180
+ "fieldName": "startView",
27181
+ "inheritedFrom": {
27182
+ "name": "DiagramCanvasElement",
27183
+ "module": "src/__internal/diagram/canvas-base.ts"
27184
+ }
27185
+ },
27186
+ {
27187
+ "name": "min-zoom",
27188
+ "type": {
27189
+ "text": "number"
27190
+ },
27191
+ "default": "0.1",
27192
+ "description": "Smallest zoom.",
27193
+ "fieldName": "minZoom",
27194
+ "inheritedFrom": {
27195
+ "name": "DiagramCanvasElement",
27196
+ "module": "src/__internal/diagram/canvas-base.ts"
27197
+ }
27198
+ },
27199
+ {
27200
+ "name": "max-zoom",
27201
+ "type": {
27202
+ "text": "number"
27203
+ },
27204
+ "default": "4",
27205
+ "description": "Largest zoom.",
27206
+ "fieldName": "maxZoom",
27207
+ "inheritedFrom": {
27208
+ "name": "DiagramCanvasElement",
27209
+ "module": "src/__internal/diagram/canvas-base.ts"
27210
+ }
27211
+ },
27212
+ {
27213
+ "name": "grid-size",
27214
+ "type": {
27215
+ "text": "number"
27216
+ },
27217
+ "default": "20",
27218
+ "description": "Spacing of the background dots, in canvas pixels.",
27219
+ "fieldName": "gridSize",
27220
+ "inheritedFrom": {
27221
+ "name": "DiagramCanvasElement",
27222
+ "module": "src/__internal/diagram/canvas-base.ts"
27223
+ }
27224
+ },
27225
+ {
27226
+ "name": "editable",
27227
+ "type": {
27228
+ "text": "boolean"
27229
+ },
27230
+ "default": "false",
27231
+ "description": "Turns on editing.",
27232
+ "fieldName": "editable",
27233
+ "inheritedFrom": {
27234
+ "name": "DiagramCanvasElement",
27235
+ "module": "src/__internal/diagram/canvas-base.ts"
27236
+ }
27237
+ },
27238
+ {
27239
+ "name": "readonly",
27240
+ "type": {
27241
+ "text": "boolean"
27242
+ },
27243
+ "default": "false",
27244
+ "description": "Keeps content in place; the person can still pan, zoom and select.",
27245
+ "fieldName": "readonly",
27246
+ "inheritedFrom": {
27247
+ "name": "DiagramCanvasElement",
27248
+ "module": "src/__internal/diagram/canvas-base.ts"
27249
+ }
27250
+ },
27251
+ {
27252
+ "name": "label",
27253
+ "type": {
27254
+ "text": "string"
27255
+ },
27256
+ "default": "''",
27257
+ "description": "The canvas's accessible name.",
27258
+ "fieldName": "label",
27259
+ "inheritedFrom": {
27260
+ "name": "DiagramCanvasElement",
27261
+ "module": "src/__internal/diagram/canvas-base.ts"
27262
+ }
27263
+ }
27264
+ ],
27265
+ "superclass": {
27266
+ "name": "DiagramCanvasElement",
27267
+ "package": "@/__internal/diagram/canvas-base.js"
27268
+ },
27269
+ "tagName": "wc-workflow",
27270
+ "customElement": true,
27271
+ "rawTag": {
27272
+ "name": "workflow",
27273
+ "description": ""
27274
+ }
27275
+ }
27276
+ },
27277
+ {
27278
+ "label": "Workflow timeline",
27279
+ "tag": "wc-workflow-timeline",
27280
+ "rawTag": "workflow-timeline",
27281
+ "summary": "The steps of a workflow run as bars on a shared time scale, in step with a `wc-workflow`.",
27282
+ "overview": "<p>Set <code>for</code> to the id of a <code>wc-workflow</code> in debug or history mode: the timeline\nshows its <code>run</code>, follows its selection, and selects a step in the workflow when a row is\nclicked. Without a workflow, set <code>value</code> and <code>run</code> yourself.</p>\n<p>Each step that ran is a row with its name, a bar from when it started to when it finished\n(running steps grow to now), coloured by status, and its duration. Steps without a\n<code>startedAt</code> are laid end to end in reading order.</p>",
27283
+ "example": "```html\n<wc-workflow id=\"rule\" mode=\"history\"></wc-workflow>\n<wc-workflow-timeline for=\"rule\"></wc-workflow-timeline>\n```",
27284
+ "tags": "data",
27285
+ "customElement": {
27286
+ "kind": "class",
27287
+ "description": "",
27288
+ "attributes": [
27289
+ {
27290
+ "name": "for",
27291
+ "type": {
27292
+ "text": "string"
27293
+ },
27294
+ "default": "''",
27295
+ "description": "Id of the `wc-workflow` to show.",
27296
+ "fieldName": "for"
27297
+ },
27298
+ {
27299
+ "name": "label",
27300
+ "type": {
27301
+ "text": "string"
27302
+ },
27303
+ "default": "''",
27304
+ "description": "The accessible name and heading. Defaults to \"Run timeline\".",
27305
+ "fieldName": "label"
27306
+ }
27307
+ ],
27308
+ "superclass": {
27309
+ "name": "LitElement",
27310
+ "package": "lit"
27311
+ },
27312
+ "tagName": "wc-workflow-timeline",
27313
+ "customElement": true,
27314
+ "rawTag": {
27315
+ "name": "workflow-timeline",
27316
+ "description": ""
27317
+ }
27318
+ }
27319
+ },
25541
27320
  {
25542
27321
  "label": "Workspace Switcher",
25543
27322
  "tag": "wc-workspace-switcher",