@uploadcare/file-uploader 1.21.0-alpha.1 → 1.21.0-alpha.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.
@@ -67,8 +67,8 @@ export class AiGenerateSource extends UploaderBlock {
67
67
 
68
68
  /** @private */
69
69
  remoteUrl() {
70
- // const url = new URL(`https://ai-generate-pictures.vercel.app/`);
71
- const url = new URL(`http://localhost:5173/`);
70
+ const url = new URL(`https://ai-generate-pictures.vercel.app/`);
71
+ // const url = new URL(`http://localhost:5174/`);
72
72
  return url.toString();
73
73
  }
74
74
 
@@ -154,7 +154,7 @@ AiGenerateSource.template = /* HTML */ `
154
154
  <uc-icon name="back"></uc-icon>
155
155
  </button>
156
156
  <div>
157
- <span>AI Editor</span>
157
+ <span>Enhance with AI</span>
158
158
  </div>
159
159
  <button
160
160
  type="button"
@@ -1,8 +1,8 @@
1
1
  [uc-modal] > dialog:has(uc-ai-generate-source[active]) {
2
2
  width: 100%;
3
3
  height: 100%;
4
- max-width: min(calc(100% - var(--uc-padding) * 2), 1080px);
5
- max-height: min(calc(100% - var(--uc-padding) * 2), 720px);
4
+ max-width: min(calc(100% - var(--uc-padding) * 2), 1120px);
5
+ max-height: min(calc(100% - var(--uc-padding) * 2), 780px);
6
6
  }
7
7
 
8
8
  uc-ai-generate-source {
package/index.ssr.js CHANGED
@@ -37,7 +37,7 @@ export const AiGenerateSource = class {
37
37
  <uc-icon name="back"></uc-icon>
38
38
  </button>
39
39
  <div>
40
- <span>AI Editor</span>
40
+ <span>Enhance with AI</span>
41
41
  </div>
42
42
  <button
43
43
  type="button"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/file-uploader",
3
- "version": "1.21.0-alpha.1",
3
+ "version": "1.21.0-alpha.3",
4
4
  "description": "Building blocks for Uploadcare products integration",
5
5
  "keywords": [
6
6
  "web components",