@salesforcedevs/mrkt-components 0.74.0-alpha02 → 0.74.0-alpha03

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/mrkt-components",
3
- "version": "0.74.0-alpha02",
3
+ "version": "0.74.0-alpha03",
4
4
  "description": "Marketing Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -8,7 +8,7 @@
8
8
 
9
9
  .subnav {
10
10
  position: sticky;
11
- top: 0;
11
+ top: -1px; /* necessary for intersection observer ux */
12
12
  left: 0;
13
13
  width: 100%;
14
14
  height: var(--subnav-height);
@@ -19,10 +19,7 @@
19
19
  align-items: center;
20
20
  justify-content: space-between;
21
21
  z-index: 100000;
22
- }
23
-
24
- .subnav.is-sticky {
25
- background: red;
22
+ transition: var(--dx-g-transition-box-shadow-1x);
26
23
  }
27
24
 
28
25
  .subnav::after {
@@ -112,6 +109,16 @@ a > span {
112
109
 
113
110
  dx-button {
114
111
  flex-shrink: 0;
112
+ visibility: hidden;
113
+ }
114
+
115
+ .subnav.is-sticky {
116
+ box-shadow: 0 0 2px rgba(24, 24, 24, 0.08),
117
+ 0 2px 4px 1px rgba(24, 24, 24, 0.16);
118
+ }
119
+
120
+ .subnav.is-sticky dx-button {
121
+ visibility: visible;
115
122
  }
116
123
 
117
124
  @media (max-width: 1024px) {