aural-ui 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +290 -1228
  2. package/dist/components/avatar/Avatar.stories.tsx +219 -235
  3. package/dist/components/badge/Badge.stories.tsx +379 -116
  4. package/dist/components/banner/Banner.stories.tsx +445 -391
  5. package/dist/components/breadcrumb/Breadcrumb.stories.tsx +453 -199
  6. package/dist/components/button/Button.stories.tsx +585 -230
  7. package/dist/components/card/Card.stories.tsx +619 -301
  8. package/dist/components/char-count/CharCount.stories.tsx +350 -248
  9. package/dist/components/checkbox/Checkbox.stories.tsx +309 -167
  10. package/dist/components/chip/Chip.stories.tsx +362 -168
  11. package/dist/components/circular-loader/CircularLoader.stories.tsx +221 -636
  12. package/dist/components/clamp-lines/ClampLines.stories.tsx +246 -117
  13. package/dist/components/collapsible/Collapsible.stories.tsx +391 -252
  14. package/dist/components/command/Command.stories.tsx +530 -867
  15. package/dist/components/dialog/Dialog.stories.tsx +501 -950
  16. package/dist/components/divider/Divider.stories.tsx +264 -527
  17. package/dist/components/dot-loader/DotLoader.stories.tsx +256 -257
  18. package/dist/components/drawer/Drawer.stories.tsx +659 -1023
  19. package/dist/components/dropdown/Dropdown.stories.tsx +643 -1028
  20. package/dist/components/form/Form.stories.tsx +560 -274
  21. package/dist/components/helper-text/HelperText.stories.tsx +199 -200
  22. package/dist/components/hover-card/HoverCard.stories.tsx +318 -1254
  23. package/dist/components/icon-button/IconButton.stories.tsx +837 -194
  24. package/dist/components/if-else/if-else.stories.tsx +370 -83
  25. package/dist/components/input/Input.stories.tsx +436 -368
  26. package/dist/components/label/Label.stories.tsx +156 -154
  27. package/dist/components/list/List.stories.tsx +484 -835
  28. package/dist/components/marquee/Marquee.stories.tsx +356 -712
  29. package/dist/components/otp-inputs/OtpInputs.stories.tsx +352 -422
  30. package/dist/components/overlay/Overlay.stories.tsx +452 -824
  31. package/dist/components/pagination/Pagination.stories.tsx +721 -210
  32. package/dist/components/popover/Popover.stories.tsx +481 -896
  33. package/dist/components/radio/Radio.stories.tsx +432 -124
  34. package/dist/components/resizable/Resizable.stories.tsx +495 -799
  35. package/dist/components/scroll-area/ScrollArea.stories.tsx +383 -1059
  36. package/dist/components/search/Search.stories.tsx +312 -595
  37. package/dist/components/select/Select.stories.tsx +684 -789
  38. package/dist/components/sheet/Sheet.stories.tsx +671 -950
  39. package/dist/components/skelton/Skelton.stories.tsx +230 -764
  40. package/dist/components/slider/Slider.stories.tsx +383 -760
  41. package/dist/components/stepper/Stepper.stories.tsx +371 -514
  42. package/dist/components/switch/Switch.stories.tsx +461 -208
  43. package/dist/components/switch-case/SwitchCase.stories.tsx +367 -188
  44. package/dist/components/table/Table.stories.tsx +770 -916
  45. package/dist/components/tabs/Tabs.stories.tsx +458 -1455
  46. package/dist/components/tag/Tag.stories.tsx +714 -542
  47. package/dist/components/textarea/TextArea.stories.tsx +621 -562
  48. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +228 -154
  49. package/dist/components/toast/Toast.stories.tsx +452 -1339
  50. package/dist/components/toggle/Toggle.stories.tsx +488 -931
  51. package/dist/components/tooltip/Tooltip.stories.tsx +344 -1388
  52. package/dist/components/typography/Typography.stories.tsx +406 -89
  53. package/dist/hooks/use-change-state/UseChangeState.stories.tsx +309 -606
  54. package/dist/hooks/use-previous/UsePrevious.stories.tsx +367 -917
  55. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +639 -867
  56. package/dist/icons/Icons.stories.tsx +0 -12
  57. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +223 -1060
  58. package/dist/icons/alert-icon/AlertIcon.stories.tsx +106 -968
  59. package/dist/icons/all-icons.tsx +37 -16
  60. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +137 -1010
  61. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +145 -935
  62. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +132 -1046
  63. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +134 -986
  64. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +135 -1028
  65. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +133 -971
  66. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +145 -1123
  67. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +143 -1252
  68. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +123 -632
  69. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +141 -1223
  70. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +164 -1018
  71. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +121 -1236
  72. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +121 -1213
  73. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +116 -893
  74. package/dist/icons/camera-icon/CameraIcon.stories.tsx +109 -1254
  75. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +114 -975
  76. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +157 -994
  77. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +160 -992
  78. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +140 -970
  79. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +126 -993
  80. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +144 -987
  81. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +141 -1007
  82. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +147 -1187
  83. package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +110 -476
  84. package/dist/icons/coin-icon/CoinIcon.stories.tsx +120 -1364
  85. package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +113 -1360
  86. package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +111 -942
  87. package/dist/icons/command-icon/CommandIcon.stories.tsx +124 -1087
  88. package/dist/icons/copy-icon/CopyIcon.stories.tsx +119 -996
  89. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +144 -1046
  90. package/dist/icons/cross-icon/CrossIcon.stories.tsx +136 -999
  91. package/dist/icons/download-icon/DownloadIcon.stories.tsx +123 -857
  92. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +121 -1080
  93. package/dist/icons/email-icon/EmailIcon.stories.tsx +112 -979
  94. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +109 -1146
  95. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +141 -1068
  96. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +140 -1081
  97. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +124 -1050
  98. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +123 -1091
  99. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +122 -633
  100. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +116 -1087
  101. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +166 -1020
  102. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +112 -1182
  103. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +112 -1155
  104. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +127 -325
  105. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +142 -985
  106. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +116 -1217
  107. package/dist/icons/head-icon/HeadIcon.stories.tsx +108 -953
  108. package/dist/icons/heart-icon/HeartIcon.stories.tsx +117 -1060
  109. package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +116 -716
  110. package/dist/icons/image-icon/ImageIcon.stories.tsx +102 -1164
  111. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +108 -1233
  112. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +133 -1289
  113. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +155 -1012
  114. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +158 -1438
  115. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +121 -1011
  116. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +116 -981
  117. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +116 -979
  118. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +105 -1252
  119. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +151 -1554
  120. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +107 -1227
  121. package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +116 -707
  122. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +119 -1226
  123. package/dist/icons/message-icon/MessageIcon.stories.tsx +111 -557
  124. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +112 -1198
  125. package/dist/icons/moon-icon/MoonIcon.stories.tsx +117 -557
  126. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +106 -1235
  127. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +112 -1185
  128. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +116 -1012
  129. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +108 -1137
  130. package/dist/icons/notes-icon/NotesIcon.stories.tsx +116 -1138
  131. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +106 -1146
  132. package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +119 -719
  133. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +110 -999
  134. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +109 -912
  135. package/dist/icons/pause-icon/PauseIcon.stories.tsx +110 -1041
  136. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +112 -1109
  137. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +112 -1023
  138. package/dist/icons/plus-icon/PlusIcon.stories.tsx +103 -1132
  139. package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +104 -870
  140. package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +99 -476
  141. package/dist/icons/search-icon/SearchIcon.stories.tsx +108 -1161
  142. package/dist/icons/setting-icon/SettingIcon.stories.tsx +104 -1009
  143. package/dist/icons/share-icon/ShareIcon.stories.tsx +117 -1064
  144. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +114 -974
  145. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +134 -1160
  146. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +169 -1017
  147. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +161 -1016
  148. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +102 -1001
  149. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +155 -593
  150. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +155 -608
  151. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +142 -712
  152. package/dist/icons/star-icon/StarIcon.stories.tsx +120 -946
  153. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +109 -1013
  154. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +113 -891
  155. package/dist/icons/sun-icon/SunIcon.stories.tsx +117 -864
  156. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +113 -989
  157. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +120 -1027
  158. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +153 -1476
  159. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +143 -1187
  160. package/dist/icons/tick-icon/TickIcon.stories.tsx +142 -1322
  161. package/dist/icons/trash-icon/TrashIcon.stories.tsx +105 -970
  162. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +154 -1457
  163. package/dist/icons/upload-icon/UploadIcon.stories.tsx +112 -930
  164. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +115 -1019
  165. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +122 -1092
  166. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +120 -1401
  167. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +107 -1212
  168. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +109 -1122
  169. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +112 -1124
  170. package/dist/icons/warning-icon/WarningIcon.stories.tsx +119 -1083
  171. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +158 -983
  172. package/dist/index.cjs +1 -1
  173. package/dist/index.js +1 -1
  174. package/package.json +1 -1
