attio 0.0.1-experimental.20250725 → 0.0.1-experimental.20250729.1

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 (370) hide show
  1. package/lib/client/alert.d.ts +1 -29
  2. package/lib/client/alert.d.ts.map +1 -0
  3. package/lib/client/alert.js +3 -0
  4. package/lib/client/alert.js.map +1 -0
  5. package/lib/client/bulk-record-action.d.ts +1 -45
  6. package/lib/client/bulk-record-action.d.ts.map +1 -0
  7. package/lib/client/bulk-record-action.js +3 -0
  8. package/lib/client/bulk-record-action.js.map +1 -0
  9. package/lib/client/call-recording-insight-text-selection-action.d.ts +1 -42
  10. package/lib/client/call-recording-insight-text-selection-action.d.ts.map +1 -0
  11. package/lib/client/call-recording-insight-text-selection-action.js +3 -0
  12. package/lib/client/call-recording-insight-text-selection-action.js.map +1 -0
  13. package/lib/client/call-recording-summary-text-selection-action.d.ts +1 -42
  14. package/lib/client/call-recording-summary-text-selection-action.d.ts.map +1 -0
  15. package/lib/client/call-recording-summary-text-selection-action.js +3 -0
  16. package/lib/client/call-recording-summary-text-selection-action.js.map +1 -0
  17. package/lib/client/call-recording-transcript-text-selection-action.d.ts +1 -50
  18. package/lib/client/call-recording-transcript-text-selection-action.d.ts.map +1 -0
  19. package/lib/client/call-recording-transcript-text-selection-action.js +3 -0
  20. package/lib/client/call-recording-transcript-text-selection-action.js.map +1 -0
  21. package/lib/client/components/avatar.d.ts +1 -24
  22. package/lib/client/components/avatar.d.ts.map +1 -0
  23. package/lib/client/components/avatar.js +3 -0
  24. package/lib/client/components/avatar.js.map +1 -0
  25. package/lib/client/components/badge.d.ts +1 -4
  26. package/lib/client/components/badge.d.ts.map +1 -0
  27. package/lib/client/components/badge.js +3 -0
  28. package/lib/client/components/badge.js.map +1 -0
  29. package/lib/client/components/button.d.ts +1 -25
  30. package/lib/client/components/button.d.ts.map +1 -0
  31. package/lib/client/components/button.js +3 -0
  32. package/lib/client/components/button.js.map +1 -0
  33. package/lib/client/components/column.d.ts +1 -8
  34. package/lib/client/components/column.d.ts.map +1 -0
  35. package/lib/client/components/column.js +3 -0
  36. package/lib/client/components/column.js.map +1 -0
  37. package/lib/client/components/combobox.d.ts +1 -57
  38. package/lib/client/components/combobox.d.ts.map +1 -0
  39. package/lib/client/components/combobox.js +3 -0
  40. package/lib/client/components/combobox.js.map +1 -0
  41. package/lib/client/components/dialog-list.d.ts +1 -22
  42. package/lib/client/components/dialog-list.d.ts.map +1 -0
  43. package/lib/client/components/dialog-list.js +3 -0
  44. package/lib/client/components/dialog-list.js.map +1 -0
  45. package/lib/client/components/divider.d.ts +1 -3
  46. package/lib/client/components/divider.d.ts.map +1 -0
  47. package/lib/client/components/divider.js +3 -0
  48. package/lib/client/components/divider.js.map +1 -0
  49. package/lib/client/components/index.d.ts +1 -0
  50. package/lib/client/components/index.d.ts.map +1 -0
  51. package/lib/client/components/index.js +30 -0
  52. package/lib/client/components/index.js.map +1 -0
  53. package/lib/client/components/json.d.ts +1 -3
  54. package/lib/client/components/json.d.ts.map +1 -0
  55. package/lib/client/components/json.js +3 -0
  56. package/lib/client/components/json.js.map +1 -0
  57. package/lib/client/components/keyboard-key.d.ts +2 -7
  58. package/lib/client/components/keyboard-key.d.ts.map +1 -0
  59. package/lib/client/components/keyboard-key.js +3 -0
  60. package/lib/client/components/keyboard-key.js.map +1 -0
  61. package/lib/client/components/link.d.ts +1 -9
  62. package/lib/client/components/link.d.ts.map +1 -0
  63. package/lib/client/components/link.js +3 -0
  64. package/lib/client/components/link.js.map +1 -0
  65. package/lib/client/components/row.d.ts +1 -13
  66. package/lib/client/components/row.d.ts.map +1 -0
  67. package/lib/client/components/row.js +3 -0
  68. package/lib/client/components/row.js.map +1 -0
  69. package/lib/client/components/section.d.ts +1 -11
  70. package/lib/client/components/section.d.ts.map +1 -0
  71. package/lib/client/components/section.js +3 -0
  72. package/lib/client/components/section.js.map +1 -0
  73. package/lib/client/components/text-block.d.ts +1 -11
  74. package/lib/client/components/text-block.d.ts.map +1 -0
  75. package/lib/client/components/text-block.js +3 -0
  76. package/lib/client/components/text-block.js.map +1 -0
  77. package/lib/client/components/typography.d.ts +1 -13
  78. package/lib/client/components/typography.d.ts.map +1 -0
  79. package/lib/client/components/typography.js +3 -0
  80. package/lib/client/components/typography.js.map +1 -0
  81. package/lib/client/components/widget-badge.d.ts +1 -5
  82. package/lib/client/components/widget-badge.d.ts.map +1 -0
  83. package/lib/client/components/widget-badge.js +3 -0
  84. package/lib/client/components/widget-badge.js.map +1 -0
  85. package/lib/client/components/widget-loading.d.ts +1 -5
  86. package/lib/client/components/widget-loading.d.ts.map +1 -0
  87. package/lib/client/components/widget-loading.js +3 -0
  88. package/lib/client/components/widget-loading.js.map +1 -0
  89. package/lib/client/components/widget-text-primary.d.ts +1 -6
  90. package/lib/client/components/widget-text-primary.d.ts.map +1 -0
  91. package/lib/client/components/widget-text-primary.js +3 -0
  92. package/lib/client/components/widget-text-primary.js.map +1 -0
  93. package/lib/client/components/widget-text-secondary.d.ts +1 -6
  94. package/lib/client/components/widget-text-secondary.d.ts.map +1 -0
  95. package/lib/client/components/widget-text-secondary.js +3 -0
  96. package/lib/client/components/widget-text-secondary.js.map +1 -0
  97. package/lib/client/components/widget-text-widget.d.ts +1 -16
  98. package/lib/client/components/widget-text-widget.d.ts.map +1 -0
  99. package/lib/client/components/widget-text-widget.js +3 -0
  100. package/lib/client/components/widget-text-widget.js.map +1 -0
  101. package/lib/client/components/widget-title.d.ts +1 -6
  102. package/lib/client/components/widget-title.d.ts.map +1 -0
  103. package/lib/client/components/widget-title.js +3 -0
  104. package/lib/client/components/widget-title.js.map +1 -0
  105. package/lib/client/components/widget.d.ts +1 -4
  106. package/lib/client/components/widget.d.ts.map +1 -0
  107. package/lib/client/components/widget.js +3 -0
  108. package/lib/client/components/widget.js.map +1 -0
  109. package/lib/client/confirm.d.ts +1 -58
  110. package/lib/client/confirm.d.ts.map +1 -0
  111. package/lib/client/confirm.js +3 -0
  112. package/lib/client/confirm.js.map +1 -0
  113. package/lib/client/forms/array.d.ts +1 -9
  114. package/lib/client/forms/array.d.ts.map +1 -0
  115. package/lib/client/forms/array.js +3 -0
  116. package/lib/client/forms/array.js.map +1 -0
  117. package/lib/client/forms/boolean.d.ts +1 -6
  118. package/lib/client/forms/boolean.d.ts.map +1 -0
  119. package/lib/client/forms/boolean.js +3 -0
  120. package/lib/client/forms/boolean.js.map +1 -0
  121. package/lib/client/forms/index.d.ts +1 -0
  122. package/lib/client/forms/index.d.ts.map +1 -0
  123. package/lib/client/forms/index.js +12 -0
  124. package/lib/client/forms/index.js.map +1 -0
  125. package/lib/client/forms/number.d.ts +1 -24
  126. package/lib/client/forms/number.d.ts.map +1 -0
  127. package/lib/client/forms/number.js +3 -0
  128. package/lib/client/forms/number.js.map +1 -0
  129. package/lib/client/forms/path.d.ts +2 -1
  130. package/lib/client/forms/path.d.ts.map +1 -0
  131. package/lib/client/forms/path.js +3 -0
  132. package/lib/client/forms/path.js.map +1 -0
  133. package/lib/client/forms/string.d.ts +5 -39
  134. package/lib/client/forms/string.d.ts.map +1 -0
  135. package/lib/client/forms/string.js +3 -0
  136. package/lib/client/forms/string.js.map +1 -0
  137. package/lib/client/forms/value.d.ts +1 -8
  138. package/lib/client/forms/value.d.ts.map +1 -0
  139. package/lib/client/forms/value.js +3 -0
  140. package/lib/client/forms/value.js.map +1 -0
  141. package/lib/client/hooks/index.d.ts +3 -2
  142. package/lib/client/hooks/index.d.ts.map +1 -0
  143. package/lib/client/hooks/index.js +16 -0
  144. package/lib/client/hooks/index.js.map +1 -0
  145. package/lib/client/hooks/use-async-cache.d.ts +1 -62
  146. package/lib/client/hooks/use-async-cache.d.ts.map +1 -0
  147. package/lib/client/hooks/use-async-cache.js +3 -0
  148. package/lib/client/hooks/use-async-cache.js.map +1 -0
  149. package/lib/client/hooks/use-form.d.ts +5 -215
  150. package/lib/client/hooks/use-form.d.ts.map +1 -0
  151. package/lib/client/hooks/use-form.js +3 -0
  152. package/lib/client/hooks/use-form.js.map +1 -0
  153. package/lib/client/hooks/use-query.d.ts +1 -45
  154. package/lib/client/hooks/use-query.d.ts.map +1 -0
  155. package/lib/client/hooks/use-query.js +3 -0
  156. package/lib/client/hooks/use-query.js.map +1 -0
  157. package/lib/client/hooks/use-record.d.ts +1 -9
  158. package/lib/client/hooks/use-record.d.ts.map +1 -0
  159. package/lib/client/hooks/use-record.js +3 -0
  160. package/lib/client/hooks/use-record.js.map +1 -0
  161. package/lib/client/hooks/use-records.d.ts +1 -9
  162. package/lib/client/hooks/use-records.d.ts.map +1 -0
  163. package/lib/client/hooks/use-records.js +3 -0
  164. package/lib/client/hooks/use-records.js.map +1 -0
  165. package/lib/client/hooks/use-workspace.d.ts +1 -9
  166. package/lib/client/hooks/use-workspace.d.ts.map +1 -0
  167. package/lib/client/hooks/use-workspace.js +3 -0
  168. package/lib/client/hooks/use-workspace.js.map +1 -0
  169. package/lib/client/icon.d.ts +2 -1
  170. package/lib/client/icon.d.ts.map +1 -0
  171. package/lib/client/icon.js +3 -0
  172. package/lib/client/icon.js.map +1 -0
  173. package/lib/client/index.d.ts +2 -1
  174. package/lib/client/index.d.ts.map +1 -0
  175. package/lib/client/index.js +49 -0
  176. package/lib/client/index.js.map +1 -0
  177. package/lib/client/object-slug.d.ts +1 -0
  178. package/lib/client/object-slug.d.ts.map +1 -0
  179. package/lib/client/object-slug.js +3 -0
  180. package/lib/client/object-slug.js.map +1 -0
  181. package/lib/client/platform.d.ts +1 -0
  182. package/lib/client/platform.d.ts.map +1 -0
  183. package/lib/client/platform.js +3 -0
  184. package/lib/client/platform.js.map +1 -0
  185. package/lib/client/record-action.d.ts +1 -44
  186. package/lib/client/record-action.d.ts.map +1 -0
  187. package/lib/client/record-action.js +3 -0
  188. package/lib/client/record-action.js.map +1 -0
  189. package/lib/client/record-widget.d.ts +2 -52
  190. package/lib/client/record-widget.d.ts.map +1 -0
  191. package/lib/client/record-widget.js +3 -0
  192. package/lib/client/record-widget.js.map +1 -0
  193. package/lib/client/run-query.d.ts +2 -48
  194. package/lib/client/run-query.d.ts.map +1 -0
  195. package/lib/client/run-query.js +3 -0
  196. package/lib/client/run-query.js.map +1 -0
  197. package/lib/client/show-dialog.d.ts +1 -23
  198. package/lib/client/show-dialog.d.ts.map +1 -0
  199. package/lib/client/show-dialog.js +3 -0
  200. package/lib/client/show-dialog.js.map +1 -0
  201. package/lib/client/show-iframe.d.ts +1 -63
  202. package/lib/client/show-iframe.d.ts.map +1 -0
  203. package/lib/client/show-iframe.js +3 -0
  204. package/lib/client/show-iframe.js.map +1 -0
  205. package/lib/client/show-toast.d.ts +1 -48
  206. package/lib/client/show-toast.d.ts.map +1 -0
  207. package/lib/client/show-toast.js +3 -0
  208. package/lib/client/show-toast.js.map +1 -0
  209. package/lib/client/workflow/block-config/config-schema/array.d.ts +1 -5
  210. package/lib/client/workflow/block-config/config-schema/array.d.ts.map +1 -0
  211. package/lib/client/workflow/block-config/config-schema/array.js +3 -0
  212. package/lib/client/workflow/block-config/config-schema/array.js.map +1 -0
  213. package/lib/client/workflow/block-config/config-schema/attio-record.d.ts +1 -8
  214. package/lib/client/workflow/block-config/config-schema/attio-record.d.ts.map +1 -0
  215. package/lib/client/workflow/block-config/config-schema/attio-record.js +3 -0
  216. package/lib/client/workflow/block-config/config-schema/attio-record.js.map +1 -0
  217. package/lib/client/workflow/block-config/config-schema/attio-select.d.ts +1 -8
  218. package/lib/client/workflow/block-config/config-schema/attio-select.d.ts.map +1 -0
  219. package/lib/client/workflow/block-config/config-schema/attio-select.js +3 -0
  220. package/lib/client/workflow/block-config/config-schema/attio-select.js.map +1 -0
  221. package/lib/client/workflow/block-config/config-schema/friendly-node.d.ts +1 -3
  222. package/lib/client/workflow/block-config/config-schema/friendly-node.d.ts.map +1 -0
  223. package/lib/client/workflow/block-config/config-schema/friendly-node.js +3 -0
  224. package/lib/client/workflow/block-config/config-schema/friendly-node.js.map +1 -0
  225. package/lib/client/workflow/block-config/config-schema/index.d.ts +10 -9
  226. package/lib/client/workflow/block-config/config-schema/index.d.ts.map +1 -0
  227. package/lib/client/workflow/block-config/config-schema/index.js +3 -0
  228. package/lib/client/workflow/block-config/config-schema/index.js.map +1 -0
  229. package/lib/client/workflow/block-config/config-schema/node.d.ts +1 -9
  230. package/lib/client/workflow/block-config/config-schema/node.d.ts.map +1 -0
  231. package/lib/client/workflow/block-config/config-schema/node.js +3 -0
  232. package/lib/client/workflow/block-config/config-schema/node.js.map +1 -0
  233. package/lib/client/workflow/block-config/config-schema/number.d.ts +1 -8
  234. package/lib/client/workflow/block-config/config-schema/number.d.ts.map +1 -0
  235. package/lib/client/workflow/block-config/config-schema/number.js +3 -0
  236. package/lib/client/workflow/block-config/config-schema/number.js.map +1 -0
  237. package/lib/client/workflow/block-config/config-schema/path.d.ts +1 -7
  238. package/lib/client/workflow/block-config/config-schema/path.d.ts.map +1 -0
  239. package/lib/client/workflow/block-config/config-schema/path.js +3 -0
  240. package/lib/client/workflow/block-config/config-schema/path.js.map +1 -0
  241. package/lib/client/workflow/block-config/config-schema/string.d.ts +1 -8
  242. package/lib/client/workflow/block-config/config-schema/string.d.ts.map +1 -0
  243. package/lib/client/workflow/block-config/config-schema/string.js +3 -0
  244. package/lib/client/workflow/block-config/config-schema/string.js.map +1 -0
  245. package/lib/client/workflow/block-config/config-schema/struct.d.ts +1 -5
  246. package/lib/client/workflow/block-config/config-schema/struct.d.ts.map +1 -0
  247. package/lib/client/workflow/block-config/config-schema/struct.js +3 -0
  248. package/lib/client/workflow/block-config/config-schema/struct.js.map +1 -0
  249. package/lib/client/workflow/block-config/index.d.ts +1 -0
  250. package/lib/client/workflow/block-config/index.d.ts.map +1 -0
  251. package/lib/client/workflow/block-config/index.js +19 -0
  252. package/lib/client/workflow/block-config/index.js.map +1 -0
  253. package/lib/client/workflow/block-config/inputs/attio-record.d.ts +1 -3
  254. package/lib/client/workflow/block-config/inputs/attio-record.d.ts.map +1 -0
  255. package/lib/client/workflow/block-config/inputs/attio-record.js +3 -0
  256. package/lib/client/workflow/block-config/inputs/attio-record.js.map +1 -0
  257. package/lib/client/workflow/block-config/inputs/attio-select.d.ts +1 -3
  258. package/lib/client/workflow/block-config/inputs/attio-select.d.ts.map +1 -0
  259. package/lib/client/workflow/block-config/inputs/attio-select.js +3 -0
  260. package/lib/client/workflow/block-config/inputs/attio-select.js.map +1 -0
  261. package/lib/client/workflow/block-config/inputs/get-inputs.d.ts +1 -5
  262. package/lib/client/workflow/block-config/inputs/get-inputs.d.ts.map +1 -0
  263. package/lib/client/workflow/block-config/inputs/get-inputs.js +3 -0
  264. package/lib/client/workflow/block-config/inputs/get-inputs.js.map +1 -0
  265. package/lib/client/workflow/block-config/inputs/number.d.ts +1 -3
  266. package/lib/client/workflow/block-config/inputs/number.d.ts.map +1 -0
  267. package/lib/client/workflow/block-config/inputs/number.js +3 -0
  268. package/lib/client/workflow/block-config/inputs/number.js.map +1 -0
  269. package/lib/client/workflow/block-config/inputs/text.d.ts +1 -3
  270. package/lib/client/workflow/block-config/inputs/text.d.ts.map +1 -0
  271. package/lib/client/workflow/block-config/inputs/text.js +3 -0
  272. package/lib/client/workflow/block-config/inputs/text.js.map +1 -0
  273. package/lib/client/workflow/index.d.ts +1 -9
  274. package/lib/client/workflow/index.d.ts.map +1 -0
  275. package/lib/client/workflow/index.js +18 -0
  276. package/lib/client/workflow/index.js.map +1 -0
  277. package/lib/client/workflow/schema-utils/array.d.ts +1 -0
  278. package/lib/client/workflow/schema-utils/array.d.ts.map +1 -0
  279. package/lib/client/workflow/schema-utils/array.js +3 -0
  280. package/lib/client/workflow/schema-utils/array.js.map +1 -0
  281. package/lib/client/workflow/schema-utils/attio-entity-reference.d.ts +1 -0
  282. package/lib/client/workflow/schema-utils/attio-entity-reference.d.ts.map +1 -0
  283. package/lib/client/workflow/schema-utils/attio-entity-reference.js +3 -0
  284. package/lib/client/workflow/schema-utils/attio-entity-reference.js.map +1 -0
  285. package/lib/client/workflow/schema-utils/attio-select.d.ts +1 -0
  286. package/lib/client/workflow/schema-utils/attio-select.d.ts.map +1 -0
  287. package/lib/client/workflow/schema-utils/attio-select.js +3 -0
  288. package/lib/client/workflow/schema-utils/attio-select.js.map +1 -0
  289. package/lib/client/workflow/schema-utils/base-node.d.ts +1 -3
  290. package/lib/client/workflow/schema-utils/base-node.d.ts.map +1 -0
  291. package/lib/client/workflow/schema-utils/base-node.js +10 -0
  292. package/lib/client/workflow/schema-utils/base-node.js.map +1 -0
  293. package/lib/client/workflow/schema-utils/friendly.d.ts +1 -4
  294. package/lib/client/workflow/schema-utils/friendly.d.ts.map +1 -0
  295. package/lib/client/workflow/schema-utils/friendly.js +3 -0
  296. package/lib/client/workflow/schema-utils/friendly.js.map +1 -0
  297. package/lib/client/workflow/schema-utils/index.d.ts +10 -12
  298. package/lib/client/workflow/schema-utils/index.d.ts.map +1 -0
  299. package/lib/client/workflow/schema-utils/index.js +3 -0
  300. package/lib/client/workflow/schema-utils/index.js.map +1 -0
  301. package/lib/client/workflow/schema-utils/normalize.d.ts +1 -3
  302. package/lib/client/workflow/schema-utils/normalize.d.ts.map +1 -0
  303. package/lib/client/workflow/schema-utils/normalize.js +3 -0
  304. package/lib/client/workflow/schema-utils/normalize.js.map +1 -0
  305. package/lib/client/workflow/schema-utils/number.d.ts +1 -0
  306. package/lib/client/workflow/schema-utils/number.d.ts.map +1 -0
  307. package/lib/client/workflow/schema-utils/number.js +3 -0
  308. package/lib/client/workflow/schema-utils/number.js.map +1 -0
  309. package/lib/client/workflow/schema-utils/path.d.ts +1 -7
  310. package/lib/client/workflow/schema-utils/path.d.ts.map +1 -0
  311. package/lib/client/workflow/schema-utils/path.js +3 -0
  312. package/lib/client/workflow/schema-utils/path.js.map +1 -0
  313. package/lib/client/workflow/schema-utils/string.d.ts +1 -0
  314. package/lib/client/workflow/schema-utils/string.d.ts.map +1 -0
  315. package/lib/client/workflow/schema-utils/string.js +3 -0
  316. package/lib/client/workflow/schema-utils/string.js.map +1 -0
  317. package/lib/client/workflow/schema-utils/struct.d.ts +1 -0
  318. package/lib/client/workflow/schema-utils/struct.d.ts.map +1 -0
  319. package/lib/client/workflow/schema-utils/struct.js +3 -0
  320. package/lib/client/workflow/schema-utils/struct.js.map +1 -0
  321. package/lib/client/workflow-block.d.ts +1 -0
  322. package/lib/client/workflow-block.d.ts.map +1 -0
  323. package/lib/client/workflow-block.js +3 -0
  324. package/lib/client/workflow-block.js.map +1 -0
  325. package/lib/server/attio-fetch.d.ts +1 -38
  326. package/lib/server/attio-fetch.d.ts.map +1 -0
  327. package/lib/server/attio-fetch.js +3 -0
  328. package/lib/server/attio-fetch.js.map +1 -0
  329. package/lib/server/connections.d.ts +1 -5
  330. package/lib/server/connections.d.ts.map +1 -0
  331. package/lib/server/connections.js +3 -0
  332. package/lib/server/connections.js.map +1 -0
  333. package/lib/server/env.d.ts +1 -0
  334. package/lib/server/env.d.ts.map +1 -0
  335. package/lib/server/env.js +5 -0
  336. package/lib/server/env.js.map +1 -0
  337. package/lib/server/experimental/index.d.ts +1 -1
  338. package/lib/server/experimental/index.d.ts.map +1 -0
  339. package/lib/server/experimental/index.js +6 -0
  340. package/lib/server/experimental/index.js.map +1 -0
  341. package/lib/server/experimental/kv-store.d.ts +1 -26
  342. package/lib/server/experimental/kv-store.d.ts.map +1 -0
  343. package/lib/server/experimental/kv-store.js +3 -0
  344. package/lib/server/experimental/kv-store.js.map +1 -0
  345. package/lib/server/index.d.ts +4 -3
  346. package/lib/server/index.d.ts.map +1 -0
  347. package/lib/server/index.js +22 -0
  348. package/lib/server/index.js.map +1 -0
  349. package/lib/server/webhook-handlers.d.ts +1 -11
  350. package/lib/server/webhook-handlers.d.ts.map +1 -0
  351. package/lib/server/webhook-handlers.js +3 -0
  352. package/lib/server/webhook-handlers.js.map +1 -0
  353. package/lib/shared/errors.d.ts +1 -12
  354. package/lib/shared/errors.d.ts.map +1 -0
  355. package/lib/shared/errors.js +3 -0
  356. package/lib/shared/errors.js.map +1 -0
  357. package/lib/shared/index.d.ts +1 -0
  358. package/lib/shared/index.d.ts.map +1 -0
  359. package/lib/shared/index.js +18 -0
  360. package/lib/shared/index.js.map +1 -0
  361. package/lib/tsconfig.tsbuildinfo +1 -1
  362. package/lib/utils/index.d.ts +2 -0
  363. package/lib/utils/index.d.ts.map +1 -0
  364. package/lib/utils/index.js +18 -0
  365. package/lib/utils/index.js.map +1 -0
  366. package/lib/{client/util → utils}/prettify.d.ts +1 -0
  367. package/lib/utils/prettify.d.ts.map +1 -0
  368. package/lib/utils/prettify.js +3 -0
  369. package/lib/utils/prettify.js.map +1 -0
  370. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dialog-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog-list.js","sourceRoot":"","sources":["../../../src/client/components/dialog-list.ts"],"names":[],"mappings":""}
