@codefast/ui 0.3.1-canary.1 → 0.3.1-canary.11

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,173 @@
1
1
  # @codefast/ui
2
2
 
3
+ ## 0.3.1-canary.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6b32857`](https://github.com/codefastlabs/codefast/commit/6b32857abb5960c780a46a642b114a2f459cbb4c) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add support for optimizePackageImports in Next.js config
8
+
9
+ - [`b33cd3c`](https://github.com/codefastlabs/codefast/commit/b33cd3c893c16861d70e25476973a2b6973a3736) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): enhance project setup with Prettier ignore support
10
+
11
+ - [`6acb04b`](https://github.com/codefastlabs/codefast/commit/6acb04b3d8efaeb17a0a4944652f76b21b59ffcb) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): adjust comment formatting in config-files.ts
12
+
13
+ - Updated dependencies [[`6b32857`](https://github.com/codefastlabs/codefast/commit/6b32857abb5960c780a46a642b114a2f459cbb4c), [`b33cd3c`](https://github.com/codefastlabs/codefast/commit/b33cd3c893c16861d70e25476973a2b6973a3736), [`6acb04b`](https://github.com/codefastlabs/codefast/commit/6acb04b3d8efaeb17a0a4944652f76b21b59ffcb)]:
14
+ - @codefast-ui/progress-circle@0.3.1-canary.11
15
+ - @codefast-ui/checkbox-group@0.3.1-canary.11
16
+ - @codefast-ui/input-number@0.3.1-canary.11
17
+ - @codefast-ui/input@0.3.1-canary.11
18
+ - @codefast/hooks@0.3.1-canary.11
19
+
20
+ ## 0.3.1-canary.10
21
+
22
+ ### Patch Changes
23
+
24
+ - [`377ffb7`](https://github.com/codefastlabs/codefast/commit/377ffb7395bee448703d490ecf461c218df90d97) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): enhance project setup with new dependencies and improved formatting scripts
25
+
26
+ - [`d3f7fd0`](https://github.com/codefastlabs/codefast/commit/d3f7fd09976bbda34903ea376c58c590900aeef0) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): correct dark mode CSS selector in constants
27
+
28
+ - [`c57b54a`](https://github.com/codefastlabs/codefast/commit/c57b54a234a9a07dfbe800664126b8eb405f44c4) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add lucide-react to default project dependencies
29
+
30
+ - Updated dependencies [[`377ffb7`](https://github.com/codefastlabs/codefast/commit/377ffb7395bee448703d490ecf461c218df90d97), [`d3f7fd0`](https://github.com/codefastlabs/codefast/commit/d3f7fd09976bbda34903ea376c58c590900aeef0), [`c57b54a`](https://github.com/codefastlabs/codefast/commit/c57b54a234a9a07dfbe800664126b8eb405f44c4)]:
31
+ - @codefast-ui/progress-circle@0.3.1-canary.10
32
+ - @codefast-ui/checkbox-group@0.3.1-canary.10
33
+ - @codefast-ui/input-number@0.3.1-canary.10
34
+ - @codefast-ui/input@0.3.1-canary.10
35
+ - @codefast/hooks@0.3.1-canary.10
36
+
37
+ ## 0.3.1-canary.9
38
+
39
+ ### Patch Changes
40
+
41
+ - [`77d43d1`](https://github.com/codefastlabs/codefast/commit/77d43d1dfa36b856125956f9edaf141262914831) Thanks [@thevuong](https://github.com/thevuong)! - chore(dependencies): update package versions
42
+
43
+ - [`b5558d7`](https://github.com/codefastlabs/codefast/commit/b5558d7fc117c3e5314d88fe9aff48f84c7ffc18) Thanks [@thevuong](https://github.com/thevuong)! - feat: update peer dependencies and add unrs-resolver
44
+
45
+ - [`04a8165`](https://github.com/codefastlabs/codefast/commit/04a8165e6ad8e7c17e715b286d3c9aed0f7dbb02) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): update packages to remove in project creation
46
+
47
+ - [`9c32c5d`](https://github.com/codefastlabs/codefast/commit/9c32c5d97724d09436de51ed17a9af7af3ed55bd) Thanks [@thevuong](https://github.com/thevuong)! - feat(style-guide): update sorting rules for interfaces and object types
48
+
49
+ - Updated dependencies [[`77d43d1`](https://github.com/codefastlabs/codefast/commit/77d43d1dfa36b856125956f9edaf141262914831), [`b5558d7`](https://github.com/codefastlabs/codefast/commit/b5558d7fc117c3e5314d88fe9aff48f84c7ffc18), [`04a8165`](https://github.com/codefastlabs/codefast/commit/04a8165e6ad8e7c17e715b286d3c9aed0f7dbb02), [`9c32c5d`](https://github.com/codefastlabs/codefast/commit/9c32c5d97724d09436de51ed17a9af7af3ed55bd)]:
50
+ - @codefast-ui/progress-circle@0.3.1-canary.9
51
+ - @codefast-ui/checkbox-group@0.3.1-canary.9
52
+ - @codefast-ui/input-number@0.3.1-canary.9
53
+ - @codefast-ui/input@0.3.1-canary.9
54
+ - @codefast/hooks@0.3.1-canary.9
55
+
56
+ ## 0.3.1-canary.8
57
+
58
+ ### Patch Changes
59
+
60
+ - [`bcf67ce`](https://github.com/codefastlabs/codefast/commit/bcf67ce958af5bbb81a031dd3f17a5b5a3f42595) Thanks [@thevuong](https://github.com/thevuong)! - changeset
61
+
62
+ - Updated dependencies [[`bcf67ce`](https://github.com/codefastlabs/codefast/commit/bcf67ce958af5bbb81a031dd3f17a5b5a3f42595)]:
63
+ - @codefast-ui/progress-circle@0.3.1-canary.8
64
+ - @codefast-ui/checkbox-group@0.3.1-canary.8
65
+ - @codefast-ui/input-number@0.3.1-canary.8
66
+ - @codefast-ui/input@0.3.1-canary.8
67
+ - @codefast/hooks@0.3.1-canary.8
68
+
69
+ ## 0.3.1-canary.7
70
+
71
+ ### Patch Changes
72
+
73
+ - [`d2bfdc3`](https://github.com/codefastlabs/codefast/commit/d2bfdc328205629d8810756f586e8ff3a2db8f73) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): update lint script to use autofix option
74
+
75
+ - Updated dependencies [[`d2bfdc3`](https://github.com/codefastlabs/codefast/commit/d2bfdc328205629d8810756f586e8ff3a2db8f73)]:
76
+ - @codefast-ui/progress-circle@0.3.1-canary.7
77
+ - @codefast-ui/checkbox-group@0.3.1-canary.7
78
+ - @codefast-ui/input-number@0.3.1-canary.7
79
+ - @codefast-ui/input@0.3.1-canary.7
80
+ - @codefast/hooks@0.3.1-canary.7
81
+
82
+ ## 0.3.1-canary.6
83
+
84
+ ### Patch Changes
85
+
86
+ - [`ed2ba2c`](https://github.com/codefastlabs/codefast/commit/ed2ba2cd81cfbf5764fe4631b9de9a5dcaa6ddfa) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add cleanup step to remove unnecessary packages
87
+
88
+ - [`ee7c42f`](https://github.com/codefastlabs/codefast/commit/ee7c42f2ad157288c11e2cfbc2d2dbb52be8a6b5) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): update layout.tsx with fontVariables support
89
+
90
+ - [`53b416f`](https://github.com/codefastlabs/codefast/commit/53b416f7cb45c7d6d5834aa853c59c38ca1fbba8) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): modularize project creation functionalities
91
+
92
+ - [`24a767b`](https://github.com/codefastlabs/codefast/commit/24a767b8be3bb0cbe63a3ab3b13ab64130341218) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): improve config file handling in project setup
93
+
94
+ - Updated dependencies [[`ed2ba2c`](https://github.com/codefastlabs/codefast/commit/ed2ba2cd81cfbf5764fe4631b9de9a5dcaa6ddfa), [`ee7c42f`](https://github.com/codefastlabs/codefast/commit/ee7c42f2ad157288c11e2cfbc2d2dbb52be8a6b5), [`53b416f`](https://github.com/codefastlabs/codefast/commit/53b416f7cb45c7d6d5834aa853c59c38ca1fbba8), [`24a767b`](https://github.com/codefastlabs/codefast/commit/24a767b8be3bb0cbe63a3ab3b13ab64130341218)]:
95
+ - @codefast-ui/progress-circle@0.3.1-canary.6
96
+ - @codefast-ui/checkbox-group@0.3.1-canary.6
97
+ - @codefast-ui/input-number@0.3.1-canary.6
98
+ - @codefast-ui/input@0.3.1-canary.6
99
+ - @codefast/hooks@0.3.1-canary.6
100
+
101
+ ## 0.3.1-canary.5
102
+
103
+ ### Patch Changes
104
+
105
+ - [`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
106
+
107
+ - [`77ccc05`](https://github.com/codefastlabs/codefast/commit/77ccc0556a1da4ee934af56fe8aef66eec0e1cf0) Thanks [@thevuong](https://github.com/thevuong)! - feat: support optional values in change handlers
108
+
109
+ - [`876c1cb`](https://github.com/codefastlabs/codefast/commit/876c1cb7d7ff7691096da7cc19faa44ddcffea70) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): remove logger utility and update logging usage
110
+
111
+ - [`9e7aa7c`](https://github.com/codefastlabs/codefast/commit/9e7aa7c40e8d68257fbcd62ddb8fc7e2f6fcc895) Thanks [@thevuong](https://github.com/thevuong)! - chore(dependencies): update dependencies to latest versions
112
+
113
+ - [`80bd1ad`](https://github.com/codefastlabs/codefast/commit/80bd1ad5282d489b2da9f84d373adc40a9b24dc2) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add enhanced project creation command
114
+
115
+ - 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)]:
116
+ - @codefast-ui/progress-circle@0.3.1-canary.5
117
+ - @codefast-ui/checkbox-group@0.3.1-canary.5
118
+ - @codefast-ui/input-number@0.3.1-canary.5
119
+ - @codefast-ui/input@0.3.1-canary.5
120
+ - @codefast/hooks@0.3.1-canary.5
121
+
122
+ ## 0.3.1-canary.4
123
+
124
+ ### Patch Changes
125
+
126
+ - [`d9e10c7`](https://github.com/codefastlabs/codefast/commit/d9e10c71202f28a3320431de646dcd51a42e3169) Thanks [@thevuong](https://github.com/thevuong)! - feat: add environment-aware build configurations
127
+
128
+ - [`f1b3b4d`](https://github.com/codefastlabs/codefast/commit/f1b3b4d864e4e0975c384e4e8e59db9edde2fce9) Thanks [@thevuong](https://github.com/thevuong)! - feat(ui): enhance scrollbar styles and optimize dev scripts
129
+
130
+ - [`9731770`](https://github.com/codefastlabs/codefast/commit/9731770d6b1a1bc713374f1c12b50a4dbb970fcf) Thanks [@thevuong](https://github.com/thevuong)! - fix(styles): correct CSS variable names for outline and scrollbar
131
+
132
+ - Updated dependencies [[`d9e10c7`](https://github.com/codefastlabs/codefast/commit/d9e10c71202f28a3320431de646dcd51a42e3169), [`f1b3b4d`](https://github.com/codefastlabs/codefast/commit/f1b3b4d864e4e0975c384e4e8e59db9edde2fce9), [`9731770`](https://github.com/codefastlabs/codefast/commit/9731770d6b1a1bc713374f1c12b50a4dbb970fcf)]:
133
+ - @codefast-ui/progress-circle@0.3.1-canary.4
134
+ - @codefast-ui/checkbox-group@0.3.1-canary.4
135
+ - @codefast-ui/input-number@0.3.1-canary.4
136
+ - @codefast-ui/input@0.3.1-canary.4
137
+ - @codefast/hooks@0.3.1-canary.4
138
+
139
+ ## 0.3.1-canary.3
140
+
141
+ ### Patch Changes
142
+
143
+ - [`d0f720b`](https://github.com/codefastlabs/codefast/commit/d0f720bff44dfcd6a44b542b9f7a5cc2962b4f81) Thanks [@thevuong](https://github.com/thevuong)! - fix(package.json): update repository URL format and bin path
144
+
145
+ - Updated dependencies [[`d0f720b`](https://github.com/codefastlabs/codefast/commit/d0f720bff44dfcd6a44b542b9f7a5cc2962b4f81)]:
146
+ - @codefast-ui/progress-circle@0.3.1-canary.3
147
+ - @codefast-ui/checkbox-group@0.3.1-canary.3
148
+ - @codefast-ui/input-number@0.3.1-canary.3
149
+ - @codefast-ui/input@0.3.1-canary.3
150
+ - @codefast/hooks@0.3.1-canary.3
151
+
152
+ ## 0.3.1-canary.2
153
+
154
+ ### Patch Changes
155
+
156
+ - [`cbed3bb`](https://github.com/codefastlabs/codefast/commit/cbed3bb9df899faa4dc4291bc1613693d2c58844) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): correct binary path and version retrieval logic
157
+
158
+ - [`5fa666f`](https://github.com/codefastlabs/codefast/commit/5fa666fb88548b602373bc070d656a116556e6e2) Thanks [@thevuong](https://github.com/thevuong)! - fix(dependencies): update multiple dependencies to latest versions
159
+
160
+ - [`945bed9`](https://github.com/codefastlabs/codefast/commit/945bed90196b54e414d4f2817cdfeff41a3ef280) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add `codefast` CLI package with initial features
161
+
162
+ - [`e3a843f`](https://github.com/codefastlabs/codefast/commit/e3a843f4f4d3bc9df8701a645b4dbdfba4f41086) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add files field to package.json for better packaging
163
+
164
+ - Updated dependencies [[`cbed3bb`](https://github.com/codefastlabs/codefast/commit/cbed3bb9df899faa4dc4291bc1613693d2c58844), [`5fa666f`](https://github.com/codefastlabs/codefast/commit/5fa666fb88548b602373bc070d656a116556e6e2), [`945bed9`](https://github.com/codefastlabs/codefast/commit/945bed90196b54e414d4f2817cdfeff41a3ef280), [`e3a843f`](https://github.com/codefastlabs/codefast/commit/e3a843f4f4d3bc9df8701a645b4dbdfba4f41086)]:
165
+ - @codefast-ui/progress-circle@0.3.1-canary.2
166
+ - @codefast-ui/checkbox-group@0.3.1-canary.2
167
+ - @codefast-ui/input-number@0.3.1-canary.2
168
+ - @codefast-ui/input@0.3.1-canary.2
169
+ - @codefast/hooks@0.3.1-canary.2
170
+
3
171
  ## 0.3.1-canary.1
4
172
 
5
173
  ### 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"}
@@ -11,7 +11,24 @@
11
11
  ::backdrop,
12
12
  ::file-selector-button {
13
13
  border-color: var(--color-border);
14
- outline-color: color-mix(in oklab, var(--ring) 20%, transparent);
14
+ outline-color: color-mix(in oklab, var(--color-ring) 20%, transparent);
15
+ }
16
+
17
+ ::-webkit-scrollbar {
18
+ @apply size-2;
19
+ }
20
+
21
+ ::-webkit-scrollbar-track {
22
+ @apply bg-transparent;
23
+ }
24
+
25
+ ::-webkit-scrollbar-thumb {
26
+ @apply bg-border rounded-full;
27
+ }
28
+
29
+ * {
30
+ scrollbar-width: thin;
31
+ scrollbar-color: var(--color-border) transparent
15
32
  }
16
33
 
17
34
  html,
@@ -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"}
@@ -11,7 +11,24 @@
11
11
  ::backdrop,
12
12
  ::file-selector-button {
13
13
  border-color: var(--color-border);
14
- outline-color: color-mix(in oklab, var(--ring) 20%, transparent);
14
+ outline-color: color-mix(in oklab, var(--color-ring) 20%, transparent);
15
+ }
16
+
17
+ ::-webkit-scrollbar {
18
+ @apply size-2;
19
+ }
20
+
21
+ ::-webkit-scrollbar-track {
22
+ @apply bg-transparent;
23
+ }
24
+
25
+ ::-webkit-scrollbar-thumb {
26
+ @apply bg-border rounded-full;
27
+ }
28
+
29
+ * {
30
+ scrollbar-width: thin;
31
+ scrollbar-color: var(--color-border) transparent
15
32
  }
16
33
 
17
34
  html,
@@ -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,12 +1,12 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.3.1-canary.1",
3
+ "version": "0.3.1-canary.11",
4
4
  "bugs": {
5
5
  "url": "https://github.com/codefastlabs/codefast/issues"
6
6
  },
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/codefastlabs/codefast.git",
9
+ "url": "git+https://github.com/codefastlabs/codefast.git",
10
10
  "directory": "packages/ui"
11
11
  },
12
12
  "license": "MIT",
@@ -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.11",
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.11",
751
+ "@radix-ui/react-hover-card": "^1.1.10",
752
+ "@radix-ui/react-label": "^2.1.4",
753
+ "@radix-ui/react-menubar": "^1.1.11",
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.3",
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.8",
765
+ "@radix-ui/react-toggle": "^1.1.6",
766
+ "@radix-ui/react-toggle-group": "^1.1.7",
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/checkbox-group": "0.3.1-canary.1",
783
- "@codefast-ui/input": "0.3.1-canary.1",
784
- "@codefast-ui/input-number": "0.3.1-canary.1",
785
- "@codefast-ui/progress-circle": "0.3.1-canary.1",
786
- "@codefast/hooks": "0.3.1-canary.1"
782
+ "@codefast-ui/checkbox-group": "0.3.1-canary.11",
783
+ "@codefast-ui/input": "0.3.1-canary.11",
784
+ "@codefast-ui/input-number": "0.3.1-canary.11",
785
+ "@codefast-ui/progress-circle": "0.3.1-canary.11",
786
+ "@codefast/hooks": "0.3.1-canary.11"
787
787
  },
788
788
  "devDependencies": {
789
789
  "@rsbuild/plugin-react": "^1.2.0",
790
- "@rslib/core": "^0.6.3",
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,18 +806,18 @@
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.1",
810
- "@codefast/typescript-config": "0.3.1-canary.1"
809
+ "@codefast/eslint-config": "0.3.1-canary.11",
810
+ "@codefast/typescript-config": "0.3.1-canary.11"
811
811
  },
812
812
  "peerDependencies": {
813
- "@types/react": "*",
814
- "@types/react-dom": "*",
815
- "date-fns": "^4.1.0",
816
- "next-themes": "^0.4.6",
813
+ "@types/react": "^19",
814
+ "@types/react-dom": "^19",
815
+ "date-fns": "^4",
816
+ "next-themes": "^0",
817
817
  "react": "^19",
818
818
  "react-dom": "^19",
819
- "react-hook-form": "^7.55.0",
820
- "recharts": "^2.15.2"
819
+ "react-hook-form": "^7",
820
+ "recharts": "^2"
821
821
  },
822
822
  "peerDependenciesMeta": {
823
823
  "@types/react": {
@@ -846,8 +846,8 @@
846
846
  "build": "rslib build",
847
847
  "check-types": "tsc --noEmit",
848
848
  "clean": "rimraf node_modules dist",
849
- "dev": "rslib build --watch",
850
- "lint": "eslint --max-warnings 0",
849
+ "dev": "cross-env NODE_ENV=development rslib build --watch",
850
+ "lint": "eslint --cache --max-warnings 0",
851
851
  "lint:inspect": "npx @eslint/config-inspector@latest"
852
852
  }
853
853
  }