@zohodesk/components 1.0.0-temp-667 → 1.0.0-temp-999

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 (266) hide show
  1. package/README.md +7 -0
  2. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +1 -1
  3. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
  4. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
  5. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
  6. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
  7. package/es/AppContainer/AppContainer.js +1 -1
  8. package/es/Avatar/Avatar.js +1 -1
  9. package/es/Avatar/Avatar.module.css +9 -11
  10. package/es/AvatarTeam/AvatarTeam.js +1 -1
  11. package/es/AvatarTeam/AvatarTeam.module.css +7 -21
  12. package/es/Button/Button.module.css +24 -97
  13. package/es/Buttongroup/Buttongroup.module.css +8 -37
  14. package/es/CheckBox/CheckBox.js +1 -1
  15. package/es/CheckBox/CheckBox.module.css +19 -29
  16. package/es/DateTime/DateTime.module.css +12 -39
  17. package/es/DateTime/DateWidget.module.css +5 -9
  18. package/es/DateTime/YearView.module.css +7 -17
  19. package/es/DropBox/DropBox.js +1 -1
  20. package/es/DropBox/DropBox.module.css +11 -47
  21. package/es/DropDown/DropDownHeading.module.css +3 -7
  22. package/es/DropDown/DropDownItem.module.css +6 -32
  23. package/es/ListItem/ListContainer.js +1 -1
  24. package/es/ListItem/ListItem.js +1 -1
  25. package/es/ListItem/ListItem.module.css +33 -69
  26. package/es/ListItem/ListItemWithAvatar.js +1 -1
  27. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  28. package/es/ListItem/ListItemWithIcon.js +1 -1
  29. package/es/ListItem/ListItemWithRadio.js +1 -1
  30. package/es/Modal/Modal.js +1 -1
  31. package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
  32. package/es/MultiSelect/AdvancedMultiSelect.module.css +113 -0
  33. package/es/MultiSelect/MultiSelect.module.css +11 -28
  34. package/es/MultiSelect/SelectedOptions.js +1 -1
  35. package/es/MultiSelect/SelectedOptions.module.css +2 -8
  36. package/es/MultiSelect/Suggestions.js +1 -1
  37. package/es/PopOver/PopOver.module.css +1 -1
  38. package/es/Popup/Popup.js +1 -1
  39. package/es/Radio/Radio.module.css +10 -18
  40. package/es/Responsive/ResizeComponent.js +82 -15
  41. package/es/Responsive/ResizeObserver.js +6 -2
  42. package/es/Responsive/docs/style.module.css +8 -17
  43. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  44. package/es/Ribbon/Ribbon.module.css +28 -93
  45. package/es/RippleEffect/RippleEffect.module.css +44 -37
  46. package/es/Select/Select.js +8 -30
  47. package/es/Select/Select.module.css +2 -12
  48. package/es/Select/docs/Select__default.docs.js +1 -1
  49. package/es/Stencils/Stencils.module.css +3 -21
  50. package/es/Switch/Switch.js +1 -1
  51. package/es/Switch/Switch.module.css +9 -9
  52. package/es/Tab/Tab.js +1 -1
  53. package/es/Tab/Tab.module.css +7 -16
  54. package/es/Tab/TabWrapper.js +1 -1
  55. package/es/Tab/Tabs.js +1 -1
  56. package/es/Tab/Tabs.module.css +8 -42
  57. package/es/Tab/docs/tabdocs.module.css +1 -1
  58. package/es/Tag/Tag.module.css +14 -36
  59. package/es/TextBox/TextBox.js +1 -1
  60. package/es/TextBox/TextBox.module.css +11 -7
  61. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  62. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
  63. package/es/Textarea/Textarea.js +1 -1
  64. package/es/Textarea/Textarea.module.css +7 -6
  65. package/es/Tooltip/Tooltip.module.css +8 -9
  66. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  67. package/es/beta/FocusRing/FocusRing.module.css +26 -51
  68. package/es/common/animation.module.css +21 -219
  69. package/es/common/basicReset.module.css +12 -2
  70. package/es/common/common.module.css +18 -62
  71. package/es/common/customscroll.module.css +21 -17
  72. package/es/common/docStyle.module.css +32 -79
  73. package/es/common/transition.module.css +10 -50
  74. package/es/deprecated/AdvancedMultiSelect.module.css +8 -22
  75. package/es/semantic/Button/semanticButton.module.css +3 -3
  76. package/lib/Accordion/Accordion.js +2 -2
  77. package/lib/Accordion/AccordionItem.js +2 -2
  78. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  79. package/lib/Animation/Animation.js +2 -2
  80. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  81. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  82. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  83. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  84. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  85. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  86. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  87. package/lib/AppContainer/AppContainer.js +4 -11
  88. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  89. package/lib/Avatar/Avatar.js +3 -3
  90. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  91. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  92. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  93. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  94. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  95. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  96. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  97. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  98. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  99. package/lib/Button/Button.js +2 -2
  100. package/lib/Button/docs/Button__custom.docs.js +2 -2
  101. package/lib/Button/docs/Button__default.docs.js +2 -2
  102. package/lib/Buttongroup/Buttongroup.js +2 -2
  103. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  104. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  105. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  106. package/lib/Card/Card.js +2 -2
  107. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  108. package/lib/Card/docs/Card__Default.docs.js +2 -2
  109. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  110. package/lib/CheckBox/CheckBox.js +4 -5
  111. package/lib/CheckBox/CheckBox.module.css +8 -12
  112. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  113. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  114. package/lib/DateTime/CalendarView.js +2 -2
  115. package/lib/DateTime/DateTime.js +22 -50
  116. package/lib/DateTime/DateTime.module.css +1 -1
  117. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  118. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  119. package/lib/DateTime/DateWidget.js +4 -14
  120. package/lib/DateTime/DateWidget.module.css +4 -0
  121. package/lib/DateTime/DaysRow.js +2 -2
  122. package/lib/DateTime/Time.js +2 -2
  123. package/lib/DateTime/YearView.js +2 -2
  124. package/lib/DateTime/YearView.module.css +0 -1
  125. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  126. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  127. package/lib/DropBox/DropBox.js +4 -4
  128. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  129. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  130. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  131. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  132. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  133. package/lib/DropDown/DropDown.js +2 -2
  134. package/lib/DropDown/DropDownHeading.js +2 -2
  135. package/lib/DropDown/DropDownItem.js +2 -2
  136. package/lib/DropDown/DropDownSearch.js +2 -2
  137. package/lib/DropDown/DropDownSeparator.js +2 -2
  138. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  139. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  140. package/lib/Label/Label.js +2 -2
  141. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  142. package/lib/Label/docs/Label__custom.docs.js +2 -2
  143. package/lib/Label/docs/Label__palette.docs.js +2 -2
  144. package/lib/Label/docs/Label__size.docs.js +2 -2
  145. package/lib/Label/docs/Label__type.docs.js +2 -2
  146. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  147. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  148. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  149. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  150. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  151. package/lib/LightNightMode/Colors.json +397 -496
  152. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -25
  153. package/lib/ListItem/ListContainer.js +5 -8
  154. package/lib/ListItem/ListItem.js +4 -4
  155. package/lib/ListItem/ListItem.module.css +19 -18
  156. package/lib/ListItem/ListItemWithAvatar.js +4 -4
  157. package/lib/ListItem/ListItemWithCheckBox.js +4 -4
  158. package/lib/ListItem/ListItemWithIcon.js +4 -4
  159. package/lib/ListItem/ListItemWithRadio.js +4 -4
  160. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  161. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  162. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  163. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  164. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  165. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  166. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  167. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  168. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  169. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  170. package/lib/Modal/Modal.js +3 -3
  171. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  172. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +88 -120
  173. package/lib/MultiSelect/AdvancedMultiSelect.js +62 -99
  174. package/lib/{deprecated → MultiSelect}/AdvancedMultiSelect.module.css +1 -1
  175. package/lib/MultiSelect/EmptyState.js +2 -2
  176. package/lib/MultiSelect/MultiSelect.js +64 -90
  177. package/lib/MultiSelect/MultiSelect.module.css +2 -15
  178. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  179. package/lib/MultiSelect/MultiSelectWithAvatar.js +55 -80
  180. package/lib/MultiSelect/SelectedOptions.js +3 -3
  181. package/lib/MultiSelect/Suggestions.js +3 -3
  182. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  183. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  184. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  185. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  186. package/lib/PopOver/PopOver.js +6 -13
  187. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  188. package/lib/Popup/Popup.js +3 -3
  189. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  190. package/lib/Provider/Config.js +1 -3
  191. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  192. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  193. package/lib/Provider.js +100 -34
  194. package/lib/Radio/Radio.js +2 -2
  195. package/lib/Radio/Radio.module.css +6 -8
  196. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  197. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  198. package/lib/Responsive/ResizeComponent.js +2 -2
  199. package/lib/Responsive/Responsive.js +2 -2
  200. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  201. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  202. package/lib/Responsive/sizeObservers.js +3 -3
  203. package/lib/Ribbon/Ribbon.js +2 -2
  204. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  205. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  206. package/lib/RippleEffect/RippleEffect.module.css +15 -37
  207. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  208. package/lib/Select/GroupSelect.js +79 -102
  209. package/lib/Select/Select.js +87 -142
  210. package/lib/Select/Select.module.css +0 -6
  211. package/lib/Select/SelectWithAvatar.js +73 -98
  212. package/lib/Select/SelectWithIcon.js +76 -99
  213. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  214. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  215. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  216. package/lib/Select/docs/Select__default.docs.js +3 -3
  217. package/lib/Stencils/Stencils.js +2 -2
  218. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  219. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  220. package/lib/Switch/Switch.js +3 -3
  221. package/lib/Switch/Switch.module.css +2 -3
  222. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  223. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  224. package/lib/Tab/Tab.js +1 -1
  225. package/lib/Tab/TabWrapper.js +1 -1
  226. package/lib/Tab/Tabs.js +47 -70
  227. package/lib/Tab/Tabs.module.css +1 -2
  228. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  229. package/lib/Tag/Tag.js +3 -3
  230. package/lib/Tag/Tag.module.css +2 -6
  231. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  232. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  233. package/lib/TextBox/TextBox.js +3 -3
  234. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  235. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  236. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  237. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  238. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  239. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  240. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  241. package/lib/Textarea/Textarea.js +3 -3
  242. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  243. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  244. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  245. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  246. package/lib/Tooltip/Tooltip.js +10 -62
  247. package/lib/Tooltip/Tooltip.module.css +1 -6
  248. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  249. package/lib/Tooltip/docs/Tooltip__default.docs.js +13 -52
  250. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  251. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  252. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  253. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  254. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  255. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  256. package/lib/common/docStyle.module.css +2 -6
  257. package/lib/css.js +2 -0
  258. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  259. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  260. package/lib/index.js +1 -10
  261. package/lib/semantic/Button/Button.js +2 -2
  262. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  263. package/package.json +6 -5
  264. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +0 -130
  265. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +0 -6
  266. package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
