@valbuild/ui 0.30.0 → 0.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.
@@ -1,6 +1,8 @@
1
+ import { RichTextOptions, RichTextSource, RichText, AnyRichTextOptions, ModuleId, ValApi } from '@valbuild/core';
1
2
  import { LexicalEditor } from 'lexical';
2
3
  import { FC } from 'react';
3
- import { RichTextSource, AnyRichTextOptions, ModuleId, ValApi, RichTextOptions, RichText } from '@valbuild/core';
4
+
5
+ declare function parseRichTextSource<O extends RichTextOptions>({ templateStrings, exprs: nodes, }: RichTextSource<O>): RichText<O>;
4
6
 
5
7
  interface RichTextEditorProps {
6
8
  richtext: RichTextSource<AnyRichTextOptions>;
@@ -20,6 +22,11 @@ type ValOverlayProps = {
20
22
  };
21
23
  declare function ValOverlay({ defaultTheme, api, store }: ValOverlayProps): JSX.Element;
22
24
 
25
+ interface ValFullscreenProps {
26
+ valApi: ValApi;
27
+ }
28
+ declare const ValFullscreen: FC<ValFullscreenProps>;
29
+
23
30
  type ImageData = {
24
31
  src: string;
25
32
  addMetadata: boolean;
@@ -57,13 +64,6 @@ type Inputs = {
57
64
  };
58
65
  };
59
66
 
60
- interface ValFullscreenProps {
61
- valApi: ValApi;
62
- }
63
- declare const ValFullscreen: FC<ValFullscreenProps>;
64
-
65
- declare function parseRichTextSource<O extends RichTextOptions>({ templateStrings, exprs: nodes, }: RichTextSource<O>): RichText<O>;
66
-
67
67
  declare function Style(): JSX.Element;
68
68
 
69
69
  export { IValStore, Inputs, RichTextEditor, Style, ValFullscreen, ValOverlay, parseRichTextSource };