@adiba-banking-cloud/backoffice 0.0.66 → 0.0.67

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.
@@ -13284,11 +13284,17 @@ const SimpleForm = _ref => {
13284
13284
  })));
13285
13285
  }
13286
13286
  if (typeof field === "function") {
13287
- return field();
13287
+ return /*#__PURE__*/React.createElement(core.Grid.Col, {
13288
+ key: index,
13289
+ span: layout[index]
13290
+ }, field());
13288
13291
  }
13289
13292
  if (["Textarea", "TextInput", "PasswordInput", "NumberInput"].includes(field.component)) {
13290
13293
  const Component = components[field.component];
13291
- return /*#__PURE__*/React.createElement(Component, _extends({}, field, inputProps));
13294
+ return /*#__PURE__*/React.createElement(core.Grid.Col, {
13295
+ key: index,
13296
+ span: layout[index]
13297
+ }, /*#__PURE__*/React.createElement(Component, _extends({}, field.field, inputProps)), ";");
13292
13298
  }
13293
13299
  return null;
13294
13300
  }));
@@ -13263,11 +13263,17 @@ const SimpleForm = _ref => {
13263
13263
  })));
13264
13264
  }
13265
13265
  if (typeof field === "function") {
13266
- return field();
13266
+ return /*#__PURE__*/React.createElement(Grid.Col, {
13267
+ key: index,
13268
+ span: layout[index]
13269
+ }, field());
13267
13270
  }
13268
13271
  if (["Textarea", "TextInput", "PasswordInput", "NumberInput"].includes(field.component)) {
13269
13272
  const Component = components[field.component];
13270
- return /*#__PURE__*/React.createElement(Component, _extends({}, field, inputProps));
13273
+ return /*#__PURE__*/React.createElement(Grid.Col, {
13274
+ key: index,
13275
+ span: layout[index]
13276
+ }, /*#__PURE__*/React.createElement(Component, _extends({}, field.field, inputProps)), ";");
13271
13277
  }
13272
13278
  return null;
13273
13279
  }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.66",
4
+ "version": "0.0.67",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",