@zohodesk/components 1.0.0-temp-137 → 1.0.0-temp-138

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 (330) hide show
  1. package/README.md +1166 -1168
  2. package/assets/Appearance/dark/mode/darkMode.module.css +184 -185
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +30 -30
  4. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +30 -30
  5. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +30 -30
  6. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +30 -30
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +30 -30
  8. package/assets/Appearance/default/mode/defaultMode.module.css +180 -181
  9. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +30 -30
  10. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +30 -30
  11. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +30 -30
  12. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +30 -30
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +30 -30
  14. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +185 -186
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +30 -30
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +30 -30
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +30 -30
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +30 -30
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +30 -30
  20. package/css_error.log +0 -1
  21. package/docs/external/active-line.js +72 -72
  22. package/docs/external/autorefresh.js +47 -47
  23. package/docs/external/codemirror.js +9681 -9681
  24. package/docs/external/css/hopscotch.css +576 -576
  25. package/docs/external/css/styleGuide.css +1100 -1100
  26. package/docs/external/css.js +466 -466
  27. package/docs/external/designTokens.js +1 -1
  28. package/docs/external/foldcode.js +151 -151
  29. package/docs/external/format.js +129 -129
  30. package/docs/external/htmlmixed.js +84 -84
  31. package/docs/external/index.html +127 -127
  32. package/docs/external/javascript.js +422 -422
  33. package/docs/external/jsx.js +147 -147
  34. package/docs/external/matchbrackets.js +145 -145
  35. package/docs/external/xml.js +322 -322
  36. package/docs/package.json +41 -41
  37. package/docs/src/index.js +1311 -1311
  38. package/es/AppContainer/AppContainer.js +0 -1
  39. package/es/AppContainer/AppContainer.module.css +18 -18
  40. package/es/Avatar/Avatar.js +9 -9
  41. package/es/Avatar/Avatar.module.css +141 -176
  42. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  43. package/es/AvatarTeam/AvatarTeam.js +7 -7
  44. package/es/AvatarTeam/AvatarTeam.module.css +188 -188
  45. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  46. package/es/Button/Button.js +4 -4
  47. package/es/Button/Button.module.css +525 -543
  48. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  49. package/es/Buttongroup/Buttongroup.js +1 -1
  50. package/es/Buttongroup/Buttongroup.module.css +89 -107
  51. package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  52. package/es/Card/Card.js +4 -4
  53. package/es/Card/Card.module.css +20 -20
  54. package/es/CheckBox/CheckBox.js +0 -0
  55. package/es/CheckBox/CheckBox.module.css +157 -157
  56. package/es/DateTime/CalendarView.js +0 -0
  57. package/es/DateTime/DateTime.js +0 -0
  58. package/es/DateTime/DateTime.module.css +235 -235
  59. package/es/DateTime/DateWidget.js +0 -0
  60. package/es/DateTime/DateWidget.module.css +38 -38
  61. package/es/DateTime/YearView.js +0 -0
  62. package/es/DateTime/YearView.module.css +98 -98
  63. package/es/DateTime/common.js +0 -0
  64. package/es/DateTime/index.js +0 -0
  65. package/es/DateTime/objectUtils.js +0 -0
  66. package/es/DateTime/typeChecker.js +0 -0
  67. package/es/DateTime/validator.js +0 -0
  68. package/es/DropBox/DropBox.js +0 -0
  69. package/es/DropBox/DropBox.module.css +405 -489
  70. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  71. package/es/DropDown/DropDown.js +0 -0
  72. package/es/DropDown/DropDown.module.css +5 -5
  73. package/es/DropDown/DropDownHeading.js +0 -0
  74. package/es/DropDown/DropDownHeading.module.css +53 -53
  75. package/es/DropDown/DropDownItem.js +0 -0
  76. package/es/DropDown/DropDownItem.module.css +94 -94
  77. package/es/DropDown/DropDownSearch.js +0 -0
  78. package/es/DropDown/DropDownSearch.module.css +14 -14
  79. package/es/DropDown/DropDownSeparator.js +0 -0
  80. package/es/DropDown/DropDownSeparator.module.css +7 -7
  81. package/es/Heading/Heading.module.css +4 -4
  82. package/es/Label/Label.js +2 -2
  83. package/es/Label/Label.module.css +52 -52
  84. package/es/Label/LabelColors.module.css +20 -20
  85. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  86. package/es/Layout/Box.js +0 -0
  87. package/es/Layout/Container.js +0 -0
  88. package/es/Layout/Layout.module.css +335 -335
  89. package/es/Layout/utils.js +0 -0
  90. package/es/ListItem/ListItem.js +3 -2
  91. package/es/ListItem/ListItem.module.css +214 -209
  92. package/es/ListItem/ListItemWithAvatar.js +3 -2
  93. package/es/ListItem/ListItemWithCheckBox.js +3 -2
  94. package/es/ListItem/ListItemWithIcon.js +3 -2
  95. package/es/ListItem/ListItemWithRadio.js +3 -2
  96. package/es/ListItem/props/defaultProps.js +12 -6
  97. package/es/ListItem/props/propTypes.js +7 -1
  98. package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  99. package/es/MultiSelect/MultiSelect.js +5 -5
  100. package/es/MultiSelect/MultiSelect.module.css +205 -205
  101. package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
  102. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  103. package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  104. package/es/PopOver/PopOver.module.css +8 -8
  105. package/es/Popup/Popup.js +0 -0
  106. package/es/Popup/PositionMapping.json +73 -73
  107. package/es/Radio/Radio.js +0 -0
  108. package/es/Radio/Radio.module.css +112 -112
  109. package/es/Responsive/CustomResponsive.js +0 -0
  110. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  111. package/es/Ribbon/Ribbon.js +0 -0
  112. package/es/Ribbon/Ribbon.module.css +376 -454
  113. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  114. package/es/RippleEffect/RippleEffect.module.css +92 -92
  115. package/es/Select/GroupSelect.js +0 -0
  116. package/es/Select/Select.js +0 -0
  117. package/es/Select/Select.module.css +108 -108
  118. package/es/Select/SelectWithAvatar.js +0 -0
  119. package/es/Select/SelectWithIcon.js +0 -0
  120. package/es/Select/__tests__/Select.spec.js +0 -0
  121. package/es/Stencils/Stencils.js +0 -0
  122. package/es/Stencils/Stencils.module.css +96 -96
  123. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  124. package/es/Switch/Switch.js +0 -0
  125. package/es/Switch/Switch.module.css +110 -127
  126. package/es/Tab/Tab.module.css +100 -100
  127. package/es/Tab/TabContent.module.css +4 -4
  128. package/es/Tab/Tabs.js +17 -17
  129. package/es/Tab/Tabs.module.css +139 -143
  130. package/es/Tag/Tag.js +8 -8
  131. package/es/Tag/Tag.module.css +254 -254
  132. package/es/TextBox/TextBox.js +0 -0
  133. package/es/TextBox/TextBox.module.css +157 -157
  134. package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  135. package/es/TextBoxIcon/TextBoxIcon.js +0 -0
  136. package/es/TextBoxIcon/TextBoxIcon.module.css +78 -78
  137. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  138. package/es/Textarea/Textarea.js +0 -0
  139. package/es/Textarea/Textarea.module.css +139 -139
  140. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  141. package/es/Tooltip/Tooltip.module.css +109 -134
  142. package/es/common/a11y.module.css +3 -3
  143. package/es/common/animation.module.css +624 -624
  144. package/es/common/avatarsizes.module.css +48 -48
  145. package/es/common/basic.module.css +33 -33
  146. package/es/common/basicReset.module.css +40 -40
  147. package/es/common/common.module.css +524 -524
  148. package/es/common/customscroll.module.css +89 -89
  149. package/es/common/reset.module.css +12 -12
  150. package/es/common/transition.module.css +146 -146
  151. package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
  152. package/es/semantic/Button/semanticButton.module.css +9 -9
  153. package/es/utils/Common.js +0 -1
  154. package/es/utils/dropDownUtils.js +0 -0
  155. package/install.md +10 -10
  156. package/lib/Accordion/Accordion.js +3 -1
  157. package/lib/Accordion/AccordionItem.js +3 -1
  158. package/lib/Animation/Animation.js +3 -1
  159. package/lib/AppContainer/AppContainer.js +3 -2
  160. package/lib/AppContainer/AppContainer.module.css +18 -18
  161. package/lib/Avatar/Avatar.js +13 -11
  162. package/lib/Avatar/Avatar.module.css +141 -176
  163. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  164. package/lib/AvatarTeam/AvatarTeam.js +10 -8
  165. package/lib/AvatarTeam/AvatarTeam.module.css +188 -188
  166. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  167. package/lib/Button/Button.js +7 -5
  168. package/lib/Button/Button.module.css +525 -543
  169. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  170. package/lib/Buttongroup/Buttongroup.js +6 -3
  171. package/lib/Buttongroup/Buttongroup.module.css +89 -107
  172. package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  173. package/lib/Card/Card.js +7 -5
  174. package/lib/Card/Card.module.css +20 -20
  175. package/lib/CheckBox/CheckBox.js +3 -1
  176. package/lib/CheckBox/CheckBox.module.css +157 -157
  177. package/lib/DateTime/CalendarView.js +5 -2
  178. package/lib/DateTime/DateTime.js +5 -3
  179. package/lib/DateTime/DateTime.module.css +235 -235
  180. package/lib/DateTime/DateTimePopupFooter.js +3 -1
  181. package/lib/DateTime/DateTimePopupHeader.js +3 -1
  182. package/lib/DateTime/DateWidget.js +3 -1
  183. package/lib/DateTime/DateWidget.module.css +38 -38
  184. package/lib/DateTime/DaysRow.js +3 -1
  185. package/lib/DateTime/Time.js +3 -1
  186. package/lib/DateTime/YearView.js +3 -1
  187. package/lib/DateTime/YearView.module.css +98 -98
  188. package/lib/DateTime/common.js +0 -0
  189. package/lib/DateTime/dateFormatUtils/timeChange.js +2 -2
  190. package/lib/DateTime/index.js +0 -0
  191. package/lib/DateTime/objectUtils.js +0 -0
  192. package/lib/DateTime/typeChecker.js +0 -0
  193. package/lib/DateTime/validator.js +4 -4
  194. package/lib/DropBox/DropBox.js +3 -1
  195. package/lib/DropBox/DropBox.module.css +405 -489
  196. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  197. package/lib/DropDown/DropDown.js +5 -2
  198. package/lib/DropDown/DropDown.module.css +5 -5
  199. package/lib/DropDown/DropDownHeading.js +3 -1
  200. package/lib/DropDown/DropDownHeading.module.css +53 -53
  201. package/lib/DropDown/DropDownItem.js +3 -1
  202. package/lib/DropDown/DropDownItem.module.css +94 -94
  203. package/lib/DropDown/DropDownSearch.js +5 -2
  204. package/lib/DropDown/DropDownSearch.module.css +14 -14
  205. package/lib/DropDown/DropDownSeparator.js +3 -1
  206. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  207. package/lib/DropDown/props/propTypes.js +4 -1
  208. package/lib/Heading/Heading.js +4 -2
  209. package/lib/Heading/Heading.module.css +4 -4
  210. package/lib/Label/Label.js +3 -1
  211. package/lib/Label/Label.module.css +52 -52
  212. package/lib/Label/LabelColors.module.css +20 -20
  213. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  214. package/lib/Layout/Box.js +0 -0
  215. package/lib/Layout/Container.js +0 -0
  216. package/lib/Layout/Layout.module.css +335 -335
  217. package/lib/Layout/utils.js +0 -0
  218. package/lib/ListItem/ListItem.js +6 -3
  219. package/lib/ListItem/ListItem.module.css +214 -209
  220. package/lib/ListItem/ListItemWithAvatar.js +6 -3
  221. package/lib/ListItem/ListItemWithCheckBox.js +6 -3
  222. package/lib/ListItem/ListItemWithIcon.js +6 -3
  223. package/lib/ListItem/ListItemWithRadio.js +6 -3
  224. package/lib/ListItem/props/defaultProps.js +12 -6
  225. package/lib/ListItem/props/propTypes.js +11 -3
  226. package/lib/Modal/Modal.js +3 -1
  227. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +11 -9
  228. package/lib/MultiSelect/AdvancedMultiSelect.js +4 -2
  229. package/lib/MultiSelect/EmptyState.js +3 -1
  230. package/lib/MultiSelect/MultiSelect.js +10 -8
  231. package/lib/MultiSelect/MultiSelect.module.css +205 -205
  232. package/lib/MultiSelect/MultiSelectHeader.js +3 -1
  233. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -1
  234. package/lib/MultiSelect/SelectedOptions.js +5 -2
  235. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  236. package/lib/MultiSelect/Suggestions.js +4 -2
  237. package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  238. package/lib/PopOver/PopOver.js +3 -1
  239. package/lib/PopOver/PopOver.module.css +8 -8
  240. package/lib/Popup/Popup.js +4 -2
  241. package/lib/Popup/PositionMapping.json +73 -73
  242. package/lib/Popup/__tests__/Popup.spec.js +3 -1
  243. package/lib/Provider/LibraryContext.js +5 -3
  244. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  245. package/lib/Radio/Radio.js +3 -1
  246. package/lib/Radio/Radio.module.css +112 -112
  247. package/lib/Responsive/CustomResponsive.js +6 -4
  248. package/lib/Responsive/RefWrapper.js +4 -2
  249. package/lib/Responsive/ResizeComponent.js +9 -4
  250. package/lib/Responsive/ResizeObserver.js +4 -1
  251. package/lib/Responsive/Responsive.js +6 -4
  252. package/lib/Responsive/sizeObservers.js +4 -2
  253. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -1
  254. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  255. package/lib/Ribbon/Ribbon.js +3 -1
  256. package/lib/Ribbon/Ribbon.module.css +376 -454
  257. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  258. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  259. package/lib/Select/GroupSelect.js +5 -3
  260. package/lib/Select/Select.js +3 -1
  261. package/lib/Select/Select.module.css +108 -108
  262. package/lib/Select/SelectWithAvatar.js +3 -1
  263. package/lib/Select/SelectWithIcon.js +3 -1
  264. package/lib/Select/__tests__/Select.spec.js +2 -2
  265. package/lib/Select/props/defaultProps.js +4 -1
  266. package/lib/Stencils/Stencils.js +3 -1
  267. package/lib/Stencils/Stencils.module.css +96 -96
  268. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  269. package/lib/Switch/Switch.js +3 -1
  270. package/lib/Switch/Switch.module.css +110 -127
  271. package/lib/Tab/Tab.module.css +100 -100
  272. package/lib/Tab/TabContent.module.css +4 -4
  273. package/lib/Tab/TabWrapper.js +2 -2
  274. package/lib/Tab/Tabs.js +15 -13
  275. package/lib/Tab/Tabs.module.css +139 -143
  276. package/lib/Tag/Tag.js +11 -9
  277. package/lib/Tag/Tag.module.css +254 -254
  278. package/lib/TextBox/TextBox.js +3 -1
  279. package/lib/TextBox/TextBox.module.css +157 -157
  280. package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  281. package/lib/TextBox/props/propTypes.js +4 -1
  282. package/lib/TextBoxIcon/TextBoxIcon.js +5 -2
  283. package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
  284. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  285. package/lib/Textarea/Textarea.js +3 -1
  286. package/lib/Textarea/Textarea.module.css +139 -139
  287. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  288. package/lib/Tooltip/Tooltip.js +3 -1
  289. package/lib/Tooltip/Tooltip.module.css +109 -134
  290. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -1
  291. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -1
  292. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -2
  293. package/lib/common/a11y.module.css +3 -3
  294. package/lib/common/animation.module.css +624 -624
  295. package/lib/common/avatarsizes.module.css +48 -48
  296. package/lib/common/basic.module.css +33 -33
  297. package/lib/common/basicReset.module.css +40 -40
  298. package/lib/common/common.module.css +524 -524
  299. package/lib/common/customscroll.module.css +89 -89
  300. package/lib/common/reset.module.css +12 -12
  301. package/lib/common/transition.module.css +146 -146
  302. package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
  303. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -1
  304. package/lib/semantic/Button/Button.js +3 -1
  305. package/lib/semantic/Button/semanticButton.module.css +9 -9
  306. package/lib/utils/Common.js +0 -1
  307. package/lib/utils/constructFullName.js +2 -2
  308. package/lib/utils/css/mergeStyle.js +4 -1
  309. package/lib/utils/dropDownUtils.js +5 -3
  310. package/package.json +102 -102
  311. package/assets/Appearance/dark/themes/blue/blueDarkCTAModifyCategory.module.css +0 -102
  312. package/assets/Appearance/dark/themes/green/greenDarkCTAModifyCategory.module.css +0 -102
  313. package/assets/Appearance/dark/themes/orange/orangeDarkCTAModifyCategory.module.css +0 -102
  314. package/assets/Appearance/dark/themes/red/redDarkCTAModifyCategory.module.css +0 -102
  315. package/assets/Appearance/dark/themes/yellow/yellowDarkCTAModifyCategory.module.css +0 -102
  316. package/assets/Appearance/default/themes/blue/blueDefaultCTAModifyCategory.module.css +0 -102
  317. package/assets/Appearance/default/themes/green/greenDefaultCTAModifyCategory.module.css +0 -102
  318. package/assets/Appearance/default/themes/orange/orangeDefaultCTAModifyCategory.module.css +0 -102
  319. package/assets/Appearance/default/themes/red/redDefaultCTAModifyCategory.module.css +0 -102
  320. package/assets/Appearance/default/themes/yellow/yellowDefaultCTAModifyCategory.module.css +0 -102
  321. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTAModifyCategory.module.css +0 -102
  322. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTAModifyCategory.module.css +0 -102
  323. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTAModifyCategory.module.css +0 -102
  324. package/assets/Appearance/pureDark/themes/red/redPureDarkCTAModifyCategory.module.css +0 -102
  325. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTAModifyCategory.module.css +0 -102
  326. package/assets/Contrast/darkContrastLightness.module.css +0 -33
  327. package/assets/Contrast/defaultContrastLightness.module.css +0 -33
  328. package/assets/Contrast/pureDarkContrastLightness.module.css +0 -33
  329. package/es/common/boxShadow.module.css +0 -71
  330. package/lib/common/boxShadow.module.css +0 -71
