@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,145 +1,145 @@
1
- {
2
- "positionMapping": {
3
- "bottomCenter": {
4
- "direction": "bottom",
5
- "arrowPosition": "mid",
6
- "positionStyle": "bottomMid"
7
- },
8
- "bottomLeftToRight": {
9
- "direction": "bottom",
10
- "arrowPosition": "start",
11
- "positionStyle": "bottomEnd"
12
- },
13
- "bottomCenterToRight": {
14
- "direction": "bottom",
15
- "arrowPosition": "start",
16
- "positionStyle": "bottomEnd"
17
- },
18
- "bottomRightToLeft": {
19
- "direction": "bottom",
20
- "arrowPosition": "end",
21
- "positionStyle": "bottomStart"
22
- },
23
- "bottomCenterToLeft": {
24
- "direction": "bottom",
25
- "arrowPosition": "end",
26
- "positionStyle": "bottomStart"
27
- },
28
- "topCenter": {
29
- "direction": "top",
30
- "arrowPosition": "mid",
31
- "positionStyle": "topMid"
32
- },
33
- "topLeftToRight": {
34
- "direction": "top",
35
- "arrowPosition": "start",
36
- "positionStyle": "topEnd"
37
- },
38
- "topCenterToRight": {
39
- "direction": "top",
40
- "arrowPosition": "start",
41
- "positionStyle": "topEnd"
42
- },
43
- "topRightToLeft": {
44
- "direction": "top",
45
- "arrowPosition": "end",
46
- "positionStyle": "topStart"
47
- },
48
- "topCenterToLeft": {
49
- "direction": "top",
50
- "arrowPosition": "end",
51
- "positionStyle": "topStart"
52
- },
53
- "rightCenter": {
54
- "direction": "right",
55
- "arrowPosition": "mid",
56
- "positionStyle": "rightMid"
57
- },
58
- "rightTopToBottom": {
59
- "direction": "right",
60
- "arrowPosition": "start",
61
- "positionStyle": "rightEnd"
62
- },
63
- "rightCenterToBottom": {
64
- "direction": "right",
65
- "arrowPosition": "start",
66
- "positionStyle": "rightEnd"
67
- },
68
- "rightBottomToTop": {
69
- "direction": "right",
70
- "arrowPosition": "end",
71
- "positionStyle": "rightStart"
72
- },
73
- "rightCenterToTop": {
74
- "direction": "right",
75
- "arrowPosition": "end",
76
- "positionStyle": "rightStart"
77
- },
78
- "leftCenter": {
79
- "direction": "left",
80
- "arrowPosition": "mid",
81
- "positionStyle": "leftMid"
82
- },
83
- "leftTopToBottom": {
84
- "direction": "left",
85
- "arrowPosition": "start",
86
- "positionStyle": "leftEnd"
87
- },
88
- "leftCenterToBottom": {
89
- "direction": "left",
90
- "arrowPosition": "start",
91
- "positionStyle": "leftEnd"
92
- },
93
- "leftBottomToTop": {
94
- "direction": "left",
95
- "arrowPosition": "end",
96
- "positionStyle": "leftStart"
97
- },
98
- "leftCenterToTop": {
99
- "direction": "left",
100
- "arrowPosition": "end",
101
- "positionStyle": "leftStart"
102
- },
103
- "bottomRight": {
104
- "direction": "bottom",
105
- "arrowPosition": "start",
106
- "positionStyle": "bottomEnd"
107
- },
108
- "bottomLeft": {
109
- "direction": "bottom",
110
- "arrowPosition": "end",
111
- "positionStyle": "bottomStart"
112
- },
113
- "topRight": {
114
- "direction": "top",
115
- "arrowPosition": "start",
116
- "positionStyle": "topEnd"
117
- },
118
- "topLeft": {
119
- "direction": "top",
120
- "arrowPosition": "end",
121
- "positionStyle": "topStart"
122
- },
123
- "rightBottom": {
124
- "direction": "right",
125
- "arrowPosition": "start",
126
- "positionStyle": "rightEnd"
127
- },
128
- "rightTop": {
129
- "direction": "right",
130
- "arrowPosition": "end",
131
- "positionStyle": "rightStart"
132
- },
133
- "leftBottom": {
134
- "direction": "left",
135
- "arrowPosition": "start",
136
- "positionStyle": "leftEnd"
137
- },
138
- "leftTop": {
139
- "direction": "left",
140
- "arrowPosition": "end",
141
- "positionStyle": "leftStart"
142
- }
143
- }
144
- }
1
+ {
2
+ "positionMapping": {
3
+ "bottomCenter": {
4
+ "direction": "bottom",
5
+ "arrowPosition": "mid",
6
+ "positionStyle": "bottomMid"
7
+ },
8
+ "bottomLeftToRight": {
9
+ "direction": "bottom",
10
+ "arrowPosition": "start",
11
+ "positionStyle": "bottomEnd"
12
+ },
13
+ "bottomCenterToRight": {
14
+ "direction": "bottom",
15
+ "arrowPosition": "start",
16
+ "positionStyle": "bottomEnd"
17
+ },
18
+ "bottomRightToLeft": {
19
+ "direction": "bottom",
20
+ "arrowPosition": "end",
21
+ "positionStyle": "bottomStart"
22
+ },
23
+ "bottomCenterToLeft": {
24
+ "direction": "bottom",
25
+ "arrowPosition": "end",
26
+ "positionStyle": "bottomStart"
27
+ },
28
+ "topCenter": {
29
+ "direction": "top",
30
+ "arrowPosition": "mid",
31
+ "positionStyle": "topMid"
32
+ },
33
+ "topLeftToRight": {
34
+ "direction": "top",
35
+ "arrowPosition": "start",
36
+ "positionStyle": "topEnd"
37
+ },
38
+ "topCenterToRight": {
39
+ "direction": "top",
40
+ "arrowPosition": "start",
41
+ "positionStyle": "topEnd"
42
+ },
43
+ "topRightToLeft": {
44
+ "direction": "top",
45
+ "arrowPosition": "end",
46
+ "positionStyle": "topStart"
47
+ },
48
+ "topCenterToLeft": {
49
+ "direction": "top",
50
+ "arrowPosition": "end",
51
+ "positionStyle": "topStart"
52
+ },
53
+ "rightCenter": {
54
+ "direction": "right",
55
+ "arrowPosition": "mid",
56
+ "positionStyle": "rightMid"
57
+ },
58
+ "rightTopToBottom": {
59
+ "direction": "right",
60
+ "arrowPosition": "start",
61
+ "positionStyle": "rightEnd"
62
+ },
63
+ "rightCenterToBottom": {
64
+ "direction": "right",
65
+ "arrowPosition": "start",
66
+ "positionStyle": "rightEnd"
67
+ },
68
+ "rightBottomToTop": {
69
+ "direction": "right",
70
+ "arrowPosition": "end",
71
+ "positionStyle": "rightStart"
72
+ },
73
+ "rightCenterToTop": {
74
+ "direction": "right",
75
+ "arrowPosition": "end",
76
+ "positionStyle": "rightStart"
77
+ },
78
+ "leftCenter": {
79
+ "direction": "left",
80
+ "arrowPosition": "mid",
81
+ "positionStyle": "leftMid"
82
+ },
83
+ "leftTopToBottom": {
84
+ "direction": "left",
85
+ "arrowPosition": "start",
86
+ "positionStyle": "leftEnd"
87
+ },
88
+ "leftCenterToBottom": {
89
+ "direction": "left",
90
+ "arrowPosition": "start",
91
+ "positionStyle": "leftEnd"
92
+ },
93
+ "leftBottomToTop": {
94
+ "direction": "left",
95
+ "arrowPosition": "end",
96
+ "positionStyle": "leftStart"
97
+ },
98
+ "leftCenterToTop": {
99
+ "direction": "left",
100
+ "arrowPosition": "end",
101
+ "positionStyle": "leftStart"
102
+ },
103
+ "bottomRight": {
104
+ "direction": "bottom",
105
+ "arrowPosition": "start",
106
+ "positionStyle": "bottomEnd"
107
+ },
108
+ "bottomLeft": {
109
+ "direction": "bottom",
110
+ "arrowPosition": "end",
111
+ "positionStyle": "bottomStart"
112
+ },
113
+ "topRight": {
114
+ "direction": "top",
115
+ "arrowPosition": "start",
116
+ "positionStyle": "topEnd"
117
+ },
118
+ "topLeft": {
119
+ "direction": "top",
120
+ "arrowPosition": "end",
121
+ "positionStyle": "topStart"
122
+ },
123
+ "rightBottom": {
124
+ "direction": "right",
125
+ "arrowPosition": "start",
126
+ "positionStyle": "rightEnd"
127
+ },
128
+ "rightTop": {
129
+ "direction": "right",
130
+ "arrowPosition": "end",
131
+ "positionStyle": "rightStart"
132
+ },
133
+ "leftBottom": {
134
+ "direction": "left",
135
+ "arrowPosition": "start",
136
+ "positionStyle": "leftEnd"
137
+ },
138
+ "leftTop": {
139
+ "direction": "left",
140
+ "arrowPosition": "end",
141
+ "positionStyle": "leftStart"
142
+ }
143
+ }
144
+ }
145
145
 
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  var _react = _interopRequireDefault(require("react"));
4
-
5
4
  var _DropBox = _interopRequireDefault(require("../DropBox"));