@@ -1,8 +1,22 @@
1
1
  import React from "react"
2
2
  import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
+ import { AudioBarIcon } from "src/ui/icons/audio-bar-icon"
5
+ import { SpinnerGradientIcon } from "src/ui/icons/spinner-gradient-icon"
6
+ import { SpinnerSolidNeutralIcon } from "src/ui/icons/spinner-solid-neutral-icon"
7
+ import { VoicePlayingIcon } from "src/ui/icons/voice-playing-icon"
8
+ import {
9
+ IconAnimatedStates,
10
+ IconColorVariations,
11
+ IconDefaultCanvas,
12
+ IconPlaygroundCanvas,
13
+ IconSizeVariations,
14
+ IconUsageCanvas,
15
+ IconUsageSection,
16
+ } from "src/ui/story-spec/icons/icon-story-canvas"
17
+ import { AuralIconDocsPage } from "src/ui/story-spec/icons/icon-story-docs-page"
18
+
4
19
  import { SpinnerSolidIcon } from "."
5
- import { SpinnerGradientIcon } from "../spinner-gradient-icon"
6
20
 
7
21
  const meta: Meta<typeof SpinnerSolidIcon> = {
8
22
  title: "Icons/SpinnerSolidIcon",
@@ -19,650 +33,183 @@ const meta: Meta<typeof SpinnerSolidIcon> = {
19
33
  },
20
34
  docs: {
21
35
  page: () => (
22
- <>
23
- {/* Override default docs styling */}
24
- <style>
25
- {`
26
- .sbdocs-wrapper {
27
- padding: 0 !important;
28
- max-width: none !important;
29
- background: transparent !important;
30
- }
31
- .sbdocs-content {
32
- max-width: none !important;
33
- padding: 0 !important;
34
- margin: 0 !important;
35
- background: transparent !important;
36
- }
37
- .docs-story {
38
- background: transparent !important;
39
- }
40
- .sbdocs {
41
- background: transparent !important;
42
- }
43
- body {
44
- background: var(--color-fm-surface-primary) !important;
45
- }
46
- #storybook-docs {
47
- background: var(--color-fm-surface-primary) !important;
48
- }
49
- .sbdocs-preview {
50
- background: transparent !important;
51
- border: none !important;
52
- }
53
- .sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
54
- color: var(--color-fm-icon-active) !important;
55
- }
56
- .sbdocs-p, .sbdocs-li {
57
- color: var(--color-fm-secondary) !important;
58
- }
59
- .sbdocs-code {
60
- background: var(--color-fm-surface-secondary) !important;
61
- color: var(--color-fm-secondary-500) !important;
62
- border: 1px solid var(--color-fm-divider-secondary) !important;
63
- }
64
- .sbdocs-pre {
65
- background: var(--color-fm-surface-secondary) !important;
66
- border: 1px solid var(--color-fm-divider-secondary) !important;
67
- }
68
- .sbdocs-table {
69
- background: var(--color-fm-surface-secondary) !important;
70
- border: 1px solid var(--color-fm-divider-secondary) !important;
71
- }
72
- .sbdocs-table th {
73
- background: var(--color-fm-surface-secondary) !important;
74
- color: var(--color-fm-icon-active) !important;
75
- border-bottom: 1px solid var(--color-fm-divider-secondary) !important;
76
- }
77
- .sbdocs-table td {
78
- color: var(--color-fm-secondary) !important;
79
- border-bottom: 1px solid var(--color-fm-divider-tertiary) !important;
80
- }
81
- @keyframes search-pulse {
82
- 0%, 100% { transform: scale(1); opacity: 1; }
83
- 50% { transform: scale(1.05); opacity: 0.8; }
84
- }
85
- .animate-search-pulse {
86
- animation: search-pulse 2s ease-in-out infinite;
87
- }
88
- @keyframes search-bounce {
89
- 0%, 100% { transform: translateY(0); }
90
- 50% { transform: translateY(-4px); }
91
- }
92
- .animate-search-bounce {
93
- animation: search-bounce 1.5s ease-in-out infinite;
94
- }
95
- @keyframes search-glow {
96
- 0%, 100% { filter: drop-shadow(0 0 2px currentColor); }
97
- 50% { filter: drop-shadow(0 0 8px currentColor); }
98
- }
99
- .animate-search-glow {
100
- animation: search-glow 2s ease-in-out infinite;
101
- }
102
- `}
103
- </style>
104
-
105
- <div className="from-fm-surface-primary via-fm-icon-info/5 to-fm-surface-primary min-h-screen bg-linear-to-br">
106
- {/* Header */}
107
- <div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
108
- <div className="from-fm-icon-info/10 to-fm-secondary-500/10 absolute inset-0 bg-linear-to-r via-transparent" />
109
- <div className="relative !mx-auto max-w-7xl px-6 py-16">
110
- <div className="!space-y-6 text-center">
111
- <div className="border-fm-icon-info/30 from-fm-icon-info/20 to-fm-secondary-500/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
112
- <SpinnerSolidIcon className="text-fm-icon-info h-12 w-12" />
113
- </div>
114
- <h1 className="text-fm-icon-active!">SpinnerSolidIcon</h1>
115
- <p className="text-fm-icon-active! !mx-auto max-w-3xl text-xl leading-relaxed">
116
- A clean and minimal spinner icon for loading states,
117
- asynchronous actions, and content transitions. Perfect for
118
- indicating progress in a subtle and elegant way.
119
- </p>
120
-
121
- {/* Stats */}
122
- <div className="flex items-center justify-center gap-8 pt-8">
123
- <div className="text-center">
124
- <div className="text-fm-icon-info text-3xl font-bold">
125
- Minimal
126
- </div>
127
- <div className="text-fm-icon-active/80 text-sm">
128
- Clean Design
129
- </div>
130
- </div>
131
- <div className="bg-fm-divider-primary h-8 w-px" />
132
- <div className="text-center">
133
- <div className="text-fm-secondary-600 text-3xl font-bold">
134
- Accessible
135
- </div>
136
- <div className="text-fm-icon-active/80 text-sm">
137
- Screen Reader Ready
138
- </div>
139
- </div>
140
- <div className="bg-fm-divider-primary h-8 w-px" />
141
- <div className="text-center">
142
- <div className="text-fm-icon-positive text-3xl font-bold">
143
- Versatile
144
- </div>
145
- <div className="text-fm-icon-active/80 text-sm">
146
- Multiple Sizes
147
- </div>
148
- </div>
149
- </div>
150
- </div>
151
- </div>
152
- </div>
153
-
154
- {/* Content */}
155
- <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
156
- {/* Features */}
157
- <div className="!space-y-8">
158
- <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
159
- Key Features
160
- </h3>
161
- <div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
162
- <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
163
- <div className="text-3xl">🎨</div>
164
- <h4 className="text-fm-icon-active! text-lg font-semibold">
165
- Clean Design
166
- </h4>
167
- <p className="text-fm-icon-active!/80 text-sm">
168
- Minimal and elegant spinner design that fits any interface
169
- </p>
170
- </div>
171
- <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
172
- <div className="text-3xl">♿</div>
173
- <h4 className="text-fm-icon-active! text-lg font-semibold">
174
- Accessibility
175
- </h4>
176
- <p className="text-fm-icon-active!/80 text-sm">
177
- Built with Radix UI's AccessibleIcon for screen reader
178
- support
179
- </p>
180
- </div>
181
- <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
182
- <div className="text-3xl">⚡</div>
183
- <h4 className="text-fm-icon-active! text-lg font-semibold">
184
- Performance
185
- </h4>
186
- <p className="text-fm-icon-active!/80 text-sm">
187
- Optimized SVG rendering with minimal DOM impact
188
- </p>
189
- </div>
190
- </div>
191
- </div>
192
-
193
- {/* API Reference */}
194
- <div className="!space-y-8">
195
- <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
196
- API Reference
197
- </h3>
198
-
199
- {/* Component Signature */}
200
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
201
- <h4 className="text-fm-icon-info! mb-4 text-lg font-semibold">
202
- Component Signature
203
- </h4>
204
- <div className="bg-fm-surface-secondary rounded-lg p-4">
205
- <pre className="text-fm-icon-positive! text-sm">
206
- {`import { SpinnerSolidIcon } from "@/ui/icons/spinner-solid-icon"
207
-
208
- <SpinnerSolidIcon className="h-6 w-6 animate-spin" />`}
209
- </pre>
210
- </div>
211
- </div>
212
-
213
- {/* Props Table */}
214
- <div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
215
- <div className="bg-fm-surface-secondary p-4">
216
- <h3 className="text-fm-icon-active! text-xl font-semibold">
217
- Props
218
- </h3>
219
- </div>
220
- <table className="!my-0 w-full">
221
- <thead className="bg-fm-surface-secondary">
222
- <tr className="border-fm-divider-secondary border-b">
223
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
224
- Prop
225
- </th>
226
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
227
- Type
228
- </th>
229
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
230
- Default
231
- </th>
232
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
233
- Description
234
- </th>
235
- </tr>
236
- </thead>
237
- <tbody>
238
- <tr className="border-fm-divider-tertiary border-b">
239
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
240
- width
241
- </td>
242
- <td className="text-fm-secondary! px-6 py-4 text-sm">
243
- number | string
244
- </td>
245
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
246
- 16
247
- </td>
248
- <td className="text-fm-secondary! px-6 py-4 text-sm">
249
- Width of the icon in pixels
250
- </td>
251
- </tr>
252
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
253
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
254
- height
255
- </td>
256
- <td className="text-fm-secondary! px-6 py-4 text-sm">
257
- number | string
258
- </td>
259
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
260
- 16
261
- </td>
262
- <td className="text-fm-secondary! px-6 py-4 text-sm">
263
- Height of the icon in pixels
264
- </td>
265
- </tr>
266
- <tr className="bg-fm-surface-secondary!">
267
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
268
- className
269
- </td>
270
- <td className="text-fm-secondary! px-6 py-4 text-sm">
271
- string
272
- </td>
273
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
274
- -
275
- </td>
276
- <td className="text-fm-secondary! px-6 py-4 text-sm">
277
- CSS classes for styling
278
- </td>
279
- </tr>
280
- </tbody>
281
- </table>
282
- </div>
283
-
284
- {/* Accessibility */}
285
- <div className="!space-y-8">
286
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
287
- Accessibility Features
288
- </h2>
289
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
290
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
291
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
292
- ✅ Built-in Features
293
- </h3>
294
- <ul className="text-fm-secondary! !space-y-2 text-sm">
295
- <li className="text-fm-secondary!">
296
- Uses Radix UI AccessibleIcon wrapper
297
- </li>
298
- <li className="text-fm-secondary!">
299
- Provides screen reader label "Spinner Solid icon"
300
- </li>
301
- <li className="text-fm-secondary!">
302
- Supports keyboard navigation when interactive
303
- </li>
304
- <li className="text-fm-secondary!">
305
- Maintains proper color contrast ratios
306
- </li>
307
- <li className="text-fm-secondary!">
308
- Scales with user's font size preferences
309
- </li>
310
- </ul>
311
- </div>
312
-
313
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
314
- <h3 className="text-fm-icon-negative! text-lg font-semibold">
315
- 💡 Best Practices
316
- </h3>
317
- <ul className="text-fm-secondary !space-y-2 text-sm">
318
- <li className="text-fm-secondary!">
319
- Always pair with descriptive text
320
- </li>
321
- <li className="text-fm-secondary!">
322
- Provide a text fallback for screen readers{" "}
323
- </li>
324
- <li className="text-fm-secondary!">
325
- Ensure sufficient color contrast
326
- </li>
327
- <li className="text-fm-secondary!">
328
- Respect reduced motion user preferences{" "}
329
- </li>
330
- <li className="text-fm-secondary!">
331
- Ensure spinner indicates real loading action{" "}
332
- </li>
333
- </ul>
334
- </div>
335
- </div>
336
-
337
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
338
- <h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
339
- Custom Accessibility Label
340
- </h3>
341
- <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
342
- <div className="bg-fm-surface-secondary rounded-lg p-4">
343
- <pre className="text-fm-icon-info! overflow-x-auto text-sm">
344
- {`// Custom implementation with specific label
345
- import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
346
-
347
- function CustomTrashIcon({ label = "Delete", ...props }) {
36
+ <AuralIconDocsPage
37
+ accentToken="info"
38
+ features={[
39
+ { title: "Solid Spinner", description: "Single-color conic sweep" },
40
+ { title: "Theme-aware", description: "Adapts to surface tokens" },
41
+ { title: "Accessible", description: "ARIA-ready by default" },
42
+ ]}
43
+ quickStart={{
44
+ codeExample: `import { SpinnerSolidIcon } from "src/ui/icons/spinner-solid-icon"
45
+
46
+ function LoadingButton() {
348
47
  return (
349
- <AccessibleIcon label={label}>
350
- <TrashIcon {...props} />
351
- </AccessibleIcon>
48
+ <button className="flex items-center gap-2">
49
+ <SpinnerSolidIcon className="h-5 w-5 animate-spin" />
50
+ Loading...
51
+ </button>
352
52
  )
353
- }
354
-
355
- // Usage with specific context
356
- <CustomTrashIcon
357
- label="Delete user account"
358
- className="h-4 w-4 text-red-400"
359
- />`}
360
- </pre>
361
- </div>
362
- <div className="!space-y-4">
363
- <p className="text-fm-secondary! text-sm">
364
- For specific contexts, you can wrap the SpinnerSolid
365
- with a custom AccessibleIcon component that provides
366
- more descriptive labels.
367
- </p>
368
- <div className="border-fm-icon-negative/20 bg-fm-icon-negative/10 rounded-lg border p-4">
369
- <div className="text-fm-icon-negative flex items-center gap-2 text-sm">
370
- <SpinnerSolidIcon className="h-4 w-4" />
371
- <span>
372
- This approach gives screen readers more context
373
- </span>
374
- </div>
375
- </div>
376
- </div>
377
- </div>
378
- </div>
379
- </div>
380
- {/* Related Icons */}
381
- <div className="!space-y-8">
382
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
383
- Related Icons
384
- </h2>
385
- <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
386
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
387
- <div className="bg-fm-surface-primary !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
388
- <SpinnerGradientIcon className="size-8 animate-spin" />
389
- </div>
390
- <div>
391
- <div className="text-fm-icon-active font-medium">
392
- Spinner Gradient
393
- </div>
394
- <div className="text-fm-tertiary text-xs">
395
- Solid Gradient loading spinner{" "}
396
- </div>
397
- </div>
398
- </div>
399
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
400
- <div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
401
- <span className="text-fm-icon-active! !text-2xl">
402
- +
403
- </span>
404
- </div>
405
- <div>
406
- <div className="text-fm-icon-active font-medium">
407
- AddIcon
408
- </div>
409
- <div className="text-fm-tertiary text-xs">
410
- Create operations
411
- </div>
412
- </div>
413
- </div>
414
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
415
- <div className="bg-fm-icon-warning/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
416
- <span className="text-2xl">📁</span>
417
- </div>
418
- <div>
419
- <div className="text-fm-icon-active font-medium">
420
- FolderIcon
421
- </div>
422
- <div className="text-fm-tertiary text-xs">
423
- File management
424
- </div>
425
- </div>
426
- </div>
427
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
428
- <div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
429
- <span className="text-2xl">⚙️</span>
430
- </div>
431
- <div>
432
- <div className="text-fm-icon-active font-medium">
433
- SettingsIcon
434
- </div>
435
- <div className="text-fm-tertiary text-xs">
436
- Configuration
437
- </div>
438
- </div>
439
- </div>
440
- </div>
441
- </div>
442
- {/* Footer */}
443
- <div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
444
- <div className="!mx-auto max-w-7xl px-6 py-8">
445
- <div className="!space-y-4 text-center">
446
- <p className="text-fm-tertiary!">
447
- Spinner Solid icons are part of the Aural UI icon
448
- library, optimized for accessibility and responsiveness.
449
- </p>
450
- <p className="text-fm-placeholder! text-sm">
451
- All icons use Radix UI's AccessibleIcon for screen
452
- reader compatibility and follow WCAG guidelines.
453
- </p>
454
- </div>
455
- </div>
456
- </div>
457
- </div>
458
- </div>
459
- </div>
460
- </>
53
+ }`,
54
+ livePreview: (
55
+ <button className="bg-fm-surface-secondary border-fm-divider-secondary text-fm-primary font-fm-text flex items-center gap-2 rounded-xl border px-4 py-2.5 text-sm">
56
+ <SpinnerSolidIcon className="h-5 w-5 animate-spin" />
57
+ Loading...
58
+ </button>
59
+ ),
60
+ }}
61
+ relatedIcons={[
62
+ {
63
+ name: "SpinnerGradientIcon",
64
+ description: "Gradient spinner",
65
+ icon: SpinnerGradientIcon,
66
+ accentToken: "info",
67
+ },
68
+ {
69
+ name: "SpinnerSolidNeutralIcon",
70
+ description: "Neutral spinner",
71
+ icon: SpinnerSolidNeutralIcon,
72
+ accentToken: "warning",
73
+ },
74
+ {
75
+ name: "AudioBarIcon",
76
+ description: "Audio animation bars",
77
+ icon: AudioBarIcon,
78
+ accentToken: "positive",
79
+ },
80
+ {
81
+ name: "VoicePlayingIcon",
82
+ description: "Voice playing state",
83
+ icon: VoicePlayingIcon,
84
+ accentToken: "negative",
85
+ },
86
+ ]}
87
+ />
461
88
  ),
462
89
  },
