zebpay-ui 0.0.122 → 0.0.124
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 +3 -0
- package/dist/cjs/components/Accordion/style.d.ts +5 -6
- package/dist/cjs/components/AccordionV2/index.d.ts +2 -0
- package/dist/cjs/components/AccordionV2/style.d.ts +6 -7
- package/dist/cjs/components/Button/styles.d.ts +6 -6
- package/dist/cjs/components/CalendarPicker/styles.d.ts +3 -3
- package/dist/cjs/components/Card/style.d.ts +2 -2
- package/dist/cjs/components/Checkbox/styles.d.ts +6 -6
- package/dist/cjs/components/Checkbox/typings.d.ts +1 -0
- package/dist/cjs/components/Divider/styles.d.ts +1 -1
- package/dist/cjs/components/IconBox/styles.d.ts +2 -2
- package/dist/cjs/components/Input/styles.d.ts +10 -13
- package/dist/cjs/components/Input/typings.d.ts +3 -2
- package/dist/cjs/components/InputDropDown/styles.d.ts +9 -9
- package/dist/cjs/components/MobileBottomDrawer/styles.d.ts +2 -2
- package/dist/cjs/components/MobileCalenderPicker/styles.d.ts +3 -3
- package/dist/cjs/components/Notes/index.d.ts +5 -0
- package/dist/cjs/components/Notes/style.d.ts +22 -0
- package/dist/cjs/components/Notes/typings.d.ts +14 -0
- package/dist/cjs/components/Pagination/styles.d.ts +5 -5
- package/dist/cjs/components/PinInput/style.d.ts +3 -3
- package/dist/cjs/components/Popper/styles.d.ts +2 -2
- package/dist/cjs/components/Radio/styles.d.ts +8 -4
- package/dist/cjs/components/Radio/typings.d.ts +3 -1
- package/dist/cjs/components/RadioGroup/styles.d.ts +3 -5
- package/dist/cjs/components/RadioGroup/typings.d.ts +3 -0
- package/dist/cjs/components/SearchInput/index.d.ts +3 -3
- package/dist/cjs/components/SearchInput/style.d.ts +3 -8
- package/dist/cjs/components/Select/styles.d.ts +1 -1
- package/dist/cjs/components/SidePanel/style.d.ts +4 -4
- package/dist/cjs/components/Switch/styles.d.ts +6 -6
- package/dist/cjs/components/Toast/index.d.ts +1 -1
- package/dist/cjs/components/Toast/styles.d.ts +20 -12
- package/dist/cjs/components/Toast/typings.d.ts +3 -1
- package/dist/cjs/components/Virtualize/styles.d.ts +3 -4
- package/dist/cjs/components/index.d.ts +2 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/theme/componentColors.d.ts +12 -1
- package/dist/cjs/theme/index.d.ts +2 -4
- package/dist/cjs/theme/types.d.ts +13 -1
- package/dist/cjs/theme/zColorScheme.d.ts +2 -1
- package/dist/cjs/theme/zColors.d.ts +31 -13
- package/dist/esm/components/Accordion/index.d.ts +3 -0
- package/dist/esm/components/Accordion/style.d.ts +5 -6
- package/dist/esm/components/AccordionV2/index.d.ts +2 -0
- package/dist/esm/components/AccordionV2/style.d.ts +6 -7
- package/dist/esm/components/Button/styles.d.ts +6 -6
- package/dist/esm/components/CalendarPicker/styles.d.ts +3 -3
- package/dist/esm/components/Card/style.d.ts +2 -2
- package/dist/esm/components/Checkbox/styles.d.ts +6 -6
- package/dist/esm/components/Checkbox/typings.d.ts +1 -0
- package/dist/esm/components/Divider/styles.d.ts +1 -1
- package/dist/esm/components/IconBox/styles.d.ts +2 -2
- package/dist/esm/components/Input/styles.d.ts +10 -13
- package/dist/esm/components/Input/typings.d.ts +3 -2
- package/dist/esm/components/InputDropDown/styles.d.ts +9 -9
- package/dist/esm/components/MobileBottomDrawer/styles.d.ts +2 -2
- package/dist/esm/components/MobileCalenderPicker/styles.d.ts +3 -3
- package/dist/esm/components/Notes/index.d.ts +5 -0
- package/dist/esm/components/Notes/style.d.ts +22 -0
- package/dist/esm/components/Notes/typings.d.ts +14 -0
- package/dist/esm/components/Pagination/styles.d.ts +5 -5
- package/dist/esm/components/PinInput/style.d.ts +3 -3
- package/dist/esm/components/Popper/styles.d.ts +2 -2
- package/dist/esm/components/Radio/styles.d.ts +8 -4
- package/dist/esm/components/Radio/typings.d.ts +3 -1
- package/dist/esm/components/RadioGroup/styles.d.ts +3 -5
- package/dist/esm/components/RadioGroup/typings.d.ts +3 -0
- package/dist/esm/components/SearchInput/index.d.ts +3 -3
- package/dist/esm/components/SearchInput/style.d.ts +3 -8
- package/dist/esm/components/Select/styles.d.ts +1 -1
- package/dist/esm/components/SidePanel/style.d.ts +4 -4
- package/dist/esm/components/Switch/styles.d.ts +6 -6
- package/dist/esm/components/Toast/index.d.ts +1 -1
- package/dist/esm/components/Toast/styles.d.ts +20 -12
- package/dist/esm/components/Toast/typings.d.ts +3 -1
- package/dist/esm/components/Virtualize/styles.d.ts +3 -4
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/componentColors.d.ts +12 -1
- package/dist/esm/theme/index.d.ts +2 -4
- package/dist/esm/theme/types.d.ts +13 -1
- package/dist/esm/theme/zColorScheme.d.ts +2 -1
- package/dist/esm/theme/zColors.d.ts +31 -13
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const switchContainer: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const regularSlider:
|
|
4
|
-
export declare const regularCheckedSlider: (
|
|
3
|
+
export declare const regularSlider: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const regularCheckedSlider: (size?: "small" | "medium") => import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const switchBar: (size?: "small" | "medium", isLocked?: boolean) => import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const checkedSlider: (size?: "small" | "medium", isLocked?: boolean,
|
|
7
|
-
export declare const slider: (size?: "small" | "medium", isLocked?: boolean,
|
|
6
|
+
export declare const checkedSlider: (size?: "small" | "medium", isLocked?: boolean, mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const slider: (size?: "small" | "medium", isLocked?: boolean, mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const round: (size?: "small" | "medium") => import("@emotion/react").SerializedStyles;
|
|
9
9
|
export declare const circle: (size?: "small" | "medium", checked?: boolean) => import("@emotion/react").SerializedStyles;
|
|
10
|
-
export declare const switchLabel: (
|
|
10
|
+
export declare const switchLabel: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
11
11
|
export declare const labelHidden: import("@emotion/react").SerializedStyles;
|
|
12
12
|
export declare const circleWithIcon: import("@emotion/react").SerializedStyles;
|
|
13
13
|
export declare const iconInsideCircle: (size?: "small" | "medium") => import("@emotion/react").SerializedStyles;
|
|
14
|
-
export declare const lockedCircle: (
|
|
14
|
+
export declare const lockedCircle: (checked?: boolean) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ToastProps } from "./typings";
|
|
4
|
-
export declare const generateToast: ({ title, description, type, onClose, mode, style, }: ToastProps) => void;
|
|
4
|
+
export declare const generateToast: ({ title, description, type, onClose, mode, isMobile, style, }: ToastProps) => void;
|
|
5
5
|
export declare const Toast: React.FC<ToastProps>;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
2
|
+
import { ToastType } from "./typings";
|
|
3
|
+
type ToastColors = {
|
|
4
|
+
fill: string;
|
|
5
|
+
stroke: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
iconBoxBg: string;
|
|
10
|
+
close: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const getToastColors: (mode: Theme, type: ToastType, isMobile: boolean) => ToastColors;
|
|
13
|
+
export declare const toastContainer: (mode: Theme, type: ToastType, isMobile: boolean, hasDescription: boolean) => import("@emotion/react").SerializedStyles;
|
|
14
|
+
export declare const toastContent: (isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const toastHeader: import("@emotion/react").SerializedStyles;
|
|
16
|
+
export declare const toastIconWrapper: (mode: Theme, type: ToastType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
17
|
+
export declare const toastTitle: (mode: Theme, type: ToastType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
18
|
+
export declare const toastDescription: (mode: Theme, type: ToastType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
19
|
+
export declare const toastIcon: (mode: Theme, type: ToastType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
20
|
+
export declare const toastClose: (mode: Theme, type: ToastType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
21
|
+
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import { Theme } from "../../globalTypings";
|
|
3
|
+
export type ToastType = "info" | "error" | "success";
|
|
3
4
|
export interface ToastProps {
|
|
4
5
|
title: string;
|
|
5
6
|
description?: string;
|
|
6
|
-
type
|
|
7
|
+
type?: ToastType;
|
|
8
|
+
isMobile?: boolean;
|
|
7
9
|
onClose?: () => void;
|
|
8
10
|
style?: SerializedStyles;
|
|
9
11
|
mode?: Theme;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const item: (rowHeight: number, index: number,
|
|
2
|
+
export declare const item: (rowHeight: number, index: number, mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const body: (height: number, rowCount: number) => import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const table: (tableHeight: number,
|
|
5
|
-
export declare const emptyContainer: (
|
|
4
|
+
export declare const table: (tableHeight: number, mode: Theme, isEmpty?: boolean, atTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const emptyContainer: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
6
|
export declare const option: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const optionTick: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -30,4 +30,5 @@ import AvatarGroup from "./AvatarGroup";
|
|
|
30
30
|
import Pagination from "./Pagination";
|
|
31
31
|
import MobileBottomDrawer from "./MobileBottomDrawer";
|
|
32
32
|
import MobileCalendarPicker from "./MobileCalenderPicker";
|
|
33
|
-
|
|
33
|
+
import Notes from "./Notes";
|
|
34
|
+
export { Accordion, AccordionV2, 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, Notes, generateToast, };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./components";
|
|
2
2
|
export * from "./styles";
|
|
3
3
|
export * from "./theme";
|
|
4
|
-
export { ZThemeProvider, ThemeContext, useZTheme, getZColorSchemeForTheme, zColorTokens, } from "./theme";
|
|
4
|
+
export { ZThemeProvider, ThemeContext, useZTheme, lightColorScheme, darkColorScheme, extraDarkColorScheme, getZColorSchemeForTheme, zColorTokens, } from "./theme";
|
|
5
5
|
export type { ZColorScheme, ThemeContextValue, ZThemeProviderProps, } from "./theme";
|