@zohodesk/components 1.2.8 → 1.2.9

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 CHANGED
@@ -32,10 +32,22 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.2.9
36
+
37
+ - Package version merge fix update.
38
+
35
39
  # 1.2.8
36
40
 
37
41
  - **DropBox** - FocusScope component - props rename update.
38
42
 
43
+ # 1.2.7
44
+
45
+ - **Datetime** - days string in calender, multi language dotted issue fixed
46
+
47
+ # 1.2.6
48
+
49
+ - **AppContainer** - Memory Leak issue solved
50
+
39
51
  # 1.2.5
40
52
 
41
53
  - v1 folder remove entry from npmignore
@@ -298,7 +298,7 @@ Button.propTypes = propTypes;
298
298
  <div class='footer quiet pad2 space-top1 center small'>
299
299
  Code coverage generated by
300
300
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
301
- at 2023-08-31T13:31:14.175Z
301
+ at 2023-08-31T14:24:42.936Z
302
302
  </div>
303
303
  <script src="../prettify.js"></script>
304
304
  <script>
@@ -1426,7 +1426,7 @@
1426
1426
  <div class='footer quiet pad2 space-top1 center small'>
1427
1427
  Code coverage generated by
1428
1428
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1429
- at 2023-08-31T13:31:14.175Z
1429
+ at 2023-08-31T14:24:42.936Z
1430
1430
  </div>
1431
1431
  <script src="../../prettify.js"></script>
1432
1432
  <script>
