@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-667",
3
+ "version": "1.0.0-temp-999",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -16,8 +16,9 @@
16
16
  "init": "npm run clean && cd ../assets && npm run componentsassets && cd ../components && npm run build:variables",
17
17
  "build:variables": "node ./preprocess/index",
18
18
  "rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
19
+ "common_package_build":"cd ../common && npm run build && cd ../components",
19
20
  "start": "react-cli start",
20
- "docs": "npm run dubCheck && react-cli docs",
21
+ "docs": "npm run common_package_build && npm run dubCheck && react-cli docs",
21
22
  "build": " react-cli build:component:cmjs",
22
23
  "buildlocal": " react-cli build:component:cmjs && npm run rtl",
23
24
  "build:dev": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
@@ -41,7 +42,7 @@
41
42
  "@zohodesk/virtualizer": "1.0.3",
42
43
  "velocity-react": "1.4.3",
43
44
  "react-sortable-hoc": "^0.8.3",
44
- "@zohodesk/svg": "1.0.0-beta.47"
45
+ "@zohodesk/svg": "1.0.0-beta.48"
45
46
  },
46
47
  "dependencies": {
47
48
  "hoist-non-react-statics": "3.0.1",
@@ -52,7 +53,7 @@
52
53
  "peerDependencies": {
53
54
  "@zohodesk/icons": "1.0.0-beta.109",
54
55
  "@zohodesk/variables": "1.0.0-beta.29",
55
- "@zohodesk/svg": "1.0.0-beta.47",
56
+ "@zohodesk/svg": "1.0.0-beta.49",
56
57
  "@zohodesk/virtualizer": "1.0.3",
57
58
  "velocity-react": "1.4.3",
58
59
  "react-sortable-hoc": "^0.8.3"
@@ -72,4 +73,4 @@
72
73
  "hasRTL": true
73
74
  }
74
75
  }
