@doyourjob/gravity-ui-page-constructor-addons 2.1.18 → 2.1.19

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.
@@ -5,6 +5,8 @@ unpredictable css rules order in build */
5
5
  width: 100%;
6
6
  color: var(--g-color-text-brand-contrast);
7
7
  background-color: var(--g-color-base-brand);
8
+ overflow: hidden;
9
+ animation: expand-mobile 0.5s ease forwards;
8
10
  }
9
11
 
10
12
  .pc-addons-header-stripe__root_only-desktop {
@@ -16,6 +18,11 @@ unpredictable css rules order in build */
16
18
  display: block;
17
19
  }
18
20
  }
21
+ @media (min-width: 769px) {
22
+ .pc-addons-header-stripe__root {
23
+ animation: expand-desktop 0.5s ease forwards;
24
+ }
25
+ }
19
26
  .pc-addons-header-stripe__content {
20
27
  position: relative;
21
28
  display: flex;
@@ -109,4 +116,21 @@ unpredictable css rules order in build */
109
116
 
110
117
  .pc-addons-header-stripe__close:hover {
111
118
  opacity: 0.6;
119
+ }
120
+
121
+ @keyframes expand-mobile {
122
+ from {
123
+ max-height: 0;
124
+ }
125
+ to {
126
+ max-height: 56px;
127
+ }
128
+ }
129
+ @keyframes expand-desktop {
130
+ from {
131
+ max-height: 0;
132
+ }
133
+ to {
134
+ max-height: 36px;
135
+ }
112
136
  }
@@ -5,6 +5,8 @@ unpredictable css rules order in build */
5
5
  width: 100%;
6
6
  color: var(--g-color-text-brand-contrast);
7
7
  background-color: var(--g-color-base-brand);
8
+ overflow: hidden;
9
+ animation: expand-mobile 0.5s ease forwards;
8
10
  }
9
11
 
10
12
  .pc-addons-header-stripe__root_only-desktop {
@@ -16,6 +18,11 @@ unpredictable css rules order in build */
16
18
  display: block;
17
19
  }
18
20
  }
21
+ @media (min-width: 769px) {
22
+ .pc-addons-header-stripe__root {
23
+ animation: expand-desktop 0.5s ease forwards;
24
+ }
25
+ }
19
26
  .pc-addons-header-stripe__content {
20
27
  position: relative;
21
28
  display: flex;
@@ -109,4 +116,21 @@ unpredictable css rules order in build */
109
116
 
110
117
  .pc-addons-header-stripe__close:hover {
111
118
  opacity: 0.6;
119
+ }
120
+
121
+ @keyframes expand-mobile {
122
+ from {
123
+ max-height: 0;
124
+ }
125
+ to {
126
+ max-height: 56px;
127
+ }
128
+ }
129
+ @keyframes expand-desktop {
130
+ from {
131
+ max-height: 0;
132
+ }
133
+ to {
134
+ max-height: 36px;
135
+ }
112
136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor-addons",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "description": "Components and plugins for @doyourjob/gravity-ui-page-constructor",
5
5
  "license": "MIT",
6
6
  "repository": {