zebpay-ui 0.0.113 → 0.0.114
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/dist/cjs/components/SidePanel/index.d.ts +3 -0
- package/dist/cjs/components/SidePanel/style.d.ts +2 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/colors.d.ts +35 -0
- package/dist/esm/components/SidePanel/index.d.ts +3 -0
- package/dist/esm/components/SidePanel/style.d.ts +2 -1
- package/dist/esm/index.js +13 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/colors.d.ts +35 -0
- package/dist/icons/icons.css +178 -172
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +18 -0
- package/dist/icons/icons.json +171 -169
- package/dist/icons/icons.ts +177 -169
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { FC } from "react";
|
|
3
|
+
import { SidePanelPlacement } from "./style";
|
|
3
4
|
import "./../../../dist/icons/icons.css";
|
|
4
5
|
import { SerializedStyles } from "@emotion/react";
|
|
5
6
|
interface SidePanelProps {
|
|
@@ -16,6 +17,8 @@ interface SidePanelProps {
|
|
|
16
17
|
children?: React.ReactNode;
|
|
17
18
|
closeStyle?: SerializedStyles;
|
|
18
19
|
onOverlayClick?: () => void;
|
|
20
|
+
placement?: SidePanelPlacement;
|
|
21
|
+
width?: number;
|
|
19
22
|
}
|
|
20
23
|
declare const SidePanel: FC<SidePanelProps>;
|
|
21
24
|
export default SidePanel;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export type SidePanelPlacement = "left" | "right";
|
|
1
2
|
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
2
3
|
export declare const overlay: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const sidePanel: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const sidePanel: (placement: SidePanelPlacement, width: number) => import("@emotion/react").SerializedStyles | undefined;
|
|
4
5
|
export declare const sidePanelOpen: import("@emotion/react").SerializedStyles;
|
|
5
6
|
export declare const header: import("@emotion/react").SerializedStyles;
|
|
6
7
|
export declare const titleStyle: import("@emotion/react").SerializedStyles;
|