@arkyn/types 1.3.103 → 1.3.105

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"}
@@ -4,6 +4,7 @@ type SwitchProps = {
4
4
  defaultChecked?: boolean;
5
5
  checked?: boolean;
6
6
  value?: string;
7
+ unCheckedValue?: string;
7
8
  name: string;
8
9
  onCheck?: (value: string) => void;
9
10
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onChange" | "defaultValue" | "onCheck" | "value">;
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchProps.d.ts","sourceRoot":"","sources":["../../src/components/SwitchProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CACN,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,UAAU,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAC/D,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"SwitchProps.d.ts","sourceRoot":"","sources":["../../src/components/SwitchProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CACN,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,UAAU,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAC/D,CAAC;AAEF,YAAY,EAAE,WAAW,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.105",
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;
@@ -5,6 +5,7 @@ type SwitchProps = {
5
5
  defaultChecked?: boolean;
6
6
  checked?: boolean;
7
7
  value?: string;
8
+ unCheckedValue?: string;
8
9
  name: string;
9
10
  onCheck?: (value: string) => void;
10
11
  } & Omit<