oa-componentbook 1.0.1-stage.457 → 1.0.1-stage.459

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.
@@ -91,11 +91,7 @@ function CustomInfo(_ref) {
91
91
  return /*#__PURE__*/_react.default.createElement(_styles.InfoContainer, {
92
92
  $color: color,
93
93
  $borderColor: borderColor
94
- }, /*#__PURE__*/_react.default.createElement(_styles.RowFlex, {
95
- style: {
96
- width: '100%'
97
- }
98
- }, iconConfig.position === 'left' && conditionallyAddTooltipToIcon(), /*#__PURE__*/_react.default.createElement(_styles.ColFlex, {
94
+ }, /*#__PURE__*/_react.default.createElement(_styles.RowFlex, null, iconConfig.position === 'left' && conditionallyAddTooltipToIcon(), /*#__PURE__*/_react.default.createElement(_styles.ColFlex, {
99
95
  style: {
100
96
  flex: 1
101
97
  }
@@ -8,7 +8,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- const RowFlex = exports.RowFlex = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n"])));
11
+ const RowFlex = exports.RowFlex = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n width: 100%;\n"])));
12
12
  const ColFlex = exports.ColFlex = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"])));
13
13
  const InfoContainer = exports.InfoContainer = (0, _styledComponents.default)(RowFlex).attrs({
14
14
  as: 'section'
@@ -2224,8 +2224,6 @@ function GenricLayOut(_ref) {
2224
2224
  paragraph: {
2225
2225
  rows: 1
2226
2226
  }
2227
- }, /*#__PURE__*/_react.default.createElement("div", {
2228
- className: "margin-bottom-12"
2229
2227
  }, /*#__PURE__*/_react.default.createElement(_CustomInfo.default, {
2230
2228
  closable: infoData === null || infoData === void 0 ? void 0 : infoData.closable,
2231
2229
  description: infoData === null || infoData === void 0 ? void 0 : infoData.description,
@@ -2237,7 +2235,7 @@ function GenricLayOut(_ref) {
2237
2235
  }),
2238
2236
  position: (infoData === null || infoData === void 0 || (_infoData$iconConfig4 = infoData.iconConfig) === null || _infoData$iconConfig4 === void 0 ? void 0 : _infoData$iconConfig4.position) || "left"
2239
2237
  }
2240
- }))), (cards === null || cards === void 0 ? void 0 : cards.visible) && /*#__PURE__*/_react.default.createElement(_antd.Skeleton, {
2238
+ })), (cards === null || cards === void 0 ? void 0 : cards.visible) && /*#__PURE__*/_react.default.createElement(_antd.Skeleton, {
2241
2239
  loading: state === null || state === void 0 ? void 0 : state.isLoading,
2242
2240
  active: true,
2243
2241
  paragraph: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "1.0.1-stage.457",
3
+ "version": "1.0.1-stage.459",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",