@zohodesk/components 1.2.4 → 1.2.6

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 (202) hide show
  1. package/README.md +8 -0
  2. package/coverage/Button/Button.js.html +1 -1
  3. package/coverage/Button/css/Button.module.css.html +1 -1
  4. package/coverage/Button/css/cssJSLogic.js.html +1 -1
  5. package/coverage/Button/css/index.html +1 -1
  6. package/coverage/Button/index.html +1 -1
  7. package/coverage/Button/props/defaultProps.js.html +1 -1
  8. package/coverage/Button/props/index.html +1 -1
  9. package/coverage/Button/props/propTypes.js.html +1 -1
  10. package/coverage/Buttongroup/Buttongroup.js.html +1 -1
  11. package/coverage/Buttongroup/Buttongroup.module.css.html +1 -1
  12. package/coverage/Buttongroup/index.html +1 -1
  13. package/coverage/Buttongroup/props/defaultProps.js.html +1 -1
  14. package/coverage/Buttongroup/props/index.html +1 -1
  15. package/coverage/Buttongroup/props/propTypes.js.html +1 -1
  16. package/coverage/index.html +1 -1
  17. package/coverage/utils/dummyFunction.js.html +1 -1
  18. package/coverage/utils/index.html +1 -1
  19. package/es/AppContainer/AppContainer.js +3 -0
  20. package/es/v1/Accordion/Accordion.js +65 -0
  21. package/es/v1/Accordion/AccordionItem.js +57 -0
  22. package/es/v1/Accordion/index.js +2 -0
  23. package/es/v1/Animation/Animation.js +127 -0
  24. package/es/v1/AppContainer/AppContainer.js +137 -0
  25. package/es/v1/Avatar/Avatar.js +189 -0
  26. package/es/v1/AvatarTeam/AvatarTeam.js +70 -0
  27. package/es/v1/Button/Button.js +68 -0
  28. package/es/v1/Buttongroup/Buttongroup.js +31 -0
  29. package/es/v1/Card/Card.js +271 -0
  30. package/es/v1/CheckBox/CheckBox.js +155 -0
  31. package/es/v1/DateTime/CalendarView.js +218 -0
  32. package/es/v1/DateTime/DateTime.js +783 -0
  33. package/es/v1/DateTime/DateTimePopupFooter.js +47 -0
  34. package/es/v1/DateTime/DateTimePopupHeader.js +105 -0
  35. package/es/v1/DateTime/DateWidget.js +1098 -0
  36. package/es/v1/DateTime/DaysRow.js +31 -0
  37. package/es/v1/DateTime/Time.js +166 -0
  38. package/es/v1/DateTime/YearView.js +264 -0
  39. package/es/v1/DateTime/index.js +1 -0
  40. package/es/v1/DropBox/DropBox.js +91 -0
  41. package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +132 -0
  42. package/es/v1/DropDown/DropDown.js +73 -0
  43. package/es/v1/DropDown/DropDownHeading.js +44 -0
  44. package/es/v1/DropDown/DropDownItem.js +76 -0
  45. package/es/v1/DropDown/DropDownSearch.js +63 -0
  46. package/es/v1/DropDown/DropDownSeparator.js +15 -0
  47. package/es/v1/Heading/Heading.js +32 -0
  48. package/es/v1/Label/Label.js +40 -0
  49. package/es/v1/Layout/Box.js +115 -0
  50. package/es/v1/Layout/Container.js +132 -0
  51. package/es/v1/Layout/index.js +2 -0
  52. package/es/v1/ListItem/ListContainer.js +102 -0
  53. package/es/v1/ListItem/ListItem.js +124 -0
  54. package/es/v1/ListItem/ListItemWithAvatar.js +145 -0
  55. package/es/v1/ListItem/ListItemWithCheckBox.js +104 -0
  56. package/es/v1/ListItem/ListItemWithIcon.js +127 -0
  57. package/es/v1/ListItem/ListItemWithRadio.js +105 -0
  58. package/es/v1/ListItem/index.js +6 -0
  59. package/es/v1/Modal/Modal.js +154 -0
  60. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1079 -0
  61. package/es/v1/MultiSelect/AdvancedMultiSelect.js +568 -0
  62. package/es/v1/MultiSelect/EmptyState.js +64 -0
  63. package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +50 -0
  64. package/es/v1/MultiSelect/MultiSelect.js +1120 -0
  65. package/es/v1/MultiSelect/MultiSelectHeader.js +32 -0
  66. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +216 -0
  67. package/es/v1/MultiSelect/SelectedOptions.js +82 -0
  68. package/es/v1/MultiSelect/Suggestions.js +142 -0
  69. package/es/v1/MultiSelect/index.js +4 -0
  70. package/es/v1/PopOver/PopOver.js +211 -0
  71. package/es/v1/Popup/Popup.js +645 -0
  72. package/es/v1/Radio/Radio.js +115 -0
  73. package/es/v1/Responsive/CustomResponsive.js +195 -0
  74. package/es/v1/Responsive/RefWrapper.js +39 -0
  75. package/es/v1/Responsive/ResizeComponent.js +197 -0
  76. package/es/v1/Responsive/ResizeObserver.js +140 -0
  77. package/es/v1/Responsive/Responsive.js +194 -0
  78. package/es/v1/Responsive/index.js +9 -0
  79. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +58 -0
  80. package/es/v1/Ribbon/Ribbon.js +33 -0
  81. package/es/v1/RippleEffect/RippleEffect.js +24 -0
  82. package/es/v1/Select/GroupSelect.js +803 -0
  83. package/es/v1/Select/Select.js +969 -0
  84. package/es/v1/Select/SelectWithAvatar.js +344 -0
  85. package/es/v1/Select/SelectWithIcon.js +535 -0
  86. package/es/v1/Select/index.js +4 -0
  87. package/es/v1/Stencils/Stencils.js +26 -0
  88. package/es/v1/Switch/Switch.js +94 -0
  89. package/es/v1/Tab/Tab.js +108 -0
  90. package/es/v1/Tab/TabContent.js +30 -0
  91. package/es/v1/Tab/TabContentWrapper.js +29 -0
  92. package/es/v1/Tab/TabWrapper.js +57 -0
  93. package/es/v1/Tab/Tabs.js +612 -0
  94. package/es/v1/Tab/index.js +5 -0
  95. package/es/v1/Tag/Tag.js +134 -0
  96. package/es/v1/TextBox/TextBox.js +154 -0
  97. package/es/v1/TextBoxIcon/TextBoxIcon.js +158 -0
  98. package/es/v1/Textarea/Textarea.js +102 -0
  99. package/es/v1/Tooltip/Tooltip.js +518 -0
  100. package/es/v1/Typography/Typography.js +38 -0
  101. package/es/v1/Typography/css/Typography.module.css +376 -0
  102. package/es/v1/Typography/css/cssJSLogic.js +46 -0
  103. package/es/v1/Typography/css/letterSpacingMap.js +12 -0
  104. package/es/v1/Typography/props/defaultProps.js +8 -0
  105. package/es/v1/Typography/props/propTypes.js +24 -0
  106. package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +69 -0
  107. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +100 -0
  108. package/es/v1/semantic/Button/Button.js +53 -0
  109. package/es/v1/semantic/index.js +1 -0
  110. package/lib/AppContainer/AppContainer.js +5 -0
  111. package/lib/v1/Accordion/Accordion.js +96 -0
  112. package/lib/v1/Accordion/AccordionItem.js +68 -0
  113. package/lib/v1/Accordion/index.js +23 -0
  114. package/lib/v1/Animation/Animation.js +143 -0
  115. package/lib/v1/AppContainer/AppContainer.js +209 -0
  116. package/lib/v1/Avatar/Avatar.js +246 -0
  117. package/lib/v1/AvatarTeam/AvatarTeam.js +81 -0
  118. package/lib/v1/Button/Button.js +82 -0
  119. package/lib/v1/Buttongroup/Buttongroup.js +44 -0
  120. package/lib/v1/Card/Card.js +365 -0
  121. package/lib/v1/CheckBox/CheckBox.js +166 -0
  122. package/lib/v1/DateTime/CalendarView.js +285 -0
  123. package/lib/v1/DateTime/DateTime.js +872 -0
  124. package/lib/v1/DateTime/DateTimePopupFooter.js +96 -0
  125. package/lib/v1/DateTime/DateTimePopupHeader.js +166 -0
  126. package/lib/v1/DateTime/DateWidget.js +1125 -0
  127. package/lib/v1/DateTime/DaysRow.js +80 -0
  128. package/lib/v1/DateTime/Time.js +254 -0
  129. package/lib/v1/DateTime/YearView.js +325 -0
  130. package/lib/v1/DateTime/index.js +15 -0
  131. package/lib/v1/DropBox/DropBox.js +119 -0
  132. package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +145 -0
  133. package/lib/v1/DropDown/DropDown.js +170 -0
  134. package/lib/v1/DropDown/DropDownHeading.js +93 -0
  135. package/lib/v1/DropDown/DropDownItem.js +127 -0
  136. package/lib/v1/DropDown/DropDownSearch.js +113 -0
  137. package/lib/v1/DropDown/DropDownSeparator.js +64 -0
  138. package/lib/v1/Heading/Heading.js +49 -0
  139. package/lib/v1/Label/Label.js +51 -0
  140. package/lib/v1/Layout/Box.js +128 -0
  141. package/lib/v1/Layout/Container.js +145 -0
  142. package/lib/v1/Layout/index.js +23 -0
  143. package/lib/v1/ListItem/ListContainer.js +120 -0
  144. package/lib/v1/ListItem/ListItem.js +138 -0
  145. package/lib/v1/ListItem/ListItemWithAvatar.js +162 -0
  146. package/lib/v1/ListItem/ListItemWithCheckBox.js +125 -0
  147. package/lib/v1/ListItem/ListItemWithIcon.js +143 -0
  148. package/lib/v1/ListItem/ListItemWithRadio.js +126 -0
  149. package/lib/v1/ListItem/index.js +55 -0
  150. package/lib/v1/Modal/Modal.js +212 -0
  151. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1167 -0
  152. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +634 -0
  153. package/lib/v1/MultiSelect/EmptyState.js +112 -0
  154. package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +62 -0
  155. package/lib/v1/MultiSelect/MultiSelect.js +1201 -0
  156. package/lib/v1/MultiSelect/MultiSelectHeader.js +78 -0
  157. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +270 -0
  158. package/lib/v1/MultiSelect/SelectedOptions.js +126 -0
  159. package/lib/v1/MultiSelect/Suggestions.js +195 -0
  160. package/lib/v1/MultiSelect/index.js +39 -0
  161. package/lib/v1/PopOver/PopOver.js +293 -0
  162. package/lib/v1/Popup/Popup.js +715 -0
  163. package/lib/v1/Radio/Radio.js +126 -0
  164. package/lib/v1/Responsive/CustomResponsive.js +242 -0
  165. package/lib/v1/Responsive/RefWrapper.js +57 -0
  166. package/lib/v1/Responsive/ResizeComponent.js +268 -0
  167. package/lib/v1/Responsive/ResizeObserver.js +168 -0
  168. package/lib/v1/Responsive/Responsive.js +274 -0
  169. package/lib/v1/Responsive/index.js +55 -0
  170. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +79 -0
  171. package/lib/v1/Ribbon/Ribbon.js +44 -0
  172. package/lib/v1/RippleEffect/RippleEffect.js +39 -0
  173. package/lib/v1/Select/GroupSelect.js +877 -0
  174. package/lib/v1/Select/Select.js +1013 -0
  175. package/lib/v1/Select/SelectWithAvatar.js +394 -0
  176. package/lib/v1/Select/SelectWithIcon.js +597 -0
  177. package/lib/v1/Select/index.js +39 -0
  178. package/lib/v1/Stencils/Stencils.js +43 -0
  179. package/lib/v1/Switch/Switch.js +108 -0
  180. package/lib/v1/Tab/Tab.js +132 -0
  181. package/lib/v1/Tab/TabContent.js +42 -0
  182. package/lib/v1/Tab/TabContentWrapper.js +42 -0
  183. package/lib/v1/Tab/TabWrapper.js +89 -0
  184. package/lib/v1/Tab/Tabs.js +680 -0
  185. package/lib/v1/Tab/index.js +47 -0
  186. package/lib/v1/Tag/Tag.js +154 -0
  187. package/lib/v1/TextBox/TextBox.js +168 -0
  188. package/lib/v1/TextBoxIcon/TextBoxIcon.js +196 -0
  189. package/lib/v1/Textarea/Textarea.js +118 -0
  190. package/lib/v1/Tooltip/Tooltip.js +586 -0
  191. package/lib/v1/Typography/Typography.js +56 -0
  192. package/lib/v1/Typography/css/Typography.module.css +376 -0
  193. package/lib/v1/Typography/css/cssJSLogic.js +41 -0
  194. package/lib/v1/Typography/css/letterSpacingMap.js +20 -0
  195. package/lib/v1/Typography/props/defaultProps.js +15 -0
  196. package/lib/v1/Typography/props/propTypes.js +35 -0
  197. package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +90 -0
  198. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +126 -0
  199. package/lib/v1/semantic/Button/Button.js +63 -0
  200. package/lib/v1/semantic/index.js +15 -0
  201. package/package.json +1 -1
  202. 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,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = cssJSLogic;
