@zohodesk/components 1.0.0-temp-666 → 1.0.0-temp-667

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 (261) hide show
  1. package/README.md +3 -0
  2. package/es/AppContainer/AppContainer.js +1 -1
  3. package/es/Avatar/Avatar.js +1 -1
  4. package/es/Avatar/Avatar.module.css +11 -9
  5. package/es/AvatarTeam/AvatarTeam.js +1 -1
  6. package/es/AvatarTeam/AvatarTeam.module.css +21 -7
  7. package/es/Button/Button.module.css +97 -24
  8. package/es/Buttongroup/Buttongroup.module.css +37 -8
  9. package/es/CheckBox/CheckBox.js +1 -1
  10. package/es/CheckBox/CheckBox.module.css +29 -19
  11. package/es/DateTime/DateTime.module.css +39 -12
  12. package/es/DateTime/DateWidget.module.css +9 -5
  13. package/es/DateTime/YearView.module.css +17 -7
  14. package/es/DropBox/DropBox.js +1 -1
  15. package/es/DropBox/DropBox.module.css +47 -11
  16. package/es/DropDown/DropDownHeading.module.css +7 -3
  17. package/es/DropDown/DropDownItem.module.css +32 -6
  18. package/es/ListItem/ListContainer.js +1 -1
  19. package/es/ListItem/ListItem.js +1 -1
  20. package/es/ListItem/ListItem.module.css +69 -33
  21. package/es/ListItem/ListItemWithAvatar.js +1 -1
  22. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  23. package/es/ListItem/ListItemWithIcon.js +1 -1
  24. package/es/ListItem/ListItemWithRadio.js +1 -1
  25. package/es/Modal/Modal.js +1 -1
  26. package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
  27. package/es/MultiSelect/MultiSelect.module.css +28 -11
  28. package/es/MultiSelect/SelectedOptions.js +1 -1
  29. package/es/MultiSelect/SelectedOptions.module.css +8 -2
  30. package/es/MultiSelect/Suggestions.js +1 -1
  31. package/es/PopOver/PopOver.module.css +1 -1
  32. package/es/Popup/Popup.js +1 -1
  33. package/es/Radio/Radio.module.css +18 -10
  34. package/es/Responsive/ResizeComponent.js +15 -82
  35. package/es/Responsive/ResizeObserver.js +2 -6
  36. package/es/Responsive/docs/style.module.css +17 -8
  37. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  38. package/es/Ribbon/Ribbon.module.css +93 -28
  39. package/es/RippleEffect/RippleEffect.module.css +37 -44
  40. package/es/Select/Select.js +30 -8
  41. package/es/Select/Select.module.css +12 -2
  42. package/es/Select/docs/Select__default.docs.js +1 -1
  43. package/es/Stencils/Stencils.module.css +21 -3
  44. package/es/Switch/Switch.js +1 -1
  45. package/es/Switch/Switch.module.css +9 -9
  46. package/es/Tab/Tab.js +1 -1
  47. package/es/Tab/Tab.module.css +16 -7
  48. package/es/Tab/TabWrapper.js +1 -1
  49. package/es/Tab/Tabs.js +1 -1
  50. package/es/Tab/Tabs.module.css +42 -8
  51. package/es/Tab/docs/tabdocs.module.css +1 -1
  52. package/es/Tag/Tag.module.css +36 -14
  53. package/es/TextBox/TextBox.js +1 -1
  54. package/es/TextBox/TextBox.module.css +7 -11
  55. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  56. package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
  57. package/es/Textarea/Textarea.js +1 -1
  58. package/es/Textarea/Textarea.module.css +6 -7
  59. package/es/Tooltip/Tooltip.module.css +9 -8
  60. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  61. package/es/beta/FocusRing/FocusRing.module.css +51 -26
  62. package/es/common/animation.module.css +219 -21
  63. package/es/common/basicReset.module.css +2 -12
  64. package/es/common/common.module.css +62 -18
  65. package/es/common/customscroll.module.css +17 -21
  66. package/es/common/docStyle.module.css +79 -32
  67. package/es/common/transition.module.css +50 -10
  68. package/es/deprecated/AdvancedMultiSelect.module.css +22 -8
  69. package/es/semantic/Button/semanticButton.module.css +3 -3
  70. package/lib/Accordion/Accordion.js +2 -2
  71. package/lib/Accordion/AccordionItem.js +2 -2
  72. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  73. package/lib/Animation/Animation.js +2 -2
  74. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  75. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  76. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  77. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  78. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  79. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  80. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  81. package/lib/AppContainer/AppContainer.js +11 -4
  82. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  83. package/lib/Avatar/Avatar.js +3 -3
  84. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  85. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  86. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  87. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  88. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  89. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  90. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  91. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  92. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  93. package/lib/Button/Button.js +2 -2
  94. package/lib/Button/docs/Button__custom.docs.js +2 -2
  95. package/lib/Button/docs/Button__default.docs.js +2 -2
  96. package/lib/Buttongroup/Buttongroup.js +2 -2
  97. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  98. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  99. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  100. package/lib/Card/Card.js +2 -2
  101. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  102. package/lib/Card/docs/Card__Default.docs.js +2 -2
  103. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  104. package/lib/CheckBox/CheckBox.js +5 -4
  105. package/lib/CheckBox/CheckBox.module.css +12 -8
  106. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  107. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  108. package/lib/DateTime/CalendarView.js +2 -2
  109. package/lib/DateTime/DateTime.js +50 -22
  110. package/lib/DateTime/DateTime.module.css +1 -1
  111. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  112. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  113. package/lib/DateTime/DateWidget.js +14 -4
  114. package/lib/DateTime/DateWidget.module.css +0 -4
  115. package/lib/DateTime/DaysRow.js +2 -2
  116. package/lib/DateTime/Time.js +2 -2
  117. package/lib/DateTime/YearView.js +2 -2
  118. package/lib/DateTime/YearView.module.css +1 -0
  119. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  120. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  121. package/lib/DropBox/DropBox.js +4 -4
  122. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  123. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  124. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  125. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  126. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  127. package/lib/DropDown/DropDown.js +2 -2
  128. package/lib/DropDown/DropDownHeading.js +2 -2
  129. package/lib/DropDown/DropDownItem.js +2 -2
  130. package/lib/DropDown/DropDownSearch.js +2 -2
  131. package/lib/DropDown/DropDownSeparator.js +2 -2
  132. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  133. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  134. package/lib/Label/Label.js +2 -2
  135. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  136. package/lib/Label/docs/Label__custom.docs.js +2 -2
  137. package/lib/Label/docs/Label__palette.docs.js +2 -2
  138. package/lib/Label/docs/Label__size.docs.js +2 -2
  139. package/lib/Label/docs/Label__type.docs.js +2 -2
  140. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  141. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  142. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  143. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  144. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  145. package/lib/LightNightMode/Colors.json +496 -397
  146. package/lib/LightNightMode/docs/AlternativeColors.docs.js +25 -3
  147. package/lib/ListItem/ListContainer.js +8 -5
  148. package/lib/ListItem/ListItem.js +4 -4
  149. package/lib/ListItem/ListItem.module.css +18 -19
  150. package/lib/ListItem/ListItemWithAvatar.js +4 -4
  151. package/lib/ListItem/ListItemWithCheckBox.js +4 -4
  152. package/lib/ListItem/ListItemWithIcon.js +4 -4
  153. package/lib/ListItem/ListItemWithRadio.js +4 -4
  154. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  155. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  156. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  157. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  158. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  159. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  160. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  161. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  162. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  163. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  164. package/lib/Modal/Modal.js +3 -3
  165. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  166. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +120 -88
  167. package/lib/MultiSelect/AdvancedMultiSelect.js +99 -62
  168. package/lib/MultiSelect/EmptyState.js +2 -2
  169. package/lib/MultiSelect/MultiSelect.js +90 -64
  170. package/lib/MultiSelect/MultiSelect.module.css +15 -2
  171. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  172. package/lib/MultiSelect/MultiSelectWithAvatar.js +80 -55
  173. package/lib/MultiSelect/SelectedOptions.js +3 -3
  174. package/lib/MultiSelect/Suggestions.js +3 -3
  175. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  176. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  177. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  178. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  179. package/lib/PopOver/PopOver.js +13 -6
  180. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  181. package/lib/Popup/Popup.js +3 -3
  182. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  183. package/lib/Provider/Config.js +3 -1
  184. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  185. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  186. package/lib/Provider.js +34 -100
  187. package/lib/Radio/Radio.js +2 -2
  188. package/lib/Radio/Radio.module.css +8 -6
  189. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  190. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  191. package/lib/Responsive/ResizeComponent.js +2 -2
  192. package/lib/Responsive/Responsive.js +2 -2
  193. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  194. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  195. package/lib/Responsive/sizeObservers.js +3 -3
  196. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
  197. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
  198. package/lib/Ribbon/Ribbon.js +2 -2
  199. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  200. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  201. package/lib/RippleEffect/RippleEffect.module.css +37 -15
  202. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  203. package/lib/Select/GroupSelect.js +102 -79
  204. package/lib/Select/Select.js +142 -87
  205. package/lib/Select/Select.module.css +6 -0
  206. package/lib/Select/SelectWithAvatar.js +98 -73
  207. package/lib/Select/SelectWithIcon.js +99 -76
  208. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  209. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  210. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  211. package/lib/Select/docs/Select__default.docs.js +3 -3
  212. package/lib/Stencils/Stencils.js +2 -2
  213. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  214. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  215. package/lib/Switch/Switch.js +3 -3
  216. package/lib/Switch/Switch.module.css +3 -2
  217. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  218. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  219. package/lib/Tab/Tab.js +1 -1
  220. package/lib/Tab/TabWrapper.js +1 -1
  221. package/lib/Tab/Tabs.js +70 -47
  222. package/lib/Tab/Tabs.module.css +2 -1
  223. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  224. package/lib/Tag/Tag.js +3 -3
  225. package/lib/Tag/Tag.module.css +6 -2
  226. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  227. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  228. package/lib/TextBox/TextBox.js +3 -3
  229. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  230. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  231. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  232. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  233. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  234. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  235. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  236. package/lib/Textarea/Textarea.js +3 -3
  237. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  238. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  239. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  240. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  241. package/lib/Tooltip/Tooltip.js +62 -10
  242. package/lib/Tooltip/Tooltip.module.css +6 -1
  243. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  244. package/lib/Tooltip/docs/Tooltip__default.docs.js +52 -13
  245. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  246. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  247. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  248. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  249. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  250. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  251. package/lib/common/docStyle.module.css +6 -2
  252. package/lib/css.js +0 -2
  253. package/lib/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
  254. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  255. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  256. package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
  257. package/lib/index.js +10 -1
  258. package/lib/semantic/Button/Button.js +2 -2
  259. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  260. package/package.json +3 -3
  261. package/es/MultiSelect/AdvancedMultiSelect.module.css +0 -113
