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

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
@@ -6,36 +6,16 @@ Locator is a reusable and customizable store locator component built with React.
6
6
 
7
7
  ## Overview
8
8
 
9
- ### Features
10
-
11
- - **Interactive Map**: Display locations with custom markers and clustering support
12
- - **Location Search**: Address search with Google Places API autocomplete
13
- - **Geolocation**: Find nearby locations based on user's current position
14
- - **Responsive Design**: Works across desktop and mobile devices
15
- - **Customizable UI**: Themable interface with customizable components
16
- - **Internationalization**: (Partial) support for multiple languages and localization
17
- - **Optimized API Usage**: Session token management for Google Places API
18
-
19
- ### Architecture
20
-
21
- The Locator component follows an atomic design pattern with the following structure:
22
-
23
- - **Atoms**: Basic UI components (Button, Icon, Spinner, etc.)
24
- - **Molecules**: Combinations of atoms (Input, LocationCard, etc.)
25
- - **Organisms**: Complex components (Map, Search, LocationList, etc.)
26
-
27
- The main `Locator` component serves as the container that coordinates these components and manages the application state using Zustand.
28
-
29
9
  ### Technologies Used
30
10
 
31
- - **React (v19.0.0)**: Framework for building user interfaces
32
- - **TypeScript (v5.7.2)**: Superset of JavaScript for typed programming
33
- - **zustand (v5.0.3)**: Simplified state management library
34
- - **framer-motion (v12.4.7)**: Animation library
35
- - **@vis.gl/react-google-maps (v1.5.1)**: React wrapper for Google Maps Universal JS SDK
36
- - **Storybook (v8.5.8)**: Tool for UI component development and documentation
37
- - **msw (v2.7.0)**: Mock Service Worker for API mocking
11
+ - **React**: Framework for building user interfaces
12
+ - **TypeScript**: Superset of JavaScript for typed programming
13
+ - **zustand**: Simplified state management library
14
+ - **framer-motion**: Animation library
15
+ - **@vis.gl/react-google-maps**: React wrapper for Google Maps Universal JS SDK
16
+ - **Storybook**: Tool for UI component development and documentation
17
+ - **msw**: Mock Service Worker for API mocking
38
18
 
39
19
  ### Documentation
40
20
 
41
- See [the full docs](./docs/index.md) (WIP)
21
+ See [the full docs](./docs/index.md) for all the details.
@@ -1,4 +1,4 @@
1
- import { j as a, A as i } from "./index-CK193Zb_.js";
1
+ import { j as a, A as i } from "./index-9sJqqbiV.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-u8AIKumV.js.map
23
+ //# sourceMappingURL=GoogleMapsProvider-C9ozlugV.js.map
@@ -1 +1 @@
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;"}
1
+ {"version":3,"file":"GoogleMapsProvider-C9ozlugV.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;"}