@zohodesk/components 1.0.0-temp-201 → 1.0.0-temp-202

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 (122) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +230 -230
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/css_error.log +1 -1
  5. package/es/AppContainer/AppContainer.module.css +18 -18
  6. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  7. package/es/AvatarTeam/AvatarTeam.js +7 -7
  8. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  9. package/es/Button/Button.js +4 -4
  10. package/es/Buttongroup/Buttongroup.js +1 -1
  11. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  12. package/es/Card/Card.js +4 -4
  13. package/es/Card/Card.module.css +20 -20
  14. package/es/DateTime/DateWidget.module.css +38 -38
  15. package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
  16. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  17. package/es/DropDown/DropDown.module.css +5 -5
  18. package/es/DropDown/DropDownSearch.module.css +14 -14
  19. package/es/DropDown/DropDownSeparator.module.css +7 -7
  20. package/es/Heading/Heading.js +1 -3
  21. package/es/Heading/Heading.module.css +4 -4
  22. package/es/Heading/props/defaultProps.js +1 -2
  23. package/es/Heading/props/propTypes.js +1 -2
  24. package/es/Label/Label.js +2 -2
  25. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  26. package/es/Layout/Layout.module.css +335 -335
  27. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  28. package/es/Popup/PositionMapping.json +73 -73
  29. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  30. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  31. package/es/RippleEffect/RippleEffect.module.css +92 -92
  32. package/es/Select/Select.module.css +134 -134
  33. package/es/Stencils/Stencils.module.css +96 -96
  34. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  35. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  36. package/es/Tab/TabContent.module.css +4 -4
  37. package/es/Tab/Tabs.js +17 -17
  38. package/es/Tag/Tag.js +8 -8
  39. package/es/Tooltip/Tooltip.js +47 -2
  40. package/es/Tooltip/Tooltip.module.css +140 -140
  41. package/es/common/a11y.module.css +3 -3
  42. package/es/common/animation.module.css +624 -624
  43. package/es/common/avatarsizes.module.css +48 -48
  44. package/es/common/basic.module.css +33 -33
  45. package/es/common/basicReset.module.css +40 -40
  46. package/es/common/boxShadow.module.css +33 -33
  47. package/es/common/common.module.css +524 -524
  48. package/es/common/reset.module.css +13 -13
  49. package/es/common/transition.module.css +146 -146
  50. package/es/semantic/Button/semanticButton.module.css +9 -9
  51. package/es/v1/Avatar/Avatar.js +5 -5
  52. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  53. package/es/v1/Button/Button.js +4 -4
  54. package/es/v1/Heading/Heading.js +1 -3
  55. package/es/v1/Heading/props/defaultProps.js +1 -2
  56. package/es/v1/Heading/props/propTypes.js +1 -2
  57. package/es/v1/MultiSelect/MultiSelect.js +5 -5
  58. package/es/v1/Tab/v1TabContent.module.css +4 -4
  59. package/es/v1/Tag/Tag.js +8 -8
  60. package/es/v1/Typography/css/Typography.module.css +380 -380
  61. package/install.md +10 -10
  62. package/lib/AppContainer/AppContainer.module.css +18 -18
  63. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  64. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  65. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  66. package/lib/Button/Button.js +4 -4
  67. package/lib/Buttongroup/Buttongroup.js +1 -1
  68. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  69. package/lib/Card/Card.js +4 -4
  70. package/lib/Card/Card.module.css +20 -20
  71. package/lib/DateTime/DateWidget.module.css +38 -38
  72. package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
  73. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  74. package/lib/DropDown/DropDown.module.css +5 -5
  75. package/lib/DropDown/DropDownSearch.module.css +14 -14
  76. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  77. package/lib/Heading/Heading.js +3 -4
  78. package/lib/Heading/Heading.module.css +4 -4
  79. package/lib/Heading/props/defaultProps.js +1 -2
  80. package/lib/Heading/props/propTypes.js +1 -2
  81. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  82. package/lib/Layout/Layout.module.css +335 -335
  83. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  84. package/lib/Popup/PositionMapping.json +73 -73
  85. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  86. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  87. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  88. package/lib/Select/Select.module.css +134 -134
  89. package/lib/Stencils/Stencils.module.css +96 -96
  90. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  91. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  92. package/lib/Tab/TabContent.module.css +4 -4
  93. package/lib/Tab/Tabs.js +11 -11
  94. package/lib/Tag/Tag.js +8 -8
  95. package/lib/Tooltip/Tooltip.js +61 -16
  96. package/lib/Tooltip/Tooltip.module.css +140 -140
  97. package/lib/common/a11y.module.css +3 -3
  98. package/lib/common/animation.module.css +624 -624
  99. package/lib/common/avatarsizes.module.css +48 -48
  100. package/lib/common/basic.module.css +33 -33
  101. package/lib/common/basicReset.module.css +40 -40
  102. package/lib/common/boxShadow.module.css +33 -33
  103. package/lib/common/common.module.css +524 -524
  104. package/lib/common/reset.module.css +13 -13
  105. package/lib/common/transition.module.css +146 -146
  106. package/lib/semantic/Button/semanticButton.module.css +9 -9
  107. package/lib/v1/Avatar/Avatar.js +5 -5
  108. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  109. package/lib/v1/Button/Button.js +4 -4
  110. package/lib/v1/Heading/Heading.js +3 -4
  111. package/lib/v1/Heading/props/defaultProps.js +1 -2
  112. package/lib/v1/Heading/props/propTypes.js +1 -2
  113. package/lib/v1/MultiSelect/MultiSelect.js +5 -5
  114. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  115. package/lib/v1/Tag/Tag.js +8 -8
  116. package/lib/v1/Typography/css/Typography.module.css +380 -380
  117. package/package.json +1 -1
  118. package/postPublish.js +8 -8
  119. package/prePublish.js +70 -70
  120. package/propValidationArg.json +11 -11
  121. package/react-cli.config.js +23 -23
  122. package/result.json +1 -1
