base-js-sw 1.0.4 → 1.0.5

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.
@@ -15,7 +15,7 @@ const stripUnwantedTags = (html, allowedTags = []) => {
15
15
  /**
16
16
  * Extended RichText wp core component that strips unwanted HTML on paste/input.
17
17
  */
18
- const RichTextNoHtml = ({
18
+ export const RichTextNoHtml = ({
19
19
  value,
20
20
  onChange,
21
21
  allowedTags = [],
@@ -35,4 +35,3 @@ const RichTextNoHtml = ({
35
35
  );
36
36
  };
37
37
 
38
- export default RichTextNoHtml;
package/index.js CHANGED
@@ -2,4 +2,5 @@ import './components/LinkPicker.scss';
2
2
  import './components/ImagePicker.scss';
3
3
 
4
4
  export { LinkPicker } from './components/LinkPicker';
5
+ export { RichTextNoHtml } from './components/RichTextNoHtml';
5
6
  export { ImagePicker, ImagePickerPanelBody, ImagePickerPreview } from './components/ImagePicker';
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "base-js-sw",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Reusable Gutenberg block components for WordPress projects",
5
5
  "main": "index.js",
6
6
  "author": "Shape Works",
7
7
  "license": "MIT"
8
- }
9
-
8
+ }