@@ -1,127 +1,127 @@
1
- .wrapper {
2
- position: relative;
3
- }
4
- .disabled, .readOnly {
5
- cursor: not-allowed;
6
- }
7
- .container {
8
- max-height: var(--zd_size120);
9
- composes: oflowy from '../common/common.module.css';
10
- }
11
- .hasBorder {
12
- transition: border var(--zd_transition2) linear 0s;
13
- border-bottom-style: solid;
14
- border-bottom-width: 1px;
15
- }
16
- .borderColor_transparent {
17
- border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
18
- }
19
- .effect .borderColor_transparent:hover {
20
- border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
21
- }
22
- .effect .borderColor_transparent.active {
23
- border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
24
- }
25
- .borderColor_default {
26
- border-bottom-color: var(--zdt_advancedmultiselect_default_border);
27
- }
28
- .effect .borderColor_default:hover {
29
- border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
30
- }
31
- .effect .borderColor_default.active {
32
- border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
33
- }
34
- .borderColor_dark {
35
- border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
36
- }
37
- .effect .borderColor_dark:hover {
38
- border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
39
- }
40
- .effect .borderColor_dark.active {
41
- border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
42
- }
43
- [dir=ltr] .container.medium {
44
- padding: 0 var(--zd_size34) var(--zd_size7) 0;
45
- }
46
- [dir=rtl] .container.medium {
47
- padding: 0 0 var(--zd_size7) var(--zd_size34);
48
- }
49
- .container.xmedium {
50
- min-height: var(--zd_size30);
51
- }
52
- [dir=ltr] .container.xmedium {
53
- padding: 0 var(--zd_size34) var(--zd_size1) 0;
54
- }
55
- [dir=rtl] .container.xmedium {
56
- padding: 0 0 var(--zd_size1) var(--zd_size34);
57
- }
58
-
59
- .delete {
60
- position: absolute;
61
- bottom: 0;
62
- color: var(--zdt_advancedmultiselect_delete_text);
63
- padding-bottom: var(--zd_size10);
64
- cursor: pointer;
65
- background-color: var(--zdt_advancedmultiselect_delete_bg);
66
- border: 0;
67
- }
68
-
69
- [dir=ltr] .delete {
70
- right: var(--zd_size15);
71
- }
72
-
73
- [dir=rtl] .delete {
74
- left: var(--zd_size15);
75
- }
76
-
77
- .delete:hover {
78
- color: var(--zdt_advancedmultiselect_delete_hover_text);
79
- }
80
- .transparentContainer .delete {
81
- opacity: 0;
82
- visibility: hidden;
83
- }
84
- .transparentContainer:hover .delete {
85
- opacity: 1;
86
- visibility: visible;
87
- }
88
-
89
- .box {
90
- background: var(--zdt_advancedmultiselect_box_bg);
91
- }
92
-
93
- .small {
94
- max-height: var(--zd_size200);
95
- }
96
-
97
- .medium {
98
- max-height: var(--zd_size350);
99
- }
100
-
101
- .large {
102
- max-height: var(--zd_size400);
103
- }
104
-
105
- .dropContainer {
106
- display: inline-block;
107
- max-width: 100%;
108
- margin-bottom: var(--zd_size5);
109
- }
110
-
111
- .dropPopup {
112
- font-size: var(--zd_font_size13);
113
- }
114
-
115
- .dropPopup :global .toggleDropIcon {
116
- color: var(--zdt_advancedmultiselect_droppopup_text);
117
- }
118
-
119
- .more {
120
- font-size: var(--zd_font_size14);
121
- color: var(--zdt_advancedmultiselect_more_text);
122
- font-family: inherit;
123
- cursor: pointer;
124
- margin-top: var(--zd_size5);
125
- background-color: var(--zdt_advancedmultiselect_delete_bg);
126
- border: 0;
1
+ .wrapper {
2
+ position: relative;
3
+ }
4
+ .disabled, .readOnly {
5
+ cursor: not-allowed;
6
+ }
7
+ .container {
8
+ max-height: var(--zd_size120);
9
+ composes: oflowy from '../common/common.module.css';
10
+ }
11
+ .hasBorder {
12
+ transition: border var(--zd_transition2) linear 0s;
13
+ border-bottom-style: solid;
14
+ border-bottom-width: 1px;
15
+ }
16
+ .borderColor_transparent {
17
+ border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
18
+ }
19
+ .effect .borderColor_transparent:hover {
20
+ border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
21
+ }
22
+ .effect .borderColor_transparent.active {
23
+ border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
24
+ }
25
+ .borderColor_default {
26
+ border-bottom-color: var(--zdt_advancedmultiselect_default_border);
27
+ }
28
+ .effect .borderColor_default:hover {
29
+ border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
30
+ }
31
+ .effect .borderColor_default.active {
32
+ border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
33
+ }
34
+ .borderColor_dark {
35
+ border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
36
+ }
37
+ .effect .borderColor_dark:hover {
38
+ border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
39
+ }
40
+ .effect .borderColor_dark.active {
41
+ border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
42
+ }
43
+ [dir=ltr] .container.medium {
44
+ padding: 0 var(--zd_size34) var(--zd_size7) 0;
45
+ }
46
+ [dir=rtl] .container.medium {
47
+ padding: 0 0 var(--zd_size7) var(--zd_size34);
48
+ }
49
+ .container.xmedium {
50
+ min-height: var(--zd_size30);
51
+ }
52
+ [dir=ltr] .container.xmedium {
53
+ padding: 0 var(--zd_size34) var(--zd_size1) 0;
54
+ }
55
+ [dir=rtl] .container.xmedium {
56
+ padding: 0 0 var(--zd_size1) var(--zd_size34);
57
+ }
58
+
59
+ .delete {
60
+ position: absolute;
61
+ bottom: 0;
62
+ color: var(--zdt_advancedmultiselect_delete_text);
63
+ padding-bottom: var(--zd_size10);
64
+ cursor: pointer;
65
+ background-color: var(--zdt_advancedmultiselect_delete_bg);
66
+ border: 0;
67
+ }
68
+
69
+ [dir=ltr] .delete {
70
+ right: var(--zd_size15);
71
+ }
72
+
73
+ [dir=rtl] .delete {
74
+ left: var(--zd_size15);
75
+ }
76
+
77
+ .delete:hover {
78
+ color: var(--zdt_advancedmultiselect_delete_hover_text);
79
+ }
80
+ .transparentContainer .delete {
81
+ opacity: 0;
82
+ visibility: hidden;
83
+ }
84
+ .transparentContainer:hover .delete {
85
+ opacity: 1;
86
+ visibility: visible;
87
+ }
88
+
89
+ .box {
90
+ background: var(--zdt_advancedmultiselect_box_bg);
91
+ }
92
+
93
+ .small {
94
+ max-height: var(--zd_size200);
95
+ }
96
+
97
+ .medium {
98
+ max-height: var(--zd_size350);
99
+ }
100
+
101
+ .large {
102
+ max-height: var(--zd_size400);
103
+ }
104
+
105
+ .dropContainer {
106
+ display: inline-block;
107
+ max-width: 100%;
108
+ margin-bottom: var(--zd_size5);
109
+ }
110
+
111
+ .dropPopup {
112
+ font-size: var(--zd_font_size13);
113
+ }
114
+
115
+ .dropPopup :global .toggleDropIcon {
116
+ color: var(--zdt_advancedmultiselect_droppopup_text);
117
+ }
118
+
119
+ .more {
120
+ font-size: var(--zd_font_size14);
121
+ color: var(--zdt_advancedmultiselect_more_text);
122
+ font-family: inherit;
123
+ cursor: pointer;
124
+ margin-top: var(--zd_size5);
125
+ background-color: var(--zdt_advancedmultiselect_delete_bg);
126
+ border: 0;
127
127
  }
@@ -1,9 +1,9 @@
1
- .buttonReset {
2
- outline: 0;
3
- font: inherit;
4
- color: inherit;
5
- border: inherit;
6
- background-color: inherit;
7
- padding: 0;
8
- text-align: inherit;
9
- }
1
+ .buttonReset {
2
+ outline: 0;
3
+ font: inherit;
4
+ color: inherit;
5
+ border: inherit;
6
+ background-color: inherit;
7
+ padding: 0;
8
+ text-align: inherit;
9
+ }
@@ -349,7 +349,6 @@ export function isTextSelected() {
349
349
  let selectedText = '';
350
350
  if (window.getSelection) {
351
351
  selectedText = window.getSelection().toString();
352
- console.log(selectedText, 'selectedText');
353
352
  } else if (document.getSelection) {
354
353
  selectedText = document.getSelection().toString();
355
354
  }
File without changes
package/install.md CHANGED
@@ -1,10 +1,10 @@
1
- - For New :
2
-
3
- # npm i
4
- # npm run common_package_build
5
-
6
- For Update:
7
-
8
- # npm run download
9
- # npm run common_package_build
10
-
1
+ - For New :
2
+
3
+ # npm i
4
+ # npm run common_package_build
5
+
6
+ For Update:
7
+
8
+ # npm run download
9
+ # npm run common_package_build
10
+
@@ -10,8 +10,10 @@ var _defaultProps = require("./props/defaultProps");
10
10
  var _propTypes = require("./props/propTypes");
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
- 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); } }
13
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
17
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
18
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
17
19
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -12,8 +12,10 @@ var _VelocityAnimation = _interopRequireDefault(require("../VelocityAnimation/Ve
12
12
  var _VelocityAnimationGroup = _interopRequireDefault(require("../VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  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); }
18
20
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
21
  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); }; }
@@ -12,8 +12,10 @@ var _reactTransitionGroup = require("react-transition-group");
12
12
  var _transitionModule = _interopRequireDefault(require("../common/transition.module.css"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  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); }
18
20
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
21
  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); }; }
