@meduza/ui-kit-2 0.2.34 → 0.2.35
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.
- package/dist/ToolbarButton/ToolbarButton.types.d.ts +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/types.d.ts +1 -1
- package/dist/ui-kit-2.cjs.development.js +2 -0
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +2 -0
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2723 -2723
- package/package.json +1 -1
- package/src/ToolbarButton/ToolbarButton.types.ts +1 -0
- package/src/constants.ts +2 -0
- package/src/types.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare type ToolbarButtonTypes = 'vk' | 'fb' | 'tw' | 'tg' | 'ok' | 'reaction' | 'bookmark' | 'cross';
|
|
2
|
+
export declare type ToolbarButtonTypes = 'vk' | 'fb' | 'tw' | 'tg' | 'ok' | 'reaction' | 'pdf' | 'bookmark' | 'cross';
|
|
3
3
|
export interface ToolbarButtonProps {
|
|
4
4
|
type: ToolbarButtonTypes;
|
|
5
5
|
theme?: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const SocialLabels: {
|
|
|
27
27
|
vk: string;
|
|
28
28
|
ok: string;
|
|
29
29
|
tw: string;
|
|
30
|
+
pdf: string;
|
|
30
31
|
bookmark: string;
|
|
31
32
|
reaction: string;
|
|
32
33
|
};
|
|
@@ -36,6 +37,7 @@ export declare const SocialLabels: {
|
|
|
36
37
|
vk: string;
|
|
37
38
|
ok: string;
|
|
38
39
|
tw: string;
|
|
40
|
+
pdf: string;
|
|
39
41
|
bookmark: string;
|
|
40
42
|
};
|
|
41
43
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface OptimizedImageItem {
|
|
|
4
4
|
'1x_webp': string;
|
|
5
5
|
'2x_webp': string;
|
|
6
6
|
}
|
|
7
|
-
export declare type CallToActions = 'fb' | 'tw' | 'vk' | 'ok' | 'tg' | 'wp' | 'reaction' | 'bookmark' | 'cross';
|
|
7
|
+
export declare type CallToActions = 'fb' | 'tw' | 'vk' | 'ok' | 'tg' | 'wp' | 'reaction' | 'pdf' | 'bookmark' | 'cross';
|
|
8
8
|
export declare type LightboxImage = {
|
|
9
9
|
original: string;
|
|
10
10
|
w325: OptimizedImageItem;
|
|
@@ -386,6 +386,7 @@ var SocialLabels = {
|
|
|
386
386
|
vk: 'Вк',
|
|
387
387
|
ok: 'Ок',
|
|
388
388
|
tw: 'Твиттер',
|
|
389
|
+
pdf: 'PDF',
|
|
389
390
|
bookmark: 'В закладки',
|
|
390
391
|
reaction: 'Напишите нам'
|
|
391
392
|
},
|
|
@@ -395,6 +396,7 @@ var SocialLabels = {
|
|
|
395
396
|
vk: 'Vk',
|
|
396
397
|
ok: 'Ok',
|
|
397
398
|
tw: 'Twitter',
|
|
399
|
+
pdf: 'PDF',
|
|
398
400
|
bookmark: 'Add to bookmarks'
|
|
399
401
|
}
|
|
400
402
|
};
|