@squiz/formatted-text-editor 1.31.1-alpha.1 → 1.32.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.
Files changed (26) hide show
  1. package/lib/Editor/Editor.d.ts +1 -0
  2. package/lib/EditorToolbar/FloatingToolbar.d.ts +1 -0
  3. package/lib/EditorToolbar/Toolbar.d.ts +1 -0
  4. package/lib/EditorToolbar/Tools/Bold/BoldButton.d.ts +1 -0
  5. package/lib/EditorToolbar/Tools/Image/ImageButton.d.ts +1 -0
  6. package/lib/EditorToolbar/Tools/Image/ImageModal.d.ts +1 -0
  7. package/lib/EditorToolbar/Tools/Italic/ItalicButton.d.ts +1 -0
  8. package/lib/EditorToolbar/Tools/Link/LinkButton.d.ts +1 -0
  9. package/lib/EditorToolbar/Tools/Link/LinkModal.d.ts +1 -0
  10. package/lib/EditorToolbar/Tools/Link/RemoveLinkButton.d.ts +1 -0
  11. package/lib/EditorToolbar/Tools/Redo/RedoButton.d.ts +1 -0
  12. package/lib/EditorToolbar/Tools/TextAlign/CenterAlign/CenterAlignButton.d.ts +1 -0
  13. package/lib/EditorToolbar/Tools/TextAlign/JustifyAlign/JustifyAlignButton.d.ts +1 -0
  14. package/lib/EditorToolbar/Tools/TextAlign/LeftAlign/LeftAlignButton.d.ts +1 -0
  15. package/lib/EditorToolbar/Tools/TextAlign/RightAlign/RightAlignButton.d.ts +1 -0
  16. package/lib/EditorToolbar/Tools/TextAlign/TextAlignButtons.d.ts +1 -0
  17. package/lib/EditorToolbar/Tools/TextType/Heading/HeadingButton.d.ts +1 -0
  18. package/lib/EditorToolbar/Tools/TextType/Paragraph/ParagraphButton.d.ts +1 -0
  19. package/lib/EditorToolbar/Tools/TextType/Preformatted/PreformattedButton.d.ts +1 -0
  20. package/lib/EditorToolbar/Tools/TextType/TextTypeDropdown.d.ts +1 -0
  21. package/lib/EditorToolbar/Tools/Underline/UnderlineButton.d.ts +1 -0
  22. package/lib/EditorToolbar/Tools/Undo/UndoButton.d.ts +1 -0
  23. package/lib/ui/Fields/Select/Select.d.ts +1 -0
  24. package/lib/ui/ToolbarDropdown/ToolbarDropdown.d.ts +1 -0
  25. package/lib/ui/ToolbarDropdownButton/ToolbarDropdownButton.d.ts +1 -0
  26. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RemirrorContentType, RemirrorEventListener, Extension } from '@remirror/core';
2
3
  type EditorProps = {
3
4
  content?: RemirrorContentType;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const FloatingToolbar: () => JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const Toolbar: () => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const BoldButton: () => JSX.Element;
2
3
  export default BoldButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type ImageButtonProps = {
2
3
  inPopover?: boolean;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ImageFormData } from './Form/ImageForm';
2
3
  import { SubmitHandler } from 'react-hook-form';
3
4
  type ImageModalProps = {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ItalicButton: () => JSX.Element;
2
3
  export default ItalicButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type LinkButtonProps = {
2
3
  inPopover?: boolean;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LinkFormData } from './Form/LinkForm';
2
3
  import { SubmitHandler } from 'react-hook-form';
3
4
  type LinkModalProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LinkButtonProps } from './LinkButton';
2
3
  declare const RemoveLinkButton: ({ inPopover }: LinkButtonProps) => JSX.Element;
3
4
  export default RemoveLinkButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RedoButton: () => JSX.Element;
2
3
  export default RedoButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const CenterAlignButton: () => JSX.Element;
2
3
  export default CenterAlignButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const JustifyAlignButton: () => JSX.Element;
2
3
  export default JustifyAlignButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const LeftAlignButton: () => JSX.Element;
2
3
  export default LeftAlignButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RightAlignButton: () => JSX.Element;
2
3
  export default RightAlignButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TextAlignButtons: () => JSX.Element;
2
3
  export default TextAlignButtons;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type HeadingButtonProps = {
2
3
  level: number;
3
4
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ParagraphButton: () => JSX.Element;
2
3
  export default ParagraphButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PreformattedButton: () => JSX.Element;
2
3
  export default PreformattedButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TextTypeDropdown: () => JSX.Element;
2
3
  export default TextTypeDropdown;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const UnderlineButton: () => JSX.Element;
2
3
  export default UnderlineButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const UndoButton: () => JSX.Element;
2
3
  export default UndoButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type SelectOptions = Record<string, SelectOption>;
2
3
  export type SelectOption = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type ToolbarDropdownProps = {
2
3
  children: JSX.Element | JSX.Element[];
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type DropdownButtonProps = {
2
3
  children?: JSX.Element;
3
4
  handleOnClick: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/formatted-text-editor",
3
- "version": "1.31.1-alpha.1",
3
+ "version": "1.32.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -74,5 +74,5 @@
74
74
  "volta": {
75
75
  "node": "18.15.0"
76
76
  },
77
- "gitHead": "99163db1864719b918262d50b3db20a6ecfe3dee"
77
+ "gitHead": "a599b1774388886c821b15a7713e805876cc2361"
78
78
  }