@gravity-ui/dynamic-forms 5.1.0 → 5.3.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 (177) 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/types/value.js +0 -1
  4. package/build/cjs/lib/kit/components/Card/Card.js +3 -1
  5. package/build/cjs/lib/kit/components/ErrorWrapper/ErrorWrapper.css +1 -1
  6. package/build/cjs/lib/kit/components/HTMLContent/HTMLContent.js +9 -0
  7. package/build/cjs/lib/kit/components/HTMLContent/index.js +4 -0
  8. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  9. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +4 -2
  10. package/build/cjs/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  11. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  12. package/build/cjs/lib/kit/components/Layouts/Column/Column.js +4 -2
  13. package/build/cjs/lib/kit/components/Layouts/Row/Row.js +4 -2
  14. package/build/cjs/lib/kit/components/Layouts/Section/Section.js +4 -2
  15. package/build/cjs/lib/kit/components/LongValue/LongValue.js +2 -4
  16. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +3 -1
  17. package/build/cjs/lib/kit/components/TogglerCard/TogglerCard.js +4 -2
  18. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +4 -2
  19. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +4 -2
  20. package/build/cjs/lib/kit/components/Views/DateView/DateView.js +1 -1
  21. package/build/cjs/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  22. package/build/cjs/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  23. package/build/cjs/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  24. package/build/cjs/lib/kit/components/Views/TableArrayView/TableArrayView.js +4 -2
  25. package/build/cjs/lib/kit/utils/common.js +1 -1
  26. package/build/esm/lib/core/components/Form/Controller/Controller.d.ts +2 -2
  27. package/build/esm/lib/core/components/Form/Controller/types.d.ts +2 -2
  28. package/build/esm/lib/core/components/Form/Controller/utils.d.ts +3 -3
  29. package/build/esm/lib/core/components/Form/DynamicField.d.ts +3 -2
  30. package/build/esm/lib/core/components/Form/DynamicField.js +7 -2
  31. package/build/esm/lib/core/components/Form/hooks/useControllerMirror.d.ts +1 -1
  32. package/build/esm/lib/core/components/Form/hooks/useCreateContext.d.ts +1 -1
  33. package/build/esm/lib/core/components/Form/hooks/useCreateSearchContext.d.ts +1 -1
  34. package/build/esm/lib/core/components/Form/hooks/useDynamicFieldMirror.d.ts +1 -1
  35. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.d.ts +9 -2
  36. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.js +3 -2
  37. package/build/esm/lib/core/components/Form/hooks/useMutators.d.ts +1 -1
  38. package/build/esm/lib/core/components/Form/hooks/useSearch/useSearch.d.ts +2 -2
  39. package/build/esm/lib/core/components/Form/hooks/useStore.d.ts +1 -1
  40. package/build/esm/lib/core/components/Form/types/array.d.ts +2 -2
  41. package/build/esm/lib/core/components/Form/types/boolean.d.ts +2 -2
  42. package/build/esm/lib/core/components/Form/types/config.d.ts +2 -2
  43. package/build/esm/lib/core/components/Form/types/context.d.ts +3 -3
  44. package/build/esm/lib/core/components/Form/types/field.d.ts +2 -2
  45. package/build/esm/lib/core/components/Form/types/input.d.ts +3 -3
  46. package/build/esm/lib/core/components/Form/types/layout.d.ts +3 -3
  47. package/build/esm/lib/core/components/Form/types/mirror.d.ts +2 -2
  48. package/build/esm/lib/core/components/Form/types/mutators.d.ts +2 -2
  49. package/build/esm/lib/core/components/Form/types/number.d.ts +2 -2
  50. package/build/esm/lib/core/components/Form/types/object.d.ts +2 -2
  51. package/build/esm/lib/core/components/Form/types/search.d.ts +2 -2
  52. package/build/esm/lib/core/components/Form/types/store.d.ts +1 -1
  53. package/build/esm/lib/core/components/Form/types/string.d.ts +2 -2
  54. package/build/esm/lib/core/components/Form/types/validators.d.ts +1 -1
  55. package/build/esm/lib/core/components/Form/types/value.d.ts +1 -1
  56. package/build/esm/lib/core/components/Form/types/value.js +1 -1
  57. package/build/esm/lib/core/components/Form/utils/common.d.ts +1 -1
  58. package/build/esm/lib/core/components/Form/utils/search.d.ts +1 -1
  59. package/build/esm/lib/core/components/View/DynamicView.d.ts +2 -2
  60. package/build/esm/lib/core/components/View/ViewController.d.ts +1 -1
  61. package/build/esm/lib/core/components/View/hooks/useComponents.d.ts +2 -2
  62. package/build/esm/lib/core/components/View/hooks/useCreateContext.d.ts +1 -1
  63. package/build/esm/lib/core/components/View/hooks/useRender.d.ts +2 -2
  64. package/build/esm/lib/core/components/View/types/array.d.ts +2 -2
  65. package/build/esm/lib/core/components/View/types/boolean.d.ts +2 -2
  66. package/build/esm/lib/core/components/View/types/config.d.ts +2 -2
  67. package/build/esm/lib/core/components/View/types/context.d.ts +3 -3
  68. package/build/esm/lib/core/components/View/types/layout.d.ts +3 -3
  69. package/build/esm/lib/core/components/View/types/number.d.ts +2 -2
  70. package/build/esm/lib/core/components/View/types/object.d.ts +2 -2
  71. package/build/esm/lib/core/components/View/types/string.d.ts +2 -2
  72. package/build/esm/lib/core/components/View/types/views.d.ts +3 -3
  73. package/build/esm/lib/core/helpers.d.ts +1 -1
  74. package/build/esm/lib/core/types/specs.d.ts +3 -3
  75. package/build/esm/lib/kit/components/Card/Card.js +3 -1
  76. package/build/esm/lib/kit/components/CopyButton/CopyButton.d.ts +1 -1
  77. package/build/esm/lib/kit/components/ErrorWrapper/ErrorWrapper.css +1 -1
  78. package/build/esm/lib/kit/components/ErrorWrapper/ErrorWrapper.d.ts +1 -1
  79. package/build/esm/lib/kit/components/GenerateRandomValueButton/GenerateRandomValueButton.d.ts +1 -1
  80. package/build/esm/lib/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  81. package/build/esm/lib/kit/components/HTMLContent/HTMLContent.js +4 -0
  82. package/build/esm/lib/kit/components/HTMLContent/index.d.ts +1 -0
  83. package/build/esm/lib/kit/components/HTMLContent/index.js +1 -0
  84. package/build/esm/lib/kit/components/Inputs/ArrayBase/ArrayBase.d.ts +1 -1
  85. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.d.ts +1 -1
  86. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.js +1 -1
  87. package/build/esm/lib/kit/components/Inputs/Checkbox/Checkbox.d.ts +2 -2
  88. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  89. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  90. package/build/esm/lib/kit/components/Inputs/DateInput/DateInput.d.ts +2 -2
  91. package/build/esm/lib/kit/components/Inputs/FileInput/FileInput.d.ts +1 -1
  92. package/build/esm/lib/kit/components/Inputs/FileInput/utils.d.ts +1 -1
  93. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoInputBase.d.ts +1 -1
  94. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.d.ts +1 -1
  95. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.js +1 -1
  96. package/build/esm/lib/kit/components/Inputs/MultiSelect/MultiSelect.d.ts +2 -2
  97. package/build/esm/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.d.ts +1 -1
  98. package/build/esm/lib/kit/components/Inputs/NumberWithScale/useInitial.d.ts +1 -1
  99. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.d.ts +1 -1
  100. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.js +1 -1
  101. package/build/esm/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.d.ts +1 -1
  102. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.d.ts +1 -1
  103. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.js +1 -1
  104. package/build/esm/lib/kit/components/Inputs/Secret/Secret.d.ts +1 -1
  105. package/build/esm/lib/kit/components/Inputs/Select/Select.d.ts +2 -2
  106. package/build/esm/lib/kit/components/Inputs/Switch/Switch.d.ts +1 -1
  107. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.d.ts +1 -1
  108. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +4 -2
  109. package/build/esm/lib/kit/components/Inputs/Text/Text.d.ts +2 -2
  110. package/build/esm/lib/kit/components/Inputs/TextArea/TextArea.d.ts +2 -2
  111. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.d.ts +1 -1
  112. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  113. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.d.ts +1 -1
  114. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.js +1 -1
  115. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
  116. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.js +1 -1
  117. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.d.ts +1 -1
  118. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  119. package/build/esm/lib/kit/components/Layouts/Accordeon/Accordeon.d.ts +2 -2
  120. package/build/esm/lib/kit/components/Layouts/AccordeonCard/AccordeonCardForm.d.ts +1 -1
  121. package/build/esm/lib/kit/components/Layouts/CardAccordeon.d.ts +1 -1
  122. package/build/esm/lib/kit/components/Layouts/CardSection.d.ts +1 -1
  123. package/build/esm/lib/kit/components/Layouts/Column/Column.d.ts +1 -1
  124. package/build/esm/lib/kit/components/Layouts/Column/Column.js +5 -3
  125. package/build/esm/lib/kit/components/Layouts/Row/Row.d.ts +1 -1
  126. package/build/esm/lib/kit/components/Layouts/Row/Row.js +5 -3
  127. package/build/esm/lib/kit/components/Layouts/Section/Section.d.ts +1 -1
  128. package/build/esm/lib/kit/components/Layouts/Section/Section.js +5 -3
  129. package/build/esm/lib/kit/components/Layouts/TableCell/TableCell.d.ts +1 -1
  130. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.d.ts +1 -1
  131. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.js +1 -1
  132. package/build/esm/lib/kit/components/LongValue/LongValue.js +2 -4
  133. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.d.ts +1 -1
  134. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +3 -1
  135. package/build/esm/lib/kit/components/TogglerCard/TogglerCard.js +4 -2
  136. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeon/ViewAccordeon.d.ts +2 -2
  137. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeonCard/ViewAccordeonCard.d.ts +1 -1
  138. package/build/esm/lib/kit/components/ViewLayouts/ViewCardAccordeon.d.ts +1 -1
  139. package/build/esm/lib/kit/components/ViewLayouts/ViewCardSection.d.ts +1 -1
  140. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.d.ts +1 -1
  141. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +4 -2
  142. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.d.ts +1 -1
  143. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +4 -2
  144. package/build/esm/lib/kit/components/ViewLayouts/ViewSection/ViewSection.d.ts +1 -1
  145. package/build/esm/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.d.ts +1 -1
  146. package/build/esm/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.d.ts +1 -1
  147. package/build/esm/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.d.ts +1 -1
  148. package/build/esm/lib/kit/components/Views/BaseView/BaseView.d.ts +1 -1
  149. package/build/esm/lib/kit/components/Views/CardOneOfView.d.ts +1 -1
  150. package/build/esm/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.d.ts +1 -1
  151. package/build/esm/lib/kit/components/Views/DateView/DateView.d.ts +1 -1
  152. package/build/esm/lib/kit/components/Views/DateView/DateView.js +1 -1
  153. package/build/esm/lib/kit/components/Views/FileInputView/FileInputView.d.ts +1 -1
  154. package/build/esm/lib/kit/components/Views/MonacoInputView/MonacoBaseView.d.ts +1 -1
  155. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.d.ts +1 -1
  156. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  157. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.d.ts +1 -1
  158. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  159. package/build/esm/lib/kit/components/Views/NumberWithScaleView/NumberWithScaleView.d.ts +1 -1
  160. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.d.ts +1 -1
  161. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  162. package/build/esm/lib/kit/components/Views/ObjectValueInputView/ObjectValueInputView.d.ts +1 -1
  163. package/build/esm/lib/kit/components/Views/OneOfView/OneOfView.d.ts +1 -1
  164. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.d.ts +1 -1
  165. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.js +4 -2
  166. package/build/esm/lib/kit/components/Views/TextAreaView/TextAreaView.d.ts +1 -1
  167. package/build/esm/lib/kit/components/Views/TextContentView.d.ts +1 -1
  168. package/build/esm/lib/kit/components/Views/TextLinkView/TextLinkView.d.ts +1 -1
  169. package/build/esm/lib/kit/components/Views/TimeRangeSelectorView/TimeRangeSelectorView.d.ts +1 -1
  170. package/build/esm/lib/kit/constants/config.d.ts +1 -1
  171. package/build/esm/lib/kit/hooks/useErrorChecker.d.ts +1 -1
  172. package/build/esm/lib/kit/hooks/useOneOf/useOneOf.d.ts +1 -1
  173. package/build/esm/lib/kit/utils/common.d.ts +1 -1
  174. package/build/esm/lib/kit/utils/common.js +2 -2
  175. package/build/esm/lib/kit/utils/objectInline.d.ts +1 -1
  176. package/build/esm/lib/kit/validators/validators.d.ts +2 -2
  177. package/package.json +11 -9
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { FieldValue, ValidateError } from './';
1
+ import type React from 'react';
2
+ import type { FieldValue, ValidateError } from './';
3
3
  export interface FieldRenderProps<Value extends FieldValue> {
4
4
  input: {
5
5
  name: string;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { Spec } from '../../../types';
3
- import { FieldRenderProps, FieldValue, LayoutType } from './';
1
+ import type React from 'react';
2
+ import type { Spec } from '../../../types';
3
+ import type { FieldRenderProps, FieldValue, LayoutType } from './';
4
4
  export type InputProps<Value extends FieldValue, InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined, SpecType extends Spec<undefined, InputComponentProps, LayoutComponentProps> = Spec> = {
5
5
  spec: SpecType;
6
6
  name: string;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { Spec } from '../../../types';
3
- import { FieldValue, InputProps } from './';
1
+ import type React from 'react';
2
+ import type { Spec } from '../../../types';
3
+ import type { FieldValue, InputProps } from './';
4
4
  export type LayoutProps<Value extends FieldValue, InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined, SpecType extends Spec<undefined, InputComponentProps, LayoutComponentProps> = Spec> = {
5
5
  children: React.ReactElement;
6
6
  layoutProps?: LayoutComponentProps;
@@ -1,5 +1,5 @@
1
- import { useIntegrationFF, useSearch, useSearchStore, useStore } from '../hooks';
2
- import { FieldRenderProps } from './field';
1
+ import type { useIntegrationFF, useSearch, useSearchStore, useStore } from '../hooks';
2
+ import type { FieldRenderProps } from './field';
3
3
  export interface ControllerMirror {
4
4
  useField?: FieldRenderProps<any>;
5
5
  useSearch?: ReturnType<typeof useSearch>;
@@ -1,5 +1,5 @@
1
- import { ArraySpec, BooleanSpec, FormValue, NumberSpec, ObjectSpec, StringSpec } from '../../../types';
2
- import { BaseValidateError } from './';
1
+ import type { ArraySpec, BooleanSpec, FormValue, NumberSpec, ObjectSpec, StringSpec } from '../../../types';
2
+ import type { BaseValidateError } from './';
3
3
  export type SpecMutator = Partial<(Omit<ArraySpec, 'viewSpec'> & {
4
4
  viewSpec: Partial<ArraySpec['viewSpec']>;
5
5
  }) | (Omit<BooleanSpec, 'viewSpec'> & {
@@ -1,5 +1,5 @@
1
- import { NumberSpec } from '../../../types';
2
- import { IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
1
+ import type { NumberSpec } from '../../../types';
2
+ import type { IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
3
3
  export type NumberInputProps<InputComponentProps extends Record<string, any> | undefined = undefined> = InputProps<number, InputComponentProps, undefined, NumberSpec<undefined, InputComponentProps, undefined>>;
4
4
  export type NumberIndependentInputProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = IndependentInputProps<number, InputComponentProps, LayoutComponentProps, NumberSpec<undefined, InputComponentProps, LayoutComponentProps>>;
5
5
  export type NumberLayoutProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = LayoutProps<number, InputComponentProps, LayoutComponentProps, NumberSpec<undefined, InputComponentProps, LayoutComponentProps>>;
@@ -1,5 +1,5 @@
1
- import { ObjectSpec, ObjectValue } from '../../../types';
2
- import { FieldObjectValue, IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
1
+ import type { ObjectSpec, ObjectValue } from '../../../types';
2
+ import type { FieldObjectValue, IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
3
3
  export type ObjectInputProps<InputComponentProps extends Record<string, any> | undefined = undefined> = InputProps<FieldObjectValue, InputComponentProps, undefined, ObjectSpec<undefined, InputComponentProps, undefined>>;
4
4
  export type ObjectIndependentInputProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = IndependentInputProps<FieldObjectValue, InputComponentProps, LayoutComponentProps, ObjectSpec<undefined, InputComponentProps, LayoutComponentProps>>;
5
5
  export type ObjectLayoutProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = LayoutProps<FieldObjectValue, InputComponentProps, LayoutComponentProps, ObjectSpec<undefined, InputComponentProps, LayoutComponentProps>>;
@@ -1,5 +1,5 @@
1
- import { Spec } from '../../../types';
2
- import { FieldValue } from './value';
1
+ import type { Spec } from '../../../types';
2
+ import type { FieldValue } from './value';
3
3
  export interface SearchContext {
4
4
  setField: (name: string, search: boolean) => void;
5
5
  removeField: (name: string) => void;
@@ -1,4 +1,4 @@
1
- import { FieldObjectValue, ValidateError } from '../types';
1
+ import type { FieldObjectValue, ValidateError } from '../types';
2
2
  export interface DynamicFieldStore {
3
3
  name: string;
4
4
  initialValue: FieldObjectValue;
@@ -1,5 +1,5 @@
1
- import { StringSpec } from '../../../types';
2
- import { IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
1
+ import type { StringSpec } from '../../../types';
2
+ import type { IndependentInputEntity, IndependentInputProps, IndependentInputType, InputEntity, InputProps, InputType, InputsMap, LayoutProps, LayoutType, LayoutsMap, TypeConfig, ValidatorsMap } from './';
3
3
  export type StringInputProps<InputComponentProps extends Record<string, any> | undefined = undefined> = InputProps<string, InputComponentProps, undefined, StringSpec<undefined, InputComponentProps, undefined>>;
4
4
  export type StringIndependentInputProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = IndependentInputProps<string, InputComponentProps, LayoutComponentProps, StringSpec<undefined, InputComponentProps, LayoutComponentProps>>;
5
5
  export type StringLayoutProps<InputComponentProps extends Record<string, any> | undefined = undefined, LayoutComponentProps extends Record<string, any> | undefined = undefined> = LayoutProps<string, InputComponentProps, LayoutComponentProps, StringSpec<undefined, InputComponentProps, LayoutComponentProps>>;
@@ -1,4 +1,4 @@
1
- import { FormValue, Spec } from '../../../types';
1
+ import type { FormValue, Spec } from '../../../types';
2
2
  export type BaseValidateError = string | boolean | undefined;
3
3
  export type AsyncValidateError = Promise<BaseValidateError>;
4
4
  export type ValidateError = BaseValidateError | AsyncValidateError;
@@ -1,4 +1,4 @@
1
- import { OBJECT_ARRAY_CNT, OBJECT_ARRAY_FLAG } from '../constants';
1
+ import type { OBJECT_ARRAY_CNT, OBJECT_ARRAY_FLAG } from '../constants';
2
2
  export interface FieldArrayValue extends Record<string, FieldValue> {
3
3
  [OBJECT_ARRAY_FLAG]: true;
4
4
  [OBJECT_ARRAY_CNT]: number;
@@ -1 +1 @@
1
- import { OBJECT_ARRAY_CNT, OBJECT_ARRAY_FLAG } from '../constants';
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { FormValue, Spec } from '../../../types';
1
+ import type { FormValue, Spec } from '../../../types';
2
2
  export declare const isCorrectConfig: (candidate: any) => boolean;
3
3
  export declare const transformArrIn: <Type extends FormValue, ReturnType_1 extends FormValue = Type>(value: Type) => ReturnType_1;
4
4
  export declare const transformArrOut: <Type extends FormValue, ReturnType_1 extends FormValue = Type>(value: Type) => ReturnType_1;
@@ -1,3 +1,3 @@
1
- import { Spec } from '../../../types';
1
+ import type { Spec } from '../../../types';
2
2
  export declare const getParentName: (name: string) => string | undefined;
3
3
  export declare const getDefaultSearchFunction: (search?: string) => (spec: Spec) => boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { MonacoEditorProps } from 'react-monaco-editor/lib/types';
3
- import { FormValue, Spec } from '../../types';
4
- import { DynamicViewConfig } from './types';
3
+ import type { FormValue, Spec } from '../../types';
4
+ import type { DynamicViewConfig } from './types';
5
5
  export interface DynamicViewProps {
6
6
  value: FormValue;
7
7
  spec: Spec;
@@ -1,4 +1,4 @@
1
- import { Spec } from '../../types';
1
+ import type { Spec } from '../../types';
2
2
  export interface ViewControllerProps<SpecType extends Spec> {
3
3
  spec: SpecType;
4
4
  name: string;
@@ -1,5 +1,5 @@
1
- import { FormValue, Spec } from '../../../types';
2
- import { DynamicViewConfig, IndependentViewEntity, ViewEntity, ViewLayoutType } from '../types';
1
+ import type { FormValue, Spec } from '../../../types';
2
+ import type { DynamicViewConfig, IndependentViewEntity, ViewEntity, ViewLayoutType } from '../types';
3
3
  export declare const useComponents: <Value extends FormValue, SpecType extends Spec<any, undefined, undefined>>(spec: SpecType, config: DynamicViewConfig) => {
4
4
  viewEntity: ViewEntity<Value, SpecType> | IndependentViewEntity<Value, SpecType> | undefined;
5
5
  Layout: ViewLayoutType<Value, SpecType> | undefined;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { DynamicViewContext } from '../types';
2
+ import type { DynamicViewContext } from '../types';
3
3
  export declare const useCreateContext: () => React.Context<DynamicViewContext>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { FormValue, Spec } from '../../../types';
3
- import { IndependentViewEntity, ViewEntity, ViewLayoutType } from '../types';
2
+ import type { FormValue, Spec } from '../../../types';
3
+ import type { IndependentViewEntity, ViewEntity, ViewLayoutType } from '../types';
4
4
  export interface UseRenderParams<Value extends FormValue, SpecType extends Spec> {
5
5
  value: Value;
6
6
  name: string;
@@ -1,5 +1,5 @@
1
- import { ArraySpec, ArrayValue } from '../../../types';
2
- import { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
1
+ import type { ArraySpec, ArrayValue } from '../../../types';
2
+ import type { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
3
3
  export type ArrayViewProps = ViewProps<ArrayValue, ArraySpec>;
4
4
  export type ArrayIndependentViewProps = IndependentViewProps<ArrayValue, ArraySpec>;
5
5
  export type ArrayViewLayoutProps = ViewLayoutProps<ArrayValue, ArraySpec>;
@@ -1,5 +1,5 @@
1
- import { BooleanSpec } from '../../../types';
2
- import { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
1
+ import type { BooleanSpec } from '../../../types';
2
+ import type { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
3
3
  export type BooleanViewProps = ViewProps<boolean, BooleanSpec>;
4
4
  export type BooleanIndependentViewProps = IndependentViewProps<boolean, BooleanSpec>;
5
5
  export type BooleanViewLayoutProps = ViewLayoutProps<boolean, BooleanSpec>;
@@ -1,5 +1,5 @@
1
- import { FormValue, Spec } from '../../../types';
2
- import { ArrayViewConfig, BooleanViewConfig, NumberViewConfig, ObjectViewConfig, StringViewConfig, ViewLayoutsMap, ViewsMap } from './';
1
+ import type { FormValue, Spec } from '../../../types';
2
+ import type { ArrayViewConfig, BooleanViewConfig, NumberViewConfig, ObjectViewConfig, StringViewConfig, ViewLayoutsMap, ViewsMap } from './';
3
3
  export interface ViewTypeConfig<Value extends FormValue, SpecType extends Spec> {
4
4
  views: ViewsMap<Value, SpecType>;
5
5
  layouts: ViewLayoutsMap<Value, SpecType>;
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { MonacoEditorProps } from 'react-monaco-editor/lib/types';
3
- import { FormValue, Spec } from '../../../types';
4
- import { DynamicViewConfig } from './';
3
+ import type { FormValue, Spec } from '../../../types';
4
+ import type { DynamicViewConfig } from './';
5
5
  export interface DynamicViewContext {
6
6
  config: DynamicViewConfig;
7
7
  value: FormValue;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { FormValue, Spec } from '../../../';
3
- import { ViewProps } from './';
1
+ import type React from 'react';
2
+ import type { FormValue, Spec } from '../../../';
3
+ import type { ViewProps } from './';
4
4
  export type ViewLayoutProps<Value extends FormValue, SpecType extends Spec<undefined, undefined, Record<string, any> | undefined> = Spec> = {
5
5
  children: React.ReactElement;
6
6
  } & ViewProps<Value, SpecType>;
@@ -1,5 +1,5 @@
1
- import { NumberSpec } from '../../../types';
2
- import { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
1
+ import type { NumberSpec } from '../../../types';
2
+ import type { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
3
3
  export type NumberViewProps = ViewProps<number, NumberSpec>;
4
4
  export type NumberIndependentViewProps = IndependentViewProps<number, NumberSpec>;
5
5
  export type NumberViewLayoutProps = ViewLayoutProps<number, NumberSpec>;
@@ -1,5 +1,5 @@
1
- import { ObjectSpec, ObjectValue } from '../../../types';
2
- import { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
1
+ import type { ObjectSpec, ObjectValue } from '../../../types';
2
+ import type { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
3
3
  export type ObjectViewProps = ViewProps<ObjectValue, ObjectSpec>;
4
4
  export type ObjectIndependentViewProps = IndependentViewProps<ObjectValue, ObjectSpec>;
5
5
  export type ObjectViewLayoutProps = ViewLayoutProps<ObjectValue, ObjectSpec>;
@@ -1,5 +1,5 @@
1
- import { StringSpec } from '../../../types';
2
- import { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
1
+ import type { StringSpec } from '../../../types';
2
+ import type { IndependentViewEntity, IndependentViewProps, IndependentViewType, ViewEntity, ViewLayoutProps, ViewLayoutType, ViewLayoutsMap, ViewProps, ViewType, ViewTypeConfig, ViewsMap } from './';
3
3
  export type StringViewProps = ViewProps<string, StringSpec>;
4
4
  export type StringIndependentViewProps = IndependentViewProps<string, StringSpec>;
5
5
  export type StringViewLayoutProps = ViewLayoutProps<string, StringSpec>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { FormValue, Spec } from '../../../';
3
- import { ViewLayoutType } from './';
1
+ import type React from 'react';
2
+ import type { FormValue, Spec } from '../../../';
3
+ import type { ViewLayoutType } from './';
4
4
  export type ViewProps<Value extends FormValue, SpecType extends Spec<undefined, undefined, Record<string, any> | undefined> = Spec> = {
5
5
  spec: SpecType;
6
6
  name: string;
@@ -1,4 +1,4 @@
1
- import { ArraySpec, BooleanSpec, NumberSpec, ObjectSpec, StringSpec } from './types';
1
+ import type { ArraySpec, BooleanSpec, NumberSpec, ObjectSpec, StringSpec } from './types';
2
2
  export declare const isCorrectSpec: (candidate: any) => boolean;
3
3
  export declare const isArraySpec: (candidate: any) => candidate is ArraySpec<any, undefined, undefined>;
4
4
  export declare const isBooleanSpec: (candidate: any) => candidate is BooleanSpec<any, undefined, undefined>;
@@ -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;
@@ -4,6 +4,7 @@ import { Button, Card as CardBase, HelpMark, Icon, Popover, Text } from '@gravit
4
4
  import isString from 'lodash/isString';
5
5
  import { COMMON_POPOVER_PLACEMENT, COMMON_TITLE_MAX_WIDTH } from '../../constants/common';
6
6
  import { block } from '../../utils';
7
+ import { HTMLContent } from '../HTMLContent';
7
8
  import './Card.css';
8
9
  const b = block('card');
9
10
  export const Card = ({ name, title: propsTitle, description, actions, open: propsOpen, onToggle, alwaysOpen, disableHeaderToggle, checkEmptyBody, children, }) => {
@@ -38,7 +39,8 @@ export const Card = ({ name, title: propsTitle, description, actions, open: prop
38
39
  description ? (React.createElement("div", { className: b('note') },
39
40
  React.createElement(HelpMark, { popoverProps: {
40
41
  placement: COMMON_POPOVER_PLACEMENT,
41
- } }, description))) : null));
42
+ } },
43
+ React.createElement(HTMLContent, { html: description })))) : null));
42
44
  }
43
45
  return propsTitle;
44
46
  }, [propsTitle, titlePopoverDisabled, description]);
@@ -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;
@@ -39,7 +39,7 @@
39
39
  .df-error-wrapper_error .g-text-input_view_normal:not(.df-error-wrapper-ignore) .g-text-input__content,
40
40
  .df-error-wrapper_error .yc-checkbox__indicator:not(.df-error-wrapper-ignore)::before,
41
41
  .df-error-wrapper_error .g-checkbox__indicator:not(.df-error-wrapper-ignore)::before {
42
- border-color: var(--g-color-text-danger);
42
+ border-color: var(--g-color-line-danger);
43
43
  }
44
44
  .df-error-wrapper__error-text {
45
45
  color: var(--g-color-text-danger);
@@ -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;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface HTMLContentProps {
3
+ html: string;
4
+ }
5
+ export declare const HTMLContent: React.FC<HTMLContentProps>;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export const HTMLContent = ({ html }) => {
3
+ return React.createElement("div", { dangerouslySetInnerHTML: { __html: html } });
4
+ };
@@ -0,0 +1 @@
1
+ export * from './HTMLContent';
@@ -0,0 +1 @@
1
+ export * from './HTMLContent';
@@ -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
  }
@@ -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'> {
@@ -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>;
@@ -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>;
@@ -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;
@@ -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;
@@ -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;
@@ -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,9 @@ 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
+ import { HTMLContent } from '../../HTMLContent';
10
11
  import './TableArrayInput.css';
11
12
  const b = block('table-array');
12
13
  export const TableArrayInput = ({ spec, name, arrayInput, input }) => {
@@ -51,7 +52,8 @@ export const TableArrayInput = ({ spec, name, arrayInput, input }) => {
51
52
  label,
52
53
  React.createElement(HelpMark, { popoverProps: {
53
54
  placement: COMMON_POPOVER_PLACEMENT,
54
- } }, description))),
55
+ } },
56
+ React.createElement(HTMLContent, { html: description })))),
55
57
  template: ({ key, }, idx) => {
56
58
  var _a, _b, _c;
57
59
  const entitySpec = (_a = items === null || items === void 0 ? void 0 : items.properties) === null || _a === void 0 ? void 0 : _a[property];
@@ -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;