@dxos/plugin-deck 0.9.0 → 0.9.1-staging.ee54ba693a

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 (314) hide show
  1. package/PLUGIN.mdl +3 -1
  2. package/dist/lib/neutral/{DeckLayout-DEURA3KR.mjs → DeckLayout-B3RUUV5P.mjs} +36 -22
  3. package/dist/lib/neutral/DeckLayout-B3RUUV5P.mjs.map +7 -0
  4. package/dist/lib/neutral/DeckPlugin.mjs +4 -8
  5. package/dist/lib/neutral/DeckPlugin.mjs.map +4 -4
  6. package/dist/lib/neutral/DeckSettings-Z7GMB7XJ.mjs +32 -0
  7. package/dist/lib/neutral/DeckSettings-Z7GMB7XJ.mjs.map +7 -0
  8. package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs → add-toast-BHNEH5UY.mjs} +2 -2
  9. package/dist/lib/neutral/{adjust-HNU5CCRO.mjs → adjust-MJB6UMRQ.mjs} +16 -10
  10. package/dist/lib/neutral/adjust-MJB6UMRQ.mjs.map +7 -0
  11. package/dist/lib/neutral/{app-graph-builder-HMLT627T.mjs → app-graph-builder-2F7P4IFQ.mjs} +8 -7
  12. package/dist/lib/neutral/app-graph-builder-2F7P4IFQ.mjs.map +7 -0
  13. package/dist/lib/neutral/capabilities/index.mjs +8 -8
  14. package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs → check-app-scheme-HSAORHHX.mjs} +2 -2
  15. package/dist/lib/neutral/chunk-FKGYHBUB.mjs +8 -0
  16. package/dist/lib/neutral/{chunk-BS4EOYMK.mjs → chunk-ICOJ4GMB.mjs} +37 -19
  17. package/dist/lib/neutral/chunk-ICOJ4GMB.mjs.map +7 -0
  18. package/dist/lib/neutral/chunk-KY7LMF4D.mjs +46 -0
  19. package/dist/lib/neutral/chunk-KY7LMF4D.mjs.map +7 -0
  20. package/dist/lib/neutral/{chunk-324PPIZB.mjs → chunk-KZFJ4PBT.mjs} +4 -4
  21. package/dist/lib/neutral/chunk-KZFJ4PBT.mjs.map +7 -0
  22. package/dist/lib/neutral/{chunk-GBIGQKYW.mjs → chunk-PP32NEVY.mjs} +4 -4
  23. package/dist/lib/neutral/chunk-PP32NEVY.mjs.map +7 -0
  24. package/dist/lib/neutral/chunk-SONATB35.mjs +20 -0
  25. package/dist/lib/neutral/chunk-SONATB35.mjs.map +7 -0
  26. package/dist/lib/neutral/chunk-Z2B5RSVI.mjs +1096 -0
  27. package/dist/lib/neutral/chunk-Z2B5RSVI.mjs.map +7 -0
  28. package/dist/lib/neutral/{close-ASKR22A6.mjs → close-2YGB5IIP.mjs} +4 -3
  29. package/dist/lib/neutral/{close-ASKR22A6.mjs.map → close-2YGB5IIP.mjs.map} +1 -1
  30. package/dist/lib/neutral/components/index.mjs +201 -16
  31. package/dist/lib/neutral/components/index.mjs.map +4 -4
  32. package/dist/lib/neutral/containers/index.mjs +6 -11
  33. package/dist/lib/neutral/containers/index.mjs.map +3 -3
  34. package/dist/lib/neutral/hooks/index.mjs +101 -17
  35. package/dist/lib/neutral/hooks/index.mjs.map +4 -4
  36. package/dist/lib/neutral/index.mjs +18 -2
  37. package/dist/lib/neutral/meta.json +1 -1
  38. package/dist/lib/neutral/meta.mjs +1 -1
  39. package/dist/lib/neutral/{notification-tracker-P36322BH.mjs → notification-tracker-Y5CRTWJM.mjs} +12 -10
  40. package/dist/lib/neutral/notification-tracker-Y5CRTWJM.mjs.map +7 -0
  41. package/dist/lib/neutral/{open-5OYNO3RT.mjs → open-P6XQ56M7.mjs} +8 -7
  42. package/dist/lib/neutral/open-P6XQ56M7.mjs.map +7 -0
  43. package/dist/lib/neutral/operations/index.mjs +1 -1
  44. package/dist/lib/neutral/plugin.mjs +2 -2
  45. package/dist/lib/neutral/{react-root-HH5DEUOG.mjs → react-root-E6TAFHX6.mjs} +2 -2
  46. package/dist/lib/neutral/react-root-E6TAFHX6.mjs.map +7 -0
  47. package/dist/lib/neutral/{react-surface-3UVVCK3O.mjs → react-surface-H63FXUK3.mjs} +5 -6
  48. package/dist/lib/neutral/react-surface-H63FXUK3.mjs.map +7 -0
  49. package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs → revert-workspace-RXWP2TEE.mjs} +2 -2
  50. package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs → scroll-into-view-HFV5EGYZ.mjs} +2 -2
  51. package/dist/lib/neutral/{set-PA35ONXO.mjs → set-HOOVB7E4.mjs} +4 -3
  52. package/dist/lib/neutral/{set-PA35ONXO.mjs.map → set-HOOVB7E4.mjs.map} +1 -1
  53. package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs → set-layout-mode-XAGSZZGB.mjs} +2 -2
  54. package/dist/lib/neutral/{settings-EGNYUM4T.mjs → settings-6CDQEB6B.mjs} +3 -3
  55. package/dist/lib/neutral/settings-6CDQEB6B.mjs.map +7 -0
  56. package/dist/lib/neutral/{state-IIDXMQUO.mjs → state-F4X5GPGZ.mjs} +4 -3
  57. package/dist/lib/neutral/state-F4X5GPGZ.mjs.map +7 -0
  58. package/dist/lib/neutral/{switch-workspace-LZF4KZXH.mjs → switch-workspace-PA7N6EUX.mjs} +4 -4
  59. package/dist/lib/neutral/switch-workspace-PA7N6EUX.mjs.map +7 -0
  60. package/dist/lib/neutral/translations.mjs +3 -3
  61. package/dist/lib/neutral/translations.mjs.map +3 -3
  62. package/dist/lib/neutral/types/index.mjs +11 -1
  63. package/dist/lib/neutral/{update-companion-YUCZZVGY.mjs → update-companion-6A2SKQAI.mjs} +14 -6
  64. package/dist/lib/neutral/update-companion-6A2SKQAI.mjs.map +7 -0
  65. package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs → update-complementary-K55I5EV5.mjs} +2 -2
  66. package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs → update-dialog-Z3GEXMVV.mjs} +2 -2
  67. package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs → update-plank-size-BTESVV7N.mjs} +2 -2
  68. package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs → update-popover-QEVDSZSH.mjs} +2 -2
  69. package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs → update-sidebar-VSRCN47U.mjs} +2 -2
  70. package/dist/lib/neutral/{url-handler-A6HLW4RB.mjs → url-handler-ERZXXEYR.mjs} +11 -10
  71. package/dist/lib/neutral/url-handler-ERZXXEYR.mjs.map +7 -0
  72. package/dist/types/dx.config.d.ts +28 -0
  73. package/dist/types/dx.config.d.ts.map +1 -0
  74. package/dist/types/src/DeckPlugin.d.ts.map +1 -1
  75. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
  76. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  77. package/dist/types/src/capabilities/index.d.ts +8 -196
  78. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  79. package/dist/types/src/capabilities/notification-tracker.d.ts +1 -1
  80. package/dist/types/src/capabilities/notification-tracker.d.ts.map +1 -1
  81. package/dist/types/src/capabilities/react-root.d.ts +1 -5
  82. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  83. package/dist/types/src/capabilities/react-surface.d.ts +2 -2
  84. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  85. package/dist/types/src/capabilities/settings.d.ts +1 -3
  86. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  87. package/dist/types/src/capabilities/state.d.ts +1 -187
  88. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  89. package/dist/types/src/capabilities/tools.d.ts +1 -1
  90. package/dist/types/src/capabilities/url-handler.d.ts +1 -1
  91. package/dist/types/src/components/Companion/Companion.d.ts +17 -0
  92. package/dist/types/src/components/Companion/Companion.d.ts.map +1 -0
  93. package/dist/types/src/components/Companion/index.d.ts +2 -0
  94. package/dist/types/src/components/Companion/index.d.ts.map +1 -0
  95. package/dist/types/src/components/Matrix/Matrix.d.ts +1 -1
  96. package/dist/types/src/components/Matrix/Matrix.d.ts.map +1 -1
  97. package/dist/types/src/components/Matrix/Matrix.stories.d.ts +2 -2
  98. package/dist/types/src/components/Matrix/Matrix.stories.d.ts.map +1 -1
  99. package/dist/types/src/components/Matrix/index.d.ts +1 -1
  100. package/dist/types/src/components/Matrix/index.d.ts.map +1 -1
  101. package/dist/types/src/components/Pane/Pane.d.ts +45 -0
  102. package/dist/types/src/components/Pane/Pane.d.ts.map +1 -0
  103. package/dist/types/src/components/Pane/Pane.stories.d.ts +7 -0
  104. package/dist/types/src/components/Pane/Pane.stories.d.ts.map +1 -0
  105. package/dist/types/src/components/Pane/index.d.ts +2 -0
  106. package/dist/types/src/components/Pane/index.d.ts.map +1 -0
  107. package/dist/types/src/components/Plank/Plank.d.ts +74 -0
  108. package/dist/types/src/components/Plank/Plank.d.ts.map +1 -0
  109. package/dist/types/src/components/Plank/Plank.stories.d.ts +6 -0
  110. package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -0
  111. package/dist/types/src/components/Plank/index.d.ts +2 -0
  112. package/dist/types/src/components/Plank/index.d.ts.map +1 -0
  113. package/dist/types/src/components/index.d.ts +3 -2
  114. package/dist/types/src/components/index.d.ts.map +1 -1
  115. package/dist/types/src/containers/Deck/Banner.d.ts.map +1 -1
  116. package/dist/types/src/containers/Deck/Deck.d.ts +1 -1
  117. package/dist/types/src/containers/Deck/Deck.d.ts.map +1 -1
  118. package/dist/types/src/containers/Deck/Deck.stories.d.ts +2 -2
  119. package/dist/types/src/containers/Deck/DeckPlank.d.ts +21 -0
  120. package/dist/types/src/containers/Deck/DeckPlank.d.ts.map +1 -0
  121. package/dist/types/src/containers/Deck/DeckViewport.d.ts +3 -1
  122. package/dist/types/src/containers/Deck/DeckViewport.d.ts.map +1 -1
  123. package/dist/types/src/containers/{Plank → Deck}/PlankControls.d.ts +3 -10
  124. package/dist/types/src/containers/Deck/PlankControls.d.ts.map +1 -0
  125. package/dist/types/src/containers/Deck/PlankFallback.d.ts +6 -0
  126. package/dist/types/src/containers/Deck/PlankFallback.d.ts.map +1 -0
  127. package/dist/types/src/containers/Deck/StatusBar.d.ts.map +1 -1
  128. package/dist/types/src/containers/Deck/useDeckPlank.d.ts +49 -0
  129. package/dist/types/src/containers/Deck/useDeckPlank.d.ts.map +1 -0
  130. package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts +2 -2
  131. package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts.map +1 -1
  132. package/dist/types/src/containers/DeckLayout/Popover.d.ts.map +1 -1
  133. package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.d.ts +1 -1
  134. package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts.map +1 -0
  135. package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.stories.d.ts +2 -2
  136. package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.stories.d.ts.map +1 -1
  137. package/dist/types/src/containers/DeckSettings/index.d.ts.map +1 -0
  138. package/dist/types/src/containers/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  139. package/dist/types/src/containers/index.d.ts +1 -1
  140. package/dist/types/src/containers/index.d.ts.map +1 -1
  141. package/dist/types/src/hooks/index.d.ts +2 -0
  142. package/dist/types/src/hooks/index.d.ts.map +1 -1
  143. package/dist/types/src/hooks/useCompanionSplit.d.ts +28 -0
  144. package/dist/types/src/hooks/useCompanionSplit.d.ts.map +1 -0
  145. package/dist/types/src/hooks/useCompanions.d.ts +11 -7
  146. package/dist/types/src/hooks/useCompanions.d.ts.map +1 -1
  147. package/dist/types/src/hooks/useDeckCompanions.d.ts +2 -2
  148. package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
  149. package/dist/types/src/hooks/useDeckState.d.ts +1 -1
  150. package/dist/types/src/hooks/useDeckState.d.ts.map +1 -1
  151. package/dist/types/src/hooks/useSelectedCompanionVariant.d.ts +6 -0
  152. package/dist/types/src/hooks/useSelectedCompanionVariant.d.ts.map +1 -0
  153. package/dist/types/src/index.d.ts +1 -0
  154. package/dist/types/src/index.d.ts.map +1 -1
  155. package/dist/types/src/meta.d.ts +32 -2
  156. package/dist/types/src/meta.d.ts.map +1 -1
  157. package/dist/types/src/operations/adjust.d.ts.map +1 -1
  158. package/dist/types/src/operations/open.d.ts.map +1 -1
  159. package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
  160. package/dist/types/src/operations/update-companion.d.ts.map +1 -1
  161. package/dist/types/src/translations.d.ts +2 -2
  162. package/dist/types/src/translations.d.ts.map +1 -1
  163. package/dist/types/src/types/DeckCapabilities.d.ts +4 -4
  164. package/dist/types/src/types/DeckCapabilities.d.ts.map +1 -1
  165. package/dist/types/src/types/DeckOperation.d.ts +2 -2
  166. package/dist/types/src/types/DeckOperation.d.ts.map +1 -1
  167. package/dist/types/src/types/index.d.ts +1 -0
  168. package/dist/types/src/types/index.d.ts.map +1 -1
  169. package/dist/types/src/types/schema.d.ts +11 -9
  170. package/dist/types/src/types/schema.d.ts.map +1 -1
  171. package/dist/types/src/types/surface.d.ts +12 -0
  172. package/dist/types/src/types/surface.d.ts.map +1 -0
  173. package/dist/types/src/util/companion-view-state.d.ts +16 -0
  174. package/dist/types/src/util/companion-view-state.d.ts.map +1 -0
  175. package/dist/types/src/util/index.d.ts +1 -0
  176. package/dist/types/src/util/index.d.ts.map +1 -1
  177. package/dist/types/src/util/plank-url-params.d.ts +2 -0
  178. package/dist/types/src/util/plank-url-params.d.ts.map +1 -1
  179. package/dist/types/tsconfig.tsbuildinfo +1 -1
  180. package/dx.config.ts +35 -0
  181. package/package.json +50 -48
  182. package/src/DeckPlugin.test.ts +1 -1
  183. package/src/DeckPlugin.ts +2 -3
  184. package/src/capabilities/app-graph-builder.ts +7 -6
  185. package/src/capabilities/check-app-scheme.ts +3 -3
  186. package/src/capabilities/notification-tracker.ts +11 -9
  187. package/src/capabilities/react-root.tsx +1 -1
  188. package/src/capabilities/react-surface.tsx +4 -5
  189. package/src/capabilities/settings.ts +2 -2
  190. package/src/capabilities/state.ts +1 -1
  191. package/src/capabilities/url-handler.ts +7 -15
  192. package/src/components/Companion/Companion.tsx +91 -0
  193. package/src/components/Companion/index.ts +5 -0
  194. package/src/components/Matrix/Matrix.stories.tsx +15 -27
  195. package/src/components/Matrix/Matrix.tsx +3 -3
  196. package/src/components/Matrix/SPEC.md +1 -1
  197. package/src/components/Matrix/index.ts +1 -1
  198. package/src/components/Pane/Pane.stories.tsx +92 -0
  199. package/src/components/Pane/Pane.tsx +178 -0
  200. package/src/components/Pane/index.ts +5 -0
  201. package/src/components/Plank/Plank.stories.tsx +103 -0
  202. package/src/components/Plank/Plank.tsx +149 -0
  203. package/src/components/Plank/index.ts +5 -0
  204. package/src/components/index.ts +3 -4
  205. package/src/containers/Deck/Banner.tsx +5 -4
  206. package/src/containers/Deck/Deck.tsx +3 -3
  207. package/src/containers/Deck/DeckPlank.tsx +187 -0
  208. package/src/containers/Deck/DeckViewport.tsx +118 -246
  209. package/src/containers/{Plank → Deck}/PlankControls.tsx +21 -19
  210. package/src/containers/Deck/PlankFallback.tsx +42 -0
  211. package/src/containers/Deck/StatusBar.tsx +4 -2
  212. package/src/containers/Deck/useDeckPlank.ts +219 -0
  213. package/src/containers/DeckLayout/DeckLayout.stories.tsx +44 -60
  214. package/src/containers/DeckLayout/Dialog.tsx +1 -1
  215. package/src/containers/DeckLayout/Fallback.tsx +1 -1
  216. package/src/containers/DeckLayout/Popover.tsx +37 -20
  217. package/src/containers/DeckLayout/Toast.tsx +1 -1
  218. package/src/{components → containers}/DeckSettings/DeckSettings.stories.tsx +1 -1
  219. package/src/containers/DeckSettings/DeckSettings.tsx +42 -0
  220. package/src/containers/Sidebar/ComplementarySidebar.tsx +8 -7
  221. package/src/containers/Sidebar/Sidebar.tsx +1 -1
  222. package/src/containers/Sidebar/SidebarButton.tsx +3 -3
  223. package/src/containers/index.ts +1 -1
  224. package/src/hooks/index.ts +2 -0
  225. package/src/hooks/useCompanionSplit.ts +78 -0
  226. package/src/hooks/useCompanions.ts +39 -7
  227. package/src/hooks/useDeckCompanions.ts +3 -3
  228. package/src/hooks/useDeckState.ts +1 -1
  229. package/src/hooks/useSelectedCompanionVariant.ts +14 -0
  230. package/src/index.ts +7 -0
  231. package/src/meta.ts +2 -27
  232. package/src/operations/adjust.ts +23 -12
  233. package/src/operations/open.ts +12 -10
  234. package/src/operations/switch-workspace.ts +2 -2
  235. package/src/operations/update-companion.ts +10 -6
  236. package/src/translations.ts +3 -3
  237. package/src/types/DeckCapabilities.ts +6 -4
  238. package/src/types/DeckEvents.ts +1 -1
  239. package/src/types/DeckOperation.ts +3 -2
  240. package/src/types/index.ts +1 -0
  241. package/src/types/schema.ts +21 -16
  242. package/src/types/surface.ts +28 -0
  243. package/src/util/companion-view-state.ts +28 -0
  244. package/src/util/index.ts +1 -0
  245. package/src/util/plank-url-params.test.ts +5 -0
  246. package/src/util/plank-url-params.ts +5 -3
  247. package/src/util/sanitize-persisted-state.test.ts +1 -1
  248. package/src/util/set-active.test.ts +1 -1
  249. package/dist/lib/neutral/DeckLayout-DEURA3KR.mjs.map +0 -7
  250. package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs +0 -27
  251. package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs.map +0 -7
  252. package/dist/lib/neutral/adjust-HNU5CCRO.mjs.map +0 -7
  253. package/dist/lib/neutral/app-graph-builder-HMLT627T.mjs.map +0 -7
  254. package/dist/lib/neutral/chunk-324PPIZB.mjs.map +0 -7
  255. package/dist/lib/neutral/chunk-BS4EOYMK.mjs.map +0 -7
  256. package/dist/lib/neutral/chunk-GBIGQKYW.mjs.map +0 -7
  257. package/dist/lib/neutral/chunk-PYEY5SEC.mjs +0 -37
  258. package/dist/lib/neutral/chunk-PYEY5SEC.mjs.map +0 -7
  259. package/dist/lib/neutral/chunk-Q4W6B4IB.mjs +0 -8
  260. package/dist/lib/neutral/chunk-WAXJPQJI.mjs +0 -1306
  261. package/dist/lib/neutral/chunk-WAXJPQJI.mjs.map +0 -7
  262. package/dist/lib/neutral/notification-tracker-P36322BH.mjs.map +0 -7
  263. package/dist/lib/neutral/open-5OYNO3RT.mjs.map +0 -7
  264. package/dist/lib/neutral/react-root-HH5DEUOG.mjs.map +0 -7
  265. package/dist/lib/neutral/react-surface-3UVVCK3O.mjs.map +0 -7
  266. package/dist/lib/neutral/settings-EGNYUM4T.mjs.map +0 -7
  267. package/dist/lib/neutral/state-IIDXMQUO.mjs.map +0 -7
  268. package/dist/lib/neutral/switch-workspace-LZF4KZXH.mjs.map +0 -7
  269. package/dist/lib/neutral/update-companion-YUCZZVGY.mjs.map +0 -7
  270. package/dist/lib/neutral/url-handler-A6HLW4RB.mjs.map +0 -7
  271. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +0 -1
  272. package/dist/types/src/components/DeckSettings/index.d.ts.map +0 -1
  273. package/dist/types/src/containers/Plank/Plank.d.ts +0 -17
  274. package/dist/types/src/containers/Plank/Plank.d.ts.map +0 -1
  275. package/dist/types/src/containers/Plank/Plank.stories.d.ts +0 -67
  276. package/dist/types/src/containers/Plank/Plank.stories.d.ts.map +0 -1
  277. package/dist/types/src/containers/Plank/PlankComponent.d.ts +0 -17
  278. package/dist/types/src/containers/Plank/PlankComponent.d.ts.map +0 -1
  279. package/dist/types/src/containers/Plank/PlankContent.d.ts +0 -10
  280. package/dist/types/src/containers/Plank/PlankContent.d.ts.map +0 -1
  281. package/dist/types/src/containers/Plank/PlankControls.d.ts.map +0 -1
  282. package/dist/types/src/containers/Plank/PlankError.d.ts +0 -15
  283. package/dist/types/src/containers/Plank/PlankError.d.ts.map +0 -1
  284. package/dist/types/src/containers/Plank/PlankHeading.d.ts +0 -22
  285. package/dist/types/src/containers/Plank/PlankHeading.d.ts.map +0 -1
  286. package/dist/types/src/containers/Plank/PlankLoading.d.ts +0 -3
  287. package/dist/types/src/containers/Plank/PlankLoading.d.ts.map +0 -1
  288. package/dist/types/src/containers/Plank/PlankRoot.d.ts +0 -37
  289. package/dist/types/src/containers/Plank/PlankRoot.d.ts.map +0 -1
  290. package/dist/types/src/containers/Plank/index.d.ts +0 -4
  291. package/dist/types/src/containers/Plank/index.d.ts.map +0 -1
  292. package/src/components/DeckSettings/DeckSettings.tsx +0 -34
  293. package/src/containers/Plank/Plank.stories.tsx +0 -108
  294. package/src/containers/Plank/Plank.tsx +0 -22
  295. package/src/containers/Plank/PlankComponent.tsx +0 -223
  296. package/src/containers/Plank/PlankContent.tsx +0 -45
  297. package/src/containers/Plank/PlankError.tsx +0 -82
  298. package/src/containers/Plank/PlankHeading.tsx +0 -237
  299. package/src/containers/Plank/PlankLoading.tsx +0 -10
  300. package/src/containers/Plank/PlankRoot.tsx +0 -49
  301. package/src/containers/Plank/index.ts +0 -7
  302. /package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs.map → add-toast-BHNEH5UY.mjs.map} +0 -0
  303. /package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs.map → check-app-scheme-HSAORHHX.mjs.map} +0 -0
  304. /package/dist/lib/neutral/{chunk-Q4W6B4IB.mjs.map → chunk-FKGYHBUB.mjs.map} +0 -0
  305. /package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs.map → revert-workspace-RXWP2TEE.mjs.map} +0 -0
  306. /package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs.map → scroll-into-view-HFV5EGYZ.mjs.map} +0 -0
  307. /package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs.map → set-layout-mode-XAGSZZGB.mjs.map} +0 -0
  308. /package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs.map → update-complementary-K55I5EV5.mjs.map} +0 -0
  309. /package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs.map → update-dialog-Z3GEXMVV.mjs.map} +0 -0
  310. /package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs.map → update-plank-size-BTESVV7N.mjs.map} +0 -0
  311. /package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs.map → update-popover-QEVDSZSH.mjs.map} +0 -0
  312. /package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs.map → update-sidebar-VSRCN47U.mjs.map} +0 -0
  313. /package/dist/types/src/{components → containers}/DeckSettings/index.d.ts +0 -0
  314. /package/src/{components → containers}/DeckSettings/index.ts +0 -0
