@trackunit/react-map 0.2.198 → 0.2.202
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +11 -11
- package/src/clusters/stories/ClusterMarkerDefaultDemo.d.ts +4 -4
- package/src/clusters/stories/ClusterMarkerPlaygroundDemo.d.ts +4 -4
- package/src/clusters/stories/ClusterMarkerWithSticksDemo.d.ts +3 -3
- package/src/markers/stories/demoes/DefaultDemo.d.ts +5 -5
- package/src/markers/stories/demoes/StickModePlaygroundDemo.d.ts +1 -1
- package/translation16.cjs.js +2 -2
- package/translation16.esm.js +2 -2
package/index.cjs.js
CHANGED
|
@@ -4711,7 +4711,7 @@ ClusterMarkerInner.displayName = "ClusterMarker";
|
|
|
4711
4711
|
const getHasIcon$1 = (icon, iconPx) => {
|
|
4712
4712
|
return icon !== null && iconPx > 0;
|
|
4713
4713
|
};
|
|
4714
|
-
const MapMarkerStickSurface = react.forwardRef(function
|
|
4714
|
+
const MapMarkerStickSurface = react.forwardRef(function MapMarkerStickSurfaceComponent(props, ref) {
|
|
4715
4715
|
const { accessibleName, className, colors, dataTestId, direction, directionDisplay, circleLayoutSize, contentLayoutSize, icon, iconPx, labelText, labelVisible, onBlur, onClick, onFocus, onKeyDown, onMouseEnter, onMouseLeave, panelOpen, state, stickPositioning, style, textPx, theme, } = props;
|
|
4716
4716
|
const showPillDirection = directionDisplay.show;
|
|
4717
4717
|
const stickHasIcon = getHasIcon$1(icon, iconPx);
|
package/index.esm.js
CHANGED
|
@@ -4710,7 +4710,7 @@ ClusterMarkerInner.displayName = "ClusterMarker";
|
|
|
4710
4710
|
const getHasIcon$1 = (icon, iconPx) => {
|
|
4711
4711
|
return icon !== null && iconPx > 0;
|
|
4712
4712
|
};
|
|
4713
|
-
const MapMarkerStickSurface = forwardRef(function
|
|
4713
|
+
const MapMarkerStickSurface = forwardRef(function MapMarkerStickSurfaceComponent(props, ref) {
|
|
4714
4714
|
const { accessibleName, className, colors, dataTestId, direction, directionDisplay, circleLayoutSize, contentLayoutSize, icon, iconPx, labelText, labelVisible, onBlur, onClick, onFocus, onKeyDown, onMouseEnter, onMouseLeave, panelOpen, state, stickPositioning, style, textPx, theme, } = props;
|
|
4715
4715
|
const showPillDirection = directionDisplay.show;
|
|
4716
4716
|
const stickHasIcon = getHasIcon$1(icon, iconPx);
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-map",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.202",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/react-components": "3.7.
|
|
11
|
-
"@trackunit/css-class-variance-utilities": "2.3.
|
|
12
|
-
"@trackunit/react-form-components": "2.10.
|
|
13
|
-
"@trackunit/react-core-hooks": "1.25.
|
|
14
|
-
"@trackunit/geo-json-utils": "1.18.
|
|
15
|
-
"@trackunit/i18n-library-translation": "2.8.
|
|
10
|
+
"@trackunit/react-components": "3.7.4",
|
|
11
|
+
"@trackunit/css-class-variance-utilities": "2.3.3",
|
|
12
|
+
"@trackunit/react-form-components": "2.10.5",
|
|
13
|
+
"@trackunit/react-core-hooks": "1.25.3",
|
|
14
|
+
"@trackunit/geo-json-utils": "1.18.3",
|
|
15
|
+
"@trackunit/i18n-library-translation": "2.8.3",
|
|
16
16
|
"react-minimal-pie-chart": "^8.4.0",
|
|
17
|
-
"@trackunit/react-map-adapter-shared": "0.0.
|
|
18
|
-
"@trackunit/react-map-color-utils": "0.0.
|
|
19
|
-
"@trackunit/shared-utils": "1.19.
|
|
20
|
-
"@trackunit/ui-design-tokens": "1.18.
|
|
17
|
+
"@trackunit/react-map-adapter-shared": "0.0.154",
|
|
18
|
+
"@trackunit/react-map-color-utils": "0.0.129",
|
|
19
|
+
"@trackunit/shared-utils": "1.19.3",
|
|
20
|
+
"@trackunit/ui-design-tokens": "1.18.3",
|
|
21
21
|
"@floating-ui/react": "^0.26.25",
|
|
22
22
|
"es-toolkit": "^1.52.0",
|
|
23
23
|
"tailwind-merge": "^2.0.0",
|
|
@@ -3,11 +3,11 @@ import type { MapTheme } from "../../core/types";
|
|
|
3
3
|
import type { MarkerDomSize, MarkerState } from "../../markers/model/markerDomTypes";
|
|
4
4
|
type ClusterMarkerDefaultDemoProps = {
|
|
5
5
|
readonly count: number;
|
|
6
|
-
readonly state
|
|
7
|
-
readonly markerSize
|
|
6
|
+
readonly state?: MarkerState;
|
|
7
|
+
readonly markerSize?: MarkerDomSize;
|
|
8
8
|
readonly theme: MapTheme;
|
|
9
|
-
readonly showSegments
|
|
10
|
-
readonly showSticks
|
|
9
|
+
readonly showSegments?: boolean;
|
|
10
|
+
readonly showSticks?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare const ClusterMarkerDefaultDemo: ({ count, state, markerSize, theme, showSegments, showSticks, }: ClusterMarkerDefaultDemoProps) => ReactElement;
|
|
13
13
|
export {};
|
|
@@ -3,10 +3,10 @@ import type { MapTheme } from "../../core/types";
|
|
|
3
3
|
import type { MarkerDomSize } from "../../markers/model/markerDomTypes";
|
|
4
4
|
type ClusterMarkerPlaygroundDemoProps = {
|
|
5
5
|
readonly theme: MapTheme;
|
|
6
|
-
readonly markerSize
|
|
7
|
-
readonly stickCount
|
|
8
|
-
readonly showSegments
|
|
9
|
-
readonly showIndicators
|
|
6
|
+
readonly markerSize?: MarkerDomSize;
|
|
7
|
+
readonly stickCount?: number;
|
|
8
|
+
readonly showSegments?: boolean;
|
|
9
|
+
readonly showIndicators?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare const ClusterMarkerPlaygroundDemo: ({ theme, markerSize, stickCount, showSegments, showIndicators, }: ClusterMarkerPlaygroundDemoProps) => ReactElement;
|
|
12
12
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
import type { MapTheme } from "../../core/types";
|
|
3
3
|
type InteractiveSticksDemoProps = {
|
|
4
|
-
readonly showIndicators
|
|
5
|
-
readonly showSegments
|
|
6
|
-
readonly stickCount
|
|
4
|
+
readonly showIndicators?: boolean;
|
|
5
|
+
readonly showSegments?: boolean;
|
|
6
|
+
readonly stickCount?: number;
|
|
7
7
|
readonly theme: MapTheme;
|
|
8
8
|
};
|
|
9
9
|
type HighlightedSticksDemoProps = {
|
|
@@ -3,12 +3,12 @@ import type { MapTheme } from "../../../core/types";
|
|
|
3
3
|
import type { MarkerDomSize, MarkerState } from "../../model/markerDomTypes";
|
|
4
4
|
type DefaultDemoProps = {
|
|
5
5
|
readonly size: MarkerDomSize;
|
|
6
|
-
readonly state
|
|
6
|
+
readonly state?: MarkerState;
|
|
7
7
|
readonly theme: MapTheme;
|
|
8
|
-
readonly direction
|
|
9
|
-
readonly stickMode
|
|
10
|
-
readonly showIcon
|
|
11
|
-
readonly label
|
|
8
|
+
readonly direction?: number;
|
|
9
|
+
readonly stickMode?: boolean;
|
|
10
|
+
readonly showIcon?: boolean;
|
|
11
|
+
readonly label?: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const DefaultDemo: ({ size, state, theme, direction, stickMode, showIcon, label, }: DefaultDemoProps) => ReactElement;
|
|
14
14
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { MapTheme } from "../../../core/types";
|
|
|
3
3
|
import type { MarkerDomSize, MarkerState } from "../../model/markerDomTypes";
|
|
4
4
|
type StickModePlaygroundDemoProps = {
|
|
5
5
|
readonly size: MarkerDomSize;
|
|
6
|
-
readonly state
|
|
6
|
+
readonly state?: MarkerState;
|
|
7
7
|
readonly theme: MapTheme;
|
|
8
8
|
};
|
|
9
9
|
export declare const StickModePlaygroundDemo: ({ size, state, theme }: StickModePlaygroundDemoProps) => ReactElement;
|
package/translation16.cjs.js
CHANGED
|
@@ -17,8 +17,8 @@ var translation = {
|
|
|
17
17
|
"map.loadingData": "Loading map data",
|
|
18
18
|
"map.loadingErrorMessage": "マップを読み込めません。後でもう一度お試しください。",
|
|
19
19
|
"multiGeometry.badge.tooltip": "複数の形状の内の一つ",
|
|
20
|
-
"settings.mapStyle.dark": "
|
|
21
|
-
"settings.mapStyle.light": "
|
|
20
|
+
"settings.mapStyle.dark": "ダーク",
|
|
21
|
+
"settings.mapStyle.light": "ライト",
|
|
22
22
|
"settings.mapStyle.roadmap": "道路マップ",
|
|
23
23
|
"settings.mapStyle.roads": "道路",
|
|
24
24
|
"settings.mapStyle.satellite": "衛星",
|
package/translation16.esm.js
CHANGED
|
@@ -15,8 +15,8 @@ var translation = {
|
|
|
15
15
|
"map.loadingData": "Loading map data",
|
|
16
16
|
"map.loadingErrorMessage": "マップを読み込めません。後でもう一度お試しください。",
|
|
17
17
|
"multiGeometry.badge.tooltip": "複数の形状の内の一つ",
|
|
18
|
-
"settings.mapStyle.dark": "
|
|
19
|
-
"settings.mapStyle.light": "
|
|
18
|
+
"settings.mapStyle.dark": "ダーク",
|
|
19
|
+
"settings.mapStyle.light": "ライト",
|
|
20
20
|
"settings.mapStyle.roadmap": "道路マップ",
|
|
21
21
|
"settings.mapStyle.roads": "道路",
|
|
22
22
|
"settings.mapStyle.satellite": "衛星",
|