@salutejs/plasma-web 1.571.1-canary.1868.14054564913.0 → 1.572.0-canary.1870.14062223595.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 (65) hide show
  1. package/api/plasma-web.api.md +1490 -1488
  2. package/components/Accordion/Accordion.d.ts +10 -9
  3. package/components/Attach/Attach.d.ts +159 -158
  4. package/components/Autocomplete/Autocomplete.d.ts +193 -192
  5. package/components/Avatar/Avatar.d.ts +47 -46
  6. package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
  7. package/components/Badge/Badge.d.ts +41 -40
  8. package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
  9. package/components/Button/Button.d.ts +36 -35
  10. package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
  11. package/components/Cell/Cell.d.ts +20 -19
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +1 -0
  14. package/components/ChipGroup/ChipGroup.d.ts +1 -0
  15. package/components/Combobox/Combobox.d.ts +953 -953
  16. package/components/Combobox/Legacy/Combobox.d.ts +37 -36
  17. package/components/Counter/Counter.d.ts +1 -0
  18. package/components/DatePicker/DatePicker.d.ts +51 -50
  19. package/components/Divider/Divider.d.ts +1 -0
  20. package/components/Drawer/Drawer.d.ts +19 -18
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  23. package/components/Dropzone/Dropzone.d.ts +16 -15
  24. package/components/Editable/Editable.d.ts +1 -0
  25. package/components/EmptyState/EmptyState.d.ts +1 -0
  26. package/components/Flow/Flow.d.ts +2 -1
  27. package/components/Grid/Grid.d.ts +1 -0
  28. package/components/IconButton/IconButton.d.ts +36 -35
  29. package/components/Image/Image.d.ts +4 -3
  30. package/components/Indicator/Indicator.d.ts +1 -0
  31. package/components/Link/Link.d.ts +1 -0
  32. package/components/LinkButton/LinkButton.d.ts +9 -8
  33. package/components/Mask/Mask.d.ts +225 -224
  34. package/components/Note/Note.d.ts +10 -9
  35. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  36. package/components/NumberInput/NumberInput.d.ts +39 -38
  37. package/components/Pagination/Pagination.d.ts +1 -0
  38. package/components/Popover/Popover.d.ts +1 -0
  39. package/components/Price/Price.d.ts +1 -0
  40. package/components/Progress/Progress.d.ts +1 -0
  41. package/components/Radiobox/Radiobox.d.ts +1 -1
  42. package/components/Range/Range.d.ts +106 -105
  43. package/components/Rating/Rating.d.ts +14 -13
  44. package/components/Segment/Segment.d.ts +9 -8
  45. package/components/Select/Select.d.ts +244 -244
  46. package/components/Sheet/Sheet.d.ts +1 -0
  47. package/components/Skeleton/Skeleton.d.ts +5 -4
  48. package/components/Slider/Slider.d.ts +113 -104
  49. package/components/Steps/Steps.d.ts +1 -0
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Tabs/TabItem.d.ts +14 -14
  52. package/components/Tabs/Tabs.d.ts +7 -5
  53. package/components/TextArea/TextArea.d.ts +206 -205
  54. package/components/TextArea/index.d.ts +4 -4
  55. package/components/TextField/TextField.d.ts +269 -261
  56. package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
  57. package/components/Toast/Toast.d.ts +1 -0
  58. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  59. package/components/Toolbar/Toolbar.d.ts +6 -5
  60. package/components/Tree/Tree.d.ts +1 -0
  61. package/components/Typography/Old/index.d.ts +10 -9
  62. package/components/Typography/Typography.d.ts +52 -51
  63. package/mixins/index.d.ts +2 -1
  64. package/package.json +11 -11
  65. package/temp/plasma-web.api.md +1490 -1488
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Кнопка с иконкой.
3
4
  */
@@ -32,46 +33,46 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
32
33
  focused: {
33
34
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
34
35
  };
35
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
36
- text?: string;
36
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
37
+ text?: string | undefined;
37
38
  contentLeft?: import("react").ReactNode;
38
- contentPlacing?: "default" | "relaxed";
39
- isLoading?: boolean;
39
+ contentPlacing?: ("default" | "relaxed") | undefined;
40
+ isLoading?: boolean | undefined;
40
41
  loader?: import("react").ReactNode;
