@dxos/plugin-deck 0.8.4-main.b97322e → 0.8.4-main.bc674ce

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 (277) hide show
  1. package/dist/lib/browser/app-graph-builder-DTVCULQ4.mjs +120 -0
  2. package/dist/lib/browser/app-graph-builder-DTVCULQ4.mjs.map +7 -0
  3. package/dist/lib/browser/{check-app-scheme-57U62A3A.mjs → check-app-scheme-JSRXXIYF.mjs} +9 -9
  4. package/dist/lib/browser/check-app-scheme-JSRXXIYF.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-F5BQOOEG.mjs → chunk-ATFPDN6J.mjs} +155 -23
  6. package/dist/lib/browser/chunk-ATFPDN6J.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-CNTGBCMK.mjs → chunk-NHABISX2.mjs} +40 -33
  8. package/dist/lib/browser/chunk-NHABISX2.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-S4A5UO4K.mjs +1448 -0
  10. package/dist/lib/browser/chunk-S4A5UO4K.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-UNG4CLLP.mjs +161 -0
  12. package/dist/lib/browser/chunk-UNG4CLLP.mjs.map +7 -0
  13. package/dist/lib/browser/index.mjs +79 -67
  14. package/dist/lib/browser/index.mjs.map +4 -4
  15. package/dist/lib/browser/meta.json +1 -1
  16. package/dist/lib/browser/operation-resolver-CDYBLZJ4.mjs +595 -0
  17. package/dist/lib/browser/operation-resolver-CDYBLZJ4.mjs.map +7 -0
  18. package/dist/lib/browser/react-root-XDCMNENQ.mjs +47 -0
  19. package/dist/lib/browser/react-root-XDCMNENQ.mjs.map +7 -0
  20. package/dist/lib/browser/react-surface-HODERLOL.mjs +42 -0
  21. package/dist/lib/browser/react-surface-HODERLOL.mjs.map +7 -0
  22. package/dist/lib/browser/settings-OMHVGZ6V.mjs +37 -0
  23. package/dist/lib/browser/settings-OMHVGZ6V.mjs.map +7 -0
  24. package/dist/lib/browser/state-OC3BSB6E.mjs +103 -0
  25. package/dist/lib/browser/state-OC3BSB6E.mjs.map +7 -0
  26. package/dist/lib/browser/toolkit-R53LD3EA.mjs +53 -0
  27. package/dist/lib/browser/toolkit-R53LD3EA.mjs.map +7 -0
  28. package/dist/lib/browser/types/index.mjs +11 -4
  29. package/dist/lib/browser/url-handler-53TE6JZO.mjs +93 -0
  30. package/dist/lib/browser/url-handler-53TE6JZO.mjs.map +7 -0
  31. package/dist/lib/node-esm/app-graph-builder-473BNZDJ.mjs +121 -0
  32. package/dist/lib/node-esm/app-graph-builder-473BNZDJ.mjs.map +7 -0
  33. package/dist/lib/node-esm/check-app-scheme-IVYRHKRH.mjs +33 -0
  34. package/dist/lib/node-esm/check-app-scheme-IVYRHKRH.mjs.map +7 -0
  35. package/dist/lib/node-esm/chunk-ADPMWKLL.mjs +154 -0
  36. package/dist/lib/node-esm/chunk-ADPMWKLL.mjs.map +7 -0
  37. package/dist/lib/node-esm/chunk-D34L3ECT.mjs +1449 -0
  38. package/dist/lib/node-esm/chunk-D34L3ECT.mjs.map +7 -0
  39. package/dist/lib/node-esm/chunk-SKEVPQ7E.mjs +162 -0
  40. package/dist/lib/node-esm/chunk-SKEVPQ7E.mjs.map +7 -0
  41. package/dist/lib/node-esm/chunk-XAKTY3EB.mjs +294 -0
  42. package/dist/lib/node-esm/chunk-XAKTY3EB.mjs.map +7 -0
  43. package/dist/lib/node-esm/index.mjs +181 -0
  44. package/dist/lib/node-esm/index.mjs.map +7 -0
  45. package/dist/lib/node-esm/meta.json +1 -0
  46. package/dist/lib/node-esm/operation-resolver-WUOE33ID.mjs +596 -0
  47. package/dist/lib/node-esm/operation-resolver-WUOE33ID.mjs.map +7 -0
  48. package/dist/lib/node-esm/react-root-O6GZO62Z.mjs +48 -0
  49. package/dist/lib/node-esm/react-root-O6GZO62Z.mjs.map +7 -0
  50. package/dist/lib/node-esm/react-surface-IHDJDGC5.mjs +43 -0
  51. package/dist/lib/node-esm/react-surface-IHDJDGC5.mjs.map +7 -0
  52. package/dist/lib/node-esm/settings-2HB6FKIK.mjs +38 -0
  53. package/dist/lib/node-esm/settings-2HB6FKIK.mjs.map +7 -0
  54. package/dist/lib/node-esm/state-JRQ45ACJ.mjs +104 -0
  55. package/dist/lib/node-esm/state-JRQ45ACJ.mjs.map +7 -0
  56. package/dist/lib/node-esm/toolkit-JLPZNNKB.mjs +54 -0
  57. package/dist/lib/node-esm/toolkit-JLPZNNKB.mjs.map +7 -0
  58. package/dist/lib/node-esm/types/index.mjs +40 -0
  59. package/dist/lib/node-esm/url-handler-QGF2R24T.mjs +94 -0
  60. package/dist/lib/node-esm/url-handler-QGF2R24T.mjs.map +7 -0
  61. package/dist/types/src/DeckPlugin.d.ts +2 -1
  62. package/dist/types/src/DeckPlugin.d.ts.map +1 -1
  63. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  64. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  65. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  66. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  67. package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts +5 -0
  68. package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts.map +1 -0
  69. package/dist/types/src/capabilities/check-app-scheme/index.d.ts +3 -0
  70. package/dist/types/src/capabilities/check-app-scheme/index.d.ts.map +1 -0
  71. package/dist/types/src/capabilities/index.d.ts +8 -13
  72. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  73. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  74. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  75. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  76. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  77. package/dist/types/src/capabilities/react-root/index.d.ts +6 -0
  78. package/dist/types/src/capabilities/react-root/index.d.ts.map +1 -0
  79. package/dist/types/src/capabilities/react-root/react-root.d.ts +9 -0
  80. package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -0
  81. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  82. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  83. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  84. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  85. package/dist/types/src/capabilities/settings/index.d.ts +19 -0
  86. package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
  87. package/dist/types/src/capabilities/settings/settings.d.ts +21 -0
  88. package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
  89. package/dist/types/src/capabilities/state/index.d.ts +172 -0
  90. package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
  91. package/dist/types/src/capabilities/state/state.d.ts +175 -0
  92. package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
  93. package/dist/types/src/capabilities/toolkit/index.d.ts +3 -0
  94. package/dist/types/src/capabilities/toolkit/index.d.ts.map +1 -0
  95. package/dist/types/src/capabilities/toolkit/toolkit.d.ts +26 -0
  96. package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +1 -0
  97. package/dist/types/src/capabilities/tools/index.d.ts +3 -0
  98. package/dist/types/src/capabilities/tools/index.d.ts.map +1 -0
  99. package/dist/types/src/capabilities/tools/tools.d.ts +12 -0
  100. package/dist/types/src/capabilities/tools/tools.d.ts.map +1 -0
  101. package/dist/types/src/capabilities/url-handler/index.d.ts +3 -0
  102. package/dist/types/src/capabilities/url-handler/index.d.ts.map +1 -0
  103. package/dist/types/src/capabilities/url-handler/url-handler.d.ts +5 -0
  104. package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +1 -0
  105. package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
  106. package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
  107. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
  108. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
  109. package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +74 -0
  110. package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
  111. package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
  112. package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
  113. package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +1 -1
  114. package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
  115. package/dist/types/src/components/DeckLayout/Toast.d.ts +7 -2
  116. package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
  117. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +4 -2
  118. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
  119. package/dist/types/src/components/Plank/Plank.d.ts +4 -4
  120. package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
  121. package/dist/types/src/components/Plank/Plank.stories.d.ts +104 -5
  122. package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
  123. package/dist/types/src/components/Plank/PlankControls.d.ts +1 -1
  124. package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
  125. package/dist/types/src/components/Plank/PlankError.d.ts +1 -1
  126. package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
  127. package/dist/types/src/components/Plank/PlankHeading.d.ts +3 -3
  128. package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
  129. package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  130. package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -1
  131. package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
  132. package/dist/types/src/hooks/index.d.ts +1 -0
  133. package/dist/types/src/hooks/index.d.ts.map +1 -1
  134. package/dist/types/src/hooks/useDeckCompanions.d.ts +3 -3
  135. package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
  136. package/dist/types/src/hooks/useDeckState.d.ts +17 -0
  137. package/dist/types/src/hooks/useDeckState.d.ts.map +1 -0
  138. package/dist/types/src/hooks/useHoistStatusbar.d.ts +1 -1
  139. package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
  140. package/dist/types/src/hooks/useNodeActionExpander.d.ts +1 -1
  141. package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
  142. package/dist/types/src/index.d.ts +1 -2
  143. package/dist/types/src/index.d.ts.map +1 -1
  144. package/dist/types/src/meta.d.ts +2 -3
  145. package/dist/types/src/meta.d.ts.map +1 -1
  146. package/dist/types/src/translations.d.ts +3 -1
  147. package/dist/types/src/translations.d.ts.map +1 -1
  148. package/dist/types/src/{capabilities → types}/capabilities.d.ts +96 -90
  149. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  150. package/dist/types/src/types/events.d.ts +7 -0
  151. package/dist/types/src/types/events.d.ts.map +1 -0
  152. package/dist/types/src/types/index.d.ts +2 -0
  153. package/dist/types/src/types/index.d.ts.map +1 -1
  154. package/dist/types/src/types/schema.d.ts +90 -30
  155. package/dist/types/src/types/schema.d.ts.map +1 -1
  156. package/dist/types/src/util/set-active.d.ts +18 -3
  157. package/dist/types/src/util/set-active.d.ts.map +1 -1
  158. package/dist/types/tsconfig.tsbuildinfo +1 -1
  159. package/package.json +56 -46
  160. package/src/DeckPlugin.ts +45 -61
  161. package/src/capabilities/app-graph-builder/app-graph-builder.ts +118 -0
  162. package/src/capabilities/app-graph-builder/index.ts +7 -0
  163. package/src/capabilities/{check-app-scheme.ts → check-app-scheme/check-app-scheme.ts} +12 -11
  164. package/src/capabilities/check-app-scheme/index.ts +7 -0
  165. package/src/capabilities/index.ts +9 -13
  166. package/src/capabilities/operation-resolver/index.ts +10 -0
  167. package/src/capabilities/operation-resolver/operation-resolver.ts +555 -0
  168. package/src/capabilities/react-root/index.ts +7 -0
  169. package/src/capabilities/react-root/react-root.tsx +47 -0
  170. package/src/capabilities/react-surface/index.ts +7 -0
  171. package/src/capabilities/react-surface/react-surface.tsx +37 -0
  172. package/src/capabilities/settings/index.ts +7 -0
  173. package/src/capabilities/settings/settings.ts +38 -0
  174. package/src/capabilities/state/index.ts +7 -0
  175. package/src/capabilities/state/state.ts +104 -0
  176. package/src/capabilities/toolkit/index.ts +7 -0
  177. package/src/capabilities/toolkit/toolkit.ts +63 -0
  178. package/src/capabilities/tools/index.ts +7 -0
  179. package/src/capabilities/tools/tools.ts +92 -0
  180. package/src/capabilities/url-handler/index.ts +7 -0
  181. package/src/capabilities/url-handler/url-handler.ts +95 -0
  182. package/src/components/DeckLayout/ActiveNode.tsx +1 -1
  183. package/src/components/DeckLayout/Banner.tsx +6 -6
  184. package/src/components/DeckLayout/ContentEmpty.tsx +4 -5
  185. package/src/components/DeckLayout/DeckLayout.stories.tsx +51 -0
  186. package/src/components/DeckLayout/DeckLayout.tsx +18 -285
  187. package/src/components/DeckLayout/DeckMain.tsx +286 -0
  188. package/src/components/DeckLayout/Dialog.tsx +13 -10
  189. package/src/components/DeckLayout/Fallback.tsx +4 -4
  190. package/src/components/DeckLayout/Popover.tsx +44 -32
  191. package/src/components/DeckLayout/StatusBar.tsx +1 -1
  192. package/src/components/DeckLayout/Toast.tsx +30 -5
  193. package/src/components/DeckSettings/DeckSettings.tsx +91 -66
  194. package/src/components/Plank/Plank.stories.tsx +23 -16
  195. package/src/components/Plank/Plank.tsx +89 -56
  196. package/src/components/Plank/PlankControls.tsx +9 -9
  197. package/src/components/Plank/PlankError.tsx +5 -4
  198. package/src/components/Plank/PlankHeading.tsx +38 -42
  199. package/src/components/Sidebar/ComplementarySidebar.tsx +61 -33
  200. package/src/components/Sidebar/Sidebar.tsx +6 -6
  201. package/src/components/Sidebar/SidebarButton.tsx +39 -32
  202. package/src/components/fragments.ts +1 -1
  203. package/src/hooks/index.ts +1 -0
  204. package/src/hooks/useCompanions.ts +1 -1
  205. package/src/hooks/useDeckCompanions.ts +7 -5
  206. package/src/hooks/useDeckState.ts +82 -0
  207. package/src/hooks/useHoistStatusbar.ts +4 -5
  208. package/src/hooks/useNodeActionExpander.ts +4 -4
  209. package/src/index.ts +1 -2
  210. package/src/meta.ts +8 -5
  211. package/src/translations.ts +3 -1
  212. package/src/types/capabilities.ts +33 -0
  213. package/src/types/events.ts +20 -0
  214. package/src/types/index.ts +2 -0
  215. package/src/types/schema.ts +86 -14
  216. package/src/util/layoutAppliesTopbar.ts +1 -1
  217. package/src/util/set-active.ts +49 -29
  218. package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs +0 -152
  219. package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
  220. package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
  221. package/dist/lib/browser/chunk-CNTGBCMK.mjs.map +0 -7
  222. package/dist/lib/browser/chunk-D7KTFCUV.mjs +0 -1494
  223. package/dist/lib/browser/chunk-D7KTFCUV.mjs.map +0 -7
  224. package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
  225. package/dist/lib/browser/chunk-JFTXENFN.mjs +0 -129
  226. package/dist/lib/browser/chunk-JFTXENFN.mjs.map +0 -7
  227. package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
  228. package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
  229. package/dist/lib/browser/chunk-QDZO4AJ4.mjs +0 -127
  230. package/dist/lib/browser/chunk-QDZO4AJ4.mjs.map +0 -7
  231. package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
  232. package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
  233. package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs +0 -521
  234. package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs.map +0 -7
  235. package/dist/lib/browser/react-root-PO64J7ML.mjs +0 -43
  236. package/dist/lib/browser/react-root-PO64J7ML.mjs.map +0 -7
  237. package/dist/lib/browser/react-surface-E45YOVF5.mjs +0 -40
  238. package/dist/lib/browser/react-surface-E45YOVF5.mjs.map +0 -7
  239. package/dist/lib/browser/settings-6AJZPZPM.mjs +0 -29
  240. package/dist/lib/browser/settings-6AJZPZPM.mjs.map +0 -7
  241. package/dist/lib/browser/state-MVDYX77Y.mjs +0 -12
  242. package/dist/lib/browser/tools-TKQDPCHJ.mjs +0 -88
  243. package/dist/lib/browser/tools-TKQDPCHJ.mjs.map +0 -7
  244. package/dist/lib/browser/url-handler-7L7M6IKH.mjs +0 -70
  245. package/dist/lib/browser/url-handler-7L7M6IKH.mjs.map +0 -7
  246. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  247. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  248. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  249. package/dist/types/src/capabilities/check-app-scheme.d.ts +0 -4
  250. package/dist/types/src/capabilities/check-app-scheme.d.ts.map +0 -1
  251. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  252. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  253. package/dist/types/src/capabilities/react-root.d.ts +0 -7
  254. package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
  255. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  256. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  257. package/dist/types/src/capabilities/settings.d.ts +0 -4
  258. package/dist/types/src/capabilities/settings.d.ts.map +0 -1
  259. package/dist/types/src/capabilities/state.d.ts +0 -101
  260. package/dist/types/src/capabilities/state.d.ts.map +0 -1
  261. package/dist/types/src/capabilities/tools.d.ts +0 -11
  262. package/dist/types/src/capabilities/tools.d.ts.map +0 -1
  263. package/dist/types/src/capabilities/url-handler.d.ts +0 -4
  264. package/dist/types/src/capabilities/url-handler.d.ts.map +0 -1
  265. package/dist/types/src/events.d.ts +0 -4
  266. package/dist/types/src/events.d.ts.map +0 -1
  267. package/src/capabilities/app-graph-builder.ts +0 -141
  268. package/src/capabilities/capabilities.ts +0 -14
  269. package/src/capabilities/intent-resolver.ts +0 -468
  270. package/src/capabilities/react-root.tsx +0 -38
  271. package/src/capabilities/react-surface.tsx +0 -30
  272. package/src/capabilities/settings.ts +0 -26
  273. package/src/capabilities/state.ts +0 -104
  274. package/src/capabilities/tools.ts +0 -81
  275. package/src/capabilities/url-handler.ts +0 -59
  276. package/src/events.ts +0 -11
  277. /package/dist/lib/{browser/state-MVDYX77Y.mjs.map → node-esm/types/index.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtE,eAAO,MAAM,MAAM,GAAI,yBAAyB,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAMtE,eAAO,MAAM,MAAM,GAAI,yBAAyB,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,YAAY,yBAexB,CAAC"}
1
+ {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,YAAY,yBAexB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- export type DeckLayoutProps = {
3
- onDismissToast: (id: string) => void;
4
- };
2
+ import { type ToasterProps } from './Toast';
3
+ export type DeckLayoutProps = Pick<ToasterProps, 'onDismissToast'>;
5
4
  export declare const DeckLayout: ({ onDismissToast }: DeckLayoutProps) => React.JSX.Element;
6
5
  //# sourceMappingURL=DeckLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0E,MAAM,OAAO,CAAC;AA+B/F,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,GAAI,oBAAoB,eAAe,sBAiQ7D,CAAC"}
1
+ {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,UAAU,GAAI,oBAAoB,eAAe,sBAe7D,CAAC"}
@@ -0,0 +1,74 @@
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
+ };
67
+ };
68
+ }];
69
+ };
70
+ };
71
+ export default meta;
72
+ type Story = StoryObj<typeof meta>;
73
+ export declare const Default: Story;
74
+ //# 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;AAyB1B,QAAA,MAAM,IAAI;;;;;;;;;yBAvB0B,CAAO,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqChB,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,yBA4PpB,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,yBA0BlB,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;AAShG,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAUzD,eAAO,MAAM,WAAW,GAAI,cAAc,oBAAoB,sBA+B7D,CAAC;AAEF,eAAO,MAAM,cAAc,yBA0D1B,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
- import { type LayoutAction } from '@dxos/app-framework';
2
+ import { type Common } from '@dxos/app-framework';
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, }: Common.LayoutOperation.Toast & Pick<ToastRootProps, "onOpenChange">) => React.JSX.Element;
5
+ export type ToasterProps = {
6
+ toasts?: Common.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,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,MAAM,CAAC,eAAe,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8BrE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,4BAA4B,YAAY,sBAkB/D,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { type DeckSettingsProps } from '../../types';
3
- export declare const DeckSettings: ({ settings }: {
3
+ export type DeckSettingsComponentProps = {
4
4
  settings: DeckSettingsProps;
5
- }) => React.JSX.Element;
5
+ onSettingsChange: (fn: (current: DeckSettingsProps) => DeckSettingsProps) => void;
6
+ };
7
+ export declare const DeckSettings: ({ settings, onSettingsChange }: DeckSettingsComponentProps) => React.JSX.Element;
6
8
  //# sourceMappingURL=DeckSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,cAAc;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,sBAmEzE,CAAC"}
1
+ {"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/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"}
@@ -1,6 +1,6 @@
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
6
  companionId?: 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;AAKf,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,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,4DAAqD,UAAU,uBAkC/E,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,107 @@
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, companionId, ...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
+ companionId?: 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
+ };
100
+ };
101
+ }];
102
+ };
103
+ };
5
104
  export default meta;
