@salesforcedevs/docs-components 1.18.7 → 1.18.8-specfix-alpha

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.18.7",
3
+ "version": "1.18.8-specfix-alpha",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -25,5 +25,5 @@
25
25
  "@types/lodash.orderby": "4.6.9",
26
26
  "@types/lodash.uniqby": "4.7.9"
27
27
  },
28
- "gitHead": "3ada6ae4198e8ec27ced5c448ed8588afa6e5431"
28
+ "gitHead": "4629fdd9ca18a13480044ad43515b91945d16aad"
29
29
  }
@@ -34,7 +34,12 @@
34
34
  <tr key={attribute.name}>
35
35
  <td>
36
36
  <span class="code">
37
- {attribute.nameInKebabCase}
37
+ <template lwc:if={isModelAura}>
38
+ {attribute.name}
39
+ </template>
40
+ <template lwc:else>
41
+ {attribute.nameInKebabCase}
42
+ </template>
38
43
  </span>
39
44
  </td>
40
45
  <td>{attribute.description}</td>
@@ -119,6 +119,10 @@ export default class SpecificationContent extends LightningElement {
119
119
  );
120
120
  }
121
121
 
122
+ get isModelAura() {
123
+ return this.model === "aura";
124
+ }
125
+
122
126
  renderedCallback(): void {
123
127
  if (this.data) {
124
128
  this.debouncedNotifyDataRendered();
@@ -174,8 +174,6 @@ api-security-documentation {
174
174
  --http-code-snippet-container-background-color: rgb(250 250 250);
175
175
  --http-code-snippet-container-padding: var(--dx-g-spacing-md);
176
176
 
177
- /* prism */
178
-
179
177
  /* --code-operator-value-background-color */
180
178
  }
181
179
 
@@ -116,6 +116,7 @@ dx-toc {
116
116
 
117
117
  .content-body-container {
118
118
  padding-right: 0;
119
+ padding-left: 0;
119
120
  overflow-x: auto;
120
121
  margin-bottom: calc(var(--dx-g-spacing-5xl) + 4px);
121
122
  }
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.