@moosend/mooskin 1.0.27 → 1.0.30

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.
@@ -2,6 +2,6 @@ import { IStyledTheme } from '../Styled/model';
2
2
  import { BoxShadowIntensityType, IBoxComponentProps } from './model';
3
3
  export declare const getNumberOrStringValue: (value?: string | number | undefined) => string;
4
4
  export declare const getNestedValue: (value?: string | number | undefined, palette?: IStyledTheme | undefined) => any;
5
- export declare const getRoundness: (round?: "base" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
5
+ export declare const getRoundness: (round?: "base" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | undefined) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
6
6
  export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => string | undefined;
7
7
  export declare const StyledBox: import("styled-components").StyledComponent<"div", any, IBoxComponentProps, never>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { IBoxComponentProps } from '../Box/model';
3
3
  import { IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
4
- export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined) => "80%" | "100%" | "20%" | "35%" | "50%" | "65%" | undefined;
4
+ export declare const getContentSize: (size?: "lg" | "md" | "sm" | "xs" | "xl" | "full" | undefined) => "20%" | "35%" | "50%" | "65%" | "80%" | "100%" | undefined;
5
5
  export declare const StyledDrawer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerComponentProps, never>;
6
6
  export declare const StyledDrawerContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
7
7
  export declare const StyledDrawerContentRight: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IDrawerContentComponentProps, never>;
@@ -142,10 +142,14 @@ export interface IThemeBorderColors {
142
142
  menuDark: string;
143
143
  menuLight: string;
144
144
  }
145
+ export interface IThemeStyles {
146
+ buttonBorderRadius: string | number;
147
+ }
145
148
  export interface IStyledTheme {
146
149
  fontColors: IThemeFontColors;
147
150
  backgroundColors: IThemeBackgroundColors;
148
151
  borderColors: IThemeBorderColors;
152
+ styles?: IThemeStyles;
149
153
  }
150
154
  export interface IMooskinContext {
151
155
  palette?: IStyledTheme;
@@ -1,5 +1,6 @@
1
1
  import { IAllProps } from '@tinymce/tinymce-react';
2
2
  export interface ITextEditorComponentProps extends Partial<IAllProps> {
3
+ ref?: any;
3
4
  selector?: any;
4
5
  menubar?: boolean;
5
6
  personalizationTags?: {