@osamash/floor-planner 1.1.4 → 1.1.6
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/floor-planner.css +1 -1
- package/dist/floor-planner.es.js +29798 -29637
- package/dist/floor-planner.umd.js +165 -156
- package/dist/types/react-planner/catalog/catalog.d.ts +1 -0
- package/dist/types/react-planner/catalog/properties/PropertyLengthMeasure.d.ts +1 -1
- package/dist/types/react-planner/components/PropertyLengthMeasure.d.ts +1 -1
- package/dist/types/react-planner/components/SearchInput.d.ts +2 -1
- package/dist/types/react-planner/components/Tooltip.d.ts +10 -0
- package/dist/types/react-planner/footer-bar/Footerbar.d.ts +1 -4
- package/dist/types/react-planner/sidebar/Sidebar.d.ts +1 -1
- package/dist/types/react-planner/toolbar/ToolbarButton.d.ts +3 -0
- package/package.json +1 -1
|
@@ -7,5 +7,5 @@ interface PropertyLengthMeasureProps {
|
|
|
7
7
|
sourceElement: any;
|
|
8
8
|
internalState: any;
|
|
9
9
|
}
|
|
10
|
-
export default function PropertyLengthMeasure({ value, onUpdate, onValid, configs, sourceElement, internalState, }: PropertyLengthMeasureProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default function PropertyLengthMeasure({ value, onUpdate, onValid, configs, sourceElement, internalState, }: PropertyLengthMeasureProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
11
11
|
export {};
|
|
@@ -7,5 +7,5 @@ interface PropertyLengthMeasureProps {
|
|
|
7
7
|
sourceElement?: any;
|
|
8
8
|
internalState?: any;
|
|
9
9
|
}
|
|
10
|
-
declare const PropertyLengthMeasure: ({ value, onUpdate, onValid, configs, sourceElement, internalState, }: PropertyLengthMeasureProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const PropertyLengthMeasure: ({ value, onUpdate, onValid, configs, sourceElement, internalState, }: PropertyLengthMeasureProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
11
11
|
export default PropertyLengthMeasure;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface SearchFieldInterface {
|
|
2
2
|
term?: string;
|
|
3
|
+
value?: string;
|
|
3
4
|
placeholder?: string;
|
|
4
5
|
noSpacing?: boolean;
|
|
5
6
|
onClick?: () => false;
|
|
@@ -8,5 +9,5 @@ interface SearchFieldInterface {
|
|
|
8
9
|
hasDropDown?: boolean;
|
|
9
10
|
onSearch: (term: string, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
11
|
}
|
|
11
|
-
declare const SearchInput: ({ term, placeholder, noSpacing, onClick, isStatic, hasDropDown, onSearch, className, }: SearchFieldInterface) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const SearchInput: ({ term, placeholder, noSpacing, onClick, isStatic, hasDropDown, onSearch, className, value, }: SearchFieldInterface) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default SearchInput;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
anchorEl: HTMLElement | null;
|
|
4
|
+
title: string;
|
|
5
|
+
position?: TooltipPosition;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
collisionPadding?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const Tooltip: ({ anchorEl, title, position, visible, collisionPadding, }: TooltipProps) => import("react").ReactPortal;
|
|
10
|
+
export default Tooltip;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
sidebarWidth: number;
|
|
3
|
-
}
|
|
4
|
-
declare const Footerbar: ({ sidebarWidth }: FooterbarProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
1
|
+
declare const Footerbar: () => import("react/jsx-runtime").JSX.Element | undefined;
|
|
5
2
|
export default Footerbar;
|
|
@@ -3,5 +3,5 @@ interface SidebarProps {
|
|
|
3
3
|
catalog: Catalog;
|
|
4
4
|
width?: number;
|
|
5
5
|
}
|
|
6
|
-
declare const Sidebar: ({ catalog, width }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const Sidebar: ({ catalog, width }: SidebarProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
export default Sidebar;
|
|
@@ -2,9 +2,12 @@ import React from "react";
|
|
|
2
2
|
interface ToolbarButtonProps {
|
|
3
3
|
active: boolean;
|
|
4
4
|
tooltip: string;
|
|
5
|
+
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
5
6
|
className?: string;
|
|
6
7
|
onClick: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
7
8
|
children: React.ReactNode;
|
|
9
|
+
showDelay?: number;
|
|
10
|
+
hideDelay?: number;
|
|
8
11
|
}
|
|
9
12
|
declare const ToolbarButton: React.FC<ToolbarButtonProps>;
|
|
10
13
|
export default ToolbarButton;
|