@salutejs/sdds-cs 0.227.1-canary.1688.12706274765.0 → 0.228.0-canary.1696.12706339837.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,6 +67,7 @@ import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/componen
67
67
  import { ComponentProps } from 'react';
68
68
  import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
69
69
  import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
70
+ import { CustomCounterProps } from '@salutejs/plasma-new-hope/types/components/Counter/Counter.types';
70
71
  import { CustomHeaderTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
71
72
  import { CustomHorizontalTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
72
73
  import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
@@ -768,8 +769,8 @@ fit: PolymorphicClassName;
768
769
  focused: {
769
770
  true: PolymorphicClassName;
770
771
  };
771
- }> & HTMLAttributes<HTMLDivElement> & {
772
- size: "s" | "m" | "l" | "xxl" | "fit";
772
+ }> & ((HTMLAttributes<HTMLDivElement> & {
773
+ size?: string | undefined;
773
774
  name?: string | undefined;
774
775
  url?: string | undefined;
775
776
  customText?: string | undefined;
@@ -777,7 +778,102 @@ status?: "active" | "inactive" | undefined;
777
778
  isScalable?: boolean | undefined;
778
779
  focused?: boolean | undefined;
779
780
  statusLabels?: StatusLabels | undefined;
780
- } & RefAttributes<HTMLDivElement>>;
781
+ hasExtra?: boolean | undefined;
782
+ type?: "badge" | "counter" | undefined;
783
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
784
+ } & {
785
+ badgeView?: string | undefined;
786
+ text?: string | undefined;
787
+ customColor?: string | undefined;
788
+ customBackgroundColor?: string | undefined;
789
+ contentLeft?: ReactNode;
790
+ contentRight?: ReactNode;
791
+ clear?: true | undefined;
792
+ pilled?: undefined;
793
+ transparent?: undefined;
794
+ } & {
795
+ counterView?: undefined;
796
+ count?: undefined;
797
+ maxCount?: undefined;
798
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
799
+ size?: string | undefined;
800
+ name?: string | undefined;
801
+ url?: string | undefined;
802
+ customText?: string | undefined;
803
+ status?: "active" | "inactive" | undefined;
804
+ isScalable?: boolean | undefined;
805
+ focused?: boolean | undefined;
806
+ statusLabels?: StatusLabels | undefined;
807
+ hasExtra?: boolean | undefined;
808
+ type?: "badge" | "counter" | undefined;
809
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
810
+ } & {
811
+ badgeView?: string | undefined;
812
+ text?: string | undefined;
813
+ customColor?: string | undefined;
814
+ customBackgroundColor?: string | undefined;
815
+ contentLeft?: ReactNode;
816
+ contentRight?: ReactNode;
817
+ pilled?: boolean | undefined;
818
+ transparent?: boolean | undefined;
819
+ clear?: undefined;
820
+ } & {
821
+ counterView?: undefined;
822
+ count?: undefined;
823
+ maxCount?: undefined;
824
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
825
+ size?: string | undefined;
826
+ name?: string | undefined;
827
+ url?: string | undefined;
828
+ customText?: string | undefined;
829
+ status?: "active" | "inactive" | undefined;
830
+ isScalable?: boolean | undefined;
831
+ focused?: boolean | undefined;
832
+ statusLabels?: StatusLabels | undefined;
833
+ hasExtra?: boolean | undefined;
834
+ type?: "badge" | "counter" | undefined;
835
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
836
+ } & {
837
+ counterView?: string | undefined;
838
+ count?: number | undefined;
839
+ maxCount?: number | undefined;
840
+ } & {
841
+ badgeView?: undefined;
842
+ text?: undefined;
843
+ customColor?: undefined;
844
+ customBackgroundColor?: undefined;
845
+ contentLeft?: undefined;
846
+ contentRight?: undefined;
847
+ clear?: undefined;
848
+ pilled?: undefined;
849
+ transparent?: undefined;
850
+ } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
851
+ size?: string | undefined;
852
+ name?: string | undefined;
853
+ url?: string | undefined;
854
+ customText?: string | undefined;
855
+ status?: "active" | "inactive" | undefined;
856
+ isScalable?: boolean | undefined;
857
+ focused?: boolean | undefined;
858
+ statusLabels?: StatusLabels | undefined;
859
+ hasExtra?: boolean | undefined;
860
+ type?: "badge" | "counter" | undefined;
861
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
862
+ } & {
863
+ counterView?: string | undefined;
864
+ count?: number | undefined;
865
+ maxCount?: number | undefined;
866
+ } & {
867
+ badgeView?: undefined;
868
+ text?: undefined;
869
+ customColor?: undefined;
870
+ customBackgroundColor?: undefined;
871
+ contentLeft?: undefined;
872
+ contentRight?: undefined;
873
+ pilled?: undefined;
874
+ transparent?: undefined;
875
+ clear?: undefined;
876
+ } & RefAttributes<HTMLDivElement>))>;
781
877
 
