spell-ui 0.8.6 → 0.8.8

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 (722) hide show
  1. package/README-components.md +14 -6
  2. package/README-frameworks.md +22 -12
  3. package/README-migrating.md +7 -6
  4. package/README-runtime.md +14 -13
  5. package/README-site.md +11 -11
  6. package/README-themes.md +38 -11
  7. package/README.md +61 -73
  8. package/dist/Dragging-CMZoLEWQ.js +169 -0
  9. package/dist/Dragging-CMZoLEWQ.js.map +1 -0
  10. package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
  11. package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
  12. package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
  13. package/dist/PrefStore-Qv0e5y04.js.map +1 -0
  14. package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
  15. package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
  16. package/dist/SitePages-CciwREek.js +51 -0
  17. package/dist/SitePages-CciwREek.js.map +1 -0
  18. package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
  19. package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
  20. package/dist/ThemeDraft-B7NPif4d.js +805 -0
  21. package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
  22. package/dist/TreeMeasure-BVJeGb1L.js +42 -0
  23. package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
  24. package/dist/UIButton-DFEds67r.js +6 -0
  25. package/dist/UIButton-DFEds67r.js.map +1 -0
  26. package/dist/UIInput-BodVbUoQ.js +6 -0
  27. package/dist/UIInput-BodVbUoQ.js.map +1 -0
  28. package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
  29. package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
  30. package/dist/UILabel-DgJUBzB_.js +6 -0
  31. package/dist/UILabel-DgJUBzB_.js.map +1 -0
  32. package/dist/UIMenu-zdcAtwTa.js +42 -0
  33. package/dist/UIMenu-zdcAtwTa.js.map +1 -0
  34. package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
  35. package/dist/UIRuntime-KH309p5B.js.map +1 -0
  36. package/dist/_spell-element/DOMElement.d.ts +62 -5
  37. package/dist/_spell-element/MoveAndResize.d.ts +75 -0
  38. package/dist/_spell-element/UIComponent.d.ts +42 -0
  39. package/dist/_spell-element/elements.types.d.ts +47 -0
  40. package/dist/_spell-element/index.d.ts +1 -0
  41. package/dist/_spell-element/vocabulary.types.d.ts +34 -2
  42. package/dist/{runtime → _util}/Api.d.ts +14 -4
  43. package/dist/_util/Dragging.d.ts +148 -0
  44. package/dist/_util/ListSelection.d.ts +46 -0
  45. package/dist/{util → _util}/LoadOnce.d.ts +9 -1
  46. package/dist/_util/ReconnectingSocket.d.ts +51 -0
  47. package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
  48. package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
  49. package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
  50. package/dist/_util/dom.d.ts +10 -0
  51. package/dist/_util/fetching.d.ts +92 -0
  52. package/dist/_util/measures/Dimension.d.ts +63 -0
  53. package/dist/_util/measures/MeasureSystem.d.ts +66 -0
  54. package/dist/_util/measures/dimensions.generated.d.ts +16 -0
  55. package/dist/_util/persist/ColorScheme.d.ts +6 -0
  56. package/dist/_util/persist/ServerPlace.d.ts +42 -0
  57. package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
  58. package/dist/_util/persist/persist.types.d.ts +21 -2
  59. package/dist/_util/timing.d.ts +10 -1
  60. package/dist/api.js +8 -7
  61. package/dist/api.js.map +1 -1
  62. package/dist/components/ComponentDefinitions.d.ts +29 -0
  63. package/dist/components/components.es.d.ts +13 -0
  64. package/dist/components/components.types.d.ts +113 -8
  65. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  66. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  67. package/dist/components/ui-action/UIAction.en.d.ts +5 -1
  68. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  69. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  70. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  71. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  72. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  74. package/dist/components/ui-button/UIButton.d.ts +8 -3
  75. package/dist/components/ui-button/UIButton.en.d.ts +9 -4
  76. package/dist/components/ui-button/UIButton.es.d.ts +6 -0
  77. package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
  78. package/dist/components/ui-button/UIButtons.d.ts +1 -0
  79. package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
  80. package/dist/components/ui-button/UIOr.d.ts +1 -0
  81. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  82. package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
  83. package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
  84. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
  85. package/dist/components/ui-card/CardClicks.d.ts +40 -0
  86. package/dist/components/ui-card/UICard.d.ts +41 -0
  87. package/dist/components/ui-card/UICard.en.d.ts +49 -0
  88. package/dist/components/ui-card/UICard.es.d.ts +1 -0
  89. package/dist/components/ui-card/UICards.d.ts +31 -0
  90. package/dist/components/ui-card/UICards.en.d.ts +31 -0
  91. package/dist/components/ui-card/UICards.es.d.ts +8 -0
  92. package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
  95. package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
  97. package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
  98. package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
  99. package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  102. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  105. package/dist/components/ui-components/PackHotSwap.d.ts +13 -3
  106. package/dist/components/ui-components/UIComponents.d.ts +1 -0
  107. package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
  108. package/dist/components/ui-container/UIContainer.d.ts +11 -0
  109. package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
  112. package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
  113. package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
  114. package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
  115. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
  116. package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
  117. package/dist/components/ui-diagram/index.d.ts +8 -0
  118. package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
  119. package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
  120. package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
  121. package/dist/components/ui-dimension/index.d.ts +2 -0
  122. package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
  123. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  124. package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
  125. package/dist/components/ui-divider/UIDivider.d.ts +2 -0
  126. package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
  127. package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
  129. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
  130. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
  131. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  132. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  133. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  134. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  135. package/dist/components/ui-example/UIExample.en.d.ts +4 -2
  136. package/dist/components/ui-example/UIExample.es.d.ts +3 -2
  137. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  138. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  139. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  140. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  141. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  142. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  143. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  144. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  145. package/dist/components/ui-form/FormBinding.d.ts +13 -1
  146. package/dist/components/ui-form/FormFields.d.ts +4 -4
  147. package/dist/components/ui-form/UIField.d.ts +30 -3
  148. package/dist/components/ui-form/UIField.en.d.ts +9 -0
  149. package/dist/components/ui-form/UIField.es.d.ts +6 -0
  150. package/dist/components/ui-form/UIFields.d.ts +1 -0
  151. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  152. package/dist/components/ui-form/UIForm.d.ts +15 -0
  153. package/dist/components/ui-form/UIForm.en.d.ts +6 -0
  154. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  155. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  156. package/dist/components/ui-form/index.d.ts +2 -1
  157. package/dist/components/ui-grid/UIColumn.d.ts +1 -0
  158. package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
  159. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  160. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  161. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  162. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  163. package/dist/components/ui-icon/UIIcon.d.ts +3 -2
  164. package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
  165. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  166. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  167. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
  168. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
  169. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
  170. package/dist/components/ui-image/UIImage.d.ts +34 -0
  171. package/dist/components/ui-image/UIImage.en.d.ts +23 -0
  172. package/dist/components/ui-image/UIImage.es.d.ts +2 -0
  173. package/dist/components/ui-image/UIImages.d.ts +1 -0
  174. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  175. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  176. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  177. package/dist/components/ui-input/TextControl.d.ts +7 -0
  178. package/dist/components/ui-input/UIInput.d.ts +22 -3
  179. package/dist/components/ui-input/UIInput.en.d.ts +9 -2
  180. package/dist/components/ui-input/UIInput.es.d.ts +2 -0
  181. package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
  182. package/dist/components/ui-input/UITextarea.d.ts +20 -0
  183. package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
  184. package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
  185. package/dist/components/ui-item/UIItem.d.ts +27 -4
  186. package/dist/components/ui-item/UIItem.en.d.ts +5 -1
  187. package/dist/components/ui-items/UIItems.d.ts +1 -0
  188. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  189. package/dist/components/ui-json/JsonChild.d.ts +30 -0
  190. package/dist/components/ui-json/UIJson.d.ts +128 -0
  191. package/dist/components/ui-json/UIJson.en.d.ts +71 -0
  192. package/dist/components/ui-json/UIJson.es.d.ts +12 -0
  193. package/dist/components/ui-json/index.d.ts +3 -0
  194. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  195. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  196. package/dist/components/ui-label/UILabel.d.ts +2 -0
  197. package/dist/components/ui-label/UILabel.en.d.ts +2 -0
  198. package/dist/components/ui-label/UILabel.es.d.ts +1 -0
  199. package/dist/components/ui-label/UILabels.d.ts +1 -0
  200. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  201. package/dist/components/ui-list/UIList.d.ts +2 -0
  202. package/dist/components/ui-list/UIList.en.d.ts +2 -0
  203. package/dist/components/ui-list/UIList.es.d.ts +1 -0
  204. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  205. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  206. package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
  207. package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
  208. package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
  209. package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
  210. package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
  211. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
  212. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
  213. package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
  214. package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
  215. package/dist/components/ui-menu/TitleFit.d.ts +3 -0
  216. package/dist/components/ui-menu/UIMenu.d.ts +97 -4
  217. package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
  218. package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
  219. package/dist/components/ui-message/UIMessage.d.ts +2 -0
  220. package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
  221. package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
  222. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  223. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  224. package/dist/components/ui-nag/UINag.d.ts +1 -0
  225. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  226. package/dist/components/ui-page/UIPage.d.ts +15 -0
  227. package/dist/components/ui-page/UIPage.en.d.ts +15 -0
  228. package/dist/components/ui-page/UIPage.es.d.ts +1 -0
  229. package/dist/components/ui-panel/UIPanel.d.ts +6 -0
  230. package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
  231. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  232. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  233. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  234. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  235. package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
  236. package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
  237. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  238. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  239. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  240. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  241. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  242. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  244. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  246. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  247. package/dist/components/ui-parts/UIHeader.d.ts +3 -1
  248. package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
  249. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  250. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  251. package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
  252. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  253. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  254. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  255. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  256. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  257. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  258. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  259. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  260. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  261. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  262. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  263. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  264. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  265. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  266. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  267. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  268. package/dist/components/ui-popup/UIPopup.d.ts +30 -3
  269. package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
  270. package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
  271. package/dist/components/ui-progress/UIProgress.d.ts +2 -0
  272. package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
  273. package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
  274. package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
  275. package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
  276. package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
  277. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
  278. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  279. package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
  280. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
  281. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
  282. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
  283. package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
  284. package/dist/components/ui-property-editor/index.d.ts +1 -0
  285. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  286. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  287. package/dist/components/ui-rail/UIRail.d.ts +1 -0
  288. package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
  289. package/dist/components/ui-rating/UIRating.d.ts +6 -0
  290. package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
  291. package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
  292. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  293. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  294. package/dist/components/ui-root/UIRoot.d.ts +18 -3
  295. package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
  296. package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
  297. package/dist/components/ui-search/UISearch.d.ts +48 -7
  298. package/dist/components/ui-search/UISearch.en.d.ts +13 -1
  299. package/dist/components/ui-search/UISearch.es.d.ts +1 -0
  300. package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
  301. package/dist/components/ui-section/UISection.d.ts +22 -1
  302. package/dist/components/ui-section/UISection.en.d.ts +10 -0
  303. package/dist/components/ui-section/UISection.es.d.ts +1 -0
  304. package/dist/components/ui-section/UISections.d.ts +1 -0
  305. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  306. package/dist/components/ui-segment/UISegment.d.ts +2 -0
  307. package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
  308. package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
  309. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  310. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  311. package/dist/components/ui-select/UISelect.d.ts +6 -0
  312. package/dist/components/ui-select/UISelect.en.d.ts +6 -0
  313. package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
  314. package/dist/components/ui-shape/UIShape.d.ts +23 -2
  315. package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
  316. package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
  317. package/dist/components/ui-shape/UISide.d.ts +4 -0
  318. package/dist/components/ui-shape/UISide.en.d.ts +4 -0
  319. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  320. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  321. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  322. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  323. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  324. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  325. package/dist/components/ui-sides/UISides.d.ts +209 -0
  326. package/dist/components/ui-sides/UISides.en.d.ts +122 -0
  327. package/dist/components/ui-sides/UISides.es.d.ts +30 -0
  328. package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
  329. package/dist/components/ui-sides/index.d.ts +2 -0
  330. package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
  331. package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
  332. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
  333. package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
  334. package/dist/components/ui-site-nav/index.d.ts +1 -0
  335. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
  336. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
  337. package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
  338. package/dist/components/ui-site-tabs/index.d.ts +1 -0
  339. package/dist/components/ui-slider/UISlider.d.ts +7 -0
  340. package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
  341. package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
  342. package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
  343. package/dist/components/ui-space/UISpace.d.ts +1 -0
  344. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  345. package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
  346. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
  347. package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
  348. package/dist/components/ui-split-panel/index.d.ts +2 -0
  349. package/dist/components/ui-stack/UIStack.d.ts +31 -5
  350. package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
  351. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  352. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  353. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  354. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  355. package/dist/components/ui-step/UIStep.d.ts +1 -0
  356. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  357. package/dist/components/ui-step/UISteps.d.ts +1 -0
  358. package/dist/components/ui-step/UISteps.en.d.ts +1 -0
  359. package/dist/components/ui-sticky/UISticky.d.ts +4 -0
  360. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  361. package/dist/components/ui-tab/UITab.d.ts +8 -0
  362. package/dist/components/ui-tab/UITab.en.d.ts +1 -0
  363. package/dist/components/ui-tab/UITabs.d.ts +107 -16
  364. package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
  365. package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
  366. package/dist/components/ui-table/TableEditing.d.ts +77 -0
  367. package/dist/components/ui-table/UICell.d.ts +1 -0
  368. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  369. package/dist/components/ui-table/UITable.d.ts +145 -5
  370. package/dist/components/ui-table/UITable.en.d.ts +19 -0
  371. package/dist/components/ui-table/UITable.es.d.ts +3 -0
  372. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  373. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  374. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  375. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  376. package/dist/components/ui-text/UILink.d.ts +11 -0
  377. package/dist/components/ui-text/UILink.en.d.ts +4 -0
  378. package/dist/components/ui-text/UIText.d.ts +7 -0
  379. package/dist/components/ui-text/UIText.en.d.ts +7 -0
  380. package/dist/components/ui-text/UIText.es.d.ts +2 -0
  381. package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
  382. package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
  383. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  384. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  385. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
  386. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
  387. package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
  388. package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
  389. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  390. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  391. package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
  392. package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
  393. package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
  394. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
  395. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
  396. package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
  397. package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
  398. package/dist/components/ui-theme-menu/index.d.ts +2 -1
  399. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  400. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  401. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  402. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  403. package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
  404. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
  405. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
  406. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  407. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  408. package/dist/components/ui-tree/UITree.d.ts +162 -0
  409. package/dist/components/ui-tree/UITree.en.d.ts +88 -0
  410. package/dist/components/ui-tree/UITree.es.d.ts +35 -0
  411. package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
  412. package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
  413. package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
  414. package/dist/components/ui-tree/index.d.ts +3 -0
  415. package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
  416. package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
  417. package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
  418. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
  419. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
  420. package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
  421. package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
  422. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
  423. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
  424. package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
  425. package/dist/components/ui-tree-diagram/index.d.ts +4 -2
  426. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  427. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  428. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  429. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  430. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  431. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  432. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  433. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  434. package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
  435. package/dist/components.es-BOa_7gFF.js.map +1 -0
  436. package/dist/core.d.ts +3 -1
  437. package/dist/core.js +1082 -511
  438. package/dist/core.js.map +1 -1
  439. package/dist/crisp-VfYZlTph.js +6 -0
  440. package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
  441. package/dist/docs-components/index.d.ts +1 -0
  442. package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
  443. package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
  444. package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
  445. package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
  446. package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
  447. package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
  448. package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
  449. package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
  450. package/dist/elements/AddressParameter.d.ts +87 -0
  451. package/dist/elements/DOMFormControl.d.ts +5 -0
  452. package/dist/elements/FormComponent.d.ts +32 -0
  453. package/dist/elements/LoadableBody.d.ts +6 -1
  454. package/dist/elements/LoadableComponent.d.ts +10 -1
  455. package/dist/elements/RootSettings.d.ts +43 -6
  456. package/dist/elements/SpellUISettings.d.ts +1 -0
  457. package/dist/elements/StickyWatch.d.ts +20 -0
  458. package/dist/elements/elements.types.d.ts +15 -0
  459. package/dist/elements/index.d.ts +2 -0
  460. package/dist/forms.js +93 -63
  461. package/dist/forms.js.map +1 -1
  462. package/dist/fruity-BRVlgJZd.js +6 -0
  463. package/dist/fruity-BRVlgJZd.js.map +1 -0
  464. package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
  465. package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
  466. package/dist/glass-x9tbbwVq.js +6 -0
  467. package/dist/glass-x9tbbwVq.js.map +1 -0
  468. package/dist/glass.theme-24wY2wH9.js +6 -0
  469. package/dist/glass.theme-24wY2wH9.js.map +1 -0
  470. package/dist/hot.js +530 -24
  471. package/dist/hot.js.map +1 -1
  472. package/dist/index.d.ts +8 -0
  473. package/dist/index.js +91 -81
  474. package/dist/jsx.d.ts +21149 -10377
  475. package/dist/matrix-QY2gWbJ0.js +6 -0
  476. package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
  477. package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
  478. package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
  479. package/dist/midnight-BxlTQSfw.js +6 -0
  480. package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
  481. package/dist/mockup-83ELBuVr.js +6 -0
  482. package/dist/mockup-83ELBuVr.js.map +1 -0
  483. package/dist/mockup.theme-DmpBgGBl.js +6 -0
  484. package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
  485. package/dist/paper-M61nUilz.js +6 -0
  486. package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
  487. package/dist/persist.types-D2m6wD-S.js +9 -0
  488. package/dist/persist.types-D2m6wD-S.js.map +1 -0
  489. package/dist/pop-CxXfytjk.js +6 -0
  490. package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
  491. package/dist/runtime/DataTooltips.d.ts +75 -0
  492. package/dist/runtime/PropertyControls.d.ts +15 -1
  493. package/dist/runtime/Sources.d.ts +16 -4
  494. package/dist/runtime/Styles.d.ts +11 -0
  495. package/dist/runtime/Themes.d.ts +10 -4
  496. package/dist/runtime/UIRuntime.d.ts +4 -1
  497. package/dist/runtime/index.d.ts +1 -1
  498. package/dist/runtime/runtime.types.d.ts +18 -85
  499. package/dist/spell-By5Y3jKP.js +6 -0
  500. package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
  501. package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
  502. package/dist/spell.theme-DxGj7qHx.js.map +1 -0
  503. package/dist/styles/CodeThemeFile.d.ts +73 -0
  504. package/dist/styles/StyleGenerator.d.ts +6 -0
  505. package/dist/styles/styles.en.d.ts +141 -3
  506. package/dist/styles/styles.types.d.ts +2 -0
  507. package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
  508. package/dist/styles.en-CUUxNwHo.js.map +1 -0
  509. package/dist/styles.js +13 -13
  510. package/dist/styles.js.map +1 -1
  511. package/dist/ui-accordion.js +54 -53
  512. package/dist/ui-accordion.js.map +1 -1
  513. package/dist/ui-action.js +20 -19
  514. package/dist/ui-action.js.map +1 -1
  515. package/dist/ui-ad.js +5 -4
  516. package/dist/ui-ad.js.map +1 -1
  517. package/dist/ui-breadcrumbs.js +15 -13
  518. package/dist/ui-breadcrumbs.js.map +1 -1
  519. package/dist/ui-button.js +132 -125
  520. package/dist/ui-button.js.map +1 -1
  521. package/dist/ui-calendar.js +208 -206
  522. package/dist/ui-calendar.js.map +1 -1
  523. package/dist/ui-card.js +260 -98
  524. package/dist/ui-card.js.map +1 -1
  525. package/dist/ui-checkbox.js +95 -81
  526. package/dist/ui-checkbox.js.map +1 -1
  527. package/dist/ui-code.js +25 -24
  528. package/dist/ui-code.js.map +1 -1
  529. package/dist/ui-comment.js +14 -12
  530. package/dist/ui-comment.js.map +1 -1
  531. package/dist/ui-components.js +7 -6
  532. package/dist/ui-components.js.map +1 -1
  533. package/dist/ui-container.js +24 -12
  534. package/dist/ui-container.js.map +1 -1
  535. package/dist/ui-diagram.js +1328 -0
  536. package/dist/ui-diagram.js.map +1 -0
  537. package/dist/ui-dimension.js +779 -0
  538. package/dist/ui-dimension.js.map +1 -0
  539. package/dist/ui-dimmer.js +36 -34
  540. package/dist/ui-dimmer.js.map +1 -1
  541. package/dist/ui-divider.js +7 -5
  542. package/dist/ui-divider.js.map +1 -1
  543. package/dist/ui-dropdown.js +107 -105
  544. package/dist/ui-dropdown.js.map +1 -1
  545. package/dist/ui-embed.js +36 -35
  546. package/dist/ui-embed.js.map +1 -1
  547. package/dist/ui-emoji.js +10 -9
  548. package/dist/ui-emoji.js.map +1 -1
  549. package/dist/ui-example.js +63 -61
  550. package/dist/ui-example.js.map +1 -1
  551. package/dist/ui-feed.js +12 -10
  552. package/dist/ui-feed.js.map +1 -1
  553. package/dist/ui-flag.js +10 -9
  554. package/dist/ui-flag.js.map +1 -1
  555. package/dist/ui-flyout.js +7 -6
  556. package/dist/ui-flyout.js.map +1 -1
  557. package/dist/ui-form.js +244 -162
  558. package/dist/ui-form.js.map +1 -1
  559. package/dist/ui-grid.js +21 -18
  560. package/dist/ui-grid.js.map +1 -1
  561. package/dist/ui-icon-picker.js +46 -44
  562. package/dist/ui-icon-picker.js.map +1 -1
  563. package/dist/ui-icon.js +17 -14
  564. package/dist/ui-icon.js.map +1 -1
  565. package/dist/ui-image.js +93 -55
  566. package/dist/ui-image.js.map +1 -1
  567. package/dist/ui-include.js +18 -17
  568. package/dist/ui-include.js.map +1 -1
  569. package/dist/ui-input.js +154 -112
  570. package/dist/ui-input.js.map +1 -1
  571. package/dist/ui-item.js +152 -102
  572. package/dist/ui-item.js.map +1 -1
  573. package/dist/ui-items.js +9 -8
  574. package/dist/ui-items.js.map +1 -1
  575. package/dist/ui-json.js +115 -0
  576. package/dist/ui-json.js.map +1 -0
  577. package/dist/ui-keys.js +1 -1
  578. package/dist/ui-label.js +18 -15
  579. package/dist/ui-label.js.map +1 -1
  580. package/dist/ui-list.js +7 -5
  581. package/dist/ui-list.js.map +1 -1
  582. package/dist/ui-loader.js +7 -6
  583. package/dist/ui-loader.js.map +1 -1
  584. package/dist/ui-markdown.js +975 -83
  585. package/dist/ui-markdown.js.map +1 -1
  586. package/dist/ui-menu.js +329 -196
  587. package/dist/ui-menu.js.map +1 -1
  588. package/dist/ui-message.js +20 -18
  589. package/dist/ui-message.js.map +1 -1
  590. package/dist/ui-modal.js +46 -45
  591. package/dist/ui-modal.js.map +1 -1
  592. package/dist/ui-nag.js +19 -18
  593. package/dist/ui-nag.js.map +1 -1
  594. package/dist/ui-page.js +8 -7
  595. package/dist/ui-page.js.map +1 -1
  596. package/dist/ui-panel.js +28 -17
  597. package/dist/ui-panel.js.map +1 -1
  598. package/dist/ui-parts.js +66 -52
  599. package/dist/ui-parts.js.map +1 -1
  600. package/dist/ui-placeholder.js +21 -16
  601. package/dist/ui-placeholder.js.map +1 -1
  602. package/dist/ui-popup.js +113 -84
  603. package/dist/ui-popup.js.map +1 -1
  604. package/dist/ui-progress.js +9 -7
  605. package/dist/ui-progress.js.map +1 -1
  606. package/dist/ui-property-editor.js +706 -203
  607. package/dist/ui-property-editor.js.map +1 -1
  608. package/dist/ui-quote.js +5 -4
  609. package/dist/ui-quote.js.map +1 -1
  610. package/dist/ui-rail.js +5 -4
  611. package/dist/ui-rail.js.map +1 -1
  612. package/dist/ui-rating.js +31 -29
  613. package/dist/ui-rating.js.map +1 -1
  614. package/dist/ui-reveal.js +7 -6
  615. package/dist/ui-reveal.js.map +1 -1
  616. package/dist/ui-root.js +324 -158
  617. package/dist/ui-root.js.map +1 -1
  618. package/dist/ui-search.js +210 -168
  619. package/dist/ui-search.js.map +1 -1
  620. package/dist/ui-section.js +124 -92
  621. package/dist/ui-section.js.map +1 -1
  622. package/dist/ui-segment.js +15 -12
  623. package/dist/ui-segment.js.map +1 -1
  624. package/dist/ui-select.js +83 -81
  625. package/dist/ui-select.js.map +1 -1
  626. package/dist/ui-shape.js +86 -58
  627. package/dist/ui-shape.js.map +1 -1
  628. package/dist/ui-sidebar.js +59 -56
  629. package/dist/ui-sidebar.js.map +1 -1
  630. package/dist/ui-sides.js +325 -0
  631. package/dist/ui-sides.js.map +1 -0
  632. package/dist/ui-site-nav.js +329 -0
  633. package/dist/ui-site-nav.js.map +1 -0
  634. package/dist/ui-site-tabs.js +177 -0
  635. package/dist/ui-site-tabs.js.map +1 -0
  636. package/dist/ui-slider.js +84 -81
  637. package/dist/ui-slider.js.map +1 -1
  638. package/dist/ui-space.js +7 -6
  639. package/dist/ui-space.js.map +1 -1
  640. package/dist/ui-split-panel.js +298 -0
  641. package/dist/ui-split-panel.js.map +1 -0
  642. package/dist/ui-stack.js +47 -23
  643. package/dist/ui-stack.js.map +1 -1
  644. package/dist/ui-statistic.js +15 -13
  645. package/dist/ui-statistic.js.map +1 -1
  646. package/dist/ui-step.js +31 -29
  647. package/dist/ui-step.js.map +1 -1
  648. package/dist/ui-sticky.js +7 -6
  649. package/dist/ui-sticky.js.map +1 -1
  650. package/dist/ui-tab.js +230 -138
  651. package/dist/ui-tab.js.map +1 -1
  652. package/dist/ui-table.js +724 -162
  653. package/dist/ui-table.js.map +1 -1
  654. package/dist/ui-terms.js +12 -10
  655. package/dist/ui-terms.js.map +1 -1
  656. package/dist/ui-text.js +53 -28
  657. package/dist/ui-text.js.map +1 -1
  658. package/dist/ui-theme-editor.js +1018 -1545
  659. package/dist/ui-theme-editor.js.map +1 -1
  660. package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
  661. package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
  662. package/dist/ui-toast.js +45 -44
  663. package/dist/ui-toast.js.map +1 -1
  664. package/dist/ui-toc.js +75 -74
  665. package/dist/ui-toc.js.map +1 -1
  666. package/dist/ui-toolbar.js +51 -73
  667. package/dist/ui-toolbar.js.map +1 -1
  668. package/dist/ui-transition.js +12 -11
  669. package/dist/ui-transition.js.map +1 -1
  670. package/dist/ui-tree-diagram.js +676 -197
  671. package/dist/ui-tree-diagram.js.map +1 -1
  672. package/dist/ui-tree.js +625 -0
  673. package/dist/ui-tree.js.map +1 -0
  674. package/dist/ui-video.js +13 -11
  675. package/dist/ui-video.js.map +1 -1
  676. package/dist/ui-visibility.js +26 -25
  677. package/dist/ui-visibility.js.map +1 -1
  678. package/dist/ui-zoom.js +79 -78
  679. package/dist/ui-zoom.js.map +1 -1
  680. package/dist/util/TopLayerTip.d.ts +28 -0
  681. package/dist/util/index.d.ts +5 -2
  682. package/dist/vocabulary/DefaultValues.d.ts +34 -0
  683. package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
  684. package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
  685. package/dist/vocabulary/ValueSets.d.ts +18 -0
  686. package/dist/vocabulary/Vocabulary.d.ts +1 -0
  687. package/dist/vocabulary/defaults.generated.d.ts +6 -0
  688. package/dist/vocabulary/index.d.ts +1 -0
  689. package/package.json +1 -1
  690. package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
  691. package/dist/PrefStore-CeaTtjTz.js.map +0 -1
  692. package/dist/UIButton-XkfGqgh6.js +0 -6
  693. package/dist/UIButton-XkfGqgh6.js.map +0 -1
  694. package/dist/UIInput-BUudZstW.js +0 -6
  695. package/dist/UIInput-BUudZstW.js.map +0 -1
  696. package/dist/UIKeys-DJF2TIKE.js.map +0 -1
  697. package/dist/UILabel-C1jy3Yl8.js +0 -6
  698. package/dist/UILabel-C1jy3Yl8.js.map +0 -1
  699. package/dist/UIMenu-Btd-8V3A.js +0 -42
  700. package/dist/UIMenu-Btd-8V3A.js.map +0 -1
  701. package/dist/UIRuntime-BBuehGly.js.map +0 -1
  702. package/dist/components.es-DmLzT-Bq.js.map +0 -1
  703. package/dist/crisp-CoZRRDuQ.js +0 -6
  704. package/dist/fruity-CQFYeRlh.js +0 -6
  705. package/dist/fruity-CQFYeRlh.js.map +0 -1
  706. package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
  707. package/dist/glass-CAfW11kL.js +0 -6
  708. package/dist/glass-CAfW11kL.js.map +0 -1
  709. package/dist/glass.theme-DQcBbtCW.js +0 -6
  710. package/dist/glass.theme-DQcBbtCW.js.map +0 -1
  711. package/dist/matrix-CqA59hiF.js +0 -6
  712. package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
  713. package/dist/midnight-BnoVOrhC.js +0 -6
  714. package/dist/paper-CynH8ZuT.js +0 -6
  715. package/dist/persist.types-CsZxS8TG.js +0 -9
  716. package/dist/persist.types-CsZxS8TG.js.map +0 -1
  717. package/dist/pop-D2i9V_rG.js +0 -6
  718. package/dist/spell-BFtLICm7.js +0 -6
  719. package/dist/spell.theme-B7AU7SQX.js.map +0 -1
  720. package/dist/styles.en-RLpYiO5_.js.map +0 -1
  721. package/dist/ui-theme-menu-DyKZygpV.js +0 -921
  722. package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-menu.js CHANGED