6
-
7
5
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8
-
9
6
  var defaultProps = {
10
7
  onClick: jest.fn()
11
8
  };
@@ -28,9 +25,8 @@ describe('DropBox component', function () {
28
25
  });
29
26
  it('Should call onclick container function', function () {
30
27
  var _setup = setup(_DropBox["default"], defaultProps),
31
- props = _setup.props,
32
- renderedDOM = _setup.renderedDOM;
33
-
28
+ props = _setup.props,
29
+ renderedDOM = _setup.renderedDOM;
34
30
  var component = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'dropBox_subcontainer');
35
31
  TestUtils.Simulate.click(component);
36
32
  expect(props.onClick).toHaveBeenCalled();
@@ -1,84 +1,62 @@
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 _DropBox = _interopRequireDefault(require("../DropBox"));
13
-
14
10
  var _docStyleModule = _interopRequireDefault(require("../../common/docStyle.module.css"));
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
12
  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); }
19
-
20
13
  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; }
21
-
22
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
-
24
15
  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); } }
25
-
26
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
-
28
17
  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); }
29
-
30
18
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
-
32
19
  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); }; }
33
-
34
20
  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); }
35
-
36
21
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
-
38
22
  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; } }
39
-
40
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
-
42
24
  var DropBox__custom = /*#__PURE__*/function (_Component) {
43
25
  _inherits(DropBox__custom, _Component);
44
-
45
26
  var _super = _createSuper(DropBox__custom);
46
-
47
27
  function DropBox__custom() {
48
28
  _classCallCheck(this, DropBox__custom);
49
-
50
29
  return _super.apply(this, arguments);
51
30
  }
52
-
53
31
  _createClass(DropBox__custom, [{
54
32
  key: "render",
55
33
  value: function render() {
56
34
  var style = {
57
- height: '80px',
58
- width: '100px',
59
- position: 'relative',
60
- display: 'inline-block',
61
- background: '#e6e5e5',
62
- fontSize: '14px'
63
- },
64
- boxstyle = {
65
- height: '100px',
66
- textAlign: 'center',
67
- fontSize: 'var(--zd_size20)'
68
- },
69
- containerStyle = {
70
- display: 'inline-block',
71
- verticalAlign: 'top',
72
- width: 'calc(33.3333333% - 300px)',
73
- marginBottom: '150px',
74
- marginLeft: '275px'
75
- },
76
- dropBoxStyle = {
77
- display: 'flex',
78
- flexWrap: 'wrap',
79
- flexDirection: 'row',
80
- justifyContent: 'right'
81
- };
35
+ height: '80px',
36
+ width: '100px',
37
+ position: 'relative',
38
+ display: 'inline-block',
39
+ background: '#e6e5e5',
40
+ fontSize: '14px'
41
+ },
42
+ boxstyle = {
43
+ height: '100px',
44
+ textAlign: 'center',
45
+ fontSize: 'var(--zd_size20)'
46
+ },
47
+ containerStyle = {
48
+ display: 'inline-block',
49
+ verticalAlign: 'top',
50
+ width: 'calc(33.3333333% - 300px)',
51
+ marginBottom: '150px',
52
+ marginLeft: '275px'
53
+ },
54
+ dropBoxStyle = {
55
+ display: 'flex',
56
+ flexWrap: 'wrap',
57
+ flexDirection: 'row',
58
+ justifyContent: 'right'
59
+ };
82
60
  var sizes = ['mini', 'xmini', 'xsmall', 'small', 'medium', 'large', 'mlarge', 'xlarge', 'xxlarge', 'default'];
83
61
  return /*#__PURE__*/_react["default"].createElement("div", {
84
62
  style: {
@@ -106,12 +84,9 @@ var DropBox__custom = /*#__PURE__*/function (_Component) {
106
84
  }));
107
85
  }
108
86
  }]);
109
-
110
87
  return DropBox__custom;
111
88
  }(_react.Component);
