@zohodesk/components 1.0.0-temp-129 → 1.0.0-temp-131

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 (299) hide show
  1. package/README.md +1137 -1137
  2. package/assets/Appearance/dark/mode/darkMode.module.css +193 -192
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTAModifyCategory.module.css +68 -0
  4. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +30 -30
  5. package/assets/Appearance/dark/themes/green/greenDarkCTAModifyCategory.module.css +68 -0
  6. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +30 -30
  7. package/assets/Appearance/dark/themes/orange/orangeDarkCTAModifyCategory.module.css +68 -0
  8. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +30 -30
  9. package/assets/Appearance/dark/themes/red/redDarkCTAModifyCategory.module.css +68 -0
  10. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +30 -30
  11. package/assets/Appearance/dark/themes/yellow/yellowDarkCTAModifyCategory.module.css +68 -0
  12. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +30 -30
  13. package/assets/Appearance/default/mode/defaultMode.module.css +190 -189
  14. package/assets/Appearance/default/themes/blue/blueDefaultCTAModifyCategory.module.css +68 -0
  15. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +30 -30
  16. package/assets/Appearance/default/themes/green/greenDefaultCTAModifyCategory.module.css +68 -0
  17. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +30 -30
  18. package/assets/Appearance/default/themes/orange/orangeDefaultCTAModifyCategory.module.css +68 -0
  19. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +30 -30
  20. package/assets/Appearance/default/themes/red/redDefaultCTAModifyCategory.module.css +68 -0
  21. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +30 -30
  22. package/assets/Appearance/default/themes/yellow/yellowDefaultCTAModifyCategory.module.css +68 -0
  23. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +30 -30
  24. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +195 -194
  25. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTAModifyCategory.module.css +68 -0
  26. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +30 -30
  27. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTAModifyCategory.module.css +68 -0
  28. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +30 -30
  29. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTAModifyCategory.module.css +68 -0
  30. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +30 -30
  31. package/assets/Appearance/pureDark/themes/red/redPureDarkCTAModifyCategory.module.css +68 -0
  32. package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +30 -30
  33. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTAModifyCategory.module.css +68 -0
  34. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +30 -30
  35. package/assets/Contrast/darkContrastLightness.module.css +25 -0
  36. package/assets/Contrast/defaultContrastLightness.module.css +25 -0
  37. package/assets/Contrast/pureDarkContrastLightness.module.css +25 -0
  38. package/css_error.log +1 -0
  39. package/docs/external/active-line.js +72 -72
  40. package/docs/external/autorefresh.js +47 -47
  41. package/docs/external/codemirror.js +9681 -9681
  42. package/docs/external/css/hopscotch.css +576 -576
  43. package/docs/external/css/styleGuide.css +1100 -1100
  44. package/docs/external/css.js +466 -466
  45. package/docs/external/designTokens.js +1 -1
  46. package/docs/external/foldcode.js +151 -151
  47. package/docs/external/format.js +129 -129
  48. package/docs/external/htmlmixed.js +84 -84
  49. package/docs/external/index.html +127 -127
  50. package/docs/external/javascript.js +422 -422
  51. package/docs/external/jsx.js +147 -147
  52. package/docs/external/matchbrackets.js +145 -145
  53. package/docs/external/xml.js +322 -322
  54. package/docs/package.json +41 -41
  55. package/docs/src/index.js +1311 -1311
  56. package/es/AppContainer/AppContainer.js +1 -0
  57. package/es/AppContainer/AppContainer.module.css +18 -18
  58. package/es/Avatar/Avatar.js +9 -9
  59. package/es/Avatar/Avatar.module.css +168 -135
  60. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  61. package/es/AvatarTeam/AvatarTeam.js +7 -7
  62. package/es/AvatarTeam/AvatarTeam.module.css +161 -161
  63. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  64. package/es/Button/Button.js +4 -4
  65. package/es/Button/Button.module.css +543 -525
  66. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  67. package/es/Buttongroup/Buttongroup.js +1 -1
  68. package/es/Buttongroup/Buttongroup.module.css +107 -89
  69. package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  70. package/es/Card/Card.js +4 -4
  71. package/es/Card/Card.module.css +20 -20
  72. package/es/CheckBox/CheckBox.js +0 -0
  73. package/es/CheckBox/CheckBox.module.css +157 -157
  74. package/es/DateTime/CalendarView.js +0 -0
  75. package/es/DateTime/DateTime.js +0 -0
  76. package/es/DateTime/DateTime.module.css +235 -235
  77. package/es/DateTime/DateWidget.js +0 -0
  78. package/es/DateTime/DateWidget.module.css +38 -38
  79. package/es/DateTime/YearView.js +0 -0
  80. package/es/DateTime/YearView.module.css +98 -98
  81. package/es/DateTime/common.js +0 -0
  82. package/es/DateTime/index.js +0 -0
  83. package/es/DateTime/objectUtils.js +0 -0
  84. package/es/DateTime/typeChecker.js +0 -0
  85. package/es/DateTime/validator.js +0 -0
  86. package/es/DropBox/DropBox.js +0 -0
  87. package/es/DropBox/DropBox.module.css +489 -406
  88. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  89. package/es/DropDown/DropDown.js +0 -0
  90. package/es/DropDown/DropDown.module.css +5 -5
  91. package/es/DropDown/DropDownHeading.js +0 -0
  92. package/es/DropDown/DropDownHeading.module.css +53 -53
  93. package/es/DropDown/DropDownItem.js +0 -0
  94. package/es/DropDown/DropDownItem.module.css +94 -94
  95. package/es/DropDown/DropDownSearch.js +0 -0
  96. package/es/DropDown/DropDownSearch.module.css +14 -14
  97. package/es/DropDown/DropDownSeparator.js +0 -0
  98. package/es/DropDown/DropDownSeparator.module.css +7 -7
  99. package/es/Heading/Heading.module.css +4 -4
  100. package/es/Label/Label.js +2 -2
  101. package/es/Label/Label.module.css +52 -52
  102. package/es/Label/LabelColors.module.css +20 -20
  103. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  104. package/es/Layout/Box.js +0 -0
  105. package/es/Layout/Container.js +0 -0
  106. package/es/Layout/Layout.module.css +335 -335
  107. package/es/Layout/utils.js +0 -0
  108. package/es/ListItem/ListItem.js +0 -0
  109. package/es/ListItem/ListItem.module.css +209 -209
  110. package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  111. package/es/MultiSelect/MultiSelect.js +5 -5
  112. package/es/MultiSelect/MultiSelect.module.css +205 -205
  113. package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
  114. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  115. package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  116. package/es/PopOver/PopOver.module.css +8 -8
  117. package/es/Popup/Popup.js +0 -0
  118. package/es/Popup/PositionMapping.json +73 -73
  119. package/es/Radio/Radio.js +0 -0
  120. package/es/Radio/Radio.module.css +112 -112
  121. package/es/Responsive/CustomResponsive.js +0 -0
  122. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  123. package/es/Ribbon/Ribbon.js +0 -0
  124. package/es/Ribbon/Ribbon.module.css +454 -376
  125. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  126. package/es/RippleEffect/RippleEffect.module.css +92 -92
  127. package/es/Select/GroupSelect.js +0 -0
  128. package/es/Select/Select.js +0 -0
  129. package/es/Select/Select.module.css +108 -108
  130. package/es/Select/SelectWithAvatar.js +0 -0
  131. package/es/Select/SelectWithIcon.js +0 -0
  132. package/es/Select/__tests__/Select.spec.js +0 -0
  133. package/es/Stencils/Stencils.js +0 -0
  134. package/es/Stencils/Stencils.module.css +96 -96
  135. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  136. package/es/Switch/Switch.js +0 -0
  137. package/es/Switch/Switch.module.css +127 -110
  138. package/es/Tab/Tab.module.css +101 -101
  139. package/es/Tab/TabContent.module.css +4 -4
  140. package/es/Tab/Tabs.js +17 -17
  141. package/es/Tab/Tabs.module.css +144 -140
  142. package/es/Tag/Tag.js +8 -8
  143. package/es/Tag/Tag.module.css +254 -254
  144. package/es/TextBox/TextBox.js +0 -0
  145. package/es/TextBox/TextBox.module.css +157 -157
  146. package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  147. package/es/TextBoxIcon/TextBoxIcon.js +0 -0
  148. package/es/TextBoxIcon/TextBoxIcon.module.css +78 -78
  149. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  150. package/es/Textarea/Textarea.js +0 -0
  151. package/es/Textarea/Textarea.module.css +139 -139
  152. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  153. package/es/Tooltip/Tooltip.module.css +134 -109
  154. package/es/common/a11y.module.css +3 -3
  155. package/es/common/animation.module.css +624 -624
  156. package/es/common/avatarsizes.module.css +44 -44
  157. package/es/common/basic.module.css +33 -33
  158. package/es/common/basicReset.module.css +40 -40
  159. package/es/common/boxShadow.module.css +77 -0
  160. package/es/common/common.module.css +524 -524
  161. package/es/common/customscroll.module.css +89 -89
  162. package/es/common/reset.module.css +12 -12
  163. package/es/common/transition.module.css +146 -146
  164. package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
  165. package/es/index.js +0 -1
  166. package/es/semantic/Button/semanticButton.module.css +9 -9
  167. package/es/utils/Common.js +0 -0
  168. package/es/utils/dropDownUtils.js +0 -0
  169. package/install.md +10 -10
  170. package/lib/AppContainer/AppContainer.js +1 -0
  171. package/lib/AppContainer/AppContainer.module.css +18 -18
  172. package/lib/Avatar/Avatar.js +9 -9
  173. package/lib/Avatar/Avatar.module.css +168 -135
  174. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
  175. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  176. package/lib/AvatarTeam/AvatarTeam.module.css +161 -161
  177. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
  178. package/lib/Button/Button.js +4 -4
  179. package/lib/Button/Button.module.css +543 -525
  180. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
  181. package/lib/Buttongroup/Buttongroup.js +1 -1
  182. package/lib/Buttongroup/Buttongroup.module.css +107 -89
  183. package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
  184. package/lib/Card/Card.js +4 -4
  185. package/lib/Card/Card.module.css +20 -20
  186. package/lib/CheckBox/CheckBox.js +0 -0
  187. package/lib/CheckBox/CheckBox.module.css +157 -157
  188. package/lib/DateTime/CalendarView.js +0 -0
  189. package/lib/DateTime/DateTime.js +0 -0
  190. package/lib/DateTime/DateTime.module.css +235 -235
  191. package/lib/DateTime/DateWidget.js +0 -0
  192. package/lib/DateTime/DateWidget.module.css +38 -38
  193. package/lib/DateTime/YearView.js +0 -0
  194. package/lib/DateTime/YearView.module.css +98 -98
  195. package/lib/DateTime/common.js +0 -0
  196. package/lib/DateTime/index.js +0 -0
  197. package/lib/DateTime/objectUtils.js +0 -0
  198. package/lib/DateTime/typeChecker.js +0 -0
  199. package/lib/DateTime/validator.js +0 -0
  200. package/lib/DropBox/DropBox.js +0 -0
  201. package/lib/DropBox/DropBox.module.css +489 -406
  202. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  203. package/lib/DropDown/DropDown.js +0 -0
  204. package/lib/DropDown/DropDown.module.css +5 -5
  205. package/lib/DropDown/DropDownHeading.js +0 -0
  206. package/lib/DropDown/DropDownHeading.module.css +53 -53
  207. package/lib/DropDown/DropDownItem.js +0 -0
  208. package/lib/DropDown/DropDownItem.module.css +94 -94
  209. package/lib/DropDown/DropDownSearch.js +0 -0
  210. package/lib/DropDown/DropDownSearch.module.css +14 -14
  211. package/lib/DropDown/DropDownSeparator.js +0 -0
  212. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  213. package/lib/Heading/Heading.module.css +4 -4
  214. package/lib/Label/Label.js +0 -0
  215. package/lib/Label/Label.module.css +52 -52
  216. package/lib/Label/LabelColors.module.css +20 -20
  217. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
  218. package/lib/Layout/Box.js +0 -0
  219. package/lib/Layout/Container.js +0 -0
  220. package/lib/Layout/Layout.module.css +335 -335
  221. package/lib/Layout/utils.js +0 -0
  222. package/lib/ListItem/ListItem.js +0 -0
  223. package/lib/ListItem/ListItem.module.css +209 -209
  224. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  225. package/lib/MultiSelect/MultiSelect.js +5 -5
  226. package/lib/MultiSelect/MultiSelect.module.css +205 -205
  227. package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
  228. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  229. package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
  230. package/lib/PopOver/PopOver.module.css +8 -8
  231. package/lib/Popup/Popup.js +0 -0
  232. package/lib/Popup/PositionMapping.json +73 -73
  233. package/lib/Radio/Radio.js +0 -0
  234. package/lib/Radio/Radio.module.css +112 -112
  235. package/lib/Responsive/CustomResponsive.js +0 -0
  236. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  237. package/lib/Ribbon/Ribbon.js +0 -0
  238. package/lib/Ribbon/Ribbon.module.css +454 -376
  239. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
  240. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  241. package/lib/Select/GroupSelect.js +0 -0
  242. package/lib/Select/Select.js +0 -0
  243. package/lib/Select/Select.module.css +108 -108
  244. package/lib/Select/SelectWithAvatar.js +0 -0
  245. package/lib/Select/SelectWithIcon.js +0 -0
  246. package/lib/Select/__tests__/Select.spec.js +0 -0
  247. package/lib/Stencils/Stencils.js +0 -0
  248. package/lib/Stencils/Stencils.module.css +96 -96
  249. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
  250. package/lib/Switch/Switch.js +0 -0
  251. package/lib/Switch/Switch.module.css +127 -110
  252. package/lib/Tab/Tab.module.css +101 -101
  253. package/lib/Tab/TabContent.module.css +4 -4
  254. package/lib/Tab/Tabs.js +11 -11
  255. package/lib/Tab/Tabs.module.css +144 -140
  256. package/lib/Tag/Tag.js +8 -8
  257. package/lib/Tag/Tag.module.css +254 -254
  258. package/lib/TextBox/TextBox.js +0 -0
  259. package/lib/TextBox/TextBox.module.css +157 -157
  260. package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
  261. package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
  262. package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
  263. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
  264. package/lib/Textarea/Textarea.js +0 -0
  265. package/lib/Textarea/Textarea.module.css +139 -139
  266. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
  267. package/lib/Tooltip/Tooltip.module.css +134 -109
  268. package/lib/common/a11y.module.css +3 -3
  269. package/lib/common/animation.module.css +624 -624
  270. package/lib/common/avatarsizes.module.css +44 -44
  271. package/lib/common/basic.module.css +33 -33
  272. package/lib/common/basicReset.module.css +40 -40
  273. package/lib/common/boxShadow.module.css +77 -0
  274. package/lib/common/common.module.css +524 -524
  275. package/lib/common/customscroll.module.css +89 -89
  276. package/lib/common/reset.module.css +12 -12
  277. package/lib/common/transition.module.css +146 -146
  278. package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
  279. package/lib/index.js +0 -8
  280. package/lib/semantic/Button/semanticButton.module.css +9 -9
  281. package/lib/utils/Common.js +0 -0
  282. package/lib/utils/dropDownUtils.js +0 -0
  283. package/package.json +102 -104
  284. package/es/ucl/Grid/Grid.js +0 -42
  285. package/es/ucl/Grid/css/Grid.module.css +0 -308
  286. package/es/ucl/Grid/css/cssJSLogic.js +0 -45
  287. package/es/ucl/Grid/index.js +0 -4
  288. package/es/ucl/Grid/props/ariaPropTypes.js +0 -7
  289. package/es/ucl/Grid/props/defaultProps.js +0 -7
  290. package/es/ucl/Grid/props/propConstants.js +0 -66
  291. package/es/ucl/Grid/props/propTypes.js +0 -27
  292. package/lib/ucl/Grid/Grid.js +0 -48
  293. package/lib/ucl/Grid/css/Grid.module.css +0 -308
  294. package/lib/ucl/Grid/css/cssJSLogic.js +0 -38
  295. package/lib/ucl/Grid/index.js +0 -27
  296. package/lib/ucl/Grid/props/ariaPropTypes.js +0 -16
  297. package/lib/ucl/Grid/props/defaultProps.js +0 -14
  298. package/lib/ucl/Grid/props/propConstants.js +0 -73
  299. package/lib/ucl/Grid/props/propTypes.js +0 -33
