arethesis 0.1.5 → 0.2.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 (383) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +5 -4
  3. package/dist/arethesis.js +2 -147
  4. package/dist/binding/data-binder.d.ts +8 -0
  5. package/dist/binding/data-binder.d.ts.map +1 -1
  6. package/dist/binding/data-binder.js +605 -0
  7. package/dist/binding/data-binder.js.map +1 -0
  8. package/dist/binding/types.d.ts +20 -0
  9. package/dist/binding/types.d.ts.map +1 -1
  10. package/dist/binding/validation-engine.js +160 -0
  11. package/dist/binding/validation-engine.js.map +1 -0
  12. package/dist/cdn/arethesis.min.js +2 -0
  13. package/dist/cdn/arethesis.min.js.map +1 -0
  14. package/dist/cdn/chunks/CdTL-MEv.min.js +3 -0
  15. package/dist/cdn/chunks/CdTL-MEv.min.js.map +1 -0
  16. package/dist/cdn/components.min.js +81 -0
  17. package/dist/cdn/components.min.js.map +1 -0
  18. package/dist/collab/index.d.ts +22 -0
  19. package/dist/collab/index.d.ts.map +1 -0
  20. package/dist/collab/index.js +23 -0
  21. package/dist/collab/index.js.map +1 -0
  22. package/dist/components/component.d.ts +17 -0
  23. package/dist/components/component.d.ts.map +1 -1
  24. package/dist/components/component.js +765 -0
  25. package/dist/components/component.js.map +1 -0
  26. package/dist/components/decorators.js +27 -0
  27. package/dist/components/decorators.js.map +1 -0
  28. package/dist/components/form-associated.d.ts +55 -0
  29. package/dist/components/form-associated.d.ts.map +1 -0
  30. package/dist/components/form-associated.js +180 -0
  31. package/dist/components/form-associated.js.map +1 -0
  32. package/dist/components/runtime.d.ts +2 -0
  33. package/dist/components/runtime.d.ts.map +1 -1
  34. package/dist/components/runtime.js +18 -0
  35. package/dist/components/runtime.js.map +1 -0
  36. package/dist/components/template-loader.js +90 -0
  37. package/dist/components/template-loader.js.map +1 -0
  38. package/dist/components.js +2 -606
  39. package/dist/core/arethesis.d.ts +13 -9
  40. package/dist/core/arethesis.d.ts.map +1 -1
  41. package/dist/core/arethesis.js +249 -0
  42. package/dist/core/arethesis.js.map +1 -0
  43. package/dist/core/hooks.d.ts +19 -0
  44. package/dist/core/hooks.d.ts.map +1 -0
  45. package/dist/core/hooks.js +23 -0
  46. package/dist/core/hooks.js.map +1 -0
  47. package/dist/core/index.d.ts +57 -0
  48. package/dist/core/index.d.ts.map +1 -0
  49. package/dist/core/index.js +25 -0
  50. package/dist/data/list-view-registry.js +300 -0
  51. package/dist/data/list-view-registry.js.map +1 -0
  52. package/dist/data/object-store.js +280 -0
  53. package/dist/data/object-store.js.map +1 -0
  54. package/dist/data/optimistic-updates.js +168 -0
  55. package/dist/data/optimistic-updates.js.map +1 -0
  56. package/dist/data/persistence-manager.js +233 -0
  57. package/dist/data/persistence-manager.js.map +1 -0
  58. package/dist/defaults.d.ts +1 -0
  59. package/dist/defaults.d.ts.map +1 -0
  60. package/dist/defaults.js +17 -0
  61. package/dist/defaults.js.map +1 -0
  62. package/dist/http/auth-manager.js +260 -0
  63. package/dist/http/auth-manager.js.map +1 -0
  64. package/dist/http/http-client.d.ts +7 -0
  65. package/dist/http/http-client.d.ts.map +1 -1
  66. package/dist/http/http-client.js +501 -0
  67. package/dist/http/http-client.js.map +1 -0
  68. package/dist/http/http-error.js +53 -0
  69. package/dist/http/http-error.js.map +1 -0
  70. package/dist/http/mapping.js +64 -0
  71. package/dist/http/mapping.js.map +1 -0
  72. package/dist/index.d.ts +3 -52
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +55 -0
  75. package/dist/kit/calendar.d.ts +43 -0
  76. package/dist/kit/calendar.d.ts.map +1 -0
  77. package/dist/kit/calendar.js +423 -0
  78. package/dist/kit/calendar.js.map +1 -0
  79. package/dist/kit/cell-editor.d.ts +47 -0
  80. package/dist/kit/cell-editor.d.ts.map +1 -0
  81. package/dist/kit/cell-editor.js +191 -0
  82. package/dist/kit/cell-editor.js.map +1 -0
  83. package/dist/kit/chart.d.ts +57 -0
  84. package/dist/kit/chart.d.ts.map +1 -0
  85. package/dist/kit/chart.js +541 -0
  86. package/dist/kit/chart.js.map +1 -0
  87. package/dist/kit/combobox.d.ts +57 -0
  88. package/dist/kit/combobox.d.ts.map +1 -0
  89. package/dist/kit/combobox.js +379 -0
  90. package/dist/kit/combobox.js.map +1 -0
  91. package/dist/kit/command-palette.d.ts +54 -0
  92. package/dist/kit/command-palette.d.ts.map +1 -0
  93. package/dist/kit/command-palette.js +315 -0
  94. package/dist/kit/command-palette.js.map +1 -0
  95. package/dist/kit/data-table.d.ts +17 -1
  96. package/dist/kit/data-table.d.ts.map +1 -1
  97. package/dist/kit/data-table.js +373 -0
  98. package/dist/kit/data-table.js.map +1 -0
  99. package/dist/kit/dialog.d.ts +31 -0
  100. package/dist/kit/dialog.d.ts.map +1 -0
  101. package/dist/kit/dialog.js +157 -0
  102. package/dist/kit/dialog.js.map +1 -0
  103. package/dist/kit/elements/calendar.d.ts +3 -0
  104. package/dist/kit/elements/calendar.d.ts.map +1 -0
  105. package/dist/kit/elements/calendar.js +11 -0
  106. package/dist/kit/elements/calendar.js.map +1 -0
  107. package/dist/kit/elements/chart.d.ts +3 -0
  108. package/dist/kit/elements/chart.d.ts.map +1 -0
  109. package/dist/kit/elements/chart.js +11 -0
  110. package/dist/kit/elements/chart.js.map +1 -0
  111. package/dist/kit/elements/combobox.d.ts +3 -0
  112. package/dist/kit/elements/combobox.d.ts.map +1 -0
  113. package/dist/kit/elements/combobox.js +11 -0
  114. package/dist/kit/elements/combobox.js.map +1 -0
  115. package/dist/kit/elements/command-palette.d.ts +3 -0
  116. package/dist/kit/elements/command-palette.d.ts.map +1 -0
  117. package/dist/kit/elements/command-palette.js +11 -0
  118. package/dist/kit/elements/command-palette.js.map +1 -0
  119. package/dist/kit/elements/data-table.d.ts +3 -0
  120. package/dist/kit/elements/data-table.d.ts.map +1 -0
  121. package/dist/kit/elements/data-table.js +11 -0
  122. package/dist/kit/elements/data-table.js.map +1 -0
  123. package/dist/kit/elements/dialog.d.ts +4 -0
  124. package/dist/kit/elements/dialog.d.ts.map +1 -0
  125. package/dist/kit/elements/dialog.js +11 -0
  126. package/dist/kit/elements/dialog.js.map +1 -0
  127. package/dist/kit/elements/flex-view.d.ts +3 -0
  128. package/dist/kit/elements/flex-view.d.ts.map +1 -0
  129. package/dist/kit/elements/flex-view.js +11 -0
  130. package/dist/kit/elements/flex-view.js.map +1 -0
  131. package/dist/kit/elements/form.d.ts +3 -0
  132. package/dist/kit/elements/form.d.ts.map +1 -0
  133. package/dist/kit/elements/form.js +11 -0
  134. package/dist/kit/elements/form.js.map +1 -0
  135. package/dist/kit/elements/kanban.d.ts +3 -0
  136. package/dist/kit/elements/kanban.d.ts.map +1 -0
  137. package/dist/kit/elements/kanban.js +11 -0
  138. package/dist/kit/elements/kanban.js.map +1 -0
  139. package/dist/kit/elements/list.d.ts +3 -0
  140. package/dist/kit/elements/list.d.ts.map +1 -0
  141. package/dist/kit/elements/list.js +11 -0
  142. package/dist/kit/elements/list.js.map +1 -0
  143. package/dist/kit/elements/markdown-editor.d.ts +3 -0
  144. package/dist/kit/elements/markdown-editor.d.ts.map +1 -0
  145. package/dist/kit/elements/markdown-editor.js +11 -0
  146. package/dist/kit/elements/markdown-editor.js.map +1 -0
  147. package/dist/kit/elements/presence.d.ts +3 -0
  148. package/dist/kit/elements/presence.d.ts.map +1 -0
  149. package/dist/kit/elements/presence.js +11 -0
  150. package/dist/kit/elements/presence.js.map +1 -0
  151. package/dist/kit/elements/sheet.d.ts +3 -0
  152. package/dist/kit/elements/sheet.d.ts.map +1 -0
  153. package/dist/kit/elements/sheet.js +11 -0
  154. package/dist/kit/elements/sheet.js.map +1 -0
  155. package/dist/kit/elements/tabs.d.ts +3 -0
  156. package/dist/kit/elements/tabs.d.ts.map +1 -0
  157. package/dist/kit/elements/tabs.js +11 -0
  158. package/dist/kit/elements/tabs.js.map +1 -0
  159. package/dist/kit/elements/toast.d.ts +4 -0
  160. package/dist/kit/elements/toast.d.ts.map +1 -0
  161. package/dist/kit/elements/toast.js +11 -0
  162. package/dist/kit/elements/toast.js.map +1 -0
  163. package/dist/kit/elements/tree.d.ts +3 -0
  164. package/dist/kit/elements/tree.d.ts.map +1 -0
  165. package/dist/kit/elements/tree.js +11 -0
  166. package/dist/kit/elements/tree.js.map +1 -0
  167. package/dist/kit/flex-view.d.ts +2 -0
  168. package/dist/kit/flex-view.d.ts.map +1 -1
  169. package/dist/kit/flex-view.js +346 -0
  170. package/dist/kit/flex-view.js.map +1 -0
  171. package/dist/kit/form.d.ts +2 -0
  172. package/dist/kit/form.d.ts.map +1 -1
  173. package/dist/kit/form.js +211 -0
  174. package/dist/kit/form.js.map +1 -0
  175. package/dist/kit/index.d.ts +33 -16
  176. package/dist/kit/index.d.ts.map +1 -1
  177. package/dist/kit/index.js +40 -0
  178. package/dist/kit/internal/modal.d.ts +26 -0
  179. package/dist/kit/internal/modal.d.ts.map +1 -0
  180. package/dist/kit/internal/modal.js +59 -0
  181. package/dist/kit/internal/modal.js.map +1 -0
  182. package/dist/kit/kanban.d.ts +73 -0
  183. package/dist/kit/kanban.d.ts.map +1 -0
  184. package/dist/kit/kanban.js +404 -0
  185. package/dist/kit/kanban.js.map +1 -0
  186. package/dist/kit/list.d.ts +4 -0
  187. package/dist/kit/list.d.ts.map +1 -1
  188. package/dist/kit/list.js +106 -0
  189. package/dist/kit/list.js.map +1 -0
  190. package/dist/kit/markdown/highlight.d.ts +29 -0
  191. package/dist/kit/markdown/highlight.d.ts.map +1 -0
  192. package/dist/kit/markdown/highlight.js +106 -0
  193. package/dist/kit/markdown/highlight.js.map +1 -0
  194. package/dist/kit/markdown/render.d.ts +31 -0
  195. package/dist/kit/markdown/render.d.ts.map +1 -0
  196. package/dist/kit/markdown/render.js +260 -0
  197. package/dist/kit/markdown/render.js.map +1 -0
  198. package/dist/kit/markdown-editor.d.ts +54 -0
  199. package/dist/kit/markdown-editor.d.ts.map +1 -0
  200. package/dist/kit/markdown-editor.js +797 -0
  201. package/dist/kit/markdown-editor.js.map +1 -0
  202. package/dist/kit/presence.d.ts +36 -0
  203. package/dist/kit/presence.d.ts.map +1 -0
  204. package/dist/kit/presence.js +262 -0
  205. package/dist/kit/presence.js.map +1 -0
  206. package/dist/kit/sheet/formula.d.ts +106 -0
  207. package/dist/kit/sheet/formula.d.ts.map +1 -0
  208. package/dist/kit/sheet/formula.js +364 -0
  209. package/dist/kit/sheet/formula.js.map +1 -0
  210. package/dist/kit/sheet/model.d.ts +28 -0
  211. package/dist/kit/sheet/model.d.ts.map +1 -0
  212. package/dist/kit/sheet/model.js +136 -0
  213. package/dist/kit/sheet/model.js.map +1 -0
  214. package/dist/kit/sheet/sheet.d.ts +47 -0
  215. package/dist/kit/sheet/sheet.d.ts.map +1 -0
  216. package/dist/kit/sheet/sheet.js +676 -0
  217. package/dist/kit/sheet/sheet.js.map +1 -0
  218. package/dist/kit/tabs.d.ts +17 -0
  219. package/dist/kit/tabs.d.ts.map +1 -0
  220. package/dist/kit/tabs.js +192 -0
  221. package/dist/kit/tabs.js.map +1 -0
  222. package/dist/kit/theme-boot.generated.d.ts +2 -0
  223. package/dist/kit/theme-boot.generated.d.ts.map +1 -1
  224. package/dist/kit/theme-boot.generated.js +8 -0
  225. package/dist/kit/theme-boot.generated.js.map +1 -0
  226. package/dist/kit/theme.d.ts +5 -3
  227. package/dist/kit/theme.d.ts.map +1 -1
  228. package/dist/kit/theme.js +89 -0
  229. package/dist/kit/theme.js.map +1 -0
  230. package/dist/kit/toast.d.ts +46 -0
  231. package/dist/kit/toast.d.ts.map +1 -0
  232. package/dist/kit/toast.js +154 -0
  233. package/dist/kit/toast.js.map +1 -0
  234. package/dist/kit/tree.d.ts +41 -0
  235. package/dist/kit/tree.d.ts.map +1 -0
  236. package/dist/kit/tree.js +422 -0
  237. package/dist/kit/tree.js.map +1 -0
  238. package/dist/mixins/context-menu.d.ts.map +1 -1
  239. package/dist/mixins/context-menu.js +183 -0
  240. package/dist/mixins/context-menu.js.map +1 -0
  241. package/dist/mixins/draggable.d.ts.map +1 -1
  242. package/dist/mixins/draggable.js +140 -0
  243. package/dist/mixins/draggable.js.map +1 -0
  244. package/dist/mixins/dropdown.d.ts.map +1 -1
  245. package/dist/mixins/dropdown.js +216 -0
  246. package/dist/mixins/dropdown.js.map +1 -0
  247. package/dist/mixins/editable.d.ts.map +1 -1
  248. package/dist/mixins/editable.js +175 -0
  249. package/dist/mixins/editable.js.map +1 -0
  250. package/dist/mixins/grid-navigation.d.ts.map +1 -1
  251. package/dist/mixins/grid-navigation.js +194 -0
  252. package/dist/mixins/grid-navigation.js.map +1 -0
  253. package/dist/mixins/index.d.ts +8 -2
  254. package/dist/mixins/index.d.ts.map +1 -1
  255. package/dist/mixins/index.js +38 -0
  256. package/dist/mixins/index.js.map +1 -0
  257. package/dist/mixins/infinite-scroll.d.ts.map +1 -1
  258. package/dist/mixins/infinite-scroll.js +83 -0
  259. package/dist/mixins/infinite-scroll.js.map +1 -0
  260. package/dist/mixins/listbox.d.ts +19 -0
  261. package/dist/mixins/listbox.d.ts.map +1 -0
  262. package/dist/mixins/listbox.js +208 -0
  263. package/dist/mixins/listbox.js.map +1 -0
  264. package/dist/mixins/popup.d.ts +36 -0
  265. package/dist/mixins/popup.d.ts.map +1 -0
  266. package/dist/mixins/popup.js +113 -0
  267. package/dist/mixins/popup.js.map +1 -0
  268. package/dist/mixins/registry.d.ts +6 -0
  269. package/dist/mixins/registry.d.ts.map +1 -1
  270. package/dist/mixins/registry.js +167 -0
  271. package/dist/mixins/registry.js.map +1 -0
  272. package/dist/mixins/resizable.d.ts.map +1 -1
  273. package/dist/mixins/resizable.js +128 -0
  274. package/dist/mixins/resizable.js.map +1 -0
  275. package/dist/mixins/sortable.d.ts.map +1 -1
  276. package/dist/mixins/sortable.js +511 -0
  277. package/dist/mixins/sortable.js.map +1 -0
  278. package/dist/mixins/tooltip.d.ts.map +1 -1
  279. package/dist/mixins/tooltip.js +80 -0
  280. package/dist/mixins/tooltip.js.map +1 -0
  281. package/dist/mixins/utils.js +105 -0
  282. package/dist/mixins/utils.js.map +1 -0
  283. package/dist/plugins/async-validators.js +118 -0
  284. package/dist/plugins/async-validators.js.map +1 -0
  285. package/dist/plugins/builtins.d.ts +1 -1
  286. package/dist/plugins/builtins.d.ts.map +1 -1
  287. package/dist/plugins/builtins.js +20 -0
  288. package/dist/plugins/builtins.js.map +1 -0
  289. package/dist/plugins/date-utils.js +128 -0
  290. package/dist/plugins/date-utils.js.map +1 -0
  291. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  292. package/dist/plugins/plugin-manager.js +99 -0
  293. package/dist/plugins/plugin-manager.js.map +1 -0
  294. package/dist/plugins/rich-text.js +365 -0
  295. package/dist/plugins/rich-text.js.map +1 -0
  296. package/dist/realtime/azure-pubsub-manager.js +273 -0
  297. package/dist/realtime/azure-pubsub-manager.js.map +1 -0
  298. package/dist/realtime/collab/anchors.d.ts +10 -0
  299. package/dist/realtime/collab/anchors.d.ts.map +1 -0
  300. package/dist/realtime/collab/anchors.js +19 -0
  301. package/dist/realtime/collab/anchors.js.map +1 -0
  302. package/dist/realtime/collab/collab-session.d.ts +46 -1
  303. package/dist/realtime/collab/collab-session.d.ts.map +1 -1
  304. package/dist/realtime/collab/collab-session.js +396 -0
  305. package/dist/realtime/collab/collab-session.js.map +1 -0
  306. package/dist/realtime/collab/cursor-overlay.d.ts +10 -0
  307. package/dist/realtime/collab/cursor-overlay.d.ts.map +1 -1
  308. package/dist/realtime/collab/cursor-overlay.js +187 -0
  309. package/dist/realtime/collab/cursor-overlay.js.map +1 -0
  310. package/dist/realtime/collab/textarea-adapter.d.ts +13 -0
  311. package/dist/realtime/collab/textarea-adapter.d.ts.map +1 -1
  312. package/dist/realtime/collab/textarea-adapter.js +125 -0
  313. package/dist/realtime/collab/textarea-adapter.js.map +1 -0
  314. package/dist/realtime/collab/undo-manager.d.ts +44 -0
  315. package/dist/realtime/collab/undo-manager.d.ts.map +1 -0
  316. package/dist/realtime/collab/undo-manager.js +148 -0
  317. package/dist/realtime/collab/undo-manager.js.map +1 -0
  318. package/dist/realtime/index.d.ts +11 -0
  319. package/dist/realtime/index.d.ts.map +1 -0
  320. package/dist/realtime/index.js +22 -0
  321. package/dist/realtime/index.js.map +1 -0
  322. package/dist/realtime/ot/client.d.ts +1 -1
  323. package/dist/realtime/ot/client.d.ts.map +1 -1
  324. package/dist/realtime/ot/client.js +74 -0
  325. package/dist/realtime/ot/client.js.map +1 -0
  326. package/dist/realtime/ot/server.d.ts +13 -1
  327. package/dist/realtime/ot/server.d.ts.map +1 -1
  328. package/dist/realtime/ot/server.js +292 -0
  329. package/dist/realtime/ot/server.js.map +1 -0
  330. package/dist/realtime/ot/text-operation.js +282 -0
  331. package/dist/realtime/ot/text-operation.js.map +1 -0
  332. package/dist/realtime/reconnect.js +58 -0
  333. package/dist/realtime/reconnect.js.map +1 -0
  334. package/dist/realtime/sse-manager.js +172 -0
  335. package/dist/realtime/sse-manager.js.map +1 -0
  336. package/dist/realtime/types.d.ts +29 -1
  337. package/dist/realtime/types.d.ts.map +1 -1
  338. package/dist/realtime/websocket-manager.js +180 -0
  339. package/dist/realtime/websocket-manager.js.map +1 -0
  340. package/dist/theme-polychrome-boot.js +17 -0
  341. package/dist/theme-polychrome.css +310 -0
  342. package/dist/theme.css +490 -1
  343. package/dist/tokens/base.tokens.json +18 -0
  344. package/dist/tokens/dark-high-contrast.tokens.json +11 -0
  345. package/dist/tokens/dark.tokens.json +81 -0
  346. package/dist/tokens/light-high-contrast.tokens.json +11 -0
  347. package/dist/tokens/light.tokens.json +81 -0
  348. package/dist/tokens/polychrome.base.tokens.json +45 -0
  349. package/dist/tokens/polychrome.dark-high-contrast.tokens.json +183 -0
  350. package/dist/tokens/polychrome.dark.tokens.json +321 -0
  351. package/dist/tokens/polychrome.light-high-contrast.tokens.json +115 -0
  352. package/dist/tokens/polychrome.light.tokens.json +418 -0
  353. package/dist/tokens/polychrome.resolver.json +78 -0
  354. package/dist/utils/backoff.js +30 -0
  355. package/dist/utils/backoff.js.map +1 -0
  356. package/dist/utils/dates.js +67 -0
  357. package/dist/utils/dates.js.map +1 -0
  358. package/dist/utils/dom.js +30 -0
  359. package/dist/utils/dom.js.map +1 -0
  360. package/dist/utils/emitter.js +40 -0
  361. package/dist/utils/emitter.js.map +1 -0
  362. package/dist/utils/fuzzy.d.ts +23 -0
  363. package/dist/utils/fuzzy.d.ts.map +1 -0
  364. package/dist/utils/fuzzy.js +95 -0
  365. package/dist/utils/fuzzy.js.map +1 -0
  366. package/dist/utils/path.js +99 -0
  367. package/dist/utils/path.js.map +1 -0
  368. package/dist/utils/sanitize.js +161 -0
  369. package/dist/utils/sanitize.js.map +1 -0
  370. package/dist/utils/url.js +44 -0
  371. package/dist/utils/url.js.map +1 -0
  372. package/dist/utils/virtual-window.d.ts +25 -0
  373. package/dist/utils/virtual-window.d.ts.map +1 -0
  374. package/dist/utils/virtual-window.js +19 -0
  375. package/dist/utils/virtual-window.js.map +1 -0
  376. package/dist/version.d.ts +1 -1
  377. package/dist/version.js +6 -0
  378. package/dist/version.js.map +1 -0
  379. package/package.json +63 -11
  380. package/dist/arethesis-jPH9QdQE.js +0 -5345
  381. package/dist/arethesis-jPH9QdQE.js.map +0 -1
  382. package/dist/arethesis.js.map +0 -1
  383. package/dist/components.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,71 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Changed