782
878
  // @public (undocumented)
783
879
  export const AvatarGroup: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
@@ -819,27 +915,9 @@ view?: string | undefined;
819
915
  contentLeft?: ReactNode;
820
916
  contentRight?: undefined;
821
917
  } & {
822
- children?: ReactNode;
823
- } & {
824
918
  clear?: true | undefined;
825
- pilled?: false | undefined;
826
- transparent?: false | undefined;
827
- } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
828
- text?: string | undefined;
829
- customColor?: string | undefined;
830
- customBackgroundColor?: string | undefined;
831
- maxWidth?: Property.Width<string | number> | undefined;
832
- size?: string | undefined;
833
- view?: string | undefined;
834
- } & {
835
- contentLeft?: ReactNode;
836
- contentRight?: undefined;
837
- } & {
838
- children?: ReactNode;
839
- } & {
840
- pilled?: true | undefined;
841
- transparent?: boolean | undefined;
842
- clear?: false | undefined;
919
+ pilled?: undefined;
920
+ transparent?: undefined;
843
921
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
844
922
  text?: string | undefined;
845
923
  customColor?: string | undefined;
@@ -851,11 +929,9 @@ view?: string | undefined;
851
929
  contentLeft?: ReactNode;
852
930
  contentRight?: undefined;
853
931
  } & {
854
- children?: ReactNode;
855
- } & {
856
932
  pilled?: boolean | undefined;
857
- transparent?: true | undefined;
858
- clear?: false | undefined;
933
+ transparent?: boolean | undefined;
934
+ clear?: undefined;
859
935
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
860
936
  text?: string | undefined;
861
937
  customColor?: string | undefined;
@@ -867,11 +943,9 @@ view?: string | undefined;
867
943
  contentLeft?: undefined;
868
944
  contentRight?: ReactNode;
869
945
  } & {
870
- children?: ReactNode;
871
- } & {
872
946
  clear?: true | undefined;
873
- pilled?: false | undefined;
874
- transparent?: false | undefined;
947
+ pilled?: undefined;
948
+ transparent?: undefined;
875
949
  } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
876
950
  text?: string | undefined;
877
951
  customColor?: string | undefined;
@@ -883,27 +957,9 @@ view?: string | undefined;
883
957
  contentLeft?: undefined;
884
958
  contentRight?: ReactNode;
885
959
  } & {
886
- children?: ReactNode;
887
- } & {
888
- pilled?: true | undefined;
889
- transparent?: boolean | undefined;
890
- clear?: false | undefined;
891
- } & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
892
- text?: string | undefined;
893
- customColor?: string | undefined;
894
- customBackgroundColor?: string | undefined;
895
- maxWidth?: Property.Width<string | number> | undefined;
896
- size?: string | undefined;
897
- view?: string | undefined;
898
- } & {
899
- contentLeft?: undefined;
900
- contentRight?: ReactNode;
901
- } & {
902
- children?: ReactNode;
903
- } & {
904
960
  pilled?: boolean | undefined;
905
- transparent?: true | undefined;
906
- clear?: false | undefined;
961
+ transparent?: boolean | undefined;
962
+ clear?: undefined;
907
963
  } & RefAttributes<HTMLDivElement>))>;
