@dxos/plugin-deck 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae

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 (329) hide show
  1. package/dist/lib/browser/Banner-DR6B7XTO.mjs +15 -0
  2. package/dist/lib/browser/Banner-DR6B7XTO.mjs.map +7 -0
  3. package/dist/lib/browser/DeckSettings-HB5TKG2F.mjs +96 -0
  4. package/dist/lib/browser/DeckSettings-HB5TKG2F.mjs.map +7 -0
  5. package/dist/lib/browser/app-graph-builder-22XAL7YE.mjs +123 -0
  6. package/dist/lib/browser/app-graph-builder-22XAL7YE.mjs.map +7 -0
  7. package/dist/lib/browser/check-app-scheme-ZV3QWNNZ.mjs +33 -0
  8. package/dist/lib/browser/check-app-scheme-ZV3QWNNZ.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-BJDEG7YZ.mjs +74 -0
  10. package/dist/lib/browser/chunk-BJDEG7YZ.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-FBL4WVYZ.mjs +16 -0
  12. package/dist/lib/browser/chunk-FBL4WVYZ.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-OAPMV5ZR.mjs +280 -0
  14. package/dist/lib/browser/chunk-OAPMV5ZR.mjs.map +7 -0
  15. package/dist/lib/browser/chunk-Q4GUCIRE.mjs +200 -0
  16. package/dist/lib/browser/chunk-Q4GUCIRE.mjs.map +7 -0
  17. package/dist/lib/browser/chunk-SKBPLX5T.mjs +81 -0
  18. package/dist/lib/browser/chunk-SKBPLX5T.mjs.map +7 -0
  19. package/dist/lib/browser/chunk-YGOOWRJE.mjs +1390 -0
  20. package/dist/lib/browser/chunk-YGOOWRJE.mjs.map +7 -0
  21. package/dist/lib/browser/index.mjs +91 -74
  22. package/dist/lib/browser/index.mjs.map +4 -4
  23. package/dist/lib/browser/meta.json +1 -1
  24. package/dist/lib/browser/operation-resolver-BLZGJWLO.mjs +580 -0
  25. package/dist/lib/browser/operation-resolver-BLZGJWLO.mjs.map +7 -0
  26. package/dist/lib/browser/react-root-4ESZAM6D.mjs +49 -0
  27. package/dist/lib/browser/react-root-4ESZAM6D.mjs.map +7 -0
  28. package/dist/lib/browser/react-surface-KYQGCALN.mjs +44 -0
  29. package/dist/lib/browser/react-surface-KYQGCALN.mjs.map +7 -0
  30. package/dist/lib/browser/settings-RY2TBSGP.mjs +40 -0
  31. package/dist/lib/browser/settings-RY2TBSGP.mjs.map +7 -0
  32. package/dist/lib/browser/state-CSTTMJ43.mjs +106 -0
  33. package/dist/lib/browser/state-CSTTMJ43.mjs.map +7 -0
  34. package/dist/lib/browser/toolkit-EONRPYA5.mjs +55 -0
  35. package/dist/lib/browser/toolkit-EONRPYA5.mjs.map +7 -0
  36. package/dist/lib/browser/types/index.mjs +14 -6
  37. package/dist/lib/browser/url-handler-EM3SYHHX.mjs +95 -0
  38. package/dist/lib/browser/url-handler-EM3SYHHX.mjs.map +7 -0
  39. package/dist/lib/node-esm/Banner-HR7DPUZU.mjs +16 -0
  40. package/dist/lib/node-esm/Banner-HR7DPUZU.mjs.map +7 -0
  41. package/dist/lib/node-esm/DeckSettings-MWTR7HU2.mjs +97 -0
  42. package/dist/lib/node-esm/DeckSettings-MWTR7HU2.mjs.map +7 -0
  43. package/dist/lib/node-esm/app-graph-builder-GNNNCWGN.mjs +124 -0
  44. package/dist/lib/node-esm/app-graph-builder-GNNNCWGN.mjs.map +7 -0
  45. package/dist/lib/node-esm/check-app-scheme-ZNISVRFH.mjs +34 -0
  46. package/dist/lib/node-esm/check-app-scheme-ZNISVRFH.mjs.map +7 -0
  47. package/dist/lib/node-esm/chunk-DGTRKKWZ.mjs +76 -0
  48. package/dist/lib/node-esm/chunk-DGTRKKWZ.mjs.map +7 -0
  49. package/dist/lib/node-esm/chunk-EGFOT3DE.mjs +18 -0
  50. package/dist/lib/node-esm/chunk-EGFOT3DE.mjs.map +7 -0
  51. package/dist/lib/node-esm/chunk-IR6ODCNC.mjs +83 -0
  52. package/dist/lib/node-esm/chunk-IR6ODCNC.mjs.map +7 -0
  53. package/dist/lib/node-esm/chunk-L2NPJPGL.mjs +281 -0
  54. package/dist/lib/node-esm/chunk-L2NPJPGL.mjs.map +7 -0
  55. package/dist/lib/node-esm/chunk-O4IOJICP.mjs +201 -0
  56. package/dist/lib/node-esm/chunk-O4IOJICP.mjs.map +7 -0
  57. package/dist/lib/node-esm/chunk-Z43MBISY.mjs +1391 -0
  58. package/dist/lib/node-esm/chunk-Z43MBISY.mjs.map +7 -0
  59. package/dist/lib/node-esm/index.mjs +186 -0
  60. package/dist/lib/node-esm/index.mjs.map +7 -0
  61. package/dist/lib/node-esm/meta.json +1 -0
  62. package/dist/lib/node-esm/operation-resolver-5BYDNQND.mjs +581 -0
  63. package/dist/lib/node-esm/operation-resolver-5BYDNQND.mjs.map +7 -0
  64. package/dist/lib/node-esm/react-root-YO7IIC75.mjs +50 -0
  65. package/dist/lib/node-esm/react-root-YO7IIC75.mjs.map +7 -0
  66. package/dist/lib/node-esm/react-surface-G7VRKT4U.mjs +45 -0
  67. package/dist/lib/node-esm/react-surface-G7VRKT4U.mjs.map +7 -0
  68. package/dist/lib/node-esm/settings-GYLWWOBK.mjs +41 -0
  69. package/dist/lib/node-esm/settings-GYLWWOBK.mjs.map +7 -0
  70. package/dist/lib/node-esm/state-RQXTBWUX.mjs +107 -0
  71. package/dist/lib/node-esm/state-RQXTBWUX.mjs.map +7 -0
  72. package/dist/lib/node-esm/toolkit-EU3Z2R4H.mjs +56 -0
  73. package/dist/lib/node-esm/toolkit-EU3Z2R4H.mjs.map +7 -0
  74. package/dist/lib/node-esm/types/index.mjs +41 -0
  75. package/dist/lib/node-esm/url-handler-VUK2LBJV.mjs +96 -0
  76. package/dist/lib/node-esm/url-handler-VUK2LBJV.mjs.map +7 -0
  77. package/dist/types/src/DeckPlugin.d.ts +2 -1
  78. package/dist/types/src/DeckPlugin.d.ts.map +1 -1
  79. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  80. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  81. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  82. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  83. package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts +5 -0
  84. package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts.map +1 -0
  85. package/dist/types/src/capabilities/check-app-scheme/index.d.ts +3 -0
  86. package/dist/types/src/capabilities/check-app-scheme/index.d.ts.map +1 -0
  87. package/dist/types/src/capabilities/index.d.ts +8 -13
  88. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  89. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  90. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  91. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  92. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  93. package/dist/types/src/capabilities/react-root/index.d.ts +6 -0
  94. package/dist/types/src/capabilities/react-root/index.d.ts.map +1 -0
  95. package/dist/types/src/capabilities/react-root/react-root.d.ts +9 -0
  96. package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -0
  97. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  98. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  99. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  100. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  101. package/dist/types/src/capabilities/settings/index.d.ts +19 -0
  102. package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
  103. package/dist/types/src/capabilities/settings/settings.d.ts +22 -0
  104. package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
  105. package/dist/types/src/capabilities/state/index.d.ts +172 -0
  106. package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
  107. package/dist/types/src/capabilities/state/state.d.ts +175 -0
  108. package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
  109. package/dist/types/src/capabilities/toolkit/index.d.ts +3 -0
  110. package/dist/types/src/capabilities/toolkit/index.d.ts.map +1 -0
  111. package/dist/types/src/capabilities/toolkit/toolkit.d.ts +27 -0
  112. package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +1 -0
  113. package/dist/types/src/capabilities/tools/index.d.ts +3 -0
  114. package/dist/types/src/capabilities/tools/index.d.ts.map +1 -0
  115. package/dist/types/src/capabilities/tools/tools.d.ts +12 -0
  116. package/dist/types/src/capabilities/tools/tools.d.ts.map +1 -0
  117. package/dist/types/src/capabilities/url-handler/index.d.ts +3 -0
  118. package/dist/types/src/capabilities/url-handler/index.d.ts.map +1 -0
  119. package/dist/types/src/capabilities/url-handler/url-handler.d.ts +5 -0
  120. package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +1 -0
  121. package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
  122. package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
  123. package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
  124. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
  125. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
  126. package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +75 -0
  127. package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
  128. package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
  129. package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
  130. package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +1 -1
  131. package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +1 -1
  132. package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
  133. package/dist/types/src/components/DeckLayout/Toast.d.ts +7 -2
  134. package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
  135. package/dist/types/src/components/Plank/Plank.d.ts +6 -6
  136. package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
  137. package/dist/types/src/components/Plank/Plank.stories.d.ts +105 -5
  138. package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
  139. package/dist/types/src/components/Plank/PlankControls.d.ts +1 -1
  140. package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
  141. package/dist/types/src/components/Plank/PlankError.d.ts +6 -4
  142. package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
  143. package/dist/types/src/components/Plank/PlankHeading.d.ts +3 -3
  144. package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
  145. package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  146. package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -1
  147. package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
  148. package/dist/types/src/components/fragments.d.ts +4 -1
  149. package/dist/types/src/components/fragments.d.ts.map +1 -1
  150. package/dist/types/src/components/index.d.ts +0 -1
  151. package/dist/types/src/components/index.d.ts.map +1 -1
  152. package/dist/types/src/containers/Banner/Banner.d.ts +2 -0
  153. package/dist/types/src/containers/Banner/Banner.d.ts.map +1 -0
  154. package/dist/types/src/containers/Banner/index.d.ts +3 -0
  155. package/dist/types/src/containers/Banner/index.d.ts.map +1 -0
  156. package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts +8 -0
  157. package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts.map +1 -0
  158. package/dist/types/src/containers/DeckSettings/index.d.ts +3 -0
  159. package/dist/types/src/containers/DeckSettings/index.d.ts.map +1 -0
  160. package/dist/types/src/containers/index.d.ts +4 -0
  161. package/dist/types/src/containers/index.d.ts.map +1 -0
  162. package/dist/types/src/hooks/index.d.ts +2 -0
  163. package/dist/types/src/hooks/index.d.ts.map +1 -1
  164. package/dist/types/src/hooks/useDeckCompanions.d.ts +3 -3
  165. package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
  166. package/dist/types/src/hooks/useDeckState.d.ts +17 -0
  167. package/dist/types/src/hooks/useDeckState.d.ts.map +1 -0
  168. package/dist/types/src/hooks/useHoistStatusbar.d.ts +1 -1
  169. package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
  170. package/dist/types/src/hooks/useMainSize.d.ts +2 -2
  171. package/dist/types/src/hooks/useNodeActionExpander.d.ts +1 -1
  172. package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
  173. package/dist/types/src/hooks/useSelectedCompanion.d.ts +13 -0
  174. package/dist/types/src/hooks/useSelectedCompanion.d.ts.map +1 -0
  175. package/dist/types/src/index.d.ts +1 -2
  176. package/dist/types/src/index.d.ts.map +1 -1
  177. package/dist/types/src/meta.d.ts +2 -3
  178. package/dist/types/src/meta.d.ts.map +1 -1
  179. package/dist/types/src/translations.d.ts +4 -1
  180. package/dist/types/src/translations.d.ts.map +1 -1
  181. package/dist/types/src/{capabilities → types}/capabilities.d.ts +96 -90
  182. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  183. package/dist/types/src/types/events.d.ts +7 -0
  184. package/dist/types/src/types/events.d.ts.map +1 -0
  185. package/dist/types/src/types/index.d.ts +2 -0
  186. package/dist/types/src/types/index.d.ts.map +1 -1
  187. package/dist/types/src/types/schema.d.ts +96 -34
  188. package/dist/types/src/types/schema.d.ts.map +1 -1
  189. package/dist/types/src/util/set-active.d.ts +18 -3
  190. package/dist/types/src/util/set-active.d.ts.map +1 -1
  191. package/dist/types/tsconfig.tsbuildinfo +1 -1
  192. package/package.json +58 -46
  193. package/src/DeckPlugin.ts +46 -61
  194. package/src/capabilities/app-graph-builder/app-graph-builder.ts +119 -0
  195. package/src/capabilities/app-graph-builder/index.ts +7 -0
  196. package/src/capabilities/check-app-scheme/check-app-scheme.ts +45 -0
  197. package/src/capabilities/check-app-scheme/index.ts +7 -0
  198. package/src/capabilities/index.ts +9 -13
  199. package/src/capabilities/operation-resolver/index.ts +10 -0
  200. package/src/capabilities/operation-resolver/operation-resolver.ts +560 -0
  201. package/src/capabilities/react-root/index.ts +7 -0
  202. package/src/capabilities/react-root/react-root.tsx +47 -0
  203. package/src/capabilities/react-surface/index.ts +7 -0
  204. package/src/capabilities/react-surface/react-surface.tsx +38 -0
  205. package/src/capabilities/settings/index.ts +7 -0
  206. package/src/capabilities/settings/settings.ts +39 -0
  207. package/src/capabilities/state/index.ts +7 -0
  208. package/src/capabilities/state/state.ts +105 -0
  209. package/src/capabilities/toolkit/index.ts +7 -0
  210. package/src/capabilities/toolkit/toolkit.ts +64 -0
  211. package/src/capabilities/tools/index.ts +7 -0
  212. package/src/capabilities/tools/tools.ts +91 -0
  213. package/src/capabilities/url-handler/index.ts +7 -0
  214. package/src/capabilities/url-handler/url-handler.ts +96 -0
  215. package/src/components/DeckLayout/ActiveNode.tsx +3 -2
  216. package/src/components/DeckLayout/Banner.tsx +12 -12
  217. package/src/components/DeckLayout/ContentEmpty.tsx +6 -7
  218. package/src/components/DeckLayout/DeckLayout.stories.tsx +53 -0
  219. package/src/components/DeckLayout/DeckLayout.tsx +18 -285
  220. package/src/components/DeckLayout/DeckMain.tsx +287 -0
  221. package/src/components/DeckLayout/Dialog.tsx +22 -13
  222. package/src/components/DeckLayout/Fallback.tsx +4 -8
  223. package/src/components/DeckLayout/Popover.tsx +70 -32
  224. package/src/components/DeckLayout/StatusBar.tsx +4 -4
  225. package/src/components/DeckLayout/Toast.tsx +30 -5
  226. package/src/components/Plank/Plank.stories.tsx +26 -17
  227. package/src/components/Plank/Plank.tsx +103 -67
  228. package/src/components/Plank/PlankControls.tsx +12 -14
  229. package/src/components/Plank/PlankError.tsx +33 -18
  230. package/src/components/Plank/PlankHeading.tsx +42 -48
  231. package/src/components/Plank/PlankLoading.tsx +1 -1
  232. package/src/components/Sidebar/ComplementarySidebar.tsx +77 -45
  233. package/src/components/Sidebar/Sidebar.tsx +9 -9
  234. package/src/components/Sidebar/SidebarButton.tsx +40 -33
  235. package/src/components/fragments.ts +10 -5
  236. package/src/components/index.ts +0 -1
  237. package/src/containers/Banner/Banner.tsx +5 -0
  238. package/src/containers/Banner/index.ts +7 -0
  239. package/src/containers/DeckSettings/DeckSettings.tsx +113 -0
  240. package/src/containers/DeckSettings/index.ts +7 -0
  241. package/src/containers/index.ts +8 -0
  242. package/src/hooks/index.ts +2 -0
  243. package/src/hooks/useCompanions.ts +2 -2
  244. package/src/hooks/useDeckCompanions.ts +7 -5
  245. package/src/hooks/useDeckState.ts +82 -0
  246. package/src/hooks/useHoistStatusbar.ts +4 -5
  247. package/src/hooks/useMainSize.ts +2 -2
  248. package/src/hooks/useNodeActionExpander.ts +4 -4
  249. package/src/hooks/useSelectedCompanion.ts +38 -0
  250. package/src/index.ts +1 -2
  251. package/src/meta.ts +8 -5
  252. package/src/translations.ts +4 -1
  253. package/src/types/capabilities.ts +33 -0
  254. package/src/types/events.ts +21 -0
  255. package/src/types/index.ts +2 -0
  256. package/src/types/schema.ts +96 -21
  257. package/src/util/layoutAppliesTopbar.ts +1 -1
  258. package/src/util/overscroll.ts +3 -3
  259. package/src/util/set-active.ts +49 -29
  260. package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs +0 -152
  261. package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
  262. package/dist/lib/browser/check-app-scheme-57U62A3A.mjs +0 -32
  263. package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
  264. package/dist/lib/browser/chunk-CNTGBCMK.mjs +0 -145
  265. package/dist/lib/browser/chunk-CNTGBCMK.mjs.map +0 -7
  266. package/dist/lib/browser/chunk-D7KTFCUV.mjs +0 -1494
  267. package/dist/lib/browser/chunk-D7KTFCUV.mjs.map +0 -7
  268. package/dist/lib/browser/chunk-F5BQOOEG.mjs +0 -160
  269. package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
  270. package/dist/lib/browser/chunk-JFTXENFN.mjs +0 -129
  271. package/dist/lib/browser/chunk-JFTXENFN.mjs.map +0 -7
  272. package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
  273. package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
  274. package/dist/lib/browser/chunk-QDZO4AJ4.mjs +0 -127
  275. package/dist/lib/browser/chunk-QDZO4AJ4.mjs.map +0 -7
  276. package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
  277. package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
  278. package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs +0 -521
  279. package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs.map +0 -7
  280. package/dist/lib/browser/react-root-PO64J7ML.mjs +0 -43
  281. package/dist/lib/browser/react-root-PO64J7ML.mjs.map +0 -7
  282. package/dist/lib/browser/react-surface-E45YOVF5.mjs +0 -40
  283. package/dist/lib/browser/react-surface-E45YOVF5.mjs.map +0 -7
  284. package/dist/lib/browser/settings-6AJZPZPM.mjs +0 -29
  285. package/dist/lib/browser/settings-6AJZPZPM.mjs.map +0 -7
  286. package/dist/lib/browser/state-MVDYX77Y.mjs +0 -12
  287. package/dist/lib/browser/tools-TKQDPCHJ.mjs +0 -88
  288. package/dist/lib/browser/tools-TKQDPCHJ.mjs.map +0 -7
  289. package/dist/lib/browser/url-handler-7L7M6IKH.mjs +0 -70
  290. package/dist/lib/browser/url-handler-7L7M6IKH.mjs.map +0 -7
  291. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  292. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  293. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  294. package/dist/types/src/capabilities/check-app-scheme.d.ts +0 -4
  295. package/dist/types/src/capabilities/check-app-scheme.d.ts.map +0 -1
  296. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  297. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  298. package/dist/types/src/capabilities/react-root.d.ts +0 -7
  299. package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
  300. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  301. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  302. package/dist/types/src/capabilities/settings.d.ts +0 -4
  303. package/dist/types/src/capabilities/settings.d.ts.map +0 -1
  304. package/dist/types/src/capabilities/state.d.ts +0 -101
  305. package/dist/types/src/capabilities/state.d.ts.map +0 -1
  306. package/dist/types/src/capabilities/tools.d.ts +0 -11
  307. package/dist/types/src/capabilities/tools.d.ts.map +0 -1
  308. package/dist/types/src/capabilities/url-handler.d.ts +0 -4
  309. package/dist/types/src/capabilities/url-handler.d.ts.map +0 -1
  310. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +0 -6
  311. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +0 -1
  312. package/dist/types/src/components/DeckSettings/index.d.ts +0 -2
  313. package/dist/types/src/components/DeckSettings/index.d.ts.map +0 -1
  314. package/dist/types/src/events.d.ts +0 -4
  315. package/dist/types/src/events.d.ts.map +0 -1
  316. package/src/capabilities/app-graph-builder.ts +0 -141
  317. package/src/capabilities/capabilities.ts +0 -14
  318. package/src/capabilities/check-app-scheme.ts +0 -40
  319. package/src/capabilities/intent-resolver.ts +0 -468
  320. package/src/capabilities/react-root.tsx +0 -38
  321. package/src/capabilities/react-surface.tsx +0 -30
  322. package/src/capabilities/settings.ts +0 -26
  323. package/src/capabilities/state.ts +0 -104
  324. package/src/capabilities/tools.ts +0 -81
  325. package/src/capabilities/url-handler.ts +0 -59
  326. package/src/components/DeckSettings/DeckSettings.tsx +0 -88
  327. package/src/components/DeckSettings/index.ts +0 -5
  328. package/src/events.ts +0 -11
  329. /package/dist/lib/{browser/state-MVDYX77Y.mjs.map → node-esm/types/index.mjs.map} +0 -0
