@zohodesk/components 1.0.0-alpha-222 → 1.0.0-alpha-226

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 (300) hide show
  1. package/README.md +15 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +356 -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/{es → assets}/Appearance/dark/themes/green/greenDarkCTATheme.module.css +11 -11
  6. package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
  7. package/{lib → assets}/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +11 -11
  8. package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
  9. package/{lib → assets}/Appearance/dark/themes/red/redDarkCTATheme.module.css +11 -11
  10. package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
  11. package/{es → assets}/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +11 -11
  12. package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
  13. package/assets/Appearance/default/mode/defaultMode.module.css +356 -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/{es → assets}/Appearance/default/themes/green/greenDefaultCTATheme.module.css +3 -3
  17. package/{lib → assets}/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +8 -8
  18. package/{es → assets}/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
  19. package/{lib → assets}/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +7 -7
  20. package/{es → assets}/Appearance/default/themes/red/redDefaultCTATheme.module.css +8 -8
  21. package/{lib → assets}/Appearance/default/themes/red/redDefaultComponentTheme.module.css +7 -7
  22. package/{es → assets}/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
  23. package/{es → assets}/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +7 -7
  24. package/es/AppContainer/AppContainer.js +6 -6
  25. package/es/Card/Card.module.css +3 -3
  26. package/es/ListItem/ListContainer.js +123 -0
  27. package/es/ListItem/ListItem.js +23 -31
  28. package/es/ListItem/ListItemWithAvatar.js +21 -27
  29. package/es/ListItem/ListItemWithCheckBox.js +23 -29
  30. package/es/ListItem/ListItemWithIcon.js +26 -26
  31. package/es/ListItem/ListItemWithRadio.js +24 -31
  32. package/es/PopOver/PopOver.module.css +1 -1
  33. package/es/Provider.js +22 -22
  34. package/es/Stencils/Stencils.module.css +4 -14
  35. package/es/common/docStyle.module.css +9 -9
  36. package/lib/AppContainer/AppContainer.js +6 -6
  37. package/lib/Card/Card.module.css +3 -3
  38. package/lib/ListItem/ListContainer.js +132 -0
  39. package/lib/ListItem/ListItem.js +25 -32
  40. package/lib/ListItem/ListItemWithAvatar.js +23 -28
  41. package/lib/ListItem/ListItemWithCheckBox.js +24 -27
  42. package/lib/ListItem/ListItemWithIcon.js +27 -26
  43. package/lib/ListItem/ListItemWithRadio.js +26 -27
  44. package/lib/PopOver/PopOver.module.css +1 -1
  45. package/lib/Provider.js +22 -22
  46. package/lib/Stencils/Stencils.module.css +4 -14
  47. package/lib/common/docStyle.module.css +9 -9
  48. package/package.json +8 -8
  49. package/README_Beta.md +0 -2
  50. package/__testUtils__/globals.js +0 -46
  51. package/__testUtils__/moduleMapKey.json +0 -138
  52. package/dubFinder.js +0 -96
  53. package/es/Accordion/docs/Accordion__Demo.docs.js +0 -80
  54. package/es/Animation/docs/Animation__default.docs.js +0 -34
  55. package/es/Animation/docs/Animation__fadeIn.docs.js +0 -34
  56. package/es/Animation/docs/Animation__scaleIn.docs.js +0 -34
  57. package/es/Animation/docs/Animation__skewIn.docs.js +0 -34
  58. package/es/Animation/docs/Animation__slideDown.docs.js +0 -34
  59. package/es/Animation/docs/Animation__slideLeft.docs.js +0 -34
  60. package/es/Animation/docs/Animation__zoomIn.docs.js +0 -34
  61. package/es/AppContainer/docs/AppContainer__default.docs.js +0 -20
  62. package/es/Appearance/dark/mode/darkMode.module.css +0 -356
  63. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  64. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -42
  65. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -42
  66. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  67. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -42
  68. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  69. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -42
  70. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -42
  71. package/es/Appearance/default/mode/defaultMode.module.css +0 -356
  72. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  73. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -42
  74. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -42
  75. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -42
  76. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -42
  77. package/es/Avatar/docs/Avatar__custom.docs.js +0 -29
  78. package/es/Avatar/docs/Avatar__default.docs.js +0 -29
  79. package/es/Avatar/docs/Avatar__palette.docs.js +0 -49
  80. package/es/Avatar/docs/Avatar__text.docs.js +0 -28
  81. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -73
  82. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -31
  83. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -50
  84. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -49
  85. package/es/Button/docs/Button__custom.docs.js +0 -771
  86. package/es/Button/docs/Button__default.docs.js +0 -536
  87. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -37
  88. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -33
  89. package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -42
  90. package/es/Card/docs/Card__Custom.docs.js +0 -34
  91. package/es/Card/docs/Card__Default.docs.js +0 -37
  92. package/es/Card/docs/Card__Scroll.docs.js +0 -59
  93. package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -293
  94. package/es/CheckBox/docs/CheckBox__default.docs.js +0 -219
  95. package/es/DateTime/docs/DateTime__default.docs.js +0 -91
  96. package/es/DateTime/docs/DateWidget__default.docs.js +0 -183
  97. package/es/DateTime/docs/timezonedata.json +0 -1
  98. package/es/DropBox/docs/DropBox__custom.docs.js +0 -66
  99. package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -92
  100. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -91
  101. package/es/DropBox/docs/DropBox__position.docs.js +0 -87
  102. package/es/DropBox/docs/DropBox__size.docs.js +0 -61
  103. package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
  104. package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -21
  105. package/es/Label/docs/Label__clipped.docs.js +0 -27
  106. package/es/Label/docs/Label__custom.docs.js +0 -30
  107. package/es/Label/docs/Label__palette.docs.js +0 -42
  108. package/es/Label/docs/Label__size.docs.js +0 -29
  109. package/es/Label/docs/Label__type.docs.js +0 -37
  110. package/es/Layout/docs/Layout__Hidden.docs.js +0 -77
  111. package/es/Layout/docs/Layout__default.docs.js +0 -49
  112. package/es/Layout/docs/Layout__four_Column.docs.js +0 -85
  113. package/es/Layout/docs/Layout__three_Column.docs.js +0 -76
  114. package/es/Layout/docs/Layout__two_Column.docs.js +0 -69
  115. package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -74
  116. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -155
  117. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -112
  118. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -91
  119. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -65
  120. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -68
  121. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -62
  122. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -91
  123. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -65
  124. package/es/ListItem/docs/ListItem__custom.docs.js +0 -114
  125. package/es/ListItem/docs/ListItem__default.docs.js +0 -82
  126. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -125
  127. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -114
  128. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -141
  129. package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -161
  130. package/es/PopOver/docs/PopOver__default.docs.js +0 -32
  131. package/es/Provider/docs/Provider_Id__Class.docs.js +0 -29
  132. package/es/Provider/docs/Provider_Id__Function.docs.js +0 -18
  133. package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -32
  134. package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -23
  135. package/es/Radio/docs/Radio__custom.docs.js +0 -245
  136. package/es/Radio/docs/Radio__default.docs.js +0 -169
  137. package/es/Responsive/docs/Responsive__Custom.docs.js +0 -206
  138. package/es/Responsive/docs/Responsive__default.docs.js +0 -97
  139. package/es/Responsive/docs/style.module.css +0 -56
  140. package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -386
  141. package/es/Ribbon/docs/Ribbon__default.docs.js +0 -342
  142. package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -435
  143. package/es/Select/docs/GroupSelect__default.docs.js +0 -149
  144. package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -97
  145. package/es/Select/docs/SelectWithIcon__default.docs.js +0 -138
  146. package/es/Select/docs/Select__default.docs.js +0 -288
  147. package/es/Stencils/docs/Stencils__custom.docs.js +0 -45
  148. package/es/Stencils/docs/Stencils__default.docs.js +0 -50
  149. package/es/Switch/docs/Switch__custom.docs.js +0 -153
  150. package/es/Switch/docs/Switch__default.docs.js +0 -107
  151. package/es/Tab/docs/Tab__default.docs.js +0 -258
  152. package/es/Tab/docs/tabdocs.module.css +0 -29
  153. package/es/Tag/docs/Tag__custom.docs.js +0 -368
  154. package/es/Tag/docs/Tag__default.docs.js +0 -253
  155. package/es/TextBox/docs/TextBox__custom.docs.js +0 -43
  156. package/es/TextBox/docs/TextBox__default.docs.js +0 -40
  157. package/es/TextBox/docs/TextBox__size.docs.js +0 -38
  158. package/es/TextBox/docs/TextBox__variant.docs.js +0 -38
  159. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -89
  160. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -61
  161. package/es/Textarea/docs/Textarea__animated.docs.js +0 -41
  162. package/es/Textarea/docs/Textarea__custom.docs.js +0 -82
  163. package/es/Textarea/docs/Textarea__default.docs.js +0 -76
  164. package/es/Textarea/docs/Textarea__disabled.docs.js +0 -29
  165. package/es/Tooltip/docs/Tooltip__default.docs.js +0 -332
  166. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -97
  167. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -150
  168. package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
  169. package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
  170. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -72
  171. package/es/semantic/Button/docs/Button__default.docs.js +0 -20
  172. package/externalDocsBuild.js +0 -21
  173. package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -126
  174. package/lib/Animation/docs/Animation__default.docs.js +0 -85
  175. package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -85
  176. package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -85
  177. package/lib/Animation/docs/Animation__skewIn.docs.js +0 -85
  178. package/lib/Animation/docs/Animation__slideDown.docs.js +0 -85
  179. package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -85
  180. package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -85
  181. package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -70
  182. package/lib/Appearance/dark/mode/darkMode.module.css +0 -356
  183. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  184. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -42
  185. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  186. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -42
  187. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -42
  188. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -42
  189. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  190. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -42
  191. package/lib/Appearance/default/mode/defaultMode.module.css +0 -356
  192. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  193. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -42
  194. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  195. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  196. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  197. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  198. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -42
  199. package/lib/Avatar/docs/Avatar__custom.docs.js +0 -87
  200. package/lib/Avatar/docs/Avatar__default.docs.js +0 -83
  201. package/lib/Avatar/docs/Avatar__palette.docs.js +0 -107
  202. package/lib/Avatar/docs/Avatar__text.docs.js +0 -86
  203. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -124
  204. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -82
  205. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -101
  206. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -100
  207. package/lib/Button/docs/Button__custom.docs.js +0 -826
  208. package/lib/Button/docs/Button__default.docs.js +0 -590
  209. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -89
  210. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -85
  211. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -98
  212. package/lib/Card/docs/Card__Custom.docs.js +0 -90
  213. package/lib/Card/docs/Card__Default.docs.js +0 -92
  214. package/lib/Card/docs/Card__Scroll.docs.js +0 -114
  215. package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -348
  216. package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -273
  217. package/lib/DateTime/docs/DateTime__default.docs.js +0 -142
  218. package/lib/DateTime/docs/DateWidget__default.docs.js +0 -240
  219. package/lib/DateTime/docs/timezonedata.json +0 -1
  220. package/lib/DropBox/docs/DropBox__custom.docs.js +0 -122
  221. package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -141
  222. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -140
  223. package/lib/DropBox/docs/DropBox__position.docs.js +0 -142
  224. package/lib/DropBox/docs/DropBox__size.docs.js +0 -116
  225. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -73
  226. package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -70
  227. package/lib/Label/docs/Label__clipped.docs.js +0 -81
  228. package/lib/Label/docs/Label__custom.docs.js +0 -85
  229. package/lib/Label/docs/Label__palette.docs.js +0 -96
  230. package/lib/Label/docs/Label__size.docs.js +0 -83
  231. package/lib/Label/docs/Label__type.docs.js +0 -91
  232. package/lib/Layout/docs/Layout__Hidden.docs.js +0 -127
  233. package/lib/Layout/docs/Layout__default.docs.js +0 -98
  234. package/lib/Layout/docs/Layout__four_Column.docs.js +0 -135
  235. package/lib/Layout/docs/Layout__three_Column.docs.js +0 -126
  236. package/lib/Layout/docs/Layout__two_Column.docs.js +0 -119
  237. package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -131
  238. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -206
  239. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -162
  240. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -142
  241. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -115
  242. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -119
  243. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -112
  244. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -142
  245. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -115
  246. package/lib/ListItem/docs/ListItem__custom.docs.js +0 -164
  247. package/lib/ListItem/docs/ListItem__default.docs.js +0 -131
  248. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -177
  249. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -165
  250. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -191
  251. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -214
  252. package/lib/PopOver/docs/PopOver__default.docs.js +0 -86
  253. package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -77
  254. package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -29
  255. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -80
  256. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -34
  257. package/lib/Radio/docs/Radio__custom.docs.js +0 -299
  258. package/lib/Radio/docs/Radio__default.docs.js +0 -222
  259. package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -272
  260. package/lib/Responsive/docs/Responsive__default.docs.js +0 -142
  261. package/lib/Responsive/docs/style.module.css +0 -56
  262. package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -437
  263. package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -392
  264. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -484
  265. package/lib/Select/docs/GroupSelect__default.docs.js +0 -199
  266. package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -152
  267. package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -190
  268. package/lib/Select/docs/Select__default.docs.js +0 -340
  269. package/lib/Stencils/docs/Stencils__custom.docs.js +0 -96
  270. package/lib/Stencils/docs/Stencils__default.docs.js +0 -101
  271. package/lib/Switch/docs/Switch__custom.docs.js +0 -203
  272. package/lib/Switch/docs/Switch__default.docs.js +0 -156
  273. package/lib/Tab/docs/Tab__default.docs.js +0 -308
  274. package/lib/Tab/docs/tabdocs.module.css +0 -29
  275. package/lib/Tag/docs/Tag__custom.docs.js +0 -423
  276. package/lib/Tag/docs/Tag__default.docs.js +0 -307
  277. package/lib/TextBox/docs/TextBox__custom.docs.js +0 -98
  278. package/lib/TextBox/docs/TextBox__default.docs.js +0 -95
  279. package/lib/TextBox/docs/TextBox__size.docs.js +0 -93
  280. package/lib/TextBox/docs/TextBox__variant.docs.js +0 -93
  281. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -145
  282. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -117
  283. package/lib/Textarea/docs/Textarea__animated.docs.js +0 -95
  284. package/lib/Textarea/docs/Textarea__custom.docs.js +0 -137
  285. package/lib/Textarea/docs/Textarea__default.docs.js +0 -130
  286. package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -83
  287. package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -391
  288. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -150
  289. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -206
  290. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
  291. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +0 -101
  292. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -145
  293. package/lib/semantic/Button/docs/Button__default.docs.js +0 -66
  294. package/preprocess/componentAppearanceColors.js +0 -65
  295. package/preprocess/componentThemeColors.js +0 -119
  296. package/preprocess/ctaThemeColors.js +0 -95
  297. package/preprocess/index.js +0 -3
  298. package/preprocess/json/componentAppearanceVariableJson.js +0 -1515
  299. package/preprocess/json/componentThemeVariableJson.js +0 -259
  300. package/preprocess/json/ctaThemeVariableJson.js +0 -337
