@zohodesk/components 1.0.0-temp-162 → 1.0.0-temp-164

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 (335) hide show
  1. package/README.md +1212 -1212
  2. package/assets/Appearance/dark/mode/{darkMode.module.css → Component_DarkMode.module.css} +4 -4
  3. package/assets/Appearance/dark/themes/blue/{blueDarkCTAModifyCategory.module.css → blue_CTA_DarkModifyCategory.module.css} +1 -1
  4. package/assets/Appearance/dark/themes/blue/{blueDarkCTATheme.module.css → blue_CTA_DarkTheme.module.css} +3 -2
  5. package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +45 -0
  6. package/assets/Appearance/dark/themes/green/{greenDarkCTATheme.module.css → green_CTA_DarkTheme.module.css} +2 -1
  7. package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +45 -0
  8. package/assets/Appearance/dark/themes/orange/{orangeDarkCTATheme.module.css → orange_CTA_DarkTheme.module.css} +2 -1
  9. package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +45 -0
  10. package/assets/Appearance/dark/themes/red/{redDarkCTATheme.module.css → red_CTA_DarkTheme.module.css} +2 -1
  11. package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +45 -0
  12. package/assets/Appearance/dark/themes/yellow/{yellowDarkCTATheme.module.css → yellow_CTA_DarkTheme.module.css} +2 -1
  13. package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +45 -0
  14. package/assets/Appearance/{default/mode/defaultMode.module.css → light/mode/Component_LightMode.module.css} +155 -155
  15. package/assets/Appearance/{default/themes/blue/blueDefaultCTAModifyCategory.module.css → light/themes/blue/blue_CTA_LightModifyCategory.module.css} +451 -451
  16. package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +35 -0
  17. package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +45 -0
  18. package/assets/Appearance/{default/themes/green/greenDefaultCTAModifyCategory.module.css → light/themes/green/green_CTA_LightModifyCategory.module.css} +451 -451
  19. package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +35 -0
  20. package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +45 -0
  21. package/assets/Appearance/{default/themes/orange/orangeDefaultCTAModifyCategory.module.css → light/themes/orange/orange_CTA_LightModifyCategory.module.css} +451 -451
  22. package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +35 -0
  23. package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +45 -0
  24. package/assets/Appearance/{default/themes/red/redDefaultCTAModifyCategory.module.css → light/themes/red/red_CTA_LightModifyCategory.module.css} +451 -451
  25. package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +35 -0
  26. package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +45 -0
  27. package/assets/Appearance/{default/themes/yellow/yellowDefaultCTAModifyCategory.module.css → light/themes/yellow/yellow_CTA_LightModifyCategory.module.css} +451 -451
  28. package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +35 -0
  29. package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +45 -0
  30. package/assets/Appearance/pureDark/mode/{pureDarkMode.module.css → Component_PureDarkMode.module.css} +3 -3
  31. package/assets/Appearance/pureDark/themes/blue/{bluePureDarkCTAModifyCategory.module.css → blue_CTA_PureDarkModifyCategory.module.css} +1 -1
  32. package/assets/Appearance/pureDark/themes/blue/{bluePureDarkCTATheme.module.css → blue_CTA_PureDarkTheme.module.css} +3 -2
  33. package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +45 -0
  34. package/assets/Appearance/pureDark/themes/green/{greenPureDarkCTATheme.module.css → green_CTA_PureDarkTheme.module.css} +2 -1
  35. package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +45 -0
  36. package/assets/Appearance/pureDark/themes/orange/{orangePureDarkCTATheme.module.css → orange_CTA_PureDarkTheme.module.css} +2 -1
  37. package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +45 -0
  38. package/assets/Appearance/pureDark/themes/red/{redPureDarkCTATheme.module.css → red_CTA_PureDarkTheme.module.css} +2 -1
  39. package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +45 -0
  40. package/assets/Appearance/pureDark/themes/yellow/{yellowPureDarkCTATheme.module.css → yellow_CTA_PureDarkTheme.module.css} +2 -1
  41. package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +45 -0
  42. package/assets/Contrast/lightContrastLightness.module.css +39 -0
  43. package/es/AppContainer/AppContainer.module.css +18 -18
  44. package/es/Avatar/Avatar.js +12 -16
  45. package/es/Avatar/Avatar.module.css +175 -175
  46. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  47. package/es/AvatarTeam/AvatarTeam.js +7 -7
  48. package/es/AvatarTeam/AvatarTeam.module.css +189 -189
  49. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  50. package/es/Button/Button.js +4 -4
  51. package/es/Button/css/Button.module.css +525 -525
  52. package/es/Buttongroup/Buttongroup.js +1 -1
  53. package/es/Buttongroup/Buttongroup.module.css +106 -106
  54. package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  55. package/es/Card/Card.js +4 -4
  56. package/es/Card/Card.module.css +20 -20
  57. package/es/CheckBox/CheckBox.js +0 -0
  58. package/es/CheckBox/CheckBox.module.css +157 -157
  59. package/es/DateTime/CalendarView.js +1 -4
  60. package/es/DateTime/DateTime.js +0 -0
  61. package/es/DateTime/DateTime.module.css +236 -236
  62. package/es/DateTime/DateTimePopupHeader.js +7 -4
  63. package/es/DateTime/DateWidget.js +0 -0
  64. package/es/DateTime/DateWidget.module.css +38 -38
  65. package/es/DateTime/DaysRow.js +2 -5
  66. package/es/DateTime/Time.js +2 -5
  67. package/es/DateTime/YearView.js +9 -9
  68. package/es/DateTime/YearView.module.css +99 -96
  69. package/es/DateTime/common.js +0 -0
  70. package/es/DateTime/index.js +0 -0
  71. package/es/DateTime/objectUtils.js +0 -0
  72. package/es/DateTime/typeChecker.js +0 -0
  73. package/es/DateTime/validator.js +0 -0
  74. package/es/DropBox/DropBox.js +0 -0
  75. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +428 -428
  76. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  77. package/es/DropBox/css/DropBox.module.css +58 -58
  78. package/es/DropDown/DropDown.js +0 -0
  79. package/es/DropDown/DropDown.module.css +5 -5
  80. package/es/DropDown/DropDownHeading.js +0 -0
  81. package/es/DropDown/DropDownHeading.module.css +53 -53
  82. package/es/DropDown/DropDownItem.js +0 -0
  83. package/es/DropDown/DropDownItem.module.css +94 -94
  84. package/es/DropDown/DropDownSearch.js +0 -0
  85. package/es/DropDown/DropDownSearch.module.css +14 -14
  86. package/es/DropDown/DropDownSeparator.js +0 -0
  87. package/es/DropDown/DropDownSeparator.module.css +7 -7
  88. package/es/Heading/Heading.js +7 -7
  89. package/es/Heading/Heading.module.css +5 -72
  90. package/es/Heading/props/defaultProps.js +1 -3
  91. package/es/Heading/props/propTypes.js +3 -4
  92. package/es/Label/Label.js +5 -8
  93. package/es/Label/Label.module.css +52 -52
  94. package/es/Label/LabelColors.module.css +20 -20
  95. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  96. package/es/Layout/Box.js +0 -0
  97. package/es/Layout/Container.js +0 -0
  98. package/es/Layout/Layout.module.css +335 -335
  99. package/es/Layout/utils.js +0 -0
  100. package/es/ListItem/ListItem.js +3 -7
  101. package/es/ListItem/ListItem.module.css +216 -215
  102. package/es/ListItem/ListItemWithAvatar.js +3 -7
  103. package/es/ListItem/ListItemWithCheckBox.js +3 -7
  104. package/es/ListItem/ListItemWithIcon.js +2 -6
  105. package/es/ListItem/ListItemWithRadio.js +3 -7
  106. package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  107. package/es/MultiSelect/MultiSelect.js +5 -5
  108. package/es/MultiSelect/MultiSelect.module.css +206 -206
  109. package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
  110. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  111. package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  112. package/es/PopOver/PopOver.module.css +8 -8
  113. package/es/Popup/Popup.js +0 -0
  114. package/es/Popup/PositionMapping.json +73 -73
  115. package/es/Radio/Radio.js +0 -0
  116. package/es/Radio/Radio.module.css +112 -112
  117. package/es/Responsive/CustomResponsive.js +0 -0
  118. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  119. package/es/Ribbon/Ribbon.js +0 -0
  120. package/es/Ribbon/Ribbon.module.css +456 -456
  121. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  122. package/es/RippleEffect/RippleEffect.module.css +92 -92
  123. package/es/Select/GroupSelect.js +0 -0
  124. package/es/Select/Select.js +0 -0
  125. package/es/Select/Select.module.css +108 -108
  126. package/es/Select/SelectWithAvatar.js +0 -0
  127. package/es/Select/SelectWithIcon.js +0 -0
  128. package/es/Select/__tests__/Select.spec.js +0 -0
  129. package/es/Stencils/Stencils.js +0 -0
  130. package/es/Stencils/Stencils.module.css +96 -96
  131. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  132. package/es/Switch/Switch.js +0 -0
  133. package/es/Switch/Switch.module.css +127 -127
  134. package/es/Tab/Tab.js +2 -4
  135. package/es/Tab/Tab.module.css +100 -100
  136. package/es/Tab/TabContent.module.css +4 -4
  137. package/es/Tab/Tabs.js +17 -17
  138. package/es/Tab/Tabs.module.css +154 -154
  139. package/es/Tag/Tag.js +11 -16
  140. package/es/Tag/Tag.module.css +254 -254
  141. package/es/TextBox/TextBox.js +0 -0
  142. package/es/TextBox/TextBox.module.css +158 -158
  143. package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  144. package/es/TextBoxIcon/TextBoxIcon.js +0 -0
  145. package/es/TextBoxIcon/TextBoxIcon.module.css +79 -79
  146. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  147. package/es/Textarea/Textarea.js +0 -0
  148. package/es/Textarea/Textarea.module.css +139 -139
  149. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  150. package/es/Tooltip/Tooltip.module.css +140 -140
  151. package/es/common/a11y.module.css +3 -3
  152. package/es/common/animation.module.css +624 -624
  153. package/es/common/avatarsizes.module.css +48 -48
  154. package/es/common/basic.module.css +33 -33
  155. package/es/common/basicReset.module.css +40 -40
  156. package/es/common/boxShadow.module.css +33 -33
  157. package/es/common/common.module.css +524 -524
  158. package/es/common/customscroll.module.css +91 -91
  159. package/es/common/reset.module.css +13 -13
  160. package/es/common/transition.module.css +146 -146
  161. package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
  162. package/es/index.js +1 -3
  163. package/es/semantic/Button/semanticButton.module.css +9 -9
  164. package/es/utils/Common.js +0 -0
  165. package/es/utils/dropDownUtils.js +0 -0
  166. package/install.md +10 -10
  167. package/lib/AppContainer/AppContainer.module.css +18 -18
  168. package/lib/Avatar/Avatar.js +12 -16
  169. package/lib/Avatar/Avatar.module.css +175 -175
  170. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  171. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  172. package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
  173. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  174. package/lib/Button/Button.js +4 -4
  175. package/lib/Button/css/Button.module.css +525 -525
  176. package/lib/Buttongroup/Buttongroup.js +1 -1
  177. package/lib/Buttongroup/Buttongroup.module.css +106 -106
  178. package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  179. package/lib/Card/Card.js +4 -4
  180. package/lib/Card/Card.module.css +20 -20
  181. package/lib/CheckBox/CheckBox.js +0 -0
  182. package/lib/CheckBox/CheckBox.module.css +157 -157
  183. package/lib/DateTime/CalendarView.js +1 -4
  184. package/lib/DateTime/DateTime.js +0 -0
  185. package/lib/DateTime/DateTime.module.css +236 -236
  186. package/lib/DateTime/DateTimePopupHeader.js +7 -4
  187. package/lib/DateTime/DateWidget.js +0 -0
  188. package/lib/DateTime/DateWidget.module.css +38 -38
  189. package/lib/DateTime/DaysRow.js +2 -5
  190. package/lib/DateTime/Time.js +2 -5
  191. package/lib/DateTime/YearView.js +9 -9
  192. package/lib/DateTime/YearView.module.css +99 -96
  193. package/lib/DateTime/common.js +0 -0
  194. package/lib/DateTime/index.js +0 -0
  195. package/lib/DateTime/objectUtils.js +0 -0
  196. package/lib/DateTime/typeChecker.js +0 -0
  197. package/lib/DateTime/validator.js +0 -0
  198. package/lib/DropBox/DropBox.js +0 -0
  199. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +428 -428
  200. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  201. package/lib/DropBox/css/DropBox.module.css +58 -58
  202. package/lib/DropDown/DropDown.js +0 -0
  203. package/lib/DropDown/DropDown.module.css +5 -5
  204. package/lib/DropDown/DropDownHeading.js +0 -0
  205. package/lib/DropDown/DropDownHeading.module.css +53 -53
  206. package/lib/DropDown/DropDownItem.js +0 -0
  207. package/lib/DropDown/DropDownItem.module.css +94 -94
  208. package/lib/DropDown/DropDownSearch.js +0 -0
  209. package/lib/DropDown/DropDownSearch.module.css +14 -14
  210. package/lib/DropDown/DropDownSeparator.js +0 -0
  211. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  212. package/lib/Heading/Heading.js +8 -7
  213. package/lib/Heading/Heading.module.css +5 -72
  214. package/lib/Heading/props/defaultProps.js +1 -3
  215. package/lib/Heading/props/propTypes.js +3 -4
  216. package/lib/Label/Label.js +2 -5
  217. package/lib/Label/Label.module.css +52 -52
  218. package/lib/Label/LabelColors.module.css +20 -20
  219. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  220. package/lib/Layout/Box.js +0 -0
  221. package/lib/Layout/Container.js +0 -0
  222. package/lib/Layout/Layout.module.css +335 -335
  223. package/lib/Layout/utils.js +0 -0
  224. package/lib/ListItem/ListItem.js +3 -7
  225. package/lib/ListItem/ListItem.module.css +216 -215
  226. package/lib/ListItem/ListItemWithAvatar.js +3 -7
  227. package/lib/ListItem/ListItemWithCheckBox.js +3 -7
  228. package/lib/ListItem/ListItemWithIcon.js +2 -6
  229. package/lib/ListItem/ListItemWithRadio.js +3 -7
  230. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  231. package/lib/MultiSelect/MultiSelect.js +5 -5
  232. package/lib/MultiSelect/MultiSelect.module.css +206 -206
  233. package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
  234. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  235. package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  236. package/lib/PopOver/PopOver.module.css +8 -8
  237. package/lib/Popup/Popup.js +0 -0
  238. package/lib/Popup/PositionMapping.json +73 -73
  239. package/lib/Radio/Radio.js +0 -0
  240. package/lib/Radio/Radio.module.css +112 -112
  241. package/lib/Responsive/CustomResponsive.js +0 -0
  242. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  243. package/lib/Ribbon/Ribbon.js +0 -0
  244. package/lib/Ribbon/Ribbon.module.css +456 -456
  245. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  246. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  247. package/lib/Select/GroupSelect.js +0 -0
  248. package/lib/Select/Select.js +0 -0
  249. package/lib/Select/Select.module.css +108 -108
  250. package/lib/Select/SelectWithAvatar.js +0 -0
  251. package/lib/Select/SelectWithIcon.js +0 -0
  252. package/lib/Select/__tests__/Select.spec.js +0 -0
  253. package/lib/Stencils/Stencils.js +0 -0
  254. package/lib/Stencils/Stencils.module.css +96 -96
  255. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  256. package/lib/Switch/Switch.js +0 -0
  257. package/lib/Switch/Switch.module.css +127 -127
  258. package/lib/Tab/Tab.js +2 -4
  259. package/lib/Tab/Tab.module.css +100 -100
  260. package/lib/Tab/TabContent.module.css +4 -4
  261. package/lib/Tab/Tabs.js +11 -11
  262. package/lib/Tab/Tabs.module.css +154 -154
  263. package/lib/Tag/Tag.js +11 -16
  264. package/lib/Tag/Tag.module.css +254 -254
  265. package/lib/TextBox/TextBox.js +0 -0
  266. package/lib/TextBox/TextBox.module.css +158 -158
  267. package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  268. package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
  269. package/lib/TextBoxIcon/TextBoxIcon.module.css +79 -79
  270. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  271. package/lib/Textarea/Textarea.js +0 -0
  272. package/lib/Textarea/Textarea.module.css +139 -139
  273. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  274. package/lib/Tooltip/Tooltip.module.css +140 -140
  275. package/lib/common/a11y.module.css +3 -3
  276. package/lib/common/animation.module.css +624 -624
  277. package/lib/common/avatarsizes.module.css +48 -48
  278. package/lib/common/basic.module.css +33 -33
  279. package/lib/common/basicReset.module.css +40 -40
  280. package/lib/common/boxShadow.module.css +33 -33
  281. package/lib/common/common.module.css +524 -524
  282. package/lib/common/customscroll.module.css +91 -91
  283. package/lib/common/reset.module.css +13 -13
  284. package/lib/common/transition.module.css +146 -146
  285. package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
  286. package/lib/index.js +1 -17
  287. package/lib/semantic/Button/semanticButton.module.css +9 -9
  288. package/lib/utils/Common.js +0 -0
  289. package/lib/utils/dropDownUtils.js +0 -0
  290. package/package.json +123 -122
  291. package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -45
  292. package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -45
  293. package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -45
  294. package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -45
  295. package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -45
  296. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  297. package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -45
  298. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  299. package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -45
  300. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  301. package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -45
  302. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  303. package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -45
  304. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  305. package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -45
  306. package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +0 -45
  307. package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +0 -45
  308. package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +0 -45
  309. package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +0 -45
  310. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +0 -45
  311. package/assets/Contrast/defaultContrastLightness.module.css +0 -39
  312. package/es/Text/Text.js +0 -27
  313. package/es/Text/Text.module.css +0 -72
  314. package/es/Text/props/defaultProps.js +0 -7
  315. package/es/Text/props/propTypes.js +0 -12
  316. package/es/Typography/Typography.js +0 -28
  317. package/es/Typography/Typography.module.css +0 -72
  318. package/es/Typography/props/defaultProps.js +0 -8
  319. package/es/Typography/props/propTypes.js +0 -12
  320. package/lib/Text/Text.js +0 -58
  321. package/lib/Text/Text.module.css +0 -72
  322. package/lib/Text/props/defaultProps.js +0 -14
  323. package/lib/Text/props/propTypes.js +0 -20
  324. package/lib/Typography/Typography.js +0 -59
  325. package/lib/Typography/Typography.module.css +0 -72
  326. package/lib/Typography/props/defaultProps.js +0 -15
  327. package/lib/Typography/props/propTypes.js +0 -20
  328. /package/assets/Appearance/dark/themes/green/{greenDarkCTAModifyCategory.module.css → green_CTA_DarkModifyCategory.module.css} +0 -0
  329. /package/assets/Appearance/dark/themes/orange/{orangeDarkCTAModifyCategory.module.css → orange_CTA_DarkModifyCategory.module.css} +0 -0
  330. /package/assets/Appearance/dark/themes/red/{redDarkCTAModifyCategory.module.css → red_CTA_DarkModifyCategory.module.css} +0 -0
  331. /package/assets/Appearance/dark/themes/yellow/{yellowDarkCTAModifyCategory.module.css → yellow_CTA_DarkModifyCategory.module.css} +0 -0
  332. /package/assets/Appearance/pureDark/themes/green/{greenPureDarkCTAModifyCategory.module.css → green_CTA_PureDarkModifyCategory.module.css} +0 -0
  333. /package/assets/Appearance/pureDark/themes/orange/{orangePureDarkCTAModifyCategory.module.css → orange_CTA_PureDarkModifyCategory.module.css} +0 -0
  334. /package/assets/Appearance/pureDark/themes/red/{redPureDarkCTAModifyCategory.module.css → red_CTA_PureDarkModifyCategory.module.css} +0 -0
  335. /package/assets/Appearance/pureDark/themes/yellow/{yellowPureDarkCTAModifyCategory.module.css → yellow_CTA_PureDarkModifyCategory.module.css} +0 -0
