@teambit/sidebar 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.ui-foundation/sidebar@1.0.256" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/sidebar@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.ui-foundation/sidebar-preview"]=t():e["teambit.ui-foundation/sidebar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={88933:(e,t,o)=>{var r={id:"teambit.ui-foundation/sidebar@1.0.256",homepage:"https://bit.cloud/teambit/ui-foundation/sidebar",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/sidebar.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};return(()=>{o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(88933);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},s.apply(this,arguments)}var p={},c="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(c,s({},p,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
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.ui-foundation/sidebar-preview"]=t():e["teambit.ui-foundation/sidebar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={28348:(e,t,o)=>{var r={id:"teambit.ui-foundation/sidebar@1.0.258",homepage:"https://bit.cloud/teambit/ui-foundation/sidebar",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/sidebar.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};return(()=>{o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(28348);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},s.apply(this,arguments)}var p={},c="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(c,s({},p,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -14,446 +14,469 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "sidebar.ui.runtime.tsx",
20
- "line": 23,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class SidebarUI",
24
23
  "name": "SidebarUI",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "sidebar.ui.runtime.tsx",
30
- "line": 24,
31
- "character": 3
32
- },
33
- "signature": "constructor SidebarUI(drawerSlot: DrawerSlot): SidebarUI",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "sidebar.ui.runtime.tsx",
40
- "line": 24,
41
- "character": 15
42
- },
43
- "name": "drawerSlot",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "sidebar.ui.runtime.tsx",
28
+ "line": 23,
29
+ "character": 1
30
+ },
31
+ "signature": "class SidebarUI",
32
+ "name": "SidebarUI",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "sidebar.ui.runtime.tsx",
38
+ "line": 24,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor SidebarUI(drawerSlot: DrawerSlot): SidebarUI",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "sidebar.ui.runtime.tsx",
48
48
  "line": 24,
49
- "character": 35
49
+ "character": 15
50
+ },
51
+ "name": "drawerSlot",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "sidebar.ui.runtime.tsx",
56
+ "line": 24,
57
+ "character": 35
58
+ },
59
+ "name": "DrawerSlot"
50
60
  },
