zebpay-ui 0.0.66 → 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/Accordion/style.d.ts +2 -1
- package/dist/cjs/components/Avatar/typings.d.ts +2 -0
- package/dist/cjs/components/Button/styles.d.ts +1 -1
- package/dist/cjs/components/Button/typings.d.ts +3 -0
- package/dist/cjs/components/Card/index.d.ts +1 -0
- package/dist/cjs/components/Divider/index.d.ts +13 -0
- package/dist/cjs/components/Divider/styles.d.ts +2 -0
- package/dist/cjs/components/IconBox/index.d.ts +16 -0
- package/dist/cjs/components/IconBox/styles.d.ts +3 -0
- package/dist/cjs/components/InputDropDown/typings.d.ts +1 -1
- package/dist/cjs/components/Pagination/index.d.ts +5 -0
- package/dist/cjs/components/Pagination/styles.d.ts +5 -0
- package/dist/cjs/components/Pagination/typings.d.ts +9 -0
- package/dist/cjs/components/Popper/typings.d.ts +1 -0
- package/dist/cjs/components/Shimmer/style.d.ts +2 -2
- package/dist/cjs/components/SidePanel/index.d.ts +2 -0
- package/dist/cjs/components/Tags/index.d.ts +3 -0
- package/dist/cjs/components/Tags/style.d.ts +1 -0
- package/dist/cjs/components/Tooltip/typings.d.ts +1 -0
- package/dist/cjs/components/index.d.ts +4 -1
- package/dist/cjs/hooks/index.d.ts +1 -0
- package/dist/cjs/hooks/usePagination.d.ts +7 -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/Accordion/style.d.ts +2 -1
- package/dist/esm/components/Avatar/typings.d.ts +2 -0
- package/dist/esm/components/Button/styles.d.ts +1 -1
- package/dist/esm/components/Button/typings.d.ts +3 -0
- package/dist/esm/components/Card/index.d.ts +1 -0
- package/dist/esm/components/Divider/index.d.ts +13 -0
- package/dist/esm/components/Divider/styles.d.ts +2 -0
- package/dist/esm/components/IconBox/index.d.ts +16 -0
- package/dist/esm/components/IconBox/styles.d.ts +3 -0
- package/dist/esm/components/InputDropDown/typings.d.ts +1 -1
- package/dist/esm/components/Pagination/index.d.ts +5 -0
- package/dist/esm/components/Pagination/styles.d.ts +5 -0
- package/dist/esm/components/Pagination/typings.d.ts +9 -0
- package/dist/esm/components/Popper/typings.d.ts +1 -0
- package/dist/esm/components/Shimmer/style.d.ts +2 -2
- package/dist/esm/components/SidePanel/index.d.ts +2 -0
- package/dist/esm/components/Tags/index.d.ts +3 -0
- package/dist/esm/components/Tags/style.d.ts +1 -0
- package/dist/esm/components/Tooltip/typings.d.ts +1 -0
- package/dist/esm/components/index.d.ts +4 -1
- package/dist/esm/hooks/index.d.ts +1 -0
- package/dist/esm/hooks/usePagination.d.ts +7 -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 +149 -164
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +51 -96
- package/dist/icons/icons.json +146 -151
- package/dist/icons/icons.ts +166 -186
- 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,5 +1,6 @@
|
|
|
1
|
-
export declare const accordionWrapper: import("@emotion/utils").SerializedStyles;
|
|
1
|
+
export declare const accordionWrapper: (isOpen: boolean) => import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export declare const accordionTitle: import("@emotion/utils").SerializedStyles;
|
|
3
3
|
export declare const accordionIcon: import("@emotion/utils").SerializedStyles;
|
|
4
4
|
export declare const accordionCollapsed: import("@emotion/utils").SerializedStyles;
|
|
5
5
|
export declare const accordionContent: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const iconStyle: (isOpen: boolean) => import("@emotion/utils").SerializedStyles;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
export declare const general: import("@emotion/utils").SerializedStyles;
|
|
1
|
+
export declare const general: (width?: number | undefined) => import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export declare const linkButton: import("@emotion/utils").SerializedStyles;
|
|
3
3
|
export declare const primaryButton: import("@emotion/utils").SerializedStyles;
|
|
4
4
|
export declare const secondaryButton: import("@emotion/utils").SerializedStyles;
|
|
@@ -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";
|
|
@@ -11,4 +12,6 @@ export interface ButtonProps {
|
|
|
11
12
|
style?: Interpolation<Theme>;
|
|
12
13
|
typeAttribute?: ButtonTypeAttribute;
|
|
13
14
|
dataTestId?: string;
|
|
15
|
+
width?: number;
|
|
16
|
+
children?: React.ReactNode;
|
|
14
17
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { SerializedStyles } from "@emotion/react";
|
|
4
|
+
export interface DividerProps {
|
|
5
|
+
spacing: number;
|
|
6
|
+
spacingTop?: number;
|
|
7
|
+
spacingBottom?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
height?: number;
|
|
10
|
+
style?: SerializedStyles;
|
|
11
|
+
}
|
|
12
|
+
declare const Divider: React.FC<DividerProps>;
|
|
13
|
+
export default Divider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { SerializedStyles } from "@emotion/react";
|
|
4
|
+
export interface IconBoxProps {
|
|
5
|
+
icon: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
iconSize?: number;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
bgColor?: string;
|
|
10
|
+
iconColor?: string;
|
|
11
|
+
boxStyle?: SerializedStyles;
|
|
12
|
+
iconStyle?: SerializedStyles;
|
|
13
|
+
withHover?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const IconBox: React.FC<IconBoxProps>;
|
|
16
|
+
export default IconBox;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const smallCardWithBg: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const arrow: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const pageLink: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const active: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const pageItem: import("@emotion/utils").SerializedStyles;
|
|
@@ -3,5 +3,5 @@ import { SizeType } from "./typings";
|
|
|
3
3
|
export declare const shimmerAnimation: (width: number, widthSizeType: SizeType) => import("@emotion/react").Keyframes;
|
|
4
4
|
export declare const shimmerContainer: (theme: Theme, width: number, widthSizeType: SizeType) => import("@emotion/utils").SerializedStyles;
|
|
5
5
|
export declare const lightDarkShimmer: import("@emotion/utils").SerializedStyles;
|
|
6
|
-
export declare const translate: (width: number) => import("@emotion/react").Keyframes;
|
|
7
|
-
export declare const shimmerLine: (width: number) => import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const translate: (width: number, widthSizeType: SizeType) => import("@emotion/react").Keyframes;
|
|
7
|
+
export declare const shimmerLine: (width: number, widthSizeType: SizeType) => import("@emotion/utils").SerializedStyles;
|
|
@@ -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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TagSize } from ".";
|
|
2
2
|
export declare const tagWrapper: (animate: boolean) => import("@emotion/utils").SerializedStyles;
|
|
3
3
|
export declare const tagsSize: (size: TagSize) => import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const iconStyle: (size: TagSize) => import("@emotion/utils").SerializedStyles;
|
|
@@ -4,8 +4,10 @@ import CalendarPicker from "./CalendarPicker";
|
|
|
4
4
|
import Card from "./Card";
|
|
5
5
|
import Checkbox from "./Checkbox";
|
|
6
6
|
import CircularLoader from "./CircularLoader";
|
|
7
|
+
import Divider from "./Divider";
|
|
7
8
|
import Icon from "./Icon";
|
|
8
9
|
import IconButton from "./IconButton";
|
|
10
|
+
import IconBox from "./IconBox";
|
|
9
11
|
import Input from "./Input";
|
|
10
12
|
import InputDropDown from "./InputDropDown";
|
|
11
13
|
import PinInput from "./PinInput";
|
|
@@ -24,4 +26,5 @@ import Tooltip from "./Tooltip";
|
|
|
24
26
|
import Switch from "./Switch";
|
|
25
27
|
import Avatar from "./Avatar";
|
|
26
28
|
import AvatarGroup from "./AvatarGroup";
|
|
27
|
-
|
|
29
|
+
import Pagination from "./Pagination";
|
|
30
|
+
export { Accordion, Button, Card, Checkbox, CircularLoader, CalendarPicker, Divider, Icon, IconButton, IconBox, Input, InputDropDown, PinInput, Popper, Radio, RadioGroup, RewardOMeter, Select, Shimmer, SearchInput, SidePanel, Tags, Tabs, Toast, Tooltip, Switch, Avatar, AvatarGroup, Pagination, generateToast, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DOTS = "...";
|
|
2
|
+
interface PaginationResult {
|
|
3
|
+
pages: Array<number | string>;
|
|
4
|
+
lastPage: number;
|
|
5
|
+
}
|
|
6
|
+
export default function usePagination(totalCount: number, pageSize: number, siblingCount: number | undefined, currentPage: number): PaginationResult;
|
|
7
|
+
export {};
|