@megafon/ui-core 9.5.0 → 9.6.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 (107) hide show
  1. package/dist/es/components/Banner/Banner.js +13 -13
  2. package/dist/es/components/Buttons/Button/Button.css +1 -1
  3. package/dist/es/components/Buttons/Button/Button.js +2 -2
  4. package/dist/es/components/Chips/Chips/Chips.js +3 -3
  5. package/dist/es/components/Modal/Modal.js +7 -7
  6. package/dist/es/components/Row/Row.js +9 -1
  7. package/dist/es/components/Search/Search.css +1 -1
  8. package/dist/es/components/Search/Search.js +11 -11
  9. package/dist/es/components/Sliders/Slider/Slider.css +1 -1
  10. package/dist/es/components/Sliders/SliderRatio/SliderRatio.css +1 -1
  11. package/dist/es/components/Sliders/SliderRatio/SliderRatio.js +1 -1
  12. package/dist/es/components/Tabs/Tabs.css +1 -1
  13. package/dist/es/components/Tabs/Tabs.js +22 -22
  14. package/dist/es/components/TextField/TextField.js +12 -12
  15. package/dist/lib/components/Accordion/Accordion.js +1 -2
  16. package/dist/lib/components/Avatar/Avatar.js +1 -2
  17. package/dist/lib/components/Badges/CounterBadge/CounterBadge.js +1 -2
  18. package/dist/lib/components/Badges/InfoBadge/InfoBadge.js +1 -2
  19. package/dist/lib/components/Badges/NotificationBadge/NotificationBadge.js +1 -2
  20. package/dist/lib/components/Badges/PriceBadge/PriceBadge.js +1 -2
  21. package/dist/lib/components/Badges/PromoBadge/PromoBadge.js +1 -2
  22. package/dist/lib/components/Badges/StatusBadge/StatusBadge.js +1 -2
  23. package/dist/lib/components/Badges/TimerBadge/TimerBadge.js +1 -2
  24. package/dist/lib/components/Badges/TimerBadge/components/Timer/Timer.js +1 -2
  25. package/dist/lib/components/Banner/Banner.js +14 -15
  26. package/dist/lib/components/Banner/BannerDot.js +1 -2
  27. package/dist/lib/components/Buttons/Button/Button.css +1 -1
  28. package/dist/lib/components/Buttons/Button/Button.js +3 -4
  29. package/dist/lib/components/Buttons/ButtonClose/ButtonClose.js +1 -2
  30. package/dist/lib/components/Calendar/Calendar.js +1 -2
  31. package/dist/lib/components/Calendar/components/_Day/Day.js +1 -2
  32. package/dist/lib/components/Calendar/components/_Month/Month.js +1 -2
  33. package/dist/lib/components/Caption/Caption.js +1 -2
  34. package/dist/lib/components/Carousel/Carousel.js +1 -2
  35. package/dist/lib/components/Carousel/checkBreakpointsPropTypes.js +1 -2
  36. package/dist/lib/components/Checkbox/Checkbox.js +1 -2
  37. package/dist/lib/components/Chips/Chips/Chip.js +1 -2
  38. package/dist/lib/components/Chips/Chips/ChipBadge.js +1 -2
  39. package/dist/lib/components/Chips/Chips/Chips.js +4 -5
  40. package/dist/lib/components/Chips/Chips/components/ChipsDropdown/ChipsDropdown.js +1 -2
  41. package/dist/lib/components/Chips/Chips/components/ChipsScrollPanel/ChipsScrollPanel.js +1 -2
  42. package/dist/lib/components/Chips/ChipsSuggest/ChipSuggest.js +1 -2
  43. package/dist/lib/components/Chips/ChipsSuggest/ChipsSuggest.js +1 -2
  44. package/dist/lib/components/ContentArea/ContentArea.js +1 -2
  45. package/dist/lib/components/ContentView/ContentView.js +1 -2
  46. package/dist/lib/components/Counter/Counter.js +1 -2
  47. package/dist/lib/components/Dropdown/Dropdown.js +1 -2
  48. package/dist/lib/components/ErrorLoad/ErrorLoad.js +1 -2
  49. package/dist/lib/components/Grid/Grid.js +1 -2
  50. package/dist/lib/components/Grid/GridColumn.js +1 -2
  51. package/dist/lib/components/Header/Header.js +1 -2
  52. package/dist/lib/components/Link/Link.js +1 -2
  53. package/dist/lib/components/List/List.js +1 -2
  54. package/dist/lib/components/List/ListItem.js +1 -2
  55. package/dist/lib/components/ListData/ListData.js +1 -2
  56. package/dist/lib/components/ListData/ListDataGroup.js +1 -2
  57. package/dist/lib/components/ListData/components/ListDataSortable.js +1 -2
  58. package/dist/lib/components/Logo/Logo.js +1 -2
  59. package/dist/lib/components/Modal/Modal.js +8 -9
  60. package/dist/lib/components/Modal/_ModalContent/ModalContent.js +1 -2
  61. package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.js +1 -2
  62. package/dist/lib/components/Modal/_ModalMobile/ModalMobile.js +1 -2
  63. package/dist/lib/components/MultipleSelect/MultipleSelect.js +1 -2
  64. package/dist/lib/components/NavArrow/NavArrow.js +1 -2
  65. package/dist/lib/components/Notification/Notification.js +1 -2
  66. package/dist/lib/components/Pagination/Pagination.js +1 -2
  67. package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.js +1 -2
  68. package/dist/lib/components/Paragraph/Paragraph.js +1 -2
  69. package/dist/lib/components/Parameter/Parameter.js +1 -2
  70. package/dist/lib/components/Parameter/components/ParameterDescription.js +1 -2
  71. package/dist/lib/components/Preloader/Preloader.js +1 -2
  72. package/dist/lib/components/RadioButton/RadioButton.js +1 -2
  73. package/dist/lib/components/Row/Row.js +10 -3
  74. package/dist/lib/components/ScrollBar/ScrollBar.js +1 -2
  75. package/dist/lib/components/Search/Search.css +1 -1
  76. package/dist/lib/components/Search/Search.js +12 -13
  77. package/dist/lib/components/SectionAccordionGroup/SectionAccordionGroup.js +1 -2
  78. package/dist/lib/components/Select/Select.js +1 -2
  79. package/dist/lib/components/Selector/Selector.js +1 -2
  80. package/dist/lib/components/Sliders/Slider/Slider.css +1 -1
  81. package/dist/lib/components/Sliders/Slider/Slider.js +1 -2
  82. package/dist/lib/components/Sliders/SliderRange/SliderRange.js +1 -2
  83. package/dist/lib/components/Sliders/SliderRatio/SliderRatio.css +1 -1
  84. package/dist/lib/components/Sliders/SliderRatio/SliderRatio.js +2 -3
  85. package/dist/lib/components/Sliders/components/SliderScale/SliderScale.js +1 -2
  86. package/dist/lib/components/Snackbar/Snackbar.js +1 -2
  87. package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +1 -2
  88. package/dist/lib/components/Stepper/Stepper.js +1 -2
  89. package/dist/lib/components/Stepper/StepperItem.js +1 -2
  90. package/dist/lib/components/Switcher/Switcher.js +1 -2
  91. package/dist/lib/components/Tabs/Tab.js +1 -2
  92. package/dist/lib/components/Tabs/Tabs.css +1 -1
  93. package/dist/lib/components/Tabs/Tabs.js +23 -24
  94. package/dist/lib/components/TextField/TextField.js +13 -14
  95. package/dist/lib/components/TextLink/TextLink.js +1 -2
  96. package/dist/lib/components/Tile/Tile.js +1 -2
  97. package/dist/lib/components/Tooltip/Tooltip.js +1 -2
  98. package/dist/lib/components/UploadForm/UploadField/UploadField.js +1 -2
  99. package/dist/lib/components/UploadForm/UploadField/components/_UploadFieldDropArea/UploadFieldDropArea.js +1 -2
  100. package/dist/lib/components/UploadForm/UploadFileItem/UploadFileItem.js +1 -2
  101. package/dist/lib/components/UploadForm/UploadFileItem/components/_UploadFileItemIcon/UploadFileItemIcon.js +1 -2
  102. package/dist/lib/components/ValueField/ValueField.js +1 -2
  103. package/dist/lib/components/_Collapse/Collapse.js +1 -2
  104. package/dist/lib/hooks/usePrevious.js +1 -2
  105. package/dist/lib/hooks/useResolution.js +1 -2
  106. package/dist/lib/hooks/useSwipe.js +1 -2
  107. package/package.json +4 -4
