@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.
- package/PLUGIN.mdl +3 -1
- package/dist/lib/neutral/{DeckLayout-DEURA3KR.mjs → DeckLayout-B3RUUV5P.mjs} +36 -22
- package/dist/lib/neutral/DeckLayout-B3RUUV5P.mjs.map +7 -0
- package/dist/lib/neutral/DeckPlugin.mjs +4 -8
- package/dist/lib/neutral/DeckPlugin.mjs.map +4 -4
- package/dist/lib/neutral/DeckSettings-Z7GMB7XJ.mjs +32 -0
- package/dist/lib/neutral/DeckSettings-Z7GMB7XJ.mjs.map +7 -0
- package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs → add-toast-BHNEH5UY.mjs} +2 -2
- package/dist/lib/neutral/{adjust-HNU5CCRO.mjs → adjust-MJB6UMRQ.mjs} +16 -10
- package/dist/lib/neutral/adjust-MJB6UMRQ.mjs.map +7 -0
- package/dist/lib/neutral/{app-graph-builder-HMLT627T.mjs → app-graph-builder-2F7P4IFQ.mjs} +8 -7
- package/dist/lib/neutral/app-graph-builder-2F7P4IFQ.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +8 -8
- package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs → check-app-scheme-HSAORHHX.mjs} +2 -2
- package/dist/lib/neutral/chunk-FKGYHBUB.mjs +8 -0
- package/dist/lib/neutral/{chunk-BS4EOYMK.mjs → chunk-ICOJ4GMB.mjs} +37 -19
- package/dist/lib/neutral/chunk-ICOJ4GMB.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KY7LMF4D.mjs +46 -0
- package/dist/lib/neutral/chunk-KY7LMF4D.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-324PPIZB.mjs → chunk-KZFJ4PBT.mjs} +4 -4
- package/dist/lib/neutral/chunk-KZFJ4PBT.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-GBIGQKYW.mjs → chunk-PP32NEVY.mjs} +4 -4
- package/dist/lib/neutral/chunk-PP32NEVY.mjs.map +7 -0
- package/dist/lib/neutral/chunk-SONATB35.mjs +20 -0
- package/dist/lib/neutral/chunk-SONATB35.mjs.map +7 -0
- package/dist/lib/neutral/chunk-Z2B5RSVI.mjs +1096 -0
- package/dist/lib/neutral/chunk-Z2B5RSVI.mjs.map +7 -0
- package/dist/lib/neutral/{close-ASKR22A6.mjs → close-2YGB5IIP.mjs} +4 -3
- package/dist/lib/neutral/{close-ASKR22A6.mjs.map → close-2YGB5IIP.mjs.map} +1 -1
- package/dist/lib/neutral/components/index.mjs +201 -16
- package/dist/lib/neutral/components/index.mjs.map +4 -4
- package/dist/lib/neutral/containers/index.mjs +6 -11
- package/dist/lib/neutral/containers/index.mjs.map +3 -3
- package/dist/lib/neutral/hooks/index.mjs +101 -17
- package/dist/lib/neutral/hooks/index.mjs.map +4 -4
- package/dist/lib/neutral/index.mjs +18 -2
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +1 -1
- package/dist/lib/neutral/{notification-tracker-P36322BH.mjs → notification-tracker-Y5CRTWJM.mjs} +12 -10
- package/dist/lib/neutral/notification-tracker-Y5CRTWJM.mjs.map +7 -0
- package/dist/lib/neutral/{open-5OYNO3RT.mjs → open-P6XQ56M7.mjs} +8 -7
- package/dist/lib/neutral/open-P6XQ56M7.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +1 -1
- package/dist/lib/neutral/plugin.mjs +2 -2
- package/dist/lib/neutral/{react-root-HH5DEUOG.mjs → react-root-E6TAFHX6.mjs} +2 -2
- package/dist/lib/neutral/react-root-E6TAFHX6.mjs.map +7 -0
- package/dist/lib/neutral/{react-surface-3UVVCK3O.mjs → react-surface-H63FXUK3.mjs} +5 -6
- package/dist/lib/neutral/react-surface-H63FXUK3.mjs.map +7 -0
- package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs → revert-workspace-RXWP2TEE.mjs} +2 -2
- package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs → scroll-into-view-HFV5EGYZ.mjs} +2 -2
- package/dist/lib/neutral/{set-PA35ONXO.mjs → set-HOOVB7E4.mjs} +4 -3
- package/dist/lib/neutral/{set-PA35ONXO.mjs.map → set-HOOVB7E4.mjs.map} +1 -1
- package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs → set-layout-mode-XAGSZZGB.mjs} +2 -2
- package/dist/lib/neutral/{settings-EGNYUM4T.mjs → settings-6CDQEB6B.mjs} +3 -3
- package/dist/lib/neutral/settings-6CDQEB6B.mjs.map +7 -0
- package/dist/lib/neutral/{state-IIDXMQUO.mjs → state-F4X5GPGZ.mjs} +4 -3
- package/dist/lib/neutral/state-F4X5GPGZ.mjs.map +7 -0
- package/dist/lib/neutral/{switch-workspace-LZF4KZXH.mjs → switch-workspace-PA7N6EUX.mjs} +4 -4
- package/dist/lib/neutral/switch-workspace-PA7N6EUX.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +3 -3
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +11 -1
- package/dist/lib/neutral/{update-companion-YUCZZVGY.mjs → update-companion-6A2SKQAI.mjs} +14 -6
- package/dist/lib/neutral/update-companion-6A2SKQAI.mjs.map +7 -0
- package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs → update-complementary-K55I5EV5.mjs} +2 -2
- package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs → update-dialog-Z3GEXMVV.mjs} +2 -2
- package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs → update-plank-size-BTESVV7N.mjs} +2 -2
- package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs → update-popover-QEVDSZSH.mjs} +2 -2
- package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs → update-sidebar-VSRCN47U.mjs} +2 -2
- package/dist/lib/neutral/{url-handler-A6HLW4RB.mjs → url-handler-ERZXXEYR.mjs} +11 -10
- package/dist/lib/neutral/url-handler-ERZXXEYR.mjs.map +7 -0
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +8 -196
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/notification-tracker.d.ts +1 -1
- package/dist/types/src/capabilities/notification-tracker.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts +1 -5
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -3
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +1 -187
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/tools.d.ts +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts +1 -1
- package/dist/types/src/components/Companion/Companion.d.ts +17 -0
- package/dist/types/src/components/Companion/Companion.d.ts.map +1 -0
- package/dist/types/src/components/Companion/index.d.ts +2 -0
- package/dist/types/src/components/Companion/index.d.ts.map +1 -0
- package/dist/types/src/components/Matrix/Matrix.d.ts +1 -1
- package/dist/types/src/components/Matrix/Matrix.d.ts.map +1 -1
- package/dist/types/src/components/Matrix/Matrix.stories.d.ts +2 -2
- package/dist/types/src/components/Matrix/Matrix.stories.d.ts.map +1 -1
- package/dist/types/src/components/Matrix/index.d.ts +1 -1
- package/dist/types/src/components/Matrix/index.d.ts.map +1 -1
- package/dist/types/src/components/Pane/Pane.d.ts +45 -0
- package/dist/types/src/components/Pane/Pane.d.ts.map +1 -0
- package/dist/types/src/components/Pane/Pane.stories.d.ts +7 -0
- package/dist/types/src/components/Pane/Pane.stories.d.ts.map +1 -0
- package/dist/types/src/components/Pane/index.d.ts +2 -0
- package/dist/types/src/components/Pane/index.d.ts.map +1 -0
- package/dist/types/src/components/Plank/Plank.d.ts +74 -0
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -0
- package/dist/types/src/components/Plank/Plank.stories.d.ts +6 -0
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -0
- package/dist/types/src/components/Plank/index.d.ts +2 -0
- package/dist/types/src/components/Plank/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +3 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Banner.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Deck.d.ts +1 -1
- package/dist/types/src/containers/Deck/Deck.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Deck.stories.d.ts +2 -2
- package/dist/types/src/containers/Deck/DeckPlank.d.ts +21 -0
- package/dist/types/src/containers/Deck/DeckPlank.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/DeckViewport.d.ts +3 -1
- package/dist/types/src/containers/Deck/DeckViewport.d.ts.map +1 -1
- package/dist/types/src/containers/{Plank → Deck}/PlankControls.d.ts +3 -10
- package/dist/types/src/containers/Deck/PlankControls.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/PlankFallback.d.ts +6 -0
- package/dist/types/src/containers/Deck/PlankFallback.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/StatusBar.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/useDeckPlank.d.ts +49 -0
- package/dist/types/src/containers/Deck/useDeckPlank.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts +2 -2
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.d.ts +1 -1
- package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.stories.d.ts +2 -2
- package/dist/types/src/{components → containers}/DeckSettings/DeckSettings.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DeckSettings/index.d.ts.map +1 -0
- package/dist/types/src/containers/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/containers/index.d.ts +1 -1
- package/dist/types/src/containers/index.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useCompanionSplit.d.ts +28 -0
- package/dist/types/src/hooks/useCompanionSplit.d.ts.map +1 -0
- package/dist/types/src/hooks/useCompanions.d.ts +11 -7
- package/dist/types/src/hooks/useCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts +2 -2
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckState.d.ts +1 -1
- package/dist/types/src/hooks/useDeckState.d.ts.map +1 -1
- package/dist/types/src/hooks/useSelectedCompanionVariant.d.ts +6 -0
- package/dist/types/src/hooks/useSelectedCompanionVariant.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +32 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/adjust.d.ts.map +1 -1
- package/dist/types/src/operations/open.d.ts.map +1 -1
- package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
- package/dist/types/src/operations/update-companion.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/DeckCapabilities.d.ts +4 -4
- package/dist/types/src/types/DeckCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/DeckOperation.d.ts +2 -2
- package/dist/types/src/types/DeckOperation.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +11 -9
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/types/surface.d.ts +12 -0
- package/dist/types/src/types/surface.d.ts.map +1 -0
- package/dist/types/src/util/companion-view-state.d.ts +16 -0
- package/dist/types/src/util/companion-view-state.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/plank-url-params.d.ts +2 -0
- package/dist/types/src/util/plank-url-params.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +35 -0
- package/package.json +50 -48
- package/src/DeckPlugin.test.ts +1 -1
- package/src/DeckPlugin.ts +2 -3
- package/src/capabilities/app-graph-builder.ts +7 -6
- package/src/capabilities/check-app-scheme.ts +3 -3
- package/src/capabilities/notification-tracker.ts +11 -9
- package/src/capabilities/react-root.tsx +1 -1
- package/src/capabilities/react-surface.tsx +4 -5
- package/src/capabilities/settings.ts +2 -2
- package/src/capabilities/state.ts +1 -1
- package/src/capabilities/url-handler.ts +7 -15
- package/src/components/Companion/Companion.tsx +91 -0
- package/src/components/Companion/index.ts +5 -0
- package/src/components/Matrix/Matrix.stories.tsx +15 -27
- package/src/components/Matrix/Matrix.tsx +3 -3
- package/src/components/Matrix/SPEC.md +1 -1
- package/src/components/Matrix/index.ts +1 -1
- package/src/components/Pane/Pane.stories.tsx +92 -0
- package/src/components/Pane/Pane.tsx +178 -0
- package/src/components/Pane/index.ts +5 -0
- package/src/components/Plank/Plank.stories.tsx +103 -0
- package/src/components/Plank/Plank.tsx +149 -0
- package/src/components/Plank/index.ts +5 -0
- package/src/components/index.ts +3 -4
- package/src/containers/Deck/Banner.tsx +5 -4
- package/src/containers/Deck/Deck.tsx +3 -3
- package/src/containers/Deck/DeckPlank.tsx +187 -0
- package/src/containers/Deck/DeckViewport.tsx +118 -246
- package/src/containers/{Plank → Deck}/PlankControls.tsx +21 -19
- package/src/containers/Deck/PlankFallback.tsx +42 -0
- package/src/containers/Deck/StatusBar.tsx +4 -2
- package/src/containers/Deck/useDeckPlank.ts +219 -0
- package/src/containers/DeckLayout/DeckLayout.stories.tsx +44 -60
- package/src/containers/DeckLayout/Dialog.tsx +1 -1
- package/src/containers/DeckLayout/Fallback.tsx +1 -1
- package/src/containers/DeckLayout/Popover.tsx +37 -20
- package/src/containers/DeckLayout/Toast.tsx +1 -1
- package/src/{components → containers}/DeckSettings/DeckSettings.stories.tsx +1 -1
- package/src/containers/DeckSettings/DeckSettings.tsx +42 -0
- package/src/containers/Sidebar/ComplementarySidebar.tsx +8 -7
- package/src/containers/Sidebar/Sidebar.tsx +1 -1
- package/src/containers/Sidebar/SidebarButton.tsx +3 -3
- package/src/containers/index.ts +1 -1
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useCompanionSplit.ts +78 -0
- package/src/hooks/useCompanions.ts +39 -7
- package/src/hooks/useDeckCompanions.ts +3 -3
- package/src/hooks/useDeckState.ts +1 -1
- package/src/hooks/useSelectedCompanionVariant.ts +14 -0
- package/src/index.ts +7 -0
- package/src/meta.ts +2 -27
- package/src/operations/adjust.ts +23 -12
- package/src/operations/open.ts +12 -10
- package/src/operations/switch-workspace.ts +2 -2
- package/src/operations/update-companion.ts +10 -6
- package/src/translations.ts +3 -3
- package/src/types/DeckCapabilities.ts +6 -4
- package/src/types/DeckEvents.ts +1 -1
- package/src/types/DeckOperation.ts +3 -2
- package/src/types/index.ts +1 -0
- package/src/types/schema.ts +21 -16
- package/src/types/surface.ts +28 -0
- package/src/util/companion-view-state.ts +28 -0
- package/src/util/index.ts +1 -0
- package/src/util/plank-url-params.test.ts +5 -0
- package/src/util/plank-url-params.ts +5 -3
- package/src/util/sanitize-persisted-state.test.ts +1 -1
- package/src/util/set-active.test.ts +1 -1
- package/dist/lib/neutral/DeckLayout-DEURA3KR.mjs.map +0 -7
- package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs +0 -27
- package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs.map +0 -7
- package/dist/lib/neutral/adjust-HNU5CCRO.mjs.map +0 -7
- package/dist/lib/neutral/app-graph-builder-HMLT627T.mjs.map +0 -7
- package/dist/lib/neutral/chunk-324PPIZB.mjs.map +0 -7
- package/dist/lib/neutral/chunk-BS4EOYMK.mjs.map +0 -7
- package/dist/lib/neutral/chunk-GBIGQKYW.mjs.map +0 -7
- package/dist/lib/neutral/chunk-PYEY5SEC.mjs +0 -37
- package/dist/lib/neutral/chunk-PYEY5SEC.mjs.map +0 -7
- package/dist/lib/neutral/chunk-Q4W6B4IB.mjs +0 -8
- package/dist/lib/neutral/chunk-WAXJPQJI.mjs +0 -1306
- package/dist/lib/neutral/chunk-WAXJPQJI.mjs.map +0 -7
- package/dist/lib/neutral/notification-tracker-P36322BH.mjs.map +0 -7
- package/dist/lib/neutral/open-5OYNO3RT.mjs.map +0 -7
- package/dist/lib/neutral/react-root-HH5DEUOG.mjs.map +0 -7
- package/dist/lib/neutral/react-surface-3UVVCK3O.mjs.map +0 -7
- package/dist/lib/neutral/settings-EGNYUM4T.mjs.map +0 -7
- package/dist/lib/neutral/state-IIDXMQUO.mjs.map +0 -7
- package/dist/lib/neutral/switch-workspace-LZF4KZXH.mjs.map +0 -7
- package/dist/lib/neutral/update-companion-YUCZZVGY.mjs.map +0 -7
- package/dist/lib/neutral/url-handler-A6HLW4RB.mjs.map +0 -7
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +0 -1
- package/dist/types/src/components/DeckSettings/index.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/Plank.d.ts +0 -17
- package/dist/types/src/containers/Plank/Plank.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/Plank.stories.d.ts +0 -67
- package/dist/types/src/containers/Plank/Plank.stories.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankComponent.d.ts +0 -17
- package/dist/types/src/containers/Plank/PlankComponent.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankContent.d.ts +0 -10
- package/dist/types/src/containers/Plank/PlankContent.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankControls.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankError.d.ts +0 -15
- package/dist/types/src/containers/Plank/PlankError.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankHeading.d.ts +0 -22
- package/dist/types/src/containers/Plank/PlankHeading.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankLoading.d.ts +0 -3
- package/dist/types/src/containers/Plank/PlankLoading.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/PlankRoot.d.ts +0 -37
- package/dist/types/src/containers/Plank/PlankRoot.d.ts.map +0 -1
- package/dist/types/src/containers/Plank/index.d.ts +0 -4
- package/dist/types/src/containers/Plank/index.d.ts.map +0 -1
- package/src/components/DeckSettings/DeckSettings.tsx +0 -34
- package/src/containers/Plank/Plank.stories.tsx +0 -108
- package/src/containers/Plank/Plank.tsx +0 -22
- package/src/containers/Plank/PlankComponent.tsx +0 -223
- package/src/containers/Plank/PlankContent.tsx +0 -45
- package/src/containers/Plank/PlankError.tsx +0 -82
- package/src/containers/Plank/PlankHeading.tsx +0 -237
- package/src/containers/Plank/PlankLoading.tsx +0 -10
- package/src/containers/Plank/PlankRoot.tsx +0 -49
- package/src/containers/Plank/index.ts +0 -7
- /package/dist/lib/neutral/{add-toast-TNB6DXWU.mjs.map → add-toast-BHNEH5UY.mjs.map} +0 -0
- /package/dist/lib/neutral/{check-app-scheme-INSOF72J.mjs.map → check-app-scheme-HSAORHHX.mjs.map} +0 -0
- /package/dist/lib/neutral/{chunk-Q4W6B4IB.mjs.map → chunk-FKGYHBUB.mjs.map} +0 -0
- /package/dist/lib/neutral/{revert-workspace-B2QLT2C4.mjs.map → revert-workspace-RXWP2TEE.mjs.map} +0 -0
- /package/dist/lib/neutral/{scroll-into-view-B52C3PJO.mjs.map → scroll-into-view-HFV5EGYZ.mjs.map} +0 -0
- /package/dist/lib/neutral/{set-layout-mode-RPCCPQRB.mjs.map → set-layout-mode-XAGSZZGB.mjs.map} +0 -0
- /package/dist/lib/neutral/{update-complementary-7FZNB55J.mjs.map → update-complementary-K55I5EV5.mjs.map} +0 -0
- /package/dist/lib/neutral/{update-dialog-FNQTSSAP.mjs.map → update-dialog-Z3GEXMVV.mjs.map} +0 -0
- /package/dist/lib/neutral/{update-plank-size-3YW4NXEY.mjs.map → update-plank-size-BTESVV7N.mjs.map} +0 -0
- /package/dist/lib/neutral/{update-popover-G2VUD7E6.mjs.map → update-popover-QEVDSZSH.mjs.map} +0 -0
- /package/dist/lib/neutral/{update-sidebar-KRHPUHUB.mjs.map → update-sidebar-VSRCN47U.mjs.map} +0 -0
- /package/dist/types/src/{components → containers}/DeckSettings/index.d.ts +0 -0
- /package/src/{components → containers}/DeckSettings/index.ts +0 -0
|
@@ -1,191 +1,5 @@
|
|
|
1
|
-
import { Atom } from '@effect-atom/atom-react';
|
|
2
1
|
import * as Effect from 'effect/Effect';
|
|
3
2
|
import { Capability } from '@dxos/app-framework';
|
|
4
|
-
declare const _default: (props: void) => Effect.Effect<[Capability.Capability
|
|
5
|
-
sidebarState: "closed" | "collapsed" | "expanded";
|
|
6
|
-
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
7
|
-
complementarySidebarPanel?: string | undefined;
|
|
8
|
-
activeDeck: string;
|
|
9
|
-
previousDeck: string;
|
|
10
|
-
decks: {
|
|
11
|
-
[x: string]: {
|
|
12
|
-
initialized: boolean;
|
|
13
|
-
active: string[];
|
|
14
|
-
inactive: string[];
|
|
15
|
-
solo?: string | undefined;
|
|
16
|
-
fullscreen: boolean;
|
|
17
|
-
plankSizing: {
|
|
18
|
-
[x: string]: number;
|
|
19
|
-
};
|
|
20
|
-
companionOpen: boolean;
|
|
21
|
-
companionVariant?: string | undefined;
|
|
22
|
-
companionFrameSizing: {
|
|
23
|
-
[x: string]: number;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
previousMode: {
|
|
28
|
-
[x: string]: "multi" | "solo" | "solo--fullscreen";
|
|
29
|
-
};
|
|
30
|
-
}, {
|
|
31
|
-
sidebarState: "closed" | "collapsed" | "expanded";
|
|
32
|
-
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
33
|
-
complementarySidebarPanel?: string | undefined;
|
|
34
|
-
activeDeck: string;
|
|
35
|
-
previousDeck: string;
|
|
36
|
-
decks: {
|
|
37
|
-
[x: string]: {
|
|
38
|
-
initialized: boolean;
|
|
39
|
-
active: string[];
|
|
40
|
-
inactive: string[];
|
|
41
|
-
solo?: string | undefined;
|
|
42
|
-
fullscreen: boolean;
|
|
43
|
-
plankSizing: {
|
|
44
|
-
[x: string]: number;
|
|
45
|
-
};
|
|
46
|
-
companionOpen: boolean;
|
|
47
|
-
companionVariant?: string | undefined;
|
|
48
|
-
companionFrameSizing: {
|
|
49
|
-
[x: string]: number;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
previousMode: {
|
|
54
|
-
[x: string]: "multi" | "solo" | "solo--fullscreen";
|
|
55
|
-
};
|
|
56
|
-
}>>>, Capability.Capability<Capability.InterfaceDef<Atom.Writable<{
|
|
57
|
-
dialogOpen: boolean;
|
|
58
|
-
dialogType?: "alert" | "default" | undefined;
|
|
59
|
-
dialogBlockAlign?: "center" | "end" | "start" | undefined;
|
|
60
|
-
dialogOverlayClasses?: string | undefined;
|
|
61
|
-
dialogOverlayStyle?: {
|
|
62
|
-
readonly [x: string]: any;
|
|
63
|
-
} | undefined;
|
|
64
|
-
dialogContent: {
|
|
65
|
-
readonly component: string;
|
|
66
|
-
readonly props?: any;
|
|
67
|
-
} | null;
|
|
68
|
-
popoverOpen: boolean;
|
|
69
|
-
popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
|
|
70
|
-
popoverAnchor?: any;
|
|
71
|
-
popoverAnchorId?: string | undefined;
|
|
72
|
-
popoverKind?: "base" | "card" | undefined;
|
|
73
|
-
popoverTitle?: string | [string, {
|
|
74
|
-
ns: string | readonly string[];
|
|
75
|
-
count?: number | undefined;
|
|
76
|
-
defaultValue?: string | undefined;
|
|
77
|
-
}] | undefined;
|
|
78
|
-
popoverContentRef?: string | undefined;
|
|
79
|
-
popoverContent: {
|
|
80
|
-
readonly component: string;
|
|
81
|
-
readonly props?: any;
|
|
82
|
-
} | {
|
|
83
|
-
readonly subject: any;
|
|
84
|
-
} | null;
|
|
85
|
-
toasts: {
|
|
86
|
-
readonly id: string;
|
|
87
|
-
readonly title?: string | [string, {
|
|
88
|
-
ns: string | readonly string[];
|
|
89
|
-
count?: number | undefined;
|
|
90
|
-
defaultValue?: string | undefined;
|
|
91
|
-
}] | undefined;
|
|
92
|
-
readonly description?: string | [string, {
|
|
93
|
-
ns: string | readonly string[];
|
|
94
|
-
count?: number | undefined;
|
|
95
|
-
defaultValue?: string | undefined;
|
|
96
|
-
}] | undefined;
|
|
97
|
-
readonly icon?: string | undefined;
|
|
98
|
-
readonly duration?: number | undefined;
|
|
99
|
-
readonly closeLabel?: string | [string, {
|
|
100
|
-
ns: string | readonly string[];
|
|
101
|
-
count?: number | undefined;
|
|
102
|
-
defaultValue?: string | undefined;
|
|
103
|
-
}] | undefined;
|
|
104
|
-
readonly actionLabel?: string | [string, {
|
|
105
|
-
ns: string | readonly string[];
|
|
106
|
-
count?: number | undefined;
|
|
107
|
-
defaultValue?: string | undefined;
|
|
108
|
-
}] | undefined;
|
|
109
|
-
readonly actionAlt?: string | [string, {
|
|
110
|
-
ns: string | readonly string[];
|
|
111
|
-
count?: number | undefined;
|
|
112
|
-
defaultValue?: string | undefined;
|
|
113
|
-
}] | undefined;
|
|
114
|
-
readonly onAction?: any;
|
|
115
|
-
}[];
|
|
116
|
-
currentUndoId?: string | undefined;
|
|
117
|
-
scrollIntoView?: string | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
dialogOpen: boolean;
|
|
120
|
-
dialogType?: "alert" | "default" | undefined;
|
|
121
|
-
dialogBlockAlign?: "center" | "end" | "start" | undefined;
|
|
122
|
-
dialogOverlayClasses?: string | undefined;
|
|
123
|
-
dialogOverlayStyle?: {
|
|
124
|
-
readonly [x: string]: any;
|
|
125
|
-
} | undefined;
|
|
126
|
-
dialogContent: {
|
|
127
|
-
readonly component: string;
|
|
128
|
-
readonly props?: any;
|
|
129
|
-
} | null;
|
|
130
|
-
popoverOpen: boolean;
|
|
131
|
-
popoverSide?: "bottom" | "left" | "right" | "top" | undefined;
|
|
132
|
-
popoverAnchor?: any;
|
|
133
|
-
popoverAnchorId?: string | undefined;
|
|
134
|
-
popoverKind?: "base" | "card" | undefined;
|
|
135
|
-
popoverTitle?: string | [string, {
|
|
136
|
-
ns: string | readonly string[];
|
|
137
|
-
count?: number | undefined;
|
|
138
|
-
defaultValue?: string | undefined;
|
|
139
|
-
}] | undefined;
|
|
140
|
-
popoverContentRef?: string | undefined;
|
|
141
|
-
popoverContent: {
|
|
142
|
-
readonly component: string;
|
|
143
|
-
readonly props?: any;
|
|
144
|
-
} | {
|
|
145
|
-
readonly subject: any;
|
|
146
|
-
} | null;
|
|
147
|
-
toasts: {
|
|
148
|
-
readonly id: string;
|
|
149
|
-
readonly title?: string | [string, {
|
|
150
|
-
ns: string | readonly string[];
|
|
151
|
-
count?: number | undefined;
|
|
152
|
-
defaultValue?: string | undefined;
|
|
153
|
-
}] | undefined;
|
|
154
|
-
readonly description?: string | [string, {
|
|
155
|
-
ns: string | readonly string[];
|
|
156
|
-
count?: number | undefined;
|
|
157
|
-
defaultValue?: string | undefined;
|
|
158
|
-
}] | undefined;
|
|
159
|
-
readonly icon?: string | undefined;
|
|
160
|
-
readonly duration?: number | undefined;
|
|
161
|
-
readonly closeLabel?: string | [string, {
|
|
162
|
-
ns: string | readonly string[];
|
|
163
|
-
count?: number | undefined;
|
|
164
|
-
defaultValue?: string | undefined;
|
|
165
|
-
}] | undefined;
|
|
166
|
-
readonly actionLabel?: string | [string, {
|
|
167
|
-
ns: string | readonly string[];
|
|
168
|
-
count?: number | undefined;
|
|
169
|
-
defaultValue?: string | undefined;
|
|
170
|
-
}] | undefined;
|
|
171
|
-
readonly actionAlt?: string | [string, {
|
|
172
|
-
ns: string | readonly string[];
|
|
173
|
-
count?: number | undefined;
|
|
174
|
-
defaultValue?: string | undefined;
|
|
175
|
-
}] | undefined;
|
|
176
|
-
readonly onAction?: any;
|
|
177
|
-
}[];
|
|
178
|
-
currentUndoId?: string | undefined;
|
|
179
|
-
scrollIntoView?: string | undefined;
|
|
180
|
-
}>>>, Capability.Capability<Capability.InterfaceDef<Atom.Atom<Readonly<{
|
|
181
|
-
mode: string;
|
|
182
|
-
dialogOpen: boolean;
|
|
183
|
-
sidebarOpen: boolean;
|
|
184
|
-
complementarySidebarOpen: boolean;
|
|
185
|
-
workspace: string;
|
|
186
|
-
active: string[];
|
|
187
|
-
inactive: string[];
|
|
188
|
-
scrollIntoView: string | undefined;
|
|
189
|
-
}>>>>], Error, Capability.Service>;
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any, Capability.Any], Error, Capability.Service>;
|
|
190
4
|
export default _default;
|
|
191
5
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -7,6 +7,6 @@ declare global {
|
|
|
7
7
|
part?: 'multi' | 'dialog';
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
declare const _default: (props: void) => Effect.Effect<Capability.
|
|
10
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, Error | import("@dxos/compute").NoHandlerError, Capability.Service>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=url-handler.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type Node } from '@dxos/plugin-graph';
|
|
3
|
+
import { type ThemedClassName } from '@dxos/react-ui';
|
|
4
|
+
export type CompanionProps = ThemedClassName<{
|
|
5
|
+
companions: Node.Node[];
|
|
6
|
+
/** Selected companion id. */
|
|
7
|
+
value?: string;
|
|
8
|
+
onValueChange?: (id: string) => void;
|
|
9
|
+
/** Primary plank attendable id; the companion shares its attention. */
|
|
10
|
+
attendableId?: string;
|
|
11
|
+
/** Primary plank subject; companion Article surfaces filter on (and operate against) `companionTo`. */
|
|
12
|
+
companionTo?: unknown;
|
|
13
|
+
/** Toolbar controls rendered after the tabs (e.g. close). */
|
|
14
|
+
controls?: ReactNode;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const Companion: ({ classNames, companions, value, onValueChange, attendableId, companionTo, controls, }: CompanionProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=Companion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Companion.d.ts","sourceRoot":"","sources":["../../../../../src/components/Companion/Companion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,KAAK,eAAe,EAAqC,MAAM,gBAAgB,CAAC;AAiBzF,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACxB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC,CAAC;AAEH,eAAO,MAAM,SAAS,2FAQnB,cAAc,sBA2ChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Companion/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
|
|
@@ -37,5 +37,5 @@ export declare const Matrix: {
|
|
|
37
37
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
38
38
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
39
39
|
};
|
|
40
|
-
export type { MatrixController, MatrixRootProps,
|
|
40
|
+
export type { MatrixContentProps, MatrixController, MatrixRootProps, MatrixViewportProps };
|
|
41
41
|
//# sourceMappingURL=Matrix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Matrix.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Matrix.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAmE,MAAM,OAAO,CAAC;AAEvH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAIjC,OAAO,EAAU,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA2BtD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;CAChC;AAQD,KAAK,eAAe,GAAG,iBAAiB,CAAC;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC;IAClB,8CAA8C;IAC9C,IAAI,EAAE,wBAAwB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxC,kCAAkC;IAClC,OAAO,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;IACjB,+CAA+C;IAC/C,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;CACpD,CAAC,CAAC;AA+EH,KAAK,kBAAkB,GAAG,eAAe,CAAC;AAsB1C,KAAK,mBAAmB,GAAG,eAAe,CAAC;AAsC3C,eAAO,MAAM,MAAM;IACjB,IAAI;QApJJ,uBAAuB;gBACf,GAAG,CAAC,GAAG,EAAE;QACjB,8CAA8C;cACxC,wBAAwB,CAAC,GAAG,CAAC,GAAG,CAAC;QACvC,kCAAkC;kBACxB,GAAG,CAAC,EAAE;QAChB,+CAA+C;0BAC7B,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAG,SAAS,KAAK,IAAI;;;;IA8IlD,OAAO;;;IACP,QAAQ;;;CACT,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type MatrixRootProps } from './Matrix';
|
|
4
|
-
type
|
|
4
|
+
type StoryArgs = Pick<MatrixRootProps, 'Tile'>;
|
|
5
5
|
declare const meta: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: ({ Tile }:
|
|
7
|
+
component: ({ Tile }: StoryArgs) => React.JSX.Element;
|
|
8
8
|
decorators: import("@storybook/react").Decorator[];
|
|
9
9
|
parameters: {
|
|
10
10
|
layout: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Matrix.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiD,MAAM,OAAO,CAAC;AAyBtE,OAAO,EAAiC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Matrix.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/Matrix.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiD,MAAM,OAAO,CAAC;AAyBtE,OAAO,EAAiC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAmF/E,KAAK,SAAS,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AA8D/C,QAAA,MAAM,IAAI;;0BA5DsB,SAAS;;;QAiErC,MAAM;;CAEuB,CAAC;eAEnB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Matrix } from './Matrix';
|
|
2
|
-
export type { MatrixController, MatrixRootProps,
|
|
2
|
+
export type { MatrixContentProps, MatrixController, MatrixRootProps, MatrixViewportProps } from './Matrix';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Matrix/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
+
import { type AttendableId, type Related } from '@dxos/react-ui-attention';
|
|
4
|
+
import type { Merge } from '@dxos/util';
|
|
5
|
+
type PaneRootProps = ThemedClassName<ComponentPropsWithRef<'div'>>;
|
|
6
|
+
type PaneTitleProps = ThemedClassName<ComponentPropsWithRef<'h1'>> & AttendableId & Related;
|
|
7
|
+
export type PaneTab = {
|
|
8
|
+
id: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
/** Already-localized label. */
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
type PaneTabsProps = Merge<ThemedClassName<{
|
|
14
|
+
tabs: ReadonlyArray<PaneTab>;
|
|
15
|
+
value?: string;
|
|
16
|
+
onValueChange?: (id: string) => void;
|
|
17
|
+
/** Collapse inactive tabs to icon-only once the tab count exceeds this. */
|
|
18
|
+
maxTabs?: number;
|
|
19
|
+
}>, AttendableId, Related>;
|
|
20
|
+
export declare const Pane: {
|
|
21
|
+
Root: React.ForwardRefExoticComponent<Omit<PaneRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
Toolbar: React.ForwardRefExoticComponent<Omit<{
|
|
23
|
+
asChild?: boolean;
|
|
24
|
+
}, "className"> & {
|
|
25
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
26
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Sigil: React.ForwardRefExoticComponent<Omit<import("@dxos/app-toolkit/ui").AttentionSigilButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
Title: React.ForwardRefExoticComponent<Omit<PaneTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
|
+
Tabs: React.ForwardRefExoticComponent<Omit<{
|
|
30
|
+
tabs: ReadonlyArray<PaneTab>;
|
|
31
|
+
value?: string;
|
|
32
|
+
onValueChange?: (id: string) => void;
|
|
33
|
+
/** Collapse inactive tabs to icon-only once the tab count exceeds this. */
|
|
34
|
+
maxTabs?: number;
|
|
35
|
+
}, "className"> & {
|
|
36
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
37
|
+
} & AttendableId & Related & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
Content: React.ForwardRefExoticComponent<Omit<{
|
|
39
|
+
asChild?: boolean;
|
|
40
|
+
}, "className"> & {
|
|
41
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
42
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
};
|
|
44
|
+
export type { PaneRootProps, PaneTabsProps, PaneTitleProps };
|
|
45
|
+
//# sourceMappingURL=Pane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pane/Pane.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAGtE,OAAO,EAA+B,KAAK,eAAe,EAA8B,MAAM,gBAAgB,CAAC;AAC/G,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,OAAO,EAAgB,MAAM,0BAA0B,CAAC;AAEzF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAkBxC,KAAK,aAAa,GAAG,eAAe,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC;AAyDnE,KAAK,cAAc,GAAG,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,GAAG,YAAY,GAAG,OAAO,CAAC;AA0B5F,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,aAAa,GAAG,KAAK,CACxB,eAAe,CAAC;IACd,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,EACF,YAAY,EACZ,OAAO,CACR,CAAC;AAuCF,eAAO,MAAM,IAAI;IACf,IAAI;IACJ,OAAO;;;;;IACP,KAAK;IACL,KAAK;IACL,IAAI;cApDI,aAAa,CAAC,OAAO,CAAC;gBACpB,MAAM;wBACE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI;QACpC,2EAA2E;kBACjE,MAAM;;;;IAiDlB,OAAO;;;;;CACR,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pane.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pane/Pane.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAqEjE,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,OAAO,EAAE,KAGrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAGvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pane/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React, { type ComponentProps, type KeyboardEventHandler, type ReactNode } from 'react';
|
|
2
|
+
import { Surface } from '@dxos/app-framework/ui';
|
|
3
|
+
import { AppSurface, type AttentionSigilAction } from '@dxos/app-toolkit/ui';
|
|
4
|
+
import { type Node } from '@dxos/plugin-graph';
|
|
5
|
+
import { type ThemedClassName } from '@dxos/react-ui';
|
|
6
|
+
type SurfaceProps = ComponentProps<typeof Surface.Surface>;
|
|
7
|
+
export type PlankProps = ThemedClassName<{
|
|
8
|
+
node: Node.Node;
|
|
9
|
+
/** Attendable id; defaults to the node id. */
|
|
10
|
+
attendableId?: string;
|
|
11
|
+
/** Grouped sigil menu actions; when present the sigil opens a menu, otherwise it is a plain button. */
|
|
12
|
+
actions?: AttentionSigilAction[][];
|
|
13
|
+
onAction?: (action: AttentionSigilAction) => void;
|
|
14
|
+
/** Toolbar controls rendered after the title (e.g. close/solo/fullscreen). */
|
|
15
|
+
controls?: ReactNode;
|
|
16
|
+
/** Toolbar content rendered between the title and the controls (e.g. a NavbarEnd surface). */
|
|
17
|
+
navbarEnd?: ReactNode;
|
|
18
|
+
/** Sigil-menu footer content (e.g. a MenuFooter surface). */
|
|
19
|
+
sigilFooter?: ReactNode;
|
|
20
|
+
/** Highlight the title/sigil when a related (companion) region is attended. */
|
|
21
|
+
related?: boolean;
|
|
22
|
+
/** Render the title in a muted style (e.g. while the subject is loading). */
|
|
23
|
+
pending?: boolean;
|
|
24
|
+
/** When it matches `${meta.key}:${node.id}`, anchors a popover to the sigil. */
|
|
25
|
+
popoverAnchorId?: string;
|
|
26
|
+
/** Extra Article surface data merged over the computed defaults (e.g. companionTo/variant/path). */
|
|
27
|
+
articleData?: Partial<AppSurface.ArticleData>;
|
|
28
|
+
/** Error fallback for the content surface. */
|
|
29
|
+
fallback?: SurfaceProps['fallback'];
|
|
30
|
+
/** Loading placeholder for the content surface. */
|
|
31
|
+
placeholder?: SurfaceProps['placeholder'];
|
|
32
|
+
/** Render only the content surface, omitting the toolbar (e.g. fullscreen). */
|
|
33
|
+
headless?: boolean;
|
|
34
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* A higher-level deck pane bound to a graph {@link Node}: renders the node's sigil, title and content
|
|
38
|
+
* Surface inside a {@link Pane}, and makes itself the node's attendable region. Toolbar controls
|
|
39
|
+
* (close/solo/etc.) and framework surfaces (NavbarEnd/MenuFooter) are supplied by the container via
|
|
40
|
+
* slots so this component stays free of capabilities/operations.
|
|
41
|
+
*/
|
|
42
|
+
export declare const Plank: React.ForwardRefExoticComponent<Omit<{
|
|
43
|
+
node: Node.Node;
|
|
44
|
+
/** Attendable id; defaults to the node id. */
|
|
45
|
+
attendableId?: string;
|
|
46
|
+
/** Grouped sigil menu actions; when present the sigil opens a menu, otherwise it is a plain button. */
|
|
47
|
+
actions?: AttentionSigilAction[][];
|
|
48
|
+
onAction?: (action: AttentionSigilAction) => void;
|
|
49
|
+
/** Toolbar controls rendered after the title (e.g. close/solo/fullscreen). */
|
|
50
|
+
controls?: ReactNode;
|
|
51
|
+
/** Toolbar content rendered between the title and the controls (e.g. a NavbarEnd surface). */
|
|
52
|
+
navbarEnd?: ReactNode;
|
|
53
|
+
/** Sigil-menu footer content (e.g. a MenuFooter surface). */
|
|
54
|
+
sigilFooter?: ReactNode;
|
|
55
|
+
/** Highlight the title/sigil when a related (companion) region is attended. */
|
|
56
|
+
related?: boolean;
|
|
57
|
+
/** Render the title in a muted style (e.g. while the subject is loading). */
|
|
58
|
+
pending?: boolean;
|
|
59
|
+
/** When it matches `${meta.key}:${node.id}`, anchors a popover to the sigil. */
|
|
60
|
+
popoverAnchorId?: string;
|
|
61
|
+
/** Extra Article surface data merged over the computed defaults (e.g. companionTo/variant/path). */
|
|
62
|
+
articleData?: Partial<AppSurface.ArticleData>;
|
|
63
|
+
/** Error fallback for the content surface. */
|
|
64
|
+
fallback?: SurfaceProps['fallback'];
|
|
65
|
+
/** Loading placeholder for the content surface. */
|
|
66
|
+
placeholder?: SurfaceProps['placeholder'];
|
|
67
|
+
/** Render only the content surface, omitting the toolbar (e.g. fullscreen). */
|
|
68
|
+
headless?: boolean;
|
|
69
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
70
|
+
}, "className"> & {
|
|
71
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
72
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=Plank.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EACZ,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAkB,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC7F,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAiB,KAAK,eAAe,EAAqC,MAAM,gBAAgB,CAAC;AAOxG,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC;IACvC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,OAAO,CAAC,EAAE,oBAAoB,EAAE,EAAE,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAClD,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oGAAoG;IACpG,WAAW,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAC9C,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IACpC,mDAAmD;IACnD,WAAW,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;IAC1C,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,SAAS,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;CAClD,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,KAAK;UApCV,IAAI,CAAC,IAAI;IACf,8CAA8C;mBAC/B,MAAM;IACrB,uGAAuG;cAC7F,oBAAoB,EAAE,EAAE;eACvB,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI;IACjD,8EAA8E;eACnE,SAAS;IACpB,8FAA8F;gBAClF,SAAS;IACrB,6DAA6D;kBAC/C,SAAS;IACvB,+EAA+E;cACrE,OAAO;IACjB,6EAA6E;cACnE,OAAO;IACjB,gFAAgF;sBAC9D,MAAM;IACxB,oGAAoG;kBACtF,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAC7C,8CAA8C;eACnC,YAAY,CAAC,UAAU,CAAC;IACnC,mDAAmD;kBACrC,YAAY,CAAC,aAAa,CAAC;IACzC,+EAA+E;eACpE,OAAO;gBAEN,oBAAoB,CAAC,cAAc,CAAC;;;wCA6FjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAmFjE,QAAA,MAAM,IAAI,EAAE,IASX,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,OAAO,EAAE,KAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const DeckSettings: ComponentType<any>;
|
|
1
|
+
export { Companion, type CompanionProps } from './Companion';
|
|
3
2
|
export { Matrix } from './Matrix';
|
|
3
|
+
export { Pane, type PaneTab } from './Pane';
|
|
4
|
+
export { Plank, type PlankProps } from './Plank';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAQtE,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
|
|
@@ -21,5 +21,5 @@ export declare const Deck: {
|
|
|
21
21
|
MultiMode: () => import("react").JSX.Element;
|
|
22
22
|
SoloMode: () => import("react").JSX.Element;
|
|
23
23
|
};
|
|
24
|
-
export type { DeckLayoutChangeRequest, DeckRootProps,
|
|
24
|
+
export type { DeckContentProps, DeckLayoutChangeRequest, DeckRootProps, DeckViewportProps };
|
|
25
25
|
//# sourceMappingURL=Deck.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deck.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Deck.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"Deck.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/Deck.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAY,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAA+D,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEhH;;GAEG;AACH,eAAO,MAAM,IAAI;IACf,IAAI;;;;IACJ,OAAO;;;;IACP,QAAQ;;;;IACR,YAAY;IACZ,SAAS;IACT,QAAQ;CACT,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,aAAa,EAAE,iBAAiB,EAAE,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';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
+
import { type LayoutMode, type ResolvedPart, type Settings } from '#types';
|
|
4
|
+
export type DeckPlankProps = ThemedClassName<{
|
|
5
|
+
id: string;
|
|
6
|
+
part: ResolvedPart;
|
|
7
|
+
layoutMode: LayoutMode;
|
|
8
|
+
active?: string[];
|
|
9
|
+
/** Whether the companion pane should be shown for this plank (gated further by attention in multi-mode). */
|
|
10
|
+
companionShown?: boolean;
|
|
11
|
+
settings?: Settings.Settings;
|
|
12
|
+
path?: string[];
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Connected deck plank: resolves the node, companions, actions and operation handlers via
|
|
16
|
+
* {@link useDeckPlank} and renders the presentational {@link Plank} — wrapped in a {@link Splitter}
|
|
17
|
+
* beside a {@link Companion} when a companion is open. Replaces the legacy
|
|
18
|
+
* `PlankContainer`/`PlankComponent`/`PlankHeading` tree.
|
|
19
|
+
*/
|
|
20
|
+
export declare const DeckPlank: React.MemoExoticComponent<({ id, part, layoutMode, active, companionShown, settings, path, classNames }: DeckPlankProps) => React.JSX.Element>;
|
|
21
|
+
//# sourceMappingURL=DeckPlank.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeckPlank.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/DeckPlank.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsF,MAAM,OAAO,CAAC;AAI3G,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAIhE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ3E,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,SAAS,2GAC2D,cAAc,uBAiJ9F,CAAC"}
|
|
@@ -10,7 +10,9 @@ export declare const DeckContentEmpty: () => React.JSX.Element;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const DeckSoloMode: () => React.JSX.Element;
|
|
12
12
|
/**
|
|
13
|
-
* Multi-plank horizontal scrolling layout.
|
|
13
|
+
* Multi-plank horizontal scrolling layout. Planks are resizable {@link Mosaic.Tile}s in a horizontal
|
|
14
|
+
* {@link Mosaic.Stack}; the scroll position is preserved across solo↔multi transitions and the
|
|
15
|
+
* just-navigated plank is scrolled into view.
|
|
14
16
|
*/
|
|
15
17
|
export declare const DeckMultiMode: () => React.JSX.Element;
|
|
16
18
|
//# sourceMappingURL=DeckViewport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckViewport.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/DeckViewport.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"DeckViewport.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/DeckViewport.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAkC,MAAM,OAAO,CAAC;AAkCtF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;qCAKrB,EAAE,QAAQ,EAAE,EAAE,iBAAiB;;;;AA+C5D,eAAO,MAAM,gBAAgB,yBAW5B,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,YAAY,yBAsCxB,CAAC;AAiDF;;;;GAIG;AACH,eAAO,MAAM,aAAa,yBAwEzB,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ButtonGroupProps } from '@dxos/react-ui';
|
|
3
|
-
import { type
|
|
4
|
-
|
|
5
|
-
export type
|
|
6
|
-
incrementStart?: boolean;
|
|
7
|
-
incrementEnd?: boolean;
|
|
8
|
-
deck?: boolean;
|
|
9
|
-
solo?: boolean;
|
|
10
|
-
fullscreen?: boolean;
|
|
11
|
-
companion?: boolean;
|
|
12
|
-
};
|
|
3
|
+
import { type DeckOperation, type LayoutMode } from '#types';
|
|
4
|
+
import { type PlankCapabilities } from './useDeckPlank';
|
|
5
|
+
export type PlankControlHandler = (event: DeckOperation.PartAdjustment) => void;
|
|
13
6
|
export type PlankCompanionControlsProps = {
|
|
14
7
|
primary?: string;
|
|
15
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAe,KAAK,gBAAgB,EAAgD,MAAM,gBAAgB,CAAC;AAGlH,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAC;AAE7D,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,KAAK,IAAI,CAAC;AAQhF,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,oGAmBlC,CAAC;AAUF,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;AAKF,eAAO,MAAM,aAAa,wGAkHzB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ErrorFallbackProps } from '@dxos/react-ui';
|
|
3
|
+
export declare const PlankLoading: () => React.JSX.Element;
|
|
4
|
+
/** User-facing error fallback for a plank's content Surface. */
|
|
5
|
+
export declare const PlankErrorFallback: ({ error }: ErrorFallbackProps) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=PlankFallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlankFallback.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/PlankFallback.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAiB,KAAK,kBAAkB,EAAkB,MAAM,gBAAgB,CAAC;AAMxF,eAAO,MAAM,YAAY,yBAAyE,CAAC;AAEnG,gEAAgE;AAChE,eAAO,MAAM,kBAAkB,cAAe,kBAAkB,sBAyB/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Deck/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,SAAS,kBAAmB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBAY/D,CAAC"}
|