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,15 +1,15 @@
1
- import "./rolldown-runtime-CYGlBXrH.js";
2
- import { Bt as e, DOMLoadableElement as t, Ht as n, LoadableComponent as r, Lt as i, NodeType as a, Rt as o, SourceEvent as s, UI as c, Ut as l, Vt as u, after as d, cssState as f, dt as ee, ht as te, mt as ne, onChange as p, once as re, ot as ie, proto as ae, protoMerged as oe, pt as se, state as m, untracked as h, whileConnected as ce, zt as g } from "./core.js";
1
+ import "./rolldown-runtime-c6e9CmGy.js";
2
+ import { DOMLoadableElement as e, Gt as t, Jt as n, Kt as r, LoadableComponent as i, NodeType as a, SourceEvent as o, UI as s, Ut as c, Wt as l, Yt as u, after as d, cssState as f, ft as ee, gt as te, ht as ne, mt as re, onChange as ie, once as ae, proto as oe, protoMerged as se, qt as p, st as ce, state as m, untracked as h, whileConnected as le } from "./core.js";
3
+ import { t as ue } from "./PrefStore-Di83C0bY.js";
3
4
  import "./ui-button.js";
4
- import { t as _ } from "./PrefStore-Qv0e5y04.js";
5
+ import "./ui-code.js";
5
6
  import "./ui-loader.js";
6
7
  import "./ui-message.js";
7
8
  import "./ui-select.js";