@@ -1,16 +1,33 @@
1
- .modeForward {
1
+ [dir=ltr] .modeForward {
2
2
  animation-fill-mode: forwards;
3
3
  -webkit-animation-fill-mode: forwards;
4
4
  -ms-animation-fill-mode: forwards;
5
5
  -moz-animation-fill-mode: forwards;
6
+ }[dir=rtl] .modeForward {
7
+ animation-fill-mode: forwards;
8
+ -webkit-animation-fill-mode: forwards;
9
+ -ms-animation-fill-mode: forwards;
10
+ -moz-animation-fill-mode: forwards;
11
+ }
12
+ [dir=ltr] .infinite {
13
+ animation-iteration-count: infinite;
14
+ -moz-animation-iteration-count: infinite;
15
+ -webkit-animation-iteration-count: infinite;
16
+ -ms-animation-iteration-count: infinite;
6
17
  }
7
- .infinite {
18
+ [dir=rtl] .infinite {
8
19
  animation-iteration-count: infinite;
9
20
  -moz-animation-iteration-count: infinite;
10
21
  -webkit-animation-iteration-count: infinite;
11
22
  -ms-animation-iteration-count: infinite;
12
23
  }
13
- .both {
24
+ [dir=ltr] .both {
25
+ animation-fill-mode: both;
26
+ -webkit-animation-fill-mode: both;
27
+ -ms-animation-fill-mode: both;
28
+ -moz-animation-fill-mode: both;
29
+ }
30
+ [dir=rtl] .both {
14
31
  animation-fill-mode: both;
15
32
  -webkit-animation-fill-mode: both;
16
33
  -ms-animation-fill-mode: both;
@@ -18,6 +35,14 @@
18
35
  }
19
36
  .fadeIn {
20
37
  opacity: 0;
38
+ }
39
+ [dir=ltr] .fadeIn {
40
+ animation-name: fadeIn;
41
+ -webkit-animation-name: fadeIn;
42
+ -moz-animation-name: fadeIn;
43
+ -ms-animation-name: fadeIn;
44
+ }
45
+ [dir=rtl] .fadeIn {
21
46
  animation-name: fadeIn;
22
47
  -webkit-animation-name: fadeIn;
23
48
  -moz-animation-name: fadeIn;
@@ -41,12 +66,23 @@
41
66
 
42
67
  .slideLeft {
43
68
  opacity: 0;
69
+ }
70
+
71
+ [dir=ltr] .slideLeft {
44
72
  transform: translateX(110%) scale(0);
45
73
  animation-name: slideLeft;
46
74
  -webkit-animation-name: slideLeft;
47
75
  -moz-animation-name: slideLeft;
48
76
  -ms-animation-name: slideLeft;
49
77
  }
78
+
79
+ [dir=rtl] .slideLeft {
80
+ transform: translateX(-110%) scale(0);
81
+ animation-name: slideLeft;
82
+ -webkit-animation-name: slideLeft;
83
+ -moz-animation-name: slideLeft;
84
+ -ms-animation-name: slideLeft;
85
+ }
50
86
  @keyframes slideLeft {
51
87
  100% {
52
88
  opacity: 1;
@@ -69,60 +105,126 @@
69
105
  .slideRight {
70
106
  opacity: 1;
71
107
  transform: translateX(0) scale(1);
72
- animation-name: slideRight;
73
- -webkit-animation-name: slideRight;
74
- -moz-animation-name: slideRight;
75
- -ms-animation-name: slideRight;
76
108
  }
77
- @keyframes slideRight {
109
+
110
+ [dir=ltr] .slideRight {
111
+ animation-name: slideRight-ltr ;
112
+ -webkit-animation-name: slideRight-ltr ;
113
+ -moz-animation-name: slideRight-ltr ;
114
+ -ms-animation-name: slideRight-ltr ;
115
+ }
116
+
117
+ [dir=rtl] .slideRight {
118
+ animation-name: slideRight-rtl ;
119
+ -webkit-animation-name: slideRight-rtl ;
120
+ -moz-animation-name: slideRight-rtl ;
121
+ -ms-animation-name: slideRight-rtl ;
122
+ }
123
+ @keyframes slideRight-ltr {
78
124
  100% {
79
125
  opacity: 0;
80
126
  transform: translateX(110%) scale(0);
81
127
  }
82
128
  }
83
- @-webkit-keyframes slideRight {
129
+ @keyframes slideRight-rtl {
130
+ 100% {
131
+ opacity: 0;
132
+ transform: translateX(-110%) scale(0);
133
+ }
134
+ }
135
+ @-webkit-keyframes slideRight-ltr {
84
136
  100% {
85
137
  opacity: 0;
86
138
  transform: translateX(110%) scale(0);
87
139
  }
88
140
  }
89
- @-moz-keyframes slideRight {
141
+ @-webkit-keyframes slideRight-rtl {
142
+ 100% {
143
+ opacity: 0;
144
+ transform: translateX(-110%) scale(0);
145
+ }
146
+ }
147
+ @-moz-keyframes slideRight-ltr {
90
148
  100% {
91
149
  opacity: 0;
92
150
  transform: translateX(110%) scale(0);
93
151
  }
94
152
  }
153
+ @-moz-keyframes slideRight-rtl {
154
+ 100% {
155
+ opacity: 0;
156
+ transform: translateX(-110%) scale(0);
157
+ }
158
+ }
95
159
 
96
160
  .slideTop {
97
161
  opacity: 1;
98
162
  transform: translateY(0) scale(1);
99
- animation-name: slideTop;
100
- -webkit-animation-name: slideTop;
101
- -moz-animation-name: slideTop;
102
- -ms-animation-name: slideTop;
103
163
  }
104
- @keyframes slideTop {
164
+
165
+ [dir=ltr] .slideTop {
166
+ animation-name: slideTop-ltr ;
167
+ -webkit-animation-name: slideTop-ltr ;
168
+ -moz-animation-name: slideTop-ltr ;
169
+ -ms-animation-name: slideTop-ltr ;
170
+ }
171
+
172
+ [dir=rtl] .slideTop {
173
+ animation-name: slideTop-rtl ;
174
+ -webkit-animation-name: slideTop-rtl ;
175
+ -moz-animation-name: slideTop-rtl ;
176
+ -ms-animation-name: slideTop-rtl ;
177
+ }
178
+ @keyframes slideTop-ltr {
105
179
  100% {
106
180
  opacity: 0;
107
181
  transform: translateX(100%) scale(0);
108
182
  }
109
183
  }
110
- @-webkit-keyframes slideTop {
184
+ @keyframes slideTop-rtl {
185
+ 100% {
186
+ opacity: 0;
187
+ transform: translateX(-100%) scale(0);
188
+ }
189
+ }
190
+ @-webkit-keyframes slideTop-ltr {
111
191
  100% {
112
192
  opacity: 0;
113
193
  transform: translateX(100%) scale(0);
114
194
  }
115
195
  }
116
- @-moz-keyframes slideTop {
196
+ @-webkit-keyframes slideTop-rtl {
197
+ 100% {
198
+ opacity: 0;
199
+ transform: translateX(-100%) scale(0);
200
+ }
201
+ }
202
+ @-moz-keyframes slideTop-ltr {
117
203
  100% {
118
204
  opacity: 0;
119
205
  transform: translateX(100%) scale(0);
120
206
  }
121
207
  }
208
+ @-moz-keyframes slideTop-rtl {
209
+ 100% {
210
+ opacity: 0;
211
+ transform: translateX(-100%) scale(0);
212
+ }
213
+ }
122
214
 
123
215
  .fadeInScale {
124
216
  opacity: 0;
125
217
  transform: scale(0.8);
218
+ }
219
+
220
+ [dir=ltr] .fadeInScale {
221
+ animation-name: fadeInScale;
222
+ -webkit-animation-name: fadeInScale;
223
+ -moz-animation-name: fadeInScale;
224
+ -ms-animation-name: fadeInScale;
225
+ }
226
+
227
+ [dir=rtl] .fadeInScale {
126
228
  animation-name: fadeInScale;
127
229
  -webkit-animation-name: fadeInScale;
128
230
  -moz-animation-name: fadeInScale;
@@ -131,6 +233,14 @@
131
233
  .zoomIn {
132
234
  opacity: 0;
133
235
  transform: scale(1.5);
236
+ }
237
+ [dir=ltr] .zoomIn {
238
+ animation-name: fadeInScale;
239
+ -webkit-animation-name: fadeInScale;
240
+ -moz-animation-name: fadeInScale;
241
+ -ms-animation-name: fadeInScale;
242
+ }
243
+ [dir=rtl] .zoomIn {
134
244
  animation-name: fadeInScale;
135
245
  -webkit-animation-name: fadeInScale;
136
246
  -moz-animation-name: fadeInScale;
@@ -157,6 +267,16 @@
157
267
 
158
268
  .slideUp {
159
269
  max-height: 0;
270
+ }
271
+
272
+ [dir=ltr] .slideUp {
273
+ animation-name: slideUp;
274
+ -webkit-animation-name: slideUp;
275
+ -moz-animation-name: slideUp;
276
+ -ms-animation-name: slideUp;
277
+ }
278
+
279
+ [dir=rtl] .slideUp {
160
280
  animation-name: slideUp;
161
281
  -webkit-animation-name: slideUp;
162
282
  -moz-animation-name: slideUp;
@@ -180,6 +300,16 @@
180
300
 
181
301
  .slideDown {
182
302
  max-height: 100vh;
303
+ }
304
+
305
+ [dir=ltr] .slideDown {
306
+ animation-name: slideDown;
307
+ -webkit-animation-name: slideDown;
308
+ -moz-animation-name: slideDown;
309
+ -ms-animation-name: slideDown;
310
+ }
311
+
312
+ [dir=rtl] .slideDown {
183
313
  animation-name: slideDown;
184
314
  -webkit-animation-name: slideDown;
185
315
  -moz-animation-name: slideDown;
@@ -201,7 +331,18 @@
201
331
  }
202
332
  }
203
333
 
204
- .navigate::before {
334
+ [dir=ltr] .navigate::before {
335
+ animation-name: navigate;
336
+ -webkit-animation-name: navigate;
337
+ -moz-animation-name: navigate;
338
+ -ms-animation-name: navigate;
339
+ animation-iteration-count: infinite;
340
+ -moz-animation-iteration-count: infinite;
341
+ -webkit-animation-iteration-count: infinite;
342
+ -ms-animation-iteration-count: infinite;
343
+ }
344
+
345
+ [dir=rtl] .navigate::before {
205
346
  animation-name: navigate;
206
347
  -webkit-animation-name: navigate;
207
348
  -moz-animation-name: navigate;
@@ -233,12 +374,22 @@
233
374
  }
234
375
 
235
376
  .scaleIn {
377
+ composes: modeForward;
236
378
  transform: scale(0);
379
+ }
380
+
381
+ [dir=ltr] .scaleIn {
382
+ animation-name: scaleIn;
383
+ -webkit-animation-name: scaleIn;
384
+ -moz-animation-name: scaleIn;
385
+ -ms-animation-name: scaleIn;
386
+ }
387
+
388
+ [dir=rtl] .scaleIn {
237
389
  animation-name: scaleIn;
238
390
  -webkit-animation-name: scaleIn;
239
391
  -moz-animation-name: scaleIn;
240
392
  -ms-animation-name: scaleIn;
241
- composes: modeForward;
242
393
  }
243
394
  @keyframes scaleIn {
244
395
  100% {
@@ -257,12 +408,22 @@
257
408
  }
258
409
 
259
410
  .scaleOut {
411
+ composes: modeForward;
260
412
  transform: scale(1);
413
+ }
414
+
415
+ [dir=ltr] .scaleOut {
416
+ animation-name: scaleOut;
417
+ -webkit-animation-name: scaleOut;
418
+ -moz-animation-name: scaleOut;
419
+ -ms-animation-name: scaleOut;
420
+ }
421
+
422
+ [dir=rtl] .scaleOut {
261
423
  animation-name: scaleOut;
262
424
  -webkit-animation-name: scaleOut;
263
425
  -moz-animation-name: scaleOut;
264
426
  -ms-animation-name: scaleOut;
265
- composes: modeForward;
266
427
  }
267
428
  @keyframes scaleOut {
268
429
  100% {
@@ -282,6 +443,16 @@
282
443
 
283
444
  .flyDown {
284
445
  transform: translateY(-105%);
446
+ }
447
+
448
+ [dir=ltr] .flyDown {
449
+ animation-name: flyDown;
450
+ -webkit-animation-name: flyDown;
451
+ -moz-animation-name: flyDown;
452
+ -ms-animation-name: flyDown;
453
+ }
454
+
455
+ [dir=rtl] .flyDown {
285
456
  animation-name: flyDown;
286
457
  -webkit-animation-name: flyDown;
287
458
  -moz-animation-name: flyDown;
@@ -305,6 +476,16 @@
305
476
 
306
477
  .flyUp {
307
478
  transform: translateY(0%);
479
+ }
480
+
481
+ [dir=ltr] .flyUp {
482
+ animation-name: flyUp;
483
+ -webkit-animation-name: flyUp;
484
+ -moz-animation-name: flyUp;
485
+ -ms-animation-name: flyUp;
486
+ }
487
+
488
+ [dir=rtl] .flyUp {
308
489
  animation-name: flyUp;
309
490
  -webkit-animation-name: flyUp;
310
491
  -moz-animation-name: flyUp;
@@ -322,12 +503,22 @@
322
503
  }
323
504
 
324
505
  .bounceIn {
506
+ composes: modeForward;
325
507
  transform: scale(0);
508
+ }
509
+
510
+ [dir=ltr] .bounceIn {
511
+ animation-name: bounceIn;
512
+ -webkit-animation-name: bounceIn;
513
+ -moz-animation-name: bounceIn;
514
+ -ms-animation-name: bounceIn;
515
+ }
516
+
517
+ [dir=rtl] .bounceIn {
326
518
  animation-name: bounceIn;
327
519
  -webkit-animation-name: bounceIn;
328
520
  -moz-animation-name: bounceIn;
329
521
  -ms-animation-name: bounceIn;
330
- composes: modeForward;
331
522
  }
332
523
  @keyframes bounceIn {
333
524
  0% {
@@ -411,6 +602,13 @@
411
602
  .zoomout {
412
603
  transition: transform var(--zd_transition5), opacity var(--zd_transition5);
413
604
  will-change: transform;
605
+ }
606
+
607
+ [dir=ltr] .zoomout {
608
+ animation: Zoomout 500ms forwards;
609
+ }
610
+
611
+ [dir=rtl] .zoomout {
414
612
  animation: Zoomout 500ms forwards;
415
613
  }
416
614
  @keyframes Zoomout {
@@ -6,13 +6,7 @@ button {
6
6
  padding: 0;
7
7
  }
8
8
 
9
- p,
10
- h1,
11
- h2,
12
- h3,
13
- h4,
14
- h5,
15
- h6 {
9
+ p, h1, h2, h3, h4, h5, h6 {
16
10
  margin: 0;
17
11
  }
18
12
 
@@ -36,11 +30,7 @@ textarea {
36
30
  font-family: var(--zd_regular);
37
31
  }
38
32
 
39
- label,
40
- input[type='button'],
41
- input[type='submit'],
42
- input[type='file'],
43
- button {
33
+ label, input[type='button'], input[type='submit'], input[type='file'], button {
44
34
  cursor: pointer;
45
35
  }
46
36
 
@@ -38,12 +38,12 @@
38
38
 
39
39
  .cboth::after {
40
40
  content: '.';
41
- clear: both;
42
41
  display: block;
43
42
  font-size: 0;
44
43
  height: 0;
45
44
  line-height: 0;
46
45
  visibility: hidden;
46
+ clear: both;
47
47
  }
48
48
 
49
49
  .blockEvent {
@@ -65,33 +65,44 @@
65
65
  .disabled::after,
66
66
  .readonly::after {
67
67
  position: absolute;
68
- left: 0;
69
68
  top: 0;
70
- right: 0;
71
69
  bottom: 0;
72
70
  z-index: 2;
73
71
  content: '';
74
72
  user-select: none;
75
73
  }
74
+ [dir=ltr] .disable::after, [dir=ltr] .disabled::after, [dir=ltr] .readonly::after {
75
+ left: 0;
76
+ right: 0;
77
+ }
78
+ [dir=rtl] .disable::after, [dir=rtl] .disabled::after, [dir=rtl] .readonly::after {
79
+ right: 0;
80
+ left: 0;
81
+ }
76
82
 
77
- .disabled,
78
- .readonly {
83
+ .disabled, .readonly {
79
84
  cursor: not-allowed;
80
85
  }
81
- .disabled::after,
82
- .readonly::after {
86
+ .disabled::after, .readonly::after {
83
87
  cursor: not-allowed;
84
88
  }
85
89
 
86
90
  /* --Float Props-- */
87
- .fleft {
91
+ [dir=ltr] .fleft {
88
92
  float: left;
89
93
  }
94
+ [dir=rtl] .fleft {
95
+ float: right;
96
+ }
90
97
 
91
- .fright {
98
+ [dir=ltr] .fright {
92
99
  float: right;
93
100
  }
94
101
 
102
+ [dir=rtl] .fright {
103
+ float: left;
104
+ }
105
+
95
106
  .fnone {
96
107
  float: none;
97
108
  }
@@ -308,10 +319,10 @@
308
319
  }
309
320
 
310
321
  .rounded {
311
- border-radius: 50%;
312
322
  -moz-border-radius: 50%;
313
323
  -webkit-border-radius: 50%;
314
324
  -ms-border-radius: 50%;
325
+ border-radius: 50%;
315
326
  }
316
327
 
317
328
  .noradius {
@@ -322,14 +333,22 @@
322
333
  text-align: center;
323
334
  }
324
335
 
325
- .tleft {
336
+ [dir=ltr] .tleft {
326
337
  text-align: left;
327
338
  }
328
339
 
329
- .tright {
340
+ [dir=rtl] .tleft {
330
341
  text-align: right;
331
342
  }
332
343
 
344
+ [dir=ltr] .tright {
345
+ text-align: right;
346
+ }
347
+
348
+ [dir=rtl] .tright {
349
+ text-align: left;
350
+ }
351
+
333
352
  .textCap {
334
353
  text-transform: uppercase;
335
354
  }
@@ -342,28 +361,46 @@
342
361
  top: 50%;
343
362
  }
344
363
 
345
- .l50 {
364
+ [dir=ltr] .l50 {
346
365
  left: 50%;
347
366
  }
348
367
 
349
- .middle {
368
+ [dir=rtl] .l50 {
369
+ right: 50%;
370
+ }
371
+
372
+ [dir=ltr] .middle {
350
373
  transform: translate(-50%, -50%) translateZ(0);
351
374
  -webkit-transform: translate(-50%, -50%) translateZ(0);
352
375
  -moz-transform: translate(-50%, -50%) translateZ(0);
353
376
  -ms-transform: translate(-50%, -50%) translateZ(0);
354
377
  }
355
378
 
379
+ [dir=rtl] .middle {
380
+ transform: translate(50%, -50%) translateZ(0);
381
+ -webkit-transform: translate(50%, -50%) translateZ(0);
382
+ -moz-transform: translate(50%, -50%) translateZ(0);
383
+ -ms-transform: translate(50%, -50%) translateZ(0);
384
+ }
385
+
356
386
  .middleBoth {
357
387
  composes: middle;
358
388
  top: 50%;
389
+ }
390
+
391
+ [dir=ltr] .middleBoth {
359
392
  left: 50%;
360
393
  }
361
394
 
395
+ [dir=rtl] .middleBoth {
396
+ right: 50%;
397
+ }
398
+
362
399
  .middleY {
363
- transform: translateY(-50%);
364
400
  -webkit-transform: translateY(-50%);
365
401
  -moz-transform: translateY(-50%);
366
402
  -ms-transform: translateY(-50%);
403
+ transform: translateY(-50%);
367
404
  }
368
405
 
369
406
  .yMiddle {
@@ -371,23 +408,30 @@
371
408
  composes: t50;
372
409
  }
373
410
 
374
- .middleX {
411
+ [dir=ltr] .middleX {
375
412
  transform: translateX(-50%);
376
413
  -webkit-transform: translateX(-50%);
377
414
  -moz-transform: translateX(-50%);
378
415
  -ms-transform: translateX(-50%);
379
416
  }
380
417
 
418
+ [dir=rtl] .middleX {
419
+ transform: translateX(50%);
420
+ -webkit-transform: translateX(50%);
421
+ -moz-transform: translateX(50%);
422
+ -ms-transform: translateX(50%);
423
+ }
424
+
381
425
  .xMiddle {
382
426
  composes: middleX;
383
427
  composes: l50;
384
428
  }
385
429
 
386
430
  .transZ {
387
- transform: translateZ(0);
388
431
  -moz-transform: translateZ(0);
389
432
  -webkit-transform: translateZ(0);
390
433
  -ms-transform: translateZ(0);
434
+ transform: translateZ(0);
391
435
  }
392
436
 
393
437
  .vishidden {
@@ -411,9 +455,9 @@
411
455
 
412
456
  .notrans {
413
457
  transition: none;
414
- -webkit-transition: none;
415
458
  -moz-transition: none;
416
459
  -ms-transition: none;
460
+ -webkit-transition: none;
417
461
  }
418
462
 
419
463
  .dotted {
@@ -21,12 +21,10 @@
21
21
  -ms-scrollbar-highlight-color: var(--zd-scroll-bg);
22
22
  -ms-scrollbar-face-color: var(--zd-scroll-thump);
23
23
  }
24
- .scroll::-webkit-scrollbar,
25
- .scroll ::-webkit-scrollbar {
24
+ .scroll::-webkit-scrollbar, .scroll ::-webkit-scrollbar {
26
25
  background: var(--zd-scroll-corner-bg);
27
26
  }
28
- .scroll::-webkit-scrollbar:hover,
29
- .scroll ::-webkit-scrollbar:hover {
27
+ .scroll::-webkit-scrollbar:hover, .scroll ::-webkit-scrollbar:hover {
30
28
  background: var(--zd-scroll-bg);
31
29
  }
32
30
  .scroll::-webkit-scrollbar:horizontal,
@@ -43,38 +41,38 @@
43
41
  width: 0;
44
42
  height: 0;
45
43
  }
46
- .scroll::-webkit-scrollbar-track:vertical,
47
- .scroll ::-webkit-scrollbar-track:vertical {
44
+ [dir=ltr] .scroll::-webkit-scrollbar-track:vertical, [dir=ltr] .scroll ::-webkit-scrollbar-track:vertical {
48
45
  border-left: 1px solid transparent;
49
46
  border-right: 1px solid transparent;
50
47
  }
51
- .scroll::-webkit-scrollbar-track:vertical:hover,
52
- .scroll ::-webkit-scrollbar-track:vertical:hover {
48
+ [dir=rtl] .scroll::-webkit-scrollbar-track:vertical, [dir=rtl] .scroll ::-webkit-scrollbar-track:vertical {
49
+ border-right: 1px solid transparent;
50
+ border-left: 1px solid transparent;
51
+ }
52
+ .scroll::-webkit-scrollbar-track:vertical:hover, .scroll ::-webkit-scrollbar-track:vertical:hover {
53
53
  border-color: var(--zd-scroll-border);
54
54
  }
55
- .scroll::-webkit-scrollbar-track:horizontal,
56
- .scroll ::-webkit-scrollbar-track:horizontal {
55
+ .scroll::-webkit-scrollbar-track:horizontal, .scroll ::-webkit-scrollbar-track:horizontal {
57
56
  border-top: 1px solid transparent;
58
57
  border-bottom: 1px solid transparent;
59
58
  }
60
- .scroll::-webkit-scrollbar-track:horizontal:hover,
61
- .scroll ::-webkit-scrollbar-track:horizontal:hover {
59
+ .scroll::-webkit-scrollbar-track:horizontal:hover, .scroll ::-webkit-scrollbar-track:horizontal:hover {
62
60
  border-color: var(--zd-scroll-border);
63
61
  }
64
- .scroll::-webkit-scrollbar-track-piece,
65
- .scroll ::-webkit-scrollbar-track-piece {
62
+ .scroll::-webkit-scrollbar-track-piece, .scroll ::-webkit-scrollbar-track-piece {
66
63
  background: inherit;
67
64
  }
68
65
  .scroll::-webkit-scrollbar-thumb,
69
66
  .scroll ::-webkit-scrollbar-thumb {
67
+ /* display: none; */
68
+ }
69
+ .scroll::-webkit-scrollbar-thumb, .scroll ::-webkit-scrollbar-thumb {
70
70
  border-radius: 10px;
71
71
  background: var(--zd-scroll-thump);
72
72
  background-clip: padding-box;
73
73
  border: 3px solid transparent;
74
- /* display: none; */
75
74
  }
76
- .scroll::-webkit-scrollbar-thumb:hover,
77
- .scroll ::-webkit-scrollbar-thumb:hover {
75
+ .scroll::-webkit-scrollbar-thumb:hover, .scroll ::-webkit-scrollbar-thumb:hover {
78
76
  background: var(--zd-scroll-thump-hoverbg);
79
77
  background-clip: padding-box;
80
78
  border: 3px solid transparent;
@@ -83,11 +81,9 @@
83
81
  .scroll *:hover > ::-webkit-scrollbar-thumb {
84
82
  display: block;
85
83
  } */
86
- .scroll::-webkit-scrollbar-corner,
87
- .scroll ::-webkit-scrollbar-corner {
84
+ .scroll::-webkit-scrollbar-corner, .scroll ::-webkit-scrollbar-corner {
88
85
  background: var(--zd-scroll-corner-bg);
89
86
  }
90
- .scroll::-webkit-resizer,
91
- .scroll ::-webkit-resizer {
87
+ .scroll::-webkit-resizer, .scroll ::-webkit-resizer {
92
88
  background: inherit;
93
89
  }