@teambit/panels 0.0.863 → 0.0.865

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/panels@0.0.863" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/panels@0.0.865" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,240 +14,295 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "panel-ui.main.runtime.ts",
20
- "line": 5,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 15
22
22
  },
23
- "signature": "class PanelUIMain",
24
23
  "name": "PanelUIMain",
25
- "members": [
26
- {
27
- "__schema": "VariableLikeSchema",
28
- "location": {
29
- "filePath": "panel-ui.main.runtime.ts",
30
- "line": 6,
31
- "character": 3
32
- },
33
- "signature": "(property) PanelUIMain.runtime: RuntimeDefinition",
34
- "name": "runtime",
35
- "type": {
36
- "__schema": "InferenceTypeSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "panel-ui.main.runtime.ts",
28
+ "line": 5,
29
+ "character": 1
30
+ },
31
+ "signature": "class PanelUIMain",
32
+ "name": "PanelUIMain",
33
+ "members": [
34
+ {
35
+ "__schema": "VariableLikeSchema",
37
36
  "location": {
38
37
  "filePath": "panel-ui.main.runtime.ts",
39
38
  "line": 6,
40
39
  "character": 3
41
40
  },
42
- "type": "RuntimeDefinition"
43
- },
44
- "isOptional": true,
45
- "defaultValue": "MainRuntime"
46
- },
47
- {
48
- "__schema": "VariableLikeSchema",
49
- "location": {
50
- "filePath": "panel-ui.main.runtime.ts",
51
- "line": 7,
52
- "character": 3
41
+ "signature": "(property) PanelUIMain.runtime: RuntimeDefinition",
42
+ "name": "runtime",
43
+ "type": {
44
+ "__schema": "InferenceTypeSchema",
45
+ "location": {
46
+ "filePath": "panel-ui.main.runtime.ts",
47
+ "line": 6,
48
+ "character": 3
49
+ },
50
+ "type": "RuntimeDefinition"
51
+ },
52
+ "isOptional": true,
53
+ "defaultValue": "MainRuntime"
53
54
  },
54
- "signature": "(property) PanelUIMain.dependencies: never[]",
55
- "name": "dependencies",
56
- "type": {
57
- "__schema": "InferenceTypeSchema",
55
+ {
56
+ "__schema": "VariableLikeSchema",
58
57
  "location": {
59
58
  "filePath": "panel-ui.main.runtime.ts",
60
59
  "line": 7,
61
60
  "character": 3
62
61
  },
63
- "type": "never[]"
64
- },
65
- "isOptional": true,
66
- "defaultValue": "[]"
67
- },
68
- {
69
- "__schema": "FunctionLikeSchema",
70
- "location": {
71
- "filePath": "panel-ui.main.runtime.ts",
72
- "line": 9,
73
- "character": 3
62
+ "signature": "(property) PanelUIMain.dependencies: never[]",
63
+ "name": "dependencies",
64
+ "type": {
65
+ "__schema": "InferenceTypeSchema",
66
+ "location": {
67
+ "filePath": "panel-ui.main.runtime.ts",
68
+ "line": 7,
69
+ "character": 3
70
+ },
71
+ "type": "never[]"
72
+ },
73
+ "isOptional": true,
74
+ "defaultValue": "[]"
74
75
  },
75
- "signature": "(method) PanelUIMain.provider(): Promise<PanelUIMain>",
76
- "name": "provider",
77
- "params": [],
78
- "returnType": {
79
- "__schema": "InferenceTypeSchema",
76
+ {
77
+ "__schema": "FunctionLikeSchema",
80
78
  "location": {
81
79
  "filePath": "panel-ui.main.runtime.ts",
82
80
  "line": 9,
83
81
  "character": 3
84
82
  },
85
- "type": "Promise<PanelUIMain>"
86
- },
87
- "modifiers": [
88
- "static",
89
- "async"
90
- ]
91
- }
92
- ],
93
- "extendsNodes": [],
94
- "implementNodes": []
83
+ "signature": "(method) PanelUIMain.provider(): Promise<PanelUIMain>",
84
+ "name": "provider",
85
+ "params": [],
86
+ "returnType": {
87
+ "__schema": "InferenceTypeSchema",
88
+ "location": {
89
+ "filePath": "panel-ui.main.runtime.ts",
90
+ "line": 9,
91
+ "character": 3
92
+ },
93
+ "type": "Promise<PanelUIMain>"
94
+ },
95
+ "modifiers": [
96
+ "static",
97
+ "async"
98
+ ]
99
+ }
100
+ ],
101
+ "extendsNodes": [],
102
+ "implementNodes": []
103
+ }
95
104
  },
