@salesforcedevs/dx-components 1.3.167-alpha → 1.3.167-alpha-01

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/lwc.config.json CHANGED
@@ -41,6 +41,7 @@
41
41
  "dx/filterMenu",
42
42
  "dx/footer",
43
43
  "dx/formattedDateTime",
44
+ "dx/formattedRichText",
44
45
  "dx/grid",
45
46
  "dx/groupText",
46
47
  "dx/header",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.167-alpha",
3
+ "version": "1.3.167-alpha-01",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -6,7 +6,7 @@ import {
6
6
  setLocalStorageData
7
7
  } from "@sfdocs-internal/wires";
8
8
  import { track as gtmTrack } from "dxUtils/analytics";
9
- import prism from "../../dxUtils/prismjs/prismjs";
9
+ import prism from "dxUtils/prismjs";
10
10
 
11
11
  // Used por remove enclosing <pre> tag's (if occurs)
12
12
  const preTagRegexp: RegExp = /^<pre.*?>(.*)<\/pre>$/is;
@@ -8,7 +8,7 @@ import { LightningElement, api, track } from "lwc";
8
8
  import cx from "classnames";
9
9
  import get from "lodash.get";
10
10
  import { toJson } from "dxUtils/normalizers";
11
- import { deepmapOptions } from "../../dxUtils/options/options";
11
+ import { deepmapOptions } from "dxUtils/options";
12
12
 
13
13
  interface DropdownOption extends OptionWithNested {
14
14
  // link that gets shown as a highlighted link at end of option group
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="container">
3
3
  <h2 class="faq-title dx-text-display-4">{title}</h2>
4
- <div class="faq-content">
4
+ <div class="faq-content" part="content">
5
5
  <template iterator:it={options}>
6
6
  <details key={it.value.title} open={it.first}>
7
7
  <summary class="dx-text-display-7">
@@ -494,21 +494,6 @@ dx-image-and-label {
494
494
  margin-bottom: calc(var(--dx-c-bottom-image-height) * -0.72);
495
495
  }
496
496
 
497
- .dx-text-display-6 {
498
- font-size: var(--dx-g-text-xl);
499
- }
500
-
501
- .dx-text-display-2 {
502
- font-size: var(--dx-g-text-2xl);
503
- line-height: var(--dx-g-spacing-2xl);
504
- }
505
-
506
- .dx-text-body-1 {
507
- font-size: var(--dx-g-text-base);
508
- letter-spacing: 0;
509
- line-height: var(--dx-g-spacing-lg);
510
- }
511
-
512
497
  .buttons {
513
498
  flex-direction: column;
514
499
  }
@@ -543,6 +528,23 @@ dx-image-and-label {
543
528
  }
544
529
  }
545
530
 
531
+ @media screen and (max-width: 768px) {
532
+ .dx-text-display-6 {
533
+ font-size: var(--dx-g-text-xl);
534
+ }
535
+
536
+ .dx-text-display-2 {
537
+ font-size: var(--dx-g-text-2xl);
538
+ line-height: var(--dx-g-spacing-2xl);
539
+ }
540
+
541
+ .dx-text-body-1 {
542
+ font-size: var(--dx-g-text-base);
543
+ letter-spacing: 0;
544
+ line-height: var(--dx-g-spacing-lg);
545
+ }
546
+ }
547
+
546
548
  @media screen and (max-width: 600px) {
547
549
  .img-placement_below .image-container {
548
550
  margin-bottom: calc(var(--dx-c-bottom-image-height) * -0.8);
@@ -1,7 +1,7 @@
1
1
  import { LightningElement, api } from "lwc";
2
2
  import cx from "classnames";
3
3
  import { OptionWithNested } from "typings/custom";
4
- import { deepmapOptions } from "../../dxUtils/options/options";
4
+ import { deepmapOptions } from "dxUtils/options";
5
5
 
6
6
  export default class HeaderMobileNavMenu extends LightningElement {
7
7
  @api open: boolean = false;
@@ -5,7 +5,7 @@ import {
5
5
  CONTENT_TYPE_LABELS,
6
6
  CONTENT_TYPE_ICONS
7
7
  } from "dxConstants/contentTypes";
8
- import { getContentTypeColorVariables } from "../../dxUtils/contentTypes/contentTypes";
8
+ import { getContentTypeColorVariables } from "dxUtils/contentTypes";
9
9
 
10
10
  interface CoveoSearch {
11
11
  state: typeof CoveoSDK.state;
@@ -116,7 +116,7 @@
116
116
  }
117
117
  }
118
118
 
119
- @media screen and (max-width: 1024px) {
119
+ @media screen and (max-width: 768px) {
120
120
  :host {
121
121
  --dx-c-section-padding-vertical: 80px;
122
122
  }
@@ -130,20 +130,26 @@
130
130
  }
131
131
 
132
132
  .label {
133
- font-size: 16px;
133
+ font-size: var(--dx-g-text-base);
134
134
  letter-spacing: -0.2px;
135
135
  line-height: 20px;
136
136
  }
137
137
 
138
138
  .subtitle {
139
- font-size: 16px;
139
+ font-size: var(--dx-g-text-base);
140
140
  letter-spacing: 0;
141
141
  line-height: 24px;
142
142
  }
143
143
 
144
144
  .heading {
145
- font-size: 32px;
145
+ font-size: var(--dx-g-text-2xl);
146
146
  letter-spacing: -0.6px;
147
147
  line-height: 40px;
148
148
  }
149
+
150
+ .heading.dx-text-display-4 {
151
+ font-size: var(--dx-g-text-xl);
152
+ letter-spacing: -0.6px;
153
+ line-height: 32px;
154
+ }
149
155
  }
@@ -18,7 +18,7 @@ import {
18
18
  getContentTypeColorScope,
19
19
  isContentType,
20
20
  getContentTypeColorVariables
21
- } from "../../dxUtils/contentTypes/contentTypes";
21
+ } from "dxUtils/contentTypes";
22
22
 
23
23
  export default class TypeBadge extends LightningElement {
24
24
  @api size: TypeBadgeSize = "default";