6
+
7
+ - **Import only what you use.** The package is now one module per source file, and bundlers can tree-shake it. An app that only uses `ObjectStore` bundles about 2 KB gzipped instead of the whole framework.
8
+ - New entry points: `arethesis/core` (lean, nothing registered globally), `arethesis/realtime`, `arethesis/collab`, `arethesis/mixins`, `arethesis/mixins/<name>`, `arethesis/plugins/<name>`, and `arethesis/components/<name>` for a single kit element.
9
+ - `import 'arethesis'` and `import 'arethesis/components'` work as before.
10
+ - With `arethesis/core`, add `import 'arethesis/realtime'` to use the `sse`, `websocket` and `azurePubSub` options, and `import 'arethesis/collab'` for `app.collab`. `import 'arethesis'` includes both.
11
+ - Minified bundles for `<script type="module">` are in `arethesis/cdn/`.
12
+ - CI checks bundle sizes and that partial imports stay small.
13
+ - Importing a mixin or plugin module no longer registers it as a side effect. `import 'arethesis'` still registers all the built-ins. With `arethesis/core`, call `registerBuiltInMixins()` from `arethesis/mixins`, or `mixinRegistry.register()` for just the ones you use.
14
+
15
+ - **Tooltips, context menus and dropdown lists open as popovers** where the browser supports them. A scrolling table or a card with `overflow: hidden` no longer clips them, and lists follow their input as the page scrolls. Inside a modal `<dialog>` they open in the dialog.
16
+ - New rows are inserted in one batch.
17
+ - `<a-data-table>`'s `aria-rowcount` now counts the header row, and is `-1` while the total is unknown.
18
+ - A list's loading, empty and error placeholders are no longer wrapped in a `<div>`, so a loading `<li>` stays a direct child of its `<ul>`.
19
+
20
+ ### Added
21
+
22
+ - **`<a-presence>`**: avatars for the people in a collaborative session, with readable initials, tooltips, an overflow list, and optional join and leave announcements. The editor example shows it in its toolbar.
23
+ - **`<a-calendar>`**: a date grid with the full keyboard pattern, locale-aware weeks, single or range selection, `min`/`max`, events from a ListView whose date filters follow the month, and form submission.
24
+ - **`<a-tree>`**: a tree whose branches are ListViews loaded when they're opened. It has the full tree keyboard pattern, single or multiple selection, "Show more" for long branches, and it's a form control when it has a `name`.
25
+ - **`<a-dialog>`** and **`confirm()`**: a native `<dialog>` with a heading, a close button, `closedby`, focus management and a promise for its result, plus a ready-made yes-or-no `alertdialog`. `<a-command-palette>` shares its modal handling. The kanban example asks before deleting a card.
26
+ - **`<a-tabs>`**: tabs over headings and sections (or your own tab list), with arrow keys, automatic or manual activation, `hidden="until-found"` panels that find-in-page can open, the tab in the URL with `data-hash`, and lazy panels.
27
+ - **`<a-toast>`**, `toast()` and `connectToasts()`: notifications in polite and assertive live regions that are in the page from the start. A toast pauses while hovered or focused, and a toast with an action stays until it's used. `connectToasts(app)` shows rolled-back changes and, if you ask, failed requests. The examples use it.
28
+ - `app.http.onError(listener)` reports every failed request; several listeners can subscribe.
29
+ - **`<a-combobox>`**: a text field with suggestions, from `<option>`s in the markup, a function or an endpoint. It does fuzzy filtering with highlighted matches, debounced searches that ignore stale results, and it's a form control. The signup example has one.
30
+ - **`<a-kanban>`**: a board of cards drawn from the store, grouped by a field and sorted by another. Drag with a mouse, finger or keyboard, or move cards from their menu. Moves are optimistic and roll back if the server refuses. It has optional work-in-progress limits, inline add, and delete (with an optional `beforeDelete` check). The kanban example now uses it.
31
+ - **Virtualized lists.** `virtualize` on a list binding renders only the items on screen (`'window'`) or lets the browser skip off-screen ones (`'css'`). `<a-data-table>` takes `virtualize: true`, keeps `aria-rowindex` on every row, and keeps the row being edited. `<a-list>` takes a `virtualize` attribute. New `Component` hooks: `onItemPosition`, `onItemRemove`, `pinItem`, `itemIndex` and `revealItem`.
32
+ - **`FormAssociatedComponent`**: a base class for components that are form controls. They submit with a native `<form>`, report `validity`, and handle reset, disabled fieldsets and state restore. `DataBinder` and `<a-form>` treat them as controls.
33
+ - `highlightMatch()` wraps fuzzy-matched characters in `<mark>`.
34
+ - `attachPopup()` (in `arethesis/mixins`): the popover helper behind the mixins, for your own floating UI.
35
+ - `mixinRegistry.ensure(name, mixin)` registers a mixin unless the name is taken.
36
+
37
+ ## 0.2.0
38
+
39
+ ### Added
40
+
41
+ - **Polychrome theme** (`arethesis/components/theme-polychrome.css`): an optional palette in the pigments of painted Greek architecture: Egyptian blue, cinnabar, malachite and ochre on limestone, or terracotta and bone on black glaze in dark mode. It has light, dark and high-contrast variants, its own design tokens (`polychrome.resolver.json`), a boot script (`theme-polychrome-boot.js`) and `themeBootHtml({ palette: 'polychrome' })`.
42
+ - New tokens in both themes: `--ar-accent-2` (a secondary accent), `--ar-font-display` and `--ar-font-serif`.
43
+ - **`<a-markdown-editor>`**: a Markdown editor around a plain textarea, with syntax highlighting, line numbers, a toolbar, a live sanitized preview, find and replace, list editing, per-user undo and highlighted ranges. It works under `CollabSession`. `renderMarkdown`, `markdownOutline` and the highlighter are exported too.
44
+ - **Per-user undo** for collaborative editing (`{ undo: true }`, `UndoManager`): undo reverts only your own edits.
45
+ - **Comments on shared documents**: `session.annotate()` and friends. They stay attached to their text as people edit, and the server stores them.
46
+ - Remote collaborators' selections are drawn as well as their carets. `TextareaAdapter` fires `collab:apply` when it changes the value.
47
+
48
+ ### Fixed
49
+
50
+ - `editable` select editors no longer save (and close) on the first arrow key press on Windows and Linux.
51
+ - Fast typing to start editing a table cell no longer drops characters, and IME input works.
52
+
53
+ - **`<a-command-palette>`**: Ctrl/Cmd+K to search commands and data, with fuzzy matching (`fuzzyMatch`, `fuzzyFilter`), grouped sources (static, searched, or from the store with `storeSource`), recents, and a modal dialog that keeps focus.
54
+ - **`<a-sheet>`**: a spreadsheet with formulas, a dependency graph that recalculates only what changed and catches cycles, range selection, fill, clipboard compatible with other spreadsheet apps, per-user undo, and highlighted edits from collaborators. The engine (`SheetModel`, `parseFormula`, `shiftFormula`) is exported.
55
+ - **`<a-chart>`**: line, area, bar and stacked-bar SVG charts that stream, resize, and are readable by keyboard and screen reader (crosshair tooltip, arrow-key readout, legend toggles, data table). New `--ar-chart-1` … `--ar-chart-6` tokens in both palettes, checked for color-vision deficiency.
56
+ - **`listbox` mixin**: an accessible select-only combobox whose arrow keys never pick a value by accident.
57
+ - `openCellEditor()`: the spreadsheet-style cell editor behind `<a-data-table>`, for other grids.
58
+
59
+ ### Changed
60
+
61
+ - **Editing in `<a-data-table>` works like a spreadsheet.** A click edits the cell; moving with the keyboard only selects. Typing replaces the value, after which the arrow keys save and move. Tab saves and moves right, Enter saves (and can move down with `enterMoves: 'down'`), Escape reverts. The editor floats over the cell, so the table no longer shifts, and edits are announced to screen readers. Choice columns use the new `listbox` instead of a native select.
62
+ - The examples have a new look in the Polychrome theme, with self-hosted fonts (Cinzel and Gentium Book Plus, SIL OFL) and a new home page.
63
+ - Every example has a command palette ("Ask the Oracle", Ctrl/Cmd+K): go to any page, switch themes, find people, cards, sections, cells and poleis.
64
+ - New example: **The Agora**, a live threaded discussion ("Is virtue teachable?") with Socrates, Aristotle, Hypatia and others: top-level threads are a ListView with cursor pagination, infinite scroll and server-side sort; votes are optimistic with rollback; replies arrive over SSE; the feed follows the WAI-ARIA feed pattern. The examples' navigation labels are shorter, to fit eight pages.
65
+ - New example: **The Treasury of Athens**, a shared spreadsheet of the Delian League's tribute, with a live chart and Pericles as an optional auditor.
66
+ - The dashboard example streams a multi-series traffic chart and grouped bars, and its stat cards use `<a-chart>` sparklines.
67
+ - The collaborative editor example is now a Markdown studio, with an outline, comments, presence by section, and Socrates as an optional co-author.
68
+
3
69
  ## 0.1.5
