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

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 (270) hide show
  1. package/README.md +16 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +3 -18
  3. package/assets/Appearance/default/mode/defaultMode.module.css +2 -17
  4. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +5 -20
  5. package/es/AppContainer/AppContainer.js +1 -1
  6. package/es/Avatar/Avatar.js +1 -1
  7. package/es/Avatar/Avatar.module.css +11 -9
  8. package/es/AvatarTeam/AvatarTeam.js +1 -1
  9. package/es/AvatarTeam/AvatarTeam.module.css +21 -7
  10. package/es/Button/Button.module.css +97 -24
  11. package/es/Buttongroup/Buttongroup.module.css +37 -8
  12. package/es/CheckBox/CheckBox.js +1 -1
  13. package/es/CheckBox/CheckBox.module.css +29 -19
  14. package/es/DateTime/DateTime.js +4 -2
  15. package/es/DateTime/DateTime.module.css +40 -13
  16. package/es/DateTime/DateWidget.js +4 -2
  17. package/es/DateTime/DateWidget.module.css +9 -5
  18. package/es/DateTime/YearView.module.css +17 -6
  19. package/es/DropBox/DropBox.js +1 -1
  20. package/es/DropBox/DropBox.module.css +47 -11
  21. package/es/DropDown/DropDownHeading.module.css +7 -3
  22. package/es/DropDown/DropDownItem.module.css +32 -6
  23. package/es/LightNightMode/Colors.json +496 -397
  24. package/es/LightNightMode/docs/AlternativeColors.docs.js +21 -1
  25. package/es/ListItem/ListContainer.js +1 -1
  26. package/es/ListItem/ListItem.js +1 -1
  27. package/es/ListItem/ListItem.module.css +69 -33
  28. package/es/ListItem/ListItemWithAvatar.js +1 -1
  29. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  30. package/es/ListItem/ListItemWithIcon.js +1 -1
  31. package/es/ListItem/ListItemWithRadio.js +1 -1
  32. package/es/Modal/Modal.js +1 -1
  33. package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -7
  34. package/es/MultiSelect/AdvancedMultiSelect.js +20 -8
  35. package/es/MultiSelect/MultiSelect.module.css +36 -11
  36. package/es/MultiSelect/SelectedOptions.js +1 -1
  37. package/es/MultiSelect/SelectedOptions.module.css +8 -2
  38. package/es/MultiSelect/Suggestions.js +1 -1
  39. package/es/PopOver/PopOver.module.css +1 -1
  40. package/es/Popup/Popup.js +1 -1
  41. package/es/Radio/Radio.module.css +18 -10
  42. package/es/Responsive/ResizeComponent.js +15 -73
  43. package/es/Responsive/ResizeObserver.js +2 -6
  44. package/es/Responsive/docs/style.module.css +17 -8
  45. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  46. package/es/Ribbon/Ribbon.module.css +93 -28
  47. package/es/RippleEffect/RippleEffect.module.css +37 -44
  48. package/es/Select/Select.js +30 -8
  49. package/es/Select/Select.module.css +12 -2
  50. package/es/Select/docs/Select__default.docs.js +1 -1
  51. package/es/Stencils/Stencils.module.css +21 -3
  52. package/es/Switch/Switch.js +1 -1
  53. package/es/Switch/Switch.module.css +9 -9
  54. package/es/Tab/Tab.js +1 -1
  55. package/es/Tab/Tab.module.css +16 -7
  56. package/es/Tab/TabWrapper.js +1 -1
  57. package/es/Tab/Tabs.js +1 -1
  58. package/es/Tab/Tabs.module.css +42 -8
  59. package/es/Tab/docs/tabdocs.module.css +1 -1
  60. package/es/Tag/Tag.module.css +36 -14
  61. package/es/TextBox/TextBox.js +1 -1
  62. package/es/TextBox/TextBox.module.css +7 -11
  63. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  64. package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
  65. package/es/Textarea/Textarea.js +1 -1
  66. package/es/Textarea/Textarea.module.css +6 -7
  67. package/es/Tooltip/Tooltip.module.css +9 -8
  68. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  69. package/es/beta/FocusRing/FocusRing.module.css +51 -26
  70. package/es/common/animation.module.css +219 -21
  71. package/es/common/basicReset.module.css +2 -12
  72. package/es/common/common.module.css +62 -18
  73. package/es/common/customscroll.module.css +17 -21
  74. package/es/common/docStyle.module.css +79 -32
  75. package/es/common/transition.module.css +50 -10
  76. package/es/css.js +0 -1
  77. package/{lib/MultiSelect → es/deprecated}/AdvancedMultiSelect.module.css +1 -1
  78. package/es/deprecated/advancedMultiSelectVariableJson.js +80 -0
  79. package/es/semantic/Button/semanticButton.module.css +3 -3
  80. package/lib/Accordion/Accordion.js +2 -2
  81. package/lib/Accordion/AccordionItem.js +2 -2
  82. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  83. package/lib/Animation/Animation.js +2 -2
  84. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  85. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  86. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  87. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  88. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  89. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  90. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  91. package/lib/AppContainer/AppContainer.js +11 -4
  92. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  93. package/lib/Avatar/Avatar.js +3 -3
  94. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  95. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  96. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  97. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  98. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  99. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  100. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  101. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  102. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  103. package/lib/Button/Button.js +2 -2
  104. package/lib/Button/docs/Button__custom.docs.js +2 -2
  105. package/lib/Button/docs/Button__default.docs.js +2 -2
  106. package/lib/Buttongroup/Buttongroup.js +2 -2
  107. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  108. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  109. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  110. package/lib/Card/Card.js +2 -2
  111. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  112. package/lib/Card/docs/Card__Default.docs.js +2 -2
  113. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  114. package/lib/CheckBox/CheckBox.js +5 -4
  115. package/lib/CheckBox/CheckBox.module.css +12 -8
  116. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  117. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  118. package/lib/DateTime/CalendarView.js +2 -2
  119. package/lib/DateTime/DateTime.js +50 -22
  120. package/lib/DateTime/DateTime.module.css +1 -1
  121. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  122. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  123. package/lib/DateTime/DateWidget.js +14 -4
  124. package/lib/DateTime/DateWidget.module.css +0 -4
  125. package/lib/DateTime/DaysRow.js +2 -2
  126. package/lib/DateTime/Time.js +2 -2
  127. package/lib/DateTime/YearView.js +2 -2
  128. package/lib/DateTime/YearView.module.css +1 -0
  129. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  130. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  131. package/lib/DropBox/DropBox.js +4 -4
  132. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  133. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  134. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  135. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  136. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  137. package/lib/DropDown/DropDown.js +2 -2
  138. package/lib/DropDown/DropDownHeading.js +2 -2
  139. package/lib/DropDown/DropDownItem.js +2 -2
  140. package/lib/DropDown/DropDownSearch.js +2 -2
  141. package/lib/DropDown/DropDownSeparator.js +2 -2
  142. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  143. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  144. package/lib/Label/Label.js +2 -2
  145. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  146. package/lib/Label/docs/Label__custom.docs.js +2 -2
  147. package/lib/Label/docs/Label__palette.docs.js +2 -2
  148. package/lib/Label/docs/Label__size.docs.js +2 -2
  149. package/lib/Label/docs/Label__type.docs.js +2 -2
  150. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  151. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  152. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  153. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  154. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  155. package/lib/LightNightMode/Colors.json +496 -397
  156. package/lib/LightNightMode/docs/AlternativeColors.docs.js +25 -3
  157. package/lib/ListItem/ListContainer.js +8 -5
  158. package/lib/ListItem/ListItem.js +4 -4
  159. package/lib/ListItem/ListItem.module.css +18 -19
  160. package/lib/ListItem/ListItemWithAvatar.js +4 -4
  161. package/lib/ListItem/ListItemWithCheckBox.js +4 -4
  162. package/lib/ListItem/ListItemWithIcon.js +4 -4
  163. package/lib/ListItem/ListItemWithRadio.js +4 -4
  164. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  165. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  166. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  167. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  168. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  169. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  170. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  171. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  172. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  173. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  174. package/lib/Modal/Modal.js +3 -3
  175. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  176. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +120 -88
  177. package/lib/MultiSelect/AdvancedMultiSelect.js +99 -62
  178. package/lib/MultiSelect/EmptyState.js +2 -2
  179. package/lib/MultiSelect/MultiSelect.js +90 -64
  180. package/lib/MultiSelect/MultiSelect.module.css +15 -2
  181. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  182. package/lib/MultiSelect/MultiSelectWithAvatar.js +80 -55
  183. package/lib/MultiSelect/SelectedOptions.js +3 -3
  184. package/lib/MultiSelect/Suggestions.js +3 -3
  185. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  186. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  187. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  188. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  189. package/lib/PopOver/PopOver.js +13 -6
  190. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  191. package/lib/Popup/Popup.js +3 -3
  192. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  193. package/lib/Provider/Config.js +3 -1
  194. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  195. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  196. package/lib/Provider.js +34 -100
  197. package/lib/Radio/Radio.js +2 -2
  198. package/lib/Radio/Radio.module.css +8 -6
  199. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  200. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  201. package/lib/Responsive/ResizeComponent.js +2 -2
  202. package/lib/Responsive/Responsive.js +2 -2
  203. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  204. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  205. package/lib/Responsive/sizeObservers.js +3 -3
  206. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
  207. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
  208. package/lib/Ribbon/Ribbon.js +2 -2
  209. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  210. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  211. package/lib/RippleEffect/RippleEffect.module.css +37 -15
  212. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  213. package/lib/Select/GroupSelect.js +102 -79
  214. package/lib/Select/Select.js +142 -87
  215. package/lib/Select/Select.module.css +6 -0
  216. package/lib/Select/SelectWithAvatar.js +98 -73
  217. package/lib/Select/SelectWithIcon.js +99 -76
  218. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  219. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  220. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  221. package/lib/Select/docs/Select__default.docs.js +3 -3
  222. package/lib/Stencils/Stencils.js +2 -2
  223. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  224. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  225. package/lib/Switch/Switch.js +3 -3
  226. package/lib/Switch/Switch.module.css +3 -2
  227. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  228. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  229. package/lib/Tab/Tab.js +1 -1
  230. package/lib/Tab/TabWrapper.js +1 -1
  231. package/lib/Tab/Tabs.js +70 -47
  232. package/lib/Tab/Tabs.module.css +2 -1
  233. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  234. package/lib/Tag/Tag.js +3 -3
  235. package/lib/Tag/Tag.module.css +6 -2
  236. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  237. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  238. package/lib/TextBox/TextBox.js +3 -3
  239. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  240. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  241. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  242. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  243. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  244. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  245. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  246. package/lib/Textarea/Textarea.js +3 -3
  247. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  248. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  249. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  250. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  251. package/lib/Tooltip/Tooltip.js +62 -10
  252. package/lib/Tooltip/Tooltip.module.css +6 -1
  253. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  254. package/lib/Tooltip/docs/Tooltip__default.docs.js +52 -13
  255. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  256. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  257. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  258. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  259. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  260. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  261. package/lib/common/docStyle.module.css +6 -2
  262. package/lib/css.js +0 -2
  263. package/{es/MultiSelect → lib/deprecated}/AdvancedMultiSelect.module.css +23 -9
  264. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  265. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  266. package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
  267. package/lib/index.js +10 -1
  268. package/lib/semantic/Button/Button.js +2 -2
  269. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  270. package/package.json +4 -4
