@dxos/plugin-deck 0.8.2-main.fbd8ed0 → 0.8.2-staging.7ac8446

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 (151) hide show
  1. package/dist/lib/browser/{app-graph-builder-R7COZ4A6.mjs → app-graph-builder-VYZ4IWI3.mjs} +15 -16
  2. package/dist/lib/browser/app-graph-builder-VYZ4IWI3.mjs.map +7 -0
  3. package/dist/lib/browser/{check-app-scheme-7AXGR6UT.mjs → check-app-scheme-SEYECDHI.mjs} +3 -2
  4. package/dist/lib/browser/check-app-scheme-SEYECDHI.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-6ZSOFCPP.mjs +117 -0
  6. package/dist/lib/browser/chunk-6ZSOFCPP.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-B4LOJUWW.mjs +24 -0
  8. package/dist/lib/browser/chunk-B4LOJUWW.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-KIGMELV2.mjs → chunk-FJBMNSUC.mjs} +336 -366
  10. package/dist/lib/browser/chunk-FJBMNSUC.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-FLOVGNYB.mjs +81 -0
  12. package/dist/lib/browser/chunk-FLOVGNYB.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-RJNCG4ND.mjs +154 -0
  14. package/dist/lib/browser/chunk-RJNCG4ND.mjs.map +7 -0
  15. package/dist/lib/browser/index.mjs +5 -6
  16. package/dist/lib/browser/index.mjs.map +2 -2
  17. package/dist/lib/browser/{intent-resolver-MAKOS57L.mjs → intent-resolver-UDYKO2QW.mjs} +89 -130
  18. package/dist/lib/browser/intent-resolver-UDYKO2QW.mjs.map +7 -0
  19. package/dist/lib/browser/meta.json +1 -1
  20. package/dist/lib/browser/{react-root-DGQVIHXP.mjs → react-root-XLXN2VEW.mjs} +6 -6
  21. package/dist/lib/browser/{react-surface-PXBXIOPU.mjs → react-surface-WNGMZL7I.mjs} +6 -6
  22. package/dist/lib/browser/{settings-UBWJF7J7.mjs → settings-HMDGSBGO.mjs} +6 -6
  23. package/dist/lib/browser/settings-HMDGSBGO.mjs.map +7 -0
  24. package/dist/lib/browser/{chunk-OF5RIATN.mjs → state-7TN26M42.mjs} +7 -10
  25. package/dist/lib/browser/state-7TN26M42.mjs.map +7 -0
  26. package/dist/lib/browser/{tools-IVPIPTVA.mjs → tools-SC6QEN7R.mjs} +7 -7
  27. package/dist/lib/browser/tools-SC6QEN7R.mjs.map +7 -0
  28. package/dist/lib/browser/types.mjs +1 -1
  29. package/dist/lib/browser/{url-handler-JSYGSVSB.mjs → url-handler-ODG4B6NX.mjs} +4 -4
  30. package/dist/lib/browser/url-handler-ODG4B6NX.mjs.map +7 -0
  31. package/dist/types/src/capabilities/app-graph-builder.d.ts +179 -2
  32. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  33. package/dist/types/src/capabilities/capabilities.d.ts +6 -8
  34. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  35. package/dist/types/src/capabilities/check-app-scheme.d.ts +2 -2
  36. package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -1
  37. package/dist/types/src/capabilities/index.d.ts +182 -7
  38. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  39. package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
  40. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/state.d.ts +6 -7
  42. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  43. package/dist/types/src/capabilities/tools.d.ts.map +1 -1
  44. package/dist/types/src/capabilities/url-handler.d.ts +2 -2
  45. package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
  46. package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
  47. package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
  48. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
  49. package/dist/types/src/components/DeckLayout/Fullscreen.d.ts +5 -0
  50. package/dist/types/src/components/DeckLayout/Fullscreen.d.ts.map +1 -0
  51. package/dist/types/src/components/DeckLayout/StatusBar.d.ts.map +1 -1
  52. package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
  53. package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
  54. package/dist/types/src/components/Plank/Plank.d.ts +5 -18
  55. package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
  56. package/dist/types/src/components/Plank/Plank.stories.d.ts +3 -3
  57. package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
  58. package/dist/types/src/components/Plank/PlankControls.d.ts +2 -3
  59. package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
  60. package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
  61. package/dist/types/src/components/Plank/PlankHeading.d.ts +2 -3
  62. package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
  63. package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
  64. package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -1
  65. package/dist/types/src/components/Sidebar/SidebarButton.d.ts +1 -2
  66. package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
  67. package/dist/types/src/hooks/index.d.ts +1 -5
  68. package/dist/types/src/hooks/index.d.ts.map +1 -1
  69. package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
  70. package/dist/types/src/index.d.ts +1 -1
  71. package/dist/types/src/index.d.ts.map +1 -1
  72. package/dist/types/src/layout.d.ts.map +1 -1
  73. package/dist/types/src/translations.d.ts +0 -2
  74. package/dist/types/src/translations.d.ts.map +1 -1
  75. package/dist/types/src/types.d.ts +104 -106
  76. package/dist/types/src/types.d.ts.map +1 -1
  77. package/dist/types/src/util/index.d.ts +4 -1
  78. package/dist/types/src/util/index.d.ts.map +1 -1
  79. package/dist/types/src/util/layoutAppliesTopbar.d.ts +1 -2
  80. package/dist/types/src/util/layoutAppliesTopbar.d.ts.map +1 -1
  81. package/dist/types/src/util/overscroll.d.ts.map +1 -1
  82. package/dist/types/src/util/set-active.d.ts.map +1 -1
  83. package/dist/types/src/util/useBreakpoints.d.ts.map +1 -0
  84. package/dist/types/src/util/useCompanions.d.ts.map +1 -0
  85. package/dist/types/src/util/useHoistStatusbar.d.ts +2 -0
  86. package/dist/types/src/util/useHoistStatusbar.d.ts.map +1 -0
  87. package/dist/types/tsconfig.tsbuildinfo +1 -1
  88. package/package.json +29 -36
  89. package/src/capabilities/app-graph-builder.ts +92 -120
  90. package/src/capabilities/check-app-scheme.ts +7 -3
  91. package/src/capabilities/index.ts +2 -3
  92. package/src/capabilities/intent-resolver.ts +133 -175
  93. package/src/capabilities/settings.ts +4 -4
  94. package/src/capabilities/state.ts +4 -7
  95. package/src/capabilities/tools.ts +3 -4
  96. package/src/capabilities/url-handler.ts +4 -4
  97. package/src/components/DeckLayout/ContentEmpty.tsx +4 -9
  98. package/src/components/DeckLayout/DeckLayout.tsx +188 -123
  99. package/src/components/DeckLayout/Fullscreen.tsx +31 -0
  100. package/src/components/Plank/Plank.stories.tsx +8 -20
  101. package/src/components/Plank/Plank.tsx +68 -104
  102. package/src/components/Plank/PlankControls.tsx +57 -53
  103. package/src/components/Plank/PlankError.tsx +6 -2
  104. package/src/components/Plank/PlankHeading.tsx +12 -29
  105. package/src/components/Sidebar/ComplementarySidebar.tsx +54 -33
  106. package/src/components/Sidebar/Sidebar.tsx +4 -7
  107. package/src/components/Sidebar/SidebarButton.tsx +7 -30
  108. package/src/components/fragments.ts +1 -1
  109. package/src/hooks/index.ts +1 -5
  110. package/src/hooks/useNodeActionExpander.ts +8 -3
  111. package/src/index.ts +1 -1
  112. package/src/translations.ts +0 -2
  113. package/src/types.ts +71 -75
  114. package/src/util/index.ts +4 -1
  115. package/src/util/layoutAppliesTopbar.ts +2 -8
  116. package/src/{hooks → util}/useCompanions.ts +3 -3
  117. package/src/{hooks → util}/useHoistStatusbar.ts +4 -9
  118. package/dist/lib/browser/app-graph-builder-R7COZ4A6.mjs.map +0 -7
  119. package/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs.map +0 -7
  120. package/dist/lib/browser/chunk-3O2UZVBA.mjs +0 -121
  121. package/dist/lib/browser/chunk-3O2UZVBA.mjs.map +0 -7
  122. package/dist/lib/browser/chunk-JAYQ5BTF.mjs +0 -157
  123. package/dist/lib/browser/chunk-JAYQ5BTF.mjs.map +0 -7
  124. package/dist/lib/browser/chunk-KIGMELV2.mjs.map +0 -7
  125. package/dist/lib/browser/chunk-OF5RIATN.mjs.map +0 -7
  126. package/dist/lib/browser/chunk-TRFYUEBA.mjs +0 -145
  127. package/dist/lib/browser/chunk-TRFYUEBA.mjs.map +0 -7
  128. package/dist/lib/browser/intent-resolver-MAKOS57L.mjs.map +0 -7
  129. package/dist/lib/browser/settings-UBWJF7J7.mjs.map +0 -7
  130. package/dist/lib/browser/state-4WFB4SDO.mjs +0 -10
  131. package/dist/lib/browser/state-4WFB4SDO.mjs.map +0 -7
  132. package/dist/lib/browser/tools-IVPIPTVA.mjs.map +0 -7
  133. package/dist/lib/browser/url-handler-JSYGSVSB.mjs.map +0 -7
  134. package/dist/types/src/components/DeckLayout/Dialog.d.ts +0 -3
  135. package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +0 -1
  136. package/dist/types/src/components/DeckLayout/Popover.d.ts +0 -5
  137. package/dist/types/src/components/DeckLayout/Popover.d.ts.map +0 -1
  138. package/dist/types/src/hooks/useBreakpoints.d.ts.map +0 -1
  139. package/dist/types/src/hooks/useCompanions.d.ts.map +0 -1
  140. package/dist/types/src/hooks/useDeckCompanions.d.ts +0 -13
  141. package/dist/types/src/hooks/useDeckCompanions.d.ts.map +0 -1
  142. package/dist/types/src/hooks/useHoistStatusbar.d.ts +0 -3
  143. package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +0 -1
  144. package/src/components/DeckLayout/Dialog.tsx +0 -36
  145. package/src/components/DeckLayout/Popover.tsx +0 -104
  146. package/src/hooks/useDeckCompanions.ts +0 -33
  147. /package/dist/lib/browser/{react-root-DGQVIHXP.mjs.map → react-root-XLXN2VEW.mjs.map} +0 -0
  148. /package/dist/lib/browser/{react-surface-PXBXIOPU.mjs.map → react-surface-WNGMZL7I.mjs.map} +0 -0
  149. /package/dist/types/src/{hooks → util}/useBreakpoints.d.ts +0 -0
  150. /package/dist/types/src/{hooks → util}/useCompanions.d.ts +0 -0
  151. /package/src/{hooks → util}/useBreakpoints.ts +0 -0
