spell-ui 0.8.8 → 0.8.10

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 (1167) hide show
  1. package/README-components.md +9 -3
  2. package/README-frameworks.md +5 -5
  3. package/README-migrating.md +2 -2
  4. package/README.md +5 -5
  5. package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
  6. package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
  7. package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
  8. package/dist/Dragging-B93hbRxF.js.map +1 -0
  9. package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
  10. package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
  11. package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
  12. package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
  13. package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
  14. package/dist/PrefStore-Di83C0bY.js.map +1 -0
  15. package/dist/ScrollingRow-DkOtx2QK.js +89 -0
  16. package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
  17. package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
  18. package/dist/SitePages-B3zd5Zgu.js.map +1 -0
  19. package/dist/SlottedItems-DWfAZYqM.js +88 -0
  20. package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
  21. package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
  22. package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
  23. package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
  24. package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
  25. package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
  26. package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
  27. package/dist/UIButton-BmIiXYDC.js +5 -0
  28. package/dist/UIButton-BmIiXYDC.js.map +1 -0
  29. package/dist/UIGrid-2ZUA1YEc.js +200 -0
  30. package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
  31. package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
  32. package/dist/UIInput-B3K0w4ow.js.map +1 -0
  33. package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
  34. package/dist/UIKeys-DmXvyJuU.js.map +1 -0
  35. package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
  36. package/dist/UILabel-pCjKxQlQ.js.map +1 -0
  37. package/dist/UIMenu-CqURPocK.js +42 -0
  38. package/dist/UIMenu-CqURPocK.js.map +1 -0
  39. package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
  40. package/dist/UIRuntime-BXutHphM.js.map +1 -0
  41. package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
  42. package/dist/UISegment-BF4Tgy2D.js.map +1 -0
  43. package/dist/_spell-element/UIComponent.d.ts +8 -0
  44. package/dist/_spell-element/vocabulary.types.d.ts +20 -2
  45. package/dist/_util/Dragging.d.ts +14 -2
  46. package/dist/_util/dom.d.ts +12 -8
  47. package/dist/_util/measures/Dimension.d.ts +1 -1
  48. package/dist/_util/persist/PrefStore.d.ts +7 -2
  49. package/dist/_util/persist/persist.types.d.ts +6 -0
  50. package/dist/_util/platform.d.ts +54 -0
  51. package/dist/_util/string.d.ts +25 -0
  52. package/dist/api.js +2 -3
  53. package/dist/api.js.map +1 -1
  54. package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
  55. package/dist/apple.palette-YLjENwUt.js.map +1 -0
  56. package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
  57. package/dist/classic-BHyJFvQa.js.map +1 -0
  58. package/dist/components/ComponentDefinitions.d.ts +55 -8
  59. package/dist/components/components.es.d.ts +2 -1
  60. package/dist/components/components.planned.d.ts +1 -1
  61. package/dist/components/components.types.d.ts +22 -0
  62. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  63. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  64. package/dist/components/ui-action/UIAction.d.ts +38 -1
  65. package/dist/components/ui-action/UIAction.en.d.ts +17 -8
  66. package/dist/components/ui-action/UIAction.es.d.ts +1 -0
  67. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  68. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  69. package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
  70. package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
  71. package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
  72. package/dist/components/ui-app-menu/index.d.ts +2 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  74. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  75. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  76. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  77. package/dist/components/ui-button/UIButton.d.ts +5 -4
  78. package/dist/components/ui-button/UIButton.en.d.ts +4 -3
  79. package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
  80. package/dist/components/ui-button/UIButton.types.d.ts +1 -1
  81. package/dist/components/ui-button/UIButtons.d.ts +7 -5
  82. package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
  83. package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
  84. package/dist/components/ui-button/UIOr.d.ts +1 -0
  85. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  86. package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
  87. package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
  88. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
  89. package/dist/components/ui-card/UICard.d.ts +1 -0
  90. package/dist/components/ui-card/UICard.en.d.ts +1 -0
  91. package/dist/components/ui-card/UICards.d.ts +1 -0
  92. package/dist/components/ui-card/UICards.en.d.ts +1 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
  95. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
  97. package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
  98. package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
  99. package/dist/components/ui-code/UICode.d.ts +12 -1
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-code/UICode.types.d.ts +9 -0
  102. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  105. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  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 +54 -1
  109. package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-device/UIDevice.d.ts +234 -0
  112. package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
  113. package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
  114. package/dist/components/ui-device/index.d.ts +1 -0
  115. package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
  116. package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
  117. package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
  118. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
  119. package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
  120. package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
  121. package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
  122. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  123. package/dist/components/ui-divider/UIDivider.d.ts +1 -0
  124. package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
  125. package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
  126. package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
  127. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
  129. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  130. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  131. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  132. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  133. package/dist/components/ui-example/UIExample.en.d.ts +1 -0
  134. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  135. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  136. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  137. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  138. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  139. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  140. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  141. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  142. package/dist/components/ui-form/UIField.d.ts +11 -4
  143. package/dist/components/ui-form/UIField.en.d.ts +3 -2
  144. package/dist/components/ui-form/UIFields.d.ts +1 -0
  145. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  146. package/dist/components/ui-form/UIForm.d.ts +1 -0
  147. package/dist/components/ui-form/UIForm.en.d.ts +1 -0
  148. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  149. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  150. package/dist/components/ui-grid/UIColumn.d.ts +4 -3
  151. package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
  152. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  153. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  154. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  155. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  156. package/dist/components/ui-icon/UIIcon.d.ts +1 -0
  157. package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
  158. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  159. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  160. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
  161. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
  162. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
  163. package/dist/components/ui-image/UIImage.d.ts +1 -0
  164. package/dist/components/ui-image/UIImage.en.d.ts +1 -0
  165. package/dist/components/ui-image/UIImages.d.ts +1 -0
  166. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  167. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  168. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  169. package/dist/components/ui-input/UIInput.d.ts +1 -0
  170. package/dist/components/ui-input/UIInput.en.d.ts +1 -0
  171. package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
  172. package/dist/components/ui-input/UITextarea.d.ts +1 -0
  173. package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
  174. package/dist/components/ui-item/UIItem.d.ts +19 -8
  175. package/dist/components/ui-item/UIItem.en.d.ts +2 -1
  176. package/dist/components/ui-items/UIItems.d.ts +1 -0
  177. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  178. package/dist/components/ui-json/UIJson.d.ts +1 -0
  179. package/dist/components/ui-json/UIJson.en.d.ts +1 -0
  180. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  181. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  182. package/dist/components/ui-label/UILabel.d.ts +3 -2
  183. package/dist/components/ui-label/UILabel.en.d.ts +3 -2
  184. package/dist/components/ui-label/UILabels.d.ts +1 -0
  185. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  186. package/dist/components/ui-list/UIList.d.ts +1 -0
  187. package/dist/components/ui-list/UIList.en.d.ts +1 -0
  188. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  189. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  190. package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
  191. package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
  192. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
  193. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
  194. package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
  195. package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
  196. package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
  197. package/dist/components/ui-menu/TitleFit.d.ts +16 -1
  198. package/dist/components/ui-menu/UIMenu.d.ts +112 -9
  199. package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
  200. package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
  201. package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
  202. package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
  203. package/dist/components/ui-menu/index.d.ts +3 -1
  204. package/dist/components/ui-message/UIMessage.d.ts +3 -2
  205. package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
  206. package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
  207. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  208. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  209. package/dist/components/ui-nag/UINag.d.ts +1 -0
  210. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  211. package/dist/components/ui-page/UIPage.d.ts +1 -0
  212. package/dist/components/ui-page/UIPage.en.d.ts +1 -0
  213. package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
  214. package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
  215. package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
  216. package/dist/components/ui-page-layout/index.d.ts +1 -0
  217. package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
  218. package/dist/components/ui-panel/UIPanel.d.ts +21 -2
  219. package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
  220. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  221. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  222. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  223. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  224. package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
  225. package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
  226. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  227. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  228. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  229. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  230. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  231. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  232. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  233. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  234. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  235. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  236. package/dist/components/ui-parts/UIHeader.d.ts +16 -5
  237. package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
  238. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  239. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  240. package/dist/components/ui-parts/UIParts.types.d.ts +23 -7
  241. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  242. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  244. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  246. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  247. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  248. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  249. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  250. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  251. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  252. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  253. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  254. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  255. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  256. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  257. package/dist/components/ui-popup/UIPopup.d.ts +21 -3
  258. package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
  259. package/dist/components/ui-progress/UIProgress.d.ts +3 -2
  260. package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
  261. package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
  262. package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
  263. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
  264. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  265. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
  266. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
  267. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
  268. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  269. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  270. package/dist/components/ui-rail/UIRail.d.ts +4 -3
  271. package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
  272. package/dist/components/ui-rating/UIRating.d.ts +1 -0
  273. package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
  274. package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
  275. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  276. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  277. package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
  278. package/dist/components/ui-search/UISearch.d.ts +1 -0
  279. package/dist/components/ui-search/UISearch.en.d.ts +1 -0
  280. package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
  281. package/dist/components/ui-section/UISection.d.ts +3 -2
  282. package/dist/components/ui-section/UISection.en.d.ts +3 -2
  283. package/dist/components/ui-section/UISections.d.ts +1 -0
  284. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  285. package/dist/components/ui-segment/UISegment.d.ts +9 -10
  286. package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
  287. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  288. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  289. package/dist/components/ui-select/UISelect.d.ts +1 -0
  290. package/dist/components/ui-select/UISelect.en.d.ts +1 -0
  291. package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
  292. package/dist/components/ui-shape/UIShape.d.ts +1 -0
  293. package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
  294. package/dist/components/ui-shape/UISide.d.ts +1 -0
  295. package/dist/components/ui-shape/UISide.en.d.ts +1 -0
  296. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  297. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  298. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  299. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  300. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  301. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  302. package/dist/components/ui-sides/UISides.d.ts +1 -0
  303. package/dist/components/ui-sides/UISides.en.d.ts +1 -0
  304. package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
  305. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
  306. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
  307. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
  308. package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
  309. package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
  310. package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
  311. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
  312. package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
  313. package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
  314. package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
  315. package/dist/components/ui-site-nav-button/index.d.ts +1 -0
  316. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
  317. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
  318. package/dist/components/ui-slider/UISlider.d.ts +1 -0
  319. package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
  320. package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
  321. package/dist/components/ui-space/UISpace.d.ts +1 -0
  322. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  323. package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
  324. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
  325. package/dist/components/ui-stack/UIStack.d.ts +1 -0
  326. package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
  327. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  328. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  329. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  330. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  331. package/dist/components/ui-step/UIStep.d.ts +1 -0
  332. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  333. package/dist/components/ui-step/UISteps.d.ts +3 -2
  334. package/dist/components/ui-step/UISteps.en.d.ts +3 -2
  335. package/dist/components/ui-sticky/UISticky.d.ts +1 -0
  336. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  337. package/dist/components/ui-tab/UITab.d.ts +3 -2
  338. package/dist/components/ui-tab/UITab.en.d.ts +4 -3
  339. package/dist/components/ui-tab/UITabs.d.ts +5 -4
  340. package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
  341. package/dist/components/ui-table/TableGrammar.d.ts +2 -2
  342. package/dist/components/ui-table/UICell.d.ts +1 -0
  343. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  344. package/dist/components/ui-table/UITable.d.ts +7 -6
  345. package/dist/components/ui-table/UITable.en.d.ts +7 -6
  346. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  347. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  348. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  349. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  350. package/dist/components/ui-text/UILink.d.ts +1 -0
  351. package/dist/components/ui-text/UILink.en.d.ts +1 -0
  352. package/dist/components/ui-text/UIText.d.ts +2 -1
  353. package/dist/components/ui-text/UIText.en.d.ts +2 -1
  354. package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
  355. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  356. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  357. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
  358. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
  359. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  360. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  361. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
  362. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
  363. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  364. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  365. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  366. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  367. package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
  368. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
  369. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
  370. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  371. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  372. package/dist/components/ui-tree/UITree.d.ts +102 -2
  373. package/dist/components/ui-tree/UITree.en.d.ts +14 -1
  374. package/dist/components/ui-tree/UITree.es.d.ts +3 -0
  375. package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
  376. package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
  377. package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
  378. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
  379. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
  380. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
  381. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
  382. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  383. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  384. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  385. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  386. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  387. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  388. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  389. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  390. package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
  391. package/dist/components.es-DEa8Ep42.js.map +1 -0
  392. package/dist/core.js +884 -806
  393. package/dist/core.js.map +1 -1
  394. package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
  395. package/dist/crisp-DIpY320U.js.map +1 -0
  396. package/dist/crisp.theme-Ir9p4BDC.js +5 -0
  397. package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
  398. package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
  399. package/dist/dark-B5s4QbmU.js.map +1 -0
  400. package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
  401. package/dist/dist-BQT4KajA.js.map +1 -0
  402. package/dist/docs-components/docs-components.types.d.ts +6 -0
  403. package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
  404. package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
  405. package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
  406. package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
  407. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
  408. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
  409. package/dist/elements/PartComponent.d.ts +5 -0
  410. package/dist/elements/PopoverPanel.d.ts +12 -1
  411. package/dist/elements/Validator.d.ts +1 -1
  412. package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
  413. package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
  414. package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
  415. package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
  416. package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
  417. package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
  418. package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
  419. package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
  420. package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
  421. package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
  422. package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
  423. package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
  424. package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
  425. package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
  426. package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
  427. package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
  428. package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
  429. package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
  430. package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
  431. package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
  432. package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
  433. package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
  434. package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
  435. package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
  436. package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
  437. package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
  438. package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
  439. package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
  440. package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
  441. package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
  442. package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
  443. package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
  444. package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
  445. package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
  446. package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
  447. package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
  448. package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
  449. package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
  450. package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
  451. package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
  452. package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
  453. package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
  454. package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
  455. package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
  456. package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
  457. package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
  458. package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
  459. package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
  460. package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
  461. package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
  462. package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
  463. package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
  464. package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
  465. package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
  466. package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
  467. package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
  468. package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
  469. package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
  470. package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
  471. package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
  472. package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
  473. package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
  474. package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
  475. package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
  476. package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
  477. package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
  478. package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
  479. package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
  480. package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
  481. package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
  482. package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
  483. package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
  484. package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
  485. package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
  486. package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
  487. package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
  488. package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
  489. package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
  490. package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
  491. package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
  492. package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
  493. package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
  494. package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
  495. package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
  496. package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
  497. package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
  498. package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
  499. package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
  500. package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
  501. package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
  502. package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
  503. package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
  504. package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
  505. package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
  506. package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
  507. package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
  508. package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
  509. package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
  510. package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
  511. package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
  512. package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
  513. package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
  514. package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
  515. package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
  516. package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
  517. package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
  518. package/dist/forms.js +65 -75
  519. package/dist/forms.js.map +1 -1
  520. package/dist/fruity-CsfZNeXb.js +5 -0
  521. package/dist/fruity-CsfZNeXb.js.map +1 -0
  522. package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
  523. package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
  524. package/dist/glass-BCK30hpe.js +5 -0
  525. package/dist/glass-BCK30hpe.js.map +1 -0
  526. package/dist/glass.theme-C7QSRB7b.js +5 -0
  527. package/dist/glass.theme-C7QSRB7b.js.map +1 -0
  528. package/dist/hot.js +18 -32
  529. package/dist/hot.js.map +1 -1
  530. package/dist/index.d.ts +5 -0
  531. package/dist/index.js +95 -90
  532. package/dist/jsx.d.ts +3869 -715
  533. package/dist/matrix-DEnqBfwC.js +5 -0
  534. package/dist/matrix-DEnqBfwC.js.map +1 -0
  535. package/dist/matrix.theme-YV6_nvXv.js +5 -0
  536. package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
  537. package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
  538. package/dist/merlot-DFa6kDbA.js.map +1 -0
  539. package/dist/merlot.theme-B1K8nn2u.js +5 -0
  540. package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
  541. package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
  542. package/dist/midnight-q0-3-V6U.js.map +1 -0
  543. package/dist/midnight.theme-C7M02wTD.js +5 -0
  544. package/dist/midnight.theme-C7M02wTD.js.map +1 -0
  545. package/dist/mockup-D0vovNO7.js +5 -0
  546. package/dist/mockup-D0vovNO7.js.map +1 -0
  547. package/dist/mockup.theme-C92r9NI0.js +5 -0
  548. package/dist/mockup.theme-C92r9NI0.js.map +1 -0
  549. package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
  550. package/dist/paper-DPxolmdy.js.map +1 -0
  551. package/dist/paper.theme-BAKk3DY1.js +5 -0
  552. package/dist/paper.theme-BAKk3DY1.js.map +1 -0
  553. package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
  554. package/dist/persist.types-D7N7GewC.js.map +1 -0
  555. package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
  556. package/dist/pop-Dw_6k177.js.map +1 -0
  557. package/dist/pop.theme-Cw-yD0MO.js +5 -0
  558. package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
  559. package/dist/property/PropertyEditorPages.d.ts +1 -1
  560. package/dist/property/PropertyLayouts.d.ts +119 -0
  561. package/dist/property/PropertySchemas.d.ts +5 -1
  562. package/dist/property/index.d.ts +2 -0
  563. package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
  564. package/dist/runtime/Browser.d.ts +7 -0
  565. package/dist/runtime/DataTooltips.d.ts +2 -0
  566. package/dist/runtime/Keyboard.d.ts +4 -1
  567. package/dist/runtime/Toasts.d.ts +10 -0
  568. package/dist/runtime/runtime.types.d.ts +47 -0
  569. package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
  570. package/dist/search-C2Rq9HF1.js.map +1 -0
  571. package/dist/spell-CB-MivSX.js +5 -0
  572. package/dist/spell-CB-MivSX.js.map +1 -0
  573. package/dist/spell.theme-CUoc5rTq.js +5 -0
  574. package/dist/spell.theme-CUoc5rTq.js.map +1 -0
  575. package/dist/styles/StyleGenerator.d.ts +7 -0
  576. package/dist/styles/styles.en.d.ts +27 -18
  577. package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
  578. package/dist/styles.en-DZlSJiOR.js.map +1 -0
  579. package/dist/styles.js +9 -10
  580. package/dist/styles.js.map +1 -1
  581. package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
  582. package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
  583. package/dist/ui-accordion.js +59 -60
  584. package/dist/ui-accordion.js.map +1 -1
  585. package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
  586. package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
  587. package/dist/ui-action.js +73 -45
  588. package/dist/ui-action.js.map +1 -1
  589. package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
  590. package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
  591. package/dist/ui-ad.editor-BHTDuSii.js +5 -0
  592. package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
  593. package/dist/ui-ad.js +8 -9
  594. package/dist/ui-ad.js.map +1 -1
  595. package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
  596. package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
  597. package/dist/ui-app-menu.js +89 -0
  598. package/dist/ui-app-menu.js.map +1 -0
  599. package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
  600. package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
  601. package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
  602. package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
  603. package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
  604. package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
  605. package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
  606. package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
  607. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
  608. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
  609. package/dist/ui-breadcrumbs.js +18 -17
  610. package/dist/ui-breadcrumbs.js.map +1 -1
  611. package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
  612. package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
  613. package/dist/ui-button.js +157 -156
  614. package/dist/ui-button.js.map +1 -1
  615. package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
  616. package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
  617. package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
  618. package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
  619. package/dist/ui-calendar.js +148 -157
  620. package/dist/ui-calendar.js.map +1 -1
  621. package/dist/ui-card.editor-BBZj9e03.js +5 -0
  622. package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
  623. package/dist/ui-card.js +70 -70
  624. package/dist/ui-card.js.map +1 -1
  625. package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
  626. package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
  627. package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
  628. package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
  629. package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
  630. package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
  631. package/dist/ui-checkbox.js +49 -48
  632. package/dist/ui-checkbox.js.map +1 -1
  633. package/dist/ui-code.editor-Drr_FVB6.js +5 -0
  634. package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
  635. package/dist/ui-code.js +116 -79
  636. package/dist/ui-code.js.map +1 -1
  637. package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
  638. package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
  639. package/dist/ui-column.editor-hdUb-qwT.js +5 -0
  640. package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
  641. package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
  642. package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
  643. package/dist/ui-comment.js +15 -14
  644. package/dist/ui-comment.js.map +1 -1
  645. package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
  646. package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
  647. package/dist/ui-components.editor-BKFXnARt.js +5 -0
  648. package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
  649. package/dist/ui-components.js +12 -13
  650. package/dist/ui-components.js.map +1 -1
  651. package/dist/ui-container.editor-CBNhNkRm.js +5 -0
  652. package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
  653. package/dist/ui-container.js +106 -21
  654. package/dist/ui-container.js.map +1 -1
  655. package/dist/ui-content.editor-B78lxK3P.js +5 -0
  656. package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
  657. package/dist/ui-date.editor-PHEnU7QX.js +5 -0
  658. package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
  659. package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
  660. package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
  661. package/dist/ui-detail.editor-wliuVbx3.js +5 -0
  662. package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
  663. package/dist/ui-device.editor-kl48NVma.js +5 -0
  664. package/dist/ui-device.editor-kl48NVma.js.map +1 -0
  665. package/dist/ui-device.js +436 -0
  666. package/dist/ui-device.js.map +1 -0
  667. package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
  668. package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
  669. package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
  670. package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
  671. package/dist/ui-diagram.js +128 -129
  672. package/dist/ui-diagram.js.map +1 -1
  673. package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
  674. package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
  675. package/dist/ui-dimension.js +111 -12
  676. package/dist/ui-dimension.js.map +1 -1
  677. package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
  678. package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
  679. package/dist/ui-dimmer.js +29 -30
  680. package/dist/ui-dimmer.js.map +1 -1
  681. package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
  682. package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
  683. package/dist/ui-divider.js +9 -10
  684. package/dist/ui-divider.js.map +1 -1
  685. package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
  686. package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
  687. package/dist/ui-dropdown.js +155 -156
  688. package/dist/ui-dropdown.js.map +1 -1
  689. package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
  690. package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
  691. package/dist/ui-embed.js +23 -24
  692. package/dist/ui-embed.js.map +1 -1
  693. package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
  694. package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
  695. package/dist/ui-emoji.js +63 -64
  696. package/dist/ui-emoji.js.map +1 -1
  697. package/dist/ui-event.editor-Bk17y7wW.js +5 -0
  698. package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
  699. package/dist/ui-example.editor-D46Vnctp.js +5 -0
  700. package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
  701. package/dist/ui-example.js +67 -74
  702. package/dist/ui-example.js.map +1 -1
  703. package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
  704. package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
  705. package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
  706. package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
  707. package/dist/ui-feed.js +26 -25
  708. package/dist/ui-feed.js.map +1 -1
  709. package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
  710. package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
  711. package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
  712. package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
  713. package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
  714. package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
  715. package/dist/ui-flag.js +13 -14
  716. package/dist/ui-flag.js.map +1 -1
  717. package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
  718. package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
  719. package/dist/ui-flyout.js +10 -11
  720. package/dist/ui-flyout.js.map +1 -1
  721. package/dist/ui-form.editor-BJC3WhNf.js +5 -0
  722. package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
  723. package/dist/ui-form.js +199 -195
  724. package/dist/ui-form.js.map +1 -1
  725. package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
  726. package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
  727. package/dist/ui-grid.js +43 -234
  728. package/dist/ui-grid.js.map +1 -1
  729. package/dist/ui-header.editor-meOjCASK.js +5 -0
  730. package/dist/ui-header.editor-meOjCASK.js.map +1 -0
  731. package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
  732. package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
  733. package/dist/ui-icon-picker.js +64 -69
  734. package/dist/ui-icon-picker.js.map +1 -1
  735. package/dist/ui-icon.editor-DoKK49PD.js +5 -0
  736. package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
  737. package/dist/ui-icon.js +15 -14
  738. package/dist/ui-icon.js.map +1 -1
  739. package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
  740. package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
  741. package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
  742. package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
  743. package/dist/ui-image.js +26 -26
  744. package/dist/ui-image.js.map +1 -1
  745. package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
  746. package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
  747. package/dist/ui-include.editor-CZcsVJbH.js +5 -0
  748. package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
  749. package/dist/ui-include.js +21 -22
  750. package/dist/ui-include.js.map +1 -1
  751. package/dist/ui-input.editor-budoNoB0.js +5 -0
  752. package/dist/ui-input.editor-budoNoB0.js.map +1 -0
  753. package/dist/ui-input.js +131 -130
  754. package/dist/ui-input.js.map +1 -1
  755. package/dist/ui-item.editor-BlWp1HXu.js +5 -0
  756. package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
  757. package/dist/ui-item.js +127 -113
  758. package/dist/ui-item.js.map +1 -1
  759. package/dist/ui-items.editor-GOul3Xss.js +5 -0
  760. package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
  761. package/dist/ui-items.js +11 -12
  762. package/dist/ui-items.js.map +1 -1
  763. package/dist/ui-json.editor-BgZbrB_W.js +5 -0
  764. package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
  765. package/dist/ui-json.js +18 -19
  766. package/dist/ui-json.js.map +1 -1
  767. package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
  768. package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
  769. package/dist/ui-keys.js +2 -3
  770. package/dist/ui-label.editor-BVUYLSUs.js +5 -0
  771. package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
  772. package/dist/ui-label.js +22 -22
  773. package/dist/ui-label.js.map +1 -1
  774. package/dist/ui-labels.editor-BWJth86p.js +5 -0
  775. package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
  776. package/dist/ui-link.editor-CpI53scP.js +5 -0
  777. package/dist/ui-link.editor-CpI53scP.js.map +1 -0
  778. package/dist/ui-list.editor-DhBZIkAa.js +5 -0
  779. package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
  780. package/dist/ui-list.js +9 -10
  781. package/dist/ui-list.js.map +1 -1
  782. package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
  783. package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
  784. package/dist/ui-loader.js +10 -11
  785. package/dist/ui-loader.js.map +1 -1
  786. package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
  787. package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
  788. package/dist/ui-markdown.js +208 -154
  789. package/dist/ui-markdown.js.map +1 -1
  790. package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
  791. package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
  792. package/dist/ui-menu.js +815 -223
  793. package/dist/ui-menu.js.map +1 -1
  794. package/dist/ui-message.editor-vfT0pyu5.js +5 -0
  795. package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
  796. package/dist/ui-message.js +32 -33
  797. package/dist/ui-message.js.map +1 -1
  798. package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
  799. package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
  800. package/dist/ui-modal.editor-CkkJRgab.js +5 -0
  801. package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
  802. package/dist/ui-modal.js +132 -96
  803. package/dist/ui-modal.js.map +1 -1
  804. package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
  805. package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
  806. package/dist/ui-nag.js +23 -24
  807. package/dist/ui-nag.js.map +1 -1
  808. package/dist/ui-or.editor-BfBLNVgm.js +5 -0
  809. package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
  810. package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
  811. package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
  812. package/dist/ui-page-layout.js +363 -0
  813. package/dist/ui-page-layout.js.map +1 -0
  814. package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
  815. package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
  816. package/dist/ui-page.js +11 -12
  817. package/dist/ui-page.js.map +1 -1
  818. package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
  819. package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
  820. package/dist/ui-panel.js +105 -27
  821. package/dist/ui-panel.js.map +1 -1
  822. package/dist/ui-parts.js +108 -66
  823. package/dist/ui-parts.js.map +1 -1
  824. package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
  825. package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
  826. package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
  827. package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
  828. package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
  829. package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
  830. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
  831. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
  832. package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
  833. package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
  834. package/dist/ui-placeholder.js +23 -19
  835. package/dist/ui-placeholder.js.map +1 -1
  836. package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
  837. package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
  838. package/dist/ui-popup.js +107 -100
  839. package/dist/ui-popup.js.map +1 -1
  840. package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
  841. package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
  842. package/dist/ui-progress.js +23 -24
  843. package/dist/ui-progress.js.map +1 -1
  844. package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
  845. package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
  846. package/dist/ui-property-editor.js +649 -277
  847. package/dist/ui-property-editor.js.map +1 -1
  848. package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
  849. package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
  850. package/dist/ui-property.editor-BC-jtjjt.js +5 -0
  851. package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
  852. package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
  853. package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
  854. package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
  855. package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
  856. package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
  857. package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
  858. package/dist/ui-quote.js +8 -9
  859. package/dist/ui-quote.js.map +1 -1
  860. package/dist/ui-radio.editor-DPzActfO.js +5 -0
  861. package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
  862. package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
  863. package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
  864. package/dist/ui-rail.js +11 -12
  865. package/dist/ui-rail.js.map +1 -1
  866. package/dist/ui-rating.editor-C19syymj.js +5 -0
  867. package/dist/ui-rating.editor-C19syymj.js.map +1 -0
  868. package/dist/ui-rating.js +40 -49
  869. package/dist/ui-rating.js.map +1 -1
  870. package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
  871. package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
  872. package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
  873. package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
  874. package/dist/ui-reveal.js +10 -11
  875. package/dist/ui-reveal.js.map +1 -1
  876. package/dist/ui-root.editor-CAokPDVa.js +5 -0
  877. package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
  878. package/dist/ui-root.js +205 -102
  879. package/dist/ui-root.js.map +1 -1
  880. package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
  881. package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
  882. package/dist/ui-search.editor-CtzfYgNu.js +5 -0
  883. package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
  884. package/dist/ui-search.js +143 -146
  885. package/dist/ui-search.js.map +1 -1
  886. package/dist/ui-section.editor-DmNICxCs.js +5 -0
  887. package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
  888. package/dist/ui-section.js +74 -73
  889. package/dist/ui-section.js.map +1 -1
  890. package/dist/ui-sections.editor-BxXECGv9.js +5 -0
  891. package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
  892. package/dist/ui-segment.editor-CebyLPFn.js +5 -0
  893. package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
  894. package/dist/ui-segment.js +43 -43
  895. package/dist/ui-segment.js.map +1 -1
  896. package/dist/ui-segments.editor-CSumzMa5.js +5 -0
  897. package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
  898. package/dist/ui-select.editor-wAcZzvU7.js +5 -0
  899. package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
  900. package/dist/ui-select.js +86 -87
  901. package/dist/ui-select.js.map +1 -1
  902. package/dist/ui-shape.editor-By9-8aD2.js +5 -0
  903. package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
  904. package/dist/ui-shape.js +39 -38
  905. package/dist/ui-shape.js.map +1 -1
  906. package/dist/ui-side.editor-CFSqGHGH.js +5 -0
  907. package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
  908. package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
  909. package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
  910. package/dist/ui-sidebar.js +79 -77
  911. package/dist/ui-sidebar.js.map +1 -1
  912. package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
  913. package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
  914. package/dist/ui-sides.js +25 -26
  915. package/dist/ui-sides.js.map +1 -1
  916. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
  917. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
  918. package/dist/ui-site-breadcrumbs.js +143 -0
  919. package/dist/ui-site-breadcrumbs.js.map +1 -0
  920. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
  921. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
  922. package/dist/ui-site-nav-button.js +113 -0
  923. package/dist/ui-site-nav-button.js.map +1 -0
  924. package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
  925. package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
  926. package/dist/ui-site-nav.js +133 -97
  927. package/dist/ui-site-nav.js.map +1 -1
  928. package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
  929. package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
  930. package/dist/ui-site-tabs.js +53 -48
  931. package/dist/ui-site-tabs.js.map +1 -1
  932. package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
  933. package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
  934. package/dist/ui-slider.js +37 -38
  935. package/dist/ui-slider.js.map +1 -1
  936. package/dist/ui-space.editor-s-XVWFBN.js +5 -0
  937. package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
  938. package/dist/ui-space.js +9 -10
  939. package/dist/ui-space.js.map +1 -1
  940. package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
  941. package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
  942. package/dist/ui-split-panel.js +107 -68
  943. package/dist/ui-split-panel.js.map +1 -1
  944. package/dist/ui-stack.editor-D69Fky6H.js +5 -0
  945. package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
  946. package/dist/ui-stack.js +12 -13
  947. package/dist/ui-stack.js.map +1 -1
  948. package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
  949. package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
  950. package/dist/ui-statistic.js +28 -27
  951. package/dist/ui-statistic.js.map +1 -1
  952. package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
  953. package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
  954. package/dist/ui-step.editor-CYmNXrk_.js +5 -0
  955. package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
  956. package/dist/ui-step.js +62 -61
  957. package/dist/ui-step.js.map +1 -1
  958. package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
  959. package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
  960. package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
  961. package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
  962. package/dist/ui-sticky.js +10 -11
  963. package/dist/ui-sticky.js.map +1 -1
  964. package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
  965. package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
  966. package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
  967. package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
  968. package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
  969. package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
  970. package/dist/ui-tab.js +115 -117
  971. package/dist/ui-tab.js.map +1 -1
  972. package/dist/ui-table.editor-DJvfg9oG.js +5 -0
  973. package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
  974. package/dist/ui-table.js +272 -272
  975. package/dist/ui-table.js.map +1 -1
  976. package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
  977. package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
  978. package/dist/ui-term.editor-BMCF3jBM.js +5 -0
  979. package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
  980. package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
  981. package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
  982. package/dist/ui-terms.js +13 -12
  983. package/dist/ui-terms.js.map +1 -1
  984. package/dist/ui-text.editor-B6AENK13.js +5 -0
  985. package/dist/ui-text.editor-B6AENK13.js.map +1 -0
  986. package/dist/ui-text.js +37 -36
  987. package/dist/ui-text.js.map +1 -1
  988. package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
  989. package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
  990. package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
  991. package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
  992. package/dist/ui-theme-editor.js +448 -461
  993. package/dist/ui-theme-editor.js.map +1 -1
  994. package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
  995. package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
  996. package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
  997. package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
  998. package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
  999. package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
  1000. package/dist/ui-title.editor-40PZSOpn.js +5 -0
  1001. package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
  1002. package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
  1003. package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
  1004. package/dist/ui-toast.js +125 -128
  1005. package/dist/ui-toast.js.map +1 -1
  1006. package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
  1007. package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
  1008. package/dist/ui-toc.js +52 -53
  1009. package/dist/ui-toc.js.map +1 -1
  1010. package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
  1011. package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
  1012. package/dist/ui-toolbar.js +254 -50
  1013. package/dist/ui-toolbar.js.map +1 -1
  1014. package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
  1015. package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
  1016. package/dist/ui-transition.js +13 -14
  1017. package/dist/ui-transition.js.map +1 -1
  1018. package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
  1019. package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
  1020. package/dist/ui-tree-diagram.js +128 -127
  1021. package/dist/ui-tree-diagram.js.map +1 -1
  1022. package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
  1023. package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
  1024. package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
  1025. package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
  1026. package/dist/ui-tree.editor-BoQztwdz.js +5 -0
  1027. package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
  1028. package/dist/ui-tree.js +393 -134
  1029. package/dist/ui-tree.js.map +1 -1
  1030. package/dist/ui-value.editor-CYak24cr.js +5 -0
  1031. package/dist/ui-value.editor-CYak24cr.js.map +1 -0
  1032. package/dist/ui-video.editor-CuWtFVjR.js +5 -0
  1033. package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
  1034. package/dist/ui-video.js +15 -14
  1035. package/dist/ui-video.js.map +1 -1
  1036. package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
  1037. package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
  1038. package/dist/ui-visibility.js +25 -26
  1039. package/dist/ui-visibility.js.map +1 -1
  1040. package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
  1041. package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
  1042. package/dist/ui-zoom.js +82 -83
  1043. package/dist/ui-zoom.js.map +1 -1
  1044. package/dist/util/TopLayerTip.d.ts +11 -2
  1045. package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
  1046. package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
  1047. package/dist/vocabulary/help.generated.d.ts +11 -0
  1048. package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
  1049. package/package.json +3 -3
  1050. package/dist/Dragging-CMZoLEWQ.js.map +0 -1
  1051. package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
  1052. package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
  1053. package/dist/PrefStore-Qv0e5y04.js.map +0 -1
  1054. package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
  1055. package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
  1056. package/dist/SitePages-CciwREek.js.map +0 -1
  1057. package/dist/SlottedItems-Du3aJwG1.js +0 -80
  1058. package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
  1059. package/dist/UIButton-DFEds67r.js +0 -6
  1060. package/dist/UIButton-DFEds67r.js.map +0 -1
  1061. package/dist/UIInput-BodVbUoQ.js.map +0 -1
  1062. package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
  1063. package/dist/UILabel-DgJUBzB_.js.map +0 -1
  1064. package/dist/UIMenu-zdcAtwTa.js +0 -42
  1065. package/dist/UIMenu-zdcAtwTa.js.map +0 -1
  1066. package/dist/UIRuntime-KH309p5B.js.map +0 -1
  1067. package/dist/UISegment-CMMIW7cZ.js.map +0 -1
  1068. package/dist/apple.palette-B4ivrNlM.js.map +0 -1
  1069. package/dist/classic-DCTQrteU.js.map +0 -1
  1070. package/dist/components.es-BOa_7gFF.js.map +0 -1
  1071. package/dist/crisp-VfYZlTph.js.map +0 -1
  1072. package/dist/crisp.theme-DRiePRdf.js +0 -6
  1073. package/dist/crisp.theme-DRiePRdf.js.map +0 -1
  1074. package/dist/dark-CbUdPe0a.js.map +0 -1
  1075. package/dist/dist-BLYIGZVK.js.map +0 -1
  1076. package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
  1077. package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
  1078. package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
  1079. package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
  1080. package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
  1081. package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
  1082. package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
  1083. package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
  1084. package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
  1085. package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
  1086. package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
  1087. package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
  1088. package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
  1089. package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
  1090. package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
  1091. package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
  1092. package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
  1093. package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
  1094. package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
  1095. package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
  1096. package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
  1097. package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
  1098. package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
  1099. package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
  1100. package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
  1101. package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
  1102. package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
  1103. package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
  1104. package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
  1105. package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
  1106. package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
  1107. package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
  1108. package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
  1109. package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
  1110. package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
  1111. package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
  1112. package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
  1113. package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
  1114. package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
  1115. package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
  1116. package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
  1117. package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
  1118. package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
  1119. package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
  1120. package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
  1121. package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
  1122. package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
  1123. package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
  1124. package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
  1125. package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
  1126. package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
  1127. package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
  1128. package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
  1129. package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
  1130. package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
  1131. package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
  1132. package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
  1133. package/dist/fruity-BRVlgJZd.js +0 -6
  1134. package/dist/fruity-BRVlgJZd.js.map +0 -1
  1135. package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
  1136. package/dist/glass-x9tbbwVq.js +0 -6
  1137. package/dist/glass-x9tbbwVq.js.map +0 -1
  1138. package/dist/glass.theme-24wY2wH9.js +0 -6
  1139. package/dist/glass.theme-24wY2wH9.js.map +0 -1
  1140. package/dist/matrix-QY2gWbJ0.js +0 -6
  1141. package/dist/matrix-QY2gWbJ0.js.map +0 -1
  1142. package/dist/matrix.theme-_8xtwhDq.js +0 -6
  1143. package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
  1144. package/dist/merlot-DOXLuUaU.js.map +0 -1
  1145. package/dist/merlot.theme-S-QnNGsw.js +0 -6
  1146. package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
  1147. package/dist/midnight-BxlTQSfw.js.map +0 -1
  1148. package/dist/midnight.theme-wXbqRYLy.js +0 -6
  1149. package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
  1150. package/dist/mockup-83ELBuVr.js +0 -6
  1151. package/dist/mockup-83ELBuVr.js.map +0 -1
  1152. package/dist/mockup.theme-DmpBgGBl.js +0 -6
  1153. package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
  1154. package/dist/paper-M61nUilz.js.map +0 -1
  1155. package/dist/paper.theme-B8R5Jn5H.js +0 -6
  1156. package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
  1157. package/dist/persist.types-D2m6wD-S.js.map +0 -1
  1158. package/dist/pop-CxXfytjk.js.map +0 -1
  1159. package/dist/pop.theme-CXzv8B9x.js +0 -6
  1160. package/dist/pop.theme-CXzv8B9x.js.map +0 -1
  1161. package/dist/search-CzSzx7bX.js.map +0 -1
  1162. package/dist/spell-By5Y3jKP.js +0 -6
  1163. package/dist/spell-By5Y3jKP.js.map +0 -1
  1164. package/dist/spell.theme-DxGj7qHx.js +0 -6
  1165. package/dist/spell.theme-DxGj7qHx.js.map +0 -1
  1166. package/dist/styles.en-CUUxNwHo.js.map +0 -1
  1167. package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ui-section.js","names":["UIT.SourceBodyAttributes","UIT.SourceBodyEvents","UIT.SourceBodyParts","UIT.SourceBodyStates","UIT.SourceFailureTexts","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.PartContext","_$getOwner","_$readShallow","_$setAttribute","__name","sectionCSS","ref={(element) => this.sentinel = element}","this","<section\n class={this.rootClass}\n part={this.partForName(\"section\")}\n aria-busy={this.isLoading ? \"true\" : void 0}\n >\n <div ref={(element) => this.sentinel = element} class={SENTINEL} aria-hidden=\"true\" />\n {this.titleBar()}\n <Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>\n <div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}\n tabindex={this.contentScrolls ? 0 : void 0}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>\n <Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>\n </section>","<Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>","part={this.partForName(\"subhead\")}","name={this.slotForName(\"hint\")}","<div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>","ref={this.disclosure.revealOnMatch}","<Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>","part={this.partForName(\"error\")}","<p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>","<div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}\n tabindex={this.contentScrolls ? 0 : void 0}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>","<Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>","<span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>","part={this.partForName(\"section\")}","aria-busy={this.isLoading ? \"true\" : void 0}","class={SENTINEL}","class={UIT.CONTENT}","part={this.partForName(\"content\")}","hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}","tabindex={this.contentScrolls ? 0 : void 0}","style={this.contentStyle}","ref={(element) => {\n this.title = element;\n E.TopLayerTip.showIn(element, TIP_TRIGGERS);\n }}","<Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : void 0}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>","class={HEADING}","<Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>","class={TOGGLE}","this.isCollapsible ? this.disclosure.ariaExpanded : void 0","this.isCollapsible ? this.toggleTip : void 0","<Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>","this.isCollapsible && !this.foldIconIsAtEnd","<Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>","part={this.partForName(\"icon\")}","name={this.slotForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>","part={this.partForName(\"header\")}","name={this.slotForName(\"label\")}","<header\n ref={(element) => {\n this.title = element;\n E.TopLayerTip.showIn(element, TIP_TRIGGERS);\n }}\n class={UIT.TITLE}\n part={this.partForName(\"title\")}\n style={this.titleStyle}\n >\n <Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : void 0}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>\n <Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>\n <Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>\n {this.titleBarEnd()}\n <Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>\n <Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>\n </header>","<Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>","part={this.partForName(\"badge\")}","name={this.slotForName(\"badge\")}","<span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>","<Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>","part={this.partForName(\"actions\")}","name={this.slotForName(\"actions\")}","<span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>","<Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>","this.isCollapsible && this.foldIconIsAtEnd","<Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>","part={this.partForName(\"tip\")}","name={this.slotForName(\"description\")}","<span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>","part={this.partForName(\"title\")}","style={this.titleStyle}","part={this.partForName(\"fold-icon\")}","title={onClick ? this.toggleTip : void 0}","<span\n class={FOLD_ICON_CLASS}\n part={this.partForName(\"fold-icon\")}\n aria-hidden=\"true\"\n title={onClick ? this.toggleTip : void 0}\n onClick={onClick}\n >\n {this.foldGlyph.svg}\n </span>","E.UIComponent","E.proto","E.protoMerged","E.derived","E.cssState","E.controlled","E.state","E.onChange","E.watches","E.PartContext","E.IconGlyph","E.Disclosure","E.StickyWatch","E.SlotContent","E.LoadableBody","E.SOURCE_FAILURE_KEYS","_$createComponent","_$getOwner","_$readShallow","_$setAttribute","_$ref","UIT.VISUALLY_HIDDEN","UIT.CONTENT","_$memo","UIT.ICON","UIT.HEADER","UIT.TITLE","__name","sectionCSS","E.DOMLoadableBodyElement","_$delegateEvents","ICON","__name$1","TITLE","HEADER","__publicField","__decorateElement","VISUALLY_HIDDEN","__decoratorMetadata","__runInitializers","__privateAdd","SourceBodyEvents","CONTENT","SourceFailureTexts","SourceBodyParts","SourceBodyAttributes","SourceBodyStates","__decoratorStart","getOwner$1","sectionsVocabulary","sectionVocabulary","UISection_default","_tmpl$$1","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UISections","UIComponent","proto","protoMerged","PartContext","_self$","_el$","_el$2","effect","readShallow","className","_p$","t","setAttribute","UISections","FoldIconPlace","_tmpl$","_tmpl$2","_tmpl$3","_tmpl$4","_tmpl$5","_tmpl$6","_tmpl$7","_tmpl$8","_isAnimated_dec","_onBodyWanted_dec","_bodyFailed_dec","_bodyIsLoaded_dec","_isLoading_dec","_matchesHideEmpty_dec","_isEmpty_dec","_onStickingChanged_dec","_joinsBelow_dec","_joinsAbove_dec","_isAfterClosed_dec","_onNeighbourChanged_dec","_onTuckedChanged_dec","_isFollowedByClosed_dec","_hasTuckedFirst_dec","_tucksFirst_dec","_isTucked_dec","_stackPlaces_dec","_isStacked_dec","_titleIsStuck_dec","_isStuck_dec","_titleHeight_dec","_onFoldedChanged_dec","_toggleTipMore_dec","_isFolded_dec","_isMarkedOpen_dec","_isInGroup_dec","_isNested_dec","_enclosingSection_dec","_defaultFoldIcon_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_isMarkedOpen","_toggleTipMore","_titleHeight","_isStuck","_hasTuckedFirst","_isFollowedByClosed","_UISection","derived","cssState","controlled","state","onChange","watches","IconGlyph","FOLD_ICON","Disclosure","OwnControls","event","TOGGLE_BUTTON","StickyWatch","edge","SlotContent","LoadableBody","name","detail","owner","own","MAX_LEVEL","parent","TOP_LEVEL","Converters","originalEvent","tip","isFolded","STACK","place","sibling","previous","isTucked","isConnected","STICK_TOP_PROPERTY","DEPTH_PROPERTY","isReady","sticky","title","sentinel","resizes","unwatch","hideEmpty","selector","isServer","SourceStatus","failure","key","SOURCE_FAILURE_KEYS","source","UI","SCROLLING","LOADING","_el$3","_el$6","_el$8","_el$9","_el$11","ref","element","insert","createComponent","Show","_el$4","_el$5","SUBHEAD","a","CONTENT_ID","_ref$","_el$7","SOURCE_ERROR","_el$10","_v$","_$p","SENTINEL","i","n","s","h","style","r","HEIGHT_PROPERTY","_self$2","_el$12","_el$17","_el$20","_el$23","_el$24","_el$25","_el$28","TopLayerTip","TIP_TRIGGERS","Dynamic","HEADING","TIP_ID","TOGGLE","memo","_el$13","_el$14","_el$15","_el$16","e","_el$18","_el$19","BADGE","_el$21","_el$22","ACTIONS","_el$26","_el$27","TIP","_self$3","_el$29","addEvent","onClick","FOLD_ICON_CLASS","DOMLoadableBodyElement","UISection","b","index","tag","host","nested","before","node","outer","COMMENT_NODE","TEXT_NODE","value","delegateEvents"],"sources":["../src/components/ui-section/UISections.en.ts","../src/components/ui-section/UISection.en.ts","../src/components/ui-section/UISection.css?inline","../src/components/ui-section/UISections.tsx","../src/components/ui-section/UISection.types.ts","../src/components/ui-section/UISection.tsx","../src/components/ui-section/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-sections>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words (`ClassBuilder`):\n * `<ui-sections collapsing>` => `ui collapsing sections`.\n * - `ownsParts: [\"section\"]`: a `<ui-section>` finds its group the way it finds an enclosing section\n * (`PartContext`), so its default `collapsible` follows the NEAREST group, at any depth (`UISection.group`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `sectionsVocabulary`\n * The names of `<ui-sections>`, a run of sections: `<div class=\"ui ... sections\" part=\"group\">` around a slot.\n ****************/\nexport const sectionsVocabulary = {\n tag: \"ui-sections\",\n icon: \"list alternate outline\",\n topics: [\"layout\", \"containers\"],\n aka: [\"accordion\", \"section group\", \"collapsible group\", \"outline\"],\n noun: \"sections\",\n description:\n \"A group of sections: with `collapsing`, every section in it can close, and closed ones stack with no space between.\",\n attributes: [\n {\n name: \"collapsing\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Every section in the group, sub-sections included, can close by default (as if `collapsible`); closed \" +\n 'ones stack with no space between. A section opts out with `collapsible=\"false\"`.'\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-section>`s, and anything between them.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [\n { name: \"in-section\", description: \"Inside a section.\" },\n { name: \"in-sections\", description: \"Inside another `<ui-sections>`.\" }\n ],\n texts: [],\n ownsParts: [\"section\"]\n} as const satisfies E.ComponentVocabulary\n","/**\n * The English vocabulary of `<ui-section>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), events, slots, parts, states and texts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-section color=\"teal\" dividing sticky>` => `ui teal dividing sticky section`.\n * - Not class words, which the component draws or reads instead:\n * - the strings and numbers: `label`, `hint`, `description`, `level`, `badge`, `offset`, `height`\n * - the booleans: `collapsible`, `open` (`collapsed` its old name, turned round)\n * - `fold-icon`\n * - `source` (`UIT.LoadableBody*`): the content comes from a file the first time the section unfolds.\n * Spread in here, so a subclass reusing this vocabulary (`<ui-panel>`) has it too.\n * - `open` is CONTROLLED, like the accordion's: set it to fold or unfold (`open=\"false\"` folds).\n * `ui-opening` / `ui-closing` can veto a person's change.\n * - Its words match `<ui-field>`'s (epic `property-editor` P10, decision Q12):\n * - `label`, `hint`, `description`\n * - events in pairs: `ui-closing` then `ui-closed`\n * - states `nested` and `in-group`\n * - Its old words (`header`, `subhead`, `info`, `ui-opening`, `ui-closing`, `ui-loaded`) went in epic `repo-split` P14 (Q45).\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `sectionVocabulary`\n * The names of `<ui-section>`, a titled block of content that can fold.\n * Its `<section class=\"ui … section\" part=\"section\">` holds:\n * - its title bar: `<hN>` with the icon, label and a fold button, then the badge and actions\n * - an optional hint, then the content\n ****************/\nexport const sectionVocabulary = {\n tag: \"ui-section\",\n icon: \"bookmark outline\",\n snippet: '<ui-section label=\"A section\">\\n\\t<ui-text>What it holds</ui-text>\\n</ui-section>',\n topics: [\"layout\", \"containers\"],\n aka: [\"section\", \"panel\", \"collapsible\", \"disclosure\", \"fieldset\", \"expander\"],\n // a title over its content, as a segment's skeleton\n skeleton: \"header, paragraph\",\n noun: \"section\",\n description: \"A section is a titled block of content that can close and keep its title in view.\",\n attributes: [\n {\n name: \"label\",\n group: \"name\",\n kind: \"string\",\n description: 'Title text; a slotted `slot=\"label\"` is the rich version (code, links).'\n },\n {\n name: \"hint\",\n group: \"form\",\n kind: \"string\",\n description: 'Smaller text under the title; scrolls away with the content, never sticks. Or `slot=\"hint\"`.'\n },\n {\n name: \"level\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"],\n description:\n \"Heading level of the title (`<h1>` ... `<h6>`); default: the enclosing section's level + 1, else 2 \" +\n \"(under the page's `h1`).\"\n },\n {\n name: \"parent\",\n group: \"layout\",\n kind: \"string\",\n description:\n \"Id of the `<ui-section>` (or `<ui-sections>`) this one nests in, when it's written outside it \" +\n '(`parent=\"setup\"`): it joins it, in page order, as if nested there.'\n },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"icon\",\n description: 'Icon name, before the title; a slotted `slot=\"icon\"` (a `<ui-icon>`, anything) replaces it.'\n },\n {\n name: \"badge\",\n group: \"content\",\n kind: \"string\",\n description: 'A small pill after the title, e.g. a count (`3/7`); `slot=\"badge\"` is the rich version.'\n },\n {\n name: \"description\",\n group: \"content\",\n kind: \"string\",\n description:\n \"A tip about the section, shown under the title bar while the pointer is on the title (or the open / close button \" +\n 'has keyboard focus); it describes the title. `slot=\"description\"` is the rich version (bold words, line ' +\n \"breaks).\"\n },\n {\n name: \"hide-empty\",\n group: \"behaviour\",\n kind: \"string\",\n description:\n \"Hidden while nothing's in it to see: no element in its content, and no text but blanks. \" +\n \"A loader counts, so a section waiting for its list keeps its title. A selector narrows what counts: \" +\n '`hide-empty=\"ui-card\"` hides it until a card is in it. Follows its content as it changes.'\n },\n {\n name: \"collapsible\",\n group: \"behaviour\",\n kind: \"boolean\",\n description:\n \"The title opens and closes the content: a button with `aria-expanded`. Default: on inside \" +\n '`<ui-sections collapsing>`, sub-sections included; `collapsible=\"false\"` opts out there.'\n },\n {\n name: \"open\",\n group: \"states\",\n kind: \"boolean\",\n default: true,\n replaces: [{ from: \"collapsed\", value: \"false\" }],\n description:\n 'Open; `open=\"false\"` closes it, so only the title shows. Controlled: set it to close or open; ' +\n \"`ui-opening` / `ui-closing` can veto a person's changes. Find-in-page opens a match. Its old name was \" +\n \"`collapsed` (turned round).\"\n },\n {\n name: \"fold-icon\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"start\", \"end\"],\n description:\n \"With `collapsible`: where the open / close chevron sits: `start`, before the title (the default), or `end`, at \" +\n \"the far end of the title bar, after the badge and actions (a click on it closes and opens too).\"\n },\n {\n name: \"sticky\",\n group: \"behaviour\",\n kind: \"keyOrValueAndKey\",\n values: [\"stack\"],\n description:\n \"The title bar sticks while the section is on screen; a sticky section inside another sticks just below \" +\n 'its title. `sticky=\"stack\"`: the titles read as one stack of rounded bars, as the docs pages\\' sections ' +\n \"do -- each level a step further in (`--ui-section-stack-reach`, `--ui-section-stack-step`), a section's \" +\n \"first nested title tucked square under its own, a nested title stuck under its parent's a heavy round \" +\n \"(the theme's large radius), and closed sections one after another flush, ONE group, round only at its top \" +\n \"and bottom. A plain `sticky` section right inside a stacked one joins its stack (not through another element, \" +\n \"an example's).\"\n },\n {\n name: \"offset\",\n group: \"layout\",\n kind: \"number\",\n default: 0,\n description:\n \"With `sticky`: pixels between the top edge and a TOP-LEVEL section's stuck title (e.g. a page header's \" +\n \"height); nested sections work theirs out.\"\n },\n {\n name: \"color\",\n group: \"appearance\",\n kind: \"color\",\n description: \"Hue of the title (and of the rule or box edge).\"\n },\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Text size of the CONTENT, `mini` ... `massive`; the title keeps its level's size.\"\n },\n { name: \"dividing\", group: \"appearance\", kind: \"keyOnly\", description: \"A rule under the title.\" },\n { name: \"block\", group: \"layout\", kind: \"keyOnly\", description: \"The title bar in a tinted box.\" },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n values: [\"bordered\", \"styled\", \"raised\", \"basic\", \"drawer\"],\n // each word draws itself: no key after it\n classes: {},\n replaces: [\n { from: \"bordered\", value: \"bordered\" },\n { from: \"styled\", value: \"styled\" },\n { from: \"raised\", value: \"raised\" },\n { from: \"basic\", value: \"basic\" }\n ],\n description:\n \"The look, several words at once: `bordered` (a box around the section, as a segment), `styled` (boxed \" +\n \"as a styled accordion: a tinted title bar over padded content), `raised` (with a box: lifted with a \" +\n \"shadow), `basic` (no box, rule or tint, whatever else is set), `drawer` (the title a raised bar, the \" +\n \"content a tinted panel attached under it that rolls open and closed, as an example's code under its demo). \" +\n \"Old names: `bordered`, `styled`, `raised`, `basic`.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"compact\", \"md\", \"lg\"],\n classes: { md: \"padded\", lg: \"very padded\" },\n replaces: [\n { from: \"compact\", value: \"compact\" },\n { from: \"padded\", value: \"md\", values: { very: \"lg\" } }\n ],\n description:\n \"`compact`: less padding and space around the title; `md` / `lg`: more padding in the content. Old \" +\n 'names: `compact`, `padded` (`padded=\"very\"` is `lg`).'\n },\n {\n name: \"attach\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"both\", \"top\", \"bottom\"],\n classes: { both: \"attached\", top: \"top attached\", bottom: \"bottom attached\" },\n replaces: [{ from: \"attached\", value: \"both\" }],\n description:\n \"With a box: joined edge to edge with the box above (`top`), below (`bottom`), or both (`both`, between \" +\n \"two). Old name: `attached` (bare is `both`).\"\n },\n {\n name: \"scrolling\",\n group: \"layout\",\n kind: \"keyOrValueAndKey\",\n values: [\"short\", \"very short\", \"long\", \"very long\"],\n description: \"The content has a capped height and scrolls; `short` ... `very long` scale the cap.\"\n },\n {\n name: \"height\",\n group: \"layout\",\n kind: \"string\",\n description:\n \"The content's cap, any CSS length (`20em`, `300px`): above it the content scrolls (implies `scrolling`).\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: [\"left\", \"center\", \"right\"],\n replaces: [\"text-align\"],\n description: \"Aligns the TITLE `left`, `center` or `right`. Old name: `text-align`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds: the dark scheme.\" },\n {\n name: \"loading\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Dims the content under a spinner; `aria-busy`.\"\n },\n {\n name: \"disabled\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Dimmed and inert; can't be closed or opened.\"\n },\n ...UIT.SourceBodyAttributes\n ],\n events: [\n {\n name: \"ui-opening\",\n detail: \"{ open: boolean, section: Element, originalEvent?: Event }\",\n cancelable: true,\n description:\n \"About to open: the title was activated, or find-in-page matched inside (not cancelable then, \" +\n \"`cancelable: false`). Cancel to stay closed.\"\n },\n {\n name: \"ui-opened\",\n detail: \"{ open: boolean, section: Element }\",\n description: \"Opened, by any route: the title, the page setting `open`, find-in-page.\"\n },\n {\n name: \"ui-closing\",\n detail: \"{ open: boolean, section: Element, originalEvent?: Event }\",\n cancelable: true,\n description: \"About to close: the title was activated. Cancel to stay open.\"\n },\n {\n name: \"ui-closed\",\n detail: \"{ open: boolean, section: Element }\",\n description: 'Closed, by any route: the title, or the page setting `open=\"false\"`.'\n },\n ...UIT.SourceBodyEvents\n ],\n slots: [\n { name: \"\", description: \"The content: anything, nested `<ui-section>`s included.\" },\n { name: \"label\", description: \"Rich title, instead of the `label` attribute.\" },\n { name: \"hint\", description: \"Rich hint, instead of the `hint` attribute.\" },\n { name: \"icon\", description: \"Icon before the title, instead of the `icon` attribute (a `<ui-icon>`, an image).\" },\n { name: \"badge\", description: \"Rich badge, instead of the `badge` attribute (e.g. a `<ui-label>`).\" },\n { name: \"actions\", description: \"Controls at the right of the title bar (buttons, a menu); never close it.\" },\n { name: \"description\", description: \"Rich tip, instead of the `description` attribute (bold words, line breaks).\" }\n ],\n parts: [\n { name: \"section\", description: \"The section box.\" },\n { name: \"title\", description: \"The title bar: sticks with `sticky`.\" },\n { name: \"heading\", description: \"The `<h1>` ... `<h6>`.\" },\n {\n name: \"toggle\",\n description: \"With `collapsible`: the `<button>` inside the heading that opens and closes the section.\"\n },\n {\n name: \"fold-icon\",\n description:\n 'With `collapsible`: the chevron, in the toggle; with `fold-icon=\"end\"`, at the end of the title bar.'\n },\n { name: \"icon\", description: \"The icon box.\" },\n { name: \"header\", description: \"The title text box.\" },\n { name: \"badge\", description: \"The badge pill.\" },\n { name: \"actions\", description: \"The actions box, at the right of the title bar.\" },\n {\n name: \"tip\",\n description: \"With `description`: the tip, under the title bar, shown on hover and keyboard focus.\"\n },\n { name: \"subhead\", description: \"The hint under the title.\" },\n { name: \"content\", description: \"The content box: `size`, `scrolling` and `height` apply here.\" },\n ...UIT.SourceBodyParts\n ],\n states: [\n { name: \"collapsed\", description: \"Closed.\" },\n { name: \"empty\", description: \"With `hide-empty`: nothing in it to see, so it's hidden.\" },\n { name: \"stuck\", description: \"With `sticky`: the title bar is stuck to the top.\" },\n {\n name: \"stacked\",\n description: 'With `sticky=\"stack\"` (or `sticky` right inside a stacked section): a bar of the stack.'\n },\n {\n name: \"tucked\",\n description:\n \"Stacked: the first thing in its enclosing section, its title right under that section's, square on top.\"\n },\n {\n name: \"tucks\",\n description: \"Stacked: its first nested section is tucked under its title, so its content has no room on top.\"\n },\n {\n name: \"after-closed\",\n description: \"Stacked: right after a closed section, nothing between: no room above it.\"\n },\n { name: \"joins-above\", description: \"Stacked and closed, right after a closed one: square on top, in its group.\" },\n { name: \"joins-below\", description: \"Stacked and closed, right before a closed one: square below, in its group.\" },\n { name: \"animated\", description: \"Opens and closes with a height transition (`interpolate-size`).\" },\n { name: \"nested\", description: \"Nested in another section.\" },\n { name: \"in-group\", description: \"Directly in a `<ui-sections>` group (no section between).\" },\n {\n name: \"in-section\",\n description: \"Directly in another section (its part's state); `nested` counts one through a group too.\"\n },\n { name: \"in-sections\", description: \"Directly in a `<ui-sections>` group (its part's state), as `in-group`.\" },\n { name: \"inverted\", description: \"In the dark scheme.\" },\n { name: \"loading\", description: \"Busy: `loading`, or a `source` body that is slow to arrive.\" },\n { name: \"disabled\", description: \"Dimmed and inert.\" },\n ...UIT.SourceBodyStates\n ],\n texts: [\n { key: \"loading\", text: \"Loading…\", description: \"Announced while `loading`.\" },\n { key: \"closeSection\", text: \"Close this section\", description: \"Tooltip of the open / close button while open.\" },\n { key: \"openSection\", text: \"Open this section\", description: \"Tooltip of the open / close button while closed.\" },\n ...UIT.SourceFailureTexts\n ],\n ownsParts: [\"section\"]\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-section>` and `<ui-sections>`: ours, with no Fomantic `.less` of its own.\n * It follows Fomantic's header (`dividing`, `block`), segment (the box, `padded`, `attached`, `scrolling`, `loading`)\n * and styled accordion (`styled`).\n * - It styles the component's shadow DOM, in Fomantic's class names on semantic elements:\n *\n * <section class=\"ui [size] [color] [keyOnly ...] [valueAndKey ...] [text-align] section [scrolling]\"\n * part=\"section\" [aria-busy=\"true\"]>\n * <div class=\"sentinel\" aria-hidden=\"true\"></div> (what `sticky` is measured by)\n * <header class=\"title\" part=\"title\" style=\"--_ui-section-top: Npx; --_ui-section-depth: N\">\n * <hN class=\"heading\" part=\"heading\"> (N = level)\n * <button type=\"button\" class=\"toggle\" part=\"toggle\" aria-expanded aria-controls=\"content\">\n * (not collapsible: <span class=\"toggle\">)\n * <span class=\"fold icon\" part=\"fold-icon\" aria-hidden=\"true\"><svg/></span> (collapsible only)\n * <span class=\"icon\" part=\"icon\"><slot name=\"icon\"><svg/></slot></span> (icon only)\n * <span class=\"header\" part=\"header\"><slot name=\"label\">text</slot></span>\n * </button>\n * </hN>\n * <span class=\"badge\" part=\"badge\"><slot name=\"badge\">text</slot></span> (badge only)\n * <span class=\"actions\" part=\"actions\"><slot name=\"actions\"></slot></span> (actions only)\n * <span class=\"fold icon\" part=\"fold-icon\" aria-hidden=\"true\"><svg/></span> (`fold-icon=\"end\"`: not in the\n * toggle, here)\n * <span id=\"tip\" class=\"tip\" part=\"tip\" role=\"tooltip\">\n * <slot name=\"description\">text</slot></span> (description only)\n * </header>\n * <div class=\"subhead\" part=\"subhead\"><slot name=\"hint\">text</slot></div> (hint only)\n * <div id=\"content\" class=\"content\" part=\"content\" [hidden=\"until-found\"]\n * [style=\"--_ui-section-height: <height>\"]>\n * <p class=\"source error\" part=\"error\" role=\"alert\">Couldn't load …</p> (failed `source` only)\n * <slot></slot>\n * </div>\n * <span class=\"ui-visually-hidden-force\" role=\"status\">Loading…</span> (loading, or a slow `source`)\n * </section>\n *\n * - The DOM element is `display: block`, NOT `contents`: its `id` is an anchor target, and pages scroll to its box.\n * - Static markup (the examples) gets every look;\n * the element adds behaviour: folding, find-in-page, the sticky stack, `:state(stuck)`.\n * - Folded is `hidden=\"until-found\"` on `.content`.\n * - The fold icon turns by the toggle's `aria-expanded=\"false\"`.\n * - `size` scales the CONTENT only (`--ui-scale` from `sizes.css`, read by `.content`).\n * Each level keeps its title size (`--ui-section-h1` ... `-h6`),\n * relative to `--ui-font-size`, as `<ui-header level>`'s.\n * - `color` (the `--ui-color*` remap) tints the title, the dividing rule and a box's top edge.\n * Every `<slot>` resets the remap and `--ui-scale`,\n * so slotted content (nested sections included) isn't tinted or rescaled.\n * - Sticky: `.title` is `position: sticky` inside the section box.\n * - Its top is `--_ui-section-top` (inline): the top-level `offset`, or the bottom of the enclosing stuck titles.\n * - Its `z-index` is `--ui-section-z-index` minus the nesting depth (`--_ui-section-depth`, inline; never below 1),\n * so a nested title slides UNDER its parent's.\n * - It needs an opaque background (`--ui-section-sticky-background`).\n * - The content is isolated (its own stacking context), so nothing in it paints over the title.\n * - Animated folds (`:state(animated)`: `interpolate-size`), dropped under `prefers-reduced-motion`.\n * - `<ui-sections>` shares this sheet:\n *\n * <div class=\"ui [collapsing] sections\" part=\"group\"><slot></slot></div>\n *\n * `collapsing` sets the private switch `--_ui-sections-stack` (0px), inherited by every section below it,\n * which then stacks (\"Stacked\"); a plain group resets it.\n * - End chevron (`fold-icon=\"end\"`): the fold icon sits after the badge and actions, at the far end of the bar;\n * it turns as the start one does, by the toggle's `aria-expanded` (`:has()`).\n * - Description tip (`description`): under the title bar at its start edge; the title is its positioned box.\n * It shows while the pointer is on the heading or the end chevron, or the toggle has keyboard focus.\n *\n * ## Tokens\n * Public tokens (`--ui-section-*`, the theming surface) are NEVER declared here:\n * the root reads each through a private alias, and the rules read only those:\n * `--_ui-section-radius: var(--ui-section-radius, var(--ui-radius))`.\n * - So a value set on `:root`, an ancestor, the DOM element, `::part(section)` or in the app stylesheet\n * reaches the box (`notes/theming.md` \"Component tokens\").\n * - Variations write private `--_section-*` switches, never the aliases.\n *\n * | Token | What |\n * | ----------------------------------------------------- | --------------------------------------------- |\n * | `--ui-section-margin` | space above / below a section |\n * | `--ui-section-title-padding` / `-weight` / `-gap` | title bar spacing, weight, gap between pieces |\n * | `--ui-section-title-color` | title text (a `color` wins) |\n * | `--ui-section-title-background` | `block` / `styled` title bar |\n * | `--ui-section-title-line-height` | title lines |\n * | `--ui-section-h1` ... `-h6` | title size per level, x `--ui-font-size` |\n * | `--ui-section-dividing-border` | `dividing` rule |\n * | `--ui-section-background` / `-border` / `-radius` | `bordered` / `styled` box |\n * | `--ui-section-shadow` / `-raised-shadow` | box shadow, `raised` |\n * | `--ui-section-colored-width` | a coloured box's top edge |\n * | `--ui-section-box-padding` | inside a `bordered` box |\n * | `--ui-section-content-padding` | content spacing |\n * | `--ui-section-padded` / `-very-padded` | `padded` / `padded=\"very\"` content |\n * | `--ui-section-badge-background` / `-color` / `-font-size` | the badge pill |\n * | `--ui-section-subhead-color` / `-font-size` | the subhead |\n * | `--ui-section-fold-icon-size` | the fold chevron |\n * | `--ui-section-fold-icon-rotate` / `-folded-rotate` | chevron turn open / folded (RTL negates) |\n * | `--ui-section-tip-background` / `-color` / `-width` | the `description` tip (width: its widest) |\n * | `--ui-section-scrolling-height` | `scrolling` cap (default grows with viewport) |\n * | `--ui-section-z-index` | a sticky title's stacking (minus its depth) |\n * | `--ui-section-sticky-background` / `-stuck-shadow` | sticky title fill, shadow while stuck |\n * | `--ui-section-duration` | fold animation, chevron turn |\n * | `--ui-section-loader-*`, `--ui-section-disabled-opacity` | `loading` spinner / dimmer, `disabled` |\n *\n * - NOTE: left out, on purpose:\n * - Fomantic header extras (`sub header`, `icon header` layout, floated content): a section's title is one line\n * - `attached` neighbours other than sections (menus, segments): only the box's own corners and margins change\n */\n\n@layer ui.components.section.types, ui.components.section.content, ui.components.section.variations, ui.components.section.states;\n\n/* Breakpoints (`@custom-media`), inlined at build time. */\n@import \"../../styles/media.css\";\n\n/* `hide-empty`, with nothing in it to see */\n:host([hide-empty]:state(empty)) {\n display: none;\n}\n\n/* Loader spin, shared by `loading` sections. */\n@keyframes ui-section-spin {\n to {\n rotate: 1turn;\n }\n}\n\n/*******************************\n Section\n*******************************/\n\n@layer ui.components.section.types {\n :host {\n display: block;\n }\n\n /* Tokens: each the private alias of its public token. */\n .ui.section {\n --_ui-section-margin: var(--ui-section-margin, 1.5em);\n --_ui-section-title-padding: var(--ui-section-title-padding, 0.25em 0);\n --_ui-section-title-weight: var(--ui-section-title-weight, var(--ui-font-weight-bold));\n --_ui-section-title-gap: var(--ui-section-title-gap, 0.5em);\n --_ui-section-title-color: var(--ui-section-title-color, var(--ui-text-color));\n --_ui-section-title-background: var(--ui-section-title-background, var(--ui-surface-strong));\n --_ui-section-title-line-height: var(--ui-section-title-line-height, 1.28571);\n --_ui-section-h1: var(--ui-section-h1, 2);\n --_ui-section-h2: var(--ui-section-h2, 1.71428);\n --_ui-section-h3: var(--ui-section-h3, 1.28571);\n --_ui-section-h4: var(--ui-section-h4, 1.07142);\n --_ui-section-h5: var(--ui-section-h5, 1);\n --_ui-section-h6: var(--ui-section-h6, 0.85714);\n --_ui-section-dividing-border: var(\n --ui-section-dividing-border,\n var(--ui-border-width) solid var(--ui-border-color)\n );\n --_ui-section-background: var(--ui-section-background, var(--ui-surface));\n --_ui-section-border: var(--ui-section-border, var(--ui-border-width) solid var(--ui-border-color));\n --_ui-section-radius: var(--ui-section-radius, var(--ui-radius));\n --_ui-section-shadow: var(--ui-section-shadow, var(--ui-shadow-subtle));\n --_ui-section-raised-shadow: var(--ui-section-raised-shadow, var(--ui-shadow-floating));\n --_ui-section-colored-width: var(--ui-section-colored-width, 2px);\n --_ui-section-box-padding: var(--ui-section-box-padding, 1em);\n --_ui-section-content-padding: var(--ui-section-content-padding, 0.5em 0 0);\n --_ui-section-padded: var(--ui-section-padded, 1.5em);\n --_ui-section-very-padded: var(--ui-section-very-padded, 3em);\n --_ui-section-badge-background: var(--ui-section-badge-background, var(--ui-surface-strong));\n --_ui-section-badge-color: var(--ui-section-badge-color, var(--ui-text-muted));\n --_ui-section-badge-font-size: var(--ui-section-badge-font-size, 0.75em);\n --_ui-section-subhead-color: var(--ui-section-subhead-color, var(--ui-text-muted));\n --_ui-section-subhead-font-size: var(--ui-section-subhead-font-size, 0.92857em);\n --_ui-section-fold-icon-size: var(--ui-section-fold-icon-size, 0.75em);\n /* the glyph points DOWN: open keeps it so, folded turns it toward the text; a theme can flip the pair\n (`180deg` / `0deg`: up while open, down while folded) */\n --_ui-section-fold-icon-rotate: var(--ui-section-fold-icon-rotate, 0deg);\n --_ui-section-fold-icon-folded-rotate: var(--ui-section-fold-icon-folded-rotate, -90deg);\n --_ui-section-tip-background: var(--ui-section-tip-background, var(--ui-ink));\n --_ui-section-tip-color: var(--ui-section-tip-color, var(--ui-text-inverted-color));\n --_ui-section-tip-width: var(--ui-section-tip-width, 16.25em);\n --_ui-section-z-index: var(--ui-section-z-index, var(--ui-z-sticky));\n --_ui-section-sticky-background: var(--ui-section-sticky-background, var(--ui-surface));\n --_ui-section-stuck-shadow: var(--ui-section-stuck-shadow, var(--ui-shadow-bottom));\n --_ui-section-duration: var(--ui-section-duration, var(--ui-duration-slow));\n --_ui-section-loader-size: var(--ui-section-loader-size, 3em);\n --_ui-section-loader-width: var(--ui-section-loader-width, 0.2em);\n --_ui-section-loader-speed: var(--ui-section-loader-speed, 0.6s);\n --_ui-section-loader-color: var(--ui-section-loader-color, var(--ui-text-muted));\n --_ui-section-loader-track: var(--ui-section-loader-track, oklch(from var(--ui-ink) l c h / 0.1));\n --_ui-section-loader-dimmer: var(--ui-section-loader-dimmer, oklch(from var(--ui-surface) l c h / 0.8));\n --_ui-section-disabled-opacity: var(--ui-section-disabled-opacity, var(--ui-disabled-opacity));\n /* Cap of a `scrolling` section's content; its default grows with the viewport (below):\n a value set from outside wins at every width. */\n --_ui-section-scrolling-height: var(--ui-section-scrolling-height, var(--_section-scrolling-default, 15em));\n }\n\n /* The section box: plain by default; `bordered` / `styled` make it a box. */\n .ui.section {\n box-sizing: border-box;\n display: block;\n /* `--_section-stack-*`: set only inside `<ui-sections collapsing>` (see \"Stacked\") */\n margin-block: var(--_section-stack-top, var(--_section-margin-top, var(--_ui-section-margin)))\n var(--_section-stack-bottom, var(--_section-margin-bottom, var(--_ui-section-margin)));\n margin-inline: 0;\n padding: var(--_section-padding, 0);\n border: var(--_section-border, none);\n border-top-color: var(--_section-accent, var(--ui-color, var(--_section-border-color, transparent)));\n border-radius: var(--_section-radius, 0);\n background: var(--_section-background, none);\n box-shadow:\n inset 0 calc(var(--_section-accent-width, 0px)) 0 0 var(--_section-accent-line, var(--ui-color, transparent)),\n var(--_section-shadow, 0 0 #0000);\n color: var(--ui-text-color);\n font-size: var(--ui-font-size);\n line-height: var(--ui-line-height);\n }\n /* Spacing between neighbours: none before the first, none after the last. */\n .ui.section:first-child {\n --_section-margin-top: 0;\n }\n .ui.section:last-child {\n --_section-margin-bottom: 0;\n }\n /* Shadow DOM: the root is the shadow's only box, so the DOM ELEMENT's position decides. */\n :host(:not(:first-child)) > .ui.section {\n --_section-margin-top: initial;\n }\n :host(:not(:last-child)) > .ui.section {\n --_section-margin-bottom: initial;\n }\n\n /* What the section hands its slotted content: none of its colour remap or scale (see the header). */\n .ui.section slot {\n --ui-color: initial;\n --ui-color-text: initial;\n --ui-color-header: initial;\n --ui-color-border: initial;\n --ui-color-background: initial;\n --ui-color-inverted: initial;\n --ui-color-hover: initial;\n --ui-color-focus: initial;\n --ui-color-down: initial;\n --ui-color-active: initial;\n --ui-color-on: initial;\n --ui-color-inverted-on: initial;\n --ui-scale: initial;\n }\n\n /* The 1px sentinel `sticky` is measured by: no room, never seen. */\n .ui.section > .sentinel {\n display: block;\n height: 1px;\n margin-block-end: -1px;\n visibility: hidden;\n pointer-events: none;\n }\n}\n\n/*******************************\n Sections\n*******************************/\n\n@layer ui.components.section.types {\n /*\n * `<ui-sections>`: a block spaced as one section would be\n * (its first section's top margin and its last one's bottom margin are 0).\n * Plain, it resets the stacking switch,\n * so a plain group inside a collapsing one turns stacking off again for the sections in it.\n */\n .ui.sections {\n --_ui-section-margin: var(--ui-section-margin, 1.5em);\n --_ui-sections-stack: initial;\n box-sizing: border-box;\n display: block;\n margin-block: var(--_sections-margin-top, var(--_ui-section-margin))\n var(--_sections-margin-bottom, var(--_ui-section-margin));\n margin-inline: 0;\n padding: 0;\n }\n .ui.sections:first-child {\n --_sections-margin-top: 0;\n }\n .ui.sections:last-child {\n --_sections-margin-bottom: 0;\n }\n :host(:not(:first-child)) > .ui.sections {\n --_sections-margin-top: initial;\n }\n :host(:not(:last-child)) > .ui.sections {\n --_sections-margin-bottom: initial;\n }\n}\n\n/*******************************\n Content\n*******************************/\n\n@layer ui.components.section.content {\n /* ## Title bar: the heading, then the badge and actions, in a row. */\n .ui.section > .title {\n display: flex;\n align-items: center;\n gap: var(--_ui-section-title-gap);\n margin: 0;\n padding: var(--_section-title-padding, var(--_ui-section-title-padding));\n border-bottom: var(--_section-title-border, none);\n border-bottom-color: var(--_section-title-border-color, var(--ui-color, var(--ui-border-color)));\n border-radius: var(--_section-title-radius, 0);\n background: var(--_section-title-background, none);\n color: var(--ui-color-header, var(--_ui-section-title-color));\n }\n .ui.section > .title > .heading {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n padding: 0;\n font-family: var(--ui-font-family-heading);\n font-size: calc(var(--ui-font-size) * var(--_section-level, var(--_ui-section-h2)));\n font-weight: var(--_ui-section-title-weight);\n line-height: var(--_ui-section-title-line-height);\n color: inherit;\n }\n .ui.section > .title > h1.heading {\n --_section-level: var(--_ui-section-h1);\n }\n .ui.section > .title > h3.heading {\n --_section-level: var(--_ui-section-h3);\n }\n .ui.section > .title > h4.heading {\n --_section-level: var(--_ui-section-h4);\n }\n .ui.section > .title > h5.heading {\n --_section-level: var(--_ui-section-h5);\n }\n .ui.section > .title > h6.heading {\n --_section-level: var(--_ui-section-h6);\n }\n\n /* The toggle fills the heading: a plain box, or a reset `<button>` the whole row clicks. */\n .ui.section > .title > .heading > .toggle {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: var(--_section-title-justify, flex-start);\n gap: var(--_ui-section-title-gap);\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n border-radius: var(--ui-radius-s);\n background: none;\n color: inherit;\n font: inherit;\n letter-spacing: inherit;\n text-align: var(--_section-title-align, start);\n }\n .ui.section > .title > .heading > button.toggle {\n cursor: var(--ui-control-cursor);\n -webkit-tap-highlight-color: transparent;\n }\n /*\n * Keyboard focus rings the WHOLE title line, very lightly rounded, not only the heading's text\n */\n .ui.section > .title > .heading > button.toggle:focus-visible {\n outline: none;\n }\n .ui.section > .title:has(> .heading > button.toggle:focus-visible) {\n outline: var(--ui-focus-width) solid var(--ui-focus-color);\n outline-offset: calc(var(--ui-focus-width) * -1);\n border-radius: 3px;\n }\n .ui.section > .title > .heading > .toggle > .header {\n min-width: 0;\n }\n\n /* Icon: the shorthand's glyph, or a slotted icon. */\n .ui.section > .title > .heading > .toggle > .icon {\n display: inline-flex;\n flex: none;\n align-items: center;\n }\n .ui.section > .title > .heading > .toggle > .icon svg {\n display: block;\n width: auto;\n height: 1em;\n fill: currentColor;\n }\n\n /* Fold chevron: points down while open, turns toward the text while folded.\n By default the two `--ui-section-fold-icon-*rotate` tokens turn it;\n right to left, each turn is negated, so it mirrors. */\n .ui.section > .title > .heading > .toggle > .fold.icon {\n width: var(--_ui-section-fold-icon-size);\n height: var(--_ui-section-fold-icon-size);\n rotate: var(--_ui-section-fold-icon-rotate);\n transition: rotate var(--_ui-section-duration) var(--ui-ease);\n }\n .ui.section > .title > .heading > .toggle > .fold.icon:dir(rtl) {\n rotate: calc(-1 * var(--_ui-section-fold-icon-rotate));\n }\n .ui.section > .title > .heading > .toggle > .fold.icon svg {\n width: 100%;\n height: 100%;\n }\n .ui.section > .title > .heading > .toggle[aria-expanded=\"false\"] > .fold.icon {\n rotate: var(--_ui-section-fold-icon-folded-rotate);\n }\n .ui.section > .title > .heading > .toggle[aria-expanded=\"false\"] > .fold.icon:dir(rtl) {\n rotate: calc(-1 * var(--_ui-section-fold-icon-folded-rotate));\n }\n\n /* End chevron (`fold-icon=\"end\"`): after the badge and actions, at the far end of the bar; turns the same way. */\n .ui.section > .title > .fold.icon {\n display: inline-flex;\n flex: none;\n align-items: center;\n width: var(--_ui-section-fold-icon-size);\n height: var(--_ui-section-fold-icon-size);\n cursor: var(--ui-control-cursor);\n rotate: var(--_ui-section-fold-icon-rotate);\n transition: rotate var(--_ui-section-duration) var(--ui-ease);\n }\n .ui.section > .title > .fold.icon:dir(rtl) {\n rotate: calc(-1 * var(--_ui-section-fold-icon-rotate));\n }\n .ui.section > .title > .fold.icon svg {\n display: block;\n width: 100%;\n height: 100%;\n fill: currentColor;\n }\n .ui.section > .title:has(> .heading > .toggle[aria-expanded=\"false\"]) > .fold.icon {\n rotate: var(--_ui-section-fold-icon-folded-rotate);\n }\n .ui.section > .title:has(> .heading > .toggle[aria-expanded=\"false\"]) > .fold.icon:dir(rtl) {\n rotate: calc(-1 * var(--_ui-section-fold-icon-folded-rotate));\n }\n\n /* ## Description tip (`description`): a bubble under the bar's start edge, on hover of the heading / end chevron, or focus. */\n .ui.section > .title:has(> .tip) {\n position: relative;\n }\n .ui.section > .title > .tip {\n position: absolute;\n inset-block-start: calc(100% + 0.5em);\n inset-inline-start: 0;\n z-index: var(--ui-z-popup);\n box-sizing: border-box;\n width: max-content;\n max-width: min(var(--_ui-section-tip-width), 100vw);\n padding: 0.75em 1em;\n border-radius: var(--ui-radius);\n background: var(--_ui-section-tip-background);\n box-shadow: var(--ui-shadow-floating);\n color: var(--_ui-section-tip-color);\n font-family: var(--ui-font-family);\n font-size: 0.875em;\n font-weight: var(--ui-font-weight-normal);\n letter-spacing: normal;\n line-height: 1.4;\n text-align: start;\n text-transform: none;\n white-space: normal;\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n transition:\n opacity var(--ui-duration-fast) var(--ui-ease),\n visibility var(--ui-duration-fast);\n }\n .ui.section > .title > :is(.heading:hover, .heading:has(:focus-visible), .fold.icon:hover) ~ .tip {\n opacity: 1;\n visibility: visible;\n }\n /* a hover waits; keyboard focus shows it at once */\n .ui.section > .title > :is(.heading:hover, .fold.icon:hover) ~ .tip {\n transition-delay: var(--ui-hover-delay, 0s);\n }\n .ui.section > .title > .heading:has(:focus-visible) ~ .tip {\n transition-delay: 0s;\n }\n /* In the top layer while it shows (`TopLayerTip`): under the bar's start edge, flipping to stay in the window. */\n .ui.section > .title:has(> .tip) {\n anchor-name: --ui-section-title;\n }\n .ui.section > .title > .tip:popover-open {\n position: fixed;\n position-anchor: --ui-section-title;\n position-area: block-end span-inline-end;\n position-try-fallbacks:\n flip-block,\n flip-inline,\n flip-block flip-inline;\n inset: auto;\n max-width: min(var(--_ui-section-tip-width), calc(100vw - 1em));\n height: fit-content;\n margin: 0.5em 0;\n border: 0;\n overflow: visible;\n }\n .ui.section > .title > :is(.heading:hover, .heading:has(:focus-visible), .fold.icon:hover) ~ .tip:popover-open {\n @starting-style {\n opacity: 0;\n visibility: hidden;\n }\n }\n\n /* Badge: a small pill after the heading. */\n .ui.section > .title > .badge {\n display: inline-flex;\n flex: none;\n align-items: center;\n padding: 0.25em 0.625em;\n border-radius: var(--ui-radius-pill);\n background: var(--_ui-section-badge-background);\n color: var(--_ui-section-badge-color);\n font-size: var(--_ui-section-badge-font-size);\n font-weight: var(--ui-font-weight-bold);\n line-height: 1;\n white-space: nowrap;\n }\n\n /* Actions: at the far end of the title bar. */\n .ui.section > .title > .actions {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25em;\n margin-inline-start: auto;\n color: var(--ui-text-color);\n }\n\n /* ## Subhead: smaller text under the title; never sticks. */\n .ui.section > .subhead {\n margin: 0;\n padding: var(--_section-subhead-padding, 0.25em 0 0);\n color: var(--_ui-section-subhead-color);\n font-size: var(--_ui-section-subhead-font-size);\n }\n\n /* ## Content: `size` scales it (and only it). */\n .ui.section > .content {\n box-sizing: border-box;\n padding: var(--_section-content-padding, var(--_ui-section-content-padding));\n font-size: calc(1em * var(--ui-scale, 1));\n }\n /* Folded (`hidden=\"until-found\"` keeps the box, sized by containment): no padding or border shows. */\n .ui.section > .content[hidden] {\n block-size: 0;\n padding-block: 0;\n border-block-width: 0;\n overflow-y: clip;\n }\n /* Edge margins of the content don't add to its padding. */\n .ui.section > .content > :first-child,\n .ui.section > .content > ::slotted(:first-child) {\n margin-top: 0;\n }\n .ui.section > .content > :last-child,\n .ui.section > .content > ::slotted(:last-child) {\n margin-bottom: 0;\n }\n}\n\n/*******************************\n Variations\n*******************************/\n\n@layer ui.components.section.variations {\n /* ## Dividing: a rule under the title (in the colour, when coloured). */\n .ui.dividing.section {\n --_section-title-border: var(--_ui-section-dividing-border);\n }\n\n /* ## Block: the title bar in a tinted box. */\n .ui.block.section {\n --_section-title-background: var(--_ui-section-title-background);\n --_section-title-padding: 0.5em 1em;\n --_section-title-radius: var(--_ui-section-radius);\n }\n\n /* ## Bordered: a box around the section, as a segment; its top edge takes the colour. */\n .ui.bordered.section {\n --_section-border: var(--_ui-section-border);\n --_section-radius: var(--_ui-section-radius);\n --_section-background: var(--_ui-section-background);\n --_section-shadow: var(--_ui-section-shadow);\n --_section-padding: var(--_ui-section-box-padding);\n --_section-accent-width: calc(var(--_ui-section-colored-width) - var(--ui-border-width));\n --_section-border-color: var(--ui-border-color);\n }\n\n /* ## Styled: boxed as a styled accordion -- a tinted title bar over padded content. */\n .ui.styled.section {\n --_section-border: var(--_ui-section-border);\n --_section-radius: var(--_ui-section-radius);\n --_section-background: var(--_ui-section-background);\n --_section-shadow: var(--_ui-section-shadow);\n --_section-accent-width: calc(var(--_ui-section-colored-width) - var(--ui-border-width));\n --_section-border-color: var(--ui-border-color);\n --_section-title-background: var(--_ui-section-title-background);\n --_section-title-padding: 0.75em 1em;\n --_section-title-border: var(--ui-border-width) solid;\n --_section-title-border-color: var(--ui-border-color);\n --_section-title-radius: var(--_ui-section-radius) var(--_ui-section-radius) 0 0;\n --_section-subhead-padding: 0.5em 1em 0;\n --_section-content-padding: 0.5em 1em 1em;\n }\n\n /*\n * ## Collapsing group (`<ui-sections collapsing>`): the stacking switch every section below reads,\n * at any depth (it inherits through slots): the margin between stacked sections.\n */\n .ui.collapsing.sections {\n --_ui-sections-stack: 0px;\n }\n\n /* ## Raised: a box lifted with a shadow. */\n .ui.raised:is(.bordered, .styled).section {\n --_section-shadow: var(--_ui-section-raised-shadow);\n }\n\n /* ## Compact: less padding around the title and in the content. */\n .ui.compact.section {\n --_section-title-padding: 0.125em 0;\n --_section-content-padding: 0.25em 0 0;\n }\n .ui.compact.block.section {\n --_section-title-padding: 0.25em 0.625em;\n }\n .ui.compact.bordered.section {\n --_section-padding: 0.5em;\n }\n .ui.compact.styled.section {\n --_section-title-padding: 0.375em 0.625em;\n --_section-subhead-padding: 0.25em 0.625em 0;\n --_section-content-padding: 0.25em 0.625em 0.5em;\n }\n\n /* ## Padded / very padded content. */\n .ui.padded.section {\n --_section-content-padding: var(--_ui-section-padded);\n }\n .ui[class*=\"very padded\"].section {\n --_section-content-padding: var(--_ui-section-very-padded);\n }\n\n /* ## Attached: a box joined edge to edge with the box above / below. */\n .ui.attached.section {\n --_section-margin-top: 0;\n --_section-margin-bottom: 0;\n --_section-radius: 0;\n }\n .ui.attached.section:not(.top) {\n border-top-width: 0;\n }\n .ui[class*=\"top attached\"].section {\n --_section-margin-top: var(--_ui-section-margin);\n --_section-radius: var(--_ui-section-radius) var(--_ui-section-radius) 0 0;\n }\n .ui[class*=\"top attached\"].section:first-child {\n --_section-margin-top: 0;\n }\n :host(:first-child) > .ui[class*=\"top attached\"].section {\n --_section-margin-top: 0;\n }\n .ui[class*=\"bottom attached\"].section {\n --_section-margin-bottom: var(--_ui-section-margin);\n --_section-radius: 0 0 var(--_ui-section-radius) var(--_ui-section-radius);\n }\n .ui[class*=\"bottom attached\"].section:last-child {\n --_section-margin-bottom: 0;\n }\n :host(:last-child) > .ui[class*=\"bottom attached\"].section {\n --_section-margin-bottom: 0;\n }\n\n /*\n * ## Stacked: in `<ui-sections collapsing>`, a run of folded titles reads as one accordion.\n * - Its inherited `--_ui-sections-stack` turns this on; unset elsewhere, so none of this applies.\n * - A FOLDABLE section starts flush under the one above, and a FOLDED one keeps no space below.\n * - An open one keeps its usual space below its content, never above its title,\n * so a title never moves when it's clicked.\n * - Boxes (`bordered`, `styled`) overlap their edges by the border width, so two never draw a doubled line;\n * not `attached` ones, which join already.\n */\n .ui.section:has(> .title > .heading > button.toggle) {\n --_section-stack-top: var(--_ui-sections-stack);\n }\n .ui.section:has(> .content[hidden]) {\n --_section-stack-bottom: var(--_ui-sections-stack);\n }\n .ui:is(.bordered, .styled):not(.basic, .attached).section:not(:first-child):has(> .title > .heading > button.toggle),\n :host(:not(:first-child))\n > .ui:is(.bordered, .styled):not(.basic, .attached).section:has(> .title > .heading > button.toggle) {\n --_section-stack-top: calc(var(--_ui-sections-stack) - var(--ui-border-width));\n }\n\n /* ## Scrolling: the content has a capped height (per breakpoint, `short` ... `very long`, or `height`). */\n .ui.scrolling.section > .content {\n --_section-scroll: var(\n --_ui-section-height,\n calc(var(--_ui-section-scrolling-height) * var(--_section-scroll-ratio, 1))\n );\n max-height: var(--_section-scroll);\n overflow: auto;\n overscroll-behavior: contain;\n }\n .ui.scrolling.section > .content:focus-visible {\n outline: var(--ui-focus-width) solid var(--ui-focus-color);\n outline-offset: calc(var(--ui-focus-width) * -1);\n }\n .ui.short.scrolling.section {\n --_section-scroll-ratio: 0.75;\n }\n .ui[class*=\"very short scrolling\"].section {\n --_section-scroll-ratio: 0.5;\n }\n .ui.long.scrolling.section {\n --_section-scroll-ratio: 2;\n }\n .ui[class*=\"very long scrolling\"].section {\n --_section-scroll-ratio: 3;\n }\n @media (--ui-tablet), (--ui-computer) {\n .ui.scrolling.section {\n --_section-scrolling-default: 18em;\n }\n }\n @media (--ui-computer) {\n .ui.scrolling.section {\n --_section-scrolling-default: 24em;\n }\n }\n @media (--ui-widescreen) {\n .ui.scrolling.section {\n --_section-scrolling-default: 30em;\n }\n }\n\n /* ## Text alignment: the TITLE only. */\n .ui.left.aligned.section {\n --_section-title-justify: flex-start;\n --_section-title-align: start;\n }\n .ui.center.aligned.section {\n --_section-title-justify: center;\n --_section-title-align: center;\n }\n .ui.right.aligned.section {\n --_section-title-justify: flex-end;\n --_section-title-align: end;\n }\n\n /* ## Inverted: the dark scheme; every `light-dark()` token (text, surface, border) follows. */\n .ui.inverted.section {\n --ui-inverted: 1;\n --ui-scheme: dark;\n color-scheme: dark;\n }\n\n /*\n * ## Sticky: the title bar sticks within the section box, at the stack top (inline `--_ui-section-top`);\n * deeper titles stack lower (inline `--_ui-section-depth`), so they slide under their parents'.\n * - The content is its own stacking context,\n * so nothing in it (a step's arrow, a table's stuck header, a nested section's title)\n * can climb over the stuck title, whatever its `z-index`.\n * - So the title only has to beat 0: it never goes below 1,\n * however low a page sets `--ui-section-z-index` (the docs: 4) or however deep it nests.\n * - Popups and dialogs inside still show above it: they open in the top layer.\n */\n .ui.sticky.section > .title {\n position: sticky;\n top: var(--_ui-section-top, 0px);\n z-index: max(1, calc(var(--_ui-section-z-index) - var(--_ui-section-depth, 0)));\n background: var(--_section-title-background, var(--_ui-section-sticky-background));\n }\n .ui.sticky.section > .content {\n isolation: isolate;\n }\n\n /*\n * ## Stack (`sticky=\"stack\"`, the class words `stack sticky`; or a plain `sticky` that joins one,\n * `:state(stacked)`): the titles one stack of rounded bars with a slight shadow, as the\n * docs pages' sections\n * - each bar reaches past the content: a top-level one `--ui-section-stack-reach` (each side: `-start`, `-end`),\n * each level `--ui-section-stack-step` less (never less than 0); its words stay where they were, its padding\n * giving the reach back\n * - round by `--ui-section-stack-radius` (default: the theme's medium radius); how a bar sits among its neighbours\n * is in \"States\" (tucked, stuck, a group of closed ones)\n * - its fill is the sticky title's (`--ui-section-sticky-background`), or the page's\n */\n .ui.stack.sticky.section > .title,\n :host(:state(stacked)) .ui.sticky.section > .title {\n --_stack-reach-start: max(\n 0px,\n calc(\n var(--ui-section-stack-reach-start, var(--ui-section-stack-reach, 24px)) - var(--ui-section-stack-step, 12px) *\n var(--_ui-section-depth, 0)\n )\n );\n --_stack-reach-end: max(\n 0px,\n calc(\n var(--ui-section-stack-reach-end, var(--ui-section-stack-reach, 24px)) - var(--ui-section-stack-step, 12px) *\n var(--_ui-section-depth, 0)\n )\n );\n margin-inline: calc(-1 * var(--_stack-reach-start)) calc(-1 * var(--_stack-reach-end));\n padding-block: 0.4em;\n padding-inline: var(--_stack-reach-start) var(--_stack-reach-end);\n border-radius: var(--ui-section-stack-radius, var(--ui-radius-m));\n box-shadow: 0 1px 0 light-dark(rgb(40 30 90 / 0.08), rgb(0 0 0 / 0.45));\n }\n\n /*\n * ## Drawer (`appearance=\"drawer\"`): the title a raised bar, the content a tinted panel attached under it, which\n * rolls open and closed (`:state(animated)`), as an example's code under its demo (`<ui-example>`)\n */\n .ui.drawer.section > .title {\n position: relative;\n z-index: 1;\n padding: 0.5em 0.75em;\n border-radius: var(--_ui-section-drawer-radius);\n background: var(--ui-section-drawer-title-background, var(--ui-surface));\n box-shadow:\n 0 1px 0 var(--ui-border-color),\n 0 6px 12px -8px oklch(0 0 0 / 0.25);\n }\n /* open: its content attached under it, square below */\n .ui.drawer.section:not(:has(> .content[hidden])) > .title {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n .ui.drawer.section > .content {\n margin-inline: var(--ui-section-drawer-inset, 0.5em);\n padding: 0.75em 1em 0.5em;\n border-radius: 0 0 var(--_ui-section-drawer-radius) var(--_ui-section-drawer-radius);\n background: var(--ui-section-drawer-background, color-mix(in oklab, var(--ui-text-color) 3%, transparent));\n }\n .ui.drawer.section {\n --_ui-section-drawer-radius: var(--ui-section-drawer-radius, var(--ui-radius-l));\n }\n\n /* ## Basic: no box, rule or tint, whatever else is set (last, so it wins over the looks above). */\n .ui.basic.section {\n --_section-border: none;\n --_section-radius: 0;\n --_section-background: none;\n --_section-shadow: 0 0 #0000;\n --_section-padding: 0;\n --_section-accent-width: 0px;\n --_section-title-border: none;\n --_section-title-background: none;\n --_section-title-radius: 0;\n --_section-title-padding: var(--_ui-section-title-padding);\n --_section-subhead-padding: 0.25em 0 0;\n --_section-content-padding: var(--_ui-section-content-padding);\n }\n .ui.basic.sticky.section > .title {\n background: var(--_ui-section-sticky-background);\n }\n}\n\n/*******************************\n States\n*******************************/\n\n@layer ui.components.section.states {\n /* Stuck (the element's `:state(stuck)`): a shadow under the title, over the content sliding beneath. */\n :host(:state(stuck)) .ui.sticky.section > .title {\n box-shadow: var(--_ui-section-stuck-shadow);\n }\n\n /*\n * A stack's bars among their neighbours (`sticky=\"stack\"`; the component finds them, past any wrappers)\n * - stuck, a bar keeps its own slight shadow; stuck under its parent's, square on top and a heavy round below\n * (`--ui-section-stack-stuck-radius`, default the theme's large radius), not its own radius\n * - `tucked`: a section's first nested title sits right under its own, square on top; the parent (`tucks`) keeps\n * no room above it\n * - closed: no room below; `after-closed`: no room above; closed ones one after another are ONE group, round\n * only at its top and bottom (`joins-above`, `joins-below`)\n */\n :host(:state(stacked):state(stuck)) .ui.sticky.section > .title {\n box-shadow: 0 1px 0 light-dark(rgb(40 30 90 / 0.08), rgb(0 0 0 / 0.45));\n }\n :host(:state(stacked):state(nested):state(stuck)) .ui.sticky.section > .title {\n border-radius: 0 0 var(--ui-section-stack-stuck-radius, var(--ui-radius-l))\n var(--ui-section-stack-stuck-radius, var(--ui-radius-l));\n }\n :host(:state(tucked)) .ui.section {\n margin-block-start: 0;\n }\n :host(:state(tucked)) .ui.section > .title,\n :host(:state(joins-above)) .ui.section > .title {\n border-start-start-radius: 0;\n border-start-end-radius: 0;\n }\n :host(:state(joins-below)) .ui.section > .title {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n :host(:state(tucks)) .ui.section > .content {\n padding-block-start: 0;\n }\n :host(:state(stacked):state(collapsed)) .ui.section {\n margin-block: 0;\n }\n :host(:state(after-closed)) .ui.section {\n margin-block-start: 0;\n }\n\n /* Disabled: dimmed and inert. */\n .ui.disabled.section {\n opacity: var(--_ui-section-disabled-opacity);\n color: var(--ui-text-disabled);\n pointer-events: none;\n user-select: none;\n }\n .ui.disabled.section > .title > .heading > button.toggle {\n cursor: default;\n }\n\n /* Loading: a dimmer over the content and a spinner in the middle. */\n .ui.loading.section > .content {\n position: relative;\n min-height: calc(var(--_ui-section-loader-size) * 1.5);\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n .ui.loading.section > .content::before {\n content: \"\";\n position: absolute;\n inset: 0;\n z-index: 100;\n display: block;\n border-radius: inherit;\n background: var(--_ui-section-loader-dimmer);\n }\n .ui.loading.section > .content::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 101;\n display: block;\n width: var(--_ui-section-loader-size);\n height: var(--_ui-section-loader-size);\n margin: calc(var(--_ui-section-loader-size) / -2) 0 0 calc(var(--_ui-section-loader-size) / -2);\n box-sizing: border-box;\n border: var(--_ui-section-loader-width) solid var(--_ui-section-loader-track);\n border-top-color: var(--_ui-section-loader-color);\n border-radius: var(--ui-radius-circle);\n animation: ui-section-spin var(--_ui-section-loader-speed) linear infinite;\n }\n .ui.loading.section > .content[hidden] {\n min-height: 0;\n }\n\n /* A `source` body that failed: one line in the content, above the placeholder. */\n .ui.section > .content > .source.error {\n margin: 0 0 1em;\n color: var(--ui-negative-text);\n }\n\n /* Animated (`:state(animated)`: the browser can grow to `auto`): content folds and unfolds by height. */\n @media (prefers-reduced-motion: no-preference) {\n :host(:state(animated)) .ui.section {\n interpolate-size: allow-keywords;\n }\n :host(:state(animated)) .ui.section > .content {\n transition:\n block-size var(--_ui-section-duration) var(--ui-ease-out),\n padding-block var(--_ui-section-duration) var(--ui-ease-out),\n content-visibility var(--_ui-section-duration) allow-discrete;\n }\n :host(:state(animated)) .ui.section:not(.scrolling) > .content {\n overflow-y: clip;\n }\n }\n @media (prefers-reduced-motion: reduce) {\n .ui.section > .title > .heading > .toggle > .fold.icon,\n .ui.section > .title > .fold.icon,\n .ui.section > .title > .tip {\n transition: none;\n }\n }\n}\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { sectionsVocabulary } from \"./UISections.en\"\nimport { sectionVocabulary } from \"./UISection.en\"\n\nimport sectionCSS from \"./UISection.css?inline\"\n\n/****************\n * ### `UISections`\n * The component behind `<ui-sections>`: a run of sections, spaced as one section would be.\n *\n * - Its shadow DOM is one box around a slot: `<div class=\"ui … sections\" part=\"group\"><slot></slot></div>`.\n * - Plain, it changes nothing in its sections.\n * - `collapsing`: every `<ui-section>` under it, sub-sections at any depth included, folds by default.\n * - A section's own `collapsible` attribute wins, `\"false\"` included.\n * - Each section reads `collapsing` from its NEAREST group (`UISection.group`),\n * so a plain `<ui-sections>` nested inside turns the default off again.\n * - The spacing is CSS: `UISection.css` hands the stacking down to the sections\n * through the inherited `--_ui-sections-stack` switch, which a nested plain group resets.\n * - It owns `section` parts (`ownsParts`), so a section's `PartContext` stops here.\n * Its own `context` finds the section (or group) around it,\n * which `UISection.enclosingSection` climbs to, so levels and sticky stacks carry through.\n ****************/\nexport class UISections extends E.UIComponent<typeof sectionsVocabulary> {\n @E.proto static vocabulary = sectionsVocabulary\n @E.protoMerged static elementSetup = { styleSheets: { section: sectionCSS } } satisfies Partial<E.ElementSetup>\n\n /** Enclosing section or group (`:state(in-section)` / `:state(in-sections)`); climbs through any component. */\n readonly context = new E.PartContext({\n domElement: this.domElement,\n noun: sectionVocabulary.noun,\n barrier: E.PartContext.noBarrier\n })\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISections extends E.AttributeValues<typeof sectionsVocabulary> {}\n","/**\n * The types and constants of the section family that `<ui-section>` and `<ui-panel>` share.\n * - `UIPanel` extends `UISection`, and reuses its vocabulary type and its chevron places.\n * - Pure data: `import type` only, so node can load it (`yarn site:data`).\n * - A constant only `UISection` reads sits below that class, in `UISection.tsx`.\n */\n\nimport type { sectionVocabulary } from \"./UISection.en\"\n\n/** `<ui-section>`'s vocabulary type, for brevity (`<ui-panel>` reuses it). */\nexport type SectionVocabulary = typeof sectionVocabulary\n\n////////////////\n// ## Folding\n////////////////\n\n/**\n * `fold-icon`'s values: the chevron before the title (`start`, inside the fold button), or at the far end of the\n * title bar (`end`, after the badge and actions).\n */\nexport const FoldIconPlace = { start: \"start\", end: \"end\" } as const\n/** One of `FoldIconPlace`'s values, e.g. `\"end\"`. */\nexport type FoldIconPlace = (typeof FoldIconPlace)[keyof typeof FoldIconPlace]\n","import { Show } from \"solid-js\"\nimport { Dynamic, isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { sectionVocabulary } from \"./UISection.en\"\nimport { UISections } from \"./UISections\"\nimport { FoldIconPlace, type SectionVocabulary } from \"./UISection.types\"\n\nimport sectionCSS from \"./UISection.css?inline\"\n\n/****************\n * ### `UISection`\n * The component behind `<ui-section>`: a titled block of content that can fold away,\n * and keep its title in view while you scroll through it.\n *\n * - Its shadow DOM: `<section class=\"ui … section\" part=\"section\">` holding\n * - a 1px sentinel, which tells when the title has stuck\n * - the title bar, `<header class=\"title\">`:\n * the heading (`<hN>`) around the toggle (fold chevron, icon, label),\n * then the badge, the actions, a chevron at the end, and the description's tip\n * - the hint, then `<div class=\"content\">` around the default slot.\n * - A wrapper that would be empty (icon, badge, actions, hint, tip) isn't drawn:\n * `SlotContent` watches the light children.\n *\n * - *Level*: `level`, else the enclosing section's level + 1 (at most `h6`), else 2.\n * - The enclosing section is found through `PartContext` with no barriers,\n * so a section in a segment in a section still nests.\n * - `parent=\"<id>\"`: written outside the section (or group) it belongs in, it moves in (`ParentLink`).\n * - Its level, depth and sticky stack are read from the enclosing section's component,\n * so they follow its attributes, and a move to another section.\n *\n * - *Folding* (`collapsible`): the toggle becomes a `<button>`; its `disclosure` (the kit's `Disclosure`) folds.\n * - Its accessible name is the label; its `title` (the `fold` / `unfold` text) is only a tooltip.\n * - Click, Enter and Space send the cancelable `ui-opening` / `ui-closing`,\n * then flip `open` (controlled, like the accordion's).\n * - Once it has folded or unfolded, by any route: `ui-closed` / `ui-opened`.\n * - Folded content is `hidden=\"until-found\"`, so find-in-page can reveal a match:\n * `beforematch` unfolds it, and announces `ui-opening` after the fact (not cancelable).\n * - Not collapsible: `open` is ignored.\n * - `fold-icon=\"end\"` moves the chevron out of the button, to the far end of the title bar.\n * - It stays `aria-hidden` (the button is still the control), and a click on it folds as the button does.\n * - A subclass moves the default with `defaultFoldIcon` (`<ui-panel>`: `end`).\n * - *Groups*: without its own `collapsible` attribute,\n * a section folds when its nearest `<ui-sections>` is `collapsing`\n * (around it, or around an enclosing section).\n * - The group owns `section` parts too, so `enclosingSection` climbs through it.\n *\n * - `description` / `slot=\"description\"`: a tooltip under the title bar (`role=\"tooltip\"`),\n * in the browser's top layer so no parent frame cuts it off (`TopLayerTip`).\n * - Shown while the pointer is on the heading or the end chevron, or the fold button has keyboard focus.\n * - It describes the fold button (`aria-describedby`), else the heading.\n *\n * - *Sticky*: the title bar is `position: sticky` inside the section's box,\n * at the top-level `offset`, or just below the enclosing sticky titles: so nested titles stack.\n * - A `scrolling` / `height` section's content is its own scroll box: a fresh stack starts there.\n * - `StickyWatch` sets `:state(stuck)`, and reserves the title's room for Page Down, as `<ui-sticky>` does.\n *\n * - *Stack* (`sticky=\"stack\"`, or `sticky` right inside a stacked section, plain wrappers aside): the titles read as one stack of rounded bars\n * (`:state(stacked)`), the look is the sheet's; what it needs to know of its neighbours, the component works out:\n * - `tucked`: the first thing in its enclosing section (nothing drawn before it, wrappers aside), so its title sits\n * right under that section's, square on top; the enclosing one `tucks`\n * - `after-closed`: right after a closed section, nothing between; closed too, `joins-above`; the closed one\n * before it, `joins-below`: closed sections one after another are ONE group, round only at its ends\n * - a section knows what's before it; what's after it (and its first nested one) it hears from them:\n * `isFollowedByClosed`, `hasTuckedFirst`, which they set\n * - Its neighbours are found in the enclosing section's light DOM, past any wrappers (a notebook's cells):\n * `stackPlaces`, recomputed as that DOM changes. A top-level section's neighbour is its element sibling.\n *\n * - *Source* (`source`, `select`): the content comes from a file the first time the section unfolds, by any route:\n * - a click\n * - the page setting `open` (a `#id` link)\n * - starting unfolded (then at once)\n * - `LoadableBody` fetches it (`UI.sources`),\n * and puts its `<body>` in the LIGHT DOM, in place of the placeholder (the children without a `slot`).\n * - While it's on its way, the content box stays hidden (`isVeiled`) for at most `SOURCE_BODY_HOLD_MS`,\n * then shows the `loading` look over the placeholder.\n * So an unfold shows the body, not the placeholder.\n * - The DOM element (`DOMLoadableBodyElement`) has `load()` / `reload()`, and states `loaded` and `error`.\n * - In the class, not the vocabulary: a subclass (`<ui-panel>`) gets it with the vocabulary it reuses.\n *\n * - `disabled`: unusable, the base class's way (`elementSetup.disabled`):\n * - faded, everything in it inert (its fold button too), `aria-disabled`\n * - `toggle()` does nothing\n *\n * - SIDE EFFECTS:\n * - with `sticky`: a `ResizeObserver` keeps the title's height (`titleHeight`) for the stack,\n * and `StickyWatch` writes the scroll container's inline `scroll-padding-top` while stuck\n * - with `source`: replaces its own light children (the placeholder) with the file's body.\n *\n * - Its words match `<ui-field>`'s (epic `property-editor` P10, decision Q12): `label` / `hint` / `description`,\n * `ui-opening` / `ui-closing`. The old ones (`header`, `subhead`, `info`, `ui-opening` ...) went in epic\n * `repo-split` P14 (Q45).\n ****************/\nexport class UISection extends E.UIComponent<SectionVocabulary> {\n @E.proto static vocabulary = sectionVocabulary\n @E.protoMerged static elementSetup: Partial<E.ElementSetup> = {\n styleSheets: { section: sectionCSS },\n cssStates: [\"inverted\"],\n DOMElement: E.DOMLoadableBodyElement,\n // a container: a click on its text must not jump to the fold button or a link inside\n delegatesFocus: false,\n // `loading`: Fomantic's veil\n loading: \"its own\"\n }\n @E.proto static defaultFoldIcon: FoldIconPlace = FoldIconPlace.start\n\n /** Where the fold chevron sits without a `fold-icon` attribute: `start`; a subclass may move it. */\n declare defaultFoldIcon: FoldIconPlace\n\n ////////////////\n // ## Nesting\n ////////////////\n\n /** Enclosing section, when nested (`:state(nested)`); climbs through any other component. */\n readonly context = new E.PartContext({\n domElement: this.domElement,\n noun: this.vocabulary.noun,\n barrier: E.PartContext.noBarrier\n })\n\n /**\n * Enclosing section's component, or `undefined` at the top (or before it has one).\n * - Climbs through `<ui-sections>` groups (owners of `section` parts too):\n * a section in a group in a section is still nested.\n */\n @E.derived\n get enclosingSection(): UISection | undefined {\n let owner = this.context.ownerComponent<UISection | UISections>()\n while (owner instanceof UISections) owner = owner.context.ownerComponent<UISection | UISections>()\n return owner instanceof UISection ? owner : undefined\n }\n\n /** Nearest `<ui-sections>` group's component, directly or through enclosing sections, or `undefined`. */\n get group(): UISections | undefined {\n const owner = this.context.ownerComponent<UISection | UISections>()\n if (owner instanceof UISections) return owner\n return owner instanceof UISection ? owner.group : undefined\n }\n\n /** Inside another section, through any group (`:state(nested)`; the part's own `in-section` counts only a direct one). */\n @E.cssState(\"nested\")\n get isNested(): boolean {\n return !!this.enclosingSection\n }\n\n /** Directly in a `<ui-sections>` group (`:state(in-group)`; also the part's own `in-sections`). */\n @E.cssState(\"in-group\")\n get isInGroup(): boolean {\n return this.context.ownerComponent<UISection | UISections>() instanceof UISections\n }\n\n /** Heading level, 1 ... 6. */\n get headingLevel(): number {\n const own = Number(this.level)\n if (Number.isInteger(own) && own >= 1 && own <= MAX_LEVEL) return own\n const parent = this.enclosingSection\n return parent ? Math.min(parent.headingLevel + 1, MAX_LEVEL) : TOP_LEVEL\n }\n\n /** Nesting depth: 0 at the top. */\n get depth(): number {\n const parent = this.enclosingSection\n return parent ? parent.depth + 1 : 0\n }\n\n ////////////////\n // ## Folding\n ////////////////\n\n /**\n * `open`: the DOM element's (a boolean is always the DOM element's, see `@controlled`); `false` folds it.\n * - Folds only `isCollapsible`.\n * - Its old name was `collapsed`, turned round (epic `ui-gaps` J13).\n */\n @E.controlled(\"open\") accessor isMarkedOpen = true\n\n /**\n * Can it fold?\n * - The DOM element's own `collapsible` when written (`collapsible=\"false\"` opts out),\n * else the nearest group's `collapsing`.\n * - Reads the attribute raw: its getter reads absent and `\"false\"` alike (false),\n * but only absent takes the group's default.\n * - NOTE: a PROPERTY write of `false` removes the attribute (booleans never reflect as `\"false\"`),\n * which brings the group's default back.\n * Opt out from code with `setAttribute(\"collapsible\", \"false\")`.\n */\n get isCollapsible(): boolean {\n const own = this.attributes.collapsible\n if (own !== null) return E.Converters.boolean(own, this.elementDefinition.attribute(\"collapsible\").attribute)\n return !!this.collapsible || !!this.group?.collapsing\n }\n\n /** Folded: `isCollapsible`, and `open` turned off. */\n @E.cssState(\"collapsed\")\n get isFolded(): boolean {\n return this.isCollapsible && !this.isMarkedOpen\n }\n\n /** Glyph of the fold button, while `isCollapsible`. */\n readonly foldGlyph = new E.IconGlyph({ owner: this, name: () => (this.isCollapsible ? FOLD_ICON : undefined) })\n\n /** The fold chevron sits at the far end of the title bar: `fold-icon`, else the class's `defaultFoldIcon`. */\n get foldIconIsAtEnd(): boolean {\n return (this.foldIcon ?? this.defaultFoldIcon) === FoldIconPlace.end\n }\n\n /**\n * Open unless folded, on `open` (`isMarkedOpen`):\n * the cancelable `ui-opening` / `ui-closing`, then `ui-opened` / `ui-closed` (`onFoldedChanged()`);\n * the toggle's `aria-expanded`; find-in-page opening the folded content.\n * - Folds only `isCollapsible`, and never while `disabled`.\n */\n readonly disclosure = new E.Disclosure({\n component: this,\n member: \"isMarkedOpen\",\n isOpen: () => !this.isFolded,\n canChange: () => this.isCollapsible && !this.isDisabled,\n detail: (open, originalEvent): UIT.SectionToggleDetail => ({ open, section: this.domElement, originalEvent }),\n afterDetail: (open): UIT.SectionToggleDetail => ({ open, section: this.domElement })\n })\n\n /**\n * Fold or unfold as a person would:\n * the cancelable `ui-opening` / `ui-closing` first, then `open`.\n * - True when applied.\n * - Does nothing unless `collapsible`, or while `disabled`.\n */\n toggle(originalEvent?: Event): boolean {\n return this.disclosure.toggle(originalEvent)\n }\n\n /**\n * More for the fold button's tooltip, on a line of its own after `Open this section`: a component that draws the\n * section sets it (the epic page's blocks: `⌥-click: open everything inside`).\n * - a property, not an attribute: nothing a page writes\n */\n @E.state accessor toggleTipMore: string | undefined = undefined\n\n /** The fold button's tooltip: `Open this section` / `Close this section`, then `toggleTipMore`. */\n get toggleTip(): string {\n const tip = this.translationForKey(this.isFolded ? \"openSection\" : \"closeSection\")\n return this.toggleTipMore ? `${tip}\\n${this.toggleTipMore}` : tip\n }\n\n /** A click on the toggle (Enter / Space on the button click it too). */\n private readonly onToggleClick = (event: MouseEvent) => {\n // a link or control inside a rich `slot=\"label\"` title acts on its own, as in an accordion's title\n if (E.OwnControls.isClicked(event, { before: TOGGLE_BUTTON })) return\n this.toggle(event)\n }\n\n /** A click on the END chevron, outside the button: folds as the button does. */\n private readonly onFoldIconClick = (event: MouseEvent) => {\n this.toggle(event)\n }\n\n /** Folded or unfolded, by any route: `ui-closed` / `ui-opened` -- not at the start. */\n @E.onChange(\"isFolded\", { defer: true })\n protected onFoldedChanged(isFolded: boolean) {\n this.disclosure.sendAfter(!isFolded)\n }\n\n ////////////////\n // ## The sticky title\n ////////////////\n\n /** Title bar's height in pixels, while `sticky` (for the stack below it). */\n @E.state accessor titleHeight = 0\n\n /** Title bar is stuck. */\n @E.state accessor isStuck = false\n\n /** Stuck, and `sticky`. */\n @E.cssState(\"stuck\")\n get titleIsStuck(): boolean {\n return !!this.sticky && this.isStuck\n }\n\n /** The title bar. */\n private title?: HTMLElement\n\n /** Sentinel where the title bar's top would be, unstuck. */\n private sentinel?: HTMLDivElement\n\n /** Observes the stuck title and reserves its room. */\n private readonly stickyWatch = new E.StickyWatch(({ edge }) => (this.isStuck = edge !== undefined))\n\n /** Pixels from the scroll container's top where the title sticks: `offset` at the top, else the stack above. */\n get stickTop(): number {\n const parent = this.enclosingSection\n return parent ? parent.innerStackTop : (this.offset ?? 0)\n }\n\n /** Bottom of the stack of stuck titles, through this one, in pixels. */\n get stackBottom(): number {\n return this.stickTop + (this.sticky ? this.titleHeight : 0)\n }\n\n /** Where nested titles stick: below the stack, or 0 in this section's own scroll box (`scrolling` / `height`). */\n get innerStackTop(): number {\n return this.contentScrolls ? 0 : this.stackBottom\n }\n\n /** Is the content its own scroll box? */\n get contentScrolls(): boolean {\n return !!this.scrolling || !!this.height\n }\n\n ////////////////\n // ## The stack (`sticky=\"stack\"`)\n ////////////////\n\n /**\n * Its title a bar of a stack: `sticky=\"stack\"`, or a plain `sticky` right inside a stacked section, plain\n * wrappers aside (a notebook's cells).\n * - Not through another element (an example, a segment): a sticky section shown inside one keeps the plain look.\n */\n @E.cssState(\"stacked\")\n get isStacked(): boolean {\n if (this.sticky === STACK) return true\n const parent = this.enclosingSection\n return !!this.sticky && !!parent?.isStacked && isRightInside(this.domElement, parent.domElement)\n }\n\n /**\n * The sections nested in this one, in page order, each with where it stands among them:\n * first in this one (nothing drawn before it), and the one right before it (nothing drawn between).\n * - Read from the light DOM, past wrappers; again whenever it changes.\n */\n @E.watches({ childList: true, subtree: true, equals: isSameStack })\n get stackPlaces(): StackPlace[] {\n return stackPlacesIn(this.domElement)\n }\n\n /** Where it stands among its enclosing section's nested ones; a top-level one, by its element sibling. */\n get stackPlace(): StackPlace | undefined {\n const parent = this.enclosingSection\n if (parent) return parent.stackPlaces.find((place) => place.element === this.domElement)\n const sibling = this.domElement.previousElementSibling\n return {\n element: this.domElement,\n isFirst: false,\n previous: sibling?.localName === this.domElement.localName ? sibling : undefined\n }\n }\n\n /** The stacked section right before it, nothing drawn between. */\n get previousInStack(): UISection | undefined {\n const previous = (this.stackPlace?.previous as E.DOMElement | undefined)?.component\n return previous instanceof UISection && previous.isStacked ? previous : undefined\n }\n\n /** Stacked, and the first thing in its enclosing section: its title tucked under that one's. */\n @E.cssState(\"tucked\")\n get isTucked(): boolean {\n return this.isStacked && !!this.stackPlace?.isFirst\n }\n\n /** Stacked, its first nested section tucked under its title: its content has no room on top. */\n @E.cssState(\"tucks\")\n get tucksFirst(): boolean {\n return this.isStacked && !this.contentScrolls && this.hasTuckedFirst\n }\n\n /** Its first nested section is tucked under its title: that section says so (`onTuckedChanged()`). */\n @E.state accessor hasTuckedFirst = false\n\n /** The section right after it is closed: that section says so (`onNeighbourChanged()`). */\n @E.state accessor isFollowedByClosed = false\n\n /** Tell the enclosing section whether this one is tucked under its title (`tucks`). */\n @E.onChange(\"isTucked\", \"enclosingSection\", \"isConnected\")\n protected onTuckedChanged(isTucked: boolean, parent: UISection | undefined, isConnected: boolean) {\n if (!isTucked || !parent || !isConnected) return undefined\n parent.hasTuckedFirst = true\n return () => {\n parent.hasTuckedFirst = false\n }\n }\n\n /** Tell the section right before this one whether this one is closed (`joins-below`). */\n @E.onChange(\"previousInStack\", \"isFolded\", \"isConnected\")\n protected onNeighbourChanged(previous: UISection | undefined, isFolded: boolean, isConnected: boolean) {\n if (!previous || !isConnected) return undefined\n previous.isFollowedByClosed = isFolded\n return () => {\n previous.isFollowedByClosed = false\n }\n }\n\n /** Stacked, right after a closed section: no room above it. */\n @E.cssState(\"after-closed\")\n get isAfterClosed(): boolean {\n return this.isStacked && !!this.previousInStack?.isFolded\n }\n\n /** Closed, right after a closed one: in its group, square on top. */\n @E.cssState(\"joins-above\")\n get joinsAbove(): boolean {\n return this.isAfterClosed && this.isFolded\n }\n\n /** Closed, right before a closed one: in its group, square below. */\n @E.cssState(\"joins-below\")\n get joinsBelow(): boolean {\n return this.isStacked && this.isFolded && this.isFollowedByClosed\n }\n\n /**\n * The title's inline tokens: stick offset and nesting depth.\n */\n private get titleStyle(): Record<string, string> {\n return { [STICK_TOP_PROPERTY]: `${this.stickTop}px`, [DEPTH_PROPERTY]: String(this.depth) }\n }\n\n /**\n * Once drawn (`isReady`), while connected and `sticky`: measure the title (for the stack) and watch it stick.\n * - Again whenever its `top` changes; unstuck otherwise.\n * - Returns its stop.\n */\n @E.onChange(\"isReady\", \"isConnected\", \"sticky\", \"stickTop\")\n protected onStickingChanged(\n isReady: boolean,\n isConnected: boolean,\n sticky: boolean | typeof STACK | undefined,\n offset: number\n ) {\n if (!isReady) return undefined\n const { title, sentinel } = this\n if (!isConnected || !sticky || !title || !sentinel) {\n this.stickyWatch.reset()\n return undefined\n }\n const resizes = new ResizeObserver(() => (this.titleHeight = title.getBoundingClientRect().height))\n resizes.observe(title)\n const unwatch = this.stickyWatch.observe({ domElement: this.domElement, top: sentinel, box: title }, { offset })\n return () => {\n resizes.disconnect()\n unwatch()\n }\n }\n\n ////////////////\n // ## Title bar pieces\n ////////////////\n\n /** Which named slots have light-DOM content: icon, badge, hint, actions. */\n readonly slots = new E.SlotContent(this.domElement)\n\n /**\n * `hide-empty`, and nothing in it to see: hidden (`:state(empty)`).\n * - Its content: the default slot's children, as `SlotContent` reads them, so Solid's markers and blank text don't count.\n * - `hide-empty=\"<selector>\"`: only what matches counts.\n */\n @E.cssState(\"empty\")\n get isEmpty(): boolean {\n const hideEmpty = this.hideEmpty\n if (hideEmpty == null) return false\n return isSelector(hideEmpty) ? !this.matchesHideEmpty : !this.slots.hasContent(\"\")\n }\n\n /** Is something in it what `hide-empty=\"<selector>\"` asks for, as its content changes? */\n @E.watches({ childList: true, subtree: true })\n get matchesHideEmpty(): boolean {\n const selector = this.hideEmpty\n return !!selector && isSelector(selector) && !!this.domElement.querySelector(selector)\n }\n\n /** Glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n /** Has an icon (shorthand or `icon` slot)? */\n get hasIcon(): boolean {\n return !!this.icon || this.slots.hasContent(this.slotForName(\"icon\"))\n }\n\n /** Has a badge (shorthand or `badge` slot)? */\n get hasBadge(): boolean {\n return !!this.badge || this.slots.hasContent(this.slotForName(\"badge\"))\n }\n\n /** Title text: `label`. */\n get titleText(): string | undefined {\n return this.label ?? undefined\n }\n\n /** Hint text: `hint`. */\n get hintText(): string | undefined {\n return this.hint ?? undefined\n }\n\n /** Tip text: `description`. */\n get descriptionText(): string | undefined {\n return this.description ?? undefined\n }\n\n /** Has a hint (shorthand, or the `hint` slot)? */\n get hasHint(): boolean {\n return !!this.hintText || this.slots.hasContent(this.slotForName(\"hint\"))\n }\n\n /** Has actions (`actions` slot)? */\n get hasActions(): boolean {\n return this.slots.hasContent(this.slotForName(\"actions\"))\n }\n\n /** Has a description's tip (`description`, or `slot=\"description\"`)? */\n get hasDescription(): boolean {\n return !!this.descriptionText || this.slots.hasContent(this.slotForName(\"description\"))\n }\n\n ////////////////\n // ## Source (`DOMLoadableBodyElement`)\n ////////////////\n\n /** The content from `source`, loaded on first unfold; into the DOM element's light DOM. */\n readonly body = new E.LoadableBody({\n domElement: this.domElement,\n source: () => this.source || undefined,\n select: () => this.selector || undefined,\n target: () => this.domElement,\n send: (name, detail) => this.send(name as never, detail)\n })\n\n /** Content box held closed while the `source` body is on its way (never in a server render: nothing loads). */\n get isVeiled(): boolean {\n return !isServer && !!this.source && this.body.isVeiled\n }\n\n /** Busy: `loading`, or a `source` body slow to arrive. */\n @E.cssState(\"loading\")\n get isLoading(): boolean {\n return !!this.loading || this.body.isBusy\n }\n\n /** The `source` body arrived. */\n @E.cssState(\"loaded\")\n get bodyIsLoaded(): boolean {\n return this.body.loadStatus === E.SourceStatus.loaded\n }\n\n /** The `source` body failed. */\n @E.cssState(\"error\")\n get bodyFailed(): boolean {\n return this.body.loadStatus === E.SourceStatus.error\n }\n\n /** The error line's text, when the `source` body failed; else `undefined`. */\n get bodyFailureText(): string | undefined {\n const failure = this.body.loadError\n if (!failure) return undefined\n const key = E.SOURCE_FAILURE_KEYS[failure.kind] ?? E.SOURCE_FAILURE_KEYS.load\n return this.translationForKey(key as never, { source: this.source ?? \"\" })\n }\n\n /**\n * Load the `source` body whenever the section is unfolded, connected and has one.\n * - `LoadableBody.load()` loads once per `source` + `select`.\n * - An effect, not in `render()`: a subclass drawing its own markup still loads its body.\n */\n @E.onChange(\"source\", \"selector\", \"isFolded\", \"isConnected\")\n protected onBodyWanted(\n source: string | undefined,\n _select: string | undefined,\n isFolded: boolean,\n isConnected: boolean\n ) {\n if (source && !isFolded && isConnected) this.body.load().catch(() => undefined)\n }\n\n /** Fetch and insert the `source` body now, folded or not; once per `source` + `select`. */\n loadBody(): Promise<void> {\n return this.body.load()\n }\n\n /** Fetch the `source` body again past the cache, and replace it. */\n reloadBody(): Promise<void> {\n return this.body.reload()\n }\n\n ////////////////\n // ## Looks\n ////////////////\n\n /** Transitions the fold: styled, in a browser that animates to `auto` heights. */\n @E.cssState(\"animated\")\n get isAnimated(): boolean {\n return this.isReady && UI.browser.supports.interpolateSize\n }\n\n /**\n * Words before the noun:\n * - `scrolling` for `height` without it (`height` implies it)\n * - `loading` while a `source` body is slow to arrive (the `loading` look, over the placeholder)\n */\n protected get extraClass(): string | undefined {\n const scrolling = this.height && !this.scrolling ? SCROLLING : undefined\n const loading = !this.loading && this.body.isBusy ? LOADING : undefined\n return [scrolling, loading].filter(Boolean).join(\" \") || undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <section\n class={this.rootClass}\n part={this.partForName(\"section\")}\n aria-busy={this.isLoading ? \"true\" : undefined}\n >\n <div ref={(element) => (this.sentinel = element)} class={SENTINEL} aria-hidden=\"true\" />\n {this.titleBar()}\n <Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>\n <div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : undefined}\n tabindex={this.contentScrolls ? 0 : undefined}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>\n <Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>\n </section>\n )\n }\n\n /** Drawn at the end of the title bar, after the actions: for a subclass (a property group's output); nothing here. */\n protected titleBarEnd(): JSX.Element {\n return undefined\n }\n\n /** The content box's inline style: its `height`; a subclass may add its own (a property group's columns). */\n protected get contentStyle(): Record<string, string> | undefined {\n return this.height ? { [HEIGHT_PROPERTY]: this.height } : undefined\n }\n\n /** Drawn first in the content, before the slot: for a subclass (a property group's error); nothing here. */\n protected contentStart(): JSX.Element {\n return undefined\n }\n\n /** `<header class=\"title\">`: the heading around the toggle, then the badge and actions. */\n private titleBar(): JSX.Element {\n return (\n <header\n ref={(element) => {\n this.title = element\n E.TopLayerTip.showIn(element, TIP_TRIGGERS)\n }}\n class={UIT.TITLE}\n part={this.partForName(\"title\")}\n style={this.titleStyle}\n >\n <Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : undefined}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : undefined}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : undefined}\n aria-controls={this.isCollapsible ? CONTENT_ID : undefined}\n title={this.isCollapsible ? this.toggleTip : undefined}\n disabled={this.isCollapsible && this.disabled ? true : undefined}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : undefined}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>\n <Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>\n <Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>\n {this.titleBarEnd()}\n <Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>\n <Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>\n </header>\n )\n }\n\n /**\n * The fold chevron, `aria-hidden` (the button is the control):\n * in the button, or at the bar's end with `onClick`, where it takes the button's tooltip too.\n */\n private foldChevron(onClick?: (event: MouseEvent) => void): JSX.Element {\n return (\n <span\n class={FOLD_ICON_CLASS}\n part={this.partForName(\"fold-icon\")}\n aria-hidden=\"true\"\n title={onClick ? this.toggleTip : undefined}\n onClick={onClick}\n >\n {this.foldGlyph.svg}\n </span>\n )\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISection extends E.AttributeValues<SectionVocabulary> {}\n\n/** Where a nested section stands among its enclosing section's (`stackPlaces`). */\ntype StackPlace = {\n /** the nested section's DOM element */\n element: Element\n /** nothing drawn before it in its enclosing section */\n isFirst: boolean\n /** the nested section right before it, nothing drawn between */\n previous: Element | undefined\n}\n\n/** Do `a` and `b` say the same of the same sections? */\nfunction isSameStack(a: StackPlace[], b: StackPlace[]): boolean {\n return (\n a.length === b.length &&\n a.every(\n (place, index) =>\n place.element === b[index]!.element &&\n place.isFirst === b[index]!.isFirst &&\n place.previous === b[index]!.previous\n )\n )\n}\n\n/** The sections nested directly in `host` (its own tag, none between), each with where it stands. */\nfunction stackPlacesIn(host: Element): StackPlace[] {\n const tag = host.localName\n const nested = [...host.querySelectorAll(tag)].filter((element) => element.parentElement?.closest(tag) === host)\n return nested.map((element, index) => {\n const before = nested[index - 1]\n return {\n element,\n isFirst: isDrawnFirst(element, host),\n previous: before && isRightAfter(element, before, host) ? before : undefined\n }\n })\n}\n\n/** Is `element` inside `outer` with no other element of a set (a tag with a `-`) between them? */\nfunction isRightInside(element: Element, outer: Element): boolean {\n for (let node = element.parentElement; node && node !== outer; node = node.parentElement)\n if (node.localName.includes(\"-\")) return false\n return true\n}\n\n/** Is nothing drawn before `element` in `host`? Named slots (a title's actions) and empty wrappers draw nothing. */\nfunction isDrawnFirst(element: Element, host: Element): boolean {\n for (let node: Element | null = element; node && node !== host; node = node.parentElement)\n for (let sibling = node.previousSibling; sibling; sibling = sibling.previousSibling)\n if (!drawsNothing(sibling)) return false\n return true\n}\n\n/** Is `element` right after `before` in `host`, nothing drawn between them? */\nfunction isRightAfter(element: Element, before: Element, host: Element): boolean {\n for (let node: Element | null = element; node && node !== host; node = node.parentElement)\n for (let sibling = node.previousSibling; sibling; sibling = sibling.previousSibling) {\n if (sibling === before || sibling.contains(before)) return isDrawnLast(before, sibling)\n if (!drawsNothing(sibling)) return false\n }\n return false\n}\n\n/** Is nothing drawn after `element` inside `outer` (`element` itself, or an element holding it)? */\nfunction isDrawnLast(element: Element, outer: Node): boolean {\n for (let node: Element | null = element; node && node !== outer; node = node.parentElement)\n for (let sibling = node.nextSibling; sibling; sibling = sibling.nextSibling)\n if (!drawsNothing(sibling)) return false\n return true\n}\n\n/** Does `node` draw nothing: white space, a comment, an element in a named slot, or one with nothing in it? */\nfunction drawsNothing(node: Node): boolean {\n if (node.nodeType === COMMENT_NODE) return true\n if (node.nodeType === TEXT_NODE) return !node.textContent?.trim()\n const element = node as Element\n if (element.hasAttribute(\"slot\")) return true\n return !element.firstElementChild && !element.textContent?.trim()\n}\n\n/** Node types, by number: a server render has no `Node`. */\nconst TEXT_NODE = 3\nconst COMMENT_NODE = 8\n\n/** `sticky`'s value that stacks its titles as bars: `sticky=\"stack\"`. */\nconst STACK = \"stack\"\n\n/** Glyph of the fold button (rotated by CSS while folded). */\nconst FOLD_ICON = \"chevron down\"\n\n/** Class word of the 1px sentinel before the title, which `StickyWatch` observes with `sticky`. */\nconst SENTINEL = \"sentinel\"\n\n/** The fold button, in the shadow root: where a click's path stops counting as one on a control in the title. */\nconst TOGGLE_BUTTON = \"button.toggle\"\n\n/** Private custom property of a title's nesting depth (0 at the top), inline: deeper titles slide under. */\nconst DEPTH_PROPERTY = \"--_ui-section-depth\"\n\n/** Class words of the line saying a `source` body failed (`part=\"error\"`, inside the content box). */\nconst SOURCE_ERROR = \"source error\"\n\n/** Class word before the noun while a `source` body is slow to arrive: the `loading` look. */\nconst LOADING = \"loading\"\n\n/** Heading level of a top-level section: under the page's `h1`. */\nconst TOP_LEVEL = 2\n\n/** Deepest heading level: `h6`. */\nconst MAX_LEVEL = 6\n\n/** Class word and part of the heading (`<hN>`). */\nconst HEADING = \"heading\"\n\n/** Class word and part of the toggle: the fold button, or a plain box when the section can't fold. */\nconst TOGGLE = \"toggle\"\n\n/** Class words of the fold chevron. */\nconst FOLD_ICON_CLASS = \"fold icon\"\n\n/** Class word and part of the badge pill. */\nconst BADGE = \"badge\"\n\n/** Class word and part of the actions box. */\nconst ACTIONS = \"actions\"\n\n/** Class word and part of the hint (its old name, kept as the CSS hook). */\nconst SUBHEAD = \"subhead\"\n\n/** Class word and part of the description's tip. */\nconst TIP = \"tip\"\n\n/** Class word `height` adds before the noun when `scrolling` isn't set: `height` implies scrolling. */\nconst SCROLLING = \"scrolling\"\n\n/** What shows the description's tip: the heading, and a chevron at the bar's end. */\nconst TIP_TRIGGERS = \".heading, .fold.icon\"\n\n/** `id` of the description's tip, which the fold button (else the heading) is described by. */\nconst TIP_ID = \"tip\"\n\n/** `id` of the content box, which the fold button's `aria-controls` names. */\nconst CONTENT_ID = \"content\"\n\n/**\n * Private custom property the content box reads for `height`:\n * inline, so the attribute wins over the page's `--ui-section-scrolling-height`.\n */\nconst HEIGHT_PROPERTY = \"--_ui-section-height\"\n\n/**\n * Private custom property the sticky title reads for its `top`, inline:\n * the top-level `offset`, or the stack of enclosing sticky titles above it, in pixels.\n */\nconst STICK_TOP_PROPERTY = \"--_ui-section-top\"\n\n/** Is `hide-empty`'s value a selector, not just there (`\"\"`, `\"true\"`)? */\nfunction isSelector(value: string): boolean {\n return !!value && value !== \"true\"\n}\n","/**\n * The section family: defines `<ui-sections>` and `<ui-section>`,\n * and exports their components, `UISections` and `UISection`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-section` entry (its size is in `notes/report.md`).\n * - The group is defined FIRST: a group already in the page then has its component\n * when its sections upgrade and look it up.\n * - Both own `section` parts: a nested `<ui-section>` finds the section or group around it through `PartContext`\n * (for its level, depth, sticky stack and default `collapsible`).\n */\n\nimport { UISections } from \"./UISections\"\nimport { UISection } from \"./UISection\"\n\nUISections.define()\nUISection.define()\n\nexport { UISection, UISections }\n"],"mappings":";;;;;AAgBA,IAAagI,KAAqB;CAChC,KAAK;CACL,MAAM;CACN,QAAQ,CAAC,UAAU,YAAY;CAC/B,KAAK;EAAC;EAAa;EAAiB;EAAqB;CAAS;CAClE,MAAM;CACN,aACE;CACF,YAAY,CACV;EACE,MAAM;EACN,OAAO;EACP,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;AAG3B,SAAS,WAAW,GAAwB;CAC1C,OAAO,CAAC,CAAC8F,KAASA,MAAU;AAC9B;AAFS9N,EAAA,YAAA,YAAA,kBCt3BT4C,EAAW,OAAO,GAClBuK,GAAU,OAAO"}
