@salutejs/sdds-cs 0.317.1-canary.2008.15410012369.0 → 0.317.1-canary.2013.15560496949.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 (113) hide show
  1. package/components/Accordion/Accordion.d.ts +9 -10
  2. package/components/Attach/Attach.d.ts +158 -159
  3. package/components/Autocomplete/Autocomplete.d.ts +352 -353
  4. package/components/Avatar/Avatar.d.ts +46 -47
  5. package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
  6. package/components/Badge/Badge.d.ts +40 -41
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  8. package/components/Button/Button.d.ts +71 -71
  9. package/components/ButtonGroup/ButtonGroup.d.ts +0 -1
  10. package/components/Card/Card.d.ts +5 -6
  11. package/components/Carousel/Carousel.config.d.ts +14 -0
  12. package/components/Carousel/Carousel.config.js +23 -0
  13. package/components/Carousel/Carousel.d.ts +9 -0
  14. package/components/Carousel/Carousel.js +10 -0
  15. package/components/Carousel/index.d.ts +2 -0
  16. package/components/Carousel/index.js +19 -0
  17. package/components/Cell/Cell.d.ts +19 -20
  18. package/components/Checkbox/Checkbox.d.ts +1 -1
  19. package/components/Chip/Chip.d.ts +0 -1
  20. package/components/ChipGroup/ChipGroup.d.ts +0 -1
  21. package/components/Combobox/Combobox.config.js +3 -3
  22. package/components/Combobox/Combobox.d.ts +975 -951
  23. package/components/Counter/Counter.d.ts +0 -1
  24. package/components/DatePicker/DatePicker.d.ts +52 -54
  25. package/components/Divider/Divider.d.ts +0 -1
  26. package/components/Drawer/Drawer.d.ts +18 -19
  27. package/components/Dropdown/Dropdown.d.ts +52 -52
  28. package/components/Dropzone/Dropzone.d.ts +15 -16
  29. package/components/EmptyState/EmptyState.d.ts +0 -1
  30. package/components/Flow/Flow.d.ts +1 -2
  31. package/components/Grid/Grid.d.ts +0 -1
  32. package/components/IconButton/IconButton.d.ts +35 -36
  33. package/components/Image/Image.d.ts +3 -4
  34. package/components/Indicator/Indicator.d.ts +0 -1
  35. package/components/Link/Link.d.ts +1 -2
  36. package/components/Mask/Mask.d.ts +224 -225
  37. package/components/Notification/Notification.d.ts +7 -6
  38. package/components/Notification/Notification.js +3 -21
  39. package/components/Notification/index.d.ts +3 -2
  40. package/components/Notification/index.js +4 -3
  41. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  42. package/components/NumberInput/NumberInput.d.ts +38 -39
  43. package/components/Pagination/Pagination.d.ts +0 -1
  44. package/components/Popover/Popover.d.ts +0 -1
  45. package/components/Price/Price.d.ts +0 -1
  46. package/components/Progress/Progress.d.ts +0 -1
  47. package/components/Radiobox/Radiobox.d.ts +1 -1
  48. package/components/Range/Range.d.ts +105 -106
  49. package/components/Rating/Rating.d.ts +13 -14
  50. package/components/Segment/Segment.d.ts +8 -9
  51. package/components/Select/Select.config.js +3 -3
  52. package/components/Select/Select.d.ts +247 -244
  53. package/components/Sheet/Sheet.d.ts +0 -1
  54. package/components/Skeleton/Skeleton.d.ts +4 -5
  55. package/components/Slider/Slider.d.ts +96 -105
  56. package/components/Spinner/Spinner.d.ts +9 -14
  57. package/components/Steps/Steps.d.ts +0 -1
  58. package/components/Switch/Switch.d.ts +1 -1
  59. package/components/Table/Table.config.js +3 -3
  60. package/components/Table/Table.d.ts +0 -1
  61. package/components/Tabs/TabItem.d.ts +23 -23
  62. package/components/Tabs/Tabs.d.ts +1 -1
  63. package/components/TextArea/TextArea.d.ts +205 -206
  64. package/components/TextField/TextField.d.ts +224 -225
  65. package/components/Toast/Toast.d.ts +0 -1
  66. package/components/ToastNew/ToastNew.d.ts +1 -1
  67. package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
  68. package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
  69. package/components/Toolbar/Toolbar.d.ts +5 -6
  70. package/components/Tree/Tree.d.ts +0 -1
  71. package/components/Typography/Typography.d.ts +204 -205
  72. package/components/ViewContainer/ViewContainer.d.ts +0 -1
  73. package/emotion/cjs/components/Carousel/Carousel.config.js +23 -0
  74. package/emotion/cjs/components/Carousel/Carousel.js +10 -0
  75. package/emotion/cjs/components/Carousel/Carousel.stories.tsx +138 -0
  76. package/emotion/cjs/components/Carousel/index.js +19 -0
  77. package/emotion/cjs/components/Combobox/Combobox.config.js +3 -3
  78. package/emotion/cjs/components/Combobox/Combobox.stories.tsx +186 -0
  79. package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +10 -2
  80. package/emotion/cjs/components/Notification/Notification.js +3 -21
  81. package/emotion/cjs/components/Notification/Notification.stories.tsx +3 -8
  82. package/emotion/cjs/components/Notification/index.js +4 -3
  83. package/emotion/cjs/components/Select/Select.config.js +3 -3
  84. package/emotion/cjs/components/Select/Select.stories.tsx +186 -0
  85. package/emotion/cjs/components/Table/Table.config.js +3 -3
  86. package/emotion/cjs/index.js +11 -0
  87. package/emotion/es/components/Carousel/Carousel.config.js +17 -0
  88. package/emotion/es/components/Carousel/Carousel.js +5 -0
  89. package/emotion/es/components/Carousel/Carousel.stories.tsx +138 -0
  90. package/emotion/es/components/Carousel/index.js +2 -0
  91. package/emotion/es/components/Combobox/Combobox.config.js +3 -3
  92. package/emotion/es/components/Combobox/Combobox.stories.tsx +186 -0
  93. package/emotion/es/components/DatePicker/DatePicker.stories.tsx +10 -2
  94. package/emotion/es/components/Notification/Notification.js +4 -5
  95. package/emotion/es/components/Notification/Notification.stories.tsx +3 -8
  96. package/emotion/es/components/Notification/index.js +2 -1
  97. package/emotion/es/components/Select/Select.config.js +3 -3
  98. package/emotion/es/components/Select/Select.stories.tsx +186 -0
  99. package/emotion/es/components/Table/Table.config.js +3 -3
  100. package/emotion/es/index.js +1 -0
  101. package/es/components/Carousel/Carousel.config.js +17 -0
  102. package/es/components/Carousel/Carousel.js +5 -0
  103. package/es/components/Carousel/index.js +2 -0
  104. package/es/components/Combobox/Combobox.config.js +3 -3
  105. package/es/components/Notification/Notification.js +4 -5
  106. package/es/components/Notification/index.js +2 -1
  107. package/es/components/Select/Select.config.js +3 -3
  108. package/es/components/Table/Table.config.js +3 -3
  109. package/es/index.js +1 -0
  110. package/index.d.ts +1 -0
  111. package/index.js +11 -0
  112. package/mixins/index.d.ts +1 -2
  113. package/package.json +7 -7
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
3
2
  view: {
4
3
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -38,17 +37,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
38
37
  negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
39
38
  };