908
964
 
909
965
  export { BadgeProps }
@@ -1284,12 +1340,7 @@ negative: PolymorphicClassName;
1284
1340
  size: {
1285
1341
  s: PolymorphicClassName;
1286
1342
  };
1287
- }> & HTMLAttributes<HTMLDivElement> & {
1288
- count: number;
1289
- maxCount?: number | undefined;
1290
- size?: string | undefined;
1291
- view?: string | undefined;
1292
- } & RefAttributes<HTMLDivElement>>;
1343
+ }> & HTMLAttributes<HTMLDivElement> & CustomCounterProps & RefAttributes<HTMLDivElement>>;
1293
1344
 
1294
1345
  export { CounterProps }
1295
1346
 
@@ -2447,7 +2498,7 @@ onDecrement?: ((value: number) => void) | undefined;
2447
2498
  } & {
2448
2499
  segmentation?: "clear" | undefined;
2449
2500
  inputBackgroundType?: undefined;
2450
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
2501
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
2451
2502
  value?: number | undefined;
2452
2503
  min?: number | undefined;
2453
2504
  max?: number | undefined;
@@ -2472,7 +2523,7 @@ onDecrement?: ((value: number) => void) | undefined;
2472
2523
  } & {
2473
2524
  segmentation?: string | undefined;
2474
2525
  inputBackgroundType?: string | undefined;
2475
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
2526
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "onChange" | "value"> & RefAttributes<HTMLInputElement>))>;
2476
2527
 
2477
2528
  export { numberInputClasses }
2478
2529
 
@@ -23,8 +23,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
23
23
  focused: {
24
24
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
25
  };
