spell-ui 0.8.8 → 0.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1167) hide show
  1. package/README-components.md +9 -3
  2. package/README-frameworks.md +5 -5
  3. package/README-migrating.md +2 -2
  4. package/README.md +5 -5
  5. package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
  6. package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
  7. package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
  8. package/dist/Dragging-B93hbRxF.js.map +1 -0
  9. package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
  10. package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
  11. package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
  12. package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
  13. package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
  14. package/dist/PrefStore-Di83C0bY.js.map +1 -0
  15. package/dist/ScrollingRow-DkOtx2QK.js +89 -0
  16. package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
  17. package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
  18. package/dist/SitePages-B3zd5Zgu.js.map +1 -0
  19. package/dist/SlottedItems-DWfAZYqM.js +88 -0
  20. package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
  21. package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
  22. package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
  23. package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
  24. package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
  25. package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
  26. package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
  27. package/dist/UIButton-BmIiXYDC.js +5 -0
  28. package/dist/UIButton-BmIiXYDC.js.map +1 -0
  29. package/dist/UIGrid-2ZUA1YEc.js +200 -0
  30. package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
  31. package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
  32. package/dist/UIInput-B3K0w4ow.js.map +1 -0
  33. package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
  34. package/dist/UIKeys-DmXvyJuU.js.map +1 -0
  35. package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
  36. package/dist/UILabel-pCjKxQlQ.js.map +1 -0
  37. package/dist/UIMenu-CqURPocK.js +42 -0
  38. package/dist/UIMenu-CqURPocK.js.map +1 -0
  39. package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
  40. package/dist/UIRuntime-BXutHphM.js.map +1 -0
  41. package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
  42. package/dist/UISegment-BF4Tgy2D.js.map +1 -0
  43. package/dist/_spell-element/UIComponent.d.ts +8 -0
  44. package/dist/_spell-element/vocabulary.types.d.ts +20 -2
  45. package/dist/_util/Dragging.d.ts +14 -2
  46. package/dist/_util/dom.d.ts +12 -8
  47. package/dist/_util/measures/Dimension.d.ts +1 -1
  48. package/dist/_util/persist/PrefStore.d.ts +7 -2
  49. package/dist/_util/persist/persist.types.d.ts +6 -0
  50. package/dist/_util/platform.d.ts +54 -0
  51. package/dist/_util/string.d.ts +25 -0
  52. package/dist/api.js +2 -3
  53. package/dist/api.js.map +1 -1
  54. package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
  55. package/dist/apple.palette-YLjENwUt.js.map +1 -0
  56. package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
  57. package/dist/classic-BHyJFvQa.js.map +1 -0
  58. package/dist/components/ComponentDefinitions.d.ts +55 -8
  59. package/dist/components/components.es.d.ts +2 -1
  60. package/dist/components/components.planned.d.ts +1 -1
  61. package/dist/components/components.types.d.ts +22 -0
  62. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  63. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  64. package/dist/components/ui-action/UIAction.d.ts +38 -1
  65. package/dist/components/ui-action/UIAction.en.d.ts +17 -8
  66. package/dist/components/ui-action/UIAction.es.d.ts +1 -0
  67. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  68. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  69. package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
  70. package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
  71. package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
  72. package/dist/components/ui-app-menu/index.d.ts +2 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  74. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  75. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  76. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  77. package/dist/components/ui-button/UIButton.d.ts +5 -4
  78. package/dist/components/ui-button/UIButton.en.d.ts +4 -3
  79. package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
  80. package/dist/components/ui-button/UIButton.types.d.ts +1 -1
  81. package/dist/components/ui-button/UIButtons.d.ts +7 -5
  82. package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
  83. package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
  84. package/dist/components/ui-button/UIOr.d.ts +1 -0
  85. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  86. package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
  87. package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
  88. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
  89. package/dist/components/ui-card/UICard.d.ts +1 -0
  90. package/dist/components/ui-card/UICard.en.d.ts +1 -0
  91. package/dist/components/ui-card/UICards.d.ts +1 -0
  92. package/dist/components/ui-card/UICards.en.d.ts +1 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
  95. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
  97. package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
  98. package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
  99. package/dist/components/ui-code/UICode.d.ts +12 -1
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-code/UICode.types.d.ts +9 -0
  102. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  105. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  106. package/dist/components/ui-components/UIComponents.d.ts +1 -0
  107. package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
  108. package/dist/components/ui-container/UIContainer.d.ts +54 -1
  109. package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-device/UIDevice.d.ts +234 -0
  112. package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
  113. package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
  114. package/dist/components/ui-device/index.d.ts +1 -0
  115. package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
  116. package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
  117. package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
  118. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
  119. package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
  120. package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
  121. package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
  122. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  123. package/dist/components/ui-divider/UIDivider.d.ts +1 -0
  124. package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
  125. package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
  126. package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
  127. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
  129. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  130. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  131. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  132. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  133. package/dist/components/ui-example/UIExample.en.d.ts +1 -0
  134. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  135. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  136. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  137. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  138. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  139. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  140. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  141. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  142. package/dist/components/ui-form/UIField.d.ts +11 -4
  143. package/dist/components/ui-form/UIField.en.d.ts +3 -2
  144. package/dist/components/ui-form/UIFields.d.ts +1 -0
  145. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  146. package/dist/components/ui-form/UIForm.d.ts +1 -0
  147. package/dist/components/ui-form/UIForm.en.d.ts +1 -0
  148. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  149. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  150. package/dist/components/ui-grid/UIColumn.d.ts +4 -3
  151. package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
  152. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  153. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  154. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  155. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  156. package/dist/components/ui-icon/UIIcon.d.ts +1 -0
  157. package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
  158. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  159. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  160. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
  161. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
  162. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
  163. package/dist/components/ui-image/UIImage.d.ts +1 -0
  164. package/dist/components/ui-image/UIImage.en.d.ts +1 -0
  165. package/dist/components/ui-image/UIImages.d.ts +1 -0
  166. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  167. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  168. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  169. package/dist/components/ui-input/UIInput.d.ts +1 -0
  170. package/dist/components/ui-input/UIInput.en.d.ts +1 -0
  171. package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
  172. package/dist/components/ui-input/UITextarea.d.ts +1 -0
  173. package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
  174. package/dist/components/ui-item/UIItem.d.ts +19 -8
  175. package/dist/components/ui-item/UIItem.en.d.ts +2 -1
  176. package/dist/components/ui-items/UIItems.d.ts +1 -0
  177. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  178. package/dist/components/ui-json/UIJson.d.ts +1 -0
  179. package/dist/components/ui-json/UIJson.en.d.ts +1 -0
  180. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  181. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  182. package/dist/components/ui-label/UILabel.d.ts +3 -2
  183. package/dist/components/ui-label/UILabel.en.d.ts +3 -2
  184. package/dist/components/ui-label/UILabels.d.ts +1 -0
  185. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  186. package/dist/components/ui-list/UIList.d.ts +1 -0
  187. package/dist/components/ui-list/UIList.en.d.ts +1 -0
  188. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  189. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  190. package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
  191. package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
  192. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
  193. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
  194. package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
  195. package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
  196. package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
  197. package/dist/components/ui-menu/TitleFit.d.ts +16 -1
  198. package/dist/components/ui-menu/UIMenu.d.ts +112 -9
  199. package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
  200. package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
  201. package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
  202. package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
  203. package/dist/components/ui-menu/index.d.ts +3 -1
  204. package/dist/components/ui-message/UIMessage.d.ts +3 -2
  205. package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
  206. package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
  207. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  208. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  209. package/dist/components/ui-nag/UINag.d.ts +1 -0
  210. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  211. package/dist/components/ui-page/UIPage.d.ts +1 -0
  212. package/dist/components/ui-page/UIPage.en.d.ts +1 -0
  213. package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
  214. package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
  215. package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
  216. package/dist/components/ui-page-layout/index.d.ts +1 -0
  217. package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
  218. package/dist/components/ui-panel/UIPanel.d.ts +21 -2
  219. package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
  220. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  221. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  222. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  223. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  224. package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
  225. package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
  226. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  227. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  228. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  229. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  230. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  231. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  232. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  233. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  234. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  235. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  236. package/dist/components/ui-parts/UIHeader.d.ts +16 -5
  237. package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
  238. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  239. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  240. package/dist/components/ui-parts/UIParts.types.d.ts +23 -7
  241. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  242. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  244. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  246. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  247. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  248. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  249. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  250. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  251. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  252. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  253. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  254. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  255. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  256. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  257. package/dist/components/ui-popup/UIPopup.d.ts +21 -3
  258. package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
  259. package/dist/components/ui-progress/UIProgress.d.ts +3 -2
  260. package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
  261. package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
  262. package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
  263. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
  264. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  265. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
  266. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
  267. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
  268. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  269. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  270. package/dist/components/ui-rail/UIRail.d.ts +4 -3
  271. package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
  272. package/dist/components/ui-rating/UIRating.d.ts +1 -0
  273. package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
  274. package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
  275. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  276. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  277. package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
  278. package/dist/components/ui-search/UISearch.d.ts +1 -0
  279. package/dist/components/ui-search/UISearch.en.d.ts +1 -0
  280. package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
  281. package/dist/components/ui-section/UISection.d.ts +3 -2
  282. package/dist/components/ui-section/UISection.en.d.ts +3 -2
  283. package/dist/components/ui-section/UISections.d.ts +1 -0
  284. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  285. package/dist/components/ui-segment/UISegment.d.ts +9 -10
  286. package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
  287. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  288. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  289. package/dist/components/ui-select/UISelect.d.ts +1 -0
  290. package/dist/components/ui-select/UISelect.en.d.ts +1 -0
  291. package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
  292. package/dist/components/ui-shape/UIShape.d.ts +1 -0
  293. package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
  294. package/dist/components/ui-shape/UISide.d.ts +1 -0
  295. package/dist/components/ui-shape/UISide.en.d.ts +1 -0
  296. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  297. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  298. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  299. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  300. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  301. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  302. package/dist/components/ui-sides/UISides.d.ts +1 -0
  303. package/dist/components/ui-sides/UISides.en.d.ts +1 -0
  304. package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
  305. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
  306. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
  307. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
  308. package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
  309. package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
  310. package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
  311. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
  312. package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
  313. package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
  314. package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
  315. package/dist/components/ui-site-nav-button/index.d.ts +1 -0
  316. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
  317. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
  318. package/dist/components/ui-slider/UISlider.d.ts +1 -0
  319. package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
  320. package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
  321. package/dist/components/ui-space/UISpace.d.ts +1 -0
  322. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  323. package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
  324. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
  325. package/dist/components/ui-stack/UIStack.d.ts +1 -0
  326. package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
  327. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  328. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  329. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  330. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  331. package/dist/components/ui-step/UIStep.d.ts +1 -0
  332. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  333. package/dist/components/ui-step/UISteps.d.ts +3 -2
  334. package/dist/components/ui-step/UISteps.en.d.ts +3 -2
  335. package/dist/components/ui-sticky/UISticky.d.ts +1 -0
  336. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  337. package/dist/components/ui-tab/UITab.d.ts +3 -2
  338. package/dist/components/ui-tab/UITab.en.d.ts +4 -3
  339. package/dist/components/ui-tab/UITabs.d.ts +5 -4
  340. package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
  341. package/dist/components/ui-table/TableGrammar.d.ts +2 -2
  342. package/dist/components/ui-table/UICell.d.ts +1 -0
  343. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  344. package/dist/components/ui-table/UITable.d.ts +7 -6
  345. package/dist/components/ui-table/UITable.en.d.ts +7 -6
  346. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  347. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  348. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  349. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  350. package/dist/components/ui-text/UILink.d.ts +1 -0
  351. package/dist/components/ui-text/UILink.en.d.ts +1 -0
  352. package/dist/components/ui-text/UIText.d.ts +2 -1
  353. package/dist/components/ui-text/UIText.en.d.ts +2 -1
  354. package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
  355. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  356. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  357. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
  358. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
  359. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  360. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  361. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
  362. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
  363. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  364. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  365. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  366. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  367. package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
  368. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
  369. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
  370. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  371. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  372. package/dist/components/ui-tree/UITree.d.ts +102 -2
  373. package/dist/components/ui-tree/UITree.en.d.ts +14 -1
  374. package/dist/components/ui-tree/UITree.es.d.ts +3 -0
  375. package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
  376. package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
  377. package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
  378. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
  379. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
  380. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
  381. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
  382. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  383. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  384. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  385. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  386. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  387. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  388. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  389. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  390. package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
  391. package/dist/components.es-DEa8Ep42.js.map +1 -0
  392. package/dist/core.js +884 -806
  393. package/dist/core.js.map +1 -1
  394. package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
  395. package/dist/crisp-DIpY320U.js.map +1 -0
  396. package/dist/crisp.theme-Ir9p4BDC.js +5 -0
  397. package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
  398. package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
  399. package/dist/dark-B5s4QbmU.js.map +1 -0
  400. package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
  401. package/dist/dist-BQT4KajA.js.map +1 -0
  402. package/dist/docs-components/docs-components.types.d.ts +6 -0
  403. package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
  404. package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
  405. package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
  406. package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
  407. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
  408. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
  409. package/dist/elements/PartComponent.d.ts +5 -0
  410. package/dist/elements/PopoverPanel.d.ts +12 -1
  411. package/dist/elements/Validator.d.ts +1 -1
  412. package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
  413. package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
  414. package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
  415. package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
  416. package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
  417. package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
  418. package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
  419. package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
  420. package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
  421. package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
  422. package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
  423. package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
  424. package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
  425. package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
  426. package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
  427. package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
  428. package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
  429. package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
  430. package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
  431. package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
  432. package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
  433. package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
  434. package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
  435. package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
  436. package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
  437. package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
  438. package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
  439. package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
  440. package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
  441. package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
  442. package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
  443. package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
  444. package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
  445. package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
  446. package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
  447. package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
  448. package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
  449. package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
  450. package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
  451. package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
  452. package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
  453. package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
  454. package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
  455. package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
  456. package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
  457. package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
  458. package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
  459. package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
  460. package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
  461. package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
  462. package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
  463. package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
  464. package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
  465. package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
  466. package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
  467. package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
  468. package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
  469. package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
  470. package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
  471. package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
  472. package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
  473. package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
  474. package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
  475. package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
  476. package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
  477. package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
  478. package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
  479. package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
  480. package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
  481. package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
  482. package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
  483. package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
  484. package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
  485. package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
  486. package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
  487. package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
  488. package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
  489. package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
  490. package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
  491. package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
  492. package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
  493. package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
  494. package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
  495. package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
  496. package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
  497. package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
  498. package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
  499. package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
  500. package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
  501. package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
  502. package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
  503. package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
  504. package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
  505. package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
  506. package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
  507. package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
  508. package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
  509. package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
  510. package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
  511. package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
  512. package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
  513. package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
  514. package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
  515. package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
  516. package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
  517. package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
  518. package/dist/forms.js +65 -75
  519. package/dist/forms.js.map +1 -1
  520. package/dist/fruity-CsfZNeXb.js +5 -0
  521. package/dist/fruity-CsfZNeXb.js.map +1 -0
  522. package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
  523. package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
  524. package/dist/glass-BCK30hpe.js +5 -0
  525. package/dist/glass-BCK30hpe.js.map +1 -0
  526. package/dist/glass.theme-C7QSRB7b.js +5 -0
  527. package/dist/glass.theme-C7QSRB7b.js.map +1 -0
  528. package/dist/hot.js +18 -32
  529. package/dist/hot.js.map +1 -1
  530. package/dist/index.d.ts +5 -0
  531. package/dist/index.js +95 -90
  532. package/dist/jsx.d.ts +3869 -715
  533. package/dist/matrix-DEnqBfwC.js +5 -0
  534. package/dist/matrix-DEnqBfwC.js.map +1 -0
  535. package/dist/matrix.theme-YV6_nvXv.js +5 -0
  536. package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
  537. package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
  538. package/dist/merlot-DFa6kDbA.js.map +1 -0
  539. package/dist/merlot.theme-B1K8nn2u.js +5 -0
  540. package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
  541. package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
  542. package/dist/midnight-q0-3-V6U.js.map +1 -0
  543. package/dist/midnight.theme-C7M02wTD.js +5 -0
  544. package/dist/midnight.theme-C7M02wTD.js.map +1 -0
  545. package/dist/mockup-D0vovNO7.js +5 -0
  546. package/dist/mockup-D0vovNO7.js.map +1 -0
  547. package/dist/mockup.theme-C92r9NI0.js +5 -0
  548. package/dist/mockup.theme-C92r9NI0.js.map +1 -0
  549. package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
  550. package/dist/paper-DPxolmdy.js.map +1 -0
  551. package/dist/paper.theme-BAKk3DY1.js +5 -0
  552. package/dist/paper.theme-BAKk3DY1.js.map +1 -0
  553. package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
  554. package/dist/persist.types-D7N7GewC.js.map +1 -0
  555. package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
  556. package/dist/pop-Dw_6k177.js.map +1 -0
  557. package/dist/pop.theme-Cw-yD0MO.js +5 -0
  558. package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
  559. package/dist/property/PropertyEditorPages.d.ts +1 -1
  560. package/dist/property/PropertyLayouts.d.ts +119 -0
  561. package/dist/property/PropertySchemas.d.ts +5 -1
  562. package/dist/property/index.d.ts +2 -0
  563. package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
  564. package/dist/runtime/Browser.d.ts +7 -0
  565. package/dist/runtime/DataTooltips.d.ts +2 -0
  566. package/dist/runtime/Keyboard.d.ts +4 -1
  567. package/dist/runtime/Toasts.d.ts +10 -0
  568. package/dist/runtime/runtime.types.d.ts +47 -0
  569. package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
  570. package/dist/search-C2Rq9HF1.js.map +1 -0
  571. package/dist/spell-CB-MivSX.js +5 -0
  572. package/dist/spell-CB-MivSX.js.map +1 -0
  573. package/dist/spell.theme-CUoc5rTq.js +5 -0
  574. package/dist/spell.theme-CUoc5rTq.js.map +1 -0
  575. package/dist/styles/StyleGenerator.d.ts +7 -0
  576. package/dist/styles/styles.en.d.ts +27 -18
  577. package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
  578. package/dist/styles.en-DZlSJiOR.js.map +1 -0
  579. package/dist/styles.js +9 -10
  580. package/dist/styles.js.map +1 -1
  581. package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
  582. package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
  583. package/dist/ui-accordion.js +59 -60
  584. package/dist/ui-accordion.js.map +1 -1
  585. package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
  586. package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
  587. package/dist/ui-action.js +73 -45
  588. package/dist/ui-action.js.map +1 -1
  589. package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
  590. package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
  591. package/dist/ui-ad.editor-BHTDuSii.js +5 -0
  592. package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
  593. package/dist/ui-ad.js +8 -9
  594. package/dist/ui-ad.js.map +1 -1
  595. package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
  596. package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
  597. package/dist/ui-app-menu.js +89 -0
  598. package/dist/ui-app-menu.js.map +1 -0
  599. package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
  600. package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
  601. package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
  602. package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
  603. package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
  604. package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
  605. package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
  606. package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
  607. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
  608. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
  609. package/dist/ui-breadcrumbs.js +18 -17
  610. package/dist/ui-breadcrumbs.js.map +1 -1
  611. package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
  612. package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
  613. package/dist/ui-button.js +157 -156
  614. package/dist/ui-button.js.map +1 -1
  615. package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
  616. package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
  617. package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
  618. package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
  619. package/dist/ui-calendar.js +148 -157
  620. package/dist/ui-calendar.js.map +1 -1
  621. package/dist/ui-card.editor-BBZj9e03.js +5 -0
  622. package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
  623. package/dist/ui-card.js +70 -70
  624. package/dist/ui-card.js.map +1 -1
  625. package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
  626. package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
  627. package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
  628. package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
  629. package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
  630. package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
  631. package/dist/ui-checkbox.js +49 -48
  632. package/dist/ui-checkbox.js.map +1 -1
  633. package/dist/ui-code.editor-Drr_FVB6.js +5 -0
  634. package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
  635. package/dist/ui-code.js +116 -79
  636. package/dist/ui-code.js.map +1 -1
  637. package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
  638. package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
  639. package/dist/ui-column.editor-hdUb-qwT.js +5 -0
  640. package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
  641. package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
  642. package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
  643. package/dist/ui-comment.js +15 -14
  644. package/dist/ui-comment.js.map +1 -1
  645. package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
  646. package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
  647. package/dist/ui-components.editor-BKFXnARt.js +5 -0
  648. package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
  649. package/dist/ui-components.js +12 -13
  650. package/dist/ui-components.js.map +1 -1
  651. package/dist/ui-container.editor-CBNhNkRm.js +5 -0
  652. package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
  653. package/dist/ui-container.js +106 -21
  654. package/dist/ui-container.js.map +1 -1
  655. package/dist/ui-content.editor-B78lxK3P.js +5 -0
  656. package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
  657. package/dist/ui-date.editor-PHEnU7QX.js +5 -0
  658. package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
  659. package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
  660. package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
  661. package/dist/ui-detail.editor-wliuVbx3.js +5 -0
  662. package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
  663. package/dist/ui-device.editor-kl48NVma.js +5 -0
  664. package/dist/ui-device.editor-kl48NVma.js.map +1 -0
  665. package/dist/ui-device.js +436 -0
  666. package/dist/ui-device.js.map +1 -0
  667. package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
  668. package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
  669. package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
  670. package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
  671. package/dist/ui-diagram.js +128 -129
  672. package/dist/ui-diagram.js.map +1 -1
  673. package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
  674. package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
  675. package/dist/ui-dimension.js +111 -12
  676. package/dist/ui-dimension.js.map +1 -1
  677. package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
  678. package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
  679. package/dist/ui-dimmer.js +29 -30
  680. package/dist/ui-dimmer.js.map +1 -1
  681. package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
  682. package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
  683. package/dist/ui-divider.js +9 -10
  684. package/dist/ui-divider.js.map +1 -1
  685. package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
  686. package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
  687. package/dist/ui-dropdown.js +155 -156
  688. package/dist/ui-dropdown.js.map +1 -1
  689. package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
  690. package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
  691. package/dist/ui-embed.js +23 -24
  692. package/dist/ui-embed.js.map +1 -1
  693. package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
  694. package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
  695. package/dist/ui-emoji.js +63 -64
  696. package/dist/ui-emoji.js.map +1 -1
  697. package/dist/ui-event.editor-Bk17y7wW.js +5 -0
  698. package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
  699. package/dist/ui-example.editor-D46Vnctp.js +5 -0
  700. package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
  701. package/dist/ui-example.js +67 -74
  702. package/dist/ui-example.js.map +1 -1
  703. package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
  704. package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
  705. package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
  706. package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
  707. package/dist/ui-feed.js +26 -25
  708. package/dist/ui-feed.js.map +1 -1
  709. package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
  710. package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
  711. package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
  712. package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
  713. package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
  714. package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
  715. package/dist/ui-flag.js +13 -14
  716. package/dist/ui-flag.js.map +1 -1
  717. package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
  718. package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
  719. package/dist/ui-flyout.js +10 -11
  720. package/dist/ui-flyout.js.map +1 -1
  721. package/dist/ui-form.editor-BJC3WhNf.js +5 -0
  722. package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
  723. package/dist/ui-form.js +199 -195
  724. package/dist/ui-form.js.map +1 -1
  725. package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
  726. package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
  727. package/dist/ui-grid.js +43 -234
  728. package/dist/ui-grid.js.map +1 -1
  729. package/dist/ui-header.editor-meOjCASK.js +5 -0
  730. package/dist/ui-header.editor-meOjCASK.js.map +1 -0
  731. package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
  732. package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
  733. package/dist/ui-icon-picker.js +64 -69
  734. package/dist/ui-icon-picker.js.map +1 -1
  735. package/dist/ui-icon.editor-DoKK49PD.js +5 -0
  736. package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
  737. package/dist/ui-icon.js +15 -14
  738. package/dist/ui-icon.js.map +1 -1
  739. package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
  740. package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
  741. package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
  742. package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
  743. package/dist/ui-image.js +26 -26
  744. package/dist/ui-image.js.map +1 -1
  745. package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
  746. package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
  747. package/dist/ui-include.editor-CZcsVJbH.js +5 -0
  748. package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
  749. package/dist/ui-include.js +21 -22
  750. package/dist/ui-include.js.map +1 -1
  751. package/dist/ui-input.editor-budoNoB0.js +5 -0
  752. package/dist/ui-input.editor-budoNoB0.js.map +1 -0
  753. package/dist/ui-input.js +131 -130
  754. package/dist/ui-input.js.map +1 -1
  755. package/dist/ui-item.editor-BlWp1HXu.js +5 -0
  756. package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
  757. package/dist/ui-item.js +127 -113
  758. package/dist/ui-item.js.map +1 -1
  759. package/dist/ui-items.editor-GOul3Xss.js +5 -0
  760. package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
  761. package/dist/ui-items.js +11 -12
  762. package/dist/ui-items.js.map +1 -1
  763. package/dist/ui-json.editor-BgZbrB_W.js +5 -0
  764. package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
  765. package/dist/ui-json.js +18 -19
  766. package/dist/ui-json.js.map +1 -1
  767. package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
  768. package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
  769. package/dist/ui-keys.js +2 -3
  770. package/dist/ui-label.editor-BVUYLSUs.js +5 -0
  771. package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
  772. package/dist/ui-label.js +22 -22
  773. package/dist/ui-label.js.map +1 -1
  774. package/dist/ui-labels.editor-BWJth86p.js +5 -0
  775. package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
  776. package/dist/ui-link.editor-CpI53scP.js +5 -0
  777. package/dist/ui-link.editor-CpI53scP.js.map +1 -0
  778. package/dist/ui-list.editor-DhBZIkAa.js +5 -0
  779. package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
  780. package/dist/ui-list.js +9 -10
  781. package/dist/ui-list.js.map +1 -1
  782. package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
  783. package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
  784. package/dist/ui-loader.js +10 -11
  785. package/dist/ui-loader.js.map +1 -1
  786. package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
  787. package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
  788. package/dist/ui-markdown.js +208 -154
  789. package/dist/ui-markdown.js.map +1 -1
  790. package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
  791. package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
  792. package/dist/ui-menu.js +815 -223
  793. package/dist/ui-menu.js.map +1 -1
  794. package/dist/ui-message.editor-vfT0pyu5.js +5 -0
  795. package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
  796. package/dist/ui-message.js +32 -33
  797. package/dist/ui-message.js.map +1 -1
  798. package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
  799. package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
  800. package/dist/ui-modal.editor-CkkJRgab.js +5 -0
  801. package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
  802. package/dist/ui-modal.js +132 -96
  803. package/dist/ui-modal.js.map +1 -1
  804. package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
  805. package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
  806. package/dist/ui-nag.js +23 -24
  807. package/dist/ui-nag.js.map +1 -1
  808. package/dist/ui-or.editor-BfBLNVgm.js +5 -0
  809. package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
  810. package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
  811. package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
  812. package/dist/ui-page-layout.js +363 -0
  813. package/dist/ui-page-layout.js.map +1 -0
  814. package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
  815. package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
  816. package/dist/ui-page.js +11 -12
  817. package/dist/ui-page.js.map +1 -1
  818. package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
  819. package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
  820. package/dist/ui-panel.js +105 -27
  821. package/dist/ui-panel.js.map +1 -1
  822. package/dist/ui-parts.js +108 -66
  823. package/dist/ui-parts.js.map +1 -1
  824. package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
  825. package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
  826. package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
  827. package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
  828. package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
  829. package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
  830. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
  831. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
  832. package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
  833. package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
  834. package/dist/ui-placeholder.js +23 -19
  835. package/dist/ui-placeholder.js.map +1 -1
  836. package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
  837. package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
  838. package/dist/ui-popup.js +107 -100
  839. package/dist/ui-popup.js.map +1 -1
  840. package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
  841. package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
  842. package/dist/ui-progress.js +23 -24
  843. package/dist/ui-progress.js.map +1 -1
  844. package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
  845. package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
  846. package/dist/ui-property-editor.js +649 -277
  847. package/dist/ui-property-editor.js.map +1 -1
  848. package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
  849. package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
  850. package/dist/ui-property.editor-BC-jtjjt.js +5 -0
  851. package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
  852. package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
  853. package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
  854. package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
  855. package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
  856. package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
  857. package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
  858. package/dist/ui-quote.js +8 -9
  859. package/dist/ui-quote.js.map +1 -1
  860. package/dist/ui-radio.editor-DPzActfO.js +5 -0
  861. package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
  862. package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
  863. package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
  864. package/dist/ui-rail.js +11 -12
  865. package/dist/ui-rail.js.map +1 -1
  866. package/dist/ui-rating.editor-C19syymj.js +5 -0
  867. package/dist/ui-rating.editor-C19syymj.js.map +1 -0
  868. package/dist/ui-rating.js +40 -49
  869. package/dist/ui-rating.js.map +1 -1
  870. package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
  871. package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
  872. package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
  873. package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
  874. package/dist/ui-reveal.js +10 -11
  875. package/dist/ui-reveal.js.map +1 -1
  876. package/dist/ui-root.editor-CAokPDVa.js +5 -0
  877. package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
  878. package/dist/ui-root.js +205 -102
  879. package/dist/ui-root.js.map +1 -1
  880. package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
  881. package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
  882. package/dist/ui-search.editor-CtzfYgNu.js +5 -0
  883. package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
  884. package/dist/ui-search.js +143 -146
  885. package/dist/ui-search.js.map +1 -1
  886. package/dist/ui-section.editor-DmNICxCs.js +5 -0
  887. package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
  888. package/dist/ui-section.js +74 -73
  889. package/dist/ui-section.js.map +1 -1
  890. package/dist/ui-sections.editor-BxXECGv9.js +5 -0
  891. package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
  892. package/dist/ui-segment.editor-CebyLPFn.js +5 -0
  893. package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
  894. package/dist/ui-segment.js +43 -43
  895. package/dist/ui-segment.js.map +1 -1
  896. package/dist/ui-segments.editor-CSumzMa5.js +5 -0
  897. package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
  898. package/dist/ui-select.editor-wAcZzvU7.js +5 -0
  899. package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
  900. package/dist/ui-select.js +86 -87
  901. package/dist/ui-select.js.map +1 -1
  902. package/dist/ui-shape.editor-By9-8aD2.js +5 -0
  903. package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
  904. package/dist/ui-shape.js +39 -38
  905. package/dist/ui-shape.js.map +1 -1
  906. package/dist/ui-side.editor-CFSqGHGH.js +5 -0
  907. package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
  908. package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
  909. package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
  910. package/dist/ui-sidebar.js +79 -77
  911. package/dist/ui-sidebar.js.map +1 -1
  912. package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
  913. package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
  914. package/dist/ui-sides.js +25 -26
  915. package/dist/ui-sides.js.map +1 -1
  916. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
  917. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
  918. package/dist/ui-site-breadcrumbs.js +143 -0
  919. package/dist/ui-site-breadcrumbs.js.map +1 -0
  920. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
  921. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
  922. package/dist/ui-site-nav-button.js +113 -0
  923. package/dist/ui-site-nav-button.js.map +1 -0
  924. package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
  925. package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
  926. package/dist/ui-site-nav.js +133 -97
  927. package/dist/ui-site-nav.js.map +1 -1
  928. package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
  929. package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
  930. package/dist/ui-site-tabs.js +53 -48
  931. package/dist/ui-site-tabs.js.map +1 -1
  932. package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
  933. package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
  934. package/dist/ui-slider.js +37 -38
  935. package/dist/ui-slider.js.map +1 -1
  936. package/dist/ui-space.editor-s-XVWFBN.js +5 -0
  937. package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
  938. package/dist/ui-space.js +9 -10
  939. package/dist/ui-space.js.map +1 -1
  940. package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
  941. package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
  942. package/dist/ui-split-panel.js +107 -68
  943. package/dist/ui-split-panel.js.map +1 -1
  944. package/dist/ui-stack.editor-D69Fky6H.js +5 -0
  945. package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
  946. package/dist/ui-stack.js +12 -13
  947. package/dist/ui-stack.js.map +1 -1
  948. package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
  949. package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
  950. package/dist/ui-statistic.js +28 -27
  951. package/dist/ui-statistic.js.map +1 -1
  952. package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
  953. package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
  954. package/dist/ui-step.editor-CYmNXrk_.js +5 -0
  955. package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
  956. package/dist/ui-step.js +62 -61
  957. package/dist/ui-step.js.map +1 -1
  958. package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
  959. package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
  960. package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
  961. package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
  962. package/dist/ui-sticky.js +10 -11
  963. package/dist/ui-sticky.js.map +1 -1
  964. package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
  965. package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
  966. package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
  967. package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
  968. package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
  969. package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
  970. package/dist/ui-tab.js +115 -117
  971. package/dist/ui-tab.js.map +1 -1
  972. package/dist/ui-table.editor-DJvfg9oG.js +5 -0
  973. package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
  974. package/dist/ui-table.js +272 -272
  975. package/dist/ui-table.js.map +1 -1
  976. package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
  977. package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
  978. package/dist/ui-term.editor-BMCF3jBM.js +5 -0
  979. package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
  980. package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
  981. package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
  982. package/dist/ui-terms.js +13 -12
  983. package/dist/ui-terms.js.map +1 -1
  984. package/dist/ui-text.editor-B6AENK13.js +5 -0
  985. package/dist/ui-text.editor-B6AENK13.js.map +1 -0
  986. package/dist/ui-text.js +37 -36
  987. package/dist/ui-text.js.map +1 -1
  988. package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
  989. package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
  990. package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
  991. package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
  992. package/dist/ui-theme-editor.js +448 -461
  993. package/dist/ui-theme-editor.js.map +1 -1
  994. package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
  995. package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
  996. package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
  997. package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
  998. package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
  999. package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
  1000. package/dist/ui-title.editor-40PZSOpn.js +5 -0
  1001. package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
  1002. package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
  1003. package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
  1004. package/dist/ui-toast.js +125 -128
  1005. package/dist/ui-toast.js.map +1 -1
  1006. package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
  1007. package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
  1008. package/dist/ui-toc.js +52 -53
  1009. package/dist/ui-toc.js.map +1 -1
  1010. package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
  1011. package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
  1012. package/dist/ui-toolbar.js +254 -50
  1013. package/dist/ui-toolbar.js.map +1 -1
  1014. package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
  1015. package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
  1016. package/dist/ui-transition.js +13 -14
  1017. package/dist/ui-transition.js.map +1 -1
  1018. package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
  1019. package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
  1020. package/dist/ui-tree-diagram.js +128 -127
  1021. package/dist/ui-tree-diagram.js.map +1 -1
  1022. package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
  1023. package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
  1024. package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
  1025. package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
  1026. package/dist/ui-tree.editor-BoQztwdz.js +5 -0
  1027. package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
  1028. package/dist/ui-tree.js +393 -134
  1029. package/dist/ui-tree.js.map +1 -1
  1030. package/dist/ui-value.editor-CYak24cr.js +5 -0
  1031. package/dist/ui-value.editor-CYak24cr.js.map +1 -0
  1032. package/dist/ui-video.editor-CuWtFVjR.js +5 -0
  1033. package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
  1034. package/dist/ui-video.js +15 -14
  1035. package/dist/ui-video.js.map +1 -1
  1036. package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
  1037. package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
  1038. package/dist/ui-visibility.js +25 -26
  1039. package/dist/ui-visibility.js.map +1 -1
  1040. package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
  1041. package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
  1042. package/dist/ui-zoom.js +82 -83
  1043. package/dist/ui-zoom.js.map +1 -1
  1044. package/dist/util/TopLayerTip.d.ts +11 -2
  1045. package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
  1046. package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
  1047. package/dist/vocabulary/help.generated.d.ts +11 -0
  1048. package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
  1049. package/package.json +3 -3
  1050. package/dist/Dragging-CMZoLEWQ.js.map +0 -1
  1051. package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
  1052. package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
  1053. package/dist/PrefStore-Qv0e5y04.js.map +0 -1
  1054. package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
  1055. package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
  1056. package/dist/SitePages-CciwREek.js.map +0 -1
  1057. package/dist/SlottedItems-Du3aJwG1.js +0 -80
  1058. package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
  1059. package/dist/UIButton-DFEds67r.js +0 -6
  1060. package/dist/UIButton-DFEds67r.js.map +0 -1
  1061. package/dist/UIInput-BodVbUoQ.js.map +0 -1
  1062. package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
  1063. package/dist/UILabel-DgJUBzB_.js.map +0 -1
  1064. package/dist/UIMenu-zdcAtwTa.js +0 -42
  1065. package/dist/UIMenu-zdcAtwTa.js.map +0 -1
  1066. package/dist/UIRuntime-KH309p5B.js.map +0 -1
  1067. package/dist/UISegment-CMMIW7cZ.js.map +0 -1
  1068. package/dist/apple.palette-B4ivrNlM.js.map +0 -1
  1069. package/dist/classic-DCTQrteU.js.map +0 -1
  1070. package/dist/components.es-BOa_7gFF.js.map +0 -1
  1071. package/dist/crisp-VfYZlTph.js.map +0 -1
  1072. package/dist/crisp.theme-DRiePRdf.js +0 -6
  1073. package/dist/crisp.theme-DRiePRdf.js.map +0 -1
  1074. package/dist/dark-CbUdPe0a.js.map +0 -1
  1075. package/dist/dist-BLYIGZVK.js.map +0 -1
  1076. package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
  1077. package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
  1078. package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
  1079. package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
  1080. package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
  1081. package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
  1082. package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
  1083. package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
  1084. package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
  1085. package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
  1086. package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
  1087. package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
  1088. package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
  1089. package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
  1090. package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
  1091. package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
  1092. package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
  1093. package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
  1094. package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
  1095. package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
  1096. package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
  1097. package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
  1098. package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
  1099. package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
  1100. package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
  1101. package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
  1102. package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
  1103. package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
  1104. package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
  1105. package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
  1106. package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
  1107. package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
  1108. package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
  1109. package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
  1110. package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
  1111. package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
  1112. package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
  1113. package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
  1114. package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
  1115. package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
  1116. package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
  1117. package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
  1118. package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
  1119. package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
  1120. package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
  1121. package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
  1122. package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
  1123. package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
  1124. package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
  1125. package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
  1126. package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
  1127. package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
  1128. package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
  1129. package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
  1130. package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
  1131. package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
  1132. package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
  1133. package/dist/fruity-BRVlgJZd.js +0 -6
  1134. package/dist/fruity-BRVlgJZd.js.map +0 -1
  1135. package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
  1136. package/dist/glass-x9tbbwVq.js +0 -6
  1137. package/dist/glass-x9tbbwVq.js.map +0 -1
  1138. package/dist/glass.theme-24wY2wH9.js +0 -6
  1139. package/dist/glass.theme-24wY2wH9.js.map +0 -1
  1140. package/dist/matrix-QY2gWbJ0.js +0 -6
  1141. package/dist/matrix-QY2gWbJ0.js.map +0 -1
  1142. package/dist/matrix.theme-_8xtwhDq.js +0 -6
  1143. package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
  1144. package/dist/merlot-DOXLuUaU.js.map +0 -1
  1145. package/dist/merlot.theme-S-QnNGsw.js +0 -6
  1146. package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
  1147. package/dist/midnight-BxlTQSfw.js.map +0 -1
  1148. package/dist/midnight.theme-wXbqRYLy.js +0 -6
  1149. package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
  1150. package/dist/mockup-83ELBuVr.js +0 -6
  1151. package/dist/mockup-83ELBuVr.js.map +0 -1
  1152. package/dist/mockup.theme-DmpBgGBl.js +0 -6
  1153. package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
  1154. package/dist/paper-M61nUilz.js.map +0 -1
  1155. package/dist/paper.theme-B8R5Jn5H.js +0 -6
  1156. package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
  1157. package/dist/persist.types-D2m6wD-S.js.map +0 -1
  1158. package/dist/pop-CxXfytjk.js.map +0 -1
  1159. package/dist/pop.theme-CXzv8B9x.js +0 -6
  1160. package/dist/pop.theme-CXzv8B9x.js.map +0 -1
  1161. package/dist/search-CzSzx7bX.js.map +0 -1
  1162. package/dist/spell-By5Y3jKP.js +0 -6
  1163. package/dist/spell-By5Y3jKP.js.map +0 -1
  1164. package/dist/spell.theme-DxGj7qHx.js +0 -6
  1165. package/dist/spell.theme-DxGj7qHx.js.map +0 -1
  1166. package/dist/styles.en-CUUxNwHo.js.map +0 -1
  1167. package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
