@zohodesk/dot 1.0.0-beta.223 → 1.0.0-beta.224

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 (126) hide show
  1. package/README.md +6 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +2 -0
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +2 -0
  4. package/es/ActionButton/ActionButton.module.css +25 -9
  5. package/es/AlphabeticList/AlphabeticList.module.css +7 -4
  6. package/es/Attachment/Attachment.module.css +20 -9
  7. package/es/AttachmentViewer/AttachmentViewer.module.css +82 -27
  8. package/es/ChannelIcon/ChannelIcon.module.css +30 -21
  9. package/es/Drawer/Drawer.module.css +59 -11
  10. package/es/FlipCard/FlipCard.module.css +14 -5
  11. package/es/FormAction/FormAction.module.css +34 -9
  12. package/es/FreezeLayer/FreezeLayer.js +3 -6
  13. package/es/FreezeLayer/FreezeLayer.module.css +6 -2
  14. package/es/IconButton/IconButton.module.css +1 -1
  15. package/es/ImportantNotes/ImportantNotes.js +5 -3
  16. package/es/ImportantNotes/ImportantNotes.module.css +7 -2
  17. package/es/Loader/Loader.module.css +25 -4
  18. package/es/Message/Message.module.css +42 -9
  19. package/es/MessageBanner/MessageBanner.module.css +12 -4
  20. package/es/NewStar/NewStar.module.css +42 -5
  21. package/es/ToastMessage/ToastMessage.module.css +96 -25
  22. package/es/Upload/Upload.module.css +27 -8
  23. package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
  24. package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
  25. package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
  26. package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
  27. package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
  28. package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
  29. package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
  30. package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
  31. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
  32. package/es/common/dot_animation.module.css +16 -3
  33. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
  34. package/es/{utils → deprecated/utils}/KeyboardApi.js +0 -0
  35. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +2 -0
  36. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
  37. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
  38. package/es/emptystate/EditionPage/EditionPage.css +9 -3
  39. package/es/errorstate/EmptyStates.module.css +13 -10
  40. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
  41. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  42. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  43. package/es/errorstate/WillBack/WillBack.module.css +1 -3
  44. package/es/form/fields/Fields.module.css +49 -14
  45. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
  46. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
  47. package/es/form/fields/TextEditor/TextEditor.module.css +149 -72
  48. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
  49. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
  50. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
  51. package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
  52. package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
  53. package/es/list/Comment/Comment.module.css +5 -0
  54. package/es/list/DotNew/DotNew.module.css +3 -3
  55. package/es/list/GridStencils/GridStencils.module.css +71 -17
  56. package/es/list/Icons/Icons.module.css +1 -1
  57. package/es/list/ListLayout/ListLayout.module.css +22 -14
  58. package/es/list/ListStencils/ListStencils.module.css +11 -6
  59. package/es/list/SecondaryText/SecondaryText.module.css +13 -3
  60. package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
  61. package/es/list/TagNew/TagNew.module.css +14 -7
  62. package/es/list/Thread/Thread.module.css +13 -1
  63. package/es/list/UserTime/UserTime.module.css +6 -0
  64. package/es/list/listCommon.module.css +9 -1
  65. package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
  66. package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
  67. package/es/lookup/Lookup/Lookup.module.css +2 -2
  68. package/es/lookup/Section/LookupSection.module.css +2 -2
  69. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  70. package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
  71. package/es/lookup/header/Search/LookupSearch.module.css +21 -12
  72. package/es/lookup/header/TicketHeader/TicketHeader.js +7 -4
  73. package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
  74. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -3
  75. package/es/lookup/header/lookupHeaderCommon.module.css +21 -5
  76. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
  77. package/es/setup/header/Button/HeaderButton.module.css +3 -1
  78. package/es/setup/header/Link/HeaderLink.module.css +7 -1
  79. package/es/setup/header/Search/Search.module.css +19 -8
  80. package/es/setup/header/Views/Views.module.css +15 -5
  81. package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
  82. package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
  83. package/es/setup/table/TableData/SetupTableData.module.css +11 -3
  84. package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
  85. package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
  86. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  87. package/es/version2/GlobalNotification/GlobalNotification.js +2 -0
  88. package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
  89. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
  90. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
  91. package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
  92. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +26 -10
  93. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
  94. package/lib/ActionButton/ActionButton.module.css +0 -1
  95. package/lib/AttachmentViewer/Attachment.js +28 -0
  96. package/lib/AttachmentViewer/AttachmentImage.js +129 -0
  97. package/lib/AttachmentViewer/AttachmentViewer.js +645 -0
  98. package/lib/AttachmentViewer/AttachmentViewer.module.css +346 -0
  99. package/lib/AttachmentViewer/utils.js +134 -0
  100. package/lib/FreezeLayer/FreezeLayer.js +29 -4
  101. package/lib/ImportantNotes/ImportantNotes.js +5 -3
  102. package/lib/Provider/Config.js +21 -0
  103. package/lib/common/dot_animation.module.css +27 -0
  104. package/lib/common/dot_common.module.css +4 -0
  105. package/lib/deprecated/utils/General.js +29 -0
  106. package/lib/{utils → deprecated/utils}/KeyboardApi.js +0 -0
  107. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  108. package/lib/form/fields/CurrencyField/CurrencyField.js +9 -8
  109. package/lib/form/fields/DateField/DateField.js +1 -1
  110. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  111. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  112. package/lib/form/fields/RadioField/RadioField.js +1 -1
  113. package/lib/form/fields/SelectField/SelectField.js +1 -1
  114. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +27 -13
  115. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  116. package/lib/form/fields/TextEditor/TextEditor.js +4 -1
  117. package/lib/form/fields/TextEditor/TextEditor.module.css +13 -2
  118. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  119. package/lib/list/GridStencils/GridStencils.module.css +3 -1
  120. package/lib/list/status/StatusDropdown/StatusDropdown.js +44 -37
  121. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
  122. package/lib/lookup/header/TicketHeader/TicketHeader.js +7 -4
  123. package/lib/lookup/header/lookupHeaderCommon.module.css +8 -2
  124. package/lib/setup/header/Views/Views.js +2 -2
  125. package/lib/utils/General.js +0 -24
  126. package/package.json +7 -7