@@ -1,12 +1,15 @@
1
1
  import "./rolldown-runtime-CYGlBXrH.js";
2
- import { A as e, Bt as t, F as n, Ft as r, IconGlyph as i, It as a, Lt as o, N as s, P as c, PartContext as l, PopoverPanel as u, Queued as d, Rt as f, UI as p, UIComponent as m, Vt as h, Y as ee, afterSolidUpdate as g, beforeNextPaint as te, cssState as _, derived as ne, lazy as re, n as ie, on as ae, onChange as v, proto as oe, protoMerged as se, state as ce, untracked as y, watches as le, z as ue, zt as de } from "./core.js";
2
+ import { A as e, Bt as t, F as n, Ht as r, IconGlyph as i, Lt as a, N as o, P as s, PartContext as c, PopoverPanel as l, Queued as u, Rt as d, UI as f, UIComponent as ee, Ut as p, Vt as m, X as h, afterSolidUpdate as g, beforeNextPaint as te, cssState as _, derived as v, lazy as ne, n as y, on as re, onChange as b, proto as ie, protoMerged as ae, state as oe, untracked as x, watches as se, z as S, zt as ce } from "./core.js";
3
3
  import "./ui-item.js";
4
- import { n as fe, t as pe } from "./UIMenu-Btd-8V3A.js";
5
- import { For as me, Match as b, Show as x, Switch as he, untrack as ge } from "solid-js";
6
- import { addEvent as S, className as C, createComponent as w, delegateEvents as _e, effect as T, getOwner as E, insert as D, isServer as ve, memo as O, readShallow as k, ref as A, setAttribute as j, style as ye, template as M } from "@solidjs/web";
4
+ import { n as le, t as ue } from "./UIMenu-zdcAtwTa.js";
5
+ import { For as de, Match as C, Show as w, Switch as fe, untrack as pe } from "solid-js";
6
+ import { addEvent as me, className as T, createComponent as E, delegateEvents as he, effect as D, getOwner as O, insert as k, isServer as A, memo as j, readShallow as M, ref as N, setAttribute as P, style as F, template as I } from "@solidjs/web";
7
7
  //#region src/components/ui-menu/UIMenu.en.ts
