@zohodesk/dot 1.0.0-temp-184.2 → 1.0.0-temp-186

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 (134) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +8 -0
  3. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  4. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  5. package/coverage/ExternalLink/index.html +1 -1
  6. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  7. package/coverage/ExternalLink/props/index.html +1 -1
  8. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  9. package/coverage/IconButton/IconButton.js.html +1 -1
  10. package/coverage/IconButton/IconButton.module.css.html +1 -1
  11. package/coverage/IconButton/index.html +1 -1
  12. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  13. package/coverage/IconButton/props/index.html +1 -1
  14. package/coverage/IconButton/props/propTypes.js.html +1 -1
  15. package/coverage/Image/Image.js.html +1 -1
  16. package/coverage/Image/Image.module.css.html +1 -1
  17. package/coverage/Image/index.html +1 -1
  18. package/coverage/Image/props/defaultProps.js.html +1 -1
  19. package/coverage/Image/props/index.html +1 -1
  20. package/coverage/Image/props/propTypes.js.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  27. package/coverage/index.html +1 -1
  28. package/es/Drawer/Drawer.js +4 -5
  29. package/es/ExternalLink/ExternalLink.js +4 -5
  30. package/es/FlipCard/FlipCard.js +14 -12
  31. package/es/IconButton/IconButton.js +4 -5
  32. package/es/Link/Link.js +8 -10
  33. package/es/Message/Message.js +4 -5
  34. package/es/ToastMessage/ToastMessage.js +2 -4
  35. package/es/actions/AutoClose.js +2 -1
  36. package/es/alert/AlertLookup/AlertLookup.js +14 -12
  37. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  38. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  39. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
  40. package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
  41. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  42. package/es/avatar/AvatarUser/AvatarUser.js +10 -9
  43. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  44. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
  45. package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  46. package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
  47. package/es/form/fields/DateField/DateField.js +14 -14
  48. package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  49. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  50. package/es/form/fields/RadioField/RadioField.js +18 -15
  51. package/es/form/fields/SelectField/SelectField.js +14 -14
  52. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +15 -11
  53. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  54. package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
  55. package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
  56. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  57. package/es/form/fields/TextareaField/TextareaField.js +14 -13
  58. package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
  59. package/es/list/ListLayout/ListLayout.js +4 -5
  60. package/es/list/SecondaryText/AccountName.js +12 -12
  61. package/es/list/SecondaryText/ContactName.js +8 -9
  62. package/es/list/SecondaryText/Email.js +8 -8
  63. package/es/list/SecondaryText/PhoneNumber.js +8 -8
  64. package/es/list/SecondaryText/SecondaryText.js +4 -5
  65. package/es/list/SecondaryText/TicketId.js +7 -7
  66. package/es/list/Subject/Subject.js +7 -7
  67. package/es/list/status/StatusDropdown/StatusDropdown.js +30 -115
  68. package/es/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
  69. package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
  70. package/es/list/status/StatusDropdown/props/propTypes.js +1 -1
  71. package/es/list/status/StatusListItem/StatusListItem.js +5 -5
  72. package/es/lookup/Lookup/Lookup.js +4 -5
  73. package/es/lookup/header/Search/Search.js +5 -3
  74. package/es/v1/Drawer/Drawer.js +4 -5
  75. package/es/v1/ExternalLink/ExternalLink.js +4 -5
  76. package/es/v1/FlipCard/FlipCard.js +14 -12
  77. package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
  78. package/es/v1/IconButton/IconButton.js +4 -5
  79. package/es/v1/Link/Link.js +8 -10
  80. package/es/v1/Message/Message.js +4 -5
  81. package/es/v1/ToastMessage/ToastMessage.js +2 -4
  82. package/es/v1/actions/AutoClose.js +2 -1
  83. package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
  84. package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
  85. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
  86. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +4 -5
  87. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
  88. package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
  89. package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
  90. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  91. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
  92. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  93. package/es/v1/form/fields/CurrencyField/CurrencyField.js +14 -12
  94. package/es/v1/form/fields/DateField/DateField.js +14 -14
  95. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  96. package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
  97. package/es/v1/form/fields/RadioField/RadioField.js +18 -16
  98. package/es/v1/form/fields/SelectField/SelectField.js +14 -14
  99. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +15 -11
  100. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  101. package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
  102. package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
  103. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  104. package/es/v1/form/fields/TextareaField/TextareaField.js +14 -13
  105. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
  106. package/es/v1/list/ListLayout/ListLayout.js +4 -5
  107. package/es/v1/list/SecondaryText/AccountName.js +12 -12
  108. package/es/v1/list/SecondaryText/ContactName.js +8 -9
  109. package/es/v1/list/SecondaryText/Email.js +8 -8
  110. package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
  111. package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
  112. package/es/v1/list/SecondaryText/TicketId.js +7 -7
  113. package/es/v1/list/Subject/Subject.js +7 -7
  114. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +32 -106
  115. package/es/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
  116. package/es/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
  117. package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
  118. package/es/v1/lookup/Lookup/Lookup.js +4 -5
  119. package/es/v1/lookup/header/Search/Search.js +5 -3
  120. package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -7
  121. package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
  122. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  123. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
  124. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -1
  125. package/lib/list/status/StatusDropdown/StatusDropdown.js +77 -161
  126. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
  127. package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
  128. package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
  129. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -1
  130. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +31 -103
  131. package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
  132. package/lib/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
  133. package/package.json +3 -3
  134. package/result.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.4.15
