@moosend/mooskin 1.0.37 → 1.0.39

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.
@@ -13,6 +13,7 @@ export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.Anchor
13
13
  export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
14
14
  export interface IBaseBoxComponentProps extends IMooskinContext {
15
15
  ref?: any;
16
+ setRef?: (ref: HTMLElement) => void;
16
17
  boxAs?: any;
17
18
  m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
18
19
  mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
@@ -7,7 +7,7 @@ export interface IDrawerComponentProps extends IBoxComponentProps {
7
7
  size?: IContentSize;
8
8
  closeOnEsc?: boolean;
9
9
  closeOnOverlayClick?: boolean;
10
- onClose?: (e: React.MouseEvent<HTMLElement>) => void;
10
+ onClose?: (e?: React.MouseEvent<HTMLElement>) => void;
11
11
  onOpen?: () => void;
12
12
  }
13
13
  export interface IDrawerContentComponentProps extends IBoxComponentProps {
@@ -4,7 +4,7 @@ export interface IModalComponentProps extends IBoxComponentProps {
4
4
  isOpen?: boolean;
5
5
  closeOnEsc?: boolean;
6
6
  closeOnOverlayClick?: boolean;
7
- onClose?: (e: React.MouseEvent<HTMLElement>) => void;
7
+ onClose?: (e?: React.MouseEvent<HTMLElement>) => void;
8
8
  }
9
9
  export interface IModalContentComponentProps extends IBoxComponentProps {
10
10
  isOpen?: boolean;
@@ -45,6 +45,9 @@ export interface IThemeFontColors {
45
45
  createNew: string;
46
46
  menuDark: string;
47
47
  menuLight: string;
48
+ editorRow: string;
49
+ editorElement: string;
50
+ editorRepeatable: string;
48
51
  }
49
52
  export interface IThemeBackgroundColors {
50
53
  primary1: string;
@@ -93,6 +96,9 @@ export interface IThemeBackgroundColors {
93
96
  createNew: string;
94
97
  menuDark: string;
95
98
  menuLight: string;
99
+ editorRow: string;
100
+ editorElement: string;
101
+ editorRepeatable: string;
96
102
  }
97
103
  export interface IThemeBorderColors {
98
104
  primary1: string;
@@ -141,6 +147,9 @@ export interface IThemeBorderColors {
141
147
  createNew: string;
142
148
  menuDark: string;
143
149
  menuLight: string;
150
+ editorRow: string;
151
+ editorElement: string;
152
+ editorRepeatable: string;
144
153
  }
145
154
  export interface IThemeStyles {
146
155
  buttonBorderRadius: string | number;