40
39
  }>, (import("react").HTMLAttributes<HTMLDivElement> & {
41
- size?: string | undefined;
42
- name?: string | undefined;
43
- url?: string | undefined;
44
- customText?: string | undefined;
45
- status?: "active" | "inactive" | undefined;
46
- isScalable?: boolean | undefined;
47
- focused?: boolean | undefined;
48
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
49
- hasExtra?: boolean | undefined;
50
- type?: "badge" | "counter" | undefined;
51
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
40
+ size?: string;
41
+ name?: string;
42
+ url?: string;
43
+ customText?: string;
44
+ status?: "active" | "inactive";
45
+ isScalable?: boolean;
46
+ focused?: boolean;
47
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
48
+ hasExtra?: boolean;
49
+ type?: "badge" | "counter";
50
+ extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
52
51
  } & {
53
52
  badgeView?: string | undefined;
54
53
  pilled?: boolean | undefined;
@@ -62,17 +61,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
62
61
  count?: undefined;
63
62
  maxCount?: undefined;
64
63
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
65
- size?: string | undefined;
66
- name?: string | undefined;
67
- url?: string | undefined;
68
- customText?: string | undefined;
69
- status?: "active" | "inactive" | undefined;
70
- isScalable?: boolean | undefined;
71
- focused?: boolean | undefined;
72
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
73
- hasExtra?: boolean | undefined;
74
- type?: "badge" | "counter" | undefined;
75
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
64
+ size?: string;
65
+ name?: string;
66
+ url?: string;
67
+ customText?: string;
68
+ status?: "active" | "inactive";
69
+ isScalable?: boolean;
70
+ focused?: boolean;
71
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
72
+ hasExtra?: boolean;
73
+ type?: "badge" | "counter";
74
+ extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
76
75
  } & {
77
76
  counterView?: string | undefined;
78
77
  count?: number | undefined;
@@ -84,7 +83,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
84
83
  customColor?: undefined;
85
84
  customBackgroundColor?: undefined;
86
85
  contentLeft?: undefined;
87
- contentRight?: undefined;
86
+ contentRight?: never | undefined;
88
87
  } & import("react").RefAttributes<HTMLDivElement>)>;
