Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/lukebennett88/luke-ui. luke-ui.netlify.app
Something went wrong. Try again.
Simplify LoadingSpinner around a children loading API (#195) master
* Simplify LoadingSpinner around a children loading API * Rename loading prop to isLoading for consistency across components * Refactor LoadingSpinner to use slotted recipe architecture * Add VisuallyHidden component * Switch from render to elementType * Use WCAG clip technique for visually-hidden styles Replace clip-path: circle(0) with the WCAG-standard clip technique (1px clipped box, overflow hidden, white-space nowrap) in both the visuallyHidden recipe and Text's isVisuallyHidden variant. circle(0) left a full-size layout box (overflow risk) and has questionable Safari focus-ring support. * Share visually-hidden style between recipe and Text variant
Author Luke Bennett Committer GitHub Date (Jul 23, 2026, 9:07 AM UTC) Commit 11a46ba4 11a46ba42fc2e5174cecc63aca3af87b4399d2ee Parent 820e3e00 820e3e007c21e2095b9d66960cf702497f3cfd07