@nextelco/common-ui 1.6.6 → 1.6.64
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/Card/Card1.d.ts +6 -7
- package/dist/types/components/atoms/Card/Card2.d.ts +7 -8
- package/dist/types/components/atoms/Card/Card3.d.ts +7 -8
- package/dist/types/components/atoms/Card/Card4.d.ts +4 -9
- package/dist/types/components/atoms/Card/Card5.d.ts +6 -8
- package/dist/types/components/atoms/Card/Card6.d.ts +9 -11
- package/package.json +1 -1
@@ -2,14 +2,13 @@ import React from 'react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
3
|
import './Card1.scss';
|
4
4
|
type Props = PropsWithChildren<{
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
isVideo: boolean;
|
9
|
-
clickable: boolean;
|
10
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
textFontColor: string;
|
11
8
|
backgroundColor: string;
|
9
|
+
image: string;
|
10
|
+
isVideo: boolean;
|
12
11
|
onClick: () => void;
|
13
12
|
}>;
|
14
|
-
declare const Card1: ({
|
13
|
+
declare const Card1: ({ text1, text2, textFontColor, backgroundColor, image, isVideo, onClick }: Props) => React.JSX.Element;
|
15
14
|
export default Card1;
|
@@ -2,15 +2,14 @@ import React from 'react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
3
|
import './Card2.scss';
|
4
4
|
type Props = PropsWithChildren<{
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
thumbnail: string;
|
9
|
-
isVideo: boolean;
|
10
|
-
clickable: boolean;
|
11
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
textFontColor: string;
|
12
8
|
backgroundColor: string;
|
9
|
+
image: string;
|
10
|
+
image2: string;
|
11
|
+
isVideo: boolean;
|
13
12
|
onClick: () => void;
|
14
13
|
}>;
|
15
|
-
declare const Card2: ({
|
14
|
+
declare const Card2: ({ text1, text2, textFontColor, backgroundColor, image, image2, isVideo, onClick }: Props) => React.JSX.Element;
|
16
15
|
export default Card2;
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
|
-
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
3
|
import './Card3.scss';
|
5
4
|
type Props = PropsWithChildren<{
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
textFontColor: string;
|
10
8
|
backgroundColor: string;
|
11
|
-
|
12
|
-
|
9
|
+
textButton: string;
|
10
|
+
textButtonFontColor: string;
|
13
11
|
buttonBackgroundColor: string;
|
12
|
+
image: string;
|
14
13
|
onClick: () => void;
|
15
14
|
}>;
|
16
|
-
declare const Card3: ({
|
15
|
+
declare const Card3: ({ text1, text2, textFontColor, backgroundColor, textButton, textButtonFontColor, buttonBackgroundColor, image, onClick }: Props) => React.JSX.Element;
|
17
16
|
export default Card3;
|
@@ -1,17 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
|
-
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
3
|
import './Card4.scss';
|
5
4
|
type Props = PropsWithChildren<{
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
thumbnail: string;
|
10
|
-
isVideo: boolean;
|
11
|
-
clickable: boolean;
|
12
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
textFontColor: string;
|
13
8
|
backgroundColor: string;
|
14
9
|
onClick: () => void;
|
15
10
|
}>;
|
16
|
-
declare const Card4: ({
|
11
|
+
declare const Card4: ({ text1, text2, textFontColor, backgroundColor, onClick }: Props) => React.JSX.Element;
|
17
12
|
export default Card4;
|
@@ -2,15 +2,13 @@ import React from 'react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
3
|
import './Card5.scss';
|
4
4
|
type Props = PropsWithChildren<{
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
icon: string;
|
10
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
text3: string;
|
8
|
+
textFontColor: string;
|
11
9
|
backgroundColor: string;
|
12
|
-
|
10
|
+
image: string;
|
13
11
|
onClick: () => void;
|
14
12
|
}>;
|
15
|
-
declare const Card5: ({
|
13
|
+
declare const Card5: ({ text1, text2, text3, textFontColor, backgroundColor, image, onClick }: Props) => React.JSX.Element;
|
16
14
|
export default Card5;
|
@@ -1,20 +1,18 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
|
-
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
4
3
|
import './Card6.scss';
|
5
4
|
type Props = PropsWithChildren<{
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
buttonIcon: IconProp;
|
12
|
-
buttonFontColor: string;
|
13
|
-
buttonBackgroundColor: string;
|
14
|
-
fontColor: string;
|
5
|
+
text1: string;
|
6
|
+
text2: string;
|
7
|
+
text3: string;
|
8
|
+
text4: string;
|
9
|
+
textFontColor: string;
|
15
10
|
backgroundColor: string;
|
11
|
+
textButton: string;
|
12
|
+
textButtonFontColor: string;
|
13
|
+
buttonBackgroundColor: string;
|
16
14
|
image: string;
|
17
15
|
onClick: () => void;
|
18
16
|
}>;
|
19
|
-
declare const Card6: ({
|
17
|
+
declare const Card6: ({ text1, text2, text3, text4, textFontColor, backgroundColor, textButton, textButtonFontColor, buttonBackgroundColor, image, onClick }: Props) => React.JSX.Element;
|
20
18
|
export default Card6;
|