89
88
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
90
89
  view: {
@@ -106,17 +105,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
106
105
  negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
107
106
  };
108
107
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
109
- size?: string | undefined;
110
- name?: string | undefined;
111
- url?: string | undefined;
112
- customText?: string | undefined;
113
- status?: "active" | "inactive" | undefined;
114
- isScalable?: boolean | undefined;
115
- focused?: boolean | undefined;
116
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
117
- hasExtra?: boolean | undefined;
118
- type?: "badge" | "counter" | undefined;
119
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
108
+ size?: string;
109
+ name?: string;
110
+ url?: string;
111
+ customText?: string;
112
+ status?: "active" | "inactive";
113
+ isScalable?: boolean;
114
+ focused?: boolean;
115
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
116
+ hasExtra?: boolean;
117
+ type?: "badge" | "counter";
118
+ extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
120
119
  } & {
121
120
  badgeView?: string | undefined;
122
121
  pilled?: boolean | undefined;
@@ -130,17 +129,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
130
129
  count?: undefined;
131
130
  maxCount?: undefined;
132
131
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
133
- size?: string | undefined;
134
- name?: string | undefined;
135
- url?: string | undefined;
136
- customText?: string | undefined;
137
- status?: "active" | "inactive" | undefined;
138
- isScalable?: boolean | undefined;
139
- focused?: boolean | undefined;
140
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
141
- hasExtra?: boolean | undefined;
142
- type?: "badge" | "counter" | undefined;
143
- extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
132
+ size?: string;
133
+ name?: string;
134
+ url?: string;
135
+ customText?: string;
136
+ status?: "active" | "inactive";
137
+ isScalable?: boolean;
138
+ focused?: boolean;
139
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
140
+ hasExtra?: boolean;
141
+ type?: "badge" | "counter";
142
+ extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
144
143
  } & {
145
144
  counterView?: string | undefined;
146
145
  count?: number | undefined;
@@ -152,6 +151,6 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
152
151
  customColor?: undefined;
153
152
  customBackgroundColor?: undefined;
154
153
  contentLeft?: undefined;
155
- contentRight?: undefined;
154
+ contentRight?: never | undefined;
156
155
  } & import("react").RefAttributes<HTMLDivElement>))>;
157
156
  export { Avatar, mergedConfig };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const AvatarGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & {
3
- children: import("react").ReactNode;
2
+ children: React.ReactNode;
4
3
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Компонент Badge.
4
3
  */
@@ -22,59 +21,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
22
21
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
22
  };
