@treeui/vue@0.23.0
Minor Changes
-
93f5454: Add
TPopoverwidthand fix rich panels collapsing / overflowing the viewport (TREEUX-018).The panel content now sizes to its intrinsic width (
width: max-content), so a grid or flex panel (e.g. an app-launcherTGridwhose columns have a near-zero min-content) no longer shrink-to-fits down to themin-width. The newwidthprop caps how wide it may grow —sm(18rem),md(24rem, base),lg(40rem), orcontent(no rem cap, viewport only). Width and height are always clamped to the viewport (calc(100vw - space-8)/calc(100dvh - space-16)) and the panel gets its own scroll, so a tall/wide panel never runs off-screen.TMenuforwardswidthtoo. This removes the need for consumers to reach into:deep(.t-popover__content)for width/overflow.