@salesforcedevs/docs-components 0.0.6-edit → 0.0.7-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "0.0.6-edit",
3
+ "version": "0.0.7-edit",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -4,8 +4,9 @@
4
4
  "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
5
5
  sans-serif;
6
6
  position: absolute;
7
- top: 0;
8
- right: 0;
7
+ top: 10px;
8
+ left: 50%;
9
+ transform: translateX(-50%);
9
10
  z-index: 1000;
10
11
  }
11
12
 
@@ -25,7 +26,7 @@
25
26
  font-size: 14px;
26
27
  font-weight: 500;
27
28
  letter-spacing: 0.02em;
28
- width: 200px;
29
+ width: 150px;
29
30
  justify-content: center;
30
31
  }
31
32
 
@@ -12,6 +12,7 @@ interface ApiResponse {
12
12
  export default class EditFile extends LightningElement {
13
13
  @api fileName: string = "";
14
14
  @api repoName: string = "";
15
+ @api source: string = "";
15
16
  @api apiEndpoint: string = "/api/edit-file";
16
17
  @api project: string = "Edit File";
17
18