mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 00:53:22 +00:00
[CL-95] loading spinner (#16363)
* add spiner from previous branch * add loading spinner to button * Add spinner to dialog * Add spinner to icon button * add spinner to multi select component * fix spinner positioning * Add mock i18n in stories where needed * round stroke caps. Update classes * fix ts error * fix broken tests * add missing translation keys to stories * Add mising key for layout * Add mising key for nav group * Add mising key for spotlight * Add mising key for product switcher * Add mising key for dialog service * add translation to copy click story
This commit is contained in:
27
libs/components/src/spinner/spinner.component.html
Normal file
27
libs/components/src/spinner/spinner.component.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 56 56"
|
||||
fill="none"
|
||||
class="tw-size-full tw-animate-spin"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<circle
|
||||
cx="28"
|
||||
cy="28"
|
||||
r="23"
|
||||
class="tw-stroke-primary-600"
|
||||
pathLength="4"
|
||||
stroke-width="5"
|
||||
stroke-dasharray="1 3"
|
||||
stroke-linecap="round"
|
||||
></circle>
|
||||
<circle
|
||||
cx="28"
|
||||
cy="28"
|
||||
r="23"
|
||||
class="tw-stroke-primary-600"
|
||||
stroke-width="5"
|
||||
opacity="0.4"
|
||||
></circle>
|
||||
</svg>
|
||||
<span class="tw-sr-only" *ngIf="sr">{{ title }}</span>
|
||||
|
After Width: | Height: | Size: 519 B |
Reference in New Issue
Block a user