@telicent-oss/ds 0.17.0 → 0.18.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.
package/dist/ds.js
CHANGED
|
@@ -54985,7 +54985,8 @@ const AppBar2 = ({
|
|
|
54985
54985
|
position: position2 = "relative",
|
|
54986
54986
|
startChild,
|
|
54987
54987
|
endChild,
|
|
54988
|
-
version
|
|
54988
|
+
version,
|
|
54989
|
+
onClick
|
|
54989
54990
|
}) => {
|
|
54990
54991
|
const theme = useExtendedTheme();
|
|
54991
54992
|
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, enableColorOnDark: true, sx: {
|
|
@@ -55002,8 +55003,9 @@ const AppBar2 = ({
|
|
|
55002
55003
|
position: "absolute",
|
|
55003
55004
|
top: "50%",
|
|
55004
55005
|
left: "50%",
|
|
55005
|
-
transform: "translate(-50%, -50%);"
|
|
55006
|
-
|
|
55006
|
+
transform: "translate(-50%, -50%);",
|
|
55007
|
+
cursor: onClick ? "pointer" : "default"
|
|
55008
|
+
}, onClick, children: [
|
|
55007
55009
|
/* @__PURE__ */ jsx$1(TelicentMark, { fontSize: "large" }),
|
|
55008
55010
|
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55009
55011
|
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
@@ -79549,7 +79551,8 @@ const FeatureMap = ({
|
|
|
79549
79551
|
map.on("render", () => {
|
|
79550
79552
|
map.fitBounds(bounds, {
|
|
79551
79553
|
padding: 20,
|
|
79552
|
-
maxZoom: 8
|
|
79554
|
+
maxZoom: 8,
|
|
79555
|
+
maxDuration: 1e3
|
|
79553
79556
|
});
|
|
79554
79557
|
});
|
|
79555
79558
|
}, [geoPolygons, markers, selected]);
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -55003,7 +55003,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55003
55003
|
position: position2 = "relative",
|
|
55004
55004
|
startChild,
|
|
55005
55005
|
endChild,
|
|
55006
|
-
version
|
|
55006
|
+
version,
|
|
55007
|
+
onClick
|
|
55007
55008
|
}) => {
|
|
55008
55009
|
const theme = useExtendedTheme();
|
|
55009
55010
|
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, enableColorOnDark: true, sx: {
|
|
@@ -55020,8 +55021,9 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55020
55021
|
position: "absolute",
|
|
55021
55022
|
top: "50%",
|
|
55022
55023
|
left: "50%",
|
|
55023
|
-
transform: "translate(-50%, -50%);"
|
|
55024
|
-
|
|
55024
|
+
transform: "translate(-50%, -50%);",
|
|
55025
|
+
cursor: onClick ? "pointer" : "default"
|
|
55026
|
+
}, onClick, children: [
|
|
55025
55027
|
/* @__PURE__ */ jsx$1(TelicentMark, { fontSize: "large" }),
|
|
55026
55028
|
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55027
55029
|
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
@@ -79567,7 +79569,8 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
79567
79569
|
map.on("render", () => {
|
|
79568
79570
|
map.fitBounds(bounds, {
|
|
79569
79571
|
padding: 20,
|
|
79570
|
-
maxZoom: 8
|
|
79572
|
+
maxZoom: 8,
|
|
79573
|
+
maxDuration: 1e3
|
|
79571
79574
|
});
|
|
79572
79575
|
});
|
|
79573
79576
|
}, [geoPolygons, markers, selected]);
|
|
@@ -7,7 +7,8 @@ export type AppBarProps = Partial<{
|
|
|
7
7
|
startChild: React.ReactNode;
|
|
8
8
|
endChild: React.ReactNode;
|
|
9
9
|
position: MUIAppBarProps["position"];
|
|
10
|
-
version
|
|
10
|
+
version?: string;
|
|
11
|
+
onClick?: (event?: Event | React.SyntheticEvent) => void;
|
|
11
12
|
}>;
|
|
12
13
|
declare const AppBar: React.FC<AppBarProps>;
|
|
13
14
|
export default AppBar;
|