@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.
|
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={
|
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})()));
|
package/artifacts/schema.json
CHANGED
@@ -14,446 +14,469 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
20
|
-
"line":
|
21
|
-
"character":
|
19
|
+
"filePath": "index.ts",
|
20
|
+
"line": 3,
|
21
|
+
"character": 15
|
22
22
|
},
|
23
|
-
"signature": "class SidebarUI",
|
24
23
|
"name": "SidebarUI",
|
25
|
-
"
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
"
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
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":
|
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
|
-
"
|
52
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
|
77
|
-
"__schema": "
|
76
|
+
{
|
77
|
+
"__schema": "FunctionLikeSchema",
|
78
78
|
"location": {
|
79
79
|
"filePath": "sidebar.ui.runtime.tsx",
|
80
|
-
"line":
|
80
|
+
"line": 29,
|
81
81
|
"character": 3
|
82
82
|
},
|
83
|
-
"
|
84
|
-
|
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":
|
94
|
-
"character":
|
87
|
+
"line": 26,
|
88
|
+
"character": 3
|
95
89
|
},
|
96
|
-
"
|
97
|
-
"
|
98
|
-
|
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":
|
101
|
+
"character": 18
|
103
102
|
},
|
103
|
+
"name": "drawer",
|
104
104
|
"type": {
|
105
|
-
"__schema": "
|
105
|
+
"__schema": "TypeArraySchema",
|
106
106
|
"location": {
|
107
107
|
"filePath": "sidebar.ui.runtime.tsx",
|
108
108
|
"line": 29,
|
109
109
|
"character": 29
|
110
110
|
},
|
111
|
-
"
|
112
|
-
|
113
|
-
"
|
114
|
-
|
115
|
-
|
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
|
-
"
|
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
|
-
"
|
149
|
-
"comment": "render the sidebar."
|
134
|
+
"modifiers": []
|
150
135
|
},
|
151
|
-
|
152
|
-
|
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
|
-
"
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
"
|
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
|
-
|
173
|
-
|
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
|
-
"
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
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
|
-
|
194
|
-
|
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
|
-
"
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
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
|
-
|
215
|
-
|
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
|
-
"
|
224
|
-
|
225
|
-
|
226
|
-
|
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":
|
243
|
-
"character":
|
222
|
+
"line": 45,
|
223
|
+
"character": 3
|
244
224
|
},
|
245
|
-
"
|
246
|
-
|
247
|
-
|
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
|
-
"
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
"
|
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
|
-
|
266
|
-
|
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
|
-
"
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
"
|
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
|
-
|
286
|
-
|
287
|
-
"__schema": "TupleTypeSchema",
|
280
|
+
{
|
281
|
+
"__schema": "ParameterSchema",
|
288
282
|
"location": {
|
289
283
|
"filePath": "sidebar.ui.runtime.tsx",
|
290
284
|
"line": 47,
|
291
|
-
"character":
|
285
|
+
"character": 39
|
292
286
|
},
|
293
|
-
"
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
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
|
-
"
|
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
|
-
"
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
"implementNodes": []
|
320
|
+
"modifiers": [
|
321
|
+
"static",
|
322
|
+
"async"
|
323
|
+
]
|
324
|
+
}
|
325
|
+
],
|
326
|
+
"extendsNodes": [],
|
327
|
+
"implementNodes": []
|
328
|
+
}
|
327
329
|
},
|
328
330
|
{
|
329
|
-
"__schema": "
|
331
|
+
"__schema": "ExportSchema",
|
330
332
|
"location": {
|
331
|
-
"filePath": "
|
332
|
-
"line":
|
333
|
-
"character":
|
333
|
+
"filePath": "index.ts",
|
334
|
+
"line": 3,
|
335
|
+
"character": 26
|
334
336
|
},
|
335
|
-
"signature": "type SidebarItemSlot = SlotRegistry<SidebarItem[]>",
|
336
337
|
"name": "SidebarItemSlot",
|
337
|
-
"
|
338
|
-
"__schema": "
|
338
|
+
"exportNode": {
|
339
|
+
"__schema": "TypeSchema",
|
339
340
|
"location": {
|
340
341
|
"filePath": "sidebar.ui.runtime.tsx",
|
341
342
|
"line": 19,
|
342
|
-
"character":
|
343
|
-
},
|
344
|
-
"name": "SlotRegistry",
|
345
|
-
"componentId": {
|
346
|
-
"scope": "teambit.harmony",
|
347
|
-
"name": "harmony",
|
348
|
-
"version": "0.4.6"
|
343
|
+
"character": 1
|
349
344
|
},
|
350
|
-
"
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
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
|
-
"
|
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": "
|
378
|
+
"__schema": "ExportSchema",
|
373
379
|
"location": {
|
374
|
-
"filePath": "
|
375
|
-
"line":
|
376
|
-
"character":
|
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
|
-
"
|
381
|
-
"__schema": "
|
385
|
+
"exportNode": {
|
386
|
+
"__schema": "TypeSchema",
|
382
387
|
"location": {
|
383
388
|
"filePath": "sidebar.ui.runtime.tsx",
|
384
389
|
"line": 14,
|
385
|
-
"character":
|
390
|
+
"character": 1
|
386
391
|
},
|
387
|
-
"
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
"__schema": "
|
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":
|
407
|
+
"character": 3
|
403
408
|
},
|
404
|
-
"
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
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
|
-
|
416
|
-
|
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":
|
427
|
+
"character": 3
|
423
428
|
},
|
424
|
-
"
|
425
|
-
"
|
426
|
-
|
427
|
-
|
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": "
|
447
|
+
"__schema": "ExportSchema",
|
434
448
|
"location": {
|
435
|
-
"filePath": "
|
436
|
-
"line":
|
437
|
-
"character":
|
449
|
+
"filePath": "index.ts",
|
450
|
+
"line": 4,
|
451
|
+
"character": 10
|
438
452
|
},
|
439
|
-
"signature": "const SidebarAspect: Aspect",
|
440
453
|
"name": "SidebarAspect",
|
441
|
-
"
|
442
|
-
"__schema": "
|
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
|
-
"
|
449
|
-
"
|
450
|
-
|
451
|
-
"
|
452
|
-
"
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
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.
|
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.
|
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.
|
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.
|
18
|
-
"@teambit/ui": "1.0.
|
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"}]};
|