@salesforcedevs/docs-components 0.0.5-edit → 0.0.6-edit
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 +1 -1
- package/src/modules/doc/contentLayout/contentLayout.css +0 -12
- package/src/modules/doc/contentLayout/contentLayout.html +0 -5
- package/src/modules/doc/editFile/editFile.css +6 -0
- package/src/modules/doc/editFile/editFile.html +1 -1
- package/src/modules/doc/editFile/editFile.ts +2 -1
package/package.json
CHANGED
|
@@ -43,11 +43,6 @@
|
|
|
43
43
|
<slot name="version-banner"></slot>
|
|
44
44
|
<div class="content-body-container">
|
|
45
45
|
<div class="content-body">
|
|
46
|
-
<!-- <doc-edit-file
|
|
47
|
-
class="edit-file-positioned"
|
|
48
|
-
file-name={sidebarValue}
|
|
49
|
-
title="Edit File"
|
|
50
|
-
></doc-edit-file> -->
|
|
51
46
|
<doc-breadcrumbs
|
|
52
47
|
lwc:if={showBreadcrumbs}
|
|
53
48
|
breadcrumbs={breadcrumbs}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
font-family: "Salesforce Sans", -apple-system, BlinkMacSystemFont,
|
|
4
4
|
"Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
|
|
5
5
|
sans-serif;
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
z-index: 1000;
|
|
6
10
|
}
|
|
7
11
|
|
|
8
12
|
/* Edit File Trigger Button */
|
|
@@ -21,6 +25,8 @@
|
|
|
21
25
|
font-size: 14px;
|
|
22
26
|
font-weight: 500;
|
|
23
27
|
letter-spacing: 0.02em;
|
|
28
|
+
width: 200px;
|
|
29
|
+
justify-content: center;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.edit-file-trigger:hover:not(:disabled) {
|
|
@@ -11,8 +11,9 @@ interface ApiResponse {
|
|
|
11
11
|
|
|
12
12
|
export default class EditFile extends LightningElement {
|
|
13
13
|
@api fileName: string = "";
|
|
14
|
+
@api repoName: string = "";
|
|
14
15
|
@api apiEndpoint: string = "/api/edit-file";
|
|
15
|
-
@api
|
|
16
|
+
@api project: string = "Edit File";
|
|
16
17
|
|
|
17
18
|
@api
|
|
18
19
|
get disabled() {
|