@zohodesk/dot 1.0.0-temp-48 → 1.0.0-temp-52

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 (183) hide show
  1. package/README.md +89 -30
  2. package/es/ActionButton/ActionButton.module.css +25 -9
  3. package/es/AlphabeticList/AlphabeticList.module.css +7 -4
  4. package/es/Appearance/dark/mode/dotDarkMode.module.css +5 -4
  5. package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
  6. package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
  7. package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
  8. package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
  9. package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
  10. package/es/Appearance/default/mode/dotDefaultMode.module.css +5 -4
  11. package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
  12. package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
  13. package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
  14. package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
  15. package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
  16. package/es/Attachment/Attachment.module.css +20 -9
  17. package/es/ChannelIcon/ChannelIcon.module.css +30 -21
  18. package/es/Drawer/Drawer.module.css +59 -11
  19. package/es/FlipCard/FlipCard.module.css +14 -5
  20. package/es/FormAction/FormAction.module.css +34 -9
  21. package/es/FreezeLayer/FreezeLayer.module.css +7 -3
  22. package/es/IconButton/IconButton.module.css +1 -1
  23. package/es/ImportantNotes/ImportantNotes.module.css +7 -2
  24. package/es/Link/Link.js +1 -1
  25. package/es/Loader/Loader.module.css +25 -4
  26. package/es/Message/Message.module.css +42 -9
  27. package/es/MessageBanner/MessageBanner.js +10 -5
  28. package/es/MessageBanner/MessageBanner.module.css +13 -4
  29. package/es/NewStar/NewStar.module.css +43 -6
  30. package/es/Provider.js +7 -1
  31. package/es/ToastMessage/ToastMessage.module.css +98 -29
  32. package/es/Upload/Upload.module.css +27 -8
  33. package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
  34. package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
  35. package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
  36. package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
  37. package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
  38. package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
  39. package/es/avatar/AvatarThread/AvatarThread.js +7 -5
  40. package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
  41. package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
  42. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
  43. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
  44. package/es/docs/setupDocs.js +1 -3
  45. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
  46. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
  47. package/es/emptystate/EditionPage/EditionPage.css +9 -3
  48. package/es/errorstate/EmptyStates.module.css +13 -10
  49. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
  50. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  51. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  52. package/es/errorstate/WillBack/WillBack.module.css +1 -3
  53. package/es/form/fields/Fields.module.css +48 -12
  54. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
  55. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
  56. package/es/form/fields/TextEditor/TextEditor.js +1 -1
  57. package/es/form/fields/TextEditor/TextEditor.module.css +143 -71
  58. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +14 -3
  59. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
  60. package/es/form/layout/Section/Section.js +7 -3
  61. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
  62. package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
  63. package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
  64. package/es/list/Comment/Comment.module.css +5 -0
  65. package/es/list/DotNew/DotNew.module.css +3 -3
  66. package/es/list/GridStencils/GridStencils.module.css +72 -18
  67. package/es/list/Icons/Icons.module.css +1 -1
  68. package/es/list/ListLayout/ListLayout.js +10 -4
  69. package/es/list/ListLayout/ListLayout.module.css +34 -12
  70. package/es/list/ListStencils/ListStencils.module.css +11 -6
  71. package/es/list/SecondaryText/SecondaryText.module.css +13 -3
  72. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
  73. package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
  74. package/es/list/TagNew/TagNew.module.css +14 -7
  75. package/es/list/Thread/Thread.module.css +13 -1
  76. package/es/list/UserTime/UserTime.module.css +6 -0
  77. package/es/list/listCommon.module.css +9 -1
  78. package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
  79. package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
  80. package/es/lookup/Lookup/Lookup.module.css +2 -2
  81. package/es/lookup/Section/LookupSection.module.css +2 -2
  82. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  83. package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
  84. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +13 -3
  85. package/es/lookup/header/Search/LookupSearch.module.css +21 -12
  86. package/es/lookup/header/TicketHeader/TicketHeader.js +7 -4
  87. package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
  88. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -4
  89. package/es/lookup/header/lookupHeaderCommon.module.css +22 -6
  90. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
  91. package/es/setup/header/Button/HeaderButton.module.css +3 -1
  92. package/es/setup/header/Link/HeaderLink.module.css +7 -1
  93. package/es/setup/header/Search/Search.module.css +19 -8
  94. package/es/setup/header/Views/Views.module.css +15 -5
  95. package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
  96. package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
  97. package/es/setup/table/TableData/SetupTableData.module.css +11 -3
  98. package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
  99. package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
  100. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  101. package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
  102. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
  103. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
  104. package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
  105. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +28 -14
  106. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
  107. package/lib/Appearance/dark/mode/dotDarkMode.module.css +5 -4
  108. package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
  109. package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
  110. package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
  111. package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
  112. package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
  113. package/lib/Appearance/default/mode/dotDefaultMode.module.css +5 -4
  114. package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
  115. package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
  116. package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
  117. package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
  118. package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
  119. package/lib/FreezeLayer/FreezeLayer.module.css +1 -1
  120. package/lib/Link/Link.js +1 -1
  121. package/lib/MessageBanner/MessageBanner.js +10 -5
  122. package/lib/MessageBanner/MessageBanner.module.css +4 -3
  123. package/lib/NewStar/NewStar.module.css +2 -2
  124. package/lib/Provider.js +8 -1
  125. package/lib/ToastMessage/ToastMessage.module.css +4 -8
  126. package/lib/avatar/AvatarThread/AvatarThread.js +7 -5
  127. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -2
  128. package/lib/form/fields/TextEditor/TextEditor.js +1 -1
  129. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -3
  130. package/lib/form/layout/Section/Section.js +7 -3
  131. package/lib/list/GridStencils/GridStencils.module.css +4 -4
  132. package/lib/list/ListLayout/ListLayout.js +11 -5
  133. package/lib/list/ListLayout/ListLayout.module.css +29 -4
  134. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
  135. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +13 -3
  136. package/lib/lookup/header/TicketHeader/TicketHeader.js +7 -4
  137. package/lib/lookup/header/lookupHeaderCommon.module.css +6 -0
  138. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -8
  139. package/package.json +7 -7
  140. package/src/Appearance/dark/mode/dotDarkMode.module.css +5 -4
  141. package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
  142. package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
  143. package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
  144. package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
  145. package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
  146. package/src/Appearance/default/mode/dotDefaultMode.module.css +5 -4
  147. package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
  148. package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
  149. package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
  150. package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
  151. package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
  152. package/src/FreezeLayer/FreezeLayer.module.css +1 -1
  153. package/src/Link/Link.js +3 -1
  154. package/src/MessageBanner/MessageBanner.js +10 -6
  155. package/src/MessageBanner/MessageBanner.module.css +3 -2
  156. package/src/NewStar/NewStar.module.css +1 -1
  157. package/src/Provider.js +3 -0
  158. package/src/ToastMessage/ToastMessage.module.css +2 -4
  159. package/src/avatar/AvatarThread/AvatarThread.js +8 -3
  160. package/src/docs/setupDocs.js +0 -2
  161. package/src/form/fields/TextEditor/TextEditor.js +1 -1
  162. package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -2
  163. package/src/form/layout/Section/Section.js +14 -10
  164. package/src/list/GridStencils/GridStencils.module.css +2 -2
  165. package/src/list/ListLayout/ListLayout.js +11 -5
  166. package/src/list/ListLayout/ListLayout.module.css +18 -4
  167. package/src/lookup/header/ModuleHeader/ModuleHeader.js +9 -3
  168. package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +21 -8
  169. package/src/lookup/header/TicketHeader/TicketHeader.js +7 -4
  170. package/src/lookup/header/lookupHeaderCommon.module.css +6 -0
  171. package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -4
  172. package/es/deprecated/Theme/dotDarkTheme.module.css +0 -532
  173. package/es/deprecated/Theme/dotDefaultTheme.module.css +0 -532
  174. package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
  175. package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
  176. package/lib/deprecated/Theme/dotDarkTheme.module.css +0 -532
  177. package/lib/deprecated/Theme/dotDefaultTheme.module.css +0 -532
  178. package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -40
  179. package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -40
  180. package/src/deprecated/Theme/dotDarkTheme.module.css +0 -532
  181. package/src/deprecated/Theme/dotDefaultTheme.module.css +0 -532
  182. package/src/deprecated/Theme/palette/darkPalette.module.css +0 -40
  183. package/src/deprecated/Theme/palette/defaultPalette.module.css +0 -40
@@ -14,11 +14,16 @@
14
14
  composes: dflex alignVertical alignHorizontal rounded from '~@zohodesk/components/lib/common/common.module.css';
15
15
  position: absolute;
16
16
  top: calc(var(--zd_size4) * -1);
17
- right: calc(var(--zd_size1) * -1);
18
17
  height: var(--zd_size15);
19
18
  width: var(--zd_size15);
20
19
  background-color: var(--topIconBg);
21
20
  }
21
+ [dir=ltr] .thread {
22
+ right: calc(var(--zd_size1) * -1);
23
+ }
24
+ [dir=rtl] .thread {
25
+ left: calc(var(--zd_size1) * -1);
26
+ }
22
27
  .threadBorder {
23
28
  border: 1px solid var(--topIconBorderColor);
24
29
  }
@@ -109,11 +114,12 @@
109
114
  }
110
115
 
111
116
  /* facebook */
112
- .facebook_incoming,
113
- .facebook_missed,
114
- .facebook_outgoing {
117
+ [dir=ltr] .facebook_incoming, [dir=ltr] .facebook_missed, [dir=ltr] .facebook_outgoing {
115
118
  right: var(--zd_size2);
116
119
  }
120
+ [dir=rtl] .facebook_incoming, [dir=rtl] .facebook_missed, [dir=rtl] .facebook_outgoing {
121
+ left: var(--zd_size2);
122
+ }
117
123
 
118
124
  /* chat */
119
125
  .chat_incoming,
@@ -137,24 +143,22 @@
137
143
  .feedback_incoming,
138
144
  .feedback_missed,
139
145
  .feedback_out {
140
- right: var(--zd_size1);
141
146
  top: var(--zd_size1);
142
147
  }
148
+ [dir=ltr] .feedback_incoming, [dir=ltr] .feedback_missed, [dir=ltr] .feedback_out {
149
+ right: var(--zd_size1);
150
+ }
151
+ [dir=rtl] .feedback_incoming, [dir=rtl] .feedback_missed, [dir=rtl] .feedback_out {
152
+ left: var(--zd_size1);
153
+ }
143
154
 
144
155
  /* draft */
145
- .email_draft,
146
- .facebook_draft,
147
- .twitter_draft,
148
- .forums_draft,
149
- .chat_draft,
150
- .offline_chat_draft,
151
- .online_chat_draft,
152
- .phone_draft,
153
- .web_draft,
154
- .customerportal_draft,
155
- .feedback_draft {
156
+ [dir=ltr] .email_draft, [dir=ltr] .facebook_draft, [dir=ltr] .twitter_draft, [dir=ltr] .forums_draft, [dir=ltr] .chat_draft, [dir=ltr] .offline_chat_draft, [dir=ltr] .online_chat_draft, [dir=ltr] .phone_draft, [dir=ltr] .web_draft, [dir=ltr] .customerportal_draft, [dir=ltr] .feedback_draft {
156
157
  left: var(--zd_size1);
157
158
  }
159
+ [dir=rtl] .email_draft, [dir=rtl] .facebook_draft, [dir=rtl] .twitter_draft, [dir=rtl] .forums_draft, [dir=rtl] .chat_draft, [dir=rtl] .offline_chat_draft, [dir=rtl] .online_chat_draft, [dir=rtl] .phone_draft, [dir=rtl] .web_draft, [dir=rtl] .customerportal_draft, [dir=rtl] .feedback_draft {
160
+ right: var(--zd_size1);
161
+ }
158
162
 
159
163
  /* forward */
160
164
  .email_forward,
@@ -184,17 +188,22 @@
184
188
  .web_forwarddraft,
185
189
  .customerportal_forwarddraft,
186
190
  .feedback_forwarddraft {
187
- left: var(--zd_size1);
188
191
  bottom: var(--zd_size1);
189
192
  }
193
+ [dir=ltr] .email_forwarddraft, [dir=ltr] .facebook_forwarddraft, [dir=ltr] .twitter_forwarddraft, [dir=ltr] .forums_forwarddraft, [dir=ltr] .chat_forwarddraft, [dir=ltr] .offline_chat_forwarddraft, [dir=ltr] .online_chat_forwarddraft, [dir=ltr] .phone_forwarddraft, [dir=ltr] .web_forwarddraft, [dir=ltr] .customerportal_forwarddraft, [dir=ltr] .feedback_forwarddraft {
194
+ left: var(--zd_size1);
195
+ }
196
+ [dir=rtl] .email_forwarddraft, [dir=rtl] .facebook_forwarddraft, [dir=rtl] .twitter_forwarddraft, [dir=rtl] .forums_forwarddraft, [dir=rtl] .chat_forwarddraft, [dir=rtl] .offline_chat_forwarddraft, [dir=rtl] .online_chat_forwarddraft, [dir=rtl] .phone_forwarddraft, [dir=rtl] .web_forwarddraft, [dir=rtl] .customerportal_forwarddraft, [dir=rtl] .feedback_forwarddraft {
197
+ right: var(--zd_size1);
198
+ }
190
199
 
191
200
  /* facebook_dm */
192
- .facebook_dm_default,
193
- .facebook_dm_incoming,
194
- .facebook_dm_outgoing,
195
- .facebook_dm_missed {
201
+ [dir=ltr] .facebook_dm_default, [dir=ltr] .facebook_dm_incoming, [dir=ltr] .facebook_dm_outgoing, [dir=ltr] .facebook_dm_missed {
196
202
  right: var(--zd_size2);
197
203
  }
204
+ [dir=rtl] .facebook_dm_default, [dir=rtl] .facebook_dm_incoming, [dir=rtl] .facebook_dm_outgoing, [dir=rtl] .facebook_dm_missed {
205
+ left: var(--zd_size2);
206
+ }
198
207
 
199
208
  /*Topic Icon colors*/
200
209
  .topic_olive {
@@ -1,15 +1,20 @@
1
1
  .container {
2
+ transition: width var(--zd_transition3);
2
3
  box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
3
4
  background-color: var(--zdt_drawer_default_bg);
4
- transition: width var(--zd_transition3);
5
5
  }
6
6
  .isOverlay {
7
- right: 0;
8
7
  top: 0;
9
8
  bottom: 0;
10
9
  position: absolute;
11
10
  pointer-events: none;
12
11
  }
12
+ [dir=ltr] .isOverlay {
13
+ right: 0;
14
+ }
15
+ [dir=rtl] .isOverlay {
16
+ left: 0;
17
+ }
13
18
  .columns {
14
19
  pointer-events: initial;
15
20
  }
@@ -21,17 +26,28 @@
21
26
  box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
22
27
  }
23
28
  .secondMobDrawer {
24
- right: 0;
25
29
  position: absolute;
26
30
  top: 0;
27
31
  z-index: 1;
28
32
  }
33
+ [dir=ltr] .secondMobDrawer {
34
+ right: 0;
35
+ }
36
+ [dir=rtl] .secondMobDrawer {
37
+ left: 0;
38
+ }
29
39
  .mobModal {
30
40
  position: absolute;
31
41
  top: 0;
32
- right: 0;
33
42
  bottom: 0;
43
+ }
44
+ [dir=ltr] .mobModal {
45
+ right: 0;
46
+ left: 0;
47
+ }
48
+ [dir=rtl] .mobModal {
34
49
  left: 0;
50
+ right: 0;
35
51
  }
36
52
  .xsmall {
37
53
  width: var(--zd_size360);
@@ -72,32 +88,64 @@
72
88
  color: var( --zdt_drawer_title_text);
73
89
  font: var(--zd_font_size16) var(--zd_semibold);
74
90
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
91
+ }
92
+ [dir=ltr] .title {
75
93
  padding: 0 var(--zd_size10) 0 0;
76
94
  }
77
- .smallHeaderPadding {
95
+ [dir=rtl] .title {
96
+ padding: 0 0 0 var(--zd_size10);
97
+ }
98
+ [dir=ltr] .smallHeaderPadding {
78
99
  padding-right: var(--zd_size11);
79
100
  padding-left: var(--zd_size30);
80
101
  }
81
- .smallContentPadding {
102
+ [dir=rtl] .smallHeaderPadding {
103
+ padding-left: var(--zd_size11);
104
+ padding-right: var(--zd_size30);
105
+ }
106
+ [dir=ltr] .smallContentPadding {
82
107
  padding-left: var(--zd_size30);
83
108
  padding-right: var(--zd_size30);
84
109
  }
85
- .mediumHeaderPadding {
110
+ [dir=rtl] .smallContentPadding {
111
+ padding-right: var(--zd_size30);
112
+ padding-left: var(--zd_size30);
113
+ }
114
+ [dir=ltr] .mediumHeaderPadding {
86
115
  padding-right: var(--zd_size15);
87
116
  padding-left: var(--zd_size30);
88
117
  }
89
- .mediumContentPadding {
118
+ [dir=rtl] .mediumHeaderPadding {
119
+ padding-left: var(--zd_size15);
120
+ padding-right: var(--zd_size30);
121
+ }
122
+ [dir=ltr] .mediumContentPadding {
90
123
  padding-left: var(--zd_size30);
91
124
  padding-right: var(--zd_size30);
92
125
  }
93
- .largeHeaderPadding {
126
+ [dir=rtl] .mediumContentPadding {
127
+ padding-right: var(--zd_size30);
128
+ padding-left: var(--zd_size30);
129
+ }
130
+ [dir=ltr] .largeHeaderPadding {
94
131
  padding-right: var(--zd_size15);
95
132
  padding-left: var(--zd_size50);
96
133
  }
97
- .largeContentPadding {
134
+ [dir=rtl] .largeHeaderPadding {
135
+ padding-left: var(--zd_size15);
136
+ padding-right: var(--zd_size50);
137
+ }
138
+ [dir=ltr] .largeContentPadding {
98
139
  padding-left: var(--zd_size50);
99
140
  padding-right: var(--zd_size50);
100
141
  }
101
- .iconWrapper {
142
+ [dir=rtl] .largeContentPadding {
143
+ padding-right: var(--zd_size50);
144
+ padding-left: var(--zd_size50);
145
+ }
146
+ [dir=ltr] .iconWrapper {
102
147
  margin-right: var(--zd_size10);
103
148
  }
149
+ [dir=rtl] .iconWrapper {
150
+ margin-left: var(--zd_size10);
151
+ }
@@ -1,7 +1,8 @@
1
1
  .flip,
2
2
  .flipNone {
3
- background-color: var(--zdt_flipcard_default_bg);
4
3
  color: var(--zdt_flipcard_default_text);
4
+ }.flip, .flipNone {
5
+ background-color: var(--zdt_flipcard_default_bg);
5
6
  }
6
7
  .container {
7
8
  position: relative;
@@ -20,16 +21,24 @@
20
21
  backface-visibility: hidden;
21
22
  -webkit-backface-visibility: hidden;
22
23
  }
23
- .front {
24
+ [dir=ltr] .front {
24
25
  transform: rotateY(180deg) perspective(1px);
25
26
  }
27
+ [dir=rtl] .front {
28
+ transform: rotateY(-180deg) perspective(1px);
29
+ }
26
30
  .back {
27
31
  transform: rotateY(0deg) perspective(1px);
28
32
  }
29
- .notFlip .container {
33
+ [dir=ltr] .notFlip .container {
30
34
  transform: rotateY(180deg);
31
35
  }
32
- .flip:hover .container,
33
- .hoverContainer:hover .container {
36
+ [dir=rtl] .notFlip .container {
37
+ transform: rotateY(-180deg);
38
+ }
39
+ [dir=ltr] .flip:hover .container, [dir=ltr] .hoverContainer:hover .container {
34
40
  transform: rotateY(180deg);
35
41
  }
42
+ [dir=rtl] .flip:hover .container, [dir=rtl] .hoverContainer:hover .container {
43
+ transform: rotateY(-180deg);
44
+ }
@@ -25,33 +25,58 @@
25
25
  padding-bottom: var(--zd_size10);
26
26
  }
27
27
 
28
- .largePadding {
28
+ [dir=ltr] .largePadding {
29
29
  padding-left: var(--zd_size60);
30
30
  }
31
- .mediumPadding {
31
+
32
+ [dir=rtl] .largePadding {
33
+ padding-right: var(--zd_size60);
34
+ }
35
+ [dir=ltr] .mediumPadding {
32
36
  padding-left: var(--zd_size50);
33
37
  }
34
- .xmediumPadding {
38
+ [dir=rtl] .mediumPadding {
39
+ padding-right: var(--zd_size50);
40
+ }
41
+ [dir=ltr] .xmediumPadding {
35
42
  padding-left: var(--zd_size30);
36
43
  }
37
- .smallPadding {
44
+ [dir=rtl] .xmediumPadding {
45
+ padding-right: var(--zd_size30);
46
+ }
47
+ [dir=ltr] .smallPadding {
38
48
  padding-left: var(--zd_size25);
39
49
  }
40
- .xsmallPadding {
50
+ [dir=rtl] .smallPadding {
51
+ padding-right: var(--zd_size25);
52
+ }
53
+ [dir=ltr] .xsmallPadding {
41
54
  padding-left: var(--zd_size20);
42
55
  }
56
+ [dir=rtl] .xsmallPadding {
57
+ padding-right: var(--zd_size20);
58
+ }
43
59
 
44
60
  .marginRight {
45
61
  composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
46
62
  }
47
- .largeFooter .marginRight,
48
- .mediumFooter .marginRight {
63
+ [dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
49
64
  margin-right: var(--zd_size15);
50
65
  }
51
- .smallFooter .marginRight {
66
+ [dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
67
+ margin-left: var(--zd_size15);
68
+ }
69
+ [dir=ltr] .smallFooter .marginRight {
52
70
  margin-right: var(--zd_size12);
53
71
  }
72
+ [dir=rtl] .smallFooter .marginRight {
73
+ margin-left: var(--zd_size12);
74
+ }
54
75
 
55
- .marginRight:last-child {
76
+ [dir=ltr] .marginRight:last-child {
56
77
  margin-right: 0;
57
78
  }
79
+
80
+ [dir=rtl] .marginRight:last-child {
81
+ margin-left: 0;
82
+ }
@@ -1,10 +1,14 @@
1
1
  .container {
2
2
  top: 0;
3
- left: 0;
4
3
  bottom: 0;
5
- right: 0;
6
4
  position: absolute;
7
5
  overflow: hidden;
6
+ }[dir=ltr] .container {
7
+ left: 0;
8
+ right: 0;
9
+ }[dir=rtl] .container {
10
+ right: 0;
11
+ left: 0;
8
12
  }
9
13
  .default {
10
14
  background-color: var(--zdt_freezelayer_default_bg);
@@ -34,5 +38,5 @@
34
38
  z-index: 10;
35
39
  }
36
40
  .delay {
37
- transition-delay: 0.2s;
41
+ transition-delay: var(--zd_transition2);
38
42
  }
@@ -3,11 +3,11 @@
3
3
  }
4
4
  .wrapper {
5
5
  height: var(--zd_size28);
6
- cursor: pointer;
7
6
  width: var(--zd_size28);
8
7
  composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
9
8
  composes: varClass;
10
9
  color: var(--iconColor);
10
+ cursor: pointer;
11
11
  }
12
12
  .primary {
13
13
  --iconColor: var(--zdt_iconButton_icon_primary);
@@ -8,8 +8,13 @@
8
8
  color: var(--zdt_importantnotes_title_text);
9
9
  }
10
10
  .icon {
11
- margin-top: var(--zd_size1);
12
- margin-right: var(--zd_size5);
13
11
  color: var(--zdt_importantnotes_icon);
14
12
  font-size: 0;
13
+ margin-top: var(--zd_size1);
14
+ }
15
+ [dir=ltr] .icon {
16
+ margin-right: var(--zd_size5);
17
+ }
18
+ [dir=rtl] .icon {
19
+ margin-left: var(--zd_size5);
15
20
  }
package/es/Link/Link.js CHANGED
@@ -71,7 +71,7 @@ export default class Link extends React.Component {
71
71
  option.download = true;
72
72
  }
73
73
 
74
- let ignoreKeys = ['children', 'href', 'target', 'urlData', 'urlName', 'className', 'title', 'download', 'rel', 'dataId', 'hasReload'];
74
+ let ignoreKeys = ['children', 'href', 'target', 'urlData', 'urlName', 'className', 'title', 'download', 'rel', 'dataId', 'hasReload', 'customProps', 'option'];
75
75
  let others = Object.keys(this.props).filter(key => ignoreKeys.indexOf(key) == -1).reduce((res, key) => {
76
76
  res[key] = this.props[key];
77
77
  return res;
@@ -1,21 +1,33 @@
1
1
  .ajaxLoader {
2
2
  position: absolute;
3
3
  top: 0;
4
+ }[dir=ltr] .ajaxLoader {
4
5
  left: 0;
5
6
  right: 0;
7
+ }[dir=rtl] .ajaxLoader {
8
+ right: 0;
9
+ left: 0;
6
10
  }
7
11
  .loader {
8
- background-image: var(--zdt_loader_gradient_bg);
9
12
  width: 100%;
13
+ height: 3px;
14
+ background-image: var(--zdt_loader_gradient_bg);
10
15
  background-size: 200% auto;
16
+ }
17
+ [dir=ltr] .loader {
11
18
  background-position: 0 100%;
12
- animation: loading 3s infinite;
19
+ animation: loading-ltr 3s infinite;
20
+ animation-fill-mode: forwards;
21
+ animation-timing-function: linear;
22
+ }
23
+ [dir=rtl] .loader {
24
+ background-position: 100% 100%;
25
+ animation: loading-rtl 3s infinite;
13
26
  animation-fill-mode: forwards;
14
27
  animation-timing-function: linear;
15
- height: 3px;
16
28
  }
17
29
 
18
- @keyframes loading {
30
+ @keyframes loading-ltr {
19
31
  0% {
20
32
  background-position: 0 0;
21
33
  }
@@ -23,3 +35,12 @@
23
35
  background-position: -200% 0;
24
36
  }
25
37
  }
38
+
39
+ @keyframes loading-rtl {
40
+ 0% {
41
+ background-position: 100% 0;
42
+ }
43
+ 100% {
44
+ background-position: 300% 0;
45
+ }
46
+ }
@@ -3,20 +3,31 @@
3
3
  top: 0;
4
4
  z-index: 1000;
5
5
  /*Hook for editor alert*/
6
- right: 0;
6
+ pointer-events: none;
7
7
  text-align: center;
8
+ }[dir=ltr] .message {
9
+ right: 0;
8
10
  left: 0;
9
- pointer-events: none;
11
+ }[dir=rtl] .message {
12
+ left: 0;
13
+ right: 0;
10
14
  }
11
15
 
12
16
  .container {
13
- padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
14
- box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
15
- border-radius: 0 0 5px 5px;
16
17
  position: relative;
17
- background: var(--zdt_message_default_bg);
18
18
  display: inline-block;
19
19
  pointer-events: initial;
20
+ box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
21
+ border-radius: 0 0 5px 5px;
22
+ background: var(--zdt_message_default_bg);
23
+ }
24
+
25
+ [dir=ltr] .container {
26
+ padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
27
+ }
28
+
29
+ [dir=rtl] .container {
30
+ padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
20
31
  }
21
32
 
22
33
  .text {
@@ -25,19 +36,34 @@
25
36
  word-break: break-word;
26
37
  font-size: var(--zd_font_size14);
27
38
  vertical-align: middle;
39
+ }
40
+
41
+ [dir=ltr] .text {
28
42
  text-align: left;
29
43
  }
30
44
 
45
+ [dir=rtl] .text {
46
+ text-align: right;
47
+ }
48
+
31
49
  .icon {
32
50
  position: absolute;
33
- left: 0;
34
51
  top: 0;
35
52
  width: var(--zd_size40);
36
53
  display: inline-block;
37
- border-bottom-left-radius: 5px;
38
54
  height: 100%;
39
55
  }
40
56
 
57
+ [dir=ltr] .icon {
58
+ left: 0;
59
+ border-bottom-left-radius: 5px;
60
+ }
61
+
62
+ [dir=rtl] .icon {
63
+ right: 0;
64
+ border-bottom-right-radius: 5px;
65
+ }
66
+
41
67
  .success {
42
68
  composes: icon;
43
69
  background: var(--zdt_message_success_bg);
@@ -63,8 +89,15 @@
63
89
  .close {
64
90
  color: var(--zdt_message_close_text);
65
91
  font-size: var(--zd_font_size16);
66
- cursor: pointer;
67
92
  display: inline-block;
68
93
  vertical-align: middle;
94
+ cursor: pointer;
95
+ }
96
+
97
+ [dir=ltr] .close {
69
98
  margin-left: var(--zd_size10);
99
+ }
100
+
101
+ [dir=rtl] .close {
102
+ margin-right: var(--zd_size10);
70
103
  }
@@ -14,12 +14,14 @@ export default class MessageBanner extends React.Component {
14
14
  onClick,
15
15
  urlText,
16
16
  palette,
17
- customClass
17
+ customClass,
18
+ dataId
18
19
  } = this.props;
19
20
  return /*#__PURE__*/React.createElement(Container, {
20
21
  className: `${style[`type_${type}`]} ${style[`palette_${palette}`]} ${customClass}`,
21
22
  alignBox: "row",
22
- isCover: false
23
+ isCover: false,
24
+ dataId: dataId
23
25
  }, /*#__PURE__*/React.createElement(Box, {
24
26
  className: style.content,
25
27
  flexible: true
@@ -29,7 +31,8 @@ export default class MessageBanner extends React.Component {
29
31
  }, /*#__PURE__*/React.createElement(Box, {
30
32
  className: style.message,
31
33
  adjust: true,
32
- shrink: true
34
+ shrink: true,
35
+ "data-title": message
33
36
  }, message), href && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
34
37
  href: href,
35
38
  onClick: onClick,
@@ -50,7 +53,8 @@ export default class MessageBanner extends React.Component {
50
53
  MessageBanner.defaultProps = {
51
54
  type: 'primary',
52
55
  palette: 'default',
53
- customClass: ''
56
+ customClass: '',
57
+ dataId: 'MessageBanner'
54
58
  };
55
59
  MessageBanner.propTypes = {
56
60
  customClass: PropTypes.string,
@@ -60,7 +64,8 @@ MessageBanner.propTypes = {
60
64
  onClose: PropTypes.func,
61
65
  palette: PropTypes.oneOf(['default', 'blue', 'white']),
62
66
  type: PropTypes.oneOf(['primary', 'secondary']),
63
- urlText: PropTypes.string
67
+ urlText: PropTypes.string,
68
+ dataId: PropTypes.string
64
69
  };
65
70
 
66
71
  if (false) {
@@ -1,20 +1,29 @@
1
- .type_primary {
2
- }
3
1
  .type_secondary {
4
2
  max-width: var(--zd_size468);
5
3
  border-radius: 3px;
6
4
  margin: 0 auto;
7
5
  }
8
6
  .message {
9
- padding: var(--zd_size10) var(--zd_size5) var(--zd_size10) 0;
10
7
  color: var(--zdt_messagebanner_text);
11
- margin: 0 var(--zd_size10);
12
8
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
+ padding: var(--zd_size10) 0;
10
+ }
11
+ [dir=ltr] .message {
12
+ margin-left: var(--zd_size10);
13
+ }
14
+ [dir=rtl] .message {
15
+ margin-right: var(--zd_size10);
13
16
  }
14
17
  .link {
15
18
  color: var(--zdt_messagebanner_link_text);
19
+ }
20
+ [dir=ltr] .link {
16
21
  margin-left: var(--zd_size5);
17
22
  }
23
+ [dir=rtl] .link {
24
+ margin-right: var(--zd_size5);
25
+ }
26
+ .message,.link{font-size: var(--zd_font_size14);}
18
27
  .close {
19
28
  color: var(--zdt_messagebanner_close_text);
20
29
  cursor: pointer;
@@ -5,27 +5,54 @@
5
5
  width: var(--zd_size21);
6
6
  }
7
7
  .topLeft {
8
+ top: 0;
9
+ }
10
+ [dir=ltr] .topLeft {
8
11
  transform: translate(-45%, -45%);
9
12
  left: 0;
10
- top: 0;
11
13
  }
12
- .topRight {
14
+ [dir=rtl] .topLeft {
13
15
  transform: translate(45%, -45%);
14
16
  right: 0;
17
+ }
18
+ .topRight {
15
19
  top: 0;
16
20
  }
21
+ [dir=ltr] .topRight {
22
+ transform: translate(45%, -45%);
23
+ right: 0;
24
+ }
25
+ [dir=rtl] .topRight {
26
+ transform: translate(-45%, -45%);
27
+ left: 0;
28
+ }
17
29
  .bottomLeft {
30
+ bottom: 0;
31
+ }
32
+ [dir=ltr] .bottomLeft {
18
33
  transform: translate(-45%, 45%);
19
34
  left: 0;
20
- bottom: 0;
21
35
  }
22
- .bottomRight {
36
+ [dir=rtl] .bottomLeft {
23
37
  transform: translate(45%, 45%);
24
38
  right: 0;
39
+ }
40
+ .bottomRight {
25
41
  bottom: 0;
26
42
  }
27
- .stars {
28
- animation: twinkle 0.4s infinite, star-scale 1s infinite;
43
+ [dir=ltr] .bottomRight {
44
+ transform: translate(45%, 45%);
45
+ right: 0;
46
+ }
47
+ [dir=rtl] .bottomRight {
48
+ transform: translate(-45%, 45%);
49
+ left: 0;
50
+ }
51
+ [dir=ltr] .stars {
52
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
53
+ }
54
+ [dir=rtl] .stars {
55
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
29
56
  }
30
57
  .green::before {
31
58
  color: var(--zdt_newstar_green_text);
@@ -41,10 +68,20 @@
41
68
  }
42
69
  .starTwo {
43
70
  composes: stars;
71
+ }
72
+ [dir=ltr] .starTwo {
73
+ animation-delay: 0.5s;
74
+ }
75
+ [dir=rtl] .starTwo {
44
76
  animation-delay: 0.5s;
45
77
  }
46
78
  .starThree {
47
79
  composes: stars;
80
+ }
81
+ [dir=ltr] .starThree {
82
+ animation-delay: 1s;
83
+ }
84
+ [dir=rtl] .starThree {
48
85
  animation-delay: 1s;
49
86
  }
50
87