@salesforcedevs/docs-components 1.3.87-version-picker-alpha → 1.3.92-docs-headings-wes1

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/docs-components",
3
- "version": "1.3.87-version-picker-alpha",
3
+ "version": "1.3.92-docs-headings-wes1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -9,5 +9,5 @@
9
9
  }
10
10
 
11
11
  .version-picker-text {
12
- border-bottom: 1px dashed #0176D3 !important;
12
+ border-bottom: 1px dashed var(--dx-g-blue-vibrant-50);
13
13
  }
@@ -71,21 +71,21 @@ h6 {
71
71
 
72
72
  h1 {
73
73
  font-size: var(--dx-g-text-3xl);
74
- letter-spacing: -0.85px;
74
+ letter-spacing: -0.8px;
75
75
  line-height: var(--dx-g-spacing-3xl);
76
76
  margin: var(--dx-g-spacing-2xl) 0 var(--dx-g-spacing-md) 0;
77
77
  }
78
78
 
79
79
  h2 {
80
80
  font-size: var(--dx-g-text-2xl);
81
- letter-spacing: -0.6px;
81
+ letter-spacing: -0.4px;
82
82
  line-height: var(--dx-g-spacing-2xl);
83
83
  margin: var(--dx-g-spacing-2xl) 0 var(--dx-g-spacing-md) 0;
84
84
  }
85
85
 
86
86
  h3 {
87
87
  font-size: var(--dx-g-text-xl);
88
- letter-spacing: -0.5px;
88
+ letter-spacing: -0.4px;
89
89
  line-height: var(--dx-g-spacing-xl);
90
90
  margin: var(--dx-g-spacing-xl) 0 var(--dx-g-spacing-md) 0;
91
91
  }
@@ -1,9 +1,5 @@
1
1
  import { LightningElement, api } from "lwc";
2
2
 
3
- export const displayLevels = ["3", "4", "5", "6"];
4
-
5
- export const ariaLevels = ["1", "2", "3", "4"];
6
-
7
3
  export const ariaDisplayLevels: { [key: string]: string } = {
8
4
  "1": "4",
9
5
  "2": "5",
@@ -11,6 +7,10 @@ export const ariaDisplayLevels: { [key: string]: string } = {
11
7
  "4": "8"
12
8
  };
13
9
 
10
+ export const ariaLevels = Object.keys(ariaDisplayLevels);
11
+
12
+ export const displayLevels = Object.values(ariaDisplayLevels);
13
+
14
14
  export default class Heading extends LightningElement {
15
15
  @api title: string = "";
16
16
  @api hash: string | null = null;