@mindly/ui-components 5.82.2 → 5.83.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/dist/cjs/index.js +2 -2
- package/dist/cjs/lib2/shared/ui/ListItems/Item.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/ListItems/styles.d.ts +28 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/shared/ui/ListItems/Item.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/ListItems/styles.d.ts +28 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5,7 +5,9 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
|
5
5
|
innerItemClassName?: string;
|
|
6
6
|
withBorders?: boolean;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
|
+
/** @deprecated Use `status` instead */
|
|
8
9
|
isError?: boolean;
|
|
10
|
+
status?: 'error' | 'attention';
|
|
9
11
|
};
|
|
10
12
|
export declare const Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLIonItemElement> & {
|
|
11
13
|
leftContent?: React.ReactNode;
|
|
@@ -13,7 +15,9 @@ export declare const Item: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
|
13
15
|
innerItemClassName?: string | undefined;
|
|
14
16
|
withBorders?: boolean | undefined;
|
|
15
17
|
isDisabled?: boolean | undefined;
|
|
18
|
+
/** @deprecated Use `status` instead */
|
|
16
19
|
isError?: boolean | undefined;
|
|
20
|
+
status?: "error" | "attention" | undefined;
|
|
17
21
|
} & React.RefAttributes<HTMLIonItemElement>>;
|
|
18
22
|
declare const _default: React.NamedExoticComponent<ItemProps>;
|
|
19
23
|
export default _default;
|
|
@@ -5,6 +5,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
isDisabled: {
|
|
6
6
|
true: "";
|
|
7
7
|
};
|
|
8
|
+
status: {
|
|
9
|
+
error: "";
|
|
10
|
+
attention: "";
|
|
11
|
+
};
|
|
8
12
|
}, {
|
|
9
13
|
items: string;
|
|
10
14
|
item: string;
|
|
@@ -18,6 +22,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
18
22
|
isDisabled: {
|
|
19
23
|
true: "";
|
|
20
24
|
};
|
|
25
|
+
status: {
|
|
26
|
+
error: "";
|
|
27
|
+
attention: "";
|
|
28
|
+
};
|
|
21
29
|
}, {
|
|
22
30
|
withBorders: {
|
|
23
31
|
true: "";
|
|
@@ -25,6 +33,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
25
33
|
isDisabled: {
|
|
26
34
|
true: "";
|
|
27
35
|
};
|
|
36
|
+
status: {
|
|
37
|
+
error: "";
|
|
38
|
+
attention: "";
|
|
39
|
+
};
|
|
28
40
|
}>, {
|
|
29
41
|
withBorders: {
|
|
30
42
|
true: "";
|
|
@@ -32,6 +44,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
32
44
|
isDisabled: {
|
|
33
45
|
true: "";
|
|
34
46
|
};
|
|
47
|
+
status: {
|
|
48
|
+
error: "";
|
|
49
|
+
attention: "";
|
|
50
|
+
};
|
|
35
51
|
}, {
|
|
36
52
|
items: string;
|
|
37
53
|
item: string;
|
|
@@ -45,6 +61,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
45
61
|
isDisabled: {
|
|
46
62
|
true: "";
|
|
47
63
|
};
|
|
64
|
+
status: {
|
|
65
|
+
error: "";
|
|
66
|
+
attention: "";
|
|
67
|
+
};
|
|
48
68
|
}, {
|
|
49
69
|
items: string;
|
|
50
70
|
item: string;
|
|
@@ -58,6 +78,10 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
58
78
|
isDisabled: {
|
|
59
79
|
true: "";
|
|
60
80
|
};
|
|
81
|
+
status: {
|
|
82
|
+
error: "";
|
|
83
|
+
attention: "";
|
|
84
|
+
};
|
|
61
85
|
}, {
|
|
62
86
|
withBorders: {
|
|
63
87
|
true: "";
|
|
@@ -65,4 +89,8 @@ export declare const listItemsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
65
89
|
isDisabled: {
|
|
66
90
|
true: "";
|
|
67
91
|
};
|
|
92
|
+
status: {
|
|
93
|
+
error: "";
|
|
94
|
+
attention: "";
|
|
95
|
+
};
|
|
68
96
|
}>, unknown, unknown, undefined>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1926,7 +1926,9 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
|
1926
1926
|
innerItemClassName?: string;
|
|
1927
1927
|
withBorders?: boolean;
|
|
1928
1928
|
isDisabled?: boolean;
|
|
1929
|
+
/** @deprecated Use `status` instead */
|
|
1929
1930
|
isError?: boolean;
|
|
1931
|
+
status?: 'error' | 'attention';
|
|
1930
1932
|
};
|
|
1931
1933
|
declare const _default$h: React.NamedExoticComponent<ItemProps>;
|
|
1932
1934
|
|