@wistia/vhs 2.21.0 → 2.22.0

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.
@@ -19,6 +19,10 @@ export type RichTextEditorProps = {
19
19
  * Function to be called after editor state update
20
20
  */
21
21
  onChange?: ((value: NodeElementObject[]) => void) | undefined;
22
+ /**
23
+ * Function to be called when editor loses focus
24
+ */
25
+ onBlur?: ((value: NodeElementObject[]) => void) | undefined;
22
26
  /**
23
27
  * Placeholder text
24
28
  */
@@ -33,7 +37,7 @@ export type RichTextEditorProps = {
33
37
  useExternalValue: boolean;
34
38
  };
35
39
  export declare const RichTextEditor: {
36
- ({ enabledFormats, value, onChange, placeholder, disabled, ariaLabelledBy, useExternalValue, ...otherProps }: RichTextEditorProps): JSX.Element;
40
+ ({ enabledFormats, value, onChange, onBlur, placeholder, disabled, ariaLabelledBy, useExternalValue, ...otherProps }: RichTextEditorProps): JSX.Element;
37
41
  displayName: string;
38
42
  };
39
43
  //# sourceMappingURL=RichTextEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAA4B,OAAO,EAAQ,MAAM,OAAO,CAAC;AAQhE,OAAO,EACL,cAAc,EAMf,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAiCjD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,OAAO,cAAc,CAAC,EAAE,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,EAAE,C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AM,cAAc;0HAUxB,mBAAmB,GAAG,WAAW;;CAoInC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.21.0",
3
+ "version": "2.22.0",
4
4
  "description": "Visual Hype System",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",