1
+ {"version":3,"file":"ui-section.js","names":["UIT.SourceBodyAttributes","UIT.SourceBodyEvents","UIT.SourceBodyParts","UIT.SourceBodyStates","UIT.SourceFailureTexts","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.PartContext","_$getOwner","_$setAttribute","__name","sectionCSS","ref={(element) => this.sentinel = element}","this","<section\n class={this.rootClass}\n part={this.partForName(\"section\")}\n aria-busy={this.isLoading ? \"true\" : void 0}\n >\n <div ref={(element) => this.sentinel = element} class={SENTINEL} aria-hidden=\"true\" />\n {this.titleBar()}\n <Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>\n <div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}\n tabindex={this.contentScrolls ? 0 : void 0}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>\n <Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>\n </section>","<Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>","part={this.partForName(\"subhead\")}","name={this.slotForName(\"hint\")}","<div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>","ref={this.disclosure.revealOnMatch}","<Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>","part={this.partForName(\"error\")}","<p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>","<div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}\n tabindex={this.contentScrolls ? 0 : void 0}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>","<Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>","<span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>","part={this.partForName(\"section\")}","aria-busy={this.isLoading ? \"true\" : void 0}","class={SENTINEL}","class={UIT.CONTENT}","part={this.partForName(\"content\")}","hidden={this.isFolded || this.isVeiled ? \"until-found\" : void 0}","tabindex={this.contentScrolls ? 0 : void 0}","style={this.contentStyle}","ref={(element) => {\n this.title = element;\n E.TopLayerTip.showIn(element, TIP_TRIGGERS);\n }}","<Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : void 0}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>","class={HEADING}","<Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>","class={TOGGLE}","this.isCollapsible ? this.disclosure.ariaExpanded : void 0","this.isCollapsible ? this.toggleTip : void 0","<Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>","this.isCollapsible && !this.foldIconIsAtEnd","<Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>","part={this.partForName(\"icon\")}","name={this.slotForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>","part={this.partForName(\"header\")}","name={this.slotForName(\"label\")}","<header\n ref={(element) => {\n this.title = element;\n E.TopLayerTip.showIn(element, TIP_TRIGGERS);\n }}\n class={UIT.TITLE}\n part={this.partForName(\"title\")}\n style={this.titleStyle}\n >\n <Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : void 0}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : void 0}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : void 0}\n aria-controls={this.isCollapsible ? CONTENT_ID : void 0}\n title={this.isCollapsible ? this.toggleTip : void 0}\n disabled={this.isCollapsible && this.disabled ? true : void 0}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : void 0}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>\n <Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>\n <Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>\n {this.titleBarEnd()}\n <Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>\n <Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>\n </header>","<Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>","part={this.partForName(\"badge\")}","name={this.slotForName(\"badge\")}","<span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>","<Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>","part={this.partForName(\"actions\")}","name={this.slotForName(\"actions\")}","<span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>","<Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>","this.isCollapsible && this.foldIconIsAtEnd","<Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>","part={this.partForName(\"tip\")}","name={this.slotForName(\"description\")}","<span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>","part={this.partForName(\"title\")}","style={this.titleStyle}","part={this.partForName(\"fold-icon\")}","title={onClick ? this.toggleTip : void 0}","<span\n class={FOLD_ICON_CLASS}\n part={this.partForName(\"fold-icon\")}\n aria-hidden=\"true\"\n title={onClick ? this.toggleTip : void 0}\n onClick={onClick}\n >\n {this.foldGlyph.svg}\n </span>","E.UIComponent","E.proto","E.protoMerged","E.derived","E.cssState","E.controlled","E.state","E.onChange","E.watches","E.PartContext","E.IconGlyph","E.Disclosure","E.StickyWatch","E.SlotContent","E.LoadableBody","E.SOURCE_FAILURE_KEYS","_$getOwner","_$readShallow","_$setAttribute","UIT.VISUALLY_HIDDEN","UIT.CONTENT","UIT.ICON","UIT.HEADER","UIT.TITLE","__name","sectionCSS","E.DOMLoadableBodyElement","ICON","HEADER","__decoratorStart","VISUALLY_HIDDEN","__publicField","__name$1","TITLE","__decorateElement","__decoratorMetadata","__runInitializers","SourceBodyAttributes","SourceBodyStates","CONTENT","SourceBodyEvents","SourceFailureTexts","__privateAdd","SourceBodyParts","getOwner$1","sectionsVocabulary","sectionVocabulary","UISection_default","_tmpl$$1","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UISections","UIComponent","proto","protoMerged","PartContext","_self$","_el$","_el$2","effect","readShallow","className","_p$","t","setAttribute","UISections","FoldIconPlace","_tmpl$","_tmpl$2","_tmpl$3","_tmpl$4","_tmpl$5","_tmpl$6","_tmpl$7","_tmpl$8","_isAnimated_dec","_onBodyWanted_dec","_bodyFailed_dec","_bodyIsLoaded_dec","_isLoading_dec","_matchesHideEmpty_dec","_isEmpty_dec","_onStickingChanged_dec","_joinsBelow_dec","_joinsAbove_dec","_isAfterClosed_dec","_onNeighbourChanged_dec","_onTuckedChanged_dec","_isFollowedByClosed_dec","_hasTuckedFirst_dec","_tucksFirst_dec","_isTucked_dec","_stackPlaces_dec","_isStacked_dec","_titleIsStuck_dec","_isStuck_dec","_titleHeight_dec","_onFoldedChanged_dec","_toggleTipMore_dec","_isFolded_dec","_isMarkedOpen_dec","_isInGroup_dec","_isNested_dec","_enclosingSection_dec","_defaultFoldIcon_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_isMarkedOpen","_toggleTipMore","_titleHeight","_isStuck","_hasTuckedFirst","_isFollowedByClosed","_UISection","derived","cssState","controlled","state","onChange","watches","IconGlyph","FOLD_ICON","Disclosure","OwnControls","event","TOGGLE_BUTTON","StickyWatch","edge","SlotContent","LoadableBody","name","detail","owner","own","MAX_LEVEL","parent","TOP_LEVEL","Converters","originalEvent","tip","isFolded","STACK","place","sibling","previous","isTucked","isConnected","STICK_TOP_PROPERTY","DEPTH_PROPERTY","isReady","sticky","title","sentinel","resizes","unwatch","hideEmpty","selector","isServer","SourceStatus","failure","key","SOURCE_FAILURE_KEYS","source","UI","SCROLLING","LOADING","_el$3","_el$6","_el$8","_el$9","_el$11","ref","element","insert","createComponent","Show","_el$4","_el$5","SUBHEAD","a","CONTENT_ID","_ref$","_el$7","SOURCE_ERROR","_el$10","_v$","_$p","SENTINEL","i","n","s","h","style","r","HEIGHT_PROPERTY","_self$2","_el$12","_el$17","_el$20","_el$23","_el$24","_el$25","_el$28","TopLayerTip","TIP_TRIGGERS","Dynamic","HEADING","TIP_ID","TOGGLE","memo","_el$13","_el$14","_el$15","_el$16","e","_el$18","_el$19","BADGE","_el$21","_el$22","ACTIONS","_el$26","_el$27","TIP","_self$3","_el$29","addEvent","onClick","FOLD_ICON_CLASS","DOMLoadableBodyElement","UISection","b","index","tag","host","nested","before","node","outer","COMMENT_NODE","TEXT_NODE","value","delegateEvents"],"sources":["../src/components/ui-section/UISections.en.ts","../src/components/ui-section/UISection.en.ts","../src/components/ui-section/UISections.tsx","../src/components/ui-section/UISection.types.ts","../src/components/ui-section/UISection.tsx","../src/components/ui-section/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-sections>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words (`ClassBuilder`):\n * `<ui-sections collapsing>` => `ui collapsing sections`.\n * - `ownsParts: [\"section\"]`: a `<ui-section>` finds its group the way it finds an enclosing section\n * (`PartContext`), so its default `collapsible` follows the NEAREST group, at any depth (`UISection.group`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `sectionsVocabulary`\n * The names of `<ui-sections>`, a run of sections: `<div class=\"ui ... sections\" part=\"group\">` around a slot.\n ****************/\nexport const sectionsVocabulary = {\n tag: \"ui-sections\",\n icon: \"list alternate outline\",\n topics: [\"layout\", \"containers\"],\n aka: [\"accordion\", \"section group\", \"collapsible group\", \"outline\"],\n noun: \"sections\",\n partOfSpeech: \"structure\",\n description:\n \"A group of sections: with `collapsing`, every section in it can close, and closed ones stack with no space between.\",\n attributes: [\n {\n name: \"collapsing\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Every section in the group, sub-sections included, can close by default (as if `collapsible`); closed \" +\n 'ones stack with no space between. A section opts out with `collapsible=\"false\"`.'\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-section>`s, and anything between them.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [\n { name: \"in-section\", description: \"Inside a section.\" },\n { name: \"in-sections\", description: \"Inside another `<ui-sections>`.\" }\n ],\n texts: [],\n ownsParts: [\"section\"]\n} as const satisfies E.ComponentVocabulary\n","/**\n * The English vocabulary of `<ui-section>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), events, slots, parts, states and texts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-section color=\"teal\" dividing sticky>` => `ui teal dividing sticky section`.\n * - Not class words, which the component draws or reads instead:\n * - the strings and numbers: `label`, `hint`, `description`, `level`, `badge`, `offset`, `height`\n * - the booleans: `collapsible`, `open` (`collapsed` its old name, turned round)\n * - `fold-icon`\n * - `source` (`UIT.LoadableBody*`): the content comes from a file the first time the section unfolds.\n * Spread in here, so a subclass reusing this vocabulary (`<ui-panel>`) has it too.\n * - `open` is CONTROLLED, like the accordion's: set it to fold or unfold (`open=\"false\"` folds).\n * `ui-opening` / `ui-closing` can veto a person's change.\n * - Its words match `<ui-field>`'s (epic `property-editor` P10, decision Q12):\n * - `label`, `hint`, `description`\n * - events in pairs: `ui-closing` then `ui-closed`\n * - states `nested` and `in-group`\n * - Its old words (`header`, `subhead`, `info`, `ui-opening`, `ui-closing`, `ui-loaded`) went in epic `repo-split` P14 (Q45).\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `sectionVocabulary`\n * The names of `<ui-section>`, a titled block of content that can fold.\n * Its `<section class=\"ui … section\" part=\"section\">` holds:\n * - its title bar: `<hN>` with the icon, label and a fold button, then the badge and actions\n * - an optional hint, then the content\n ****************/\nexport const sectionVocabulary = {\n tag: \"ui-section\",\n icon: \"bookmark outline\",\n snippet: '<ui-section label=\"A section\">\\n\\t<ui-text>What it holds</ui-text>\\n</ui-section>',\n topics: [\"layout\", \"containers\"],\n aka: [\"section\", \"panel\", \"collapsible\", \"disclosure\", \"fieldset\", \"expander\"],\n // a title over its content, as a segment's skeleton\n skeleton: \"header, paragraph\",\n noun: \"section\",\n partOfSpeech: \"structure\",\n description: \"A section is a titled block of content that can close and keep its title in view.\",\n attributes: [\n {\n name: \"label\",\n group: \"name\",\n kind: \"string\",\n description: 'Title text; a slotted `slot=\"label\"` is the rich version (code, links).'\n },\n {\n name: \"hint\",\n group: \"form\",\n kind: \"string\",\n description: 'Smaller text under the title; scrolls away with the content, never sticks. Or `slot=\"hint\"`.'\n },\n {\n name: \"level\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"],\n description:\n \"Heading level of the title (`<h1>` ... `<h6>`); default: the enclosing section's level + 1, else 2 \" +\n \"(under the page's `h1`).\"\n },\n {\n name: \"parent\",\n group: \"layout\",\n kind: \"string\",\n description:\n \"Id of the `<ui-section>` (or `<ui-sections>`) this one nests in, when it's written outside it \" +\n '(`parent=\"setup\"`): it joins it, in page order, as if nested there.'\n },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"icon\",\n description: 'Icon name, before the title; a slotted `slot=\"icon\"` (a `<ui-icon>`, anything) replaces it.'\n },\n {\n name: \"badge\",\n group: \"content\",\n kind: \"string\",\n description: 'A small pill after the title, e.g. a count (`3/7`); `slot=\"badge\"` is the rich version.'\n },\n {\n name: \"description\",\n group: \"content\",\n kind: \"string\",\n description:\n \"A tip about the section, shown under the title bar while the pointer is on the title (or the open / close button \" +\n 'has keyboard focus); it describes the title. `slot=\"description\"` is the rich version (bold words, line ' +\n \"breaks).\"\n },\n {\n name: \"hide-empty\",\n group: \"behaviour\",\n kind: \"string\",\n description:\n \"Hidden while nothing's in it to see: no element in its content, and no text but blanks. \" +\n \"A loader counts, so a section waiting for its list keeps its title. A selector narrows what counts: \" +\n '`hide-empty=\"ui-card\"` hides it until a card is in it. Follows its content as it changes.'\n },\n {\n name: \"collapsible\",\n group: \"behaviour\",\n kind: \"boolean\",\n description:\n \"The title opens and closes the content: a button with `aria-expanded`. Default: on inside \" +\n '`<ui-sections collapsing>`, sub-sections included; `collapsible=\"false\"` opts out there.'\n },\n {\n name: \"open\",\n group: \"states\",\n kind: \"boolean\",\n default: true,\n replaces: [{ from: \"collapsed\", value: \"false\" }],\n description:\n 'Open; `open=\"false\"` closes it, so only the title shows. Controlled: set it to close or open; ' +\n \"`ui-opening` / `ui-closing` can veto a person's changes. Find-in-page opens a match. Its old name was \" +\n \"`collapsed` (turned round).\"\n },\n {\n name: \"fold-icon\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"start\", \"end\"],\n description:\n \"With `collapsible`: where the open / close chevron sits: `start`, before the title (the default), or `end`, at \" +\n \"the far end of the title bar, after the badge and actions (a click on it closes and opens too).\"\n },\n {\n name: \"sticky\",\n group: \"behaviour\",\n kind: \"keyOrValueAndKey\",\n values: [\"stack\"],\n description:\n \"The title bar sticks while the section is on screen; a sticky section inside another sticks just below \" +\n 'its title. `sticky=\"stack\"`: the titles read as one stack of rounded bars, as the docs pages\\' sections ' +\n \"do -- each level a step further in (`--ui-section-stack-reach`, `--ui-section-stack-step`), a section's \" +\n \"first nested title tucked square under its own, a nested title stuck under its parent's a heavy round \" +\n \"(the theme's large radius), and closed sections one after another flush, ONE group, round only at its top \" +\n \"and bottom. A plain `sticky` section right inside a stacked one joins its stack (not through another element, \" +\n \"an example's).\"\n },\n {\n name: \"offset\",\n group: \"layout\",\n kind: \"number\",\n default: 0,\n description:\n \"With `sticky`: pixels between the top edge and a TOP-LEVEL section's stuck title (e.g. a page header's \" +\n \"height); nested sections work theirs out.\"\n },\n {\n name: \"color\",\n group: \"appearance\",\n kind: \"color\",\n description: \"Hue of the title (and of the rule or box edge).\"\n },\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Text size of the CONTENT, `mini` ... `massive`; the title keeps its level's size.\"\n },\n { name: \"dividing\", group: \"appearance\", kind: \"keyOnly\", description: \"A rule under the title.\" },\n { name: \"block\", group: \"layout\", kind: \"keyOnly\", description: \"The title bar in a tinted box.\" },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n values: [\"bordered\", \"styled\", \"raised\", \"basic\", \"drawer\"],\n // each word draws itself: no key after it\n classes: {},\n replaces: [\n { from: \"bordered\", value: \"bordered\" },\n { from: \"styled\", value: \"styled\" },\n { from: \"raised\", value: \"raised\" },\n { from: \"basic\", value: \"basic\" }\n ],\n description:\n \"The look, several words at once: `bordered` (a box around the section, as a segment), `styled` (boxed \" +\n \"as a styled accordion: a tinted title bar over padded content), `raised` (with a box: lifted with a \" +\n \"shadow), `basic` (no box, rule or tint, whatever else is set), `drawer` (the title a raised bar, the \" +\n \"content a tinted panel attached under it that rolls open and closed, as an example's code under its demo). \" +\n \"Old names: `bordered`, `styled`, `raised`, `basic`.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"compact\", \"md\", \"lg\"],\n classes: { md: \"padded\", lg: \"very padded\" },\n replaces: [\n { from: \"compact\", value: \"compact\" },\n { from: \"padded\", value: \"md\", values: { very: \"lg\" } }\n ],\n description:\n \"`compact`: less padding and space around the title; `md` / `lg`: more padding in the content. Old \" +\n 'names: `compact`, `padded` (`padded=\"very\"` is `lg`).'\n },\n {\n name: \"attach-to\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"both\", \"top\", \"bottom\"],\n classes: { both: \"attached\", top: \"top attached\", bottom: \"bottom attached\" },\n replaces: [\"attach\", { from: \"attached\", value: \"both\" }],\n description:\n \"With a box: joined edge to edge with the box above (`top`), below (`bottom`), or both (`both`, between \" +\n \"two). Old names: `attach`, `attached` (bare is `both`).\"\n },\n {\n name: \"scrolling\",\n group: \"layout\",\n kind: \"keyOrValueAndKey\",\n values: [\"short\", \"very short\", \"long\", \"very long\"],\n description: \"The content has a capped height and scrolls; `short` ... `very long` scale the cap.\"\n },\n {\n name: \"height\",\n group: \"layout\",\n kind: \"string\",\n description:\n \"The content's cap, any CSS length (`20em`, `300px`): above it the content scrolls (implies `scrolling`).\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: [\"left\", \"center\", \"right\"],\n replaces: [\"text-align\"],\n description: \"Aligns the TITLE `left`, `center` or `right`. Old name: `text-align`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds: the dark scheme.\" },\n {\n name: \"loading\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Dims the content under a spinner; `aria-busy`.\"\n },\n {\n name: \"disabled\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Dimmed and inert; can't be closed or opened.\"\n },\n ...UIT.SourceBodyAttributes\n ],\n events: [\n {\n name: \"ui-opening\",\n detail: \"{ open: boolean, section: Element, originalEvent?: Event }\",\n cancelable: true,\n description:\n \"About to open: the title was activated, or find-in-page matched inside (not cancelable then, \" +\n \"`cancelable: false`). Cancel to stay closed.\"\n },\n {\n name: \"ui-opened\",\n detail: \"{ open: boolean, section: Element }\",\n description: \"Opened, by any route: the title, the page setting `open`, find-in-page.\"\n },\n {\n name: \"ui-closing\",\n detail: \"{ open: boolean, section: Element, originalEvent?: Event }\",\n cancelable: true,\n description: \"About to close: the title was activated. Cancel to stay open.\"\n },\n {\n name: \"ui-closed\",\n detail: \"{ open: boolean, section: Element }\",\n description: 'Closed, by any route: the title, or the page setting `open=\"false\"`.'\n },\n ...UIT.SourceBodyEvents\n ],\n slots: [\n { name: \"\", description: \"The content: anything, nested `<ui-section>`s included.\" },\n { name: \"label\", description: \"Rich title, instead of the `label` attribute.\" },\n { name: \"hint\", description: \"Rich hint, instead of the `hint` attribute.\" },\n { name: \"icon\", description: \"Icon before the title, instead of the `icon` attribute (a `<ui-icon>`, an image).\" },\n { name: \"badge\", description: \"Rich badge, instead of the `badge` attribute (e.g. a `<ui-label>`).\" },\n { name: \"actions\", description: \"Controls at the right of the title bar (buttons, a menu); never close it.\" },\n { name: \"description\", description: \"Rich tip, instead of the `description` attribute (bold words, line breaks).\" }\n ],\n parts: [\n { name: \"section\", description: \"The section box.\" },\n { name: \"title\", description: \"The title bar: sticks with `sticky`.\" },\n { name: \"heading\", description: \"The `<h1>` ... `<h6>`.\" },\n {\n name: \"toggle\",\n description: \"With `collapsible`: the `<button>` inside the heading that opens and closes the section.\"\n },\n {\n name: \"fold-icon\",\n description:\n 'With `collapsible`: the chevron, in the toggle; with `fold-icon=\"end\"`, at the end of the title bar.'\n },\n { name: \"icon\", description: \"The icon box.\" },\n { name: \"header\", description: \"The title text box.\" },\n { name: \"badge\", description: \"The badge pill.\" },\n { name: \"actions\", description: \"The actions box, at the right of the title bar.\" },\n {\n name: \"tip\",\n description: \"With `description`: the tip, under the title bar, shown on hover and keyboard focus.\"\n },\n { name: \"subhead\", description: \"The hint under the title.\" },\n { name: \"content\", description: \"The content box: `size`, `scrolling` and `height` apply here.\" },\n ...UIT.SourceBodyParts\n ],\n states: [\n { name: \"collapsed\", description: \"Closed.\" },\n { name: \"empty\", description: \"With `hide-empty`: nothing in it to see, so it's hidden.\" },\n { name: \"stuck\", description: \"With `sticky`: the title bar is stuck to the top.\" },\n {\n name: \"stacked\",\n description: 'With `sticky=\"stack\"` (or `sticky` right inside a stacked section): a bar of the stack.'\n },\n {\n name: \"tucked\",\n description:\n \"Stacked: the first thing in its enclosing section, its title right under that section's, square on top.\"\n },\n {\n name: \"tucks\",\n description: \"Stacked: its first nested section is tucked under its title, so its content has no room on top.\"\n },\n {\n name: \"after-closed\",\n description: \"Stacked: right after a closed section, nothing between: no room above it.\"\n },\n { name: \"joins-above\", description: \"Stacked and closed, right after a closed one: square on top, in its group.\" },\n { name: \"joins-below\", description: \"Stacked and closed, right before a closed one: square below, in its group.\" },\n { name: \"animated\", description: \"Opens and closes with a height transition (`interpolate-size`).\" },\n { name: \"nested\", description: \"Nested in another section.\" },\n { name: \"in-group\", description: \"Directly in a `<ui-sections>` group (no section between).\" },\n {\n name: \"in-section\",\n description: \"Directly in another section (its part's state); `nested` counts one through a group too.\"\n },\n { name: \"in-sections\", description: \"Directly in a `<ui-sections>` group (its part's state), as `in-group`.\" },\n { name: \"inverted\", description: \"In the dark scheme.\" },\n { name: \"loading\", description: \"Busy: `loading`, or a `source` body that is slow to arrive.\" },\n { name: \"disabled\", description: \"Dimmed and inert.\" },\n ...UIT.SourceBodyStates\n ],\n texts: [\n { key: \"loading\", text: \"Loading…\", description: \"Announced while `loading`.\" },\n { key: \"closeSection\", text: \"Close this section\", description: \"Tooltip of the open / close button while open.\" },\n { key: \"openSection\", text: \"Open this section\", description: \"Tooltip of the open / close button while closed.\" },\n ...UIT.SourceFailureTexts\n ],\n ownsParts: [\"section\"]\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { sectionsVocabulary } from \"./UISections.en\"\nimport { sectionVocabulary } from \"./UISection.en\"\n\nimport sectionCSS from \"./UISection.css?inline\"\n\n/****************\n * ### `UISections`\n * The component behind `<ui-sections>`: a run of sections, spaced as one section would be.\n *\n * - Its shadow DOM is one box around a slot: `<div class=\"ui … sections\" part=\"group\"><slot></slot></div>`.\n * - Plain, it changes nothing in its sections.\n * - `collapsing`: every `<ui-section>` under it, sub-sections at any depth included, folds by default.\n * - A section's own `collapsible` attribute wins, `\"false\"` included.\n * - Each section reads `collapsing` from its NEAREST group (`UISection.group`),\n * so a plain `<ui-sections>` nested inside turns the default off again.\n * - The spacing is CSS: `UISection.css` hands the stacking down to the sections\n * through the inherited `--_ui-sections-stack` switch, which a nested plain group resets.\n * - It owns `section` parts (`ownsParts`), so a section's `PartContext` stops here.\n * Its own `context` finds the section (or group) around it,\n * which `UISection.enclosingSection` climbs to, so levels and sticky stacks carry through.\n ****************/\nexport class UISections extends E.UIComponent<typeof sectionsVocabulary> {\n @E.proto static vocabulary = sectionsVocabulary\n @E.protoMerged static elementSetup = { styleSheets: { section: sectionCSS } } satisfies Partial<E.ElementSetup>\n\n /** Enclosing section or group (`:state(in-section)` / `:state(in-sections)`); climbs through any component. */\n readonly context = new E.PartContext({\n domElement: this.domElement,\n noun: sectionVocabulary.noun,\n barrier: E.PartContext.noBarrier\n })\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISections extends E.AttributeValues<typeof sectionsVocabulary> {}\n","/**\n * The types and constants of the section family that `<ui-section>` and `<ui-panel>` share.\n * - `UIPanel` extends `UISection`, and reuses its vocabulary type and its chevron places.\n * - Pure data: `import type` only, so node can load it (`yarn site:data`).\n * - A constant only `UISection` reads sits below that class, in `UISection.tsx`.\n */\n\nimport type { sectionVocabulary } from \"./UISection.en\"\n\n/** `<ui-section>`'s vocabulary type, for brevity (`<ui-panel>` reuses it). */\nexport type SectionVocabulary = typeof sectionVocabulary\n\n////////////////\n// ## Folding\n////////////////\n\n/**\n * `fold-icon`'s values: the chevron before the title (`start`, inside the fold button), or at the far end of the\n * title bar (`end`, after the badge and actions).\n */\nexport const FoldIconPlace = { start: \"start\", end: \"end\" } as const\n/** One of `FoldIconPlace`'s values, e.g. `\"end\"`. */\nexport type FoldIconPlace = (typeof FoldIconPlace)[keyof typeof FoldIconPlace]\n","import { Show } from \"solid-js\"\nimport { Dynamic, isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { sectionVocabulary } from \"./UISection.en\"\nimport { UISections } from \"./UISections\"\nimport { FoldIconPlace, type SectionVocabulary } from \"./UISection.types\"\n\nimport sectionCSS from \"./UISection.css?inline\"\n\n/****************\n * ### `UISection`\n * The component behind `<ui-section>`: a titled block of content that can fold away,\n * and keep its title in view while you scroll through it.\n *\n * - Its shadow DOM: `<section class=\"ui … section\" part=\"section\">` holding\n * - a 1px sentinel, which tells when the title has stuck\n * - the title bar, `<header class=\"title\">`:\n * the heading (`<hN>`) around the toggle (fold chevron, icon, label),\n * then the badge, the actions, a chevron at the end, and the description's tip\n * - the hint, then `<div class=\"content\">` around the default slot.\n * - A wrapper that would be empty (icon, badge, actions, hint, tip) isn't drawn:\n * `SlotContent` watches the light children.\n *\n * - *Level*: `level`, else the enclosing section's level + 1 (at most `h6`), else 2.\n * - The enclosing section is found through `PartContext` with no barriers,\n * so a section in a segment in a section still nests.\n * - `parent=\"<id>\"`: written outside the section (or group) it belongs in, it moves in (`ParentLink`).\n * - Its level, depth and sticky stack are read from the enclosing section's component,\n * so they follow its attributes, and a move to another section.\n *\n * - *Folding* (`collapsible`): the toggle becomes a `<button>`; its `disclosure` (the kit's `Disclosure`) folds.\n * - Its accessible name is the label; its `title` (the `fold` / `unfold` text) is only a tooltip.\n * - Click, Enter and Space send the cancelable `ui-opening` / `ui-closing`,\n * then flip `open` (controlled, like the accordion's).\n * - Once it has folded or unfolded, by any route: `ui-closed` / `ui-opened`.\n * - Folded content is `hidden=\"until-found\"`, so find-in-page can reveal a match:\n * `beforematch` unfolds it, and announces `ui-opening` after the fact (not cancelable).\n * - Not collapsible: `open` is ignored.\n * - `fold-icon=\"end\"` moves the chevron out of the button, to the far end of the title bar.\n * - It stays `aria-hidden` (the button is still the control), and a click on it folds as the button does.\n * - A subclass moves the default with `defaultFoldIcon` (`<ui-panel>`: `end`).\n * - *Groups*: without its own `collapsible` attribute,\n * a section folds when its nearest `<ui-sections>` is `collapsing`\n * (around it, or around an enclosing section).\n * - The group owns `section` parts too, so `enclosingSection` climbs through it.\n *\n * - `description` / `slot=\"description\"`: a tooltip under the title bar (`role=\"tooltip\"`),\n * in the browser's top layer so no parent frame cuts it off (`TopLayerTip`).\n * - Shown while the pointer is on the heading or the end chevron, or the fold button has keyboard focus.\n * - It describes the fold button (`aria-describedby`), else the heading.\n *\n * - *Sticky*: the title bar is `position: sticky` inside the section's box,\n * at the top-level `offset`, or just below the enclosing sticky titles: so nested titles stack.\n * - A `scrolling` / `height` section's content is its own scroll box: a fresh stack starts there.\n * - `StickyWatch` sets `:state(stuck)`, and reserves the title's room for Page Down, as `<ui-sticky>` does.\n *\n * - *Stack* (`sticky=\"stack\"`, or `sticky` right inside a stacked section, plain wrappers aside): the titles read as one stack of rounded bars\n * (`:state(stacked)`), the look is the sheet's; what it needs to know of its neighbours, the component works out:\n * - `tucked`: the first thing in its enclosing section (nothing drawn before it, wrappers aside), so its title sits\n * right under that section's, square on top; the enclosing one `tucks`\n * - `after-closed`: right after a closed section, nothing between; closed too, `joins-above`; the closed one\n * before it, `joins-below`: closed sections one after another are ONE group, round only at its ends\n * - a section knows what's before it; what's after it (and its first nested one) it hears from them:\n * `isFollowedByClosed`, `hasTuckedFirst`, which they set\n * - Its neighbours are found in the enclosing section's light DOM, past any wrappers (a notebook's cells):\n * `stackPlaces`, recomputed as that DOM changes. A top-level section's neighbour is its element sibling.\n *\n * - *Source* (`source`, `select`): the content comes from a file the first time the section unfolds, by any route:\n * - a click\n * - the page setting `open` (a `#id` link)\n * - starting unfolded (then at once)\n * - `LoadableBody` fetches it (`UI.sources`),\n * and puts its `<body>` in the LIGHT DOM, in place of the placeholder (the children without a `slot`).\n * - While it's on its way, the content box stays hidden (`isVeiled`) for at most `SOURCE_BODY_HOLD_MS`,\n * then shows the `loading` look over the placeholder.\n * So an unfold shows the body, not the placeholder.\n * - The DOM element (`DOMLoadableBodyElement`) has `load()` / `reload()`, and states `loaded` and `error`.\n * - In the class, not the vocabulary: a subclass (`<ui-panel>`) gets it with the vocabulary it reuses.\n *\n * - `disabled`: unusable, the base class's way (`elementSetup.disabled`):\n * - faded, everything in it inert (its fold button too), `aria-disabled`\n * - `toggle()` does nothing\n *\n * - SIDE EFFECTS:\n * - with `sticky`: a `ResizeObserver` keeps the title's height (`titleHeight`) for the stack,\n * and `StickyWatch` writes the scroll container's inline `scroll-padding-top` while stuck\n * - with `source`: replaces its own light children (the placeholder) with the file's body.\n *\n * - Its words match `<ui-field>`'s (epic `property-editor` P10, decision Q12): `label` / `hint` / `description`,\n * `ui-opening` / `ui-closing`. The old ones (`header`, `subhead`, `info`, `ui-opening` ...) went in epic\n * `repo-split` P14 (Q45).\n ****************/\nexport class UISection extends E.UIComponent<SectionVocabulary> {\n @E.proto static vocabulary = sectionVocabulary\n @E.protoMerged static elementSetup: Partial<E.ElementSetup> = {\n styleSheets: { section: sectionCSS },\n cssStates: [\"inverted\"],\n DOMElement: E.DOMLoadableBodyElement,\n // a container: a click on its text must not jump to the fold button or a link inside\n delegatesFocus: false,\n // `loading`: Fomantic's veil\n loading: \"its own\"\n }\n @E.proto static defaultFoldIcon: FoldIconPlace = FoldIconPlace.start\n\n /** Where the fold chevron sits without a `fold-icon` attribute: `start`; a subclass may move it. */\n declare defaultFoldIcon: FoldIconPlace\n\n ////////////////\n // ## Nesting\n ////////////////\n\n /** Enclosing section, when nested (`:state(nested)`); climbs through any other component. */\n readonly context = new E.PartContext({\n domElement: this.domElement,\n noun: this.vocabulary.noun,\n barrier: E.PartContext.noBarrier\n })\n\n /**\n * Enclosing section's component, or `undefined` at the top (or before it has one).\n * - Climbs through `<ui-sections>` groups (owners of `section` parts too):\n * a section in a group in a section is still nested.\n */\n @E.derived\n get enclosingSection(): UISection | undefined {\n let owner = this.context.ownerComponent<UISection | UISections>()\n while (owner instanceof UISections) owner = owner.context.ownerComponent<UISection | UISections>()\n return owner instanceof UISection ? owner : undefined\n }\n\n /** Nearest `<ui-sections>` group's component, directly or through enclosing sections, or `undefined`. */\n get group(): UISections | undefined {\n const owner = this.context.ownerComponent<UISection | UISections>()\n if (owner instanceof UISections) return owner\n return owner instanceof UISection ? owner.group : undefined\n }\n\n /** Inside another section, through any group (`:state(nested)`; the part's own `in-section` counts only a direct one). */\n @E.cssState(\"nested\")\n get isNested(): boolean {\n return !!this.enclosingSection\n }\n\n /** Directly in a `<ui-sections>` group (`:state(in-group)`; also the part's own `in-sections`). */\n @E.cssState(\"in-group\")\n get isInGroup(): boolean {\n return this.context.ownerComponent<UISection | UISections>() instanceof UISections\n }\n\n /** Heading level, 1 ... 6. */\n get headingLevel(): number {\n const own = Number(this.level)\n if (Number.isInteger(own) && own >= 1 && own <= MAX_LEVEL) return own\n const parent = this.enclosingSection\n return parent ? Math.min(parent.headingLevel + 1, MAX_LEVEL) : TOP_LEVEL\n }\n\n /** Nesting depth: 0 at the top. */\n get depth(): number {\n const parent = this.enclosingSection\n return parent ? parent.depth + 1 : 0\n }\n\n ////////////////\n // ## Folding\n ////////////////\n\n /**\n * `open`: the DOM element's (a boolean is always the DOM element's, see `@controlled`); `false` folds it.\n * - Folds only `isCollapsible`.\n * - Its old name was `collapsed`, turned round (epic `ui-gaps` J13).\n */\n @E.controlled(\"open\") accessor isMarkedOpen = true\n\n /**\n * Can it fold?\n * - The DOM element's own `collapsible` when written (`collapsible=\"false\"` opts out),\n * else the nearest group's `collapsing`.\n * - Reads the attribute raw: its getter reads absent and `\"false\"` alike (false),\n * but only absent takes the group's default.\n * - NOTE: a PROPERTY write of `false` removes the attribute (booleans never reflect as `\"false\"`),\n * which brings the group's default back.\n * Opt out from code with `setAttribute(\"collapsible\", \"false\")`.\n */\n get isCollapsible(): boolean {\n const own = this.attributes.collapsible\n if (own !== null) return E.Converters.boolean(own, this.elementDefinition.attribute(\"collapsible\").attribute)\n return !!this.collapsible || !!this.group?.collapsing\n }\n\n /** Folded: `isCollapsible`, and `open` turned off. */\n @E.cssState(\"collapsed\")\n get isFolded(): boolean {\n return this.isCollapsible && !this.isMarkedOpen\n }\n\n /** Glyph of the fold button, while `isCollapsible`. */\n readonly foldGlyph = new E.IconGlyph({ owner: this, name: () => (this.isCollapsible ? FOLD_ICON : undefined) })\n\n /** The fold chevron sits at the far end of the title bar: `fold-icon`, else the class's `defaultFoldIcon`. */\n get foldIconIsAtEnd(): boolean {\n return (this.foldIcon ?? this.defaultFoldIcon) === FoldIconPlace.end\n }\n\n /**\n * Open unless folded, on `open` (`isMarkedOpen`):\n * the cancelable `ui-opening` / `ui-closing`, then `ui-opened` / `ui-closed` (`onFoldedChanged()`);\n * the toggle's `aria-expanded`; find-in-page opening the folded content.\n * - Folds only `isCollapsible`, and never while `disabled`.\n */\n readonly disclosure = new E.Disclosure({\n component: this,\n member: \"isMarkedOpen\",\n isOpen: () => !this.isFolded,\n canChange: () => this.isCollapsible && !this.isDisabled,\n detail: (open, originalEvent): UIT.SectionToggleDetail => ({ open, section: this.domElement, originalEvent }),\n afterDetail: (open): UIT.SectionToggleDetail => ({ open, section: this.domElement })\n })\n\n /**\n * Fold or unfold as a person would:\n * the cancelable `ui-opening` / `ui-closing` first, then `open`.\n * - True when applied.\n * - Does nothing unless `collapsible`, or while `disabled`.\n */\n toggle(originalEvent?: Event): boolean {\n return this.disclosure.toggle(originalEvent)\n }\n\n /**\n * More for the fold button's tooltip, on a line of its own after `Open this section`: a component that draws the\n * section sets it (the epic page's blocks: `⌥-click: open everything inside`).\n * - a property, not an attribute: nothing a page writes\n */\n @E.state accessor toggleTipMore: string | undefined = undefined\n\n /** The fold button's tooltip: `Open this section` / `Close this section`, then `toggleTipMore`. */\n get toggleTip(): string {\n const tip = this.translationForKey(this.isFolded ? \"openSection\" : \"closeSection\")\n return this.toggleTipMore ? `${tip}\\n${this.toggleTipMore}` : tip\n }\n\n /** A click on the toggle (Enter / Space on the button click it too). */\n private readonly onToggleClick = (event: MouseEvent) => {\n // a link or control inside a rich `slot=\"label\"` title acts on its own, as in an accordion's title\n if (E.OwnControls.isClicked(event, { before: TOGGLE_BUTTON })) return\n this.toggle(event)\n }\n\n /** A click on the END chevron, outside the button: folds as the button does. */\n private readonly onFoldIconClick = (event: MouseEvent) => {\n this.toggle(event)\n }\n\n /** Folded or unfolded, by any route: `ui-closed` / `ui-opened` -- not at the start. */\n @E.onChange(\"isFolded\", { defer: true })\n protected onFoldedChanged(isFolded: boolean) {\n this.disclosure.sendAfter(!isFolded)\n }\n\n ////////////////\n // ## The sticky title\n ////////////////\n\n /** Title bar's height in pixels, while `sticky` (for the stack below it). */\n @E.state accessor titleHeight = 0\n\n /** Title bar is stuck. */\n @E.state accessor isStuck = false\n\n /** Stuck, and `sticky`. */\n @E.cssState(\"stuck\")\n get titleIsStuck(): boolean {\n return !!this.sticky && this.isStuck\n }\n\n /** The title bar. */\n private title?: HTMLElement\n\n /** Sentinel where the title bar's top would be, unstuck. */\n private sentinel?: HTMLDivElement\n\n /** Observes the stuck title and reserves its room. */\n private readonly stickyWatch = new E.StickyWatch(({ edge }) => (this.isStuck = edge !== undefined))\n\n /** Pixels from the scroll container's top where the title sticks: `offset` at the top, else the stack above. */\n get stickTop(): number {\n const parent = this.enclosingSection\n return parent ? parent.innerStackTop : (this.offset ?? 0)\n }\n\n /** Bottom of the stack of stuck titles, through this one, in pixels. */\n get stackBottom(): number {\n return this.stickTop + (this.sticky ? this.titleHeight : 0)\n }\n\n /** Where nested titles stick: below the stack, or 0 in this section's own scroll box (`scrolling` / `height`). */\n get innerStackTop(): number {\n return this.contentScrolls ? 0 : this.stackBottom\n }\n\n /** Is the content its own scroll box? */\n get contentScrolls(): boolean {\n return !!this.scrolling || !!this.height\n }\n\n ////////////////\n // ## The stack (`sticky=\"stack\"`)\n ////////////////\n\n /**\n * Its title a bar of a stack: `sticky=\"stack\"`, or a plain `sticky` right inside a stacked section, plain\n * wrappers aside (a notebook's cells).\n * - Not through another element (an example, a segment): a sticky section shown inside one keeps the plain look.\n */\n @E.cssState(\"stacked\")\n get isStacked(): boolean {\n if (this.sticky === STACK) return true\n const parent = this.enclosingSection\n return !!this.sticky && !!parent?.isStacked && isRightInside(this.domElement, parent.domElement)\n }\n\n /**\n * The sections nested in this one, in page order, each with where it stands among them:\n * first in this one (nothing drawn before it), and the one right before it (nothing drawn between).\n * - Read from the light DOM, past wrappers; again whenever it changes.\n */\n @E.watches({ childList: true, subtree: true, equals: isSameStack })\n get stackPlaces(): StackPlace[] {\n return stackPlacesIn(this.domElement)\n }\n\n /** Where it stands among its enclosing section's nested ones; a top-level one, by its element sibling. */\n get stackPlace(): StackPlace | undefined {\n const parent = this.enclosingSection\n if (parent) return parent.stackPlaces.find((place) => place.element === this.domElement)\n const sibling = this.domElement.previousElementSibling\n return {\n element: this.domElement,\n isFirst: false,\n previous: sibling?.localName === this.domElement.localName ? sibling : undefined\n }\n }\n\n /** The stacked section right before it, nothing drawn between. */\n get previousInStack(): UISection | undefined {\n const previous = (this.stackPlace?.previous as E.DOMElement | undefined)?.component\n return previous instanceof UISection && previous.isStacked ? previous : undefined\n }\n\n /** Stacked, and the first thing in its enclosing section: its title tucked under that one's. */\n @E.cssState(\"tucked\")\n get isTucked(): boolean {\n return this.isStacked && !!this.stackPlace?.isFirst\n }\n\n /** Stacked, its first nested section tucked under its title: its content has no room on top. */\n @E.cssState(\"tucks\")\n get tucksFirst(): boolean {\n return this.isStacked && !this.contentScrolls && this.hasTuckedFirst\n }\n\n /** Its first nested section is tucked under its title: that section says so (`onTuckedChanged()`). */\n @E.state accessor hasTuckedFirst = false\n\n /** The section right after it is closed: that section says so (`onNeighbourChanged()`). */\n @E.state accessor isFollowedByClosed = false\n\n /** Tell the enclosing section whether this one is tucked under its title (`tucks`). */\n @E.onChange(\"isTucked\", \"enclosingSection\", \"isConnected\")\n protected onTuckedChanged(isTucked: boolean, parent: UISection | undefined, isConnected: boolean) {\n if (!isTucked || !parent || !isConnected) return undefined\n parent.hasTuckedFirst = true\n return () => {\n parent.hasTuckedFirst = false\n }\n }\n\n /** Tell the section right before this one whether this one is closed (`joins-below`). */\n @E.onChange(\"previousInStack\", \"isFolded\", \"isConnected\")\n protected onNeighbourChanged(previous: UISection | undefined, isFolded: boolean, isConnected: boolean) {\n if (!previous || !isConnected) return undefined\n previous.isFollowedByClosed = isFolded\n return () => {\n previous.isFollowedByClosed = false\n }\n }\n\n /** Stacked, right after a closed section: no room above it. */\n @E.cssState(\"after-closed\")\n get isAfterClosed(): boolean {\n return this.isStacked && !!this.previousInStack?.isFolded\n }\n\n /** Closed, right after a closed one: in its group, square on top. */\n @E.cssState(\"joins-above\")\n get joinsAbove(): boolean {\n return this.isAfterClosed && this.isFolded\n }\n\n /** Closed, right before a closed one: in its group, square below. */\n @E.cssState(\"joins-below\")\n get joinsBelow(): boolean {\n return this.isStacked && this.isFolded && this.isFollowedByClosed\n }\n\n /**\n * The title's inline tokens: stick offset and nesting depth.\n */\n private get titleStyle(): Record<string, string> {\n return { [STICK_TOP_PROPERTY]: `${this.stickTop}px`, [DEPTH_PROPERTY]: String(this.depth) }\n }\n\n /**\n * Once drawn (`isReady`), while connected and `sticky`: measure the title (for the stack) and watch it stick.\n * - Again whenever its `top` changes; unstuck otherwise.\n * - Returns its stop.\n */\n @E.onChange(\"isReady\", \"isConnected\", \"sticky\", \"stickTop\")\n protected onStickingChanged(\n isReady: boolean,\n isConnected: boolean,\n sticky: boolean | typeof STACK | undefined,\n offset: number\n ) {\n if (!isReady) return undefined\n const { title, sentinel } = this\n if (!isConnected || !sticky || !title || !sentinel) {\n this.stickyWatch.reset()\n return undefined\n }\n const resizes = new ResizeObserver(() => (this.titleHeight = title.getBoundingClientRect().height))\n resizes.observe(title)\n const unwatch = this.stickyWatch.observe({ domElement: this.domElement, top: sentinel, box: title }, { offset })\n return () => {\n resizes.disconnect()\n unwatch()\n }\n }\n\n ////////////////\n // ## Title bar pieces\n ////////////////\n\n /** Which named slots have light-DOM content: icon, badge, hint, actions. */\n readonly slots = new E.SlotContent(this.domElement)\n\n /**\n * `hide-empty`, and nothing in it to see: hidden (`:state(empty)`).\n * - Its content: the default slot's children, as `SlotContent` reads them, so Solid's markers and blank text don't count.\n * - `hide-empty=\"<selector>\"`: only what matches counts.\n */\n @E.cssState(\"empty\")\n get isEmpty(): boolean {\n const hideEmpty = this.hideEmpty\n if (hideEmpty == null) return false\n return isSelector(hideEmpty) ? !this.matchesHideEmpty : !this.slots.hasContent(\"\")\n }\n\n /** Is something in it what `hide-empty=\"<selector>\"` asks for, as its content changes? */\n @E.watches({ childList: true, subtree: true })\n get matchesHideEmpty(): boolean {\n const selector = this.hideEmpty\n return !!selector && isSelector(selector) && !!this.domElement.querySelector(selector)\n }\n\n /** Glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n /** Has an icon (shorthand or `icon` slot)? */\n get hasIcon(): boolean {\n return !!this.icon || this.slots.hasContent(this.slotForName(\"icon\"))\n }\n\n /** Has a badge (shorthand or `badge` slot)? */\n get hasBadge(): boolean {\n return !!this.badge || this.slots.hasContent(this.slotForName(\"badge\"))\n }\n\n /** Title text: `label`. */\n get titleText(): string | undefined {\n return this.label ?? undefined\n }\n\n /** Hint text: `hint`. */\n get hintText(): string | undefined {\n return this.hint ?? undefined\n }\n\n /** Tip text: `description`. */\n get descriptionText(): string | undefined {\n return this.description ?? undefined\n }\n\n /** Has a hint (shorthand, or the `hint` slot)? */\n get hasHint(): boolean {\n return !!this.hintText || this.slots.hasContent(this.slotForName(\"hint\"))\n }\n\n /** Has actions (`actions` slot)? */\n get hasActions(): boolean {\n return this.slots.hasContent(this.slotForName(\"actions\"))\n }\n\n /** Has a description's tip (`description`, or `slot=\"description\"`)? */\n get hasDescription(): boolean {\n return !!this.descriptionText || this.slots.hasContent(this.slotForName(\"description\"))\n }\n\n ////////////////\n // ## Source (`DOMLoadableBodyElement`)\n ////////////////\n\n /** The content from `source`, loaded on first unfold; into the DOM element's light DOM. */\n readonly body = new E.LoadableBody({\n domElement: this.domElement,\n source: () => this.source || undefined,\n select: () => this.selector || undefined,\n target: () => this.domElement,\n send: (name, detail) => this.send(name as never, detail)\n })\n\n /** Content box held closed while the `source` body is on its way (never in a server render: nothing loads). */\n get isVeiled(): boolean {\n return !isServer && !!this.source && this.body.isVeiled\n }\n\n /** Busy: `loading`, or a `source` body slow to arrive. */\n @E.cssState(\"loading\")\n get isLoading(): boolean {\n return !!this.loading || this.body.isBusy\n }\n\n /** The `source` body arrived. */\n @E.cssState(\"loaded\")\n get bodyIsLoaded(): boolean {\n return this.body.loadStatus === E.SourceStatus.loaded\n }\n\n /** The `source` body failed. */\n @E.cssState(\"error\")\n get bodyFailed(): boolean {\n return this.body.loadStatus === E.SourceStatus.error\n }\n\n /** The error line's text, when the `source` body failed; else `undefined`. */\n get bodyFailureText(): string | undefined {\n const failure = this.body.loadError\n if (!failure) return undefined\n const key = E.SOURCE_FAILURE_KEYS[failure.kind] ?? E.SOURCE_FAILURE_KEYS.load\n return this.translationForKey(key as never, { source: this.source ?? \"\" })\n }\n\n /**\n * Load the `source` body whenever the section is unfolded, connected and has one.\n * - `LoadableBody.load()` loads once per `source` + `select`.\n * - An effect, not in `render()`: a subclass drawing its own markup still loads its body.\n */\n @E.onChange(\"source\", \"selector\", \"isFolded\", \"isConnected\")\n protected onBodyWanted(\n source: string | undefined,\n _select: string | undefined,\n isFolded: boolean,\n isConnected: boolean\n ) {\n if (source && !isFolded && isConnected) this.body.load().catch(() => undefined)\n }\n\n /** Fetch and insert the `source` body now, folded or not; once per `source` + `select`. */\n loadBody(): Promise<void> {\n return this.body.load()\n }\n\n /** Fetch the `source` body again past the cache, and replace it. */\n reloadBody(): Promise<void> {\n return this.body.reload()\n }\n\n ////////////////\n // ## Looks\n ////////////////\n\n /** Transitions the fold: styled, in a browser that animates to `auto` heights. */\n @E.cssState(\"animated\")\n get isAnimated(): boolean {\n return this.isReady && UI.browser.supports.interpolateSize\n }\n\n /**\n * Words before the noun:\n * - `scrolling` for `height` without it (`height` implies it)\n * - `loading` while a `source` body is slow to arrive (the `loading` look, over the placeholder)\n */\n protected get extraClass(): string | undefined {\n const scrolling = this.height && !this.scrolling ? SCROLLING : undefined\n const loading = !this.loading && this.body.isBusy ? LOADING : undefined\n return [scrolling, loading].filter(Boolean).join(\" \") || undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <section\n class={this.rootClass}\n part={this.partForName(\"section\")}\n aria-busy={this.isLoading ? \"true\" : undefined}\n >\n <div ref={(element) => (this.sentinel = element)} class={SENTINEL} aria-hidden=\"true\" />\n {this.titleBar()}\n <Show when={this.hasHint}>\n <div class={SUBHEAD} part={this.partForName(\"subhead\")}>\n <slot name={this.slotForName(\"hint\")}>{this.hintText}</slot>\n </div>\n </Show>\n <div\n ref={this.disclosure.revealOnMatch}\n id={CONTENT_ID}\n class={UIT.CONTENT}\n part={this.partForName(\"content\")}\n hidden={this.isFolded || this.isVeiled ? \"until-found\" : undefined}\n tabindex={this.contentScrolls ? 0 : undefined}\n style={this.contentStyle}\n >\n <Show when={this.bodyFailureText}>\n <p class={SOURCE_ERROR} part={this.partForName(\"error\")} role=\"alert\">\n {this.bodyFailureText}\n </p>\n </Show>\n {this.contentStart()}\n <slot />\n </div>\n <Show when={this.isLoading}>\n <span class={UIT.VISUALLY_HIDDEN} role=\"status\">\n {this.translationForKey(\"loading\")}\n </span>\n </Show>\n </section>\n )\n }\n\n /** Drawn at the end of the title bar, after the actions: for a subclass (a property group's output); nothing here. */\n protected titleBarEnd(): JSX.Element {\n return undefined\n }\n\n /** The content box's inline style: its `height`; a subclass may add its own (a property group's columns). */\n protected get contentStyle(): Record<string, string> | undefined {\n return this.height ? { [HEIGHT_PROPERTY]: this.height } : undefined\n }\n\n /** Drawn first in the content, before the slot: for a subclass (a property group's error); nothing here. */\n protected contentStart(): JSX.Element {\n return undefined\n }\n\n /** `<header class=\"title\">`: the heading around the toggle, then the badge and actions. */\n private titleBar(): JSX.Element {\n return (\n <header\n ref={(element) => {\n this.title = element\n E.TopLayerTip.showIn(element, TIP_TRIGGERS)\n }}\n class={UIT.TITLE}\n part={this.partForName(\"title\")}\n style={this.titleStyle}\n >\n <Dynamic\n component={`h${this.headingLevel}`}\n class={HEADING}\n part={this.partForName(\"heading\")}\n aria-describedby={this.hasDescription && !this.isCollapsible ? TIP_ID : undefined}\n >\n <Dynamic\n component={this.isCollapsible ? \"button\" : \"span\"}\n type={this.isCollapsible ? \"button\" : undefined}\n class={TOGGLE}\n part={this.partForName(\"toggle\")}\n aria-expanded={this.isCollapsible ? this.disclosure.ariaExpanded : undefined}\n aria-controls={this.isCollapsible ? CONTENT_ID : undefined}\n title={this.isCollapsible ? this.toggleTip : undefined}\n disabled={this.isCollapsible && this.disabled ? true : undefined}\n aria-describedby={this.hasDescription && this.isCollapsible ? TIP_ID : undefined}\n onClick={this.onToggleClick}\n >\n <Show when={this.isCollapsible && !this.foldIconIsAtEnd}>{this.foldChevron()}</Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <span class={UIT.HEADER} part={this.partForName(\"header\")}>\n <slot name={this.slotForName(\"label\")}>{this.titleText}</slot>\n </span>\n </Dynamic>\n </Dynamic>\n <Show when={this.hasBadge}>\n <span class={BADGE} part={this.partForName(\"badge\")}>\n <slot name={this.slotForName(\"badge\")}>{this.badge}</slot>\n </span>\n </Show>\n <Show when={this.hasActions}>\n <span class={ACTIONS} part={this.partForName(\"actions\")}>\n <slot name={this.slotForName(\"actions\")} />\n </span>\n </Show>\n {this.titleBarEnd()}\n <Show when={this.isCollapsible && this.foldIconIsAtEnd}>{this.foldChevron(this.onFoldIconClick)}</Show>\n <Show when={this.hasDescription}>\n <span id={TIP_ID} class={TIP} part={this.partForName(\"tip\")} role=\"tooltip\">\n <slot name={this.slotForName(\"description\")}>{this.descriptionText}</slot>\n </span>\n </Show>\n </header>\n )\n }\n\n /**\n * The fold chevron, `aria-hidden` (the button is the control):\n * in the button, or at the bar's end with `onClick`, where it takes the button's tooltip too.\n */\n private foldChevron(onClick?: (event: MouseEvent) => void): JSX.Element {\n return (\n <span\n class={FOLD_ICON_CLASS}\n part={this.partForName(\"fold-icon\")}\n aria-hidden=\"true\"\n title={onClick ? this.toggleTip : undefined}\n onClick={onClick}\n >\n {this.foldGlyph.svg}\n </span>\n )\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISection extends E.AttributeValues<SectionVocabulary> {}\n\n/** Where a nested section stands among its enclosing section's (`stackPlaces`). */\ntype StackPlace = {\n /** the nested section's DOM element */\n element: Element\n /** nothing drawn before it in its enclosing section */\n isFirst: boolean\n /** the nested section right before it, nothing drawn between */\n previous: Element | undefined\n}\n\n/** Do `a` and `b` say the same of the same sections? */\nfunction isSameStack(a: StackPlace[], b: StackPlace[]): boolean {\n return (\n a.length === b.length &&\n a.every(\n (place, index) =>\n place.element === b[index]!.element &&\n place.isFirst === b[index]!.isFirst &&\n place.previous === b[index]!.previous\n )\n )\n}\n\n/** The sections nested directly in `host` (its own tag, none between), each with where it stands. */\nfunction stackPlacesIn(host: Element): StackPlace[] {\n const tag = host.localName\n const nested = [...host.querySelectorAll(tag)].filter((element) => element.parentElement?.closest(tag) === host)\n return nested.map((element, index) => {\n const before = nested[index - 1]\n return {\n element,\n isFirst: isDrawnFirst(element, host),\n previous: before && isRightAfter(element, before, host) ? before : undefined\n }\n })\n}\n\n/** Is `element` inside `outer` with no other element of a set (a tag with a `-`) between them? */\nfunction isRightInside(element: Element, outer: Element): boolean {\n for (let node = element.parentElement; node && node !== outer; node = node.parentElement)\n if (node.localName.includes(\"-\")) return false\n return true\n}\n\n/** Is nothing drawn before `element` in `host`? Named slots (a title's actions) and empty wrappers draw nothing. */\nfunction isDrawnFirst(element: Element, host: Element): boolean {\n for (let node: Element | null = element; node && node !== host; node = node.parentElement)\n for (let sibling = node.previousSibling; sibling; sibling = sibling.previousSibling)\n if (!drawsNothing(sibling)) return false\n return true\n}\n\n/** Is `element` right after `before` in `host`, nothing drawn between them? */\nfunction isRightAfter(element: Element, before: Element, host: Element): boolean {\n for (let node: Element | null = element; node && node !== host; node = node.parentElement)\n for (let sibling = node.previousSibling; sibling; sibling = sibling.previousSibling) {\n if (sibling === before || sibling.contains(before)) return isDrawnLast(before, sibling)\n if (!drawsNothing(sibling)) return false\n }\n return false\n}\n\n/** Is nothing drawn after `element` inside `outer` (`element` itself, or an element holding it)? */\nfunction isDrawnLast(element: Element, outer: Node): boolean {\n for (let node: Element | null = element; node && node !== outer; node = node.parentElement)\n for (let sibling = node.nextSibling; sibling; sibling = sibling.nextSibling)\n if (!drawsNothing(sibling)) return false\n return true\n}\n\n/** Does `node` draw nothing: white space, a comment, an element in a named slot, or one with nothing in it? */\nfunction drawsNothing(node: Node): boolean {\n if (node.nodeType === COMMENT_NODE) return true\n if (node.nodeType === TEXT_NODE) return !node.textContent?.trim()\n const element = node as Element\n if (element.hasAttribute(\"slot\")) return true\n return !element.firstElementChild && !element.textContent?.trim()\n}\n\n/** Node types, by number: a server render has no `Node`. */\nconst TEXT_NODE = 3\nconst COMMENT_NODE = 8\n\n/** `sticky`'s value that stacks its titles as bars: `sticky=\"stack\"`. */\nconst STACK = \"stack\"\n\n/** Glyph of the fold button (rotated by CSS while folded). */\nconst FOLD_ICON = \"chevron down\"\n\n/** Class word of the 1px sentinel before the title, which `StickyWatch` observes with `sticky`. */\nconst SENTINEL = \"sentinel\"\n\n/** The fold button, in the shadow root: where a click's path stops counting as one on a control in the title. */\nconst TOGGLE_BUTTON = \"button.toggle\"\n\n/** Private custom property of a title's nesting depth (0 at the top), inline: deeper titles slide under. */\nconst DEPTH_PROPERTY = \"--_ui-section-depth\"\n\n/** Class words of the line saying a `source` body failed (`part=\"error\"`, inside the content box). */\nconst SOURCE_ERROR = \"source error\"\n\n/** Class word before the noun while a `source` body is slow to arrive: the `loading` look. */\nconst LOADING = \"loading\"\n\n/** Heading level of a top-level section: under the page's `h1`. */\nconst TOP_LEVEL = 2\n\n/** Deepest heading level: `h6`. */\nconst MAX_LEVEL = 6\n\n/** Class word and part of the heading (`<hN>`). */\nconst HEADING = \"heading\"\n\n/** Class word and part of the toggle: the fold button, or a plain box when the section can't fold. */\nconst TOGGLE = \"toggle\"\n\n/** Class words of the fold chevron. */\nconst FOLD_ICON_CLASS = \"fold icon\"\n\n/** Class word and part of the badge pill. */\nconst BADGE = \"badge\"\n\n/** Class word and part of the actions box. */\nconst ACTIONS = \"actions\"\n\n/** Class word and part of the hint (its old name, kept as the CSS hook). */\nconst SUBHEAD = \"subhead\"\n\n/** Class word and part of the description's tip. */\nconst TIP = \"tip\"\n\n/** Class word `height` adds before the noun when `scrolling` isn't set: `height` implies scrolling. */\nconst SCROLLING = \"scrolling\"\n\n/** What shows the description's tip: the heading, and a chevron at the bar's end. */\nconst TIP_TRIGGERS = \".heading, .fold.icon\"\n\n/** `id` of the description's tip, which the fold button (else the heading) is described by. */\nconst TIP_ID = \"tip\"\n\n/** `id` of the content box, which the fold button's `aria-controls` names. */\nconst CONTENT_ID = \"content\"\n\n/**\n * Private custom property the content box reads for `height`:\n * inline, so the attribute wins over the page's `--ui-section-scrolling-height`.\n */\nconst HEIGHT_PROPERTY = \"--_ui-section-height\"\n\n/**\n * Private custom property the sticky title reads for its `top`, inline:\n * the top-level `offset`, or the stack of enclosing sticky titles above it, in pixels.\n */\nconst STICK_TOP_PROPERTY = \"--_ui-section-top\"\n\n/** Is `hide-empty`'s value a selector, not just there (`\"\"`, `\"true\"`)? */\nfunction isSelector(value: string): boolean {\n return !!value && value !== \"true\"\n}\n","/**\n * The section family: defines `<ui-sections>` and `<ui-section>`,\n * and exports their components, `UISections` and `UISection`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-section` entry (its size is in `notes/report.md`).\n * - The group is defined FIRST: a group already in the page then has its component\n * when its sections upgrade and look it up.\n * - Both own `section` parts: a nested `<ui-section>` finds the section or group around it through `PartContext`\n * (for its level, depth, sticky stack and default `collapsible`).\n */\n\nimport { UISections } from \"./UISections\"\nimport { UISection } from \"./UISection\"\n\nUISections.define()\nUISection.define()\n\nexport { UISection, UISections }\n"],"mappings":";;;;;AAgBA,IAAa2H,KAAqB;CAChC,KAAK;CACL,MAAM;CACN,QAAQ,CAAC,UAAU,YAAY;CAC/B,KAAK;EAAC;EAAa;EAAiB;EAAqB;CAAS;CAClE,MAAM;CACN,cAAc;CACd,aACE;CACF,YAAY,CACV;EACE,MAAM;EACN,OAAO;EACP,MAAM;EACN,aACE;CAEJ,CACF;CACA,QAAQ,CAAC;CACT,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAA8C,CAAC;CAChF,OAAO,CAAC;EAAE,MAAM;EAAS,aAAa;CAAiB,CAAC;CACxD,QAAQ,CACN;EAAE,MAAM;EAAc,aAAa;CAAoB,GACvD;EAAE,MAAM;EAAe,aAAa;CAAkC,CACxE;CACA,OAAO,CAAC;CACR,WAAW,CAAC,SAAS;AACvB,GCbaC,IAAoB;CAC/B,KAAK;CACL,MAAM;CACN,SAAS;CACT,QAAQ,CAAC,UAAU,YAAY;CAC/B,KAAK;EAAC;EAAW;EAAS;EAAe;EAAc;EAAY;CAAU;CAE7E,UAAU;CACV,MAAM;CACN,cAAc;CACd,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAK;IAAK;IAAK;IAAK;IAAK;GAAG;GACrC,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GAC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