@conboai/storybook.components 0.5.72 → 0.5.74

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.
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { GeoComponentProps } from './types';
3
3
 
4
- declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay }: GeoComponentProps) => React.JSX.Element;
4
+ declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay, }: GeoComponentProps) => React.JSX.Element;
5
5
  export default Geo;
@@ -19,6 +19,8 @@ export interface GeoType {
19
19
  showNumbers?: boolean;
20
20
  isEditable?: boolean;
21
21
  text?: string;
22
+ startMarkerLabel?: string;
23
+ endMarkerLabel?: string;
22
24
  }
23
25
  export interface CoordinatePoint {
24
26
  lat: number;
@@ -28124,8 +28124,8 @@ const tQ = {
28124
28124
  paths: [
28125
28125
  "M5.09615 5.07692L5.07692 4.15385C5.07855 3.58311 5.30599 3.03621 5.70956 2.63264C6.11314 2.22907 6.66003 2.00162 7.23077 2H15.5385C16.1907 2.00193 16.8157 2.26189 17.2769 2.7231C17.7381 3.18431 17.9981 3.80929 18 4.46154V12.7692C17.9984 13.34 17.7709 13.8869 17.3674 14.2904C16.9638 14.694 16.4169 14.9215 15.8462 14.9231H14.9231M8.46154 8.46154V14.6154M5.38462 11.5385H11.5385M12.7308 5.07692H4.19231C2.98153 5.07692 2 6.05845 2 7.26923V15.8077C2 17.0185 2.98153 18 4.19231 18H12.7308C13.9415 18 14.9231 17.0185 14.9231 15.8077V7.26923C14.9231 6.05845 13.9415 5.07692 12.7308 5.07692Z"
28126
28126
  ],
28127
- width: 16,
28128
- height: 16,
28127
+ width: 19,
28128
+ height: 19,
28129
28129
  strokeWidth: 1
28130
28130
  },
28131
28131
  kit: {
@@ -80956,8 +80956,8 @@ const Dhe = () => {
80956
80956
  onChange: n,
80957
80957
  showOnlyPoints: v,
80958
80958
  data: ee,
80959
- startMarkerLabel: D,
80960
- endMarkerLabel: F,
80959
+ startMarkerLabel: D || ee.startMarkerLabel,
80960
+ endMarkerLabel: F || ee.endMarkerLabel,
80961
80961
  scaleNumber: _,
80962
80962
  showEndDirection: P
80963
80963
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.5.72",
3
+ "version": "0.5.74",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [