@gravity-ui/dynamic-forms 5.0.0 → 5.2.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 (223) hide show
  1. package/build/cjs/lib/core/components/Form/DynamicField.js +7 -2
  2. package/build/cjs/lib/core/components/Form/hooks/useIntegrationFF.js +3 -2
  3. package/build/cjs/lib/core/components/Form/hooks/useSearch/useSearch.css +1 -1
  4. package/build/cjs/lib/core/components/Form/types/value.js +0 -1
  5. package/build/cjs/lib/kit/components/AccordeonCard/AccordeonCard.css +1 -1
  6. package/build/cjs/lib/kit/components/Card/Card.css +2 -2
  7. package/build/cjs/lib/kit/components/CopyButton/CopyButton.css +1 -1
  8. package/build/cjs/lib/kit/components/GroupIndent/GroupIndent.css +3 -3
  9. package/build/cjs/lib/kit/components/Inputs/ArrayBase/ArrayBase.css +2 -2
  10. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.css +3 -3
  11. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  12. package/build/cjs/lib/kit/components/Inputs/FileInput/FileInput.css +1 -1
  13. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoHeader.css +1 -1
  14. package/build/cjs/lib/kit/components/Inputs/MonacoInput/MonacoInputDialog.css +1 -1
  15. package/build/cjs/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.css +1 -1
  16. package/build/cjs/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.css +1 -1
  17. package/build/cjs/lib/kit/components/Inputs/OneOf/OneOf.css +4 -4
  18. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.css +2 -2
  19. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +1 -1
  20. package/build/cjs/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  21. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  22. package/build/cjs/lib/kit/components/Layouts/Column/Column.css +4 -4
  23. package/build/cjs/lib/kit/components/Layouts/Column/Column.js +1 -1
  24. package/build/cjs/lib/kit/components/Layouts/Row/Row.css +6 -6
  25. package/build/cjs/lib/kit/components/Layouts/Row/Row.js +1 -1
  26. package/build/cjs/lib/kit/components/Layouts/Section/Section.css +2 -2
  27. package/build/cjs/lib/kit/components/Layouts/Section/Section.js +1 -1
  28. package/build/cjs/lib/kit/components/Layouts/Transparent/Transparent.css +2 -2
  29. package/build/cjs/lib/kit/components/LongValue/LongValue.js +2 -4
  30. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.css +4 -4
  31. package/build/cjs/lib/kit/components/TogglerCard/TogglerCard.css +2 -2
  32. package/build/cjs/lib/kit/components/TogglerCard/TogglerCard.js +1 -1
  33. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.css +1 -1
  34. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +1 -1
  35. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/ViewRow.css +1 -1
  36. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +1 -1
  37. package/build/cjs/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.css +1 -1
  38. package/build/cjs/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.css +1 -1
  39. package/build/cjs/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.css +2 -2
  40. package/build/cjs/lib/kit/components/Views/DateView/DateView.js +1 -1
  41. package/build/cjs/lib/kit/components/Views/MonacoInputView/MonacoViewDialog.css +1 -1
  42. package/build/cjs/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  43. package/build/cjs/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  44. package/build/cjs/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  45. package/build/cjs/lib/kit/components/Views/TableArrayView/TableArrayView.css +1 -1
  46. package/build/cjs/lib/kit/components/Views/TableArrayView/TableArrayView.js +1 -1
  47. package/build/cjs/lib/kit/components/Views/TextAreaView/TextAreaView.css +1 -1
  48. package/build/cjs/lib/kit/hooks/useOneOf/useOneOf.css +1 -1
  49. package/build/cjs/lib/kit/utils/common.js +1 -1
  50. package/build/esm/lib/core/components/Form/Controller/Controller.d.ts +2 -2
  51. package/build/esm/lib/core/components/Form/Controller/types.d.ts +2 -2
  52. package/build/esm/lib/core/components/Form/Controller/utils.d.ts +3 -3
  53. package/build/esm/lib/core/components/Form/DynamicField.d.ts +3 -2
  54. package/build/esm/lib/core/components/Form/DynamicField.js +7 -2
  55. package/build/esm/lib/core/components/Form/hooks/useControllerMirror.d.ts +1 -1
  56. package/build/esm/lib/core/components/Form/hooks/useCreateContext.d.ts +1 -1
  57. package/build/esm/lib/core/components/Form/hooks/useCreateSearchContext.d.ts +1 -1
  58. package/build/esm/lib/core/components/Form/hooks/useDynamicFieldMirror.d.ts +1 -1
  59. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.d.ts +9 -2
  60. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.js +3 -2
  61. package/build/esm/lib/core/components/Form/hooks/useMutators.d.ts +1 -1
  62. package/build/esm/lib/core/components/Form/hooks/useSearch/useSearch.css +1 -1
  63. package/build/esm/lib/core/components/Form/hooks/useSearch/useSearch.d.ts +2 -2
  64. package/build/esm/lib/core/components/Form/hooks/useStore.d.ts +1 -1
  65. package/build/esm/lib/core/components/Form/types/array.d.ts +2 -2
  66. package/build/esm/lib/core/components/Form/types/boolean.d.ts +2 -2
  67. package/build/esm/lib/core/components/Form/types/config.d.ts +2 -2
  68. package/build/esm/lib/core/components/Form/types/context.d.ts +3 -3
  69. package/build/esm/lib/core/components/Form/types/field.d.ts +2 -2
  70. package/build/esm/lib/core/components/Form/types/input.d.ts +3 -3
  71. package/build/esm/lib/core/components/Form/types/layout.d.ts +3 -3
  72. package/build/esm/lib/core/components/Form/types/mirror.d.ts +2 -2
  73. package/build/esm/lib/core/components/Form/types/mutators.d.ts +2 -2
  74. package/build/esm/lib/core/components/Form/types/number.d.ts +2 -2
  75. package/build/esm/lib/core/components/Form/types/object.d.ts +2 -2
  76. package/build/esm/lib/core/components/Form/types/search.d.ts +2 -2
  77. package/build/esm/lib/core/components/Form/types/store.d.ts +1 -1
  78. package/build/esm/lib/core/components/Form/types/string.d.ts +2 -2
  79. package/build/esm/lib/core/components/Form/types/validators.d.ts +1 -1
  80. package/build/esm/lib/core/components/Form/types/value.d.ts +1 -1
  81. package/build/esm/lib/core/components/Form/types/value.js +1 -1
  82. package/build/esm/lib/core/components/Form/utils/common.d.ts +1 -1
  83. package/build/esm/lib/core/components/Form/utils/search.d.ts +1 -1
  84. package/build/esm/lib/core/components/View/DynamicView.d.ts +2 -2
  85. package/build/esm/lib/core/components/View/ViewController.d.ts +1 -1
  86. package/build/esm/lib/core/components/View/hooks/useComponents.d.ts +2 -2
  87. package/build/esm/lib/core/components/View/hooks/useCreateContext.d.ts +1 -1
  88. package/build/esm/lib/core/components/View/hooks/useRender.d.ts +2 -2
  89. package/build/esm/lib/core/components/View/types/array.d.ts +2 -2
  90. package/build/esm/lib/core/components/View/types/boolean.d.ts +2 -2
  91. package/build/esm/lib/core/components/View/types/config.d.ts +2 -2
  92. package/build/esm/lib/core/components/View/types/context.d.ts +3 -3
  93. package/build/esm/lib/core/components/View/types/layout.d.ts +3 -3
  94. package/build/esm/lib/core/components/View/types/number.d.ts +2 -2
  95. package/build/esm/lib/core/components/View/types/object.d.ts +2 -2
  96. package/build/esm/lib/core/components/View/types/string.d.ts +2 -2
  97. package/build/esm/lib/core/components/View/types/views.d.ts +3 -3
  98. package/build/esm/lib/core/helpers.d.ts +1 -1
  99. package/build/esm/lib/core/types/specs.d.ts +3 -3
  100. package/build/esm/lib/kit/components/AccordeonCard/AccordeonCard.css +1 -1
  101. package/build/esm/lib/kit/components/Card/Card.css +2 -2
  102. package/build/esm/lib/kit/components/CopyButton/CopyButton.css +1 -1
  103. package/build/esm/lib/kit/components/CopyButton/CopyButton.d.ts +1 -1
  104. package/build/esm/lib/kit/components/ErrorWrapper/ErrorWrapper.d.ts +1 -1
  105. package/build/esm/lib/kit/components/GenerateRandomValueButton/GenerateRandomValueButton.d.ts +1 -1
  106. package/build/esm/lib/kit/components/GroupIndent/GroupIndent.css +3 -3
  107. package/build/esm/lib/kit/components/Inputs/ArrayBase/ArrayBase.css +2 -2
  108. package/build/esm/lib/kit/components/Inputs/ArrayBase/ArrayBase.d.ts +1 -1
  109. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.d.ts +1 -1
  110. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.js +1 -1
  111. package/build/esm/lib/kit/components/Inputs/Checkbox/Checkbox.d.ts +2 -2
  112. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.css +3 -3
  113. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  114. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  115. package/build/esm/lib/kit/components/Inputs/DateInput/DateInput.d.ts +2 -2
  116. package/build/esm/lib/kit/components/Inputs/FileInput/FileInput.css +1 -1
  117. package/build/esm/lib/kit/components/Inputs/FileInput/FileInput.d.ts +1 -1
  118. package/build/esm/lib/kit/components/Inputs/FileInput/utils.d.ts +1 -1
  119. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoHeader.css +1 -1
  120. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoInputBase.d.ts +1 -1
  121. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoInputDialog.css +1 -1
  122. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.css +1 -1
  123. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.d.ts +1 -1
  124. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.js +1 -1
  125. package/build/esm/lib/kit/components/Inputs/MultiSelect/MultiSelect.d.ts +2 -2
  126. package/build/esm/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.css +1 -1
  127. package/build/esm/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.d.ts +1 -1
  128. package/build/esm/lib/kit/components/Inputs/NumberWithScale/useInitial.d.ts +1 -1
  129. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.d.ts +1 -1
  130. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.js +1 -1
  131. package/build/esm/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.d.ts +1 -1
  132. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.css +4 -4
  133. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.d.ts +1 -1
  134. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.js +1 -1
  135. package/build/esm/lib/kit/components/Inputs/Secret/Secret.d.ts +1 -1
  136. package/build/esm/lib/kit/components/Inputs/Select/Select.d.ts +2 -2
  137. package/build/esm/lib/kit/components/Inputs/Switch/Switch.d.ts +1 -1
  138. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.css +2 -2
  139. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.d.ts +1 -1
  140. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +1 -1
  141. package/build/esm/lib/kit/components/Inputs/Text/Text.d.ts +2 -2
  142. package/build/esm/lib/kit/components/Inputs/TextArea/TextArea.d.ts +2 -2
  143. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.d.ts +1 -1
  144. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  145. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.d.ts +1 -1
  146. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.js +1 -1
  147. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
  148. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.js +1 -1
  149. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.d.ts +1 -1
  150. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  151. package/build/esm/lib/kit/components/Layouts/Accordeon/Accordeon.d.ts +2 -2
  152. package/build/esm/lib/kit/components/Layouts/AccordeonCard/AccordeonCardForm.d.ts +1 -1
  153. package/build/esm/lib/kit/components/Layouts/CardAccordeon.d.ts +1 -1
  154. package/build/esm/lib/kit/components/Layouts/CardSection.d.ts +1 -1
  155. package/build/esm/lib/kit/components/Layouts/Column/Column.css +4 -4
  156. package/build/esm/lib/kit/components/Layouts/Column/Column.d.ts +1 -1
  157. package/build/esm/lib/kit/components/Layouts/Column/Column.js +2 -2
  158. package/build/esm/lib/kit/components/Layouts/Row/Row.css +6 -6
  159. package/build/esm/lib/kit/components/Layouts/Row/Row.d.ts +1 -1
  160. package/build/esm/lib/kit/components/Layouts/Row/Row.js +2 -2
  161. package/build/esm/lib/kit/components/Layouts/Section/Section.css +2 -2
  162. package/build/esm/lib/kit/components/Layouts/Section/Section.d.ts +1 -1
  163. package/build/esm/lib/kit/components/Layouts/Section/Section.js +2 -2
  164. package/build/esm/lib/kit/components/Layouts/TableCell/TableCell.d.ts +1 -1
  165. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.css +2 -2
  166. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.d.ts +1 -1
  167. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.js +1 -1
  168. package/build/esm/lib/kit/components/LongValue/LongValue.js +2 -4
  169. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.css +4 -4
  170. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.d.ts +1 -1
  171. package/build/esm/lib/kit/components/TogglerCard/TogglerCard.css +2 -2
  172. package/build/esm/lib/kit/components/TogglerCard/TogglerCard.js +1 -1
  173. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeon/ViewAccordeon.d.ts +2 -2
  174. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeonCard/ViewAccordeonCard.d.ts +1 -1
  175. package/build/esm/lib/kit/components/ViewLayouts/ViewCardAccordeon.d.ts +1 -1
  176. package/build/esm/lib/kit/components/ViewLayouts/ViewCardSection.d.ts +1 -1
  177. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.css +1 -1
  178. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.d.ts +1 -1
  179. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +1 -1
  180. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.css +1 -1
  181. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.d.ts +1 -1
  182. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +1 -1
  183. package/build/esm/lib/kit/components/ViewLayouts/ViewSection/ViewSection.d.ts +1 -1
  184. package/build/esm/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.css +1 -1
  185. package/build/esm/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.d.ts +1 -1
  186. package/build/esm/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.d.ts +1 -1
  187. package/build/esm/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.css +1 -1
  188. package/build/esm/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.d.ts +1 -1
  189. package/build/esm/lib/kit/components/Views/BaseView/BaseView.d.ts +1 -1
  190. package/build/esm/lib/kit/components/Views/CardOneOfView.d.ts +1 -1
  191. package/build/esm/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.css +2 -2
  192. package/build/esm/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.d.ts +1 -1
  193. package/build/esm/lib/kit/components/Views/DateView/DateView.d.ts +1 -1
  194. package/build/esm/lib/kit/components/Views/DateView/DateView.js +1 -1
  195. package/build/esm/lib/kit/components/Views/FileInputView/FileInputView.d.ts +1 -1
  196. package/build/esm/lib/kit/components/Views/MonacoInputView/MonacoBaseView.d.ts +1 -1
  197. package/build/esm/lib/kit/components/Views/MonacoInputView/MonacoViewDialog.css +1 -1
  198. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.d.ts +1 -1
  199. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  200. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.d.ts +1 -1
  201. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  202. package/build/esm/lib/kit/components/Views/NumberWithScaleView/NumberWithScaleView.d.ts +1 -1
  203. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.d.ts +1 -1
  204. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  205. package/build/esm/lib/kit/components/Views/ObjectValueInputView/ObjectValueInputView.d.ts +1 -1
  206. package/build/esm/lib/kit/components/Views/OneOfView/OneOfView.d.ts +1 -1
  207. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.css +1 -1
  208. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.d.ts +1 -1
  209. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.js +1 -1
  210. package/build/esm/lib/kit/components/Views/TextAreaView/TextAreaView.css +1 -1
  211. package/build/esm/lib/kit/components/Views/TextAreaView/TextAreaView.d.ts +1 -1
  212. package/build/esm/lib/kit/components/Views/TextContentView.d.ts +1 -1
  213. package/build/esm/lib/kit/components/Views/TextLinkView/TextLinkView.d.ts +1 -1
  214. package/build/esm/lib/kit/components/Views/TimeRangeSelectorView/TimeRangeSelectorView.d.ts +1 -1
  215. package/build/esm/lib/kit/constants/config.d.ts +1 -1
  216. package/build/esm/lib/kit/hooks/useErrorChecker.d.ts +1 -1
  217. package/build/esm/lib/kit/hooks/useOneOf/useOneOf.css +1 -1
  218. package/build/esm/lib/kit/hooks/useOneOf/useOneOf.d.ts +1 -1
  219. package/build/esm/lib/kit/utils/common.d.ts +1 -1
  220. package/build/esm/lib/kit/utils/common.js +2 -2
  221. package/build/esm/lib/kit/utils/objectInline.d.ts +1 -1
  222. package/build/esm/lib/kit/validators/validators.d.ts +2 -2
  223. package/package.json +10 -9