463
90
  },
464
91
  tags: ["autodocs"],
92
+ argTypes: {
93
+ width: {
94
+ control: { type: "range", min: 16, max: 120, step: 4 },
95
+ description: "Width of the icon in pixels",
96
+ },
97
+ height: {
98
+ control: { type: "range", min: 16, max: 120, step: 4 },
99
+ description: "Height of the icon in pixels",
100
+ },
101
+ className: {
102
+ control: "text",
103
+ description: "CSS classes for the SVG element",
104
+ },
105
+ withAccessibility: {
106
+ control: "boolean",
107
+ description: "Wrap with accessibility label",
108
+ },
109
+ },
465
110
  }
466
111
 
467
112
  export default meta
468
113
  type Story = StoryObj<typeof SpinnerSolidIcon>
469
114
 
470
- // Story parameters for consistent dark theme
471
- const storyParameters = {
472
- backgrounds: {
473
- default: "dark",
474
- values: [
475
- { name: "dark", value: "var(--color-fm-surface-primary)" },
476
- { name: "darker", value: "var(--color-fm-neutral-0)" },
477
- ],
478
- },
479
- }
480
-
481
115
  export const Default: Story = {
482
116
  args: {
483
- width: 24,
484
- height: 24,
485
- className: "text-fm-icon-info",
117
+ width: 54,
118
+ height: 54,
119
+ withAccessibility: true,
486
120
  },
487
- parameters: storyParameters,
488
121
  render: (args) => (
489
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-32 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
490
- <SpinnerSolidIcon {...args} className="animate-spin" />
491
- </div>
122
+ <IconDefaultCanvas>
123
+ <SpinnerSolidIcon {...args} />
124
+ </IconDefaultCanvas>
492
125
  ),
493
126
  }
