@conboai/storybook.components 0.5.73 → 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;
@@ -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.73",
3
+ "version": "0.5.74",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [