@rankingcoach/vanguard 1.12.3 → 1.13.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.
Files changed (103) hide show
  1. package/dist/index-AdvancedMarker.js +235 -0
  2. package/dist/index-Autocomplete.js +62 -62
  3. package/dist/index-ControlledValuePlugin.js +1 -1
  4. package/dist/index-DateInput.js +4 -4
  5. package/dist/index-DateRange.js +1 -1
  6. package/dist/index-DefaultValuePlugin.js +1 -1
  7. package/dist/index-GoogleMaps.js +42 -36
  8. package/dist/index-GoogleMapsAdvancedMarker.js +64 -0
  9. package/dist/index-GoogleMapsAdvancedMarkerContent.js +41 -0
  10. package/dist/index-HyperlinkPlugin.js +1 -1
  11. package/dist/index-InputRangeField.js +1 -1
  12. package/dist/index-KeywordNode.js +1 -1
  13. package/dist/index-KeywordPlugin.js +1 -1
  14. package/dist/index-LexicalToolkit2.js +1 -1
  15. package/dist/index-Month.js +2 -2
  16. package/dist/index-OnChangeContentPlugin.js +1 -1
  17. package/dist/index-OnFocusOnBlurPlugin.js +1 -1
  18. package/dist/index-_virtual10.js +5 -3
  19. package/dist/index-_virtual11.js +5 -5
  20. package/dist/index-_virtual12.js +3 -5
  21. package/dist/index-_virtual21.js +2 -2
  22. package/dist/index-_virtual22.js +2 -2
  23. package/dist/index-_virtual23.js +3 -2
  24. package/dist/index-_virtual24.js +2 -2
  25. package/dist/index-_virtual25.js +2 -2
  26. package/dist/index-_virtual26.js +2 -2
  27. package/dist/index-_virtual27.js +2 -2
  28. package/dist/index-_virtual28.js +2 -2
  29. package/dist/index-_virtual29.js +2 -2
  30. package/dist/index-_virtual31.js +2 -2
  31. package/dist/index-_virtual32.js +2 -2
  32. package/dist/index-_virtual33.js +2 -2
  33. package/dist/index-_virtual34.js +2 -3
  34. package/dist/index-_virtual6.js +1 -1
  35. package/dist/index-_virtual63.js +2 -2
  36. package/dist/index-_virtual64.js +2 -2
  37. package/dist/index-_virtual69.js +2 -2
  38. package/dist/index-_virtual70.js +2 -4
  39. package/dist/index-_virtual71.js +4 -2
  40. package/dist/index-_virtual72.js +2 -4
  41. package/dist/index-_virtual73.js +1 -1
  42. package/dist/index-_virtual74.js +1 -1
  43. package/dist/index-_virtual75.js +4 -2
  44. package/dist/index-_virtual76.js +2 -2
  45. package/dist/index-_virtual77.js +4 -2
  46. package/dist/index-_virtual78.js +1 -1
  47. package/dist/index-_virtual79.js +1 -1
  48. package/dist/index-_virtual80.js +1 -1
  49. package/dist/index-_virtual81.js +1 -1
  50. package/dist/index-_virtual82.js +1 -1
  51. package/dist/index-_virtual83.js +1 -1
  52. package/dist/index-_virtual84.js +1 -1
  53. package/dist/index-_virtual85.js +2 -4
  54. package/dist/index-accessibility.js +1 -1
  55. package/dist/index-applyInternationalSeparatorStyle.js +1 -1
  56. package/dist/index-cjs.js +1 -1
  57. package/dist/index-colorManipulator3.js +2 -2
  58. package/dist/index-constants.js +1 -1
  59. package/dist/index-constants2.js +8 -2
  60. package/dist/index-constants3.js +2 -8
  61. package/dist/index-createExtensionPattern.js +1 -1
  62. package/dist/index-createStyled2.js +6 -6
  63. package/dist/index-dist2.js +20 -78
  64. package/dist/index-dist3.js +78 -20
  65. package/dist/index-dist5.js +1 -1
  66. package/dist/index-exenv.js +1 -1
  67. package/dist/index-extractCountryCallingCode.js +1 -1
  68. package/dist/index-extractPhoneContext.js +1 -1
  69. package/dist/index-isViablePhoneNumber.js +1 -1
  70. package/dist/index-keycode.js +1 -1
  71. package/dist/index-lib2.js +1 -1
  72. package/dist/index-lib3.js +1 -1
  73. package/dist/index-lib4.js +1 -1
  74. package/dist/index-map-context.js +12 -0
  75. package/dist/index-map-helper.js +38 -0
  76. package/dist/index-mpd-parser.es.js +1 -1
  77. package/dist/index-parse2.js +1 -1
  78. package/dist/index-stripIddPrefix.js +1 -1
  79. package/dist/index-style-to-object.js +1 -1
  80. package/dist/index-tiny-invariant.js +12 -0
  81. package/dist/index-useHyperlinkEditor.js +1 -1
  82. package/dist/index-useLexicalToolbar.js +1 -1
  83. package/dist/index-useThemeWithoutDefault3.js +1 -1
  84. package/dist/index-video.es.js +2 -2
  85. package/dist/index.js +425 -418
  86. package/dist/types/core/Autocomplete/stories/WithMultiple.story.d.ts +0 -4
  87. package/dist/types/core/GoogleMaps/GoogleMaps.d.ts +2 -1
  88. package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarker.d.ts +55 -0
  89. package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarkerContent.d.ts +41 -0
  90. package/dist/types/core/GoogleMaps/index.d.ts +6 -0
  91. package/dist/types/core/GoogleMaps/map-context.d.ts +1 -1
  92. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarker.story.d.ts +2 -0
  93. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerCustomIcon.story.d.ts +2 -0
  94. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerHTML.story.d.ts +2 -0
  95. package/dist/types/core/GoogleMaps/stories/WithMapIdAndMarkers.story.d.ts +2 -0
  96. package/dist/types/core/GoogleMaps/stories/WithMarkerInfoBox.story.d.ts +2 -0
  97. package/dist/types/core/GoogleMaps/stories/WithMultipleAdvancedMarkers.story.d.ts +2 -0
  98. package/dist/types/core/GoogleMaps/stories/WithMultipleMarkers.story.d.ts +2 -0
  99. package/dist/types/core/GoogleMaps/stories/WithSingleMarker.story.d.ts +2 -0
  100. package/dist/types/index.d.ts +6 -0
  101. package/dist/vanguard-asset-analysis.json +1 -1
  102. package/dist-wordpress/index.js +393 -393
  103. package/package.json +1 -1
