@televet/kibble-ui 1.3.2-release.1 → 1.3.2
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/build/components/Forms/Textarea/index.d.ts +1 -0
- package/build/components/Forms/Textarea/textarea.component.d.ts +3 -5
- package/build/components/Forms/index.d.ts +0 -4
- package/build/components/index.d.ts +0 -1
- package/build/index.js +28 -2374
- package/build/index.js.map +1 -1
- package/build/theme/theme.types.d.ts +2 -4
- package/package.json +1 -1
- package/build/components/Avatar/avatar.component.d.ts +0 -26
- package/build/components/Avatar/avatar.config.d.ts +0 -2
- package/build/components/Avatar/avatar.types.d.ts +0 -1
- package/build/components/Avatar/index.d.ts +0 -3
- package/build/components/AvatarGroup/avatarGroup.component.d.ts +0 -13
- package/build/components/AvatarGroup/avatarGroup.utilities.d.ts +0 -6
- package/build/components/AvatarGroup/index.d.ts +0 -1
- package/build/components/Button/button.component.d.ts +0 -13
- package/build/components/Button/button.config.d.ts +0 -16
- package/build/components/Button/button.model.d.ts +0 -5
- package/build/components/Button/button.records.d.ts +0 -2
- package/build/components/Button/button.types.d.ts +0 -8
- package/build/components/Button/index.d.ts +0 -3
- package/build/components/DataDisplay/Badge/index.d.ts +0 -1
- package/build/components/DataDisplay/Code/index.d.ts +0 -1
- package/build/components/DataDisplay/Divider/index.d.ts +0 -1
- package/build/components/DataDisplay/Kbd/index.d.ts +0 -1
- package/build/components/DataDisplay/List/index.d.ts +0 -1
- package/build/components/DataDisplay/Tag/index.d.ts +0 -1
- package/build/components/Disclosure/Accordion/index.d.ts +0 -1
- package/build/components/Disclosure/Tabs/index.d.ts +0 -1
- package/build/components/Disclosure/VisuallyHidden/index.d.ts +0 -1
- package/build/components/Disclosure/index.d.ts +0 -3
- package/build/components/Drawer/drawer.config.d.ts +0 -13
- package/build/components/Drawer/drawer.records.d.ts +0 -13
- package/build/components/Drawer/index.d.ts +0 -1
- package/build/components/Feedback/Alert/index.d.ts +0 -1
- package/build/components/Feedback/CircularProgress/index.d.ts +0 -1
- package/build/components/Feedback/Progress/index.d.ts +0 -1
- package/build/components/Feedback/Skeleton/index.d.ts +0 -1
- package/build/components/Feedback/Spinner/index.d.ts +0 -1
- package/build/components/Feedback/Toast/index.d.ts +0 -1
- package/build/components/Feedback/index.d.ts +0 -6
- package/build/components/FormControl/formControl.argTypes.d.ts +0 -125
- package/build/components/FormControl/formControl.component.d.ts +0 -12
- package/build/components/FormControl/formControl.config.d.ts +0 -2
- package/build/components/Forms/FormControl/formControl.argTypes.d.ts +0 -125
- package/build/components/Forms/FormControl/formControl.component.d.ts +0 -12
- package/build/components/Forms/FormControl/formControl.config.d.ts +0 -2
- package/build/components/Forms/RatingDots/index.d.ts +0 -2
- package/build/components/Forms/RatingDots/ratingDot.component.d.ts +0 -9
- package/build/components/Forms/RatingDots/ratingDots.component.d.ts +0 -10
- package/build/components/Forms/Select/index.d.ts +0 -3
- package/build/components/Forms/Select/select.component.d.ts +0 -9
- package/build/components/Forms/Select/select.config.d.ts +0 -2
- package/build/components/Forms/Select/select.types.d.ts +0 -4
- package/build/components/Forms/Switch/index.d.ts +0 -2
- package/build/components/Forms/Switch/switch.component.d.ts +0 -7
- package/build/components/Forms/Switch/switch.config.d.ts +0 -2
- package/build/components/Forms/TextInput/index.d.ts +0 -2
- package/build/components/Forms/TextInput/textInput.component.d.ts +0 -9
- package/build/components/Forms/TextInput/textInput.config.d.ts +0 -2
- package/build/components/Icon/icon.component.d.ts +0 -8
- package/build/components/Icon/icon.config.d.ts +0 -3
- package/build/components/Icon/icon.records.d.ts +0 -3
- package/build/components/Icon/icon.types.d.ts +0 -3
- package/build/components/Icon/index.d.ts +0 -2
- package/build/components/Logo/index.d.ts +0 -2
- package/build/components/Logo/logo.component.d.ts +0 -14
- package/build/components/Logo/logo.config.d.ts +0 -6
- package/build/components/Logo/logo.records.d.ts +0 -33
- package/build/components/Logo/logo.types.d.ts +0 -3
- package/build/components/Logo/logos.d.ts +0 -22
- package/build/components/Media/Icon/icon.component.d.ts +0 -8
- package/build/components/Media/Icon/icon.records.d.ts +0 -3
- package/build/components/Media/Icon/icon.types.d.ts +0 -3
- package/build/components/Media/Icon/index.d.ts +0 -2
- package/build/components/Media/Logo/index.d.ts +0 -2
- package/build/components/Media/Logo/logo.component.d.ts +0 -14
- package/build/components/Media/Logo/logo.config.d.ts +0 -6
- package/build/components/Media/Logo/logo.types.d.ts +0 -3
- package/build/components/Media/Logo/logos.d.ts +0 -22
- package/build/components/Navigation/Breadcrumb/index.d.ts +0 -1
- package/build/components/Navigation/Link/index.d.ts +0 -1
- package/build/components/Navigation/LinkOverlay/index.d.ts +0 -1
- package/build/components/Navigation/index.d.ts +0 -3
- package/build/components/Overlay/AlertDialog/index.d.ts +0 -1
- package/build/components/Overlay/Menu/index.d.ts +0 -1
- package/build/components/RatingDots/index.d.ts +0 -2
- package/build/components/RatingDots/ratingDot.component.d.ts +0 -9
- package/build/components/RatingDots/ratingDots.component.d.ts +0 -10
- package/build/components/Select/index.d.ts +0 -3
- package/build/components/Select/select.component.d.ts +0 -9
- package/build/components/Select/select.config.d.ts +0 -2
- package/build/components/Select/select.types.d.ts +0 -4
- package/build/components/Switch/index.d.ts +0 -2
- package/build/components/Switch/switch.component.d.ts +0 -7
- package/build/components/Switch/switch.config.d.ts +0 -2
- package/build/components/TextInput/index.d.ts +0 -2
- package/build/components/TextInput/textInput.component.d.ts +0 -9
- package/build/components/TextInput/textInput.config.d.ts +0 -2
- package/build/components/Textarea/index.d.ts +0 -2
- package/build/components/Textarea/textarea.component.d.ts +0 -7
- package/build/components/Textarea/textarea.config.d.ts +0 -2
- package/build/components/Textarea/textarea.types.d.ts +0 -2
- package/build/components/Tooltip/index.d.ts +0 -3
- package/build/components/Tooltip/tooltip.component.d.ts +0 -8
- package/build/components/Tooltip/tooltip.config.d.ts +0 -8
- package/build/components/Tooltip/tooltip.model.d.ts +0 -4
- package/build/components/Tooltip/tooltip.records.d.ts +0 -9
- package/build/components/Tooltip/tooltip.types.d.ts +0 -4
- package/build/components/Typography/Heading/heading.records.d.ts +0 -2
- package/build/components/Typography/Text/text.records.d.ts +0 -2
- package/build/shared/interfaces/SelectOption.d.ts +0 -4
- package/build/theme/theme.model.d.ts +0 -37
- package/build/theme/theme.record.d.ts +0 -2
- package/build/theme/tokens/colors/color.model.d.ts +0 -96
- package/build/theme/tokens/colors/color.type.d.ts +0 -102
- package/build/theme/tokens/colors.d.ts +0 -82
|
@@ -26,13 +26,11 @@ export interface Theme {
|
|
|
26
26
|
useSystemColorMode: boolean;
|
|
27
27
|
};
|
|
28
28
|
components: {
|
|
29
|
-
Button: ButtonStyleType;
|
|
30
29
|
Drawer: ComponentStyleConfig;
|
|
30
|
+
Textarea: ComponentStyleConfig;
|
|
31
31
|
Heading: HeadingStyleConfig;
|
|
32
|
-
Select: ComponentStyleConfig;
|
|
33
|
-
Switch: ComponentStyleConfig;
|
|
34
32
|
Text: ComponentStyleConfig;
|
|
35
|
-
|
|
33
|
+
Button: ButtonStyleType;
|
|
36
34
|
Tooltip: TooltipStyleConfig;
|
|
37
35
|
Avatar: ComponentStyleConfig;
|
|
38
36
|
};
|
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AvatarProps as CAvatarProps, Placement } from '@chakra-ui/react';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
import { AvatarSize } from './avatar.types';
|
|
4
|
-
export declare enum AvatarVariant {
|
|
5
|
-
Green = "green",
|
|
6
|
-
Red = "red",
|
|
7
|
-
Blue = "blue",
|
|
8
|
-
Comet = "comet",
|
|
9
|
-
Number = "number",
|
|
10
|
-
Dashed = "dashed",
|
|
11
|
-
Image = "image"
|
|
12
|
-
}
|
|
13
|
-
export interface AvatarProps extends CAvatarProps {
|
|
14
|
-
name: string;
|
|
15
|
-
size?: AvatarSize;
|
|
16
|
-
isClinic?: boolean;
|
|
17
|
-
showTooltip?: boolean;
|
|
18
|
-
tooltipPlacement?: Placement;
|
|
19
|
-
style?: CSSProperties;
|
|
20
|
-
handleClick?: () => void;
|
|
21
|
-
showRemoveButton?: boolean;
|
|
22
|
-
handleRemoveButtonClick?: () => void;
|
|
23
|
-
variant?: AvatarVariant;
|
|
24
|
-
tooltipText?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare const Avatar: ({ name, src, isClinic, size, showTooltip, tooltipPlacement, style, handleClick, showRemoveButton, handleRemoveButtonClick, variant, tooltipText, ...rest }: AvatarProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AvatarProps, AvatarSize } from 'components/Avatar';
|
|
3
|
-
export interface AvatarGroupProps {
|
|
4
|
-
avatars: AvatarProps[];
|
|
5
|
-
max?: number;
|
|
6
|
-
size?: AvatarSize;
|
|
7
|
-
handleAddButtonClick?: () => void;
|
|
8
|
-
showAddButton?: boolean;
|
|
9
|
-
addButtonTooltipText?: string;
|
|
10
|
-
showRemoveAvatarButton?: boolean;
|
|
11
|
-
handleRemoveButtonClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const AvatarGroup: ({ avatars, max, size, handleAddButtonClick, showAddButton, addButtonTooltipText, showRemoveAvatarButton, handleRemoveButtonClick, }: AvatarGroupProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './avatarGroup.component';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
|
|
3
|
-
import { IconName } from '../Icon';
|
|
4
|
-
import { ButtonSizeType, ButtonVariantType } from './button.types';
|
|
5
|
-
export interface ButtonProps extends ChakraButtonProps {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
variant?: ButtonVariantType;
|
|
8
|
-
size?: ButtonSizeType;
|
|
9
|
-
iconName?: IconName;
|
|
10
|
-
iconPosition?: 'left' | 'right';
|
|
11
|
-
darkMode?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ButtonStyleType } from './button.types';
|
|
2
|
-
export declare const ButtonVariantConfig: ButtonStyleType;
|
|
3
|
-
export declare const ButtonSizeConfig: {
|
|
4
|
-
lg: {
|
|
5
|
-
p: string;
|
|
6
|
-
};
|
|
7
|
-
md: {
|
|
8
|
-
p: string;
|
|
9
|
-
};
|
|
10
|
-
sm: {
|
|
11
|
-
p: string;
|
|
12
|
-
};
|
|
13
|
-
xs: {
|
|
14
|
-
p: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AdaptiveColorMap } from '../../theme/tokens';
|
|
2
|
-
export interface ButtonVariantConfigType extends AdaptiveColorMap<ButtonColorOptionsType> {
|
|
3
|
-
variant: 'solid' | 'outline' | 'ghost';
|
|
4
|
-
}
|
|
5
|
-
export declare type ButtonVariantType = 'primary' | 'primaryDestructive' | 'secondary' | 'secondaryDestructive' | 'secondarySubtle' | 'secondarySubtleDestructive' | 'tertiary' | 'tertiaryDestructive' | 'ghost' | 'ghostNeutral' | 'ghostDestructive';
|
|
6
|
-
export declare type ButtonColorOptionsType = 'content' | 'default' | 'hover' | 'active' | 'border';
|
|
7
|
-
export declare type ButtonSizeType = 'xs' | 'sm' | 'md' | 'lg';
|
|
8
|
-
export declare type ButtonStyleType = Record<ButtonVariantType, ButtonVariantConfigType>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Badge } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Code } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Divider } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Kbd } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { List, ListIcon, ListItem, OrderedList, UnorderedList } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tag, TagLabel, TagLeftIcon, TagRightIcon, TagCloseButton } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Accordion, AccordionItem, AccordionButton, AccordionPanel, AccordionIcon } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tabs, TabList, TabPanels, Tab, TabPanel } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VisuallyHidden, VisuallyHiddenInput } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './drawer.config';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Alert, AlertIcon, AlertTitle, AlertDescription } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CircularProgress, CircularProgressLabel } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Progress } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Skeleton, SkeletonCircle, SkeletonText } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Spinner } from '@chakra-ui/react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useToast } from '@chakra-ui/react';
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
export declare const formControlArgTypes: {
|
|
2
|
-
onChange: {
|
|
3
|
-
type: {
|
|
4
|
-
required: boolean;
|
|
5
|
-
};
|
|
6
|
-
table: {
|
|
7
|
-
type: {
|
|
8
|
-
summary: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
control: string;
|
|
14
|
-
description: string;
|
|
15
|
-
options: string[];
|
|
16
|
-
table: {
|
|
17
|
-
type: {
|
|
18
|
-
summary: string;
|
|
19
|
-
};
|
|
20
|
-
defaultValue: {
|
|
21
|
-
summary: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
defaultValue: string;
|
|
25
|
-
};
|
|
26
|
-
label: {
|
|
27
|
-
control: string;
|
|
28
|
-
type: {
|
|
29
|
-
name: string;
|
|
30
|
-
};
|
|
31
|
-
table: {
|
|
32
|
-
type: {
|
|
33
|
-
summary: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
helperText: {
|
|
38
|
-
control: string;
|
|
39
|
-
type: {
|
|
40
|
-
name: string;
|
|
41
|
-
};
|
|
42
|
-
table: {
|
|
43
|
-
type: {
|
|
44
|
-
summary: string;
|
|
45
|
-
};
|
|
46
|
-
defaultValue: {
|
|
47
|
-
summary: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
errorText: {
|
|
52
|
-
control: string;
|
|
53
|
-
type: {
|
|
54
|
-
name: string;
|
|
55
|
-
};
|
|
56
|
-
table: {
|
|
57
|
-
type: {
|
|
58
|
-
summary: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
isDisabled: {
|
|
63
|
-
type: string;
|
|
64
|
-
description: string;
|
|
65
|
-
table: {
|
|
66
|
-
type: {
|
|
67
|
-
summary: string;
|
|
68
|
-
};
|
|
69
|
-
defaultValue: {
|
|
70
|
-
summary: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
defaultValue: boolean;
|
|
74
|
-
};
|
|
75
|
-
isInvalid: {
|
|
76
|
-
type: string;
|
|
77
|
-
description: string;
|
|
78
|
-
table: {
|
|
79
|
-
type: {
|
|
80
|
-
summary: string;
|
|
81
|
-
};
|
|
82
|
-
defaultValue: {
|
|
83
|
-
summary: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
defaultValue: boolean;
|
|
87
|
-
};
|
|
88
|
-
isReadOnly: {
|
|
89
|
-
type: string;
|
|
90
|
-
table: {
|
|
91
|
-
type: {
|
|
92
|
-
summary: string;
|
|
93
|
-
};
|
|
94
|
-
defaultValue: {
|
|
95
|
-
summary: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
defaultValue: boolean;
|
|
99
|
-
};
|
|
100
|
-
isRequired: {
|
|
101
|
-
type: string;
|
|
102
|
-
description: string;
|
|
103
|
-
table: {
|
|
104
|
-
type: {
|
|
105
|
-
summary: string;
|
|
106
|
-
};
|
|
107
|
-
defaultValue: {
|
|
108
|
-
summary: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
defaultValue: boolean;
|
|
112
|
-
};
|
|
113
|
-
autoFocus: {
|
|
114
|
-
type: string;
|
|
115
|
-
table: {
|
|
116
|
-
type: {
|
|
117
|
-
summary: string;
|
|
118
|
-
};
|
|
119
|
-
defaultValue: {
|
|
120
|
-
summary: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
defaultValue: boolean;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface WithFormControlProps {
|
|
3
|
-
label?: string;
|
|
4
|
-
errorText?: string;
|
|
5
|
-
helperText?: string;
|
|
6
|
-
isInvalid?: boolean;
|
|
7
|
-
isRequired?: boolean;
|
|
8
|
-
isReadOnly?: boolean;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function withFormControl<P extends object>(Component: React.ComponentType<P>): React.FC<P & WithFormControlProps>;
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
export declare const formControlArgTypes: {
|
|
2
|
-
onChange: {
|
|
3
|
-
type: {
|
|
4
|
-
required: boolean;
|
|
5
|
-
};
|
|
6
|
-
table: {
|
|
7
|
-
type: {
|
|
8
|
-
summary: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
control: string;
|
|
14
|
-
description: string;
|
|
15
|
-
options: string[];
|
|
16
|
-
table: {
|
|
17
|
-
type: {
|
|
18
|
-
summary: string;
|
|
19
|
-
};
|
|
20
|
-
defaultValue: {
|
|
21
|
-
summary: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
defaultValue: string;
|
|
25
|
-
};
|
|
26
|
-
label: {
|
|
27
|
-
control: string;
|
|
28
|
-
type: {
|
|
29
|
-
name: string;
|
|
30
|
-
};
|
|
31
|
-
table: {
|
|
32
|
-
type: {
|
|
33
|
-
summary: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
helperText: {
|
|
38
|
-
control: string;
|
|
39
|
-
type: {
|
|
40
|
-
name: string;
|
|
41
|
-
};
|
|
42
|
-
table: {
|
|
43
|
-
type: {
|
|
44
|
-
summary: string;
|
|
45
|
-
};
|
|
46
|
-
defaultValue: {
|
|
47
|
-
summary: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
errorText: {
|
|
52
|
-
control: string;
|
|
53
|
-
type: {
|
|
54
|
-
name: string;
|
|
55
|
-
};
|
|
56
|
-
table: {
|
|
57
|
-
type: {
|
|
58
|
-
summary: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
isDisabled: {
|
|
63
|
-
type: string;
|
|
64
|
-
description: string;
|
|
65
|
-
table: {
|
|
66
|
-
type: {
|
|
67
|
-
summary: string;
|
|
68
|
-
};
|
|
69
|
-
defaultValue: {
|
|
70
|
-
summary: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
defaultValue: boolean;
|
|
74
|
-
};
|
|
75
|
-
isInvalid: {
|
|
76
|
-
type: string;
|
|
77
|
-
description: string;
|
|
78
|
-
table: {
|
|
79
|
-
type: {
|
|
80
|
-
summary: string;
|
|
81
|
-
};
|
|
82
|
-
defaultValue: {
|
|
83
|
-
summary: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
defaultValue: boolean;
|
|
87
|
-
};
|
|
88
|
-
isReadOnly: {
|
|
89
|
-
type: string;
|
|
90
|
-
table: {
|
|
91
|
-
type: {
|
|
92
|
-
summary: string;
|
|
93
|
-
};
|
|
94
|
-
defaultValue: {
|
|
95
|
-
summary: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
defaultValue: boolean;
|
|
99
|
-
};
|
|
100
|
-
isRequired: {
|
|
101
|
-
type: string;
|
|
102
|
-
description: string;
|
|
103
|
-
table: {
|
|
104
|
-
type: {
|
|
105
|
-
summary: string;
|
|
106
|
-
};
|
|
107
|
-
defaultValue: {
|
|
108
|
-
summary: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
defaultValue: boolean;
|
|
112
|
-
};
|
|
113
|
-
autoFocus: {
|
|
114
|
-
type: string;
|
|
115
|
-
table: {
|
|
116
|
-
type: {
|
|
117
|
-
summary: string;
|
|
118
|
-
};
|
|
119
|
-
defaultValue: {
|
|
120
|
-
summary: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
defaultValue: boolean;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface WithFormControlProps {
|
|
3
|
-
errorText?: string;
|
|
4
|
-
helperText?: string;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
isFieldInline?: boolean;
|
|
7
|
-
isInvalid?: boolean;
|
|
8
|
-
isReadOnly?: boolean;
|
|
9
|
-
isRequired?: boolean;
|
|
10
|
-
label?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function withFormControl<P extends object>(Component: React.ComponentType<P>): React.FC<P & WithFormControlProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IRatingDotProps {
|
|
3
|
-
number: number;
|
|
4
|
-
isInteractive?: boolean;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
onClick?: (value: number) => void;
|
|
7
|
-
selected: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const RatingDot: ({ number, isInteractive, isDisabled, onClick, selected }: IRatingDotProps) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IRatingDotsProps {
|
|
3
|
-
minValue: number;
|
|
4
|
-
maxValue: number;
|
|
5
|
-
isInteractive?: boolean;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
onClick?: (value: number) => void;
|
|
8
|
-
selected?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const RatingDots: ({ minValue, maxValue, isDisabled, isInteractive, onClick, selected, }: IRatingDotsProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectProps as CSelectProps } from '@chakra-ui/react';
|
|
3
|
-
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
|
-
import { SelectOptionProps } from './select.types';
|
|
5
|
-
export interface SelectProps extends WithFormControlProps, CSelectProps {
|
|
6
|
-
options: SelectOptionProps[];
|
|
7
|
-
}
|
|
8
|
-
declare const WrappedSelect: React.FC<SelectProps & WithFormControlProps>;
|
|
9
|
-
export { WrappedSelect as Select };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SwitchProps as CSwitchProps } from '@chakra-ui/react';
|
|
3
|
-
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
|
-
export interface SwitchProps extends WithFormControlProps, CSwitchProps {
|
|
5
|
-
}
|
|
6
|
-
declare const WrappedSwitch: React.FC<SwitchProps & WithFormControlProps>;
|
|
7
|
-
export { WrappedSwitch as Switch };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
import { InputProps as CInputProps } from '@chakra-ui/react';
|
|
3
|
-
import { WithFormControlProps } from 'components/Forms/FormControl/formControl.component';
|
|
4
|
-
export interface TextInputProps extends WithFormControlProps, CInputProps {
|
|
5
|
-
leftElement?: ReactElement;
|
|
6
|
-
rightElement?: ReactElement;
|
|
7
|
-
}
|
|
8
|
-
declare const WrappedTextInput: React.FC<TextInputProps & WithFormControlProps>;
|
|
9
|
-
export { WrappedTextInput as TextInput };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconColor, IconName, IconsSize } from './icon.types';
|
|
3
|
-
export interface IconProps {
|
|
4
|
-
name: IconName;
|
|
5
|
-
size?: IconsSize;
|
|
6
|
-
color?: IconColor;
|
|
7
|
-
}
|
|
8
|
-
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<any>>;
|