@codefast/ui 0.3.1-canary.0 → 0.3.1-canary.10
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 +164 -0
- package/dist/cjs/components/input-search.cjs.map +1 -1
- package/dist/cjs/index.css +18 -1
- package/dist/esm/components/input-search.js.map +1 -1
- package/dist/esm/index.css +18 -1
- package/dist/types/components/input-search.d.ts +1 -1
- package/dist/types/components/input-search.d.ts.map +1 -1
- package/package.json +47 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,169 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
+
## 0.3.1-canary.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`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
|
|
8
|
+
|
|
9
|
+
- [`d3f7fd0`](https://github.com/codefastlabs/codefast/commit/d3f7fd09976bbda34903ea376c58c590900aeef0) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): correct dark mode CSS selector in constants
|
|
10
|
+
|
|
11
|
+
- [`c57b54a`](https://github.com/codefastlabs/codefast/commit/c57b54a234a9a07dfbe800664126b8eb405f44c4) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add lucide-react to default project dependencies
|
|
12
|
+
|
|
13
|
+
- 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)]:
|
|
14
|
+
- @codefast-ui/progress-circle@0.3.1-canary.10
|
|
15
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.10
|
|
16
|
+
- @codefast-ui/input-number@0.3.1-canary.10
|
|
17
|
+
- @codefast-ui/input@0.3.1-canary.10
|
|
18
|
+
- @codefast/hooks@0.3.1-canary.10
|
|
19
|
+
|
|
20
|
+
## 0.3.1-canary.9
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [`77d43d1`](https://github.com/codefastlabs/codefast/commit/77d43d1dfa36b856125956f9edaf141262914831) Thanks [@thevuong](https://github.com/thevuong)! - chore(dependencies): update package versions
|
|
25
|
+
|
|
26
|
+
- [`b5558d7`](https://github.com/codefastlabs/codefast/commit/b5558d7fc117c3e5314d88fe9aff48f84c7ffc18) Thanks [@thevuong](https://github.com/thevuong)! - feat: update peer dependencies and add unrs-resolver
|
|
27
|
+
|
|
28
|
+
- [`04a8165`](https://github.com/codefastlabs/codefast/commit/04a8165e6ad8e7c17e715b286d3c9aed0f7dbb02) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): update packages to remove in project creation
|
|
29
|
+
|
|
30
|
+
- [`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
|
|
31
|
+
|
|
32
|
+
- 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)]:
|
|
33
|
+
- @codefast-ui/progress-circle@0.3.1-canary.9
|
|
34
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.9
|
|
35
|
+
- @codefast-ui/input-number@0.3.1-canary.9
|
|
36
|
+
- @codefast-ui/input@0.3.1-canary.9
|
|
37
|
+
- @codefast/hooks@0.3.1-canary.9
|
|
38
|
+
|
|
39
|
+
## 0.3.1-canary.8
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- [`bcf67ce`](https://github.com/codefastlabs/codefast/commit/bcf67ce958af5bbb81a031dd3f17a5b5a3f42595) Thanks [@thevuong](https://github.com/thevuong)! - changeset
|
|
44
|
+
|
|
45
|
+
- Updated dependencies [[`bcf67ce`](https://github.com/codefastlabs/codefast/commit/bcf67ce958af5bbb81a031dd3f17a5b5a3f42595)]:
|
|
46
|
+
- @codefast-ui/progress-circle@0.3.1-canary.8
|
|
47
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.8
|
|
48
|
+
- @codefast-ui/input-number@0.3.1-canary.8
|
|
49
|
+
- @codefast-ui/input@0.3.1-canary.8
|
|
50
|
+
- @codefast/hooks@0.3.1-canary.8
|
|
51
|
+
|
|
52
|
+
## 0.3.1-canary.7
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- [`d2bfdc3`](https://github.com/codefastlabs/codefast/commit/d2bfdc328205629d8810756f586e8ff3a2db8f73) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): update lint script to use autofix option
|
|
57
|
+
|
|
58
|
+
- Updated dependencies [[`d2bfdc3`](https://github.com/codefastlabs/codefast/commit/d2bfdc328205629d8810756f586e8ff3a2db8f73)]:
|
|
59
|
+
- @codefast-ui/progress-circle@0.3.1-canary.7
|
|
60
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.7
|
|
61
|
+
- @codefast-ui/input-number@0.3.1-canary.7
|
|
62
|
+
- @codefast-ui/input@0.3.1-canary.7
|
|
63
|
+
- @codefast/hooks@0.3.1-canary.7
|
|
64
|
+
|
|
65
|
+
## 0.3.1-canary.6
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- [`ed2ba2c`](https://github.com/codefastlabs/codefast/commit/ed2ba2cd81cfbf5764fe4631b9de9a5dcaa6ddfa) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add cleanup step to remove unnecessary packages
|
|
70
|
+
|
|
71
|
+
- [`ee7c42f`](https://github.com/codefastlabs/codefast/commit/ee7c42f2ad157288c11e2cfbc2d2dbb52be8a6b5) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): update layout.tsx with fontVariables support
|
|
72
|
+
|
|
73
|
+
- [`53b416f`](https://github.com/codefastlabs/codefast/commit/53b416f7cb45c7d6d5834aa853c59c38ca1fbba8) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): modularize project creation functionalities
|
|
74
|
+
|
|
75
|
+
- [`24a767b`](https://github.com/codefastlabs/codefast/commit/24a767b8be3bb0cbe63a3ab3b13ab64130341218) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): improve config file handling in project setup
|
|
76
|
+
|
|
77
|
+
- 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)]:
|
|
78
|
+
- @codefast-ui/progress-circle@0.3.1-canary.6
|
|
79
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.6
|
|
80
|
+
- @codefast-ui/input-number@0.3.1-canary.6
|
|
81
|
+
- @codefast-ui/input@0.3.1-canary.6
|
|
82
|
+
- @codefast/hooks@0.3.1-canary.6
|
|
83
|
+
|
|
84
|
+
## 0.3.1-canary.5
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- [`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
|
|
89
|
+
|
|
90
|
+
- [`77ccc05`](https://github.com/codefastlabs/codefast/commit/77ccc0556a1da4ee934af56fe8aef66eec0e1cf0) Thanks [@thevuong](https://github.com/thevuong)! - feat: support optional values in change handlers
|
|
91
|
+
|
|
92
|
+
- [`876c1cb`](https://github.com/codefastlabs/codefast/commit/876c1cb7d7ff7691096da7cc19faa44ddcffea70) Thanks [@thevuong](https://github.com/thevuong)! - refactor(cli): remove logger utility and update logging usage
|
|
93
|
+
|
|
94
|
+
- [`9e7aa7c`](https://github.com/codefastlabs/codefast/commit/9e7aa7c40e8d68257fbcd62ddb8fc7e2f6fcc895) Thanks [@thevuong](https://github.com/thevuong)! - chore(dependencies): update dependencies to latest versions
|
|
95
|
+
|
|
96
|
+
- [`80bd1ad`](https://github.com/codefastlabs/codefast/commit/80bd1ad5282d489b2da9f84d373adc40a9b24dc2) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add enhanced project creation command
|
|
97
|
+
|
|
98
|
+
- 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)]:
|
|
99
|
+
- @codefast-ui/progress-circle@0.3.1-canary.5
|
|
100
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.5
|
|
101
|
+
- @codefast-ui/input-number@0.3.1-canary.5
|
|
102
|
+
- @codefast-ui/input@0.3.1-canary.5
|
|
103
|
+
- @codefast/hooks@0.3.1-canary.5
|
|
104
|
+
|
|
105
|
+
## 0.3.1-canary.4
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- [`d9e10c7`](https://github.com/codefastlabs/codefast/commit/d9e10c71202f28a3320431de646dcd51a42e3169) Thanks [@thevuong](https://github.com/thevuong)! - feat: add environment-aware build configurations
|
|
110
|
+
|
|
111
|
+
- [`f1b3b4d`](https://github.com/codefastlabs/codefast/commit/f1b3b4d864e4e0975c384e4e8e59db9edde2fce9) Thanks [@thevuong](https://github.com/thevuong)! - feat(ui): enhance scrollbar styles and optimize dev scripts
|
|
112
|
+
|
|
113
|
+
- [`9731770`](https://github.com/codefastlabs/codefast/commit/9731770d6b1a1bc713374f1c12b50a4dbb970fcf) Thanks [@thevuong](https://github.com/thevuong)! - fix(styles): correct CSS variable names for outline and scrollbar
|
|
114
|
+
|
|
115
|
+
- 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)]:
|
|
116
|
+
- @codefast-ui/progress-circle@0.3.1-canary.4
|
|
117
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.4
|
|
118
|
+
- @codefast-ui/input-number@0.3.1-canary.4
|
|
119
|
+
- @codefast-ui/input@0.3.1-canary.4
|
|
120
|
+
- @codefast/hooks@0.3.1-canary.4
|
|
121
|
+
|
|
122
|
+
## 0.3.1-canary.3
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- [`d0f720b`](https://github.com/codefastlabs/codefast/commit/d0f720bff44dfcd6a44b542b9f7a5cc2962b4f81) Thanks [@thevuong](https://github.com/thevuong)! - fix(package.json): update repository URL format and bin path
|
|
127
|
+
|
|
128
|
+
- Updated dependencies [[`d0f720b`](https://github.com/codefastlabs/codefast/commit/d0f720bff44dfcd6a44b542b9f7a5cc2962b4f81)]:
|
|
129
|
+
- @codefast-ui/progress-circle@0.3.1-canary.3
|
|
130
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.3
|
|
131
|
+
- @codefast-ui/input-number@0.3.1-canary.3
|
|
132
|
+
- @codefast-ui/input@0.3.1-canary.3
|
|
133
|
+
- @codefast/hooks@0.3.1-canary.3
|
|
134
|
+
|
|
135
|
+
## 0.3.1-canary.2
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- [`cbed3bb`](https://github.com/codefastlabs/codefast/commit/cbed3bb9df899faa4dc4291bc1613693d2c58844) Thanks [@thevuong](https://github.com/thevuong)! - fix(cli): correct binary path and version retrieval logic
|
|
140
|
+
|
|
141
|
+
- [`5fa666f`](https://github.com/codefastlabs/codefast/commit/5fa666fb88548b602373bc070d656a116556e6e2) Thanks [@thevuong](https://github.com/thevuong)! - fix(dependencies): update multiple dependencies to latest versions
|
|
142
|
+
|
|
143
|
+
- [`945bed9`](https://github.com/codefastlabs/codefast/commit/945bed90196b54e414d4f2817cdfeff41a3ef280) Thanks [@thevuong](https://github.com/thevuong)! - feat(cli): add `codefast` CLI package with initial features
|
|
144
|
+
|
|
145
|
+
- [`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
|
|
146
|
+
|
|
147
|
+
- 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)]:
|
|
148
|
+
- @codefast-ui/progress-circle@0.3.1-canary.2
|
|
149
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.2
|
|
150
|
+
- @codefast-ui/input-number@0.3.1-canary.2
|
|
151
|
+
- @codefast-ui/input@0.3.1-canary.2
|
|
152
|
+
- @codefast/hooks@0.3.1-canary.2
|
|
153
|
+
|
|
154
|
+
## 0.3.1-canary.1
|
|
155
|
+
|
|
156
|
+
### Patch Changes
|
|
157
|
+
|
|
158
|
+
- [`7df52f7`](https://github.com/codefastlabs/codefast/commit/7df52f760966692f2699fb979367943003b36ccf) Thanks [@thevuong](https://github.com/thevuong)! - feat: update jsx-a11y rule overrides for accessibility needs
|
|
159
|
+
|
|
160
|
+
- Updated dependencies [[`7df52f7`](https://github.com/codefastlabs/codefast/commit/7df52f760966692f2699fb979367943003b36ccf)]:
|
|
161
|
+
- @codefast/hooks@0.3.1-canary.1
|
|
162
|
+
- @codefast-ui/checkbox-group@0.3.1-canary.1
|
|
163
|
+
- @codefast-ui/input@0.3.1-canary.1
|
|
164
|
+
- @codefast-ui/input-number@0.3.1-canary.1
|
|
165
|
+
- @codefast-ui/progress-circle@0.3.1-canary.1
|
|
166
|
+
|
|
3
167
|
## 0.3.1-canary.0
|
|
4
168
|
|
|
5
169
|
### 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
|
|
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"}
|
package/dist/cjs/index.css
CHANGED
|
@@ -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
|
|
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"}
|
package/dist/esm/index.css
CHANGED
|
@@ -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
|
|
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;
|
|
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.
|
|
3
|
+
"version": "0.3.1-canary.10",
|
|
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.
|
|
741
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
742
|
-
"@radix-ui/react-aspect-ratio": "^1.1.
|
|
743
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
744
|
-
"@radix-ui/react-checkbox": "^1.
|
|
745
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
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.
|
|
748
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
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.
|
|
751
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
752
|
-
"@radix-ui/react-label": "^2.1.
|
|
753
|
-
"@radix-ui/react-menubar": "^1.1.
|
|
754
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
755
|
-
"@radix-ui/react-popover": "^1.1.
|
|
756
|
-
"@radix-ui/react-progress": "^1.1.
|
|
757
|
-
"@radix-ui/react-radio-group": "^1.
|
|
758
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
759
|
-
"@radix-ui/react-select": "^2.
|
|
760
|
-
"@radix-ui/react-separator": "^1.1.
|
|
761
|
-
"@radix-ui/react-slider": "^1.2
|
|
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.
|
|
764
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
765
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
766
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
767
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
768
|
-
"@radix-ui/react-use-controllable-state": "^1.
|
|
769
|
-
"@radix-ui/react-visually-hidden": "^1.
|
|
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.
|
|
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.
|
|
783
|
-
"@codefast-ui/input": "0.3.1-canary.
|
|
784
|
-
"@codefast-ui/input-number": "0.3.1-canary.
|
|
785
|
-
"@codefast-ui/progress-circle": "0.3.1-canary.
|
|
786
|
-
"@codefast/hooks": "0.3.1-canary.
|
|
782
|
+
"@codefast-ui/checkbox-group": "0.3.1-canary.10",
|
|
783
|
+
"@codefast-ui/input": "0.3.1-canary.10",
|
|
784
|
+
"@codefast-ui/input-number": "0.3.1-canary.10",
|
|
785
|
+
"@codefast-ui/progress-circle": "0.3.1-canary.10",
|
|
786
|
+
"@codefast/hooks": "0.3.1-canary.10"
|
|
787
787
|
},
|
|
788
788
|
"devDependencies": {
|
|
789
789
|
"@rsbuild/plugin-react": "^1.2.0",
|
|
790
|
-
"@rslib/core": "^0.6.
|
|
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.
|
|
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.
|
|
810
|
-
"@codefast/typescript-config": "0.3.1-canary.
|
|
809
|
+
"@codefast/eslint-config": "0.3.1-canary.10",
|
|
810
|
+
"@codefast/typescript-config": "0.3.1-canary.10"
|
|
811
811
|
},
|
|
812
812
|
"peerDependencies": {
|
|
813
|
-
"@types/react": "
|
|
814
|
-
"@types/react-dom": "
|
|
815
|
-
"date-fns": "^4
|
|
816
|
-
"next-themes": "^0
|
|
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
|
|
820
|
-
"recharts": "^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
|
}
|