Skip to content

Releases: axadrn/shadcn-templ

v2.0.0-beta.3

Choose a tag to compare

@axadrn axadrn released this 07 Aug 12:17

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

Choose a tag to compare

@axadrn axadrn released this 06 Aug 09:00

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

Choose a tag to compare

@axadrn axadrn released this 05 Aug 07:47

Minor Changes

  • chart: respect an explicit Responsive false via chart.Bool (#592)

Patch Changes

  • cli: correct the --force hint in init messages (#587)
  • cli: fall back to the module version in go tool builds (#591)
  • popover: guard :popover-open for Safari before 17 (#583)
  • sidebar: make the collapsed group label click-transparent (#579)

v2.0.0-beta.1

v2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@axadrn axadrn released this 04 Aug 21:18

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

Choose a tag to compare

@axadrn axadrn released this 28 Jun 10:14

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-hidden with 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

Choose a tag to compare

@axadrn axadrn released this 01 Jun 08:54

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 0 is now respected as instant instead of falling back to 100ms, so instant tooltips/popovers are configurable

v1.11.2

Choose a tag to compare

@axadrn axadrn released this 23 May 11:57

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.closeAll API keeps its close-everything semantics (#555, thanks @derkan)

v1.11.1

Choose a tag to compare

@axadrn axadrn released this 12 May 09:22

Fixed

  • dialog, sheet: Removed the inner data-tui-dialog-panel wrapper whose grid layout broke Sheet's flex height chain, causing mobile sidebar content to not scroll and footers with mt-auto to 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

Choose a tag to compare

@axadrn axadrn released this 11 May 11:28

Added

  • calendar: Added range selection via a new SelectionMode (single/range) plus EndValue and EndName props, with a corresponding range showcase (#520, #552, thanks @anaelorlinski)
  • datepicker: Forwarded the new calendar range props and rendered the selected value as start – end when 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-selected to calendar-selected and unified its payload for both single and range modes; update any direct listeners (breaking change) (#552)

Fixed

  • popover: Switched clickaway to pointerdown so re-rendering popover content during a click no longer triggers a false outside-click and immediate close (#552)

v1.10.1

Choose a tag to compare

@axadrn axadrn released this 11 May 08:30

Fixed

  • dialog: Scoped content resolution to the dialog's own root so a trigger only opens content it owns, fixing cases where a sheet (or dialog) trigger opened a dialog nested between trigger and content (#547, #551, thanks @primableatom)