@northlight/ui 2.33.1 → 2.33.2
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/es/northlight.d.ts +4 -0
- package/dist/es/northlight.js +5 -3
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +5 -3
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +3 -3
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -12566,7 +12566,8 @@
|
|
|
12566
12566
|
isClearable = false,
|
|
12567
12567
|
value,
|
|
12568
12568
|
icon,
|
|
12569
|
-
components
|
|
12569
|
+
components,
|
|
12570
|
+
generateComponentsUpdateKey = ramda.always(0)
|
|
12570
12571
|
} = _b, rest = __objRest$n(_b, [
|
|
12571
12572
|
"options",
|
|
12572
12573
|
"isMulti",
|
|
@@ -12581,7 +12582,8 @@
|
|
|
12581
12582
|
"isClearable",
|
|
12582
12583
|
"value",
|
|
12583
12584
|
"icon",
|
|
12584
|
-
"components"
|
|
12585
|
+
"components",
|
|
12586
|
+
"generateComponentsUpdateKey"
|
|
12585
12587
|
]);
|
|
12586
12588
|
const handleChange = useSelectCallbacks({
|
|
12587
12589
|
onChange,
|
|
@@ -12592,7 +12594,7 @@
|
|
|
12592
12594
|
});
|
|
12593
12595
|
const customComponents = React.useMemo(
|
|
12594
12596
|
() => getComponents(components),
|
|
12595
|
-
[]
|
|
12597
|
+
[generateComponentsUpdateKey()]
|
|
12596
12598
|
);
|
|
12597
12599
|
const prevOptions = React.useRef(
|
|
12598
12600
|
options
|