Skip to content

Commit

Permalink
next: export regexp helpers for pin input (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Oct 27, 2024
1 parent 64ca95d commit b6c759d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-pugs-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

export REGEXP helpers from pin input
6 changes: 6 additions & 0 deletions packages/bits-ui/src/lib/shared/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import type * as CSS from "csstype";

export {
REGEXP_ONLY_DIGITS,
REGEXP_ONLY_CHARS,
REGEXP_ONLY_DIGITS_AND_CHARS,
} from "$lib/bits/pin-input/pin-input.svelte.js";

export type Selected<Value> = {
value: Value;
label?: string;
Expand Down

0 comments on commit b6c759d

Please sign in to comment.