@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.
- package/README.md +8 -0
- package/coverage/Button/Button.js.html +1 -1
- package/coverage/Button/css/Button.module.css.html +1 -1
- package/coverage/Button/css/cssJSLogic.js.html +1 -1
- package/coverage/Button/css/index.html +1 -1
- package/coverage/Button/index.html +1 -1
- package/coverage/Button/props/defaultProps.js.html +1 -1
- package/coverage/Button/props/index.html +1 -1
- package/coverage/Button/props/propTypes.js.html +1 -1
- package/coverage/Buttongroup/Buttongroup.js.html +1 -1
- package/coverage/Buttongroup/Buttongroup.module.css.html +1 -1
- package/coverage/Buttongroup/index.html +1 -1
- package/coverage/Buttongroup/props/defaultProps.js.html +1 -1
- package/coverage/Buttongroup/props/index.html +1 -1
- package/coverage/Buttongroup/props/propTypes.js.html +1 -1
- package/coverage/index.html +1 -1
- package/coverage/utils/dummyFunction.js.html +1 -1
- package/coverage/utils/index.html +1 -1
- package/es/AppContainer/AppContainer.js +3 -0
- package/es/v1/Accordion/Accordion.js +65 -0
- package/es/v1/Accordion/AccordionItem.js +57 -0
- package/es/v1/Accordion/index.js +2 -0
- package/es/v1/Animation/Animation.js +127 -0
- package/es/v1/AppContainer/AppContainer.js +137 -0
- package/es/v1/Avatar/Avatar.js +189 -0
- package/es/v1/AvatarTeam/AvatarTeam.js +70 -0
- package/es/v1/Button/Button.js +68 -0
- package/es/v1/Buttongroup/Buttongroup.js +31 -0
- package/es/v1/Card/Card.js +271 -0
- package/es/v1/CheckBox/CheckBox.js +155 -0
- package/es/v1/DateTime/CalendarView.js +218 -0
- package/es/v1/DateTime/DateTime.js +783 -0
- package/es/v1/DateTime/DateTimePopupFooter.js +47 -0
- package/es/v1/DateTime/DateTimePopupHeader.js +105 -0
- package/es/v1/DateTime/DateWidget.js +1098 -0
- package/es/v1/DateTime/DaysRow.js +31 -0
- package/es/v1/DateTime/Time.js +166 -0
- package/es/v1/DateTime/YearView.js +264 -0
- package/es/v1/DateTime/index.js +1 -0
- package/es/v1/DropBox/DropBox.js +91 -0
- package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +132 -0
- package/es/v1/DropDown/DropDown.js +73 -0
- package/es/v1/DropDown/DropDownHeading.js +44 -0
- package/es/v1/DropDown/DropDownItem.js +76 -0
- package/es/v1/DropDown/DropDownSearch.js +63 -0
- package/es/v1/DropDown/DropDownSeparator.js +15 -0
- package/es/v1/Heading/Heading.js +32 -0
- package/es/v1/Label/Label.js +40 -0
- package/es/v1/Layout/Box.js +115 -0
- package/es/v1/Layout/Container.js +132 -0
- package/es/v1/Layout/index.js +2 -0
- package/es/v1/ListItem/ListContainer.js +102 -0
- package/es/v1/ListItem/ListItem.js +124 -0
- package/es/v1/ListItem/ListItemWithAvatar.js +145 -0
- package/es/v1/ListItem/ListItemWithCheckBox.js +104 -0
- package/es/v1/ListItem/ListItemWithIcon.js +127 -0
- package/es/v1/ListItem/ListItemWithRadio.js +105 -0
- package/es/v1/ListItem/index.js +6 -0
- package/es/v1/Modal/Modal.js +154 -0
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1079 -0
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +568 -0
- package/es/v1/MultiSelect/EmptyState.js +64 -0
- package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +50 -0
- package/es/v1/MultiSelect/MultiSelect.js +1120 -0
- package/es/v1/MultiSelect/MultiSelectHeader.js +32 -0
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +216 -0
- package/es/v1/MultiSelect/SelectedOptions.js +82 -0
- package/es/v1/MultiSelect/Suggestions.js +142 -0
- package/es/v1/MultiSelect/index.js +4 -0
- package/es/v1/PopOver/PopOver.js +211 -0
- package/es/v1/Popup/Popup.js +645 -0
- package/es/v1/Radio/Radio.js +115 -0
- package/es/v1/Responsive/CustomResponsive.js +195 -0
- package/es/v1/Responsive/RefWrapper.js +39 -0
- package/es/v1/Responsive/ResizeComponent.js +197 -0
- package/es/v1/Responsive/ResizeObserver.js +140 -0
- package/es/v1/Responsive/Responsive.js +194 -0
- package/es/v1/Responsive/index.js +9 -0
- package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +58 -0
- package/es/v1/Ribbon/Ribbon.js +33 -0
- package/es/v1/RippleEffect/RippleEffect.js +24 -0
- package/es/v1/Select/GroupSelect.js +803 -0
- package/es/v1/Select/Select.js +969 -0
- package/es/v1/Select/SelectWithAvatar.js +344 -0
- package/es/v1/Select/SelectWithIcon.js +535 -0
- package/es/v1/Select/index.js +4 -0
- package/es/v1/Stencils/Stencils.js +26 -0
- package/es/v1/Switch/Switch.js +94 -0
- package/es/v1/Tab/Tab.js +108 -0
- package/es/v1/Tab/TabContent.js +30 -0
- package/es/v1/Tab/TabContentWrapper.js +29 -0
- package/es/v1/Tab/TabWrapper.js +57 -0
- package/es/v1/Tab/Tabs.js +612 -0
- package/es/v1/Tab/index.js +5 -0
- package/es/v1/Tag/Tag.js +134 -0
- package/es/v1/TextBox/TextBox.js +154 -0
- package/es/v1/TextBoxIcon/TextBoxIcon.js +158 -0
- package/es/v1/Textarea/Textarea.js +102 -0
- package/es/v1/Tooltip/Tooltip.js +518 -0
- package/es/v1/Typography/Typography.js +38 -0
- package/es/v1/Typography/css/Typography.module.css +376 -0
- package/es/v1/Typography/css/cssJSLogic.js +46 -0
- package/es/v1/Typography/css/letterSpacingMap.js +12 -0
- package/es/v1/Typography/props/defaultProps.js +8 -0
- package/es/v1/Typography/props/propTypes.js +24 -0
- package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +69 -0
- package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +100 -0
- package/es/v1/semantic/Button/Button.js +53 -0
- package/es/v1/semantic/index.js +1 -0
- package/lib/AppContainer/AppContainer.js +5 -0
- package/lib/v1/Accordion/Accordion.js +96 -0
- package/lib/v1/Accordion/AccordionItem.js +68 -0
- package/lib/v1/Accordion/index.js +23 -0
- package/lib/v1/Animation/Animation.js +143 -0
- package/lib/v1/AppContainer/AppContainer.js +209 -0
- package/lib/v1/Avatar/Avatar.js +246 -0
- package/lib/v1/AvatarTeam/AvatarTeam.js +81 -0
- package/lib/v1/Button/Button.js +82 -0
- package/lib/v1/Buttongroup/Buttongroup.js +44 -0
- package/lib/v1/Card/Card.js +365 -0
- package/lib/v1/CheckBox/CheckBox.js +166 -0
- package/lib/v1/DateTime/CalendarView.js +285 -0
- package/lib/v1/DateTime/DateTime.js +872 -0
- package/lib/v1/DateTime/DateTimePopupFooter.js +96 -0
- package/lib/v1/DateTime/DateTimePopupHeader.js +166 -0
- package/lib/v1/DateTime/DateWidget.js +1125 -0
- package/lib/v1/DateTime/DaysRow.js +80 -0
- package/lib/v1/DateTime/Time.js +254 -0
- package/lib/v1/DateTime/YearView.js +325 -0
- package/lib/v1/DateTime/index.js +15 -0
- package/lib/v1/DropBox/DropBox.js +119 -0
- package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +145 -0
- package/lib/v1/DropDown/DropDown.js +170 -0
- package/lib/v1/DropDown/DropDownHeading.js +93 -0
- package/lib/v1/DropDown/DropDownItem.js +127 -0
- package/lib/v1/DropDown/DropDownSearch.js +113 -0
- package/lib/v1/DropDown/DropDownSeparator.js +64 -0
- package/lib/v1/Heading/Heading.js +49 -0
- package/lib/v1/Label/Label.js +51 -0
- package/lib/v1/Layout/Box.js +128 -0
- package/lib/v1/Layout/Container.js +145 -0
- package/lib/v1/Layout/index.js +23 -0
- package/lib/v1/ListItem/ListContainer.js +120 -0
- package/lib/v1/ListItem/ListItem.js +138 -0
- package/lib/v1/ListItem/ListItemWithAvatar.js +162 -0
- package/lib/v1/ListItem/ListItemWithCheckBox.js +125 -0
- package/lib/v1/ListItem/ListItemWithIcon.js +143 -0
- package/lib/v1/ListItem/ListItemWithRadio.js +126 -0
- package/lib/v1/ListItem/index.js +55 -0
- package/lib/v1/Modal/Modal.js +212 -0
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1167 -0
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +634 -0
- package/lib/v1/MultiSelect/EmptyState.js +112 -0
- package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +62 -0
- package/lib/v1/MultiSelect/MultiSelect.js +1201 -0
- package/lib/v1/MultiSelect/MultiSelectHeader.js +78 -0
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +270 -0
- package/lib/v1/MultiSelect/SelectedOptions.js +126 -0
- package/lib/v1/MultiSelect/Suggestions.js +195 -0
- package/lib/v1/MultiSelect/index.js +39 -0
- package/lib/v1/PopOver/PopOver.js +293 -0
- package/lib/v1/Popup/Popup.js +715 -0
- package/lib/v1/Radio/Radio.js +126 -0
- package/lib/v1/Responsive/CustomResponsive.js +242 -0
- package/lib/v1/Responsive/RefWrapper.js +57 -0
- package/lib/v1/Responsive/ResizeComponent.js +268 -0
- package/lib/v1/Responsive/ResizeObserver.js +168 -0
- package/lib/v1/Responsive/Responsive.js +274 -0
- package/lib/v1/Responsive/index.js +55 -0
- package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +79 -0
- package/lib/v1/Ribbon/Ribbon.js +44 -0
- package/lib/v1/RippleEffect/RippleEffect.js +39 -0
- package/lib/v1/Select/GroupSelect.js +877 -0
- package/lib/v1/Select/Select.js +1013 -0
- package/lib/v1/Select/SelectWithAvatar.js +394 -0
- package/lib/v1/Select/SelectWithIcon.js +597 -0
- package/lib/v1/Select/index.js +39 -0
- package/lib/v1/Stencils/Stencils.js +43 -0
- package/lib/v1/Switch/Switch.js +108 -0
- package/lib/v1/Tab/Tab.js +132 -0
- package/lib/v1/Tab/TabContent.js +42 -0
- package/lib/v1/Tab/TabContentWrapper.js +42 -0
- package/lib/v1/Tab/TabWrapper.js +89 -0
- package/lib/v1/Tab/Tabs.js +680 -0
- package/lib/v1/Tab/index.js +47 -0
- package/lib/v1/Tag/Tag.js +154 -0
- package/lib/v1/TextBox/TextBox.js +168 -0
- package/lib/v1/TextBoxIcon/TextBoxIcon.js +196 -0
- package/lib/v1/Textarea/Textarea.js +118 -0
- package/lib/v1/Tooltip/Tooltip.js +586 -0
- package/lib/v1/Typography/Typography.js +56 -0
- package/lib/v1/Typography/css/Typography.module.css +376 -0
- package/lib/v1/Typography/css/cssJSLogic.js +41 -0
- package/lib/v1/Typography/css/letterSpacingMap.js +20 -0
- package/lib/v1/Typography/props/defaultProps.js +15 -0
- package/lib/v1/Typography/props/propTypes.js +35 -0
- package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +90 -0
- package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +126 -0
- package/lib/v1/semantic/Button/Button.js +63 -0
- package/lib/v1/semantic/index.js +15 -0
- package/package.json +1 -1
- 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
|
+
// }
|