@nextelco/common-ui 1.7.112 → 1.7.114
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 +1 -4
- package/dist/types/components/atoms/Card/Card2.d.ts +1 -3
- package/dist/types/components/atoms/Card/Card7.d.ts +1 -3
- package/dist/types/components/molecules/Modal/Modal.d.ts +2 -1
- package/dist/types/exports/contexts.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/contexts/modalContext.d.ts +0 -10
@@ -8,12 +8,9 @@ type Props = PropsWithChildren<{
|
|
8
8
|
backgroundColor: string;
|
9
9
|
image: string;
|
10
10
|
isVideo: boolean;
|
11
|
-
isYoutubeVideo: boolean;
|
12
11
|
fontStyle?: string;
|
13
|
-
videoUrl?: string;
|
14
|
-
showVideo?: boolean;
|
15
12
|
disabled?: boolean;
|
16
13
|
onClick: () => void;
|
17
14
|
}>;
|
18
|
-
declare const Card1: ({ text1, text2, textFontColor, backgroundColor, image, fontStyle,
|
15
|
+
declare const Card1: ({ text1, text2, textFontColor, backgroundColor, image, fontStyle, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
19
16
|
export default Card1;
|
@@ -8,11 +8,9 @@ type Props = PropsWithChildren<{
|
|
8
8
|
backgroundColor: string;
|
9
9
|
image: string;
|
10
10
|
image2: string;
|
11
|
-
videoUrl?: string;
|
12
|
-
showVideo?: boolean;
|
13
11
|
isVideo: boolean;
|
14
12
|
disabled?: boolean;
|
15
13
|
onClick: () => void;
|
16
14
|
}>;
|
17
|
-
declare const Card2: ({ text1, text2, textFontColor, backgroundColor, image, image2, isVideo,
|
15
|
+
declare const Card2: ({ text1, text2, textFontColor, backgroundColor, image, image2, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
18
16
|
export default Card2;
|
@@ -8,10 +8,8 @@ type Props = PropsWithChildren<{
|
|
8
8
|
image: string;
|
9
9
|
icon: string;
|
10
10
|
isVideo: boolean;
|
11
|
-
videoUrl?: string;
|
12
|
-
showVideo?: boolean;
|
13
11
|
disabled?: boolean;
|
14
12
|
onClick: () => void;
|
15
13
|
}>;
|
16
|
-
declare const Card7: ({ text1, textFontColor, backgroundColor, icon, image, isVideo,
|
14
|
+
declare const Card7: ({ text1, textFontColor, backgroundColor, icon, image, isVideo, disabled, onClick }: Props) => React.JSX.Element;
|
17
15
|
export default Card7;
|
@@ -2,7 +2,8 @@ import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import './Modal.scss';
|
3
3
|
type Props = PropsWithChildren<{
|
4
4
|
title: string;
|
5
|
+
modalOnly?: boolean;
|
5
6
|
onClose: () => void;
|
6
7
|
}>;
|
7
|
-
declare const Modal: ({ title, onClose, children }: Props) => React.JSX.Element;
|
8
|
+
declare const Modal: ({ title, onClose, modalOnly, children }: Props) => React.JSX.Element;
|
8
9
|
export default Modal;
|
package/package.json
CHANGED
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface ModalProps {
|
3
|
-
allowScroll: boolean;
|
4
|
-
setAllowScroll: React.Dispatch<React.SetStateAction<boolean>>;
|
5
|
-
}
|
6
|
-
export declare function ModalProvider({ children }: {
|
7
|
-
children: React.ReactNode;
|
8
|
-
}): React.JSX.Element;
|
9
|
-
export declare function useModal(): ModalProps;
|
10
|
-
export {};
|