@@ -1,92 +1,92 @@
1
- .effect {
2
- position: relative;
3
- border-radius: var(--zd_size4);
4
- }
5
- .border {
6
- border: solid 1px var(--zdt_rippleeffect_default_border);
7
- }
8
- .default.defaultHover {
9
- border-color: var(--zdt_rippleeffect_hover_border);
10
- }
11
- .hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
12
- /* .hoverEffect:focus.primary.borderHover */
13
- {
14
- border-color: var(--zdt_rippleeffect_primary_border);
15
- }
16
- .primary.defaultHover, .hoverEffect:hover.primary.active.border
17
- /* .hoverEffect:focus.primary.active.border */
18
- {
19
- border-color: var(--zdt_rippleeffect_primary_active_border);
20
- }
21
- .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
22
- /* .hoverEffect:focus.primaryLight.borderHover */
23
- {
24
- border-color: var(--zdt_rippleeffect_primary_light_border);
25
- }
26
- .green.defaultHover, .hoverEffect:hover.green.borderHover
27
- /* .hoverEffect:focus.green.borderHover */
28
- {
29
- border-color: var(--zdt_rippleeffect_green_border);
30
- }
31
- .hoverEffect:hover.default.defaultHover
32
- /* .hoverEffect:focus.default.defaultHover */
33
- {
34
- border-color: var(--zdt_rippleeffect_slate_border);
35
- }
36
- .hoverEffect:hover.default.borderHover
37
- /* .hoverEffect:focus.default.borderHover */
38
- {
39
- border-color: var(--zdt_rippleeffect_navy_border);
40
- }
41
- .hoverEffect:hover.default.bgHover
42
- /* .hoverEffect:focus.default.bgHover */
43
- {
44
- background-color: var(--zdt_rippleeffect_hover_bg);
45
- }
46
- .hoverEffect:hover.primaryLight.bgHover
47
- /* .hoverEffect:focus.primaryLight.bgHover */
48
- {
49
- background-color: var(--zdt_rippleeffect_primary_light_bg);
50
- }
51
- .primaryFilled {
52
- background-color: var(--zdt_rippleeffect_primary_bg);
53
- }
54
- .hoverEffect:hover.primaryFilled, .primaryFilled.active {
55
- background-color: var(--zdt_rippleeffect_primaryfilled_bg);
56
- }
57
- .hoverEffect:hover.green.bgHover
58
- /* .hoverEffect:focus.green.bgHover */
59
- {
60
- background-color: var(--zdt_rippleeffect_green_bg);
61
- }
62
- .default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
63
- background-color: var(--zdt_rippleeffect_primary_light_bg);
64
- }
65
- .default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
66
- border-color: var(--zdt_rippleeffect_primary_light_border);
67
- }
68
- .green.active {
69
- background-color: var(--zdt_rippleeffect_green_bg);
70
- }
71
- .green.active.border {
72
- border-color: var(--zdt_rippleeffect_green_border);
73
- }
74
- .primary.active {
75
- background-color: var(--zdt_rippleeffect_primary_bg);
76
- }
77
- .danger.defaultHover, .hoverEffect:hover.danger.borderHover
78
- /* .hoverEffect:focus.danger.borderHover */
79
- {
80
- border-color: var(--zdt_rippleeffect_danger_border);
81
- }
82
- .hoverEffect:hover.danger.bgHover, .danger.active {
83
- background-color: var(--zdt_rippleeffect_danger_bg);
84
- }
85
- .hoverEffect:hover.primaryDark.bgHover
86
- /* .hoverEffect:focus.primaryDark.bgHover */
87
- {
88
- background-color: var(--zdt_rippleeffect_primary_dark_bg);
89
- }
90
- .notAllowed {
91
- cursor: not-allowed;
92
- }
1
+ .effect {
2
+ position: relative;
3
+ border-radius: var(--zd_size4);
4
+ }
5
+ .border {
6
+ border: solid 1px var(--zdt_rippleeffect_default_border);
7
+ }
8
+ .default.defaultHover {
9
+ border-color: var(--zdt_rippleeffect_hover_border);
10
+ }
11
+ .hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
12
+ /* .hoverEffect:focus.primary.borderHover */
13
+ {
14
+ border-color: var(--zdt_rippleeffect_primary_border);
15
+ }
16
+ .primary.defaultHover, .hoverEffect:hover.primary.active.border
17
+ /* .hoverEffect:focus.primary.active.border */
18
+ {
19
+ border-color: var(--zdt_rippleeffect_primary_active_border);
20
+ }
21
+ .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
22
+ /* .hoverEffect:focus.primaryLight.borderHover */
23
+ {
24
+ border-color: var(--zdt_rippleeffect_primary_light_border);
25
+ }
26
+ .green.defaultHover, .hoverEffect:hover.green.borderHover
27
+ /* .hoverEffect:focus.green.borderHover */
28
+ {
29
+ border-color: var(--zdt_rippleeffect_green_border);
30
+ }
31
+ .hoverEffect:hover.default.defaultHover
32
+ /* .hoverEffect:focus.default.defaultHover */
33
+ {
34
+ border-color: var(--zdt_rippleeffect_slate_border);
35
+ }
36
+ .hoverEffect:hover.default.borderHover
37
+ /* .hoverEffect:focus.default.borderHover */
38
+ {
39
+ border-color: var(--zdt_rippleeffect_navy_border);
40
+ }
41
+ .hoverEffect:hover.default.bgHover
42
+ /* .hoverEffect:focus.default.bgHover */
43
+ {
44
+ background-color: var(--zdt_rippleeffect_hover_bg);
45
+ }
46
+ .hoverEffect:hover.primaryLight.bgHover
47
+ /* .hoverEffect:focus.primaryLight.bgHover */
48
+ {
49
+ background-color: var(--zdt_rippleeffect_primary_light_bg);
50
+ }
51
+ .primaryFilled {
52
+ background-color: var(--zdt_rippleeffect_primary_bg);
53
+ }
54
+ .hoverEffect:hover.primaryFilled, .primaryFilled.active {
55
+ background-color: var(--zdt_rippleeffect_primaryfilled_bg);
56
+ }
57
+ .hoverEffect:hover.green.bgHover
58
+ /* .hoverEffect:focus.green.bgHover */
59
+ {
60
+ background-color: var(--zdt_rippleeffect_green_bg);
61
+ }
62
+ .default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
63
+ background-color: var(--zdt_rippleeffect_primary_light_bg);
64
+ }
65
+ .default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
66
+ border-color: var(--zdt_rippleeffect_primary_light_border);
67
+ }
68
+ .green.active {
69
+ background-color: var(--zdt_rippleeffect_green_bg);
70
+ }
71
+ .green.active.border {
72
+ border-color: var(--zdt_rippleeffect_green_border);
73
+ }
74
+ .primary.active {
75
+ background-color: var(--zdt_rippleeffect_primary_bg);
76
+ }
77
+ .danger.defaultHover, .hoverEffect:hover.danger.borderHover
78
+ /* .hoverEffect:focus.danger.borderHover */
79
+ {
80
+ border-color: var(--zdt_rippleeffect_danger_border);
81
+ }
82
+ .hoverEffect:hover.danger.bgHover, .danger.active {
83
+ background-color: var(--zdt_rippleeffect_danger_bg);
84
+ }
85
+ .hoverEffect:hover.primaryDark.bgHover
86
+ /* .hoverEffect:focus.primaryDark.bgHover */
87
+ {
88
+ background-color: var(--zdt_rippleeffect_primary_dark_bg);
89
+ }
90
+ .notAllowed {
91
+ cursor: not-allowed;
92
+ }
@@ -1,135 +1,135 @@
1
- .input {
2
- cursor: pointer;
3
- }
4
-
5
- .small {
6
- max-height: var(--zd_size200) ;
7
- }
8
-
9
- .medium {
10
- max-height: var(--zd_size350) ;
11
- }
12
-
13
- .large {
14
- max-height: var(--zd_size400) ;
15
- }
16
-
17
- .emptyState {
18
- font-size: var(--zd_font_size14) ;
19
- color: var(--zdt_select_emptystate_text);
20
- composes: semibold from '../common/common.module.css';
21
- }
22
-
23
- .box_small .emptyState {
24
- padding: var(--zd_size12) var(--zd_size6) ;
25
- }
26
-
27
- .box_medium .emptyState {
28
- padding: var(--zd_size12) var(--zd_size15) ;
29
- }
30
-
31
- .hide {
32
- composes: vishidden from '../common/common.module.css';
33
- }
34
-
35
- .container {
36
- position: relative;
37
- }
38
- /* css:lineheight-validation:ignore */
39
- .arrowIcon {
40
- height: var(--zd_size8) ;
41
- line-height: var(--zd_size8);
42
- }
43
-
44
- .small.search {
45
- padding: 0 var(--zd_size5) ;
46
- }
47
-
48
- .medium.search {
49
- padding: var(--zd_size3) var(--zd_size20) 0 ;
50
- }
51
-
52
- .title {
53
- margin-bottom: var(--zd_size6) ;
54
- }
55
-
56
- .groupTitle {
57
- margin: var(--zd_size6) 0 ;
58
- }
59
-
60
- .listItemContainer {
61
- padding: var(--zd_size10) 0 ;
62
- }
63
-
64
- .responsivelistItemContainer {
65
- padding: var(--zd_size10) 0 0 ;
66
- }
67
-
68
- .readonly {
69
- --textboxicon_icon_cursor: not-allowed;
70
- }
71
-
72
- .transparentContainer .arrowIcon {
73
- opacity: 0;
74
- visibility: hidden;
75
- }
76
-
77
- .transparentContainer:hover .arrowIcon {
78
- opacity: 1;
79
- visibility: visible;
80
- }
81
-
82
- .disable {
83
- color: var(--zdt_select_disable_text);
84
- }
85
-
86
- .leftIcon {
87
- position: absolute;
88
- top: 0 ;
89
- bottom: 0 ;
90
- width: var(--zd_size30) ;
91
- }
92
-
93
- [dir=ltr] .leftIcon {
94
- left: 0 ;
95
- }
96
-
97
- [dir=rtl] .leftIcon {
98
- right: 0 ;
99
- }
100
-
101
- [dir=ltr] .iconSelect {
102
- padding-left: var(--zd_size30) ;
103
- }
104
-
105
- [dir=rtl] .iconSelect {
106
- padding-right: var(--zd_size30) ;
107
- }
108
-
109
- .dropBoxList {
110
- padding: var(--zd_size10) 0 ;
111
- }
112
-
113
- .responsivedropBoxList {
114
- padding: var(--zd_size10) 0 0 0 ;
115
- }
116
-
117
- .rotate {
118
- transform: rotateX(180deg);
119
- }
120
-
121
- .iconOnHoverStyle .arrowIcon,
122
- .iconOnHoverReadonly .arrowIcon,
123
- .iconOnHoverReadonly:hover .arrowIcon {
124
- opacity: 0;
125
- visibility: hidden;
126
- }
127
-
128
- .iconOnHoverStyle:hover .arrowIcon {
129
- opacity: 1;
130
- visibility: visible;
131
- }
132
-
133
- .loader {
134
- padding: var(--zd_size10) ;
1
+ .input {
2
+ cursor: pointer;
3
+ }
4
+
5
+ .small {
6
+ max-height: var(--zd_size200) ;
7
+ }
8
+
9
+ .medium {
10
+ max-height: var(--zd_size350) ;
11
+ }
12
+
13
+ .large {
14
+ max-height: var(--zd_size400) ;
15
+ }
16
+
17
+ .emptyState {
18
+ font-size: var(--zd_font_size14) ;
19
+ color: var(--zdt_select_emptystate_text);
20
+ composes: semibold from '../common/common.module.css';
21
+ }
22
+
23
+ .box_small .emptyState {
24
+ padding: var(--zd_size12) var(--zd_size6) ;
25
+ }
26
+
27
+ .box_medium .emptyState {
28
+ padding: var(--zd_size12) var(--zd_size15) ;
29
+ }
30
+
31
+ .hide {
32
+ composes: vishidden from '../common/common.module.css';
33
+ }
34
+
35
+ .container {
36
+ position: relative;
37
+ }
38
+ /* css:lineheight-validation:ignore */
39
+ .arrowIcon {
40
+ height: var(--zd_size8) ;
41
+ line-height: var(--zd_size8);
42
+ }
43
+
44
+ .small.search {
45
+ padding: 0 var(--zd_size5) ;
46
+ }
47
+
48
+ .medium.search {
49
+ padding: var(--zd_size3) var(--zd_size20) 0 ;
50
+ }
51
+
52
+ .title {
53
+ margin-bottom: var(--zd_size6) ;
54
+ }
55
+
56
+ .groupTitle {
57
+ margin: var(--zd_size6) 0 ;
58
+ }
59
+
60
+ .listItemContainer {
61
+ padding: var(--zd_size10) 0 ;
62
+ }
63
+
64
+ .responsivelistItemContainer {
65
+ padding: var(--zd_size10) 0 0 ;
66
+ }
67
+
68
+ .readonly {
69
+ --textboxicon_icon_cursor: not-allowed;
70
+ }
71
+
72
+ .transparentContainer .arrowIcon {
73
+ opacity: 0;
74
+ visibility: hidden;
75
+ }
76
+
77
+ .transparentContainer:hover .arrowIcon {
78
+ opacity: 1;
79
+ visibility: visible;
80
+ }
81
+
82
+ .disable {
83
+ color: var(--zdt_select_disable_text);
84
+ }
85
+
86
+ .leftIcon {
87
+ position: absolute;
88
+ top: 0 ;
89
+ bottom: 0 ;
90
+ width: var(--zd_size30) ;
91
+ }
92
+
93
+ [dir=ltr] .leftIcon {
94
+ left: 0 ;
95
+ }
96
+
97
+ [dir=rtl] .leftIcon {
98
+ right: 0 ;
99
+ }
100
+
101
+ [dir=ltr] .iconSelect {
102
+ padding-left: var(--zd_size30) ;
103
+ }
104
+
105
+ [dir=rtl] .iconSelect {
106
+ padding-right: var(--zd_size30) ;
107
+ }
108
+
109
+ .dropBoxList {
110
+ padding: var(--zd_size10) 0 ;
111
+ }
112
+
113
+ .responsivedropBoxList {
114
+ padding: var(--zd_size10) 0 0 0 ;
115
+ }
116
+
117
+ .rotate {
118
+ transform: rotateX(180deg);
119
+ }
120
+
121
+ .iconOnHoverStyle .arrowIcon,
122
+ .iconOnHoverReadonly .arrowIcon,
123
+ .iconOnHoverReadonly:hover .arrowIcon {
124
+ opacity: 0;
125
+ visibility: hidden;
126
+ }
127
+
128
+ .iconOnHoverStyle:hover .arrowIcon {
129
+ opacity: 1;
130
+ visibility: visible;
131
+ }
132
+
133
+ .loader {
134
+ padding: var(--zd_size10) ;
135
135
  }
@@ -1,96 +1,96 @@
1
- .varClass {
2
- /* stencils default variables */
3
- --stencil_height: var(--zd_size9);
4
- --stencil_width: 100%;
5
- --stencil_border_radius: 5px;
6
- }
7
- .container {
8
- composes: varClass;
9
- height: var(--stencil_height);
10
- width: var(--stencil_width);
11
- border-radius: var(--stencil_border_radius);
12
- }
13
- .stencil {
14
- background-size: 800px 1px;
15
- }
16
- [dir=ltr] .stencil {
17
- animation-name: placeHolderShimmer-ltr ;
18
- animation-fill-mode: forwards;
19
- animation-iteration-count: infinite;
20
- animation-duration: var(--zd_transition10);
21
- animation-timing-function: linear;
22
- }
23
- [dir=rtl] .stencil {
24
- animation-name: placeHolderShimmer-rtl ;
25
- animation-fill-mode: forwards;
26
- animation-iteration-count: infinite;
27
- animation-duration: var(--zd_transition10);
28
- animation-timing-function: linear;
29
- }
30
- @keyframes placeHolderShimmer-ltr {
31
- 0% {
32
- background-position: calc(var(--zd_size468) * -1) 0;
33
- }
34
-
35
- 100% {
36
- background-position: var(--zd_size468) 0;
37
- }
38
- }
39
- @keyframes placeHolderShimmer-rtl {
40
- 0% {
41
- background-position: calc(100% - (var(--zd_size468) * -1)) 0;
42
- }
43
-
44
- 100% {
45
- background-position: var(--zd_size468) 100%;
46
- }
47
- }
48
-
49
- .rectangular {
50
- composes: stencil;
51
- --stencil_height: var(--zd_size9);
52
- --stencil_border_radius: 5px;
53
- }
54
- .primary {
55
- background-color: var(--zdt_stencil_primary_bg);
56
- background-image: var(--zdt_stencil_primary_gradient_bg);
57
- }
58
- .secondary {
59
- background-color: var(--zdt_stencil_secondary_bg);
60
- background-image: var(--zdt_stencil_secondary_gradient_bg);
61
- }
62
- .dark {
63
- background-color: var(--zdt_stencil_dark_bg);
64
- background-image: var(--zdt_stencil_dark_gradient_bg);
65
- }
66
-
67
- .small {
68
- --stencil_width: var(--zd_size110);
69
- }
70
- .default {
71
- --stencil_width: 100%;
72
- }
73
- .medium {
74
- --stencil_width: var(--zd_size170);
75
- }
76
- .large {
77
- --stencil_width: var(--zd_size220);
78
- }
79
-
80
- .circle {
81
- composes: stencil;
82
- --stencil_border_radius: 50%;
83
- }
84
- .clarge {
85
- --stencil_width: var(--zd_size42);
86
- --stencil_height: var(--zd_size42);
87
- }
88
- .cmedium,
89
- .cdefault {
90
- --stencil_width: var(--zd_size30);
91
- --stencil_height: var(--zd_size30);
92
- }
93
- .csmall {
94
- --stencil_width: var(--zd_size20);
95
- --stencil_height: var(--zd_size20);
96
- }
1
+ .varClass {
2
+ /* stencils default variables */
3
+ --stencil_height: var(--zd_size9);
4
+ --stencil_width: 100%;
5
+ --stencil_border_radius: 5px;
6
+ }
7
+ .container {
8
+ composes: varClass;
9
+ height: var(--stencil_height);
10
+ width: var(--stencil_width);
11
+ border-radius: var(--stencil_border_radius);
12
+ }
13
+ .stencil {
14
+ background-size: 800px 1px;
15
+ }
16
+ [dir=ltr] .stencil {
17
+ animation-name: placeHolderShimmer-ltr ;
18
+ animation-fill-mode: forwards;
19
+ animation-iteration-count: infinite;
20
+ animation-duration: var(--zd_transition10);
21
+ animation-timing-function: linear;
22
+ }
23
+ [dir=rtl] .stencil {
24
+ animation-name: placeHolderShimmer-rtl ;
25
+ animation-fill-mode: forwards;
26
+ animation-iteration-count: infinite;
27
+ animation-duration: var(--zd_transition10);
28
+ animation-timing-function: linear;
29
+ }
30
+ @keyframes placeHolderShimmer-ltr {
31
+ 0% {
32
+ background-position: calc(var(--zd_size468) * -1) 0;
33
+ }
34
+
35
+ 100% {
36
+ background-position: var(--zd_size468) 0;
37
+ }
38
+ }
39
+ @keyframes placeHolderShimmer-rtl {
40
+ 0% {
41
+ background-position: calc(100% - (var(--zd_size468) * -1)) 0;
42
+ }
43
+
44
+ 100% {
45
+ background-position: var(--zd_size468) 100%;
46
+ }
47
+ }
48
+
49
+ .rectangular {
50
+ composes: stencil;
51
+ --stencil_height: var(--zd_size9);
52
+ --stencil_border_radius: 5px;
53
+ }
54
+ .primary {
55
+ background-color: var(--zdt_stencil_primary_bg);
56
+ background-image: var(--zdt_stencil_primary_gradient_bg);
57
+ }
58
+ .secondary {
59
+ background-color: var(--zdt_stencil_secondary_bg);
60
+ background-image: var(--zdt_stencil_secondary_gradient_bg);
61
+ }
62
+ .dark {
63
+ background-color: var(--zdt_stencil_dark_bg);
64
+ background-image: var(--zdt_stencil_dark_gradient_bg);
65
+ }
66
+
67
+ .small {
68
+ --stencil_width: var(--zd_size110);
69
+ }
70
+ .default {
71
+ --stencil_width: 100%;
72
+ }
73
+ .medium {
74
+ --stencil_width: var(--zd_size170);
75
+ }
76
+ .large {
77
+ --stencil_width: var(--zd_size220);
78
+ }
79
+
80
+ .circle {
81
+ composes: stencil;
82
+ --stencil_border_radius: 50%;
83
+ }
84
+ .clarge {
85
+ --stencil_width: var(--zd_size42);
86
+ --stencil_height: var(--zd_size42);
87
+ }
88
+ .cmedium,
89
+ .cdefault {
90
+ --stencil_width: var(--zd_size30);
91
+ --stencil_height: var(--zd_size30);
92
+ }
93
+ .csmall {
94
+ --stencil_width: var(--zd_size20);
95
+ --stencil_height: var(--zd_size20);
96
+ }