@gravity-ui/dynamic-forms 1.9.1 → 1.10.0

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.
Files changed (24) hide show
  1. package/build/cjs/lib/core/components/Form/hooks/useField.js +5 -6
  2. package/build/cjs/lib/kit/components/Card/Card.js +2 -1
  3. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoHeader.css +1 -1
  4. package/build/cjs/lib/kit/components/Inputs/TextArea/TextArea.js +1 -1
  5. package/build/cjs/lib/kit/components/Layouts/Row/Row.js +4 -3
  6. package/build/cjs/lib/kit/components/Layouts/Section/Section.js +2 -2
  7. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +2 -1
  8. package/build/cjs/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.css +1 -0
  9. package/build/cjs/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.css +3 -0
  10. package/build/cjs/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.js +1 -1
  11. package/build/cjs/lib/kit/components/Views/OneOfView/OneOfView.css +3 -0
  12. package/build/esm/lib/core/components/Form/hooks/useField.js +5 -6
  13. package/build/esm/lib/kit/components/Card/Card.js +2 -1
  14. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoHeader.css +1 -1
  15. package/build/esm/lib/kit/components/Inputs/TextArea/TextArea.js +2 -2
  16. package/build/esm/lib/kit/components/Layouts/Row/Row.js +2 -1
  17. package/build/esm/lib/kit/components/Layouts/Section/Section.js +1 -1
  18. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +2 -1
  19. package/build/esm/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.css +1 -0
  20. package/build/esm/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.css +3 -0
  21. package/build/esm/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.js +1 -1
  22. package/build/esm/lib/kit/components/Views/OneOfView/OneOfView.css +3 -0
  23. package/package.json +12 -9
  24. package/CHANGELOG.md +0 -165
@@ -29,18 +29,17 @@ const useField = ({ name, spec, initialValue, value: externalValue, validate: pr
29
29
  }
30
30
  const error = validate === null || validate === void 0 ? void 0 : validate(value);
31
31
  const dirty = !lodash_1.default.isEqual(value, initialValue);
32
- const pristine = value === initialValue;
33
32
  return {
34
33
  active: false,
35
34
  dirty,
36
35
  error,
37
36
  invalid: Boolean(error),
38
- modified: dirty || !pristine,
39
- pristine,
40
- touched: dirty || !pristine,
37
+ modified: dirty,
38
+ pristine: true,
39
+ touched: false,
41
40
  valid: !error,
42
41
  value,
43
- visited: dirty || !pristine,
42
+ visited: false,
44
43
  childErrors: {},
45
44
  };
46
45
  });
@@ -69,7 +68,7 @@ const useField = ({ name, spec, initialValue, value: externalValue, validate: pr
69
68
  (externalParentOnUnmount ? externalParentOnUnmount : tools.onUnmount)(name);
70
69
  }
71
70
  else {
72
- onChange(undefined);
71
+ onChange(undefined, { [name]: false });
73
72
  }
74
73
  };
75
74
  return { onChange, onDrop };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Card = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
+ const components_1 = require("@gravity-ui/components");
6
7
  const icons_1 = require("@gravity-ui/icons");
7
8
  const uikit_1 = require("@gravity-ui/uikit");
8
9
  const lodash_1 = tslib_1.__importDefault(require("lodash"));
@@ -34,7 +35,7 @@ const Card = ({ name, title: propsTitle, description, actions, open: propsOpen,
34
35
  return (react_1.default.createElement(react_1.default.Fragment, null,
35
36
  react_1.default.createElement("div", { className: b('title') }, propsTitle),
36
37
  description ? (react_1.default.createElement("div", { className: b('note') },
37
- react_1.default.createElement(uikit_1.HelpPopover, { htmlContent: description, placement: ['bottom', 'top'] }))) : null));
38
+ react_1.default.createElement(components_1.HelpPopover, { htmlContent: description, placement: ['bottom', 'top'] }))) : null));
38
39
  }
