@adoptaunabuelo/react-components 0.1.12 → 0.1.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/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import react, { ComponentPropsWithoutRef, ComponentPropsWithRef, CSSProperties, ReactElement } from 'react';
3
4
  import { CSSProperties as CSSProperties$1 } from 'styled-components';
@@ -75,6 +76,11 @@ interface Props$2 extends InputStyledProps {
75
76
  country?: string;
76
77
  design?: 'primary' | 'secondary';
77
78
  onPhoneChange?: (item: any) => void;
79
+ onLocationChange?: (result: {
80
+ address: string;
81
+ geocoder: google.maps.GeocoderResult;
82
+ location: google.maps.LatLngLiteral;
83
+ }) => void;
78
84
  }
79
85
 
80
86
  declare const Select: (props: Props$1) => react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adoptaunabuelo/react-components",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "homepage": "https://github.com/Adopta-Un-Abuelo/react-components",
5
5
  "author": "Guillermo Angeles <guilleangeles94@gmail.com>",
6
6
  "private": false,