41
- stretch?: boolean;
42
- stretching?: "auto" | "fixed" | "filled";
43
- square?: boolean;
44
- focused?: boolean;
45
- disabled?: boolean;
46
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
47
- view?: string;
48
- size?: string;
49
- outlined?: boolean;
50
- shiftLeft?: boolean;
51
- shiftRight?: boolean;
52
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
42
+ stretch?: boolean | undefined;
43
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
44
+ square?: boolean | undefined;
45
+ focused?: boolean | undefined;
46
+ disabled?: boolean | undefined;
47
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
48
+ view?: string | undefined;
49
+ size?: string | undefined;
50
+ outlined?: boolean | undefined;
51
+ shiftLeft?: boolean | undefined;
52
+ shiftRight?: boolean | undefined;
53
+ blur?: "small" | "medium" | "large" | undefined;
53
54
  } & {
54
- value?: string | number;
55
- contentRight?: never;
56
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
57
- text?: string;
55
+ value?: string | number | undefined;
56
+ contentRight?: undefined;
57
+ } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
58
+ text?: string | undefined;
58
59
  contentLeft?: import("react").ReactNode;
59
- contentPlacing?: "default" | "relaxed";
60
- isLoading?: boolean;
60
+ contentPlacing?: ("default" | "relaxed") | undefined;
61
+ isLoading?: boolean | undefined;
61
62
  loader?: import("react").ReactNode;
62
- stretch?: boolean;
63
- stretching?: "auto" | "fixed" | "filled";
64
- square?: boolean;
65
- focused?: boolean;
66
- disabled?: boolean;
67
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
68
- view?: string;
69
- size?: string;
70
- outlined?: boolean;
71
- shiftLeft?: boolean;
72
- shiftRight?: boolean;
73
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
63
+ stretch?: boolean | undefined;
64
+ stretching?: ("auto" | "fixed" | "filled") | undefined;
65
+ square?: boolean | undefined;
66
+ focused?: boolean | undefined;
67
+ disabled?: boolean | undefined;
68
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
69
+ view?: string | undefined;
70
+ size?: string | undefined;
71
+ outlined?: boolean | undefined;
72
+ shiftLeft?: boolean | undefined;
73
+ shiftRight?: boolean | undefined;
74
+ blur?: "small" | "medium" | "large" | undefined;
74
75
  } & {
75
- value?: never;
76
+ value?: undefined;
76
77
  contentRight?: import("react").ReactNode;
77
78
  } & import("react").RefAttributes<HTMLButtonElement>))>;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Компонент Image.
3
4
  */
4
5
  export declare const Image: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").ImgHTMLAttributes<HTMLImageElement> & {
5
- base?: "div" | "img";
6
- ratio?: import("@salutejs/plasma-new-hope/styled-components").Ratio;
7
- customRatio?: string;
6
+ base?: "img" | "div" | undefined;
7
+ ratio?: "16 / 9" | "1 / 1" | "1/1" | "3 / 4" | "3/4" | "4 / 3" | "4/3" | "9 / 16" | "9/16" | "16/9" | "1 / 2" | "1/2" | "2 / 1" | "2/1" | undefined;
8
+ customRatio?: string | undefined;
8
9
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Ссылка.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const LinkButton: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -19,12 +20,12 @@ export declare const LinkButton: import("react").FunctionComponent<import("@salu
19
20
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
20
21
  };
21
22
  }> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & {
22
- text?: string;
23
- contentRight?: React.ReactNode;
24
- contentLeft?: React.ReactNode;
25
- isLoading?: boolean;
26
- loader?: React.ReactNode;
27
- disabled?: boolean;
28
- view?: string;
29
- size?: string;
23
+ text?: string | undefined;
24
+ contentRight?: import("react").ReactNode;
25
+ contentLeft?: import("react").ReactNode;
26
+ isLoading?: boolean | undefined;
27
+ loader?: import("react").ReactNode;
28
+ disabled?: boolean | undefined;
29
+ view?: string | undefined;
30
+ size?: string | undefined;
30
31
  } & import("react").RefAttributes<HTMLAnchorElement>>;