@moosend/mooskin 1.1.4-beta-4 → 1.1.4

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,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { IBoxComponentProps } from '../Box/model';
3
3
  import { IContentSize, IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
4
- export declare const getContentSize: (size?: IContentSize) => "80%" | "100%" | "20%" | "35%" | "50%" | "65%" | undefined;
4
+ export declare const getContentSize: (size?: IContentSize) => "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>;
@@ -4,5 +4,5 @@ import { BoxShadowIntensityType, IntensityType, NestedThemeType } from './model'
4
4
  export declare const getNumberOrStringValue: (value?: number | string) => string;
5
5
  export declare const getNestedValue: (value?: number | string | NestedThemeType, palette?: IStyledTheme) => any;
6
6
  export declare const getRoundness: (round?: IntensityType) => "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;
7
- export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => "none" | (string & {}) | "inherit" | "initial" | "-moz-initial" | "revert" | "revert-layer" | "unset" | "0 0 0 1px rgba(0, 0, 0, 0.05)" | "0 1px 2px 0 rgba(0, 0, 0, 0.05)" | "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)" | "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" | "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" | "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" | "0 25px 50px -12px rgba(0, 0, 0, 0.25)" | "0 0 0 3px rgba(66, 153, 225, 0.6)" | "inset 0 2px 4px 0 rgba(0,0,0,0.06)" | undefined;
7
+ export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => "none" | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "0 0 0 1px rgba(0, 0, 0, 0.05)" | "0 1px 2px 0 rgba(0, 0, 0, 0.05)" | "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)" | "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" | "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" | "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" | "0 25px 50px -12px rgba(0, 0, 0, 0.25)" | "0 0 0 3px rgba(66, 153, 225, 0.6)" | "inset 0 2px 4px 0 rgba(0,0,0,0.06)" | undefined;
8
8
  export declare const StyledBox: import("styled-components").StyledComponent<"div", any, import("./model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { IBoxComponentProps } from '../Box/model';
3
3
  import { IContentSize, IDrawerComponentProps, IDrawerContentComponentProps, IDrawerOverlayComponentProps } from './model';
4
- export declare const getContentSize: (size?: IContentSize) => "50%" | "100%" | "80%" | "20%" | "35%" | "65%" | undefined;
4
+ export declare const getContentSize: (size?: IContentSize) => "50%" | "100%" | "20%" | "35%" | "65%" | "80%" | 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>;
@@ -180,11 +180,41 @@ export interface IThemeBorderColors {
180
180
  export interface IThemeStyles {
181
181
  buttonBorderRadius: string | number;
182
182
  }
183
+ export interface IThemeReportColors {
184
+ box1: string;
185
+ box2: string;
186
+ box3: string;
187
+ box4: string;
188
+ box5: string;
189
+ box6: string;
190
+ box7: string;
191
+ box8: string;
192
+ text: string;
193
+ unsubChart: string;
194
+ bounceChart: string;
195
+ lowChart: string;
196
+ circleChart1: string;
197
+ circleChart2: string;
198
+ circleChart3: string;
199
+ restChart1: string;
200
+ restChart2: string;
201
+ restChart3: string;
202
+ restChart4: string;
203
+ restChart5: string;
204
+ restChart6: string;
205
+ restChart7: string;
206
+ restChart8: string;
207
+ restChart9: string;
208
+ restChart10: string;
209
+ restChart11: string;
210
+ restChart12: string;
211
+ }
183
212
  export interface IStyledTheme {
184
213
  fontColors: IThemeFontColors;
185
214
  backgroundColors: IThemeBackgroundColors;
186
215
  borderColors: IThemeBorderColors;
187
216
  styles?: IThemeStyles;
217
+ reportColors?: IThemeReportColors;
188
218
  }
189
219
  export interface IMooskinContext {
190
220
  locale?: Locale;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moosend/mooskin",
3
- "version": "1.1.4-beta-4",
3
+ "version": "1.1.4",
4
4
  "description": "A collection of React components for Moosend UI",
5
5
  "main": "lib/index/index.js",
6
6
  "types": "lib/index/index.d.ts",