Skip to content

feat(spinner): Redraw the spinner as a growing arc that fades in after a delay (v1.8.7) - #68

Open
woody-uiux wants to merge 1 commit into
mainfrom
feat/spinner-shape
Open

woody-uiux wants to merge 1 commit into
mainfrom
feat/spinner-shape

Conversation

@woody-uiux

Copy link
Copy Markdown
Contributor

스피너 검수 결과를 반영했습니다.

바뀐 것

  • SpinnerIconLoader 대신 직접 svg를 그립니다. 원 위의 호가 늘었다 줄었다 하며 돌고, 한 바퀴에 1.8s입니다.
  • Spinner700ms 기다린 뒤 300ms에 걸쳐 나타납니다(starting:opacity-0). 그 안에 끝나는 로딩에서는 보이지 않습니다.
  • app/globals.css@theme inline--animate-spinner-dash@keyframes spinner-dash를 넣었습니다.

함께 바꾼 것

  • loading 토스트가 IconLoader 대신 Spinner를 씁니다. 모양과 늦게 나타나기가 스피너와 같습니다.
  • input-group-spinner 예시와 문서, loading 표시가 있는 stepper 예시 9개와 문서가 Spinner를 씁니다.

레지스트리

  • spinner 항목이 @tabler/icons-react 의존성을 빼고, cssVars.themeanimate-spinner-dashcss@keyframes spinner-dash를 싣습니다.
  • toast 항목의 registryDependencies@ondo-ui/spinner를 더했습니다.

건드리지 않은 것

기본 크기(size-4), stroke-width(2), 색(currentColor)은 그대로 뒀습니다.

확인한 것

  • tsc, eslint, bun test(131개), registry:build, 등록 검사 스크립트(spinner, toast) 통과
  • 3초 걸리는 로딩 토스트에서는 0.7s 뒤에 스피너가 나타나고, 0.5초 걸리는 토스트에서는 나타나지 않는 것을 브라우저에서 확인

…r a delay (v1.8.7)

Spinner now draws its own svg: an arc that grows and shrinks while it
rotates, 1.8s per turn. It waits 700ms before fading in, so short loads
never show it. The registry item drops @tabler/icons-react and ships the
spinner-dash keyframes.

The loading toast uses Spinner in place of IconLoader, and the toast
registry item depends on spinner. The input-group-spinner example and
every stepper example with a loading indicator use Spinner as well.

Claude-Session: https://claude.ai/code/session_019isyjuLsrQsjbTbmuXPGc2
@woody-uiux
woody-uiux requested a review from initred as a code owner September 15, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant