spell-ui 0.8.9 → 0.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1168) hide show
  1. package/README-components.md +9 -3
  2. package/README-frameworks.md +5 -5
  3. package/README-migrating.md +2 -2
  4. package/README.md +5 -5
  5. package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
  6. package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
  7. package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
  8. package/dist/Dragging-B93hbRxF.js.map +1 -0
  9. package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
  10. package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
  11. package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
  12. package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
  13. package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
  14. package/dist/PrefStore-Di83C0bY.js.map +1 -0
  15. package/dist/ScrollingRow-DkOtx2QK.js +89 -0
  16. package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
  17. package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
  18. package/dist/SitePages-B3zd5Zgu.js.map +1 -0
  19. package/dist/SlottedItems-DWfAZYqM.js +88 -0
  20. package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
  21. package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
  22. package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
  23. package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
  24. package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
  25. package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
  26. package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
  27. package/dist/UIButton-BmIiXYDC.js +5 -0
  28. package/dist/UIButton-BmIiXYDC.js.map +1 -0
  29. package/dist/UIGrid-2ZUA1YEc.js +200 -0
  30. package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
  31. package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
  32. package/dist/UIInput-B3K0w4ow.js.map +1 -0
  33. package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
  34. package/dist/UIKeys-DmXvyJuU.js.map +1 -0
  35. package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
  36. package/dist/UILabel-pCjKxQlQ.js.map +1 -0
  37. package/dist/UIMenu-CqURPocK.js +42 -0
  38. package/dist/UIMenu-CqURPocK.js.map +1 -0
  39. package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
  40. package/dist/UIRuntime-BXutHphM.js.map +1 -0
  41. package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
  42. package/dist/UISegment-BF4Tgy2D.js.map +1 -0
  43. package/dist/_spell-element/UIComponent.d.ts +8 -0
  44. package/dist/_spell-element/vocabulary.types.d.ts +20 -2
  45. package/dist/_util/Dragging.d.ts +14 -2
  46. package/dist/_util/dom.d.ts +12 -8
  47. package/dist/_util/measures/Dimension.d.ts +1 -1
  48. package/dist/_util/persist/PrefStore.d.ts +7 -2
  49. package/dist/_util/persist/persist.types.d.ts +6 -0
  50. package/dist/_util/platform.d.ts +54 -0
  51. package/dist/_util/string.d.ts +32 -0
  52. package/dist/api.js +2 -3
  53. package/dist/api.js.map +1 -1
  54. package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
  55. package/dist/apple.palette-YLjENwUt.js.map +1 -0
  56. package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
  57. package/dist/classic-BHyJFvQa.js.map +1 -0
  58. package/dist/components/ComponentDefinitions.d.ts +55 -8
  59. package/dist/components/components.es.d.ts +2 -1
  60. package/dist/components/components.planned.d.ts +1 -1
  61. package/dist/components/components.types.d.ts +22 -0
  62. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  63. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  64. package/dist/components/ui-action/UIAction.d.ts +38 -1
  65. package/dist/components/ui-action/UIAction.en.d.ts +17 -8
  66. package/dist/components/ui-action/UIAction.es.d.ts +1 -0
  67. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  68. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  69. package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
  70. package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
  71. package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
  72. package/dist/components/ui-app-menu/index.d.ts +2 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  74. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  75. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  76. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  77. package/dist/components/ui-button/UIButton.d.ts +5 -4
  78. package/dist/components/ui-button/UIButton.en.d.ts +4 -3
  79. package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
  80. package/dist/components/ui-button/UIButton.types.d.ts +1 -1
  81. package/dist/components/ui-button/UIButtons.d.ts +7 -5
  82. package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
  83. package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
  84. package/dist/components/ui-button/UIOr.d.ts +1 -0
  85. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  86. package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
  87. package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
  88. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
  89. package/dist/components/ui-card/UICard.d.ts +1 -0
  90. package/dist/components/ui-card/UICard.en.d.ts +1 -0
  91. package/dist/components/ui-card/UICards.d.ts +1 -0
  92. package/dist/components/ui-card/UICards.en.d.ts +1 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
  95. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
  97. package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
  98. package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
  99. package/dist/components/ui-code/UICode.d.ts +12 -1
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-code/UICode.types.d.ts +9 -0
  102. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  105. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  106. package/dist/components/ui-components/UIComponents.d.ts +1 -0
  107. package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
  108. package/dist/components/ui-container/UIContainer.d.ts +54 -1
  109. package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-device/UIDevice.d.ts +234 -0
  112. package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
  113. package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
  114. package/dist/components/ui-device/index.d.ts +1 -0
  115. package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
  116. package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
  117. package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
  118. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
  119. package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
  120. package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
  121. package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
  122. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  123. package/dist/components/ui-divider/UIDivider.d.ts +1 -0
  124. package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
  125. package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
  126. package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
  127. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
  129. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  130. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  131. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  132. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  133. package/dist/components/ui-example/UIExample.en.d.ts +1 -0
  134. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  135. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  136. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  137. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  138. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  139. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  140. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  141. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  142. package/dist/components/ui-form/UIField.d.ts +11 -4
  143. package/dist/components/ui-form/UIField.en.d.ts +3 -2
  144. package/dist/components/ui-form/UIFields.d.ts +1 -0
  145. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  146. package/dist/components/ui-form/UIForm.d.ts +1 -0
  147. package/dist/components/ui-form/UIForm.en.d.ts +1 -0
  148. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  149. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  150. package/dist/components/ui-grid/UIColumn.d.ts +4 -3
  151. package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
  152. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  153. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  154. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  155. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  156. package/dist/components/ui-icon/UIIcon.d.ts +1 -0
  157. package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
  158. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  159. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  160. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
  161. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
  162. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
  163. package/dist/components/ui-image/UIImage.d.ts +1 -0
  164. package/dist/components/ui-image/UIImage.en.d.ts +1 -0
  165. package/dist/components/ui-image/UIImages.d.ts +1 -0
  166. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  167. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  168. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  169. package/dist/components/ui-input/UIInput.d.ts +1 -0
  170. package/dist/components/ui-input/UIInput.en.d.ts +1 -0
  171. package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
  172. package/dist/components/ui-input/UITextarea.d.ts +1 -0
  173. package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
  174. package/dist/components/ui-item/UIItem.d.ts +19 -8
  175. package/dist/components/ui-item/UIItem.en.d.ts +2 -1
  176. package/dist/components/ui-items/UIItems.d.ts +1 -0
  177. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  178. package/dist/components/ui-json/UIJson.d.ts +1 -0
  179. package/dist/components/ui-json/UIJson.en.d.ts +1 -0
  180. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  181. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  182. package/dist/components/ui-label/UILabel.d.ts +3 -2
  183. package/dist/components/ui-label/UILabel.en.d.ts +3 -2
  184. package/dist/components/ui-label/UILabels.d.ts +1 -0
  185. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  186. package/dist/components/ui-list/UIList.d.ts +1 -0
  187. package/dist/components/ui-list/UIList.en.d.ts +1 -0
  188. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  189. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  190. package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
  191. package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
  192. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
  193. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
  194. package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
  195. package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
  196. package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
  197. package/dist/components/ui-menu/TitleFit.d.ts +16 -1
  198. package/dist/components/ui-menu/UIMenu.d.ts +112 -9
  199. package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
  200. package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
  201. package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
  202. package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
  203. package/dist/components/ui-menu/index.d.ts +3 -1
  204. package/dist/components/ui-message/UIMessage.d.ts +3 -2
  205. package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
  206. package/dist/components/ui-modal/ModalDialogs.d.ts +35 -3
  207. package/dist/components/ui-modal/UIModal.d.ts +6 -0
  208. package/dist/components/ui-modal/UIModal.en.d.ts +6 -0
  209. package/dist/components/ui-nag/UINag.d.ts +1 -0
  210. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  211. package/dist/components/ui-page/UIPage.d.ts +1 -0
  212. package/dist/components/ui-page/UIPage.en.d.ts +1 -0
  213. package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
  214. package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
  215. package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
  216. package/dist/components/ui-page-layout/index.d.ts +1 -0
  217. package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
  218. package/dist/components/ui-panel/UIPanel.d.ts +21 -2
  219. package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
  220. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  221. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  222. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  223. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  224. package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
  225. package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
  226. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  227. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  228. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  229. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  230. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  231. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  232. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  233. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  234. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  235. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  236. package/dist/components/ui-parts/UIHeader.d.ts +4 -3
  237. package/dist/components/ui-parts/UIHeader.en.d.ts +4 -3
  238. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  239. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  240. package/dist/components/ui-parts/UIParts.types.d.ts +18 -5
  241. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  242. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  244. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  246. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  247. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  248. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  249. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  250. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  251. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  252. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  253. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  254. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  255. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  256. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  257. package/dist/components/ui-popup/UIPopup.d.ts +21 -3
  258. package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
  259. package/dist/components/ui-progress/UIProgress.d.ts +3 -2
  260. package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
  261. package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
  262. package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
  263. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
  264. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  265. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
  266. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
  267. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
  268. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  269. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  270. package/dist/components/ui-rail/UIRail.d.ts +4 -3
  271. package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
  272. package/dist/components/ui-rating/UIRating.d.ts +1 -0
  273. package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
  274. package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
  275. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  276. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  277. package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
  278. package/dist/components/ui-search/UISearch.d.ts +1 -0
  279. package/dist/components/ui-search/UISearch.en.d.ts +1 -0
  280. package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
  281. package/dist/components/ui-section/UISection.d.ts +3 -2
  282. package/dist/components/ui-section/UISection.en.d.ts +3 -2
  283. package/dist/components/ui-section/UISections.d.ts +1 -0
  284. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  285. package/dist/components/ui-segment/UISegment.d.ts +9 -10
  286. package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
  287. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  288. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  289. package/dist/components/ui-select/UISelect.d.ts +1 -0
  290. package/dist/components/ui-select/UISelect.en.d.ts +1 -0
  291. package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
  292. package/dist/components/ui-shape/UIShape.d.ts +1 -0
  293. package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
  294. package/dist/components/ui-shape/UISide.d.ts +1 -0
  295. package/dist/components/ui-shape/UISide.en.d.ts +1 -0
  296. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  297. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  298. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  299. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  300. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  301. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  302. package/dist/components/ui-sides/UISides.d.ts +1 -0
  303. package/dist/components/ui-sides/UISides.en.d.ts +1 -0
  304. package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
  305. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
  306. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
  307. package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
  308. package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
  309. package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
  310. package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
  311. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
  312. package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
  313. package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
  314. package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
  315. package/dist/components/ui-site-nav-button/index.d.ts +1 -0
  316. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
  317. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
  318. package/dist/components/ui-slider/UISlider.d.ts +1 -0
  319. package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
  320. package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
  321. package/dist/components/ui-space/UISpace.d.ts +1 -0
  322. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  323. package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
  324. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
  325. package/dist/components/ui-stack/UIStack.d.ts +1 -0
  326. package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
  327. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  328. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  329. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  330. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  331. package/dist/components/ui-step/UIStep.d.ts +1 -0
  332. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  333. package/dist/components/ui-step/UISteps.d.ts +3 -2
  334. package/dist/components/ui-step/UISteps.en.d.ts +3 -2
  335. package/dist/components/ui-sticky/UISticky.d.ts +1 -0
  336. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  337. package/dist/components/ui-tab/UITab.d.ts +3 -2
  338. package/dist/components/ui-tab/UITab.en.d.ts +4 -3
  339. package/dist/components/ui-tab/UITabs.d.ts +5 -4
  340. package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
  341. package/dist/components/ui-table/TableGrammar.d.ts +2 -2
  342. package/dist/components/ui-table/UICell.d.ts +1 -0
  343. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  344. package/dist/components/ui-table/UITable.d.ts +7 -6
  345. package/dist/components/ui-table/UITable.en.d.ts +7 -6
  346. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  347. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  348. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  349. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  350. package/dist/components/ui-text/UILink.d.ts +1 -0
  351. package/dist/components/ui-text/UILink.en.d.ts +1 -0
  352. package/dist/components/ui-text/UIText.d.ts +2 -1
  353. package/dist/components/ui-text/UIText.en.d.ts +2 -1
  354. package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
  355. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  356. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  357. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
  358. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
  359. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  360. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  361. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
  362. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
  363. package/dist/components/ui-toast/ToastStack.d.ts +9 -0
  364. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  365. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  366. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  367. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  368. package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
  369. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
  370. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
  371. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  372. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  373. package/dist/components/ui-tree/UITree.d.ts +102 -2
  374. package/dist/components/ui-tree/UITree.en.d.ts +14 -1
  375. package/dist/components/ui-tree/UITree.es.d.ts +3 -0
  376. package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
  377. package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
  378. package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
  379. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
  380. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
  381. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
  382. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
  383. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  384. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  385. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  386. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  387. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  388. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  389. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  390. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  391. package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
  392. package/dist/components.es-DEa8Ep42.js.map +1 -0
  393. package/dist/core.js +795 -702
  394. package/dist/core.js.map +1 -1
  395. package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
  396. package/dist/crisp-DIpY320U.js.map +1 -0
  397. package/dist/crisp.theme-Ir9p4BDC.js +5 -0
  398. package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
  399. package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
  400. package/dist/dark-B5s4QbmU.js.map +1 -0
  401. package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
  402. package/dist/dist-BQT4KajA.js.map +1 -0
  403. package/dist/docs-components/docs-components.types.d.ts +6 -0
  404. package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
  405. package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
  406. package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
  407. package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
  408. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
  409. package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
  410. package/dist/elements/PartComponent.d.ts +5 -0
  411. package/dist/elements/PopoverPanel.d.ts +12 -1
  412. package/dist/elements/Validator.d.ts +1 -1
  413. package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
  414. package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
  415. package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
  416. package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
  417. package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
  418. package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
  419. package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
  420. package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
  421. package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
  422. package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
  423. package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
  424. package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
  425. package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
  426. package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
  427. package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
  428. package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
  429. package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
  430. package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
  431. package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
  432. package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
  433. package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
  434. package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
  435. package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
  436. package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
  437. package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
  438. package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
  439. package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
  440. package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
  441. package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
  442. package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
  443. package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
  444. package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
  445. package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
  446. package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
  447. package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
  448. package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
  449. package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
  450. package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
  451. package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
  452. package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
  453. package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
  454. package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
  455. package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
  456. package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
  457. package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
  458. package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
  459. package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
  460. package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
  461. package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
  462. package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
  463. package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
  464. package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
  465. package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
  466. package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
  467. package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
  468. package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
  469. package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
  470. package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
  471. package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
  472. package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
  473. package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
  474. package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
  475. package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
  476. package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
  477. package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
  478. package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
  479. package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
  480. package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
  481. package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
  482. package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
  483. package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
  484. package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
  485. package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
  486. package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
  487. package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
  488. package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
  489. package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
  490. package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
  491. package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
  492. package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
  493. package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
  494. package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
  495. package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
  496. package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
  497. package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
  498. package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
  499. package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
  500. package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
  501. package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
  502. package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
  503. package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
  504. package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
  505. package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
  506. package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
  507. package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
  508. package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
  509. package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
  510. package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
  511. package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
  512. package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
  513. package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
  514. package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
  515. package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
  516. package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
  517. package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
  518. package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
  519. package/dist/forms.js +65 -75
  520. package/dist/forms.js.map +1 -1
  521. package/dist/fruity-CsfZNeXb.js +5 -0
  522. package/dist/fruity-CsfZNeXb.js.map +1 -0
  523. package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
  524. package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
  525. package/dist/glass-BCK30hpe.js +5 -0
  526. package/dist/glass-BCK30hpe.js.map +1 -0
  527. package/dist/glass.theme-C7QSRB7b.js +5 -0
  528. package/dist/glass.theme-C7QSRB7b.js.map +1 -0
  529. package/dist/hot.js +18 -32
  530. package/dist/hot.js.map +1 -1
  531. package/dist/index.d.ts +5 -0
  532. package/dist/index.js +96 -91
  533. package/dist/jsx.d.ts +3875 -711
  534. package/dist/matrix-DEnqBfwC.js +5 -0
  535. package/dist/matrix-DEnqBfwC.js.map +1 -0
  536. package/dist/matrix.theme-YV6_nvXv.js +5 -0
  537. package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
  538. package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
  539. package/dist/merlot-DFa6kDbA.js.map +1 -0
  540. package/dist/merlot.theme-B1K8nn2u.js +5 -0
  541. package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
  542. package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
  543. package/dist/midnight-q0-3-V6U.js.map +1 -0
  544. package/dist/midnight.theme-C7M02wTD.js +5 -0
  545. package/dist/midnight.theme-C7M02wTD.js.map +1 -0
  546. package/dist/mockup-D0vovNO7.js +5 -0
  547. package/dist/mockup-D0vovNO7.js.map +1 -0
  548. package/dist/mockup.theme-C92r9NI0.js +5 -0
  549. package/dist/mockup.theme-C92r9NI0.js.map +1 -0
  550. package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
  551. package/dist/paper-DPxolmdy.js.map +1 -0
  552. package/dist/paper.theme-BAKk3DY1.js +5 -0
  553. package/dist/paper.theme-BAKk3DY1.js.map +1 -0
  554. package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
  555. package/dist/persist.types-D7N7GewC.js.map +1 -0
  556. package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
  557. package/dist/pop-Dw_6k177.js.map +1 -0
  558. package/dist/pop.theme-Cw-yD0MO.js +5 -0
  559. package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
  560. package/dist/property/PropertyEditorPages.d.ts +1 -1
  561. package/dist/property/PropertyLayouts.d.ts +119 -0
  562. package/dist/property/PropertySchemas.d.ts +5 -1
  563. package/dist/property/index.d.ts +2 -0
  564. package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
  565. package/dist/runtime/Browser.d.ts +7 -0
  566. package/dist/runtime/DataTooltips.d.ts +2 -0
  567. package/dist/runtime/Keyboard.d.ts +4 -1
  568. package/dist/runtime/Toasts.d.ts +10 -0
  569. package/dist/runtime/runtime.types.d.ts +52 -0
  570. package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
  571. package/dist/search-C2Rq9HF1.js.map +1 -0
  572. package/dist/spell-CB-MivSX.js +5 -0
  573. package/dist/spell-CB-MivSX.js.map +1 -0
  574. package/dist/spell.theme-CUoc5rTq.js +5 -0
  575. package/dist/spell.theme-CUoc5rTq.js.map +1 -0
  576. package/dist/styles/StyleGenerator.d.ts +7 -0
  577. package/dist/styles/styles.en.d.ts +27 -18
  578. package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
  579. package/dist/styles.en-DZlSJiOR.js.map +1 -0
  580. package/dist/styles.js +9 -10
  581. package/dist/styles.js.map +1 -1
  582. package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
  583. package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
  584. package/dist/ui-accordion.js +59 -60
  585. package/dist/ui-accordion.js.map +1 -1
  586. package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
  587. package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
  588. package/dist/ui-action.js +73 -45
  589. package/dist/ui-action.js.map +1 -1
  590. package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
  591. package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
  592. package/dist/ui-ad.editor-BHTDuSii.js +5 -0
  593. package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
  594. package/dist/ui-ad.js +8 -9
  595. package/dist/ui-ad.js.map +1 -1
  596. package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
  597. package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
  598. package/dist/ui-app-menu.js +89 -0
  599. package/dist/ui-app-menu.js.map +1 -0
  600. package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
  601. package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
  602. package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
  603. package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
  604. package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
  605. package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
  606. package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
  607. package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
  608. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
  609. package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
  610. package/dist/ui-breadcrumbs.js +18 -17
  611. package/dist/ui-breadcrumbs.js.map +1 -1
  612. package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
  613. package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
  614. package/dist/ui-button.js +157 -156
  615. package/dist/ui-button.js.map +1 -1
  616. package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
  617. package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
  618. package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
  619. package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
  620. package/dist/ui-calendar.js +148 -157
  621. package/dist/ui-calendar.js.map +1 -1
  622. package/dist/ui-card.editor-BBZj9e03.js +5 -0
  623. package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
  624. package/dist/ui-card.js +70 -70
  625. package/dist/ui-card.js.map +1 -1
  626. package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
  627. package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
  628. package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
  629. package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
  630. package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
  631. package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
  632. package/dist/ui-checkbox.js +49 -48
  633. package/dist/ui-checkbox.js.map +1 -1
  634. package/dist/ui-code.editor-Drr_FVB6.js +5 -0
  635. package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
  636. package/dist/ui-code.js +116 -79
  637. package/dist/ui-code.js.map +1 -1
  638. package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
  639. package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
  640. package/dist/ui-column.editor-hdUb-qwT.js +5 -0
  641. package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
  642. package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
  643. package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
  644. package/dist/ui-comment.js +15 -14
  645. package/dist/ui-comment.js.map +1 -1
  646. package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
  647. package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
  648. package/dist/ui-components.editor-BKFXnARt.js +5 -0
  649. package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
  650. package/dist/ui-components.js +12 -13
  651. package/dist/ui-components.js.map +1 -1
  652. package/dist/ui-container.editor-CBNhNkRm.js +5 -0
  653. package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
  654. package/dist/ui-container.js +106 -21
  655. package/dist/ui-container.js.map +1 -1
  656. package/dist/ui-content.editor-B78lxK3P.js +5 -0
  657. package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
  658. package/dist/ui-date.editor-PHEnU7QX.js +5 -0
  659. package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
  660. package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
  661. package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
  662. package/dist/ui-detail.editor-wliuVbx3.js +5 -0
  663. package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
  664. package/dist/ui-device.editor-kl48NVma.js +5 -0
  665. package/dist/ui-device.editor-kl48NVma.js.map +1 -0
  666. package/dist/ui-device.js +436 -0
  667. package/dist/ui-device.js.map +1 -0
  668. package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
  669. package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
  670. package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
  671. package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
  672. package/dist/ui-diagram.js +128 -129
  673. package/dist/ui-diagram.js.map +1 -1
  674. package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
  675. package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
  676. package/dist/ui-dimension.js +111 -12
  677. package/dist/ui-dimension.js.map +1 -1
  678. package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
  679. package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
  680. package/dist/ui-dimmer.js +29 -30
  681. package/dist/ui-dimmer.js.map +1 -1
  682. package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
  683. package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
  684. package/dist/ui-divider.js +9 -10
  685. package/dist/ui-divider.js.map +1 -1
  686. package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
  687. package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
  688. package/dist/ui-dropdown.js +155 -156
  689. package/dist/ui-dropdown.js.map +1 -1
  690. package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
  691. package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
  692. package/dist/ui-embed.js +23 -24
  693. package/dist/ui-embed.js.map +1 -1
  694. package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
  695. package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
  696. package/dist/ui-emoji.js +63 -64
  697. package/dist/ui-emoji.js.map +1 -1
  698. package/dist/ui-event.editor-Bk17y7wW.js +5 -0
  699. package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
  700. package/dist/ui-example.editor-D46Vnctp.js +5 -0
  701. package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
  702. package/dist/ui-example.js +67 -74
  703. package/dist/ui-example.js.map +1 -1
  704. package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
  705. package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
  706. package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
  707. package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
  708. package/dist/ui-feed.js +26 -25
  709. package/dist/ui-feed.js.map +1 -1
  710. package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
  711. package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
  712. package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
  713. package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
  714. package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
  715. package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
  716. package/dist/ui-flag.js +13 -14
  717. package/dist/ui-flag.js.map +1 -1
  718. package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
  719. package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
  720. package/dist/ui-flyout.js +10 -11
  721. package/dist/ui-flyout.js.map +1 -1
  722. package/dist/ui-form.editor-BJC3WhNf.js +5 -0
  723. package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
  724. package/dist/ui-form.js +199 -195
  725. package/dist/ui-form.js.map +1 -1
  726. package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
  727. package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
  728. package/dist/ui-grid.js +43 -234
  729. package/dist/ui-grid.js.map +1 -1
  730. package/dist/ui-header.editor-meOjCASK.js +5 -0
  731. package/dist/ui-header.editor-meOjCASK.js.map +1 -0
  732. package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
  733. package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
  734. package/dist/ui-icon-picker.js +64 -69
  735. package/dist/ui-icon-picker.js.map +1 -1
  736. package/dist/ui-icon.editor-DoKK49PD.js +5 -0
  737. package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
  738. package/dist/ui-icon.js +15 -14
  739. package/dist/ui-icon.js.map +1 -1
  740. package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
  741. package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
  742. package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
  743. package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
  744. package/dist/ui-image.js +26 -26
  745. package/dist/ui-image.js.map +1 -1
  746. package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
  747. package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
  748. package/dist/ui-include.editor-CZcsVJbH.js +5 -0
  749. package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
  750. package/dist/ui-include.js +21 -22
  751. package/dist/ui-include.js.map +1 -1
  752. package/dist/ui-input.editor-budoNoB0.js +5 -0
  753. package/dist/ui-input.editor-budoNoB0.js.map +1 -0
  754. package/dist/ui-input.js +131 -130
  755. package/dist/ui-input.js.map +1 -1
  756. package/dist/ui-item.editor-BlWp1HXu.js +5 -0
  757. package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
  758. package/dist/ui-item.js +127 -113
  759. package/dist/ui-item.js.map +1 -1
  760. package/dist/ui-items.editor-GOul3Xss.js +5 -0
  761. package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
  762. package/dist/ui-items.js +11 -12
  763. package/dist/ui-items.js.map +1 -1
  764. package/dist/ui-json.editor-BgZbrB_W.js +5 -0
  765. package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
  766. package/dist/ui-json.js +18 -19
  767. package/dist/ui-json.js.map +1 -1
  768. package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
  769. package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
  770. package/dist/ui-keys.js +2 -3
  771. package/dist/ui-label.editor-BVUYLSUs.js +5 -0
  772. package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
  773. package/dist/ui-label.js +22 -22
  774. package/dist/ui-label.js.map +1 -1
  775. package/dist/ui-labels.editor-BWJth86p.js +5 -0
  776. package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
  777. package/dist/ui-link.editor-CpI53scP.js +5 -0
  778. package/dist/ui-link.editor-CpI53scP.js.map +1 -0
  779. package/dist/ui-list.editor-DhBZIkAa.js +5 -0
  780. package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
  781. package/dist/ui-list.js +9 -10
  782. package/dist/ui-list.js.map +1 -1
  783. package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
  784. package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
  785. package/dist/ui-loader.js +10 -11
  786. package/dist/ui-loader.js.map +1 -1
  787. package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
  788. package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
  789. package/dist/ui-markdown.js +208 -154
  790. package/dist/ui-markdown.js.map +1 -1
  791. package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
  792. package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
  793. package/dist/ui-menu.js +815 -223
  794. package/dist/ui-menu.js.map +1 -1
  795. package/dist/ui-message.editor-vfT0pyu5.js +5 -0
  796. package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
  797. package/dist/ui-message.js +32 -33
  798. package/dist/ui-message.js.map +1 -1
  799. package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
  800. package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
  801. package/dist/ui-modal.editor-B6gmmGsR.js +5 -0
  802. package/dist/ui-modal.editor-B6gmmGsR.js.map +1 -0
  803. package/dist/ui-modal.js +128 -99
  804. package/dist/ui-modal.js.map +1 -1
  805. package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
  806. package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
  807. package/dist/ui-nag.js +23 -24
  808. package/dist/ui-nag.js.map +1 -1
  809. package/dist/ui-or.editor-BfBLNVgm.js +5 -0
  810. package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
  811. package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
  812. package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
  813. package/dist/ui-page-layout.js +363 -0
  814. package/dist/ui-page-layout.js.map +1 -0
  815. package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
  816. package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
  817. package/dist/ui-page.js +11 -12
  818. package/dist/ui-page.js.map +1 -1
  819. package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
  820. package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
  821. package/dist/ui-panel.js +105 -27
  822. package/dist/ui-panel.js.map +1 -1
  823. package/dist/ui-parts.js +83 -68
  824. package/dist/ui-parts.js.map +1 -1
  825. package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
  826. package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
  827. package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
  828. package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
  829. package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
  830. package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
  831. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
  832. package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
  833. package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
  834. package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
  835. package/dist/ui-placeholder.js +23 -19
  836. package/dist/ui-placeholder.js.map +1 -1
  837. package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
  838. package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
  839. package/dist/ui-popup.js +107 -100
  840. package/dist/ui-popup.js.map +1 -1
  841. package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
  842. package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
  843. package/dist/ui-progress.js +23 -24
  844. package/dist/ui-progress.js.map +1 -1
  845. package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
  846. package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
  847. package/dist/ui-property-editor.js +649 -277
  848. package/dist/ui-property-editor.js.map +1 -1
  849. package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
  850. package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
  851. package/dist/ui-property.editor-BC-jtjjt.js +5 -0
  852. package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
  853. package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
  854. package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
  855. package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
  856. package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
  857. package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
  858. package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
  859. package/dist/ui-quote.js +8 -9
  860. package/dist/ui-quote.js.map +1 -1
  861. package/dist/ui-radio.editor-DPzActfO.js +5 -0
  862. package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
  863. package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
  864. package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
  865. package/dist/ui-rail.js +11 -12
  866. package/dist/ui-rail.js.map +1 -1
  867. package/dist/ui-rating.editor-C19syymj.js +5 -0
  868. package/dist/ui-rating.editor-C19syymj.js.map +1 -0
  869. package/dist/ui-rating.js +40 -49
  870. package/dist/ui-rating.js.map +1 -1
  871. package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
  872. package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
  873. package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
  874. package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
  875. package/dist/ui-reveal.js +10 -11
  876. package/dist/ui-reveal.js.map +1 -1
  877. package/dist/ui-root.editor-CAokPDVa.js +5 -0
  878. package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
  879. package/dist/ui-root.js +206 -102
  880. package/dist/ui-root.js.map +1 -1
  881. package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
  882. package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
  883. package/dist/ui-search.editor-CtzfYgNu.js +5 -0
  884. package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
  885. package/dist/ui-search.js +143 -146
  886. package/dist/ui-search.js.map +1 -1
  887. package/dist/ui-section.editor-DmNICxCs.js +5 -0
  888. package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
  889. package/dist/ui-section.js +74 -73
  890. package/dist/ui-section.js.map +1 -1
  891. package/dist/ui-sections.editor-BxXECGv9.js +5 -0
  892. package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
  893. package/dist/ui-segment.editor-CebyLPFn.js +5 -0
  894. package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
  895. package/dist/ui-segment.js +43 -43
  896. package/dist/ui-segment.js.map +1 -1
  897. package/dist/ui-segments.editor-CSumzMa5.js +5 -0
  898. package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
  899. package/dist/ui-select.editor-wAcZzvU7.js +5 -0
  900. package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
  901. package/dist/ui-select.js +86 -87
  902. package/dist/ui-select.js.map +1 -1
  903. package/dist/ui-shape.editor-By9-8aD2.js +5 -0
  904. package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
  905. package/dist/ui-shape.js +39 -38
  906. package/dist/ui-shape.js.map +1 -1
  907. package/dist/ui-side.editor-CFSqGHGH.js +5 -0
  908. package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
  909. package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
  910. package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
  911. package/dist/ui-sidebar.js +79 -77
  912. package/dist/ui-sidebar.js.map +1 -1
  913. package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
  914. package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
  915. package/dist/ui-sides.js +25 -26
  916. package/dist/ui-sides.js.map +1 -1
  917. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
  918. package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
  919. package/dist/ui-site-breadcrumbs.js +143 -0
  920. package/dist/ui-site-breadcrumbs.js.map +1 -0
  921. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
  922. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
  923. package/dist/ui-site-nav-button.js +113 -0
  924. package/dist/ui-site-nav-button.js.map +1 -0
  925. package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
  926. package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
  927. package/dist/ui-site-nav.js +133 -97
  928. package/dist/ui-site-nav.js.map +1 -1
  929. package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
  930. package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
  931. package/dist/ui-site-tabs.js +53 -48
  932. package/dist/ui-site-tabs.js.map +1 -1
  933. package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
  934. package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
  935. package/dist/ui-slider.js +37 -38
  936. package/dist/ui-slider.js.map +1 -1
  937. package/dist/ui-space.editor-s-XVWFBN.js +5 -0
  938. package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
  939. package/dist/ui-space.js +9 -10
  940. package/dist/ui-space.js.map +1 -1
  941. package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
  942. package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
  943. package/dist/ui-split-panel.js +107 -68
  944. package/dist/ui-split-panel.js.map +1 -1
  945. package/dist/ui-stack.editor-D69Fky6H.js +5 -0
  946. package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
  947. package/dist/ui-stack.js +12 -13
  948. package/dist/ui-stack.js.map +1 -1
  949. package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
  950. package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
  951. package/dist/ui-statistic.js +28 -27
  952. package/dist/ui-statistic.js.map +1 -1
  953. package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
  954. package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
  955. package/dist/ui-step.editor-CYmNXrk_.js +5 -0
  956. package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
  957. package/dist/ui-step.js +62 -61
  958. package/dist/ui-step.js.map +1 -1
  959. package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
  960. package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
  961. package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
  962. package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
  963. package/dist/ui-sticky.js +10 -11
  964. package/dist/ui-sticky.js.map +1 -1
  965. package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
  966. package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
  967. package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
  968. package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
  969. package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
  970. package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
  971. package/dist/ui-tab.js +115 -117
  972. package/dist/ui-tab.js.map +1 -1
  973. package/dist/ui-table.editor-DJvfg9oG.js +5 -0
  974. package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
  975. package/dist/ui-table.js +272 -272
  976. package/dist/ui-table.js.map +1 -1
  977. package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
  978. package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
  979. package/dist/ui-term.editor-BMCF3jBM.js +5 -0
  980. package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
  981. package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
  982. package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
  983. package/dist/ui-terms.js +13 -12
  984. package/dist/ui-terms.js.map +1 -1
  985. package/dist/ui-text.editor-B6AENK13.js +5 -0
  986. package/dist/ui-text.editor-B6AENK13.js.map +1 -0
  987. package/dist/ui-text.js +37 -36
  988. package/dist/ui-text.js.map +1 -1
  989. package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
  990. package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
  991. package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
  992. package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
  993. package/dist/ui-theme-editor.js +448 -461
  994. package/dist/ui-theme-editor.js.map +1 -1
  995. package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
  996. package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
  997. package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
  998. package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
  999. package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
  1000. package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
  1001. package/dist/ui-title.editor-40PZSOpn.js +5 -0
  1002. package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
  1003. package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
  1004. package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
  1005. package/dist/ui-toast.js +141 -139
  1006. package/dist/ui-toast.js.map +1 -1
  1007. package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
  1008. package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
  1009. package/dist/ui-toc.js +52 -53
  1010. package/dist/ui-toc.js.map +1 -1
  1011. package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
  1012. package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
  1013. package/dist/ui-toolbar.js +254 -50
  1014. package/dist/ui-toolbar.js.map +1 -1
  1015. package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
  1016. package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
  1017. package/dist/ui-transition.js +13 -14
  1018. package/dist/ui-transition.js.map +1 -1
  1019. package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
  1020. package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
  1021. package/dist/ui-tree-diagram.js +128 -127
  1022. package/dist/ui-tree-diagram.js.map +1 -1
  1023. package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
  1024. package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
  1025. package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
  1026. package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
  1027. package/dist/ui-tree.editor-BoQztwdz.js +5 -0
  1028. package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
  1029. package/dist/ui-tree.js +393 -134
  1030. package/dist/ui-tree.js.map +1 -1
  1031. package/dist/ui-value.editor-CYak24cr.js +5 -0
  1032. package/dist/ui-value.editor-CYak24cr.js.map +1 -0
  1033. package/dist/ui-video.editor-CuWtFVjR.js +5 -0
  1034. package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
  1035. package/dist/ui-video.js +15 -14
  1036. package/dist/ui-video.js.map +1 -1
  1037. package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
  1038. package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
  1039. package/dist/ui-visibility.js +25 -26
  1040. package/dist/ui-visibility.js.map +1 -1
  1041. package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
  1042. package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
  1043. package/dist/ui-zoom.js +82 -83
  1044. package/dist/ui-zoom.js.map +1 -1
  1045. package/dist/util/TopLayerTip.d.ts +11 -2
  1046. package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
  1047. package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
  1048. package/dist/vocabulary/help.generated.d.ts +11 -0
  1049. package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
  1050. package/package.json +3 -3
  1051. package/dist/Dragging-CMZoLEWQ.js.map +0 -1
  1052. package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
  1053. package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
  1054. package/dist/PrefStore-Qv0e5y04.js.map +0 -1
  1055. package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
  1056. package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
  1057. package/dist/SitePages-CciwREek.js.map +0 -1
  1058. package/dist/SlottedItems-Du3aJwG1.js +0 -80
  1059. package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
  1060. package/dist/UIButton-DFEds67r.js +0 -6
  1061. package/dist/UIButton-DFEds67r.js.map +0 -1
  1062. package/dist/UIInput-BodVbUoQ.js.map +0 -1
  1063. package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
  1064. package/dist/UILabel-DgJUBzB_.js.map +0 -1
  1065. package/dist/UIMenu-zdcAtwTa.js +0 -42
  1066. package/dist/UIMenu-zdcAtwTa.js.map +0 -1
  1067. package/dist/UIRuntime-KH309p5B.js.map +0 -1
  1068. package/dist/UISegment-CMMIW7cZ.js.map +0 -1
  1069. package/dist/apple.palette-B4ivrNlM.js.map +0 -1
  1070. package/dist/classic-DCTQrteU.js.map +0 -1
  1071. package/dist/components.es-BOa_7gFF.js.map +0 -1
  1072. package/dist/crisp-VfYZlTph.js.map +0 -1
  1073. package/dist/crisp.theme-DRiePRdf.js +0 -6
  1074. package/dist/crisp.theme-DRiePRdf.js.map +0 -1
  1075. package/dist/dark-CbUdPe0a.js.map +0 -1
  1076. package/dist/dist-BLYIGZVK.js.map +0 -1
  1077. package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
  1078. package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
  1079. package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
  1080. package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
  1081. package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
  1082. package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
  1083. package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
  1084. package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
  1085. package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
  1086. package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
  1087. package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
  1088. package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
  1089. package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
  1090. package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
  1091. package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
  1092. package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
  1093. package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
  1094. package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
  1095. package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
  1096. package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
  1097. package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
  1098. package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
  1099. package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
  1100. package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
  1101. package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
  1102. package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
  1103. package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
  1104. package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
  1105. package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
  1106. package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
  1107. package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
  1108. package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
  1109. package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
  1110. package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
  1111. package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
  1112. package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
  1113. package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
  1114. package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
  1115. package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
  1116. package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
  1117. package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
  1118. package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
  1119. package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
  1120. package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
  1121. package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
  1122. package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
  1123. package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
  1124. package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
  1125. package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
  1126. package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
  1127. package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
  1128. package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
  1129. package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
  1130. package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
  1131. package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
  1132. package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
  1133. package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
  1134. package/dist/fruity-BRVlgJZd.js +0 -6
  1135. package/dist/fruity-BRVlgJZd.js.map +0 -1
  1136. package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
  1137. package/dist/glass-x9tbbwVq.js +0 -6
  1138. package/dist/glass-x9tbbwVq.js.map +0 -1
  1139. package/dist/glass.theme-24wY2wH9.js +0 -6
  1140. package/dist/glass.theme-24wY2wH9.js.map +0 -1
  1141. package/dist/matrix-QY2gWbJ0.js +0 -6
  1142. package/dist/matrix-QY2gWbJ0.js.map +0 -1
  1143. package/dist/matrix.theme-_8xtwhDq.js +0 -6
  1144. package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
  1145. package/dist/merlot-DOXLuUaU.js.map +0 -1
  1146. package/dist/merlot.theme-S-QnNGsw.js +0 -6
  1147. package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
  1148. package/dist/midnight-BxlTQSfw.js.map +0 -1
  1149. package/dist/midnight.theme-wXbqRYLy.js +0 -6
  1150. package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
  1151. package/dist/mockup-83ELBuVr.js +0 -6
  1152. package/dist/mockup-83ELBuVr.js.map +0 -1
  1153. package/dist/mockup.theme-DmpBgGBl.js +0 -6
  1154. package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
  1155. package/dist/paper-M61nUilz.js.map +0 -1
  1156. package/dist/paper.theme-B8R5Jn5H.js +0 -6
  1157. package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
  1158. package/dist/persist.types-D2m6wD-S.js.map +0 -1
  1159. package/dist/pop-CxXfytjk.js.map +0 -1
  1160. package/dist/pop.theme-CXzv8B9x.js +0 -6
  1161. package/dist/pop.theme-CXzv8B9x.js.map +0 -1
  1162. package/dist/search-CzSzx7bX.js.map +0 -1
  1163. package/dist/spell-By5Y3jKP.js +0 -6
  1164. package/dist/spell-By5Y3jKP.js.map +0 -1
  1165. package/dist/spell.theme-DxGj7qHx.js +0 -6
  1166. package/dist/spell.theme-DxGj7qHx.js.map +0 -1
  1167. package/dist/styles.en-CUUxNwHo.js.map +0 -1
  1168. package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ui-sides.js","names":["_vocabulary_dec","_a","_init","E.NativeFallback","E.proto","CSS_ORDER","__name","<For each={this.shownSides}>{(side) => this.sideBox(side)}</For>","this","part={this.partForName(\"sides\")}","aria-label={this.labels.accessibleName}","aria-invalid={this.isShownInvalid ? \"true\" : void 0}","<div\n class={this.rootClass}\n part={this.partForName(\"sides\")}\n role=\"group\"\n aria-label={this.labels.accessibleName}\n aria-invalid={this.isShownInvalid ? \"true\" : void 0}\n >\n <For each={this.shownSides}>{(side) => this.sideBox(side)}</For>\n </div>","ref={(input) => this.inputs.push(input)}","part={this.partForName(\"side\")}","class={LETTER}","part={this.partForName(\"letter\")}","part={this.partForName(\"input\")}","aria-label={this.translationForKey(side)}","value={this.lengths[side] ?? \"\"}","disabled={this.isDisabled}","readonly={!!this.readonly}","required={!!this.required}","<label class={`${side} side`} part={this.partForName(\"side\")}>\n <span class={LETTER} part={this.partForName(\"letter\")} aria-hidden=\"true\">\n {this.translationForKey(`${side}Letter`)}\n </span>\n <input\n ref={(input) => this.inputs.push(input)}\n type=\"number\"\n part={this.partForName(\"input\")}\n aria-label={this.translationForKey(side)}\n value={this.lengths[side] ?? \"\"}\n disabled={this.isDisabled}\n readonly={!!this.readonly}\n required={!!this.required}\n onChange={(event) => this.edit(side, event.currentTarget.value, event)}\n />\n </label>","F.DOMFormControl","F.FormComponent","E.proto","E.protoMerged","E.controlled","E.untracked","_$createComponent","_$readShallow","_$setAttribute","__name","sidesCSS","__name$1","FormControlAttributes","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","FormControlStates","__decoratorStart","sidesVocabulary","_degraded_dec","_vocabulary_dec$1","_a$1","_init$1","_SidesFallback","NativeFallback","proto","lengths","CSS_ORDER$1","input","side","index","box","text","sides","top","right","bottom","left","each","SidesFallback","UISides_default","_tmpl$","_tmpl$2","_edit_dec","_value_dec","_invalidShows_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_value","DOMFormControl","_UISides","FormComponent","protoMerged","controlled","untracked","state","asked","Converters","SIDES","length","next","ROW","_self$","_el$","insert","createComponent","For","effect","readShallow","className","_p$","t","setAttribute","a","o","_self$2","_el$2","_el$3","_el$4","event","ref","LETTER","i","n","s","h","r","d","given","value","numbers","CSS_ORDER","UISides"],"sources":["../src/components/ui-sides/UISides.en.ts","../src/components/ui-sides/UISides.fallback.ts","../src/components/ui-sides/UISides.css?inline","../src/components/ui-sides/UISides.tsx","../src/components/ui-sides/index.ts"],"sourcesContent":["/**\n * Every name `<ui-sides>` uses: tag, attributes, events, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`: `<ui-sides size=\"small\">` => `ui small sides`.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `<ui-sides>`\n * Four lengths, one per side, for a margin or a padding: a number box each, its side's letter inside it.\n ****************/\nexport const sidesVocabulary = {\n tag: \"ui-sides\",\n icon: \"cubes\",\n formControl: true,\n topics: [\"inputs\", \"forms\", \"controls\"],\n aka: [\"margin\", \"padding\", \"box model\", \"spacing\", \"insets\", \"sides\"],\n skeleton: \"inline 8 x 4.5\",\n noun: \"sides\",\n description:\n \"Sides edit four lengths at once, top, left, right and bottom, as a margin or a padding: a number box per side.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of its boxes, `mini` ... `massive`; `medium` is the default.\"\n },\n {\n name: \"value\",\n group: \"form\",\n kind: \"json\",\n reflect: false,\n description:\n \"Its lengths, in either form, given back in the form it was given: CSS's text, one to four numbers \" +\n '(top right bottom left: `value=\"10 20 10 20\"`), or an object, `{ top, left, right, bottom }` ' +\n \"(as the property, or as JSON text in the attribute). A side left out is empty.\"\n },\n {\n name: \"sides\",\n group: \"appearance\",\n kind: \"string\",\n description:\n \"Which sides it shows: `top bottom`, `left right` (one row) ... None: all four, top / left and right / bottom.\"\n },\n {\n name: \"disabled\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Can't be used: left out of the form, not focusable.\"\n },\n { ...UIT.FormControlAttributes.readonly, description: \"Shows its lengths but they can't be changed.\" },\n UIT.FormControlAttributes.name,\n UIT.FormControlAttributes.parameter,\n { ...UIT.FormControlAttributes.required, description: \"Form validation: every side shown must have a length.\" }\n ],\n events: [\n {\n name: \"ui-changed\",\n detail:\n \"{ value: string | { top?: number, left?: number, right?: number, bottom?: number }, originalEvent?: Event }\",\n description: \"A length changed: `value` in the form it was given. A handler that re-sets `value` wins.\"\n }\n ],\n slots: [],\n parts: [\n { name: \"sides\", description: \"The box of its number boxes.\" },\n { name: \"side\", description: \"One side: a `<label>` around its letter and its number box.\" },\n { name: \"letter\", description: \"A side's letter (T, L, R, B), faded, inside its box.\" },\n { name: \"input\", description: \"One side's native number box.\" }\n ],\n states: [{ name: \"disabled\", description: \"Can't be used.\" }, UIT.FormControlStates.invalid],\n texts: [\n { key: \"top\", text: \"Top\", description: \"The top box's name.\" },\n { key: \"left\", text: \"Left\", description: \"The left box's name.\" },\n { key: \"right\", text: \"Right\", description: \"The right box's name.\" },\n { key: \"bottom\", text: \"Bottom\", description: \"The bottom box's name.\" },\n { key: \"topLetter\", text: \"T\", description: \"The letter inside the top box.\" },\n { key: \"leftLetter\", text: \"L\", description: \"The letter inside the left box.\" },\n { key: \"rightLetter\", text: \"R\", description: \"The letter inside the right box.\" },\n { key: \"bottomLetter\", text: \"B\", description: \"The letter inside the bottom box.\" }\n ]\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { sidesVocabulary } from \"./UISides.en\"\n\n/****************\n * ### `SidesFallback`\n * The native fallback of `<ui-sides>`: what it shows when its component breaks,\n * so its lengths are still edited and submitted with the form.\n *\n * - Its shadow DOM: four plain number inputs, named by their side (`aria-label`), in a row.\n * - Still a form control: each change sets the DOM element's form value to CSS's text (`top right bottom left`).\n * - Its starting value is the `value` attribute's text; an object is read by its side names.\n ****************/\nexport class SidesFallback extends E.NativeFallback<typeof sidesVocabulary> {\n @E.proto static vocabulary = sidesVocabulary\n @E.proto static degraded = [\"the side letters and the cross layout\", \"`sides`\", \"the form the value was given in\"]\n\n /** The four inputs, top, right, bottom, left. */\n private inputs: HTMLInputElement[] = []\n\n protected override build() {\n const lengths = SidesFallback.lengthsOf(this.attr(\"value\"))\n this.inputs = CSS_ORDER.map((side, index) => {\n const input = this.create(\"input\", {\n type: \"number\",\n part: \"input\",\n \"aria-label\": side,\n disabled: this.flag(\"disabled\"),\n readonly: this.flag(\"readonly\")\n })\n input.value = lengths[index] ?? \"\"\n this.listen(input, \"change\", () => this.sync())\n return input\n })\n const box = this.create(\"div\", { class: this.classes() }, ...this.inputs)\n return [this.decorate(box, \"sides\")]\n }\n\n /** CSS's text of the four, as the form value. */\n protected override sync() {\n const text = this.inputs.map((input) => input.value || \"0\").join(\" \")\n if (this.inputs.length) this.syncForm({ value: text, control: this.inputs[0] })\n }\n\n /** The four lengths of `text`, top right bottom left: CSS's numbers, or JSON by side names. */\n private static lengthsOf(text: string | undefined): string[] {\n if (!text) return []\n if (text.trim().startsWith(\"{\")) {\n try {\n const sides = JSON.parse(text) as Record<string, number | undefined>\n return CSS_ORDER.map((side) => (sides[side] == null ? \"\" : String(sides[side])))\n } catch {\n return []\n }\n }\n const numbers = text.trim().split(/\\s+/)\n const [top, right = top, bottom = top, left = right] = numbers\n return [top, right, bottom, left].map((each) => each ?? \"\")\n }\n}\n\n/** The sides in CSS's order. */\nconst CSS_ORDER = [\"top\", \"right\", \"bottom\", \"left\"] as const\n","/*\n * The style sheet of `<ui-sides>` (epic `debut` P31): four number boxes for a margin or a padding.\n * - Markup: `div.ui [size] [row] sides` > `label.<side>.side` (`.letter`, `input`), one per side shown.\n * - All four: a cross, top over left and right over bottom; `.row`: the boxes side by side.\n * - Each box's letter sits faded inside it, at its start; its number at its end (numbers right-aligned).\n * - Public tokens (`--ui-sides-*`) are never declared here: read through private aliases.\n */\n\n@layer ui.components.sides.types, ui.components.sides.content, ui.components.sides.states;\n\n@layer ui.components.sides.types {\n :host {\n display: inline-block;\n max-width: 100%;\n }\n .ui.sides {\n --_ui-sides-box-width: var(--ui-sides-box-width, 5em);\n --_ui-sides-gap: var(--ui-sides-gap, 4px);\n --_ui-sides-letter-color: var(--ui-sides-letter-color, var(--ui-text-muted));\n box-sizing: border-box;\n display: grid;\n grid-template-areas:\n \". top top .\"\n \"left left right right\"\n \". bottom bottom .\";\n grid-template-columns: repeat(4, minmax(0, calc(var(--_ui-sides-box-width) / 2)));\n gap: var(--_ui-sides-gap);\n font-family: var(--ui-font-family);\n font-size: calc(var(--ui-font-size) * var(--ui-scale, 1));\n }\n .ui.row.sides {\n grid-template-areas: none;\n grid-template-columns: repeat(2, minmax(0, var(--_ui-sides-box-width)));\n }\n}\n\n@layer ui.components.sides.content {\n .side {\n position: relative;\n display: block;\n min-width: 0;\n }\n .ui.sides:not(.row) > .side {\n grid-area: var(--_sides-area);\n }\n .top.side {\n --_sides-area: top;\n }\n .left.side {\n --_sides-area: left;\n }\n .right.side {\n --_sides-area: right;\n }\n .bottom.side {\n --_sides-area: bottom;\n }\n .side > .letter {\n position: absolute;\n inset-block: 0;\n inset-inline-start: 0.5em;\n display: flex;\n align-items: center;\n color: var(--_ui-sides-letter-color);\n font-size: 0.85em;\n pointer-events: none;\n }\n .side > input {\n box-sizing: border-box;\n width: 100%;\n margin: 0;\n padding: var(--ui-input-padding-block, 0.35em) var(--ui-input-padding-inline, 0.6em)\n var(--ui-input-padding-block, 0.35em) 1.75em;\n border: var(--ui-border-width, 1px) solid var(--ui-border-color);\n border-radius: var(--ui-input-radius, var(--ui-radius-s, 4px));\n background: var(--ui-surface);\n color: var(--ui-text-color);\n font: inherit;\n font-weight: var(--_ui-input-owner-weight, var(--ui-font-weight-normal));\n font-variant-numeric: tabular-nums;\n text-align: end;\n appearance: textfield;\n }\n .side > input::-webkit-inner-spin-button {\n appearance: none;\n }\n .side > input:focus-visible {\n outline: var(--ui-focus-width, 2px) solid var(--ui-focus-color);\n outline-offset: 1px;\n }\n}\n\n@layer ui.components.sides.states {\n .side > input:disabled {\n opacity: var(--ui-disabled-opacity, 0.45);\n }\n .ui.sides[aria-invalid=\"true\"] > .side > input {\n border-color: var(--ui-negative-border, var(--ui-negative-text));\n }\n}\n","import { For } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { F } from \"spell/ui/forms\"\nimport { sidesVocabulary } from \"./UISides.en\"\nimport { SidesFallback } from \"./UISides.fallback\"\n\nimport sidesCSS from \"./UISides.css?inline\"\n\n/****************\n * ### `DOMSidesElement`\n * The DOM element of `<ui-sides>`: a form control's (`DOMFormControl`).\n * - Above the component: its `elementSetup` reads this class while the component is defined.\n ****************/\nexport class DOMSidesElement extends F.DOMFormControl<UISides> {}\n\n/****************\n * ### `UISides`\n * The component behind `<ui-sides>`: four lengths, top, left, right and bottom, for a margin or a padding\n * (epic `debut` P31).\n *\n * - Its shadow DOM: `<div class=\"ui … sides\" part=\"sides\" role=\"group\">`, holding one\n * `<label class=\"side top\" part=\"side\">` per side shown, its faded letter (`part=\"letter\"`) inside its native\n * number box (`part=\"input\"`).\n * - All four: a cross, top / left and right / bottom. `sides=\"top bottom\"`: only those, in one row.\n * - Its `value` takes either form, and gives back the form it was given (`SidesValue`):\n * - CSS's text, one to four numbers, top right bottom left: `value=\"10 20 10 20\"`\n * - an object, `{ top, left, right, bottom }`, as the property or as JSON text in the attribute\n * (text starting with `{`); a side left out is empty\n * - `value` is controlled (`@controlled`): a change sends `ui-changed` first; a handler that sets `el.value` again wins.\n * - A form control: it submits CSS's text of all four (an empty side `0`); `required` wants one shown side set.\n * A property editor's binding reads `value` itself, so it gets the form it gave.\n ****************/\nexport class UISides extends F.FormComponent<typeof sidesVocabulary> {\n @E.proto static vocabulary = sidesVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { sides: sidesCSS },\n Fallback: SidesFallback,\n DOMElement: DOMSidesElement\n } satisfies Partial<E.ElementSetup>\n\n /** Shows as invalid only once a person has interacted. */\n @E.proto static invalidShows: E.InvalidTiming = \"once touched\"\n\n onFormStateRestore(state: File | string | FormData | null) {\n if (typeof state === \"string\") this.value = state\n }\n\n ////////////////\n // ## The lengths\n ////////////////\n\n /** `value`: set by the page, or edited; either form (`SidesValue`). */\n @E.controlled(\"value\") accessor value: SidesValue | undefined = undefined\n\n /** The four lengths, by side; a side with none is missing. */\n get lengths(): SidesObject {\n return UISides.lengthsOf(this.value)\n }\n\n /** The sides it shows: `sides`, else all four, in the order drawn. */\n get shownSides(): readonly Side[] {\n const asked = E.Converters.list(this.sides ?? \"\").filter((side): side is Side => SIDES.includes(side as Side))\n return asked.length ? SIDES.filter((side) => asked.includes(side)) : SIDES\n }\n\n /** Only two sides, across or up and down: one row. */\n get isRow(): boolean {\n return this.shownSides.length < SIDES.length\n }\n\n /**\n * A person typed a length for `side`: send `ui-changed` with the new value, in the form it was given,\n * then set it, unless a handler set it first.\n */\n @E.untracked\n edit(side: Side, text: string, originalEvent?: Event) {\n this.isTouched = true\n const length = text.trim() === \"\" ? undefined : Number(text)\n const next = UISides.withLength(this.value, side, Number.isFinite(length) ? length : undefined)\n this.requestChange(\"value\", next, () => this.send(\"ui-changed\", { value: next, originalEvent }))\n }\n\n ////////////////\n // ## Form\n ////////////////\n\n /** CSS's text of all four (an empty side `0`); `null` while every side is empty. */\n get formValue(): E.FieldValue {\n return UISides.textOf(this.lengths)\n }\n\n /** Back to the `value` ATTRIBUTE. */\n onFormReset() {\n this.value = E.Converters.json<SidesValue>(this.attributes.value)\n }\n\n protected get validationLabel(): string | undefined {\n return this.labels.accessibleName ?? this.name\n }\n\n protected get validationAnchor(): HTMLElement | undefined {\n return this.inputs[0]\n }\n\n /** `row` while it shows two sides; else the cross. */\n protected get extraClass(): string | undefined {\n return this.isRow ? ROW : undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n /** Its number boxes, as drawn. */\n private readonly inputs: HTMLInputElement[] = []\n\n render(): JSX.Element {\n return (\n <div\n class={this.rootClass}\n part={this.partForName(\"sides\")}\n role=\"group\"\n aria-label={this.labels.accessibleName}\n aria-invalid={this.isShownInvalid ? \"true\" : undefined}\n >\n <For each={this.shownSides}>{(side) => this.sideBox(side)}</For>\n </div>\n )\n }\n\n /** One side: its letter inside its number box. */\n private sideBox(side: Side): JSX.Element {\n return (\n <label class={`${side} side`} part={this.partForName(\"side\")}>\n <span class={LETTER} part={this.partForName(\"letter\")} aria-hidden=\"true\">\n {this.translationForKey(`${side}Letter`)}\n </span>\n <input\n ref={(input) => this.inputs.push(input)}\n type=\"number\"\n part={this.partForName(\"input\")}\n aria-label={this.translationForKey(side)}\n value={this.lengths[side] ?? \"\"}\n disabled={this.isDisabled}\n readonly={!!this.readonly}\n required={!!this.required}\n onChange={(event) => this.edit(side, event.currentTarget.value, event)}\n />\n </label>\n )\n }\n\n protected activateControl() {\n this.inputs[0]?.focus()\n }\n\n ////////////////\n // ## Statics: the two forms of a value\n ////////////////\n\n /**\n * The lengths of `value`, by side: an object (or JSON text) by its side names, other text as CSS's numbers\n * (one to four, top right bottom left).\n * - STATIC: pure.\n */\n static lengthsOf(value: SidesValue | undefined): SidesObject {\n const given = typeof value === \"string\" ? E.Converters.json<SidesValue>(value) : value\n if (given && typeof given === \"object\") {\n const lengths: SidesObject = {}\n for (const side of SIDES) {\n const length = Number(given[side])\n if (given[side] != null && Number.isFinite(length)) lengths[side] = length\n }\n return lengths\n }\n const numbers = (given ?? \"\").trim().split(/\\s+/).filter(Boolean).map(Number)\n if (!numbers.length || numbers.some((each) => !Number.isFinite(each))) return {}\n const [top, right = top, bottom = top, left = right] = numbers\n return { top, right, bottom, left }\n }\n\n /**\n * `value` with `side`'s length changed (`undefined`: emptied), in the form `value` was given:\n * an object stays an object, text stays CSS's text.\n * - STATIC: pure.\n */\n static withLength(value: SidesValue | undefined, side: Side, length: number | undefined): SidesValue {\n const lengths = { ...UISides.lengthsOf(value), [side]: length }\n if (length === undefined) delete lengths[side]\n if (UISides.isObjectForm(value)) return lengths\n return UISides.textOf(lengths) ?? \"\"\n }\n\n /** `value` was given as an object (or JSON text of one). */\n static isObjectForm(value: SidesValue | undefined): boolean {\n return typeof value === \"object\" || (typeof value === \"string\" && value.trim().startsWith(\"{\"))\n }\n\n /** CSS's text of `lengths`, top right bottom left, an empty side `0`; `null` while all are empty. */\n static textOf(lengths: SidesObject): string | null {\n if (CSS_ORDER.every((side) => lengths[side] === undefined)) return null\n return CSS_ORDER.map((side) => lengths[side] ?? 0).join(\" \")\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISides extends E.AttributeValues<typeof sidesVocabulary> {}\n\n/** One side. */\nexport type Side = (typeof SIDES)[number]\n\n/** Lengths by side, a side with none left out. */\nexport type SidesObject = Partial<Record<Side, number>>\n\n/** A `<ui-sides>` value: CSS's text (`\"10 20 10 20\"`), or lengths by side. */\nexport type SidesValue = string | SidesObject\n\n/** The sides, in the order they're drawn: top, then left and right, then bottom. */\nconst SIDES = [\"top\", \"left\", \"right\", \"bottom\"] as const\n\n/** The sides in CSS's order. */\nconst CSS_ORDER = [\"top\", \"right\", \"bottom\", \"left\"] as const\n\n/** Class words. */\nconst ROW = \"row\"\nconst LETTER = \"letter\"\n","/**\n * The sides family: defines `<ui-sides>`, and exports its component and its DOM element class, `DOMSidesElement`.\n * - Also the `sides` lib entry (`spell/ui/ui-sides`).\n * - SIDE EFFECT: importing it defines the tag.\n */\n\nimport { DOMSidesElement, UISides } from \"./UISides\"\n\nUISides.define()\n\nexport { UISides, DOMSidesElement }\n"],"mappings":";;;;;;AAaA,IAAa4C,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,aAAa;CACb,QAAQ;EAAC;EAAU;EAAS;CAAU;CACtC,KAAK;EAAC;EAAU;EAAW;EAAa;EAAW;EAAU;CAAO;CACpE,UAAU;CACV,MAAM;CACN,aACE;CACF,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,SAAS;GACT,aACE;EAGJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,GAAAR,EAA6B;GAAU,aAAa;EAA+C;EAC3EA,EAAA;EACAA,EAAA;EAC1B;GAAE,GAAAA,EAA6B;GAAU,aAAa;EAAyD;CACjH;CACA,QAAQ,CACN;EACE,MAAM;EACN,QAC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AQG,MAAS,CAAC,CAAA,CAAE,KAAK,GAAG;CAC7D;AACF;AA3KO,IAAAZ,EAAA+B,CAAA,GAoB2B,oBAAA,IAAA,QAAA,GAATpC,EAAAqC,GAAA,GAAS,SAAhCL,GApBWQ,GAoBqBF,CAAA,GAuBhCtC,EAAAqC,GAAA,GAAA,QADAN,GA1CWS,CAAA,GACFxC,EAAAqC,GAAA,IAAO,cAAhBF,GADWK,CAAA,GAEIxC,EAAAqC,GAAA,IAAO,gBAAtBH,GAFWM,CAAA,GASFxC,EAAAqC,GAAA,IAAO,gBAAhBJ,GATWO,CAAA,GAANvC,EAAAoC,GAAMG,CAAA,GAAwD7C,EAAA6C,GAAA,SAAA,GAC1DzC,EADEyC,GACK,cAAatC,EAApBmC,GAAA,IADEG,GACkBlC,CAAA,CAAA,GAApBJ,EAAAmC,GAAA,IADEG,CAAA,GAEIzC,EAFJyC,GAEW,gBAAetC,EAAtBmC,GAAA,IAFJG,GAE0B;CACnC,aAAa,EAAE,OAAO5C,EAAS;CAC/B,UAAU+B;CACV,YAAY;AACd,CAAA,CAAA,GAJezB,EAAAmC,GAAA,IAFJG,CAAA,GASFzC,EATEyC,GASK,gBAAgCtC,EAAvCmC,GAAA,IATEG,GASqC,cAAA,CAAA,GAAvCtC,EAAAmC,GAAA,IATEG,CAAA;AAAN,IAAM0C,IAAN1C,GA0LDQ,IAAQ;CAAC;CAAO;CAAQ;CAAS;AAAQ,GAGzCiC,IAAY;CAAC;CAAO;CAAS;CAAU;AAAM,GAG7C9B,IAAM,OACNoB,IAAS;;;AC3NfW,EAAQ,OAAO"}
