@photoroom/ui 0.1.640 → 0.1.642
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/index.mjs +16 -21
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -12751,7 +12751,7 @@ var $h = `${Qh}/api`;
|
|
|
12751
12751
|
var eg = `${process.env.REACT_APP_URL}`;
|
|
12752
12752
|
`${eg}`, `${eg}`, `${Qh}`;
|
|
12753
12753
|
//#endregion
|
|
12754
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
12754
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/util.js
|
|
12755
12755
|
function tg(e) {
|
|
12756
12756
|
let t = Object.values(e).filter((e) => typeof e == "number");
|
|
12757
12757
|
return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
|
|
@@ -13159,7 +13159,7 @@ function c_(e) {
|
|
|
13159
13159
|
return t[s_] = !0, t;
|
|
13160
13160
|
}
|
|
13161
13161
|
//#endregion
|
|
13162
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
13162
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/core.js
|
|
13163
13163
|
var l_, u_ = {
|
|
13164
13164
|
value: void 0,
|
|
13165
13165
|
enumerable: !1
|
|
@@ -13240,7 +13240,7 @@ function h_(e) {
|
|
|
13240
13240
|
return e && Object.assign(m_, e), m_;
|
|
13241
13241
|
}
|
|
13242
13242
|
//#endregion
|
|
13243
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
13243
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/errors.js
|
|
13244
13244
|
function ise() {
|
|
13245
13245
|
let e = this._zod;
|
|
13246
13246
|
return e.message ??= JSON.stringify(e.def, rg, 2), e.message;
|
|
@@ -13327,7 +13327,7 @@ function use(e, t = (e) => e.message) {
|
|
|
13327
13327
|
return r(e), n;
|
|
13328
13328
|
}
|
|
13329
13329
|
//#endregion
|
|
13330
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
13330
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/parse.js
|
|
13331
13331
|
function y_(e, t) {
|
|
13332
13332
|
return {
|
|
13333
13333
|
callee: t?.callee ?? e,
|
|
@@ -13671,7 +13671,7 @@ var Jse = /^[\s\S]{0,}$/, Yse = /^[^A-Z]*$/, Xse = /^[^a-z]*$/, O_ = /*@__PURE__
|
|
|
13671
13671
|
}, cce = {
|
|
13672
13672
|
major: 4,
|
|
13673
13673
|
minor: 6,
|
|
13674
|
-
patch:
|
|
13674
|
+
patch: 2
|
|
13675
13675
|
}, j_ = /*@__PURE__*/ K("$ZodType", (e, t) => {
|
|
13676
13676
|
var n;
|
|
13677
13677
|
e ??= {}, e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = cce;
|
|
@@ -14045,7 +14045,7 @@ function V_(e, t, n, r, i, a) {
|
|
|
14045
14045
|
});
|
|
14046
14046
|
return;
|
|
14047
14047
|
}
|
|
14048
|
-
e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
14048
|
+
e.value === void 0 ? (o || i === "defaulted" && !s) && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
14049
14049
|
}
|
|
14050
14050
|
}
|
|
14051
14051
|
var Gce = [];
|
|
@@ -14182,19 +14182,14 @@ var Kce = /*@__PURE__*/ K("$ZodObject", (e, t) => {
|
|
|
14182
14182
|
}
|
|
14183
14183
|
|
|
14184
14184
|
`);
|
|
14185
|
-
} else f ? o.write(`
|
|
14185
|
+
} else f ? (o.write(`
|
|
14186
14186
|
if (${n}.issues.length) {${c(n, r)}
|
|
14187
14187
|
}
|
|
14188
|
-
|
|
14189
|
-
if (${n}.value
|
|
14190
|
-
if (${i}) {
|
|
14191
|
-
newResult[${r}] = undefined;
|
|
14192
|
-
}
|
|
14193
|
-
} else {
|
|
14188
|
+
`), d === "defaulted" ? o.write(`newResult[${r}] = ${n}.value;`) : o.write(`
|
|
14189
|
+
if (${n}.value !== undefined || ${i}) {
|
|
14194
14190
|
newResult[${r}] = ${n}.value;
|
|
14195
14191
|
}
|
|
14196
|
-
|
|
14197
|
-
`) : o.write(`
|
|
14192
|
+
`)) : o.write(`
|
|
14198
14193
|
const ${n}_present = ${i};
|
|
14199
14194
|
if (${n}.issues.length) {${c(n, r)}
|
|
14200
14195
|
}
|
|
@@ -14516,7 +14511,7 @@ function ev(e, t, n, r) {
|
|
|
14516
14511
|
}
|
|
14517
14512
|
}
|
|
14518
14513
|
//#endregion
|
|
14519
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
14514
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/memoizer.js
|
|
14520
14515
|
var cle = class extends Error {
|
|
14521
14516
|
constructor() {
|
|
14522
14517
|
super("Cannot parse a reference cycle that closes through a transform"), this.name = "ZodCyclicError";
|
|
@@ -14704,7 +14699,7 @@ function pv(e, t) {
|
|
|
14704
14699
|
return n !== void 0 && rv(t) && n.has(t);
|
|
14705
14700
|
}
|
|
14706
14701
|
//#endregion
|
|
14707
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
14702
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/locales/en.js
|
|
14708
14703
|
var mv = () => {
|
|
14709
14704
|
let e = {
|
|
14710
14705
|
string: {
|
|
@@ -14796,7 +14791,7 @@ function hv() {
|
|
|
14796
14791
|
return { localeError: mv() };
|
|
14797
14792
|
}
|
|
14798
14793
|
//#endregion
|
|
14799
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
14794
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/registries.js
|
|
14800
14795
|
var gv, _v = class {
|
|
14801
14796
|
constructor() {
|
|
14802
14797
|
this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
|
|
@@ -14835,7 +14830,7 @@ function vv() {
|
|
|
14835
14830
|
(gv = globalThis).__zod_globalRegistry ?? (gv.__zod_globalRegistry = vv());
|
|
14836
14831
|
var yv = globalThis.__zod_globalRegistry;
|
|
14837
14832
|
//#endregion
|
|
14838
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
14833
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/api.js
|
|
14839
14834
|
// @__NO_SIDE_EFFECTS__
|
|
14840
14835
|
function bv(e, t) {
|
|
14841
14836
|
return new e({
|
|
@@ -15257,7 +15252,7 @@ function py(e, t) {
|
|
|
15257
15252
|
return n._zod.check = e, n;
|
|
15258
15253
|
}
|
|
15259
15254
|
//#endregion
|
|
15260
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
15255
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/core/to-json-schema.js
|
|
15261
15256
|
function my(e, ...t) {
|
|
15262
15257
|
for (let n of t) for (let t of Reflect.ownKeys(n)) Object.prototype.propertyIsEnumerable.call(n, t) && sg(e, t, n[t]);
|
|
15263
15258
|
return e;
|
|
@@ -15832,7 +15827,7 @@ var mb = /*@__PURE__*/ K("ZodError", (e, t) => {
|
|
|
15832
15827
|
}));
|
|
15833
15828
|
}, void 0, { Parent: Error }), hb = /* @__PURE__ */ b_(mb), gb = /* @__PURE__ */ x_(mb), _b = /* @__PURE__ */ S_(mb), vb = /* @__PURE__ */ w_(mb), yb = /* @__PURE__ */ gse(mb), bb = /* @__PURE__ */ _se(mb), xb = /* @__PURE__ */ vse(mb), Sb = /* @__PURE__ */ yse(mb), Cb = /* @__PURE__ */ bse(mb), wb = /* @__PURE__ */ xse(mb), Tb = /* @__PURE__ */ Sse(mb), Eb = /* @__PURE__ */ Cse(mb);
|
|
15834
15829
|
//#endregion
|
|
15835
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
15830
|
+
//#region ../../node_modules/.pnpm/zod@4.6.2/node_modules/zod/v4/classic/schemas.js
|
|
15836
15831
|
function Db() {
|
|
15837
15832
|
m_.localeError || h_(hv());
|
|
15838
15833
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@photoroom/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.642",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Photoroom design system components",
|
|
6
6
|
"sideEffects": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@img-comparison-slider/react": "8.0.2",
|
|
39
39
|
"@lottiefiles/react-lottie-player": "3.6.0",
|
|
40
|
-
"@photoroom/icons": "0.1.
|
|
40
|
+
"@photoroom/icons": "0.1.45",
|
|
41
41
|
"@radix-ui/react-accordion": "1.2.20",
|
|
42
42
|
"@radix-ui/react-avatar": "1.2.6",
|
|
43
43
|
"@radix-ui/react-checkbox": "1.3.11",
|