@dxos/plugin-deck 0.8.1-staging.391c573 → 0.8.1-staging.9eaf14f
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/dist/lib/browser/{app-graph-builder-IYHAGFA3.mjs → app-graph-builder-VYZ4IWI3.mjs} +3 -3
- package/dist/lib/browser/{check-app-scheme-S3EYUPMF.mjs → check-app-scheme-SEYECDHI.mjs} +2 -2
- package/dist/lib/browser/{chunk-YCKJNTKG.mjs → chunk-6ZSOFCPP.mjs} +26 -6
- package/dist/lib/browser/chunk-6ZSOFCPP.mjs.map +7 -0
- package/dist/lib/browser/chunk-B4LOJUWW.mjs +24 -0
- package/dist/lib/browser/{chunk-Z23S33X6.mjs → chunk-FJBMNSUC.mjs} +638 -483
- package/dist/lib/browser/chunk-FJBMNSUC.mjs.map +7 -0
- package/dist/lib/browser/chunk-FLOVGNYB.mjs +81 -0
- package/dist/lib/browser/chunk-FLOVGNYB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-N7TEPFVR.mjs → chunk-NSATFAEE.mjs} +3 -3
- package/dist/lib/browser/{chunk-N7TEPFVR.mjs.map → chunk-NSATFAEE.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-FYKBOM3C.mjs → chunk-RJNCG4ND.mjs} +66 -40
- package/dist/lib/browser/chunk-RJNCG4ND.mjs.map +7 -0
- package/dist/lib/browser/{chunk-22AQ5IVX.mjs → chunk-XMCG42ID.mjs} +2 -3
- package/dist/lib/browser/chunk-XMCG42ID.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +14 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-P5BVUQKU.mjs → intent-resolver-UDYKO2QW.mjs} +78 -88
- package/dist/lib/browser/intent-resolver-UDYKO2QW.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-EP4UF3KA.mjs → react-root-XLXN2VEW.mjs} +8 -10
- package/dist/lib/browser/react-root-XLXN2VEW.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-5B3RLJCD.mjs → react-surface-WNGMZL7I.mjs} +11 -10
- package/dist/lib/browser/react-surface-WNGMZL7I.mjs.map +7 -0
- package/dist/lib/browser/{settings-X3P2HKQJ.mjs → settings-HMDGSBGO.mjs} +5 -4
- package/dist/lib/browser/settings-HMDGSBGO.mjs.map +7 -0
- package/dist/lib/browser/{state-2MOTLKVR.mjs → state-7TN26M42.mjs} +7 -11
- package/dist/lib/browser/state-7TN26M42.mjs.map +7 -0
- package/dist/lib/browser/tools-SC6QEN7R.mjs +78 -0
- package/dist/lib/browser/tools-SC6QEN7R.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +12 -6
- package/dist/lib/browser/{url-handler-MVHTKUYA.mjs → url-handler-ODG4B6NX.mjs} +7 -9
- package/dist/lib/browser/url-handler-ODG4B6NX.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +36 -14
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +18 -6
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/tools.d.ts +1 -0
- package/dist/types/src/capabilities/tools.d.ts.map +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +1 -4
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/index.d.ts +1 -0
- package/dist/types/src/components/DeckLayout/index.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +6 -0
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -0
- package/dist/types/src/components/DeckSettings/index.d.ts +2 -0
- package/dist/types/src/components/DeckSettings/index.d.ts.map +1 -0
- package/dist/types/src/components/Plank/Plank.d.ts +14 -0
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -0
- package/dist/types/src/components/Plank/Plank.stories.d.ts +8 -0
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -0
- package/dist/types/src/components/{DeckLayout → Plank}/PlankControls.d.ts +8 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -0
- package/dist/types/src/components/{DeckLayout → Plank}/PlankError.d.ts +2 -2
- package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -0
- package/dist/types/src/components/Plank/PlankHeading.d.ts +20 -0
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -0
- package/dist/types/src/components/Plank/PlankLoading.d.ts.map +1 -0
- package/dist/types/src/components/Plank/index.d.ts +6 -0
- package/dist/types/src/components/Plank/index.d.ts.map +1 -0
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -0
- package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -0
- package/dist/types/src/components/Sidebar/index.d.ts +4 -0
- package/dist/types/src/components/Sidebar/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +0 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +0 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/layout.d.ts +7 -1
- package/dist/types/src/layout.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -5
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +4 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +50 -48
- package/dist/types/src/types.d.ts.map +1 -1
- 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/set-active.d.ts +2 -2
- package/dist/types/src/util/set-active.d.ts.map +1 -1
- package/dist/types/src/util/useCompanions.d.ts +8 -0
- package/dist/types/src/util/useCompanions.d.ts.map +1 -0
- package/dist/types/src/util/useHoistStatusbar.d.ts.map +1 -1
- package/package.json +28 -29
- package/src/DeckPlugin.ts +0 -1
- package/src/capabilities/capabilities.ts +3 -4
- package/src/capabilities/intent-resolver.ts +63 -9
- package/src/capabilities/react-root.tsx +1 -9
- package/src/capabilities/react-surface.tsx +3 -4
- package/src/capabilities/settings.ts +7 -2
- package/src/capabilities/state.ts +4 -11
- package/src/capabilities/tools.ts +34 -22
- package/src/capabilities/url-handler.ts +2 -8
- package/src/components/DeckLayout/ActiveNode.tsx +2 -1
- package/src/components/DeckLayout/Banner.tsx +5 -3
- package/src/components/DeckLayout/ContentEmpty.tsx +1 -1
- package/src/components/DeckLayout/DeckLayout.tsx +58 -24
- package/src/components/DeckLayout/Fullscreen.tsx +1 -1
- package/src/components/DeckLayout/Toast.tsx +1 -1
- package/src/components/DeckLayout/index.ts +2 -0
- package/src/components/{LayoutSettings.tsx → DeckSettings/DeckSettings.tsx} +15 -10
- package/src/components/DeckSettings/index.ts +5 -0
- package/src/components/Plank/Plank.stories.tsx +43 -0
- package/src/components/Plank/Plank.tsx +230 -0
- package/src/components/{DeckLayout → Plank}/PlankControls.tsx +73 -27
- package/src/components/{DeckLayout → Plank}/PlankError.tsx +3 -3
- package/src/components/Plank/PlankHeading.tsx +207 -0
- package/src/components/Plank/index.ts +9 -0
- package/src/components/{DeckLayout → Sidebar}/ComplementarySidebar.tsx +65 -81
- package/src/components/Sidebar/index.ts +7 -0
- package/src/components/index.ts +1 -1
- package/src/events.ts +0 -1
- package/src/hooks/index.ts +0 -1
- package/src/index.ts +1 -0
- package/src/layout.ts +19 -2
- package/src/meta.ts +4 -4
- package/src/translations.ts +4 -0
- package/src/types.ts +81 -79
- package/src/util/index.ts +1 -0
- package/src/util/set-active.ts +2 -2
- package/src/util/useCompanions.ts +18 -0
- package/src/util/useHoistStatusbar.ts +2 -2
- package/dist/lib/browser/chunk-22AQ5IVX.mjs.map +0 -7
- package/dist/lib/browser/chunk-FYKBOM3C.mjs.map +0 -7
- package/dist/lib/browser/chunk-IZ5RPJ6T.mjs +0 -24
- package/dist/lib/browser/chunk-YCKJNTKG.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z23S33X6.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-P5BVUQKU.mjs.map +0 -7
- package/dist/lib/browser/react-root-EP4UF3KA.mjs.map +0 -7
- package/dist/lib/browser/react-surface-5B3RLJCD.mjs.map +0 -7
- package/dist/lib/browser/settings-X3P2HKQJ.mjs.map +0 -7
- package/dist/lib/browser/state-2MOTLKVR.mjs.map +0 -7
- package/dist/lib/browser/tools-64LXGLYR.mjs +0 -59
- package/dist/lib/browser/tools-64LXGLYR.mjs.map +0 -7
- package/dist/lib/browser/url-handler-MVHTKUYA.mjs.map +0 -7
- package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts +0 -15
- package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Plank.d.ts +0 -13
- package/dist/types/src/components/DeckLayout/Plank.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/PlankControls.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/PlankError.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/PlankLoading.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Sidebar.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/SidebarButton.d.ts.map +0 -1
- package/dist/types/src/components/LayoutSettings.d.ts +0 -6
- package/dist/types/src/components/LayoutSettings.d.ts.map +0 -1
- package/dist/types/src/hooks/useNode.d.ts +0 -11
- package/dist/types/src/hooks/useNode.d.ts.map +0 -1
- package/src/components/DeckLayout/NodePlankHeading.tsx +0 -148
- package/src/components/DeckLayout/Plank.tsx +0 -149
- package/src/hooks/useNode.ts +0 -46
- /package/dist/lib/browser/{app-graph-builder-IYHAGFA3.mjs.map → app-graph-builder-VYZ4IWI3.mjs.map} +0 -0
- /package/dist/lib/browser/{check-app-scheme-S3EYUPMF.mjs.map → check-app-scheme-SEYECDHI.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-IZ5RPJ6T.mjs.map → chunk-B4LOJUWW.mjs.map} +0 -0
- /package/dist/types/src/components/{DeckLayout → Plank}/PlankLoading.d.ts +0 -0
- /package/dist/types/src/components/{DeckLayout → Sidebar}/ComplementarySidebar.d.ts +0 -0
- /package/dist/types/src/components/{DeckLayout → Sidebar}/Sidebar.d.ts +0 -0
- /package/dist/types/src/components/{DeckLayout → Sidebar}/SidebarButton.d.ts +0 -0
- /package/src/components/{DeckLayout → Plank}/PlankLoading.tsx +0 -0
- /package/src/components/{DeckLayout → Sidebar}/Sidebar.tsx +0 -0
- /package/src/components/{DeckLayout → Sidebar}/SidebarButton.tsx +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAM5E,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAIlF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,0KAcpB,iBAAiB,uBA8JrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlankLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankLoading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,YAAY,yBAExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AA+Cf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAsG1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,OAAO,yBAuBnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAKxG,eAAO,MAAM,mBAAmB,6BAG7B,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,sBAgBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAc9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,yBAA0B,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,sBAkBzG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,UAAU,+CAAwD,CAAC;CACjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { type DeckAction, type NewPlankPositioning } from './types';
|
|
2
|
+
export declare const createEntryId: (entryId: string, variant?: string) => string;
|
|
3
|
+
export declare const parseEntryId: (entryId: string) => {
|
|
4
|
+
id: string;
|
|
5
|
+
variant: string;
|
|
6
|
+
};
|
|
2
7
|
type OpenLayoutEntryOptions = {
|
|
3
8
|
key?: string;
|
|
4
9
|
positioning?: NewPlankPositioning;
|
|
5
10
|
pivotId?: string;
|
|
11
|
+
variant?: string;
|
|
6
12
|
};
|
|
7
|
-
export declare const openEntry: (deck: string[],
|
|
13
|
+
export declare const openEntry: (deck: string[], _entryId: string, options?: OpenLayoutEntryOptions) => string[];
|
|
8
14
|
export declare const closeEntry: (deck: string[], entryId: string) => string[];
|
|
9
15
|
export declare const incrementPlank: (deck: string[], adjustment: DeckAction.Adjustment) => string[];
|
|
10
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/layout.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEpE,eAAO,MAAM,aAAa,YAAa,MAAM,YAAY,MAAM,WACS,CAAC;AAEzE,eAAO,MAAM,YAAY,YAAa,MAAM;;;CAG3C,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,SAAU,MAAM,EAAE,YAAY,MAAM,YAAY,sBAAsB,KAAG,MAAM,EAwCpG,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,MAAM,EAAE,WAAW,MAAM,KAAG,MAAM,EAOlE,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,MAAM,EAAE,cAAc,UAAU,CAAC,UAAU,KAAG,MAAM,EAmBxF,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
1
2
|
export declare const DECK_PLUGIN: "dxos.org/plugin/deck";
|
|
2
|
-
export declare const meta:
|
|
3
|
-
id: "dxos.org/plugin/deck";
|
|
4
|
-
name: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
3
|
+
export declare const meta: PluginMeta;
|
|
7
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAG,sBAA+B,CAAC;AAE3D,eAAO,MAAM,IAAI,EAAE,UAIlB,CAAC"}
|
|
@@ -39,14 +39,18 @@ declare const _default: {
|
|
|
39
39
|
'show solo plank label': string;
|
|
40
40
|
'close label': string;
|
|
41
41
|
'minify label': string;
|
|
42
|
+
'open companion label': string;
|
|
43
|
+
'close companion label': string;
|
|
42
44
|
'settings overscroll label': string;
|
|
43
45
|
'select overscroll placeholder': string;
|
|
44
46
|
'settings overscroll centering label': string;
|
|
45
47
|
'settings overscroll none label': string;
|
|
46
48
|
'settings enable statusbar label': string;
|
|
49
|
+
'settings enable deck label': string;
|
|
47
50
|
'close current label': string;
|
|
48
51
|
'close others label': string;
|
|
49
52
|
'close all label': string;
|
|
53
|
+
'companion plank heading fallback label': string;
|
|
50
54
|
};
|
|
51
55
|
};
|
|
52
56
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA0DE"}
|
|
@@ -1,60 +1,53 @@
|
|
|
1
1
|
import { S } from '@dxos/echo-schema';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export { ATTENDABLE_PATH_SEPARATOR } from '@dxos/react-ui-attention';
|
|
3
|
+
export declare const PLANK_COMPANION_TYPE = "dxos.org/plugin/deck/plank-companion";
|
|
4
|
+
export declare const DECK_COMPANION_TYPE = "dxos.org/plugin/deck/deck-companion";
|
|
5
5
|
export declare const NewPlankPositions: readonly ["start", "end"];
|
|
6
6
|
export type NewPlankPositioning = (typeof NewPlankPositions)[number];
|
|
7
7
|
export declare const OverscrollOptions: readonly ["none", "centering"];
|
|
8
8
|
export type Overscroll = (typeof OverscrollOptions)[number];
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
label: Label;
|
|
12
|
-
icon: string;
|
|
13
|
-
position?: Position;
|
|
14
|
-
/**
|
|
15
|
-
* If true, the panel will now be wrapped in a scroll area.
|
|
16
|
-
*/
|
|
17
|
-
fixed?: boolean;
|
|
18
|
-
filter?: (node: Node) => boolean;
|
|
19
|
-
};
|
|
9
|
+
export type Part = 'solo' | 'deck' | 'complementary';
|
|
10
|
+
export type ResolvedPart = Part | 'solo-primary' | 'solo-companion';
|
|
20
11
|
export declare const DeckSettingsSchema: S.mutable<S.Struct<{
|
|
21
|
-
showHints: typeof S.Boolean
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
showHints: S.optional<typeof S.Boolean>;
|
|
13
|
+
enableDeck: S.optional<typeof S.Boolean>;
|
|
14
|
+
enableNativeRedirect: S.optional<typeof S.Boolean>;
|
|
15
|
+
enableStatusbar: S.optional<typeof S.Boolean>;
|
|
16
|
+
newPlankPositioning: S.optional<S.Literal<["start", "end"]>>;
|
|
17
|
+
overscroll: S.optional<S.Literal<["none", "centering"]>>;
|
|
26
18
|
}>>;
|
|
27
19
|
export type DeckSettingsProps = S.Schema.Type<typeof DeckSettingsSchema>;
|
|
28
|
-
declare const LayoutMode: S.Union<[S.Literal<["deck"]>, S.Literal<["solo"]>, S.Literal<["fullscreen"]>]>;
|
|
29
|
-
export declare const isLayoutMode: (value: any) => value is LayoutMode;
|
|
30
|
-
export type LayoutMode = S.Schema.Type<typeof LayoutMode>;
|
|
31
20
|
export declare const PlankSizing: S.Record$<typeof S.String, typeof S.Number>;
|
|
32
21
|
export type PlankSizing = S.Schema.Type<typeof PlankSizing>;
|
|
33
|
-
export declare const
|
|
34
|
-
|
|
22
|
+
export declare const DeckState: S.Struct<{
|
|
23
|
+
/** If false, the deck has not yet left solo mode and new planks should be soloed. */
|
|
24
|
+
initialized: typeof S.Boolean;
|
|
35
25
|
active: S.mutable<S.Array$<typeof S.String>>;
|
|
26
|
+
activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
|
|
36
27
|
inactive: S.mutable<S.Array$<typeof S.String>>;
|
|
37
28
|
solo: S.optional<typeof S.String>;
|
|
38
29
|
fullscreen: typeof S.Boolean;
|
|
39
30
|
plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
31
|
+
companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
40
32
|
}>;
|
|
41
|
-
export type
|
|
42
|
-
export declare const
|
|
33
|
+
export type DeckState = S.Schema.Type<typeof DeckState>;
|
|
34
|
+
export declare const defaultDeck: DeckState;
|
|
35
|
+
declare const LayoutMode: S.Literal<["deck", "solo", "fullscreen"]>;
|
|
36
|
+
export type LayoutMode = S.Schema.Type<typeof LayoutMode>;
|
|
37
|
+
export declare const isLayoutMode: (value: any) => value is LayoutMode;
|
|
38
|
+
export declare const getMode: (deck: DeckState) => LayoutMode;
|
|
39
|
+
export declare const DeckPluginState: S.mutable<S.Struct<{
|
|
43
40
|
sidebarState: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
44
41
|
complementarySidebarState: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
45
42
|
complementarySidebarPanel: S.optional<typeof S.String>;
|
|
46
43
|
dialogOpen: typeof S.Boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Data to be passed to the dialog Surface.
|
|
49
|
-
*/
|
|
44
|
+
/** Data to be passed to the dialog Surface. */
|
|
50
45
|
dialogContent: S.optional<typeof S.Any>;
|
|
51
46
|
dialogBlockAlign: S.optional<S.Literal<["start", "center", "end"]>>;
|
|
52
47
|
dialogType: S.optional<S.Literal<["default", "alert"]>>;
|
|
53
48
|
popoverOpen: typeof S.Boolean;
|
|
54
49
|
popoverSide: S.optional<S.Literal<["top", "right", "bottom", "left"]>>;
|
|
55
|
-
/**
|
|
56
|
-
* Data to be passed to the popover Surface.
|
|
57
|
-
*/
|
|
50
|
+
/** Data to be passed to the popover Surface. */
|
|
58
51
|
popoverContent: S.optional<typeof S.Any>;
|
|
59
52
|
popoverAnchorId: S.optional<typeof S.String>;
|
|
60
53
|
toasts: S.mutable<S.Array$<S.Struct<{
|
|
@@ -87,37 +80,39 @@ export declare const DeckState: S.mutable<S.Struct<{
|
|
|
87
80
|
activeDeck: typeof S.String;
|
|
88
81
|
previousDeck: typeof S.String;
|
|
89
82
|
decks: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
|
|
90
|
-
|
|
83
|
+
/** If false, the deck has not yet left solo mode and new planks should be soloed. */
|
|
84
|
+
initialized: typeof S.Boolean;
|
|
91
85
|
active: S.mutable<S.Array$<typeof S.String>>;
|
|
86
|
+
activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
|
|
92
87
|
inactive: S.mutable<S.Array$<typeof S.String>>;
|
|
93
88
|
solo: S.optional<typeof S.String>;
|
|
94
89
|
fullscreen: typeof S.Boolean;
|
|
95
90
|
plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
91
|
+
companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
96
92
|
}>>>>;
|
|
97
|
-
previousMode: S.mutable<S.Record$<typeof S.String, S.
|
|
93
|
+
previousMode: S.mutable<S.Record$<typeof S.String, S.Literal<["deck", "solo", "fullscreen"]>>>;
|
|
98
94
|
deck: S.mutable<S.Struct<{
|
|
99
|
-
|
|
95
|
+
/** If false, the deck has not yet left solo mode and new planks should be soloed. */
|
|
96
|
+
initialized: typeof S.Boolean;
|
|
100
97
|
active: S.mutable<S.Array$<typeof S.String>>;
|
|
98
|
+
activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
|
|
101
99
|
inactive: S.mutable<S.Array$<typeof S.String>>;
|
|
102
100
|
solo: S.optional<typeof S.String>;
|
|
103
101
|
fullscreen: typeof S.Boolean;
|
|
104
102
|
plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
103
|
+
companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
|
|
105
104
|
}>>;
|
|
106
|
-
/**
|
|
107
|
-
* The identifier of a component to scroll into view when it is mounted.
|
|
108
|
-
*/
|
|
105
|
+
/** The identifier of a component to scroll into view when it is mounted. */
|
|
109
106
|
scrollIntoView: S.optional<typeof S.String>;
|
|
110
107
|
}>>;
|
|
111
|
-
export type
|
|
112
|
-
export declare const getMode: (deck: Deck) => LayoutMode;
|
|
113
|
-
export declare const SLUG_PATH_SEPARATOR = "~";
|
|
108
|
+
export type DeckPluginState = S.Schema.Type<typeof DeckPluginState>;
|
|
114
109
|
export declare const DECK_ACTION: string;
|
|
115
110
|
export declare namespace DeckAction {
|
|
116
|
-
const PartAdjustmentSchema: S.Union<[S.Literal<["close"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
111
|
+
const PartAdjustmentSchema: S.Union<[S.Literal<["close"]>, S.Literal<["companion"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
117
112
|
export type PartAdjustment = S.Schema.Type<typeof PartAdjustmentSchema>;
|
|
118
113
|
export const Adjustment: S.mutable<S.Struct<{
|
|
119
114
|
id: typeof S.String;
|
|
120
|
-
type: S.Union<[S.Literal<["close"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
115
|
+
type: S.Union<[S.Literal<["close"]>, S.Literal<["companion"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
121
116
|
}>>;
|
|
122
117
|
export type Adjustment = S.Schema.Type<typeof Adjustment>;
|
|
123
118
|
const Adjust_base: S.TaggedClass<Adjust, `${string}/adjust`, {
|
|
@@ -125,13 +120,10 @@ export declare namespace DeckAction {
|
|
|
125
120
|
} & {
|
|
126
121
|
input: S.mutable<S.Struct<{
|
|
127
122
|
id: typeof S.String;
|
|
128
|
-
type: S.Union<[S.Literal<["close"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
123
|
+
type: S.Union<[S.Literal<["close"]>, S.Literal<["companion"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
|
|
129
124
|
}>>;
|
|
130
125
|
output: typeof S.Void;
|
|
131
126
|
}>;
|
|
132
|
-
/**
|
|
133
|
-
* An atomic transaction to apply to the deck, describing which element to move to which location.
|
|
134
|
-
*/
|
|
135
127
|
export class Adjust extends Adjust_base {
|
|
136
128
|
}
|
|
137
129
|
const UpdatePlankSize_base: S.TaggedClass<UpdatePlankSize, `${string}/update-plank-size`, {
|
|
@@ -145,7 +137,17 @@ export declare namespace DeckAction {
|
|
|
145
137
|
}>;
|
|
146
138
|
export class UpdatePlankSize extends UpdatePlankSize_base {
|
|
147
139
|
}
|
|
140
|
+
const ChangeCompanion_base: S.TaggedClass<ChangeCompanion, `${string}/change-companion`, {
|
|
141
|
+
readonly _tag: S.tag<`${string}/change-companion`>;
|
|
142
|
+
} & {
|
|
143
|
+
input: S.Struct<{
|
|
144
|
+
primary: typeof S.String;
|
|
145
|
+
companion: S.Union<[typeof S.String, typeof S.Null]>;
|
|
146
|
+
}>;
|
|
147
|
+
output: typeof S.Void;
|
|
148
|
+
}>;
|
|
149
|
+
export class ChangeCompanion extends ChangeCompanion_base {
|
|
150
|
+
}
|
|
148
151
|
export {};
|
|
149
152
|
}
|
|
150
|
-
export {};
|
|
151
153
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type AttentionManager } from '@dxos/plugin-attention';
|
|
2
|
-
import { type
|
|
2
|
+
import { type DeckPluginState } from '../types';
|
|
3
3
|
export type SetActiveOptions = {
|
|
4
4
|
next: string[];
|
|
5
|
-
state:
|
|
5
|
+
state: DeckPluginState;
|
|
6
6
|
attention?: AttentionManager;
|
|
7
7
|
};
|
|
8
8
|
export declare const setActive: ({ next, state, attention }: SetActiveOptions) => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-active.d.ts","sourceRoot":"","sources":["../../../../src/util/set-active.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"set-active.d.ts","sourceRoot":"","sources":["../../../../src/util/set-active.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS,+BAAgC,gBAAgB,uBA8BrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCompanions.d.ts","sourceRoot":"","sources":["../../../../src/util/useCompanions.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa,QAAS,MAAM;;;;;;IAKxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/util/useHoistStatusbar.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,iBAAiB,eAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/util/useHoistStatusbar.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,iBAAiB,eAAgB,MAAM,KAAG,OAOtD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-deck",
|
|
3
|
-
"version": "0.8.1-staging.
|
|
3
|
+
"version": "0.8.1-staging.9eaf14f",
|
|
4
4
|
"description": "DXOS Surface plugin for the main application layout.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -35,29 +35,28 @@
|
|
|
35
35
|
"@preact/signals-core": "^1.6.0",
|
|
36
36
|
"effect": "3.13.3",
|
|
37
37
|
"immer": "^10.1.1",
|
|
38
|
-
"@dxos/app-framework": "0.8.1-staging.
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/echo-signals": "0.8.1-staging.
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/log": "0.8.1-staging.
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/plugin-
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/plugin-
|
|
52
|
-
"@dxos/plugin-
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/react-client": "0.8.1-staging.
|
|
55
|
-
"@dxos/react-ui-
|
|
56
|
-
"@dxos/react-ui-
|
|
57
|
-
"@dxos/react-ui-
|
|
58
|
-
"@dxos/react-ui-text-tooltip": "0.8.1-staging.
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/util": "0.8.1-staging.391c573"
|
|
38
|
+
"@dxos/app-framework": "0.8.1-staging.9eaf14f",
|
|
39
|
+
"@dxos/artifact": "0.8.1-staging.9eaf14f",
|
|
40
|
+
"@dxos/async": "0.8.1-staging.9eaf14f",
|
|
41
|
+
"@dxos/echo-schema": "0.8.1-staging.9eaf14f",
|
|
42
|
+
"@dxos/debug": "0.8.1-staging.9eaf14f",
|
|
43
|
+
"@dxos/echo-signals": "0.8.1-staging.9eaf14f",
|
|
44
|
+
"@dxos/invariant": "0.8.1-staging.9eaf14f",
|
|
45
|
+
"@dxos/keyboard": "0.8.1-staging.9eaf14f",
|
|
46
|
+
"@dxos/live-object": "0.8.1-staging.9eaf14f",
|
|
47
|
+
"@dxos/log": "0.8.1-staging.9eaf14f",
|
|
48
|
+
"@dxos/plugin-attention": "0.8.1-staging.9eaf14f",
|
|
49
|
+
"@dxos/plugin-graph": "0.8.1-staging.9eaf14f",
|
|
50
|
+
"@dxos/local-storage": "0.8.1-staging.9eaf14f",
|
|
51
|
+
"@dxos/plugin-observability": "0.8.1-staging.9eaf14f",
|
|
52
|
+
"@dxos/plugin-theme": "0.8.1-staging.9eaf14f",
|
|
53
|
+
"@dxos/react-ui-attention": "0.8.1-staging.9eaf14f",
|
|
54
|
+
"@dxos/react-client": "0.8.1-staging.9eaf14f",
|
|
55
|
+
"@dxos/react-ui-form": "0.8.1-staging.9eaf14f",
|
|
56
|
+
"@dxos/react-ui-tabs": "0.8.1-staging.9eaf14f",
|
|
57
|
+
"@dxos/react-ui-stack": "0.8.1-staging.9eaf14f",
|
|
58
|
+
"@dxos/react-ui-text-tooltip": "0.8.1-staging.9eaf14f",
|
|
59
|
+
"@dxos/util": "0.8.1-staging.9eaf14f"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
63
62
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -66,16 +65,16 @@
|
|
|
66
65
|
"react": "~18.2.0",
|
|
67
66
|
"react-dom": "~18.2.0",
|
|
68
67
|
"vite": "5.4.7",
|
|
69
|
-
"@dxos/react-ui-theme": "0.8.1-staging.
|
|
70
|
-
"@dxos/react-ui": "0.8.1-staging.
|
|
71
|
-
"@dxos/storybook-utils": "0.8.1-staging.
|
|
68
|
+
"@dxos/react-ui-theme": "0.8.1-staging.9eaf14f",
|
|
69
|
+
"@dxos/react-ui": "0.8.1-staging.9eaf14f",
|
|
70
|
+
"@dxos/storybook-utils": "0.8.1-staging.9eaf14f"
|
|
72
71
|
},
|
|
73
72
|
"peerDependencies": {
|
|
74
73
|
"@phosphor-icons/react": "^2.0.5",
|
|
75
74
|
"react": "~18.2.0",
|
|
76
75
|
"react-dom": "~18.2.0",
|
|
77
|
-
"@dxos/react-ui": "0.8.1-staging.
|
|
78
|
-
"@dxos/react-ui-theme": "0.8.1-staging.
|
|
76
|
+
"@dxos/react-ui": "0.8.1-staging.9eaf14f",
|
|
77
|
+
"@dxos/react-ui-theme": "0.8.1-staging.9eaf14f"
|
|
79
78
|
},
|
|
80
79
|
"publishConfig": {
|
|
81
80
|
"access": "public"
|
package/src/DeckPlugin.ts
CHANGED
|
@@ -6,10 +6,9 @@ import { defineCapability } from '@dxos/app-framework';
|
|
|
6
6
|
import { type DeepReadonly } from '@dxos/util';
|
|
7
7
|
|
|
8
8
|
import { DECK_PLUGIN } from '../meta';
|
|
9
|
-
import { type
|
|
9
|
+
import { type DeckPluginState } from '../types';
|
|
10
10
|
|
|
11
11
|
export namespace DeckCapabilities {
|
|
12
|
-
export const DeckState = defineCapability<DeepReadonly<
|
|
13
|
-
export const MutableDeckState = defineCapability<
|
|
14
|
-
export const ComplementaryPanel = defineCapability<Panel>(`${DECK_PLUGIN}/capability/complementary-panel`);
|
|
12
|
+
export const DeckState = defineCapability<DeepReadonly<DeckPluginState>>(`${DECK_PLUGIN}/capability/state`);
|
|
13
|
+
export const MutableDeckState = defineCapability<DeckPluginState>(`${DECK_PLUGIN}/capability/state`);
|
|
15
14
|
}
|