@zohodesk/components 1.0.0-temp-78 → 1.0.0-temp-80

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 (698) hide show
  1. package/README.md +1084 -1075
  2. package/assets/Appearance/dark/mode/contrast/darkContrast.module.css +343 -0
  3. package/assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css +34 -0
  4. package/assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css +34 -0
  5. package/assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css +34 -0
  6. package/assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css +34 -0
  7. package/assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css +34 -0
  8. package/assets/Appearance/default/mode/contrast/defaultContrast.module.css +343 -0
  9. package/assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css +34 -0
  10. package/assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css +34 -0
  11. package/assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css +34 -0
  12. package/assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css +34 -0
  13. package/assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css +34 -0
  14. package/assets/Appearance/pureDark/mode/contrast/pureDarkContrast.module.css +343 -0
  15. package/assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css +34 -0
  16. package/assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css +34 -0
  17. package/assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css +34 -0
  18. package/assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css +34 -0
  19. package/assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css +34 -0
  20. package/docs/external/active-line.js +72 -72
  21. package/docs/external/autorefresh.js +47 -47
  22. package/docs/external/codemirror.js +9681 -9681
  23. package/docs/external/css/hopscotch.css +576 -576
  24. package/docs/external/css/styleGuide.css +1100 -1100
  25. package/docs/external/css.js +466 -466
  26. package/docs/external/designTokens.js +1 -1
  27. package/docs/external/foldcode.js +151 -151
  28. package/docs/external/format.js +129 -129
  29. package/docs/external/htmlmixed.js +84 -84
  30. package/docs/external/index.html +127 -127
  31. package/docs/external/javascript.js +422 -422
  32. package/docs/external/jsx.js +147 -147
  33. package/docs/external/matchbrackets.js +145 -145
  34. package/docs/external/xml.js +322 -322
  35. package/docs/package.json +41 -41
  36. package/docs/src/index.js +1311 -1311
  37. package/es/Accordion/Accordion.js +0 -7
  38. package/es/Accordion/AccordionItem.js +0 -4
  39. package/es/Accordion/docs/Accordion__Demo.docs.js +0 -2
  40. package/es/Animation/Animation.js +0 -3
  41. package/es/Animation/docs/Animation__default.docs.js +0 -2
  42. package/es/Animation/docs/Animation__fadeIn.docs.js +0 -2
  43. package/es/Animation/docs/Animation__scaleIn.docs.js +0 -2
  44. package/es/Animation/docs/Animation__skewIn.docs.js +0 -2
  45. package/es/Animation/docs/Animation__slideDown.docs.js +0 -2
  46. package/es/Animation/docs/Animation__slideLeft.docs.js +0 -2
  47. package/es/Animation/docs/Animation__zoomIn.docs.js +0 -2
  48. package/es/AppContainer/AppContainer.js +2 -13
  49. package/es/AppContainer/AppContainer.module.css +18 -18
  50. package/es/AppContainer/docs/AppContainer__default.docs.js +0 -2
  51. package/es/Avatar/Avatar.js +44 -50
  52. package/es/Avatar/Avatar.module.css +135 -117
  53. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  54. package/es/Avatar/docs/Avatar__custom.docs.js +1 -3
  55. package/es/Avatar/docs/Avatar__default.docs.js +1 -3
  56. package/es/Avatar/docs/Avatar__palette.docs.js +1 -3
  57. package/es/Avatar/docs/Avatar__text.docs.js +1 -3
  58. package/es/Avatar/props/defaultProps.js +2 -1
  59. package/es/Avatar/props/propTypes.js +2 -1
  60. package/es/AvatarTeam/AvatarTeam.js +7 -10
  61. package/es/AvatarTeam/AvatarTeam.module.css +161 -161
  62. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  63. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -2
  64. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -2
  65. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -2
  66. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -2
  67. package/es/Button/Button.js +7 -14
  68. package/es/Button/Button.module.css +521 -521
  69. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  70. package/es/Button/docs/Button__custom.docs.js +11 -13
  71. package/es/Button/docs/Button__default.docs.js +11 -13
  72. package/es/Buttongroup/Buttongroup.js +1 -4
  73. package/es/Buttongroup/Buttongroup.module.css +89 -89
  74. package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  75. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -2
  76. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -2
  77. package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -2
  78. package/es/Card/Card.js +11 -26
  79. package/es/Card/Card.module.css +20 -20
  80. package/es/Card/docs/Card__Custom.docs.js +0 -2
  81. package/es/Card/docs/Card__Default.docs.js +0 -2
  82. package/es/Card/docs/Card__Scroll.docs.js +0 -3
  83. package/es/CheckBox/CheckBox.js +0 -5
  84. package/es/CheckBox/CheckBox.module.css +157 -157
  85. package/es/CheckBox/docs/CheckBox__custom.docs.js +12 -16
  86. package/es/CheckBox/docs/CheckBox__default.docs.js +12 -16
  87. package/es/DateTime/CalendarView.js +4 -23
  88. package/es/DateTime/DateTime.js +6 -74
  89. package/es/DateTime/DateTime.module.css +187 -187
  90. package/es/DateTime/DateTimePopupFooter.js +2 -4
  91. package/es/DateTime/DateTimePopupHeader.js +2 -8
  92. package/es/DateTime/DateWidget.js +34 -101
  93. package/es/DateTime/DateWidget.module.css +38 -38
  94. package/es/DateTime/DaysRow.js +2 -4
  95. package/es/DateTime/Time.js +2 -10
  96. package/es/DateTime/YearView.js +4 -28
  97. package/es/DateTime/YearView.module.css +81 -81
  98. package/es/DateTime/__tests__/CalendarView.spec.js +0 -1
  99. package/es/DateTime/__tests__/DateTime.spec.js +0 -1
  100. package/es/DateTime/__tests__/DateWidget.spec.js +3 -2
  101. package/es/DateTime/common.js +0 -3
  102. package/es/DateTime/constants.js +0 -1
  103. package/es/DateTime/dateFormatUtils/dateFormat.js +30 -63
  104. package/es/DateTime/dateFormatUtils/dayChange.js +4 -13
  105. package/es/DateTime/dateFormatUtils/index.js +2 -28
  106. package/es/DateTime/dateFormatUtils/monthChange.js +0 -8
  107. package/es/DateTime/dateFormatUtils/timeChange.js +6 -22
  108. package/es/DateTime/dateFormatUtils/yearChange.js +2 -11
  109. package/es/DateTime/docs/DateTime__default.docs.js +6 -9
  110. package/es/DateTime/docs/DateWidget__default.docs.js +0 -5
  111. package/es/DateTime/index.js +0 -0
  112. package/es/DateTime/objectUtils.js +20 -14
  113. package/es/DateTime/typeChecker.js +0 -3
  114. package/es/DateTime/validator.js +6 -58
  115. package/es/DropBox/DropBox.js +9 -52
  116. package/es/DropBox/DropBox.module.css +406 -406
  117. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  118. package/es/DropBox/docs/DropBox__custom.docs.js +25 -27
  119. package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -7
  120. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -7
  121. package/es/DropBox/docs/DropBox__position.docs.js +35 -37
  122. package/es/DropBox/docs/DropBox__size.docs.js +28 -30
  123. package/es/DropBox/props/defaultProps.js +1 -2
  124. package/es/DropBox/props/propTypes.js +0 -1
  125. package/es/DropDown/DropDown.js +1 -9
  126. package/es/DropDown/DropDown.module.css +5 -5
  127. package/es/DropDown/DropDownHeading.js +2 -4
  128. package/es/DropDown/DropDownHeading.module.css +53 -53
  129. package/es/DropDown/DropDownItem.js +0 -6
  130. package/es/DropDown/DropDownItem.module.css +94 -94
  131. package/es/DropDown/DropDownSearch.js +0 -4
  132. package/es/DropDown/DropDownSearch.module.css +14 -14
  133. package/es/DropDown/DropDownSeparator.js +0 -1
  134. package/es/DropDown/DropDownSeparator.module.css +7 -7
  135. package/es/DropDown/__tests__/DropDown.spec.js +2 -1
  136. package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -2
  137. package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -2
  138. package/es/Heading/Heading.js +34 -0
  139. package/es/Heading/Heading.module.css +5 -0
  140. package/es/Heading/docs/Heading__default.docs.js +19 -0
  141. package/es/Heading/props/defaultProps.js +5 -0
  142. package/es/Heading/props/propTypes.js +11 -0
  143. package/es/Label/Label.js +2 -4
  144. package/es/Label/Label.module.css +52 -52
  145. package/es/Label/LabelColors.module.css +20 -20
  146. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  147. package/es/Label/docs/Label__clipped.docs.js +0 -2
  148. package/es/Label/docs/Label__custom.docs.js +0 -2
  149. package/es/Label/docs/Label__palette.docs.js +0 -2
  150. package/es/Label/docs/Label__size.docs.js +0 -2
  151. package/es/Label/docs/Label__type.docs.js +0 -2
  152. package/es/Layout/Box.js +0 -13
  153. package/es/Layout/Container.js +1 -12
  154. package/es/Layout/Layout.module.css +335 -335
  155. package/es/Layout/docs/Layout__Hidden.docs.js +0 -1
  156. package/es/Layout/docs/Layout__default.docs.js +0 -1
  157. package/es/Layout/docs/Layout__four_Column.docs.js +0 -1
  158. package/es/Layout/docs/Layout__three_Column.docs.js +0 -1
  159. package/es/Layout/docs/Layout__two_Column.docs.js +0 -1
  160. package/es/Layout/utils.js +0 -0
  161. package/es/LightNightMode/Colors.json +496 -496
  162. package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -2
  163. package/es/ListItem/ListContainer.js +1 -10
  164. package/es/ListItem/ListItem.js +0 -9
  165. package/es/ListItem/ListItem.module.css +209 -209
  166. package/es/ListItem/ListItemWithAvatar.js +1 -9
  167. package/es/ListItem/ListItemWithCheckBox.js +0 -7
  168. package/es/ListItem/ListItemWithIcon.js +0 -8
  169. package/es/ListItem/ListItemWithRadio.js +0 -7
  170. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -2
  171. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -2
  172. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -2
  173. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -2
  174. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -2
  175. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -2
  176. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -2
  177. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -2
  178. package/es/ListItem/docs/ListItem__custom.docs.js +0 -2
  179. package/es/ListItem/docs/ListItem__default.docs.js +0 -2
  180. package/es/Modal/Modal.js +8 -28
  181. package/es/Modal/__docs__/Modal__default.docs.js +1 -5
  182. package/es/MultiSelect/AdvancedGroupMultiSelect.js +16 -95
  183. package/es/MultiSelect/AdvancedMultiSelect.js +10 -36
  184. package/es/MultiSelect/EmptyState.js +0 -2
  185. package/es/MultiSelect/MultiSelect.js +36 -105
  186. package/es/MultiSelect/MultiSelect.module.css +205 -205
  187. package/es/MultiSelect/MultiSelectHeader.js +0 -3
  188. package/es/MultiSelect/MultiSelectWithAvatar.js +5 -14
  189. package/es/MultiSelect/SelectedOptions.js +3 -6
  190. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  191. package/es/MultiSelect/Suggestions.js +3 -7
  192. package/es/MultiSelect/__tests__/MultiSelect.spec.js +6 -4
  193. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -7
  194. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +1 -7
  195. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +1 -5
  196. package/es/MultiSelect/docs/MultiSelect__default.docs.js +1 -6
  197. package/es/MultiSelect/props/propTypes.js +0 -2
  198. package/es/PopOver/PopOver.js +0 -18
  199. package/es/PopOver/PopOver.module.css +8 -8
  200. package/es/PopOver/__tests__/PopOver.spec.js +1 -2
  201. package/es/PopOver/docs/PopOver__default.docs.js +0 -2
  202. package/es/Popup/Popup.js +24 -77
  203. package/es/Popup/PositionMapping.json +73 -73
  204. package/es/Popup/__tests__/Popup.spec.js +5 -17
  205. package/es/Popup/viewPort.js +4 -16
  206. package/es/Provider/IdProvider.js +2 -9
  207. package/es/Provider/LibraryContext.js +4 -6
  208. package/es/Provider/NumberGenerator/NumberGenerator.js +7 -21
  209. package/es/Provider/ZindexProvider.js +2 -9
  210. package/es/Provider/docs/Provider_Id__Class.docs.js +3 -4
  211. package/es/Provider/docs/Provider_Id__Function.docs.js +0 -1
  212. package/es/Provider/docs/Provider_Zindex__Class.docs.js +3 -4
  213. package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -1
  214. package/es/Provider.js +36 -11
  215. package/es/Radio/Radio.js +0 -4
  216. package/es/Radio/Radio.module.css +112 -112
  217. package/es/Radio/docs/Radio__custom.docs.js +12 -16
  218. package/es/Radio/docs/Radio__default.docs.js +12 -16
  219. package/es/Responsive/CustomResponsive.js +18 -28
  220. package/es/Responsive/RefWrapper.js +7 -6
  221. package/es/Responsive/ResizeComponent.js +25 -35
  222. package/es/Responsive/ResizeObserver.js +6 -26
  223. package/es/Responsive/Responsive.js +20 -34
  224. package/es/Responsive/docs/Responsive__Custom.docs.js +22 -14
  225. package/es/Responsive/docs/Responsive__default.docs.js +1 -3
  226. package/es/Responsive/docs/style.module.css +55 -55
  227. package/es/Responsive/sizeObservers.js +7 -28
  228. package/es/Responsive/utils/index.js +5 -7
  229. package/es/Responsive/utils/shallowCompare.js +2 -7
  230. package/es/Responsive/windowResizeObserver.js +0 -7
  231. package/es/ResponsiveDropBox/ResponsiveDropBox.js +0 -4
  232. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  233. package/es/Ribbon/Ribbon.js +0 -3
  234. package/es/Ribbon/Ribbon.module.css +376 -376
  235. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  236. package/es/Ribbon/docs/Ribbon__custom.docs.js +13 -14
  237. package/es/Ribbon/docs/Ribbon__default.docs.js +13 -14
  238. package/es/RippleEffect/RippleEffect.js +0 -1
  239. package/es/RippleEffect/RippleEffect.module.css +92 -92
  240. package/es/RippleEffect/docs/RippleEffect__default.docs.js +12 -14
  241. package/es/Select/GroupSelect.js +13 -60
  242. package/es/Select/Select.js +34 -84
  243. package/es/Select/Select.module.css +106 -106
  244. package/es/Select/SelectWithAvatar.js +3 -20
  245. package/es/Select/SelectWithIcon.js +2 -40
  246. package/es/Select/__tests__/Select.spec.js +8 -6
  247. package/es/Select/docs/GroupSelect__default.docs.js +1 -6
  248. package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -4
  249. package/es/Select/docs/SelectWithIcon__default.docs.js +0 -4
  250. package/es/Select/docs/Select__default.docs.js +0 -5
  251. package/es/Select/props/propTypes.js +0 -1
  252. package/es/Stencils/Stencils.js +0 -3
  253. package/es/Stencils/Stencils.module.css +96 -96
  254. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  255. package/es/Stencils/docs/Stencils__custom.docs.js +0 -2
  256. package/es/Stencils/docs/Stencils__default.docs.js +0 -2
  257. package/es/Switch/Switch.js +0 -5
  258. package/es/Switch/Switch.module.css +110 -110
  259. package/es/Switch/docs/Switch__custom.docs.js +12 -14
  260. package/es/Switch/docs/Switch__default.docs.js +12 -14
  261. package/es/Tab/Tab.js +1 -4
  262. package/es/Tab/Tab.module.css +101 -101
  263. package/es/Tab/TabContent.js +0 -1
  264. package/es/Tab/TabContent.module.css +4 -4
  265. package/es/Tab/TabContentWrapper.js +0 -2
  266. package/es/Tab/TabWrapper.js +2 -5
  267. package/es/Tab/Tabs.js +24 -71
  268. package/es/Tab/Tabs.module.css +141 -141
  269. package/es/Tab/__tests__/Tab.spec.js +2 -1
  270. package/es/Tab/__tests__/TabWrapper.spec.js +0 -1
  271. package/es/Tab/docs/Tab__default.docs.js +0 -5
  272. package/es/Tab/docs/tabdocs.module.css +29 -29
  273. package/es/Tag/Tag.js +9 -14
  274. package/es/Tag/Tag.module.css +254 -254
  275. package/es/Tag/docs/Tag__custom.docs.js +11 -13
  276. package/es/Tag/docs/Tag__default.docs.js +11 -13
  277. package/es/TextBox/TextBox.js +0 -15
  278. package/es/TextBox/TextBox.module.css +157 -157
  279. package/es/TextBox/__tests__/TextBox.spec.js +4 -1
  280. package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  281. package/es/TextBox/docs/TextBox__custom.docs.js +0 -2
  282. package/es/TextBox/docs/TextBox__default.docs.js +0 -2
  283. package/es/TextBox/docs/TextBox__size.docs.js +0 -2
  284. package/es/TextBox/docs/TextBox__variant.docs.js +0 -2
  285. package/es/TextBoxIcon/TextBoxIcon.js +0 -7
  286. package/es/TextBoxIcon/TextBoxIcon.module.css +78 -78
  287. package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +7 -2
  288. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  289. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -2
  290. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -2
  291. package/es/Textarea/Textarea.js +0 -12
  292. package/es/Textarea/Textarea.module.css +139 -139
  293. package/es/Textarea/__tests__/Textarea.spec.js +2 -2
  294. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  295. package/es/Textarea/docs/Textarea__animated.docs.js +0 -2
  296. package/es/Textarea/docs/Textarea__custom.docs.js +0 -2
  297. package/es/Textarea/docs/Textarea__default.docs.js +0 -2
  298. package/es/Textarea/docs/Textarea__disabled.docs.js +0 -2
  299. package/es/Tooltip/Tooltip.js +11 -58
  300. package/es/Tooltip/Tooltip.module.css +109 -109
  301. package/es/Tooltip/__tests__/Tooltip.spec.js +0 -5
  302. package/es/Tooltip/docs/Tooltip__default.docs.js +63 -67
  303. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -3
  304. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -5
  305. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +2 -7
  306. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +17 -28
  307. package/es/common/animation.module.css +624 -624
  308. package/es/common/avatarsizes.module.css +44 -44
  309. package/es/common/basic.module.css +33 -33
  310. package/es/common/basicReset.module.css +40 -40
  311. package/es/common/common.module.css +524 -524
  312. package/es/common/customscroll.module.css +89 -89
  313. package/es/common/docStyle.module.css +887 -766
  314. package/es/common/reset.module.css +12 -12
  315. package/es/common/transition.module.css +146 -146
  316. package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
  317. package/es/deprecated/PortalLayer/PortalLayer.js +17 -25
  318. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -7
  319. package/es/index.js +5 -2
  320. package/es/semantic/Button/Button.js +0 -3
  321. package/es/semantic/Button/docs/Button__default.docs.js +0 -3
  322. package/es/semantic/Button/semanticButton.module.css +9 -9
  323. package/es/utils/Common.js +5 -47
  324. package/es/utils/ContextOptimizer.js +5 -4
  325. package/es/utils/__tests__/debounce.spec.js +2 -2
  326. package/es/utils/constructFullName.js +0 -2
  327. package/es/utils/datetime/common.js +5 -16
  328. package/es/utils/debounce.js +1 -5
  329. package/es/utils/dropDownUtils.js +11 -67
  330. package/es/utils/getInitial.js +0 -4
  331. package/es/utils/shallowEqual.js +0 -6
  332. package/lib/Accordion/Accordion.js +10 -39
  333. package/lib/Accordion/AccordionItem.js +12 -38
  334. package/lib/Accordion/__tests__/Accordion.spec.js +0 -3
  335. package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -22
  336. package/lib/Accordion/index.js +0 -3
  337. package/lib/Accordion/props/propTypes.js +0 -3
  338. package/lib/Animation/Animation.js +12 -37
  339. package/lib/Animation/__tests__/Animation.spec.js +7 -11
  340. package/lib/Animation/docs/Animation__default.docs.js +0 -24
  341. package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -24
  342. package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -24
  343. package/lib/Animation/docs/Animation__skewIn.docs.js +0 -24
  344. package/lib/Animation/docs/Animation__slideDown.docs.js +0 -24
  345. package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -24
  346. package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -24
  347. package/lib/Animation/props/propTypes.js +0 -3
  348. package/lib/AppContainer/AppContainer.js +14 -52
  349. package/lib/AppContainer/AppContainer.module.css +18 -18
  350. package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -23
  351. package/lib/AppContainer/props/propTypes.js +0 -3
  352. package/lib/Avatar/Avatar.js +56 -98
  353. package/lib/Avatar/Avatar.module.css +135 -117
  354. package/lib/Avatar/__tests__/Avatar.spec.js +0 -44
  355. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  356. package/lib/Avatar/docs/Avatar__custom.docs.js +1 -26
  357. package/lib/Avatar/docs/Avatar__default.docs.js +1 -24
  358. package/lib/Avatar/docs/Avatar__palette.docs.js +1 -26
  359. package/lib/Avatar/docs/Avatar__text.docs.js +1 -26
  360. package/lib/Avatar/props/defaultProps.js +2 -1
  361. package/lib/Avatar/props/propTypes.js +2 -4
  362. package/lib/AvatarTeam/AvatarTeam.js +27 -54
  363. package/lib/AvatarTeam/AvatarTeam.module.css +161 -161
  364. package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -13
  365. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  366. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -24
  367. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -24
  368. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -24
  369. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -24
  370. package/lib/AvatarTeam/props/propTypes.js +0 -3
  371. package/lib/Button/Button.js +25 -53
  372. package/lib/Button/Button.module.css +521 -521
  373. package/lib/Button/__tests__/Button.spec.js +0 -40
  374. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  375. package/lib/Button/docs/Button__custom.docs.js +11 -37
  376. package/lib/Button/docs/Button__default.docs.js +11 -36
  377. package/lib/Button/props/defaultProps.js +0 -2
  378. package/lib/Button/props/propTypes.js +0 -3
  379. package/lib/Buttongroup/Buttongroup.js +6 -32
  380. package/lib/Buttongroup/Buttongroup.module.css +89 -89
  381. package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -10
  382. package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  383. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -25
  384. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -25
  385. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -27
  386. package/lib/Buttongroup/props/propTypes.js +0 -3
  387. package/lib/Card/Card.js +45 -106
  388. package/lib/Card/Card.module.css +20 -20
  389. package/lib/Card/__tests__/Card.spec.js +1 -10
  390. package/lib/Card/docs/Card__Custom.docs.js +0 -27
  391. package/lib/Card/docs/Card__Default.docs.js +0 -26
  392. package/lib/Card/docs/Card__Scroll.docs.js +3 -30
  393. package/lib/Card/index.js +0 -4
  394. package/lib/Card/props/propTypes.js +0 -3
  395. package/lib/CheckBox/CheckBox.js +40 -69
  396. package/lib/CheckBox/CheckBox.module.css +157 -157
  397. package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -3
  398. package/lib/CheckBox/docs/CheckBox__custom.docs.js +12 -37
  399. package/lib/CheckBox/docs/CheckBox__default.docs.js +12 -36
  400. package/lib/CheckBox/props/propTypes.js +0 -3
  401. package/lib/DateTime/CalendarView.js +20 -70
  402. package/lib/DateTime/DateTime.js +149 -243
  403. package/lib/DateTime/DateTime.module.css +187 -187
  404. package/lib/DateTime/DateTimePopupFooter.js +5 -30
  405. package/lib/DateTime/DateTimePopupHeader.js +13 -45
  406. package/lib/DateTime/DateWidget.js +243 -349
  407. package/lib/DateTime/DateWidget.module.css +38 -38
  408. package/lib/DateTime/DaysRow.js +2 -26
  409. package/lib/DateTime/Time.js +29 -72
  410. package/lib/DateTime/YearView.js +25 -75
  411. package/lib/DateTime/YearView.module.css +81 -81
  412. package/lib/DateTime/__tests__/CalendarView.spec.js +5 -13
  413. package/lib/DateTime/__tests__/DateTime.spec.js +37 -51
  414. package/lib/DateTime/__tests__/DateWidget.spec.js +8 -10
  415. package/lib/DateTime/common.js +0 -6
  416. package/lib/DateTime/constants.js +0 -1
  417. package/lib/DateTime/dateFormatUtils/dateFormat.js +122 -184
  418. package/lib/DateTime/dateFormatUtils/dayChange.js +7 -14
  419. package/lib/DateTime/dateFormatUtils/index.js +12 -61
  420. package/lib/DateTime/dateFormatUtils/monthChange.js +9 -19
  421. package/lib/DateTime/dateFormatUtils/timeChange.js +20 -52
  422. package/lib/DateTime/dateFormatUtils/yearChange.js +11 -22
  423. package/lib/DateTime/docs/DateTime__default.docs.js +10 -33
  424. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -30
  425. package/lib/DateTime/index.js +0 -2
  426. package/lib/DateTime/objectUtils.js +20 -24
  427. package/lib/DateTime/props/propTypes.js +0 -3
  428. package/lib/DateTime/typeChecker.js +0 -4
  429. package/lib/DateTime/validator.js +6 -69
  430. package/lib/DropBox/DropBox.js +60 -141
  431. package/lib/DropBox/DropBox.module.css +406 -406
  432. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  433. package/lib/DropBox/__tests__/DropBox.spec.js +2 -6
  434. package/lib/DropBox/docs/DropBox__custom.docs.js +25 -50
  435. package/lib/DropBox/docs/DropBox__customOrder.docs.js +9 -36
  436. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +9 -36
  437. package/lib/DropBox/docs/DropBox__position.docs.js +35 -59
  438. package/lib/DropBox/docs/DropBox__size.docs.js +28 -52
  439. package/lib/DropBox/props/defaultProps.js +1 -2
  440. package/lib/DropBox/props/propTypes.js +0 -4
  441. package/lib/DropDown/DropDown.js +3 -53
  442. package/lib/DropDown/DropDown.module.css +5 -5
  443. package/lib/DropDown/DropDownHeading.js +11 -35
  444. package/lib/DropDown/DropDownHeading.module.css +53 -53
  445. package/lib/DropDown/DropDownItem.js +17 -41
  446. package/lib/DropDown/DropDownItem.module.css +94 -94
  447. package/lib/DropDown/DropDownSearch.js +15 -41
  448. package/lib/DropDown/DropDownSearch.module.css +14 -14
  449. package/lib/DropDown/DropDownSeparator.js +1 -23
  450. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  451. package/lib/DropDown/__tests__/DropDown.spec.js +9 -15
  452. package/lib/DropDown/__tests__/DropDownItem.spec.js +4 -9
  453. package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -3
  454. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
  455. package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -22
  456. package/lib/DropDown/props/propTypes.js +0 -5
  457. package/lib/Heading/Heading.js +64 -0
  458. package/lib/Heading/Heading.module.css +5 -0
  459. package/lib/Heading/docs/Heading__default.docs.js +50 -0
  460. package/lib/Heading/props/defaultProps.js +12 -0
  461. package/lib/Heading/props/propTypes.js +19 -0
  462. package/lib/Label/Label.js +11 -36
  463. package/lib/Label/Label.module.css +52 -52
  464. package/lib/Label/LabelColors.module.css +20 -20
  465. package/lib/Label/__tests__/Label.spec.js +1 -14
  466. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  467. package/lib/Label/docs/Label__clipped.docs.js +0 -25
  468. package/lib/Label/docs/Label__custom.docs.js +0 -26
  469. package/lib/Label/docs/Label__palette.docs.js +0 -25
  470. package/lib/Label/docs/Label__size.docs.js +0 -25
  471. package/lib/Label/docs/Label__type.docs.js +0 -25
  472. package/lib/Label/props/propTypes.js +0 -3
  473. package/lib/Layout/Box.js +11 -31
  474. package/lib/Layout/Container.js +10 -29
  475. package/lib/Layout/Layout.module.css +335 -335
  476. package/lib/Layout/__tests__/Box.spec.js +49 -65
  477. package/lib/Layout/__tests__/Container.spec.js +50 -67
  478. package/lib/Layout/docs/Layout__Hidden.docs.js +0 -22
  479. package/lib/Layout/docs/Layout__default.docs.js +0 -21
  480. package/lib/Layout/docs/Layout__four_Column.docs.js +0 -22
  481. package/lib/Layout/docs/Layout__three_Column.docs.js +0 -22
  482. package/lib/Layout/docs/Layout__two_Column.docs.js +0 -22
  483. package/lib/Layout/index.js +0 -4
  484. package/lib/Layout/props/propTypes.js +0 -3
  485. package/lib/Layout/utils.js +0 -10
  486. package/lib/LightNightMode/Colors.json +496 -496
  487. package/lib/LightNightMode/docs/AlternativeColors.docs.js +1 -26
  488. package/lib/ListItem/ListContainer.js +26 -48
  489. package/lib/ListItem/ListItem.js +37 -66
  490. package/lib/ListItem/ListItem.module.css +209 -209
  491. package/lib/ListItem/ListItemWithAvatar.js +41 -72
  492. package/lib/ListItem/ListItemWithCheckBox.js +32 -61
  493. package/lib/ListItem/ListItemWithIcon.js +36 -65
  494. package/lib/ListItem/ListItemWithRadio.js +33 -62
  495. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -24
  496. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -23
  497. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -24
  498. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -23
  499. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -24
  500. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -23
  501. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -24
  502. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -23
  503. package/lib/ListItem/docs/ListItem__custom.docs.js +0 -23
  504. package/lib/ListItem/docs/ListItem__default.docs.js +0 -22
  505. package/lib/ListItem/props/propTypes.js +0 -5
  506. package/lib/Modal/Modal.js +4 -44
  507. package/lib/Modal/__docs__/Modal__default.docs.js +0 -23
  508. package/lib/Modal/props/propTypes.js +0 -3
  509. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +162 -294
  510. package/lib/MultiSelect/AdvancedMultiSelect.js +120 -201
  511. package/lib/MultiSelect/EmptyState.js +21 -44
  512. package/lib/MultiSelect/MultiSelect.js +196 -317
  513. package/lib/MultiSelect/MultiSelect.module.css +205 -205
  514. package/lib/MultiSelect/MultiSelectHeader.js +5 -29
  515. package/lib/MultiSelect/MultiSelectWithAvatar.js +51 -96
  516. package/lib/MultiSelect/SelectedOptions.js +15 -44
  517. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  518. package/lib/MultiSelect/Suggestions.js +26 -59
  519. package/lib/MultiSelect/__tests__/MultiSelect.spec.js +75 -86
  520. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -23
  521. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -28
  522. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -28
  523. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -30
  524. package/lib/MultiSelect/props/defaultProps.js +0 -2
  525. package/lib/MultiSelect/props/propTypes.js +0 -5
  526. package/lib/PopOver/PopOver.js +44 -94
  527. package/lib/PopOver/PopOver.module.css +8 -8
  528. package/lib/PopOver/__tests__/PopOver.spec.js +1 -4
  529. package/lib/PopOver/docs/PopOver__default.docs.js +0 -25
  530. package/lib/PopOver/props/propTypes.js +0 -3
  531. package/lib/Popup/Popup.js +77 -156
  532. package/lib/Popup/PositionMapping.json +73 -73
  533. package/lib/Popup/__tests__/Popup.spec.js +5 -42
  534. package/lib/Popup/viewPort.js +14 -28
  535. package/lib/Provider/AvatarSize.js +0 -4
  536. package/lib/Provider/Config.js +0 -2
  537. package/lib/Provider/CssProvider.js +0 -4
  538. package/lib/Provider/IdProvider.js +3 -17
  539. package/lib/Provider/LibraryContext.js +10 -32
  540. package/lib/Provider/LibraryContextInit.js +0 -4
  541. package/lib/Provider/NumberGenerator/NumberGenerator.js +14 -43
  542. package/lib/Provider/ZindexProvider.js +3 -15
  543. package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -24
  544. package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -5
  545. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -24
  546. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -5
  547. package/lib/Provider.js +38 -64
  548. package/lib/Radio/Radio.js +33 -60
  549. package/lib/Radio/Radio.module.css +112 -112
  550. package/lib/Radio/__tests__/Radiospec.js +5 -9
  551. package/lib/Radio/docs/Radio__custom.docs.js +12 -38
  552. package/lib/Radio/docs/Radio__default.docs.js +12 -37
  553. package/lib/Radio/props/propTypes.js +0 -3
  554. package/lib/Responsive/CustomResponsive.js +23 -67
  555. package/lib/Responsive/RefWrapper.js +7 -15
  556. package/lib/Responsive/ResizeComponent.js +27 -58
  557. package/lib/Responsive/ResizeObserver.js +6 -23
  558. package/lib/Responsive/Responsive.js +24 -76
  559. package/lib/Responsive/docs/Responsive__Custom.docs.js +29 -54
  560. package/lib/Responsive/docs/Responsive__default.docs.js +4 -28
  561. package/lib/Responsive/docs/style.module.css +55 -55
  562. package/lib/Responsive/index.js +0 -2
  563. package/lib/Responsive/props/propTypes.js +0 -3
  564. package/lib/Responsive/sizeObservers.js +13 -51
  565. package/lib/Responsive/utils/index.js +3 -11
  566. package/lib/Responsive/utils/shallowCompare.js +2 -11
  567. package/lib/Responsive/windowResizeObserver.js +0 -8
  568. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +14 -44
  569. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  570. package/lib/ResponsiveDropBox/props/propTypes.js +0 -3
  571. package/lib/Ribbon/Ribbon.js +7 -31
  572. package/lib/Ribbon/Ribbon.module.css +376 -376
  573. package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -22
  574. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  575. package/lib/Ribbon/docs/Ribbon__custom.docs.js +13 -36
  576. package/lib/Ribbon/docs/Ribbon__default.docs.js +13 -35
  577. package/lib/Ribbon/props/propTypes.js +0 -3
  578. package/lib/RippleEffect/RippleEffect.js +7 -18
  579. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  580. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +12 -34
  581. package/lib/RippleEffect/props/propTypes.js +0 -3
  582. package/lib/Select/GroupSelect.js +125 -225
  583. package/lib/Select/Select.js +203 -288
  584. package/lib/Select/Select.module.css +106 -106
  585. package/lib/Select/SelectWithAvatar.js +50 -101
  586. package/lib/Select/SelectWithIcon.js +69 -127
  587. package/lib/Select/__tests__/Select.spec.js +89 -131
  588. package/lib/Select/docs/GroupSelect__default.docs.js +0 -26
  589. package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -28
  590. package/lib/Select/docs/SelectWithIcon__default.docs.js +4 -29
  591. package/lib/Select/docs/Select__default.docs.js +0 -27
  592. package/lib/Select/props/defaultProps.js +0 -4
  593. package/lib/Select/props/propTypes.js +0 -4
  594. package/lib/Stencils/Stencils.js +4 -28
  595. package/lib/Stencils/Stencils.module.css +96 -96
  596. package/lib/Stencils/__tests__/Stencils.spec.js +0 -12
  597. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  598. package/lib/Stencils/docs/Stencils__custom.docs.js +0 -24
  599. package/lib/Stencils/docs/Stencils__default.docs.js +0 -24
  600. package/lib/Stencils/props/propTypes.js +0 -3
  601. package/lib/Switch/Switch.js +27 -55
  602. package/lib/Switch/Switch.module.css +110 -110
  603. package/lib/Switch/docs/Switch__custom.docs.js +12 -35
  604. package/lib/Switch/docs/Switch__default.docs.js +12 -34
  605. package/lib/Switch/props/propTypes.js +0 -3
  606. package/lib/Tab/Tab.js +23 -39
  607. package/lib/Tab/Tab.module.css +101 -101
  608. package/lib/Tab/TabContent.js +4 -11
  609. package/lib/Tab/TabContent.module.css +4 -4
  610. package/lib/Tab/TabContentWrapper.js +5 -12
  611. package/lib/Tab/TabWrapper.js +16 -34
  612. package/lib/Tab/Tabs.js +96 -177
  613. package/lib/Tab/Tabs.module.css +141 -141
  614. package/lib/Tab/__tests__/Tab.spec.js +63 -74
  615. package/lib/Tab/__tests__/TabContent.spec.js +6 -10
  616. package/lib/Tab/__tests__/TabContentWrapper.spec.js +20 -28
  617. package/lib/Tab/__tests__/TabWrapper.spec.js +0 -12
  618. package/lib/Tab/__tests__/Tabs.spec.js +39 -53
  619. package/lib/Tab/docs/Tab__default.docs.js +0 -25
  620. package/lib/Tab/docs/tabdocs.module.css +29 -29
  621. package/lib/Tab/index.js +0 -6
  622. package/lib/Tab/props/propTypes.js +0 -3
  623. package/lib/Tag/Tag.js +45 -78
  624. package/lib/Tag/Tag.module.css +254 -254
  625. package/lib/Tag/__tests__/Tag.spec.js +8 -14
  626. package/lib/Tag/docs/Tag__custom.docs.js +11 -37
  627. package/lib/Tag/docs/Tag__default.docs.js +11 -36
  628. package/lib/Tag/props/propTypes.js +0 -3
  629. package/lib/TextBox/TextBox.js +52 -83
  630. package/lib/TextBox/TextBox.module.css +157 -157
  631. package/lib/TextBox/__tests__/TextBox.spec.js +4 -14
  632. package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  633. package/lib/TextBox/docs/TextBox__custom.docs.js +0 -26
  634. package/lib/TextBox/docs/TextBox__default.docs.js +0 -26
  635. package/lib/TextBox/docs/TextBox__size.docs.js +0 -26
  636. package/lib/TextBox/docs/TextBox__variant.docs.js +0 -26
  637. package/lib/TextBox/props/propTypes.js +0 -5
  638. package/lib/TextBoxIcon/TextBoxIcon.js +48 -80
  639. package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
  640. package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +5 -14
  641. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  642. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -27
  643. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -27
  644. package/lib/TextBoxIcon/props/propTypes.js +0 -3
  645. package/lib/Textarea/Textarea.js +22 -52
  646. package/lib/Textarea/Textarea.module.css +139 -139
  647. package/lib/Textarea/__tests__/Textarea.spec.js +2 -14
  648. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  649. package/lib/Textarea/docs/Textarea__animated.docs.js +0 -25
  650. package/lib/Textarea/docs/Textarea__custom.docs.js +0 -26
  651. package/lib/Textarea/docs/Textarea__default.docs.js +0 -25
  652. package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -25
  653. package/lib/Textarea/props/propTypes.js +0 -3
  654. package/lib/Tooltip/Tooltip.js +25 -92
  655. package/lib/Tooltip/Tooltip.module.css +109 -109
  656. package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -23
  657. package/lib/Tooltip/docs/Tooltip__default.docs.js +63 -91
  658. package/lib/Tooltip/props/propTypes.js +0 -3
  659. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +11 -39
  660. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -29
  661. package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -3
  662. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +18 -51
  663. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +22 -54
  664. package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -3
  665. package/lib/common/animation.module.css +624 -624
  666. package/lib/common/avatarsizes.module.css +44 -44
  667. package/lib/common/basic.module.css +33 -33
  668. package/lib/common/basicReset.module.css +40 -40
  669. package/lib/common/common.module.css +524 -524
  670. package/lib/common/customscroll.module.css +89 -89
  671. package/lib/common/docStyle.module.css +887 -766
  672. package/lib/common/reset.module.css +12 -12
  673. package/lib/common/transition.module.css +146 -146
  674. package/lib/css.js +0 -39
  675. package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
  676. package/lib/deprecated/PortalLayer/PortalLayer.js +17 -45
  677. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -36
  678. package/lib/deprecated/PortalLayer/props/propTypes.js +0 -3
  679. package/lib/index.js +17 -157
  680. package/lib/semantic/Button/Button.js +17 -41
  681. package/lib/semantic/Button/docs/Button__default.docs.js +0 -23
  682. package/lib/semantic/Button/props/propTypes.js +0 -3
  683. package/lib/semantic/Button/semanticButton.module.css +9 -9
  684. package/lib/utils/Common.js +11 -95
  685. package/lib/utils/ContextOptimizer.js +10 -16
  686. package/lib/utils/__tests__/constructFullName.spec.js +0 -1
  687. package/lib/utils/__tests__/debounce.spec.js +2 -3
  688. package/lib/utils/__tests__/getInitial.spec.js +0 -1
  689. package/lib/utils/constructFullName.js +2 -11
  690. package/lib/utils/datetime/common.js +5 -32
  691. package/lib/utils/debounce.js +1 -6
  692. package/lib/utils/dropDownUtils.js +54 -171
  693. package/lib/utils/dummyFunction.js +0 -2
  694. package/lib/utils/getHTMLFontSize.js +0 -1
  695. package/lib/utils/getInitial.js +0 -6
  696. package/lib/utils/scrollTo.js +0 -2
  697. package/lib/utils/shallowEqual.js +0 -8
  698. package/package.json +76 -77
