@aivex/ui 1.2.0-dev.34 → 1.2.0-dev.35
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/ShapeEditor/ShapeEditor.d.ts +1 -1
- package/dist/components/ShapeEditor/ShapeViewer.d.ts +2 -4
- package/dist/components/ShapeEditor/_components/Minimap.d.ts +1 -2
- package/dist/components/ShapeEditor/_components/SettingsPanel.d.ts +2 -2
- package/dist/components/ShapeEditor/_model/overlays.d.ts +0 -19
- package/dist/components/ShapeEditor/_model/props.d.ts +3 -10
- package/dist/components/ShapeEditor/_model/strings.d.ts +0 -1
- package/dist/components/ShapeEditor/_model/viewSettings.d.ts +0 -1
- package/dist/components/ShapeEditor/_renderers/KonvaRenderer.d.ts +1 -2
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.ts +1 -3
- package/dist/components/ShapeEditor/_renderers/types.d.ts +3 -3
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.ts +1 -2
- package/dist/components/ShapeEditor/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.cjs.map +1 -1
- package/dist/shape-editor.js +1258 -1339
- package/dist/shape-editor.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1547,6 +1547,7 @@ function hs({ open: e, defaultOpen: t, onOpenChange: n, variant: r = "default",
|
|
|
1547
1547
|
}), /* @__PURE__ */ V(Y.Content, {
|
|
1548
1548
|
ref: u,
|
|
1549
1549
|
className: "aivex:fixed aivex:left-1/2 aivex:top-1/2 aivex:z-50 aivex:w-[calc(100vw-32px)] aivex:max-w-[384px] aivex:-translate-x-1/2 aivex:-translate-y-1/2 aivex:outline-none",
|
|
1550
|
+
...a ? {} : { "aria-describedby": void 0 },
|
|
1550
1551
|
children: /* @__PURE__ */ H("div", {
|
|
1551
1552
|
className: "aivex:flex aivex:w-full aivex:flex-col aivex:items-start aivex:gap-2xl aivex:rounded-2xl aivex:border aivex:border-border-subtle aivex:bg-bg-primary aivex:p-2xl aivex:shadow-xl",
|
|
1552
1553
|
children: [/* @__PURE__ */ H("div", {
|
|
@@ -1912,6 +1913,7 @@ function Bs({ title: e, description: t, headingButton: n, children: r, tertiaryB
|
|
|
1912
1913
|
});
|
|
1913
1914
|
}
|
|
1914
1915
|
function Vs({ open: e, defaultOpen: t, onOpenChange: n, title: r, description: i, headingButton: a, children: o, tertiaryButton: s, secondaryButton: c, primaryButton: l, size: u, closeOnInteractOutside: d, onOpenAutoFocus: f, closeAriaLabel: p }) {
|
|
1916
|
+
let m = !!(s || c || l);
|
|
1915
1917
|
return /* @__PURE__ */ H(zs, {
|
|
1916
1918
|
open: e,
|
|
1917
1919
|
defaultOpen: t,
|
|
@@ -1919,6 +1921,7 @@ function Vs({ open: e, defaultOpen: t, onOpenChange: n, title: r, description: i
|
|
|
1919
1921
|
size: u,
|
|
1920
1922
|
closeOnInteractOutside: d,
|
|
1921
1923
|
onOpenAutoFocus: f,
|
|
1924
|
+
...i ? {} : { "aria-describedby": void 0 },
|
|
1922
1925
|
children: [
|
|
1923
1926
|
/* @__PURE__ */ V(Ps, {
|
|
1924
1927
|
title: r,
|
|
@@ -1927,7 +1930,7 @@ function Vs({ open: e, defaultOpen: t, onOpenChange: n, title: r, description: i
|
|
|
1927
1930
|
closeAriaLabel: p
|
|
1928
1931
|
}),
|
|
1929
1932
|
o && /* @__PURE__ */ V(Is, { children: o }),
|
|
1930
|
-
|
|
1933
|
+
m && /* @__PURE__ */ V(Ls, {
|
|
1931
1934
|
tertiaryButton: s,
|
|
1932
1935
|
secondaryButton: c,
|
|
1933
1936
|
primaryButton: l
|
|
@@ -4026,6 +4029,7 @@ function Nc({ open: e, onOpenChange: t, title: n, children: r, headerAction: i,
|
|
|
4026
4029
|
children: /* @__PURE__ */ H(X.Portal, { children: [/* @__PURE__ */ V(X.Overlay, { className: "aivex:panel-overlay aivex:fixed aivex:inset-0 aivex:z-50 aivex:bg-black/30" }), /* @__PURE__ */ H(X.Content, {
|
|
4027
4030
|
ref: s,
|
|
4028
4031
|
"data-side": a,
|
|
4032
|
+
"aria-describedby": void 0,
|
|
4029
4033
|
className: I("aivex:panel-content aivex:fixed aivex:top-0 aivex:z-50 aivex:flex aivex:h-dvh aivex:max-w-[calc(100vw-32px)] aivex:flex-col aivex:overflow-hidden", "aivex:border-border-subtle aivex:bg-bg-primary aivex:shadow-xl aivex:outline-none", jc[a], Mc[o]),
|
|
4030
4034
|
onKeyDown: (e) => {
|
|
4031
4035
|
e.stopPropagation();
|