@dxos/plugin-navtree 0.8.4-main.f9ba587 → 0.8.4-main.fcc0d83b33

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 (223) hide show
  1. package/dist/lib/browser/index.mjs +157 -124
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/browser/translations.mjs +21 -0
  5. package/dist/lib/browser/translations.mjs.map +7 -0
  6. package/dist/types/src/NavTreePlugin.d.ts +2 -1
  7. package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
  8. package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
  9. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  10. package/dist/types/src/capabilities/index.d.ts +7 -105
  11. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  12. package/dist/types/src/capabilities/keyboard.d.ts +3 -2
  13. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  14. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  15. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  16. package/dist/types/src/capabilities/react-surface.d.ts +3 -2
  17. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/state.d.ts +4 -18
  19. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  20. package/dist/types/src/components/NavTree/NavTree.d.ts +12 -5
  21. package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -1
  22. package/dist/types/src/components/NavTree/NavTree.stories.d.ts +25 -5
  23. package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
  24. package/dist/types/src/components/{NavTreeContext.d.ts → NavTreeContext/NavTreeContext.d.ts} +1 -1
  25. package/dist/types/src/components/NavTreeContext/NavTreeContext.d.ts.map +1 -0
  26. package/dist/types/src/components/NavTreeContext/index.d.ts +2 -0
  27. package/dist/types/src/components/NavTreeContext/index.d.ts.map +1 -0
  28. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts +13 -9
  29. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts.map +1 -1
  30. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +33 -4
  31. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -1
  32. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts +2 -2
  33. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts.map +1 -1
  34. package/dist/types/src/components/Sidebar/L0Menu.d.ts +10 -5
  35. package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
  36. package/dist/types/src/components/Sidebar/L1Panel.d.ts +4 -8
  37. package/dist/types/src/components/Sidebar/L1Panel.d.ts.map +1 -1
  38. package/dist/types/src/components/Sidebar/L1Tabs.d.ts +13 -0
  39. package/dist/types/src/components/Sidebar/L1Tabs.d.ts.map +1 -0
  40. package/dist/types/src/components/Sidebar/index.d.ts +1 -0
  41. package/dist/types/src/components/Sidebar/index.d.ts.map +1 -1
  42. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.d.ts.map +1 -1
  43. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts +8 -5
  44. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -1
  45. package/dist/types/src/components/index.d.ts +1 -4
  46. package/dist/types/src/components/index.d.ts.map +1 -1
  47. package/dist/types/src/components/types.d.ts +8 -17
  48. package/dist/types/src/components/types.d.ts.map +1 -1
  49. package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.d.ts +6 -0
  50. package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.d.ts.map +1 -0
  51. package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.stories.d.ts +28 -0
  52. package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.stories.d.ts.map +1 -0
  53. package/dist/types/src/containers/CommandsDialogContent/index.d.ts +2 -0
  54. package/dist/types/src/containers/CommandsDialogContent/index.d.ts.map +1 -0
  55. package/dist/types/src/containers/CommandsTrigger/CommandsTrigger.d.ts.map +1 -0
  56. package/dist/types/src/containers/CommandsTrigger/index.d.ts +2 -0
  57. package/dist/types/src/containers/CommandsTrigger/index.d.ts.map +1 -0
  58. package/dist/types/src/containers/NavTreeContainer/NavTreeContainer.d.ts +9 -0
  59. package/dist/types/src/containers/NavTreeContainer/NavTreeContainer.d.ts.map +1 -0
  60. package/dist/types/src/containers/NavTreeContainer/index.d.ts +3 -0
  61. package/dist/types/src/containers/NavTreeContainer/index.d.ts.map +1 -0
  62. package/dist/types/src/{components → containers/NavTreeDocumentTitle}/NavTreeDocumentTitle.d.ts +1 -1
  63. package/dist/types/src/containers/NavTreeDocumentTitle/NavTreeDocumentTitle.d.ts.map +1 -0
  64. package/dist/types/src/containers/NavTreeDocumentTitle/index.d.ts +2 -0
  65. package/dist/types/src/containers/NavTreeDocumentTitle/index.d.ts.map +1 -0
  66. package/dist/types/src/containers/index.d.ts +7 -0
  67. package/dist/types/src/containers/index.d.ts.map +1 -0
  68. package/dist/types/src/experimental/Tree.d.ts +5 -6
  69. package/dist/types/src/experimental/Tree.d.ts.map +1 -1
  70. package/dist/types/src/experimental/Tree.stories.d.ts +23 -6
  71. package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
  72. package/dist/types/src/hooks/index.d.ts +5 -0
  73. package/dist/types/src/hooks/index.d.ts.map +1 -0
  74. package/dist/types/src/hooks/useActions.d.ts +5 -0
  75. package/dist/types/src/hooks/useActions.d.ts.map +1 -0
  76. package/dist/types/src/hooks/useLoadDescendents.d.ts +6 -0
  77. package/dist/types/src/hooks/useLoadDescendents.d.ts.map +1 -0
  78. package/dist/types/src/hooks/useNavTreeModel.d.ts +7 -0
  79. package/dist/types/src/hooks/useNavTreeModel.d.ts.map +1 -0
  80. package/dist/types/src/hooks/useNavTreeState.d.ts +18 -0
  81. package/dist/types/src/hooks/useNavTreeState.d.ts.map +1 -0
  82. package/dist/types/src/index.d.ts +1 -2
  83. package/dist/types/src/index.d.ts.map +1 -1
  84. package/dist/types/src/meta.d.ts +3 -4
  85. package/dist/types/src/meta.d.ts.map +1 -1
  86. package/dist/types/src/operations/expose.d.ts +5 -0
  87. package/dist/types/src/operations/expose.d.ts.map +1 -0
  88. package/dist/types/src/operations/index.d.ts +3 -0
  89. package/dist/types/src/operations/index.d.ts.map +1 -0
  90. package/dist/types/src/testing/app-graph-builder.d.ts +2 -3
  91. package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -1
  92. package/dist/types/src/testing/generator.d.ts +5 -6
  93. package/dist/types/src/testing/generator.d.ts.map +1 -1
  94. package/dist/types/src/testing/update-state.d.ts +2 -2
  95. package/dist/types/src/testing/update-state.d.ts.map +1 -1
  96. package/dist/types/src/translations.d.ts +8 -10
  97. package/dist/types/src/translations.d.ts.map +1 -1
  98. package/dist/types/src/types/capabilities.d.ts +15 -0
  99. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  100. package/dist/types/src/types/events.d.ts +5 -0
  101. package/dist/types/src/types/events.d.ts.map +1 -0
  102. package/dist/types/src/types/index.d.ts +4 -0
  103. package/dist/types/src/types/index.d.ts.map +1 -0
  104. package/dist/types/src/{types.d.ts → types/schema.d.ts} +10 -9
  105. package/dist/types/src/types/schema.d.ts.map +1 -0
  106. package/dist/types/src/util.d.ts +12 -9
  107. package/dist/types/src/util.d.ts.map +1 -1
  108. package/dist/types/tsconfig.tsbuildinfo +1 -1
  109. package/package.json +74 -59
  110. package/src/NavTreePlugin.tsx +66 -86
  111. package/src/capabilities/app-graph-builder.ts +34 -44
  112. package/src/capabilities/index.ts +10 -8
  113. package/src/capabilities/keyboard.ts +58 -51
  114. package/src/capabilities/operation-handler.ts +16 -0
  115. package/src/capabilities/react-surface.tsx +46 -38
  116. package/src/capabilities/state.ts +129 -84
  117. package/src/components/NavTree/NavTree.stories.tsx +111 -103
  118. package/src/components/NavTree/NavTree.tsx +71 -35
  119. package/src/components/{NavTreeContext.tsx → NavTreeContext/NavTreeContext.tsx} +1 -1
  120. package/src/components/NavTreeContext/index.ts +5 -0
  121. package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +25 -19
  122. package/src/components/NavTreeItem/NavTreeItemAction.tsx +73 -50
  123. package/src/components/NavTreeItem/NavTreeItemColumns.tsx +70 -38
  124. package/src/components/Sidebar/L0Menu.tsx +176 -210
  125. package/src/components/Sidebar/L1Panel.tsx +212 -135
  126. package/src/components/Sidebar/L1Tabs.tsx +42 -0
  127. package/src/components/Sidebar/index.ts +1 -0
  128. package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +9 -9
  129. package/src/components/UserAccountAvatar/UserAccountAvatar.tsx +20 -12
  130. package/src/components/index.ts +2 -4
  131. package/src/components/types.ts +14 -19
  132. package/src/containers/CommandsDialogContent/CommandsDialogContent.stories.tsx +46 -0
  133. package/src/containers/CommandsDialogContent/CommandsDialogContent.tsx +127 -0
  134. package/src/containers/CommandsDialogContent/index.ts +5 -0
  135. package/src/containers/CommandsTrigger/CommandsTrigger.tsx +28 -0
  136. package/src/containers/CommandsTrigger/index.ts +5 -0
  137. package/src/containers/NavTreeContainer/NavTreeContainer.tsx +271 -0
  138. package/src/containers/NavTreeContainer/index.ts +6 -0
  139. package/src/{components → containers/NavTreeDocumentTitle}/NavTreeDocumentTitle.tsx +5 -4
  140. package/src/containers/NavTreeDocumentTitle/index.ts +5 -0
  141. package/src/containers/index.ts +12 -0
  142. package/src/experimental/Tree.stories.tsx +110 -115
  143. package/src/experimental/Tree.tsx +16 -34
  144. package/src/hooks/index.ts +8 -0
  145. package/src/hooks/useActions.ts +34 -0
  146. package/src/hooks/useLoadDescendents.ts +23 -0
  147. package/src/hooks/useNavTreeModel.ts +118 -0
  148. package/src/hooks/useNavTreeState.ts +35 -0
  149. package/src/index.ts +1 -2
  150. package/src/meta.ts +11 -8
  151. package/src/operations/expose.ts +42 -0
  152. package/src/operations/index.ts +7 -0
  153. package/src/testing/app-graph-builder.ts +167 -238
  154. package/src/testing/generator.ts +41 -39
  155. package/src/testing/update-state.ts +6 -6
  156. package/src/translations.ts +8 -9
  157. package/src/types/capabilities.ts +21 -0
  158. package/src/types/events.ts +12 -0
  159. package/src/types/index.ts +7 -0
  160. package/src/{types.ts → types/schema.ts} +9 -8
  161. package/src/util.ts +26 -33
  162. package/dist/lib/browser/app-graph-builder-5J4LRWDX.mjs +0 -45
  163. package/dist/lib/browser/app-graph-builder-5J4LRWDX.mjs.map +0 -7
  164. package/dist/lib/browser/chunk-ERDGQTH5.mjs +0 -16
  165. package/dist/lib/browser/chunk-ERDGQTH5.mjs.map +0 -7
  166. package/dist/lib/browser/chunk-TZA65AKW.mjs +0 -1428
  167. package/dist/lib/browser/chunk-TZA65AKW.mjs.map +0 -7
  168. package/dist/lib/browser/chunk-WCARAZ7J.mjs +0 -15
  169. package/dist/lib/browser/chunk-WCARAZ7J.mjs.map +0 -7
  170. package/dist/lib/browser/intent-resolver-3XYN2CBU.mjs +0 -47
  171. package/dist/lib/browser/intent-resolver-3XYN2CBU.mjs.map +0 -7
  172. package/dist/lib/browser/keyboard-QRS6WOQH.mjs +0 -51
  173. package/dist/lib/browser/keyboard-QRS6WOQH.mjs.map +0 -7
  174. package/dist/lib/browser/react-surface-N2HPMYCU.mjs +0 -51
  175. package/dist/lib/browser/react-surface-N2HPMYCU.mjs.map +0 -7
  176. package/dist/lib/browser/state-54DY3DOY.mjs +0 -117
  177. package/dist/lib/browser/state-54DY3DOY.mjs.map +0 -7
  178. package/dist/lib/node-esm/app-graph-builder-GY7GCTGU.mjs +0 -46
  179. package/dist/lib/node-esm/app-graph-builder-GY7GCTGU.mjs.map +0 -7
  180. package/dist/lib/node-esm/chunk-CY7QWR4R.mjs +0 -1429
  181. package/dist/lib/node-esm/chunk-CY7QWR4R.mjs.map +0 -7
  182. package/dist/lib/node-esm/chunk-P2JGW3WR.mjs +0 -18
  183. package/dist/lib/node-esm/chunk-P2JGW3WR.mjs.map +0 -7
  184. package/dist/lib/node-esm/chunk-V3QXFDDP.mjs +0 -16
  185. package/dist/lib/node-esm/chunk-V3QXFDDP.mjs.map +0 -7
  186. package/dist/lib/node-esm/index.mjs +0 -150
  187. package/dist/lib/node-esm/index.mjs.map +0 -7
  188. package/dist/lib/node-esm/intent-resolver-R7UNPSZY.mjs +0 -48
  189. package/dist/lib/node-esm/intent-resolver-R7UNPSZY.mjs.map +0 -7
  190. package/dist/lib/node-esm/keyboard-MOZWHFUM.mjs +0 -52
  191. package/dist/lib/node-esm/keyboard-MOZWHFUM.mjs.map +0 -7
  192. package/dist/lib/node-esm/meta.json +0 -1
  193. package/dist/lib/node-esm/react-surface-EW5FDMW4.mjs +0 -52
  194. package/dist/lib/node-esm/react-surface-EW5FDMW4.mjs.map +0 -7
  195. package/dist/lib/node-esm/state-Z3OTRC2I.mjs +0 -118
  196. package/dist/lib/node-esm/state-Z3OTRC2I.mjs.map +0 -7
  197. package/dist/types/src/capabilities/capabilities.d.ts +0 -21
  198. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  199. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  200. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  201. package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts +0 -5
  202. package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts.map +0 -1
  203. package/dist/types/src/components/CommandsDialog/CommandsTrigger.d.ts.map +0 -1
  204. package/dist/types/src/components/CommandsDialog/index.d.ts +0 -3
  205. package/dist/types/src/components/CommandsDialog/index.d.ts.map +0 -1
  206. package/dist/types/src/components/NavTreeContainer.d.ts +0 -9
  207. package/dist/types/src/components/NavTreeContainer.d.ts.map +0 -1
  208. package/dist/types/src/components/NavTreeContext.d.ts.map +0 -1
  209. package/dist/types/src/components/NavTreeDocumentTitle.d.ts.map +0 -1
  210. package/dist/types/src/events.d.ts +0 -4
  211. package/dist/types/src/events.d.ts.map +0 -1
  212. package/dist/types/src/hooks.d.ts +0 -3
  213. package/dist/types/src/hooks.d.ts.map +0 -1
  214. package/dist/types/src/types.d.ts.map +0 -1
  215. package/src/capabilities/capabilities.ts +0 -20
  216. package/src/capabilities/intent-resolver.ts +0 -37
  217. package/src/components/CommandsDialog/CommandsDialog.tsx +0 -118
  218. package/src/components/CommandsDialog/CommandsTrigger.tsx +0 -37
  219. package/src/components/CommandsDialog/index.ts +0 -6
  220. package/src/components/NavTreeContainer.tsx +0 -314
  221. package/src/events.ts +0 -11
  222. package/src/hooks.ts +0 -21
  223. /package/dist/types/src/{components/CommandsDialog → containers/CommandsTrigger}/CommandsTrigger.d.ts +0 -0