39
40
  return propsTitle;
40
41
  }, [propsTitle, description]);
@@ -4,7 +4,7 @@
4
4
  justify-content: space-between;
5
5
  padding: 15px;
6
6
  align-items: center;
7
- background-color: var(--yc-color-private-black-50-solid);
7
+ background-color: var(--yc-color-base-float-hover);
8
8
  }
9
9
  .df-monaco-header_card {
10
10
  border-bottom: 1px solid var(--yc-color-line-generic);
@@ -6,6 +6,6 @@ const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const uikit_1 = require("@gravity-ui/uikit");
7
7
  const TextArea = ({ name, input, spec }) => {
8
8
  const { value, onBlur, onChange, onFocus } = input;
9
- return (react_1.default.createElement(uikit_1.TextInput, { value: value, onBlur: onBlur, onFocus: onFocus, onUpdate: onChange, maxRows: 20, minRows: 8, hasClear: true, disabled: spec.viewSpec.disabled, multiline: true, placeholder: spec.viewSpec.placeholder, qa: name }));
9
+ return (react_1.default.createElement(uikit_1.TextArea, { value: value, onBlur: onBlur, onFocus: onFocus, onUpdate: onChange, maxRows: 20, minRows: 8, hasClear: true, disabled: spec.viewSpec.disabled, placeholder: spec.viewSpec.placeholder, qa: name }));
10
10
  };
11
11
  exports.TextArea = TextArea;
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RowVerbose = exports.Row = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
+ const components_1 = require("@gravity-ui/components");
6
7
  const icons_1 = require("@gravity-ui/icons");
7
8
  const uikit_1 = require("@gravity-ui/uikit");
8
9
  const core_1 = require("../../../../core");
9
- const components_1 = require("../../../components");
10
+ const components_2 = require("../../../components");
10
11
  const utils_1 = require("../../../utils");
11
12
  const b = (0, utils_1.block)('row');
12
13
  const RowBase = ({ name, spec, input, meta, verboseDescription, children, }) => {
@@ -17,10 +18,10 @@ const RowBase = ({ name, spec, input, meta, verboseDescription, children, }) =>
17
18
  react_1.default.createElement("span", { className: b('title', { required: spec.required }) }, spec.viewSpec.layoutTitle),
18
19
  !verboseDescription && spec.viewSpec.layoutDescription ? (react_1.default.createElement("span", { className: b('note') },
19
20
  react_1.default.createElement("span", { className: b('note-inner') },
20
- react_1.default.createElement(uikit_1.HelpPopover, { htmlContent: spec.viewSpec.layoutDescription, placement: ['bottom', 'top'] })))) : null)),
21
+ react_1.default.createElement(components_1.HelpPopover, { htmlContent: spec.viewSpec.layoutDescription, placement: ['bottom', 'top'] })))) : null)),
21
22
  react_1.default.createElement("div", { className: b('right') },
22
23
  react_1.default.createElement("div", { className: b('right-inner') },
23
- react_1.default.createElement(components_1.ErrorWrapper, { name: name, meta: meta, withoutChildErrorStyles: (0, core_1.isArraySpec)(spec) || (0, core_1.isObjectSpec)(spec) }, children),
24
+ react_1.default.createElement(components_2.ErrorWrapper, { name: name, meta: meta, withoutChildErrorStyles: (0, core_1.isArraySpec)(spec) || (0, core_1.isObjectSpec)(spec) }, children),
24
25
  arrayItem ? (react_1.default.createElement(uikit_1.Button, { view: "flat", className: b('remove-button'), onClick: input.onDrop, qa: `${name}-remove-item` },
25
26
  react_1.default.createElement(uikit_1.Icon, { data: icons_1.Xmark, size: 16 }))) : null),
26
27
  verboseDescription && spec.viewSpec.layoutDescription ? (react_1.default.createElement("div", { className: b('description'), dangerouslySetInnerHTML: { __html: spec.viewSpec.layoutDescription } })) : null)));
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Group2 = exports.Group = exports.SectionWithSubtitle2 = exports.SectionWithSubtitle = exports.Section2 = exports.Section = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
- const uikit_1 = require("@gravity-ui/uikit");
6
+ const components_1 = require("@gravity-ui/components");
7
7
  const __1 = require("../../");
