@salesforcedevs/dx-components 1.3.174 → 1.3.176

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.174",
3
+ "version": "1.3.176",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
7
- "node": ">= 14.x"
7
+ "node": "16.x"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@coveo/headless": "^2.16.5",
14
14
  "@floating-ui/dom": "1.5.1",
15
- "@sfdocs-internal/wires": "^0.6.3",
15
+ "@sfdocs-internal/wires": "0.6.89",
16
16
  "@types/throttle-debounce": "^5.0.0",
17
17
  "@vimeo/player": "^2.16.4",
18
18
  "classnames": "^2.2.6",
@@ -41,5 +41,5 @@
41
41
  "eventsourcemock": "^2.0.0",
42
42
  "luxon": "^3.1.0"
43
43
  },
44
- "gitHead": "4a3d0298cddcc57274c4d01158fe0696037b9cfa"
44
+ "gitHead": "ac00917f8b0c526085783d5a31d2b9197addf03d"
45
45
  }
@@ -3,7 +3,6 @@
3
3
  <!-- MOBILE -->
4
4
  <template if:true={mobile}>
5
5
  <dx-dropdown
6
- aria-label="Record Type"
7
6
  class="mobile_search-dropdown"
8
7
  open={isDropdownOpen}
9
8
  options={suggestions}
@@ -12,7 +11,6 @@
12
11
  page-padding="0"
13
12
  >
14
13
  <dx-input
15
- aria-label="Record Search Term"
16
14
  class={mobileSearchInputClassName}
17
15
  icon-size="large"
18
16
  icon-symbol="search"
@@ -45,7 +43,6 @@
45
43
  full-width
46
44
  >
47
45
  <dx-input
48
- aria-label="Record Search Term"
49
46
  icon-symbol="search"
50
47
  onchange={onInputChange}
51
48
  onclear={onInputEscape}
@@ -5,7 +5,6 @@
5
5
  <div
6
6
  class={className}
7
7
  style={style}
8
- aria-label={ariaLabel}
9
8
  part="content"
10
9
  onkeydown={onKeyDown}
11
10
  >
@@ -31,7 +31,6 @@ const isEventOutsideElements = (
31
31
  );
32
32
 
33
33
  export default class Popover extends LightningElement {
34
- @api ariaLabel: string | null = null;
35
34
  @api offset?: "small" | "medium";
36
35
  @api pagePadding?: number = 16; // padding between dropdown and the edge of the page
37
36
  @api placement?: PopperPlacement = "bottom-start";
@@ -254,9 +253,9 @@ export default class Popover extends LightningElement {
254
253
  const elements = slot.assignedElements();
255
254
  const slotted = elements.length === 0 ? null : elements[0];
256
255
  // allows dropdown/select to compose popover
257
- const slotElement = (slotted?.tagName === "SLOT"
258
- ? slotted.firstChild
259
- : slotted) as HTMLElement | null;
256
+ const slotElement = (
257
+ slotted?.tagName === "SLOT" ? slotted.firstChild : slotted
258
+ ) as HTMLElement | null;
260
259
  const isWorkToDo =
261
260
  slotElement &&
262
261
  (!this.control || !slotElement.isSameNode(this.control));
@@ -146,4 +146,10 @@
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
  }
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <dx-dropdown
3
- aria-label="Recent Searches"
4
3
  open={isDropdownOpen}
5
4
  options={recentSearches}
6
5
  onchange={onClickRecentSearch}
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="toc" role="directory">
2
+ <div class="toc" role="navigation">
3
3
  <div class="toc toc_content">
4
4
  <h2 class="dx-text-display-8 toc_title">{title}</h2>
5
5
  <template for:each={options} for:item="option">
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <a href={href} class={tileClass} target={target}>
3
- <div class="flex indentation" aria-level={tileAriaLevel}>
3
+ <div class="flex indentation" role="heading" aria-level={tileAriaLevel}>
4
4
  <span
5
5
  class="tile-label sidebar-item-truncate-text"
6
6
  title={treeNode.label}