Commit Graph
13 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 7d7eae5801 Custom Radios indicator with one-line labels; keep Pagination within its parent
Radios: each radio stays on one line, with its label clamped to a single
line (full text on hover) like Checkbox. Pass `wrap` to let labels flow
onto multiple lines. The native radio is replaced by a custom indicator
aligned to the label's first line; the input stays (visually hidden) for
forms and keyboard use, so inputProps.className now lands on a hidden
input - style .twui-radio-indicator instead. Adds twui-radios,
twui-radio, twui-radio-label and twui-radio-indicator classes.

Pagination: flex children could not shrink below their content, so many
pages pushed the component past its parent. Add min-w-0 so the page
buttons scroll inside the parent instead. Adds twui-pagination.

Playground: demos for both, and bump bunext to 1.3.5.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 08:52:11 +01:00
tbenandClaude Opus 5.5 66c2f6850e 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]>
2026-11-05 18:04:03 +01:00
tbenandClaude Opus 5.5 c45f44a441 Bump version
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 10:45:51 +01:00
tben 1f74447d1c Bump version 2026-10-25 04:59:54 +01:00
tben f9fa9da091 Publish: Bugfix 2026-10-22 11:19:13 +01:00
tben 57e57863a9 Minor bugfixes 2026-10-22 05:03:40 +01:00
tben 915c9a1be0 Remove large imports 2026-10-20 13:35:20 +01:00
tben 33808c2392 Add dev server. Update search select default commit mode 2026-10-19 04:40:26 +01:00
tben 73a25f54c2 Add bunext playground for local component development
Runs at http://localhost:7010 via bun run dev. The playground imports the library from src through a committed symlink and tsconfig path alias, so component edits hot-reload without a build step. It has its own install root and is excluded from the published package.
2026-10-19 04:23:07 +01:00
tben 46049c5e15 First release 2026-10-18 10:46:23 +01:00
tbenandClaude Opus 5.5 11da9b89e7 Package library as @moduletrace/twui npm package
- Move components/ to src/ and compile to dist/ with tsc
- Add root barrel export plus deep-import subpath exports and base.css export
- Post-compile step: copy base.css, add .js import extensions, mark client modules
- Add publish.sh and .npmrc for the Gitea npm registry
- Fix type errors, guard TinyMCE env access, drop ace-builds type dependency
- Rename clashing props type names, remove Next.js scaffolding and unused deps

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-18 10:17:54 +01:00
tben 358bfed988 Updates 2026-03-05 22:06:38 +01:00
Benjamin Toby 25daf1844e First Commit 2024-10-16 15:20:34 +01:00