@@ -1,56 +1,56 @@
1
- .header{
2
- color: #fff;
3
- font-size: 24px;
4
- background-color: #c60000;
5
- padding: 10px;
6
- text-align: center;
7
- margin: 10px 6px;
8
- }[dir=ltr] .header{
9
- box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
10
- }[dir=rtl] .header{
11
- box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
12
- }
13
- .box{
14
- height: 80px;
15
- line-height: 80px;
16
- min-width: 300px;
17
- background-color: #ffbb11;
18
- text-align: center;
19
- margin:6px;
20
- padding: 0 100x;
21
- }
22
- .selected{
23
- background-color: #60de55
24
- }
25
- .subHeading{
26
- position: sticky;
27
- top: 0;
28
- text-align: center;
29
- padding: 10px;
30
- background-color: #fff
31
- }
32
-
33
- /* ---layout css--- */
34
- .contentBar{
35
- height: 20px;
36
- background-color: rgb(142, 156, 169);
37
- margin: 6px 10px
38
- }
39
- .wrapper{
40
- position: absolute;
41
- width: 60%;
42
- top: 50%;
43
- border: 1px solid #aaa;
44
- border-radius: 4px
45
- }
46
- [dir=ltr] .wrapper{
47
- transform: translate(-50%,-50%);
48
- left: 50%
49
- }
50
- [dir=rtl] .wrapper{
51
- transform: translate(50%,-50%);
52
- right: 50%
53
- }
54
- .avatar{
55
- margin:20px auto
1
+ .header{
2
+ color: #fff;
3
+ font-size: 24px;
4
+ background-color: #c60000;
5
+ padding: 10px;
6
+ text-align: center;
7
+ margin: 10px 6px;
8
+ }[dir=ltr] .header{
9
+ box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
10
+ }[dir=rtl] .header{
11
+ box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
12
+ }
13
+ .box{
14
+ height: 80px;
15
+ line-height: 80px;
16
+ min-width: 300px;
17
+ background-color: #ffbb11;
18
+ text-align: center;
19
+ margin:6px;
20
+ padding: 0 100x;
21
+ }
22
+ .selected{
23
+ background-color: #60de55
24
+ }
25
+ .subHeading{
26
+ position: sticky;
27
+ top: 0;
28
+ text-align: center;
29
+ padding: 10px;
30
+ background-color: #fff
31
+ }
32
+
33
+ /* ---layout css--- */
34
+ .contentBar{
35
+ height: 20px;
36
+ background-color: rgb(142, 156, 169);
37
+ margin: 6px 10px
38
+ }
39
+ .wrapper{
40
+ position: absolute;
41
+ width: 60%;
42
+ top: 50%;
43
+ border: 1px solid #aaa;
44
+ border-radius: 4px
45
+ }
46
+ [dir=ltr] .wrapper{
47
+ transform: translate(-50%,-50%);
48
+ left: 50%
49
+ }
50
+ [dir=rtl] .wrapper{
51
+ transform: translate(50%,-50%);
52
+ right: 50%
53
+ }
54
+ .avatar{
55
+ margin:20px auto
56
56
  }
@@ -7,9 +7,7 @@ var _exportNames = {
7
7
  Responsive: true
8
8
  };
9
9
  exports.Responsive = void 0;
10
-
11
10
  var _Responsive = require("./Responsive");
12
-
13
11
  Object.keys(_Responsive).forEach(function (key) {
14
12
  if (key === "default" || key === "__esModule") return;
15
13
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ResponsiveSender_propTypes = exports.ResponsiveReceiver_propTypes = exports.CustomResponsiveSender_propTypes = exports.CustomResponsiveReceiver_propTypes = void 0;
7
-
8
7
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  var CustomResponsiveSender_propTypes = {
13
10
  children: _propTypes["default"].any.isRequired,
14
11
  domRefKey: _propTypes["default"].string,
@@ -1,89 +1,69 @@
1
1
  "use strict";
2
2
 
3
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
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.Subscribale = void 0;
9
8
  exports.isBreackPointMatched = isBreackPointMatched;
10
9
  exports.windowResizeObserver = exports.isTouchDevice = void 0;
11
-
12
10
  function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
13
-
14
11
  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
15
-
16
12
  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); }
17
-
18
13
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
-
20
14
  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); }; }