@@ -24,7 +24,10 @@ export default class AlternativeColors extends React.Component {
24
24
  }, "Light Mode Colors"), /*#__PURE__*/React.createElement(Box, {
25
25
  flexible: true,
26
26
  className: style.rgt
27
- }, "Alternate Night Mode Colors")), /*#__PURE__*/React.createElement(Container, {
27
+ }, "Alternate Night Mode Colors"), /*#__PURE__*/React.createElement(Box, {
28
+ flexible: true,
29
+ className: style.rgt
30
+ }, "Alternate Pure Dark Mode Colors")), /*#__PURE__*/React.createElement(Container, {
28
31
  alignBox: "row",
29
32
  className: style.content
30
33
  }, /*#__PURE__*/React.createElement(Box, {
@@ -62,6 +65,23 @@ export default class AlternativeColors extends React.Component {
62
65
  onClick: () => navigator.clipboard.writeText(clrValue),
63
66
  "data-title": `Copy ${clrValue}`
64
67
  }, clrValue));
68
+ })), /*#__PURE__*/React.createElement(Box, {
69
+ flexible: true,
70
+ className: style.rgt
71
+ }, index.equalPureDarkColors.toString().split(", ").map((clrValue, j) => {
72
+ return /*#__PURE__*/React.createElement("div", {
73
+ className: style.nestedDiv,
74
+ key: j
75
+ }, /*#__PURE__*/React.createElement("span", {
76
+ style: {
77
+ backgroundColor: `${clrValue}`
78
+ },
79
+ className: `${style.rect} ${style.gold}`
80
+ }), /*#__PURE__*/React.createElement("span", {
81
+ className: style.colorvalue,
82
+ onClick: () => navigator.clipboard.writeText(clrValue),
83
+ "data-title": `Copy ${clrValue}`
84
+ }, clrValue));
65
85
  }))))))));