6
+
7
+ - **StatusDropdown**
8
+ - `FocusScope` navigation has been implemented.
9
+ - `isNextOptions` - prop renamed as `isFetchingOptions`.
10
+ - Loader added for fetching listItem.
11
+ - **Thread** - default count 1 removed
12
+ - These changes added in v1 folders also.
5
13
 
6
14
  # 1.4.14
7
15
 
@@ -214,7 +214,7 @@ ExternalLink.propTypes = propTypes;
214
214
  <div class='footer quiet pad2 space-top1 center small'>
215
215
  Code coverage generated by
216
216
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
217
- at 2024-07-04T13:04:03.743Z
217
+ at 2024-07-23T13:34:26.928Z
218
218
  </div>
219
219
  <script src="../prettify.js"></script>
220
220
  <script>
@@ -79,7 +79,7 @@
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at 2024-07-04T13:04:03.743Z
82
+ at 2024-07-23T13:34:26.928Z
83
83
  </div>
84
84
  <script src="../prettify.js"></script>
85
85
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -85,7 +85,7 @@
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
88
- at 2024-07-04T13:04:03.743Z
88
+ at 2024-07-23T13:34:26.928Z
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
91
91
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -109,7 +109,7 @@ export const propTypes = {
109
109
  <div class='footer quiet pad2 space-top1 center small'>
110
110
  Code coverage generated by
111
111
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
112
- at 2024-07-04T13:04:03.743Z
112
+ at 2024-07-23T13:34:26.928Z
113
113
  </div>
114
114
  <script src="../../prettify.js"></script>
115
115
  <script>
@@ -451,7 +451,7 @@ IconButton.defaultProps = defaultProps;
451
451
  <div class='footer quiet pad2 space-top1 center small'>
452
452
  Code coverage generated by
453
453
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
454
- at 2024-07-04T13:04:03.743Z
454
+ at 2024-07-23T13:34:26.928Z
455
455
  </div>
456
456
  <script src="../prettify.js"></script>
457
457
  <script>
@@ -136,7 +136,7 @@
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
139
- at 2024-07-04T13:04:03.743Z
139
+ at 2024-07-23T13:34:26.928Z
140
140
  </div>
141
141
  <script src="../prettify.js"></script>
142
142
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -121,7 +121,7 @@
121
121
  <div class='footer quiet pad2 space-top1 center small'>
122
122
  Code coverage generated by
123
123
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
124
- at 2024-07-04T13:04:03.743Z
124
+ at 2024-07-23T13:34:26.928Z
125
125
  </div>
126
126
  <script src="../../prettify.js"></script>
127
127
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -172,7 +172,7 @@ export const propTypes = {
172
172
  <div class='footer quiet pad2 space-top1 center small'>
173
173
  Code coverage generated by
174
174
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
175
- at 2024-07-04T13:04:03.743Z
175
+ at 2024-07-23T13:34:26.928Z
176
176
  </div>
177
177
  <script src="../../prettify.js"></script>
178
178
  <script>
@@ -169,7 +169,7 @@ Image.defaultProps = defaultProps;
169
169
  <div class='footer quiet pad2 space-top1 center small'>
170
170
  Code coverage generated by
171
171
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
172
- at 2024-07-04T13:04:03.743Z
172
+ at 2024-07-23T13:34:26.928Z
173
173
  </div>
174
174
  <script src="../prettify.js"></script>
175
175
  <script>
@@ -103,7 +103,7 @@
103
103
  <div class='footer quiet pad2 space-top1 center small'>
104
104
  Code coverage generated by
105
105
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
106
- at 2024-07-04T13:04:03.743Z
106
+ at 2024-07-23T13:34:26.928Z
107
107
  </div>
108
108
  <script src="../prettify.js"></script>
109
109
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -82,7 +82,7 @@
82
82
  <div class='footer quiet pad2 space-top1 center small'>
83
83
  Code coverage generated by
84
84
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
85
- at 2024-07-04T13:04:03.743Z
85
+ at 2024-07-23T13:34:26.928Z
86
86
  </div>
87
87
  <script src="../../prettify.js"></script>
88
88
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -112,7 +112,7 @@ export const propTypes = {
112
112
  <div class='footer quiet pad2 space-top1 center small'>
113
113
  Code coverage generated by
114
114
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
115
- at 2024-07-04T13:04:03.743Z
115
+ at 2024-07-23T13:34:26.928Z
116
116
  </div>
117
117
  <script src="../../prettify.js"></script>
118
118
  <script>
@@ -433,7 +433,7 @@ AvatarWithTeam.propTypes = propTypes;
433
433
  <div class='footer quiet pad2 space-top1 center small'>
434
434
  Code coverage generated by
435
435
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
436
- at 2024-07-04T13:04:03.743Z
436
+ at 2024-07-23T13:34:26.928Z
437
437
  </div>
438
438
  <script src="../../prettify.js"></script>
439
439
  <script>
@@ -118,7 +118,7 @@
118
118
  <div class='footer quiet pad2 space-top1 center small'>
119
119
  Code coverage generated by
120
120
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
121
- at 2024-07-04T13:04:03.743Z
121
+ at 2024-07-23T13:34:26.928Z
122
122
  </div>
123
123
  <script src="../../prettify.js"></script>
124
124
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -97,7 +97,7 @@
97
97
  <div class='footer quiet pad2 space-top1 center small'>
98
98
  Code coverage generated by
99
99
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
100
- at 2024-07-04T13:04:03.743Z
100
+ at 2024-07-23T13:34:26.928Z
101
101
  </div>
102
102
  <script src="../../../prettify.js"></script>
103
103
  <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 2024-07-04T13:04:03.743Z
119
+ at 2024-07-23T13:34:26.928Z
120
120
  </div>
121
121
  <script src="../../../prettify.js"></script>
122
122
  <script>
@@ -148,7 +148,7 @@ export const propTypes = {
148
148
  <div class='footer quiet pad2 space-top1 center small'>
149
149
  Code coverage generated by
150
150
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
151
- at 2024-07-04T13:04:03.743Z
151
+ at 2024-07-23T13:34:26.928Z
152
152
  </div>
153
153
  <script src="../../../prettify.js"></script>
154
154
  <script>
@@ -206,7 +206,7 @@
206
206
  <div class='footer quiet pad2 space-top1 center small'>
207
207
  Code coverage generated by
208
208
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
209
- at 2024-07-04T13:04:03.743Z
209
+ at 2024-07-23T13:34:26.928Z
210
210
  </div>
211
211
  <script src="prettify.js"></script>
212
212
  <script>
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from './props/defaultProps';
5
3
  import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from './props/propTypes';
@@ -175,12 +173,13 @@ export default class Drawer extends React.Component {
175
173
 
176
174
  return child;
177
175
  });
178
- let content = /*#__PURE__*/React.createElement(Box, _extends({
176
+ let content = /*#__PURE__*/React.createElement(Box, {
179
177
  className: `${style.container} ${style.columns} ${style.drawerModal} ${uptoTablet ? style.mbleSize : style[size]}`,
180
178
  "data-a11y-need-focus-style": "false",
181
179
  tabindex: -1,
182
- eleRef: this.createRef
183
- }, a11y), /*#__PURE__*/React.createElement(Card, {
180
+ eleRef: this.createRef,
181
+ ...a11y
182
+ }, /*#__PURE__*/React.createElement(Card, {
184
183
  onClick: e => {
185
184
  e && e.stopPropagation && e.stopPropagation();
186
185
  onBodyClick(e);
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -31,7 +29,7 @@ export default class ExternalLink extends React.Component {
31
29
  customProps
32
30
  } = this.props;
33
31
  const urlOutput = href && typeof href !== 'boolean' ? this.addHttp(String(href)) : 'javascript:void(0);';
34
- return /*#__PURE__*/React.createElement("a", _extends({
32
+ return /*#__PURE__*/React.createElement("a", {
35
33
  href: urlOutput,
36
34
  target: target,
37
35
  className: `${style.link} ${className ? className : ''}`,
@@ -39,8 +37,9 @@ export default class ExternalLink extends React.Component {
39
37
  rel: rel,
40
38
  "data-id": dataId,
41
39
  "data-test-id": dataId,
42
- onClick: onClick
43
- }, customProps), children);
40
+ onClick: onClick,
41
+ ...customProps
42
+ }, children);
44
43
  }
45
44
 
46
45
  }
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { Component } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -89,16 +87,17 @@ export default class FlipCard extends Component {
89
87
  }, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
90
88
  align: "both",
91
89
  className: `${style.front} ${frontClass ? frontClass : ''}`
92
- }, /*#__PURE__*/React.createElement(CheckBox, _extends({
90
+ }, /*#__PURE__*/React.createElement(CheckBox, {
93
91
  isFilled: isFilledCheckbox,
94
92
  checked: isChecked,
95
93
  onChange: this.onChange,
96
94
  id: `checkbox_${id}`,
97
- dataId: `listViewCheckBox_${id}`
98
- }, CheckBoxProps))) : null, /*#__PURE__*/React.createElement(Container, {
95
+ dataId: `listViewCheckBox_${id}`,
96
+ ...CheckBoxProps
97
+ })) : null, /*#__PURE__*/React.createElement(Container, {
99
98
  align: "both",
100
99
  className: style.back
101
- }, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, _extends({
100
+ }, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
102
101
  name: channel,
103
102
  action: action,
104
103
  size: size,
@@ -111,8 +110,9 @@ export default class FlipCard extends Component {
111
110
  customTextClass: customTextClass,
112
111
  iconColor: iconColor,
113
112
  title: channelTitle,
114
- iconTitle: channelTitle
115
- }, ChannelIconProps)) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
113
+ iconTitle: channelTitle,
114
+ ...ChannelIconProps
115
+ }) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
116
116
  name: icon,
117
117
  iconSize: iconSize,
118
118
  size: size,
@@ -120,8 +120,9 @@ export default class FlipCard extends Component {
120
120
  dataId: icon,
121
121
  className: className,
122
122
  iconColor: iconColor,
123
- title: needTitle ? name : ''
124
- }, AvatarIconProps)) : /*#__PURE__*/React.createElement(AvatarUser, _extends({
123
+ title: needTitle ? name : '',
124
+ ...AvatarIconProps
125
+ }) : /*#__PURE__*/React.createElement(AvatarUser, {
125
126
  name: name,
126
127
  initial: initial,
127
128
  size: size,
@@ -132,8 +133,9 @@ export default class FlipCard extends Component {
132
133
  needTitle: needTitle,
133
134
  palette: palette,
134
135
  textPalette: textPalette,
135
- customTextClass: customTextClass
136
- }, AvatarUserProps)))));
136
+ customTextClass: customTextClass,
137
+ ...AvatarUserProps
138
+ }))));
137
139
  }