@@ -1,106 +1,8 @@
1
- export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
3
- export declare const Keyboard: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
4
- export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
5
- export declare const State: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<{
6
- state: Map<string, import("@dxos/live-object").Live<{
7
- open: boolean;
8
- current: boolean;
9
- alternateTree?: boolean;
10
- }>>;
11
- getItem: (path: string[]) => import("@dxos/live-object").Live<{
12
- open: boolean;
13
- current: boolean;
14
- alternateTree?: boolean;
15
- }>;
16
- setItem: (path: string[], key: "open" | "current" | "alternateTree", next: boolean) => void;
17
- isOpen: (path: string[], item: Readonly<{
18
- id: string;
19
- type: string;
20
- cacheable?: string[];
21
- properties: Readonly<Partial<{
22
- label: import("@dxos/react-ui").Label;
23
- icon?: string;
24
- disabled?: boolean;
25
- position?: import("@dxos/util").Position;
26
- testId?: string;
27
- className?: string;
28
- headingClassName?: string;
29
- } & {
30
- role?: string;
31
- error?: string;
32
- modified?: boolean;
33
- palette?: string;
34
- } & {
35
- persistenceClass: string;
36
- persistenceKey: string;
37
- acceptPersistenceClass: Set<string>;
38
- acceptPersistenceKey: Set<string>;
39
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
40
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
41
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
42
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
43
- }>>;
44
- data: any;
45
- }>) => boolean;
46
- isCurrent: (path: string[], item: Readonly<{
47
- id: string;
48
- type: string;
49
- cacheable?: string[];
50
- properties: Readonly<Partial<{
51
- label: import("@dxos/react-ui").Label;
52
- icon?: string;
53
- disabled?: boolean;
54
- position?: import("@dxos/util").Position;
55
- testId?: string;
56
- className?: string;
57
- headingClassName?: string;
58
- } & {
59
- role?: string;
60
- error?: string;
61
- modified?: boolean;
62
- palette?: string;
63
- } & {
64
- persistenceClass: string;
65
- persistenceKey: string;
66
- acceptPersistenceClass: Set<string>;
67
- acceptPersistenceKey: Set<string>;
68
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
69
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
70
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
71
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
72
- }>>;
73
- data: any;
74
- }>) => boolean;
75
- isAlternateTree: (path: string[], item: Readonly<{
76
- id: string;
77
- type: string;
78
- cacheable?: string[];
79
- properties: Readonly<Partial<{
80
- label: import("@dxos/react-ui").Label;
81
- icon?: string;
82
- disabled?: boolean;
83
- position?: import("@dxos/util").Position;
84
- testId?: string;
85
- className?: string;
86
- headingClassName?: string;
87
- } & {
88
- role?: string;
89
- error?: string;
90
- modified?: boolean;
91
- palette?: string;
92
- } & {
93
- persistenceClass: string;
94
- persistenceKey: string;
95
- acceptPersistenceClass: Set<string>;
96
- acceptPersistenceKey: Set<string>;
97
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
98
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
99
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
100
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
101
- }>>;
102
- data: any;
103
- }>) => boolean;
104
- }> | import("@dxos/app-framework").AnyCapability[]>>;
105
- export * from './capabilities';
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { OperationHandlerSet } from '@dxos/compute';
3
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
4
+ export declare const Keyboard: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
5
+ export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
6
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
7
+ export declare const State: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("..").NavTreeCapabilities.NavTreeStateStore>>, Error>;
106
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,kPAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,6LAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,KAAK;;;;qBAAyB,CAAC;;;;;qBAGgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;gEAA2F,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;oDAHxM,CAAC;AAEnD,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,QAAQ,8FAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,KAAK,4IAAoD,CAAC"}
@@ -1,4 +1,5 @@
1
- import { type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<null>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
3
4
  export default _default;
4
5
  //# sourceMappingURL=keyboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAQvF,SAAS,aAAa;AAAtC,wBA8CE"}
1
+ {"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
+ declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=operation-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
- import { Capabilities } from '@dxos/app-framework';
2
- declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.ReactSurface>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
3
4
  export default _default;
4
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAM/E,wBAgCK"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,20 +1,6 @@
1
- import { type PluginContext } from '@dxos/app-framework';
2
- import { type Live } from '@dxos/echo';
3
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<{
4
- state: Map<string, Live<{
5
- open: boolean;
6
- current: boolean;
7
- alternateTree?: boolean;
8
- }>>;
9
- getItem: (path: string[]) => Live<{
10
- open: boolean;
11
- current: boolean;
12
- alternateTree?: boolean;
13
- }>;
14
- setItem: (path: string[], key: "open" | "current" | "alternateTree", next: boolean) => void;
15
- isOpen: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
16
- isCurrent: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
17
- isAlternateTree: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
18
- }>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { type NavTreeCapabilities as NC } from '#types';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<NC.NavTreeStateStore>>, Error, Capability.Service>;
19
5
  export default _default;
20
6
  //# sourceMappingURL=state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;yBAwBvB,SAAS,aAAa;;;;qBAnBL,CAAC;;;;;qBAKjB,CAAC;;;;;;;AAclB,wBAwEE"}
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;AAM/D,OAAO,EAAE,KAAK,mBAAmB,IAAI,EAAE,EAAuB,MAAM,QAAQ,CAAC"}
@@ -1,8 +1,15 @@
1
1
  import React from 'react';
2
- import { type TreeProps } from '@dxos/react-ui-list';
3
- import { type NavTreeItemGraphNode } from '../../types';
4
- import { type L1PanelsProps } from '../Sidebar';
2
+ import { Node } from '@dxos/plugin-graph';
3
+ import { type L1TabsProps } from '../Sidebar';
5
4
  export declare const NAV_TREE_ITEM = "NavTreeItem";
6
- export type NavTreeProps = Pick<TreeProps<NavTreeItemGraphNode>, 'id' | 'root'> & Pick<L1PanelsProps, 'open'>;
7
- export declare const NavTree: ({ id, root, ...props }: NavTreeProps) => React.JSX.Element;
5
+ export type NavTreeProps = {
6
+ id: string;
7
+ root?: Node.Node;
8
+ tab: string;
9
+ } & Pick<L1TabsProps, 'open'>;
10
+ export declare const NavTree: React.ForwardRefExoticComponent<{
11
+ id: string;
12
+ root?: Node.Node;
13
+ tab: string;
14
+ } & Pick<L1TabsProps, "open"> & React.RefAttributes<HTMLDivElement>>;
8
15
  //# sourceMappingURL=NavTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAElE,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;AAE9G,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBA2C3D,CAAC"}
1
+ {"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,IAAI,EAAiD,MAAM,oBAAoB,CAAC;AAOzF,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9D,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAGrG,eAAO,MAAM,OAAO;QAHa,MAAM;WAAS,IAAI,CAAC,IAAI;SAAO,MAAM;oEA4BpE,CAAC"}
@@ -1,9 +1,29 @@
1
- import '@dxos-theme';
2
- import { type StoryObj, type Meta } from '@storybook/react-vite';
3
- import { NavTreeContainer } from '../NavTreeContainer';
4
- declare const meta: Meta<typeof NavTreeContainer>;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ import { NavTreeContainer } from '#containers';
4
+ declare const meta: {
5
+ title: string;
6
+ component: React.ComponentType<any>;
7
+ render: () => React.JSX.Element;
8
+ decorators: import("@storybook/react").Decorator[];
9
+ parameters: {
10
+ layout: string;
11
+ translations: [{
12
+ readonly 'en-US': {
13
+ readonly [x: string]: {
14
+ readonly 'app-menu.label': 'App menu';
15
+ readonly 'open-commands.label': 'Search commands';
16
+ readonly 'commands-dialog.title': 'Commands';
17
+ readonly 'command-list-input.placeholder': 'Search for commands\u2026';
18
+ readonly 'node-actions-menu-invoker.label': 'More options';
19
+ readonly 'tree-item-actions.label': 'More actions';
20
+ readonly 'button-back.button': 'Back to Space';
21
+ };
22
+ };
23
+ }];
24
+ };
25
+ };
5
26
  export default meta;
6
27
  type Story = StoryObj<typeof NavTreeContainer>;
7
28
  export declare const Default: Story;
8
- export declare const WithClient: Story;
9
29
  //# sourceMappingURL=NavTree.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAgCjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAgFvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAoCvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAGjC,eAAO,MAAM,UAAU,EAAE,KAoCxB,CAAC"}
1
+ {"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA+F/C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAuC+B,CAAC;eAE3B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type NavTreeContextValue } from './types';
1
+ import { type NavTreeContextValue } from '../types';
2
2
  export declare const NavTreeContext: import("react").Context<NavTreeContextValue | null>;
3
3
  export declare const useNavTreeContext: () => NavTreeContextValue;
4
4
  //# sourceMappingURL=NavTreeContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavTreeContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeContext/NavTreeContext.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,cAAc,qDAAkD,CAAC;AAE9E,eAAO,MAAM,iBAAiB,2BAAiF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './NavTreeContext';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeContext/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC"}
@@ -1,17 +1,21 @@
1
1
  import React from 'react';
2
- import { type Action, type Node } from '@dxos/app-graph';
3
- import { type ActionProperties } from '../../types';
2
+ import { type Node } from '@dxos/app-graph';
3
+ import { type ActionProperties } from '#types';
4
4
  export type NavTreeItemActionMenuProps = ActionProperties & {
5
- parent: Node;
5
+ parent: Node.Node;
6
+ path?: string[];
6
7
  caller?: string;
7
8
  monolithic?: boolean;
8
- menuActions?: Action[];
9
+ menuActions?: Node.Action[];
9
10
  };
10
- export declare const NavTreeItemActionDropdownMenu: ({ parent, label, icon, testId, menuActions, caller, }: NavTreeItemActionMenuProps) => React.JSX.Element;
11
- export declare const NavTreeItemMonolithicAction: ({ parent, properties: { disabled, caller, testId, icon, variant, iconOnly }, data: invoke, baseLabel, }: Action & {
12
- parent: Node;
13
- onAction?: (action: Action) => void;
11
+ export declare const NavTreeItemActionDropdownMenu: React.ForwardRefExoticComponent<Omit<NavTreeItemActionMenuProps, "className"> & {
12
+ classNames?: import("@dxos/ui-types").ClassNameValue;
13
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLButtonElement>>;
14
+ export declare const NavTreeItemMonolithicAction: (props: Node.Action & {
15
+ parent: Node.Node;
16
+ path?: string[];
17
+ onAction?: (action: Node.Action) => void;
14
18
  baseLabel: string;
15
19
  }) => React.JSX.Element;
16
- export declare const NavTreeItemAction: ({ monolithic, menuActions, parent: node, ...props }: NavTreeItemActionMenuProps) => React.JSX.Element;
20
+ export declare const NavTreeItemAction: ({ monolithic, menuActions, menuType, parent, path, ...props }: NavTreeItemActionMenuProps) => React.JSX.Element;
17
21
  //# sourceMappingURL=NavTreeItemAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAMzD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,uDAO3C,0BAA0B,sBAoB5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yGAKzC,MAAM,GAAG;IAAE,MAAM,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,sBA0BnF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,qDAAqD,0BAA0B,sBAWhH,CAAC"}
1
+ {"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAO5C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAc/C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,6BAA6B;;8HA6BzC,CAAC;AAIF,eAAO,MAAM,2BAA2B,UAC/B,IAAI,CAAC,MAAM,GAAG;IACnB,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;CACnB,sBAmCF,CAAC;AAEF,eAAO,MAAM,iBAAiB,kEAO3B,0BAA0B,sBAU5B,CAAC"}
@@ -1,7 +1,36 @@
1
- import '@dxos-theme';
2
- import { type Meta, type StoryObj } from '@storybook/react-vite';
3
- import { NavTreeItemAction } from './NavTreeItemAction';
4
- declare const meta: Meta<typeof NavTreeItemAction>;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import * as Effect from 'effect/Effect';
3
+ import { type NavTreeItemActionMenuProps } from './NavTreeItemAction';
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ monolithic, menuActions, menuType, parent, path, ...props }: NavTreeItemActionMenuProps) => import("react").JSX.Element;
7
+ args: {
8
+ icon: string;
9
+ parent: {
10
+ id: string;
11
+ type: string;
12
+ data: null;
13
+ properties: {
14
+ label: string;
15
+ icon: string;
16
+ };
17
+ };
18
+ menuActions: {
19
+ id: string;
20
+ type: string;
21
+ data: () => Effect.Effect<void, never, never>;
22
+ properties: {
23
+ label: string;
24
+ icon: string;
25
+ };
26
+ }[];
27
+ label: string;
28
+ };
29
+ decorators: import("@storybook/react").Decorator[];
30
+ parameters: {
31
+ layout: string;
32
+ };
33
+ };
5
34
  export default meta;
6
35
  type Story = StoryObj<typeof meta>;
7
36
  export declare const Default: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,EAAE,iBAAiB,EAAmC,MAAM,qBAAqB,CAAC;AA6BzF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAaxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAQxC,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA8BzF,QAAA,MAAM,IAAI;;;;;;;;;;gBAvBN,KAAK;gBACL,IAAI;;;;;;;;gBAeA,KAAK;gBACL,IAAI;;;;;;;QAqBR,MAAM;;CAEgC,CAAC;eAE5B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { NavTreeItemColumnsProps } from '../types';
3
- export declare const NavTreeItemColumns: React.MemoExoticComponent<({ path, item, open, density }: NavTreeItemColumnsProps) => React.JSX.Element>;
2
+ import { type NavTreeItemColumnsProps } from '../types';
3
+ export declare const NavTreeItemColumns: React.MemoExoticComponent<({ path, item, open }: NavTreeItemColumnsProps) => React.JSX.Element>;
4
4
  //# sourceMappingURL=NavTreeItemColumns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAU9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,kBAAkB,4DAAiD,uBAAuB,uBAwDrG,CAAC"}
1
+ {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAUvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAGxD,eAAO,MAAM,kBAAkB,mDAA+B,uBAAuB,uBAuFnF,CAAC"}
@@ -1,13 +1,18 @@
1
1
  import React from 'react';
2
2
  import { type Node } from '@dxos/app-graph';
3
+ import { type ThemedClassName } from '@dxos/react-ui';
3
4
  import { type MenuItem } from '@dxos/react-ui-menu';
5
+ export declare const L0ItemActiveTabIndicator: ({ classNames }: ThemedClassName<{}>) => React.JSX.Element;
4
6
  export type L0MenuProps = {
5
7
  menuActions: MenuItem[];
6
- topLevelItems: Node<any>[];
7
- pinnedItems: Node<any>[];
8
- userAccountItem?: Node<any>;
9
- parent?: Node<any>;
8
+ topLevelItems: Node.Node[];
9
+ pinnedItems: Node.Node[];
10
+ userAccountItem?: Node.Node;
11
+ parent?: Node.Node;
10
12
  path: string[];
13
+ onItemHover?: (params: {
14
+ item: Node.Node;
15
+ }) => void;
11
16
  };
12
- export declare const L0Menu: ({ menuActions, topLevelItems, pinnedItems, userAccountItem, parent, path }: L0MenuProps) => React.JSX.Element;
17
+ export declare const L0Menu: ({ menuActions, topLevelItems, pinnedItems, userAccountItem, parent, path, onItemHover, }: L0MenuProps) => React.JSX.Element;
13
18
  //# sourceMappingURL=L0Menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA0RhF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA2F7G,CAAC"}
1
+ {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAcA,OAAO,KAUN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAKL,KAAK,eAAe,EAKrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAsG1D,eAAO,MAAM,wBAAwB,mBAAoB,eAAe,CAAC,EAAE,CAAC,sBAQ3E,CAAC;AAmHF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,MAAM,6FAQhB,WAAW,sBA4Fb,CAAC"}
@@ -1,15 +1,11 @@
1
1
  import React from 'react';
2
- import { type Node } from '@dxos/app-graph';
2
+ import { Node } from '@dxos/app-graph';
3
3
  export type L1PanelProps = {
4
4
  open?: boolean;
5
- item: Node<any>;
6
5
  path: string[];
7
- currentItemId: string;
6
+ item: Node.Node;
7
+ isCurrent: boolean;
8
8
  onBack?: () => void;
9
9
  };
10
- export type L1PanelsProps = Pick<L1PanelProps, 'open' | 'currentItemId' | 'onBack'> & {
11
- topLevelItems: Node<any>[];
12
- path: string[];
13
- };
14
- export declare const L1Panels: ({ topLevelItems, onBack, ...props }: L1PanelsProps) => React.JSX.Element;
10
+ export declare const L1Panel: React.MemoExoticComponent<({ open, path, item, isCurrent, onBack }: L1PanelProps) => React.JSX.Element>;
15
11
  //# sourceMappingURL=L1Panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AA2B5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAiHF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,CAAC,GAAG;IACpF,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qCAAqC,aAAa,sBAgB1E,CAAC"}
1
+ {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAiBvC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AA4NF,eAAO,MAAM,OAAO,sEAvNuC,YAAY,uBAuNlC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { type Node } from '@dxos/app-graph';
3
+ import { type L1PanelProps } from './L1Panel';
4
+ export type L1TabsProps = Pick<L1PanelProps, 'open' | 'onBack'> & {
5
+ currentItemId: string;
6
+ path: string[];
7
+ topLevelItems: Node.Node[];
8
+ };
9
+ /**
10
+ * Each workspace is an L1 tab.
11
+ */
12
+ export declare const L1Tabs: ({ topLevelItems, currentItemId, onBack, open, path }: L1TabsProps) => React.JSX.Element;
13
+ //# sourceMappingURL=L1Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"L1Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG;IAChE,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,yDAA0D,WAAW,sBAqBvF,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './L0Menu';
2
2
  export * from './L1Panel';
3
+ export * from './L1Tabs';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserAccountAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,sCAAsC,sBAAsB,sBAiB7F,CAAC"}
1
+ {"version":3,"file":"UserAccountAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKtE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yCAA0C,sBAAsB,sBAuB7F,CAAC"}
@@ -1,7 +1,10 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react-vite';
3
- import { UserAccountAvatar } from './UserAccountAvatar';
4
- declare const meta: Meta<typeof UserAccountAvatar>;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ decorators: import("@storybook/react").Decorator[];
5
+ component: ({ size, userId, hue, emoji, status }: import("./UserAccountAvatar").UserAccountAvatarProps) => import("react").JSX.Element;
6
+ };
5
7
  export default meta;
6
- export declare const Default: {};
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Default: Story;
7
10
  //# sourceMappingURL=UserAccountAvatar.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAIlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAIxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;CAIgC,CAAC;eAE5B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,7 +1,4 @@
1
- export * from './CommandsDialog';
2
1
  export * from './NavTree';
3
- export * from './NavTreeContainer';
4
2
  export * from './NavTreeContext';
5
- export * from './NavTreeDocumentTitle';
6
- export * from './types';
3
+ export type * from './types';
7
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC,mBAAmB,SAAS,CAAC"}
@@ -1,30 +1,21 @@
1
1
  import type { FC } from 'react';
2
- import type { Node } from '@dxos/app-graph';
2
+ import { type Node } from '@dxos/app-graph';
3
3
  import type { Density } from '@dxos/react-ui';
4
- import type { TreeProps } from '@dxos/react-ui-list';
5
- import type { MaybePromise } from '@dxos/util';
4
+ import type { TreeModel, TreeProps } from '@dxos/react-ui-list';
5
+ import type { NavTreeItemGraphNode } from '#types';
6
6
  import type { L1PanelProps } from './Sidebar';
7
- import type { FlattenedActions, NavTreeItemGraphNode } from '../types';
8
- export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode, {
9
- disposition?: string;
10
- sort?: boolean;
11
- }>, 'useItems' | 'getProps' | 'isCurrent' | 'isOpen' | 'canDrop' | 'onOpenChange' | 'onSelect'> & Pick<L1PanelProps, 'onBack'> & {
12
- tab: string;
13
- topbar?: boolean;
7
+ export type NavTreeContextValue = {
8
+ model: TreeModel<NavTreeItemGraphNode>;
14
9
  popoverAnchorId?: string;
15
10
  renderItemEnd?: FC<{
16
- node: Node;
11
+ node: Node.Node;
17
12
  open: boolean;
18
13
  }>;
19
- getActions: (node: Node) => FlattenedActions;
20
- loadDescendents?: (node: Node) => MaybePromise<void>;
21
- isAlternateTree?: (path: string[], item: NavTreeItemGraphNode) => boolean;
22
- setAlternateTree?: (path: string[], open: boolean) => void;
23
14
  onTabChange?: (node: NavTreeItemGraphNode) => void;
24
- };
15
+ } & Pick<TreeProps<NavTreeItemGraphNode>, 'blockInstruction' | 'canDrop' | 'canSelect' | 'onOpenChange' | 'onSelect' | 'onItemHover'> & Pick<L1PanelProps, 'onBack'>;
25
16
  export type NavTreeItemColumnsProps = {
26
17
  path: string[];
27
- item: Node;
18
+ item: Node.Node;
28
19
  open: boolean;
29
20
  density?: Density;
30
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,SAAS,CAAC,oBAAoB,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,EACzE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,CAC3F,GACC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAClD,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,gBAAgB,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IACrD,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;IAC1E,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACpD,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACpD,GAAG,IAAI,CACN,SAAS,CAAC,oBAAoB,CAAC,EAC/B,kBAAkB,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,GAAG,UAAU,GAAG,aAAa,CAC3F,GACC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AAE/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export type CommandsDialogContentProps = {
3
+ selected?: string;
4
+ };
5
+ export declare const CommandsDialogContent: React.ForwardRefExoticComponent<CommandsDialogContentProps & React.RefAttributes<HTMLDivElement>>;
6
+ //# sourceMappingURL=CommandsDialogContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandsDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CommandsDialogContent/CommandsDialogContent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAe7D,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,eAAO,MAAM,qBAAqB,mGAsGjC,CAAC"}