@zohodesk/dot 1.2.3 → 1.2.4
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/.cli/PropLessFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +4 -0
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +12 -12
- package/coverage/coverage-summary.json +12 -12
- package/coverage/index.html +1 -1
- package/es/Drawer/Drawer.js +10 -10
- package/es/lookup/Lookup/Lookup.js +10 -10
- package/es/v1/Drawer/Drawer.js +10 -10
- package/es/v1/lookup/Lookup/Lookup.js +10 -10
- package/lib/Drawer/Drawer.js +15 -15
- package/lib/lookup/Lookup/Lookup.js +15 -15
- package/lib/v1/Drawer/Drawer.js +15 -15
- package/lib/v1/lookup/Lookup/Lookup.js +15 -15
- package/package.json +6 -6
- package/result.json +1 -1
|
@@ -110,16 +110,16 @@ var Lookup = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
ariaModal = _a11y$ariaModal === void 0 ? isActive ? true : undefined : _a11y$ariaModal;
|
|
111
111
|
var _customProps$focusSco = customProps.focusScopeProps,
|
|
112
112
|
focusScopeProps = _customProps$focusSco === void 0 ? {} : _customProps$focusSco;
|
|
113
|
-
var _focusScopeProps$
|
|
114
|
-
|
|
115
|
-
_focusScopeProps$
|
|
116
|
-
|
|
117
|
-
_focusScopeProps$
|
|
118
|
-
|
|
119
|
-
_focusScopeProps$
|
|
120
|
-
|
|
121
|
-
_focusScopeProps$
|
|
122
|
-
|
|
113
|
+
var _focusScopeProps$need = focusScopeProps.needAutoFocus,
|
|
114
|
+
needAutoFocus = _focusScopeProps$need === void 0 ? true : _focusScopeProps$need,
|
|
115
|
+
_focusScopeProps$need2 = focusScopeProps.needRestoreFocus,
|
|
116
|
+
needRestoreFocus = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
|
|
117
|
+
_focusScopeProps$need3 = focusScopeProps.needListNavigation,
|
|
118
|
+
needListNavigation = _focusScopeProps$need3 === void 0 ? false : _focusScopeProps$need3,
|
|
119
|
+
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
120
|
+
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
121
|
+
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
122
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
|
|
123
123
|
|
|
124
124
|
var content = /*#__PURE__*/_react["default"].createElement("div", {
|
|
125
125
|
ref: this.createRef,
|
|
@@ -150,13 +150,13 @@ var Lookup = /*#__PURE__*/function (_Component) {
|
|
|
150
150
|
className: _LookupModule["default"].container,
|
|
151
151
|
dataId: "fldValue"
|
|
152
152
|
}, needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
needFocusLoop: needFocusLoop,
|
|
154
|
+
needListNavigation: needListNavigation,
|
|
155
155
|
elementRef: this.createRef,
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
needAutoFocus: needAutoFocus,
|
|
157
|
+
needRestoreFocus: needRestoreFocus,
|
|
158
158
|
onClose: onClose,
|
|
159
|
-
|
|
159
|
+
needEnterAction: needEnterAction
|
|
160
160
|
}, content) : content));
|
|
161
161
|
}
|
|
162
162
|
}]);
|
package/lib/v1/Drawer/Drawer.js
CHANGED
|
@@ -172,16 +172,16 @@ function Drawer(props) {
|
|
|
172
172
|
customProps = props.customProps;
|
|
173
173
|
var _customProps$focusSco = customProps.focusScopeProps,
|
|
174
174
|
focusScopeProps = _customProps$focusSco === void 0 ? {} : _customProps$focusSco;
|
|
175
|
-
var _focusScopeProps$
|
|
176
|
-
|
|
177
|
-
_focusScopeProps$
|
|
178
|
-
|
|
179
|
-
_focusScopeProps$
|
|
180
|
-
|
|
181
|
-
_focusScopeProps$
|
|
182
|
-
|
|
183
|
-
_focusScopeProps$
|
|
184
|
-
|
|
175
|
+
var _focusScopeProps$need = focusScopeProps.needAutoFocus,
|
|
176
|
+
needAutoFocus = _focusScopeProps$need === void 0 ? true : _focusScopeProps$need,
|
|
177
|
+
_focusScopeProps$need2 = focusScopeProps.needRestoreFocus,
|
|
178
|
+
needRestoreFocus = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
|
|
179
|
+
_focusScopeProps$need3 = focusScopeProps.needListNavigation,
|
|
180
|
+
needListNavigation = _focusScopeProps$need3 === void 0 ? false : _focusScopeProps$need3,
|
|
181
|
+
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
182
|
+
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
183
|
+
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
184
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
|
|
185
185
|
|
|
186
186
|
var childrenWithProps = _react["default"].Children.map(children, function (child) {
|
|
187
187
|
if (child.type === Header || child.type === Footer || child.type === Content) {
|
|
@@ -222,12 +222,12 @@ function Drawer(props) {
|
|
|
222
222
|
flexible: true
|
|
223
223
|
}, subDrawerChildren))))) : null, needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
|
|
224
224
|
elementRef: contentRef,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
needAutoFocus: needAutoFocus,
|
|
226
|
+
needFocusLoop: needFocusLoop,
|
|
227
|
+
needRestoreFocus: needRestoreFocus,
|
|
228
|
+
needListNavigation: needListNavigation,
|
|
229
229
|
onClose: onClose,
|
|
230
|
-
|
|
230
|
+
needEnterAction: needEnterAction
|
|
231
231
|
}, content) : content);
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -58,16 +58,16 @@ function Lookup(props) {
|
|
|
58
58
|
ariaModal = _a11y$ariaModal === void 0 ? isActive ? true : undefined : _a11y$ariaModal;
|
|
59
59
|
var _customProps$focusSco = customProps.focusScopeProps,
|
|
60
60
|
focusScopeProps = _customProps$focusSco === void 0 ? {} : _customProps$focusSco;
|
|
61
|
-
var _focusScopeProps$
|
|
62
|
-
|
|
63
|
-
_focusScopeProps$
|
|
64
|
-
|
|
65
|
-
_focusScopeProps$
|
|
66
|
-
|
|
67
|
-
_focusScopeProps$
|
|
68
|
-
|
|
69
|
-
_focusScopeProps$
|
|
70
|
-
|
|
61
|
+
var _focusScopeProps$need = focusScopeProps.needAutoFocus,
|
|
62
|
+
needAutoFocus = _focusScopeProps$need === void 0 ? true : _focusScopeProps$need,
|
|
63
|
+
_focusScopeProps$need2 = focusScopeProps.needRestoreFocus,
|
|
64
|
+
needRestoreFocus = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
|
|
65
|
+
_focusScopeProps$need3 = focusScopeProps.needListNavigation,
|
|
66
|
+
needListNavigation = _focusScopeProps$need3 === void 0 ? false : _focusScopeProps$need3,
|
|
67
|
+
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
68
|
+
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
69
|
+
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
70
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
|
|
71
71
|
var createRef = (0, _react.useRef)(null);
|
|
72
72
|
var handleKeyDown = (0, _react.useCallback)(function (e) {
|
|
73
73
|
onKeyDown && onKeyDown(e);
|
|
@@ -114,13 +114,13 @@ function Lookup(props) {
|
|
|
114
114
|
className: _LookupModule["default"].container,
|
|
115
115
|
dataId: "fldValue"
|
|
116
116
|
}, needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
needFocusLoop: needFocusLoop,
|
|
118
|
+
needListNavigation: needListNavigation,
|
|
119
119
|
elementRef: createRef,
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
needAutoFocus: needAutoFocus,
|
|
121
|
+
needRestoreFocus: needRestoreFocus,
|
|
122
122
|
onClose: onClose,
|
|
123
|
-
|
|
123
|
+
needEnterAction: needEnterAction
|
|
124
124
|
}, content) : content));
|
|
125
125
|
}
|
|
126
126
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@zohodesk-private/node-plugins": "^1.0.0",
|
|
52
52
|
"@zohodesk-private/color-variable-preprocessor": "1.0.6",
|
|
53
53
|
"@zohodesk-private/react-prop-validator": "0.1.0",
|
|
54
|
-
"@zohodesk/components": "1.2.
|
|
55
|
-
"@zohodesk/a11y": "2.0
|
|
54
|
+
"@zohodesk/components": "1.2.8",
|
|
55
|
+
"@zohodesk/a11y": "2.1.0",
|
|
56
56
|
"@zohodesk/i18n": "1.0.0-beta.23",
|
|
57
57
|
"@zohodesk/icons": "1.0.2",
|
|
58
58
|
"@zohodesk/svg": "1.1.1",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"velocity-react": "1.4.3",
|
|
72
72
|
"@zohodesk/variables": "1.0.0",
|
|
73
73
|
"@zohodesk/i18n": "1.0.0-beta.23",
|
|
74
|
-
"@zohodesk/components": "1.2.
|
|
74
|
+
"@zohodesk/components": "1.2.8",
|
|
75
75
|
"@zohodesk/icons": "1.0.2",
|
|
76
76
|
"@zohodesk/svg": "1.1.1",
|
|
77
77
|
"@zohodesk/virtualizer": "1.0.3",
|
|
78
78
|
"react-sortable-hoc": "^0.8.3",
|
|
79
79
|
"@zohodesk/hooks": "2.0.1",
|
|
80
80
|
"@zohodesk/utils": "1.3.13",
|
|
81
|
-
"@zohodesk/a11y": "2.0
|
|
81
|
+
"@zohodesk/a11y": "2.1.0"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|
package/result.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"
|
|
1
|
+
{"jobDetails":{"isRunByLocal":true,"hostName":"lakshmi-zt257","platForm":"Darwin","branchName":"LibraryNavigation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":14,"numberOfFails":0,"numberOfCases":14,"numberOfSuites":3,"endTime":1693489129943,"startTime":1693489125794,"coverageDetail":{"codeCoveragePercentage":98.03,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}}]}}}
|