shadcn-ui-react 0.3.3 → 0.3.4

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/README.md CHANGED
@@ -289,6 +289,7 @@ const Example = () => {
289
289
  export default Example;
290
290
  ```
291
291
 
292
+
292
293
  ---
293
294
 
294
295
  ## 💅 Theming & Styling
package/dist/index.cjs CHANGED
@@ -6673,10 +6673,7 @@ function SearchInput({
6673
6673
  const [searchTerm, setSearchTerm] = import_react34.default.useState(value);
6674
6674
  const [debouncedValue] = (0, import_use_debounce.useDebounce)(searchTerm, debounceTime);
6675
6675
  const handleSettingSearchParams = (0, import_react34.useCallback)((newSearchValue) => {
6676
- if (newSearchValue === "" || newSearchValue === void 0 || !newSearchValue) {
6677
- onSearch(newSearchValue);
6678
- return;
6679
- }
6676
+ onSearch(newSearchValue);
6680
6677
  }, []);
6681
6678
  import_react34.default.useEffect(() => {
6682
6679
  handleSettingSearchParams(debouncedValue);
package/dist/index.js CHANGED
@@ -6465,10 +6465,7 @@ function SearchInput({
6465
6465
  const [searchTerm, setSearchTerm] = React53.useState(value);
6466
6466
  const [debouncedValue] = useDebounce(searchTerm, debounceTime);
6467
6467
  const handleSettingSearchParams = useCallback4((newSearchValue) => {
6468
- if (newSearchValue === "" || newSearchValue === void 0 || !newSearchValue) {
6469
- onSearch(newSearchValue);
6470
- return;
6471
- }
6468
+ onSearch(newSearchValue);
6472
6469
  }, []);
6473
6470
  React53.useEffect(() => {
6474
6471
  handleSettingSearchParams(debouncedValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadcn-ui-react",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "private": false,
5
5
  "author": "Bleker Cordova <bleker@gliyen.com>",
6
6
  "description": "A collection of components for building beautiful and accessible user interfaces with React and Tailwind CSS.",