8
- var be = {
8
+ var L = {
9
9
  tag: "ui-menu",
10
+ icon: "bars",
11
+ snippet: "<ui-menu>\n <ui-item>One</ui-item>\n <ui-item>Two</ui-item>\n</ui-menu>",
12
+ formControl: !0,
10
13
  topics: [
11
14
  "menus",
12
15
  "navigation",
@@ -42,20 +45,45 @@ var be = {
42
45
  group: "appearance",
43
46
  kind: "multiple",
44
47
  values: [
45
- ...ue,
48
+ ...S,
46
49
  "link",
47
- "borderless"
50
+ "borderless",
51
+ "header",
52
+ "capsule"
48
53
  ],
49
54
  classes: {},
50
55
  replaces: [
51
- ...ue.filter((e) => e !== "segmented"),
56
+ ...S.filter((e) => e !== "segmented"),
52
57
  "link",
53
58
  "borderless"
54
59
  ].map((e) => ({
55
60
  from: e,
56
61
  value: e
57
62
  })),
58
- description: "The look, several words at once: `tabular` (tabs on a rule), `pointing` (the active item points at the content; an underline with `secondary`), `secondary` (no box, rounded items), `text` (plain words), `segmented` (a segmented control: a bordered group of joined items, the selected one filled with `color`, else the primary colour; it moves `selected` to the item chosen itself; `--ui-menu-segmented-*` restyle it as a pill track with a raised thumb), `link` (every item interactive: a `<button>` with the link hover), `borderless` (no dividers between items). Old names: the bare switches `tabular`, `pointing`, `secondary`, `text`, `link`, `borderless`."
63
+ description: "The look, several words at once: `tabular` (tabs on a rule), `pointing` (the active item points at the content; an underline with `secondary`), `secondary` (no box, rounded items), `text` (plain words), `segmented` (a segmented control: a bordered group of joined items, the selected one filled with `color`, else the primary colour; it moves `selected` to the item chosen itself; `--ui-menu-segmented-*` restyle it as a pill track with a raised thumb), `link` (every item interactive: a `<button>` with the link hover), `borderless` (no dividers between items), `header` (alone: a whole bar across the top of a window, flat and short, 38px and 13px, over a hairline, in the theme's bar; with `segmented`: the row of a pane's bar, 13px, with no track of its own, the bar behind it being the track, and its items sharing the row's width), `capsule` (a nested menu of actions, grouped on one rounded piece of glass). Old names: the bare switches `tabular`, `pointing`, `secondary`, `text`, `link`, `borderless`."
64
+ },
65
+ {
66
+ name: "name",
67
+ group: "form",
68
+ kind: "string",
69
+ description: "A `segmented` menu's name in a form: the form reads its `value` and writes it back, as a select's (epic `debut` P31)."
70
+ },
71
+ {
72
+ name: "value",
73
+ group: "form",
74
+ kind: "string",
75
+ description: "A `segmented` menu's chosen item, by its `value` (else its text): setting it selects that item; choosing one sets it, and sends `ui-changed` with `{ value }`."
76
+ },
77
+ {
78
+ name: "choose",
79
+ group: "behaviour",
80
+ kind: "valueOnly",
81
+ values: ["one", "many"],
82
+ classes: {
83
+ one: "",
84
+ many: "toggles"
85
+ },
86
+ description: "A `segmented` menu's choice: `one` (the default) selects the item chosen and unselects the rest; `many` makes each item a toggle, pressed in while selected (`aria-pressed`), with no sliding thumb. One stays on: turning off the only one on turns on the next, to its right or below (round to the first)."
59
87
  },
60
88
  {
61
89
  name: "position",
@@ -202,7 +230,7 @@ var be = {
202
230
  group: "layout",
203
231
  kind: "valueAndKey",
204
232
  key: "aligned",
205
- values: c,
233
+ values: s,
206
234
  replaces: ["alignment"],
207
235
  description: "Where the items sit: `fluid` -- they fill the bar; `left` / `center` / `right` -- packed at that end of a full-width bar (a `segmented` menu moves as a whole). `align=\"center\"` => `center aligned`. Its old name was `alignment`."
208
236
  },
@@ -226,6 +254,24 @@ var be = {
226
254
  kind: "boolean",
227
255
  description: "Fits its items' titles to its width: every title whole while they fit; then the longest cut first, each ending in `…`; once one would be cut under `--ui-menu-title-min`, icons only (`:state(icons-only)`, each title its item's tooltip; an item with no icon shows its title's first letter); once a button would be under `--ui-menu-item-min`, every item folds into one `…` button whose menu holds them all (`:state(overflow)`). A `segmented` one becomes a dropdown instead (`:state(dropdown)`): one button showing the chosen item. Items with no words (an icon button) stay as they are. Off by default."
228
256
  },
257
+ {
258
+ name: "ticks",
259
+ group: "behaviour",
260
+ kind: "boolean",
261
+ description: "A menu of things that are on or off: each item keeps a gutter before its words, and shows a tick there while `selected`, in plain text. The solid accent fill is then only for the row under the pointer or the keyboard, never for what's on. It moves nothing itself: the page says which are `selected`. Set it on a menu with one of these rows, so its words stay put whichever are on. Off by default."
262
+ },
263
+ {
264
+ name: "icon-column",
265
+ group: "appearance",
266
+ kind: "boolean",
267
+ description: "Each row keeps an icon box before its words, empty for a row with no icon, so every title starts at the same place, as a Mac's menus do. With `ticks`, the tick comes first, then the icon. Off by default."
268
+ },
269
+ {
270
+ name: "tabs",
271
+ group: "behaviour",
272
+ kind: "boolean",
273
+ description: "Its items are tabs, for a screen reader (`role=tablist`, each a `role=tab`, the chosen one `aria-selected`): one Tab stop, arrow keys between them. For a row that switches what's shown under it. Off by default."
274
+ },
229
275
  {
230
276
  name: "interactive",
231
277
  group: "behaviour",
@@ -233,12 +279,24 @@ var be = {
233
279
  description: "An application menubar (`role=menubar`): one Tab stop, arrow keys between items, every item a `menuitem`. Default: a `<nav>` landmark of links."
234
280
  }
235
281
  ],
236
- events: [{
237
- name: "ui-choosing",
238
- detail: "{ value: string, item: Element, originalEvent?: Event }",
239
- cancelable: !0,
240
- description: "An interactive item (a link or button) was activated. `value` is the item's `value`, else its text. The menu doesn't move `selected` itself, except a `segmented` one (a single-choice control), which selects the item and unselects the rest: `preventDefault()` keeps the old choice."
241
- }],
282
+ events: [
283
+ {
284
+ name: "ui-choosing",
285
+ detail: "{ value: string, item: Element, originalEvent?: Event }",
286
+ cancelable: !0,
287
+ description: "An interactive item (a link or button) was activated. `value` is the item's `value`, else its text. The menu doesn't move `selected` itself, except a `segmented` one (a single-choice control), which selects the item and unselects the rest: `preventDefault()` keeps the old choice."
288
+ },
289
+ {
290
+ name: "ui-changed",
291
+ detail: "{ value?: string, values?: string[] }",
292
+ description: "A `segmented` menu's choice changed: `value`, the item chosen; a `choose=\"many\"` menu's `values`, the items now on, in order (each one's `value`, else its text)."
293
+ },
294
+ {
295
+ name: "ui-form-value",
296
+ detail: "{}",
297
+ description: "A `segmented` menu with a `name` is drawn, so it holds a form value now: a `<ui-form>` around it binds it."
298
+ }
299
+ ],
242
300
  slots: [{
243
301
  name: "",
244
302
  description: "`<ui-item>`s, sub-menus (`<ui-menu position>`), and other content."
@@ -280,6 +338,10 @@ var be = {
280
338
  {
281
339
  name: "dropdown",
282
340
  description: "`shrinkable` and `segmented`: one button showing the chosen item, a dropdown."
341
+ },
342
+ {
343
+ name: "form-value",
344
+ description: "A `segmented` menu with a `name`: a form reads and writes its `value`, as a select's."
283
345
  }
284
346
  ],
285
347
  texts: [{
@@ -292,17 +354,17 @@ var be = {
292
354
  "menu",
293
355
  "header"
294
356
  ]
295
- }, xe = class TitleFit {
357
+ }, ge = class TitleFit {
296
358
  box;
297
359
  setup;
298
360
  constructor(e) {
299
361
  this.box = e.box, this.setup = e;
300
362
  }
301
- answer = N;
363
+ answer = R;
302
364
  resizes;
303
365
  watched = /* @__PURE__ */ new Set();
304
366
  fonts;
305
- refits = new d({
367
+ refits = new u({
306
368
  when: te,
307
369
  run: () => this.refit()
308
370
  });
@@ -315,8 +377,8 @@ var be = {
315
377
  this.resizes && this.refits.ask();
316
378
  }
317
379
  stop() {
318
- this.refits.cancel(), this.resizes?.disconnect(), this.resizes = void 0, this.watched.clear(), this.fonts?.abort(), this.fonts = void 0, this.answer = N, this.box.style.removeProperty(Ce), this.box.style.removeProperty(I);
319
- for (let e of Ae) this.setup.domElement.setState(e, !1);
380
+ this.refits.cancel(), this.resizes?.disconnect(), this.resizes = void 0, this.watched.clear(), this.fonts?.abort(), this.fonts = void 0, this.answer = R, this.box.style.removeProperty(V), this.box.style.removeProperty(H);
381
+ for (let e of Ee) this.setup.domElement.setState(e, !1);
320
382
  }
321
383
  refit() {
322
384
  if (!this.resizes || !this.box.isConnected) return;
@@ -325,33 +387,36 @@ var be = {
325
387
  }
326
388
  fitNow() {
327
389
  let { rows: e, others: t } = this.setup.children();
328
- if (this.watch([...e.flatMap(({ box: e, title: t }) => [e, t]), ...t.flatMap(TitleFit.boxesOf)]), !e.length) return N;
390
+ if (this.watch([...e.flatMap(({ box: e, title: t }) => [e, t]), ...t.flatMap(TitleFit.boxesOf)]), !e.length) return R;
329
391
  let n = this.measure(e, t);
330
- if (n.fitsWhole) return N;
392
+ if (n.fitsWhole) return R;
331
393
  let r = n.room - n.fixed.reduce((e, t) => e + t, 0);
332
- return this.setup.isSegmented() ? TitleFit.cap(n.titles, r) === void 0 ? N : F : TitleFit.fit(n.titles, r, n.titleMin, {
394
+ if (this.setup.isSegmented()) return TitleFit.cap(n.titles, r) === void 0 || this.setup.scrollsFirst?.() && n.room >= n.scrollMin ? R : B;
395
+ let i = TitleFit.fit(n.titles, r, n.titleMin, {
333
396
  widths: n.icons,
334
397
  room: n.room,
335
398
  min: n.itemMin
336
399
  });
400
+ return i === B && this.setup.scrollsFirst?.() ? z : i;
337
401
  }
338
402
  measure(e, t) {
339
403
  let { box: n } = this;
340
- this.present(N);
341
- let r = getComputedStyle(n), i = parseFloat(r.fontSize) || ke, a = t.filter(TitleFit.isShown), o = (parseFloat(r.columnGap) || 0) * Math.max(0, e.length + a.length - 1), s = (parseFloat(r.paddingLeft) || 0) + (parseFloat(r.paddingRight) || 0), c = n.scrollWidth <= n.clientWidth && e.every(({ title: e }) => e.scrollWidth - e.getBoundingClientRect().width <= Oe), l = a.reduce((e, t) => e + TitleFit.widthOf(t) + TitleFit.marginsOf(t), 0), u = n.clientWidth - s - o - l, d = e.map(({ title: e }) => e.scrollWidth), f = e.map(({ box: e, title: t }) => TitleFit.outerWidthOf(e) - t.getBoundingClientRect().width), p = TitleFit.lengthOf(r.getPropertyValue(we), i, Ee), m = TitleFit.lengthOf(r.getPropertyValue(Te), i, De), h = [];
342
- return this.setup.isSegmented() || (this.present(P), h = e.map(({ box: e }) => TitleFit.outerWidthOf(e))), this.present(this.answer), {
404
+ this.present(R);
405
+ let r = getComputedStyle(n), i = parseFloat(r.fontSize) || Te, a = t.filter(TitleFit.isShown), o = (parseFloat(r.columnGap) || 0) * Math.max(0, e.length + a.length - 1), s = (parseFloat(r.paddingLeft) || 0) + (parseFloat(r.paddingRight) || 0), c = n.scrollWidth <= n.clientWidth && e.every(({ title: e }) => e.scrollWidth - e.getBoundingClientRect().width <= we), l = a.reduce((e, t) => e + TitleFit.widthOf(t) + TitleFit.marginsOf(t), 0), u = n.clientWidth - s - o - l, d = e.map(({ title: e }) => e.scrollWidth), f = e.map(({ box: e, title: t }) => TitleFit.outerWidthOf(e) - t.getBoundingClientRect().width), ee = TitleFit.lengthOf(r.getPropertyValue(ve), i, xe), p = TitleFit.lengthOf(r.getPropertyValue(ye), i, Se), m = TitleFit.lengthOf(r.getPropertyValue(be), i, Ce), h = [];
406
+ return this.setup.isSegmented() || (this.present(z), h = e.map(({ box: e }) => TitleFit.outerWidthOf(e))), this.present(this.answer), {
343
407
  fitsWhole: c,
344
408
  room: u,
345
409
  titles: d,
346
410
  fixed: f,
347
411
  icons: h,
348
- titleMin: p,
349
- itemMin: m
412
+ titleMin: ee,
413
+ itemMin: p,
414
+ scrollMin: m
350
415
  };
351
416
  }
352
417
  present(e) {
353
418
  let { box: t, setup: n } = this, r = n.isSegmented();
354
- t.style.setProperty(Ce, typeof e == "number" ? Se : e), typeof e == "number" ? t.style.setProperty(I, `${e}px`) : t.style.removeProperty(I), n.domElement.setState(L, e === P), n.domElement.setState(R, e === F && !r), n.domElement.setState(z, e === F && r);
419
+ t.style.setProperty(V, typeof e == "number" ? _e : e), typeof e == "number" ? t.style.setProperty(H, `${e}px`) : t.style.removeProperty(H), n.domElement.setState(U, e === z), n.domElement.setState(W, e === B && !r), n.domElement.setState(G, e === B && r);
355
420
  }
356
421
  watch(e) {
357
422
  let t = this.resizes;
@@ -366,7 +431,7 @@ var be = {
366
431
  }
367
432
  static fit(e, t, n, r) {
368
433
  let i = TitleFit.cap(e, t);
369
- return i === void 0 ? N : i >= n ? i : r && r.widths.reduce((e, t) => e + Math.max(t, r.min), 0) > r.room ? F : P;
434
+ return i === void 0 ? R : i >= n ? i : r && r.widths.reduce((e, t) => e + Math.max(t, r.min), 0) > r.room ? B : z;
370
435
  }
371
436
  static cap(e, t) {
372
437
  let n = [...e].sort((e, t) => e - t), r = t;
@@ -377,10 +442,10 @@ var be = {
377
442
  }
378
443
  }
379
444
  static lengthOf(e, t, n) {
380
- let r = je.exec(e.trim());
445
+ let r = De.exec(e.trim());
381
446
  if (!r) return n;
382
447
  let i = parseFloat(r[1]);
383
- return r[2] === Me ? i * t : i;
448
+ return r[2] === Oe ? i * t : i;
384
449
  }
385
450
  static widthOf(e) {
386
451
  let t = TitleFit.boxesOf(e);
@@ -393,7 +458,7 @@ var be = {
393
458
  }
394
459
  static marginsOf(e) {
395
460
  let t = getComputedStyle(e);
396
- if (t.display === B) {
461
+ if (t.display === K) {
397
462
  let t = TitleFit.boxesOf(e);
398
463
  return t.length === 1 ? TitleFit.marginsOf(t[0]) : 0;
399
464
  }
@@ -401,69 +466,69 @@ var be = {
401
466
  }
402
467
  static boxesOf(e) {
403
468
  let t = getComputedStyle(e);
404
- return t.display === Ne ? [] : t.display === B ? (e.localName === Pe ? e.assignedElements() : [...e.shadowRoot?.children ?? e.children]).filter((e) => e.localName !== Fe).flatMap(TitleFit.boxesOf) : [e];
469
+ return t.display === ke ? [] : t.display === K ? (e.localName === Ae ? e.assignedElements() : [...e.shadowRoot?.children ?? e.children]).filter((e) => e.localName !== je).flatMap(TitleFit.boxesOf) : [e];
405
470
  }
406
471
  static isShown(e) {
407
472
  return TitleFit.boxesOf(e).length > 0;
408
473
  }
409
- }, N = "whole", Se = "cut", P = "icons", F = "overflow", Ce = "--_menu-fit", I = "--_menu-title-max", we = "--_ui-menu-title-min", Te = "--_ui-menu-item-min", Ee = 50, De = 34, Oe = .5, ke = 14, L = "icons-only", R = "overflow", z = "dropdown", Ae = [
410
- L,
411
- R,
412
- z
413
- ], je = /^(-?\d*\.?\d+)(px|em)?$/, Me = "em", Ne = "none", B = "contents", Pe = "slot", Fe = "style", Ie = /* @__PURE__ */ M("<button type=button aria-haspopup=menu>"), Le = /* @__PURE__ */ M("<span><slot>"), Re = /* @__PURE__ */ M("<span aria-hidden=true>"), V = /* @__PURE__ */ M("<span>"), ze = /* @__PURE__ */ M("<div role=menu popover=manual>"), Be = /* @__PURE__ */ M("<button type=button tabindex=-1><span aria-hidden=true></span><span>"), Ve = /* @__PURE__ */ M("<div><slot>"), He = /* @__PURE__ */ M("<div role=menubar><slot>"), Ue = /* @__PURE__ */ M("<nav><slot>"), H, U, W, G, K, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, q, J, Y, X;
474
+ }, R = "whole", _e = "cut", z = "icons", B = "overflow", V = "--_menu-fit", H = "--_menu-title-max", ve = "--_ui-menu-title-min", ye = "--_ui-menu-item-min", be = "--ui-toolbar-scroll-min", xe = 50, Se = 34, Ce = 200, we = .5, Te = 14, U = "icons-only", W = "overflow", G = "dropdown", Ee = [
475
+ U,
476
+ W,
477
+ G
478
+ ], De = /^(-?\d*\.?\d+)(px|em)?$/, Oe = "em", ke = "none", K = "contents", Ae = "slot", je = "style", Me = /* @__PURE__ */ I("<button type=button aria-haspopup=menu>"), Ne = /* @__PURE__ */ I("<span><slot>"), Pe = /* @__PURE__ */ I("<span aria-hidden=true>"), q = /* @__PURE__ */ I("<span>"), Fe = /* @__PURE__ */ I("<div role=menu popover=manual>"), Ie = /* @__PURE__ */ I("<button type=button tabindex=-1><span aria-hidden=true></span><span>"), Le = /* @__PURE__ */ I("<div><slot>"), Re = /* @__PURE__ */ I("<div role=menubar><slot>"), ze = /* @__PURE__ */ I("<nav><slot>"), Be, Ve, He, Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, J, Y, X, Z;
414
479
  function isSameContext(e, t) {
415
- return e.domElementRole === t.domElementRole && e.role === t.role && e.interactive === t.interactive && e.current === t.current && e.shrinkable === t.shrinkable && e.iconsOnly === t.iconsOnly;
480
+ return e.domElementRole === t.domElementRole && e.role === t.role && e.interactive === t.interactive && e.current === t.current && e.shrinkable === t.shrinkable && e.iconsOnly === t.iconsOnly && e.pressed === t.pressed && e.ticks === t.ticks && e.iconColumn === t.iconColumn;
416
481
  }
417
- f(isSameContext, "isSameContext");
482
+ t(isSameContext, "isSameContext");
418
483
  function isSameFolded(e, t) {
419
484
  return e.length === t.length && e.every((e, n) => {
420
485
  let r = t[n];
421
486
  return Object.keys(e).every((t) => e[t] === r[t]);
422
487
  });
423
488
  }
424
- f(isSameFolded, "isSameFolded");
425
- var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")], ut = [_("vertical")], lt = [ne({ equals: isSameContext })], ct = [ne({ equals: isSameContext })], st = [ae("click")], ot = [v("hasThumb", "interactive")], at = [le({
489
+ t(isSameFolded, "isSameFolded");
490
+ var Q = class _UIMenu extends (J = ee, bt = [ie], yt = [ae], vt = [b("isReady")], _t = [_("vertical")], gt = [v({ equals: isSameContext })], ht = [v({ equals: isSameContext })], mt = [re("click")], pt = [_("form-value")], ft = [b("isAFormValue", "isReady", { defer: !0 })], dt = [b("isAFormValue", "valueText")], ut = [b("valueText", "isReady")], lt = [x], ct = [x], st = [b("hasThumb", "interactive")], ot = [se({
426
491
  attributes: !0,
427
492
  subtree: !0,
428
493
  childList: !0,
429
494
  characterData: !0,
430
495
  attributeFilter: [
431
- ee,
432
- ie,
496
+ h,
497
+ y,
433
498
  "hidden"
434
499
  ]
435
- })], it = [y], rt = [ce], nt = [_("icons-only")], tt = [_("overflow")], et = [_("dropdown")], $e = [v("canFit", "interactive", "appearance")], Qe = [y], Ze = [y], Xe = [ce({ equals: isSameFolded })], Ye = [y], Je = [re], qe = [v("isOverflowOpen", "isConnected")], Ke = [y], Ge = [y], We = [y], K = [y], G = [y], W = [_("interactive")], U = [v("isMenubar", "orientation")], H = [y], q) {
500
+ })], at = [x], it = [oe], rt = [_("icons-only")], nt = [_("overflow")], tt = [_("dropdown")], et = [b("canFit", "interactive", "appearance")], $e = [x], Qe = [x], Ze = [oe({ equals: isSameFolded })], Xe = [x], Ye = [ne], Je = [b("isOverflowOpen", "isConnected")], qe = [x], Ke = [x], Ge = [x], We = [x], Ue = [x], He = [_("interactive")], Ve = [b("isRoving", "orientation")], Be = [x], J) {
436
501
  constructor() {
437
- super(...arguments), h(J, 5, this), t(this, "context", new l({
502
+ super(...arguments), p(Y, 5, this), r(this, "context", new c({
438
503
  domElement: this.domElement,
439
504
  noun: this.vocabulary.noun,
440
- barrier: /* @__PURE__ */ f((e) => this.isSegmented || l.isBarrier(e), "barrier")
441
- })), t(this, "itemsThatAsked", /* @__PURE__ */ new WeakSet()), t(this, "box"), t(this, "thumb"), de(this, Y, h(J, 8, this, yt)), h(J, 11, this), t(this, "titleFit"), de(this, X, h(J, 12, this, [])), h(J, 15, this), t(this, "overflowMenu", new u({
505
+ barrier: /* @__PURE__ */ t((e) => this.isSegmented || c.isBarrier(e), "barrier")
506
+ })), r(this, "itemsThatAsked", /* @__PURE__ */ new WeakSet()), r(this, "startingValue", this.attributes.value ?? void 0), r(this, "box"), r(this, "thumb"), m(this, X, p(Y, 8, this, Ot)), p(Y, 11, this), r(this, "titleFit"), m(this, Z, p(Y, 12, this, [])), p(Y, 15, this), r(this, "overflowMenu", new l({
442
507
  component: this,
443
508
  restoreFocus: !1,
444
- onDismiss: /* @__PURE__ */ f((e) => this.closeOverflow(e === "escape"), "onDismiss")
445
- })), t(this, "overflowButton"), t(this, "overflowPanel"), t(this, "moreGlyph", new i({
509
+ onDismiss: /* @__PURE__ */ t((e) => this.closeOverflow(e === "escape"), "onDismiss")
510
+ })), r(this, "overflowButton"), r(this, "overflowPanel"), r(this, "moreGlyph", new i({
446
511
  owner: this,
447
- name: /* @__PURE__ */ f(() => this.isShrinking ? St : void 0, "name")
448
- })), t(this, "caretGlyph", new i({
512
+ name: /* @__PURE__ */ t(() => this.isShrinking ? jt : void 0, "name")
513
+ })), r(this, "caretGlyph", new i({
449
514
  owner: this,
450
- name: /* @__PURE__ */ f(() => this.isShrinking && this.isSegmented ? Ct : void 0, "name")
451
- })), t(this, "chosenGlyph", new i({
515
+ name: /* @__PURE__ */ t(() => this.isShrinking && this.isSegmented ? Mt : void 0, "name")
516
+ })), r(this, "chosenGlyph", new i({
452
517
  owner: this,
453
- name: /* @__PURE__ */ f(() => this.isShrinking && this.isSegmented ? this.chosen?.icon : void 0, "name")
454
- })), t(this, "onOverflowButtonKey", h(J, 24, this, /* @__PURE__ */ f((e) => {
518
+ name: /* @__PURE__ */ t(() => this.isShrinking && this.isSegmented ? this.chosen?.icon : void 0, "name")
519
+ })), r(this, "onOverflowButtonKey", p(Y, 24, this, /* @__PURE__ */ t((e) => {
455
520
  e.key === n.arrowDown && (e.preventDefault(), this.openOverflow());
456
- }, "onOverflowButtonKey"))), h(J, 27, this), t(this, "onOverflowMenuKey", h(J, 28, this, /* @__PURE__ */ f((e) => {
521
+ }, "onOverflowButtonKey"))), p(Y, 27, this), r(this, "onOverflowMenuKey", p(Y, 28, this, /* @__PURE__ */ t((e) => {
457
522
  let t = e.currentTarget;
458
- p.focus.arrowKey(e, {
523
+ f.focus.arrowKey(e, {
459
524
  container: t,
460
- items: Pt,
525
+ items: Ut,
461
526
  orientation: "vertical",
462
527
  tabindex: "left alone"
463
528
  }) || (e.key === n.escape ? (e.preventDefault(), this.closeOverflow(!0)) : e.key === n.tab && this.closeOverflow(!0));
464
- }, "onOverflowMenuKey"))), h(J, 31, this), t(this, "rovingTabindex"), t(this, "bar"), t(this, "rovingRefresh", new d({
529
+ }, "onOverflowMenuKey"))), p(Y, 31, this), r(this, "rovingTabindex"), r(this, "bar"), r(this, "rovingRefresh", new u({
465
530
  when: g,
466
- run: /* @__PURE__ */ f(() => this.refreshRoving(), "run")
531
+ run: /* @__PURE__ */ t(() => this.refreshRoving(), "run")
467
532
  }));
468
533
  }
469
534
  onReadyToRove(e) {
@@ -473,10 +538,13 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
473
538
  return String(this.appearance ?? "").split(" ").includes(e);
474
539
  }
475
540
  get isSegmented() {
476
- return this.hasLook(gt);
541
+ return this.hasLook(wt);
542
+ }
543
+ get choosesMany() {
544
+ return this.isSegmented && this.choose === Tt;
477
545
  }
478
546
  get isVertical() {
479
- return this.direction === vt;
547
+ return this.direction === Dt;
480
548
  }
481
549
  get parentMenu() {
482
550
  return this.context.ownerComponent();
@@ -485,15 +553,22 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
485
553
  return this.parentMenu?.topMenu ?? this;
486
554
  }
487
555
  get subMenuClasses() {
488
- return [this.position, this.vocabulary.noun].filter(Boolean).join(" ");
556
+ return [
557
+ this.position,
558
+ this.hasLook("capsule") && "capsule",
559
+ this.vocabulary.noun
560
+ ].filter(Boolean).join(" ");
489
561
  }
490
562
  get ownItemContext() {
491
- let e = this.interactive;
563
+ let e = this.interactive, t = this.isTabs;
492
564
  return {
493
- domElementRole: e ? "none" : void 0,
494
- role: e ? "menuitem" : void 0,
495
- interactive: e || this.hasLook(_t) || this.pagination,
565
+ domElementRole: e || t ? "none" : void 0,
566
+ role: t ? "tab" : e ? this.ticks ? "menuitemcheckbox" : "menuitem" : void 0,
567
+ interactive: e || this.hasLook(Et) || this.pagination || this.choosesMany || this.isAFormValue,
496
568
  current: "page",
569
+ pressed: (this.choosesMany || this.ticks) && !e,
570
+ ticks: this.ticks,
571
+ iconColumn: this.iconColumn,
497
572
  shrinkable: this.isShrinking,
498
573
  iconsOnly: this.isIconsOnly
499
574
  };
@@ -506,50 +581,97 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
506
581
  };
507
582
  }
508
583
  itemContext(e) {
509
- let t = ge(() => this.topMenu);
584
+ let t = pe(() => this.topMenu);
510
585
  return t.itemsThatAsked.add(e), t.queueRefresh(), e.parentElement === t.domElement ? t.ownItemContext : t.nestedItemContext;
511
586
  }
512
587
  onClick(e) {
513
588
  if (this.parentMenu) return;
514
589
  let t = _UIMenu.activatedItem(e);
515
- if (!t || t.matches(":state(disabled)")) return;
516
- let n = t.component?.value ?? t.textContent?.trim() ?? "";
517
- this.send("ui-choosing", {
518
- value: n,
590
+ t && !t.matches(":state(disabled)") && this.send("ui-choosing", {
591
+ value: _UIMenu.valueOf(t),
519
592
  item: t,
520
593
  originalEvent: e
521
- }) && this.isSegmented && this.choose(t);
594
+ }) && this.isSegmented && (this.choosesMany ? this.toggle(t) : (this.chooseOnly(t), this.isAFormValue && this.chooseValue(_UIMenu.valueOf(t))));
595
+ }
596
+ get isAFormValue() {
597
+ return this.isSegmented && !this.choosesMany && !!this.attributes.name;
598
+ }
599
+ onFormValueChanged(e, t) {
600
+ e && t && g(() => this.send("ui-form-value", {}));
601
+ }
602
+ onSubmissionChanged(e, t) {
603
+ this.domElement.internals.setFormValue(e && t != null ? t : null);
604
+ }
605
+ onFormReset() {
606
+ this.isAFormValue && this.startingValue !== void 0 && (this.value = this.startingValue);
607
+ }
608
+ chooseValue(e) {
609
+ this.value = e, this.send("ui-changed", { value: e });
610
+ }
611
+ onValueChanged(e, t) {
612
+ t && e != null && this.isSegmented && !this.choosesMany && g(() => this.showValue());
522
613
  }
523
- choose(e) {
524
- for (let t of this.domElement.querySelectorAll("*")) this.itemsThatAsked.has(t) && (t !== e && t.removeAttribute(ie), t.selected = t === e);
614
+ showValue() {
615
+ let e = this.valueText;
616
+ if (e == null) return;
617
+ let t = this.ownedItems().find((t) => _UIMenu.valueOf(t) === e);
618
+ t && !t.selected && this.chooseOnly(t);
619
+ }
620
+ get valueText() {
621
+ return this.attributes.value ?? void 0;
622
+ }
623
+ static valueOf(e) {
624
+ return e.component?.value ?? e.textContent?.trim() ?? "";
625
+ }
626
+ chooseOnly(e) {
627
+ for (let t of this.ownedItems()) t !== e && t.removeAttribute(y), t.selected = t === e;
628
+ }
629
+ toggle(e) {
630
+ let n = this.ownedItems().filter((e) => !e.hidden && !e.matches(":state(disabled)")), r = /* @__PURE__ */ t((e) => !!e.selected, "isOn");
631
+ if (!r(e)) e.selected = !0;
632
+ else {
633
+ if (!n.some((t) => t !== e && r(t))) {
634
+ let t = n.indexOf(e), r = [...n.slice(t + 1), ...n.slice(0, Math.max(0, t))][0];
635
+ if (!r) return;
636
+ r.selected = !0;
637
+ }
638
+ e.removeAttribute(y), e.selected = !1;
639
+ }
640
+ this.send("ui-changed", { values: this.ownedItems().filter(r).map((e) => _UIMenu.valueOf(e)) });
641
+ }
642
+ ownedItems() {
643
+ return [...this.domElement.querySelectorAll("*")].filter((e) => this.itemsThatAsked.has(e));
525
644
  }
526
645
  get hasThumb() {
527
- return !this.parentMenu && this.isSegmented && this.isReady;
646
+ return !this.parentMenu && this.isSegmented && !this.choosesMany && this.isReady;
528
647
  }
529
648
  onThumbChanged(e) {
530
- let t = this.box;
531
- if (!e || !t) return;
532
- let n = new fe({
533
- track: t,
534
- chosenBox: /* @__PURE__ */ f(() => this.chosenBox(), "chosenBox")
649
+ let n = this.box;
650
+ if (!e || !n) return;
651
+ let r = new le({
652
+ track: n,
653
+ chosenBox: /* @__PURE__ */ t(() => this.chosenBox(), "chosenBox")
535
654
  });
536
- this.thumb = n;
537
- let r = n.start();
655
+ this.thumb = r;
656
+ let i = r.start();
538
657
  return () => {
539
- r(), this.thumb = void 0;
658
+ i(), this.thumb = void 0;
540
659
  };
541
660
  }
542
661
  onChoiceChanged() {
543
662
  this.thumb?.update(), this.titleFit?.update(), this.readFolded();
544
663
  }
545
664
  chosenBox() {
546
- for (let e of this.domElement.querySelectorAll("*")) if (this.itemsThatAsked.has(e) && !e.hidden && e.matches(mt)) return e.shadowRoot?.querySelector(ht) ?? void 0;
665
+ for (let e of this.domElement.querySelectorAll("*")) if (this.itemsThatAsked.has(e) && !e.hidden && e.matches(St)) return e.shadowRoot?.querySelector(Ct) ?? void 0;
666
+ }
667
+ get scrollsFirst() {
668
+ return !1;
547
669
  }
548
670
  get isShrinking() {
549
671
  return this.shrinkable && !this.parentMenu && !this.isVertical;
550
672
  }
551
673
  get isIconsOnly() {
552
- return this.isShrinking && this.fitAnswer === bt;
674
+ return this.isShrinking && this.fitAnswer === kt;
553
675
  }
554
676
  get isFolded() {
555
677
  return this.isShrinking && this.fitAnswer === $ && !this.isSegmented;
@@ -561,19 +683,20 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
561
683
  return this.isShrinking && this.isReady;
562
684
  }
563
685
  onFitChanged(e) {
564
- let t = this.box;
565
- if (!e || !t) return;
566
- let n = new xe({
567
- box: t,
686
+ let n = this.box;
687
+ if (!e || !n) return;
688
+ let r = new ge({
689
+ box: n,
568
690
  domElement: this.domElement,
569
- children: /* @__PURE__ */ f(() => this.fitChildren(), "children"),
570
- isSegmented: /* @__PURE__ */ f(() => this.isSegmented, "isSegmented"),
571
- onAnswer: /* @__PURE__ */ f((e) => this.onFitAnswer(e), "onAnswer")
691
+ children: /* @__PURE__ */ t(() => this.fitChildren(), "children"),
692
+ isSegmented: /* @__PURE__ */ t(() => this.isSegmented, "isSegmented"),
693
+ scrollsFirst: /* @__PURE__ */ t(() => this.scrollsFirst, "scrollsFirst"),
694
+ onAnswer: /* @__PURE__ */ t((e) => this.onFitAnswer(e), "onAnswer")
572
695
  });
573
- this.titleFit = n;
574
- let r = n.start();
696
+ this.titleFit = r;
697
+ let i = r.start();
575
698
  return () => {
576
- r(), this.titleFit = void 0, this.fitAnswer = yt;
699
+ i(), this.titleFit = void 0, this.fitAnswer = Ot;
577
700
  };
578
701
  }
579
702
  onFitAnswer(e) {
@@ -594,7 +717,7 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
594
717
  };
595
718
  }
596
719
  rowElements() {
597
- return this.box?.querySelector(xt)?.assignedElements() ?? [];
720
+ return this.box?.querySelector(At)?.assignedElements() ?? [];
598
721
  }
599
722
  fittedItem(e) {
600
723
  if (!this.itemsThatAsked.has(e) || e.hidden) return;
@@ -633,7 +756,7 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
633
756
  return this.overflowMenu.isOpen;
634
757
  }
635
758
  get overflowMenuId() {
636
- return p.ids.next(this.vocabulary.tag);
759
+ return f.ids.next(this.vocabulary.tag);
637
760
  }
638
761
  get moreText() {
639
762
  return this.translationForKey("more");
@@ -649,20 +772,20 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
649
772
  this.overflowMenu.close(), e && this.overflowButton?.focus();
650
773
  }
651
774
  focusRow(e) {
652
- this.overflowPanel?.querySelectorAll(Pt)[e]?.focus();
775
+ this.overflowPanel?.querySelectorAll(Ut)[e]?.focus();
653
776
  }
654
777
  pickFolded(e) {
655
778
  e.isDisabled || (this.closeOverflow(!0), e.element.component?.focusTarget?.click());
656
779
  }
657
780
  overflowButtonBox() {
658
781
  let e = this;
659
- return w(x, {
782
+ return E(w, {
660
783
  get when() {
661
- return e.isShrinking && !ve;
784
+ return e.isShrinking && !A;
662
785
  },
663
786
  get children() {
664
- var t = Ie();
665
- return S(t, "keydown", e.onOverflowButtonKey, !0), t._$$click = () => e.isOverflowOpen ? e.closeOverflow() : e.openOverflow(), A(() => (t) => e.overflowButton = t, t), D(t, w(x, {
787
+ var t = Me();
788
+ return me(t, "keydown", e.onOverflowButtonKey, !0), t._$$click = () => e.isOverflowOpen ? e.closeOverflow() : e.openOverflow(), N(() => (t) => e.overflowButton = t, t), k(t, E(w, {
666
789
  get when() {
667
790
  return e.isSegmented;
668
791
  },
@@ -672,17 +795,17 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
672
795
  get children() {
673
796
  return e.dropdownFace();
674
797
  }
675
- })), T(() => ({
676
- e: k(wt),
798
+ })), D(() => ({
799
+ e: M(Nt),
677
800
  t: e.partForName("overflow"),
678
- a: k(e.overflowMenu.anchorStyle),
801
+ a: M(e.overflowMenu.anchorStyle),
679
802
  o: e.interactive ? "menuitem" : void 0,
680
803
  i: e.overflowMenu.ariaExpanded,
681
804
  n: e.overflowMenuId,
682
805
  s: e.isSegmented ? void 0 : e.moreText,
683
806
  h: e.isSegmented ? e.chosen?.text : e.moreText
684
807
  }), ({ e, t: n, a: r, o: i, i: a, n: o, s, h: c }, l) => {
685
- C(t, e, l?.e), n !== l?.t && j(t, "part", n), ye(t, r, l?.a), i !== l?.o && j(t, "role", i), a !== l?.i && j(t, "aria-expanded", a), o !== l?.n && j(t, "aria-controls", o), s !== l?.s && j(t, "aria-label", s), c !== l?.h && j(t, "title", c);
808
+ T(t, e, l?.e), n !== l?.t && P(t, "part", n), F(t, r, l?.a), i !== l?.o && P(t, "role", i), a !== l?.i && P(t, "aria-expanded", a), o !== l?.n && P(t, "aria-controls", o), s !== l?.s && P(t, "aria-label", s), c !== l?.h && P(t, "title", c);
686
809
  }), t;
687
810
  }
688
811
  });
@@ -690,21 +813,21 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
690
813
  moreFace() {
691
814
  let t = this;
692
815
  return [(() => {
693
- var n = Le(), r = n.firstChild;
694
- return r._$owner = E(), D(r, () => t.moreGlyph.svg), T(() => ({
695
- e: k(e),
816
+ var n = Ne(), r = n.firstChild;
817
+ return r._$owner = O(), k(r, () => t.moreGlyph.svg), D(() => ({
818
+ e: M(e),
696
819
  t: t.slotForName("overflow")
697
820
  }), ({ e, t }, i) => {
698
- C(n, e, i?.e), t !== i?.t && j(r, "name", t);
821
+ T(n, e, i?.e), t !== i?.t && P(r, "name", t);
699
822
  }), n;
700
- })(), w(x, {
823
+ })(), E(w, {
701
824
  get when() {
702
825
  return t.hasFoldedBadge;
703
826
  },
704
827
  get children() {
705
- var e = Re();
706
- return T(() => k(jt), (t, n) => {
707
- C(e, t, n);
828
+ var e = Pe();
829
+ return D(() => M(Bt), (t, n) => {
830
+ T(e, t, n);
708
831
  }), e;
709
832
  }
710
833
  })];
@@ -712,95 +835,101 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
712
835
  dropdownFace() {
713
836
  let t = this;
714
837
  return [
715
- w(x, {
838
+ E(w, {
716
839
  get when() {
717
840
  return t.chosenGlyph.svg;
718
841
  },
719
842
  get children() {
720
- var n = V();
721
- return D(n, () => t.chosenGlyph.svg), T(() => k(e), (e, t) => {
722
- C(n, e, t);
843
+ var n = q();
844
+ return k(n, () => t.chosenGlyph.svg), D(() => M(e), (e, t) => {
845
+ T(n, e, t);
723
846
  }), n;
724
847
  }
725
848
  }),
726
849
  (() => {
727
- var e = V();
728
- return D(e, () => t.chosen?.text), T(() => k(Dt), (t, n) => {
729
- C(e, t, n);
850
+ var e = q();
851
+ return k(e, () => t.chosen?.text), D(() => M(It), (t, n) => {
852
+ T(e, t, n);
730
853
  }), e;
731
854
  })(),
732
855
  (() => {
733
- var e = V();
734
- return D(e, () => t.caretGlyph.svg), T(() => k(At), (t, n) => {
735
- C(e, t, n);
856
+ var e = q();
857
+ return k(e, () => t.caretGlyph.svg), D(() => M(zt), (t, n) => {
858
+ T(e, t, n);
736
859
  }), e;
737
860
  })()
738
861
  ];
739
862
  }
740
863
  overflowMenuBox() {
741
864
  let e = this;
742
- return w(x, {
865
+ return E(w, {
743
866
  get when() {
744
- return e.isShrinking && !ve;
867
+ return e.isShrinking && !A;
745
868
  },
746
869
  get children() {
747
- var t = ze();
748
- return S(t, "keydown", e.onOverflowMenuKey, !0), A(() => (t) => e.overflowPanel = t, t), D(t, w(me, {
870
+ var t = Fe();
871
+ return me(t, "keydown", e.onOverflowMenuKey, !0), N(() => (t) => e.overflowPanel = t, t), k(t, E(de, {
749
872
  get each() {
750
873
  return e.folded;
751
874
  },
752
875
  children: (t) => e.foldedRow(t)
753
- })), T(() => ({
876
+ })), D(() => ({
754
877
  e: e.overflowMenuId,
755
- t: k(Tt),
878
+ t: M(Pt),
756
879
  a: e.partForName("overflow-menu"),
757
- o: k(e.overflowMenu.panelStyle),
880
+ o: M(e.overflowMenu.panelStyle),
758
881
  i: e.moreText
759
882
  }), ({ e, t: n, a: r, o: i, i: a }, o) => {
760
- e !== o?.e && j(t, "id", e), C(t, n, o?.t), r !== o?.a && j(t, "part", r), ye(t, i, o?.o), a !== o?.i && j(t, "aria-label", a);
883
+ e !== o?.e && P(t, "id", e), T(t, n, o?.t), r !== o?.a && P(t, "part", r), F(t, i, o?.o), a !== o?.i && P(t, "aria-label", a);
761
884
  }), t;
762
885
  }
763
886
  });
764
887
  }
765
- foldedRow(t) {
766
- let n = t.element.component, r = /* @__PURE__ */ f((e) => (n?.slotted?.(e) ?? []).map((e) => {
888
+ foldedRow(n) {
889
+ let r = n.element.component, a = /* @__PURE__ */ t((e) => (r?.slotted?.(e) ?? []).map((e) => {
767
890
  let t = e.cloneNode(!0);
768
891
  return t.removeAttribute("slot"), t;
769
- }), "copies"), a = r("icon"), o = r("badge"), s = t.icon ? new i({
892
+ }), "copies"), o = a("icon"), s = a("badge"), c = n.icon ? new i({
770
893
  owner: this,
771
- name: /* @__PURE__ */ f(() => t.icon, "name")
772
- }) : void 0, c = this;
773
- var l = Be(), u = l.firstChild, d = u.nextSibling;
774
- return l._$$click = () => c.pickFolded(t), D(u, () => s ? s.svg : a.length ? a : (() => {
775
- var e = V();
776
- return D(e, () => t.letter), T(() => k(kt), (t, n) => {
777
- C(e, t, n);
894
+ name: /* @__PURE__ */ t(() => n.icon, "name")
895
+ }) : void 0, l = this;
896
+ var u = Ie(), d = u.firstChild, f = d.nextSibling;
897
+ return u._$$click = () => l.pickFolded(n), k(d, () => c ? c.svg : o.length ? o : (() => {
898
+ var e = q();
899
+ return k(e, () => n.letter), D(() => M(Rt), (t, n) => {
900
+ T(e, t, n);
778
901
  }), e;
779
- })()), D(d, () => t.text), D(l, (() => {
780
- var e = O(() => !!o.length);
902
+ })()), k(f, () => n.text), k(u, (() => {
903
+ var e = j(() => !!s.length);
781
904
  return () => e() ? (() => {
782
- var e = V();
783
- return D(e, o), T(() => k(Ot), (t, n) => {
784
- C(e, t, n);
905
+ var e = q();
906
+ return k(e, s), D(() => M(Lt), (t, n) => {
907
+ T(e, t, n);
785
908
  }), e;
786
909
  })() : void 0;
787
- })(), null), T(() => ({
788
- e: k([Et, {
789
- [Mt]: t.isSelected,
790
- [Nt]: t.isDisabled
910
+ })(), null), D(() => ({
911
+ e: M([Ft, {
912
+ [Vt]: n.isSelected,
913
+ [Ht]: n.isDisabled
791
914
  }]),
792
- t: t.isSelected ? "menuitemradio" : "menuitem",
793
- a: t.isSelected ? "true" : void 0,
794
- o: t.isDisabled ? "true" : void 0,
795
- i: k(e),
796
- n: k(Dt)
915
+ t: n.isSelected ? "menuitemradio" : "menuitem",
916
+ a: n.isSelected ? "true" : void 0,
917
+ o: n.isDisabled ? "true" : void 0,
918
+ i: M(e),
919
+ n: M(It)
797
920
  }), ({ e, t, a: n, o: r, i, n: a }, o) => {
798
- C(l, e, o?.e), t !== o?.t && j(l, "role", t), n !== o?.a && j(l, "aria-checked", n), r !== o?.o && j(l, "aria-disabled", r), C(u, i, o?.i), C(d, a, o?.n);
799
- }), l;
921
+ T(u, e, o?.e), t !== o?.t && P(u, "role", t), n !== o?.a && P(u, "aria-checked", n), r !== o?.o && P(u, "aria-disabled", r), T(d, i, o?.i), T(f, a, o?.n);
922
+ }), u;
800
923
  }
801
924
  get isInteractiveMenubar() {
802
925
  return !this.parentMenu && this.interactive;
803
926
  }
927
+ get isTabs() {
928
+ return !this.parentMenu && !!this.tabs && !this.interactive;
929
+ }
930
+ get isRoving() {
931
+ return this.isMenubar || this.isTabs && this.isReady;
932
+ }
804
933
  get isMenubar() {
805
934
  return !this.parentMenu && this.interactive && this.isReady;
806
935
  }
@@ -812,14 +941,14 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
812
941
  }
813
942
  startRoving(e) {
814
943
  this.stopRoving();
815
- let t = this.bar;
816
- if (!t || !this.domElement.isConnected) return;
817
- let n = this.menuItems().findIndex((e) => e.getRootNode().host?.matches(mt));
818
- this.rovingTabindex = p.focus.roving({
819
- container: t,
820
- items: /* @__PURE__ */ f(() => this.menuItems(), "items"),
944
+ let n = this.bar;
945
+ if (!n || !this.domElement.isConnected) return;
946
+ let r = this.menuItems().findIndex((e) => e.getRootNode().host?.matches(St));
947
+ this.rovingTabindex = f.focus.roving({
948
+ container: n,
949
+ items: /* @__PURE__ */ t(() => this.menuItems(), "items"),
821
950
  orientation: e,
822
- activeIndex: Math.max(0, n)
951
+ activeIndex: Math.max(0, r)
823
952
  });
824
953
  }
825
954
  stopRoving() {
@@ -832,7 +961,7 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
832
961
  this.rovingRefresh.ask();
833
962
  }
834
963
  refreshRoving() {
835
- this.titleFit?.update(), this.rovingTabindex && (this.domElement.matches(":focus-within") ? this.rovingTabindex.refresh() : this.startRoving(this.orientation));
964
+ this.titleFit?.update(), this.isAFormValue && this.showValue(), this.rovingTabindex && (this.domElement.matches(":focus-within") ? this.rovingTabindex.refresh() : this.startRoving(this.orientation));
836
965
  }
837
966
  menuItems() {
838
967
  let e = [];
@@ -845,57 +974,60 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
845
974
  }
846
975
  render() {
847
976
  let e = this;
848
- return [O(() => e.menuBox()), O(() => e.overflowMenuBox())];
977
+ return [j(() => e.menuBox()), j(() => e.overflowMenuBox())];
849
978
  }
850
979
  get landmarkLabel() {
851
980
  return this.attributes["aria-label"] ?? this.sharedLabel ?? void 0;
852
981
  }
853
982
  menuBox() {
854
983
  let e = this;
855
- return w(he, { get children() {
984
+ return E(fe, { get children() {
856
985
  return [
857
- w(b, {
986
+ E(C, {
858
987
  get when() {
859
988
  return e.parentMenu;
860
989
  },
861
990
  get children() {
862
- var t = Ve(), n = t.firstChild;
863
- return n._$owner = E(), T(() => ({
864
- e: k(e.subMenuClasses),
991
+ var t = Le(), n = t.firstChild;
992
+ return n._$owner = O(), D(() => ({
993
+ e: M(e.subMenuClasses),
865
994
  t: e.partForName("menu")
866
995
  }), ({ e, t: n }, r) => {
867
- C(t, e, r?.e), n !== r?.t && j(t, "part", n);
996
+ T(t, e, r?.e), n !== r?.t && P(t, "part", n);
868
997
  }), t;
869
998
  }
870
999
  }),
871
- w(b, {
1000
+ E(C, {
872
1001
  get when() {
873
1002
  return e.interactive;
874
1003
  },
875
1004
  get children() {
876
- var t = He(), n = t.firstChild;
877
- return A(() => (t) => {
1005
+ var t = Re(), n = t.firstChild;
1006
+ return N(() => (t) => {
878
1007
  e.bar = t, e.box = t;
879
- }, t), D(t, () => e.overflowButtonBox(), n), n._$owner = E(), T(() => ({
880
- e: k(e.rootClass),
1008
+ }, t), k(t, () => e.overflowButtonBox(), n), n._$owner = O(), D(() => ({
1009
+ e: M(e.rootClass),
881
1010
  t: e.partForName("menu"),
882
1011
  a: e.isVertical ? "vertical" : void 0,
883
1012
  o: e.landmarkLabel
884
1013
  }), ({ e, t: n, a: r, o: i }, a) => {
885
- C(t, e, a?.e), n !== a?.t && j(t, "part", n), r !== a?.a && j(t, "aria-orientation", r), i !== a?.o && j(t, "aria-label", i);
1014
+ T(t, e, a?.e), n !== a?.t && P(t, "part", n), r !== a?.a && P(t, "aria-orientation", r), i !== a?.o && P(t, "aria-label", i);
886
1015
  }), t;
887
1016
  }
888
1017
  }),
889
- w(b, {
1018
+ E(C, {
890
1019
  when: !0,
891
1020
  get children() {
892
- var t = Ue(), n = t.firstChild;
893
- return A(() => (t) => e.box = t, t), D(t, () => e.overflowButtonBox(), n), n._$owner = E(), T(() => ({
894
- e: k(e.rootClass),
1021
+ var t = ze(), n = t.firstChild;
1022
+ return N(() => (t) => {
1023
+ e.bar = t, e.box = t;
1024
+ }, t), k(t, () => e.overflowButtonBox(), n), n._$owner = O(), D(() => ({
1025
+ e: M(e.rootClass),
895
1026
  t: e.partForName("menu"),
896
- a: e.landmarkLabel
897
- }), ({ e, t: n, a: r }, i) => {
898
- C(t, e, i?.e), n !== i?.t && j(t, "part", n), r !== i?.a && j(t, "aria-label", r);
1027
+ a: e.isTabs ? "tablist" : void 0,
1028
+ o: e.landmarkLabel
1029
+ }), ({ e, t: n, a: r, o: i }, a) => {
1030
+ T(t, e, a?.e), n !== a?.t && P(t, "part", n), r !== a?.a && P(t, "role", r), i !== a?.o && P(t, "aria-label", i);
899
1031
  }), t;
900
1032
  }
901
1033
  })
@@ -909,16 +1041,17 @@ var Z = class _UIMenu extends (q = m, pt = [oe], ft = [se], dt = [v("isReady")],
909
1041
  }
910
1042
  }
911
1043
  };
912
- J = o(q), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), r(J, 1, "onReadyToRove", dt, Z), r(J, 2, "isVertical", ut, Z), r(J, 2, "ownItemContext", lt, Z), r(J, 2, "nestedItemContext", ct, Z), r(J, 1, "onClick", st, Z), r(J, 1, "onThumbChanged", ot, Z), r(J, 1, "onChoiceChanged", at, Z), r(J, 1, "chosenBox", it, Z), r(J, 4, "fitAnswer", rt, Z, Y), r(J, 2, "isIconsOnly", nt, Z), r(J, 2, "isFolded", tt, Z), r(J, 2, "isDropdown", et, Z), r(J, 1, "onFitChanged", $e, Z), r(J, 1, "fitChildren", Qe, Z), r(J, 1, "rowElements", Ze, Z), r(J, 4, "folded", Xe, Z, X), r(J, 1, "readFolded", Ye, Z), r(J, 2, "overflowMenuId", Je, Z), r(J, 1, "onOverflowOpenChanged", qe, Z), r(J, 1, "openOverflow", Ke, Z), r(J, 1, "closeOverflow", Ge, Z), r(J, 1, "pickFolded", G, Z), r(J, 2, "isInteractiveMenubar", W, Z), r(J, 1, "onMenubarChanged", U, Z), r(J, 1, "menuItems", H, Z), r(J, 13, "vocabulary", pt, Z), r(J, 13, "elementSetup", ft, Z), r(J, 5, "onOverflowButtonKey", We, Z), r(J, 5, "onOverflowMenuKey", K, Z), a(J, Z), f(Z, "UIMenu"), t(Z, "vocabulary", h(J, 16, Z, be)), h(J, 19, Z), t(Z, "elementSetup", h(J, 20, Z, {
913
- styleSheets: { menu: pe },
1044
+ Y = ce(J), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), a(Y, 1, "onReadyToRove", vt, Q), a(Y, 2, "isVertical", _t, Q), a(Y, 2, "ownItemContext", gt, Q), a(Y, 2, "nestedItemContext", ht, Q), a(Y, 1, "onClick", mt, Q), a(Y, 2, "isAFormValue", pt, Q), a(Y, 1, "onFormValueChanged", ft, Q), a(Y, 1, "onSubmissionChanged", dt, Q), a(Y, 1, "onValueChanged", ut, Q), a(Y, 1, "showValue", lt, Q), a(Y, 1, "ownedItems", ct, Q), a(Y, 1, "onThumbChanged", st, Q), a(Y, 1, "onChoiceChanged", ot, Q), a(Y, 1, "chosenBox", at, Q), a(Y, 4, "fitAnswer", it, Q, X), a(Y, 2, "isIconsOnly", rt, Q), a(Y, 2, "isFolded", nt, Q), a(Y, 2, "isDropdown", tt, Q), a(Y, 1, "onFitChanged", et, Q), a(Y, 1, "fitChildren", $e, Q), a(Y, 1, "rowElements", Qe, Q), a(Y, 4, "folded", Ze, Q, Z), a(Y, 1, "readFolded", Xe, Q), a(Y, 2, "overflowMenuId", Ye, Q), a(Y, 1, "onOverflowOpenChanged", Je, Q), a(Y, 1, "openOverflow", qe, Q), a(Y, 1, "closeOverflow", Ke, Q), a(Y, 1, "pickFolded", Ue, Q), a(Y, 2, "isInteractiveMenubar", He, Q), a(Y, 1, "onMenubarChanged", Ve, Q), a(Y, 1, "menuItems", Be, Q), a(Y, 13, "vocabulary", bt, Q), a(Y, 13, "elementSetup", yt, Q), a(Y, 5, "onOverflowButtonKey", Ge, Q), a(Y, 5, "onOverflowMenuKey", We, Q), d(Y, Q), t(Q, "UIMenu"), r(Q, "vocabulary", p(Y, 16, Q, L)), p(Y, 19, Q), r(Q, "elementSetup", p(Y, 20, Q, {
1045
+ styleSheets: { menu: ue },
914
1046
  isAPart: !0,
1047
+ isAFormControl: !0,
915
1048
  delegatesFocus: !1
916
- })), h(J, 23, Z);
917
- var Q = Z, mt = ":state(selected)", ht = `.${s}`, gt = "segmented", _t = "link", vt = "vertical", yt = "whole", bt = "icons", $ = "overflow", xt = ":scope > slot:not([name])", St = "ellipsis horizontal", Ct = "caret down", wt = `${s} overflow`, Tt = "overflow-menu", Et = "row", Dt = "title", Ot = "badge", kt = "letter", At = "caret", jt = "dot", Mt = "selected", Nt = "disabled", Pt = `:scope > .${Et}`;
1049
+ })), p(Y, 23, Q);
1050
+ var xt = Q, St = ":state(selected)", Ct = `.${o}`, wt = "segmented", Tt = "many", Et = "link", Dt = "vertical", Ot = "whole", kt = "icons", $ = "overflow", At = ":scope > slot:not([name])", jt = "ellipsis horizontal", Mt = "caret down", Nt = `${o} overflow`, Pt = "overflow-menu", Ft = "row", It = "title", Lt = "badge", Rt = "letter", zt = "caret", Bt = "dot", Vt = "selected", Ht = "disabled", Ut = `:scope > .${Ft}`;
918
1051
  //#endregion
919
1052
  //#region src/components/ui-menu/index.ts
920
- _e(["click", "keydown"]), Q.define();
1053
+ he(["click", "keydown"]), xt.define();
921
1054
  //#endregion
922
- export { Q as UIMenu, be as t };
1055
+ export { xt as UIMenu, L as t };
923
1056
 
924
1057
  //# sourceMappingURL=ui-menu.js.map