4
70
 
5
71
  ### Fixed
package/README.md CHANGED
@@ -16,7 +16,8 @@ npm install arethesis
16
16
  - **Config-driven HTTP.** Named endpoints, response mapping, nested normalization, cursor pagination, safe retries, batching and cache modes.
17
17
  - **Live by default.** SSE cache invalidation, WebSocket channels, Azure Web PubSub, and convergent operational transformation for collaborative text.
18
18
  - **Offline-ready.** IndexedDB persistence, TTLs, optimistic updates with field-level rollback.
19
- - **Accessible behaviors.** Nine keyboard-friendly mixins with ARIA built in: sortable, grid navigation, dropdown, context menu and more.
19
+ - **Pay for what you use.** One module per file and per-feature entry points (`arethesis/core`, `arethesis/realtime`, `arethesis/components/<name>`), with bundle sizes checked in CI.
20
+ - **Accessible behaviors.** Ten keyboard-friendly mixins with ARIA built in: sortable, grid navigation, dropdown, context menu and more.
20
21
  - **Secure defaults.** Sanitized HTML and URLs, origin-scoped auth headers, prototype-pollution-safe merges, and a logout that wipes cached data.
21
22
 
22
23
  **[Live examples →](https://aideendewinter.github.io/arethesis/)**: a 10,000-row directory, a kanban board, a collaborative editor, a live dashboard, a signup form, and an offline/caching playground. Run them locally with `npm run examples`; the source is in [`examples/`](examples/).
@@ -80,10 +81,10 @@ When the server sends `invalidate { type: "Person", id: 42 }` over SSE, every `<
80
81
  | **Binding** | `DataBinder`: 15 display types, two-way inputs, safe URL/HTML rendering, validation UI with an accessible error summary |
81
82
  | **Validation** | 16 built-in validators, async validators with cancellation, `{param}` messages, translations |
82
83
  | **Real-time** | `SSEManager`, `WebSocketManager`, `AzurePubSubManager` with shared reconnect/backoff, token refresh on reconnect, status events |
83
- | **Collaboration** | `TextOperation` OT, `OTClient`, a reference `CollabServer`, and `CollabSession` with presence and live cursors |
84
- | **Mixins** | `draggable`, `editable`, `grid-navigation`, `infinite-scroll`, `sortable`, `resizable`, `dropdown`, `tooltip`, `context-menu` |
84
+ | **Collaboration** | `TextOperation` OT, `OTClient`, a reference `CollabServer`, and `CollabSession` with presence, live cursors and selections, per-user undo, and comments anchored to their text |
85
+ | **Mixins** | `draggable`, `editable`, `grid-navigation`, `infinite-scroll`, `sortable`, `resizable`, `dropdown`, `listbox`, `tooltip`, `context-menu` |
85
86
  | **Plugins** | `date-utils`, `async-validators`, a dependency-free `rich-text` editor, and an API for your own |
86
- | **Component kit** | `<a-data-table>`, `<a-flex-view>`, `<a-list>`, `<a-form>` and a themeable stylesheet: light, dark and high contrast, without a flash on load |
87
+ | **Component kit** | `<a-data-table>` with spreadsheet-style editing and virtualized rows, `<a-sheet>` (formulas, fill, clipboard), `<a-chart>` (streaming SVG charts), `<a-kanban>`, `<a-combobox>`, `<a-tree>` (lazy branches), `<a-calendar>`, `<a-tabs>`, `<a-dialog>` and `confirm()`, `<a-toast>`, `<a-presence>`, `<a-markdown-editor>`, `<a-command-palette>`, `<a-flex-view>`, `<a-list>`, `<a-form>`, and a themeable stylesheet: light, dark and high contrast, without a flash on load, plus the optional Polychrome palette. Import them all, or one at a time (`arethesis/components/kanban`) |
87
88
  | **Design tokens** | The theme as [W3C design tokens](https://www.w3.org/community/reports/design-tokens/CG-FINAL-format-20251028/) (2025.10) with a resolver, published as `arethesis/tokens/*` |
88
89
 
89
90
  ## Documentation
package/dist/arethesis.js CHANGED
@@ -1,147 +1,2 @@
1
- import { $ as e, A as t, C as n, D as r, E as i, G as a, H as o, I as s, J as c, K as ee, L as te, M as ne, N as l, O as u, P as d, Q as f, R as p, S as m, T as h, U as g, V as _, W as v, X as y, Y as b, Z as x, _ as S, a as C, at as w, b as T, c as E, ct as D, d as O, dt as k, et as A, f as j, ft as M, g as N, gt as P, h as F, ht as I, i as re, it as L, j as R, k as z, l as B, lt as V, m as H, mt as U, n as W, nt as G, o as K, ot as q, p as J, pt as Y, q as X, r as ie, rt as ae, s as oe, st as se, t as ce, tt as Z, u as le, ut as ue, v as Q, w as de, x as fe, y as pe, z as me } from "./arethesis-jPH9QdQE.js";
2
- // src/realtime/ot/server.ts
3
- var $ = class {
4
- document;
5
- operations = [];
6
- opIds = [];
7
- constructor(e = "") {
8
- this.document = e;
9
- }
10
- get revision() {
11
- return this.operations.length;
12
- }
13
- receive(e, t, n) {
14
- if (e < 0 || e > this.operations.length) throw Error(`Invalid revision ${e}`);
15
- let r = t;
16
- for (let t of this.operations.slice(e)) r = Z.transform(r, t)[0];
17
- return this.document = r.apply(this.document), this.operations.push(r), this.opIds.push(n), r;
18
- }
19
- }, he = class {
20
- send;
21
- loadDocument;
22
- docs = /* @__PURE__ */ new Map();
23
- clients = /* @__PURE__ */ new Map();
24
- constructor(e, t = () => "") {
25
- this.send = e, this.loadDocument = t;
26
- }
27
- document(e) {
28
- let t = this.docs.get(e);
29
- return t || (t = new $(this.loadDocument(e)), this.docs.set(e, t)), t;
30
- }
31
- membersOf(e) {
32
- return Array.from(this.clients.entries()).filter(([, t]) => t.docs.has(e)).map(([e]) => e);
33
- }
34
- broadcast(e, t, n) {
35
- for (let r of this.membersOf(e)) r !== n && this.send(r, t);
36
- }
37
- handle(e, t) {
38
- let n = t.channel?.replace(/^doc:/, "") ?? "";
39
- if (!n) return;
40
- let r = this.clients.get(e);
41
- switch (r || (r = { docs: /* @__PURE__ */ new Set() }, this.clients.set(e, r)), t.type) {
42
- case "collab:join": {
43
- r.docs.add(n);
44
- let i = t.payload ?? {};
45
- r.user = i.user;
46
- let a = this.document(n), o = typeof i.revision == "number" && i.revision >= 0 && i.revision <= a.revision ? i.revision : null, s = o === null ? void 0 : a.operations.slice(o).map((e, t) => ({
47
- op: e.toJSON(),
48
- opId: a.opIds[o + t]
49
- })), c = this.membersOf(n).filter((t) => t !== e).map((e) => ({
50
- clientId: e,
51
- user: this.clients.get(e)?.user,
52
- selection: this.clients.get(e)?.selection
53
- }));
54
- this.send(e, {
55
- type: "collab:init",
56
- channel: t.channel,
57
- payload: {
58
- content: a.document,
59
- revision: a.revision,
60
- clientId: e,
61
- peers: c,
62
- since: o,
63
- missed: s
64
- }
65
- }), this.broadcast(n, {
66
- type: "collab:presence",
67
- channel: t.channel,
68
- payload: {
69
- clientId: e,
70
- user: r.user
71
- }
72
- }, e);
73
- return;
74
- }
75
- case "collab:op": {
76
- if (!r.docs.has(n)) return;
77
- let { revision: i, op: a, opId: o } = t.payload, s;
78
- try {
79
- s = this.document(n).receive(i, Z.fromJSON(a), o);
80
- } catch (n) {
81
- this.send(e, {
82
- type: "collab:error",
83
- channel: t.channel,
84
- payload: {
85
- opId: o,
86
- message: n.message
87
- }
88
- });
89
- return;
90
- }
91
- let c = this.document(n).revision;
92
- this.send(e, {
93
- type: "collab:ack",
94
- channel: t.channel,
95
- payload: {
96
- revision: c,
97
- opId: o
98
- }
99
- }), this.broadcast(n, {
100
- type: "collab:op",
101
- channel: t.channel,
102
- payload: {
103
- op: s.toJSON(),
104
- revision: c,
105
- clientId: e
106
- }
107
- }, e);
108
- return;
109
- }
110
- case "collab:presence": {
111
- if (!r.docs.has(n)) return;
112
- let i = t.payload;
113
- r.selection = i.selection, i.user && (r.user = i.user), this.broadcast(n, {
114
- type: "collab:presence",
115
- channel: t.channel,
116
- payload: {
117
- clientId: e,
118
- user: r.user,
119
- selection: i.selection,
120
- revision: this.document(n).revision
121
- }
122
- }, e);
123
- return;
124
- }
125
- case "collab:leave":
126
- this.leave(e, n);
127
- return;
128
- }
129
- }
130
- leave(e, t) {
131
- this.clients.get(e)?.docs.delete(t) && this.broadcast(t, {
132
- type: "collab:leave",
133
- channel: `doc:${t}`,
134
- payload: { clientId: e }
135
- });
136
- }
137
- disconnect(e) {
138
- let t = this.clients.get(e);
139
- if (t) {
140
- for (let n of [...t.docs]) this.leave(e, n);
141
- this.clients.delete(e);
142
- }
143
- }
144
- };
145
- export { ce as Arethesis, w as AuthManager, G as AzurePubSubManager, n as COMPONENT_METADATA, b as CollabManager, he as CollabServer, y as CollabSession, m as Component, x as CursorOverlay, s as DataBinder, ue as Emitter, q as HttpClient, se as HttpError, k as ListViewRegistry, i as MixinRegistry, A as OTClient, $ as OTDocumentServer, M as ObjectStore, V as OptimisticUpdateManager, D as PersistenceManager, T as PluginManager, te as RelativeTimeTicker, L as SSEManager, l as TemplateLoader, Z as TextOperation, e as TextareaAdapter, B as VERSION, v as ValidationEngine, ae as WebSocketManager, r as applyMixin, oe as asyncValidatorsPlugin, f as caretCoordinates, O as contextMenuMixin, E as dateUtilsPlugin, Y as deepEqual, U as deepMerge, de as defineComponent, W as defineEndpoint, ie as defineType, pe as draggableMixin, J as dropdownMixin, Q as editableMixin, a as formatDatePattern, p as formatRelative, re as getArethesis, h as getComponentMetadata, I as getPath, S as gridNavigationMixin, _ as htmlToText, N as infiniteScrollMixin, u as initMixins, z as mixinRegistry, t as observeMixins, ee as parseDate, le as registerBuiltInMixins, fe as registerBuiltInPlugin, R as registerMixin, me as relativeTimes, ne as removeMixin, H as resizableMixin, C as richTextMixin, K as richTextPlugin, o as sanitizeHtml, g as sanitizeUrl, P as setPath, F as sortableMixin, d as templateLoader, X as toDateInputValue, c as toDateTimeInputValue, j as tooltipMixin };
146
-
147
- //# sourceMappingURL=arethesis.js.map
1
+ // Kept for compatibility; the entry is ./index.js.
2
+ export * from './index.js';
@@ -1,5 +1,12 @@
1
1
  import { BindConfig, FieldBindConfig, ValidationError, ValidationResult } from './types';
