spell-ui 0.8.9 → 0.8.11

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 (1168) 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 +32 -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 +35 -3
  207. package/dist/components/ui-modal/UIModal.d.ts +6 -0
  208. package/dist/components/ui-modal/UIModal.en.d.ts +6 -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 +4 -3
  237. package/dist/components/ui-parts/UIHeader.en.d.ts +4 -3
  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 +18 -5
  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/ToastStack.d.ts +9 -0
  364. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  365. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  366. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  367. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  368. package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
  369. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
  370. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
  371. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  372. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  373. package/dist/components/ui-tree/UITree.d.ts +102 -2
  374. package/dist/components/ui-tree/UITree.en.d.ts +14 -1
  375. package/dist/components/ui-tree/UITree.es.d.ts +3 -0
  376. package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
  377. package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
  378. package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
  379. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
  380. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
  381. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
  382. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
  383. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  384. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  385. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  386. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  387. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  388. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  389. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  390. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  391. package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
  392. package/dist/components.es-DEa8Ep42.js.map +1 -0
  393. package/dist/core.js +795 -702
  394. package/dist/core.js.map +1 -1
  395. package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
  396. package/dist/crisp-DIpY320U.js.map +1 -0
  397. package/dist/crisp.theme-Ir9p4BDC.js +5 -0
  398. package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
  399. package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
  400. package/dist/dark-B5s4QbmU.js.map +1 -0
  401. package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
  402. package/dist/dist-BQT4KajA.js.map +1 -0
  403. package/dist/docs-components/docs-components.types.d.ts +6 -0
  404. package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
  405. package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
  406. package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
  407. package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
  408. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
  409. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
  410. package/dist/elements/PartComponent.d.ts +5 -0
  411. package/dist/elements/PopoverPanel.d.ts +12 -1
  412. package/dist/elements/Validator.d.ts +1 -1
  413. package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
  414. package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
  415. package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
  416. package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
  417. package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
  418. package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
  419. package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
  420. package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
  421. package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
  422. package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
  423. package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
  424. package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
  425. package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
  426. package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
  427. package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
  428. package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
  429. package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
  430. package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
  431. package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
  432. package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
  433. package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
  434. package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
  435. package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
  436. package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
  437. package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
  438. package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
  439. package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
  440. package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
  441. package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
  442. package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
  443. package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
  444. package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
  445. package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
  446. package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
  447. package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
  448. package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
  449. package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
  450. package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
  451. package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
  452. package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
  453. package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
  454. package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
  455. package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
  456. package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
  457. package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
  458. package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
  459. package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
  460. package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
  461. package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
  462. package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
  463. package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
  464. package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
  465. package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
  466. package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
  467. package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
  468. package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
  469. package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
  470. package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
  471. package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
  472. package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
  473. package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
  474. package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
  475. package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
  476. package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
  477. package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
  478. package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
  479. package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
  480. package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
  481. package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
  482. package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
  483. package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
  484. package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
  485. package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
  486. package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
  487. package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
  488. package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
  489. package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
  490. package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
  491. package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
  492. package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
  493. package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
  494. package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
  495. package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
  496. package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
  497. package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
  498. package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
  499. package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
  500. package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
  501. package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
  502. package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
  503. package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
  504. package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
  505. package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
  506. package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
  507. package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
  508. package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
  509. package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
  510. package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
  511. package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
  512. package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
  513. package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
  514. package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
  515. package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
  516. package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
  517. package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
  518. package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
  519. package/dist/forms.js +65 -75
  520. package/dist/forms.js.map +1 -1
  521. package/dist/fruity-CsfZNeXb.js +5 -0
  522. package/dist/fruity-CsfZNeXb.js.map +1 -0
  523. package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
  524. package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
  525. package/dist/glass-BCK30hpe.js +5 -0
  526. package/dist/glass-BCK30hpe.js.map +1 -0
  527. package/dist/glass.theme-C7QSRB7b.js +5 -0
  528. package/dist/glass.theme-C7QSRB7b.js.map +1 -0
  529. package/dist/hot.js +18 -32
  530. package/dist/hot.js.map +1 -1
  531. package/dist/index.d.ts +5 -0
  532. package/dist/index.js +96 -91
  533. package/dist/jsx.d.ts +3875 -711
  534. package/dist/matrix-DEnqBfwC.js +5 -0
  535. package/dist/matrix-DEnqBfwC.js.map +1 -0
  536. package/dist/matrix.theme-YV6_nvXv.js +5 -0
  537. package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
  538. package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
  539. package/dist/merlot-DFa6kDbA.js.map +1 -0
  540. package/dist/merlot.theme-B1K8nn2u.js +5 -0
  541. package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
  542. package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
  543. package/dist/midnight-q0-3-V6U.js.map +1 -0
  544. package/dist/midnight.theme-C7M02wTD.js +5 -0
  545. package/dist/midnight.theme-C7M02wTD.js.map +1 -0
  546. package/dist/mockup-D0vovNO7.js +5 -0
  547. package/dist/mockup-D0vovNO7.js.map +1 -0
  548. package/dist/mockup.theme-C92r9NI0.js +5 -0
  549. package/dist/mockup.theme-C92r9NI0.js.map +1 -0
  550. package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
  551. package/dist/paper-DPxolmdy.js.map +1 -0
  552. package/dist/paper.theme-BAKk3DY1.js +5 -0
  553. package/dist/paper.theme-BAKk3DY1.js.map +1 -0
  554. package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
  555. package/dist/persist.types-D7N7GewC.js.map +1 -0
  556. package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
  557. package/dist/pop-Dw_6k177.js.map +1 -0
  558. package/dist/pop.theme-Cw-yD0MO.js +5 -0
  559. package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
  560. package/dist/property/PropertyEditorPages.d.ts +1 -1
  561. package/dist/property/PropertyLayouts.d.ts +119 -0
  562. package/dist/property/PropertySchemas.d.ts +5 -1
  563. package/dist/property/index.d.ts +2 -0
  564. package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
  565. package/dist/runtime/Browser.d.ts +7 -0
  566. package/dist/runtime/DataTooltips.d.ts +2 -0
  567. package/dist/runtime/Keyboard.d.ts +4 -1
  568. package/dist/runtime/Toasts.d.ts +10 -0
  569. package/dist/runtime/runtime.types.d.ts +52 -0
  570. package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
  571. package/dist/search-C2Rq9HF1.js.map +1 -0
  572. package/dist/spell-CB-MivSX.js +5 -0
  573. package/dist/spell-CB-MivSX.js.map +1 -0
  574. package/dist/spell.theme-CUoc5rTq.js +5 -0
  575. package/dist/spell.theme-CUoc5rTq.js.map +1 -0
  576. package/dist/styles/StyleGenerator.d.ts +7 -0
  577. package/dist/styles/styles.en.d.ts +27 -18
  578. package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
  579. package/dist/styles.en-DZlSJiOR.js.map +1 -0
  580. package/dist/styles.js +9 -10
  581. package/dist/styles.js.map +1 -1
  582. package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
  583. package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
  584. package/dist/ui-accordion.js +59 -60
  585. package/dist/ui-accordion.js.map +1 -1
  586. package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
  587. package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
  588. package/dist/ui-action.js +73 -45
  589. package/dist/ui-action.js.map +1 -1
  590. package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
  591. package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
  592. package/dist/ui-ad.editor-BHTDuSii.js +5 -0
  593. package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
  594. package/dist/ui-ad.js +8 -9
  595. package/dist/ui-ad.js.map +1 -1
  596. package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
  597. package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
  598. package/dist/ui-app-menu.js +89 -0
  599. package/dist/ui-app-menu.js.map +1 -0
  600. package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
  601. package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
  602. package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
  603. package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
  604. package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
  605. package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
  606. package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
  607. package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
  608. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
  609. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
  610. package/dist/ui-breadcrumbs.js +18 -17
  611. package/dist/ui-breadcrumbs.js.map +1 -1
  612. package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
  613. package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
  614. package/dist/ui-button.js +157 -156
  615. package/dist/ui-button.js.map +1 -1
  616. package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
  617. package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
  618. package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
  619. package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
  620. package/dist/ui-calendar.js +148 -157
  621. package/dist/ui-calendar.js.map +1 -1
  622. package/dist/ui-card.editor-BBZj9e03.js +5 -0
  623. package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
  624. package/dist/ui-card.js +70 -70
  625. package/dist/ui-card.js.map +1 -1
  626. package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
  627. package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
  628. package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
  629. package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
  630. package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
  631. package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
  632. package/dist/ui-checkbox.js +49 -48
  633. package/dist/ui-checkbox.js.map +1 -1
  634. package/dist/ui-code.editor-Drr_FVB6.js +5 -0
  635. package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
  636. package/dist/ui-code.js +116 -79
  637. package/dist/ui-code.js.map +1 -1
  638. package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
  639. package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
  640. package/dist/ui-column.editor-hdUb-qwT.js +5 -0
  641. package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
  642. package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
  643. package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
  644. package/dist/ui-comment.js +15 -14
  645. package/dist/ui-comment.js.map +1 -1
  646. package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
  647. package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
  648. package/dist/ui-components.editor-BKFXnARt.js +5 -0
  649. package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
  650. package/dist/ui-components.js +12 -13
  651. package/dist/ui-components.js.map +1 -1
  652. package/dist/ui-container.editor-CBNhNkRm.js +5 -0
  653. package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
  654. package/dist/ui-container.js +106 -21
  655. package/dist/ui-container.js.map +1 -1
  656. package/dist/ui-content.editor-B78lxK3P.js +5 -0
  657. package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
  658. package/dist/ui-date.editor-PHEnU7QX.js +5 -0
  659. package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
  660. package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
  661. package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
  662. package/dist/ui-detail.editor-wliuVbx3.js +5 -0
  663. package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
  664. package/dist/ui-device.editor-kl48NVma.js +5 -0
  665. package/dist/ui-device.editor-kl48NVma.js.map +1 -0
  666. package/dist/ui-device.js +436 -0
  667. package/dist/ui-device.js.map +1 -0
  668. package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
  669. package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
  670. package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
  671. package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
  672. package/dist/ui-diagram.js +128 -129
  673. package/dist/ui-diagram.js.map +1 -1
  674. package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
  675. package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
  676. package/dist/ui-dimension.js +111 -12
  677. package/dist/ui-dimension.js.map +1 -1
  678. package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
  679. package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
  680. package/dist/ui-dimmer.js +29 -30
  681. package/dist/ui-dimmer.js.map +1 -1
  682. package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
  683. package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
  684. package/dist/ui-divider.js +9 -10
  685. package/dist/ui-divider.js.map +1 -1
  686. package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
  687. package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
  688. package/dist/ui-dropdown.js +155 -156
  689. package/dist/ui-dropdown.js.map +1 -1
  690. package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
  691. package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
  692. package/dist/ui-embed.js +23 -24
  693. package/dist/ui-embed.js.map +1 -1
  694. package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
  695. package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
  696. package/dist/ui-emoji.js +63 -64
  697. package/dist/ui-emoji.js.map +1 -1
  698. package/dist/ui-event.editor-Bk17y7wW.js +5 -0
  699. package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
  700. package/dist/ui-example.editor-D46Vnctp.js +5 -0
  701. package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
  702. package/dist/ui-example.js +67 -74
  703. package/dist/ui-example.js.map +1 -1
  704. package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
  705. package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
  706. package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
  707. package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
  708. package/dist/ui-feed.js +26 -25
  709. package/dist/ui-feed.js.map +1 -1
  710. package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
  711. package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
  712. package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
  713. package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
  714. package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
  715. package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
  716. package/dist/ui-flag.js +13 -14
  717. package/dist/ui-flag.js.map +1 -1
  718. package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
  719. package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
  720. package/dist/ui-flyout.js +10 -11
  721. package/dist/ui-flyout.js.map +1 -1
  722. package/dist/ui-form.editor-BJC3WhNf.js +5 -0
  723. package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
  724. package/dist/ui-form.js +199 -195
  725. package/dist/ui-form.js.map +1 -1
  726. package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
  727. package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
  728. package/dist/ui-grid.js +43 -234
  729. package/dist/ui-grid.js.map +1 -1
  730. package/dist/ui-header.editor-meOjCASK.js +5 -0
  731. package/dist/ui-header.editor-meOjCASK.js.map +1 -0
  732. package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
  733. package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
  734. package/dist/ui-icon-picker.js +64 -69
  735. package/dist/ui-icon-picker.js.map +1 -1
  736. package/dist/ui-icon.editor-DoKK49PD.js +5 -0
  737. package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
  738. package/dist/ui-icon.js +15 -14
  739. package/dist/ui-icon.js.map +1 -1
  740. package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
  741. package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
  742. package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
  743. package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
  744. package/dist/ui-image.js +26 -26
  745. package/dist/ui-image.js.map +1 -1
  746. package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
  747. package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
  748. package/dist/ui-include.editor-CZcsVJbH.js +5 -0
  749. package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
  750. package/dist/ui-include.js +21 -22
  751. package/dist/ui-include.js.map +1 -1
  752. package/dist/ui-input.editor-budoNoB0.js +5 -0
  753. package/dist/ui-input.editor-budoNoB0.js.map +1 -0
  754. package/dist/ui-input.js +131 -130
  755. package/dist/ui-input.js.map +1 -1
  756. package/dist/ui-item.editor-BlWp1HXu.js +5 -0
  757. package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
  758. package/dist/ui-item.js +127 -113
  759. package/dist/ui-item.js.map +1 -1
  760. package/dist/ui-items.editor-GOul3Xss.js +5 -0
  761. package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
  762. package/dist/ui-items.js +11 -12
  763. package/dist/ui-items.js.map +1 -1
  764. package/dist/ui-json.editor-BgZbrB_W.js +5 -0
  765. package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
  766. package/dist/ui-json.js +18 -19
  767. package/dist/ui-json.js.map +1 -1
  768. package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
  769. package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
  770. package/dist/ui-keys.js +2 -3
  771. package/dist/ui-label.editor-BVUYLSUs.js +5 -0
  772. package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
  773. package/dist/ui-label.js +22 -22
  774. package/dist/ui-label.js.map +1 -1
  775. package/dist/ui-labels.editor-BWJth86p.js +5 -0
  776. package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
  777. package/dist/ui-link.editor-CpI53scP.js +5 -0
  778. package/dist/ui-link.editor-CpI53scP.js.map +1 -0
  779. package/dist/ui-list.editor-DhBZIkAa.js +5 -0
  780. package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
  781. package/dist/ui-list.js +9 -10
  782. package/dist/ui-list.js.map +1 -1
  783. package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
  784. package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
  785. package/dist/ui-loader.js +10 -11
  786. package/dist/ui-loader.js.map +1 -1
  787. package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
  788. package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
  789. package/dist/ui-markdown.js +208 -154
  790. package/dist/ui-markdown.js.map +1 -1
  791. package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
  792. package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
  793. package/dist/ui-menu.js +815 -223
  794. package/dist/ui-menu.js.map +1 -1
  795. package/dist/ui-message.editor-vfT0pyu5.js +5 -0
  796. package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
  797. package/dist/ui-message.js +32 -33
  798. package/dist/ui-message.js.map +1 -1
  799. package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
  800. package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
  801. package/dist/ui-modal.editor-B6gmmGsR.js +5 -0
  802. package/dist/ui-modal.editor-B6gmmGsR.js.map +1 -0
  803. package/dist/ui-modal.js +128 -99
  804. package/dist/ui-modal.js.map +1 -1
  805. package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
  806. package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
  807. package/dist/ui-nag.js +23 -24
  808. package/dist/ui-nag.js.map +1 -1
  809. package/dist/ui-or.editor-BfBLNVgm.js +5 -0
  810. package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
  811. package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
  812. package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
  813. package/dist/ui-page-layout.js +363 -0
  814. package/dist/ui-page-layout.js.map +1 -0
  815. package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
  816. package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
  817. package/dist/ui-page.js +11 -12
  818. package/dist/ui-page.js.map +1 -1
  819. package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
  820. package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
  821. package/dist/ui-panel.js +105 -27
  822. package/dist/ui-panel.js.map +1 -1
  823. package/dist/ui-parts.js +83 -68
  824. package/dist/ui-parts.js.map +1 -1
  825. package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
  826. package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
  827. package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
  828. package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
  829. package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
  830. package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
  831. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
  832. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
  833. package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
  834. package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
  835. package/dist/ui-placeholder.js +23 -19
  836. package/dist/ui-placeholder.js.map +1 -1
  837. package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
  838. package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
  839. package/dist/ui-popup.js +107 -100
  840. package/dist/ui-popup.js.map +1 -1
  841. package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
  842. package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
  843. package/dist/ui-progress.js +23 -24
  844. package/dist/ui-progress.js.map +1 -1
  845. package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
  846. package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
  847. package/dist/ui-property-editor.js +649 -277
  848. package/dist/ui-property-editor.js.map +1 -1
  849. package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
  850. package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
  851. package/dist/ui-property.editor-BC-jtjjt.js +5 -0
  852. package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
  853. package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
  854. package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
  855. package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
  856. package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
  857. package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
  858. package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
  859. package/dist/ui-quote.js +8 -9
  860. package/dist/ui-quote.js.map +1 -1
  861. package/dist/ui-radio.editor-DPzActfO.js +5 -0
  862. package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
  863. package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
  864. package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
  865. package/dist/ui-rail.js +11 -12
  866. package/dist/ui-rail.js.map +1 -1
  867. package/dist/ui-rating.editor-C19syymj.js +5 -0
  868. package/dist/ui-rating.editor-C19syymj.js.map +1 -0
  869. package/dist/ui-rating.js +40 -49
  870. package/dist/ui-rating.js.map +1 -1
  871. package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
  872. package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
  873. package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
  874. package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
  875. package/dist/ui-reveal.js +10 -11
  876. package/dist/ui-reveal.js.map +1 -1
  877. package/dist/ui-root.editor-CAokPDVa.js +5 -0
  878. package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
  879. package/dist/ui-root.js +206 -102
  880. package/dist/ui-root.js.map +1 -1
  881. package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
  882. package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
  883. package/dist/ui-search.editor-CtzfYgNu.js +5 -0
  884. package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
  885. package/dist/ui-search.js +143 -146
  886. package/dist/ui-search.js.map +1 -1
  887. package/dist/ui-section.editor-DmNICxCs.js +5 -0
  888. package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
  889. package/dist/ui-section.js +74 -73
  890. package/dist/ui-section.js.map +1 -1
  891. package/dist/ui-sections.editor-BxXECGv9.js +5 -0
  892. package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
  893. package/dist/ui-segment.editor-CebyLPFn.js +5 -0
  894. package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
  895. package/dist/ui-segment.js +43 -43
  896. package/dist/ui-segment.js.map +1 -1
  897. package/dist/ui-segments.editor-CSumzMa5.js +5 -0
  898. package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
  899. package/dist/ui-select.editor-wAcZzvU7.js +5 -0
  900. package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
  901. package/dist/ui-select.js +86 -87
  902. package/dist/ui-select.js.map +1 -1
  903. package/dist/ui-shape.editor-By9-8aD2.js +5 -0
  904. package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
  905. package/dist/ui-shape.js +39 -38
  906. package/dist/ui-shape.js.map +1 -1
  907. package/dist/ui-side.editor-CFSqGHGH.js +5 -0
  908. package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
  909. package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
  910. package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
  911. package/dist/ui-sidebar.js +79 -77
  912. package/dist/ui-sidebar.js.map +1 -1
  913. package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
  914. package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
  915. package/dist/ui-sides.js +25 -26
  916. package/dist/ui-sides.js.map +1 -1
  917. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
  918. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
  919. package/dist/ui-site-breadcrumbs.js +143 -0
  920. package/dist/ui-site-breadcrumbs.js.map +1 -0
  921. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
  922. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
  923. package/dist/ui-site-nav-button.js +113 -0
  924. package/dist/ui-site-nav-button.js.map +1 -0
  925. package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
  926. package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
  927. package/dist/ui-site-nav.js +133 -97
  928. package/dist/ui-site-nav.js.map +1 -1
  929. package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
  930. package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
  931. package/dist/ui-site-tabs.js +53 -48
  932. package/dist/ui-site-tabs.js.map +1 -1
  933. package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
  934. package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
  935. package/dist/ui-slider.js +37 -38
  936. package/dist/ui-slider.js.map +1 -1
  937. package/dist/ui-space.editor-s-XVWFBN.js +5 -0
  938. package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
  939. package/dist/ui-space.js +9 -10
  940. package/dist/ui-space.js.map +1 -1
  941. package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
  942. package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
  943. package/dist/ui-split-panel.js +107 -68
  944. package/dist/ui-split-panel.js.map +1 -1
  945. package/dist/ui-stack.editor-D69Fky6H.js +5 -0
  946. package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
  947. package/dist/ui-stack.js +12 -13
  948. package/dist/ui-stack.js.map +1 -1
  949. package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
  950. package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
  951. package/dist/ui-statistic.js +28 -27
  952. package/dist/ui-statistic.js.map +1 -1
  953. package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
  954. package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
  955. package/dist/ui-step.editor-CYmNXrk_.js +5 -0
  956. package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
  957. package/dist/ui-step.js +62 -61
  958. package/dist/ui-step.js.map +1 -1
  959. package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
  960. package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
  961. package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
  962. package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
  963. package/dist/ui-sticky.js +10 -11
  964. package/dist/ui-sticky.js.map +1 -1
  965. package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
  966. package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
  967. package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
  968. package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
  969. package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
  970. package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
  971. package/dist/ui-tab.js +115 -117
  972. package/dist/ui-tab.js.map +1 -1
  973. package/dist/ui-table.editor-DJvfg9oG.js +5 -0
  974. package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
  975. package/dist/ui-table.js +272 -272
  976. package/dist/ui-table.js.map +1 -1
  977. package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
  978. package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
  979. package/dist/ui-term.editor-BMCF3jBM.js +5 -0
  980. package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
  981. package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
  982. package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
  983. package/dist/ui-terms.js +13 -12
  984. package/dist/ui-terms.js.map +1 -1
  985. package/dist/ui-text.editor-B6AENK13.js +5 -0
  986. package/dist/ui-text.editor-B6AENK13.js.map +1 -0
  987. package/dist/ui-text.js +37 -36
  988. package/dist/ui-text.js.map +1 -1
  989. package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
  990. package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
  991. package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
  992. package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
  993. package/dist/ui-theme-editor.js +448 -461
  994. package/dist/ui-theme-editor.js.map +1 -1
  995. package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
  996. package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
  997. package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
  998. package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
  999. package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
  1000. package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
  1001. package/dist/ui-title.editor-40PZSOpn.js +5 -0
  1002. package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
  1003. package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
  1004. package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
  1005. package/dist/ui-toast.js +141 -139
  1006. package/dist/ui-toast.js.map +1 -1
  1007. package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
  1008. package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
  1009. package/dist/ui-toc.js +52 -53
  1010. package/dist/ui-toc.js.map +1 -1
  1011. package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
  1012. package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
  1013. package/dist/ui-toolbar.js +254 -50
  1014. package/dist/ui-toolbar.js.map +1 -1
  1015. package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
  1016. package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
  1017. package/dist/ui-transition.js +13 -14
  1018. package/dist/ui-transition.js.map +1 -1
  1019. package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
  1020. package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
  1021. package/dist/ui-tree-diagram.js +128 -127
  1022. package/dist/ui-tree-diagram.js.map +1 -1
  1023. package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
  1024. package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
  1025. package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
  1026. package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
  1027. package/dist/ui-tree.editor-BoQztwdz.js +5 -0
  1028. package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
  1029. package/dist/ui-tree.js +393 -134
  1030. package/dist/ui-tree.js.map +1 -1
  1031. package/dist/ui-value.editor-CYak24cr.js +5 -0
  1032. package/dist/ui-value.editor-CYak24cr.js.map +1 -0
  1033. package/dist/ui-video.editor-CuWtFVjR.js +5 -0
  1034. package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
  1035. package/dist/ui-video.js +15 -14
  1036. package/dist/ui-video.js.map +1 -1
  1037. package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
  1038. package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
  1039. package/dist/ui-visibility.js +25 -26
  1040. package/dist/ui-visibility.js.map +1 -1
  1041. package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
  1042. package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
  1043. package/dist/ui-zoom.js +82 -83
  1044. package/dist/ui-zoom.js.map +1 -1
  1045. package/dist/util/TopLayerTip.d.ts +11 -2
  1046. package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
  1047. package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
  1048. package/dist/vocabulary/help.generated.d.ts +11 -0
  1049. package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
  1050. package/package.json +3 -3
  1051. package/dist/Dragging-CMZoLEWQ.js.map +0 -1
  1052. package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
  1053. package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
  1054. package/dist/PrefStore-Qv0e5y04.js.map +0 -1
  1055. package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
  1056. package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
  1057. package/dist/SitePages-CciwREek.js.map +0 -1
  1058. package/dist/SlottedItems-Du3aJwG1.js +0 -80
  1059. package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
  1060. package/dist/UIButton-DFEds67r.js +0 -6
  1061. package/dist/UIButton-DFEds67r.js.map +0 -1
  1062. package/dist/UIInput-BodVbUoQ.js.map +0 -1
  1063. package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
  1064. package/dist/UILabel-DgJUBzB_.js.map +0 -1
  1065. package/dist/UIMenu-zdcAtwTa.js +0 -42
  1066. package/dist/UIMenu-zdcAtwTa.js.map +0 -1
  1067. package/dist/UIRuntime-KH309p5B.js.map +0 -1
  1068. package/dist/UISegment-CMMIW7cZ.js.map +0 -1
  1069. package/dist/apple.palette-B4ivrNlM.js.map +0 -1
  1070. package/dist/classic-DCTQrteU.js.map +0 -1
  1071. package/dist/components.es-BOa_7gFF.js.map +0 -1
  1072. package/dist/crisp-VfYZlTph.js.map +0 -1
  1073. package/dist/crisp.theme-DRiePRdf.js +0 -6
  1074. package/dist/crisp.theme-DRiePRdf.js.map +0 -1
  1075. package/dist/dark-CbUdPe0a.js.map +0 -1
  1076. package/dist/dist-BLYIGZVK.js.map +0 -1
  1077. package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
  1078. package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
  1079. package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
  1080. package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
  1081. package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
  1082. package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
  1083. package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
  1084. package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
  1085. package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
  1086. package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
  1087. package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
  1088. package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
  1089. package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
  1090. package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
  1091. package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
  1092. package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
  1093. package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
  1094. package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
  1095. package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
  1096. package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
  1097. package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
  1098. package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
  1099. package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
  1100. package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
  1101. package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
  1102. package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
  1103. package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
  1104. package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
  1105. package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
  1106. package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
  1107. package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
  1108. package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
  1109. package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
  1110. package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
  1111. package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
  1112. package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
  1113. package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
  1114. package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
  1115. package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
  1116. package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
  1117. package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
  1118. package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
  1119. package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
  1120. package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
  1121. package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
  1122. package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
  1123. package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
  1124. package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
  1125. package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
  1126. package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
  1127. package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
  1128. package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
  1129. package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
  1130. package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
  1131. package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
  1132. package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
  1133. package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
  1134. package/dist/fruity-BRVlgJZd.js +0 -6
  1135. package/dist/fruity-BRVlgJZd.js.map +0 -1
  1136. package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
  1137. package/dist/glass-x9tbbwVq.js +0 -6
  1138. package/dist/glass-x9tbbwVq.js.map +0 -1
  1139. package/dist/glass.theme-24wY2wH9.js +0 -6
  1140. package/dist/glass.theme-24wY2wH9.js.map +0 -1
  1141. package/dist/matrix-QY2gWbJ0.js +0 -6
  1142. package/dist/matrix-QY2gWbJ0.js.map +0 -1
  1143. package/dist/matrix.theme-_8xtwhDq.js +0 -6
  1144. package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
  1145. package/dist/merlot-DOXLuUaU.js.map +0 -1
  1146. package/dist/merlot.theme-S-QnNGsw.js +0 -6
  1147. package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
  1148. package/dist/midnight-BxlTQSfw.js.map +0 -1
  1149. package/dist/midnight.theme-wXbqRYLy.js +0 -6
  1150. package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
  1151. package/dist/mockup-83ELBuVr.js +0 -6
  1152. package/dist/mockup-83ELBuVr.js.map +0 -1
  1153. package/dist/mockup.theme-DmpBgGBl.js +0 -6
  1154. package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
  1155. package/dist/paper-M61nUilz.js.map +0 -1
  1156. package/dist/paper.theme-B8R5Jn5H.js +0 -6
  1157. package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
  1158. package/dist/persist.types-D2m6wD-S.js.map +0 -1
  1159. package/dist/pop-CxXfytjk.js.map +0 -1
  1160. package/dist/pop.theme-CXzv8B9x.js +0 -6
  1161. package/dist/pop.theme-CXzv8B9x.js.map +0 -1
  1162. package/dist/search-CzSzx7bX.js.map +0 -1
  1163. package/dist/spell-By5Y3jKP.js +0 -6
  1164. package/dist/spell-By5Y3jKP.js.map +0 -1
  1165. package/dist/spell.theme-DxGj7qHx.js +0 -6
  1166. package/dist/spell.theme-DxGj7qHx.js.map +0 -1
  1167. package/dist/styles.en-CUUxNwHo.js.map +0 -1
  1168. package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ui-dimmer.js","names":["part={this.partForName(\"content\")}","this","<div class={UIT.CONTENT} part={this.partForName(\"content\")}>\n <slot />\n </div>","<Show\n when={this.page}\n fallback={<div\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>}\n >\n <dialog\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>\n </Show>","ref={(element) => this.box = element}","part={this.partForName(\"dimmer\")}","<div\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>","aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}","<dialog\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>","E.UIComponent","E.proto","E.protoMerged","E.untracked","E.on","E.cssState","E.onChange","E.Disclosure","UIT.ACTIVE","dimmablePageCSS","_$getOwner","_$readShallow","UIT.CONTENT","_$setAttribute","_$createComponent","__name","dimmerCSS","_$delegateEvents","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","AnimationLookup","CONTENT","ToggleCommands","ACTIVE","__decoratorStart","getOwner$1","dimmerVocabulary","UIDimmer_default","UIDimmer_page_default","_tmpl$","_tmpl$2","_tmpl$3","_onClose_dec","_onCancel_dec","_onDimmerClick_dec","_onTriggerChanged_dec","_place_dec","_onPlacementChanged_dec","_showsOnHover_dec","_isDimmer_dec","_onCommand_dec","_requestClose_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIDimmer","UIComponent","proto","protoMerged","untracked","on","cssState","onChange","Disclosure","visible","reason","event","box","originalEvent","soon","action","UI","PAGE_SHEET","_self$","_el$","_el$2","effect","readShallow","className","_p$","t","setAttribute","content","_self$2","createComponent","Show","_el$4","addEvent","ref","element","insert","e","_el$3","a","keyframes","animation","wasShown","kind","dialog","generation","running","isConnected","isReady","showOn","parent","listeners","options","next","UIDimmer","delegateEvents"],"sources":["../src/components/ui-dimmer/UIDimmer.en.ts","../src/components/ui-dimmer/UIDimmer.css?inline","../src/components/ui-dimmer/UIDimmer.page.css?inline","../src/components/ui-dimmer/UIDimmer.tsx","../src/components/ui-dimmer/index.ts"],"sourcesContent":["/**\n * Every name `<ui-dimmer>` uses: tag, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-dimmer shade=\"light\" inverted vertical-align=\"top\" visible>` => `ui light inverted top aligned active dimmer`.\n * - `active` is Fomantic's word for a shown dimmer (its class, and `.dimmer('show')`):\n * no attribute here, but the class the box has while the element shows (the shared `visible` / `hidden`).\n * - `page` makes it a PAGE dimmer: a modal `<dialog>` over the whole viewport; else it dims its parent element.\n * - `closedby` mirrors `<dialog closedby>`, as on `<ui-modal>`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-dimmer>`\n * Dims its parent (`<div class=\"ui ... dimmer\" part=\"dimmer\">`) or, with `page`,\n * the whole page (`<dialog class=\"ui page ... dimmer\" part=\"dimmer\">`, shown with `showModal()`);\n * its content is centred.\n ****************/\nexport const dimmerVocabulary = {\n tag: \"ui-dimmer\",\n icon: \"adjust\",\n topics: [\"overlays\", \"loading\", \"feedback\", \"modules\"],\n aka: [\"overlay\", \"backdrop\", \"scrim\", \"mask\", \"blocker\"],\n noun: \"dimmer\",\n description: \"A dimmer hides distractions to focus attention on particular content.\",\n attributes: [\n {\n name: \"shade\",\n group: \"appearance\",\n kind: \"valueOnly\",\n values: [\"medium\", \"light\", \"very light\"],\n description: \"Lighter than the default (Fomantic's shades): `medium`, `light`, `very light`.\"\n },\n {\n name: \"page\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"Dims the whole page: a modal dialog over the viewport.\"\n },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"A light dimmer (dark text), where the default is dark.\"\n },\n {\n name: \"blurring\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"Blurs and greys what's behind it (`backdrop-filter`).\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n values: [\"simple\"],\n // each word draws itself: no key after it\n classes: {},\n replaces: [{ from: \"simple\", value: \"simple\" }],\n description:\n \"The look: `simple`, Fomantic's CSS-only dimmer; the element's look is the same. Old name: `simple`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Never shows.\" },\n {\n name: \"vertical-align\",\n group: \"layout\",\n kind: \"verticalAlign\",\n values: [\"top\", \"bottom\"],\n description: \"Its content at the `top` or `bottom` instead of the middle (`top aligned`).\"\n },\n {\n name: \"show-on\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"hover\", \"click\"],\n description:\n \"Shows by itself: `hover` while the pointer is over its parent (or focus is inside), `click` when the \" +\n \"parent is clicked. Default: only `visible` shows it.\"\n },\n {\n name: \"closedby\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"any\", \"closerequest\", \"none\"],\n default: \"any\",\n property: \"closedBy\",\n description:\n \"What hides it, as `<dialog closedby>`: `any` -- a click on the dimmer (not its content) or Escape (a \" +\n \"page dimmer) -- the default; `closerequest` -- Escape only; `none` -- only `visible`. A `hover` \" +\n \"dimmer ignores clicks. Read when it shows.\"\n }\n ],\n events: [\n {\n name: \"ui-opening\",\n detail: \"{ visible: true, originalEvent?: Event }\",\n cancelable: true,\n description:\n \"About to show for a person's action (`show-on`, an invoker command); `preventDefault()` keeps it hidden.\"\n },\n {\n name: \"ui-opened\",\n detail: \"{ visible: true }\",\n description: \"Shown, its transition finished (Fomantic's `onVisible`).\"\n },\n {\n name: \"ui-closing\",\n detail: \"{ visible: false, reason: DimmerCloseReason, originalEvent?: Event }\",\n cancelable: true,\n description: \"About to hide: a click on it, Escape, the pointer leaving. `preventDefault()` keeps it shown.\"\n },\n {\n name: \"ui-closed\",\n detail: \"{ visible: false }\",\n description: \"Hidden, its transition finished (Fomantic's `onHidden`).\"\n }\n ],\n slots: [{ name: \"\", description: \"The content, centred: a header, a loader, buttons ...\" }],\n parts: [\n { name: \"dimmer\", description: \"The dimmer: a `<div>` over its parent, or a `<dialog>` over the page.\" },\n { name: \"content\", description: \"The centred box around the slot.\" }\n ],\n states: [\n { name: \"dimmer\", description: \"Always: the page sheet positions the parent of an element dimmer by it.\" },\n { name: \"page\", description: \"A page dimmer.\" },\n { name: \"on-hover\", description: '`show-on=\"hover\"`: laid out (transparent) while hidden, so Tab can reach it.' }\n ],\n texts: [{ key: \"dimmedPage\", text: \"Dimmed page\", description: \"Accessible name of an unnamed page dimmer.\" }]\n} as const satisfies E.ComponentVocabulary\n","/*\n * `<ui-dimmer>`: port of Fomantic's `dimmer.less` + `dimmer.variables`.\n * - Shadow markup contract:\n * - element dimmer: `<div class=\"ui [shade] [keyOnly ...] [top | bottom aligned] dimmer\" part=\"dimmer\">`\n * - page dimmer: `<dialog class=\"ui ... page ... dimmer\" part=\"dimmer\">`, shown with `showModal()`\n * - either holds `<div class=\"content\" part=\"content\"><slot></slot></div>`, centred\n * - Shared dimmer tokens: `<ui-modal>`'s `::backdrop` reads the same ones, so a theme styles every dimmer at once\n * (set them on `:root`; each sheet falls back to Fomantic's values):\n * - `--ui-dimmer-background` -- the dark dimmer (`oklch(0 0 0 / 0.85)`)\n * - `--ui-dimmer-inverted-background` -- the light one (`oklch(1 0 0 / 0.85)`)\n * - `--ui-dimmer-blurred-background`, `--ui-dimmer-blurred-inverted-background` -- behind a blur (0.6)\n * - `--ui-dimmer-blur` -- the `backdrop-filter` of `blurring` (`blur(5px) grayscale(0.7)`)\n * - `--ui-dimmer-duration` -- the fade\n * - Public tokens (`--ui-dimmer-*`) are NEVER declared here,\n * so a value set on `:root`, an ancestor, the DOM element or `::part(dimmer)` reaches the box\n * (`notes/theming.md` \"Component tokens\"):\n * - the shades are READ where they paint (nothing varies them; shade variations set `background` itself)\n * - the duration goes through its private alias,\n * `--_ui-dimmer-duration: var(--ui-dimmer-duration, var(--ui-duration-slower))`\n * - A dark dimmer is the DARK scheme for its content (`color-scheme: dark`, `--ui-inverted: 1`);\n * `inverted` the light one.\n * So a plain `<ui-header>` reads light on the default dimmer, where Fomantic needed `inverted header`.\n * - Motion: fades in from `@starting-style` and out while `display` / `overlay` transition (`allow-discrete`).\n * - A hidden `show-on=\"hover\"` dimmer (`:host(:state(on-hover))`) stays laid out, transparent and click-through,\n * so keyboard focus can reach its content (which shows it).\n * - Blurring: `backdrop-filter` on the dimmer blurs what's behind it -- Fomantic's own choice where supported;\n * its filter on the dimmable's children (`.blurring.dimmable > :not(.dimmer)`) is left out:\n * a shadow root can't reach its siblings.\n * - NOTE: left out, on purpose: `legacy` (block layout), custom scrollbars, partial dimmers (`top / center /\n * bottom dimmer`, see `notes/status.md` \"Deferred\").\n */\n\n@layer ui.components.dimmer.types, ui.components.dimmer.content, ui.components.dimmer.variations, ui.components.dimmer.states;\n\n/*******************************\n Dimmer\n*******************************/\n\n@layer ui.components.dimmer.types {\n /* DOM element: no box of its own; the dimmer covers the nearest positioned box. */\n :host {\n display: contents;\n }\n /*\n * A hidden `hover` dimmer stays laid out (its box transparent and click-through, \"States\"),\n * so Tab reaches its content, which shows it.\n * `!important`: `reset.css`'s hiding rule is unlayered, so it beats any layered one.\n */\n :host([hidden]:state(on-hover)) {\n display: contents !important;\n }\n\n /*\n * Static markup: Fomantic's script made the parent positioned\n * (the element's page sheet does, `UIDimmer.page.css`).\n */\n .dimmable:not(body) {\n position: relative;\n }\n\n .ui.dimmer {\n /* The fade, in and out. */\n --_ui-dimmer-duration: var(--ui-dimmer-duration, var(--ui-duration-slower));\n /* The dark scheme for the content. */\n --ui-inverted: 1;\n --ui-scheme: dark;\n color-scheme: dark;\n position: absolute;\n top: 0;\n left: 0;\n z-index: var(--ui-z-dimmer);\n box-sizing: border-box;\n display: none;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n max-width: none;\n max-height: none;\n margin: 0;\n padding: 1em;\n border: none;\n /* The dark (default) dimmer; `<ui-modal>`'s backdrop reads it too. */\n background: var(--ui-dimmer-background, oklch(0 0 0 / 0.85));\n /* Its content's text. */\n color: var(--ui-dimmer-color, oklch(1 0 0));\n font-family: var(--ui-font-family);\n line-height: 1;\n text-align: center;\n vertical-align: middle;\n opacity: 0;\n user-select: none;\n will-change: opacity;\n transition:\n opacity var(--_ui-dimmer-duration) linear,\n display var(--_ui-dimmer-duration) allow-discrete,\n overlay var(--_ui-dimmer-duration) allow-discrete;\n }\n\n /*\n * A page dimmer's dialog: fixed over the viewport, in the top layer;\n * it IS the dimmer (no `::backdrop` of its own).\n */\n dialog.ui.dimmer {\n position: fixed;\n inset: 0;\n overflow: auto;\n outline: none;\n }\n dialog.ui.dimmer::backdrop {\n background: transparent;\n }\n\n /* Coupling: a dimmer in a segment follows its corners (static markup). */\n .ui.segment > .ui.dimmer:not(.page) {\n border-radius: inherit;\n }\n}\n\n/*******************************\n Content\n*******************************/\n\n@layer ui.components.dimmer.content {\n .ui.dimmer > .content {\n color: inherit;\n user-select: text;\n }\n}\n\n/*******************************\n Variations\n*******************************/\n\n@layer ui.components.dimmer.variations {\n /* ## Aligned: the content at the top or bottom. */\n .ui[class*=\"top aligned\"].dimmer {\n justify-content: flex-start;\n }\n .ui[class*=\"bottom aligned\"].dimmer {\n justify-content: flex-end;\n }\n\n /* ## Page: fixed over the viewport (static markup; the element's is a dialog). */\n .ui.page.dimmer {\n position: fixed;\n transform-origin: center center;\n perspective: 2000px;\n }\n body.dimmable > .dimmer {\n position: fixed;\n }\n\n /* ## Blurring: blur and grey what's behind, over a lighter shade. */\n .ui.blurring.dimmer,\n .blurring.dimmable > .ui.dimmer {\n /* A dark dimmer behind a blur; the flyout's and sidebar's `blurring` read it too. */\n background: var(--ui-dimmer-blurred-background, oklch(0 0 0 / 0.6));\n /* The backdrop filter of `blurring`. */\n backdrop-filter: var(--ui-dimmer-blur, blur(5px) grayscale(0.7));\n }\n .ui.blurring.inverted.dimmer,\n .blurring.dimmable > .ui.inverted.dimmer {\n /* A light dimmer behind a blur. */\n background: var(--ui-dimmer-blurred-inverted-background, oklch(1 0 0 / 0.6));\n }\n\n /* ## Shades: lighter dark dimmers (Fomantic's repeated classes beat the plain colour, here the layer order does). */\n .ui.medium.dimmer {\n background: oklch(0 0 0 / 0.65);\n }\n .ui.light.dimmer {\n background: oklch(0 0 0 / 0.45);\n }\n .ui[class*=\"very light\"].dimmer {\n background: oklch(0 0 0 / 0.25);\n }\n\n /* ## Inverted: a light dimmer, the light scheme for its content. */\n .ui.inverted.dimmer {\n --ui-inverted: 0;\n --ui-scheme: light;\n color-scheme: light;\n /* The light (`inverted`) dimmer. */\n background: var(--ui-dimmer-inverted-background, oklch(1 0 0 / 0.85));\n /* Its content's text. */\n color: var(--ui-dimmer-inverted-color, oklch(0 0 0));\n }\n .ui.medium.inverted.dimmer {\n background: oklch(1 0 0 / 0.65);\n }\n .ui.light.inverted.dimmer {\n background: oklch(1 0 0 / 0.45);\n }\n .ui[class*=\"very light\"].inverted.dimmer {\n background: oklch(1 0 0 / 0.25);\n }\n\n /* ## Simple: Fomantic's CSS-only dimmer -- collapsed until its dimmable is `dimmed` (static markup). */\n .ui.simple.dimmer {\n display: block;\n width: 0;\n height: 0;\n overflow: hidden;\n z-index: -100;\n background: oklch(0 0 0 / 0);\n }\n .ui.simple.inverted.dimmer {\n background: oklch(1 0 0 / 0);\n }\n}\n\n/*******************************\n States\n*******************************/\n\n@layer ui.components.dimmer.states {\n /* Active: shown (the box's class while the element is `visible`; static markup's `dimmed dimmable` parent too). */\n .ui.active.dimmer,\n .dimmed.dimmable > .ui.animating.dimmer,\n .dimmed.dimmable > .ui.visible.dimmer,\n .dimmed.dimmable > .ui.simple.dimmer {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: visible;\n opacity: 1;\n }\n @starting-style {\n .ui.active.dimmer {\n opacity: 0;\n }\n }\n .ui.simple.active.dimmer,\n .dimmed.dimmable > .ui.simple.dimmer {\n z-index: 1;\n background: var(--ui-dimmer-background, oklch(0 0 0 / 0.85));\n }\n .ui.simple.active.inverted.dimmer,\n .dimmed.dimmable > .ui.simple.inverted.dimmer {\n background: var(--ui-dimmer-inverted-background, oklch(1 0 0 / 0.85));\n }\n\n /* A hidden `hover` dimmer: laid out for Tab, but invisible and click-through. */\n :host(:state(on-hover)) > .ui.dimmer:not(.active, .disabled) {\n display: flex;\n pointer-events: none;\n }\n\n /* Disabled: never shows. */\n .ui.disabled.dimmer {\n display: none;\n }\n}\n","/*\n * `dimmer-page`: the PAGE sheet `<ui-dimmer>` registers, for the light DOM around element dimmers.\n * - Fomantic's script added `.dimmable` (`position: relative`) to a dimmer's parent; here any element with an\n * element-dimmer child is positioned, so the dimmer covers IT.\n * Matched by the DOM element's custom states, so a translated tag works too.\n * - Zero specificity (`:where()`) in `ui.components`: any page rule positioning the parent wins.\n * - Repeats the layer order first: it may be adopted before `layers.css`.\n */\n\n@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;\n\n@layer ui.components {\n :where(:has(> :state(dimmer):not(:state(page)))) {\n position: relative;\n }\n}\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { dimmerVocabulary } from \"./UIDimmer.en\"\n\nimport dimmerCSS from \"./UIDimmer.css?inline\"\nimport dimmablePageCSS from \"./UIDimmer.page.css?inline\"\n\n/****************\n * ### `UIDimmer`\n * The component behind `<ui-dimmer>`: a dimmer over part of the page, or over all of it.\n *\n * - An ELEMENT dimmer (the default):\n * `<div class=\"ui … dimmer\" part=\"dimmer\"><div class=\"content\"><slot>` covering its parent,\n * the nearest positioned box.\n * - The `dimmer-page` page sheet makes a plain parent `position: relative` (Fomantic's `.dimmable`).\n * - Not modal: what it covers stays in the page, as in Fomantic.\n *\n * - A PAGE dimmer (`page`): a `<dialog class=\"ui page … dimmer\">` shown with `showModal()`, modal ON PURPOSE.\n * - It covers everything, so the page is `inert` (a pointer can't reach it either);\n * focus moves inside (to the dialog itself when nothing inside is focusable) and returns on hide.\n * - Registered with `UI.overlays` (kind `dimmer`: scroll lock, keyboard scope, Escape).\n * - Named by the DOM element's `aria-label`, else \"Dimmed page\".\n *\n * - Shown or hidden by the shared `visible` / `hidden` (`UIComponent`, \"Shown or hidden\"), starting hidden.\n * - While it shows, its box has Fomantic's `active` class.\n * - Controlled (`isVisible`): for a person's actions, the cancelable `ui-opening` / `ui-closing` come first:\n * - `show-on`: `hover` (the pointer over the parent, or focus inside it) or `click` (a click on the parent)\n * - a click on the dimmer itself (not its content; `closedby=\"any\"`)\n * - Escape (a page dimmer), invoker commands (`UIT.ToggleCommands`)\n * - `ui-opened` / `ui-closed` follow once its transition has ended.\n * - Writing `visible` (or `hidden`) fires no `ui-opening` / `ui-closing`.\n *\n * - A hidden `hover` dimmer stays laid out but transparent (and ignores the pointer),\n * so a keyboard user can Tab into its content, which shows it (`UIDimmer.css`).\n *\n * - Looks: a dark dimmer is the dark scheme for its content (`color-scheme: dark`, `--ui-inverted: 1`),\n * so a `<ui-header>` in it turns light by itself; `inverted` is the light one.\n * `blurring` blurs what's behind (`backdrop-filter`), instead of Fomantic's filter on the siblings.\n ****************/\nexport class UIDimmer extends E.UIComponent<typeof dimmerVocabulary> {\n @E.proto static vocabulary = dimmerVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { dimmer: dimmerCSS },\n cssStates: [\"page\"],\n // a click on the dimmer must not jump focus into its content\n delegatesFocus: false,\n // `disabled`: it never shows\n disabled: \"its own\",\n visible: \"hidden\"\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## Showing (`visible`)\n ////////////////\n\n /** Shown now: `visible`, and not `disabled`. */\n get isShowing(): boolean {\n return this.isVisible && !this.disabled\n }\n\n /** Fomantic's `active`, just before the noun while it shows. */\n protected get extraClass(): string | undefined {\n return this.isShowing ? UIT.ACTIVE : undefined\n }\n\n /**\n * Shown or hidden, as `visible` (`isVisible`): `ui-opening` / `ui-closing` first, `ui-opened` / `ui-closed` once\n * its transition ends (`onVisibleChange()`).\n * - A disabled dimmer never shows.\n */\n readonly disclosure = new E.Disclosure({\n component: this,\n member: \"isVisible\",\n canChange: (visible) => !visible || !this.disabled,\n detail: (visible, originalEvent): UIT.DimmerOpenDetail | UIT.DimmerCloseDetail =>\n visible ? { visible, originalEvent } : { visible, reason: this.closeReason, originalEvent },\n afterDetail: (visible): UIT.DimmerOpenDetail => ({ visible })\n })\n\n /** Why the latest close was asked for: `ui-closing`'s `reason`. */\n private closeReason: UIT.DimmerCloseReason = \"escape\"\n\n /** Show for a person's action, dispatching the cancelable `ui-opening` first; true when applied. */\n requestOpen(originalEvent?: Event): boolean {\n return this.disclosure.open(originalEvent)\n }\n\n /** Hide for `reason`, dispatching the cancelable `ui-closing` first; true when applied. */\n @E.untracked\n requestClose(reason: UIT.DimmerCloseReason, originalEvent?: Event): boolean {\n if (!this.isVisible) return false\n this.isDismissing = true\n E.soon(() => (this.isDismissing = false))\n this.closeReason = reason\n return this.disclosure.close(originalEvent)\n }\n\n /** An invoker command aimed at the DOM element (`UIT.ToggleCommands`). */\n @E.on(\"command\")\n protected onCommand(event: Event) {\n const action = UIT.ToggleCommands.action(event, this.isVisible)\n if (action === \"show\") this.requestOpen(event)\n else if (action === \"close\") this.requestClose(\"click\", event)\n }\n\n ////////////////\n // ## Kind\n ////////////////\n\n /** Always `:state(dimmer)`. */\n @E.cssState(\"dimmer\")\n get isDimmer(): boolean {\n return true\n }\n\n /** Shows while the pointer or focus is in its parent (`show-on=\"hover\"`). */\n @E.cssState(\"on-hover\")\n get showsOnHover(): boolean {\n return this.showOn === \"hover\"\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n if (!UI.styles.has(PAGE_SHEET)) UI.styles.register(PAGE_SHEET, dimmablePageCSS, { page: true })\n const content = (\n <div class={UIT.CONTENT} part={this.partForName(\"content\")}>\n <slot />\n </div>\n )\n return (\n <Show\n when={this.page}\n fallback={\n <div\n ref={(element) => (this.box = element)}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>\n }\n >\n <dialog\n ref={(element) => (this.box = element)}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>\n </Show>\n )\n }\n\n /** The dimmer box: a `<div>`, or a page dimmer's `<dialog>`. */\n private box?: HTMLElement\n\n ////////////////\n // ## Show and hide\n ////////////////\n\n /** Bumped on every show / hide, so a late `ui-opened` / `ui-closed` of an earlier one is dropped. */\n private generation = 0\n\n /** A page dimmer's `UI.overlays` entry; its Escape option follows `closedby` when it shows. */\n private readonly overlay: E.OverlayEntry = {\n element: this.domElement,\n kind: \"dimmer\",\n closeOnOutsideClick: false,\n onDismiss: (reason: E.DismissReason) => void this.requestClose(reason === \"outside\" ? \"click\" : reason)\n }\n\n /** What is on screen now: an element dimmer, a page dimmer (its `<dialog>`), or nothing. */\n private shown?: { kind: DimmerKind; box?: HTMLDialogElement }\n\n /**\n * `visible` changed (`UIComponent`'s hook): show the dimmer, or take it down.\n * - Resolves once the box's transition has ended, sending `ui-opened` / `ui-closed`.\n * - How it moves, by `animation`:\n * - the family's own (`fade`), or an attention one (`shake`): the sheet's transition (`UIDimmer.css`)\n * - any other: on the box, through `UI.transitions`\n * - `none`: at once\n * - A disabled dimmer never shows, and fires nothing.\n */\n protected async onVisibleChange(visible: boolean, animation: UIT.Animation): Promise<void> {\n const box = this.box\n const keyframes = UIT.AnimationLookup.keyframesBeside(animation, this.elementSetup.animation)\n const wasShown = !!this.shown\n if (!visible && wasShown && keyframes && box) {\n await UI.transitions.animate({ element: box, name: keyframes, direction: UIT.OUT })\n // shown again while the keyframes ran\n if (this.isVisible) return\n }\n this.place()\n if (visible ? !this.shown : !wasShown) return\n if (visible && keyframes && box) await UI.transitions.animate({ element: box, name: keyframes, direction: UIT.IN })\n if (!(await this.transitionsEnd())) return\n if (visible ? this.isShowing : !this.isShowing && this.domElement.isConnected) this.disclosure.sendAfter(visible)\n }\n\n /** Placed again whenever what decides it changes: connected, `page`, `disabled`, drawn. */\n @E.onChange(\"isConnected\", \"page\", \"disabled\", \"isReady\", { defer: true })\n protected onPlacementChanged() {\n this.place()\n }\n\n /**\n * Put on screen what should be there now, taking down what shouldn't: nothing, an element or a page dimmer.\n * - A page dimmer: `showModal()` and `UI.overlays`; taken down, `close()` THEN leave `UI.overlays`\n * (focus restore needs the page no longer `inert`).\n * - The `<dialog>` it showed is kept: `page` may switch the box before it's taken down.\n * - A box that `UI.transitions` animated out (left `hidden`) shows again.\n */\n @E.untracked\n private place() {\n const box = this.box\n const kind: DimmerKind | undefined =\n this.isConnected && this.isReady && this.isShowing ? (this.page ? \"page\" : \"element\") : undefined\n if (kind === this.shown?.kind) return\n const dialog = this.shown?.box\n if (dialog) {\n if (dialog.open) dialog.close()\n UI.overlays.close(this.overlay)\n }\n this.shown = undefined\n if (!kind) return\n if (box) UI.transitions.reveal(box)\n if (kind === \"element\" || !(box instanceof HTMLDialogElement)) return void (this.shown = { kind })\n this.overlay.closeOnEscape = (this.closedby ?? \"any\") !== \"none\"\n if (!box.open) {\n box.showModal()\n UI.focus.enter(box)\n }\n UI.overlays.open(this.overlay)\n this.shown = { kind, box }\n }\n\n /**\n * Once the box's own transitions end: `true` unless another show / hide started meanwhile.\n * - Asks the box again after each round: a transition restarted while it ran (a redraw on a slow machine)\n * settles the old one at once, canceled, and the new one is still running (main's CI, repo-split P23).\n */\n private async transitionsEnd(): Promise<boolean> {\n const generation = ++this.generation\n for (let running = this.box?.getAnimations() ?? []; running.length; running = this.box?.getAnimations() ?? []) {\n await Promise.allSettled(running.map((animation) => animation.finished))\n if (generation !== this.generation) return false\n }\n return generation === this.generation\n }\n\n ////////////////\n // ## The parent (`show-on`)\n ////////////////\n\n /** The pointer is over the parent (`show-on=\"hover\"`). */\n private pointerIsOverParent = false\n\n /** Listen to the parent for `show-on` while connected, once rendered (`isReady`); returns the undo. */\n @E.onChange(\"isConnected\", \"showOn\", \"isReady\")\n protected onTriggerChanged(isConnected: boolean, showOn: string | undefined, isReady: boolean) {\n return isConnected && isReady && showOn ? this.listenToParent(showOn) : undefined\n }\n\n /**\n * Listen to the parent for `show-on`; returns the undo.\n * - `hover`: pointer over the parent, or focus inside it (a keyboard user Tabbing into the content);\n * hides once both have left.\n * - `click`: a click on the parent outside the dimmer shows it.\n */\n private listenToParent(showOn: string): (() => void) | undefined {\n const parent = this.domElement.parentElement\n if (!parent) return undefined\n const listeners = new AbortController()\n const options = { signal: listeners.signal }\n if (showOn === \"hover\") {\n parent.addEventListener(\"pointerenter\", this.onPointerEnter, options)\n parent.addEventListener(\"pointerleave\", this.onPointerLeave, options)\n parent.addEventListener(\"focusin\", this.onParentFocusIn, options)\n parent.addEventListener(\"focusout\", this.onParentFocusOut, options)\n } else {\n parent.addEventListener(\"click\", this.onParentClick, options)\n }\n return () => {\n this.pointerIsOverParent = false\n listeners.abort()\n }\n }\n\n /** The pointer or focus left a `show-on=\"hover\"` dimmer's parent: hide once neither is inside. */\n private leave(event: Event, next: EventTarget | null | undefined = UI.focus.activeElementDeep()) {\n const parent = this.domElement.parentElement\n if (this.pointerIsOverParent || (parent && next instanceof Node && UI.focus.containsDeep(parent, next))) return\n this.requestClose(\"hover\", event)\n }\n\n /** The pointer entered a `show-on=\"hover\"` dimmer's parent: show. */\n private readonly onPointerEnter = (event: PointerEvent) => {\n this.pointerIsOverParent = true\n this.requestOpen(event)\n }\n\n /** The pointer left a `show-on=\"hover\"` dimmer's parent: hide, unless focus is still inside. */\n private readonly onPointerLeave = (event: PointerEvent) => {\n this.pointerIsOverParent = false\n this.leave(event)\n }\n\n /** Focus moved into a `show-on=\"hover\"` dimmer's parent: show. */\n private readonly onParentFocusIn = (event: FocusEvent) => this.requestOpen(event)\n\n /**\n * Focus left a `show-on=\"hover\"` dimmer's parent (or moved within it): hide once neither it nor the pointer is in.\n */\n private readonly onParentFocusOut = (event: FocusEvent) => this.leave(event, event.relatedTarget)\n\n /** A click on the parent (`show-on=\"click\"`) outside the dimmer: show. */\n private readonly onParentClick = (event: MouseEvent) => {\n if (this.box && event.composedPath().includes(this.box)) return\n this.requestOpen(event)\n }\n\n ////////////////\n // ## Dismissing\n ////////////////\n\n /** A dismissal was asked for in this task: the dialog's own `cancel` for the same key press is ignored. */\n private isDismissing = false\n\n /** A click on the dimmer itself, not its content: hides it when `closedby=\"any\"` (never a `hover` one). */\n @E.untracked\n private readonly onDimmerClick = (event: MouseEvent) => {\n if (event.composedPath()[0] !== this.box) return\n const closedBy = this.closedby ?? \"any\"\n if (closedBy !== \"any\" || this.showOn === \"hover\") return\n this.requestClose(\"click\", event)\n }\n\n /**\n * A page dimmer's `cancel`: Escape the overlay didn't take (a `CloseWatcher` request).\n * - Always prevented; the element decides, by `closedby`, and `ui-closing` may veto.\n */\n @E.untracked\n private readonly onCancel = (event: Event) => {\n event.preventDefault()\n if (this.isDismissing || (this.closedby ?? \"any\") === \"none\") return\n this.requestClose(\"escape\", event)\n }\n\n /** A page dimmer's dialog closed while the element thinks it's shown: the browser forced it -- follow. */\n @E.untracked\n private readonly onClose = (event: Event) => {\n const box = this.box\n if ((box instanceof HTMLDialogElement && box.open) || !this.domElement.isConnected) return\n this.closeReason = \"escape\"\n this.disclosure.adopt(false, event)\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDimmer extends E.AttributeValues<typeof dimmerVocabulary> {}\n\n/** Which dimmer it is: over its parent (`element`), or a modal dialog over the page (`page`). */\ntype DimmerKind = \"element\" | \"page\"\n\n/** Name of the page sheet that positions dimmed parents (`UIDimmer.page.css`). */\nconst PAGE_SHEET = \"dimmer-page\"\n","/**\n * The dimmer family: defines `<ui-dimmer>` and exports its component, `UIDimmer`.\n * - SIDE EFFECT: importing it defines the tag;\n * a dimmer's first render registers the `dimmer-page` page sheet (a dimmer's parent is positioned for it).\n * - NOTE: `<ui-modal>` doesn't use it: a modal's dimmer is its `<dialog>`'s `::backdrop`,\n * themed by the same `--ui-dimmer-*` tokens.\n * - Also the library's `spell/ui/ui-dimmer` entry (its size is in `notes/report.md`).\n */\n\nimport { UIDimmer } from \"./UIDimmer\"\n\nUIDimmer.define()\n\nexport { UIDimmer }\n"],"mappings":";;;;;AAmBA,IAAasC,IAAmB;CAC9B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAY;EAAW;EAAY;CAAS;CACrD,KAAK;EAAC;EAAW;EAAY;EAAS;EAAQ;CAAS;CACvD,MAAM;CACN,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAU;IAAS;GAAY;GACxC,aAAa;EACf;EACA;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,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,QAAQ;GAEjB,SAAS,CAAC;GACV,UAAU,CAAC;IAAE,MAAM;IAAU,OAAO;GAAS,CAAC;GAC9C,aACE;EACJ;EACA;GAAE,MAAM;GAAY,OAAO;GAAU,MAAM;GAAW,aAAa;EAAe;EAClF;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,OAAO,QAAQ;GACxB,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,SAAS,OAAO;GACzB,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAO;IAAgB;GAAM;GACtC,SAAS;GACT,UAAU;GACV,aACE;EAGJ;CACF;CACA,QAAQ;EACN;GACE,MAAM;GACN,QAAQ;GACR,YAAY;GACZ,aACE;EACJ;EACA;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I9B,EAFJ8B,GAEW,gBAAe3B,EAAtB0B,GAAA,IAFJC,GAE0B;CACnC,aAAa,EAAE,QAAQjC,EAAU;CACjC,WAAW,CAAC,MAAM;CAElB,gBAAgB;CAEhB,UAAU;CACV,SAAS;AACX,CAAA,CAAA,GAReM,EAAA0B,GAAA,IAFJC,CAAA;AAAN,IAAMqD,IAANrD,GA8UDiB,IAAa;;;cC5WnBoC,EAAS,OAAO"}
