@arkyn/types 1.3.143 → 1.3.145

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,8 @@ import type { InputHTMLAttributes } from "react";
3
3
  type SelectProps = {
4
4
  isLoading?: boolean;
5
5
  isError?: boolean;
6
+ isSearchable?: boolean;
7
+ onSearch?: (value: string) => void;
6
8
  closeOnSelect?: boolean;
7
9
  size?: "md" | "lg";
8
10
  variant?: "solid" | "outline" | "underline";
@@ -1 +1 @@
1
- {"version":3,"file":"SelectProps.d.ts","sourceRoot":"","sources":["../../src/components/SelectProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC9D,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,MAAM,GACN,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ACP,UAAU,GACV,UAAU,CACb,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.143",
3
+ "version": "1.3.145",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -4,7 +4,8 @@ import type { InputHTMLAttributes } from "react";
4
4
  type SelectProps = {
5
5
  isLoading?: boolean;
6
6
  isError?: boolean;
7
- // isSearchable?: boolean;
7
+ isSearchable?: boolean;
8
+ onSearch?: (value: string) => void;
8
9
  closeOnSelect?: boolean;
9
10
 
10
11
  size?: "md" | "lg";