@@ -199,7 +199,7 @@ export default function cssJSLogic({ props, style }) {
199
199
  <div class='footer quiet pad2 space-top1 center small'>
200
200
  Code coverage generated by
201
201
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
202
- at 2023-08-31T13:31:14.175Z
202
+ at 2023-08-31T14:24:42.936Z
203
203
  </div>
204
204
  <script src="../../prettify.js"></script>
205
205
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-08-31T13:31:14.175Z
119
+ at 2023-08-31T14:24:42.936Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2023-08-31T13:31:14.175Z
104
+ at 2023-08-31T14:24:42.936Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -127,7 +127,7 @@ export const defaultProps = {
127
127
  <div class='footer quiet pad2 space-top1 center small'>
128
128
  Code coverage generated by
129
129
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
130
- at 2023-08-31T13:31:14.175Z
130
+ at 2023-08-31T14:24:42.936Z
131
131
  </div>
132
132
  <script src="../../prettify.js"></script>
133
133
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-08-31T13:31:14.175Z
119
+ at 2023-08-31T14:24:42.936Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -193,7 +193,7 @@ export default propTypes;
193
193
  <div class='footer quiet pad2 space-top1 center small'>
194
194
  Code coverage generated by
195
195
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at 2023-08-31T13:31:14.175Z
196
+ at 2023-08-31T14:24:42.936Z
197
197
  </div>
198
198
  <script src="../../prettify.js"></script>
199
199
  <script>
@@ -205,7 +205,7 @@ Buttongroup.propTypes = propTypes;
205
205
  <div class='footer quiet pad2 space-top1 center small'>
206
206
  Code coverage generated by
207
207
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
208
- at 2023-08-31T13:31:14.175Z
208
+ at 2023-08-31T14:24:42.936Z
209
209
  </div>
210
210
  <script src="../prettify.js"></script>
211
211
  <script>
@@ -283,7 +283,7 @@
283
283
  <div class='footer quiet pad2 space-top1 center small'>
284
284
  Code coverage generated by
285
285
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
286
- at 2023-08-31T13:31:14.175Z
286
+ at 2023-08-31T14:24:42.936Z
287
287
  </div>
288
288
  <script src="../prettify.js"></script>
289
289
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-08-31T13:31:14.175Z
119
+ at 2023-08-31T14:24:42.936Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -88,7 +88,7 @@
88
88
  <div class='footer quiet pad2 space-top1 center small'>
89
89
  Code coverage generated by
90
90
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
91
- at 2023-08-31T13:31:14.175Z
91
+ at 2023-08-31T14:24:42.936Z
92
92
  </div>
93
93
  <script src="../../prettify.js"></script>
94
94
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-08-31T13:31:14.175Z
119
+ at 2023-08-31T14:24:42.936Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -100,7 +100,7 @@ export const propTypes = {
100
100
  <div class='footer quiet pad2 space-top1 center small'>
101
101
  Code coverage generated by
102
102
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
- at 2023-08-31T13:31:14.175Z
103
+ at 2023-08-31T14:24:42.936Z
104
104
  </div>
105
105
  <script src="../../prettify.js"></script>
106
106
  <script>
@@ -176,7 +176,7 @@
176
176
  <div class='footer quiet pad2 space-top1 center small'>
177
177
  Code coverage generated by
178
178
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
179
- at 2023-08-31T13:31:14.175Z
179
+ at 2023-08-31T14:24:42.936Z
180
180
  </div>
181
181
  <script src="prettify.js"></script>
182
182
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-08-31T13:31:14.175Z
76
+ at 2023-08-31T14:24:42.936Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2023-08-31T13:31:14.175Z
104
+ at 2023-08-31T14:24:42.936Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -85,6 +85,9 @@ export default class AppContainer extends React.Component {
85
85
  this.containerElement.removeEventListener('mouseover', this.handleOver, false);
86
86
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
87
87
  this.tooltipRef.unObserveElement();
88
+ setLibraryConfig({
89
+ getTooltipContainer: () => null
90
+ });
88
91
  }
89
92
  }
90
93
 
@@ -94,10 +94,12 @@
94
94
  }
95
95
 
96
96
  .daysStr {
97
+ composes: dotted from '../common/common.module.css';
97
98
  font-size: var(--zd_font_size10) ;
98
99
  color: var(--zdt_datetime_daystr_text);
99
100
  text-transform: uppercase;
100
101
  composes: semibold;
102
+ width: var(--zd_size31) ;
101
103
  }
102
104
 
103
105
  .dateRow {
@@ -85,6 +85,9 @@ export default class AppContainer extends React.Component {
85
85
  this.containerElement.removeEventListener('mouseover', this.handleOver, false);
86
86
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
87
87
  this.tooltipRef.unObserveElement();
88
+ setLibraryConfig({
89
+ getTooltipContainer: () => null
90
+ });
88
91
  }
89
92
  }
90
93
 
@@ -150,6 +150,11 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
150
150
  this.containerElement.removeEventListener('mouseover', this.handleOver, false);
151
151
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
152
152
  this.tooltipRef.unObserveElement();
153
+ (0, _Config.setLibraryConfig)({
154
+ getTooltipContainer: function getTooltipContainer() {
155
+ return null;
156
+ }
157
+ });
153
158
  }
154
159
  }
155
160
  }, {
@@ -94,10 +94,12 @@
94
94
  }
95
95
 
96
96
  .daysStr {
97
+ composes: dotted from '../common/common.module.css';
97
98
  font-size: var(--zd_font_size10) ;
98
99
  color: var(--zdt_datetime_daystr_text);
99
100
  text-transform: uppercase;
100
101
  composes: semibold;
102
+ width: var(--zd_size31) ;
101
103
  }
102
104
 
103
105
  .dateRow {
@@ -150,6 +150,11 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
150
150
  this.containerElement.removeEventListener('mouseover', this.handleOver, false);
151
151
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
152
152
  this.tooltipRef.unObserveElement();
153
+ (0, _Config.setLibraryConfig)({
154
+ getTooltipContainer: function getTooltipContainer() {
155
+ return null;
156
+ }
157
+ });
153
158
  }
154
159
  }
155
160
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"lakshmi-zt257","platForm":"Darwin","branchName":"LibraryNavigation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":2,"endTime":1693488674198,"startTime":1693488669825,"coverageDetail":{"codeCoveragePercentage":98.86,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}}]}}}
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"lakshmi-zt257","platForm":"Darwin","branchName":"LibraryNavigation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":2,"endTime":1693491882958,"startTime":1693491878876,"coverageDetail":{"codeCoveragePercentage":98.86,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}}]}}}