@northlight/ui 1.5.0 → 1.5.1
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.
|
@@ -2363,6 +2363,7 @@ interface SelectProps<T> extends Omit<Props<T, boolean, GroupBase<T>>, 'onChange
|
|
|
2363
2363
|
loadingList?: ComponentType<MenuListProps<T, boolean, GroupBase<T>>> | undefined;
|
|
2364
2364
|
/** Custom icon that will be put to the faremost right of the component */
|
|
2365
2365
|
icon?: ComponentType<any>;
|
|
2366
|
+
customOption?: ((option: T) => JSX.Element) | null;
|
|
2366
2367
|
}
|
|
2367
2368
|
type SelectFieldProps<T> = Omit<SelectProps<T>, 'onChange'> & InputFieldProps & {
|
|
2368
2369
|
onChange?: (val: T | T[], event: ActionMeta<T>) => void;
|
package/dist/ts/types.d.ts
CHANGED
|
@@ -2363,6 +2363,7 @@ interface SelectProps<T> extends Omit<Props<T, boolean, GroupBase<T>>, 'onChange
|
|
|
2363
2363
|
loadingList?: ComponentType<MenuListProps<T, boolean, GroupBase<T>>> | undefined;
|
|
2364
2364
|
/** Custom icon that will be put to the faremost right of the component */
|
|
2365
2365
|
icon?: ComponentType<any>;
|
|
2366
|
+
customOption?: ((option: T) => JSX.Element) | null;
|
|
2366
2367
|
}
|
|
2367
2368
|
type SelectFieldProps<T> = Omit<SelectProps<T>, 'onChange'> & InputFieldProps & {
|
|
2368
2369
|
onChange?: (val: T | T[], event: ActionMeta<T>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northlight/ui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Northlight UI library, based on Chakra-ui",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Mediatool",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"@types/mocha": "^10.0.1",
|
|
64
64
|
"@types/ramda": "^0.28.15",
|
|
65
65
|
"@types/react-avatar-editor": "^13.0.0",
|
|
66
|
+
"@types/react-router-dom": "^5.3.2",
|
|
66
67
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
67
68
|
"@types/react-window": "^1.8.5",
|
|
68
69
|
"chakra-react-select": "4.4.3",
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
"react-hook-form": "^7.43.1",
|
|
75
76
|
"react-input-mask": "2.0.4",
|
|
76
77
|
"react-live": "^3.2.0",
|
|
78
|
+
"react-router-dom": "5.2.0",
|
|
77
79
|
"react-virtualized": "^9.22.3",
|
|
78
80
|
"react-virtualized-auto-sizer": "^1.0.7",
|
|
79
81
|
"react-window": "^1.8.8",
|
|
@@ -95,7 +97,6 @@
|
|
|
95
97
|
"@types/react": "^18.0.28",
|
|
96
98
|
"@types/react-dom": "^18.0.11",
|
|
97
99
|
"@types/react-input-mask": "3.0.2",
|
|
98
|
-
"@types/react-router-dom": "^5.3.2",
|
|
99
100
|
"@vitejs/plugin-react-refresh": "^1.3.6",
|
|
100
101
|
"chai": "^4.3.7",
|
|
101
102
|
"esbuild": "^0.17.10",
|
|
@@ -109,7 +110,6 @@
|
|
|
109
110
|
"react": "^18.1.0",
|
|
110
111
|
"react-docgen-typescript": "^2.2.2",
|
|
111
112
|
"react-dom": "^18.1.0",
|
|
112
|
-
"react-router-dom": "5.2.0",
|
|
113
113
|
"rollup": "^3.17.2",
|
|
114
114
|
"rollup-plugin-dts": "^5.2.0",
|
|
115
115
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"react-dom": ">=18.0.0",
|
|
124
124
|
"react-router-dom": "^5.0.0"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "1892a592942abc036c8010c95c9bdad0e96b2318"
|
|
127
127
|
}
|