spell-ui 0.8.6 → 0.8.8

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 (722) hide show
  1. package/README-components.md +14 -6
  2. package/README-frameworks.md +22 -12
  3. package/README-migrating.md +7 -6
  4. package/README-runtime.md +14 -13
  5. package/README-site.md +11 -11
  6. package/README-themes.md +38 -11
  7. package/README.md +61 -73
  8. package/dist/Dragging-CMZoLEWQ.js +169 -0
  9. package/dist/Dragging-CMZoLEWQ.js.map +1 -0
  10. package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
  11. package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
  12. package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
  13. package/dist/PrefStore-Qv0e5y04.js.map +1 -0
  14. package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
  15. package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
  16. package/dist/SitePages-CciwREek.js +51 -0
  17. package/dist/SitePages-CciwREek.js.map +1 -0
  18. package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
  19. package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
  20. package/dist/ThemeDraft-B7NPif4d.js +805 -0
  21. package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
  22. package/dist/TreeMeasure-BVJeGb1L.js +42 -0
  23. package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
  24. package/dist/UIButton-DFEds67r.js +6 -0
  25. package/dist/UIButton-DFEds67r.js.map +1 -0
  26. package/dist/UIInput-BodVbUoQ.js +6 -0
  27. package/dist/UIInput-BodVbUoQ.js.map +1 -0
  28. package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
  29. package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
  30. package/dist/UILabel-DgJUBzB_.js +6 -0
  31. package/dist/UILabel-DgJUBzB_.js.map +1 -0
  32. package/dist/UIMenu-zdcAtwTa.js +42 -0
  33. package/dist/UIMenu-zdcAtwTa.js.map +1 -0
  34. package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
  35. package/dist/UIRuntime-KH309p5B.js.map +1 -0
  36. package/dist/_spell-element/DOMElement.d.ts +62 -5
  37. package/dist/_spell-element/MoveAndResize.d.ts +75 -0
  38. package/dist/_spell-element/UIComponent.d.ts +42 -0
  39. package/dist/_spell-element/elements.types.d.ts +47 -0
  40. package/dist/_spell-element/index.d.ts +1 -0
  41. package/dist/_spell-element/vocabulary.types.d.ts +34 -2
  42. package/dist/{runtime → _util}/Api.d.ts +14 -4
  43. package/dist/_util/Dragging.d.ts +148 -0
  44. package/dist/_util/ListSelection.d.ts +46 -0
  45. package/dist/{util → _util}/LoadOnce.d.ts +9 -1
  46. package/dist/_util/ReconnectingSocket.d.ts +51 -0
  47. package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
  48. package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
  49. package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
  50. package/dist/_util/dom.d.ts +10 -0
  51. package/dist/_util/fetching.d.ts +92 -0
  52. package/dist/_util/measures/Dimension.d.ts +63 -0
  53. package/dist/_util/measures/MeasureSystem.d.ts +66 -0
  54. package/dist/_util/measures/dimensions.generated.d.ts +16 -0
  55. package/dist/_util/persist/ColorScheme.d.ts +6 -0
  56. package/dist/_util/persist/ServerPlace.d.ts +42 -0
  57. package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
  58. package/dist/_util/persist/persist.types.d.ts +21 -2
  59. package/dist/_util/timing.d.ts +10 -1
  60. package/dist/api.js +8 -7
  61. package/dist/api.js.map +1 -1
  62. package/dist/components/ComponentDefinitions.d.ts +29 -0
  63. package/dist/components/components.es.d.ts +13 -0
  64. package/dist/components/components.types.d.ts +113 -8
  65. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  66. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  67. package/dist/components/ui-action/UIAction.en.d.ts +5 -1
  68. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  69. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  70. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  71. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  72. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  74. package/dist/components/ui-button/UIButton.d.ts +8 -3
  75. package/dist/components/ui-button/UIButton.en.d.ts +9 -4
  76. package/dist/components/ui-button/UIButton.es.d.ts +6 -0
  77. package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
  78. package/dist/components/ui-button/UIButtons.d.ts +1 -0
  79. package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
  80. package/dist/components/ui-button/UIOr.d.ts +1 -0
  81. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  82. package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
  83. package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
  84. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
  85. package/dist/components/ui-card/CardClicks.d.ts +40 -0
  86. package/dist/components/ui-card/UICard.d.ts +41 -0
  87. package/dist/components/ui-card/UICard.en.d.ts +49 -0
  88. package/dist/components/ui-card/UICard.es.d.ts +1 -0
  89. package/dist/components/ui-card/UICards.d.ts +31 -0
  90. package/dist/components/ui-card/UICards.en.d.ts +31 -0
  91. package/dist/components/ui-card/UICards.es.d.ts +8 -0
  92. package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
  95. package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
  97. package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
  98. package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
  99. package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  102. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  105. package/dist/components/ui-components/PackHotSwap.d.ts +13 -3
  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 +11 -0
  109. package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
  112. package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
  113. package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
  114. package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
  115. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
  116. package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
  117. package/dist/components/ui-diagram/index.d.ts +8 -0
  118. package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
  119. package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
  120. package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
  121. package/dist/components/ui-dimension/index.d.ts +2 -0
  122. package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
  123. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  124. package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
  125. package/dist/components/ui-divider/UIDivider.d.ts +2 -0
  126. package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
  127. package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
  129. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
  130. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
  131. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  132. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  133. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  134. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  135. package/dist/components/ui-example/UIExample.en.d.ts +4 -2
  136. package/dist/components/ui-example/UIExample.es.d.ts +3 -2
  137. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  138. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  139. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  140. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  141. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  142. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  143. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  144. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  145. package/dist/components/ui-form/FormBinding.d.ts +13 -1
  146. package/dist/components/ui-form/FormFields.d.ts +4 -4
  147. package/dist/components/ui-form/UIField.d.ts +30 -3
  148. package/dist/components/ui-form/UIField.en.d.ts +9 -0
  149. package/dist/components/ui-form/UIField.es.d.ts +6 -0
  150. package/dist/components/ui-form/UIFields.d.ts +1 -0
  151. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  152. package/dist/components/ui-form/UIForm.d.ts +15 -0
  153. package/dist/components/ui-form/UIForm.en.d.ts +6 -0
  154. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  155. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  156. package/dist/components/ui-form/index.d.ts +2 -1
  157. package/dist/components/ui-grid/UIColumn.d.ts +1 -0
  158. package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
  159. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  160. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  161. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  162. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  163. package/dist/components/ui-icon/UIIcon.d.ts +3 -2
  164. package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
  165. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  166. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  167. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
  168. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
  169. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
  170. package/dist/components/ui-image/UIImage.d.ts +34 -0
  171. package/dist/components/ui-image/UIImage.en.d.ts +23 -0
  172. package/dist/components/ui-image/UIImage.es.d.ts +2 -0
  173. package/dist/components/ui-image/UIImages.d.ts +1 -0
  174. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  175. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  176. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  177. package/dist/components/ui-input/TextControl.d.ts +7 -0
  178. package/dist/components/ui-input/UIInput.d.ts +22 -3
  179. package/dist/components/ui-input/UIInput.en.d.ts +9 -2
  180. package/dist/components/ui-input/UIInput.es.d.ts +2 -0
  181. package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
  182. package/dist/components/ui-input/UITextarea.d.ts +20 -0
  183. package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
  184. package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
  185. package/dist/components/ui-item/UIItem.d.ts +27 -4
  186. package/dist/components/ui-item/UIItem.en.d.ts +5 -1
  187. package/dist/components/ui-items/UIItems.d.ts +1 -0
  188. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  189. package/dist/components/ui-json/JsonChild.d.ts +30 -0
  190. package/dist/components/ui-json/UIJson.d.ts +128 -0
  191. package/dist/components/ui-json/UIJson.en.d.ts +71 -0
  192. package/dist/components/ui-json/UIJson.es.d.ts +12 -0
  193. package/dist/components/ui-json/index.d.ts +3 -0
  194. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  195. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  196. package/dist/components/ui-label/UILabel.d.ts +2 -0
  197. package/dist/components/ui-label/UILabel.en.d.ts +2 -0
  198. package/dist/components/ui-label/UILabel.es.d.ts +1 -0
  199. package/dist/components/ui-label/UILabels.d.ts +1 -0
  200. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  201. package/dist/components/ui-list/UIList.d.ts +2 -0
  202. package/dist/components/ui-list/UIList.en.d.ts +2 -0
  203. package/dist/components/ui-list/UIList.es.d.ts +1 -0
  204. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  205. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  206. package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
  207. package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
  208. package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
  209. package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
  210. package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
  211. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
  212. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
  213. package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
  214. package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
  215. package/dist/components/ui-menu/TitleFit.d.ts +3 -0
  216. package/dist/components/ui-menu/UIMenu.d.ts +97 -4
  217. package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
  218. package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
  219. package/dist/components/ui-message/UIMessage.d.ts +2 -0
  220. package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
  221. package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
  222. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  223. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  224. package/dist/components/ui-nag/UINag.d.ts +1 -0
  225. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  226. package/dist/components/ui-page/UIPage.d.ts +15 -0
  227. package/dist/components/ui-page/UIPage.en.d.ts +15 -0
  228. package/dist/components/ui-page/UIPage.es.d.ts +1 -0
  229. package/dist/components/ui-panel/UIPanel.d.ts +6 -0
  230. package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
  231. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  232. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  233. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  234. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  235. package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
  236. package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
  237. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  238. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  239. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  240. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  241. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  242. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  244. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  246. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  247. package/dist/components/ui-parts/UIHeader.d.ts +3 -1
  248. package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
  249. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  250. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  251. package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
  252. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  253. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  254. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  255. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  256. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  257. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  258. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  259. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  260. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  261. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  262. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  263. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  264. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  265. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  266. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  267. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  268. package/dist/components/ui-popup/UIPopup.d.ts +30 -3
  269. package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
  270. package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
  271. package/dist/components/ui-progress/UIProgress.d.ts +2 -0
  272. package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
  273. package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
  274. package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
  275. package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
  276. package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
  277. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
  278. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  279. package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
  280. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
  281. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
  282. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
  283. package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
  284. package/dist/components/ui-property-editor/index.d.ts +1 -0
  285. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  286. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  287. package/dist/components/ui-rail/UIRail.d.ts +1 -0
  288. package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
  289. package/dist/components/ui-rating/UIRating.d.ts +6 -0
  290. package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
  291. package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
  292. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  293. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  294. package/dist/components/ui-root/UIRoot.d.ts +18 -3
  295. package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
  296. package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
  297. package/dist/components/ui-search/UISearch.d.ts +48 -7
  298. package/dist/components/ui-search/UISearch.en.d.ts +13 -1
  299. package/dist/components/ui-search/UISearch.es.d.ts +1 -0
  300. package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
  301. package/dist/components/ui-section/UISection.d.ts +22 -1
  302. package/dist/components/ui-section/UISection.en.d.ts +10 -0
  303. package/dist/components/ui-section/UISection.es.d.ts +1 -0
  304. package/dist/components/ui-section/UISections.d.ts +1 -0
  305. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  306. package/dist/components/ui-segment/UISegment.d.ts +2 -0
  307. package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
  308. package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
  309. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  310. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  311. package/dist/components/ui-select/UISelect.d.ts +6 -0
  312. package/dist/components/ui-select/UISelect.en.d.ts +6 -0
  313. package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
  314. package/dist/components/ui-shape/UIShape.d.ts +23 -2
  315. package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
  316. package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
  317. package/dist/components/ui-shape/UISide.d.ts +4 -0
  318. package/dist/components/ui-shape/UISide.en.d.ts +4 -0
  319. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  320. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  321. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  322. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  323. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  324. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  325. package/dist/components/ui-sides/UISides.d.ts +209 -0
  326. package/dist/components/ui-sides/UISides.en.d.ts +122 -0
  327. package/dist/components/ui-sides/UISides.es.d.ts +30 -0
  328. package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
  329. package/dist/components/ui-sides/index.d.ts +2 -0
  330. package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
  331. package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
  332. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
  333. package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
  334. package/dist/components/ui-site-nav/index.d.ts +1 -0
  335. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
  336. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
  337. package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
  338. package/dist/components/ui-site-tabs/index.d.ts +1 -0
  339. package/dist/components/ui-slider/UISlider.d.ts +7 -0
  340. package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
  341. package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
  342. package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
  343. package/dist/components/ui-space/UISpace.d.ts +1 -0
  344. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  345. package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
  346. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
  347. package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
  348. package/dist/components/ui-split-panel/index.d.ts +2 -0
  349. package/dist/components/ui-stack/UIStack.d.ts +31 -5
  350. package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
  351. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  352. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  353. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  354. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  355. package/dist/components/ui-step/UIStep.d.ts +1 -0
  356. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  357. package/dist/components/ui-step/UISteps.d.ts +1 -0
  358. package/dist/components/ui-step/UISteps.en.d.ts +1 -0
  359. package/dist/components/ui-sticky/UISticky.d.ts +4 -0
  360. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  361. package/dist/components/ui-tab/UITab.d.ts +8 -0
  362. package/dist/components/ui-tab/UITab.en.d.ts +1 -0
  363. package/dist/components/ui-tab/UITabs.d.ts +107 -16
  364. package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
  365. package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
  366. package/dist/components/ui-table/TableEditing.d.ts +77 -0
  367. package/dist/components/ui-table/UICell.d.ts +1 -0
  368. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  369. package/dist/components/ui-table/UITable.d.ts +145 -5
  370. package/dist/components/ui-table/UITable.en.d.ts +19 -0
  371. package/dist/components/ui-table/UITable.es.d.ts +3 -0
  372. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  373. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  374. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  375. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  376. package/dist/components/ui-text/UILink.d.ts +11 -0
  377. package/dist/components/ui-text/UILink.en.d.ts +4 -0
  378. package/dist/components/ui-text/UIText.d.ts +7 -0
  379. package/dist/components/ui-text/UIText.en.d.ts +7 -0
  380. package/dist/components/ui-text/UIText.es.d.ts +2 -0
  381. package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
  382. package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
  383. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  384. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  385. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
  386. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
  387. package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
  388. package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
  389. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  390. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  391. package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
  392. package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
  393. package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
  394. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
  395. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
  396. package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
  397. package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
  398. package/dist/components/ui-theme-menu/index.d.ts +2 -1
  399. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  400. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  401. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  402. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  403. package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
  404. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
  405. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
  406. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  407. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  408. package/dist/components/ui-tree/UITree.d.ts +162 -0
  409. package/dist/components/ui-tree/UITree.en.d.ts +88 -0
  410. package/dist/components/ui-tree/UITree.es.d.ts +35 -0
  411. package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
  412. package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
  413. package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
  414. package/dist/components/ui-tree/index.d.ts +3 -0
  415. package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
  416. package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
  417. package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
  418. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
  419. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
  420. package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
  421. package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
  422. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
  423. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
  424. package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
  425. package/dist/components/ui-tree-diagram/index.d.ts +4 -2
  426. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  427. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  428. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  429. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  430. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  431. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  432. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  433. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  434. package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
  435. package/dist/components.es-BOa_7gFF.js.map +1 -0
  436. package/dist/core.d.ts +3 -1
  437. package/dist/core.js +1082 -511
  438. package/dist/core.js.map +1 -1
  439. package/dist/crisp-VfYZlTph.js +6 -0
  440. package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
  441. package/dist/docs-components/index.d.ts +1 -0
  442. package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
  443. package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
  444. package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
  445. package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
  446. package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
  447. package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
  448. package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
  449. package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
  450. package/dist/elements/AddressParameter.d.ts +87 -0
  451. package/dist/elements/DOMFormControl.d.ts +5 -0
  452. package/dist/elements/FormComponent.d.ts +32 -0
  453. package/dist/elements/LoadableBody.d.ts +6 -1
  454. package/dist/elements/LoadableComponent.d.ts +10 -1
  455. package/dist/elements/RootSettings.d.ts +43 -6
  456. package/dist/elements/SpellUISettings.d.ts +1 -0
  457. package/dist/elements/StickyWatch.d.ts +20 -0
  458. package/dist/elements/elements.types.d.ts +15 -0
  459. package/dist/elements/index.d.ts +2 -0
  460. package/dist/forms.js +93 -63
  461. package/dist/forms.js.map +1 -1
  462. package/dist/fruity-BRVlgJZd.js +6 -0
  463. package/dist/fruity-BRVlgJZd.js.map +1 -0
  464. package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
  465. package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
  466. package/dist/glass-x9tbbwVq.js +6 -0
  467. package/dist/glass-x9tbbwVq.js.map +1 -0
  468. package/dist/glass.theme-24wY2wH9.js +6 -0
  469. package/dist/glass.theme-24wY2wH9.js.map +1 -0
  470. package/dist/hot.js +530 -24
  471. package/dist/hot.js.map +1 -1
  472. package/dist/index.d.ts +8 -0
  473. package/dist/index.js +91 -81
  474. package/dist/jsx.d.ts +21149 -10377
  475. package/dist/matrix-QY2gWbJ0.js +6 -0
  476. package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
  477. package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
  478. package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
  479. package/dist/midnight-BxlTQSfw.js +6 -0
  480. package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
  481. package/dist/mockup-83ELBuVr.js +6 -0
  482. package/dist/mockup-83ELBuVr.js.map +1 -0
  483. package/dist/mockup.theme-DmpBgGBl.js +6 -0
  484. package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
  485. package/dist/paper-M61nUilz.js +6 -0
  486. package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
  487. package/dist/persist.types-D2m6wD-S.js +9 -0
  488. package/dist/persist.types-D2m6wD-S.js.map +1 -0
  489. package/dist/pop-CxXfytjk.js +6 -0
  490. package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
  491. package/dist/runtime/DataTooltips.d.ts +75 -0
  492. package/dist/runtime/PropertyControls.d.ts +15 -1
  493. package/dist/runtime/Sources.d.ts +16 -4
  494. package/dist/runtime/Styles.d.ts +11 -0
  495. package/dist/runtime/Themes.d.ts +10 -4
  496. package/dist/runtime/UIRuntime.d.ts +4 -1
  497. package/dist/runtime/index.d.ts +1 -1
  498. package/dist/runtime/runtime.types.d.ts +18 -85
  499. package/dist/spell-By5Y3jKP.js +6 -0
  500. package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
  501. package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
  502. package/dist/spell.theme-DxGj7qHx.js.map +1 -0
  503. package/dist/styles/CodeThemeFile.d.ts +73 -0
  504. package/dist/styles/StyleGenerator.d.ts +6 -0
  505. package/dist/styles/styles.en.d.ts +141 -3
  506. package/dist/styles/styles.types.d.ts +2 -0
  507. package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
  508. package/dist/styles.en-CUUxNwHo.js.map +1 -0
  509. package/dist/styles.js +13 -13
  510. package/dist/styles.js.map +1 -1
  511. package/dist/ui-accordion.js +54 -53
  512. package/dist/ui-accordion.js.map +1 -1
  513. package/dist/ui-action.js +20 -19
  514. package/dist/ui-action.js.map +1 -1
  515. package/dist/ui-ad.js +5 -4
  516. package/dist/ui-ad.js.map +1 -1
  517. package/dist/ui-breadcrumbs.js +15 -13
  518. package/dist/ui-breadcrumbs.js.map +1 -1
  519. package/dist/ui-button.js +132 -125
  520. package/dist/ui-button.js.map +1 -1
  521. package/dist/ui-calendar.js +208 -206
  522. package/dist/ui-calendar.js.map +1 -1
  523. package/dist/ui-card.js +260 -98
  524. package/dist/ui-card.js.map +1 -1
  525. package/dist/ui-checkbox.js +95 -81
  526. package/dist/ui-checkbox.js.map +1 -1
  527. package/dist/ui-code.js +25 -24
  528. package/dist/ui-code.js.map +1 -1
  529. package/dist/ui-comment.js +14 -12
  530. package/dist/ui-comment.js.map +1 -1
  531. package/dist/ui-components.js +7 -6
  532. package/dist/ui-components.js.map +1 -1
  533. package/dist/ui-container.js +24 -12
  534. package/dist/ui-container.js.map +1 -1
  535. package/dist/ui-diagram.js +1328 -0
  536. package/dist/ui-diagram.js.map +1 -0
  537. package/dist/ui-dimension.js +779 -0
  538. package/dist/ui-dimension.js.map +1 -0
  539. package/dist/ui-dimmer.js +36 -34
  540. package/dist/ui-dimmer.js.map +1 -1
  541. package/dist/ui-divider.js +7 -5
  542. package/dist/ui-divider.js.map +1 -1
  543. package/dist/ui-dropdown.js +107 -105
  544. package/dist/ui-dropdown.js.map +1 -1
  545. package/dist/ui-embed.js +36 -35
  546. package/dist/ui-embed.js.map +1 -1
  547. package/dist/ui-emoji.js +10 -9
  548. package/dist/ui-emoji.js.map +1 -1
  549. package/dist/ui-example.js +63 -61
  550. package/dist/ui-example.js.map +1 -1
  551. package/dist/ui-feed.js +12 -10
  552. package/dist/ui-feed.js.map +1 -1
  553. package/dist/ui-flag.js +10 -9
  554. package/dist/ui-flag.js.map +1 -1
  555. package/dist/ui-flyout.js +7 -6
  556. package/dist/ui-flyout.js.map +1 -1
  557. package/dist/ui-form.js +244 -162
  558. package/dist/ui-form.js.map +1 -1
  559. package/dist/ui-grid.js +21 -18
  560. package/dist/ui-grid.js.map +1 -1
  561. package/dist/ui-icon-picker.js +46 -44
  562. package/dist/ui-icon-picker.js.map +1 -1
  563. package/dist/ui-icon.js +17 -14
  564. package/dist/ui-icon.js.map +1 -1
  565. package/dist/ui-image.js +93 -55
  566. package/dist/ui-image.js.map +1 -1
  567. package/dist/ui-include.js +18 -17
  568. package/dist/ui-include.js.map +1 -1
  569. package/dist/ui-input.js +154 -112
  570. package/dist/ui-input.js.map +1 -1
  571. package/dist/ui-item.js +152 -102
  572. package/dist/ui-item.js.map +1 -1
  573. package/dist/ui-items.js +9 -8
  574. package/dist/ui-items.js.map +1 -1
  575. package/dist/ui-json.js +115 -0
  576. package/dist/ui-json.js.map +1 -0
  577. package/dist/ui-keys.js +1 -1
  578. package/dist/ui-label.js +18 -15
  579. package/dist/ui-label.js.map +1 -1
  580. package/dist/ui-list.js +7 -5
  581. package/dist/ui-list.js.map +1 -1
  582. package/dist/ui-loader.js +7 -6
  583. package/dist/ui-loader.js.map +1 -1
  584. package/dist/ui-markdown.js +975 -83
  585. package/dist/ui-markdown.js.map +1 -1
  586. package/dist/ui-menu.js +329 -196
  587. package/dist/ui-menu.js.map +1 -1
  588. package/dist/ui-message.js +20 -18
  589. package/dist/ui-message.js.map +1 -1
  590. package/dist/ui-modal.js +46 -45
  591. package/dist/ui-modal.js.map +1 -1
  592. package/dist/ui-nag.js +19 -18
  593. package/dist/ui-nag.js.map +1 -1
  594. package/dist/ui-page.js +8 -7
  595. package/dist/ui-page.js.map +1 -1
  596. package/dist/ui-panel.js +28 -17
  597. package/dist/ui-panel.js.map +1 -1
  598. package/dist/ui-parts.js +66 -52
  599. package/dist/ui-parts.js.map +1 -1
  600. package/dist/ui-placeholder.js +21 -16
  601. package/dist/ui-placeholder.js.map +1 -1
  602. package/dist/ui-popup.js +113 -84
  603. package/dist/ui-popup.js.map +1 -1
  604. package/dist/ui-progress.js +9 -7
  605. package/dist/ui-progress.js.map +1 -1
  606. package/dist/ui-property-editor.js +706 -203
  607. package/dist/ui-property-editor.js.map +1 -1
  608. package/dist/ui-quote.js +5 -4
  609. package/dist/ui-quote.js.map +1 -1
  610. package/dist/ui-rail.js +5 -4
  611. package/dist/ui-rail.js.map +1 -1
  612. package/dist/ui-rating.js +31 -29
  613. package/dist/ui-rating.js.map +1 -1
  614. package/dist/ui-reveal.js +7 -6
  615. package/dist/ui-reveal.js.map +1 -1
  616. package/dist/ui-root.js +324 -158
  617. package/dist/ui-root.js.map +1 -1
  618. package/dist/ui-search.js +210 -168
  619. package/dist/ui-search.js.map +1 -1
  620. package/dist/ui-section.js +124 -92
  621. package/dist/ui-section.js.map +1 -1
  622. package/dist/ui-segment.js +15 -12
  623. package/dist/ui-segment.js.map +1 -1
  624. package/dist/ui-select.js +83 -81
  625. package/dist/ui-select.js.map +1 -1
  626. package/dist/ui-shape.js +86 -58
  627. package/dist/ui-shape.js.map +1 -1
  628. package/dist/ui-sidebar.js +59 -56
  629. package/dist/ui-sidebar.js.map +1 -1
  630. package/dist/ui-sides.js +325 -0
  631. package/dist/ui-sides.js.map +1 -0
  632. package/dist/ui-site-nav.js +329 -0
  633. package/dist/ui-site-nav.js.map +1 -0
  634. package/dist/ui-site-tabs.js +177 -0
  635. package/dist/ui-site-tabs.js.map +1 -0
  636. package/dist/ui-slider.js +84 -81
  637. package/dist/ui-slider.js.map +1 -1
  638. package/dist/ui-space.js +7 -6
  639. package/dist/ui-space.js.map +1 -1
  640. package/dist/ui-split-panel.js +298 -0
  641. package/dist/ui-split-panel.js.map +1 -0
  642. package/dist/ui-stack.js +47 -23
  643. package/dist/ui-stack.js.map +1 -1
  644. package/dist/ui-statistic.js +15 -13
  645. package/dist/ui-statistic.js.map +1 -1
  646. package/dist/ui-step.js +31 -29
  647. package/dist/ui-step.js.map +1 -1
  648. package/dist/ui-sticky.js +7 -6
  649. package/dist/ui-sticky.js.map +1 -1
  650. package/dist/ui-tab.js +230 -138
  651. package/dist/ui-tab.js.map +1 -1
  652. package/dist/ui-table.js +724 -162
  653. package/dist/ui-table.js.map +1 -1
  654. package/dist/ui-terms.js +12 -10
  655. package/dist/ui-terms.js.map +1 -1
  656. package/dist/ui-text.js +53 -28
  657. package/dist/ui-text.js.map +1 -1
  658. package/dist/ui-theme-editor.js +1018 -1545
  659. package/dist/ui-theme-editor.js.map +1 -1
  660. package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
  661. package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
  662. package/dist/ui-toast.js +45 -44
  663. package/dist/ui-toast.js.map +1 -1
  664. package/dist/ui-toc.js +75 -74
  665. package/dist/ui-toc.js.map +1 -1
  666. package/dist/ui-toolbar.js +51 -73
  667. package/dist/ui-toolbar.js.map +1 -1
  668. package/dist/ui-transition.js +12 -11
  669. package/dist/ui-transition.js.map +1 -1
  670. package/dist/ui-tree-diagram.js +676 -197
  671. package/dist/ui-tree-diagram.js.map +1 -1
  672. package/dist/ui-tree.js +625 -0
  673. package/dist/ui-tree.js.map +1 -0
  674. package/dist/ui-video.js +13 -11
  675. package/dist/ui-video.js.map +1 -1
  676. package/dist/ui-visibility.js +26 -25
  677. package/dist/ui-visibility.js.map +1 -1
  678. package/dist/ui-zoom.js +79 -78
  679. package/dist/ui-zoom.js.map +1 -1
  680. package/dist/util/TopLayerTip.d.ts +28 -0
  681. package/dist/util/index.d.ts +5 -2
  682. package/dist/vocabulary/DefaultValues.d.ts +34 -0
  683. package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
  684. package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
  685. package/dist/vocabulary/ValueSets.d.ts +18 -0
  686. package/dist/vocabulary/Vocabulary.d.ts +1 -0
  687. package/dist/vocabulary/defaults.generated.d.ts +6 -0
  688. package/dist/vocabulary/index.d.ts +1 -0
  689. package/package.json +1 -1
  690. package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
  691. package/dist/PrefStore-CeaTtjTz.js.map +0 -1
  692. package/dist/UIButton-XkfGqgh6.js +0 -6
  693. package/dist/UIButton-XkfGqgh6.js.map +0 -1
  694. package/dist/UIInput-BUudZstW.js +0 -6
  695. package/dist/UIInput-BUudZstW.js.map +0 -1
  696. package/dist/UIKeys-DJF2TIKE.js.map +0 -1
  697. package/dist/UILabel-C1jy3Yl8.js +0 -6
  698. package/dist/UILabel-C1jy3Yl8.js.map +0 -1
  699. package/dist/UIMenu-Btd-8V3A.js +0 -42
  700. package/dist/UIMenu-Btd-8V3A.js.map +0 -1
  701. package/dist/UIRuntime-BBuehGly.js.map +0 -1
  702. package/dist/components.es-DmLzT-Bq.js.map +0 -1
  703. package/dist/crisp-CoZRRDuQ.js +0 -6
  704. package/dist/fruity-CQFYeRlh.js +0 -6
  705. package/dist/fruity-CQFYeRlh.js.map +0 -1
  706. package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
  707. package/dist/glass-CAfW11kL.js +0 -6
  708. package/dist/glass-CAfW11kL.js.map +0 -1
  709. package/dist/glass.theme-DQcBbtCW.js +0 -6
  710. package/dist/glass.theme-DQcBbtCW.js.map +0 -1
  711. package/dist/matrix-CqA59hiF.js +0 -6
  712. package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
  713. package/dist/midnight-BnoVOrhC.js +0 -6
  714. package/dist/paper-CynH8ZuT.js +0 -6
  715. package/dist/persist.types-CsZxS8TG.js +0 -9
  716. package/dist/persist.types-CsZxS8TG.js.map +0 -1
  717. package/dist/pop-D2i9V_rG.js +0 -6
  718. package/dist/spell-BFtLICm7.js +0 -6
  719. package/dist/spell.theme-B7AU7SQX.js.map +0 -1
  720. package/dist/styles.en-RLpYiO5_.js.map +0 -1
  721. package/dist/ui-theme-menu-DyKZygpV.js +0 -921
  722. package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
