@meduza/ui-kit-2 0.2.10 → 0.2.12
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/ui-kit-2.cjs.development.js +29 -25
- 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 +29 -25
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2898 -2786
- package/package.json +1 -1
- package/src/AnnouncementInText/AnnouncementInText.module.css +99 -16
- package/src/AnnouncementInText/index.tsx +13 -9
- package/src/DonatesTeaser/DonatesTeaser.module.css +70 -39
- package/src/DonatesTeaser/index.tsx +14 -11
- /package/src/{vars_games.css → vars-games.css} +0 -0
|
@@ -1997,7 +1997,7 @@ var MetaContainer = function MetaContainer(_ref) {
|
|
|
1997
1997
|
})));
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
|
-
var styles$w = {"root":"DonatesTeaser-module_root__3rtaJ","main":"DonatesTeaser-module_main__YBt6p","title":"DonatesTeaser-module_title__hs-yr","text":"DonatesTeaser-module_text__ro-QA","cta":"DonatesTeaser-module_cta__1orPb","ctaInner":"DonatesTeaser-module_ctaInner__2LChL","center":"DonatesTeaser-module_center__2Ynx9","isInCard":"DonatesTeaser-module_isInCard__HrFh8","isInSlide":"DonatesTeaser-module_isInSlide__1vC4Z"};
|
|
2000
|
+
var styles$w = {"root":"DonatesTeaser-module_root__3rtaJ","main":"DonatesTeaser-module_main__YBt6p","title":"DonatesTeaser-module_title__hs-yr","logo":"DonatesTeaser-module_logo__3xvJs","text":"DonatesTeaser-module_text__ro-QA","cta":"DonatesTeaser-module_cta__1orPb","ctaInner":"DonatesTeaser-module_ctaInner__2LChL","label":"DonatesTeaser-module_label__27R7w","center":"DonatesTeaser-module_center__2Ynx9","isInCard":"DonatesTeaser-module_isInCard__HrFh8","isInSlide":"DonatesTeaser-module_isInSlide__1vC4Z"};
|
|
2001
2001
|
|
|
2002
2002
|
var DonatesTeaser = function DonatesTeaser(_ref) {
|
|
2003
2003
|
var styleContext = _ref.styleContext,
|
|
@@ -2011,16 +2011,16 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
|
|
|
2011
2011
|
|
|
2012
2012
|
var data = {
|
|
2013
2013
|
ru: {
|
|
2014
|
-
title: '
|
|
2015
|
-
|
|
2016
|
-
button: '
|
|
2017
|
-
href: 'https://mdza.io/
|
|
2014
|
+
title: 'Meduza Loves You',
|
|
2015
|
+
text: 'Ваша помощь важна. А любовь победит',
|
|
2016
|
+
button: 'Yeah! Yeah! Yeah!',
|
|
2017
|
+
href: 'https://mdza.io/_CL3KcERuqM'
|
|
2018
2018
|
},
|
|
2019
2019
|
en: {
|
|
2020
|
-
title: 'Meduza
|
|
2021
|
-
|
|
2022
|
-
button: '
|
|
2023
|
-
href: 'https://mdza.io/
|
|
2020
|
+
title: 'Meduza Loves You',
|
|
2021
|
+
text: 'Your support matters. Love will prevail!',
|
|
2022
|
+
button: 'Yeah! Yeah! Yeah!',
|
|
2023
|
+
href: 'https://mdza.io/DdMs_RWpAS0'
|
|
2024
2024
|
}
|
|
2025
2025
|
};
|
|
2026
2026
|
return React__default.createElement("div", {
|
|
@@ -2030,14 +2030,12 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
|
|
|
2030
2030
|
className: styles$w.main
|
|
2031
2031
|
}, React__default.createElement("h3", {
|
|
2032
2032
|
className: styles$w.title
|
|
2033
|
-
}, React__default.createElement("
|
|
2034
|
-
|
|
2035
|
-
__html: data[lang].title
|
|
2036
|
-
}
|
|
2033
|
+
}, React__default.createElement("div", {
|
|
2034
|
+
className: styles$w.logo
|
|
2037
2035
|
}), " ", React__default.createElement("span", {
|
|
2038
2036
|
className: styles$w.text,
|
|
2039
2037
|
dangerouslySetInnerHTML: {
|
|
2040
|
-
__html: data[lang].
|
|
2038
|
+
__html: data[lang].text
|
|
2041
2039
|
}
|
|
2042
2040
|
}))), React__default.createElement("div", {
|
|
2043
2041
|
className: styles$w.cta
|
|
@@ -2047,10 +2045,12 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
|
|
|
2047
2045
|
rel: "noreferrer"
|
|
2048
2046
|
}, React__default.createElement("span", {
|
|
2049
2047
|
className: styles$w.ctaInner
|
|
2050
|
-
},
|
|
2048
|
+
}, React__default.createElement("span", {
|
|
2049
|
+
className: styles$w.label
|
|
2050
|
+
}, data[lang].button)))));
|
|
2051
2051
|
};
|
|
2052
2052
|
|
|
2053
|
-
var styles$x = {"root":"AnnouncementInText-module_root__3zM9x","body":"AnnouncementInText-module_body__1yI8T","title":"AnnouncementInText-module_title__29CXr","footer":"AnnouncementInText-module_footer__1fyWt","button":"AnnouncementInText-module_button__2dEXa","center":"AnnouncementInText-module_center__3VLl2","isInCard":"AnnouncementInText-module_isInCard__2Xq_I","isInSlide":"AnnouncementInText-module_isInSlide__1PsC2","en":"AnnouncementInText-module_en__1Mgvm"};
|
|
2053
|
+
var styles$x = {"root":"AnnouncementInText-module_root__3zM9x","body":"AnnouncementInText-module_body__1yI8T","title":"AnnouncementInText-module_title__29CXr","footer":"AnnouncementInText-module_footer__1fyWt","button":"AnnouncementInText-module_button__2dEXa","buttonText":"AnnouncementInText-module_buttonText__1A44B","buttonInner":"AnnouncementInText-module_buttonInner__1AYVx","center":"AnnouncementInText-module_center__3VLl2","isInCard":"AnnouncementInText-module_isInCard__2Xq_I","isInSlide":"AnnouncementInText-module_isInSlide__1PsC2","ru":"AnnouncementInText-module_ru__3vDy7","en":"AnnouncementInText-module_en__1Mgvm"};
|
|
2054
2054
|
|
|
2055
2055
|
var AnnouncementInText = function AnnouncementInText(_ref) {
|
|
2056
2056
|
var styleContext = _ref.styleContext,
|
|
@@ -2064,16 +2064,16 @@ var AnnouncementInText = function AnnouncementInText(_ref) {
|
|
|
2064
2064
|
|
|
2065
2065
|
var data = {
|
|
2066
2066
|
ru: {
|
|
2067
|
-
title: '
|
|
2068
|
-
text: '
|
|
2069
|
-
button: 'Жму на
|
|
2070
|
-
href: 'https://mdza.io/
|
|
2067
|
+
title: 'Любовь победит. С вашей помощью',
|
|
2068
|
+
text: 'Мы знаем, что справиться с новостями бывает непросто. Поэтому, рассказывая вам о тревожных событиях в России и мире, мы стараемся говорить не только о проблемах, но и о том, как их можно решить. И конечно, мы не верим в войну. Мы верим в любовь. Пожалуйста, поддержите «Медузу» прямо сейчас. Не откладывайте это на потом.',
|
|
2069
|
+
button: 'Жму на кнопку любви!',
|
|
2070
|
+
href: 'https://mdza.io/_CL3KcERuqM'
|
|
2071
2071
|
},
|
|
2072
2072
|
en: {
|
|
2073
|
-
title: '
|
|
2074
|
-
text: '
|
|
2075
|
-
button: '
|
|
2076
|
-
href: 'https://mdza.io/
|
|
2073
|
+
title: 'Love will prevail (with your help)',
|
|
2074
|
+
text: 'We know the news cycle can be a lot. That’s why, when telling you about all the disturbing things happening in Russia and around the world, we try to report not only the problems but also the possible solutions and resolutions. Of course, we don’t believe in war — we believe in love. Please support Meduza today to help sustain our work. Don’t put it off any longer!',
|
|
2075
|
+
button: 'Click the button of love!',
|
|
2076
|
+
href: 'https://mdza.io/DdMs_RWpAS0'
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
2079
|
var localeData = data[lang];
|
|
@@ -2098,7 +2098,11 @@ var AnnouncementInText = function AnnouncementInText(_ref) {
|
|
|
2098
2098
|
href: localeData.href,
|
|
2099
2099
|
target: "_blank",
|
|
2100
2100
|
rel: "noreferrer"
|
|
2101
|
-
},
|
|
2101
|
+
}, React__default.createElement("div", {
|
|
2102
|
+
className: styles$x.buttonInner
|
|
2103
|
+
}, React__default.createElement("span", {
|
|
2104
|
+
className: styles$x.buttonText
|
|
2105
|
+
}, React__default.createElement("span", null, localeData.button))))));
|
|
2102
2106
|
};
|
|
2103
2107
|
|
|
2104
2108
|
var RenderBlocks = function RenderBlocks(_ref) {
|