@@ -1,5 +1,3 @@
1
1
  import type React from "react";
2
- /**
3
- * A component for rendering a divider line.
4
- */
5
2
  export declare function Divider(): React.JSX.Element;
3
+ //# sourceMappingURL=divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/client/components/divider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=divider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divider.js","sourceRoot":"","sources":["../../../src/client/components/divider.ts"],"names":[],"mappings":""}
@@ -12,3 +12,4 @@ export { Section } from "./section.js";
12
12
  export { TextBlock } from "./text-block.js";
13
13
  export { Typography } from "./typography.js";
14
14
  export { Widget } from "./widget.js";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA;AAClC,OAAO,EAAC,KAAK,EAAC,MAAM,YAAY,CAAA;AAChC,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA;AAClC,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA;AAClC,OAAO,EACH,yBAAyB,EACzB,kCAAkC,EAClC,cAAc,EACd,uBAAuB,EACvB,uBAAuB,EACvB,gCAAgC,EAChC,mBAAmB,EACnB,4BAA4B,GAC/B,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAA;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAC,GAAG,EAAC,MAAM,UAAU,CAAA;AAC5B,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAA;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Widget = exports.Typography = exports.TextBlock = exports.Section = exports.Row = exports.Link = exports.Json = exports.Divider = exports.DialogList = exports.Column = exports.Button = exports.Badge = exports.Avatar = void 0;
