@salesforcedevs/dx-components 1.3.398-docs-1 → 1.3.398-docs-3

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.398-docs-1",
3
+ "version": "1.3.398-docs-3",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -1,39 +1,40 @@
1
1
  <template>
2
- <a href={href} class={className} target={target}>
2
+ <a href={href} class={className} target={target} part="base">
3
3
  <img
4
4
  if:true={imgSrc}
5
5
  alt={imgAlt}
6
6
  src={imgSrc}
7
7
  class="image dx-card-base_image"
8
8
  />
9
- <span part="container">
10
- <div
11
- class="dx-card-base_section-vertical dx-card-base_column card_section-text"
12
- part="content"
9
+ <div
10
+ class="dx-card-base_section-vertical dx-card-base_column card_section-text"
11
+ part="content"
12
+ >
13
+ <span class="dx-text-label-3" lwc:if={label} part="label">
14
+ {label}
15
+ </span>
16
+ <dx-card-title
17
+ lwc:if={header}
18
+ header={header}
19
+ target={target}
20
+ onclick={handleLinkClick}
21
+ exportparts="title"
22
+ ></dx-card-title>
23
+ <span
24
+ lwc:if={body}
25
+ class="dx-text-body-2"
26
+ onclick={handleTextClick}
27
+ part="body"
13
28
  >
14
- <span class="dx-text-label-3" lwc:if={label} part="label">
15
- {label}
16
- </span>
17
- <dx-card-title
18
- lwc:if={header}
19
- header={header}
20
- target={target}
21
- onclick={handleLinkClick}
22
- exportparts="title"
23
- ></dx-card-title>
24
- <span
25
- lwc:if={body}
26
- class="dx-text-body-2"
27
- onclick={handleTextClick}
28
- part="body"
29
- >
30
- {body}
31
- </span>
32
- <span lwc:if={subText} class="dx-text-body-3">{subText}</span>
33
- </div>
34
- <div class="dx-card-base_section-vertical dx-card-base_ctas">
35
- <slot onslotchange={onSlotChange}></slot>
36
- </div>
37
- </span>
29
+ {body}
30
+ </span>
31
+ <span lwc:if={subText} class="dx-text-body-3">{subText}</span>
32
+ </div>
33
+ <div
34
+ class="dx-card-base_section-vertical dx-card-base_ctas"
35
+ part="action"
36
+ >
37
+ <slot onslotchange={onSlotChange}></slot>
38
+ </div>
38
39
  </a>
39
40
  </template>