fis-component 0.0.81 → 0.0.83
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -63065,7 +63065,7 @@ const FISTab = ({ children, active: propActive, defaultActive, size = "md", clas
|
|
|
63065
63065
|
}
|
|
63066
63066
|
onChange?.(key);
|
|
63067
63067
|
};
|
|
63068
|
-
const activeContent =
|
|
63068
|
+
const activeContent = tabs.find((tab) => tab.value === activeKey)?.children;
|
|
63069
63069
|
useEffect(() => {
|
|
63070
63070
|
if (propActive !== undefined) {
|
|
63071
63071
|
setStateActive(propActive);
|
|
@@ -67589,7 +67589,7 @@ const FISMenuSelect = ({ placeholder, groups, size = "md", multi = false, select
|
|
|
67589
67589
|
if (search.trim()) {
|
|
67590
67590
|
filteredItems = filteredItems.map((group) => ({
|
|
67591
67591
|
...group,
|
|
67592
|
-
items: group.items.filter((item) => item
|
|
67592
|
+
items: group.items.filter((item) => item?.label?.toLowerCase()?.includes(search?.toLowerCase())),
|
|
67593
67593
|
}));
|
|
67594
67594
|
}
|
|
67595
67595
|
return filteredItems.filter((group) => group.items.length > 0);
|
|
@@ -71074,7 +71074,7 @@ const FISCombobox = forwardRef(({ className, options, value, disabled = false, t
|
|
|
71074
71074
|
return options;
|
|
71075
71075
|
return options.map((group) => ({
|
|
71076
71076
|
...group,
|
|
71077
|
-
items: group.items.filter((item) => item
|
|
71077
|
+
items: group.items.filter((item) => item?.label?.toLowerCase()?.includes(searchValue?.toLowerCase())),
|
|
71078
71078
|
}));
|
|
71079
71079
|
}, [options, searchValue, computedDisplayValue]);
|
|
71080
71080
|
const hasNoResults = useMemo$1(() => {
|