4
+ var avatar_js_1 = require("./avatar.js");
5
+ Object.defineProperty(exports, "Avatar", { enumerable: true, get: function () { return avatar_js_1.Avatar; } });
6
+ var badge_js_1 = require("./badge.js");
7
+ Object.defineProperty(exports, "Badge", { enumerable: true, get: function () { return badge_js_1.Badge; } });
8
+ var button_js_1 = require("./button.js");
9
+ Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return button_js_1.Button; } });
10
+ var column_js_1 = require("./column.js");
11
+ Object.defineProperty(exports, "Column", { enumerable: true, get: function () { return column_js_1.Column; } });
12
+ var dialog_list_js_1 = require("./dialog-list.js");
13
+ Object.defineProperty(exports, "DialogList", { enumerable: true, get: function () { return dialog_list_js_1.DialogList; } });
14
+ var divider_js_1 = require("./divider.js");
15
+ Object.defineProperty(exports, "Divider", { enumerable: true, get: function () { return divider_js_1.Divider; } });
16
+ var json_js_1 = require("./json.js");
17
+ Object.defineProperty(exports, "Json", { enumerable: true, get: function () { return json_js_1.Json; } });
18
+ var link_js_1 = require("./link.js");
19
+ Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return link_js_1.Link; } });
20
+ var row_js_1 = require("./row.js");
21
+ Object.defineProperty(exports, "Row", { enumerable: true, get: function () { return row_js_1.Row; } });
22
+ var section_js_1 = require("./section.js");
23
+ Object.defineProperty(exports, "Section", { enumerable: true, get: function () { return section_js_1.Section; } });
24
+ var text_block_js_1 = require("./text-block.js");
25
+ Object.defineProperty(exports, "TextBlock", { enumerable: true, get: function () { return text_block_js_1.TextBlock; } });
26
+ var typography_js_1 = require("./typography.js");
27
+ Object.defineProperty(exports, "Typography", { enumerable: true, get: function () { return typography_js_1.Typography; } });
28
+ var widget_js_1 = require("./widget.js");
29
+ Object.defineProperty(exports, "Widget", { enumerable: true, get: function () { return widget_js_1.Widget; } });
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/components/index.ts"],"names":[],"mappings":";;;AAAA,yCAAkC;AAA1B,mGAAA,MAAM,OAAA;AACd,uCAAgC;AAAxB,iGAAA,KAAK,OAAA;AACb,yCAAkC;AAA1B,mGAAA,MAAM,OAAA;AACd,yCAAkC;AAA1B,mGAAA,MAAM,OAAA;AAWd,mDAA2C;AAAnC,4GAAA,UAAU,OAAA;AAClB,2CAAoC;AAA5B,qGAAA,OAAO,OAAA;AACf,qCAA8B;AAAtB,+FAAA,IAAI,OAAA;AACZ,qCAA8B;AAAtB,+FAAA,IAAI,OAAA;AACZ,mCAA4B;AAApB,6FAAA,GAAG,OAAA;AACX,2CAAoC;AAA5B,qGAAA,OAAO,OAAA;AACf,iDAAyC;AAAjC,0GAAA,SAAS,OAAA;AACjB,iDAA0C;AAAlC,2GAAA,UAAU,OAAA;AAClB,yCAAkC;AAA1B,mGAAA,MAAM,OAAA"}
@@ -1,7 +1,5 @@
1
1
  import React from "react";
