Commit Graph
15 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 cdeeb8201e Fix component bugs across hooks, elements, form, layout, editors and utils
- Hooks: per-instance timers in useReady; cleanup for useIntersectionObserver;
  useWebSocket no longer reconnects after unmount/refresh, drains the queue
  and dispatches non-JSON messages
- Modal/Popover/Dropdown: onClose only on close, Escape to close, no stray
  DOM props, hooks before early return, scrollbar-aware positioning,
  top-left/top-right dropdown positions
- Elements: Toast/Search/StarRating per-instance timers, Pagination labels
  and empty state, Breadcrumbs titles, LinkList dividers/props, segment-wise
  active-link matching (new utils/link-matches-path), Table object cells
- Form: Select with a default option is changeable, Input clear notifies
  controlled parents and copy works on textareas, Checkbox random label,
  NumberInputButtons runaway interval, upload prop/spread fixes
- Layout: Button disabled while loading, Stack gap and Span truncate via
  inline styles, Img fallbackImageSrc, className/JSDoc fixes
- Editors/MDX/AI: TinyMCE id/cleanup/stale handler/duplicate scripts,
  AceEditor debounce, markdown heights and frontmatter regex, last
  assistant message, AIPromptBlock prompt ref
- Utils: fetchApi headers/FormData/fetchOptions/no mutation, base64 file
  names and read errors, slugify underscore trim, serializeQuery zero values
- Tests for fetchApi, link matching, slugify and serializeQuery
- AGENTS.md updated for the package layout

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-18 10:45:46 +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
tbenandClaude Opus 5.5 d19d412066 Updates
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 07:04:14 +01:00
tbenandClaude Opus 5.5 b61a5b1fb3 Updates
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 06:58:10 +01:00
tben 44088c5a9c Updates 2026-10-13 06:52:08 +01:00
tben 3dc9f12ad4 Updates 2026-10-01 08:02:47 +01:00
tben 6392457ffb Updates 2026-03-23 06:30:43 +01:00
tben a242869095 Updates 2026-03-12 15:57:58 +01:00
tben 2c101420cc Updates 2026-03-10 05:13:00 +01:00
tben 9f8527fc4d Updates 2026-03-08 17:03:10 +01:00
tben 358bfed988 Updates 2026-03-05 22:06:38 +01:00
tben 89e673bb59 Updates 2026-03-04 17:54:49 +01:00
tben 214937e166 Updates 2026-03-04 17:50:26 +01:00
tben a9660a4f1f Updates 2026-03-04 17:48:28 +01:00
tben db26e26495 Updates 2026-03-04 17:35:14 +01:00