@incodetech/welcome 1.86.0 → 1.86.1
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/incode-design-system/src/GlobalFonts.d.ts +2 -0
- package/dist/incode-design-system/src/components/composed/Button.d.ts +129 -0
- package/dist/incode-design-system/src/components/composed/Card.d.ts +9 -0
- package/dist/incode-design-system/src/components/composed/Container.d.ts +7 -0
- package/dist/incode-design-system/src/components/composed/DateInput.d.ts +2 -0
- package/dist/incode-design-system/src/components/composed/DropdownComposed.d.ts +21 -0
- package/dist/incode-design-system/src/components/composed/InputComposed.d.ts +14 -0
- package/dist/incode-design-system/src/components/composed/Lottie.d.ts +10 -0
- package/dist/incode-design-system/src/components/composed/Modal.d.ts +11 -0
- package/dist/incode-design-system/src/components/composed/Notification.d.ts +6 -0
- package/dist/incode-design-system/src/components/composed/Page.d.ts +34 -0
- package/dist/incode-design-system/src/components/composed/PhoneInput.d.ts +11 -0
- package/dist/incode-design-system/src/components/composed/Spinner.d.ts +9 -0
- package/dist/incode-design-system/src/components/composed/Subtitle.d.ts +5 -0
- package/dist/incode-design-system/src/components/composed/ThemeProvider.d.ts +9 -0
- package/dist/incode-design-system/src/components/composed/Title.d.ts +5 -0
- package/dist/incode-design-system/src/components/composed/assets/CalendarIcon.d.ts +2 -0
- package/dist/incode-design-system/src/components/composed/assets/VerifiedLogo.d.ts +2 -0
- package/dist/incode-design-system/src/components/composed/assets/XIcon.d.ts +8 -0
- package/dist/incode-design-system/src/components/composed/assets/notification-animations/aligndevicelottie.json.d.ts +7462 -0
- package/dist/incode-design-system/src/components/composed/assets/notification-animations/backdevicelottie.json.d.ts +9967 -0
- package/dist/incode-design-system/src/components/composed/assets/notification-animations/blurdevicelottie.json.d.ts +9159 -0
- package/dist/incode-design-system/src/components/composed/assets/notification-animations/frontdevicelottie.json.d.ts +10255 -0
- package/dist/incode-design-system/src/components/composed/assets/notification-animations/glaredevicelottie.json.d.ts +8473 -0
- package/dist/incode-design-system/src/components/composed/index.d.ts +18 -0
- package/dist/incode-design-system/src/components/composed/individualCharacterInputBoxes/IndividualCharacterInputBoxes.d.ts +15 -0
- package/dist/incode-design-system/src/components/composed/individualCharacterInputBoxes/InputBox.d.ts +7 -0
- package/dist/incode-design-system/src/components/composed/individualCharacterInputBoxes/index.d.ts +1 -0
- package/dist/incode-design-system/src/components/icons/DownArrow.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/ErrorIcon.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/LoadingIcon.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/LocationActiveIcon.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/LocationUnactiveIcon.d.ts +3 -0
- package/dist/incode-design-system/src/components/icons/SuccessIcon.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/UpArrow.d.ts +6 -0
- package/dist/incode-design-system/src/components/icons/WarningIcon.d.ts +3 -0
- package/dist/incode-design-system/src/components/icons/index.d.ts +8 -0
- package/dist/incode-design-system/src/components/index.d.ts +3 -0
- package/dist/incode-design-system/src/components/primitives/Box.d.ts +157 -0
- package/dist/incode-design-system/src/components/primitives/Box.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/Flex.d.ts +70 -0
- package/dist/incode-design-system/src/components/primitives/Flex.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/FlexCenter.d.ts +2 -0
- package/dist/incode-design-system/src/components/primitives/FlexCenter.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/FlexItem.d.ts +82 -0
- package/dist/incode-design-system/src/components/primitives/FlexItem.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/Image.d.ts +79 -0
- package/dist/incode-design-system/src/components/primitives/Image.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/Input.d.ts +9 -0
- package/dist/incode-design-system/src/components/primitives/Spacer.d.ts +91 -0
- package/dist/incode-design-system/src/components/primitives/Spacer.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/Text.d.ts +71 -0
- package/dist/incode-design-system/src/components/primitives/Text.test.d.ts +1 -0
- package/dist/incode-design-system/src/components/primitives/index.d.ts +14 -0
- package/dist/incode-design-system/src/examples/customTheme.d.ts +3965 -0
- package/dist/incode-design-system/src/hooks/index.d.ts +1 -0
- package/dist/incode-design-system/src/hooks/useTokens.d.ts +30 -0
- package/dist/incode-design-system/src/index.d.ts +5 -0
- package/dist/incode-design-system/src/index.test.d.ts +1 -0
- package/dist/incode-design-system/src/test/setup.d.ts +0 -0
- package/dist/incode-design-system/src/tokens/components/button.d.ts +130 -0
- package/dist/incode-design-system/src/tokens/components/index.d.ts +3 -0
- package/dist/incode-design-system/src/tokens/components/input.d.ts +100 -0
- package/dist/incode-design-system/src/tokens/components/spinner.d.ts +34 -0
- package/dist/incode-design-system/src/tokens/index.d.ts +566 -0
- package/dist/incode-design-system/src/tokens/primitives/animations.d.ts +14 -0
- package/dist/incode-design-system/src/tokens/primitives/colors.d.ts +46 -0
- package/dist/incode-design-system/src/tokens/primitives/shadows.d.ts +10 -0
- package/dist/incode-design-system/src/tokens/primitives/spacing.d.ts +23 -0
- package/dist/incode-design-system/src/tokens/primitives/typography.d.ts +40 -0
- package/dist/incode-design-system/src/tokens/reference/colors.d.ts +301 -0
- package/dist/incode-design-system/src/tokens/reference/index.d.ts +3 -0
- package/dist/incode-design-system/src/tokens/reference/spacing.d.ts +37 -0
- package/dist/incode-design-system/src/tokens/reference/typography.d.ts +91 -0
- package/dist/incode-design-system/src/tokens/tokens.test.d.ts +1 -0
- package/dist/incode-design-system/src/utils/colorUtils.d.ts +7 -0
- package/dist/incode-design-system/src/utils/createTokens.d.ts +18 -0
- package/dist/incode-design-system/src/utils/createTokens.test.d.ts +1 -0
- package/dist/incode-design-system/src/utils/getBrandColors.d.ts +30 -0
- package/dist/incode-design-system/src/utils/getTokensFromDashboardTheme.d.ts +29 -0
- package/dist/incode-design-system/src/utils/index.d.ts +9 -0
- package/dist/incode-design-system/src/utils/merge.d.ts +9 -0
- package/dist/incode-design-system/src/utils/schemas.d.ts +4 -0
- package/dist/incode-design-system/src/utils/smartBrandColorMerging.d.ts +14 -0
- package/dist/incode-design-system/src/utils/smartBrandColorMerging.test.d.ts +1 -0
- package/dist/incode-design-system/src/utils/spacing.d.ts +9 -0
- package/dist/incode-design-system/src/utils/typography.d.ts +26 -0
- package/dist/incode-welcome/src/renderCamera.d.ts +1 -0
- package/dist/incode-welcome/src/ui/theme.d.ts +1 -0
- package/dist/onBoarding.mjs +1 -1
- package/dist/onBoarding.umd.js +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, FC } from 'react';
|
|
2
|
+
import { Theme } from '../../tokens';
|
|
3
|
+
import { TextOwnProps } from '../primitives/Text';
|
|
4
|
+
export type ButtonOwnProps = {
|
|
5
|
+
borderColor?: string;
|
|
6
|
+
variant?: 'primary' | 'link' | 'secondary';
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
} & Omit<TextOwnProps<'button'>, 'as'>;
|
|
9
|
+
export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonOwnProps;
|
|
10
|
+
export declare const StyledButton: import('@emotion/styled').StyledComponent<{
|
|
11
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
12
|
+
children?: import('react').ReactNode;
|
|
13
|
+
'data-testid'?: string;
|
|
14
|
+
m?: string | import('../..').SpacingValue;
|
|
15
|
+
mx?: string | import('../..').SpacingValue;
|
|
16
|
+
my?: string | import('../..').SpacingValue;
|
|
17
|
+
mt?: string | import('../..').SpacingValue;
|
|
18
|
+
mr?: string | import('../..').SpacingValue;
|
|
19
|
+
mb?: string | import('../..').SpacingValue;
|
|
20
|
+
ml?: string | import('../..').SpacingValue;
|
|
21
|
+
p?: string | import('../..').SpacingValue;
|
|
22
|
+
px?: string | import('../..').SpacingValue;
|
|
23
|
+
py?: string | import('../..').SpacingValue;
|
|
24
|
+
pt?: string | import('../..').SpacingValue;
|
|
25
|
+
pr?: string | import('../..').SpacingValue;
|
|
26
|
+
pb?: string | import('../..').SpacingValue;
|
|
27
|
+
pl?: string | import('../..').SpacingValue;
|
|
28
|
+
xsM?: string | import('../..').SpacingValue;
|
|
29
|
+
xsMx?: string | import('../..').SpacingValue;
|
|
30
|
+
xsMy?: string | import('../..').SpacingValue;
|
|
31
|
+
xsMt?: string | import('../..').SpacingValue;
|
|
32
|
+
xsMr?: string | import('../..').SpacingValue;
|
|
33
|
+
xsMb?: string | import('../..').SpacingValue;
|
|
34
|
+
xsMl?: string | import('../..').SpacingValue;
|
|
35
|
+
smM?: string | import('../..').SpacingValue;
|
|
36
|
+
smMx?: string | import('../..').SpacingValue;
|
|
37
|
+
smMy?: string | import('../..').SpacingValue;
|
|
38
|
+
smMt?: string | import('../..').SpacingValue;
|
|
39
|
+
smMr?: string | import('../..').SpacingValue;
|
|
40
|
+
smMb?: string | import('../..').SpacingValue;
|
|
41
|
+
smMl?: string | import('../..').SpacingValue;
|
|
42
|
+
mdM?: string | import('../..').SpacingValue;
|
|
43
|
+
mdMx?: string | import('../..').SpacingValue;
|
|
44
|
+
mdMy?: string | import('../..').SpacingValue;
|
|
45
|
+
mdMt?: string | import('../..').SpacingValue;
|
|
46
|
+
mdMr?: string | import('../..').SpacingValue;
|
|
47
|
+
mdMb?: string | import('../..').SpacingValue;
|
|
48
|
+
mdMl?: string | import('../..').SpacingValue;
|
|
49
|
+
xsP?: string | import('../..').SpacingValue;
|
|
50
|
+
xsPx?: string | import('../..').SpacingValue;
|
|
51
|
+
xsPy?: string | import('../..').SpacingValue;
|
|
52
|
+
xsPt?: string | import('../..').SpacingValue;
|
|
53
|
+
xsPr?: string | import('../..').SpacingValue;
|
|
54
|
+
xsPb?: string | import('../..').SpacingValue;
|
|
55
|
+
xsPl?: string | import('../..').SpacingValue;
|
|
56
|
+
smP?: string | import('../..').SpacingValue;
|
|
57
|
+
smPx?: string | import('../..').SpacingValue;
|
|
58
|
+
smPy?: string | import('../..').SpacingValue;
|
|
59
|
+
smPt?: string | import('../..').SpacingValue;
|
|
60
|
+
smPr?: string | import('../..').SpacingValue;
|
|
61
|
+
smPb?: string | import('../..').SpacingValue;
|
|
62
|
+
smPl?: string | import('../..').SpacingValue;
|
|
63
|
+
mdP?: string | import('../..').SpacingValue;
|
|
64
|
+
mdPx?: string | import('../..').SpacingValue;
|
|
65
|
+
mdPy?: string | import('../..').SpacingValue;
|
|
66
|
+
mdPt?: string | import('../..').SpacingValue;
|
|
67
|
+
mdPr?: string | import('../..').SpacingValue;
|
|
68
|
+
mdPb?: string | import('../..').SpacingValue;
|
|
69
|
+
mdPl?: string | import('../..').SpacingValue;
|
|
70
|
+
hFull?: boolean;
|
|
71
|
+
wFull?: boolean;
|
|
72
|
+
w?: string | import('../..').SpacingValue;
|
|
73
|
+
h?: string | import('../..').SpacingValue;
|
|
74
|
+
maxH?: string | import('../..').SpacingValue;
|
|
75
|
+
maxW?: string | import('../..').SpacingValue;
|
|
76
|
+
minH?: string | import('../..').SpacingValue;
|
|
77
|
+
minW?: string | import('../..').SpacingValue;
|
|
78
|
+
xsW?: string | import('../..').SpacingValue;
|
|
79
|
+
smW?: string | import('../..').SpacingValue;
|
|
80
|
+
mdW?: string | import('../..').SpacingValue;
|
|
81
|
+
xsH?: string | import('../..').SpacingValue;
|
|
82
|
+
smH?: string | import('../..').SpacingValue;
|
|
83
|
+
mdH?: string | import('../..').SpacingValue;
|
|
84
|
+
xsMaxW?: string | import('../..').SpacingValue;
|
|
85
|
+
smMaxW?: string | import('../..').SpacingValue;
|
|
86
|
+
mdMaxW?: string | import('../..').SpacingValue;
|
|
87
|
+
xsMaxH?: string | import('../..').SpacingValue;
|
|
88
|
+
smMaxH?: string | import('../..').SpacingValue;
|
|
89
|
+
mdMaxH?: string | import('../..').SpacingValue;
|
|
90
|
+
bg?: string;
|
|
91
|
+
backgroundColor?: string;
|
|
92
|
+
color?: string;
|
|
93
|
+
borderRadius?: string | import('../..').SpacingValue;
|
|
94
|
+
borderColor?: string;
|
|
95
|
+
boxShadow?: string;
|
|
96
|
+
overflow?: "auto" | "scroll" | "hidden" | "clip" | "visible";
|
|
97
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky";
|
|
98
|
+
bottom?: string | number;
|
|
99
|
+
left?: string | number;
|
|
100
|
+
right?: string | number;
|
|
101
|
+
top?: string | number;
|
|
102
|
+
inset?: string | number;
|
|
103
|
+
zIndex?: number;
|
|
104
|
+
display?: string;
|
|
105
|
+
transition?: string;
|
|
106
|
+
transform?: string;
|
|
107
|
+
border?: string;
|
|
108
|
+
borderTop?: string;
|
|
109
|
+
borderRight?: string;
|
|
110
|
+
borderBottom?: string;
|
|
111
|
+
borderLeft?: string;
|
|
112
|
+
borderWidth?: string | import('../..').SpacingValue;
|
|
113
|
+
borderStyle?: "none" | "dashed" | "dotted" | "solid";
|
|
114
|
+
objectFit?: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
115
|
+
objectPosition?: string;
|
|
116
|
+
userSelect?: "none" | "text" | "all";
|
|
117
|
+
WebkitUserDrag?: "none" | "element";
|
|
118
|
+
aspectRatio?: string | number;
|
|
119
|
+
spin?: boolean;
|
|
120
|
+
} & import('../..').TypographyProps & Omit<any, "p" | "w" | "h" | "aspectRatio" | "pt" | "pl" | "my" | "color" | "children" | "transition" | "display" | "overflow" | "transform" | "as" | "border" | "backgroundColor" | "bottom" | "boxShadow" | "left" | "objectFit" | "objectPosition" | "position" | "right" | "top" | "userSelect" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "inset" | "data-testid" | "m" | "mx" | "mt" | "mr" | "mb" | "ml" | "px" | "py" | "pr" | "pb" | "xsM" | "xsMx" | "xsMy" | "xsMt" | "xsMr" | "xsMb" | "xsMl" | "smM" | "smMx" | "smMy" | "smMt" | "smMr" | "smMb" | "smMl" | "mdM" | "mdMx" | "mdMy" | "mdMt" | "mdMr" | "mdMb" | "mdMl" | "xsP" | "xsPx" | "xsPy" | "xsPt" | "xsPr" | "xsPb" | "xsPl" | "smP" | "smPx" | "smPy" | "smPt" | "smPr" | "smPb" | "smPl" | "mdP" | "mdPx" | "mdPy" | "mdPt" | "mdPr" | "mdPb" | "mdPl" | "hFull" | "wFull" | "maxH" | "maxW" | "minH" | "minW" | "xsW" | "smW" | "mdW" | "xsH" | "smH" | "mdH" | "xsMaxW" | "smMaxW" | "mdMaxW" | "xsMaxH" | "smMaxH" | "mdMaxH" | "bg" | "WebkitUserDrag" | "spin" | keyof import('../..').TypographyProps> & {
|
|
121
|
+
theme?: import('@emotion/react').Theme;
|
|
122
|
+
} & {
|
|
123
|
+
borderColor?: string;
|
|
124
|
+
variant?: 'primary' | 'link' | 'secondary';
|
|
125
|
+
isLoading?: boolean;
|
|
126
|
+
} & Omit<TextOwnProps<"button">, "as"> & {
|
|
127
|
+
tokens: Theme;
|
|
128
|
+
}, {}, {}>;
|
|
129
|
+
export declare const Button: FC<ButtonProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BoxOwnProps } from '../primitives';
|
|
2
|
+
export type ContainerProps = BoxOwnProps & {
|
|
3
|
+
showCloseButton?: boolean;
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const Container: ({ showCloseButton, onClose, children, hFull, position, p, px, py, pb, ...flexProps }: ContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Container;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { KeyboardEvent } from 'react';
|
|
2
|
+
type Option = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
type DropdownComposedProps = {
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
options: Option[];
|
|
12
|
+
error?: string;
|
|
13
|
+
helper?: string;
|
|
14
|
+
showErrorIcon?: boolean;
|
|
15
|
+
showHelperIcon?: boolean;
|
|
16
|
+
tabIndex?: number;
|
|
17
|
+
onKeyDown?: (e: KeyboardEvent<HTMLButtonElement>) => void;
|
|
18
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
19
|
+
};
|
|
20
|
+
export declare const DropdownComposed: import('react').ForwardRefExoticComponent<DropdownComposedProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { CloseButtonOptions } from './Page';
|
|
3
|
+
type InputComposedOwnProps = {
|
|
4
|
+
label?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
helper?: string;
|
|
8
|
+
showErrorIcon?: boolean;
|
|
9
|
+
showHelperIcon?: boolean;
|
|
10
|
+
closeButton?: CloseButtonOptions;
|
|
11
|
+
};
|
|
12
|
+
type InputComposedProps = ComponentPropsWithRef<'input'> & InputComposedOwnProps;
|
|
13
|
+
export declare const InputComposed: import('react').ForwardRefExoticComponent<Omit<InputComposedProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type LottieProps = {
|
|
3
|
+
animationData: any;
|
|
4
|
+
loop?: boolean;
|
|
5
|
+
autoplay?: boolean;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onComplete?: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare function Lottie({ animationData, loop, autoplay, style, onComplete, }: LottieProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type ModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
'aria-labelledby'?: string;
|
|
7
|
+
bg?: string;
|
|
8
|
+
fullScreen?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const Modal: FC<ModalProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SpacingValue } from '../../utils/spacing';
|
|
3
|
+
export type CloseButtonOptions = {
|
|
4
|
+
show?: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
color?: string;
|
|
7
|
+
position?: 'left' | 'right';
|
|
8
|
+
offset?: SpacingValue | string;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export type PageProps = {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
p?: SpacingValue;
|
|
14
|
+
px?: SpacingValue;
|
|
15
|
+
py?: SpacingValue;
|
|
16
|
+
pb?: SpacingValue;
|
|
17
|
+
bg?: string;
|
|
18
|
+
title?: string;
|
|
19
|
+
subtitle?: string;
|
|
20
|
+
maxW?: string;
|
|
21
|
+
maxH?: string;
|
|
22
|
+
absoluteHeader?: boolean;
|
|
23
|
+
logo?: {
|
|
24
|
+
src?: string;
|
|
25
|
+
height?: SpacingValue | string;
|
|
26
|
+
};
|
|
27
|
+
hideFooterBranding?: boolean;
|
|
28
|
+
hideHeaderBranding?: boolean;
|
|
29
|
+
closeButton?: CloseButtonOptions;
|
|
30
|
+
'data-testid'?: string;
|
|
31
|
+
position?: 'relative' | 'absolute';
|
|
32
|
+
};
|
|
33
|
+
export declare const Page: ({ children, title, subtitle, px, py, p, bg, maxW, maxH, logo, hideFooterBranding, hideHeaderBranding, closeButton, "data-testid": dataTestId, position, }: PageProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export default Page;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
type PhoneInputOwnProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
helper?: string;
|
|
5
|
+
showHelperIcon?: boolean;
|
|
6
|
+
countryISOCode: any;
|
|
7
|
+
onChange?: (fullNumber: string, isValid: boolean) => void;
|
|
8
|
+
};
|
|
9
|
+
type PhoneInputProps = Omit<ComponentPropsWithRef<'input'>, 'onChange'> & PhoneInputOwnProps;
|
|
10
|
+
export declare const PhoneInput: import('react').ForwardRefExoticComponent<Omit<PhoneInputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type LoaderProps = {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
fullScreen?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const Spinner: ({ open, title, subtitle, className, fullScreen, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { createTokens } from '../../utils/createTokens';
|
|
3
|
+
export type CustomPrimitives = Parameters<typeof createTokens>[0];
|
|
4
|
+
export type ThemeProviderProps = {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
tokens?: CustomPrimitives;
|
|
7
|
+
};
|
|
8
|
+
export declare const ThemeProvider: ({ children, tokens: customTokens, }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ThemeProvider;
|