24
23
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
25
- text?: string | undefined;
26
- customColor?: string | undefined;
27
- customBackgroundColor?: string | undefined;
28
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
29
- size?: string | undefined;
30
- view?: string | undefined;
24
+ text?: string;
25
+ customColor?: string;
26
+ customBackgroundColor?: string;
27
+ maxWidth?: import("react").CSSProperties["width"];
28
+ size?: string;
29
+ view?: string;
31
30
  } & {
32
31
  contentLeft?: import("react").ReactNode;
33
- contentRight?: undefined;
32
+ contentRight?: never;
34
33
  } & {
35
- clear?: true | undefined;
36
- pilled?: undefined;
37
- transparent?: undefined;
34
+ clear?: true;
35
+ pilled?: never;
36
+ transparent?: never;
38
37
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
39
- text?: string | undefined;
40
- customColor?: string | undefined;
41
- customBackgroundColor?: string | undefined;
42
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
43
- size?: string | undefined;
44
- view?: string | undefined;
38
+ text?: string;
39
+ customColor?: string;
40
+ customBackgroundColor?: string;
41
+ maxWidth?: import("react").CSSProperties["width"];
42
+ size?: string;
43
+ view?: string;
45
44
  } & {
46
45
  contentLeft?: import("react").ReactNode;
47
- contentRight?: undefined;
46
+ contentRight?: never;
48
47
  } & {
49
- pilled?: boolean | undefined;
50
- transparent?: boolean | undefined;
51
- clear?: undefined;
48
+ pilled?: boolean;
49
+ transparent?: boolean;
50
+ clear?: never;
52
51
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
53
- text?: string | undefined;
54
- customColor?: string | undefined;
55
- customBackgroundColor?: string | undefined;
56
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
57
- size?: string | undefined;
58
- view?: string | undefined;
52
+ text?: string;
53
+ customColor?: string;
54
+ customBackgroundColor?: string;
55
+ maxWidth?: import("react").CSSProperties["width"];
56
+ size?: string;
57
+ view?: string;
59
58
  } & {
60
- contentLeft?: undefined;
59
+ contentLeft?: never;
61
60
  contentRight?: import("react").ReactNode;
62
61
  } & {
63
- clear?: true | undefined;
64
- pilled?: undefined;
65
- transparent?: undefined;
62
+ clear?: true;
63
+ pilled?: never;
64
+ transparent?: never;
66
65
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
67
- text?: string | undefined;
68
- customColor?: string | undefined;
69
- customBackgroundColor?: string | undefined;
70
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
71
- size?: string | undefined;
72
- view?: string | undefined;
66
+ text?: string;
67
+ customColor?: string;
68
+ customBackgroundColor?: string;
69
+ maxWidth?: import("react").CSSProperties["width"];
70
+ size?: string;
71
+ view?: string;
73
72
  } & {
74
- contentLeft?: undefined;
73
+ contentLeft?: never;
75
74
  contentRight?: import("react").ReactNode;
76
75
  } & {
77
- pilled?: boolean | undefined;
78
- transparent?: boolean | undefined;
79
- clear?: undefined;
76
+ pilled?: boolean;
77
+ transparent?: boolean;
78
+ clear?: never;
80
79
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Breadcrumbs
4
3
  */
@@ -10,9 +9,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
10
9
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
10
  };
12
11
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
13
- view?: string | undefined;
14
- size?: string | undefined;
12
+ view?: string;
13
+ size?: string;
15
14
  separator?: import("react").ReactNode;
16
15
  items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
17
- showItems?: number | undefined;
16
+ showItems?: number;
18
17
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -17,50 +17,50 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
17
17
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
18
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
19
19
  };
20
- }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
21
- text?: string | undefined;
20
+ }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
21
+ text?: string;
22
22
  contentLeft?: React.ReactNode;
23
- contentPlacing?: ("default" | "relaxed") | undefined;
24
- isLoading?: boolean | undefined;
23
+ contentPlacing?: "default" | "relaxed";
24
+ isLoading?: boolean;
25
25
  loader?: React.ReactNode;
26
- stretch?: boolean | undefined;
27
- stretching?: ("fixed" | "auto" | "filled") | undefined;
28
- square?: boolean | undefined;
29
- focused?: boolean | undefined;
30
- disabled?: boolean | undefined;
31
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
32
- view?: string | undefined;
33
- size?: string | undefined;
34
- outlined?: boolean | undefined;
35
- shiftLeft?: boolean | undefined;
36
- shiftRight?: boolean | undefined;
37
- blur?: "small" | "medium" | "large" | undefined;
26
+ stretch?: boolean;
27
+ stretching?: "fixed" | "auto" | "filled";
28
+ square?: boolean;
29
+ focused?: boolean;
30
+ disabled?: boolean;
31
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
32
+ view?: string;
33
+ size?: string;
34
+ outlined?: boolean;
35
+ shiftLeft?: boolean;
36
+ shiftRight?: boolean;
37
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
38
38
  } & {
39
- value?: string | number | undefined;
40
- contentRight?: undefined;
41
- } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
42
- text?: string | undefined;
39
+ value?: string | number;
40
+ contentRight?: never;
41
+ } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
42
+ text?: string;
43
43
  contentLeft?: React.ReactNode;
