You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adds
seriesPlotStyle(height, { fixed, minHeight }) returns the exact style of a SeriesChart plot, for stand-ins inside a parent that has container-type: inline-size.
rangeButtonsFit, the test RangePicker uses to decide whether its buttons fit.
RangePicker collapses to its select whenever its buttons do not fit the space it is given, whatever the window width. collapseBelow still applies too.
--sui-range-picker-justify places the collapsed select; a Card header sets it to end.
Changes
SeriesChart's plot is always exactly its container's width, and its height follows that width. v0.19.2's aspect ratio with a minimum height could make the plot, and whatever held it, wider than a narrow container. Heights are unchanged.
RangePicker keeps one width and height in both states, shows the select until it has measured the buttons, and moves focus back to the selected button.
Card header actions take the room left beside the title, so they give up room before the title wraps.