aural-ui 4.0.1 → 4.2.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 (175) hide show
  1. package/README.md +8 -1
  2. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +290 -1228
  3. package/dist/components/avatar/Avatar.stories.tsx +219 -235
  4. package/dist/components/badge/Badge.stories.tsx +379 -116
  5. package/dist/components/banner/Banner.stories.tsx +445 -391
  6. package/dist/components/breadcrumb/Breadcrumb.stories.tsx +453 -199
  7. package/dist/components/button/Button.stories.tsx +585 -230
  8. package/dist/components/card/Card.stories.tsx +619 -301
  9. package/dist/components/char-count/CharCount.stories.tsx +350 -248
  10. package/dist/components/checkbox/Checkbox.stories.tsx +309 -167
  11. package/dist/components/chip/Chip.stories.tsx +362 -168
  12. package/dist/components/circular-loader/CircularLoader.stories.tsx +221 -636
  13. package/dist/components/clamp-lines/ClampLines.stories.tsx +246 -117
  14. package/dist/components/collapsible/Collapsible.stories.tsx +391 -252
  15. package/dist/components/command/Command.stories.tsx +530 -867
  16. package/dist/components/dialog/Dialog.stories.tsx +501 -950
  17. package/dist/components/divider/Divider.stories.tsx +264 -527
  18. package/dist/components/dot-loader/DotLoader.stories.tsx +256 -257
  19. package/dist/components/drawer/Drawer.stories.tsx +659 -1023
  20. package/dist/components/dropdown/Dropdown.stories.tsx +643 -1028
  21. package/dist/components/form/Form.stories.tsx +560 -274
  22. package/dist/components/helper-text/HelperText.stories.tsx +199 -200
  23. package/dist/components/hover-card/HoverCard.stories.tsx +318 -1254
  24. package/dist/components/icon-button/IconButton.stories.tsx +837 -194
  25. package/dist/components/if-else/if-else.stories.tsx +370 -83
  26. package/dist/components/input/Input.stories.tsx +436 -368
  27. package/dist/components/label/Label.stories.tsx +156 -154
  28. package/dist/components/list/List.stories.tsx +484 -835
  29. package/dist/components/marquee/Marquee.stories.tsx +356 -712
  30. package/dist/components/otp-inputs/OtpInputs.stories.tsx +352 -422
  31. package/dist/components/overlay/Overlay.stories.tsx +452 -824
  32. package/dist/components/pagination/Pagination.stories.tsx +721 -210
  33. package/dist/components/popover/Popover.stories.tsx +481 -896
  34. package/dist/components/radio/Radio.stories.tsx +432 -124
  35. package/dist/components/resizable/Resizable.stories.tsx +495 -799
  36. package/dist/components/scroll-area/ScrollArea.stories.tsx +383 -1059
  37. package/dist/components/search/Search.stories.tsx +312 -595
  38. package/dist/components/select/Select.stories.tsx +684 -789
  39. package/dist/components/sheet/Sheet.stories.tsx +671 -950
  40. package/dist/components/skelton/Skelton.stories.tsx +230 -764
  41. package/dist/components/slider/Slider.stories.tsx +383 -760
  42. package/dist/components/stepper/Stepper.stories.tsx +371 -514
  43. package/dist/components/switch/Switch.stories.tsx +461 -208
  44. package/dist/components/switch-case/SwitchCase.stories.tsx +367 -188
  45. package/dist/components/table/Table.stories.tsx +770 -916
  46. package/dist/components/tabs/Tabs.stories.tsx +458 -1455
  47. package/dist/components/tag/Tag.stories.tsx +714 -542
  48. package/dist/components/textarea/TextArea.stories.tsx +621 -562
  49. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +228 -154
  50. package/dist/components/toast/Toast.stories.tsx +452 -1339
  51. package/dist/components/toggle/Toggle.stories.tsx +488 -931
  52. package/dist/components/tooltip/Tooltip.stories.tsx +344 -1388
  53. package/dist/components/typography/Typography.stories.tsx +406 -89
  54. package/dist/hooks/use-change-state/UseChangeState.stories.tsx +309 -606
  55. package/dist/hooks/use-previous/UsePrevious.stories.tsx +367 -917
  56. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +639 -867
  57. package/dist/icons/Icons.stories.tsx +0 -12
  58. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +223 -1060
  59. package/dist/icons/alert-icon/AlertIcon.stories.tsx +106 -968
  60. package/dist/icons/all-icons.tsx +37 -16
  61. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +137 -1010
  62. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +145 -935
  63. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +132 -1046
  64. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +134 -986
  65. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +135 -1028
  66. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +133 -971
  67. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +145 -1123
  68. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +143 -1252
  69. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +123 -632
  70. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +141 -1223
  71. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +164 -1018
  72. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +121 -1236
  73. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +121 -1213
  74. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +116 -893
  75. package/dist/icons/camera-icon/CameraIcon.stories.tsx +109 -1254
  76. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +114 -975
  77. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +157 -994
  78. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +160 -992
  79. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +140 -970
  80. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +126 -993
  81. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +144 -987
  82. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +141 -1007
  83. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +147 -1187
  84. package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +110 -476
  85. package/dist/icons/coin-icon/CoinIcon.stories.tsx +120 -1364
  86. package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +113 -1360
  87. package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +111 -942
  88. package/dist/icons/command-icon/CommandIcon.stories.tsx +124 -1087
  89. package/dist/icons/copy-icon/CopyIcon.stories.tsx +119 -996
  90. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +144 -1046
  91. package/dist/icons/cross-icon/CrossIcon.stories.tsx +136 -999
  92. package/dist/icons/download-icon/DownloadIcon.stories.tsx +123 -857
  93. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +121 -1080
  94. package/dist/icons/email-icon/EmailIcon.stories.tsx +112 -979
  95. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +109 -1146
  96. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +141 -1068
  97. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +140 -1081
  98. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +124 -1050
  99. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +123 -1091
  100. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +122 -633
  101. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +116 -1087
  102. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +166 -1020
  103. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +112 -1182
  104. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +112 -1155
  105. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +127 -325
  106. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +142 -985
  107. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +116 -1217
  108. package/dist/icons/head-icon/HeadIcon.stories.tsx +108 -953
  109. package/dist/icons/heart-icon/HeartIcon.stories.tsx +117 -1060
  110. package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +116 -716
  111. package/dist/icons/image-icon/ImageIcon.stories.tsx +102 -1164
  112. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +108 -1233
  113. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +133 -1289
  114. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +155 -1012
  115. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +158 -1438
  116. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +121 -1011
  117. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +116 -981
  118. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +116 -979
  119. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +105 -1252
  120. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +151 -1554
  121. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +107 -1227
  122. package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +116 -707
  123. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +119 -1226
  124. package/dist/icons/message-icon/MessageIcon.stories.tsx +111 -557
  125. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +112 -1198
  126. package/dist/icons/moon-icon/MoonIcon.stories.tsx +117 -557
  127. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +106 -1235
  128. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +112 -1185
  129. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +116 -1012
  130. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +108 -1137
  131. package/dist/icons/notes-icon/NotesIcon.stories.tsx +116 -1138
  132. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +106 -1146
  133. package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +119 -719
  134. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +110 -999
  135. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +109 -912
  136. package/dist/icons/pause-icon/PauseIcon.stories.tsx +110 -1041
  137. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +112 -1109
  138. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +112 -1023
  139. package/dist/icons/plus-icon/PlusIcon.stories.tsx +103 -1132
  140. package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +104 -870
  141. package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +99 -476
  142. package/dist/icons/search-icon/SearchIcon.stories.tsx +108 -1161
  143. package/dist/icons/setting-icon/SettingIcon.stories.tsx +104 -1009
  144. package/dist/icons/share-icon/ShareIcon.stories.tsx +117 -1064
  145. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +114 -974
  146. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +134 -1160
  147. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +169 -1017
  148. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +161 -1016
  149. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +102 -1001
  150. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +155 -593
  151. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +155 -608
  152. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +142 -712
  153. package/dist/icons/star-icon/StarIcon.stories.tsx +120 -946
  154. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +109 -1013
  155. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +113 -891
  156. package/dist/icons/sun-icon/SunIcon.stories.tsx +117 -864
  157. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +113 -989
  158. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +120 -1027
  159. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +153 -1476
  160. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +143 -1187
  161. package/dist/icons/tick-icon/TickIcon.stories.tsx +142 -1322
  162. package/dist/icons/trash-icon/TrashIcon.stories.tsx +105 -970
  163. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +154 -1457
  164. package/dist/icons/upload-icon/UploadIcon.stories.tsx +112 -930
  165. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +115 -1019
  166. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +122 -1092
  167. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +120 -1401
  168. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +107 -1212
  169. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +109 -1122
  170. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +112 -1124
  171. package/dist/icons/warning-icon/WarningIcon.stories.tsx +119 -1083
  172. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +158 -983
  173. package/dist/index.cjs +90 -90
  174. package/dist/index.js +90 -90
  175. package/package.json +8 -3
