@overmap-ai/blocks 1.0.40-improvements.0 → 1.0.40-improvements.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.
- package/dist/blocks.js +2 -0
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +2 -0
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -4091,8 +4091,10 @@
|
|
|
4091
4091
|
[getActiveItem, getFirstGroup, getFirstItem, getLastGroup, getLastItem, getNextGroup, getNextItem, onKeyDown]
|
|
4092
4092
|
);
|
|
4093
4093
|
react.useEffect(() => {
|
|
4094
|
+
var _a;
|
|
4094
4095
|
const firstItem = getFirstItem(internalRef.current);
|
|
4095
4096
|
if (!firstItem) return;
|
|
4097
|
+
(_a = internalRef.current) == null ? void 0 : _a.focus();
|
|
4096
4098
|
setActiveItemId(firstItem.getAttribute(ITEM_SELECTOR));
|
|
4097
4099
|
}, [getFirstItem]);
|
|
4098
4100
|
const contextValue = react.useMemo(
|