23
23
 
24
24
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
28
28
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
29
29
 
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
33
33
 
34
34
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
35
35
 
36
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
36
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
37
 
38
38
  var Ribbon__default = /*#__PURE__*/function (_React$Component) {
39
39
  _inherits(Ribbon__default, _React$Component);
@@ -8,61 +8,43 @@
8
8
  .default.defaultHover {
9
9
  border-color: var(--zdt_rippleeffect_hover_border);
10
10
  }
11
- .hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
12
- /* .hoverEffect:focus.primary.borderHover */
13
- {
11
+ .hoverEffect:hover.primary.defaultHover, .hoverEffect:focus.primary.defaultHover, .hoverEffect:hover.primary.borderHover, .hoverEffect:focus.primary.borderHover {
14
12
  border-color: var(--zdt_rippleeffect_primary_border);
15
13
  }
16
- .primary.defaultHover, .hoverEffect:hover.primary.active.border
17
- /* .hoverEffect:focus.primary.active.border */
18
- {
14
+ .primary.defaultHover, .hoverEffect:hover.primary.active.border, .hoverEffect:focus.primary.active.border {
19
15
  border-color: var(--zdt_rippleeffect_primary_active_border);
20
16
  }
21
- .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
22
- /* .hoverEffect:focus.primaryLight.borderHover */
23
- {
17
+ .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover, .hoverEffect:focus.primaryLight.borderHover {
24
18
  border-color: var(--zdt_rippleeffect_primary_light_border);
25
19
  }
26
- .green.defaultHover, .hoverEffect:hover.green.borderHover
27
- /* .hoverEffect:focus.green.borderHover */
28
- {
20
+ .green.defaultHover, .hoverEffect:hover.green.borderHover, .hoverEffect:focus.green.borderHover {
29
21
  border-color: var(--zdt_rippleeffect_green_border);
30
22
  }
31
- .hoverEffect:hover.default.defaultHover
32
- /* .hoverEffect:focus.default.defaultHover */
33
- {
23
+ .hoverEffect:hover.default.defaultHover, .hoverEffect:focus.default.defaultHover {
34
24
  border-color: var(--zdt_rippleeffect_slate_border);
35
25
  }
36
- .hoverEffect:hover.default.borderHover
37
- /* .hoverEffect:focus.default.borderHover */
38
- {
26
+ .hoverEffect:hover.default.borderHover, .hoverEffect:focus.default.borderHover {
39
27
  border-color: var(--zdt_rippleeffect_navy_border);
40
28
  }
41
- .hoverEffect:hover.default.bgHover
42
- /* .hoverEffect:focus.default.bgHover */
43
- {
29
+ .hoverEffect:hover.default.bgHover, .hoverEffect:focus.default.bgHover {
44
30
  background-color: var(--zdt_rippleeffect_hover_bg);
45
31
  }
46
- .hoverEffect:hover.primaryLight.bgHover
47
- /* .hoverEffect:focus.primaryLight.bgHover */
48
- {
32
+ .hoverEffect:hover.primaryLight.bgHover, .hoverEffect:focus.primaryLight.bgHover {
49
33
  background-color: var(--zdt_rippleeffect_primary_light_bg);
50
34
  }
51
35
  .primaryFilled {
52
36
  background-color: var(--zdt_rippleeffect_primary_bg);
53
37
  }
54
- .hoverEffect:hover.primaryFilled, .primaryFilled.active {
38
+ .hoverEffect:hover.primaryFilled, .hoverEffect:focus.primaryFilled, .primaryFilled.active {
55
39
  background-color: var(--zdt_rippleeffect_primaryfilled_bg);
56
40
  }
57
- .hoverEffect:hover.green.bgHover
58
- /* .hoverEffect:focus.green.bgHover */
59
- {
41
+ .hoverEffect:hover.green.bgHover, .hoverEffect:focus.green.bgHover {
60
42
  background-color: var(--zdt_rippleeffect_green_bg);
61
43
  }
62
- .default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
44
+ .default.active, .hoverEffect:hover.default.active, .hoverEffect:focus.default.active, .primaryLight.active, .primaryDark.active {
63
45
  background-color: var(--zdt_rippleeffect_primary_light_bg);
64
46
  }
65
- .default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
47
+ .default.active.border, .hoverEffect:hover.default.active.border, .hoverEffect:focus.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
66
48
  border-color: var(--zdt_rippleeffect_primary_light_border);
67
49
  }
68
50
  .green.active {
@@ -74,17 +56,13 @@
74
56
  .primary.active {
75
57
  background-color: var(--zdt_rippleeffect_primary_bg);
76
58
  }
77
- .danger.defaultHover, .hoverEffect:hover.danger.borderHover
78
- /* .hoverEffect:focus.danger.borderHover */
79
- {
59
+ .danger.defaultHover, .hoverEffect:hover.danger.borderHover, .hoverEffect:focus.danger.borderHover {
80
60
  border-color: var(--zdt_rippleeffect_danger_border);
81
61
  }
82
- .hoverEffect:hover.danger.bgHover, .danger.active {
62
+ .hoverEffect:hover.danger.bgHover, .hoverEffect:focus.danger.bgHover, .danger.active {
83
63
  background-color: var(--zdt_rippleeffect_danger_bg);
84
64
  }
85
- .hoverEffect:hover.primaryDark.bgHover
86
- /* .hoverEffect:focus.primaryDark.bgHover */
87
- {
65
+ .hoverEffect:hover.primaryDark.bgHover, .hoverEffect:focus.primaryDark.bgHover {
88
66
  background-color: var(--zdt_rippleeffect_primary_dark_bg);
89
67
  }
90
68
  .notAllowed {
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
21
21
 
22
22
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
23
 
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
27
 
@@ -31,7 +31,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
31
31
 
32
32
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
33
 
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
 
36
36
  var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
37
37
  _inherits(RippleEffect__default, _React$Component);
@@ -13,6 +13,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
14
  var _Popup = _interopRequireDefault(require("../Popup/Popup"));
15
15
 
16
+ var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
17
+
16
18
  var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"));
17
19
 
18
20
  var _TextBox = _interopRequireDefault(require("../TextBox/TextBox"));
@@ -31,10 +33,6 @@ var _Layout = require("../Layout");
31
33
 
32
34
  var _IdProvider = require("../Provider/IdProvider");
33
35
 
34
- var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
35
-
36
- var _CustomResponsive = require("../Responsive/CustomResponsive");
37
-
38
36
  var _SelectModule = _interopRequireDefault(require("./Select.module.css"));
39
37
 
40
38
  var _dropDownUtils = require("../utils/dropDownUtils");
@@ -67,7 +65,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
67
65
 
68
66
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
69
67
 
70
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
68
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
71
69
 
72
70
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
73
71
 
@@ -77,7 +75,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
77
75
 
78
76
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
79
77
 
80
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
78
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
81
79
 
82
80
  /* eslint-disable react/no-unused-prop-types */
83
81
 
@@ -194,7 +192,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
194
192
  }
195
193
 
196
194
  if (selectedOption !== prevProps.selectedOption) {
197
- var _this$handleGetSelect2 = this.handleGetSelectedId(this.props, newOptionIds),
195
+ var _this$handleGetSelect2 = this.handleGetSelectedId(this.props, allOptionIds),
198
196
  _selectedId = _this$handleGetSelect2.selectedId,
199
197
  _hoverIndex = _this$handleGetSelect2.hoverIndex;
200
198
 
@@ -603,16 +601,6 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
603
601
  var searchStr = this.state.searchStr;
604
602
  isNextOptions && getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
605
603
  }
606
- }, {
607
- key: "responsiveFunc",
608
- value: function responsiveFunc(_ref2) {
609
- var mediaQueryOR = _ref2.mediaQueryOR;
610
- return {
611
- tabletMode: mediaQueryOR([{
612
- maxWidth: 700
613
- }])
614
- };
615
- }
616
604
  }, {
617
605
  key: "render",
618
606
  value: function render() {
@@ -672,9 +660,9 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
672
660
  suggestionGroups = _this$handleFilterSug4.suggestionGroups,
673
661
  suggestionOptionIds = _this$handleFilterSug4.suggestionOptionIds;
674
662
 
675
- var _ref3 = normalizedFormatOptions[selectedId] || {},
676
- _ref3$value = _ref3.value,
677
- selected = _ref3$value === void 0 ? '' : _ref3$value;
663
+ var _ref2 = normalizedFormatOptions[selectedId] || {},
664
+ _ref2$value = _ref2.value,
665
+ selected = _ref2$value === void 0 ? '' : _ref2$value;
678
666
 
679
667
  var setAriaId = this.getNextAriaId();
680
668
  var ariaErrorId = this.getNextAriaId();
@@ -753,89 +741,78 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
753
741
  },
754
742
  autoComplete: false,
755
743
  isFocus: isPopupReady
756
- }))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
757
- query: this.responsiveFunc,
758
- responsiveId: "Helmet"
759
- }, function (_ref4) {
760
- var tabletMode = _ref4.tabletMode;
761
- return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
762
- animationStyle: animationStyle,
763
- boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
764
- getRef: getContainerRef,
765
- isActive: isPopupReady,
766
- isAnimate: true,
767
- isArrow: false,
768
- onClick: removeClose,
769
- needResponsive: needResponsive,
770
- isPadding: false,
771
- isResponsivePadding: getFooter ? false : true,
772
- alignBox: "row"
773
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
774
- flexible: true
775
- }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
776
- customClass: _SelectModule["default"].box,
777
- onScroll: _this7.handleScroll
778
- }, needSearch ? /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement("div", {
779
- className: "".concat(_SelectModule["default"].search, " ").concat(_SelectModule["default"][size])
780
- }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
781
- inputRef: _this7.searchInputRef,
782
- maxLength: maxLength,
783
- onChange: _this7.handleSearch,
784
- onKeyDown: _this7.handleKeyDown,
785
- placeHolder: searchBoxPlaceHolder,
786
- size: searchBoxSize,
787
- value: searchStr,
788
- onClear: _this7.handleClearSearch,
744
+ }))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
745
+ animationStyle: animationStyle,
746
+ boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
747
+ getRef: getContainerRef,
748
+ isActive: isPopupReady,
749
+ isAnimate: true,
750
+ isArrow: false,
751
+ onClick: removeClose,
752
+ needResponsive: needResponsive,
753
+ isPadding: false
754
+ }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
755
+ customClass: _SelectModule["default"].box,
756
+ onScroll: this.handleScroll
757
+ }, needSearch ? /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement("div", {
758
+ className: "".concat(_SelectModule["default"].search, " ").concat(_SelectModule["default"][size])
759
+ }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
760
+ inputRef: this.searchInputRef,
761
+ maxLength: maxLength,
762
+ onChange: this.handleSearch,
763
+ onKeyDown: this.handleKeyDown,
764
+ placeHolder: searchBoxPlaceHolder,
765
+ size: searchBoxSize,
766
+ value: searchStr,
767
+ onClear: this.handleClearSearch,
768
+ a11y: {
769
+ ariaControls: setAriaId,
770
+ ariaAutocomplete: 'list',
771
+ ariaDescribedby: ariaErrorId
772
+ },
773
+ autoComplete: false
774
+ }))) : null, /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
775
+ customClass: dropBoxSize ? _SelectModule["default"][dropBoxSize] : '',
776
+ eleRef: this.suggestionContainerRef
777
+ }, suggestionGroups.length ? suggestionGroups.map(function (group) {
778
+ var groupId = group.id,
779
+ groupName = group.name,
780
+ options = group.options;
781
+ var hoverId = suggestionOptionIds[hoverIndex];
782
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
783
+ key: groupId
784
+ }, groupName && /*#__PURE__*/_react["default"].createElement("div", {
785
+ className: _SelectModule["default"].groupTitle
786
+ }, /*#__PURE__*/_react["default"].createElement(_DropDownHeading["default"], {
787
+ text: groupName,
788
+ a11y: {
789
+ role: 'heading'
790
+ }
791
+ })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
792
+ activeId: selectedId,
793
+ suggestions: options,
794
+ getRef: _this7.suggestionItemRef,
795
+ hoverId: hoverId,
796
+ onClick: _this7.handleChange,
797
+ onMouseEnter: _this7.handleMouseEnter,
798
+ selectedOptions: [selectedId],
799
+ needTick: needTick,
800
+ needBorder: false,
801
+ htmlId: setAriaId,
789
802
  a11y: {
790
- ariaControls: setAriaId,
791
- ariaAutocomplete: 'list',
792
- ariaDescribedby: ariaErrorId
793
- },
794
- autoComplete: false
795
- }))) : null, /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
796
- shrink: true,
797
- customClass: !tabletMode && dropBoxSize ? _SelectModule["default"][dropBoxSize] : '',
798
- eleRef: _this7.suggestionContainerRef
799
- }, suggestionGroups.length ? suggestionGroups.map(function (group) {
800
- var groupId = group.id,
801
- groupName = group.name,
802
- options = group.options;
803
- var hoverId = suggestionOptionIds[hoverIndex];
804
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
805
- key: groupId
806
- }, groupName && /*#__PURE__*/_react["default"].createElement("div", {
807
- className: _SelectModule["default"].groupTitle
808
- }, /*#__PURE__*/_react["default"].createElement(_DropDownHeading["default"], {
809
- text: groupName,
810
- a11y: {
811
- role: 'heading'
812
- }
813
- })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
814
- activeId: selectedId,
815
- suggestions: options,
816
- getRef: _this7.suggestionItemRef,
817
- hoverId: hoverId,
818
- onClick: _this7.handleChange,
819
- onMouseEnter: _this7.handleMouseEnter,
820
- selectedOptions: [selectedId],
821
- needTick: needTick,
822
- needBorder: false,
823
- htmlId: setAriaId,
824
- a11y: {
825
- ariaParentRole: 'listbox',
826
- role: 'option'
827
- }
828
- }));
829
- }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
830
- options: revampedGroups,
831
- searchString: searchStr,
832
- suggestions: suggestionGroups,
833
- dataId: dataIdSrchEmptyMsg,
834
- isLoading: isFetchingOptions,
835
- i18nKeys: i18nKeys,
836
- htmlId: ariaErrorId
837
- })), getFooter ? /*#__PURE__*/_react["default"].createElement(_Card.CardFooter, null, getFooter()) : null)));
838
- }) : null);
803
+ ariaParentRole: 'listbox',
804
+ role: 'option'
805
+ }
806
+ }));
807
+ }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
808
+ options: revampedGroups,
809
+ searchString: searchStr,
810
+ suggestions: suggestionGroups,
811
+ dataId: dataIdSrchEmptyMsg,
812
+ isLoading: isFetchingOptions,
813
+ i18nKeys: i18nKeys,
814
+ htmlId: ariaErrorId
815
+ })), getFooter ? /*#__PURE__*/_react["default"].createElement(_Card.CardFooter, null, getFooter()) : null)) : null);
839
816
  }
840
817
  }]);
841
818