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-emoji.js","names":["E.LoadOnce","this","part={this.partForName(\"emoji\")}","role={this.isLabelled ? \"img\" : void 0}","aria-label={this.isLabelled ? this.label : void 0}","aria-hidden={this.label === \"\" ? \"true\" : void 0}","<span\n class={this.rootClass}\n part={this.partForName(\"emoji\")}\n role={this.isLabelled ? \"img\" : void 0}\n aria-label={this.isLabelled ? this.label : void 0}\n aria-hidden={this.label === \"\" ? \"true\" : void 0}\n >\n {this.emoji}\n </span>","E.UIComponent","E.proto","E.protoMerged","E.state","E.onChange","E.untracked","_$readShallow","_$setAttribute","__name","emojiCSS","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","__decoratorStart","first","name","LETTER","DIGIT_CHUNK","DEFAULT_SET","EmojiData","names","set","RootSettings","element","COLONS","CAMEL","SPACES","SEPARATORS","key","known","chunk","SETS","list","loads","sets","emoji","LoadOnce","data","loose","cache","looseCache","id","own","LOADERS","path","emojiVocabulary","UIEmoji_default","_tmpl$","_load_dec","_onNameChanged_dec","_emoji_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_emoji","_UIEmoji","UIComponent","proto","protoMerged","state","onChange","untracked","isConnected","attributes","html","tag","match","NAME_ATTRIBUTE","_self$","_el$","insert","effect","readShallow","className","_p$","t","setAttribute","a","o","i","request","UIEmoji"],"sources":["../src/components/ui-emoji/UIEmoji.types.ts","../src/components/ui-emoji/EmojiData.ts","../src/components/ui-emoji/UIEmoji.en.ts","../src/components/ui-emoji/UIEmoji.css?inline","../src/components/ui-emoji/UIEmoji.tsx","../src/components/ui-emoji/index.ts"],"sourcesContent":["/**\n * What `<ui-emoji>`'s data and the script that writes it share.\n * - Plain data and pure functions, no imports: node loads it (`scripts/gen-emoji.ts`), and so does the page\n * (`EmojiData`).\n */\n\n/**\n * Chunk key of a NORMALIZED emoji name (`EmojiData.normalize()`): its first letter, else `0`.\n * - ONE rule for both sides: `yarn gen:emoji` writes each chunk, `data/<set>/<key>.json`, and `EmojiData` loads the\n * chunk a name is in.\n * - e.g. `smile` => `s`, `100` => `0`, `8ball` => `0`\n */\nexport function emojiChunkFor(name: string): string {\n const first = name[0] ?? \"\"\n return LETTER.test(first) ? first : DIGIT_CHUNK\n}\n\n/** A chunk letter. */\nconst LETTER = /^[a-z]$/\n\n/** Chunk of names starting with anything but a letter. */\nconst DIGIT_CHUNK = \"0\"\n","import { E } from \"spell/ui/core\"\nimport { emojiChunkFor } from \"./UIEmoji.types\"\n\n// Above the class: the static `set` reads it while the class is defined\n/** The name set used until told otherwise. */\nconst DEFAULT_SET = \"cldr\"\n\n/****************\n * ### `EmojiData`\n * Emoji names => native Unicode emoji, loaded lazily in chunks, per NAME SET.\n * - Name sets (never merged): `cldr`, the default (CLDR shortcodes, every emoji `emojibase-data` names:\n * `thumbs_up`), and `fomantic` (Fomantic's own names with Fomantic's meanings: `thumbsup`, `smile`, `dog` = 🐶).\n * A translated set is another value of `names` (`es`, from emojibase's `es` data; see `notes/translation.md`).\n * - Which set: per `<ui-root emoji=\"fomantic\">` for its subtree (`setFor(element)`, through `RootSettings`:\n * the nearest root that sets one), else the PAGE's: `EmojiData.use(\"fomantic\")` from JS, `cldr` by default.\n * Each set keeps its own loaded names, so two roots on one page can use different sets. A page switch affects LATER\n * lookups only: an emoji already drawn keeps its glyph (a root's change redraws its own, `RootSettings.generation`).\n * - Data: `./data/<set>/<chunk>.json`, one per first letter of the name (`0` for a digit),\n * generated by `scripts/gen-emoji.ts` from `emojibase-data` (a dev-only dependency) and Fomantic's `@emoji-map`;\n * a chunk is at most ~5 KB gzip.\n * - Loaded with `import()` on first use of a name in that chunk: nothing is in `core` or in the emoji family's\n * own chunk, and a page drawing `smile` fetches `s.json` only. The module system is the cache;\n * a failed load is a miss until the next `get()` (no retry storm: one import per chunk at a time).\n * - STATIC throughout: ONE emoji cache per page, shared by every `<ui-emoji>` and the static server render,\n * so each chunk loads once, whoever asks.\n * - Import graph: library-neutral apart from `E.RootSettings` (core), and no rendering.\n * The family barrel exports it, for pages that pick a set or register names.\n ****************/\nexport class EmojiData {\n /**\n * Where a chunk's names come from instead of this module's own lazy `import()`s: `(set, chunk) => names`.\n * - For a build that can't load ES modules lazily, e.g. the docs' single-file bundle on `file://`,\n * which loads each chunk as a classic `<script>` (`epic/src/tools/bundle-spell-ui.js`).\n * Set it before the first lookup.\n */\n static chunkLoader?: (set: string, chunk: string) => Promise<Record<string, string>>\n\n ////////////////\n // ## The page's name set\n ////////////////\n\n /** The page's name set: `cldr` unless `use()` says otherwise. */\n static get names(): string {\n return EmojiData.set\n }\n\n /** The PAGE's name set: `use()`'s, else the default. */\n private static set: string = DEFAULT_SET\n\n /**\n * Use name set `names` (`cldr` or `fomantic`; an unknown one means the default) for every LATER lookup on the page\n * (outside a `<ui-root emoji>`). Loaded names of every set stay; `register()`ed names apply to all.\n */\n static use(names: string | undefined) {\n EmojiData.set = EmojiData.validSet(names)\n }\n\n /** Back to the default set, every loaded name forgotten. For tests and hot reload. */\n static reset() {\n EmojiData.set = DEFAULT_SET\n EmojiData.sets.clear()\n EmojiData.loads.forget()\n }\n\n /** The set `element` draws from: its nearest `<ui-root emoji>`'s (`RootSettings`), else the page's. */\n static setFor(element: Element): string {\n const set = E.RootSettings.nearest(element, \"emoji\")\n return set === undefined ? EmojiData.set : EmojiData.validSet(set)\n }\n\n ////////////////\n // ## Names\n ////////////////\n\n /**\n * Canonical form of a name as authors write it: trimmed, Fomantic's `:colons:` stripped,\n * camelCase split (`thumbsUp`, from JS), lower case, runs of spaces => `_` (`Thumbs Up` ~== `thumbs_up`).\n * Dashes stay: some names have them (`blond-haired_woman`); `loose()` drops them for the fallback.\n */\n static normalize(name: string): string {\n return name.trim().replace(COLONS, \"\").trim().replace(CAMEL, \"$1_$2\").toLowerCase().replace(SPACES, \"_\")\n }\n\n /**\n * A NORMALIZED name with no separators at all (`thumbsup`, `thumbs-up` => `thumbsup`): the fallback key,\n * so a name works however its words are joined. In the data, names that differ only in separators mean the same\n * emoji, except Fomantic's `icecream` (see `EmojiSetData.looseCache`).\n */\n static loose(name: string): string {\n return name.replace(SEPARATORS, \"\")\n }\n\n ////////////////\n // ## Lookups\n ////////////////\n\n /** The emoji for `name` in `set` (default the page's) if it's already known (loaded or registered). Synchronous. */\n static peek(name: string | undefined, set: string = EmojiData.set): string | undefined {\n return name ? EmojiData.emojiFor(EmojiData.normalize(name), set) : undefined\n }\n\n /**\n * The emoji for `name` in `set` (default the page's), loading its chunk if needed; `undefined` for an unknown name.\n * - NEVER rejects.\n * - SIDE EFFECT: caches the whole chunk.\n */\n static async get(name: string | undefined, set: string = EmojiData.set): Promise<string | undefined> {\n if (!name) return undefined\n const key = EmojiData.normalize(name)\n const known = EmojiData.emojiFor(key, set)\n if (known !== undefined || !key) return known\n const chunk = emojiChunkFor(key)\n if (!EmojiData.dataFor(set).loaded.has(chunk)) await EmojiData.load(set, chunk)\n return EmojiData.emojiFor(key, set)\n }\n\n /**\n * Load the chunks of every name in `names`, in each of `sets` (default: every set that ships),\n * so later `peek()`s find them synchronously.\n * - NEVER rejects.\n * - For the static server render (`spell/ui/static`), which is synchronous: see `UIEmoji.preload()`.\n */\n static async preload(names: Iterable<string>, sets: Iterable<string> = SETS): Promise<void> {\n const list = [...new Set(names)]\n const loads: Promise<unknown>[] = []\n for (const set of sets) for (const name of list) loads.push(EmojiData.get(name, set))\n await Promise.all(loads)\n }\n\n /** Add (or override) one emoji without a request, e.g. an app's own name for a sequence. Applies to any set. */\n static register(name: string, emoji: string) {\n const key = EmojiData.normalize(name)\n EmojiData.registered.set(key, emoji)\n EmojiData.registeredLoose.set(EmojiData.loose(key), emoji)\n }\n\n ////////////////\n // ## Internal\n ////////////////\n\n /** Set => its loaded names (`EmojiSetData`). */\n private static readonly sets = new Map<string, EmojiSetData>()\n\n /** `register()`ed names: they survive a switch and apply to any set, ahead of its own names. */\n private static readonly registered = new Map<string, string>()\n\n /** The same, keyed by `loose()`. */\n private static readonly registeredLoose = new Map<string, string>()\n\n /** `<set>/<chunk>` => its load, so each chunk is requested once; a failure is forgotten. */\n private static readonly loads = new E.LoadOnce<string, void>({ failures: \"forgotten\" })\n\n /** `set`'s loaded names, created on first use. */\n private static dataFor(set: string): EmojiSetData {\n let data = EmojiData.sets.get(set)\n if (!data) {\n data = { cache: new Map(), looseCache: new Map(), loaded: new Set() }\n EmojiData.sets.set(set, data)\n }\n return data\n }\n\n /** A NORMALIZED name's emoji in `set`: registered first, then the exact name, else the same words joined any way. */\n private static emojiFor(key: string, set: string): string | undefined {\n const { cache, looseCache } = EmojiData.dataFor(set)\n const loose = EmojiData.loose(key)\n return (\n EmojiData.registered.get(key) ?? cache.get(key) ?? EmojiData.registeredLoose.get(loose) ?? looseCache.get(loose)\n )\n }\n\n /** `names` if it is a set we ship data for, else the default. */\n private static validSet(names: string | undefined): string {\n const set = names?.trim().toLowerCase()\n return set && SETS.has(set) ? set : DEFAULT_SET\n }\n\n /**\n * Load chunk `chunk` of `set` once.\n * - NEVER rejects: a failure is forgotten, so a later `get()` tries again.\n */\n private static load(set: string, chunk: string): Promise<void> {\n const id = `${set}/${chunk}`\n const own = LOADERS[`./data/${id}.json`]\n if (!own) return Promise.resolve()\n const load = EmojiData.loads.get(id, async () => {\n const names = EmojiData.chunkLoader ? await EmojiData.chunkLoader(set, chunk) : (await own()).default\n const { cache, looseCache, loaded } = EmojiData.dataFor(set)\n for (const [name, emoji] of Object.entries(names)) {\n if (!cache.has(name)) cache.set(name, emoji)\n const loose = EmojiData.loose(name)\n if (!looseCache.has(loose)) looseCache.set(loose, emoji)\n }\n loaded.add(chunk)\n })\n return load.catch(() => undefined)\n }\n}\n\n/**\n * One name set's loaded names.\n * - `looseCache` is the fallback when the exact name misses; first name in wins -- chunks list names sorted,\n * and `_` sorts before letters, so the underscored spelling wins a clash. In `cldr` there is none; in `fomantic`,\n * `ice-cream` / `IceCream` ~== `ice_cream` 🍨, while an exact `icecream` stays 🍦.\n */\ntype EmojiSetData = {\n /** name => emoji */\n readonly cache: Map<string, string>\n /** `loose()` name => emoji: the fallback when the exact name misses */\n readonly looseCache: Map<string, string>\n /** chunks loaded */\n readonly loaded: Set<string>\n}\n\n/**\n * One loader per data chunk (`./data/cldr/a.json` ...), from `import.meta.glob`.\n * - Why not ``import(`./data/${set}/${chunk}.json`)``: a variable path makes Rolldown add its dynamic-import helper\n * to this family's chunk (`yarn measure`'s `coreOutsideCore` check); the glob compiles to one static `import()`\n * per file, with no helper.\n */\nconst LOADERS = import.meta.glob<{ default: Record<string, string> }>(\"./data/*/*.json\")\n\n/** The name sets that ship, from the data folders. */\nconst SETS = new Set(Object.keys(LOADERS).map((path) => path.split(\"/\")[2]!))\n\n/** Fomantic's `:name:` colons. */\nconst COLONS = /^:+|:+$/g\n\n/** Runs of whitespace inside a name. */\nconst SPACES = /\\s+/g\n\n/** A camelCase word boundary: a lower-case letter or digit, then a capital. */\nconst CAMEL = /([a-z0-9])([A-Z])/g\n\n/** Every way a name's words may be joined. */\nconst SEPARATORS = /[_-]/g\n","/**\n * The English vocabulary of `<ui-emoji>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become class words (`ClassBuilder`):\n * `<ui-emoji name=\"smile\" size=\"large\" link>` => `ui large link emoji`.\n * Fomantic's own markup is `<em data-emoji=\":smile:\" class=\"large link\">` (no `ui`, no noun),\n * drawing a Twemoji SVG from a CDN; here the glyph is the NATIVE Unicode character,\n * so the grammar gets its noun back.\n * - `name`: a name from the page's NAME SET, one at a time: CLDR shortcodes (`thumbs_up`, the default) or Fomantic's\n * names (Discord / JoyPixels shortcodes: `smile`, `thumbsup`, `flag_us`), picked per subtree with\n * `<ui-root emoji>` (or `EmojiData.use()`). With or without `:colons:`, any case, spaces ~== `_`.\n * Resolved by `EmojiData` from lazily loaded chunks, generated by `scripts/gen-emoji.ts`.\n * - Accessible name, decided:\n * - default: the character is plain TEXT, so assistive tech reads its Unicode (CLDR) name in the READER's\n * language (\"grinning face with smiling eyes\") -- better than an English shortcode, and free\n * - `label=\"...\"`: `role=img` + `aria-label`, for an emoji that means something else in context (\"Approved\")\n * - `label=\"\"` (bare): decorative, `aria-hidden`\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `emojiVocabulary`\n * The names of `<ui-emoji>`, an emoji: `<span class=\"ui [size] [keyOnly ...] emoji\" part=\"emoji\">😄</span>`.\n ****************/\nexport const emojiVocabulary = {\n tag: \"ui-emoji\",\n icon: \"smile outline\",\n topics: [\"icons\", \"text\", \"media\", \"elements\"],\n aka: [\"emoticon\", \"smiley\", \"unicode emoji\"],\n skeleton: \"inline 1 x 1\",\n noun: \"emoji\",\n description: \"An emoji is a glyph used to represent something else.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n values: [\"small\", \"medium\", \"large\", \"big\"],\n description:\n \"Fomantic's emoji sizes against the surrounding text: `small` (1.5em), `large` (6em), `big` (7.5em); \" +\n \"`medium` is the unsized default (1em), NOT Fomantic's 3em.\"\n },\n {\n name: \"name\",\n group: \"name\",\n kind: \"string\",\n description:\n \"The emoji's name in the page's name set: by default its CLDR shortcode (Unicode's name, `thumbs_up`, \" +\n '`grinning_face_with_smiling_eyes`, `flag_united_states`); with `<ui-root emoji=\"fomantic\">`, ' +\n \"Fomantic's name (`thumbsup`, `smile`, `flag_us`). The words may be joined any way: `thumbs up`, \" +\n \"`thumbs-up`, `thumbsUp`, `thumbsup` (and `:smile:`, any case).\"\n },\n {\n name: \"label\",\n group: \"name\",\n kind: \"string\",\n description:\n \"Accessible name (`role=img`), when the emoji stands for something else; bare `label` hides it \" +\n \"(decorative). Default: the character's own Unicode name, read by assistive tech.\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"link\"],\n description:\n \"The look: `link` (clickable look: the cursor controls have; the page adds the control). It was the `link` \" +\n \"switch, which can't stay an old name: `link` is where a click goes now, on every tag.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed.\" },\n { name: \"loading\", group: \"states\", kind: \"keyOnly\", description: \"Spins (a still glyph under reduced motion).\" }\n ],\n events: [],\n slots: [],\n parts: [{ name: \"emoji\", description: \"The emoji glyph box.\" }],\n states: [\n { name: \"disabled\", description: \"Dimmed.\" },\n { name: \"loading\", description: \"Spinning.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-emoji>`: a port of Fomantic's `emoji.less` + `emoji.variables`\n * (the box, size and state rules).\n * - It styles the component's shadow DOM, in Fomantic's class names on a semantic element:\n * `<span class=\"ui [size] [keyOnly ...] emoji\" part=\"emoji\" [role=img aria-label | aria-hidden]>😄</span>`\n * - the glyph is the Unicode emoji `EmojiData` resolves from `name`;\n * an unknown name draws an EMPTY box, which keeps its line box\n * - a `<span>`, where Fomantic used `<em>`: an emoji isn't stress emphasis\n * - The DOM element is `display: contents` (`:host`): the span IS the inline box.\n *\n * - The drawing depends on the platform's EMOJI FONT (as with `<ui-flag>`):\n * `--ui-emoji-font-family` puts the colour emoji fonts first,\n * and `font-variant-emoji: emoji` asks for emoji presentation even without U+FE0F.\n *\n * - Sizes are relative to the SURROUNDING text (em), with Fomantic's emoji ladder\n * (`1.5em * n`: `small` 1.5em, `large` 6em, `big` 7.5em):\n * the box points `--ui-size-*` at `--ui-emoji-size-*`, so the generic `.ui.large { --ui-scale }` remap\n * picks the emoji ratio. The element resets `--ui-scale`, so an emoji in a large button isn't scaled twice.\n * - `medium`: the grammar makes `size=\"medium\"` a no-op (the unsized 1em emoji),\n * whereas Fomantic's medium emoji is 3em.\n * The `.medium` rule is ported for STATIC markup; the component never writes it.\n *\n * - The public tokens (`--ui-emoji-*`) are NEVER declared here.\n * The token block gives each a private alias, `--_ui-emoji-opacity: var(--ui-emoji-opacity, 1)`,\n * and every rule reads the alias. So a value set on `:root`, an ancestor, the element,\n * `::part(emoji)` or in the app's style sheet reaches the box (`notes/theming.md`, \"Component tokens\").\n *\n * - `loading` spins the glyph; under `prefers-reduced-motion`, the foundation (`reset.css`) stops it.\n *\n * - Left out, on purpose:\n * - Fomantic's 3,800 per-emoji `background-image` rules and the Twemoji CDN:\n * the glyph is text, so there's no request and no per-emoji CSS.\n * (An SVG set, the same everywhere, could come back as an opt-in registry.)\n * - `em[data-emoji]` selectors: Fomantic's markup draws nothing without its sprites, so it isn't supported\n * - `speak: none`: obsolete; the component decides what assistive tech hears (see the vocabulary)\n */\n\n@layer ui.components.emoji.types, ui.components.emoji.content, ui.components.emoji.variations, ui.components.emoji.states;\n\n@keyframes ui-emoji-spin {\n to {\n rotate: 1turn;\n }\n}\n\n/*******************************\n Emoji\n*******************************/\n\n@layer ui.components.emoji.types {\n /* The DOM element: no box of its own; the inner span is the inline box. */\n :host {\n display: contents;\n /* Don't inherit a parent component's scale: emoji follow the surrounding TEXT. */\n --ui-scale: initial;\n }\n\n /* Tokens: one per `emoji.variables` entry that still matters, each the private alias of its public token. */\n .ui.emoji {\n --_ui-emoji-font-family: var(--ui-emoji-font-family, var(--ui-font-family-emoji), var(--ui-font-family));\n --_ui-emoji-opacity: var(--ui-emoji-opacity, 1);\n --_ui-emoji-line-height: var(--ui-emoji-line-height, 1);\n --_ui-emoji-loading-duration: var(--ui-emoji-loading-duration, 2s);\n --_ui-emoji-disabled-opacity: var(--ui-emoji-disabled-opacity, var(--ui-disabled-opacity));\n /* Fomantic's emoji ladder (`1.5em * n`), relative to the surrounding text. */\n --_ui-emoji-size-small: var(--ui-emoji-size-small, 1.5);\n /* Private on purpose: the element never emits `medium` (the default size), only static class grammar reads it. */\n --_ui-emoji-size-medium: 3;\n --_ui-emoji-size-large: var(--ui-emoji-size-large, 6);\n --_ui-emoji-size-big: var(--ui-emoji-size-big, 7.5);\n /* The generic size remap (`sizes.css`) resolves `--ui-size-<size>` HERE, so it picks the emoji ladder. */\n --ui-size-small: var(--_ui-emoji-size-small);\n --ui-size-large: var(--_ui-emoji-size-large);\n --ui-size-big: var(--_ui-emoji-size-big);\n }\n\n /* Emoji: one glyph, one line tall. */\n .ui.emoji {\n display: inline-block;\n font-family: var(--_ui-emoji-font-family);\n font-size: calc(1em * var(--ui-scale, 1));\n font-style: normal;\n font-weight: var(--ui-font-weight-normal);\n font-variant-emoji: emoji;\n line-height: var(--_ui-emoji-line-height);\n text-decoration: none;\n white-space: nowrap;\n opacity: var(--_ui-emoji-opacity);\n backface-visibility: hidden;\n }\n}\n\n/*******************************\n Variations\n*******************************/\n\n@layer ui.components.emoji.variations {\n /* Sizes: a sized emoji centres on the text. */\n .ui:is(.small, .medium, .large, .big).emoji {\n vertical-align: middle;\n }\n /* Static markup only: `sizes.css` makes `.medium` a no-op; Fomantic's medium emoji is 3em. */\n .ui.medium.emoji {\n --ui-scale: var(--_ui-emoji-size-medium);\n }\n\n /* Link: a clickable look, unless disabled. */\n .ui.link.emoji:not(.disabled) {\n cursor: var(--ui-control-cursor);\n }\n}\n\n/*******************************\n States\n*******************************/\n\n@layer ui.components.emoji.states {\n .ui.disabled.emoji {\n opacity: var(--_ui-emoji-disabled-opacity);\n }\n .ui.loading.emoji {\n animation: ui-emoji-spin var(--_ui-emoji-loading-duration) linear infinite;\n }\n}\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { EmojiData } from \"./EmojiData\"\nimport { emojiVocabulary } from \"./UIEmoji.en\"\n\nimport emojiCSS from \"./UIEmoji.css?inline\"\n\n/****************\n * ### `UIEmoji`\n * The component behind `<ui-emoji>`: an emoji, drawn as the native Unicode character.\n *\n * - Its shadow DOM is one span, `<span class=\"ui [size] [keyOnly ...] emoji\" part=\"emoji\">😄</span>`.\n *\n * - The glyph is the Unicode emoji `EmojiData` resolves from `name`,\n * loading that name's data chunk on first use.\n * - A name already loaded (or `EmojiData.register()`ed) draws in the first frame.\n * - A later `name` wins over an earlier, slower load.\n * - An unknown name: an empty box with no role (an unnamed `role=img` fails axe).\n *\n * - The accessible name (see the vocabulary): the character, as text, by default;\n * `label=\"…\"` => `role=img` + `aria-label`; a bare `label` => `aria-hidden`.\n * - `link` is only a LOOK: the emoji takes no focus and sends nothing of its own;\n * wrap it in a `<button>` or `<a>`.\n ****************/\nexport class UIEmoji extends E.UIComponent<typeof emojiVocabulary> {\n @E.proto static vocabulary = emojiVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { emoji: emojiCSS },\n delegatesFocus: false,\n // `disabled`: only a look\n disabled: \"its own\",\n // `loading`: it spins\n loading: \"its own\"\n } satisfies Partial<E.ElementSetup>\n\n /** The glyph, `undefined` while loading or for an unknown name. */\n @E.state accessor emoji: string | undefined = EmojiData.peek(this.name, EmojiData.setFor(this.domElement))\n\n /** Request counter, so a slower earlier load can't win. */\n private latestRequest = 0\n\n /**\n * Loads the emoji for `name`, and again when connected (it may have moved under another root)\n * and when any root's settings change (`rootSettingsGeneration`).\n */\n @E.onChange(\"name\", \"isConnected\", \"rootSettingsGeneration\")\n protected onNameChanged(name: string | undefined, isConnected: boolean) {\n if (isConnected || !this.latestRequest) void this.load(name)\n }\n\n /**\n * Bumped whenever any `<ui-root>`'s settings change (page-wide): a member, so `@E.onChange` can follow it.\n * - `protected`, not `private`: only `@E.onChange` reads it, by name, and TypeScript calls a private one unused.\n */\n protected get rootSettingsGeneration(): number {\n return E.RootSettings.generation\n }\n\n /**\n * Load every emoji `html` names (`<ui-emoji name=\"...\">`), so a static server render of it draws them.\n * - MUST be awaited before `StaticRender.fragment(html)` / `page(html)` (`spell/ui/static`):\n * that render is synchronous and draws only names already loaded (`EmojiData.peek()`);\n * a browser loads them after first paint instead.\n * - In every name set that ships: which one an element uses depends on its `<ui-root emoji>`, unknown in markup.\n * - `tag`: the tag the family is defined under, if not its own.\n * - STATIC: the server render calls it before any element exists.\n */\n static preload(html: string, tag: string = emojiVocabulary.tag): Promise<void> {\n const names: string[] = []\n for (const [, attributes = \"\"] of html.matchAll(new RegExp(`<${tag}(\\\\s[^>]*)?>`, \"gi\"))) {\n const match = NAME_ATTRIBUTE.exec(attributes)\n const name = match && (match[1] ?? match[2] ?? match[3])\n if (name) names.push(name)\n }\n return EmojiData.preload(names)\n }\n\n render(): JSX.Element {\n return (\n <span\n class={this.rootClass}\n part={this.partForName(\"emoji\")}\n role={this.isLabelled ? \"img\" : undefined}\n aria-label={this.isLabelled ? this.label : undefined}\n aria-hidden={this.label === \"\" ? \"true\" : undefined}\n >\n {this.emoji}\n </span>\n )\n }\n\n /** Named by `label` (and there's a glyph to name)? */\n private get isLabelled(): boolean {\n return !!this.label && !!this.emoji\n }\n\n /** Resolve `name` in the set this element sees; writes only if it is still the latest request. */\n @E.untracked\n private async load(name: string | undefined) {\n const request = ++this.latestRequest\n const emoji = await EmojiData.get(name, EmojiData.setFor(this.domElement))\n if (this.latestRequest === request && this.emoji !== emoji) this.emoji = emoji\n }\n}\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIEmoji extends E.AttributeValues<typeof emojiVocabulary> {}\n\n/**\n * A start tag's `name=\"...\"` attribute, any quoting: `UIEmoji.preload()` reads the names a page uses from its markup.\n * - Groups 1-3: the value in double, single or no quotes.\n */\nconst NAME_ATTRIBUTE = /(?:^|\\s)name\\s*=\\s*(?:\"([^\"]*)\"|'([^']*)'|([^\\s\"'=<>`]+))/i\n","/**\n * The emoji family: defines `<ui-emoji>` and exports its component, `UIEmoji`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-emoji` entry (its size is in `notes/report.md`).\n * - It exports `EmojiData` too, for apps that pick the page's name set\n * (`EmojiData.use(\"fomantic\")`; for a subtree, `<ui-root emoji=\"fomantic\">`),\n * register their own names or preload a name (`EmojiData.get(\"smile\")`).\n * Its data chunks (`data/<set>/*.json`) load lazily, one per first letter of a name.\n */\n\nimport { UIEmoji } from \"./UIEmoji\"\nimport { EmojiData } from \"./EmojiData\"\n\nUIEmoji.define()\n\nexport { UIEmoji, EmojiData }\n"],"mappings":";;;;AAYA,SAAgB,cAAc,GAAsB;CAClD,IAAMwB,IAAQC,EAAK,MAAM;CACzB,OAAOC,EAAO,KAAKF,CAAK,IAAIA,IAAQG;AACtC;AAGA,IAAMD,IAAS,WAGTC,IAAc,KChBdC,IAAc,QAuBPC,IAAb,MAAa,UAAU;CAOrB,OAAO;CAOP,WAAW,QAAgB;EACzB,OAAO,UAAU;CACnB;CAGA,OAAe,MAAcD;CAM7B,OAAO,IAAI,GAA2B;EACpC,UAAU,MAAM,UAAU,SAASE,CAAK;CAC1C;CAGA,OAAO,Q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EAAA2C,GAAA,IADEE,CAAA,GAEIhD,EAFJgD,GAEW,gBAAe7C,EAAtB2C,GAAA,IAFJE,GAE0B;CACnC,aAAa,EAAE,OAAOlD,EAAS;CAC/B,gBAAgB;CAEhB,UAAU;CAEV,SAAS;AACX,CAAA,CAAA,GAPeK,EAAA2C,GAAA,IAFJE,CAAA;AAAN,IAAM0B,IAAN1B,GAuFDY,IAAiB;;;ACnGvBc,EAAQ,OAAO"}
1
+ {"version":3,"file":"ui-emoji.js","names":["E.LoadOnce","this","part={this.partForName(\"emoji\")}","role={this.isLabelled ? \"img\" : void 0}","aria-label={this.isLabelled ? this.label : void 0}","aria-hidden={this.label === \"\" ? \"true\" : void 0}","<span\n class={this.rootClass}\n part={this.partForName(\"emoji\")}\n role={this.isLabelled ? \"img\" : void 0}\n aria-label={this.isLabelled ? this.label : void 0}\n aria-hidden={this.label === \"\" ? \"true\" : void 0}\n >\n {this.emoji}\n </span>","E.UIComponent","E.proto","E.protoMerged","E.state","E.onChange","E.untracked","_$setAttribute","__name","emojiCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","first","name","LETTER","DIGIT_CHUNK","DEFAULT_SET","EmojiData","names","set","RootSettings","element","COLONS","CAMEL","SPACES","SEPARATORS","key","known","chunk","SETS","list","loads","sets","emoji","LoadOnce","data","loose","cache","looseCache","id","own","LOADERS","path","emojiVocabulary","UIEmoji_default","_tmpl$","_load_dec","_onNameChanged_dec","_emoji_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_emoji","_UIEmoji","UIComponent","proto","protoMerged","state","onChange","untracked","isConnected","attributes","html","tag","match","NAME_ATTRIBUTE","_self$","_el$","insert","effect","readShallow","className","_p$","t","setAttribute","a","o","i","request","UIEmoji"],"sources":["../src/components/ui-emoji/UIEmoji.types.ts","../src/components/ui-emoji/EmojiData.ts","../src/components/ui-emoji/UIEmoji.en.ts","../src/components/ui-emoji/UIEmoji.tsx","../src/components/ui-emoji/index.ts"],"sourcesContent":["/**\n * What `<ui-emoji>`'s data and the script that writes it share.\n * - Plain data and pure functions, no imports: node loads it (`scripts/gen-emoji.ts`), and so does the page\n * (`EmojiData`).\n */\n\n/**\n * Chunk key of a NORMALIZED emoji name (`EmojiData.normalize()`): its first letter, else `0`.\n * - ONE rule for both sides: `yarn gen:emoji` writes each chunk, `data/<set>/<key>.json`, and `EmojiData` loads the\n * chunk a name is in.\n * - e.g. `smile` => `s`, `100` => `0`, `8ball` => `0`\n */\nexport function emojiChunkFor(name: string): string {\n const first = name[0] ?? \"\"\n return LETTER.test(first) ? first : DIGIT_CHUNK\n}\n\n/** A chunk letter. */\nconst LETTER = /^[a-z]$/\n\n/** Chunk of names starting with anything but a letter. */\nconst DIGIT_CHUNK = \"0\"\n","import { E } from \"spell/ui/core\"\nimport { emojiChunkFor } from \"./UIEmoji.types\"\n\n// Above the class: the static `set` reads it while the class is defined\n/** The name set used until told otherwise. */\nconst DEFAULT_SET = \"cldr\"\n\n/****************\n * ### `EmojiData`\n * Emoji names => native Unicode emoji, loaded lazily in chunks, per NAME SET.\n * - Name sets (never merged): `cldr`, the default (CLDR shortcodes, every emoji `emojibase-data` names:\n * `thumbs_up`), and `fomantic` (Fomantic's own names with Fomantic's meanings: `thumbsup`, `smile`, `dog` = 🐶).\n * A translated set is another value of `names` (`es`, from emojibase's `es` data; see `notes/translation.md`).\n * - Which set: per `<ui-root emoji=\"fomantic\">` for its subtree (`setFor(element)`, through `RootSettings`:\n * the nearest root that sets one), else the PAGE's: `EmojiData.use(\"fomantic\")` from JS, `cldr` by default.\n * Each set keeps its own loaded names, so two roots on one page can use different sets. A page switch affects LATER\n * lookups only: an emoji already drawn keeps its glyph (a root's change redraws its own, `RootSettings.generation`).\n * - Data: `./data/<set>/<chunk>.json`, one per first letter of the name (`0` for a digit),\n * generated by `scripts/gen-emoji.ts` from `emojibase-data` (a dev-only dependency) and Fomantic's `@emoji-map`;\n * a chunk is at most ~5 KB gzip.\n * - Loaded with `import()` on first use of a name in that chunk: nothing is in `core` or in the emoji family's\n * own chunk, and a page drawing `smile` fetches `s.json` only. The module system is the cache;\n * a failed load is a miss until the next `get()` (no retry storm: one import per chunk at a time).\n * - STATIC throughout: ONE emoji cache per page, shared by every `<ui-emoji>` and the static server render,\n * so each chunk loads once, whoever asks.\n * - Import graph: library-neutral apart from `E.RootSettings` (core), and no rendering.\n * The family barrel exports it, for pages that pick a set or register names.\n ****************/\nexport class EmojiData {\n /**\n * Where a chunk's names come from instead of this module's own lazy `import()`s: `(set, chunk) => names`.\n * - For a build that can't load ES modules lazily, e.g. the docs' single-file bundle on `file://`,\n * which loads each chunk as a classic `<script>` (`epic/src/tools/bundle-spell-ui.js`).\n * Set it before the first lookup.\n */\n static chunkLoader?: (set: string, chunk: string) => Promise<Record<string, string>>\n\n ////////////////\n // ## The page's name set\n ////////////////\n\n /** The page's name set: `cldr` unless `use()` says otherwise. */\n static get names(): string {\n return EmojiData.set\n }\n\n /** The PAGE's name set: `use()`'s, else the default. */\n private static set: string = DEFAULT_SET\n\n /**\n * Use name set `names` (`cldr` or `fomantic`; an unknown one means the default) for every LATER lookup on the page\n * (outside a `<ui-root emoji>`). Loaded names of every set stay; `register()`ed names apply to all.\n */\n static use(names: string | undefined) {\n EmojiData.set = EmojiData.validSet(names)\n }\n\n /** Back to the default set, every loaded name forgotten. For tests and hot reload. */\n static reset() {\n EmojiData.set = DEFAULT_SET\n EmojiData.sets.clear()\n EmojiData.loads.forget()\n }\n\n /** The set `element` draws from: its nearest `<ui-root emoji>`'s (`RootSettings`), else the page's. */\n static setFor(element: Element): string {\n const set = E.RootSettings.nearest(element, \"emoji\")\n return set === undefined ? EmojiData.set : EmojiData.validSet(set)\n }\n\n ////////////////\n // ## Names\n ////////////////\n\n /**\n * Canonical form of a name as authors write it: trimmed, Fomantic's `:colons:` stripped,\n * camelCase split (`thumbsUp`, from JS), lower case, runs of spaces => `_` (`Thumbs Up` ~== `thumbs_up`).\n * Dashes stay: some names have them (`blond-haired_woman`); `loose()` drops them for the fallback.\n */\n static normalize(name: string): string {\n return name.trim().replace(COLONS, \"\").trim().replace(CAMEL, \"$1_$2\").toLowerCase().replace(SPACES, \"_\")\n }\n\n /**\n * A NORMALIZED name with no separators at all (`thumbsup`, `thumbs-up` => `thumbsup`): the fallback key,\n * so a name works however its words are joined. In the data, names that differ only in separators mean the same\n * emoji, except Fomantic's `icecream` (see `EmojiSetData.looseCache`).\n */\n static loose(name: string): string {\n return name.replace(SEPARATORS, \"\")\n }\n\n ////////////////\n // ## Lookups\n ////////////////\n\n /** The emoji for `name` in `set` (default the page's) if it's already known (loaded or registered). Synchronous. */\n static peek(name: string | undefined, set: string = EmojiData.set): string | undefined {\n return name ? EmojiData.emojiFor(EmojiData.normalize(name), set) : undefined\n }\n\n /**\n * The emoji for `name` in `set` (default the page's), loading its chunk if needed; `undefined` for an unknown name.\n * - NEVER rejects.\n * - SIDE EFFECT: caches the whole chunk.\n */\n static async get(name: string | undefined, set: string = EmojiData.set): Promise<string | undefined> {\n if (!name) return undefined\n const key = EmojiData.normalize(name)\n const known = EmojiData.emojiFor(key, set)\n if (known !== undefined || !key) return known\n const chunk = emojiChunkFor(key)\n if (!EmojiData.dataFor(set).loaded.has(chunk)) await EmojiData.load(set, chunk)\n return EmojiData.emojiFor(key, set)\n }\n\n /**\n * Load the chunks of every name in `names`, in each of `sets` (default: every set that ships),\n * so later `peek()`s find them synchronously.\n * - NEVER rejects.\n * - For the static server render (`spell/ui/static`), which is synchronous: see `UIEmoji.preload()`.\n */\n static async preload(names: Iterable<string>, sets: Iterable<string> = SETS): Promise<void> {\n const list = [...new Set(names)]\n const loads: Promise<unknown>[] = []\n for (const set of sets) for (const name of list) loads.push(EmojiData.get(name, set))\n await Promise.all(loads)\n }\n\n /** Add (or override) one emoji without a request, e.g. an app's own name for a sequence. Applies to any set. */\n static register(name: string, emoji: string) {\n const key = EmojiData.normalize(name)\n EmojiData.registered.set(key, emoji)\n EmojiData.registeredLoose.set(EmojiData.loose(key), emoji)\n }\n\n ////////////////\n // ## Internal\n ////////////////\n\n /** Set => its loaded names (`EmojiSetData`). */\n private static readonly sets = new Map<string, EmojiSetData>()\n\n /** `register()`ed names: they survive a switch and apply to any set, ahead of its own names. */\n private static readonly registered = new Map<string, string>()\n\n /** The same, keyed by `loose()`. */\n private static readonly registeredLoose = new Map<string, string>()\n\n /** `<set>/<chunk>` => its load, so each chunk is requested once; a failure is forgotten. */\n private static readonly loads = new E.LoadOnce<string, void>({ failures: \"forgotten\" })\n\n /** `set`'s loaded names, created on first use. */\n private static dataFor(set: string): EmojiSetData {\n let data = EmojiData.sets.get(set)\n if (!data) {\n data = { cache: new Map(), looseCache: new Map(), loaded: new Set() }\n EmojiData.sets.set(set, data)\n }\n return data\n }\n\n /** A NORMALIZED name's emoji in `set`: registered first, then the exact name, else the same words joined any way. */\n private static emojiFor(key: string, set: string): string | undefined {\n const { cache, looseCache } = EmojiData.dataFor(set)\n const loose = EmojiData.loose(key)\n return (\n EmojiData.registered.get(key) ?? cache.get(key) ?? EmojiData.registeredLoose.get(loose) ?? looseCache.get(loose)\n )\n }\n\n /** `names` if it is a set we ship data for, else the default. */\n private static validSet(names: string | undefined): string {\n const set = names?.trim().toLowerCase()\n return set && SETS.has(set) ? set : DEFAULT_SET\n }\n\n /**\n * Load chunk `chunk` of `set` once.\n * - NEVER rejects: a failure is forgotten, so a later `get()` tries again.\n */\n private static load(set: string, chunk: string): Promise<void> {\n const id = `${set}/${chunk}`\n const own = LOADERS[`./data/${id}.json`]\n if (!own) return Promise.resolve()\n const load = EmojiData.loads.get(id, async () => {\n const names = EmojiData.chunkLoader ? await EmojiData.chunkLoader(set, chunk) : (await own()).default\n const { cache, looseCache, loaded } = EmojiData.dataFor(set)\n for (const [name, emoji] of Object.entries(names)) {\n if (!cache.has(name)) cache.set(name, emoji)\n const loose = EmojiData.loose(name)\n if (!looseCache.has(loose)) looseCache.set(loose, emoji)\n }\n loaded.add(chunk)\n })\n return load.catch(() => undefined)\n }\n}\n\n/**\n * One name set's loaded names.\n * - `looseCache` is the fallback when the exact name misses; first name in wins -- chunks list names sorted,\n * and `_` sorts before letters, so the underscored spelling wins a clash. In `cldr` there is none; in `fomantic`,\n * `ice-cream` / `IceCream` ~== `ice_cream` 🍨, while an exact `icecream` stays 🍦.\n */\ntype EmojiSetData = {\n /** name => emoji */\n readonly cache: Map<string, string>\n /** `loose()` name => emoji: the fallback when the exact name misses */\n readonly looseCache: Map<string, string>\n /** chunks loaded */\n readonly loaded: Set<string>\n}\n\n/**\n * One loader per data chunk (`./data/cldr/a.json` ...), from `import.meta.glob`.\n * - Why not ``import(`./data/${set}/${chunk}.json`)``: a variable path makes Rolldown add its dynamic-import helper\n * to this family's chunk (`yarn measure`'s `coreOutsideCore` check); the glob compiles to one static `import()`\n * per file, with no helper.\n */\nconst LOADERS = import.meta.glob<{ default: Record<string, string> }>(\"./data/*/*.json\")\n\n/** The name sets that ship, from the data folders. */\nconst SETS = new Set(Object.keys(LOADERS).map((path) => path.split(\"/\")[2]!))\n\n/** Fomantic's `:name:` colons. */\nconst COLONS = /^:+|:+$/g\n\n/** Runs of whitespace inside a name. */\nconst SPACES = /\\s+/g\n\n/** A camelCase word boundary: a lower-case letter or digit, then a capital. */\nconst CAMEL = /([a-z0-9])([A-Z])/g\n\n/** Every way a name's words may be joined. */\nconst SEPARATORS = /[_-]/g\n","/**\n * The English vocabulary of `<ui-emoji>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become class words (`ClassBuilder`):\n * `<ui-emoji name=\"smile\" size=\"large\" link>` => `ui large link emoji`.\n * Fomantic's own markup is `<em data-emoji=\":smile:\" class=\"large link\">` (no `ui`, no noun),\n * drawing a Twemoji SVG from a CDN; here the glyph is the NATIVE Unicode character,\n * so the grammar gets its noun back.\n * - `name`: a name from the page's NAME SET, one at a time: CLDR shortcodes (`thumbs_up`, the default) or Fomantic's\n * names (Discord / JoyPixels shortcodes: `smile`, `thumbsup`, `flag_us`), picked per subtree with\n * `<ui-root emoji>` (or `EmojiData.use()`). With or without `:colons:`, any case, spaces ~== `_`.\n * Resolved by `EmojiData` from lazily loaded chunks, generated by `scripts/gen-emoji.ts`.\n * - Accessible name, decided:\n * - default: the character is plain TEXT, so assistive tech reads its Unicode (CLDR) name in the READER's\n * language (\"grinning face with smiling eyes\") -- better than an English shortcode, and free\n * - `label=\"...\"`: `role=img` + `aria-label`, for an emoji that means something else in context (\"Approved\")\n * - `label=\"\"` (bare): decorative, `aria-hidden`\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `emojiVocabulary`\n * The names of `<ui-emoji>`, an emoji: `<span class=\"ui [size] [keyOnly ...] emoji\" part=\"emoji\">😄</span>`.\n ****************/\nexport const emojiVocabulary = {\n tag: \"ui-emoji\",\n icon: \"smile outline\",\n topics: [\"icons\", \"text\", \"media\", \"elements\"],\n aka: [\"emoticon\", \"smiley\", \"unicode emoji\"],\n skeleton: \"inline 1 x 1\",\n noun: \"emoji\",\n partOfSpeech: \"property\",\n description: \"An emoji is a glyph used to represent something else.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n values: [\"small\", \"medium\", \"large\", \"big\"],\n description:\n \"Fomantic's emoji sizes against the surrounding text: `small` (1.5em), `large` (6em), `big` (7.5em); \" +\n \"`medium` is the unsized default (1em), NOT Fomantic's 3em.\"\n },\n {\n name: \"name\",\n group: \"name\",\n kind: \"string\",\n description:\n \"The emoji's name in the page's name set: by default its CLDR shortcode (Unicode's name, `thumbs_up`, \" +\n '`grinning_face_with_smiling_eyes`, `flag_united_states`); with `<ui-root emoji=\"fomantic\">`, ' +\n \"Fomantic's name (`thumbsup`, `smile`, `flag_us`). The words may be joined any way: `thumbs up`, \" +\n \"`thumbs-up`, `thumbsUp`, `thumbsup` (and `:smile:`, any case).\"\n },\n {\n name: \"label\",\n group: \"name\",\n kind: \"string\",\n description:\n \"Accessible name (`role=img`), when the emoji stands for something else; bare `label` hides it \" +\n \"(decorative). Default: the character's own Unicode name, read by assistive tech.\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"link\"],\n description:\n \"The look: `link` (clickable look: the cursor controls have; the page adds the control). It was the `link` \" +\n \"switch, which can't stay an old name: `link` is where a click goes now, on every tag.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed.\" },\n { name: \"loading\", group: \"states\", kind: \"keyOnly\", description: \"Spins (a still glyph under reduced motion).\" }\n ],\n events: [],\n slots: [],\n parts: [{ name: \"emoji\", description: \"The emoji glyph box.\" }],\n states: [\n { name: \"disabled\", description: \"Dimmed.\" },\n { name: \"loading\", description: \"Spinning.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { EmojiData } from \"./EmojiData\"\nimport { emojiVocabulary } from \"./UIEmoji.en\"\n\nimport emojiCSS from \"./UIEmoji.css?inline\"\n\n/****************\n * ### `UIEmoji`\n * The component behind `<ui-emoji>`: an emoji, drawn as the native Unicode character.\n *\n * - Its shadow DOM is one span, `<span class=\"ui [size] [keyOnly ...] emoji\" part=\"emoji\">😄</span>`.\n *\n * - The glyph is the Unicode emoji `EmojiData` resolves from `name`,\n * loading that name's data chunk on first use.\n * - A name already loaded (or `EmojiData.register()`ed) draws in the first frame.\n * - A later `name` wins over an earlier, slower load.\n * - An unknown name: an empty box with no role (an unnamed `role=img` fails axe).\n *\n * - The accessible name (see the vocabulary): the character, as text, by default;\n * `label=\"…\"` => `role=img` + `aria-label`; a bare `label` => `aria-hidden`.\n * - `link` is only a LOOK: the emoji takes no focus and sends nothing of its own;\n * wrap it in a `<button>` or `<a>`.\n ****************/\nexport class UIEmoji extends E.UIComponent<typeof emojiVocabulary> {\n @E.proto static vocabulary = emojiVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { emoji: emojiCSS },\n delegatesFocus: false,\n // `disabled`: only a look\n disabled: \"its own\",\n // `loading`: it spins\n loading: \"its own\"\n } satisfies Partial<E.ElementSetup>\n\n /** The glyph, `undefined` while loading or for an unknown name. */\n @E.state accessor emoji: string | undefined = EmojiData.peek(this.name, EmojiData.setFor(this.domElement))\n\n /** Request counter, so a slower earlier load can't win. */\n private latestRequest = 0\n\n /**\n * Loads the emoji for `name`, and again when connected (it may have moved under another root)\n * and when any root's settings change (`rootSettingsGeneration`).\n */\n @E.onChange(\"name\", \"isConnected\", \"rootSettingsGeneration\")\n protected onNameChanged(name: string | undefined, isConnected: boolean) {\n if (isConnected || !this.latestRequest) void this.load(name)\n }\n\n /**\n * Bumped whenever any `<ui-root>`'s settings change (page-wide): a member, so `@E.onChange` can follow it.\n * - `protected`, not `private`: only `@E.onChange` reads it, by name, and TypeScript calls a private one unused.\n */\n protected get rootSettingsGeneration(): number {\n return E.RootSettings.generation\n }\n\n /**\n * Load every emoji `html` names (`<ui-emoji name=\"...\">`), so a static server render of it draws them.\n * - MUST be awaited before `StaticRender.fragment(html)` / `page(html)` (`spell/ui/static`):\n * that render is synchronous and draws only names already loaded (`EmojiData.peek()`);\n * a browser loads them after first paint instead.\n * - In every name set that ships: which one an element uses depends on its `<ui-root emoji>`, unknown in markup.\n * - `tag`: the tag the family is defined under, if not its own.\n * - STATIC: the server render calls it before any element exists.\n */\n static preload(html: string, tag: string = emojiVocabulary.tag): Promise<void> {\n const names: string[] = []\n for (const [, attributes = \"\"] of html.matchAll(new RegExp(`<${tag}(\\\\s[^>]*)?>`, \"gi\"))) {\n const match = NAME_ATTRIBUTE.exec(attributes)\n const name = match && (match[1] ?? match[2] ?? match[3])\n if (name) names.push(name)\n }\n return EmojiData.preload(names)\n }\n\n render(): JSX.Element {\n return (\n <span\n class={this.rootClass}\n part={this.partForName(\"emoji\")}\n role={this.isLabelled ? \"img\" : undefined}\n aria-label={this.isLabelled ? this.label : undefined}\n aria-hidden={this.label === \"\" ? \"true\" : undefined}\n >\n {this.emoji}\n </span>\n )\n }\n\n /** Named by `label` (and there's a glyph to name)? */\n private get isLabelled(): boolean {\n return !!this.label && !!this.emoji\n }\n\n /** Resolve `name` in the set this element sees; writes only if it is still the latest request. */\n @E.untracked\n private async load(name: string | undefined) {\n const request = ++this.latestRequest\n const emoji = await EmojiData.get(name, EmojiData.setFor(this.domElement))\n if (this.latestRequest === request && this.emoji !== emoji) this.emoji = emoji\n }\n}\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIEmoji extends E.AttributeValues<typeof emojiVocabulary> {}\n\n/**\n * A start tag's `name=\"...\"` attribute, any quoting: `UIEmoji.preload()` reads the names a page uses from its markup.\n * - Groups 1-3: the value in double, single or no quotes.\n */\nconst NAME_ATTRIBUTE = /(?:^|\\s)name\\s*=\\s*(?:\"([^\"]*)\"|'([^']*)'|([^\\s\"'=<>`]+))/i\n","/**\n * The emoji family: defines `<ui-emoji>` and exports its component, `UIEmoji`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-emoji` entry (its size is in `notes/report.md`).\n * - It exports `EmojiData` too, for apps that pick the page's name set\n * (`EmojiData.use(\"fomantic\")`; for a subtree, `<ui-root emoji=\"fomantic\">`),\n * register their own names or preload a name (`EmojiData.get(\"smile\")`).\n * Its data chunks (`data/<set>/*.json`) load lazily, one per first letter of a name.\n */\n\nimport { UIEmoji } from \"./UIEmoji\"\nimport { EmojiData } from \"./EmojiData\"\n\nUIEmoji.define()\n\nexport { UIEmoji, EmojiData }\n"],"mappings":";;;;AAYA,SAAgB,cAAc,GAAsB;CAClD,IAAMuB,IAAQC,EAAK,MAAM;CACzB,OAAOC,EAAO,KAAKF,CAAK,IAAIA,IAAQG;AACtC;AAGA,IAAMD,IAAS,WAGTC,IAAc,KChBdC,IAAc,QAuBPC,IAAb,MAAa,UAAU;CAOrB,OAAO;CAOP,WA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BH,GAFWK,CAAA,GAAN7C,EAAA2C,GAAME,CAAA,GAAsDnD,EAAAmD,GAAA,SAAA,GACxDhD,EADEgD,GACK,cAAa5C,EAApB0C,GAAA,IADEE,GACkBX,CAAA,CAAA,GAApBjC,EAAA0C,GAAA,IADEE,CAAA,GAEIhD,EAFJgD,GAEW,gBAAe5C,EAAtB0C,GAAA,IAFJE,GAE0B;CACnC,aAAa,EAAE,OAAOlD,EAAS;CAC/B,gBAAgB;CAEhB,UAAU;CAEV,SAAS;AACX,CAAA,CAAA,GAPeM,EAAA0C,GAAA,IAFJE,CAAA;AAAN,IAAM0B,IAAN1B,GAuFDY,IAAiB;;ACnGvBc,EAAQ,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-feed/ui-event.editor.html?raw
2
+ var e = "<!-- <ui-event>'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-event\" data-omit=\"\">\n <ui-property-group label=\"Name\" data-group=\"name\">\n <ui-property name=\"label\"></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=\"image\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"appearance\"></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-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-event.editor-Bk17y7wW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-event.editor-Bk17y7wW.js","names":["ui_event_editor_default"],"sources":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-example/ui-example.editor.html?raw
2
+ var e = "<!-- <ui-example>'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-example\" data-omit=\"\">\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"heading\"></ui-property>\n <ui-property name=\"description\"></ui-property>\n <ui-property name=\"level\"></ui-property>\n <ui-property name=\"code\"></ui-property>\n <ui-property name=\"language\"></ui-property>\n <ui-property name=\"bare\"></ui-property>\n <ui-property name=\"variation\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-example.editor-D46Vnctp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-example.editor-D46Vnctp.js","names":["ui_example_editor_default"],"sources":[],"mappings":""}
@@ -1,13 +1,13 @@
1
- import "./rolldown-runtime-CYGlBXrH.js";
2
- import { Bt as e, DOMElement as t, Disclosure as n, Ht as r, Lt as i, ORIGINAL_PREFIX as a, Rt as o, SlotContent as s, UIComponent as c, Ut as l, Vt as u, after as d, afterSolidUpdate as f, controlled as p, cssState as m, d as h, k as g, onChange as _, p as v, proto as y, protoMerged as b, s as ee, state as x, zt as te } from "./core.js";
3
- import "./ui-button.js";
4
- import "./ui-parts.js";
1
+ import "./rolldown-runtime-c6e9CmGy.js";
2
+ import { DOMElement as e, Disclosure as t, Gt as n, Jt as r, Kt as i, ORIGINAL_PREFIX as a, SlotContent as o, UIComponent as s, Ut as c, Wt as l, Yt as u, after as d, afterSolidUpdate as f, controlled as p, cssState as m, d as h, k as g, onChange as _, p as v, proto as y, protoMerged as b, qt as x, s as ee, state as S } from "./core.js";
5
3
  import "./ui-segment.js";