2
- /**
3
- * A component for displaying JSON data, primarily used for debugging.
4
- */
5
2
  export declare function Json(props: {
6
3
  data: unknown;
7
4
  }): React.JSX.Element;
5
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/client/components/json.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE;IAAC,IAAI,EAAE,OAAO,CAAA;CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/client/components/json.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- export type KeyboardKey =
2
- /** Handles command on mac, ctrl on mac */
3
- "mod" | "backspace" | "tab"
4
- /** Watch out! Different to return! */
5
- | "enter"
6
- /** Watch out! Different to enter! */
7
- | "return" | "shift" | "ctrl" | "alt" | "esc" | "space" | "left" | "up" | "right" | "down" | "plus" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0";
1
+ export type KeyboardKey = "mod" | "backspace" | "tab" | "enter" | "return" | "shift" | "ctrl" | "alt" | "esc" | "space" | "left" | "up" | "right" | "down" | "plus" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0";
2
+ //# sourceMappingURL=keyboard-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyboard-key.d.ts","sourceRoot":"","sources":["../../../src/client/components/keyboard-key.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAEjB,KAAK,GACL,WAAW,GACX,KAAK,GAEL,OAAO,GAEP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,MAAM,GACN,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=keyboard-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyboard-key.js","sourceRoot":"","sources":["../../../src/client/components/keyboard-key.ts"],"names":[],"mappings":""}
@@ -1,14 +1,6 @@
1
1
  import React from "react";