112
-
113
89
  exports["default"] = DropBox__custom;
114
-
115
90
  if (false) {
116
91
  DropBox__custom.docs = {
117
92
  componentGroup: 'Atom',
@@ -1,59 +1,36 @@
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 _Popup = _interopRequireDefault(require("../../Popup/Popup"));
13
-
14
10
  var _DropBox = _interopRequireDefault(require("../DropBox"));
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
12
  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); }
19
-
20
13
  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; }
21
-
22
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
-
24
15
  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); } }
25
-
26
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
-
28
17
  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); }
29
-
30
18
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
-
32
19
  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); }; }
33
-
34
20
  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); }
35
-
36
21
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
-
38
22
  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; } }
39
-
40
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
-
42
24
  var DropBox__customOrderComp = /*#__PURE__*/function (_Component) {
43
25
  _inherits(DropBox__customOrderComp, _Component);
44
-
45
26
  var _super = _createSuper(DropBox__customOrderComp);
46
-
47
27
  function DropBox__customOrderComp(props) {
48
28
  var _this;
49
-
50
29
  _classCallCheck(this, DropBox__customOrderComp);
51
-
52
30
  _this = _super.call(this, props);
53
31
  _this.togglePopup = _this.togglePopup.bind(_assertThisInitialized(_this));
54
32
  return _this;
55
33
  }
56
-
57
34
  _createClass(DropBox__customOrderComp, [{
58
35
  key: "togglePopup",
59
36
  value: function togglePopup(e) {
@@ -82,15 +59,15 @@ var DropBox__customOrderComp = /*#__PURE__*/function (_Component) {
82
59
  height: '300px'
83
60
  };
84
61
  var _this$props = this.props,
85
- isPopupOpen = _this$props.isPopupOpen,
86
- isPopupReady = _this$props.isPopupReady,
87
- position = _this$props.position,
88
- removeClose = _this$props.removeClose,
89
- getContainerRef = _this$props.getContainerRef,
90
- getTargetRef = _this$props.getTargetRef,
91
- isAbsolutePositioningNeeded = _this$props.isAbsolutePositioningNeeded,
92
- targetOffset = _this$props.targetOffset,
93
- positionsOffset = _this$props.positionsOffset;
62
+ isPopupOpen = _this$props.isPopupOpen,
63
+ isPopupReady = _this$props.isPopupReady,
64
+ position = _this$props.position,
65
+ removeClose = _this$props.removeClose,
66
+ getContainerRef = _this$props.getContainerRef,
67
+ getTargetRef = _this$props.getTargetRef,
68
+ isAbsolutePositioningNeeded = _this$props.isAbsolutePositioningNeeded,
69
+ targetOffset = _this$props.targetOffset,
70
+ positionsOffset = _this$props.positionsOffset;
94
71
  return /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
95
72
  style: layoutStyle
96
73
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -117,17 +94,14 @@ var DropBox__customOrderComp = /*#__PURE__*/function (_Component) {
117
94
  }));
118
95
  }
119
96
  }]);
120
-
121
97
  return DropBox__customOrderComp;
122
98
  }(_react.Component);
123
-
124
99
  DropBox__customOrderComp.displayName = 'DropBox__customOrder';
125
100
  var DropBox__customOrder = (0, _Popup["default"])(DropBox__customOrderComp);
126
101
  DropBox__customOrder.defaultProps = {
127
102
  isAbsolutePositioningNeeded: false,
128
103
  customOrder: ['bottomCenter', 'bottomLeftToRight', 'bottomRightToLeft', 'topLeftToRight', 'topRightToLeft', 'rightCenter', 'rightBottomToTop', 'leftTopToBottom', 'leftCenter', 'leftBottomToTop', 'leftCenterToTop']
129
104
  };
130
-
131
105
  if (false) {
132
106
  DropBox__customOrder.docs = {
133
107
  componentGroup: 'Atom',
@@ -136,6 +110,5 @@ if (false) {
136
110
  description: ' '
137
111
  };
138
112
  }
139
-
140
113
  var _default = DropBox__customOrder;
141
114
  exports["default"] = _default;