21
-
22
15
  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); }
23
-
24
16
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
-
26
17
  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; } }
27
-
28
18
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
-
30
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
-
32
20
  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
21
  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
22
  var breakPointKeys = {
37
23
  minHeight: true,
38
24
  maxHeight: true,
39
25
  minWidth: true,
40
26
  maxWidth: true
41
27
  };
42
-
43
28
  function isValideBreakPoint(breakPoint) {
44
29
  return Object.keys(breakPoint).every(function (key) {
45
30
  return breakPointKeys[key];
46
31
  });
47
32
  }
48
-
49
33
  function rangeCheck(minValue, maxValue, screenValue) {
50
34
  if (minValue === undefined) {
51
35
  if (maxValue === undefined) {
52
36
  return undefined;
53
37
  }
54
-
55
38
  return maxValue >= screenValue;
56
39
  }
57
-
58
40
  if (maxValue === undefined) {
59
41
  return minValue <= screenValue;
60
42
  }
61
-
62
43
  return minValue <= screenValue && maxValue >= screenValue;
63
44
  }
64
-
65
45
  function isTouchDeviceFunc() {
66
46
  // return window.matchMedia("(pointer: coarse)").matches
67
47
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
68
- } // export const isTouchDevice =
69
- // 'ontouchstart' in window && navigator.userAgent.match(/mobi/i) ? true : false;
70
-
48
+ }
71
49
 
