@trackunit/react-map 0.2.198 → 0.2.201

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 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 MapMarkerStickSurface(props, ref) {
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 MapMarkerStickSurface(props, ref) {
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);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/map/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@trackunit/react-map",
3
- "version": "0.2.198",
3
+ "version": "0.2.201",
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.0",
11
- "@trackunit/css-class-variance-utilities": "2.3.0",
12
- "@trackunit/react-form-components": "2.10.1",
13
- "@trackunit/react-core-hooks": "1.25.0",
14
- "@trackunit/geo-json-utils": "1.18.0",
15
- "@trackunit/i18n-library-translation": "2.8.0",
10
+ "@trackunit/react-components": "3.7.3",
11
+ "@trackunit/css-class-variance-utilities": "2.3.2",
12
+ "@trackunit/react-form-components": "2.10.4",
13
+ "@trackunit/react-core-hooks": "1.25.2",
14
+ "@trackunit/geo-json-utils": "1.18.2",
15
+ "@trackunit/i18n-library-translation": "2.8.2",
16
16
  "react-minimal-pie-chart": "^8.4.0",
17
- "@trackunit/react-map-adapter-shared": "0.0.151",
18
- "@trackunit/react-map-color-utils": "0.0.126",
19
- "@trackunit/shared-utils": "1.19.0",
20
- "@trackunit/ui-design-tokens": "1.18.0",
17
+ "@trackunit/react-map-adapter-shared": "0.0.153",
18
+ "@trackunit/react-map-color-utils": "0.0.128",
19
+ "@trackunit/shared-utils": "1.19.2",
20
+ "@trackunit/ui-design-tokens": "1.18.2",
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: MarkerState;
7
- readonly markerSize: MarkerDomSize;
6
+ readonly state?: MarkerState;
7
+ readonly markerSize?: MarkerDomSize;
8
8
  readonly theme: MapTheme;
9
- readonly showSegments: boolean;
10
- readonly showSticks: boolean;
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: MarkerDomSize;
7
- readonly stickCount: number;
8
- readonly showSegments: boolean;
9
- readonly showIndicators: boolean;
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: boolean;
5
- readonly showSegments: boolean;
6
- readonly stickCount: number;
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: MarkerState;
6
+ readonly state?: MarkerState;
7
7
  readonly theme: MapTheme;
8
- readonly direction: number | undefined;
9
- readonly stickMode: boolean;
10
- readonly showIcon: boolean;
11
- readonly label: string;
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: MarkerState;
6
+ readonly state?: MarkerState;
7
7
  readonly theme: MapTheme;
8
8
  };
9
9
  export declare const StickModePlaygroundDemo: ({ size, state, theme }: StickModePlaygroundDemoProps) => ReactElement;
@@ -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": "衛星",
@@ -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": "衛星",