@@ -1,308 +0,0 @@
1
- .cover {
2
- height: 100%;
3
- width: 100%;
4
- }
5
-
6
- /* Container Props */
7
-
8
- .grid {
9
- display: grid;
10
- }
11
-
12
- .inlineGrid {
13
- display: inline-grid;
14
- }
15
-
16
- .row {
17
- grid-auto-flow: row;
18
- }
19
-
20
- .column {
21
- grid-auto-flow: column;
22
- }
23
-
24
- .dense {
25
- grid-auto-flow: dense;
26
- }
27
-
28
- .rowDense {
29
- grid-auto-flow: row dense;
30
- }
31
-
32
- .colDense {
33
- grid-auto-flow: column dense;
34
- }
35
-
36
- /* align-items props start */
37
-
38
- .alignItems_start {
39
- align-items: start;
40
- }
41
-
42
- .alignItems_end {
43
- align-items: end;
44
- }
45
-
46
- .alignItems_center {
47
- align-items: center;
48
- }
49
-
50
- .alignItems_stretch {
51
- align-items: stretch;
52
- }
53
-
54
- .alignItems_baseline {
55
- align-items: baseline;
56
- }
57
-
58
- /* align-items props end */
59
-
60
- /* align-self props start */
61
-
62
- .alignSelf_start {
63
- align-self: start;
64
- }
65
-
66
- .alignSelf_end {
67
- align-self: end;
68
- }
69
-
70
- .alignSelf_center {
71
- align-self: center;
72
- }
73
-
74
- .alignSelf_stretch {
75
- align-self: stretch;
76
- }
77
-
78
- .alignSelf_baseline {
79
- align-self: baseline;
80
- }
81
-
82
- /* align-self props End */
83
-
84
- /* align-content props start*/
85
-
86
- .alignContent_start {
87
- align-content: start;
88
- }
89
-
90
- .alignContent_end {
91
- align-content: end;
92
- }
93
-
94
- .alignContent_center {
95
- align-content: center;
96
- }
97
-
98
- .alignContent_stretch {
99
- align-content: stretch;
100
- }
101
-
102
- .alignContent_baseline {
103
- align-content: baseline;
104
- }
105
-
106
- .alignContent_spaceBetween {
107
- align-content: space-between;
108
- }
109
-
110
- .alignContent_spaceAround {
111
- align-content: space-around;
112
- }
113
-
114
- .alignContent_spaceEvenly {
115
- align-content: space-evenly;
116
- }
117
-
118
- /* align-content props end*/
119
-
120
-
121
- /* justify-items props start */
122
-
123
- .justifyItems_start {
124
- justify-items: start;
125
- }
126
-
127
- .justifyItems_end {
128
- justify-items: end;
129
- }
130
-
131
- .justifyItems_center {
132
- justify-items: center;
133
- }
134
-
135
- .justifyItems_stretch {
136
- justify-items: stretch;
137
- }
138
-
139
- .justifyItems_baseline {
140
- justify-items: baseline;
141
- }
142
-
143
- /* justify-items props end */
144
-
145
- /* justify-self props start */
146
-
147
- .justifySelf_start {
148
- justify-self: start;
149
- }
150
-
151
- .justifySelf_end {
152
- justify-self: end;
153
- }
154
-
155
- .justifySelf_center {
156
- justify-self: center;
157
- }
158
-
159
- .justifySelf_stretch {
160
- justify-self: stretch;
161
- }
162
-
163
- .justifySelf_baseline {
164
- justify-self: baseline;
165
- }
166
-
167
- /* justify-self props end */
168
-
169
- /* justify-content props start */
170
-
171
- .justifyContent_start {
172
- justify-content: start;
173
- }
174
-
175
- .justifyContent_end {
176
- justify-content: end;
177
- }
178
-
179
- .justifyContent_center {
180
- justify-content: center;
181
- }
182
-
183
- .justifyContent_stretch {
184
- justify-content: stretch;
185
- }
186
-
187
- .justifyContent_spaceBetween {
188
- justify-content: space-between;
189
- }
190
-
191
- .justifyContent_spaceAround {
192
- justify-content: space-around;
193
- }
194
-
195
- .justifyContent_spaceEvenly {
196
- justify-content: space-evenly;
197
- }
198
-
199
- /* justify-content props end */
200
-
201
- .scroll_y {
202
- overflow-y: auto;
203
- overflow-x: hidden;
204
- }
205
-
206
- .scroll_x {
207
- overflow-x: auto;
208
- overflow-y: hidden;
209
- }
210
-
211
- .scroll_none {
212
- overflow: hidden;
213
- }
214
-
215
- .scroll_both {
216
- overflow: auto;
217
- }
218
-
219
- /* Custom Grid Classes */
220
- .layout {
221
- grid-template-columns: repeat(var(--zdg_base_columns, 12), 1fr);
222
- grid-template-rows: repeat(var(--zdg_base_rows, 1), 1fr);
223
- gap: var(--zd_layout_gap, var(--zd_size15));
224
- }
225
-
226
- .layout_areas {
227
- grid-template-areas: var(--zdg_layout_areas, "content");
228
- gap: var(--zd_layout_gap, var(--zd_size15));
229
- }
230
-
231
- .auto_repeat {
232
- grid-template-columns: repeat(var(--zdg_auto_repeat, auto-fit), minmax(var(--zdg_auto_repeat_min, 0), var(--zdg_auto_repeat_max, 1fr)));
233
- /* grid-template-columns: repeat(var(--zdg_auto_grid_placement, auto-fill), minmax(var(--zdg_auto_grid_min_item_size, 16rem), 1fr)); */
234
- }
235
-
236
- .auto_repeat_fixed {
237
- grid-template-columns: repeat(var(--zdg_auto_repeat, auto-fit), var(--zdg_auto_repeat_val, 1fr));
238
- }
239
-
240
- .custom_columns {
241
- grid-template-columns: var(--zdg_custom_columns, 1fr);
242
- }
243
-
244
- .custom_rows {
245
- grid-template-rows: var(--zdg_custom_rows, auto);
246
- }
247
-
248
- .auto_columns {
249
- grid-auto-columns: var(--zdg_auto_columns, auto);
250
- }
251
-
252
- .auto_rows {
253
- grid-auto-rows: var(--zdg_auto_rows, auto);
254
- }
255
-
256
-
257
- /* Custom Grid Item Classes */
258
- .item_area {
259
- grid-area: var(--zdg_item_area, content);
260
- }
261
-
262
- .item_col_span1 {
263
- grid-column: auto/span 1
264
- }
265
-
266
- .item_col_span2 {
267
- grid-column: auto/span 2;
268
- }
269
-
270
- .item_col_span3 {
271
- grid-column: auto/span 3
272
- }
273
-
274
- .item_col_span4 {
275
- grid-column: auto/span 4
276
- }
277
-
278
- .item_col_span5 {
279
- grid-column: auto/span 5
280
- }
281
-
282
- .item_col_span6 {
283
- grid-column: auto/span 6
284
- }
285
-
286
- .item_col_span7 {
287
- grid-column: auto/span 7
288
- }
289
-
290
- .item_col_span8 {
291
- grid-column: auto/span 8
292
- }
293
-
294
- .item_col_span9 {
295
- grid-column: auto/span 9
296
- }
297
-
298
- .item_col_span10 {
299
- grid-column: auto/span 10
300
- }
301
-
302
- .item_col_span11 {
303
- grid-column: auto/span 11
304
- }
305
-
306
- .item_col_span12 {
307
- grid-column: auto/span 12
308
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
- var _utils = require("@zohodesk/utils");
8
- var _propConstants = _interopRequireDefault(require("../props/propConstants"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- /**
12
- * container classname based on js state
13
- * @param {object} props flex props
14
- * @param {object} flex style object
15
- * @returns {string} classnames string with space separate
16
- */
17
- function _default(props, newStyle) {
18
- var _compileClassNames;
19
- var display = props.display,
20
- flow = props.flow,
21
- alignItems = props.alignItems,
22
- alignSelf = props.alignSelf,
23
- alignContent = props.alignContent,
24
- justifyItems = props.justifyItems,
25
- justifySelf = props.justifySelf,
26
- justifyContent = props.justifyContent,
27
- overFlowScroll = props.overFlowScroll,
28
- isCover = props.isCover,
29
- className = props.className;
30
- var alignItemsClassname = "alignItems_".concat(alignItems);
31
- var alignSelfClassname = "alignSelf_".concat(alignSelf);
32
- var alignContentClassname = "alignContent_".concat(alignContent);
33
- var justifyItemsClassname = "justifyItems_".concat(justifyItems);
34
- var justifySelfClassname = "justifySelf_".concat(justifySelf);
35
- var justifyContentClassname = "justifyContent_".concat(justifyContent);
36
- var overFlow = "scroll_".concat(overFlowScroll);
37
- return (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, newStyle.base, true), _defineProperty(_compileClassNames, newStyle.grid, display === _propConstants["default"].display.grid), _defineProperty(_compileClassNames, newStyle.inlineGrid, display === _propConstants["default"].display.inline), _defineProperty(_compileClassNames, newStyle[flow], flow && display), _defineProperty(_compileClassNames, newStyle[alignItemsClassname], alignItems && display), _defineProperty(_compileClassNames, newStyle[justifyItemsClassname], justifyItems && display), _defineProperty(_compileClassNames, newStyle[alignContentClassname], alignContent && display), _defineProperty(_compileClassNames, newStyle[justifyContentClassname], justifyContent && display), _defineProperty(_compileClassNames, newStyle[alignSelfClassname], alignSelf), _defineProperty(_compileClassNames, newStyle[justifySelfClassname], justifySelf), _defineProperty(_compileClassNames, newStyle[overFlow], overFlowScroll), _defineProperty(_compileClassNames, newStyle.cover, isCover), _defineProperty(_compileClassNames, className, className), _compileClassNames));
38
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "GridPropConstants", {
7
- enumerable: true,
8
- get: function get() {
9
- return _propConstants["default"];
10
- }
11
- });
12
- Object.defineProperty(exports, "GridPropTypes", {
13
- enumerable: true,
14
- get: function get() {
15
- return _propTypes["default"];
16
- }
17
- });
18
- Object.defineProperty(exports, "default", {
19
- enumerable: true,
20
- get: function get() {
21
- return _Grid["default"];
22
- }
23
- });
24
- var _Grid = _interopRequireDefault(require("./Grid"));
25
- var _propTypes = _interopRequireDefault(require("./props/propTypes"));
26
- var _propConstants = _interopRequireDefault(require("./props/propConstants"));
27
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _propTypes = _interopRequireDefault(require("prop-types"));
8
- var _generalAriaProps = _interopRequireDefault(require("@zohodesk/utils/es/props/generalAriaProps"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- 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; }
11
- 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; }
12
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- var _default = {
14
- a11y: _propTypes["default"].shape(_objectSpread({}, _generalAriaProps["default"]))
15
- };
16
- exports["default"] = _default;
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = {
8
- tagName: 'div',
9
- isCover: false,
10
- customStyle: {},
11
- tagAttributes: {},
12
- tagGeneralAttributes: {}
13
- };
14
- exports["default"] = _default;
@@ -1,73 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = {
8
- display: {
9
- inline: "inline",
10
- grid: "grid"
11
- },
12
- flow: {
13
- row: "row",
14
- column: "column",
15
- dense: "dense",
16
- rowDense: "rowDense",
17
- colDense: "colDense"
18
- },
19
- alignItems: {
20
- start: "start",
21
- end: "end",
22
- center: "center",
23
- stretch: "stretch",
24
- baseline: "baseline"
25
- },
26
- alignSelf: {
27
- start: "start",
28
- end: "end",
29
- center: "center",
30
- stretch: "stretch",
31
- baseline: "baseline"
32
- },
33
- alignContent: {
34
- start: "start",
35
- end: "end",
36
- center: "center",
37
- stretch: "stretch",
38
- baseline: "baseline",
39
- spaceBetween: "spaceBetween",
40
- spaceAround: "spaceAround",
41
- spaceEvenly: "spaceEvenly"
42
- },
43
- justifyItems: {
44
- start: "start",
45
- end: "end",
46
- center: "center",
47
- stretch: "stretch",
48
- baseline: "baseline"
49
- },
50
- justifySelf: {
51
- start: "start",
52
- end: "end",
53
- center: "center",
54
- stretch: "stretch",
55
- baseline: "baseline"
56
- },
57
- justifyContent: {
58
- start: "start",
59
- end: "end",
60
- center: "center",
61
- stretch: "stretch",
62
- spaceBetween: "spaceBetween",
63
- spaceAround: "spaceAround",
64
- spaceEvenly: "spaceEvenly"
65
- },
66
- scroll: {
67
- x: "x",
68
- y: "y",
69
- both: "both",
70
- none: "none"
71
- }
72
- };
73
- exports["default"] = _default;
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _propTypes = _interopRequireDefault(require("prop-types"));
8
- var _automationProps = _interopRequireDefault(require("@zohodesk/utils/es/props/automationProps"));
9
- var _customStyleProps = _interopRequireDefault(require("@zohodesk/utils/es/props/customStyleProps"));
10
- var _tagAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagAttributeProps"));
11
- var _tagGeneralAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagGeneralAttributeProps"));
12
- var _propConstants = _interopRequireDefault(require("./propConstants"));
13
- var _ariaPropTypes = _interopRequireDefault(require("./ariaPropTypes"));
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
- 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; }
16
- 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; }
17
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
- var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
19
- tagName: _propTypes["default"].string,
20
- isCover: _propTypes["default"].bool,
21
- alignItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignItems)),
22
- alignSelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignSelf)),
23
- alignContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignContent)),
24
- justifyItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyItems)),
25
- justifySelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifySelf)),
26
- justifyContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyContent)),
27
- flow: _propTypes["default"].oneOf(Object.values(_propConstants["default"].flow)),
28
- overFlowScroll: _propTypes["default"].oneOf(Object.values(_propConstants["default"].scroll)),
29
- display: _propTypes["default"].oneOf(Object.values(_propConstants["default"].display)),
30
- children: _propTypes["default"].node,
31
- className: _propTypes["default"].string
32
- }, _automationProps["default"]), _ariaPropTypes["default"]), _customStyleProps["default"]), _tagAttributeProps["default"]), _tagGeneralAttributeProps["default"]);
33
- exports["default"] = _default;