75
- }
76
+ }
@@ -1,130 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireWildcard(require("react"));
11
-
12
- var _propTypes = _interopRequireDefault(require("prop-types"));
13
-
14
- var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
15
-
16
- var _Layout = require("../Layout");
17
-
18
- var _CustomResponsive = require("../Responsive/CustomResponsive");
19
-
20
- var _ResponsiveDropBoxModule = _interopRequireDefault(require("./ResponsiveDropBox.module.css"));
21
-
22
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
-
24
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
-
26
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
-
28
- 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); }
29
-
30
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
-
32
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
33
-
34
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
-
36
- 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); }
37
-
38
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
-
40
- 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); }; }
41
-
42
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
43
-
44
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45
-
46
- 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; } }
47
-
48
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
49
-
50
- var ResponsiveDropBox = /*#__PURE__*/function (_Component) {
51
- _inherits(ResponsiveDropBox, _Component);
52
-
53
- var _super = _createSuper(ResponsiveDropBox);
54
-
55
- function ResponsiveDropBox(props) {
56
- var _this;
57
-
58
- _classCallCheck(this, ResponsiveDropBox);
59
-
60
- _this = _super.call(this, props);
61
- _this.responsiveFunc = _this.responsiveFunc.bind(_assertThisInitialized(_this));
62
- return _this;
63
- }
64
-
65
- _createClass(ResponsiveDropBox, [{
66
- key: "responsiveFunc",
67
- value: function responsiveFunc(_ref) {
68
- var mediaQueryOR = _ref.mediaQueryOR;
69
- return {
70
- tabletMode: mediaQueryOR([{
71
- maxWidth: 700
72
- }])
73
- };
74
- }
75
- }, {
76
- key: "render",
77
- value: function render() {
78
- var _this$props = this.props,
79
- children = _this$props.children,
80
- _this$props$customCla = _this$props.customClass,
81
- customClass = _this$props$customCla === void 0 ? {} : _this$props$customCla,
82
- isResponsivePadding = _this$props.isResponsivePadding,
83
- alignBox = _this$props.alignBox;
84
- var _customClass$customDr = customClass.customDropBox,
85
- customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
86
- _customClass$customMo = customClass.customMobileDropBox,
87
- customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
88
- _customClass$customDr2 = customClass.customDropBoxWrap,
89
- customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
90
- _customClass$customMo2 = customClass.customMobileDropBoxWrap,
91
- customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2,
92
- _customClass$customRe = customClass.customResponsiveContainer,
93
- customResponsiveContainer = _customClass$customRe === void 0 ? '' : _customClass$customRe;
94
- var dropBoxClasses = {
95
- customDropBox: "".concat(customDropBox),
96
- customMobileDropBox: "".concat(customMobileDropBox),
97
- customDropBoxWrap: "".concat(customDropBoxWrap),
98
- customMobileDropBoxWrap: "".concat(customMobileDropBoxWrap),
99
- customResponsiveContainer: "".concat(customResponsiveContainer)
100
- };
101
- return /*#__PURE__*/_react["default"].createElement(_DropBox["default"], _extends({}, this.props, {
102
- customClass: dropBoxClasses
103
- }), /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
104
- query: this.responsiveFunc,
105
- responsiveId: "Helmet"
106
- }, function (_ref2) {
107
- var tabletMode = _ref2.tabletMode;
108
- return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
109
- alignBox: alignBox,
110
- isCover: false,
111
- className: "".concat(tabletMode ? _ResponsiveDropBoxModule["default"].dropBoxContainer : '', " ").concat(tabletMode && isResponsivePadding ? _ResponsiveDropBoxModule["default"].boxPadding : '', " ").concat(customResponsiveContainer)
112
- }, children);
113
- }));
114
- }
115
- }]);
116
-
117
- return ResponsiveDropBox;
118
- }(_react.Component);
119
-
120
- exports["default"] = ResponsiveDropBox;
121
- ResponsiveDropBox.propTypes = {
122
- children: _propTypes["default"].element,
123
- customClass: _propTypes["default"].object,
124
- isResponsivePadding: _propTypes["default"].bool,
125
- alignBox: _propTypes["default"].oneOf(['column', 'row'])
126
- };
127
- ResponsiveDropBox.defaultProps = {
128
- isResponsivePadding: false,
129
- alignBox: 'column'
130
- };
@@ -1,6 +0,0 @@
1
- .dropBoxContainer {
2
- max-height: 70vh;
3
- }
4
- .boxPadding{
5
- padding-bottom: var(--zd_size10);
6
- }
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- var componentAppearanceVariables = [{
4
- "comment": "advanced multiselect",
5
- "data": {
6
- "zdt_advancedmultiselect_default_border": {
7
- 'light': ['var(--dot_inputLine)'],
8
- 'dark': ['var(--dot_inputLine)'],
9
- 'pureDark': ['var(--dot_inputLine)']
10
- },
11
- "zdt_advancedmultiselect_transparent_border": {
12
- 'light': ['var(--dot_mirror)'],
13
- 'dark': ['var(--dot_mirror)'],
14
- 'pureDark': ['var(--dot_mirror)']
15
- },
16
- "zdt_advancedmultiselect_dark_border": {
17
- 'light': ['var(--dot_mulledwine)'],
18
- 'dark': ['var(--dot_mulledwine)'],
19
- 'pureDark': ['var(--dot_mulledwine)']
20
- },
21
- "zdt_advancedmultiselect_default_hover_border": {
22
- 'light': ['var(--dot_inputLineHover)'],
23
- 'dark': ['var(--dot_inputLineHover)'],
24
- 'pureDark': ['var(--dot_inputLineHover)']
25
- },
26
- "zdt_advancedmultiselect_transparent_hover_border": {
27
- 'light': ['var(--dot_inputLineHover)'],
28
- 'dark': ['var(--dot_inputLineHover)'],
29
- 'pureDark': ['var(--dot_inputLineHover)']
30
- },
31
- "zdt_advancedmultiselect_dark_hover_border": {
32
- 'light': ['var(--dot_stardust)'],
33
- 'dark': ['var(--dot_stardust)'],
34
- 'pureDark': ['var(--dot_stardust)']
35
- },
36
- "zdt_advancedmultiselect_default_active_border": {
37
- 'light': ['var(--dot_inputLineFocus)'],
38
- 'dark': ['var(--dot_inputLineFocus)'],
39
- 'pureDark': ['var(--dot_inputLineFocus)']
40
- },
41
- "zdt_advancedmultiselect_transparent_active_border": {
42
- 'light': ['var(--dot_inputLineFocus)'],
43
- 'dark': ['var(--dot_inputLineFocus)'],
44
- 'pureDark': ['var(--dot_inputLineFocus)']
45
- },
46
- "zdt_advancedmultiselect_dark_active_border": {
47
- 'light': ['var(--dot_stardust)'],
48
- 'dark': ['var(--dot_stardust)'],
49
- 'pureDark': ['var(--dot_stardust)']
50
- },
51
- "zdt_advancedmultiselect_delete_text": {
52
- 'light': ['var(--dot_shuttleGrey)'],
53
- 'dark': ['var(--dot_cadetblue)'],
54
- 'pureDark': ['#999']
55
- },
56
- "zdt_advancedmultiselect_delete_hover_text": {
57
- 'light': ['var(--dot_black)'],
58
- 'dark': ['var(--dot_platinum)'],
59
- 'pureDark': ['var(--dot_platinum)']
60
- },
61
- "zdt_advancedmultiselect_delete_bg": {
62
- 'light': ['var(--dot_mirror)'],
63
- 'dark': ['var(--dot_mirror)'],
64
- 'pureDark': ['var(--dot_mirror)']
65
- },
66
- "zdt_advancedmultiselect_box_bg": {
67
- 'light': ['var(--dot_white)'],
68
- 'dark': ['var(--dot_ebonyclay)'],
69
- 'pureDark': ['#212121']
70
- },
71
- "zdt_advancedmultiselect_droppopup_text": {
72
- 'light': ['var(--dot_slateGrey)'],
73
- 'dark': ['var(--dot_oslogrey)'],
74
- 'pureDark': ['var(--dot_oslogrey)']
75
- },
76
- "zdt_advancedmultiselect_more_text": {
77
- 'light': ['var(--zdt_cta_primary_text)'],
78
- 'dark': ['var(--zdt_cta_primary_text)'],
79
- 'pureDark': ['var(--zdt_cta_primary_text)']
80
- }
81
- }
82
- }];