@cloud-ru/ds-uikit-product-fields-predefined 1.0.8-preview-04507fc5.0 → 2.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-ru/ds-uikit-product-fields-predefined",
3
- "version": "1.0.8-preview-04507fc5.0",
3
+ "version": "2.0.0",
4
4
  "description": "Набор предопределённых полей формы поверх @ds/fields — телефон, маски, имя, описание, код и другие готовые сценарии ввода.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,21 +44,21 @@
44
44
  "imask": "^7.6.1",
45
45
  "merge-refs": "^2.0.0",
46
46
  "react-imask": "^7.6.1",
47
- "@cloud-ru/ds-drawer": "1.0.3",
48
- "@cloud-ru/ds-adaptive": "1.0.1",
49
- "@cloud-ru/ds-attachment": "1.0.5-preview-04507fc5.0",
50
- "@cloud-ru/ds-button": "1.0.1",
51
- "@cloud-ru/ds-dropzone": "1.0.1",
52
- "@cloud-ru/ds-fields": "1.0.8-preview-04507fc5.0",
53
- "@cloud-ru/ds-field-decorator": "1.0.2",
54
- "@cloud-ru/ds-icons": "1.0.1",
55
- "@cloud-ru/ds-list": "2.0.1-preview-04507fc5.0",
56
- "@cloud-ru/ds-input-private": "1.0.1",
57
- "@cloud-ru/ds-locale": "1.0.0",
58
- "@cloud-ru/ds-modal": "1.0.3-preview-04507fc5.0",
59
- "@cloud-ru/ds-tooltip": "1.0.2",
60
- "@cloud-ru/ds-utils": "1.1.0",
61
- "@cloud-ru/ds-scroll": "1.0.1"
47
+ "@cloud-ru/ds-adaptive": "^1.0.1",
48
+ "@cloud-ru/ds-attachment": "^1.1.0",
49
+ "@cloud-ru/ds-button": "^1.0.1",
50
+ "@cloud-ru/ds-drawer": "^1.0.4",
51
+ "@cloud-ru/ds-dropzone": "^1.0.1",
52
+ "@cloud-ru/ds-fields": "^2.0.0",
53
+ "@cloud-ru/ds-field-decorator": "^1.0.3",
54
+ "@cloud-ru/ds-list": "^2.0.1",
55
+ "@cloud-ru/ds-input-private": "^1.0.2",
56
+ "@cloud-ru/ds-icons": "^1.0.2",
57
+ "@cloud-ru/ds-locale": "^1.0.0",
58
+ "@cloud-ru/ds-modal": "^1.0.3",
59
+ "@cloud-ru/ds-scroll": "^1.0.2",
60
+ "@cloud-ru/ds-tooltip": "^1.0.3",
61
+ "@cloud-ru/ds-utils": "^1.1.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react-hook-form": "^7.79.0",
@@ -4,7 +4,7 @@ import { FieldTextAreaProps } from '@cloud-ru/ds-fields';
4
4
 
5
5
  export type FieldChatProps = Omit<
6
6
  FieldTextAreaProps,
7
- // minRows/maxRows/showCopyButton/onKeyDown зафиксированы внутри FieldChat и в API не выносятся.
7
+ // minRows/maxRows/кнопка копирования/onKeyDown зафиксированы внутри FieldChat и в API не выносятся.
8
8
  | 'placeholder'
9
9
  | 'hint'
10
10
  | 'label'
@@ -15,6 +15,7 @@ export type FieldChatProps = Omit<
15
15
  | 'minRows'
16
16
  | 'maxRows'
17
17
  | 'showCopyButton'
18
+ | 'showCopyButtonInEditMode'
18
19
  | 'onKeyDown'
19
20
  > & {
20
21
  /** Колбек действия при отправке */
@@ -1,6 +1,6 @@
1
1
  import { APPEARANCE, Button, ICON_POSITION, VIEW } from '@cloud-ru/ds-button';
2
2
  import { FieldSelectSingleProps } from '@cloud-ru/ds-fields';
3
- import { CrossCircleSVG, SearchSVG, UpdateSVG } from '@cloud-ru/ds-icons/interface/system';
3
+ import { CrossSVG, SearchSVG, UpdateSVG } from '@cloud-ru/ds-icons/interface/system';
4
4
  import { useMemo } from 'react';
5
5
 
6
6
  import { TEST_IDS } from '../../constants';
@@ -37,7 +37,7 @@ export function useSelectDataStates({ entityName, entityIcon, onRefetch }: Props
37
37
  ),
38
38
  },
39
39
  errorDataState: {
40
- icon: { icon: CrossCircleSVG, appearance: 'neutral' },
40
+ icon: { icon: CrossSVG, appearance: 'neutral' },
41
41
  description: `${t('FieldSelectCreate.loadError')} ${entityName.plural.toLocaleLowerCase()}`,
42
42
  footer: onRefetch ? (
43
43
  <Button