@codefast/ui 0.3.1-canary.4 → 0.3.1-canary.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @codefast/ui
2
2
 
3
+ ## 0.3.1-canary.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f5b9777`](https://github.com/codefastlabs/codefast/commit/f5b977794956920183e2b132633e61cac4be4fdb) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): skip Next.js project creation if package.json exists
8
+
9
+ - [`77ccc05`](https://github.com/codefastlabs/codefast/commit/77ccc0556a1da4ee934af56fe8aef66eec0e1cf0) Thanks [@thevuong](https://github.com/thevuong)! - feat: support optional values in change handlers
10
+
11
+ - [`876c1cb`](https://github.com/codefastlabs/codefast/commit/876c1cb7d7ff7691096da7cc19faa44ddcffea70) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): remove logger utility and update logging usage
12
+
13
+ - [`9e7aa7c`](https://github.com/codefastlabs/codefast/commit/9e7aa7c40e8d68257fbcd62ddb8fc7e2f6fcc895) Thanks [@thevuong](https://github.com/thevuong)! - chore(dependencies): update dependencies to latest versions
14
+
15
+ - [`80bd1ad`](https://github.com/codefastlabs/codefast/commit/80bd1ad5282d489b2da9f84d373adc40a9b24dc2) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add enhanced project creation command
16
+
17
+ - Updated dependencies [[`f5b9777`](https://github.com/codefastlabs/codefast/commit/f5b977794956920183e2b132633e61cac4be4fdb), [`77ccc05`](https://github.com/codefastlabs/codefast/commit/77ccc0556a1da4ee934af56fe8aef66eec0e1cf0), [`876c1cb`](https://github.com/codefastlabs/codefast/commit/876c1cb7d7ff7691096da7cc19faa44ddcffea70), [`9e7aa7c`](https://github.com/codefastlabs/codefast/commit/9e7aa7c40e8d68257fbcd62ddb8fc7e2f6fcc895), [`80bd1ad`](https://github.com/codefastlabs/codefast/commit/80bd1ad5282d489b2da9f84d373adc40a9b24dc2)]:
18
+ - @codefast-ui/progress-circle@0.3.1-canary.5
19
+ - @codefast-ui/checkbox-group@0.3.1-canary.5
20
+ - @codefast-ui/input-number@0.3.1-canary.5
21
+ - @codefast-ui/input@0.3.1-canary.5
22
+ - @codefast/hooks@0.3.1-canary.5
23
+
3
24
  ## 0.3.1-canary.4
4
25
 
5
26
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"components/input-search.cjs","sources":["webpack://@codefast/ui/./src/components/input-search.tsx"],"sourcesContent":["\n\nimport type { ComponentProps, JSX } from \"react\";\n\nimport * as InputPrimitive from \"@codefast-ui/input\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { SearchIcon, XIcon } from \"lucide-react\";\n\nimport type { VariantProps } from \"@/lib/utils\";\n\nimport { Button } from \"@/components/button\";\nimport { inputVariants } from \"@/components/input\";\nimport { Spinner } from \"@/components/spinner\";\n\n/* -----------------------------------------------------------------------------\n * Component: InputSearch\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\nfunction InputSearch({\n className,\n defaultValue,\n disabled,\n loaderPosition,\n loading,\n onChange,\n prefix,\n readOnly,\n spinner,\n suffix,\n value: valueProp,\n ...props\n}: ComponentProps<typeof InputPrimitive.Root> &\n Omit<ComponentProps<typeof InputPrimitive.Field>, \"defaultValue\" | \"onChange\" | \"prefix\" | \"type\" | \"value\"> &\n VariantProps<typeof inputVariants> & {\n defaultValue?: string;\n onChange?: (value: string) => void;\n value?: string;\n }): JSX.Element {\n const [value, setValue] = useControllableState({\n defaultProp: defaultValue,\n onChange,\n prop: valueProp,\n });\n\n return (\n <InputPrimitive.Root\n className={root({ className: [!suffix && \"pr-1.5\", className] })}\n data-slot=\"input-search\"\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix || <SearchIcon />}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Field\n className={input()}\n data-slot=\"input-search-item\"\n type=\"search\"\n value={value ?? \"\"}\n onChange={(event) => {\n setValue(event.target.value);\n }}\n {...props}\n />\n {value ? (\n <Button\n aria-label=\"Clear search\"\n className=\"focus-visible:not-disabled:bg-input size-7 rounded-full focus-visible:ring-0\"\n data-slot=\"input-search-clear\"\n disabled={disabled || readOnly}\n size=\"icon\"\n suffix={<XIcon />}\n variant=\"ghost\"\n onClick={() => {\n setValue(\"\");\n }}\n />\n ) : null}\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst SearchInput = InputSearch;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { InputSearch, SearchInput };\n"],"names":["input","root","inputVariants","InputSearch","className","defaultValue","disabled","loaderPosition","loading","onChange","prefix","readOnly","spinner","suffix","valueProp","props","value","setValue","useControllableState","InputPrimitive","SearchIcon","Spinner","event","Button","XIcon","SearchInput"],"mappings":";wwCAkBM,CAAEA,MAAAA,CAAK,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,mCAAAA,aAAAA,IAExB,SAASC,YAAY,CACnBC,UAAAA,CAAS,CACTC,aAAAA,CAAY,CACZC,SAAAA,CAAQ,CACRC,eAAAA,CAAc,CACdC,QAAAA,CAAO,CACPC,SAAAA,CAAQ,CACRC,OAAAA,CAAM,CACNC,SAAAA,CAAQ,CACRC,QAAAA,CAAO,CACPC,OAAAA,CAAM,CACN,MAAOC,CAAS,CAChB,GAAGC,EAOF,EACD,GAAM,CAACC,EAAOC,EAAS,CAAGC,GAAAA,6CAAAA,oBAAAA,EAAqB,CAC7C,YAAab,EACbI,SAAAA,EACA,KAAMK,CACR,GAEA,MACE,qCAACK,sBAAAA,IAAmB,EAClB,UAAWlB,EAAK,CAAE,UAAW,CAAC,CAACY,GAAU,SAAUT,EAAU,GAC7D,YAAU,eACV,SAAUE,EACV,eAAgBC,EAChB,QAASC,EACT,OAAQE,GAAU,oCAACU,sCAAAA,UAAUA,CAAAA,CAAAA,GAC7B,SAAUT,EACV,QAASC,GAAW,oCAACS,qCAAAA,OAAOA,CAAAA,CAAAA,GAC5B,OAAQR,E,UAER,oCAACM,sBAAAA,KAAoB,EACnB,UAAWnB,IACX,YAAU,oBACV,KAAK,SACL,MAAOgB,GAAS,GAChB,SAAU,IACRC,EAASK,EAAM,MAAM,CAAC,KAAK,CAC7B,EACC,GAAGP,CAAK,GAEVC,EACC,oCAACO,oCAAAA,MAAMA,CAAAA,CACL,aAAW,eACX,UAAU,+EACV,YAAU,qBACV,SAAUjB,GAAYK,EACtB,KAAK,OACL,OAAQ,oCAACa,sCAAAA,KAAKA,CAAAA,CAAAA,GACd,QAAQ,QACR,QAAS,KACPP,EAAS,GACX,C,GAEA,K,EAGV,CAWA,IAAMQ,YAActB,Y"}
1
+ {"version":3,"file":"components/input-search.cjs","sources":["webpack://@codefast/ui/./src/components/input-search.tsx"],"sourcesContent":["\n\nimport type { ComponentProps, JSX } from \"react\";\n\nimport * as InputPrimitive from \"@codefast-ui/input\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { SearchIcon, XIcon } from \"lucide-react\";\n\nimport type { VariantProps } from \"@/lib/utils\";\n\nimport { Button } from \"@/components/button\";\nimport { inputVariants } from \"@/components/input\";\nimport { Spinner } from \"@/components/spinner\";\n\n/* -----------------------------------------------------------------------------\n * Component: InputSearch\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\nfunction InputSearch({\n className,\n defaultValue,\n disabled,\n loaderPosition,\n loading,\n onChange,\n prefix,\n readOnly,\n spinner,\n suffix,\n value: valueProp,\n ...props\n}: ComponentProps<typeof InputPrimitive.Root> &\n Omit<ComponentProps<typeof InputPrimitive.Field>, \"defaultValue\" | \"onChange\" | \"prefix\" | \"type\" | \"value\"> &\n VariantProps<typeof inputVariants> & {\n defaultValue?: string;\n onChange?: (value?: string) => void;\n value?: string;\n }): JSX.Element {\n const [value, setValue] = useControllableState<string | undefined>({\n defaultProp: defaultValue,\n onChange,\n prop: valueProp,\n });\n\n return (\n <InputPrimitive.Root\n className={root({ className: [!suffix && \"pr-1.5\", className] })}\n data-slot=\"input-search\"\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix || <SearchIcon />}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Field\n className={input()}\n data-slot=\"input-search-item\"\n type=\"search\"\n value={value ?? \"\"}\n onChange={(event) => {\n setValue(event.target.value);\n }}\n {...props}\n />\n {value ? (\n <Button\n aria-label=\"Clear search\"\n className=\"focus-visible:not-disabled:bg-input size-7 rounded-full focus-visible:ring-0\"\n data-slot=\"input-search-clear\"\n disabled={disabled || readOnly}\n size=\"icon\"\n suffix={<XIcon />}\n variant=\"ghost\"\n onClick={() => {\n setValue(\"\");\n }}\n />\n ) : null}\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst SearchInput = InputSearch;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { InputSearch, SearchInput };\n"],"names":["input","root","inputVariants","InputSearch","className","defaultValue","disabled","loaderPosition","loading","onChange","prefix","readOnly","spinner","suffix","valueProp","props","value","setValue","useControllableState","InputPrimitive","SearchIcon","Spinner","event","Button","XIcon","SearchInput"],"mappings":";wwCAkBM,CAAEA,MAAAA,CAAK,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,mCAAAA,aAAAA,IAExB,SAASC,YAAY,CACnBC,UAAAA,CAAS,CACTC,aAAAA,CAAY,CACZC,SAAAA,CAAQ,CACRC,eAAAA,CAAc,CACdC,QAAAA,CAAO,CACPC,SAAAA,CAAQ,CACRC,OAAAA,CAAM,CACNC,SAAAA,CAAQ,CACRC,QAAAA,CAAO,CACPC,OAAAA,CAAM,CACN,MAAOC,CAAS,CAChB,GAAGC,EAOF,EACD,GAAM,CAACC,EAAOC,EAAS,CAAGC,GAAAA,6CAAAA,oBAAAA,EAAyC,CACjE,YAAab,EACbI,SAAAA,EACA,KAAMK,CACR,GAEA,MACE,qCAACK,sBAAAA,IAAmB,EAClB,UAAWlB,EAAK,CAAE,UAAW,CAAC,CAACY,GAAU,SAAUT,EAAU,GAC7D,YAAU,eACV,SAAUE,EACV,eAAgBC,EAChB,QAASC,EACT,OAAQE,GAAU,oCAACU,sCAAAA,UAAUA,CAAAA,CAAAA,GAC7B,SAAUT,EACV,QAASC,GAAW,oCAACS,qCAAAA,OAAOA,CAAAA,CAAAA,GAC5B,OAAQR,E,UAER,oCAACM,sBAAAA,KAAoB,EACnB,UAAWnB,IACX,YAAU,oBACV,KAAK,SACL,MAAOgB,GAAS,GAChB,SAAU,IACRC,EAASK,EAAM,MAAM,CAAC,KAAK,CAC7B,EACC,GAAGP,CAAK,GAEVC,EACC,oCAACO,oCAAAA,MAAMA,CAAAA,CACL,aAAW,eACX,UAAU,+EACV,YAAU,qBACV,SAAUjB,GAAYK,EACtB,KAAK,OACL,OAAQ,oCAACa,sCAAAA,KAAKA,CAAAA,CAAAA,GACd,QAAQ,QACR,QAAS,KACPP,EAAS,GACX,C,GAEA,K,EAGV,CAWA,IAAMQ,YAActB,Y"}
@@ -1 +1 @@
1
- {"version":3,"file":"components/input-search.js","sources":["webpack://@codefast/ui/./src/components/input-search.tsx"],"sourcesContent":["\n\nimport type { ComponentProps, JSX } from \"react\";\n\nimport * as InputPrimitive from \"@codefast-ui/input\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { SearchIcon, XIcon } from \"lucide-react\";\n\nimport type { VariantProps } from \"@/lib/utils\";\n\nimport { Button } from \"@/components/button\";\nimport { inputVariants } from \"@/components/input\";\nimport { Spinner } from \"@/components/spinner\";\n\n/* -----------------------------------------------------------------------------\n * Component: InputSearch\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\nfunction InputSearch({\n className,\n defaultValue,\n disabled,\n loaderPosition,\n loading,\n onChange,\n prefix,\n readOnly,\n spinner,\n suffix,\n value: valueProp,\n ...props\n}: ComponentProps<typeof InputPrimitive.Root> &\n Omit<ComponentProps<typeof InputPrimitive.Field>, \"defaultValue\" | \"onChange\" | \"prefix\" | \"type\" | \"value\"> &\n VariantProps<typeof inputVariants> & {\n defaultValue?: string;\n onChange?: (value: string) => void;\n value?: string;\n }): JSX.Element {\n const [value, setValue] = useControllableState({\n defaultProp: defaultValue,\n onChange,\n prop: valueProp,\n });\n\n return (\n <InputPrimitive.Root\n className={root({ className: [!suffix && \"pr-1.5\", className] })}\n data-slot=\"input-search\"\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix || <SearchIcon />}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Field\n className={input()}\n data-slot=\"input-search-item\"\n type=\"search\"\n value={value ?? \"\"}\n onChange={(event) => {\n setValue(event.target.value);\n }}\n {...props}\n />\n {value ? (\n <Button\n aria-label=\"Clear search\"\n className=\"focus-visible:not-disabled:bg-input size-7 rounded-full focus-visible:ring-0\"\n data-slot=\"input-search-clear\"\n disabled={disabled || readOnly}\n size=\"icon\"\n suffix={<XIcon />}\n variant=\"ghost\"\n onClick={() => {\n setValue(\"\");\n }}\n />\n ) : null}\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst SearchInput = InputSearch;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { InputSearch, SearchInput };\n"],"names":["input","root","inputVariants","InputSearch","className","defaultValue","disabled","loaderPosition","loading","onChange","prefix","readOnly","spinner","suffix","valueProp","props","value","setValue","useControllableState","InputPrimitive","SearchIcon","Spinner","event","Button","XIcon","SearchInput"],"mappings":";2PAkBA,GAAM,CAAEA,MAAAA,CAAK,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,aAAAA,IAExB,SAASC,EAAY,CACnBC,UAAAA,CAAS,CACTC,aAAAA,CAAY,CACZC,SAAAA,CAAQ,CACRC,eAAAA,CAAc,CACdC,QAAAA,CAAO,CACPC,SAAAA,CAAQ,CACRC,OAAAA,CAAM,CACNC,SAAAA,CAAQ,CACRC,QAAAA,CAAO,CACPC,OAAAA,CAAM,CACN,MAAOC,CAAS,CAChB,GAAGC,EAOF,EACD,GAAM,CAACC,EAAOC,EAAS,CAAGC,GAAAA,EAAAA,oBAAAA,EAAqB,CAC7C,YAAab,EACbI,SAAAA,EACA,KAAMK,CACR,GAEA,MACE,WAACK,EAAAA,IAAmB,EAClB,UAAWlB,EAAK,CAAE,UAAW,CAAC,CAACY,GAAU,SAAUT,EAAU,GAC7D,YAAU,eACV,SAAUE,EACV,eAAgBC,EAChB,QAASC,EACT,OAAQE,GAAU,UAACU,EAAAA,UAAUA,CAAAA,CAAAA,GAC7B,SAAUT,EACV,QAASC,GAAW,UAACS,EAAAA,OAAOA,CAAAA,CAAAA,GAC5B,OAAQR,E,UAER,UAACM,EAAAA,KAAoB,EACnB,UAAWnB,IACX,YAAU,oBACV,KAAK,SACL,MAAOgB,GAAS,GAChB,SAAU,IACRC,EAASK,EAAM,MAAM,CAAC,KAAK,CAC7B,EACC,GAAGP,CAAK,GAEVC,EACC,UAACO,EAAAA,MAAMA,CAAAA,CACL,aAAW,eACX,UAAU,+EACV,YAAU,qBACV,SAAUjB,GAAYK,EACtB,KAAK,OACL,OAAQ,UAACa,EAAAA,KAAKA,CAAAA,CAAAA,GACd,QAAQ,QACR,QAAS,KACPP,EAAS,GACX,C,GAEA,K,EAGV,CAWA,IAAMQ,EAActB,S"}
1
+ {"version":3,"file":"components/input-search.js","sources":["webpack://@codefast/ui/./src/components/input-search.tsx"],"sourcesContent":["\n\nimport type { ComponentProps, JSX } from \"react\";\n\nimport * as InputPrimitive from \"@codefast-ui/input\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { SearchIcon, XIcon } from \"lucide-react\";\n\nimport type { VariantProps } from \"@/lib/utils\";\n\nimport { Button } from \"@/components/button\";\nimport { inputVariants } from \"@/components/input\";\nimport { Spinner } from \"@/components/spinner\";\n\n/* -----------------------------------------------------------------------------\n * Component: InputSearch\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\nfunction InputSearch({\n className,\n defaultValue,\n disabled,\n loaderPosition,\n loading,\n onChange,\n prefix,\n readOnly,\n spinner,\n suffix,\n value: valueProp,\n ...props\n}: ComponentProps<typeof InputPrimitive.Root> &\n Omit<ComponentProps<typeof InputPrimitive.Field>, \"defaultValue\" | \"onChange\" | \"prefix\" | \"type\" | \"value\"> &\n VariantProps<typeof inputVariants> & {\n defaultValue?: string;\n onChange?: (value?: string) => void;\n value?: string;\n }): JSX.Element {\n const [value, setValue] = useControllableState<string | undefined>({\n defaultProp: defaultValue,\n onChange,\n prop: valueProp,\n });\n\n return (\n <InputPrimitive.Root\n className={root({ className: [!suffix && \"pr-1.5\", className] })}\n data-slot=\"input-search\"\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix || <SearchIcon />}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Field\n className={input()}\n data-slot=\"input-search-item\"\n type=\"search\"\n value={value ?? \"\"}\n onChange={(event) => {\n setValue(event.target.value);\n }}\n {...props}\n />\n {value ? (\n <Button\n aria-label=\"Clear search\"\n className=\"focus-visible:not-disabled:bg-input size-7 rounded-full focus-visible:ring-0\"\n data-slot=\"input-search-clear\"\n disabled={disabled || readOnly}\n size=\"icon\"\n suffix={<XIcon />}\n variant=\"ghost\"\n onClick={() => {\n setValue(\"\");\n }}\n />\n ) : null}\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst SearchInput = InputSearch;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { InputSearch, SearchInput };\n"],"names":["input","root","inputVariants","InputSearch","className","defaultValue","disabled","loaderPosition","loading","onChange","prefix","readOnly","spinner","suffix","valueProp","props","value","setValue","useControllableState","InputPrimitive","SearchIcon","Spinner","event","Button","XIcon","SearchInput"],"mappings":";2PAkBA,GAAM,CAAEA,MAAAA,CAAK,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,aAAAA,IAExB,SAASC,EAAY,CACnBC,UAAAA,CAAS,CACTC,aAAAA,CAAY,CACZC,SAAAA,CAAQ,CACRC,eAAAA,CAAc,CACdC,QAAAA,CAAO,CACPC,SAAAA,CAAQ,CACRC,OAAAA,CAAM,CACNC,SAAAA,CAAQ,CACRC,QAAAA,CAAO,CACPC,OAAAA,CAAM,CACN,MAAOC,CAAS,CAChB,GAAGC,EAOF,EACD,GAAM,CAACC,EAAOC,EAAS,CAAGC,GAAAA,EAAAA,oBAAAA,EAAyC,CACjE,YAAab,EACbI,SAAAA,EACA,KAAMK,CACR,GAEA,MACE,WAACK,EAAAA,IAAmB,EAClB,UAAWlB,EAAK,CAAE,UAAW,CAAC,CAACY,GAAU,SAAUT,EAAU,GAC7D,YAAU,eACV,SAAUE,EACV,eAAgBC,EAChB,QAASC,EACT,OAAQE,GAAU,UAACU,EAAAA,UAAUA,CAAAA,CAAAA,GAC7B,SAAUT,EACV,QAASC,GAAW,UAACS,EAAAA,OAAOA,CAAAA,CAAAA,GAC5B,OAAQR,E,UAER,UAACM,EAAAA,KAAoB,EACnB,UAAWnB,IACX,YAAU,oBACV,KAAK,SACL,MAAOgB,GAAS,GAChB,SAAU,IACRC,EAASK,EAAM,MAAM,CAAC,KAAK,CAC7B,EACC,GAAGP,CAAK,GAEVC,EACC,UAACO,EAAAA,MAAMA,CAAAA,CACL,aAAW,eACX,UAAU,+EACV,YAAU,qBACV,SAAUjB,GAAYK,EACtB,KAAK,OACL,OAAQ,UAACa,EAAAA,KAAKA,CAAAA,CAAAA,GACd,QAAQ,QACR,QAAS,KACPP,EAAS,GACX,C,GAEA,K,EAGV,CAWA,IAAMQ,EAActB,S"}
@@ -4,7 +4,7 @@ import type { VariantProps } from "../lib/utils";
4
4
  import { inputVariants } from "./input";
5
5
  declare function InputSearch({ className, defaultValue, disabled, loaderPosition, loading, onChange, prefix, readOnly, spinner, suffix, value: valueProp, ...props }: ComponentProps<typeof InputPrimitive.Root> & Omit<ComponentProps<typeof InputPrimitive.Field>, "defaultValue" | "onChange" | "prefix" | "type" | "value"> & VariantProps<typeof inputVariants> & {
6
6
  defaultValue?: string;
7
- onChange?: (value: string) => void;
7
+ onChange?: (value?: string) => void;
8
8
  value?: string;
9
9
  }): JSX.Element;
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"input-search.d.ts","sourceRoot":"","sources":["../../../src/components/input-search.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AAIrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AASnD,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,OAAO,EACP,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,EAAE,SAAS,EAChB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAC3C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC,GAC5G,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,GAAG,CAAC,OAAO,CA6ChB;AAMD;;;;GAIG;AACH,QAAA,MAAM,WAAW,oBAAc,CAAC;AAMhC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"input-search.d.ts","sourceRoot":"","sources":["../../../src/components/input-search.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AAIrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AASnD,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,OAAO,EACP,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,EAAE,SAAS,EAChB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAC3C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC,GAC5G,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,GAAG,CAAC,OAAO,CA6ChB;AAMD;;;;GAIG;AACH,QAAA,MAAM,WAAW,oBAAc,CAAC;AAMhC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.3.1-canary.4",
3
+ "version": "0.3.1-canary.5",
4
4
  "bugs": {
5
5
  "url": "https://github.com/codefastlabs/codefast/issues"
6
6
  },
@@ -737,57 +737,57 @@
737
737
  ],
738
738
  "dependencies": {
739
739
  "@radix-ui/primitive": "^1.1.2",
740
- "@radix-ui/react-accordion": "^1.2.4",
741
- "@radix-ui/react-alert-dialog": "^1.1.7",
742
- "@radix-ui/react-aspect-ratio": "^1.1.3",
743
- "@radix-ui/react-avatar": "^1.1.4",
744
- "@radix-ui/react-checkbox": "^1.1.5",
745
- "@radix-ui/react-collapsible": "^1.1.4",
740
+ "@radix-ui/react-accordion": "^1.2.7",
741
+ "@radix-ui/react-alert-dialog": "^1.1.10",
742
+ "@radix-ui/react-aspect-ratio": "^1.1.4",
743
+ "@radix-ui/react-avatar": "^1.1.6",
744
+ "@radix-ui/react-checkbox": "^1.2.2",
745
+ "@radix-ui/react-collapsible": "^1.1.7",
746
746
  "@radix-ui/react-context": "^1.1.2",
747
- "@radix-ui/react-context-menu": "^2.2.7",
748
- "@radix-ui/react-dialog": "^1.1.7",
747
+ "@radix-ui/react-context-menu": "^2.2.10",
748
+ "@radix-ui/react-dialog": "^1.1.10",
749
749
  "@radix-ui/react-direction": "^1.1.1",
750
- "@radix-ui/react-dropdown-menu": "^2.1.7",
751
- "@radix-ui/react-hover-card": "^1.1.7",
752
- "@radix-ui/react-label": "^2.1.3",
753
- "@radix-ui/react-menubar": "^1.1.7",
754
- "@radix-ui/react-navigation-menu": "^1.2.6",
755
- "@radix-ui/react-popover": "^1.1.7",
756
- "@radix-ui/react-progress": "^1.1.3",
757
- "@radix-ui/react-radio-group": "^1.2.4",
758
- "@radix-ui/react-scroll-area": "^1.2.4",
759
- "@radix-ui/react-select": "^2.1.7",
760
- "@radix-ui/react-separator": "^1.1.3",
761
- "@radix-ui/react-slider": "^1.2.4",
750
+ "@radix-ui/react-dropdown-menu": "^2.1.10",
751
+ "@radix-ui/react-hover-card": "^1.1.10",
752
+ "@radix-ui/react-label": "^2.1.4",
753
+ "@radix-ui/react-menubar": "^1.1.10",
754
+ "@radix-ui/react-navigation-menu": "^1.2.9",
755
+ "@radix-ui/react-popover": "^1.1.10",
756
+ "@radix-ui/react-progress": "^1.1.4",
757
+ "@radix-ui/react-radio-group": "^1.3.2",
758
+ "@radix-ui/react-scroll-area": "^1.2.5",
759
+ "@radix-ui/react-select": "^2.2.2",
760
+ "@radix-ui/react-separator": "^1.1.4",
761
+ "@radix-ui/react-slider": "^1.3.2",
762
762
  "@radix-ui/react-slot": "^1.2.0",
763
- "@radix-ui/react-switch": "^1.1.4",
764
- "@radix-ui/react-tabs": "^1.1.4",
765
- "@radix-ui/react-toggle": "^1.1.3",
766
- "@radix-ui/react-toggle-group": "^1.1.3",
767
- "@radix-ui/react-tooltip": "^1.2.0",
768
- "@radix-ui/react-use-controllable-state": "^1.1.1",
769
- "@radix-ui/react-visually-hidden": "^1.1.3",
763
+ "@radix-ui/react-switch": "^1.2.2",
764
+ "@radix-ui/react-tabs": "^1.1.7",
765
+ "@radix-ui/react-toggle": "^1.1.6",
766
+ "@radix-ui/react-toggle-group": "^1.1.6",
767
+ "@radix-ui/react-tooltip": "^1.2.3",
768
+ "@radix-ui/react-use-controllable-state": "^1.2.2",
769
+ "@radix-ui/react-visually-hidden": "^1.2.0",
770
770
  "chalk": "^5.4.1",
771
771
  "clsx": "^2.1.1",
772
772
  "cmdk": "^1.1.1",
773
773
  "embla-carousel-react": "^8.6.0",
774
774
  "input-otp": "^1.4.2",
775
- "lucide-react": "^0.488.0",
775
+ "lucide-react": "^0.501.0",
776
776
  "react-day-picker": "^9.6.7",
777
777
  "react-resizable-panels": "^2.1.7",
778
778
  "sonner": "^2.0.3",
779
779
  "tailwind-merge": "^3.2.0",
780
780
  "tailwind-variants": "^1.0.0",
781
781
  "vaul": "^1.1.2",
782
- "@codefast-ui/input": "0.3.1-canary.4",
783
- "@codefast-ui/input-number": "0.3.1-canary.4",
784
- "@codefast-ui/progress-circle": "0.3.1-canary.4",
785
- "@codefast/hooks": "0.3.1-canary.4",
786
- "@codefast-ui/checkbox-group": "0.3.1-canary.4"
782
+ "@codefast-ui/checkbox-group": "0.3.1-canary.5",
783
+ "@codefast-ui/input": "0.3.1-canary.5",
784
+ "@codefast-ui/input-number": "0.3.1-canary.5",
785
+ "@codefast-ui/progress-circle": "0.3.1-canary.5",
786
+ "@codefast/hooks": "0.3.1-canary.5"
787
787
  },
788
788
  "devDependencies": {
789
789
  "@rsbuild/plugin-react": "^1.2.0",
790
- "@rslib/core": "^0.6.4",
790
+ "@rslib/core": "^0.6.5",
791
791
  "@swc/core": "^1.11.21",
792
792
  "@swc/jest": "^0.2.37",
793
793
  "@tailwindcss/postcss": "^4.1.4",
@@ -798,7 +798,7 @@
798
798
  "@types/jest": "^29.5.14",
799
799
  "@types/jest-axe": "^3.5.9",
800
800
  "@types/node": "^22.14.1",
801
- "eslint": "^9.24.0",
801
+ "eslint": "^9.25.0",
802
802
  "jest": "^29.7.0",
803
803
  "jest-axe": "^10.0.0",
804
804
  "jest-environment-jsdom": "^29.7.0",
@@ -806,8 +806,8 @@
806
806
  "tailwindcss": "^4.1.4",
807
807
  "ts-node": "^10.9.2",
808
808
  "typescript": "^5.8.3",
809
- "@codefast/eslint-config": "0.3.1-canary.4",
810
- "@codefast/typescript-config": "0.3.1-canary.4"
809
+ "@codefast/eslint-config": "0.3.1-canary.5",
810
+ "@codefast/typescript-config": "0.3.1-canary.5"
811
811
  },
812
812
  "peerDependencies": {
813
813
  "@types/react": "*",