@meduza/ui-kit-2 0.2.11 → 0.2.13

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.
@@ -1990,7 +1990,7 @@ var MetaContainer = function MetaContainer(_ref) {
1990
1990
  })));
1991
1991
  };
1992
1992
 
1993
- 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"};
1993
+ 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"};
1994
1994
 
1995
1995
  var DonatesTeaser = function DonatesTeaser(_ref) {
1996
1996
  var styleContext = _ref.styleContext,
@@ -2004,16 +2004,16 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
2004
2004
 
2005
2005
  var data = {
2006
2006
  ru: {
2007
- title: '«Медуза» работает для вас',
2008
- subtitle: 'Нам нужна ваша поддержка',
2009
- button: 'Да!',
2010
- href: 'https://mdza.io/WP4YuV4xTEM'
2007
+ title: 'Meduza Loves You',
2008
+ text: 'Ваша помощь важна. А любовь победит',
2009
+ button: 'Yeah! Yeah! Yeah!',
2010
+ href: 'https://mdza.io/7LFGwEFzFEc '
2011
2011
  },
2012
2012
  en: {
2013
- title: 'Meduza is working for you',
2014
- subtitle: 'And we need your support',
2015
- button: 'Okay!',
2016
- href: 'https://mdza.io/qopxag5BGec'
2013
+ title: 'Meduza Loves You',
2014
+ text: 'Your support matters. Love will prevail!',
2015
+ button: 'Yeah! Yeah! Yeah!',
2016
+ href: 'https://mdza.io/mzts1Ru0ci0'
2017
2017
  }
2018
2018
  };
2019
2019
  return React.createElement("div", {
@@ -2023,14 +2023,12 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
2023
2023
  className: styles$w.main
2024
2024
  }, React.createElement("h3", {
2025
2025
  className: styles$w.title
2026
- }, React.createElement("span", {
2027
- dangerouslySetInnerHTML: {
2028
- __html: data[lang].title
2029
- }
2026
+ }, React.createElement("div", {
2027
+ className: styles$w.logo
2030
2028
  }), " ", React.createElement("span", {
2031
2029
  className: styles$w.text,
2032
2030
  dangerouslySetInnerHTML: {
2033
- __html: data[lang].subtitle
2031
+ __html: data[lang].text
2034
2032
  }
2035
2033
  }))), React.createElement("div", {
2036
2034
  className: styles$w.cta
@@ -2040,10 +2038,12 @@ var DonatesTeaser = function DonatesTeaser(_ref) {
2040
2038
  rel: "noreferrer"
2041
2039
  }, React.createElement("span", {
2042
2040
  className: styles$w.ctaInner
2043
- }, data[lang].button))));
2041
+ }, React.createElement("span", {
2042
+ className: styles$w.label
2043
+ }, data[lang].button)))));
2044
2044
  };
2045
2045
 
2046
- 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"};
2046
+ 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"};
2047
2047
 
2048
2048
  var AnnouncementInText = function AnnouncementInText(_ref) {
2049
2049
  var styleContext = _ref.styleContext,
@@ -2057,16 +2057,16 @@ var AnnouncementInText = function AnnouncementInText(_ref) {
2057
2057
 
2058
2058
  var data = {
2059
2059
  ru: {
2060
- title: '«Медузе» нужна ваша помощь. Прямо сейчас',
2061
- text: 'Каждый день наша редакция продолжает работать — вопреки давлению государства и только благодаря вам. Спасибо вам огромное! Это очень воодушевляет. «Медузе» по-прежнему нужна ваша помощь. Пожалуйста, поддержите нас.',
2062
- button: 'Жму на кнопку!',
2063
- href: 'https://mdza.io/_CL3KcERuqM'
2060
+ title: 'Любовь победит. С вашей помощью',
2061
+ text: 'Мы знаем, что справиться с новостями бывает непросто. Поэтому, рассказывая вам о тревожных событиях в России и мире, мы стараемся говорить не только о проблемах, но и о том, как их можно решить. И конечно, мы не верим в войну. Мы верим в любовь. Пожалуйста, поддержите «Медузу» прямо сейчас. Не откладывайте это на потом.',
2062
+ button: 'Жму на кнопку любви!',
2063
+ href: 'https://mdza.io/Tey0iLzheJQ'
2064
2064
  },
2065
2065
  en: {
2066
- title: 'Meduza needs your help — right now.',
2067
- 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.',
2068
- button: 'I’ll pitch in!',
2069
- href: 'https://mdza.io/DdMs_RWpAS0'
2066
+ title: 'Love will prevail (with your help)',
2067
+ 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!',
2068
+ button: 'Click the button of love!',
2069
+ href: 'https://mdza.io/JUgT9ZejcPY'
2070
2070
  }
2071
2071
  };
2072
2072
  var localeData = data[lang];
@@ -2091,7 +2091,11 @@ var AnnouncementInText = function AnnouncementInText(_ref) {
2091
2091
  href: localeData.href,
2092
2092
  target: "_blank",
2093
2093
  rel: "noreferrer"
2094
- }, localeData.button)));
2094
+ }, React.createElement("div", {
2095
+ className: styles$x.buttonInner
2096
+ }, React.createElement("span", {
2097
+ className: styles$x.buttonText
2098
+ }, React.createElement("span", null, localeData.button))))));
2095
2099
  };
2096
2100
 
2097
2101
  var RenderBlocks = function RenderBlocks(_ref) {