@televet/kibble-ui 1.7.0 → 1.7.1-beta.3yp84vd.0
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/DataDisplay/NotificationCounter/notificationCounter.component.d.ts +0 -1
- package/build/components/Forms/FormControl/formControl.argTypes.d.ts +25 -0
- package/build/components/Forms/FormControl/formControl.component.d.ts +3 -0
- package/build/components/Forms/RatingDots/ratingDot.component.d.ts +0 -1
- package/build/components/Forms/RatingDots/ratingDots.component.d.ts +0 -1
- package/build/components/MediaAndIcons/Avatar/avatar.component.d.ts +3 -3
- package/build/components/MediaAndIcons/AvatarGroup/avatarGroup.component.d.ts +0 -1
- package/build/components/MediaAndIcons/Logo/logo.component.d.ts +0 -1
- package/build/components/Overlay/Menu/Components/MenuList/menuList.component.d.ts +0 -1
- package/build/components/Overlay/Menu/Components/MenuOptionGroup/menuOptionGroup.component.d.ts +0 -1
- package/build/components/Overlay/Menu/Components/MenuSelectAllButtons/menuSelectAllButtons.component.d.ts +0 -1
- package/build/components/Overlay/Tooltip/tooltip.component.d.ts +0 -1
- package/build/index.js +2609 -13
- package/build/index.js.map +1 -1
- package/build/providers/ThemeProvider/index.d.ts +4 -0
- package/build/providers/index.d.ts +1 -0
- package/build/shared/types.d.ts +1 -0
- package/build/theme/theme.provider.d.ts +1 -0
- package/build/theme/tokens/colors/colors.d.ts +0 -1
- package/build/theme/tokens/shadows/shadows.d.ts +0 -1
- package/build/theme/tokens/shadows.d.ts +14 -0
- package/package.json +3 -2
|
@@ -39,6 +39,19 @@ export declare const formControlArgTypes: {
|
|
|
39
39
|
type: {
|
|
40
40
|
name: string;
|
|
41
41
|
};
|
|
42
|
+
table: {
|
|
43
|
+
type: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
helperTextAlignment: {
|
|
49
|
+
control: string;
|
|
50
|
+
options: string[];
|
|
51
|
+
defaultValue: string;
|
|
52
|
+
type: {
|
|
53
|
+
name: string;
|
|
54
|
+
};
|
|
42
55
|
table: {
|
|
43
56
|
type: {
|
|
44
57
|
summary: string;
|
|
@@ -57,6 +70,9 @@ export declare const formControlArgTypes: {
|
|
|
57
70
|
type: {
|
|
58
71
|
summary: string;
|
|
59
72
|
};
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
60
76
|
};
|
|
61
77
|
};
|
|
62
78
|
isDisabled: {
|
|
@@ -122,4 +138,13 @@ export declare const formControlArgTypes: {
|
|
|
122
138
|
};
|
|
123
139
|
defaultValue: boolean;
|
|
124
140
|
};
|
|
141
|
+
labelStyle: {
|
|
142
|
+
type: string;
|
|
143
|
+
description: string;
|
|
144
|
+
table: {
|
|
145
|
+
type: {
|
|
146
|
+
summary: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
125
150
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Dict } from 'shared/types';
|
|
2
3
|
export interface WithFormControlProps {
|
|
3
4
|
errorText?: string;
|
|
4
5
|
helperText?: string;
|
|
@@ -8,5 +9,7 @@ export interface WithFormControlProps {
|
|
|
8
9
|
isReadOnly?: boolean;
|
|
9
10
|
isRequired?: boolean;
|
|
10
11
|
label?: string;
|
|
12
|
+
labelStyle?: Dict;
|
|
13
|
+
helperTextAlignment?: 'start' | 'end';
|
|
11
14
|
}
|
|
12
15
|
export declare function withFormControl<P extends object>(Component: React.ComponentType<P>): React.FC<P & WithFormControlProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarProps as CAvatarProps, Placement } from '@chakra-ui/react';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
2
|
+
import React, { CSSProperties } from 'react';
|
|
3
3
|
import { AvatarSize } from './avatar.types';
|
|
4
4
|
export declare enum AvatarVariant {
|
|
5
5
|
Green = "green",
|
|
@@ -17,9 +17,9 @@ export interface AvatarProps extends CAvatarProps {
|
|
|
17
17
|
showTooltip?: boolean;
|
|
18
18
|
tooltipPlacement?: Placement;
|
|
19
19
|
style?: CSSProperties;
|
|
20
|
-
handleClick?:
|
|
20
|
+
handleClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
21
21
|
showRemoveButton?: boolean;
|
|
22
|
-
handleRemoveButtonClick?:
|
|
22
|
+
handleRemoveButtonClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
23
23
|
variant?: AvatarVariant;
|
|
24
24
|
tooltipText?: string;
|
|
25
25
|
}
|