react-bricks 3.0.0-beta.2 → 3.0.1

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/react-bricks.d.ts CHANGED
@@ -25,6 +25,7 @@ interface TextProps {
25
25
  children: any;
26
26
  }) => JSX.Element;
27
27
  propName: string;
28
+ multiline?: boolean;
28
29
  }
29
30
  declare const Text: React.FC<TextProps>;
30
31
 
@@ -515,6 +516,7 @@ interface RichTextProps {
515
516
  children: any;
516
517
  }) => JSX.Element;
517
518
  plugins?: types.RichTextPlugin[];
519
+ multiline?: boolean;
518
520
  }
519
521
  declare const RichText: React.FC<RichTextProps>;
520
522
 
@@ -531,6 +533,7 @@ interface CompatibleRichTextProps {
531
533
  renderBlock: (props: RenderElementProps) => JSX.Element;
532
534
  placeholder: string;
533
535
  propName: string;
536
+ multiline?: boolean;
534
537
  allowedFeatures?: types.RichTextFeatures[];
535
538
  renderBold?: (props: RenderLeafProps) => JSX.Element;
536
539
  renderItalic?: (props: RenderLeafProps) => JSX.Element;
@@ -609,7 +612,35 @@ declare const Playground: () => JSX.Element;
609
612
  declare const AppSettings: React.FC;
610
613
 
611
614
  declare const useAuth: () => {
612
- loginUser: (email: string, password: string) => Promise<any>;
615
+ loginUser: (email: string, password: string) => Promise<({
616
+ id: string;
617
+ email: string;
618
+ firstName: string;
619
+ lastName: string;
620
+ company: string;
621
+ avatarUrl?: string | undefined;
622
+ isAdmin: boolean;
623
+ token: string;
624
+ appName: string;
625
+ deployHookUrl?: string | undefined;
626
+ deployHookMethod?: string | undefined;
627
+ deployHookTriggerOnScheduledPublishing: boolean;
628
+ deployHookStagingUrl?: string | undefined;
629
+ deployHookStagingMethod?: string | undefined;
630
+ deployHookStagingTriggerOnScheduledPublishing: boolean;
631
+ eventsHookUrl?: string | undefined;
632
+ eventsHookAuthToken?: string | undefined;
633
+ canCreatePage: boolean;
634
+ canDeletePage: boolean;
635
+ canDeploy: boolean;
636
+ canDeployStaging: boolean;
637
+ role: string;
638
+ plan: string;
639
+ languages: types.Language[];
640
+ defaultLanguage: string;
641
+ } & {
642
+ authToken: string;
643
+ }) | null>;
613
644
  logoutUser: () => void;
614
645
  };
615
646