494
127
 
495
128
  export const SizeVariations: Story = {
496
- parameters: {
497
- ...storyParameters,
498
- docs: {
499
- description: {
500
- story:
501
- "SpinnerSolidIcon in different sizes, from small UI elements to large loading states.",
502
- },
503
- },
504
- },
505
- render: () => (
506
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-linear-to-br p-8">
507
- <div className="text-center">
508
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3 animate-spin" />
509
- <span className="text-fm-tertiary text-xs">12px</span>
510
- </div>
511
- <div className="text-center">
512
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4 animate-spin" />
513
- <span className="text-fm-tertiary text-xs">16px</span>
514
- </div>
515
- <div className="text-center">
516
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5 animate-spin" />
517
- <span className="text-fm-tertiary text-xs">20px</span>
518
- </div>
519
- <div className="text-center">
520
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6 animate-spin" />
521
- <span className="text-fm-tertiary text-xs">24px</span>
522
- </div>
523
- <div className="text-center">
524
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8 animate-spin" />
525
- <span className="text-fm-tertiary text-xs">32px</span>
526
- </div>
527
- <div className="text-center">
528
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12 animate-spin" />
529
- <span className="text-fm-tertiary text-xs">48px</span>
530
- </div>
531
- </div>
532
- ),
129
+ render: () => <IconSizeVariations icon={SpinnerSolidIcon} />,
533
130
  }
