@conboai/storybook.components 0.4.70 → 0.4.71
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IShapesProps } from './types';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles }: IShapesProps) => React.JSX.Element;
|
|
4
|
+
declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles, }: IShapesProps) => React.JSX.Element;
|
|
5
5
|
export default Shapes;
|
|
@@ -47881,7 +47881,10 @@ function N8e({
|
|
|
47881
47881
|
);
|
|
47882
47882
|
}),
|
|
47883
47883
|
fullWidth: !0,
|
|
47884
|
-
sx:
|
|
47884
|
+
sx: {
|
|
47885
|
+
...Ed,
|
|
47886
|
+
"& .MuiOutlinedInput-root": { height: "40px !important" }
|
|
47887
|
+
}
|
|
47885
47888
|
}
|
|
47886
47889
|
) });
|
|
47887
47890
|
} else {
|
|
@@ -75758,7 +75761,7 @@ const O1 = {
|
|
|
75758
75761
|
}
|
|
75759
75762
|
}, []), Re(() => {
|
|
75760
75763
|
const Y = JSON.parse(M), re = ny(Y);
|
|
75761
|
-
F(re), ((Y == null ? void 0 : Y.length) === 1 || Y.length === 2 && Y.some((te) => te.type !== vi.Point)) &&
|
|
75764
|
+
F(re), ((Y == null ? void 0 : Y.length) === 1 || Y.length === 2 && Y.some((te) => te.type !== vi.Point)) && _(Y[0]);
|
|
75762
75765
|
}, [M]), Re(() => {
|
|
75763
75766
|
C(t);
|
|
75764
75767
|
}, [t]), Re(() => {
|
|
@@ -98968,13 +98971,13 @@ const Y6e = U1e, K6e = (e, t) => ({
|
|
|
98968
98971
|
}, H = (q) => {
|
|
98969
98972
|
w((ie) => {
|
|
98970
98973
|
const le = ie + q;
|
|
98971
|
-
return le < 0 ? 0 : le >= e.length ? e.length - 1 : (f && f(), M({ newIndex: le }), le);
|
|
98974
|
+
return le < 0 ? 0 : le >= e.length ? e.length - 1 : (C && C(le), f && f(), M({ newIndex: le }), le);
|
|
98972
98975
|
});
|
|
98973
98976
|
}, j = (q) => {
|
|
98974
98977
|
L.current && clearInterval(L.current), L.current = setInterval(() => {
|
|
98975
98978
|
w((ie) => {
|
|
98976
98979
|
const W = ie + q * (E || 1);
|
|
98977
|
-
return W < 0 ? 0 : W >= e.length ? e.length - 1 : (r && (r(e[W]), b && b(e[W])), W);
|
|
98980
|
+
return W < 0 ? 0 : W >= e.length ? e.length - 1 : (r && (r(e[W]), b && b(e[W])), C && C(W), W);
|
|
98978
98981
|
});
|
|
98979
98982
|
}, 1e3);
|
|
98980
98983
|
};
|