96
105
  {
97
- "__schema": "VariableLikeSchema",
106
+ "__schema": "ExportSchema",
98
107
  "location": {
99
- "filePath": "panel-ui.aspect.ts",
100
- "line": 3,
101
- "character": 14
108
+ "filePath": "index.ts",
109
+ "line": 2,
110
+ "character": 10
102
111
  },
103
- "signature": "const PanelUiAspect: Aspect",
104
112
  "name": "PanelUiAspect",
105
- "type": {
106
- "__schema": "TypeRefSchema",
113
+ "exportNode": {
114
+ "__schema": "VariableLikeSchema",
107
115
  "location": {
108
116
  "filePath": "panel-ui.aspect.ts",
109
117
  "line": 3,
110
118
  "character": 14
111
119
  },
112
- "name": "Aspect",
113
- "componentId": {
114
- "scope": "teambit.harmony",
115
- "name": "harmony",
116
- "version": "0.4.6"
117
- }
118
- },
119
- "isOptional": false,
120
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/panels',\n dependencies: [],\n defaultConfig: {},\n})"
120
+ "signature": "const PanelUiAspect: Aspect",
121
+ "name": "PanelUiAspect",
122
+ "type": {
123
+ "__schema": "TypeRefSchema",
124
+ "location": {
125
+ "filePath": "panel-ui.aspect.ts",
126
+ "line": 3,
127
+ "character": 14
128
+ },
129
+ "name": "Aspect",
130
+ "componentId": {
131
+ "scope": "teambit.harmony",
132
+ "name": "harmony",
133
+ "version": "0.4.6"
134
+ }
135
+ },
136
+ "isOptional": false,
137
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/panels',\n dependencies: [],\n defaultConfig: {},\n})"
138
+ }
121
139
  },
122
140
  {
123
- "__schema": "VariableLikeSchema",
141
+ "__schema": "ExportSchema",
124
142
  "location": {
125
- "filePath": "ui/tabs.tsx",
126
- "line": 15,
127
- "character": 14
143
+ "filePath": "index.ts",
144
+ "line": 3,
145
+ "character": 10
128
146
  },
129
- "signature": "const TabContainer: typeof Tabs",
130
147
  "name": "TabContainer",
131
- "type": {
132
- "__schema": "InferenceTypeSchema",
148
+ "exportNode": {
149
+ "__schema": "VariableLikeSchema",
133
150
  "location": {
134
151
  "filePath": "ui/tabs.tsx",
135
152
  "line": 15,
136
153
  "character": 14
137
154
  },
138
- "type": "typeof Tabs"
139
- },
140
- "isOptional": false,
141
- "defaultValue": "Tabs"
155
+ "signature": "const TabContainer: typeof Tabs",
156
+ "name": "TabContainer",
157
+ "type": {
158
+ "__schema": "InferenceTypeSchema",
159
+ "location": {
160
+ "filePath": "ui/tabs.tsx",
161
+ "line": 15,
162
+ "character": 14
163
+ },
164
+ "type": "typeof Tabs"
165
+ },
166
+ "isOptional": false,
167
+ "defaultValue": "Tabs"
168
+ }
142
169
  },