@@ -1,7 +1,7 @@
1
1
  import type { AlertProps, LabelProps } from '@gravity-ui/uikit';
2
- import { ColorTextBaseProps } from '@gravity-ui/uikit/build/esm/components/Text/colorText/colorText';
3
- import { ReadAsMethod, SpecTypes } from '../constants';
4
- import { ArrayValue, ObjectValue } from './';
2
+ import type { ColorTextBaseProps } from '@gravity-ui/uikit/build/esm/components/Text/colorText/colorText';
3
+ import type { ReadAsMethod, SpecTypes } from '../constants';
4
+ import type { ArrayValue, ObjectValue } from './';
5
5
  export interface ArraySpec<LinkType = any, InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> {
6
6
  defaultValue?: ArrayValue;
7
7
  type: SpecTypes.Array;
@@ -88,7 +88,7 @@
88
88
  order: 1;
89
89
  }
90
90
  .df-accordeon-card__interal-actions {
91
- margin-right: var(--df-accordeon-card-interal-actions-margin-right, 5px);
91
+ margin-right: var(--df-accordeon-card-interal-actions-margin-right, var(--g-spacing-1));
92
92
  }
93
93
  .df-accordeon-card__toggle-icon_open {
94
94
  transform: rotate(180deg);
@@ -64,7 +64,7 @@
64
64
  align-items: center;
65
65
  }
