select/types.ts

bits-ui · packages/bits-ui/src/lib/bits/select/types.ts · typescript · MIT
ui

Defines TypeScript types for a Svelte select component supporting single and multiple selection modes.

// Source: https://github.com/huntabyte/bits-ui | License: MIT | Copyright 2024 Hunter Johnston <https://github.com/huntabyte>
// Provided via justclaw.it.com; keep this notice with the code.
import type { Expand } from "svelte-toolbelt";
import type { PortalProps } from "../utilities/portal/types.js";
import type { PopperLayerProps, PopperLayerStaticProps } from "../utilities/popper-layer/types.js";
import type { ArrowProps, ArrowPropsWithoutHTML } from "../utilities/arrow/types.js";
import type {
	BitsPrimitiveButtonAttributes,
	BitsPrimitiveDivAttributes,
	BitsPrimitiveSpanAttributes,
} from "#lib/shared/attributes.js";
import type {
	OnChangeFn,
	WithChild,
	WithChildNoChildrenSnippetProps,
	WithChildren,
	Without,
} from "#lib/internal/types.js";
import type { FloatingContentSnippetPr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key