@salesforcedevs/dx-components 1.19.4-test → 1.20.0-rnb-scroll

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,12 +1,15 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.19.4-test",
3
+ "version": "1.20.0-rnb-scroll",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": "20.x",
8
8
  "yarn": "1.22.19"
9
9
  },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
10
13
  "dependencies": {
11
14
  "@coveo/headless": "3.22.2",
12
15
  "@floating-ui/dom": "1.5.1",
@@ -116,18 +116,9 @@ code[class*="shiki"] {
116
116
 
117
117
  pre[class*="shiki"] {
118
118
  border-radius: 0 0 0.3em 0.3em;
119
- padding: 1em;
119
+ padding: 1em 1.5em;
120
120
  margin: 0.5em 0;
121
121
  overflow: auto;
122
- /* stylelint-disable-next-line */
123
- .line {
124
- counter-increment: codeblock-line;
125
-
126
- &::before {
127
- content: counter(codeblock-line);
128
- margin-right: 1.3em;
129
- }
130
- }
131
122
  }
132
123
 
133
124
  @media screen and (max-width: 640px) {
@@ -72,7 +72,7 @@ export default class CodeBlock extends LightningElement {
72
72
  { label: "GTL", id: "gtl" },
73
73
  { label: "LWC", id: "lwc" },
74
74
  { label: "SQL Documentation", id: "sql_docs_template" },
75
- { label: "Agentforce Script", id: "afscript" }
75
+ { label: "Agent Script", id: "agentscript" }
76
76
  ];
77
77
 
78
78
  _codeBlock: string = "";
@@ -176,7 +176,7 @@ export default class CodeBlock extends LightningElement {
176
176
  const preElement = tempDiv.querySelector("pre");
177
177
 
178
178
  if (preElement) {
179
- preElement.classList.add("codeblock");
179
+ preElement.classList.add("codeblock", languageForHighlighting);
180
180
 
181
181
  // Italicize anything marked as a "variable" by the docs team
182
182
  // eslint-disable-next-line
@@ -95,7 +95,7 @@ img.mobile.center-img {
95
95
  position: absolute;
96
96
  left: 0;
97
97
  bottom: 0;
98
- width: 419px;
98
+ width: 418px;
99
99
  height: 515px;
100
100
  }
101
101