@conboai/storybook.components 0.5.31 → 0.5.33

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.
@@ -19,6 +19,8 @@ interface IGeoPath {
19
19
  mapOverlay?: boolean;
20
20
  darkShapeMode?: never;
21
21
  polylineProps?: never;
22
+ shapesStyles?: never;
23
+ imageStyles?: never;
22
24
  }
23
25
  interface IFeedPath {
24
26
  type: TrailPathType.Feed;
@@ -45,6 +47,8 @@ interface IFeedPath {
45
47
  scaleNumber?: never;
46
48
  endMarkerLabel?: never;
47
49
  startMarkerLabel?: never;
50
+ shapesStyles?: any;
51
+ imageStyles?: any;
48
52
  }
49
53
  export type ITrailPathView = IGeoPath | IFeedPath;
50
54
  declare const TrailPathView: FC<ITrailPathView>;
@@ -80688,14 +80688,16 @@ const mhe = () => {
80688
80688
  fullscreenControl: d,
80689
80689
  polylineProps: h,
80690
80690
  darkShapeMode: f = !1,
80691
- mapOverlay: b
80691
+ mapOverlay: b,
80692
+ shapesStyles: p,
80693
+ imageStyles: g
80692
80694
  }) => {
80693
- const p = {
80695
+ const m = {
80694
80696
  id: "1",
80695
80697
  points: yhe(n),
80696
80698
  type: Ti.Polyline,
80697
80699
  styles: i
80698
- }, g = {
80700
+ }, v = {
80699
80701
  id: "1",
80700
80702
  coordinates: vhe(r),
80701
80703
  type: gs.Polyline,
@@ -80707,7 +80709,7 @@ const mhe = () => {
80707
80709
  googleMapsApiKey: o,
80708
80710
  showDirection: !0,
80709
80711
  mode: { type: "view", shape: "polyline" },
80710
- data: [g],
80712
+ data: [v],
80711
80713
  showNumbers: !1,
80712
80714
  disableControls: !0,
80713
80715
  startMarkerLabel: s,
@@ -80722,19 +80724,25 @@ const mhe = () => {
80722
80724
  {
80723
80725
  showDirection: !0,
80724
80726
  menu: { show: !1 },
80725
- selected: p,
80726
- shapes: [p],
80727
+ selected: m,
80728
+ shapes: [m],
80727
80729
  mode: jn.View,
80728
80730
  showPoints: !1,
80729
80731
  showId: !1,
80730
80732
  polylineProps: h,
80733
+ styles: p,
80731
80734
  children: t ? /* @__PURE__ */ V.jsxs(bt, { position: "relative", width: "100%", height: "100%", children: [
80732
80735
  /* @__PURE__ */ V.jsx(
80733
80736
  a0,
80734
80737
  {
80735
80738
  component: "img",
80736
80739
  image: t,
80737
- style: { width: "100%", objectFit: "contain", height: "100%" },
80740
+ style: {
80741
+ width: "100%",
80742
+ objectFit: "contain",
80743
+ height: "100%",
80744
+ ...g
80745
+ },
80738
80746
  alt: "Feed image"
80739
80747
  }
80740
80748
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.5.31",
3
+ "version": "0.5.33",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [