@prestack/thread-ui 0.1.1 → 0.1.2

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 (343) hide show
  1. package/CHANGELOG.md +174 -0
  2. package/dist/ui/animations/anm_appear.d.ts +8 -8
  3. package/dist/ui/animations/anm_blur_in.d.ts +12 -12
  4. package/dist/ui/animations/anm_blur_out.d.ts +12 -12
  5. package/dist/ui/animations/anm_dismiss.d.ts +12 -12
  6. package/dist/ui/animations/anm_drop.d.ts +12 -12
  7. package/dist/ui/animations/anm_fall.d.ts +12 -12
  8. package/dist/ui/animations/anm_flash.d.ts +9 -9
  9. package/dist/ui/animations/anm_glow.d.ts +8 -8
  10. package/dist/ui/animations/anm_lift.d.ts +8 -8
  11. package/dist/ui/animations/anm_nudge.d.ts +8 -8
  12. package/dist/ui/animations/anm_pop_in.d.ts +16 -16
  13. package/dist/ui/animations/anm_pop_out.d.ts +16 -16
  14. package/dist/ui/animations/anm_press.d.ts +9 -9
  15. package/dist/ui/animations/anm_pulse.d.ts +10 -10
  16. package/dist/ui/animations/anm_rise.d.ts +12 -12
  17. package/dist/ui/animations/anm_shake.d.ts +11 -11
  18. package/dist/ui/animations/anm_slide_in_left.d.ts +12 -12
  19. package/dist/ui/animations/anm_slide_in_right.d.ts +12 -12
  20. package/dist/ui/animations/anm_slide_out_left.d.ts +12 -12
  21. package/dist/ui/animations/anm_slide_out_right.d.ts +12 -12
  22. package/dist/ui/animations/anm_spin.d.ts +8 -8
  23. package/dist/ui/animations/anm_swell.d.ts +8 -8
  24. package/dist/ui/animations/anm_wobble.d.ts +13 -13
  25. package/dist/ui/animations/anm_zoom_in.d.ts +12 -12
  26. package/dist/ui/animations/anm_zoom_out.d.ts +12 -12
  27. package/dist/ui/animations.d.ts +8 -8
  28. package/dist/ui/animations.js +4 -4
  29. package/dist/ui/animations.ts +1 -1
  30. package/dist/ui/attach.js +22 -78
  31. package/dist/ui/attach.ts +8 -66
  32. package/dist/ui/charts.d.ts +0 -3
  33. package/dist/ui/charts.js +3 -7
  34. package/dist/ui/charts.tsx +0 -4
  35. package/dist/ui/checked.d.ts +1 -1
  36. package/dist/ui/checked.ts +1 -1
  37. package/dist/ui/collector.js +1 -1
  38. package/dist/ui/collector.ts +1 -1
  39. package/dist/ui/compositions.d.ts +9 -3
  40. package/dist/ui/compositions.js +9 -158
  41. package/dist/ui/compositions.ts +6 -170
  42. package/dist/ui/content.js +4 -7
  43. package/dist/ui/content.tsx +4 -15
  44. package/dist/ui/controls.js +1 -1
  45. package/dist/ui/door.d.ts +1 -1
  46. package/dist/ui/elements/accordion.d.ts +2 -1
  47. package/dist/ui/elements/accordion.js +4 -4
  48. package/dist/ui/elements/accordion.tsx +2 -1
  49. package/dist/ui/elements/aspect-ratio.d.ts +2 -1
  50. package/dist/ui/elements/aspect-ratio.js +1 -1
  51. package/dist/ui/elements/aspect-ratio.tsx +2 -1
  52. package/dist/ui/elements/avatar.d.ts +2 -1
  53. package/dist/ui/elements/avatar.js +3 -3
  54. package/dist/ui/elements/avatar.tsx +2 -1
  55. package/dist/ui/elements/badge.d.ts +2 -1
  56. package/dist/ui/elements/badge.js +3 -3
  57. package/dist/ui/elements/badge.tsx +2 -1
  58. package/dist/ui/elements/bars.d.ts +2 -1
  59. package/dist/ui/elements/bars.js +5 -5
  60. package/dist/ui/elements/bars.tsx +2 -1
  61. package/dist/ui/elements/bars.works.js +3 -3
  62. package/dist/ui/elements/box.d.ts +2 -1
  63. package/dist/ui/elements/box.js +1 -1
  64. package/dist/ui/elements/box.tsx +2 -1
  65. package/dist/ui/elements/breadcrumb.d.ts +2 -1
  66. package/dist/ui/elements/breadcrumb.js +5 -5
  67. package/dist/ui/elements/breadcrumb.tsx +2 -1
  68. package/dist/ui/elements/breadcrumb.works.js +1 -1
  69. package/dist/ui/elements/button.d.ts +2 -1
  70. package/dist/ui/elements/button.js +3 -3
  71. package/dist/ui/elements/button.tsx +2 -1
  72. package/dist/ui/elements/button.works.js +2 -2
  73. package/dist/ui/elements/column.d.ts +2 -1
  74. package/dist/ui/elements/column.js +1 -1
  75. package/dist/ui/elements/column.tsx +2 -1
  76. package/dist/ui/elements/consent.d.ts +2 -1
  77. package/dist/ui/elements/consent.js +10 -10
  78. package/dist/ui/elements/consent.tsx +2 -1
  79. package/dist/ui/elements/consent.works.js +1 -1
  80. package/dist/ui/elements/donut.d.ts +2 -1
  81. package/dist/ui/elements/donut.js +4 -4
  82. package/dist/ui/elements/donut.tsx +2 -1
  83. package/dist/ui/elements/donut.works.js +2 -2
  84. package/dist/ui/elements/each.d.ts +2 -1
  85. package/dist/ui/elements/each.js +3 -3
  86. package/dist/ui/elements/each.tsx +2 -1
  87. package/dist/ui/elements/each.works.js +2 -2
  88. package/dist/ui/elements/empty.d.ts +2 -1
  89. package/dist/ui/elements/empty.js +2 -2
  90. package/dist/ui/elements/empty.tsx +2 -1
  91. package/dist/ui/elements/field.d.ts +2 -1
  92. package/dist/ui/elements/field.js +3 -3
  93. package/dist/ui/elements/field.tsx +2 -1
  94. package/dist/ui/elements/field.works.js +1 -1
  95. package/dist/ui/elements/funnel.d.ts +2 -1
  96. package/dist/ui/elements/funnel.js +5 -5
  97. package/dist/ui/elements/funnel.tsx +2 -1
  98. package/dist/ui/elements/funnel.works.js +3 -3
  99. package/dist/ui/elements/gauge.d.ts +2 -1
  100. package/dist/ui/elements/gauge.js +3 -3
  101. package/dist/ui/elements/gauge.tsx +2 -1
  102. package/dist/ui/elements/gauge.works.js +1 -1
  103. package/dist/ui/elements/glyph.d.ts +2 -1
  104. package/dist/ui/elements/glyph.js +3 -3
  105. package/dist/ui/elements/glyph.tsx +2 -1
  106. package/dist/ui/elements/glyph.works.js +1 -1
  107. package/dist/ui/elements/grid.d.ts +2 -1
  108. package/dist/ui/elements/grid.js +1 -1
  109. package/dist/ui/elements/grid.tsx +2 -1
  110. package/dist/ui/elements/heatmap.d.ts +2 -1
  111. package/dist/ui/elements/heatmap.js +5 -5
  112. package/dist/ui/elements/heatmap.tsx +2 -1
  113. package/dist/ui/elements/heatmap.works.js +1 -1
  114. package/dist/ui/elements/hit-box.d.ts +2 -1
  115. package/dist/ui/elements/hit-box.js +2 -2
  116. package/dist/ui/elements/hit-box.tsx +2 -1
  117. package/dist/ui/elements/hit-box.works.d.ts +2 -2
  118. package/dist/ui/elements/hit-box.works.js +5 -5
  119. package/dist/ui/elements/hit-box.works.tsx +2 -1
  120. package/dist/ui/elements/image.d.ts +2 -1
  121. package/dist/ui/elements/image.js +2 -2
  122. package/dist/ui/elements/image.tsx +2 -1
  123. package/dist/ui/elements/line-chart.d.ts +2 -1
  124. package/dist/ui/elements/line-chart.js +4 -4
  125. package/dist/ui/elements/line-chart.tsx +2 -1
  126. package/dist/ui/elements/line-chart.works.js +2 -2
  127. package/dist/ui/elements/link.d.ts +2 -1
  128. package/dist/ui/elements/link.js +3 -3
  129. package/dist/ui/elements/link.tsx +2 -1
  130. package/dist/ui/elements/link.works.js +1 -1
  131. package/dist/ui/elements/media.d.ts +2 -1
  132. package/dist/ui/elements/media.js +2 -2
  133. package/dist/ui/elements/media.tsx +2 -1
  134. package/dist/ui/elements/menu.d.ts +2 -1
  135. package/dist/ui/elements/menu.js +5 -5
  136. package/dist/ui/elements/menu.tsx +2 -1
  137. package/dist/ui/elements/menu.works.d.ts +2 -1
  138. package/dist/ui/elements/menu.works.js +5 -5
  139. package/dist/ui/elements/menu.works.tsx +2 -1
  140. package/dist/ui/elements/money.d.ts +3 -1
  141. package/dist/ui/elements/money.js +10 -5
  142. package/dist/ui/elements/money.tsx +12 -3
  143. package/dist/ui/elements/money.works.js +1 -1
  144. package/dist/ui/elements/pagination.d.ts +2 -1
  145. package/dist/ui/elements/pagination.js +5 -5
  146. package/dist/ui/elements/pagination.tsx +2 -1
  147. package/dist/ui/elements/progress.d.ts +2 -1
  148. package/dist/ui/elements/progress.js +3 -3
  149. package/dist/ui/elements/progress.tsx +2 -1
  150. package/dist/ui/elements/radio-group.d.ts +2 -1
  151. package/dist/ui/elements/radio-group.js +4 -4
  152. package/dist/ui/elements/radio-group.tsx +2 -1
  153. package/dist/ui/elements/radio-group.works.js +1 -1
  154. package/dist/ui/elements/row.d.ts +2 -1
  155. package/dist/ui/elements/row.js +1 -1
  156. package/dist/ui/elements/row.tsx +2 -1
  157. package/dist/ui/elements/scatter.d.ts +2 -1
  158. package/dist/ui/elements/scatter.js +3 -3
  159. package/dist/ui/elements/scatter.tsx +2 -1
  160. package/dist/ui/elements/scatter.works.js +1 -1
  161. package/dist/ui/elements/select.d.ts +2 -1
  162. package/dist/ui/elements/select.js +4 -4
  163. package/dist/ui/elements/select.tsx +2 -1
  164. package/dist/ui/elements/separator.d.ts +2 -1
  165. package/dist/ui/elements/separator.js +2 -2
  166. package/dist/ui/elements/separator.tsx +2 -1
  167. package/dist/ui/elements/skeleton.d.ts +2 -1
  168. package/dist/ui/elements/skeleton.js +2 -2
  169. package/dist/ui/elements/skeleton.tsx +2 -1
  170. package/dist/ui/elements/slider.d.ts +2 -1
  171. package/dist/ui/elements/slider.js +3 -3
  172. package/dist/ui/elements/slider.tsx +2 -1
  173. package/dist/ui/elements/sparkline.d.ts +2 -1
  174. package/dist/ui/elements/sparkline.js +3 -3
  175. package/dist/ui/elements/sparkline.tsx +2 -1
  176. package/dist/ui/elements/sparkline.works.js +1 -1
  177. package/dist/ui/elements/spinner.d.ts +2 -1
  178. package/dist/ui/elements/spinner.js +2 -2
  179. package/dist/ui/elements/spinner.tsx +2 -1
  180. package/dist/ui/elements/stack.d.ts +2 -1
  181. package/dist/ui/elements/stack.js +1 -1
  182. package/dist/ui/elements/stack.tsx +2 -1
  183. package/dist/ui/elements/stat.d.ts +2 -1
  184. package/dist/ui/elements/stat.js +3 -3
  185. package/dist/ui/elements/stat.tsx +2 -1
  186. package/dist/ui/elements/stat.works.js +1 -1
  187. package/dist/ui/elements/surface.d.ts +2 -1
  188. package/dist/ui/elements/surface.js +2 -2
  189. package/dist/ui/elements/surface.tsx +2 -1
  190. package/dist/ui/elements/surface.works.js +1 -1
  191. package/dist/ui/elements/table.d.ts +2 -1
  192. package/dist/ui/elements/table.js +4 -4
  193. package/dist/ui/elements/table.tsx +2 -1
  194. package/dist/ui/elements/table.works.js +1 -1
  195. package/dist/ui/elements/tabs.d.ts +2 -1
  196. package/dist/ui/elements/tabs.js +4 -4
  197. package/dist/ui/elements/tabs.tsx +2 -1
  198. package/dist/ui/elements/tabs.works.js +1 -1
  199. package/dist/ui/elements/text.d.ts +2 -1
  200. package/dist/ui/elements/text.js +2 -2
  201. package/dist/ui/elements/text.tsx +2 -1
  202. package/dist/ui/elements/textarea.d.ts +2 -1
  203. package/dist/ui/elements/textarea.js +4 -4
  204. package/dist/ui/elements/textarea.tsx +2 -1
  205. package/dist/ui/elements/time.d.ts +3 -1
  206. package/dist/ui/elements/time.js +7 -4
  207. package/dist/ui/elements/time.tsx +9 -2
  208. package/dist/ui/elements/time.works.d.ts +1 -0
  209. package/dist/ui/elements/time.works.js +7 -3
  210. package/dist/ui/elements/time.works.ts +6 -2
  211. package/dist/ui/elements/toggle.d.ts +2 -1
  212. package/dist/ui/elements/toggle.js +3 -3
  213. package/dist/ui/elements/toggle.tsx +2 -1
  214. package/dist/ui/elements/tooltip.d.ts +2 -1
  215. package/dist/ui/elements/tooltip.js +2 -2
  216. package/dist/ui/elements/tooltip.tsx +2 -1
  217. package/dist/ui/elements/tooltip.works.js +2 -2
  218. package/dist/ui/elements/value.d.ts +3 -1
  219. package/dist/ui/elements/value.js +10 -5
  220. package/dist/ui/elements/value.tsx +12 -3
  221. package/dist/ui/elements/value.works.js +1 -1
  222. package/dist/ui/elements.d.ts +15 -11
  223. package/dist/ui/elements.js +6 -6
  224. package/dist/ui/elements.ts +7 -7
  225. package/dist/ui/fonts.d.ts +1 -1
  226. package/dist/ui/fonts.js +1 -1
  227. package/dist/ui/generators/dev.d.ts +1 -2
  228. package/dist/ui/generators/dev.js +33 -37
  229. package/dist/ui/generators/dev.ts +30 -37
  230. package/dist/ui/generators/elements.d.ts +1 -0
  231. package/dist/ui/generators/elements.js +11 -9
  232. package/dist/ui/generators/elements.ts +12 -9
  233. package/dist/ui/generators/i18n.js +6 -23
  234. package/dist/ui/generators/i18n.ts +1 -18
  235. package/dist/ui/generators/icons.js +5 -14
  236. package/dist/ui/generators/icons.ts +1 -10
  237. package/dist/ui/generators/react.js +4 -5
  238. package/dist/ui/generators/react.ts +2 -3
  239. package/dist/ui/generators/routes.js +66 -51
  240. package/dist/ui/generators/routes.ts +67 -46
  241. package/dist/ui/generators/show.js +9 -6
  242. package/dist/ui/generators/show.ts +4 -2
  243. package/dist/ui/generators/styles.js +12 -16
  244. package/dist/ui/generators/styles.ts +1 -5
  245. package/dist/ui/generators/variants.js +3 -3
  246. package/dist/ui/generators/variants.ts +1 -1
  247. package/dist/ui/i18n/catalogs/en.js +1 -1
  248. package/dist/ui/i18n/format.js +1 -1
  249. package/dist/ui/i18n/translator.js +2 -2
  250. package/dist/ui/material.d.ts +11 -11
  251. package/dist/ui/material.js +1 -1
  252. package/dist/ui/materials/mat_bordered.d.ts +13 -13
  253. package/dist/ui/materials/mat_bordered.js +1 -1
  254. package/dist/ui/materials/mat_ceramic.d.ts +13 -13
  255. package/dist/ui/materials/mat_ceramic.js +1 -1
  256. package/dist/ui/materials/mat_clay.d.ts +13 -13
  257. package/dist/ui/materials/mat_clay.js +1 -1
  258. package/dist/ui/materials/mat_elevated.d.ts +13 -13
  259. package/dist/ui/materials/mat_elevated.js +1 -1
  260. package/dist/ui/materials/mat_flat.d.ts +25 -25
  261. package/dist/ui/materials/mat_flat.js +1 -1
  262. package/dist/ui/materials/mat_glass.d.ts +17 -17
  263. package/dist/ui/materials/mat_glass.js +1 -1
  264. package/dist/ui/materials/mat_lit.d.ts +13 -13
  265. package/dist/ui/materials/mat_lit.js +1 -1
  266. package/dist/ui/materials/mat_moulded.d.ts +9 -9
  267. package/dist/ui/materials/mat_moulded.js +1 -1
  268. package/dist/ui/materials.d.ts +30 -30
  269. package/dist/ui/materials.js +3 -3
  270. package/dist/ui/materials.ts +1 -1
  271. package/dist/ui/modes.d.ts +2 -2
  272. package/dist/ui/presented.js +5 -5
  273. package/dist/ui/provider.d.ts +3 -0
  274. package/dist/ui/provider.js +9 -10
  275. package/dist/ui/provider.tsx +7 -5
  276. package/dist/ui/screens.js +6 -6
  277. package/dist/ui/screens.ts +1 -1
  278. package/dist/ui/scroll-lock.js +1 -1
  279. package/dist/ui/series.js +1 -1
  280. package/dist/ui/styleguide.js +1 -1
  281. package/dist/ui/tokens.d.ts +2 -2
  282. package/dist/ui/tokens.js +3 -3
  283. package/dist/ui/tokens.ts +1 -1
  284. package/dist/ui/validators.js +1 -1
  285. package/dist/ui/variant.d.ts +37 -37
  286. package/dist/ui/variant.js +2 -2
  287. package/dist/ui/variants/var_avatar-round.d.ts +13 -13
  288. package/dist/ui/variants/var_avatar-round.js +1 -1
  289. package/dist/ui/variants/var_bubble-me.d.ts +12 -12
  290. package/dist/ui/variants/var_bubble-me.js +1 -1
  291. package/dist/ui/variants/var_bubble-them.d.ts +10 -10
  292. package/dist/ui/variants/var_bubble-them.js +1 -1
  293. package/dist/ui/variants/var_button-border.d.ts +61 -61
  294. package/dist/ui/variants/var_button-border.js +1 -1
  295. package/dist/ui/variants/var_button-cta.d.ts +61 -61
  296. package/dist/ui/variants/var_button-cta.js +1 -1
  297. package/dist/ui/variants/var_button-destructive-ghost.d.ts +59 -59
  298. package/dist/ui/variants/var_button-destructive-ghost.js +1 -1
  299. package/dist/ui/variants/var_button-destructive.d.ts +61 -61
  300. package/dist/ui/variants/var_button-destructive.js +1 -1
  301. package/dist/ui/variants/var_button-fill.d.ts +61 -61
  302. package/dist/ui/variants/var_button-fill.js +1 -1
  303. package/dist/ui/variants/var_button-ghost.d.ts +59 -59
  304. package/dist/ui/variants/var_button-ghost.js +1 -1
  305. package/dist/ui/variants/var_button-glass.d.ts +40 -40
  306. package/dist/ui/variants/var_button-glass.js +1 -1
  307. package/dist/ui/variants/var_button-normal.d.ts +61 -61
  308. package/dist/ui/variants/var_button-normal.js +1 -1
  309. package/dist/ui/variants/var_button-quiet.d.ts +63 -63
  310. package/dist/ui/variants/var_button-quiet.js +1 -1
  311. package/dist/ui/variants/var_card.d.ts +17 -17
  312. package/dist/ui/variants/var_card.js +1 -1
  313. package/dist/ui/variants/var_chip.d.ts +10 -10
  314. package/dist/ui/variants/var_chip.js +1 -1
  315. package/dist/ui/variants/var_choice.d.ts +15 -15
  316. package/dist/ui/variants/var_choice.js +1 -1
  317. package/dist/ui/variants/var_framed.d.ts +5 -5
  318. package/dist/ui/variants/var_framed.js +1 -1
  319. package/dist/ui/variants/var_glyph-plain.d.ts +7 -7
  320. package/dist/ui/variants/var_glyph-plain.js +1 -1
  321. package/dist/ui/variants/var_input.d.ts +30 -30
  322. package/dist/ui/variants/var_input.js +1 -1
  323. package/dist/ui/variants/var_link-inline.d.ts +17 -17
  324. package/dist/ui/variants/var_link-inline.js +1 -1
  325. package/dist/ui/variants/var_list-row.d.ts +22 -22
  326. package/dist/ui/variants/var_list-row.js +1 -1
  327. package/dist/ui/variants/var_rule.d.ts +5 -5
  328. package/dist/ui/variants/var_rule.js +1 -1
  329. package/dist/ui/variants/var_skeleton-block.d.ts +9 -9
  330. package/dist/ui/variants/var_skeleton-block.js +1 -1
  331. package/dist/ui/variants/var_spinner-turning.d.ts +9 -9
  332. package/dist/ui/variants/var_spinner-turning.js +1 -1
  333. package/dist/ui/variants/var_stat-tile.d.ts +10 -10
  334. package/dist/ui/variants/var_stat-tile.js +1 -1
  335. package/dist/ui/variants/var_tab-bar.d.ts +14 -14
  336. package/dist/ui/variants/var_tab-bar.js +1 -1
  337. package/dist/ui/variants/var_tap-target.d.ts +11 -11
  338. package/dist/ui/variants/var_tap-target.js +1 -1
  339. package/dist/ui/variants.d.ts +88 -88
  340. package/dist/ui/wrappers.d.ts +7 -6
  341. package/dist/ui/wrappers.js +16 -14
  342. package/dist/ui/wrappers.tsx +21 -18
  343. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  export declare const RULE: {
2
- readonly id: "rule";
2
+ readonly id: 'rule';
3
3
  readonly sets: readonly [{
4
- readonly property: "borderWidth";
5
- readonly is: "edge-hair";
4
+ readonly property: 'borderWidth';
5
+ readonly is: 'edge-hair';
6
6
  }, {
7
- readonly property: "borderColor";
8
- readonly is: "colour-edge";
7
+ readonly property: 'borderColor';
8
+ readonly is: 'colour-edge';
9
9
  }];
10
10
  readonly reacts: readonly [];
11
11
  };
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const RULE = variant({
3
3
  id: 'rule',
4
4
  sets: [
@@ -1,17 +1,17 @@
1
1
  export declare const SKELETON_BLOCK: {
2
- readonly id: "skeleton-block";
2
+ readonly id: 'skeleton-block';
3
3
  readonly sets: readonly [{
4
- readonly property: "background";
5
- readonly is: "colour-sunken";
4
+ readonly property: 'background';
5
+ readonly is: 'colour-sunken';
6
6
  }, {
7
- readonly property: "borderRadius";
8
- readonly is: "radius-sm";
7
+ readonly property: 'borderRadius';
8
+ readonly is: 'radius-sm';
9
9
  }, {
10
- readonly property: "minHeight";
11
- readonly is: "control-sm";
10
+ readonly property: 'minHeight';
11
+ readonly is: 'control-sm';
12
12
  }, {
13
- readonly property: "animation";
14
- readonly is: "animation-waiting";
13
+ readonly property: 'animation';
14
+ readonly is: 'animation-waiting';
15
15
  }];
16
16
  readonly reacts: readonly [];
17
17
  };
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const SKELETON_BLOCK = variant({
3
3
  id: 'skeleton-block',
4
4
  sets: [
@@ -1,17 +1,17 @@
1
1
  export declare const SPINNER_TURNING: {
2
- readonly id: "spinner-turning";
2
+ readonly id: 'spinner-turning';
3
3
  readonly sets: readonly [{
4
- readonly property: "width";
5
- readonly is: "icon-md";
4
+ readonly property: 'width';
5
+ readonly is: 'icon-md';
6
6
  }, {
7
- readonly property: "height";
8
- readonly is: "icon-md";
7
+ readonly property: 'height';
8
+ readonly is: 'icon-md';
9
9
  }, {
10
- readonly property: "color";
11
- readonly is: "colour-accent";
10
+ readonly property: 'color';
11
+ readonly is: 'colour-accent';
12
12
  }, {
13
- readonly property: "animation";
14
- readonly is: "animation-working";
13
+ readonly property: 'animation';
14
+ readonly is: 'animation-working';
15
15
  }];
16
16
  readonly reacts: readonly [];
17
17
  };
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const SPINNER_TURNING = variant({
3
3
  id: 'spinner-turning',
4
4
  sets: [
@@ -1,18 +1,18 @@
1
1
  export declare const STAT_TILE: {
2
- readonly id: "stat-tile";
3
- readonly material: "flat";
2
+ readonly id: 'stat-tile';
3
+ readonly material: 'flat';
4
4
  readonly sets: readonly [{
5
- readonly property: "color";
6
- readonly is: "colour-ink";
5
+ readonly property: 'color';
6
+ readonly is: 'colour-ink';
7
7
  }, {
8
- readonly property: "borderRadius";
9
- readonly is: "radius-md";
8
+ readonly property: 'borderRadius';
9
+ readonly is: 'radius-md';
10
10
  }, {
11
- readonly property: "padding";
12
- readonly is: "space-4";
11
+ readonly property: 'padding';
12
+ readonly is: 'space-4';
13
13
  }, {
14
- readonly property: "gap";
15
- readonly is: "space-2";
14
+ readonly property: 'gap';
15
+ readonly is: 'space-2';
16
16
  }];
17
17
  readonly reacts: readonly ["focus", "hover"];
18
18
  };
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const STAT_TILE = variant({
3
3
  id: 'stat-tile',
4
4
  material: 'flat',
@@ -1,24 +1,24 @@
1
1
  export declare const TAB_BAR: {
2
- readonly id: "tab-bar";
3
- readonly material: "flat";
2
+ readonly id: 'tab-bar';
3
+ readonly material: 'flat';
4
4
  readonly sets: readonly [{
5
- readonly property: "color";
6
- readonly is: "colour-ink";
5
+ readonly property: 'color';
6
+ readonly is: 'colour-ink';
7
7
  }, {
8
- readonly property: "borderRadius";
9
- readonly is: "radius-lg";
8
+ readonly property: 'borderRadius';
9
+ readonly is: 'radius-lg';
10
10
  }, {
11
- readonly property: "minHeight";
12
- readonly is: "control-md";
11
+ readonly property: 'minHeight';
12
+ readonly is: 'control-md';
13
13
  }, {
14
- readonly property: "padding";
15
- readonly is: "space-1";
14
+ readonly property: 'padding';
15
+ readonly is: 'space-1';
16
16
  }, {
17
- readonly property: "gap";
18
- readonly is: "space-1";
17
+ readonly property: 'gap';
18
+ readonly is: 'space-1';
19
19
  }, {
20
- readonly property: "transition";
21
- readonly is: "motion-quick ease-out";
20
+ readonly property: 'transition';
21
+ readonly is: 'motion-quick ease-out';
22
22
  }];
23
23
  readonly reacts: readonly ["focus", "hover"];
24
24
  };
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const TAB_BAR = variant({
3
3
  id: 'tab-bar',
4
4
  material: 'flat',
@@ -1,32 +1,32 @@
1
1
  export declare const TAP_TARGET: {
2
- readonly id: "tap-target";
2
+ readonly id: 'tap-target';
3
3
  readonly sets: readonly [{
4
- readonly property: "borderRadius";
5
- readonly is: "radius-md";
4
+ readonly property: 'borderRadius';
5
+ readonly is: 'radius-md';
6
6
  }];
7
7
  readonly states: readonly [{
8
8
  readonly when: readonly ["tapped"];
9
9
  readonly sets: readonly [{
10
- readonly property: "animation";
11
- readonly is: "animation-flash";
10
+ readonly property: 'animation';
11
+ readonly is: 'animation-flash';
12
12
  }];
13
13
  }, {
14
14
  readonly when: readonly ["pressing"];
15
15
  readonly sets: readonly [{
16
- readonly property: "animation";
17
- readonly is: "animation-press";
16
+ readonly property: 'animation';
17
+ readonly is: 'animation-press';
18
18
  }];
19
19
  }, {
20
20
  readonly when: readonly ["carrying", "pressing"];
21
21
  readonly sets: readonly [{
22
- readonly property: "animation";
23
- readonly is: "animation-hover-lift";
22
+ readonly property: 'animation';
23
+ readonly is: 'animation-hover-lift';
24
24
  }];
25
25
  }, {
26
26
  readonly when: readonly ["carrying"];
27
27
  readonly sets: readonly [{
28
- readonly property: "animation";
29
- readonly is: "animation-hover-lift";
28
+ readonly property: 'animation';
29
+ readonly is: 'animation-hover-lift';
30
30
  }];
31
31
  }];
32
32
  readonly reacts: readonly ["tapped", "pressing", "carrying"];
@@ -1,4 +1,4 @@
1
- import { variant } from "../variant.js";
1
+ import { variant } from '../variant.js';
2
2
  export const TAP_TARGET = variant({
3
3
  id: 'tap-target',
4
4
  sets: [{ property: 'borderRadius', is: 'radius-md' }],
@@ -1,174 +1,174 @@
1
1
  export declare const VARIANTS: {
2
- readonly id: "variant";
3
- readonly at: "thread/ui/variants.ts";
4
- readonly files: "ui/var_*.ts";
5
- readonly describes: "How a thing looks: a material plus the style guide values it names directly, never raw ones, and how that look changes under a state. It says nothing about type, because typography belongs to the role the wording states; what is left here is the look of the box and the colour of what sits in it. Each row names a file prefixed `var_`, and that file is the variant: what it looks like, what it looks like under a state, and which states it reacts to. The row states which elements accept it, and it is worn as the tag, so a variant `button-fill` is written `<Button.buttonFill>` and an element nothing declares is refused. A state is the set of signals holding at once, and two states that can both hold and both set one property must have their combination declared, or which one wins is an accident of file order. An app adds its own to this same list, and a row that goes missing breaks the build, because what the framework offers is not an app’s to withdraw.";
2
+ readonly id: 'variant';
3
+ readonly at: 'thread/ui/variants.ts';
4
+ readonly files: 'ui/var_*.ts';
5
+ readonly describes: 'How a thing looks: a material plus the style guide values it names directly, never raw ones, and how that look changes under a state. It says nothing about type, because typography belongs to the role the wording states; what is left here is the look of the box and the colour of what sits in it. Each row names a file prefixed `var_`, and that file is the variant: what it looks like, what it looks like under a state, and which states it reacts to. The row states which elements accept it, and it is worn as the tag, so a variant `button-fill` is written `<Button.buttonFill>` and an element nothing declares is refused. A state is the set of signals holding at once, and two states that can both hold and both set one property must have their combination declared, or which one wins is an accident of file order. An app adds its own to this same list, and a row that goes missing breaks the build, because what the framework offers is not an app’s to withdraw.';
6
6
  readonly version: 1;
7
7
  readonly cites: readonly [{
8
- readonly on: "2026-08-24";
9
- readonly said: "Variants define lots of things. Including how they look in different states. Including how they look in multiple states at once. (hover, pressed) is one variant that covers both hover and pressed, so they look the same when they are simultaneous. (hover) (pressed) (hover, pressed) however have different states for the three situations.";
8
+ readonly on: '2026-08-24';
9
+ readonly said: 'Variants define lots of things. Including how they look in different states. Including how they look in multiple states at once. (hover, pressed) is one variant that covers both hover and pressed, so they look the same when they are simultaneous. (hover) (pressed) (hover, pressed) however have different states for the three situations.';
10
10
  }, {
11
- readonly on: "2026-08-25";
12
- readonly said: "Variants basically say: This is how I look. These are the elements that accept me. These are my behaviours under different states. These are the states I can react to.";
11
+ readonly on: '2026-08-25';
12
+ readonly said: 'Variants basically say: This is how I look. These are the elements that accept me. These are my behaviours under different states. These are the states I can react to.';
13
13
  }, {
14
- readonly on: "2026-08-28";
15
- readonly said: "fonts.ts as SSOT for everything related to fonts and easy to change fonts throughout the app like tokens, like....the exact same reason for existing that tokens+styleguide have is the same reason we have fonts.ts";
14
+ readonly on: '2026-08-28';
15
+ readonly said: 'fonts.ts as SSOT for everything related to fonts and easy to change fonts throughout the app like tokens, like....the exact same reason for existing that tokens+styleguide have is the same reason we have fonts.ts';
16
16
  }];
17
17
  readonly declares: readonly [{
18
- readonly id: "card";
19
- readonly section: "surface";
18
+ readonly id: 'card';
19
+ readonly section: 'surface';
20
20
  readonly at: string;
21
21
  readonly wears: readonly ["Accordion", "Bars", "Box", "Donut", "Empty", "Funnel", "Heatmap", "LineChart", "Media", "Menu", "Scatter", "Sparkline", "Surface", "Table", "Tooltip"];
22
- readonly describes: "A surface holding other content, and the shape every unregistered variant falls back to.";
22
+ readonly describes: 'A surface holding other content, and the shape every unregistered variant falls back to.';
23
23
  }, {
24
- readonly id: "list-row";
25
- readonly section: "surface";
24
+ readonly id: 'list-row';
25
+ readonly section: 'surface';
26
26
  readonly at: string;
27
27
  readonly wears: readonly ["Box"];
28
- readonly describes: "One row of a list — square, quiet, and separated by its neighbours rather than by a shadow.";
28
+ readonly describes: 'One row of a list — square, quiet, and separated by its neighbours rather than by a shadow.';
29
29
  }, {
30
- readonly id: "framed";
31
- readonly section: "surface";
30
+ readonly id: 'framed';
31
+ readonly section: 'surface';
32
32
  readonly at: string;
33
33
  readonly wears: readonly ["Image", "Media", "AspectRatio"];
34
- readonly describes: "A picture given the same corners as a panel, on a sunken ground so the gap before it loads is not a white hole.";
34
+ readonly describes: 'A picture given the same corners as a panel, on a sunken ground so the gap before it loads is not a white hole.';
35
35
  }, {
36
- readonly id: "bubble-them";
37
- readonly section: "surface";
36
+ readonly id: 'bubble-them';
37
+ readonly section: 'surface';
38
38
  readonly at: string;
39
39
  readonly wears: readonly ["Box"];
40
- readonly describes: "A message somebody else sent. The plain half of a conversation.";
40
+ readonly describes: 'A message somebody else sent. The plain half of a conversation.';
41
41
  }, {
42
- readonly id: "bubble-me";
43
- readonly section: "surface";
42
+ readonly id: 'bubble-me';
43
+ readonly section: 'surface';
44
44
  readonly at: string;
45
45
  readonly wears: readonly ["Box"];
46
- readonly describes: "A message the current person sent. Takes the accent, which is how a conversation reads as two voices without a second colour role.";
46
+ readonly describes: 'A message the current person sent. Takes the accent, which is how a conversation reads as two voices without a second colour role.';
47
47
  }, {
48
- readonly id: "button-fill";
49
- readonly section: "button";
48
+ readonly id: 'button-fill';
49
+ readonly section: 'button';
50
50
  readonly at: string;
51
51
  readonly wears: readonly ["Button"];
52
- readonly describes: "The one action a screen is asking for. The accent behind it, and the only button on a screen that should carry it.";
52
+ readonly describes: 'The one action a screen is asking for. The accent behind it, and the only button on a screen that should carry it.';
53
53
  }, {
54
- readonly id: "button-normal";
55
- readonly section: "button";
54
+ readonly id: 'button-normal';
55
+ readonly section: 'button';
56
56
  readonly at: string;
57
57
  readonly wears: readonly ["Button"];
58
- readonly describes: "The ordinary button. A surface with a hairline round it — pressable, and asking for nothing in particular.";
58
+ readonly describes: 'The ordinary button. A surface with a hairline round it — pressable, and asking for nothing in particular.';
59
59
  }, {
60
- readonly id: "button-ghost";
61
- readonly section: "button";
60
+ readonly id: 'button-ghost';
61
+ readonly section: 'button';
62
62
  readonly at: string;
63
63
  readonly wears: readonly ["Button"];
64
- readonly describes: "Wording that acts. No ground and no line until a pointer is over it, which is what keeps a row of them from reading as a wall of boxes.";
64
+ readonly describes: 'Wording that acts. No ground and no line until a pointer is over it, which is what keeps a row of them from reading as a wall of boxes.';
65
65
  }, {
66
- readonly id: "button-border";
67
- readonly section: "button";
66
+ readonly id: 'button-border';
67
+ readonly section: 'button';
68
68
  readonly at: string;
69
69
  readonly wears: readonly ["Button"];
70
- readonly describes: "An action offered beside a filled one. The accent as an edge rather than a ground, so the shape says pressable and the colour says not this one.";
70
+ readonly describes: 'An action offered beside a filled one. The accent as an edge rather than a ground, so the shape says pressable and the colour says not this one.';
71
71
  }, {
72
- readonly id: "button-destructive";
73
- readonly section: "button";
72
+ readonly id: 'button-destructive';
73
+ readonly section: 'button';
74
74
  readonly at: string;
75
75
  readonly wears: readonly ["Button"];
76
- readonly describes: "Something that cannot be undone. The same shape as the asking button, in the colour reserved for consequence.";
76
+ readonly describes: 'Something that cannot be undone. The same shape as the asking button, in the colour reserved for consequence.';
77
77
  }, {
78
- readonly id: "button-destructive-ghost";
79
- readonly section: "button";
78
+ readonly id: 'button-destructive-ghost';
79
+ readonly section: 'button';
80
80
  readonly at: string;
81
81
  readonly wears: readonly ["Button"];
82
- readonly describes: "A destructive action that is not the point of the screen — delete, sitting quietly at the end of a menu. Carries the negative as ink and gains a ground only under a pointer.";
82
+ readonly describes: 'A destructive action that is not the point of the screen — delete, sitting quietly at the end of a menu. Carries the negative as ink and gains a ground only under a pointer.';
83
83
  }, {
84
- readonly id: "button-cta";
85
- readonly section: "button";
84
+ readonly id: 'button-cta';
85
+ readonly section: 'button';
86
86
  readonly at: string;
87
87
  readonly wears: readonly ["Button"];
88
- readonly describes: "The one thing a landing screen exists to get pressed. Taller than every other button and set in running type rather than label type, which is what makes it read from across the page.";
88
+ readonly describes: 'The one thing a landing screen exists to get pressed. Taller than every other button and set in running type rather than label type, which is what makes it read from across the page.';
89
89
  }, {
90
- readonly id: "button-quiet";
91
- readonly section: "button";
90
+ readonly id: 'button-quiet';
91
+ readonly section: 'button';
92
92
  readonly at: string;
93
93
  readonly wears: readonly ["Button"];
94
- readonly describes: "An action that is available and is not being suggested — cancel, skip, dismiss. Ink that supports rather than states, and a smaller symbol beside it.";
94
+ readonly describes: 'An action that is available and is not being suggested — cancel, skip, dismiss. Ink that supports rather than states, and a smaller symbol beside it.';
95
95
  }, {
96
- readonly id: "button-glass";
97
- readonly section: "button";
96
+ readonly id: 'button-glass';
97
+ readonly section: 'button';
98
98
  readonly at: string;
99
99
  readonly wears: readonly ["Button"];
100
- readonly describes: "A button over a picture or a video, where a solid fill would hide what it is sitting on. What is behind shows through, softened.";
100
+ readonly describes: 'A button over a picture or a video, where a solid fill would hide what it is sitting on. What is behind shows through, softened.';
101
101
  }, {
102
- readonly id: "input";
103
- readonly section: "entry";
102
+ readonly id: 'input';
103
+ readonly section: 'entry';
104
104
  readonly at: string;
105
105
  readonly wears: readonly ["Field", "Select", "Slider", "Textarea", "Toggle"];
106
- readonly describes: "Anything a person types into. Tighter vertical room than a surface, so the text baseline sits where a label expects it.";
106
+ readonly describes: 'Anything a person types into. Tighter vertical room than a surface, so the text baseline sits where a label expects it.';
107
107
  }, {
108
- readonly id: "choice";
109
- readonly section: "entry";
108
+ readonly id: 'choice';
109
+ readonly section: 'entry';
110
110
  readonly at: string;
111
111
  readonly wears: readonly ["RadioGroup"];
112
- readonly describes: "A set of options laid out to be chosen between. A group is not a control — it cannot be focused or invalid itself, only the radios inside it can — so it takes arrangement and a ground and states nothing it cannot be in.";
112
+ readonly describes: 'A set of options laid out to be chosen between. A group is not a control — it cannot be focused or invalid itself, only the radios inside it can — so it takes arrangement and a ground and states nothing it cannot be in.';
113
113
  }, {
114
- readonly id: "tab-bar";
115
- readonly section: "navigation";
114
+ readonly id: 'tab-bar';
115
+ readonly section: 'navigation';
116
116
  readonly at: string;
117
117
  readonly wears: readonly ["Breadcrumb", "Pagination", "Tabs"];
118
- readonly describes: "The strip of destinations along one edge. Rounder and less padded than a surface, because it holds pressable things rather than content.";
118
+ readonly describes: 'The strip of destinations along one edge. Rounder and less padded than a surface, because it holds pressable things rather than content.';
119
119
  }, {
120
- readonly id: "link-inline";
121
- readonly section: "navigation";
120
+ readonly id: 'link-inline';
121
+ readonly section: 'navigation';
122
122
  readonly at: string;
123
123
  readonly wears: readonly ["Link"];
124
- readonly describes: "Wording that takes you somewhere. Carries the accent so it reads as reachable without an underline, and draws a real ring when a keyboard reaches it.";
124
+ readonly describes: 'Wording that takes you somewhere. Carries the accent so it reads as reachable without an underline, and draws a real ring when a keyboard reaches it.';
125
125
  }, {
126
- readonly id: "chip";
127
- readonly section: "marker";
126
+ readonly id: 'chip';
127
+ readonly section: 'marker';
128
128
  readonly at: string;
129
129
  readonly wears: readonly ["Badge"];
130
- readonly describes: "A small token standing for a value. The tightest room in the set, and pill-shaped like the buttons.";
130
+ readonly describes: 'A small token standing for a value. The tightest room in the set, and pill-shaped like the buttons.';
131
131
  }, {
132
- readonly id: "glyph-plain";
133
- readonly section: "marker";
132
+ readonly id: 'glyph-plain';
133
+ readonly section: 'marker';
134
134
  readonly at: string;
135
135
  readonly wears: readonly ["Glyph"];
136
- readonly describes: "A pictogram at the size most controls use, drawn in the ink of whatever it sits beside.";
136
+ readonly describes: 'A pictogram at the size most controls use, drawn in the ink of whatever it sits beside.';
137
137
  }, {
138
- readonly id: "avatar-round";
139
- readonly section: "marker";
138
+ readonly id: 'avatar-round';
139
+ readonly section: 'marker';
140
140
  readonly at: string;
141
141
  readonly wears: readonly ["Avatar"];
142
- readonly describes: "A person, standing for themselves. Fully round, sunken so it reads as a well rather than a card, and sized to be recognised at a glance.";
142
+ readonly describes: 'A person, standing for themselves. Fully round, sunken so it reads as a well rather than a card, and sized to be recognised at a glance.';
143
143
  }, {
144
- readonly id: "rule";
145
- readonly section: "marker";
144
+ readonly id: 'rule';
145
+ readonly section: 'marker';
146
146
  readonly at: string;
147
147
  readonly wears: readonly ["Separator"];
148
- readonly describes: "The line between two things. The thinnest a screen can draw, in the colour that separates without asking to be seen.";
148
+ readonly describes: 'The line between two things. The thinnest a screen can draw, in the colour that separates without asking to be seen.';
149
149
  }, {
150
- readonly id: "skeleton-block";
151
- readonly section: "marker";
150
+ readonly id: 'skeleton-block';
151
+ readonly section: 'marker';
152
152
  readonly at: string;
153
153
  readonly wears: readonly ["Skeleton"];
154
- readonly describes: "The shape of something that has not arrived. Sunken and breathing, which is what says waiting rather than empty.";
154
+ readonly describes: 'The shape of something that has not arrived. Sunken and breathing, which is what says waiting rather than empty.';
155
155
  }, {
156
- readonly id: "spinner-turning";
157
- readonly section: "marker";
156
+ readonly id: 'spinner-turning';
157
+ readonly section: 'marker';
158
158
  readonly at: string;
159
159
  readonly wears: readonly ["Spinner"];
160
- readonly describes: "Work with no measurable end. Turns without stopping, in the accent, so it reads as the app doing something rather than the app stuck.";
160
+ readonly describes: 'Work with no measurable end. Turns without stopping, in the accent, so it reads as the app doing something rather than the app stuck.';
161
161
  }, {
162
- readonly id: "stat-tile";
163
- readonly section: "figure";
162
+ readonly id: 'stat-tile';
163
+ readonly section: 'figure';
164
164
  readonly at: string;
165
165
  readonly wears: readonly ["Gauge", "Progress", "Stat"];
166
- readonly describes: "A single figure given room to be read at a glance, so its type role is the display one rather than body.";
166
+ readonly describes: 'A single figure given room to be read at a glance, so its type role is the display one rather than body.';
167
167
  }, {
168
- readonly id: "tap-target";
169
- readonly section: "gesture";
168
+ readonly id: 'tap-target';
169
+ readonly section: 'gesture';
170
170
  readonly at: string;
171
171
  readonly wears: readonly ["HitBox"];
172
- readonly describes: "Anything a finger acts on directly rather than through a control — the one variant a hit box wears. It is where a tap, a press and a carry are answered, because a hit box is the only thing that raises those and nothing accepted it before.";
172
+ readonly describes: 'Anything a finger acts on directly rather than through a control — the one variant a hit box wears. It is where a tap, a press and a carry are answered, because a hit box is the only thing that raises those and nothing accepted it before.';
173
173
  }];
174
174
  };
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import type { Collector } from './collector.ts';
3
- import type { ArrangementElement, VariantsFor, Wearing } from './checked.ts';
3
+ import type { ArrangementElement, Dispatching, VariantsFor, Wearing } from './checked.ts';
4
4
  import { PRESENTATION_BEHAVIOUR, type Clock, type Presentation, type Surface, type Ticker } from './door.ts';
5
5
  import { holds as declared } from './signals.ts';
6
6
  declare module 'react' {
@@ -31,7 +31,7 @@ export interface UiConfig {
31
31
  };
32
32
  readonly collector?: Collector;
33
33
  readonly platform?: string;
34
- readonly dispatch?: (name: string, input?: Readonly<Record<string, unknown>>) => Promise<unknown>;
34
+ readonly dispatch?: (name: keyof Dispatching, input?: Readonly<Record<string, unknown>>) => Promise<unknown>;
35
35
  readonly navigateTo?: (screen: string) => void;
36
36
  readonly actor?: {
37
37
  readonly id: string | null;
@@ -53,7 +53,7 @@ export declare function useUi(): UiConfig;
53
53
  export interface SurfaceRequest {
54
54
  readonly className?: string;
55
55
  readonly invokes?: {
56
- readonly dispatch?: string;
56
+ readonly dispatch?: keyof Dispatching;
57
57
  readonly input?: Readonly<Record<string, unknown>>;
58
58
  readonly on?: 'press' | 'shown';
59
59
  };
@@ -64,7 +64,7 @@ export interface SurfaceRequest {
64
64
  }
65
65
  export declare function useSurface(request?: SurfaceRequest): Surface;
66
66
  export type Press = {
67
- readonly dispatch: string;
67
+ readonly dispatch: keyof Dispatching;
68
68
  readonly input?: Readonly<Record<string, unknown>>;
69
69
  readonly navigateTo?: never;
70
70
  readonly onPress?: never;
@@ -85,7 +85,7 @@ export type Press = {
85
85
  readonly onPress?: never;
86
86
  };
87
87
  export declare function pressOf(props: {
88
- readonly dispatch?: string;
88
+ readonly dispatch?: keyof Dispatching;
89
89
  readonly input?: Readonly<Record<string, unknown>>;
90
90
  readonly navigateTo?: string;
91
91
  readonly onPress?: () => void;
@@ -94,11 +94,12 @@ export interface PressOrigin {
94
94
  readonly element: string;
95
95
  readonly name?: string;
96
96
  }
97
+ export declare function pressing(ui: ReturnType<typeof useUi>, press: Press, origin?: PressOrigin): (() => void) | undefined;
97
98
  export declare function usePress(press: Press, origin?: PressOrigin): (() => void) | undefined;
98
99
  export declare function useVisibility(active: boolean): (node: HTMLElement | null) => void;
99
100
  export interface ScreenOptions {
100
101
  readonly as?: Presentation;
101
- readonly views?: readonly string[];
102
+ readonly views?: readonly (keyof Dispatching)[];
102
103
  readonly unreachable?: boolean;
103
104
  }
104
105
  type Component<P> = (props: P) => ReactNode;