@festo-ui/react 9.0.1-dev.769 → 9.0.1-dev.771

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.
@@ -5,7 +5,10 @@ function Breadcrumb({ locations, onClick, children, className }) {
5
5
  const containerRef = react.useRef(null);
6
6
  const measureRef = react.useRef(null);
7
7
  const [isMobile, setIsMobile] = react.useState(false);
8
- const childrenList = react.Children.toArray(children).filter((child)=>/*#__PURE__*/ react.isValidElement(child));
8
+ function isValidHtmlChildElement(child) {
9
+ return /*#__PURE__*/ react.isValidElement(child);
10
+ }
11
+ const childrenList = react.Children.toArray(children).filter(isValidHtmlChildElement);
9
12
  const listItems = locations ? locations.map((location, index)=>{
10
13
  const isCurrent = index === locations.length - 1;
11
14
  return /*#__PURE__*/ jsx("li", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "9.0.1-dev.769",
3
+ "version": "9.0.1-dev.771",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "copyright": "Copyright (c) 2025 Festo SE & Co. KG. All rights reserved.",
6
6
  "license": "apache-2.0",