1
+ {"version":3,"file":"ui-sides.js","names":["_vocabulary_dec","_a","_init","E.NativeFallback","E.proto","CSS_ORDER","__name","<For each={this.shownSides}>{(side) => this.sideBox(side)}</For>","this","part={this.partForName(\"sides\")}","aria-label={this.labels.accessibleName}","aria-invalid={this.isShownInvalid ? \"true\" : void 0}","<div\n class={this.rootClass}\n part={this.partForName(\"sides\")}\n role=\"group\"\n aria-label={this.labels.accessibleName}\n aria-invalid={this.isShownInvalid ? \"true\" : void 0}\n >\n <For each={this.shownSides}>{(side) => this.sideBox(side)}</For>\n </div>","ref={(input) => this.inputs.push(input)}","part={this.partForName(\"side\")}","class={LETTER}","part={this.partForName(\"letter\")}","part={this.partForName(\"input\")}","aria-label={this.translationForKey(side)}","value={this.lengths[side] ?? \"\"}","disabled={this.isDisabled}","readonly={!!this.readonly}","required={!!this.required}","<label class={`${side} side`} part={this.partForName(\"side\")}>\n <span class={LETTER} part={this.partForName(\"letter\")} aria-hidden=\"true\">\n {this.translationForKey(`${side}Letter`)}\n </span>\n <input\n ref={(input) => this.inputs.push(input)}\n type=\"number\"\n part={this.partForName(\"input\")}\n aria-label={this.translationForKey(side)}\n value={this.lengths[side] ?? \"\"}\n disabled={this.isDisabled}\n readonly={!!this.readonly}\n required={!!this.required}\n onChange={(event) => this.edit(side, event.currentTarget.value, event)}\n />\n </label>","F.DOMFormControl","F.FormComponent","E.proto","E.protoMerged","E.controlled","E.untracked","_$setAttribute","__name","sidesCSS","FormControlAttributes","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","FormControlStates","sidesVocabulary","_degraded_dec","_vocabulary_dec$1","_a$1","_init$1","_SidesFallback","NativeFallback","proto","lengths","CSS_ORDER$1","input","side","index","box","text","sides","top","right","bottom","left","each","SidesFallback","UISides_default","_tmpl$","_tmpl$2","_edit_dec","_value_dec","_invalidShows_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_value","DOMFormControl","_UISides","FormComponent","protoMerged","controlled","untracked","state","asked","Converters","SIDES","length","next","ROW","_self$","_el$","insert","createComponent","For","effect","readShallow","className","_p$","t","setAttribute","a","o","_self$2","_el$2","_el$3","_el$4","event","ref","LETTER","i","n","s","h","r","d","given","value","numbers","CSS_ORDER","UISides"],"sources":["../src/components/ui-sides/UISides.en.ts","../src/components/ui-sides/UISides.fallback.ts","../src/components/ui-sides/UISides.tsx","../src/components/ui-sides/index.ts"],"sourcesContent":["/**\n * Every name `<ui-sides>` uses: tag, attributes, events, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`: `<ui-sides size=\"small\">` => `ui small sides`.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `<ui-sides>`\n * Four lengths, one per side, for a margin or a padding: a number box each, its side's letter inside it.\n ****************/\nexport const sidesVocabulary = {\n tag: \"ui-sides\",\n icon: \"cubes\",\n formControl: true,\n topics: [\"inputs\", \"forms\", \"controls\"],\n aka: [\"margin\", \"padding\", \"box model\", \"spacing\", \"insets\", \"sides\"],\n skeleton: \"inline 8 x 4.5\",\n noun: \"sides\",\n partOfSpeech: \"structure\",\n description:\n \"Sides edit four lengths at once, top, left, right and bottom, as a margin or a padding: a number box per side.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of its boxes, `mini` ... `massive`; `medium` is the default.\"\n },\n {\n name: \"value\",\n group: \"form\",\n kind: \"json\",\n reflect: false,\n description:\n \"Its lengths, in either form, given back in the form it was given: CSS's text, one to four numbers \" +\n '(top right bottom left: `value=\"10 20 10 20\"`), or an object, `{ top, left, right, bottom }` ' +\n \"(as the property, or as JSON text in the attribute). A side left out is empty.\"\n },\n {\n name: \"sides\",\n group: \"appearance\",\n kind: \"string\",\n description:\n \"Which sides it shows: `top bottom`, `left right` (one row) ... None: all four, top / left and right / bottom.\"\n },\n {\n name: \"disabled\",\n group: \"states\",\n kind: \"keyOnly\",\n description: \"Can't be used: left out of the form, not focusable.\"\n },\n { ...UIT.FormControlAttributes.readonly, description: \"Shows its lengths but they can't be changed.\" },\n UIT.FormControlAttributes.name,\n UIT.FormControlAttributes.parameter,\n { ...UIT.FormControlAttributes.required, description: \"Form validation: every side shown must have a length.\" }\n ],\n events: [\n {\n name: \"ui-changed\",\n detail:\n \"{ value: string | { top?: number, left?: number, right?: number, bottom?: number }, originalEvent?: Event }\",\n description: \"A length changed: `value` in the form it was given. A handler that re-sets `value` wins.\"\n }\n ],\n slots: [],\n parts: [\n { name: \"sides\", description: \"The box of its number boxes.\" },\n { name: \"side\", description: \"One side: a `<label>` around its letter and its number box.\" },\n { name: \"letter\", description: \"A side's letter (T, L, R, B), faded, inside its box.\" },\n { name: \"input\", description: \"One side's native number box.\" }\n ],\n states: [{ name: \"disabled\", description: \"Can't be used.\" }, UIT.FormControlStates.invalid],\n texts: [\n { key: \"top\", text: \"Top\", description: \"The top box's name.\" },\n { key: \"left\", text: \"Left\", description: \"The left box's name.\" },\n { key: \"right\", text: \"Right\", description: \"The right box's name.\" },\n { key: \"bottom\", text: \"Bottom\", description: \"The bottom box's name.\" },\n { key: \"topLetter\", text: \"T\", description: \"The letter inside the top box.\" },\n { key: \"leftLetter\", text: \"L\", description: \"The letter inside the left box.\" },\n { key: \"rightLetter\", text: \"R\", description: \"The letter inside the right box.\" },\n { key: \"bottomLetter\", text: \"B\", description: \"The letter inside the bottom box.\" }\n ]\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { sidesVocabulary } from \"./UISides.en\"\n\n/****************\n * ### `SidesFallback`\n * The native fallback of `<ui-sides>`: what it shows when its component breaks,\n * so its lengths are still edited and submitted with the form.\n *\n * - Its shadow DOM: four plain number inputs, named by their side (`aria-label`), in a row.\n * - Still a form control: each change sets the DOM element's form value to CSS's text (`top right bottom left`).\n * - Its starting value is the `value` attribute's text; an object is read by its side names.\n ****************/\nexport class SidesFallback extends E.NativeFallback<typeof sidesVocabulary> {\n @E.proto static vocabulary = sidesVocabulary\n @E.proto static degraded = [\"the side letters and the cross layout\", \"`sides`\", \"the form the value was given in\"]\n\n /** The four inputs, top, right, bottom, left. */\n private inputs: HTMLInputElement[] = []\n\n protected override build() {\n const lengths = SidesFallback.lengthsOf(this.attr(\"value\"))\n this.inputs = CSS_ORDER.map((side, index) => {\n const input = this.create(\"input\", {\n type: \"number\",\n part: \"input\",\n \"aria-label\": side,\n disabled: this.flag(\"disabled\"),\n readonly: this.flag(\"readonly\")\n })\n input.value = lengths[index] ?? \"\"\n this.listen(input, \"change\", () => this.sync())\n return input\n })\n const box = this.create(\"div\", { class: this.classes() }, ...this.inputs)\n return [this.decorate(box, \"sides\")]\n }\n\n /** CSS's text of the four, as the form value. */\n protected override sync() {\n const text = this.inputs.map((input) => input.value || \"0\").join(\" \")\n if (this.inputs.length) this.syncForm({ value: text, control: this.inputs[0] })\n }\n\n /** The four lengths of `text`, top right bottom left: CSS's numbers, or JSON by side names. */\n private static lengthsOf(text: string | undefined): string[] {\n if (!text) return []\n if (text.trim().startsWith(\"{\")) {\n try {\n const sides = JSON.parse(text) as Record<string, number | undefined>\n return CSS_ORDER.map((side) => (sides[side] == null ? \"\" : String(sides[side])))\n } catch {\n return []\n }\n }\n const numbers = text.trim().split(/\\s+/)\n const [top, right = top, bottom = top, left = right] = numbers\n return [top, right, bottom, left].map((each) => each ?? \"\")\n }\n}\n\n/** The sides in CSS's order. */\nconst CSS_ORDER = [\"top\", \"right\", \"bottom\", \"left\"] as const\n","import { For } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { F } from \"spell/ui/forms\"\nimport { sidesVocabulary } from \"./UISides.en\"\nimport { SidesFallback } from \"./UISides.fallback\"\n\nimport sidesCSS from \"./UISides.css?inline\"\n\n/****************\n * ### `DOMSidesElement`\n * The DOM element of `<ui-sides>`: a form control's (`DOMFormControl`).\n * - Above the component: its `elementSetup` reads this class while the component is defined.\n ****************/\nexport class DOMSidesElement extends F.DOMFormControl<UISides> {}\n\n/****************\n * ### `UISides`\n * The component behind `<ui-sides>`: four lengths, top, left, right and bottom, for a margin or a padding\n * (epic `debut` P31).\n *\n * - Its shadow DOM: `<div class=\"ui … sides\" part=\"sides\" role=\"group\">`, holding one\n * `<label class=\"side top\" part=\"side\">` per side shown, its faded letter (`part=\"letter\"`) inside its native\n * number box (`part=\"input\"`).\n * - All four: a cross, top / left and right / bottom. `sides=\"top bottom\"`: only those, in one row.\n * - Its `value` takes either form, and gives back the form it was given (`SidesValue`):\n * - CSS's text, one to four numbers, top right bottom left: `value=\"10 20 10 20\"`\n * - an object, `{ top, left, right, bottom }`, as the property or as JSON text in the attribute\n * (text starting with `{`); a side left out is empty\n * - `value` is controlled (`@controlled`): a change sends `ui-changed` first; a handler that sets `el.value` again wins.\n * - A form control: it submits CSS's text of all four (an empty side `0`); `required` wants one shown side set.\n * A property editor's binding reads `value` itself, so it gets the form it gave.\n ****************/\nexport class UISides extends F.FormComponent<typeof sidesVocabulary> {\n @E.proto static vocabulary = sidesVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { sides: sidesCSS },\n Fallback: SidesFallback,\n DOMElement: DOMSidesElement\n } satisfies Partial<E.ElementSetup>\n\n /** Shows as invalid only once a person has interacted. */\n @E.proto static invalidShows: E.InvalidTiming = \"once touched\"\n\n onFormStateRestore(state: File | string | FormData | null) {\n if (typeof state === \"string\") this.value = state\n }\n\n ////////////////\n // ## The lengths\n ////////////////\n\n /** `value`: set by the page, or edited; either form (`SidesValue`). */\n @E.controlled(\"value\") accessor value: SidesValue | undefined = undefined\n\n /** The four lengths, by side; a side with none is missing. */\n get lengths(): SidesObject {\n return UISides.lengthsOf(this.value)\n }\n\n /** The sides it shows: `sides`, else all four, in the order drawn. */\n get shownSides(): readonly Side[] {\n const asked = E.Converters.list(this.sides ?? \"\").filter((side): side is Side => SIDES.includes(side as Side))\n return asked.length ? SIDES.filter((side) => asked.includes(side)) : SIDES\n }\n\n /** Only two sides, across or up and down: one row. */\n get isRow(): boolean {\n return this.shownSides.length < SIDES.length\n }\n\n /**\n * A person typed a length for `side`: send `ui-changed` with the new value, in the form it was given,\n * then set it, unless a handler set it first.\n */\n @E.untracked\n edit(side: Side, text: string, originalEvent?: Event) {\n this.isTouched = true\n const length = text.trim() === \"\" ? undefined : Number(text)\n const next = UISides.withLength(this.value, side, Number.isFinite(length) ? length : undefined)\n this.requestChange(\"value\", next, () => this.send(\"ui-changed\", { value: next, originalEvent }))\n }\n\n ////////////////\n // ## Form\n ////////////////\n\n /** CSS's text of all four (an empty side `0`); `null` while every side is empty. */\n get formValue(): E.FieldValue {\n return UISides.textOf(this.lengths)\n }\n\n /** Back to the `value` ATTRIBUTE. */\n onFormReset() {\n this.value = E.Converters.json<SidesValue>(this.attributes.value)\n }\n\n protected get validationLabel(): string | undefined {\n return this.labels.accessibleName ?? this.name\n }\n\n protected get validationAnchor(): HTMLElement | undefined {\n return this.inputs[0]\n }\n\n /** `row` while it shows two sides; else the cross. */\n protected get extraClass(): string | undefined {\n return this.isRow ? ROW : undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n /** Its number boxes, as drawn. */\n private readonly inputs: HTMLInputElement[] = []\n\n render(): JSX.Element {\n return (\n <div\n class={this.rootClass}\n part={this.partForName(\"sides\")}\n role=\"group\"\n aria-label={this.labels.accessibleName}\n aria-invalid={this.isShownInvalid ? \"true\" : undefined}\n >\n <For each={this.shownSides}>{(side) => this.sideBox(side)}</For>\n </div>\n )\n }\n\n /** One side: its letter inside its number box. */\n private sideBox(side: Side): JSX.Element {\n return (\n <label class={`${side} side`} part={this.partForName(\"side\")}>\n <span class={LETTER} part={this.partForName(\"letter\")} aria-hidden=\"true\">\n {this.translationForKey(`${side}Letter`)}\n </span>\n <input\n ref={(input) => this.inputs.push(input)}\n type=\"number\"\n part={this.partForName(\"input\")}\n aria-label={this.translationForKey(side)}\n value={this.lengths[side] ?? \"\"}\n disabled={this.isDisabled}\n readonly={!!this.readonly}\n required={!!this.required}\n onChange={(event) => this.edit(side, event.currentTarget.value, event)}\n />\n </label>\n )\n }\n\n protected activateControl() {\n this.inputs[0]?.focus()\n }\n\n ////////////////\n // ## Statics: the two forms of a value\n ////////////////\n\n /**\n * The lengths of `value`, by side: an object (or JSON text) by its side names, other text as CSS's numbers\n * (one to four, top right bottom left).\n * - STATIC: pure.\n */\n static lengthsOf(value: SidesValue | undefined): SidesObject {\n const given = typeof value === \"string\" ? E.Converters.json<SidesValue>(value) : value\n if (given && typeof given === \"object\") {\n const lengths: SidesObject = {}\n for (const side of SIDES) {\n const length = Number(given[side])\n if (given[side] != null && Number.isFinite(length)) lengths[side] = length\n }\n return lengths\n }\n const numbers = (given ?? \"\").trim().split(/\\s+/).filter(Boolean).map(Number)\n if (!numbers.length || numbers.some((each) => !Number.isFinite(each))) return {}\n const [top, right = top, bottom = top, left = right] = numbers\n return { top, right, bottom, left }\n }\n\n /**\n * `value` with `side`'s length changed (`undefined`: emptied), in the form `value` was given:\n * an object stays an object, text stays CSS's text.\n * - STATIC: pure.\n */\n static withLength(value: SidesValue | undefined, side: Side, length: number | undefined): SidesValue {\n const lengths = { ...UISides.lengthsOf(value), [side]: length }\n if (length === undefined) delete lengths[side]\n if (UISides.isObjectForm(value)) return lengths\n return UISides.textOf(lengths) ?? \"\"\n }\n\n /** `value` was given as an object (or JSON text of one). */\n static isObjectForm(value: SidesValue | undefined): boolean {\n return typeof value === \"object\" || (typeof value === \"string\" && value.trim().startsWith(\"{\"))\n }\n\n /** CSS's text of `lengths`, top right bottom left, an empty side `0`; `null` while all are empty. */\n static textOf(lengths: SidesObject): string | null {\n if (CSS_ORDER.every((side) => lengths[side] === undefined)) return null\n return CSS_ORDER.map((side) => lengths[side] ?? 0).join(\" \")\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISides extends E.AttributeValues<typeof sidesVocabulary> {}\n\n/** One side. */\nexport type Side = (typeof SIDES)[number]\n\n/** Lengths by side, a side with none left out. */\nexport type SidesObject = Partial<Record<Side, number>>\n\n/** A `<ui-sides>` value: CSS's text (`\"10 20 10 20\"`), or lengths by side. */\nexport type SidesValue = string | SidesObject\n\n/** The sides, in the order they're drawn: top, then left and right, then bottom. */\nconst SIDES = [\"top\", \"left\", \"right\", \"bottom\"] as const\n\n/** The sides in CSS's order. */\nconst CSS_ORDER = [\"top\", \"right\", \"bottom\", \"left\"] as const\n\n/** Class words. */\nconst ROW = \"row\"\nconst LETTER = \"letter\"\n","/**\n * The sides family: defines `<ui-sides>`, and exports its component and its DOM element class, `DOMSidesElement`.\n * - Also the `sides` lib entry (`spell/ui/ui-sides`).\n * - SIDE EFFECT: importing it defines the tag.\n */\n\nimport { DOMSidesElement, UISides } from \"./UISides\"\n\nUISides.define()\n\nexport { UISides, DOMSidesElement }\n"],"mappings":";;;;;;AAaA,IAAa0C,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,aAAa;CACb,QAAQ;EAAC;EAAU;EAAS;CAAU;CACtC,KAAK;EAAC;EAAU;EAAW;EAAa;EAAW;EAAU;CAAO;CACpE,UAAU;CACV,MAAM;CACN,cAAc;CACd,aACE;CACF,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,SAAS;GACT,aACE;EAGJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,GAAAT,EAA6B;GAAU,aAAa;EAA+C;EAC3EA,EAAA;EACAA,EAAA;EAC1B;GAAE,GAAAA,EAA6B;GAAU,aAAa;EAAyD;CACjH;CACA,QAAQ,CACN;EACE,MAAM;EACN,QACE;EACF,aAAa;CACf,CACF;CACA,OAAO,CAAC;CACR,OAAO;EACL;GAAE,MAAM;GAAS,aAAa;EAA+B;EAC7D;GAAE,MAAM;GAAQ,aAAa;EAA+D;EAC5F;GAAE,MAAM;GAAU,aAAa;EAAuD;EACtF;GAAE,MAAM;GAAS,aAAa;EAAgC;CAChE;CACA,QAAQ,CAAC;EAAE,MAAM;EAAY,aAAa;CAAiB,GAAAQ,EAAyB,OAAO;CAC3F,OAAO;EACL;GAAE,KAAK;GAAO,MAAM;GAAO,aAAa;EAAsB;EAC9D;GA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IAAO,gBAAhBJ,GATWO,CAAA,GAANtC,EAAAmC,GAAMG,CAAA,GAAwD7C,EAAA6C,GAAA,SAAA,GAC1DzC,EADEyC,GACK,cAAarC,EAApBkC,GAAA,IADEG,GACkBlC,CAAA,CAAA,GAApBH,EAAAkC,GAAA,IADEG,CAAA,GAEIzC,EAFJyC,GAEW,gBAAerC,EAAtBkC,GAAA,IAFJG,GAE0B;CACnC,aAAa,EAAE,OAAO5C,EAAS;CAC/B,UAAU+B;CACV,YAAY;AACd,CAAA,CAAA,GAJexB,EAAAkC,GAAA,IAFJG,CAAA,GASFzC,EATEyC,GASK,gBAAgCrC,EAAvCkC,GAAA,IATEG,GASqC,cAAA,CAAA,GAAvCrC,EAAAkC,GAAA,IATEG,CAAA;AAAN,IAAM0C,IAAN1C,GA0LDQ,IAAQ;CAAC;CAAO;CAAQ;CAAS;AAAQ,GAGzCiC,IAAY;CAAC;CAAO;CAAS;CAAU;AAAM,GAG7C9B,IAAM,OACNoB,IAAS;;AC3NfW,EAAQ,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-site-breadcrumbs/ui-site-breadcrumbs.editor.html?raw
2
+ var e = "<!-- <ui-site-breadcrumbs>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-site-breadcrumbs\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"pages\"></ui-property>\n <ui-property name=\"current\"></ui-property>\n <ui-property name=\"label\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-site-breadcrumbs.editor-Dmc4qziE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-site-breadcrumbs.editor-Dmc4qziE.js","names":["ui_site_breadcrumbs_editor_default"],"sources":[],"mappings":""}
@@ -0,0 +1,143 @@
1
+ import "./rolldown-runtime-c6e9CmGy.js";
2
+ import { Gt as e, Jt as t, Kt as n, UIComponent as r, Ut as i, Wt as a, Yt as o, cssState as s, derived as c, proto as l, protoMerged as u, qt as d, state as f, whileConnected as p } from "./core.js";
3
+ import { t as m } from "./SitePages-B3zd5Zgu.js";
4
+ import "./ui-breadcrumbs.js";
5
+ import { For as h, Show as g } from "solid-js";
6
+ import { createComponent as _, effect as v, getOwner as y, insert as b, isServer as x, setAttribute as S, template as C } from "@solidjs/web";
7
+ // src/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.ts
8
+ var w = {
9
+ tag: "ui-site-breadcrumbs",
10
+ icon: "angle double right",
11
+ topics: ["navigation", "menus"],
12
+ aka: [
13
+ "breadcrumb trail",
14
+ "you are here",
15
+ "location",
16
+ "page path",
17
+ "where you are",
18
+ "site path"
19
+ ],
20
+ noun: "site breadcrumbs",
21
+ partOfSpeech: "structure",
22
+ description: "Site breadcrumbs say where you are in a site: the group, the pages above the page shown, then the page (Hardware › Systems), each page above a link.",
23
+ attributes: [
24
+ {
25
+ name: "pages",
26
+ group: "content",
27
+ kind: "json",
28
+ reflect: !1,
29
+ description: "The site's pages, nested as the side navigation nests them: the same `pages` `<ui-site-nav>` takes, each `{ title, href, id?, band?, pages? }`, e.g. `[{ \"title\": \"Hardware\", \"id\": \"group:Hardware\", \"band\": \"group\", \"pages\": [{ \"title\": \"Systems\", \"href\": \"/systems\" }] }]`. A `band: \"group\"` page is a group's name: its crumb is plain text."
30
+ },
31
+ {
32
+ name: "current",
33
+ group: "content",
34
+ kind: "string",
35
+ description: "Which page is shown: its `href` or its `id`. None: the page whose `href` is the browser's address."
36
+ },
37
+ {
38
+ name: "label",
39
+ group: "content",
40
+ kind: "string",
41
+ description: "What a screen reader calls the trail. None: \"Where you are\"."
42
+ }
43
+ ],
44
+ events: [],
45
+ slots: [],
46
+ parts: [{
47
+ name: "breadcrumbs",
48
+ description: "The `<ui-breadcrumbs>` trail, which holds the crumbs."
49
+ }],
50
+ states: [{
51
+ name: "empty",
52
+ description: "The page shown isn't in the site's pages, so nothing is drawn: it takes no room."
53
+ }],
54
+ texts: [{
55
+ key: "label",
56
+ text: "Where you are",
57
+ description: "What a screen reader calls the trail, without `label`."
58
+ }]
59
+ }, T = "@layer ui.components{:host{--_ui-site-breadcrumbs-padding:var(--ui-site-breadcrumbs-padding,0 1.14286em);min-width:0;padding:var(--_ui-site-breadcrumbs-padding);align-items:center;display:flex}:host(:state(empty)){display:none}}", E = /* @__PURE__ */ C("<ui-breadcrumbs>", 1), D = /* @__PURE__ */ C("<ui-breadcrumb>", 1), O, k, A, j, M, N, P, F, I, L, R, z = class _UISiteBreadcrumbs extends (I = r, F = [l], P = [u], N = [c], M = [f], j = [p], A = [c], k = [c], O = [s("empty")], I) {
60
+ constructor() {
61
+ super(...arguments), o(L, 5, this), d(this, R, o(L, 8, this)), o(L, 11, this);
62
+ }
63
+ get sitePages() {
64
+ return m.wellFormed(this.isFollowing ? this.followed?.pages : this.pages);
65
+ }
66
+ get currentKey() {
67
+ return this.current ?? (this.isFollowing ? this.followed?.current : void 0) ?? (x ? "" : location.pathname);
68
+ }
69
+ get isFollowing() {
70
+ return this.pages === void 0;
71
+ }
72
+ followSiteNav() {
73
+ let e = m.followNavAround(this.domElement, (e) => this.followed = e);
74
+ return () => {
75
+ e?.(), this.followed = void 0;
76
+ };
77
+ }
78
+ get pathToShown() {
79
+ let e = this.currentKey, t = /* @__PURE__ */ n((n) => {
80
+ for (let r of n) {
81
+ if (r.copyOf) continue;
82
+ if (m.isShown(r, e)) return [r];
83
+ let n = t(r.pages ?? []);
84
+ if (n) return [r, ...n];
85
+ }
86
+ }, "walk");
87
+ return t(this.sitePages) ?? [];
88
+ }
89
+ get crumbs() {
90
+ let e = this.pathToShown;
91
+ return e.map((t, n) => n === e.length - 1 ? {
92
+ title: t.title,
93
+ isShown: !0
94
+ } : t.href && t.band !== V && !m.hasParameter(t) ? {
95
+ title: t.title,
96
+ link: t.href
97
+ } : { title: t.title });
98
+ }
99
+ get isEmpty() {
100
+ return !this.crumbs.length;
101
+ }
102
+ render() {
103
+ let e = this;
104
+ return _(g, {
105
+ get when() {
106
+ return e.crumbs.length;
107
+ },
108
+ get children() {
109
+ var t = E();
110
+ return t._$owner = y(), b(t, _(h, {
111
+ get each() {
112
+ return e.crumbs;
113
+ },
114
+ keyed: !1,
115
+ children: (e) => (() => {
116
+ var t = D();
117
+ return t._$owner = y(), b(t, () => e().title), v(() => ({
118
+ e: e().link,
119
+ t: e().isShown ? "" : void 0
120
+ }), ({ e, t: n }, r) => {
121
+ e !== r?.e && S(t, "link", e), n !== r?.t && S(t, "selected", n);
122
+ }), t;
123
+ })()
124
+ })), v(() => ({
125
+ e: e.partForName("breadcrumbs"),
126
+ t: e.label ?? e.translationForKey("label")
127
+ }), ({ e, t: n }, r) => {
128
+ e !== r?.e && S(t, "part", e), n !== r?.t && S(t, "aria-label", n);
129
+ }), t;
130
+ }
131
+ });
132
+ }
133
+ };
134
+ L = e(I), R = /* @__PURE__ */ new WeakMap(), i(L, 2, "sitePages", N, z), i(L, 4, "followed", M, z, R), i(L, 1, "followSiteNav", j, z), i(L, 2, "pathToShown", A, z), i(L, 2, "crumbs", k, z), i(L, 2, "isEmpty", O, z), i(L, 13, "vocabulary", F, z), i(L, 13, "elementSetup", P, z), a(L, z), n(z, "UISiteBreadcrumbs"), t(z, "vocabulary", o(L, 12, z, w)), o(L, 15, z), t(z, "elementSetup", o(L, 16, z, {
135
+ styleSheets: { "site-breadcrumbs": T },
136
+ delegatesFocus: !1
137
+ })), o(L, 19, z);
138
+ var B = z, V = "group";
139
+ // src/components/ui-site-breadcrumbs/index.ts
140
+ B.define();
141
+ export { B as UISiteBreadcrumbs };
142
+
143
+ //# sourceMappingURL=ui-site-breadcrumbs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-site-breadcrumbs.js","names":["<Show when={this.crumbs.length}>\n <ui-breadcrumbs\n part={this.partForName(\"breadcrumbs\")}\n aria-label={this.label ?? this.translationForKey(\"label\")}\n >\n <For each={this.crumbs} keyed={false}>\n {(crumb) => <ui-breadcrumb link={crumb().link} selected={crumb().isShown ? \"\" : void 0}>\n {crumb().title}\n </ui-breadcrumb>}\n </For>\n </ui-breadcrumbs>\n </Show>","this","<For each={this.crumbs} keyed={false}>\n {(crumb) => <ui-breadcrumb link={crumb().link} selected={crumb().isShown ? \"\" : void 0}>\n {crumb().title}\n </ui-breadcrumb>}\n </For>","keyed={false}","selected={crumb().isShown ? \"\" : void 0}","aria-label={this.label ?? this.translationForKey(\"label\")}","<ui-breadcrumbs\n part={this.partForName(\"breadcrumbs\")}\n aria-label={this.label ?? this.translationForKey(\"label\")}\n >\n <For each={this.crumbs} keyed={false}>\n {(crumb) => <ui-breadcrumb link={crumb().link} selected={crumb().isShown ? \"\" : void 0}>\n {crumb().title}\n </ui-breadcrumb>}\n </For>\n </ui-breadcrumbs>","E.UIComponent","E.proto","E.protoMerged","E.derived","E.state","E.whileConnected","E.cssState","_$getOwner","_$setAttribute","__name","siteBreadcrumbsCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","SitePages","getOwner$1","siteBreadcrumbsVocabulary","UISiteBreadcrumbs_default","_tmpl$","_tmpl$2","_isEmpty_dec","_crumbs_dec","_pathToShown_dec","_followSiteNav_dec","_followed_dec","_sitePages_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_followed","_UISiteBreadcrumbs","UIComponent","proto","protoMerged","derived","state","whileConnected","cssState","isServer","stop","followed","key","walk","page","pages","below","path","at","GROUP","_self$","createComponent","Show","_el$","insert","For","_el$2","crumb","effect","_p$","setAttribute","t","UISiteBreadcrumbs"],"sources":["../src/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.ts","../src/components/ui-site-breadcrumbs/UISiteBreadcrumbs.tsx","../src/components/ui-site-breadcrumbs/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-site-breadcrumbs>`: every name the tag uses.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `siteBreadcrumbsVocabulary`\n * The names of `<ui-site-breadcrumbs>`: where you are in a site, drawn from the side navigation's own pages.\n ****************/\nexport const siteBreadcrumbsVocabulary = {\n tag: \"ui-site-breadcrumbs\",\n icon: \"angle double right\",\n topics: [\"navigation\", \"menus\"],\n aka: [\"breadcrumb trail\", \"you are here\", \"location\", \"page path\", \"where you are\", \"site path\"],\n noun: \"site breadcrumbs\",\n partOfSpeech: \"structure\",\n description:\n \"Site breadcrumbs say where you are in a site: the group, the pages above the page shown, then the page \" +\n \"(Hardware › Systems), each page above a link.\",\n attributes: [\n {\n name: \"pages\",\n group: \"content\",\n kind: \"json\",\n reflect: false,\n description:\n \"The site's pages, nested as the side navigation nests them: the same `pages` `<ui-site-nav>` takes, each \" +\n '`{ title, href, id?, band?, pages? }`, e.g. `[{ \"title\": \"Hardware\", \"id\": \"group:Hardware\", \"band\": ' +\n '\"group\", \"pages\": [{ \"title\": \"Systems\", \"href\": \"/systems\" }] }]`. A `band: \"group\"` page is a group\\'s ' +\n \"name: its crumb is plain text.\"\n },\n {\n name: \"current\",\n group: \"content\",\n kind: \"string\",\n description:\n \"Which page is shown: its `href` or its `id`. None: the page whose `href` is the browser's address.\"\n },\n {\n name: \"label\",\n group: \"content\",\n kind: \"string\",\n description: 'What a screen reader calls the trail. None: \"Where you are\".'\n }\n ],\n events: [],\n slots: [],\n parts: [{ name: \"breadcrumbs\", description: \"The `<ui-breadcrumbs>` trail, which holds the crumbs.\" }],\n states: [\n { name: \"empty\", description: \"The page shown isn't in the site's pages, so nothing is drawn: it takes no room.\" }\n ],\n texts: [\n { key: \"label\", text: \"Where you are\", description: \"What a screen reader calls the trail, without `label`.\" }\n ]\n} as const satisfies E.ComponentVocabulary\n","import { For, Show } from \"solid-js\"\nimport { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { SitePages, type FollowedSiteNav, type SitePage } from \"spell/ui/components/ui-site-nav/SitePages\"\nimport { siteBreadcrumbsVocabulary } from \"./UISiteBreadcrumbs.en\"\n\nimport siteBreadcrumbsCSS from \"./UISiteBreadcrumbs.css?inline\"\n\n/****************\n * ### `<ui-site-breadcrumbs>`\n * The component behind `<ui-site-breadcrumbs>`: where you are in a site (epic `mockup` T39).\n * It takes the same `pages` and `current` as `<ui-site-nav>`, and draws the way down to the page shown as a\n * `<ui-breadcrumbs>` trail:\n *\n * <ui-breadcrumbs part=\"breadcrumbs\" aria-label=\"Where you are\">\n * <ui-breadcrumb>Hardware</ui-breadcrumb> (a group: only a name)\n * <ui-breadcrumb link=\"/films\">Films</ui-breadcrumb> (a page above the one shown: a link)\n * <ui-breadcrumb selected>Film</ui-breadcrumb> (the page shown)\n * </ui-breadcrumbs>\n *\n * - The crumbs, top first:\n * - a group (`band: \"group\"`), or a page with no `href` (it only holds pages): plain text\n * - each page above the one shown: a real link, unless its address has a parameter (`/films/:film`)\n * - the page shown, `selected`\n * - A page's second copy (`copyOf`, a favourite) is never the way down: the original is.\n * - The page shown isn't in the pages (a not found page): nothing draws, `:state(empty)`.\n * - Plain data in, no fetching: `pages` and `current`, set on it by hand.\n * - Without `pages`, it follows the site navigation it's inside, as `<ui-site-tabs>` does\n * (`SitePages.followNavAround()`): a page of a Spell site writes a bare `<site-breadcrumbs/>`.\n * - A crumb's click is a link's: a Spell site follows links to its own pages itself.\n ****************/\nexport class UISiteBreadcrumbs extends E.UIComponent<typeof siteBreadcrumbsVocabulary> {\n @E.proto static vocabulary = siteBreadcrumbsVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { \"site-breadcrumbs\": siteBreadcrumbsCSS },\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## The pages\n ////////////////\n\n /** `pages`, else the site navigation's, the well-formed ones: each with a `title`, its pages checked the same way. */\n @E.derived\n get sitePages(): readonly SiteBreadcrumbsPage[] {\n return SitePages.wellFormed(this.isFollowing ? this.followed?.pages : this.pages)\n }\n\n /** Which page is shown: `current`, else the site navigation's while following it, else the browser's address. */\n get currentKey(): string {\n const current = this.current ?? (this.isFollowing ? this.followed?.current : undefined)\n return current ?? (isServer ? \"\" : location.pathname)\n }\n\n ////////////////\n // ## Following the site navigation\n ////////////////\n\n /** The site navigation's `pages` and `current`, while it's inside one; `undefined` outside any. */\n @E.state accessor followed: FollowedSiteNav | undefined = undefined\n\n /** It has no `pages` of its own, so it shows the site navigation's. */\n get isFollowing(): boolean {\n return this.pages === undefined\n }\n\n /**\n * While connected: follow the site navigation around it (`SitePages.followNavAround()`).\n * - Nothing around it: nothing to follow, and it draws only what it's given.\n */\n @E.whileConnected\n protected followSiteNav() {\n const stop = SitePages.followNavAround(this.domElement, (followed) => (this.followed = followed))\n return () => {\n stop?.()\n this.followed = undefined\n }\n }\n\n ////////////////\n // ## The crumbs\n ////////////////\n\n /** The pages from the top down to the page shown, it last; empty when it isn't among them. */\n @E.derived\n get pathToShown(): readonly SiteBreadcrumbsPage[] {\n const key = this.currentKey\n const walk = (pages: readonly SiteBreadcrumbsPage[]): SiteBreadcrumbsPage[] | undefined => {\n for (const page of pages) {\n if (page.copyOf) continue\n if (SitePages.isShown(page, key)) return [page]\n const below = walk(page.pages ?? [])\n if (below) return [page, ...below]\n }\n return undefined\n }\n return walk(this.sitePages) ?? []\n }\n\n /** The crumbs to draw, top first: each a name, a link to a page above, or the page shown. */\n @E.derived\n get crumbs(): readonly SiteCrumb[] {\n const path = this.pathToShown\n return path.map((page, at): SiteCrumb => {\n if (at === path.length - 1) return { title: page.title, isShown: true }\n const isLink = !!page.href && page.band !== GROUP && !SitePages.hasParameter(page)\n return isLink ? { title: page.title, link: page.href } : { title: page.title }\n })\n }\n\n /** No crumbs to draw: `:state(empty)`, which takes no room. */\n @E.cssState(\"empty\")\n get isEmpty(): boolean {\n return !this.crumbs.length\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <Show when={this.crumbs.length}>\n <ui-breadcrumbs\n part={this.partForName(\"breadcrumbs\")}\n aria-label={this.label ?? this.translationForKey(\"label\")}\n >\n <For each={this.crumbs} keyed={false}>\n {(crumb) => (\n <ui-breadcrumb link={crumb().link} selected={crumb().isShown ? \"\" : undefined}>\n {crumb().title}\n </ui-breadcrumb>\n )}\n </For>\n </ui-breadcrumbs>\n </Show>\n )\n }\n}\n\n/** The vocabulary getters, typed (`UIComponent`'s doc). */\nexport interface UISiteBreadcrumbs extends E.AttributeValues<typeof siteBreadcrumbsVocabulary> {}\n\n/** One page of a site, as `<ui-site-breadcrumbs pages>` takes it: the same list `<ui-site-nav>` takes. */\nexport type SiteBreadcrumbsPage = Omit<SitePage, \"pages\"> & {\n /** `group`: a group's name over its pages, never a link */\n band?: string\n /** the `id` of the page this is a second copy of (a favourite): never the way down */\n copyOf?: string\n /** the pages under it */\n pages?: readonly SiteBreadcrumbsPage[]\n}\n\n/** One crumb of the trail. */\ntype SiteCrumb = {\n /** what it says */\n title: string\n /** where it goes: a page above the one shown, with an address a link can go to */\n link?: string\n /** it's the page shown */\n isShown?: boolean\n}\n\n/** The `band` of a group's name over its pages: a Spell site's groups. */\nconst GROUP = \"group\"\n","/**\n * The site breadcrumbs family: defines `<ui-site-breadcrumbs>`, and exports its component.\n * - SIDE EFFECT: importing it defines the tag, and the breadcrumbs it draws its trail with.\n * - Also the library's `spell/ui/ui-site-breadcrumbs` entry.\n */\n\nimport { UISiteBreadcrumbs } from \"./UISiteBreadcrumbs\"\n\nimport \"spell/ui/components/ui-breadcrumbs\"\n\nUISiteBreadcrumbs.define()\n\nexport { UISiteBreadcrumbs, type SiteBreadcrumbsPage } from \"./UISiteBreadcrumbs\"\n"],"mappings":";;;;;;;AAWA,IAAa2B,IAA4B;CACvC,KAAK;CACL,MAAM;CACN,QAAQ,CAAC,cAAc,OAAO;CAC9B,KAAK;EAAC;EAAoB;EAAgB;EAAY;EAAa;EAAiB;CAAW;CAC/F,MAAM;CACN,cAAc;CAC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J,EAAAiB,GAAA,IADEE,CAAA,GAEIvB,EAFJuB,GAEW,gBAAenB,EAAtBiB,GAAA,IAFJE,GAE0B;CACnC,aAAa,EAAE,oBAAoBzB,EAAmB;CACtD,gBAAgB;AAClB,CAAA,CAAA,GAHeM,EAAAiB,GAAA,IAFJE,CAAA;AAAN,IAAM+B,IAAN/B,GAqIDkB,IAAQ;;AC3Jda,EAAkB,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-site-nav-button/ui-site-nav-button.editor.html?raw
2
+ var e = "<!-- <ui-site-nav-button>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-site-nav-button\" data-omit=\"\">\n <ui-property-group label=\"Name\" data-group=\"name\">\n <ui-property name=\"label\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"description\"></ui-property>\n <ui-property name=\"icon\"></ui-property>\n <ui-property name=\"image\"></ui-property>\n <ui-property name=\"flag\"></ui-property>\n <ui-property name=\"kind\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"position\"></ui-property>\n <ui-property name=\"padding\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"disabled\"></ui-property>\n <ui-property name=\"selected\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Form\" data-group=\"form\">\n <ui-property name=\"value\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Link\" data-group=\"link\">\n <ui-property name=\"link\"></ui-property>\n <ui-property name=\"target\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-site-nav-button.editor-6J-zJLtZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-site-nav-button.editor-6J-zJLtZ.js","names":["ui_site_nav_button_editor_default"],"sources":[],"mappings":""}
@@ -0,0 +1,113 @@
1
+ import "./rolldown-runtime-c6e9CmGy.js";
2
+ import { Gt as e, Jt as t, Kt as n, Ut as r, Wt as i, Yt as a, closestAcrossShadow as o, on as s, proto as c, protoMerged as l, qt as u, state as d, whileConnected as f } from "./core.js";
3
+ import { UIItem as p, itemVocabulary as m } from "./ui-item.js";
4
+ import "./ui-button.js";
5
+ import { Show as h } from "solid-js";
6
+ import { createComponent as g, effect as _, getOwner as v, isServer as y, setAttribute as b, template as x } from "@solidjs/web";
7
+ // src/components/ui-site-nav-button/UISiteNavButton.en.ts
8
+ var S = {
9
+ ...m,
10
+ tag: "ui-site-nav-button",
11
+ icon: "columns",
12
+ topics: [
13
+ "navigation",
14
+ "menus",
15
+ "buttons"
16
+ ],
17
+ aka: [
18
+ "side bar button",
19
+ "drawer button",
20
+ "hamburger",
21
+ "menu button",
22
+ "navigation toggle",
23
+ "sidebar toggle"
24
+ ],
25
+ skeleton: "inline 2.5 x 2.5",
26
+ description: "A site nav button shows or hides the side navigation of the page layout around it: its icons only and back on a wide page, slid in and out on a narrow one. It's an item, for an app menu.",
27
+ texts: [{
28
+ key: "label",
29
+ text: "Show or hide the side bar",
30
+ description: "What it's called, its tooltip and its name for a screen reader, without `aria-label`."
31
+ }, {
32
+ key: "menuLabel",
33
+ text: "Show or hide the menu",
34
+ description: "What it's called at a narrow width, where the drawer is hidden until it slides in: its icon the menu's (`bars`)."
35
+ }]
36
+ }, C = "@layer ui.components{:host(:state(in-menu))>.item{margin-inline:.64286em -1.14286em;padding-inline:.5em}}", w = /* @__PURE__ */ x("<ui-button>", 1), T, E, D, O, k, A, j, M, N = class _UISiteNavButton extends (A = p, k = [c], O = [l], D = [d], E = [f], T = [s("click")], A) {
37
+ constructor() {
38
+ super(...arguments), a(j, 5, this), u(this, M, a(j, 8, this)), a(j, 11, this);
39
+ }
40
+ findLayout() {
41
+ return this.layout = o(this.domElement, L) ?? void 0, () => this.layout = void 0;
42
+ }
43
+ get layoutComponent() {
44
+ return this.layout?.component;
45
+ }
46
+ onClick() {
47
+ this.isDisabled || this.layoutComponent?.toggleDrawer();
48
+ }
49
+ get icon() {
50
+ return this.attributes.icon ?? (this.isForHiddenDrawer ? z : R);
51
+ }
52
+ get isForHiddenDrawer() {
53
+ return this.layoutComponent?.isNarrow ?? !1;
54
+ }
55
+ get words() {
56
+ return this.translationForKey(this.isForHiddenDrawer ? I : F);
57
+ }
58
+ get rootTag() {
59
+ return this.kind === "item" ? "button" : "div";
60
+ }
61
+ get boxLabel() {
62
+ return super.boxLabel ?? this.words;
63
+ }
64
+ get boxTooltip() {
65
+ let e = this.attributes.title;
66
+ return e === null ? this.words : e || void 0;
67
+ }
68
+ get boxExpanded() {
69
+ let e = this.layoutComponent;
70
+ return e ? String(e.isDrawerShown) : void 0;
71
+ }
72
+ render() {
73
+ let e = super.render();
74
+ if (y) return e;
75
+ let t = this;
76
+ return g(h, {
77
+ get when() {
78
+ return t.itemContext;
79
+ },
80
+ get fallback() {
81
+ return t.button();
82
+ },
83
+ children: e
84
+ });
85
+ }
86
+ button() {
87
+ let e = this;
88
+ var t = w();
89
+ return b(t, "appearance", B), b(t, "size", V), t._$owner = v(), _(() => ({
90
+ e: e.partForName("item"),
91
+ t: e.icon,
92
+ a: e.boxLabel,
93
+ o: e.boxTooltip,
94
+ i: e.boxExpanded
95
+ }), ({ e, t: n, a: r, o: i, i: a }, o) => {
96
+ e !== o?.e && b(t, "part", e), n !== o?.t && b(t, "icon", n), r !== o?.a && b(t, "aria-label", r), i !== o?.o && b(t, "title", i), a !== o?.i && b(t, "aria-expanded", a);
97
+ }), t;
98
+ }
99
+ };
100
+ j = e(A), M = /* @__PURE__ */ new WeakMap(), r(j, 4, "layout", D, N, M), r(j, 1, "findLayout", E, N), r(j, 1, "onClick", T, N), r(j, 13, "vocabulary", k, N), r(j, 13, "elementSetup", O, N), i(j, N), n(N, "UISiteNavButton"), t(N, "vocabulary", a(j, 12, N, S)), a(j, 15, N), t(N, "elementSetup", a(j, 16, N, {
101
+ styleSheets: {
102
+ item: p.elementSetup.styleSheets.item,
103
+ "site-nav-button": C
104
+ },
105
+ isAPart: !0,
106
+ disabled: "its own"
107
+ })), a(j, 19, N);
108
+ var P = N, F = "label", I = "menuLabel", L = "ui-page-layout", R = "columns", z = "bars", B = "basic", V = "small";
109
+ // src/components/ui-site-nav-button/index.ts
110
+ P.define();
111
+ export { P as UISiteNavButton };
112
+
113
+ //# sourceMappingURL=ui-site-nav-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-site-nav-button.js","names":["<Show when={this.itemContext} fallback={this.button()}>\n {asItem}\n </Show>","this","icon={this.icon}","aria-label={this.boxLabel}","title={this.boxTooltip}","aria-expanded={this.boxExpanded}","<ui-button\n part={this.partForName(\"item\")}\n icon={this.icon}\n appearance={BASIC}\n size={SMALL}\n aria-label={this.boxLabel}\n title={this.boxTooltip}\n aria-expanded={this.boxExpanded}\n />","E.proto","E.protoMerged","E.state","E.whileConnected","E.on","E.closestAcrossShadow","_$getOwner","_$setAttribute","__name","siteNavButtonCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","getOwner$1","siteNavButtonVocabulary","itemVocabulary","UISiteNavButton_default","_tmpl$","_onClick_dec","_findLayout_dec","_layout_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_layout","_UISiteNavButton","UIItem","proto","protoMerged","state","whileConnected","on","closestAcrossShadow","PAGE_LAYOUT","BARS","COLUMNS","MENU_LABEL","LABEL","own","layout","asItem","isServer","_self$","createComponent","Show","_self$2","_el$","setAttribute","BASIC","SMALL","effect","_p$","t","a","o","i","UISiteNavButton"],"sources":["../src/components/ui-site-nav-button/UISiteNavButton.en.ts","../src/components/ui-site-nav-button/UISiteNavButton.tsx","../src/components/ui-site-nav-button/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-site-nav-button>`: `<ui-item>`'s, under the button's own tag, with its words.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Built ON the item's, as `<ui-action>`'s is: the same attributes, slots and states, so a menu draws it as one of\n * its items (the same noun, `item`).\n * - Its own: only its words, what it's called.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport { itemVocabulary } from \"spell/ui/components/ui-item/UIItem.en\"\n\n/****************\n * ### `siteNavButtonVocabulary`\n * The names of `<ui-site-nav-button>`: the drawer's button, in an app's top bar, which shows or hides the side\n * navigation of the `<ui-page-layout>` around it.\n ****************/\nexport const siteNavButtonVocabulary = {\n ...itemVocabulary,\n tag: \"ui-site-nav-button\",\n icon: \"columns\",\n topics: [\"navigation\", \"menus\", \"buttons\"],\n aka: [\"side bar button\", \"drawer button\", \"hamburger\", \"menu button\", \"navigation toggle\", \"sidebar toggle\"],\n skeleton: \"inline 2.5 x 2.5\",\n description:\n \"A site nav button shows or hides the side navigation of the page layout around it: its icons only and back \" +\n \"on a wide page, slid in and out on a narrow one. It's an item, for an app menu.\",\n texts: [\n {\n key: \"label\",\n text: \"Show or hide the side bar\",\n description: \"What it's called, its tooltip and its name for a screen reader, without `aria-label`.\"\n },\n {\n key: \"menuLabel\",\n text: \"Show or hide the menu\",\n description:\n \"What it's called at a narrow width, where the drawer is hidden until it slides in: its icon the menu's (`bars`).\"\n }\n ]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\n// the family barrel, not the leaf:\n// the lib build then imports `ui-item.js` instead of splitting a shared chunk\n// (SIDE EFFECT: defines `<ui-item>`, which the button extends)\nimport { UIItem } from \"spell/ui/components/ui-item\"\nimport type { itemVocabulary } from \"spell/ui/components/ui-item/UIItem.en\"\nimport type { DOMPageLayoutElement, UIPageLayout } from \"spell/ui/components/ui-page-layout/UIPageLayout\"\nimport { siteNavButtonVocabulary } from \"./UISiteNavButton.en\"\n\nimport siteNavButtonCSS from \"./UISiteNavButton.css?inline\"\n\n/****************\n * ### `<ui-site-nav-button>`\n * The component behind `<ui-site-nav-button>`: the drawer's button (epic `mockup` T39).\n *\n * <button class=\"icon item\" part=\"item\" aria-label=\"Show or hide the side bar\" aria-expanded=\"true\">\n * <span class=\"icon\" part=\"icon\"> <svg> </span> (`columns`)\n * </button>\n *\n * - It IS a `<ui-item>` (it extends `UIItem`): an app menu draws it as one of its items, as today's top bar's side\n * bar button.\n * - Its icon is `columns`, and its name and tooltip its words (`label`), unless the page writes its own.\n * - Narrow, the drawer hidden until it slides in: `bars`, a menu's, and its words for that (`menuLabel`).\n * - Outside a menu, where an item draws nothing of its own, it's a small basic `<ui-button>` with the same icon.\n * - A click: the nearest `<ui-page-layout>` around it, across shadow roots, `toggleDrawer()`s.\n * - So narrow, the drawer slides in and out; wide, it shows only its icons, or all of it again.\n * - `aria-expanded` says whether the layout's drawer shows all of it.\n * - With one inside it, the layout draws no menu button of its own.\n * - It finds its layout by its English tag (`ui-page-layout`).\n ****************/\nexport class UISiteNavButton extends UIItem {\n // the item's names under the button's tag, and its words: TypeScript only knows the item's literals\n @E.proto static vocabulary = siteNavButtonVocabulary as unknown as typeof itemVocabulary\n @E.protoMerged static elementSetup = {\n // the item's own, restated: its setup is typed as its literal\n styleSheets: { item: UIItem.elementSetup.styleSheets.item, \"site-nav-button\": siteNavButtonCSS },\n isAPart: true,\n disabled: \"its own\"\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## The layout around it\n ////////////////\n\n /** The `<ui-page-layout>` around it, while connected; `undefined` outside one. */\n @E.state accessor layout: DOMPageLayoutElement | undefined = undefined\n\n /** While connected: find the layout around it. */\n @E.whileConnected\n protected findLayout() {\n this.layout = E.closestAcrossShadow<DOMPageLayoutElement>(this.domElement, PAGE_LAYOUT) ?? undefined\n return () => (this.layout = undefined)\n }\n\n /** The layout's component, once its family has loaded and it has drawn. */\n private get layoutComponent(): UIPageLayout | undefined {\n return this.layout?.component\n }\n\n /** SIDE EFFECT: a click shows or hides the layout's drawer. */\n @E.on(\"click\")\n protected onClick() {\n if (!this.isDisabled) this.layoutComponent?.toggleDrawer()\n }\n\n ////////////////\n // ## Its look and its name\n ////////////////\n\n /**\n * Its icon: its own `icon` attribute, else `columns` beside a drawer it shows, `bars` while the drawer is hidden at a\n * narrow width (epic `mockup` I26). (A member with an attribute's name wins over it.)\n */\n get icon(): string | undefined {\n return this.attributes.icon ?? (this.isForHiddenDrawer ? BARS : COLUMNS)\n }\n\n /** Is the layout narrow, its drawer slid out of sight until this button slides it in? */\n private get isForHiddenDrawer(): boolean {\n return this.layoutComponent?.isNarrow ?? false\n }\n\n /** Its words: for the menu while the drawer is hidden at a narrow width, else for the side bar. */\n private get words(): string | undefined {\n return this.translationForKey(this.isForHiddenDrawer ? MENU_LABEL : LABEL)\n }\n\n /** Always a button: something to press, in any owner. */\n get rootTag(): \"a\" | \"button\" | \"div\" {\n return this.kind === UIT.ITEM ? \"button\" : \"div\"\n }\n\n /** What it's called: the page's `aria-label`, else its words. */\n protected get boxLabel(): string | undefined {\n return super.boxLabel ?? this.words\n }\n\n /** Its tooltip: the page's `title`, else its words. */\n protected get boxTooltip(): string | undefined {\n const own = this.attributes.title\n return own === null ? this.words : own || undefined\n }\n\n /** Does the layout's drawer show all of it: its `aria-expanded`. */\n protected get boxExpanded(): \"true\" | \"false\" | undefined {\n const layout = this.layoutComponent\n return layout ? (String(layout.isDrawerShown) as \"true\" | \"false\") : undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n /** In a menu, its item box; anywhere else, a small basic button. */\n render(): JSX.Element {\n const asItem = super.render()\n if (isServer) return asItem\n return (\n <Show when={this.itemContext} fallback={this.button()}>\n {asItem}\n </Show>\n )\n }\n\n /** The button it is outside a menu: the same icon, name and `aria-expanded`. */\n private button(): JSX.Element {\n return (\n <ui-button\n part={this.partForName(\"item\")}\n icon={this.icon}\n appearance={BASIC}\n size={SMALL}\n aria-label={this.boxLabel}\n title={this.boxTooltip}\n aria-expanded={this.boxExpanded}\n />\n )\n }\n}\n\n/** Its words' key in its vocabulary's `texts`: TypeScript knows only the item's, which has none. */\nconst LABEL = \"label\" as never\nconst MENU_LABEL = \"menuLabel\" as never\n\n/** The layout's tag. */\nconst PAGE_LAYOUT = \"ui-page-layout\"\n\n/** Its icons: today's top bar's side bar button's; the menu's, while the drawer is hidden. */\nconst COLUMNS = \"columns\"\nconst BARS = \"bars\"\n\n/** Its look outside a menu: a small basic button, as the layout's own menu button. */\nconst BASIC = \"basic\"\nconst SMALL = \"small\"\n","/**\n * The site nav button family: defines `<ui-site-nav-button>` and exports its component.\n * - SIDE EFFECT: importing it defines the tag.\n * `UISiteNavButton` imports the item family first, which defines `<ui-item>`: the button extends the item.\n * And the button family: outside a menu, it draws a `<ui-button>`.\n * - Also the library's `spell/ui/ui-site-nav-button` entry.\n */\n\nimport { UISiteNavButton } from \"./UISiteNavButton\"\n\nimport \"spell/ui/components/ui-button\"\n\nUISiteNavButton.define()\n\nexport { UISiteNavButton } from \"./UISiteNavButton\"\n"],"mappings":";;;;;;;AAgBA,IAAayB,IAA0B;CACrC,GAAGC;CACH,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAc;EAAS;CAAS;CACzC,KAAK;EAAC;EAAmB;EAAiB;EAAa;EAAe;EAAqB;CAAgB;CAC3G,UAAU;CACV,aACE;CAEF,OAAO,CACL;EACE,KAAK;EACL,MAAM;EACN,aAAa;CACf,GACA;EACE,KAAK;EACL,MAAM;EACN,aACE;CACJ,CACF;AACF,G,0JCvCAG,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAiCaC,IAAN,MAAM,0BAAwB,IAAAC,GAEnC,IAAA,CAAC/B,CAAE,GACH,IAAA,CAACC,CAAE,GAYH,IAAA,CAACC,CAAE,GAGH,IAAA,CAACC,CAAE,GAYH,IAAA,CAACC,EAAK,OAAO,C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a,YAAY;EAAM,mBAAmBtB;CAAiB;CAC/F,SAAS;CACT,UAAU;AACZ,CAAA,CAAA,GALeM,EAAAa,GAAA,IAHJE,CAAA;AAAN,IAAM+B,IAAN/B,GA+GDY,IAAQ,SACRD,IAAa,aAGbH,IAAc,kBAGdE,IAAU,WACVD,IAAO,QAGPc,IAAQ,SACRC,IAAQ;;AChJdO,EAAgB,OAAO"}
@@ -0,0 +1,5 @@
1
+ // src/components/ui-site-nav/ui-site-nav.editor.html?raw
2
+ var e = "<!-- <ui-site-nav>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-site-nav\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"pages\"></ui-property>\n <ui-property name=\"current\"></ui-property>\n <ui-property name=\"label\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"appearance\"></ui-property>\n <ui-property name=\"collapsed\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"remember\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
3
+ export { e as default };
4
+
5
+ //# sourceMappingURL=ui-site-nav.editor-CKEsOGCX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-site-nav.editor-CKEsOGCX.js","names":["ui_site_nav_editor_default"],"sources":[],"mappings":""}