@@ -1,42 +1,38 @@
1
- import { i as e } from "./rolldown-runtime-CYGlBXrH.js";
2
- import { Bt as t, ClipboardCopy as n, DOMElement as r, Dt as i, Et as a, Ht as o, Lt as s, Ot as c, Rt as l, Tt as u, UI as d, UIComponent as f, Ut as p, Vt as m, Warnings as h, after as g, afterSolidUpdate as ee, cssState as _, derived as v, kt as y, lazy as te, onChange as b, once as x, proto as ne, protoMerged as re, soon as ie, state as S, untracked as C, whileConnected as ae, wt as oe, zt as se } from "./core.js";
3
- import "./ui-button.js";
4
- import "./ui-item.js";
5
- import "./ui-dropdown.js";
6
- import "./ui-icon.js";
7
- import "./ui-label.js";
8
- import "./ui-parts.js";
9
- import { t as w } from "./PrefStore-Qv0e5y04.js";
10
- import "./ui-message.js";
1
+ import { i as e } from "./rolldown-runtime-c6e9CmGy.js";
2
+ import { At as t, ClipboardCopy as n, DOMElement as r, Dt as i, Et as a, Gt as o, Jt as s, Kt as c, Ot as l, UI as u, UIComponent as d, Ut as f, Warnings as p, Wt as m, Yt as h, after as g, afterSolidUpdate as ee, cssState as _, derived as v, jt as y, kt as te, lazy as ne, onChange as b, once as re, proto as ie, protoMerged as ae, qt as x, soon as oe, state as S, untracked as C, whileConnected as se } from "./core.js";
3
+ import { t as w } from "./PrefStore-Di83C0bY.js";
4
+ import { i as ce, r as T, t as E } from "./ThemeDraft-CyX3YA_L.js";
5
+ import { a as le, c as ue, d as de, f as fe, i as pe, l as me, o as he, s as D, u as ge } from "./ui-theme-menu-BZYUMrHe.js";
6
+ import "./ui-property-editor.js";
11
7
  import "./ui-input.js";
12
- import "./ui-checkbox.js";
8
+ import "./ui-select.js";
9
+ import "./ui-dropdown.js";
10
+ import "./ui-item.js";
11
+ import "./ui-slider.js";
13
12
  import "./ui-menu.js";
13
+ import "./ui-button.js";
14
14
  import "./ui-card.js";
15
- import "./ui-select.js";
15
+ import "./ui-parts.js";
16
+ import "./ui-checkbox.js";
17
+ import "./ui-label.js";
18
+ import "./ui-message.js";
16
19
  import "./ui-progress.js";
17
- import "./ui-slider.js";
20
+ import "./ui-icon.js";
18
21
  import "./ui-section.js";
19
- import "./ui-property-editor.js";
20
22
  import "./ui-code.js";
21
- import { i as ce, r as T, t as E } from "./ThemeDraft-B7NPif4d.js";
22
- import { a as le, c as ue, d as de, f as fe, i as pe, l as me, o as he, s as D, u as ge } from "./ui-theme-menu-CuIjr8Ou.js";
23
23
  import { For as O, Show as k } from "solid-js";
24
24
  import { claimElement as _e, className as A, createComponent as j, delegateEvents as ve, effect as M, getOwner as N, insert as P, isServer as F, memo as I, readShallow as L, ref as R, setAttribute as z, style as ye, template as B } from "@solidjs/web";
