@majoo-ui/react 1.62.7 → 1.63.0-rc.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.62.7",
3
+ "version": "1.63.0-rc.2",
4
4
  "main": "./index.esm.js",
5
5
  "exports": {
6
6
  ".": {
@@ -19,8 +19,8 @@
19
19
  "@floating-ui/react-dom": "^1.3.0",
20
20
  "@hookform/resolvers": "^2.8.10",
21
21
  "@majoo-ui/core": "1.31.8",
22
- "@majoo-ui/helpers": "1.30.7",
23
- "@majoo-ui/icons": "1.38.43",
22
+ "@majoo-ui/helpers": "1.30.9",
23
+ "@majoo-ui/icons": "1.39.6",
24
24
  "@monsonjeremy/react-leaflet": "^3.2.2",
25
25
  "@radix-ui/react-accordion": "^1.0.0",
26
26
  "@radix-ui/react-alert-dialog": "^1.0.3",
@@ -120,6 +120,7 @@ declare namespace EditableTable {
120
120
  shadows: unknown;
121
121
  fontSizes: unknown;
122
122
  fonts: unknown;
123
+ fontWeights: unknown;
123
124
  lineHeights: unknown;
124
125
  letterSpacings: unknown;
125
126
  radii: unknown;
@@ -221,6 +222,7 @@ declare namespace EditableTable {
221
222
  shadows: unknown;
222
223
  fontSizes: unknown;
223
224
  fonts: unknown;
225
+ fontWeights: unknown;
224
226
  lineHeights: unknown;
225
227
  letterSpacings: unknown;
226
228
  radii: unknown;
@@ -320,6 +322,7 @@ declare namespace EditableTable {
320
322
  shadows: unknown;
321
323
  fontSizes: unknown;
322
324
  fonts: unknown;
325
+ fontWeights: unknown;
323
326
  lineHeights: unknown;
324
327
  letterSpacings: unknown;
325
328
  radii: unknown;
@@ -1,2 +1,6 @@
1
- /// <reference types="react" />
2
- export declare function MarkerIcon(): JSX.Element;
1
+ import React from 'react';
2
+ interface MarkerIconProps {
3
+ marker?: React.ReactNode;
4
+ }
5
+ export declare function MarkerIcon({ marker }: MarkerIconProps): JSX.Element;
6
+ export {};
@@ -54,6 +54,12 @@ export interface MapPickerProps {
54
54
  * Custom placeholder for search input.
55
55
  */
56
56
  searchPlaceholder?: string;
57
+ /**
58
+ * Custom marker element to render at the map center.
59
+ * Defaults to the built-in Majoo brand SVG pin.
60
+ * Pass any React node (e.g. an `<img>`, custom SVG, or icon component).
61
+ */
62
+ marker?: React.ReactNode;
57
63
  }
58
64
  export interface InputMapPickerProps extends MapPickerProps {
59
65
  /**