@synerise/ds-form 0.6.13 → 0.6.15

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.6.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.14...@synerise/ds-form@0.6.15) (2024-04-29)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-form
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.6.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.13...@synerise/ds-form@0.6.14) (2024-04-15)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-form
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.6.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-form@0.6.12...@synerise/ds-form@0.6.13) (2024-04-05)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-form
package/dist/Form.js CHANGED
@@ -6,12 +6,12 @@ import * as React from 'react';
6
6
  import FieldSet from "./Elements/FieldSet/FieldSet";
7
7
 
8
8
  var Form = /*#__PURE__*/function (_React$Component) {
9
- _inheritsLoose(Form, _React$Component);
10
-
11
9
  function Form() {
12
10
  return _React$Component.apply(this, arguments) || this;
13
11
  }
14
12
 
13
+ _inheritsLoose(Form, _React$Component);
14
+
15
15
  return Form;
16
16
  }(React.Component);
17
17
 
@@ -82,8 +82,8 @@ export var EditableList = function EditableList(_ref) {
82
82
  if (_onChange) _onChange(newParams);
83
83
  },
84
84
  label: id === 0 ? leftColumnName : null,
85
- error: Boolean(validation == null ? void 0 : validation.validateLeftColumn == null ? void 0 : validation.validateLeftColumn(param.name)),
86
- errorText: validation == null ? void 0 : validation.validateLeftColumn == null ? void 0 : validation.validateLeftColumn(param.name)
85
+ error: Boolean(validation == null || validation.validateLeftColumn == null ? void 0 : validation.validateLeftColumn(param.name)),
86
+ errorText: validation == null || validation.validateLeftColumn == null ? void 0 : validation.validateLeftColumn(param.name)
87
87
  }, firstInputProps), autocompleteOptions)), (_renderRightColumn = renderRightColumn == null ? void 0 : renderRightColumn(param, id)) != null ? _renderRightColumn : /*#__PURE__*/React.createElement(S.InputWrapper, null, /*#__PURE__*/React.createElement(Input, _extends({
88
88
  value: param.value,
89
89
  onChange: function onChange(ev) {
@@ -92,8 +92,8 @@ export var EditableList = function EditableList(_ref) {
92
92
  if (_onChange) _onChange(newParams);
93
93
  },
94
94
  label: id === 0 ? rightColumnName : null,
95
- error: Boolean(validation == null ? void 0 : validation.validateRightColumn == null ? void 0 : validation.validateRightColumn(param.value)),
96
- errorText: validation == null ? void 0 : validation.validateRightColumn == null ? void 0 : validation.validateRightColumn(param.value)
95
+ error: Boolean(validation == null || validation.validateRightColumn == null ? void 0 : validation.validateRightColumn(param.value)),
96
+ errorText: validation == null || validation.validateRightColumn == null ? void 0 : validation.validateRightColumn(param.value)
97
97
  }, secondInputProps))), renderAdditionalColumn == null ? void 0 : renderAdditionalColumn(), typeof renderActions === 'function' && (renderActions == null ? void 0 : renderActions(param, id, params, {
98
98
  onClickDelete: onClickDelete
99
99
  })) || renderActions === true && /*#__PURE__*/React.createElement(S.CrudWrapper, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-form",
3
- "version": "0.6.13",
3
+ "version": "0.6.15",
4
4
  "description": "Form UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,13 +33,13 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-autocomplete": "^0.7.5",
37
- "@synerise/ds-button": "^0.19.6",
38
- "@synerise/ds-cruds": "^0.5.4",
39
- "@synerise/ds-divider": "^0.6.14",
40
- "@synerise/ds-icon": "^0.60.6",
41
- "@synerise/ds-input": "^0.20.5",
42
- "@synerise/ds-typography": "^0.14.3"
36
+ "@synerise/ds-autocomplete": "^0.7.7",
37
+ "@synerise/ds-button": "^0.19.7",
38
+ "@synerise/ds-cruds": "^0.5.5",
39
+ "@synerise/ds-divider": "^0.6.16",
40
+ "@synerise/ds-icon": "^0.60.7",
41
+ "@synerise/ds-input": "^0.20.7",
42
+ "@synerise/ds-typography": "^0.15.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@synerise/ds-core": "*",
@@ -48,8 +48,8 @@
48
48
  "styled-components": "5.0.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@synerise/ds-utils": "^0.26.2",
51
+ "@synerise/ds-utils": "^0.26.3",
52
52
  "@testing-library/jest-dom": "5.1.1"
53
53
  },
54
- "gitHead": "84c9ff34c60369cc819ab1d4307373fafaf06462"
54
+ "gitHead": "6f0dc42ae79cea009e60fdb1f91ef72dcc82998e"
55
55
  }