@dxos/plugin-navtree 0.8.2-staging.7ac8446 → 0.8.2

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 (149) hide show
  1. package/dist/lib/browser/{app-graph-builder-26D3MUCA.mjs → app-graph-builder-P7AY3K72.mjs} +7 -6
  2. package/dist/lib/browser/app-graph-builder-P7AY3K72.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-4RQJXI4D.mjs → chunk-33VLL4IJ.mjs} +2 -2
  4. package/dist/lib/browser/chunk-33VLL4IJ.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-MFAWMFJC.mjs +1418 -0
  6. package/dist/lib/browser/chunk-MFAWMFJC.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +6 -11
  8. package/dist/lib/browser/index.mjs.map +3 -3
  9. package/dist/lib/browser/{intent-resolver-BZMUS24C.mjs → intent-resolver-NAYKKAOP.mjs} +7 -7
  10. package/dist/lib/browser/intent-resolver-NAYKKAOP.mjs.map +7 -0
  11. package/dist/lib/browser/keyboard-DDFATRUG.mjs +51 -0
  12. package/dist/lib/browser/keyboard-DDFATRUG.mjs.map +7 -0
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/{react-surface-3HCM3SHJ.mjs → react-surface-HGA3TAQU.mjs} +3 -3
  15. package/dist/lib/browser/{state-M5UJ3MHL.mjs → state-R2UMYAHN.mjs} +18 -12
  16. package/dist/lib/browser/state-R2UMYAHN.mjs.map +7 -0
  17. package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
  18. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  19. package/dist/types/src/capabilities/capabilities.d.ts +7 -4
  20. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  21. package/dist/types/src/capabilities/index.d.ts +38 -183
  22. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  23. package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
  24. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  25. package/dist/types/src/capabilities/keyboard.d.ts +2 -2
  26. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  27. package/dist/types/src/capabilities/state.d.ts +9 -6
  28. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  29. package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts.map +1 -0
  30. package/dist/types/src/components/CommandsDialog/CommandsTrigger.d.ts.map +1 -0
  31. package/dist/types/src/components/CommandsDialog/index.d.ts +3 -0
  32. package/dist/types/src/components/CommandsDialog/index.d.ts.map +1 -0
  33. package/dist/types/src/components/NavTree/NavTree.d.ts +8 -0
  34. package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -0
  35. package/dist/types/src/components/NavTree/NavTree.stories.d.ts +8 -0
  36. package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -0
  37. package/dist/types/src/components/NavTree/index.d.ts +2 -0
  38. package/dist/types/src/components/NavTree/index.d.ts.map +1 -0
  39. package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
  40. package/dist/types/src/components/NavTreeContext.d.ts.map +1 -1
  41. package/dist/types/src/components/NavTreeDocumentTitle.d.ts.map +1 -1
  42. package/dist/types/src/components/{NavTreeItemAction.d.ts → NavTreeItem/NavTreeItemAction.d.ts} +3 -5
  43. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts.map +1 -0
  44. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +8 -0
  45. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -0
  46. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts +4 -0
  47. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts.map +1 -0
  48. package/dist/types/src/components/NavTreeItem/index.d.ts +3 -0
  49. package/dist/types/src/components/NavTreeItem/index.d.ts.map +1 -0
  50. package/dist/types/src/components/Sidebar/L0Menu.d.ts +13 -0
  51. package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -0
  52. package/dist/types/src/components/Sidebar/L1Panel.d.ts +15 -0
  53. package/dist/types/src/components/Sidebar/L1Panel.d.ts.map +1 -0
  54. package/dist/types/src/components/Sidebar/index.d.ts +3 -0
  55. package/dist/types/src/components/Sidebar/index.d.ts.map +1 -0
  56. package/dist/types/src/components/{UserAccountAvatar.d.ts → UserAccountAvatar/UserAccountAvatar.d.ts} +1 -1
  57. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.d.ts.map +1 -0
  58. package/dist/types/src/components/{UserAccountAvatar.stories.d.ts → UserAccountAvatar/UserAccountAvatar.stories.d.ts} +1 -2
  59. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -0
  60. package/dist/types/src/components/UserAccountAvatar/index.d.ts +2 -0
  61. package/dist/types/src/components/UserAccountAvatar/index.d.ts.map +1 -0
  62. package/dist/types/src/components/index.d.ts +0 -1
  63. package/dist/types/src/components/index.d.ts.map +1 -1
  64. package/dist/types/src/components/types.d.ts +20 -14
  65. package/dist/types/src/components/types.d.ts.map +1 -1
  66. package/dist/types/src/experimental/Tree.d.ts.map +1 -1
  67. package/dist/types/src/hooks.d.ts.map +1 -1
  68. package/dist/types/src/testing/app-graph-builder.d.ts +3 -0
  69. package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -0
  70. package/dist/types/src/testing/generator.d.ts +7 -6
  71. package/dist/types/src/testing/generator.d.ts.map +1 -1
  72. package/dist/types/src/testing/index.d.ts +1 -0
  73. package/dist/types/src/testing/index.d.ts.map +1 -1
  74. package/dist/types/src/testing/update-state.d.ts.map +1 -1
  75. package/dist/types/src/translations.d.ts +1 -0
  76. package/dist/types/src/translations.d.ts.map +1 -1
  77. package/dist/types/src/util.d.ts +7 -10
  78. package/dist/types/src/util.d.ts.map +1 -1
  79. package/dist/types/tsconfig.tsbuildinfo +1 -1
  80. package/package.json +42 -32
  81. package/src/NavTreePlugin.tsx +2 -2
  82. package/src/capabilities/app-graph-builder.ts +38 -28
  83. package/src/capabilities/capabilities.ts +5 -4
  84. package/src/capabilities/intent-resolver.ts +8 -7
  85. package/src/capabilities/keyboard.ts +37 -32
  86. package/src/capabilities/state.ts +23 -17
  87. package/src/components/{CommandsDialog.tsx → CommandsDialog/CommandsDialog.tsx} +8 -7
  88. package/src/components/{CommandsTrigger.tsx → CommandsDialog/CommandsTrigger.tsx} +1 -1
  89. package/src/components/CommandsDialog/index.ts +6 -0
  90. package/src/components/NavTree/NavTree.stories.tsx +159 -0
  91. package/src/components/NavTree/NavTree.tsx +62 -0
  92. package/src/components/NavTree/index.ts +5 -0
  93. package/src/components/NavTreeContainer.tsx +85 -67
  94. package/src/components/NavTreeContext.tsx +1 -1
  95. package/src/components/{NavTreeItemAction.stories.tsx → NavTreeItem/NavTreeItemAction.stories.tsx} +12 -6
  96. package/src/components/{NavTreeItemAction.tsx → NavTreeItem/NavTreeItemAction.tsx} +19 -22
  97. package/src/components/NavTreeItem/NavTreeItemColumns.tsx +73 -0
  98. package/src/components/NavTreeItem/index.ts +6 -0
  99. package/src/components/{L0Menu.tsx → Sidebar/L0Menu.tsx} +186 -131
  100. package/src/components/Sidebar/L1Panel.tsx +175 -0
  101. package/src/components/Sidebar/index.ts +6 -0
  102. package/src/components/{UserAccountAvatar.stories.tsx → UserAccountAvatar/UserAccountAvatar.stories.tsx} +5 -5
  103. package/src/components/{UserAccountAvatar.tsx → UserAccountAvatar/UserAccountAvatar.tsx} +7 -7
  104. package/src/components/UserAccountAvatar/index.ts +5 -0
  105. package/src/components/index.ts +0 -1
  106. package/src/components/types.ts +20 -15
  107. package/src/testing/app-graph-builder.ts +224 -0
  108. package/src/testing/generator.ts +15 -12
  109. package/src/testing/index.ts +1 -0
  110. package/src/translations.ts +1 -0
  111. package/src/util.ts +10 -32
  112. package/dist/lib/browser/app-graph-builder-26D3MUCA.mjs.map +0 -7
  113. package/dist/lib/browser/chunk-4RQJXI4D.mjs.map +0 -7
  114. package/dist/lib/browser/chunk-DN43QXSX.mjs +0 -1222
  115. package/dist/lib/browser/chunk-DN43QXSX.mjs.map +0 -7
  116. package/dist/lib/browser/intent-resolver-BZMUS24C.mjs.map +0 -7
  117. package/dist/lib/browser/keyboard-IQXHKUWM.mjs +0 -46
  118. package/dist/lib/browser/keyboard-IQXHKUWM.mjs.map +0 -7
  119. package/dist/lib/browser/state-M5UJ3MHL.mjs.map +0 -7
  120. package/dist/types/src/components/CommandsDialog.d.ts.map +0 -1
  121. package/dist/types/src/components/CommandsTrigger.d.ts.map +0 -1
  122. package/dist/types/src/components/L0Menu.d.ts +0 -10
  123. package/dist/types/src/components/L0Menu.d.ts.map +0 -1
  124. package/dist/types/src/components/L1Panels.d.ts +0 -14
  125. package/dist/types/src/components/L1Panels.d.ts.map +0 -1
  126. package/dist/types/src/components/NavTree.d.ts +0 -5
  127. package/dist/types/src/components/NavTree.d.ts.map +0 -1
  128. package/dist/types/src/components/NavTree.stories.d.ts +0 -7
  129. package/dist/types/src/components/NavTree.stories.d.ts.map +0 -1
  130. package/dist/types/src/components/NavTreeItemAction.d.ts.map +0 -1
  131. package/dist/types/src/components/NavTreeItemAction.stories.d.ts +0 -41
  132. package/dist/types/src/components/NavTreeItemAction.stories.d.ts.map +0 -1
  133. package/dist/types/src/components/NavTreeItemColumns.d.ts +0 -4
  134. package/dist/types/src/components/NavTreeItemColumns.d.ts.map +0 -1
  135. package/dist/types/src/components/UserAccountAvatar.d.ts.map +0 -1
  136. package/dist/types/src/components/UserAccountAvatar.stories.d.ts.map +0 -1
  137. package/dist/types/src/stories/Graph.stories.d.ts +0 -7
  138. package/dist/types/src/stories/Graph.stories.d.ts.map +0 -1
  139. package/dist/types/src/stories/StorybookNavTree.d.ts +0 -4
  140. package/dist/types/src/stories/StorybookNavTree.d.ts.map +0 -1
  141. package/src/components/L1Panels.tsx +0 -115
  142. package/src/components/NavTree.stories.tsx +0 -107
  143. package/src/components/NavTree.tsx +0 -51
  144. package/src/components/NavTreeItemColumns.tsx +0 -71
  145. package/src/stories/Graph.stories.tsx +0 -130
  146. package/src/stories/StorybookNavTree.tsx +0 -63
  147. /package/dist/lib/browser/{react-surface-3HCM3SHJ.mjs.map → react-surface-HGA3TAQU.mjs.map} +0 -0
  148. /package/dist/types/src/components/{CommandsDialog.d.ts → CommandsDialog/CommandsDialog.d.ts} +0 -0
  149. /package/dist/types/src/components/{CommandsTrigger.d.ts → CommandsDialog/CommandsTrigger.d.ts} +0 -0