2
- /**
3
- * An external hyperlink.
4
- */
5
2
  export declare function Link(props: {
6
- /**
7
- * The URL to link to.
8
- */
9
3
  href: string;
10
- /**
11
- * The content of the link. Usually text.
12
- */
13
4
  children: React.ReactNode;
14
5
  }): React.JSX.Element;
6
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/client/components/link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE;IAIhC,IAAI,EAAE,MAAM,CAAA;IAKZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../src/client/components/link.ts"],"names":[],"mappings":""}
@@ -1,19 +1,7 @@
1
1
  import type React from "react";
2
- /**
3
- * A component for laying out children horizontally.
4
- *
5
- * It will automatically wrap after the third child.
6
- */
7
2
  export declare function Row(props: {
8
3
  children: React.ReactNode;
9
- /**
10
- * How to align the children within the row.
11
- *
12
- * @default "left"
13
- */
14
4
  align?: "left" | "center" | "right" | "space-between" | "space-evenly" | "space-around";
15
- /**
16
- * A function to call when the row is triggered.
17
- */
18
5
  onTrigger?: () => void | Promise<void>;
19
6
  }): React.JSX.Element;
7
+ //# sourceMappingURL=row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/client/components/row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,KAAK,EAAE;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAOzB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,eAAe,GAAG,cAAc,GAAG,cAAc,CAAA;IAKvF,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row.js","sourceRoot":"","sources":["../../../src/client/components/row.ts"],"names":[],"mappings":""}
@@ -1,16 +1,6 @@
1
1
  import React from "react";
