diff --git a/apps/web/package.json b/apps/web/package.json index 12c9bd5..40f4d91 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -28,6 +28,7 @@ "autoprefixer": "^10.4.19", "postcss": "^8.4.39", "tailwindcss": "^3.4.6", + "tailwindcss-animate": "^1.0.7", "typescript": "^5.5.3", "vite": "^5.3.3" } diff --git a/apps/web/src/components/ui/Select.tsx b/apps/web/src/components/ui/Select.tsx index c544e74..b53576c 100644 --- a/apps/web/src/components/ui/Select.tsx +++ b/apps/web/src/components/ui/Select.tsx @@ -51,7 +51,17 @@ export const Select = SelectPrimitive.Root; export const SelectGroup = SelectPrimitive.Group; -export const SelectValue = SelectPrimitive.Value; +export const SelectValue = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +SelectValue.displayName = "SelectValue"; export const SelectLabel = SelectPrimitive.Label; @@ -62,14 +72,14 @@ export const SelectTrigger = React.forwardRef< - {children} + {children} - + )); @@ -117,7 +127,9 @@ export const SelectContent = React.forwardRef< {children} diff --git a/apps/web/src/pages/TimerPage.tsx b/apps/web/src/pages/TimerPage.tsx index c4afeaa..96fb4fd 100644 --- a/apps/web/src/pages/TimerPage.tsx +++ b/apps/web/src/pages/TimerPage.tsx @@ -352,10 +352,10 @@ export const TimerPage = () => { } }} > - + - + {sortOptions.map((option) => ( = 0.4'} + tailwindcss-animate@1.0.7: + resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==} + peerDependencies: + tailwindcss: '>=3.0.0 || insiders' + tailwindcss@3.4.19: resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==} engines: {node: '>=14.0.0'} @@ -5210,6 +5218,10 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + tailwindcss-animate@1.0.7(tailwindcss@3.4.19): + dependencies: + tailwindcss: 3.4.19 + tailwindcss@3.4.19: dependencies: '@alloc/quick-lru': 5.2.0