@@ -0,0 +1,73 @@
1
+ import { codeRoles } from './styles.en';
2
+ /****************
3
+ * ### `CodeThemeFile`
4
+ * One Spell theme, in one scheme, as a VS Code colour theme (epic `debut` P22, Owen: "make a VSC theme to match each
5
+ * theme, in both light and dark"): "Spell Matrix Dark" wears Matrix's surfaces, accent and code colours.
6
+ * - Takes the theme's colours already worked out (`CodeThemeColors`: each token as the browser paints it, `#rrggbb`
7
+ * or `#rrggbbaa`), and writes the theme's JSON:
8
+ * - `tokenColors`: the code's roles (`codeRoles`) onto TextMate scopes, Spell's grammars' and the common ones, so
9
+ * TypeScript, CSS and JSON look right too
10
+ * - `semanticTokenColors`: the language server's token types (`type`, `parameter`, `comment.heading1` ...)
11
+ * - `colors`: the editor's own (`code > editor`) and the workbench's, from the theme's surfaces, borders, text
12
+ * and primary: side bar and activity bar the page, the editor the panel, tabs, status bar, buttons, lists
13
+ * - PURE: colours in, JSON out, no file system and no browser, as `ThemeFile`.
14
+ * The Spell extension's build works the colours out in a headless browser (`vscodeThemes.ts`, in the app folder)
15
+ * and writes each file into its `themes/`.
16
+ * - Imports only its own folder's vocabulary: never the element layer.
17
+ ****************/
18
+ export declare class CodeThemeFile {
19
+ /** the theme's name: `matrix` */
20
+ readonly name: string;
21
+ /** the scheme this file is: `light` or `dark` */
22
+ readonly scheme: CodeThemeScheme;
23
+ /** the theme's colours in that scheme, by token */
24
+ readonly colors: CodeThemeColors;
25
+ constructor({ name, scheme, colors }: CodeThemeFileProps);
26
+ /** Its title in VS Code's theme picker: `Spell Matrix Dark`; the Spell theme's, `Spell Dark`. */
27
+ get label(): string;
28
+ /** Its file's name, in the extension's `themes/`: `spell-matrix-dark.json`; the Spell theme's, `spell-dark.json`. */
29
+ get fileName(): string;
30
+ /** Its entry in the extension's `contributes.themes`. */
31
+ get contribution(): CodeThemeContribution;
32
+ /** The theme, as VS Code reads a colour theme file. */
33
+ json(): Record<string, unknown>;
34
+ /** `json()` as the file's text: 2 spaces, a newline at its end. */
35
+ text(): string;
36
+ /** Role `role`'s colour: `--ui-code-<role>` (`text`: `--ui-code-color`). */
37
+ role(role: CodeThemeRole): string;
38
+ /** `tokenColors`: each role onto its TextMate scopes (`SCOPES`); headings bold, comments italic. */
39
+ private tokenColors;
40
+ /** `semanticTokenColors`: the language server's token types (`SEMANTIC`), headings bold and italic. */
41
+ private semanticTokenColors;
42
+ /**
43
+ * `colors`: the editor's and the workbench's, about 40 keys, from the theme's own:
44
+ * - the side bar, activity bar, panel and title bar the page; the editor and its tabs the panel
45
+ * - text, muted text and borders; the primary for buttons, badges, focus and the status bar
46
+ */
47
+ private workbench;
48
+ /** Token `token`'s colour; throws a `TypeError` when the caller worked out none. */
49
+ private color;
50
+ /** Every token a theme's colours must hold: what `colors` is handed. */
51
+ static readonly TOKENS: readonly string[];
52
+ }
53
+ /** What `new CodeThemeFile()` takes. */
54
+ export type CodeThemeFileProps = {
55
+ /** the theme's name: `matrix` */
56
+ name: string;
57
+ /** the scheme: `light` or `dark` */
58
+ scheme: CodeThemeScheme;
59
+ /** every one of `CodeThemeFile.TOKENS`, as painted: `#rrggbb`, `#rrggbbaa` when see-through */
60
+ colors: CodeThemeColors;
61
+ };
62
+ /** A scheme a VS Code theme is drawn in. */
63
+ export type CodeThemeScheme = "light" | "dark";
64
+ /** A theme's colours in one scheme, by token: `--ui-code-keyword` => `#a3e1c0`. */
65
+ export type CodeThemeColors = Readonly<Record<string, string>>;
66
+ /** One entry of the extension's `contributes.themes`. */
67
+ export type CodeThemeContribution = {
68
+ label: string;
69
+ uiTheme: "vs" | "vs-dark";
70
+ path: string;
71
+ };
72
+ /** A code role: the text, or one of `codeRoles`. */
73
+ export type CodeThemeRole = "text" | keyof typeof codeRoles;
@@ -44,6 +44,12 @@ export declare class StyleGenerator {
44
44
  colorsCSS(): string;
45
45
  /** Declarations of the `:root` colour block. */
46
46
  private colorDeclarations;
47
+ /**
48
+ * The code's colours (`codeRoles`, `codeEditorColors`; epic `debut` P22): each role from a colour the theme
49
+ * already has, its hue and chroma, at a lightness that reads on the code's background in each scheme.
50
+ * - CSS relative colours, so they follow whatever theme is on the page: nothing is worked out here.
51
+ */
52
+ private codeDeclarations;
47
53
  /**
48
54
  * Remap rules: point the generic `--ui-color*` tokens at one colour, so component CSS needs no per-hue rules.
49
55
  * - Roles (`-text`, `-header`, `-border`, `-background`, `-inverted`) and the foregrounds (`-on`,
@@ -415,8 +415,11 @@ export declare const fonts: {
415
415
  readonly subhead: readonly ["system-ui", "-apple-system", "Segoe UI", "Roboto", "Helvetica Neue", "Noto Sans", "Arial", "sans-serif"];
416
416
  /** a typewriter's letters, every one the same width: `<ui-text typewriter>` (epic `elemental-spell` P26) */
417
417
  readonly typewriter: readonly ["American Typewriter", "Courier Prime", "Courier New", "Courier", "monospace"];
418
- /** a rounded sans, the platform's own where it has one: Pop, and the theme editor's "Rounded" (J77) */
419
- readonly rounded: readonly ["ui-rounded", "SF Pro Rounded", "Arial Rounded MT", "Varela Round", "Quicksand", "Nunito", "system-ui", "sans-serif"];
418
+ /**
419
+ * a rounded sans, the platform's own where it has one: Pop, and the theme editor's "Rounded" (J77)
420
+ * - macOS names its Arial Rounded "Arial Rounded MT Bold": Chrome finds it only by that name (epic `language` T88)
421
+ */
422
+ readonly rounded: readonly ["ui-rounded", "SF Pro Rounded", "Arial Rounded MT Bold", "Arial Rounded MT", "Varela Round", "Quicksand", "Nunito", "system-ui", "sans-serif"];
420
423
  /** colour emoji fonts, Firefox's own last: what `<ui-emoji>` and every flag (`<ui-flag>`, menu rows) draw with */
421
424
  readonly emoji: readonly ["Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "Segoe UI Symbol"];
422
425
  };
@@ -426,6 +429,8 @@ export declare const fontWeights: {
426
429
  readonly normal: 400;
427
430
  readonly semibold: 600;
428
431
  readonly bold: 700;
432
+ /** `font="heavy"`: a poster's title (epic `language` P35) */
433
+ readonly heavy: 900;
429
434
  };
430
435
  /** Unitless line heights by role. */
431
436
  export declare const lineHeights: {
@@ -497,6 +502,21 @@ export declare const disabledOpacity = 0.45;
497
502
  * - NOT the browser's own `title` tooltips: their delay is the operating system's
498
503
  */
499
504
  export declare const hoverDelay = 800;
505
+ /**
506
+ * The cursor over a control: a button, a menu item, a tab (`--ui-control-cursor`).
507
+ * - `pointer`, as the web does; a theme that wants a Mac's arrow sets `default` (Glass, and Fruity from it).
508
+ * - One value, inherited into every shadow root, so a page or theme changes it once.
509
+ * - NOT real links, which keep the hand, as a Mac app's do.
510
+ */
511
+ export declare const controlCursor = "pointer";
512
+ /**
513
+ * A control's height: a button, an input, a dropdown, a select (`--ui-control-height`), at the `medium` size.
514
+ * - `0px`: no fixed height, so its padding says how tall it is, as the web does.
515
+ * - A theme that wants a Mac's one height per size sets it (Glass, on a page that's an app), and sets those controls'
516
+ * padding to `0px` so the height alone decides.
517
+ * - Each size follows: the height times `--ui-scale`.
518
+ */
519
+ export declare const controlHeight = "0px";
500
520
  /**
501
521
  * Page breakpoints in px, Fomantic's names and values.
502
522
  * - Also emitted as `@custom-media --ui-mobile` ... in `media.css` for page-level media queries;
@@ -560,6 +580,88 @@ export declare const shadows: {
560
580
  readonly "floating-hover": readonly [readonly [0, 2, 4, 0, 0.15], readonly [0, 2, 10, 0, 0.25]];
561
581
  readonly overlay: readonly [readonly [0, 4, 8, -2, 0.12], readonly [0, 12, 28, -4, 0.22]];
562
582
  };
583
+ /**
584
+ * The code's colours, by what they colour (epic `debut` P22): every theme's, light and dark, as `--ui-code-<role>`
585
+ * (`text` is `--ui-code-color`).
586
+ * - The editor's code (Monaco, `CodeThemes`), every `<ui-code>` block and the Spell VS Code themes read the same ones.
587
+ * - Each role's RECIPE: where a theme with no code colours of its own takes it from, `[source, lightness]`:
588
+ * - `source`: a colour the theme already has, its hue and chroma kept (`oklch(from <source> ...)`)
589
+ * - lightness: `strong` reads on the code's background in both schemes (OKLCH 0.48 light, 0.80 dark);
590
+ * `soft`, comments and punctuation, a step quieter and greyer (0.50, 0.74)
591
+ * - `StyleGenerator` writes them into `colors.css` (`ui.tokens`); a theme file's `code` group sets any of them
592
+ * by hand, and wins (`ui.theme`).
593
+ * - `colors.contrast.test.ts` holds every one to 4.5:1 on the theme's panel, comments too: a Spell file's comments are
594
+ * its prose.
595
+ * - The roles are the editor's (`ShadesOfPurple.rules()`'s), plus `attr`, `meta`, `addition` and `deletion`, which
596
+ * `<ui-code>`'s highlight.js colours read; its `number` and `title` take `constant` and `action`.
597
+ */
598
+ export declare const codeRoles: {
599
+ /** a `#` heading comment: the primary */
600
+ readonly heading: readonly ["var(--ui-primary)", "strong"];
601
+ /** a comment: muted text, a step toward the primary */
602
+ readonly comment: readonly ["color-mix(in oklab, var(--ui-text-muted) 65%, var(--ui-primary))", "soft"];
603
+ /** spell's own words (`a`, `is a`, `if its`), a language's keywords: the accent, else orange */
604
+ readonly keyword: readonly ["var(--ui-accent, var(--ui-orange))", "strong"];
605
+ /** a type's name: the warning colour (a yellow) */
606
+ readonly type: readonly ["var(--ui-warning)", "strong"];
607
+ /** a type spell itself defines (`text`, `number`): teal */
608
+ readonly library: readonly ["var(--ui-teal)", "strong"];
609
+ /** a variable's name: the text's own hue */
610
+ readonly name: readonly ["var(--ui-text-color)", "plain"];
611
+ /** a property's name: the info colour, toward the primary */
612
+ readonly member: readonly ["color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))", "strong"];
613
+ /** a parameter's name: between the warning colour and the keyword's */
614
+ readonly parameter: readonly ["color-mix(in oklab, var(--ui-warning) 55%, var(--ui-accent, var(--ui-orange)))", "strong"];
615
+ /** an action's (a method's) name: the info colour */
616
+ readonly action: readonly ["var(--ui-info)", "strong"];
617
+ /** a constant: a number, `yes`, one of a list's choices: pink */
618
+ readonly constant: readonly ["var(--ui-pink)", "strong"];
619
+ /** text in quotes: the positive colour (a green) */
620
+ readonly string: readonly ["var(--ui-positive)", "strong"];
621
+ /** a drawing's tag (`<ui-form>`): purple, toward the primary */
622
+ readonly tag: readonly ["color-mix(in oklab, var(--ui-purple) 60%, var(--ui-primary))", "strong"];
623
+ /** symbols and punctuation: muted text */
624
+ readonly punctuation: readonly ["color-mix(in oklab, var(--ui-text-muted) 80%, var(--ui-primary))", "soft"];
625
+ /** an attribute's or a property's name in other languages: as `member` */
626
+ readonly attr: readonly ["color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))", "strong"];
627
+ /** a preprocessor line, a tag's angle brackets: the info colour */
628
+ readonly meta: readonly ["var(--ui-info)", "strong"];
629
+ /** a diff's added line: the positive colour */
630
+ readonly addition: readonly ["var(--ui-positive)", "strong"];
631
+ /** a diff's removed line: the negative colour */
632
+ readonly deletion: readonly ["var(--ui-negative)", "strong"];
633
+ };
634
+ /**
635
+ * Each lightness of `codeRoles`, OKLCH, light and dark, and the most chroma it keeps;
636
+ * `plain` keeps its source as it is (the code's own text).
637
+ */
638
+ export declare const codeLightness: {
639
+ readonly strong: {
640
+ readonly light: 0.48;
641
+ readonly dark: 0.8;
642
+ readonly chroma: 0.17;
643
+ };
644
+ readonly soft: {
645
+ readonly light: 0.5;
646
+ readonly dark: 0.74;
647
+ readonly chroma: 0.08;
648
+ };
649
+ readonly plain: undefined;
650
+ };
651
+ /**
652
+ * The editor's own colours, each from the theme's colours: what `StyleGenerator` writes for `code > editor`.
653
+ * - A theme file's `code > editor` sets any of them by hand.
654
+ */
655
+ export declare const codeEditorColors: {
656
+ readonly "--ui-code-color": "var(--ui-text-color)";
657
+ readonly "--ui-code-cursor": "var(--ui-primary-text)";
658
+ readonly "--ui-code-selection": "color-mix(in oklab, var(--ui-primary) 30%, transparent)";
659
+ readonly "--ui-code-current-line": "color-mix(in oklab, var(--ui-text-color) 6%, transparent)";
660
+ readonly "--ui-code-gutter-color": "var(--ui-text-muted)";
661
+ readonly "--ui-code-gutter-active": "var(--ui-primary-text)";
662
+ readonly "--ui-code-bracket": "color-mix(in oklab, var(--ui-primary) 25%, transparent)";
663
+ readonly "--ui-code-find": "color-mix(in oklab, var(--ui-warning) 40%, transparent)";
664
+ };
563
665
  /**
564
666
  * Every value a THEME sets, in nested groups: the tree a theme file's values follow (`<name>.theme.json5`).
565
667
  * - Each LEAF names the token it sets: `surfaces > page` is `--ui-background`.
@@ -590,7 +692,7 @@ export declare const themeTree: {
590
692
  readonly subhead: "--ui-font-family-subhead";
591
693
  readonly rounded: "--ui-font-family-rounded";
592
694
  };
593
- readonly weight: Record<"bold" | "light" | "normal" | "semibold", string>;
695
+ readonly weight: Record<"bold" | "light" | "heavy" | "normal" | "semibold", string>;
594
696
  readonly "line-height": {
595
697
  readonly body: "--ui-line-height";
596
698
  readonly heading: "--ui-line-height-heading";
@@ -635,6 +737,7 @@ export declare const themeTree: {
635
737
  readonly bar: "--ui-bar-background";
636
738
  readonly code: "--ui-code-background";
637
739
  readonly highlight: "--ui-highlight";
740
+ readonly wallpaper: "--ui-wallpaper";
638
741
  };
639
742
  readonly borders: {
640
743
  readonly width: "--ui-border-width";
@@ -692,6 +795,35 @@ export declare const themeTree: {
692
795
  readonly overlay: string;
693
796
  readonly ink: "--ui-shadow-ink";
694
797
  };
798
+ readonly code: {
799
+ readonly editor: {
800
+ readonly cursor: "--ui-code-cursor";
801
+ readonly selection: "--ui-code-selection";
802
+ readonly line: "--ui-code-current-line";
803
+ readonly "line-number": "--ui-code-gutter-color";
804
+ readonly "line-number-active": "--ui-code-gutter-active";
805
+ readonly bracket: "--ui-code-bracket";
806
+ readonly find: "--ui-code-find";
807
+ };
808
+ readonly string: string;
809
+ readonly meta: string;
810
+ readonly name: string;
811
+ readonly tag: string;
812
+ readonly type: string;
813
+ readonly member: string;
814
+ readonly action: string;
815
+ readonly heading: string;
816
+ readonly parameter: string;
817
+ readonly comment: string;
818
+ readonly keyword: string;
819
+ readonly library: string;
820
+ readonly constant: string;
821
+ readonly punctuation: string;
822
+ readonly attr: string;
823
+ readonly addition: string;
824
+ readonly deletion: string;
825
+ readonly text: "--ui-code-color";
826
+ };
695
827
  readonly motion: {
696
828
  readonly duration: Record<"normal" | "fast" | "slow" | "slower" | "slowest", string>;
697
829
  readonly ease: {
@@ -705,4 +837,10 @@ export declare const themeTree: {
705
837
  };
706
838
  readonly "hover-delay": "--ui-hover-delay";
707
839
  };
840
+ readonly cursors: {
841
+ readonly control: "--ui-control-cursor";
842
+ };
843
+ readonly controls: {
844
+ readonly height: "--ui-control-height";
845
+ };
708
846
  };
@@ -143,6 +143,8 @@ export type GeneratedDeclaration = [property: string, value: string];
143
143
  * `text > ink` is `--ui-ink-on-light` and `--ui-ink-on-dark`.
144
144
  */
145
145
  export type ThemeLeaf = string | ThemeTokenPair;
146
+ /** How light a code role's recipe draws it (`codeLightness`): `strong`, `soft` (comments), or `plain` (as its source). */
147
+ export type CodeLightness = "strong" | "soft" | "plain";
146
148
  /** One token per scheme: a `themeTree` leaf the scheme picks between by name, not by `light-dark()`. */
147
149
  export type ThemeTokenPair = {
148
150
  /** token for the light scheme, e.g. `--ui-red-on-light` */
@@ -551,6 +551,7 @@ var e = {
551
551
  rounded: [
552
552
  "ui-rounded",
553
553
  "SF Pro Rounded",
554
+ "Arial Rounded MT Bold",
554
555
  "Arial Rounded MT",
555
556
  "Varela Round",
556
557
  "Quicksand",
@@ -569,7 +570,8 @@ var e = {
569
570
  light: 300,
570
571
  normal: 400,
571
572
  semibold: 600,
572
- bold: 700
573
+ bold: 700,
574
+ heavy: 900
573
575
  }, m = {
574
576
  default: 1.5,
575
577
  heading: 1.25,
@@ -603,26 +605,26 @@ var e = {
603
605
  }, b = 1, x = {
604
606
  width: 2,
605
607
  offset: 2
606
- }, S = .45, C = 800, w = {
608
+ }, S = .45, C = 800, w = "pointer", T = "0px", E = {
607
609
  mobile: 320,
608
610
  tablet: 768,
609
611
  computer: 992,
610
612
  largeMonitor: 1200,
611
613
  widescreen: 1920
612
- }, T = {
614
+ }, D = {
613
615
  dropdown: 100,
614
616
  sticky: 800,
615
617
  dimmer: 1e3,
616
618
  modal: 1010,
617
619
  popup: 1900,
618
620
  toast: 2e3
619
- }, E = {
621
+ }, O = {
620
622
  fast: 100,
621
623
  normal: 200,
622
624
  slow: 300,
623
625
  slower: 500,
624
626
  slowest: 750
625
- }, D = {
627
+ }, k = {
626
628
  default: "ease",
627
629
  in: "cubic-bezier(0.4, 0, 1, 1)",
628
630
  out: "cubic-bezier(0, 0, 0.2, 1)",
@@ -630,7 +632,7 @@ var e = {
630
632
  spring: "cubic-bezier(0.34, 1.61, 0.7, 1)",
631
633
  decelerate: "cubic-bezier(0.215, 0.61, 0.355, 1)",
632
634
  expo: "cubic-bezier(0.19, 1, 0.22, 1)"
633
- }, O = {
635
+ }, A = {
634
636
  subtle: [[
635
637
  0,
636
638
  1,
@@ -697,7 +699,46 @@ var e = {
697
699
  -4,
698
700
  .22
699
701
  ]]
700
- }, k = {
702
+ }, j = {
703
+ heading: ["var(--ui-primary)", "strong"],
704
+ comment: ["color-mix(in oklab, var(--ui-text-muted) 65%, var(--ui-primary))", "soft"],
705
+ keyword: ["var(--ui-accent, var(--ui-orange))", "strong"],
706
+ type: ["var(--ui-warning)", "strong"],
707
+ library: ["var(--ui-teal)", "strong"],
708
+ name: ["var(--ui-text-color)", "plain"],
709
+ member: ["color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))", "strong"],
710
+ parameter: ["color-mix(in oklab, var(--ui-warning) 55%, var(--ui-accent, var(--ui-orange)))", "strong"],
711
+ action: ["var(--ui-info)", "strong"],
712
+ constant: ["var(--ui-pink)", "strong"],
713
+ string: ["var(--ui-positive)", "strong"],
714
+ tag: ["color-mix(in oklab, var(--ui-purple) 60%, var(--ui-primary))", "strong"],
715
+ punctuation: ["color-mix(in oklab, var(--ui-text-muted) 80%, var(--ui-primary))", "soft"],
716
+ attr: ["color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))", "strong"],
717
+ meta: ["var(--ui-info)", "strong"],
718
+ addition: ["var(--ui-positive)", "strong"],
719
+ deletion: ["var(--ui-negative)", "strong"]
720
+ }, M = {
721
+ strong: {
722
+ light: .48,
723
+ dark: .8,
724
+ chroma: .17
725
+ },
726
+ soft: {
727
+ light: .5,
728
+ dark: .74,
729
+ chroma: .08
730
+ },
731
+ plain: void 0
732
+ }, N = {
733
+ "--ui-code-color": "var(--ui-text-color)",
734
+ "--ui-code-cursor": "var(--ui-primary-text)",
735
+ "--ui-code-selection": "color-mix(in oklab, var(--ui-primary) 30%, transparent)",
736
+ "--ui-code-current-line": "color-mix(in oklab, var(--ui-text-color) 6%, transparent)",
737
+ "--ui-code-gutter-color": "var(--ui-text-muted)",
738
+ "--ui-code-gutter-active": "var(--ui-primary-text)",
739
+ "--ui-code-bracket": "color-mix(in oklab, var(--ui-primary) 25%, transparent)",
740
+ "--ui-code-find": "color-mix(in oklab, var(--ui-warning) 40%, transparent)"
741
+ }, P = {
701
742
  typography: {
702
743
  size: "--ui-font-size",
703
744
  family: {
@@ -749,7 +790,8 @@ var e = {
749
790
  strong: "--ui-surface-strong",
750
791
  bar: "--ui-bar-background",
751
792
  code: "--ui-code-background",
752
- highlight: "--ui-highlight"
793
+ highlight: "--ui-highlight",
794
+ wallpaper: "--ui-wallpaper"
753
795
  },
754
796
  borders: {
755
797
  width: "--ui-border-width",
@@ -800,16 +842,31 @@ var e = {
800
842
  },
801
843
  shadows: {
802
844
  ink: "--ui-shadow-ink",
803
- ...tokensFor(O, "--ui-shadow-")
845
+ ...tokensFor(A, "--ui-shadow-")
846
+ },
847
+ code: {
848
+ text: "--ui-code-color",
849
+ ...tokensFor(j, "--ui-code-"),
850
+ editor: {
851
+ cursor: "--ui-code-cursor",
852
+ selection: "--ui-code-selection",
853
+ line: "--ui-code-current-line",
854
+ "line-number": "--ui-code-gutter-color",
855
+ "line-number-active": "--ui-code-gutter-active",
856
+ bracket: "--ui-code-bracket",
857
+ find: "--ui-code-find"
858
+ }
804
859
  },
805
860
  motion: {
806
- duration: tokensFor(E, "--ui-duration-"),
861
+ duration: tokensFor(O, "--ui-duration-"),
807
862
  ease: {
808
- ...tokensFor(D, "--ui-ease-"),
863
+ ...tokensFor(k, "--ui-ease-"),
809
864
  default: "--ui-ease"
810
865
  },
811
866
  "hover-delay": "--ui-hover-delay"
812
- }
867
+ },
868
+ cursors: { control: "--ui-control-cursor" },
869
+ controls: { height: "--ui-control-height" }
813
870
  };
814
871
  function tokensFor(e, t) {
815
872
  return Object.fromEntries(Object.keys(e).map((e) => [e, `${t}${e}`]));
@@ -836,6 +893,6 @@ function colorTokensFor(e) {
836
893
  };
837
894
  }
838
895
  //#endregion
839
- export { T as A, i as C, v as D, _ as E, l as O, a as S, O as T, e as _, S as a, c as b, x as c, f as d, h as f, n as g, r as h, g as i, k, d as l, t as m, b as n, E as o, C as p, w as r, D as s, u as t, p as u, m as v, o as w, y as x, s as y };
896
+ export { A, m as C, a as D, y as E, D as F, v as M, l as N, i as O, P, e as S, c as T, h as _, N as a, r as b, w as c, O as d, k as f, f as g, p as h, g as i, _ as j, o as k, T as l, d as m, b as n, M as o, x as p, E as r, j as s, u as t, S as u, C as v, s as w, n as x, t as y };
840
897
 
841
- //# sourceMappingURL=styles.en-RLpYiO5_.js.map
898
+ //# sourceMappingURL=styles.en-CUUxNwHo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.en-CUUxNwHo.js","names":["hues","hueAliases","hueStates","hueRoles","semanticColors","semanticAliases","semanticRoles","neutrals","onColors","textAlphas","borderAlphas","fontSize","fonts","fontWeights","lineHeights","headingRatio","captionRatio","sizes","spacing","radii","borderWidth","focusRing","disabledOpacity","hoverDelay","controlCursor","controlHeight","breakpoints","zIndices","durations","easings","shadows","codeRoles","codeLightness","codeEditorColors","themeTree","scale","step","prefix","name","suffix"],"sources":["../src/styles/styles.en.ts"],"sourcesContent":["/**\n * Global style vocabulary: every name and value of the global scales, as typed DATA.\n * - Single source of truth for `tokens.css`, `colors.css` and `sizes.css` -- `StyleGenerator` reads this file\n * (`yarn gen:styles`), so NEVER edit those sheets by hand. Change a value here and regenerate.\n * - Keys are the CANONICAL names that reach CSS (`.ui.red`, `--ui-space-m`). A translation\n * (`styles.vocabulary.es.ts`) maps translated names onto these keys and never repeats the values.\n * - Key `default` means \"the unsuffixed token\", e.g. `fonts.default` => `--ui-font-family`.\n * - Lengths are `em` of the local font size or px -- NEVER rem (the page can redefine it).\n * - PURE DATA, near the bottom of the folder's import graph: it imports `styles.types` as types only, so node reads\n * it (`yarn gen:styles`, the docs site's token tables) and `spell/ui/styles` re-exports it as plain values.\n */\n\nimport type {\n HueDefinition,\n HueName,\n HueStates,\n OnColor,\n SchemeAlpha,\n SchemeColor,\n SchemeRecipe,\n SemanticDefinition,\n CodeLightness,\n ShadowLayer,\n ThemeColorTokens,\n ThemeTree\n} from \"./styles.types\"\n\n////////////////\n// ## Hues\n////////////////\n\n/**\n * The palette: Fomantic's 13 hue names, re-drawn in OKLCH.\n * - Same hue angles as Fomantic's hex values (so `red` still reads as Fomantic red), with lightness evened\n * out and chroma nudged so no hue is much louder than its neighbours.\n * - `onDark` is lighter and a touch less saturated -- Fomantic's `light<Hue>` role, used by the dark scheme\n * and `inverted` variations.\n * - `black` lightens instead of darkening for its states, as Fomantic's `@blackHover` does. Its `inverted`\n * (text / outline on dark surfaces) is near-white, as Fomantic's inverted black button is: `onDark` (L 0.42)\n * read 2.2:1 as text on the inverted surface.\n * - `onLight` of red / green / blue / pink is darker than the \"even\" lightness, so WHITE text passes WCAG AA\n * (4.5:1) on the solid colour and its states -- was L 0.6 / 0.66 / 0.58 / 0.63, white 4.4 / 2.9 / 4.3 / 3.9:1.\n * Yellow / olive / orange / teal stay light and take dark text instead (`onColors`, `--ui-<hue>-on`).\n * - `onDark` values are light enough that every hue but `black` takes DARK text in the dark scheme.\n * - `colors.contrast.test.ts` checks every pair, in both schemes.\n * - Order is display order (docs, colour pickers).\n */\nexport const hues = {\n red: { onLight: [0.57, 0.21, 27], onDark: [0.7, 0.19, 25] },\n orange: { onLight: [0.7, 0.18, 48], onDark: [0.77, 0.16, 52] },\n yellow: { onLight: [0.84, 0.17, 86], onDark: [0.88, 0.16, 92] },\n olive: { onLight: [0.79, 0.18, 122], onDark: [0.86, 0.16, 118] },\n green: { onLight: [0.53, 0.17, 148], onDark: [0.75, 0.18, 148] },\n teal: { onLight: [0.68, 0.12, 188], onDark: [0.8, 0.12, 190] },\n blue: { onLight: [0.55, 0.16, 250], onDark: [0.72, 0.14, 240] },\n violet: { onLight: [0.52, 0.22, 290], onDark: [0.7, 0.16, 290] },\n purple: { onLight: [0.56, 0.23, 316], onDark: [0.72, 0.19, 316] },\n pink: { onLight: [0.58, 0.22, 355], onDark: [0.76, 0.16, 350] },\n brown: { onLight: [0.56, 0.1, 55], onDark: [0.7, 0.12, 60] },\n grey: { onLight: [0.55, 0.01, 260], onDark: [0.72, 0.01, 260] },\n black: {\n onLight: [0.24, 0.01, 260],\n onDark: [0.42, 0.01, 260],\n inverted: [0.87, 0.005, 260],\n states: {\n hover: { lightness: 0.05, chroma: 1 },\n focus: { lightness: 0.08, chroma: 1 },\n down: { lightness: 0.1, chroma: 1 },\n active: { lightness: -0.05, chroma: 1 }\n }\n }\n} as const satisfies Record<string, HueDefinition>\n\n/**\n * Brand aliases: a name that points at a palette hue.\n * - Emitted as `--ui-primary: var(--ui-blue)`, so a theme re-points `primary` with ONE token.\n * - An alias derives its states with its target's recipe (`secondary` lightens, like `black`).\n */\nexport const hueAliases = {\n primary: \"blue\",\n secondary: \"black\"\n} as const satisfies Record<string, HueName>\n\n/**\n * Default interaction-state recipe, Fomantic's `site.variables` in OKLCH terms.\n * - hover: darken 5 + saturate 10; focus: darken 8 + saturate 20; down: darken 10;\n * active: darken 5 + saturate 15.\n */\nexport const hueStates = {\n hover: { lightness: -0.05, chroma: 1.1 },\n focus: { lightness: -0.08, chroma: 1.2 },\n down: { lightness: -0.1, chroma: 1 },\n active: { lightness: -0.05, chroma: 1.15 }\n} as const satisfies HueStates\n\n/**\n * Role colours derived from each hue, per scheme.\n * - `text` caps lightness so light hues stay legible (Fomantic hand-picked `@yellowTextColor: #b58105`);\n * the dark scheme floors it instead. The cap (0.5, was 0.56) is what gets green / teal /\n * olive to 4.5:1 on white AND on the pale `background` tint.\n * - `header` ~== text darkened 5 (Fomantic's `@redHeaderColor`).\n * - `border` ~== text (Fomantic's `@redBorderColor`).\n * - `background` ~== a pale tint (Fomantic's `@redBackground: #ffe8e6`), a deep one in the dark scheme.\n */\nexport const hueRoles = {\n text: {\n light: { lightness: 0.5, mode: \"atMost\", chroma: 1 },\n dark: { lightness: 0.78, mode: \"atLeast\", chroma: 1 }\n },\n header: {\n light: { lightness: 0.45, mode: \"atMost\", chroma: 1 },\n dark: { lightness: 0.85, mode: \"atLeast\", chroma: 1 }\n },\n border: {\n light: { lightness: 0.6, mode: \"atMost\", chroma: 1 },\n dark: { lightness: 0.7, mode: \"atLeast\", chroma: 1 }\n },\n background: {\n light: { lightness: 0.96, mode: \"exact\", chroma: 0.25 },\n dark: { lightness: 0.28, mode: \"exact\", chroma: 0.35 }\n }\n} as const satisfies Record<string, SchemeRecipe>\n\n////////////////\n// ## Semantic colours\n////////////////\n\n/**\n * Emotive colours for messages, labels, form states.\n * - `positive` / `negative` borrow palette hues, as Fomantic's `@positiveColor: @green` does.\n * - `info` / `warning` keep Fomantic's own cyan and amber.\n */\nexport const semanticColors = {\n positive: { hue: \"green\" },\n negative: { hue: \"red\" },\n info: { onLight: [0.74, 0.13, 218], onDark: [0.8, 0.12, 215] },\n warning: { onLight: [0.8, 0.16, 80], onDark: [0.86, 0.15, 85] }\n} as const satisfies Record<string, SemanticDefinition>\n\n/** Fomantic's \"Positive / Negative Dupes\": `success` ~== `positive`, `error` ~== `negative`. */\nexport const semanticAliases = {\n success: \"positive\",\n error: \"negative\"\n} as const satisfies Record<string, keyof typeof semanticColors>\n\n/**\n * Role colours derived from each semantic colour, per scheme.\n * - Muted on purpose: Fomantic's `@positiveTextColor: #2c662d` is a dark, desaturated green,\n * `@positiveBackgroundColor: #fcfff5` barely tinted.\n */\nexport const semanticRoles = {\n text: {\n light: { lightness: 0.46, mode: \"exact\", chroma: 0.6 },\n dark: { lightness: 0.85, mode: \"exact\", chroma: 0.6 }\n },\n header: {\n light: { lightness: 0.4, mode: \"exact\", chroma: 0.6 },\n dark: { lightness: 0.9, mode: \"exact\", chroma: 0.5 }\n },\n border: {\n light: { lightness: 0.8, mode: \"exact\", chroma: 0.3 },\n dark: { lightness: 0.45, mode: \"exact\", chroma: 0.4 }\n },\n background: {\n light: { lightness: 0.985, mode: \"exact\", chroma: 0.08 },\n dark: { lightness: 0.25, mode: \"exact\", chroma: 0.25 }\n }\n} as const satisfies Record<string, SchemeRecipe>\n\n////////////////\n// ## Neutrals\n////////////////\n\n/**\n * Surfaces and ink, per scheme.\n * - `ink` is the base of every text, border and shadow alpha -- a theme re-inks the page with one token.\n * - `surface-muted` ~== Fomantic's `@offWhite`, `surface-strong` ~== `@darkWhite`.\n * - `highlight` ~== `::selection` background.\n */\nexport const neutrals = {\n ink: { onLight: [0.15, 0.01, 260], onDark: [0.99, 0.005, 260] },\n background: { onLight: [1, 0, 0], onDark: [0.19, 0.006, 260] },\n surface: { onLight: [1, 0, 0], onDark: [0.23, 0.006, 260] },\n \"surface-muted\": { onLight: [0.985, 0.002, 248], onDark: [0.26, 0.006, 260] },\n \"surface-strong\": { onLight: [0.967, 0.002, 248], onDark: [0.3, 0.006, 260] },\n highlight: { onLight: [0.906, 0.046, 255], onDark: [0.42, 0.09, 255] }\n} as const satisfies Record<string, SchemeColor>\n\n/**\n * Foreground candidates for text ON a solid colour, in preference order: `--ui-<name>-on`.\n * - `StyleGenerator` picks, per colour and per scheme, the FIRST candidate that reaches WCAG AA's text contrast\n * (4.5:1) on the colour AND every interaction state of it; failing that, the best one.\n * - White first: Fomantic put white on every hue, so keep it wherever it passes.\n * - `dark` is the light scheme's ink, emitted as `var(--ui-ink-on-light)` so a re-inked theme follows.\n */\nexport const onColors = {\n light: { color: [1, 0, 0], css: \"oklch(1 0 0)\" },\n dark: { color: neutrals.ink.onLight, css: \"var(--ui-ink-on-light)\" }\n} as const satisfies Record<string, OnColor>\n\n/**\n * Text alpha roles: Fomantic's \"Neutral Text\" (`@mutedTextColor: rgb(0 0 0 / 0.6)`) and their\n * `inverted` counterparts (`@invertedMutedTextColor: rgb(255 255 255 / 0.8)`), as alphas of `ink`.\n * - `default` ~== `--ui-text-color` (Fomantic's `@textColor`).\n * - `light` / `unselected` are 0.58 on light surfaces, not Fomantic's 0.4 (2.7:1 on white): the lowest alpha of\n * `ink` that still reaches WCAG AA 4.5:1 on white. `disabled` stays faint (inactive controls are exempt).\n */\nexport const textAlphas = {\n default: { onLight: 0.87, onDark: 0.9 },\n dark: { onLight: 0.85, onDark: 0.95 },\n muted: { onLight: 0.6, onDark: 0.8 },\n light: { onLight: 0.58, onDark: 0.7 },\n unselected: { onLight: 0.58, onDark: 0.5 },\n hovered: { onLight: 0.8, onDark: 1 },\n pressed: { onLight: 0.9, onDark: 1 },\n selected: { onLight: 0.95, onDark: 1 },\n disabled: { onLight: 0.3, onDark: 0.3 }\n} as const satisfies Record<string, SchemeAlpha>\n\n/**\n * Border alpha roles: Fomantic's `@borderColor: rgb(34 36 38 / 0.15)` family, as alphas of `ink`.\n * - `default` ~== `--ui-border-color`.\n */\nexport const borderAlphas = {\n default: { onLight: 0.15, onDark: 0.15 },\n strong: { onLight: 0.22, onDark: 0.25 },\n internal: { onLight: 0.1, onDark: 0.1 },\n selected: { onLight: 0.35, onDark: 0.45 },\n \"selected-strong\": { onLight: 0.5, onDark: 0.6 },\n disabled: { onLight: 0.5, onDark: 0.5 }\n} as const satisfies Record<string, SchemeAlpha>\n\n////////////////\n// ## Typography\n////////////////\n\n/**\n * Base font size in px: `--ui-font-size`, the ONE length everything scales from.\n * - px on purpose -- NEVER rem, which the host page can redefine.\n */\nexport const fontSize = 16\n\n/**\n * Font stacks.\n * - Modernized look: system UI stack (Fomantic's `@fallbackFonts`) instead of Lato;\n * `themes/classic.css` puts Lato back.\n */\nexport const fonts = {\n default: [\n \"system-ui\",\n \"-apple-system\",\n \"Segoe UI\",\n \"Roboto\",\n \"Helvetica Neue\",\n \"Noto Sans\",\n \"Liberation Sans\",\n \"Arial\",\n \"sans-serif\",\n \"Apple Color Emoji\",\n \"Segoe UI Emoji\",\n \"Segoe UI Symbol\",\n \"Noto Color Emoji\"\n ],\n heading: [\"system-ui\", \"-apple-system\", \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", \"Noto Sans\", \"Arial\", \"sans-serif\"],\n mono: [\n \"ui-monospace\",\n \"SFMono-Regular\",\n \"Menlo\",\n \"Monaco\",\n \"Consolas\",\n \"Liberation Mono\",\n \"Courier New\",\n \"monospace\"\n ],\n /**\n * a serif for reading: Palatino first, then the serifs most computers have\n * - Paper reads it (Iowan Old Style before it), and the theme editor's \"Palatino\" (epic `debut` P20, J77)\n */\n serif: [\"Palatino\", \"Palatino Linotype\", \"Book Antiqua\", \"P052\", \"URW Palladio L\", \"Georgia\", \"serif\"],\n /**\n * a plain sans, the platform's own: `<ui-text sans-serif>` (epic `elemental-spell` P26)\n * - Its own token, not the body's: a theme whose body is a serif (Paper) still has a sans to offer\n */\n sans: [\"system-ui\", \"-apple-system\", \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", \"Noto Sans\", \"Arial\", \"sans-serif\"],\n /**\n * a subhead's, under a heading: `<ui-text subhead>` (epic `elemental-spell` P26)\n * - The heading's, unless a theme sets its own (Spell's: its sans, under its serif headings)\n */\n subhead: [\"system-ui\", \"-apple-system\", \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", \"Noto Sans\", \"Arial\", \"sans-serif\"],\n /** a typewriter's letters, every one the same width: `<ui-text typewriter>` (epic `elemental-spell` P26) */\n typewriter: [\"American Typewriter\", \"Courier Prime\", \"Courier New\", \"Courier\", \"monospace\"],\n /**\n * a rounded sans, the platform's own where it has one: Pop, and the theme editor's \"Rounded\" (J77)\n * - macOS names its Arial Rounded \"Arial Rounded MT Bold\": Chrome finds it only by that name (epic `language` T88)\n */\n rounded: [\n \"ui-rounded\",\n \"SF Pro Rounded\",\n \"Arial Rounded MT Bold\",\n \"Arial Rounded MT\",\n \"Varela Round\",\n \"Quicksand\",\n \"Nunito\",\n \"system-ui\",\n \"sans-serif\"\n ],\n /** colour emoji fonts, Firefox's own last: what `<ui-emoji>` and every flag (`<ui-flag>`, menu rows) draw with */\n emoji: [\"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\", \"Twemoji Mozilla\", \"Segoe UI Symbol\"]\n} as const satisfies Record<string, readonly string[]>\n\n/** Font weights by role. */\nexport const fontWeights = {\n light: 300,\n normal: 400,\n semibold: 600,\n bold: 700,\n /** `font=\"heavy\"`: a poster's title (epic `language` P35) */\n heavy: 900\n} as const satisfies Record<string, number>\n\n/** Unitless line heights by role. */\nexport const lineHeights = {\n default: 1.5,\n heading: 1.25,\n tight: 1.2\n} as const satisfies Record<string, number>\n\n/** Heading size relative to body text, for `ui-heading` (`* --ui-scale`). */\nexport const headingRatio = 1.5\n\n/** Caption size relative to body text, for `ui-caption` (`* --ui-scale`). */\nexport const captionRatio = 0.875\n\n////////////////\n// ## Sizes and spacing\n////////////////\n\n/**\n * Component sizes as ratios of `--ui-font-size` (16px).\n * - `medium` is a REAL size meaning \"default\": `.medium` emits `--ui-scale: 1`, a no-op, so it's\n * accepted everywhere a size is.\n */\nexport const sizes = {\n mini: 0.625,\n tiny: 0.75,\n small: 0.875,\n medium: 1,\n large: 1.125,\n big: 1.25,\n huge: 1.5,\n massive: 2\n} as const satisfies Record<string, number>\n\n/**\n * Spacing ladder in `em` of the LOCAL font size, named like Web Awesome's `--wa-space-*`.\n * - `em`, so a `large` component's padding grows with it.\n */\nexport const spacing = {\n \"3xs\": 0.125,\n \"2xs\": 0.25,\n xs: 0.5,\n s: 0.75,\n m: 1,\n l: 1.5,\n xl: 2,\n \"2xl\": 3,\n \"3xl\": 4\n} as const satisfies Record<string, number>\n\n/**\n * Border radii by role.\n * - Softer than Fomantic's flat 4px (`themes/classic.css` puts that back).\n * - `pill` is a large px value rather than `50%`, which would make an oval of a wide box.\n */\nexport const radii = {\n s: \"0.25em\",\n m: \"0.375em\",\n l: \"0.75em\",\n pill: \"9999px\",\n circle: \"50%\",\n square: \"0\"\n} as const satisfies Record<string, string>\n\n/** Border width in px (Fomantic's `@borderWidth`). */\nexport const borderWidth = 1\n\n/** Focus ring geometry in px: `outline: <width> solid var(--ui-focus-color)`, `outline-offset: <offset>`. */\nexport const focusRing = {\n width: 2,\n offset: 2\n} as const satisfies Record<string, number>\n\n/** Opacity of disabled controls (Fomantic's `@disabledOpacity`). */\nexport const disabledOpacity = 0.45\n\n/**\n * How long, in ms, the pointer rests on a target before its hover popup shows (`--ui-hover-delay`): the page's\n * preference for every `<ui-popup open-on=\"hover\">` that names no `show-delay` of its own.\n * - Owen, 2026-10-25: \"have a theme preference somewhere for tooltip delay, they're all too quick\" (Fomantic's 50ms)\n * - a theme or page sets the token: `:root { --ui-hover-delay: 2s }`\n * - NOT the browser's own `title` tooltips: their delay is the operating system's\n */\nexport const hoverDelay = 800\n\n/**\n * The cursor over a control: a button, a menu item, a tab (`--ui-control-cursor`).\n * - `pointer`, as the web does; a theme that wants a Mac's arrow sets `default` (Glass, and Fruity from it).\n * - One value, inherited into every shadow root, so a page or theme changes it once.\n * - NOT real links, which keep the hand, as a Mac app's do.\n */\nexport const controlCursor = \"pointer\"\n\n/**\n * A control's height: a button, an input, a dropdown, a select (`--ui-control-height`), at the `medium` size.\n * - `0px`: no fixed height, so its padding says how tall it is, as the web does.\n * - A theme that wants a Mac's one height per size sets it (Glass, on a page that's an app), and sets those controls'\n * padding to `0px` so the height alone decides.\n * - Each size follows: the height times `--ui-scale`.\n */\nexport const controlHeight = \"0px\"\n\n////////////////\n// ## Layout\n////////////////\n\n/**\n * Page breakpoints in px, Fomantic's names and values.\n * - Also emitted as `@custom-media --ui-mobile` ... in `media.css` for page-level media queries;\n * components use container queries instead.\n */\nexport const breakpoints = {\n mobile: 320,\n tablet: 768,\n computer: 992,\n largeMonitor: 1200,\n widescreen: 1920\n} as const satisfies Record<string, number>\n\n/**\n * Stacking order, lowest first.\n * - Only matters outside the top layer: `<dialog>` and `popover` content ignores z-index.\n * - Gaps leave room for app layers in between.\n */\nexport const zIndices = {\n dropdown: 100,\n sticky: 800,\n dimmer: 1000,\n modal: 1010,\n popup: 1900,\n toast: 2000\n} as const satisfies Record<string, number>\n\n////////////////\n// ## Motion\n////////////////\n\n/**\n * Durations in ms.\n * - `fast` ~== Fomantic's `@defaultDuration` (hover / focus), `slow` ~== `@transitionDefaultDuration`.\n * - Longer animations (`fly`, `swing`) are multiples of these in `animations.css`.\n */\nexport const durations = {\n fast: 100,\n normal: 200,\n slow: 300,\n slower: 500,\n slowest: 750\n} as const satisfies Record<string, number>\n\n/**\n * Easing curves.\n * - `spring` is Fomantic's `drop` overshoot, `decelerate` its `fly`, `expo` its `glow`.\n */\nexport const easings = {\n default: \"ease\",\n in: \"cubic-bezier(0.4, 0, 1, 1)\",\n out: \"cubic-bezier(0, 0, 0.2, 1)\",\n \"in-out\": \"cubic-bezier(0.4, 0, 0.2, 1)\",\n spring: \"cubic-bezier(0.34, 1.61, 0.7, 1)\",\n decelerate: \"cubic-bezier(0.215, 0.61, 0.355, 1)\",\n expo: \"cubic-bezier(0.19, 1, 0.22, 1)\"\n} as const satisfies Record<string, string>\n\n////////////////\n// ## Shadows\n////////////////\n\n/**\n * Box-shadow roles as layers of `--ui-shadow-ink`.\n * - `subtle` / `bottom` / `floating` / `floating-hover` are Fomantic's accents; `raised` (segments, cards)\n * and `overlay` (modals, popups) are softer modern additions.\n */\nexport const shadows = {\n subtle: [[0, 1, 2, 0, 0.15]],\n bottom: [[0, 2, 1, -1, 0.15]],\n raised: [\n [0, 1, 2, 0, 0.08],\n [0, 1, 3, 0, 0.1]\n ],\n floating: [\n [0, 2, 4, 0, 0.12],\n [0, 2, 10, 0, 0.15]\n ],\n \"floating-hover\": [\n [0, 2, 4, 0, 0.15],\n [0, 2, 10, 0, 0.25]\n ],\n overlay: [\n [0, 4, 8, -2, 0.12],\n [0, 12, 28, -4, 0.22]\n ]\n} as const satisfies Record<string, readonly ShadowLayer[]>\n\n////////////////\n// ## Code\n////////////////\n\n/**\n * The code's colours, by what they colour (epic `debut` P22): every theme's, light and dark, as `--ui-code-<role>`\n * (`text` is `--ui-code-color`).\n * - The editor's code (Monaco, `CodeThemes`), every `<ui-code>` block and the Spell VS Code themes read the same ones.\n * - Each role's RECIPE: where a theme with no code colours of its own takes it from, `[source, lightness]`:\n * - `source`: a colour the theme already has, its hue and chroma kept (`oklch(from <source> ...)`)\n * - lightness: `strong` reads on the code's background in both schemes (OKLCH 0.48 light, 0.80 dark);\n * `soft`, comments and punctuation, a step quieter and greyer (0.50, 0.74)\n * - `StyleGenerator` writes them into `colors.css` (`ui.tokens`); a theme file's `code` group sets any of them\n * by hand, and wins (`ui.theme`).\n * - `colors.contrast.test.ts` holds every one to 4.5:1 on the theme's panel, comments too: a Spell file's comments are\n * its prose.\n * - The roles are the editor's (`ShadesOfPurple.rules()`'s), plus `attr`, `meta`, `addition` and `deletion`, which\n * `<ui-code>`'s highlight.js colours read; its `number` and `title` take `constant` and `action`.\n */\nexport const codeRoles = {\n /** a `#` heading comment: the primary */\n heading: [\"var(--ui-primary)\", \"strong\"],\n /** a comment: muted text, a step toward the primary */\n comment: [\"color-mix(in oklab, var(--ui-text-muted) 65%, var(--ui-primary))\", \"soft\"],\n /** spell's own words (`a`, `is a`, `if its`), a language's keywords: the accent, else orange */\n keyword: [\"var(--ui-accent, var(--ui-orange))\", \"strong\"],\n /** a type's name: the warning colour (a yellow) */\n type: [\"var(--ui-warning)\", \"strong\"],\n /** a type spell itself defines (`text`, `number`): teal */\n library: [\"var(--ui-teal)\", \"strong\"],\n /** a variable's name: the text's own hue */\n name: [\"var(--ui-text-color)\", \"plain\"],\n /** a property's name: the info colour, toward the primary */\n member: [\"color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))\", \"strong\"],\n /** a parameter's name: between the warning colour and the keyword's */\n parameter: [\"color-mix(in oklab, var(--ui-warning) 55%, var(--ui-accent, var(--ui-orange)))\", \"strong\"],\n /** an action's (a method's) name: the info colour */\n action: [\"var(--ui-info)\", \"strong\"],\n /** a constant: a number, `yes`, one of a list's choices: pink */\n constant: [\"var(--ui-pink)\", \"strong\"],\n /** text in quotes: the positive colour (a green) */\n string: [\"var(--ui-positive)\", \"strong\"],\n /** a drawing's tag (`<ui-form>`): purple, toward the primary */\n tag: [\"color-mix(in oklab, var(--ui-purple) 60%, var(--ui-primary))\", \"strong\"],\n /** symbols and punctuation: muted text */\n punctuation: [\"color-mix(in oklab, var(--ui-text-muted) 80%, var(--ui-primary))\", \"soft\"],\n /** an attribute's or a property's name in other languages: as `member` */\n attr: [\"color-mix(in oklab, var(--ui-info) 70%, var(--ui-primary))\", \"strong\"],\n /** a preprocessor line, a tag's angle brackets: the info colour */\n meta: [\"var(--ui-info)\", \"strong\"],\n /** a diff's added line: the positive colour */\n addition: [\"var(--ui-positive)\", \"strong\"],\n /** a diff's removed line: the negative colour */\n deletion: [\"var(--ui-negative)\", \"strong\"]\n} as const satisfies Record<string, readonly [source: string, lightness: CodeLightness]>\n\n/**\n * Each lightness of `codeRoles`, OKLCH, light and dark, and the most chroma it keeps;\n * `plain` keeps its source as it is (the code's own text).\n */\nexport const codeLightness = {\n strong: { light: 0.48, dark: 0.8, chroma: 0.17 },\n soft: { light: 0.5, dark: 0.74, chroma: 0.08 },\n plain: undefined\n} as const satisfies Record<CodeLightness, { light: number; dark: number; chroma: number } | undefined>\n\n/**\n * The editor's own colours, each from the theme's colours: what `StyleGenerator` writes for `code > editor`.\n * - A theme file's `code > editor` sets any of them by hand.\n */\nexport const codeEditorColors = {\n \"--ui-code-color\": \"var(--ui-text-color)\",\n \"--ui-code-cursor\": \"var(--ui-primary-text)\",\n \"--ui-code-selection\": \"color-mix(in oklab, var(--ui-primary) 30%, transparent)\",\n \"--ui-code-current-line\": \"color-mix(in oklab, var(--ui-text-color) 6%, transparent)\",\n \"--ui-code-gutter-color\": \"var(--ui-text-muted)\",\n \"--ui-code-gutter-active\": \"var(--ui-primary-text)\",\n \"--ui-code-bracket\": \"color-mix(in oklab, var(--ui-primary) 25%, transparent)\",\n \"--ui-code-find\": \"color-mix(in oklab, var(--ui-warning) 40%, transparent)\"\n} as const\n\n////////////////\n// ## The theme tree\n////////////////\n\n/**\n * Every value a THEME sets, in nested groups: the tree a theme file's values follow (`<name>.theme.json5`).\n * - Each LEAF names the token it sets: `surfaces > page` is `--ui-background`.\n * - A leaf `{ light, dark }` is a pair of tokens, one per scheme (`text > ink`, a hue's `base`):\n * a theme's pair of values is written to the two, not as one `light-dark()`.\n * - Written ONCE, and read by everything that knows a theme's names (epic `debut` P18):\n * - `ThemeFile`, which turns a theme file into its sheet, and checks every name against this tree\n * - `theme.schema.json` (`yarn gen:styles`), so VS Code completes and checks a theme file\n * - `ThemeData`, the type of a theme file, worked out from it\n * - the Full Theme Builder's folds (epic `debut` P22)\n * - Its top groups are the theming page's token tables' groups, by the same names (`FoundationTokens`):\n * - a theme sets only some of them, so `scheme`, `stacking` and `breakpoints` are left out\n * - except the table's `palette`, here `hues`: a theme file's `palette` names the palette it borrows (`\"apple\"`)\n * - The scales' own names come from the scales above, so a step added there is a leaf here too.\n * - NOT here: a family's own tokens (`--ui-menu-*`) and a theme's private ones (`--glass-blur`).\n * A theme file holds those in its two open groups, `components` and `own` (`ThemeFile`).\n */\nexport const themeTree = {\n typography: {\n size: \"--ui-font-size\",\n family: {\n body: \"--ui-font-family\",\n heading: \"--ui-font-family-heading\",\n mono: \"--ui-font-family-mono\",\n serif: \"--ui-font-family-serif\",\n sans: \"--ui-font-family-sans\",\n typewriter: \"--ui-font-family-typewriter\",\n subhead: \"--ui-font-family-subhead\",\n rounded: \"--ui-font-family-rounded\"\n },\n weight: tokensFor(fontWeights, \"--ui-font-weight-\"),\n \"line-height\": { body: \"--ui-line-height\", heading: \"--ui-line-height-heading\", tight: \"--ui-line-height-tight\" },\n ratio: { heading: \"--ui-heading-ratio\", caption: \"--ui-caption-ratio\" }\n },\n sizes: tokensFor(sizes, \"--ui-size-\"),\n spacing: tokensFor(spacing, \"--ui-space-\"),\n radii: { default: \"--ui-radius\", ...tokensFor(radii, \"--ui-radius-\") },\n text: {\n ink: { light: \"--ui-ink-on-light\", dark: \"--ui-ink-on-dark\" },\n body: \"--ui-text-color\",\n strong: \"--ui-text-dark\",\n muted: \"--ui-text-muted\",\n light: \"--ui-text-light\",\n unselected: \"--ui-text-unselected\",\n hovered: \"--ui-text-hovered\",\n pressed: \"--ui-text-pressed\",\n selected: \"--ui-text-selected\",\n disabled: \"--ui-text-disabled\"\n },\n surfaces: {\n page: \"--ui-background\",\n panel: \"--ui-surface\",\n inset: \"--ui-surface-muted\",\n strong: \"--ui-surface-strong\",\n bar: \"--ui-bar-background\",\n code: \"--ui-code-background\",\n highlight: \"--ui-highlight\",\n wallpaper: \"--ui-wallpaper\"\n },\n borders: {\n width: \"--ui-border-width\",\n color: \"--ui-border-color\",\n strong: \"--ui-border-color-strong\",\n internal: \"--ui-border-color-internal\",\n selected: \"--ui-border-color-selected\",\n \"selected-strong\": \"--ui-border-color-selected-strong\",\n disabled: \"--ui-border-color-disabled\"\n },\n brand: {\n primary: colorTokensFor(\"primary\"),\n secondary: colorTokensFor(\"secondary\"),\n accent: colorTokensFor(\"accent\"),\n link: { color: \"--ui-link\", hover: \"--ui-link-hover\" },\n focus: {\n width: \"--ui-focus-width\",\n offset: \"--ui-focus-offset\",\n color: \"--ui-focus-color\",\n border: \"--ui-focus-border\"\n }\n },\n semantic: {\n positive: colorTokensFor(\"positive\"),\n negative: colorTokensFor(\"negative\"),\n info: colorTokensFor(\"info\"),\n warning: colorTokensFor(\"warning\"),\n success: colorTokensFor(\"success\"),\n error: colorTokensFor(\"error\")\n },\n hues: {\n red: colorTokensFor(\"red\"),\n orange: colorTokensFor(\"orange\"),\n yellow: colorTokensFor(\"yellow\"),\n olive: colorTokensFor(\"olive\"),\n green: colorTokensFor(\"green\"),\n teal: colorTokensFor(\"teal\"),\n blue: colorTokensFor(\"blue\"),\n violet: colorTokensFor(\"violet\"),\n purple: colorTokensFor(\"purple\"),\n pink: colorTokensFor(\"pink\"),\n brown: colorTokensFor(\"brown\"),\n grey: colorTokensFor(\"grey\"),\n black: colorTokensFor(\"black\")\n } satisfies Record<keyof typeof hues, ThemeColorTokens>,\n shadows: { ink: \"--ui-shadow-ink\", ...tokensFor(shadows, \"--ui-shadow-\") },\n code: {\n text: \"--ui-code-color\",\n ...tokensFor(codeRoles, \"--ui-code-\"),\n editor: {\n cursor: \"--ui-code-cursor\",\n selection: \"--ui-code-selection\",\n line: \"--ui-code-current-line\",\n \"line-number\": \"--ui-code-gutter-color\",\n \"line-number-active\": \"--ui-code-gutter-active\",\n bracket: \"--ui-code-bracket\",\n find: \"--ui-code-find\"\n }\n },\n motion: {\n duration: tokensFor(durations, \"--ui-duration-\"),\n ease: { ...tokensFor(easings, \"--ui-ease-\"), default: \"--ui-ease\" },\n \"hover-delay\": \"--ui-hover-delay\"\n },\n cursors: { control: \"--ui-control-cursor\" },\n controls: { height: \"--ui-control-height\" }\n} as const satisfies ThemeTree\n\n/** Scale `scale`'s steps, each the token `<prefix><step>`: `tokensFor(sizes, \"--ui-size-\")`. */\nfunction tokensFor<Scale extends object>(scale: Scale, prefix: string): Record<keyof Scale, string> {\n return Object.fromEntries(Object.keys(scale).map((step) => [step, `${prefix}${step}`])) as Record<keyof Scale, string>\n}\n\n/**\n * A colour's leaves (a hue, a brand alias, a semantic colour): the colour itself, its base per scheme, and every\n * role `colors.css` works out from it, which a theme may set by hand instead.\n */\nfunction colorTokensFor(name: string): ThemeColorTokens {\n const token = (suffix: string) => `--ui-${name}${suffix}`\n return {\n color: token(\"\"),\n base: { light: token(\"-on-light\"), dark: token(\"-on-dark\") },\n on: token(\"-on\"),\n text: token(\"-text\"),\n header: token(\"-header\"),\n border: token(\"-border\"),\n background: token(\"-background\"),\n inverted: token(\"-inverted\"),\n \"inverted-on\": token(\"-inverted-on\"),\n hover: token(\"-hover\"),\n focus: token(\"-focus\"),\n down: token(\"-down\"),\n active: token(\"-active\")\n }\n}\n"],"mappings":";;AA+CA,IAAaA,IAAO;CAClB,KAAK;EAAE,SAAS;GAAC;GAAM;GAAM;EAAE;EAAG,QAAQ;GAAC;GAAK;GAAM;EAAE;CAAE;CAC1D,QAAQ;EAAE,SAAS;GAAC;GAAK;GAAM;EAAE;EAAG,QAAQ;GAAC;GAAM;GAAM;EAAE;CAAE;CAC7D,QAAQ;EAAE,SAAS;GAAC;GAAM;GAAM;EAAE;EAAG,QAAQ;GAAC;GAAM;GAAM;EAAE;CAAE;CAC9D,OAAO;EAAE,SAAS;GAAC;GAAM;GAAM;EAAG;EAAG,QAAQ;GAAC;GAAM;GAAM;EAAG;CAAE;CAC/D,OAAO;EAAE,SAAS;GAAC;GAAM;GAAM;EAAG;EAAG,QAAQ;GAAC;GAAM;GAAM;EAAG;CAAE;CAC/D,MAAM;EAAE,SAAS;GAAC;GAAM;GAAM;EAAG;EAAG,QAAQ;GAAC;GAAK;GAAM;EAAG;CAAE;CAC7D,MAAM;EAAE,SAAS;GAAC;GAAM;GAAM;EAAG;EAAG,QAAQ;GAAC;GAAM;GAAM;EAAG;CAAE;CAC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