@arkyn/types 1.3.103 → 1.3.104

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
1
1
  import type { StandaloneSearchBoxProps } from "@react-google-maps/api";
2
2
  import type { SimpleInputProps } from "./InputProps";
3
3
  type GoogleSearchPlacesProps = {
4
- onChange?: (e: {
4
+ onChange?: (e: string) => void;
5
+ onPlaceChanged?: (e: {
5
6
  street: string;
6
7
  city: string;
7
8
  state: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleSearchPlacesProps.d.ts","sourceRoot":"","sources":["../../src/components/GoogleSearchPlacesProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;KAC3C,KAAK,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C,GAAG,IAAI,CAAC,gBAAgB,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;AAE3D,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"GoogleSearchPlacesProps.d.ts","sourceRoot":"","sources":["../../src/components/GoogleSearchPlacesProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;KAC3C,KAAK,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C,GAAG,IAAI,CAAC,gBAAgB,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;AAE3D,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.103",
3
+ "version": "1.3.104",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -2,7 +2,8 @@ import type { StandaloneSearchBoxProps } from "@react-google-maps/api";
2
2
  import type { SimpleInputProps } from "./InputProps";
3
3
 
4
4
  type GoogleSearchPlacesProps = {
5
- onChange?: (e: {
5
+ onChange?: (e: string) => void;
6
+ onPlaceChanged?: (e: {
6
7
  street: string;
7
8
  city: string;
8
9
  state: string;