2
2
  import { ValidationEngine } from './validation-engine';
3
+ /** A form-associated custom element (`static formAssociated = true`), such as `<a-combobox>`. */
4
+ interface FormValueElement extends HTMLElement {
5
+ value: string;
6
+ readonly type?: string;
7
+ }
8
+ /** Whether `el` is a form-associated custom element with a value. */
9
+ export declare function isFormAssociated(el: Element): el is FormValueElement;
3
10
  /** A live binding returned by `DataBinder.bind()`. */
4
11
  export interface BindingHandle {
5
12
  /** Patch the DOM with new data (unchanged fields are skipped). */
@@ -79,4 +86,5 @@ export declare class RelativeTimeTicker {
79
86
  export declare const relativeTimes: RelativeTimeTicker;
80
87
  /** "3 minutes ago", "in 2 days". */
81
88
  export declare function formatRelative(date: Date, locale?: string, now?: number): string;
89
+ export {};
82
90
  //# sourceMappingURL=data-binder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-binder.d.ts","sourceRoot":"","sources":["../../src/binding/data-binder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAGf,eAAe,EACf,gBAAgB,EAEjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAkBvD,sDAAsD;AACtD,MAAM,WAAW,aAAa;IAC5B,kEAAkE;IAClE,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,QAAQ,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACtC,0CAA0C;IAC1C,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,mCAAmC;IACnC,MAAM,IAAI,IAAI,CAAC;CAChB;AAyBD,qBAAa,UAAU;IACrB,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,OAAO,CAAC,QAAQ,CAAwC;IACxD,OAAO,CAAC,MAAM,CAAyD;IACvE,OAAO,CAAC,cAAc,CAA2C;IACjE,OAAO,CAAC,OAAO,CAA0B;gBAE7B,gBAAgB,CAAC,EAAE,gBAAgB;IAI/C;;;OAGG;IACH,IAAI,CAAC,OAAO,EAA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