@megafon/ui-core 9.5.1 → 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.
- package/dist/es/components/Banner/Banner.js +13 -13
- package/dist/es/components/Buttons/Button/Button.css +1 -1
- package/dist/es/components/Buttons/Button/Button.js +2 -2
- package/dist/es/components/Chips/Chips/Chips.js +3 -3
- package/dist/es/components/Modal/Modal.js +7 -7
- package/dist/es/components/Row/Row.js +9 -1
- package/dist/es/components/Search/Search.css +1 -1
- package/dist/es/components/Search/Search.js +11 -11
- package/dist/es/components/Sliders/Slider/Slider.css +1 -1
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.css +1 -1
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.js +1 -1
- package/dist/es/components/Tabs/Tabs.css +1 -1
- package/dist/es/components/Tabs/Tabs.js +22 -22
- package/dist/es/components/TextField/TextField.js +12 -12
- package/dist/lib/components/Accordion/Accordion.js +1 -2
- package/dist/lib/components/Avatar/Avatar.js +1 -2
- package/dist/lib/components/Badges/CounterBadge/CounterBadge.js +1 -2
- package/dist/lib/components/Badges/InfoBadge/InfoBadge.js +1 -2
- package/dist/lib/components/Badges/NotificationBadge/NotificationBadge.js +1 -2
- package/dist/lib/components/Badges/PriceBadge/PriceBadge.js +1 -2
- package/dist/lib/components/Badges/PromoBadge/PromoBadge.js +1 -2
- package/dist/lib/components/Badges/StatusBadge/StatusBadge.js +1 -2
- package/dist/lib/components/Badges/TimerBadge/TimerBadge.js +1 -2
- package/dist/lib/components/Badges/TimerBadge/components/Timer/Timer.js +1 -2
- package/dist/lib/components/Banner/Banner.js +14 -15
- package/dist/lib/components/Banner/BannerDot.js +1 -2
- package/dist/lib/components/Buttons/Button/Button.css +1 -1
- package/dist/lib/components/Buttons/Button/Button.js +3 -4
- package/dist/lib/components/Buttons/ButtonClose/ButtonClose.js +1 -2
- package/dist/lib/components/Calendar/Calendar.js +1 -2
- package/dist/lib/components/Calendar/components/_Day/Day.js +1 -2
- package/dist/lib/components/Calendar/components/_Month/Month.js +1 -2
- package/dist/lib/components/Caption/Caption.js +1 -2
- package/dist/lib/components/Carousel/Carousel.js +1 -2
- package/dist/lib/components/Carousel/checkBreakpointsPropTypes.js +1 -2
- package/dist/lib/components/Checkbox/Checkbox.js +1 -2
- package/dist/lib/components/Chips/Chips/Chip.js +1 -2
- package/dist/lib/components/Chips/Chips/ChipBadge.js +1 -2
- package/dist/lib/components/Chips/Chips/Chips.js +4 -5
- package/dist/lib/components/Chips/Chips/components/ChipsDropdown/ChipsDropdown.js +1 -2
- package/dist/lib/components/Chips/Chips/components/ChipsScrollPanel/ChipsScrollPanel.js +1 -2
- package/dist/lib/components/Chips/ChipsSuggest/ChipSuggest.js +1 -2
- package/dist/lib/components/Chips/ChipsSuggest/ChipsSuggest.js +1 -2
- package/dist/lib/components/ContentArea/ContentArea.js +1 -2
- package/dist/lib/components/ContentView/ContentView.js +1 -2
- package/dist/lib/components/Counter/Counter.js +1 -2
- package/dist/lib/components/Dropdown/Dropdown.js +1 -2
- package/dist/lib/components/ErrorLoad/ErrorLoad.js +1 -2
- package/dist/lib/components/Grid/Grid.js +1 -2
- package/dist/lib/components/Grid/GridColumn.js +1 -2
- package/dist/lib/components/Header/Header.js +1 -2
- package/dist/lib/components/Link/Link.js +1 -2
- package/dist/lib/components/List/List.js +1 -2
- package/dist/lib/components/List/ListItem.js +1 -2
- package/dist/lib/components/ListData/ListData.js +1 -2
- package/dist/lib/components/ListData/ListDataGroup.js +1 -2
- package/dist/lib/components/ListData/components/ListDataSortable.js +1 -2
- package/dist/lib/components/Logo/Logo.js +1 -2
- package/dist/lib/components/Modal/Modal.js +8 -9
- package/dist/lib/components/Modal/_ModalContent/ModalContent.js +1 -2
- package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.js +1 -2
- package/dist/lib/components/Modal/_ModalMobile/ModalMobile.js +1 -2
- package/dist/lib/components/MultipleSelect/MultipleSelect.js +1 -2
- package/dist/lib/components/NavArrow/NavArrow.js +1 -2
- package/dist/lib/components/Notification/Notification.js +1 -2
- package/dist/lib/components/Pagination/Pagination.js +1 -2
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.js +1 -2
- package/dist/lib/components/Paragraph/Paragraph.js +1 -2
- package/dist/lib/components/Parameter/Parameter.js +1 -2
- package/dist/lib/components/Parameter/components/ParameterDescription.js +1 -2
- package/dist/lib/components/Preloader/Preloader.js +1 -2
- package/dist/lib/components/RadioButton/RadioButton.js +1 -2
- package/dist/lib/components/Row/Row.js +10 -3
- package/dist/lib/components/ScrollBar/ScrollBar.js +1 -2
- package/dist/lib/components/Search/Search.css +1 -1
- package/dist/lib/components/Search/Search.js +12 -13
- package/dist/lib/components/SectionAccordionGroup/SectionAccordionGroup.js +1 -2
- package/dist/lib/components/Select/Select.js +1 -2
- package/dist/lib/components/Selector/Selector.js +1 -2
- package/dist/lib/components/Sliders/Slider/Slider.css +1 -1
- package/dist/lib/components/Sliders/Slider/Slider.js +1 -2
- package/dist/lib/components/Sliders/SliderRange/SliderRange.js +1 -2
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.css +1 -1
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.js +2 -3
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.js +1 -2
- package/dist/lib/components/Snackbar/Snackbar.js +1 -2
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +1 -2
- package/dist/lib/components/Stepper/Stepper.js +1 -2
- package/dist/lib/components/Stepper/StepperItem.js +1 -2
- package/dist/lib/components/Switcher/Switcher.js +1 -2
- package/dist/lib/components/Tabs/Tab.js +1 -2
- package/dist/lib/components/Tabs/Tabs.css +1 -1
- package/dist/lib/components/Tabs/Tabs.js +23 -24
- package/dist/lib/components/TextField/TextField.js +13 -14
- package/dist/lib/components/TextLink/TextLink.js +1 -2
- package/dist/lib/components/Tile/Tile.js +1 -2
- package/dist/lib/components/Tooltip/Tooltip.js +1 -2
- package/dist/lib/components/UploadForm/UploadField/UploadField.js +1 -2
- package/dist/lib/components/UploadForm/UploadField/components/_UploadFieldDropArea/UploadFieldDropArea.js +1 -2
- package/dist/lib/components/UploadForm/UploadFileItem/UploadFileItem.js +1 -2
- package/dist/lib/components/UploadForm/UploadFileItem/components/_UploadFileItemIcon/UploadFileItemIcon.js +1 -2
- package/dist/lib/components/ValueField/ValueField.js +1 -2
- package/dist/lib/components/_Collapse/Collapse.js +1 -2
- package/dist/lib/hooks/usePrevious.js +1 -2
- package/dist/lib/hooks/useResolution.js +1 -2
- package/dist/lib/hooks/useSwipe.js +1 -2
- package/package.json +3 -3
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"styles"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@babel/core": "^7
|
|
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",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"simplebar-react": "^3.2.5",
|
|
105
105
|
"swiper": "^12.1.2"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "8bd22ed05aad89abe43ef5307a6ce0a0be8c741f"
|
|
108
108
|
}
|