8
8
  const __2 = require("../../../");
9
9
  const core_1 = require("../../../../core");
@@ -29,7 +29,7 @@ const SectionBase = (_a) => {
29
29
  }
30
30
  else {
31
31
  description = (react_1.default.createElement("div", { className: b('note') },
32
- react_1.default.createElement(uikit_1.HelpPopover, { htmlContent: spec.viewSpec.layoutDescription, placement: ['bottom', 'top'] })));
32
+ react_1.default.createElement(components_1.HelpPopover, { htmlContent: spec.viewSpec.layoutDescription, placement: ['bottom', 'top'] })));
33
33
  }
34
34
  }
35
35
  return (react_1.default.createElement("section", { className: b() },
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimpleVerticalAccordeon = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
+ const components_1 = require("@gravity-ui/components");
6
7
  const icons_1 = require("@gravity-ui/icons");
7
8
  const uikit_1 = require("@gravity-ui/uikit");
8
9
  const utils_1 = require("../../utils");
@@ -72,7 +73,7 @@ class SimpleVerticalAccordeon extends react_1.default.Component {
72
73
  getTooltip() {
73
74
  const { note } = this.props;
74
75
  return note ? (react_1.default.createElement("span", { className: b('tooltip') },
75
- react_1.default.createElement(uikit_1.HelpPopover, { htmlContent: note, placement: ['bottom', 'top'] }))) : null;
76
+ react_1.default.createElement(components_1.HelpPopover, { htmlContent: note, placement: ['bottom', 'top'] }))) : null;
76
77
  }
77
78
  }
78
79
  exports.SimpleVerticalAccordeon = SimpleVerticalAccordeon;
@@ -2,6 +2,7 @@
2
2
  display: flex;
3
3
  }
4
4
  .df-view-table-cell__inner {
5
+ max-width: 100%;
5
6
  display: flex;
6
7
  flex-direction: column;
7
8
  justify-content: center;
@@ -7,4 +7,7 @@
7
7
  }
8
8
  .df-view-transparent:hover > .df-copy-button {
9
9
  display: block;
10
+ }
11
+ .df-view-transparent__inner {
12
+ max-width: 100%;
10
13
  }
@@ -7,6 +7,6 @@ const kit_1 = require("../../../../kit");
7
7
  const utils_1 = require("../../../utils");
8
8
  const b = (0, utils_1.block)('view-transparent');
9
9
  const ViewTransparent = ({ value, spec, children, }) => (0, utils_1.isNotEmptyValue)(value, spec) ? (react_1.default.createElement("div", { className: b() },
10
- react_1.default.createElement("div", null, children),
10
+ react_1.default.createElement("div", { className: b('inner') }, children),
11
11
  react_1.default.createElement(kit_1.CopyButton, { spec: spec, value: value }))) : null;
12
12
  exports.ViewTransparent = ViewTransparent;
@@ -1,6 +1,9 @@
1
1
  .df-oneof-view > .df-group-indent {
2
2
  margin-bottom: 20px;
3
3
  }
