@conboai/storybook.components 0.5.64 → 0.5.66
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/build/index.d.ts +1 -0
- package/dist/components/TrailPathView/types.d.ts +2 -0
- package/dist/components/ZoomWrapper/ZoomWrapper.d.ts +11 -0
- package/dist/components/ZoomWrapper/index.d.ts +1 -0
- package/dist/components/ZoomWrapper/styles.d.ts +19 -0
- package/dist/storybook.components.mjs +9170 -9031
- package/package.json +1 -1
package/dist/build/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export { CustomInput } from '../components/CustomInput';
|
|
|
29
29
|
export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip } from '../components/MetroMap/MetroMapUtils';
|
|
30
30
|
export { TimelineChart } from '../components/TimelineChart';
|
|
31
31
|
export { TrailPathView } from '../components/TrailPathView';
|
|
32
|
+
export { ZoomWrapper } from '../components/ZoomWrapper';
|
|
32
33
|
export { Geo } from '../components/Geo';
|
|
33
34
|
export * from '../components/Geo/utils';
|
|
34
35
|
export { Shapes } from '../components/Shapes';
|
|
@@ -20,6 +20,7 @@ export interface IGeoPath {
|
|
|
20
20
|
polylineProps?: never;
|
|
21
21
|
shapesStyles?: never;
|
|
22
22
|
imageStyles?: never;
|
|
23
|
+
showZoomControls?: never;
|
|
23
24
|
}
|
|
24
25
|
export interface IPixelPath {
|
|
25
26
|
type: TrailPathType.Pixel;
|
|
@@ -39,6 +40,7 @@ export interface IPixelPath {
|
|
|
39
40
|
circleRadius?: number;
|
|
40
41
|
fontSize?: number;
|
|
41
42
|
};
|
|
43
|
+
showZoomControls?: boolean;
|
|
42
44
|
darkShapeMode?: boolean;
|
|
43
45
|
mapOverlay?: never;
|
|
44
46
|
fullscreenControl?: never;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface PanZoomWrapperProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
showControls: boolean;
|
|
6
|
+
minScale?: number;
|
|
7
|
+
maxScale?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const ZoomWrapper: FC<PanZoomWrapperProps>;
|
|
11
|
+
export default ZoomWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ZoomWrapper } from './ZoomWrapper';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const iconsWrapperStyles: {
|
|
2
|
+
position: string;
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
display: string;
|
|
6
|
+
flexDirection: string;
|
|
7
|
+
gap: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const iconStyles: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
border: string;
|
|
13
|
+
color: string;
|
|
14
|
+
"&:hover": {
|
|
15
|
+
transition: string;
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
border: string;
|
|
18
|
+
};
|
|
19
|
+
};
|