@teambit/sidebar 1.0.13 → 1.0.15
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,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@1.0.15/dist/sidebar.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@1.0.15/dist/sidebar.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const Logo: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export declare const Logo: () => React.JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComponentModel } from '@teambit/component';
|
2
2
|
import { SlotRegistry } from '@teambit/harmony';
|
3
|
-
import { ComponentType } from 'react';
|
3
|
+
import React, { ComponentType } from 'react';
|
4
4
|
import type { DrawerType } from '@teambit/ui-foundation.ui.tree.drawer';
|
5
5
|
import { SideBarProps } from './ui';
|
6
6
|
export declare type ComponentTypeProps = {
|
@@ -22,7 +22,7 @@ export declare class SidebarUI {
|
|
22
22
|
/**
|
23
23
|
* render the sidebar.
|
24
24
|
*/
|
25
|
-
render: (props: Partial<SideBarProps>) => JSX.Element;
|
25
|
+
render: (props: Partial<SideBarProps>) => React.JSX.Element;
|
26
26
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
27
27
|
static slots: ((registerFn: () => string) => SlotRegistry<DrawerType>)[];
|
28
28
|
static dependencies: never[];
|
@@ -18,4 +18,4 @@ export declare type SideBarProps = {
|
|
18
18
|
/**
|
19
19
|
* side bar component.
|
20
20
|
*/
|
21
|
-
export declare function SideBar({ drawerSlot, items, overrideDrawerSlot, ...rest }: SideBarProps): JSX.Element;
|
21
|
+
export declare function SideBar({ drawerSlot, items, overrideDrawerSlot, ...rest }: SideBarProps): React.JSX.Element;
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/sidebar",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.15",
|
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.15"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"classnames": "2.2.6",
|
@@ -16,8 +16,8 @@
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
17
17
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.517",
|
18
18
|
"@teambit/design.ui.surfaces.menu.section": "0.0.357",
|
19
|
-
"@teambit/component": "1.0.
|
20
|
-
"@teambit/ui": "1.0.
|
19
|
+
"@teambit/component": "1.0.15",
|
20
|
+
"@teambit/ui": "1.0.15"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@types/react": "^17.0.8",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@types/testing-library__jest-dom": "5.9.5"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
|
-
"@teambit/legacy": "1.0.
|
33
|
+
"@teambit/legacy": "1.0.573",
|
34
34
|
"react": "^16.8.0 || ^17.0.0",
|
35
35
|
"react-dom": "^16.8.0 || ^17.0.0"
|
36
36
|
},
|