44
- contentPlacing?: ("default" | "relaxed") | undefined;
45
- isLoading?: boolean | undefined;
44
+ contentPlacing?: "default" | "relaxed";
45
+ isLoading?: boolean;
46
46
  loader?: React.ReactNode;
47
- stretch?: boolean | undefined;
48
- stretching?: ("fixed" | "auto" | "filled") | undefined;
49
- square?: boolean | undefined;
50
- focused?: boolean | undefined;
51
- disabled?: boolean | undefined;
52
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
53
- view?: string | undefined;
54
- size?: string | undefined;
55
- outlined?: boolean | undefined;
56
- shiftLeft?: boolean | undefined;
57
- shiftRight?: boolean | undefined;
58
- blur?: "small" | "medium" | "large" | undefined;
47
+ stretch?: boolean;
48
+ stretching?: "fixed" | "auto" | "filled";
49
+ square?: boolean;
50
+ focused?: boolean;
51
+ disabled?: boolean;
52
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
53
+ view?: string;
54
+ size?: string;
55
+ outlined?: boolean;
56
+ shiftLeft?: boolean;
57
+ shiftRight?: boolean;
58
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
59
59
  } & {
60
- value?: undefined;
60
+ value?: never;
61
61
  contentRight?: React.ReactNode;
62
62
  } & React.RefAttributes<HTMLButtonElement>))>;
63
- export declare type ButtonProps = ComponentProps<typeof ButtonComponent>;
63
+ export type ButtonProps = ComponentProps<typeof ButtonComponent>;
64
64
  /**
65
65
  * Кнопка.
66
66
  */
@@ -82,27 +82,27 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
82
82
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
83
83
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
84
84
  };
85
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
86
- text?: string | undefined;
85
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
86
+ text?: string;
87
87
  contentLeft?: React.ReactNode;
88
- contentPlacing?: ("default" | "relaxed") | undefined;
89
- isLoading?: boolean | undefined;
88
+ contentPlacing?: "default" | "relaxed";
89
+ isLoading?: boolean;
90
90
  loader?: React.ReactNode;
91
- stretch?: boolean | undefined;
92
- stretching?: ("fixed" | "auto" | "filled") | undefined;
93
- square?: boolean | undefined;
94
- focused?: boolean | undefined;
95
- disabled?: boolean | undefined;
96
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
97
- view?: string | undefined;
98
- size?: string | undefined;
99
- outlined?: boolean | undefined;
100
- shiftLeft?: boolean | undefined;
101
- shiftRight?: boolean | undefined;
102
- blur?: "small" | "medium" | "large" | undefined;
91
+ stretch?: boolean;
92
+ stretching?: "fixed" | "auto" | "filled";
93
+ square?: boolean;
94
+ focused?: boolean;
95
+ disabled?: boolean;
96
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
97
+ view?: string;
98
+ size?: string;
99
+ outlined?: boolean;
100
+ shiftLeft?: boolean;
101
+ shiftRight?: boolean;
102
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
103
103
  } & {
104
- value?: string | number | undefined;
105
- contentRight?: undefined;
104
+ value?: string | number;
105
+ contentRight?: never;
106
106
  } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
107
107
  view: {
108
108
  accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -121,26 +121,26 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
121
121
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
122
122
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
123
123
  };
124
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
125
- text?: string | undefined;
124
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
125
+ text?: string;
126
126
  contentLeft?: React.ReactNode;
127
- contentPlacing?: ("default" | "relaxed") | undefined;
128
- isLoading?: boolean | undefined;
127
+ contentPlacing?: "default" | "relaxed";
128
+ isLoading?: boolean;
129
129
  loader?: React.ReactNode;
130
- stretch?: boolean | undefined;
131
- stretching?: ("fixed" | "auto" | "filled") | undefined;
132
- square?: boolean | undefined;
133
- focused?: boolean | undefined;
134
- disabled?: boolean | undefined;
135
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
136
- view?: string | undefined;
137
- size?: string | undefined;
138
- outlined?: boolean | undefined;
139
- shiftLeft?: boolean | undefined;
140
- shiftRight?: boolean | undefined;
141
- blur?: "small" | "medium" | "large" | undefined;
130
+ stretch?: boolean;
131
+ stretching?: "fixed" | "auto" | "filled";
132
+ square?: boolean;
133
+ focused?: boolean;
134
+ disabled?: boolean;
135
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
136
+ view?: string;
137
+ size?: string;
138
+ outlined?: boolean;
139
+ shiftLeft?: boolean;
140
+ shiftRight?: boolean;
141
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
142
142
  } & {
143
- value?: undefined;
143
+ value?: never;
144
144
  contentRight?: React.ReactNode;
145
145
  } & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<Omit<HTMLButtonElement, "value">>>;