4
+ .df-oneof-view:last-child > .df-group-indent {
5
+ margin-bottom: 0;
6
+ }
4
7
  .df-oneof-view_flat > .df-group-indent {
5
8
  margin: 0 0 20px;
6
9
  border-left: none;
@@ -25,18 +25,17 @@ export const useField = ({ name, spec, initialValue, value: externalValue, valid
25
25
  }
26
26
  const error = validate === null || validate === void 0 ? void 0 : validate(value);
27
27
  const dirty = !_.isEqual(value, initialValue);
28
- const pristine = value === initialValue;
29
28
  return {
30
29
  active: false,
31
30
  dirty,
32
31
  error,
33
32
  invalid: Boolean(error),
34
- modified: dirty || !pristine,
35
- pristine,
36
- touched: dirty || !pristine,
33
+ modified: dirty,
34
+ pristine: true,
35
+ touched: false,
37
36
  valid: !error,
38
37
  value,
39
- visited: dirty || !pristine,
38
+ visited: false,
40
39
  childErrors: {},
41
40
  };
42
41
  });
@@ -65,7 +64,7 @@ export const useField = ({ name, spec, initialValue, value: externalValue, valid
65
64
  (externalParentOnUnmount ? externalParentOnUnmount : tools.onUnmount)(name);
66
65
  }
67
66
  else {
68
- onChange(undefined);
67
+ onChange(undefined, { [name]: false });
69
68
  }
70
69
  };
71
70
  return { onChange, onDrop };
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import { HelpPopover } from '@gravity-ui/components';
2
3
  import { ChevronDown } from '@gravity-ui/icons';
3
- import { Button, Card as CardBase, HelpPopover, Icon } from '@gravity-ui/uikit';
4
+ import { Button, Card as CardBase, Icon } from '@gravity-ui/uikit';
4
5
  import _ from 'lodash';
5
6
  import { block } from '../../utils';
6
7
  import './Card.css';
@@ -4,7 +4,7 @@
4
4
  justify-content: space-between;
5
5
  padding: 15px;
6
6
  align-items: center;
7
- background-color: var(--yc-color-private-black-50-solid);
7
+ background-color: var(--yc-color-base-float-hover);
8
8
  }
9
9
  .df-monaco-header_card {
10
10
  border-bottom: 1px solid var(--yc-color-line-generic);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { TextInput as TextInputBase } from '@gravity-ui/uikit';
2
+ import { TextArea as TextAreaBase } from '@gravity-ui/uikit';
3
3
  export const TextArea = ({ name, input, spec }) => {
4
4
  const { value, onBlur, onChange, onFocus } = input;
5
- return (React.createElement(TextInputBase, { value: value, onBlur: onBlur, onFocus: onFocus, onUpdate: onChange, maxRows: 20, minRows: 8, hasClear: true, disabled: spec.viewSpec.disabled, multiline: true, placeholder: spec.viewSpec.placeholder, qa: name }));
5
+ return (React.createElement(TextAreaBase, { value: value, onBlur: onBlur, onFocus: onFocus, onUpdate: onChange, maxRows: 20, minRows: 8, hasClear: true, disabled: spec.viewSpec.disabled, placeholder: spec.viewSpec.placeholder, qa: name }));
6
6
  };
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import { HelpPopover } from '@gravity-ui/components';
2
3
  import { Xmark } from '@gravity-ui/icons';
3
- import { Button, HelpPopover, Icon } from '@gravity-ui/uikit';
4
+ import { Button, Icon } from '@gravity-ui/uikit';
4
5
  import { isArrayItem, isArraySpec, isObjectSpec, } from '../../../../core';
5
6
  import { ErrorWrapper } from '../../../components';
6
7
  import { block } from '../../../utils';
@@ -1,6 +1,6 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import { HelpPopover } from '@gravity-ui/uikit';
3
+ import { HelpPopover } from '@gravity-ui/components';
4
4
  import { GroupIndent } from '../../';
5
5
  import { ErrorWrapper } from '../../../';
6
6
  import { isArraySpec, isObjectSpec, } from '../../../../core';
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import { HelpPopover } from '@gravity-ui/components';
2
3
  import { ChevronDown } from '@gravity-ui/icons';
3
- import { Button, HelpPopover, Icon } from '@gravity-ui/uikit';
4
+ import { Button, Icon } from '@gravity-ui/uikit';
4
5
  import { block } from '../../utils';
5
6
  import './SimpleVerticalAccordeon.css';
6
7
  const b = block('simple-vertical-accordeon');
@@ -2,6 +2,7 @@
2
2
  display: flex;
3
3
  }
