@salutejs/plasma-web 1.348.1-canary.1294.9868888674.0 → 1.349.0-canary.1293.9871436050.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +41 -5
- package/components/Skeleton/Skeleton.d.ts +40 -5
- package/package.json +5 -5
- package/temp/plasma-web.api.md +41 -5
package/api/plasma-web.api.md
CHANGED
@@ -262,6 +262,7 @@ import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/compone
|
|
262
262
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
263
263
|
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
|
264
264
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
265
|
+
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
265
266
|
import { TextSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
266
267
|
import { TimingFunction } from '@salutejs/plasma-core';
|
267
268
|
import { ToastPosition } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -2225,13 +2226,48 @@ breakWord?: boolean | undefined;
|
|
2225
2226
|
} & SpacingProps_2 & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
2226
2227
|
|
2227
2228
|
// @public
|
2228
|
-
export const TextSkeleton: FC< {
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2229
|
+
export const TextSkeleton: FC<PropsType< {
|
2230
|
+
size: {
|
2231
|
+
body1: PolymorphicClassName;
|
2232
|
+
body2: PolymorphicClassName;
|
2233
|
+
body3: PolymorphicClassName;
|
2234
|
+
button1: PolymorphicClassName;
|
2235
|
+
button2: PolymorphicClassName;
|
2236
|
+
caption: PolymorphicClassName;
|
2237
|
+
display1: PolymorphicClassName;
|
2238
|
+
display2: PolymorphicClassName;
|
2239
|
+
display3: PolymorphicClassName;
|
2240
|
+
footnote1: PolymorphicClassName;
|
2241
|
+
footnote2: PolymorphicClassName;
|
2242
|
+
headline1: PolymorphicClassName;
|
2243
|
+
headline2: PolymorphicClassName;
|
2244
|
+
headline3: PolymorphicClassName;
|
2245
|
+
headline4: PolymorphicClassName;
|
2246
|
+
paragraph1: PolymorphicClassName;
|
2247
|
+
paragraph2: PolymorphicClassName;
|
2248
|
+
underline: PolymorphicClassName;
|
2249
|
+
bodyL: PolymorphicClassName;
|
2250
|
+
bodyM: PolymorphicClassName;
|
2251
|
+
bodyS: PolymorphicClassName;
|
2252
|
+
bodyXS: PolymorphicClassName;
|
2253
|
+
bodyXXS: PolymorphicClassName;
|
2254
|
+
dsplL: PolymorphicClassName;
|
2255
|
+
dsplM: PolymorphicClassName;
|
2256
|
+
dsplS: PolymorphicClassName;
|
2257
|
+
h1: PolymorphicClassName;
|
2258
|
+
h2: PolymorphicClassName;
|
2259
|
+
h3: PolymorphicClassName;
|
2260
|
+
h4: PolymorphicClassName;
|
2261
|
+
h5: PolymorphicClassName;
|
2262
|
+
textL: PolymorphicClassName;
|
2263
|
+
textM: PolymorphicClassName;
|
2264
|
+
textS: PolymorphicClassName;
|
2265
|
+
textXS: PolymorphicClassName;
|
2266
|
+
};
|
2267
|
+
}> & HTMLAttributes<HTMLDivElement> & SkeletonSizeProps & {
|
2232
2268
|
customGradientColor?: string | undefined;
|
2233
2269
|
roundness?: 0 | 8 | 12 | 14 | 16 | 18 | 20 | 24 | 28 | 32 | 250 | undefined;
|
2234
|
-
} & SkeletonGradientProps_2>;
|
2270
|
+
} & SkeletonGradientProps_2 & RefAttributes<HTMLDivElement> & TextSkeletonBaseProps>;
|
2235
2271
|
|
2236
2272
|
export { TextSkeletonProps }
|
2237
2273
|
|
@@ -48,13 +48,48 @@ export declare const LineSkeleton: import("react").FunctionComponent<import("@sa
|
|
48
48
|
* Компонент плейсхолдера нескольких строк текста.
|
49
49
|
* Размеры компонента задаются с помощью констант и соответствуют размерам [типографических элементов](/?path=/docs/).
|
50
50
|
*/
|
51
|
-
export declare const TextSkeleton: import("react").FC<{
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
export declare const TextSkeleton: import("react").FC<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
52
|
+
size: {
|
53
|
+
body1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
54
|
+
body2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
55
|
+
body3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
56
|
+
button1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
57
|
+
button2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
58
|
+
caption: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
59
|
+
display1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
60
|
+
display2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
61
|
+
display3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
62
|
+
footnote1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
63
|
+
footnote2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
64
|
+
headline1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
65
|
+
headline2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
66
|
+
headline3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
67
|
+
headline4: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
68
|
+
paragraph1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
69
|
+
paragraph2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
70
|
+
underline: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
71
|
+
bodyL: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
72
|
+
bodyM: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
73
|
+
bodyS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
74
|
+
bodyXS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
75
|
+
bodyXXS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
76
|
+
dsplL: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
77
|
+
dsplM: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
78
|
+
dsplS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
79
|
+
h1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
80
|
+
h2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
81
|
+
h3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
82
|
+
h4: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
83
|
+
h5: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
84
|
+
textL: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
85
|
+
textM: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
86
|
+
textS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
87
|
+
textXS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
88
|
+
};
|
89
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/Skeleton/Skeleton.types").SkeletonSizeProps & {
|
55
90
|
customGradientColor?: string | undefined;
|
56
91
|
roundness?: 0 | 8 | 12 | 14 | 16 | 18 | 20 | 24 | 28 | 32 | 250 | undefined;
|
57
|
-
} & import("@salutejs/plasma-new-hope/styled-components").SkeletonGradientProps>;
|
92
|
+
} & import("@salutejs/plasma-new-hope/styled-components").SkeletonGradientProps & import("react").RefAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types").TextSkeletonBaseProps>;
|
58
93
|
/**
|
59
94
|
* Компонент для создания прямоугольного плейсхолдера.
|
60
95
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.349.0-canary.1293.9871436050.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -20,8 +20,8 @@
|
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.162.0-dev.0",
|
23
|
-
"@salutejs/plasma-hope": "1.287.1-
|
24
|
-
"@salutejs/plasma-new-hope": "0.
|
23
|
+
"@salutejs/plasma-hope": "1.287.1-dev.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.103.0-canary.1293.9871436050.0",
|
25
25
|
"@salutejs/plasma-tokens-b2b": "1.41.0-dev.0",
|
26
26
|
"@salutejs/plasma-tokens-b2c": "0.51.0-dev.0",
|
27
27
|
"@salutejs/plasma-tokens-web": "1.56.0-dev.0",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@rollup/plugin-node-resolve": "15.2.3",
|
50
50
|
"@salutejs/plasma-colors": "0.13.0",
|
51
51
|
"@salutejs/plasma-cy-utils": "0.94.0-dev.0",
|
52
|
-
"@salutejs/plasma-icons": "1.198.3-
|
52
|
+
"@salutejs/plasma-icons": "1.198.3-dev.0",
|
53
53
|
"@salutejs/plasma-sb-utils": "0.160.0-dev.0",
|
54
54
|
"@storybook/addon-docs": "7.6.17",
|
55
55
|
"@storybook/addon-essentials": "7.6.17",
|
@@ -110,5 +110,5 @@
|
|
110
110
|
"Fanil Zubairov"
|
111
111
|
],
|
112
112
|
"sideEffects": false,
|
113
|
-
"gitHead": "
|
113
|
+
"gitHead": "6b37e1efc685da11e60f150c2154882631f9b61a"
|
114
114
|
}
|
package/temp/plasma-web.api.md
CHANGED
@@ -262,6 +262,7 @@ import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/compone
|
|
262
262
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
263
263
|
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
|
264
264
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
265
|
+
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
265
266
|
import { TextSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
266
267
|
import { TimingFunction } from '@salutejs/plasma-core';
|
267
268
|
import { ToastPosition } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -2225,13 +2226,48 @@ breakWord?: boolean | undefined;
|
|
2225
2226
|
} & SpacingProps_2 & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
2226
2227
|
|
2227
2228
|
// @public
|
2228
|
-
export const TextSkeleton: FC< {
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2229
|
+
export const TextSkeleton: FC<PropsType< {
|
2230
|
+
size: {
|
2231
|
+
body1: PolymorphicClassName;
|
2232
|
+
body2: PolymorphicClassName;
|
2233
|
+
body3: PolymorphicClassName;
|
2234
|
+
button1: PolymorphicClassName;
|
2235
|
+
button2: PolymorphicClassName;
|
2236
|
+
caption: PolymorphicClassName;
|
2237
|
+
display1: PolymorphicClassName;
|
2238
|
+
display2: PolymorphicClassName;
|
2239
|
+
display3: PolymorphicClassName;
|
2240
|
+
footnote1: PolymorphicClassName;
|
2241
|
+
footnote2: PolymorphicClassName;
|
2242
|
+
headline1: PolymorphicClassName;
|
2243
|
+
headline2: PolymorphicClassName;
|
2244
|
+
headline3: PolymorphicClassName;
|
2245
|
+
headline4: PolymorphicClassName;
|
2246
|
+
paragraph1: PolymorphicClassName;
|
2247
|
+
paragraph2: PolymorphicClassName;
|
2248
|
+
underline: PolymorphicClassName;
|
2249
|
+
bodyL: PolymorphicClassName;
|
2250
|
+
bodyM: PolymorphicClassName;
|
2251
|
+
bodyS: PolymorphicClassName;
|
2252
|
+
bodyXS: PolymorphicClassName;
|
2253
|
+
bodyXXS: PolymorphicClassName;
|
2254
|
+
dsplL: PolymorphicClassName;
|
2255
|
+
dsplM: PolymorphicClassName;
|
2256
|
+
dsplS: PolymorphicClassName;
|
2257
|
+
h1: PolymorphicClassName;
|
2258
|
+
h2: PolymorphicClassName;
|
2259
|
+
h3: PolymorphicClassName;
|
2260
|
+
h4: PolymorphicClassName;
|
2261
|
+
h5: PolymorphicClassName;
|
2262
|
+
textL: PolymorphicClassName;
|
2263
|
+
textM: PolymorphicClassName;
|
2264
|
+
textS: PolymorphicClassName;
|
2265
|
+
textXS: PolymorphicClassName;
|
2266
|
+
};
|
2267
|
+
}> & HTMLAttributes<HTMLDivElement> & SkeletonSizeProps & {
|
2232
2268
|
customGradientColor?: string | undefined;
|
2233
2269
|
roundness?: 0 | 8 | 12 | 14 | 16 | 18 | 20 | 24 | 28 | 32 | 250 | undefined;
|
2234
|
-
} & SkeletonGradientProps_2>;
|
2270
|
+
} & SkeletonGradientProps_2 & RefAttributes<HTMLDivElement> & TextSkeletonBaseProps>;
|
2235
2271
|
|
2236
2272
|
export { TextSkeletonProps }
|
2237
2273
|
|