@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,85 +1,51 @@
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"] = exports.DropBoxElement = 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 _Common = require("../utils/Common");
17
-
18
12
  var _Modal = _interopRequireDefault(require("../Modal/Modal"));
19
-
20
13
  var _DropBoxModule = _interopRequireDefault(require("./DropBox.module.css"));
21
-
22
14
  var _DropBoxPositionMapping = require("./DropBoxPositionMapping.json");
23
-
24
15
  var _ZindexProvider = require("../Provider/ZindexProvider");
25
-
26
16
  var _Config = require("../Provider/Config");
27
-
28
17
  var _LibraryContextInit = _interopRequireDefault(require("../Provider/LibraryContextInit"));
29
-
30
- var _FocusScope = _interopRequireDefault(require("@zohodesk/a11y/es/FocusScope/FocusScope"));
31
-
32
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
33
-
34
19
  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); }
35
-
36
20
  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; }
37
-
38
21
  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); }
39
-
40
22
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41
-
42
23
  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); } }
43
-
44
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45
-
46
25
  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); }
47
-
48
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
49
-
50
27
  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); }; }
51
-
52
28
  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); }
53
-
54
29
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
55
-
56
30
  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; } }
57
-
58
31
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
59
-
60
32
  var DropBoxElement = /*#__PURE__*/function (_React$Component) {
61
33
  _inherits(DropBoxElement, _React$Component);
62
-
63
34
  var _super = _createSuper(DropBoxElement);
64
-
65
35
  function DropBoxElement(props) {
66
36
  var _this;
67
-
68
37
  _classCallCheck(this, DropBoxElement);
69
-
70
38
  _this = _super.call(this, props);
71
39
  _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
72
40
  return _this;
73
41
  }
74
-
75
42
  _createClass(DropBoxElement, [{
76
43
  key: "getRef",
77
44
  value: function getRef(ele) {
78
45
  var _this$props = this.props,
79
- getRef = _this$props.getRef,
80
- forwardRef = _this$props.forwardRef;
46
+ getRef = _this$props.getRef,
47
+ forwardRef = _this$props.forwardRef;
81
48
  getRef && getRef(ele);
82
-
83
49
  if (forwardRef) {
84
50
  forwardRef.current = ele;
85
51
  }
@@ -88,66 +54,61 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
88
54
  key: "render",
89
55
  value: function render() {
90
56
  var _this$props2 = this.props,
91
- children = _this$props2.children,
92
- isAnimate = _this$props2.isAnimate,
93
- isArrow = _this$props2.isArrow,
94
- arrowPosition = _this$props2.arrowPosition,
95
- boxPosition = _this$props2.boxPosition,
96
- size = _this$props2.size,
97
- right = _this$props2.right,
98
- left = _this$props2.left,
99
- top = _this$props2.top,
100
- arrowRight = _this$props2.arrowRight,
101
- arrowLeft = _this$props2.arrowLeft,
102
- arrowTop = _this$props2.arrowTop,
103
- arrowBottom = _this$props2.arrowBottom,
104
- bottom = _this$props2.bottom,
105
- onClick = _this$props2.onClick,
106
- isRadius = _this$props2.isRadius,
107
- animationStyle = _this$props2.animationStyle,
108
- isActive = _this$props2.isActive,
109
- dataId = _this$props2.dataId,
110
- isModel = _this$props2.isModel,
111
- isAbsolutePositioningNeeded = _this$props2.isAbsolutePositioningNeeded,
112
- tourId = _this$props2.tourId,
113
- isBoxPaddingNeed = _this$props2.isBoxPaddingNeed,
114
- isPadding = _this$props2.isPadding,
115
- customClass = _this$props2.customClass,
116
- htmlId = _this$props2.htmlId,
117
- a11y = _this$props2.a11y,
118
- direction = _this$props2.direction,
119
- tabIndex = _this$props2.tabIndex,
120
- palette = _this$props2.palette,
121
- positionsOffset = _this$props2.positionsOffset,
122
- targetOffset = _this$props2.targetOffset,
123
- zIndexStyle = _this$props2.zIndexStyle,
124
- customStyle = _this$props2.customStyle,
125
- subContainerRef = _this$props2.subContainerRef;
126
-
57
+ children = _this$props2.children,
58
+ isAnimate = _this$props2.isAnimate,
59
+ isArrow = _this$props2.isArrow,
60
+ arrowPosition = _this$props2.arrowPosition,
61
+ boxPosition = _this$props2.boxPosition,
62
+ size = _this$props2.size,
63
+ right = _this$props2.right,
64
+ left = _this$props2.left,
65
+ top = _this$props2.top,
66
+ arrowRight = _this$props2.arrowRight,
67
+ arrowLeft = _this$props2.arrowLeft,
68
+ arrowTop = _this$props2.arrowTop,
69
+ arrowBottom = _this$props2.arrowBottom,
70
+ bottom = _this$props2.bottom,
71
+ onClick = _this$props2.onClick,
72
+ isRadius = _this$props2.isRadius,
73
+ animationStyle = _this$props2.animationStyle,
74
+ isActive = _this$props2.isActive,
75
+ dataId = _this$props2.dataId,
76
+ isModel = _this$props2.isModel,
77
+ isAbsolutePositioningNeeded = _this$props2.isAbsolutePositioningNeeded,
78
+ tourId = _this$props2.tourId,
79
+ isBoxPaddingNeed = _this$props2.isBoxPaddingNeed,
80
+ isPadding = _this$props2.isPadding,
81
+ customClass = _this$props2.customClass,
82
+ htmlId = _this$props2.htmlId,
83
+ a11y = _this$props2.a11y,
84
+ direction = _this$props2.direction,
85
+ tabIndex = _this$props2.tabIndex,
86
+ palette = _this$props2.palette,
87
+ positionsOffset = _this$props2.positionsOffset,
88
+ targetOffset = _this$props2.targetOffset,
89
+ zIndexStyle = _this$props2.zIndexStyle,
90
+ customStyle = _this$props2.customStyle;
127
91
  var _ref = this.context || {},
128
- isReducedMotion = _ref.isReducedMotion;
129
-
92
+ isReducedMotion = _ref.isReducedMotion;
130
93
  if (!isAbsolutePositioningNeeded && size === 'default' && !isActive) {
131
94
  isAbsolutePositioningNeeded = true;
132
95
  }
133
-
134
96
  var role = a11y.role,
135
- ariaMultiselectable = a11y.ariaMultiselectable,
136
- ariaLabelledby = a11y.ariaLabelledby;
97
+ ariaMultiselectable = a11y.ariaMultiselectable,
98
+ ariaLabelledby = a11y.ariaLabelledby;
137
99
  var _customClass$customDr = customClass.customDropBox,
138
- customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
139
- _customClass$customMo = customClass.customMobileDropBox,
140
- customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
141
- _customClass$customDr2 = customClass.customDropBoxWrap,
142
- customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
143
- _customClass$customMo2 = customClass.customMobileDropBoxWrap,
144
- customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2;
100
+ customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
101
+ _customClass$customMo = customClass.customMobileDropBox,
102
+ customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
103
+ _customClass$customDr2 = customClass.customDropBoxWrap,
104
+ customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
105
+ _customClass$customMo2 = customClass.customMobileDropBoxWrap,
106
+ customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2;
145
107
  var unit = 'rem';
146
108
  var boxstyle = {};
147
109
  var arrowstyle = {};
148
110
  var needBoxStyle = right || left || top || bottom;
149
111
  var needArrowStyle = arrowLeft || arrowRight || arrowTop || arrowBottom;
150
-
151
112
  if (needBoxStyle) {
152
113
  boxstyle = !isModel ? direction === 'rtl' ? {
153
114
  right: [(0, _Common.remConvert)(left)] + unit,
@@ -161,7 +122,6 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
161
122
  bottom: [(0, _Common.remConvert)(bottom)] + unit
162
123
  } : {};
163
124
  }
164
-
165
125
  if (needArrowStyle) {
166
126
  arrowstyle = !isModel ? direction === 'rtl' ? {
167
127
  right: [(0, _Common.remConvert)(arrowLeft)] + unit,
@@ -175,37 +135,30 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
175
135
  bottom: [(0, _Common.remConvert)(arrowBottom)] + unit
176
136
  } : {};
177
137
  }
178
-
179
138
  boxPosition = boxPosition && boxPosition != 'undefined' ? boxPosition : 'bottomCenter';
180
- var boxDirection = _DropBoxPositionMapping.positionMapping[boxPosition].direction;
181
- /*getting box direction*/
182
-
139
+ var boxDirection = _DropBoxPositionMapping.positionMapping[boxPosition].direction; /*getting box direction*/
183
140
  if (isAbsolutePositioningNeeded) {
184
141
  arrowPosition = arrowPosition ? arrowPosition : _DropBoxPositionMapping.positionMapping[boxPosition].arrowPosition;
185
142
  boxPosition = _DropBoxPositionMapping.positionMapping[boxPosition].positionStyle;
186
143
  } else {
187
144
  arrowPosition = _DropBoxPositionMapping.positionMapping[boxPosition].arrowPosition;
188
145
  }
189
-
190
146
  var boxClassName = "".concat(_DropBoxModule["default"].main, " ").concat(!isActive ? _DropBoxModule["default"].hidden : '', " ").concat(isModel ? "".concat(_DropBoxModule["default"].responsive, " ").concat(customMobileDropBoxWrap) : "".concat(customDropBoxWrap, " ").concat(size ? _DropBoxModule["default"][size] : '', " ").concat(isActive ? "".concat(isArrow ? "".concat(_DropBoxModule["default"][boxDirection], " ").concat(isAbsolutePositioningNeeded ? _DropBoxModule["default"]["arrow".concat(boxDirection)] : '') : isPadding ? _DropBoxModule["default"]["paddingSpace_".concat(boxDirection)] : '') : '', " ").concat(isAbsolutePositioningNeeded ? "".concat(_DropBoxModule["default"].container, " ").concat(_DropBoxModule["default"][boxPosition]) : _DropBoxModule["default"].fixedContainer));
191
- var subContainerClass = "".concat(_DropBoxModule["default"].subContainer, " ").concat(isModel ? " ".concat(customMobileDropBox, " ").concat(_DropBoxModule["default"].mobRadius, " ").concat(isActive ? _DropBoxModule["default"].slideUp : '', " ") : "".concat(customDropBox, " ").concat(_DropBoxModule["default"]["".concat(boxDirection, "_shadow")], " ").concat(isRadius ? _DropBoxModule["default"].radius : '', " ").concat(isAnimate && !isReducedMotion && isActive ? animationStyle === 'default' ? _DropBoxModule["default"].fadeIn : _DropBoxModule["default"].bounce : '', " ").concat(isBoxPaddingNeed ? _DropBoxModule["default"].boxPadding : '')); // setting inlineStyle for dropbox
147
+ var subContainerClass = "".concat(_DropBoxModule["default"].subContainer, " ").concat(isModel ? " ".concat(customMobileDropBox, " ").concat(_DropBoxModule["default"].mobRadius, " ").concat(isActive ? _DropBoxModule["default"].slideUp : '', " ") : "".concat(customDropBox, " ").concat(_DropBoxModule["default"]["".concat(boxDirection, "_shadow")], " ").concat(isRadius ? _DropBoxModule["default"].radius : '', " ").concat(isAnimate && !isReducedMotion && isActive ? animationStyle === 'default' ? _DropBoxModule["default"].fadeIn : _DropBoxModule["default"].bounce : '', " ").concat(isBoxPaddingNeed ? _DropBoxModule["default"].boxPadding : ''));
192
148
 
149
+ // setting inlineStyle for dropbox
193
150
  var inlineStyle = !isModel ? isAbsolutePositioningNeeded ? needBoxStyle && boxstyle : positionsOffset && positionsOffset[boxPosition] || {} : {};
194
-
195
151
  if (zIndexStyle) {
196
152
  inlineStyle = Object.assign({}, inlineStyle, zIndexStyle);
197
153
  }
198
-
199
154
  if (!isModel && !isAbsolutePositioningNeeded && size === 'default' && targetOffset && isActive) {
200
155
  inlineStyle = Object.assign({}, inlineStyle, {
201
156
  width: targetOffset.width
202
157
  });
203
158
  }
204
-
205
159
  if (customStyle) {
206
160
  inlineStyle = Object.assign({}, inlineStyle, customStyle);
207
161
  }
208
-
209
162
  return /*#__PURE__*/_react["default"].createElement("div", {
210
163
  className: boxClassName,
211
164
  "data-id": "".concat(dataId),
@@ -219,12 +172,9 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
219
172
  "aria-labelledby": ariaLabelledby,
220
173
  tabIndex: tabIndex
221
174
  }, /*#__PURE__*/_react["default"].createElement("div", {
222
- "data-a11y-focus-container": true,
223
- tabIndex: "-1",
224
175
  className: "".concat(subContainerClass, " ").concat(_DropBoxModule["default"]["".concat(palette, "Palette")]),
225
176
  onClick: onClick,
226
- "data-id": "".concat(dataId, "_subcontainer"),
227
- ref: subContainerRef
177
+ "data-id": "".concat(dataId, "_subcontainer")
228
178
  }, isModel ? /*#__PURE__*/_react["default"].createElement("div", {
229
179
  className: _DropBoxModule["default"].closeBar
230
180
  }) : null, isArrow && !isModel && /*#__PURE__*/_react["default"].createElement("div", {
@@ -236,29 +186,20 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
236
186
  })), children));
237
187
  }
238
188
  }]);
239
-
240
189
  return DropBoxElement;
241
190
  }(_react["default"].Component);
