@dreamcommerce/aurora 2.1.33-4 → 2.1.33-5

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.
@@ -20,7 +20,7 @@ const TabsPanelList = ({ children }) => {
20
20
  if (child.type.name !== 'TabsPanel') {
21
21
  throw new Error('The child components should be of type TabsPanel');
22
22
  }
23
- return child.props.id === activeId ? child : null;
23
+ return child.props.id === activeId ? React__default['default'].createElement(React__default['default'].Fragment, null, child) : null;
24
24
  })));
25
25
  };
26
26
 
@@ -12,7 +12,7 @@ const TabsPanelList = ({ children }) => {
12
12
  if (child.type.name !== 'TabsPanel') {
13
13
  throw new Error('The child components should be of type TabsPanel');
14
14
  }
15
- return child.props.id === activeId ? child : null;
15
+ return child.props.id === activeId ? React.createElement(React.Fragment, null, child) : null;
16
16
  })));
17
17
  };
18
18
 
@@ -14,7 +14,7 @@ export interface ITabsItemProps {
14
14
  children: ReactNode;
15
15
  }
16
16
  export interface ITabsPanelListProps {
17
- children?: ReactNode;
17
+ children: ReactNode;
18
18
  }
19
19
  export interface ITabsPanelProps {
20
20
  id: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "2.1.33-4",
5
+ "version": "2.1.33-5",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",