Import
import { Carousel } from "@typed/ui/index";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as Carousel from "./Carousel.js";Members
Carousel.ControlOptionsInputs accepted by Carousel.Control in addition to the shared DOM host options.
Carousel.InitialStateInitial Carousel values. activeId is required and paused defaults to true.
Carousel.NextRenders a button whose native click selects the next registered slide with wrapping enabled.
Carousel.PreviousRenders a button whose native click selects the previous registered slide with wrapping enabled.
Carousel.RootRenders the carousel region and pauses automatic rotation on focus or pointer entry without replacing its child nodes.
Carousel.RootOptionsInputs accepted by Carousel.Root in addition to the shared DOM host options.
Carousel.RotationControlRenders a button whose native click toggles the explicit paused state.
Carousel.SlideRenders one labelled slide, registers it when a collection is supplied, and toggles hidden from activeId.
Carousel.SlideOptionsInputs accepted by Carousel.Slide in addition to the shared DOM host options.
Carousel.StateThe visible slide identity and explicit paused flag. Changing
pauseddoes not start a timer; an application scheduler must honor the flag.Carousel.StateSchemaEffect Schema used by makeState to encode, decode, and hydrate Carousel state.
Carousel.makeCollectionCreates a scoped Collection for Carousel items.
Carousel.makeStateCreates hydrated Carousel state. activeId is required and paused defaults to true.
Carousel.moveSelects the previous or next enabled registered slide; movement wraps and leaves state unchanged for an empty collection.
Carousel.selectSets activeId without changing paused state.
Carousel.toggleRotationFlips paused and preserves activeId.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.