@zohodesk/components 1.0.0-temp-48 → 1.0.0-temp-49

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 (375) hide show
  1. package/README.md +48 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +358 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
  4. package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
  5. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
  6. package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
  7. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
  8. package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
  9. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
  10. package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
  11. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
  12. package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
  13. package/assets/Appearance/default/mode/defaultMode.module.css +358 -0
  14. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
  15. package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +42 -0
  16. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
  17. package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +42 -0
  18. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
  19. package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +42 -0
  20. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
  21. package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +42 -0
  22. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
  23. package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +42 -0
  24. package/es/Animation/Animation.js +7 -8
  25. package/es/AppContainer/AppContainer.js +52 -11
  26. package/es/Avatar/Avatar.js +10 -10
  27. package/es/Button/Button.js +17 -17
  28. package/es/Button/Button.module.css +6 -2
  29. package/es/Card/Card.js +4 -5
  30. package/es/Card/Card.module.css +3 -3
  31. package/es/DateTime/DateWidget.module.css +0 -4
  32. package/es/DropBox/DropBox.js +2 -2
  33. package/es/ListItem/ListContainer.js +118 -0
  34. package/es/ListItem/ListItem.js +23 -31
  35. package/es/ListItem/ListItemWithAvatar.js +21 -27
  36. package/es/ListItem/ListItemWithCheckBox.js +23 -29
  37. package/es/ListItem/ListItemWithIcon.js +26 -26
  38. package/es/ListItem/ListItemWithRadio.js +24 -31
  39. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
  40. package/es/MultiSelect/AdvancedMultiSelect.js +21 -7
  41. package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  42. package/es/MultiSelect/MultiSelect.js +26 -8
  43. package/es/MultiSelect/MultiSelect.module.css +8 -13
  44. package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
  45. package/es/MultiSelect/SelectedOptions.js +3 -2
  46. package/es/PopOver/PopOver.js +19 -20
  47. package/es/PopOver/PopOver.module.css +1 -1
  48. package/es/Popup/Popup.js +1 -1
  49. package/es/Provider/Config.js +2 -1
  50. package/es/Provider.js +22 -22
  51. package/es/Radio/Radio.js +1 -2
  52. package/es/Radio/Radio.module.css +2 -2
  53. package/es/Responsive/ResizeComponent.js +1 -1
  54. package/es/Ribbon/Ribbon.js +8 -8
  55. package/es/RippleEffect/RippleEffect.js +7 -4
  56. package/es/RippleEffect/RippleEffect.module.css +3 -0
  57. package/es/Select/Select.js +14 -0
  58. package/es/Select/Select.module.css +1 -1
  59. package/es/Select/SelectWithAvatar.js +7 -4
  60. package/es/Stencils/Stencils.js +5 -6
  61. package/es/Stencils/Stencils.module.css +4 -14
  62. package/es/Tab/Tabs.js +14 -2
  63. package/es/Tag/Tag.js +10 -4
  64. package/es/Tag/Tag.module.css +14 -11
  65. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  66. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -2
  67. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -1
  68. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  69. package/es/common/docStyle.module.css +9 -9
  70. package/es/utils/dropDownUtils.js +39 -1
  71. package/lib/Animation/Animation.js +7 -8
  72. package/lib/AppContainer/AppContainer.js +61 -12
  73. package/lib/Avatar/Avatar.js +10 -10
  74. package/lib/Button/Button.js +17 -17
  75. package/lib/Button/Button.module.css +6 -2
  76. package/lib/Card/Card.js +4 -5
  77. package/lib/Card/Card.module.css +3 -3
  78. package/lib/DateTime/DateWidget.module.css +0 -4
  79. package/lib/DropBox/DropBox.js +6 -2
  80. package/lib/ListItem/ListContainer.js +127 -0
  81. package/lib/ListItem/ListItem.js +25 -32
  82. package/lib/ListItem/ListItemWithAvatar.js +23 -28
  83. package/lib/ListItem/ListItemWithCheckBox.js +24 -27
  84. package/lib/ListItem/ListItemWithIcon.js +27 -26
  85. package/lib/ListItem/ListItemWithRadio.js +26 -27
  86. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
  87. package/lib/MultiSelect/AdvancedMultiSelect.js +21 -6
  88. package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  89. package/lib/MultiSelect/MultiSelect.js +25 -7
  90. package/lib/MultiSelect/MultiSelect.module.css +8 -13
  91. package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -3
  92. package/lib/MultiSelect/SelectedOptions.js +3 -2
  93. package/lib/PopOver/PopOver.js +19 -20
  94. package/lib/PopOver/PopOver.module.css +1 -1
  95. package/lib/Popup/Popup.js +32 -29
  96. package/lib/Provider/Config.js +2 -1
  97. package/lib/Provider.js +22 -22
  98. package/lib/Radio/Radio.js +1 -3
  99. package/lib/Radio/Radio.module.css +2 -2
  100. package/lib/Responsive/ResizeComponent.js +1 -1
  101. package/lib/Ribbon/Ribbon.js +8 -8
  102. package/lib/RippleEffect/RippleEffect.js +7 -4
  103. package/lib/RippleEffect/RippleEffect.module.css +3 -0
  104. package/lib/Select/Select.js +16 -2
  105. package/lib/Select/Select.module.css +1 -1
  106. package/lib/Select/SelectWithAvatar.js +7 -4
  107. package/lib/Stencils/Stencils.js +5 -6
  108. package/lib/Stencils/Stencils.module.css +4 -14
  109. package/lib/Tab/Tabs.js +13 -2
  110. package/lib/Tag/Tag.js +10 -4
  111. package/lib/Tag/Tag.module.css +14 -11
  112. package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
  113. package/lib/TextBoxIcon/TextBoxIcon.module.css +5 -2
  114. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -3
  115. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -3
  116. package/lib/common/docStyle.module.css +9 -9
  117. package/lib/utils/dropDownUtils.js +45 -2
  118. package/package.json +13 -9
  119. package/README_Beta.md +0 -2
  120. package/__testUtils__/globals.js +0 -46
  121. package/__testUtils__/moduleMapKey.json +0 -138
  122. package/dubFinder.js +0 -96
  123. package/es/Accordion/docs/Accordion__Demo.docs.js +0 -80
  124. package/es/Animation/docs/Animation__default.docs.js +0 -34
  125. package/es/Animation/docs/Animation__fadeIn.docs.js +0 -34
  126. package/es/Animation/docs/Animation__scaleIn.docs.js +0 -34
  127. package/es/Animation/docs/Animation__skewIn.docs.js +0 -34
  128. package/es/Animation/docs/Animation__slideDown.docs.js +0 -34
  129. package/es/Animation/docs/Animation__slideLeft.docs.js +0 -34
  130. package/es/Animation/docs/Animation__zoomIn.docs.js +0 -34
  131. package/es/AppContainer/docs/AppContainer__default.docs.js +0 -20
  132. package/es/Appearance/dark/mode/darkMode.module.css +0 -393
  133. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  134. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  135. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  136. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  137. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  138. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  139. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  140. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  141. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  142. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  143. package/es/Appearance/default/mode/defaultMode.module.css +0 -395
  144. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  145. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  146. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  147. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  148. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  149. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  150. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  151. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  152. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  153. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
  154. package/es/Avatar/docs/Avatar__custom.docs.js +0 -29
  155. package/es/Avatar/docs/Avatar__default.docs.js +0 -29
  156. package/es/Avatar/docs/Avatar__palette.docs.js +0 -49
  157. package/es/Avatar/docs/Avatar__text.docs.js +0 -28
  158. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -73
  159. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -31
  160. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -50
  161. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -49
  162. package/es/Button/docs/Button__custom.docs.js +0 -771
  163. package/es/Button/docs/Button__default.docs.js +0 -536
  164. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -37
  165. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -33
  166. package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -42
  167. package/es/Card/docs/Card__Custom.docs.js +0 -34
  168. package/es/Card/docs/Card__Default.docs.js +0 -37
  169. package/es/Card/docs/Card__Scroll.docs.js +0 -59
  170. package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -293
  171. package/es/CheckBox/docs/CheckBox__default.docs.js +0 -219
  172. package/es/DateTime/docs/DateTime__default.docs.js +0 -91
  173. package/es/DateTime/docs/DateWidget__default.docs.js +0 -183
  174. package/es/DateTime/docs/timezonedata.json +0 -1
  175. package/es/DropBox/docs/DropBox__custom.docs.js +0 -66
  176. package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -92
  177. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -91
  178. package/es/DropBox/docs/DropBox__position.docs.js +0 -87
  179. package/es/DropBox/docs/DropBox__size.docs.js +0 -61
  180. package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
  181. package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -21
  182. package/es/Label/docs/Label__clipped.docs.js +0 -27
  183. package/es/Label/docs/Label__custom.docs.js +0 -30
  184. package/es/Label/docs/Label__palette.docs.js +0 -42
  185. package/es/Label/docs/Label__size.docs.js +0 -29
  186. package/es/Label/docs/Label__type.docs.js +0 -37
  187. package/es/Layout/docs/Layout__Hidden.docs.js +0 -77
  188. package/es/Layout/docs/Layout__default.docs.js +0 -49
  189. package/es/Layout/docs/Layout__four_Column.docs.js +0 -85
  190. package/es/Layout/docs/Layout__three_Column.docs.js +0 -76
  191. package/es/Layout/docs/Layout__two_Column.docs.js +0 -69
  192. package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -74
  193. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -155
  194. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -112
  195. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -91
  196. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -65
  197. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -68
  198. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -62
  199. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -91
  200. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -65
  201. package/es/ListItem/docs/ListItem__custom.docs.js +0 -114
  202. package/es/ListItem/docs/ListItem__default.docs.js +0 -82
  203. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -125
  204. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -114
  205. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -141
  206. package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -161
  207. package/es/PopOver/docs/PopOver__default.docs.js +0 -32
  208. package/es/Provider/docs/Provider_Id__Class.docs.js +0 -29
  209. package/es/Provider/docs/Provider_Id__Function.docs.js +0 -18
  210. package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -32
  211. package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -23
  212. package/es/Radio/docs/Radio__custom.docs.js +0 -245
  213. package/es/Radio/docs/Radio__default.docs.js +0 -169
  214. package/es/Responsive/docs/Responsive__Custom.docs.js +0 -206
  215. package/es/Responsive/docs/Responsive__default.docs.js +0 -97
  216. package/es/Responsive/docs/style.module.css +0 -56
  217. package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -386
  218. package/es/Ribbon/docs/Ribbon__default.docs.js +0 -342
  219. package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -435
  220. package/es/Select/docs/GroupSelect__default.docs.js +0 -149
  221. package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -97
  222. package/es/Select/docs/SelectWithIcon__default.docs.js +0 -138
  223. package/es/Select/docs/Select__default.docs.js +0 -288
  224. package/es/Stencils/docs/Stencils__custom.docs.js +0 -45
  225. package/es/Stencils/docs/Stencils__default.docs.js +0 -50
  226. package/es/Switch/docs/Switch__custom.docs.js +0 -153
  227. package/es/Switch/docs/Switch__default.docs.js +0 -107
  228. package/es/Tab/docs/Tab__default.docs.js +0 -258
  229. package/es/Tab/docs/tabdocs.module.css +0 -29
  230. package/es/Tag/docs/Tag__custom.docs.js +0 -368
  231. package/es/Tag/docs/Tag__default.docs.js +0 -253
  232. package/es/TextBox/docs/TextBox__custom.docs.js +0 -43
  233. package/es/TextBox/docs/TextBox__default.docs.js +0 -40
  234. package/es/TextBox/docs/TextBox__size.docs.js +0 -38
  235. package/es/TextBox/docs/TextBox__variant.docs.js +0 -38
  236. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -89
  237. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -61
  238. package/es/Textarea/docs/Textarea__animated.docs.js +0 -41
  239. package/es/Textarea/docs/Textarea__custom.docs.js +0 -82
  240. package/es/Textarea/docs/Textarea__default.docs.js +0 -76
  241. package/es/Textarea/docs/Textarea__disabled.docs.js +0 -29
  242. package/es/Tooltip/docs/Tooltip__default.docs.js +0 -332
  243. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -97
  244. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -150
  245. package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
  246. package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
  247. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -72
  248. package/es/semantic/Button/docs/Button__default.docs.js +0 -20
  249. package/externalDocsBuild.js +0 -21
  250. package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -126
  251. package/lib/Animation/docs/Animation__default.docs.js +0 -85
  252. package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -85
  253. package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -85
  254. package/lib/Animation/docs/Animation__skewIn.docs.js +0 -85
  255. package/lib/Animation/docs/Animation__slideDown.docs.js +0 -85
  256. package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -85
  257. package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -85
  258. package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -70
  259. package/lib/Appearance/dark/mode/darkMode.module.css +0 -393
  260. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  261. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  262. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  263. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  264. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  265. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  266. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  267. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  268. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  269. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  270. package/lib/Appearance/default/mode/defaultMode.module.css +0 -395
  271. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  272. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  273. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  274. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  275. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  276. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  277. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  278. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  279. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  280. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
  281. package/lib/Avatar/docs/Avatar__custom.docs.js +0 -87
  282. package/lib/Avatar/docs/Avatar__default.docs.js +0 -83
  283. package/lib/Avatar/docs/Avatar__palette.docs.js +0 -107
  284. package/lib/Avatar/docs/Avatar__text.docs.js +0 -86
  285. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -124
  286. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -82
  287. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -101
  288. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -100
  289. package/lib/Button/docs/Button__custom.docs.js +0 -826
  290. package/lib/Button/docs/Button__default.docs.js +0 -590
  291. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -89
  292. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -85
  293. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -98
  294. package/lib/Card/docs/Card__Custom.docs.js +0 -90
  295. package/lib/Card/docs/Card__Default.docs.js +0 -92
  296. package/lib/Card/docs/Card__Scroll.docs.js +0 -114
  297. package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -348
  298. package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -273
  299. package/lib/DateTime/docs/DateTime__default.docs.js +0 -142
  300. package/lib/DateTime/docs/DateWidget__default.docs.js +0 -240
  301. package/lib/DateTime/docs/timezonedata.json +0 -1
  302. package/lib/DropBox/docs/DropBox__custom.docs.js +0 -122
  303. package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -141
  304. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -140
  305. package/lib/DropBox/docs/DropBox__position.docs.js +0 -142
  306. package/lib/DropBox/docs/DropBox__size.docs.js +0 -116
  307. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -73
  308. package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -70
  309. package/lib/Label/docs/Label__clipped.docs.js +0 -81
  310. package/lib/Label/docs/Label__custom.docs.js +0 -85
  311. package/lib/Label/docs/Label__palette.docs.js +0 -96
  312. package/lib/Label/docs/Label__size.docs.js +0 -83
  313. package/lib/Label/docs/Label__type.docs.js +0 -91
  314. package/lib/Layout/docs/Layout__Hidden.docs.js +0 -127
  315. package/lib/Layout/docs/Layout__default.docs.js +0 -98
  316. package/lib/Layout/docs/Layout__four_Column.docs.js +0 -135
  317. package/lib/Layout/docs/Layout__three_Column.docs.js +0 -126
  318. package/lib/Layout/docs/Layout__two_Column.docs.js +0 -119
  319. package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -131
  320. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -206
  321. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -162
  322. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -142
  323. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -115
  324. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -119
  325. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -112
  326. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -142
  327. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -115
  328. package/lib/ListItem/docs/ListItem__custom.docs.js +0 -164
  329. package/lib/ListItem/docs/ListItem__default.docs.js +0 -131
  330. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -177
  331. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -165
  332. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -191
  333. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -214
  334. package/lib/PopOver/docs/PopOver__default.docs.js +0 -86
  335. package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -77
  336. package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -29
  337. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -80
  338. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -34
  339. package/lib/Radio/docs/Radio__custom.docs.js +0 -299
  340. package/lib/Radio/docs/Radio__default.docs.js +0 -222
  341. package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -272
  342. package/lib/Responsive/docs/Responsive__default.docs.js +0 -142
  343. package/lib/Responsive/docs/style.module.css +0 -56
  344. package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -437
  345. package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -392
  346. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -484
  347. package/lib/Select/docs/GroupSelect__default.docs.js +0 -199
  348. package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -152
  349. package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -190
  350. package/lib/Select/docs/Select__default.docs.js +0 -340
  351. package/lib/Stencils/docs/Stencils__custom.docs.js +0 -96
  352. package/lib/Stencils/docs/Stencils__default.docs.js +0 -101
  353. package/lib/Switch/docs/Switch__custom.docs.js +0 -203
  354. package/lib/Switch/docs/Switch__default.docs.js +0 -156
  355. package/lib/Tab/docs/Tab__default.docs.js +0 -308
  356. package/lib/Tab/docs/tabdocs.module.css +0 -29
  357. package/lib/Tag/docs/Tag__custom.docs.js +0 -423
  358. package/lib/Tag/docs/Tag__default.docs.js +0 -307
  359. package/lib/TextBox/docs/TextBox__custom.docs.js +0 -98
  360. package/lib/TextBox/docs/TextBox__default.docs.js +0 -95
  361. package/lib/TextBox/docs/TextBox__size.docs.js +0 -93
  362. package/lib/TextBox/docs/TextBox__variant.docs.js +0 -93
  363. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -145
  364. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -117
  365. package/lib/Textarea/docs/Textarea__animated.docs.js +0 -95
  366. package/lib/Textarea/docs/Textarea__custom.docs.js +0 -137
  367. package/lib/Textarea/docs/Textarea__default.docs.js +0 -130
  368. package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -83
  369. package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -391
  370. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -150
  371. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -206
  372. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
  373. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +0 -101
  374. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -145
  375. package/lib/semantic/Button/docs/Button__default.docs.js +0 -66
