@salesforcedevs/dx-components 0.0.0-alpha.4 → 0.0.0-alpha.5

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/dx-components",
3
- "version": "0.0.0-alpha.4",
3
+ "version": "0.0.0-alpha.5",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -13,20 +13,22 @@
13
13
  --dx-c-button-opacity: 1;
14
14
  --dx-c-button-font-size: var(--dx-g-text-sm);
15
15
  --dx-c-button-font-weight: var(--dx-g-font-normal);
16
+ --dx-c-button-display: flex;
16
17
  }
17
18
 
18
19
  .button {
19
20
  background-color: var(--dx-c-button-background-color);
20
21
  opacity: var(--dx-c-button-opacity);
21
22
  width: inherit;
22
- display: flex;
23
+ display: var(--dx-c-button-display);
23
24
  align-items: center;
24
25
  justify-content: var(--dx-c-button-justify-content);
25
26
  user-select: none;
26
27
  white-space: nowrap;
27
28
  font-size: var(--dx-c-button-font-size);
28
29
  transition: var(--dx-g-transition-hue-1x);
29
- padding: 0 var(--dx-c-button-horizontal-spacing, var(--dx-g-spacing-md));
30
+ padding: var(--dx-c-button-vertical-spacing, 0)
31
+ var(--dx-c-button-horizontal-spacing, var(--dx-g-spacing-md));
30
32
  border-radius: var(--dx-g-spacing-xs);
31
33
  font-weight: var(--dx-c-button-font-weight);
32
34
  }
@@ -21,6 +21,8 @@
21
21
  --dx-c-moon-graphic-color: var(--dx-g-indigo-vibrant-40);
22
22
  --dx-c-featured-content-header-image-container-transform: scale(0.7)
23
23
  translateY(14px);
24
+ --dx-c-featured-content-header-swoop-display: block;
25
+ --dx-c-featured-content-header-swoop-height: 30%;
24
26
  }
25
27
 
26
28
  .container {
@@ -32,7 +34,7 @@
32
34
  /* actual spacing between bottom of graphic and rest of page content */
33
35
  --bottom-spacing: var(--dx-g-spacing-4xl);
34
36
  --item-spacing: var(--dx-g-spacing-xl);
35
- --swoop-height: 30%;
37
+ --swoop-height: var(--dx-c-featured-content-header-swoop-height);
36
38
  --swoop-inset: calc(2.5 * var(--vertical-padding));
37
39
  --swoop-z-index: 11;
38
40
 
@@ -64,6 +66,7 @@
64
66
  /* SWOOP SILHOUETTE */
65
67
 
66
68
  .swoop-silhouette {
69
+ display: var(--dx-c-featured-content-header-swoop-display);
67
70
  position: absolute;
68
71
  bottom: -2px;
69
72
  left: -1px;
@@ -230,8 +233,9 @@
230
233
 
231
234
  .custom-bg-trial::after {
232
235
  content: "";
233
- background-image: url(/assets/svg/trial-left.svg), url(/assets/svg/trial-right.svg);
234
- background-position: 48px 50px, right 95px top;
236
+ background-image: url(/assets/svg/trial-left.svg),
237
+ url(/assets/svg/trial-right.svg);
238
+ background-position: 48px 50px, right 15px top;
235
239
  background-repeat: no-repeat;
236
240
  position: absolute;
237
241
  left: 0;
@@ -240,6 +244,14 @@
240
244
  height: 100%;
241
245
  }
242
246
 
247
+ @media screen and (max-width: 1024px) {
248
+ .custom-bg-trial::after {
249
+ background-image: url(/assets/svg/trial-left.svg);
250
+ background-position: 48px 30px;
251
+ background-size: contain;
252
+ }
253
+ }
254
+
243
255
  /* Z INDEX STUFF */
244
256
 
245
257
  .label,