@@ -0,0 +1,75 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ onDismissToast }: import("./DeckLayout").DeckLayoutProps) => React.JSX.Element;
6
+ render: (args: import("./DeckLayout").DeckLayoutProps) => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ translations: [{
11
+ readonly 'en-US': {
12
+ readonly [meta.id]: {
13
+ readonly 'plugin name': "Deck";
14
+ readonly 'settings title': "Deck settings";
15
+ readonly 'main header label': "Main header";
16
+ readonly 'open navigation sidebar label': "Open sidebar";
17
+ readonly 'collapse navigation sidebar label': "Minimize sidebar";
18
+ readonly 'open complementary sidebar label': "Open context sidebar";
19
+ readonly 'close complementary sidebar label': "Minimize context sidebar";
20
+ readonly 'sidebar title': "Navigation sidebar";
21
+ readonly 'complementary sidebar title': "Context sidebar";
22
+ readonly 'plugin error message': "Content failed to render.";
23
+ readonly 'content fallback message': "Unsupported";
24
+ readonly 'content fallback description': "No plugin had a response for the address you navigated to. Double-check the URL, and ensure you’ve enabled a plugin that supports the object.";
25
+ readonly 'toggle fullscreen label': "Toggle fullscreen";
26
+ readonly 'settings show hints label': "Show hints";
27
+ readonly 'settings native redirect label': "Enable native url redirect (experimental)";
28
+ readonly 'settings new plank position start label': "Start";
29
+ readonly 'settings new plank position end label': "End";
30
+ readonly 'select new plank positioning placeholder': "Select new plank positioning";
31
+ readonly 'select new plank positioning label': "New plank positioning";
32
+ readonly 'undo available label': "Click to undo previous action.";
33
+ readonly 'undo action label': "Undo";
34
+ readonly 'undo action alt': "Undo previous action";
35
+ readonly 'undo close label': "Dismiss";
36
+ readonly 'error fallback message': "Unable to open this object";
37
+ readonly 'plank heading fallback label': "Untitled";
38
+ readonly 'actions menu label': "Options";
39
+ readonly 'settings deck label': "Disable deck";
40
+ readonly 'pending heading': "Loading…";
41
+ readonly 'insert plank label': "Open";
42
+ readonly 'resize label': "Drag to resize";
43
+ readonly 'pin start label': "Pin to the left sidebar";
44
+ readonly 'pin end label': "Pin to the right sidebar";
45
+ readonly 'increment start label': "Move to the left";
46
+ readonly 'increment end label': "Move to the right";
47
+ readonly 'show deck plank label': "Return to deck";
48
+ readonly 'show solo plank label': "Maximize";
49
+ readonly 'exit fullscreen label': "Exit fullscreen";
50
+ readonly 'show fullscreen plank label': "Fullscreen";
51
+ readonly 'close label': "Close";
52
+ readonly 'minify label': "Minify";
53
+ readonly 'open companion label': "Open companion";
54
+ readonly 'close companion label': "Close companion";
55
+ readonly 'settings overscroll label': "Plank scrolling";
56
+ readonly 'select overscroll placeholder': "Select plank scrolling behavior";
57
+ readonly 'settings overscroll centering label': "Centering";
58
+ readonly 'settings overscroll none label': "None";
59
+ readonly 'settings enable statusbar label': "Show status bar";
60
+ readonly 'settings enable deck label': "Enable Deck";
61
+ readonly 'settings encapsulated planks label': "Encapsulated planks";
62
+ readonly 'close current label': "Close current plank";
63
+ readonly 'close others label': "Close other planks";
64
+ readonly 'close all label': "Close all planks";
65
+ readonly 'companion plank heading fallback label': "Related";
66
+ readonly 'open item label': "Open";
67
+ };
68
+ };
69
+ }];
70
+ };
71
+ };
72
+ export default meta;
73
+ type Story = StoryObj<typeof meta>;
74
+ export declare const Default: Story;
75
+ //# sourceMappingURL=DeckLayout.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeckLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,QAAA,MAAM,IAAI;;;;;;;;;yBAxByB,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const DeckMain: () => React.JSX.Element;
3
+ //# sourceMappingURL=DeckMain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeckMain.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckMain.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAoB/F,eAAO,MAAM,QAAQ,yBA6PpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,MAAM,yBAuBlB,CAAC"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAQ3C,eAAO,MAAM,MAAM,yBAgClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,QAAQ,yBAgBpB,CAAC"}
1
+ {"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,QAAQ,yBAapB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAqD,MAAM,OAAO,CAAC;AAOzG,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAUzD,eAAO,MAAM,WAAW,GAAI,cAAc,oBAAoB,sBA+B7D,CAAC;AAEF,eAAO,MAAM,cAAc,yBAgD1B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AAWhG,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAUzD,eAAO,MAAM,WAAW,GAAI,cAAc,oBAAoB,sBA+B7D,CAAC;AAMF,eAAO,MAAM,cAAc,yBA8E1B,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
- import { type LayoutAction } from '@dxos/app-framework';
2
+ import { type LayoutOperation } from '@dxos/app-toolkit';
3
3
  import { type ToastRootProps } from '@dxos/react-ui';
4
- export declare const Toast: ({ id, title, description, icon, duration, actionLabel, actionAlt, closeLabel, onAction, onOpenChange, }: LayoutAction.Toast & Pick<ToastRootProps, "onOpenChange">) => React.JSX.Element;
4
+ export declare const Toast: ({ id, title, description, icon, duration, actionLabel, actionAlt, closeLabel, onAction, onOpenChange, }: LayoutOperation.Toast & Pick<ToastRootProps, "onOpenChange">) => React.JSX.Element;
5
+ export type ToasterProps = {
6
+ toasts?: LayoutOperation.Toast[];
7
+ onDismissToast?: (id: string) => void;
8
+ };
9
+ export declare const Toaster: ({ toasts, onDismissToast }: ToasterProps) => React.JSX.Element;
5
10
  //# sourceMappingURL=Toast.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B3D,CAAC"}
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,eAAe,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B9D,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC;IACjC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,4BAA4B,YAAY,sBAkB/D,CAAC"}
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  import { type Node } from '@dxos/plugin-graph';
3
- import { type LayoutMode, type ResolvedPart, type DeckSettingsProps } from '../../types';
3
+ import { type DeckSettingsProps, type LayoutMode, type ResolvedPart } from '../../types';
4
4
  export type PlankProps = Pick<PlankComponentProps, 'layoutMode' | 'part' | 'path' | 'order' | 'active' | 'settings'> & {
5
5
  id?: string;
6
- companionId?: string;
6
+ companionVariant?: string;
7
7
  };
8
8
  /**
9
9
  * A Plank is the main container for surfaces within a Deck.
10
10
  * It may be paired with a companion plank that enables the user to select one of multiple companion surfaces.
11
11
  */
12
- export declare const Plank: React.MemoExoticComponent<({ id, companionId, ...props }: PlankProps) => React.JSX.Element>;
12
+ export declare const Plank: React.MemoExoticComponent<({ id, companionVariant, ...props }: PlankProps) => React.JSX.Element>;
13
13
  type PlankComponentProps = {
14
14
  layoutMode: LayoutMode;
15
15
  id: string;
@@ -18,9 +18,9 @@ type PlankComponentProps = {
18
18
  order?: number;
19
19
  active?: string[];
20
20
  companioned?: 'primary' | 'companion';
21
- node?: Node;
22
- primary?: Node;
23
- companions?: Node[];
21
+ node?: Node.Node;
22
+ primary?: Node.Node;
23
+ companions?: Node.Node[];
24
24
  settings?: DeckSettingsProps;
25
25
  };
26
26
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAWf,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAWxD,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrG,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,4DAAqD,UAAU,uBA8B/E,CAAC;AAoBH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAKA,OAAO,KAQN,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,KAAK,IAAI,EAAW,MAAM,oBAAoB,CAAC;AAOxD,OAAO,EAAiB,KAAK,iBAAiB,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAYxG,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,iEAA0D,UAAU,uBAoCpF,CAAC;AAqCH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC"}
@@ -1,8 +1,108 @@
1
- import '@dxos-theme';
2
- import { type StoryObj, type Meta } from '@storybook/react-vite';
3
- import { type PlankProps } from './Plank';
4
- declare const meta: Meta<PlankProps>;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.MemoExoticComponent<({ id, companionVariant, ...props }: import("./Plank").PlankProps) => React.JSX.Element>;
6
+ render: (args: Pick<{
7
+ layoutMode: import("../../types").LayoutMode;
8
+ id: string;
9
+ part: import("../../types").ResolvedPart;
10
+ path?: string[];
11
+ order?: number;
12
+ active?: string[];
13
+ companioned?: "primary" | "companion";
14
+ node?: Readonly<{
15
+ id: string;
16
+ type: string;
17
+ cacheable?: string[];
18
+ properties: Readonly<Record<string, any>>;
19
+ data: any;
20
+ }>;
21
+ primary?: Readonly<{
22
+ id: string;
23
+ type: string;
24
+ cacheable?: string[];
25
+ properties: Readonly<Record<string, any>>;
26
+ data: any;
27
+ }>;
28
+ companions?: Readonly<{
29
+ id: string;
30
+ type: string;
31
+ cacheable?: string[];
32
+ properties: Readonly<Record<string, any>>;
33
+ data: any;
34
+ }>[];
35
+ settings?: import("../../types").DeckSettingsProps;
36
+ }, "active" | "order" | "path" | "part" | "layoutMode" | "settings"> & {
37
+ id?: string;
38
+ companionVariant?: string;
39
+ }) => React.JSX.Element;
40
+ decorators: import("@storybook/react").Decorator[];
41
+ parameters: {
42
+ layout: string;
43
+ translations: [{
44
+ readonly 'en-US': {
45
+ readonly [meta.id]: {
46
+ readonly 'plugin name': "Deck";
47
+ readonly 'settings title': "Deck settings";
48
+ readonly 'main header label': "Main header";
49
+ readonly 'open navigation sidebar label': "Open sidebar";
50
+ readonly 'collapse navigation sidebar label': "Minimize sidebar";
51
+ readonly 'open complementary sidebar label': "Open context sidebar";
52
+ readonly 'close complementary sidebar label': "Minimize context sidebar";
53
+ readonly 'sidebar title': "Navigation sidebar";
54
+ readonly 'complementary sidebar title': "Context sidebar";
55
+ readonly 'plugin error message': "Content failed to render.";
56
+ readonly 'content fallback message': "Unsupported";
57
+ readonly 'content fallback description': "No plugin had a response for the address you navigated to. Double-check the URL, and ensure you’ve enabled a plugin that supports the object.";
58
+ readonly 'toggle fullscreen label': "Toggle fullscreen";
59
+ readonly 'settings show hints label': "Show hints";
60
+ readonly 'settings native redirect label': "Enable native url redirect (experimental)";
61
+ readonly 'settings new plank position start label': "Start";
62
+ readonly 'settings new plank position end label': "End";
63
+ readonly 'select new plank positioning placeholder': "Select new plank positioning";
64
+ readonly 'select new plank positioning label': "New plank positioning";
65
+ readonly 'undo available label': "Click to undo previous action.";
66
+ readonly 'undo action label': "Undo";
67
+ readonly 'undo action alt': "Undo previous action";
68
+ readonly 'undo close label': "Dismiss";
69
+ readonly 'error fallback message': "Unable to open this object";
70
+ readonly 'plank heading fallback label': "Untitled";
71
+ readonly 'actions menu label': "Options";
72
+ readonly 'settings deck label': "Disable deck";
73
+ readonly 'pending heading': "Loading…";
74
+ readonly 'insert plank label': "Open";
75
+ readonly 'resize label': "Drag to resize";
76
+ readonly 'pin start label': "Pin to the left sidebar";
77
+ readonly 'pin end label': "Pin to the right sidebar";
78
+ readonly 'increment start label': "Move to the left";
79
+ readonly 'increment end label': "Move to the right";
80
+ readonly 'show deck plank label': "Return to deck";
81
+ readonly 'show solo plank label': "Maximize";
82
+ readonly 'exit fullscreen label': "Exit fullscreen";
83
+ readonly 'show fullscreen plank label': "Fullscreen";
84
+ readonly 'close label': "Close";
85
+ readonly 'minify label': "Minify";
86
+ readonly 'open companion label': "Open companion";
87
+ readonly 'close companion label': "Close companion";
88
+ readonly 'settings overscroll label': "Plank scrolling";
89
+ readonly 'select overscroll placeholder': "Select plank scrolling behavior";
90
+ readonly 'settings overscroll centering label': "Centering";
91
+ readonly 'settings overscroll none label': "None";
92
+ readonly 'settings enable statusbar label': "Show status bar";
93
+ readonly 'settings enable deck label': "Enable Deck";
94
+ readonly 'settings encapsulated planks label': "Encapsulated planks";
95
+ readonly 'close current label': "Close current plank";
96
+ readonly 'close others label': "Close other planks";
97
+ readonly 'close all label': "Close all planks";
98
+ readonly 'companion plank heading fallback label': "Related";
99
+ readonly 'open item label': "Open";
100
+ };
101
+ };
102
+ }];
103
+ };
104
+ };
5
105
  export default meta;
6
- type Story = StoryObj<PlankProps>;
106
+ type Story = StoryObj<typeof meta>;
7
107
  export declare const Default: Story;
8
108
  //# sourceMappingURL=Plank.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAUjE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAIjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,CAqB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAGlC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
1
+ {"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAwB1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtByB,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CrB,CAAC;AAE/B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type ButtonGroupProps } from '@dxos/react-ui';
3
- import { DeckAction, type LayoutMode } from '../../types';
3
+ import { type DeckAction, type LayoutMode } from '../../types';
4
4
  export type PlankControlHandler = (event: DeckAction.PartAdjustment) => void;
5
5
  export type PlankCapabilities = {
6
6
  incrementStart?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAe,KAAK,gBAAgB,EAAgD,MAAM,gBAAgB,CAAC;AAGlH,OAAO,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,YAAY,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAQF,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,qGAoBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyGzB,CAAC"}
1
+ {"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAe,KAAK,gBAAgB,EAAgD,MAAM,gBAAgB,CAAC;AAGlH,OAAO,EAAE,KAAK,UAAU,EAAiB,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9E,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,YAAY,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAQF,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,qGAmBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyGzB,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import { type Node } from '@dxos/plugin-graph';
3
+ import { type ErrorFallbackProps } from '@dxos/react-ui';
3
4
  import { type PlankHeadingProps } from './PlankHeading';
4
- export declare const PlankContentError: ({ error }: {
5
- error?: Error;
6
- }) => React.JSX.Element;
7
5
  export declare const PlankError: ({ id, part, node, error, }: {
8
6
  id: string;
9
7
  part: PlankHeadingProps["part"];
10
- node?: Node;
8
+ node?: Node.Node;
11
9
  error?: Error;
12
10
  }) => React.JSX.Element;
11
+ /**
12
+ * User facing error fallback.
13
+ */
14
+ export declare const PlankErrorFallback: ({ error }: ErrorFallbackProps) => React.JSX.Element;
13
15
  //# sourceMappingURL=PlankError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAItE,eAAO,MAAM,iBAAiB,GAAI,WAAW;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAU7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4BAKxB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,CAAC"}
1
+ {"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAiB,KAAK,kBAAkB,EAAkB,MAAM,gBAAgB,CAAC;AAKxF,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGtE,eAAO,MAAM,UAAU,GAAI,4BAKxB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAaA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,WAAW,kBAAkB,sBAmB/D,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { type Node } from '@dxos/plugin-graph';
3
3
  import { type StackItemSigilAction } from '@dxos/react-ui-stack';
4
- import { type ResolvedPart, type LayoutMode } from '../../types';
4
+ import { type LayoutMode, type ResolvedPart } from '../../types';
5
5
  export type PlankHeadingProps = {
6
6
  id: string;
7
7
  part: ResolvedPart;
8
8
  layoutMode?: LayoutMode;
9
- node?: Node;
9
+ node?: Node.Node;
10
10
  deckEnabled?: boolean;
11
11
  canIncrementStart?: boolean;
12
12
  canIncrementEnd?: boolean;
@@ -14,7 +14,7 @@ export type PlankHeadingProps = {
14
14
  primaryId?: string;
15
15
  pending?: boolean;
16
16
  companioned?: 'primary' | 'companion';
17
- companions?: Node[];
17
+ companions?: Node.Node[];
18
18
  actions?: StackItemSigilAction[];
19
19
  };
20
20
  export declare const PlankHeading: React.MemoExoticComponent<({ id, part, node, deckEnabled, canIncrementStart, canIncrementEnd, popoverAnchorId, primaryId, pending, companioned, companions, layoutMode, actions, }: PlankHeadingProps) => React.JSX.Element>;
@@ -1 +1 @@
1
- {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAQ5E,OAAO,EAAoC,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAKnG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBAkLrB,CAAC"}
1
+ {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAKhG,OAAO,EAAS,KAAK,IAAI,EAAmB,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO5E,OAAO,EAAiB,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAOtG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBAyKrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAgBf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAgH1E,CAAC"}
1
+ {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAyBf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAwH1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,OAAO,yBAwBnB,CAAC"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,eAAO,MAAM,OAAO,yBAyBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAMxG,eAAO,MAAM,mBAAmB,GAAI,0BAGjC,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,sBAgBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAc9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,gCAI9C,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,sBAgCvD,CAAC"}
1
+ {"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAKxG,eAAO,MAAM,mBAAmB,GAAI,0BAGjC,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,sBAsBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAmB9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,gCAI9C,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,sBA4BvD,CAAC"}
@@ -1,4 +1,7 @@
1
- export declare const soloInlinePadding = "pis-[calc(env(safe-area-inset-left)+.25rem)] pie-[calc(env(safe-area-inset-left)+.25rem)]";
1
+ /** @private */
2
+ export declare const soloInlinePadding = "ps-[calc(env(safe-area-inset-left)+.25rem)] pe-[calc(env(safe-area-inset-right)+.25rem)]";
3
+ /** @private */
2
4
  export declare const fixedSidebarToggleStyles: string;
5
+ /** @private */
3
6
  export declare const fixedComplementarySidebarToggleStyles: string;
4
7
  //# sourceMappingURL=fragments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fragments.d.ts","sourceRoot":"","sources":["../../../../src/components/fragments.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,8FAC+D,CAAC;AAI9F,eAAO,MAAM,wBAAwB,QAA4C,CAAC;AAElF,eAAO,MAAM,qCAAqC,QAA0C,CAAC"}
1
+ {"version":3,"file":"fragments.d.ts","sourceRoot":"","sources":["../../../../src/components/fragments.ts"],"names":[],"mappings":"AAQA,eAAe;AACf,eAAO,MAAM,iBAAiB,6FAC8D,CAAC;AAI7F,eAAe;AACf,eAAO,MAAM,wBAAwB,QAAoC,CAAC;AAE1E,eAAe;AACf,eAAO,MAAM,qCAAqC,QAAqC,CAAC"}
@@ -1,3 +1,2 @@
1
1
  export * from './DeckLayout';
2
- export * from './DeckSettings';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Banner } from '../../components';
2
+ //# sourceMappingURL=Banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Banner/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Banner } from './Banner';
2
+ export default Banner;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Banner/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAe,MAAM,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type DeckSettingsProps } from '../../types';
3
+ export type DeckSettingsComponentProps = {
4
+ settings: DeckSettingsProps;
5
+ onSettingsChange: (fn: (current: DeckSettingsProps) => DeckSettingsProps) => void;
6
+ };
7
+ export declare const DeckSettings: ({ settings, onSettingsChange }: DeckSettingsComponentProps) => React.JSX.Element;
8
+ //# sourceMappingURL=DeckSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,gBAAgB,EAAE,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,iBAAiB,KAAK,IAAI,CAAC;CACnF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,gCAAgC,0BAA0B,sBAuFtF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DeckSettings } from './DeckSettings';
2
+ export default DeckSettings;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckSettings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const Banner: ComponentType<any>;
3
+ export declare const DeckSettings: ComponentType<any>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,MAAM,EAAE,aAAa,CAAC,GAAG,CAAkC,CAAC;AACzE,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAwC,CAAC"}
@@ -1,7 +1,9 @@
1
1
  export * from './useBreakpoints';
2
2
  export * from './useCompanions';
3
3
  export * from './useDeckCompanions';
4
+ export * from './useDeckState';
4
5
  export * from './useHoistStatusbar';
5
6
  export * from './useMainSize';
6
7
  export * from './useNodeActionExpander';
8
+ export * from './useSelectedCompanion';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
@@ -1,8 +1,8 @@
1
- import { type Label } from '@dxos/app-framework';
2
- import { type Node } from '@dxos/plugin-graph';
1
+ import { type Node as NodeType } from '@dxos/plugin-graph';
2
+ import { type Label } from '@dxos/ui-types';
3
3
  import { type Position } from '@dxos/util';
4
4
  export declare const getCompanionId: (id: string) => string;
5
- export type DeckCompanion = Node<any, {
5
+ export type DeckCompanion = NodeType.Node<any, {
6
6
  label: Label;
7
7
  icon: string;
8
8
  /** If true, the panel will not be wrapped in a scroll area. */
@@ -1 +1 @@
1
- {"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAA2B,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAIvD,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,WAGxC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,GAAG,EACH;IACE,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAEb,+DAA+D;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,aAAa,EAKjD,CAAC"}
1
+ {"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,YAAY,CAAC;AAIvD,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,WAGxC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CACvC,GAAG,EACH;IACE,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAEb,+DAA+D;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,aAAa,EAKjD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type DeckEphemeralStateProps, type DeckPluginState, type DeckState, type DeckStateProps } from '../types';
2
+ export type DeckStateHook = {
3
+ /** Combined state value (reactive). Includes both persisted and ephemeral state. */
4
+ state: DeckPluginState;
5
+ /** The active deck, computed from decks[activeDeck]. */
6
+ deck: DeckState;
7
+ /** Update persisted state. */
8
+ updateState: (fn: (current: DeckStateProps) => DeckStateProps) => void;
9
+ /** Update ephemeral state. */
10
+ updateEphemeral: (fn: (current: DeckEphemeralStateProps) => DeckEphemeralStateProps) => void;
11
+ };
12
+ /**
13
+ * Hook to access the deck plugin state reactively.
14
+ * Returns the combined state, the active deck, and update functions for each atom.
15
+ */
16
+ export declare const useDeckState: () => DeckStateHook;
17
+ //# sourceMappingURL=useDeckState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeckState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckState.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,aAAa,GAAG;IAC1B,oFAAoF;IACpF,KAAK,EAAE,eAAe,CAAC;IACvB,wDAAwD;IACxD,IAAI,EAAE,SAAS,CAAC;IAChB,8BAA8B;IAC9B,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,cAAc,KAAK,IAAI,CAAC;IACvE,8BAA8B;IAC9B,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,uBAAuB,KAAK,IAAI,CAAC;CAC9F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aA+C/B,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { LayoutMode } from '../types';
1
+ import { type LayoutMode } from '../types';
2
2
  export declare const useHoistStatusbar: (breakpoint: string, layoutMode?: LayoutMode) => boolean;
3
3
  //# sourceMappingURL=useHoistStatusbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHoistStatusbar.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9D,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,EAAE,aAAa,UAAU,KAAG,OAY/E,CAAC"}
1
+ {"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHoistStatusbar.ts"],"names":[],"mappings":"AASA,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,EAAE,aAAa,UAAU,KAAG,OAY/E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export declare const useMainSize: () => {
2
- 'data-sidebar-inline-start-state': import("@dxos/react-ui").SidebarState;
3
- 'data-sidebar-inline-end-state': import("@dxos/react-ui").SidebarState;
2
+ 'data-sidebar-left-state': import("@dxos/react-ui").SidebarState;
3
+ 'data-sidebar-right-state': import("@dxos/react-ui").SidebarState;
4
4
  };
5
5
  //# sourceMappingURL=useMainSize.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { type Node } from '@dxos/plugin-graph';
2
- export declare const useNodeActionExpander: (node?: Node) => void;
2
+ export declare const useNodeActionExpander: (node?: Node.Node) => void;
3
3
  //# sourceMappingURL=useNodeActionExpander.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,IAAI,SAUhD,CAAC"}
1
+ {"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAAS,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,GAAI,OAAO,IAAI,CAAC,IAAI,SAUrD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Node } from '@dxos/plugin-graph';
2
+ /**
3
+ * Resolves which companion to show based on variant preference.
4
+ * Falls back to first available if preferred variant not found.
5
+ */
6
+ export declare const useSelectedCompanion: (companions: Node.Node[], preferredVariant?: string) => {
7
+ companionId: undefined;
8
+ variant: undefined;
9
+ } | {
10
+ companionId: string;
11
+ variant: string;
12
+ };
13
+ //# sourceMappingURL=useSelectedCompanion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSelectedCompanion.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSelectedCompanion.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,YAAY,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,MAAM;;;;;;CAuBtF,CAAC"}
@@ -1,5 +1,4 @@
1
- export { DeckCapabilities } from './capabilities';
2
- export { DeckEvents } from './events';
1
+ export { DeckCapabilities, DeckEvents } from './types';
3
2
  export * from './DeckPlugin';
4
3
  export * from './meta';
5
4
  export { useCompanions } from './hooks';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -1,4 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const DECK_PLUGIN: "dxos.org/plugin/deck";
3
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
4
3
  //# sourceMappingURL=meta.d.ts.map