50
+ // export const isTouchDevice =
51
+ // 'ontouchstart' in window && navigator.userAgent.match(/mobi/i) ? true : false;
72
52
  var isTouchDevice = isTouchDeviceFunc();
73
53
  exports.isTouchDevice = isTouchDevice;
74
-
75
54
  function isBreackPointMatched(object, screen) {
76
55
  if (!isValideBreakPoint(object)) {
77
56
  // eslint-disable-next-line no-console
78
- console.error('only minHeight,maxHeight,minWidth,maxWidth these keys are allowed, your object', JSON.stringify(object)); // return;
57
+ console.error('only minHeight,maxHeight,minWidth,maxWidth these keys are allowed, your object', JSON.stringify(object));
58
+ // return;
79
59
  }
80
60
 
81
61
  var screenWidth = screen.width,
82
- screenHeight = screen.height;
62
+ screenHeight = screen.height;
83
63
  var minWidth = object.minWidth,
84
- maxWidth = object.maxWidth,
85
- minHeight = object.minHeight,
86
- maxHeight = object.maxHeight;
64
+ maxWidth = object.maxWidth,
65
+ minHeight = object.minHeight,
66
+ maxHeight = object.maxHeight;
87
67
  var isWidth = rangeCheck(minWidth, maxWidth, screenWidth);
88
68
  var isHeight = rangeCheck(minHeight, maxHeight, screenHeight);
89
69
  return {
@@ -91,14 +71,11 @@ function isBreackPointMatched(object, screen) {
91
71
  isWidth: isWidth
92
72
  };
93
73
  }
94
-
95
74
  var Subscribale = /*#__PURE__*/function () {
96
75
  function Subscribale() {
97
76
  _classCallCheck(this, Subscribale);
98
-
99
77
  this.subscribers = [];
100
78
  }
101
-
102
79
  _createClass(Subscribale, [{
103
80
  key: "connect",
104
81
  value: function connect() {}
@@ -125,34 +102,28 @@ var Subscribale = /*#__PURE__*/function () {
125
102
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
126
103
  args[_key] = arguments[_key];
127
104
  }
128
-
129
105
  this.subscribers.forEach(function (subscriber) {
130
106
  subscriber.apply(void 0, args);
131
107
  });
132
108
  }
133
109
  }]);
134
-
135
110
  return Subscribale;
136
111
  }();
