@meduza/ui-kit-2 0.2.34 → 0.2.36
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 +6 -4
- 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 +6 -4
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2899 -2853
- package/package.json +1 -1
- package/src/ImportantLead/ImportantLead.module.css +10 -7
- package/src/Meta/Meta.module.css +13 -4
- package/src/RichTitle/RichTitle.module.css +12 -7
- package/src/SimpleBlock/SimpleBlock.module.css +46 -29
- package/src/SimpleTitle/SimpleTitle.module.css +4 -3
- package/src/Tag/Tag.module.css +19 -11
- 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
|
};
|
|
@@ -826,7 +828,7 @@ var DotsOnImage = function DotsOnImage(_ref) {
|
|
|
826
828
|
})))));
|
|
827
829
|
};
|
|
828
830
|
|
|
829
|
-
var styles$8 = {"root":"Tag-module_root__3IqWC","small":"Tag-module_small__2IAb7","large":"Tag-module_large__22z_o","dark":"Tag-module_dark__sgnt1","light":"Tag-module_light__1zUhp","gold":"Tag-module_gold__2ksA7","gray":"Tag-module_gray__mGAO_","inherit":"Tag-module_inherit__2QB5U","is1to1":"Tag-module_is1to1__3EDbC","is1to2":"Tag-module_is1to2__3xbC6","isInSuperBlock":"Tag-module_isInSuperBlock__38JE0","is1to3":"Tag-module_is1to3__3j5K-","is1to4":"Tag-module_is1to4__2vq4r","slide":"Tag-module_slide__2nMDw","game":"Tag-module_game__3j5yG","richRelated":"Tag-module_richRelated__2vbQQ","card":"Tag-module_card__1EAeF","live":"Tag-module_live__rwXuR","episode":"Tag-module_episode__3o6gg","podcast":"Tag-module_podcast__VPoll","rich":"Tag-module_rich__2URd9","isInDynamicBlock":"Tag-module_isInDynamicBlock__1YM9I","mobile":"Tag-module_mobile__QQxuv","desktop":"Tag-module_desktop__1Bjsy"};
|
|
831
|
+
var styles$8 = {"root":"Tag-module_root__3IqWC","small":"Tag-module_small__2IAb7","large":"Tag-module_large__22z_o","dark":"Tag-module_dark__sgnt1","light":"Tag-module_light__1zUhp","gold":"Tag-module_gold__2ksA7","gray":"Tag-module_gray__mGAO_","inherit":"Tag-module_inherit__2QB5U","is1to1":"Tag-module_is1to1__3EDbC","is1to2":"Tag-module_is1to2__3xbC6","isInSuperBlock":"Tag-module_isInSuperBlock__38JE0","is1to3":"Tag-module_is1to3__3j5K-","is1to4":"Tag-module_is1to4__2vq4r","slide":"Tag-module_slide__2nMDw","game":"Tag-module_game__3j5yG","podcastMaterial":"Tag-module_podcastMaterial__3v92z","richRelated":"Tag-module_richRelated__2vbQQ","card":"Tag-module_card__1EAeF","live":"Tag-module_live__rwXuR","episode":"Tag-module_episode__3o6gg","podcast":"Tag-module_podcast__VPoll","rich":"Tag-module_rich__2URd9","isInDynamicBlock":"Tag-module_isInDynamicBlock__1YM9I","mobile":"Tag-module_mobile__QQxuv","desktop":"Tag-module_desktop__1Bjsy"};
|
|
830
832
|
|
|
831
833
|
var Tag = function Tag(_ref) {
|
|
832
834
|
var children = _ref.children,
|
|
@@ -1050,7 +1052,7 @@ var Toolbar = function Toolbar(_ref) {
|
|
|
1050
1052
|
}, children));
|
|
1051
1053
|
};
|
|
1052
1054
|
|
|
1053
|
-
var styles$f = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","isInMediaBlock":"Meta-module_isInMediaBlock__3xfPF","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","isDark":"Meta-module_isDark__3g22f","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
|
|
1055
|
+
var styles$f = {"root":"Meta-module_root__12AG7","rich":"Meta-module_rich__1XBtZ","podcast":"Meta-module_podcast__1m4zo","episode":"Meta-module_episode__1K2Xv","simple":"Meta-module_simple__3vUiI","slide":"Meta-module_slide__3g6fG","card":"Meta-module_card__LE1RK","game":"Meta-module_game__3aNlZ","isInMaterial":"Meta-module_isInMaterial__zaYMy","isInSearchItem":"Meta-module_isInSearchItem__1wbpx","isInMediaBlock":"Meta-module_isInMediaBlock__3xfPF","center":"Meta-module_center__3BBPr","half":"Meta-module_half__1xRkT","podcastMaterial":"Meta-module_podcastMaterial__2fHAt","light":"Meta-module_light__2baE-","dark":"Meta-module_dark__24y9m","isDark":"Meta-module_isDark__3g22f","hasSource":"Meta-module_hasSource__2lXiN","bookmark":"Meta-module_bookmark__3ot3k","mobile":"Meta-module_mobile__22LGV","desktop":"Meta-module_desktop__1ZGUS"};
|
|
1054
1056
|
|
|
1055
1057
|
var Meta = function Meta(_ref) {
|
|
1056
1058
|
var hasSource = _ref.hasSource,
|
|
@@ -1517,7 +1519,7 @@ var SimpleTitle = function SimpleTitle(_ref) {
|
|
|
1517
1519
|
}, first);
|
|
1518
1520
|
};
|
|
1519
1521
|
|
|
1520
|
-
var styles$m = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","isInMediaBlock":"RichTitle-module_isInMediaBlock__3RDw4","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
|
|
1522
|
+
var styles$m = {"root":"RichTitle-module_root__BK_WT","slide":"RichTitle-module_slide__1A-gB","game":"RichTitle-module_game__1g8Bn","podcastMaterial":"RichTitle-module_podcastMaterial__T3Cv3","half":"RichTitle-module_half__10GRI","featured":"RichTitle-module_featured__wJfaQ","isInMediaBlock":"RichTitle-module_isInMediaBlock__3RDw4","mobile":"RichTitle-module_mobile__1Cb6E","desktop":"RichTitle-module_desktop__2ixSQ"};
|
|
1521
1523
|
|
|
1522
1524
|
var RichTitle = function RichTitle(_ref) {
|
|
1523
1525
|
var _ref$block = _ref.block,
|
|
@@ -1541,7 +1543,7 @@ var RichTitle = function RichTitle(_ref) {
|
|
|
1541
1543
|
}, first, second && React__default.createElement("span", null, " ", second));
|
|
1542
1544
|
};
|
|
1543
1545
|
|
|
1544
|
-
var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","divider":"SimpleBlock-module_divider__tnCGQ","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
|
|
1546
|
+
var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","divider":"SimpleBlock-module_divider__tnCGQ","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","podcastMaterial":"SimpleBlock-module_podcastMaterial__1YeaD","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
|
|
1545
1547
|
|
|
1546
1548
|
var SimpleBlock = function SimpleBlock(_ref) {
|
|
1547
1549
|
var _ref$block = _ref.block,
|