534
131
 
535
132
  export const ColorVariations: Story = {
536
- parameters: {
537
- ...storyParameters,
538
- docs: {
539
- description: {
540
- story:
541
- "SpinnerSolidIcon in different colors for various contexts and states.",
542
- },
543
- },
544
- },
133
+ render: () => <IconColorVariations icon={SpinnerSolidIcon} />,
134
+ }
135
+
136
+ export const AnimatedStates: Story = {
545
137
  render: () => (
546
- <div className="from-fm-surface-primary to-fm-surface-secondary grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-linear-to-br p-8 md:grid-cols-4">
547
- <div className="text-center">
548
- <div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
549
- <SpinnerSolidIcon className="text-fm-icon-info h-8 w-8 animate-spin" />
550
- </div>
551
- <div className="text-fm-icon-active text-sm font-medium">Primary</div>
552
- <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
553
- </div>
554
- <div className="text-center">
555
- <div className="border-fm-secondary-500/30 bg-fm-secondary-500/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
556
- <SpinnerSolidIcon className="text-fm-secondary-600 h-8 w-8 animate-spin" />
557
- </div>
558
- <div className="text-fm-icon-active text-sm font-medium">Secondary</div>
559
- <div className="text-fm-secondary-600 text-xs">
560
- text-fm-secondary-600
561
- </div>
562
- </div>
563
- <div className="text-center">
564
- <div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
565
- <SpinnerSolidIcon className="text-fm-icon-info h-8 w-8 animate-spin" />
566
- </div>
567
- <div className="text-fm-icon-active text-sm font-medium">Info</div>
568
- <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
569
- </div>
570
- <div className="text-center">
571
- <div className="border-fm-divider-primary bg-fm-surface-tertiary/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
572
- <SpinnerSolidIcon className="text-fm-placeholder h-8 w-8 animate-spin" />
573
- </div>
574
- <div className="text-fm-icon-active text-sm font-medium">Muted</div>
575
- <div className="text-fm-placeholder text-xs">text-fm-placeholder</div>
576
- </div>
577
- </div>
138
+ <IconAnimatedStates
139
+ icon={SpinnerSolidIcon}
140
+ variants={[
141
+ {
142
+ label: "Static",
143
+ description: "No animation",
144
+ },
145
+ {
146
+ label: "Spin",
147
+ animationClass: "animate-spin",
148
+ description: "Continuous rotation",
149
+ },
150
+ {
151
+ label: "Pulse",
152
+ animationClass: "animate-pulse",
153
+ description: "Fade in/out",
154
+ },
155
+ ]}
156
+ />
578
157
  ),
579
158
  }
