@gravitee/graphene-core 3.1.0 → 3.2.0-renovate-react.c604d85
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/dist/index.js +94 -86
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -15719,7 +15719,7 @@ function yj(e, t, n) {
|
|
|
15719
15719
|
typeof window < "u" && window.document && window.document.createElement;
|
|
15720
15720
|
function bj(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
15721
15721
|
return function(r) {
|
|
15722
|
-
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
15722
|
+
if (e?.(r), n === !1 || !r || !r.defaultPrevented) return t?.(r);
|
|
15723
15723
|
};
|
|
15724
15724
|
}
|
|
15725
15725
|
//#endregion
|
|
@@ -15762,11 +15762,11 @@ function wj(e, t = []) {
|
|
|
15762
15762
|
});
|
|
15763
15763
|
};
|
|
15764
15764
|
o.displayName = t + "Provider";
|
|
15765
|
-
function s(n, o) {
|
|
15766
|
-
let s = o?.[e]?.[a] || i,
|
|
15767
|
-
if (
|
|
15765
|
+
function s(n, o, s = {}) {
|
|
15766
|
+
let { optional: c = !1 } = s, l = o?.[e]?.[a] || i, u = V.useContext(l);
|
|
15767
|
+
if (u) return u;
|
|
15768
15768
|
if (r !== void 0) return r;
|
|
15769
|
-
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
15769
|
+
if (!c) throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
15770
15770
|
}
|
|
15771
15771
|
return [o, s];
|
|
15772
15772
|
}
|
|
@@ -15958,44 +15958,41 @@ function Jj(e) {
|
|
|
15958
15958
|
}), V.useMemo(() => ((...e) => t.current?.(...e)), []);
|
|
15959
15959
|
}
|
|
15960
15960
|
//#endregion
|
|
15961
|
-
//#region ../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
15962
|
-
function Yj(e, t = globalThis?.document) {
|
|
15963
|
-
let n = Jj(e);
|
|
15964
|
-
V.useEffect(() => {
|
|
15965
|
-
let e = (e) => {
|
|
15966
|
-
e.key === "Escape" && n(e);
|
|
15967
|
-
};
|
|
15968
|
-
return t.addEventListener("keydown", e, { capture: !0 }), () => t.removeEventListener("keydown", e, { capture: !0 });
|
|
15969
|
-
}, [n, t]);
|
|
15970
|
-
}
|
|
15971
|
-
//#endregion
|
|
15972
15961
|
//#region ../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
15973
|
-
var
|
|
15962
|
+
var Yj = "DismissableLayer", Xj = "dismissableLayer.update", Zj = "dismissableLayer.pointerDownOutside", Qj = "dismissableLayer.focusOutside", $j, eM = V.createContext({
|
|
15974
15963
|
layers: /* @__PURE__ */ new Set(),
|
|
15975
15964
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
15976
15965
|
branches: /* @__PURE__ */ new Set(),
|
|
15977
15966
|
dismissableSurfaces: /* @__PURE__ */ new Set()
|
|
15978
|
-
}),
|
|
15979
|
-
let { disableOutsidePointerEvents: n = !1, deferPointerDownOutside: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: s, onDismiss: c, ...l } = e, u = V.useContext(
|
|
15980
|
-
|
|
15981
|
-
if (!(t instanceof Node)) return;
|
|
15982
|
-
let n = [...u.branches].some((e) => e.contains(t));
|
|
15983
|
-
!x || n || (a?.(e), s?.(e), e.defaultPrevented || c?.());
|
|
15967
|
+
}), tM = V.forwardRef((e, t) => {
|
|
15968
|
+
let { disableOutsidePointerEvents: n = !1, deferPointerDownOutside: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: s, onDismiss: c, ...l } = e, u = V.useContext(eM), [d, f] = V.useState(null), p = d?.ownerDocument ?? globalThis?.document, [, m] = V.useState({}), h = Cj(t, f), g = Array.from(u.layers), [_] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), v = _ ? g.indexOf(_) : -1, y = d ? g.indexOf(d) : -1, b = u.layersWithOutsidePointerEventsDisabled.size > 0, x = y >= v, S = V.useRef(!1), C = oM((e) => {
|
|
15969
|
+
a?.(e), s?.(e), e.defaultPrevented || c?.();
|
|
15984
15970
|
}, {
|
|
15985
15971
|
ownerDocument: p,
|
|
15986
15972
|
deferPointerDownOutside: r,
|
|
15987
15973
|
isDeferredPointerDownOutsideRef: S,
|
|
15988
|
-
dismissableSurfaces: u.dismissableSurfaces
|
|
15974
|
+
dismissableSurfaces: u.dismissableSurfaces,
|
|
15975
|
+
shouldHandlePointerDownOutside: V.useCallback((e) => {
|
|
15976
|
+
if (!(e instanceof Node)) return !1;
|
|
15977
|
+
let t = [...u.branches].some((t) => t.contains(e));
|
|
15978
|
+
return x && !t;
|
|
15979
|
+
}, [u.branches, x])
|
|
15989
15980
|
}), w = sM((e) => {
|
|
15990
15981
|
if (r && S.current) return;
|
|
15991
15982
|
let t = e.target;
|
|
15992
15983
|
[...u.branches].some((e) => e.contains(t)) || (o?.(e), s?.(e), e.defaultPrevented || c?.());
|
|
15993
|
-
}, p)
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
if (
|
|
15998
|
-
|
|
15984
|
+
}, p), T = d ? y === g.length - 1 : !1, E = Jj((e) => {
|
|
15985
|
+
e.key === "Escape" && (i?.(e), !e.defaultPrevented && c && (e.preventDefault(), c()));
|
|
15986
|
+
});
|
|
15987
|
+
return V.useEffect(() => {
|
|
15988
|
+
if (T) return p.addEventListener("keydown", E, { capture: !0 }), () => p.removeEventListener("keydown", E, { capture: !0 });
|
|
15989
|
+
}, [
|
|
15990
|
+
p,
|
|
15991
|
+
T,
|
|
15992
|
+
E
|
|
15993
|
+
]), V.useEffect(() => {
|
|
15994
|
+
if (d) return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && ($j = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(d)), u.layers.add(d), cM(), () => {
|
|
15995
|
+
n && (u.layersWithOutsidePointerEventsDisabled.delete(d), u.layersWithOutsidePointerEventsDisabled.size === 0 && (p.body.style.pointerEvents = $j));
|
|
15999
15996
|
};
|
|
16000
15997
|
}, [
|
|
16001
15998
|
d,
|
|
@@ -16006,7 +16003,7 @@ var Xj = "DismissableLayer", Zj = "dismissableLayer.update", Qj = "dismissableLa
|
|
|
16006
16003
|
d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d), cM());
|
|
16007
16004
|
}, [d, u]), V.useEffect(() => {
|
|
16008
16005
|
let e = () => m({});
|
|
16009
|
-
return document.addEventListener(
|
|
16006
|
+
return document.addEventListener(Xj, e), () => document.removeEventListener(Xj, e);
|
|
16010
16007
|
}, []), /* @__PURE__ */ W(Kj.div, {
|
|
16011
16008
|
...l,
|
|
16012
16009
|
ref: h,
|
|
@@ -16019,9 +16016,9 @@ var Xj = "DismissableLayer", Zj = "dismissableLayer.update", Qj = "dismissableLa
|
|
|
16019
16016
|
onPointerDownCapture: bj(e.onPointerDownCapture, C.onPointerDownCapture)
|
|
16020
16017
|
});
|
|
16021
16018
|
});
|
|
16022
|
-
|
|
16023
|
-
var
|
|
16024
|
-
let n = V.useContext(
|
|
16019
|
+
tM.displayName = Yj;
|
|
16020
|
+
var nM = "DismissableLayerBranch", rM = V.forwardRef((e, t) => {
|
|
16021
|
+
let n = V.useContext(eM), r = V.useRef(null), i = Cj(t, r);
|
|
16025
16022
|
return V.useEffect(() => {
|
|
16026
16023
|
let e = r.current;
|
|
16027
16024
|
if (e) return n.branches.add(e), () => {
|
|
@@ -16032,45 +16029,51 @@ var rM = "DismissableLayerBranch", iM = V.forwardRef((e, t) => {
|
|
|
16032
16029
|
ref: i
|
|
16033
16030
|
});
|
|
16034
16031
|
});
|
|
16035
|
-
|
|
16036
|
-
function
|
|
16037
|
-
let e = V.useContext(
|
|
16032
|
+
rM.displayName = nM;
|
|
16033
|
+
function iM() {
|
|
16034
|
+
let e = V.useContext(eM), [t, n] = V.useState(null);
|
|
16038
16035
|
return V.useEffect(() => {
|
|
16039
16036
|
if (t) return e.dismissableSurfaces.add(t), () => {
|
|
16040
16037
|
e.dismissableSurfaces.delete(t);
|
|
16041
16038
|
};
|
|
16042
16039
|
}, [t, e.dismissableSurfaces]), n;
|
|
16043
16040
|
}
|
|
16041
|
+
var aM = () => !0;
|
|
16044
16042
|
function oM(e, t) {
|
|
16045
|
-
let { ownerDocument: n = globalThis?.document, deferPointerDownOutside: r = !1, isDeferredPointerDownOutsideRef: i, dismissableSurfaces: a } = t,
|
|
16043
|
+
let { ownerDocument: n = globalThis?.document, deferPointerDownOutside: r = !1, isDeferredPointerDownOutsideRef: i, dismissableSurfaces: a, shouldHandlePointerDownOutside: o = aM } = t, s = Jj(e), c = V.useRef(!1), l = V.useRef(!1), u = V.useRef(/* @__PURE__ */ new Map()), d = V.useRef(() => {});
|
|
16046
16044
|
return V.useEffect(() => {
|
|
16047
16045
|
function e() {
|
|
16048
|
-
|
|
16046
|
+
l.current = !1, i.current = !1, u.current.clear();
|
|
16049
16047
|
}
|
|
16050
16048
|
function t() {
|
|
16051
|
-
return Array.from(
|
|
16049
|
+
return Array.from(u.current.values()).some(Boolean);
|
|
16052
16050
|
}
|
|
16053
|
-
function
|
|
16054
|
-
if (!
|
|
16051
|
+
function f(e) {
|
|
16052
|
+
if (!l.current) return;
|
|
16055
16053
|
let t = e.target;
|
|
16056
|
-
t instanceof Node && [...a].some((e) => e.contains(t)) ||
|
|
16057
|
-
|
|
16054
|
+
t instanceof Node && [...a].some((e) => e.contains(t)) || u.current.set(e.type, !0), e.type === "click" && window.setTimeout(() => {
|
|
16055
|
+
l.current && d.current();
|
|
16058
16056
|
}, 0);
|
|
16059
16057
|
}
|
|
16060
|
-
function
|
|
16061
|
-
|
|
16058
|
+
function p(e) {
|
|
16059
|
+
l.current && u.current.set(e.type, !1);
|
|
16062
16060
|
}
|
|
16063
|
-
let
|
|
16064
|
-
if (a.target && !
|
|
16065
|
-
let
|
|
16066
|
-
n.removeEventListener("click",
|
|
16061
|
+
let m = (a) => {
|
|
16062
|
+
if (a.target && !c.current) {
|
|
16063
|
+
let f = function() {
|
|
16064
|
+
n.removeEventListener("click", d.current);
|
|
16067
16065
|
let r = t();
|
|
16068
|
-
e(), r || lM(
|
|
16069
|
-
}
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16066
|
+
e(), r || lM(Zj, s, p, { discrete: !0 });
|
|
16067
|
+
};
|
|
16068
|
+
if (!o(a.target)) {
|
|
16069
|
+
n.removeEventListener("click", d.current), e(), c.current = !1;
|
|
16070
|
+
return;
|
|
16071
|
+
}
|
|
16072
|
+
let p = { originalEvent: a };
|
|
16073
|
+
l.current = !0, i.current = r && a.button === 0, u.current.clear(), !r || a.button !== 0 ? f() : (n.removeEventListener("click", d.current), d.current = f, n.addEventListener("click", d.current, { once: !0 }));
|
|
16074
|
+
} else n.removeEventListener("click", d.current), e();
|
|
16075
|
+
c.current = !1;
|
|
16076
|
+
}, h = [
|
|
16074
16077
|
"pointerup",
|
|
16075
16078
|
"mousedown",
|
|
16076
16079
|
"mouseup",
|
|
@@ -16078,27 +16081,28 @@ function oM(e, t) {
|
|
|
16078
16081
|
"touchend",
|
|
16079
16082
|
"click"
|
|
16080
16083
|
];
|
|
16081
|
-
for (let e of
|
|
16082
|
-
let
|
|
16083
|
-
n.addEventListener("pointerdown",
|
|
16084
|
+
for (let e of h) n.addEventListener(e, f, !0), n.addEventListener(e, p);
|
|
16085
|
+
let g = window.setTimeout(() => {
|
|
16086
|
+
n.addEventListener("pointerdown", m);
|
|
16084
16087
|
}, 0);
|
|
16085
16088
|
return () => {
|
|
16086
|
-
window.clearTimeout(
|
|
16087
|
-
for (let e of
|
|
16089
|
+
window.clearTimeout(g), n.removeEventListener("pointerdown", m), n.removeEventListener("click", d.current);
|
|
16090
|
+
for (let e of h) n.removeEventListener(e, f, !0), n.removeEventListener(e, p);
|
|
16088
16091
|
};
|
|
16089
16092
|
}, [
|
|
16090
16093
|
n,
|
|
16091
|
-
|
|
16094
|
+
s,
|
|
16092
16095
|
r,
|
|
16093
16096
|
i,
|
|
16094
|
-
a
|
|
16095
|
-
|
|
16097
|
+
a,
|
|
16098
|
+
o
|
|
16099
|
+
]), { onPointerDownCapture: () => c.current = !0 };
|
|
16096
16100
|
}
|
|
16097
16101
|
function sM(e, t = globalThis?.document) {
|
|
16098
16102
|
let n = Jj(e), r = V.useRef(!1);
|
|
16099
16103
|
return V.useEffect(() => {
|
|
16100
16104
|
let e = (e) => {
|
|
16101
|
-
e.target && !r.current && lM(
|
|
16105
|
+
e.target && !r.current && lM(Qj, n, { originalEvent: e }, { discrete: !1 });
|
|
16102
16106
|
};
|
|
16103
16107
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
16104
16108
|
}, [t, n]), {
|
|
@@ -16107,7 +16111,7 @@ function sM(e, t = globalThis?.document) {
|
|
|
16107
16111
|
};
|
|
16108
16112
|
}
|
|
16109
16113
|
function cM() {
|
|
16110
|
-
let e = new CustomEvent(
|
|
16114
|
+
let e = new CustomEvent(Xj);
|
|
16111
16115
|
document.dispatchEvent(e);
|
|
16112
16116
|
}
|
|
16113
16117
|
function lM(e, t, n, { discrete: r }) {
|
|
@@ -16124,7 +16128,7 @@ var uM = "focusScope.autoFocusOnMount", dM = "focusScope.autoFocusOnUnmount", fM
|
|
|
16124
16128
|
bubbles: !1,
|
|
16125
16129
|
cancelable: !0
|
|
16126
16130
|
}, pM = "FocusScope", mM = V.forwardRef((e, t) => {
|
|
16127
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = V.useState(null), l = Jj(i), u = Jj(a), d = V.useRef(null), f = Cj(t,
|
|
16131
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = V.useState(null), l = Jj(i), u = Jj(a), d = V.useRef(null), f = Cj(t, c), p = V.useRef({
|
|
16128
16132
|
paused: !1,
|
|
16129
16133
|
pause() {
|
|
16130
16134
|
this.paused = !0;
|
|
@@ -16217,7 +16221,8 @@ function _M(e) {
|
|
|
16217
16221
|
return t;
|
|
16218
16222
|
}
|
|
16219
16223
|
function vM(e, t) {
|
|
16220
|
-
|
|
16224
|
+
let n = typeof t.checkVisibility == "function" && t.checkVisibility({ checkVisibilityCSS: !0 });
|
|
16225
|
+
for (let r of e) if (!(n ? !r.checkVisibility({ checkVisibilityCSS: !0 }) : yM(r, { upTo: t }))) return r;
|
|
16221
16226
|
}
|
|
16222
16227
|
function yM(e, { upTo: t }) {
|
|
16223
16228
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
@@ -16280,7 +16285,7 @@ var kM = (e) => {
|
|
|
16280
16285
|
};
|
|
16281
16286
|
kM.displayName = "Presence";
|
|
16282
16287
|
function AM(e) {
|
|
16283
|
-
let [t, n] = V.useState(), r = V.useRef(null), i = V.useRef(e), a = V.useRef("none"),
|
|
16288
|
+
let [t, n] = V.useState(), r = V.useRef(null), i = V.useRef(e), a = V.useRef("none"), o = V.useRef(void 0), [s, c] = OM(e ? "mounted" : "unmounted", {
|
|
16284
16289
|
mounted: {
|
|
16285
16290
|
UNMOUNT: "unmounted",
|
|
16286
16291
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -16292,35 +16297,38 @@ function AM(e) {
|
|
|
16292
16297
|
unmounted: { MOUNT: "mounted" }
|
|
16293
16298
|
});
|
|
16294
16299
|
return V.useEffect(() => {
|
|
16295
|
-
|
|
16296
|
-
|
|
16297
|
-
}, [o]), Ej(() => {
|
|
16300
|
+
s === "mounted" ? (a.current = o.current ?? NM(r.current), o.current = void 0) : a.current = "none";
|
|
16301
|
+
}, [s]), Ej(() => {
|
|
16298
16302
|
let t = r.current, n = i.current;
|
|
16299
16303
|
if (n !== e) {
|
|
16300
|
-
let r = a.current,
|
|
16301
|
-
e ? s("MOUNT") :
|
|
16304
|
+
let r = a.current, s = NM(t);
|
|
16305
|
+
e ? (o.current = s, c("MOUNT")) : s === "none" || t?.display === "none" ? c("UNMOUNT") : c(n && r !== s ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
16302
16306
|
}
|
|
16303
|
-
}, [e,
|
|
16307
|
+
}, [e, c]), Ej(() => {
|
|
16304
16308
|
if (t) {
|
|
16305
16309
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
16306
16310
|
let o = NM(r.current).includes(CSS.escape(a.animationName));
|
|
16307
|
-
if (a.target === t && o && (
|
|
16311
|
+
if (a.target === t && o && (c("ANIMATION_END"), !i.current)) {
|
|
16308
16312
|
let r = t.style.animationFillMode;
|
|
16309
16313
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
16310
16314
|
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = r);
|
|
16311
16315
|
});
|
|
16312
16316
|
}
|
|
16313
|
-
},
|
|
16317
|
+
}, s = (e) => {
|
|
16314
16318
|
e.target === t && (a.current = NM(r.current));
|
|
16315
16319
|
};
|
|
16316
|
-
return t.addEventListener("animationstart",
|
|
16317
|
-
n.clearTimeout(e), t.removeEventListener("animationstart",
|
|
16320
|
+
return t.addEventListener("animationstart", s), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
16321
|
+
n.clearTimeout(e), t.removeEventListener("animationstart", s), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
16318
16322
|
};
|
|
16319
|
-
} else
|
|
16320
|
-
}, [t,
|
|
16321
|
-
isPresent: ["mounted", "unmountSuspended"].includes(
|
|
16323
|
+
} else c("ANIMATION_END");
|
|
16324
|
+
}, [t, c]), {
|
|
16325
|
+
isPresent: ["mounted", "unmountSuspended"].includes(s),
|
|
16322
16326
|
ref: V.useCallback((e) => {
|
|
16323
|
-
|
|
16327
|
+
if (e) {
|
|
16328
|
+
let t = getComputedStyle(e);
|
|
16329
|
+
r.current = t, o.current = NM(t);
|
|
16330
|
+
} else r.current = null;
|
|
16331
|
+
n(e);
|
|
16324
16332
|
}, [])
|
|
16325
16333
|
};
|
|
16326
16334
|
}
|
|
@@ -16435,7 +16443,7 @@ var ZM = "DialogOverlay", QM = V.forwardRef((e, t) => {
|
|
|
16435
16443
|
});
|
|
16436
16444
|
QM.displayName = ZM;
|
|
16437
16445
|
var $M = /* @__PURE__ */ Pj("DialogOverlay.RemoveScroll"), eN = V.forwardRef((e, t) => {
|
|
16438
|
-
let { __scopeDialog: n, ...r } = e, i = UM(ZM, n), a = Cj(t,
|
|
16446
|
+
let { __scopeDialog: n, ...r } = e, i = UM(ZM, n), a = Cj(t, iM());
|
|
16439
16447
|
return /* @__PURE__ */ W(xi, {
|
|
16440
16448
|
as: $M,
|
|
16441
16449
|
allowPinchZoom: !0,
|
|
@@ -16507,7 +16515,7 @@ var rN = V.forwardRef((e, t) => {
|
|
|
16507
16515
|
trapped: r,
|
|
16508
16516
|
onMountAutoFocus: i,
|
|
16509
16517
|
onUnmountAutoFocus: a,
|
|
16510
|
-
children: /* @__PURE__ */ W(
|
|
16518
|
+
children: /* @__PURE__ */ W(tM, {
|
|
16511
16519
|
role: "dialog",
|
|
16512
16520
|
id: s.contentId,
|
|
16513
16521
|
"aria-describedby": s.descriptionId,
|
|
@@ -32374,7 +32382,7 @@ var DJ = /* @__PURE__ */ K(((e) => {
|
|
|
32374
32382
|
i.scheme === void 0 && i.userinfo === void 0 && i.host === void 0 && i.port === void 0 && i.query === void 0 && !i.path ? i.reference = "same-document" : i.scheme === void 0 ? i.reference = "relative" : i.fragment === void 0 ? i.reference = "absolute" : i.reference = "uri", r.reference && r.reference !== "suffix" && r.reference !== i.reference && (i.error = i.error || "URI is not a " + r.reference + " reference.");
|
|
32375
32383
|
let p = f(r.scheme || i.scheme);
|
|
32376
32384
|
if (!r.unicodeSupport && (!p || !p.unicodeSupport) && i.host && (r.domainHost || p && p.domainHost) && s === !1 && u(i.host)) try {
|
|
32377
|
-
i.host = URL
|
|
32385
|
+
i.host = new URL("http://" + i.host).hostname;
|
|
32378
32386
|
} catch (e) {
|
|
32379
32387
|
i.error = i.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
32380
32388
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0-renovate-react.c604d85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Gravitee's Graphene design system: accessible React components, design tokens, icons, and shared ESLint/TypeScript configs. Built on shadcn/ui and Tailwind.",
|
|
6
6
|
"keywords": [
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"@fontsource/dm-sans": ">=5.0.0",
|
|
98
|
+
"@gravitee/graphene-core": "3.2.0-renovate-react.c604d85",
|
|
98
99
|
"@monaco-editor/react": "^4.7.0",
|
|
99
100
|
"@tanstack/react-table": "^8.0.0",
|
|
100
101
|
"@testing-library/dom": ">=10.0.0",
|