@wavv/ui 1.9.18 → 1.9.20
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/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/assets/icons/PhoneIncoming.d.ts +3 -0
- package/build/cjs/types/components/Icon/icons.d.ts +1 -0
- package/build/cjs/types/components/Modal.d.ts +3 -1
- package/build/esm/index.js +2 -2
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/assets/icons/PhoneIncoming.d.ts +3 -0
- package/build/esm/types/components/Icon/icons.d.ts +1 -0
- package/build/esm/types/components/Modal.d.ts +3 -1
- package/build/index.d.ts +4 -1
- package/build/types/assets/icons/PhoneIncoming.d.ts +3 -0
- package/build/types/components/Icon/icons.d.ts +1 -0
- package/build/types/components/Modal.d.ts +3 -1
- package/package.json +1 -1
|
@@ -189,6 +189,7 @@ declare const icons: {
|
|
|
189
189
|
'phone-forward': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
190
190
|
'phone-history': typeof PhoneHistory;
|
|
191
191
|
'phone-hold': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
192
|
+
'phone-incoming': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
192
193
|
'phone-talk': typeof PhoneTalk;
|
|
193
194
|
'phone-transfer': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
194
195
|
play: typeof Play;
|
|
@@ -13,6 +13,8 @@ type ModalProps = {
|
|
|
13
13
|
closeIcon?: boolean;
|
|
14
14
|
/** Prevents the Modal from closing if the overlay outside the modal is clicked */
|
|
15
15
|
preventOverlayClose?: boolean;
|
|
16
|
+
/** Blurs the background behind the modal */
|
|
17
|
+
overlayBlur?: boolean | number;
|
|
16
18
|
/** Sets the color of the modal overlay */
|
|
17
19
|
overlayColor?: string;
|
|
18
20
|
/** Overrides the backgroundColor of the modal container */
|
|
@@ -39,7 +41,7 @@ type ModalProps = {
|
|
|
39
41
|
zIndex?: number;
|
|
40
42
|
} & WidthHeight & Padding;
|
|
41
43
|
declare const Modal: {
|
|
42
|
-
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): import("react").ReactPortal | null;
|
|
44
|
+
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayBlur, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): import("react").ReactPortal | null;
|
|
43
45
|
Header: import("@emotion/styled").StyledComponent<{
|
|
44
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
45
47
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
package/build/index.d.ts
CHANGED
|
@@ -1026,6 +1026,7 @@ declare const icons: {
|
|
|
1026
1026
|
'phone-forward': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1027
1027
|
'phone-history': typeof PhoneHistory;
|
|
1028
1028
|
'phone-hold': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1029
|
+
'phone-incoming': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1029
1030
|
'phone-talk': typeof PhoneTalk;
|
|
1030
1031
|
'phone-transfer': (props: react.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1031
1032
|
play: typeof Play;
|
|
@@ -2175,6 +2176,8 @@ type ModalProps = {
|
|
|
2175
2176
|
closeIcon?: boolean;
|
|
2176
2177
|
/** Prevents the Modal from closing if the overlay outside the modal is clicked */
|
|
2177
2178
|
preventOverlayClose?: boolean;
|
|
2179
|
+
/** Blurs the background behind the modal */
|
|
2180
|
+
overlayBlur?: boolean | number;
|
|
2178
2181
|
/** Sets the color of the modal overlay */
|
|
2179
2182
|
overlayColor?: string;
|
|
2180
2183
|
/** Overrides the backgroundColor of the modal container */
|
|
@@ -2201,7 +2204,7 @@ type ModalProps = {
|
|
|
2201
2204
|
zIndex?: number;
|
|
2202
2205
|
} & WidthHeight & Padding;
|
|
2203
2206
|
declare const Modal: {
|
|
2204
|
-
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): react.ReactPortal | null;
|
|
2207
|
+
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayBlur, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): react.ReactPortal | null;
|
|
2205
2208
|
Header: _emotion_styled.StyledComponent<{
|
|
2206
2209
|
theme?: _emotion_react.Theme | undefined;
|
|
2207
2210
|
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
@@ -189,6 +189,7 @@ declare const icons: {
|
|
|
189
189
|
'phone-forward': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
190
190
|
'phone-history': typeof PhoneHistory;
|
|
191
191
|
'phone-hold': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
192
|
+
'phone-incoming': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
192
193
|
'phone-talk': typeof PhoneTalk;
|
|
193
194
|
'phone-transfer': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
194
195
|
play: typeof Play;
|
|
@@ -13,6 +13,8 @@ type ModalProps = {
|
|
|
13
13
|
closeIcon?: boolean;
|
|
14
14
|
/** Prevents the Modal from closing if the overlay outside the modal is clicked */
|
|
15
15
|
preventOverlayClose?: boolean;
|
|
16
|
+
/** Blurs the background behind the modal */
|
|
17
|
+
overlayBlur?: boolean | number;
|
|
16
18
|
/** Sets the color of the modal overlay */
|
|
17
19
|
overlayColor?: string;
|
|
18
20
|
/** Overrides the backgroundColor of the modal container */
|
|
@@ -39,7 +41,7 @@ type ModalProps = {
|
|
|
39
41
|
zIndex?: number;
|
|
40
42
|
} & WidthHeight & Padding;
|
|
41
43
|
declare const Modal: {
|
|
42
|
-
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): import("react").ReactPortal | null;
|
|
44
|
+
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayBlur, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): import("react").ReactPortal | null;
|
|
43
45
|
Header: import("@emotion/styled").StyledComponent<{
|
|
44
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
45
47
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|