242
-
243
191
  exports.DropBoxElement = DropBoxElement;
244
-
245
192
  var DropBox = /*#__PURE__*/function (_React$Component2) {
246
193
  _inherits(DropBox, _React$Component2);
247
-
248
194
  var _super2 = _createSuper(DropBox);
249
-
250
195
  function DropBox(props) {
251
196
  var _this2;
252
-
253
197
  _classCallCheck(this, DropBox);
254
-
255
198
  _this2 = _super2.call(this, props);
256
199
  _this2.getNextIndex = (0, _ZindexProvider.getZIndex)(_assertThisInitialized(_this2));
257
200
  _this2.onFreezeClick = _this2.onFreezeClick.bind(_assertThisInitialized(_this2));
258
- _this2.createRef = /*#__PURE__*/_react["default"].createRef();
259
201
  return _this2;
260
202
  }
261
-
262
203
  _createClass(DropBox, [{
263
204
  key: "onFreezeClick",
264
205
  value: function onFreezeClick(e) {
@@ -268,46 +209,27 @@ var DropBox = /*#__PURE__*/function (_React$Component2) {
268
209
  key: "render",
269
210
  value: function render() {
270
211
  var _this$props3 = this.props,
271
- needResponsive = _this$props3.needResponsive,
272
- portalId = _this$props3.portalId,
273
- isActive = _this$props3.isActive,
274
- isAbsolutePositioningNeeded = _this$props3.isAbsolutePositioningNeeded,
275
- needAutoZindex = _this$props3.needAutoZindex,
276
- isRestrictScroll = _this$props3.isRestrictScroll,
277
- needFocusScope = _this$props3.needFocusScope,
278
- onClose = _this$props3.onClose;
212
+ needResponsive = _this$props3.needResponsive,
213
+ portalId = _this$props3.portalId,
214
+ isActive = _this$props3.isActive,
215
+ isAbsolutePositioningNeeded = _this$props3.isAbsolutePositioningNeeded,
216
+ needAutoZindex = _this$props3.needAutoZindex,
217
+ isRestrictScroll = _this$props3.isRestrictScroll;
279
218
  var windowWidth,
280
- mobileWidth = (0, _Config.getLibraryConfig)('mobileWidth'),
281
- isModel = false;
282
-
219
+ mobileWidth = (0, _Config.getLibraryConfig)('mobileWidth'),
220
+ isModel = false;
283
221
  if (needResponsive) {
284
222
  windowWidth = window.innerWidth;
285
-
286
223
  if (windowWidth <= mobileWidth) {
287
224
  isModel = true;
288
225
  }
289
226
  }
290
-
291
227
  var zIndexStyle = isActive && needAutoZindex ? {
292
228
  zIndex: this.getNextIndex()
293
229
  } : {};
294
-
295
230
  var _ref2 = this.context || {},
296
- direction = _ref2.direction;
297
-
298
- var dropBoxEle = needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
299
- focusClose: onClose,
300
- elementRef: this.createRef,
301
- autoFocus: true,
302
- restoreFocus: true,
303
- focusArrowLoop: true
304
- }, /*#__PURE__*/_react["default"].createElement(DropBoxElement, _extends({
305
- isModel: isModel,
306
- direction: direction
307
- }, this.props, {
308
- zIndexStyle: zIndexStyle,
309
- subContainerRef: this.createRef
310
- }))) : /*#__PURE__*/_react["default"].createElement(DropBoxElement, _extends({
231
+ direction = _ref2.direction;
232
+ var dropBoxEle = /*#__PURE__*/_react["default"].createElement(DropBoxElement, _extends({
311
233
  isModel: isModel,
312
234
  direction: direction
313
235
  }, this.props, {
@@ -328,15 +250,12 @@ var DropBox = /*#__PURE__*/function (_React$Component2) {
328
250
  }) : null, dropBoxEle)) : dropBoxEle;
329
251
  }
330
252
  }]);
331
-
332
253
  return DropBox;
333
254
  }(_react["default"].Component);
334
-
335
255
  exports["default"] = DropBox;
336
256
  DropBox.propTypes = _propTypes.propTypes;
337
257
  DropBox.contextType = _LibraryContextInit["default"];
338
258
  DropBox.defaultProps = _defaultProps.defaultProps;
339
-
340
259
  if (false) {
341
260
  DropBox.docs = {
342
261
  componentGroup: 'Atom',