spell-ui 0.8.15 → 0.8.17

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 (285) hide show
  1. package/README-components.md +4 -2
  2. package/README-runtime.md +26 -1
  3. package/README.md +2 -1
  4. package/dist/SliderScale-DunjyaDW.js +67 -0
  5. package/dist/SliderScale-DunjyaDW.js.map +1 -0
  6. package/dist/{ThemeDraft-CyX3YA_L.js → ThemeDraft-spaNC2dD.js} +2 -2
  7. package/dist/{ThemeDraft-CyX3YA_L.js.map → ThemeDraft-spaNC2dD.js.map} +1 -1
  8. package/dist/{UIInput-B3K0w4ow.js → UIInput-8s1aiaw1.js} +2 -2
  9. package/dist/UIInput-8s1aiaw1.js.map +1 -0
  10. package/dist/{UIRuntime-DCv4sy30.js → UIRuntime-BaokNnwk.js} +900 -158
  11. package/dist/UIRuntime-BaokNnwk.js.map +1 -0
  12. package/dist/_spell-element/UIComponent.d.ts +7 -0
  13. package/dist/_spell-element/elements.types.d.ts +6 -0
  14. package/dist/_spell-element/vocabulary.types.d.ts +27 -0
  15. package/dist/_util/dom.d.ts +7 -0
  16. package/dist/components/components.es.d.ts +1 -0
  17. package/dist/components/ui-dial/DialArc.d.ts +43 -0
  18. package/dist/components/ui-dial/UIDial.d.ts +263 -0
  19. package/dist/components/ui-dial/UIDial.en.d.ts +149 -0
  20. package/dist/components/ui-dial/UIDial.es.d.ts +25 -0
  21. package/dist/components/ui-dial/UIDial.fallback.d.ts +167 -0
  22. package/dist/components/ui-dial/UIDial.types.d.ts +11 -0
  23. package/dist/components/ui-dial/index.d.ts +3 -0
  24. package/dist/components/ui-graph/UIGraph.d.ts +17 -0
  25. package/dist/components/ui-graph/UIGraph.en.d.ts +17 -0
  26. package/dist/components/ui-graph/UIGraph.es.d.ts +6 -0
  27. package/dist/components/ui-input/UIInput.d.ts +46 -3
  28. package/dist/components/ui-input/UIInput.en.d.ts +6 -1
  29. package/dist/components/ui-input/UIInput.es.d.ts +1 -0
  30. package/dist/components/ui-input/UIInput.fallback.d.ts +6 -1
  31. package/dist/components/ui-json/UIJson.d.ts +5 -4
  32. package/dist/components/ui-modal/ChoiceRows.d.ts +61 -0
  33. package/dist/components/ui-modal/ModalDialogs.d.ts +15 -1
  34. package/dist/components/ui-modal/UIModal.d.ts +6 -2
  35. package/dist/components/ui-modal/UIModal.en.d.ts +6 -2
  36. package/dist/components/ui-modal/UIModal.es.d.ts +1 -0
  37. package/dist/components/ui-page-layout/UIPageLayout.d.ts +141 -8
  38. package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +51 -2
  39. package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +3 -0
  40. package/dist/components/ui-property-editor/UIProperty.d.ts +2 -2
  41. package/dist/components/ui-site-links/UISiteLinks.d.ts +124 -0
  42. package/dist/components/ui-site-links/UISiteLinks.en.d.ts +60 -0
  43. package/dist/components/ui-site-links/UISiteLinks.es.d.ts +26 -0
  44. package/dist/components/ui-site-links/index.d.ts +1 -0
  45. package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +12 -5
  46. package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +32 -12
  47. package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +3 -0
  48. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +13 -0
  49. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +9 -0
  50. package/dist/components/ui-slider/SliderScale.d.ts +26 -2
  51. package/dist/components/ui-slider/UISlider.d.ts +0 -2
  52. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  53. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  54. package/dist/components/ui-toc/TocIndex.d.ts +16 -1
  55. package/dist/components/ui-toc/UIToc.d.ts +27 -3
  56. package/dist/components/ui-toc/UIToc.en.d.ts +1 -1
  57. package/dist/components/ui-toc/UIToc.types.d.ts +5 -0
  58. package/dist/components/ui-tree/UITree.d.ts +38 -2
  59. package/dist/components/ui-tree/UITree.en.d.ts +9 -0
  60. package/dist/components/ui-tree/UITree.es.d.ts +4 -0
  61. package/dist/components/ui-uploader/UIUploader.d.ts +721 -0
  62. package/dist/components/ui-uploader/UIUploader.en.d.ts +394 -0
  63. package/dist/components/ui-uploader/UIUploader.es.d.ts +112 -0
  64. package/dist/components/ui-uploader/index.d.ts +1 -0
  65. package/dist/{components.es-DilRG1VO.js → components.es-jY2nBwuP.js} +249 -65
  66. package/dist/components.es-jY2nBwuP.js.map +1 -0
  67. package/dist/core.js +605 -571
  68. package/dist/core.js.map +1 -1
  69. package/dist/docs-components/docs-components.types.d.ts +2 -0
  70. package/dist/index.d.ts +3 -0
  71. package/dist/index.js +101 -97
  72. package/dist/jsx.d.ts +1138 -21
  73. package/dist/runtime/DataTooltips.d.ts +10 -0
  74. package/dist/runtime/Modals.d.ts +7 -2
  75. package/dist/runtime/Styles.d.ts +7 -1
  76. package/dist/runtime/UIRuntime.d.ts +6 -0
  77. package/dist/runtime/runtime.types.d.ts +26 -1
  78. package/dist/sound-library/back.ogg +0 -0
  79. package/dist/sound-library/beep.ogg +0 -0
  80. package/dist/sound-library/bell.ogg +0 -0
  81. package/dist/sound-library/big-punch.ogg +0 -0
  82. package/dist/sound-library/bong.ogg +0 -0
  83. package/dist/sound-library/book-close.ogg +0 -0
  84. package/dist/sound-library/book-down.ogg +0 -0
  85. package/dist/sound-library/book-open.ogg +0 -0
  86. package/dist/sound-library/card-fan-2.ogg +0 -0
  87. package/dist/sound-library/card-fan.ogg +0 -0
  88. package/dist/sound-library/card-place-2.ogg +0 -0
  89. package/dist/sound-library/card-place-3.ogg +0 -0
  90. package/dist/sound-library/card-place.ogg +0 -0
  91. package/dist/sound-library/card-shove-2.ogg +0 -0
  92. package/dist/sound-library/card-shove.ogg +0 -0
  93. package/dist/sound-library/card-slide-2.ogg +0 -0
  94. package/dist/sound-library/card-slide-3.ogg +0 -0
  95. package/dist/sound-library/card-slide-4.ogg +0 -0
  96. package/dist/sound-library/card-slide.ogg +0 -0
  97. package/dist/sound-library/chip-down-2.ogg +0 -0
  98. package/dist/sound-library/chip-down.ogg +0 -0
  99. package/dist/sound-library/chips-collide.ogg +0 -0
  100. package/dist/sound-library/chips-handle.ogg +0 -0
  101. package/dist/sound-library/chips-stack-2.ogg +0 -0
  102. package/dist/sound-library/chips-stack.ogg +0 -0
  103. package/dist/sound-library/chop.ogg +0 -0
  104. package/dist/sound-library/click-2.ogg +0 -0
  105. package/dist/sound-library/click-3.ogg +0 -0
  106. package/dist/sound-library/click.ogg +0 -0
  107. package/dist/sound-library/close.ogg +0 -0
  108. package/dist/sound-library/cloth.ogg +0 -0
  109. package/dist/sound-library/coins-2.ogg +0 -0
  110. package/dist/sound-library/coins.ogg +0 -0
  111. package/dist/sound-library/confirm-2.ogg +0 -0
  112. package/dist/sound-library/confirm.ogg +0 -0
  113. package/dist/sound-library/creak.ogg +0 -0
  114. package/dist/sound-library/deck-open.ogg +0 -0
  115. package/dist/sound-library/deck-take-out.ogg +0 -0
  116. package/dist/sound-library/dice-grab.ogg +0 -0
  117. package/dist/sound-library/dice-shake-2.ogg +0 -0
  118. package/dist/sound-library/dice-shake.ogg +0 -0
  119. package/dist/sound-library/dice-throw-2.ogg +0 -0
  120. package/dist/sound-library/dice-throw.ogg +0 -0
  121. package/dist/sound-library/die-throw-2.ogg +0 -0
  122. package/dist/sound-library/die-throw.ogg +0 -0
  123. package/dist/sound-library/door-close.ogg +0 -0
  124. package/dist/sound-library/door-open.ogg +0 -0
  125. package/dist/sound-library/drop.ogg +0 -0
  126. package/dist/sound-library/error-2.ogg +0 -0
  127. package/dist/sound-library/error.ogg +0 -0
  128. package/dist/sound-library/fail.ogg +0 -0
  129. package/dist/sound-library/fall.ogg +0 -0
  130. package/dist/sound-library/glass-break.ogg +0 -0
  131. package/dist/sound-library/glass-clink.ogg +0 -0
  132. package/dist/sound-library/glass-tap.ogg +0 -0
  133. package/dist/sound-library/glass.ogg +0 -0
  134. package/dist/sound-library/glitch.ogg +0 -0
  135. package/dist/sound-library/grow.ogg +0 -0
  136. package/dist/sound-library/high-up.ogg +0 -0
  137. package/dist/sound-library/hover-2.ogg +0 -0
  138. package/dist/sound-library/hover.ogg +0 -0
  139. package/dist/sound-library/jingle-2.ogg +0 -0
  140. package/dist/sound-library/jingle-3.ogg +0 -0
  141. package/dist/sound-library/jingle-4.ogg +0 -0
  142. package/dist/sound-library/jingle.ogg +0 -0
  143. package/dist/sound-library/jump.ogg +0 -0
  144. package/dist/sound-library/knife-draw.ogg +0 -0
  145. package/dist/sound-library/knife-slice.ogg +0 -0
  146. package/dist/sound-library/laser-2.ogg +0 -0
  147. package/dist/sound-library/laser.ogg +0 -0
  148. package/dist/sound-library/latch.ogg +0 -0
  149. package/dist/sound-library/level-up.ogg +0 -0
  150. package/dist/sound-library/lose-2.ogg +0 -0
  151. package/dist/sound-library/lose-3.ogg +0 -0
  152. package/dist/sound-library/lose-4.ogg +0 -0
  153. package/dist/sound-library/lose.ogg +0 -0
  154. package/dist/sound-library/low-down.ogg +0 -0
  155. package/dist/sound-library/metal-clang.ogg +0 -0
  156. package/dist/sound-library/metal-click.ogg +0 -0
  157. package/dist/sound-library/metal-crash.ogg +0 -0
  158. package/dist/sound-library/metal-tap.ogg +0 -0
  159. package/dist/sound-library/mouse-click.ogg +0 -0
  160. package/dist/sound-library/mouse-release.ogg +0 -0
  161. package/dist/sound-library/open.ogg +0 -0
  162. package/dist/sound-library/orchestra-hit-2.ogg +0 -0
  163. package/dist/sound-library/orchestra-hit.ogg +0 -0
  164. package/dist/sound-library/page-turn-2.ogg +0 -0
  165. package/dist/sound-library/page-turn.ogg +0 -0
  166. package/dist/sound-library/pickaxe.ogg +0 -0
  167. package/dist/sound-library/piece-down-2.ogg +0 -0
  168. package/dist/sound-library/piece-down-3.ogg +0 -0
  169. package/dist/sound-library/piece-down.ogg +0 -0
  170. package/dist/sound-library/piece-take-2.ogg +0 -0
  171. package/dist/sound-library/piece-take.ogg +0 -0
  172. package/dist/sound-library/piece-tap-2.ogg +0 -0
  173. package/dist/sound-library/piece-tap.ogg +0 -0
  174. package/dist/sound-library/plank.ogg +0 -0
  175. package/dist/sound-library/plate.ogg +0 -0
  176. package/dist/sound-library/pluck.ogg +0 -0
  177. package/dist/sound-library/pot.ogg +0 -0
  178. package/dist/sound-library/power-up-2.ogg +0 -0
  179. package/dist/sound-library/power-up-3.ogg +0 -0
  180. package/dist/sound-library/power-up.ogg +0 -0
  181. package/dist/sound-library/punch.ogg +0 -0
  182. package/dist/sound-library/question.ogg +0 -0
  183. package/dist/sound-library/rise.ogg +0 -0
  184. package/dist/sound-library/scratch.ogg +0 -0
  185. package/dist/sound-library/scroll.ogg +0 -0
  186. package/dist/sound-library/select-2.ogg +0 -0
  187. package/dist/sound-library/select.ogg +0 -0
  188. package/dist/sound-library/shrink.ogg +0 -0
  189. package/dist/sound-library/shuffle.ogg +0 -0
  190. package/dist/sound-library/soft-thud-2.ogg +0 -0
  191. package/dist/sound-library/soft-thud.ogg +0 -0
  192. package/dist/sound-library/space-junk.ogg +0 -0
  193. package/dist/sound-library/step-2.ogg +0 -0
  194. package/dist/sound-library/step-on-carpet.ogg +0 -0
  195. package/dist/sound-library/step-on-grass.ogg +0 -0
  196. package/dist/sound-library/step-on-snow.ogg +0 -0
  197. package/dist/sound-library/step-on-stone.ogg +0 -0
  198. package/dist/sound-library/step-on-wood.ogg +0 -0
  199. package/dist/sound-library/step.ogg +0 -0
  200. package/dist/sound-library/switch-2.ogg +0 -0
  201. package/dist/sound-library/switch.ogg +0 -0
  202. package/dist/sound-library/tap-2.ogg +0 -0
  203. package/dist/sound-library/tap.ogg +0 -0
  204. package/dist/sound-library/three-tones.ogg +0 -0
  205. package/dist/sound-library/tick-2.ogg +0 -0
  206. package/dist/sound-library/tick.ogg +0 -0
  207. package/dist/sound-library/tin.ogg +0 -0
  208. package/dist/sound-library/toggle-2.ogg +0 -0
  209. package/dist/sound-library/toggle.ogg +0 -0
  210. package/dist/sound-library/two-tones.ogg +0 -0
  211. package/dist/sound-library/win-2.ogg +0 -0
  212. package/dist/sound-library/win-3.ogg +0 -0
  213. package/dist/sound-library/win-4.ogg +0 -0
  214. package/dist/sound-library/win.ogg +0 -0
  215. package/dist/sound-library/wood-thud.ogg +0 -0
  216. package/dist/sound-library/zap.ogg +0 -0
  217. package/dist/sounds/BuiltInSounds.d.ts +41 -0
  218. package/dist/sounds/index.d.ts +9 -0
  219. package/dist/sounds/sounds.types.d.ts +22 -0
  220. package/dist/ui-calendar.js +1 -1
  221. package/dist/ui-dial.editor-CjjdKi5L.js +5 -0
  222. package/dist/ui-dial.editor-CjjdKi5L.js.map +1 -0
  223. package/dist/ui-dial.js +467 -0
  224. package/dist/ui-dial.js.map +1 -0
  225. package/dist/ui-graph.js +22 -0
  226. package/dist/ui-graph.js.map +1 -1
  227. package/dist/{ui-input.editor-budoNoB0.js → ui-input.editor-D11iRgXR.js} +2 -2
  228. package/dist/ui-input.editor-D11iRgXR.js.map +1 -0
  229. package/dist/ui-input.js +84 -54
  230. package/dist/ui-input.js.map +1 -1
  231. package/dist/ui-json.js +8 -8
  232. package/dist/ui-json.js.map +1 -1
  233. package/dist/ui-modal.js +183 -97
  234. package/dist/ui-modal.js.map +1 -1
  235. package/dist/ui-page-layout.editor-IgDEveUY.js +5 -0
  236. package/dist/ui-page-layout.editor-IgDEveUY.js.map +1 -0
  237. package/dist/ui-page-layout.js +217 -72
  238. package/dist/ui-page-layout.js.map +1 -1
  239. package/dist/ui-popup.js +34 -34
  240. package/dist/ui-popup.js.map +1 -1
  241. package/dist/ui-property-editor.js +7 -4
  242. package/dist/ui-property-editor.js.map +1 -1
  243. package/dist/ui-root.js +71 -5
  244. package/dist/ui-root.js.map +1 -1
  245. package/dist/ui-search.js +1 -1
  246. package/dist/ui-section.js +97 -96
  247. package/dist/ui-section.js.map +1 -1
  248. package/dist/ui-site-links.editor-BME3sw5H.js +5 -0
  249. package/dist/ui-site-links.editor-BME3sw5H.js.map +1 -0
  250. package/dist/ui-site-links.js +150 -0
  251. package/dist/ui-site-links.js.map +1 -0
  252. package/dist/ui-site-nav-button.editor-ChY4xe1U.js +5 -0
  253. package/dist/ui-site-nav-button.editor-ChY4xe1U.js.map +1 -0
  254. package/dist/ui-site-nav-button.js +57 -18
  255. package/dist/ui-site-nav-button.js.map +1 -1
  256. package/dist/{ui-site-tabs.editor-DDvQfH6S.js → ui-site-tabs.editor-CdMIw4jw.js} +2 -2
  257. package/dist/ui-site-tabs.editor-CdMIw4jw.js.map +1 -0
  258. package/dist/ui-site-tabs.js +30 -14
  259. package/dist/ui-site-tabs.js.map +1 -1
  260. package/dist/ui-slider.js +75 -124
  261. package/dist/ui-slider.js.map +1 -1
  262. package/dist/ui-statistic.js +1 -0
  263. package/dist/ui-statistic.js.map +1 -1
  264. package/dist/ui-theme-editor.js +2 -2
  265. package/dist/{ui-theme-menu-BZYUMrHe.js → ui-theme-menu-BEBu6dyq.js} +3 -3
  266. package/dist/{ui-theme-menu-BZYUMrHe.js.map → ui-theme-menu-BEBu6dyq.js.map} +1 -1
  267. package/dist/ui-toc.js +159 -122
  268. package/dist/ui-toc.js.map +1 -1
  269. package/dist/ui-tree.js +142 -87
  270. package/dist/ui-tree.js.map +1 -1
  271. package/dist/ui-uploader.editor-DrE80KjL.js +5 -0
  272. package/dist/ui-uploader.editor-DrE80KjL.js.map +1 -0
  273. package/dist/ui-uploader.js +1442 -0
  274. package/dist/ui-uploader.js.map +1 -0
  275. package/dist/vocabulary/hooks.generated.d.ts +7 -0
  276. package/package.json +1 -1
  277. package/dist/UIInput-B3K0w4ow.js.map +0 -1
  278. package/dist/UIRuntime-DCv4sy30.js.map +0 -1
  279. package/dist/components.es-DilRG1VO.js.map +0 -1
  280. package/dist/ui-input.editor-budoNoB0.js.map +0 -1
  281. package/dist/ui-page-layout.editor-xtQW0FZk.js +0 -5
  282. package/dist/ui-page-layout.editor-xtQW0FZk.js.map +0 -1
  283. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +0 -5
  284. package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +0 -1
  285. package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +0 -1
