@salesforcedevs/docs-components 1.3.326 → 1.3.327-do-dont-1

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/docs-components",
3
- "version": "1.3.326",
3
+ "version": "1.3.327-do-dont-1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -24,5 +24,5 @@
24
24
  "@types/lodash.orderby": "^4.6.7",
25
25
  "@types/lodash.uniqby": "^4.7.7"
26
26
  },
27
- "gitHead": "cf39ccca12fbfe7bf200eb0bd02c5101af21ca19"
27
+ "gitHead": "4629fdd9ca18a13480044ad43515b91945d16aad"
28
28
  }
@@ -134,7 +134,7 @@ export default class Content extends LightningElement {
134
134
  // ! Hot fix for incoming html tags from couchdb for xml blocks, fix me soon please
135
135
  language: LANGUAGE_MAP[language] || language,
136
136
  theme: this.codeBlockTheme,
137
- title: "", // Default no title.
137
+ header: "", // Default no title.
138
138
  variant: this.codeBlockType,
139
139
  isEncoded: true
140
140
  });
@@ -173,7 +173,7 @@ export default class Content extends LightningElement {
173
173
  const type = calloutEl.querySelector("h4")!.textContent!;
174
174
  const typeLower = type.toLowerCase();
175
175
  Object.assign(calloutCompEl, {
176
- title: type,
176
+ header: type,
177
177
  variant: typeLower
178
178
  });
179
179
  // eslint-disable-next-line no-use-before-define
@@ -20,7 +20,7 @@
20
20
  </template>
21
21
  </div>
22
22
  <div class="do-dont-image-container">
23
- <img class="doc-do-dont-img" src={src} alt={caption} />
23
+ <img class="doc-do-dont-img" src={imgSrc} alt={caption} />
24
24
  </div>
25
25
  <div class="dx-text-body-4">{caption}</div>
26
26
  </div>
@@ -3,7 +3,7 @@ import { normalizeBoolean } from "dxUtils/normalizers";
3
3
 
4
4
  export default class DoDont extends LightningElement {
5
5
  @api caption: string = "";
6
- @api src!: string;
6
+ @api imgSrc!: string;
7
7
  _isDo: boolean = false;
8
8
 
9
9
  @api
package/LICENSE DELETED
@@ -1,12 +0,0 @@
1
- Copyright (c) 2020, Salesforce.com, Inc.
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
-
6
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
-
8
- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
-
10
- * Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11
-
12
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.