@@ -1,214 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireWildcard(require("react"));
11
-
12
- var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
13
-
14
- var _Layout = require("../../Layout");
15
-
16
- var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
17
-
18
- var _MultiSelect = _interopRequireDefault(require("../MultiSelect"));
19
-
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
-
22
- 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); }
23
-
24
- 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; }
25
-
26
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
-
28
- 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); } }
29
-
30
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
-
32
- 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); }
33
-
34
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
-
36
- 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); }; }
37
-
38
- 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); }
39
-
40
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
-
42
- 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; } }
43
-
44
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
-
46
- var MultiSelect__default = /*#__PURE__*/function (_Component) {
47
- _inherits(MultiSelect__default, _Component);
48
-
49
- var _super = _createSuper(MultiSelect__default);
50
-
51
- function MultiSelect__default(props) {
52
- var _this;
53
-
54
- _classCallCheck(this, MultiSelect__default);
55
-
56
- _this = _super.call(this, props);
57
- _this.state = {
58
- options: ['text1', 'text2', 'text3', 'text4', 'text5', 'text6', 'text7', 'text8', 'text9', 'text10'],
59
- selectedOptions: ['text1', 'text2', 'text3']
60
- };
61
- _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
62
- _this.getFooter = _this.getFooter.bind(_assertThisInitialized(_this));
63
- return _this;
64
- }
65
-
66
- _createClass(MultiSelect__default, [{
67
- key: "handleSelect",
68
- value: function handleSelect(options) {
69
- this.setState({
70
- selectedOptions: options
71
- });
72
- }
73
- }, {
74
- key: "getFooter",
75
- value: function getFooter() {
76
- return /*#__PURE__*/_react["default"].createElement("div", null, "Custom Footer");
77
- }
78
- }, {
79
- key: "render",
80
- value: function render() {
81
- var _this$state = this.state,
82
- selectedOptions = _this$state.selectedOptions,
83
- options = _this$state.options;
84
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement("div", null, "Default"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
85
- valueField: "id",
86
- textField: "text",
87
- options: options,
88
- onChange: this.handleSelect,
89
- selectedOptions: selectedOptions,
90
- needSelectAll: true,
91
- selectAllText: "Select All",
92
- placeHolder: "Select Text",
93
- i18nKeys: {
94
- clearText: 'Clear Selected Items',
95
- loadingText: 'Fetching...',
96
- emptyText: 'No Options .',
97
- noMoreText: 'No More Options .',
98
- searchEmptyText: 'No Matches Found .'
99
- }
100
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Disabled"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
101
- isDisabled: true,
102
- valueField: "id",
103
- textField: "text",
104
- options: options,
105
- onChange: this.handleSelect,
106
- selectedOptions: selectedOptions,
107
- needSelectAll: true,
108
- selectAllText: "Select All",
109
- placeHolder: "Select Text",
110
- emptyMessage: "No Options",
111
- noMoreOptionsMessage: "No More Options",
112
- searchEmptyMessage: "No Matches Found"
113
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Readonly"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
114
- isReadOnly: true,
115
- valueField: "id",
116
- textField: "text",
117
- options: options,
118
- onChange: this.handleSelect,
119
- selectedOptions: selectedOptions,
120
- needSelectAll: true,
121
- selectAllText: "Select All",
122
- placeHolder: "Select Text",
123
- emptyMessage: "No Options",
124
- noMoreOptionsMessage: "No More Options",
125
- searchEmptyMessage: "No Matches Found"
126
- }), /*#__PURE__*/_react["default"].createElement("div", null, "disableAction"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
127
- valueField: "id",
128
- textField: "text",
129
- options: options,
130
- onChange: this.handleSelect,
131
- selectedOptions: selectedOptions,
132
- needSelectAll: true,
133
- selectAllText: "Select All",
134
- placeHolder: "Select Text",
135
- emptyMessage: "No Options",
136
- noMoreOptionsMessage: "No More Options",
137
- searchEmptyMessage: "No Matches Found",
138
- needBorder: false,
139
- disableAction: true
140
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Children"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
141
- valueField: "id",
142
- textField: "text",
143
- options: options,
144
- onChange: this.handleSelect,
145
- selectedOptions: selectedOptions,
146
- needSelectAll: true,
147
- selectAllText: "Select All",
148
- placeHolder: "Select Text",
149
- i18nKeys: {
150
- clearText: 'Clear Selected Items',
151
- loadingText: 'Fetching...',
152
- emptyText: 'No Options .',
153
- noMoreText: 'No More Options .',
154
- searchEmptyText: 'No Matches Found .'
155
- }
156
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
157
- align: "both",
158
- style: {
159
- marginRight: '15px'
160
- }
161
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
162
- name: "ZD-SE-setpracket",
163
- size: "18"
164
- }))), /*#__PURE__*/_react["default"].createElement("div", null, "Disabled Options"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
165
- valueField: "id",
166
- textField: "text",
167
- options: options,
168
- onChange: this.handleSelect,
169
- selectedOptions: selectedOptions,
170
- needSelectAll: true,
171
- selectAllText: "Select All",
172
- placeHolder: "Select Text",
173
- i18nKeys: {
174
- clearText: 'Clear Selected Items',
175
- loadingText: 'Fetching...',
176
- emptyText: 'No Options .',
177
- noMoreText: 'No More Options .',
178
- searchEmptyText: 'No Matches Found .'
179
- },
180
- disabledOptions: ['text2', 'text3']
181
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Custom Footer"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
182
- valueField: "id",
183
- textField: "text",
184
- options: options,
185
- onChange: this.handleSelect,
186
- selectedOptions: selectedOptions,
187
- needSelectAll: true,
188
- selectAllText: "Select All",
189
- placeHolder: "Select Text",
190
- i18nKeys: {
191
- clearText: 'Clear Selected Items',
192
- loadingText: 'Fetching...',
193
- emptyText: 'No Options .',
194
- noMoreText: 'No More Options .',
195
- searchEmptyText: 'No Matches Found .'
196
- },
197
- getFooter: this.getFooter
198
- })));
199
- }
200
- }]);
201
-
202
- return MultiSelect__default;
203
- }(_react.Component);
204
-
205
- exports["default"] = MultiSelect__default;
206
-
207
- if (false) {
208
- MultiSelect__default.docs = {
209
- componentGroup: 'Form Elements',
210
- folderName: 'Style Guide',
211
- external: true,
212
- description: ' '
213
- };
214
- }
@@ -1,86 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _PopOver = _interopRequireWildcard(require("../PopOver"));
13
-
14
- var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
15
-
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
- 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; }
19
-
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
-
22
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
-
24
- 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
- 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
- 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
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
-
32
- 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
- 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
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
-
38
- 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
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
-
42
- var PopOver__default = /*#__PURE__*/function (_React$Component) {
43
- _inherits(PopOver__default, _React$Component);
44
-
45
- var _super = _createSuper(PopOver__default);
46
-
47
- function PopOver__default() {
48
- _classCallCheck(this, PopOver__default);
49
-
50
- return _super.apply(this, arguments);
51
- }
52
-
53
- _createClass(PopOver__default, [{
54
- key: "render",
55
- value: function render() {
56
- return /*#__PURE__*/_react["default"].createElement("span", {
57
- style: {
58
- width: '200px',
59
- display: 'inline-block'
60
- },
61
- className: 'popParent'
62
- }, /*#__PURE__*/_react["default"].createElement(_PopOver["default"], {
63
- isArrow: true,
64
- isAnimate: true,
65
- boxPosition: "bottomRight"
66
- }, /*#__PURE__*/_react["default"].createElement(_PopOver.PopOverTarget, null, " Click Me! "), /*#__PURE__*/_react["default"].createElement(_PopOver.PopOverContainer, null, /*#__PURE__*/_react["default"].createElement("div", {
67
- style: {
68
- padding: '20px'
69
- }
70
- }, "Content"), ' ')));
71
- }
72
- }]);
73
-
74
- return PopOver__default;
75
- }(_react["default"].Component);
76
-
77
- exports["default"] = PopOver__default;
78
-
79
- if (false) {
80
- PopOver__default.docs = {
81
- componentGroup: 'Form Elements',
82
- folderName: 'Style Guide',
83
- description: ' ',
84
- external: true
85
- };
86
- }
@@ -1,77 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _IdProvider = require("../IdProvider");
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
-
18
- 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); } }
19
-
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
-
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
-
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
-
26
- 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); }; }
27
-
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); }
29
-
30
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
-
32
- 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; } }
33
-
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
-
36
- var Provider_Id__Class = /*#__PURE__*/function (_React$Component) {
37
- _inherits(Provider_Id__Class, _React$Component);
38
-
39
- var _super = _createSuper(Provider_Id__Class);
40
-
41
- function Provider_Id__Class(props) {
42
- var _this;
43
-
44
- _classCallCheck(this, Provider_Id__Class);
45
-
46
- _this = _super.call(this, props);
47
- (0, _IdProvider.setGlobalIdPrefix)('zohodesk');
48
- _this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
49
- return _this;
50
- }
51
-
52
- _createClass(Provider_Id__Class, [{
53
- key: "render",
54
- value: function render() {
55
- var id = this.getNextId();
56
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
57
- id: id
58
- }, "Id ", id), /*#__PURE__*/_react["default"].createElement("div", {
59
- id: id
60
- }, "Id ", id));
61
- }
62
- }]);
63
-
64
- return Provider_Id__Class;
65
- }(_react["default"].Component);
66
-
67
- exports["default"] = Provider_Id__Class;
68
-
69
- if (false) {
70
- Provider_Id__Class.docs = {
71
- componentGroup: 'Provider',
72
- folderName: 'Functions'
73
- };
74
- } // setGlobalIdPrefix => to set prefix for all id
75
- // removeGlobalIdPrefix => remove prfeix
76
- // useUniqueId => for function components
77
- // getUniqueId => for class components
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = Provider_Id__Function;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _IdProvider = require("../IdProvider");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- function Provider_Id__Function() {
15
- var getNextId = (0, _IdProvider.useUniqueId)();
16
- var id = getNextId();
17
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
18
- id: id
19
- }, "Id ", id), /*#__PURE__*/_react["default"].createElement("div", {
20
- id: id
21
- }, "Id ", id));
22
- }
23
-
24
- if (false) {
25
- Provider_Id__Function.docs = {
26
- componentGroup: 'Provider',
27
- folderName: 'Functions'
28
- };
29
- }
@@ -1,80 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _ZindexProvider = require("../ZindexProvider");
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
-
18
- 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); } }
19
-
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
-
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
-
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
-
26
- 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); }; }
27
-
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); }
29
-
30
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
-
32
- 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; } }
33
-
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
-
36
- var Provider_Zindex__Class = /*#__PURE__*/function (_React$Component) {
37
- _inherits(Provider_Zindex__Class, _React$Component);
38
-
39
- var _super = _createSuper(Provider_Zindex__Class);
40
-
41
- function Provider_Zindex__Class(props) {
42
- var _this;
43
-
44
- _classCallCheck(this, Provider_Zindex__Class);
45
-
46
- _this = _super.call(this, props);
47
- (0, _ZindexProvider.setInitialZIndex)('1000');
48
- _this.getNextId = (0, _ZindexProvider.getZIndex)(_assertThisInitialized(_this));
49
- return _this;
50
- }
51
-
52
- _createClass(Provider_Zindex__Class, [{
53
- key: "render",
54
- value: function render() {
55
- var zIndex = this.getNextId();
56
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
57
- style: {
58
- zIndex: "".concat(zIndex)
59
- }
60
- }, "Zindex ", zIndex), /*#__PURE__*/_react["default"].createElement("div", {
61
- style: {
62
- zIndex: "".concat(zIndex)
63
- }
64
- }, "Zindex ", zIndex));
65
- }
66
- }]);
67
-
68
- return Provider_Zindex__Class;
69
- }(_react["default"].Component);
70
-
71
- exports["default"] = Provider_Zindex__Class;
72
-
73
- if (false) {
74
- Provider_Zindex__Class.docs = {
75
- componentGroup: 'Provider',
76
- folderName: 'Functions'
77
- };
78
- } // setGlobalZIndexPrefix
79
- // useZIndex
80
- // getZIndex
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = Provider_Zindex__Function;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _ZindexProvider = require("../ZindexProvider");
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- function Provider_Zindex__Function() {
15
- var getNextId = (0, _ZindexProvider.useZIndex)();
16
- var Zindex = getNextId();
17
- var Zindex2 = getNextId();
18
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
19
- style: {
20
- 'zIndex': "".concat(Zindex)
21
- }
22
- }, "Zindex ", Zindex), /*#__PURE__*/_react["default"].createElement("div", {
23
- style: {
24
- 'zIndex': "".concat(Zindex2)
25
- }
26
- }, "Zindex ", Zindex2));
27
- }
28
-
29
- if (false) {
30
- Provider_Zindex__Function.docs = {
31
- componentGroup: 'Provider',
32
- folderName: 'Functions'
33
- };
34
- }