pixel-react 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/AddButton/AddButton.d.ts +5 -0
- package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
- package/lib/components/AddButton/index.d.ts +1 -0
- package/lib/components/AddButton/types.d.ts +4 -0
- package/lib/components/AppHeader/types.d.ts +14 -10
- package/lib/index.d.ts +14 -10
- package/lib/index.esm.js +425 -108
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +425 -108
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +2 -8
- package/src/components/AppHeader/AppHeader.stories.tsx +20 -10
- package/src/components/AppHeader/AppHeader.tsx +24 -17
- package/src/components/AppHeader/types.ts +17 -13
- package/src/components/Button/index.ts +1 -1
- package/lib/index.css +0 -404
- package/lib/index.esm.css +0 -404
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './AddButton';
|
@@ -1,26 +1,30 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
export interface AppHeaderProps {
|
3
3
|
logoIconName: string;
|
4
|
-
|
5
|
-
|
4
|
+
leftContent?: ReactNode;
|
5
|
+
rightContent?: ReactNode;
|
6
|
+
projectsList?: string[];
|
6
7
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
7
|
-
appHeaderHiddenMenuItems
|
8
|
+
appHeaderHiddenMenuItems?: string[];
|
8
9
|
selectedMenu: string;
|
9
|
-
selectedSubMenu
|
10
|
-
selectedQuickMenu
|
10
|
+
selectedSubMenu?: string;
|
11
|
+
selectedQuickMenu?: string;
|
11
12
|
onMenuClick?: (text: any) => void;
|
12
13
|
onSubMenuClick?: (text: any) => void;
|
13
14
|
onQuickMenuClick?: (text: any) => void;
|
14
15
|
}
|
15
16
|
export interface appHeaderMenuItemProps {
|
16
|
-
|
17
|
-
|
17
|
+
menuLabel: string;
|
18
|
+
menuName?: string;
|
19
|
+
subMenuItems?: appHeaderSubMenuItemProps[];
|
18
20
|
}
|
19
21
|
export interface appHeaderSubMenuItemProps {
|
20
|
-
|
21
|
-
|
22
|
+
subMenuLabel: string;
|
23
|
+
subMenuName?: string;
|
24
|
+
quickMenuItems?: appHeaderQuickMenuItemProps[];
|
22
25
|
}
|
23
26
|
export interface appHeaderQuickMenuItemProps {
|
24
|
-
|
27
|
+
quickMenuLabel?: string;
|
28
|
+
quickMenuName?: string;
|
25
29
|
quickMenuIconName: string;
|
26
30
|
}
|
package/lib/index.d.ts
CHANGED
@@ -1534,27 +1534,31 @@ declare const PieChart: React__default.FC<PieChartProps>;
|
|
1534
1534
|
|
1535
1535
|
interface AppHeaderProps {
|
1536
1536
|
logoIconName: string;
|
1537
|
-
|
1538
|
-
|
1537
|
+
leftContent?: ReactNode;
|
1538
|
+
rightContent?: ReactNode;
|
1539
|
+
projectsList?: string[];
|
1539
1540
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
1540
|
-
appHeaderHiddenMenuItems
|
1541
|
+
appHeaderHiddenMenuItems?: string[];
|
1541
1542
|
selectedMenu: string;
|
1542
|
-
selectedSubMenu
|
1543
|
-
selectedQuickMenu
|
1543
|
+
selectedSubMenu?: string;
|
1544
|
+
selectedQuickMenu?: string;
|
1544
1545
|
onMenuClick?: (text: any) => void;
|
1545
1546
|
onSubMenuClick?: (text: any) => void;
|
1546
1547
|
onQuickMenuClick?: (text: any) => void;
|
1547
1548
|
}
|
1548
1549
|
interface appHeaderMenuItemProps {
|
1549
|
-
|
1550
|
-
|
1550
|
+
menuLabel: string;
|
1551
|
+
menuName?: string;
|
1552
|
+
subMenuItems?: appHeaderSubMenuItemProps[];
|
1551
1553
|
}
|
1552
1554
|
interface appHeaderSubMenuItemProps {
|
1553
|
-
|
1554
|
-
|
1555
|
+
subMenuLabel: string;
|
1556
|
+
subMenuName?: string;
|
1557
|
+
quickMenuItems?: appHeaderQuickMenuItemProps[];
|
1555
1558
|
}
|
1556
1559
|
interface appHeaderQuickMenuItemProps {
|
1557
|
-
|
1560
|
+
quickMenuLabel?: string;
|
1561
|
+
quickMenuName?: string;
|
1558
1562
|
quickMenuIconName: string;
|
1559
1563
|
}
|
1560
1564
|
|