@conboai/storybook.components 0.6.5 → 0.6.52

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.
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const CurrentPopup: ({ text }: {
4
+ text: string;
5
+ }) => React.JSX.Element;
6
+ export default CurrentPopup;
@@ -6,8 +6,9 @@ interface IMapPoint {
6
6
  onPointClick: (id: string) => void;
7
7
  editable?: boolean;
8
8
  showCircleText?: boolean;
9
+ searchedView?: boolean;
9
10
  handleDirectionChange: (id: string, direction: PointDirection) => void;
10
- handleTimeChange: (id: string, property: "startTime" | "endTime", value: number) => void;
11
+ handleTimeChange: (id: string, property: "startTime" | "endTime", direction: "plus" | "minus") => void;
11
12
  }
12
- declare const MapPoint: ({ point, onPointClick, showCircleText, handleDirectionChange, editable, handleTimeChange }: IMapPoint) => React.JSX.Element;
13
+ declare const MapPoint: ({ point, onPointClick, showCircleText, handleDirectionChange, editable, handleTimeChange, searchedView }: IMapPoint) => React.JSX.Element;
13
14
  export default MapPoint;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { PointVariant } from './PointFinder';
3
+
4
+ declare const MapVariantPoint: ({ variant, onClick, searchedView, showCircleText, circleText }: {
5
+ variant: PointVariant;
6
+ onClick: () => void;
7
+ circleText?: string;
8
+ searchedView?: boolean;
9
+ showCircleText?: boolean;
10
+ }) => React.JSX.Element;
11
+ export default MapVariantPoint;
@@ -3,7 +3,8 @@ import { default as React } from 'react';
3
3
  export declare enum PointVariant {
4
4
  current = "current",
5
5
  disabled = "disabled",
6
- default = "default"
6
+ default = "default",
7
+ selected = "selected"
7
8
  }
8
9
  export declare enum PointDirection {
9
10
  plus = "plus",
@@ -31,9 +32,10 @@ interface IPointFinder {
31
32
  showCircleText?: boolean;
32
33
  connections?: Connection[];
33
34
  editable?: boolean;
35
+ searchedView?: boolean;
34
36
  onPointClick: (id: string) => void;
35
37
  handleDirectionChange: (id: string, value: PointDirection) => void;
36
- handleTimeChange: (id: string, property: "startTime" | "endTime", value: number) => void;
38
+ handleTimeChange: (id: string, property: "startTime" | "endTime", direction: "plus" | "minus") => void;
37
39
  }
38
- export default function App({ points, connections, showCircleText, editable, onPointClick, handleDirectionChange, handleTimeChange }: IPointFinder): React.JSX.Element | null;
40
+ export default function App({ points, connections, showCircleText, editable, onPointClick, handleDirectionChange, handleTimeChange, searchedView }: IPointFinder): React.JSX.Element | null;
39
41
  export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const SearchedPopup: ({ text }: {
4
+ text: string;
5
+ }) => React.JSX.Element;
6
+ export default SearchedPopup;