4
+ import "./ui-parts.js";
5
+ import "./ui-button.js";
6
6
  import "./ui-code.js";
7
- import { Show as S } from "solid-js";
8
- import { claimElement as ne, className as C, createComponent as w, effect as T, getOwner as E, insert as D, isServer as O, readShallow as k, ref as re, setAttribute as A, template as j } from "@solidjs/web";
9
- //#region src/components/ui-example/HtmlFormatter.ts
10
- var M = class HtmlFormatter {
7
+ import { Show as C } from "solid-js";
8
+ import { claimElement as te, className as w, createComponent as T, effect as E, getOwner as D, insert as O, isServer as k, readShallow as A, ref as ne, setAttribute as j, template as M } from "@solidjs/web";
9
+ // src/components/ui-example/HtmlFormatter.ts
10
+ var N = class HtmlFormatter {
11
11
  width;
12
12
  indent;
13
13
  constructor({ width: e = 100, indent: t = " " } = {}) {
@@ -24,13 +24,13 @@ var M = class HtmlFormatter {
24
24
  open: "",
25
25
  children: []
26
26
  }, n = [t], r = 0;
27
- N.lastIndex = 0;
28
- for (let t = N.exec(e); t; t = N.exec(e)) {
27
+ P.lastIndex = 0;
28
+ for (let t = P.exec(e); t; t = P.exec(e)) {
29
29
  let i = n.at(-1);
30
30
  t.index > r && i.children.push({
31
31
  kind: "text",
32
32
  text: e.slice(r, t.index)
33
- }), r = N.lastIndex;
33
+ }), r = P.lastIndex;
34
34
  let [a, o, s, c] = t;
35
35
  if (o !== void 0) i.children.push({
36
36
  kind: "comment",
@@ -46,12 +46,12 @@ var M = class HtmlFormatter {
46
46
  open: HtmlFormatter.cleanOpenTag(a),
47
47
  children: []
48
48
  };
49
- if (i.children.push(o), ae.has(t)) {
49
+ if (i.children.push(o), ie.has(t)) {
50
50
  let n = e.toLowerCase().indexOf(`</${t}`, r), i = n === -1 ? e.length : n;
51
51
  o.raw = e.slice(r, i);
52
52
  let a = e.indexOf(">", i);
53
- r = a === -1 ? e.length : a + 1, N.lastIndex = r;
54
- } else !P.has(t) && !a.endsWith("/>") && n.push(o);
53
+ r = a === -1 ? e.length : a + 1, P.lastIndex = r;
54
+ } else !F.has(t) && !a.endsWith("/>") && n.push(o);
55
55
  }
56
56
  }
57
57
  return r < e.length && n.at(-1).children.push({
@@ -61,13 +61,7 @@ var M = class HtmlFormatter {
61
61
  }
62
62
  printChildren(e, t) {
63
63
  let n = [], r = this.indent.repeat(t), i = "";
64
- for (let a of e) {
65
- if (this.isInline(a)) {
66
- i += this.inline(a);
67
- continue;
68
- }
69
- flushRun(), a.kind === "comment" ? n.push(r + a.text.trim()) : a.kind === "element" && n.push(...this.printElement(a, t));
70
- }
64
+ for (let a of e) this.isInline(a) ? i += this.inline(a) : (flushRun(), a.kind === "comment" ? n.push(r + a.text.trim()) : a.kind === "element" && n.push(...this.printElement(a, t)));
71
65
  return flushRun(), n;
72
66
  function flushRun() {
73
67
  let e = i.replace(/\s+/g, " ").trim();
@@ -75,9 +69,9 @@ var M = class HtmlFormatter {
75
69
  }
76
70
  }
77
71
  printElement(e, t) {
78
- let n = this.indent.repeat(t), r = P.has(e.tag) ? "" : `</${e.tag}>`;
72
+ let n = this.indent.repeat(t), r = F.has(e.tag) ? "" : `</${e.tag}>`;
79
73
  if (e.raw !== void 0) {
80
- if (oe.has(e.tag)) return [n + e.open + e.raw + r];
74
+ if (ae.has(e.tag)) return [n + e.open + e.raw + r];
81
75
  let t = e.raw.replace(/^\n+|\s+$/g, "");
82
76
  return t.includes("\n") ? [
83
77
  n + e.open,
@@ -101,11 +95,11 @@ var M = class HtmlFormatter {
101
95
  return n.map((e) => e.trim() ? t + e.slice(r) : "");
102
96
  }
103
97
  isInline(e) {
104
- return e.kind === "text" || e.kind !== "comment" && se.has(e.tag) && e.children.every((e) => this.isInline(e));
98
+ return e.kind === "text" || e.kind !== "comment" && oe.has(e.tag) && e.children.every((e) => this.isInline(e));
105
99
  }
106
100
  inline(e) {
107
101
  if (e.kind !== "element") return e.text;
108
- let t = P.has(e.tag) ? "" : `</${e.tag}>`;
102
+ let t = F.has(e.tag) ? "" : `</${e.tag}>`;
109
103
  return e.open + (e.raw ?? this.inlineChildren(e)) + t;
110
104
  }
111
105
  inlineChildren(e) {
@@ -115,15 +109,15 @@ var M = class HtmlFormatter {
115
109
  return new HtmlFormatter().format(e);
116
110
  }
117
111
  static cleanOpenTag(e) {
118
- return e.replace(/("[^"]*"|'[^']*')|\s+/g, (e, t) => t ?? " ").replace(/ (\/?>)$/, "$1").replace(/(\s)([\w:-]+)=""/g, "$1$2").replace(/(\s)([\w:-]+)="true"/g, (e, t, n) => n.startsWith("aria-") || ie.has(n) ? e : t + n);
112
+ return e.replace(/("[^"]*"|'[^']*')|\s+/g, (e, t) => t ?? " ").replace(/ (\/?>)$/, "$1").replace(/(\s)([\w:-]+)=""/g, "$1$2").replace(/(\s)([\w:-]+)="true"/g, (e, t, n) => n.startsWith("aria-") || re.has(n) ? e : t + n);
119
113
  }
120
- }, ie = /* @__PURE__ */ new Set([
114
+ }, re = /* @__PURE__ */ new Set([
121
115
  "contenteditable",
122
116
  "draggable",
123
117
  "spellcheck",
124
118
  "translate",
125
119
  "autocapitalize"
126
- ]), N = /(<!--[\s\S]*?-->)|<(\/?)([a-zA-Z][\w:-]*)(?:\s+[^\s"'>/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s"'=<>`]+))?)*\s*\/?>/g, P = /* @__PURE__ */ new Set([
120
+ ]), P = /(<!--[\s\S]*?-->)|<(\/?)([a-zA-Z][\w:-]*)(?:\s+[^\s"'>/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s"'=<>`]+))?)*\s*\/?>/g, F = /* @__PURE__ */ new Set([
127
121
  "area",
128
122
  "base",
129
123
  "br",
@@ -137,27 +131,27 @@ var M = class HtmlFormatter {
137
131
  "source",
138
132
  "track",
139
133
  "wbr"
140
- ]), ae = /* @__PURE__ */ new Set([
134
+ ]), ie = /* @__PURE__ */ new Set([
141
135
  "pre",
142
136
  "textarea",
143
137
  "script",
144
138
  "style",
145
139
  "ui-code",
146
140
  "ui-markdown"
147
- ]), oe = /* @__PURE__ */ new Set([
141
+ ]), ae = /* @__PURE__ */ new Set([
148
142
  "pre",
149
143
  "textarea",
150
144
  "ui-code",
151
145
  "ui-markdown"
152
- ]), se = /* @__PURE__ */ new Set(/* @__PURE__ */ "a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.s.samp.small.span.strong.sub.sup.time.u.var.wbr".split(".")), F = class ExampleSource {
153
- static snapshot(e = document) {
146
+ ]), oe = /* @__PURE__ */ new Set(/* @__PURE__ */ "a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.s.samp.small.span.strong.sub.sup.time.u.var.wbr".split(".")), I = class ExampleSource {
147
+ static snapshot(t = document) {
154
148
  let n = 0;
155
- for (let r of e.querySelectorAll(`${I}${t.notAttached}`)) ExampleSource.snapshots.has(r) || (ExampleSource.snapshots.set(r, r.innerHTML), n++);
149
+ for (let r of t.querySelectorAll(`${L}${e.notAttached}`)) ExampleSource.snapshots.has(r) || (ExampleSource.snapshots.set(r, r.innerHTML), n++);
156
150
  return n;
157
151
  }
158
152
  static keep(e) {
159
153
  let t = 0;
160
- for (let n of e.querySelectorAll(I)) ExampleSource.snapshots.has(n) || (ExampleSource.snapshots.set(n, ExampleSource.authored(n)), t++);
154
+ for (let n of e.querySelectorAll(L)) ExampleSource.snapshots.has(n) || (ExampleSource.snapshots.set(n, ExampleSource.authored(n)), t++);
161
155
  return t;
162
156
  }
163
157
  static of(e) {
@@ -172,12 +166,12 @@ var M = class HtmlFormatter {
172
166
  static format(e, t) {
173
167
  let n = document.createElement("template");
174
168
  n.innerHTML = e;
175
- for (let e of [...n.content.children]) le.includes(e.slot) && e.remove();
176
- if (t === "live") for (let e of n.content.querySelectorAll("*")) for (let t of ue) e.removeAttribute(t);
177
- return M.format(n.innerHTML);
169
+ for (let e of [...n.content.children]) ce.includes(e.slot) && e.remove();
170
+ if (t === "live") for (let e of n.content.querySelectorAll("*")) for (let t of le) e.removeAttribute(t);
171
+ return N.format(n.innerHTML);
178
172
  }
179
173
  static get snapshots() {
180
- return globalThis[ce] ??= /* @__PURE__ */ new WeakMap();
174
+ return globalThis[se] ??= /* @__PURE__ */ new WeakMap();
181
175
  }
182
176
  static authored(e) {
183
177
  let t = document.createElement("template");
@@ -185,7 +179,7 @@ var M = class HtmlFormatter {
185
179
  for (let e of t.content.querySelectorAll("*")) for (let t of [...e.attributes]) t.name.startsWith("data-ui-include-") && (e.setAttribute(t.name.slice(a.length), t.value), e.removeAttribute(t.name));
186
180
  return t.innerHTML;
187
181
  }
188
- }, I = "ui-example", ce = Symbol.for("spell-ui:example-sources"), le = ["description"], ue = ["data-ui-animation", "data-ui-hidden-by-animation"], de = {
182
+ }, L = "ui-example", se = Symbol.for("spell-ui:example-sources"), ce = ["description"], le = ["data-ui-animation", "data-ui-hidden-by-animation"], ue = {
189
183
  tag: "ui-example",
190
184
  icon: "lightbulb outline",
191
185
  snippet: "<ui-example heading=\"An example\">\n <ui-button>Try me</ui-button>\n</ui-example>",
@@ -200,6 +194,7 @@ var M = class HtmlFormatter {
200
194
  ],
201
195
  skeleton: "header, 2 line paragraph",
202
196
  noun: "example",
197
+ partOfSpeech: "structure",
203
198
  description: "An example shows its own markup live, under a heading and description, with the same markup as code a button shows and hides.",
204
199
  attributes: [
205
200
  {
@@ -325,12 +320,12 @@ var M = class HtmlFormatter {
325
320
  text: "Hide code",
326
321
  description: "The code button's label while the code shows."
327
322
  }]
328
- }, fe = "@layer ui.components.example.types{:host{display:block}.ui.example{--_ui-example-margin:var(--ui-example-margin,1.25em 0);--_ui-example-description-width:var(--ui-example-description-width,50em);--_ui-example-description-color:var(--ui-example-description-color,var(--ui-text-color));--_ui-example-toggle-opacity:var(--ui-example-toggle-opacity,1);--_ui-example-toggle-background:var(--ui-example-toggle-background,light-dark(oklch(100% 0 0/.95),color-mix(in oklab, var(--ui-surface-strong) 90%, transparent)));--_ui-example-toggle-inset:var(--ui-example-toggle-inset,.8em);--_ui-example-toggle-corner:var(--ui-example-toggle-corner,6px);--_ui-example-toggle-size:var(--ui-example-toggle-size,28px);--_ui-example-tools-gap:var(--ui-example-tools-gap,4px);--_ui-example-gap:var(--ui-example-gap,.5em);--_ui-example-frame-background:var(--ui-example-frame-background,color-mix(in oklab, var(--ui-surface) 45%, transparent));--_ui-example-frame-border:var(--ui-example-frame-border,var(--ui-border-width,1px) solid var(--ui-border-color));--_ui-example-frame-radius:var(--ui-example-frame-radius,var(--ui-radius-l,.75em));--_ui-example-frame-padding:var(--ui-example-frame-padding,.75em 1em);--_ui-example-frame-shadow:var(--ui-example-frame-shadow,var(--ui-shadow-subtle,none));--_ui-example-frame-filter:var(--ui-example-frame-filter,none);--_ui-example-demo-background:var(--ui-example-demo-background,color-mix(in oklab, var(--ui-surface) 60%, transparent));margin:var(--_ui-example-margin);display:block;position:relative}:host(:first-child)>.ui.example{margin-top:0}:host(:last-child)>.ui.example{margin-bottom:0}}@layer ui.components.example.content{.heading{align-items:center;gap:var(--_ui-example-gap);margin-bottom:var(--_ui-example-gap);display:flex}.heading>[part~=header]{--ui-header-margin-top:0;--ui-header-margin-bottom:0;flex:auto}.frame{--_example-toggle-radius:max(4px, calc(var(--_ui-example-frame-radius) - var(--_ui-example-toggle-corner)));--_example-inner-radius:max(var(--ui-radius-s), calc(var(--_ui-example-frame-radius) - 16px));--ui-segment-radius:var(--_example-inner-radius);--ui-card-radius:var(--_example-inner-radius);--ui-message-radius:var(--_example-inner-radius);position:relative}.frame>[part~=toggle]{z-index:2;opacity:var(--_ui-example-toggle-opacity);margin:0;transition:opacity .3s ease-out;position:absolute;inset-block-start:min(calc(50% - .675em), var(--_ui-example-toggle-inset));inset-inline-end:var(--_ui-example-toggle-inset)}.frame>[part~=toggle]::part(button){box-sizing:border-box;width:var(--_ui-example-toggle-size);min-height:var(--_ui-example-toggle-size);border-radius:var(--_example-toggle-radius);background:var(--_ui-example-toggle-background);min-width:0;box-shadow:0 0 0 1px var(--ui-border-color), var(--ui-shadow-subtle,0 0 #0000);justify-content:center;margin:0;padding-inline:0}.ui.example:not(.bare)>.frame>[part~=toggle]{inset-block-start:var(--_ui-example-toggle-corner);inset-inline-end:var(--_ui-example-toggle-corner)}.frame>[part~=toggle]:hover,.frame>[part~=toggle]:focus-within,:host(:state(open)) .frame>[part~=toggle]{opacity:1}.frame>[part~=tools]{--ui-example-tool-size:var(--_ui-example-toggle-size);--ui-example-tool-radius:var(--_example-toggle-radius);--ui-example-tool-background:var(--_ui-example-toggle-background);z-index:2;align-items:center;gap:var(--_ui-example-tools-gap);display:flex;position:absolute;inset-block-start:min(calc(50% - .675em), var(--_ui-example-toggle-inset));inset-inline-end:calc(var(--_ui-example-toggle-inset) + var(--_ui-example-toggle-size) + var(--_ui-example-tools-gap))}.ui.example:not(.bare)>.frame>[part~=tools]{inset-block-start:var(--_ui-example-toggle-corner);inset-inline-end:calc(var(--_ui-example-toggle-corner) + var(--_ui-example-toggle-size) + var(--_ui-example-tools-gap))}.description{max-width:var(--_ui-example-description-width);margin:0 0 var(--_ui-example-gap);color:var(--_ui-example-description-color);line-height:1.4285em}.description code{font-family:var(--ui-font-family-mono,monospace);font-size:.9em}.description a{color:var(--ui-link)}:host([description]) .description ::slotted(*){margin-block-start:.5em}[part~=demo],[part~=code]{display:block}:host(:not(:state(code-shown))) [part~=demo]::part(segment),.ui.bare.example [part~=demo]::part(segment){padding:0}[part~=demo]::part(segment){display:flow-root}.ui.example:not(.bare)>.frame{padding:var(--_ui-example-frame-padding);border:var(--_ui-example-frame-border);border-radius:var(--_ui-example-frame-radius);background:var(--_ui-example-frame-background);box-shadow:var(--_ui-example-frame-shadow);backdrop-filter:var(--_ui-example-frame-filter)}.ui.example:not(.bare) [part~=demo]::part(segment){margin:0}.ui.example:not(.bare) :is([part~=demo],[part~=code])::part(segment){backdrop-filter:none}:host(:state(code-shown)) .ui.example:not(.bare)>.frame{padding:0}:host(:state(code-shown)) .ui.example:not(.bare) [part~=demo]::part(segment){z-index:1;padding:var(--_ui-example-frame-padding);border-radius:calc(var(--_ui-example-frame-radius) - 1px) calc(var(--_ui-example-frame-radius) - 1px) var(--_ui-example-frame-radius) var(--_ui-example-frame-radius);background:var(--_ui-example-demo-background);box-shadow:0 1px 0 var(--ui-border-color), 0 6px 12px -8px oklch(0% 0 0/.25);border:none;margin:0;position:relative}.ui.example:not(.bare) [part~=code]::part(segment){box-sizing:border-box;height:auto;padding:.5em var(--_ui-example-code-inline) .125em;border-radius:0 0 calc(var(--_ui-example-frame-radius) - 1px) calc(var(--_ui-example-frame-radius) - 1px);background:color-mix(in oklab, var(--ui-text-color) 3%, transparent);box-shadow:none;interpolate-size:allow-keywords;transition:height .26s var(--ui-ease-out,ease-out), padding-block .26s var(--ui-ease-out,ease-out);border:none;margin:0;overflow:auto hidden}.ui.example{--_ui-example-code-inline:1em}@starting-style{.ui.example:not(.bare) [part~=code]::part(segment){height:0}}:host(:state(open-at-start)) .ui.example:not(.bare) [part~=code]::part(segment){transition:none}:host(:not(:state(open))) .ui.example:not(.bare) [part~=code]::part(segment){height:0;padding-block:0}:host(:state(open)) .frame>[part~=toggle]::part(button){background:color-mix(in oklab, var(--ui-text-color) 18%, var(--_ui-example-toggle-background));box-shadow:inset 0 1px 2px oklch(0% 0 0/.18), 0 0 0 1px var(--ui-border-color)}.ui.example:not(.bare) [part~=source]{--ui-code-border:none;--ui-code-background:transparent;--ui-code-padding:.5em 2.5em .5em 0}[part~=source]::part(copy){width:28px;height:28px;color:var(--ui-text-muted);border-radius:6px;font-size:15px;inset-block-start:0;inset-inline-end:-1px}@media (width<768px){[part~=demo]::part(segment){overflow-x:auto}:host(:not(:state(code-shown))) .ui.example:not(.bare) [part~=demo]::part(segment){margin-inline:-8px;padding-inline:8px}}}@layer ui.components.example.variations{.ui.variation.example{--_ui-example-margin:var(--ui-example-margin,1em 0);--_ui-example-gap:var(--ui-example-gap,.5em)}.ui.bare.example [part~=code]{margin-top:var(--_ui-example-gap)}}@layer ui.components.example.states;", pe = /* @__PURE__ */ j("<code>"), me = /* @__PURE__ */ j("<a>"), L = /* @__PURE__ */ j("<div><ui-header>", 1), R = /* @__PURE__ */ j("<div><slot>"), he = /* @__PURE__ */ j("<ui-segment appearance=secondary><slot><ui-code copy>", 1), ge = /* @__PURE__ */ j("<section><!><div><div><slot></slot></div><ui-button appearance=\"circular basic\"></ui-button><ui-segment><slot>", 1), z, B, V, H, U, W, G, K, q, J, Y, X = class _UIExample extends (G = c, W = [y], U = [b], H = [m("open"), p("code")], V = [m("code-shown"), x], B = [m("open-at-start"), x], z = [_("isCodeOpen")], G) {
323
+ }, de = "@layer ui.components.example.types{:host{display:block}.ui.example{--_ui-example-margin:var(--ui-example-margin,1.25em 0);--_ui-example-description-width:var(--ui-example-description-width,50em);--_ui-example-description-color:var(--ui-example-description-color,var(--ui-text-color));--_ui-example-toggle-opacity:var(--ui-example-toggle-opacity,1);--_ui-example-toggle-background:var(--ui-example-toggle-background,light-dark(oklch(100% 0 0/.95),color-mix(in oklab, var(--ui-surface-strong) 90%, transparent)));--_ui-example-toggle-inset:var(--ui-example-toggle-inset,.8em);--_ui-example-toggle-corner:var(--ui-example-toggle-corner,6px);--_ui-example-toggle-size:var(--ui-example-toggle-size,28px);--_ui-example-tools-gap:var(--ui-example-tools-gap,4px);--_ui-example-gap:var(--ui-example-gap,.5em);--_ui-example-frame-background:var(--ui-example-frame-background,color-mix(in oklab, var(--ui-surface) 45%, transparent));--_ui-example-frame-border:var(--ui-example-frame-border,var(--ui-border-width,1px) solid var(--ui-border-color));--_ui-example-frame-radius:var(--ui-example-frame-radius,var(--ui-radius-l,.75em));--_ui-example-frame-padding:var(--ui-example-frame-padding,.75em 1em);--_ui-example-frame-shadow:var(--ui-example-frame-shadow,var(--ui-shadow-subtle,none));--_ui-example-frame-filter:var(--ui-example-frame-filter,none);--_ui-example-demo-background:var(--ui-example-demo-background,color-mix(in oklab, var(--ui-surface) 60%, transparent));margin:var(--_ui-example-margin);display:block;position:relative}:host(:first-child)>.ui.example{margin-top:0}:host(:last-child)>.ui.example{margin-bottom:0}}@layer ui.components.example.content{.heading{align-items:center;gap:var(--_ui-example-gap);margin-bottom:var(--_ui-example-gap);display:flex}.heading>[part~=header]{--ui-header-margin-top:0;--ui-header-margin-bottom:0;flex:auto}.frame{--_example-toggle-radius:max(4px, calc(var(--_ui-example-frame-radius) - var(--_ui-example-toggle-corner)));--_example-inner-radius:max(var(--ui-radius-s), calc(var(--_ui-example-frame-radius) - 16px));--ui-segment-radius:var(--_example-inner-radius);--ui-card-radius:var(--_example-inner-radius);--ui-message-radius:var(--_example-inner-radius);position:relative}.frame>[part~=toggle]{z-index:2;opacity:var(--_ui-example-toggle-opacity);margin:0;transition:opacity .3s ease-out;position:absolute;inset-block-start:min(calc(50% - .675em), var(--_ui-example-toggle-inset));inset-inline-end:var(--_ui-example-toggle-inset)}.frame>[part~=toggle]::part(button){box-sizing:border-box;width:var(--_ui-example-toggle-size);min-height:var(--_ui-example-toggle-size);border-radius:var(--_example-toggle-radius);background:var(--_ui-example-toggle-background);min-width:0;box-shadow:0 0 0 1px var(--ui-border-color), var(--ui-shadow-subtle,0 0 #0000);justify-content:center;margin:0;padding-inline:0}.ui.example:not(.bare)>.frame>[part~=toggle]{inset-block-start:var(--_ui-example-toggle-corner);inset-inline-end:var(--_ui-example-toggle-corner)}.frame>[part~=toggle]:hover,.frame>[part~=toggle]:focus-within,:host(:state(open)) .frame>[part~=toggle]{opacity:1}.frame>[part~=tools]{--ui-example-tool-size:var(--_ui-example-toggle-size);--ui-example-tool-radius:var(--_example-toggle-radius);--ui-example-tool-background:var(--_ui-example-toggle-background);z-index:2;align-items:center;gap:var(--_ui-example-tools-gap);display:flex;position:absolute;inset-block-start:min(calc(50% - .675em), var(--_ui-example-toggle-inset));inset-inline-end:calc(var(--_ui-example-toggle-inset) + var(--_ui-example-toggle-size) + var(--_ui-example-tools-gap))}.ui.example:not(.bare)>.frame>[part~=tools]{inset-block-start:var(--_ui-example-toggle-corner);inset-inline-end:calc(var(--_ui-example-toggle-corner) + var(--_ui-example-toggle-size) + var(--_ui-example-tools-gap))}.description{max-width:var(--_ui-example-description-width);margin:0 0 var(--_ui-example-gap);color:var(--_ui-example-description-color);line-height:1.4285em}.description code{font-family:var(--ui-font-family-mono,monospace);font-size:.9em}.description a{color:var(--ui-link)}:host([description]) .description ::slotted(*){margin-block-start:.5em}[part~=demo],[part~=code]{display:block}:host(:not(:state(code-shown))) [part~=demo]::part(segment),.ui.bare.example [part~=demo]::part(segment){padding:0}[part~=demo]::part(segment){display:flow-root}.ui.example:not(.bare)>.frame{padding:var(--_ui-example-frame-padding);border:var(--_ui-example-frame-border);border-radius:var(--_ui-example-frame-radius);background:var(--_ui-example-frame-background);box-shadow:var(--_ui-example-frame-shadow);backdrop-filter:var(--_ui-example-frame-filter)}.ui.example:not(.bare) [part~=demo]::part(segment){margin:0}.ui.example:not(.bare) :is([part~=demo],[part~=code])::part(segment){backdrop-filter:none}:host(:state(code-shown)) .ui.example:not(.bare)>.frame{padding:0}:host(:state(code-shown)) .ui.example:not(.bare) [part~=demo]::part(segment){z-index:1;padding:var(--_ui-example-frame-padding);border-radius:calc(var(--_ui-example-frame-radius) - 1px) calc(var(--_ui-example-frame-radius) - 1px) var(--_ui-example-frame-radius) var(--_ui-example-frame-radius);background:var(--_ui-example-demo-background);box-shadow:0 1px 0 var(--ui-border-color), 0 6px 12px -8px oklch(0% 0 0/.25);border:none;margin:0;position:relative}.ui.example:not(.bare) [part~=code]::part(segment){box-sizing:border-box;height:auto;padding:.5em var(--_ui-example-code-inline) .125em;border-radius:0 0 calc(var(--_ui-example-frame-radius) - 1px) calc(var(--_ui-example-frame-radius) - 1px);background:color-mix(in oklab, var(--ui-text-color) 3%, transparent);box-shadow:none;interpolate-size:allow-keywords;transition:height .26s var(--ui-ease-out,ease-out), padding-block .26s var(--ui-ease-out,ease-out);border:none;margin:0;overflow:auto hidden}.ui.example{--_ui-example-code-inline:1em}@starting-style{.ui.example:not(.bare) [part~=code]::part(segment){height:0}}:host(:state(open-at-start)) .ui.example:not(.bare) [part~=code]::part(segment){transition:none}:host(:not(:state(open))) .ui.example:not(.bare) [part~=code]::part(segment){height:0;padding-block:0}:host(:state(open)) .frame>[part~=toggle]::part(button){background:color-mix(in oklab, var(--ui-text-color) 18%, var(--_ui-example-toggle-background));box-shadow:inset 0 1px 2px oklch(0% 0 0/.18), 0 0 0 1px var(--ui-border-color)}.ui.example:not(.bare) [part~=source]{--ui-code-border:none;--ui-code-background:transparent;--ui-code-padding:.5em 2.5em .5em 0}[part~=source]::part(copy){width:28px;height:28px;color:var(--ui-text-muted);border-radius:6px;font-size:15px;inset-block-start:0;inset-inline-end:-1px}@media (width<768px){[part~=demo]::part(segment){overflow-x:auto}:host(:not(:state(code-shown))) .ui.example:not(.bare) [part~=demo]::part(segment){margin-inline:-8px;padding-inline:8px}}}@layer ui.components.example.variations{.ui.variation.example{--_ui-example-margin:var(--ui-example-margin,1em 0);--_ui-example-gap:var(--ui-example-gap,.5em)}.ui.bare.example [part~=code]{margin-top:var(--_ui-example-gap)}}@layer ui.components.example.states;", fe = /* @__PURE__ */ M("<code>"), pe = /* @__PURE__ */ M("<a>"), me = /* @__PURE__ */ M("<div><ui-header>", 1), R = /* @__PURE__ */ M("<div><slot>"), he = /* @__PURE__ */ M("<ui-segment appearance=secondary><slot><ui-code copy>", 1), ge = /* @__PURE__ */ M("<section><!><div><div><slot></slot></div><ui-button appearance=\"circular basic\"></ui-button><ui-segment><slot>", 1), z, B, V, H, U, W, G, K, q, J, Y, X = class _UIExample extends (G = s, W = [y], U = [b], H = [m("open"), p("code")], V = [m("code-shown"), S], B = [m("open-at-start"), S], z = [_("isCodeOpen")], G) {
329
324
  constructor(...e) {
330
- super(...e), l(K, 5, this), r(this, "sourceMarkup", O ? "" : F.of(this.domElement)), r(this, "slots", new s(this.domElement)), u(this, q, l(K, 8, this, !1)), l(K, 11, this), u(this, J, l(K, 12, this, !1)), l(K, 15, this), u(this, Y, l(K, 16, this, this.isCodeOpen)), l(K, 19, this), r(this, "closingTimer"), r(this, "disclosure", new n({
325
+ super(...e), u(K, 5, this), r(this, "sourceMarkup", k ? "" : I.of(this.domElement)), r(this, "slots", new o(this.domElement)), x(this, q, u(K, 8, this, !1)), u(K, 11, this), x(this, J, u(K, 12, this, !1)), u(K, 15, this), x(this, Y, u(K, 16, this, this.isCodeOpen)), u(K, 19, this), r(this, "closingTimer"), r(this, "disclosure", new t({
331
326
  component: this,
332
327
  member: "isCodeOpen"
333
- })), O || this.stamp();
328
+ })), k || this.stamp();
334
329
  }
335
330
  onCodeOpenChanged(e) {
336
331
  this.closingTimer?.cancel(), e ? this.isCodeShown = !0 : this.isCodeShown && (this.closingTimer = d(ve, () => this.isCodeShown = !1));
@@ -347,77 +342,77 @@ var M = class HtmlFormatter {
347
342
  get descriptionWithCode() {
348
343
  return (this.description ?? "").split(h).flatMap((e, t) => {
349
344
  if (t % 2) return [(() => {
350
- var t = pe();
351
- return D(t, e), t;
345
+ var t = fe();
346
+ return O(t, e), t;
352
347
  })()];
353
348
  let n = e.split(Se), r = [];
354
349
  for (let e = 0; e < n.length; e += 3) n[e] && r.push(n[e]), e + 2 < n.length && r.push((() => {
355
- var t = me(), r = E();
356
- return D(t, () => n[e + 1]), T(() => n[e + 2], (e) => {
357
- A(t, "href", e), ne(t, r);
350
+ var t = pe(), r = D();
351
+ return O(t, () => n[e + 1]), E(() => n[e + 2], (e) => {
352
+ j(t, "href", e), te(t, r);
358
353
  }), t;
359
354
  })());
360
355
  return r;
361
356
  });
362
357
  }
363
358
  stamp() {
364
- let e = F.template(this.domElement);
359
+ let e = I.template(this.domElement);
365
360
  e && f(() => e.after(e.content.cloneNode(!0)));
366
361
  }
367
362
  render() {
368
363
  let e = this;
369
364
  var t = ge(), n = t.firstChild, r = n.nextSibling, i = r.firstChild, a = i.firstChild, o = i.nextSibling, s = o.nextSibling, c = s.firstChild;
370
- return D(t, w(S, {
365
+ return O(t, T(C, {
371
366
  get when() {
372
367
  return e.heading;
373
368
  },
374
369
  get children() {
375
- var t = L(), n = t.firstChild;
376
- return n._$owner = E(), D(n, () => e.heading), T(() => ({
377
- e: k(_e),
370
+ var t = me(), n = t.firstChild;
371
+ return n._$owner = D(), O(n, () => e.heading), E(() => ({
372
+ e: A(_e),
378
373
  t: e.partForName("header"),
379
374
  a: g.attributeFor(g.levelFor(e.level, Ce)),
380
375
  o: e.variation ? "small" : void 0
381
376
  }), ({ e, t: r, a: i, o: a }, o) => {
382
- C(t, e, o?.e), r !== o?.t && A(n, "part", r), i !== o?.a && A(n, "level", i), a !== o?.o && A(n, "size", a);
377
+ w(t, e, o?.e), r !== o?.t && j(n, "part", r), i !== o?.a && j(n, "level", i), a !== o?.o && j(n, "size", a);
383
378
  }), t;
384
379
  }
385
- }), n), D(t, w(S, {
380
+ }), n), O(t, T(C, {
386
381
  get when() {
387
382
  return e.description || e.slots.hasContent(e.slotForName("description"));
388
383
  },
389
384
  get children() {
390
385
  var t = R(), n = t.firstChild;
391
- return D(t, () => e.descriptionWithCode, n), n._$owner = E(), T(() => ({
392
- e: k(v),
386
+ return O(t, () => e.descriptionWithCode, n), n._$owner = D(), E(() => ({
387
+ e: A(v),
393
388
  t: e.partForName("description"),
394
389
  a: e.slotForName("description")
395
390
  }), ({ e, t: r, a: i }, a) => {
396
- C(t, e, a?.e), r !== a?.t && A(t, "part", r), i !== a?.a && A(n, "name", i);
391
+ w(t, e, a?.e), r !== a?.t && j(t, "part", r), i !== a?.a && j(n, "name", i);
397
392
  }), t;
398
393
  }
399
- }), r), a._$owner = E(), A(o, "icon", xe), A(o, "aria-controls", $), re(() => (t) => t.addEventListener("click", (t) => e.toggle(t)), o), o._$owner = E(), s._$owner = E(), c._$owner = E(), D(r, w(S, {
394
+ }), r), a._$owner = D(), j(o, "icon", Q), j(o, "aria-controls", $), ne(() => (t) => t.addEventListener("click", (t) => e.toggle(t)), o), o._$owner = D(), s._$owner = D(), c._$owner = D(), O(r, T(C, {
400
395
  get when() {
401
396
  return e.isCodeShown;
402
397
  },
403
398
  get children() {
404
399
  var t = he(), n = t.firstChild, r = n.firstChild;
405
- return A(t, "id", $), t._$owner = E(), n._$owner = E(), r._$owner = E(), T(() => ({
400
+ return j(t, "id", $), t._$owner = D(), n._$owner = D(), r._$owner = D(), E(() => ({
406
401
  e: e.partForName("code"),
407
402
  t: e.bare ? void 0 : ee,
408
403
  a: e.slotForName("source"),
409
404
  o: e.partForName("source"),
410
- i: e.language || Q,
405
+ i: e.language || xe,
411
406
  n: e.sourceMarkup
412
407
  }), ({ e, t: i, a, o, i: s, n: c }, l) => {
413
- e !== l?.e && A(t, "part", e), i !== l?.t && A(t, "attach", i), a !== l?.a && A(n, "name", a), o !== l?.o && A(r, "part", o), s !== l?.i && A(r, "language", s), c !== l?.n && A(r, "content", c);
408
+ e !== l?.e && j(t, "part", e), i !== l?.t && j(t, "attach-to", i), a !== l?.a && j(n, "name", a), o !== l?.o && j(r, "part", o), s !== l?.i && j(r, "language", s), c !== l?.n && j(r, "content", c);
414
409
  }), t;
415
410
  }
416
- }), null), T(() => ({
417
- e: k(e.rootClass),
411
+ }), null), E(() => ({
412
+ e: A(e.rootClass),
418
413
  t: e.partForName("example"),
419
- a: k(ye),
420
- o: k(be),
414
+ a: A(ye),
415
+ o: A(be),
421
416
  i: e.partForName("tools"),
422
417
  n: e.slotForName("tools"),
423
418
  s: e.partForName("toggle"),
@@ -429,23 +424,21 @@ var M = class HtmlFormatter {
429
424
  c: e.demoIsFramed ? void 0 : "basic",
430
425
  w: e.demoIsFramed ? "top" : void 0
431
426
  }), ({ e, t: n, a: c, o: l, i: u, n: d, s: f, h: p, r: m, d: h, l: g, u: _, c: v, w: y }, b) => {
432
- C(t, e, b?.e), n !== b?.t && A(t, "part", n), C(r, c, b?.a), C(i, l, b?.o), u !== b?.i && A(i, "part", u), d !== b?.n && A(a, "name", d), f !== b?.s && A(o, "part", f), p !== b?.h && A(o, "size", p), m !== b?.r && A(o, "aria-label", m), h !== b?.d && A(o, "title", h), g !== b?.l && A(o, "aria-expanded", g), _ !== b?.u && A(s, "part", _), v !== b?.c && A(s, "appearance", v), y !== b?.w && A(s, "attach", y);
427
+ w(t, e, b?.e), n !== b?.t && j(t, "part", n), w(r, c, b?.a), w(i, l, b?.o), u !== b?.i && j(i, "part", u), d !== b?.n && j(a, "name", d), f !== b?.s && j(o, "part", f), p !== b?.h && j(o, "size", p), m !== b?.r && j(o, "aria-label", m), h !== b?.d && j(o, "title", h), g !== b?.l && j(o, "aria-expanded", g), _ !== b?.u && j(s, "part", _), v !== b?.c && j(s, "appearance", v), y !== b?.w && j(s, "attach-to", y);
433
428
  }), t;
434
429
  }
435
430
  };
436
- K = te(G), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), i(K, 4, "isCodeOpen", H, X, q), i(K, 4, "isCodeShown", V, X, J), i(K, 4, "isOpenAtStart", B, X, Y), i(K, 1, "onCodeOpenChanged", z, X), i(K, 13, "vocabulary", W, X), i(K, 13, "elementSetup", U, X), o(K, X), e(X, "UIExample"), r(X, "vocabulary", l(K, 20, X, de)), l(K, 23, X), r(X, "elementSetup", l(K, 24, X, {
437
- styleSheets: { example: fe },
431
+ K = n(G), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), c(K, 4, "isCodeOpen", H, X, q), c(K, 4, "isCodeShown", V, X, J), c(K, 4, "isOpenAtStart", B, X, Y), c(K, 1, "onCodeOpenChanged", z, X), c(K, 13, "vocabulary", W, X), c(K, 13, "elementSetup", U, X), l(K, X), i(X, "UIExample"), r(X, "vocabulary", u(K, 20, X, ue)), u(K, 23, X), r(X, "elementSetup", u(K, 24, X, {
432
+ styleSheets: { example: de },
438
433
  delegatesFocus: !1
439
- })), l(K, 27, X);
440
- var Z = X, _e = "heading", ve = .3, ye = "frame", be = "tools", xe = "code", Q = "html", Se = /\[([^\]]+)\]\(([^)\s]+)\)/, $ = "code", Ce = {
434
+ })), u(K, 27, X);
435
+ var Z = X, _e = "heading", ve = .3, ye = "frame", be = "tools", Q = "code", xe = "html", Se = /\[([^\]]+)\]\(([^)\s]+)\)/, $ = "code", Ce = {
441
436
  min: 1,
442
437
  max: 6,
443
438
  fallback: 4
444
439
  };
445
- //#endregion
446
- //#region src/components/ui-example/index.ts
440
+ // src/components/ui-example/index.ts
447
441
  Z.define();
448
- //#endregion
449
- export { F as ExampleSource, M as HtmlFormatter, Z as UIExample };
442
+ export { I as ExampleSource, N as HtmlFormatter, Z as UIExample };
450
443
 
451
444
  //# sourceMappingURL=ui-example.js.map