@salesforcedevs/dx-components 1.3.262 → 1.3.266

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": "1.3.262",
3
+ "version": "1.3.266",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -45,5 +45,5 @@
45
45
  "volta": {
46
46
  "node": "16.19.1"
47
47
  },
48
- "gitHead": "fa38a93ede50fc83e6bf65da359a8db469288e9b"
48
+ "gitHead": "c4e5e744777871657aca0f2977421b39a4ef5340"
49
49
  }
@@ -4,7 +4,7 @@
4
4
  body={body}
5
5
  featured={featured}
6
6
  href={href}
7
- label="Trailhead"
7
+ label={label}
8
8
  subtitle={subtitle}
9
9
  target={target}
10
10
  title={title}
@@ -11,6 +11,7 @@ export default class CardTrailheadModule extends LightningElement {
11
11
  @api points!: string | number;
12
12
  @api target?: string | null = null;
13
13
  @api title!: string;
14
+ @api label?: string = "Trailhead";
14
15
 
15
16
  get subtitle() {
16
17
  return `${this.points} Points`;
@@ -6,7 +6,7 @@
6
6
  id={tabId}
7
7
  onclick={onClick}
8
8
  class={className}
9
- aria-label="Tab button"
9
+ aria-label={tabLabel}
10
10
  aria-selected={active}
11
11
  tabindex="0"
12
12
  >
@@ -18,7 +18,7 @@
18
18
  part="tab"
19
19
  onclick={onClick}
20
20
  class={className}
21
- aria-label="Tab button"
21
+ aria-label={tabLabel}
22
22
  tabindex="0"
23
23
  >
24
24
  <slot></slot>
@@ -4,6 +4,7 @@ export default class TabPanelItem extends LightningElement {
4
4
  @api groupId!: string;
5
5
  @api index!: number;
6
6
  @api active!: boolean;
7
+ @api tabLabel!: string;
7
8
  @api role: "button" | "tab" = "tab";
8
9
 
9
10
  @api focus() {
@@ -9,6 +9,7 @@
9
9
  group-id={groupId}
10
10
  index={tab.index}
11
11
  active={tab.active}
12
+ tab-label={tab.label}
12
13
  >
13
14
  {tab.label}
14
15
  </dx-tab-panel-item>
@@ -19,6 +20,7 @@
19
20
  role="button"
20
21
  class="more-btn-container"
21
22
  slot="control"
23
+ tab-label="More"
22
24
  >
23
25
  <div class="more-btn">
24
26
  More
@@ -39,6 +41,7 @@
39
41
  key={dropdownItem.label}
40
42
  class="dropdown-item"
41
43
  tabindex="0"
44
+ tab-label={dropdownItem.label}
42
45
  >
43
46
  {dropdownItem.label}
44
47
  </div>