66
66
  .df-card__header-right > * {
67
- margin-left: var(--df-card-header-right-child-margin-left, 10px);
67
+ margin-left: var(--df-card-header-right-child-margin-left, var(--g-spacing-2));
68
68
  }
69
69
  .df-card__title {
70
70
  max-width: var(--df-card-title-max-width, 533px);
@@ -76,7 +76,7 @@
76
76
  max-width: 300px;
77
77
  }
78
78
  .df-card__note {
79
- margin-left: var(--df-card-note-margin-left, 5px);
79
+ margin-left: var(--df-card-note-margin-left, var(--g-spacing-1));
80
80
  }
81
81
  .df-card__note .gc-help-popover {
82
82
  display: flex;
@@ -21,7 +21,7 @@
21
21
  width: 20px;
22
22
  display: none;
23
23
  position: relative;
24
- margin: -1px 0 0 5px;
24
+ margin: var(--df-copy-button-margin, var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-1));
25
25
  }
26
26
  .df-copy-button__button {
27
27
  position: absolute;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { FormValue, Spec } from '../../../core';
2
+ import type { FormValue, Spec } from '../../../core';
3
3
  import './CopyButton.css';
4
4
  export interface CopyButtonProps {
5
5
  spec: Spec;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { FieldRenderProps, FieldValue } from '../../../core';
2
+ import type { FieldRenderProps, FieldValue } from '../../../core';
3
3
  import './ErrorWrapper.css';
4
4
  export interface ErrorWrapperProps {
5
5
  children: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { StringSpec } from '../../../core/types';
2
+ import type { StringSpec } from '../../../core/types';
3
3
  import './GenerateRandomValueButton.css';
4
4
  interface GenerateRandomValueButtonProps {
5
5
  spec: StringSpec;
@@ -18,8 +18,8 @@
18
18
  */
19
19
  /* Border-radius */
20
20
  .df-group-indent {
21
- padding: var(--df-group-indent-padding, 11px var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-5));
22
- margin: var(--df-group-indent-margin, -11px var(--g-spacing-0) var(--g-spacing-0) 5px);
21
+ padding: var(--df-group-indent-padding, var(--g-spacing-3) var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-5));
22
+ margin: var(--df-group-indent-margin, calc(-1 * var(--g-spacing-3)) var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-1));
23
23
  border-left: 1px solid var(--g-color-line-generic-accent);
24
24
  }
25
25
  .df-group-indent:last-child {
@@ -29,5 +29,5 @@
29
29
  display: none;
30
30
  }
31
31
  .df-group-indent > .df-simple-vertical-accordeon_view {
32
- margin-top: var(--df-group-indent-simple-vertical-accordeon-view-margin-top, -10px);
32
+ margin-top: var(--df-group-indent-simple-vertical-accordeon-view-margin-top, calc(-1 * var(--g-spacing-3)));
33
33
  }
@@ -25,7 +25,7 @@
25
25
  align-items: flex-end;
26
26
  }
