@salesforcedevs/docs-components 1.3.11 → 1.3.15
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 +2 -2
- package/src/modules/doc/contentLayout/contentLayout.html +1 -0
- package/src/modules/doc/header/header.html +4 -0
- package/src/modules/doc/sprigSurvey/sprigSurvey.html +20 -0
- package/src/modules/doc/sprigSurvey/sprigSurvey.scoped.css +12 -0
- package/src/modules/doc/sprigSurvey/sprigSurvey.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/docs-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
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": "
|
|
27
|
+
"gitHead": "4f666690d99a33edd60c92c55d84732b7feadb07"
|
|
28
28
|
}
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
<dx-brand-theme-provider brand={brand}>
|
|
3
3
|
<header class={className}>
|
|
4
4
|
<dx-skip-nav-link></dx-skip-nav-link>
|
|
5
|
+
<dx-banner
|
|
6
|
+
if:true={showBanner}
|
|
7
|
+
banner-markup={bannerMarkup}
|
|
8
|
+
></dx-banner>
|
|
5
9
|
<div class="header_l1">
|
|
6
10
|
<div if:true={showMenuButton} class="nav_menu-ctas">
|
|
7
11
|
<dx-button
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template lwc:render-mode="light">
|
|
2
|
+
<hr />
|
|
3
|
+
<div class="survey-container">
|
|
4
|
+
<div class="text-container">
|
|
5
|
+
<b>DID THIS ARTICLE SOLVE YOUR ISSUE?</b>
|
|
6
|
+
<br />
|
|
7
|
+
Let us know so we can improve!
|
|
8
|
+
</div>
|
|
9
|
+
<div class="btn-container">
|
|
10
|
+
<dx-button
|
|
11
|
+
variant="secondary"
|
|
12
|
+
aria-label="Share Your Feedback"
|
|
13
|
+
onclick={openSurvey}
|
|
14
|
+
>
|
|
15
|
+
Share your feedback
|
|
16
|
+
</dx-button>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<hr />
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LightningElement } from "lwc";
|
|
2
|
+
import cx from "classnames";
|
|
3
|
+
|
|
4
|
+
declare const Sprig: (eventType: string, eventNme: string) => void;
|
|
5
|
+
|
|
6
|
+
export default class Phase extends LightningElement {
|
|
7
|
+
static renderMode = "light";
|
|
8
|
+
|
|
9
|
+
get className() {
|
|
10
|
+
return cx("container");
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
openSurvey() {
|
|
14
|
+
Sprig("track", "ProvideFeedback");
|
|
15
|
+
}
|
|
16
|
+
}
|