@festo-ui/react 7.2.0-dev.419 → 7.2.0-dev.422

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.
@@ -26,19 +26,15 @@ function Breadcrumb(_ref) {
26
26
  });
27
27
  return /*#__PURE__*/_jsx("div", {
28
28
  className: classNames('fwe-breadcrumb', className),
29
- children: locations ? locations.map((location, index) => /*#__PURE__*/_jsxs(React.Fragment, {
30
- children: [/*#__PURE__*/_jsx("a", {
29
+ children: locations ? locations.map(location => /*#__PURE__*/_jsx(React.Fragment, {
30
+ children: /*#__PURE__*/_jsx("a", {
31
31
  className: "fr-breadcrumb-location",
32
32
  href: location.url,
33
33
  onClick: e => onClick ? onClick(e) : undefined,
34
34
  children: location.label
35
- }), index + 1 < locations.length && /*#__PURE__*/_jsx("i", {
36
- className: "fwe-icon fwe-icon-arrows-right-2"
37
- })]
38
- }, location.url)) : childrenList.map((child, index) => /*#__PURE__*/_jsxs(React.Fragment, {
39
- children: [child, ' ', index + 1 < childrenList.length && /*#__PURE__*/_jsx("i", {
40
- className: "fwe-icon fwe-icon-arrows-right-2"
41
- })]
35
+ })
36
+ }, location.url)) : childrenList.map(child => /*#__PURE__*/_jsxs(React.Fragment, {
37
+ children: [child, " "]
42
38
  }, child.props.children))
43
39
  });
44
40
  }
@@ -32,19 +32,15 @@ function Breadcrumb(_ref) {
32
32
  });
33
33
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
34
34
  className: (0, _classnames.default)('fwe-breadcrumb', className),
35
- children: locations ? locations.map((location, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.default.Fragment, {
36
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
35
+ children: locations ? locations.map(location => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.default.Fragment, {
36
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
37
37
  className: "fr-breadcrumb-location",
38
38
  href: location.url,
39
39
  onClick: e => onClick ? onClick(e) : undefined,
40
40
  children: location.label
41
- }), index + 1 < locations.length && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
42
- className: "fwe-icon fwe-icon-arrows-right-2"
43
- })]
44
- }, location.url)) : childrenList.map((child, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.default.Fragment, {
45
- children: [child, ' ', index + 1 < childrenList.length && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
46
- className: "fwe-icon fwe-icon-arrows-right-2"
47
- })]
41
+ })
42
+ }, location.url)) : childrenList.map(child => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.default.Fragment, {
43
+ children: [child, " "]
48
44
  }, child.props.children))
49
45
  });
50
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "7.2.0-dev.419",
3
+ "version": "7.2.0-dev.422",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "license": "apache-2.0",
6
6
  "exports": {