Releases: axadrn/shadcn-templ
Releases · axadrn/shadcn-templ
Release list
v2.0.0-beta.3
Minor Changes
- chart: escape dismisses the tooltip until the coordinate changes like recharts (#599)
- site: the schema urls serve real json schemas
Patch Changes
- chart: the tooltip wires mouse and touch events like the recharts wrapper (#599)
- chart: the keyboard layer follows recharts' interaction priority (#599)
- chart: the hover overlays render through the entrance animation like recharts (#599)
- select: the touch tap opens on release like base ui does
- select: the press guards from base ui keep a quick tap from self dismissing
v2.0.0-beta.2
templUI is now shadcn-templ. Same project, new name, with shadcn's blessing.
This release moves everything to the new home:
- Module path:
github.com/axadrn/shadcn-templ/v2 - CLI:
go install github.com/axadrn/shadcn-templ/v2/cmd/shadcn-templ@latest - Docs and registry: https://shadcn-templ.com
- Per-page open-graph images, new brand mark
beta.1 users: reinstall the CLI with the command above and replace templui/templui/v2 with axadrn/shadcn-templ/v2 in your imports. templUI v1 keeps living at https://templui.io and github.com/templui/templui.
v1.13.0
v2.0.0-beta.1
Major Changes
- rewrite every component against shadcn/ui and Base UI, with the client behavior ported to dependency-free vanilla JavaScript
- add eight visual styles and a registry that compiles every component for the chosen style
- add templui create, typeset and charts
- add project templates and presets to the CLI
- move the module path to
github.com/templui/templui/v2
v1.12.1
Fixed
- dialog, sheet: Force a reflow before opening so Safari renders the off-screen start position first, restoring the missing slide-in (enter) animation on Safari (most visible on the mobile sidebar, which is built on Sheet → Dialog) (#560, thanks @louishamelers)
- dialog: Skip already-initialized dialogs when the MutationObserver re-scans, so unrelated DOM patches (e.g. Datastar updating content inside an open dialog) no longer rewrite state on every dialog and spiral into a feedback loop / UI lockup (#562, thanks @akthe-at)
- dropdown: Switched to
overflow-y-auto/overflow-x-hiddenwith a more generous, viewport-bounded max height so a normal-length menu no longer renders with a premature scrollbar (#563, thanks @RimJur)
Full Changelog: v1.12.0...v1.12.1
v1.12.0
Added
- hovercard: Added a Hover Card component that shows rich content on hover, built as a thin wrapper around Popover with hover defaults (150ms open / 300ms close)
- popover: Hover-based popovers (Tooltip, Hover Card) now also open on keyboard focus and close on blur for accessibility
Changed
- tooltip: Default open/close delay is now instant (0ms) to match shadcn; the tooltip showcases no longer hardcode a 500ms delay
Fixed
- dialog: Initialize dialogs added to the DOM after load (e.g. via HTMX swaps) so their triggers work without a full page reload (#557)
- popover: An explicit hover delay of
0is now respected as instant instead of falling back to 100ms, so instant tooltips/popovers are configurable
v1.11.2
Fixed
- popover: Made the exclusive close behavior skip ancestor popovers so a popover-based component (SelectBox, Dropdown) nested inside another popover no longer closes its parent when opened; the public
closeAll/window.tui.popover.closeAllAPI keeps its close-everything semantics (#555, thanks @derkan)
v1.11.1
Fixed
- dialog, sheet: Removed the inner
data-tui-dialog-panelwrapper whosegridlayout broke Sheet's flex height chain, causing mobile sidebar content to not scroll and footers withmt-autoto not stick to the bottom; layout (flex-col,gap-4,p-6) now sits directly on the native<dialog>(#553, thanks @hainguyen27798)
v1.11.0
Added
- calendar: Added range selection via a new
SelectionMode(single/range) plusEndValueandEndNameprops, with a corresponding range showcase (#520, #552, thanks @anaelorlinski) - datepicker: Forwarded the new calendar range props and rendered the selected value as
start – endwhen in range mode, with a corresponding range showcase - popover: Added
window.tui.popover.closeNearest(element)so parent code can close the nearest enclosing popover from outside the trigger (#552)
Changed
- calendar: Renamed the selection event from
calendar-date-selectedtocalendar-selectedand unified its payload for both single and range modes; update any direct listeners (breaking change) (#552)
Fixed
- popover: Switched clickaway to
pointerdownso re-rendering popover content during a click no longer triggers a false outside-click and immediate close (#552)