@wistia/vhs 2.55.1 → 2.56.0-beta.13e5a517.69eed0a
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/components/ActionModal/ActionModal.d.ts +8 -3
- package/dist/components/ActionModal/ActionModal.d.ts.map +1 -1
- package/dist/components/Backdrop/Backdrop.d.ts +6 -1
- package/dist/components/Backdrop/Backdrop.d.ts.map +1 -1
- package/dist/components/ClickArea/ClickArea.d.ts +2 -2
- package/dist/components/ClickArea/ClickArea.d.ts.map +1 -1
- package/dist/components/Form/Form.d.ts +2 -2
- package/dist/components/Form/Form.d.ts.map +1 -1
- package/dist/components/FullScreenModal/FullScreenModal.d.ts +2 -2
- package/dist/components/FullScreenModal/FullScreenModal.d.ts.map +1 -1
- package/dist/components/Icon/iconMap.d.ts +3 -3
- package/dist/components/Input/Input.d.ts +2 -2
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/ModalBase/ModalBase.d.ts +2 -2
- package/dist/components/ModalBase/ModalBase.d.ts.map +1 -1
- package/dist/hooks/useOnClickOutside/useOnClickOutside.d.ts +2 -2
- package/dist/hooks/useOnClickOutside/useOnClickOutside.d.ts.map +1 -1
- package/dist/index.cjs +537 -537
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +539 -539
- package/dist/index.mjs.map +4 -4
- package/dist/theme.d.ts.map +1 -1
- package/package.json +24 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MouseEvent,
|
|
1
|
+
import type { MouseEvent, RefObject, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import type { OnBeforeHideInterface } from '../ModalBase/ModalBase';
|
|
3
3
|
export type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
4
4
|
/**
|
|
@@ -29,6 +29,11 @@ export type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
29
29
|
* Allows user to override default icon color
|
|
30
30
|
*/
|
|
31
31
|
closeIconColorOverride?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Increase the zIndex of the Modal, this should be used when calling ActionModal from a Menu
|
|
34
|
+
* this will prevent the Menu from staying above the ActionModal
|
|
35
|
+
*/
|
|
36
|
+
elevated?: boolean;
|
|
32
37
|
/**
|
|
33
38
|
* Optional illustration to display alongside the modal
|
|
34
39
|
*/
|
|
@@ -71,14 +76,14 @@ export type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
71
76
|
/**
|
|
72
77
|
* function(show, ref) that returns a node to open the modal
|
|
73
78
|
*/
|
|
74
|
-
toggle?: (show: () => unknown, toggleButtonRef?:
|
|
79
|
+
toggle?: (show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | undefined> | undefined) => ReactNode;
|
|
75
80
|
/**
|
|
76
81
|
* The css width property of the modal. Ex - 'max-content', '532px', '100%', etc
|
|
77
82
|
*/
|
|
78
83
|
width?: string;
|
|
79
84
|
};
|
|
80
85
|
export declare const ActionModal: {
|
|
81
|
-
({ alignHorizontal, alignVertical, buttons, children, className, fullHeight, closeIconColorOverride, illustration, illustrationBackgroundColor, initialShownState, isDismissible, onBeforeHide, onHide, onShow, render, title, toggle, width, ...otherProps }: ActionModalProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
({ alignHorizontal, alignVertical, buttons, children, className, elevated, fullHeight, closeIconColorOverride, illustration, illustrationBackgroundColor, initialShownState, isDismissible, onBeforeHide, onHide, onShow, render, title, toggle, width, ...otherProps }: ActionModalProps): import("react/jsx-runtime").JSX.Element;
|
|
82
87
|
displayName: string;
|
|
83
88
|
};
|
|
84
89
|
//# sourceMappingURL=ActionModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionModal.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/ActionModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,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;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,KAAK,SAAS,CAAC;IAC3D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,CACP,IAAI,EAAE,MAAM,OAAO,EACnB,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,GAAG,SAAS,KAC7D,SAAS,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW;6QAqBrB,gBAAgB;;CAsFlB,CAAC"}
|
|
@@ -15,6 +15,7 @@ export type BackdropComponentProps = {
|
|
|
15
15
|
alignHorizontal: keyof typeof alignHorizontalMap;
|
|
16
16
|
alignVertical: keyof typeof alignVerticalMap;
|
|
17
17
|
backgroundColor: string;
|
|
18
|
+
elevated: boolean;
|
|
18
19
|
};
|
|
19
20
|
export type BackdropProps = ComponentPropsWithoutRef<'div'> & {
|
|
20
21
|
/**
|
|
@@ -33,9 +34,13 @@ export type BackdropProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
33
34
|
* Pass an arbitrary child node
|
|
34
35
|
*/
|
|
35
36
|
children?: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* increase the z-index (workaround for ActionModals called within Menu)
|
|
39
|
+
*/
|
|
40
|
+
elevated?: boolean;
|
|
36
41
|
};
|
|
37
42
|
export declare const Backdrop: {
|
|
38
|
-
({ alignHorizontal, alignVertical, backgroundColor, children, ...otherProps }: BackdropProps): JSX.Element;
|
|
43
|
+
({ alignHorizontal, alignVertical, backgroundColor, children, elevated, ...otherProps }: BackdropProps): JSX.Element;
|
|
39
44
|
displayName: string;
|
|
40
45
|
};
|
|
41
46
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Backdrop.d.ts","sourceRoot":"","sources":["../../../src/components/Backdrop/Back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|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode, ComponentPropsWithRef, ElementType,
|
|
1
|
+
import type { ReactNode, ComponentPropsWithRef, ElementType, RefObject } from 'react';
|
|
2
2
|
export type ClickAreaProps = ComponentPropsWithRef<'div'> & {
|
|
3
3
|
/**
|
|
4
4
|
* Supply an element or Component to render as the root compoennt (default is div)
|
|
@@ -16,7 +16,7 @@ export type ClickAreaProps = ComponentPropsWithRef<'div'> & {
|
|
|
16
16
|
* A ref to the element within chldren that will be used as the target of the click event
|
|
17
17
|
* Should typically be a button or link
|
|
18
18
|
*/
|
|
19
|
-
targetRef:
|
|
19
|
+
targetRef: RefObject<HTMLElement | null>;
|
|
20
20
|
};
|
|
21
21
|
export declare const ClickArea: import("react").ForwardRefExoticComponent<Omit<ClickAreaProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
22
22
|
//# sourceMappingURL=ClickArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClickArea.d.ts","sourceRoot":"","sources":["../../../src/components/ClickArea/ClickArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAO,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"ClickArea.d.ts","sourceRoot":"","sources":["../../../src/components/ClickArea/ClickArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAO,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3F,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC1D;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC;;;OAGG;IACH,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC1C,CAAC;AAMF,eAAO,MAAM,SAAS,qHAyCrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode,
|
|
1
|
+
import type { ReactNode, RefObject } from 'react';
|
|
2
2
|
import type { FormikProps, FormikHelpers, FormikErrors } from 'formik';
|
|
3
3
|
type ValuesType = Record<string, unknown>;
|
|
4
4
|
export type Values = Record<string, unknown>;
|
|
@@ -19,7 +19,7 @@ export type FormProps = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Ref required to be ref of FormGlobalError. Simply assign `const globalErrorRef = useRef(null)`. Either a function or the instance of a DOM native element.
|
|
21
21
|
*/
|
|
22
|
-
globalErrorRef:
|
|
22
|
+
globalErrorRef: RefObject<HTMLElement | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* Form input values on initial load, often populated from server
|
|
25
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAErE,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAOvE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAmC1C,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH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
1
|
-
import type {
|
|
1
|
+
import type { RefObject, ReactNode } from 'react';
|
|
2
2
|
import type { OnBeforeHideInterface } from '../ModalBase';
|
|
3
3
|
export type FullScreenModalProps = {
|
|
4
4
|
/**
|
|
@@ -24,7 +24,7 @@ export type FullScreenModalProps = {
|
|
|
24
24
|
/**
|
|
25
25
|
* function(show, ref) that returns a node to open the modal
|
|
26
26
|
*/
|
|
27
|
-
toggle?: ((show: () => unknown, toggleButtonRef?:
|
|
27
|
+
toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | undefined> | undefined) => ReactNode) | undefined;
|
|
28
28
|
};
|
|
29
29
|
export declare const FullScreenModal: {
|
|
30
30
|
({ content, toggle, backgroundColor, initialShownState, onBeforeHide, onHide, }: FullScreenModalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullScreenModal.d.ts","sourceRoot":"","sources":["../../../src/components/FullScreenModal/FullScreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FullScreenModal.d.ts","sourceRoot":"","sources":["../../../src/components/FullScreenModal/FullScreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAoB1D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,OAAO,KAAK,SAAS,CAAC;IAC5C;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,OAAO,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EACH,CAAC,CACC,IAAI,EAAE,MAAM,OAAO,EACnB,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,GAAG,SAAS,KAC7D,SAAS,CAAC,GACf,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,eAAe;qFAOzB,oBAAoB;;CA2BtB,CAAC"}
|
|
@@ -15,11 +15,11 @@ export declare const iconMap: {
|
|
|
15
15
|
'caret-right': string;
|
|
16
16
|
'caret-up': string;
|
|
17
17
|
channel: string;
|
|
18
|
+
checkmark: string;
|
|
18
19
|
'checkmark-circle': string;
|
|
19
20
|
'checkmark-circle-outline': string;
|
|
20
21
|
'checkmark-circle-three-quarters': string;
|
|
21
22
|
'checkmark-underlined': string;
|
|
22
|
-
checkmark: string;
|
|
23
23
|
close: string;
|
|
24
24
|
comment: string;
|
|
25
25
|
community: string;
|
|
@@ -32,13 +32,13 @@ export declare const iconMap: {
|
|
|
32
32
|
download: string;
|
|
33
33
|
draggable: string;
|
|
34
34
|
edit: string;
|
|
35
|
-
embed: string;
|
|
36
35
|
ellipsis: string;
|
|
37
36
|
'ellipsis-vertical': string;
|
|
37
|
+
embed: string;
|
|
38
38
|
episodes: string;
|
|
39
|
+
error: string;
|
|
39
40
|
expand: string;
|
|
40
41
|
export: string;
|
|
41
|
-
error: string;
|
|
42
42
|
favorite: string;
|
|
43
43
|
'favorite-outline': string;
|
|
44
44
|
filter: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode, ComponentPropsWithRef, ChangeEvent, FocusEvent, HTMLInputTypeAttribute,
|
|
1
|
+
import type { ReactNode, ComponentPropsWithRef, ChangeEvent, FocusEvent, HTMLInputTypeAttribute, RefObject } from 'react';
|
|
2
2
|
export type IconPositionStrings = 'end' | 'start';
|
|
3
3
|
export type ForcedStateStrings = 'active' | 'focus' | 'hover';
|
|
4
4
|
export type InputProps = ComponentPropsWithRef<'input'> & {
|
|
@@ -37,7 +37,7 @@ export type InputProps = ComponentPropsWithRef<'input'> & {
|
|
|
37
37
|
* This is a prop that is here for use by FormField. Otherwise,
|
|
38
38
|
* the ref prop should just be used
|
|
39
39
|
*/
|
|
40
|
-
innerRef?:
|
|
40
|
+
innerRef?: RefObject<HTMLInputElement | null>;
|
|
41
41
|
/**
|
|
42
42
|
* Displays text in monospace font
|
|
43
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,sBAAsB,EACtB,SAAS,EACV,MAAM,OAAO,CAAC;AAWf,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,OAAO,CAAC;AAClD,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AA8C9D,MAAM,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,CAAC,GAAG;IACxD;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SA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GAAG;IAC1C,KAAK,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B,CAAC;AAEF,KAAK,kBAAkB,GAAG,gBAAgB,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,KAAK,0BAA0B,GAAG,gBAAgB,GAAG;IACnD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,0BAA0B,GAAG,kBAAkB,CAAC;AAqExE,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC;AAMF,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS,2BAA4B,cAAc,4CAW/D,CAAC;AAEF,eAAO,MAAM,cAAc,gKAAyB,CAAC;AAErD,eAAO,MAAM,OAAO,2CAA4C,YAAY,4CA8B3E,CAAC;AAEF,eAAO,MAAM,IAAI;wFASd,SAAS,GAAG,WAAW;;CAiCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAcjF,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACzD;;OAEG;IACH,eAAe,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzD;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvD;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAErD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAwChD,eAAO,MAAM,YAAY,8GAyDxB,CAAC;AAIF,eAAO,MAAM,KAAK,UAAW,UAAU,KAAG,WAqCzC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RefObject, ReactNode } from 'react';
|
|
2
2
|
export type OnBeforeHideInterface = {
|
|
3
3
|
shouldShowMessage: boolean;
|
|
4
4
|
message: string;
|
|
@@ -36,7 +36,7 @@ export type ModalBaseContentProps = {
|
|
|
36
36
|
/**
|
|
37
37
|
* function(show, ref) that returns a node to open the modal
|
|
38
38
|
*/
|
|
39
|
-
toggle?: ((show: () => unknown, toggleButtonRef?:
|
|
39
|
+
toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | undefined> | undefined) => ReactNode) | undefined;
|
|
40
40
|
};
|
|
41
41
|
export declare const ModalBase: {
|
|
42
42
|
(props: ModalBaseContentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBase.d.ts","sourceRoot":"","sources":["../../../src/components/ModalBase/ModalBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ModalBase.d.ts","sourceRoot":"","sources":["../../../src/components/ModalBase/ModalBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAqElD,MAAM,MAAM,qBAAqB,GAAG;IAClC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IACvD;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,OAAO,KAAK,SAAS,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EACH,CAAC,CACC,IAAI,EAAE,MAAM,OAAO,EACnB,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,GAAG,SAAS,KAC7D,SAAS,CAAC,GACf,SAAS,CAAC;CACf,CAAC;AAyKF,eAAO,MAAM,SAAS;YAAW,qBAAqB;;CAWrD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const useOnClickOutside: (ref:
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
|
+
export declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown) => void;
|
|
3
3
|
//# sourceMappingURL=useOnClickOutside.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOnClickOutside/useOnClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOnClickOutside/useOnClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,iBAAiB,QACvB,UAAU,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,WACrC,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,SAoBnC,CAAC"}
|