Clamp Checkbox labels to one line, add wrap prop

Labels no longer overflow their container: by default they are clamped
to a single line with an ellipsis and the full label is shown as the
wrapper's title on hover. Pass `wrap` to let the label flow onto
multiple lines. Adds the `twui-checkbox-label` class.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-05 18:04:03 +01:00
co-authored by Claude Opus 5.5
parent c45f44a441
commit 66c2f6850e
3 changed files with 41 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@moduletrace/twui",
"version": "0.1.8",
"version": "0.1.9",
"description": "A modular skeletal React component framework for Tailwind CSS v4",
"author": "Benjamin Toby",
"type": "module",