From 0778b1d1f83a6152d268fec6023fcecb2294d935 Mon Sep 17 00:00:00 2001 From: Julian Skinner Date: Mon, 30 Sep 2024 15:31:07 -0500 Subject: [PATCH] fix(button): loading button wasn't animating, updated svg in button-spinner.js --- packages/sage-system/lib/button-spinner.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/sage-system/lib/button-spinner.js b/packages/sage-system/lib/button-spinner.js index 656885fc58..5f49c879e2 100644 --- a/packages/sage-system/lib/button-spinner.js +++ b/packages/sage-system/lib/button-spinner.js @@ -4,7 +4,23 @@ Sage.buttonSpinner = (function () { // ================================================== const SELECTOR_BUTTON_SPINNER_ON_SUBMIT = "data-js-sage-spinner-on-submit" - const BUTTON_LOADING_SPINNER = ``; + const BUTTON_LOADING_SPINNER = ` + + + + + + + + + + + + + + + + `; const ATTRIBUTE_ARIA_LABEL = 'aria-label'; const ATTRIBUTE_ARIA_BUSY = 'aria-busy';