@@ -1,4 +1,4 @@
1
- declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
1
+ declare const _default: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
2
2
  deck: {
3
3
  solo?: string | undefined;
4
4
  initialized: boolean;
@@ -19,14 +19,13 @@ declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<
19
19
  complementarySidebarState: "closed" | "collapsed" | "expanded";
20
20
  complementarySidebarPanel?: string | undefined;
21
21
  dialogOpen: boolean;
22
+ dialogContent?: any;
22
23
  dialogBlockAlign?: "start" | "end" | "center" | undefined;
23
24
  dialogType?: "default" | "alert" | undefined;
24
- dialogContent?: any;
25
25
  popoverOpen: boolean;
26
26
  popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
27
- popoverAnchor?: any;
28
- popoverAnchorId?: string | undefined;
29
27
  popoverContent?: any;
28
+ popoverAnchorId?: string | undefined;
30
29
  toasts: {
31
30
  readonly id: string;
32
31
  readonly title?: string | [string, {
@@ -75,10 +74,10 @@ declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<
75
74
  };
76
75
  };
77
76
  previousMode: {
78
- [x: string]: "solo" | "deck" | "solo--fullscreen";
77
+ [x: string]: "solo" | "deck" | "fullscreen";
79
78
  };
80
79
  scrollIntoView?: string | undefined;
81
- }>> | import("@dxos/app-framework").Capability<import("@dxos/live-object").Live<Readonly<{
80
+ }>> | import("@dxos/app-framework").Capability<import("@dxos/live-object").ReactiveObject<Readonly<{
82
81
  mode: string;
83
82
  dialogOpen: boolean;
84
83
  sidebarOpen: boolean;
@@ -88,5 +87,5 @@ declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<
88
87
  inactive: string[];
89
88
  scrollIntoView: string | undefined;
90
89
  }>>>)[];
