@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.
Files changed (34) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +4 -0
  4. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  5. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  6. package/coverage/ExternalLink/index.html +1 -1
  7. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  8. package/coverage/ExternalLink/props/index.html +1 -1
  9. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  10. package/coverage/Image/Image.js.html +1 -1
  11. package/coverage/Image/Image.module.css.html +1 -1
  12. package/coverage/Image/index.html +1 -1
  13. package/coverage/Image/props/defaultProps.js.html +1 -1
  14. package/coverage/Image/props/index.html +1 -1
  15. package/coverage/Image/props/propTypes.js.html +1 -1
  16. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  17. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  18. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  19. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  20. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  22. package/coverage/coverage-final.json +12 -12
  23. package/coverage/coverage-summary.json +12 -12
  24. package/coverage/index.html +1 -1
  25. package/es/Drawer/Drawer.js +10 -10
  26. package/es/lookup/Lookup/Lookup.js +10 -10
  27. package/es/v1/Drawer/Drawer.js +10 -10
  28. package/es/v1/lookup/Lookup/Lookup.js +10 -10
  29. package/lib/Drawer/Drawer.js +15 -15
  30. package/lib/lookup/Lookup/Lookup.js +15 -15
  31. package/lib/v1/Drawer/Drawer.js +15 -15
  32. package/lib/v1/lookup/Lookup/Lookup.js +15 -15
  33. package/package.json +6 -6
  34. 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$auto = focusScopeProps.autoFocus,
114
- autoFocus = _focusScopeProps$auto === void 0 ? true : _focusScopeProps$auto,
115
- _focusScopeProps$rest = focusScopeProps.restoreFocus,
116
- restoreFocus = _focusScopeProps$rest === void 0 ? true : _focusScopeProps$rest,
117
- _focusScopeProps$need = focusScopeProps.needArrowLoop,
118
- needArrowLoop = _focusScopeProps$need === void 0 ? false : _focusScopeProps$need,
119
- _focusScopeProps$need2 = focusScopeProps.needTabLoop,
120
- needTabLoop = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
121
- _focusScopeProps$enab = focusScopeProps.enableEnterAction,
122
- enableEnterAction = _focusScopeProps$enab === void 0 ? false : _focusScopeProps$enab;
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
- needTabLoop: needTabLoop,
154
- needArrowLoop: needArrowLoop,
153
+ needFocusLoop: needFocusLoop,
154
+ needListNavigation: needListNavigation,
155
155
  elementRef: this.createRef,
156
- autoFocus: autoFocus,
157
- restoreFocus: restoreFocus,
156
+ needAutoFocus: needAutoFocus,
157
+ needRestoreFocus: needRestoreFocus,
158
158
  onClose: onClose,
159
- enableEnterAction: enableEnterAction
159
+ needEnterAction: needEnterAction
160
160
  }, content) : content));
161
161
  }
162
162
  }]);
@@ -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$auto = focusScopeProps.autoFocus,
176
- autoFocus = _focusScopeProps$auto === void 0 ? true : _focusScopeProps$auto,
177
- _focusScopeProps$rest = focusScopeProps.restoreFocus,
178
- restoreFocus = _focusScopeProps$rest === void 0 ? true : _focusScopeProps$rest,
179
- _focusScopeProps$need = focusScopeProps.needArrowLoop,
180
- needArrowLoop = _focusScopeProps$need === void 0 ? false : _focusScopeProps$need,
181
- _focusScopeProps$need2 = focusScopeProps.needTabLoop,
182
- needTabLoop = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
183
- _focusScopeProps$enab = focusScopeProps.enableEnterAction,
184
- enableEnterAction = _focusScopeProps$enab === void 0 ? false : _focusScopeProps$enab;
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
- autoFocus: autoFocus,
226
- needTabLoop: needTabLoop,
227
- restoreFocus: restoreFocus,
228
- needArrowLoop: needArrowLoop,
225
+ needAutoFocus: needAutoFocus,
226
+ needFocusLoop: needFocusLoop,
227
+ needRestoreFocus: needRestoreFocus,
228
+ needListNavigation: needListNavigation,
229
229
  onClose: onClose,
230
- enableEnterAction: enableEnterAction
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$auto = focusScopeProps.autoFocus,
62
- autoFocus = _focusScopeProps$auto === void 0 ? true : _focusScopeProps$auto,
63
- _focusScopeProps$rest = focusScopeProps.restoreFocus,
64
- restoreFocus = _focusScopeProps$rest === void 0 ? true : _focusScopeProps$rest,
65
- _focusScopeProps$need = focusScopeProps.needArrowLoop,
66
- needArrowLoop = _focusScopeProps$need === void 0 ? false : _focusScopeProps$need,
67
- _focusScopeProps$need2 = focusScopeProps.needTabLoop,
68
- needTabLoop = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
69
- _focusScopeProps$enab = focusScopeProps.enableEnterAction,
70
- enableEnterAction = _focusScopeProps$enab === void 0 ? false : _focusScopeProps$enab;
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
- needTabLoop: needTabLoop,
118
- needArrowLoop: needArrowLoop,
117
+ needFocusLoop: needFocusLoop,
118
+ needListNavigation: needListNavigation,
119
119
  elementRef: createRef,
120
- autoFocus: autoFocus,
121
- restoreFocus: restoreFocus,
120
+ needAutoFocus: needAutoFocus,
121
+ needRestoreFocus: needRestoreFocus,
122
122
  onClose: onClose,
123
- enableEnterAction: enableEnterAction
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",
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.3",
55
- "@zohodesk/a11y": "2.0.2",
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.3",
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.2"
81
+ "@zohodesk/a11y": "2.1.0"
82
82
  }
83
- }
83
+ }
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-zt93","platForm":"Darwin","branchName":"testcase_gowtham"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":14,"numberOfFails":0,"numberOfCases":14,"numberOfSuites":3,"endTime":1693238421406,"startTime":1693238418652,"coverageDetail":{"codeCoveragePercentage":98.03,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}},{"fileName":"/Users/bharathi-zt93/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":[]}}]}}}
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":[]}}]}}}