Skip to content

Commit da05d21

Browse files
authored
fix: styled carousel types (#1154)
* fix: styled carousel types * chore: changeset
1 parent 6819e77 commit da05d21

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.changeset/light-fans-grow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik-ui/styled': patch
3+
---
4+
5+
fix: The styled carousel types now use the "type" keyword

packages/kit-styled/src/components/carousel/carousel.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ import {
22
useContext,
33
component$,
44
createContextId,
5-
PropsOf,
5+
type PropsOf,
66
Slot,
77
useContextProvider,
8-
Signal,
8+
type Signal,
99
} from '@builder.io/qwik';
10-
11-
import { Carousel as HCarousel } from '@qwik-ui/headless';
12-
import { cn } from '@qwik-ui/utils';
13-
import { buttonVariants } from '../button/button';
14-
import { VariantProps } from 'class-variance-authority';
10+
import type { VariantProps } from 'class-variance-authority';
1511
import {
1612
LuChevronDown,
1713
LuChevronLeft,
1814
LuChevronRight,
1915
LuChevronUp,
2016
} from '@qwikest/icons/lucide';
17+
import { Carousel as HCarousel } from '@qwik-ui/headless';
18+
import { cn } from '@qwik-ui/utils';
19+
20+
import { buttonVariants } from '../button/button';
2121

2222
const styledCarouselContextId = createContextId<{
2323
orientation: 'horizontal' | 'vertical';

0 commit comments

Comments
 (0)