27
27
  .df-array-base__items-wrapper_add-button-down {
28
- margin-bottom: var(--df-spacing-inputs, 15px);
28
+ margin-bottom: var(--df-spacing-inputs, var(--g-spacing-4));
29
29
  }
30
30
  .df-array-base__items-wrapper_items-primitive {
31
31
  min-width: var(--df-array-base-items-primitive-min-width, 100%);
@@ -34,7 +34,7 @@
34
34
  min-width: unset;
35
35
  }
36
36
  .df-array-base__item-prefix {
37
- margin: var(--df-array-base-item-prefix-margin, -7px var(--g-spacing-0) var(--g-spacing-2));
37
+ margin: var(--df-array-base-item-prefix-margin, calc(-1 * var(--g-spacing-2)) var(--g-spacing-0) var(--g-spacing-2));
38
38
  }
39
39
  .df-array-base__add-button_right {
40
40
  margin-left: var(--df-array-base-add-button-right-margin-left, var(--g-spacing-1));
@@ -1,3 +1,3 @@
1
- import { ArrayInput } from '../../../../core';
1
+ import type { ArrayInput } from '../../../../core';
2
2
  import './ArrayBase.css';
3
3
  export declare const ArrayBase: ArrayInput;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const CardOneOf: ObjectIndependentInput;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import set from 'lodash/set';
3
3
  import { Card } from '../../';
4
- import { Controller, isArrayItem, } from '../../../../core';
4
+ import { Controller, isArrayItem } from '../../../../core';
5
5
  import { useErrorChecker, useOneOf } from '../../../hooks';
6
6
  import { Row } from '../../Layouts';
7
7
  import { RemoveButton } from '../../RemoveButton';
@@ -1,5 +1,5 @@
1
- import { CheckboxProps as CheckboxBaseProps } from '@gravity-ui/uikit';
2
- import { BooleanInput } from '../../../../core';
1
+ import type { CheckboxProps as CheckboxBaseProps } from '@gravity-ui/uikit';
2
+ import type { BooleanInput } from '../../../../core';
3
3
  import './Checkbox.css';
4
4
  export interface CheckboxProps extends Omit<CheckboxBaseProps, 'checked' | 'onChange' | 'onBlur' | 'onFocus' | 'disabled' | 'qa'> {
5
5
  }
@@ -23,10 +23,10 @@
23
23
  height: var(--df-checkbox-height, 28px);
24
24
  }