@@ -1,59 +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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _defaultProps = require("./props/defaultProps");
10
- var _propTypes = require("./props/propTypes");
11
- var _TypographyModule = _interopRequireDefault(require("./Typography.module.css"));
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
14
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
- 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); } }
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
- 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); }
21
- 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); }
22
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
- 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); }; }
24
- 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); }
25
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
- 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; } }
27
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
- var Typography = /*#__PURE__*/function (_React$Component) {
29
- _inherits(Typography, _React$Component);
30
- var _super = _createSuper(Typography);
31
- function Typography() {
32
- _classCallCheck(this, Typography);
33
- return _super.apply(this, arguments);
34
- }
35
- _createClass(Typography, [{
36
- key: "render",
37
- value: function render() {
38
- var _this$props = this.props,
39
- tagName = _this$props.tagName,
40
- className = _this$props.className,
41
- dataTitle = _this$props.dataTitle,
42
- dataId = _this$props.dataId,
43
- a11y = _this$props.a11y,
44
- children = _this$props.children,
45
- customProps = _this$props.customProps,
46
- size = _this$props.size,
47
- needReset = _this$props.needReset;
48
- return /*#__PURE__*/_react["default"].createElement(tagName, _objectSpread(_objectSpread({
49
- className: "".concat(needReset ? _TypographyModule["default"].reset : '', " ").concat(_TypographyModule["default"]["size".concat(size)], " ").concat(className),
50
- 'data-title': dataTitle,
51
- 'data-id': dataId
52
- }, customProps), a11y), children);
53
- }
54
- }]);
55
- return Typography;
56
- }(_react["default"].Component);
57
- exports["default"] = Typography;
58
- Typography.propTypes = _propTypes.propTypes;
59
- Typography.defaultProps = _defaultProps.defaultProps;
@@ -1,72 +0,0 @@
1
- .reset {
2
- font-weight: initial;
3
- margin: initial;
4
- padding: initial;
5
- }
6
-
7
- .size8{
8
- font-size: 8px;
9
- }
10
- .size9{
11
- font-size: 9px;
12
- }
13
- .size10{
14
- font-size: 10px;
15
- }
16
- .size11{
17
- font-size: 11px;
18
- }
19
- .size12{
20
- font-size: 12px;
21
- }
22
- .size13{
23
- font-size: 13px;
24
- }
25
- .size14{
26
- font-size: 14px;
27
- }
28
- .size15{
29
- font-size: 15px;
30
- }
31
- .size16{
32
- font-size: 16px;
33
- }
34
- .size17{
35
- font-size: 17px;
36
- }
37
- .size18{
38
- font-size: 18px;
39
- }
40
- .size19{
41
- font-size: 19px;
42
- }
43
- .size20{
44
- font-size: 20px;
45
- }
46
- .size21{
47
- font-size: 21px;
48
- }
49
- .size22{
50
- font-size: 22px;
51
- }
52
- .size23{
53
- font-size: 23px;
54
- }
55
- .size24{
56
- font-size: 24px;
57
- }
58
- .size25{
59
- font-size: 25px;
60
- }
61
- .size26{
62
- font-size: 26px;
63
- }
64
- .size30{
65
- font-size: 30px;
66
- }
67
- .size50{
68
- font-size: 50px;
69
- }
70
- .sizeinherit{
71
- font-size: inherit;
72
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.defaultProps = void 0;
7
- var defaultProps = {
8
- tagName: 'div',
9
- a11y: {},
10
- className: '',
11
- customProps: {},
12
- size: 'inherit',
13
- needReset: true
14
- };
15
- exports.defaultProps = defaultProps;
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.propTypes = void 0;
7
- var _propTypes = _interopRequireDefault(require("prop-types"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- var propTypes = {
10
- tagName: _propTypes["default"].string,
11
- className: _propTypes["default"].string,
12
- dataId: _propTypes["default"].string,
13
- dataTitle: _propTypes["default"].string,
14
- a11y: _propTypes["default"].object,
15
- children: _propTypes["default"].node,
16
- customProps: _propTypes["default"].object,
17
- needReset: _propTypes["default"].bool,
18
- size: _propTypes["default"].oneOf(['8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '30', '50', 'inherit'])
19
- };
20
- exports.propTypes = propTypes;