@moosend/mooskin 1.0.26 → 1.0.29
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/lib/Drawer/styles.d.ts +1 -1
- package/lib/Styled/model.d.ts +4 -0
- package/lib/index/index.js +2 -2
- package/package.json +1 -1
package/lib/Drawer/styles.d.ts
CHANGED
|
@@ -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) => "
|
|
4
|
+
export declare const getContentSize: (size?: "xs" | "sm" | "md" | "lg" | "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>;
|
package/lib/Styled/model.d.ts
CHANGED
|
@@ -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;
|