zebpay-ui 0.0.11 → 0.0.14
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/README.md +9 -0
- package/dist/cjs/components/Accordion/index.d.ts +11 -0
- package/dist/cjs/components/Accordion/style.d.ts +5 -0
- package/dist/cjs/components/Button/index.d.ts +5 -0
- package/dist/cjs/components/Button/styles.d.ts +10 -0
- package/dist/cjs/components/Button/typings.d.ts +11 -0
- package/dist/cjs/components/Checkbox/index.d.ts +5 -0
- package/dist/cjs/components/Checkbox/styles.d.ts +8 -0
- package/dist/cjs/components/Checkbox/typings.d.ts +13 -0
- package/dist/cjs/components/CircularLoader/index.d.ts +4 -0
- package/dist/cjs/components/CircularLoader/style.d.ts +2 -0
- package/dist/cjs/components/CircularLoader/typings.d.ts +4 -0
- package/dist/cjs/components/DateRangePicker/index.d.ts +14 -0
- package/dist/cjs/components/Input/index.d.ts +4 -0
- package/dist/cjs/components/Input/styles.d.ts +13 -0
- package/dist/cjs/components/Input/typings.d.ts +23 -0
- package/dist/cjs/components/PinInput/PinInputField.d.ts +5 -0
- package/dist/cjs/components/PinInput/index.d.ts +5 -0
- package/dist/cjs/components/PinInput/style.d.ts +8 -0
- package/dist/cjs/components/PinInput/typing.d.ts +19 -0
- package/dist/cjs/components/Popper/index.d.ts +5 -0
- package/dist/cjs/components/Popper/styles.d.ts +6 -0
- package/dist/cjs/components/Popper/typings.d.ts +14 -0
- package/dist/cjs/components/Radio/index.d.ts +5 -0
- package/dist/cjs/components/Radio/styles.d.ts +3 -0
- package/dist/cjs/components/Radio/typings.d.ts +13 -0
- package/dist/cjs/components/Tabs/index.d.ts +6 -0
- package/dist/cjs/components/Tabs/styles.d.ts +10 -0
- package/dist/cjs/components/Tabs/typings.d.ts +15 -0
- package/dist/cjs/components/Tags/index.d.ts +8 -0
- package/dist/cjs/components/Tags/style.d.ts +1 -0
- package/dist/cjs/components/Toast/index.d.ts +6 -0
- package/dist/cjs/components/Toast/styles.d.ts +12 -0
- package/dist/cjs/components/Toast/typings.d.ts +6 -0
- package/dist/cjs/components/index.d.ts +12 -0
- package/dist/cjs/hooks/index.d.ts +1 -0
- package/dist/cjs/hooks/useFocus.d.ts +6 -0
- package/dist/cjs/index.d.ts +2 -179
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/colors.d.ts +34 -0
- package/dist/cjs/styles/index.d.ts +5 -0
- package/dist/cjs/styles/mixins.d.ts +20 -0
- package/dist/cjs/styles/typography.d.ts +6 -0
- package/dist/cjs/styles/utils.d.ts +10 -0
- package/dist/esm/components/Accordion/index.d.ts +11 -0
- package/dist/esm/components/Accordion/style.d.ts +5 -0
- package/dist/esm/components/Button/index.d.ts +5 -0
- package/dist/esm/components/Button/styles.d.ts +10 -0
- package/dist/esm/components/Button/typings.d.ts +11 -0
- package/dist/esm/components/Checkbox/index.d.ts +5 -0
- package/dist/esm/components/Checkbox/styles.d.ts +8 -0
- package/dist/esm/components/Checkbox/typings.d.ts +13 -0
- package/dist/esm/components/CircularLoader/index.d.ts +4 -0
- package/dist/esm/components/CircularLoader/style.d.ts +2 -0
- package/dist/esm/components/CircularLoader/typings.d.ts +4 -0
- package/dist/esm/components/DateRangePicker/index.d.ts +14 -0
- package/dist/esm/components/Input/index.d.ts +4 -0
- package/dist/esm/components/Input/styles.d.ts +13 -0
- package/dist/esm/components/Input/typings.d.ts +23 -0
- package/dist/esm/components/PinInput/PinInputField.d.ts +5 -0
- package/dist/esm/components/PinInput/index.d.ts +5 -0
- package/dist/esm/components/PinInput/style.d.ts +8 -0
- package/dist/esm/components/PinInput/typing.d.ts +19 -0
- package/dist/esm/components/Popper/index.d.ts +5 -0
- package/dist/esm/components/Popper/styles.d.ts +6 -0
- package/dist/esm/components/Popper/typings.d.ts +14 -0
- package/dist/esm/components/Radio/index.d.ts +5 -0
- package/dist/esm/components/Radio/styles.d.ts +3 -0
- package/dist/esm/components/Radio/typings.d.ts +13 -0
- package/dist/esm/components/Tabs/index.d.ts +6 -0
- package/dist/esm/components/Tabs/styles.d.ts +10 -0
- package/dist/esm/components/Tabs/typings.d.ts +15 -0
- package/dist/esm/components/Tags/index.d.ts +8 -0
- package/dist/esm/components/Tags/style.d.ts +1 -0
- package/dist/esm/components/Toast/index.d.ts +6 -0
- package/dist/esm/components/Toast/styles.d.ts +12 -0
- package/dist/esm/components/Toast/typings.d.ts +6 -0
- package/dist/esm/components/index.d.ts +12 -0
- package/dist/esm/hooks/index.d.ts +1 -0
- package/dist/esm/hooks/useFocus.d.ts +6 -0
- package/dist/esm/index.d.ts +2 -179
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/colors.d.ts +34 -0
- package/dist/esm/styles/index.d.ts +5 -0
- package/dist/esm/styles/mixins.d.ts +20 -0
- package/dist/esm/styles/typography.d.ts +6 -0
- package/dist/esm/styles/utils.d.ts +10 -0
- package/package.json +13 -7
- package/release.md +10 -0
package/README.md
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import { SerializedStyles } from "@emotion/react";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
import "./../../../dist/icons/icons.css";
|
|
5
|
+
interface AccordionProps {
|
|
6
|
+
title: string;
|
|
7
|
+
onToggle?: (value: boolean) => void;
|
|
8
|
+
style?: SerializedStyles;
|
|
9
|
+
}
|
|
10
|
+
declare const Accordion: FC<AccordionProps>;
|
|
11
|
+
export default Accordion;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const accordionWrapper: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const accordionTitle: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const accordionIcon: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const accordionCollapsed: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const accordionContent: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const linkButton: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const primaryButton: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const secondaryButton: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const specialButton: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const specialButtonText: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const specialButtonSmText: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const tertiaryButton: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const tertiaryButtonText: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const tabButton: import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const disabledButton: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Interpolation, Theme } from "@emotion/react";
|
|
2
|
+
export declare type ButtonSize = "small" | "medium" | "large" | "full-width";
|
|
3
|
+
export declare type ButtonType = "link" | "primary" | "secondary" | "special" | "tertiary" | "tab";
|
|
4
|
+
export interface ButtonProps {
|
|
5
|
+
type: ButtonType;
|
|
6
|
+
size?: ButtonSize;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
style?: Interpolation<Theme>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const checkboxContainer: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const labelContainer: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const disabledLabel: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const input: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const checkCheckmark: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const checkLabel: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const checkComponent: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const checkmark: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { ReactText } from "react";
|
|
3
|
+
export interface CheckboxProps {
|
|
4
|
+
value: ReactText;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
onChange: (args: {
|
|
7
|
+
checked: boolean;
|
|
8
|
+
value: ReactText;
|
|
9
|
+
}) => void;
|
|
10
|
+
label?: string | JSX.Element;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
style?: SerializedStyles;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import React from "react";
|
|
3
|
+
import "./styles.css";
|
|
4
|
+
interface DateRangePickerProps {
|
|
5
|
+
months: number;
|
|
6
|
+
onChange(ranges: Selection): void;
|
|
7
|
+
ranges: Selection;
|
|
8
|
+
}
|
|
9
|
+
interface Selection {
|
|
10
|
+
startDate: Date;
|
|
11
|
+
endDate: Date;
|
|
12
|
+
}
|
|
13
|
+
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
14
|
+
export default DateRangePicker;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const invalidInputGroup: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const formLabel: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const activeFormLabel: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const inputGroup: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const focusedInputGroup: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const formControl: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const fieldFullRounded: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const fieldNoRounded: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const fieldSecondHalfRounded: import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const fieldFirstHalfRounded: import("@emotion/utils").SerializedStyles;
|
|
11
|
+
export declare const inputGroupText: import("@emotion/utils").SerializedStyles;
|
|
12
|
+
export declare const inputGroupPrepend: import("@emotion/utils").SerializedStyles;
|
|
13
|
+
export declare const infoCta: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { ReactText } from "react";
|
|
3
|
+
export interface InputTargetProps {
|
|
4
|
+
value: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export interface InputProps {
|
|
8
|
+
label: string;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
value: ReactText;
|
|
11
|
+
onChange: (target: InputTargetProps) => void;
|
|
12
|
+
name?: string;
|
|
13
|
+
appendItem?: string | JSX.Element;
|
|
14
|
+
prependItem?: string | JSX.Element;
|
|
15
|
+
infoText?: string;
|
|
16
|
+
errorText?: string;
|
|
17
|
+
type?: "text" | "number" | "password";
|
|
18
|
+
style?: SerializedStyles;
|
|
19
|
+
cta?: {
|
|
20
|
+
label: string;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const pins: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const label: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const inputFocused: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const invalidPins: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const disabledPins: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const inputContainer: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const input: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const disabledInput: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import React, { ReactText } from "react";
|
|
3
|
+
export declare type PinInputProps = {
|
|
4
|
+
label?: string;
|
|
5
|
+
values: string[];
|
|
6
|
+
type?: ReactText;
|
|
7
|
+
mask?: boolean;
|
|
8
|
+
autoFocus?: boolean;
|
|
9
|
+
onChange?: (value: string | string[], index: number, values: string[]) => void;
|
|
10
|
+
length: number;
|
|
11
|
+
initialValue?: string | string[];
|
|
12
|
+
onComplete?: (values: string[]) => void;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
style?: SerializedStyles;
|
|
15
|
+
} & Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "id" | "inputMode" | "onBlur" | "onFocus" | "onKeyDown" | "placeholder">;
|
|
16
|
+
export declare type PinInputFieldProps = {
|
|
17
|
+
index: number;
|
|
18
|
+
value: string;
|
|
19
|
+
} & PinInputProps;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const container: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const popup: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const header: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const button: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const closer: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const label: (hovered?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { ReactElement } from "react";
|
|
3
|
+
import { ButtonProps } from "../Button/typings";
|
|
4
|
+
export interface PopperProps {
|
|
5
|
+
label: string;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
buttonProps?: ButtonProps;
|
|
8
|
+
renderChildren: (props: ChildrenProps) => ReactElement;
|
|
9
|
+
style?: SerializedStyles;
|
|
10
|
+
}
|
|
11
|
+
export interface ChildrenProps {
|
|
12
|
+
close: () => void;
|
|
13
|
+
isOpened: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { ReactText } from "react";
|
|
3
|
+
export interface RadioProps {
|
|
4
|
+
selected: boolean;
|
|
5
|
+
onChange: (args: {
|
|
6
|
+
selected: boolean;
|
|
7
|
+
value: ReactText;
|
|
8
|
+
}) => void;
|
|
9
|
+
value?: ReactText;
|
|
10
|
+
label?: string | JSX.Element;
|
|
11
|
+
name: string;
|
|
12
|
+
style?: SerializedStyles;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const customNav: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const disabledNav: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const tertiaryNav: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const primary: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const primaryActive: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const secondary: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const secondaryActive: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const tertiary: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const tertiaryActive: import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const backgroundButton: (color: string) => import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
export declare type TabType = "primary" | "secondary" | "tertiary";
|
|
3
|
+
export interface TabItem {
|
|
4
|
+
title: JSX.Element | string;
|
|
5
|
+
tab: string;
|
|
6
|
+
style?: SerializedStyles;
|
|
7
|
+
}
|
|
8
|
+
export interface TabProps {
|
|
9
|
+
selectedTab: string;
|
|
10
|
+
tabsList: TabItem[];
|
|
11
|
+
onChange: (value: string) => void;
|
|
12
|
+
type: TabType;
|
|
13
|
+
style?: SerializedStyles;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tagWrapper: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ToastProps } from "./typings";
|
|
4
|
+
export declare const generateToast: ({ title, description, type, onClose, }: ToastProps) => void;
|
|
5
|
+
declare const Toast: React.FC<ToastProps>;
|
|
6
|
+
export default Toast;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const toastContainer: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const toastHeading: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const toastDetails: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const toastTitle: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const closeCta: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const toastDescription: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const info: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const infoToastHeading: import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const error: import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const errorToastHeading: import("@emotion/utils").SerializedStyles;
|
|
11
|
+
export declare const success: import("@emotion/utils").SerializedStyles;
|
|
12
|
+
export declare const successToastHeading: import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Accordion from "./Accordion";
|
|
2
|
+
import Button from "./Button";
|
|
3
|
+
import Checkbox from "./Checkbox";
|
|
4
|
+
import CircularLoader from "./CircularLoader";
|
|
5
|
+
import Input from "./Input";
|
|
6
|
+
import PinInput from "./PinInput";
|
|
7
|
+
import Popper from "./Popper";
|
|
8
|
+
import Radio from "./Radio";
|
|
9
|
+
import Tags from "./Tags";
|
|
10
|
+
import Tabs from "./Tabs";
|
|
11
|
+
import Toast from "./Toast";
|
|
12
|
+
export { Accordion, Button, Checkbox, CircularLoader, Input, PinInput, Popper, Radio, Tags, Tabs, Toast, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useFocus } from "./useFocus";
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,179 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Interpolation, Theme, SerializedStyles, CSSObject } from '@emotion/react';
|
|
4
|
-
import * as _emotion_utils from '@emotion/utils';
|
|
5
|
-
|
|
6
|
-
declare type ButtonSize = "small" | "medium" | "large" | "full-width";
|
|
7
|
-
declare type ButtonType = "link" | "primary" | "secondary" | "special" | "tertiary" | "tab";
|
|
8
|
-
interface ButtonProps {
|
|
9
|
-
type: ButtonType;
|
|
10
|
-
size?: ButtonSize;
|
|
11
|
-
onClick: () => void;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
style?: Interpolation<Theme>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/** @jsxImportSource @emotion/react */
|
|
18
|
-
|
|
19
|
-
declare const Button: React.FC<ButtonProps>;
|
|
20
|
-
|
|
21
|
-
interface CheckboxProps {
|
|
22
|
-
value: ReactText;
|
|
23
|
-
checked: boolean;
|
|
24
|
-
onChange: (args: {
|
|
25
|
-
checked: boolean;
|
|
26
|
-
value: ReactText;
|
|
27
|
-
}) => void;
|
|
28
|
-
label?: string | JSX.Element;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
style?: SerializedStyles;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** @jsxImportSource @emotion/react */
|
|
34
|
-
|
|
35
|
-
declare const Checkbox: FC<CheckboxProps>;
|
|
36
|
-
|
|
37
|
-
interface CircularLoaderProps {
|
|
38
|
-
size: number;
|
|
39
|
-
color?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
declare const CircularLoader: FC<CircularLoaderProps>;
|
|
43
|
-
|
|
44
|
-
interface InputTargetProps {
|
|
45
|
-
value: string;
|
|
46
|
-
name: string;
|
|
47
|
-
}
|
|
48
|
-
interface InputProps {
|
|
49
|
-
label: string;
|
|
50
|
-
placeholder: string;
|
|
51
|
-
value: ReactText;
|
|
52
|
-
onChange: (target: InputTargetProps) => void;
|
|
53
|
-
name?: string;
|
|
54
|
-
appendItem?: string | JSX.Element;
|
|
55
|
-
prependItem?: string | JSX.Element;
|
|
56
|
-
infoText?: string;
|
|
57
|
-
errorText?: string;
|
|
58
|
-
type?: "text" | "number" | "password";
|
|
59
|
-
style?: SerializedStyles;
|
|
60
|
-
cta?: {
|
|
61
|
-
label: string;
|
|
62
|
-
onClick: () => void;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
declare const Input: React__default.FC<InputProps>;
|
|
67
|
-
|
|
68
|
-
interface PopperProps {
|
|
69
|
-
label: string;
|
|
70
|
-
onClose?: () => void;
|
|
71
|
-
buttonProps?: ButtonProps;
|
|
72
|
-
renderChildren: (props: ChildrenProps) => ReactElement;
|
|
73
|
-
style?: SerializedStyles;
|
|
74
|
-
}
|
|
75
|
-
interface ChildrenProps {
|
|
76
|
-
close: () => void;
|
|
77
|
-
isOpened: boolean;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/** @jsxImportSource @emotion/react */
|
|
81
|
-
|
|
82
|
-
declare const Popper: React.FC<PopperProps>;
|
|
83
|
-
|
|
84
|
-
interface RadioProps {
|
|
85
|
-
selected: boolean;
|
|
86
|
-
onChange: (args: {
|
|
87
|
-
selected: boolean;
|
|
88
|
-
value: ReactText;
|
|
89
|
-
}) => void;
|
|
90
|
-
value?: ReactText;
|
|
91
|
-
label?: string | JSX.Element;
|
|
92
|
-
name: string;
|
|
93
|
-
style?: SerializedStyles;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** @jsxImportSource @emotion/react */
|
|
97
|
-
|
|
98
|
-
declare const Radio: React__default.FC<RadioProps>;
|
|
99
|
-
|
|
100
|
-
interface ToastProps {
|
|
101
|
-
title: string;
|
|
102
|
-
description: string;
|
|
103
|
-
type: "info" | "error" | "success";
|
|
104
|
-
onClose?: () => void;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/** @jsxImportSource @emotion/react */
|
|
108
|
-
|
|
109
|
-
declare const Toast: React__default.FC<ToastProps>;
|
|
110
|
-
|
|
111
|
-
declare const colors: {
|
|
112
|
-
Zeb_Solid_White: string;
|
|
113
|
-
Zeb_Solid_BG_Blue: string;
|
|
114
|
-
Zeb_Solid_Dark_Blue: string;
|
|
115
|
-
Zeb_Solid_Bright_Blue: string;
|
|
116
|
-
Zeb_Solid_Light_Blue: string;
|
|
117
|
-
Zeb_Solid_Green: string;
|
|
118
|
-
Zeb_Solid_Red: string;
|
|
119
|
-
Zeb_Solid_Yellow: string;
|
|
120
|
-
Zeb_Solid_Grey: string;
|
|
121
|
-
Zeb_Solid_Dark_Grey: string;
|
|
122
|
-
Zeb_Solid_Black: string;
|
|
123
|
-
Zeb_Solid_Light_Blue_01: string;
|
|
124
|
-
Zeb_Solid_Grey_01: string;
|
|
125
|
-
Zeb_Gradient_Blue_01: string;
|
|
126
|
-
Zeb_Gradient_Blue_02: string;
|
|
127
|
-
Zeb_Gradient_Dark_Blue: string;
|
|
128
|
-
Zeb_Transparent_25: string;
|
|
129
|
-
Zeb_Transparent_Green: string;
|
|
130
|
-
Zeb_Transparent_Yellow: string;
|
|
131
|
-
Zeb_Transparent_Red: string;
|
|
132
|
-
Zeb_BG_Blue: string;
|
|
133
|
-
Zeb_BG_Light_Blue: string;
|
|
134
|
-
Zeb_BG_Green: string;
|
|
135
|
-
Zeb_BG_Red: string;
|
|
136
|
-
Zeb_BG_Yellow: string;
|
|
137
|
-
Zeb_Transparent_4: string;
|
|
138
|
-
Zeb_Effects_Shadow_Hover: string;
|
|
139
|
-
Zeb_Effects_Shadow_W_Drawer: string;
|
|
140
|
-
Zeb_Effects_Shadow_M_Drawer: string;
|
|
141
|
-
Zeb_Effects_Shadow_Hover_Up: string;
|
|
142
|
-
Zeb_Effects_Shimmer: string;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
interface Styles {
|
|
146
|
-
[key: string]: CSSObject;
|
|
147
|
-
}
|
|
148
|
-
declare const typography: Styles;
|
|
149
|
-
|
|
150
|
-
declare const utils: {
|
|
151
|
-
remConverter: (value: number) => string;
|
|
152
|
-
widthPercentage: (value: number) => _emotion_utils.SerializedStyles;
|
|
153
|
-
heightPercentage: (value: number) => _emotion_utils.SerializedStyles;
|
|
154
|
-
mr: (value: number) => _emotion_utils.SerializedStyles;
|
|
155
|
-
ml: (value: number) => _emotion_utils.SerializedStyles;
|
|
156
|
-
mt: (value: number) => _emotion_utils.SerializedStyles;
|
|
157
|
-
mb: (value: number) => _emotion_utils.SerializedStyles;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
declare const mixins: {
|
|
161
|
-
flexJustifiedBetween: _emotion_utils.SerializedStyles;
|
|
162
|
-
flexJustifiedCenter: _emotion_utils.SerializedStyles;
|
|
163
|
-
flexJustifiedEnd: _emotion_utils.SerializedStyles;
|
|
164
|
-
flexAlignCenter: _emotion_utils.SerializedStyles;
|
|
165
|
-
flexAlignStart: _emotion_utils.SerializedStyles;
|
|
166
|
-
flexNoWrap: _emotion_utils.SerializedStyles;
|
|
167
|
-
flexColumn: _emotion_utils.SerializedStyles;
|
|
168
|
-
textSuccess: _emotion_utils.SerializedStyles;
|
|
169
|
-
textError: _emotion_utils.SerializedStyles;
|
|
170
|
-
bgSuccess: _emotion_utils.SerializedStyles;
|
|
171
|
-
bgError: _emotion_utils.SerializedStyles;
|
|
172
|
-
textFaded: _emotion_utils.SerializedStyles;
|
|
173
|
-
textCapitalize: _emotion_utils.SerializedStyles;
|
|
174
|
-
textAlignmentCenter: _emotion_utils.SerializedStyles;
|
|
175
|
-
textAlignmentLeft: _emotion_utils.SerializedStyles;
|
|
176
|
-
textAlignmentRight: _emotion_utils.SerializedStyles;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
export { Button, Checkbox, CircularLoader, Input, Popper, Radio, Toast, colors, mixins, typography, utils };
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export * from "./styles";
|