@megafon/ui-shared 8.4.0 → 8.5.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 (31) hide show
  1. package/dist/es/components/ChipsBox/ChipBox.d.ts +5 -0
  2. package/dist/es/components/ChipsBox/ChipBox.js +7 -0
  3. package/dist/es/components/ChipsBox/ChipsBox.css +1 -0
  4. package/dist/es/components/ChipsBox/ChipsBox.d.ts +16 -0
  5. package/dist/es/components/ChipsBox/ChipsBox.js +76 -0
  6. package/dist/es/components/Container/Container.css +1 -1
  7. package/dist/es/components/ImageBanner/ImageBanner.css +1 -1
  8. package/dist/es/components/ImageBanner/ImageBanner.d.ts +2 -0
  9. package/dist/es/components/ImageBanner/ImageBanner.js +3 -0
  10. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +2 -2
  11. package/dist/es/components/PictureBox/PictureBox.css +1 -1
  12. package/dist/es/components/PictureBox/img/mac-book-1x.png +0 -0
  13. package/dist/es/components/PictureBox/img/mac-book-2x.png +0 -0
  14. package/dist/es/index.d.ts +2 -0
  15. package/dist/es/index.js +2 -0
  16. package/dist/lib/components/ChipsBox/ChipBox.d.ts +5 -0
  17. package/dist/lib/components/ChipsBox/ChipBox.js +17 -0
  18. package/dist/lib/components/ChipsBox/ChipsBox.css +1 -0
  19. package/dist/lib/components/ChipsBox/ChipsBox.d.ts +16 -0
  20. package/dist/lib/components/ChipsBox/ChipsBox.js +85 -0
  21. package/dist/lib/components/Container/Container.css +1 -1
  22. package/dist/lib/components/ImageBanner/ImageBanner.css +1 -1
  23. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +2 -0
  24. package/dist/lib/components/ImageBanner/ImageBanner.js +3 -0
  25. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +1 -1
  26. package/dist/lib/components/PictureBox/PictureBox.css +1 -1
  27. package/dist/lib/components/PictureBox/img/mac-book-1x.png +0 -0
  28. package/dist/lib/components/PictureBox/img/mac-book-2x.png +0 -0
  29. package/dist/lib/index.d.ts +2 -0
  30. package/dist/lib/index.js +14 -0
  31. package/package.json +4 -4
@@ -85,7 +85,7 @@ var InfoCard = function InfoCard(_ref) {
85
85
  className: cn('title', [classes === null || classes === void 0 ? void 0 : classes.title])
86
86
  }), (0, _uiHelpers.convert)(title, {})), !!description && /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.description), {
87
87
  className: cn('description')
88
- }), (0, _uiHelpers.convert)(description, {})), !!moreInfo && /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.moreInfo), {
88
+ }), (0, _uiHelpers.convert)(description, _uiHelpers.textConvertConfig)), !!moreInfo && /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.moreInfo), {
89
89
  className: cn('more-info')
90
90
  }), /*#__PURE__*/React.createElement("span", {
91
91
  className: cn('more-info-text')
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-picture-box_mask_none .mfui-picture-box__image{border-radius:24px;vertical-align:top;width:100%}@media screen and (min-width:768px){.mfui-picture-box_mask_none .mfui-picture-box__image{height:414px;-o-object-fit:cover;object-fit:cover}}@media screen and (min-width:1280px){.mfui-picture-box_mask_none .mfui-picture-box__image{height:520px}}.mfui-picture-box_mask_mac-book .mfui-picture-box__image{border-top-left-radius:1.4% 2.2988505747%;border-top-right-radius:1.4% 2.2988505747%;height:87%;left:0;margin:0 auto;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:2%;width:82%}.mfui-picture-box__content{-ms-flex-item-align:center;align-self:center;margin-top:32px}@media screen and (min-width:1024px){.mfui-picture-box__content{margin-top:0}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-picture-box_align_left .mfui-picture-box__content{margin-left:12px}}@media screen and (min-width:1280px){.mfui-picture-box_align_left .mfui-picture-box__content{margin-left:44px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-picture-box_align_right .mfui-picture-box__content{margin-right:12px}}@media screen and (min-width:1280px){.mfui-picture-box_align_right .mfui-picture-box__content{margin-right:44px}}.mfui-picture-box__button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;margin-top:32px}.mfui-picture-box_mask_mac-book .mfui-picture-box__mask{background-image:url(i/mac-book-1x.png);background-repeat:no-repeat;background-size:100% auto;padding-bottom:60.9%;position:relative}@media screen and (-webkit-min-device-pixel-ratio:2),screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.mfui-picture-box_mask_mac-book .mfui-picture-box__mask{background-image:url(i/mac-book-2x.png)}}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-picture-box_mask_none .mfui-picture-box__image{border-radius:24px;vertical-align:top;width:100%}@media screen and (min-width:768px){.mfui-picture-box_mask_none .mfui-picture-box__image{height:414px;-o-object-fit:cover;object-fit:cover}}@media screen and (min-width:1280px){.mfui-picture-box_mask_none .mfui-picture-box__image{height:520px}}.mfui-picture-box_mask_mac-book .mfui-picture-box__image{border-top-left-radius:1.4% 2.2988505747%;border-top-right-radius:1.4% 2.2988505747%;height:87%;left:0;margin:0 auto;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:2%;width:82%}.mfui-picture-box__content{-ms-flex-item-align:center;align-self:center;margin-top:32px}@media screen and (min-width:1024px){.mfui-picture-box__content{margin-top:0}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-picture-box_align_left .mfui-picture-box__content{margin-left:12px}}@media screen and (min-width:1280px){.mfui-picture-box_align_left .mfui-picture-box__content{margin-left:44px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-picture-box_align_right .mfui-picture-box__content{margin-right:12px}}@media screen and (min-width:1280px){.mfui-picture-box_align_right .mfui-picture-box__content{margin-right:44px}}.mfui-picture-box__button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;margin-top:32px}.mfui-picture-box_mask_mac-book .mfui-picture-box__mask{background-image:url(img/mac-book-1x.png);background-repeat:no-repeat;background-size:100% auto;padding-bottom:60.9%;position:relative}@media screen and (-webkit-min-device-pixel-ratio:2),screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.mfui-picture-box_mask_mac-book .mfui-picture-box__mask{background-image:url(img/mac-book-2x.png)}}
@@ -17,6 +17,8 @@ export { default as ButtonsBox } from './components/ButtonsBox/ButtonsBox';
17
17
  export { default as Card } from './components/Card/Card';