66
86
  }
67
87
 
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React, { useCallback } from 'react';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -4,8 +4,6 @@
4
4
  --listitem_padding: var(--zd_size9) var(--zd_size20);
5
5
  --listitem_border_width: 0;
6
6
  --listitem_border_color: var(--zdt_listitem_default_border);
7
- --listitem_avatar_margin: 0 var(--zd_size15) 0 0
8
- /*rtl: 0 0 0 var(--zd_size15)*/;
9
7
  --listitem_bg_color: var(--zdt_listitem_default_bg);
10
8
  --listitem_active_bg_color: var(--zdt_listitem_primary_bg);
11
9
  --listitem_height: auto;
@@ -16,6 +14,11 @@
16
14
 
17
15
  /* listitem tick icon default variables */
18
16
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
17
+ }[dir=ltr] .varClass {
18
+ --listitem_avatar_margin: 0 var(--zd_size15) 0 0
19
+ /*rtl: 0 0 0 var(--zd_size15)*/;
20
+ }[dir=rtl] .varClass {
21
+ --listitem_avatar_margin: 0 0 0 var(--zd_size15);
19
22
  }
20
23
  .list {
21
24
  composes: varClass;
@@ -23,40 +26,49 @@
23
26
  list-style: none;
24
27
  color: var(--listitem_text_color);
25
28
  font-size: var(--zd_font_size13);
29
+ height: var(--listitem_height);
30
+ min-height: var(--listitem_min_height);
31
+ text-decoration: none;
26
32
  padding: var(--listitem_padding);
27
33
  border-width: var(--listitem_border_width);
28
34
  border-style: solid;
29
35
  border-color: var(--listitem_border_color);
30
- height: var(--listitem_height);
31
- min-height: var(--listitem_min_height);
32
36
  cursor: pointer;
33
- text-decoration: none;
34
37
  }