@@ -1,6 +1,20 @@
1
1
  import React from "react"
2
2
  import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
+ import { BubbleCrossedIcon } from "src/ui/icons/bubble-crossed-icon"
5
+ import { BubbleSparkleIcon } from "src/ui/icons/bubble-sparkle-icon"
6
+ import { CircleTickIcon } from "src/ui/icons/circle-tick-icon"
7
+ import { TickCircleIcon } from "src/ui/icons/tick-circle-icon"
8
+ import {
9
+ IconColorVariations,
10
+ IconDefaultCanvas,
11
+ IconPlaygroundCanvas,
12
+ IconSizeVariations,
13
+ IconUsageCanvas,
14
+ IconUsageSection,
15
+ } from "src/ui/story-spec/icons/icon-story-canvas"
16
+ import { AuralIconDocsPage } from "src/ui/story-spec/icons/icon-story-docs-page"
17
+
4
18
  import { BubbleCheckIcon } from "."
5
19
 
6
20
  const meta: Meta<typeof BubbleCheckIcon> = {
@@ -18,1005 +32,75 @@ const meta: Meta<typeof BubbleCheckIcon> = {
18
32
  },
19
33
  docs: {
20
34
  page: () => (
21
- <>
22
- {/* Override default docs styling */}
23
- <style>
24
- {`
25
- .sbdocs-wrapper {
26
- padding: 0 ;
27
- max-width: none ;
28
- background: transparent ;
29
- }
30
- .sbdocs-content {
31
- max-width: none ;
32
- padding: 0 ;
33
- margin: 0 ;
34
- background: transparent ;
35
- }
36
- .docs-story {
37
- background: transparent ;
38
- }
39
- .sbdocs {
40
- background: transparent ;
41
- }
42
- body {
43
- background: var(--color-fm-surface-primary) ;
44
- }
45
- #storybook-docs {
46
- background: var(--color-fm-surface-primary) ;
47
- }
48
- .sbdocs-preview {
49
- background: transparent ;
50
- border: none ;
51
- }
52
- .sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
53
- color: var(--color-fm-icon-active) ;
54
- }
55
- .sbdocs-p, .sbdocs-li {
56
- color: var(--color-fm-secondary) ;
57
- }
58
- .sbdocs-code {
59
- background: var(--color-fm-surface-secondary) ;
60
- color: var(--color-fm-secondary-500) ;
61
- border: 1px solid var(--color-fm-divider-secondary) ;
62
- }
63
- .sbdocs-pre {
64
- background: var(--color-fm-surface-secondary) ;
65
- border: 1px solid var(--color-fm-divider-secondary) ;
66
- }
67
- .sbdocs-table {
68
- background: var(--color-fm-surface-secondary) ;
69
- border: 1px solid var(--color-fm-divider-secondary) ;
70
- }
71
- .sbdocs-table th {
72
- background: var(--color-fm-surface-secondary) ;
73
- color: var(--color-fm-icon-active) ;
74
- border-bottom: 1px solid var(--color-fm-divider-secondary) ;
75
- }
76
- .sbdocs-table td {
77
- color: var(--color-fm-secondary) ;
78
- border-bottom: 1px solid var(--color-fm-divider-tertiary) ;
79
- }
80
- `}
81
- </style>
82
-
83
- <div className="bg-fm-surface-primary min-h-screen">
84
- {/* Header */}
85
- <div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
86
- <div className="from-fm-secondary-500/10 to-fm-icon-info/10 absolute inset-0 bg-linear-to-r via-transparent" />
87
- <div className="relative !mx-auto max-w-7xl px-6 py-16">
88
- <div className="!space-y-6 text-center">
89
- <div className="border-fm-icon-positive/30 from-fm-icon-positive/20 to-fm-icon-positive/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
90
- <BubbleCheckIcon className="text-fm-icon-positive h-12 w-12" />
91
- </div>
92
- <h1 className="text-fm-icon-active! text-5xl font-bold">
93
- BubbleCheckIcon
94
- </h1>
95
- <p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
96
- A communication icon representing successful messages,
97
- confirmations, and positive feedback. Combines chat bubble
98
- symbolism with checkmark validation for clear success
99
- communication.
100
- </p>
101
-
102
- {/* Stats */}
103
- <div className="flex items-center justify-center gap-8 pt-8">
104
- <div className="text-center">
105
- <div className="text-fm-icon-positive text-3xl font-bold">
106
- Success
107
- </div>
108
- <div className="text-fm-tertiary text-sm">
109
- Positive feedback
110
- </div>
111
- </div>
112
- <div className="bg-fm-divider-primary h-8 w-px" />
113
- <div className="text-center">
114
- <div className="text-fm-icon-positive text-3xl font-bold">
115
- Communication
116
- </div>
117
- <div className="text-fm-tertiary text-sm">
118
- Message validation
119
- </div>
120
- </div>
121
- <div className="bg-fm-divider-primary h-8 w-px" />
122
- <div className="text-center">
123
- <div className="text-fm-icon-info text-3xl font-bold">
124
- Confirmation
125
- </div>
126
- <div className="text-fm-tertiary text-sm">
127
- Action completed
128
- </div>
129
- </div>
130
- </div>
131
- </div>
132
- </div>
133
- </div>
134
-
135
- {/* Content */}
136
- <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
137
- {/* Quick Usage */}
138
- <div className="!space-y-8">
139
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
140
- Quick Start
141
- </h2>
142
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
143
- <div className="!space-y-4">
144
- <h3 className="text-fm-icon-positive! text-xl font-semibold">
145
- Basic Usage
146
- </h3>
147
- <div className="bg-fm-surface-secondary rounded-lg p-4">
148
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
149
- {`import { BubbleCheckIcon } from "@icons/bubble-check-icon"
150
-
151
- function SuccessMessage() {
35
+ <AuralIconDocsPage
36
+ accentToken="positive"
37
+ features={[
38
+ {
39
+ title: "Success State",
40
+ description: "Approved or verified chat",
41
+ },
42
+ {
43
+ title: "Feedback Bubble",
44
+ description: "Positive message feedback",
45
+ },
46
+ { title: "Accessible", description: "ARIA-ready by default" },
47
+ ]}
48
+ quickStart={{
49
+ codeExample: `import { BubbleCheckIcon } from "src/ui/icons/bubble-check-icon"
50
+
51
+ function ApprovedMessage() {
152
52
  return (
153
53
  <div className="flex items-center gap-2">
154
- <BubbleCheckIcon className="h-5 w-5 text-green-500" />
155
- <span>Message sent successfully!</span>
54
+ <BubbleCheckIcon className="h-5 w-5 text-fm-icon-positive" />
55
+ <span>Message approved</span>
156
56
  </div>
157
57
  )
158
- }`}
159
- </pre>
160
- </div>
161
- </div>
162
-
163
- <div className="!space-y-4">
164
- <h3 className="text-fm-icon-positive! text-xl font-semibold">
165
- Live Preview
166
- </h3>
167
- <div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
168
- <div className="border-fm-icon-positive/20 bg-fm-icon-positive/10 flex items-center gap-3 rounded-lg border px-4 py-2">
169
- <BubbleCheckIcon className="text-fm-icon-positive h-5 w-5" />
170
- <span className="text-fm-icon-active!">
171
- Message sent successfully!
172
- </span>
173
- </div>
174
- </div>
175
- </div>
176
- </div>
177
- </div>
178
-
179
- {/* Props Documentation */}
180
- <div className="!space-y-8">
181
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
182
- Props & Configuration
183
- </h2>
184
-
185
- <div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
186
- <div className="bg-fm-surface-secondary p-4">
187
- <h3 className="text-fm-icon-active! text-xl font-semibold">
188
- Props
189
- </h3>
190
- </div>
191
- <table className="!my-0 w-full">
192
- <thead className="bg-fm-surface-secondary">
193
- <tr className="border-fm-divider-secondary border-b">
194
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
195
- Prop
196
- </th>
197
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
198
- Type
199
- </th>
200
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
201
- Default
202
- </th>
203
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
204
- Description
205
- </th>
206
- </tr>
207
- </thead>
208
- <tbody>
209
- {" "}
210
- <tr className="bg-fm-surface-secondary!">
211
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
212
- withAccessibility
213
- </td>
214
- <td className="text-fm-secondary! px-6 py-4 text-sm">
215
- boolean
216
- </td>
217
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
218
- true
219
- </td>
220
- <td className="text-fm-secondary! px-6 py-4 text-sm">
221
- Whether to wrap the icon with accessibility feature
222
- </td>
223
- </tr>
224
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
225
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
226
- height
227
- </td>
228
- <td className="text-fm-secondary! px-6 py-4 text-sm">
229
- number | string
230
- </td>
231
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
232
- 24
233
- </td>
234
- <td className="text-fm-secondary! px-6 py-4 text-sm">
235
- Height of the icon in pixels
236
- </td>
237
- </tr>
238
- <tr className="border-fm-divider-tertiary border-b">
239
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
240
- stroke
241
- </td>
242
- <td className="text-fm-secondary! px-6 py-4 text-sm">
243
- string
244
- </td>
245
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
246
- currentColor
247
- </td>
248
- <td className="text-fm-secondary! px-6 py-4 text-sm">
249
- Stroke color of the icon
250
- </td>
251
- </tr>
252
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
253
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
254
- strokeWidth
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
- 1.5
261
- </td>
262
- <td className="text-fm-secondary! px-6 py-4 text-sm">
263
- Stroke width of the icon
264
- </td>
265
- </tr>
266
- <tr className="border-fm-divider-tertiary border-b">
267
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
268
- strokeLinecap
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
- square
275
- </td>
276
- <td className="text-fm-secondary! px-6 py-4 text-sm">
277
- Line cap style for stroke
278
- </td>
279
- </tr>
280
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
281
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
282
- className
283
- </td>
284
- <td className="text-fm-secondary! px-6 py-4 text-sm">
285
- string
286
- </td>
287
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
288
- -
289
- </td>
290
- <td className="text-fm-secondary! px-6 py-4 text-sm">
291
- CSS classes for styling
292
- </td>
293
- </tr>
294
- <tr className="bg-fm-surface-secondary!">
295
- <td className="text-fm-icon-positive! px-6 py-4 font-mono text-sm">
296
- ...svgProps
297
- </td>
298
- <td className="text-fm-secondary! px-6 py-4 text-sm">
299
- SVGProps
300
- </td>
301
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
302
- -
303
- </td>
304
- <td className="text-fm-secondary! px-6 py-4 text-sm">
305
- All standard SVG element props
306
- </td>
307
- </tr>
308
- </tbody>
309
- </table>
310
- </div>
311
- </div>
312
-
313
- {/* Size Variations */}
314
- <div className="!space-y-8">
315
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
316
- Size Variations
317
- </h2>
318
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
319
- <div className="!space-y-6">
320
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
321
- <div className="!space-y-4">
322
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
323
- Standard Sizes
324
- </h3>
325
- <div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
326
- <div className="text-center">
327
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-3 w-3" />
328
- <span className="text-fm-tertiary text-xs">
329
- 12px
330
- </span>
331
- </div>
332
- <div className="text-center">
333
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-4 w-4" />
334
- <span className="text-fm-tertiary text-xs">
335
- 16px
336
- </span>
337
- </div>
338
- <div className="text-center">
339
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-5 w-5" />
340
- <span className="text-fm-tertiary text-xs">
341
- 20px
342
- </span>
343
- </div>
344
- <div className="text-center">
345
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-6 w-6" />
346
- <span className="text-fm-tertiary text-xs">
347
- 24px
348
- </span>
349
- </div>
350
- <div className="text-center">
351
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-8 w-8" />
352
- <span className="text-fm-tertiary text-xs">
353
- 32px
354
- </span>
355
- </div>
356
- <div className="text-center">
357
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-12 w-12" />
358
- <span className="text-fm-tertiary text-xs">
359
- 48px
360
- </span>
361
- </div>
362
- </div>
363
- </div>
364
-
365
- <div className="!space-y-4">
366
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
367
- Code Example
368
- </h3>
369
- <div className="bg-fm-surface-secondary rounded-lg p-4">
370
- <pre className="text-fm-icon-info! overflow-x-auto text-sm">
371
- {`// Small (16px)
372
- <BubbleCheckIcon className="h-4 w-4" />
373
-
374
- // Medium (24px)
375
- <BubbleCheckIcon className="h-6 w-6" />
376
-
377
- // Large (32px)
378
- <BubbleCheckIcon className="h-8 w-8" />
379
-
380
- // Custom size
381
- <BubbleCheckIcon width={40} height={40} />`}
382
- </pre>
383
- </div>
384
- </div>
385
- </div>
386
- </div>
387
- </div>
388
- </div>
389
-
390
- {/* Color Variations */}
391
- <div className="!space-y-8">
392
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
393
- Color Variations
394
- </h2>
395
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
396
- <div className="!space-y-4">
397
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
398
- Success States
399
- </h3>
400
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
401
- <div className="flex items-center gap-4">
402
- <BubbleCheckIcon className="text-fm-icon-positive h-6 w-6" />
403
- <div>
404
- <div className="text-fm-icon-active! text-sm font-medium">
405
- Success
406
- </div>
407
- <div className="text-fm-tertiary! text-xs">
408
- text-fm-icon-positive
409
- </div>
410
- </div>
411
- </div>
412
- <div className="flex items-center gap-4">
413
- <BubbleCheckIcon className="text-fm-icon-positive h-6 w-6" />
414
- <div>
415
- <div className="text-fm-icon-active! text-sm font-medium">
416
- Completed
417
- </div>
418
- <div className="text-fm-tertiary! text-xs">
419
- text-fm-icon-positive
420
- </div>
421
- </div>
422
- </div>
423
- <div className="flex items-center gap-4">
424
- <BubbleCheckIcon className="text-fm-icon-info h-6 w-6" />
425
- <div>
426
- <div className="text-fm-icon-active! text-sm font-medium">
427
- Confirmed
428
- </div>
429
- <div className="text-fm-tertiary! text-xs">
430
- text-fm-icon-info
431
- </div>
432
- </div>
433
- </div>
434
- <div className="flex items-center gap-4">
435
- <BubbleCheckIcon className="text-fm-icon-positive h-6 w-6" />
436
- <div>
437
- <div className="text-fm-icon-active! text-sm font-medium">
438
- Approved
439
- </div>
440
- <div className="text-fm-tertiary! text-xs">
441
- text-fm-icon-positive
442
- </div>
443
- </div>
444
- </div>
445
- </div>
446
- </div>
447
-
448
- <div className="!space-y-4">
449
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
450
- Custom Colors
451
- </h3>
452
- <div className="bg-fm-surface-secondary rounded-lg p-4">
453
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
454
- {`// Using Tailwind classes
455
- <BubbleCheckIcon className="h-6 w-6 text-green-400" />
456
- <BubbleCheckIcon className="h-6 w-6 text-emerald-500" />
457
-
458
- // Using CSS custom properties
459
- <BubbleCheckIcon
460
- className="h-6 w-6"
461
- style={{ color: 'var(--color-success)' }}
462
- />
463
-
464
- // Direct stroke prop
465
- <BubbleCheckIcon
466
- width={24}
467
- height={24}
468
- stroke="#10b981"
469
- />`}
470
- </pre>
471
- </div>
472
- </div>
473
- </div>
58
+ }`,
59
+ livePreview: (
60
+ <div className="flex items-center gap-2">
61
+ <BubbleCheckIcon className="text-fm-icon-positive h-6 w-6" />
474
62
  </div>
475
-
476
- {/* Usage Examples */}
477
- <div className="!space-y-8">
478
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
479
- Usage Examples
480
- </h2>
481
-
482
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
483
- {/* Success Message */}
484
- <div className="!space-y-4">
485
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
486
- Success Toast
487
- </h3>
488
- <div className="!space-y-4">
489
- <div className="border-fm-icon-positive/20 bg-fm-icon-positive/10 rounded-lg border p-4">
490
- <div className="flex items-start gap-3">
491
- <BubbleCheckIcon className="text-fm-icon-positive mt-0.5 h-5 w-5 flex-shrink-0" />
492
- <div>
493
- <h4 className="text-fm-icon-positive! font-medium">
494
- Message Sent
495
- </h4>
496
- <p className="text-fm-icon-positive!/80 text-sm">
497
- Your message has been delivered successfully to
498
- all recipients.
499
- </p>
500
- </div>
501
- </div>
502
- </div>
503
- <div className="bg-fm-surface-secondary rounded-lg p-4">
504
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
505
- {`<div className="border border-green-500/20 bg-green-500/10 p-4 rounded-lg">
506
- <div className="flex items-start gap-3">
507
- <BubbleCheckIcon className="h-5 w-5 text-green-400 mt-0.5 flex-shrink-0" />
508
- <div>
509
- <h4 className="font-medium text-green-200">Message Sent</h4>
510
- <p className="text-sm text-green-300/80">
511
- Your message has been delivered successfully to all recipients.
512
- </p>
513
- </div>
514
- </div>
515
- </div>`}
516
- </pre>
517
- </div>
518
- </div>
519
- </div>
520
-
521
- {/* Chat Message Status */}
522
- <div className="!space-y-4">
523
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
524
- Chat Message Status
525
- </h3>
526
- <div className="!space-y-4">
527
- <div className="!space-y-3">
528
- <div className="flex justify-end">
529
- <div className="bg-fm-icon-info max-w-xs rounded-lg px-3 py-2">
530
- <p className="text-fm-icon-active! text-sm">
531
- Hey! How are you doing?
532
- </p>
533
- <div className="mt-1 flex items-center justify-end gap-1">
534
- <span className="text-fm-icon-info text-xs">
535
- 2:30 PM
536
- </span>
537
- <BubbleCheckIcon className="text-fm-icon-positive h-3 w-3" />
538
- </div>
539
- </div>
540
- </div>
541
- <div className="flex justify-end">
542
- <div className="bg-fm-icon-info max-w-xs rounded-lg px-3 py-2">
543
- <p className="text-fm-icon-active! text-sm">
544
- Did you get my previous message?
545
- </p>
546
- <div className="mt-1 flex items-center justify-end gap-1">
547
- <span className="text-fm-icon-info text-xs">
548
- 2:32 PM
549
- </span>
550
- <BubbleCheckIcon className="text-fm-icon-positive h-3 w-3" />
551
- </div>
552
- </div>
553
- </div>
554
- </div>
555
- <div className="bg-fm-surface-secondary rounded-lg p-4">
556
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
557
- {`<div className="flex justify-end">
558
- <div className="max-w-xs rounded-lg bg-blue-500 px-3 py-2">
559
- <p className="text-sm text-white">Hey! How are you doing?</p>
560
- <div className="mt-1 flex items-center justify-end gap-1">
561
- <span className="text-xs text-blue-100">2:30 PM</span>
562
- <BubbleCheckIcon className="h-3 w-3 text-green-300" />
563
- </div>
564
- </div>
565
- </div>`}
566
- </pre>
567
- </div>
568
- </div>
569
- </div>
570
-
571
- {/* Form Confirmation */}
572
- <div className="!space-y-4">
573
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
574
- Form Confirmation
575
- </h3>
576
- <div className="!space-y-4">
577
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
578
- <div className="text-center">
579
- <div className="bg-fm-icon-positive/20 !mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full">
580
- <BubbleCheckIcon className="text-fm-icon-positive h-8 w-8" />
581
- </div>
582
- <h3 className="text-fm-icon-active! mb-2 text-lg font-semibold">
583
- Form Submitted!
584
- </h3>
585
- <p className="text-fm-secondary! text-sm">
586
- We've received your feedback and will get back to
587
- you within 24 hours.
588
- </p>
589
- </div>
590
- </div>
591
- <div className="bg-fm-surface-secondary rounded-lg p-4">
592
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
593
- {`<div className="text-center">
594
- <div className="mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-green-500/20">
595
- <BubbleCheckIcon className="h-8 w-8 text-green-400" />
596
- </div>
597
- <h3 className="mb-2 text-lg font-semibold text-white">Form Submitted!</h3>
598
- <p className="text-sm text-white/70">
599
- We've received your feedback and will get back to you within 24 hours.
600
- </p>
601
- </div>`}
602
- </pre>
603
- </div>
604
- </div>
605
- </div>
606
-
607
- {/* Status List */}
608
- <div className="!space-y-4">
609
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
610
- Status List
611
- </h3>
612
- <div className="!space-y-4">
613
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4">
614
- <div className="flex items-center gap-3">
615
- <BubbleCheckIcon className="text-fm-icon-positive h-4 w-4" />
616
- <span className="text-fm-icon-active! text-sm">
617
- Email verification completed
618
- </span>
619
- </div>
620
- <div className="flex items-center gap-3">
621
- <BubbleCheckIcon className="text-fm-icon-positive h-4 w-4" />
622
- <span className="text-fm-icon-active! text-sm">
623
- Profile information updated
624
- </span>
625
- </div>
626
- <div className="flex items-center gap-3">
627
- <BubbleCheckIcon className="text-fm-icon-positive h-4 w-4" />
628
- <span className="text-fm-icon-active! text-sm">
629
- Security settings configured
630
- </span>
631
- </div>
632
- <div className="flex items-center gap-3">
633
- <div className="border-fm-divider-primary h-4 w-4 rounded-full border-2"></div>
634
- <span className="text-fm-tertiary! text-sm">
635
- Payment method pending
636
- </span>
637
- </div>
638
- </div>
639
- <div className="bg-fm-surface-secondary rounded-lg p-4">
640
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
641
- {`<div className="space-y-3">
642
- <div className="flex items-center gap-3">
643
- <BubbleCheckIcon className="h-4 w-4 text-green-400" />
644
- <span className="text-sm text-white">Email verification completed</span>
645
- </div>
646
- <div className="flex items-center gap-3">
647
- <BubbleCheckIcon className="h-4 w-4 text-green-400" />
648
- <span className="text-sm text-white">Profile information updated</span>
649
- </div>
650
- <div className="flex items-center gap-3">
651
- <div className="h-4 w-4 rounded-full border-2 border-white/20"></div>
652
- <span className="text-sm text-white/60">Payment method pending</span>
653
- </div>
654
- </div>`}
655
- </pre>
656
- </div>
657
- </div>
658
- </div>
659
-
660
- {/* Notification Badges */}
661
- <div className="!space-y-4">
662
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
663
- Notification Badges
664
- </h3>
665
- <div className="!space-y-4">
666
- <div className="flex gap-4">
667
- <div className="relative">
668
- <button className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-secondary rounded-lg border p-3 transition-colors">
669
- <svg
670
- className="text-fm-icon-active h-5 w-5"
671
- fill="none"
672
- stroke="currentColor"
673
- viewBox="0 0 24 24"
674
- >
675
- <path
676
- strokeLinecap="round"
677
- strokeLinejoin="round"
678
- strokeWidth={2}
679
- d="M15 17h5l-5 5v-5z"
680
- />
681
- <path
682
- strokeLinecap="round"
683
- strokeLinejoin="round"
684
- strokeWidth={2}
685
- d="M9 12h6m-6 4h6m2 5V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
686
- />
687
- </svg>
688
- </button>
689
- <BubbleCheckIcon className="text-fm-icon-positive absolute -top-1 -right-1 h-4 w-4" />
690
- </div>
691
- <div className="relative">
692
- <button className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-secondary rounded-lg border p-3 transition-colors">
693
- <svg
694
- className="text-fm-icon-active h-5 w-5"
695
- fill="none"
696
- stroke="currentColor"
697
- viewBox="0 0 24 24"
698
- >
699
- <path
700
- strokeLinecap="round"
701
- strokeLinejoin="round"
702
- strokeWidth={2}
703
- d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
704
- />
705
- </svg>
706
- </button>
707
- <BubbleCheckIcon className="text-fm-icon-positive absolute -top-1 -right-1 h-4 w-4" />
708
- </div>
709
- </div>
710
- <div className="bg-fm-surface-secondary rounded-lg p-4">
711
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
712
- {`<div className="relative">
713
- <button className="p-3 border border-white/10 bg-white/5 rounded-lg">
714
- {/* Main icon */}
715
- </button>
716
- <BubbleCheckIcon className="absolute -top-1 -right-1 h-4 w-4 text-green-400" />
717
- </div>`}
718
- </pre>
719
- </div>
720
- </div>
721
- </div>
722
-
723
- {/* Action Button */}
724
- <div className="!space-y-4">
725
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
726
- Action Button
727
- </h3>
728
- <div className="!space-y-4">
729
- <div className="flex gap-4">
730
- <button className="border-fm-icon-positive/30 bg-fm-icon-positive/20 text-fm-icon-positive hover:bg-fm-icon-positive/30 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
731
- <BubbleCheckIcon className="h-4 w-4" />
732
- Mark as Read
733
- </button>
734
- <button className="border-fm-icon-positive/30 bg-fm-icon-positive/20 text-fm-icon-positive hover:bg-fm-icon-positive/30 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
735
- <BubbleCheckIcon className="h-4 w-4" />
736
- Approve Message
737
- </button>
738
- </div>
739
- <div className="bg-fm-surface-secondary rounded-lg p-4">
740
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
741
- {`// Confirm action button
742
- <button className="flex items-center gap-2 bg-green-500/20 border border-green-500/30 px-4 py-2 rounded-lg">
743
- <BubbleCheckIcon className="h-4 w-4" />
744
- Mark as Read
745
- </button>
746
-
747
- // Approval button
748
- <button className="flex items-center gap-2 bg-emerald-500/20 border border-emerald-500/30 px-4 py-2 rounded-lg">
749
- <BubbleCheckIcon className="h-4 w-4" />
750
- Approve Message
751
- </button>`}
752
- </pre>
753
- </div>
754
- </div>
755
- </div>
756
- </div>
757
- </div>
758
-
759
- {/* Animation States */}
760
- <div className="!space-y-8">
761
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
762
- Animation States
763
- </h2>
764
- <div className="grid grid-cols-1 gap-8 md:grid-cols-3">
765
- <div className="text-center">
766
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
767
- Bounce Animation
768
- </h3>
769
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
770
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 animate-bounce" />
771
- </div>
772
- <p className="text-fm-tertiary! mt-2 text-xs">
773
- animate-bounce
774
- </p>
775
- </div>
776
-
777
- <div className="text-center">
778
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
779
- Pulse Animation
780
- </h3>
781
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
782
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 animate-pulse" />
783
- </div>
784
- <p className="text-fm-tertiary! mt-2 text-xs">
785
- animate-pulse
786
- </p>
787
- </div>
788
-
789
- <div className="text-center">
790
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
791
- Scale on Hover
792
- </h3>
793
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
794
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 transition-transform hover:scale-110" />
795
- </div>
796
- <p className="text-fm-tertiary! mt-2 text-xs">
797
- hover:scale-110
798
- </p>
799
- </div>
800
- </div>
801
- </div>
802
-
803
- {/* Accessibility */}
804
- <div className="!space-y-8">
805
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
806
- Accessibility Features
807
- </h2>
808
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
809
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
810
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
811
- ✅ Built-in Features
812
- </h3>
813
- <ul className="text-fm-secondary! !space-y-2 text-sm">
814
- <li className="text-fm-secondary!">
815
- Uses Radix UI AccessibleIcon wrapper
816
- </li>
817
- <li className="text-fm-secondary!">
818
- Provides screen reader label "Bubble Check icon"
819
- </li>
820
- <li className="text-fm-secondary!">
821
- Supports keyboard navigation when interactive
822
- </li>
823
- <li className="text-fm-secondary!">
824
- Maintains proper color contrast ratios
825
- </li>
826
- <li className="text-fm-secondary!">
827
- Scales with user's font size preferences
828
- </li>
829
- </ul>
830
- </div>
831
-
832
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
833
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
834
- 💡 Best Practices
835
- </h3>
836
- <ul className="text-fm-secondary !space-y-2 text-sm">
837
- <li className="text-fm-secondary!">
838
- Always pair with descriptive success text
839
- </li>
840
- <li className="text-fm-secondary!">
841
- Use consistent colors for success states
842
- </li>
843
- <li className="text-fm-secondary!">
844
- Ensure sufficient color contrast for visibility
845
- </li>
846
- <li className="text-fm-secondary!">
847
- Add focus states for interactive elements
848
- </li>
849
- <li className="text-fm-secondary!">
850
- Consider animation preferences for users
851
- </li>
852
- </ul>
853
- </div>
854
- </div>
855
-
856
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
857
- <h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
858
- Custom Accessibility Implementation
859
- </h3>
860
- <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
861
- <div className="bg-fm-surface-secondary rounded-lg p-4">
862
- <pre className="text-fm-icon-info! overflow-x-auto text-sm">
863
- {`// Custom implementation with specific context
864
- import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
865
-
866
- function SuccessMessageIcon({ label = "Success message", ...props }) {
867
- return (
868
- <AccessibleIcon label={label}>
869
- <BubbleCheckIcon {...props} />
870
- </AccessibleIcon>
871
- )
872
- }
873
-
874
- // Usage with specific context
875
- <SuccessMessageIcon
876
- label="Message sent successfully"
877
- className="h-5 w-5 text-green-400"
878
- />
879
-
880
- // For status indicators
881
- <SuccessMessageIcon
882
- label="Task completed successfully"
883
- className="h-4 w-4 text-emerald-400"
884
- />`}
885
- </pre>
886
- </div>
887
- <div className="!space-y-4">
888
- <p className="text-fm-secondary! text-sm">
889
- For specific contexts, you can wrap the BubbleCheckIcon
890
- with a custom AccessibleIcon component that provides
891
- more descriptive labels for different success scenarios.
892
- </p>
893
- <div className="border-fm-icon-positive/20 bg-fm-icon-positive/10 rounded-lg border p-4">
894
- <div className="text-fm-icon-positive flex items-center gap-2 text-sm">
895
- <BubbleCheckIcon className="h-4 w-4" />
896
- <span>
897
- This gives screen readers specific context about the
898
- success state
899
- </span>
900
- </div>
901
- </div>
902
- </div>
903
- </div>
904
- </div>
905
- </div>
906
-
907
- {/* Related Icons */}
908
- <div className="!space-y-8">
909
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
910
- Related Icons
911
- </h2>
912
- <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
913
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
914
- <div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
915
- <span className="text-2xl">✅</span>
916
- </div>
917
- <div>
918
- <div className="text-fm-icon-active! font-medium">
919
- CheckIcon
920
- </div>
921
- <div className="text-fm-tertiary! text-xs">
922
- Simple checkmark
923
- </div>
924
- </div>
925
- </div>
926
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
927
- <div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
928
- <span className="text-2xl">💬</span>
929
- </div>
930
- <div>
931
- <div className="text-fm-icon-active! font-medium">
932
- BubbleIcon
933
- </div>
934
- <div className="text-fm-tertiary! text-xs">
935
- Chat bubble
936
- </div>
937
- </div>
938
- </div>
939
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
940
- <div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
941
- <span className="text-2xl">✉️</span>
942
- </div>
943
- <div>
944
- <div className="text-fm-icon-active! font-medium">
945
- MessageIcon
946
- </div>
947
- <div className="text-fm-tertiary! text-xs">
948
- Email message
949
- </div>
950
- </div>
951
- </div>
952
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
953
- <div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
954
- <span className="text-2xl">🎉</span>
955
- </div>
956
- <div>
957
- <div className="text-fm-icon-active! font-medium">
958
- SuccessIcon
959
- </div>
960
- <div className="text-fm-tertiary! text-xs">
961
- Celebration
962
- </div>
963
- </div>
964
- </div>
965
- </div>
966
- </div>
967
- </div>
968
-
969
- {/* Footer */}
970
- <div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
971
- <div className="!mx-auto max-w-7xl px-6 py-8">
972
- <div className="!space-y-4 text-center">
973
- <p className="text-fm-tertiary!">
974
- BubbleCheckIcon is part of the Aural UI icon library,
975
- designed for clear success communication and message
976
- validation.
977
- </p>
978
- <p className="text-fm-placeholder! text-sm">
979
- Perfect for chat applications, form confirmations, status
980
- indicators, and any interface requiring success feedback.
981
- </p>
982
- </div>
983
- </div>
984
- </div>
985
- </div>
986
- </>
63
+ ),
64
+ }}
65
+ relatedIcons={[
66
+ {
67
+ name: "BubbleCrossedIcon",
68
+ description: "Rejected chat bubble icon",
69
+ icon: BubbleCrossedIcon,
70
+ accentToken: "info",
71
+ },
72
+ {
73
+ name: "BubbleSparkleIcon",
74
+ description: "AI/sparkle chat bubble",
75
+ icon: BubbleSparkleIcon,
76
+ accentToken: "positive",
77
+ },
78
+ {
79
+ name: "TickCircleIcon",
80
+ description: "Success tick in circle",
81
+ icon: TickCircleIcon,
82
+ accentToken: "warning",
83
+ },
84
+ {
85
+ name: "CircleTickIcon",
86
+ description: "Circle with tick mark",
87
+ icon: CircleTickIcon,
88
+ accentToken: "negative",
89
+ },
90
+ ]}
91
+ />
987
92
  ),
988
93
  },
