@kne/form-info 0.1.1 → 0.1.3

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.
@@ -113,7 +113,7 @@ var classnames = createCommonjsModule(function (module) {
113
113
  }());
114
114
  });
115
115
 
116
- var style = {"form-outer":"_ZQNNL","form-info":"_GW4Xx","extra-btn":"_eY4qR","list-part":"_SL3dC","list-item":"_PNnMa","is-important":"_Xkp38","list-item-part":"_HiB5Q","table-list-inner":"_Uw-3T","multi-field-item":"_uogqr","react-form__field-label":"_UGjS9","multi-field-add-btn":"_rjVPh","table-list":"_r8-bn","table-list-field":"_Qkutm","table-list-header":"_9WdfD","is-req":"_CsPaL","table-options":"_8smwK","steps":"_IOdkE","steps-form-inner":"_uc1HZ","steps-modal":"_vWPQO","table-list-empty":"_DXskv"};
116
+ var style = {"form-outer":"_ZQNNL","form-info":"_GW4Xx","extra-btn":"_eY4qR","list-part":"_SL3dC","list-item":"_PNnMa","is-important":"_Xkp38","list-item-part":"_HiB5Q","table-list-inner":"_Uw-3T","multi-field-item":"_uogqr","react-form__field-label":"_UGjS9","multi-field-add-btn":"_rjVPh","table-list":"_r8-bn","table-list-field":"_Qkutm","table-list-header":"_9WdfD","is-req":"_CsPaL","table-options":"_8smwK","steps":"_IOdkE","steps-form-inner":"_uc1HZ","steps-modal":"_vWPQO","table-list-empty":"_DXskv","extra-container":"_wU-w4"};
117
117
 
118
118
  const _excluded$7 = ["className", "column", "list", "gap"];
119
119
  const FormInfo = props => {
@@ -270,11 +270,14 @@ const List = withLocale(p => {
270
270
  return /*#__PURE__*/jsx(InfoPage.Part, {
271
271
  className: itemClassName,
272
272
  title: title,
273
- extra: allowAdd && /*#__PURE__*/jsx(Button, {
274
- className: style['extra-btn'],
275
- icon: addIcon,
276
- onClick: onAdd,
277
- children: addText
273
+ extra: /*#__PURE__*/jsx("div", {
274
+ className: style['extra-container'],
275
+ children: allowAdd && /*#__PURE__*/jsx(Button, {
276
+ className: style['extra-btn'],
277
+ icon: addIcon,
278
+ onClick: onAdd,
279
+ children: addText
280
+ })
278
281
  }),
279
282
  children: children
280
283
  });
@@ -435,11 +438,14 @@ const TableList = withLocale(p => {
435
438
  return /*#__PURE__*/jsx(InfoPage.Part, {
436
439
  title: title,
437
440
  className: classnames(className, style['table-list']),
438
- extra: allowAdd && /*#__PURE__*/jsx(Button, {
439
- className: style['extra-btn'],
440
- icon: addIcon,
441
- onClick: onAdd,
442
- children: addText
441
+ extra: /*#__PURE__*/jsx("div", {
442
+ className: style['extra-container'],
443
+ children: allowAdd && /*#__PURE__*/jsx(Button, {
444
+ className: style['extra-btn'],
445
+ icon: addIcon,
446
+ onClick: onAdd,
447
+ children: addText
448
+ })
443
449
  }),
444
450
  children: /*#__PURE__*/jsx("div", {
445
451
  className: style['table-list-inner'],