@dynamo-caffeina-dev/locator-frontend 0.0.12 → 0.0.14

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 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
- ## Features
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
- ## Architecture
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
- ## Technologies Used
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-Wh66GjtQ.js";
1
+ import { j as a, A as i } from "./index-CK193Zb_.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-CRHSYpue.js.map
23
+ //# sourceMappingURL=GoogleMapsProvider-u8AIKumV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleMapsProvider-CRHSYpue.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;"}
1
+ {"version":3,"file":"GoogleMapsProvider-u8AIKumV.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;"}