51
- "name": "DrawerSlot",
52
- "internalFilePath": "sidebar.ui.runtime.tsx"
61
+ "isOptional": false,
62
+ "isSpread": false
63
+ }
64
+ ],
65
+ "returnType": {
66
+ "__schema": "ThisTypeSchema",
67
+ "location": {
68
+ "filePath": "sidebar.ui.runtime.tsx",
69
+ "line": 23,
70
+ "character": 1
53
71
  },
54
- "isOptional": false,
55
- "isSpread": false
56
- }
57
- ],
58
- "returnType": {
59
- "__schema": "ThisTypeSchema",
60
- "location": {
61
- "filePath": "sidebar.ui.runtime.tsx",
62
- "line": 23,
63
- "character": 1
72
+ "name": "SidebarUI"
64
73
  },
65
- "name": "SidebarUI"
66
- },
67
- "modifiers": []
68
- },
69
- {
70
- "__schema": "FunctionLikeSchema",
71
- "location": {
72
- "filePath": "sidebar.ui.runtime.tsx",
73
- "line": 29,
74
- "character": 3
74
+ "modifiers": []
75
75
  },
76
- "doc": {
77
- "__schema": "DocSchema",
76
+ {
77
+ "__schema": "FunctionLikeSchema",
78
78
  "location": {
79
79
  "filePath": "sidebar.ui.runtime.tsx",
80
- "line": 26,
80
+ "line": 29,
81
81
  "character": 3
82
82
  },
83
- "raw": "/**\n * register a new drawer into the component sidebar.\n */",
84
- "comment": "register a new drawer into the component sidebar."
85
- },
86
- "signature": "(method) SidebarUI.registerDrawer(...drawer: DrawerType[]): this",
87
- "name": "registerDrawer",
88
- "params": [
89
- {
90
- "__schema": "ParameterSchema",
83
+ "doc": {
84
+ "__schema": "DocSchema",
91
85
  "location": {
92
86
  "filePath": "sidebar.ui.runtime.tsx",
93
- "line": 29,
94
- "character": 18
87
+ "line": 26,
88
+ "character": 3
95
89
  },
96
- "name": "drawer",
97
- "type": {
98
- "__schema": "TypeArraySchema",
90
+ "raw": "/**\n * register a new drawer into the component sidebar.\n */",
91
+ "comment": "register a new drawer into the component sidebar."
92
+ },
93
+ "signature": "(method) SidebarUI.registerDrawer(...drawer: DrawerType[]): this",
94
+ "name": "registerDrawer",
95
+ "params": [
96
+ {
97
+ "__schema": "ParameterSchema",
99
98
  "location": {
100
99
  "filePath": "sidebar.ui.runtime.tsx",
101
100
  "line": 29,
102
- "character": 29
101
+ "character": 18
103
102
  },
103
+ "name": "drawer",
104
104
  "type": {
105
- "__schema": "TypeRefSchema",
105
+ "__schema": "TypeArraySchema",
106
106
  "location": {
107
107
  "filePath": "sidebar.ui.runtime.tsx",
108
108
  "line": 29,
109
109
  "character": 29
110
110
  },
111
- "name": "DrawerType",
112
- "componentId": {
113
- "scope": "teambit.ui-foundation",
114
- "name": "ui/tree/drawer",
115
- "version": "0.0.518"
111
+ "type": {
112
+ "__schema": "TypeRefSchema",
113
+ "location": {
114
+ "filePath": "sidebar.ui.runtime.tsx",
115
+ "line": 29,
116
+ "character": 29
117
+ },
118
+ "name": "DrawerType"
116
119
  }
117
- }
120
+ },
121
+ "isOptional": false,
122
+ "isSpread": true
123
+ }
124
+ ],
125
+ "returnType": {
126
+ "__schema": "TypeRefSchema",
127
+ "location": {
128
+ "filePath": "sidebar.ui.runtime.tsx",
129
+ "line": 29,
130
+ "character": 3
118
131
  },
119
- "isOptional": false,
120
- "isSpread": true
121
- }
122
- ],
123
- "returnType": {
124
- "__schema": "TypeRefSchema",
125
- "location": {
126
- "filePath": "sidebar.ui.runtime.tsx",
127
- "line": 29,
128
- "character": 3
129
- },
130
- "name": "SidebarUI"
131
- },
132
- "modifiers": []
133
- },
134
- {
135
- "__schema": "VariableLikeSchema",
136
- "location": {
137
- "filePath": "sidebar.ui.runtime.tsx",
138
- "line": 37,
139
- "character": 3
140
- },
141
- "doc": {
142
- "__schema": "DocSchema",
143
- "location": {
144
- "filePath": "sidebar.ui.runtime.tsx",
145
- "line": 34,
146
- "character": 3
132
+ "name": "SidebarUI"
147
133
  },
148
- "raw": "/**\n * render the sidebar.\n */",
149
- "comment": "render the sidebar."
134
+ "modifiers": []
150
135
  },
151
- "signature": "(property) SidebarUI.render: (props: Partial<SideBarProps>) => React.JSX.Element",
152
- "name": "render",
153
- "type": {
154
- "__schema": "InferenceTypeSchema",
136
+ {
137
+ "__schema": "VariableLikeSchema",
155
138
  "location": {
156
139
  "filePath": "sidebar.ui.runtime.tsx",
157
140
  "line": 37,
158
141
  "character": 3
159
142
  },
160
- "type": "(props: Partial<SideBarProps>) => React.JSX.Element"
161
- },
162
- "isOptional": true,
163
- "defaultValue": "(props: Partial<SideBarProps>) => {\n return <SideBar drawerSlot={this.drawerSlot} {...props}></SideBar>;\n }"
164
- },
165
- {
166
- "__schema": "VariableLikeSchema",
167
- "location": {
168
- "filePath": "sidebar.ui.runtime.tsx",
169
- "line": 41,
170
- "character": 3
143
+ "doc": {
144
+ "__schema": "DocSchema",
145
+ "location": {
146
+ "filePath": "sidebar.ui.runtime.tsx",
147
+ "line": 34,
148
+ "character": 3
149
+ },
150
+ "raw": "/**\n * render the sidebar.\n */",
151
+ "comment": "render the sidebar."
152
+ },
153
+ "signature": "(property) SidebarUI.render: (props: Partial<SideBarProps>) => React.JSX.Element",
154
+ "name": "render",
155
+ "type": {
156
+ "__schema": "InferenceTypeSchema",
157
+ "location": {
158
+ "filePath": "sidebar.ui.runtime.tsx",
159
+ "line": 37,
160
+ "character": 3
161
+ },
162
+ "type": "(props: Partial<SideBarProps>) => React.JSX.Element"
163
+ },
164
+ "isOptional": true,
165
+ "defaultValue": "(props: Partial<SideBarProps>) => {\n return <SideBar drawerSlot={this.drawerSlot} {...props}></SideBar>;\n }"
171
166
  },
172
- "signature": "(property) SidebarUI.runtime: RuntimeDefinition",
173
- "name": "runtime",
174
- "type": {
175
- "__schema": "InferenceTypeSchema",
167
+ {
168
+ "__schema": "VariableLikeSchema",
176
169
  "location": {
177
170
  "filePath": "sidebar.ui.runtime.tsx",
178
171
  "line": 41,
179
172
  "character": 3
180
173
  },
181
- "type": "RuntimeDefinition"
182
- },
183
- "isOptional": true,
184
- "defaultValue": "UIRuntime"
185
- },
186
- {
187
- "__schema": "VariableLikeSchema",
188
- "location": {
189
- "filePath": "sidebar.ui.runtime.tsx",
190
- "line": 43,
191
- "character": 3
174
+ "signature": "(property) SidebarUI.runtime: RuntimeDefinition",
175
+ "name": "runtime",
176
+ "type": {
177
+ "__schema": "InferenceTypeSchema",
178
+ "location": {
179
+ "filePath": "sidebar.ui.runtime.tsx",
180
+ "line": 41,
181
+ "character": 3
182
+ },
183
+ "type": "RuntimeDefinition"
184
+ },
185
+ "isOptional": true,
186
+ "defaultValue": "UIRuntime"
192
187
  },
193
- "signature": "(property) SidebarUI.slots: ((registerFn: () => string) => SlotRegistry<DrawerType>)[]",
194
- "name": "slots",
195
- "type": {
196
- "__schema": "InferenceTypeSchema",
188
+ {
189
+ "__schema": "VariableLikeSchema",
197
190
  "location": {
198
191
  "filePath": "sidebar.ui.runtime.tsx",
199
192
  "line": 43,
200
193
  "character": 3
201
194
  },
202
- "type": "((registerFn: () => string) => SlotRegistry<DrawerType>)[]"
203
- },
204
- "isOptional": true,
205
- "defaultValue": "[Slot.withType<DrawerType>()]"
206
- },
207
- {
208
- "__schema": "VariableLikeSchema",
209
- "location": {
210
- "filePath": "sidebar.ui.runtime.tsx",
211
- "line": 45,
212
- "character": 3
195
+ "signature": "(property) SidebarUI.slots: ((registerFn: () => string) => SlotRegistry<DrawerType>)[]",
196
+ "name": "slots",
197
+ "type": {
198
+ "__schema": "InferenceTypeSchema",
199
+ "location": {
200
+ "filePath": "sidebar.ui.runtime.tsx",
201
+ "line": 43,
202
+ "character": 3
203
+ },
204
+ "type": "((registerFn: () => string) => SlotRegistry<DrawerType>)[]"
205
+ },
206
+ "isOptional": true,
207
+ "defaultValue": "[Slot.withType<DrawerType>()]"
213
208
  },
214
- "signature": "(property) SidebarUI.dependencies: never[]",
215
- "name": "dependencies",
216
- "type": {
217
- "__schema": "InferenceTypeSchema",
209
+ {
210
+ "__schema": "VariableLikeSchema",
218
211
  "location": {
219
212
  "filePath": "sidebar.ui.runtime.tsx",
220
213
  "line": 45,
221
214
  "character": 3
222
215
  },
223
- "type": "never[]"
224
- },
225
- "isOptional": true,
226
- "defaultValue": "[]"
227
- },
228
- {
229
- "__schema": "FunctionLikeSchema",
230
- "location": {
231
- "filePath": "sidebar.ui.runtime.tsx",
232
- "line": 47,
233
- "character": 3
234
- },
235
- "signature": "(method) SidebarUI.provider(deps: any, config: any, [drawerSlot]: [DrawerSlot]): Promise<SidebarUI>",
236
- "name": "provider",
237
- "params": [
238
- {
239
- "__schema": "ParameterSchema",
216
+ "signature": "(property) SidebarUI.dependencies: never[]",
217
+ "name": "dependencies",
218
+ "type": {
219
+ "__schema": "InferenceTypeSchema",
240
220
  "location": {
241
221
  "filePath": "sidebar.ui.runtime.tsx",
242
- "line": 47,
243
- "character": 25
222
+ "line": 45,
223
+ "character": 3
244
224
  },
245
- "name": "deps",
246
- "type": {
247
- "__schema": "InferenceTypeSchema",
225
+ "type": "never[]"
226
+ },
227
+ "isOptional": true,
228
+ "defaultValue": "[]"
229
+ },
230
+ {
231
+ "__schema": "FunctionLikeSchema",
232
+ "location": {
233
+ "filePath": "sidebar.ui.runtime.tsx",
234
+ "line": 47,
235
+ "character": 3
236
+ },
237
+ "signature": "(method) SidebarUI.provider(deps: any, config: any, [drawerSlot]: [DrawerSlot]): Promise<SidebarUI>",
238
+ "name": "provider",
239
+ "params": [
240
+ {
241
+ "__schema": "ParameterSchema",
248
242
  "location": {
249
243
  "filePath": "sidebar.ui.runtime.tsx",
250
244
  "line": 47,
251
245
  "character": 25
252
246
  },
253
- "type": "any"
254
- },
255
- "isOptional": false,
256
- "isSpread": false
257
- },
258
- {
259
- "__schema": "ParameterSchema",
260
- "location": {
261
- "filePath": "sidebar.ui.runtime.tsx",
262
- "line": 47,
263
- "character": 31
247
+ "name": "deps",
248
+ "type": {
249
+ "__schema": "InferenceTypeSchema",
250
+ "location": {
251
+ "filePath": "sidebar.ui.runtime.tsx",
252
+ "line": 47,
253
+ "character": 25
254
+ },
255
+ "type": "any"
256
+ },
257
+ "isOptional": false,
258
+ "isSpread": false
264
259
  },
265
- "name": "config",
266
- "type": {
267
- "__schema": "InferenceTypeSchema",
260
+ {
261
+ "__schema": "ParameterSchema",
268
262
  "location": {
269
263
  "filePath": "sidebar.ui.runtime.tsx",
270
264
  "line": 47,
271
265
  "character": 31
272
266
  },
273
- "type": "any"
274
- },
275
- "isOptional": false,
276
- "isSpread": false
277
- },
278
- {
279
- "__schema": "ParameterSchema",
280
- "location": {
281
- "filePath": "sidebar.ui.runtime.tsx",
282
- "line": 47,
283
- "character": 39
267
+ "name": "config",
268
+ "type": {
269
+ "__schema": "InferenceTypeSchema",
270
+ "location": {
271
+ "filePath": "sidebar.ui.runtime.tsx",
272
+ "line": 47,
273
+ "character": 31
274
+ },
275
+ "type": "any"
276
+ },
277
+ "isOptional": false,
278
+ "isSpread": false
284
279
  },
285
- "name": "[ drawerSlot ]",
286
- "type": {
287
- "__schema": "TupleTypeSchema",
280
+ {
281
+ "__schema": "ParameterSchema",
288
282
  "location": {
289
283
  "filePath": "sidebar.ui.runtime.tsx",
290
284
  "line": 47,
291
- "character": 53
285
+ "character": 39
292
286
  },
293
- "elements": [
294
- {
295
- "__schema": "TypeRefSchema",
296
- "location": {
297
- "filePath": "sidebar.ui.runtime.tsx",
298
- "line": 47,
299
- "character": 54
300
- },
301
- "name": "DrawerSlot",
302
- "internalFilePath": "sidebar.ui.runtime.tsx"
303
- }
304
- ]
287
+ "name": "[ drawerSlot ]",
288
+ "type": {
289
+ "__schema": "TupleTypeSchema",
290
+ "location": {
291
+ "filePath": "sidebar.ui.runtime.tsx",
292
+ "line": 47,
293
+ "character": 53
294
+ },
295
+ "elements": [
296
+ {
297
+ "__schema": "TypeRefSchema",
298
+ "location": {
299
+ "filePath": "sidebar.ui.runtime.tsx",
300
+ "line": 47,
301
+ "character": 54
302
+ },
303
+ "name": "DrawerSlot"
304
+ }
305
+ ]
306
+ },
307
+ "isOptional": false,
308
+ "isSpread": false
309
+ }
310
+ ],
311
+ "returnType": {
312
+ "__schema": "InferenceTypeSchema",
313
+ "location": {
314
+ "filePath": "sidebar.ui.runtime.tsx",
315
+ "line": 47,
316
+ "character": 3
305
317
  },
306
- "isOptional": false,
307
- "isSpread": false
308
- }
309
- ],
310
- "returnType": {
311
- "__schema": "InferenceTypeSchema",
312
- "location": {
313
- "filePath": "sidebar.ui.runtime.tsx",
314
- "line": 47,
315
- "character": 3
318
+ "type": "Promise<SidebarUI>"
316
319
  },
317
- "type": "Promise<SidebarUI>"
318
- },
319
- "modifiers": [
320
- "static",
321
- "async"
322
- ]
323
- }
324
- ],
325
- "extendsNodes": [],
326
- "implementNodes": []
320
+ "modifiers": [
321
+ "static",
322
+ "async"
323
+ ]
324
+ }
325
+ ],
326
+ "extendsNodes": [],
327
+ "implementNodes": []
328
+ }
327
329
  },
328
330
  {
329
- "__schema": "TypeSchema",
331
+ "__schema": "ExportSchema",
330
332
  "location": {
331
- "filePath": "sidebar.ui.runtime.tsx",
332
- "line": 19,
333
- "character": 1
333
+ "filePath": "index.ts",
334
+ "line": 3,
335
+ "character": 26
334
336
  },
335
- "signature": "type SidebarItemSlot = SlotRegistry<SidebarItem[]>",
336
337
  "name": "SidebarItemSlot",
337
- "type": {
338
- "__schema": "TypeRefSchema",
338
+ "exportNode": {
339
+ "__schema": "TypeSchema",
339
340
  "location": {
340
341
  "filePath": "sidebar.ui.runtime.tsx",
341
342
  "line": 19,
342
- "character": 31
343
- },
344
- "name": "SlotRegistry",
345
- "componentId": {
346
- "scope": "teambit.harmony",
347
- "name": "harmony",
348
- "version": "0.4.6"
343
+ "character": 1
349
344
  },
350
- "typeArgs": [
351
- {
352
- "__schema": "TypeArraySchema",
353
- "location": {
354
- "filePath": "sidebar.ui.runtime.tsx",
355
- "line": 19,
356
- "character": 44
357
- },
358
- "type": {
359
- "__schema": "TypeRefSchema",
345
+ "signature": "type SidebarItemSlot = SlotRegistry<SidebarItem[]>",
346
+ "name": "SidebarItemSlot",
347
+ "type": {
348
+ "__schema": "TypeRefSchema",
349
+ "location": {
350
+ "filePath": "sidebar.ui.runtime.tsx",
351
+ "line": 19,
352
+ "character": 31
353
+ },
354
+ "name": "SlotRegistry",
355
+ "typeArgs": [
356
+ {
357
+ "__schema": "TypeArraySchema",
360
358
  "location": {
361
359
  "filePath": "sidebar.ui.runtime.tsx",
362
360
  "line": 19,
363
361
  "character": 44
364
362
  },
365
- "name": "SidebarItem"
363
+ "type": {
364
+ "__schema": "TypeRefSchema",
365
+ "location": {
366
+ "filePath": "sidebar.ui.runtime.tsx",
367
+ "line": 19,
368
+ "character": 44
369
+ },
370
+ "name": "SidebarItem"
371
+ }
366
372
  }
367
- }
368
- ]
373
+ ]
374
+ }
369
375
  }
370
376
  },
371
377
  {
372
- "__schema": "TypeSchema",
378
+ "__schema": "ExportSchema",
373
379
  "location": {
374
- "filePath": "sidebar.ui.runtime.tsx",
375
- "line": 14,
376
- "character": 1
380
+ "filePath": "index.ts",
381
+ "line": 3,
382
+ "character": 43
377
383
  },
378
- "signature": "type SidebarItem = {\n weight?: number | undefined;\n component?: React.ComponentType | undefined;\n}",
379
384
  "name": "SidebarItem",
380
- "type": {
381
- "__schema": "TypeLiteralSchema",
385
+ "exportNode": {
386
+ "__schema": "TypeSchema",
382
387
  "location": {
383
388
  "filePath": "sidebar.ui.runtime.tsx",
384
389
  "line": 14,
385
- "character": 27
390
+ "character": 1
386
391
  },
387
- "members": [
388
- {
389
- "__schema": "VariableLikeSchema",
390
- "location": {
391
- "filePath": "sidebar.ui.runtime.tsx",
392
- "line": 15,
393
- "character": 3
394
- },
395
- "signature": "(property) weight?: number | undefined",
396
- "name": "weight",
397
- "type": {
398
- "__schema": "KeywordTypeSchema",
392
+ "signature": "type SidebarItem = {\n weight?: number | undefined;\n component?: React.ComponentType | undefined;\n}",
393
+ "name": "SidebarItem",
394
+ "type": {
395
+ "__schema": "TypeLiteralSchema",
396
+ "location": {
397
+ "filePath": "sidebar.ui.runtime.tsx",
398
+ "line": 14,
399
+ "character": 27
400
+ },
401
+ "members": [
402
+ {
403
+ "__schema": "VariableLikeSchema",
399
404
  "location": {
400
405
  "filePath": "sidebar.ui.runtime.tsx",
401
406
  "line": 15,
402
- "character": 12
407
+ "character": 3
403
408
  },
404
- "name": "number"
405
- },
406
- "isOptional": true
407
- },
408
- {
409
- "__schema": "VariableLikeSchema",
410
- "location": {
411
- "filePath": "sidebar.ui.runtime.tsx",
412
- "line": 16,
413
- "character": 3
409
+ "signature": "(property) weight?: number | undefined",
410
+ "name": "weight",
411
+ "type": {
412
+ "__schema": "KeywordTypeSchema",
413
+ "location": {
414
+ "filePath": "sidebar.ui.runtime.tsx",
415
+ "line": 15,
416
+ "character": 12
417
+ },
418
+ "name": "number"
419
+ },
420
+ "isOptional": true
414
421
  },
415
- "signature": "(property) component?: React.ComponentType | undefined",
416
- "name": "component",
417
- "type": {
418
- "__schema": "TypeRefSchema",
422
+ {
423
+ "__schema": "VariableLikeSchema",
419
424
  "location": {
420
425
  "filePath": "sidebar.ui.runtime.tsx",
421
426
  "line": 16,
422
- "character": 15
427
+ "character": 3
423
428
  },
424
- "name": "ComponentType",
425
- "packageName": "react"
426
- },
427
- "isOptional": true
428
- }
429
- ]
429
+ "signature": "(property) component?: React.ComponentType | undefined",
430
+ "name": "component",
431
+ "type": {
432
+ "__schema": "TypeRefSchema",
433
+ "location": {
434
+ "filePath": "sidebar.ui.runtime.tsx",
435
+ "line": 16,
436
+ "character": 15
437
+ },
438
+ "name": "ComponentType"
439
+ },
440
+ "isOptional": true
441
+ }
442
+ ]
443
+ }
430
444
  }
431
445
  },
432
446
  {
433
- "__schema": "VariableLikeSchema",
447
+ "__schema": "ExportSchema",
434
448
  "location": {
435
- "filePath": "sidebar.aspect.ts",
436
- "line": 3,
437
- "character": 14
449
+ "filePath": "index.ts",
450
+ "line": 4,
451
+ "character": 10
438
452
  },
439
- "signature": "const SidebarAspect: Aspect",
440
453
  "name": "SidebarAspect",
441
- "type": {
442
- "__schema": "TypeRefSchema",
454
+ "exportNode": {
455
+ "__schema": "VariableLikeSchema",
443
456
  "location": {
444
457
  "filePath": "sidebar.aspect.ts",
445
458
  "line": 3,
446
459
  "character": 14
447
460
  },
448
- "name": "Aspect",
449
- "componentId": {
450
- "scope": "teambit.harmony",
451
- "name": "harmony",
452
- "version": "0.4.6"
453
- }
454
- },
455
- "isOptional": false,
456
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/sidebar',\n})"
461
+ "signature": "const SidebarAspect: Aspect",
462
+ "name": "SidebarAspect",
463
+ "type": {
464
+ "__schema": "TypeRefSchema",
465
+ "location": {
466
+ "filePath": "sidebar.aspect.ts",
467
+ "line": 3,
468
+ "character": 14
469
+ },
470
+ "name": "Aspect",
471
+ "componentId": {
472
+ "scope": "teambit.harmony",
473
+ "name": "harmony",
474
+ "version": "0.4.6"
475
+ }
476
+ },
477
+ "isOptional": false,
478
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/sidebar',\n})"
479
+ }
457
480
  },
458
481
  {
459
482
  "__schema": "UnImplementedSchema",
@@ -574,8 +597,7 @@
574
597
  "line": 16,
575
598
  "character": 15
576
599
  },
577
- "name": "ComponentType",
578
- "packageName": "react"
600
+ "name": "ComponentType"
579
601
  },
580
602
  "isOptional": true
581
603
  }
@@ -599,11 +621,6 @@
599
621
  "character": 31
600
622
  },
601
623
  "name": "SlotRegistry",
602
- "componentId": {
603
- "scope": "teambit.harmony",
604
- "name": "harmony",
605
- "version": "0.4.6"
606
- },
607
624
  "typeArgs": [
608
625
  {
609
626
  "__schema": "TypeArraySchema",
@@ -642,11 +659,6 @@
642
659
  "character": 26
643
660
  },
644
661
  "name": "SlotRegistry",
645
- "componentId": {
646
- "scope": "teambit.harmony",
647
- "name": "harmony",
648
- "version": "0.4.6"
649
- },
650
662
  "typeArgs": [
651
663
  {
652
664
  "__schema": "TypeArraySchema",
@@ -662,12 +674,7 @@
662
674
  "line": 21,
663
675
  "character": 39
664
676
  },
665
- "name": "DrawerType",
666
- "componentId": {
667
- "scope": "teambit.ui-foundation",
668
- "name": "ui/tree/drawer",
669
- "version": "0.0.518"
670
- }
677
+ "name": "DrawerType"
671
678
  }
672
679
  }
673
680
  ]
@@ -708,8 +715,7 @@
708
715
  "line": 24,
709
716
  "character": 35
710
717
  },
711
- "name": "DrawerSlot",
712
- "internalFilePath": "sidebar.ui.runtime.tsx"
718
+ "name": "DrawerSlot"
713
719
  },
714
720
  "isOptional": false,
715
721
  "isSpread": false
@@ -768,12 +774,7 @@
768
774
  "line": 29,
769
775
  "character": 29
770
776
  },
771
- "name": "DrawerType",
772
- "componentId": {
773
- "scope": "teambit.ui-foundation",
774
- "name": "ui/tree/drawer",
775
- "version": "0.0.518"
776
- }
777
+ "name": "DrawerType"
777
778
  }
778
779
  },
779
780
  "isOptional": false,
@@ -958,8 +959,7 @@
958
959
  "line": 47,
959
960
  "character": 54
960
961
  },