26
- }>, import("react").HTMLAttributes<HTMLDivElement> & {
27
- size: "s" | "m" | "l" | "xxl" | "fit";
26
+ }>, (import("react").HTMLAttributes<HTMLDivElement> & {
27
+ size?: string | undefined;
28
28
  name?: string | undefined;
29
29
  url?: string | undefined;
30
30
  customText?: string | undefined;
@@ -32,7 +32,102 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
32
32
  isScalable?: boolean | undefined;
33
33
  focused?: boolean | undefined;
34
34
  statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
35
- } & import("react").RefAttributes<HTMLDivElement>>;
35
+ hasExtra?: boolean | undefined;
36
+ type?: "badge" | "counter" | undefined;
37
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
38
+ } & {
39
+ badgeView?: string | undefined;
40
+ text?: string | undefined;
41
+ customColor?: string | undefined;
42
+ customBackgroundColor?: string | undefined;
43
+ contentLeft?: import("react").ReactNode;
44
+ contentRight?: import("react").ReactNode;
45
+ clear?: true | undefined;
46
+ pilled?: undefined;
47
+ transparent?: undefined;
48
+ } & {
49
+ counterView?: undefined;
50
+ count?: undefined;
51
+ maxCount?: undefined;
52
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
53
+ size?: string | undefined;
54
+ name?: string | undefined;
55
+ url?: string | undefined;
56
+ customText?: string | undefined;
57
+ status?: "active" | "inactive" | undefined;
58
+ isScalable?: boolean | undefined;
59
+ focused?: boolean | undefined;
60
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
61
+ hasExtra?: boolean | undefined;
62
+ type?: "badge" | "counter" | undefined;
63
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
64
+ } & {
65
+ badgeView?: string | undefined;
66
+ text?: string | undefined;
67
+ customColor?: string | undefined;
68
+ customBackgroundColor?: string | undefined;
69
+ contentLeft?: import("react").ReactNode;
70
+ contentRight?: import("react").ReactNode;
71
+ pilled?: boolean | undefined;
72
+ transparent?: boolean | undefined;
73
+ clear?: undefined;
74
+ } & {
75
+ counterView?: undefined;
76
+ count?: undefined;
77
+ maxCount?: undefined;
78
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
79
+ size?: string | undefined;
80
+ name?: string | undefined;
81
+ url?: string | undefined;
82
+ customText?: string | undefined;
83
+ status?: "active" | "inactive" | undefined;
84
+ isScalable?: boolean | undefined;
85
+ focused?: boolean | undefined;
86
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
87
+ hasExtra?: boolean | undefined;
88
+ type?: "badge" | "counter" | undefined;
89
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
90
+ } & {
91
+ counterView?: string | undefined;
92
+ count?: number | undefined;
93
+ maxCount?: number | undefined;
94
+ } & {
95
+ badgeView?: undefined;
96
+ text?: undefined;
97
+ customColor?: undefined;
98
+ customBackgroundColor?: undefined;
99
+ contentLeft?: undefined;
100
+ contentRight?: undefined;
101
+ clear?: undefined;
102
+ pilled?: undefined;
103
+ transparent?: undefined;
104
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
105
+ size?: string | undefined;
106
+ name?: string | undefined;
107
+ url?: string | undefined;
108
+ customText?: string | undefined;
109
+ status?: "active" | "inactive" | undefined;
110
+ isScalable?: boolean | undefined;
111
+ focused?: boolean | undefined;
112
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
113
+ hasExtra?: boolean | undefined;
114
+ type?: "badge" | "counter" | undefined;
115
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
116
+ } & {
117
+ counterView?: string | undefined;
118
+ count?: number | undefined;
119
+ maxCount?: number | undefined;
120
+ } & {
121
+ badgeView?: undefined;
122
+ text?: undefined;
123
+ customColor?: undefined;
124
+ customBackgroundColor?: undefined;
125
+ contentLeft?: undefined;
126
+ contentRight?: undefined;
127
+ pilled?: undefined;
128
+ transparent?: undefined;
129
+ clear?: undefined;
130
+ } & import("react").RefAttributes<HTMLDivElement>)>;
36
131
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
37
132
  view: {
38
133
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -45,8 +140,86 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
45
140
  focused: {
46
141
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
47
142
  };
48
- }> & import("react").HTMLAttributes<HTMLDivElement> & {
49
- size: "s" | "m" | "l" | "xxl" | "fit";
143
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
144
+ size?: string | undefined;
145
+ name?: string | undefined;
146
+ url?: string | undefined;
147
+ customText?: string | undefined;
148
+ status?: "active" | "inactive" | undefined;
149
+ isScalable?: boolean | undefined;
150
+ focused?: boolean | undefined;
151
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
152
+ hasExtra?: boolean | undefined;
153
+ type?: "badge" | "counter" | undefined;
154
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
155
+ } & {
156
+ badgeView?: string | undefined;
157
+ text?: string | undefined;
158
+ customColor?: string | undefined;
159
+ customBackgroundColor?: string | undefined;
160
+ contentLeft?: import("react").ReactNode;
161
+ contentRight?: import("react").ReactNode;
162
+ clear?: true | undefined;
163
+ pilled?: undefined;
164
+ transparent?: undefined;
165
+ } & {
166
+ counterView?: undefined;
167
+ count?: undefined;
168
+ maxCount?: undefined;
169
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
170
+ size?: string | undefined;
171
+ name?: string | undefined;
172
+ url?: string | undefined;
173
+ customText?: string | undefined;
174
+ status?: "active" | "inactive" | undefined;
175
+ isScalable?: boolean | undefined;
176
+ focused?: boolean | undefined;
177
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
178
+ hasExtra?: boolean | undefined;
179
+ type?: "badge" | "counter" | undefined;
180
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
181
+ } & {
182
+ badgeView?: string | undefined;
183
+ text?: string | undefined;
184
+ customColor?: string | undefined;
185
+ customBackgroundColor?: string | undefined;
186
+ contentLeft?: import("react").ReactNode;
187
+ contentRight?: import("react").ReactNode;
188
+ pilled?: boolean | undefined;
189
+ transparent?: boolean | undefined;
190
+ clear?: undefined;
191
+ } & {
192
+ counterView?: undefined;
193
+ count?: undefined;
194
+ maxCount?: undefined;
195
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
196
+ size?: string | undefined;
197
+ name?: string | undefined;
198
+ url?: string | undefined;
199
+ customText?: string | undefined;
200
+ status?: "active" | "inactive" | undefined;
201
+ isScalable?: boolean | undefined;
202
+ focused?: boolean | undefined;
203
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
204
+ hasExtra?: boolean | undefined;
205
+ type?: "badge" | "counter" | undefined;
206
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
207
+ } & {
208
+ counterView?: string | undefined;
209
+ count?: number | undefined;
210
+ maxCount?: number | undefined;
211
+ } & {
212
+ badgeView?: undefined;
213
+ text?: undefined;
214
+ customColor?: undefined;
215
+ customBackgroundColor?: undefined;
216
+ contentLeft?: undefined;
217
+ contentRight?: undefined;
218
+ clear?: undefined;
219
+ pilled?: undefined;
220
+ transparent?: undefined;
221
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
222
+ size?: string | undefined;
50
223
  name?: string | undefined;
51
224
  url?: string | undefined;
52
225
  customText?: string | undefined;
@@ -54,5 +227,22 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
54
227
  isScalable?: boolean | undefined;
55
228
  focused?: boolean | undefined;
56
229
  statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
57
- } & import("react").RefAttributes<HTMLDivElement>>;
230
+ hasExtra?: boolean | undefined;
231
+ type?: "badge" | "counter" | undefined;
232
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
233
+ } & {
234
+ counterView?: string | undefined;
235
+ count?: number | undefined;
236
+ maxCount?: number | undefined;
237
+ } & {
238
+ badgeView?: undefined;
239
+ text?: undefined;
240
+ customColor?: undefined;
241
+ customBackgroundColor?: undefined;
242
+ contentLeft?: undefined;
243
+ contentRight?: undefined;
244
+ pilled?: undefined;
245
+ transparent?: undefined;
246
+ clear?: undefined;
247
+ } & import("react").RefAttributes<HTMLDivElement>))>;
58
248
  export { Avatar, mergedConfig };
