@salutejs/sdds-serv 0.224.0-canary.1696.12706339837.0 → 0.224.0-canary.1696.12710467472.0
Sign up to get free protection for your applications and to get access to all the features.
package/api/sdds-serv.api.md
CHANGED
@@ -827,40 +827,12 @@ type?: "badge" | "counter" | undefined;
|
|
827
827
|
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
828
828
|
} & {
|
829
829
|
badgeView?: string | undefined;
|
830
|
+
pilled?: boolean | undefined;
|
830
831
|
text?: string | undefined;
|
831
832
|
customColor?: string | undefined;
|
832
833
|
customBackgroundColor?: string | undefined;
|
833
834
|
contentLeft?: ReactNode;
|
834
835
|
contentRight?: ReactNode;
|
835
|
-
clear?: true | undefined;
|
836
|
-
pilled?: undefined;
|
837
|
-
transparent?: undefined;
|
838
|
-
} & {
|
839
|
-
counterView?: undefined;
|
840
|
-
count?: undefined;
|
841
|
-
maxCount?: undefined;
|
842
|
-
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
|
843
|
-
size?: string | undefined;
|
844
|
-
name?: string | undefined;
|
845
|
-
url?: string | undefined;
|
846
|
-
customText?: string | undefined;
|
847
|
-
status?: "active" | "inactive" | undefined;
|
848
|
-
isScalable?: boolean | undefined;
|
849
|
-
focused?: boolean | undefined;
|
850
|
-
statusLabels?: StatusLabels | undefined;
|
851
|
-
hasExtra?: boolean | undefined;
|
852
|
-
type?: "badge" | "counter" | undefined;
|
853
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
854
|
-
} & {
|
855
|
-
badgeView?: string | undefined;
|
856
|
-
text?: string | undefined;
|
857
|
-
customColor?: string | undefined;
|
858
|
-
customBackgroundColor?: string | undefined;
|
859
|
-
contentLeft?: ReactNode;
|
860
|
-
contentRight?: ReactNode;
|
861
|
-
pilled?: boolean | undefined;
|
862
|
-
transparent?: boolean | undefined;
|
863
|
-
clear?: undefined;
|
864
836
|
} & {
|
865
837
|
counterView?: undefined;
|
866
838
|
count?: undefined;
|
@@ -883,40 +855,12 @@ count?: number | undefined;
|
|
883
855
|
maxCount?: number | undefined;
|
884
856
|
} & {
|
885
857
|
badgeView?: undefined;
|
886
|
-
text?: undefined;
|
887
|
-
customColor?: undefined;
|
888
|
-
customBackgroundColor?: undefined;
|
889
|
-
contentLeft?: undefined;
|
890
|
-
contentRight?: undefined;
|
891
|
-
clear?: undefined;
|
892
858
|
pilled?: undefined;
|
893
|
-
transparent?: undefined;
|
894
|
-
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
|
895
|
-
size?: string | undefined;
|
896
|
-
name?: string | undefined;
|
897
|
-
url?: string | undefined;
|
898
|
-
customText?: string | undefined;
|
899
|
-
status?: "active" | "inactive" | undefined;
|
900
|
-
isScalable?: boolean | undefined;
|
901
|
-
focused?: boolean | undefined;
|
902
|
-
statusLabels?: StatusLabels | undefined;
|
903
|
-
hasExtra?: boolean | undefined;
|
904
|
-
type?: "badge" | "counter" | undefined;
|
905
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
906
|
-
} & {
|
907
|
-
counterView?: string | undefined;
|
908
|
-
count?: number | undefined;
|
909
|
-
maxCount?: number | undefined;
|
910
|
-
} & {
|
911
|
-
badgeView?: undefined;
|
912
859
|
text?: undefined;
|
913
860
|
customColor?: undefined;
|
914
861
|
customBackgroundColor?: undefined;
|
915
862
|
contentLeft?: undefined;
|
916
863
|
contentRight?: undefined;
|
917
|
-
pilled?: undefined;
|
918
|
-
transparent?: undefined;
|
919
|
-
clear?: undefined;
|
920
864
|
} & RefAttributes<HTMLDivElement>))>;
|
921
865
|
|
922
866
|
// @public (undocumented)
|
@@ -77,40 +77,12 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
77
77
|
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
78
78
|
} & {
|
79
79
|
badgeView?: string | undefined;
|
80
|
+
pilled?: boolean | undefined;
|
80
81
|
text?: string | undefined;
|
81
82
|
customColor?: string | undefined;
|
82
83
|
customBackgroundColor?: string | undefined;
|
83
84
|
contentLeft?: import("react").ReactNode;
|
84
85
|
contentRight?: import("react").ReactNode;
|
85
|
-
clear?: true | undefined;
|
86
|
-
pilled?: undefined;
|
87
|
-
transparent?: undefined;
|
88
|
-
} & {
|
89
|
-
counterView?: undefined;
|
90
|
-
count?: undefined;
|
91
|
-
maxCount?: undefined;
|
92
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
93
|
-
size?: string | undefined;
|
94
|
-
name?: string | undefined;
|
95
|
-
url?: string | undefined;
|
96
|
-
customText?: string | undefined;
|
97
|
-
status?: "active" | "inactive" | undefined;
|
98
|
-
isScalable?: boolean | undefined;
|
99
|
-
focused?: boolean | undefined;
|
100
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
101
|
-
hasExtra?: boolean | undefined;
|
102
|
-
type?: "badge" | "counter" | undefined;
|
103
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
104
|
-
} & {
|
105
|
-
badgeView?: string | undefined;
|
106
|
-
text?: string | undefined;
|
107
|
-
customColor?: string | undefined;
|
108
|
-
customBackgroundColor?: string | undefined;
|
109
|
-
contentLeft?: import("react").ReactNode;
|
110
|
-
contentRight?: import("react").ReactNode;
|
111
|
-
pilled?: boolean | undefined;
|
112
|
-
transparent?: boolean | undefined;
|
113
|
-
clear?: undefined;
|
114
86
|
} & {
|
115
87
|
counterView?: undefined;
|
116
88
|
count?: undefined;
|
@@ -133,40 +105,12 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
133
105
|
maxCount?: number | undefined;
|
134
106
|
} & {
|
135
107
|
badgeView?: undefined;
|
136
|
-
text?: undefined;
|
137
|
-
customColor?: undefined;
|
138
|
-
customBackgroundColor?: undefined;
|
139
|
-
contentLeft?: undefined;
|
140
|
-
contentRight?: undefined;
|
141
|
-
clear?: undefined;
|
142
108
|
pilled?: undefined;
|
143
|
-
transparent?: undefined;
|
144
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
145
|
-
size?: string | undefined;
|
146
|
-
name?: string | undefined;
|
147
|
-
url?: string | undefined;
|
148
|
-
customText?: string | undefined;
|
149
|
-
status?: "active" | "inactive" | undefined;
|
150
|
-
isScalable?: boolean | undefined;
|
151
|
-
focused?: boolean | undefined;
|
152
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
153
|
-
hasExtra?: boolean | undefined;
|
154
|
-
type?: "badge" | "counter" | undefined;
|
155
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
156
|
-
} & {
|
157
|
-
counterView?: string | undefined;
|
158
|
-
count?: number | undefined;
|
159
|
-
maxCount?: number | undefined;
|
160
|
-
} & {
|
161
|
-
badgeView?: undefined;
|
162
109
|
text?: undefined;
|
163
110
|
customColor?: undefined;
|
164
111
|
customBackgroundColor?: undefined;
|
165
112
|
contentLeft?: undefined;
|
166
113
|
contentRight?: undefined;
|
167
|
-
pilled?: undefined;
|
168
|
-
transparent?: undefined;
|
169
|
-
clear?: undefined;
|
170
114
|
} & import("react").RefAttributes<HTMLDivElement>)>;
|
171
115
|
declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
172
116
|
view: {
|
@@ -214,40 +158,12 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
214
158
|
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
215
159
|
} & {
|
216
160
|
badgeView?: string | undefined;
|
161
|
+
pilled?: boolean | undefined;
|
217
162
|
text?: string | undefined;
|
218
163
|
customColor?: string | undefined;
|
219
164
|
customBackgroundColor?: string | undefined;
|
220
165
|
contentLeft?: import("react").ReactNode;
|
221
166
|
contentRight?: import("react").ReactNode;
|
222
|
-
clear?: true | undefined;
|
223
|
-
pilled?: undefined;
|
224
|
-
transparent?: undefined;
|
225
|
-
} & {
|
226
|
-
counterView?: undefined;
|
227
|
-
count?: undefined;
|
228
|
-
maxCount?: undefined;
|
229
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
230
|
-
size?: string | undefined;
|
231
|
-
name?: string | undefined;
|
232
|
-
url?: string | undefined;
|
233
|
-
customText?: string | undefined;
|
234
|
-
status?: "active" | "inactive" | undefined;
|
235
|
-
isScalable?: boolean | undefined;
|
236
|
-
focused?: boolean | undefined;
|
237
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
238
|
-
hasExtra?: boolean | undefined;
|
239
|
-
type?: "badge" | "counter" | undefined;
|
240
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
241
|
-
} & {
|
242
|
-
badgeView?: string | undefined;
|
243
|
-
text?: string | undefined;
|
244
|
-
customColor?: string | undefined;
|
245
|
-
customBackgroundColor?: string | undefined;
|
246
|
-
contentLeft?: import("react").ReactNode;
|
247
|
-
contentRight?: import("react").ReactNode;
|
248
|
-
pilled?: boolean | undefined;
|
249
|
-
transparent?: boolean | undefined;
|
250
|
-
clear?: undefined;
|
251
167
|
} & {
|
252
168
|
counterView?: undefined;
|
253
169
|
count?: undefined;
|
@@ -270,39 +186,11 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
270
186
|
maxCount?: number | undefined;
|
271
187
|
} & {
|
272
188
|
badgeView?: undefined;
|
273
|
-
text?: undefined;
|
274
|
-
customColor?: undefined;
|
275
|
-
customBackgroundColor?: undefined;
|
276
|
-
contentLeft?: undefined;
|
277
|
-
contentRight?: undefined;
|
278
|
-
clear?: undefined;
|
279
189
|
pilled?: undefined;
|
280
|
-
transparent?: undefined;
|
281
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
282
|
-
size?: string | undefined;
|
283
|
-
name?: string | undefined;
|
284
|
-
url?: string | undefined;
|
285
|
-
customText?: string | undefined;
|
286
|
-
status?: "active" | "inactive" | undefined;
|
287
|
-
isScalable?: boolean | undefined;
|
288
|
-
focused?: boolean | undefined;
|
289
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
290
|
-
hasExtra?: boolean | undefined;
|
291
|
-
type?: "badge" | "counter" | undefined;
|
292
|
-
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
293
|
-
} & {
|
294
|
-
counterView?: string | undefined;
|
295
|
-
count?: number | undefined;
|
296
|
-
maxCount?: number | undefined;
|
297
|
-
} & {
|
298
|
-
badgeView?: undefined;
|
299
190
|
text?: undefined;
|
300
191
|
customColor?: undefined;
|
301
192
|
customBackgroundColor?: undefined;
|
302
193
|
contentLeft?: undefined;
|
303
194
|
contentRight?: undefined;
|
304
|
-
pilled?: undefined;
|
305
|
-
transparent?: undefined;
|
306
|
-
clear?: undefined;
|
307
195
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
308
196
|
export { Avatar, mergedConfig };
|
@@ -61,14 +61,6 @@ const meta: Meta<typeof Avatar> = {
|
|
61
61
|
control: 'boolean',
|
62
62
|
if: { arg: 'type', eq: 'badge' },
|
63
63
|
},
|
64
|
-
transparent: {
|
65
|
-
control: 'boolean',
|
66
|
-
if: { arg: 'type', eq: 'badge' },
|
67
|
-
},
|
68
|
-
clear: {
|
69
|
-
control: 'boolean',
|
70
|
-
if: { arg: 'type', eq: 'badge' },
|
71
|
-
},
|
72
64
|
},
|
73
65
|
};
|
74
66
|
|
@@ -105,8 +97,6 @@ export const Default: Story = {
|
|
105
97
|
badgeView: 'accent',
|
106
98
|
text: '31',
|
107
99
|
pilled: true,
|
108
|
-
clear: false,
|
109
|
-
transparent: false,
|
110
100
|
enableContentLeft: false,
|
111
101
|
enableContentRight: false,
|
112
102
|
},
|
@@ -61,14 +61,6 @@ const meta: Meta<typeof Avatar> = {
|
|
61
61
|
control: 'boolean',
|
62
62
|
if: { arg: 'type', eq: 'badge' },
|
63
63
|
},
|
64
|
-
transparent: {
|
65
|
-
control: 'boolean',
|
66
|
-
if: { arg: 'type', eq: 'badge' },
|
67
|
-
},
|
68
|
-
clear: {
|
69
|
-
control: 'boolean',
|
70
|
-
if: { arg: 'type', eq: 'badge' },
|
71
|
-
},
|
72
64
|
},
|
73
65
|
};
|
74
66
|
|
@@ -105,8 +97,6 @@ export const Default: Story = {
|
|
105
97
|
badgeView: 'accent',
|
106
98
|
text: '31',
|
107
99
|
pilled: true,
|
108
|
-
clear: false,
|
109
|
-
transparent: false,
|
110
100
|
enableContentLeft: false,
|
111
101
|
enableContentRight: false,
|
112
102
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-serv",
|
3
|
-
"version": "0.224.0-canary.1696.
|
3
|
+
"version": "0.224.0-canary.1696.12710467472.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS SERV web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"directory": "packages/sdds-serv"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"@salutejs/plasma-new-hope": "0.239.0-canary.1696.
|
51
|
+
"@salutejs/plasma-new-hope": "0.239.0-canary.1696.12710467472.0",
|
52
52
|
"@salutejs/sdds-themes": "0.31.0"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
@@ -153,5 +153,5 @@
|
|
153
153
|
"sideEffects": [
|
154
154
|
"*.css"
|
155
155
|
],
|
156
|
-
"gitHead": "
|
156
|
+
"gitHead": "7757851b7d6d55d527cb6992cea39ed1daf27a10"
|
157
157
|
}
|