zebpay-ui 0.0.81 → 0.0.83
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/CalendarPicker/typings.d.ts +1 -0
- package/dist/cjs/components/InputDropDown/styles.d.ts +5 -5
- package/dist/cjs/components/InputDropDown/typings.d.ts +2 -0
- package/dist/cjs/components/MobileBottomDrawer/index.d.ts +11 -0
- package/dist/cjs/components/MobileBottomDrawer/styles.d.ts +3 -0
- package/dist/cjs/components/MobileCalenderPicker/index.d.ts +12 -0
- package/dist/cjs/components/MobileCalenderPicker/styles.d.ts +6 -0
- package/dist/cjs/components/Tabs/styles.d.ts +2 -0
- package/dist/cjs/components/Virtualize/index.d.ts +2 -0
- package/dist/cjs/components/Virtualize/styles.d.ts +2 -2
- package/dist/cjs/components/index.d.ts +3 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/colors.d.ts +8 -0
- package/dist/cjs/styles/utils.d.ts +9 -0
- package/dist/esm/components/CalendarPicker/typings.d.ts +1 -0
- package/dist/esm/components/InputDropDown/styles.d.ts +5 -5
- package/dist/esm/components/InputDropDown/typings.d.ts +2 -0
- package/dist/esm/components/MobileBottomDrawer/index.d.ts +11 -0
- package/dist/esm/components/MobileBottomDrawer/styles.d.ts +3 -0
- package/dist/esm/components/MobileCalenderPicker/index.d.ts +12 -0
- package/dist/esm/components/MobileCalenderPicker/styles.d.ts +6 -0
- package/dist/esm/components/Tabs/styles.d.ts +2 -0
- package/dist/esm/components/Virtualize/index.d.ts +2 -0
- package/dist/esm/components/Virtualize/styles.d.ts +2 -2
- package/dist/esm/components/index.d.ts +3 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/colors.d.ts +8 -0
- package/dist/esm/styles/utils.d.ts +9 -0
- package/dist/icons/icons.css +150 -147
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +9 -0
- package/dist/icons/icons.json +145 -144
- package/dist/icons/icons.ts +148 -144
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +2 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const wrapper: import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export declare const selectOverlay: import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const icon: (disabled?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const icon: (isLightMode: boolean, disabled?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
4
4
|
export declare const input: import("@emotion/utils").SerializedStyles;
|
|
5
|
-
export declare const selectedElement: (open: boolean, disabled?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const selectedElement: (open: boolean, isLightMode: boolean, disabled?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
6
6
|
export declare const options: import("@emotion/utils").SerializedStyles;
|
|
7
7
|
export declare const optionItem: import("@emotion/utils").SerializedStyles;
|
|
8
8
|
export declare const optionsWrapper: import("@emotion/utils").SerializedStyles;
|
|
9
|
-
export declare const displayComponent: (highlight: boolean) => import("@emotion/utils").SerializedStyles;
|
|
10
|
-
export declare const main: (isOpen: boolean, disabled?: boolean | undefined, isError?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
11
|
-
export declare const dropDown: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const displayComponent: (highlight: boolean, isLightMode: boolean, disabled: boolean) => import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const main: (isOpen: boolean, isLightMode: boolean, disabled?: boolean | undefined, isError?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
11
|
+
export declare const dropDown: (isLight: boolean) => import("@emotion/utils").SerializedStyles;
|
|
12
12
|
export declare const optionsList: (isSearchable?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
13
13
|
export declare const inputSearch: import("@emotion/utils").SerializedStyles;
|
|
14
14
|
export declare const dropdown: (posX: number, posY: number) => import("@emotion/utils").SerializedStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { Theme } from "../../globalTypings";
|
|
3
4
|
export interface OptionsProps<T> {
|
|
4
5
|
label: JSX.Element | string;
|
|
5
6
|
displayLabel?: JSX.Element | string;
|
|
@@ -36,4 +37,5 @@ export interface InputDropDownProps<T> {
|
|
|
36
37
|
closeOnSearch?: boolean;
|
|
37
38
|
closeOnCrossClick?: boolean;
|
|
38
39
|
hideDropdown?: boolean;
|
|
40
|
+
mode?: Theme;
|
|
39
41
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import { SerializedStyles } from "@emotion/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
interface MobileBottomDrawerProps {
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
style?: SerializedStyles[];
|
|
8
|
+
overlayStyle?: SerializedStyles;
|
|
9
|
+
}
|
|
10
|
+
declare const MobileBottomDrawer: React.FC<MobileBottomDrawerProps>;
|
|
11
|
+
export default MobileBottomDrawer;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import "react-calendar/dist/Calendar.css";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import "./../../../dist/icons/icons.css";
|
|
5
|
+
import { DateRangePickerProps } from "../CalendarPicker/typings";
|
|
6
|
+
export declare const unixFormat: (date: Date) => number;
|
|
7
|
+
export declare const dateFormat: (date: number) => Date;
|
|
8
|
+
export interface MobileDateRangePick extends DateRangePickerProps {
|
|
9
|
+
clickInfo?: "start" | "end";
|
|
10
|
+
}
|
|
11
|
+
declare const MobileCalendarPicker: React.FC<MobileDateRangePick>;
|
|
12
|
+
export default MobileCalendarPicker;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const alignNav: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const monthArrow: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const navigationLabel: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const dateRangePicker: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const lineBreak: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const heading: import("@emotion/utils").SerializedStyles;
|
|
@@ -5,6 +5,8 @@ export declare const tertiaryNav: import("@emotion/utils").SerializedStyles;
|
|
|
5
5
|
export declare const primaryNav: import("@emotion/utils").SerializedStyles;
|
|
6
6
|
export declare const primary: import("@emotion/utils").SerializedStyles;
|
|
7
7
|
export declare const primaryActive: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const primaryLight: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const primaryLightActive: import("@emotion/utils").SerializedStyles;
|
|
8
10
|
export declare const secondary: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
9
11
|
export declare const secondaryActive: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
10
12
|
export declare const tertiary: import("@emotion/utils").SerializedStyles;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { SerializedStyles } from "@emotion/react";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { OptionsProps } from "../InputDropDown/typings";
|
|
5
|
+
import { Theme } from "../../globalTypings";
|
|
5
6
|
interface VirtualizeProps {
|
|
6
7
|
rowHeight: number;
|
|
7
8
|
rows: OptionsProps<string>[];
|
|
@@ -12,6 +13,7 @@ interface VirtualizeProps {
|
|
|
12
13
|
selectedRowId?: string;
|
|
13
14
|
onScroll?: (value: number) => void;
|
|
14
15
|
disableTick?: boolean;
|
|
16
|
+
mode: Theme;
|
|
15
17
|
}
|
|
16
18
|
declare const Virtualize: React.FC<VirtualizeProps>;
|
|
17
19
|
export default Virtualize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const item: (rowHeight: number, index: number) => import("@emotion/utils").SerializedStyles;
|
|
1
|
+
export declare const item: (rowHeight: number, index: number, isLight: boolean) => import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export declare const body: (height: number, rowCount: number) => import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const table: (tableHeight: number, isEmpty?: boolean | undefined, atTop?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const table: (tableHeight: number, isLight: boolean, isEmpty?: boolean | undefined, atTop?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
4
4
|
export declare const emptyContainer: import("@emotion/utils").SerializedStyles;
|
|
5
5
|
export declare const option: import("@emotion/utils").SerializedStyles;
|
|
@@ -27,4 +27,6 @@ import Switch from "./Switch";
|
|
|
27
27
|
import Avatar from "./Avatar";
|
|
28
28
|
import AvatarGroup from "./AvatarGroup";
|
|
29
29
|
import Pagination from "./Pagination";
|
|
30
|
-
|
|
30
|
+
import MobileBottomDrawer from "./MobileBottomDrawer";
|
|
31
|
+
import MobileCalendarPicker from "./MobileCalenderPicker";
|
|
32
|
+
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, MobileBottomDrawer, MobileCalendarPicker, generateToast, };
|