25
- //#region src/components/ui-theme-editor/PageBridge.ts
25
+ // src/components/ui-theme-editor/PageBridge.ts
26
26
  var be = class PageBridge {
27
27
  static applyCss(e, t) {
28
28
  let n = e.getElementById(Se);
29
- if (!t) {
30
- n?.remove();
31
- return;
32
- }
33
- n || (n = e.createElement("style"), n.id = Se), n !== e.head.lastElementChild && e.head.append(n), n.textContent !== t && (n.textContent = t);
29
+ t ? (n || (n = e.createElement("style"), n.id = Se), n !== e.head.lastElementChild && e.head.append(n), n.textContent !== t && (n.textContent = t)) : n?.remove();
34
30
  }
35
31
  static pinScheme(e, t) {
36
32
  let n = e.defaultView;
37
33
  if (!n) return;
38
34
  let r = !xe.has(n);
39
- xe.set(n, t), PageBridge.showScheme(e, t), r && n.addEventListener("storage", () => ie(() => PageBridge.showScheme(e, xe.get(n))));
35
+ xe.set(n, t), PageBridge.showScheme(e, t), r && n.addEventListener("storage", () => oe(() => PageBridge.showScheme(e, xe.get(n))));
40
36
  }
41
37
  static showScheme(e, t) {
42
38
  let n = e.documentElement;
@@ -127,8 +123,7 @@ function isStyleRule(e) {
127
123
  return "selectorText" in e && "style" in e;
128
124
  }
129
125
  var Te = /^https?:\/\/(?:localhost|127\.0\.0\.1|\[::1\])(?::\d+)?$/;
130
- //#endregion
131
- //#region ../src/util/color.ts
126
+ // ../src/util/color.ts
132
127
  function rgbToHex({ r: e, g: t, b: n, alpha: r }) {
133
128
  let i = r === void 0 || r >= 1 ? "" : byte(r);
134
129
  return `#${byte(e)}${byte(t)}${byte(n)}${i}`;
@@ -139,8 +134,7 @@ function unit(e) {
139
134
  function byte(e) {
140
135
  return Math.round(unit(e) * 255).toString(16).padStart(2, "0");
141
136
  }
142
- //#endregion
143
- //#region src/components/ui-theme-editor/TokenColor.ts
137
+ // src/components/ui-theme-editor/TokenColor.ts
144
138
  var V = class TokenColor {
145
139
  static isColor(e) {
146
140
  return !!e && !e.includes("var(") && CSS.supports("color", e);
@@ -258,6 +252,7 @@ var V = class TokenColor {
258
252
  ],
259
253
  skeleton: "30 tall",
260
254
  noun: "theme editor",
255
+ partOfSpeech: "action",
261
256
  description: "A theme editor makes a theme from an existing one: pick its colours, fonts and shapes, or set any token by hand, watch real pages follow in light and dark, then copy the theme file or keep it in the browser.",
262
257
  attributes: [
263
258
  {
@@ -1285,7 +1280,7 @@ var V = class TokenColor {
1285
1280
  ]
1286
1281
  }, ke = "@layer ui.components.theme-editor.types{:host{--_ui-theme-editor-side-width:var(--ui-theme-editor-side-width,440px);--_ui-theme-editor-gap:var(--ui-theme-editor-gap,12px);display:block;container-type:inline-size}.theme-editor{gap:var(--_ui-theme-editor-gap);box-sizing:border-box;height:100%;color:var(--ui-text-color);font-family:var(--ui-font-family);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);display:grid}.theme-editor.paged{min-height:640px}.body{grid-template-columns:minmax(0, 1fr) var(--_ui-theme-editor-side-width);gap:var(--_ui-theme-editor-gap);min-height:0;display:grid}@container (width<960px){.body{grid-template-columns:minmax(0,1fr)}}}@layer ui.components.theme-editor.content{.bar{border-radius:var(--ui-radius-l,12px);background:var(--ui-bar-background,var(--ui-surface));min-width:0;backdrop-filter:var(--ui-bar-filter,none);box-shadow:var(--ui-shadow-subtle,none);align-items:center;gap:14px;padding:8px 12px;display:flex}.title{flex:none;align-items:center;gap:10px;display:flex}.title ui-icon{color:var(--ui-primary);font-size:1.4em}.title h1{font-family:var(--ui-font-family-heading,inherit);white-space:nowrap;margin:0;font-size:1.1em;line-height:1.2}.tools-wrap{flex:auto;min-width:0;display:flex;position:relative}.tools{--_fade-start:0px;--_fade-end:0px;mask-image:linear-gradient(to right, transparent, #000 var(--_fade-start), #000 calc(100% - var(--_fade-end)), transparent);scrollbar-width:none;--ui-menu-margin:0;flex:auto;align-items:center;gap:10px;min-width:0;display:flex;overflow-x:auto}.page-toggles{margin-inline-start:auto}.bar{--_pressed-background:var(--ui-menu-segmented-active-background,var(--ui-surface-strong));--_pressed-shadow:inset 0 1px 3px #00000047, inset 0 0 0 1px color-mix(in oklab, var(--ui-text-color) 12%, transparent)}.toggle::part(item){color:var(--ui-text-muted)}.toggle.on::part(item){color:var(--ui-menu-segmented-active-color,var(--ui-text-color));background:var(--_pressed-background);box-shadow:var(--_pressed-shadow)}.more-start .tools{--_fade-start:40px}.more-end .tools{--_fade-end:40px}.edge{z-index:1;width:26px;color:var(--ui-text-muted);cursor:var(--ui-control-cursor);background:0 0;border:0;place-items:center;padding:0;display:inline-grid;position:absolute;inset-block:0}.edge.start{inset-inline-start:0}.edge.end{inset-inline-end:0}.edge[hidden]{display:none}.edge:hover{color:var(--ui-link,var(--ui-primary))}.edge ui-icon{--ui-icon-width:auto;margin:0}.bar-toggle{--ui-button-radius:9999px;--ui-button-background:transparent}.bar-toggle[aria-pressed=true]{--ui-button-background:var(--_pressed-background)}.bar-toggle[aria-pressed=true]::part(button){box-shadow:var(--_pressed-shadow)}.pages{gap:var(--_ui-theme-editor-gap);grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);min-height:0;display:grid}.pages.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pages.grid>.page.wide{grid-column:1/-1}.page{border-radius:var(--ui-radius-l,12px);background:var(--ui-surface);border:1px solid var(--ui-border-color);min-height:0;box-shadow:var(--ui-shadow-raised,none);grid-template-rows:auto minmax(0,1fr);gap:6px;margin:0;padding:6px;display:grid}.page[hidden]{display:none}@container (width<960px){.pages,.pages.grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:70vh}.page-path{display:none}}.page-head{border-radius:calc(var(--ui-radius-l,12px) - 6px);cursor:grab;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;min-width:0;padding:2px 6px;display:flex}.page-head:focus-visible{outline:2px solid var(--ui-focus-color,var(--ui-primary));outline-offset:1px}.pages.dragging iframe{pointer-events:none}.page{position:relative}.page.drop-before:after,.page.drop-after:after{content:\"\";background:var(--ui-primary);pointer-events:none;border-radius:2px;width:4px;position:absolute;inset-block:0}.page.drop-before:after{inset-inline-start:calc(-1 * var(--_ui-theme-editor-gap) / 2 - 2px)}.page.drop-after:after{inset-inline-end:calc(-1 * var(--_ui-theme-editor-gap) / 2 - 2px)}.page-icon{--ui-icon-width:auto;color:var(--ui-primary-text,var(--ui-primary));margin:0}.page-title{white-space:nowrap;font-weight:600}.page-path{text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text-muted);margin-inline-end:auto;font-size:.8em;overflow:hidden}.page-tool{color:var(--ui-text-muted);display:inline-flex}.frames{grid-template-columns:minmax(0,1fr);gap:6px;min-height:0;display:grid}.frames.both{grid-template-columns:repeat(2,minmax(0,1fr))}.frames.dark-first .frame.dark{order:-1}.frame{grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.viewport{border-radius:calc(var(--ui-radius-l,12px) - 6px);background:var(--ui-background);min-height:0;position:relative;overflow:hidden}.viewport.phone{background:var(--ui-surface-muted,var(--ui-background))}.viewport iframe{transform-origin:0 0;background:var(--ui-background);border:0;position:absolute;inset:0 auto auto 0}.viewport:not(.loaded) iframe{visibility:hidden}.viewport .note{margin:1.5em}.previews{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-content:start;gap:1em;display:grid}.sample{border-radius:var(--ui-radius-l,14px);color:var(--ui-text-color);font-family:var(--ui-font-family);background-color:var(--ui-background);background-image:var(--ui-bar-wallpaper,none);box-shadow:0 0 0 1px var(--ui-border-color);--ui-card-margin-block:0;--ui-progress-margin:0;--ui-message-margin:0;--ui-message-icon-size:1.25em;flex-direction:column;gap:.9em;padding:1.1em;display:flex}.sample[hidden]{display:none}.sample-head{justify-content:space-between;align-items:center;gap:.75em;display:flex}.sample-scheme{font:600 .7em/1 var(--ui-font-family-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ui-text-muted)}.sample-title{font:700 1.45em/1.15 var(--ui-font-family-heading);color:var(--ui-text-dark);margin-block-start:.2em}.sample-badge{border-radius:var(--ui-radius-m,10px);background:var(--ui-primary-background);block-size:2.4em;inline-size:2.4em;color:var(--ui-primary-text);place-items:center;display:grid}.habits{flex-direction:column;gap:.6em;margin-block:.6em .9em;display:flex}.add{gap:.5em;display:flex}.add>ui-input{flex:1;min-inline-size:0}.sample-row{--ui-button-margin-inline:0;flex-wrap:wrap;align-items:center;gap:.5em;display:flex}.side{overscroll-behavior:contain;border-radius:var(--ui-radius-l,12px);background:var(--ui-surface);border:1px solid var(--ui-border-color);min-height:0;box-shadow:var(--ui-shadow-raised,none);flex-direction:column;gap:10px;padding:12px;display:flex;overflow-y:auto}.actions{--ui-button-margin-inline:0;flex-wrap:wrap;gap:.5em;display:flex}.note{color:var(--ui-text-muted);margin:.5em 0}.properties{padding:4px 8px 8px;display:block}.file{min-width:0;font-family:var(--ui-font-family-mono);color:var(--ui-text-muted);white-space:nowrap;text-overflow:ellipsis;flex:auto;font-size:.8em;overflow:hidden}.group::part(heading){white-space:nowrap}.changes ui-code{--ui-code-font-size:.8em;--ui-code-line-height:1.55}.changes .note{padding-inline:8px}.properties ui-item{white-space:nowrap}.basics,.tokens{flex-direction:column;gap:10px;display:flex}.group{--ui-section-margin:0;--ui-section-content-padding:0;border-radius:calc(var(--ui-radius-l,12px) - 4px);border:1px solid var(--ui-border-color-internal,var(--ui-border-color));background:color-mix(in oklab, var(--ui-surface) 55%, transparent);display:block;overflow:clip}.group::part(title){background:linear-gradient(var(--ui-section-title-background,var(--ui-surface-strong)), var(--ui-section-title-background,var(--ui-surface-strong))), linear-gradient(var(--ui-surface), var(--ui-surface)), var(--ui-background);border-block-end:1px solid var(--ui-border-color-internal,var(--ui-border-color));padding:6px 8px}.group::part(heading){font-size:1em}.branch{--ui-section-margin:0;--ui-section-content-padding:0;border-inline-start:1px solid var(--ui-border-color-internal,var(--ui-border-color));margin-inline-start:12px;display:block}.branch::part(title){background:linear-gradient(var(--ui-surface), var(--ui-surface)), var(--ui-background);padding:4px 8px}.branch::part(heading){font-size:.85em;font-weight:600;font-family:var(--ui-font-family-mono,monospace)}.mark{text-align:center;flex:none;width:1em;font-size:.8em;line-height:1}.mark.set{color:var(--ui-primary-text,var(--ui-primary))}.mark.from{color:var(--ui-text-muted)}.group-count{color:var(--ui-text-muted);white-space:nowrap;font-size:.75em}.chip{--ui-button-radius:9999px;flex:none}.chip[aria-pressed=true]{--ui-button-background:var(--ui-primary-background,var(--ui-surface-strong))}.marks-legend{color:var(--ui-text-muted);margin:0;padding-inline:8px;font-size:.75em}.marks-legend .mark{display:inline-block}.side-head{z-index:calc(var(--ui-z-sticky,10) + 10);background:linear-gradient(var(--ui-surface), var(--ui-surface)), var(--ui-background);border-block-end:1px solid var(--ui-border-color-internal,var(--ui-border-color));gap:8px;margin:0 -12px;padding:12px 12px 6px;display:grid;position:sticky;top:-12px;container-type:scroll-state}@container scroll-state(stuck:top){.side-head:after{content:\"\";pointer-events:none;background:linear-gradient(#0000001f,#0000);height:10px;position:absolute;inset:100% 0 auto}}.tokens-bar{align-items:center;gap:2px;display:flex}.tokens-bar .tokens-title{margin-inline-end:auto}.head-tool{--ui-button-background:transparent;--ui-button-radius:.45em}.head-tool[aria-pressed=true]{--ui-button-background:var(--ui-menu-segmented-active-background,var(--ui-surface-strong))}.info-pane{gap:4px;display:grid}.half-dot{box-sizing:border-box;border:1.5px solid var(--ui-warning-text,#b45309);background:linear-gradient(90deg, var(--ui-warning-text,#b45309) 50%, var(--ui-surface) 50%);border-radius:50%;width:9px;height:9px;display:inline-block}.tokens-title{font-family:var(--ui-font-family-heading,inherit);margin:0;font-size:1em}.find-row{align-items:center;gap:6px;display:flex}.find-row .find{flex:auto;min-width:0}.toggle-all{width:1.9em;height:1.9em;color:var(--ui-text-muted);cursor:var(--ui-control-cursor);background:0 0;border:none;border-radius:.45em;flex:none;place-items:center;padding:0;display:inline-grid}.toggle-all:hover{color:var(--ui-link,var(--ui-primary));background:color-mix(in oklab, currentColor 10%, transparent)}.toggle-all:focus-visible{outline:2px solid var(--ui-focus-color,var(--ui-link));outline-offset:1px}.chevrons{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1em;height:1em;display:block}.legend{color:var(--ui-text-muted);flex-wrap:wrap;align-items:center;gap:4px 10px;padding-inline:8px;font-size:.75em;display:flex}.legend-label{font-weight:600}.legend-item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.legend-item.overrides{flex-basis:100%}.legend-item ui-icon{--ui-icon-width:auto;color:var(--ui-primary-text,var(--ui-primary));margin:0}.probe{width:0;height:0;position:absolute;overflow:hidden}.probe.ui-light{color-scheme:light}.probe.ui-dark{color-scheme:dark}}", Ae = /* @__PURE__ */ B("<div class=pages>"), je = /* @__PURE__ */ B("<div class=\"ui theme-editor\"><div class=body><!><!></div><div class=\"probe ui-light\"aria-hidden=true></div><div class=\"probe ui-dark\"aria-hidden=true>"), Me = /* @__PURE__ */ B("<ui-button class=\"bar-toggle phone\"size=small icon=\"mobile alternate\">", 1), Ne = /* @__PURE__ */ B("<header class=bar><div class=title><ui-icon name=swatchbook aria-hidden=true></ui-icon><h1></h1></div><div class=tools-wrap><div class=tools><!><!><!></div><!>", 1), Pe = /* @__PURE__ */ B("<ui-item class=toggle icon=\"exchange alternate\">", 1), Fe = /* @__PURE__ */ B("<ui-menu class=schemes-group appearance=\"segmented link header\"size=small><!><!>", 1), H = /* @__PURE__ */ B("<ui-item>", 1), Ie = /* @__PURE__ */ B("<ui-menu class=page-toggles appearance=\"segmented link header\"choose=many size=small>", 1), Le = /* @__PURE__ */ B("<button type=button><ui-icon aria-hidden=true>", 1), Re = /* @__PURE__ */ B("<ui-menu appearance=\"segmented link\"size=small>", 1), ze = /* @__PURE__ */ B("<a class=page-tool target=_blank><ui-icon name=\"external alternate\"appearance=link aria-hidden=true>", 1), Be = /* @__PURE__ */ B("<figure class=page><figcaption class=page-head draggable=true tabindex=0><ui-icon class=page-icon aria-hidden=true></ui-icon><span class=page-title></span><code class=page-path></code><ui-icon class=page-tool name=redo link appearance=link></ui-icon></figcaption><div>", 1), Ve = /* @__PURE__ */ B("<iframe>"), He = /* @__PURE__ */ B("<p class=\"note loading\">"), Ue = /* @__PURE__ */ B("<div><div class=viewport>"), U = /* @__PURE__ */ B("<p class=note>"), We = /* @__PURE__ */ B("<div class=previews><!><!>"), Ge = /* @__PURE__ */ B("<div><div class=sample-head><div><div class=sample-scheme></div><div class=sample-title></div></div><span class=sample-badge><ui-icon name=seedling aria-hidden=true></ui-icon></span></div><ui-card fluid><ui-content><ui-header></ui-header><div class=habits><ui-checkbox selected></ui-checkbox><ui-checkbox></ui-checkbox><ui-checkbox></ui-checkbox></div><div class=add><ui-input></ui-input><ui-button icon=plus color=primary></ui-button></div></ui-content></ui-card><div class=sample-row><ui-button size=small color=secondary></ui-button><ui-button size=small appearance=basic></ui-button><ui-label size=small color=primary></ui-label><ui-checkbox appearance=toggle selected></ui-checkbox></div><ui-message color=primary><ui-icon slot=icon name=bolt></ui-icon><b></b> </ui-message><ui-progress value=66>", 1), Ke = /* @__PURE__ */ B("<aside class=side><!><!><!><!>"), qe = /* @__PURE__ */ B("<ui-button size=small icon=\"trash alternate outline\"appearance=basic>", 1), Je = /* @__PURE__ */ B("<ui-select size=small>", 1), Ye = /* @__PURE__ */ B("<ui-button size=small icon=upload appearance=basic>", 1), Xe = /* @__PURE__ */ B("<div class=actions><ui-button size=small appearance=basic></ui-button><ui-button size=small icon=save color=primary></ui-button><ui-button size=small icon=\"copy outline\"appearance=basic></ui-button><ui-button size=small icon=download appearance=basic></ui-button><ui-button size=small icon=upload appearance=basic></ui-button><input type=file class=import-file accept=.json5,.json hidden><!><!><!><!><!>", 1), Ze = /* @__PURE__ */ B("<p class=\"note error\">"), Qe = /* @__PURE__ */ B("<section class=basics><div class=side-head><header class=tokens-bar><h2 class=tokens-title></h2></header></div><!><!><!><!>"), $e = /* @__PURE__ */ B("<ui-property name=name width=1/2><ui-input size=small fluid>", 1), et = /* @__PURE__ */ B("<ui-item kind=header>", 1), tt = /* @__PURE__ */ B("<ui-property name=base width=1/2><ui-select size=small fluid><!><!>", 1), nt = /* @__PURE__ */ B("<ui-section class=group collapsible level=3 sticky><ui-property-editor class=properties compact show-defaults>", 1), rt = /* @__PURE__ */ B("<ui-property>", 1), it = /* @__PURE__ */ B("<ui-property width=1/2><ui-select size=small fluid><ui-item>", 1), at = /* @__PURE__ */ B("<ui-property name=textSize><ui-slider>", 1), ot = /* @__PURE__ */ B("<ui-property><ui-menu appearance=\"segmented link\"align=fluid size=small>", 1), st = /* @__PURE__ */ B("<ui-button slot=actions size=mini appearance=\"circular basic\">", 1), ct = /* @__PURE__ */ B("<div class=find-row><ui-input class=find size=small icon=search fluid></ui-input><ui-button class=chip size=mini appearance=basic> <!>", 1), lt = /* @__PURE__ */ B("<div class=info-pane><p class=marks-legend> <b></b> · <span class=\"mark set\"></span> <!> <span class=\"mark from\"></span> <!> <span class=source-mark></span> <!> <span class=source-mark></span> <!>"), ut = /* @__PURE__ */ B("<section class=tokens><div class=\"side-head tokens-head\"><header class=tokens-bar><h2 class=tokens-title></h2><!><!><!></header><!><!>"), dt = /* @__PURE__ */ B("<span slot=actions class=group-count>"), ft = /* @__PURE__ */ B("<ui-section collapsible sticky><!><!>", 1), pt = /* @__PURE__ */ B("<ui-theme-token>", 1), mt = /* @__PURE__ */ B("<ui-button class=head-tool size=mini>", 1), ht = /* @__PURE__ */ B("<button type=button class=toggle-all><svg class=chevrons viewBox=\"0 0 16 16\"aria-hidden=true><path>"), gt = /* @__PURE__ */ B("<div class=legend aria-hidden=true><span class=legend-label></span><span class=\"legend-item overrides\"><span class=half-dot>"), _t = /* @__PURE__ */ B("<span class=legend-item><ui-icon>", 1), vt = /* @__PURE__ */ B("<ui-code language=javascript wrap>", 1), yt = /* @__PURE__ */ B("<ui-section class=\"group changes\"collapsible level=2 sticky><span slot=actions class=file></span><ui-button slot=actions class=copy size=mini>", 1), bt, xt, St, Ct, W, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut, Wt, Gt, Kt, qt, Jt, Yt, Xt, Zt, Qt, $t, en, tn, nn, rn, an, on, sn, cn, ln, un, dn, fn, pn, mn, hn, gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn, Fn, In, Ln, Rn, zn, Bn, Vn, Hn, G, Un, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Qn, $n, er, tr, nr, rr, ir, ar, or, sr, cr, lr, ur, dr, fr, pr, mr, hr, K = class _DOMThemeEditorElement extends (Ct = r, St = [C], xt = [C], bt = [C], Ct) {
1287
1282
  constructor() {
1288
- super(...arguments), p(W, 5, this);
1283
+ super(...arguments), h(W, 5, this);
1289
1284
  }
1290
1285
  get theme() {
1291
1286
  return this.component?.theme;
@@ -1297,30 +1292,30 @@ var V = class TokenColor {
1297
1292
  return this.component?.draft.changes;
1298
1293
  }
1299
1294
  };
1300
- W = se(Ct), s(W, 2, "theme", St, K), s(W, 2, "css", xt, K), s(W, 2, "changes", bt, K), l(W, K), t(K, "DOMThemeEditorElement");
1301
- var gr = K, q = class _UIThemeEditor extends (Hn = f, Vn = [ne], Bn = [re], zn = [S], Rn = [S], Ln = [S], In = [x], Fn = [v], Pn = [_("changed")], Nn = [C], Mn = [C], jn = [C], An = [C], kn = [C], On = [b("isConnected", "isReady", "hasPages")], Dn = [b("draft", "isConnected", "isReady", "hasPages")], En = [b("baseTheme", "scheme", { defer: !0 })], Tn = [S], wn = [S], Cn = [C], Sn = [C], xn = [C], bn = [C], yn = [C], vn = [v], _n = [S], gn = [C], hn = [S], mn = [S], pn = [ae], fn = [C], dn = [C], un = [ae], ln = [S], cn = [S], sn = [S], on = [C], an = [C], rn = [S], nn = [C], tn = [S], en = [S], $t = [C], Qt = [b("hasPages", "isConnected", "baseTheme", "schemes", "isSwapped", "shownPageIds", "device")], Zt = [S], Xt = [S], Yt = [S], Jt = [v], qt = [C], Kt = [C], Gt = [C], Wt = [S], Ut = [te], Ht = [S], Vt = [v], Bt = [S], zt = [S], Rt = [C], Lt = [S], It = [v], Ft = [v], Pt = [C], Nt = [C], Mt = [S], jt = [S], At = [S], kt = [S], Ot = [C], Dt = [C], Et = [S], Tt = [C], wt = [C], Hn) {
1295
+ W = o(Ct), f(W, 2, "theme", St, K), f(W, 2, "css", xt, K), f(W, 2, "changes", bt, K), m(W, K), c(K, "DOMThemeEditorElement");
1296
+ var gr = K, q = class _UIThemeEditor extends (Hn = d, Vn = [ie], Bn = [ae], zn = [S], Rn = [S], Ln = [S], In = [re], Fn = [v], Pn = [_("changed")], Nn = [C], Mn = [C], jn = [C], An = [C], kn = [C], On = [b("isConnected", "isReady", "hasPages")], Dn = [b("draft", "isConnected", "isReady", "hasPages")], En = [b("baseTheme", "scheme", { defer: !0 })], Tn = [S], wn = [S], Cn = [C], Sn = [C], xn = [C], bn = [C], yn = [C], vn = [v], _n = [S], gn = [C], hn = [S], mn = [S], pn = [se], fn = [C], dn = [C], un = [se], ln = [S], cn = [S], sn = [S], on = [C], an = [C], rn = [S], nn = [C], tn = [S], en = [S], $t = [C], Qt = [b("hasPages", "isConnected", "baseTheme", "schemes", "isSwapped", "shownPageIds", "device")], Zt = [S], Xt = [S], Yt = [S], Jt = [v], qt = [C], Kt = [C], Gt = [C], Wt = [S], Ut = [ne], Ht = [S], Vt = [v], Bt = [S], zt = [S], Rt = [C], Lt = [S], It = [v], Ft = [v], Pt = [C], Nt = [C], Mt = [S], jt = [S], At = [S], kt = [S], Ot = [C], Dt = [C], Et = [S], Tt = [C], wt = [C], Hn) {
1302
1297
  constructor() {
1303
- super(...arguments), p(G, 5, this), o(this, "addressed", F ? {} : pe.read()), m(this, Un, p(G, 8, this)), p(G, 11, this), o(this, "keptAtStart", F ? void 0 : w.getAt(xr)), m(this, Wn, p(G, 12, this)), p(G, 15, this), m(this, Gn, p(G, 16, this)), p(G, 19, this), m(this, Kn, p(G, 20, this, F ? [] : D.list)), p(G, 23, this), m(this, qn, p(G, 24, this, F ? void 0 : w.getAt(Sr))), p(G, 27, this), o(this, "exportUrl"), m(this, Jn, p(G, 28, this)), p(G, 31, this), m(this, Yn, p(G, 32, this, !1)), p(G, 35, this), m(this, Xn, p(G, 36, this)), p(G, 39, this), o(this, "clipboard", new n({ seconds: ui })), m(this, Zn, p(G, 40, this, F ? [] : w.getAt(Tr) ?? [])), p(G, 43, this), m(this, Qn, p(G, 44, this, F ? [] : w.getAt(Er) ?? [])), p(G, 47, this), m(this, $n, p(G, 48, this, this.addressed.pages)), p(G, 51, this), m(this, er, p(G, 52, this, F ? "both" : this.addressed.schemes ?? w.getAt(jr) ?? "both")), p(G, 55, this), m(this, tr, p(G, 56, this, this.addressed.device ?? "desk")), p(G, 59, this), m(this, nr, p(G, 60, this, F ? !1 : this.addressed.isSwapped ?? w.getAt(Or) === !0)), p(G, 63, this), m(this, rr, p(G, 64, this, {})), p(G, 67, this), m(this, ir, p(G, 68, this, {})), p(G, 71, this), m(this, ar, p(G, 72, this, {})), p(G, 75, this), o(this, "frames", /* @__PURE__ */ new Map()), o(this, "begun", /* @__PURE__ */ new Set()), o(this, "asked", 0), m(this, or, p(G, 76, this, {
1298
+ super(...arguments), h(G, 5, this), s(this, "addressed", F ? {} : pe.read()), x(this, Un, h(G, 8, this)), h(G, 11, this), s(this, "keptAtStart", F ? void 0 : w.getAt(xr)), x(this, Wn, h(G, 12, this)), h(G, 15, this), x(this, Gn, h(G, 16, this)), h(G, 19, this), x(this, Kn, h(G, 20, this, F ? [] : D.list)), h(G, 23, this), x(this, qn, h(G, 24, this, F ? void 0 : w.getAt(Sr))), h(G, 27, this), s(this, "exportUrl"), x(this, Jn, h(G, 28, this)), h(G, 31, this), x(this, Yn, h(G, 32, this, !1)), h(G, 35, this), x(this, Xn, h(G, 36, this)), h(G, 39, this), s(this, "clipboard", new n({ seconds: ui })), x(this, Zn, h(G, 40, this, F ? [] : w.getAt(Tr) ?? [])), h(G, 43, this), x(this, Qn, h(G, 44, this, F ? [] : w.getAt(Er) ?? [])), h(G, 47, this), x(this, $n, h(G, 48, this, this.addressed.pages)), h(G, 51, this), x(this, er, h(G, 52, this, F ? "both" : this.addressed.schemes ?? w.getAt(jr) ?? "both")), h(G, 55, this), x(this, tr, h(G, 56, this, this.addressed.device ?? "desk")), h(G, 59, this), x(this, nr, h(G, 60, this, F ? !1 : this.addressed.isSwapped ?? w.getAt(Or) === !0)), h(G, 63, this), x(this, rr, h(G, 64, this, {})), h(G, 67, this), x(this, ir, h(G, 68, this, {})), h(G, 71, this), x(this, ar, h(G, 72, this, {})), h(G, 75, this), s(this, "frames", /* @__PURE__ */ new Map()), s(this, "begun", /* @__PURE__ */ new Set()), s(this, "asked", 0), x(this, or, h(G, 76, this, {
1304
1299
  basics: 0,
1305
1300
  tokens: 0,
1306
1301
  top: 0
1307
- })), p(G, 79, this), o(this, "heads", /* @__PURE__ */ new Map()), m(this, sr, p(G, 80, this, "")), p(G, 83, this), m(this, cr, p(G, 84, this, F ? {} : w.getAt(wr) ?? {})), p(G, 87, this), o(this, "branchSections", /* @__PURE__ */ new Map()), m(this, lr, p(G, 88, this, !1)), p(G, 91, this), m(this, ur, p(G, 92, this, !1)), p(G, 95, this), o(this, "probes", {}), o(this, "text", /* @__PURE__ */ t((e, t) => this.isReady ? this.translationForKey(e, t) : "", "text")), m(this, dr, p(G, 96, this, {
1302
+ })), h(G, 79, this), s(this, "heads", /* @__PURE__ */ new Map()), x(this, sr, h(G, 80, this, "")), h(G, 83, this), x(this, cr, h(G, 84, this, F ? {} : w.getAt(wr) ?? {})), h(G, 87, this), s(this, "branchSections", /* @__PURE__ */ new Map()), x(this, lr, h(G, 88, this, !1)), h(G, 91, this), x(this, ur, h(G, 92, this, !1)), h(G, 95, this), s(this, "probes", {}), s(this, "text", /* @__PURE__ */ c((e, t) => this.isReady ? this.translationForKey(e, t) : "", "text")), x(this, dr, h(G, 96, this, {
1308
1303
  start: !1,
1309
1304
  end: !1
1310
- })), p(G, 99, this), o(this, "toolsBox"), m(this, fr, p(G, 100, this)), p(G, 103, this), m(this, pr, p(G, 104, this)), p(G, 107, this), m(this, mr, p(G, 108, this, F ? {
1305
+ })), h(G, 99, this), s(this, "toolsBox"), x(this, fr, h(G, 100, this)), h(G, 103, this), x(this, pr, h(G, 104, this)), h(G, 107, this), x(this, mr, h(G, 108, this, F ? {
1311
1306
  search: !1,
1312
1307
  info: !1
1313
1308
  } : {
1314
1309
  search: !1,
1315
1310
  info: !1,
1316
1311
  ...w.getAt(ti)
1317
- })), p(G, 111, this), o(this, "findInput"), m(this, hr, p(G, 112, this)), p(G, 115, this);
1312
+ })), h(G, 111, this), s(this, "findInput"), x(this, hr, h(G, 112, this)), h(G, 115, this);
1318
1313
  }
1319
1314
  get theme() {
1320
1315
  return this.edited ?? this.startingTheme;
1321
1316
  }
1322
1317
  get startingTheme() {
1323
- let e = this.value, t = this.addressed.theme, n = t ?? this.base ?? (this.isReady ? d.themes.current : void 0) ?? "fruity";
1318
+ let e = this.value, t = this.addressed.theme, n = t ?? this.base ?? (this.isReady ? u.themes.current : void 0) ?? "fruity";
1324
1319
  if (e && typeof e == "object") return {
1325
1320
  ...e,
1326
1321
  name: e.name ?? this.text("defaultName"),
@@ -1411,22 +1406,19 @@ var gr = K, q = class _UIThemeEditor extends (Hn = f, Vn = [ne], Bn = [re], zn =
1411
1406
  onShown(e, t, n) {
1412
1407
  if (!e || !t) return;
1413
1408
  if (this.loadFiles(), n) return he.wear(br), () => void he.wear(void 0);
1414
- let r = d.themes.current, i = d.styles.sheet(me), a = i ? [...i.cssRules].map((e) => e.cssText).join("\n") : "";
1409
+ let r = u.themes.current, i = u.styles.sheet(me), a = i ? [...i.cssRules].map((e) => e.cssText).join("\n") : "";
1415
1410
  return () => {
1416
- D.putOnPage(a), d.themes.current !== r && d.themes.apply(r).catch((e) => {
1417
- h.warn("<ui-theme-editor>", `can't put the page's theme \`${r}\` back`, e);
1411
+ D.putOnPage(a), u.themes.current !== r && u.themes.apply(r).catch((e) => {
1412
+ p.warn("<ui-theme-editor>", `can't put the page's theme \`${r}\` back`, e);
1418
1413
  });
1419
1414
  };
1420
1415
  }
1421
1416
  onDraftChanged(e, t, n, r) {
1422
1417
  if (t && n) {
1423
- if (!r) {
1424
- D.wear(e.choices.base, e.css).catch((t) => {
1425
- h.warn("<ui-theme-editor>", `can't apply the theme on \`${e.choices.base}\``, t);
1426
- });
1427
- return;
1428
- }
1429
- for (let e of this.frameKeys) this.dress(e, {
1418
+ if (!r) D.wear(e.choices.base, e.css).catch((t) => {
1419
+ p.warn("<ui-theme-editor>", `can't apply the theme on \`${e.choices.base}\``, t);
1420
+ });
1421
+ else for (let e of this.frameKeys) this.dress(e, {
1430
1422
  css: !0,
1431
1423
  look: !0
1432
1424
  });
@@ -1471,7 +1463,7 @@ var gr = K, q = class _UIThemeEditor extends (Hn = f, Vn = [ne], Bn = [re], zn =
1471
1463
  }
1472
1464
  async remove() {
1473
1465
  let e = this.editing;
1474
- e && await d.modals.confirm(this.text("removeAsk", { name: e.name })) && (D.remove(e.id), this.myThemes = D.list, this.setEditing(void 0), this.send("ui-saved", { css: "" }));
1466
+ e && await u.modals.confirm(this.text("removeAsk", { name: e.name })) && (D.remove(e.id), this.myThemes = D.list, this.setEditing(void 0), this.send("ui-saved", { css: "" }));
1475
1467
  }
1476
1468
  open(e) {
1477
1469
  let t = D.get(e);
@@ -1501,23 +1493,23 @@ ${JSON.stringify(e, void 0, 2)}
1501
1493
  async importFile(t) {
1502
1494
  this.importError = void 0;
1503
1495
  try {
1504
- let n = this.files ?? await T.load(), { default: r } = await import("./dist-BLYIGZVK.js").then((t) => /* @__PURE__ */ e(t.default, 1)), i = r.parse(await t.text()), a = t.name.replace(/\.theme\.json5$|\.json5?$/, ""), o = new ce({
1496
+ let n = this.files ?? await T.load(), { default: r } = await import("./dist-BQT4KajA.js").then((t) => /* @__PURE__ */ e(t.default, 1)), i = r.parse(await t.text()), a = t.name.replace(/\.theme\.json5$|\.json5?$/, ""), o = new ce({
1505
1497
  name: a,
1506
1498
  data: i,
1507
1499
  themes: n.themes,
1508
1500
  palettes: n.palettes
1509
- }).declarations(), s = typeof i.extends == "string" && d.themes.own.includes(i.extends) ? i.extends : ue, c = D.freeName(typeof i.title == "string" && i.title ? i.title : a), l = {
1501
+ }).declarations(), s = typeof i.extends == "string" && u.themes.own.includes(i.extends) ? i.extends : ue, c = D.freeName(typeof i.title == "string" && i.title ? i.title : a), l = {
1510
1502
  name: c,
1511
1503
  base: s,
1512
1504
  tokens: Object.fromEntries(o.map(([e, t]) => [e, { both: t }]))
1513
- }, u = new E({
1505
+ }, d = new E({
1514
1506
  choices: l,
1515
1507
  files: n,
1516
1508
  text: this.text
1517
1509
  }).css, f = this.keep(D.save({
1518
1510
  name: c,
1519
1511
  choices: l,
1520
- css: u
1512
+ css: d
1521
1513
  }));
1522
1514
  this.keepDraft(f.choices);
1523
1515
  } catch (e) {
@@ -1555,7 +1547,7 @@ ${JSON.stringify(e, void 0, 2)}
1555
1547
  headers: { "content-type": "application/json" },
1556
1548
  body: JSON.stringify(t)
1557
1549
  }), r = await n.json().catch(() => ({}));
1558
- if (n.status === 409 && !e) return await d.modals.confirm(this.text("intoSpellUiAsk", { name: this.draft.slug })) ? this.saveIntoSpellUi(!0) : void 0;
1550
+ if (n.status === 409 && !e) return await u.modals.confirm(this.text("intoSpellUiAsk", { name: this.draft.slug })) ? this.saveIntoSpellUi(!0) : void 0;
1559
1551
  this.spellUiNote = n.ok ? this.text("intoSpellUiDone", { file: r.file ?? this.draft.fileName }) : r.error ?? `${n.status} ${n.statusText}`;
1560
1552
  } catch (e) {
1561
1553
  this.spellUiNote = String(e);
@@ -1563,11 +1555,7 @@ ${JSON.stringify(e, void 0, 2)}
1563
1555
  }
1564
1556
  async copy() {
1565
1557
  let e = this.draft.changes;
1566
- if (!await this.clipboard.copy(e)) {
1567
- h.warn("<ui-theme-editor>", "the clipboard refused the theme file");
1568
- return;
1569
- }
1570
- this.send("ui-copied", { text: e });
1558
+ await this.clipboard.copy(e) ? this.send("ui-copied", { text: e }) : p.warn("<ui-theme-editor>", "the clipboard refused the theme file");
1571
1559
  }
1572
1560
  get pageList() {
1573
1561
  let e = this.pages;
@@ -1586,7 +1574,7 @@ ${JSON.stringify(e, void 0, 2)}
1586
1574
  return [...new Set(this.pageList.flatMap((e) => e.ownPrefix ? [e.ownPrefix] : []))];
1587
1575
  }
1588
1576
  listenToPages() {
1589
- let e = /* @__PURE__ */ t((e) => this.onPageMessage(e), "onMessage");
1577
+ let e = /* @__PURE__ */ c((e) => this.onPageMessage(e), "onMessage");
1590
1578
  return window.addEventListener("message", e), () => window.removeEventListener("message", e);
1591
1579
  }
1592
1580
  get shownSchemes() {
@@ -1596,7 +1584,7 @@ ${JSON.stringify(e, void 0, 2)}
1596
1584
  return this.schemes === "dark" ? "dark" : "light";
1597
1585
  }
1598
1586
  get orderedPageIds() {
1599
- let e = /* @__PURE__ */ t((e) => e.filter((e) => this.pageIds.includes(e)), "known");
1587
+ let e = /* @__PURE__ */ c((e) => e.filter((e) => this.pageIds.includes(e)), "known");
1600
1588
  return [.../* @__PURE__ */ new Set([
1601
1589
  ...e(this.addressedPages ?? []),
1602
1590
  ...e(this.pageOrder),
@@ -1604,8 +1592,8 @@ ${JSON.stringify(e, void 0, 2)}
1604
1592
  ])];
1605
1593
  }
1606
1594
  get shownPageIds() {
1607
- let e = this.addressedPages, n = /* @__PURE__ */ t((t) => e ? e.includes(t) : !this.hiddenPages.includes(t), "isShown"), r = this.orderedPageIds.filter(n);
1608
- return r.length ? r : this.orderedPageIds;
1595
+ let e = this.addressedPages, t = /* @__PURE__ */ c((t) => e ? e.includes(t) : !this.hiddenPages.includes(t), "isShown"), n = this.orderedPageIds.filter(t);
1596
+ return n.length ? n : this.orderedPageIds;
1609
1597
  }
1610
1598
  showPages(e, t) {
1611
1599
  let n = e.filter((e) => !t.includes(e));
@@ -1707,7 +1695,7 @@ ${JSON.stringify(e, void 0, 2)}
1707
1695
  if (s?.documentElement) try {
1708
1696
  t.theme && await (await _UIThemeEditor.runtimeOf(o))?.themes.apply(this.baseTheme), t.scheme && be.pinScheme(s, this.schemeOf(r)), t.css && be.applyCss(s, this.draft.frameCss), t.look && this.took(e, be.look(s, this.tokenList));
1709
1697
  } catch (t) {
1710
- h.warn("<ui-theme-editor>", `can't dress the ${e} page`, t);
1698
+ p.warn("<ui-theme-editor>", `can't dress the ${e} page`, t);
1711
1699
  }
1712
1700
  }
1713
1701
  post(e, t, n, r) {
@@ -1740,7 +1728,7 @@ ${JSON.stringify(e, void 0, 2)}
1740
1728
  F || (t.dataset.frame = e, this.resizer.observe(t));
1741
1729
  }
1742
1730
  watchHead(e, t) {
1743
- this.heads.set(e, t), !F && (t.dataset.head = e, this.resizer.observe(t));
1731
+ this.heads.set(e, t), F || (t.dataset.head = e, this.resizer.observe(t));
1744
1732
  }
1745
1733
  measureHeads() {
1746
1734
  let e = { ...this.headBottom };
@@ -1786,23 +1774,23 @@ ${JSON.stringify(e, void 0, 2)}
1786
1774
  return e;
1787
1775
  }
1788
1776
  get groups() {
1789
- let e = this.files, n = e?.groupsFor(this.baseTheme, this.pageTokens) ?? [], r = this.filter.trim().toLowerCase(), i = this.isSetHereOnly ? n.map((e) => ({
1777
+ let e = this.files, t = e?.groupsFor(this.baseTheme, this.pageTokens) ?? [], n = this.filter.trim().toLowerCase(), r = this.isSetHereOnly ? t.map((e) => ({
1790
1778
  ...e,
1791
1779
  tokens: e.tokens.filter((e) => this.isSetHere(e))
1792
- })).filter((e) => e.tokens.length) : n;
1793
- if (!r || !e) return i;
1794
- let a = /* @__PURE__ */ t((t, n) => t.includes(r) || [n, ...e.pathOf(t, n)].join(" ").includes(r), "matches");
1795
- return i.map((e) => ({
1780
+ })).filter((e) => e.tokens.length) : t;
1781
+ if (!n || !e) return r;
1782
+ let i = /* @__PURE__ */ c((t, r) => t.includes(n) || [r, ...e.pathOf(t, r)].join(" ").includes(n), "matches");
1783
+ return r.map((e) => ({
1796
1784
  ...e,
1797
- tokens: e.tokens.filter((t) => a(t, e.place))
1785
+ tokens: e.tokens.filter((t) => i(t, e.place))
1798
1786
  })).filter((e) => e.tokens.length);
1799
1787
  }
1800
1788
  get tree() {
1801
1789
  let e = this.files;
1802
1790
  return new De({
1803
1791
  groups: this.groups,
1804
- pathOf: /* @__PURE__ */ t((t, n) => e?.pathOf(t, n) ?? [t], "pathOf"),
1805
- labelOf: /* @__PURE__ */ t((e) => this.groupLabel(e), "labelOf")
1792
+ pathOf: /* @__PURE__ */ c((t, n) => e?.pathOf(t, n) ?? [t], "pathOf"),
1793
+ labelOf: /* @__PURE__ */ c((e) => this.groupLabel(e), "labelOf")
1806
1794
  });
1807
1795
  }
1808
1796
  groupLabel(e) {
@@ -1812,13 +1800,13 @@ ${JSON.stringify(e, void 0, 2)}
1812
1800
  return this.filter.trim() ? !this.isFilterFolded : this.folds[e] ?? e === Fr;
1813
1801
  }
1814
1802
  get branchIds() {
1815
- let e = [], n = /* @__PURE__ */ t((t, r) => {
1816
- if (r || t.children.length) {
1817
- e.push(t.id);
1818
- for (let e of t.children) n(e, !1);
1803
+ let e = [], t = /* @__PURE__ */ c((n, r) => {
1804
+ if (r || n.children.length) {
1805
+ e.push(n.id);
1806
+ for (let e of n.children) t(e, !1);
1819
1807
  }
1820
1808
  }, "walk");
1821
- for (let e of this.tree.roots) n(e, !0);
1809
+ for (let e of this.tree.roots) t(e, !0);
1822
1810
  return e;
1823
1811
  }
1824
1812
  get isAllOpen() {
@@ -1867,12 +1855,12 @@ ${JSON.stringify(e, void 0, 2)}
1867
1855
  ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
1868
1856
  }
1869
1857
  setHere(e) {
1870
- let n = /* @__PURE__ */ t((t) => this.kindOf(e, t) === "color" || this.sourceOf(e).kind !== "plain" ? V.join(this.colorOf(e, t).hex, this.colorOf(e, t).opacity) : this.valueOf(e, t), "now"), [r, i] = [n("light"), n("dark")];
1858
+ let t = /* @__PURE__ */ c((t) => this.kindOf(e, t) === "color" || this.sourceOf(e).kind !== "plain" ? V.join(this.colorOf(e, t).hex, this.colorOf(e, t).opacity) : this.valueOf(e, t), "now"), [n, r] = [t("light"), t("dark")];
1871
1859
  this.choose({ tokens: {
1872
1860
  ...this.tokenEdits,
1873
- [e]: r === i ? { both: r } : {
1874
- light: r,
1875
- dark: i
1861
+ [e]: n === r ? { both: n } : {
1862
+ light: n,
1863
+ dark: r
1876
1864
  }
1877
1865
  } });
1878
1866
  }
@@ -1954,109 +1942,109 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
1954
1942
  }), t;
1955
1943
  }
1956
1944
  bar() {
1957
- let e = this.text, n = this;
1958
- var r = Ne(), i = r.firstChild, a = i.firstChild, o = a.nextSibling, s = i.nextSibling, c = s.firstChild, l = c.firstChild, u = l.nextSibling, d = u.nextSibling, f = c.nextSibling;
1959
- return a._$owner = N(), P(o, () => e("label")), P(s, () => n.edgeButton("start"), c), c.addEventListener("scroll", () => n.measureTools()), R(() => (e) => n.watchTools(e), c), P(c, () => n.menu("theme", n.bases, n.baseTheme, (e) => n.choose({ base: e }), {
1945
+ let e = this.text, t = this;
1946
+ var n = Ne(), r = n.firstChild, i = r.firstChild, a = i.nextSibling, o = r.nextSibling, s = o.firstChild, l = s.firstChild, u = l.nextSibling, d = u.nextSibling, f = s.nextSibling;
1947
+ return i._$owner = N(), P(a, () => e("label")), P(o, () => t.edgeButton("start"), s), s.addEventListener("scroll", () => t.measureTools()), R(() => (e) => t.watchTools(e), s), P(s, () => t.menu("theme", t.bases, t.baseTheme, (e) => t.choose({ base: e }), {
1960
1948
  labelOf: y.titleOf,
1961
- tipOf: /* @__PURE__ */ t((t) => e("themeTip", { theme: y.titleOf(t) }), "tipOf")
1962
- }), l), P(c, () => n.schemesGroup(), u), P(c, j(k, {
1949
+ tipOf: /* @__PURE__ */ c((t) => e("themeTip", { theme: y.titleOf(t) }), "tipOf")
1950
+ }), l), P(s, () => t.schemesGroup(), u), P(s, j(k, {
1963
1951
  get when() {
1964
- return n.hasPages;
1952
+ return t.hasPages;
1965
1953
  },
1966
1954
  get children() {
1967
- return [I(() => n.pageToggles()), (() => {
1968
- var t = Me();
1969
- return t._$$click = () => n.device = n.device === "phone" ? "desk" : "phone", t._$owner = N(), M(() => ({
1970
- e: n.device === "phone" ? "true" : "false",
1955
+ return [I(() => t.pageToggles()), (() => {
1956
+ var n = Me();
1957
+ return n._$$click = () => t.device = t.device === "phone" ? "desk" : "phone", n._$owner = N(), M(() => ({
1958
+ e: t.device === "phone" ? "true" : "false",
1971
1959
  t: e("phone"),
1972
1960
  a: e("phoneTip")
1973
- }), ({ e, t: n, a: r }, i) => {
1974
- e !== i?.e && z(t, "aria-pressed", e), n !== i?.t && z(t, "aria-label", n), r !== i?.a && z(t, "title", r);
1975
- }), t;
1961
+ }), ({ e, t, a: r }, i) => {
1962
+ e !== i?.e && z(n, "aria-pressed", e), t !== i?.t && z(n, "aria-label", t), r !== i?.a && z(n, "title", r);
1963
+ }), n;
1976
1964
  })()];
1977
1965
  }
1978
- }), d), P(s, () => n.edgeButton("end"), f), M(() => ({
1979
- e: n.partForName("bar"),
1966
+ }), d), P(o, () => t.edgeButton("end"), f), M(() => ({
1967
+ e: t.partForName("bar"),
1980
1968
  t: e("lede"),
1981
- a: !!n.barMore.start,
1982
- o: !!n.barMore.end
1983
- }), ({ e, t, a: n, o: a }, o) => {
1984
- e !== o?.e && z(r, "part", e), t !== o?.t && z(i, "title", t), n !== o?.a && s.classList.toggle("more-start", n), a !== o?.o && s.classList.toggle("more-end", a);
1985
- }), r;
1969
+ a: !!t.barMore.start,
1970
+ o: !!t.barMore.end
1971
+ }), ({ e, t, a: i, o: a }, s) => {
1972
+ e !== s?.e && z(n, "part", e), t !== s?.t && z(r, "title", t), i !== s?.a && o.classList.toggle("more-start", i), a !== s?.o && o.classList.toggle("more-end", a);
1973
+ }), n;
1986
1974
  }
1987
1975
  schemesGroup() {
1988
- let e = this.text, n = /* @__PURE__ */ t((e) => {
1976
+ let e = this.text, t = /* @__PURE__ */ c((e) => {
1989
1977
  let { value: t } = e.detail;
1990
1978
  if (t !== Dr) return this.showSchemes(t);
1991
1979
  e.preventDefault(), this.swap();
1992
- }, "onChoosing"), r = this;
1993
- var i = Fe(), a = i.firstChild, o = a.nextSibling;
1994
- return z(i, "on-ui-choosing", n), i._$owner = N(), P(i, j(O, {
1980
+ }, "onChoosing"), n = this;
1981
+ var r = Fe(), i = r.firstChild, a = i.nextSibling;
1982
+ return z(r, "on-ui-choosing", t), r._$owner = N(), P(r, j(O, {
1995
1983
  each: kr,
1996
1984
  children: (t) => (() => {
1997
- var n = H();
1998
- return z(n, "value", t), n._$owner = N(), P(n, () => e(t)), M(() => ({
1999
- e: r.schemes === t ? "" : void 0,
1985
+ var r = H();
1986
+ return z(r, "value", t), r._$owner = N(), P(r, () => e(t)), M(() => ({
1987
+ e: n.schemes === t ? "" : void 0,
2000
1988
  t: e(`${t}Tip`)
2001
- }), ({ e, t }, r) => {
2002
- e !== r?.e && z(n, "selected", e), t !== r?.t && z(n, "title", t);
2003
- }), n;
1989
+ }), ({ e, t }, n) => {
1990
+ e !== n?.e && z(r, "selected", e), t !== n?.t && z(r, "title", t);
1991
+ }), r;
2004
1992
  })()
2005
- }), a), P(i, j(k, {
1993
+ }), i), P(r, j(k, {
2006
1994
  get when() {
2007
- return I(() => !!r.hasPages)() ? r.schemes === "both" : r.hasPages;
1995
+ return I(() => !!n.hasPages)() ? n.schemes === "both" : n.hasPages;
2008
1996
  },
2009
1997
  get children() {
2010
1998
  var t = Pe();
2011
1999
  return z(t, "value", Dr), t._$owner = N(), M(() => ({
2012
- e: !!r.isSwapped,
2000
+ e: !!n.isSwapped,
2013
2001
  t: e("swap"),
2014
- a: r.isSwapped ? "true" : "false",
2015
- o: e(r.isSwapped ? "swappedTip" : "swapTip")
2002
+ a: n.isSwapped ? "true" : "false",
2003
+ o: e(n.isSwapped ? "swappedTip" : "swapTip")
2016
2004
  }), ({ e, t: n, a: r, o: i }, a) => {
2017
2005
  e !== a?.e && t.classList.toggle("on", e), n !== a?.t && z(t, "aria-label", n), r !== a?.a && z(t, "aria-pressed", r), i !== a?.o && z(t, "title", i);
2018
2006
  }), t;
2019
2007
  }
2020
- }), o), M(() => e("schemes"), (e) => {
2021
- z(i, "aria-label", e);
2022
- }), i;
2008
+ }), a), M(() => e("schemes"), (e) => {
2009
+ z(r, "aria-label", e);
2010
+ }), r;
2023
2011
  }
2024
2012
  pageToggles() {
2025
- let e = this.text, n = this;
2026
- var r = Ie();
2027
- return z(r, "on-ui-changed", (e) => n.showPages(n.orderedPageIds, e.detail.values ?? [])), r._$owner = N(), P(r, j(O, {
2013
+ let e = this.text, t = this;
2014
+ var n = Ie();
2015
+ return z(n, "on-ui-changed", (e) => t.showPages(t.orderedPageIds, e.detail.values ?? [])), n._$owner = N(), P(n, j(O, {
2028
2016
  get each() {
2029
- return n.orderedPageIds;
2017
+ return t.orderedPageIds;
2030
2018
  },
2031
- children: (r) => {
2032
- let i = /* @__PURE__ */ t(() => n.pageOf(r)?.label ?? r, "label"), a = /* @__PURE__ */ t(() => n.isPageShown(r), "isShown");
2033
- var o = H();
2034
- return z(o, "value", r), o._$owner = N(), P(o, i), M(() => ({
2035
- e: n.pageOf(r)?.icon ?? "file",
2036
- t: a() ? "" : void 0,
2037
- a: e(a() ? "hidePageTip" : "showPageTip", { page: i() })
2019
+ children: (n) => {
2020
+ let r = /* @__PURE__ */ c(() => t.pageOf(n)?.label ?? n, "label"), i = /* @__PURE__ */ c(() => t.isPageShown(n), "isShown");
2021
+ var a = H();
2022
+ return z(a, "value", n), a._$owner = N(), P(a, r), M(() => ({
2023
+ e: t.pageOf(n)?.icon ?? "file",
2024
+ t: i() ? "" : void 0,
2025
+ a: e(i() ? "hidePageTip" : "showPageTip", { page: r() })
2038
2026
  }), ({ e, t, a: n }, r) => {
2039
- e !== r?.e && z(o, "icon", e), t !== r?.t && z(o, "selected", t), n !== r?.a && z(o, "title", n);
2040
- }), o;
2027
+ e !== r?.e && z(a, "icon", e), t !== r?.t && z(a, "selected", t), n !== r?.a && z(a, "title", n);
2028
+ }), a;
2041
2029
  }
2042
2030
  })), M(() => e("pages"), (e) => {
2043
- z(r, "aria-label", e);
2044
- }), r;
2031
+ z(n, "aria-label", e);
2032
+ }), n;
2045
2033
  }
2046
2034
  edgeButton(e) {
2047
- let n = /* @__PURE__ */ t(() => this.text(e === "start" ? "scrollBack" : "scrollOn"), "label"), r = this;
2048
- var i = Le(), a = i.firstChild;
2049
- return i._$$click = () => r.toolsBox?.scrollBy({
2035
+ let t = /* @__PURE__ */ c(() => this.text(e === "start" ? "scrollBack" : "scrollOn"), "label"), n = this;
2036
+ var r = Le(), i = r.firstChild;
2037
+ return r._$$click = () => n.toolsBox?.scrollBy({
2050
2038
  left: (e === "start" ? -1 : 1) * ri,
2051
2039
  behavior: "smooth"
2052
- }), z(a, "name", e === "start" ? "chevron left" : "chevron right"), a._$owner = N(), M(() => ({
2040
+ }), z(i, "name", e === "start" ? "chevron left" : "chevron right"), i._$owner = N(), M(() => ({
2053
2041
  e: L(["edge", e]),
2054
- t: !r.barMore[e],
2055
- a: n(),
2056
- o: n()
2057
- }), ({ e, t, a: n, o: r }, a) => {
2058
- A(i, e, a?.e), t !== a?.t && z(i, "hidden", t), n !== a?.a && z(i, "aria-label", n), r !== a?.o && z(i, "title", r);
2059
- }), i;
2042
+ t: !n.barMore[e],
2043
+ a: t(),
2044
+ o: t()
2045
+ }), ({ e, t, a: n, o: i }, a) => {
2046
+ A(r, e, a?.e), t !== a?.t && z(r, "hidden", t), n !== a?.a && z(r, "aria-label", n), i !== a?.o && z(r, "title", i);
2047
+ }), r;
2060
2048
  }
2061
2049
  watchTools(e) {
2062
2050
  this.toolsBox = e, F || this.resizer.observe(e);
@@ -2070,77 +2058,77 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2070
2058
  end: n
2071
2059
  });
2072
2060
  }
2073
- menu(e, n, r, i, { labelOf: a = /* @__PURE__ */ t((e) => this.text(e), "labelOf"), tipOf: o }) {
2074
- let s = this;
2075
- var c = Re();
2076
- return z(c, "on-ui-choosing", (e) => i(e.detail.value)), c._$owner = N(), P(c, j(O, {
2077
- each: n,
2061
+ menu(e, t, n, r, { labelOf: i = /* @__PURE__ */ c((e) => this.text(e), "labelOf"), tipOf: a }) {
2062
+ let o = this;
2063
+ var s = Re();
2064
+ return z(s, "on-ui-choosing", (e) => r(e.detail.value)), s._$owner = N(), P(s, j(O, {
2065
+ each: t,
2078
2066
  children: (e) => (() => {
2079
2067
  var t = H();
2080
- return z(t, "value", e), z(t, "selected", r === e ? "" : void 0), t._$owner = N(), P(t, () => a(e)), M(() => o(e), (e) => {
2068
+ return z(t, "value", e), z(t, "selected", n === e ? "" : void 0), t._$owner = N(), P(t, () => i(e)), M(() => a(e), (e) => {
2081
2069
  z(t, "title", e);
2082
2070
  }), t;
2083
2071
  })()
2084
- })), M(() => s.text(e), (e) => {
2085
- z(c, "aria-label", e);
2086
- }), c;
2072
+ })), M(() => o.text(e), (e) => {
2073
+ z(s, "aria-label", e);
2074
+ }), s;
2087
2075
  }
2088
2076
  get bases() {
2089
2077
  if (!this.isReady) return [this.baseTheme];
2090
- let e = [...d.themes.own];
2078
+ let e = [...u.themes.own];
2091
2079
  return e.includes(this.baseTheme) ? e : [...e, this.baseTheme];
2092
2080
  }
2093
2081
  page(e) {
2094
- let n = this.text, r = /* @__PURE__ */ t(() => this.pageOf(e), "page"), i = /* @__PURE__ */ t(() => this.schemes === "both" ? this.isDarkFirst(e) ? "dark" : "light" : this.shownSchemes[0], "firstScheme"), a = /* @__PURE__ */ t(() => this.urlOf(frameKey(e, i())), "url"), o = /* @__PURE__ */ t(() => {
2095
- let e = a();
2082
+ let t = this.text, n = /* @__PURE__ */ c(() => this.pageOf(e), "page"), r = /* @__PURE__ */ c(() => this.schemes === "both" ? this.isDarkFirst(e) ? "dark" : "light" : this.shownSchemes[0], "firstScheme"), i = /* @__PURE__ */ c(() => this.urlOf(frameKey(e, r())), "url"), a = /* @__PURE__ */ c(() => {
2083
+ let e = i();
2096
2084
  return e ? he.addressWith(e, {
2097
2085
  theme: this.baseTheme,
2098
- scheme: i()
2086
+ scheme: r()
2099
2087
  }) : "";
2100
- }, "popout"), s = this;
2101
- var c = Be(), l = c.firstChild, u = l.firstChild, d = u.nextSibling, f = d.nextSibling, p = f.nextSibling, m = l.nextSibling;
2102
- return c.addEventListener("drop", (t) => s.onPageDrop(t, e)), c.addEventListener("dragover", (t) => s.onPageDragOver(t, e)), l._$$keydown = (t) => s.onPageHeadKey(t, e), l.addEventListener("dragend", () => s.endDrag()), l.addEventListener("dragstart", (t) => s.onPageDragStart(t, e)), u._$owner = N(), P(d, () => r()?.label), P(f, (() => {
2103
- var e = I(() => !!a());
2104
- return () => e() ? new URL(a(), F ? "http://localhost" : location.href).pathname : "";
2105
- })()), p._$$click = () => s.reload(e), p._$owner = N(), P(l, j(k, {
2088
+ }, "popout"), o = this;
2089
+ var s = Be(), l = s.firstChild, u = l.firstChild, d = u.nextSibling, f = d.nextSibling, p = f.nextSibling, m = l.nextSibling;
2090
+ return s.addEventListener("drop", (t) => o.onPageDrop(t, e)), s.addEventListener("dragover", (t) => o.onPageDragOver(t, e)), l._$$keydown = (t) => o.onPageHeadKey(t, e), l.addEventListener("dragend", () => o.endDrag()), l.addEventListener("dragstart", (t) => o.onPageDragStart(t, e)), u._$owner = N(), P(d, () => n()?.label), P(f, (() => {
2091
+ var e = I(() => !!i());
2092
+ return () => e() ? new URL(i(), F ? "http://localhost" : location.href).pathname : "";
2093
+ })()), p._$$click = () => o.reload(e), p._$owner = N(), P(l, j(k, {
2106
2094
  get when() {
2107
- return a();
2095
+ return i();
2108
2096
  },
2109
2097
  get children() {
2110
- var e = ze(), t = e.firstChild, r = N();
2111
- return t._$owner = N(), M(() => ({
2112
- e: o(),
2113
- t: n("openTip"),
2114
- a: n("open")
2098
+ var e = ze(), n = e.firstChild, r = N();
2099
+ return n._$owner = N(), M(() => ({
2100
+ e: a(),
2101
+ t: t("openTip"),
2102
+ a: t("open")
2115
2103
  }), ({ e: t, t: n, a: i }, a) => {
2116
2104
  t !== a?.e && z(e, "href", t), n !== a?.t && z(e, "title", n), i !== a?.a && z(e, "aria-label", i), _e(e, r);
2117
2105
  }), e;
2118
2106
  }
2119
2107
  }), null), P(m, j(O, {
2120
2108
  get each() {
2121
- return s.slots;
2109
+ return o.slots;
2122
2110
  },
2123
- children: (t) => s.frame(frameKey(e, t))
2111
+ children: (t) => o.frame(frameKey(e, t))
2124
2112
  })), M(() => ({
2125
- e: !!s.isPageWide(e),
2126
- t: s.dropAt?.id === e && s.dropAt.side === "before",
2127
- a: s.dropAt?.id === e && s.dropAt.side === "after",
2128
- o: s.partForName("page"),
2129
- i: !s.isPageShown(e),
2130
- n: `order: ${s.shownPageIds.indexOf(e)}`,
2131
- s: n("moveTip"),
2132
- h: r()?.icon ?? "file",
2133
- r: a() ?? "",
2134
- d: n("reload"),
2135
- l: n("reloadTip"),
2113
+ e: !!o.isPageWide(e),
2114
+ t: o.dropAt?.id === e && o.dropAt.side === "before",
2115
+ a: o.dropAt?.id === e && o.dropAt.side === "after",
2116
+ o: o.partForName("page"),
2117
+ i: !o.isPageShown(e),
2118
+ n: `order: ${o.shownPageIds.indexOf(e)}`,
2119
+ s: t("moveTip"),
2120
+ h: n()?.icon ?? "file",
2121
+ r: i() ?? "",
2122
+ d: t("reload"),
2123
+ l: t("reloadTip"),
2136
2124
  u: L([
2137
2125
  "frames",
2138
- s.schemes,
2139
- { "dark-first": s.schemes === "both" && s.isDarkFirst(e) }
2126
+ o.schemes,
2127
+ { "dark-first": o.schemes === "both" && o.isDarkFirst(e) }
2140
2128
  ])
2141
- }), ({ e, t, a: n, o: r, i, n: a, s: o, h: s, r: d, d: h, l: g, u: ee }, _) => {
2142
- e !== _?.e && c.classList.toggle("wide", e), t !== _?.t && c.classList.toggle("drop-before", t), n !== _?.a && c.classList.toggle("drop-after", n), r !== _?.o && z(c, "part", r), i !== _?.i && z(c, "hidden", i), ye(c, a, _?.n), o !== _?.s && z(l, "title", o), s !== _?.h && z(u, "name", s), d !== _?.r && z(f, "title", d), h !== _?.d && z(p, "label", h), g !== _?.l && z(p, "title", g), A(m, ee, _?.u);
2143
- }), c;
2129
+ }), ({ e, t, a: n, o: r, i, n: a, s: o, h: c, r: d, d: h, l: g, u: ee }, _) => {
2130
+ e !== _?.e && s.classList.toggle("wide", e), t !== _?.t && s.classList.toggle("drop-before", t), n !== _?.a && s.classList.toggle("drop-after", n), r !== _?.o && z(s, "part", r), i !== _?.i && z(s, "hidden", i), ye(s, a, _?.n), o !== _?.s && z(l, "title", o), c !== _?.h && z(u, "name", c), d !== _?.r && z(f, "title", d), h !== _?.d && z(p, "label", h), g !== _?.l && z(p, "title", g), A(m, ee, _?.u);
2131
+ }), s;
2144
2132
  }
2145
2133
  onPageDragStart(e, t) {
2146
2134
  this.draggedPage = t, e.dataTransfer?.setData("text/plain", t), e.dataTransfer && (e.dataTransfer.effectAllowed = "move");
@@ -2166,42 +2154,42 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2166
2154
  !e.altKey || e.key !== "ArrowLeft" && e.key !== "ArrowRight" || (e.preventDefault(), this.movePageBy(t, e.key === "ArrowLeft" ? -1 : 1));
2167
2155
  }
2168
2156
  frame(e) {
2169
- let n = this.text, [r, i] = splitKey(e), a = /* @__PURE__ */ t(() => this.isTurnOf(e) ? this.urlOf(e) : void 0, "url"), o = /* @__PURE__ */ t(() => this.pageOf(r)?.label ?? r, "label"), s = /* @__PURE__ */ t(() => this.urlOf(e) === "" ? this.pageOf(r)?.note ?? n("unreachable") : n("loadingPage"), "note"), c = this;
2157
+ let t = this.text, [n, r] = splitKey(e), i = /* @__PURE__ */ c(() => this.isTurnOf(e) ? this.urlOf(e) : void 0, "url"), a = /* @__PURE__ */ c(() => this.pageOf(n)?.label ?? n, "label"), o = /* @__PURE__ */ c(() => this.urlOf(e) === "" ? this.pageOf(n)?.note ?? t("unreachable") : t("loadingPage"), "note"), s = this;
2170
2158
  var l = Ue(), u = l.firstChild;
2171
- return R(() => (t) => c.watchCell(e, t), u), P(u, j(k, {
2159
+ return R(() => (t) => s.watchCell(e, t), u), P(u, j(k, {
2172
2160
  get when() {
2173
- return a();
2161
+ return i();
2174
2162
  },
2175
2163
  get fallback() {
2176
2164
  var e = U();
2177
- return P(e, s), e;
2165
+ return P(e, o), e;
2178
2166
  },
2179
2167
  get children() {
2180
2168
  return [(() => {
2181
- var t = Ve();
2182
- return t.addEventListener("load", () => c.onPageLoaded(e)), R(() => (t) => {
2183
- c.frames.set(e, t), c.begun.add(e);
2184
- }, t), M(() => ({
2185
- e: a(),
2186
- t: `${o()}, ${n(i)}`,
2187
- a: L(c.frameStyle(e))
2188
- }), ({ e, t: n, a: r }, i) => {
2189
- e !== i?.e && z(t, "src", e), n !== i?.t && z(t, "title", n), ye(t, r, i?.a);
2190
- }), t;
2169
+ var n = Ve();
2170
+ return n.addEventListener("load", () => s.onPageLoaded(e)), R(() => (t) => {
2171
+ s.frames.set(e, t), s.begun.add(e);
2172
+ }, n), M(() => ({
2173
+ e: i(),
2174
+ t: `${a()}, ${t(r)}`,
2175
+ a: L(s.frameStyle(e))
2176
+ }), ({ e, t, a: r }, i) => {
2177
+ e !== i?.e && z(n, "src", e), t !== i?.t && z(n, "title", t), ye(n, r, i?.a);
2178
+ }), n;
2191
2179
  })(), j(k, {
2192
2180
  get when() {
2193
- return !c.loaded[e];
2181
+ return !s.loaded[e];
2194
2182
  },
2195
2183
  get children() {
2196
2184
  var e = He();
2197
- return P(e, () => n("loadingPage")), e;
2185
+ return P(e, () => t("loadingPage")), e;
2198
2186
  }
2199
2187
  })];
2200
2188
  }
2201
2189
  })), M(() => ({
2202
- e: L(["frame", i]),
2203
- t: !!c.loaded[e],
2204
- a: c.device === "phone"
2190
+ e: L(["frame", r]),
2191
+ t: !!s.loaded[e],
2192
+ a: s.device === "phone"
2205
2193
  }), ({ e, t, a: n }, r) => {
2206
2194
  A(l, e, r?.e), t !== r?.t && u.classList.toggle("loaded", t), n !== r?.a && u.classList.toggle("phone", n);
2207
2195
  }), l;
@@ -2215,17 +2203,17 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2215
2203
  }
2216
2204
  sampleApp(e) {
2217
2205
  let t = this.text, n = this;
2218
- var r = Ge(), i = r.firstChild, a = i.firstChild, o = a.firstChild, s = o.nextSibling, c = a.nextSibling.firstChild, l = i.nextSibling, u = l.firstChild, d = u.firstChild, f = d.nextSibling, p = f.firstChild, m = p.nextSibling, h = m.nextSibling, g = f.nextSibling.firstChild, ee = g.nextSibling, _ = l.nextSibling, v = _.firstChild, y = v.nextSibling, te = y.nextSibling, b = te.nextSibling, x = _.nextSibling, ne = x.firstChild, re = ne.nextSibling;
2219
- re.nextSibling;
2220
- var ie = x.nextSibling;
2221
- return P(o, () => t(e)), P(s, () => t("appTitle")), c._$owner = N(), l._$owner = N(), u._$owner = N(), d._$owner = N(), P(d, () => t("today")), p._$owner = N(), P(p, () => t("habitWater")), m._$owner = N(), P(m, () => t("habitRead")), h._$owner = N(), P(h, () => t("habitMove")), g._$owner = N(), ee._$owner = N(), P(ee, () => t("add")), v._$owner = N(), P(v, () => t("secondary")), y._$owner = N(), P(y, () => t("basicButton")), te._$owner = N(), P(te, () => t("live")), b._$owner = N(), P(b, () => t("remind")), x._$owner = N(), ne._$owner = N(), P(re, () => t("streak")), P(x, () => t("streakMore"), null), ie._$owner = N(), M(() => ({
2206
+ var r = Ge(), i = r.firstChild, a = i.firstChild, o = a.firstChild, s = o.nextSibling, c = a.nextSibling.firstChild, l = i.nextSibling, u = l.firstChild, d = u.firstChild, f = d.nextSibling, p = f.firstChild, m = p.nextSibling, h = m.nextSibling, g = f.nextSibling.firstChild, ee = g.nextSibling, _ = l.nextSibling, v = _.firstChild, y = v.nextSibling, te = y.nextSibling, ne = te.nextSibling, b = _.nextSibling, re = b.firstChild, ie = re.nextSibling;
2207
+ ie.nextSibling;
2208
+ var ae = b.nextSibling;
2209
+ return P(o, () => t(e)), P(s, () => t("appTitle")), c._$owner = N(), l._$owner = N(), u._$owner = N(), d._$owner = N(), P(d, () => t("today")), p._$owner = N(), P(p, () => t("habitWater")), m._$owner = N(), P(m, () => t("habitRead")), h._$owner = N(), P(h, () => t("habitMove")), g._$owner = N(), ee._$owner = N(), P(ee, () => t("add")), v._$owner = N(), P(v, () => t("secondary")), y._$owner = N(), P(y, () => t("basicButton")), te._$owner = N(), P(te, () => t("live")), ne._$owner = N(), P(ne, () => t("remind")), b._$owner = N(), re._$owner = N(), P(ie, () => t("streak")), P(b, () => t("streakMore"), null), ae._$owner = N(), M(() => ({
2222
2210
  e: ["sample", `ui-${e}`],
2223
2211
  t: !n.shownSchemes.includes(e),
2224
2212
  a: t("newHabit"),
2225
2213
  o: t("newHabit"),
2226
2214
  i: t("progress")
2227
2215
  }), ({ e, t, a: n, o: i, i: a }, o) => {
2228
- A(r, e, o?.e), t !== o?.t && z(r, "hidden", t), n !== o?.a && z(g, "placeholder", n), i !== o?.o && z(g, "aria-label", i), a !== o?.i && z(ie, "aria-label", a);
2216
+ A(r, e, o?.e), t !== o?.t && z(r, "hidden", t), n !== o?.a && z(g, "placeholder", n), i !== o?.o && z(g, "aria-label", i), a !== o?.i && z(ae, "aria-label", a);
2229
2217
  }), r;
2230
2218
  }
2231
2219
  side() {
@@ -2325,8 +2313,8 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2325
2313
  }
2326
2314
  basics() {
2327
2315
  let e = this.text, t = this;
2328
- var n = Qe(), r = n.firstChild, a = r.firstChild.firstChild, o = r.nextSibling, s = o.nextSibling, c = s.nextSibling, l = c.nextSibling;
2329
- return R(() => (e) => t.watchHead("basics", e), r), P(a, () => e("basics")), P(n, () => t.basicsGroup("theme", e("theme"), [(() => {
2316
+ var n = Qe(), r = n.firstChild, o = r.firstChild.firstChild, s = r.nextSibling, c = s.nextSibling, l = c.nextSibling, u = l.nextSibling;
2317
+ return R(() => (e) => t.watchHead("basics", e), r), P(o, () => e("basics")), P(n, () => t.basicsGroup("theme", e("theme"), [(() => {
2330
2318
  var n = $e(), r = n.firstChild;
2331
2319
  return n._$owner = N(), z(r, "on-ui-typed", (e) => t.choose({ name: e.detail.value })), r._$owner = N(), M(() => ({
2332
2320
  e: e("name"),
@@ -2378,47 +2366,47 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2378
2366
  }), ({ e, t, a: i, o: a }, o) => {
2379
2367
  e !== o?.e && z(n, "label", e), t !== o?.t && z(n, "description", t), i !== o?.a && z(r, "value", i), a !== o?.o && z(r, "aria-label", a);
2380
2368
  }), n;
2381
- })()]), o), P(n, () => t.basicsGroup("color", e("color"), [
2369
+ })()]), s), P(n, () => t.basicsGroup("color", e("color"), [
2382
2370
  I(() => t.hueProperty("primary")),
2383
2371
  I(() => t.hueProperty("secondary")),
2384
2372
  I(() => t.hueProperty("background"))
2385
- ]), s), P(n, () => t.basicsGroup("type", e("type"), [
2373
+ ]), c), P(n, () => t.basicsGroup("type", e("type"), [
2386
2374
  I(() => t.fontProperty("headingFont")),
2387
2375
  I(() => t.fontProperty("bodyFont")),
2388
2376
  I(() => t.sizeProperty())
2389
- ]), c), P(n, () => t.basicsGroup("shape", e("shape"), [
2390
- I(() => t.segmentedProperty("corners", oe)),
2391
- I(() => t.segmentedProperty("depth", u)),
2377
+ ]), l), P(n, () => t.basicsGroup("shape", e("shape"), [
2378
+ I(() => t.segmentedProperty("corners", a)),
2379
+ I(() => t.segmentedProperty("depth", i)),
2392
2380
  j(k, {
2393
2381
  get when() {
2394
2382
  return t.hasGlass;
2395
2383
  },
2396
2384
  get children() {
2397
- return t.segmentedProperty("glass", i);
2385
+ return t.segmentedProperty("glass", te);
2398
2386
  }
2399
2387
  })
2400
- ]), l), M(() => ({
2388
+ ]), u), M(() => ({
2401
2389
  e: t.partForName("basics"),
2402
2390
  t: e("basics"),
2403
2391
  a: e("basicsTip")
2404
2392
  }), ({ e, t, a: r }, i) => {
2405
- e !== i?.e && z(n, "part", e), t !== i?.t && z(n, "aria-label", t), r !== i?.a && z(a, "title", r);
2393
+ e !== i?.e && z(n, "part", e), t !== i?.t && z(n, "aria-label", t), r !== i?.a && z(o, "title", r);
2406
2394
  }), n;
2407
2395
  }
2408
- basicsGroup(e, n, r) {
2409
- let i = `${Qr}${e}`, a = /* @__PURE__ */ t((e) => {
2410
- e.detail.section === this.branchSections.get(i) && this.folds[i] !== e.detail.open && (this.folds = {
2396
+ basicsGroup(e, t, n) {
2397
+ let r = `${Qr}${e}`, i = /* @__PURE__ */ c((e) => {
2398
+ e.detail.section === this.branchSections.get(r) && this.folds[r] !== e.detail.open && (this.folds = {
2411
2399
  ...this.folds,
2412
- [i]: e.detail.open
2400
+ [r]: e.detail.open
2413
2401
  }, w.setAt(wr, this.folds));
2414
- }, "onFolded"), o = this;
2415
- var s = nt(), c = s.firstChild;
2416
- return z(s, "label", n), z(s, "on-ui-opened", a), z(s, "on-ui-closed", a), R(() => (e) => o.branchSections.set(i, e), s), s._$owner = N(), c._$owner = N(), P(c, r), M(() => ({
2417
- e: o.headBottom.basics,
2418
- t: o.folds[i] ?? !0 ? "" : "false"
2402
+ }, "onFolded"), a = this;
2403
+ var o = nt(), s = o.firstChild;
2404
+ return z(o, "label", t), z(o, "on-ui-opened", i), z(o, "on-ui-closed", i), R(() => (e) => a.branchSections.set(r, e), o), o._$owner = N(), s._$owner = N(), P(s, n), M(() => ({
2405
+ e: a.headBottom.basics,
2406
+ t: a.folds[r] ?? !0 ? "" : "false"
2419
2407
  }), ({ e, t }, n) => {
2420
- e !== n?.e && z(s, "offset", e), t !== n?.t && z(s, "open", t);
2421
- }), s;
2408
+ e !== n?.e && z(o, "offset", e), t !== n?.t && z(o, "open", t);
2409
+ }), o;
2422
2410
  }
2423
2411
  get hasGlass() {
2424
2412
  return ge.includes(this.baseTheme);
@@ -2439,7 +2427,7 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2439
2427
  });
2440
2428
  }
2441
2429
  ownFont(e) {
2442
- let t = this.ownValue(e, this.scheme), n = a.find((e) => E.fontStack(e).replace(Rr, (e, t) => this.ownValue(t, "light") || e).replace(/\s+/g, "") === t.replace(/\s+/g, "")), r = t.split(",")[0]?.trim().replace(/["']/g, "") ?? "";
2430
+ let t = this.ownValue(e, this.scheme), n = l.find((e) => E.fontStack(e).replace(Rr, (e, t) => this.ownValue(t, "light") || e).replace(/\s+/g, "") === t.replace(/\s+/g, "")), r = t.split(",")[0]?.trim().replace(/["']/g, "") ?? "";
2443
2431
  return {
2444
2432
  stack: t,
2445
2433
  name: n ? this.text(n) : $r.test(r) ? this.text("system") : r
@@ -2449,30 +2437,30 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2449
2437
  return e ? `${this.text("own")} \xB7 ${e}` : this.text("own");
2450
2438
  }
2451
2439
  ownShape(e) {
2452
- let n = this.files;
2453
- if (!n) return;
2454
- let r = /* @__PURE__ */ t((e) => n.valueIn(this.baseTheme, e), "raw");
2440
+ let t = this.files;
2441
+ if (!t) return;
2442
+ let n = /* @__PURE__ */ c((e) => t.valueIn(this.baseTheme, e), "raw");
2455
2443
  return e === "corners" ? E.cornersOf({
2456
- s: r("--ui-radius-s"),
2457
- m: r("--ui-radius-m"),
2458
- l: r("--ui-radius-l")
2459
- }) : e === "depth" ? E.depthOf(r("--ui-shadow-raised"), r("--ui-shadow-floating")) : E.glassOf(r("--glass-surface"), r("--glass-surface-strong"), r("--glass-blur"));
2444
+ s: n("--ui-radius-s"),
2445
+ m: n("--ui-radius-m"),
2446
+ l: n("--ui-radius-l")
2447
+ }) : e === "depth" ? E.depthOf(n("--ui-shadow-raised"), n("--ui-shadow-floating")) : E.glassOf(n("--glass-surface"), n("--glass-surface-strong"), n("--glass-blur"));
2460
2448
  }
2461
2449
  ownShapeText(e) {
2462
2450
  return e === "corners" ? this.ownValue("--ui-radius", this.scheme) : "";
2463
2451
  }
2464
2452
  hueProperty(e) {
2465
- let n = this.text, r = /* @__PURE__ */ t(() => this.theme[e], "chosen"), i = /* @__PURE__ */ t(() => this.ownColors(Xr[e]), "own"), a = /* @__PURE__ */ t(() => i().map((e) => e.hex).join(" / "), "ownText"), o = this;
2453
+ let n = this.text, r = /* @__PURE__ */ c(() => this.theme[e], "chosen"), i = /* @__PURE__ */ c(() => this.ownColors(Xr[e]), "own"), a = /* @__PURE__ */ c(() => i().map((e) => e.hex).join(" / "), "ownText"), o = this;
2466
2454
  var s = rt();
2467
2455
  return z(s, "name", e), s._$owner = N(), P(s, () => le.draw({
2468
2456
  size: si,
2469
2457
  value: r,
2470
- hues: /* @__PURE__ */ t(() => c, "hues"),
2471
- nameFor: /* @__PURE__ */ t((e) => n(e), "nameFor"),
2472
- noneLabel: /* @__PURE__ */ t(() => o.ownLabel(a()), "noneLabel"),
2473
- noneColors: /* @__PURE__ */ t(() => i().map((e) => e.hex), "noneColors"),
2474
- label: /* @__PURE__ */ t(() => n(e), "label"),
2475
- onPick: /* @__PURE__ */ t((t) => o.choose({ [e]: t }), "onPick")
2458
+ hues: /* @__PURE__ */ c(() => t, "hues"),
2459
+ nameFor: /* @__PURE__ */ c((e) => n(e), "nameFor"),
2460
+ noneLabel: /* @__PURE__ */ c(() => o.ownLabel(a()), "noneLabel"),
2461
+ noneColors: /* @__PURE__ */ c(() => i().map((e) => e.hex), "noneColors"),
2462
+ label: /* @__PURE__ */ c(() => n(e), "label"),
2463
+ onPick: /* @__PURE__ */ c((t) => o.choose({ [e]: t }), "onPick")
2476
2464
  })), M(() => ({
2477
2465
  e: n(e),
2478
2466
  t: n(`${e}Tip`),
@@ -2482,65 +2470,65 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2482
2470
  }), s;
2483
2471
  }
2484
2472
  fontProperty(e) {
2485
- let n = this.text, r = /* @__PURE__ */ t(() => this.theme[e], "chosen"), i = /* @__PURE__ */ t(() => this.ownFont(Zr[e]), "own"), o = this;
2486
- var s = it(), c = s.firstChild, l = c.firstChild;
2487
- return z(s, "name", e), z(s, "default", J), s._$owner = N(), z(c, "on-ui-changed", (t) => {
2473
+ let t = this.text, n = /* @__PURE__ */ c(() => this.theme[e], "chosen"), r = /* @__PURE__ */ c(() => this.ownFont(Zr[e]), "own"), i = this;
2474
+ var a = it(), o = a.firstChild, s = o.firstChild;
2475
+ return z(a, "name", e), z(a, "default", J), a._$owner = N(), z(o, "on-ui-changed", (t) => {
2488
2476
  let n = String(t.detail.value);
2489
- o.choose({ [e]: n === J ? void 0 : n });
2490
- }), c._$owner = N(), z(l, "value", J), l._$owner = N(), P(l, () => o.ownLabel(i().name)), P(c, j(O, {
2477
+ i.choose({ [e]: n === J ? void 0 : n });
2478
+ }), o._$owner = N(), z(s, "value", J), s._$owner = N(), P(s, () => i.ownLabel(r().name)), P(o, j(O, {
2491
2479
  get each() {
2492
- return a;
2480
+ return l;
2493
2481
  },
2494
2482
  children: (e) => (() => {
2495
- var t = H();
2496
- return z(t, "value", e), t._$owner = N(), P(t, () => n(e)), M(() => `font-family: ${E.fontStack(e)}`, (e, n) => {
2497
- ye(t, e, n);
2498
- }), t;
2483
+ var n = H();
2484
+ return z(n, "value", e), n._$owner = N(), P(n, () => t(e)), M(() => `font-family: ${E.fontStack(e)}`, (e, t) => {
2485
+ ye(n, e, t);
2486
+ }), n;
2499
2487
  })()
2500
2488
  }), null), M(() => ({
2501
- e: n(e),
2502
- t: n(`${e}Tip`),
2503
- a: r() ?? J,
2504
- o: n(e),
2505
- i: L(i().stack ? `font-family: ${i().stack}` : void 0)
2506
- }), ({ e, t, a: n, o: r, i }, a) => {
2507
- e !== a?.e && z(s, "label", e), t !== a?.t && z(s, "description", t), n !== a?.a && z(c, "value", n), r !== a?.o && z(c, "aria-label", r), ye(l, i, a?.i);
2508
- }), s;
2489
+ e: t(e),
2490
+ t: t(`${e}Tip`),
2491
+ a: n() ?? J,
2492
+ o: t(e),
2493
+ i: L(r().stack ? `font-family: ${r().stack}` : void 0)
2494
+ }), ({ e, t, a: n, o: r, i }, c) => {
2495
+ e !== c?.e && z(a, "label", e), t !== c?.t && z(a, "description", t), n !== c?.a && z(o, "value", n), r !== c?.o && z(o, "aria-label", r), ye(s, i, c?.i);
2496
+ }), a;
2509
2497
  }
2510
2498
  sizeProperty() {
2511
- let e = this.text, n = /* @__PURE__ */ t(() => this.theme.textSize ?? this.baseTextSize, "size"), r = this;
2512
- var i = at(), a = i.firstChild;
2513
- return i._$owner = N(), P(i, j(k, {
2499
+ let e = this.text, t = /* @__PURE__ */ c(() => this.theme.textSize ?? this.baseTextSize, "size"), n = this;
2500
+ var r = at(), i = r.firstChild;
2501
+ return r._$owner = N(), P(r, j(k, {
2514
2502
  get when() {
2515
- return r.theme.textSize !== void 0;
2503
+ return n.theme.textSize !== void 0;
2516
2504
  },
2517
2505
  get children() {
2518
- return r.resetButton(() => r.choose({ textSize: void 0 }));
2506
+ return n.resetButton(() => n.choose({ textSize: void 0 }));
2519
2507
  }
2520
- }), a), z(a, "on-ui-moved", (e) => r.choose({ textSize: e.detail.value })), a._$owner = N(), M(() => ({
2508
+ }), i), z(i, "on-ui-moved", (e) => n.choose({ textSize: e.detail.value })), i._$owner = N(), M(() => ({
2521
2509
  e: e("textSize"),
2522
2510
  t: e("textSizeTip"),
2523
- a: String(r.baseTextSize),
2524
- o: r.theme.textSize === void 0 ? r.ownLabel(`${n()}px`) : `${n()}px`,
2511
+ a: String(n.baseTextSize),
2512
+ o: n.theme.textSize === void 0 ? n.ownLabel(`${t()}px`) : `${t()}px`,
2525
2513
  i: fe.min,
2526
2514
  n: fe.max,
2527
2515
  s: fe.step,
2528
- h: n(),
2516
+ h: t(),
2529
2517
  r: e("textSize")
2530
- }), ({ e, t, a: n, o: r, i: o, n: s, s: c, h: l, r: u }, d) => {
2531
- e !== d?.e && z(i, "label", e), t !== d?.t && z(i, "description", t), n !== d?.a && z(i, "default", n), r !== d?.o && z(i, "output", r), o !== d?.i && z(a, "min", o), s !== d?.n && z(a, "max", s), c !== d?.s && z(a, "step", c), l !== d?.h && z(a, "value", l), u !== d?.r && z(a, "aria-label", u);
2532
- }), i;
2518
+ }), ({ e, t, a: n, o: a, i: o, n: s, s: c, h: l, r: u }, d) => {
2519
+ e !== d?.e && z(r, "label", e), t !== d?.t && z(r, "description", t), n !== d?.a && z(r, "default", n), a !== d?.o && z(r, "output", a), o !== d?.i && z(i, "min", o), s !== d?.n && z(i, "max", s), c !== d?.s && z(i, "step", c), l !== d?.h && z(i, "value", l), u !== d?.r && z(i, "aria-label", u);
2520
+ }), r;
2533
2521
  }
2534
2522
  get baseTextSize() {
2535
2523
  let e = parseFloat(this.files?.valueIn(this.baseTheme, ci) ?? "");
2536
2524
  return Number.isFinite(e) ? Math.round(e) : li;
2537
2525
  }
2538
- segmentedProperty(e, n) {
2539
- let r = this.text, i = /* @__PURE__ */ t(() => this.theme[e], "chosen"), a = /* @__PURE__ */ t(() => this.ownShape(e), "own"), o = /* @__PURE__ */ t(() => a() ? [...n] : [J, ...n], "shown"), s = /* @__PURE__ */ t(() => i() ?? a() ?? J, "picked"), c = /* @__PURE__ */ t((t) => t === J ? this.ownLabel(this.ownShapeText(e)) : r(t), "labelOf"), l = this;
2526
+ segmentedProperty(e, t) {
2527
+ let n = this.text, r = /* @__PURE__ */ c(() => this.theme[e], "chosen"), i = /* @__PURE__ */ c(() => this.ownShape(e), "own"), a = /* @__PURE__ */ c(() => i() ? [...t] : [J, ...t], "shown"), o = /* @__PURE__ */ c(() => r() ?? i() ?? J, "picked"), s = /* @__PURE__ */ c((t) => t === J ? this.ownLabel(this.ownShapeText(e)) : n(t), "labelOf"), l = this;
2540
2528
  var u = ot(), d = u.firstChild;
2541
2529
  return z(u, "name", e), u._$owner = N(), P(u, j(k, {
2542
2530
  get when() {
2543
- return i() !== void 0;
2531
+ return r() !== void 0;
2544
2532
  },
2545
2533
  get children() {
2546
2534
  return l.resetButton(() => l.choose({ [e]: void 0 }));
@@ -2550,22 +2538,22 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2550
2538
  l.choose({ [e]: n === J ? void 0 : n });
2551
2539
  }), d._$owner = N(), P(d, j(O, {
2552
2540
  get each() {
2553
- return o();
2541
+ return a();
2554
2542
  },
2555
2543
  children: (e) => (() => {
2556
2544
  var t = H();
2557
- return z(t, "value", e), t._$owner = N(), P(t, () => c(e)), M(() => s() === e ? "" : void 0, (e) => {
2545
+ return z(t, "value", e), t._$owner = N(), P(t, () => s(e)), M(() => o() === e ? "" : void 0, (e) => {
2558
2546
  z(t, "selected", e);
2559
2547
  }), t;
2560
2548
  })()
2561
2549
  })), M(() => ({
2562
- e: r(e),
2563
- t: r(`${e}Tip`),
2564
- a: a() ?? J,
2565
- o: i() ? r(i()) : a() ? l.ownLabel(r(a())) : void 0,
2566
- i: s(),
2567
- n: a() ? "" : void 0,
2568
- s: r(e)
2550
+ e: n(e),
2551
+ t: n(`${e}Tip`),
2552
+ a: i() ?? J,
2553
+ o: r() ? n(r()) : i() ? l.ownLabel(n(i())) : void 0,
2554
+ i: o(),
2555
+ n: i() ? "" : void 0,
2556
+ s: n(e)
2569
2557
  }), ({ e, t, a: n, o: r, i, n: a, s: o }, s) => {
2570
2558
  e !== s?.e && z(u, "label", e), t !== s?.t && z(u, "description", t), n !== s?.a && z(u, "default", n), r !== s?.o && z(u, "output", r), i !== s?.i && z(d, "value", i), a !== s?.n && z(d, "equal", a), o !== s?.s && z(d, "aria-label", o);
2571
2559
  }), u;
@@ -2643,44 +2631,44 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2643
2631
  e !== i?.e && z(n, "part", e), t !== i?.t && z(n, "aria-label", t), r !== i?.a && z(a, "title", r);
2644
2632
  }), n;
2645
2633
  }
2646
- branch(e, n = !1) {
2647
- let r = /* @__PURE__ */ t(() => this.tree.nodes.get(e), "node"), i = /* @__PURE__ */ t(() => this.isBranchOpen(e), "isOpen"), a = /* @__PURE__ */ t((t) => this.onBranchFolded(t, e), "onFolded"), o = this;
2648
- var s = ft(), c = s.firstChild, l = c.nextSibling;
2649
- return z(s, "level", n ? "3" : "4"), z(s, "on-ui-opened", a), z(s, "on-ui-closed", a), R(() => (t) => o.branchSections.set(e, t), s), s._$owner = N(), P(s, j(k, {
2634
+ branch(e, t = !1) {
2635
+ let n = /* @__PURE__ */ c(() => this.tree.nodes.get(e), "node"), r = /* @__PURE__ */ c(() => this.isBranchOpen(e), "isOpen"), i = /* @__PURE__ */ c((t) => this.onBranchFolded(t, e), "onFolded"), a = this;
2636
+ var o = ft(), s = o.firstChild, l = s.nextSibling;
2637
+ return z(o, "level", t ? "3" : "4"), z(o, "on-ui-opened", i), z(o, "on-ui-closed", i), R(() => (t) => a.branchSections.set(e, t), o), o._$owner = N(), P(o, j(k, {
2650
2638
  get when() {
2651
- return n && !e.startsWith(Ir);
2639
+ return t && !e.startsWith(Ir);
2652
2640
  },
2653
2641
  get children() {
2654
2642
  var t = dt();
2655
- return z(t, "title", e), P(t, () => o.groupCount(e)), t;
2643
+ return z(t, "title", e), P(t, () => a.groupCount(e)), t;
2656
2644
  }
2657
- }), c), P(s, j(k, {
2645
+ }), s), P(o, j(k, {
2658
2646
  get when() {
2659
- return i();
2647
+ return r();
2660
2648
  },
2661
2649
  get children() {
2662
2650
  return [j(k, {
2663
2651
  get when() {
2664
- return r()?.token;
2652
+ return n()?.token;
2665
2653
  },
2666
2654
  get children() {
2667
- return o.leaf(e);
2655
+ return a.leaf(e);
2668
2656
  }
2669
2657
  }), j(O, {
2670
2658
  get each() {
2671
- return r()?.children.map((e) => e.id) ?? [];
2659
+ return n()?.children.map((e) => e.id) ?? [];
2672
2660
  },
2673
- children: (e) => o.tree.nodes.get(e)?.children.length ? o.branch(e) : o.leaf(e)
2661
+ children: (e) => a.tree.nodes.get(e)?.children.length ? a.branch(e) : a.leaf(e)
2674
2662
  })];
2675
2663
  }
2676
2664
  }), l), M(() => ({
2677
- e: L(n ? "group" : "branch"),
2678
- t: r()?.name ?? "",
2679
- a: n ? o.headBottom.tokens : void 0,
2680
- o: i() ? "" : "false"
2665
+ e: L(t ? "group" : "branch"),
2666
+ t: n()?.name ?? "",
2667
+ a: t ? a.headBottom.tokens : void 0,
2668
+ o: r() ? "" : "false"
2681
2669
  }), ({ e, t, a: n, o: r }, i) => {
2682
- A(s, e, i?.e), t !== i?.t && z(s, "label", t), n !== i?.a && z(s, "offset", n), r !== i?.o && z(s, "open", r);
2683
- }), s;
2670
+ A(o, e, i?.e), t !== i?.t && z(o, "label", t), n !== i?.a && z(o, "offset", n), r !== i?.o && z(o, "open", r);
2671
+ }), o;
2684
2672
  }
2685
2673
  groupCount(e) {
2686
2674
  let t = this.groups.find((t) => t.place === e)?.tokens ?? [], n = t.filter((e) => this.isSetHere(e)).length;
@@ -2691,13 +2679,13 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2691
2679
  });
2692
2680
  }
2693
2681
  leaf(e) {
2694
- let n = /* @__PURE__ */ t(() => this.tree.nodes.get(e), "node"), r = n()?.token;
2695
- if (!r) return;
2696
- let i = this;
2697
- var a = pt();
2698
- return z(a, "on-ui-changed", (e) => i.onRowChanged(e)), z(a, "on-ui-command", (e) => i.onRowCommand(e)), a._$owner = N(), M(() => i.rowOf(r, n()?.name ?? r), (e) => {
2699
- z(a, "row", e);
2700
- }), a;
2682
+ let t = /* @__PURE__ */ c(() => this.tree.nodes.get(e), "node"), n = t()?.token;
2683
+ if (!n) return;
2684
+ let r = this;
2685
+ var i = pt();
2686
+ return z(i, "on-ui-changed", (e) => r.onRowChanged(e)), z(i, "on-ui-command", (e) => r.onRowCommand(e)), i._$owner = N(), M(() => r.rowOf(n, t()?.name ?? n), (e) => {
2687
+ z(i, "row", e);
2688
+ }), i;
2701
2689
  }
2702
2690
  headButton(e, t, n) {
2703
2691
  let r = this;
@@ -2713,22 +2701,22 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2713
2701
  }, w.setAt(ti, this.openRows), e === "search" && (t ? ee(() => this.findInput?.focus()) : (this.filter = "", this.isSetHereOnly = !1)));
2714
2702
  }
2715
2703
  toggleAllButton() {
2716
- let e = /* @__PURE__ */ t(() => this.text(this.isAllOpen ? "collapseAll" : "expandAll"), "label"), n = this;
2717
- var r = ht(), i = r.firstChild.firstChild;
2718
- return r._$$click = () => n.toggleAll(), M(() => ({
2704
+ let e = /* @__PURE__ */ c(() => this.text(this.isAllOpen ? "collapseAll" : "expandAll"), "label"), t = this;
2705
+ var n = ht(), r = n.firstChild.firstChild;
2706
+ return n._$$click = () => t.toggleAll(), M(() => ({
2719
2707
  e: e(),
2720
2708
  t: e(),
2721
- a: n.isAllOpen ? "true" : "false",
2722
- o: n.isAllOpen ? Br : zr
2723
- }), ({ e, t, a: n, o: a }, o) => {
2724
- e !== o?.e && z(r, "aria-label", e), t !== o?.t && z(r, "title", t), n !== o?.a && z(r, "aria-pressed", n), a !== o?.o && z(i, "d", a);
2725
- }), r;
2709
+ a: t.isAllOpen ? "true" : "false",
2710
+ o: t.isAllOpen ? Br : zr
2711
+ }), ({ e, t, a: i, o: a }, o) => {
2712
+ e !== o?.e && z(n, "aria-label", e), t !== o?.t && z(n, "title", t), i !== o?.a && z(n, "aria-pressed", i), a !== o?.o && z(r, "d", a);
2713
+ }), n;
2726
2714
  }
2727
2715
  showOnly(e) {
2728
2716
  this.filter = e, this.isFilterFolded = !1, this.isSetHereOnly = !1, this.openRow("search", !0);
2729
2717
  }
2730
- rowOf(e, n) {
2731
- let r = this.text, i = this.tokenEdits[e] !== void 0, a = this.isSetHere(e), o = !i && this.sourceOf(e).setBy === this.baseTheme && !this.draft.sets(e), s = Jr.exec(this.writtenNow(e, this.scheme))?.[1], c = this.openToken === e, l = /* @__PURE__ */ t((t) => {
2718
+ rowOf(e, t) {
2719
+ let n = this.text, r = this.tokenEdits[e] !== void 0, i = this.isSetHere(e), a = !r && this.sourceOf(e).setBy === this.baseTheme && !this.draft.sets(e), o = Jr.exec(this.writtenNow(e, this.scheme))?.[1], s = this.openToken === e, l = /* @__PURE__ */ c((t) => {
2732
2720
  let n = this.kindOf(e, t), r = n === "color" ? this.colorOf(e, t) : void 0;
2733
2721
  return {
2734
2722
  text: this.valueOf(e, t),
@@ -2739,57 +2727,57 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2739
2727
  }, "valueIn");
2740
2728
  return {
2741
2729
  token: e,
2742
- label: n,
2730
+ label: t,
2743
2731
  nameTip: this.nameTip(e),
2744
2732
  schemes: this.shownSchemes,
2745
2733
  values: {
2746
2734
  light: l("light"),
2747
2735
  dark: l("dark")
2748
2736
  },
2749
- isHere: a,
2750
- isTuned: i,
2737
+ isHere: i,
2738
+ isTuned: r,
2751
2739
  isSplit: this.isSplit(e),
2752
- isOpen: c,
2753
- markTip: a ? r("setHereMark") : r("fromMark", { base: this.parentTitle }),
2754
- resetLabel: i ? r("reset") : o && this.parentTheme ? r("backToBase", { base: this.parentTitle }) : void 0,
2755
- pointer: s ? {
2756
- place: s,
2757
- token: this.files?.tokenAt(s)
2740
+ isOpen: s,
2741
+ markTip: i ? n("setHereMark") : n("fromMark", { base: this.parentTitle }),
2742
+ resetLabel: r ? n("reset") : a && this.parentTheme ? n("backToBase", { base: this.parentTitle }) : void 0,
2743
+ pointer: o ? {
2744
+ place: o,
2745
+ token: this.files?.tokenAt(o)
2758
2746
  } : void 0,
2759
2747
  readers: this.pageIds.filter((t) => this.readers[t]?.reads.has(e)).map((t) => {
2760
- let n = !!this.readers[t]?.overrides.has(e), i = r(n ? "overridesTip" : "readsTip", { place: this.pageOf(t)?.label ?? t });
2748
+ let r = !!this.readers[t]?.overrides.has(e), i = n(r ? "overridesTip" : "readsTip", { place: this.pageOf(t)?.label ?? t });
2761
2749
  return {
2762
2750
  id: t,
2763
2751
  icon: this.pageOf(t)?.icon ?? "file",
2764
2752
  tip: i,
2765
- overrides: n
2753
+ overrides: r
2766
2754
  };
2767
2755
  }),
2768
- options: c ? this.colorPlaces : void 0
2756
+ options: s ? this.colorPlaces : void 0
2769
2757
  };
2770
2758
  }
2771
2759
  writtenNow(e, t) {
2772
2760
  let n = this.tokenEdits[e];
2773
2761
  return n ? ("both" in n ? n.both : n[t]) ?? "" : this.draft.sets(e) ? "" : (t === this.scheme ? this.sourceOf(e) : this.files?.sourceOf(this.baseTheme, e, t))?.written ?? "";
2774
2762
  }
2775
- mixOf(e, n) {
2776
- let r = qr.exec(this.writtenNow(e, n));
2777
- if (!r) return;
2778
- let [, i, a, o] = r, s = /* @__PURE__ */ t((e) => {
2763
+ mixOf(e, t) {
2764
+ let n = qr.exec(this.writtenNow(e, t));
2765
+ if (!n) return;
2766
+ let [, r, i, a] = n, o = /* @__PURE__ */ c((e) => {
2779
2767
  let t = e.trim(), n = Jr.exec(t)?.[1];
2780
2768
  if (n) return n;
2781
2769
  let r = Yr.exec(t)?.[1];
2782
2770
  return r ? this.files?.placeOf(r) ?? t : t;
2783
- }, "placeOf"), c = /* @__PURE__ */ t((e) => {
2784
- let t = this.files?.tokenAt(e);
2785
- return t ? this.valueOf(t, n) : e;
2786
- }, "colorAt"), [l, u] = [s(i), s(o)];
2771
+ }, "placeOf"), s = /* @__PURE__ */ c((e) => {
2772
+ let n = this.files?.tokenAt(e);
2773
+ return n ? this.valueOf(n, t) : e;
2774
+ }, "colorAt"), [l, u] = [o(r), o(a)];
2787
2775
  return {
2788
2776
  mixin: l,
2789
- mixinColor: c(l),
2777
+ mixinColor: s(l),
2790
2778
  base: u,
2791
- baseColor: c(u),
2792
- amount: a === void 0 ? ni : Number(a)
2779
+ baseColor: s(u),
2780
+ amount: i === void 0 ? ni : Number(i)
2793
2781
  };
2794
2782
  }
2795
2783
  get colorPlaces() {
@@ -2858,14 +2846,14 @@ ${this.text("usedBy", { tokens: n.join(", ") })}` : ""}`;
2858
2846
  }), n;
2859
2847
  }
2860
2848
  };
2861
- G = se(Hn), Un = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), qn = /* @__PURE__ */ new WeakMap(), Jn = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), Qn = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), er = /* @__PURE__ */ new WeakMap(), tr = /* @__PURE__ */ new WeakMap(), nr = /* @__PURE__ */ new WeakMap(), rr = /* @__PURE__ */ new WeakMap(), ir = /* @__PURE__ */ new WeakMap(), ar = /* @__PURE__ */ new WeakMap(), or = /* @__PURE__ */ new WeakMap(), sr = /* @__PURE__ */ new WeakMap(), cr = /* @__PURE__ */ new WeakMap(), lr = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap(), pr = /* @__PURE__ */ new WeakMap(), mr = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), s(G, 4, "edited", zn, q, Un), s(G, 4, "files", Rn, q, Wn), s(G, 4, "filesError", Ln, q, Gn), s(G, 1, "loadFiles", In, q), s(G, 2, "draft", Fn, q), s(G, 2, "isChanged", Pn, q), s(G, 1, "choose", Nn, q), s(G, 1, "startOver", Mn, q), s(G, 1, "tune", jn, q), s(G, 1, "split", An, q), s(G, 1, "reset", kn, q), s(G, 1, "onShown", On, q), s(G, 1, "onDraftChanged", Dn, q), s(G, 1, "onBaseChanged", En, q), s(G, 4, "myThemes", Tn, q, Kn), s(G, 4, "editingId", wn, q, qn), s(G, 1, "save", Cn, q), s(G, 1, "saveAsNew", Sn, q), s(G, 1, "remove", xn, q), s(G, 1, "open", bn, q), s(G, 1, "startFrom", yn, q), s(G, 2, "exportHref", vn, q), s(G, 4, "importError", _n, q, Jn), s(G, 1, "importFile", gn, q), s(G, 4, "canSaveIntoSpellUi", hn, q, Yn), s(G, 4, "spellUiNote", mn, q, Xn), s(G, 1, "askSpellUi", pn, q), s(G, 1, "saveIntoSpellUi", fn, q), s(G, 1, "copy", dn, q), s(G, 1, "listenToPages", un, q), s(G, 4, "hiddenPages", ln, q, Zn), s(G, 4, "pageOrder", cn, q, Qn), s(G, 4, "addressedPages", sn, q, $n), s(G, 1, "movePage", on, q), s(G, 1, "movePageBy", an, q), s(G, 4, "schemes", rn, q, er), s(G, 1, "showSchemes", nn, q), s(G, 4, "device", tn, q, tr), s(G, 4, "isSwapped", en, q, nr), s(G, 1, "swap", $t, q), s(G, 1, "onViewChanged", Qt, q), s(G, 4, "looks", Zt, q, rr), s(G, 4, "loaded", Xt, q, ir), s(G, 4, "cells", Yt, q, ar), s(G, 2, "readers", Jt, q), s(G, 1, "onPageLoaded", qt, q), s(G, 1, "onPageMessage", Kt, q), s(G, 1, "reload", Gt, q), s(G, 4, "headBottom", Wt, q, or), s(G, 2, "resizer", Ut, q), s(G, 4, "filter", Ht, q, sr), s(G, 2, "tree", Vt, q), s(G, 4, "folds", Bt, q, cr), s(G, 4, "isFilterFolded", zt, q, lr), s(G, 1, "toggleAll", Rt, q), s(G, 4, "isSetHereOnly", Lt, q, ur), s(G, 2, "sources", It, q), s(G, 2, "pointedAt", Ft, q), s(G, 1, "setHere", Pt, q), s(G, 1, "backToParent", Nt, q), s(G, 4, "barMore", Mt, q, dr), s(G, 4, "draggedPage", jt, q, fr), s(G, 4, "dropAt", At, q, pr), s(G, 4, "openRows", kt, q, mr), s(G, 1, "openRow", Ot, q), s(G, 1, "showOnly", Dt, q), s(G, 4, "openToken", Et, q, hr), s(G, 1, "onRowCommand", Tt, q), s(G, 1, "onRowChanged", wt, q), s(G, 13, "vocabulary", Vn, q), s(G, 13, "elementSetup", Bn, q), l(G, q), t(q, "UIThemeEditor"), o(q, "vocabulary", p(G, 116, q, Oe)), p(G, 119, q), o(q, "elementSetup", p(G, 120, q, {
2849
+ G = o(Hn), Un = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), qn = /* @__PURE__ */ new WeakMap(), Jn = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), Qn = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), er = /* @__PURE__ */ new WeakMap(), tr = /* @__PURE__ */ new WeakMap(), nr = /* @__PURE__ */ new WeakMap(), rr = /* @__PURE__ */ new WeakMap(), ir = /* @__PURE__ */ new WeakMap(), ar = /* @__PURE__ */ new WeakMap(), or = /* @__PURE__ */ new WeakMap(), sr = /* @__PURE__ */ new WeakMap(), cr = /* @__PURE__ */ new WeakMap(), lr = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap(), pr = /* @__PURE__ */ new WeakMap(), mr = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), f(G, 4, "edited", zn, q, Un), f(G, 4, "files", Rn, q, Wn), f(G, 4, "filesError", Ln, q, Gn), f(G, 1, "loadFiles", In, q), f(G, 2, "draft", Fn, q), f(G, 2, "isChanged", Pn, q), f(G, 1, "choose", Nn, q), f(G, 1, "startOver", Mn, q), f(G, 1, "tune", jn, q), f(G, 1, "split", An, q), f(G, 1, "reset", kn, q), f(G, 1, "onShown", On, q), f(G, 1, "onDraftChanged", Dn, q), f(G, 1, "onBaseChanged", En, q), f(G, 4, "myThemes", Tn, q, Kn), f(G, 4, "editingId", wn, q, qn), f(G, 1, "save", Cn, q), f(G, 1, "saveAsNew", Sn, q), f(G, 1, "remove", xn, q), f(G, 1, "open", bn, q), f(G, 1, "startFrom", yn, q), f(G, 2, "exportHref", vn, q), f(G, 4, "importError", _n, q, Jn), f(G, 1, "importFile", gn, q), f(G, 4, "canSaveIntoSpellUi", hn, q, Yn), f(G, 4, "spellUiNote", mn, q, Xn), f(G, 1, "askSpellUi", pn, q), f(G, 1, "saveIntoSpellUi", fn, q), f(G, 1, "copy", dn, q), f(G, 1, "listenToPages", un, q), f(G, 4, "hiddenPages", ln, q, Zn), f(G, 4, "pageOrder", cn, q, Qn), f(G, 4, "addressedPages", sn, q, $n), f(G, 1, "movePage", on, q), f(G, 1, "movePageBy", an, q), f(G, 4, "schemes", rn, q, er), f(G, 1, "showSchemes", nn, q), f(G, 4, "device", tn, q, tr), f(G, 4, "isSwapped", en, q, nr), f(G, 1, "swap", $t, q), f(G, 1, "onViewChanged", Qt, q), f(G, 4, "looks", Zt, q, rr), f(G, 4, "loaded", Xt, q, ir), f(G, 4, "cells", Yt, q, ar), f(G, 2, "readers", Jt, q), f(G, 1, "onPageLoaded", qt, q), f(G, 1, "onPageMessage", Kt, q), f(G, 1, "reload", Gt, q), f(G, 4, "headBottom", Wt, q, or), f(G, 2, "resizer", Ut, q), f(G, 4, "filter", Ht, q, sr), f(G, 2, "tree", Vt, q), f(G, 4, "folds", Bt, q, cr), f(G, 4, "isFilterFolded", zt, q, lr), f(G, 1, "toggleAll", Rt, q), f(G, 4, "isSetHereOnly", Lt, q, ur), f(G, 2, "sources", It, q), f(G, 2, "pointedAt", Ft, q), f(G, 1, "setHere", Pt, q), f(G, 1, "backToParent", Nt, q), f(G, 4, "barMore", Mt, q, dr), f(G, 4, "draggedPage", jt, q, fr), f(G, 4, "dropAt", At, q, pr), f(G, 4, "openRows", kt, q, mr), f(G, 1, "openRow", Ot, q), f(G, 1, "showOnly", Dt, q), f(G, 4, "openToken", Et, q, hr), f(G, 1, "onRowCommand", Tt, q), f(G, 1, "onRowChanged", wt, q), f(G, 13, "vocabulary", Vn, q), f(G, 13, "elementSetup", Bn, q), m(G, q), c(q, "UIThemeEditor"), s(q, "vocabulary", h(G, 116, q, Oe)), h(G, 119, q), s(q, "elementSetup", h(G, 120, q, {
2862
2850
  styleSheets: {
2863
2851
  "theme-editor": ke,
2864
2852
  "hue-dropdown": le.css
2865
2853
  },
2866
2854
  DOMElement: gr,
2867
2855
  delegatesFocus: !1
2868
- })), p(G, 123, q);
2856
+ })), h(G, 123, q);
2869
2857
  var _r = q, vr = "spell/ui/core", yr = {
2870
2858
  theme: !0,
2871
2859
  scheme: !0,
@@ -2880,17 +2868,17 @@ var _r = q, vr = "spell/ui/core", yr = {
2880
2868
  function frameKey(e, t) {
2881
2869
  return `${e}:${t}`;
2882
2870
  }
2883
- t(frameKey, "frameKey");
2871
+ c(frameKey, "frameKey");
2884
2872
  function splitKey(e) {
2885
2873
  let t = e.lastIndexOf(":");
2886
2874
  return [e.slice(0, t), e.slice(t + 1)];
2887
2875
  }
2888
- t(splitKey, "splitKey");
2876
+ c(splitKey, "splitKey");
2889
2877
  function otherLoopback(e) {
2890
2878
  let t = new URL(e, location.href);
2891
2879
  return t.hostname = t.hostname === Nr ? Pr : Nr, t.href;
2892
2880
  }
2893
- t(otherLoopback, "otherLoopback");
2881
+ c(otherLoopback, "otherLoopback");
2894
2882
  var Mr = "about:blank", Nr = "localhost", Pr = "127.0.0.1", Fr = "own", Ir = "page.", Lr = {
2895
2883
  own: "groupOwn",
2896
2884
  typography: "groupTypography",
@@ -2929,9 +2917,8 @@ var Mr = "about:blank", Nr = "localhost", Pr = "127.0.0.1", Fr = "own", Ir = "pa
2929
2917
  function stopInner(e) {
2930
2918
  for (let t of _i) e.addEventListener(t, (e) => e.stopPropagation());
2931
2919
  }
2932
- t(stopInner, "stopInner"), ve(["click", "keydown"]);
2933
- //#endregion
2934
- //#region src/components/ui-theme-editor/UIThemeToken.en.ts
2920
+ c(stopInner, "stopInner"), ve(["click", "keydown"]);
2921
+ // src/components/ui-theme-editor/UIThemeToken.en.ts
2935
2922
  var vi = {
2936
2923
  tag: "ui-theme-token",
2937
2924
  icon: "tint",
@@ -2945,6 +2932,7 @@ var vi = {
2945
2932
  ],
2946
2933
  skeleton: "2 tall",
2947
2934
  noun: "theme token",
2935
+ partOfSpeech: "action",
2948
2936
  description: "A theme token is one token of a theme being made: where its value comes from, its value as colour chips in light and dark, and, under its name, a drawer to change it.",
2949
2937
  attributes: [{
2950
2938
  name: "row",
@@ -3054,9 +3042,9 @@ var vi = {
3054
3042
  description: "`transparent`, as a mix's base."
3055
3043
  }
3056
3044
  ]
3057
- }, yi = "@layer ui.components.theme-token.types{:host{--_ui-theme-token-gap:var(--ui-theme-token-gap,20px);display:block}}@layer ui.components.theme-token.content{.theme-token{gap:4px;padding:6px 8px;display:grid}:host(:not(:state(here))) .theme-token:not(:hover) :is(.name,.values,.pointer){opacity:.6}.head{align-items:center;gap:6px;min-height:24px;display:flex}.mark{text-align:center;flex:none;width:1em;font-size:.8em;line-height:1}.mark.set{color:var(--ui-primary-text,var(--ui-primary))}.mark.from{color:var(--ui-text-muted)}.name{min-width:0;font:inherit;font-family:var(--ui-font-family-mono,monospace);color:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:var(--ui-control-cursor);background:0 0;border:0;margin-inline-end:auto;padding:0;font-size:.85em;overflow:hidden}.name:hover,.open .name{color:var(--ui-link,var(--ui-primary))}.name:focus-visible,.link:focus-visible{outline:2px solid var(--ui-focus-color,var(--ui-link));outline-offset:1px}.readers{flex:none;gap:2px;display:inline-flex}.reader{width:22px;height:22px;color:var(--ui-primary-text,var(--ui-primary));background:var(--ui-primary-background,transparent);border-radius:6px;justify-content:center;align-items:center;display:inline-flex;position:relative}.reader ui-icon{--ui-icon-width:auto;margin:0;font-size:.8em}.reader.overrides:after{content:\"\";box-sizing:border-box;border:1.5px solid var(--ui-warning-text,#b45309);background:linear-gradient(90deg, var(--ui-warning-text,#b45309) 50%, var(--ui-surface) 50%);border-radius:50%;width:9px;height:9px;position:absolute;inset:auto -2px -2px auto}.tool{opacity:.55;flex:none}.theme-token:hover .tool,.tool:focus-within{opacity:1}.values{align-items:center;gap:4px var(--_ui-theme-token-gap);flex-wrap:wrap;padding-inline-start:1.1em;display:flex}.value{align-items:center;gap:5px;min-width:0;display:inline-flex}.mix{color:var(--ui-text-muted);align-items:center;gap:5px;font-size:.85em;display:inline-flex}.amount{font-variant-numeric:tabular-nums;color:var(--ui-text-muted);font-size:.85em}.text{text-overflow:ellipsis;white-space:nowrap;font-size:.8em;overflow:hidden}.pointer{color:var(--ui-text-muted);align-items:baseline;gap:6px;padding-inline-start:1.1em;font-size:.8em;display:flex}.link{font:inherit;font-family:var(--ui-font-family-mono,monospace);color:var(--ui-link,var(--ui-primary));cursor:var(--ui-control-cursor);background:0 0;border:0;padding:0}.link:hover{text-decoration:underline}.drawer{background:var(--ui-surface-muted,transparent);border:1px solid var(--ui-border-color-internal,var(--ui-border-color));border-radius:8px;gap:8px;margin:0 8px 8px 1.6em;padding:10px;display:grid}.mix-editor,.pointer-editor{gap:8px;display:grid}.field{grid-template-columns:6em minmax(0,1fr);align-items:center;gap:8px;display:grid}.amount-field{grid-template-columns:6em minmax(0,1fr) 3em}.amount-field .amount{text-align:end}.field-label{color:var(--ui-text-muted);font-size:.8em;font-weight:600}.value-editor{grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;display:grid}.value-editor.color{grid-template-columns:32px calc(8ch + 1.6em) minmax(0,1fr) 3.2em;gap:8px}.value-editor.apart{grid-template-columns:auto minmax(0,1fr)}.value-editor.color.apart{grid-template-columns:auto 32px calc(8ch + 1.6em) minmax(0,1fr) 3.2em}.value-editor.length.apart{grid-template-columns:auto 7em minmax(0,1fr)}.scheme{--ui-icon-width:1em;color:var(--ui-text-muted);margin:0}.value-editor.length{grid-template-columns:7em minmax(0,1fr)}.picker::part(control){block-size:28px;inline-size:32px}.hex::part(control){font-family:var(--ui-font-family-mono,monospace);padding-inline:.5em}.value-editor.length ui-input::part(control){text-align:end;font-variant-numeric:tabular-nums}.percent{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ui-text-muted);font-size:.85em}}", bi = /* @__PURE__ */ B("<div class=pointer><span class=pointer-mark aria-hidden=true>"), xi = /* @__PURE__ */ B("<div class=\"ui theme-token\"><div class=values></div><!>"), Si = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=basic>", 1), Ci = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=\"basic circular\"icon=columns>", 1), wi = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=\"basic circular\"icon=undo>", 1), Ti = /* @__PURE__ */ B("<div class=head><span></span><button type=button class=name></button><!><!><span class=readers role=list>"), Ei = /* @__PURE__ */ B("<span class=reader role=listitem><ui-icon aria-hidden=true>", 1), Di = /* @__PURE__ */ B("<ui-color-chip>", 1), Oi = /* @__PURE__ */ B("<span class=mix><span aria-hidden=true>=</span><ui-color-chip></ui-color-chip><span aria-hidden=true>+</span><ui-color-chip></ui-color-chip><span class=amount>%", 1), ki = /* @__PURE__ */ B("<span>"), Ai = /* @__PURE__ */ B("<code class=text>"), ji = /* @__PURE__ */ B("<button type=button class=link>"), Mi = /* @__PURE__ */ B("<div class=drawer>"), Ni = /* @__PURE__ */ B("<div class=mix-editor><label class=\"field amount-field\"><span class=field-label></span><ui-slider min=0 step=1></ui-slider><span class=amount>%</span></label><!><!>", 1), Pi = /* @__PURE__ */ B("<div class=pointer-editor><ui-button size=mini appearance=basic>", 1), Fi = /* @__PURE__ */ B("<label class=field><span class=field-label></span><ui-select size=small fluid><ui-item>", 1), Ii = /* @__PURE__ */ B("<ui-item>", 1), Li = /* @__PURE__ */ B("<ui-icon class=scheme>", 1), Ri = /* @__PURE__ */ B("<ui-input class=picker type=color size=small>", 1), zi = /* @__PURE__ */ B("<ui-input class=hex size=small>", 1), Bi = /* @__PURE__ */ B("<ui-slider class=opacity min=0 step=1>", 1), Vi = /* @__PURE__ */ B("<span class=percent>%"), Hi = /* @__PURE__ */ B("<div><!><!>"), Ui = /* @__PURE__ */ B("<ui-input size=small fluid>", 1), Wi = /* @__PURE__ */ B("<ui-slider min=0 step=1>", 1), Gi, Ki, qi, Ji, Yi, Xi, Zi, Y, X = class _UIThemeToken extends (Zi = f, Xi = [ne], Yi = [re], Ji = [_("here")], qi = [_("open")], Ki = [C], Gi = [C], Zi) {
3045
+ }, yi = "@layer ui.components.theme-token.types{:host{--_ui-theme-token-gap:var(--ui-theme-token-gap,20px);display:block}}@layer ui.components.theme-token.content{.theme-token{gap:4px;padding:6px 8px;display:grid}:host(:not(:state(here))) .theme-token:not(:hover) :is(.name,.values,.pointer){opacity:.6}.head{align-items:center;gap:6px;min-height:24px;display:flex}.mark{text-align:center;flex:none;width:1em;font-size:.8em;line-height:1}.mark.set{color:var(--ui-primary-text,var(--ui-primary))}.mark.from{color:var(--ui-text-muted)}.name{min-width:0;font:inherit;font-family:var(--ui-font-family-mono,monospace);color:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:var(--ui-control-cursor);background:0 0;border:0;margin-inline-end:auto;padding:0;font-size:.85em;overflow:hidden}.name:hover,.open .name{color:var(--ui-link,var(--ui-primary))}.name:focus-visible,.link:focus-visible{outline:2px solid var(--ui-focus-color,var(--ui-link));outline-offset:1px}.readers{flex:none;gap:2px;display:inline-flex}.reader{width:22px;height:22px;color:var(--ui-primary-text,var(--ui-primary));background:var(--ui-primary-background,transparent);border-radius:6px;justify-content:center;align-items:center;display:inline-flex;position:relative}.reader ui-icon{--ui-icon-width:auto;margin:0;font-size:.8em}.reader.overrides:after{content:\"\";box-sizing:border-box;border:1.5px solid var(--ui-warning-text,#b45309);background:linear-gradient(90deg, var(--ui-warning-text,#b45309) 50%, var(--ui-surface) 50%);border-radius:50%;width:9px;height:9px;position:absolute;inset:auto -2px -2px auto}.tool{opacity:.55;flex:none}.theme-token:hover .tool,.tool:focus-within{opacity:1}.values{align-items:center;gap:4px var(--_ui-theme-token-gap);flex-wrap:wrap;padding-inline-start:1.1em;display:flex}.value{align-items:center;gap:5px;min-width:0;display:inline-flex}.mix{color:var(--ui-text-muted);align-items:center;gap:5px;font-size:.85em;display:inline-flex}.amount{font-variant-numeric:tabular-nums;color:var(--ui-text-muted);font-size:.85em}.text{text-overflow:ellipsis;white-space:nowrap;font-size:.8em;overflow:hidden}.pointer{color:var(--ui-text-muted);align-items:baseline;gap:6px;padding-inline-start:1.1em;font-size:.8em;display:flex}.link{font:inherit;font-family:var(--ui-font-family-mono,monospace);color:var(--ui-link,var(--ui-primary));cursor:var(--ui-control-cursor);background:0 0;border:0;padding:0}.link:hover{text-decoration:underline}.drawer{background:var(--ui-surface-muted,transparent);border:1px solid var(--ui-border-color-internal,var(--ui-border-color));border-radius:8px;gap:8px;margin:0 8px 8px 1.6em;padding:10px;display:grid}.mix-editor,.pointer-editor{gap:8px;display:grid}.field{grid-template-columns:6em minmax(0,1fr);align-items:center;gap:8px;display:grid}.amount-field{grid-template-columns:6em minmax(0,1fr) 3em}.amount-field .amount{text-align:end}.field-label{color:var(--ui-text-muted);font-size:.8em;font-weight:600}.value-editor{grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;display:grid}.value-editor.color{grid-template-columns:32px calc(8ch + 1.6em) minmax(0,1fr) 3.2em;gap:8px}.value-editor.apart{grid-template-columns:auto minmax(0,1fr)}.value-editor.color.apart{grid-template-columns:auto 32px calc(8ch + 1.6em) minmax(0,1fr) 3.2em}.value-editor.length.apart{grid-template-columns:auto 7em minmax(0,1fr)}.scheme{--ui-icon-width:1em;color:var(--ui-text-muted);margin:0}.value-editor.length{grid-template-columns:7em minmax(0,1fr)}.picker::part(control){block-size:28px;inline-size:32px}.hex::part(control){font-family:var(--ui-font-family-mono,monospace);padding-inline:.5em}.value-editor.length ui-input::part(control){text-align:end;font-variant-numeric:tabular-nums}.percent{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ui-text-muted);font-size:.85em}}", bi = /* @__PURE__ */ B("<div class=pointer><span class=pointer-mark aria-hidden=true>"), xi = /* @__PURE__ */ B("<div class=\"ui theme-token\"><div class=values></div><!>"), Si = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=basic>", 1), Ci = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=\"basic circular\"icon=columns>", 1), wi = /* @__PURE__ */ B("<ui-button class=tool size=mini appearance=\"basic circular\"icon=undo>", 1), Ti = /* @__PURE__ */ B("<div class=head><span></span><button type=button class=name></button><!><!><span class=readers role=list>"), Ei = /* @__PURE__ */ B("<span class=reader role=listitem><ui-icon aria-hidden=true>", 1), Di = /* @__PURE__ */ B("<ui-color-chip>", 1), Oi = /* @__PURE__ */ B("<span class=mix><span aria-hidden=true>=</span><ui-color-chip></ui-color-chip><span aria-hidden=true>+</span><ui-color-chip></ui-color-chip><span class=amount>%", 1), ki = /* @__PURE__ */ B("<span>"), Ai = /* @__PURE__ */ B("<code class=text>"), ji = /* @__PURE__ */ B("<button type=button class=link>"), Mi = /* @__PURE__ */ B("<div class=drawer>"), Ni = /* @__PURE__ */ B("<div class=mix-editor><label class=\"field amount-field\"><span class=field-label></span><ui-slider min=0 step=1></ui-slider><span class=amount>%</span></label><!><!>", 1), Pi = /* @__PURE__ */ B("<div class=pointer-editor><ui-button size=mini appearance=basic>", 1), Fi = /* @__PURE__ */ B("<label class=field><span class=field-label></span><ui-select size=small fluid><ui-item>", 1), Ii = /* @__PURE__ */ B("<ui-item>", 1), Li = /* @__PURE__ */ B("<ui-icon class=scheme>", 1), Ri = /* @__PURE__ */ B("<ui-input class=picker type=color size=small>", 1), zi = /* @__PURE__ */ B("<ui-input class=hex size=small>", 1), Bi = /* @__PURE__ */ B("<ui-slider class=opacity min=0 step=1>", 1), Vi = /* @__PURE__ */ B("<span class=percent>%"), Hi = /* @__PURE__ */ B("<div><!><!>"), Ui = /* @__PURE__ */ B("<ui-input size=small fluid>", 1), Wi = /* @__PURE__ */ B("<ui-slider min=0 step=1>", 1), Gi, Ki, qi, Ji, Yi, Xi, Zi, Y, X = class _UIThemeToken extends (Zi = d, Xi = [ie], Yi = [ae], Ji = [_("here")], qi = [_("open")], Ki = [C], Gi = [C], Zi) {
3058
3046
  constructor() {
3059
- super(...arguments), p(Y, 5, this);
3047
+ super(...arguments), h(Y, 5, this);
3060
3048
  }
3061
3049
  get data() {
3062
3050
  let e = this.row;
@@ -3135,38 +3123,38 @@ var vi = {
3135
3123
  });
3136
3124
  }
3137
3125
  head() {
3138
- let e = /* @__PURE__ */ t(() => this.data, "row"), n = /* @__PURE__ */ t((e, t) => this.text(e, t), "t"), r = this;
3139
- var i = Ti(), a = i.firstChild, o = a.nextSibling, s = o.nextSibling, c = s.nextSibling, l = c.nextSibling;
3140
- return P(a, () => e().isHere ? $i : ea), o._$$click = () => r.command("open"), P(o, () => e().label), P(i, j(k, {
3126
+ let e = /* @__PURE__ */ c(() => this.data, "row"), t = /* @__PURE__ */ c((e, t) => this.text(e, t), "t"), n = this;
3127
+ var r = Ti(), i = r.firstChild, a = i.nextSibling, o = a.nextSibling, s = o.nextSibling, l = s.nextSibling;
3128
+ return P(i, () => e().isHere ? $i : ea), a._$$click = () => n.command("open"), P(a, () => e().label), P(r, j(k, {
3141
3129
  get when() {
3142
3130
  return !e().isHere;
3143
3131
  },
3144
3132
  get children() {
3145
3133
  var e = Si();
3146
- return e._$$click = () => r.command("set here"), e._$owner = N(), P(e, () => n("setHere")), M(() => n("setHereTip"), (t) => {
3134
+ return e._$$click = () => n.command("set here"), e._$owner = N(), P(e, () => t("setHere")), M(() => t("setHereTip"), (t) => {
3147
3135
  z(e, "title", t);
3148
3136
  }), e;
3149
3137
  }
3150
- }), s), P(i, j(k, {
3138
+ }), o), P(r, j(k, {
3151
3139
  get when() {
3152
3140
  return I(() => !e().isSplit)() && !e().values.light.mix;
3153
3141
  },
3154
3142
  get children() {
3155
3143
  var e = Ci();
3156
- return e._$$click = () => r.command("split"), e._$owner = N(), M(() => ({
3157
- e: n("split"),
3158
- t: n("split")
3144
+ return e._$$click = () => n.command("split"), e._$owner = N(), M(() => ({
3145
+ e: t("split"),
3146
+ t: t("split")
3159
3147
  }), ({ e: t, t: n }, r) => {
3160
3148
  t !== r?.e && z(e, "aria-label", t), n !== r?.t && z(e, "title", n);
3161
3149
  }), e;
3162
3150
  }
3163
- }), c), P(i, j(k, {
3151
+ }), s), P(r, j(k, {
3164
3152
  get when() {
3165
3153
  return e().resetLabel;
3166
3154
  },
3167
3155
  get children() {
3168
3156
  var t = wi();
3169
- return t._$$click = () => r.command("reset"), t._$owner = N(), M(() => ({
3157
+ return t._$$click = () => n.command("reset"), t._$owner = N(), M(() => ({
3170
3158
  e: e().resetLabel,
3171
3159
  t: e().resetLabel
3172
3160
  }), ({ e, t: n }, r) => {
@@ -3192,56 +3180,56 @@ var vi = {
3192
3180
  t: e().markTip,
3193
3181
  a: e().markTip,
3194
3182
  o: e().nameTip,
3195
- i: n("edit", { token: e().token }),
3183
+ i: t("edit", { token: e().token }),
3196
3184
  n: e().isOpen ? "true" : "false",
3197
- s: n("readBy")
3198
- }), ({ e, t, a: n, o: r, i, n: s, s: c }, u) => {
3199
- A(a, e, u?.e), t !== u?.t && z(a, "title", t), n !== u?.a && z(a, "aria-label", n), r !== u?.o && z(o, "title", r), i !== u?.i && z(o, "aria-label", i), s !== u?.n && z(o, "aria-expanded", s), c !== u?.s && z(l, "aria-label", c);
3200
- }), i;
3185
+ s: t("readBy")
3186
+ }), ({ e, t, a: n, o: r, i: o, n: s, s: c }, u) => {
3187
+ A(i, e, u?.e), t !== u?.t && z(i, "title", t), n !== u?.a && z(i, "aria-label", n), r !== u?.o && z(a, "title", r), o !== u?.i && z(a, "aria-label", o), s !== u?.n && z(a, "aria-expanded", s), c !== u?.s && z(l, "aria-label", c);
3188
+ }), r;
3201
3189
  }
3202
3190
  value(e) {
3203
- let n = /* @__PURE__ */ t(() => this.data.values[e], "value"), r = this;
3204
- var i = ki();
3205
- return P(i, j(k, {
3191
+ let t = /* @__PURE__ */ c(() => this.data.values[e], "value"), n = this;
3192
+ var r = ki();
3193
+ return P(r, j(k, {
3206
3194
  get when() {
3207
- return n().kind === "color";
3195
+ return t().kind === "color";
3208
3196
  },
3209
3197
  get fallback() {
3210
3198
  var e = Ai();
3211
- return P(e, () => n().text), e;
3199
+ return P(e, () => t().text), e;
3212
3200
  },
3213
3201
  get children() {
3214
3202
  return [(() => {
3215
- var t = Di();
3216
- return z(t, "scheme", e), t._$owner = N(), M(() => ({
3217
- e: n().text,
3218
- t: r.text(e)
3219
- }), ({ e, t: n }, r) => {
3220
- e !== r?.e && z(t, "color", e), n !== r?.t && z(t, "label", n);
3221
- }), t;
3203
+ var r = Di();
3204
+ return z(r, "scheme", e), r._$owner = N(), M(() => ({
3205
+ e: t().text,
3206
+ t: n.text(e)
3207
+ }), ({ e, t }, n) => {
3208
+ e !== n?.e && z(r, "color", e), t !== n?.t && z(r, "label", t);
3209
+ }), r;
3222
3210
  })(), j(k, {
3223
3211
  get when() {
3224
- return n().mix;
3212
+ return t().mix;
3225
3213
  },
3226
3214
  get children() {
3227
- var t = Oi(), i = t.firstChild.nextSibling, a = i.nextSibling.nextSibling, o = a.nextSibling, s = o.firstChild;
3228
- return z(i, "scheme", e), i._$owner = N(), z(a, "scheme", e), a._$owner = N(), P(o, () => n().mix.amount, s), M(() => ({
3229
- e: n().mix.baseColor,
3230
- t: r.colorName(n().mix.base),
3231
- a: n().mix.mixinColor,
3232
- o: r.colorName(n().mix.mixin)
3215
+ var r = Oi(), i = r.firstChild.nextSibling, a = i.nextSibling.nextSibling, o = a.nextSibling, s = o.firstChild;
3216
+ return z(i, "scheme", e), i._$owner = N(), z(a, "scheme", e), a._$owner = N(), P(o, () => t().mix.amount, s), M(() => ({
3217
+ e: t().mix.baseColor,
3218
+ t: n.colorName(t().mix.base),
3219
+ a: t().mix.mixinColor,
3220
+ o: n.colorName(t().mix.mixin)
3233
3221
  }), ({ e, t, a: n, o: r }, o) => {
3234
3222
  e !== o?.e && z(i, "color", e), t !== o?.t && z(i, "label", t), n !== o?.a && z(a, "color", n), r !== o?.o && z(a, "label", r);
3235
- }), t;
3223
+ }), r;
3236
3224
  }
3237
3225
  })];
3238
3226
  }
3239
3227
  })), M(() => ({
3240
3228
  e: L(["value", e]),
3241
- t: r.text(e)
3229
+ t: n.text(e)
3242
3230
  }), ({ e, t }, n) => {
3243
- A(i, e, n?.e), t !== n?.t && z(i, "title", t);
3244
- }), i;
3231
+ A(r, e, n?.e), t !== n?.t && z(r, "title", t);
3232
+ }), r;
3245
3233
  }
3246
3234
  colorName(e) {
3247
3235
  return e === na ? this.text("clear") : e;
@@ -3252,11 +3240,11 @@ var vi = {
3252
3240
  return n._$$click = () => t.command("show", e), P(n, e), n;
3253
3241
  }
3254
3242
  drawer() {
3255
- let e = /* @__PURE__ */ t(() => this.data, "row"), n = /* @__PURE__ */ t(() => e().values[e().schemes[0] ?? "light"].mix, "mix"), r = this;
3256
- var i = Mi();
3257
- return P(i, j(k, {
3243
+ let e = /* @__PURE__ */ c(() => this.data, "row"), t = /* @__PURE__ */ c(() => e().values[e().schemes[0] ?? "light"].mix, "mix"), n = this;
3244
+ var r = Mi();
3245
+ return P(r, j(k, {
3258
3246
  get when() {
3259
- return n();
3247
+ return t();
3260
3248
  },
3261
3249
  get fallback() {
3262
3250
  return j(k, {
@@ -3266,45 +3254,45 @@ var vi = {
3266
3254
  get fallback() {
3267
3255
  return j(O, {
3268
3256
  get each() {
3269
- return r.shownSchemes;
3257
+ return n.shownSchemes;
3270
3258
  },
3271
- children: (e) => r.valueEditor(e)
3259
+ children: (e) => n.valueEditor(e)
3272
3260
  });
3273
3261
  },
3274
3262
  get children() {
3275
- return r.pointerEditor();
3263
+ return n.pointerEditor();
3276
3264
  }
3277
3265
  });
3278
3266
  },
3279
3267
  get children() {
3280
- return r.mixEditor();
3268
+ return n.mixEditor();
3281
3269
  }
3282
- })), M(() => r.partForName("drawer"), (e) => {
3283
- z(i, "part", e);
3284
- }), i;
3270
+ })), M(() => n.partForName("drawer"), (e) => {
3271
+ z(r, "part", e);
3272
+ }), r;
3285
3273
  }
3286
3274
  mixEditor() {
3287
- let e = /* @__PURE__ */ t((e) => this.text(e), "t"), n = /* @__PURE__ */ t(() => this.data.values[this.data.schemes[0] ?? "light"].mix, "mix"), r = /* @__PURE__ */ t((e) => {
3288
- let { base: t, mixin: r, amount: i } = {
3289
- ...n(),
3275
+ let e = /* @__PURE__ */ c((e) => this.text(e), "t"), t = /* @__PURE__ */ c(() => this.data.values[this.data.schemes[0] ?? "light"].mix, "mix"), n = /* @__PURE__ */ c((e) => {
3276
+ let { base: n, mixin: r, amount: i } = {
3277
+ ...t(),
3290
3278
  ...e
3291
3279
  };
3292
- this.change(`color-mix(in oklab, ${asWritten(r)} ${i}%, ${asWritten(t)})`);
3293
- }, "write"), i = this;
3294
- var a = Ni(), o = a.firstChild, s = o.firstChild, c = s.nextSibling, l = c.nextSibling, u = l.firstChild, d = o.nextSibling, f = d.nextSibling;
3295
- return P(s, () => e("amount")), z(c, "max", Z), z(c, "on-ui-moved", (e) => r({ amount: e.detail.value })), c._$owner = N(), P(l, () => n().amount, u), P(a, () => i.colorSelect(e("mixIn"), n().mixin, (e) => r({ mixin: e })), d), P(a, () => i.colorSelect(e("base"), n().base, (e) => r({ base: e })), f), M(() => ({
3296
- e: n().amount,
3280
+ this.change(`color-mix(in oklab, ${asWritten(r)} ${i}%, ${asWritten(n)})`);
3281
+ }, "write"), r = this;
3282
+ var i = Ni(), a = i.firstChild, o = a.firstChild, s = o.nextSibling, l = s.nextSibling, u = l.firstChild, d = a.nextSibling, f = d.nextSibling;
3283
+ return P(o, () => e("amount")), z(s, "max", Z), z(s, "on-ui-moved", (e) => n({ amount: e.detail.value })), s._$owner = N(), P(l, () => t().amount, u), P(i, () => r.colorSelect(e("mixIn"), t().mixin, (e) => n({ mixin: e })), d), P(i, () => r.colorSelect(e("base"), t().base, (e) => n({ base: e })), f), M(() => ({
3284
+ e: t().amount,
3297
3285
  t: e("amount")
3298
3286
  }), ({ e, t }, n) => {
3299
- e !== n?.e && z(c, "value", e), t !== n?.t && z(c, "aria-label", t);
3300
- }), a;
3287
+ e !== n?.e && z(s, "value", e), t !== n?.t && z(s, "aria-label", t);
3288
+ }), i;
3301
3289
  }
3302
3290
  pointerEditor() {
3303
- let e = /* @__PURE__ */ t((e) => this.text(e), "t"), n = this;
3304
- var r = Pi(), i = r.firstChild;
3305
- return P(r, () => n.colorSelect(e("pointsAt"), n.data.pointer.place, (e) => n.change(asWritten(e))), i), i._$$click = () => n.command("set here"), i._$owner = N(), P(i, () => e("setHere")), M(() => e("pointsAtTip"), (e) => {
3306
- z(r, "title", e);
3307
- }), r;
3291
+ let e = /* @__PURE__ */ c((e) => this.text(e), "t"), t = this;
3292
+ var n = Pi(), r = n.firstChild;
3293
+ return P(n, () => t.colorSelect(e("pointsAt"), t.data.pointer.place, (e) => t.change(asWritten(e))), r), r._$$click = () => t.command("set here"), r._$owner = N(), P(r, () => e("setHere")), M(() => e("pointsAtTip"), (e) => {
3294
+ z(n, "title", e);
3295
+ }), n;
3308
3296
  }
3309
3297
  colorSelect(e, t, n) {
3310
3298
  let r = this;
@@ -3322,41 +3310,41 @@ var vi = {
3322
3310
  }), null), i;
3323
3311
  }
3324
3312
  valueEditor(e) {
3325
- let n = /* @__PURE__ */ t(() => this.data.values[e], "value"), r = /* @__PURE__ */ t(() => this.data.isSplit ? e : void 0, "forScheme"), i = /* @__PURE__ */ t(() => `${this.data.token}, ${this.text(e)}`, "name"), a = this;
3326
- var o = Hi(), s = o.firstChild, c = s.nextSibling;
3327
- return P(o, j(k, {
3313
+ let t = /* @__PURE__ */ c(() => this.data.values[e], "value"), n = /* @__PURE__ */ c(() => this.data.isSplit ? e : void 0, "forScheme"), r = /* @__PURE__ */ c(() => `${this.data.token}, ${this.text(e)}`, "name"), i = this;
3314
+ var a = Hi(), o = a.firstChild, s = o.nextSibling;
3315
+ return P(a, j(k, {
3328
3316
  get when() {
3329
- return a.isApart;
3317
+ return i.isApart;
3330
3318
  },
3331
3319
  get children() {
3332
3320
  var t = Li();
3333
- return z(t, "name", e === "dark" ? "moon" : "sun"), t._$owner = N(), M(() => a.text(e), (e) => {
3321
+ return z(t, "name", e === "dark" ? "moon" : "sun"), t._$owner = N(), M(() => i.text(e), (e) => {
3334
3322
  z(t, "aria-label", e);
3335
3323
  }), t;
3336
3324
  }
3337
- }), s), P(o, j(k, {
3325
+ }), o), P(a, j(k, {
3338
3326
  get when() {
3339
- return n().kind === "color";
3327
+ return t().kind === "color";
3340
3328
  },
3341
3329
  get fallback() {
3342
3330
  return [(() => {
3343
3331
  var e = Ui();
3344
- return z(e, "on-ui-changed", (e) => a.change(e.detail.value.trim(), r())), e._$owner = N(), M(() => ({
3345
- e: n().text,
3346
- t: `${i()}: ${a.text("value")}`
3332
+ return z(e, "on-ui-changed", (e) => i.change(e.detail.value.trim(), n())), e._$owner = N(), M(() => ({
3333
+ e: t().text,
3334
+ t: `${r()}: ${i.text("value")}`
3347
3335
  }), ({ e: t, t: n }, r) => {
3348
3336
  t !== r?.e && z(e, "value", t), n !== r?.t && z(e, "aria-label", n);
3349
3337
  }), e;
3350
3338
  })(), j(k, {
3351
3339
  get when() {
3352
- return n().kind === "length";
3340
+ return t().kind === "length";
3353
3341
  },
3354
3342
  get children() {
3355
3343
  var e = Wi();
3356
- return z(e, "on-ui-moved", (e) => a.change(`${e.detail.value}px`, r())), e._$owner = N(), M(() => ({
3357
- e: Math.max(ra, Math.ceil((parseFloat(n().text) || 0) * 2)),
3358
- t: parseFloat(n().text) || 0,
3359
- a: i()
3344
+ return z(e, "on-ui-moved", (e) => i.change(`${e.detail.value}px`, n())), e._$owner = N(), M(() => ({
3345
+ e: Math.max(ra, Math.ceil((parseFloat(t().text) || 0) * 2)),
3346
+ t: parseFloat(t().text) || 0,
3347
+ a: r()
3360
3348
  }), ({ e: t, t: n, a: r }, i) => {
3361
3349
  t !== i?.e && z(e, "max", t), n !== i?.t && z(e, "value", n), r !== i?.a && z(e, "aria-label", r);
3362
3350
  }), e;
@@ -3367,66 +3355,65 @@ var vi = {
3367
3355
  return [
3368
3356
  (() => {
3369
3357
  var e = Ri();
3370
- return z(e, "on-ui-typed", (e) => a.change(V.join(e.detail.value, n().opacity ?? Z), r())), e._$owner = N(), M(() => ({
3371
- e: n().hex ?? ia,
3372
- t: i()
3358
+ return z(e, "on-ui-typed", (e) => i.change(V.join(e.detail.value, t().opacity ?? Z), n())), e._$owner = N(), M(() => ({
3359
+ e: t().hex ?? ia,
3360
+ t: r()
3373
3361
  }), ({ e: t, t: n }, r) => {
3374
3362
  t !== r?.e && z(e, "value", t), n !== r?.t && z(e, "aria-label", n);
3375
3363
  }), e;
3376
3364
  })(),
3377
3365
  (() => {
3378
3366
  var e = zi();
3379
- return z(e, "on-ui-changed", (e) => a.change(V.join(e.detail.value.trim(), n().opacity ?? Z), r())), e._$owner = N(), M(() => ({
3380
- e: n().hex ?? "",
3381
- t: `${i()}: ${a.text("value")}`
3367
+ return z(e, "on-ui-changed", (e) => i.change(V.join(e.detail.value.trim(), t().opacity ?? Z), n())), e._$owner = N(), M(() => ({
3368
+ e: t().hex ?? "",
3369
+ t: `${r()}: ${i.text("value")}`
3382
3370
  }), ({ e: t, t: n }, r) => {
3383
3371
  t !== r?.e && z(e, "value", t), n !== r?.t && z(e, "aria-label", n);
3384
3372
  }), e;
3385
3373
  })(),
3386
3374
  (() => {
3387
3375
  var e = Bi();
3388
- return z(e, "max", Z), z(e, "on-ui-moved", (e) => a.change(V.join(n().hex ?? ia, e.detail.value), r())), e._$owner = N(), M(() => ({
3389
- e: n().opacity ?? Z,
3390
- t: `${i()}: ${a.text("alpha")}`
3376
+ return z(e, "max", Z), z(e, "on-ui-moved", (e) => i.change(V.join(t().hex ?? ia, e.detail.value), n())), e._$owner = N(), M(() => ({
3377
+ e: t().opacity ?? Z,
3378
+ t: `${r()}: ${i.text("alpha")}`
3391
3379
  }), ({ e: t, t: n }, r) => {
3392
3380
  t !== r?.e && z(e, "value", t), n !== r?.t && z(e, "aria-label", n);
3393
3381
  }), e;
3394
3382
  })(),
3395
3383
  (() => {
3396
- var e = Vi(), t = e.firstChild;
3397
- return P(e, () => n().opacity ?? Z, t), e;
3384
+ var e = Vi(), n = e.firstChild;
3385
+ return P(e, () => t().opacity ?? Z, n), e;
3398
3386
  })()
3399
3387
  ];
3400
3388
  }
3401
- }), c), M(() => ({
3389
+ }), s), M(() => ({
3402
3390
  e: L([
3403
3391
  "value-editor",
3404
- n().kind,
3405
- { apart: a.isApart }
3392
+ t().kind,
3393
+ { apart: i.isApart }
3406
3394
  ]),
3407
- t: a.text(e)
3395
+ t: i.text(e)
3408
3396
  }), ({ e, t }, n) => {
3409
- A(o, e, n?.e), t !== n?.t && z(o, "title", t);
3410
- }), o;
3397
+ A(a, e, n?.e), t !== n?.t && z(a, "title", t);
3398
+ }), a;
3411
3399
  }
3412
3400
  };
3413
- Y = se(Zi), s(Y, 2, "isHere", Ji, X), s(Y, 2, "isOpen", qi, X), s(Y, 1, "change", Ki, X), s(Y, 1, "command", Gi, X), s(Y, 13, "vocabulary", Xi, X), s(Y, 13, "elementSetup", Yi, X), l(Y, X), t(X, "UIThemeToken"), o(X, "vocabulary", p(Y, 8, X, vi)), p(Y, 11, X), o(X, "elementSetup", p(Y, 12, X, {
3401
+ Y = o(Zi), f(Y, 2, "isHere", Ji, X), f(Y, 2, "isOpen", qi, X), f(Y, 1, "change", Ki, X), f(Y, 1, "command", Gi, X), f(Y, 13, "vocabulary", Xi, X), f(Y, 13, "elementSetup", Yi, X), m(Y, X), c(X, "UIThemeToken"), s(X, "vocabulary", h(Y, 8, X, vi)), h(Y, 11, X), s(X, "elementSetup", h(Y, 12, X, {
3414
3402
  styleSheets: { "theme-token": yi },
3415
3403
  delegatesFocus: !1
3416
- })), p(Y, 15, X);
3404
+ })), h(Y, 15, X);
3417
3405
  var Qi = X;
3418
3406
  function sameValue(e, t) {
3419
3407
  return e.text === t.text && e.hex === t.hex && e.opacity === t.opacity && JSON.stringify(e.mix) === JSON.stringify(t.mix);
3420
3408
  }
3421
- t(sameValue, "sameValue");
3409
+ c(sameValue, "sameValue");
3422
3410
  function asWritten(e) {
3423
3411
  return e === na || !/^[\w-]+(?:\.[\w-]+)+$/.test(e) ? e : `{${e}}`;
3424
3412
  }
3425
- t(asWritten, "asWritten");
3413
+ c(asWritten, "asWritten");
3426
3414
  var $i = "●", ea = "○", ta = "↳", na = "transparent", Z = 100, ra = 48, ia = "#000000";
3427
3415
  ve(["click"]);
3428
- //#endregion
3429
- //#region src/components/ui-theme-editor/UIColorChip.en.ts
3416
+ // src/components/ui-theme-editor/UIColorChip.en.ts
3430
3417
  var aa = {
3431
3418
  tag: "ui-color-chip",
3432
3419
  icon: "tint",
@@ -3440,6 +3427,7 @@ var aa = {
3440
3427
  ],
3441
3428
  skeleton: "inline 1.4 x 1.4",
3442
3429
  noun: "colour chip",
3430
+ partOfSpeech: "property",
3443
3431
  description: "A colour chip shows one colour, as a small rounded square: read-only, its value in its tooltip.",
3444
3432
  attributes: [
3445
3433
  {
@@ -3475,7 +3463,7 @@ var aa = {
3475
3463
  }],
3476
3464
  states: [],
3477
3465
  texts: []
3478
- }, oa = "@layer ui.components.color-chip.types{:host{vertical-align:middle;--_ui-color-chip-size:var(--ui-color-chip-size,1.4em);--_ui-color-chip-radius:var(--ui-color-chip-radius,.35em);line-height:0;display:inline-block}.color-chip{inline-size:var(--_ui-color-chip-size);block-size:var(--_ui-color-chip-size);border-radius:var(--_ui-color-chip-radius);background:linear-gradient(var(--_ui-color-chip-color), var(--_ui-color-chip-color)), repeating-conic-gradient(#c8c8c8 0 25%, #fff 0 50%) 0 0 / .6em .6em;display:inline-block;box-shadow:inset 0 0 0 1px light-dark(#00000024,#ffffff3d)}.color-chip.light{color-scheme:light}.color-chip.dark{color-scheme:dark}}", sa = /* @__PURE__ */ B("<span role=img>"), ca, la, ua, Q, $ = class _UIColorChip extends (ua = f, la = [ne], ca = [re], ua) {
3466
+ }, oa = "@layer ui.components.color-chip.types{:host{vertical-align:middle;--_ui-color-chip-size:var(--ui-color-chip-size,1.4em);--_ui-color-chip-radius:var(--ui-color-chip-radius,.35em);line-height:0;display:inline-block}.color-chip{inline-size:var(--_ui-color-chip-size);block-size:var(--_ui-color-chip-size);border-radius:var(--_ui-color-chip-radius);background:linear-gradient(var(--_ui-color-chip-color), var(--_ui-color-chip-color)), repeating-conic-gradient(#c8c8c8 0 25%, #fff 0 50%) 0 0 / .6em .6em;display:inline-block;box-shadow:inset 0 0 0 1px light-dark(#00000024,#ffffff3d)}.color-chip.light{color-scheme:light}.color-chip.dark{color-scheme:dark}}", sa = /* @__PURE__ */ B("<span role=img>"), ca, la, ua, Q, $ = class _UIColorChip extends (ua = d, la = [ie], ca = [ae], ua) {
3479
3467
  get chipName() {
3480
3468
  return this.label || this.color || "";
3481
3469
  }
@@ -3493,13 +3481,12 @@ var aa = {
3493
3481
  }), t;
3494
3482
  }
3495
3483
  };
3496
- Q = se(ua), s(Q, 13, "vocabulary", la, $), s(Q, 13, "elementSetup", ca, $), l(Q, $), t($, "UIColorChip"), o($, "vocabulary", p(Q, 8, $, aa)), p(Q, 11, $), o($, "elementSetup", p(Q, 12, $, {
3484
+ Q = o(ua), f(Q, 13, "vocabulary", la, $), f(Q, 13, "elementSetup", ca, $), m(Q, $), c($, "UIColorChip"), s($, "vocabulary", h(Q, 8, $, aa)), h(Q, 11, $), s($, "elementSetup", h(Q, 12, $, {
3497
3485
  styleSheets: { "color-chip": oa },
3498
3486
  delegatesFocus: !1
3499
- })), p(Q, 15, $);
3487
+ })), h(Q, 15, $);
3500
3488
  var da = $;
3501
3489
  _r.define(), Qi.define(), da.define();
3502
- //#endregion
3503
3490
  export { gr as DOMThemeEditorElement, be as PageBridge, D as SavedTheme, E as ThemeDraft, T as ThemeTokens, V as TokenColor, De as TokenTree, _r as UIThemeEditor };
3504
3491
 
3505
3492
  //# sourceMappingURL=ui-theme-editor.js.map