@@ -19,14 +19,15 @@ require("@zohodesk/variables/lib/fontFamilyVariables.module.css");
19
19
  require("@zohodesk/variables/assets/transitionVariables.module.css");
20
20
  require("@zohodesk/variables/assets/no_transitionVariables.module.css");
21
21
  require("../common/a11y.module.css");
22
- require("../common/boxShadow.module.css");
23
22
  var _AppContainerModule = _interopRequireDefault(require("./AppContainer.module.css"));
24
23
  var _Config = require("../Provider/Config");
25
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
26
25
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
26
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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); } }
27
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
29
28
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
30
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
30
31
  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); }
31
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32
33
  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); }; }
@@ -1,18 +1,18 @@
1
- .container,
2
- .container *,
3
- .container ::after,
4
- .container ::before {
5
- outline: 0;
6
- box-sizing: border-box;
7
- -webkit-box-sizing: border-box;
8
- -moz-box-sizing: border-box;
9
- -ms-box-sizing: border-box;
10
- }
11
- .container {
12
- font-family: var(--zd_regular);
13
- }
14
- .tooltip {
15
- height: 0;
16
- font-size: 0;
17
- /* contain:strict */
18
- }
1
+ .container,
2
+ .container *,
3
+ .container ::after,
4
+ .container ::before {
5
+ outline: 0;
6
+ box-sizing: border-box;
7
+ -webkit-box-sizing: border-box;
8
+ -moz-box-sizing: border-box;
9
+ -ms-box-sizing: border-box;
10
+ }
11
+ .container {
12
+ font-family: var(--zd_regular);
13
+ }
14
+ .tooltip {
15
+ height: 0;
16
+ font-size: 0;
17
+ /* contain:strict */
18
+ }
@@ -18,10 +18,12 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
18
18
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
19
19
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
20
20
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
21
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
21
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
22
22
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
24
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
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
25
27
  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); }
26
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
29
  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); }; }
@@ -29,16 +31,16 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
29
31
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
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; } }
31
33
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
32
- /*
33
- 1. need to change name into firstName lastName
34
- 2. pattern support via context as well as props
35
- 3. prop high priority to arrange firstName lastName
36
- 4. team pass name as lastName and pass pattern via prop
34
+ /*
35
+ 1. need to change name into firstName lastName
36
+ 2. pattern support via context as well as props
37
+ 3. prop high priority to arrange firstName lastName
38
+ 4. team pass name as lastName and pass pattern via prop
37
39
  */
38
- /*
39
- eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
40
- 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
41
- "info","default"] }]
40
+ /*
41
+ eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
42
+ 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
43
+ "info","default"] }]
42
44
  */
43
45
  var Avatar = /*#__PURE__*/function (_React$Component) {
44
46
  _inherits(Avatar, _React$Component);