@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,158 +1,158 @@
1
- .varClass {
2
- /* textbox default variables */
3
- --textbox_text_color: var(--zdt_textbox_default_text);
4
- --textbox_bg_color: var(--zdt_textbox_default_bg);
5
- --textbox_border_width: 0;
6
- --textbox_border_style: solid;
7
- --textbox_border_color: var(--zdt_textbox_default_border);
8
- --textbox_font_size: 14px;
9
- --textbox_width: 100%;
10
- --textbox_height: 35px;
11
- --textbox_border_radius: none;
12
- --textbox_font_family: var(--zd_regular);
13
- /* Variable:Ignore */
14
- --textbox_letter_spacing: 0.1px;
15
- --textbox_padding: 0;
16
- --textbox_cursor: auto;
17
- --textbox_line_height: 35px;
18
-
19
- /* textbox placeholder default variable */
20
- --textbox_placeholder_text_color: var(--zdt_textbox_placeholder_text);
21
- }
22
- .basic {
23
- composes: varClass;
24
- -webkit-appearance: none;
25
- -moz-appearance: none;
26
- appearance: none;
27
- letter-spacing: var(--textbox_letter_spacing);
28
- border: var(--textbox_border_width);
29
- cursor: var(--textbox_cursor);
30
- }
31
- .basic::placeholder {
32
- color: var(--textbox_placeholder_text_color);
33
- }
34
- .basic::-webkit-placeholder {
35
- color: var(--textbox_placeholder_text_color);
36
- }
37
- .basic::-moz-placeholder {
38
- color: var(--textbox_placeholder_text_color);
39
- }
40
- .basic::-ms-placeholder {
41
- color: var(--textbox_placeholder_text_color);
42
- }
43
- .container {
44
- composes: basic;
45
- transition: border var(--zd_transition2) linear 0s;
46
- -moz-transition: border var(--zd_transition2) linear 0s;
47
- width: var(--textbox_width);
48
- color: var(--textbox_text_color);
49
- font-size: var(--textbox_font_size);
50
- height: var(--textbox_height);
51
- line-height: var(--textbox_line_height);
52
- background-color: var(--textbox_bg_color);
53
- -webkit-transition: border var(--zd_transition2) linear 0s;
54
- padding: var(--textbox_padding);
55
- border-radius: var(--textbox_border_radius);
56
- border-width: var(--textbox_border_width);
57
- border-style: var(--textbox_border_style);
58
- border-color: var(--textbox_border_color);
59
- }
60
- .basic:disabled,
61
- .container:disabled,
62
- .container:disabled:hover {
63
- --textbox_cursor: not-allowed;
64
- --textbox_text_color: var(--zdt_textbox_disabled_text);
65
- }
66
- .container:disabled,
67
- .container:disabled:hover {
68
- --textbox_bg_color: none;
69
- }
70
- .container::placeholder {
71
- color: var(--textbox_placeholder_text_color);
72
- }
73
- .container::-webkit-placeholder {
74
- color: var(--textbox_placeholder_text_color);
75
- }
76
- .container::-moz-placeholder {
77
- color: var(--textbox_placeholder_text_color);
78
- }
79
- .container::-ms-placeholder {
80
- color: var(--textbox_placeholder_text_color);
81
- }
82
- .pointer {
83
- --textbox_cursor: pointer;
84
- }
85
- /* Need Border */
86
- .border, .effect:hover, .effect:focus {
87
- border-width: var(--textbox_border_width);
88
- border-style: var(--textbox_border_style);
89
- }
90
- .effect:hover, .effect:focus {
91
- border-color: var(--textbox_border_color);
92
- }
93
- .border {
94
- --textbox_border_width: 0 0 1px 0;
95
- }
96
- .borderColor_transparent, .borderColor_default {
97
- border-color: var(--textbox_border_color);
98
- }
99
- .borderColor_transparent {
100
- --textbox_border_color: var(--zdt_textbox_transparent_border);
101
- }
102
- .borderColor_default {
103
- --textbox_border_color: var(--zdt_textbox_default_border);
104
- }
105
- .effect:hover {
106
- --textbox_border_color: var(--zdt_textbox_effect_hover_border);
107
- }
108
- .effect:focus,.focus,.focus:hover {
109
- --textbox_border_color: var(--zdt_textbox_effect_focus_border);
110
- }
111
- /* Size */
112
- .xmedium,
113
- .medium {
114
- --textbox_font_size: 14px;
115
- }
116
- .xmedium {
117
- --textbox_height: 28px;
118
- --textbox_line_height: 28px;
119
- }
120
- .medium {
121
- --textbox_height: 35px;
122
- --textbox_line_height: 35px;
123
- }
124
- .small {
125
- --textbox_font_size: 12px;
126
- --textbox_height: 28px;
127
- --textbox_line_height: 28px;
128
- }
129
- .xsmall {
130
- --textbox_font_size: 13px;
131
- --textbox_height: 25px;
132
- --textbox_line_height: 25px;
133
- }
134
- .default,
135
- .primary,
136
- .secondary,
137
- .light {
138
- font-family: var(--textbox_font_family);
139
- }
140
- .primary {
141
- --textbox_text_color: var(--zdt_textbox_default_text);
142
- --textbox_font_family: var(--zd_semibold);
143
- composes: ftsmooth from '../common/common.module.css';
144
- }
145
- .secondary {
146
- --textbox_text_color: var(--zdt_textbox_secondary_text);
147
- --textbox_font_family: var(--zd_light);
148
- }
149
- .light {
150
- --textbox_text_color: var(--zdt_textbox_light_text);
151
- }
152
- .readonly,
153
- .readonly:hover,
154
- .readonly:focus {
155
- --textbox_cursor: not-allowed;
156
- --textbox_text_color: var(--zdt_textbox_default_text);
157
- --textbox_bg_color: none;
158
- }
1
+ .varClass {
2
+ /* textbox default variables */
3
+ --textbox_text_color: var(--zdt_textbox_default_text);
4
+ --textbox_bg_color: var(--zdt_textbox_default_bg);
5
+ --textbox_border_width: 0;
6
+ --textbox_border_style: solid;
7
+ --textbox_border_color: var(--zdt_textbox_default_border);
8
+ --textbox_font_size: 14px;
9
+ --textbox_width: 100%;
10
+ --textbox_height: 35px;
11
+ --textbox_border_radius: none;
12
+ --textbox_font_family: var(--zd_regular);
13
+ /* Variable:Ignore */
14
+ --textbox_letter_spacing: 0.1px;
15
+ --textbox_padding: 0;
16
+ --textbox_cursor: auto;
17
+ --textbox_line_height: 35px;
18
+
19
+ /* textbox placeholder default variable */
20
+ --textbox_placeholder_text_color: var(--zdt_textbox_placeholder_text);
21
+ }
22
+ .basic {
23
+ composes: varClass;
24
+ -webkit-appearance: none;
25
+ -moz-appearance: none;
26
+ appearance: none;
27
+ letter-spacing: var(--textbox_letter_spacing);
28
+ border: var(--textbox_border_width);
29
+ cursor: var(--textbox_cursor);
30
+ }
31
+ .basic::placeholder {
32
+ color: var(--textbox_placeholder_text_color);
33
+ }
34
+ .basic::-webkit-placeholder {
35
+ color: var(--textbox_placeholder_text_color);
36
+ }
37
+ .basic::-moz-placeholder {
38
+ color: var(--textbox_placeholder_text_color);
39
+ }
40
+ .basic::-ms-placeholder {
41
+ color: var(--textbox_placeholder_text_color);
42
+ }
43
+ .container {
44
+ composes: basic;
45
+ transition: border var(--zd_transition2) linear 0s;
46
+ -moz-transition: border var(--zd_transition2) linear 0s;
47
+ width: var(--textbox_width);
48
+ color: var(--textbox_text_color);
49
+ font-size: var(--textbox_font_size);
50
+ height: var(--textbox_height);
51
+ line-height: var(--textbox_line_height);
52
+ background-color: var(--textbox_bg_color);
53
+ -webkit-transition: border var(--zd_transition2) linear 0s;
54
+ padding: var(--textbox_padding);
55
+ border-radius: var(--textbox_border_radius);
56
+ border-width: var(--textbox_border_width);
57
+ border-style: var(--textbox_border_style);
58
+ border-color: var(--textbox_border_color);
59
+ }
60
+ .basic:disabled,
61
+ .container:disabled,
62
+ .container:disabled:hover {
63
+ --textbox_cursor: not-allowed;
64
+ --textbox_text_color: var(--zdt_textbox_disabled_text);
65
+ }
66
+ .container:disabled,
67
+ .container:disabled:hover {
68
+ --textbox_bg_color: none;
69
+ }
70
+ .container::placeholder {
71
+ color: var(--textbox_placeholder_text_color);
72
+ }
73
+ .container::-webkit-placeholder {
74
+ color: var(--textbox_placeholder_text_color);
75
+ }
76
+ .container::-moz-placeholder {
77
+ color: var(--textbox_placeholder_text_color);
78
+ }
79
+ .container::-ms-placeholder {
80
+ color: var(--textbox_placeholder_text_color);
81
+ }
82
+ .pointer {
83
+ --textbox_cursor: pointer;
84
+ }
85
+ /* Need Border */
86
+ .border, .effect:hover, .effect:focus {
87
+ border-width: var(--textbox_border_width);
88
+ border-style: var(--textbox_border_style);
89
+ }
90
+ .effect:hover, .effect:focus {
91
+ border-color: var(--textbox_border_color);
92
+ }
93
+ .border {
94
+ --textbox_border_width: 0 0 1px 0;
95
+ }
96
+ .borderColor_transparent, .borderColor_default {
97
+ border-color: var(--textbox_border_color);
98
+ }
99
+ .borderColor_transparent {
100
+ --textbox_border_color: var(--zdt_textbox_transparent_border);
101
+ }
102
+ .borderColor_default {
103
+ --textbox_border_color: var(--zdt_textbox_default_border);
104
+ }
105
+ .effect:hover {
106
+ --textbox_border_color: var(--zdt_textbox_effect_hover_border);
107
+ }
108
+ .effect:focus,.focus,.focus:hover {
109
+ --textbox_border_color: var(--zdt_textbox_effect_focus_border);
110
+ }
111
+ /* Size */
112
+ .xmedium,
113
+ .medium {
114
+ --textbox_font_size: 14px;
115
+ }
116
+ .xmedium {
117
+ --textbox_height: 28px;
118
+ --textbox_line_height: 28px;
119
+ }
120
+ .medium {
121
+ --textbox_height: 35px;
122
+ --textbox_line_height: 35px;
123
+ }
124
+ .small {
125
+ --textbox_font_size: 12px;
126
+ --textbox_height: 28px;
127
+ --textbox_line_height: 28px;
128
+ }
129
+ .xsmall {
130
+ --textbox_font_size: 13px;
131
+ --textbox_height: 25px;
132
+ --textbox_line_height: 25px;
133
+ }
134
+ .default,
135
+ .primary,
136
+ .secondary,
137
+ .light {
138
+ font-family: var(--textbox_font_family);
139
+ }
140
+ .primary {
141
+ --textbox_text_color: var(--zdt_textbox_default_text);
142
+ --textbox_font_family: var(--zd_semibold);
143
+ composes: ftsmooth from '../common/common.module.css';
144
+ }
145
+ .secondary {
146
+ --textbox_text_color: var(--zdt_textbox_secondary_text);
147
+ --textbox_font_family: var(--zd_light);
148
+ }
149
+ .light {
150
+ --textbox_text_color: var(--zdt_textbox_light_text);
151
+ }
152
+ .readonly,
153
+ .readonly:hover,
154
+ .readonly:focus {
155
+ --textbox_cursor: not-allowed;
156
+ --textbox_text_color: var(--zdt_textbox_default_text);
157
+ --textbox_bg_color: none;
158
+ }
@@ -1,127 +1,127 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`TextBox component should display size medium - primary 1`] = `
4
- <input
5
- className=" container medium primary border effect borderColor_default"
6
- data-id="textBox"
7
- maxLength="100"
8
- onBlur={[Function]}
9
- onChange={[Function]}
10
- onFocus={[Function]}
11
- placeholder="Text Area"
12
- type="text"
13
- value=""
14
- />
15
- `;
16
-
17
- exports[`TextBox component should display size medium - secondary 1`] = `
18
- <input
19
- className=" container medium secondary border effect borderColor_default"
20
- data-id="textBox"
21
- maxLength="100"
22
- onBlur={[Function]}
23
- onChange={[Function]}
24
- onFocus={[Function]}
25
- placeholder="Text Area"
26
- type="text"
27
- value=""
28
- />
29
- `;
30
-
31
- exports[`TextBox component should display size medium 1`] = `
32
- <input
33
- className=" container medium default border effect borderColor_default"
34
- data-id="textBox"
35
- maxLength="100"
36
- onBlur={[Function]}
37
- onChange={[Function]}
38
- onFocus={[Function]}
39
- placeholder="Text Area"
40
- type="text"
41
- value=""
42
- />
43
- `;
44
-
45
- exports[`TextBox component should display size small - primary 1`] = `
46
- <input
47
- className=" container small primary border effect borderColor_default"
48
- data-id="textBox"
49
- maxLength="100"
50
- onBlur={[Function]}
51
- onChange={[Function]}
52
- onFocus={[Function]}
53
- placeholder="Text Area"
54
- type="text"
55
- value=""
56
- />
57
- `;
58
-
59
- exports[`TextBox component should display size small - secondary 1`] = `
60
- <input
61
- className=" container small secondary border effect borderColor_default"
62
- data-id="textBox"
63
- maxLength="100"
64
- onBlur={[Function]}
65
- onChange={[Function]}
66
- onFocus={[Function]}
67
- placeholder="Text Area"
68
- type="text"
69
- value=""
70
- />
71
- `;
72
-
73
- exports[`TextBox component should display size small 1`] = `
74
- <input
75
- className=" container small default border effect borderColor_default"
76
- data-id="textBox"
77
- maxLength="100"
78
- onBlur={[Function]}
79
- onChange={[Function]}
80
- onFocus={[Function]}
81
- placeholder="Text Area"
82
- type="text"
83
- value=""
84
- />
85
- `;
86
-
87
- exports[`TextBox component should display size xmedium - primary 1`] = `
88
- <input
89
- className=" container xmedium primary border effect borderColor_default"
90
- data-id="textBox"
91
- maxLength="100"
92
- onBlur={[Function]}
93
- onChange={[Function]}
94
- onFocus={[Function]}
95
- placeholder="Text Area"
96
- type="text"
97
- value=""
98
- />
99
- `;
100
-
101
- exports[`TextBox component should display size xmedium - secondary 1`] = `
102
- <input
103
- className=" container xmedium secondary border effect borderColor_default"
104
- data-id="textBox"
105
- maxLength="100"
106
- onBlur={[Function]}
107
- onChange={[Function]}
108
- onFocus={[Function]}
109
- placeholder="Text Area"
110
- type="text"
111
- value=""
112
- />
113
- `;
114
-
115
- exports[`TextBox component should display size xmedium 1`] = `
116
- <input
117
- className=" container xmedium default border effect borderColor_default"
118
- data-id="textBox"
119
- maxLength="100"
120
- onBlur={[Function]}
121
- onChange={[Function]}
122
- onFocus={[Function]}
123
- placeholder="Text Area"
124
- type="text"
125
- value=""
126
- />
127
- `;
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`TextBox component should display size medium - primary 1`] = `
4
+ <input
5
+ className=" container medium primary border effect borderColor_default"
6
+ data-id="textBox"
7
+ maxLength="100"
8
+ onBlur={[Function]}
9
+ onChange={[Function]}
10
+ onFocus={[Function]}
11
+ placeholder="Text Area"
12
+ type="text"
13
+ value=""
14
+ />
15
+ `;
16
+
17
+ exports[`TextBox component should display size medium - secondary 1`] = `
18
+ <input
19
+ className=" container medium secondary border effect borderColor_default"
20
+ data-id="textBox"
21
+ maxLength="100"
22
+ onBlur={[Function]}
23
+ onChange={[Function]}
24
+ onFocus={[Function]}
25
+ placeholder="Text Area"
26
+ type="text"
27
+ value=""
28
+ />
29
+ `;
30
+
31
+ exports[`TextBox component should display size medium 1`] = `
32
+ <input
33
+ className=" container medium default border effect borderColor_default"
34
+ data-id="textBox"
35
+ maxLength="100"
36
+ onBlur={[Function]}
37
+ onChange={[Function]}
38
+ onFocus={[Function]}
39
+ placeholder="Text Area"
40
+ type="text"
41
+ value=""
42
+ />
43
+ `;
44
+
45
+ exports[`TextBox component should display size small - primary 1`] = `
46
+ <input
47
+ className=" container small primary border effect borderColor_default"
48
+ data-id="textBox"
49
+ maxLength="100"
50
+ onBlur={[Function]}
51
+ onChange={[Function]}
52
+ onFocus={[Function]}
53
+ placeholder="Text Area"
54
+ type="text"
55
+ value=""
56
+ />
57
+ `;
58
+
59
+ exports[`TextBox component should display size small - secondary 1`] = `
60
+ <input
61
+ className=" container small secondary border effect borderColor_default"
62
+ data-id="textBox"
63
+ maxLength="100"
64
+ onBlur={[Function]}
65
+ onChange={[Function]}
66
+ onFocus={[Function]}
67
+ placeholder="Text Area"
68
+ type="text"
69
+ value=""
70
+ />
71
+ `;
72
+
73
+ exports[`TextBox component should display size small 1`] = `
74
+ <input
75
+ className=" container small default border effect borderColor_default"
76
+ data-id="textBox"
77
+ maxLength="100"
78
+ onBlur={[Function]}
79
+ onChange={[Function]}
80
+ onFocus={[Function]}
81
+ placeholder="Text Area"
82
+ type="text"
83
+ value=""
84
+ />
85
+ `;
86
+
87
+ exports[`TextBox component should display size xmedium - primary 1`] = `
88
+ <input
89
+ className=" container xmedium primary border effect borderColor_default"
90
+ data-id="textBox"
91
+ maxLength="100"
92
+ onBlur={[Function]}
93
+ onChange={[Function]}
94
+ onFocus={[Function]}
95
+ placeholder="Text Area"
96
+ type="text"
97
+ value=""
98
+ />
99
+ `;
100
+
101
+ exports[`TextBox component should display size xmedium - secondary 1`] = `
102
+ <input
103
+ className=" container xmedium secondary border effect borderColor_default"
104
+ data-id="textBox"
105
+ maxLength="100"
106
+ onBlur={[Function]}
107
+ onChange={[Function]}
108
+ onFocus={[Function]}
109
+ placeholder="Text Area"
110
+ type="text"
111
+ value=""
112
+ />
113
+ `;
114
+
115
+ exports[`TextBox component should display size xmedium 1`] = `
116
+ <input
117
+ className=" container xmedium default border effect borderColor_default"
118
+ data-id="textBox"
119
+ maxLength="100"
120
+ onBlur={[Function]}
121
+ onChange={[Function]}
122
+ onFocus={[Function]}
123
+ placeholder="Text Area"
124
+ type="text"
125
+ value=""
126
+ />
127
+ `;
File without changes