@abidibo/react-cam-roi 0.11.0 → 0.12.0

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
+ type TooltipProps = {
2
+ title: string;
3
+ children: React.ReactNode;
4
+ };
5
+ declare const Tooltip: React.FC<TooltipProps>;
6
+ export default Tooltip;
@@ -7,6 +7,7 @@ import Modal from '../Components/Modal';
7
7
  import NumberField from '../Components/NumberField';
8
8
  import { INotify } from '../Components/RoiEditor/Types';
9
9
  import TextField from '../Components/TextField';
10
+ import Tooltip from '../Components/Tooltip';
10
11
  import Typography from '../Components/Typography';
11
12
  import AnnotateIcon from '../Icons/AnnotateIcon';
12
13
  import CloseIcon from '../Icons/CloseIcon';
@@ -21,6 +22,7 @@ type UiContextType = {
21
22
  primaryColor: string;
22
23
  primaryFgColor: string;
23
24
  Typography: typeof Typography;
25
+ Tooltip: typeof Tooltip;
24
26
  IconButton: typeof IconButton;
25
27
  Modal: typeof Modal;
26
28
  DeleteIcon: typeof DeleteIcon;
@@ -44,6 +46,7 @@ type UiContextType = {
44
46
  cannotDrawMoreRectangles: string;
45
47
  id: string;
46
48
  invalidSubmission: string;
49
+ fullImage: string;
47
50
  mainParametersMetadata: string;
48
51
  missingPresetName: string;
49
52
  missingRequiredValuesInMainParameters: string;
@@ -60,6 +63,7 @@ type UiContextType = {
60
63
  pointer: string;
61
64
  pointerHelpText: string;
62
65
  rect: string;
66
+ rectangle: string;
63
67
  rectHelpText: string;
64
68
  roiMultiplicityEqRule: string;
65
69
  roiMultiplicityGtRule: string;
@@ -71,6 +75,7 @@ type UiContextType = {
71
75
  role: string;
72
76
  requiredField: string;
73
77
  save: string;
78
+ selection: string;
74
79
  shapeParametersMetadata: string;
75
80
  shapesOfRoleShouldBeEqualToThreshold: string;
76
81
  shapesOfRoleShouldBeGreaterThanThreshold: string;
@@ -82,7 +87,7 @@ type UiContextType = {
82
87
  };
83
88
  export declare const DefaultUiContext: UiContextType;
84
89
  export declare const UiContext: import("react").Context<UiContextType>;
85
- declare const UiProvider: ({ children, enableLogs, themeMode, primaryColor, primaryFgColor, Typography, Modal, IconButton, DeleteIcon, EditIcon, CopyIcon, AnnotateIcon, SaveIcon, CloseIcon, TextField, NumberField, BoolField, EnumField, Button, pickerColors, notify, strings, }: PropsWithChildren<Partial<Omit<UiContextType, "strings">> & {
90
+ declare const UiProvider: ({ children, enableLogs, themeMode, primaryColor, primaryFgColor, Typography, Tooltip, Modal, IconButton, DeleteIcon, EditIcon, CopyIcon, AnnotateIcon, SaveIcon, CloseIcon, TextField, NumberField, BoolField, EnumField, Button, pickerColors, notify, strings, }: PropsWithChildren<Partial<Omit<UiContextType, "strings">> & {
86
91
  strings?: Partial<UiContextType["strings"]>;
87
92
  }>) => import("react/jsx-runtime").JSX.Element;
88
93
  export default UiProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abidibo/react-cam-roi",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "A react component for drawing ROI over images and managing metadata",
5
5
  "repository": {
6
6
  "type": "git",