Tags: Sage/carbon
Tags
chore(release): 148.0.0 ## [148.0.0](v147.11.0...v148.0.0) (2025-02-24) ### ⚠ BREAKING CHANGES * Temporary incompatibility with React Strict Mode. In React v18, Strict Mode now intentionally re-renders components and re-executes their effects and callbacks an extra time. This leads to unintended side effects in several Carbon components. A fix will be provided in advance of introducing React v19 support. If you encounter issues, you can either disable Strict Mode globally, or apply it selectively to specific parts of your application. * Both packages are now ESM-only, which may affect tools like Jest that run your project code in a Node.js environment. Adjust your bundler configuration to handle ESM code if issues arise. ### Features * introduce support for react v18 ([bac91b2](bac91b2)) * **menu:** let browser handle tabbing to prevent focus on non-focusable items ([b0dcfba](b0dcfba)) * **menu:** prevent showing hover styling for non-focusable menu items ([db8f54c](db8f54c)) * **menu:** skip non-focusable submenu items when moving focus with Up, Down, Home and End keys ([824115f](824115f)) * **portrait:** add `data-element` and `data-role` props for testing purposes ([fad5723](fad5723)) * update @tanstack/react-virtual to version ^3.11.2 ([30581d7](30581d7)) * upgrade `react-dnd` and `react-dnd-html5-backend` to v16 ([3d495ec](3d495ec)) ### Bug Fixes * **menu-item:** prevent root element from being focused when containing focusable content ([f086303](f086303)) * **menu:** ensure focus state remains consistent between tabbing and Home/End key presses ([5e2119e](5e2119e)) * **select:** debounce scroll handler on option list to reduce frequency of onListScrollBottom calls ([112ed5e](112ed5e))
PreviousNext