@megafon/ui-shared 6.1.1 → 6.2.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/CHANGELOG.md
CHANGED
@@ -3,6 +3,28 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [6.2.0](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-shared@6.1.2...@megafon/ui-shared@6.2.0) (2024-08-30)
|
7
|
+
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* **promobadge:** added size option and added SMALL size ([b4803e2](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/commit/b4803e29564328d561f3b76f36211a54d2d2a699))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [6.1.2](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-shared@6.1.1...@megafon/ui-shared@6.1.2) (2024-08-22)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* **instructions:** remove convert to html for item title render ([89dc492](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/commit/89dc492aa2f5f2249c29c5a329b7cad2221eaeb7))
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
6
28
|
## [6.1.1](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-shared@6.1.0...@megafon/ui-shared@6.1.1) (2024-08-20)
|
7
29
|
|
8
30
|
|
@@ -250,7 +250,7 @@ var Instructions = function Instructions(_ref) {
|
|
250
250
|
className: cn('articles-item-dot-number')
|
251
251
|
}, i + 1)), /*#__PURE__*/React.createElement("div", {
|
252
252
|
className: cn('articles-item-title', [desktopItemTitle])
|
253
|
-
},
|
253
|
+
}, itemTitle))
|
254
254
|
);
|
255
255
|
}));
|
256
256
|
}, [desktopInstructionItem, desktopItemTitle, getActiveCustomClass, handleArticleClick, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, instructionItem, instructionItems, slideIndex, text]);
|
@@ -275,7 +275,7 @@ var Instructions = function Instructions(_ref) {
|
|
275
275
|
className: cn('articles-num')
|
276
276
|
}, i + 1), /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, i + 1), {
|
277
277
|
className: cn('articles-title-text', [mobileItemTitle])
|
278
|
-
}),
|
278
|
+
}), itemTitle));
|
279
279
|
})));
|
280
280
|
}, [dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, instructionItems, mobileItemTitle, slideIndex, isMobileReversed, showMobileNumeration]);
|
281
281
|
var renderArrows = React.useCallback(function () {
|
@@ -285,7 +285,7 @@ var Instructions = function Instructions(_ref) {
|
|
285
285
|
className: cn('articles-item-dot-number')
|
286
286
|
}, i + 1)), /*#__PURE__*/_react["default"].createElement("div", {
|
287
287
|
className: cn('articles-item-title', [desktopItemTitle])
|
288
|
-
},
|
288
|
+
}, itemTitle))
|
289
289
|
);
|
290
290
|
}));
|
291
291
|
}, [desktopInstructionItem, desktopItemTitle, getActiveCustomClass, handleArticleClick, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, instructionItem, instructionItems, slideIndex, text]);
|
@@ -311,7 +311,7 @@ var Instructions = function Instructions(_ref) {
|
|
311
311
|
className: cn('articles-num')
|
312
312
|
}, i + 1), /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, i + 1), {
|
313
313
|
className: cn('articles-title-text', [mobileItemTitle])
|
314
|
-
}),
|
314
|
+
}), itemTitle));
|
315
315
|
})));
|
316
316
|
}, [dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.mobileItemText, instructionItems, mobileItemTitle, slideIndex, isMobileReversed, showMobileNumeration]);
|
317
317
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@megafon/ui-shared",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.2.0",
|
4
4
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"@babel/preset-env": "^7.8.6",
|
49
49
|
"@babel/preset-react": "^7.8.3",
|
50
50
|
"@babel/preset-typescript": "^7.8.3",
|
51
|
-
"@megafon/ui-icons": "^2.
|
51
|
+
"@megafon/ui-icons": "^2.28.0",
|
52
52
|
"@svgr/core": "^2.4.1",
|
53
53
|
"@testing-library/jest-dom": "5.16.2",
|
54
54
|
"@testing-library/react": "12.1.2",
|
@@ -82,7 +82,7 @@
|
|
82
82
|
},
|
83
83
|
"dependencies": {
|
84
84
|
"@babel/runtime": "^7.8.4",
|
85
|
-
"@megafon/ui-core": "^6.
|
85
|
+
"@megafon/ui-core": "^6.2.0",
|
86
86
|
"@megafon/ui-helpers": "^2.6.0",
|
87
87
|
"core-js": "^3.6.4",
|
88
88
|
"htmr": "^0.9.2",
|
@@ -90,5 +90,5 @@
|
|
90
90
|
"prop-types": "^15.7.2",
|
91
91
|
"swiper": "^6.5.6"
|
92
92
|
},
|
93
|
-
"gitHead": "
|
93
|
+
"gitHead": "51d2691e1194c1600d683e1a521d851b4b2ac39a"
|
94
94
|
}
|