4
4
  .df-view-table-cell__inner {
5
+ max-width: 100%;
5
6
  display: flex;
6
7
  flex-direction: column;
7
8
  justify-content: center;
@@ -7,4 +7,7 @@
7
7
  }
8
8
  .df-view-transparent:hover > .df-copy-button {
9
9
  display: block;
10
+ }
11
+ .df-view-transparent__inner {
12
+ max-width: 100%;
10
13
  }
@@ -4,5 +4,5 @@ import { block, isNotEmptyValue } from '../../../utils';
4
4
  import './ViewTransparent.css';
5
5
  const b = block('view-transparent');
6
6
  export const ViewTransparent = ({ value, spec, children, }) => isNotEmptyValue(value, spec) ? (React.createElement("div", { className: b() },
7
- React.createElement("div", null, children),
7
+ React.createElement("div", { className: b('inner') }, children),
8
8
  React.createElement(CopyButton, { spec: spec, value: value }))) : null;
@@ -1,6 +1,9 @@
1
1
  .df-oneof-view > .df-group-indent {
2
2
  margin-bottom: 20px;
3
3
  }
4
+ .df-oneof-view:last-child > .df-group-indent {
5
+ margin-bottom: 0;
6
+ }
4
7
  .df-oneof-view_flat > .df-group-indent {
5
8
  margin: 0 0 20px;
6
9
  border-left: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dynamic-forms",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "build/cjs/index.js",
@@ -31,12 +31,13 @@
31
31
  "test": "jest",
32
32
  "typecheck": "tsc --noEmit",
33
33
  "build": "gulp",
34
- "build-storybook": "build-storybook",
35
- "dev": "start-storybook -p 6006",
36
- "start": "start-storybook",
34
+ "build-storybook": "sb build",
35
+ "dev": "sb dev -p 6006",
36
+ "start": "sb dev",
37
37
  "prepublishOnly": "npm run build"
38
38
  },
39
39
  "dependencies": {
40
+ "@gravity-ui/components": "^2.0.0",
40
41
  "@gravity-ui/i18n": "^1.0.0",
41
42
  "@gravity-ui/icons": "^2.1.0",
42
43
  "bem-cn-lite": "^4.0.0",
@@ -47,14 +48,15 @@
47
48
  "@babel/preset-typescript": "^7.18.6",
48
49
  "@commitlint/cli": "^17.0.0",
49
50
  "@commitlint/config-conventional": "^17.0.0",
50
- "@gravity-ui/eslint-config": "^2.0.0",
51
+ "@gravity-ui/eslint-config": "^2.1.1",
51
52
  "@gravity-ui/prettier-config": "^1.0.1",
52
53
  "@gravity-ui/stylelint-config": "^2.0.0",
53
54
  "@gravity-ui/tsconfig": "^1.0.0",
54
- "@gravity-ui/uikit": "^4.10.0",
55
- "@storybook/addon-essentials": "^6.5.16",
55
+ "@gravity-ui/uikit": "^5.0.2",
56
+ "@storybook/addon-essentials": "^7.0.27",
56
57
  "@storybook/preset-scss": "^1.0.3",
57
- "@storybook/react": "^6.5.16",
58
+ "@storybook/react": "^7.0.27",
59
+ "@storybook/react-webpack5": "^7.0.27",
58
60
  "@testing-library/jest-dom": "^5.16.5",
59
61
  "@testing-library/react": "^14.0.0",
60
62
  "@testing-library/user-event": "^14.4.3",
@@ -88,6 +90,7 @@
88
90
  "rimraf": "^4.1.2",
89
91
  "sass": "^1.57.1",
90
92
  "sass-loader": "^10.1.1",
93
+ "storybook": "^7.0.27",
91
94
  "style-loader": "^2.0.0",
92
95
  "stylelint": "^14.15.0",
93
96
  "stylelint-scss": "^4.2.0",
@@ -95,7 +98,7 @@
95
98
  "typescript": "^4.9.5"
96
99
  },
