@nextelco/common-ui 1.7.117 → 1.7.118
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.
- package/dist/bundle.js +1 -1
- package/dist/types/components/atoms/Button/variants/ActionButton.d.ts +3 -2
- package/dist/types/components/atoms/Button/variants/FilterButton.d.ts +2 -1
- package/dist/types/components/atoms/Button/variants/IconButton.d.ts +3 -2
- package/dist/types/components/atoms/Button/variants/MainButton.d.ts +2 -1
- package/dist/types/components/atoms/Button/variants/TabButton.d.ts +2 -1
- package/dist/types/components/layout/Header/Header.d.ts +2 -1
- package/package.json +1 -1
@@ -1,13 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
3
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
|
-
import './ActionButton.scss';
|
5
4
|
import { ActionButtonTheme } from '../../../../types/themes/ButtonThemes';
|
5
|
+
import './ActionButton.scss';
|
6
6
|
type Props = PropsWithChildren<{
|
7
7
|
icon?: IconProp;
|
8
8
|
title: string;
|
9
9
|
theme: ActionButtonTheme;
|
10
10
|
onClick: () => void;
|
11
|
+
disabled?: boolean;
|
11
12
|
}>;
|
12
|
-
declare const ActionButton: ({ icon, title, theme, onClick }: Props) => React.JSX.Element;
|
13
|
+
declare const ActionButton: ({ icon, title, theme, onClick, disabled, }: Props) => React.JSX.Element;
|
13
14
|
export default ActionButton;
|
@@ -5,6 +5,7 @@ type Props = PropsWithChildren<{
|
|
5
5
|
title: string;
|
6
6
|
selected: boolean;
|
7
7
|
onClick: () => void;
|
8
|
+
disabled?: boolean;
|
8
9
|
}>;
|
9
|
-
declare const FilterButton: ({ title, selected, onClick }: Props) => React.JSX.Element;
|
10
|
+
declare const FilterButton: ({ title, selected, onClick, disabled, }: Props) => React.JSX.Element;
|
10
11
|
export default FilterButton;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
3
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
|
-
import './IconButton.scss';
|
5
4
|
import { IconButtonTheme } from '../../../../types/themes/ButtonThemes';
|
5
|
+
import './IconButton.scss';
|
6
6
|
type Props = PropsWithChildren<{
|
7
7
|
icon: IconProp;
|
8
8
|
onClick: () => void;
|
9
9
|
theme: IconButtonTheme;
|
10
|
+
disabled?: boolean;
|
10
11
|
}>;
|
11
|
-
declare const IconButton: ({ icon, onClick, theme }: Props) => React.JSX.Element;
|
12
|
+
declare const IconButton: ({ icon, onClick, theme, disabled }: Props) => React.JSX.Element;
|
12
13
|
export default IconButton;
|
@@ -9,6 +9,7 @@ type Props = PropsWithChildren<{
|
|
9
9
|
description?: string;
|
10
10
|
theme: MainButtonTheme;
|
11
11
|
onClick: () => void;
|
12
|
+
disabled?: boolean;
|
12
13
|
}>;
|
13
|
-
declare const MainButton: ({ icon, title, description, theme, onClick }: Props) => React.JSX.Element;
|
14
|
+
declare const MainButton: ({ icon, title, description, theme, onClick, disabled, }: Props) => React.JSX.Element;
|
14
15
|
export default MainButton;
|
@@ -7,6 +7,7 @@ type Props = PropsWithChildren<{
|
|
7
7
|
title: string;
|
8
8
|
selected: boolean;
|
9
9
|
onClick: () => void;
|
10
|
+
disabled?: boolean;
|
10
11
|
}>;
|
11
|
-
declare const TabButton: ({ icon, title, selected, onClick }: Props) => React.JSX.Element;
|
12
|
+
declare const TabButton: ({ icon, title, selected, onClick, disabled }: Props) => React.JSX.Element;
|
12
13
|
export default TabButton;
|
@@ -3,11 +3,12 @@ import './Header.scss';
|
|
3
3
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
4
|
type Props = {
|
5
5
|
title: string;
|
6
|
+
subTitle?: string;
|
6
7
|
icon?: IconProp;
|
7
8
|
sideBar: boolean;
|
8
9
|
handleSideBar: () => void;
|
9
10
|
profile: ReactNode;
|
10
11
|
handleHome: () => void;
|
11
12
|
};
|
12
|
-
declare const Header: ({ title, icon, sideBar, handleSideBar, profile, handleHome, }: Props) => React.JSX.Element;
|
13
|
+
declare const Header: ({ title, subTitle, icon, sideBar, handleSideBar, profile, handleHome, }: Props) => React.JSX.Element;
|
13
14
|
export default Header;
|