@dxos/plugin-navtree 0.7.5-main.9d2a38b → 0.7.5-main.c41020f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{app-graph-builder-OF4MMBLH.mjs → app-graph-builder-BL7LRXCM.mjs} +7 -5
- package/dist/lib/browser/{app-graph-builder-OF4MMBLH.mjs.map → app-graph-builder-BL7LRXCM.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-OI7AAA6Q.mjs → chunk-AOAGODQB.mjs} +1 -1
- package/dist/lib/browser/chunk-AOAGODQB.mjs.map +7 -0
- package/dist/lib/browser/chunk-GXNOX2XZ.mjs +1262 -0
- package/dist/lib/browser/chunk-GXNOX2XZ.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +22 -27
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-U25VBFH3.mjs +47 -0
- package/dist/lib/browser/intent-resolver-U25VBFH3.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-SG4QBA2U.mjs +57 -0
- package/dist/lib/browser/react-surface-SG4QBA2U.mjs.map +7 -0
- package/dist/lib/browser/{state-HT65TAYL.mjs → state-IEFQTUPG.mjs} +7 -10
- package/dist/lib/browser/state-IEFQTUPG.mjs.map +7 -0
- package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +110 -110
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +3 -2
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +178 -122
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +3 -3
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/CommandsDialog.d.ts +1 -2
- package/dist/types/src/components/CommandsDialog.d.ts.map +1 -1
- package/dist/types/src/components/CommandsTrigger.d.ts +1 -2
- package/dist/types/src/components/CommandsTrigger.d.ts.map +1 -1
- package/dist/types/src/components/HaloButton.d.ts +1 -2
- package/dist/types/src/components/HaloButton.d.ts.map +1 -1
- package/dist/types/src/components/HaloButton.stories.d.ts +1 -2
- package/dist/types/src/components/HaloButton.stories.d.ts.map +1 -1
- package/dist/types/src/components/L0Menu.d.ts +8 -0
- package/dist/types/src/components/L0Menu.d.ts.map +1 -0
- package/dist/types/src/components/L1Panels.d.ts +13 -0
- package/dist/types/src/components/L1Panels.d.ts.map +1 -0
- package/dist/types/src/components/NavTree.d.ts +2 -20
- package/dist/types/src/components/NavTree.d.ts.map +1 -1
- package/dist/types/src/components/NavTree.stories.d.ts +2 -2
- package/dist/types/src/components/NavTree.stories.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeContainer.d.ts +4 -3
- package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeContext.d.ts +4 -0
- package/dist/types/src/components/NavTreeContext.d.ts.map +1 -0
- package/dist/types/src/components/NavTreeItemAction.d.ts +5 -5
- package/dist/types/src/components/NavTreeItemAction.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItemAction.stories.d.ts +2 -2
- package/dist/types/src/components/NavTreeItemColumns.d.ts +4 -0
- package/dist/types/src/components/NavTreeItemColumns.d.ts.map +1 -0
- package/dist/types/src/components/NotchStart.d.ts +1 -2
- package/dist/types/src/components/NotchStart.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/types.d.ts +26 -0
- package/dist/types/src/components/types.d.ts.map +1 -0
- package/dist/types/src/experimental/Tree.d.ts +8 -8
- package/dist/types/src/experimental/Tree.d.ts.map +1 -1
- package/dist/types/src/experimental/Tree.stories.d.ts +2 -3
- package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/hooks.d.ts +3 -0
- package/dist/types/src/hooks.d.ts.map +1 -0
- package/dist/types/src/stories/Graph.stories.d.ts +2 -2
- package/dist/types/src/stories/Graph.stories.d.ts.map +1 -1
- package/dist/types/src/stories/StorybookNavTree.d.ts +3 -0
- package/dist/types/src/stories/StorybookNavTree.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +0 -6
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +2 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +9 -0
- package/dist/types/src/util.d.ts.map +1 -1
- package/package.json +33 -31
- package/src/NavTreePlugin.tsx +9 -11
- package/src/capabilities/app-graph-builder.ts +6 -4
- package/src/capabilities/capabilities.ts +3 -2
- package/src/capabilities/intent-resolver.ts +22 -16
- package/src/capabilities/react-surface.tsx +15 -41
- package/src/capabilities/state.ts +6 -9
- package/src/components/CommandsDialog.tsx +3 -4
- package/src/components/CommandsTrigger.tsx +7 -5
- package/src/components/L0Menu.tsx +332 -0
- package/src/components/L1Panels.tsx +119 -0
- package/src/components/NavTree.stories.tsx +6 -6
- package/src/components/NavTree.tsx +26 -116
- package/src/components/NavTreeContainer.tsx +114 -33
- package/src/components/NavTreeContext.tsx +13 -0
- package/src/components/NavTreeItemAction.tsx +12 -4
- package/src/components/NavTreeItemColumns.tsx +71 -0
- package/src/components/NotchStart.tsx +2 -2
- package/src/components/index.ts +2 -0
- package/src/components/types.ts +35 -0
- package/src/hooks.ts +21 -0
- package/src/stories/Graph.stories.tsx +6 -5
- package/src/stories/StorybookNavTree.tsx +63 -0
- package/src/translations.ts +0 -6
- package/src/types.ts +2 -1
- package/src/util.ts +56 -2
- package/dist/lib/browser/chunk-IMGT2LAL.mjs +0 -658
- package/dist/lib/browser/chunk-IMGT2LAL.mjs.map +0 -7
- package/dist/lib/browser/chunk-OI7AAA6Q.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-74JPWYBP.mjs +0 -42
- package/dist/lib/browser/intent-resolver-74JPWYBP.mjs.map +0 -7
- package/dist/lib/browser/react-surface-6QWXI53A.mjs +0 -189
- package/dist/lib/browser/react-surface-6QWXI53A.mjs.map +0 -7
- package/dist/lib/browser/state-HT65TAYL.mjs.map +0 -7
- package/dist/types/src/components/NavTreeFooter.d.ts +0 -6
- package/dist/types/src/components/NavTreeFooter.d.ts.map +0 -1
- package/src/components/NavTreeFooter.tsx +0 -161
|
@@ -1,195 +1,251 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
4
|
-
resolver?: import("
|
|
5
|
-
connector?: import("
|
|
6
|
-
relation?: import("
|
|
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
7
|
type?: string;
|
|
8
|
-
filter?: (node: import("
|
|
8
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
9
9
|
}> | Readonly<{
|
|
10
10
|
id: string;
|
|
11
|
-
|
|
12
|
-
resolver?: import("
|
|
13
|
-
connector?: import("
|
|
14
|
-
relation?: import("
|
|
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
15
|
type?: string;
|
|
16
|
-
filter?: (node: import("
|
|
16
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
17
17
|
}>[] | (Readonly<{
|
|
18
18
|
id: string;
|
|
19
|
-
|
|
20
|
-
resolver?: import("
|
|
21
|
-
connector?: import("
|
|
22
|
-
relation?: import("
|
|
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
23
|
type?: string;
|
|
24
|
-
filter?: (node: import("
|
|
24
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
25
25
|
}> | Readonly<{
|
|
26
26
|
id: string;
|
|
27
|
-
|
|
28
|
-
resolver?: import("
|
|
29
|
-
connector?: import("
|
|
30
|
-
relation?: import("
|
|
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
31
|
type?: string;
|
|
32
|
-
filter?: (node: import("
|
|
32
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
33
33
|
}>[] | (Readonly<{
|
|
34
34
|
id: string;
|
|
35
|
-
|
|
36
|
-
resolver?: import("
|
|
37
|
-
connector?: import("
|
|
38
|
-
relation?: import("
|
|
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
39
|
type?: string;
|
|
40
|
-
filter?: (node: import("
|
|
40
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
41
41
|
}> | Readonly<{
|
|
42
42
|
id: string;
|
|
43
|
-
|
|
44
|
-
resolver?: import("
|
|
45
|
-
connector?: import("
|
|
46
|
-
relation?: import("
|
|
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
47
|
type?: string;
|
|
48
|
-
filter?: (node: import("
|
|
48
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
49
49
|
}>[] | (Readonly<{
|
|
50
50
|
id: string;
|
|
51
|
-
|
|
52
|
-
resolver?: import("
|
|
53
|
-
connector?: import("
|
|
54
|
-
relation?: import("
|
|
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
55
|
type?: string;
|
|
56
|
-
filter?: (node: import("
|
|
56
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
57
57
|
}> | Readonly<{
|
|
58
58
|
id: string;
|
|
59
|
-
|
|
60
|
-
resolver?: import("
|
|
61
|
-
connector?: import("
|
|
62
|
-
relation?: import("
|
|
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
63
|
type?: string;
|
|
64
|
-
filter?: (node: import("
|
|
64
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
65
65
|
}>[] | (Readonly<{
|
|
66
66
|
id: string;
|
|
67
|
-
|
|
68
|
-
resolver?: import("
|
|
69
|
-
connector?: import("
|
|
70
|
-
relation?: import("
|
|
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
71
|
type?: string;
|
|
72
|
-
filter?: (node: import("
|
|
72
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
73
73
|
}> | Readonly<{
|
|
74
74
|
id: string;
|
|
75
|
-
|
|
76
|
-
resolver?: import("
|
|
77
|
-
connector?: import("
|
|
78
|
-
relation?: import("
|
|
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
79
|
type?: string;
|
|
80
|
-
filter?: (node: import("
|
|
80
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
81
81
|
}>[] | (Readonly<{
|
|
82
82
|
id: string;
|
|
83
|
-
|
|
84
|
-
resolver?: import("
|
|
85
|
-
connector?: import("
|
|
86
|
-
relation?: import("
|
|
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
87
|
type?: string;
|
|
88
|
-
filter?: (node: import("
|
|
88
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
89
89
|
}> | Readonly<{
|
|
90
90
|
id: string;
|
|
91
|
-
|
|
92
|
-
resolver?: import("
|
|
93
|
-
connector?: import("
|
|
94
|
-
relation?: import("
|
|
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
95
|
type?: string;
|
|
96
|
-
filter?: (node: import("
|
|
96
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
97
97
|
}>[] | (Readonly<{
|
|
98
98
|
id: string;
|
|
99
|
-
|
|
100
|
-
resolver?: import("
|
|
101
|
-
connector?: import("
|
|
102
|
-
relation?: import("
|
|
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
103
|
type?: string;
|
|
104
|
-
filter?: (node: import("
|
|
104
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
105
105
|
}> | Readonly<{
|
|
106
106
|
id: string;
|
|
107
|
-
|
|
108
|
-
resolver?: import("
|
|
109
|
-
connector?: import("
|
|
110
|
-
relation?: import("
|
|
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
111
|
type?: string;
|
|
112
|
-
filter?: (node: import("
|
|
112
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
113
113
|
}>[] | (Readonly<{
|
|
114
114
|
id: string;
|
|
115
|
-
|
|
116
|
-
resolver?: import("
|
|
117
|
-
connector?: import("
|
|
118
|
-
relation?: import("
|
|
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
119
|
type?: string;
|
|
120
|
-
filter?: (node: import("
|
|
120
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
121
121
|
}> | Readonly<{
|
|
122
122
|
id: string;
|
|
123
|
-
|
|
124
|
-
resolver?: import("
|
|
125
|
-
connector?: import("
|
|
126
|
-
relation?: import("
|
|
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
127
|
type?: string;
|
|
128
|
-
filter?: (node: import("
|
|
128
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
129
129
|
}>[] | (Readonly<{
|
|
130
130
|
id: string;
|
|
131
|
-
|
|
132
|
-
resolver?: import("
|
|
133
|
-
connector?: import("
|
|
134
|
-
relation?: import("
|
|
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
135
|
type?: string;
|
|
136
|
-
filter?: (node: import("
|
|
136
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
137
137
|
}> | Readonly<{
|
|
138
138
|
id: string;
|
|
139
|
-
|
|
140
|
-
resolver?: import("
|
|
141
|
-
connector?: import("
|
|
142
|
-
relation?: import("
|
|
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
143
|
type?: string;
|
|
144
|
-
filter?: (node: import("
|
|
144
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
145
145
|
}>[] | (Readonly<{
|
|
146
146
|
id: string;
|
|
147
|
-
|
|
148
|
-
resolver?: import("
|
|
149
|
-
connector?: import("
|
|
150
|
-
relation?: import("
|
|
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
151
|
type?: string;
|
|
152
|
-
filter?: (node: import("
|
|
152
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
153
153
|
}> | Readonly<{
|
|
154
154
|
id: string;
|
|
155
|
-
|
|
156
|
-
resolver?: import("
|
|
157
|
-
connector?: import("
|
|
158
|
-
relation?: import("
|
|
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
159
|
type?: string;
|
|
160
|
-
filter?: (node: import("
|
|
160
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
161
161
|
}>[] | (any[] | Readonly<{
|
|
162
162
|
id: string;
|
|
163
|
-
|
|
164
|
-
resolver?: import("
|
|
165
|
-
connector?: import("
|
|
166
|
-
relation?: import("
|
|
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
167
|
type?: string;
|
|
168
|
-
filter?: (node: import("
|
|
168
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
169
169
|
}> | Readonly<{
|
|
170
170
|
id: string;
|
|
171
|
-
|
|
172
|
-
resolver?: import("
|
|
173
|
-
connector?: import("
|
|
174
|
-
relation?: import("
|
|
175
|
-
type?: string;
|
|
176
|
-
filter?: (node: import("
|
|
177
|
-
}>[])[])[])[])[])[])[])[])[])[])[]>>;
|
|
178
|
-
export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver>>;
|
|
179
|
-
export declare const Keyboard: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<null>>;
|
|
180
|
-
export declare const ReactSurface: (props?: unknown) => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface>>;
|
|
181
|
-
export declare const State: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<{
|
|
182
|
-
state: Map<string, import("
|
|
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[]>>;
|
|
180
|
+
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<{
|
|
183
183
|
open: boolean;
|
|
184
184
|
current: boolean;
|
|
185
185
|
}>>;
|
|
186
|
-
getItem: (
|
|
186
|
+
getItem: (path: string[]) => import("@dxos/live-object").ReactiveObject<{
|
|
187
187
|
open: boolean;
|
|
188
188
|
current: boolean;
|
|
189
189
|
}>;
|
|
190
190
|
setItem: (path: string[], key: "open" | "current", next: boolean) => void;
|
|
191
|
-
isOpen: (path: string[]
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
isOpen: (path: string[], item: Readonly<{
|
|
192
|
+
id: string;
|
|
193
|
+
type: string;
|
|
194
|
+
cacheable?: string[];
|
|
195
|
+
properties: Readonly<Partial<{
|
|
196
|
+
label: import("@dxos/react-ui").Label;
|
|
197
|
+
icon?: string;
|
|
198
|
+
disabled?: boolean;
|
|
199
|
+
position?: import("@dxos/util").Position;
|
|
200
|
+
testId?: string;
|
|
201
|
+
className?: string;
|
|
202
|
+
headingClassName?: string;
|
|
203
|
+
} & {
|
|
204
|
+
role?: string;
|
|
205
|
+
error?: string;
|
|
206
|
+
modified?: boolean;
|
|
207
|
+
palette?: string;
|
|
208
|
+
} & {
|
|
209
|
+
persistenceClass: string;
|
|
210
|
+
persistenceKey: string;
|
|
211
|
+
acceptPersistenceClass: Set<string>;
|
|
212
|
+
acceptPersistenceKey: Set<string>;
|
|
213
|
+
onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
|
|
214
|
+
onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
|
|
215
|
+
onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
|
|
216
|
+
onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
|
|
217
|
+
}>>;
|
|
218
|
+
data: any;
|
|
219
|
+
}>) => boolean;
|
|
220
|
+
isCurrent: (path: string[], item: Readonly<{
|
|
221
|
+
id: string;
|
|
222
|
+
type: string;
|
|
223
|
+
cacheable?: string[];
|
|
224
|
+
properties: Readonly<Partial<{
|
|
225
|
+
label: import("@dxos/react-ui").Label;
|
|
226
|
+
icon?: string;
|
|
227
|
+
disabled?: boolean;
|
|
228
|
+
position?: import("@dxos/util").Position;
|
|
229
|
+
testId?: string;
|
|
230
|
+
className?: string;
|
|
231
|
+
headingClassName?: string;
|
|
232
|
+
} & {
|
|
233
|
+
role?: string;
|
|
234
|
+
error?: string;
|
|
235
|
+
modified?: boolean;
|
|
236
|
+
palette?: string;
|
|
237
|
+
} & {
|
|
238
|
+
persistenceClass: string;
|
|
239
|
+
persistenceKey: string;
|
|
240
|
+
acceptPersistenceClass: Set<string>;
|
|
241
|
+
acceptPersistenceKey: Set<string>;
|
|
242
|
+
onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
|
|
243
|
+
onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
|
|
244
|
+
onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
|
|
245
|
+
onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
|
|
246
|
+
}>>;
|
|
247
|
+
data: any;
|
|
248
|
+
}>) => boolean;
|
|
249
|
+
}> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
194
250
|
export * from './capabilities';
|
|
195
251
|
//# 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;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAO28F,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,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,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,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,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,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,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,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,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,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAPtsV,CAAC;AACzE,eAAO,MAAM,cAAc,mPAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,8LAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAGsI,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;oDAHxM,CAAC;AAEnD,cAAc,gBAAgB,CAAC"}
|
|
@@ -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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,
|
|
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;;AAY/E,wBAqCK"}
|
|
@@ -5,13 +5,13 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
5
5
|
open: boolean;
|
|
6
6
|
current: boolean;
|
|
7
7
|
}>>;
|
|
8
|
-
getItem: (
|
|
8
|
+
getItem: (path: string[]) => ReactiveObject<{
|
|
9
9
|
open: boolean;
|
|
10
10
|
current: boolean;
|
|
11
11
|
}>;
|
|
12
12
|
setItem: (path: string[], key: "open" | "current", next: boolean) => void;
|
|
13
|
-
isOpen: (path: string[]) => boolean;
|
|
14
|
-
isCurrent: (path: string[]) => boolean;
|
|
13
|
+
isOpen: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
|
|
14
|
+
isCurrent: (path: string[], item: import("../types").NavTreeItemGraphNode) => boolean;
|
|
15
15
|
}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
//# 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
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandsDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/CommandsDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandsDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/CommandsDialog.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,qBAAqB,0BAA2B;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,4CA6FjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandsTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/CommandsTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandsTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/CommandsTrigger.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe,+CAsB3B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type Size } from '@dxos/react-ui';
|
|
3
2
|
export type HaloButtonProps = {
|
|
4
3
|
size?: Size;
|
|
@@ -8,5 +7,5 @@ export type HaloButtonProps = {
|
|
|
8
7
|
internal?: boolean;
|
|
9
8
|
onClick?: () => void;
|
|
10
9
|
};
|
|
11
|
-
export declare const HaloButton: (props: HaloButtonProps) =>
|
|
10
|
+
export declare const HaloButton: (props: HaloButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
//# sourceMappingURL=HaloButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HaloButton.d.ts","sourceRoot":"","sources":["../../../../src/components/HaloButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HaloButton.d.ts","sourceRoot":"","sources":["../../../../src/components/HaloButton.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAU,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAMnD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,eAAe,4CAkBhD,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 { HaloButton } from './HaloButton';
|
|
5
|
-
export declare const Default: (props: any) =>
|
|
4
|
+
export declare const Default: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
declare const meta: Meta<typeof HaloButton>;
|
|
7
6
|
export default meta;
|
|
8
7
|
//# sourceMappingURL=HaloButton.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HaloButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/HaloButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"HaloButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/HaloButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,OAAO,UAAW,GAAG,4CAEjC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Node } from '@dxos/app-graph';
|
|
2
|
+
export declare const L0Menu: ({ topLevelItems, pinnedItems, parent, path, }: {
|
|
3
|
+
topLevelItems: Node<any>[];
|
|
4
|
+
pinnedItems: Node<any>[];
|
|
5
|
+
parent?: Node<any>;
|
|
6
|
+
path: string[];
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=L0Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/L0Menu.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAuQ5C,eAAO,MAAM,MAAM,kDAKhB;IACD,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,4CA0CA,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Node } from '@dxos/app-graph';
|
|
2
|
+
export type L1PanelProps = {
|
|
3
|
+
item: Node<any>;
|
|
4
|
+
path: string[];
|
|
5
|
+
currentItemId: string;
|
|
6
|
+
onBack?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const L1Panels: ({ topLevelItems, path, currentItemId, onBack, }: Pick<L1PanelProps, "onBack"> & {
|
|
9
|
+
topLevelItems: Node<any>[];
|
|
10
|
+
path: string[];
|
|
11
|
+
currentItemId: string;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=L1Panels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"L1Panels.d.ts","sourceRoot":"","sources":["../../../../src/components/L1Panels.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAY5C,MAAM,MAAM,YAAY,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AA0E3G,eAAO,MAAM,QAAQ,oDAKlB,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,GAAG;IAChC,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB,4CAgBA,CAAC"}
|
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { type Node } from '@dxos/app-graph';
|
|
3
|
-
import { type TreeProps } from '@dxos/react-ui-list';
|
|
4
|
-
import { type MaybePromise } from '@dxos/util';
|
|
5
|
-
import { type FlattenedActions, type NavTreeItemGraphNode } from '../types';
|
|
1
|
+
import { type NavTreeProps } from './types';
|
|
6
2
|
export declare const NAV_TREE_ITEM = "NavTreeItem";
|
|
7
|
-
export
|
|
8
|
-
export declare const NavTree: ({ getActions, loadDescendents, renderItemEnd, popoverAnchorId, ...props }: NavTreeProps) => React.JSX.Element;
|
|
9
|
-
type NavTreeColumnsProps = {
|
|
10
|
-
path: string[];
|
|
11
|
-
node: Node;
|
|
12
|
-
getActions: (node: Node) => FlattenedActions;
|
|
13
|
-
open: boolean;
|
|
14
|
-
loadDescendents?: (node: Node) => MaybePromise<void>;
|
|
15
|
-
renderItemEnd?: FC<{
|
|
16
|
-
node: Node;
|
|
17
|
-
open: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
popoverAnchorId?: string;
|
|
20
|
-
};
|
|
21
|
-
export {};
|
|
3
|
+
export declare const NavTree: ({ id, root }: NavTreeProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
4
|
//# sourceMappingURL=NavTree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTree.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTree.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,eAAO,MAAM,OAAO,iBAAkB,YAAY,4CAuBjD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
2
|
import { type Meta } from '@storybook/react';
|
|
3
|
-
import {
|
|
4
|
-
declare const meta: Meta<typeof
|
|
3
|
+
import { StorybookNavTree } from '../stories/StorybookNavTree';
|
|
4
|
+
declare const meta: Meta<typeof StorybookNavTree>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: {};
|
|
7
7
|
//# sourceMappingURL=NavTree.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAIrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAIrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CA4EvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type NavTreeContextValue } from './types';
|
|
3
3
|
export declare const NODE_TYPE = "dxos/app-graph/node";
|
|
4
4
|
export type NavTreeContainerProps = {
|
|
5
5
|
popoverAnchorId?: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
topbar?: boolean;
|
|
7
|
+
} & Pick<NavTreeContextValue, 'tab'>;
|
|
8
|
+
export declare const NavTreeContainer: React.MemoExoticComponent<({ tab, popoverAnchorId, topbar }: NavTreeContainerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
9
|
//# sourceMappingURL=NavTreeContainer.d.ts.map
|