zebpay-ui 0.0.67 → 0.0.68
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/Accordion/index.d.ts +2 -1
- package/dist/cjs/components/Avatar/typings.d.ts +2 -0
- package/dist/cjs/components/Button/typings.d.ts +2 -0
- package/dist/cjs/components/Card/index.d.ts +1 -0
- package/dist/cjs/components/InputDropDown/typings.d.ts +1 -1
- package/dist/cjs/components/Popper/typings.d.ts +1 -0
- package/dist/cjs/components/SidePanel/index.d.ts +2 -0
- package/dist/cjs/components/Tags/index.d.ts +1 -0
- package/dist/cjs/components/Tooltip/typings.d.ts +1 -0
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/utils.d.ts +10 -0
- package/dist/esm/components/Accordion/index.d.ts +2 -1
- package/dist/esm/components/Avatar/typings.d.ts +2 -0
- package/dist/esm/components/Button/typings.d.ts +2 -0
- package/dist/esm/components/Card/index.d.ts +1 -0
- package/dist/esm/components/InputDropDown/typings.d.ts +1 -1
- package/dist/esm/components/Popper/typings.d.ts +1 -0
- package/dist/esm/components/SidePanel/index.d.ts +2 -0
- package/dist/esm/components/Tags/index.d.ts +1 -0
- package/dist/esm/components/Tooltip/typings.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/utils.d.ts +10 -0
- package/dist/icons/icons.css +220 -199
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +63 -0
- package/dist/icons/icons.json +203 -196
- package/dist/icons/icons.ts +224 -196
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +1 -1
- package/yarn-error.log +12172 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { SerializedStyles } from "@emotion/react";
|
|
3
|
-
import React, { FC } from "react";
|
|
3
|
+
import React, { FC, ReactNode } from "react";
|
|
4
4
|
import "./../../../dist/icons/icons.css";
|
|
5
5
|
interface AccordionProps {
|
|
6
6
|
title: React.ReactNode;
|
|
7
7
|
isOpen: boolean;
|
|
8
8
|
onToggle: (value: boolean) => void;
|
|
9
9
|
style?: SerializedStyles;
|
|
10
|
+
children?: ReactNode;
|
|
10
11
|
}
|
|
11
12
|
declare const Accordion: FC<AccordionProps>;
|
|
12
13
|
export default Accordion;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Interpolation, Theme } from "@emotion/react";
|
|
2
3
|
import { AvatarSpacing } from "../AvatarGroup/typings";
|
|
3
4
|
export declare type AvatareSize = "small" | "medium" | "large";
|
|
@@ -11,6 +12,7 @@ export interface AvatarProps {
|
|
|
11
12
|
loading?: boolean;
|
|
12
13
|
style?: Interpolation<Theme>;
|
|
13
14
|
spacing: AvatarSpacing;
|
|
15
|
+
children?: React.ReactNode;
|
|
14
16
|
}
|
|
15
17
|
export interface SizingProps {
|
|
16
18
|
width: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Interpolation, Theme } from "@emotion/react";
|
|
2
3
|
export declare type ButtonSize = "small" | "medium" | "large" | "full-width";
|
|
3
4
|
export declare type ButtonTypeAttribute = "button" | "reset" | "submit";
|
|
@@ -12,4 +13,5 @@ export interface ButtonProps {
|
|
|
12
13
|
typeAttribute?: ButtonTypeAttribute;
|
|
13
14
|
dataTestId?: string;
|
|
14
15
|
width?: number;
|
|
16
|
+
children?: React.ReactNode;
|
|
15
17
|
}
|
|
@@ -11,6 +11,8 @@ interface SidePanelProps {
|
|
|
11
11
|
style?: SerializedStyles;
|
|
12
12
|
overlayStyle?: SerializedStyles;
|
|
13
13
|
hideClose?: boolean;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
closeStyle?: SerializedStyles;
|
|
14
16
|
}
|
|
15
17
|
declare const SidePanel: FC<SidePanelProps>;
|
|
16
18
|
export default SidePanel;
|