@wistia/vhs 2.58.0 → 2.58.1-beta.044e925c.c810a84
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 +9 -1
- package/dist/components/ActionModal/ActionModal.d.ts.map +1 -1
- package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts +2 -0
- package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts.map +1 -0
- package/dist/index.cjs +372 -371
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +375 -374
- package/dist/index.mjs.map +3 -3
- package/package.json +26 -26
- package/dist/hooks/useClipboard/UseClipboardExampleWithError.d.ts +0 -2
- package/dist/hooks/useClipboard/UseClipboardExampleWithError.d.ts.map +0 -1
|
@@ -44,6 +44,11 @@ export type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
44
44
|
* "pink", "purple", or "yellow" for theme colors
|
|
45
45
|
*/
|
|
46
46
|
illustrationBackgroundColor?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional image to display alongside the modal
|
|
49
|
+
* If both illustration and backgroundImage are provided, backgroundImage will appear behind the illustration.
|
|
50
|
+
*/
|
|
51
|
+
illustrationBackgroundImage?: string;
|
|
47
52
|
/**
|
|
48
53
|
* Render the modal initially in shown state
|
|
49
54
|
*/
|
|
@@ -82,8 +87,11 @@ export type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
82
87
|
*/
|
|
83
88
|
width?: string;
|
|
84
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated Please use Modal component, see https://wistia.github.io/vhs/?path=/docs/components-modal--docs for documentation
|
|
92
|
+
*/
|
|
85
93
|
export declare const ActionModal: {
|
|
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;
|
|
94
|
+
({ alignHorizontal, alignVertical, buttons, children, className, elevated, fullHeight, closeIconColorOverride, illustration, illustrationBackgroundColor, initialShownState, isDismissible, onBeforeHide, onHide, onShow, render, title, toggle, illustrationBackgroundImage, width, ...otherProps }: ActionModalProps): import("react/jsx-runtime").JSX.Element;
|
|
87
95
|
displayName: string;
|
|
88
96
|
};
|
|
89
97
|
//# 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,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAQxF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionModal.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/ActionModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAQxF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AA8FpE,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC/D;;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,OAAO,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IAEH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,qBAAqB,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;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;;GAEG;AACH,eAAO,MAAM,WAAW;0SAsBrB,gBAAgB;;CAyFlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UseClipboardWithErrorExample.d.ts","sourceRoot":"","sources":["../../../src/hooks/useClipboard/UseClipboardWithErrorExample.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,4BAA4B,+CAkDxC,CAAC"}
|