@@ -1,193 +1,19 @@
1
- export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
2
- id: string;
3
- position: import("@dxos/util").Position;
4
- resolver?: import("@dxos/app-graph").ResolverExtension;
5
- connector?: import("@dxos/app-graph").ConnectorExtension;
6
- relation?: import("@dxos/app-graph").Relation;
7
- type?: string;
8
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
9
- }> | Readonly<{
10
- id: string;
11
- position: import("@dxos/util").Position;
12
- resolver?: import("@dxos/app-graph").ResolverExtension;
13
- connector?: import("@dxos/app-graph").ConnectorExtension;
14
- relation?: import("@dxos/app-graph").Relation;
15
- type?: string;
16
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
17
- }>[] | (Readonly<{
18
- id: string;
19
- position: import("@dxos/util").Position;
20
- resolver?: import("@dxos/app-graph").ResolverExtension;
21
- connector?: import("@dxos/app-graph").ConnectorExtension;
22
- relation?: import("@dxos/app-graph").Relation;
23
- type?: string;
24
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
25
- }> | Readonly<{
26
- id: string;
27
- position: import("@dxos/util").Position;
28
- resolver?: import("@dxos/app-graph").ResolverExtension;
29
- connector?: import("@dxos/app-graph").ConnectorExtension;
30
- relation?: import("@dxos/app-graph").Relation;
31
- type?: string;
32
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
33
- }>[] | (Readonly<{
34
- id: string;
35
- position: import("@dxos/util").Position;
36
- resolver?: import("@dxos/app-graph").ResolverExtension;
37
- connector?: import("@dxos/app-graph").ConnectorExtension;
38
- relation?: import("@dxos/app-graph").Relation;
39
- type?: string;
40
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
41
- }> | Readonly<{
42
- id: string;
43
- position: import("@dxos/util").Position;
44
- resolver?: import("@dxos/app-graph").ResolverExtension;
45
- connector?: import("@dxos/app-graph").ConnectorExtension;
46
- relation?: import("@dxos/app-graph").Relation;
47
- type?: string;
48
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
49
- }>[] | (Readonly<{
50
- id: string;
51
- position: import("@dxos/util").Position;
52
- resolver?: import("@dxos/app-graph").ResolverExtension;
53
- connector?: import("@dxos/app-graph").ConnectorExtension;
54
- relation?: import("@dxos/app-graph").Relation;
55
- type?: string;
56
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
57
- }> | Readonly<{
58
- id: string;
59
- position: import("@dxos/util").Position;
60
- resolver?: import("@dxos/app-graph").ResolverExtension;
61
- connector?: import("@dxos/app-graph").ConnectorExtension;
62
- relation?: import("@dxos/app-graph").Relation;
63
- type?: string;
64
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
65
- }>[] | (Readonly<{
66
- id: string;
67
- position: import("@dxos/util").Position;
68
- resolver?: import("@dxos/app-graph").ResolverExtension;
69
- connector?: import("@dxos/app-graph").ConnectorExtension;
70
- relation?: import("@dxos/app-graph").Relation;
71
- type?: string;
72
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
73
- }> | Readonly<{
74
- id: string;
75
- position: import("@dxos/util").Position;
76
- resolver?: import("@dxos/app-graph").ResolverExtension;
77
- connector?: import("@dxos/app-graph").ConnectorExtension;
78
- relation?: import("@dxos/app-graph").Relation;
79
- type?: string;
80
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
81
- }>[] | (Readonly<{
82
- id: string;
83
- position: import("@dxos/util").Position;
84
- resolver?: import("@dxos/app-graph").ResolverExtension;
85
- connector?: import("@dxos/app-graph").ConnectorExtension;
86
- relation?: import("@dxos/app-graph").Relation;
87
- type?: string;
88
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
89
- }> | Readonly<{
90
- id: string;
91
- position: import("@dxos/util").Position;
92
- resolver?: import("@dxos/app-graph").ResolverExtension;
93
- connector?: import("@dxos/app-graph").ConnectorExtension;
94
- relation?: import("@dxos/app-graph").Relation;
95
- type?: string;
96
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
97
- }>[] | (Readonly<{
98
- id: string;
99
- position: import("@dxos/util").Position;
100
- resolver?: import("@dxos/app-graph").ResolverExtension;
101
- connector?: import("@dxos/app-graph").ConnectorExtension;
102
- relation?: import("@dxos/app-graph").Relation;
103
- type?: string;
104
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
105
- }> | Readonly<{
106
- id: string;
107
- position: import("@dxos/util").Position;
108
- resolver?: import("@dxos/app-graph").ResolverExtension;
109
- connector?: import("@dxos/app-graph").ConnectorExtension;
110
- relation?: import("@dxos/app-graph").Relation;
111
- type?: string;
112
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
113
- }>[] | (Readonly<{
114
- id: string;
115
- position: import("@dxos/util").Position;
116
- resolver?: import("@dxos/app-graph").ResolverExtension;
117
- connector?: import("@dxos/app-graph").ConnectorExtension;
118
- relation?: import("@dxos/app-graph").Relation;
119
- type?: string;
120
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
121
- }> | Readonly<{
122
- id: string;
123
- position: import("@dxos/util").Position;
124
- resolver?: import("@dxos/app-graph").ResolverExtension;
125
- connector?: import("@dxos/app-graph").ConnectorExtension;
126
- relation?: import("@dxos/app-graph").Relation;
127
- type?: string;
128
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
129
- }>[] | (Readonly<{
130
- id: string;
131
- position: import("@dxos/util").Position;
132
- resolver?: import("@dxos/app-graph").ResolverExtension;
133
- connector?: import("@dxos/app-graph").ConnectorExtension;
134
- relation?: import("@dxos/app-graph").Relation;
135
- type?: string;
136
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
137
- }> | Readonly<{
138
- id: string;
139
- position: import("@dxos/util").Position;
140
- resolver?: import("@dxos/app-graph").ResolverExtension;
141
- connector?: import("@dxos/app-graph").ConnectorExtension;
142
- relation?: import("@dxos/app-graph").Relation;
143
- type?: string;
144
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
145
- }>[] | (Readonly<{
146
- id: string;
147
- position: import("@dxos/util").Position;
148
- resolver?: import("@dxos/app-graph").ResolverExtension;
149
- connector?: import("@dxos/app-graph").ConnectorExtension;
150
- relation?: import("@dxos/app-graph").Relation;
151
- type?: string;
152
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
153
- }> | Readonly<{
154
- id: string;
155
- position: import("@dxos/util").Position;
156
- resolver?: import("@dxos/app-graph").ResolverExtension;
157
- connector?: import("@dxos/app-graph").ConnectorExtension;
158
- relation?: import("@dxos/app-graph").Relation;
159
- type?: string;
160
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
161
- }>[] | (any[] | Readonly<{
162
- id: string;
163
- position: import("@dxos/util").Position;
164
- resolver?: import("@dxos/app-graph").ResolverExtension;
165
- connector?: import("@dxos/app-graph").ConnectorExtension;
166
- relation?: import("@dxos/app-graph").Relation;
167
- type?: string;
168
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
169
- }> | Readonly<{
170
- id: string;
171
- position: import("@dxos/util").Position;
172
- resolver?: import("@dxos/app-graph").ResolverExtension;
173
- connector?: import("@dxos/app-graph").ConnectorExtension;
174
- relation?: import("@dxos/app-graph").Relation;
175
- type?: string;
176
- filter?: (node: import("@dxos/app-graph").Node) => boolean;
177
- }>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
178
- export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
179
- export declare const Keyboard: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
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[]>>;
180
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[]>>;
181
- export declare const State: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<{
182
- state: Map<string, import("@dxos/live-object").ReactiveObject<{
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<{
183
7
  open: boolean;
184
8
  current: boolean;
9
+ alternateTree?: boolean;
185
10
  }>>;
186
- getItem: (path: string[]) => import("@dxos/live-object").ReactiveObject<{
11
+ getItem: (path: string[]) => import("@dxos/live-object").Live<{
187
12
  open: boolean;
188
13
  current: boolean;
14
+ alternateTree?: boolean;
189
15
  }>;
190
- setItem: (path: string[], key: "open" | "current", next: boolean) => void;
16
+ setItem: (path: string[], key: "open" | "current" | "alternateTree", next: boolean) => void;
191
17
  isOpen: (path: string[], item: Readonly<{
192
18
  id: string;
193
19
  type: string;
@@ -246,6 +72,35 @@ export declare const State: (props?: import("@dxos/app-framework").PluginsContex
246
72
  }>>;
247
73
  data: any;
248
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;
249
104
  }> | import("@dxos/app-framework").AnyCapability[]>>;
250
105
  export * from './capabilities';
251
106
  //# 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;;qBAOm8F,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iB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ginsContext, Capabilities } from '@dxos/app-framework';
2
- declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver>;
1
+ import { type PluginContext, Capabilities } from '@dxos/app-framework';
2
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=intent-resolver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,cAAc,EAAE,YAAY,EAAgC,MAAM,qBAAqB,CAAC;kCAM1F,cAAc;AAAvC,wBAyBI"}
1
+ {"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAMA,OAAO,EAAe,KAAK,aAAa,EAAE,YAAY,EAAgC,MAAM,qBAAqB,CAAC;yBAKlG,SAAS,aAAa;AAAtC,wBAyBI"}
@@ -1,4 +1,4 @@
1
- import { type PluginsContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<null>;
1
+ import { type PluginContext } from '@dxos/app-framework';
2
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<null>;
3
3
  export default _default;
4
4
  //# 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,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAO/E,cAAc;AAAvC,wBA0CE"}
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,17 +1,20 @@
1
- import { type PluginsContext } from '@dxos/app-framework';
2
- import { type ReactiveObject } from '@dxos/live-object';
3
- declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<{
4
- state: Map<string, ReactiveObject<{
1
+ import { type PluginContext } from '@dxos/app-framework';
2
+ import { type Live } from '@dxos/live-object';
3
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<{
4
+ state: Map<string, Live<{
5
5
  open: boolean;
6
6
  current: boolean;
7
+ alternateTree?: boolean;
7
8
  }>>;
8
- getItem: (path: string[]) => ReactiveObject<{
9
+ getItem: (path: string[]) => Live<{
9
10
  open: boolean;
10
11
  current: boolean;
12
+ alternateTree?: boolean;
11
13
  }>;
12
- setItem: (path: string[], key: "open" | "current", next: boolean) => void;
14
+ setItem: (path: string[], key: "open" | "current" | "alternateTree", next: boolean) => void;
13
15
  isOpen: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
14
16
  isCurrent: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
17
+ isAlternateTree: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
15
18
  }>;
16
19
  export default _default;
17
20
  //# 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,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,KAAK,cAAc,EAAU,MAAM,mBAAmB,CAAC;kCA4BvC,cAAc;;;;;;;;;;;;;AAAvC,wBA6DE"}
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,EAAQ,MAAM,mBAAmB,CAAC;yBA4BpC,SAAS,aAAa;;;;qBAtBR,CAAC;;;;;qBAIvB,CAAC;;;;;;;AAkBT,wBAmEE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandsDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAcjD,eAAO,MAAM,qBAAqB,GAAI,uBAAuB;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,sBA6FjF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandsTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsTrigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,eAAe,yBAsB3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './CommandsDialog';
2
+ export * from './CommandsTrigger';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
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';
5
+ 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;
8
+ //# sourceMappingURL=NavTree.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,8 @@
1
+ import '@dxos-theme';
2
+ import { type StoryObj, type Meta } from '@storybook/react';
3
+ import { NavTreeContainer } from '../NavTreeContainer';
4
+ declare const meta: Meta<typeof NavTreeContainer>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof NavTreeContainer>;
7
+ export declare const Default: Story;
8
+ //# sourceMappingURL=NavTree.stories.d.ts.map
@@ -0,0 +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,kBAAkB,CAAC;AA8B5D,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"}
@@ -0,0 +1,2 @@
1
+ export * from './NavTree';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAqBrE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAcnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAS/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,gBAAgB,+DAA2C,qBAAqB,uBA0P3F,CAAC"}
1
+ {"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAsBrE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAOnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAgC/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,gBAAgB,+DAA2C,qBAAqB,uBA2P3F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeContext.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContext.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,cAAc,qDAAkD,CAAC;AAE9E,eAAO,MAAM,iBAAiB,2BAAmF,CAAC"}
1
+ {"version":3,"file":"NavTreeContext.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContext.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,cAAc,qDAAkD,CAAC;AAE9E,eAAO,MAAM,iBAAiB,2BAAiF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeDocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeDocumentTitle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,eAAO,MAAM,oBAAoB,aAAc;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,SAM7D,CAAC"}
1
+ {"version":3,"file":"NavTreeDocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeDocumentTitle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,eAAO,MAAM,oBAAoB,GAAI,UAAU;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,SAM7D,CAAC"}
@@ -1,15 +1,13 @@
1
- import React, { type MutableRefObject } from 'react';
1
+ import React from 'react';
2
2
  import { type Action, type Node } from '@dxos/app-graph';
3
- import { type ActionProperties } from '../types';
3
+ import { type ActionProperties } from '../../types';
4
4
  export type NavTreeItemActionMenuProps = ActionProperties & {
5
5
  parent: Node;
6
6
  caller?: string;
7
7
  monolithic?: boolean;
8
8
  menuActions?: Action[];
9
- suppressNextTooltip?: MutableRefObject<boolean>;
10
- onAction?: (action: Action) => void;
11
9
  };
12
- export declare const NavTreeItemActionDropdownMenu: ({ label, icon, testId, menuActions, onAction, }: NavTreeItemActionMenuProps) => React.JSX.Element;
10
+ export declare const NavTreeItemActionDropdownMenu: ({ parent, label, icon, testId, menuActions, caller, }: NavTreeItemActionMenuProps) => React.JSX.Element;
13
11
  export declare const NavTreeItemMonolithicAction: ({ parent, properties: { disabled, caller, testId, icon, variant, iconOnly }, data: invoke, baseLabel, }: Action & {
14
12
  parent: Node;
15
13
  onAction?: (action: Action) => void;
@@ -0,0 +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"}
@@ -0,0 +1,8 @@
1
+ import '@dxos-theme';
2
+ import { type Meta, type StoryObj } from '@storybook/react';
3
+ import { NavTreeItemAction } from './NavTreeItemAction';
4
+ declare const meta: Meta<typeof NavTreeItemAction>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Default: Story;
8
+ //# sourceMappingURL=NavTreeItemAction.stories.d.ts.map
@@ -0,0 +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,kBAAkB,CAAC;AAM5D,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"}
@@ -0,0 +1,4 @@
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>;
4
+ //# sourceMappingURL=NavTreeItemColumns.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,3 @@
1
+ export * from './NavTreeItemAction';
2
+ export * from './NavTreeItemColumns';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { type Node } from '@dxos/app-graph';
3
+ import { type MenuItem } from '@dxos/react-ui-menu';
4
+ export type L0MenuProps = {
5
+ menuActions: MenuItem[];
6
+ topLevelItems: Node<any>[];
7
+ pinnedItems: Node<any>[];
8
+ userAccountItem: Node<any>;
9
+ parent?: Node<any>;
10
+ path: string[];
11
+ };
12
+ export declare const L0Menu: ({ menuActions, topLevelItems, pinnedItems, userAccountItem, parent, path }: L0MenuProps) => React.JSX.Element;
13
+ //# sourceMappingURL=L0Menu.d.ts.map
@@ -0,0 +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;AAY5C,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA4QhF,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,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBAuF7G,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type Node } from '@dxos/app-graph';
3
+ export type L1PanelProps = {
4
+ open?: boolean;
5
+ item: Node<any>;
6
+ path: string[];
7
+ currentItemId: string;
8
+ onBack?: () => void;
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;
15
+ //# sourceMappingURL=L1Panel.d.ts.map
@@ -0,0 +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;AAkHF,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"}
@@ -0,0 +1,3 @@
1
+ export * from './L0Menu';
2
+ export * from './L1Panel';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -7,5 +7,5 @@ export type UserAccountAvatarProps = {
7
7
  emoji?: string;
8
8
  status?: AvatarStatus;
9
9
  };
10
- export declare const UserAccountAvatar: (props: UserAccountAvatarProps) => React.JSX.Element;
10
+ export declare const UserAccountAvatar: ({ size, userId, hue, emoji, status }: UserAccountAvatarProps) => React.JSX.Element;
11
11
  //# sourceMappingURL=UserAccountAvatar.d.ts.map
@@ -0,0 +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,8 +1,7 @@
1
1
  import '@dxos-theme';
2
2
  import { type Meta } from '@storybook/react';
3
- import React from 'react';
4
3
  import { UserAccountAvatar } from './UserAccountAvatar';
5
- export declare const Default: (props: any) => React.JSX.Element;
6
4
  declare const meta: Meta<typeof UserAccountAvatar>;
7
5
  export default meta;
6
+ export declare const Default: {};
8
7
  //# sourceMappingURL=UserAccountAvatar.stories.d.ts.map
@@ -0,0 +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,kBAAkB,CAAC;AAI7C,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"}
@@ -0,0 +1,2 @@
1
+ export * from './UserAccountAvatar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export * from './CommandsDialog';
2
- export * from './CommandsTrigger';
3
2
  export * from './NavTree';
4
3
  export * from './NavTreeContainer';
5
4
  export * from './NavTreeContext';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,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,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
@@ -1,26 +1,32 @@
1
1
  import type { FC } from 'react';
2
2
  import type { Node } from '@dxos/app-graph';
3
+ import type { Density } from '@dxos/react-ui';
3
4
  import type { TreeProps } from '@dxos/react-ui-list';
4
5
  import type { MaybePromise } from '@dxos/util';
5
- import { type L1PanelProps } from './L1Panels';
6
+ import { type L1PanelProps } from './Sidebar';
6
7
  import type { FlattenedActions, NavTreeItemGraphNode } from '../types';
7
- export type NavTreeItemColumnsProps = {
8
- path: string[];
9
- item: Node;
10
- open: boolean;
11
- };
12
- export type NavTreeProps = Pick<TreeProps<NavTreeItemGraphNode>, 'id' | 'root'>;
13
- export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode>, 'getProps' | 'isCurrent' | 'isOpen' | 'onOpenChange' | 'canDrop' | 'onSelect'> & Pick<L1PanelProps, 'onBack'> & {
8
+ export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode>, 'getProps' | 'isCurrent' | 'isOpen' | 'canDrop' | 'onOpenChange' | 'onSelect'> & Pick<L1PanelProps, 'onBack'> & {
14
9
  tab: string;
15
- onTabChange?: (node: NavTreeItemGraphNode) => void;
16
- getItems: (node?: NavTreeItemGraphNode, disposition?: string) => NavTreeItemGraphNode[];
17
- getActions: (node: Node) => FlattenedActions;
18
- loadDescendents?: (node: Node) => MaybePromise<void>;
10
+ topbar?: boolean;
11
+ popoverAnchorId?: string;
19
12
  renderItemEnd?: FC<{
20
13
  node: Node;
21
14
  open: boolean;
22
15
  }>;
23
- popoverAnchorId?: string;
24
- topbar?: boolean;
16
+ useItems: (node?: NavTreeItemGraphNode, options?: {
17
+ disposition?: string;
18
+ sort?: boolean;
19
+ }) => NavTreeItemGraphNode[];
20
+ getActions: (node: Node) => FlattenedActions;
21
+ loadDescendents?: (node: Node) => MaybePromise<void>;
22
+ isAlternateTree?: (path: string[], item: NavTreeItemGraphNode) => boolean;
23
+ setAlternateTree?: (path: string[], open: boolean) => void;
24
+ onTabChange?: (node: NavTreeItemGraphNode) => void;
25
+ };
26
+ export type NavTreeItemColumnsProps = {
27
+ path: string[];
28
+ item: Node;
29
+ open: boolean;
30
+ density?: Density;
25
31
  };
26
32
  //# sourceMappingURL=types.d.ts.map
@@ -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,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,KAAK,YAAY,EAAE,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