mirror of
https://github.com/bitbaum/whenkit.git
synced 2026-12-03 23:27: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
795 B
Plaintext
1 line
795 B
Plaintext
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../src/react/DateField.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAa,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,sBAAgB,CAAC;AAEhD,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,GAAG,EACH,GAAG,EACH,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,MAAM,EACN,IAAI,EACJ,SAAS,GACV,EAAE,cAAc,+BA2BhB"} |