number-input/index.ts

ark · packages/svelte/src/lib/components/number-input/index.ts · typescript · MIT
ui

Collection of Svelte components for accessible number inputs with controls.

// Source: https://github.com/chakra-ui/ark | License: MIT | Copyright 2024 Chakra Systems Inc
// Provided via justclaw.it.com; keep this notice with the code.
export type {
  FocusChangeDetails as NumberInputFocusChangeDetails,
  ValueChangeDetails as NumberInputValueChangeDetails,
  ValueInvalidDetails as NumberInputValueInvalidDetails,
} from '@zag-js/number-input'
export { default as NumberInputContext, type NumberInputContextProps } from './number-input-context.svelte'
export {
  default as NumberInputControl,
  type NumberInputControlBaseProps,
  type NumberInputControlProps,
} from './number-input-control.svelte'
export {
  default as NumberInputDecrementTrigger,
  type NumberInputDecrementTriggerBaseProps,
  type NumberInputDecrementTriggerProps,
} from './number-input-decrement-tr

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

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

Get a free API key