@zohodesk/components 1.2.3 → 1.2.5

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 (205) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/PropValidationExcludeFilesArray.js +10 -2
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +8 -0
  5. package/coverage/Button/Button.js.html +1 -1
  6. package/coverage/Button/css/Button.module.css.html +1 -1
  7. package/coverage/Button/css/cssJSLogic.js.html +1 -1
  8. package/coverage/Button/css/index.html +1 -1
  9. package/coverage/Button/index.html +1 -1
  10. package/coverage/Button/props/defaultProps.js.html +1 -1
  11. package/coverage/Button/props/index.html +1 -1
  12. package/coverage/Button/props/propTypes.js.html +1 -1
  13. package/coverage/Buttongroup/Buttongroup.js.html +1 -1
  14. package/coverage/Buttongroup/Buttongroup.module.css.html +1 -1
  15. package/coverage/Buttongroup/index.html +1 -1
  16. package/coverage/Buttongroup/props/defaultProps.js.html +1 -1
  17. package/coverage/Buttongroup/props/index.html +1 -1
  18. package/coverage/Buttongroup/props/propTypes.js.html +1 -1
  19. package/coverage/index.html +1 -1
  20. package/coverage/utils/dummyFunction.js.html +1 -1
  21. package/coverage/utils/index.html +1 -1
  22. package/es/index.js +2 -1
  23. package/es/v1/Accordion/Accordion.js +65 -0
  24. package/es/v1/Accordion/AccordionItem.js +57 -0
  25. package/es/v1/Accordion/index.js +2 -0
  26. package/es/v1/Animation/Animation.js +127 -0
  27. package/es/v1/AppContainer/AppContainer.js +134 -0
  28. package/es/v1/Avatar/Avatar.js +189 -0
  29. package/es/v1/AvatarTeam/AvatarTeam.js +70 -0
  30. package/es/v1/Button/Button.js +68 -0
  31. package/es/v1/Buttongroup/Buttongroup.js +31 -0
  32. package/es/v1/Card/Card.js +271 -0
  33. package/es/v1/CheckBox/CheckBox.js +155 -0
  34. package/es/v1/DateTime/CalendarView.js +218 -0
  35. package/es/v1/DateTime/DateTime.js +783 -0
  36. package/es/v1/DateTime/DateTimePopupFooter.js +47 -0
  37. package/es/v1/DateTime/DateTimePopupHeader.js +105 -0
  38. package/es/v1/DateTime/DateWidget.js +1098 -0
  39. package/es/v1/DateTime/DaysRow.js +31 -0
  40. package/es/v1/DateTime/Time.js +166 -0
  41. package/es/v1/DateTime/YearView.js +264 -0
  42. package/es/v1/DateTime/index.js +1 -0
  43. package/es/v1/DropBox/DropBox.js +91 -0
  44. package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +132 -0
  45. package/es/v1/DropDown/DropDown.js +73 -0
  46. package/es/v1/DropDown/DropDownHeading.js +44 -0
  47. package/es/v1/DropDown/DropDownItem.js +76 -0
  48. package/es/v1/DropDown/DropDownSearch.js +63 -0
  49. package/es/v1/DropDown/DropDownSeparator.js +15 -0
  50. package/es/v1/Heading/Heading.js +32 -0
  51. package/es/v1/Label/Label.js +40 -0
  52. package/es/v1/Layout/Box.js +115 -0
  53. package/es/v1/Layout/Container.js +132 -0
  54. package/es/v1/Layout/index.js +2 -0
  55. package/es/v1/ListItem/ListContainer.js +102 -0
  56. package/es/v1/ListItem/ListItem.js +124 -0
  57. package/es/v1/ListItem/ListItemWithAvatar.js +145 -0
  58. package/es/v1/ListItem/ListItemWithCheckBox.js +104 -0
  59. package/es/v1/ListItem/ListItemWithIcon.js +127 -0
  60. package/es/v1/ListItem/ListItemWithRadio.js +105 -0
  61. package/es/v1/ListItem/index.js +6 -0
  62. package/es/v1/Modal/Modal.js +154 -0
  63. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1079 -0
  64. package/es/v1/MultiSelect/AdvancedMultiSelect.js +568 -0
  65. package/es/v1/MultiSelect/EmptyState.js +64 -0
  66. package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +50 -0
  67. package/es/v1/MultiSelect/MultiSelect.js +1120 -0
  68. package/es/v1/MultiSelect/MultiSelectHeader.js +32 -0
  69. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +216 -0
  70. package/es/v1/MultiSelect/SelectedOptions.js +82 -0
  71. package/es/v1/MultiSelect/Suggestions.js +142 -0
  72. package/es/v1/MultiSelect/index.js +4 -0
  73. package/es/v1/PopOver/PopOver.js +211 -0
  74. package/es/v1/Popup/Popup.js +645 -0
  75. package/es/v1/Radio/Radio.js +115 -0
  76. package/es/v1/Responsive/CustomResponsive.js +195 -0
  77. package/es/v1/Responsive/RefWrapper.js +39 -0
  78. package/es/v1/Responsive/ResizeComponent.js +197 -0
  79. package/es/v1/Responsive/ResizeObserver.js +140 -0
  80. package/es/v1/Responsive/Responsive.js +194 -0
  81. package/es/v1/Responsive/index.js +9 -0
  82. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +58 -0
  83. package/es/v1/Ribbon/Ribbon.js +33 -0
  84. package/es/v1/RippleEffect/RippleEffect.js +24 -0
  85. package/es/v1/Select/GroupSelect.js +803 -0
  86. package/es/v1/Select/Select.js +969 -0
  87. package/es/v1/Select/SelectWithAvatar.js +344 -0
  88. package/es/v1/Select/SelectWithIcon.js +535 -0
  89. package/es/v1/Select/index.js +4 -0
  90. package/es/v1/Stencils/Stencils.js +26 -0
  91. package/es/v1/Switch/Switch.js +94 -0
  92. package/es/v1/Tab/Tab.js +108 -0
  93. package/es/v1/Tab/TabContent.js +30 -0
  94. package/es/v1/Tab/TabContentWrapper.js +29 -0
  95. package/es/v1/Tab/TabWrapper.js +57 -0
  96. package/es/v1/Tab/Tabs.js +612 -0
  97. package/es/v1/Tab/index.js +5 -0
  98. package/es/v1/Tag/Tag.js +134 -0
  99. package/es/v1/TextBox/TextBox.js +154 -0
  100. package/es/v1/TextBoxIcon/TextBoxIcon.js +158 -0
  101. package/es/v1/Textarea/Textarea.js +102 -0
  102. package/es/v1/Tooltip/Tooltip.js +518 -0
  103. package/es/v1/Typography/Typography.js +38 -0
  104. package/es/v1/Typography/css/Typography.module.css +376 -0
  105. package/es/v1/Typography/css/cssJSLogic.js +46 -0
  106. package/es/v1/Typography/css/letterSpacingMap.js +12 -0
  107. package/es/v1/Typography/props/defaultProps.js +8 -0
  108. package/es/v1/Typography/props/propTypes.js +24 -0
  109. package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +69 -0
  110. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +100 -0
  111. package/es/v1/semantic/Button/Button.js +53 -0
  112. package/es/v1/semantic/index.js +1 -0
  113. package/lib/index.js +10 -1
  114. package/lib/v1/Accordion/Accordion.js +96 -0
  115. package/lib/v1/Accordion/AccordionItem.js +68 -0
  116. package/lib/v1/Accordion/index.js +23 -0
  117. package/lib/v1/Animation/Animation.js +143 -0
  118. package/lib/v1/AppContainer/AppContainer.js +204 -0
  119. package/lib/v1/Avatar/Avatar.js +246 -0
  120. package/lib/v1/AvatarTeam/AvatarTeam.js +81 -0
  121. package/lib/v1/Button/Button.js +82 -0
  122. package/lib/v1/Buttongroup/Buttongroup.js +44 -0
  123. package/lib/v1/Card/Card.js +365 -0
  124. package/lib/v1/CheckBox/CheckBox.js +166 -0
  125. package/lib/v1/DateTime/CalendarView.js +285 -0
  126. package/lib/v1/DateTime/DateTime.js +872 -0
  127. package/lib/v1/DateTime/DateTimePopupFooter.js +96 -0
  128. package/lib/v1/DateTime/DateTimePopupHeader.js +166 -0
  129. package/lib/v1/DateTime/DateWidget.js +1125 -0
  130. package/lib/v1/DateTime/DaysRow.js +80 -0
  131. package/lib/v1/DateTime/Time.js +254 -0
  132. package/lib/v1/DateTime/YearView.js +325 -0
  133. package/lib/v1/DateTime/index.js +15 -0
  134. package/lib/v1/DropBox/DropBox.js +119 -0
  135. package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +145 -0
  136. package/lib/v1/DropDown/DropDown.js +170 -0
  137. package/lib/v1/DropDown/DropDownHeading.js +93 -0
  138. package/lib/v1/DropDown/DropDownItem.js +127 -0
  139. package/lib/v1/DropDown/DropDownSearch.js +113 -0
  140. package/lib/v1/DropDown/DropDownSeparator.js +64 -0
  141. package/lib/v1/Heading/Heading.js +49 -0
  142. package/lib/v1/Label/Label.js +51 -0
  143. package/lib/v1/Layout/Box.js +128 -0
  144. package/lib/v1/Layout/Container.js +145 -0
  145. package/lib/v1/Layout/index.js +23 -0
  146. package/lib/v1/ListItem/ListContainer.js +120 -0
  147. package/lib/v1/ListItem/ListItem.js +138 -0
  148. package/lib/v1/ListItem/ListItemWithAvatar.js +162 -0
  149. package/lib/v1/ListItem/ListItemWithCheckBox.js +125 -0
  150. package/lib/v1/ListItem/ListItemWithIcon.js +143 -0
  151. package/lib/v1/ListItem/ListItemWithRadio.js +126 -0
  152. package/lib/v1/ListItem/index.js +55 -0
  153. package/lib/v1/Modal/Modal.js +212 -0
  154. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1167 -0
  155. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +634 -0
  156. package/lib/v1/MultiSelect/EmptyState.js +112 -0
  157. package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +62 -0
  158. package/lib/v1/MultiSelect/MultiSelect.js +1201 -0
  159. package/lib/v1/MultiSelect/MultiSelectHeader.js +78 -0
  160. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +270 -0
  161. package/lib/v1/MultiSelect/SelectedOptions.js +126 -0
  162. package/lib/v1/MultiSelect/Suggestions.js +195 -0
  163. package/lib/v1/MultiSelect/index.js +39 -0
  164. package/lib/v1/PopOver/PopOver.js +293 -0
  165. package/lib/v1/Popup/Popup.js +715 -0
  166. package/lib/v1/Radio/Radio.js +126 -0
  167. package/lib/v1/Responsive/CustomResponsive.js +242 -0
  168. package/lib/v1/Responsive/RefWrapper.js +57 -0
  169. package/lib/v1/Responsive/ResizeComponent.js +268 -0
  170. package/lib/v1/Responsive/ResizeObserver.js +168 -0
  171. package/lib/v1/Responsive/Responsive.js +274 -0
  172. package/lib/v1/Responsive/index.js +55 -0
  173. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +79 -0
  174. package/lib/v1/Ribbon/Ribbon.js +44 -0
  175. package/lib/v1/RippleEffect/RippleEffect.js +39 -0
  176. package/lib/v1/Select/GroupSelect.js +877 -0
  177. package/lib/v1/Select/Select.js +1013 -0
  178. package/lib/v1/Select/SelectWithAvatar.js +394 -0
  179. package/lib/v1/Select/SelectWithIcon.js +597 -0
  180. package/lib/v1/Select/index.js +39 -0
  181. package/lib/v1/Stencils/Stencils.js +43 -0
  182. package/lib/v1/Switch/Switch.js +108 -0
  183. package/lib/v1/Tab/Tab.js +132 -0
  184. package/lib/v1/Tab/TabContent.js +42 -0
  185. package/lib/v1/Tab/TabContentWrapper.js +42 -0
  186. package/lib/v1/Tab/TabWrapper.js +89 -0
  187. package/lib/v1/Tab/Tabs.js +680 -0
  188. package/lib/v1/Tab/index.js +47 -0
  189. package/lib/v1/Tag/Tag.js +154 -0
  190. package/lib/v1/TextBox/TextBox.js +168 -0
  191. package/lib/v1/TextBoxIcon/TextBoxIcon.js +196 -0
  192. package/lib/v1/Textarea/Textarea.js +118 -0
  193. package/lib/v1/Tooltip/Tooltip.js +586 -0
  194. package/lib/v1/Typography/Typography.js +56 -0
  195. package/lib/v1/Typography/css/Typography.module.css +376 -0
  196. package/lib/v1/Typography/css/cssJSLogic.js +41 -0
  197. package/lib/v1/Typography/css/letterSpacingMap.js +20 -0
  198. package/lib/v1/Typography/props/defaultProps.js +15 -0
  199. package/lib/v1/Typography/props/propTypes.js +35 -0
  200. package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +90 -0
  201. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +126 -0
  202. package/lib/v1/semantic/Button/Button.js +63 -0
  203. package/lib/v1/semantic/index.js +15 -0
  204. package/package.json +4 -4
  205. package/result.json +1 -1
