@dynamo-caffeina-dev/locator-frontend 0.0.11 → 0.0.13
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 -3
- package/dist/{GoogleMapsProvider-BYSye__-.js → GoogleMapsProvider-B1fxqTkw.js} +2 -2
- package/dist/{GoogleMapsProvider-BYSye__-.js.map → GoogleMapsProvider-B1fxqTkw.js.map} +1 -1
- package/dist/{index-BvMRmSI7.js → index-YiyHD5vz.js} +1222 -1198
- package/dist/index-YiyHD5vz.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +46 -46
- package/dist/index.umd.js.map +1 -1
- package/dist/locator-frontend.css +1 -1
- package/package.json +1 -1
- package/dist/index-BvMRmSI7.js.map +0 -1
package/README.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Locator is a reusable and customizable store locator component built with React. It provides a comprehensive solution for displaying and searching locations on a map, with support for clustering, detailed views, and address search functionality.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
### Features
|
|
8
10
|
|
|
9
11
|
- **Interactive Map**: Display locations with custom markers and clustering support
|
|
10
12
|
- **Location Search**: Address search with Google Places API autocomplete
|
|
@@ -14,7 +16,7 @@ Locator is a reusable and customizable store locator component built with React.
|
|
|
14
16
|
- **Internationalization**: (Partial) support for multiple languages and localization
|
|
15
17
|
- **Optimized API Usage**: Session token management for Google Places API
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
### Architecture
|
|
18
20
|
|
|
19
21
|
The Locator component follows an atomic design pattern with the following structure:
|
|
20
22
|
|
|
@@ -24,7 +26,7 @@ The Locator component follows an atomic design pattern with the following struct
|
|
|
24
26
|
|
|
25
27
|
The main `Locator` component serves as the container that coordinates these components and manages the application state using Zustand.
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
### Technologies Used
|
|
28
30
|
|
|
29
31
|
- **React (v19.0.0)**: Framework for building user interfaces
|
|
30
32
|
- **TypeScript (v5.7.2)**: Superset of JavaScript for typed programming
|
|
@@ -33,3 +35,7 @@ The main `Locator` component serves as the container that coordinates these comp
|
|
|
33
35
|
- **@vis.gl/react-google-maps (v1.5.1)**: React wrapper for Google Maps Universal JS SDK
|
|
34
36
|
- **Storybook (v8.5.8)**: Tool for UI component development and documentation
|
|
35
37
|
- **msw (v2.7.0)**: Mock Service Worker for API mocking
|
|
38
|
+
|
|
39
|
+
### Documentation
|
|
40
|
+
|
|
41
|
+
See [the full docs](./docs/index.md) (WIP)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as a, A as i } from "./index-
|
|
1
|
+
import { j as a, A as i } from "./index-YiyHD5vz.js";
|
|
2
2
|
function p({
|
|
3
3
|
children: r,
|
|
4
4
|
apiKey: o,
|
|
@@ -20,4 +20,4 @@ function p({
|
|
|
20
20
|
export {
|
|
21
21
|
p as default
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=GoogleMapsProvider-
|
|
23
|
+
//# sourceMappingURL=GoogleMapsProvider-B1fxqTkw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleMapsProvider-
|
|
1
|
+
{"version":3,"file":"GoogleMapsProvider-B1fxqTkw.js","sources":["../src/components/organisms/Locator/providers/GoogleMapsProvider.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { APIProvider, APIProviderProps } from \"@vis.gl/react-google-maps\";\n\nexport default function GoogleMapsProvider({\n children,\n apiKey,\n language,\n region,\n libraries,\n}: PropsWithChildren<APIProviderProps>) {\n return (\n <APIProvider\n apiKey={apiKey}\n region={region}\n language={language}\n libraries={libraries}\n >\n {children}\n </APIProvider>\n );\n}\n"],"names":["GoogleMapsProvider","children","apiKey","language","region","libraries","jsx","APIProvider"],"mappings":";AAGA,SAAwBA,EAAmB;AAAA,EACzC,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AACF,GAAwC;AAEpC,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAAL;AAAA,MACA,QAAAE;AAAA,MACA,UAAAD;AAAA,MACA,WAAAE;AAAA,MAEC,UAAAJ;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|