137
-
138
112
  exports.Subscribale = Subscribale;
139
-
140
113
  var InitSubscribale = /*#__PURE__*/function (_Subscribale) {
141
114
  _inherits(InitSubscribale, _Subscribale);
142
-
143
115
  var _super = _createSuper(InitSubscribale);
144
-
145
116
  function InitSubscribale() {
146
117
  _classCallCheck(this, InitSubscribale);
147
-
148
118
  return _super.apply(this, arguments);
149
119
  }
150
-
151
120
  _createClass(InitSubscribale, [{
152
121
  key: "connect",
153
- value: // must be OverWrite
154
- function connect() {} // must be OverWrite
122
+ value:
123
+ // must be OverWrite
124
+ function connect() {}
155
125
 
126
+ // must be OverWrite
156
127
  }, {
157
128
  key: "disconnect",
158
129
  value: function disconnect() {}
@@ -160,28 +131,23 @@ var InitSubscribale = /*#__PURE__*/function (_Subscribale) {
160
131
  key: "subscribe",
161
132
  value: function subscribe(func) {
162
133
  !this.subscribers.length && this.connect();
163
-
164
134
  _get(_getPrototypeOf(InitSubscribale.prototype), "subscribe", this).call(this, func);
165
135
  }
166
136
  }, {
167
137
  key: "unsubscribe",
168
138
  value: function unsubscribe(func) {
169
139
  _get(_getPrototypeOf(InitSubscribale.prototype), "unsubscribe", this).call(this, func);
170
-
171
140
  !this.subscribers.length && this.disconnect();
172
141
  }
173
142
  }]);
174
-
175
143
  return InitSubscribale;
176
144
  }(Subscribale);
177
-
178
145
  var windowResizeObserver = function () {
179
146
  var subscribaleInstance = new InitSubscribale();
180
147
  var size = {
181
148
  heigth: window.innerHeight,
182
149
  width: window.innerWidth
183
150
  };
184
-
185
151
  function handleResize() {
186
152
  var newSize = {
187
153
  height: window.innerHeight,
@@ -190,16 +156,13 @@ var windowResizeObserver = function () {
190
156
  size = newSize;
191
157
  subscribaleInstance.dispatch(newSize);
192
158
  }
193
-
194
159
  function addResizeListener() {
195
160
  window.addEventListener('resize', handleResize);
196
161
  handleResize();
197
162
  }
198
-
199
163
  function removeResizeListener() {
200
164
  window.removeEventListener('resize', handleResize);
201
165
  }
202
-
203
166
  subscribaleInstance.connect = addResizeListener;
204
167
  subscribaleInstance.disconnect = removeResizeListener;
205
168
  return {
@@ -210,5 +173,4 @@ var windowResizeObserver = function () {
210
173
  isParentSize: true
211
174
  };
212
175
  }();
213
-
214
176
  exports.windowResizeObserver = windowResizeObserver;
@@ -7,9 +7,7 @@ exports.breakPoints = void 0;
7
7
  exports.defaultMatcher = defaultMatcher;
8
8
  exports.getBreakPointValue = getBreakPointValue;
9
9
  exports.sortedBreackPointKey = void 0;
10
-
11
10
  var _getHTMLFontSize = require("../../utils/getHTMLFontSize");
12
-
13
11
  var breakPoints = {
14
12
  // common break points
15
13
  MOBILE: 30,
@@ -22,6 +20,7 @@ var breakPoints = {
22
20
  //1024
23
21
  LAPTOP: 90,
24
22
  //1440
23
+
25
24
  // other break points
26
25
  MOBILE_XS: 20,
27
26
  //320
@@ -36,35 +35,28 @@ var breakPoints = {
36
35
  MONITOR_M: 100,
37
36
  //1600
38
37
  MONITOR: 120 //1920
39
-
40
38
  };
41
39
  exports.breakPoints = breakPoints;
42
-
43
40
  function getBreakPointValue(breakPoint) {
44
- return breakPoints[breakPoint] * (0, _getHTMLFontSize.getHTMLFontSize)(); // return breakPoints[breakPoint] * 16;
41
+ return breakPoints[breakPoint] * (0, _getHTMLFontSize.getHTMLFontSize)();
42
+ // return breakPoints[breakPoint] * 16;
45
43
  }
46
44
 
47
45
  var sortedBreackPointKey = Object.keys(breakPoints).sort(function (a, b) {
48
46
  return breakPoints[a] - breakPoints[b];
49
47
  });
50
48
  exports.sortedBreackPointKey = sortedBreackPointKey;
51
-
52
49
  function defaultMatcher(size) {
53
50
  var currentSize = '';
54
-
55
51
  if (!size) {
56
52
  return currentSize;
57
53
  }
58
-
59
54
  var key;
60
-
61
55
  for (var i = 0; i < sortedBreackPointKey.length; i++) {
62
56
  key = sortedBreackPointKey[i];
63
-
64
57
  if (getBreakPointValue(key) >= size.width) {
65
58
  break;
66
59
  }
67
60
  }
68
-
69
61
  return key;
70
62
  }
@@ -4,35 +4,26 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = shallowCompare;
7
-
8
7
  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); }
9
-
10
8
  function isSame(a, b) {
11
9
  return a === b;
12
10
  }
13
-
14
11
  var hasOwnProperty = Object.prototype.hasOwnProperty;
15
-
16
12
  function shallowCompare(objA, objB) {
17
13
  if (objA && objB && _typeof(objA) === 'object' && _typeof(objB) === 'object') {
18
14
  var keysA = Object.keys(objA);
19
15
  var keysB = Object.keys(objB);
20
-
21
16
  if (keysA.length !== keysB.length) {
22
17
  return false;
23
- } // Test for A's keys different from B.
24
-
25
-
18
+ }
19
+ // Test for A's keys different from B.
26
20
  for (var _i = 0, _keysA = keysA; _i < _keysA.length; _i++) {
27
21
  var key = _keysA[_i];
28
-
29
22
  if (!hasOwnProperty.call(objB, key) || !isSame(objA[key], objB[key])) {
30
23
  return false;
31
24
  }
32
25
  }
33
-
34
26
  return true;
35
27
  }
36
-
37
28
  return isSame(objA, objB);
38
29
  }
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.windowResizeObserver = void 0;
7
-
8
7
  var _utils = require("./utils/");
9
-
10
8
  var windowResizeObserver = function () {
11
9
  var listeners = [];
12
10
  var size = {
@@ -14,7 +12,6 @@ var windowResizeObserver = function () {
14
12
  width: 0
15
13
  };
16
14
  var breackPoint = null;
17
-
18
15
  function handleResize() {
19
16
  var newSize = {
20
17
  height: window.innerHeight,
@@ -22,7 +19,6 @@ var windowResizeObserver = function () {
22
19
  };
23
20
  size = newSize;
24
21
  var newBreackPoint = (0, _utils.defaultMatcher)(size);
25
-
26
22
  if (newBreackPoint !== breackPoint) {
27
23
  breackPoint = newBreackPoint;
28
24
  listeners.forEach(function (listener) {
@@ -30,16 +26,13 @@ var windowResizeObserver = function () {
30
26
  });
31
27
  }
32
28
  }
33
-
34
29
  function addResizeListener() {
35
30
  window.addEventListener('resize', handleResize);
36
31
  handleResize();
37
32
  }
38
-
39
33
  function removeResizeListener() {
40
34
  window.removeEventListener('resize', handleResize);
41
35
  }
42
-
43
36
  return {
44
37
  observe: function observe(listener) {
45
38
  listeners.push(listener);
@@ -59,5 +52,4 @@ var windowResizeObserver = function () {
59
52
  }
60
53
  };
61
54
  }();
62
-
63
55
  exports.windowResizeObserver = windowResizeObserver;
@@ -1,69 +1,41 @@
1
1
  "use strict";
2
2
 
3
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
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports["default"] = void 0;
9
-
10
8
  var _react = _interopRequireWildcard(require("react"));
11
-
12
9
  var _defaultProps = require("./props/defaultProps");
13
-
14
10
  var _propTypes = require("./props/propTypes");
15
-
16
11
  var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
17
-
18
12
  var _Layout = require("../Layout");
19
-
20
13
  var _CustomResponsive = require("../Responsive/CustomResponsive");
21
-
22
14
  var _ResponsiveDropBoxModule = _interopRequireDefault(require("./ResponsiveDropBox.module.css"));
23
-
24
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
-
26
16
  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); }
27
-
28
17
  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; }
29
-
30
18
  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); }
31
-
32
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
33
-
34
20
  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); } }
