@satoshibits/react-json-schema-builder 1.1.1 → 1.1.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.
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs49.js +6 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs50.js +6 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +2 -2
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js +2 -2
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +1 -6
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +1 -6
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es11.js +4 -3
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es21.js +48 -45
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/index.es36.js +6 -6
- package/dist/index.es43.js +5 -5
- package/dist/index.es44.js +1 -1
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es49.js +21 -8
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es50.js +9 -5
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +32 -15
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +12 -3
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +8 -38
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +5 -18
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +4 -4
- package/dist/index.es56.js +1 -1
- package/dist/index.es57.js +32 -6
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es59.js +5 -64
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es60.js +63 -27
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +29 -5
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +5 -24
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +24 -32
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es65.js +1 -1
- package/dist/index.es67.js +2 -2
- package/dist/index.es69.js +1 -1
- package/dist/index.es71.js +3 -3
- package/dist/index.es72.js +1 -1
- package/dist/index.es75.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/packages/builder/add-dialog.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es62.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es62.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-
|
|
1
|
+
{"version":3,"file":"index.es62.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.0_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/usePrevious.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
|
package/dist/index.es63.js
CHANGED
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { asChild: m, ...a } = o, n = m ? p : i;
|
|
25
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...a, ref: e });
|
|
26
|
-
});
|
|
27
|
-
return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
|
|
28
|
-
}, {});
|
|
29
|
-
function h(r, i) {
|
|
30
|
-
r && f.flushSync(() => r.dispatchEvent(i));
|
|
1
|
+
import * as h from "react";
|
|
2
|
+
import { useLayoutEffect as z } from "./index.es74.js";
|
|
3
|
+
function c(r) {
|
|
4
|
+
const [d, e] = h.useState(void 0);
|
|
5
|
+
return z(() => {
|
|
6
|
+
if (r) {
|
|
7
|
+
e({ width: r.offsetWidth, height: r.offsetHeight });
|
|
8
|
+
const f = new ResizeObserver((i) => {
|
|
9
|
+
if (!Array.isArray(i) || !i.length)
|
|
10
|
+
return;
|
|
11
|
+
const b = i[0];
|
|
12
|
+
let o, t;
|
|
13
|
+
if ("borderBoxSize" in b) {
|
|
14
|
+
const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
|
|
15
|
+
o = u.inlineSize, t = u.blockSize;
|
|
16
|
+
} else
|
|
17
|
+
o = r.offsetWidth, t = r.offsetHeight;
|
|
18
|
+
e({ width: o, height: t });
|
|
19
|
+
});
|
|
20
|
+
return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
|
|
21
|
+
} else
|
|
22
|
+
e(void 0);
|
|
23
|
+
}, [r]), d;
|
|
31
24
|
}
|
|
32
25
|
export {
|
|
33
|
-
|
|
34
|
-
h as dispatchDiscreteCustomEvent
|
|
26
|
+
c as useSize
|
|
35
27
|
};
|
|
36
28
|
//# sourceMappingURL=index.es63.js.map
|
package/dist/index.es63.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es63.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-
|
|
1
|
+
{"version":3,"file":"index.es63.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.0_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/useSize.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":";;AAGA,SAASA,EAAQC,GAAS;AACxB,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,MAAM;AAC7CC,SAAAA,EAAgB,MAAM;AACpB,QAAIJ,GAAS;AACX,MAAAE,EAAQ,EAAE,OAAOF,EAAQ,aAAa,QAAQA,EAAQ,cAAc;AACpE,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAY;AAIrD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AACX;AAEF,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC5B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QAC9B;AACU,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAEnB,QAAAE,EAAQ,EAAE,OAAAM,GAAO,QAAAC,GAAQ;AAAA,MACjC,CAAO;AACD,aAAAJ,EAAe,QAAQL,GAAS,EAAE,KAAK,aAAY,CAAE,GAC9C,MAAMK,EAAe,UAAUL,CAAO;AAAA,IACnD;AACM,MAAAE,EAAQ,MAAM;AAAA,EAEpB,GAAK,CAACF,CAAO,CAAC,GACLC;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es65.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import n from "react";
|
|
2
|
-
import { createContextScope as O } from "./index.
|
|
2
|
+
import { createContextScope as O } from "./index.es60.js";
|
|
3
3
|
import { useComposedRefs as S } from "./index.es58.js";
|
|
4
4
|
import { Slot as x } from "./index.es34.js";
|
|
5
5
|
import { jsx as d } from "react/jsx-runtime";
|
package/dist/index.es67.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import { composeEventHandlers as h } from "./index.
|
|
3
|
-
import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index.
|
|
2
|
+
import { composeEventHandlers as h } from "./index.es59.js";
|
|
3
|
+
import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index.es57.js";
|
|
4
4
|
import { useComposedRefs as g } from "./index.es58.js";
|
|
5
5
|
import { useCallbackRef as R } from "./index.es73.js";
|
|
6
6
|
import { useEscapeKeydown as U } from "./index.es79.js";
|
package/dist/index.es69.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
2
|
import { useComposedRefs as R } from "./index.es58.js";
|
|
3
|
-
import { Primitive as M } from "./index.
|
|
3
|
+
import { Primitive as M } from "./index.es57.js";
|
|
4
4
|
import { useCallbackRef as y } from "./index.es73.js";
|
|
5
5
|
import { jsx as _ } from "react/jsx-runtime";
|
|
6
6
|
var F = "focusScope.autoFocusOnMount", T = "focusScope.autoFocusOnUnmount", N = { bubbles: !1, cancelable: !0 }, K = "FocusScope", k = d.forwardRef((e, t) => {
|
package/dist/index.es71.js
CHANGED
|
@@ -2,11 +2,11 @@ import * as s from "react";
|
|
|
2
2
|
import { useFloating as fe, offset as me, shift as he, flip as ge, size as ue, arrow as we, hide as Pe, limitShift as xe } from "./index.es80.js";
|
|
3
3
|
import { Root as ye } from "./index.es81.js";
|
|
4
4
|
import { useComposedRefs as I } from "./index.es58.js";
|
|
5
|
-
import { createContextScope as Ae } from "./index.
|
|
6
|
-
import { Primitive as Y } from "./index.
|
|
5
|
+
import { createContextScope as Ae } from "./index.es60.js";
|
|
6
|
+
import { Primitive as Y } from "./index.es57.js";
|
|
7
7
|
import { useCallbackRef as ve } from "./index.es73.js";
|
|
8
8
|
import { useLayoutEffect as z } from "./index.es74.js";
|
|
9
|
-
import { useSize as Ce } from "./index.
|
|
9
|
+
import { useSize as Ce } from "./index.es63.js";
|
|
10
10
|
import { jsx as f } from "react/jsx-runtime";
|
|
11
11
|
import { autoUpdate as Se } from "./index.es82.js";
|
|
12
12
|
var b = "Popper", [M, ke] = Ae(b), [be, X] = M(b), D = (e) => {
|
package/dist/index.es72.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import n from "react-dom";
|
|
3
|
-
import { Primitive as s } from "./index.
|
|
3
|
+
import { Primitive as s } from "./index.es57.js";
|
|
4
4
|
import { useLayoutEffect as c } from "./index.es74.js";
|
|
5
5
|
import { jsx as u } from "react/jsx-runtime";
|
|
6
6
|
var l = "Portal", p = o.forwardRef((r, e) => {
|
package/dist/index.es75.js
CHANGED
package/dist/index.es81.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import { Primitive as p } from "./index.
|
|
2
|
+
import { Primitive as p } from "./index.es57.js";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
4
|
var v = "Arrow", e = n.forwardRef((r, i) => {
|
|
5
5
|
const { children: t, width: a = 10, height: s = 5, ...m } = r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-dialog.d.ts","sourceRoot":"","sources":["../../../src/packages/builder/add-dialog.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,aAAa,CAAC;AAIpE,OAAO,EAAE,UAAU,EAAkB,MAAM,gCAAgC,CAAC;AAG5E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3E;AAYD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CxB,CAAC;AAEH;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,QAAQ,GACT,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"add-dialog.d.ts","sourceRoot":"","sources":["../../../src/packages/builder/add-dialog.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,aAAa,CAAC;AAIpE,OAAO,EAAE,UAAU,EAAkB,MAAM,gCAAgC,CAAC;AAG5E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3E;AAYD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CxB,CAAC;AAEH;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,QAAQ,GACT,EAAE,sBAAsB,2CAubxB"}
|