@qiwi/pijma-mobile 1.162.0 → 1.162.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qiwi/pijma-mobile",
3
- "version": "1.162.0",
3
+ "version": "1.162.2",
4
4
  "type": "module",
5
5
  "main": "./target/es5/index.js",
6
6
  "module": "./target/es6/index.js",
@@ -14,7 +14,6 @@ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_p
14
14
  var _jsxruntime = require("react/jsx-runtime");
15
15
  var _pijmacore = require("@qiwi/pijma-core");
16
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
17
- var _typography = require("../typography/index.js");
18
17
  var CustomAlert = function(_param) {
19
18
  var children = _param.children, icon = _param.icon, bg = _param.bg, shadow = _param.shadow, textColor = _param.textColor, onHide = _param.onHide, rest = _object_without_properties_loose._(_param, [
20
19
  "children",
@@ -40,17 +39,14 @@ var CustomAlert = function(_param) {
40
39
  pr: onHide !== undefined ? 14 : 4,
41
40
  children: [
42
41
  icon && /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
42
+ display: "flex",
43
43
  mr: 2,
44
44
  children: icon
45
45
  }),
46
46
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
47
+ display: "flex",
47
48
  my: "2px",
48
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_typography.Paragraph, {
49
- color: textColor,
50
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Breaker, {
51
- children: children
52
- })
53
- })
49
+ children: children
54
50
  }),
55
51
  onHide !== undefined ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Pos, {
56
52
  cursor: "pointer",
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AlertBlockControl, Breaker, Card, FlexItem, FlexPos, getDataProps, Icon, Pos } from '@qiwi/pijma-core';
2
+ import { AlertBlockControl, Card, FlexItem, FlexPos, getDataProps, Icon, Pos } from '@qiwi/pijma-core';
3
3
  import React from 'react';
4
- import { Paragraph } from '../typography/index.js';
5
4
  export const CustomAlert = ({ children , icon , bg , shadow , textColor , onHide , ...rest })=>{
6
5
  return /*#__PURE__*/ _jsx(AlertBlockControl, {
7
6
  onHide: onHide,
@@ -19,17 +18,14 @@ export const CustomAlert = ({ children , icon , bg , shadow , textColor , onHide
19
18
  pr: onHide !== undefined ? 14 : 4,
20
19
  children: [
21
20
  icon && /*#__PURE__*/ _jsx(FlexItem, {
21
+ display: "flex",
22
22
  mr: 2,
23
23
  children: icon
24
24
  }),
25
25
  /*#__PURE__*/ _jsx(FlexItem, {
26
+ display: "flex",
26
27
  my: "2px",
27
- children: /*#__PURE__*/ _jsx(Paragraph, {
28
- color: textColor,
29
- children: /*#__PURE__*/ _jsx(Breaker, {
30
- children: children
31
- })
32
- })
28
+ children: children
33
29
  }),
34
30
  onHide !== undefined ? /*#__PURE__*/ _jsx(Pos, {
35
31
  cursor: "pointer",