Skip to content

Commit

Permalink
fix(carousel): re-export orientation type
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Dec 27, 2024
1 parent 911ffc7 commit da214c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-fishes-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zag-js/carousel": patch
---

Re-export Orientation type
6 changes: 6 additions & 0 deletions packages/machines/carousel/src/carousel.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,9 @@ export interface MachineApi<T extends PropTypes = PropTypes> {
getIndicatorGroupProps(): T["element"]
getIndicatorProps(props: IndicatorProps): T["button"]
}

/* -----------------------------------------------------------------------------
* Re-exported types
* -----------------------------------------------------------------------------*/

export type { Orientation } from "@zag-js/types"
1 change: 1 addition & 0 deletions packages/machines/carousel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ export type {
ItemProps,
PageChangeDetails,
Service,
Orientation,
} from "./carousel.types"

0 comments on commit da214c0

Please sign in to comment.