@salesforcedevs/lwc-doc-components 1.6.0 → 1.10.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/lwr.config.json CHANGED
@@ -5,5 +5,5 @@
5
5
  { "npm": "@salesforcedevs/docs-components" },
6
6
  { "npm": "@salesforcedevs/dx-components" }
7
7
  ],
8
- "expose": ["lwc-doc/card"]
8
+ "expose": ["lwc-doc/card", "lwc-doc/sectionBlade"]
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/lwc-doc-components",
3
- "version": "1.6.0",
3
+ "version": "1.10.3",
4
4
  "description": "LWC Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -9,5 +9,5 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "gitHead": "0d9112639aecfd377beb40705f2df5b123d61e7d"
12
+ "gitHead": "9f32c9e096d24b480dde77eea1a457237d172ec1"
13
13
  }
@@ -0,0 +1,24 @@
1
+ dx-feature {
2
+ --dx-c-feature-description-left-img-src: none;
3
+ --dx-c-feature-img-container-padding: 0;
4
+ --dx-c-feature-img-box-shadow: none;
5
+ --dx-c-feature-img-margin-left: 0;
6
+ --dx-c-feature-description-max-width: 380px;
7
+ --dx-c-feature-description-img-width: 50%;
8
+ --dx-c-feature-description-img-gap: var(--dx-g-spacing-lg);
9
+ --dx-c-feature-description-gap: var(--dx-g-spacing-md);
10
+ }
11
+
12
+ dx-feature::part(header) {
13
+ line-height: var(--dx-g-spacing-2xl);
14
+ padding-bottom: 0;
15
+ font-size: var(--dx-g-text-2xl);
16
+ font-weight: var(--dx-g-font-demi);
17
+ letter-spacing: -0.128px;
18
+ }
19
+
20
+ dx-feature::part(body) {
21
+ color: var(--dx-g-blue-vibrant-30);
22
+ font-weight: var(--dx-g-font-normal);
23
+ letter-spacing: 0.019px;
24
+ }
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <dx-feature
3
+ header={header}
4
+ image-src={imageSrc}
5
+ description-position={descriptionPosition}
6
+ >
7
+ {description}
8
+ </dx-feature>
9
+ </template>
@@ -0,0 +1,8 @@
1
+ import { LightningElement, api } from "lwc";
2
+
3
+ export default class SectionBlade extends LightningElement {
4
+ @api descriptionPosition: string = "left";
5
+ @api header: string = "";
6
+ @api imageSrc: string = "";
7
+ @api description: string = "";
8
+ }