auto-component 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -327,7 +327,7 @@ var AutoComponent = function AutoComponent() {
327
327
  };
328
328
 
329
329
  // build request tab content
330
- var requestHTML = currentHtml ? getLog() && getLog().join('') + "Click Generate to send a request and receive the auto component AI generated code.\n\nUser ID:\n" + user + "\n\nUser Request:\n" + currentRequest : 'There was an error collecting your HTML. Ensure no top level elements are assigned the class "exclude"';
330
+ var requestHTML = getLog() && getLog().join('') + "\nClick Generate to send a request and receive the auto component AI generated code.\n\nExample: \"Create a full width container, center a box inside, and place a circle inside the box\"\n\nUser ID:\n" + user + "\n\nUser Request:\n" + currentRequest;
331
331
  var responseHtml = responseData ? responseData : 'No response has been generated';
332
332
  var handleKeyDown = function handleKeyDown(e) {
333
333
  if (e.key === 'Enter') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-component",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "lib/index.js",
5
5
  "peerDependencies": {
6
6
  "react": "^18.2.0",