groovinads-ui 1.9.844 → 1.9.846
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 +4 -1
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/index.d.ts +12 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface ButtonProps {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
endIcon?: string;
|
|
12
|
+
hideLabelOnDesktop?: boolean;
|
|
12
13
|
hideLabelOnMobile?: boolean;
|
|
13
14
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
14
15
|
processing?: boolean;
|
|
@@ -32,10 +33,20 @@ export interface DropdownComponentProps {
|
|
|
32
33
|
disabled?: boolean;
|
|
33
34
|
drop?: 'up' | 'down' | 'start' | 'end';
|
|
34
35
|
fullWidth?: boolean;
|
|
36
|
+
icon?: string;
|
|
37
|
+
isChild?: boolean;
|
|
38
|
+
label?: ReactNode;
|
|
35
39
|
onToggle?: (show: boolean) => void;
|
|
36
40
|
overflow?: boolean;
|
|
41
|
+
processing?: boolean;
|
|
42
|
+
requiredText?: string;
|
|
43
|
+
selectedValue?: ReactNode;
|
|
37
44
|
setShow?: Dispatch<SetStateAction<boolean>>;
|
|
38
45
|
show?: boolean;
|
|
46
|
+
showError?: boolean;
|
|
47
|
+
size?: 'xs' | 'md' | 'lg';
|
|
48
|
+
style?: 'default' | 'success' | 'danger' | 'warning' | 'link';
|
|
49
|
+
variant?: 'primary' | 'secondary' | 'terciary' | 'outline' | 'input';
|
|
39
50
|
}
|
|
40
51
|
|
|
41
52
|
export const DropdownComponent: React.FC<DropdownComponentProps>;
|
|
@@ -219,6 +230,7 @@ export interface InputChipProps {
|
|
|
219
230
|
counter?: boolean;
|
|
220
231
|
disabled?: boolean;
|
|
221
232
|
duplicateKeywordErrorText?: string;
|
|
233
|
+
helpText?: string;
|
|
222
234
|
keywordsList: string[];
|
|
223
235
|
maxKeywords: number;
|
|
224
236
|
maxKeywordLength: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groovinads-ui",
|
|
3
3
|
"description": "Groovinads UI is a React component library designed exclusively for Groovinads applications. It provides ready-to-use UI elements styled according to Groovinads design guidelines to facilitate rapid development.",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.846",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"css",
|