143
170
  {
144
- "__schema": "FunctionLikeSchema",
171
+ "__schema": "ExportSchema",
145
172
  "location": {
146
- "filePath": "ui/tabs.tsx",
147
- "line": 30,
148
- "character": 1
173
+ "filePath": "index.ts",
174
+ "line": 3,
175
+ "character": 24
149
176
  },
150
- "signature": "function Tab(props: BaseTabProps): React.JSX.Element\nmodule Tab",
151
177
  "name": "Tab",
152
- "params": [
153
- {
154
- "__schema": "ParameterSchema",
155
- "location": {
156
- "filePath": "ui/tabs.tsx",
157
- "line": 30,
158
- "character": 21
159
- },
160
- "name": "props",
161
- "type": {
162
- "__schema": "TypeRefSchema",
178
+ "exportNode": {
179
+ "__schema": "FunctionLikeSchema",
180
+ "location": {
181
+ "filePath": "ui/tabs.tsx",
182
+ "line": 30,
183
+ "character": 1
184
+ },
185
+ "signature": "function Tab(props: BaseTabProps): React.JSX.Element\nmodule Tab",
186
+ "name": "Tab",
187
+ "params": [
188
+ {
189
+ "__schema": "ParameterSchema",
163
190
  "location": {
164
191
  "filePath": "ui/tabs.tsx",
165
192
  "line": 30,
166
- "character": 28
193
+ "character": 21
194
+ },
195
+ "name": "props",
196
+ "type": {
197
+ "__schema": "TypeRefSchema",
198
+ "location": {
199
+ "filePath": "ui/tabs.tsx",
200
+ "line": 30,
201
+ "character": 28
202
+ },
203
+ "name": "BaseTabProps"
167
204
  },
168
- "name": "BaseTabProps"
205
+ "isOptional": false,
206
+ "isSpread": false
207
+ }
208
+ ],
209
+ "returnType": {
210
+ "__schema": "InferenceTypeSchema",
211
+ "location": {
212
+ "filePath": "ui/tabs.tsx",
213
+ "line": 30,
214
+ "character": 1
169
215
  },
170
- "isOptional": false,
171
- "isSpread": false
172
- }
173
- ],
174
- "returnType": {
175
- "__schema": "InferenceTypeSchema",
176
- "location": {
177
- "filePath": "ui/tabs.tsx",
178
- "line": 30,
179
- "character": 1
216
+ "type": "React.JSX.Element\nmodule Tab"
180
217
  },
181
- "type": "React.JSX.Element\nmodule Tab"
182
- },
183
- "modifiers": [
184
- "export"
185
- ]
218
+ "modifiers": [
219
+ "export"
220
+ ]
221
+ }
186
222
  },
187
223
  {
188
- "__schema": "FunctionLikeSchema",
224
+ "__schema": "ExportSchema",
189
225
  "location": {
190
- "filePath": "ui/tabs.tsx",
191
- "line": 21,
192
- "character": 1
226
+ "filePath": "index.ts",
227
+ "line": 3,
228
+ "character": 29
193
229
  },
194
- "signature": "function TabList(props: TabListProps): React.JSX.Element\nmodule TabList",
195
230
  "name": "TabList",
196
- "params": [
197
- {
198
- "__schema": "ParameterSchema",
199
- "location": {
200
- "filePath": "ui/tabs.tsx",
201
- "line": 21,
202
- "character": 25
203
- },
204
- "name": "props",
205
- "type": {
206
- "__schema": "TypeRefSchema",
231
+ "exportNode": {
232
+ "__schema": "FunctionLikeSchema",
233
+ "location": {
234
+ "filePath": "ui/tabs.tsx",
235
+ "line": 21,
236
+ "character": 1
237
+ },
238
+ "signature": "function TabList(props: TabListProps): React.JSX.Element\nmodule TabList",
239
+ "name": "TabList",
240
+ "params": [
241
+ {
242
+ "__schema": "ParameterSchema",
207
243
  "location": {
208
244
  "filePath": "ui/tabs.tsx",
209
245
  "line": 21,
210
- "character": 32
246
+ "character": 25
211
247
  },
212
- "name": "TabListProps"
248
+ "name": "props",
249
+ "type": {
250
+ "__schema": "TypeRefSchema",
251
+ "location": {
252
+ "filePath": "ui/tabs.tsx",
253
+ "line": 21,
254
+ "character": 32
255
+ },
256
+ "name": "TabListProps",
257
+ "internalFilePath": "ui/tabs.tsx"
258
+ },
259
+ "isOptional": false,
260
+ "isSpread": false
261
+ }
262
+ ],
263
+ "returnType": {
264
+ "__schema": "InferenceTypeSchema",
265
+ "location": {
266
+ "filePath": "ui/tabs.tsx",
267
+ "line": 21,
268
+ "character": 1
213
269
  },
214
- "isOptional": false,
215
- "isSpread": false
216
- }
217
- ],
218
- "returnType": {
219
- "__schema": "InferenceTypeSchema",
220
- "location": {
221
- "filePath": "ui/tabs.tsx",
222
- "line": 21,
223
- "character": 1
270
+ "type": "React.JSX.Element\nmodule TabList"
224
271
  },
225
- "type": "React.JSX.Element\nmodule TabList"
226
- },
227
- "modifiers": [
228
- "export"
229
- ]
272
+ "modifiers": [
273
+ "export"
274
+ ]
275
+ }
230
276
  },
231
277
  {
232
- "__schema": "VariableLikeSchema",
278
+ "__schema": "ExportSchema",
233
279
  "location": {
234
- "filePath": "ui/tabs.tsx",
235
- "line": 29,
236
- "character": 14
280
+ "filePath": "index.ts",
281
+ "line": 3,
282
+ "character": 38
237
283
  },
238
- "signature": "const TabPanel: typeof TabPanelBase",
239
284
  "name": "TabPanel",
240
- "type": {
241
- "__schema": "InferenceTypeSchema",
285
+ "exportNode": {
286
+ "__schema": "VariableLikeSchema",
242
287
  "location": {
243
288
  "filePath": "ui/tabs.tsx",
244
289
  "line": 29,
245
290
  "character": 14
246
291
  },
247
- "type": "typeof TabPanelBase"
248
- },
249
- "isOptional": false,
250
- "defaultValue": "TabPanelBase"
292
+ "signature": "const TabPanel: typeof TabPanelBase",
293
+ "name": "TabPanel",
294
+ "type": {
295
+ "__schema": "InferenceTypeSchema",
296
+ "location": {
297
+ "filePath": "ui/tabs.tsx",
298
+ "line": 29,
299
+ "character": 14
300
+ },
301
+ "type": "typeof TabPanelBase"
302
+ },
303
+ "isOptional": false,
304
+ "defaultValue": "TabPanelBase"
305
+ }
251
306
  }
252
307
  ],
253
308
  "internals": []
@@ -314,7 +369,8 @@
314
369
  "line": 14,
315
370
  "character": 33
316
371
  },
317
- "name": "Tabs"
372
+ "name": "Tabs",
373
+ "packageName": "react-tabs"
318
374
  }
319
375
  },