@@ -31,28 +31,10 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
31
31
  } & {
32
32
  contentLeft?: import("react").ReactNode;
33
33
  contentRight?: undefined;
34
- } & {
35
- children?: import("react").ReactNode;
36
34
  } & {
37
35
  clear?: true | undefined;
38
- pilled?: false | undefined;
39
- transparent?: false | undefined;
40
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
41
- text?: string | undefined;
42
- customColor?: string | undefined;
43
- customBackgroundColor?: string | undefined;
44
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
45
- size?: string | undefined;
46
- view?: string | undefined;
47
- } & {
48
- contentLeft?: import("react").ReactNode;
49
- contentRight?: undefined;
50
- } & {
51
- children?: import("react").ReactNode;
52
- } & {
53
- pilled?: true | undefined;
54
- transparent?: boolean | undefined;
55
- clear?: false | undefined;
36
+ pilled?: undefined;
37
+ transparent?: undefined;
56
38
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
57
39
  text?: string | undefined;
58
40
  customColor?: string | undefined;
@@ -63,12 +45,10 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
63
45
  } & {
64
46
  contentLeft?: import("react").ReactNode;
65
47
  contentRight?: undefined;
66
- } & {
67
- children?: import("react").ReactNode;
68
48
  } & {
69
49
  pilled?: boolean | undefined;
70
- transparent?: true | undefined;
71
- clear?: false | undefined;
50
+ transparent?: boolean | undefined;
51
+ clear?: undefined;
72
52
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
73
53
  text?: string | undefined;
74
54
  customColor?: string | undefined;
@@ -79,28 +59,10 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
79
59
  } & {
80
60
  contentLeft?: undefined;
81
61
  contentRight?: import("react").ReactNode;
82
- } & {
83
- children?: import("react").ReactNode;
84
62
  } & {
85
63
  clear?: true | undefined;
86
- pilled?: false | undefined;
87
- transparent?: false | undefined;
88
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
89
- text?: string | undefined;
90
- customColor?: string | undefined;
91
- customBackgroundColor?: string | undefined;
92
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
93
- size?: string | undefined;
94
- view?: string | undefined;
95
- } & {
96
- contentLeft?: undefined;
97
- contentRight?: import("react").ReactNode;
98
- } & {
99
- children?: import("react").ReactNode;
100
- } & {
101
- pilled?: true | undefined;
102
- transparent?: boolean | undefined;
103
- clear?: false | undefined;
64
+ pilled?: undefined;
65
+ transparent?: undefined;
104
66
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
105
67
  text?: string | undefined;
106
68
  customColor?: string | undefined;
@@ -111,10 +73,8 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
111
73
  } & {
112
74
  contentLeft?: undefined;
113
75
  contentRight?: import("react").ReactNode;
114
- } & {
115
- children?: import("react").ReactNode;
116
76
  } & {
117
77
  pilled?: boolean | undefined;
118
- transparent?: true | undefined;
119
- clear?: false | undefined;
78
+ transparent?: boolean | undefined;
79
+ clear?: undefined;
120
80
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -12,9 +12,4 @@ export declare const Counter: import("react").FunctionComponent<import("@salutej
12
12
  size: {
13
13
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
- }> & import("react").HTMLAttributes<HTMLDivElement> & {
16
- count: number;
17
- maxCount?: number | undefined;
18
- size?: string | undefined;
19
- view?: string | undefined;
20
- } & import("react").RefAttributes<HTMLDivElement>>;
15
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/Counter/Counter.types").CustomCounterProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -44,7 +44,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
44
44
  } & {
45
45
  segmentation?: "clear" | undefined;
46
46
  inputBackgroundType?: undefined;
47
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
47
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
48
48
  value?: number | undefined;
49
49
  min?: number | undefined;
50
50
  max?: number | undefined;
@@ -69,4 +69,4 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
69
69
  } & {
70
70
  segmentation?: string | undefined;
71
71
  inputBackgroundType?: string | undefined;
72
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
72
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.227.1-canary.1688.12706274765.0",
3
+ "version": "0.228.0-canary.1696.12706339837.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,16 +21,38 @@
21
21
  "api-extractor.json",
22
22
  "CHANGELOG.md"
23
23
  ],
24
- "main": "index.js",
25
- "module": "es/index.js",
26
- "types": "index.d.ts",
24
+ "main": "./index.js",
25
+ "module": "./es/index.js",
26
+ "types": "./index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "require": "./components/index.js",
30
+ "import": "./es/index.js",
31
+ "types": "./index.d.ts"
32
+ },
33
+ "./emotion": {
34
+ "require": "./emotion/cjs/index.js",
35
+ "import": "./emotion/es/index.js",
36
+ "types": "./index.d.ts"
37
+ },
38
+ "./tokens": {
39
+ "require": "./tokens/index.js",
40
+ "import": "./es/tokens/index.js",
41
+ "types": "./tokens/index.d.ts"
42
+ },
43
+ "./mixins": {
44
+ "require": "./mixins/index.js",
45
+ "import": "./es/mixins/index.js",
46
+ "types": "./mixins/index.d.ts"
47
+ }
48
+ },
27
49
  "repository": {
28
50
  "type": "git",
29
51
  "url": "ssh://git@github.com:salute-developers/plasma.git",
30
52
  "directory": "packages/sdds-cs"
31
53
  },
32
54
  "dependencies": {
33
- "@salutejs/plasma-new-hope": "0.238.1-canary.1688.12706274765.0",
55
+ "@salutejs/plasma-new-hope": "0.239.0-canary.1696.12706339837.0",
34
56
  "@salutejs/sdds-themes": "0.31.0"
35
57
  },
36
58
  "peerDependencies": {
@@ -122,5 +144,5 @@
122
144
  "Anton Vinogradov"
123
145
  ],
124
146
  "sideEffects": false,
125
- "gitHead": "7ae1419271d9dc3204aa4cd0a0287df1552e9545"
147
+ "gitHead": "c8b5a755a31c1761e67e6029c500308b78b0e9aa"
126
148
  }