989
94
  },
990
95
  tags: ["autodocs"],
991
96
  argTypes: {
992
- width: {
993
- control: { type: "range", min: 8, max: 96, step: 2 },
994
- description: "Width of the icon in pixels",
97
+ className: {
98
+ control: "text",
99
+ description: "CSS classes including color token",
995
100
  },
996
101
  withAccessibility: {
997
102
  control: "boolean",
998
- description: "Whether to wrap the icon with accessibility features",
999
- },
1000
- height: {
1001
- control: { type: "range", min: 8, max: 96, step: 2 },
1002
- description: "Height of the icon in pixels",
1003
- },
1004
- stroke: {
1005
- control: "color",
1006
- description: "Stroke color of the icon",
1007
- },
1008
- strokeWidth: {
1009
- control: { type: "range", min: 1, max: 4, step: 0.5 },
1010
- description: "Stroke width of the icon",
1011
- },
1012
- strokeLinecap: {
1013
- control: { type: "select" },
1014
- options: ["butt", "round", "square"],
1015
- description: "Line cap style for stroke",
1016
- },
1017
- className: {
1018
- control: "text",
1019
- description: "CSS classes for styling",
103
+ description: "Wrap with accessibility label",
1020
104
  },
1021
105
  },
1022
106
  }
@@ -1024,282 +108,83 @@ function SuccessMessageIcon({ label = "Success message", ...props }) {
1024
108
  export default meta
1025
109
  type Story = StoryObj<typeof BubbleCheckIcon>
1026
110
 
1027
- // Story parameters for consistent dark theme
1028
- const storyParameters = {
1029
- backgrounds: {
1030
- default: "dark",
1031
- values: [
1032
- { name: "dark", value: "var(--color-fm-surface-primary)" },
1033
- { name: "darker", value: "var(--color-fm-neutral-0)" },
1034
- ],
1035
- },
1036
- }
1037
-
1038
111
  export const Default: Story = {
1039
112
  args: {
1040
- width: 24,
1041
- height: 24,
1042
- className: "text-fm-icon-positive",
113
+ className: "h-6 w-6 text-fm-icon-positive",
1043
114
  withAccessibility: true,
1044
115
  },
1045
- parameters: storyParameters,
1046
116
  render: (args) => (
1047
- <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">
117
+ <IconDefaultCanvas>
1048
118
  <BubbleCheckIcon {...args} />
1049
- </div>
119
+ </IconDefaultCanvas>
1050
120
  ),
1051
121
  }
1052
122
 
1053
123
  export const SizeVariations: Story = {
1054
- parameters: {
1055
- ...storyParameters,
1056
- docs: {
1057
- description: {
1058
- story:
1059
- "BubbleCheckIcon in different sizes, from small status indicators to large success displays.",
1060
- },
1061
- },
1062
- },
1063
- render: () => (
1064
- <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">
1065
- <div className="text-center">
1066
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-3 w-3" />
1067
- <span className="text-fm-tertiary text-xs">12px</span>
1068
- </div>
1069
- <div className="text-center">
1070
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-4 w-4" />
1071
- <span className="text-fm-tertiary text-xs">16px</span>
1072
- </div>
1073
- <div className="text-center">
1074
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-5 w-5" />
1075
- <span className="text-fm-tertiary text-xs">20px</span>
1076
- </div>
1077
- <div className="text-center">
1078
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-6 w-6" />
1079
- <span className="text-fm-tertiary text-xs">24px</span>
1080
- </div>
1081
- <div className="text-center">
1082
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-8 w-8" />
1083
- <span className="text-fm-tertiary text-xs">32px</span>
1084
- </div>
1085
- <div className="text-center">
1086
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto mb-2 h-12 w-12" />
1087
- <span className="text-fm-tertiary text-xs">48px</span>
1088
- </div>
1089
- </div>
1090
- ),
124
+ render: () => <IconSizeVariations icon={BubbleCheckIcon} />,
1091
125
  }
1092
126
 
1093
127
  export const ColorVariations: Story = {
1094
- parameters: {
1095
- ...storyParameters,
1096
- docs: {
1097
- description: {
1098
- story:
1099
- "BubbleCheckIcon in different success colors for various confirmation contexts.",
1100
- },
1101
- },
1102
- },
1103
- render: () => (
1104
- <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">
1105
- <div className="text-center">
1106
- <div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1107
- <BubbleCheckIcon className="text-fm-icon-positive h-8 w-8" />
1108
- </div>
1109
- <div className="text-fm-icon-active! text-sm font-medium">Success</div>
1110
- <div className="text-fm-icon-positive text-xs">
1111
- text-fm-icon-positive
1112
- </div>
1113
- </div>
1114
- <div className="text-center">
1115
- <div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1116
- <BubbleCheckIcon className="text-fm-icon-positive h-8 w-8" />
1117
- </div>
1118
- <div className="text-fm-icon-active! text-sm font-medium">
1119
- Completed
1120
- </div>
1121
- <div className="text-fm-icon-positive text-xs">
1122
- text-fm-icon-positive
1123
- </div>
1124
- </div>
1125
- <div className="text-center">
1126
- <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">
1127
- <BubbleCheckIcon className="text-fm-icon-info h-8 w-8" />
1128
- </div>
1129
- <div className="text-fm-icon-active! text-sm font-medium">
1130
- Confirmed
1131
- </div>
1132
- <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
1133
- </div>
1134
- <div className="text-center">
1135
- <div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1136
- <BubbleCheckIcon className="text-fm-icon-positive h-8 w-8" />
1137
- </div>
1138
- <div className="text-fm-icon-active! text-sm font-medium">Approved</div>
1139
- <div className="text-fm-icon-positive text-xs">
1140
- text-fm-icon-positive
1141
- </div>
1142
- </div>
1143
- </div>
1144
- ),
128
+ render: () => <IconColorVariations icon={BubbleCheckIcon} />,
1145
129
  }
1146
130
 
1147
131
  export const UsageExamples: Story = {
1148
- parameters: {
1149
- ...storyParameters,
1150
- docs: {
1151
- description: {
1152
- story:
1153
- "Real-world usage examples showing BubbleCheckIcon in different communication contexts.",
1154
- },
1155
- },
1156
- },
1157
132
  render: () => (
1158
- <div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
1159
- {/* Success Toast */}
1160
- <div className="!space-y-2">
1161
- <h3 className="text-fm-icon-active! text-sm font-medium">
1162
- Success Toast
1163
- </h3>
1164
- <div className="border-fm-icon-positive/20 bg-fm-icon-positive/10 rounded-lg border p-4">
1165
- <div className="flex items-start gap-3">
1166
- <BubbleCheckIcon className="text-fm-icon-positive mt-0.5 h-5 w-5 flex-shrink-0" />
1167
- <div>
1168
- <h4 className="text-fm-icon-positive font-medium">
1169
- Message Sent
1170
- </h4>
1171
- <p className="text-fm-icon-positive/80 text-sm">
1172
- Your message has been delivered successfully to all recipients.
1173
- </p>
133
+ <IconUsageCanvas>
134
+ <IconUsageSection title="Message Approved">
135
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex w-full max-w-sm items-center gap-3 rounded-xl border px-4 py-3">
136
+ <BubbleCheckIcon className="text-fm-icon-positive h-5 w-5 shrink-0" />
137
+ <span className="text-fm-primary font-fm-text text-sm">
138
+ Your message has been approved
139
+ </span>
140
+ </div>
141
+ </IconUsageSection>
142
+
143
+ <IconUsageSection title="Review Status List">
144
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary w-full max-w-sm overflow-hidden rounded-xl border">
145
+ {[
146
+ { label: "Introduction", status: "approved" },
147
+ { label: "Chapter 1", status: "approved" },
148
+ { label: "Chapter 2", status: "pending" },
149
+ ].map(({ label, status }) => (
150
+ <div
151
+ key={label}
152
+ className="border-fm-divider-secondary flex items-center gap-3 border-b px-4 py-3 last:border-b-0"
153
+ >
154
+ <BubbleCheckIcon
155
+ className={`h-4 w-4 ${status === "approved" ? "text-fm-icon-positive" : "text-fm-icon-inactive"}`}
156
+ />
157
+ <span className="text-fm-primary font-fm-text text-sm">
158
+ {label}
159
+ </span>
1174
160
  </div>
161
+ ))}
162
+ </div>
163
+ </IconUsageSection>
164
+
165
+ <IconUsageSection title="Chat Reply Feedback">
166
+ <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">
167
+ <span className="text-fm-secondary font-fm-text text-sm">
168
+ Response quality
169
+ </span>
170
+ <div className="flex gap-2">
171
+ <BubbleCheckIcon className="text-fm-icon-positive h-5 w-5" />
172
+ <BubbleCrossedIcon className="text-fm-icon-inactive h-5 w-5" />
1175
173
  </div>
1176
174
  </div>
1177
- </div>
1178
-
1179
- {/* Chat Status */}
1180
- <div className="!space-y-2">
1181
- <h3 className="text-fm-icon-active! text-sm font-medium">
1182
- Chat Message Status
1183
- </h3>
1184
- <div className="flex justify-end">
1185
- <div className="bg-fm-icon-info max-w-xs rounded-lg px-3 py-2">
1186
- <p className="text-fm-icon-active text-sm">
1187
- Hey! How are you doing?
1188
- </p>
1189
- <div className="mt-1 flex items-center justify-end gap-1">
1190
- <span className="text-fm-icon-info text-xs">2:30 PM</span>
1191
- <BubbleCheckIcon className="text-fm-icon-positive h-3 w-3" />
1192
- </div>
1193
- </div>
1194
- </div>
1195
- </div>
1196
-
1197
- {/* Form Confirmation */}
1198
- <div className="!space-y-2">
1199
- <h3 className="text-fm-icon-active! text-sm font-medium">
1200
- Form Confirmation
1201
- </h3>
1202
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6 text-center">
1203
- <div className="bg-fm-icon-positive/20 !mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full">
1204
- <BubbleCheckIcon className="text-fm-icon-positive h-8 w-8" />
1205
- </div>
1206
- <h3 className="text-fm-icon-active! mb-2 text-lg font-semibold">
1207
- Form Submitted!
1208
- </h3>
1209
- <p className="text-fm-secondary! text-sm">
1210
- We've received your feedback and will get back to you within 24
1211
- hours.
1212
- </p>
1213
- </div>
1214
- </div>
1215
-
1216
- {/* Action Buttons */}
1217
- <div className="!space-y-2">
1218
- <h3 className="text-fm-icon-active! text-sm font-medium">
1219
- Action Buttons
1220
- </h3>
1221
- <div className="flex gap-4">
1222
- <button className="border-fm-icon-positive/30 bg-fm-icon-positive/20 text-fm-icon-positive hover:bg-fm-icon-positive/30 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
1223
- <BubbleCheckIcon className="h-4 w-4" />
1224
- Mark as Read
1225
- </button>
1226
- <button className="border-fm-icon-positive/30 bg-fm-icon-positive/20 text-fm-icon-positive hover:bg-fm-icon-positive/30 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
1227
- <BubbleCheckIcon className="h-4 w-4" />
1228
- Approve Message
1229
- </button>
1230
- </div>
1231
- </div>
1232
- </div>
1233
- ),
1234
- }
1235
-
1236
- export const AnimatedStates: Story = {
1237
- parameters: {
1238
- ...storyParameters,
1239
- docs: {
1240
- description: {
1241
- story:
1242
- "BubbleCheckIcon with different animation states for success feedback.",
1243
- },
1244
- },
1245
- },
1246
- render: () => (
1247
- <div className="from-fm-surface-primary to-fm-surface-secondary grid min-h-dvh grid-cols-1 items-center gap-8 rounded-lg bg-linear-to-br p-8 md:grid-cols-3">
1248
- <div className="text-center">
1249
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
1250
- Bounce Animation
1251
- </h3>
1252
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
1253
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 animate-bounce" />
1254
- </div>
1255
- <p className="text-fm-tertiary! mt-2 text-xs">Success celebration</p>
1256
- </div>
1257
-
1258
- <div className="text-center">
1259
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
1260
- Pulse Animation
1261
- </h3>
1262
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
1263
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 animate-pulse" />
1264
- </div>
1265
- <p className="text-fm-tertiary! mt-2 text-xs">Attention drawing</p>
1266
- </div>
1267
-
1268
- <div className="text-center">
1269
- <h3 className="text-fm-icon-active! mb-4 text-lg font-medium">
1270
- Scale on Hover
1271
- </h3>
1272
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border px-6 py-8">
1273
- <BubbleCheckIcon className="text-fm-icon-positive !mx-auto h-8 w-8 transition-transform hover:scale-110" />
1274
- </div>
1275
- <p className="text-fm-tertiary! mt-2 text-xs">Interactive feedback</p>
1276
- </div>
1277
- </div>
175
+ </IconUsageSection>
176
+ </IconUsageCanvas>
1278
177
  ),
1279
178
  }
1280
179
 
1281
180
  export const Playground: Story = {
1282
- parameters: {
1283
- ...storyParameters,
1284
- docs: {
1285
- description: {
1286
- story:
1287
- "Interactive playground to experiment with different BubbleCheckIcon configurations.",
1288
- },
1289
- },
1290
- },
1291
181
  args: {
1292
- width: 32,
1293
- height: 32,
1294
- className: "text-fm-icon-positive",
1295
- strokeWidth: 1.5,
1296
- strokeLinecap: "square",
182
+ className: "h-8 w-8 text-fm-icon-positive",
183
+ withAccessibility: true,
1297
184
  },
1298
185
  render: (args) => (
1299
- <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">
1300
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
1301
- <BubbleCheckIcon {...args} />
1302
- </div>
1303
- </div>
186
+ <IconPlaygroundCanvas>
187
+ <BubbleCheckIcon {...args} />
188
+ </IconPlaygroundCanvas>
1304
189
  ),
1305
190
  }