@@ -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
+ }
@@ -2,8 +2,7 @@ import React, { Component } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container } from '@zohodesk/components/lib/Layout';
4
4
  import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
5
- import style from './FreezeLayer.module.css'; //import { Shortcut } from '../utils/KeyboardApi';
6
-
5
+ import style from './FreezeLayer.module.css';
7
6
  import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
8
7
  import { getDotLibraryConfig } from '../Provider/Config';
9
8
  export default class FreezeLayer extends Component {
@@ -53,8 +52,7 @@ export default class FreezeLayer extends Component {
53
52
 
54
53
  if (isActive != prevProps.isActive) {
55
54
  if (isActive) {
56
- this.enableFreeze(); // Shortcut && Shortcut.setState(false);
57
-
55
+ this.enableFreeze();
58
56
  this.setState({
59
57
  isActive: true
60
58
  }, () => {
@@ -63,8 +61,7 @@ export default class FreezeLayer extends Component {
63
61
  });
64
62
  });
65
63
  } else {
66
- this.disableFreeze(); // Shortcut && Shortcut.setState(true);
67
-
64
+ this.disableFreeze();
68
65
  this.setState({
69
66
  isChildActive: false
70
67
  }, () => {
@@ -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);
@@ -15,14 +15,15 @@ export default class ImportantNotes extends React.Component {
15
15
  iconSize,
16
16
  children,
17
17
  iconClass,
18
- isCover
18
+ isCover,
19
+ className
19
20
  } = this.props;
20
21
  return /*#__PURE__*/React.createElement(Container, {
21
22
  isInline: !isCover,
22
23
  isCover: false,
23
24
  alignBox: "row",
24
25
  align: "top",
25
- className: style.section
26
+ className: `${style.section} ${className || ''}`
26
27
  }, iconName ? /*#__PURE__*/React.createElement(Box, {
27
28
  className: style.icon,
28
29
  align: "start"
@@ -43,7 +44,8 @@ ImportantNotes.propTypes = {
43
44
  iconName: PropTypes.string,
44
45
  iconSize: PropTypes.string,
45
46
  isCover: PropTypes.bool,
46
- text: PropTypes.string
47
+ text: PropTypes.string,
48
+ className: PropTypes.string
47
49
  };
48
50
  ImportantNotes.defaultProps = {
49
51
  iconName: 'ZD-helpCentre',
@@ -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