@gustavo-valsechi/client 1.4.29 → 1.4.31

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.
@@ -114,7 +114,7 @@ function Form(props) {
114
114
  props.inputs,
115
115
  (data, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.Fragment, { children: import_lodash.default.isArray(data) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "iz-form-content", children: import_lodash.default.map(
116
116
  data,
117
- (input, index2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.Fragment, { children: component(input) }, index2)
117
+ (input, index2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "iz-form-input", children: component(input) }, index2)
118
118
  ) }) : component(data) }, index)
119
119
  ),
120
120
  import_lodash.default.isArray(props.buttons) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "iz-form-buttons", children: import_lodash.default.map(
@@ -80,7 +80,7 @@ function Form(props) {
80
80
  props.inputs,
81
81
  (data, index) => /* @__PURE__ */ jsx(React.Fragment, { children: _.isArray(data) ? /* @__PURE__ */ jsx("div", { className: "iz-form-content", children: _.map(
82
82
  data,
83
- (input, index2) => /* @__PURE__ */ jsx(React.Fragment, { children: component(input) }, index2)
83
+ (input, index2) => /* @__PURE__ */ jsx("div", { className: "iz-form-input", children: component(input) }, index2)
84
84
  ) }) : component(data) }, index)
85
85
  ),
86
86
  _.isArray(props.buttons) && /* @__PURE__ */ jsx("div", { className: "iz-form-buttons", children: _.map(
@@ -45,8 +45,8 @@ const Container = import_styled_components.default.form`
45
45
  gap: .5rem;
46
46
  flex-wrap: wrap;
47
47
 
48
- .iz-input-content {
49
- min-width: 10rem;
48
+ .iz-form-input {
49
+ flex: 1 1 10rem;
50
50
  }
51
51
  }
52
52
 
@@ -12,8 +12,8 @@ const Container = styled.form`
12
12
  gap: .5rem;
13
13
  flex-wrap: wrap;
14
14
 
15
- .iz-input-content {
16
- min-width: 10rem;
15
+ .iz-form-input {
16
+ flex: 1 1 10rem;
17
17
  }
18
18
  }
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.29",
3
+ "version": "1.4.31",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",