Inline spinner (CSS-only) and AJAX loading feedback
.spinner--main,
.spinner--helper, .spinner--block CSS classes have been removed.
AJAX loading feedback now uses two mechanisms:
bttn--loading shimmer on the clicked button. Enabled via Ajax.send({ button }).
ProgressBar — thin top bar. Enabled via Ajax.send({ spinner: true }) when no button is provided.
data-scope attribute disables sibling buttons in the same scope during a request.
See Ajax documentation for details.
YouTube/GitHub-style trickle progress bar at the top of the page. Used automatically by Ajax.send({ spinner: true }) when no button is provided. Can also be called directly.
Reference counting ensures the bar stays visible until all concurrent requests complete. Trickle animation: fast start (5%/200ms), slows after 80% (0.3%/200ms), stops at 95% waiting for done().
Sits alongside text or inside buttons. Inherits the current font size via 1em sizing. Applied via .spinner--inline. No JS required.
The inline spinner scales with font-size since it uses 1em for width and height.
Static API for Sadrazam.ProgressBar