6
- type Story = StoryObj<PlankProps>;
105
+ type Story = StoryObj<typeof meta>;
7
106
  export declare const Default: Story;
8
107
  //# 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;AAuB1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBArB0B,CAAO,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCrB,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;AAIvD,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,qGAoBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyGzB,CAAC"}
@@ -7,7 +7,7 @@ export declare const PlankContentError: ({ error }: {
7
7
  export declare const PlankError: ({ id, part, node, error, }: {
8
8
  id: string;
9
9
  part: PlankHeadingProps["part"];
10
- node?: Node;
10
+ node?: Node.Node;
11
11
  error?: Error;
12
12
  }) => React.JSX.Element;
13
13
  //# 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;AAM/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGtE,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,IAAI,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,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;AAIhG,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,uBA4KrB,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,6 +1,7 @@
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';
@@ -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"}
@@ -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,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"}
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAG,sBAA+B,CAAC;AAE3D,eAAO,MAAM,IAAI,EAAE,UAIlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
@@ -3,6 +3,7 @@ export declare const translations: [{
3
3
  readonly 'en-US': {
4
4
  readonly [meta.id]: {
5
5
  readonly 'plugin name': "Deck";
6
+ readonly 'settings title': "Deck settings";
6
7
  readonly 'main header label': "Main header";
7
8
  readonly 'open navigation sidebar label': "Open sidebar";
8
9
  readonly 'collapse navigation sidebar label': "Minimize sidebar";
@@ -24,7 +25,7 @@ export declare const translations: [{
24
25
  readonly 'undo action label': "Undo";
25
26
  readonly 'undo action alt': "Undo previous action";
26
27
  readonly 'undo close label': "Dismiss";
27
- readonly 'error fallback message': "Unable to open this item";
28
+ readonly 'error fallback message': "Unable to open this object";
28
29
  readonly 'plank heading fallback label': "Untitled";
29
30
  readonly 'actions menu label': "Options";
30
31
  readonly 'settings deck label': "Disable deck";
@@ -49,6 +50,7 @@ export declare const translations: [{
49
50
  readonly 'settings overscroll none label': "None";
50
51
  readonly 'settings enable statusbar label': "Show status bar";
51
52
  readonly 'settings enable deck label': "Enable Deck";
53
+ readonly 'settings encapsulated planks label': "Encapsulated planks";
52
54
  readonly 'close current label': "Close current plank";
53
55
  readonly 'close others label': "Close other planks";
54
56
  readonly 'close all label': "Close all planks";
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAqDR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuDR;;EAGwB,CAAC"}