@gympass/yoga 7.22.2 → 7.22.3
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/cjs/Dialog/web/Dialog.js
CHANGED
|
@@ -11,12 +11,12 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = require("prop-types");
|
|
13
13
|
|
|
14
|
+
var _yogaIcons = require("@gympass/yoga-icons");
|
|
15
|
+
|
|
14
16
|
var _hooks = require("../../hooks");
|
|
15
17
|
|
|
16
18
|
var _ = require("../..");
|
|
17
19
|
|
|
18
|
-
var _src = require("../../../../icons/src");
|
|
19
|
-
|
|
20
20
|
var _templateObject, _templateObject2;
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -75,7 +75,7 @@ var Dialog = function Dialog(_ref3) {
|
|
|
75
75
|
justifyContent: "flex-end",
|
|
76
76
|
w: "100%"
|
|
77
77
|
}, /*#__PURE__*/_react["default"].createElement(_.Button.Icon, {
|
|
78
|
-
icon:
|
|
78
|
+
icon: _yogaIcons.Close,
|
|
79
79
|
inverted: true,
|
|
80
80
|
onClick: onClose
|
|
81
81
|
})), children)), dialogElement) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, " ");
|
package/esm/Dialog/web/Dialog.js
CHANGED
|
@@ -6,9 +6,9 @@ import React, { useEffect, useRef, useCallback } from 'react';
|
|
|
6
6
|
import { createPortal } from 'react-dom';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
8
|
import { func, bool, node } from 'prop-types';
|
|
9
|
+
import { Close } from '@gympass/yoga-icons';
|
|
9
10
|
import { usePortal } from '../../hooks';
|
|
10
11
|
import { Button, Card, Box } from '../..';
|
|
11
|
-
import { Close } from '../../../../icons/src';
|
|
12
12
|
var StyledDialog = styled(Card)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
|
|
13
13
|
var onClose = _ref.onClose,
|
|
14
14
|
dialog = _ref.theme.yoga.components.dialog;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.22.
|
|
3
|
+
"version": "7.22.3",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": ">=16",
|
|
50
50
|
"styled-components": "^4.4.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "f3acae47e79e0f7002c2d1481667fcabebe5587e",
|
|
53
53
|
"module": "./esm",
|
|
54
54
|
"private": false,
|
|
55
55
|
"react-native": "./cjs/index.native.js"
|