@zohodesk/dot 1.0.0-beta.225 → 1.0.0-beta.226

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 (135) hide show
  1. package/README.md +7 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +2 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
  4. package/assets/Appearance/default/mode/dotDefaultMode.module.css +2 -0
  5. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +1 -1
  6. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +533 -0
  7. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
  8. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
  9. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
  10. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
  11. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
  12. package/es/ActionButton/ActionButton.module.css +25 -9
  13. package/es/AlphabeticList/AlphabeticList.module.css +7 -4
  14. package/es/Attachment/Attachment.module.css +20 -9
  15. package/es/AttachmentViewer/AttachmentImage.js +5 -1
  16. package/es/AttachmentViewer/AttachmentViewer.js +3 -2
  17. package/es/AttachmentViewer/AttachmentViewer.module.css +90 -27
  18. package/es/ChannelIcon/ChannelIcon.module.css +30 -21
  19. package/es/Drawer/Drawer.module.css +59 -11
  20. package/es/FlipCard/FlipCard.module.css +14 -5
  21. package/es/FormAction/FormAction.module.css +34 -9
  22. package/es/FreezeLayer/FreezeLayer.module.css +6 -2
  23. package/es/IconButton/IconButton.module.css +1 -1
  24. package/es/ImportantNotes/ImportantNotes.module.css +7 -2
  25. package/es/Loader/Loader.module.css +25 -4
  26. package/es/Message/Message.module.css +42 -9
  27. package/es/MessageBanner/MessageBanner.module.css +12 -4
  28. package/es/NewStar/NewStar.module.css +42 -5
  29. package/es/Provider.js +88 -35
  30. package/es/ToastMessage/ToastMessage.module.css +96 -25
  31. package/es/Upload/Upload.module.css +27 -8
  32. package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
  33. package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
  34. package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
  35. package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
  36. package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
  37. package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
  38. package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
  39. package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
  40. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
  41. package/es/common/dot_animation.module.css +16 -3
  42. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
  43. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
  44. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
  45. package/es/emptystate/EditionPage/EditionPage.css +9 -3
  46. package/es/errorstate/EmptyStates.module.css +13 -10
  47. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
  48. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  49. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  50. package/es/errorstate/WillBack/WillBack.module.css +1 -3
  51. package/es/form/fields/Fields.module.css +49 -14
  52. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
  53. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
  54. package/es/form/fields/TextEditor/TextEditor.module.css +149 -72
  55. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
  56. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
  57. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
  58. package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
  59. package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
  60. package/es/list/Comment/Comment.module.css +5 -0
  61. package/es/list/DotNew/DotNew.module.css +3 -3
  62. package/es/list/GridStencils/GridStencils.module.css +71 -17
  63. package/es/list/Icons/Icons.module.css +1 -1
  64. package/es/list/ListLayout/ListLayout.module.css +22 -14
  65. package/es/list/ListStencils/ListStencils.module.css +11 -6
  66. package/es/list/SecondaryText/SecondaryText.module.css +14 -4
  67. package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
  68. package/es/list/TagNew/TagNew.module.css +14 -7
  69. package/es/list/Thread/Thread.module.css +13 -1
  70. package/es/list/UserTime/UserTime.module.css +6 -0
  71. package/es/list/listCommon.module.css +9 -1
  72. package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
  73. package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
  74. package/es/lookup/Lookup/Lookup.module.css +2 -2
  75. package/es/lookup/Section/LookupSection.module.css +2 -2
  76. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  77. package/es/lookup/header/Search/LookupSearch.module.css +21 -12
  78. package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
  79. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -3
  80. package/es/lookup/header/lookupHeaderCommon.module.css +15 -5
  81. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
  82. package/es/setup/header/Button/HeaderButton.module.css +3 -1
  83. package/es/setup/header/Link/HeaderLink.module.css +7 -1
  84. package/es/setup/header/Search/Search.module.css +19 -8
  85. package/es/setup/header/Views/Views.module.css +15 -5
  86. package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
  87. package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
  88. package/es/setup/table/TableData/SetupTableData.module.css +11 -3
  89. package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
  90. package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
  91. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  92. package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
  93. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
  94. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
  95. package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
  96. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +26 -10
  97. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
  98. package/lib/ActionButton/ActionButton.module.css +0 -1
  99. package/lib/AttachmentViewer/Attachment.js +28 -0
  100. package/lib/AttachmentViewer/AttachmentImage.js +133 -0
  101. package/lib/AttachmentViewer/AttachmentViewer.js +646 -0
  102. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -0
  103. package/lib/AttachmentViewer/utils.js +134 -0
  104. package/lib/FreezeLayer/FreezeLayer.js +29 -4
  105. package/lib/ImportantNotes/ImportantNotes.js +5 -3
  106. package/lib/Provider/Config.js +21 -0
  107. package/lib/Provider.js +112 -37
  108. package/lib/common/dot_animation.module.css +27 -0
  109. package/lib/common/dot_common.module.css +4 -0
  110. package/lib/deprecated/utils/General.js +29 -0
  111. package/lib/{utils → deprecated/utils}/KeyboardApi.js +0 -0
  112. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
  113. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  114. package/lib/form/fields/CurrencyField/CurrencyField.js +9 -8
  115. package/lib/form/fields/DateField/DateField.js +1 -1
  116. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  117. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  118. package/lib/form/fields/RadioField/RadioField.js +1 -1
  119. package/lib/form/fields/SelectField/SelectField.js +1 -1
  120. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +27 -13
  121. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  122. package/lib/form/fields/TextEditor/TextEditor.js +4 -1
  123. package/lib/form/fields/TextEditor/TextEditor.module.css +13 -2
  124. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  125. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  126. package/lib/list/GridStencils/GridStencils.module.css +3 -1
  127. package/lib/list/SecondaryText/SecondaryText.module.css +1 -1
  128. package/lib/list/status/StatusDropdown/StatusDropdown.js +45 -38
  129. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
  130. package/lib/lookup/header/TicketHeader/TicketHeader.js +7 -4
  131. package/lib/lookup/header/lookupHeaderCommon.module.css +8 -2
  132. package/lib/setup/header/Views/Views.js +2 -2
  133. package/lib/utils/General.js +0 -24
  134. package/package.json +7 -7
  135. package/es/utils/KeyboardApi.js +0 -294
@@ -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);
@@ -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