sag_components 1.0.500 → 1.0.501

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.
@@ -684,7 +684,7 @@ var _default = exports.default = {
684
684
  }
685
685
  }
686
686
  };
687
- const Template = args => /*#__PURE__*/_react.default.createElement(_Popup.default, args, /*#__PURE__*/_react.default.createElement("div", null, "test"));
687
+ const Template = args => /*#__PURE__*/_react.default.createElement(_Popup.default, args, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", null, "table1"), /*#__PURE__*/_react.default.createElement("div", null, "table2")));
688
688
  const ExamplePopup = exports.ExamplePopup = Template.bind({});
689
689
  ExamplePopup.args = {
690
690
  title: "Offer Details",
@@ -53,6 +53,7 @@ const Popup = props => {
53
53
  onOverlayClick(e);
54
54
  };
55
55
  const AccordionItem = _ref => {
56
+ var _children$props, _children$props2;
56
57
  let {
57
58
  title,
58
59
  rowsData,
@@ -78,7 +79,7 @@ const Popup = props => {
78
79
  subtitleTextColor: subtitleTextColor
79
80
  }, title)), IsItemOpen && /*#__PURE__*/_react.default.createElement(_Popup.AccordionContentContainer, {
80
81
  id: "AccordionContentContainer"
81
- }, children, /*#__PURE__*/_react.default.createElement(_PopupContent.default, {
82
+ }, console.log("rowsData", title, children.props.children), title === "Campaigns" ? children === null || children === void 0 ? void 0 : (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.children[0] : title === "Products" ? children === null || children === void 0 ? void 0 : (_children$props2 = children.props) === null || _children$props2 === void 0 ? void 0 : _children$props2.children[1] : "", /*#__PURE__*/_react.default.createElement(_PopupContent.default, {
82
83
  id: "PopupContent",
83
84
  width: "100%",
84
85
  height: "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.500",
3
+ "version": "1.0.501",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {