diff --git a/package.json b/package.json index 906eb29..680cf13 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "eslint": "^8", "eslint-config-next": "15.0.0-rc.1", "postcss": "^8", + "postcss-hover-media-feature": "^1.0.2", "prettier-plugin-tailwindcss": "^0.6.8", "tailwindcss": "^3.4.1", "typescript": "^5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4ea0a0..f9fe3f5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,6 +93,9 @@ importers: postcss: specifier: ^8 version: 8.4.47 + postcss-hover-media-feature: + specifier: ^1.0.2 + version: 1.0.2(postcss@8.4.47) prettier-plugin-tailwindcss: specifier: ^0.6.8 version: 0.6.8(prettier@3.3.3) @@ -3174,6 +3177,15 @@ packages: } engines: { node: ">= 0.4" } + postcss-hover-media-feature@1.0.2: + resolution: + { + integrity: sha512-o5xDUqCQ4xtilWOcvo5LKYxFVSLWcBN0IlTqa0IJwAwHTd4pxKmX4c0fGIpgLQCcBB/+aFizt2NVWNGJWG4Izg==, + } + engines: { node: ">=10.0.0" } + peerDependencies: + postcss: ^8.0.0 + postcss-import@15.1.0: resolution: { @@ -5878,6 +5890,11 @@ snapshots: possible-typed-array-names@1.0.0: {} + postcss-hover-media-feature@1.0.2(postcss@8.4.47): + dependencies: + postcss: 8.4.47 + postcss-selector-parser: 6.1.2 + postcss-import@15.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 diff --git a/postcss.config.mjs b/postcss.config.mjs index 1a69fd2..30761f5 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -2,6 +2,7 @@ const config = { plugins: { tailwindcss: {}, + "postcss-hover-media-feature": {}, }, }; diff --git a/src/components/search-dropdown.tsx b/src/components/search-dropdown.tsx index 2ae7da0..eb644d8 100644 --- a/src/components/search-dropdown.tsx +++ b/src/components/search-dropdown.tsx @@ -20,7 +20,6 @@ export function SearchDropdownComponent() { useEffect(() => { const search = async () => { const results = await searchProducts(searchTerm); - console.log(results); setFilteredItems(results); };