zebpay-ui 0.0.112 → 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/Accordion/style.d.ts +6 -6
- package/dist/cjs/components/AccordionV2/style.d.ts +6 -6
- package/dist/cjs/components/Avatar/styles.d.ts +3 -3
- package/dist/cjs/components/Avatar/typings.d.ts +1 -2
- package/dist/cjs/components/AvatarGroup/styles.d.ts +1 -1
- package/dist/cjs/components/AvatarGroup/typings.d.ts +1 -1
- package/dist/cjs/components/Button/styles.d.ts +11 -11
- package/dist/cjs/components/Button/typings.d.ts +3 -4
- package/dist/cjs/components/CalendarPicker/styles.d.ts +4 -4
- package/dist/cjs/components/CalendarPicker/typings.d.ts +1 -1
- package/dist/cjs/components/Card/style.d.ts +3 -3
- package/dist/cjs/components/Checkbox/styles.d.ts +8 -8
- package/dist/cjs/components/Checkbox/typings.d.ts +4 -4
- package/dist/cjs/components/CircularLoader/style.d.ts +8 -3
- 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 +13 -13
- package/dist/cjs/components/Input/typings.d.ts +4 -4
- package/dist/cjs/components/InputDropDown/index.d.ts +0 -1
- package/dist/cjs/components/InputDropDown/styles.d.ts +16 -16
- package/dist/cjs/components/InputDropDown/typings.d.ts +2 -2
- package/dist/cjs/components/MobileBottomDrawer/index.d.ts +2 -0
- package/dist/cjs/components/MobileBottomDrawer/styles.d.ts +3 -3
- package/dist/cjs/components/MobileCalenderPicker/styles.d.ts +6 -6
- package/dist/cjs/components/Pagination/styles.d.ts +5 -5
- package/dist/cjs/components/PinInput/style.d.ts +8 -8
- package/dist/cjs/components/PinInput/typing.d.ts +2 -2
- package/dist/cjs/components/Popper/styles.d.ts +4 -4
- package/dist/cjs/components/Popper/typings.d.ts +1 -1
- package/dist/cjs/components/Radio/styles.d.ts +4 -4
- package/dist/cjs/components/Radio/typings.d.ts +4 -4
- package/dist/cjs/components/RadioGroup/styles.d.ts +6 -6
- package/dist/cjs/components/RadioGroup/typings.d.ts +4 -4
- package/dist/cjs/components/RewardOMeter/styles.d.ts +3 -3
- package/dist/cjs/components/SearchInput/index.d.ts +1 -1
- package/dist/cjs/components/SearchInput/style.d.ts +7 -7
- package/dist/cjs/components/Select/styles.d.ts +11 -11
- package/dist/cjs/components/Select/typings.d.ts +2 -2
- package/dist/cjs/components/Shimmer/style.d.ts +15 -5
- package/dist/cjs/components/Shimmer/typings.d.ts +1 -1
- package/dist/cjs/components/SidePanel/index.d.ts +3 -0
- package/dist/cjs/components/SidePanel/style.d.ts +9 -8
- package/dist/cjs/components/Switch/styles.d.ts +13 -13
- package/dist/cjs/components/Tabs/TabsDropdown/index.d.ts +1 -1
- package/dist/cjs/components/Tabs/TabsDropdown/styles.d.ts +6 -6
- package/dist/cjs/components/Tabs/styles.d.ts +16 -16
- package/dist/cjs/components/Tabs/typings.d.ts +4 -4
- package/dist/cjs/components/Tags/index.d.ts +3 -3
- package/dist/cjs/components/Tags/style.d.ts +3 -3
- package/dist/cjs/components/Toast/styles.d.ts +12 -12
- package/dist/cjs/components/Tooltip/styles.d.ts +2 -2
- package/dist/cjs/components/Tooltip/typings.d.ts +3 -3
- package/dist/cjs/components/Virtualize/styles.d.ts +5 -5
- package/dist/cjs/globalTypings.d.ts +1 -1
- package/dist/cjs/index.js +189 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/colors.d.ts +35 -0
- package/dist/cjs/styles/mixins.d.ts +25 -25
- package/dist/cjs/styles/utils.d.ts +18 -18
- package/dist/esm/components/Accordion/style.d.ts +6 -6
- package/dist/esm/components/AccordionV2/style.d.ts +6 -6
- package/dist/esm/components/Avatar/styles.d.ts +3 -3
- package/dist/esm/components/Avatar/typings.d.ts +1 -2
- package/dist/esm/components/AvatarGroup/styles.d.ts +1 -1
- package/dist/esm/components/AvatarGroup/typings.d.ts +1 -1
- package/dist/esm/components/Button/styles.d.ts +11 -11
- package/dist/esm/components/Button/typings.d.ts +3 -4
- package/dist/esm/components/CalendarPicker/styles.d.ts +4 -4
- package/dist/esm/components/CalendarPicker/typings.d.ts +1 -1
- package/dist/esm/components/Card/style.d.ts +3 -3
- package/dist/esm/components/Checkbox/styles.d.ts +8 -8
- package/dist/esm/components/Checkbox/typings.d.ts +4 -4
- package/dist/esm/components/CircularLoader/style.d.ts +8 -3
- 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 +13 -13
- package/dist/esm/components/Input/typings.d.ts +4 -4
- package/dist/esm/components/InputDropDown/index.d.ts +0 -1
- package/dist/esm/components/InputDropDown/styles.d.ts +16 -16
- package/dist/esm/components/InputDropDown/typings.d.ts +2 -2
- package/dist/esm/components/MobileBottomDrawer/index.d.ts +2 -0
- package/dist/esm/components/MobileBottomDrawer/styles.d.ts +3 -3
- package/dist/esm/components/MobileCalenderPicker/styles.d.ts +6 -6
- package/dist/esm/components/Pagination/styles.d.ts +5 -5
- package/dist/esm/components/PinInput/style.d.ts +8 -8
- package/dist/esm/components/PinInput/typing.d.ts +2 -2
- package/dist/esm/components/Popper/styles.d.ts +4 -4
- package/dist/esm/components/Popper/typings.d.ts +1 -1
- package/dist/esm/components/Radio/styles.d.ts +4 -4
- package/dist/esm/components/Radio/typings.d.ts +4 -4
- package/dist/esm/components/RadioGroup/styles.d.ts +6 -6
- package/dist/esm/components/RadioGroup/typings.d.ts +4 -4
- package/dist/esm/components/RewardOMeter/styles.d.ts +3 -3
- package/dist/esm/components/SearchInput/index.d.ts +1 -1
- package/dist/esm/components/SearchInput/style.d.ts +7 -7
- package/dist/esm/components/Select/styles.d.ts +11 -11
- package/dist/esm/components/Select/typings.d.ts +2 -2
- package/dist/esm/components/Shimmer/style.d.ts +15 -5
- package/dist/esm/components/Shimmer/typings.d.ts +1 -1
- package/dist/esm/components/SidePanel/index.d.ts +3 -0
- package/dist/esm/components/SidePanel/style.d.ts +9 -8
- package/dist/esm/components/Switch/styles.d.ts +13 -13
- package/dist/esm/components/Tabs/TabsDropdown/index.d.ts +1 -1
- package/dist/esm/components/Tabs/TabsDropdown/styles.d.ts +6 -6
- package/dist/esm/components/Tabs/styles.d.ts +16 -16
- package/dist/esm/components/Tabs/typings.d.ts +4 -4
- package/dist/esm/components/Tags/index.d.ts +3 -3
- package/dist/esm/components/Tags/style.d.ts +3 -3
- package/dist/esm/components/Toast/styles.d.ts +12 -12
- package/dist/esm/components/Tooltip/styles.d.ts +2 -2
- package/dist/esm/components/Tooltip/typings.d.ts +3 -3
- package/dist/esm/components/Virtualize/styles.d.ts +5 -5
- package/dist/esm/globalTypings.d.ts +1 -1
- package/dist/esm/index.js +189 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/colors.d.ts +35 -0
- package/dist/esm/styles/mixins.d.ts +25 -25
- package/dist/esm/styles/utils.d.ts +18 -18
- package/dist/icons/icons.css +269 -263
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +538 -520
- package/dist/icons/icons.json +262 -260
- package/dist/icons/icons.ts +1046 -1038
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +47 -46
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const accordionWrapper: (isOpen: boolean) => import("@emotion/
|
|
2
|
-
export declare const accordionTitle: import("@emotion/
|
|
3
|
-
export declare const accordionIcon: import("@emotion/
|
|
4
|
-
export declare const accordionCollapsed: import("@emotion/
|
|
5
|
-
export declare const accordionContent: import("@emotion/
|
|
6
|
-
export declare const iconStyle: (isOpen: boolean) => import("@emotion/
|
|
1
|
+
export declare const accordionWrapper: (isOpen: boolean) => import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const accordionTitle: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const accordionIcon: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const accordionCollapsed: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const accordionContent: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const iconStyle: (isOpen: boolean) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const accordionWrapper: (isOpen: boolean, mode: Theme, disableBorder: boolean) => import("@emotion/
|
|
3
|
-
export declare const accordionTitle: import("@emotion/
|
|
4
|
-
export declare const accordionIcon: import("@emotion/
|
|
5
|
-
export declare const accordionCollapsed: import("@emotion/
|
|
6
|
-
export declare const accordionContent: (isOpen: boolean, mode: Theme) => import("@emotion/
|
|
7
|
-
export declare const iconStyle: (isOpen: boolean) => import("@emotion/
|
|
2
|
+
export declare const accordionWrapper: (isOpen: boolean, mode: Theme, disableBorder: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const accordionTitle: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const accordionIcon: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const accordionCollapsed: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const accordionContent: (isOpen: boolean, mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const iconStyle: (isOpen: boolean) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SizingProps } from "./typings";
|
|
2
|
-
export declare const avatar: (customSize: SizingProps, disabled: boolean) => import("@emotion/
|
|
3
|
-
export declare const customAvatar: (customSize: SizingProps, disabled: boolean) => import("@emotion/
|
|
4
|
-
export declare const loading: (spacing: string) => import("@emotion/
|
|
2
|
+
export declare const avatar: (customSize: SizingProps, disabled: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const customAvatar: (customSize: SizingProps, disabled: boolean) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const loading: (spacing: string) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Interpolation, Theme } from "@emotion/react";
|
|
3
2
|
import { AvatarSpacing } from "../AvatarGroup/typings";
|
|
4
|
-
export
|
|
3
|
+
export type AvatareSize = "small" | "medium" | "large";
|
|
5
4
|
export interface AvatarProps {
|
|
6
5
|
src: string;
|
|
7
6
|
alt: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnimationType } from "./typings";
|
|
2
|
-
export declare const avatarGroup: (width: number, animate: boolean, animationType: AnimationType) => import("@emotion/
|
|
2
|
+
export declare const avatarGroup: (width: number, animate: boolean, animationType: AnimationType) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Interpolation, Theme } from "@emotion/react";
|
|
2
2
|
import { AvatareSize } from "../Avatar/typings";
|
|
3
|
-
export
|
|
3
|
+
export type AvatarSpacing = "small" | "medium" | "large";
|
|
4
4
|
export interface AvatarGroupContentProps {
|
|
5
5
|
src: string;
|
|
6
6
|
alt: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const general: (width?: number
|
|
3
|
-
export declare const linkButton: import("@emotion/
|
|
4
|
-
export declare const primaryButton: import("@emotion/
|
|
5
|
-
export declare const secondaryButton: (mode: Theme) => import("@emotion/
|
|
6
|
-
export declare const specialButton: import("@emotion/
|
|
7
|
-
export declare const specialButtonText: import("@emotion/
|
|
8
|
-
export declare const specialButtonSmText: import("@emotion/
|
|
9
|
-
export declare const tertiaryButton: import("@emotion/
|
|
10
|
-
export declare const tertiaryButtonText: import("@emotion/
|
|
11
|
-
export declare const tabButton: import("@emotion/
|
|
12
|
-
export declare const disabledButton: import("@emotion/
|
|
2
|
+
export declare const general: (width?: number) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const linkButton: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const primaryButton: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const secondaryButton: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const specialButton: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const specialButtonText: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const specialButtonSmText: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const tertiaryButton: import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const tertiaryButtonText: import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const tabButton: import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const disabledButton: import("@emotion/react").SerializedStyles;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Interpolation, Theme } from "@emotion/react";
|
|
3
2
|
import { Theme as ModeTheme } from "../../globalTypings";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type ButtonSize = "small" | "medium" | "large" | "full-width";
|
|
4
|
+
export type ButtonTypeAttribute = "button" | "reset" | "submit";
|
|
5
|
+
export type ButtonType = "link" | "primary" | "secondary" | "special" | "tertiary" | "tab";
|
|
7
6
|
export interface ButtonProps {
|
|
8
7
|
type: ButtonType;
|
|
9
8
|
size?: ButtonSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const alignNav: import("@emotion/
|
|
2
|
-
export declare const monthArrow: import("@emotion/
|
|
3
|
-
export declare const navigationLabel: import("@emotion/
|
|
4
|
-
export declare const dateRangePicker: import("@emotion/
|
|
1
|
+
export declare const alignNav: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const monthArrow: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const navigationLabel: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const dateRangePicker: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const cardStyle: import("@emotion/
|
|
2
|
-
export declare const cardHeader: import("@emotion/
|
|
3
|
-
export declare const cardBody: import("@emotion/
|
|
1
|
+
export declare const cardStyle: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const cardHeader: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const cardBody: import("@emotion/react").SerializedStyles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const checkboxContainer: import("@emotion/
|
|
2
|
-
export declare const labelContainer: (isLight: boolean, alignTop?: boolean
|
|
3
|
-
export declare const disabledLabel: import("@emotion/
|
|
4
|
-
export declare const input: import("@emotion/
|
|
5
|
-
export declare const checkCheckmark: (isLight: boolean, indeterminate?: boolean
|
|
6
|
-
export declare const checkLabel: import("@emotion/
|
|
7
|
-
export declare const checkComponent: import("@emotion/
|
|
8
|
-
export declare const checkmark: (isLight: boolean, indeterminate?: boolean
|
|
1
|
+
export declare const checkboxContainer: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const labelContainer: (isLight: boolean, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const disabledLabel: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const input: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const checkCheckmark: (isLight: boolean, indeterminate?: boolean) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const checkLabel: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const checkComponent: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const checkmark: (isLight: boolean, indeterminate?: boolean, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { Mode } from "../Tags";
|
|
4
4
|
export interface CheckboxProps {
|
|
5
|
-
value:
|
|
5
|
+
value: string | number;
|
|
6
6
|
checked: boolean;
|
|
7
7
|
onChange: (args: {
|
|
8
8
|
checked: boolean;
|
|
9
|
-
value:
|
|
9
|
+
value: string | number;
|
|
10
10
|
}) => void;
|
|
11
|
-
label?: string | JSX.Element;
|
|
11
|
+
label?: string | React.JSX.Element;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
style?: SerializedStyles;
|
|
14
14
|
indeterminate?: boolean;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
export declare const rotateAnimation:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const rotateAnimation: {
|
|
2
|
+
name: string;
|
|
3
|
+
styles: string;
|
|
4
|
+
anim: 1;
|
|
5
|
+
toString: () => string;
|
|
6
|
+
} & string;
|
|
7
|
+
export declare const circle: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const rotation: (interval: number) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DividerProps } from ".";
|
|
2
|
-
export declare const divider: (props: DividerProps) => import("@emotion/
|
|
2
|
+
export declare const divider: (props: DividerProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconBoxProps } from ".";
|
|
2
|
-
export declare const container: (data: IconBoxProps) => import("@emotion/
|
|
3
|
-
export declare const withHoverStyle: import("@emotion/
|
|
2
|
+
export declare const container: (data: IconBoxProps) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const withHoverStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare const invalidInputGroup: import("@emotion/
|
|
2
|
-
export declare const formLabel: (theme: "dark" | "light") => import("@emotion/
|
|
3
|
-
export declare const activeFormLabel: (theme: "dark" | "light") => import("@emotion/
|
|
4
|
-
export declare const inputGroup: import("@emotion/
|
|
5
|
-
export declare const focusedInputGroup: (theme: "dark" | "light") => import("@emotion/
|
|
6
|
-
export declare const formControl: (theme: "dark" | "light", disabled?: boolean
|
|
7
|
-
export declare const fieldFullRounded: import("@emotion/
|
|
8
|
-
export declare const fieldNoRounded: import("@emotion/
|
|
9
|
-
export declare const fieldSecondHalfRounded: import("@emotion/
|
|
10
|
-
export declare const fieldFirstHalfRounded: import("@emotion/
|
|
11
|
-
export declare const inputGroupText: (theme: "dark" | "light") => import("@emotion/
|
|
12
|
-
export declare const inputGroupPrepend: (theme: "dark" | "light") => import("@emotion/
|
|
13
|
-
export declare const infoCta: import("@emotion/
|
|
1
|
+
export declare const invalidInputGroup: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const formLabel: (theme: "dark" | "light") => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const activeFormLabel: (theme: "dark" | "light") => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const inputGroup: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const focusedInputGroup: (theme: "dark" | "light") => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const formControl: (theme: "dark" | "light", disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const fieldFullRounded: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const fieldNoRounded: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const fieldSecondHalfRounded: import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const fieldFirstHalfRounded: import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const inputGroupText: (theme: "dark" | "light") => import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const inputGroupPrepend: (theme: "dark" | "light") => import("@emotion/react").SerializedStyles;
|
|
13
|
+
export declare const infoCta: import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import {
|
|
2
|
+
import React, { KeyboardEvent, WheelEvent } from "react";
|
|
3
3
|
export interface InputTargetProps {
|
|
4
4
|
value: string;
|
|
5
5
|
name: string;
|
|
@@ -7,11 +7,11 @@ export interface InputTargetProps {
|
|
|
7
7
|
export interface InputProps {
|
|
8
8
|
label: string;
|
|
9
9
|
placeholder: string;
|
|
10
|
-
value:
|
|
10
|
+
value: string | number;
|
|
11
11
|
onChange: (target: InputTargetProps) => void;
|
|
12
12
|
name?: string;
|
|
13
|
-
appendItem?: string | JSX.Element;
|
|
14
|
-
prependItem?: string | JSX.Element;
|
|
13
|
+
appendItem?: string | React.JSX.Element;
|
|
14
|
+
prependItem?: string | React.JSX.Element;
|
|
15
15
|
infoText?: string;
|
|
16
16
|
errorText?: string;
|
|
17
17
|
type?: "text" | "number" | "password";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const wrapper: import("@emotion/
|
|
2
|
-
export declare const selectOverlay: import("@emotion/
|
|
3
|
-
export declare const icon: (isLightMode: boolean, disabled?: boolean
|
|
4
|
-
export declare const input: import("@emotion/
|
|
5
|
-
export declare const selectedElement: (open: boolean, isLightMode: boolean, disabled?: boolean
|
|
6
|
-
export declare const options: import("@emotion/
|
|
7
|
-
export declare const optionItem: import("@emotion/
|
|
8
|
-
export declare const optionsWrapper: import("@emotion/
|
|
9
|
-
export declare const displayComponent: (highlight: boolean, isLightMode: boolean, disabled: boolean) => import("@emotion/
|
|
10
|
-
export declare const main: (isOpen: boolean, isLightMode: boolean, disabled?: boolean
|
|
11
|
-
export declare const dropDown: (isLight: boolean) => import("@emotion/
|
|
12
|
-
export declare const optionsList: (isSearchable?: boolean
|
|
13
|
-
export declare const inputSearch: import("@emotion/
|
|
14
|
-
export declare const dropdown: (posX: number, posY: number) => import("@emotion/
|
|
15
|
-
export declare const contentHeading: import("@emotion/
|
|
16
|
-
export declare const pillOptions: import("@emotion/
|
|
1
|
+
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const icon: (isLightMode: boolean, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const input: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const selectedElement: (open: boolean, isLightMode: boolean, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const options: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const optionItem: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const optionsWrapper: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const displayComponent: (highlight: boolean, isLightMode: boolean, disabled: boolean) => import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const main: (isOpen: boolean, isLightMode: boolean, disabled?: boolean, isError?: boolean) => import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const dropDown: (isLight: boolean) => import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const optionsList: (isSearchable?: boolean) => import("@emotion/react").SerializedStyles;
|
|
13
|
+
export declare const inputSearch: import("@emotion/react").SerializedStyles;
|
|
14
|
+
export declare const dropdown: (posX: number, posY: number) => import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const contentHeading: import("@emotion/react").SerializedStyles;
|
|
16
|
+
export declare const pillOptions: import("@emotion/react").SerializedStyles;
|
|
@@ -2,8 +2,8 @@ import { SerializedStyles } from "@emotion/react";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Theme } from "../../globalTypings";
|
|
4
4
|
export interface OptionsProps<T> {
|
|
5
|
-
label: JSX.Element | string;
|
|
6
|
-
displayLabel?: JSX.Element | string;
|
|
5
|
+
label: React.JSX.Element | string;
|
|
6
|
+
displayLabel?: React.JSX.Element | string;
|
|
7
7
|
value: T;
|
|
8
8
|
}
|
|
9
9
|
export interface InputDropDownProps<T> {
|
|
@@ -7,6 +7,8 @@ interface MobileBottomDrawerProps {
|
|
|
7
7
|
style?: SerializedStyles[];
|
|
8
8
|
overlayStyle?: SerializedStyles;
|
|
9
9
|
hideHandle?: boolean;
|
|
10
|
+
/** Drag threshold in pixels to trigger close (default: 100) */
|
|
11
|
+
closeThreshold?: number;
|
|
10
12
|
}
|
|
11
13
|
declare const MobileBottomDrawer: React.FC<MobileBottomDrawerProps>;
|
|
12
14
|
export default MobileBottomDrawer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const bottomDrawer: import("@emotion/
|
|
2
|
-
export declare const backdrop: import("@emotion/
|
|
3
|
-
export declare const dragHandle: import("@emotion/
|
|
1
|
+
export declare const bottomDrawer: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const backdrop: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const dragHandle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const alignNav: import("@emotion/
|
|
2
|
-
export declare const monthArrow: import("@emotion/
|
|
3
|
-
export declare const navigationLabel: import("@emotion/
|
|
4
|
-
export declare const dateRangePicker: import("@emotion/
|
|
5
|
-
export declare const lineBreak: import("@emotion/
|
|
6
|
-
export declare const heading: import("@emotion/
|
|
1
|
+
export declare const alignNav: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const monthArrow: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const navigationLabel: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const dateRangePicker: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const lineBreak: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const heading: import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const smallCardWithBg: import("@emotion/
|
|
2
|
-
export declare const arrow: import("@emotion/
|
|
3
|
-
export declare const pageLink: import("@emotion/
|
|
4
|
-
export declare const active: import("@emotion/
|
|
5
|
-
export declare const pageItem: import("@emotion/
|
|
1
|
+
export declare const smallCardWithBg: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const arrow: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const pageLink: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const active: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const pageItem: import("@emotion/react").SerializedStyles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const pins: import("@emotion/
|
|
2
|
-
export declare const label: import("@emotion/
|
|
3
|
-
export declare const inputFocused: (focused: boolean, inValid: boolean) => import("@emotion/
|
|
4
|
-
export declare const invalidPins: import("@emotion/
|
|
5
|
-
export declare const inputContainer: import("@emotion/
|
|
6
|
-
export declare const input: import("@emotion/
|
|
7
|
-
export declare const disabledInput: import("@emotion/
|
|
8
|
-
export declare const maskStyle: import("@emotion/
|
|
1
|
+
export declare const pins: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const label: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const inputFocused: (focused: boolean, inValid: boolean) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const invalidPins: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const inputContainer: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const input: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const disabledInput: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const maskStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React from "react";
|
|
3
|
-
export
|
|
3
|
+
export type PinInputProps = {
|
|
4
4
|
label?: string;
|
|
5
5
|
values: string[];
|
|
6
6
|
mask?: boolean;
|
|
@@ -17,7 +17,7 @@ export declare type PinInputProps = {
|
|
|
17
17
|
inputContainerStyle?: SerializedStyles;
|
|
18
18
|
inputFieldStyle?: SerializedStyles;
|
|
19
19
|
} & Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "id" | "inputMode" | "onBlur" | "onFocus" | "onKeyDown" | "placeholder">;
|
|
20
|
-
export
|
|
20
|
+
export type PinInputFieldProps = {
|
|
21
21
|
index: number;
|
|
22
22
|
value: string;
|
|
23
23
|
} & PinInputProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const container: import("@emotion/
|
|
2
|
-
export declare const popup: import("@emotion/
|
|
3
|
-
export declare const closeButton: import("@emotion/
|
|
4
|
-
export declare const selectOverlay: import("@emotion/
|
|
1
|
+
export declare const container: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const popup: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const closeButton: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
|
-
export
|
|
3
|
+
export type Position = "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-start" | "bottom" | "bottom-end" | "left-start" | "left" | "left-end";
|
|
4
4
|
export interface PopperProps {
|
|
5
5
|
content: ReactElement;
|
|
6
6
|
onClose?: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const container: (isListView: boolean) => import("@emotion/
|
|
3
|
-
export declare const input: import("@emotion/
|
|
4
|
-
export declare const checkmark: (theme: Theme, selected: boolean, isListView: boolean) => import("@emotion/
|
|
5
|
-
export declare const listViewStyle: import("@emotion/
|
|
2
|
+
export declare const container: (isListView: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const input: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const checkmark: (theme: Theme, selected: boolean, isListView: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const listViewStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { Theme } from "../../globalTypings";
|
|
4
4
|
export interface RadioProps {
|
|
5
5
|
selected: boolean;
|
|
6
6
|
onChange: (args: {
|
|
7
7
|
selected: boolean;
|
|
8
|
-
value:
|
|
8
|
+
value: string | number;
|
|
9
9
|
}) => void;
|
|
10
|
-
value?:
|
|
11
|
-
label?: string | JSX.Element;
|
|
10
|
+
value?: string | number;
|
|
11
|
+
label?: string | React.JSX.Element;
|
|
12
12
|
name: string;
|
|
13
13
|
style?: SerializedStyles;
|
|
14
14
|
mode?: Theme;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const container: import("@emotion/
|
|
3
|
-
export declare const input: import("@emotion/
|
|
4
|
-
export declare const checkmark: import("@emotion/
|
|
5
|
-
export declare const radioGroup: (mode: Theme) => import("@emotion/
|
|
6
|
-
export declare const marginRight: import("@emotion/
|
|
7
|
-
export declare const defaultState: import("@emotion/
|
|
2
|
+
export declare const container: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const input: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const checkmark: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const radioGroup: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const marginRight: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const defaultState: import("@emotion/react").SerializedStyles;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { Theme } from "../../globalTypings";
|
|
4
4
|
export interface OptionProps {
|
|
5
5
|
name: string;
|
|
6
|
-
value?:
|
|
7
|
-
label?: string | JSX.Element;
|
|
6
|
+
value?: string | number;
|
|
7
|
+
label?: string | React.JSX.Element;
|
|
8
8
|
id: string;
|
|
9
9
|
}
|
|
10
10
|
export interface RadioGroupProps {
|
|
11
11
|
defaultSelected?: string;
|
|
12
12
|
onChange: (args: {
|
|
13
13
|
selected: boolean;
|
|
14
|
-
value:
|
|
14
|
+
value: string | number;
|
|
15
15
|
selectedId: string;
|
|
16
16
|
}) => void;
|
|
17
17
|
style?: SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const meter: import("@emotion/
|
|
2
|
-
export declare const wrapper: (radius: number) => import("@emotion/
|
|
3
|
-
export declare const needle: (angle: number, size: number, radius: number) => import("@emotion/
|
|
1
|
+
export declare const meter: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const wrapper: (radius: number) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const needle: (angle: number, size: number, radius: number) => import("@emotion/react").SerializedStyles;
|
|
@@ -5,7 +5,7 @@ import { InputTargetProps } from "./../Input/typings";
|
|
|
5
5
|
import "./../../../dist/icons/icons.css";
|
|
6
6
|
import { Theme } from "../../globalTypings";
|
|
7
7
|
interface SearchInputProps {
|
|
8
|
-
value:
|
|
8
|
+
value: string | number;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
onChange: (target: InputTargetProps) => void;
|
|
11
11
|
onClear?: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const inputGroup: (theme: Theme, inFocus?: boolean
|
|
3
|
-
export declare const inputPrepend: (theme: Theme, isFocused: boolean, customDarkBgcolor?: string) => import("@emotion/
|
|
4
|
-
export declare const focused: (theme: Theme) => import("@emotion/
|
|
5
|
-
export declare const searchInput: (isMobile: boolean, theme: Theme, isFocused: boolean, onClear?: boolean
|
|
6
|
-
export declare const searchButton: (theme: Theme) => import("@emotion/
|
|
7
|
-
export declare const disableShadow: import("@emotion/
|
|
8
|
-
export declare const icon: (theme: Theme) => import("@emotion/
|
|
2
|
+
export declare const inputGroup: (theme: Theme, inFocus?: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const inputPrepend: (theme: Theme, isFocused: boolean, customDarkBgcolor?: string) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const focused: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const searchInput: (isMobile: boolean, theme: Theme, isFocused: boolean, onClear?: boolean, customDarkBgcolor?: string) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const searchButton: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const disableShadow: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const icon: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const wrapper: import("@emotion/
|
|
2
|
-
export declare const button: import("@emotion/
|
|
3
|
-
export declare const active: import("@emotion/
|
|
4
|
-
export declare const selectOverlay: import("@emotion/
|
|
5
|
-
export declare const optionsWrapper: (shiftLeft?: boolean
|
|
6
|
-
export declare const options: import("@emotion/
|
|
7
|
-
export declare const optionItem: import("@emotion/
|
|
8
|
-
export declare const optionItems: import("@emotion/
|
|
9
|
-
export declare const empty: import("@emotion/
|
|
10
|
-
export declare const optionSecondName: import("@emotion/
|
|
11
|
-
export declare const selected: import("@emotion/
|
|
1
|
+
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const button: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const active: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const optionsWrapper: (shiftLeft?: boolean) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const options: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const optionItem: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const optionItems: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const empty: import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const optionSecondName: import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const selected: import("@emotion/react").SerializedStyles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React from "react";
|
|
3
3
|
export interface OptionsProps<T> {
|
|
4
|
-
label: JSX.Element | string;
|
|
5
|
-
displayLabel?: JSX.Element | string;
|
|
4
|
+
label: React.JSX.Element | string;
|
|
5
|
+
displayLabel?: React.JSX.Element | string;
|
|
6
6
|
value: T;
|
|
7
7
|
}
|
|
8
8
|
export interface SelectProps<T> {
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
2
|
import { SizeType } from "./typings";
|
|
3
|
-
export declare const shimmerAnimation: (width: number, widthSizeType: SizeType) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export declare const shimmerAnimation: (width: number, widthSizeType: SizeType) => {
|
|
4
|
+
name: string;
|
|
5
|
+
styles: string;
|
|
6
|
+
anim: 1;
|
|
7
|
+
toString: () => string;
|
|
8
|
+
} & string;
|
|
9
|
+
export declare const shimmerContainer: (theme: Theme, width: number, widthSizeType: SizeType) => import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const lightDarkShimmer: import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const translate: (width: number, widthSizeType: SizeType) => {
|
|
12
|
+
name: string;
|
|
13
|
+
styles: string;
|
|
14
|
+
anim: 1;
|
|
15
|
+
toString: () => string;
|
|
16
|
+
} & string;
|
|
17
|
+
export declare const shimmerLine: (width: number, widthSizeType: SizeType) => import("@emotion/react").SerializedStyles;
|
|
@@ -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;
|