@dynamo-caffeina-dev/locator-frontend 0.0.13 → 0.0.15
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/README.md +9 -21
- package/dist/{GoogleMapsProvider-B1fxqTkw.js → GoogleMapsProvider-BvlGYSW3.js} +2 -2
- package/dist/{GoogleMapsProvider-B1fxqTkw.js.map → GoogleMapsProvider-BvlGYSW3.js.map} +1 -1
- package/dist/index-PUL4bgaJ.js +9344 -0
- package/dist/index-PUL4bgaJ.js.map +1 -0
- package/dist/index.d.ts +18 -3
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +65 -55
- package/dist/index.umd.js.map +1 -1
- package/dist/locator-frontend.css +1 -1
- package/package.json +1 -1
- package/dist/index-YiyHD5vz.js +0 -8952
- package/dist/index-YiyHD5vz.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -73,21 +73,21 @@ declare type IconMapType = {
|
|
|
73
73
|
[K in IconName]: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
declare type IconName = "ArrowLeft" | "ArrowUpRight" | "ChevronUp" | "ChevronDown" | "Close" | "Expand" | "Location" | "Search" | "Share" | "Target";
|
|
76
|
+
declare type IconName = "ArrowLeft" | "ArrowUpRight" | "ChevronUp" | "ChevronDown" | "Close" | "Expand" | "Location" | "Search" | "Share" | "Target" | "Email" | "Copy" | "Twitter" | "X" | "Facebook" | "Instagram" | "Linkedin" | "TikTok" | "Whatsapp" | "Youtube";
|
|
77
77
|
|
|
78
78
|
declare type LocalizationConfigType = {
|
|
79
79
|
lang: string;
|
|
80
80
|
labels: Record<LocalizationKeysType, string>;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
declare type LocalizationKeysType = "
|
|
83
|
+
declare type LocalizationKeysType = "InfoWindow.CTA_1" | "InfoWindow.CTA_2" | "LocationList.header" | "LocationList.locationDesignator" | "LocationList.noResults" | "Map.areaSearchButton" | "Map.areaSearchTooltip" | "Map.areaSearchVisualCueCTA" | "Search.geolocationButton" | "Search.placeholder" | "ShareSheet.copyLinkErrorNotif" | "ShareSheet.copyLinkSuccessNotif" | "ShareSheet.copyLinkTooltip" | "ShareSheet.genericShareTooltip" | "ShareSheet.shareViaEmailTooltip" | "ShareSheet.title";
|
|
84
84
|
|
|
85
85
|
export declare type LocationType = BaseMapItem & {
|
|
86
86
|
title?: string;
|
|
87
87
|
timestamp?: string;
|
|
88
88
|
address?: string;
|
|
89
89
|
capabilities?: CapabilityGroupType[];
|
|
90
|
-
on_share?:
|
|
90
|
+
on_share?: SocialConfigType[];
|
|
91
91
|
actions?: ActionDefinition[];
|
|
92
92
|
};
|
|
93
93
|
|
|
@@ -141,6 +141,11 @@ declare type LocatorFeaturesType = {
|
|
|
141
141
|
* if false, the search functionality will be disabled
|
|
142
142
|
*/
|
|
143
143
|
search?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Whether to display the share sheet UI (AKA sharer);
|
|
146
|
+
* if false, the share functionality will be disabled
|
|
147
|
+
*/
|
|
148
|
+
share?: boolean;
|
|
144
149
|
};
|
|
145
150
|
|
|
146
151
|
/**
|
|
@@ -217,4 +222,14 @@ export declare type MapProviderType = Partial<{
|
|
|
217
222
|
|
|
218
223
|
export declare function Search(): default_2.JSX.Element | null;
|
|
219
224
|
|
|
225
|
+
declare type SocialConfigType = {
|
|
226
|
+
name: SocialNameType | ("email" | "copy");
|
|
227
|
+
shareURL: string;
|
|
228
|
+
url?: string;
|
|
229
|
+
propertyURL?: string;
|
|
230
|
+
handle?: string;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
declare type SocialNameType = "facebook" | "x" | "twitter" | "instagram" | "snapchat" | "linkedin" | "whatsapp" | "tiktok" | "youtube";
|
|
234
|
+
|
|
220
235
|
export { }
|
package/dist/index.es.js
CHANGED