mirror of
https://github.com/bitbaum/whenkit.git
synced 2026-12-04 02:47:27 +01:00
Same props and onChange(event) as the native input, so a call site changes its tag and nothing else. The value shows in words in the app's OWN styling (className lands on the visible box); the real input stays on top, transparent, so the picker, keyboard, autofill, validation and form submission keep working. Controlled or uncontrolled; locale and empty-state words follow <html lang>. The look is in @layer base so an app's classes win: unlayered defaults would have beaten Tailwind v4's layered utilities. A browser check proves both a plain class and a layered utility win, and fails without the layer. DateField is now a labelled wrapper on DateInput. Signed-off-by: Cato <41178744+catomean@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 line
483 B
Plaintext
1 line
483 B
Plaintext
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,2BAA2B,CAAC"} |