91
- export default DeckStateFactory;
90
+ export default _default;
92
91
  //# sourceMappingURL=state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AA+BA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsErB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,wBAqEE"}
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AAMA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAC1B;CACF;;AAED,wBAkDK"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAS7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAC1B;CACF;;AAED,wBAkDK"}
@@ -1,4 +1,4 @@
1
- import { type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => Promise<import("@dxos/app-framework").Capability<null>>;
1
+ import { type PluginsContext } from '@dxos/app-framework';
2
+ declare const _default: (context: PluginsContext) => Promise<import("@dxos/app-framework").Capability<null>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=url-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAO1F,SAAS,aAAa;AAA5C,wBA+CE"}
1
+ {"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAOlF,cAAc;AAA7C,wBA+CE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtE,eAAO,MAAM,MAAM,GAAI,yBAAyB,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtE,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAyBlG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,YAAY,yBAexB,CAAC"}
1
+ {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,YAAY,yBAaxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0E,MAAM,OAAO,CAAC;AA+B/F,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,GAAI,oBAAoB,eAAe,sBAiQ7D,CAAC"}
1
+ {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAsCzG,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,uBAAwB,eAAe,sBA2T7D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const Fullscreen: ({ id }: {
3
+ id?: string;
4
+ }) => React.JSX.Element;
5
+ //# sourceMappingURL=Fullscreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,UAAU,WAAY;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,sBAiBjD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS,GAAI,eAAe;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBAY/D,CAAC"}
1
+ {"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/StatusBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS,kBAAmB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,sBAY/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B3D,CAAC"}
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,4GAWf,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,cAAc;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,sBAmEzE,CAAC"}
1
+ {"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,iBAAkB;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,sBAmEzE,CAAC"}
@@ -1,27 +1,14 @@
1
1
  import React from 'react';
2
- import { type Node } from '@dxos/plugin-graph';
3
- import { type LayoutMode, type ResolvedPart, type DeckSettingsProps } from '../../types';
4
- export type PlankProps = Pick<PlankComponentProps, 'layoutMode' | 'part' | 'path' | 'order' | 'active' | 'settings'> & {
2
+ import { type LayoutMode, type Part, type DeckSettingsProps } from '../../types';
3
+ export type PlankProps = {
5
4
  id?: string;
6
5
  companionId?: string;
7
- };
8
- /**
9
- * A Plank is the main container for surfaces within a Deck.
10
- * It may be paired with a companion plank that enables the user to select one of multiple companion surfaces.
11
- */
12
- export declare const Plank: React.MemoExoticComponent<({ id, companionId, ...props }: PlankProps) => React.JSX.Element>;
13
- type PlankComponentProps = {
14
- layoutMode: LayoutMode;
15
- id: string;
16
- part: ResolvedPart;
6
+ part: Part;
17
7
  path?: string[];
18
8
  order?: number;
19
9
  active?: string[];
20
- companioned?: 'primary' | 'companion';
21
- node?: Node;
22
- primary?: Node;
23
- companions?: Node[];
10
+ layoutMode: LayoutMode;
24
11
  settings?: DeckSettingsProps;
25
12
  };
26
- export {};
13
+ export declare const Plank: ({ id, ...props }: PlankProps) => React.JSX.Element;
27
14
  //# sourceMappingURL=Plank.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAWf,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAWxD,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrG,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,4DAAqD,UAAU,uBA8B/E,CAAC;AAoBH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;AAsBf,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,IAAI,EAAqB,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAKhH,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAqJF,eAAO,MAAM,KAAK,qBAAmC,UAAU,sBA+B9D,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import '@dxos-theme';
2
2
  import { type StoryObj, type Meta } from '@storybook/react';
3
- import { type PlankProps } from './Plank';
4
- declare const meta: Meta<PlankProps>;
3
+ import { Plank } from './Plank';
4
+ declare const meta: Meta<typeof Plank>;
5
5
  export default meta;
6
- type Story = StoryObj<PlankProps>;
6
+ type Story = StoryObj<typeof meta>;
7
7
  export declare const Default: Story;
8
8
  //# sourceMappingURL=Plank.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAU5D,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAIjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,CAqB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAGlC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
1
+ {"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAO5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAc5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
2
  import { type ButtonGroupProps } from '@dxos/react-ui';
3
- import { DeckAction, type LayoutMode } from '../../types';
3
+ import { DeckAction } from '../../types';
4
4
  export type PlankControlHandler = (event: DeckAction.PartAdjustment) => void;
5
5
  export type PlankCapabilities = {
6
6
  incrementStart?: boolean;
7
7
  incrementEnd?: boolean;
8
8
  deck?: boolean;
9
9
  solo?: boolean;
10
- fullscreen?: boolean;
11
10
  companion?: boolean;
12
11
  };
13
12
  export type PlankControlsProps = Omit<ButtonGroupProps, 'onClick'> & {
@@ -15,7 +14,7 @@ export type PlankControlsProps = Omit<ButtonGroupProps, 'onClick'> & {
15
14
  variant?: 'hide-disabled' | 'default';
16
15
  close?: boolean | 'minify-start' | 'minify-end';
17
16
  capabilities: PlankCapabilities;
18
- layoutMode?: LayoutMode;
17
+ isSolo?: boolean;
19
18
  pin?: 'start' | 'end' | 'both';
20
19
  };
21
20
  type PlankComplimentControlsProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAe,KAAK,gBAAgB,EAAgD,MAAM,gBAAgB,CAAC;AAGlH,OAAO,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,YAAY,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAQF,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,qGAoBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyGzB,CAAC"}
1
+ {"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAIvD,OAAO,EAGL,KAAK,gBAAgB,EAKtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,YAAY,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAoBF,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,qGAqBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyFzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAItE,eAAO,MAAM,iBAAiB,GAAI,WAAW;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAa7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4BAKxB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,CAAC"}
1
+ {"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAItE,eAAO,MAAM,iBAAiB,cAAe;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAiB7D,CAAC;AAEF,eAAO,MAAM,UAAU,+BAKpB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { type Node } from '@dxos/plugin-graph';
3
3
  import { type StackItemSigilAction } from '@dxos/react-ui-stack';
4
- import { type ResolvedPart, type LayoutMode } from '../../types';
4
+ import { type ResolvedPart } from '../../types';
5
5
  export type PlankHeadingProps = {
6
6
  id: string;
7
7
  part: ResolvedPart;
8
- layoutMode?: LayoutMode;
9
8
  node?: Node;
10
9
  deckEnabled?: boolean;
11
10
  canIncrementStart?: boolean;
@@ -17,5 +16,5 @@ export type PlankHeadingProps = {
17
16
  companions?: Node[];
18
17
  actions?: StackItemSigilAction[];
19
18
  };
20
- export declare const PlankHeading: React.MemoExoticComponent<({ id, part, node, deckEnabled, canIncrementStart, canIncrementEnd, popoverAnchorId, primaryId, pending, companioned, companions, layoutMode, actions, }: PlankHeadingProps) => React.JSX.Element>;
19
+ export declare const PlankHeading: React.MemoExoticComponent<({ id, part, node, deckEnabled, canIncrementStart, canIncrementEnd, popoverAnchorId, primaryId, pending, companioned, companions, actions, }: PlankHeadingProps) => React.JSX.Element>;
21
20
  //# sourceMappingURL=PlankHeading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAQ5E,OAAO,EAAoC,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAKnG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBA0KrB,CAAC"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAgBf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAgH1E,CAAC"}
1
+ {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AA+Cf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,sBAsG1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,OAAO,yBAwBnB,CAAC"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,OAAO,yBAuBnB,CAAC"}
@@ -2,8 +2,7 @@ import React from 'react';
2
2
  import { type IconButtonProps, type ThemedClassName } from '@dxos/react-ui';
3
3
  export declare const ToggleSidebarButton: ({ classNames, variant, }: ThemedClassName<Pick<IconButtonProps, "variant">>) => React.JSX.Element;
4
4
  export declare const CloseSidebarButton: () => React.JSX.Element;
5
- export declare const ToggleComplementarySidebarButton: ({ inR0, classNames, current, }: ThemedClassName<{
5
+ export declare const ToggleComplementarySidebarButton: ({ inR0, classNames }: ThemedClassName<{
6
6
  inR0?: boolean;
7
- current?: string;
8
7
  }>) => React.JSX.Element;
9
8
  //# sourceMappingURL=SidebarButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAOxG,eAAO,MAAM,mBAAmB,GAAI,0BAGjC,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,sBAgBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAc9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,gCAI9C,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,sBAmCvD,CAAC"}
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"}
@@ -1,7 +1,3 @@
1
- export * from './useBreakpoints';
2
- export * from './useCompanions';
3
- export * from './useDeckCompanions';
4
- export * from './useHoistStatusbar';
5
- export * from './useMainSize';
6
1
  export * from './useNodeActionExpander';
2
+ export * from './useMainSize';
7
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,IAAI,SAUhD,CAAC"}
1
+ {"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAA4C,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAQzF,eAAO,MAAM,qBAAqB,UAAW,IAAI,SAShD,CAAC"}
@@ -2,5 +2,5 @@ export { DeckCapabilities } from './capabilities';
2
2
  export { DeckEvents } from './events';
3
3
  export * from './DeckPlugin';
4
4
  export * from './meta';
5
- export { useCompanions } from './hooks';
5
+ export { useCompanions } from './util';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,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 +1 @@
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,GAAI,SAAS,MAAM,EAAE,UAAU,MAAM,WACS,CAAC;AAEzE,eAAO,MAAM,YAAY,GAAI,SAAS,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,GAAI,MAAM,MAAM,EAAE,EAAE,UAAU,MAAM,EAAE,UAAU,sBAAsB,KAAG,MAAM,EAwCpG,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,EAAE,SAAS,MAAM,KAAG,MAAM,EAOlE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,EAAE,EAAE,YAAY,UAAU,CAAC,UAAU,KAAG,MAAM,EAmBxF,CAAC"}
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"}
@@ -37,8 +37,6 @@ declare const _default: {
37
37
  'increment end label': string;
38
38
  'show deck plank label': string;
39
39
  'show solo plank label': string;
40
- 'exit fullscreen label': string;
41
- 'show fullscreen plank label': string;
42
40
  'close label': string;
43
41
  'minify label': string;
44
42
  'open companion label': string;
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA4DE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA0DE"}
@@ -1,5 +1,4 @@
1
- import { Schema } from 'effect';
2
- import { type DeepReadonly } from '@dxos/util';
1
+ import { S } from '@dxos/echo-schema';
3
2
  export { ATTENDABLE_PATH_SEPARATOR } from '@dxos/react-ui-attention';
4
3
  export declare const PLANK_COMPANION_TYPE = "dxos.org/plugin/deck/plank-companion";
5
4
  export declare const DECK_COMPANION_TYPE = "dxos.org/plugin/deck/deck-companion";
@@ -9,144 +8,143 @@ export declare const OverscrollOptions: readonly ["none", "centering"];
9
8
  export type Overscroll = (typeof OverscrollOptions)[number];
10
9
  export type Part = 'solo' | 'deck' | 'complementary';
11
10
  export type ResolvedPart = Part | 'solo-primary' | 'solo-companion';
12
- export declare const DeckSettingsSchema: Schema.mutable<Schema.Struct<{
13
- showHints: Schema.optional<typeof Schema.Boolean>;
14
- enableDeck: Schema.optional<typeof Schema.Boolean>;
15
- enableStatusbar: Schema.optional<typeof Schema.Boolean>;
16
- enableNativeRedirect: Schema.optional<typeof Schema.Boolean>;
17
- newPlankPositioning: Schema.optional<Schema.Literal<["start", "end"]>>;
18
- overscroll: Schema.optional<Schema.Literal<["none", "centering"]>>;
11
+ export declare const DeckSettingsSchema: S.mutable<S.Struct<{
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"]>>;
19
18
  }>>;
20
- export type DeckSettingsProps = Schema.Schema.Type<typeof DeckSettingsSchema>;
21
- export declare const PlankSizing: Schema.Record$<typeof Schema.String, typeof Schema.Number>;
22
- export type PlankSizing = Schema.Schema.Type<typeof PlankSizing>;
23
- export declare const DeckState: Schema.Struct<{
19
+ export type DeckSettingsProps = S.Schema.Type<typeof DeckSettingsSchema>;
20
+ export declare const PlankSizing: S.Record$<typeof S.String, typeof S.Number>;
21
+ export type PlankSizing = S.Schema.Type<typeof PlankSizing>;
22
+ export declare const DeckState: S.Struct<{
24
23
  /** If false, the deck has not yet left solo mode and new planks should be soloed. */
25
- initialized: typeof Schema.Boolean;
26
- active: Schema.mutable<Schema.Array$<typeof Schema.String>>;
27
- activeCompanions: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.String>>>;
28
- inactive: Schema.mutable<Schema.Array$<typeof Schema.String>>;
29
- solo: Schema.optional<typeof Schema.String>;
30
- fullscreen: typeof Schema.Boolean;
31
- plankSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
32
- companionFrameSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
24
+ initialized: typeof S.Boolean;
25
+ active: S.mutable<S.Array$<typeof S.String>>;
26
+ activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
27
+ inactive: S.mutable<S.Array$<typeof S.String>>;
28
+ solo: S.optional<typeof S.String>;
29
+ fullscreen: typeof S.Boolean;
30
+ plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
31
+ companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
33
32
  }>;
34
- export type DeckState = Schema.Schema.Type<typeof DeckState>;
33
+ export type DeckState = S.Schema.Type<typeof DeckState>;
35
34
  export declare const defaultDeck: DeckState;
36
- declare const LayoutMode: Schema.Literal<["deck", "solo", "solo--fullscreen"]>;
37
- export type LayoutMode = Schema.Schema.Type<typeof LayoutMode>;
35
+ declare const LayoutMode: S.Literal<["deck", "solo", "fullscreen"]>;
36
+ export type LayoutMode = S.Schema.Type<typeof LayoutMode>;
38
37
  export declare const isLayoutMode: (value: any) => value is LayoutMode;
39
- export declare const getMode: (deck: DeckState | DeepReadonly<DeckState>) => LayoutMode;
40
- export declare const DeckPluginState: Schema.mutable<Schema.Struct<{
41
- sidebarState: Schema.Literal<["closed", "collapsed", "expanded"]>;
42
- complementarySidebarState: Schema.Literal<["closed", "collapsed", "expanded"]>;
43
- complementarySidebarPanel: Schema.optional<typeof Schema.String>;
44
- dialogOpen: typeof Schema.Boolean;
45
- dialogBlockAlign: Schema.optional<Schema.Literal<["start", "center", "end"]>>;
46
- dialogType: Schema.optional<Schema.Literal<["default", "alert"]>>;
38
+ export declare const getMode: (deck: DeckState) => LayoutMode;
39
+ export declare const DeckPluginState: S.mutable<S.Struct<{
40
+ sidebarState: S.Literal<["closed", "collapsed", "expanded"]>;
41
+ complementarySidebarState: S.Literal<["closed", "collapsed", "expanded"]>;
42
+ complementarySidebarPanel: S.optional<typeof S.String>;
43
+ dialogOpen: typeof S.Boolean;
47
44
  /** Data to be passed to the dialog Surface. */
48
- dialogContent: Schema.optional<typeof Schema.Any>;
49
- popoverOpen: typeof Schema.Boolean;
50
- popoverSide: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
51
- popoverAnchor: Schema.optional<typeof Schema.Any>;
52
- popoverAnchorId: Schema.optional<typeof Schema.String>;
45
+ dialogContent: S.optional<typeof S.Any>;
46
+ dialogBlockAlign: S.optional<S.Literal<["start", "center", "end"]>>;
47
+ dialogType: S.optional<S.Literal<["default", "alert"]>>;
48
+ popoverOpen: typeof S.Boolean;
49
+ popoverSide: S.optional<S.Literal<["top", "right", "bottom", "left"]>>;
53
50
  /** Data to be passed to the popover Surface. */
54
- popoverContent: Schema.optional<typeof Schema.Any>;
55
- toasts: Schema.mutable<Schema.Array$<Schema.Struct<{
56
- id: Schema.SchemaClass<string, string, never>;
57
- title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
58
- ns: typeof Schema.String;
59
- count: Schema.optional<typeof Schema.Number>;
51
+ popoverContent: S.optional<typeof S.Any>;
52
+ popoverAnchorId: S.optional<typeof S.String>;
53
+ toasts: S.mutable<S.Array$<S.Struct<{
54
+ id: S.SchemaClass<string, string, never>;
55
+ title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
56
+ ns: typeof S.String;
57
+ count: S.optional<typeof S.Number>;
60
58
  }>>>>]>>;
61
- description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
62
- ns: typeof Schema.String;
63
- count: Schema.optional<typeof Schema.Number>;
59
+ description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
60
+ ns: typeof S.String;
61
+ count: S.optional<typeof S.Number>;
64
62
  }>>>>]>>;
65
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
66
- duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
67
- closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
68
- ns: typeof Schema.String;
69
- count: Schema.optional<typeof Schema.Number>;
63
+ icon: S.optional<S.SchemaClass<string, string, never>>;
64
+ duration: S.optional<S.SchemaClass<number, number, never>>;
65
+ closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
66
+ ns: typeof S.String;
67
+ count: S.optional<typeof S.Number>;
70
68
  }>>>>]>>;
71
- actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
72
- ns: typeof Schema.String;
73
- count: Schema.optional<typeof Schema.Number>;
69
+ actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
70
+ ns: typeof S.String;
71
+ count: S.optional<typeof S.Number>;
74
72
  }>>>>]>>;
75
- actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
76
- ns: typeof Schema.String;
77
- count: Schema.optional<typeof Schema.Number>;
73
+ actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
74
+ ns: typeof S.String;
75
+ count: S.optional<typeof S.Number>;
78
76
  }>>>>]>>;
79
- onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
77
+ onAction: S.optional<S.SchemaClass<any, any, never>>;
80
78
  }>>>;
81
- currentUndoId: Schema.optional<typeof Schema.String>;
82
- activeDeck: typeof Schema.String;
83
- previousDeck: typeof Schema.String;
84
- decks: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.mutable<Schema.Struct<{
79
+ currentUndoId: S.optional<typeof S.String>;
80
+ activeDeck: typeof S.String;
81
+ previousDeck: typeof S.String;
82
+ decks: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
85
83
  /** If false, the deck has not yet left solo mode and new planks should be soloed. */
86
- initialized: typeof Schema.Boolean;
87
- active: Schema.mutable<Schema.Array$<typeof Schema.String>>;
88
- activeCompanions: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.String>>>;
89
- inactive: Schema.mutable<Schema.Array$<typeof Schema.String>>;
90
- solo: Schema.optional<typeof Schema.String>;
91
- fullscreen: typeof Schema.Boolean;
92
- plankSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
93
- companionFrameSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
84
+ initialized: typeof S.Boolean;
85
+ active: S.mutable<S.Array$<typeof S.String>>;
86
+ activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
87
+ inactive: S.mutable<S.Array$<typeof S.String>>;
88
+ solo: S.optional<typeof S.String>;
89
+ fullscreen: typeof S.Boolean;
90
+ plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
91
+ companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
94
92
  }>>>>;
95
- previousMode: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.Literal<["deck", "solo", "solo--fullscreen"]>>>;
96
- deck: Schema.mutable<Schema.Struct<{
93
+ previousMode: S.mutable<S.Record$<typeof S.String, S.Literal<["deck", "solo", "fullscreen"]>>>;
94
+ deck: S.mutable<S.Struct<{
97
95
  /** If false, the deck has not yet left solo mode and new planks should be soloed. */
98
- initialized: typeof Schema.Boolean;
99
- active: Schema.mutable<Schema.Array$<typeof Schema.String>>;
100
- activeCompanions: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.String>>>;
101
- inactive: Schema.mutable<Schema.Array$<typeof Schema.String>>;
102
- solo: Schema.optional<typeof Schema.String>;
103
- fullscreen: typeof Schema.Boolean;
104
- plankSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
105
- companionFrameSizing: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Number>>;
96
+ initialized: typeof S.Boolean;
97
+ active: S.mutable<S.Array$<typeof S.String>>;
98
+ activeCompanions: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.String>>>;
99
+ inactive: S.mutable<S.Array$<typeof S.String>>;
100
+ solo: S.optional<typeof S.String>;
101
+ fullscreen: typeof S.Boolean;
102
+ plankSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
103
+ companionFrameSizing: S.mutable<S.Record$<typeof S.String, typeof S.Number>>;
106
104
  }>>;
107
105
  /** The identifier of a component to scroll into view when it is mounted. */
108
- scrollIntoView: Schema.optional<typeof Schema.String>;
106
+ scrollIntoView: S.optional<typeof S.String>;
109
107
  }>>;
110
- export type DeckPluginState = Schema.Schema.Type<typeof DeckPluginState>;
108
+ export type DeckPluginState = S.Schema.Type<typeof DeckPluginState>;
111
109
  export declare const DECK_ACTION: string;
112
110
  export declare namespace DeckAction {
113
- 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"]>]>;
114
- export type PartAdjustment = Schema.Schema.Type<typeof PartAdjustmentSchema>;
115
- export const Adjustment: Schema.mutable<Schema.Struct<{
116
- id: typeof Schema.String;
117
- type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.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"]>]>;
112
+ export type PartAdjustment = S.Schema.Type<typeof PartAdjustmentSchema>;
113
+ export const Adjustment: S.mutable<S.Struct<{
114
+ id: typeof S.String;
115
+ type: S.Union<[S.Literal<["close"]>, S.Literal<["companion"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
118
116
  }>>;
119
- export type Adjustment = Schema.Schema.Type<typeof Adjustment>;
120
- const Adjust_base: Schema.TaggedClass<Adjust, `${string}/adjust`, {
121
- readonly _tag: Schema.tag<`${string}/adjust`>;
117
+ export type Adjustment = S.Schema.Type<typeof Adjustment>;
118
+ const Adjust_base: S.TaggedClass<Adjust, `${string}/adjust`, {
119
+ readonly _tag: S.tag<`${string}/adjust`>;
122
120
  } & {
123
- input: Schema.mutable<Schema.Struct<{
124
- id: typeof Schema.String;
125
- type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
121
+ input: S.mutable<S.Struct<{
122
+ id: typeof S.String;
123
+ type: S.Union<[S.Literal<["close"]>, S.Literal<["companion"]>, S.Literal<["solo"]>, S.Literal<["increment-start"]>, S.Literal<["increment-end"]>]>;
126
124
  }>>;
127
- output: typeof Schema.Void;
125
+ output: typeof S.Void;
128
126
  }>;
129
127
  export class Adjust extends Adjust_base {
130
128
  }
131
- const UpdatePlankSize_base: Schema.TaggedClass<UpdatePlankSize, `${string}/update-plank-size`, {
132
- readonly _tag: Schema.tag<`${string}/update-plank-size`>;
129
+ const UpdatePlankSize_base: S.TaggedClass<UpdatePlankSize, `${string}/update-plank-size`, {
130
+ readonly _tag: S.tag<`${string}/update-plank-size`>;
133
131
  } & {
134
- input: Schema.Struct<{
135
- id: typeof Schema.String;
136
- size: typeof Schema.Number;
132
+ input: S.Struct<{
133
+ id: typeof S.String;
134
+ size: typeof S.Number;
137
135
  }>;
138
- output: typeof Schema.Void;
136
+ output: typeof S.Void;
139
137
  }>;
140
138
  export class UpdatePlankSize extends UpdatePlankSize_base {
141
139
  }
142
- const ChangeCompanion_base: Schema.TaggedClass<ChangeCompanion, `${string}/change-companion`, {
143
- readonly _tag: Schema.tag<`${string}/change-companion`>;
140
+ const ChangeCompanion_base: S.TaggedClass<ChangeCompanion, `${string}/change-companion`, {
141
+ readonly _tag: S.tag<`${string}/change-companion`>;
144
142
  } & {
145
- input: Schema.Struct<{
146
- primary: typeof Schema.String;
147
- companion: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
143
+ input: S.Struct<{
144
+ primary: typeof S.String;
145
+ companion: S.Union<[typeof S.String, typeof S.Null]>;
148
146
  }>;
149
- output: typeof Schema.Void;
147
+ output: typeof S.Void;
150
148
  }>;
151
149
  export class ChangeCompanion extends ChangeCompanion_base {
152
150
  }