@zohodesk/dot 1.0.0-beta.255 → 1.0.0-beta.256
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/README.md +6 -1
- package/es/Drawer/Drawer.js +2 -3
- package/es/version2/AlertClose/AlertClose.js +2 -1
- package/lib/Drawer/Drawer.js +2 -3
- package/lib/version2/AlertClose/AlertClose.js +2 -1
- package/package.json +1 -1
- package/es/common/dot_docStyle.module.css +0 -35
- package/lib/common/dot_docStyle.module.css +0 -35
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.256
|
|
6
|
+
|
|
7
|
+
- **Drawer** - CancelBubblingEffect reverted coz that produces many issues.
|
|
8
|
+
|
|
5
9
|
# 1.0.0-beta.255
|
|
6
10
|
|
|
7
11
|
- **TagWithIcon** - New component Added.
|
|
@@ -16,7 +20,8 @@ In this Library, we Provide Some Basic Components to Build Your Application
|
|
|
16
20
|
|
|
17
21
|
# 1.0.0-beta.253
|
|
18
22
|
|
|
19
|
-
- **FreezeLayer** - onClick event issue solved
|
|
23
|
+
- **FreezeLayer** - onClick event issue solved.
|
|
24
|
+
|
|
20
25
|
- cancelBubblingEffect function replaced to all stopPropagation used placed
|
|
21
26
|
|
|
22
27
|
# 1.0.0-beta.252
|
package/es/Drawer/Drawer.js
CHANGED
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from './props/defaultProps';
|
|
3
3
|
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from './props/propTypes';
|
|
4
4
|
import FreezeLayer from '../FreezeLayer/FreezeLayer';
|
|
5
|
-
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
6
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
7
6
|
import { Card, CardHeader, CardContent } from '@zohodesk/components/lib/Card';
|
|
8
7
|
import FormAction from '../FormAction/FormAction';
|
|
@@ -167,7 +166,7 @@ export default class Drawer extends React.Component {
|
|
|
167
166
|
eleRef: this.createRef
|
|
168
167
|
}, /*#__PURE__*/React.createElement(Card, {
|
|
169
168
|
onClick: e => {
|
|
170
|
-
|
|
169
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
171
170
|
onBodyClick(e);
|
|
172
171
|
}
|
|
173
172
|
}, childrenWithProps));
|
|
@@ -179,7 +178,7 @@ export default class Drawer extends React.Component {
|
|
|
179
178
|
}, /*#__PURE__*/React.createElement(ResponsiveSender, null, /*#__PURE__*/React.createElement(Container, {
|
|
180
179
|
className: styleByResolutions,
|
|
181
180
|
onClick: e => {
|
|
182
|
-
|
|
181
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
183
182
|
}
|
|
184
183
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
185
184
|
flexible: true
|
|
@@ -21,7 +21,8 @@ export default class AlertClose extends PureComponent {
|
|
|
21
21
|
align: "both",
|
|
22
22
|
isInline: true,
|
|
23
23
|
alignBox: "row",
|
|
24
|
-
isCover: false
|
|
24
|
+
isCover: false,
|
|
25
|
+
tabIndex: "0"
|
|
25
26
|
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Icon, {
|
|
26
27
|
name: "GC-cross",
|
|
27
28
|
isBold: true,
|
package/lib/Drawer/Drawer.js
CHANGED
|
@@ -9,7 +9,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _defaultProps = require("./props/defaultProps");
|
|
10
10
|
var _propTypes = require("./props/propTypes");
|
|
11
11
|
var _FreezeLayer = _interopRequireDefault(require("../FreezeLayer/FreezeLayer"));
|
|
12
|
-
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
13
12
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
14
13
|
var _Card = require("@zohodesk/components/lib/Card");
|
|
15
14
|
var _FormAction = _interopRequireDefault(require("../FormAction/FormAction"));
|
|
@@ -222,7 +221,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
|
|
|
222
221
|
eleRef: this.createRef
|
|
223
222
|
}, /*#__PURE__*/_react["default"].createElement(_Card.Card, {
|
|
224
223
|
onClick: function onClick(e) {
|
|
225
|
-
|
|
224
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
226
225
|
onBodyClick(e);
|
|
227
226
|
}
|
|
228
227
|
}, childrenWithProps));
|
|
@@ -234,7 +233,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
|
|
|
234
233
|
}, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveSender, null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
235
234
|
className: styleByResolutions,
|
|
236
235
|
onClick: function onClick(e) {
|
|
237
|
-
|
|
236
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
238
237
|
}
|
|
239
238
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
240
239
|
flexible: true
|
|
@@ -49,7 +49,8 @@ var AlertClose = /*#__PURE__*/function (_PureComponent) {
|
|
|
49
49
|
align: "both",
|
|
50
50
|
isInline: true,
|
|
51
51
|
alignBox: "row",
|
|
52
|
-
isCover: false
|
|
52
|
+
isCover: false,
|
|
53
|
+
tabIndex: "0"
|
|
53
54
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
54
55
|
name: "GC-cross",
|
|
55
56
|
isBold: true,
|
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[data-mode='default']:global(.zd-contrast) {
|
|
2
|
-
color: #000;
|
|
3
|
-
background: #fff;
|
|
4
|
-
border-color: #000;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
[data-mode='dark']:global(.zd-contrast) {
|
|
8
|
-
color: #fff;
|
|
9
|
-
background-color: #101319;
|
|
10
|
-
border-color: #fff;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
[data-mode='pureDark']:global(.zd-contrast) {
|
|
14
|
-
color: #fff;
|
|
15
|
-
background-color: #080808;
|
|
16
|
-
border-color: #fff;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:global(.zd-contrast) {
|
|
20
|
-
--zd_bs_contrast_outline: 0 0 2px var(--zdt_contrast_shadow);
|
|
21
|
-
--zd_bs_contrast_none: 0 0 0 transparent;
|
|
22
|
-
--zd_lightmode_grey_bg: -0%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:global(.zd-contrast-level1) {
|
|
26
|
-
--zd_contrastLevel: 10;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:global(.zd-contrast-level2) {
|
|
30
|
-
--zd_contrastLevel: 20;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:global(.zd-contrast-level3) {
|
|
34
|
-
--zd_contrastLevel: 40;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[data-mode='default']:global(.zd-contrast) {
|
|
2
|
-
color: #000;
|
|
3
|
-
background: #fff;
|
|
4
|
-
border-color: #000;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
[data-mode='dark']:global(.zd-contrast) {
|
|
8
|
-
color: #fff;
|
|
9
|
-
background-color: #101319;
|
|
10
|
-
border-color: #fff;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
[data-mode='pureDark']:global(.zd-contrast) {
|
|
14
|
-
color: #fff;
|
|
15
|
-
background-color: #080808;
|
|
16
|
-
border-color: #fff;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:global(.zd-contrast) {
|
|
20
|
-
--zd_bs_contrast_outline: 0 0 2px var(--zdt_contrast_shadow);
|
|
21
|
-
--zd_bs_contrast_none: 0 0 0 transparent;
|
|
22
|
-
--zd_lightmode_grey_bg: -0%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:global(.zd-contrast-level1) {
|
|
26
|
-
--zd_contrastLevel: 10;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:global(.zd-contrast-level2) {
|
|
30
|
-
--zd_contrastLevel: 20;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:global(.zd-contrast-level3) {
|
|
34
|
-
--zd_contrastLevel: 40;
|
|
35
|
-
}
|