320
376
  {
@@ -401,7 +457,8 @@
401
457
  "line": 21,
402
458
  "character": 32
403
459
  },
404
- "name": "TabListProps"
460
+ "name": "TabListProps",
461
+ "internalFilePath": "ui/tabs.tsx"
405
462
  },
406
463
  "isOptional": false,
407
464
  "isSpread": false
@@ -513,7 +570,7 @@
513
570
  "componentId": {
514
571
  "scope": "teambit.ui-foundation",
515
572
  "name": "panels",
516
- "version": "0.0.863"
573
+ "version": "0.0.865"
517
574
  },
518
575
  "taggedModuleExports": []
519
576
  }
@@ -0,0 +1,3 @@
1
+ export type { PanelUIMain } from './panel-ui.main.runtime';
2
+ export { PanelUiAspect } from './panel-ui.aspect';
3
+ export { TabContainer, Tab, TabList, TabPanel } from './ui/tabs';
@@ -0,0 +1,2 @@
1
+ import { Aspect } from '@teambit/harmony';
2
+ export declare const PanelUiAspect: Aspect;
@@ -0,0 +1,5 @@
1
+ export declare class PanelUIMain {
2
+ static runtime: import("@teambit/harmony").RuntimeDefinition;
3
+ static dependencies: never[];
4
+ static provider(): Promise<PanelUIMain>;
5
+ }
@@ -0,0 +1,14 @@
1
+ import { TabListProps as BaseTabListProps, TabPanel as TabPanelBase, TabProps as BaseTabProps, Tabs } from 'react-tabs';
2
+ export type TabContainerProps = Tabs;
3
+ export declare const TabContainer: typeof Tabs;
4
+ export type TabProps = BaseTabProps;
5
+ export type TabListProps = BaseTabListProps;
6
+ export declare function TabList(props: TabListProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare namespace TabList {
8
+ var tabsRole: string;
9
+ }
10
+ export declare const TabPanel: typeof TabPanelBase;
11
+ export declare function Tab(props: BaseTabProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare namespace Tab {
13
+ var tabsRole: string;
14
+ }
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@teambit/panels",
3
- "version": "0.0.863",
3
+ "version": "0.0.865",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/panels",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "panels",
9
- "version": "0.0.863"
9
+ "version": "0.0.865"
10
10
  },
11
11
  "dependencies": {
12
12
  "classnames": "2.2.6",
13
13
  "react-tabs": "3.2.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/cli": "0.0.861"
15
+ "@teambit/cli": "0.0.863"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/classnames": "2.2.11",
19
19
  "@types/react-tabs": "2.3.2",
20
20
  "@types/mocha": "9.1.0",
21
21
  "chai": "4.3.0",
22
- "@teambit/harmony.envs.core-aspect-env": "0.0.30"
22
+ "@teambit/harmony.envs.core-aspect-env": "0.0.33"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^17.0.0 || ^18.0.0",
package/tsconfig.json CHANGED
@@ -20,8 +20,7 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false,
24
- "composite": true
23
+ "noImplicitAny": false
25
24
  },
26
25
  "exclude": [
27
26
  "artifacts",
@@ -36,10 +35,5 @@
36
35
  "include": [
37
36
  "**/*",
38
37
  "**/*.json"
39
- ],
40
- "references": [
41
- {
42
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
43
- }
44
38
  ]
45
39
  }