2
- /**
3
- * A section of a page with a title.
4
- */
5
2
  export declare function Section(props: {
6
- /**
7
- * The title of the section.
8
- *
9
- * It will be displayed in a stronger font than the content of the section.
10
- */
11
3
  title: string;
12
- /**
13
- * The content of the section, either text or other components.
14
- */
15
4
  children?: React.ReactNode;
16
5
  }): React.JSX.Element;
6
+ //# sourceMappingURL=section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/client/components/section.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE;IAMnC,KAAK,EAAE,MAAM,CAAA;IAIb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section.js","sourceRoot":"","sources":["../../../src/client/components/section.ts"],"names":[],"mappings":""}
@@ -1,16 +1,6 @@
1
1
  import React from "react";
2
- /**
3
- * A text block, whose content can optionally be aligned.
4
- */
5
2
  export declare function TextBlock(props: {
6
- /**
7
- * How to align the content of the text block.
8
- *
9
- * @default "center"
10
- */
11
3
  align?: "left" | "center" | "right";
12
- /**
13
- * The content of the text block. Usually text, but can also be other components.
14
- */
15
4
  children: React.ReactNode;
16
5
  }): React.JSX.Element;
6
+ //# sourceMappingURL=text-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-block.d.ts","sourceRoot":"","sources":["../../../src/client/components/text-block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE;IAMrC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IAInC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=text-block.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-block.js","sourceRoot":"","sources":["../../../src/client/components/text-block.ts"],"names":[],"mappings":""}
@@ -1,23 +1,10 @@
1
1
  import React from "react";
