@megafon/ui-shared 8.14.3 → 8.15.0

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.
Files changed (66) hide show
  1. package/dist/es/components/ImageBanner/ImageBanner.css +1 -1
  2. package/dist/es/components/ImageBanner/ImageBanner.d.ts +23 -0
  3. package/dist/es/components/ImageBanner/ImageBanner.js +35 -5
  4. package/dist/lib/components/AccordionBox/AccordionBox.js +2 -3
  5. package/dist/lib/components/AudioPlayer/AudioPlayer.js +2 -3
  6. package/dist/lib/components/BannerBox/BannerBox.js +2 -3
  7. package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +2 -3
  8. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +2 -3
  9. package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +2 -3
  10. package/dist/lib/components/BlogBox/BlogBox.js +2 -3
  11. package/dist/lib/components/BlogBox/components/BlogBoxTile.js +2 -3
  12. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +2 -3
  13. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +2 -3
  14. package/dist/lib/components/ButtonBanner/ButtonBanner.js +2 -3
  15. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +2 -3
  16. package/dist/lib/components/ButtonsBox/ButtonsBox.js +2 -3
  17. package/dist/lib/components/Card/Card.js +2 -3
  18. package/dist/lib/components/CardsBox/CardsBox.js +2 -3
  19. package/dist/lib/components/CarouselBox/CarouselBox.js +2 -3
  20. package/dist/lib/components/ChipsBox/ChipBox.js +2 -3
  21. package/dist/lib/components/ChipsBox/ChipsBox.js +2 -3
  22. package/dist/lib/components/Container/Container.js +2 -3
  23. package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +2 -3
  24. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +2 -3
  25. package/dist/lib/components/DownloadLinks/DownloadLink.js +2 -3
  26. package/dist/lib/components/DownloadLinks/DownloadLinks.js +2 -3
  27. package/dist/lib/components/FaqWrapper/FaqWrapper.js +2 -3
  28. package/dist/lib/components/ImageBanner/ImageBanner.css +1 -1
  29. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +23 -0
  30. package/dist/lib/components/ImageBanner/ImageBanner.js +38 -9
  31. package/dist/lib/components/InfoCards/InfoCards.js +2 -3
  32. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +2 -3
  33. package/dist/lib/components/Instructions/Instructions.js +3 -4
  34. package/dist/lib/components/NotificationBox/NotificationBox.js +2 -3
  35. package/dist/lib/components/NumbersBox/NumbersBox.js +2 -3
  36. package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.js +2 -3
  37. package/dist/lib/components/PageTitle/PageTitle.js +2 -3
  38. package/dist/lib/components/Partners/Partners.js +2 -3
  39. package/dist/lib/components/PictureBox/PictureBox.js +2 -3
  40. package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +2 -3
  41. package/dist/lib/components/PromoBanner/PromoBanner.js +2 -3
  42. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -3
  43. package/dist/lib/components/PromoCards/PromoCards.js +2 -3
  44. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +2 -3
  45. package/dist/lib/components/Property/Property.js +2 -3
  46. package/dist/lib/components/ServiceCards/ServiceCards.js +2 -3
  47. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +2 -3
  48. package/dist/lib/components/SidePictureCards/SidePictureCards.js +2 -3
  49. package/dist/lib/components/Stepper/Stepper.js +2 -3
  50. package/dist/lib/components/Stepper/StepperItem.js +2 -3
  51. package/dist/lib/components/Steps/Steps.js +2 -3
  52. package/dist/lib/components/Steps/StepsItem.js +2 -3
  53. package/dist/lib/components/StoreBanner/StoreBanner.js +2 -3
  54. package/dist/lib/components/StoreButton/StoreButton.js +2 -3
  55. package/dist/lib/components/Table/Table.js +2 -3
  56. package/dist/lib/components/Table/TableCell.js +2 -3
  57. package/dist/lib/components/Table/TableRow.js +2 -3
  58. package/dist/lib/components/TabsBox/TabsBox.js +2 -3
  59. package/dist/lib/components/TextBox/TextBox.js +2 -3
  60. package/dist/lib/components/TextBox/TextBoxPicture.js +2 -3
  61. package/dist/lib/components/TextWithIcon/TextWithIcon.js +2 -3
  62. package/dist/lib/components/TextWithIcon/TextWithIconItem.js +2 -3
  63. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +2 -3
  64. package/dist/lib/components/VideoBanner/VideoBanner.js +3 -4
  65. package/dist/lib/components/VideoBlock/VideoBlock.js +3 -4
  66. package/package.json +3 -3
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -15,8 +14,8 @@ require("core-js/modules/es.json.stringify.js");
15
14
  var React = _interopRequireWildcard(require("react"));
16
15
  var _uiCore = require("@megafon/ui-core");
17
16
  var _uiHelpers = require("@megafon/ui-helpers");
18
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
+ var cache;
18
+ function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
20
19
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
21
20
  var VideoTypes = exports.VideoTypes = {
22
21
  YOUTUBE: 'youtube',
@@ -146,7 +145,7 @@ var VideoBlock = function VideoBlock(_ref) {
146
145
  }
147
146
  case VideoTypes.VIDEO:
148
147
  {
149
- return /*#__PURE__*/(
148
+ return (/*#__PURE__*/
150
149
  // eslint-disable-next-line jsx-a11y/media-has-caption
151
150
  React.createElement("video", {
152
151
  className: cn('video', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "8.14.3",
3
+ "version": "8.15.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@babel/runtime": "^7.8.4",
80
- "@megafon/ui-core": "^8.17.4",
80
+ "@megafon/ui-core": "^8.19.0",
81
81
  "@megafon/ui-helpers": "^4.1.3",
82
82
  "@megafon/ui-icons": "^3.16.0",
83
83
  "core-js": "^3.6.4",
@@ -85,5 +85,5 @@
85
85
  "lodash.throttle": "^4.1.1",
86
86
  "swiper": "^12.1.2"
87
87
  },
88
- "gitHead": "2160c5feb18823c15d0efa64be1912c8ff823fde"
88
+ "gitHead": "640b66a2d3feffa1de6418e3fc9db64e3b320170"
89
89
  }