@meduza/ui-kit-2 0.2.33 → 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 +4 -2
- 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 +4 -2
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2752 -2752
- package/package.json +1 -1
- package/src/DonatesTeaser/index.tsx +2 -2
- 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
|
};
|
|
@@ -2043,13 +2045,13 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
|
|
|
2043
2045
|
title: '«Медуза». Работаем 24/7. И только в интересах читателей',
|
|
2044
2046
|
subtitle: 'Нам срочно нужна ваша поддержка',
|
|
2045
2047
|
button: 'Хочу помочь',
|
|
2046
|
-
href: 'https://
|
|
2048
|
+
href: 'https://support.meduza.io/'
|
|
2047
2049
|
},
|
|
2048
2050
|
en: {
|
|
2049
2051
|
title: 'Meduza, working 24/7, always for our readers',
|
|
2050
2052
|
subtitle: 'We need your help like never before',
|
|
2051
2053
|
button: 'Okay!',
|
|
2052
|
-
href: 'https://
|
|
2054
|
+
href: 'https://support.meduza.io/en'
|
|
2053
2055
|
}
|
|
2054
2056
|
};
|
|
2055
2057
|
return React__default.createElement("div", {
|