xactsize-webcomponents 1.0.35 → 1.0.36

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.
@@ -1366,7 +1366,7 @@ let x = class extends w {
1366
1366
  <div class="buttons">
1367
1367
  ${this.isVtonFetching ? m`
1368
1368
  <div style="width: 100%; margin-bottom: 12px;">
1369
- <p class="description" style="margin: 0 auto; color: #666; font-weight: 600;">${a("Generating your Virtual Try-On image...")}</p>
1369
+ <p class="description" style="margin: 0 auto; font-weight: 800; font-size: 18px; background: linear-gradient(90deg, #1C28BA, #d32f2f, #1C28BA); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientPulse 3s linear infinite;">${a("Generating your Virtual Try-On image...")}</p>
1370
1370
  </div>
1371
1371
  ` : this.vtonError ? m`
1372
1372
  <div style="width: 100%; margin-bottom: 12px;">
@@ -1468,6 +1468,15 @@ x.styles = I`
1468
1468
  justify-content: center;
1469
1469
  }
1470
1470
  }
1471
+
1472
+ @keyframes gradientPulse {
1473
+ 0% {
1474
+ background-position: 0% center;
1475
+ }
1476
+ 100% {
1477
+ background-position: 200% center;
1478
+ }
1479
+ }
1471
1480
  `;
1472
1481
  C([
1473
1482
  c({ type: String })
@@ -1872,7 +1881,7 @@ var Ke = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, h = (i, t,
1872
1881
  const { getLocale: ti, setLocale: Bt } = Le({
1873
1882
  sourceLocale: zt,
1874
1883
  targetLocales: Ue,
1875
- loadLocale: (i) => Nt(/* @__PURE__ */ Object.assign({ "./generated/locales/pt-BR.ts": () => import("./pt-BR--oMNQTSq.mjs") }), `./generated/locales/${i}.ts`, 4)
1884
+ loadLocale: (i) => Nt(/* @__PURE__ */ Object.assign({ "./generated/locales/pt-BR.ts": () => import("./pt-BR-0A6Iarcm.mjs") }), `./generated/locales/${i}.ts`, 4)
1876
1885
  });
1877
1886
  let d = class extends w {
1878
1887
  constructor() {
@@ -2060,7 +2069,7 @@ let d = class extends w {
2060
2069
  "X-Api-Key": this.apiKey
2061
2070
  }
2062
2071
  })).json();
2063
- s.result_urls && s.result_urls.length > 0 ? this.generatedImageUrl = s.result_urls[0] : (this.vtonError = !0, this.isVtonFetching = !1);
2072
+ s.result_urls && s.result_urls.length > 0 ? (this.generatedImageUrl = s.result_urls[0], this.isVtonFetching = !1) : (this.vtonError = !0, this.isVtonFetching = !1);
2064
2073
  } catch (e) {
2065
2074
  console.error("Error generating VTON image", e), this.vtonError = !0, this.isVtonFetching = !1;
2066
2075
  }
@@ -1,4 +1,4 @@
1
- import { B as o, g as s, a as r } from "./body-measurer-D5JSamrX.mjs";
1
+ import { B as o, g as s, a as r } from "./body-measurer-DQ9uNwgq.mjs";
2
2
  export {
3
3
  o as BodyMeasurer,
4
4
  s as getLocale,