18
18
  export { default as CardsBox } from './components/CardsBox/CardsBox';
19
19
  export { default as CarouselBox } from './components/CarouselBox/CarouselBox';
20
+ export { default as ChipBox } from './components/ChipsBox/ChipBox';
21
+ export { default as ChipsBox } from './components/ChipsBox/ChipsBox';
20
22
  export { default as Container } from './components/Container/Container';
21
23
  export { default as DarkGradientCard } from './components/DarkGradientCards/components/DarkGradientCard';
22
24
  export { default as DarkGradientCards } from './components/DarkGradientCards/DarkGradientCards';
package/dist/lib/index.js CHANGED
@@ -117,6 +117,18 @@ Object.defineProperty(exports, "CarouselBox", {
117
117
  return _CarouselBox["default"];
118
118
  }
119
119
  });
120
+ Object.defineProperty(exports, "ChipBox", {
121
+ enumerable: true,
122
+ get: function get() {
123
+ return _ChipBox["default"];
124
+ }
125
+ });
126
+ Object.defineProperty(exports, "ChipsBox", {
127
+ enumerable: true,
128
+ get: function get() {
129
+ return _ChipsBox["default"];
130
+ }
131
+ });
120
132
  Object.defineProperty(exports, "Container", {
121
133
  enumerable: true,
122
134
  get: function get() {
@@ -412,6 +424,8 @@ var _ButtonsBox = _interopRequireDefault(require("./components/ButtonsBox/Button
412
424
  var _Card = _interopRequireDefault(require("./components/Card/Card"));
413
425
  var _CardsBox = _interopRequireDefault(require("./components/CardsBox/CardsBox"));
414
426
  var _CarouselBox = _interopRequireDefault(require("./components/CarouselBox/CarouselBox"));
427
+ var _ChipBox = _interopRequireDefault(require("./components/ChipsBox/ChipBox"));
428
+ var _ChipsBox = _interopRequireDefault(require("./components/ChipsBox/ChipsBox"));
415
429
  var _Container = _interopRequireDefault(require("./components/Container/Container"));
416
430
  var _DarkGradientCard = _interopRequireDefault(require("./components/DarkGradientCards/components/DarkGradientCard"));
417
431
  var _DarkGradientCards = _interopRequireDefault(require("./components/DarkGradientCards/DarkGradientCards"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -77,13 +77,13 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@babel/runtime": "^7.8.4",
80
- "@megafon/ui-core": "^8.4.0",
80
+ "@megafon/ui-core": "^8.5.0",
81
81
  "@megafon/ui-helpers": "^4.0.1",
82
- "@megafon/ui-icons": "^3.9.2",
82
+ "@megafon/ui-icons": "^3.9.3",
83
83
  "core-js": "^3.6.4",
84
84
  "htmr": "^1.0.2",
85
85
  "lodash.throttle": "^4.1.1",
86
86
  "swiper": "^11.1.1"
87
87
  },
88
- "gitHead": "af0cdb99cd17efe392e36532a219bafaf5c986d6"
88
+ "gitHead": "84114b7863b09c9cfb5e39388a7e6584f83cb3d2"
89
89
  }