@teambit/component-tree 1.0.257 → 1.0.259

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/component-tree@1.0.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component-tree@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-tree-preview"]=t():e["teambit.component/component-tree-preview"]=t()}(self,(()=>(()=>{"use strict";var e={37867:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.257",homepage:"https://bit.cloud/teambit/component/component-tree",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-tree.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(37867);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-tree-preview"]=t():e["teambit.component/component-tree-preview"]=t()}(self,(()=>(()=>{"use strict";var e={56729:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.259",homepage:"https://bit.cloud/teambit/component/component-tree",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-tree.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>m,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(56729);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],m={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -14,436 +14,481 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "component-tree.aspect.ts",
19
+ "filePath": "index.ts",
20
20
  "line": 3,
21
- "character": 14
21
+ "character": 10
22
22
  },
23
- "signature": "const ComponentTreeAspect: Aspect",
24
23
  "name": "ComponentTreeAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "component-tree.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-tree',\n})"
31
+ "signature": "const ComponentTreeAspect: Aspect",
32
+ "name": "ComponentTreeAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "component-tree.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/component-tree',\n})"
49
+ }
41
50
  },
42
51
  {
43
- "__schema": "ClassSchema",
52
+ "__schema": "ExportSchema",
44
53
  "location": {
45
- "filePath": "component-tree.ui.runtime.tsx",
46
- "line": 9,
47
- "character": 1
54
+ "filePath": "index.ts",
55
+ "line": 4,
56
+ "character": 15
48
57
  },
49
- "signature": "class ComponentTreeUI",
50
58
  "name": "ComponentTreeUI",
51
- "members": [
52
- {
53
- "__schema": "ConstructorSchema",
54
- "location": {
55
- "filePath": "component-tree.ui.runtime.tsx",
56
- "line": 10,
57
- "character": 3
58
- },
59
- "signature": "constructor ComponentTreeUI(treeNodeSlot: ComponentTreeSlot): ComponentTreeUI",
60
- "name": "constructor",
61
- "params": [
62
- {
63
- "__schema": "ParameterSchema",
64
- "location": {
65
- "filePath": "component-tree.ui.runtime.tsx",
66
- "line": 10,
67
- "character": 15
68
- },
69
- "name": "treeNodeSlot",
70
- "type": {
71
- "__schema": "TypeRefSchema",
59
+ "exportNode": {
60
+ "__schema": "ClassSchema",
61
+ "location": {
62
+ "filePath": "component-tree.ui.runtime.tsx",
63
+ "line": 9,
64
+ "character": 1
65
+ },
66
+ "signature": "class ComponentTreeUI",
67
+ "name": "ComponentTreeUI",
68
+ "members": [
69
+ {
70
+ "__schema": "ConstructorSchema",
71
+ "location": {
72
+ "filePath": "component-tree.ui.runtime.tsx",
73
+ "line": 10,
74
+ "character": 3
75
+ },
76
+ "signature": "constructor ComponentTreeUI(treeNodeSlot: ComponentTreeSlot): ComponentTreeUI",
77
+ "name": "constructor",
78
+ "params": [
79
+ {
80
+ "__schema": "ParameterSchema",
72
81
  "location": {
73
82
  "filePath": "component-tree.ui.runtime.tsx",
74
83
  "line": 10,
75
- "character": 37
84
+ "character": 15
85
+ },
86
+ "name": "treeNodeSlot",
87
+ "type": {
88
+ "__schema": "TypeRefSchema",
89
+ "location": {
90
+ "filePath": "component-tree.ui.runtime.tsx",
91
+ "line": 10,
92
+ "character": 37
93
+ },
94
+ "name": "ComponentTreeSlot"
76
95
  },
77
- "name": "ComponentTreeSlot"
96
+ "isOptional": false,
97
+ "isSpread": false
98
+ }
99
+ ],
100
+ "returnType": {
101
+ "__schema": "ThisTypeSchema",
102
+ "location": {
103
+ "filePath": "component-tree.ui.runtime.tsx",
104
+ "line": 9,
105
+ "character": 1
78
106
  },
79
- "isOptional": false,
80
- "isSpread": false
81
- }
82
- ],
83
- "returnType": {
84
- "__schema": "ThisTypeSchema",
107
+ "name": "ComponentTreeUI"
108
+ },
109
+ "modifiers": []
110
+ },
111
+ {
112
+ "__schema": "FunctionLikeSchema",
85
113
  "location": {
86
114
  "filePath": "component-tree.ui.runtime.tsx",
87
- "line": 9,
88
- "character": 1
115
+ "line": 12,
116
+ "character": 3
89
117
  },
90
- "name": "ComponentTreeUI"
91
- },
92
- "modifiers": []
93
- },
94
- {
95
- "__schema": "FunctionLikeSchema",
96
- "location": {
97
- "filePath": "component-tree.ui.runtime.tsx",
98
- "line": 12,
99
- "character": 3
100
- },
101
- "signature": "(method) ComponentTreeUI.registerTreeNode(treeNode: ComponentTreeNode): this",
102
- "name": "registerTreeNode",
103
- "params": [
104
- {
105
- "__schema": "ParameterSchema",
106
- "location": {
107
- "filePath": "component-tree.ui.runtime.tsx",
108
- "line": 12,
109
- "character": 20
110
- },
111
- "name": "treeNode",
112
- "type": {
113
- "__schema": "TypeRefSchema",
118
+ "signature": "(method) ComponentTreeUI.registerTreeNode(treeNode: ComponentTreeNode): this",
119
+ "name": "registerTreeNode",
120
+ "params": [
121
+ {
122
+ "__schema": "ParameterSchema",
114
123
  "location": {
115
124
  "filePath": "component-tree.ui.runtime.tsx",
116
125
  "line": 12,
117
- "character": 30
126
+ "character": 20
118
127
  },
119
- "name": "ComponentTreeNode"
128
+ "name": "treeNode",
129
+ "type": {
130
+ "__schema": "TypeRefSchema",
131
+ "location": {
132
+ "filePath": "component-tree.ui.runtime.tsx",
133
+ "line": 12,
134
+ "character": 30
135
+ },
136
+ "name": "ComponentTreeNode"
137
+ },
138
+ "isOptional": false,
139
+ "isSpread": false
140
+ }
141
+ ],
142
+ "returnType": {
143
+ "__schema": "TypeRefSchema",
144
+ "location": {
145
+ "filePath": "component-tree.ui.runtime.tsx",
146
+ "line": 12,
147
+ "character": 3
120
148
  },
121
- "isOptional": false,
122
- "isSpread": false
123
- }
124
- ],
125
- "returnType": {
126
- "__schema": "TypeRefSchema",
127
- "location": {
128
- "filePath": "component-tree.ui.runtime.tsx",
129
- "line": 12,
130
- "character": 3
149
+ "name": "ComponentTreeUI"
131
150
  },
132
- "name": "ComponentTreeUI"
133
- },
134
- "modifiers": []
135
- },
136
- {
137
- "__schema": "VariableLikeSchema",
138
- "location": {
139
- "filePath": "component-tree.ui.runtime.tsx",
140
- "line": 17,
141
- "character": 3
151
+ "modifiers": []
142
152
  },
143
- "signature": "(property) ComponentTreeUI.runtime: RuntimeDefinition",
144
- "name": "runtime",
145
- "type": {
146
- "__schema": "InferenceTypeSchema",
153
+ {
154
+ "__schema": "VariableLikeSchema",
147
155
  "location": {
148
156
  "filePath": "component-tree.ui.runtime.tsx",
149
157
  "line": 17,
150
158
  "character": 3
151
159
  },
152
- "type": "RuntimeDefinition"
153
- },
154
- "isOptional": true,
155
- "defaultValue": "UIRuntime"
156
- },
157
- {
158
- "__schema": "VariableLikeSchema",
159
- "location": {
160
- "filePath": "component-tree.ui.runtime.tsx",
161
- "line": 19,
162
- "character": 3
160
+ "signature": "(property) ComponentTreeUI.runtime: RuntimeDefinition",
161
+ "name": "runtime",
162
+ "type": {
163
+ "__schema": "InferenceTypeSchema",
164
+ "location": {
165
+ "filePath": "component-tree.ui.runtime.tsx",
166
+ "line": 17,
167
+ "character": 3
168
+ },
169
+ "type": "RuntimeDefinition"
170
+ },
171
+ "isOptional": true,
172
+ "defaultValue": "UIRuntime"
163
173
  },
164
- "signature": "(property) ComponentTreeUI.slots: ((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]",
165
- "name": "slots",
166
- "type": {
167
- "__schema": "InferenceTypeSchema",
174
+ {
175
+ "__schema": "VariableLikeSchema",
168
176
  "location": {
169
177
  "filePath": "component-tree.ui.runtime.tsx",
170
178
  "line": 19,
171
179
  "character": 3
172
180
  },
173
- "type": "((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]"
174
- },
175
- "isOptional": true,
176
- "defaultValue": "[Slot.withType<ComponentTreeNode>()]"
177
- },
178
- {
179
- "__schema": "VariableLikeSchema",
180
- "location": {
181
- "filePath": "component-tree.ui.runtime.tsx",
182
- "line": 21,
183
- "character": 3
181
+ "signature": "(property) ComponentTreeUI.slots: ((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]",
182
+ "name": "slots",
183
+ "type": {
184
+ "__schema": "InferenceTypeSchema",
185
+ "location": {
186
+ "filePath": "component-tree.ui.runtime.tsx",
187
+ "line": 19,
188
+ "character": 3
189
+ },
190
+ "type": "((registerFn: () => string) => SlotRegistry<ComponentTreeNode>)[]"
191
+ },
192
+ "isOptional": true,
193
+ "defaultValue": "[Slot.withType<ComponentTreeNode>()]"
184
194
  },
185
- "signature": "(property) ComponentTreeUI.dependencies: never[]",
186
- "name": "dependencies",
187
- "type": {
188
- "__schema": "InferenceTypeSchema",
195
+ {
196
+ "__schema": "VariableLikeSchema",
189
197
  "location": {
190
198
  "filePath": "component-tree.ui.runtime.tsx",
191
199
  "line": 21,
192
200
  "character": 3
193
201
  },
194
- "type": "never[]"
195
- },
196
- "isOptional": true,
197
- "defaultValue": "[]"
198
- },
199
- {
200
- "__schema": "FunctionLikeSchema",
201
- "location": {
202
- "filePath": "component-tree.ui.runtime.tsx",
203
- "line": 23,
204
- "character": 3
205
- },
206
- "signature": "(method) ComponentTreeUI.provider(deps: any, config: any, [treeNodeSlot]: [ComponentTreeSlot]): Promise<ComponentTreeUI>",
207
- "name": "provider",
208
- "params": [
209
- {
210
- "__schema": "ParameterSchema",
202
+ "signature": "(property) ComponentTreeUI.dependencies: never[]",
203
+ "name": "dependencies",
204
+ "type": {
205
+ "__schema": "InferenceTypeSchema",
211
206
  "location": {
212
207
  "filePath": "component-tree.ui.runtime.tsx",
213
- "line": 23,
214
- "character": 25
208
+ "line": 21,
209
+ "character": 3
215
210
  },
216
- "name": "deps",
217
- "type": {
218
- "__schema": "InferenceTypeSchema",
211
+ "type": "never[]"
212
+ },
213
+ "isOptional": true,
214
+ "defaultValue": "[]"
215
+ },
216
+ {
217
+ "__schema": "FunctionLikeSchema",
218
+ "location": {
219
+ "filePath": "component-tree.ui.runtime.tsx",
220
+ "line": 23,
221
+ "character": 3
222
+ },
223
+ "signature": "(method) ComponentTreeUI.provider(deps: any, config: any, [treeNodeSlot]: [ComponentTreeSlot]): Promise<ComponentTreeUI>",
224
+ "name": "provider",
225
+ "params": [
226
+ {
227
+ "__schema": "ParameterSchema",
219
228
  "location": {
220
229
  "filePath": "component-tree.ui.runtime.tsx",
221
230
  "line": 23,
222
231
  "character": 25
223
232
  },
224
- "type": "any"
225
- },
226
- "isOptional": false,
227
- "isSpread": false
228
- },
229
- {
230
- "__schema": "ParameterSchema",
231
- "location": {
232
- "filePath": "component-tree.ui.runtime.tsx",
233
- "line": 23,
234
- "character": 31
233
+ "name": "deps",
234
+ "type": {
235
+ "__schema": "InferenceTypeSchema",
236
+ "location": {
237
+ "filePath": "component-tree.ui.runtime.tsx",
238
+ "line": 23,
239
+ "character": 25
240
+ },
241
+ "type": "any"
242
+ },
243
+ "isOptional": false,
244
+ "isSpread": false
235
245
  },
236
- "name": "config",
237
- "type": {
238
- "__schema": "InferenceTypeSchema",
246
+ {
247
+ "__schema": "ParameterSchema",
239
248
  "location": {
240
249
  "filePath": "component-tree.ui.runtime.tsx",
241
250
  "line": 23,
242
251
  "character": 31
243
252
  },
244
- "type": "any"
245
- },
246
- "isOptional": false,
247
- "isSpread": false
248
- },
249
- {
250
- "__schema": "ParameterSchema",
251
- "location": {
252
- "filePath": "component-tree.ui.runtime.tsx",
253
- "line": 23,
254
- "character": 39
253
+ "name": "config",
254
+ "type": {
255
+ "__schema": "InferenceTypeSchema",
256
+ "location": {
257
+ "filePath": "component-tree.ui.runtime.tsx",
258
+ "line": 23,
259
+ "character": 31
260
+ },
261
+ "type": "any"
262
+ },
263
+ "isOptional": false,
264
+ "isSpread": false
255
265
  },
256
- "name": "[ treeNodeSlot ]",
257
- "type": {
258
- "__schema": "TupleTypeSchema",
266
+ {
267
+ "__schema": "ParameterSchema",
259
268
  "location": {
260
269
  "filePath": "component-tree.ui.runtime.tsx",
261
270
  "line": 23,
262
- "character": 55
271
+ "character": 39
263
272
  },
264
- "elements": [
265
- {
266
- "__schema": "TypeRefSchema",
267
- "location": {
268
- "filePath": "component-tree.ui.runtime.tsx",
269
- "line": 23,
270
- "character": 56
271
- },
272
- "name": "ComponentTreeSlot"
273
- }
274
- ]
273
+ "name": "[ treeNodeSlot ]",
274
+ "type": {
275
+ "__schema": "TupleTypeSchema",
276
+ "location": {
277
+ "filePath": "component-tree.ui.runtime.tsx",
278
+ "line": 23,
279
+ "character": 55
280
+ },
281
+ "elements": [
282
+ {
283
+ "__schema": "TypeRefSchema",
284
+ "location": {
285
+ "filePath": "component-tree.ui.runtime.tsx",
286
+ "line": 23,
287
+ "character": 56
288
+ },
289
+ "name": "ComponentTreeSlot"
290
+ }
291
+ ]
292
+ },
293
+ "isOptional": false,
294
+ "isSpread": false
295
+ }
296
+ ],
297
+ "returnType": {
298
+ "__schema": "InferenceTypeSchema",
299
+ "location": {
300
+ "filePath": "component-tree.ui.runtime.tsx",
301
+ "line": 23,
302
+ "character": 3
275
303
  },
276
- "isOptional": false,
277
- "isSpread": false
278
- }
279
- ],
280
- "returnType": {
281
- "__schema": "InferenceTypeSchema",
282
- "location": {
283
- "filePath": "component-tree.ui.runtime.tsx",
284
- "line": 23,
285
- "character": 3
304
+ "type": "Promise<ComponentTreeUI>"
286
305
  },
287
- "type": "Promise<ComponentTreeUI>"
288
- },
289
- "modifiers": [
290
- "static",
291
- "async"
292
- ]
293
- }
294
- ],
295
- "extendsNodes": [],
296
- "implementNodes": []
306
+ "modifiers": [
307
+ "static",
308
+ "async"
309
+ ]
310
+ }
311
+ ],
312
+ "extendsNodes": [],
313
+ "implementNodes": []
314
+ }
297
315
  },
298
316
  {
299
- "__schema": "TypeSchema",
317
+ "__schema": "ExportSchema",
300
318
  "location": {
301
- "filePath": "component-tree.ui.runtime.tsx",
302
- "line": 7,
303
- "character": 1
319
+ "filePath": "index.ts",
320
+ "line": 5,
321
+ "character": 15
304
322
  },
305
- "signature": "type ComponentTreeSlot = SlotRegistry<ComponentTreeNode>",
306
323
  "name": "ComponentTreeSlot",
307
- "type": {
308
- "__schema": "TypeRefSchema",
324
+ "exportNode": {
325
+ "__schema": "TypeSchema",
309
326
  "location": {
310
327
  "filePath": "component-tree.ui.runtime.tsx",
311
328
  "line": 7,
312
- "character": 33
313
- },
314
- "name": "SlotRegistry",
315
- "componentId": {
316
- "scope": "teambit.harmony",
317
- "name": "harmony",
318
- "version": "0.4.6"
329
+ "character": 1
319
330
  },
320
- "typeArgs": [
321
- {
322
- "__schema": "TypeRefSchema",
323
- "location": {
324
- "filePath": "component-tree.ui.runtime.tsx",
325
- "line": 7,
326
- "character": 46
327
- },
328
- "name": "ComponentTreeNode"
329
- }
330
- ]
331
+ "signature": "type ComponentTreeSlot = SlotRegistry<ComponentTreeNode>",
332
+ "name": "ComponentTreeSlot",
333
+ "type": {
334
+ "__schema": "TypeRefSchema",
335
+ "location": {
336
+ "filePath": "component-tree.ui.runtime.tsx",
337
+ "line": 7,
338
+ "character": 33
339
+ },
340
+ "name": "SlotRegistry",
341
+ "componentId": {
342
+ "scope": "teambit.harmony",
343
+ "name": "harmony",
344
+ "version": "0.4.6"
345
+ },
346
+ "typeArgs": [
347
+ {
348
+ "__schema": "TypeRefSchema",
349
+ "location": {
350
+ "filePath": "component-tree.ui.runtime.tsx",
351
+ "line": 7,
352
+ "character": 46
353
+ },
354
+ "name": "ComponentTreeNode"
355
+ }
356
+ ]
357
+ }
331
358
  }
332
359
  },
333
360
  {
334
- "__schema": "TypeSchema",
361
+ "__schema": "ExportSchema",
335
362
  "location": {
336
- "filePath": "component-tree-node.ts",
337
- "line": 11,
338
- "character": 1
363
+ "filePath": "index.ts",
364
+ "line": 6,
365
+ "character": 15
339
366
  },
340
- "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
341
367
  "name": "ComponentTreeNode",
342
- "type": {
343
- "__schema": "TypeLiteralSchema",
368
+ "exportNode": {
369
+ "__schema": "TypeSchema",
344
370
  "location": {
345
371
  "filePath": "component-tree-node.ts",
346
372
  "line": 11,
347
- "character": 33
373
+ "character": 1
348
374
  },
349
- "members": [
350
- {
351
- "__schema": "VariableLikeSchema",
352
- "location": {
353
- "filePath": "component-tree-node.ts",
354
- "line": 15,
355
- "character": 3
356
- },
357
- "doc": {
358
- "__schema": "DocSchema",
375
+ "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
376
+ "name": "ComponentTreeNode",
377
+ "type": {
378
+ "__schema": "TypeLiteralSchema",
379
+ "location": {
380
+ "filePath": "component-tree-node.ts",
381
+ "line": 11,
382
+ "character": 33
383
+ },
384
+ "members": [
385
+ {
386
+ "__schema": "VariableLikeSchema",
359
387
  "location": {
360
388
  "filePath": "component-tree-node.ts",
361
- "line": 12,
389
+ "line": 15,
362
390
  "character": 3
363
391
  },
364
- "raw": "/**\n * component to render inside the tree node.\n */",
365
- "comment": "component to render inside the tree node."
366
- },
367
- "signature": "(property) widget: ComponentType<ComponentTreeNodeProps>",
368
- "name": "widget",
369
- "type": {
370
- "__schema": "TypeRefSchema",
371
- "location": {
372
- "filePath": "component-tree-node.ts",
373
- "line": 15,
374
- "character": 11
392
+ "doc": {
393
+ "__schema": "DocSchema",
394
+ "location": {
395
+ "filePath": "component-tree-node.ts",
396
+ "line": 12,
397
+ "character": 3
398
+ },
399
+ "raw": "/**\n * component to render inside the tree node.\n */",
400
+ "comment": "component to render inside the tree node."
375
401
  },
376
- "name": "ComponentType",
377
- "packageName": "react",
378
- "typeArgs": [
379
- {
380
- "__schema": "TypeRefSchema",
381
- "location": {
382
- "filePath": "component-tree-node.ts",
383
- "line": 15,
384
- "character": 25
385
- },
386
- "name": "ComponentTreeNodeProps"
387
- }
388
- ]
389
- },
390
- "isOptional": false
391
- }
392
- ]
402
+ "signature": "(property) widget: ComponentType<ComponentTreeNodeProps>",
403
+ "name": "widget",
404
+ "type": {
405
+ "__schema": "TypeRefSchema",
406
+ "location": {
407
+ "filePath": "component-tree-node.ts",
408
+ "line": 15,
409
+ "character": 11
410
+ },
411
+ "name": "ComponentType",
412
+ "packageName": "react",
413
+ "typeArgs": [
414
+ {
415
+ "__schema": "TypeRefSchema",
416
+ "location": {
417
+ "filePath": "component-tree-node.ts",
418
+ "line": 15,
419
+ "character": 25
420
+ },
421
+ "name": "ComponentTreeNodeProps"
422
+ }
423
+ ]
424
+ },
425
+ "isOptional": false
426
+ }
427
+ ]
428
+ }
393
429
  }
394
430
  },
395
431
  {
396
- "__schema": "TypeSchema",
432
+ "__schema": "ExportSchema",
397
433
  "location": {
398
- "filePath": "component-tree-node.ts",
399
- "line": 4,
400
- "character": 1
434
+ "filePath": "index.ts",
435
+ "line": 6,
436
+ "character": 34
401
437
  },
402
- "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
403
438
  "name": "ComponentTreeNodeProps",
404
- "type": {
405
- "__schema": "TypeLiteralSchema",
439
+ "exportNode": {
440
+ "__schema": "TypeSchema",
406
441
  "location": {
407
442
  "filePath": "component-tree-node.ts",
408
443
  "line": 4,
409
- "character": 38
444
+ "character": 1
410
445
  },
411
- "members": [
412
- {
413
- "__schema": "VariableLikeSchema",
414
- "location": {
415
- "filePath": "component-tree-node.ts",
416
- "line": 8,
417
- "character": 3
418
- },
419
- "doc": {
420
- "__schema": "DocSchema",
421
- "location": {
422
- "filePath": "component-tree-node.ts",
423
- "line": 5,
424
- "character": 3
425
- },
426
- "raw": "/**\n * component model.\n */",
427
- "comment": "component model."
428
- },
429
- "signature": "(property) component: ComponentModel",
430
- "name": "component",
431
- "type": {
432
- "__schema": "TypeRefSchema",
446
+ "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
447
+ "name": "ComponentTreeNodeProps",
448
+ "type": {
449
+ "__schema": "TypeLiteralSchema",
450
+ "location": {
451
+ "filePath": "component-tree-node.ts",
452
+ "line": 4,
453
+ "character": 38
454
+ },
455
+ "members": [
456
+ {
457
+ "__schema": "VariableLikeSchema",
433
458
  "location": {
434
459
  "filePath": "component-tree-node.ts",
435
460
  "line": 8,
436
461
  "character": 3
437
462
  },
438
- "name": "ComponentModel",
439
- "componentId": {
440
- "scope": "teambit.component",
441
- "name": "component"
442
- }
443
- },
444
- "isOptional": false
445
- }
446
- ]
463
+ "doc": {
464
+ "__schema": "DocSchema",
465
+ "location": {
466
+ "filePath": "component-tree-node.ts",
467
+ "line": 5,
468
+ "character": 3
469
+ },
470
+ "raw": "/**\n * component model.\n */",
471
+ "comment": "component model."
472
+ },
473
+ "signature": "(property) component: ComponentModel",
474
+ "name": "component",
475
+ "type": {
476
+ "__schema": "TypeRefSchema",
477
+ "location": {
478
+ "filePath": "component-tree-node.ts",
479
+ "line": 8,
480
+ "character": 3
481
+ },
482
+ "name": "ComponentModel",
483
+ "componentId": {
484
+ "scope": "teambit.component",
485
+ "name": "component"
486
+ }
487
+ },
488
+ "isOptional": false
489
+ }
490
+ ]
491
+ }
447
492
  }
448
493
  },
449
494
  {
@@ -951,7 +996,7 @@
951
996
  "componentId": {
952
997
  "scope": "teambit.component",
953
998
  "name": "component-tree",
954
- "version": "1.0.257"
999
+ "version": "1.0.259"
955
1000
  },
956
1001
  "taggedModuleExports": []
957
1002
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.257/dist/component-tree.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.257/dist/component-tree.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.259/dist/component-tree.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.259/dist/component-tree.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/component-tree",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
4
4
  "homepage": "https://bit.cloud/teambit/component/component-tree",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component-tree",
9
- "version": "1.0.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/component": "1.0.257",
14
- "@teambit/ui": "1.0.257"
13
+ "@teambit/component": "1.0.259",
14
+ "@teambit/ui": "1.0.259"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",