8
- import "./ui-code.js";
9
- import { For as le, Show as ue } from "solid-js";
10
- import { addEvent as v, className as de, createComponent as y, delegateEvents as fe, effect as b, insert as pe, memo as me, readShallow as he, ref as x, setAttribute as S, template as C } from "@solidjs/web";
11
- //#region src/components/ui-markdown/MarkdownFormats.ts
12
- var w = class MarkdownFormats {
9
+ import { For as de, Show as fe } from "solid-js";
10
+ import { addEvent as g, className as pe, createComponent as me, delegateEvents as he, effect as _, insert as v, memo as y, readShallow as ge, ref as b, setAttribute as x, template as S } from "@solidjs/web";
11
+ // src/components/ui-markdown/MarkdownFormats.ts
12
+ var C = class MarkdownFormats {
13
13
  static toggle(e, t) {
14
14
  let { text: n } = e, { start: r, end: i } = e.start === e.end ? MarkdownFormats.wordAt(e) : e;
15
15
  if (r === i) return {
@@ -17,7 +17,19 @@ var w = class MarkdownFormats {
17
17
  start: r + t.length,
18
18
  end: r + t.length
19
19
  };
20
- let a = t.length, isWrapped = (e, r) => n.slice(e - a, e) === t && n.slice(r, r + a) === t && (t !== "*" || n[e - a - 1] !== "*" && n[r + a] !== "*" || MarkdownFormats.isTriple(n, e, r));
20
+ let a = t.length;
21
+ if (t === "`") {
22
+ let t = MarkdownFormats.codeAt(n, e.start, e.end);
23
+ if (t) {
24
+ let r = n.slice(t.start + 1, t.end - 1);
25
+ return {
26
+ text: n.slice(0, t.start) + r + n.slice(t.end),
27
+ start: Math.max(t.start, e.start - 1),
28
+ end: Math.min(t.start + r.length, e.end - 1)
29
+ };
30
+ }
31
+ }
32
+ let isWrapped = (e, r) => n.slice(e - a, e) === t && n.slice(r, r + a) === t && (t !== "*" || n[e - a - 1] !== "*" && n[r + a] !== "*" || MarkdownFormats.isTriple(n, e, r));
21
33
  if (isWrapped(r, i)) return {
22
34
  text: n.slice(0, r - a) + n.slice(r, i) + n.slice(i + a),
23
35
  start: r - a,
@@ -60,7 +72,7 @@ var w = class MarkdownFormats {
60
72
  };
61
73
  }
62
74
  static linkAt(e, t) {
63
- for (let n of e.matchAll(T)) {
75
+ for (let n of e.matchAll(w)) {
64
76
  let e = n.index, r = e + n[0].length;
65
77
  if (t >= e && t <= r) return {
66
78
  start: e,
@@ -70,15 +82,24 @@ var w = class MarkdownFormats {
70
82
  };
71
83
  }
72
84
  }
85
+ static codeAt(e, t, n) {
86
+ for (let r of e.matchAll(E)) {
87
+ let e = r.index, i = e + r[0].length;
88
+ if (t > e && n < i) return {
89
+ start: e,
90
+ end: i
91
+ };
92
+ }
93
+ }
73
94
  static clear(e) {
74
95
  let t = e.start === e.end, n = t ? 0 : e.start, r = t ? e.text.length : e.end, i = e.text.slice(n, r);
75
- i = i.replace(T, "$1").replace(E, "$1").replace(D, "$1").replace(O, "$1");
96
+ i = i.replace(w, "$1").replace(E, "$1").replace(T, "$1").replace(D, "$1").replace(O, "$1");
76
97
  let a = {
77
98
  text: e.text.slice(0, n) + i + e.text.slice(r),
78
99
  start: n,
79
100
  end: n + i.length
80
101
  };
81
- for (let e of ge) {
102
+ for (let e of _e) {
82
103
  let n = a.text.slice(a.start - e.length, a.start) === e;
83
104
  !t && n && a.text.slice(a.end, a.end + e.length) === e && (a = MarkdownFormats.toggle(a, e));
84
105
  }
@@ -88,7 +109,7 @@ var w = class MarkdownFormats {
88
109
  let n = /* @__PURE__ */ new Set(), inside = (r, i) => {
89
110
  for (let a of e.matchAll(r)) t > a.index && t < a.index + a[0].length && n.add(i);
90
111
  };
91
- return inside(E, "bold"), inside(O, "italic"), inside(D, "strikethrough"), inside(T, "link"), n;
112
+ return inside(T, "bold"), inside(O, "italic"), inside(D, "strikethrough"), inside(E, "code"), inside(w, "link"), n;
92
113
  }
93
114
  static shapeOf(e, t) {
94
115
  if (t.kind === "cell") return;
@@ -96,7 +117,7 @@ var w = class MarkdownFormats {
96
117
  return r ? `h${r[1].length}` : /^\s*\d{1,9}[.)][ \t]/.test(n) ? "numbered" : /^\s*[*+-][ \t]/.test(n) ? "bullet" : "paragraph";
97
118
  }
98
119
  static reshape(e, t, n, r) {
99
- let i = e.lastIndexOf("\n", t.start - 1) + 1, a = /^\s*/.exec(e.slice(i, t.start))[0], o = r.startsWith("h") ? n.replace(/\s*\n\s*/g, " ").trim() : n.replace(/\s+$/, ""), s = a + _e[r], c = e.slice(0, i) + s + o + e.slice(t.end), l = r === "paragraph" ? "paragraph" : r.startsWith("h") ? "heading" : "item", u = i + s.length;
120
+ let i = e.lastIndexOf("\n", t.start - 1) + 1, a = /^\s*/.exec(e.slice(i, t.start))[0], o = r.startsWith("h") ? n.replace(/\s*\n\s*/g, " ").trim() : n.replace(/\s+$/, ""), s = a + ve[r], c = e.slice(0, i) + s + o + e.slice(t.end), l = r === "paragraph" ? "paragraph" : r.startsWith("h") ? "heading" : "item", u = i + s.length;
100
121
  return {
101
122
  text: c,
102
123
  place: {
@@ -113,11 +134,11 @@ var w = class MarkdownFormats {
113
134
  static markdownOf(e) {
114
135
  let t = "";
115
136
  for (let n of e.childNodes) {
116
- if (n.nodeType === ye) {
137
+ if (n.nodeType === xe) {
117
138
  t += (n.textContent ?? "").replace(/[\\*]/g, "\\$&");
118
139
  continue;
119
140
  }
120
- if (n.nodeType !== be) continue;
141
+ if (n.nodeType !== Se) continue;
121
142
  let e = n, r = MarkdownFormats.markdownOf(e), i = e.localName;
122
143
  i === "br" ? t += "\n" : i === "code" ? t += `\`${e.textContent ?? ""}\`` : i === "a" ? t += `[${r}](${e.getAttribute("href") ?? ""})` : k[i] && r.trim() ? t += k[i] + r + k[i] : t += r;
123
144
  }
@@ -125,8 +146,8 @@ var w = class MarkdownFormats {
125
146
  }
126
147
  static wordAt({ text: e, start: t }) {
127
148
  let n = t, r = t;
128
- for (; n > 0 && A.test(e[n - 1]);) n--;
129
- for (; r < e.length && A.test(e[r]);) r++;
149
+ for (; n > 0 && be.test(e[n - 1]);) n--;
150
+ for (; r < e.length && be.test(e[r]);) r++;
130
151
  return {
131
152
  start: n,
132
153
  end: r
@@ -137,7 +158,7 @@ var w = class MarkdownFormats {
137
158
  }
138
159
  static cut(e, t, n) {
139
160
  let r;
140
- for (let [t, n, i] of ve) {
161
+ for (let [t, n, i] of ye) {
141
162
  t.lastIndex = 0;
142
163
  let a = t.exec(e);
143
164
  a && (!r || a.index < r.match.index) && (r = {
@@ -161,7 +182,19 @@ var w = class MarkdownFormats {
161
182
  isMark: !1
162
183
  });
163
184
  let c = [...t, a];
164
- a === "link" ? (n.push({
185
+ a === "code" ? (n.push({
186
+ text: o,
187
+ formats: c,
188
+ isMark: !0
189
+ }), i[1] && n.push({
190
+ text: i[1],
191
+ formats: c,
192
+ isMark: !1
193
+ }), n.push({
194
+ text: o,
195
+ formats: c,
196
+ isMark: !0
197
+ })) : a === "link" ? (n.push({
165
198
  text: "[",
166
199
  formats: c,
167
200
  isMark: !0
@@ -179,11 +212,12 @@ var w = class MarkdownFormats {
179
212
  isMark: !0
180
213
  })), MarkdownFormats.cut(e.slice(i.index + i[0].length), t, n);
181
214
  }
182
- }, ge = [
215
+ }, _e = [
183
216
  "**",
184
217
  "~~",
218
+ "`",
185
219
  "*"
186
- ], _e = {
220
+ ], ve = {
187
221
  paragraph: "",
188
222
  h1: "# ",
189
223
  h2: "## ",
@@ -193,14 +227,19 @@ var w = class MarkdownFormats {
193
227
  h6: "###### ",
194
228
  bullet: "- ",
195
229
  numbered: "1. "
196
- }, T = /\[([^\]\n]*)\]\(([^)\s]*)\)/g, E = /\*\*(?=\S)([^\n]*?\S)\*\*/g, D = /~~(?=\S)([^\n]*?\S)~~/g, O = /(?<!\*)\*(?=[^\s*])([^\n*]*?[^\s*])\*/g, ve = [
230
+ }, w = /\[([^\]\n]*)\]\(([^)\s]*)\)/g, T = /\*\*(?=\S)([^\n]*?\S)\*\*/g, E = /`([^`\n]+)`/g, D = /~~(?=\S)([^\n]*?\S)~~/g, O = /(?<!\*)\*(?=[^\s*])([^\n*]*?[^\s*])\*/g, ye = [
197
231
  [
198
- new RegExp(T.source, "g"),
232
+ new RegExp(E.source, "g"),
233
+ "code",
234
+ "`"
235
+ ],
236
+ [
237
+ new RegExp(w.source, "g"),
199
238
  "link",
200
239
  ""
201
240
  ],
202
241
  [
203
- new RegExp(E.source, "g"),
242
+ new RegExp(T.source, "g"),
204
243
  "bold",
205
244
  "**"
206
245
  ],
@@ -222,7 +261,7 @@ var w = class MarkdownFormats {
222
261
  del: "~~",
223
262
  s: "~~",
224
263
  strike: "~~"
225
- }, A = /[\p{L}\p{N}_'’-]/u, ye = 3, be = 1, xe = class MarkdownBox {
264
+ }, be = /[\p{L}\p{N}_'’-]/u, xe = 3, Se = 1, Ce = class MarkdownBox {
226
265
  props;
227
266
  field;
228
267
  bar;
@@ -241,7 +280,7 @@ var w = class MarkdownFormats {
241
280
  this.unformattable = n ? void 0 : e.texts(e.renderInline ? "formattedOff" : "noFormattedView"), this.view = e.view === "formatted" && !this.unformattable ? "formatted" : "marks", this.field = t.createElement("span"), this.field.setAttribute("role", "textbox"), this.field.setAttribute("aria-label", e.label), this.field.setAttribute("part", e.parts.box), e.kind === "paragraph" && this.field.setAttribute("aria-multiline", "true"), this.field.addEventListener("keydown", this.onKey), this.field.addEventListener("input", this.onInput), this.field.addEventListener("paste", this.onPaste), this.field.addEventListener("focusout", e.onLeave), this.field.ownerDocument.addEventListener("selectionchange", this.onSelectionChange), this.shapes = t.createElement("ui-select"), this.address = t.createElement("input"), this.bar = this.drawBar(), this.draw(e.raw);
242
281
  }
243
282
  get raw() {
244
- return this.view === "formatted" ? w.markdownOf(this.field).replace(/\n$/, "") : (this.field.textContent ?? "").replace(/\n$/, "");
283
+ return this.view === "formatted" ? C.markdownOf(this.field).replace(/\n$/, "") : (this.field.textContent ?? "").replace(/\n$/, "");
245
284
  }
246
285
  set raw(e) {
247
286
  this.draw(e), this.caret = e.length;
@@ -266,10 +305,25 @@ var w = class MarkdownFormats {
266
305
  if (e === "view") return this.switchView();
267
306
  if (e === "link") return this.askAddress();
268
307
  if (e === "bullet" || e === "numbered") return this.reshape(this.shape === e ? "paragraph" : e);
269
- if (this.view === "formatted") this.field.ownerDocument.execCommand(De[e]), e === "clear" && this.field.ownerDocument.execCommand("unlink");
308
+ if (e === "code" && this.view === "formatted") return this.toggleCode();
309
+ if (this.view === "formatted") this.field.ownerDocument.execCommand(ke[e]), e === "clear" && this.field.ownerDocument.execCommand("unlink");
270
310
  else {
271
311
  let t = this.edit();
272
- this.apply(e === "clear" ? w.clear(t) : w.toggle(t, Ee[e]));
312
+ this.apply(e === "clear" ? C.clear(t) : C.toggle(t, Oe[e]));
313
+ }
314
+ this.changed();
315
+ }
316
+ toggleCode() {
317
+ let e = MarkdownBox.rangeIn(this.field);
318
+ if (!e) return;
319
+ let t = this.field.ownerDocument, n = e.startContainer, r = (n.nodeType === 1 ? n : n.parentElement)?.closest("code");
320
+ if (r && this.field.contains(r)) {
321
+ let e = t.createTextNode(r.textContent ?? "");
322
+ r.replaceWith(e), t.getSelection()?.setBaseAndExtent(e, 0, e, e.data.length);
323
+ } else if (e.collapsed) return;
324
+ else {
325
+ let n = t.createElement("code");
326
+ n.textContent = e.toString(), e.deleteContents(), e.insertNode(n), t.getSelection()?.selectAllChildren(n);
273
327
  }
274
328
  this.changed();
275
329
  }
@@ -284,7 +338,7 @@ var w = class MarkdownFormats {
284
338
  askAddress() {
285
339
  let e = this.edit();
286
340
  this.linkFor = e;
287
- let t = this.view === "marks" ? w.linkAt(e.text, e.start) : void 0, n = this.view === "formatted" ? MarkdownBox.rangeIn(this.field)?.startContainer.parentElement?.closest("a") : void 0;
341
+ let t = this.view === "marks" ? C.linkAt(e.text, e.start) : void 0, n = this.view === "formatted" ? MarkdownBox.rangeIn(this.field)?.startContainer.parentElement?.closest("a") : void 0;
288
342
  this.address.value = t?.address ?? n?.getAttribute("href") ?? "", this.address.hidden = !1, this.address.focus(), this.address.select();
289
343
  }
290
344
  onAddressKey = (e) => {
@@ -294,16 +348,12 @@ var w = class MarkdownFormats {
294
348
  if (this.linkFor = void 0, this.address.hidden = !0, this.field.focus(), !t) return;
295
349
  if (e.key === "Escape") return this.select(t.start, t.end);
296
350
  let n = this.address.value.trim();
297
- this.view === "formatted" ? (this.select(t.start, t.end), this.field.ownerDocument.execCommand(n ? "createLink" : "unlink", !1, n)) : this.apply(w.link(t, n)), this.changed();
351
+ this.view === "formatted" ? (this.select(t.start, t.end), this.field.ownerDocument.execCommand(n ? "createLink" : "unlink", !1, n)) : this.apply(C.link(t, n)), this.changed();
298
352
  };
299
353
  onKey = (e) => {
300
- let t = (e.metaKey || e.ctrlKey) && !e.altKey ? ke[`${e.shiftKey ? "shift+" : ""}${e.code}`] : void 0;
354
+ let t = (e.metaKey || e.ctrlKey) && !e.altKey ? je[`${e.shiftKey ? "shift+" : ""}${e.code}`] : void 0;
301
355
  if (t) return e.preventDefault(), e.stopPropagation(), this.act(t);
302
- if (e.key === "Enter" && e.shiftKey && this.props.kind === "paragraph") {
303
- e.preventDefault(), e.stopPropagation(), this.field.ownerDocument.execCommand("insertText", !1, "\n");
304
- return;
305
- }
306
- this.props.onKey(e);
356
+ e.key === "Enter" && e.shiftKey && this.props.kind === "paragraph" ? (e.preventDefault(), e.stopPropagation(), this.field.ownerDocument.execCommand("insertText", !1, "\n")) : this.props.onKey(e);
307
357
  };
308
358
  onInput = (e) => {
309
359
  if (this.view === "marks" && !e.isComposing) {
@@ -325,11 +375,7 @@ var w = class MarkdownFormats {
325
375
  }
326
376
  draw(e) {
327
377
  let t = this.field.ownerDocument;
328
- if (this.field.contentEditable = this.view === "marks" ? "plaintext-only" : "true", this.field.dataset.view = this.view, this.view === "formatted") {
329
- this.field.innerHTML = this.props.renderInline(e);
330
- return;
331
- }
332
- this.field.replaceChildren(...w.runsOf(e).map((e) => {
378
+ this.field.contentEditable = this.view === "marks" ? "plaintext-only" : "true", this.field.dataset.view = this.view, this.view === "formatted" ? this.field.innerHTML = this.props.renderInline(e) : this.field.replaceChildren(...C.runsOf(e).map((e) => {
333
379
  if (!e.isMark && !e.formats.length) return t.createTextNode(e.text);
334
380
  let n = t.createElement("span");
335
381
  return n.className = [e.isMark ? "md-mark" : "", ...e.formats.map((e) => `md-${e}`)].join(" ").trim(), n.textContent = e.text, n;
@@ -340,14 +386,14 @@ var w = class MarkdownFormats {
340
386
  r.setAttribute("part", n.bar), r.setAttribute("role", "toolbar"), r.popover = "manual", r.setAttribute("aria-label", t("formatBar")), r.addEventListener("mousedown", (e) => {
341
387
  !e.composedPath().includes(this.shapes) && e.target !== this.address && e.preventDefault();
342
388
  });
343
- for (let n of Se) {
389
+ for (let n of we) {
344
390
  if (n === "shape") {
345
391
  this.shape && r.append(this.drawShapes());
346
392
  continue;
347
393
  }
348
394
  if ((n === "bullet" || n === "numbered") && !this.shape) continue;
349
395
  let i = e.createElement("ui-button");
350
- i.setAttribute("appearance", "basic"), i.setAttribute("size", "small"), i.setAttribute("icon", Te[n]);
396
+ i.setAttribute("appearance", "basic"), i.setAttribute("size", "small"), i.setAttribute("icon", De[n]);
351
397
  let a = n === "view" && this.unformattable ? this.unformattable : t(n);
352
398
  i.setAttribute("title", a), i.setAttribute("aria-label", a), n === "view" && this.unformattable && i.setAttribute("disabled", ""), i.addEventListener("click", () => this.act(n)), this.buttons.set(n, i), r.append(i);
353
399
  }
@@ -355,9 +401,9 @@ var w = class MarkdownFormats {
355
401
  }
356
402
  drawShapes() {
357
403
  let { document: e, texts: t } = this.props;
358
- for (let n of Ce) {
404
+ for (let n of Te) {
359
405
  let r = e.createElement("ui-item");
360
- r.setAttribute("value", n), r.textContent = t(we[n]), this.shapes.append(r);
406
+ r.setAttribute("value", n), r.textContent = t(Ee[n]), this.shapes.append(r);
361
407
  }
362
408
  return this.shapes.setAttribute("size", "small"), this.shapes.style.setProperty("--ui-select-picker-background", "var(--_ui-markdown-bar-background)"), this.shapes.setAttribute("value", this.shape?.startsWith("h") ? this.shape : "paragraph"), this.shapes.setAttribute("aria-label", t("shape")), this.shapes.title = t("shape"), this.shapes.addEventListener("ui-changed", (e) => {
363
409
  let { value: t } = e.detail;
@@ -374,12 +420,12 @@ var w = class MarkdownFormats {
374
420
  formatsNow() {
375
421
  if (this.view === "marks") {
376
422
  let e = this.selection;
377
- return e ? w.formatsAt(this.field.textContent ?? "", e.start) : /* @__PURE__ */ new Set();
423
+ return e ? C.formatsAt(this.field.textContent ?? "", e.start) : /* @__PURE__ */ new Set();
378
424
  }
379
425
  let e = this.field.ownerDocument, t = /* @__PURE__ */ new Set();
380
- for (let [n, r] of Object.entries(Oe)) r && e.queryCommandState(r) && t.add(n);
381
- let n = MarkdownBox.rangeIn(this.field)?.startContainer;
382
- return (n?.nodeType === 1 ? n : n?.parentElement)?.closest("a") && t.add("link"), t;
426
+ for (let [n, r] of Object.entries(Ae)) r && e.queryCommandState(r) && t.add(n);
427
+ let n = MarkdownBox.rangeIn(this.field)?.startContainer, r = n?.nodeType === 1 ? n : n?.parentElement;
428
+ return r?.closest("a") && t.add("link"), r?.closest("code") && t.add("code"), t;
383
429
  }
384
430
  edit() {
385
431
  let e = this.field.textContent ?? "";
@@ -418,59 +464,63 @@ var w = class MarkdownFormats {
418
464
  }
419
465
  static comesBack(e, t, n) {
420
466
  let r = n.createElement("span");
421
- return r.innerHTML = t(e), w.markdownOf(r) === e;
467
+ return r.innerHTML = t(e), C.markdownOf(r) === e;
422
468
  }
423
- }, Se = [
469
+ }, we = [
424
470
  "bold",
425
471
  "italic",
426
472
  "strikethrough",
473
+ "code",
427
474
  "link",
428
475
  "shape",
429
476
  "bullet",
430
477
  "numbered",
431
478
  "clear",
432
479
  "view"
433
- ], Ce = [
480
+ ], Te = [
434
481
  "paragraph",
435
482
  "h2",
436
483
  "h3",
437
484
  "h4"
438
- ], we = {
485
+ ], Ee = {
439
486
  paragraph: "shapeParagraph",
440
487
  h2: "shapeH2",
441
488
  h3: "shapeH3",
442
489
  h4: "shapeH4"
443
- }, Te = {
490
+ }, De = {
444
491
  bold: "bold",
445
492
  italic: "italic",
446
493
  strikethrough: "strikethrough",
494
+ code: "code",
447
495
  link: "link",
448
496
  bullet: "list ul",
449
497
  numbered: "list ol",
450
498
  clear: "eraser",
451
499
  view: "eye"
452
- }, Ee = {
500
+ }, Oe = {
453
501
  bold: "**",
454
502
  italic: "*",
455
- strikethrough: "~~"
456
- }, De = {
503
+ strikethrough: "~~",
504
+ code: "`"
505
+ }, ke = {
457
506
  bold: "bold",
458
507
  italic: "italic",
459
508
  strikethrough: "strikeThrough",
460
509
  clear: "removeFormat"
461
- }, Oe = {
510
+ }, Ae = {
462
511
  bold: "bold",
463
512
  italic: "italic",
464
513
  strikethrough: "strikeThrough",
514
+ code: "",
465
515
  link: ""
466
- }, ke = {
516
+ }, je = {
467
517
  KeyB: "bold",
468
518
  KeyI: "italic",
469
519
  KeyK: "link",
470
520
  "shift+KeyX": "strikethrough"
471
- }, j, Ae = [re], M;
472
- j = [re];
473
- var N = class _MarkdownRenderer {
521
+ }, Me, Ne = [ae], A;
522
+ Me = [ae];
523
+ var j = class _MarkdownRenderer {
474
524
  static load() {
475
525
  return _MarkdownRenderer.engineLoader().then((e) => e.MarkdownEngine.instance);
476
526
  }
@@ -478,11 +528,11 @@ var N = class _MarkdownRenderer {
478
528
  return _MarkdownRenderer.sanitizerLoader().then((e) => e.MarkdownSanitizer.instance);
479
529
  }
480
530
  };
481
- M = g(null), i(M, 9, "load", Ae, N), i(M, 9, "loadSanitizer", j, N), o(M, N), l(M, 3, N), e(N, "MarkdownRenderer"), n(N, "engineLoader", /* @__PURE__ */ e(() => import("./MarkdownEngine-CW1WGqNp.js"), "engineLoader")), n(N, "sanitizerLoader", /* @__PURE__ */ e(() => import("./MarkdownSanitizer-zTnnbrLe.js"), "sanitizerLoader"));
482
- var P = N, F = class MarkdownSource {
531
+ A = t(null), c(A, 9, "load", Ne, j), c(A, 9, "loadSanitizer", Me, j), l(A, j), u(A, 3, j), r(j, "MarkdownRenderer"), n(j, "engineLoader", /* @__PURE__ */ r(() => import("./MarkdownEngine-D1jqcFeU.js"), "engineLoader")), n(j, "sanitizerLoader", /* @__PURE__ */ r(() => import("./MarkdownSanitizer-CqsWivYJ.js"), "sanitizerLoader"));
532
+ var M = j, Pe = class MarkdownSource {
483
533
  static placesOf(e, t) {
484
534
  let n = [], add = (e, t, r, i) => {
485
- e[I] = n.length, n.push({
535
+ e[Fe] = n.length, n.push({
486
536
  kind: t,
487
537
  start: r,
488
538
  end: i
@@ -496,10 +546,10 @@ var P = N, F = class MarkdownSource {
496
546
  return n;
497
547
  }
498
548
  static placeOf(e) {
499
- return e[I];
549
+ return e[Fe];
500
550
  }
501
551
  static replace(e, t, n) {
502
- let r = t.kind === "paragraph" ? n.replace(/\s+$/, "") : n.replace(/\s*\n\s*/g, " ").trim(), i = t.kind === "cell" ? r.replace(Pe, "\\|") : r;
552
+ let r = t.kind === "paragraph" ? n.replace(/\s+$/, "") : n.replace(/\s*\n\s*/g, " ").trim(), i = t.kind === "cell" ? r.replace(ze, "\\|") : r;
503
553
  return e.slice(0, t.start) + i + e.slice(t.end);
504
554
  }
505
555
  static visit(e, t, n, r) {
@@ -510,13 +560,13 @@ var P = N, F = class MarkdownSource {
510
560
  i > r && n(e, "paragraph", t + r, t + i);
511
561
  }
512
562
  static heading(e, t, n) {
513
- let r = je.exec(e.raw.split("\n")[0]);
563
+ let r = Ie.exec(e.raw.split("\n")[0]);
514
564
  if (r) {
515
565
  let i = r[2];
516
566
  i && n(e, "heading", t + r[1].length, t + r[1].length + i.length);
517
567
  return;
518
568
  }
519
- let i = Me.exec(e.raw);
569
+ let i = Le.exec(e.raw);
520
570
  if (!i) return;
521
571
  let { from: a, to: o } = MarkdownSource.trimmed(e.raw.slice(0, i.index));
522
572
  o > a && n(e, "heading", t + a, t + o);
@@ -541,7 +591,7 @@ var P = N, F = class MarkdownSource {
541
591
  let e = n.raw.split("\n")[0].trim(), o = t.indexOf(e, a);
542
592
  if (o < 0 || o >= r) return;
543
593
  a = o + e.length;
544
- let [s, ...c] = n.tokens.filter((e) => e.type !== "space" && e.type !== "checkbox"), l = Ne.exec(e), u = !!s && !s.raw.trim().includes("\n"), d = c.every((e) => e.type === "list");
594
+ let [s, ...c] = n.tokens.filter((e) => e.type !== "space" && e.type !== "checkbox"), l = Re.exec(e), u = !!s && !s.raw.trim().includes("\n"), d = c.every((e) => e.type === "list");
545
595
  if (l && u && d && (s.type === "text" || s.type === "paragraph")) {
546
596
  let t = e.slice(l[0].length).replace(/\s+$/, "");
547
597
  t && i(n, "item", o + l[0].length, o + l[0].length + t.length);
@@ -588,7 +638,7 @@ var P = N, F = class MarkdownSource {
588
638
  }
589
639
  return r;
590
640
  }
591
- }, I = "uiPlace", je = /^( {0,3}#{1,6}(?:[ \t]+|$))(.*?)(?:[ \t]+#+)?[ \t]*$/, Me = /\n {0,3}(?:=+|-+)[ \t]*\n*$/, Ne = /^(?:[*+-]|\d{1,9}[.)])[ \t]+(?:\[[ xX]\][ \t]+)?/, Pe = /(?<!\\)\|/g, Fe = {
641
+ }, Fe = "uiPlace", Ie = /^( {0,3}#{1,6}(?:[ \t]+|$))(.*?)(?:[ \t]+#+)?[ \t]*$/, Le = /\n {0,3}(?:=+|-+)[ \t]*\n*$/, Re = /^(?:[*+-]|\d{1,9}[.)])[ \t]+(?:\[[ xX]\][ \t]+)?/, ze = /(?<!\\)\|/g, Be = {
592
642
  tag: "ui-markdown",
593
643
  icon: "markdown",
594
644
  topics: [
@@ -606,9 +656,10 @@ var P = N, F = class MarkdownSource {
606
656
  ],
607
657
  skeleton: "header, 4 line paragraph",
608
658
  noun: "markdown",
659
+ partOfSpeech: "property",
609
660
  description: "Markdown renders GitHub-flavoured markdown -- tables, task lists, code blocks -- from the element's own text or a file on this site.",
610
661
  attributes: [
611
- ...ie,
662
+ ...ce,
612
663
  {
613
664
  name: "size",
614
665
  group: "appearance",
@@ -656,7 +707,7 @@ var P = N, F = class MarkdownSource {
656
707
  }],
657
708
  slots: [],
658
709
  parts: [
659
- ...se,
710
+ ...re,
660
711
  {
661
712
  name: "body",
662
713
  description: "The `<article>` holding the rendered markdown."
@@ -755,6 +806,11 @@ var P = N, F = class MarkdownSource {
755
806
  text: "Strikethrough (⌘⇧X)",
756
807
  description: "`editable`: the bar's strikethrough button."
757
808
  },
809
+ {
810
+ key: "code",
811
+ text: "Inline code",
812
+ description: "`editable`: the bar's inline code button (no key: ⌘E is Claude Code's)."
813
+ },
758
814
  {
759
815
  key: "link",
760
816
  text: "Link (⌘K)",
@@ -821,9 +877,9 @@ var P = N, F = class MarkdownSource {
821
877
  description: "`editable`: the switch's tooltip, for a subclass's engine without `renderInline()`."
822
878
  }
823
879
  ]
824
- }, Ie = "@layer ui.components.markdown.types{:host{--_ui-markdown-editor-border:var(--ui-markdown-editor-border,var(--ui-border-color));--_ui-markdown-editor-background:var(--ui-markdown-editor-background,var(--ui-surface));--_ui-markdown-color:var(--ui-markdown-color,var(--ui-text-color));--_ui-markdown-muted:var(--ui-markdown-muted,var(--ui-text-muted));--_ui-markdown-radius:var(--ui-markdown-radius,var(--ui-radius));--_ui-markdown-measure:var(--ui-markdown-measure,none);display:block}.ui.markdown{--_ui-markdown-color:var(--ui-markdown-color,var(--ui-text-color));--_ui-markdown-muted:var(--ui-markdown-muted,var(--ui-text-muted));--_ui-markdown-line-height:var(--ui-markdown-line-height,1.6);--_ui-markdown-heading-color:var(--ui-markdown-heading-color,var(--ui-text-color));--_ui-markdown-heading-font-family:var(--ui-markdown-heading-font-family,initial);--_ui-markdown-heading-weight:var(--ui-markdown-heading-weight,600);--_ui-markdown-heading-line-height:var(--ui-markdown-heading-line-height,1.25);--_ui-markdown-heading-margin:var(--ui-markdown-heading-margin,1.5em 1em);--_ui-markdown-heading-rule:var(--ui-markdown-heading-rule,1px solid var(--_ui-markdown-rule-color));--_ui-markdown-heading-rule-gap:var(--ui-markdown-heading-rule-gap,.3em);--_ui-markdown-heading-scroll-margin:var(--ui-markdown-heading-scroll-margin,0);--_ui-markdown-h1-size:var(--ui-markdown-h1-size,2em);--_ui-markdown-h2-size:var(--ui-markdown-h2-size,1.5em);--_ui-markdown-h3-size:var(--ui-markdown-h3-size,1.25em);--_ui-markdown-strong-color:var(--ui-markdown-strong-color,initial);--_ui-markdown-code-color:var(--ui-markdown-code-color,initial);--_ui-markdown-link-color:var(--ui-markdown-link-color,var(--ui-link));--_ui-markdown-rule-color:var(--ui-markdown-rule-color,var(--ui-border-color));--_ui-markdown-hr-height:var(--ui-markdown-hr-height,.25em);--_ui-markdown-table-border:var(--ui-markdown-table-border,var(--ui-border-color));--_ui-markdown-stripe:var(--ui-markdown-stripe,var(--ui-surface-muted));--_ui-markdown-blockquote-color:var(--ui-markdown-blockquote-color,var(--ui-text-muted));--_ui-markdown-blockquote-border:var(--ui-markdown-blockquote-border,var(--ui-border-color-strong));--_ui-markdown-code-background:var(--ui-markdown-code-background,var(--ui-surface-strong));--_ui-markdown-radius:var(--ui-markdown-radius,var(--ui-radius));--_ui-markdown-measure:var(--ui-markdown-measure,none);color:var(--_ui-markdown-color);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--_ui-markdown-line-height);overflow-wrap:break-word;display:block}}@layer ui.components.markdown.content{.ui.markdown :is(p,ul,ol,blockquote,table,pre,ui-code,details,hr){margin-block:0 1em}.ui.markdown>:is(p,ul,ol,blockquote){max-width:var(--_ui-markdown-measure)}.ui.markdown :is(h1,h2,h3,h4,h5,h6){margin-block:var(--_ui-markdown-heading-margin);color:var(--_ui-markdown-heading-color);font-family:var(--_ui-markdown-heading-font-family,inherit);font-weight:var(--_ui-markdown-heading-weight);line-height:var(--_ui-markdown-heading-line-height);scroll-margin-top:var(--_ui-markdown-heading-scroll-margin)}.ui.markdown :is(h1,h2){border-block-end:var(--_ui-markdown-heading-rule);padding-block-end:var(--_ui-markdown-heading-rule-gap)}.ui.markdown h1{font-size:var(--_ui-markdown-h1-size)}.ui.markdown h2{font-size:var(--_ui-markdown-h2-size)}.ui.markdown h3{font-size:var(--_ui-markdown-h3-size)}.ui.markdown h4{font-size:1em}.ui.markdown h5{font-size:.875em}.ui.markdown h6{color:var(--_ui-markdown-muted);font-size:.85em}.ui.markdown a{color:var(--_ui-markdown-link-color);text-underline-offset:.15em;text-decoration:underline}.ui.markdown :is(ul,ol){padding-inline-start:2em}.ui.markdown :is(ul,ol) :is(ul,ol){margin-block-end:0}.ui.markdown li+li{margin-block-start:.25em}.ui.markdown li:has(>input[type=checkbox]){list-style:none}.ui.markdown li>input[type=checkbox]{vertical-align:middle;margin-inline:-1.4em .4em}.ui.markdown blockquote{border-inline-start:.25em solid var(--_ui-markdown-blockquote-border);color:var(--_ui-markdown-blockquote-color);margin-inline:0;padding:0 1em}.ui.markdown hr{height:var(--_ui-markdown-hr-height);background:var(--_ui-markdown-rule-color);border:0;margin-block:1.5em}.ui.markdown table:not(ui-table>table){border-collapse:collapse;width:max-content;max-width:100%;display:block;overflow:auto}.ui.markdown :is(th,td):not(ui-table *){border:1px solid var(--_ui-markdown-table-border);padding:.4em .8em}.ui.markdown th:not(ui-table *){font-weight:600}.ui.markdown tbody tr:nth-child(2n):not(ui-table *){background:var(--_ui-markdown-stripe)}.ui.markdown :is(strong,b){color:var(--_ui-markdown-strong-color,inherit)}.ui.markdown :not(pre)>code{border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-code-background);color:var(--_ui-markdown-code-color,inherit);font-family:var(--ui-font-family-mono);padding:.125em .375em;font-size:.85em}.ui.markdown :not(pre)>code.short{white-space:nowrap}.ui.markdown img{max-width:100%;height:auto}.ui.markdown del{color:var(--_ui-markdown-muted)}.ui.markdown ui-code{display:block}.ui.markdown :is(ui-header,ui-list,ui-message,ui-segment,ui-table,ui-divider){margin-block:0 1em;display:block}.ui.markdown ui-header{margin-block-start:1.5em}.ui.markdown ui-list ui-list{margin-block-end:0}.ui.markdown>:first-child{margin-block-start:0}.ui.markdown>:last-child{margin-block-end:0}[part~=tabs]{border-block-end:1px solid var(--_ui-markdown-editor-border);gap:.25em;display:flex}[part~=tab]{color:var(--_ui-markdown-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-start-start-radius:var(--_ui-markdown-radius);border-start-end-radius:var(--_ui-markdown-radius);margin-block-end:-1px;padding:.5em 1em}[part~=tab][aria-selected=true]{border-color:var(--_ui-markdown-editor-border);border-block-end-color:var(--_ui-markdown-editor-background);background:var(--_ui-markdown-editor-background);color:var(--_ui-markdown-color)}[part~=editor]{box-sizing:border-box;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-editor-background);width:100%;min-height:12em;color:var(--_ui-markdown-color);font-family:var(--ui-font-family-mono);resize:vertical;padding:.75em;font-size:.875em;line-height:1.5;display:block}.ui.tabs.editable.markdown{margin-block-start:.75em}}@layer ui.components.markdown.variations;@layer ui.components.markdown.states{:host{--_ui-markdown-edit-color:var(--ui-markdown-edit-color,var(--ui-primary));--_ui-markdown-bar-background:var(--ui-markdown-bar-background,var(--ui-background))}:host(:state(placing)) .ui.editable.markdown [data-ui-place]{outline:1px dashed color-mix(in oklch, var(--_ui-markdown-edit-color) 70%, transparent);outline-offset:-1px;cursor:text}.ui.editable.markdown [part~=edit-box]{outline:2px solid var(--_ui-markdown-edit-color);outline-offset:1px;background:color-mix(in oklch, var(--_ui-markdown-edit-color) 6%, transparent);font-family:var(--ui-font-family-mono);white-space:pre-wrap;overflow-wrap:anywhere;anchor-name:--ui-markdown-box;border-radius:2px;font-size:.92em}.ui.editable.markdown [part~=edit-box][data-view=formatted]{font-family:inherit;font-size:inherit}[part~=edit-box] .md-mark{opacity:.4;font-style:normal;font-weight:400}[part~=edit-box] .md-bold{font-weight:700}[part~=edit-box] .md-italic{font-style:italic}[part~=edit-box] .md-strikethrough{text-decoration:line-through}[part~=edit-box] .md-link{color:var(--_ui-markdown-link-color,var(--ui-link))}[part~=edit-bar]{color:inherit;position-anchor:--ui-markdown-box;position-area:block-start span-inline-end;position-try-fallbacks:flip-block;z-index:10;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-bar-background);backdrop-filter:blur(12px);align-items:center;gap:2px;margin-block:6px;margin-inline:0;padding:3px;font-size:.875em;display:flex;position:fixed;inset:auto;overflow:visible;box-shadow:0 2px 8px oklch(0% none none/.12)}[part~=edit-bar] input{font:inherit;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-editor-background);color:var(--_ui-markdown-color);inline-size:18em;padding:.2em .4em}}", Le = /* @__PURE__ */ C("<section><article>"), Re = /* @__PURE__ */ C("<nav>"), ze = /* @__PURE__ */ C("<button type=button>"), Be = /* @__PURE__ */ C("<section><textarea>"), L, R, z, Ve, He, Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, B, V, H, U, W, G, K = class _DOMMarkdownElement extends (R = t, L = [h], R) {
880
+ }, Ve = "@layer ui.components.markdown.types{:host{--_ui-markdown-editor-border:var(--ui-markdown-editor-border,var(--ui-border-color));--_ui-markdown-editor-background:var(--ui-markdown-editor-background,var(--ui-surface));--_ui-markdown-color:var(--ui-markdown-color,var(--ui-text-color));--_ui-markdown-muted:var(--ui-markdown-muted,var(--ui-text-muted));--_ui-markdown-radius:var(--ui-markdown-radius,var(--ui-radius));--_ui-markdown-measure:var(--ui-markdown-measure,none);display:block}.ui.markdown{--_ui-markdown-color:var(--ui-markdown-color,var(--ui-text-color));--_ui-markdown-muted:var(--ui-markdown-muted,var(--ui-text-muted));--_ui-markdown-line-height:var(--ui-markdown-line-height,1.6);--_ui-markdown-heading-color:var(--ui-markdown-heading-color,var(--ui-text-color));--_ui-markdown-heading-font-family:var(--ui-markdown-heading-font-family,initial);--_ui-markdown-heading-weight:var(--ui-markdown-heading-weight,600);--_ui-markdown-heading-line-height:var(--ui-markdown-heading-line-height,1.25);--_ui-markdown-heading-margin:var(--ui-markdown-heading-margin,1.5em 1em);--_ui-markdown-heading-rule:var(--ui-markdown-heading-rule,1px solid var(--_ui-markdown-rule-color));--_ui-markdown-heading-rule-gap:var(--ui-markdown-heading-rule-gap,.3em);--_ui-markdown-heading-scroll-margin:var(--ui-markdown-heading-scroll-margin,0);--_ui-markdown-h1-size:var(--ui-markdown-h1-size,2em);--_ui-markdown-h2-size:var(--ui-markdown-h2-size,1.5em);--_ui-markdown-h3-size:var(--ui-markdown-h3-size,1.25em);--_ui-markdown-strong-color:var(--ui-markdown-strong-color,initial);--_ui-markdown-code-color:var(--ui-markdown-code-color,initial);--_ui-markdown-link-color:var(--ui-markdown-link-color,var(--ui-link));--_ui-markdown-rule-color:var(--ui-markdown-rule-color,var(--ui-border-color));--_ui-markdown-hr-height:var(--ui-markdown-hr-height,.25em);--_ui-markdown-table-border:var(--ui-markdown-table-border,var(--ui-border-color));--_ui-markdown-stripe:var(--ui-markdown-stripe,var(--ui-surface-muted));--_ui-markdown-blockquote-color:var(--ui-markdown-blockquote-color,var(--ui-text-muted));--_ui-markdown-blockquote-border:var(--ui-markdown-blockquote-border,var(--ui-border-color-strong));--_ui-markdown-code-background:var(--ui-markdown-code-background,var(--ui-surface-strong));--_ui-markdown-radius:var(--ui-markdown-radius,var(--ui-radius));--_ui-markdown-measure:var(--ui-markdown-measure,none);color:var(--_ui-markdown-color);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--_ui-markdown-line-height);overflow-wrap:break-word;display:block}}@layer ui.components.markdown.content{.ui.markdown :is(p,ul,ol,blockquote,table,pre,ui-code,details,hr){margin-block:0 1em}.ui.markdown>:is(p,ul,ol,blockquote){max-width:var(--_ui-markdown-measure)}.ui.markdown :is(h1,h2,h3,h4,h5,h6){margin-block:var(--_ui-markdown-heading-margin);color:var(--_ui-markdown-heading-color);font-family:var(--_ui-markdown-heading-font-family,inherit);font-weight:var(--_ui-markdown-heading-weight);line-height:var(--_ui-markdown-heading-line-height);scroll-margin-top:var(--_ui-markdown-heading-scroll-margin)}.ui.markdown :is(h1,h2){border-block-end:var(--_ui-markdown-heading-rule);padding-block-end:var(--_ui-markdown-heading-rule-gap)}.ui.markdown h1{font-size:var(--_ui-markdown-h1-size)}.ui.markdown h2{font-size:var(--_ui-markdown-h2-size)}.ui.markdown h3{font-size:var(--_ui-markdown-h3-size)}.ui.markdown h4{font-size:1em}.ui.markdown h5{font-size:.875em}.ui.markdown h6{color:var(--_ui-markdown-muted);font-size:.85em}.ui.markdown a{color:var(--_ui-markdown-link-color);text-underline-offset:.15em;text-decoration:underline}.ui.markdown :is(ul,ol){padding-inline-start:2em}.ui.markdown :is(ul,ol) :is(ul,ol){margin-block-end:0}.ui.markdown li+li{margin-block-start:.25em}.ui.markdown li:has(>input[type=checkbox]){list-style:none}.ui.markdown li>input[type=checkbox]{vertical-align:middle;margin-inline:-1.4em .4em}.ui.markdown blockquote{border-inline-start:.25em solid var(--_ui-markdown-blockquote-border);color:var(--_ui-markdown-blockquote-color);margin-inline:0;padding:0 1em}.ui.markdown hr{height:var(--_ui-markdown-hr-height);background:var(--_ui-markdown-rule-color);border:0;margin-block:1.5em}.ui.markdown table:not(ui-table>table){border-collapse:collapse;width:max-content;max-width:100%;display:block;overflow:auto}.ui.markdown :is(th,td):not(ui-table *){border:1px solid var(--_ui-markdown-table-border);padding:.4em .8em}.ui.markdown th:not(ui-table *){font-weight:600}.ui.markdown tbody tr:nth-child(2n):not(ui-table *){background:var(--_ui-markdown-stripe)}.ui.markdown :is(strong,b){color:var(--_ui-markdown-strong-color,inherit)}.ui.markdown :not(pre)>code{border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-code-background);color:var(--_ui-markdown-code-color,inherit);font-family:var(--ui-font-family-mono);padding:.125em .375em;font-size:.85em}.ui.markdown :not(pre)>code.short{white-space:nowrap}.ui.markdown img{max-width:100%;height:auto}.ui.markdown del{color:var(--_ui-markdown-muted)}.ui.markdown ui-code{display:block}.ui.markdown :is(ui-header,ui-list,ui-message,ui-segment,ui-table,ui-divider){margin-block:0 1em;display:block}.ui.markdown ui-header{margin-block-start:1.5em}.ui.markdown ui-list ui-list{margin-block-end:0}.ui.markdown>:first-child{margin-block-start:0}.ui.markdown>:last-child{margin-block-end:0}[part~=tabs]{border-block-end:1px solid var(--_ui-markdown-editor-border);gap:.25em;display:flex}[part~=tab]{color:var(--_ui-markdown-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-start-start-radius:var(--_ui-markdown-radius);border-start-end-radius:var(--_ui-markdown-radius);margin-block-end:-1px;padding:.5em 1em}[part~=tab][aria-selected=true]{border-color:var(--_ui-markdown-editor-border);border-block-end-color:var(--_ui-markdown-editor-background);background:var(--_ui-markdown-editor-background);color:var(--_ui-markdown-color)}[part~=editor]{box-sizing:border-box;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-editor-background);width:100%;min-height:12em;color:var(--_ui-markdown-color);font-family:var(--ui-font-family-mono);resize:vertical;padding:.75em;font-size:.875em;line-height:1.5;display:block}.ui.tabs.editable.markdown{margin-block-start:.75em}}@layer ui.components.markdown.variations;@layer ui.components.markdown.states{:host{--_ui-markdown-edit-color:var(--ui-markdown-edit-color,var(--ui-primary));--_ui-markdown-bar-background:var(--ui-markdown-bar-background,var(--ui-background))}:host(:state(placing)) .ui.editable.markdown [data-ui-place]{outline:1px dashed color-mix(in oklch, var(--_ui-markdown-edit-color) 70%, transparent);outline-offset:-1px;cursor:text}.ui.editable.markdown [part~=edit-box]{outline:2px solid var(--_ui-markdown-edit-color);outline-offset:1px;background:color-mix(in oklch, var(--_ui-markdown-edit-color) 6%, transparent);font-family:var(--ui-font-family-mono);white-space:pre-wrap;overflow-wrap:anywhere;anchor-name:--ui-markdown-box;border-radius:2px;font-size:.92em}.ui.editable.markdown [part~=edit-box][data-view=formatted]{font-family:inherit;font-size:inherit}[part~=edit-box] .md-mark{opacity:.4;font-style:normal;font-weight:400}[part~=edit-box] .md-bold{font-weight:700}[part~=edit-box] .md-italic{font-style:italic}[part~=edit-box] .md-strikethrough{text-decoration:line-through}[part~=edit-box] .md-code,[part~=edit-box] code{font-family:var(--ui-font-family-mono);font-size:.92em}[part~=edit-box] .md-link{color:var(--_ui-markdown-link-color,var(--ui-link))}[part~=edit-bar]{color:inherit;position-anchor:--ui-markdown-box;position-area:block-start span-inline-end;position-try-fallbacks:flip-block;z-index:10;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-bar-background);backdrop-filter:blur(12px);align-items:center;gap:2px;margin-block:6px;margin-inline:0;padding:3px;font-size:.875em;display:flex;position:fixed;inset:auto;overflow:visible;box-shadow:0 2px 8px oklch(0% none none/.12)}[part~=edit-bar] input{font:inherit;border:1px solid var(--_ui-markdown-editor-border);border-radius:var(--_ui-markdown-radius);background:var(--_ui-markdown-editor-background);color:var(--_ui-markdown-color);inline-size:18em;padding:.2em .4em}}", He = /* @__PURE__ */ S("<section><article>"), Ue = /* @__PURE__ */ S("<nav>"), We = /* @__PURE__ */ S("<button type=button>"), Ge = /* @__PURE__ */ S("<section><textarea>"), Ke, N, P, qe, Je, Ye, Xe, Ze, F, I, L, R, z, Qe, $e, et, tt, nt, rt, B, V, H, U, W, G, K = class _DOMMarkdownElement extends (N = e, Ke = [h], N) {
825
881
  constructor() {
826
- super(...arguments), l(z, 5, this);
882
+ super(...arguments), u(P, 5, this);
827
883
  }
828
884
  get headings() {
829
885
  return this.component?.headings ?? [];
@@ -832,40 +888,40 @@ var P = N, F = class MarkdownSource {
832
888
  return this.component?.reveal(e) ?? !1;
833
889
  }
834
890
  };
835
- z = g(R), i(z, 2, "headings", L, K), o(z, K), e(K, "DOMMarkdownElement");
836
- var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p("textToShow", "skipTitle", "loadStatus", "editable", "shownTab", "breaks", "headingOffset", "sanitized")], $e = [m], Qe = [h], Ze = [p("textToShow")], Xe = [m], Ye = [f("placing")], Je = [m], qe = [f("editing")], Ke = [ce], Ge = [h], We = [h], Ue = [h], He = [m], Ve = [ce], B) {
891
+ P = t(N), c(P, 2, "headings", Ke, K), l(P, K), r(K, "DOMMarkdownElement");
892
+ var it = K, q = class _UIMarkdown extends (B = i, rt = [oe], nt = [se], tt = [ie("textToShow", "skipTitle", "loadStatus", "editable", "shownTab", "breaks", "headingOffset", "sanitized")], et = [m], $e = [h], Qe = [ie("textToShow")], z = [m], R = [f("placing")], L = [m], I = [f("editing")], F = [le], Ze = [h], Xe = [h], Ye = [h], Je = [m], qe = [le], B) {
837
893
  constructor() {
838
- super(...arguments), l(V, 5, this), n(this, "body"), n(this, "ticket", 0), n(this, "rendered", /* @__PURE__ */ new WeakMap()), u(this, H, l(V, 8, this, X)), l(V, 11, this), n(this, "textBox"), n(this, "tabButtons", /* @__PURE__ */ new Map()), n(this, "keepTextBox", l(V, 32, this, /* @__PURE__ */ e((e) => {
894
+ super(...arguments), u(V, 5, this), n(this, "body"), n(this, "ticket", 0), n(this, "rendered", /* @__PURE__ */ new WeakMap()), p(this, H, u(V, 8, this, X)), u(V, 11, this), n(this, "textBox"), n(this, "tabButtons", /* @__PURE__ */ new Map()), n(this, "keepTextBox", u(V, 32, this, /* @__PURE__ */ r((e) => {
839
895
  this.textBox = e, e.value = this.textToShow;
840
- }, "keepTextBox"))), l(V, 35, this), n(this, "onInput", /* @__PURE__ */ e((e) => {
896
+ }, "keepTextBox"))), u(V, 35, this), n(this, "onInput", /* @__PURE__ */ r((e) => {
841
897
  this.content = e.currentTarget.value;
842
- }, "onInput")), n(this, "onTabKeyDown", /* @__PURE__ */ e((t) => {
843
- c.focus.arrowKey(t, {
844
- container: t.currentTarget,
845
- items: /* @__PURE__ */ e(() => Q.map((e) => this.tabButtons.get(e)), "items"),
898
+ }, "onInput")), n(this, "onTabKeyDown", /* @__PURE__ */ r((e) => {
899
+ s.focus.arrowKey(e, {
900
+ container: e.currentTarget,
901
+ items: /* @__PURE__ */ r(() => Q.map((e) => this.tabButtons.get(e)), "items"),
846
902
  orientation: "horizontal",
847
903
  tabindex: "left alone",
848
- onChange: /* @__PURE__ */ e((e, t) => this.shownTab = Q[t], "onChange")
904
+ onChange: /* @__PURE__ */ r((e, t) => this.shownTab = Q[t], "onChange")
849
905
  });
850
- }, "onTabKeyDown")), u(this, U, l(V, 12, this, !1)), l(V, 15, this), u(this, W, l(V, 16, this)), l(V, 19, this), n(this, "places", []), n(this, "placesOffset", 0), n(this, "isRenderWaiting", !1), n(this, "keepTimer"), n(this, "engine"), n(this, "saves", Promise.resolve()), n(this, "onBoxKey", l(V, 36, this, /* @__PURE__ */ e((e) => {
906
+ }, "onTabKeyDown")), p(this, U, u(V, 12, this, !1)), u(V, 15, this), p(this, W, u(V, 16, this)), u(V, 19, this), n(this, "places", []), n(this, "placesOffset", 0), n(this, "isRenderWaiting", !1), n(this, "keepTimer"), n(this, "engine"), n(this, "saves", Promise.resolve()), n(this, "onBoxKey", u(V, 36, this, /* @__PURE__ */ r((e) => {
851
907
  e.stopPropagation();
852
908
  let t = this.box;
853
909
  if (!t) return;
854
- let n = e.key === "Enter" && e.shiftKey && t.place.kind === "paragraph", r = e.shiftKey ? void 0 : ct[e.key];
910
+ let n = e.key === "Enter" && e.shiftKey && t.place.kind === "paragraph", r = e.shiftKey ? void 0 : lt[e.key];
855
911
  if (r !== void 0) t.editor.caret = r === "start" ? 0 : (t.editor.field.textContent ?? "").length;
856
912
  else if (e.key === "Escape") this.putBack();
857
913
  else if (e.key === "Enter" && !n) this.keep("close");
858
914
  else if (e.key === "Tab") this.keep(e.shiftKey ? "previous" : "next");
859
915
  else return;
860
916
  e.preventDefault();
861
- }, "onBoxKey"))), l(V, 39, this), n(this, "onBoxInput", l(V, 40, this, /* @__PURE__ */ e(() => {
862
- this.keepTimer?.cancel(), this.keepTimer = d(st, () => void this.keep("open"));
863
- }, "onBoxInput"))), l(V, 43, this), n(this, "onBoxLeft", l(V, 44, this, /* @__PURE__ */ e((e) => {
917
+ }, "onBoxKey"))), u(V, 39, this), n(this, "onBoxInput", u(V, 40, this, /* @__PURE__ */ r(() => {
918
+ this.keepTimer?.cancel(), this.keepTimer = d(ct, () => void this.keep("open"));
919
+ }, "onBoxInput"))), u(V, 43, this), n(this, "onBoxLeft", u(V, 44, this, /* @__PURE__ */ r((e) => {
864
920
  let t = this.box, n = e.relatedTarget;
865
921
  t && !t.editor.field.contains(n) && !t.editor.bar.contains(n) && this.keep("close");
866
- }, "onBoxLeft"))), l(V, 47, this), u(this, G, l(V, 20, this, [])), l(V, 23, this), n(this, "hasRendered", !1), n(this, "onClick", /* @__PURE__ */ e((e) => {
922
+ }, "onBoxLeft"))), u(V, 47, this), p(this, G, u(V, 20, this, [])), u(V, 23, this), n(this, "hasRendered", !1), n(this, "onClick", /* @__PURE__ */ r((e) => {
867
923
  if (this.editsInPlace && e.altKey && this.openAt(e)) return e.preventDefault();
868
- let t = e.target.closest?.(St), n = t && _UIMarkdown.idForHash(t.getAttribute("href"));
924
+ let t = e.target.closest?.(Ct), n = t && _UIMarkdown.idForHash(t.getAttribute("href"));
869
925
  n && this.reveal(n) && e.preventDefault();
870
926
  }, "onClick"));
871
927
  }
@@ -879,7 +935,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
879
935
  this.isRenderWaiting = !0;
880
936
  return;
881
937
  }
882
- let t = this.textToShow, n = this.skipTitle ? t.replace(dt, "") : t;
938
+ let t = this.textToShow, n = this.skipTitle ? t.replace(ft, "") : t;
883
939
  return this.placesOffset = t.length - n.length, this.renderMarkdown({
884
940
  text: n,
885
941
  isEditable: !!this.editable,
@@ -893,42 +949,42 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
893
949
  }
894
950
  renderContent() {
895
951
  let e = this;
896
- return [y(ue, {
952
+ return [me(fe, {
897
953
  get when() {
898
954
  return e.hasTabs;
899
955
  },
900
956
  get children() {
901
- return [me(() => e.tabs()), me(() => e.editor())];
957
+ return [y(() => e.tabs()), y(() => e.editor())];
902
958
  }
903
959
  }), (() => {
904
- var t = Le(), n = t.firstChild;
905
- return v(n, "click", e.onClick, !0), x(() => (t) => {
960
+ var t = He(), n = t.firstChild;
961
+ return g(n, "click", e.onClick, !0), b(() => (t) => {
906
962
  e.body = t;
907
- }, n), b(() => ({
963
+ }, n), _(() => ({
908
964
  e: _UIMarkdown.panelId(Z),
909
965
  t: e.hasTabs ? $.panel : void 0,
910
966
  a: e.hasTabs ? _UIMarkdown.tabId(Z) : void 0,
911
967
  o: e.hasTabs && e.shownTab !== Z ? !0 : void 0,
912
- i: he(e.rootClass),
968
+ i: ge(e.rootClass),
913
969
  n: e.partForName("body")
914
970
  }), ({ e, t: r, a: i, o: a, i: o, n: s }, c) => {
915
- e !== c?.e && S(t, "id", e), r !== c?.t && S(t, "role", r), i !== c?.a && S(t, "aria-labelledby", i), a !== c?.o && S(t, "hidden", a), de(n, o, c?.i), s !== c?.n && S(n, "part", s);
971
+ e !== c?.e && x(t, "id", e), r !== c?.t && x(t, "role", r), i !== c?.a && x(t, "aria-labelledby", i), a !== c?.o && x(t, "hidden", a), pe(n, o, c?.i), s !== c?.n && x(n, "part", s);
916
972
  }), t;
917
973
  })()];
918
974
  }
919
975
  get hasTabs() {
920
- return this.editable === ot;
976
+ return this.editable === st;
921
977
  }
922
978
  tabs() {
923
979
  let e = this;
924
- var t = Re();
925
- return v(t, "keydown", e.onTabKeyDown, !0), pe(t, y(le, {
980
+ var t = Ue();
981
+ return g(t, "keydown", e.onTabKeyDown, !0), v(t, me(de, {
926
982
  each: Q,
927
983
  children: (t) => (() => {
928
- var n = ze();
929
- return n._$$click = () => e.shownTab = t, x(() => (n) => {
984
+ var n = We();
985
+ return n._$$click = () => e.shownTab = t, b(() => (n) => {
930
986
  e.tabButtons.set(t, n);
931
- }, n), pe(n, () => e.translationForKey(t)), b(() => ({
987
+ }, n), v(n, () => e.translationForKey(t)), _(() => ({
932
988
  e: _UIMarkdown.tabId(t),
933
989
  t: $.tab,
934
990
  a: e.partForName("tab"),
@@ -936,22 +992,22 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
936
992
  i: _UIMarkdown.panelId(t),
937
993
  n: e.shownTab === t ? 0 : -1
938
994
  }), ({ e, t, a: r, o: i, i: a, n: o }, s) => {
939
- e !== s?.e && S(n, "id", e), t !== s?.t && S(n, "role", t), r !== s?.a && S(n, "part", r), i !== s?.o && S(n, "aria-selected", i), a !== s?.i && S(n, "aria-controls", a), o !== s?.n && S(n, "tabindex", o);
995
+ e !== s?.e && x(n, "id", e), t !== s?.t && x(n, "role", t), r !== s?.a && x(n, "part", r), i !== s?.o && x(n, "aria-selected", i), a !== s?.i && x(n, "aria-controls", a), o !== s?.n && x(n, "tabindex", o);
940
996
  }), n;
941
997
  })()
942
- })), b(() => ({
998
+ })), _(() => ({
943
999
  e: e.partForName("tabs"),
944
1000
  t: $.list
945
1001
  }), ({ e, t: n }, r) => {
946
- e !== r?.e && S(t, "part", e), n !== r?.t && S(t, "role", n);
1002
+ e !== r?.e && x(t, "part", e), n !== r?.t && x(t, "role", n);
947
1003
  }), t;
948
1004
  }
949
1005
  editor() {
950
1006
  let e = this;
951
- var t = Be(), n = t.firstChild;
952
- v(n, "input", e.onInput, !0);
1007
+ var t = Ge(), n = t.firstChild;
1008
+ g(n, "input", e.onInput, !0);
953
1009
  var r = e.keepTextBox;
954
- return typeof r == "function" || Array.isArray(r) ? x(() => r, n) : e.keepTextBox = n, b(() => ({
1010
+ return typeof r == "function" || Array.isArray(r) ? b(() => r, n) : e.keepTextBox = n, _(() => ({
955
1011
  e: _UIMarkdown.panelId(X),
956
1012
  t: $.panel,
957
1013
  a: _UIMarkdown.tabId(X),
@@ -959,7 +1015,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
959
1015
  i: e.partForName("editor"),
960
1016
  n: e.translationForKey("editor")
961
1017
  }), ({ e, t: r, a: i, o: a, i: o, n: s }, c) => {
962
- e !== c?.e && S(t, "id", e), r !== c?.t && S(t, "role", r), i !== c?.a && S(t, "aria-labelledby", i), a !== c?.o && S(t, "hidden", a), o !== c?.i && S(n, "part", o), s !== c?.n && S(n, "aria-label", s);
1018
+ e !== c?.e && x(t, "id", e), r !== c?.t && x(t, "role", r), i !== c?.a && x(t, "aria-labelledby", i), a !== c?.o && x(t, "hidden", a), o !== c?.i && x(n, "part", o), s !== c?.n && x(n, "aria-label", s);
963
1019
  }), t;
964
1020
  }
965
1021
  onTextChanged(e) {
@@ -975,8 +1031,8 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
975
1031
  return !!this.box;
976
1032
  }
977
1033
  followOptionKey() {
978
- let t = new AbortController(), n = { signal: t.signal }, r = /* @__PURE__ */ e((e) => this.isOptionHeld = e.altKey, "follow");
979
- return window.addEventListener("keydown", r, n), window.addEventListener("keyup", r, n), window.addEventListener("blur", () => this.isOptionHeld = !1, n), () => t.abort();
1034
+ let e = new AbortController(), t = { signal: e.signal }, n = /* @__PURE__ */ r((e) => this.isOptionHeld = e.altKey, "follow");
1035
+ return window.addEventListener("keydown", n, t), window.addEventListener("keyup", n, t), window.addEventListener("blur", () => this.isOptionHeld = !1, t), () => e.abort();
980
1036
  }
981
1037
  openAt(e) {
982
1038
  let t = e.target;
@@ -991,7 +1047,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
991
1047
  this.box && await this.keep("close");
992
1048
  let n = this.places[Number(e.getAttribute(J))];
993
1049
  if (!n || !e.isConnected) return;
994
- let r = this.textToShow, i = n.start + this.placesOffset, a = n.end + this.placesOffset, o = r.slice(i, a), s = _UIMarkdown.holderOf(e), c = _UIMarkdown.ownNodes(s), l = t ? this.caretFor(s, o, t) : o.length, u = w.shapeOf(r, {
1050
+ let r = this.textToShow, i = n.start + this.placesOffset, a = n.end + this.placesOffset, o = r.slice(i, a), s = _UIMarkdown.holderOf(e), c = _UIMarkdown.ownNodes(s), l = t ? this.caretFor(s, o, t) : o.length, u = C.shapeOf(r, {
995
1051
  ...n,
996
1052
  start: i,
997
1053
  end: a
@@ -1014,32 +1070,32 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1014
1070
  base: r
1015
1071
  }, d.focus(d.view === "marks" ? l : void 0);
1016
1072
  }
1017
- boxFor(t, n, r) {
1073
+ boxFor(e, t, n) {
1018
1074
  let i = this.engine;
1019
- return new xe({
1075
+ return new Ce({
1020
1076
  document: this.domElement.ownerDocument,
1021
- kind: t,
1022
- raw: n,
1023
- shape: r,
1024
- label: this.translationForKey("editBox", { kind: this.translationForKey(t) }),
1077
+ kind: e,
1078
+ raw: t,
1079
+ shape: n,
1080
+ label: this.translationForKey("editBox", { kind: this.translationForKey(e) }),
1025
1081
  parts: {
1026
1082
  box: this.partForName("edit-box"),
1027
1083
  bar: this.partForName("edit-bar")
1028
1084
  },
1029
- texts: /* @__PURE__ */ e((e) => this.translationForKey(e), "texts"),
1085
+ texts: /* @__PURE__ */ r((e) => this.translationForKey(e), "texts"),
1030
1086
  view: _UIMarkdown.chosenView,
1031
1087
  renderInline: i?.renderInline ? (e) => i.renderInline(e) : void 0,
1032
1088
  onKey: this.onBoxKey,
1033
1089
  onInput: this.onBoxInput,
1034
1090
  onLeave: this.onBoxLeft,
1035
- onView: /* @__PURE__ */ e((e) => _UIMarkdown.chosenView = e, "onView")
1091
+ onView: /* @__PURE__ */ r((e) => _UIMarkdown.chosenView = e, "onView")
1036
1092
  });
1037
1093
  }
1038
1094
  static get chosenView() {
1039
- return _.getAt(at) === "formatted" ? "formatted" : "marks";
1095
+ return ue.getAt(ot) === "formatted" ? "formatted" : "marks";
1040
1096
  }
1041
1097
  static set chosenView(e) {
1042
- _.setAt(at, e);
1098
+ ue.setAt(ot, e);
1043
1099
  }
1044
1100
  async keep(e) {
1045
1101
  let t = this.box;
@@ -1055,7 +1111,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1055
1111
  ...t.place,
1056
1112
  start: i,
1057
1113
  end: i + t.raw.length
1058
- }, o = t.editor.shape, s = o && o !== t.shape ? w.reshape(r, a, n, o) : void 0, c = s?.text ?? F.replace(r, a, n), l = e === "next" || e === "previous" ? this.neighbourOf(t.piece, e) : void 0, u = l && this.startInNext(l, a, c.length - r.length);
1114
+ }, o = t.editor.shape, s = o && o !== t.shape ? C.reshape(r, a, n, o) : void 0, c = s?.text ?? Pe.replace(r, a, n), l = e === "next" || e === "previous" ? this.neighbourOf(t.piece, e) : void 0, u = l && this.startInNext(l, a, c.length - r.length);
1059
1115
  if (c !== r && (t.place = s?.place ?? {
1060
1116
  ...a,
1061
1117
  end: c.length - (r.length - a.end)
@@ -1081,7 +1137,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1081
1137
  }
1082
1138
  onKeepConflict() {
1083
1139
  let e = /* @__PURE__ */ Error("<ui-markdown>: this text changed while it was edited; copy what you typed, and reload");
1084
- this.sendSourceEvent(s.error, {
1140
+ this.sendSourceEvent(o.error, {
1085
1141
  kind: "conflict",
1086
1142
  source: this.source || void 0,
1087
1143
  error: e
@@ -1126,32 +1182,32 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1126
1182
  return t?.scrollIntoView(), !!t;
1127
1183
  }
1128
1184
  loadEngine() {
1129
- return P.load();
1185
+ return M.load();
1130
1186
  }
1131
1187
  async renderMarkdown({ text: e, options: t, isEditable: n }) {
1132
1188
  let r = ++this.ticket;
1133
1189
  try {
1134
- await c.load();
1135
- let [i, a] = await Promise.all([this.loadEngine(), t.sanitized ? P.loadSanitizer() : void 0]);
1190
+ await s.load();
1191
+ let [i, a] = await Promise.all([this.loadEngine(), t.sanitized ? M.loadSanitizer() : void 0]);
1136
1192
  if (r !== this.ticket || !this.body) return;
1137
1193
  this.engine = i;
1138
- let { html: o, headings: s, places: l } = i.render(e, t), u = a ? a.sanitize(o, { uiTags: !!i.drawsUITags }) : this.domElement.ownerDocument.createRange().createContextualFragment(o);
1139
- this.upgradeCode(u), this.keepShortCode(u), this.labelTaskItems(u), this.resolveUrls(u), n ? this.patchBody(this.body, u) : this.body.replaceChildren(u), this.places = l ?? [], this.headings = s, this.send("ui-drawn", { headings: s }), this.hasRendered || (this.hasRendered = !0, this.onHashChange());
1194
+ let { html: o, headings: c, places: l } = i.render(e, t), u = a ? a.sanitize(o, { uiTags: !!i.drawsUITags }) : this.domElement.ownerDocument.createRange().createContextualFragment(o);
1195
+ this.upgradeCode(u), this.keepShortCode(u), this.labelTaskItems(u), this.resolveUrls(u), n ? this.patchBody(this.body, u) : this.body.replaceChildren(u), this.places = l ?? [], this.headings = c, this.send("ui-drawn", { headings: c }), this.hasRendered || (this.hasRendered = !0, this.onHashChange());
1140
1196
  } catch (e) {
1141
1197
  r === this.ticket && this.onLoadError(e, "render");
1142
1198
  }
1143
1199
  }
1144
1200
  upgradeCode(e) {
1145
- for (let t of e.querySelectorAll(ft)) {
1146
- let e = t.parentElement, n = this.domElement.ownerDocument.createElement(_t), r = gt.exec(t.className)?.[1];
1147
- r && n.setAttribute(vt, r), n.setAttribute(yt, ""), n.textContent = (t.textContent ?? "").replace(/\n$/, ""), e.replaceWith(n);
1201
+ for (let t of e.querySelectorAll(pt)) {
1202
+ let e = t.parentElement, n = this.domElement.ownerDocument.createElement(vt), r = _t.exec(t.className)?.[1];
1203
+ r && n.setAttribute(yt, r), n.setAttribute(bt, ""), n.textContent = (t.textContent ?? "").replace(/\n$/, ""), e.replaceWith(n);
1148
1204
  }
1149
1205
  }
1150
1206
  keepShortCode(e) {
1151
- for (let t of e.querySelectorAll(pt)) (t.textContent ?? "").length <= mt && t.classList.add(ht);
1207
+ for (let t of e.querySelectorAll(mt)) (t.textContent ?? "").length <= ht && t.classList.add(gt);
1152
1208
  }
1153
1209
  labelTaskItems(e) {
1154
- for (let t of e.querySelectorAll(bt)) {
1210
+ for (let t of e.querySelectorAll(xt)) {
1155
1211
  let e = t.parentElement.textContent?.trim();
1156
1212
  e && t.setAttribute("aria-label", e);
1157
1213
  }
@@ -1160,7 +1216,7 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1160
1216
  let t = this.source || void 0;
1161
1217
  if (!t) return;
1162
1218
  let n = new URL(t, this.domElement.ownerDocument.baseURI);
1163
- for (let t of xt) for (let r of e.querySelectorAll(`[${t}]`)) {
1219
+ for (let t of St) for (let r of e.querySelectorAll(`[${t}]`)) {
1164
1220
  let e = r.getAttribute(t);
1165
1221
  if (!e.startsWith("#")) try {
1166
1222
  r.setAttribute(t, new URL(e, n).href);
@@ -1190,8 +1246,8 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1190
1246
  static ownNodes(e) {
1191
1247
  let t = [];
1192
1248
  for (let n of e.childNodes) {
1193
- if (n.nodeType === a.element && lt.test(n.localName)) break;
1194
- n.nodeType === a.element && n.matches(ut) || t.push(n);
1249
+ if (n.nodeType === a.element && ut.test(n.localName)) break;
1250
+ n.nodeType === a.element && n.matches(dt) || t.push(n);
1195
1251
  }
1196
1252
  return t;
1197
1253
  }
@@ -1206,27 +1262,25 @@ var rt = K, q = class _UIMarkdown extends (B = r, nt = [ae], tt = [oe], et = [p(
1206
1262
  return `ui-markdown-${e}-panel`;
1207
1263
  }
1208
1264
  };
1209
- V = g(B), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), i(V, 1, "onMarkdownChanged", et, q), i(V, 4, "shownTab", $e, q, H), i(V, 1, "onTextChanged", Ze, q), i(V, 4, "isOptionHeld", Xe, q, U), i(V, 2, "isPlacing", Ye, q), i(V, 4, "box", Je, q, W), i(V, 2, "isEditingInPlace", qe, q), i(V, 1, "followOptionKey", Ke, q), i(V, 4, "headings", He, q, G), i(V, 1, "followHash", Ve, q), i(V, 13, "vocabulary", nt, q), i(V, 13, "elementSetup", tt, q), i(V, 5, "keepTextBox", Qe, q), i(V, 5, "onBoxKey", Ge, q), i(V, 5, "onBoxInput", We, q), i(V, 5, "onBoxLeft", Ue, q), o(V, q), e(q, "UIMarkdown"), n(q, "vocabulary", l(V, 24, q, Fe)), l(V, 27, q), n(q, "elementSetup", l(V, 28, q, {
1210
- styleSheets: { markdown: Ie },
1211
- DOMElement: rt,
1265
+ V = t(B), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), c(V, 1, "onMarkdownChanged", tt, q), c(V, 4, "shownTab", et, q, H), c(V, 1, "onTextChanged", Qe, q), c(V, 4, "isOptionHeld", z, q, U), c(V, 2, "isPlacing", R, q), c(V, 4, "box", L, q, W), c(V, 2, "isEditingInPlace", I, q), c(V, 1, "followOptionKey", F, q), c(V, 4, "headings", Je, q, G), c(V, 1, "followHash", qe, q), c(V, 13, "vocabulary", rt, q), c(V, 13, "elementSetup", nt, q), c(V, 5, "keepTextBox", $e, q), c(V, 5, "onBoxKey", Ze, q), c(V, 5, "onBoxInput", Xe, q), c(V, 5, "onBoxLeft", Ye, q), l(V, q), r(q, "UIMarkdown"), n(q, "vocabulary", u(V, 24, q, Be)), u(V, 27, q), n(q, "elementSetup", u(V, 28, q, {
1266
+ styleSheets: { markdown: Ve },
1267
+ DOMElement: it,
1212
1268
  delegatesFocus: !1
1213
- })), l(V, 31, q);
1214
- var it = q, at = "ui-markdown:edit-view", ot = "tabs", J = "data-ui-place", Y = `[${J}]`, st = 5, ct = {
1269
+ })), u(V, 31, q);
1270
+ var at = q, ot = "ui-markdown:edit-view", st = "tabs", J = "data-ui-place", Y = `[${J}]`, ct = 5, lt = {
1215
1271
  Home: "start",
1216
1272
  End: "end"
1217
- }, lt = /^(ul|ol)$/, ut = "input[type=checkbox]", X = "write", Z = "preview", Q = [X, Z], $ = {
1273
+ }, ut = /^(ul|ol)$/, dt = "input[type=checkbox]", X = "write", Z = "preview", Q = [X, Z], $ = {
1218
1274
  list: "tablist",
1219
1275
  tab: "tab",
1220
1276
  panel: "tabpanel"
1221
- }, dt = /^(?:[ \t]*\n)*[ ]{0,3}(?:#(?=[ \t\n]|$)[^\n]*|[^\s][^\n]*\n[ ]{0,3}=+[ \t]*)(?:\n|$)/, ft = "pre > code", pt = ":not(pre) > code", mt = 28, ht = "short", gt = /\blanguage-(\S+)/, _t = "ui-code", vt = "language", yt = "copy", bt = "li > input[type=checkbox], ui-item > ui-checkbox", xt = ["href", "src"], St = "a[href^='#']";
1222
- //#endregion
1223
- //#region src/components/ui-markdown/index.ts
1224
- fe([
1277
+ }, ft = /^(?:[ \t]*\n)*[ ]{0,3}(?:#(?=[ \t\n]|$)[^\n]*|[^\s][^\n]*\n[ ]{0,3}=+[ \t]*)(?:\n|$)/, pt = "pre > code", mt = ":not(pre) > code", ht = 28, gt = "short", _t = /\blanguage-(\S+)/, vt = "ui-code", yt = "language", bt = "copy", xt = "li > input[type=checkbox], ui-item > ui-checkbox", St = ["href", "src"], Ct = "a[href^='#']";
1278
+ // src/components/ui-markdown/index.ts
1279
+ he([
1225
1280
  "click",
1226
1281
  "keydown",
1227
1282
  "input"
1228
- ]), it.define();
1229
- //#endregion
1230
- export { rt as DOMMarkdownElement, P as MarkdownRenderer, it as UIMarkdown, F as t };
1283
+ ]), at.define();
1284
+ export { it as DOMMarkdownElement, M as MarkdownRenderer, at as UIMarkdown, Pe as t };
1231
1285
 
1232
1286
  //# sourceMappingURL=ui-markdown.js.map