7
+
8
+ var _utils = require("@zohodesk/utils");
9
+
10
+ var _letterSpacingMap = require("./letterSpacingMap");
11
+
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
+
14
+ function cssJSLogic(_ref) {
15
+ var _compileClassNames;
16
+
17
+ var props = _ref.props,
18
+ style = _ref.style;
19
+ var $ui_isReset = props.$ui_isReset,
20
+ $ui_isDotted = props.$ui_isDotted,
21
+ $ui_size = props.$ui_size,
22
+ $ui_lineClamp = props.$ui_lineClamp,
23
+ $ui_lineHeight = props.$ui_lineHeight,
24
+ $ui_display = props.$ui_display,
25
+ $ui_variant = props.$ui_variant,
26
+ $ui_typeFace = props.$ui_typeFace,
27
+ $ui_textAlign = props.$ui_textAlign,
28
+ $ui_letterSpacing = props.$ui_letterSpacing,
29
+ $ui_transform = props.$ui_transform,
30
+ $ui_decoration = props.$ui_decoration,
31
+ $ui_className = props.$ui_className;
32
+
33
+ if ($ui_letterSpacing && $ui_letterSpacing.match(/\./g)) {
34
+ $ui_letterSpacing = _letterSpacingMap.letterspacingMapping[$ui_letterSpacing];
35
+ }
36
+
37
+ var typographyClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.reset, $ui_isReset), _defineProperty(_compileClassNames, style.dotted, $ui_isDotted), _defineProperty(_compileClassNames, style["size".concat($ui_size)], !!$ui_size), _defineProperty(_compileClassNames, style["lineclamp_".concat($ui_lineClamp)], !!$ui_lineClamp), _defineProperty(_compileClassNames, style["lineheight_".concat($ui_lineHeight)], !!$ui_lineHeight), _defineProperty(_compileClassNames, style["display_".concat($ui_display)], !!$ui_display), _defineProperty(_compileClassNames, style["font_".concat($ui_variant)], !!$ui_variant), _defineProperty(_compileClassNames, style["fontStyles_".concat($ui_typeFace)], !!$ui_typeFace), _defineProperty(_compileClassNames, style["textalign_".concat($ui_textAlign)], !!$ui_textAlign), _defineProperty(_compileClassNames, style["letterspacing_".concat($ui_letterSpacing)], !!$ui_letterSpacing), _defineProperty(_compileClassNames, style["transform_".concat($ui_transform)], !!$ui_transform), _defineProperty(_compileClassNames, style["decoration_".concat($ui_decoration)], !!$ui_decoration), _defineProperty(_compileClassNames, $ui_className, !!$ui_className), _compileClassNames));
38
+ return {
39
+ typographyClass: typographyClass
40
+ };
41
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.letterspacingMapping = void 0;
7
+
8
+ /* eslint-disable */
9
+ var letterspacingMapping = {
10
+ '0.1': '01',
11
+ '0.2': '02',
12
+ '0.3': '03',
13
+ '0.4': '04',
14
+ '0.5': '05',
15
+ '0.6': '06',
16
+ '0.7': '07',
17
+ '0.8': '08',
18
+ '0.9': '09'
19
+ };
20
+ exports.letterspacingMapping = letterspacingMapping;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.defaultProps = void 0;
7
+ var defaultProps = {
8
+ $ui_className: '',
9
+ $ui_tagName: 'div',
10
+ $ui_isReset: false,
11
+ $ui_isDotted: false,
12
+ a11yAttributes: {},
13
+ tagAttributes: {}
14
+ };
15
+ exports.defaultProps = defaultProps;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.propTypes = void 0;
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ var propTypes = {
13
+ children: _propTypes["default"].node,
14
+ $ui_className: _propTypes["default"].string,
15
+ $ui_tagName: _propTypes["default"].string,
16
+ $ui_isReset: _propTypes["default"].bool,
17
+ $ui_isDotted: _propTypes["default"].bool,
18
+ $ui_display: _propTypes["default"].oneOf(['block', 'inlineBlock', 'inline', 'initial']),
19
+ $ui_variant: _propTypes["default"].oneOf(['regular', 'light', 'semibold', 'bold']),
20
+ $ui_textAlign: _propTypes["default"].oneOf(['left', 'right', 'center', 'justify']),
21
+ $ui_transform: _propTypes["default"].oneOf(['default', 'upper', 'lower', 'capital']),
22
+ $ui_lineClamp: _propTypes["default"].oneOf(['1', '2', '3', '4', '5']),
23
+ $ui_typeFace: _propTypes["default"].oneOf(['normal', 'italic']),
24
+ $ui_decoration: _propTypes["default"].oneOf(['default', 'underline', 'strike', 'overline']),
25
+ $ui_size: _propTypes["default"].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']),
26
+ $ui_lineHeight: _propTypes["default"].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']),
27
+ $ui_letterSpacing: _propTypes["default"].oneOf(['0.1', '0.2', '0.3', '0.4', '0.5', '0.6', '0.7', '0.8', '0.9', '1', '2', '4', 'inherit']),
28
+ $i18n_dataTitle: _propTypes["default"].string,
29
+ testId: _propTypes["default"].string,
30
+ customId: _propTypes["default"].string,
31
+ customStyle: _propTypes["default"].object,
32
+ a11yAttributes: _propTypes["default"].object,
33
+ tagAttributes: _propTypes["default"].object
34
+ };
35
+ exports.propTypes = propTypes;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = VelocityAnimation;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _defaultProps = require("../../../VelocityAnimation/VelocityAnimation/props/defaultProps");
13
+
14
+ var _propTypes = require("../../../VelocityAnimation/VelocityAnimation/props/propTypes");
15
+
16
+ var _velocityReact = require("velocity-react");
17
+
18
+ require("velocity-animate/velocity.ui");
19
+
20
+ var _LibraryContextInit = _interopRequireDefault(require("../../../Provider/LibraryContextInit"));
21
+
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
+
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
+
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
+
28
+ function VelocityAnimation(props) {
29
+ var children = props.children,
30
+ name = props.name,
31
+ duration = props.duration,
32
+ isActive = props.isActive,
33
+ runOnMount = props.runOnMount,
34
+ delay = props.delay,
35
+ isCustomized = props.isCustomized,
36
+ needUIPack = props.needUIPack,
37
+ isFlex = props.isFlex;
38
+
39
+ var _ref = (0, _react.useContext)(_LibraryContextInit["default"]) || {},
40
+ direction = _ref.direction,
41
+ isReducedMotion = _ref.isReducedMotion;
42
+
43
+ var enterAnimationObj = {
44
+ fade: 'transition.fadeIn',
45
+ slideDown: 'slideDown',
46
+ flyDown: {
47
+ translateY: '0%'
48
+ },
49
+ slideRight: {
50
+ translateX: '0%'
51
+ },
52
+ slideLeft: {
53
+ translateX: '0%'
54
+ },
55
+ shrink: 'transition.shrinkIn',
56
+ expand: 'transition.expandIn'
57
+ };
58
+ var exitAnimationObj = {
59
+ fade: 'transition.fadeOut',
60
+ slideDown: 'slideUp',
61
+ flyDown: {
62
+ translateY: '-100%'
63
+ },
64
+ slideRight: {
65
+ translateX: direction == 'rtl' ? '-100%' : '100%'
66
+ },
67
+ slideLeft: {
68
+ translateX: direction == 'rtl' ? '100%' : '-100%'
69
+ },
70
+ shrink: 'transition.shrinkOut',
71
+ expand: 'transition.expandOut'
72
+ };
73
+ var animation = isCustomized ? isActive ? enterAnimationObj[name] : exitAnimationObj[name] : needUIPack ? "transition.".concat(name).concat(isActive ? 'In' : 'Out') : name;
74
+ return /*#__PURE__*/_react["default"].createElement(_velocityReact.VelocityComponent, {
75
+ key: name,
76
+ animation: animation,
77
+ duration: !isReducedMotion ? duration : 0,
78
+ runOnMount: runOnMount,
79
+ display: isActive ? isFlex ? 'flex' : '' : 'none',
80
+ delay: delay,
81
+ interruptBehavior: "queue"
82
+ }, children);
83
+ }
84
+
85
+ VelocityAnimation.defaultProps = _defaultProps.defaultProps;
86
+ VelocityAnimation.propTypes = _propTypes.propTypes; // if (__DOCS__) {
87
+ // VelocityAnimation.docs = {
88
+ // componentGroup: 'Animation'
89
+ // };
90
+ // }