@mezzanine-ui/react 0.13.8 → 0.13.9
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/Select/typings.d.ts +7 -7
- package/package.json +4 -4
package/Select/typings.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface SelectValue {
|
|
2
|
-
id:
|
|
1
|
+
export interface SelectValue<T = string> {
|
|
2
|
+
id: T;
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
5
|
-
export interface TreeSelectOption extends SelectValue {
|
|
5
|
+
export interface TreeSelectOption<T = string> extends SelectValue<T> {
|
|
6
6
|
dynamicChildrenFetching?: boolean;
|
|
7
|
-
siblings?: TreeSelectOption[];
|
|
7
|
+
siblings?: TreeSelectOption<T>[];
|
|
8
8
|
}
|
|
9
|
-
export interface SelectControl {
|
|
10
|
-
value: SelectValue[] | SelectValue | null;
|
|
11
|
-
onChange: (v: SelectValue | null) => SelectValue[] | SelectValue | null;
|
|
9
|
+
export interface SelectControl<T = string> {
|
|
10
|
+
value: SelectValue<T>[] | SelectValue<T> | null;
|
|
11
|
+
onChange: (v: SelectValue<T> | null) => SelectValue<T>[] | SelectValue<T> | null;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mezzanine-ui/react",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.9",
|
|
4
4
|
"description": "React components for mezzanine-ui",
|
|
5
5
|
"author": "Mezzanine",
|
|
6
6
|
"repository": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"react-dom": "^18.2.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@mezzanine-ui/core": "^0.13.
|
|
35
|
-
"@mezzanine-ui/icons": "^0.13.
|
|
36
|
-
"@mezzanine-ui/system": "^0.13.
|
|
34
|
+
"@mezzanine-ui/core": "^0.13.9",
|
|
35
|
+
"@mezzanine-ui/icons": "^0.13.9",
|
|
36
|
+
"@mezzanine-ui/system": "^0.13.9",
|
|
37
37
|
"@popperjs/core": "^2.11.6",
|
|
38
38
|
"@types/react-transition-group": "^4.4.5",
|
|
39
39
|
"clsx": "^1.2.1",
|