auto-component 0.0.29 → 0.0.31

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": "auto-component",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "main": "src/index.jsx",
5
5
  "peerDependencies": {
6
6
  "react": "^18.2.0",
@@ -84,14 +84,14 @@
84
84
  }
85
85
  .copy-btn {
86
86
  position: absolute;
87
- top: 120px;
87
+ top: 130px;
88
88
  right: 7%;
89
- max-width: 40px;
89
+ max-width: 50px;
90
90
  max-height: 30px;
91
91
  cursor: pointer;
92
92
  background: rgba(0, 0, 0, 0.2);
93
93
  border-radius: 5px;
94
- padding: 10px;
94
+ padding: 10px 20px;
95
95
  color: #fff;
96
96
  }
97
97
 
package/src/index.jsx CHANGED
@@ -185,7 +185,9 @@ const AutoComponent = ({ exclusions }) => {
185
185
  If the contents of an element should be excluded, add the 'exclude' class to the element.
186
186
  Click Generate to send the request and receive the auto component AI generated code.
187
187
 
188
- User Request:\n `
188
+ User ID:\n `
189
+ + user
190
+ + "\n\nUser Request:\n"
189
191
  + currentRequest
190
192
  + "\n\nUser HTML:\n"
191
193
  + currentHtml