961
- "name": "DrawerSlot",
962
- "internalFilePath": "sidebar.ui.runtime.tsx"
962
+ "name": "DrawerSlot"
963
963
  }
964
964
  ]
965
965
  },
@@ -1050,7 +1050,7 @@
1050
1050
  "componentId": {
1051
1051
  "scope": "teambit.ui-foundation",
1052
1052
  "name": "sidebar",
1053
- "version": "1.0.256"
1053
+ "version": "1.0.258"
1054
1054
  },
1055
1055
  "taggedModuleExports": []
1056
1056
  }
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_sidebar@1.0.258/dist/sidebar.composition.js';
2
+ import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_sidebar@1.0.258/dist/sidebar.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,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/sidebar",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/sidebar",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "sidebar",
9
- "version": "1.0.256"
9
+ "version": "1.0.258"
10
10
  },
11
11
  "dependencies": {
12
12
  "classnames": "2.2.6",
@@ -14,8 +14,8 @@
14
14
  "@teambit/harmony": "0.4.6",
15
15
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
16
16
  "@teambit/design.ui.surfaces.menu.section": "0.0.357",
17
- "@teambit/component": "1.0.256",
18
- "@teambit/ui": "1.0.256"
17
+ "@teambit/component": "1.0.258",
18
+ "@teambit/ui": "1.0.258"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/classnames": "2.2.11",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_sidebar@1.0.256/dist/sidebar.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_sidebar@1.0.256/dist/sidebar.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"}]};