146
146
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Группа кнопок.
4
3
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardContent, CardInnerContent } from '@salutejs/plasma-new-hope/styled-components';
3
2
  /**
4
3
  * Компонент Card.
@@ -13,10 +12,10 @@ export declare const Card: import("react").FunctionComponent<import("@salutejs/p
13
12
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
13
  };
15
14
  }> & {
16
- size?: string | undefined;
17
- view?: string | undefined;
18
- orientation?: "horizontal" | "vertical" | undefined;
19
- selected?: boolean | undefined;
20
- backgroundType?: "none" | "solid" | undefined;
15
+ size?: string;
16
+ view?: string;
17
+ orientation?: "horizontal" | "vertical";
18
+ selected?: boolean;
19
+ backgroundType?: "none" | "solid";
21
20
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
22
21
  export { CardContent, CardInnerContent };
@@ -0,0 +1,14 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ };
10
+ size: {
11
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ };
13
+ };
14
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 's'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-solid-default);\n "])), _styledComponents.carouselNewTokens.paginationDotBackground, _styledComponents.carouselNewTokens.paginationDotActiveBackground)
18
+ },
19
+ size: {
20
+ s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral([""])))
21
+ }
22
+ }
23
+ };
@@ -0,0 +1,9 @@
1
+ declare const Carousel: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
+ view: {
3
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
4
+ };
5
+ size: {
6
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
+ };
8
+ }> & import("@salutejs/plasma-new-hope/styled-components").CarouselNewProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ export { Carousel };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Carousel = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _Carousel = /*#__PURE__*/require("./Carousel.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.carouselNewConfig, _Carousel.config);
10
+ var Carousel = exports.Carousel = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -0,0 +1,2 @@
1
+ export { CarouselItem } from '@salutejs/plasma-new-hope/styled-components';
2
+ export { Carousel } from './Carousel';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Carousel", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Carousel.Carousel;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "CarouselItem", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _styledComponents.CarouselItem;
16
+ }
17
+ });
18
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
19
+ var _Carousel = /*#__PURE__*/require("./Carousel");
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Кнопка.
4
3
  */
@@ -11,33 +10,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
11
10
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
11
  };
13
12
  }> & (({
14
- size?: string | undefined;
15
- view?: string | undefined;
13
+ size?: string;
14
+ view?: string;
16
15
  contentLeft?: import("react").ReactNode;
17
16
  contentRight?: import("react").ReactNode;
18
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
19
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
20
- stretching?: "fixed" | "auto" | "filled" | undefined;
17
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
18
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
19
+ stretching?: "fixed" | "filled" | "auto";
21
20
  content?: import("react").ReactNode;
22
- description?: string | undefined;
21
+ description?: string;
23
22
  } & {
24
- title?: string | undefined;
25
- subtitle?: string | undefined;
26
- label?: string | undefined;
27
- children?: undefined;
23
+ title?: string;
24
+ subtitle?: string;
25
+ label?: string;
26
+ children?: never;
28
27
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
29
- size?: string | undefined;
30
- view?: string | undefined;
28
+ size?: string;
29
+ view?: string;
31
30
  contentLeft?: import("react").ReactNode;
32
31
  contentRight?: import("react").ReactNode;
33
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
34
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
35
- stretching?: "fixed" | "auto" | "filled" | undefined;
32
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
33
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
34
+ stretching?: "fixed" | "filled" | "auto";
36
35
  content?: import("react").ReactNode;
37
- description?: string | undefined;
36
+ description?: string;
38
37
  } & {
39
- title?: undefined;
40
- subtitle?: undefined;
41
- label?: undefined;
38
+ title?: never;
39
+ subtitle?: never;
40
+ label?: never;
42
41
  children?: import("react").ReactNode;
43
42
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
@@ -13,7 +13,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
13
13
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
15
  }> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
16
- export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
16
+ export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
17
17
  /**
18
18
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
19
19
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Компонент chip.
4
3
  */