25
25
  .df-checkbox-group .g-control-label__text {
26
- margin-inline-start: var(--df-checkbox-margint-start, 5px);
26
+ margin-inline-start: var(--df-checkbox-margint-start, var(--g-spacing-1));
27
27
  }
28
28
  .df-checkbox-group > *:not(:last-child) {
29
- margin-right: var(--df-checkbox-group-child-margin-right, 6px);
29
+ margin-right: var(--df-checkbox-group-child-margin-right, var(--g-spacing-3));
30
30
  }
31
31
  .df-checkbox-group_vertical {
32
32
  flex-direction: column;
@@ -35,5 +35,5 @@
35
35
  height: auto;
36
36
  }
37
37
  .df-checkbox-group_vertical > *:not(:last-child) {
38
- margin: var(--df-checkbox-group-vertical-child-margin, var(--g-spacing-0) var(--g-spacing-0) 6px);
38
+ margin: var(--df-checkbox-group-vertical-child-margin, var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-2));
39
39
  }
@@ -1,5 +1,5 @@
1
- import { ArrayInput } from '../../../../core';
2
1
  import { type CheckboxProps as CheckboxBaseProps } from '@gravity-ui/uikit';
2
+ import type { ArrayInput } from '../../../../core';
3
3
  import './CheckboxGroup.css';
