@nextelco/common-ui 1.7.135 → 1.7.138
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 +1 -2
- package/dist/types/exports/atoms.d.ts +0 -7
- package/package.json +2 -1
- package/dist/types/components/atoms/Card/Card1.d.ts +0 -16
- package/dist/types/components/atoms/Card/Card2.d.ts +0 -16
- package/dist/types/components/atoms/Card/Card3.d.ts +0 -18
- package/dist/types/components/atoms/Card/Card4.d.ts +0 -16
- package/dist/types/components/atoms/Card/Card5.d.ts +0 -15
- package/dist/types/components/atoms/Card/Card6.d.ts +0 -19
- package/dist/types/components/atoms/Card/Card7.d.ts +0 -15
@@ -1,10 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
|
-
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
3
|
import { ActionButtonTheme } from '../../../../types/themes/ButtonThemes';
|
5
4
|
import './ActionButton.scss';
|
6
5
|
type Props = PropsWithChildren<{
|
7
|
-
icon?:
|
6
|
+
icon?: React.ReactNode;
|
8
7
|
title: string;
|
9
8
|
theme: ActionButtonTheme;
|
10
9
|
onClick: () => void;
|
@@ -4,13 +4,6 @@ export { default as IconText } from '../components/atoms/IconText/IconText';
|
|
4
4
|
export { default as Acronym } from '../components/atoms/Acronym/Acronym';
|
5
5
|
export { default as Label } from '../components/atoms/Label/Label';
|
6
6
|
export { default as Field } from '../components/atoms/Field/Field';
|
7
|
-
export { default as Card1 } from '../components/atoms/Card/Card1';
|
8
|
-
export { default as Card2 } from '../components/atoms/Card/Card2';
|
9
|
-
export { default as Card3 } from '../components/atoms/Card/Card3';
|
10
|
-
export { default as Card4 } from '../components/atoms/Card/Card4';
|
11
|
-
export { default as Card5 } from '../components/atoms/Card/Card5';
|
12
|
-
export { default as Card6 } from '../components/atoms/Card/Card6';
|
13
|
-
export { default as Card7 } from '../components/atoms/Card/Card7';
|
14
7
|
export { default as Select } from '../components/atoms/Select/Select';
|
15
8
|
export { default as ActionButton } from '../components/atoms/Button/variants/ActionButton';
|
16
9
|
export { default as FilterButton } from '../components/atoms/Button/variants/FilterButton';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nextelco/common-ui",
|
3
|
-
"version": "1.7.
|
3
|
+
"version": "1.7.138",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/bundle.js",
|
6
6
|
"types": "dist/types/index.d.ts",
|
@@ -53,6 +53,7 @@
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
54
54
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
55
55
|
"axios": "^1.8.1",
|
56
|
+
"iconoir-react": "^7.11.0",
|
56
57
|
"js-cookie": "^3.0.5",
|
57
58
|
"keycloak-js": "^25.0.0",
|
58
59
|
"react-focus-lock": "^2.13.6",
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card1.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
textFontColor: string;
|
8
|
-
backgroundColor: string;
|
9
|
-
image: string;
|
10
|
-
isVideo: boolean;
|
11
|
-
fontStyle?: string;
|
12
|
-
disabled?: boolean;
|
13
|
-
onClick: () => void;
|
14
|
-
}>;
|
15
|
-
declare const Card1: ({ text1, text2, textFontColor, backgroundColor, image, fontStyle, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
16
|
-
export default Card1;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card2.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
textFontColor: string;
|
8
|
-
backgroundColor: string;
|
9
|
-
image: string;
|
10
|
-
image2: string;
|
11
|
-
isVideo: boolean;
|
12
|
-
disabled?: boolean;
|
13
|
-
onClick: () => void;
|
14
|
-
}>;
|
15
|
-
declare const Card2: ({ text1, text2, textFontColor, backgroundColor, image, image2, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
16
|
-
export default Card2;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card3.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
textFontColor: string;
|
8
|
-
backgroundColor: string;
|
9
|
-
textButton: string;
|
10
|
-
textButtonFontColor: string;
|
11
|
-
buttonBackgroundColor: string;
|
12
|
-
image: string;
|
13
|
-
disabled?: boolean;
|
14
|
-
onClick: () => void;
|
15
|
-
onClickFull?: () => void;
|
16
|
-
}>;
|
17
|
-
declare const Card3: (props: Props) => React.JSX.Element;
|
18
|
-
export default Card3;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card4.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
textFontColor: string;
|
8
|
-
backgroundColor: string;
|
9
|
-
hoveredBackgroundColor: string;
|
10
|
-
icon1: string;
|
11
|
-
icon2?: string;
|
12
|
-
disabled?: boolean;
|
13
|
-
onClick: () => void;
|
14
|
-
}>;
|
15
|
-
declare const Card4: ({ text1, text2, textFontColor, backgroundColor, hoveredBackgroundColor, icon1, icon2, disabled, onClick }: Props) => React.JSX.Element;
|
16
|
-
export default Card4;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card5.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
text3: string;
|
8
|
-
textFontColor: string;
|
9
|
-
backgroundColor: string;
|
10
|
-
image: string;
|
11
|
-
disabled?: boolean;
|
12
|
-
onClick: () => void;
|
13
|
-
}>;
|
14
|
-
declare const Card5: ({ text1, text2, text3, textFontColor, backgroundColor, image, disabled, onClick }: Props) => React.JSX.Element;
|
15
|
-
export default Card5;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card6.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
text2: string;
|
7
|
-
text3: string;
|
8
|
-
text4: string;
|
9
|
-
textFontColor: string;
|
10
|
-
backgroundColor: string;
|
11
|
-
textButton: string;
|
12
|
-
textButtonFontColor: string;
|
13
|
-
buttonBackgroundColor: string;
|
14
|
-
image: string;
|
15
|
-
disabled?: boolean;
|
16
|
-
onClick: () => void;
|
17
|
-
}>;
|
18
|
-
declare const Card6: (props: Props) => React.JSX.Element;
|
19
|
-
export default Card6;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import './Card7.scss';
|
4
|
-
type Props = PropsWithChildren<{
|
5
|
-
text1: string;
|
6
|
-
textFontColor: string;
|
7
|
-
backgroundColor: string;
|
8
|
-
image: string;
|
9
|
-
icon: string;
|
10
|
-
isVideo: boolean;
|
11
|
-
disabled?: boolean;
|
12
|
-
onClick: () => void;
|
13
|
-
}>;
|
14
|
-
declare const Card7: ({ text1, textFontColor, backgroundColor, icon, image, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
15
|
-
export default Card7;
|