| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-09-21 | 2.3 kB | |
| v2.0.0-beta.10 source code.tar.gz | 2026-09-21 | 4.1 MB | |
| v2.0.0-beta.10 source code.zip | 2026-09-21 | 4.9 MB | |
| Totals: 3 Items | 9.0 MB | 0 | |
Breaking Changes
- Component JavaScript is now bundled at build time. Upgrade the module with
go get github.com/axadrn/shadcn-templ/v2@v2.0.0-beta.10and the CLI withgo install github.com/axadrn/shadcn-templ/v2/cmd/shadcn-templ@v2.0.0-beta.10. Remove the oldcomponents/scripts.go,components/embed.goand/components/{bundle}route; update the script tag withshadcn-templ add scripts --overwrite, then runshadcn-templ bundle. Serveassets/jsat/assets/jsand rendercomponents.Scripts()once in the layout. Run the bundle command before deployment builds; usebundle --watchduring development. See the JavaScript migration guide.
Minor Changes
- Charts support explicit numeric-axis ticks and domains,
AllowDataOverflow, numeric-axisTickCount, and GoTickFormatterlabels. Line and area gaps, animated dashed lines, per-rowDotProps.Show, hidden series and additional curve constants are supported. - The mobile sidebar preserves its open state across viewport changes, removes its modal effects on desktop, and reopens when returning to mobile.
tui.sidebar.openMobile()now reports that state correctly. - Improved ARIA relationships, tab navigation, menu keyboard opening and focus handling across tabs, accordion, menus, popover, select, combobox, buttons and toggles.
- Modal components share one reference-counted scroll lock, so DOM updates and closing an inner popup no longer unlock an open outer modal. Narrow touch-opened menus and selects allow background scrolling.
- Escape is handled by the focused inner popup before outer layers. Closing a dropdown inside a sheet keeps the sheet open; nested drawers close from inside out, and submenu Escape closes the menu tree.
Patch Changes
- Fixed clipped dropdown submenus so their items receive pointer interaction again.
- Fixed popup focus during opening transitions in Chromium and WebKit.
- Preserved trigger IDs supplied through button attributes, keeping popup labels connected to their triggers.
- Migrated missing script-bundle configuration even when adding a template-only component such as Button.
- Scaffold assets use production serving by default; development serving requires an explicit development flag.