580
159
 
581
160
  export const UsageExamples: Story = {
582
- parameters: {
583
- ...storyParameters,
584
- docs: {
585
- description: {
586
- story:
587
- "Real-world usage examples showing SpinnerSolidIcon in different UI contexts.",
588
- },
589
- },
590
- },
591
161
  render: () => (
592
- <div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
593
- {/* Loading Button */}
594
- <div className="!space-y-2">
595
- <h3 className="text-fm-icon-active text-sm font-medium">
596
- Loading Button
597
- </h3>
598
- <div className="flex gap-4">
599
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 text-fm-icon-info hover:bg-fm-icon-info/30 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
600
- <SpinnerSolidIcon className="h-4 w-4 animate-spin" />
601
- Loading...
602
- </button>
603
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 text-fm-icon-info hover:bg-fm-icon-info/30 flex h-10 w-10 items-center justify-center rounded-lg border transition-colors">
604
- <SpinnerSolidIcon className="h-5 w-5 animate-spin" />
605
- </button>
606
- </div>
607
- </div>
608
-
609
- {/* Loading State */}
610
- <div className="!space-y-2">
611
- <h3 className="text-fm-icon-active text-sm font-medium">
612
- Loading State
613
- </h3>
614
- <div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
615
- <div className="text-center">
616
- <SpinnerSolidIcon className="text-fm-icon-info !mx-auto mb-4 h-12 w-12 animate-spin" />
617
- <div className="text-fm-tertiary text-sm">Loading content...</div>
162
+ <IconUsageCanvas>
163
+ <IconUsageSection title="Loading Button">
164
+ <button className="bg-fm-surface-secondary border-fm-divider-secondary text-fm-primary font-fm-text flex items-center gap-2 rounded-xl border px-5 py-2.5 text-sm font-medium">
165
+ <SpinnerSolidIcon className="h-5 w-5 animate-spin" />
166
+ Submitting...
167
+ </button>
168
+ </IconUsageSection>
169
+
170
+ <IconUsageSection title="Loading Card State">
171
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary w-full max-w-sm space-y-3 rounded-xl border p-6">
172
+ <div className="flex items-center gap-3">
173
+ <SpinnerSolidIcon className="h-8 w-8 animate-spin" />
174
+ <div>
175
+ <div className="text-fm-primary font-fm-text text-sm font-medium">
176
+ Loading content
177
+ </div>
178
+ <div className="text-fm-secondary font-fm-text text-xs">
179
+ Please wait...
180
+ </div>
181
+ </div>
618
182
  </div>
619
- </div>
620
- </div>
621
-
622
- {/* Form Loading */}
623
- <div className="!space-y-2">
624
- <h3 className="text-fm-icon-active text-sm font-medium">
625
- Form Loading
626
- </h3>
627
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
628
- <div className="mb-4">
629
- <label className="text-fm-tertiary mb-2 block text-sm">Email</label>
630
- <input
631
- type="email"
632
- className="border-fm-divider-primary bg-fm-surface-secondary text-fm-icon-active w-full rounded-lg border px-4 py-2 placeholder-white/50"
633
- placeholder="Enter your email"
634
- />
183
+ <div className="bg-fm-divider-secondary h-px w-full" />
184
+ <div className="space-y-2">
185
+ <div className="bg-fm-divider-secondary h-3 w-3/4 animate-pulse rounded-full" />
186
+ <div className="bg-fm-divider-secondary h-3 w-1/2 animate-pulse rounded-full" />
635
187
  </div>
636
- <button className="bg-fm-icon-info/20 text-fm-icon-info flex w-full items-center justify-center gap-2 rounded-lg px-4 py-2">
637
- <SpinnerSolidIcon className="h-4 w-4 animate-spin" />
638
- Submitting...
639
- </button>
640
188
  </div>
641
- </div>
642
- </div>
189
+ </IconUsageSection>
190
+
191
+ <IconUsageSection title="Status Indicator">
192
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex w-full max-w-sm items-center justify-between rounded-xl border px-4 py-3">
193
+ <span className="text-fm-primary font-fm-text text-sm">
194
+ Upload in progress
195
+ </span>
196
+ <SpinnerSolidIcon className="h-5 w-5 animate-spin" />
197
+ </div>
198
+ </IconUsageSection>
199
+ </IconUsageCanvas>
643
200
  ),
644
201
  }
645
202
 
646
203
  export const Playground: Story = {
647
- parameters: {
648
- ...storyParameters,
649
- docs: {
650
- description: {
651
- story:
652
- "Interactive playground to experiment with different SpinnerSolidIcon configurations.",
653
- },
654
- },
655
- },
656
204
  args: {
657
- width: 32,
658
- height: 32,
659
- className: "text-fm-icon-info",
205
+ width: 54,
206
+ height: 54,
207
+ withAccessibility: true,
208
+ className: "animate-spin",
660
209
  },
661
210
  render: (args) => (
662
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
663
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
664
- <SpinnerSolidIcon {...args} className="animate-spin" />
665
- </div>
666
- </div>
211
+ <IconPlaygroundCanvas>
212
+ <SpinnerSolidIcon {...args} />
213
+ </IconPlaygroundCanvas>
667
214
  ),
668
215
  }