@@ -0,0 +1,49 @@
1
+ import { type AttentionSigilAction } from '@dxos/app-toolkit/ui';
2
+ import { type Node } from '@dxos/plugin-graph';
3
+ import { DeckOperation, type LayoutMode, type ResolvedPart } from '#types';
4
+ /** Capability flags that gate the plank toolbar controls. */
5
+ export type PlankCapabilities = {
6
+ deck?: boolean;
7
+ solo?: boolean;
8
+ incrementStart?: boolean;
9
+ incrementEnd?: boolean;
10
+ fullscreen?: boolean;
11
+ companion?: boolean;
12
+ };
13
+ export type UseDeckPlankOptions = {
14
+ id: string;
15
+ /** Resolved part for the primary plank (`solo` | `multi` | `complementary`). */
16
+ part: ResolvedPart;
17
+ layoutMode: LayoutMode;
18
+ /** Ordered active planks (multi mode); enables increment/close-range semantics. */
19
+ active?: string[];
20
+ /** Whether the companion pane should be shown for this plank (gated further by attention in multi-mode). */
21
+ companionShown?: boolean;
22
+ deckEnabled?: boolean;
23
+ };
24
+ export type DeckPlank = {
25
+ node: Node.Node | undefined;
26
+ companions: Node.Node[];
27
+ resolvedCompanionId: string | undefined;
28
+ currentCompanion: Node.Node | undefined;
29
+ hasCompanion: boolean;
30
+ /** Splitter orientation for the companion pane (defaults to `horizontal`). */
31
+ companionOrientation: 'horizontal' | 'vertical';
32
+ capabilities: PlankCapabilities;
33
+ /** Grouped sigil-menu actions, or `undefined` when the node is unresolved. */
34
+ sigilActions: AttentionSigilAction[][] | undefined;
35
+ popoverAnchorId?: string;
36
+ scrollIntoView?: string;
37
+ onAction: (action: AttentionSigilAction) => void;
38
+ onAdjust: (type: DeckOperation.PartAdjustment) => void;
39
+ onResize: (size: number) => void;
40
+ onScrollIntoView: (subject?: string) => void;
41
+ onUpdateCompanion: (companion: string | null) => void;
42
+ };
43
+ /**
44
+ * Resolves the graph node, companions, capabilities and sigil actions for a deck plank, and exposes the
45
+ * operation dispatchers that mutate deck layout state. This re-homes the framework wiring that the legacy
46
+ * `PlankContainer`/`PlankHeading` bundled, so the presentational components stay free of capabilities.
47
+ */
48
+ export declare const useDeckPlank: ({ id, part, layoutMode, active, companionShown, deckEnabled, }: UseDeckPlankOptions) => DeckPlank;
49
+ //# sourceMappingURL=useDeckPlank.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeckPlank.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/useDeckPlank.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAS,KAAK,IAAI,EAAwC,MAAM,oBAAoB,CAAC;AAK5F,OAAO,EAAE,aAAa,EAAE,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAKjG,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,gFAAgF;IAChF,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;IAC5B,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACxB,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,gBAAgB,EAAE,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,OAAO,CAAC;IACtB,8EAA8E;IAC9E,oBAAoB,EAAE,YAAY,GAAG,UAAU,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,8EAA8E;IAC9E,YAAY,EAAE,oBAAoB,EAAE,EAAE,GAAG,SAAS,CAAC;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,cAAc,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,gBAAgB,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,mEAOtB,mBAAmB,KAAG,SAgJxB,CAAC"}
@@ -10,7 +10,6 @@ declare const meta: {
10
10
  readonly 'en-US': {
11
11
  readonly [x: string]: {
12
12
  readonly 'plugin.name': 'Deck';
13
- readonly 'settings.title': 'Deck settings';
14
13
  readonly 'main-header.label': 'Main header';
15
14
  readonly 'open-navigation-sidebar.label': 'Open sidebar';
16
15
  readonly 'collapse-navigation-sidebar.label': 'Close sidebar';
@@ -44,7 +43,8 @@ declare const meta: {
44
43
  readonly 'show-fullscreen-plank.label': 'Fullscreen';
45
44
  readonly 'close.label': 'Close';
46
45
  readonly 'minify.label': 'Minify';
47
- readonly 'open-companion.label': 'Open companion';
46
+ readonly 'open-companion.label': 'Open companion side-by-side';
47
+ readonly 'open-companion-vertical.label': 'Open companion stacked';
48
48
  readonly 'close-companion.label': 'Close companion';
49
49
  readonly 'close-current.label': 'Close current plank';
50
50
  readonly 'close-others.label': 'Close other planks';
@@ -1 +1 @@
1
- {"version":3,"file":"DeckLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/DeckLayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAuVnD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcyB,CAAC;eAErB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
1
+ {"version":3,"file":"DeckLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/DeckLayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAuUnD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcyB,CAAC;eAErB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AA0BhG,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,sBA+BzD,CAAC;AAEF,eAAO,MAAM,cAAc,yBAmG1B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AA4BhG,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,sBAkCzD,CAAC;AAEF,eAAO,MAAM,cAAc,yBA+G1B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { Settings } from '#types';
4
- export type DeckSettingsProps = AppSurface.SettingsArticleProps<Settings.Settings>;
4
+ export type DeckSettingsProps = AppSurface.SettingsProps<Settings.Settings>;
5
5
  export declare const DeckSettings: ({ settings, onSettingsChange }: DeckSettingsProps) => React.JSX.Element;
6
6
  //# 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;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAE5E,eAAO,MAAM,YAAY,mCAAoC,iBAAiB,sBAwB7E,CAAC"}
@@ -10,7 +10,6 @@ declare const meta: {
10
10
  readonly 'en-US': {
11
11
  readonly [x: string]: {
12
12
  readonly 'plugin.name': 'Deck';
13
- readonly 'settings.title': 'Deck settings';
14
13
  readonly 'main-header.label': 'Main header';
15
14
  readonly 'open-navigation-sidebar.label': 'Open sidebar';
16
15
  readonly 'collapse-navigation-sidebar.label': 'Close sidebar';
@@ -44,7 +43,8 @@ declare const meta: {
44
43
  readonly 'show-fullscreen-plank.label': 'Fullscreen';
45
44
  readonly 'close.label': 'Close';
46
45
  readonly 'minify.label': 'Minify';
47
- readonly 'open-companion.label': 'Open companion';
46
+ readonly 'open-companion.label': 'Open companion side-by-side';
47
+ readonly 'open-companion-vertical.label': 'Open companion stacked';
48
48
  readonly 'close-companion.label': 'Close companion';
49
49
  readonly 'close-current.label': 'Close current plank';
50
50
  readonly 'close-others.label': 'Close other planks';
@@ -1 +1 @@
1
- {"version":3,"file":"DeckSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC"}
1
+ {"version":3,"file":"DeckSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckSettings/DeckSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeckSettings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAmB1F,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAqH1E,CAAC"}
1
+ {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAC;AAoB1F,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAqH1E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type ComponentType } from 'react';
2
2
  export * from './Deck';
3
- export * from './Plank';
4
3
  export * from './Sidebar';
5
4
  export declare const DeckLayout: ComponentType<any>;
5
+ export declare const DeckSettings: ComponentType<any>;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,GAAG,CAAsC,CAAC"}
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,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,GAAG,CAAsC,CAAC;AACjF,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAwC,CAAC"}
@@ -1,8 +1,10 @@
1
1
  export * from './useBreakpoints';
2
2
  export * from './useCompanions';
3
+ export * from './useCompanionSplit';
3
4
  export * from './useDeckCompanions';
4
5
  export * from './useDeckState';
5
6
  export * from './useMainSize';
6
7
  export * from './useNodeActionExpander';
7
8
  export * from './useSelectedCompanion';
9
+ export * from './useSelectedCompanionVariant';
8
10
  //# 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,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,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,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { type SplitterOrientation } from '@dxos/react-ui';
3
+ import { type AspectDef } from '@dxos/react-ui-attention';
4
+ /** Companion split point (rem) used until the user resizes a given orientation. */
5
+ export declare const DEFAULT_COMPANION_SIZE = 30;
6
+ declare const CompanionSplitSchema: Schema.mutable<Schema.Struct<{
7
+ horizontal: Schema.optional<typeof Schema.Number>;
8
+ vertical: Schema.optional<typeof Schema.Number>;
9
+ }>>;
10
+ export type CompanionSplit = Schema.Schema.Type<typeof CompanionSplitSchema>;
11
+ /**
12
+ * Companion splitter sizes (rem), memoized separately for each orientation so toggling the companion
13
+ * between side-by-side and stacked restores that orientation's last split point. Stored in the `local`
14
+ * backend (localStorage, persisted across reloads) via react-ui-attention view state.
15
+ */
16
+ export declare const companionSplitAspect: AspectDef<CompanionSplit>;
17
+ export type UseCompanionSplit = {
18
+ /** The remembered split point for the current orientation (or the default). */
19
+ size: number;
20
+ onSizeChange: (size: number) => void;
21
+ };
22
+ /**
23
+ * Reads and writes the global companion splitter size keyed by `orientation`. A live size keeps dragging
24
+ * smooth while the persisted write is debounced (and flushed on unmount) to avoid per-frame storage writes.
25
+ */
26
+ export declare const useCompanionSplit: (orientation: SplitterOrientation) => UseCompanionSplit;
27
+ export {};
28
+ //# sourceMappingURL=useCompanionSplit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCompanionSplit.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCompanionSplit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,KAAK,SAAS,EAAsD,MAAM,0BAA0B,CAAC;AAI9G,mFAAmF;AACnF,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAKzC,QAAA,MAAM,oBAAoB;;;GAGH,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,CAAC,cAAc,CAKzD,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,gBAAiB,mBAAmB,KAAG,iBA8BpE,CAAC"}
@@ -1,8 +1,12 @@
1
- export declare const useCompanions: (id?: string) => Readonly<{
2
- id: string;
3
- type: string;
4
- cacheable?: string[];
5
- properties: Readonly<Record<string, any>>;
6
- data: any;
7
- }>[];
1
+ import { type Node } from '@dxos/plugin-graph';
2
+ /**
3
+ * Companion (child) nodes for a plank.
4
+ *
5
+ * The node's child-connections atom is read in a commit-phase effect rather than during render.
6
+ * Subscribing to it during render (via `useConnections`/`useAtomValue`) recomputes the shared atom and
7
+ * synchronously notifies its other subscribers — notably navtree items rendering the same node — which
8
+ * surfaces as a React "cannot update a component while rendering a different component" warning. Reading
9
+ * it from an effect defers that notification to the commit phase where cross-component updates are allowed.
10
+ */
11
+ export declare const useCompanions: (id?: string) => Node.Node[];
8
12
  //# sourceMappingURL=useCompanions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCompanions.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa,QAAS,MAAM;;;;;;IAKxC,CAAC"}
1
+ {"version":3,"file":"useCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCompanions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAK/C;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,IAAI,CAAC,IAAI,EA2BpD,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { type Node as NodeType } from '@dxos/plugin-graph';
2
2
  import { type Label } from '@dxos/ui-types/translations';
3
- import { type Position } from '@dxos/util';
3
+ import { Position } from '@dxos/util';
4
4
  export type DeckCompanion = NodeType.Node<any, {
5
5
  label: Label;
6
6
  icon: string;
7
7
  /** If true, the panel will not be wrapped in a scroll area. */
8
8
  fixed?: boolean;
9
- position?: Position;
9
+ position?: Position.Position;
10
10
  joyride?: string;
11
11
  }>;
12
12
  export declare const useDeckCompanions: () => DeckCompanion[];
@@ -1 +1 @@
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,6BAA6B,CAAC;AACzD,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,YAAY,CAAC;AAIvD,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;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,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,6BAA6B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,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,QAAQ,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,aAAa,EAKjD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type EphemeralDeckState, type DeckPluginState, type DeckState, type StoredDeckState } from '#types';
1
+ import { type DeckPluginState, type DeckState, type EphemeralDeckState, type StoredDeckState } from '#types';
2
2
  export type DeckStateHook = {
3
3
  /** Combined state value (reactive). Includes both persisted and ephemeral state. */
4
4
  state: DeckPluginState;
@@ -1 +1 @@
1
- {"version":3,"file":"useDeckState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckState.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,QAAQ,CAAC;AAEhB,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,eAAe,KAAK,eAAe,KAAK,IAAI,CAAC;IACzE,8BAA8B;IAC9B,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,kBAAkB,KAAK,IAAI,CAAC;CACpF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aAsC/B,CAAC"}
1
+ {"version":3,"file":"useDeckState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckState.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,QAAQ,CAAC;AAEhB,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,eAAe,KAAK,eAAe,KAAK,IAAI,CAAC;IACzE,8BAA8B;IAC9B,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,kBAAkB,KAAK,IAAI,CAAC;CACpF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aAsC/B,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Reads the globally-selected companion variant (persisted via view state) so reopening the companion
3
+ * restores the last-selected tab rather than resetting to the first.
4
+ */
5
+ export declare const useSelectedCompanionVariant: () => string | undefined;
6
+ //# sourceMappingURL=useSelectedCompanionVariant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSelectedCompanionVariant.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSelectedCompanionVariant.ts"],"names":[],"mappings":"AAQA;;;GAGG;AACH,eAAO,MAAM,2BAA2B,QAAO,MAAM,GAAG,SACoB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './meta';
2
2
  export * from './types';
3
+ export { COMPANION_VIEW_STATE_CONTEXT, type CompanionSelection, companionVariantAspect, } from './util/companion-view-state';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAGxB,OAAO,EACL,4BAA4B,EAC5B,KAAK,kBAAkB,EACvB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC"}
@@ -1,3 +1,33 @@
1
- import { Plugin } from '@dxos/app-framework';
2
- export declare const meta: Plugin.Meta;
1
+ export declare const meta: {
2
+ readonly profile: {
3
+ readonly key: string;
4
+ readonly name: string;
5
+ readonly description?: string | undefined;
6
+ readonly homePage?: string | undefined;
7
+ readonly source?: string | undefined;
8
+ readonly tags?: readonly string[] | undefined;
9
+ readonly screenshots?: readonly {
10
+ readonly light?: string | undefined;
11
+ readonly dark?: string | undefined;
12
+ }[] | undefined;
13
+ readonly icon?: {
14
+ readonly key: string;
15
+ readonly hue?: string | undefined;
16
+ } | undefined;
17
+ readonly dependsOn?: readonly string[] | undefined;
18
+ readonly spec?: string | undefined;
19
+ readonly createdAt?: string | undefined;
20
+ readonly author?: string | undefined;
21
+ };
22
+ readonly release?: {
23
+ readonly version: string;
24
+ readonly moduleUrl: string;
25
+ readonly dependencies?: {
26
+ readonly [x: string]: string;
27
+ } | undefined;
28
+ readonly pluginKey?: string | undefined;
29
+ readonly manifestHash?: string | undefined;
30
+ readonly createdAt?: string | undefined;
31
+ } | undefined;
32
+ };
3
33
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,IAAI,aAyBf,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"adjust.d.ts","sourceRoot":"","sources":["../../../../src/operations/adjust.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,EAAoB,aAAa,EAAwB,MAAM,UAAU,CAAC;AAIjF,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,MAAM,CA2D/D,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"adjust.d.ts","sourceRoot":"","sources":["../../../../src/operations/adjust.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAK1C,OAAO,EAAoB,aAAa,EAAwB,MAAM,UAAU,CAAC;AAIjF,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,MAAM,CAuE/D,CAAC;eAEa,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,eAAe,EAIhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAc1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAyK/D,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAQA,OAAO,EAAmB,eAAe,EAAY,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAc1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAiL/D,CAAC;eAEa,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAOA,OAAO,EAAsC,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAiD1E,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAOA,OAAO,EAAmB,eAAe,EAAS,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAiD1E,CAAC;eAEa,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-companion.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-companion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAkB1E,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"update-companion.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-companion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAoB1E,CAAC;eAEa,OAAO"}
@@ -2,7 +2,6 @@ export declare const translations: [{
2
2
  readonly 'en-US': {
3
3
  readonly [x: string]: {
4
4
  readonly 'plugin.name': 'Deck';
5
- readonly 'settings.title': 'Deck settings';
6
5
  readonly 'main-header.label': 'Main header';
7
6
  readonly 'open-navigation-sidebar.label': 'Open sidebar';
8
7
  readonly 'collapse-navigation-sidebar.label': 'Close sidebar';
@@ -36,7 +35,8 @@ export declare const translations: [{
36
35
  readonly 'show-fullscreen-plank.label': 'Fullscreen';
37
36
  readonly 'close.label': 'Close';
38
37
  readonly 'minify.label': 'Minify';
39
- readonly 'open-companion.label': 'Open companion';
38
+ readonly 'open-companion.label': 'Open companion side-by-side';
39
+ readonly 'open-companion-vertical.label': 'Open companion stacked';
40
40
  readonly 'close-companion.label': 'Close companion';
41
41
  readonly 'close-current.label': 'Close current plank';
42
42
  readonly 'close-others.label': 'Close other planks';
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,MAAM;uCACH,eAAe;0CACZ,aAAa;sDACD,cAAc;0DACV,eAAe;yDAChB,sBAAsB;0DACrB,uBAAuB;sCAC3C,oBAAoB;oDACN,iBAAiB;6CACxB,2BAA2B;iDACvB,aAAa;qDAEvC,8JAA+I;gDACtH,mBAAmB;6CACtB,gCAAgC;0CACnC,MAAM;wCACR,sBAAsB;yCACrB,SAAS;+CACH,4BAA4B;kDACzB,MAAM;qDACH,UAAU;2CACpB,SAAS;4CACR,cAAc;wCAClB,eAAU;2CACP,MAAM;qCACZ,gBAAgB;wCACb,yBAAyB;sCAC3B,0BAA0B;8CAClB,kBAAkB;4CACpB,mBAAmB;8CACjB,gBAAgB;8CAChB,UAAU;8CACV,iBAAiB;oDACX,YAAY;oCAC5B,OAAO;qCACN,QAAQ;6CACA,gBAAgB;8CACf,iBAAiB;4CACnB,qBAAqB;2CACtB,oBAAoB;wCACvB,kBAAkB;wDACF,OAAO;+DACA,SAAS;mDACrB,uBAAuB;6CAC7B,6BAA6B;mDACvB,kCAAkC;oDACjC,eAAe;kDACjB,sBAAsB;;;EAI5B,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,MAAM;0CACA,aAAa;sDACD,cAAc;0DACV,eAAe;yDAChB,sBAAsB;0DACrB,uBAAuB;sCAC3C,oBAAoB;oDACN,iBAAiB;6CACxB,2BAA2B;iDACvB,aAAa;qDAEvC,8JAA+I;gDACtH,mBAAmB;6CACtB,gCAAgC;0CACnC,MAAM;wCACR,sBAAsB;yCACrB,SAAS;+CACH,4BAA4B;kDACzB,MAAM;qDACH,UAAU;2CACpB,SAAS;4CACR,cAAc;wCAClB,eAAU;2CACP,MAAM;qCACZ,gBAAgB;wCACb,yBAAyB;sCAC3B,0BAA0B;8CAClB,kBAAkB;4CACpB,mBAAmB;8CACjB,gBAAgB;8CAChB,UAAU;8CACV,iBAAiB;oDACX,YAAY;oCAC5B,OAAO;qCACN,QAAQ;6CACA,6BAA6B;sDACpB,wBAAwB;8CAChC,iBAAiB;4CACnB,qBAAqB;2CACtB,oBAAoB;wCACvB,kBAAkB;wDACF,OAAO;+DACA,SAAS;mDACrB,uBAAuB;6CAC7B,6BAA6B;mDACvB,kCAAkC;oDACjC,eAAe;kDACjB,sBAAsB;;;EAI5B,CAAC"}
@@ -21,7 +21,7 @@ export declare const State: Capability.InterfaceDef<Atom.Writable<{
21
21
  [x: string]: number;
22
22
  };
23
23
  companionOpen: boolean;
24
- companionVariant?: string | undefined;
24
+ companionOrientation?: "horizontal" | "vertical" | undefined;
25
25
  companionFrameSizing: {
26
26
  [x: string]: number;
27
27
  };
@@ -47,7 +47,7 @@ export declare const State: Capability.InterfaceDef<Atom.Writable<{
47
47
  [x: string]: number;
48
48
  };
49
49
  companionOpen: boolean;
50
- companionVariant?: string | undefined;
50
+ companionOrientation?: "horizontal" | "vertical" | undefined;
51
51
  companionFrameSizing: {
52
52
  [x: string]: number;
53
53
  };
@@ -74,7 +74,7 @@ export declare const EphemeralState: Capability.InterfaceDef<Atom.Writable<{
74
74
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
75
75
  popoverAnchor?: any;
76
76
  popoverAnchorId?: string | undefined;
77
- popoverKind?: "base" | "card" | undefined;
77
+ popoverKind?: "base" | "card" | "rename" | undefined;
78
78
  popoverTitle?: string | [string, {
79
79
  ns: string | readonly string[];
80
80
  count?: number | undefined;
@@ -136,7 +136,7 @@ export declare const EphemeralState: Capability.InterfaceDef<Atom.Writable<{
136
136
  popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
137
137
  popoverAnchor?: any;
138
138
  popoverAnchorId?: string | undefined;
139
- popoverKind?: "base" | "card" | undefined;
139
+ popoverKind?: "base" | "card" | "rename" | undefined;
140
140
  popoverTitle?: string | [string, {
141
141
  ns: string | readonly string[];
142
142
  count?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"DeckCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAA2B,KAAK,SAAS,EAAwB,MAAM,UAAU,CAAC;AAEzF,eAAO,MAAM,QAAQ,sGAAkG,CAAC;AAExH,oDAAoD;AACpD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiF,CAAC;AAEpG,iDAAiD;AACjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE1B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,OAAO,QAAO,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAMzE,CAAC"}
1
+ {"version":3,"file":"DeckCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAAE,KAAK,SAAS,EAAiD,MAAM,UAAU,CAAC;AAEzF,eAAO,MAAM,QAAQ,sGAEpB,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0F,CAAC;AAE7G,iDAAiD;AACjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE1B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,OAAO,QAAO,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAMzE,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  import { Capability } from '@dxos/app-framework';
3
3
  import { Operation } from '@dxos/compute';
4
- declare const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
4
+ declare const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["companion-vertical"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
5
5
  export type PartAdjustment = Schema.Schema.Type<typeof PartAdjustmentSchema>;
6
6
  export declare const Adjust: Operation.Definition<{
7
7
  readonly id: string;
8
- readonly type: "close" | "companion" | "increment-end" | "increment-start" | "solo" | "solo--fullscreen";
8
+ readonly type: "close" | "companion" | "companion-vertical" | "increment-end" | "increment-start" | "solo" | "solo--fullscreen";
9
9
  }, void, Capability.Service>;
10
10
  export declare const UpdatePlankSize: Operation.Definition<{
11
11
  readonly id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DeckOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckOperation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO1C,QAAA,MAAM,oBAAoB,kNAOzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE7E,eAAO,MAAM,MAAM;;;4BAajB,CAAC;AAEH,eAAO,MAAM,eAAe;;;4BAa1B,CAAC"}
1
+ {"version":3,"file":"DeckOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/DeckOperation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO1C,QAAA,MAAM,oBAAoB,0PAQzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE7E,eAAO,MAAM,MAAM;;;4BAajB,CAAC;AAEH,eAAO,MAAM,eAAe;;;4BAa1B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './schema';
2
+ export * from './surface';
2
3
  export * as DeckCapabilities from './DeckCapabilities';
3
4
  export * as DeckEvents from './DeckEvents';
4
5
  export * as DeckOperation from './DeckOperation';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AAEzB,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAE1B,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  import { type DeepReadonly } from '@dxos/util';
3
- export { PLANK_COMPANION_TYPE, DECK_COMPANION_TYPE } from '@dxos/app-toolkit';
3
+ export declare const PLANK_COMPANION_TYPE = "org.dxos.plugin.deck.plank-companion";
4
+ export declare const DECK_COMPANION_TYPE = "org.dxos.plugin.deck.deck-companion";
4
5
  export type Part = 'solo' | 'multi' | 'complementary';
5
6
  export type ResolvedPart = Part | 'solo-primary' | 'solo-companion';
6
7
  export declare const PlankSizing: Schema.Record$<typeof Schema.String, typeof Schema.Number>;
@@ -20,8 +21,8 @@ export declare const DeckState: Schema.Struct<{
20
21
  plankSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
21
22
  /** Whether the companion pane is visible alongside the active plank(s). */
22
23
  companionOpen: typeof Schema.Boolean;
23
- /** Which companion variant to display when the companion pane is open. */
24
- companionVariant: Schema.optional<typeof Schema.String>;
24
+ /** Orientation of the companion splitter: `horizontal` (side-by-side) or `vertical` (stacked). */
25
+ companionOrientation: Schema.optional<Schema.Literal<["horizontal", "vertical"]>>;
25
26
  /** Persisted companion frame widths in rem, keyed by frame ID. */
26
27
  companionFrameSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
27
28
  }>;
@@ -52,8 +53,8 @@ export declare const StoredDeckState: Schema.mutable<Schema.Struct<{
52
53
  plankSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
53
54
  /** Whether the companion pane is visible alongside the active plank(s). */
54
55
  companionOpen: typeof Schema.Boolean;
55
- /** Which companion variant to display when the companion pane is open. */
56
- companionVariant: Schema.optional<typeof Schema.String>;
56
+ /** Orientation of the companion splitter: `horizontal` (side-by-side) or `vertical` (stacked). */
57
+ companionOrientation: Schema.optional<Schema.Literal<["horizontal", "vertical"]>>;
57
58
  /** Persisted companion frame widths in rem, keyed by frame ID. */
58
59
  companionFrameSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
59
60
  }>>>>;
@@ -75,7 +76,7 @@ export declare const EphemeralDeckState: Schema.mutable<Schema.Struct<{
75
76
  popoverSide: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
76
77
  popoverAnchor: Schema.optional<typeof Schema.Any>;
77
78
  popoverAnchorId: Schema.optional<typeof Schema.String>;
78
- popoverKind: Schema.optional<Schema.Literal<["base", "card"]>>;
79
+ popoverKind: Schema.optional<Schema.Literal<["base", "card", "rename"]>>;
79
80
  popoverTitle: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
80
81
  ns: Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.String>]>;
81
82
  count: Schema.optional<typeof Schema.Number>;
@@ -128,11 +129,11 @@ export declare const EphemeralDeckState: Schema.mutable<Schema.Struct<{
128
129
  export type EphemeralDeckState = Schema.Schema.Type<typeof EphemeralDeckState>;
129
130
  export type DeckPluginState = StoredDeckState & EphemeralDeckState;
130
131
  export declare namespace DeckAction {
131
- const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
132
+ const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["companion-vertical"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
132
133
  export type PartAdjustment = Schema.Schema.Type<typeof PartAdjustmentSchema>;
133
134
  export const Adjustment: Schema.mutable<Schema.Struct<{
134
135
  id: typeof Schema.String;
135
- type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
136
+ type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["companion-vertical"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
136
137
  }>>;
137
138
  export type Adjustment = Schema.Schema.Type<typeof Adjustment>;
138
139
  const Adjust_base: Schema.TaggedClass<Adjust, `${string}.action.adjust`, {
@@ -140,7 +141,7 @@ export declare namespace DeckAction {
140
141
  } & {
141
142
  input: Schema.mutable<Schema.Struct<{
142
143
  id: typeof Schema.String;
143
- type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
144
+ type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["companion-vertical"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
144
145
  }>>;
145
146
  output: typeof Schema.Void;
146
147
  }>;
@@ -159,4 +160,5 @@ export declare namespace DeckAction {
159
160
  }
160
161
  export {};
161
162
  }
163
+ export {};
162
164
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE9E,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC;AACtD,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAEpE,eAAO,MAAM,WAAW,4DAA8D,CAAC;AACvF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,eAAO,MAAM,SAAS;IACpB,qFAAqF;;IAErF,4DAA4D;;IAE5D,0FAA0F;;IAE1F,wEAAwE;;IAExE,uFAAuF;;IAEvF,uDAAuD;;IAEvD,2EAA2E;;IAE3E,0EAA0E;;IAE1E,kEAAkE;;EAElE,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,SAUzB,CAAC;AAMF,QAAA,MAAM,UAAU,uDAAsD,CAAC;AACvE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAC/D,eAAO,MAAM,YAAY,UAAW,GAAG,KAAG,KAAK,IAAI,UAA0C,CAAC;AAC9F,eAAO,MAAM,OAAO,SAAU,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,KAAG,UAMnE,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;QAjD1B,qFAAqF;;QAErF,4DAA4D;;QAE5D,0FAA0F;;QAE1F,wEAAwE;;QAExE,uFAAuF;;QAEvF,uDAAuD;;QAEvD,2EAA2E;;QAE3E,0EAA0E;;QAE1E,kEAAkE;;;;GAyC7C,CAAC;AACxB,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAGzE,eAAO,MAAM,kBAAkB;;;;;;IAM7B,+CAA+C;;;;;;;;;;;;;;;IAQ/C,8DAA8D;;IAE9D,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAShD,4EAA4E;;GAEvD,CAAC;AACxB,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG/E,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAEnE,yBAAiB,UAAU,CAAC,CAAC;IAC3B,MAAM,oBAAoB,kNAOzB,CAAC;IACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAC7E,MAAM,CAAC,MAAM,UAAU;;;OAAmF,CAAC;IAC3G,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;;;;;;;;;;IAG/D,MAAM,OAAO,MAAO,SAAQ,WAG1B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;CACN"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,eAAO,MAAM,oBAAoB,yCAA+B,CAAC;AACjE,eAAO,MAAM,mBAAmB,wCAA8B,CAAC;AAE/D,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC;AACtD,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAEpE,eAAO,MAAM,WAAW,4DAA8D,CAAC;AACvF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,eAAO,MAAM,SAAS;IACpB,qFAAqF;;IAErF,4DAA4D;;IAE5D,0FAA0F;;IAE1F,wEAAwE;;IAExE,uFAAuF;;IAEvF,uDAAuD;;IAEvD,2EAA2E;;IAE3E,kGAAkG;;IAElG,kEAAkE;;EAElE,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,SAUzB,CAAC;AAMF,QAAA,MAAM,UAAU,uDAAsD,CAAC;AACvE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAC/D,eAAO,MAAM,YAAY,UAAW,GAAG,KAAG,KAAK,IAAI,UAA0C,CAAC;AAC9F,eAAO,MAAM,OAAO,SAAU,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,KAAG,UAMnE,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;QAjD1B,qFAAqF;;QAErF,4DAA4D;;QAE5D,0FAA0F;;QAE1F,wEAAwE;;QAExE,uFAAuF;;QAEvF,uDAAuD;;QAEvD,2EAA2E;;QAE3E,kGAAkG;;QAElG,kEAAkE;;;;GAyC7C,CAAC;AACxB,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAGzE,eAAO,MAAM,kBAAkB;;;;;;IAM7B,+CAA+C;;;;;;;;;;;;;;;IAQ/C,8DAA8D;;IAE9D,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAShD,4EAA4E;;GAEvD,CAAC;AACxB,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG/E,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAEnE,yBAAiB,UAAU,CAAC,CAAC;IAC3B,MAAM,oBAAoB,0PAQzB,CAAC;IACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAC7E,MAAM,CAAC,MAAM,UAAU;;;OAAmF,CAAC;IAC3G,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;;;;;;;;;;IAG/D,MAAM,OAAO,MAAO,SAAQ,WAG1B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBASpC;KAAG;;CACL"}
@@ -0,0 +1,12 @@
1
+ import { Surface } from '@dxos/app-framework/ui';
2
+ /** Slot for the main status-bar container. */
3
+ export declare const StatusBar: Surface.RoleToken<Record<string, unknown>>;
4
+ /** Slot for the status-bar footer region. */
5
+ export declare const StatusBarFooter: Surface.RoleToken<Record<string, unknown>>;
6
+ /** Slot for the version-info widget in the banner. */
7
+ export declare const VersionInfo: Surface.RoleToken<Record<string, unknown>>;
8
+ /** Slot for the keyboard-shortcuts hints overlay. */
9
+ export declare const Hints: Surface.RoleToken<Record<string, unknown>>;
10
+ /** Slot for the full keyboard-shortcuts list. */
11
+ export declare const Keyshortcuts: Surface.RoleToken<Record<string, unknown>>;
12
+ //# sourceMappingURL=surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../src/types/surface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,8CAA8C;AAC9C,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEhE,CAAC;AAEF,6CAA6C;AAC7C,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEtE,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAElE,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAA0D,CAAC;AAExH,iDAAiD;AACjD,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEnE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { type AspectDef } from '@dxos/react-ui-attention';
3
+ /** Global context shared by the deck-companion view-state aspects (split point + selected variant). */
4
+ export declare const COMPANION_VIEW_STATE_CONTEXT = "deck-companion";
5
+ declare const CompanionSelectionSchema: Schema.mutable<Schema.Struct<{
6
+ /** Linked variant of the currently selected companion tab. */
7
+ variant: Schema.optional<typeof Schema.String>;
8
+ }>>;
9
+ export type CompanionSelection = Schema.Schema.Type<typeof CompanionSelectionSchema>;
10
+ /**
11
+ * The globally-selected companion variant, persisted (localStorage) so reopening the companion restores
12
+ * the last-selected tab. Stored via react-ui-attention view state for consistency with the split point.
13
+ */
14
+ export declare const companionVariantAspect: AspectDef<CompanionSelection>;
15
+ export {};
16
+ //# sourceMappingURL=companion-view-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companion-view-state.d.ts","sourceRoot":"","sources":["../../../../src/util/companion-view-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0BAA0B,CAAC;AAE3E,uGAAuG;AACvG,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAE7D,QAAA,MAAM,wBAAwB;IAC5B,8DAA8D;;GAEzC,CAAC;AAExB,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAErF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,kBAAkB,CAK/D,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './companion-view-state';
1
2
  export * from './layoutAppliesTopbar';
2
3
  export * from './plank-url-params';
3
4
  export * from './sanitize-persisted-state';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}