@@ -9,8 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var React = _react;
11
11
  var _uiHelpers = require("@megafon/ui-helpers");
12
- 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); }
13
- 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; }
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
14
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
15
14
  var sin = Math.sin,
16
15
  cos = Math.cos,
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = void 0;
8
8
  var React = _interopRequireWildcard(require("react"));
9
- 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); }
10
- 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; }
9
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
11
10
  function usePrevious(value) {
12
11
  var ref = React.useRef();
13
12
  React.useEffect(function () {
@@ -8,8 +8,7 @@ exports["default"] = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var React = _interopRequireWildcard(require("react"));
10
10
  var _lodash = _interopRequireDefault(require("lodash.throttle"));
11
- 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); }
12
- 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; }
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
13
  var RESOLUTIONS;
15
14
  (function (RESOLUTIONS) {
@@ -12,8 +12,7 @@ require("core-js/modules/es.regexp.exec.js");
12
12
  require("core-js/modules/es.string.match.js");
13
13
  var React = _interopRequireWildcard(require("react"));
14
14
  var _useResolution2 = _interopRequireDefault(require("./useResolution"));
15
- 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); }
16
- 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; }
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
17
  var TransitionSteps;
19
18
  (function (TransitionSteps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-core",
3
- "version": "9.5.0",
3
+ "version": "9.6.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "styles"
@@ -44,13 +44,13 @@
44
44
  "react-dom": "^17.0.0 || ^18.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@babel/core": "^7.8.6",
47
+ "@babel/core": "^7",
48
48
  "@babel/plugin-transform-object-assign": "^7.8.3",
49
49
  "@babel/plugin-transform-runtime": "^7.8.3",
50
50
  "@babel/preset-env": "^7.8.6",
51
51
  "@babel/preset-react": "^7.8.3",
52
52
  "@babel/preset-typescript": "^7.8.3",
53
- "@megafon/ui-icons": "^4.1.0",
53
+ "@megafon/ui-icons": "^4.2.0",
54
54
  "@svgr/core": "^2.4.1",
55
55
  "@testing-library/jest-dom": "^6.5.0",
56
56
  "@testing-library/react": "^16.0.1",
@@ -104,5 +104,5 @@
104
104
  "simplebar-react": "^3.2.5",
105
105
  "swiper": "^12.1.2"
106
106
  },
107
- "gitHead": "84fd8f54fe2be7db72962f7ef3f24cdd0198c140"
107
+ "gitHead": "8bd22ed05aad89abe43ef5307a6ce0a0be8c741f"
108
108
  }