2
- /**
3
- * A set of components for styling text.
4
- */
5
2
  interface TypographyType {
6
3
  Body: (props: {
7
- /**
8
- * The variant of the text.
9
- *
10
- * @default "standard"
11
- */
12
4
  variant?: "standard" | "large" | "strong" | "interactive";
13
5
  children: React.ReactNode;
14
6
  }) => React.JSX.Element;
15
7
  Title: (props: {
16
- /**
17
- * The variant of the text.
18
- *
19
- * @default "standard"
20
- */
21
8
  variant?: "extraLarge" | "large" | "standard" | "medium" | "small" | "extraSmall";
22
9
  children: React.ReactNode;
23
10
  }) => React.JSX.Element;
@@ -27,3 +14,4 @@ interface TypographyType {
27
14
  }
28
15
  export declare const Typography: TypographyType;
29
16
  export {};
17
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/client/components/typography.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,cAAc;IACpB,IAAI,EAAE,CAAC,KAAK,EAAE;QAMV,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,aAAa,CAAA;QACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAC5B,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA;IACvB,KAAK,EAAE,CAAC,KAAK,EAAE;QAMX,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAA;QACjF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAC5B,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA;IACvB,OAAO,EAAE,CAAC,KAAK,EAAE;QAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA;CACrE;AAED,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,cAAc,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=typography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/client/components/typography.ts"],"names":[],"mappings":""}
@@ -1,15 +1,11 @@
1
1
  type BadgeColor = "amber" | "blue" | "cyan" | "green" | "grey" | "lavender" | "lime" | "orange" | "pink" | "purple" | "red" | "yellow";
2
2
  interface BaseWidgetBadgeProps {
3
- /** The variant of the badge */
4
3
  color: BadgeColor;
5
4
  }
6
5
  interface WidgetTextBadgeProps extends BaseWidgetBadgeProps {
7
- /** The text contents of the badge */
8
6
  text: string;
9
7
  }
10
8
  type WidgetBadgeProps = WidgetTextBadgeProps;
11
- /**
12
- * Badge component for a widget
13
- */
14
9
  export declare const WidgetBadge: (props: WidgetBadgeProps) => React.JSX.Element;
15
10
  export {};
11
+ //# sourceMappingURL=widget-badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-badge.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-badge.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GACT,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,KAAK,GACL,QAAQ,CAAA;AAEd,UAAU,oBAAoB;IAE1B,KAAK,EAAE,UAAU,CAAA;CACpB;AAED,UAAU,oBAAqB,SAAQ,oBAAoB;IAEvD,IAAI,EAAE,MAAM,CAAA;CACf;AAcD,KAAK,gBAAgB,GAAG,oBAAoB,CAAA;AAK5C,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-badge.js","sourceRoot":"","sources":["../../../src/client/components/widget-badge.ts"],"names":[],"mappings":""}
@@ -1,6 +1,2 @@
1
- /**
2
- * Loading component for a widget.
3
- *
4
- * Useful as a fallback if you're doing suspense manually inside your widget.
5
- */
6
1
  export declare const WidgetLoading: () => React.JSX.Element;
2
+ //# sourceMappingURL=widget-loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-loading.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-loading.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,CAAC,MAAM,aAAa,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-loading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-loading.js","sourceRoot":"","sources":["../../../src/client/components/widget-loading.ts"],"names":[],"mappings":""}
@@ -1,11 +1,6 @@
1
- /**
2
- * Props for the WidgetTextPrimary component
3
- */
4
1
  interface WidgetTextPrimaryProps {
5
2
  children: React.ReactNode;
6
3
  }
7
- /**
8
- * Primary text component for a widget
9
- */
10
4
  export declare const WidgetTextPrimary: (props: WidgetTextPrimaryProps) => React.JSX.Element;
11
5
  export {};
6
+ //# sourceMappingURL=widget-text-primary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-primary.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-text-primary.ts"],"names":[],"mappings":"AAGA,UAAU,sBAAsB;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B;AAKD,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-text-primary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-primary.js","sourceRoot":"","sources":["../../../src/client/components/widget-text-primary.ts"],"names":[],"mappings":""}
@@ -1,11 +1,6 @@
1
- /**
2
- * Props for the WidgetTextSecondary component
3
- */
4
1
  interface WidgetTextSecondaryProps {
5
2
  children: React.ReactNode;
6
3
  }
7
- /**
8
- * Secondary text component for a widget
9
- */
10
4
  export declare const WidgetTextSecondary: (props: WidgetTextSecondaryProps) => React.JSX.Element;
11
5
  export {};
6
+ //# sourceMappingURL=widget-text-secondary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-secondary.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-text-secondary.ts"],"names":[],"mappings":"AAGA,UAAU,wBAAwB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B;AAKD,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-text-secondary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-secondary.js","sourceRoot":"","sources":["../../../src/client/components/widget-text-secondary.ts"],"names":[],"mappings":""}
@@ -1,22 +1,7 @@
1
- /**
2
- * Props for the TextWidget component
3
- */
4
1
  interface WidgetTextWidgetProps {
5
- /**
6
- * The content of the widget.
7
- */
8
2
  children: React.ReactNode;
9
- /**
10
- * If provided, this callback will be called when the user triggers the widget.
11
- *
12
- * (like onClick for the web)
13
- *
14
- * You may want to call a server function or open a dialog with showDialog().
15
- */
16
3
  onTrigger?: () => void | Promise<void>;
17
4
  }
18
- /**
19
- * A text widget component
20
- */
21
5
  export declare const WidgetTextWidget: (props: WidgetTextWidgetProps) => React.JSX.Element;
22
6
  export {};
7
+ //# sourceMappingURL=widget-text-widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-widget.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-text-widget.ts"],"names":[],"mappings":"AAGA,UAAU,qBAAqB;IAI3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IASzB,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzC;AAKD,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-text-widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-text-widget.js","sourceRoot":"","sources":["../../../src/client/components/widget-text-widget.ts"],"names":[],"mappings":""}
@@ -1,11 +1,6 @@
1
- /**
2
- * Props for the WidgetTitle component
3
- */
4
1
  interface WidgetTitleProps {
5
2
  children: React.ReactNode;
6
3
  }
7
- /**
8
- * Title component for a widget
9
- */
10
4
  export declare const WidgetTitle: (props: WidgetTitleProps) => React.JSX.Element;
11
5
  export {};
6
+ //# sourceMappingURL=widget-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-title.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget-title.ts"],"names":[],"mappings":"AAGA,UAAU,gBAAgB;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B;AAKD,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-title.js","sourceRoot":"","sources":["../../../src/client/components/widget-title.ts"],"names":[],"mappings":""}
@@ -4,10 +4,6 @@ import type { WidgetTextPrimary } from "./widget-text-primary";
4
4
  import type { WidgetTextSecondary } from "./widget-text-secondary";
5
5
  import type { WidgetTextWidget } from "./widget-text-widget";
6
6
  import type { WidgetTitle } from "./widget-title";
7
- /**
8
- * Widget component API
9
- * @deprecated This part of the SDK is not yet released and may change. Do not use it yet.
10
- */
11
7
  export declare const Widget: {
12
8
  Title: typeof WidgetTitle;
13
9
  Badge: typeof WidgetBadge;
@@ -18,3 +14,4 @@ export declare const Widget: {
18
14
  };
19
15
  TextWidget: typeof WidgetTextWidget;
20
16
  };
17
+ //# sourceMappingURL=widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../src/client/components/widget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAM/C,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE;IACzB,KAAK,EAAE,OAAO,WAAW,CAAA;IACzB,KAAK,EAAE,OAAO,WAAW,CAAA;IACzB,OAAO,EAAE,OAAO,aAAa,CAAA;IAC7B,IAAI,EAAE;QACF,OAAO,EAAE,OAAO,iBAAiB,CAAA;QACjC,SAAS,EAAE,OAAO,mBAAmB,CAAA;KACxC,CAAA;IACD,UAAU,EAAE,OAAO,gBAAgB,CAAA;CACtC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../src/client/components/widget.ts"],"names":[],"mappings":""}
@@ -1,80 +1,23 @@
1
1
  import type { Icon } from "./icon";
2
2
  interface BaseConfirmOptions {
3
- /**
4
- * Label for the "Cancel" button.
5
- *
6
- * Defaults to "Cancel".
7
- * @default "Cancel"
8
- */
9
3
  cancelLabel?: string;
10
- /**
11
- * Label for the "Confirm" button.
12
- *
13
- * Defaults to "OK".
14
- * @default "OK"
15
- */
16
4
  confirmLabel?: string;
17
- /**
18
- * Icon to display on the confirm button.
19
- */
20
5
  confirmIcon?: Icon;
21
- /**
22
- * Variant of the "confirm" button.
23
- *
24
- * Defaults to "primary".
25
- * @default "primary"
26
- */
27
6
  confirmVariant?: "primary" | "secondary" | "secondary-destructive" | "destructive";
28
7
  }
29
8
  interface ConfirmNoTextOptions extends BaseConfirmOptions {
30
- /**
31
- * Title of the prompt.
32
- */
33
9
  title: string;
34
- /**
35
- * No text will be displayed.
36
- */
37
10
  text?: never;
38
11
  }
39
12
  interface ConfirmNoTitleOptions extends BaseConfirmOptions {
40
- /**
41
- * No title will be displayed.
42
- */
43
13
  title?: never;
44
- /**
45
- * Text to display
46
- */
47
14
  text: string;
48
15
  }
49
16
  interface ConfirmWithTextAndTitleOptions extends BaseConfirmOptions {
50
- /**
51
- * Title of the prompt.
52
- */
53
17
  title: string;
54
- /**
55
- * Text to display below the title.
56
- */
57
18
  text: string;
58
19
  }
59
20
  export type ConfirmOptions = ConfirmNoTextOptions | ConfirmNoTitleOptions | ConfirmWithTextAndTitleOptions;
60
- /**
61
- * Shows a confirm prompt to the user.
62
- *
63
- * ## EXAMPLE USAGE
64
- *
65
- * ----
66
- * ```tsx
67
- * // app.tsx
68
- * import { showPrompt } from "attio/client";
69
- *
70
- * await confirm({
71
- * title: "Are you sure you want to delete this item?",
72
- * text: "This action cannot be undone.",
73
- * cancelLabel: "Cancel",
74
- * confirmLabel: "Delete",
75
- * });
76
- * ```
77
- * ----
78
- */
79
21
  export declare function confirm(options: ConfirmOptions): Promise<boolean>;
80
22
  export {};
23
+ //# sourceMappingURL=confirm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../src/client/confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAEhC,UAAU,kBAAkB;IAOxB,WAAW,CAAC,EAAE,MAAM,CAAA;IAQpB,YAAY,CAAC,EAAE,MAAM,CAAA;IAKrB,WAAW,CAAC,EAAE,IAAI,CAAA;IAQlB,cAAc,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,uBAAuB,GAAG,aAAa,CAAA;CACrF;AAED,UAAU,oBAAqB,SAAQ,kBAAkB;IAIrD,KAAK,EAAE,MAAM,CAAA;IAKb,IAAI,CAAC,EAAE,KAAK,CAAA;CACf;AAED,UAAU,qBAAsB,SAAQ,kBAAkB;IAItD,KAAK,CAAC,EAAE,KAAK,CAAA;IAKb,IAAI,EAAE,MAAM,CAAA;CACf;AAED,UAAU,8BAA+B,SAAQ,kBAAkB;IAI/D,KAAK,EAAE,MAAM,CAAA;IAKb,IAAI,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,cAAc,GACpB,oBAAoB,GACpB,qBAAqB,GACrB,8BAA8B,CAAA;AAqBpC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=confirm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm.js","sourceRoot":"","sources":["../../src/client/confirm.ts"],"names":[],"mappings":""}
@@ -1,16 +1,8 @@
1
1
  import type { FormValue } from "./value";
2
- /**
3
- * An array form value.
4
- */
5
2
  export interface FormArray<T extends FormValue | Record<string, FormValue>> extends FormValue {
6
3
  type: "array";
7
4
  elementType: T;
8
- /**
9
- * Make this array optional, i.e. allow `null` or `undefined` values.
10
- */
11
5
  optional(): FormArray<T>;
12
6
  }
13
- /**
14
- * Create a new array form value.
15
- */
16
7
  export declare function array<T extends FormValue | Record<string, FormValue>>(elementType: T): FormArray<T>;
8
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/client/forms/array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,SAAS,CAAA;AAKtC,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAE,SAAQ,SAAS;IACzF,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,CAAC,CAAA;IAKd,QAAQ,IAAI,SAAS,CAAC,CAAC,CAAC,CAAA;CAC3B;AAKD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,CAAC,SAAS,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EACzE,WAAW,EAAE,CAAC,GACf,SAAS,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=array.js.map