@arkyn/types 1.3.96 → 1.3.98

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ import type { StandaloneSearchBoxProps } from "@react-google-maps/api";
2
+ import type { SimpleInputProps } from "./InputProps";
3
+ type GoogleSearchPlacesProps = {
4
+ googleMapsApiKey: string;
5
+ onChange?: (e: {
6
+ street: string;
7
+ city: string;
8
+ state: string;
9
+ district: string;
10
+ cep: string;
11
+ }) => void;
12
+ options?: StandaloneSearchBoxProps["options"];
13
+ } & Omit<SimpleInputProps, "onLoad" | "onChange" | "type">;
14
+ export type { GoogleSearchPlacesProps };
15
+ //# sourceMappingURL=GoogleSearchPlacesProps.d.ts.map
@@ -0,0 +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,gBAAgB,EAAE,MAAM,CAAC;IACzB,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;KACb,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"}
@@ -0,0 +1 @@
1
+ export {};
@@ -5,7 +5,7 @@ type RadioGroupProps = {
5
5
  defaultValue?: string;
6
6
  onChange?: (value: string) => void;
7
7
  size?: "sm" | "md" | "lg";
8
- } & HTMLAttributes<HTMLDivElement>;
8
+ } & Omit<HTMLAttributes<HTMLDivElement>, "onChange">;
9
9
  type RadioGroupContextType = {
10
10
  value: string;
11
11
  size: "sm" | "md" | "lg";
@@ -1 +1 @@
1
- {"version":3,"file":"RadioProps.d.ts","sourceRoot":"","sources":["../../src/components/RadioProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAElE,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"RadioProps.d.ts","sourceRoot":"","sources":["../../src/components/RadioProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAElE,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,eAAe,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -26,6 +26,7 @@ export * from "./components/PopoverProps";
26
26
  export * from "./components/RadioProps";
27
27
  export * from "./components/SelectProps";
28
28
  export * from "./components/SkeletonProps";
29
+ export * from "./components/GoogleSearchPlacesProps";
29
30
  export * from "./components/SwitchProps";
30
31
  export * from "./components/TableProps";
31
32
  export * from "./components/TabProps";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,y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AC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC"}
package/dist/index.js CHANGED
@@ -28,6 +28,7 @@ export * from "./components/PopoverProps";
28
28
  export * from "./components/RadioProps";
29
29
  export * from "./components/SelectProps";
30
30
  export * from "./components/SkeletonProps";
31
+ export * from "./components/GoogleSearchPlacesProps";
31
32
  export * from "./components/SwitchProps";
32
33
  export * from "./components/TableProps";
33
34
  export * from "./components/TabProps";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.96",
3
+ "version": "1.3.98",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -10,6 +10,7 @@
10
10
  "typecheck": "bunx tsc --project tsconfig.json --noEmit"
11
11
  },
12
12
  "dependencies": {
13
+ "@react-google-maps/api": "^2.19.3",
13
14
  "@react-input/mask": "^1.2.5",
14
15
  "@remix-run/react": "^2.11.0",
15
16
  "lucide-react": "^0.424.0",
@@ -0,0 +1,16 @@
1
+ import type { StandaloneSearchBoxProps } from "@react-google-maps/api";
2
+ import type { SimpleInputProps } from "./InputProps";
3
+
4
+ type GoogleSearchPlacesProps = {
5
+ googleMapsApiKey: string;
6
+ onChange?: (e: {
7
+ street: string;
8
+ city: string;
9
+ state: string;
10
+ district: string;
11
+ cep: string;
12
+ }) => void;
13
+ options?: StandaloneSearchBoxProps["options"];
14
+ } & Omit<SimpleInputProps, "onLoad" | "onChange" | "type">;
15
+
16
+ export type { GoogleSearchPlacesProps };
@@ -6,7 +6,7 @@ type RadioGroupProps = {
6
6
  defaultValue?: string;
7
7
  onChange?: (value: string) => void;
8
8
  size?: "sm" | "md" | "lg";
9
- } & HTMLAttributes<HTMLDivElement>;
9
+ } & Omit<HTMLAttributes<HTMLDivElement>, "onChange">;
10
10
 
11
11
  type RadioGroupContextType = {
12
12
  value: string;
package/src/index.ts CHANGED
@@ -29,6 +29,7 @@ export * from "./components/PopoverProps";
29
29
  export * from "./components/RadioProps";
30
30
  export * from "./components/SelectProps";
31
31
  export * from "./components/SkeletonProps";
32
+ export * from "./components/GoogleSearchPlacesProps";
32
33
  export * from "./components/SwitchProps";
33
34
  export * from "./components/TableProps";
34
35
  export * from "./components/TabProps";