@zealicsolutions/web-ui 0.3.190 → 0.3.192
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
2
2
|
import { DrawerProps } from './styles';
|
3
|
-
export declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
3
|
+
export declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
3
3
|
import { Drawer as DrawerComponent } from './Drawer';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ children, closeIconColor, ...props }: React.PropsWithChildren<import("./styles").DrawerProps>) => JSX.Element;
|
6
|
+
component: ({ children, closeIconColor, withCloseIcon, ...props }: React.PropsWithChildren<import("./styles").DrawerProps>) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Drawer: StoryFn<typeof DrawerComponent>;
|
@@ -4,16 +4,18 @@ import { Drawer as DrawerComponent, DrawerProps as DrawerComponentProps } from '
|
|
4
4
|
export declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
5
5
|
export declare type DrawerProps = DrawerComponentProps & {
|
6
6
|
anchor: Anchor;
|
7
|
-
padding?: SizesTypes | number;
|
7
|
+
padding?: SizesTypes | number | string;
|
8
8
|
height?: number | string;
|
9
9
|
width?: number | string;
|
10
|
+
withCloseIcon?: boolean;
|
10
11
|
closeIconColor?: ThemeColors | string;
|
11
12
|
};
|
12
13
|
export declare const BaseDrawer: import("styled-components").StyledComponent<typeof DrawerComponent, import("styled-components").DefaultTheme, DrawerComponentProps & {
|
13
14
|
anchor: Anchor;
|
14
|
-
padding?:
|
15
|
+
padding?: string | number | undefined;
|
15
16
|
height?: string | number | undefined;
|
16
17
|
width?: string | number | undefined;
|
18
|
+
withCloseIcon?: boolean | undefined;
|
17
19
|
closeIconColor?: string | undefined;
|
18
20
|
}, never>;
|
19
21
|
export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
package/dist/index.d.ts
CHANGED
@@ -1757,13 +1757,14 @@ declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeadi
|
|
1757
1757
|
declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
1758
1758
|
declare type DrawerProps = DrawerProps$1 & {
|
1759
1759
|
anchor: Anchor;
|
1760
|
-
padding?: SizesTypes$2 | number;
|
1760
|
+
padding?: SizesTypes$2 | number | string;
|
1761
1761
|
height?: number | string;
|
1762
1762
|
width?: number | string;
|
1763
|
+
withCloseIcon?: boolean;
|
1763
1764
|
closeIconColor?: ThemeColors$2 | string;
|
1764
1765
|
};
|
1765
1766
|
|
1766
|
-
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
1767
|
+
declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
1767
1768
|
|
1768
1769
|
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
1769
1770
|
|