@gravity-ui/dynamic-forms 1.6.0 → 1.6.1

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.6.0...v1.6.1) (2023-05-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * object inputs layout child ([#37](https://github.com/gravity-ui/dynamic-forms/issues/37)) ([821398e](https://github.com/gravity-ui/dynamic-forms/commit/821398eee3b19b590f6177896fc038ecd9bdd0df))
9
+
3
10
  ## [1.6.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.5.0...v1.6.0) (2023-04-28)
4
11
 
5
12
 
@@ -15,7 +15,7 @@ const ObjectValueInput = (props) => {
15
15
  var _a;
16
16
  if ((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[OBJECT_VALUE_PROPERTY_NAME]) {
17
17
  const childSpec = lodash_1.default.cloneDeep(spec.properties[OBJECT_VALUE_PROPERTY_NAME]);
18
- childSpec.viewSpec.layout = '';
18
+ childSpec.viewSpec.layout = 'transparent';
19
19
  return childSpec;
20
20
  }
21
21
  return undefined;
@@ -13,7 +13,7 @@ const Secret = (props) => {
13
13
  var _a, _b;
14
14
  if ((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[SECRET_PROPERTY_NAME]) {
15
15
  const childSpec = lodash_1.default.cloneDeep((_b = spec.properties) === null || _b === void 0 ? void 0 : _b[SECRET_PROPERTY_NAME]);
16
- childSpec.viewSpec.layout = '';
16
+ childSpec.viewSpec.layout = 'transparent';
17
17
  return childSpec;
18
18
  }
19
19
  return undefined;
@@ -16,7 +16,7 @@ const TextLink = (props) => {
16
16
  if (((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[TEXT_LINK_PROPERTY_NAME]) &&
17
17
  (0, core_1.isStringSpec)(spec.properties[TEXT_LINK_PROPERTY_NAME])) {
18
18
  const childSpec = lodash_1.default.cloneDeep(spec.properties[TEXT_LINK_PROPERTY_NAME]);
19
- childSpec.viewSpec.layout = '';
19
+ childSpec.viewSpec.layout = 'transparent';
20
20
  return childSpec;
21
21
  }
22
22
  return undefined;
@@ -11,7 +11,7 @@ export const ObjectValueInput = (props) => {
11
11
  var _a;
12
12
  if ((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[OBJECT_VALUE_PROPERTY_NAME]) {
13
13
  const childSpec = _.cloneDeep(spec.properties[OBJECT_VALUE_PROPERTY_NAME]);
14
- childSpec.viewSpec.layout = '';
14
+ childSpec.viewSpec.layout = 'transparent';
15
15
  return childSpec;
16
16
  }
17
17
  return undefined;
@@ -9,7 +9,7 @@ export const Secret = (props) => {
9
9
  var _a, _b;
10
10
  if ((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[SECRET_PROPERTY_NAME]) {
11
11
  const childSpec = _.cloneDeep((_b = spec.properties) === null || _b === void 0 ? void 0 : _b[SECRET_PROPERTY_NAME]);
12
- childSpec.viewSpec.layout = '';
12
+ childSpec.viewSpec.layout = 'transparent';
13
13
  return childSpec;
14
14
  }
15
15
  return undefined;
@@ -12,7 +12,7 @@ export const TextLink = (props) => {
12
12
  if (((_a = spec.properties) === null || _a === void 0 ? void 0 : _a[TEXT_LINK_PROPERTY_NAME]) &&
13
13
  isStringSpec(spec.properties[TEXT_LINK_PROPERTY_NAME])) {
14
14
  const childSpec = _.cloneDeep(spec.properties[TEXT_LINK_PROPERTY_NAME]);
15
- childSpec.viewSpec.layout = '';
15
+ childSpec.viewSpec.layout = 'transparent';
16
16
  return childSpec;
17
17
  }
18
18
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dynamic-forms",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "build/cjs/index.js",