package/dist/jsx.d.ts CHANGED
@@ -7970,6 +7970,324 @@ export interface UIDiagramNodeAttributes {
7970
7970
  /** `<ui-diagram-node>` in JSX: its own attributes, and HTML's global ones. */
7971
7971
  export interface UIDiagramNodeJSXAttributes extends Omit<UIGlobalJSXAttributes<HTMLElement>, keyof UIDiagramNodeAttributes>, UIDiagramNodeAttributes {
7972
7972
  }
7973
+ /** `<ui-dial>`'s events, from its vocabulary: each one's `CustomEvent`, by name. */
7974
+ export interface UIDialEventMap {
7975
+ /**
7976
+ * `ui-moved`: The handle moved (each drag step, key or wheel turn). A handler that re-sets `value` wins.
7977
+ * - `event.detail`: `{ value: number, originalEvent?: Event }`
7978
+ */
7979
+ "ui-moved": CustomEvent<{
7980
+ value: number;
7981
+ originalEvent?: Event;
7982
+ }>;
7983
+ /**
7984
+ * `ui-changed`: A change was committed: on a key or wheel turn, or when a drag ends somewhere new.
7985
+ * - `event.detail`: `{ value: number, originalEvent?: Event }`
7986
+ */
7987
+ "ui-changed": CustomEvent<{
7988
+ value: number;
7989
+ originalEvent?: Event;
7990
+ }>;
7991
+ }
7992
+ /** `<ui-dial>`'s own attributes, from its vocabulary. */
7993
+ export interface UIDialAttributes {
7994
+ /**
7995
+ * The words under the dial; also its name for screen readers, unless `aria-label` or a `<label for>` names it.
7996
+ * - takes: text
7997
+ */
7998
+ label?: string;
7999
+ /**
8000
+ * `label`, as the DOM element's property.
8001
+ * @deprecated write `label` -- `prop:` stays only for compiled spell
8002
+ */
8003
+ "prop:label"?: string;
8004
+ /**
8005
+ * Size of the whole dial, `mini` ... `massive`.
8006
+ * - takes: `mini` · `tiny` · `small` · `medium` · `large` · `big` · `huge` · `massive`
8007
+ */
8008
+ size?: "mini" | "tiny" | "small" | "medium" | "large" | "big" | "huge" | "massive";
8009
+ /**
8010
+ * `size`, as the DOM element's property.
8011
+ * @deprecated write `size` -- `prop:` stays only for compiled spell
8012
+ */
8013
+ "prop:size"?: "mini" | "tiny" | "small" | "medium" | "large" | "big" | "huge" | "massive";
8014
+ /**
8015
+ * Hue of the arc and the handle; uncoloured, the theme's primary colour.
8016
+ * - takes: `primary` · `secondary` · `red` · `orange` · `yellow` · `olive` · `green` · `teal` · `blue` · `violet` · `purple` · `pink` · `brown` · `grey` · `black` · `positive` · `negative`
8017
+ */
8018
+ color?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
8019
+ /**
8020
+ * `color`, as the DOM element's property.
8021
+ * @deprecated write `color` -- `prop:` stays only for compiled spell
8022
+ */
8023
+ "prop:color"?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
8024
+ /**
8025
+ * Dots round the inside of the ring: `ticks` alone draws 9 (8 gaps), `ticks="10"` that many gaps. Only a look: values still snap to `step`.
8026
+ * - takes: text
8027
+ */
8028
+ ticks?: string;
8029
+ /**
8030
+ * `ticks`, as the DOM element's property.
8031
+ * @deprecated write `ticks` -- `prop:` stays only for compiled spell
8032
+ */
8033
+ "prop:ticks"?: string;
8034
+ /**
8035
+ * Written right after the number: `unit="%"` shows `98%`, `unit=" px"` shows `16 px`.
8036
+ * - takes: text
8037
+ */
8038
+ unit?: string;
8039
+ /**
8040
+ * `unit`, as the DOM element's property.
8041
+ * @deprecated write `unit` -- `prop:` stays only for compiled spell
8042
+ */
8043
+ "prop:unit"?: string;
8044
+ /**
8045
+ * Can't be used: dimmed, not focusable, left out of the form.
8046
+ * - takes: flag (present / absent)
8047
+ */
8048
+ disabled?: boolean | "";
8049
+ /**
8050
+ * `disabled`, as the DOM element's property.
8051
+ * @deprecated write `disabled` -- `prop:` stays only for compiled spell
8052
+ */
8053
+ "prop:disabled"?: boolean | "";
8054
+ /**
8055
+ * Shows its value but can't be changed; still focusable and submitted.
8056
+ * - takes: flag (present / absent)
8057
+ */
8058
+ readonly?: boolean | "";
8059
+ /**
8060
+ * `readonly`, as the DOM element's property.
8061
+ * @deprecated write `readonly` -- `prop:` stays only for compiled spell
8062
+ */
8063
+ "prop:readOnly"?: boolean | "";
8064
+ /**
8065
+ * Lowest value, at the ring's start.
8066
+ * - takes: number
8067
+ * - default: `0`
8068
+ */
8069
+ min?: number | `${number}`;
8070
+ /**
8071
+ * `min`, as the DOM element's property.
8072
+ * @deprecated write `min` -- `prop:` stays only for compiled spell
8073
+ */
8074
+ "prop:min"?: number | `${number}`;
8075
+ /**
8076
+ * Highest value, at the ring's end.
8077
+ * - takes: number
8078
+ * - default: `100`
8079
+ */
8080
+ max?: number | `${number}`;
8081
+ /**
8082
+ * `max`, as the DOM element's property.
8083
+ * @deprecated write `max` -- `prop:` stays only for compiled spell
8084
+ */
8085
+ "prop:max"?: number | `${number}`;
8086
+ /**
8087
+ * Values snap to multiples of it from `min`; `0`: any.
8088
+ * - takes: number
8089
+ * - default: `1`
8090
+ */
8091
+ step?: number | `${number}`;
8092
+ /**
8093
+ * `step`, as the DOM element's property.
8094
+ * @deprecated write `step` -- `prop:` stays only for compiled spell
8095
+ */
8096
+ "prop:step"?: number | `${number}`;
8097
+ /**
8098
+ * The value, default `min`. Attribute: the starting (and reset) value; property: the live one.
8099
+ * - takes: number
8100
+ */
8101
+ value?: number | `${number}`;
8102
+ /**
8103
+ * `value`, as the DOM element's property.
8104
+ * @deprecated write `value` -- `prop:` stays only for compiled spell
8105
+ */
8106
+ "prop:value"?: number | `${number}`;
8107
+ /**
8108
+ * Form field name.
8109
+ * - takes: text
8110
+ */
8111
+ name?: string;
8112
+ /**
8113
+ * `name`, as the DOM element's property.
8114
+ * @deprecated write `name` -- `prop:` stays only for compiled spell
8115
+ */
8116
+ "prop:name"?: string;
8117
+ /**
8118
+ * Keep the value in the page's address, as this query parameter (`parameter="s"` => `?s=van+gogh`): each change it settles on is a new history entry, so Back and Forward step through them, and a page opened on the address starts with that value. Other parameters are kept; an empty value takes its own out.
8119
+ * - takes: text
8120
+ */
8121
+ parameter?: string;
8122
+ /**
8123
+ * `parameter`, as the DOM element's property.
8124
+ * @deprecated write `parameter` -- `prop:` stays only for compiled spell
8125
+ */
8126
+ "prop:parameter"?: string;
8127
+ /**
8128
+ * Form validation: a value must be chosen, by the page (`value`) or by turning the dial. Unset, the handle rests at `min` but counts as no value (`valueMissing`).
8129
+ * - takes: flag (present / absent)
8130
+ */
8131
+ required?: boolean | "";
8132
+ /**
8133
+ * `required`, as the DOM element's property.
8134
+ * @deprecated write `required` -- `prop:` stays only for compiled spell
8135
+ */
8136
+ "prop:required"?: boolean | "";
8137
+ /**
8138
+ * Busy: dimmed under a loader, and inert; `aria-busy`. Shared by every element; a family may draw its own loader (`elementSetup.loading`).
8139
+ * - takes: flag (present / absent)
8140
+ */
8141
+ loading?: boolean | "";
8142
+ /**
8143
+ * `loading`, as the DOM element's property.
8144
+ * @deprecated write `loading` -- `prop:` stays only for compiled spell
8145
+ */
8146
+ "prop:loading"?: boolean | "";
8147
+ /**
8148
+ * Shown: the platform's `hidden`, turned round (`el.visible === !el.hidden`). Writing either one shows or hides the element with its `animation`; `visible="false"` writes `hidden`. Neither written: the family decides (a modal starts hidden, a message shown). Both written in markup and disagreeing: `hidden` wins.
8149
+ * - takes: flag (present / absent)
8150
+ */
8151
+ visible?: boolean | "";
8152
+ /**
8153
+ * `visible`, as the DOM element's property.
8154
+ * @deprecated write `visible` -- `prop:` stays only for compiled spell
8155
+ */
8156
+ "prop:visible"?: boolean | "";
8157
+ /**
8158
+ * How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on.
8159
+ * - takes: `fade` · `fade up` · `fade down` · `fade left` · `fade right` · `scale` · `zoom` · `drop` · `browse` · `browse right` · `fly` · `fly up` · `fly down` · `fly left` · `fly right` · `slide` · `slide up` · `slide down` · `slide left` · `slide right` · `swing` · `swing up` · `swing down` · `swing left` · `swing right` · `horizontal flip` · `vertical flip` · `flash` · `shake` · `bounce` · `tada` · `pulse` · `jiggle` · `glow` · `coin` · `none`
8160
+ */
8161
+ animation?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
8162
+ /**
8163
+ * `animation`, as the DOM element's property.
8164
+ * @deprecated write `animation` -- `prop:` stays only for compiled spell
8165
+ */
8166
+ "prop:animation"?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
8167
+ /**
8168
+ * Where a click on it goes, as a link's `href`: `<ui-text link>` is a link in running text. A family that draws its own link (text, button, image ...) draws an `<a>`; on any other element a click goes there, except on a control of its own inside. Its old name was `href`.
8169
+ * - takes: text
8170
+ */
8171
+ link?: string;
8172
+ /**
8173
+ * `link`, as the DOM element's property.
8174
+ * @deprecated write `link` -- `prop:` stays only for compiled spell
8175
+ */
8176
+ "prop:link"?: string;
8177
+ /**
8178
+ * Where `link` opens: `_blank` for a new tab, or a window's name; as a link's `target`.
8179
+ * - takes: text
8180
+ */
8181
+ target?: string;
8182
+ /**
8183
+ * `target`, as the DOM element's property.
8184
+ * @deprecated write `target` -- `prop:` stays only for compiled spell
8185
+ */
8186
+ "prop:target"?: string;
8187
+ /**
8188
+ * How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font="bold italic"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font="bold serif 10/20"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone.
8189
+ * - takes: space-separated: `bold` · `heavy` · `italic` · `underline` · `strikethrough` · `code` · `highlight` · `subscript` · `superscript` · `all-caps` · `title-caps` · `headline` · `subhead` · `serif` · `sans-serif` · `typewriter`
8190
+ */
8191
+ font?: string;
8192
+ /**
8193
+ * `font`, as the DOM element's property.
8194
+ * @deprecated write `font` -- `prop:` stays only for compiled spell
8195
+ */
8196
+ "prop:font"?: string;
8197
+ /**
8198
+ * A hard shadow behind its letters, down and to the right, in a hue: `shadow="yellow"`, a sticker's look for a logo or a title. Its size follows the letters (0.06em).
8199
+ * - takes: `primary` · `secondary` · `red` · `orange` · `yellow` · `olive` · `green` · `teal` · `blue` · `violet` · `purple` · `pink` · `brown` · `grey` · `black` · `positive` · `negative`
8200
+ */
8201
+ shadow?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
8202
+ /**
8203
+ * `shadow`, as the DOM element's property.
8204
+ * @deprecated write `shadow` -- `prop:` stays only for compiled spell
8205
+ */
8206
+ "prop:shadow"?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
8207
+ /**
8208
+ * Its box's own width where it sits, any CSS length: `width="10em"`, `"50%"`. In a row it keeps that width, never squeezed. A family with a width of its own keeps it: a container's centres its box, an image's is its size in pixels, a column's counts columns.
8209
+ * - takes: text
8210
+ */
8211
+ width?: string;
8212
+ /**
8213
+ * `width`, as the DOM element's property.
8214
+ * @deprecated write `width` -- `prop:` stays only for compiled spell
8215
+ */
8216
+ "prop:width"?: string;
8217
+ /**
8218
+ * The narrowest its box gets, any CSS length: `min-width="16em"`. A `fluid` element in a row grows from there into the room left; the row wraps it onto a line of its own before it gets any narrower.
8219
+ * - takes: text
8220
+ */
8221
+ "min-width"?: string;
8222
+ /**
8223
+ * `min-width`, as the DOM element's property.
8224
+ * @deprecated write `min-width` -- `prop:` stays only for compiled spell
8225
+ */
8226
+ "prop:minWidth"?: string;
8227
+ /**
8228
+ * The widest its box gets, any CSS length: `max-width="36em"`, so a bar or a field stops growing on a wide screen. A family with a `max-width` of its own (`<ui-zoom>`) keeps it.
8229
+ * - takes: text
8230
+ */
8231
+ "max-width"?: string;
8232
+ /**
8233
+ * `max-width`, as the DOM element's property.
8234
+ * @deprecated write `max-width` -- `prop:` stays only for compiled spell
8235
+ */
8236
+ "prop:maxWidth"?: string;
8237
+ /**
8238
+ * Its tooltip: the browser's own, written as the element's `title`.
8239
+ * - takes: text
8240
+ */
8241
+ tooltip?: string;
8242
+ /**
8243
+ * `tooltip`, as the DOM element's property.
8244
+ * @deprecated write `tooltip` -- `prop:` stays only for compiled spell
8245
+ */
8246
+ "prop:tooltip"?: string;
8247
+ /**
8248
+ * People can drag it to a new place inside its container: bare or `both`, `horizontally` or `vertically` for one way only. A press on a control of its own inside (a button, a field) stays that control's. With an `id`, where each person put it is remembered.
8249
+ * - takes: text
8250
+ */
8251
+ movable?: string;
8252
+ /**
8253
+ * `movable`, as the DOM element's property.
8254
+ * @deprecated write `movable` -- `prop:` stays only for compiled spell
8255
+ */
8256
+ "prop:movable"?: string;
8257
+ /**
8258
+ * People can drag its corner to resize it: bare or `both`, `horizontally` or `vertically`. Limit it with plain CSS (`max-width: 50%`, `min-height: 4em`). With an `id`, the size each person gave it is remembered. A family with a `resizable` of its own keeps it (`<ui-segment resizable>` drags its height).
8259
+ * - takes: text
8260
+ */
8261
+ resizable?: string;
8262
+ /**
8263
+ * `resizable`, as the DOM element's property.
8264
+ * @deprecated write `resizable` -- `prop:` stays only for compiled spell
8265
+ */
8266
+ "prop:resizable"?: string;
8267
+ /**
8268
+ * Shown only on these devices, a comma list: `on-platform="desktop, tablet"` hides it on phones. `phone`: a touch screen, small on at least one side (under 600px), either way up; `tablet`: a touch screen, big both ways; `desktop`: a mouse or a trackpad. Follows a resize or a turn of the device at once. For what a device can't do (a phone has no screen capture), or has no room for.
8269
+ * - takes: text
8270
+ */
8271
+ "on-platform"?: string;
8272
+ /**
8273
+ * `on-platform`, as the DOM element's property.
8274
+ * @deprecated write `on-platform` -- `prop:` stays only for compiled spell
8275
+ */
8276
+ "prop:onPlatform"?: string;
8277
+ /**
8278
+ * `ui-moved`: The handle moved (each drag step, key or wheel turn). A handler that re-sets `value` wins.
8279
+ * - `event.detail`: `{ value: number, originalEvent?: Event }`
8280
+ */
8281
+ "on-ui-moved"?: (event: UIDialEventMap["ui-moved"]) => void;
8282
+ /**
8283
+ * `ui-changed`: A change was committed: on a key or wheel turn, or when a drag ends somewhere new.
8284
+ * - `event.detail`: `{ value: number, originalEvent?: Event }`
8285
+ */
8286
+ "on-ui-changed"?: (event: UIDialEventMap["ui-changed"]) => void;
8287
+ }
8288
+ /** `<ui-dial>` in JSX: its own attributes, and HTML's global ones. */
8289
+ export interface UIDialJSXAttributes extends Omit<UIGlobalJSXAttributes<UIHTMLElement<UIDialEventMap>>, keyof UIDialAttributes>, UIDialAttributes {
8290
+ }
7973
8291
  /** `<ui-dimension>`'s own attributes, from its vocabulary. */
7974
8292
  export interface UIDimensionAttributes {
7975
8293
  /**
@@ -14749,7 +15067,7 @@ export interface UIInputEventMap {
14749
15067
  originalEvent?: Event;
14750
15068
  }>;
14751
15069
  /**
14752
- * `ui-changed`: Someone committed a change (blur, Enter, picking a file).
15070
+ * `ui-changed`: Someone committed a change (blur, Enter, picking a file); a file input's element holds them in `files`.
14753
15071
  * - `event.detail`: `{ value: string, originalEvent?: Event }`
14754
15072
  */
14755
15073
  "ui-changed": CustomEvent<{
@@ -15040,6 +15358,16 @@ export interface UIInputAttributes {
15040
15358
  * @deprecated write `accept` -- `prop:` stays only for compiled spell
15041
15359
  */
15042
15360
  "prop:accept"?: string;
15361
+ /**
15362
+ * `file`: picks whole folders instead of files; `files` holds every file in them, each with its path in its folder (`webkitRelativePath`).
15363
+ * - takes: flag (present / absent)
15364
+ */
15365
+ folder?: boolean | "";
15366
+ /**
15367
+ * `folder`, as the DOM element's property.
15368
+ * @deprecated write `folder` -- `prop:` stays only for compiled spell
15369
+ */
15370
+ "prop:folder"?: boolean | "";
15043
15371
  /**
15044
15372
  * Autofill hint, forwarded to the native input.
15045
15373
  * - takes: text
@@ -15207,7 +15535,7 @@ export interface UIInputAttributes {
15207
15535
  */
15208
15536
  "on-ui-typed"?: (event: UIInputEventMap["ui-typed"]) => void;
15209
15537
  /**
15210
- * `ui-changed`: Someone committed a change (blur, Enter, picking a file).
15538
+ * `ui-changed`: Someone committed a change (blur, Enter, picking a file); a file input's element holds them in `files`.
15211
15539
  * - `event.detail`: `{ value: string, originalEvent?: Event }`
15212
15540
  */
15213
15541
  "on-ui-changed"?: (event: UIInputEventMap["ui-changed"]) => void;
@@ -20267,26 +20595,67 @@ export interface UIPageJSXAttributes extends Omit<UIGlobalJSXAttributes<UIHTMLEl
20267
20595
  /** `<ui-page-layout>`'s events, from its vocabulary: each one's `CustomEvent`, by name. */
20268
20596
  export interface UIPageLayoutEventMap {
20269
20597
  /**
20270
- * `ui-toggle`: The drawer switched between its icons only (`compact`) and all of it (`full`), from `toggleDrawer()` (a `<ui-site-nav-button>`'s click): a site keeps each person's choice, and sets `drawer` again next time.
20271
- * - `event.detail`: `{ newState: "compact" | "full", oldState: "compact" | "full" }`
20598
+ * `ui-toggle`: The drawer switched between its icons only (`compact`), hidden (`hidden`) and all of it (`full`), from `toggleDrawer()`; or a side bar between `hidden` and `shown`, from `toggleSidebar()` (a `<ui-site-nav-button>`'s click): a site keeps each person's choice, and sets `drawer`, `left` or `right` again next time.
20599
+ * - `event.detail`: `{ region: "drawer" | "left" | "right", newState: "compact" | "hidden" | "full" | "shown", oldState: "compact" | "hidden" | "full" | "shown" }`
20272
20600
  */
20273
20601
  "ui-toggle": CustomEvent<{
20274
- newState: "compact" | "full";
20275
- oldState: "compact" | "full";
20602
+ region: "drawer" | "left" | "right";
20603
+ newState: "compact" | "hidden" | "full" | "shown";
20604
+ oldState: "compact" | "hidden" | "full" | "shown";
20276
20605
  }>;
20277
20606
  }
20278
20607
  /** `<ui-page-layout>`'s own attributes, from its vocabulary. */
20279
20608
  export interface UIPageLayoutAttributes {
20280
20609
  /**
20281
- * `compact`: the drawer shows only its icons (its `<ui-site-nav>`s `collapsed`), and opens over the page while the pointer rests on it. None: the whole drawer. `toggleDrawer()` switches it, and says so with `ui-toggle`.
20282
- * - takes: `compact`
20610
+ * `compact`: the drawer shows only its icons (its `<ui-site-nav>`s `collapsed`), and opens over the page while the pointer rests on it. `hidden`: no drawer at all, until its button shows it again. None: the whole drawer. `toggleDrawer()` switches it, and says so with `ui-toggle`.
20611
+ * - takes: `compact` · `hidden`
20283
20612
  */
20284
- drawer?: "compact";
20613
+ drawer?: "compact" | "hidden";
20285
20614
  /**
20286
20615
  * `drawer`, as the DOM element's property.
20287
20616
  * @deprecated write `drawer` -- `prop:` stays only for compiled spell
20288
20617
  */
20289
- "prop:drawer"?: "compact";
20618
+ "prop:drawer"?: "compact" | "hidden";
20619
+ /**
20620
+ * The drawer's button hides the whole drawer (`drawer="hidden"`) and shows it again, never switching it to its icons: for a navigation with no icons.
20621
+ * - takes: flag (present / absent)
20622
+ */
20623
+ "drawer-hides"?: boolean | "";
20624
+ /**
20625
+ * `drawer-hides`, as the DOM element's property.
20626
+ * @deprecated write `drawer-hides` -- `prop:` stays only for compiled spell
20627
+ */
20628
+ "prop:drawerHides"?: boolean | "";
20629
+ /**
20630
+ * `hidden`: the left side bar isn't shown, until its button shows it again. `toggleSidebar("left")` switches it, and says so with `ui-toggle`.
20631
+ * - takes: `hidden`
20632
+ */
20633
+ left?: "hidden";
20634
+ /**
20635
+ * `left`, as the DOM element's property.
20636
+ * @deprecated write `left` -- `prop:` stays only for compiled spell
20637
+ */
20638
+ "prop:left"?: "hidden";
20639
+ /**
20640
+ * `hidden`: the right side bar isn't shown, until its button (`<ui-site-nav-button toggles="right">`) shows it again. `toggleSidebar("right")` switches it, and says so with `ui-toggle`. Below 64em, a side bar with such a button is hidden behind it, and shows over the page while open.
20641
+ * - takes: `hidden`
20642
+ */
20643
+ right?: "hidden";
20644
+ /**
20645
+ * `right`, as the DOM element's property.
20646
+ * @deprecated write `right` -- `prop:` stays only for compiled spell
20647
+ */
20648
+ "prop:right"?: "hidden";
20649
+ /**
20650
+ * The drawer and the side bars float: rounded cards with a soft shadow and room round them, over the page's own ground. None: the drawer a column of its own fill, the page's side a box beside it.
20651
+ * - takes: flag (present / absent)
20652
+ */
20653
+ floating?: boolean | "";
20654
+ /**
20655
+ * `floating`, as the DOM element's property.
20656
+ * @deprecated write `floating` -- `prop:` stays only for compiled spell
20657
+ */
20658
+ "prop:floating"?: boolean | "";
20290
20659
  /**
20291
20660
  * Can't be used: dimmed, out of the tab order, and everything inside it inert; `aria-disabled`. Shared by every element; a family may give it a meaning of its own (`elementSetup.disabled`).
20292
20661
  * - takes: flag (present / absent)
@@ -20448,8 +20817,8 @@ export interface UIPageLayoutAttributes {
20448
20817
  */
20449
20818
  "prop:onPlatform"?: string;
20450
20819
  /**
20451
- * `ui-toggle`: The drawer switched between its icons only (`compact`) and all of it (`full`), from `toggleDrawer()` (a `<ui-site-nav-button>`'s click): a site keeps each person's choice, and sets `drawer` again next time.
20452
- * - `event.detail`: `{ newState: "compact" | "full", oldState: "compact" | "full" }`
20820
+ * `ui-toggle`: The drawer switched between its icons only (`compact`), hidden (`hidden`) and all of it (`full`), from `toggleDrawer()`; or a side bar between `hidden` and `shown`, from `toggleSidebar()` (a `<ui-site-nav-button>`'s click): a site keeps each person's choice, and sets `drawer`, `left` or `right` again next time.
20821
+ * - `event.detail`: `{ region: "drawer" | "left" | "right", newState: "compact" | "hidden" | "full" | "shown", oldState: "compact" | "hidden" | "full" | "shown" }`
20453
20822
  */
20454
20823
  "on-ui-toggle"?: (event: UIPageLayoutEventMap["ui-toggle"]) => void;
20455
20824
  }
@@ -30071,6 +30440,203 @@ export interface UISiteBreadcrumbsAttributes {
30071
30440
  /** `<ui-site-breadcrumbs>` in JSX: its own attributes, and HTML's global ones. */
30072
30441
  export interface UISiteBreadcrumbsJSXAttributes extends Omit<UIGlobalJSXAttributes<HTMLElement>, keyof UISiteBreadcrumbsAttributes>, UISiteBreadcrumbsAttributes {
30073
30442
  }
30443
+ /** `<ui-site-links>`'s own attributes, from its vocabulary. */
30444
+ export interface UISiteLinksAttributes {
30445
+ /**
30446
+ * The site's pages, nested as the side navigation nests them: the same `pages` `<ui-site-nav>` takes, each `{ title, href, id?, live?, pages? }`, e.g. `[{ "title": "Button", "href": "/button", "live": "https://fomantic-ui.com/elements/button.html" }]`. `live` is the real page a page stands for: the page shown's own, else the nearest one above it.
30447
+ * - a JS property (rich data): an object, array or function, given as it is
30448
+ */
30449
+ pages?: unknown;
30450
+ /**
30451
+ * The site's pages, nested as the side navigation nests them: the same `pages` `<ui-site-nav>` takes, each `{ title, href, id?, live?, pages? }`, e.g. `[{ "title": "Button", "href": "/button", "live": "https://fomantic-ui.com/elements/button.html" }]`. `live` is the real page a page stands for: the page shown's own, else the nearest one above it.
30452
+ * - a JS property (rich data): an object, array or function, given as it is
30453
+ * @deprecated write `pages` -- `prop:` stays only for compiled spell
30454
+ */
30455
+ "prop:pages"?: unknown;
30456
+ /**
30457
+ * Which page is shown: its `href` or its `id`. None: the page whose `href` is the browser's address.
30458
+ * - takes: text
30459
+ */
30460
+ current?: string;
30461
+ /**
30462
+ * `current`, as the DOM element's property.
30463
+ * @deprecated write `current` -- `prop:` stays only for compiled spell
30464
+ */
30465
+ "prop:current"?: string;
30466
+ /**
30467
+ * Where to report a problem with the page shown: an address, `{title}` in it standing for the title of the page at the top of its family, e.g. `https://github.com/spell-app/spell-ui/issues/new?title={title}`. None: no report link.
30468
+ * - takes: text
30469
+ */
30470
+ report?: string;
30471
+ /**
30472
+ * `report`, as the DOM element's property.
30473
+ * @deprecated write `report` -- `prop:` stays only for compiled spell
30474
+ */
30475
+ "prop:report"?: string;
30476
+ /**
30477
+ * Can't be used: dimmed, out of the tab order, and everything inside it inert; `aria-disabled`. Shared by every element; a family may give it a meaning of its own (`elementSetup.disabled`).
30478
+ * - takes: flag (present / absent)
30479
+ */
30480
+ disabled?: boolean | "";
30481
+ /**
30482
+ * `disabled`, as the DOM element's property.
30483
+ * @deprecated write `disabled` -- `prop:` stays only for compiled spell
30484
+ */
30485
+ "prop:disabled"?: boolean | "";
30486
+ /**
30487
+ * Busy: dimmed under a loader, and inert; `aria-busy`. Shared by every element; a family may draw its own loader (`elementSetup.loading`).
30488
+ * - takes: flag (present / absent)
30489
+ */
30490
+ loading?: boolean | "";
30491
+ /**
30492
+ * `loading`, as the DOM element's property.
30493
+ * @deprecated write `loading` -- `prop:` stays only for compiled spell
30494
+ */
30495
+ "prop:loading"?: boolean | "";
30496
+ /**
30497
+ * Shown: the platform's `hidden`, turned round (`el.visible === !el.hidden`). Writing either one shows or hides the element with its `animation`; `visible="false"` writes `hidden`. Neither written: the family decides (a modal starts hidden, a message shown). Both written in markup and disagreeing: `hidden` wins.
30498
+ * - takes: flag (present / absent)
30499
+ */
30500
+ visible?: boolean | "";
30501
+ /**
30502
+ * `visible`, as the DOM element's property.
30503
+ * @deprecated write `visible` -- `prop:` stays only for compiled spell
30504
+ */
30505
+ "prop:visible"?: boolean | "";
30506
+ /**
30507
+ * How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on.
30508
+ * - takes: `fade` · `fade up` · `fade down` · `fade left` · `fade right` · `scale` · `zoom` · `drop` · `browse` · `browse right` · `fly` · `fly up` · `fly down` · `fly left` · `fly right` · `slide` · `slide up` · `slide down` · `slide left` · `slide right` · `swing` · `swing up` · `swing down` · `swing left` · `swing right` · `horizontal flip` · `vertical flip` · `flash` · `shake` · `bounce` · `tada` · `pulse` · `jiggle` · `glow` · `coin` · `none`
30509
+ */
30510
+ animation?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
30511
+ /**
30512
+ * `animation`, as the DOM element's property.
30513
+ * @deprecated write `animation` -- `prop:` stays only for compiled spell
30514
+ */
30515
+ "prop:animation"?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
30516
+ /**
30517
+ * Where a click on it goes, as a link's `href`: `<ui-text link>` is a link in running text. A family that draws its own link (text, button, image ...) draws an `<a>`; on any other element a click goes there, except on a control of its own inside. Its old name was `href`.
30518
+ * - takes: text
30519
+ */
30520
+ link?: string;
30521
+ /**
30522
+ * `link`, as the DOM element's property.
30523
+ * @deprecated write `link` -- `prop:` stays only for compiled spell
30524
+ */
30525
+ "prop:link"?: string;
30526
+ /**
30527
+ * Where `link` opens: `_blank` for a new tab, or a window's name; as a link's `target`.
30528
+ * - takes: text
30529
+ */
30530
+ target?: string;
30531
+ /**
30532
+ * `target`, as the DOM element's property.
30533
+ * @deprecated write `target` -- `prop:` stays only for compiled spell
30534
+ */
30535
+ "prop:target"?: string;
30536
+ /**
30537
+ * How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font="bold italic"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font="bold serif 10/20"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone.
30538
+ * - takes: space-separated: `bold` · `heavy` · `italic` · `underline` · `strikethrough` · `code` · `highlight` · `subscript` · `superscript` · `all-caps` · `title-caps` · `headline` · `subhead` · `serif` · `sans-serif` · `typewriter`
30539
+ */
30540
+ font?: string;
30541
+ /**
30542
+ * `font`, as the DOM element's property.
30543
+ * @deprecated write `font` -- `prop:` stays only for compiled spell
30544
+ */
30545
+ "prop:font"?: string;
30546
+ /**
30547
+ * A hard shadow behind its letters, down and to the right, in a hue: `shadow="yellow"`, a sticker's look for a logo or a title. Its size follows the letters (0.06em).
30548
+ * - takes: `primary` · `secondary` · `red` · `orange` · `yellow` · `olive` · `green` · `teal` · `blue` · `violet` · `purple` · `pink` · `brown` · `grey` · `black` · `positive` · `negative`
30549
+ */
30550
+ shadow?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
30551
+ /**
30552
+ * `shadow`, as the DOM element's property.
30553
+ * @deprecated write `shadow` -- `prop:` stays only for compiled spell
30554
+ */
30555
+ "prop:shadow"?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
30556
+ /**
30557
+ * Its box's own width where it sits, any CSS length: `width="10em"`, `"50%"`. In a row it keeps that width, never squeezed. A family with a width of its own keeps it: a container's centres its box, an image's is its size in pixels, a column's counts columns.
30558
+ * - takes: text
30559
+ */
30560
+ width?: string;
30561
+ /**
30562
+ * `width`, as the DOM element's property.
30563
+ * @deprecated write `width` -- `prop:` stays only for compiled spell
30564
+ */
30565
+ "prop:width"?: string;
30566
+ /**
30567
+ * The narrowest its box gets, any CSS length: `min-width="16em"`. A `fluid` element in a row grows from there into the room left; the row wraps it onto a line of its own before it gets any narrower.
30568
+ * - takes: text
30569
+ */
30570
+ "min-width"?: string;
30571
+ /**
30572
+ * `min-width`, as the DOM element's property.
30573
+ * @deprecated write `min-width` -- `prop:` stays only for compiled spell
30574
+ */
30575
+ "prop:minWidth"?: string;
30576
+ /**
30577
+ * The widest its box gets, any CSS length: `max-width="36em"`, so a bar or a field stops growing on a wide screen. A family with a `max-width` of its own (`<ui-zoom>`) keeps it.
30578
+ * - takes: text
30579
+ */
30580
+ "max-width"?: string;
30581
+ /**
30582
+ * `max-width`, as the DOM element's property.
30583
+ * @deprecated write `max-width` -- `prop:` stays only for compiled spell
30584
+ */
30585
+ "prop:maxWidth"?: string;
30586
+ /**
30587
+ * Its tooltip: the browser's own, written as the element's `title`.
30588
+ * - takes: text
30589
+ */
30590
+ tooltip?: string;
30591
+ /**
30592
+ * `tooltip`, as the DOM element's property.
30593
+ * @deprecated write `tooltip` -- `prop:` stays only for compiled spell
30594
+ */
30595
+ "prop:tooltip"?: string;
30596
+ /**
30597
+ * Its name for screen readers (`aria-label`), where it has no words of its own. A family whose `label` is something else (a field's, a statistic's) keeps its own.
30598
+ * - takes: text
30599
+ */
30600
+ label?: string;
30601
+ /**
30602
+ * `label`, as the DOM element's property.
30603
+ * @deprecated write `label` -- `prop:` stays only for compiled spell
30604
+ */
30605
+ "prop:label"?: string;
30606
+ /**
30607
+ * People can drag it to a new place inside its container: bare or `both`, `horizontally` or `vertically` for one way only. A press on a control of its own inside (a button, a field) stays that control's. With an `id`, where each person put it is remembered.
30608
+ * - takes: text
30609
+ */
30610
+ movable?: string;
30611
+ /**
30612
+ * `movable`, as the DOM element's property.
30613
+ * @deprecated write `movable` -- `prop:` stays only for compiled spell
30614
+ */
30615
+ "prop:movable"?: string;
30616
+ /**
30617
+ * People can drag its corner to resize it: bare or `both`, `horizontally` or `vertically`. Limit it with plain CSS (`max-width: 50%`, `min-height: 4em`). With an `id`, the size each person gave it is remembered. A family with a `resizable` of its own keeps it (`<ui-segment resizable>` drags its height).
30618
+ * - takes: text
30619
+ */
30620
+ resizable?: string;
30621
+ /**
30622
+ * `resizable`, as the DOM element's property.
30623
+ * @deprecated write `resizable` -- `prop:` stays only for compiled spell
30624
+ */
30625
+ "prop:resizable"?: string;
30626
+ /**
30627
+ * Shown only on these devices, a comma list: `on-platform="desktop, tablet"` hides it on phones. `phone`: a touch screen, small on at least one side (under 600px), either way up; `tablet`: a touch screen, big both ways; `desktop`: a mouse or a trackpad. Follows a resize or a turn of the device at once. For what a device can't do (a phone has no screen capture), or has no room for.
30628
+ * - takes: text
30629
+ */
30630
+ "on-platform"?: string;
30631
+ /**
30632
+ * `on-platform`, as the DOM element's property.
30633
+ * @deprecated write `on-platform` -- `prop:` stays only for compiled spell
30634
+ */
30635
+ "prop:onPlatform"?: string;
30636
+ }
30637
+ /** `<ui-site-links>` in JSX: its own attributes, and HTML's global ones. */
30638
+ export interface UISiteLinksJSXAttributes extends Omit<UIGlobalJSXAttributes<HTMLElement>, keyof UISiteLinksAttributes>, UISiteLinksAttributes {
30639
+ }
30074
30640
  /** `<ui-site-nav>`'s events, from its vocabulary: each one's `CustomEvent`, by name. */
30075
30641
  export interface UISiteNavEventMap {
30076
30642
  /**
@@ -30522,6 +31088,17 @@ export interface UISiteNavButtonAttributes {
30522
31088
  * @deprecated write `kind` -- `prop:` stays only for compiled spell
30523
31089
  */
30524
31090
  "prop:kind"?: "item" | "header" | "divider";
31091
+ /**
31092
+ * What it shows and hides: the layout's `drawer` (its side navigation), or its `left` or `right` side bar. With one for a side bar, a narrow layout hides that side bar behind it.
31093
+ * - takes: `drawer` · `left` · `right`
31094
+ * - default: `drawer`
31095
+ */
31096
+ toggles?: "drawer" | "left" | "right";
31097
+ /**
31098
+ * `toggles`, as the DOM element's property.
31099
+ * @deprecated write `toggles` -- `prop:` stays only for compiled spell
31100
+ */
31101
+ "prop:toggles"?: "drawer" | "left" | "right";
30525
31102
  /**
30526
31103
  * Busy: dimmed under a loader, and inert; `aria-busy`. Shared by every element; a family may draw its own loader (`elementSetup.loading`).
30527
31104
  * - takes: flag (present / absent)
@@ -30686,6 +31263,16 @@ export interface UISiteTabsAttributes {
30686
31263
  * @deprecated write `current` -- `prop:` stays only for compiled spell
30687
31264
  */
30688
31265
  "prop:current"?: string;
31266
+ /**
31267
+ * `header`: a switch for an app menu's middle, the look of the editor's Run | Edit: the row as wide as its tabs, on the bar's own fill, the page shown on the thumb. None: a segmented row of its own, each tab an equal share of it.
31268
+ * - takes: `header`
31269
+ */
31270
+ appearance?: "header";
31271
+ /**
31272
+ * `appearance`, as the DOM element's property.
31273
+ * @deprecated write `appearance` -- `prop:` stays only for compiled spell
31274
+ */
31275
+ "prop:appearance"?: "header";
30689
31276
  /**
30690
31277
  * What a screen reader calls the row of tabs. None: the family's parent page's title.
30691
31278
  * - takes: text
@@ -32007,14 +32594,14 @@ export interface UIStatisticAttributes {
32007
32594
  "prop:fluid"?: boolean | "";
32008
32595
  /**
32009
32596
  * Shorthand for a `<ui-value>`: the number (or word) shown.
32010
- * - takes: text
32597
+ * - takes: text or a number
32011
32598
  */
32012
- value?: string;
32599
+ value?: string | number;
32013
32600
  /**
32014
32601
  * `value`, as the DOM element's property.
32015
32602
  * @deprecated write `value` -- `prop:` stays only for compiled spell
32016
32603
  */
32017
- "prop:value"?: string;
32604
+ "prop:value"?: string | number;
32018
32605
  /**
32019
32606
  * The `value` shorthand is a WORD (`text value`): smaller, bold, at least two lines tall.
32020
32607
  * - takes: flag (present / absent)
@@ -37101,7 +37688,7 @@ export interface UITocEventMap {
37101
37688
  /** `<ui-toc>`'s own attributes, from its vocabulary. */
37102
37689
  export interface UITocAttributes {
37103
37690
  /**
37104
- * Id of the element whose headings to list. A `<ui-tabs>`: its SHOWN pane, followed as the tabs switch. Default: the page's `<main>`, else `<body>`.
37691
+ * Id of the element whose headings to list. A `<ui-tabs>`: its SHOWN pane, followed as the tabs switch. Default: inside a `<ui-page-layout>` (a side bar of it), the layout's page, followed as the site shows another; else the page's `<main>`, else `<body>`.
37105
37692
  * - takes: text
37106
37693
  */
37107
37694
  for?: string;
@@ -37111,7 +37698,7 @@ export interface UITocAttributes {
37111
37698
  */
37112
37699
  "prop:htmlFor"?: string;
37113
37700
  /**
37114
- * Id of the element whose scroll it follows, when the content scrolls inside a box of its own (a pane) rather than the window. Its reading line is then that box's top. Default: the window.
37701
+ * Id of the element whose scroll it follows, when the content scrolls inside a box of its own (a pane) rather than the window. Its reading line is then that box's top. Default: inside a `<ui-page-layout>`, the box the layout scrolls in; else the window.
37115
37702
  * - takes: text
37116
37703
  */
37117
37704
  scroller?: string;
@@ -37121,7 +37708,7 @@ export interface UITocAttributes {
37121
37708
  */
37122
37709
  "prop:scroller"?: string;
37123
37710
  /**
37124
- * Title above the links, e.g. the page's name (Fomantic's `Button`). Its old name was `header`.
37711
+ * Title above the links, e.g. the page's name (Fomantic's `Button`). Default: inside a `<ui-page-layout>`, the title of the layout's page (its level 1 heading). Its old name was `header`.
37125
37712
  * - takes: text
37126
37713
  */
37127
37714
  heading?: string;
@@ -38210,7 +38797,7 @@ export interface UITreeAttributes {
38210
38797
  */
38211
38798
  "prop:choose"?: "one" | "many";
38212
38799
  /**
38213
- * Show only the rows whose words hold this text, whatever its case, and the rows they're inside, opened to show them. It changes no row's `open`: clearing it puts the tree back as it was. A row drawn only once its parent opens can't be found while that's closed. `appearance="columns"`: it filters one column, the last one on screen as the filter starts, until it's cleared; after that column's rows, it lists the matches elsewhere in the tree, at any depth, each with the rows it's inside, and a click on one opens the path to it. From `items`, it runs each `children` function to look inside, waiting for promised ones, as opening the items would, but opens no column; it lists the first 200 matches, and stops after 100,000 rows.
38800
+ * Show only the rows whose words hold this text, whatever its case, and the rows they're inside, opened to show them. It changes no row's `open`: clearing it puts the tree back as it was. A row drawn only once its parent opens can't be found while that's closed. `appearance="columns"`: it filters one column, the last one on screen as the filter starts, until it's cleared; after that column's rows, it lists the matches elsewhere in the tree, at any depth, each with the rows it's inside; a click on one opens the path to it, as do Enter and Space, the down key going on into them from the column's last row. From `items`, it runs each `children` function to look inside, waiting for promised ones, as opening the items would, but opens no column; it lists the first 200 matches, and stops after 100,000 rows.
38214
38801
  * - takes: text
38215
38802
  */
38216
38803
  filter?: string;
@@ -39273,6 +39860,500 @@ export interface UITreeNodeAttributes {
39273
39860
  /** `<ui-tree-node>` in JSX: its own attributes, and HTML's global ones. */
39274
39861
  export interface UITreeNodeJSXAttributes extends Omit<UIGlobalJSXAttributes<HTMLElement>, keyof UITreeNodeAttributes>, UITreeNodeAttributes {
39275
39862
  }
39863
+ /** `<ui-uploader>`'s events, from its vocabulary: each one's `CustomEvent`, by name. */
39864
+ export interface UIUploaderEventMap {
39865
+ /**
39866
+ * `ui-file-dragged-over`: Files are dragged over it, or over its `drop-zone`: how many, and their kinds.
39867
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
39868
+ */
39869
+ "ui-file-dragged-over": CustomEvent<{
39870
+ count: number;
39871
+ kinds: string[];
39872
+ via: "drop" | "zone";
39873
+ }>;
39874
+ /**
39875
+ * `ui-file-dragged-out`: The files dragged over it left without being dropped.
39876
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
39877
+ */
39878
+ "ui-file-dragged-out": CustomEvent<{
39879
+ count: number;
39880
+ kinds: string[];
39881
+ via: "drop" | "zone";
39882
+ }>;
39883
+ /**
39884
+ * `ui-folder-dragged-over`: With `folder`: `ui-file-dragged-over`'s twin. While dragging, a browser can't tell a folder from a file.
39885
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
39886
+ */
39887
+ "ui-folder-dragged-over": CustomEvent<{
39888
+ count: number;
39889
+ kinds: string[];
39890
+ via: "drop" | "zone";
39891
+ }>;
39892
+ /**
39893
+ * `ui-folder-dragged-out`: With `folder`: `ui-file-dragged-out`'s twin.
39894
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
39895
+ */
39896
+ "ui-folder-dragged-out": CustomEvent<{
39897
+ count: number;
39898
+ kinds: string[];
39899
+ via: "drop" | "zone";
39900
+ }>;
39901
+ /**
39902
+ * `ui-file-dropping`: A file picked or dropped is about to be taken: cancel it to leave it out. `reason` says why it'll be turned away, when it will be.
39903
+ * - `event.detail`: `{ file: File, name: string, path: string, size: number, type: string, lastModified: number, via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
39904
+ * - cancelable: `preventDefault()` vetoes it
39905
+ */
39906
+ "ui-file-dropping": CustomEvent<{
39907
+ file: File;
39908
+ name: string;
39909
+ path: string;
39910
+ size: number;
39911
+ type: string;
39912
+ lastModified: number;
39913
+ via: "dialog" | "drop" | "zone";
39914
+ reason?: string;
39915
+ entry?: FileSystemEntry;
39916
+ handle?: FileSystemHandle;
39917
+ }>;
39918
+ /**
39919
+ * `ui-file-dropped`: A file was taken, kept or turned away (`reason`), the same for a pick (`via: "dialog"`) as for a drop. `file.text()` reads it. `entry` and `handle` are there when the browser gives them: an entry on any drop, a handle on a drop in Chrome and Edge.
39920
+ * - `event.detail`: `{ file: File, name: string, path: string, size: number, type: string, lastModified: number, via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
39921
+ */
39922
+ "ui-file-dropped": CustomEvent<{
39923
+ file: File;
39924
+ name: string;
39925
+ path: string;
39926
+ size: number;
39927
+ type: string;
39928
+ lastModified: number;
39929
+ via: "dialog" | "drop" | "zone";
39930
+ reason?: string;
39931
+ entry?: FileSystemEntry;
39932
+ handle?: FileSystemHandle;
39933
+ }>;
39934
+ /**
39935
+ * `ui-folder-dropping`: With `folder`: a folder is about to be taken, with its files: cancel it to leave it all out.
39936
+ * - `event.detail`: `{ name: string, path: string, files: File[], via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
39937
+ * - cancelable: `preventDefault()` vetoes it
39938
+ */
39939
+ "ui-folder-dropping": CustomEvent<{
39940
+ name: string;
39941
+ path: string;
39942
+ files: File[];
39943
+ via: "dialog" | "drop" | "zone";
39944
+ reason?: string;
39945
+ entry?: FileSystemEntry;
39946
+ handle?: FileSystemHandle;
39947
+ }>;
39948
+ /**
39949
+ * `ui-folder-dropped`: With `folder`: a folder was taken; a `ui-file-dropped` follows for each file in it.
39950
+ * - `event.detail`: `{ name: string, path: string, files: File[], via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
39951
+ */
39952
+ "ui-folder-dropped": CustomEvent<{
39953
+ name: string;
39954
+ path: string;
39955
+ files: File[];
39956
+ via: "dialog" | "drop" | "zone";
39957
+ reason?: string;
39958
+ entry?: FileSystemEntry;
39959
+ handle?: FileSystemHandle;
39960
+ }>;
39961
+ /**
39962
+ * `ui-uploading`: The files kept are about to be posted to `destination`, or handed to `action`: cancel it to take the upload over, and nothing is posted or called.
39963
+ * - `event.detail`: `{ files: File[] }`
39964
+ * - cancelable: `preventDefault()` vetoes it
39965
+ */
39966
+ "ui-uploading": CustomEvent<{
39967
+ files: File[];
39968
+ }>;
39969
+ /**
39970
+ * `ui-upload-progress`: While a file posts: how many bytes have gone, of its size.
39971
+ * - `event.detail`: `{ file: File, sent: number, size: number }`
39972
+ */
39973
+ "ui-upload-progress": CustomEvent<{
39974
+ file: File;
39975
+ sent: number;
39976
+ size: number;
39977
+ }>;
39978
+ /**
39979
+ * `ui-uploaded`: A file was posted: `response` is the server's answer, as JSON when it says so, else text; with `action`, what the action returned.
39980
+ * - `event.detail`: `{ file: File, response: unknown }`
39981
+ */
39982
+ "ui-uploaded": CustomEvent<{
39983
+ file: File;
39984
+ response: unknown;
39985
+ }>;
39986
+ /**
39987
+ * `ui-upload-failed`: A file couldn't be posted, or the `action` threw: `error` says why.
39988
+ * - `event.detail`: `{ file: File, error: Error }`
39989
+ */
39990
+ "ui-upload-failed": CustomEvent<{
39991
+ file: File;
39992
+ error: Error;
39993
+ }>;
39994
+ }
39995
+ /** `<ui-uploader>`'s own attributes, from its vocabulary. */
39996
+ export interface UIUploaderAttributes {
39997
+ /**
39998
+ * How it looks: `hero` -- a big drop area with an icon, a line of help and a Choose files button, a row per file under it; `button` -- just a button, its files in a popup from it; `input` -- a form field with a Browse button, its files listed under it; `compact` -- a one-line drop area, one line of status and one progress bar. All four take the same attributes and send the same events.
39999
+ * - takes: `hero` · `button` · `input` · `compact`
40000
+ * - default: `hero`
40001
+ */
40002
+ appearance?: "hero" | "button" | "input" | "compact";
40003
+ /**
40004
+ * `appearance`, as the DOM element's property.
40005
+ * @deprecated write `appearance` -- `prop:` stays only for compiled spell
40006
+ */
40007
+ "prop:appearance"?: "hero" | "button" | "input" | "compact";
40008
+ /**
40009
+ * A URL each file is posted to, as form data (`file`, its path as its file name), one request per file. `action` wins when both are set.
40010
+ * - takes: text
40011
+ */
40012
+ destination?: string;
40013
+ /**
40014
+ * `destination`, as the DOM element's property.
40015
+ * @deprecated write `destination` -- `prop:` stays only for compiled spell
40016
+ */
40017
+ "prop:destination"?: string;
40018
+ /**
40019
+ * A function called with the files kept, `(files: File[]) => unknown`, instead of posting them: in Spell, an action (`action={read the netlist}`). Not a URL, as a form's `action` is: that's `destination`.
40020
+ * - a JS property (rich data): an object, array or function, given as it is
40021
+ */
40022
+ action?: unknown;
40023
+ /**
40024
+ * A function called with the files kept, `(files: File[]) => unknown`, instead of posting them: in Spell, an action (`action={read the netlist}`). Not a URL, as a form's `action` is: that's `destination`.
40025
+ * - a JS property (rich data): an object, array or function, given as it is
40026
+ * @deprecated write `action` -- `prop:` stays only for compiled spell
40027
+ */
40028
+ "prop:action"?: unknown;
40029
+ /**
40030
+ * The kinds of file it takes, a comma list of extensions (`json, csv`); any other is turned away. None: any file.
40031
+ * - takes: text
40032
+ */
40033
+ extensions?: string;
40034
+ /**
40035
+ * `extensions`, as the DOM element's property.
40036
+ * @deprecated write `extensions` -- `prop:` stays only for compiled spell
40037
+ */
40038
+ "prop:extensions"?: string;
40039
+ /**
40040
+ * Takes more than one file at a time.
40041
+ * - takes: flag (present / absent)
40042
+ */
40043
+ multiple?: boolean | "";
40044
+ /**
40045
+ * `multiple`, as the DOM element's property.
40046
+ * @deprecated write `multiple` -- `prop:` stays only for compiled spell
40047
+ */
40048
+ "prop:multiple"?: boolean | "";
40049
+ /**
40050
+ * Takes folders instead of files, each with its files and their paths in it; its events are `ui-folder-*` for the drag and the folder itself, then `ui-file-dropped` for each file. A plain file dropped on it is turned away.
40051
+ * - takes: flag (present / absent)
40052
+ */
40053
+ folder?: boolean | "";
40054
+ /**
40055
+ * `folder`, as the DOM element's property.
40056
+ * @deprecated write `folder` -- `prop:` stays only for compiled spell
40057
+ */
40058
+ "prop:folder"?: boolean | "";
40059
+ /**
40060
+ * The largest file it takes: `2 MB`, `500 KB`, `1.5 GB`, or a number of bytes.
40061
+ * - takes: text
40062
+ */
40063
+ "max-size"?: string;
40064
+ /**
40065
+ * `max-size`, as the DOM element's property.
40066
+ * @deprecated write `max-size` -- `prop:` stays only for compiled spell
40067
+ */
40068
+ "prop:maxSize"?: string;
40069
+ /**
40070
+ * The most files it takes in one go; the rest are turned away.
40071
+ * - takes: number
40072
+ */
40073
+ "max-files"?: number | `${number}`;
40074
+ /**
40075
+ * `max-files`, as the DOM element's property.
40076
+ * @deprecated write `max-files` -- `prop:` stays only for compiled spell
40077
+ */
40078
+ "prop:maxFiles"?: number | `${number}`;
40079
+ /**
40080
+ * Where else a drop counts as a drop on it: `page` -- anywhere on the page; a selector (`#editor`, `ui-section`), looked for first among the elements around it, then on the page; or, as a property, the element itself. The zone shows `drop-message` while files are dragged over it.
40081
+ * - a JS property (rich data): an object, array or function, given as it is
40082
+ */
40083
+ dropZone?: unknown;
40084
+ /**
40085
+ * Where else a drop counts as a drop on it: `page` -- anywhere on the page; a selector (`#editor`, `ui-section`), looked for first among the elements around it, then on the page; or, as a property, the element itself. The zone shows `drop-message` while files are dragged over it.
40086
+ * - a JS property (rich data): an object, array or function, given as it is
40087
+ * @deprecated write `dropZone` -- `prop:` stays only for compiled spell
40088
+ */
40089
+ "prop:dropZone"?: unknown;
40090
+ /**
40091
+ * Its line of help (`Drop .json files here, or`); a `button` uploader's label. None: its own, naming the kinds it takes. The `message` slot wins over it.
40092
+ * - takes: text
40093
+ */
40094
+ message?: string;
40095
+ /**
40096
+ * `message`, as the DOM element's property.
40097
+ * @deprecated write `message` -- `prop:` stays only for compiled spell
40098
+ */
40099
+ "prop:message"?: string;
40100
+ /**
40101
+ * What it says while files are dragged over it: `{count}` is how many. None: `Drop to add {count} files`.
40102
+ * - takes: text
40103
+ */
40104
+ "drop-message"?: string;
40105
+ /**
40106
+ * `drop-message`, as the DOM element's property.
40107
+ * @deprecated write `drop-message` -- `prop:` stays only for compiled spell
40108
+ */
40109
+ "prop:dropMessage"?: string;
40110
+ /**
40111
+ * What it says while it posts: `{done}` is how many are done, `{count}` how many in all. None: `Uploading {done} of {count}`.
40112
+ * - takes: text
40113
+ */
40114
+ "uploading-message"?: string;
40115
+ /**
40116
+ * `uploading-message`, as the DOM element's property.
40117
+ * @deprecated write `uploading-message` -- `prop:` stays only for compiled spell
40118
+ */
40119
+ "prop:uploadingMessage"?: string;
40120
+ /**
40121
+ * What it says once they're all posted: `{count}` is how many. None: `{count} files uploaded`.
40122
+ * - takes: text
40123
+ */
40124
+ "done-message"?: string;
40125
+ /**
40126
+ * `done-message`, as the DOM element's property.
40127
+ * @deprecated write `done-message` -- `prop:` stays only for compiled spell
40128
+ */
40129
+ "prop:doneMessage"?: string;
40130
+ /**
40131
+ * Can't be used: dimmed, out of the tab order, and everything inside it inert; `aria-disabled`. Shared by every element; a family may give it a meaning of its own (`elementSetup.disabled`).
40132
+ * - takes: flag (present / absent)
40133
+ */
40134
+ disabled?: boolean | "";
40135
+ /**
40136
+ * `disabled`, as the DOM element's property.
40137
+ * @deprecated write `disabled` -- `prop:` stays only for compiled spell
40138
+ */
40139
+ "prop:disabled"?: boolean | "";
40140
+ /**
40141
+ * Busy: dimmed under a loader, and inert; `aria-busy`. Shared by every element; a family may draw its own loader (`elementSetup.loading`).
40142
+ * - takes: flag (present / absent)
40143
+ */
40144
+ loading?: boolean | "";
40145
+ /**
40146
+ * `loading`, as the DOM element's property.
40147
+ * @deprecated write `loading` -- `prop:` stays only for compiled spell
40148
+ */
40149
+ "prop:loading"?: boolean | "";
40150
+ /**
40151
+ * Shown: the platform's `hidden`, turned round (`el.visible === !el.hidden`). Writing either one shows or hides the element with its `animation`; `visible="false"` writes `hidden`. Neither written: the family decides (a modal starts hidden, a message shown). Both written in markup and disagreeing: `hidden` wins.
40152
+ * - takes: flag (present / absent)
40153
+ */
40154
+ visible?: boolean | "";
40155
+ /**
40156
+ * `visible`, as the DOM element's property.
40157
+ * @deprecated write `visible` -- `prop:` stays only for compiled spell
40158
+ */
40159
+ "prop:visible"?: boolean | "";
40160
+ /**
40161
+ * How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on.
40162
+ * - takes: `fade` · `fade up` · `fade down` · `fade left` · `fade right` · `scale` · `zoom` · `drop` · `browse` · `browse right` · `fly` · `fly up` · `fly down` · `fly left` · `fly right` · `slide` · `slide up` · `slide down` · `slide left` · `slide right` · `swing` · `swing up` · `swing down` · `swing left` · `swing right` · `horizontal flip` · `vertical flip` · `flash` · `shake` · `bounce` · `tada` · `pulse` · `jiggle` · `glow` · `coin` · `none`
40163
+ */
40164
+ animation?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
40165
+ /**
40166
+ * `animation`, as the DOM element's property.
40167
+ * @deprecated write `animation` -- `prop:` stays only for compiled spell
40168
+ */
40169
+ "prop:animation"?: "fade" | "fade up" | "fade down" | "fade left" | "fade right" | "scale" | "zoom" | "drop" | "browse" | "browse right" | "fly" | "fly up" | "fly down" | "fly left" | "fly right" | "slide" | "slide up" | "slide down" | "slide left" | "slide right" | "swing" | "swing up" | "swing down" | "swing left" | "swing right" | "horizontal flip" | "vertical flip" | "flash" | "shake" | "bounce" | "tada" | "pulse" | "jiggle" | "glow" | "coin" | "none";
40170
+ /**
40171
+ * Where a click on it goes, as a link's `href`: `<ui-text link>` is a link in running text. A family that draws its own link (text, button, image ...) draws an `<a>`; on any other element a click goes there, except on a control of its own inside. Its old name was `href`.
40172
+ * - takes: text
40173
+ */
40174
+ link?: string;
40175
+ /**
40176
+ * `link`, as the DOM element's property.
40177
+ * @deprecated write `link` -- `prop:` stays only for compiled spell
40178
+ */
40179
+ "prop:link"?: string;
40180
+ /**
40181
+ * Where `link` opens: `_blank` for a new tab, or a window's name; as a link's `target`.
40182
+ * - takes: text
40183
+ */
40184
+ target?: string;
40185
+ /**
40186
+ * `target`, as the DOM element's property.
40187
+ * @deprecated write `target` -- `prop:` stays only for compiled spell
40188
+ */
40189
+ "prop:target"?: string;
40190
+ /**
40191
+ * How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font="bold italic"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font="bold serif 10/20"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone.
40192
+ * - takes: space-separated: `bold` · `heavy` · `italic` · `underline` · `strikethrough` · `code` · `highlight` · `subscript` · `superscript` · `all-caps` · `title-caps` · `headline` · `subhead` · `serif` · `sans-serif` · `typewriter`
40193
+ */
40194
+ font?: string;
40195
+ /**
40196
+ * `font`, as the DOM element's property.
40197
+ * @deprecated write `font` -- `prop:` stays only for compiled spell
40198
+ */
40199
+ "prop:font"?: string;
40200
+ /**
40201
+ * A hard shadow behind its letters, down and to the right, in a hue: `shadow="yellow"`, a sticker's look for a logo or a title. Its size follows the letters (0.06em).
40202
+ * - takes: `primary` · `secondary` · `red` · `orange` · `yellow` · `olive` · `green` · `teal` · `blue` · `violet` · `purple` · `pink` · `brown` · `grey` · `black` · `positive` · `negative`
40203
+ */
40204
+ shadow?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
40205
+ /**
40206
+ * `shadow`, as the DOM element's property.
40207
+ * @deprecated write `shadow` -- `prop:` stays only for compiled spell
40208
+ */
40209
+ "prop:shadow"?: "primary" | "secondary" | "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black" | "positive" | "negative";
40210
+ /**
40211
+ * Its box's own width where it sits, any CSS length: `width="10em"`, `"50%"`. In a row it keeps that width, never squeezed. A family with a width of its own keeps it: a container's centres its box, an image's is its size in pixels, a column's counts columns.
40212
+ * - takes: text
40213
+ */
40214
+ width?: string;
40215
+ /**
40216
+ * `width`, as the DOM element's property.
40217
+ * @deprecated write `width` -- `prop:` stays only for compiled spell
40218
+ */
40219
+ "prop:width"?: string;
40220
+ /**
40221
+ * The narrowest its box gets, any CSS length: `min-width="16em"`. A `fluid` element in a row grows from there into the room left; the row wraps it onto a line of its own before it gets any narrower.
40222
+ * - takes: text
40223
+ */
40224
+ "min-width"?: string;
40225
+ /**
40226
+ * `min-width`, as the DOM element's property.
40227
+ * @deprecated write `min-width` -- `prop:` stays only for compiled spell
40228
+ */
40229
+ "prop:minWidth"?: string;
40230
+ /**
40231
+ * The widest its box gets, any CSS length: `max-width="36em"`, so a bar or a field stops growing on a wide screen. A family with a `max-width` of its own (`<ui-zoom>`) keeps it.
40232
+ * - takes: text
40233
+ */
40234
+ "max-width"?: string;
40235
+ /**
40236
+ * `max-width`, as the DOM element's property.
40237
+ * @deprecated write `max-width` -- `prop:` stays only for compiled spell
40238
+ */
40239
+ "prop:maxWidth"?: string;
40240
+ /**
40241
+ * Its tooltip: the browser's own, written as the element's `title`.
40242
+ * - takes: text
40243
+ */
40244
+ tooltip?: string;
40245
+ /**
40246
+ * `tooltip`, as the DOM element's property.
40247
+ * @deprecated write `tooltip` -- `prop:` stays only for compiled spell
40248
+ */
40249
+ "prop:tooltip"?: string;
40250
+ /**
40251
+ * Its name for screen readers (`aria-label`), where it has no words of its own. A family whose `label` is something else (a field's, a statistic's) keeps its own.
40252
+ * - takes: text
40253
+ */
40254
+ label?: string;
40255
+ /**
40256
+ * `label`, as the DOM element's property.
40257
+ * @deprecated write `label` -- `prop:` stays only for compiled spell
40258
+ */
40259
+ "prop:label"?: string;
40260
+ /**
40261
+ * People can drag it to a new place inside its container: bare or `both`, `horizontally` or `vertically` for one way only. A press on a control of its own inside (a button, a field) stays that control's. With an `id`, where each person put it is remembered.
40262
+ * - takes: text
40263
+ */
40264
+ movable?: string;
40265
+ /**
40266
+ * `movable`, as the DOM element's property.
40267
+ * @deprecated write `movable` -- `prop:` stays only for compiled spell
40268
+ */
40269
+ "prop:movable"?: string;
40270
+ /**
40271
+ * People can drag its corner to resize it: bare or `both`, `horizontally` or `vertically`. Limit it with plain CSS (`max-width: 50%`, `min-height: 4em`). With an `id`, the size each person gave it is remembered. A family with a `resizable` of its own keeps it (`<ui-segment resizable>` drags its height).
40272
+ * - takes: text
40273
+ */
40274
+ resizable?: string;
40275
+ /**
40276
+ * `resizable`, as the DOM element's property.
40277
+ * @deprecated write `resizable` -- `prop:` stays only for compiled spell
40278
+ */
40279
+ "prop:resizable"?: string;
40280
+ /**
40281
+ * Shown only on these devices, a comma list: `on-platform="desktop, tablet"` hides it on phones. `phone`: a touch screen, small on at least one side (under 600px), either way up; `tablet`: a touch screen, big both ways; `desktop`: a mouse or a trackpad. Follows a resize or a turn of the device at once. For what a device can't do (a phone has no screen capture), or has no room for.
40282
+ * - takes: text
40283
+ */
40284
+ "on-platform"?: string;
40285
+ /**
40286
+ * `on-platform`, as the DOM element's property.
40287
+ * @deprecated write `on-platform` -- `prop:` stays only for compiled spell
40288
+ */
40289
+ "prop:onPlatform"?: string;
40290
+ /**
40291
+ * `ui-file-dragged-over`: Files are dragged over it, or over its `drop-zone`: how many, and their kinds.
40292
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
40293
+ */
40294
+ "on-ui-file-dragged-over"?: (event: UIUploaderEventMap["ui-file-dragged-over"]) => void;
40295
+ /**
40296
+ * `ui-file-dragged-out`: The files dragged over it left without being dropped.
40297
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
40298
+ */
40299
+ "on-ui-file-dragged-out"?: (event: UIUploaderEventMap["ui-file-dragged-out"]) => void;
40300
+ /**
40301
+ * `ui-folder-dragged-over`: With `folder`: `ui-file-dragged-over`'s twin. While dragging, a browser can't tell a folder from a file.
40302
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
40303
+ */
40304
+ "on-ui-folder-dragged-over"?: (event: UIUploaderEventMap["ui-folder-dragged-over"]) => void;
40305
+ /**
40306
+ * `ui-folder-dragged-out`: With `folder`: `ui-file-dragged-out`'s twin.
40307
+ * - `event.detail`: `{ count: number, kinds: string[], via: "drop" | "zone" }`
40308
+ */
40309
+ "on-ui-folder-dragged-out"?: (event: UIUploaderEventMap["ui-folder-dragged-out"]) => void;
40310
+ /**
40311
+ * `ui-file-dropping`: A file picked or dropped is about to be taken: cancel it to leave it out. `reason` says why it'll be turned away, when it will be.
40312
+ * - `event.detail`: `{ file: File, name: string, path: string, size: number, type: string, lastModified: number, via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
40313
+ * - cancelable: `preventDefault()` vetoes it
40314
+ */
40315
+ "on-ui-file-dropping"?: (event: UIUploaderEventMap["ui-file-dropping"]) => void;
40316
+ /**
40317
+ * `ui-file-dropped`: A file was taken, kept or turned away (`reason`), the same for a pick (`via: "dialog"`) as for a drop. `file.text()` reads it. `entry` and `handle` are there when the browser gives them: an entry on any drop, a handle on a drop in Chrome and Edge.
40318
+ * - `event.detail`: `{ file: File, name: string, path: string, size: number, type: string, lastModified: number, via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
40319
+ */
40320
+ "on-ui-file-dropped"?: (event: UIUploaderEventMap["ui-file-dropped"]) => void;
40321
+ /**
40322
+ * `ui-folder-dropping`: With `folder`: a folder is about to be taken, with its files: cancel it to leave it all out.
40323
+ * - `event.detail`: `{ name: string, path: string, files: File[], via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
40324
+ * - cancelable: `preventDefault()` vetoes it
40325
+ */
40326
+ "on-ui-folder-dropping"?: (event: UIUploaderEventMap["ui-folder-dropping"]) => void;
40327
+ /**
40328
+ * `ui-folder-dropped`: With `folder`: a folder was taken; a `ui-file-dropped` follows for each file in it.
40329
+ * - `event.detail`: `{ name: string, path: string, files: File[], via: "dialog" | "drop" | "zone", reason?: string, entry?: FileSystemEntry, handle?: FileSystemHandle }`
40330
+ */
40331
+ "on-ui-folder-dropped"?: (event: UIUploaderEventMap["ui-folder-dropped"]) => void;
40332
+ /**
40333
+ * `ui-uploading`: The files kept are about to be posted to `destination`, or handed to `action`: cancel it to take the upload over, and nothing is posted or called.
40334
+ * - `event.detail`: `{ files: File[] }`
40335
+ * - cancelable: `preventDefault()` vetoes it
40336
+ */
40337
+ "on-ui-uploading"?: (event: UIUploaderEventMap["ui-uploading"]) => void;
40338
+ /**
40339
+ * `ui-upload-progress`: While a file posts: how many bytes have gone, of its size.
40340
+ * - `event.detail`: `{ file: File, sent: number, size: number }`
40341
+ */
40342
+ "on-ui-upload-progress"?: (event: UIUploaderEventMap["ui-upload-progress"]) => void;
40343
+ /**
40344
+ * `ui-uploaded`: A file was posted: `response` is the server's answer, as JSON when it says so, else text; with `action`, what the action returned.
40345
+ * - `event.detail`: `{ file: File, response: unknown }`
40346
+ */
40347
+ "on-ui-uploaded"?: (event: UIUploaderEventMap["ui-uploaded"]) => void;
40348
+ /**
40349
+ * `ui-upload-failed`: A file couldn't be posted, or the `action` threw: `error` says why.
40350
+ * - `event.detail`: `{ file: File, error: Error }`
40351
+ */
40352
+ "on-ui-upload-failed"?: (event: UIUploaderEventMap["ui-upload-failed"]) => void;
40353
+ }
40354
+ /** `<ui-uploader>` in JSX: its own attributes, and HTML's global ones. */
40355
+ export interface UIUploaderJSXAttributes extends Omit<UIGlobalJSXAttributes<UIHTMLElement<UIUploaderEventMap>>, keyof UIUploaderAttributes>, UIUploaderAttributes {
40356
+ }
39276
40357
  /** `<ui-value>`'s own attributes, from its vocabulary. */
39277
40358
  export interface UIValueAttributes {
39278
40359
  /**
@@ -40485,6 +41566,12 @@ declare module "@solidjs/web/types/jsx.js" {
40485
41566
  * - default: What the box shows.
40486
41567
  */
40487
41568
  "ui-diagram-node": UIDiagramNodeJSXAttributes;
41569
+ /**
41570
+ * `<ui-dial>`: A dial lets people pick a number by turning it, with its value in the middle and its label under it.
41571
+ * - also known as: knob, rotary knob, radial slider, circular slider, gauge, arc slider
41572
+ * - events: `ui-moved`, `ui-changed`
41573
+ */
41574
+ "ui-dial": UIDialJSXAttributes;
40488
41575
  /**
40489
41576
  * `<ui-dimension>`: A dimension shows one measure in the reader's own units: 5 ft 8 in in the US, 172 cm elsewhere.
40490
41577
  * - also known as: measure, measurement, unit, number with units, length, weight, temperature, percent, percentage
@@ -41077,6 +42164,11 @@ declare module "@solidjs/web/types/jsx.js" {
41077
42164
  * - also known as: breadcrumb trail, you are here, location, page path, where you are, site path
41078
42165
  */
41079
42166
  "ui-site-breadcrumbs": UISiteBreadcrumbsJSXAttributes;
42167
+ /**
42168
+ * `<ui-site-links>`: Site links are the page shown's own links, for an app menu's end: the real page it stands for (its `live` link, Fomantic UI's original for Spell UI's pages), and a way to report a problem with it.
42169
+ * - also known as: page links, page actions, report a bug, original page, edit this page, external links
42170
+ */
42171
+ "ui-site-links": UISiteLinksJSXAttributes;
41080
42172
  /**
41081
42173
  * `<ui-site-nav>`: A site nav lists a site's pages as a tree, the page shown marked; a click goes to a page.
41082
42174
  * - also known as: site navigation, side navigation, sidebar menu, nav menu, site map, page tree
@@ -41084,7 +42176,7 @@ declare module "@solidjs/web/types/jsx.js" {
41084
42176
  */
41085
42177
  "ui-site-nav": UISiteNavJSXAttributes;
41086
42178
  /**
41087
- * `<ui-site-nav-button>`: A site nav button shows or hides the side navigation of the page layout around it: its icons only and back on a wide page, slid in and out on a narrow one. It's an item, for an app menu.
42179
+ * `<ui-site-nav-button>`: A site nav button shows or hides the side navigation of the page layout around it: its icons only and back on a wide page, slid in and out on a narrow one; or one of its side bars (`toggles`). It's an item, for an app menu.
41088
42180
  * - also known as: side bar button, drawer button, hamburger, menu button, navigation toggle, sidebar toggle
41089
42181
  * - slots:
41090
42182
  * - default: Content: text, `<ui-icon>`, `<ui-content>` (header, description), a nested list / menu.
@@ -41331,6 +42423,16 @@ declare module "@solidjs/web/types/jsx.js" {
41331
42423
  * - default: What shows in its box, besides its label; and the `<ui-tree-node>`s under it.
41332
42424
  */
41333
42425
  "ui-tree-node": UITreeNodeJSXAttributes;
42426
+ /**
42427
+ * `<ui-uploader>`: An uploader takes files someone picks or drops on it, or whole folders, then posts them to its `destination`, or hands them to its `action`.
42428
+ * - also known as: file upload, file uploader, upload, dropzone, drop zone, file drop, file picker, drag and drop, attachment
42429
+ * - slots:
42430
+ * - `icon`: Its icon, in place of its own cloud.
42431
+ * - `message`: Its line of help, in place of `message`.
42432
+ * - `button`: Its button (Choose files, Browse), in place of its own: a click opens the file dialog.
42433
+ * - events: `ui-file-dragged-over`, `ui-file-dragged-out`, `ui-folder-dragged-over`, `ui-folder-dragged-out`, `ui-file-dropping`, `ui-file-dropped`, `ui-folder-dropping`, `ui-folder-dropped`, `ui-uploading`, `ui-upload-progress`, `ui-uploaded`, `ui-upload-failed`
42434
+ */
42435
+ "ui-uploader": UIUploaderJSXAttributes;
41334
42436
  /**
41335
42437
  * `<ui-value>`: A statistic's value; a search result's price.
41336
42438
  * - also known as: statistic value, number, metric value
@@ -41390,6 +42492,7 @@ export interface UIEventMap {
41390
42492
  "ui-closed": CustomEvent<unknown>;
41391
42493
  "ui-node-clicked": CustomEvent<unknown>;
41392
42494
  "ui-node-moved": CustomEvent<unknown>;
42495
+ "ui-moved": CustomEvent<unknown>;
41393
42496
  "ui-searched": CustomEvent<unknown>;
41394
42497
  "ui-added": CustomEvent<unknown>;
41395
42498
  "ui-removed": CustomEvent<unknown>;
@@ -41418,7 +42521,6 @@ export interface UIEventMap {
41418
42521
  "ui-replied": CustomEvent<unknown>;
41419
42522
  "ui-animated": CustomEvent<unknown>;
41420
42523
  "ui-starred": CustomEvent<unknown>;
41421
- "ui-moved": CustomEvent<unknown>;
41422
42524
  "ui-stuck": CustomEvent<unknown>;
41423
42525
  "ui-unstuck": CustomEvent<unknown>;
41424
42526
  "ui-editing": CustomEvent<unknown>;
@@ -41427,6 +42529,18 @@ export interface UIEventMap {
41427
42529
  "ui-command": CustomEvent<unknown>;
41428
42530
  "ui-scrolled-to": CustomEvent<unknown>;
41429
42531
  "ui-settled": CustomEvent<unknown>;
42532
+ "ui-file-dragged-over": CustomEvent<unknown>;
42533
+ "ui-file-dragged-out": CustomEvent<unknown>;
42534
+ "ui-folder-dragged-over": CustomEvent<unknown>;
42535
+ "ui-folder-dragged-out": CustomEvent<unknown>;
42536
+ "ui-file-dropping": CustomEvent<unknown>;
42537
+ "ui-file-dropped": CustomEvent<unknown>;
42538
+ "ui-folder-dropping": CustomEvent<unknown>;
42539
+ "ui-folder-dropped": CustomEvent<unknown>;
42540
+ "ui-uploading": CustomEvent<unknown>;
42541
+ "ui-upload-progress": CustomEvent<unknown>;
42542
+ "ui-uploaded": CustomEvent<unknown>;
42543
+ "ui-upload-failed": CustomEvent<unknown>;
41430
42544
  "ui-in-view": CustomEvent<unknown>;
41431
42545
  "ui-out-of-view": CustomEvent<unknown>;
41432
42546
  "ui-top-in-view": CustomEvent<unknown>;
@@ -41468,6 +42582,7 @@ declare global {
41468
42582
  "ui-device": UIHTMLElement<UIDeviceEventMap>;
41469
42583
  "ui-diagram": UIHTMLElement<UIDiagramEventMap>;
41470
42584
  "ui-diagram-node": HTMLElement;
42585
+ "ui-dial": UIHTMLElement<UIDialEventMap>;
41471
42586
  "ui-dimension": HTMLElement;
41472
42587
  "ui-dimmer": UIHTMLElement<UIDimmerEventMap>;
41473
42588
  "ui-divider": HTMLElement;
@@ -41543,6 +42658,7 @@ declare global {
41543
42658
  "ui-sidebar": UIHTMLElement<UISidebarEventMap>;
41544
42659
  "ui-sides": UIHTMLElement<UISidesEventMap>;
41545
42660
  "ui-site-breadcrumbs": HTMLElement;
42661
+ "ui-site-links": HTMLElement;
41546
42662
  "ui-site-nav": UIHTMLElement<UISiteNavEventMap>;
41547
42663
  "ui-site-nav-button": HTMLElement;
41548
42664
  "ui-site-tabs": UIHTMLElement<UISiteTabsEventMap>;
@@ -41576,6 +42692,7 @@ declare global {
41576
42692
  "ui-tree-diagram": UIHTMLElement<UITreeDiagramEventMap>;
41577
42693
  "ui-tree-item": UIHTMLElement<UITreeItemEventMap>;
41578
42694
  "ui-tree-node": HTMLElement;
42695
+ "ui-uploader": UIHTMLElement<UIUploaderEventMap>;
41579
42696
  "ui-value": HTMLElement;
41580
42697
  "ui-video": UIHTMLElement<UIVideoEventMap>;
41581
42698
  "ui-visibility": UIHTMLElement<UIVisibilityEventMap>;