@jetbrains/ring-ui-built 7.0.0-beta.7 → 7.0.0-beta.8

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.
@@ -1,6 +1,5 @@
1
1
  import classNames from 'classnames';
2
- import flattenChildren from 'react-keyed-flatten-children';
3
- import { Fragment } from 'react';
2
+ import { Children, Fragment } from 'react';
4
3
  import { jsxs, jsx } from 'react/jsx-runtime';
5
4
 
6
5
  var modules_18e4daa4 = {"separator":"separator_rui_09b2"};
@@ -10,7 +9,7 @@ function Breadcrumbs(_ref) {
10
9
  separatorClassName,
11
10
  children
12
11
  } = _ref;
13
- return flattenChildren(children).map((child, index) =>
12
+ return Children.toArray(children).map((child, index) =>
14
13
  /*#__PURE__*/
15
14
  // eslint-disable-next-line react/no-array-index-key
16
15
  jsxs(Fragment, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui-built",
3
- "version": "7.0.0-beta.7",
3
+ "version": "7.0.0-beta.8",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",