@@ -1,6 +1,2 @@
1
1
  import { Story } from './_Autocomplete.default';
2
- /**
3
- * Autocomplete with multiple selection.
4
- * Tests multiple prop and splitCommaTag functionality.
5
- */
6
2
  export declare const WithMultiple: Story;
@@ -9,7 +9,8 @@ export type GoogleMapsProps = {
9
9
  testId?: string;
10
10
  onLoad?: ((map: google.maps.Map) => void | Promise<void>) | undefined;
11
11
  mapId?: boolean | string;
12
- } & GoogleMapProps;
12
+ options?: Omit<google.maps.MapOptions, 'styles' | 'mapId'>;
13
+ } & Omit<GoogleMapProps, 'mapContainerStyle' | 'options'>;
13
14
  /**
14
15
  * Google Maps Component
15
16
  *
@@ -0,0 +1,55 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Props for GoogleMapsAdvancedMarker component
4
+ */
5
+ export interface GoogleMapsAdvancedMarkerProps {
6
+ /** Unique identifier for the marker */
7
+ id: string;
8
+ /** Indicates if Google Maps JavaScript API is loaded */
9
+ isJsApiLoaded: boolean;
10
+ /** Callback when marker is clicked, receives marker ID */
11
+ onClick?: (id: string) => void;
12
+ /** Callback when mouse enters marker area */
13
+ onMouseOver?: (e: google.maps.MapMouseEvent) => void;
14
+ /** Callback when mouse leaves marker area */
15
+ onMouseOut?: (e: google.maps.MapMouseEvent) => void;
16
+ /** Marker position coordinates */
17
+ pos: {
18
+ lat: number;
19
+ lng: number;
20
+ };
21
+ /** Z-index for marker layering */
22
+ zIndex?: number;
23
+ /** Rollover text displayed on hover */
24
+ title?: string;
25
+ /** If true, the marker can be dragged */
26
+ draggable?: boolean;
27
+ /** Callback when user stops dragging the marker */
28
+ onDragEnd?: (e: google.maps.MapMouseEvent) => void;
29
+ /**
30
+ * Content rendered inside the AdvancedMarkerElement via React portal.
31
+ * Use GoogleMapsAdvancedMarkerContent for a default pin, or provide custom HTML.
32
+ * Absolutely-positioned children (e.g. info overlays) won't affect the marker anchor.
33
+ */
34
+ children?: ReactNode;
35
+ }
36
+ /**
37
+ * GoogleMapsAdvancedMarker Component
38
+ *
39
+ * Uses google.maps.marker.AdvancedMarkerElement with a React portal so that
40
+ * children are rendered directly inside the marker's DOM content node.
41
+ * This allows arbitrary React content (SVG pins, info overlays, etc.) to be
42
+ * placed exactly where the marker is on the map.
43
+ *
44
+ * Requires a mapId on the parent GoogleMaps component.
45
+ *
46
+ * @example
47
+ * ```tsx
48
+ * <GoogleMaps mapId="YOUR_MAP_ID" center={center} zoom={10}>
49
+ * <GoogleMapsAdvancedMarker id="marker-1" isJsApiLoaded={true} pos={{ lat: 40.7, lng: -74.0 }}>
50
+ * <GoogleMapsAdvancedMarkerContent color="#4285F4" />
51
+ * </GoogleMapsAdvancedMarker>
52
+ * </GoogleMaps>
53
+ * ```
54
+ */
55
+ export declare const GoogleMapsAdvancedMarker: (props: GoogleMapsAdvancedMarkerProps) => import('react').ReactPortal;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Props for GoogleMapsAdvancedMarkerContent component
3
+ */
4
+ export interface GoogleMapsAdvancedMarkerContentProps {
5
+ /** Icon image URL (data URL or external URL). If provided, displays as img element */
6
+ icon?: string;
7
+ /** Size of the marker icon in pixels */
8
+ size?: {
9
+ x: number;
10
+ y: number;
11
+ };
12
+ /** Color for the default pin marker (only used if icon is not provided) */
13
+ color?: string;
14
+ }
15
+ /**
16
+ * GoogleMapsAdvancedMarkerContent Component
17
+ *
18
+ * Provides default visual content for GoogleMapsAdvancedMarker. This component renders either:
19
+ * - A custom icon image if `icon` prop is provided
20
+ * - A default pin SVG with customizable color if no icon is provided
21
+ *
22
+ * Since AdvancedMarkerElement uses HTML content instead of icon URLs,
23
+ * this component acts as a bridge to maintain familiar icon-based workflows.
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * // Default pin with custom color
28
+ * <GoogleMapsAdvancedMarker id="1" pos={position}>
29
+ * <GoogleMapsAdvancedMarkerContent color="#4285F4" />
30
+ * </GoogleMapsAdvancedMarker>
31
+ *
32
+ * // Custom icon image
33
+ * <GoogleMapsAdvancedMarker id="2" pos={position}>
34
+ * <GoogleMapsAdvancedMarkerContent
35
+ * icon="data:image/png;base64,..."
36
+ * size={{ x: 32, y: 40 }}
37
+ * />
38
+ * </GoogleMapsAdvancedMarker>
39
+ * ```
40
+ */
41
+ export declare const GoogleMapsAdvancedMarkerContent: ({ icon, size, color, }: GoogleMapsAdvancedMarkerContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,3 +9,9 @@ export { defaultGoogleMarker, defaultMarkerIcon } from './GoogleMapsMarker/icons
9
9
  export type { GoogleMapsMarkerDefaultProps } from './GoogleMapsMarkerDefault/GoogleMapsMarkerDefault';
10
10
  export { GoogleMapsMarkerDefault } from './GoogleMapsMarkerDefault/GoogleMapsMarkerDefault';
11
11
  export { MarkerF } from '@react-google-maps/api';
12
+ export { MarkerF as AdvancedMarkerF, Marker as AdvancedMarker } from './GoogleMapsMarker/AdvancedMarker';
13
+ export type { MarkerProps as AdvancedMarkerProps } from './GoogleMapsMarker/AdvancedMarker';
14
+ export type { GoogleMapsAdvancedMarkerProps } from './GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarker';
15
+ export { GoogleMapsAdvancedMarker } from './GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarker';
16
+ export type { GoogleMapsAdvancedMarkerContentProps } from './GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarkerContent';
17
+ export { GoogleMapsAdvancedMarkerContent } from './GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarkerContent';
@@ -1,2 +1,2 @@
1
1
  export declare const MapContext: import('react').Context<google.maps.Map>;
2
- export declare function useGoogleMap(): google.maps.Map | null;
2
+ export declare function useGoogleMap(): google.maps.Map;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithAdvancedMarker: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithAdvancedMarkerCustomIcon: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithAdvancedMarkerHTML: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithMapIdAndMarkers: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithMarkerInfoBox: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithMultipleAdvancedMarkers: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithMultipleMarkers: Story;
@@ -0,0 +1,2 @@
1
+ import { Story } from './_GoogleMaps.default';
2
+ export declare const WithSingleMarker: Story;
@@ -248,6 +248,9 @@ export type { GoogleMapsProps } from './core/GoogleMaps';
248
248
  export type { GoogleMapsCircleProps } from './core/GoogleMaps';
249
249
  export type { GoogleMapsMarkerProps } from './core/GoogleMaps';
250
250
  export type { GoogleMapsMarkerDefaultProps } from './core/GoogleMaps';
251
+ export type { AdvancedMarkerProps } from './core/GoogleMaps';
252
+ export type { GoogleMapsAdvancedMarkerProps } from './core/GoogleMaps';
253
+ export type { GoogleMapsAdvancedMarkerContentProps } from './core/GoogleMaps';
251
254
  export { panToOffset } from './core/GoogleMaps';
252
255
  export { GoogleMaps } from './core/GoogleMaps';
253
256
  export { GoogleMapsCircle } from './core/GoogleMaps';
@@ -255,6 +258,9 @@ export { MarkerF } from './core/GoogleMaps';
255
258
  export { GoogleMapsMarker } from './core/GoogleMaps';
256
259
  export { GoogleMapsMarkerDefault } from './core/GoogleMaps';
257
260
  export { defaultGoogleMarker, defaultMarkerIcon } from './core/GoogleMaps';
261
+ export { AdvancedMarkerF, AdvancedMarker } from './core/GoogleMaps';
262
+ export { GoogleMapsAdvancedMarker } from './core/GoogleMaps';
263
+ export { GoogleMapsAdvancedMarkerContent } from './core/GoogleMaps';
258
264
  export type { IconButtonProps } from './core/IconButton';
259
265
  export { IconButton } from './core/IconButton';
260
266
  export type { IllustrationBlobProps } from './core/IllustrationBlob';
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-06-04T12:12:27.046Z",
2
+ "timestamp": "2026-06-08T09:15:39.783Z",
3
3
  "mode": "full",
4
4
  "buildOptimization": {
5
5
  "enabled": false,