35
-
36
21
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37
-
38
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); }
39
-
40
23
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
41
-
42
24
  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); }; }
43
-
44
25
  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); }
45
-
46
26
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47
-
48
27
  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; } }
49
-
50
28
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
51
-
52
29
  var ResponsiveDropBox = /*#__PURE__*/function (_Component) {
53
30
  _inherits(ResponsiveDropBox, _Component);
54
-
55
31
  var _super = _createSuper(ResponsiveDropBox);
56
-
57
32
  function ResponsiveDropBox(props) {
58
33
  var _this;
59
-
60
34
  _classCallCheck(this, ResponsiveDropBox);
61
-
62
35
  _this = _super.call(this, props);
63
36
  _this.responsiveFunc = _this.responsiveFunc.bind(_assertThisInitialized(_this));
64
37
  return _this;
65
38
  }
66
-
67
39
  _createClass(ResponsiveDropBox, [{
68
40
  key: "responsiveFunc",
69
41
  value: function responsiveFunc(_ref) {
@@ -78,21 +50,21 @@ var ResponsiveDropBox = /*#__PURE__*/function (_Component) {
78
50
  key: "render",
79
51
  value: function render() {
80
52
  var _this$props = this.props,
81
- children = _this$props.children,
82
- _this$props$customCla = _this$props.customClass,
83
- customClass = _this$props$customCla === void 0 ? {} : _this$props$customCla,
84
- isResponsivePadding = _this$props.isResponsivePadding,
85
- alignBox = _this$props.alignBox;
53
+ children = _this$props.children,
54
+ _this$props$customCla = _this$props.customClass,
55
+ customClass = _this$props$customCla === void 0 ? {} : _this$props$customCla,
56
+ isResponsivePadding = _this$props.isResponsivePadding,
57
+ alignBox = _this$props.alignBox;
86
58
  var _customClass$customDr = customClass.customDropBox,
87
- customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
88
- _customClass$customMo = customClass.customMobileDropBox,
89
- customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
90
- _customClass$customDr2 = customClass.customDropBoxWrap,
91
- customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
92
- _customClass$customMo2 = customClass.customMobileDropBoxWrap,
93
- customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2,
94
- _customClass$customRe = customClass.customResponsiveContainer,
95
- customResponsiveContainer = _customClass$customRe === void 0 ? '' : _customClass$customRe;
59
+ customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
60
+ _customClass$customMo = customClass.customMobileDropBox,
61
+ customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
62
+ _customClass$customDr2 = customClass.customDropBoxWrap,
63
+ customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
64
+ _customClass$customMo2 = customClass.customMobileDropBoxWrap,
65
+ customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2,
66
+ _customClass$customRe = customClass.customResponsiveContainer,
67
+ customResponsiveContainer = _customClass$customRe === void 0 ? '' : _customClass$customRe;
96
68
  var dropBoxClasses = {
97
69
  customDropBox: "".concat(customDropBox),
98
70
  customMobileDropBox: "".concat(customMobileDropBox),
@@ -115,10 +87,8 @@ var ResponsiveDropBox = /*#__PURE__*/function (_Component) {
115
87
  }));
116
88
  }
117
89
  }]);
118
-
119
90
  return ResponsiveDropBox;
120
91
  }(_react.Component);
121
-
122
92
  exports["default"] = ResponsiveDropBox;
123
93
  ResponsiveDropBox.propTypes = _propTypes.propTypes;
124
94
  ResponsiveDropBox.defaultProps = _defaultProps.defaultProps;
@@ -1,6 +1,6 @@
1
- .dropBoxContainer {
2
- max-height: 70vh;
3
- }
4
- .boxPadding{
5
- padding-bottom: var(--zd_size10);
6
- }
1
+ .dropBoxContainer {
2
+ max-height: 70vh;
3
+ }
4
+ .boxPadding{
5
+ padding-bottom: var(--zd_size10);
6
+ }
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.propTypes = void 0;
7
-
8
7
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  var propTypes = {
13
10
  children: _propTypes["default"].element,
14
11
  customClass: _propTypes["default"].object,