138
140
 
139
141
  }
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -107,7 +105,7 @@ export default class IconButton extends React.Component {
107
105
  hoverType: hoverType,
108
106
  isDisabled: isDisabled,
109
107
  isNeedEffect: isNeedEffect
110
- }, /*#__PURE__*/React.createElement(Container, _extends({
108
+ }, /*#__PURE__*/React.createElement(Container, {
111
109
  "aria-label": ariaLabel,
112
110
  "aria-haspopup": ariaHaspopup,
113
111
  "aria-expanded": ariaExpanded,
@@ -131,8 +129,9 @@ export default class IconButton extends React.Component {
131
129
  onKeyDown: this.handleToggle,
132
130
  onFocus: this.triggerMouseOver,
133
131
  onBlur: this.onBlur,
134
- disabled: isDisabled
135
- }, customProps), iconName ? /*#__PURE__*/React.createElement(Icon, {
132
+ disabled: isDisabled,
133
+ ...customProps
134
+ }, iconName ? /*#__PURE__*/React.createElement(Icon, {
136
135
  isBold: isBold,
137
136
  size: iconSize,
138
137
  name: iconName,
package/es/Link/Link.js CHANGED
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -80,20 +78,20 @@ export default class Link extends React.Component {
80
78
  return res;
81
79
  }, {}); //urlOutput = this.addHttp(urlOutput);
82
80
 
83
- return /*#__PURE__*/React.createElement("a", _extends({
81
+ return /*#__PURE__*/React.createElement("a", {
84
82
  href: isLink && urlOutput ? urlOutput : 'javascript:void(0);',
85
83
  target: target,
86
84
  "data-title": title,
87
- className: `${style.container} ${className ? className : ''}`
88
- }, option, {
85
+ className: `${style.container} ${className ? className : ''}`,
86
+ ...option,
89
87
  rel: rel,
90
88
  "data-id": dataId,
91
- "data-test-id": dataId
92
- }, others, {
93
- onClick: this.onCallBack.bind(this, urlOutput, href)
94
- }, customProps, {
89
+ "data-test-id": dataId,
90
+ ...others,
91
+ onClick: this.onCallBack.bind(this, urlOutput, href),
92
+ ...customProps,
95
93
  "aria-label": ariaLabel
96
- }), children);
94
+ }, children);
97
95
  }
98
96
 
99
97
  }
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from './props/propTypes';
@@ -43,7 +41,8 @@ export default class Message extends React.Component {
43
41
  }
44
42
 
45
43
  render() {
46
- return /*#__PURE__*/React.createElement(MessageUI, this.props);
44
+ return /*#__PURE__*/React.createElement(MessageUI, { ...this.props
45
+ });
47
46
  }
48
47
 
49
48
  }
@@ -111,8 +110,8 @@ export function MessageUI(props) {
111
110
  }
112
111
  MessageUI.propTypes = MessageUI_propTypes;
113
112
  export function MessageNew(props) {
114
- return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
113
+ return /*#__PURE__*/React.createElement(AutoClose, { ...props,
115
114
  Element: MessageUI
116
- }));
115
+ });
117
116
  }