1
+ {"version":3,"file":"ui-dimmer.js","names":["part={this.partForName(\"content\")}","this","<div class={UIT.CONTENT} part={this.partForName(\"content\")}>\n <slot />\n </div>","<Show\n when={this.page}\n fallback={<div\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>}\n >\n <dialog\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>\n </Show>","ref={(element) => this.box = element}","part={this.partForName(\"dimmer\")}","<div\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>","aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}","<dialog\n ref={(element) => this.box = element}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>","E.UIComponent","E.proto","E.protoMerged","E.untracked","E.on","E.cssState","E.onChange","E.Disclosure","UIT.ACTIVE","dimmablePageCSS","_$getOwner","_$readShallow","UIT.CONTENT","_$setAttribute","__name","dimmerCSS","__decoratorStart","__publicField","__name$1","ToggleCommands","__decorateElement","__decoratorMetadata","__runInitializers","AnimationLookup","ACTIVE","getOwner$1","dimmerVocabulary","UIDimmer_default","UIDimmer_page_default","_tmpl$","_tmpl$2","_tmpl$3","_onClose_dec","_onCancel_dec","_onDimmerClick_dec","_onTriggerChanged_dec","_place_dec","_onPlacementChanged_dec","_showsOnHover_dec","_isDimmer_dec","_onCommand_dec","_requestClose_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIDimmer","UIComponent","proto","protoMerged","untracked","on","cssState","onChange","Disclosure","visible","reason","event","box","originalEvent","soon","action","UI","PAGE_SHEET","_self$","_el$","_el$2","effect","readShallow","CONTENT","className","_p$","t","setAttribute","content","_self$2","createComponent","Show","_el$4","addEvent","ref","element","insert","e","_el$3","a","keyframes","animation","wasShown","kind","dialog","generation","running","isConnected","isReady","showOn","parent","listeners","options","next","UIDimmer","delegateEvents"],"sources":["../src/components/ui-dimmer/UIDimmer.en.ts","../src/components/ui-dimmer/UIDimmer.tsx","../src/components/ui-dimmer/index.ts"],"sourcesContent":["/**\n * Every name `<ui-dimmer>` uses: tag, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-dimmer shade=\"light\" inverted vertical-align=\"top\" visible>` => `ui light inverted top aligned active dimmer`.\n * - `active` is Fomantic's word for a shown dimmer (its class, and `.dimmer('show')`):\n * no attribute here, but the class the box has while the element shows (the shared `visible` / `hidden`).\n * - `page` makes it a PAGE dimmer: a modal `<dialog>` over the whole viewport; else it dims its parent element.\n * - `closedby` mirrors `<dialog closedby>`, as on `<ui-modal>`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-dimmer>`\n * Dims its parent (`<div class=\"ui ... dimmer\" part=\"dimmer\">`) or, with `page`,\n * the whole page (`<dialog class=\"ui page ... dimmer\" part=\"dimmer\">`, shown with `showModal()`);\n * its content is centred.\n ****************/\nexport const dimmerVocabulary = {\n tag: \"ui-dimmer\",\n icon: \"adjust\",\n topics: [\"overlays\", \"loading\", \"feedback\", \"modules\"],\n aka: [\"overlay\", \"backdrop\", \"scrim\", \"mask\", \"blocker\"],\n noun: \"dimmer\",\n partOfSpeech: \"structure\",\n description: \"A dimmer hides distractions to focus attention on particular content.\",\n attributes: [\n {\n name: \"shade\",\n group: \"appearance\",\n kind: \"valueOnly\",\n values: [\"medium\", \"light\", \"very light\"],\n description: \"Lighter than the default (Fomantic's shades): `medium`, `light`, `very light`.\"\n },\n {\n name: \"page\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"Dims the whole page: a modal dialog over the viewport.\"\n },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"A light dimmer (dark text), where the default is dark.\"\n },\n {\n name: \"blurring\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"Blurs and greys what's behind it (`backdrop-filter`).\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n values: [\"simple\"],\n // each word draws itself: no key after it\n classes: {},\n replaces: [{ from: \"simple\", value: \"simple\" }],\n description:\n \"The look: `simple`, Fomantic's CSS-only dimmer; the element's look is the same. Old name: `simple`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Never shows.\" },\n {\n name: \"vertical-align\",\n group: \"layout\",\n kind: \"verticalAlign\",\n values: [\"top\", \"bottom\"],\n description: \"Its content at the `top` or `bottom` instead of the middle (`top aligned`).\"\n },\n {\n name: \"show-on\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"hover\", \"click\"],\n description:\n \"Shows by itself: `hover` while the pointer is over its parent (or focus is inside), `click` when the \" +\n \"parent is clicked. Default: only `visible` shows it.\"\n },\n {\n name: \"closedby\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"any\", \"closerequest\", \"none\"],\n default: \"any\",\n property: \"closedBy\",\n description:\n \"What hides it, as `<dialog closedby>`: `any` -- a click on the dimmer (not its content) or Escape (a \" +\n \"page dimmer) -- the default; `closerequest` -- Escape only; `none` -- only `visible`. A `hover` \" +\n \"dimmer ignores clicks. Read when it shows.\"\n }\n ],\n events: [\n {\n name: \"ui-opening\",\n detail: \"{ visible: true, originalEvent?: Event }\",\n cancelable: true,\n description:\n \"About to show for a person's action (`show-on`, an invoker command); `preventDefault()` keeps it hidden.\"\n },\n {\n name: \"ui-opened\",\n detail: \"{ visible: true }\",\n description: \"Shown, its transition finished (Fomantic's `onVisible`).\"\n },\n {\n name: \"ui-closing\",\n detail: \"{ visible: false, reason: DimmerCloseReason, originalEvent?: Event }\",\n cancelable: true,\n description: \"About to hide: a click on it, Escape, the pointer leaving. `preventDefault()` keeps it shown.\"\n },\n {\n name: \"ui-closed\",\n detail: \"{ visible: false }\",\n description: \"Hidden, its transition finished (Fomantic's `onHidden`).\"\n }\n ],\n slots: [{ name: \"\", description: \"The content, centred: a header, a loader, buttons ...\" }],\n parts: [\n { name: \"dimmer\", description: \"The dimmer: a `<div>` over its parent, or a `<dialog>` over the page.\" },\n { name: \"content\", description: \"The centred box around the slot.\" }\n ],\n states: [\n { name: \"dimmer\", description: \"Always: the page sheet positions the parent of an element dimmer by it.\" },\n { name: \"page\", description: \"A page dimmer.\" },\n { name: \"on-hover\", description: '`show-on=\"hover\"`: laid out (transparent) while hidden, so Tab can reach it.' }\n ],\n texts: [{ key: \"dimmedPage\", text: \"Dimmed page\", description: \"Accessible name of an unnamed page dimmer.\" }]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { dimmerVocabulary } from \"./UIDimmer.en\"\n\nimport dimmerCSS from \"./UIDimmer.css?inline\"\nimport dimmablePageCSS from \"./UIDimmer.page.css?inline\"\n\n/****************\n * ### `UIDimmer`\n * The component behind `<ui-dimmer>`: a dimmer over part of the page, or over all of it.\n *\n * - An ELEMENT dimmer (the default):\n * `<div class=\"ui … dimmer\" part=\"dimmer\"><div class=\"content\"><slot>` covering its parent,\n * the nearest positioned box.\n * - The `dimmer-page` page sheet makes a plain parent `position: relative` (Fomantic's `.dimmable`).\n * - Not modal: what it covers stays in the page, as in Fomantic.\n *\n * - A PAGE dimmer (`page`): a `<dialog class=\"ui page … dimmer\">` shown with `showModal()`, modal ON PURPOSE.\n * - It covers everything, so the page is `inert` (a pointer can't reach it either);\n * focus moves inside (to the dialog itself when nothing inside is focusable) and returns on hide.\n * - Registered with `UI.overlays` (kind `dimmer`: scroll lock, keyboard scope, Escape).\n * - Named by the DOM element's `aria-label`, else \"Dimmed page\".\n *\n * - Shown or hidden by the shared `visible` / `hidden` (`UIComponent`, \"Shown or hidden\"), starting hidden.\n * - While it shows, its box has Fomantic's `active` class.\n * - Controlled (`isVisible`): for a person's actions, the cancelable `ui-opening` / `ui-closing` come first:\n * - `show-on`: `hover` (the pointer over the parent, or focus inside it) or `click` (a click on the parent)\n * - a click on the dimmer itself (not its content; `closedby=\"any\"`)\n * - Escape (a page dimmer), invoker commands (`UIT.ToggleCommands`)\n * - `ui-opened` / `ui-closed` follow once its transition has ended.\n * - Writing `visible` (or `hidden`) fires no `ui-opening` / `ui-closing`.\n *\n * - A hidden `hover` dimmer stays laid out but transparent (and ignores the pointer),\n * so a keyboard user can Tab into its content, which shows it (`UIDimmer.css`).\n *\n * - Looks: a dark dimmer is the dark scheme for its content (`color-scheme: dark`, `--ui-inverted: 1`),\n * so a `<ui-header>` in it turns light by itself; `inverted` is the light one.\n * `blurring` blurs what's behind (`backdrop-filter`), instead of Fomantic's filter on the siblings.\n ****************/\nexport class UIDimmer extends E.UIComponent<typeof dimmerVocabulary> {\n @E.proto static vocabulary = dimmerVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { dimmer: dimmerCSS },\n cssStates: [\"page\"],\n // a click on the dimmer must not jump focus into its content\n delegatesFocus: false,\n // `disabled`: it never shows\n disabled: \"its own\",\n visible: \"hidden\"\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## Showing (`visible`)\n ////////////////\n\n /** Shown now: `visible`, and not `disabled`. */\n get isShowing(): boolean {\n return this.isVisible && !this.disabled\n }\n\n /** Fomantic's `active`, just before the noun while it shows. */\n protected get extraClass(): string | undefined {\n return this.isShowing ? UIT.ACTIVE : undefined\n }\n\n /**\n * Shown or hidden, as `visible` (`isVisible`): `ui-opening` / `ui-closing` first, `ui-opened` / `ui-closed` once\n * its transition ends (`onVisibleChange()`).\n * - A disabled dimmer never shows.\n */\n readonly disclosure = new E.Disclosure({\n component: this,\n member: \"isVisible\",\n canChange: (visible) => !visible || !this.disabled,\n detail: (visible, originalEvent): UIT.DimmerOpenDetail | UIT.DimmerCloseDetail =>\n visible ? { visible, originalEvent } : { visible, reason: this.closeReason, originalEvent },\n afterDetail: (visible): UIT.DimmerOpenDetail => ({ visible })\n })\n\n /** Why the latest close was asked for: `ui-closing`'s `reason`. */\n private closeReason: UIT.DimmerCloseReason = \"escape\"\n\n /** Show for a person's action, dispatching the cancelable `ui-opening` first; true when applied. */\n requestOpen(originalEvent?: Event): boolean {\n return this.disclosure.open(originalEvent)\n }\n\n /** Hide for `reason`, dispatching the cancelable `ui-closing` first; true when applied. */\n @E.untracked\n requestClose(reason: UIT.DimmerCloseReason, originalEvent?: Event): boolean {\n if (!this.isVisible) return false\n this.isDismissing = true\n E.soon(() => (this.isDismissing = false))\n this.closeReason = reason\n return this.disclosure.close(originalEvent)\n }\n\n /** An invoker command aimed at the DOM element (`UIT.ToggleCommands`). */\n @E.on(\"command\")\n protected onCommand(event: Event) {\n const action = UIT.ToggleCommands.action(event, this.isVisible)\n if (action === \"show\") this.requestOpen(event)\n else if (action === \"close\") this.requestClose(\"click\", event)\n }\n\n ////////////////\n // ## Kind\n ////////////////\n\n /** Always `:state(dimmer)`. */\n @E.cssState(\"dimmer\")\n get isDimmer(): boolean {\n return true\n }\n\n /** Shows while the pointer or focus is in its parent (`show-on=\"hover\"`). */\n @E.cssState(\"on-hover\")\n get showsOnHover(): boolean {\n return this.showOn === \"hover\"\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n if (!UI.styles.has(PAGE_SHEET)) UI.styles.register(PAGE_SHEET, dimmablePageCSS, { page: true })\n const content = (\n <div class={UIT.CONTENT} part={this.partForName(\"content\")}>\n <slot />\n </div>\n )\n return (\n <Show\n when={this.page}\n fallback={\n <div\n ref={(element) => (this.box = element)}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n onClick={this.onDimmerClick}\n >\n {content}\n </div>\n }\n >\n <dialog\n ref={(element) => (this.box = element)}\n class={this.rootClass}\n part={this.partForName(\"dimmer\")}\n aria-label={this.attributes[\"aria-label\"] ?? this.translationForKey(\"dimmedPage\")}\n onClick={this.onDimmerClick}\n onCancel={this.onCancel}\n onClose={this.onClose}\n >\n {content}\n </dialog>\n </Show>\n )\n }\n\n /** The dimmer box: a `<div>`, or a page dimmer's `<dialog>`. */\n private box?: HTMLElement\n\n ////////////////\n // ## Show and hide\n ////////////////\n\n /** Bumped on every show / hide, so a late `ui-opened` / `ui-closed` of an earlier one is dropped. */\n private generation = 0\n\n /** A page dimmer's `UI.overlays` entry; its Escape option follows `closedby` when it shows. */\n private readonly overlay: E.OverlayEntry = {\n element: this.domElement,\n kind: \"dimmer\",\n closeOnOutsideClick: false,\n onDismiss: (reason: E.DismissReason) => void this.requestClose(reason === \"outside\" ? \"click\" : reason)\n }\n\n /** What is on screen now: an element dimmer, a page dimmer (its `<dialog>`), or nothing. */\n private shown?: { kind: DimmerKind; box?: HTMLDialogElement }\n\n /**\n * `visible` changed (`UIComponent`'s hook): show the dimmer, or take it down.\n * - Resolves once the box's transition has ended, sending `ui-opened` / `ui-closed`.\n * - How it moves, by `animation`:\n * - the family's own (`fade`), or an attention one (`shake`): the sheet's transition (`UIDimmer.css`)\n * - any other: on the box, through `UI.transitions`\n * - `none`: at once\n * - A disabled dimmer never shows, and fires nothing.\n */\n protected async onVisibleChange(visible: boolean, animation: UIT.Animation): Promise<void> {\n const box = this.box\n const keyframes = UIT.AnimationLookup.keyframesBeside(animation, this.elementSetup.animation)\n const wasShown = !!this.shown\n if (!visible && wasShown && keyframes && box) {\n await UI.transitions.animate({ element: box, name: keyframes, direction: UIT.OUT })\n // shown again while the keyframes ran\n if (this.isVisible) return\n }\n this.place()\n if (visible ? !this.shown : !wasShown) return\n if (visible && keyframes && box) await UI.transitions.animate({ element: box, name: keyframes, direction: UIT.IN })\n if (!(await this.transitionsEnd())) return\n if (visible ? this.isShowing : !this.isShowing && this.domElement.isConnected) this.disclosure.sendAfter(visible)\n }\n\n /** Placed again whenever what decides it changes: connected, `page`, `disabled`, drawn. */\n @E.onChange(\"isConnected\", \"page\", \"disabled\", \"isReady\", { defer: true })\n protected onPlacementChanged() {\n this.place()\n }\n\n /**\n * Put on screen what should be there now, taking down what shouldn't: nothing, an element or a page dimmer.\n * - A page dimmer: `showModal()` and `UI.overlays`; taken down, `close()` THEN leave `UI.overlays`\n * (focus restore needs the page no longer `inert`).\n * - The `<dialog>` it showed is kept: `page` may switch the box before it's taken down.\n * - A box that `UI.transitions` animated out (left `hidden`) shows again.\n */\n @E.untracked\n private place() {\n const box = this.box\n const kind: DimmerKind | undefined =\n this.isConnected && this.isReady && this.isShowing ? (this.page ? \"page\" : \"element\") : undefined\n if (kind === this.shown?.kind) return\n const dialog = this.shown?.box\n if (dialog) {\n if (dialog.open) dialog.close()\n UI.overlays.close(this.overlay)\n }\n this.shown = undefined\n if (!kind) return\n if (box) UI.transitions.reveal(box)\n if (kind === \"element\" || !(box instanceof HTMLDialogElement)) return void (this.shown = { kind })\n this.overlay.closeOnEscape = (this.closedby ?? \"any\") !== \"none\"\n if (!box.open) {\n box.showModal()\n UI.focus.enter(box)\n }\n UI.overlays.open(this.overlay)\n this.shown = { kind, box }\n }\n\n /**\n * Once the box's own transitions end: `true` unless another show / hide started meanwhile.\n * - Asks the box again after each round: a transition restarted while it ran (a redraw on a slow machine)\n * settles the old one at once, canceled, and the new one is still running (main's CI, repo-split P23).\n */\n private async transitionsEnd(): Promise<boolean> {\n const generation = ++this.generation\n for (let running = this.box?.getAnimations() ?? []; running.length; running = this.box?.getAnimations() ?? []) {\n await Promise.allSettled(running.map((animation) => animation.finished))\n if (generation !== this.generation) return false\n }\n return generation === this.generation\n }\n\n ////////////////\n // ## The parent (`show-on`)\n ////////////////\n\n /** The pointer is over the parent (`show-on=\"hover\"`). */\n private pointerIsOverParent = false\n\n /** Listen to the parent for `show-on` while connected, once rendered (`isReady`); returns the undo. */\n @E.onChange(\"isConnected\", \"showOn\", \"isReady\")\n protected onTriggerChanged(isConnected: boolean, showOn: string | undefined, isReady: boolean) {\n return isConnected && isReady && showOn ? this.listenToParent(showOn) : undefined\n }\n\n /**\n * Listen to the parent for `show-on`; returns the undo.\n * - `hover`: pointer over the parent, or focus inside it (a keyboard user Tabbing into the content);\n * hides once both have left.\n * - `click`: a click on the parent outside the dimmer shows it.\n */\n private listenToParent(showOn: string): (() => void) | undefined {\n const parent = this.domElement.parentElement\n if (!parent) return undefined\n const listeners = new AbortController()\n const options = { signal: listeners.signal }\n if (showOn === \"hover\") {\n parent.addEventListener(\"pointerenter\", this.onPointerEnter, options)\n parent.addEventListener(\"pointerleave\", this.onPointerLeave, options)\n parent.addEventListener(\"focusin\", this.onParentFocusIn, options)\n parent.addEventListener(\"focusout\", this.onParentFocusOut, options)\n } else {\n parent.addEventListener(\"click\", this.onParentClick, options)\n }\n return () => {\n this.pointerIsOverParent = false\n listeners.abort()\n }\n }\n\n /** The pointer or focus left a `show-on=\"hover\"` dimmer's parent: hide once neither is inside. */\n private leave(event: Event, next: EventTarget | null | undefined = UI.focus.activeElementDeep()) {\n const parent = this.domElement.parentElement\n if (this.pointerIsOverParent || (parent && next instanceof Node && UI.focus.containsDeep(parent, next))) return\n this.requestClose(\"hover\", event)\n }\n\n /** The pointer entered a `show-on=\"hover\"` dimmer's parent: show. */\n private readonly onPointerEnter = (event: PointerEvent) => {\n this.pointerIsOverParent = true\n this.requestOpen(event)\n }\n\n /** The pointer left a `show-on=\"hover\"` dimmer's parent: hide, unless focus is still inside. */\n private readonly onPointerLeave = (event: PointerEvent) => {\n this.pointerIsOverParent = false\n this.leave(event)\n }\n\n /** Focus moved into a `show-on=\"hover\"` dimmer's parent: show. */\n private readonly onParentFocusIn = (event: FocusEvent) => this.requestOpen(event)\n\n /**\n * Focus left a `show-on=\"hover\"` dimmer's parent (or moved within it): hide once neither it nor the pointer is in.\n */\n private readonly onParentFocusOut = (event: FocusEvent) => this.leave(event, event.relatedTarget)\n\n /** A click on the parent (`show-on=\"click\"`) outside the dimmer: show. */\n private readonly onParentClick = (event: MouseEvent) => {\n if (this.box && event.composedPath().includes(this.box)) return\n this.requestOpen(event)\n }\n\n ////////////////\n // ## Dismissing\n ////////////////\n\n /** A dismissal was asked for in this task: the dialog's own `cancel` for the same key press is ignored. */\n private isDismissing = false\n\n /** A click on the dimmer itself, not its content: hides it when `closedby=\"any\"` (never a `hover` one). */\n @E.untracked\n private readonly onDimmerClick = (event: MouseEvent) => {\n if (event.composedPath()[0] !== this.box) return\n const closedBy = this.closedby ?? \"any\"\n if (closedBy !== \"any\" || this.showOn === \"hover\") return\n this.requestClose(\"click\", event)\n }\n\n /**\n * A page dimmer's `cancel`: Escape the overlay didn't take (a `CloseWatcher` request).\n * - Always prevented; the element decides, by `closedby`, and `ui-closing` may veto.\n */\n @E.untracked\n private readonly onCancel = (event: Event) => {\n event.preventDefault()\n if (this.isDismissing || (this.closedby ?? \"any\") === \"none\") return\n this.requestClose(\"escape\", event)\n }\n\n /** A page dimmer's dialog closed while the element thinks it's shown: the browser forced it -- follow. */\n @E.untracked\n private readonly onClose = (event: Event) => {\n const box = this.box\n if ((box instanceof HTMLDialogElement && box.open) || !this.domElement.isConnected) return\n this.closeReason = \"escape\"\n this.disclosure.adopt(false, event)\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDimmer extends E.AttributeValues<typeof dimmerVocabulary> {}\n\n/** Which dimmer it is: over its parent (`element`), or a modal dialog over the page (`page`). */\ntype DimmerKind = \"element\" | \"page\"\n\n/** Name of the page sheet that positions dimmed parents (`UIDimmer.page.css`). */\nconst PAGE_SHEET = \"dimmer-page\"\n","/**\n * The dimmer family: defines `<ui-dimmer>` and exports its component, `UIDimmer`.\n * - SIDE EFFECT: importing it defines the tag;\n * a dimmer's first render registers the `dimmer-page` page sheet (a dimmer's parent is positioned for it).\n * - NOTE: `<ui-modal>` doesn't use it: a modal's dimmer is its `<dialog>`'s `::backdrop`,\n * themed by the same `--ui-dimmer-*` tokens.\n * - Also the library's `spell/ui/ui-dimmer` entry (its size is in `notes/report.md`).\n */\n\nimport { UIDimmer } from \"./UIDimmer\"\n\nUIDimmer.define()\n\nexport { UIDimmer }\n"],"mappings":";;;;;AAmBA,IAAamC,IAAmB;CAC9B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAY;EAAW;EAAY;CAAS;CACrD,KAAK;EAAC;EAAW;EAAY;EAAS;EAAQ;CAAS;CACvD,MAAM;CACN,cAAc;CACd,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAU;IAAS;GAAY;GACxC,aAAa;EACf;EACA;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,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,QAAQ;GAEjB,SAAS,CAAC;GACV,UAAU,CAAC;IAAE,MAAM;IAAU,OAAO;GAAS,CAAC;GAC9C,aACE;EACJ;EACA;GAAE,MAAM;GAAY,OAAO;GAAU,MAAM;GAAW,aAAa;EAAe;EAClF;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,OAAO,QAAQ;GAC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iB,iBADjBX,GA1SWY,CAAA,GAuTX1B,EAAAyB,GAAA,GAAiB,YADjBZ,GAtTWa,CAAA,GA+TX1B,EAAAyB,GAAA,GAAiB,WADjBb,GA9TWc,CAAA,GAANzB,EAAAwB,GAAMC,CAAA,GAAwDhC,EAAAgC,GAAA,UAAA,GAC1D7B,EADE6B,GACK,cAAaxB,EAApBuB,GAAA,GADEC,GACkBpB,CAAA,CAAA,GAApBJ,EAAAuB,GAAA,IADEC,CAAA,GAEI7B,EAFJ6B,GAEW,gBAAexB,EAAtBuB,GAAA,IAFJC,GAE0B;CACnC,aAAa,EAAE,QAAQ/B,EAAU;CACjC,WAAW,CAAC,MAAM;CAElB,gBAAgB;CAEhB,UAAU;CACV,SAAS;AACX,CAAA,CAAA,GAReO,EAAAuB,GAAA,IAFJC,CAAA;AAAN,IAAMsD,IAANtD,GA8UDiB,IAAa;;A,cC5WnBqC,EAAS,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-divider/ui-divider.editor.html?raw
2
+ var e = "<!-- <ui-divider>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-divider\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"icon\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n <ui-property name=\"spacer\"></ui-property>\n <ui-property name=\"clearing\"></ui-property>\n <ui-property name=\"section\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"padding\"></ui-property>\n <ui-property name=\"align\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-divider.editor-D6ozEXjx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-divider.editor-D6ozEXjx.js","names":["ui_divider_editor_default"],"sources":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import "./rolldown-runtime-CYGlBXrH.js";
2
- import { A as e, Bt as t, Ht as n, IconGlyph as r, Lt as i, Rt as a, UIComponent as o, Ut as s, proto as c, protoMerged as l, zt as u } from "./core.js";
1
+ import "./rolldown-runtime-c6e9CmGy.js";
2
+ import { A as e, Gt as t, IconGlyph as n, Jt as r, Kt as i, UIComponent as a, Ut as o, Wt as s, Yt as c, proto as l, protoMerged as u } from "./core.js";
3
3
  import { Show as d } from "solid-js";
4
4
  import { className as f, createComponent as p, effect as m, getOwner as h, insert as g, readShallow as _, setAttribute as v, template as y } from "@solidjs/web";
5
- //#region src/components/ui-divider/UIDivider.en.ts
5
+ // src/components/ui-divider/UIDivider.en.ts
6
6
  var b = {
7
7
  tag: "ui-divider",
8
8
  icon: "minus",
@@ -22,6 +22,7 @@ var b = {
22
22
  ],
23
23
  skeleton: "0.25 tall",
24
24
  noun: "divider",
25
+ partOfSpeech: "plain",
25
26
  description: "A divider visually segments content into groups.",
26
27
  attributes: [
27
28
  {
@@ -120,11 +121,11 @@ var b = {
120
121
  }],
121
122
  states: [],
122
123
  texts: []
123
- }, x = "@layer ui.components.divider.types{:host{display:contents}.ui.divider{--_ui-divider-margin:var(--ui-divider-margin,1em);--_ui-divider-section-margin:var(--ui-divider-section-margin,2em);--_ui-divider-line-width:var(--ui-divider-line-width,var(--ui-border-width));--_ui-divider-line-color:var(--ui-divider-line-color,var(--ui-border-color));--_ui-divider-highlight:var(--ui-divider-highlight,transparent);--_ui-divider-text-color:var(--ui-divider-text-color,var(--ui-text-dark));--_ui-divider-font-weight:var(--ui-divider-font-weight,var(--ui-font-weight-bold));--_ui-divider-letter-spacing:var(--ui-divider-letter-spacing,.05em);--_ui-divider-text-transform:var(--ui-divider-text-transform,uppercase);--_ui-divider-text-gap:var(--ui-divider-text-gap,1em);--_ui-divider-vertical-gap:var(--ui-divider-vertical-gap,1em);--_ui-divider-icon-size:var(--ui-divider-icon-size,1em);--_ui-icon-owner-margin:0;--_ui-icon-owner-align:middle;--_ui-icon-owner-size:initial;--_ui-icon-owner-display:initial;box-sizing:border-box;height:0;margin:var(--_ui-divider-margin) 0;border-top:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-bottom:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);color:var(--ui-color-text,var(--_ui-divider-text-color));font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));font-weight:var(--_ui-divider-font-weight);letter-spacing:var(--_ui-divider-letter-spacing);text-transform:var(--_ui-divider-text-transform);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;line-height:1;display:block}.ui.horizontal.divider{align-items:center;gap:var(--_ui-divider-text-gap);text-align:center;white-space:nowrap;border:none;height:auto;display:flex}.ui.horizontal.divider:before,.ui.horizontal.divider:after{content:\"\";border-top:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-bottom:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);flex:1 1 0}.ui[class*=center\\ aligned].horizontal.divider{justify-content:center}.ui[class*=left\\ aligned].horizontal.divider:before,.ui[class*=right\\ aligned].horizontal.divider:after{display:none}.ui.vertical.divider{z-index:2;text-align:center;border:none;width:auto;height:50%;margin:0;padding:0;line-height:0;position:absolute;top:50%;left:50%;translate:-50%}.ui.vertical.divider:before,.ui.vertical.divider:after{content:\"\";z-index:3;width:0;height:calc(100% - var(--_ui-divider-vertical-gap));border-left:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-right:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);position:absolute;left:50%}.ui.vertical.divider:before{top:-100%}.ui.vertical.divider:after{top:auto;bottom:0}}@layer ui.components.divider.content{.ui.divider>.icon{height:1em;font-size:var(--_ui-divider-icon-size);vertical-align:middle;margin:0;display:inline-block}.ui.divider>.icon svg{fill:currentColor;width:auto;height:100%;display:block}}@layer ui.components.divider.variations{.ui.inverted.divider{color-scheme:dark;--ui-scheme:dark}.ui.fitted.divider{margin:0}.ui.clearing.divider{clear:both}.ui.section.divider{margin-block:var(--_ui-divider-section-margin)}.ui.hidden.divider{border-color:#0000}.ui.hidden.divider:before,.ui.hidden.divider:after{display:none}}@layer ui.components.divider.states;", S = /* @__PURE__ */ y("<span>"), C = /* @__PURE__ */ y("<div><slot>"), w, T, E, D, O = class _UIDivider extends (E = o, T = [c], w = [l], E) {
124
+ }, x = "@layer ui.components.divider.types{:host{display:contents}.ui.divider{--_ui-divider-margin:var(--ui-divider-margin,1em);--_ui-divider-section-margin:var(--ui-divider-section-margin,2em);--_ui-divider-line-width:var(--ui-divider-line-width,var(--ui-border-width));--_ui-divider-line-color:var(--ui-divider-line-color,var(--ui-border-color));--_ui-divider-highlight:var(--ui-divider-highlight,transparent);--_ui-divider-text-color:var(--ui-divider-text-color,var(--ui-text-dark));--_ui-divider-font-weight:var(--ui-divider-font-weight,var(--ui-font-weight-bold));--_ui-divider-letter-spacing:var(--ui-divider-letter-spacing,.05em);--_ui-divider-text-transform:var(--ui-divider-text-transform,uppercase);--_ui-divider-text-gap:var(--ui-divider-text-gap,1em);--_ui-divider-vertical-gap:var(--ui-divider-vertical-gap,1em);--_ui-divider-icon-size:var(--ui-divider-icon-size,1em);--_ui-icon-owner-margin:0;--_ui-icon-owner-align:middle;--_ui-icon-owner-size:initial;--_ui-icon-owner-display:initial;box-sizing:border-box;height:0;margin:var(--_ui-divider-margin) 0;border-top:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-bottom:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);color:var(--ui-color-text,var(--_ui-divider-text-color));font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));font-weight:var(--_ui-divider-font-weight);letter-spacing:var(--_ui-divider-letter-spacing);text-transform:var(--_ui-divider-text-transform);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;line-height:1;display:block}.ui.horizontal.divider{align-items:center;gap:var(--_ui-divider-text-gap);text-align:center;white-space:nowrap;border:none;height:auto;display:flex}.ui.horizontal.divider:before,.ui.horizontal.divider:after{content:\"\";border-top:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-bottom:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);flex:1 1 0}.ui[class*=center\\ aligned].horizontal.divider{justify-content:center}.ui[class*=left\\ aligned].horizontal.divider:before,.ui[class*=right\\ aligned].horizontal.divider:after{display:none}.ui.vertical.divider{z-index:2;text-align:center;border:none;width:auto;height:50%;margin:0;padding:0;line-height:0;position:absolute;top:50%;left:50%;translate:-50%}.ui.vertical.divider:before,.ui.vertical.divider:after{content:\"\";z-index:3;width:0;height:calc(100% - var(--_ui-divider-vertical-gap));border-left:var(--_ui-divider-line-width) solid var(--ui-color,var(--_ui-divider-line-color));border-right:var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);position:absolute;left:50%}.ui.vertical.divider:before{top:-100%}.ui.vertical.divider:after{top:auto;bottom:0}}@layer ui.components.divider.content{.ui.divider>.icon{height:1em;font-size:var(--_ui-divider-icon-size);vertical-align:middle;margin:0;display:inline-block}.ui.divider>.icon svg{fill:currentColor;width:auto;height:100%;display:block}}@layer ui.components.divider.variations{.ui.inverted.divider{color-scheme:dark;--ui-scheme:dark}.ui.fitted.divider{margin:0}.ui.clearing.divider{clear:both}.ui.section.divider{margin-block:var(--_ui-divider-section-margin)}.ui.hidden.divider{border-color:#0000}.ui.hidden.divider:before,.ui.hidden.divider:after{display:none}}@layer ui.components.divider.states;", S = /* @__PURE__ */ y("<span>"), C = /* @__PURE__ */ y("<div><slot>"), w, T, E, D, O = class _UIDivider extends (E = a, T = [l], w = [u], E) {
124
125
  constructor() {
125
- super(...arguments), n(this, "iconGlyph", new r({
126
+ super(...arguments), r(this, "iconGlyph", new n({
126
127
  owner: this,
127
- name: /* @__PURE__ */ t(() => this.icon, "name")
128
+ name: /* @__PURE__ */ i(() => this.icon, "name")
128
129
  }));
129
130
  }
130
131
  render() {
@@ -153,12 +154,10 @@ var b = {
153
154
  }), n;
154
155
  }
155
156
  };
156
- D = u(E), i(D, 13, "vocabulary", T, O), i(D, 13, "elementSetup", w, O), a(D, O), t(O, "UIDivider"), n(O, "vocabulary", s(D, 8, O, b)), s(D, 11, O), n(O, "elementSetup", s(D, 12, O, { styleSheets: { divider: x } })), s(D, 15, O);
157
+ D = t(E), o(D, 13, "vocabulary", T, O), o(D, 13, "elementSetup", w, O), s(D, O), i(O, "UIDivider"), r(O, "vocabulary", c(D, 8, O, b)), c(D, 11, O), r(O, "elementSetup", c(D, 12, O, { styleSheets: { divider: x } })), c(D, 15, O);
157
158
  var k = O, A = "vertical";
158
- //#endregion
159
- //#region src/components/ui-divider/index.ts
159
+ // src/components/ui-divider/index.ts
160
160
  k.define();
161
- //#endregion
162
161
  export { k as UIDivider };
163
162
 
164
163
  //# sourceMappingURL=ui-divider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-divider.js","names":["<Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>","this","part={this.partForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>","<div\n class={this.rootClass}\n role={this.spacer ? \"none\" : \"separator\"}\n aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : void 0}\n part={this.partForName(\"divider\")}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </div>","role={this.spacer ? \"none\" : \"separator\"}","aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : void 0}","part={this.partForName(\"divider\")}","E.UIComponent","E.proto","E.protoMerged","E.IconGlyph","_$createComponent","_$readShallow","UIT.ICON","_$setAttribute","_$getOwner","__name","dividerCSS","ICON","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","__decoratorStart","getOwner$1","dividerVocabulary","UIDivider_default","_tmpl$","_tmpl$2","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIDivider","UIComponent","proto","protoMerged","IconGlyph","_self$","_el$","_el$3","insert","createComponent","Show","_el$2","effect","readShallow","className","_p$","setAttribute","VERTICAL","a","o","UIDivider"],"sources":["../src/components/ui-divider/UIDivider.en.ts","../src/components/ui-divider/UIDivider.css?inline","../src/components/ui-divider/UIDivider.tsx","../src/components/ui-divider/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-divider>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots and parts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-divider direction=\"horizontal\" align=\"left\">` => `ui horizontal left aligned divider`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `dividerVocabulary`\n * The names of `<ui-divider>`, a line between groups of content:\n * `<div class=\"ui … divider\" role=\"separator\">` around a slot for its text.\n ****************/\nexport const dividerVocabulary = {\n tag: \"ui-divider\",\n icon: \"minus\",\n snippet: \"<ui-divider></ui-divider>\",\n topics: [\"layout\", \"basic\", \"typography\", \"elements\"],\n aka: [\"separator\", \"hr\", \"horizontal rule\", \"rule\", \"line\"],\n skeleton: \"0.25 tall\",\n noun: \"divider\",\n description: \"A divider visually segments content into groups.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of the text, `mini` ... `massive`; `medium` is the default.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the rule and the text.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\", \"vertical\"],\n replaces: [\n { from: \"horizontal\", value: \"horizontal\" },\n { from: \"vertical\", value: \"vertical\" }\n ],\n description:\n \"`horizontal`: text (or an icon) between two horizontal rules; `vertical`: a vertical rule with optional \" +\n \"text, centred in a `position: relative` owner (segment, grid). Its old names were `horizontal`, `vertical`.\"\n },\n {\n name: \"spacer\",\n group: \"appearance\",\n kind: \"keyOnly\",\n key: \"hidden\",\n description:\n \"The spacing without the line (Fomantic's `hidden` divider: the class word stays `hidden`). \" +\n \"Renamed because `hidden` hides every element, as the platform's does.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"none\"],\n classes: { none: \"fitted\" },\n replaces: [{ from: \"fitted\", value: \"none\" }],\n description: \"`none`: no space above or below. Its old name was `fitted`.\"\n },\n { name: \"clearing\", group: \"appearance\", kind: \"keyOnly\", description: \"Clears floated content above it.\" },\n {\n name: \"section\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"More space, to divide sections of content.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: [\"left\", \"center\", \"right\"],\n replaces: [\"text-align\"],\n description:\n 'With `direction=\"horizontal\"`: where the text sits; `left` / `right` drop the rule on that side. Its old name was `text-align`.'\n },\n { name: \"icon\", group: \"content\", kind: \"icon\", description: \"Icon name, shown before the text.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text between the rules of a `horizontal` or `vertical` divider.\" }],\n parts: [\n { name: \"divider\", description: \"The divider box.\" },\n { name: \"icon\", description: \"The icon box.\" }\n ],\n states: [],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-divider>`: a port of Fomantic's `divider.less` + `divider.variables`.\n * - It styles the component's shadow DOM, in Fomantic's class names on a semantic element:\n * `<div class=\"ui [size] [color] [keyOnly ...] [text-align] divider\" role=\"separator\" part=\"divider\">`,\n * holding `<span class=\"icon\" part=\"icon\">svg</span>` for the `icon` shorthand, then `<slot></slot>`.\n *\n * - The DOM element itself is `display: contents` (`:host`): the inner box IS the divider.\n * So a `vertical` divider positions against its owner (a `position: relative` segment or grid),\n * and `clearing` clears the floats in the owner's flow.\n *\n * - A horizontal divider is a flex row: its `::before` and `::after` draw the lines either side of the text,\n * in place of Fomantic's `display: table` cells and base64 PNG line.\n * `left aligned` / `right aligned` drop one of them.\n *\n * - `inverted` switches the box to `color-scheme: dark`, so the line and text tokens take their dark values:\n * one rule set, no table of inverted colours.\n * - A `color` recolours the line (`--ui-color`) and the text (`--ui-color-text`).\n *\n * - The public tokens (`--ui-divider-*`) are NEVER declared here.\n * The token block gives each a private alias, `--_ui-divider-margin: var(--ui-divider-margin, 1em)`,\n * and every rule reads the alias.\n * So a value set on `:root`, an ancestor, the element, `::part(divider)` or in the app's style sheet\n * reaches the box (`notes/theming.md`, \"Component tokens\").\n *\n * - No `:state()`s: the rules key on the inner box's classes.\n *\n * - `<ui-divider spacer>` is Fomantic's `hidden` divider (the class word stays `hidden`);\n * the element's own `hidden` hides it, as on every element.\n *\n * - Left out, on purpose:\n * - a stackable grid turning a vertical divider horizontal on a phone, and the grid's column rules\n * (`.ui.grid > .column + .divider`): `UIGrid.css` owns those, when it has them\n * - the second (highlight) line under a plain divider: kept as `--ui-divider-highlight`, transparent by default\n */\n\n@layer ui.components.divider.types, ui.components.divider.content, ui.components.divider.variations, ui.components.divider.states;\n\n/*******************************\n Divider\n*******************************/\n\n@layer ui.components.divider.types {\n /* The DOM element: no box of its own; the inner box is the divider. */\n :host {\n display: contents;\n }\n\n /* Tokens: one per `divider.variables` entry that still matters, each the private alias of its public token. */\n .ui.divider {\n --_ui-divider-margin: var(--ui-divider-margin, 1em);\n --_ui-divider-section-margin: var(--ui-divider-section-margin, 2em);\n --_ui-divider-line-width: var(--ui-divider-line-width, var(--ui-border-width));\n --_ui-divider-line-color: var(--ui-divider-line-color, var(--ui-border-color));\n --_ui-divider-highlight: var(--ui-divider-highlight, transparent);\n --_ui-divider-text-color: var(--ui-divider-text-color, var(--ui-text-dark));\n --_ui-divider-font-weight: var(--ui-divider-font-weight, var(--ui-font-weight-bold));\n --_ui-divider-letter-spacing: var(--ui-divider-letter-spacing, 0.05em);\n --_ui-divider-text-transform: var(--ui-divider-text-transform, uppercase);\n --_ui-divider-text-gap: var(--ui-divider-text-gap, 1em);\n --_ui-divider-vertical-gap: var(--ui-divider-vertical-gap, 1em);\n --_ui-divider-icon-size: var(--ui-divider-icon-size, 1em);\n }\n\n /* Divider: a hairline with space around it. */\n .ui.divider {\n --_ui-icon-owner-margin: 0;\n --_ui-icon-owner-align: middle;\n --_ui-icon-owner-size: initial;\n --_ui-icon-owner-display: initial;\n box-sizing: border-box;\n display: block;\n height: 0;\n margin: var(--_ui-divider-margin) 0;\n border-top: var(--_ui-divider-line-width) solid var(--ui-color, var(--_ui-divider-line-color));\n border-bottom: var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);\n color: var(--ui-color-text, var(--_ui-divider-text-color));\n font-family: var(--ui-font-family);\n font-size: calc(var(--ui-font-size) * var(--ui-scale, 1));\n font-weight: var(--_ui-divider-font-weight);\n letter-spacing: var(--_ui-divider-letter-spacing);\n line-height: 1;\n text-transform: var(--_ui-divider-text-transform);\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n }\n\n /* Horizontal: text (or an icon) between two rules. */\n .ui.horizontal.divider {\n display: flex;\n align-items: center;\n gap: var(--_ui-divider-text-gap);\n height: auto;\n border: none;\n text-align: center;\n white-space: nowrap;\n }\n .ui.horizontal.divider::before,\n .ui.horizontal.divider::after {\n content: \"\";\n flex: 1 1 0;\n border-top: var(--_ui-divider-line-width) solid var(--ui-color, var(--_ui-divider-line-color));\n border-bottom: var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);\n }\n .ui[class*=\"center aligned\"].horizontal.divider {\n justify-content: center;\n }\n .ui[class*=\"left aligned\"].horizontal.divider::before,\n .ui[class*=\"right aligned\"].horizontal.divider::after {\n display: none;\n }\n\n /* Vertical: text between two vertical rules, centred in a `position: relative` owner. */\n .ui.vertical.divider {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 2;\n width: auto;\n height: 50%;\n margin: 0;\n padding: 0;\n border: none;\n line-height: 0;\n text-align: center;\n translate: -50% 0;\n }\n .ui.vertical.divider::before,\n .ui.vertical.divider::after {\n content: \"\";\n position: absolute;\n left: 50%;\n z-index: 3;\n width: 0;\n height: calc(100% - var(--_ui-divider-vertical-gap));\n border-left: var(--_ui-divider-line-width) solid var(--ui-color, var(--_ui-divider-line-color));\n border-right: var(--_ui-divider-line-width) solid var(--_ui-divider-highlight);\n }\n .ui.vertical.divider::before {\n top: -100%;\n }\n .ui.vertical.divider::after {\n top: auto;\n bottom: 0;\n }\n}\n\n/*******************************\n Content\n*******************************/\n\n@layer ui.components.divider.content {\n /* Icon: sits on the text line between the rules. */\n .ui.divider > .icon {\n display: inline-block;\n height: 1em;\n margin: 0;\n font-size: var(--_ui-divider-icon-size);\n vertical-align: middle;\n }\n .ui.divider > .icon svg {\n display: block;\n width: auto;\n height: 100%;\n fill: currentColor;\n }\n}\n\n/*******************************\n Variations\n*******************************/\n\n@layer ui.components.divider.variations {\n /* Inverted: for dark backgrounds -- the dark scheme's line and text colours. */\n .ui.inverted.divider {\n color-scheme: dark;\n --ui-scheme: dark;\n }\n\n /* Fitted: no space around it. */\n .ui.fitted.divider {\n margin: 0;\n }\n\n /* Clearing: clears floats above it. */\n .ui.clearing.divider {\n clear: both;\n }\n\n /* Section: more space, between sections. */\n .ui.section.divider {\n margin-block: var(--_ui-divider-section-margin);\n }\n\n /* Hidden: the space without the line; last, so it beats colours and `inverted`. */\n .ui.hidden.divider {\n border-color: transparent;\n }\n .ui.hidden.divider::before,\n .ui.hidden.divider::after {\n display: none;\n }\n}\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { dividerVocabulary } from \"./UIDivider.en\"\n\nimport dividerCSS from \"./UIDivider.css?inline\"\n\n/****************\n * ### `UIDivider`\n * The component behind `<ui-divider>`: a line that splits content into groups,\n * optionally with text or an icon on it.\n *\n * - Its shadow DOM is one box, `<div class=\"ui … divider\" role=\"separator\" part=\"divider\">`,\n * holding the `icon` shorthand's box, then the default slot for the text.\n *\n * - A `role=\"separator\"` box, not an `<hr>`:\n * a horizontal or vertical divider carries text, which an `<hr>` can't hold.\n * - `aria-orientation=\"vertical\"` for a `vertical` divider.\n * - A `spacer` divider is `role=\"none\"`: it keeps the spacing, without the line.\n *\n * - `spacer` is Fomantic's `hidden` divider: its class word is still `hidden`.\n * - Renamed because `hidden` hides every element, as the platform's does (epic `spell-element`, P12).\n ****************/\nexport class UIDivider extends E.UIComponent<typeof dividerVocabulary> {\n @E.proto static vocabulary = dividerVocabulary\n @E.protoMerged static elementSetup = { styleSheets: { divider: dividerCSS } } satisfies Partial<E.ElementSetup>\n\n /** The glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n render(): JSX.Element {\n return (\n <div\n class={this.rootClass}\n role={this.spacer ? \"none\" : \"separator\"}\n aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : undefined}\n part={this.partForName(\"divider\")}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDivider extends E.AttributeValues<typeof dividerVocabulary> {}\n\n/** `direction`'s vertical rule, and the ARIA orientation it gives the separator. */\nconst VERTICAL = \"vertical\"\n","/**\n * The divider family: defines `<ui-divider>` and exports its component, `UIDivider`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-divider` entry (its size is in `notes/report.md`).\n */\n\nimport { UIDivider } from \"./UIDivider\"\n\nUIDivider.define()\n\nexport { UIDivider }\n"],"mappings":";;;;;AAeA,IAAa2B,IAAo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AnC,EAAA0B,GAAA,oBAAAY,CAA2E,GAC3EC,MAAAJ,GAAA,KAAAnC,EAAA0B,GAAA,QAAAa,CAAgC;EAHpB,CAAA,GADdlD;CAcJ;AACF;AAxBO,IAAAqB,EAAAQ,CAAA,GACIX,EAAAY,GAAA,IAAO,cAAhBF,GADWG,CAAA,GAEIb,EAAAY,GAAA,IAAO,gBAAtBH,GAFWI,CAAA,GAANZ,EAAAW,GAAMC,CAAA,GAA0DlB,EAAAkB,GAAA,WAAA,GAC5Dd,EADEc,GACK,cAAaX,EAApBU,GAAA,GADEC,GACkBR,CAAA,CAAA,GAApBH,EAAAU,GAAA,IADEC,CAAA,GAEId,EAFJc,GAEW,gBAAeX,EAAtBU,GAAA,IAFJC,GAE0B,EAAE,aAAa,EAAE,SAASjB,EAAW,EAAE,CAAA,CAAA,GAA7DM,EAAAU,GAAA,IAFJC,CAAA;AAAN,IAAMoB,IAANpB,GA8BDiB,IAAW;;;AC9CjBG,EAAU,OAAO"}
1
+ {"version":3,"file":"ui-divider.js","names":["<Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>","this","part={this.partForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>","<div\n class={this.rootClass}\n role={this.spacer ? \"none\" : \"separator\"}\n aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : void 0}\n part={this.partForName(\"divider\")}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </div>","role={this.spacer ? \"none\" : \"separator\"}","aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : void 0}","part={this.partForName(\"divider\")}","E.UIComponent","E.proto","E.protoMerged","E.IconGlyph","_$readShallow","UIT.ICON","_$setAttribute","_$getOwner","__name","dividerCSS","ICON","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","getOwner$1","dividerVocabulary","UIDivider_default","_tmpl$","_tmpl$2","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIDivider","UIComponent","proto","protoMerged","IconGlyph","_self$","_el$","_el$3","insert","createComponent","Show","_el$2","effect","readShallow","className","_p$","setAttribute","VERTICAL","a","o","UIDivider"],"sources":["../src/components/ui-divider/UIDivider.en.ts","../src/components/ui-divider/UIDivider.tsx","../src/components/ui-divider/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-divider>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots and parts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-divider direction=\"horizontal\" align=\"left\">` => `ui horizontal left aligned divider`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `dividerVocabulary`\n * The names of `<ui-divider>`, a line between groups of content:\n * `<div class=\"ui … divider\" role=\"separator\">` around a slot for its text.\n ****************/\nexport const dividerVocabulary = {\n tag: \"ui-divider\",\n icon: \"minus\",\n snippet: \"<ui-divider></ui-divider>\",\n topics: [\"layout\", \"basic\", \"typography\", \"elements\"],\n aka: [\"separator\", \"hr\", \"horizontal rule\", \"rule\", \"line\"],\n skeleton: \"0.25 tall\",\n noun: \"divider\",\n partOfSpeech: \"plain\",\n description: \"A divider visually segments content into groups.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of the text, `mini` ... `massive`; `medium` is the default.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the rule and the text.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\", \"vertical\"],\n replaces: [\n { from: \"horizontal\", value: \"horizontal\" },\n { from: \"vertical\", value: \"vertical\" }\n ],\n description:\n \"`horizontal`: text (or an icon) between two horizontal rules; `vertical`: a vertical rule with optional \" +\n \"text, centred in a `position: relative` owner (segment, grid). Its old names were `horizontal`, `vertical`.\"\n },\n {\n name: \"spacer\",\n group: \"appearance\",\n kind: \"keyOnly\",\n key: \"hidden\",\n description:\n \"The spacing without the line (Fomantic's `hidden` divider: the class word stays `hidden`). \" +\n \"Renamed because `hidden` hides every element, as the platform's does.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"none\"],\n classes: { none: \"fitted\" },\n replaces: [{ from: \"fitted\", value: \"none\" }],\n description: \"`none`: no space above or below. Its old name was `fitted`.\"\n },\n { name: \"clearing\", group: \"appearance\", kind: \"keyOnly\", description: \"Clears floated content above it.\" },\n {\n name: \"section\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"More space, to divide sections of content.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: [\"left\", \"center\", \"right\"],\n replaces: [\"text-align\"],\n description:\n 'With `direction=\"horizontal\"`: where the text sits; `left` / `right` drop the rule on that side. Its old name was `text-align`.'\n },\n { name: \"icon\", group: \"content\", kind: \"icon\", description: \"Icon name, shown before the text.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text between the rules of a `horizontal` or `vertical` divider.\" }],\n parts: [\n { name: \"divider\", description: \"The divider box.\" },\n { name: \"icon\", description: \"The icon box.\" }\n ],\n states: [],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { dividerVocabulary } from \"./UIDivider.en\"\n\nimport dividerCSS from \"./UIDivider.css?inline\"\n\n/****************\n * ### `UIDivider`\n * The component behind `<ui-divider>`: a line that splits content into groups,\n * optionally with text or an icon on it.\n *\n * - Its shadow DOM is one box, `<div class=\"ui … divider\" role=\"separator\" part=\"divider\">`,\n * holding the `icon` shorthand's box, then the default slot for the text.\n *\n * - A `role=\"separator\"` box, not an `<hr>`:\n * a horizontal or vertical divider carries text, which an `<hr>` can't hold.\n * - `aria-orientation=\"vertical\"` for a `vertical` divider.\n * - A `spacer` divider is `role=\"none\"`: it keeps the spacing, without the line.\n *\n * - `spacer` is Fomantic's `hidden` divider: its class word is still `hidden`.\n * - Renamed because `hidden` hides every element, as the platform's does (epic `spell-element`, P12).\n ****************/\nexport class UIDivider extends E.UIComponent<typeof dividerVocabulary> {\n @E.proto static vocabulary = dividerVocabulary\n @E.protoMerged static elementSetup = { styleSheets: { divider: dividerCSS } } satisfies Partial<E.ElementSetup>\n\n /** The glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n render(): JSX.Element {\n return (\n <div\n class={this.rootClass}\n role={this.spacer ? \"none\" : \"separator\"}\n aria-orientation={this.direction === VERTICAL && !this.spacer ? VERTICAL : undefined}\n part={this.partForName(\"divider\")}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDivider extends E.AttributeValues<typeof dividerVocabulary> {}\n\n/** `direction`'s vertical rule, and the ARIA orientation it gives the separator. */\nconst VERTICAL = \"vertical\"\n","/**\n * The divider family: defines `<ui-divider>` and exports its component, `UIDivider`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-divider` entry (its size is in `notes/report.md`).\n */\n\nimport { UIDivider } from \"./UIDivider\"\n\nUIDivider.define()\n\nexport { UIDivider }\n"],"mappings":";;;;;AAeA,IAAa0B,IAAoB;CAC/B,KAAK;CACL,MAAM;CACN,SAAS;CACT,QAAQ;EAAC;EAAU;EAAS;EAAc;CAAU;CACpD,KAAK;EAAC;EAAa;EAAM;EAAmB;EAAQ;CAAM;CAC1D,UAAU;CACV,MAA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AAe,EAAAa,CAAA,GACIV,EAAAW,GAAA,IAAO,cAAhBF,GADWG,CAAA,GAEIZ,EAAAW,GAAA,IAAO,gBAAtBH,GAFWI,CAAA,GAANX,EAAAU,GAAMC,CAAA,GAA0DlB,EAAAkB,GAAA,WAAA,GAC5Dd,EADEc,GACK,cAAaV,EAApBS,GAAA,GADEC,GACkBR,CAAA,CAAA,GAApBF,EAAAS,GAAA,IADEC,CAAA,GAEId,EAFJc,GAEW,gBAAeV,EAAtBS,GAAA,IAFJC,GAE0B,EAAE,aAAa,EAAE,SAASjB,EAAW,EAAE,CAAA,CAAA,GAA7DO,EAAAS,GAAA,IAFJC,CAAA;AAAN,IAAMoB,IAANpB,GA8BDiB,IAAW;;AC9CjBG,EAAU,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-dropdown/ui-dropdown.editor.html?raw
2
+ var e = "<!-- <ui-dropdown>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-dropdown\" data-omit=\"\">\n <ui-property-group label=\"Name\" data-group=\"name\">\n <ui-property name=\"label\"></ui-property>\n <ui-property name=\"name\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"icon\"></ui-property>\n <ui-property name=\"no-results-text\"></ui-property>\n <ui-property name=\"addition-text\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n <ui-property name=\"selection\"></ui-property>\n <ui-property name=\"search\"></ui-property>\n <ui-property name=\"floating\"></ui-property>\n <ui-property name=\"button\"></ui-property>\n <ui-property name=\"labeled\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n <ui-property name=\"limit\"></ui-property>\n <ui-property name=\"length\"></ui-property>\n <ui-property name=\"columnar\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"inline\"></ui-property>\n <ui-property name=\"padding\"></ui-property>\n <ui-property name=\"fluid\"></ui-property>\n <ui-property name=\"scrolling\"></ui-property>\n <ui-property name=\"pointing\"></ui-property>\n <ui-property name=\"direction\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"disabled\"></ui-property>\n <ui-property name=\"loading\"></ui-property>\n <ui-property name=\"open\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Form\" data-group=\"form\">\n <ui-property name=\"state\"></ui-property>\n <ui-property name=\"multiple\"></ui-property>\n <ui-property name=\"clearable\"></ui-property>\n <ui-property name=\"readonly\"></ui-property>\n <ui-property name=\"placeholder\"></ui-property>\n <ui-property name=\"value\"></ui-property>\n <ui-property name=\"parameter\"></ui-property>\n <ui-property name=\"required\"></ui-property>\n <ui-property name=\"allow-additions\"></ui-property>\n <ui-property name=\"min-characters\"></ui-property>\n <ui-property name=\"max-selections\"></ui-property>\n <ui-property name=\"options\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"resizable\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-dropdown.editor-OFDGi1oz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-dropdown.editor-OFDGi1oz.js","names":["ui_dropdown_editor_default"],"sources":[],"mappings":""}