4
4
  export interface CheckboxGroupProps extends Omit<CheckboxBaseProps, 'checked' | 'onChange' | 'onBlur' | 'onFocus' | 'disabled' | 'qa' | 'content'> {
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { transformArrIn, transformArrOut } from '../../../../core';
3
2
  import { Checkbox } from '@gravity-ui/uikit';
3
+ import { transformArrIn, transformArrOut } from '../../../../core';
4
4
  import { block } from '../../../utils';
5
5
  import './CheckboxGroup.css';
6
6
  const b = block('checkbox-group');
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { DatePickerProps } from '@gravity-ui/date-components';
3
- import { StringInputProps } from '../../../../core';
2
+ import type { DatePickerProps } from '@gravity-ui/date-components';
3
+ import type { StringInputProps } from '../../../../core';
4
4
  import './DateInput.css';
5
5
  export declare const DEFAULT_DATE_FORMAT = "DD.MM.YYYY HH:mm";
6
6
  export interface DateProps extends Omit<DatePickerProps, 'value' | 'disabled' | 'placeholder' | 'qa'> {
@@ -25,6 +25,6 @@
25
25
  }
26
26
  .df-file-input__file-name {
27
27
  display: block;
28
- margin: var(--df-file-input-file-name-margin, auto 10px);
28
+ margin: var(--df-file-input-file-name-margin, auto var(--g-spacing-2));
29
29
  max-width: var(--df-file-input-file-name-max-width, 160px);
30
30
  }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { StringInputProps } from '../../../../core';
2
+ import type { StringInputProps } from '../../../../core';
3
3
  import './FileInput.css';
4
4
  export declare const FileInput: React.FC<StringInputProps>;
@@ -1,2 +1,2 @@
1
- import { ReadAsMethod } from '../../../../core';
1
+ import type { ReadAsMethod } from '../../../../core';
2
2
  export declare function readFile(file: Blob, readAsMethod?: ReadAsMethod): Promise<string | ArrayBuffer | null>;
@@ -21,7 +21,7 @@
21
21
  height: var(--df-monaco-header-height, 52px);
22
22
  display: flex;
23
23
  justify-content: space-between;
24
- padding: var(--df-monaco-header-padding, 15px);
24
+ padding: var(--df-monaco-header-padding, var(--g-spacing-4));
25
25
  align-items: center;
26
26
  background-color: var(--g-color-base-float-hover);
27
27
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { MonacoEditorProps } from 'react-monaco-editor/lib/types';
3
- import { StringInputProps } from '../../../../core/';
3
+ import type { StringInputProps } from '../../../../core/';
4
4
  import './MonacoInputBase.css';
5
5
  export interface MonacoInputBaseProps extends StringInputProps {
6
6
  MonacoComponent?: React.ComponentType<MonacoEditorProps>;
@@ -18,7 +18,7 @@
18
18
  */
19
19
  /* Border-radius */
20
20
  .df-monaco-input-dialog .g-dialog-footer {
21
- padding: var(--df-monaco-input-dialog-dialog-footer-padding, 6px var(--g-spacing-8) var(--g-spacing-8));
21
+ padding: var(--df-monaco-input-dialog-dialog-footer-padding, var(--g-spacing-2) var(--g-spacing-8) var(--g-spacing-8));
22
22
  }
23
23
  .df-monaco-input-dialog__container {
24
24
  border: 1px solid var(--g-color-line-generic);
@@ -26,7 +26,7 @@
26
26
  padding: var(--df-multi-oneof-content-flat-padding, var(--g-spacing-0));
27
27
  }
28
28
  .df-multi-oneof__content_flat > .df-group-indent > .df-use-search {
29
- margin-top: var(--df-spacing-inputs, 15px);
29
+ margin-top: var(--df-spacing-inputs, var(--g-spacing-4));
30
30
  }
31
31
  .df-multi-oneof__content_flat > .df-group-indent > .df-use-search:empty {
32
32
  display: none;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
2
+ import type { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
3
3
  import './MultiOneOf.css';
4
4
  export interface MultiOneOfProps extends ObjectIndependentInputProps {
5
5
  withoutIndent?: boolean;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Select } from '@gravity-ui/uikit';
3
3
  import isObjectLike from 'lodash/isObjectLike';
4
4
  import set from 'lodash/set';
5
- import { Controller, } from '../../../../core';
5
+ import { Controller } from '../../../../core';
6
6
  import { block } from '../../../utils';
7
7
  import { GroupIndent } from '../../GroupIndent';
8
8
  import './MultiOneOf.css';
@@ -1,5 +1,5 @@
1
- import { SelectProps as SelectBaseProps } from '@gravity-ui/uikit';
2
- import { ArrayInput } from '../../../../core';
1
+ import type { SelectProps as SelectBaseProps } from '@gravity-ui/uikit';
2
+ import type { ArrayInput } from '../../../../core';
3
3
  import './MultiSelect.css';
4
4
  export interface MultiSelectProps extends Omit<SelectBaseProps, 'onUpdate' | 'value' | 'onOpenChange' | 'disabled' | 'placeholder' | 'filterPlaceholder' | 'multiple' | 'qa'> {
5
5
  withCustomOptions?: boolean;
@@ -22,5 +22,5 @@
22
22
  }
23
23
  .df-number-with-scale__select {
24
24
  max-width: var(--df-number-with-scale-select-max-width, 102px);
25
- margin-left: var(--df-number-with-scale-select-margin-left, 5px);
25
+ margin-left: var(--df-number-with-scale-select-margin-left, var(--g-spacing-1));
26
26
  }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { StringInputProps } from '../../../../core';
2
+ import type { StringInputProps } from '../../../../core';
3
3
  import './NumberWithScale.css';
4
4
  export declare const NumberWithScale: React.FC<StringInputProps>;
@@ -1,4 +1,4 @@
1
- import { StringSpec } from '../../../../core';
1
+ import type { StringSpec } from '../../../../core';
2
2
  export declare const useInitial: (value: string, spec: StringSpec, deps?: any[]) => {
3
3
  initialType: string;
4
4
  initialValue: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
2
+ import type { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
3
3
  import './ObjectBase.css';
4
4
  export interface ObjectBaseProps extends ObjectIndependentInputProps {
5
5
  inline?: boolean;
@@ -4,7 +4,7 @@ import { Plus } from '@gravity-ui/icons';
4
4
  import { Button, Icon, Text } from '@gravity-ui/uikit';
5
5
  import isObjectLike from 'lodash/isObjectLike';
6
6
  import set from 'lodash/set';
7
- import { Controller, transformArrIn, } from '../../../../core';
7
+ import { Controller, transformArrIn } from '../../../../core';
8
8
  import { block, filterPropertiesForObjectInline } from '../../../utils';
9
9
  import './ObjectBase.css';
10
10
  const b = block('object-base');
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const ObjectValueInput: ObjectIndependentInput;
@@ -28,8 +28,8 @@
28
28
  all: unset;
29
29
  }
30
30
  .df-oneof_base > .df-group-indent > .df-use-search {
31
- padding: var(--df-oneof-base-padding, 11px var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-5));
32
- margin: var(--df-oneof-base-margin, var(--g-spacing-1) var(--g-spacing-0) var(--g-spacing-5) 5px);
31
+ padding: var(--df-oneof-base-padding, var(--g-spacing-3) var(--g-spacing-0) var(--g-spacing-0) var(--g-spacing-5));
32
+ margin: var(--df-oneof-base-margin, var(--g-spacing-1) var(--g-spacing-0) var(--g-spacing-5) var(--g-spacing-1));
33
33
  border-left: 1px solid var(--g-color-line-generic-accent);
34
34
  }
35
35
  .df-oneof_base > .df-group-indent > .df-use-search:empty {
@@ -39,7 +39,7 @@
39
39
  margin-bottom: var(--df-spacing-last-child, var(--g-spacing-0));
40
40
  }
41
41
  .df-oneof_base > .df-group-indent > .df-use-search > .df-simple-vertical-accordeon_view {
42
- margin-top: var(--df-oneof-base-simple-vertical-accordeon-margin-top, -10px);
42
+ margin-top: var(--df-oneof-base-simple-vertical-accordeon-margin-top, calc(-1 * var(--g-spacing-3)));
43
43
  }
44
44
  .df-oneof_flat > .df-group-indent {
45
45
  margin: var(--df-oneof-flat-margin, var(--g-spacing-0));
@@ -47,7 +47,7 @@
47
47
  padding: var(--df-oneof-flat-padding, var(--g-spacing-0));
48
48
  }
49
49
  .df-oneof_flat > .df-group-indent > .df-use-search {
50
- margin-top: var(--df-spacing-inputs, 15px);
50
+ margin-top: var(--df-spacing-inputs, var(--g-spacing-4));
51
51
  }
52
52
  .df-oneof_flat > .df-group-indent > .df-use-search:empty {
53
53
  display: none;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
2
+ import type { ObjectIndependentInput, ObjectIndependentInputProps } from '../../../../core';
3
3
  import './OneOf.css';
4
4
  export interface OneOfProps extends ObjectIndependentInputProps {
5
5
  withoutIndent?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import set from 'lodash/set';
3
3
  import { GroupIndent } from '../../';
4
- import { Controller, } from '../../../../core';
4
+ import { Controller } from '../../../../core';
5
5
  import { useOneOf } from '../../../hooks';
6
6
  import { block } from '../../../utils';
7
7
  import './OneOf.css';
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const Secret: ObjectIndependentInput;
@@ -1,5 +1,5 @@
1
- import { SelectProps as SelectBaseProps } from '@gravity-ui/uikit';
2
- import { StringInput } from '../../../../core';
1
+ import type { SelectProps as SelectBaseProps } from '@gravity-ui/uikit';
2
+ import type { StringInput } from '../../../../core';
3
3
  import './Select.css';
4
4
  export interface SelectProps extends Omit<SelectBaseProps, 'onUpdate' | 'value' | 'onOpenChange' | 'disabled' | 'placeholder' | 'filterPlaceholder' | 'multiple' | 'qa'> {
5
5
  withCustomOptions?: boolean;
@@ -1,3 +1,3 @@
1
- import { BooleanInput } from '../../../../core';
1
+ import type { BooleanInput } from '../../../../core';
2
2
  import './Switch.css';
3
3
  export declare const Switch: BooleanInput;
@@ -18,7 +18,7 @@
18
18
  */
19
19
  /* Border-radius */
20
20
  .df-table-array__table {
21
- margin-bottom: var(--df-table-array-table-margin-bottom, 10px);
21
+ margin-bottom: var(--df-table-array-table-margin-bottom, var(--g-spacing-2));
22
22
  }
23
23
  .df-table-array__table .g-table__cell {
24
24
  border-bottom: 0px transparent;
@@ -40,7 +40,7 @@
40
40
  min-width: var(--df-table-array-cell-min-width, 150px);
41
41
  }
42
42
  .df-table-array__cell_arr, .df-table-array__cell_obj {
43
- padding-left: var(--df-table-array-cell-obj-padding-left, 3px);
43
+ padding-left: var(--df-table-array-cell-obj-padding-left, var(--g-spacing-half));
44
44
  }
45
45
  .df-table-array__cell_arr .yc-text-input,
46
46
  .df-table-array__cell_arr .g-text-input,
@@ -1,3 +1,3 @@
1
- import { ArrayInput } from '../../../../core';
1
+ import type { ArrayInput } from '../../../../core';
2
2
  import './TableArrayInput.css';
3
3
  export declare const TableArrayInput: ArrayInput;
@@ -5,8 +5,8 @@ import noop from 'lodash/noop';
5
5
  import set from 'lodash/set';
6
6
  import { Controller, OBJECT_ARRAY_CNT, OBJECT_ARRAY_FLAG, isArraySpec, isBooleanSpec, isObjectSpec, transformArrIn, } from '../../../../core';
7
7
  import { useSearchContext } from '../../../../core/components/Form/hooks';
8
- import { block } from '../../../utils';
9
8
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
9
+ import { block } from '../../../utils';
10
10
  import './TableArrayInput.css';
11
11
  const b = block('table-array');
12
12
  export const TableArrayInput = ({ spec, name, arrayInput, input }) => {
@@ -1,5 +1,5 @@
1
- import { TextInputProps as TextInputBaseProps } from '@gravity-ui/uikit';
2
- import { NumberInputProps, StringInputProps } from '../../../../core';
1
+ import type { TextInputProps as TextInputBaseProps } from '@gravity-ui/uikit';
2
+ import type { NumberInputProps, StringInputProps } from '../../../../core';
3
3
  export interface TextProps extends Omit<TextInputBaseProps, 'value' | 'onBlur' | 'onFocus' | 'onUpdate' | 'disabled' | 'placeholder' | 'qa'> {
4
4
  }
5
5
  export declare const Text: <T extends NumberInputProps<TextProps> | StringInputProps<TextProps>>({ name, input: { value, onBlur, onChange, onFocus }, spec, inputProps, }: T) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { TextAreaProps as TextAreaBaseProps } from '@gravity-ui/uikit';
2
- import { StringInput } from '../../../../core';
1
+ import type { TextAreaProps as TextAreaBaseProps } from '@gravity-ui/uikit';
2
+ import type { StringInput } from '../../../../core';
3
3
  export interface TextAreaProps extends Omit<TextAreaBaseProps, 'value' | 'onBlur' | 'onFocus' | 'onUpdate' | 'disabled' | 'placeholder' | 'qa'> {
4
4
  }
5
5
  export declare const TextArea: StringInput<TextAreaProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { StringIndependentInput, StringSpec } from '../../../../core';
2
+ import type { StringIndependentInput, StringSpec } from '../../../../core';
3
3
  import './TextContent.css';
4
4
  export interface TextContentComponentProps {
5
5
  spec: StringSpec;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { isEmpty } from 'lodash';
3
2
  import { Alert, Label, Text } from '@gravity-ui/uikit';
3
+ import { isEmpty } from 'lodash';
4
4
  import cloneDeep from 'lodash/cloneDeep';
5
5
  import { block } from '../../../utils';
6
6
  import { LazyLoader } from '../../LazyLoader';
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const TextLink: ObjectIndependentInput;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cloneDeep from 'lodash/cloneDeep';
3
3
  import set from 'lodash/set';
4
- import { Controller, isStringSpec, } from '../../../../core';
4
+ import { Controller, isStringSpec } from '../../../../core';
5
5
  const TEXT_LINK_PROPERTY_NAME = 'text';
6
6
  export const TextLink = (props) => {
7
7
  var _a;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const TimeRangeSelector: ObjectIndependentInput;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Text } from '@gravity-ui/uikit';
3
3
  import isString from 'lodash/isString';
4
4
  import set from 'lodash/set';
5
- import { isStringSpec, } from '../../../../core';
5
+ import { isStringSpec } from '../../../../core';
6
6
  import { END_TIME, START_TIME } from '../../../constants/common';
7
7
  import { TimeRangeSelect } from './components';
8
8
  import { filterTimeArray, validateArray } from './utils';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type SelectOption } from '@gravity-ui/uikit';
3
- import { FieldObjectValue, FieldValue, IndependentInputProps, ObjectSpec, StringSpec } from '../../../../../../core';
3
+ import type { FieldObjectValue, FieldValue, IndependentInputProps, ObjectSpec, StringSpec } from '../../../../../../core';
4
4
  import './TimeRangeSelect.css';
5
5
  interface TimeRangeSelectProps {
6
6
  spec: StringSpec<any, undefined, undefined>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import isString from 'lodash/isString';
3
2
  import { Select } from '@gravity-ui/uikit';
3
+ import isString from 'lodash/isString';
4
4
  import { block } from '../../../../../utils';
5
5
  import { Row } from '../../../../Layouts/Row';
6
6
  import './TimeRangeSelect.css';
@@ -1,5 +1,5 @@
1
- import { TextProps } from '@gravity-ui/uikit';
2
- import { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
1
+ import type { TextProps } from '@gravity-ui/uikit';
2
+ import type { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
3
3
  interface AccordeonLayoutProps {
4
4
  variantTitle?: TextProps['variant'];
5
5
  }
@@ -1,3 +1,3 @@
1
- import { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
1
+ import type { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
2
2
  import './AccordeonCardForm.css';
3
3
  export declare const AccordeonCardForm: <T extends ArrayLayoutProps<undefined, undefined> | ObjectLayoutProps<undefined, undefined>>({ name, spec, input, children, meta, }: T) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../core';
2
2
  export declare const CardAccordeon: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, spec, input, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../core';
2
2
  export declare const CardSection: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, spec, input, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -18,7 +18,7 @@
18
18
  */
19
19
  /* Border-radius */
20
20
  .df-column {
21
- margin-bottom: var(--df-spacing-inputs, 15px);
21
+ margin-bottom: var(--df-spacing-inputs, var(--g-spacing-4));
22
22
  }
23
23
  .df-column:last-child {
24
24
  margin-bottom: var(--df-spacing-last-child, var(--g-spacing-0));
@@ -42,7 +42,7 @@
42
42
  }
43
43
  .df-column__title {
44
44
  word-break: break-word;
45
- margin-right: var(--df-column-title-margin-right, 3px);
45
+ margin-right: var(--df-column-title-margin-right, var(--g-spacing-half));
46
46
  }
47
47
  .df-column__title_required::after {
48
48
  content: "*";
@@ -53,7 +53,7 @@
53
53
  }
54
54
  .df-column__note-inner {
55
55
  position: absolute;
56
- margin-top: var(--df-column-note-inner-margin-top, 1px);
56
+ margin-top: var(--df-column-note-inner-margin-top, var(--g-spacing-0));
57
57
  }
58
58
  .df-column__note-inner .g-help-popover {
59
59
  display: flex;
@@ -71,7 +71,7 @@
71
71
  justify-content: space-around;
72
72
  }
73
73
  .df-column__remove-button {
74
- margin-left: var(--df-remove-button-margin-left, 5px);
74
+ margin-left: var(--df-remove-button-margin-left, var(--g-spacing-1));
75
75
  }
76
76
  .df-column__required-mark {
77
77
  color: var(--g-color-text-danger);
@@ -1,3 +1,3 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../../core';
2
2
  import './Column.css';
3
3
  export declare const Column: <T extends FieldValue, S extends Spec<any, undefined, undefined>>(props: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { TrashBin } from '@gravity-ui/icons';
3
3
  import { Button, HelpMark, Icon, Text } from '@gravity-ui/uikit';
4
- import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton, } from '../../../../core';
4
+ import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton } from '../../../../core';
5
5
  import { ErrorWrapper, GenerateRandomValueButton } from '../../../components';
6
- import { block } from '../../../utils';
7
6
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
7
+ import { block } from '../../../utils';
8
8
  import './Column.css';
9
9
  const b = block('column');
10
10
  const ColumnBase = ({ name, spec, input, meta, children, }) => {