@@ -0,0 +1,376 @@
1
+ .reset {
2
+ font-weight: initial;
3
+ margin: initial ;
4
+ padding: initial ;
5
+ }
6
+ .dotted{
7
+ composes: dotted from '../../../common/common.module.css';
8
+ }
9
+ .display_block {
10
+ display: block;
11
+ }
12
+ .display_inlineBlock {
13
+ display: inline-block;
14
+ }
15
+ .display_inline {
16
+ display: inline;
17
+ }
18
+ .display_initial{
19
+ display: initial;
20
+ }
21
+ .font_regular {
22
+ font-family: var(--zd_regular);
23
+ }
24
+ .font_light {
25
+ font-family: var(--zd_light);
26
+ }
27
+ .font_semibold {
28
+ font-family: var(--zd_semibold);
29
+ composes: ftsmooth from '../../../common/common.module.css';
30
+ }
31
+ .font_bold {
32
+ font-family: var(--zd_bold);
33
+ composes: ftsmooth from '../../../common/common.module.css';
34
+ }
35
+ .fontStyles_normal{
36
+ font-style: normal;
37
+ }
38
+ .fontStyles_italic{
39
+ font-style: italic;
40
+ }
41
+ .decoration_default{
42
+ text-decoration: none;
43
+ }
44
+ .decoration_underline{
45
+ text-decoration: underline;
46
+ }
47
+ .decoration_strike{
48
+ text-decoration: line-through;
49
+ }
50
+ .decoration_overline{
51
+ text-decoration: overline;
52
+ }
53
+ [dir=ltr] .textalign_left{
54
+ text-align: left;
55
+ }
56
+ [dir=rtl] .textalign_left{
57
+ text-align: right;
58
+ }
59
+ [dir=ltr] .textalign_right{
60
+ text-align: right;
61
+ }
62
+ [dir=rtl] .textalign_right{
63
+ text-align: left;
64
+ }
65
+ .textalign_center{
66
+ text-align: center;
67
+ }
68
+ .textalign_justify{
69
+ text-align: justify;
70
+ }
71
+ .transform_default{
72
+ text-transform: none;
73
+ }
74
+ .transform_upper{
75
+ text-transform: uppercase;
76
+ }
77
+ .transform_lower{
78
+ text-transform: lowercase;
79
+ }
80
+ .transform_capital{
81
+ text-transform: capitalize;
82
+ }
83
+ .dotted_clamp{
84
+ display: -webkit-box;
85
+ -webkit-box-orient: vertical;
86
+ overflow: hidden;
87
+ }
88
+ .lineclamp_1{
89
+ -webkit-line-clamp: 1;
90
+ composes:dotted_clamp;
91
+ }
92
+ .lineclamp_2{
93
+ -webkit-line-clamp: 2;
94
+ composes:dotted_clamp;
95
+ }
96
+ .lineclamp_3{
97
+ -webkit-line-clamp: 3;
98
+ composes:dotted_clamp;
99
+ }
100
+ .lineclamp_4{
101
+ -webkit-line-clamp: 4;
102
+ composes:dotted_clamp;
103
+ }
104
+ .lineclamp_5{
105
+ -webkit-line-clamp: 5;
106
+ composes:dotted_clamp;
107
+ }
108
+
109
+
110
+
111
+ /*...............Font Size Start.........*/
112
+
113
+ .size7{
114
+ font-size: var(--zd_font_size7) ;
115
+ }
116
+ .size8{
117
+ font-size: var(--zd_font_size8) ;
118
+ }
119
+ .size9{
120
+ font-size: var(--zd_font_size9) ;
121
+ }
122
+ .size10{
123
+ font-size: var(--zd_font_size10) ;
124
+ }
125
+ .size11{
126
+ font-size: var(--zd_font_size11) ;
127
+ }
128
+ .size12{
129
+ font-size: var(--zd_font_size12) ;
130
+ }
131
+ .size13{
132
+ font-size: var(--zd_font_size13) ;
133
+ }
134
+ .size14{
135
+ font-size: var(--zd_font_size14) ;
136
+ }
137
+ .size15{
138
+ font-size: var(--zd_font_size15) ;
139
+ }
140
+ .size16{
141
+ font-size: var(--zd_font_size16) ;
142
+ }
143
+ .size17{
144
+ font-size: var(--zd_font_size17) ;
145
+ }
146
+ .size18{
147
+ font-size: var(--zd_font_size18) ;
148
+ }
149
+ .size19{
150
+ font-size: var(--zd_font_size19) ;
151
+ }
152
+ .size20{
153
+ font-size: var(--zd_font_size20) ;
154
+ }
155
+ .size21{
156
+ font-size: var(--zd_font_size21) ;
157
+ }
158
+ .size22{
159
+ font-size: var(--zd_font_size22) ;
160
+ }
161
+ .size24{
162
+ font-size: var(--zd_font_size24) ;
163
+ }
164
+ .size25{
165
+ font-size: var(--zd_font_size25) ;
166
+ }
167
+ .size26{
168
+ font-size: var(--zd_font_size26) ;
169
+ }
170
+ .size28{
171
+ font-size: var(--zd_font_size28) ;
172
+ }
173
+ .size29{
174
+ font-size: var(--zd_font_size29) ;
175
+ }
176
+ .size30{
177
+ font-size: var(--zd_font_size30) ;
178
+ }
179
+ .size32{
180
+ font-size: var(--zd_font_size32) ;
181
+ }
182
+ .size34{
183
+ font-size: var(--zd_font_size34) ;
184
+ }
185
+ .size35{
186
+ font-size: var(--zd_font_size35) ;
187
+ }
188
+ .size36{
189
+ font-size: var(--zd_font_size36) ;
190
+ }
191
+ .size40{
192
+ font-size: var(--zd_font_size40) ;
193
+ }
194
+ .size50{
195
+ font-size: var(--zd_font_size50) ;
196
+ }
197
+ .sizeinherit{
198
+ font-size: inherit ;
199
+ }
200
+
201
+ /*...............Font Size End.........*/
202
+
203
+ /*............... Lineheight Start.........*/
204
+
205
+ .lineheight_inherit{
206
+ line-height: inherit;
207
+ }
208
+ .lineheight_0{
209
+ line-height: 0px;
210
+ }
211
+ .lineheight_1{
212
+ line-height: 1;
213
+ }
214
+ .lineheight_8{
215
+ line-height: 8px;
216
+ }
217
+ .lineheight_10{
218
+ line-height: 10px;
219
+ }
220
+ .lineheight_11{
221
+ line-height: 11px;
222
+ }
223
+ .lineheight_12{
224
+ line-height: 12px;
225
+ }
226
+ .lineheight_13{
227
+ line-height: 13px;
228
+ }
229
+ .lineheight_14{
230
+ line-height: 14px;
231
+ }
232
+ .lineheight_15{
233
+ line-height: 15px;
234
+ }
235
+ .lineheight_16{
236
+ line-height: 16px;
237
+ }
238
+ .lineheight_17{
239
+ line-height: 17px;
240
+ }
241
+ .lineheight_18{
242
+ line-height: 18px;
243
+ }
244
+ .lineheight_19{
245
+ line-height: 19px;
246
+ }
247
+ .lineheight_20{
248
+ line-height: 20px;
249
+ }
250
+ .lineheight_21{
251
+ line-height: 21px;
252
+ }
253
+ .lineheight_22{
254
+ line-height: 22px;
255
+ }
256
+ .lineheight_24{
257
+ line-height: 24px;
258
+ }
259
+ .lineheight_25{
260
+ line-height: 25px;
261
+ }
262
+ .lineheight_26{
263
+ line-height: 26px;
264
+ }
265
+ .lineheight_27{
266
+ line-height: 27px;
267
+ }
268
+ .lineheight_28{
269
+ line-height: 28px;
270
+ }
271
+ .lineheight_29{
272
+ line-height: 29px;
273
+ }
274
+ .lineheight_30{
275
+ line-height: 30px;
276
+ }
277
+ .lineheight_32{
278
+ line-height: 32px;
279
+ }
280
+ .lineheight_33{
281
+ line-height: 33px;
282
+ }
283
+ .lineheight_34{
284
+ line-height: 34px;
285
+ }
286
+ .lineheight_35{
287
+ line-height: 35px;
288
+ }
289
+ .lineheight_36{
290
+ line-height: 36px;
291
+ }
292
+ .lineheight_38{
293
+ line-height: 38px;
294
+ }
295
+ .lineheight_40{
296
+ line-height: 40px;
297
+ }
298
+ .lineheight_41{
299
+ line-height: 41px;
300
+ }
301
+ .lineheight_42{
302
+ line-height: 42px;
303
+ }
304
+ .lineheight_45{
305
+ line-height: 45px;
306
+ }
307
+ .lineheight_50{
308
+ line-height: 50px;
309
+ }
310
+ .lineheight_52{
311
+ line-height: 52px;
312
+ }
313
+ .lineheight_54{
314
+ line-height: 54px;
315
+ }
316
+ .lineheight_55{
317
+ line-height: 55px;
318
+ }
319
+ .lineheight_60{
320
+ line-height: 60px;
321
+ }
322
+ .lineheight_70{
323
+ line-height: 70px;
324
+ }
325
+ .lineheight_75{
326
+ line-height: 75px;
327
+ }
328
+ .lineheight_120{
329
+ line-height: 120px;
330
+ }
331
+
332
+ /*............... Lineheight End.........*/
333
+
334
+ /*............... Letterspacing Start.........*/
335
+
336
+ .letterspacing_inherit{
337
+ letter-spacing:inherit;
338
+ }
339
+ .letterspacing_01{
340
+ letter-spacing: 0.1px;
341
+ }
342
+ .letterspacing_02{
343
+ letter-spacing: 0.2px;
344
+ }
345
+ .letterspacing_03{
346
+ letter-spacing: 0.3px;
347
+ }
348
+ .letterspacing_04{
349
+ letter-spacing: 0.4px;
350
+ }
351
+ .letterspacing_05{
352
+ letter-spacing: 0.5px;
353
+ }
354
+ .letterspacing_06{
355
+ letter-spacing: 0.6px;
356
+ }
357
+ .letterspacing_07{
358
+ letter-spacing: 0.7px;
359
+ }
360
+ .letterspacing_08{
361
+ letter-spacing: 0.8px;
362
+ }
363
+ .letterspacing_09{
364
+ letter-spacing: 0.9px;
365
+ }
366
+ .letterspacing_1{
367
+ letter-spacing: 1px;
368
+ }
369
+ .letterspacing_2{
370
+ letter-spacing: 2px;
371
+ }
372
+ .letterspacing_4{
373
+ letter-spacing: 4px;
374
+ }
375
+
376
+ /*............... Letterspacing End.........*/
@@ -0,0 +1,46 @@
1
+ import { compileClassNames } from '@zohodesk/utils';
2
+ import { letterspacingMapping } from './letterSpacingMap';
3
+ export default function cssJSLogic(_ref) {
4
+ let {
5
+ props,
6
+ style
7
+ } = _ref;
8
+ let {
9
+ $ui_isReset,
10
+ $ui_isDotted,
11
+ $ui_size,
12
+ $ui_lineClamp,
13
+ $ui_lineHeight,
14
+ $ui_display,
15
+ $ui_variant,
16
+ $ui_typeFace,
17
+ $ui_textAlign,
18
+ $ui_letterSpacing,
19
+ $ui_transform,
20
+ $ui_decoration,
21
+ $ui_className
22
+ } = props;
23
+
24
+ if ($ui_letterSpacing && $ui_letterSpacing.match(/\./g)) {
25
+ $ui_letterSpacing = letterspacingMapping[$ui_letterSpacing];
26
+ }
27
+
28
+ let typographyClass = compileClassNames({
29
+ [style.reset]: $ui_isReset,
30
+ [style.dotted]: $ui_isDotted,
31
+ [style[`size${$ui_size}`]]: !!$ui_size,
32
+ [style[`lineclamp_${$ui_lineClamp}`]]: !!$ui_lineClamp,
33
+ [style[`lineheight_${$ui_lineHeight}`]]: !!$ui_lineHeight,
34
+ [style[`display_${$ui_display}`]]: !!$ui_display,
35
+ [style[`font_${$ui_variant}`]]: !!$ui_variant,
36
+ [style[`fontStyles_${$ui_typeFace}`]]: !!$ui_typeFace,
37
+ [style[`textalign_${$ui_textAlign}`]]: !!$ui_textAlign,
38
+ [style[`letterspacing_${$ui_letterSpacing}`]]: !!$ui_letterSpacing,
39
+ [style[`transform_${$ui_transform}`]]: !!$ui_transform,
40
+ [style[`decoration_${$ui_decoration}`]]: !!$ui_decoration,
41
+ [$ui_className]: !!$ui_className
42
+ });
43
+ return {
44
+ typographyClass
45
+ };
46
+ }
@@ -0,0 +1,12 @@
1
+ /* eslint-disable */
2
+ export const letterspacingMapping = {
3
+ '0.1': '01',
4
+ '0.2': '02',
5
+ '0.3': '03',
6
+ '0.4': '04',
7
+ '0.5': '05',
8
+ '0.6': '06',
9
+ '0.7': '07',
10
+ '0.8': '08',
11
+ '0.9': '09'
12
+ };
@@ -0,0 +1,8 @@
1
+ export const defaultProps = {
2
+ $ui_className: '',
3
+ $ui_tagName: 'div',
4
+ $ui_isReset: false,
5
+ $ui_isDotted: false,
6
+ a11yAttributes: {},
7
+ tagAttributes: {}
8
+ };
@@ -0,0 +1,24 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ children: PropTypes.node,
4
+ $ui_className: PropTypes.string,
5
+ $ui_tagName: PropTypes.string,
6
+ $ui_isReset: PropTypes.bool,
7
+ $ui_isDotted: PropTypes.bool,
8
+ $ui_display: PropTypes.oneOf(['block', 'inlineBlock', 'inline', 'initial']),
9
+ $ui_variant: PropTypes.oneOf(['regular', 'light', 'semibold', 'bold']),
10
+ $ui_textAlign: PropTypes.oneOf(['left', 'right', 'center', 'justify']),
11
+ $ui_transform: PropTypes.oneOf(['default', 'upper', 'lower', 'capital']),
12
+ $ui_lineClamp: PropTypes.oneOf(['1', '2', '3', '4', '5']),
13
+ $ui_typeFace: PropTypes.oneOf(['normal', 'italic']),
14
+ $ui_decoration: PropTypes.oneOf(['default', 'underline', 'strike', 'overline']),
15
+ $ui_size: PropTypes.oneOf(['7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '24', '25', '26', '28', '29', '30', '32', '34', '35', '36', '40', '50', 'inherit']),
16
+ $ui_lineHeight: PropTypes.oneOf(['0', '1', '8', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '24', '25', '26', '27', '28', '29', '30', '32', '33', '34', '35', '36', '38', '40', '41', '42', '45', '50', '52', '54', '55', '60', '70', '75', '120', 'inherit']),
17
+ $ui_letterSpacing: PropTypes.oneOf(['0.1', '0.2', '0.3', '0.4', '0.5', '0.6', '0.7', '0.8', '0.9', '1', '2', '4', 'inherit']),
18
+ $i18n_dataTitle: PropTypes.string,
19
+ testId: PropTypes.string,
20
+ customId: PropTypes.string,
21
+ customStyle: PropTypes.object,
22
+ a11yAttributes: PropTypes.object,
23
+ tagAttributes: PropTypes.object
24
+ };
@@ -0,0 +1,69 @@
1
+ import React, { useContext } from 'react';
2
+ import { defaultProps } from '../../../VelocityAnimation/VelocityAnimation/props/defaultProps';
3
+ import { propTypes } from '../../../VelocityAnimation/VelocityAnimation/props/propTypes';
4
+ import { VelocityComponent } from 'velocity-react';
5
+ import 'velocity-animate/velocity.ui';
6
+ import LibraryContext from '../../../Provider/LibraryContextInit';
7
+ export default function VelocityAnimation(props) {
8
+ let {
9
+ children,
10
+ name,
11
+ duration,
12
+ isActive,
13
+ runOnMount,
14
+ delay,
15
+ isCustomized,
16
+ needUIPack,
17
+ isFlex
18
+ } = props;
19
+ let {
20
+ direction,
21
+ isReducedMotion
22
+ } = useContext(LibraryContext) || {};
23
+ let enterAnimationObj = {
24
+ fade: 'transition.fadeIn',
25
+ slideDown: 'slideDown',
26
+ flyDown: {
27
+ translateY: '0%'
28
+ },
29
+ slideRight: {
30
+ translateX: '0%'
31
+ },
32
+ slideLeft: {
33
+ translateX: '0%'
34
+ },
35
+ shrink: 'transition.shrinkIn',
36
+ expand: 'transition.expandIn'
37
+ };
38
+ let exitAnimationObj = {
39
+ fade: 'transition.fadeOut',
40
+ slideDown: 'slideUp',
41
+ flyDown: {
42
+ translateY: '-100%'
43
+ },
44
+ slideRight: {
45
+ translateX: direction == 'rtl' ? '-100%' : '100%'
46
+ },
47
+ slideLeft: {
48
+ translateX: direction == 'rtl' ? '100%' : '-100%'
49
+ },
50
+ shrink: 'transition.shrinkOut',
51
+ expand: 'transition.expandOut'
52
+ };
53
+ let animation = isCustomized ? isActive ? enterAnimationObj[name] : exitAnimationObj[name] : needUIPack ? `transition.${name}${isActive ? 'In' : 'Out'}` : name;
54
+ return /*#__PURE__*/React.createElement(VelocityComponent, {
55
+ key: name,
56
+ animation: animation,
57
+ duration: !isReducedMotion ? duration : 0,
58
+ runOnMount: runOnMount,
59
+ display: isActive ? isFlex ? 'flex' : '' : 'none',
60
+ delay: delay,
61
+ interruptBehavior: "queue"
62
+ }, children);
63
+ }
64
+ VelocityAnimation.defaultProps = defaultProps;
65
+ VelocityAnimation.propTypes = propTypes; // if (__DOCS__) {
66
+ // VelocityAnimation.docs = {
67
+ // componentGroup: 'Animation'
68
+ // };
69
+ // }
@@ -0,0 +1,100 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import React, { useContext } from 'react';
4
+ import { defaultProps } from '../../../VelocityAnimation/VelocityAnimationGroup/props/defaultProps';
5
+ import { propTypes } from '../../../VelocityAnimation/VelocityAnimationGroup/props/propTypes';
6
+ import { VelocityTransitionGroup } from 'velocity-react';
7
+ import 'velocity-animate/velocity.ui';
8
+ import LibraryContext from '../../../Provider/LibraryContextInit';
9
+
10
+ function clearProps(props) {
11
+ let newProps = Object.assign({}, props);
12
+ Object.keys(VelocityAnimationGroup.propTypes).forEach(key => {
13
+ delete newProps[key];
14
+ });
15
+ return newProps;
16
+ }
17
+
18
+ export default function VelocityAnimationGroup(props) {
19
+ let {
20
+ children,
21
+ enterName,
22
+ exitName,
23
+ enterDuration,
24
+ exitDuration,
25
+ isActive,
26
+ component,
27
+ runOnMount,
28
+ enterShowStyle,
29
+ enterHideStyle,
30
+ exitDelay,
31
+ isFlex,
32
+ enterDelay,
33
+ isCustomized,
34
+ name,
35
+ needUIPack
36
+ } = props;
37
+ let {
38
+ direction,
39
+ isReducedMotion
40
+ } = useContext(LibraryContext) || {};
41
+ let childProps = clearProps(props);
42
+ let enterAnimationObj = {
43
+ fade: 'transition.fadeIn',
44
+ slideDown: 'slideDown',
45
+ flyDown: {
46
+ translateY: '0%'
47
+ },
48
+ slideRight: {
49
+ translateX: '0%'
50
+ },
51
+ slideLeft: {
52
+ translateX: '0%'
53
+ },
54
+ shrink: 'transition.shrinkIn',
55
+ expand: 'transition.expandIn'
56
+ };
57
+ let exitAnimationObj = {
58
+ fade: 'transition.fadeOut',
59
+ slideDown: 'slideUp',
60
+ flyDown: {
61
+ translateY: '-100%'
62
+ },
63
+ slideRight: {
64
+ translateX: direction == 'rtl' ? '-100%' : '100%'
65
+ },
66
+ slideLeft: {
67
+ translateX: direction == 'rtl' ? '100%' : '-100%'
68
+ },
69
+ shrink: 'transition.shrinkOut',
70
+ expand: 'transition.expandOut'
71
+ };
72
+ let enterAnimation = {
73
+ animation: isCustomized ? enterAnimationObj[name] : needUIPack ? `transition.${enterName}In` : enterName,
74
+ duration: !isReducedMotion ? enterDuration : 0,
75
+ delay: enterDelay ? enterDelay : 0,
76
+ display: isFlex ? 'flex' : ''
77
+ };
78
+ let exitAnimation = {
79
+ animation: isCustomized ? exitAnimationObj[name] : needUIPack ? `transition.${exitName ? exitName : enterName}Out` : exitName ? exitName : enterName,
80
+ duration: !isReducedMotion ? exitDuration : 0,
81
+ delay: exitDelay ? exitDelay : 0,
82
+ display: 'none'
83
+ };
84
+ return /*#__PURE__*/React.createElement(VelocityTransitionGroup, _extends({
85
+ enter: enterAnimation,
86
+ leave: exitAnimation,
87
+ component: component && component,
88
+ runOnMount: runOnMount,
89
+ enterHideStyle: enterHideStyle,
90
+ enterShowStyle: enterShowStyle
91
+ }, childProps), isActive ? children : null);
92
+ }
93
+ VelocityAnimationGroup.defaultProps = { ...defaultProps,
94
+ component: React.Fragment
95
+ };
96
+ VelocityAnimationGroup.propTypes = propTypes; // if (__DOCS__) {
97
+ // VelocityAnimationGroup.docs = {
98
+ // componentGroup: 'Animation'
99
+ // };
100
+ // }
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ import { defaultProps } from '../../../semantic/Button/props/defaultProps';
3
+ import { propTypes } from '../../../semantic/Button/props/propTypes';
4
+ import style from '../../../semantic/Button/semanticButton.module.css';
5
+ export default function Button(props) {
6
+ const {
7
+ value,
8
+ type,
9
+ text,
10
+ title,
11
+ name,
12
+ autoFocus,
13
+ disabled,
14
+ ref,
15
+ dataId,
16
+ onClick,
17
+ children,
18
+ customClass,
19
+ a11y
20
+ } = props;
21
+ let {
22
+ ariaLabel,
23
+ ariaHaspopup,
24
+ ariaExpanded,
25
+ ariaControls,
26
+ ariaLabelledby
27
+ } = a11y;
28
+ return /*#__PURE__*/React.createElement("button", {
29
+ className: `${style.buttonReset} ${customClass}`,
30
+ "aria-label": ariaLabel,
31
+ "aria-haspopup": ariaHaspopup,
32
+ "aria-expanded": ariaExpanded,
33
+ "aria-controls": ariaControls,
34
+ "aria-labelledby": ariaLabelledby,
35
+ type: type,
36
+ value: value,
37
+ name: name,
38
+ autoFocus: autoFocus,
39
+ disabled: disabled,
40
+ ref: ref,
41
+ "data-id": dataId,
42
+ "data-test-id": dataId,
43
+ onClick: onClick,
44
+ "data-title": title
45
+ }, children ? children : text);
46
+ }
47
+ Button.defaultProps = defaultProps;
48
+ Button.propTypes = propTypes; // if (__DOCS__) {
49
+ // Button.docs = {
50
+ // componentGroup: 'semantic',
51
+ // folderName: 'DefaultComponents'
52
+ // };
53
+ // }
@@ -0,0 +1 @@
1
+ export { default as SemanticButton } from './Button/Button';