97
100
  "peerDependencies": {
98
- "@gravity-ui/uikit": "^4.0.0",
101
+ "@gravity-ui/uikit": "^5.0.0",
99
102
  "final-form": "^4.20.2",
100
103
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0",
101
104
  "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0",
package/CHANGELOG.md DELETED
@@ -1,165 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.9.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.9.0...v1.9.1) (2023-06-07)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * fixed styles for transperant and toggler oneof ([#60](https://github.com/gravity-ui/dynamic-forms/issues/60)) ([64ca12a](https://github.com/gravity-ui/dynamic-forms/commit/64ca12ad87ffd50fdda24901cd8f2e70e8c03868))
9
-
10
- ## [1.9.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.8.1...v1.9.0) (2023-06-07)
11
-
12
-
13
- ### Features
14
-
15
- * add ability to disable final-form insertion delay ([#56](https://github.com/gravity-ui/dynamic-forms/issues/56)) ([4df2b00](https://github.com/gravity-ui/dynamic-forms/commit/4df2b00c5b07bdacbbd399acdb5cf01af5521dbc))
16
- * add copy button for view layouts ([#59](https://github.com/gravity-ui/dynamic-forms/issues/59)) ([c31fcbf](https://github.com/gravity-ui/dynamic-forms/commit/c31fcbfe0da0ba369cd16595b2cb9190ac4498f0))
17
- * add store and entity unmount callbacks ([#55](https://github.com/gravity-ui/dynamic-forms/issues/55)) ([8f7c4c6](https://github.com/gravity-ui/dynamic-forms/commit/8f7c4c6a624941e10c624dc3098e4e601639d25e))
18
-
19
- ## [1.8.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.8.0...v1.8.1) (2023-05-30)
20
-
21
-
22
- ### Bug Fixes
23
-
24
- * fixed deleting numbers from arrays ([#50](https://github.com/gravity-ui/dynamic-forms/issues/50)) ([76fba69](https://github.com/gravity-ui/dynamic-forms/commit/76fba69c47e016fb806d5d2d06fa367f4672c524))
25
-
26
- ## [1.8.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.7.1...v1.8.0) (2023-05-25)
27
-
28
-
29
- ### Features
30
-
31
- * **Switch:** added new input switch ([#48](https://github.com/gravity-ui/dynamic-forms/issues/48)) ([47e2f51](https://github.com/gravity-ui/dynamic-forms/commit/47e2f51dcda0579b00f6fadc3008d2e78a2f47e7))
32
-
33
- ## [1.7.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.7.0...v1.7.1) (2023-05-22)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * **OneOf:** fixed styles in inputs and view ([#46](https://github.com/gravity-ui/dynamic-forms/issues/46)) ([e7a824d](https://github.com/gravity-ui/dynamic-forms/commit/e7a824d4fec537ebef10f96049279bfc7a759f3b))
39
-
40
- ## [1.7.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.6.2...v1.7.0) (2023-05-22)
41
-
42
-
43
- ### Features
44
-
45
- * add flat oneof input, add oneof params to object spec ([#44](https://github.com/gravity-ui/dynamic-forms/issues/44)) ([25e9a35](https://github.com/gravity-ui/dynamic-forms/commit/25e9a3588b359cc251e5fdc19a1b51c5a614abb8))
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * initial value ([#39](https://github.com/gravity-ui/dynamic-forms/issues/39)) ([ce52d65](https://github.com/gravity-ui/dynamic-forms/commit/ce52d6531b8dbabd3462dfd430b947b99e00b433))
51
-
52
-
53
- ### Performance Improvements
54
-
55
- * remove strict mode wrapper and react version check ([#43](https://github.com/gravity-ui/dynamic-forms/issues/43)) ([ec823bf](https://github.com/gravity-ui/dynamic-forms/commit/ec823bf56d4bec192649b8cd2c3da16def094bfb))
56
-
57
- ## [1.6.2](https://github.com/gravity-ui/dynamic-forms/compare/v1.6.1...v1.6.2) (2023-05-16)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * add css rule for errors ([#41](https://github.com/gravity-ui/dynamic-forms/issues/41)) ([a6661bc](https://github.com/gravity-ui/dynamic-forms/commit/a6661bcd3a86a29ec3b457bccbf6d8f46aaf0408))
63
- * add number value transform ([#40](https://github.com/gravity-ui/dynamic-forms/issues/40)) ([d422d90](https://github.com/gravity-ui/dynamic-forms/commit/d422d901e675c6f7014a07f9bfae972fcd555b76))
64
-
65
- ## [1.6.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.6.0...v1.6.1) (2023-05-02)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * object inputs layout child ([#37](https://github.com/gravity-ui/dynamic-forms/issues/37)) ([821398e](https://github.com/gravity-ui/dynamic-forms/commit/821398eee3b19b590f6177896fc038ecd9bdd0df))
71
-
72
- ## [1.6.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.5.0...v1.6.0) (2023-04-28)
73
-
74
-
75
- ### Features
76
-
77
- * adapt useStore and useField with 18 react ([#31](https://github.com/gravity-ui/dynamic-forms/issues/31)) ([d64ae4a](https://github.com/gravity-ui/dynamic-forms/commit/d64ae4a1b3f9f2e8b02288c1088679b5c848f738))
78
-
79
-
80
- ### Bug Fixes
81
-
82
- * fixed display for accordeon layoutDescription ([#34](https://github.com/gravity-ui/dynamic-forms/issues/34)) ([fa58210](https://github.com/gravity-ui/dynamic-forms/commit/fa58210239df31911f3865262a4d33bd653e1b01))
83
- * fixed display for one of ([#33](https://github.com/gravity-ui/dynamic-forms/issues/33)) ([823c8fc](https://github.com/gravity-ui/dynamic-forms/commit/823c8fceddcb9a7e0cf021c1b122470cf58db4df))
84
-
85
- ## [1.5.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.4.1...v1.5.0) (2023-04-18)
86
-
87
-
88
- ### Features
89
-
90
- * **ObjectValue:** added new input object value ([#28](https://github.com/gravity-ui/dynamic-forms/issues/28)) ([67214a1](https://github.com/gravity-ui/dynamic-forms/commit/67214a13f5ed67dd46071caf0d0ad0bee1a4d071))
91
-
92
- ## [1.4.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.4.0...v1.4.1) (2023-04-13)
93
-
94
-
95
- ### Bug Fixes
96
-
97
- * **GroupIndent:** fixed styles ([#26](https://github.com/gravity-ui/dynamic-forms/issues/26)) ([ca3e845](https://github.com/gravity-ui/dynamic-forms/commit/ca3e845169c8f68036744fba13de79879421a806))
98
-
99
- ## [1.4.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.3.0...v1.4.0) (2023-04-11)
100
-
101
-
102
- ### Features
103
-
104
- * **FileInput:** added new input file input ([#24](https://github.com/gravity-ui/dynamic-forms/issues/24)) ([1553318](https://github.com/gravity-ui/dynamic-forms/commit/155331839e50ab4192b69ba32992e37b972378c4))
105
-
106
- ## [1.3.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.2.0...v1.3.0) (2023-03-31)
107
-
108
-
109
- ### Features
110
-
111
- * update row note position ([#20](https://github.com/gravity-ui/dynamic-forms/issues/20)) ([4f15395](https://github.com/gravity-ui/dynamic-forms/commit/4f153959596d3325ddeb2c2e9b24382e36d2db75))
112
-
113
-
114
- ### Bug Fixes
115
-
116
- * add fixes + tests ([#15](https://github.com/gravity-ui/dynamic-forms/issues/15)) ([80113dd](https://github.com/gravity-ui/dynamic-forms/commit/80113dd05737b18158865506ed3ac8479d69e8d0))
117
- * **search:** fixed bug related to form blinking ([#21](https://github.com/gravity-ui/dynamic-forms/issues/21)) ([20bab2f](https://github.com/gravity-ui/dynamic-forms/commit/20bab2f628d698714bcee35993583f2c7712e843))
118
- * **textArea:** fixed row for text area ([#22](https://github.com/gravity-ui/dynamic-forms/issues/22)) ([d5469e7](https://github.com/gravity-ui/dynamic-forms/commit/d5469e7dd0eee86b26e8daba94e93d2fa9465b96))
119
-
120
- ## [1.2.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.1.1...v1.2.0) (2023-03-23)
121
-
122
-
123
- ### Features
124
-
125
- * search ([#10](https://github.com/gravity-ui/dynamic-forms/issues/10)) ([4ed7d5c](https://github.com/gravity-ui/dynamic-forms/commit/4ed7d5c85dbb890f4c8148d4de43a626917cec0f))
126
-
127
- ## [1.1.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.1.0...v1.1.1) (2023-03-21)
128
-
129
-
130
- ### Bug Fixes
131
-
132
- * fix incorrect unmount ([#12](https://github.com/gravity-ui/dynamic-forms/issues/12)) ([592652b](https://github.com/gravity-ui/dynamic-forms/commit/592652b2814567b2188ec43779eb591b7dec6ade))
133
-
134
- ## [1.1.0](https://github.com/gravity-ui/dynamic-forms/compare/v1.0.2...v1.1.0) (2023-03-19)
135
-
136
-
137
- ### Features
138
-
139
- * add `row_verbose` layout ([#7](https://github.com/gravity-ui/dynamic-forms/issues/7)) ([a3030e1](https://github.com/gravity-ui/dynamic-forms/commit/a3030e105708c41211339d8ddd0b21e0b16cebfa))
140
-
141
-
142
- ### Bug Fixes
143
-
144
- * fix store errors ([#11](https://github.com/gravity-ui/dynamic-forms/issues/11)) ([3ed0d8e](https://github.com/gravity-ui/dynamic-forms/commit/3ed0d8e7cb4faefad351c5551b48461e7f6fd529))
145
-
146
- ## [1.0.2](https://github.com/gravity-ui/dynamic-forms/compare/v1.0.1...v1.0.2) (2023-03-15)
147
-
148
-
149
- ### Bug Fixes
150
-
151
- * updated package.json ([#5](https://github.com/gravity-ui/dynamic-forms/issues/5)) ([233053d](https://github.com/gravity-ui/dynamic-forms/commit/233053dbdef63a2416f3abd442dcda9cdd0ff3de))
152
-
153
- ## [1.0.1](https://github.com/gravity-ui/dynamic-forms/compare/v1.0.0...v1.0.1) (2023-03-14)
154
-
155
-
156
- ### Bug Fixes
157
-
158
- * added prepublishOnly ([#3](https://github.com/gravity-ui/dynamic-forms/issues/3)) ([0ed29ca](https://github.com/gravity-ui/dynamic-forms/commit/0ed29ca7eb2d5cb4350f1f191b30c7d1bbed6ed8))
159
-
160
- ## 1.0.0 (2023-03-14)
161
-
162
-
163
- ### Features
164
-
165
- * code migration ([#1](https://github.com/gravity-ui/dynamic-forms/issues/1)) ([41d30e4](https://github.com/gravity-ui/dynamic-forms/commit/41d30e4d1d43ffc0555fe2b671d638a520c317b7))