118
117
  MessageNew.propTypes = MessageNew_propTypes;
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { useState } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes'; //components
@@ -191,9 +189,9 @@ function ToastMessageUI(props) {
191
189
  }
192
190
 
193
191
  export default function ToastMessage(props) {
194
- return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
192
+ return /*#__PURE__*/React.createElement(AutoClose, { ...props,
195
193
  Element: ToastMessageUI
196
- }));
194
+ });
197
195
  }
198
196
  ToastMessage.propTypes = propTypes;
199
197
  ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
@@ -37,7 +37,8 @@ export default function AutoClose(props) {
37
37
  isClose,
38
38
  onClose
39
39
  });
40
- return /*#__PURE__*/React.createElement(Element, newProps);
40
+ return /*#__PURE__*/React.createElement(Element, { ...newProps
41
+ });
41
42
  }
42
43
  AutoClose.propTypes = propTypes;
43
44
  AutoClose.defaultProps = defaultProps;
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { Component } from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -51,7 +49,7 @@ export default class AlertLookup extends Component {
51
49
  PrimaryButtonProps = {},
52
50
  SecondaryButtonProps = {}
53
51
  } = customProps;
54
- return /*#__PURE__*/React.createElement(Lookup, _extends({
52
+ return /*#__PURE__*/React.createElement(Lookup, {
55
53
  needFocusScope: true,
56
54
  onClose: onEsc == 'close' ? onClose : onCancelClick,
57
55
  isActive: isActive,
@@ -59,8 +57,9 @@ export default class AlertLookup extends Component {
59
57
  dataId: dataId,
60
58
  forwardRef: forwardRef,
61
59
  onClick: onLookupClick,
62
- customClass: customClass
63
- }, LookupProps), /*#__PURE__*/React.createElement(AlertHeader, _extends({
60
+ customClass: customClass,
61
+ ...LookupProps
62
+ }, /*#__PURE__*/React.createElement(AlertHeader, {
64
63
  title: title,
65
64
  palette: palette,
66
65
  iconType: type,
@@ -69,8 +68,9 @@ export default class AlertLookup extends Component {
69
68
  breakChildren: wrapHeader,
70
69
  iconName: iconName,
71
70
  iconClass: iconClass,
72
- iconSize: iconSize
73
- }, AlertHeaderProps), headerChildren ? headerChildren() : null), /*#__PURE__*/React.createElement(Section, {
71
+ iconSize: iconSize,
72
+ ...AlertHeaderProps
73
+ }, headerChildren ? headerChildren() : null), /*#__PURE__*/React.createElement(Section, {
74
74
  alignBox: "row",
75
75
  className: style.section
76
76
  }, /*#__PURE__*/React.createElement("div", {
@@ -84,17 +84,19 @@ export default class AlertLookup extends Component {
84
84
  }, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(FormAction, {
85
85
  size: "small",
86
86
  paddingLeftSize: "xsmall"
87
- }, /*#__PURE__*/React.createElement(Button, _extends({
87
+ }, /*#__PURE__*/React.createElement(Button, {
88
88
  text: submitText,
89
89
  dataId: dataId === 'alertPopup' ? 'alertConfirmButton' : `${dataId}_confirmButton`,
90
90
  onClick: onSubmitClick,
91
- palette: palette === 'primary' ? 'primaryFilled' : 'dangerFilled'
92
- }, PrimaryButtonProps)), cancelText && /*#__PURE__*/React.createElement(Button, _extends({
91
+ palette: palette === 'primary' ? 'primaryFilled' : 'dangerFilled',
92
+ ...PrimaryButtonProps
93
+ }), cancelText && /*#__PURE__*/React.createElement(Button, {
93
94
  dataId: dataId === 'alertPopup' ? 'alertCancelButton' : `${dataId}_cancelButton`,
94
95
  text: cancelText,
95
96
  onClick: onCancelClick,
96
- palette: "secondary"
97
- }, SecondaryButtonProps))) : null));
97
+ palette: "secondary",
98
+ ...SecondaryButtonProps
99
+ })) : null));
98
100
  }
99
101
 
100
102
  }
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -26,15 +24,17 @@ export default class AvatarClose extends React.Component {
26
24
  AvatarCloseProps = {},
27
25
  AvatarProps = {}
28
26
  } = customProps;
29
- return /*#__PURE__*/React.createElement("div", _extends({
27
+ return /*#__PURE__*/React.createElement("div", {
30
28
  className: style.container,
31
- "data-selector-id": dataSelectorId
32
- }, AvatarCloseProps), /*#__PURE__*/React.createElement(Avatar, _extends({
29
+ "data-selector-id": dataSelectorId,
30
+ ...AvatarCloseProps
31
+ }, /*#__PURE__*/React.createElement(Avatar, {
33
32
  src: src,
34
33
  name: name,
35
34
  title: title,
36
- size: size
37
- }, AvatarProps)), isClose && /*#__PURE__*/React.createElement("span", {
35
+ size: size,
36
+ ...AvatarProps
37
+ }), isClose && /*#__PURE__*/React.createElement("span", {
38
38
  className: style.pop,
39
39
  onClick: onClick
40
40
  }, /*#__PURE__*/React.createElement("span", {