@megafon/ui-core 5.1.2 → 5.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 +11 -0
- package/dist/es/components/Snackbar/Snackbar.css +217 -0
- package/dist/es/components/Snackbar/Snackbar.d.ts +49 -0
- package/dist/es/components/Snackbar/Snackbar.js +258 -0
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.css +63 -0
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +9 -0
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.js +79 -0
- package/dist/es/hooks/useResolution.d.ts +5 -0
- package/dist/es/hooks/useResolution.js +40 -0
- package/dist/es/hooks/useSwipe.d.ts +14 -0
- package/dist/es/hooks/useSwipe.js +112 -0
- package/dist/es/index.d.ts +2 -0
- package/dist/es/index.js +2 -0
- package/dist/lib/components/Snackbar/Snackbar.css +217 -0
- package/dist/lib/components/Snackbar/Snackbar.d.ts +49 -0
- package/dist/lib/components/Snackbar/Snackbar.js +286 -0
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.css +63 -0
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +9 -0
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +99 -0
- package/dist/lib/hooks/useResolution.d.ts +5 -0
- package/dist/lib/hooks/useResolution.js +58 -0
- package/dist/lib/hooks/useSwipe.d.ts +14 -0
- package/dist/lib/hooks/useSwipe.js +132 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +16 -0
- package/package.json +2 -2
package/dist/lib/index.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export { default as RadioButton } from './components/RadioButton/RadioButton';
|
|
|
36
36
|
export { default as Search } from './components/Search/Search';
|
|
37
37
|
export { default as Select } from './components/Select/Select';
|
|
38
38
|
export { default as selectReducer } from './components/Select/reducer/selectReducer';
|
|
39
|
+
export { default as Snackbar } from './components/Snackbar/Snackbar';
|
|
40
|
+
export { default as SnackbarTimer } from './components/Snackbar/SnackbarTimer/SnackbarTimer';
|
|
39
41
|
export { default as Switcher } from './components/Switcher/Switcher';
|
|
40
42
|
export { default as Tab } from './components/Tabs/Tab';
|
|
41
43
|
export { default as Tabs } from './components/Tabs/Tabs';
|
package/dist/lib/index.js
CHANGED
|
@@ -231,6 +231,18 @@ Object.defineProperty(exports, "selectReducer", {
|
|
|
231
231
|
return _selectReducer["default"];
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
|
+
Object.defineProperty(exports, "Snackbar", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function get() {
|
|
237
|
+
return _Snackbar["default"];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "SnackbarTimer", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function get() {
|
|
243
|
+
return _SnackbarTimer["default"];
|
|
244
|
+
}
|
|
245
|
+
});
|
|
234
246
|
Object.defineProperty(exports, "Switcher", {
|
|
235
247
|
enumerable: true,
|
|
236
248
|
get: function get() {
|
|
@@ -374,6 +386,10 @@ var _Select = _interopRequireDefault(require("./components/Select/Select"));
|
|
|
374
386
|
|
|
375
387
|
var _selectReducer = _interopRequireDefault(require("./components/Select/reducer/selectReducer"));
|
|
376
388
|
|
|
389
|
+
var _Snackbar = _interopRequireDefault(require("./components/Snackbar/Snackbar"));
|
|
390
|
+
|
|
391
|
+
var _SnackbarTimer = _interopRequireDefault(require("./components/Snackbar/SnackbarTimer/SnackbarTimer"));
|
|
392
|
+
|
|
377
393
|
var _Switcher = _interopRequireDefault(require("./components/Switcher/Switcher"));
|
|
378
394
|
|
|
379
395
|
var _Tab = _interopRequireDefault(require("./components/Tabs/Tab"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"styles"
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"react-popper": "^2.2.3",
|
|
97
97
|
"swiper": "^6.5.6"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "dcc83f03d9aa2088d55b98deecafe819051cda0d"
|
|
100
100
|
}
|