@meduza/ui-kit-2 0.2.13 → 0.2.15

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.
@@ -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","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"};
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"};
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: 'Meduza Loves You',
2015
- text: 'Ваша помощь важна. А любовь победит',
2016
- button: 'Yeah! Yeah! Yeah!',
2017
- href: 'https://mdza.io/7LFGwEFzFEc '
2014
+ title: '«Медуза» работает для вас',
2015
+ subtitle: 'Нам нужна ваша поддержка',
2016
+ button: 'Да!',
2017
+ href: 'https://mdza.io/WP4YuV4xTEM'
2018
2018
  },
2019
2019
  en: {
2020
- title: 'Meduza Loves You',
2021
- text: 'Your support matters. Love will prevail!',
2022
- button: 'Yeah! Yeah! Yeah!',
2023
- href: 'https://mdza.io/mzts1Ru0ci0'
2020
+ title: 'Meduza is working for you',
2021
+ subtitle: 'And we need your support',
2022
+ button: 'Okay!',
2023
+ href: 'https://mdza.io/qopxag5BGec'
2024
2024
  }
2025
2025
  };
2026
2026
  return React__default.createElement("div", {
@@ -2030,12 +2030,14 @@ 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("div", {
2034
- className: styles$w.logo
2033
+ }, React__default.createElement("span", {
2034
+ dangerouslySetInnerHTML: {
2035
+ __html: data[lang].title
2036
+ }
2035
2037
  }), " ", React__default.createElement("span", {
2036
2038
  className: styles$w.text,
2037
2039
  dangerouslySetInnerHTML: {
2038
- __html: data[lang].text
2040
+ __html: data[lang].subtitle
2039
2041
  }
2040
2042
  }))), React__default.createElement("div", {
2041
2043
  className: styles$w.cta
@@ -2045,12 +2047,10 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
2045
2047
  rel: "noreferrer"
2046
2048
  }, React__default.createElement("span", {
2047
2049
  className: styles$w.ctaInner
2048
- }, React__default.createElement("span", {
2049
- className: styles$w.label
2050
- }, data[lang].button)))));
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","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"};
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"};
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/Tey0iLzheJQ'
2067
+ title: '«Медузе» нужна ваша помощь. Прямо сейчас',
2068
+ text: 'Каждый день наша редакция продолжает работать — вопреки давлению государства и только благодаря вам. Спасибо вам огромное! Это очень воодушевляет. «Медузе» по-прежнему нужна ваша помощь. Пожалуйста, поддержите нас.',
2069
+ button: 'Жму на кнопку!',
2070
+ href: 'https://mdza.io/_CL3KcERuqM'
2071
2071
  },
2072
2072
  en: {
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/JUgT9ZejcPY'
2073
+ title: 'Meduza needs your help right now.',
2074
+ text: 'To sustain our newsroom in the face of government pressure, we have relied on readers like you. Thank you very much! Your support inspires us, and we need it still! Please consider a contribution to Meduza.',
2075
+ button: 'I’ll pitch in!',
2076
+ href: 'https://mdza.io/DdMs_RWpAS0'
2077
2077
  }
2078
2078
  };
2079
2079
  var localeData = data[lang];
@@ -2098,11 +2098,7 @@ var AnnouncementInText = function AnnouncementInText(_ref) {
2098
2098
  href: localeData.href,
2099
2099
  target: "_blank",
2100
2100
  rel: "noreferrer"
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))))));
2101
+ }, localeData.button)));
2106
2102
  };
2107
2103
 
2108
2104
  var RenderBlocks = function RenderBlocks(_ref) {