@salesforcedevs/dx-components 1.3.262 → 1.3.263

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.263",
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": "68f4f16b723448bf1b5df3659874a914cea972b9"
49
49
  }
@@ -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>