@@ -1,131 +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 _ListItem = _interopRequireDefault(require("../ListItem"));
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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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 ListItem__default = /*#__PURE__*/function (_React$Component) {
37
- _inherits(ListItem__default, _React$Component);
38
-
39
- var _super = _createSuper(ListItem__default);
40
-
41
- function ListItem__default() {
42
- _classCallCheck(this, ListItem__default);
43
-
44
- return _super.apply(this, arguments);
45
- }
46
-
47
- _createClass(ListItem__default, [{
48
- key: "render",
49
- value: function render() {
50
- return /*#__PURE__*/_react["default"].createElement("div", {
51
- style: {
52
- width: '250px'
53
- }
54
- }, /*#__PURE__*/_react["default"].createElement("div", {
55
- style: {
56
- marginBottom: '10px'
57
- }
58
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
59
- value: "ListItem",
60
- isLink: true,
61
- href: "https://zoho.com",
62
- disableTitle: "Disabled list"
63
- })), /*#__PURE__*/_react["default"].createElement("div", {
64
- style: {
65
- marginBottom: '10px'
66
- }
67
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
68
- value: "ListItem",
69
- autoHover: true,
70
- disableTitle: "Disabled list"
71
- })), /*#__PURE__*/_react["default"].createElement("div", {
72
- style: {
73
- marginBottom: '10px'
74
- }
75
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
76
- value: "ListItem",
77
- highlight: true,
78
- disableTitle: "Disabled list"
79
- })), /*#__PURE__*/_react["default"].createElement("div", {
80
- style: {
81
- marginBottom: '10px'
82
- }
83
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
84
- value: "ListItem",
85
- active: true,
86
- disableTitle: "Disabled list",
87
- title: "ListItem title"
88
- })), /*#__PURE__*/_react["default"].createElement("div", {
89
- style: {
90
- marginBottom: '10px'
91
- }
92
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
93
- value: "ListItem",
94
- active: true,
95
- needTick: true,
96
- disableTitle: "disabled list"
97
- })), /*#__PURE__*/_react["default"].createElement("div", {
98
- style: {
99
- marginBottom: '10px'
100
- }
101
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
102
- value: "ListItem disabled",
103
- palette: "secondary",
104
- autoHover: true,
105
- isDisabled: true,
106
- disableTitle: "disabled list"
107
- })), /*#__PURE__*/_react["default"].createElement("div", {
108
- style: {
109
- marginBottom: '10px'
110
- }
111
- }, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
112
- autoHover: true,
113
- active: true,
114
- value: "ListItemListItemListItemListItemListItem"
115
- }, "ChildrenChildrenChildren ChildrenChildrenChildrenChildren")));
116
- }
117
- }]);
118
-
119
- return ListItem__default;
120
- }(_react["default"].Component);
121
-
122
- exports["default"] = ListItem__default;
123
-
124
- if (false) {
125
- ListItem__default.docs = {
126
- componentGroup: 'Molecule',
127
- folderName: 'Style Guide',
128
- description: ' ',
129
- external: true
130
- };
131
- }
@@ -1,177 +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 _AdvancedGroupMultiSelect = _interopRequireDefault(require("../AdvancedGroupMultiSelect"));
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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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 AdvancedGroupMultiSelect__default = /*#__PURE__*/function (_React$Component) {
37
- _inherits(AdvancedGroupMultiSelect__default, _React$Component);
38
-
39
- var _super = _createSuper(AdvancedGroupMultiSelect__default);
40
-
41
- function AdvancedGroupMultiSelect__default(props) {
42
- var _this;
43
-
44
- _classCallCheck(this, AdvancedGroupMultiSelect__default);
45
-
46
- _this = _super.call(this, props);
47
- _this.handleSelectOptions = _this.handleSelectOptions.bind(_assertThisInitialized(_this));
48
- _this.getNextOptions = _this.getNextOptions.bind(_assertThisInitialized(_this));
49
- _this.groupFooter = _this.groupFooter.bind(_assertThisInitialized(_this));
50
- _this.onSearch = _this.onSearch.bind(_assertThisInitialized(_this));
51
- _this.state = {
52
- selectedGroupOptions: [{
53
- groupId: 'Group1',
54
- id: 'group13'
55
- }, {
56
- groupId: 'Group1',
57
- id: '1212'
58
- }, {
59
- groupId: 'Group2',
60
- id: '2222'
61
- }],
62
- selectedOptionDetails: {
63
- Group1: [{
64
- value: 'Ashok',
65
- id: '1212'
66
- }],
67
- Group2: [{
68
- value: 'team 1',
69
- id: '2222'
70
- }]
71
- }
72
- };
73
- return _this;
74
- }
75
-
76
- _createClass(AdvancedGroupMultiSelect__default, [{
77
- key: "getNextOptions",
78
- value: function getNextOptions(searchStr) {
79
- return Promise.resolve();
80
- }
81
- }, {
82
- key: "onSearch",
83
- value: function onSearch(searchStr) {
84
- return Promise.resolve();
85
- }
86
- }, {
87
- key: "handleSelectOptions",
88
- value: function handleSelectOptions() {
89
- var selectedGroupOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
90
- this.setState({
91
- selectedGroupOptions: selectedGroupOptions
92
- });
93
- }
94
- }, {
95
- key: "groupFooter",
96
- value: function groupFooter() {
97
- return /*#__PURE__*/_react["default"].createElement("div", null, "Footer");
98
- }
99
- }, {
100
- key: "render",
101
- value: function render() {
102
- var groupOptions = [{
103
- id: 'Group1',
104
- name: 'Group 1',
105
- options: [{
106
- id: 'group11',
107
- value: 'Option 1'
108
- }, {
109
- id: 'group12',
110
- value: 'Option 2'
111
- }, {
112
- id: 'group13',
113
- value: 'Option 3'
114
- }],
115
- textField: 'value',
116
- valueField: 'id'
117
- }, {
118
- id: 'Group2',
119
- name: 'Group 2',
120
- options: [{
121
- id: 'group21',
122
- value: 'Group2 Option 1'
123
- }, {
124
- id: 'group22',
125
- value: 'Group2 Option 2'
126
- }, {
127
- id: 'group23',
128
- value: 'Group2 Option 3'
129
- }],
130
- textField: 'value',
131
- valueField: 'id'
132
- }];
133
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AdvancedGroupMultiSelect["default"], {
134
- groupedOptions: groupOptions,
135
- selectedGroupOptions: this.state.selectedGroupOptions,
136
- onChange: this.handleSelectOptions,
137
- dataIdSrchEmptyMsg: "EmptySearch",
138
- dataIdNoOptnsMsg: "NoData",
139
- needLocalSearch: true,
140
- getNextOptions: this.getNextOptions,
141
- onSearch: this.onSearch,
142
- selectedOptionDetails: this.state.selectedOptionDetails,
143
- i18nKeys: {
144
- clearText: 'Clear Selected Items',
145
- loadingText: 'Fetching...',
146
- emptyText: 'No Options .',
147
- noMoreText: 'No More Options .',
148
- searchEmptyText: 'No Matches Found .'
149
- }
150
- }), /*#__PURE__*/_react["default"].createElement(_AdvancedGroupMultiSelect["default"], {
151
- groupedOptions: groupOptions,
152
- selectedGroupOptions: this.state.selectedGroupOptions,
153
- onChange: this.handleSelectOptions,
154
- emptyMessage: "No data found",
155
- searchEmptyMessage: "No results found",
156
- dataIdSrchEmptyMsg: "EmptySearch",
157
- dataIdNoOptnsMsg: "NoData",
158
- needLocalSearch: true,
159
- getNextOptions: this.getNextOptions,
160
- onSearch: this.onSearch,
161
- selectedOptionDetails: this.state.selectedOptionDetails,
162
- getFooter: this.groupFooter
163
- }, /*#__PURE__*/_react["default"].createElement("div", null, "Children")));
164
- }
165
- }]);
166
-
167
- return AdvancedGroupMultiSelect__default;
168
- }(_react["default"].Component);
169
-
170
- exports["default"] = AdvancedGroupMultiSelect__default;
171
-
172
- if (false) {
173
- AdvancedGroupMultiSelect__default.docs = {
174
- componentGroup: 'Form Elements',
175
- folderName: 'Style Guide'
176
- };
177
- }
@@ -1,165 +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 _AdvancedMultiSelect = _interopRequireDefault(require("../AdvancedMultiSelect"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
-
22
- 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); } }
23
-
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
-
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
-
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
-
30
- 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); }; }
31
-
32
- 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); }
33
-
34
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
-
36
- 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; } }
37
-
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
-
40
- var AdvancedMultiSelect__default = /*#__PURE__*/function (_Component) {
41
- _inherits(AdvancedMultiSelect__default, _Component);
42
-
43
- var _super = _createSuper(AdvancedMultiSelect__default);
44
-
45
- function AdvancedMultiSelect__default(props) {
46
- var _this;
47
-
48
- _classCallCheck(this, AdvancedMultiSelect__default);
49
-
50
- _this = _super.call(this, props);
51
- _this.state = {
52
- options: [{
53
- id: 2,
54
- text: 'text2',
55
- listItemProps: {
56
- style: {
57
- color: 'red'
58
- }
59
- }
60
- }, {
61
- id: 3,
62
- text: 'text3',
63
- listItemProps: {
64
- style: {
65
- color: 'blue'
66
- }
67
- }
68
- }, {
69
- id: 4,
70
- text: 'text4'
71
- }, {
72
- id: 5,
73
- text: 'text5'
74
- }, {
75
- id: 6,
76
- text: 'text6'
77
- }, {
78
- id: 7,
79
- text: 'text7'
80
- }, {
81
- id: 8,
82
- text: 'text8'
83
- }, {
84
- id: 9,
85
- text: 'text9'
86
- }, {
87
- id: 10,
88
- text: 'text10'
89
- }],
90
- selectedOptions: [1, 2, 3, 4],
91
- selectedOptionDetails: [{
92
- id: 1,
93
- text: 'text1'
94
- }]
95
- };
96
- _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
97
- _this.handleGetSelectedOptionDetails = _this.handleGetSelectedOptionDetails.bind(_assertThisInitialized(_this));
98
- _this.getFooter = _this.getFooter.bind(_assertThisInitialized(_this));
99
- return _this;
100
- }
101
-
102
- _createClass(AdvancedMultiSelect__default, [{
103
- key: "handleChange",
104
- value: function handleChange(selectedOptions) {
105
- this.setState({
106
- selectedOptions: selectedOptions
107
- });
108
- }
109
- }, {
110
- key: "handleGetSelectedOptionDetails",
111
- value: function handleGetSelectedOptionDetails() {
112
- return Promise.resolve();
113
- }
114
- }, {
115
- key: "getFooter",
116
- value: function getFooter() {
117
- return /*#__PURE__*/_react["default"].createElement("div", null, "Custom Footer");
118
- }
119
- }, {
120
- key: "render",
121
- value: function render() {
122
- var _this$state = this.state,
123
- selectedOptions = _this$state.selectedOptions,
124
- options = _this$state.options,
125
- selectedOptionDetails = _this$state.selectedOptionDetails;
126
- return /*#__PURE__*/_react["default"].createElement(_AdvancedMultiSelect["default"], {
127
- id: "8888",
128
- options: options,
129
- selectedOptions: selectedOptions,
130
- onChange: this.handleChange,
131
- selectedOptionsLimit: 2,
132
- selectedOptionDetails: selectedOptionDetails,
133
- getSelectedOptionDetails: this.handleGetSelectedOptionDetails,
134
- needSelectAll: true,
135
- selectAllText: "Select All",
136
- placeHolder: "Select Text",
137
- optionType: "default",
138
- i18nKeys: {
139
- clearText: 'Clear Selected Items',
140
- loadingText: 'Fetching...',
141
- emptyText: 'No Options .',
142
- noMoreText: 'No More Options .',
143
- searchEmptyText: 'No Matches Found .'
144
- },
145
- getFooter: this.getFooter,
146
- customProps: {
147
- SuggestionsProps: {
148
- needBorder: false
149
- }
150
- }
151
- });
152
- }
153
- }]);
154
-
155
- return AdvancedMultiSelect__default;
156
- }(_react.Component);
157
-
158
- exports["default"] = AdvancedMultiSelect__default;
159
-
160
- if (false) {
161
- AdvancedMultiSelect__default.docs = {
162
- componentGroup: 'Form Elements',
163
- folderName: 'Style Guide'
164
- };
165
- }
@@ -1,191 +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 _MultiSelectWithAvatar = _interopRequireDefault(require("../MultiSelectWithAvatar"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
- 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
- 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
- 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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 MultiSelectWithAvatar__default = /*#__PURE__*/function (_Component) {
43
- _inherits(MultiSelectWithAvatar__default, _Component);
44
-
45
- var _super = _createSuper(MultiSelectWithAvatar__default);
46
-
47
- function MultiSelectWithAvatar__default(props) {
48
- var _this;
49
-
50
- _classCallCheck(this, MultiSelectWithAvatar__default);
51
-
52
- _this = _super.call(this, props);
53
- var photoURL = '';
54
- _this.state = {
55
- options: [{
56
- id: 'text1',
57
- text: 'text1',
58
- photoURL: photoURL
59
- }, {
60
- id: 'text2',
61
- text: 'text2',
62
- photoURL: photoURL
63
- }, {
64
- id: 'text3',
65
- text: 'text3',
66
- photoURL: photoURL
67
- }, {
68
- id: 'text4',
69
- text: 'text4',
70
- photoURL: photoURL
71
- }, {
72
- id: 'text5',
73
- text: 'text5'
74
- }, {
75
- id: 'text6',
76
- text: 'text6',
77
- photoURL: photoURL
78
- }, {
79
- id: 'text7',
80
- text: 'text7',
81
- photoURL: photoURL
82
- }, {
83
- id: 'text8',
84
- text: 'text8',
85
- photoURL: photoURL
86
- }, {
87
- id: 'text9',
88
- text: 'text9',
89
- photoURL: photoURL
90
- }, {
91
- id: 'text10',
92
- text: 'text10',
93
- photoURL: photoURL
94
- }],
95
- selectedOptions: ['text1', 'text2', 'text3', 'text4', 'text5']
96
- };
97
- _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
98
- return _this;
99
- }
100
-
101
- _createClass(MultiSelectWithAvatar__default, [{
102
- key: "handleSelect",
103
- value: function handleSelect(options) {
104
- this.setState({
105
- selectedOptions: options
106
- });
107
- }
108
- }, {
109
- key: "render",
110
- value: function render() {
111
- var _this$state = this.state,
112
- selectedOptions = _this$state.selectedOptions,
113
- options = _this$state.options;
114
- 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(_MultiSelectWithAvatar["default"], {
115
- valueField: "id",
116
- textField: "text",
117
- imageField: "photoURL",
118
- options: options,
119
- onChange: this.handleSelect,
120
- selectedOptions: selectedOptions,
121
- needSelectAll: true,
122
- selectAllText: "Select All",
123
- placeHolder: "Select Text",
124
- i18nKeys: {
125
- clearText: 'Clear Selected Items',
126
- loadingText: 'Fetching...',
127
- emptyText: 'No Options .',
128
- noMoreText: 'No More Options .',
129
- searchEmptyText: 'No Matches Found .'
130
- }
131
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Disabled"), /*#__PURE__*/_react["default"].createElement(_MultiSelectWithAvatar["default"], {
132
- isDisabled: true,
133
- valueField: "id",
134
- textField: "text",
135
- imageField: "photoURL",
136
- options: options,
137
- onChange: this.handleSelect,
138
- selectedOptions: selectedOptions,
139
- needSelectAll: true,
140
- selectAllText: "Select All",
141
- placeHolder: "Select Text",
142
- emptyMessage: "No Options",
143
- noMoreOptionsMessage: "No More Options",
144
- searchEmptyMessage: "No Matches Found"
145
- }), /*#__PURE__*/_react["default"].createElement("div", null, "Readonly"), /*#__PURE__*/_react["default"].createElement(_MultiSelectWithAvatar["default"], {
146
- isReadOnly: true,
147
- valueField: "id",
148
- textField: "text",
149
- imageField: "photoURL",
150
- options: options,
151
- onChange: this.handleSelect,
152
- selectedOptions: selectedOptions,
153
- needSelectAll: true,
154
- selectAllText: "Select All",
155
- placeHolder: "Select Text",
156
- emptyMessage: "No Options",
157
- noMoreOptionsMessage: "No More Options",
158
- searchEmptyMessage: "No Matches Found"
159
- }), /*#__PURE__*/_react["default"].createElement(_MultiSelectWithAvatar["default"], {
160
- isReadOnly: true,
161
- valueField: "id",
162
- textField: "text",
163
- imageField: "photoURL",
164
- options: options,
165
- onChange: this.handleSelect,
166
- selectedOptions: selectedOptions,
167
- needSelectAll: true,
168
- selectAllText: "Select All",
169
- placeHolder: "Select Text",
170
- emptyMessage: "No Options",
171
- noMoreOptionsMessage: "No More Options",
172
- searchEmptyMessage: "No Matches Found",
173
- needBorder: false,
174
- disableAction: true
175
- })));
176
- }
177
- }]);
178
-
179
- return MultiSelectWithAvatar__default;
180
- }(_react.Component);
181
-
182
- exports["default"] = MultiSelectWithAvatar__default;
183
-
184
- if (false) {
185
- MultiSelectWithAvatar__default.docs = {
186
- componentGroup: 'Form Elements',
187
- folderName: 'Style Guide',
188
- external: true,
189
- description: ' '
190
- };
191
- }