@teambit/component-tree 1.0.256 → 1.0.258

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.256" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component-tree@1.0.258" 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={35032:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.256",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(35032);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={53433:(e,t,o)=>{var n={id:"teambit.component/component-tree@1.0.258",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(53433);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})()));
@@ -14,436 +14,475 @@
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
+ "typeArgs": [
342
+ {
343
+ "__schema": "TypeRefSchema",
344
+ "location": {
345
+ "filePath": "component-tree.ui.runtime.tsx",
346
+ "line": 7,
347
+ "character": 46
348
+ },
349
+ "name": "ComponentTreeNode"
350
+ }
351
+ ]
352
+ }
331
353
  }
332
354
  },
333
355
  {
334
- "__schema": "TypeSchema",
356
+ "__schema": "ExportSchema",
335
357
  "location": {
336
- "filePath": "component-tree-node.ts",
337
- "line": 11,
338
- "character": 1
358
+ "filePath": "index.ts",
359
+ "line": 6,
360
+ "character": 15
339
361
  },
340
- "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
341
362
  "name": "ComponentTreeNode",
342
- "type": {
343
- "__schema": "TypeLiteralSchema",
363
+ "exportNode": {
364
+ "__schema": "TypeSchema",
344
365
  "location": {
345
366
  "filePath": "component-tree-node.ts",
346
367
  "line": 11,
347
- "character": 33
368
+ "character": 1
348
369
  },
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",
370
+ "signature": "type ComponentTreeNode = {\n widget: ComponentType<ComponentTreeNodeProps>;\n}",
371
+ "name": "ComponentTreeNode",
372
+ "type": {
373
+ "__schema": "TypeLiteralSchema",
374
+ "location": {
375
+ "filePath": "component-tree-node.ts",
376
+ "line": 11,
377
+ "character": 33
378
+ },
379
+ "members": [
380
+ {
381
+ "__schema": "VariableLikeSchema",
359
382
  "location": {
360
383
  "filePath": "component-tree-node.ts",
361
- "line": 12,
384
+ "line": 15,
362
385
  "character": 3
363
386
  },
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
387
+ "doc": {
388
+ "__schema": "DocSchema",
389
+ "location": {
390
+ "filePath": "component-tree-node.ts",
391
+ "line": 12,
392
+ "character": 3
393
+ },
394
+ "raw": "/**\n * component to render inside the tree node.\n */",
395
+ "comment": "component to render inside the tree node."
375
396
  },
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
- ]
397
+ "signature": "(property) widget: ComponentType<ComponentTreeNodeProps>",
398
+ "name": "widget",
399
+ "type": {
400
+ "__schema": "TypeRefSchema",
401
+ "location": {
402
+ "filePath": "component-tree-node.ts",
403
+ "line": 15,
404
+ "character": 11
405
+ },
406
+ "name": "ComponentType",
407
+ "typeArgs": [
408
+ {
409
+ "__schema": "TypeRefSchema",
410
+ "location": {
411
+ "filePath": "component-tree-node.ts",
412
+ "line": 15,
413
+ "character": 25
414
+ },
415
+ "name": "ComponentTreeNodeProps"
416
+ }
417
+ ]
418
+ },
419
+ "isOptional": false
420
+ }
421
+ ]
422
+ }
393
423
  }
394
424
  },
395
425
  {
396
- "__schema": "TypeSchema",
426
+ "__schema": "ExportSchema",
397
427
  "location": {
398
- "filePath": "component-tree-node.ts",
399
- "line": 4,
400
- "character": 1
428
+ "filePath": "index.ts",
429
+ "line": 6,
430
+ "character": 34
401
431
  },
402
- "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
403
432
  "name": "ComponentTreeNodeProps",
404
- "type": {
405
- "__schema": "TypeLiteralSchema",
433
+ "exportNode": {
434
+ "__schema": "TypeSchema",
406
435
  "location": {
407
436
  "filePath": "component-tree-node.ts",
408
437
  "line": 4,
409
- "character": 38
438
+ "character": 1
410
439
  },
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",
440
+ "signature": "type ComponentTreeNodeProps = {\n component: ComponentModel;\n}",
441
+ "name": "ComponentTreeNodeProps",
442
+ "type": {
443
+ "__schema": "TypeLiteralSchema",
444
+ "location": {
445
+ "filePath": "component-tree-node.ts",
446
+ "line": 4,
447
+ "character": 38
448
+ },
449
+ "members": [
450
+ {
451
+ "__schema": "VariableLikeSchema",
433
452
  "location": {
434
453
  "filePath": "component-tree-node.ts",
435
454
  "line": 8,
436
455
  "character": 3
437
456
  },
438
- "name": "ComponentModel",
439
- "componentId": {
440
- "scope": "teambit.component",
441
- "name": "component"
442
- }
443
- },
444
- "isOptional": false
445
- }
446
- ]
457
+ "doc": {
458
+ "__schema": "DocSchema",
459
+ "location": {
460
+ "filePath": "component-tree-node.ts",
461
+ "line": 5,
462
+ "character": 3
463
+ },
464
+ "raw": "/**\n * component model.\n */",
465
+ "comment": "component model."
466
+ },
467
+ "signature": "(property) component: ComponentModel",
468
+ "name": "component",
469
+ "type": {
470
+ "__schema": "TypeRefSchema",
471
+ "location": {
472
+ "filePath": "component-tree-node.ts",
473
+ "line": 8,
474
+ "character": 3
475
+ },
476
+ "name": "ComponentModel",
477
+ "componentId": {
478
+ "scope": "teambit.component",
479
+ "name": "component"
480
+ }
481
+ },
482
+ "isOptional": false
483
+ }
484
+ ]
485
+ }
447
486
  }
448
487
  },
449
488
  {
@@ -532,11 +571,6 @@
532
571
  "character": 33
533
572
  },
534
573
  "name": "SlotRegistry",
535
- "componentId": {
536
- "scope": "teambit.harmony",
537
- "name": "harmony",
538
- "version": "0.4.6"
539
- },
540
574
  "typeArgs": [
541
575
  {
542
576
  "__schema": "TypeRefSchema",
@@ -926,7 +960,6 @@
926
960
  "character": 11
927
961
  },
928
962
  "name": "ComponentType",
929
- "packageName": "react",
930
963
  "typeArgs": [
931
964
  {
932
965
  "__schema": "TypeRefSchema",
@@ -951,7 +984,7 @@
951
984
  "componentId": {
952
985
  "scope": "teambit.component",
953
986
  "name": "component-tree",
954
- "version": "1.0.256"
987
+ "version": "1.0.258"
955
988
  },
956
989
  "taggedModuleExports": []
957
990
  }
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.component_component-tree@1.0.258/dist/component-tree.composition.js';
2
+ import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.component_component-tree@1.0.258/dist/component-tree.docs.mdx';
3
+
4
+ export const compositions = [compositions_0];
5
+ export const overview = [overview_0];
6
+
7
+ export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/component-tree",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
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.256"
9
+ "version": "1.0.258"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/component": "1.0.256",
14
- "@teambit/ui": "1.0.256"
13
+ "@teambit/component": "1.0.258",
14
+ "@teambit/ui": "1.0.258"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.256/dist/component-tree.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-tree@1.0.256/dist/component-tree.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};