@ceed/cds 1.19.1 → 1.19.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/index.cjs +3 -1
- package/dist/index.js +3 -1
- package/framer/index.js +16 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -628,11 +628,13 @@ function Autocomplete(props) {
|
|
|
628
628
|
);
|
|
629
629
|
const slotProps = (0, import_react6.useMemo)(
|
|
630
630
|
() => ({
|
|
631
|
+
...props.slotProps,
|
|
631
632
|
listbox: {
|
|
633
|
+
...props.slotProps?.listbox,
|
|
632
634
|
hasSecondaryText: options.some((opt) => opt.secondaryText)
|
|
633
635
|
}
|
|
634
636
|
}),
|
|
635
|
-
[options]
|
|
637
|
+
[options, props.slotProps]
|
|
636
638
|
);
|
|
637
639
|
const handleChange = (0, import_react6.useCallback)(
|
|
638
640
|
(event, value2) => {
|
package/dist/index.js
CHANGED
|
@@ -541,11 +541,13 @@ function Autocomplete(props) {
|
|
|
541
541
|
);
|
|
542
542
|
const slotProps = useMemo(
|
|
543
543
|
() => ({
|
|
544
|
+
...props.slotProps,
|
|
544
545
|
listbox: {
|
|
546
|
+
...props.slotProps?.listbox,
|
|
545
547
|
hasSecondaryText: options.some((opt) => opt.secondaryText)
|
|
546
548
|
}
|
|
547
549
|
}),
|
|
548
|
-
[options]
|
|
550
|
+
[options, props.slotProps]
|
|
549
551
|
);
|
|
550
552
|
const handleChange = useCallback2(
|
|
551
553
|
(event, value2) => {
|