@ornikar/kitt-universal 9.46.2 → 9.47.0

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,3 +1,4 @@
1
+ import type { ColorType } from 'native-base/lib/typescript/components/types';
1
2
  import type { ReactElement } from 'react';
2
3
  interface BaseMarkerWithSizeProps {
3
4
  width: number;
@@ -7,9 +8,12 @@ interface BaseMarkerWithoutSizeProps {
7
8
  width?: never;
8
9
  height?: never;
9
10
  }
11
+ interface BaseMarkerWithColorProp {
12
+ color?: ColorType;
13
+ }
10
14
  export type MapMarkerProps = BaseMarkerWithSizeProps | BaseMarkerWithoutSizeProps;
11
- export declare function MapMarkerSimple({ width, height }: MapMarkerProps): ReactElement;
12
- export declare function MapMarkerLarge({ width, height }: MapMarkerProps): ReactElement;
15
+ export declare function MapMarkerSimple({ width, height, color, }: MapMarkerProps & BaseMarkerWithColorProp): ReactElement;
16
+ export declare function MapMarkerLarge({ width, height, color, }: MapMarkerProps & BaseMarkerWithColorProp): ReactElement;
13
17
  export declare function MapMarkerPosition({ width, height }: MapMarkerProps): ReactElement;
14
18
  export {};
15
19
  //# sourceMappingURL=MapMarker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapMarker.d.ts","sourceRoot":"","sources":["../../../src/MapMarker/MapMarker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,0BAA0B;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,GAAG,uBAAuB,GAAG,0BAA0B,CAAC;AAElF,wBAAgB,eAAe,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE,EAAE,cAAc,GAAG,YAAY,CAEzF;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE,EAAE,cAAc,GAAG,YAAY,CAExF;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE,EAAE,cAAc,GAAG,YAAY,CAE3F"}
1
+ {"version":3,"file":"MapMarker.d.ts","sourceRoot":"","sources":["../../../src/MapMarker/MapMarker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,0BAA0B;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAED,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GAAG,uBAAuB,GAAG,0BAA0B,CAAC;AAElF,wBAAgB,eAAe,CAAC,EAC9B,KAAU,EACV,MAAW,EACX,KAAuC,GACxC,EAAE,cAAc,GAAG,uBAAuB,GAAG,YAAY,CAOzD;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAU,EACV,MAAW,EACX,KAAuC,GACxC,EAAE,cAAc,GAAG,uBAAuB,GAAG,YAAY,CAOzD;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE,EAAE,cAAc,GAAG,YAAY,CAE3F"}
@@ -4635,7 +4635,7 @@ ListItem.SideContainer = ListItemSideContainer;
4635
4635
 
4636
4636
  var SvgMarkerLargeinline = function SvgMarkerLargeinline(props) {
4637
4637
  return /*#__PURE__*/jsxs(Svg, _objectSpread(_objectSpread({
4638
- fill: "none",
4638
+ fill: "currentColor",
4639
4639
  viewBox: "0 0 54 56",
4640
4640
  width: 54,
4641
4641
  xmlns: "http://www.w3.org/2000/svg"
@@ -4688,7 +4688,7 @@ var SvgMarkerLargeinline = function SvgMarkerLargeinline(props) {
4688
4688
  var SvgMarkerinline = function SvgMarkerinline(props) {
4689
4689
  return /*#__PURE__*/jsxs(Svg, _objectSpread(_objectSpread({
4690
4690
  viewBox: "0 0 40 39",
4691
- fill: "none",
4691
+ fill: "currentColor",
4692
4692
  xmlns: "http://www.w3.org/2000/svg"
4693
4693
  }, props), {}, {
4694
4694
  children: [/*#__PURE__*/jsx(Path, {
@@ -4772,20 +4772,34 @@ function MapMarkerSimple(_ref) {
4772
4772
  var _ref$width = _ref.width,
4773
4773
  width = _ref$width === void 0 ? 40 : _ref$width,
4774
4774
  _ref$height = _ref.height,
4775
- height = _ref$height === void 0 ? 39 : _ref$height;
4775
+ height = _ref$height === void 0 ? 39 : _ref$height,
4776
+ _ref$color = _ref.color,
4777
+ color = _ref$color === void 0 ? lateOceanColorPalette.lateOcean : _ref$color;
4778
+ var sx = useSx();
4779
+ var styles = sx({
4780
+ color: color
4781
+ });
4776
4782
  return /*#__PURE__*/jsx(SvgMarkerinline, {
4777
4783
  width: width,
4778
- height: height
4784
+ height: height,
4785
+ color: styles.color
4779
4786
  });
4780
4787
  }
4781
4788
  function MapMarkerLarge(_ref2) {
4782
4789
  var _ref2$width = _ref2.width,
4783
4790
  width = _ref2$width === void 0 ? 54 : _ref2$width,
4784
4791
  _ref2$height = _ref2.height,
4785
- height = _ref2$height === void 0 ? 56 : _ref2$height;
4792
+ height = _ref2$height === void 0 ? 56 : _ref2$height,
4793
+ _ref2$color = _ref2.color,
4794
+ color = _ref2$color === void 0 ? lateOceanColorPalette.lateOcean : _ref2$color;
4795
+ var sx = useSx();
4796
+ var styles = sx({
4797
+ color: color
4798
+ });
4786
4799
  return /*#__PURE__*/jsx(SvgMarkerLargeinline, {
4787
4800
  width: width,
4788
- height: height
4801
+ height: height,
4802
+ color: styles.color
4789
4803
  });
4790
4804
  }
4791
4805
  function MapMarkerPosition(_ref3) {