@zohodesk/dot 1.0.0-beta.215 → 1.0.0-beta.218

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 (130) hide show
  1. package/README.md +13 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +10 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +6 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +6 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +6 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +6 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +6 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +10 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +6 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +6 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +6 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +6 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +6 -0
  14. package/es/ActionButton/ActionButton.module.css +25 -9
  15. package/es/AlphabeticList/AlphabeticList.module.css +7 -4
  16. package/es/Attachment/Attachment.module.css +20 -9
  17. package/es/AttachmentViewer/Attachment.js +17 -0
  18. package/es/AttachmentViewer/AttachmentImage.js +85 -0
  19. package/es/AttachmentViewer/AttachmentViewer.js +530 -0
  20. package/es/AttachmentViewer/AttachmentViewer.module.css +346 -0
  21. package/es/AttachmentViewer/utils.js +107 -0
  22. package/es/ChannelIcon/ChannelIcon.module.css +30 -21
  23. package/es/Drawer/Drawer.module.css +59 -11
  24. package/es/FlipCard/FlipCard.module.css +14 -5
  25. package/es/FormAction/FormAction.module.css +34 -9
  26. package/es/FreezeLayer/FreezeLayer.module.css +6 -2
  27. package/es/IconButton/IconButton.module.css +1 -1
  28. package/es/ImportantNotes/ImportantNotes.module.css +7 -2
  29. package/es/Loader/Loader.module.css +25 -4
  30. package/es/Message/Message.module.css +42 -9
  31. package/es/MessageBanner/MessageBanner.module.css +12 -4
  32. package/es/NewStar/NewStar.module.css +42 -5
  33. package/es/ToastMessage/ToastMessage.module.css +96 -25
  34. package/es/Upload/Upload.module.css +27 -8
  35. package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
  36. package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
  37. package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
  38. package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
  39. package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
  40. package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
  41. package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
  42. package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
  43. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
  44. package/es/common/dot_animation.module.css +27 -0
  45. package/es/common/dot_common.module.css +4 -0
  46. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
  47. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
  48. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
  49. package/es/emptystate/EditionPage/EditionPage.css +9 -3
  50. package/es/errorstate/EmptyStates.module.css +13 -10
  51. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
  52. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  53. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  54. package/es/errorstate/WillBack/WillBack.module.css +1 -3
  55. package/es/form/fields/CurrencyField/CurrencyField.js +1 -1
  56. package/es/form/fields/Fields.module.css +49 -14
  57. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
  58. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
  59. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
  60. package/es/form/fields/TextEditor/TextEditor.module.css +149 -72
  61. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
  62. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
  63. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
  64. package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
  65. package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
  66. package/es/list/Comment/Comment.module.css +5 -0
  67. package/es/list/DotNew/DotNew.module.css +3 -3
  68. package/es/list/GridStencils/GridStencils.module.css +70 -16
  69. package/es/list/Icons/Icons.module.css +1 -1
  70. package/es/list/ListLayout/ListLayout.module.css +22 -14
  71. package/es/list/ListStencils/ListStencils.module.css +11 -6
  72. package/es/list/SecondaryText/SecondaryText.module.css +13 -3
  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/Search/LookupSearch.module.css +21 -12
  84. package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
  85. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -3
  86. package/es/lookup/header/lookupHeaderCommon.module.css +16 -6
  87. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
  88. package/es/setup/header/Button/HeaderButton.module.css +3 -1
  89. package/es/setup/header/Link/HeaderLink.module.css +7 -1
  90. package/es/setup/header/Search/Search.module.css +19 -8
  91. package/es/setup/header/Views/Views.module.css +15 -5
  92. package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
  93. package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
  94. package/es/setup/table/TableData/SetupTableData.module.css +11 -3
  95. package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
  96. package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
  97. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  98. package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
  99. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
  100. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
  101. package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
  102. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +26 -10
  103. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
  104. package/images/audio_thumbnail.png +0 -0
  105. package/lib/ActionButton/ActionButton.module.css +0 -1
  106. package/lib/AttachmentViewer/Attachment.js +28 -0
  107. package/lib/AttachmentViewer/AttachmentImage.js +129 -0
  108. package/lib/AttachmentViewer/AttachmentViewer.js +613 -0
  109. package/lib/AttachmentViewer/AttachmentViewer.module.css +346 -0
  110. package/lib/AttachmentViewer/utils.js +134 -0
  111. package/lib/FreezeLayer/FreezeLayer.js +31 -4
  112. package/lib/Provider/Config.js +21 -0
  113. package/lib/common/dot_animation.module.css +27 -0
  114. package/lib/common/dot_common.module.css +4 -0
  115. package/lib/deprecated/utils/General.js +29 -0
  116. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  117. package/lib/form/fields/CurrencyField/CurrencyField.js +9 -8
  118. package/lib/form/fields/DateField/DateField.js +1 -1
  119. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  120. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  121. package/lib/form/fields/RadioField/RadioField.js +1 -1
  122. package/lib/form/fields/SelectField/SelectField.js +1 -1
  123. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
  124. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  125. package/lib/form/fields/TextEditor/TextEditor.module.css +13 -2
  126. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  127. package/lib/list/status/StatusDropdown/StatusDropdown.js +44 -37
  128. package/lib/setup/header/Views/Views.js +2 -2
  129. package/lib/utils/General.js +0 -24
  130. package/package.json +15 -13
@@ -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);
@@ -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
  }
@@ -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
  }
@@ -1,20 +1,28 @@
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) 0;
10
7
  color: var(--zdt_messagebanner_text);
11
- margin-left: 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
+ }
18
26
  .message,.link{font-size: var(--zd_font_size14);}
19
27
  .close {
20
28
  color: var(--zdt_messagebanner_close_text);
@@ -5,26 +5,53 @@
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 {
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 {
28
55
  animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
29
56
  }
30
57
  .green::before {
@@ -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
 
@@ -1,22 +1,33 @@
1
1
  .container {
2
+ transition: all var(--zd_transition4);
3
+ position: relative;
4
+ max-height: 100%;
2
5
  border-radius: 5px;
3
6
  box-shadow: 0 5px 40px 7px var(--zdt_toastmessage_default_box_shadow);
4
7
  background-color: var(--zdt_toastmessage_default_bg);
5
- transition: all var(--zd_transition4);
6
8
  margin-bottom: var(--zd_size7);
7
- position: relative;
9
+ }[dir=ltr] .container {
8
10
  transform-origin: right center;
9
- max-height: 100%;
11
+ }[dir=rtl] .container {
12
+ transform-origin: left center;
10
13
  }
11
14
 
12
15
  .closeAnimation {
13
16
  max-height: 0;
14
- margin-bottom: 0;
15
17
  transition: all var(--zd_transition3) 0.4s;
18
+ margin-bottom: 0;
16
19
  }
17
20
 
18
21
  .animation {
19
22
  composes: modeForward from '~@zohodesk/components/lib/common/animation.module.css';
23
+ }
24
+
25
+ [dir=ltr] .animation {
26
+ animation-duration: var(--zd_transition4);
27
+ -webkit-animation-duration: var(--zd_transition4);
28
+ }
29
+
30
+ [dir=rtl] .animation {
20
31
  animation-duration: var(--zd_transition4);
21
32
  -webkit-animation-duration: var(--zd_transition4);
22
33
  }
@@ -27,8 +38,8 @@
27
38
  }
28
39
 
29
40
  .leftnoanimate {
30
- transform: translateX(0) scale(1);
31
41
  opacity: 1;
42
+ transform: translateX(0) scale(1);
32
43
  }
33
44
 
34
45
  .rightanimate {
@@ -43,14 +54,28 @@
43
54
 
44
55
  .alertifybanner {
45
56
  overflow: hidden;
57
+ }
58
+
59
+ [dir=ltr] .alertifybanner {
46
60
  border-radius: 5px 0 0 5px;
47
61
  }
48
62
 
63
+ [dir=rtl] .alertifybanner {
64
+ border-radius: 0 5px 5px 0;
65
+ }
66
+
49
67
  .alertright {
50
- border-left: 1px solid var(--zdt_toastmessage_alert_border);
51
68
  width: var(--zd_size105);
52
69
  }
53
70
 
71
+ [dir=ltr] .alertright {
72
+ border-left: 1px solid var(--zdt_toastmessage_alert_border);
73
+ }
74
+
75
+ [dir=rtl] .alertright {
76
+ border-right: 1px solid var(--zdt_toastmessage_alert_border);
77
+ }
78
+
54
79
  .popbutton {
55
80
  font-size: var(--zd_font_size10);
56
81
  color: var(--zdt_toastmessage_popbutton_text);
@@ -96,22 +121,31 @@
96
121
 
97
122
  .primary:hover,
98
123
  .alerttab:hover .coverfill.primary {
99
- background-color: var(--zdt_toastmessage_primary_hover_bg);
100
124
  color: var(--zdt_toastmessage_primary_hover_text);
101
125
  }
102
126
 
127
+ .primary:hover, .alerttab:hover .coverfill.primary {
128
+ background-color: var(--zdt_toastmessage_primary_hover_bg);
129
+ }
130
+
103
131
  .danger:hover,
104
132
  .alerttab:hover .coverfill.danger {
105
- background-color: var(--zdt_toastmessage_danger_hover_bg);
106
133
  color: var(--zdt_toastmessage_primary_hover_text);
107
134
  }
108
135
 
136
+ .danger:hover, .alerttab:hover .coverfill.danger {
137
+ background-color: var(--zdt_toastmessage_danger_hover_bg);
138
+ }
139
+
109
140
  .success:hover,
110
141
  .alerttab:hover .coverfill.success {
111
- background-color: var(--zdt_toastmessage_success_hover_bg);
112
142
  color: var(--zdt_toastmessage_primary_hover_text);
113
143
  }
114
144
 
145
+ .success:hover, .alerttab:hover .coverfill.success {
146
+ background-color: var(--zdt_toastmessage_success_hover_bg);
147
+ }
148
+
115
149
  .alertleft {
116
150
  padding: var(--zd_size15) var(--zd_size25);
117
151
  }
@@ -131,22 +165,26 @@
131
165
  color: var(--zdt_toastmessage_alerttitle_text);
132
166
  }
133
167
 
134
- .alertTitleLeft {
168
+ [dir=ltr] .alertTitleLeft {
135
169
  margin-right: var(--zd_size10);
136
170
  }
137
171
 
172
+ [dir=rtl] .alertTitleLeft {
173
+ margin-left: var(--zd_size10);
174
+ }
175
+
138
176
  .alertMessage {
139
177
  font-size: var(--zd_font_size12);
140
178
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
141
- margin-top: var(--zd_size5);
142
179
  line-height: var(--zd_size16);
143
180
  color: var(--zdt_toastmessage_alert_text);
181
+ margin-top: var(--zd_size5);
144
182
  }
145
183
 
146
184
  .buttonText {
147
185
  font-size: inherit;
148
- text-align: center;
149
186
  line-height: var(--zd_size14);
187
+ text-align: center;
150
188
  padding: 0 var(--zd_size7);
151
189
  cursor: pointer;
152
190
  }
@@ -154,13 +192,24 @@
154
192
  .closeIcon,
155
193
  .closeIconPrimary {
156
194
  position: absolute;
157
- right: 0;
158
195
  top: 0;
159
196
  z-index: 1;
197
+ color: var(--zdt_toastmessage_closeicon);
198
+ }
199
+
200
+ .closeIcon, .closeIconPrimary {
160
201
  padding: var(--zd_size2);
161
- border-bottom-left-radius: 3px;
162
202
  cursor: pointer;
163
- color: var(--zdt_toastmessage_closeicon);
203
+ }
204
+
205
+ [dir=ltr] .closeIcon, [dir=ltr] .closeIconPrimary {
206
+ right: 0;
207
+ border-bottom-left-radius: 3px;
208
+ }
209
+
210
+ [dir=rtl] .closeIcon, [dir=rtl] .closeIconPrimary {
211
+ left: 0;
212
+ border-bottom-right-radius: 3px;
164
213
  }
165
214
 
166
215
  .closeIcon:hover {
@@ -177,41 +226,63 @@
177
226
 
178
227
  .dropdown {
179
228
  width: var(--zd_size23);
180
- background: var(--zdt_toastmessage_dropdown_bg);
181
229
  position: relative;
182
230
  height: 100%;
183
231
  color: var(--zdt_toastmessage_dropdown_text);
232
+ background: var(--zdt_toastmessage_dropdown_bg);
184
233
  }
185
234
 
186
235
  .dropdown > i {
187
236
  position: absolute;
188
237
  top: 50%;
238
+ }
239
+
240
+ [dir=ltr] .dropdown > i {
189
241
  left: 50%;
190
242
  transform: translate(-50%, -50%);
191
243
  }
192
244
 
245
+ [dir=rtl] .dropdown > i {
246
+ right: 50%;
247
+ transform: translate(50%, -50%);
248
+ }
249
+
193
250
  .dropdown:hover i {
194
251
  color: var(--zdt_toastmessage_cancel_hover_text);
195
252
  }
196
253
 
197
254
  .message {
198
- padding: var(--zd_size10) var(--zd_size20) var(--zd_size10) var(--zd_size76);
199
- border-top: 1px solid var(--zdt_toastmessage_message_border);
200
- cursor: pointer;
201
255
  position: relative;
202
256
  color: var(--zdt_toastmessage_popbutton_text);
203
257
  font-size: var(--zd_font_size11);
204
258
  composes: dotted textCap from '~@zohodesk/components/lib/common/common.module.css';
205
259
  height: var(--zd_size33);
206
260
  transition: padding var(--zd_transition3), height var(--zd_transition3);
261
+ border-top: 1px solid var(--zdt_toastmessage_message_border);
262
+ cursor: pointer;
207
263
  margin:0;
208
264
  }
209
265
 
266
+ [dir=ltr] .message {
267
+ padding: var(--zd_size10) var(--zd_size20) var(--zd_size10) var(--zd_size76);
268
+ }
269
+
270
+ [dir=rtl] .message {
271
+ padding: var(--zd_size10) var(--zd_size76) var(--zd_size10) var(--zd_size20);
272
+ }
273
+
210
274
  .messageOff {
211
- border-width: 0;
212
- padding: 0 var(--zd_size20) 0 var(--zd_size76);
213
275
  height: 0;
214
276
  font-size: 0;
277
+ border-width: 0;
278
+ }
279
+
280
+ [dir=ltr] .messageOff {
281
+ padding: 0 var(--zd_size20) 0 var(--zd_size76);
282
+ }
283
+
284
+ [dir=rtl] .messageOff {
285
+ padding: 0 var(--zd_size76) 0 var(--zd_size20);
215
286
  }
216
287
 
217
288
  .message:hover {
@@ -222,26 +293,26 @@
222
293
  width: var(--zd_size29);
223
294
  height: var(--zd_size29);
224
295
  line-height: var(--zd_size29);
225
- text-align: center;
226
296
  composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
297
+ text-align: center;
227
298
  }
228
299
 
229
300
  .successFill {
230
301
  composes: fill;
231
- background: var(--zdt_toastmessage_successfill_bg);
232
302
  color: var(--zdt_toastmessage_primary_hover_text);
303
+ background: var(--zdt_toastmessage_successfill_bg);
233
304
  }
234
305
 
235
306
  .dangerFill {
236
307
  composes: fill;
237
- background: var(--zdt_toastmessage_danger_hover_bg);
238
308
  color: var(--zdt_toastmessage_primary_hover_text);
309
+ background: var(--zdt_toastmessage_danger_hover_bg);
239
310
  }
240
311
 
241
312
  .dangerShadow {
313
+ color: var(--zdt_toastmessage_danger_text);
242
314
  text-shadow: 0 4px 22px var(--zdt_toastmessage_danger_text_shadow);
243
315
  margin-top: var(--zd_size5);
244
- color: var(--zdt_toastmessage_danger_text);
245
316
  }
246
317
 
247
318
  .successPlain {