35
- .list,
36
- .default,
37
- .secondary {
38
+ .list, .default, .secondary {
38
39
  background-color: var(--listitem_bg_color);
39
40
  }
40
- .withBorder {
41
+ [dir=ltr] .withBorder {
41
42
  --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
42
43
  }
44
+ [dir=rtl] .withBorder {
45
+ --listitem_border_width: 0 1px 0 0;
46
+ }
43
47
  .active {
44
48
  --listitem_border_color: var(--zdt_listitem_active_border);
45
49
  }
46
- .small {
50
+ [dir=ltr] .small {
47
51
  --listitem_padding: var(--zd_size9) var(--zd_size3) var(--zd_size9)
48
52
  var(--zd_size5)
49
53
  /*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3)*/;
50
54
  }
55
+ [dir=rtl] .small {
56
+ --listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
57
+ }
51
58
  .medium {
52
59
  --listitem_padding: var(--zd_size9) var(--zd_size20);
53
60
  --listitem_min_height: var(--zd_size35);
54
61
  }
55
62
  .large {
63
+ --listitem_height: var(--zd_size48);
64
+ }
65
+ [dir=ltr] .large {
56
66
  --listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
57
67
  var(--zd_size25)
58
68
  /*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
59
- --listitem_height: var(--zd_size48);
69
+ }
70
+ [dir=rtl] .large {
71
+ --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
60
72
  }
61
73
  .value,
62
74
  .children {
@@ -64,9 +76,14 @@
64
76
  }
65
77
  .iconBox {
66
78
  width: var(--zd_size20);
67
- margin-right: var(--zd_size10);
68
79
  text-align: center;
69
80
  }
81
+ [dir=ltr] .iconBox {
82
+ margin-right: var(--zd_size10);
83
+ }
84
+ [dir=rtl] .iconBox {
85
+ margin-left: var(--zd_size10);
86
+ }
70
87
  .iconBox,
71
88
  .leftAvatar {
72
89
  font-size: 0;
@@ -75,45 +92,48 @@
75
92
  margin: var(--listitem_avatar_margin);
76
93
  }
77
94
 
78
- .defaultHover,
79
- .primaryHover,
80
- .secondaryHover,
81
- .darkHover {
95
+ .defaultHover, .primaryHover, .secondaryHover, .darkHover {
82
96
  background-color: var(--listitem_highlight_bg_color);
83
97
  }
84
98
  .activewithBorder {
85
- --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
86
99
  --listitem_border_color: var(--zdt_listitem_active_border);
87
100
  }
101
+ [dir=ltr] .activewithBorder {
102
+ --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
103
+ }
104
+ [dir=rtl] .activewithBorder {
105
+ --listitem_border_width: 0 1px 0 0;
106
+ }
88
107
 
89
108
  .defaultHover,
90
- .defaultEffect:hover,
91
- .defaultEffect:focus {
109
+ .defaultEffect:hover
110
+ /* .defaultEffect:focus */
111
+ {
92
112
  --listitem_bg_color: var(--zdt_listitem_highlight_bg);
93
113
  }
94
114
  .primaryHover,
95
- .primaryEffect:hover,
96
- .primaryEffect:focus {
115
+ .primaryEffect:hover
116
+ /* .primaryEffect:focus */
117
+ {
97
118
  --listitem_bg_color: var(--zdt_listitem_primary_bg);
98
119
  --listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
99
120
  }
100
121
  .secondaryHover,
101
- .secondaryEffect:hover,
102
- .secondaryEffect:focus {
122
+ .secondaryEffect:hover
123
+ /* .secondaryEffect:focus */
124
+ {
103
125
  --listitem_bg_color: var(--zdt_listitem_secondary_bg);
104
126
  --listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
105
127
  --listitem_text_color: var(--zdt_listitem_secondary_text);
106
128
  }
107
129
  .darkHover,
108
- .darkEffect:hover,
109
- .darkEffect:focus {
130
+ .darkEffect:hover
131
+ /* .darkEffect:focus */
132
+ {
110
133
  --listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
111
134
  --listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
112
135
  }
113
- .activedefault,
114
- .activeprimary,
115
- .activesecondary,
116
- .activedark {
136
+ .activedefault, .activeprimary, .activesecondary, .activedark {
117
137
  background-color: var(--listitem_active_bg_color);
118
138
  }
119
139
  .activedefault,
@@ -139,8 +159,15 @@
139
159
  .darkTick {
140
160
  position: absolute;
141
161
  color: var(--listitem_tickicon_color);
162
+ }
163
+
164
+ [dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
142
165
  right: var(--zd_size20);
143
166
  }
167
+
168
+ [dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
169
+ left: var(--zd_size20);
170
+ }
144
171
  .defaultTick {
145
172
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
146
173
  }
@@ -150,24 +177,33 @@
150
177
  .defaultTick > i {
151
178
  display: block;
152
179
  }
153
- .smallwithTick {
180
+ [dir=ltr] .smallwithTick {
154
181
  --listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
155
182
  var(--zd_size5)
156
183
  /*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39)*/;
157
184
  }
158
- .mediumwithTick {
185
+ [dir=rtl] .smallwithTick {
186
+ --listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39);
187
+ }
188
+ [dir=ltr] .mediumwithTick {
159
189
  --listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
160
190
  var(--zd_size20)
161
191
  /*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39)*/;
162
192
  }
163
- .largewithTick {
193
+ [dir=rtl] .mediumwithTick {
194
+ --listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39);
195
+ }
196
+ [dir=ltr] .largewithTick {
164
197
  --listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
165
198
  var(--zd_size25)
166
199
  /*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39)*/;
167
200
  }
201
+ [dir=rtl] .largewithTick {
202
+ --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
203
+ }
168
204
  .responsiveHeight {
169
205
  --listitem_min_height: var(--zd_size45);
206
+ font-size: var(--zd_font_size15);
170
207
  padding-top: var(--zd_size10);
171
208
  padding-bottom: var(--zd_size10);
172
- font-size: var(--zd_font_size15);
173
209
  }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
package/es/Modal/Modal.js CHANGED
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
4
4
 
5
5
  import Loader from '@zohodesk/svg/lib/svg/Loader';
6
6
  import Popup from '../Popup/Popup';
7
- import TextBox from '../TextBox/TextBox';
7
+ import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
8
8
  import { Container, Box } from '../Layout';
9
9
  import DropDownHeading from '../DropDown/DropDownHeading';
10
10
  import MultiSelectHeader from '../MultiSelect/MultiSelectHeader';
@@ -897,6 +897,7 @@ class AdvancedGroupMultiSelect extends React.Component {
897
897
  } = this.handleFilterSuggestions();
898
898
  let setAriaId = this.getNextAriaId();
899
899
  let ariaErrorId = this.getNextAriaId();
900
+ const isShowClearIcon = !isReadOnly && !isDisabled && selectedGroupOptions.length > 1;
900
901
  return /*#__PURE__*/React.createElement("div", {
901
902
  className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
902
903
  "data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
@@ -927,8 +928,9 @@ class AdvancedGroupMultiSelect extends React.Component {
927
928
  adjust: true,
928
929
  shrink: true
929
930
  }, /*#__PURE__*/React.createElement("span", {
930
- className: ` ${style.custmSpan} ${textBoxSize == 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} `
931
- }, searchStr), /*#__PURE__*/React.createElement(TextBox, {
931
+ className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
932
+ `
933
+ }, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
932
934
  isDisabled: isDisabled,
933
935
  inputRef: this.searchInputRef,
934
936
  needBorder: false,
@@ -943,7 +945,9 @@ class AdvancedGroupMultiSelect extends React.Component {
943
945
  variant: variant,
944
946
  dataId: `${dataId}_textBox`,
945
947
  isReadOnly: isReadOnly,
946
- customClass: style.custmInputWrapper,
948
+ customClass: {
949
+ customTBoxWrap: style.custmInputWrapper
950
+ },
947
951
  tabindex: isDisabled && '-1',
948
952
  htmlId: htmlId,
949
953
  a11y: {
@@ -955,8 +959,11 @@ class AdvancedGroupMultiSelect extends React.Component {
955
959
  ariaDescribedby: ariaErrorId
956
960
  },
957
961
  autoComplete: autoComplete
958
- })), !isReadOnly && !isDisabled && selectedGroupOptions.length > 1 ? /*#__PURE__*/React.createElement(Box, {
959
- className: style.delete,
962
+ }, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
963
+ alignBox: "row",
964
+ align: "vertical"
965
+ }, /*#__PURE__*/React.createElement(Box, {
966
+ className: `${style.delete} ${style[`${palette}Delete`]}`,
960
967
  dataId: `${dataId}_clearIcon`,
961
968
  "data-title": clearText,
962
969
  onClick: this.handleDeselectAll,
@@ -965,7 +972,7 @@ class AdvancedGroupMultiSelect extends React.Component {
965
972
  }, /*#__PURE__*/React.createElement(Icon, {
966
973
  name: "ZD-delete",
967
974
  size: "15"
968
- })) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
975
+ }))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
969
976
  query: this.responsiveFunc,
970
977
  responsiveId: "Helmet"
971
978
  }, _ref2 => {
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -11,7 +11,7 @@ import Suggestions from './Suggestions';
11
11
  import EmptyState from './EmptyState';
12
12
  import MultiSelectHeader from './MultiSelectHeader';
13
13
  import Popup from '../Popup/Popup';
14
- import Textbox from '../TextBox/TextBox';
14
+ import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
15
15
  import { Container, Box } from '../Layout';
16
16
  import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
17
17
  import Icon from '@zohodesk/icons/lib/Icon';
@@ -20,7 +20,7 @@ import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
20
20
  import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
21
21
  /**** CSS ****/
22
22
 
23
- import style from './AdvancedMultiSelect.module.css';
23
+ import style from './MultiSelect.module.css';
24
24
  /**** Methods ****/
25
25
 
26
26
  import { getIsEmptyValue, getSearchString } from '../utils/Common.js';
@@ -428,8 +428,14 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
428
428
  onClick: this.handleMoreClick,
429
429
  tagName: "button"
430
430
  }, `+ ${moreCount} More`) : null, /*#__PURE__*/React.createElement(Box, {
431
- flexible: true
432
- }, /*#__PURE__*/React.createElement(Textbox, {
431
+ flexible: true,
432
+ className: style.wrapper,
433
+ adjust: true,
434
+ shrink: true
435
+ }, /*#__PURE__*/React.createElement("span", {
436
+ className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
437
+ `
438
+ }, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
433
439
  isDisabled: isDisabled,
434
440
  inputRef: this.searchInputRef,
435
441
  needBorder: false,
@@ -444,6 +450,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
444
450
  variant: variant,
445
451
  isReadOnly: isReadOnly,
446
452
  tabindex: isDisabled && '-1',
453
+ customClass: {
454
+ customTBoxWrap: style.custmInputWrapper
455
+ },
447
456
  htmlId: htmlId,
448
457
  a11y: {
449
458
  role: 'combobox',
@@ -454,8 +463,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
454
463
  ariaDescribedby: ariaErrorId
455
464
  },
456
465
  autoComplete: false
457
- })), isShowClearIcon ? /*#__PURE__*/React.createElement(Box, {
458
- className: style.delete,
466
+ }, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
467
+ alignBox: "row",
468
+ align: "vertical"
469
+ }, /*#__PURE__*/React.createElement(Box, {
470
+ className: `${style.delete}`,
459
471
  dataId: dataIdClearIcon,
460
472
  "data-title": clearText,
461
473
  onClick: this.handleDeselectAll,
@@ -464,7 +476,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
464
476
  }, /*#__PURE__*/React.createElement(Icon, {
465
477
  name: "ZD-delete",
466
478
  size: "15"
467
- })) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
479
+ }))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
468
480
  query: this.responsiveFunc,
469
481
  responsiveId: "Helmet"
470
482
  }, _ref2 => {
@@ -1,9 +1,7 @@
1
1
  .wrapper {
2
2
  position: relative;
3
3
  }
4
-
5
- .disabled,
6
- .readOnly {
4
+ .disabled, .readOnly {
7
5
  cursor: not-allowed;
8
6
  }
9
7
  .container {
@@ -11,9 +9,9 @@
11
9
  composes: oflowy from '../common/common.module.css';
12
10
  }
13
11
  .hasBorder {
12
+ transition: border var(--zd_transition2) linear 0s;
14
13
  border-bottom-style: solid;
15
14
  border-bottom-width: 1px;
16
- transition: border var(--zd_transition2) linear 0s;
17
15
  }
18
16
  .borderColor_transparent {
19
17
  border-bottom-color: var(--zdt_multiselect_transparent_border);
@@ -48,16 +46,16 @@
48
46
  }
49
47
 
50
48
  .container.xmedium {
51
- padding-bottom: var(--zd_size3);
52
49
  min-height: var(--zd_size30);
50
+ padding-bottom: var(--zd_size3);
53
51
  }
54
52
 
55
53
  .delete {
54
+ font: inherit;
56
55
  padding: var(--zd_size2) var(--zd_size6);
57
56
  cursor: pointer;
58
57
  border: 0;
59
58
  background-color: var(--zdt_multiselect_delete_bg);
60
- font: inherit;
61
59
  }
62
60
  .delete,
63
61
  .defaultDelete {
@@ -87,13 +85,21 @@
87
85
  max-width: 100%;
88
86
  }
89
87
 
90
- .container.xmedium .tag {
88
+ [dir=ltr] .container.xmedium .tag {
91
89
  margin: var(--zd_size2) var(--zd_size10) 0 0;
92
90
  }
93
91
 
94
- .container.medium .tag {
92
+ [dir=rtl] .container.xmedium .tag {
93
+ margin: var(--zd_size2) 0 0 var(--zd_size10);
94
+ }
95
+
96
+ [dir=ltr] .container.medium .tag {
95
97
  margin: var(--zd_size5) var(--zd_size10) 0 0;
96
98
  }
99
+
100
+ [dir=rtl] .container.medium .tag {
101
+ margin: var(--zd_size5) 0 0 var(--zd_size10);
102
+ }
97
103
  .responsiveParent{
98
104
  width: 100%;
99
105
  }
@@ -132,9 +138,11 @@
132
138
  }
133
139
  .dark,
134
140
  .darkBox {
135
- background: var(--zdt_multiselect_darkmsg_bg);
136
141
  color: var(--zdt_multiselect_darkmsg_text);
137
142
  }
143
+ .dark, .darkBox {
144
+ background: var(--zdt_multiselect_darkmsg_bg);
145
+ }
138
146
 
139
147
  .hide {
140
148
  composes: vishidden from '../common/common.module.css';
@@ -158,9 +166,14 @@
158
166
  .custmInputWrapper {
159
167
  position: absolute;
160
168
  top: 0;
161
- left: 0;
162
169
  width: 100%;
163
170
  }
171
+ [dir=ltr] .custmInputWrapper {
172
+ left: 0;
173
+ }
174
+ [dir=rtl] .custmInputWrapper {
175
+ right: 0;
176
+ }
164
177
  .title {
165
178
  margin-bottom: var(--zd_size6);
166
179
  }
@@ -173,9 +186,21 @@
173
186
  .iconContainer {
174
187
  padding-top: var(--zd_size3)
175
188
  }
176
- .clearIconSpace {
189
+ [dir=ltr] .clearIconSpace {
177
190
  padding-right: var(--zd_size37)
178
191
  }
192
+ [dir=rtl] .clearIconSpace {
193
+ padding-left: var(--zd_size37)
194
+ }
179
195
  .search{
180
196
  padding: 0px 20px;
197
+ }
198
+ .more {
199
+ font-size: var(--zd_font_size14);
200
+ color: var(--zdt_multiselect_more_text);
201
+ font-family: inherit;
202
+ cursor: pointer;
203
+ margin-top: var(--zd_size5);
204
+ background-color: var(--zdt_multiselect_delete_bg);
205
+ border: 0;
181
206
  }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,9 +1,15 @@
1
1
  .tag {
2
2
  max-width: 100%;
3
3
  }
4
- .xmedium {
4
+ [dir=ltr] .xmedium {
5
5
  margin: 0 var(--zd_size10) var(--zd_size2) 0;
6
6
  }
7
- .medium {
7
+ [dir=rtl] .xmedium {
8
+ margin: 0 0 var(--zd_size2) var(--zd_size10);
9
+ }
10
+ [dir=ltr] .medium {
8
11
  margin: var(--zd_size5) var(--zd_size10) 0 0;
9
12
  }
13
+ [dir=rtl] .medium {
14
+ margin: var(--zd_size5) 0 0 var(--zd_size10);
15
+ }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -3,6 +3,6 @@
3
3
  background-color: var(--dot_white);
4
4
  }
5
5
  .target {
6
- cursor: pointer;
7
6
  composes: offSelection from '../common/common.module.css';
7
+ cursor: pointer;
8
8
  }
package/es/Popup/Popup.js CHANGED
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || 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); }
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
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';