aural-ui 3.0.7 → 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 (183) hide show
  1. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +290 -1199
  2. package/dist/components/avatar/Avatar.stories.tsx +235 -237
  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/button/index.tsx +7 -7
  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 -620
  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 +533 -856
  16. package/dist/components/dialog/Dialog.stories.tsx +505 -949
  17. package/dist/components/divider/Divider.stories.tsx +265 -502
  18. package/dist/components/dot-loader/DotLoader.stories.tsx +256 -257
  19. package/dist/components/drawer/Drawer.stories.tsx +659 -993
  20. package/dist/components/drawer/index.tsx +3 -3
  21. package/dist/components/dropdown/Dropdown.stories.tsx +643 -1018
  22. package/dist/components/form/Form.stories.tsx +560 -274
  23. package/dist/components/helper-text/HelperText.stories.tsx +199 -200
  24. package/dist/components/hover-card/HoverCard.stories.tsx +318 -1221
  25. package/dist/components/icon-button/IconButton.stories.tsx +837 -194
  26. package/dist/components/if-else/if-else.stories.tsx +370 -83
  27. package/dist/components/input/Input.stories.tsx +436 -368
  28. package/dist/components/label/Label.stories.tsx +156 -154
  29. package/dist/components/list/List.stories.tsx +485 -822
  30. package/dist/components/marquee/Marquee.stories.tsx +356 -694
  31. package/dist/components/otp-inputs/OtpInputs.stories.tsx +352 -410
  32. package/dist/components/overlay/Overlay.stories.tsx +452 -818
  33. package/dist/components/overlay/index.tsx +4 -4
  34. package/dist/components/pagination/Pagination.stories.tsx +721 -210
  35. package/dist/components/popover/Popover.stories.tsx +484 -873
  36. package/dist/components/radio/Radio.stories.tsx +432 -124
  37. package/dist/components/resizable/Resizable.stories.tsx +496 -752
  38. package/dist/components/scroll-area/ScrollArea.stories.tsx +384 -1006
  39. package/dist/components/search/Search.stories.tsx +314 -575
  40. package/dist/components/select/Select.stories.tsx +684 -787
  41. package/dist/components/sheet/Sheet.stories.tsx +671 -936
  42. package/dist/components/skelton/Skelton.stories.tsx +230 -764
  43. package/dist/components/slider/Slider.stories.tsx +384 -737
  44. package/dist/components/stepper/Stepper.stories.tsx +371 -514
  45. package/dist/components/switch/Switch.stories.tsx +461 -208
  46. package/dist/components/switch-case/SwitchCase.stories.tsx +367 -188
  47. package/dist/components/table/Table.stories.tsx +770 -914
  48. package/dist/components/tabs/Tabs.stories.tsx +459 -1400
  49. package/dist/components/tag/Tag.stories.tsx +714 -542
  50. package/dist/components/textarea/TextArea.stories.tsx +621 -562
  51. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +228 -148
  52. package/dist/components/toast/Toast.stories.tsx +452 -1333
  53. package/dist/components/toggle/Toggle.stories.tsx +488 -909
  54. package/dist/components/tooltip/Tooltip.stories.tsx +344 -1372
  55. package/dist/components/typography/Typography.stories.tsx +406 -89
  56. package/dist/hooks/use-change-state/UseChangeState.stories.tsx +309 -606
  57. package/dist/hooks/use-previous/UsePrevious.stories.tsx +367 -917
  58. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +639 -867
  59. package/dist/icons/Icons.stories.tsx +0 -12
  60. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +226 -1013
  61. package/dist/icons/alert-icon/AlertIcon.stories.tsx +109 -929
  62. package/dist/icons/all-icons.tsx +124 -87
  63. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +140 -971
  64. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +148 -888
  65. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +135 -1019
  66. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +137 -953
  67. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +138 -997
  68. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +136 -942
  69. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +148 -1092
  70. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +146 -1211
  71. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +126 -615
  72. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +144 -1164
  73. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +167 -985
  74. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +122 -1179
  75. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +124 -1168
  76. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +119 -850
  77. package/dist/icons/camera-icon/CameraIcon.stories.tsx +112 -1213
  78. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +117 -934
  79. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +160 -961
  80. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +163 -961
  81. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +144 -942
  82. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +129 -966
  83. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +147 -964
  84. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +145 -975
  85. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +150 -1142
  86. package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +114 -461
  87. package/dist/icons/coin-icon/CoinIcon.stories.tsx +124 -1322
  88. package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +117 -1318
  89. package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +114 -903
  90. package/dist/icons/command-icon/CommandIcon.stories.tsx +127 -1042
  91. package/dist/icons/copy-icon/CopyIcon.stories.tsx +123 -962
  92. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +147 -999
  93. package/dist/icons/cross-icon/CrossIcon.stories.tsx +139 -960
  94. package/dist/icons/download-icon/DownloadIcon.stories.tsx +126 -820
  95. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +124 -1031
  96. package/dist/icons/email-icon/EmailIcon.stories.tsx +115 -936
  97. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +112 -1111
  98. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +144 -1025
  99. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +143 -1036
  100. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +127 -1011
  101. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +126 -1056
  102. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +125 -614
  103. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +119 -1050
  104. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +169 -989
  105. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +115 -1145
  106. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +115 -1122
  107. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +130 -313
  108. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +145 -940
  109. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +119 -1174
  110. package/dist/icons/head-icon/HeadIcon.stories.tsx +111 -916
  111. package/dist/icons/heart-icon/HeartIcon.stories.tsx +120 -1019
  112. package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +119 -683
  113. package/dist/icons/image-icon/ImageIcon.stories.tsx +105 -1121
  114. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +111 -1192
  115. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +136 -1256
  116. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +159 -962
  117. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +161 -1385
  118. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +124 -972
  119. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +119 -948
  120. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +119 -942
  121. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +108 -1215
  122. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +154 -1517
  123. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +110 -1188
  124. package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +119 -678
  125. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +123 -1184
  126. package/dist/icons/message-icon/MessageIcon.stories.tsx +114 -538
  127. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +116 -1158
  128. package/dist/icons/moon-icon/MoonIcon.stories.tsx +120 -536
  129. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +109 -1184
  130. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +115 -1134
  131. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +119 -971
  132. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +111 -1100
  133. package/dist/icons/notes-icon/NotesIcon.stories.tsx +119 -1101
  134. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +109 -1111
  135. package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +122 -684
  136. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +113 -954
  137. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +112 -877
  138. package/dist/icons/pause-icon/PauseIcon.stories.tsx +113 -1000
  139. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +115 -1070
  140. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +115 -978
  141. package/dist/icons/plus-icon/PlusIcon.stories.tsx +106 -1093
  142. package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +107 -829
  143. package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +102 -469
  144. package/dist/icons/search-icon/SearchIcon.stories.tsx +111 -1124
  145. package/dist/icons/setting-icon/SettingIcon.stories.tsx +107 -970
  146. package/dist/icons/share-icon/ShareIcon.stories.tsx +120 -1025
  147. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +117 -931
  148. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +137 -1104
  149. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +172 -982
  150. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +164 -983
  151. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +105 -958
  152. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +158 -580
  153. package/dist/icons/spinner-gradient-icon/index.tsx +6 -1
  154. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +158 -587
  155. package/dist/icons/spinner-solid-icon/index.tsx +6 -1
  156. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +146 -682
  157. package/dist/icons/spinner-solid-neutral-icon/index.tsx +1 -1
  158. package/dist/icons/star-icon/StarIcon.stories.tsx +124 -904
  159. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +112 -964
  160. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +116 -852
  161. package/dist/icons/sun-icon/SunIcon.stories.tsx +120 -831
  162. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +116 -950
  163. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +123 -980
  164. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +156 -1427
  165. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +146 -1142
  166. package/dist/icons/tick-icon/TickIcon.stories.tsx +145 -1276
  167. package/dist/icons/trash-icon/TrashIcon.stories.tsx +108 -933
  168. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +157 -1402
  169. package/dist/icons/upload-icon/UploadIcon.stories.tsx +115 -889
  170. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +118 -984
  171. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +125 -1049
  172. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +123 -1356
  173. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +110 -1171
  174. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +112 -1093
  175. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +115 -1087
  176. package/dist/icons/warning-icon/WarningIcon.stories.tsx +122 -1046
  177. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +161 -936
  178. package/dist/index.cjs +84 -84
  179. package/dist/index.js +84 -84
  180. package/dist/styles/aural-all-theme.css +1222 -0
  181. package/dist/styles/{aural-theme.css → aural-dark-theme.css} +15 -3
  182. package/dist/styles/aural-light-theme.css +1047 -0
  183. package/package.json +1 -1
@@ -1,6 +1,20 @@
1
1
  import React from "react"
2
2
  import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
+ import { CoinToonsIcon } from "src/ui/icons/coin-toons-icon"
5
+ import { HeartIcon } from "src/ui/icons/heart-icon"
6
+ import { StarIcon } from "src/ui/icons/star-icon"
7
+ import { StoreCoinIcon } from "src/ui/icons/store-coin-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 { CoinIcon } from "."
5
19
 
6
20
  const meta: Meta<typeof CoinIcon> = {
@@ -11,1194 +25,79 @@ const meta: Meta<typeof CoinIcon> = {
11
25
  backgrounds: {
12
26
  default: "dark",
13
27
  values: [
14
- { name: "dark", value: "#0a0a0a" },
15
- { name: "darker", value: "#000000" },
16
- { name: "light", value: "#ffffff" },
28
+ { name: "dark", value: "var(--color-fm-surface-primary)" },
29
+ { name: "darker", value: "var(--color-fm-neutral-0)" },
30
+ { name: "light", value: "var(--color-fm-neutral-1100)" },
17
31
  ],
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: #0a0a0a ;
44
- }
45
- #storybook-docs {
46
- background: #0a0a0a ;
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: white ;
54
- }
55
- .sbdocs-p, .sbdocs-li {
56
- color: rgba(255, 255, 255, 0.7) ;
57
- }
58
- .sbdocs-code {
59
- background: rgba(255, 255, 255, 0.1) ;
60
- color: rgba(168, 85, 247, 1) ;
61
- border: 1px solid rgba(255, 255, 255, 0.1) ;
62
- }
63
- .sbdocs-pre {
64
- background: rgba(0, 0, 0, 0.4) ;
65
- border: 1px solid rgba(255, 255, 255, 0.1) ;
66
- }
67
- .sbdocs-table {
68
- background: rgba(255, 255, 255, 0.05) ;
69
- border: 1px solid rgba(255, 255, 255, 0.1) ;
70
- }
71
- .sbdocs-table th {
72
- background: rgba(255, 255, 255, 0.05) ;
73
- color: white ;
74
- border-bottom: 1px solid rgba(255, 255, 255, 0.1) ;
75
- }
76
- .sbdocs-table td {
77
- color: rgba(255, 255, 255, 0.7) ;
78
- border-bottom: 1px solid rgba(255, 255, 255, 0.05) ;
79
- }
80
- `}
81
- </style>
82
-
83
- <div className="min-h-screen bg-gradient-to-br from-gray-900 via-yellow-900/20 to-gray-900">
84
- {/* Header */}
85
- <div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
86
- <div className="absolute inset-0 bg-gradient-to-r from-yellow-500/10 via-transparent to-amber-500/10" />
87
- <div className="relative !mx-auto max-w-7xl px-6 py-16">
88
- <div className="!space-y-6 text-center">
89
- <div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-yellow-500/30 bg-gradient-to-br from-yellow-500/20 to-amber-500/20">
90
- <CoinIcon className="h-12 w-12" />
91
- </div>
92
- <h1 className="text-5xl font-bold !text-white">CoinIcon</h1>
93
- <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
94
- A golden coin icon with authentic metallic shine and
95
- dimensional depth. Perfect for financial applications,
96
- reward systems, gaming interfaces, e-commerce platforms, and
97
- any interface where currency, earnings, or value
98
- representation is needed.
99
- </p>
100
-
101
- {/* Stats */}
102
- <div className="flex items-center justify-center gap-8 pt-8">
103
- <div className="text-center">
104
- <div className="text-3xl font-bold text-yellow-300">
105
- Currency
106
- </div>
107
- <div className="text-sm text-white/60">
108
- Financial value
109
- </div>
110
- </div>
111
- <div className="h-8 w-px bg-white/20" />
112
- <div className="text-center">
113
- <div className="text-3xl font-bold text-amber-300">
114
- Rewards
115
- </div>
116
- <div className="text-sm text-white/60">
117
- Achievement system
118
- </div>
119
- </div>
120
- <div className="h-8 w-px bg-white/20" />
121
- <div className="text-center">
122
- <div className="text-3xl font-bold text-orange-300">
123
- Premium
124
- </div>
125
- <div className="text-sm text-white/60">
126
- Golden standard
127
- </div>
128
- </div>
129
- </div>
130
- </div>
131
- </div>
132
- </div>
133
-
134
- {/* Content */}
135
- <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
136
- {/* Quick Usage */}
137
- <div className="!space-y-8">
138
- <h2 className="text-center text-3xl font-bold !text-white">
139
- Quick Start
140
- </h2>
141
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
142
- <div className="!space-y-4">
143
- <h3 className="text-xl font-semibold !text-yellow-300">
144
- Basic Usage
145
- </h3>
146
- <div className="rounded-lg bg-black/40 p-4">
147
- <pre className="overflow-x-auto text-sm !text-green-300">
148
- {`import { CoinIcon } from "@icons/coin-icon"
149
-
150
- function WalletBalance() {
35
+ <AuralIconDocsPage
36
+ accentToken="warning"
37
+ features={[
38
+ { title: "Currency", description: "In-app coin / token icon" },
39
+ { title: "Rewards", description: "Earnings and balance display" },
40
+ { title: "Accessible", description: "ARIA-ready by default" },
41
+ ]}
42
+ quickStart={{
43
+ codeExample: `import { CoinIcon } from "src/ui/icons/coin-icon"
44
+
45
+ function CoinBalance() {
151
46
  return (
152
- <div className="flex items-center gap-2">
153
- <CoinIcon className="h-5 w-5" />
154
- <span className="text-yellow-400">{balance} coins</span>
47
+ <div className="flex items-center gap-1">
48
+ <CoinIcon className="h-5 w-5 text-fm-icon-warning" />
49
+ <span>1,200</span>
155
50
  </div>
156
51
  )
157
- }`}
158
- </pre>
159
- </div>
160
- </div>
161
-
162
- <div className="!space-y-4">
163
- <h3 className="text-xl font-semibold !text-yellow-300">
164
- Live Preview
165
- </h3>
166
- <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
167
- <div className="flex items-center gap-3 rounded-lg border border-yellow-500/20 bg-yellow-500/10 px-4 py-2">
168
- <CoinIcon className="h-5 w-5" />
169
- <span className="font-medium text-yellow-300">
170
- 1,247 coins
171
- </span>
172
- </div>
173
- </div>
174
- </div>
175
- </div>
176
- </div>
177
-
178
- {/* Props Documentation */}
179
- <div className="!space-y-8">
180
- <h2 className="text-center text-3xl font-bold !text-white">
181
- Props & Configuration
182
- </h2>
183
-
184
- <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
185
- <div className="bg-white/5 p-4">
186
- <h3 className="text-xl font-semibold !text-white">Props</h3>
187
- </div>
188
- <table className="!my-0 w-full">
189
- <thead className="bg-white/5">
190
- <tr className="border-b border-white/10">
191
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
192
- Prop
193
- </th>
194
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
195
- Type
196
- </th>
197
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
198
- Default
199
- </th>
200
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
201
- Description
202
- </th>
203
- </tr>
204
- </thead>
205
- <tbody>
206
- {" "}
207
- <tr className="!bg-black/10">
208
- <td className="px-6 py-4 font-mono text-sm !text-blue-300">
209
- withAccessibility
210
- </td>
211
- <td className="px-6 py-4 text-sm !text-white/70">
212
- boolean
213
- </td>
214
- <td className="px-6 py-4 text-sm !text-white/50">
215
- true
216
- </td>
217
- <td className="px-6 py-4 text-sm !text-white/70">
218
- Whether to wrap the icon with accessibility feature
219
- </td>
220
- </tr>
221
- <tr className="border-b border-white/5 !bg-black/10">
222
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
223
- height
224
- </td>
225
- <td className="px-6 py-4 text-sm !text-white/70">
226
- number | string
227
- </td>
228
- <td className="px-6 py-4 text-sm !text-white/50">24</td>
229
- <td className="px-6 py-4 text-sm !text-white/70">
230
- Height of the icon in pixels
231
- </td>
232
- </tr>
233
- <tr className="border-b border-white/5">
234
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
235
- className
236
- </td>
237
- <td className="px-6 py-4 text-sm !text-white/70">
238
- string
239
- </td>
240
- <td className="px-6 py-4 text-sm !text-white/50">-</td>
241
- <td className="px-6 py-4 text-sm !text-white/70">
242
- CSS classes for styling (use for size overrides)
243
- </td>
244
- </tr>
245
- <tr className="border-b border-white/5 !bg-black/10">
246
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
247
- style
248
- </td>
249
- <td className="px-6 py-4 text-sm !text-white/70">
250
- CSSProperties
251
- </td>
252
- <td className="px-6 py-4 text-sm !text-white/50">-</td>
253
- <td className="px-6 py-4 text-sm !text-white/70">
254
- Inline styles (avoid changing fill colors)
255
- </td>
256
- </tr>
257
- <tr className="border-b border-white/5">
258
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
259
- onClick
260
- </td>
261
- <td className="px-6 py-4 text-sm !text-white/70">
262
- function
263
- </td>
264
- <td className="px-6 py-4 text-sm !text-white/50">-</td>
265
- <td className="px-6 py-4 text-sm !text-white/70">
266
- Click handler for interactive use
267
- </td>
268
- </tr>
269
- <tr className="!bg-black/10">
270
- <td className="px-6 py-4 font-mono text-sm !text-yellow-300">
271
- ...svgProps
272
- </td>
273
- <td className="px-6 py-4 text-sm !text-white/70">
274
- SVGProps
275
- </td>
276
- <td className="px-6 py-4 text-sm !text-white/50">-</td>
277
- <td className="px-6 py-4 text-sm !text-white/70">
278
- All standard SVG element props
279
- </td>
280
- </tr>
281
- </tbody>
282
- </table>
283
- </div>
284
-
285
- <div className="rounded-lg border border-yellow-500/20 bg-yellow-500/10 p-4">
286
- <div className="flex items-center gap-2 text-sm text-yellow-200">
287
- <CoinIcon className="h-4 w-4" />
288
- <span>
289
- <strong>Note:</strong> CoinIcon uses predefined fill
290
- colors for authentic golden appearance. Avoid overriding
291
- fill colors to maintain visual consistency.
292
- </span>
293
- </div>
294
- </div>
295
- </div>
296
-
297
- {/* Size Variations */}
298
- <div className="!space-y-8">
299
- <h2 className="text-center text-3xl font-bold !text-white">
300
- Size Variations
301
- </h2>
302
- <div className="rounded-lg border border-white/10 bg-white/5 p-8">
303
- <div className="!space-y-6">
304
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
305
- <div className="!space-y-4">
306
- <h3 className="text-lg font-semibold !text-yellow-300">
307
- Standard Sizes
308
- </h3>
309
- <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
310
- <div className="text-center">
311
- <CoinIcon className="!mx-auto mb-2 h-3 w-3" />
312
- <span className="text-xs text-white/60">12px</span>
313
- </div>
314
- <div className="text-center">
315
- <CoinIcon className="!mx-auto mb-2 h-4 w-4" />
316
- <span className="text-xs text-white/60">16px</span>
317
- </div>
318
- <div className="text-center">
319
- <CoinIcon className="!mx-auto mb-2 h-5 w-5" />
320
- <span className="text-xs text-white/60">20px</span>
321
- </div>
322
- <div className="text-center">
323
- <CoinIcon className="!mx-auto mb-2 h-6 w-6" />
324
- <span className="text-xs text-white/60">24px</span>
325
- </div>
326
- <div className="text-center">
327
- <CoinIcon className="!mx-auto mb-2 h-8 w-8" />
328
- <span className="text-xs text-white/60">32px</span>
329
- </div>
330
- <div className="text-center">
331
- <CoinIcon className="!mx-auto mb-2 h-12 w-12" />
332
- <span className="text-xs text-white/60">48px</span>
333
- </div>
334
- </div>
335
- </div>
336
-
337
- <div className="!space-y-4">
338
- <h3 className="text-lg font-semibold !text-yellow-300">
339
- Code Example
340
- </h3>
341
- <div className="rounded-lg bg-black/40 p-4">
342
- <pre className="overflow-x-auto text-sm !text-cyan-300">
343
- {`// Small (16px) - inline currency
344
- <CoinIcon className="h-4 w-4" />
345
-
346
- // Medium (24px) - standard interface
347
- <CoinIcon className="h-6 w-6" />
348
-
349
- // Large (32px) - prominent displays
350
- <CoinIcon className="h-8 w-8" />
351
-
352
- // Custom size
353
- <CoinIcon width={40} height={40} />`}
354
- </pre>
355
- </div>
356
- </div>
357
- </div>
358
- </div>
359
- </div>
360
- </div>
361
-
362
- {/* Color & Design */}
363
- <div className="!space-y-8">
364
- <h2 className="text-center text-3xl font-bold !text-white">
365
- Design & Styling
366
- </h2>
367
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
368
- <div className="!space-y-4">
369
- <h3 className="text-lg font-semibold !text-yellow-300">
370
- Built-in Golden Design
371
- </h3>
372
- <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
373
- <div className="flex items-center gap-4">
374
- <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-black/30">
375
- <CoinIcon className="h-8 w-8" />
376
- </div>
377
- <div>
378
- <div className="text-sm font-medium text-white">
379
- Authentic Golden Color
380
- </div>
381
- <div className="text-xs text-white/60">
382
- #FFB340 base with shine overlay
383
- </div>
384
- </div>
385
- </div>
386
- <div className="flex items-center gap-4">
387
- <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-white/5">
388
- <CoinIcon className="h-8 w-8" />
389
- </div>
390
- <div>
391
- <div className="text-sm font-medium text-white">
392
- Dimensional Shine
393
- </div>
394
- <div className="text-xs text-white/60">
395
- #FFF5C6 highlight for depth
396
- </div>
397
- </div>
398
- </div>
399
- <div className="flex items-center gap-4">
400
- <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-yellow-500/10">
401
- <CoinIcon className="h-8 w-8" />
402
- </div>
403
- <div>
404
- <div className="text-sm font-medium text-white">
405
- Currency Symbol
406
- </div>
407
- <div className="text-xs text-white/60">
408
- #FFFAE8 detail for recognition
409
- </div>
410
- </div>
411
- </div>
412
- </div>
413
- </div>
414
-
415
- <div className="!space-y-4">
416
- <h3 className="text-lg font-semibold !text-yellow-300">
417
- Usage Guidelines
418
- </h3>
419
- <div className="rounded-lg bg-black/40 p-4">
420
- <pre className="overflow-x-auto text-sm !text-green-300">
421
- {`// Recommended usage
422
- <CoinIcon className="h-5 w-5" />
423
-
424
- // With balance display
425
- <div className="flex items-center gap-2">
426
- <CoinIcon className="h-4 w-4" />
427
- <span className="text-yellow-400">1,247</span>
428
- </div>
429
-
430
- // Interactive coin button
431
- <button
432
- className="flex items-center gap-2 p-2 rounded-lg
433
- hover:bg-yellow-500/10 transition-colors"
434
- >
435
- <CoinIcon className="h-5 w-5" />
436
- <span>Earn Coins</span>
437
- </button>
438
-
439
- // Avoid overriding colors
440
- // ❌ Don't do this:
441
- <CoinIcon style={{ fill: 'red' }} />
442
-
443
- // ✅ Use as designed:
444
- <CoinIcon className="h-6 w-6" />`}
445
- </pre>
446
- </div>
447
- </div>
448
- </div>
52
+ }`,
53
+ livePreview: (
54
+ <div className="flex items-center gap-1">
55
+ <CoinIcon className="text-fm-icon-warning h-6 w-6" />
56
+ <span className="text-fm-primary font-fm-text text-sm">
57
+ 1,200
58
+ </span>
449
59
  </div>
450
-
451
- {/* Usage Examples */}
452
- <div className="!space-y-8">
453
- <h2 className="text-center text-3xl font-bold !text-white">
454
- Usage Examples
455
- </h2>
456
-
457
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
458
- {/* Wallet Interface */}
459
- <div className="!space-y-4">
460
- <h3 className="text-lg font-semibold !text-yellow-300">
461
- Digital Wallet
462
- </h3>
463
- <div className="!space-y-4">
464
- <div className="rounded-lg border border-white/10 bg-white/5 p-6">
465
- <div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
466
- <div className="border-b border-white/10 bg-gradient-to-r from-yellow-500/20 to-amber-500/20 p-4">
467
- <div className="flex items-center justify-between">
468
- <div>
469
- <h4 className="text-lg font-semibold text-white">
470
- My Wallet
471
- </h4>
472
- <p className="text-sm text-white/60">
473
- Digital currency balance
474
- </p>
475
- </div>
476
- <div className="flex items-center gap-2">
477
- <CoinIcon className="h-6 w-6" />
478
- <span className="text-xl font-bold text-yellow-300">
479
- 2,847
480
- </span>
481
- </div>
482
- </div>
483
- </div>
484
- <div className="space-y-4 p-4">
485
- <div className="flex items-center justify-between">
486
- <div className="flex items-center gap-3">
487
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-green-500/20">
488
- <span className="text-sm text-green-400">
489
- +
490
- </span>
491
- </div>
492
- <div>
493
- <div className="text-sm font-medium text-white">
494
- Daily Bonus
495
- </div>
496
- <div className="text-xs text-white/60">
497
- Earned today
498
- </div>
499
- </div>
500
- </div>
501
- <div className="flex items-center gap-1">
502
- <CoinIcon className="h-4 w-4" />
503
- <span className="font-medium text-green-400">
504
- +50
505
- </span>
506
- </div>
507
- </div>
508
- <div className="flex items-center justify-between">
509
- <div className="flex items-center gap-3">
510
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-blue-500/20">
511
- <span className="text-sm text-blue-400">
512
- 🎯
513
- </span>
514
- </div>
515
- <div>
516
- <div className="text-sm font-medium text-white">
517
- Quest Reward
518
- </div>
519
- <div className="text-xs text-white/60">
520
- Challenge completed
521
- </div>
522
- </div>
523
- </div>
524
- <div className="flex items-center gap-1">
525
- <CoinIcon className="h-4 w-4" />
526
- <span className="font-medium text-blue-400">
527
- +125
528
- </span>
529
- </div>
530
- </div>
531
- <div className="flex items-center justify-between">
532
- <div className="flex items-center gap-3">
533
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-red-500/20">
534
- <span className="text-sm text-red-400">
535
- -
536
- </span>
537
- </div>
538
- <div>
539
- <div className="text-sm font-medium text-white">
540
- Store Purchase
541
- </div>
542
- <div className="text-xs text-white/60">
543
- Power-up bought
544
- </div>
545
- </div>
546
- </div>
547
- <div className="flex items-center gap-1">
548
- <CoinIcon className="h-4 w-4" />
549
- <span className="font-medium text-red-400">
550
- -75
551
- </span>
552
- </div>
553
- </div>
554
- </div>
555
- </div>
556
- </div>
557
- <div className="rounded-lg bg-black/40 p-4">
558
- <pre className="overflow-x-auto text-sm !text-green-300">
559
- {`// Digital wallet interface
560
- <div className="wallet-header">
561
- <div className="wallet-info">
562
- <h3>My Wallet</h3>
563
- <p>Digital currency balance</p>
564
- </div>
565
- <div className="balance-display">
566
- <CoinIcon className="h-6 w-6" />
567
- <span className="balance">{balance}</span>
568
- </div>
569
- </div>
570
- <div className="transaction-list">
571
- {transactions.map(transaction => (
572
- <div key={transaction.id} className="transaction-item">
573
- <TransactionIcon type={transaction.type} />
574
- <TransactionDetails transaction={transaction} />
575
- <div className="coin-amount">
576
- <CoinIcon className="h-4 w-4" />
577
- <span className={transaction.type === 'earned' ? 'text-green' : 'text-red'}>
578
- {transaction.type === 'earned' ? '+' : '-'}{transaction.amount}
579
- </span>
580
- </div>
581
- </div>
582
- ))}
583
- </div>`}
584
- </pre>
585
- </div>
586
- </div>
587
- </div>
588
-
589
- {/* Game Store */}
590
- <div className="!space-y-4">
591
- <h3 className="text-lg font-semibold !text-yellow-300">
592
- Game Store
593
- </h3>
594
- <div className="!space-y-4">
595
- <div className="rounded-lg border border-white/10 bg-white/5 p-6">
596
- <div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
597
- <div className="border-b border-white/10 bg-white/5 p-4">
598
- <div className="flex items-center justify-between">
599
- <h4 className="text-lg font-semibold text-white">
600
- Item Shop
601
- </h4>
602
- <div className="flex items-center gap-2 rounded-lg border border-yellow-500/30 bg-yellow-500/20 px-3 py-1">
603
- <CoinIcon className="h-4 w-4" />
604
- <span className="font-medium text-yellow-300">
605
- 2,847
606
- </span>
607
- </div>
608
- </div>
609
- </div>
610
- <div className="grid grid-cols-2 gap-3 p-4">
611
- <div className="rounded-lg border border-white/10 bg-black/30 p-3">
612
- <div className="mb-2 flex aspect-square w-full items-center justify-center rounded bg-purple-500/20">
613
- <span className="text-2xl">⚔️</span>
614
- </div>
615
- <div className="mb-1 text-sm font-medium text-white">
616
- Epic Sword
617
- </div>
618
- <div className="flex items-center justify-between">
619
- <div className="flex items-center gap-1">
620
- <CoinIcon className="h-3 w-3" />
621
- <span className="text-xs text-yellow-400">
622
- 500
623
- </span>
624
- </div>
625
- <button className="rounded border border-yellow-500/30 bg-yellow-500/20 px-2 py-1 text-xs text-yellow-300 transition-colors hover:bg-yellow-500/30">
626
- Buy
627
- </button>
628
- </div>
629
- </div>
630
- <div className="rounded-lg border border-white/10 bg-black/30 p-3">
631
- <div className="mb-2 flex aspect-square w-full items-center justify-center rounded bg-blue-500/20">
632
- <span className="text-2xl">🛡️</span>
633
- </div>
634
- <div className="mb-1 text-sm font-medium text-white">
635
- Magic Shield
636
- </div>
637
- <div className="flex items-center justify-between">
638
- <div className="flex items-center gap-1">
639
- <CoinIcon className="h-3 w-3" />
640
- <span className="text-xs text-yellow-400">
641
- 350
642
- </span>
643
- </div>
644
- <button className="rounded border border-yellow-500/30 bg-yellow-500/20 px-2 py-1 text-xs text-yellow-300 transition-colors hover:bg-yellow-500/30">
645
- Buy
646
- </button>
647
- </div>
648
- </div>
649
- <div className="rounded-lg border border-white/10 bg-black/30 p-3">
650
- <div className="mb-2 flex aspect-square w-full items-center justify-center rounded bg-green-500/20">
651
- <span className="text-2xl">🧪</span>
652
- </div>
653
- <div className="mb-1 text-sm font-medium text-white">
654
- Health Potion
655
- </div>
656
- <div className="flex items-center justify-between">
657
- <div className="flex items-center gap-1">
658
- <CoinIcon className="h-3 w-3" />
659
- <span className="text-xs text-yellow-400">
660
- 25
661
- </span>
662
- </div>
663
- <button className="rounded border border-yellow-500/30 bg-yellow-500/20 px-2 py-1 text-xs text-yellow-300 transition-colors hover:bg-yellow-500/30">
664
- Buy
665
- </button>
666
- </div>
667
- </div>
668
- <div className="rounded-lg border border-white/10 bg-black/30 p-3">
669
- <div className="mb-2 flex aspect-square w-full items-center justify-center rounded bg-red-500/20">
670
- <span className="text-2xl">💎</span>
671
- </div>
672
- <div className="mb-1 text-sm font-medium text-white">
673
- Rare Gem
674
- </div>
675
- <div className="flex items-center justify-between">
676
- <div className="flex items-center gap-1">
677
- <CoinIcon className="h-3 w-3" />
678
- <span className="text-xs text-yellow-400">
679
- 1,200
680
- </span>
681
- </div>
682
- <button className="rounded border border-red-500/30 bg-red-500/20 px-2 py-1 text-xs text-red-300">
683
- Insufficient
684
- </button>
685
- </div>
686
- </div>
687
- </div>
688
- </div>
689
- </div>
690
- <div className="rounded-lg bg-black/40 p-4">
691
- <pre className="overflow-x-auto text-sm !text-green-300">
692
- {`// Game store with coin pricing
693
- <div className="store-header">
694
- <h3>Item Shop</h3>
695
- <div className="player-balance">
696
- <CoinIcon className="h-4 w-4" />
697
- <span>{playerCoins}</span>
698
- </div>
699
- </div>
700
- <div className="item-grid">
701
- {storeItems.map(item => (
702
- <div key={item.id} className="store-item">
703
- <ItemIcon item={item} />
704
- <div className="item-name">{item.name}</div>
705
- <div className="item-footer">
706
- <div className="item-price">
707
- <CoinIcon className="h-3 w-3" />
708
- <span>{item.price}</span>
709
- </div>
710
- <button
711
- className={playerCoins >= item.price ? 'buy-btn' : 'insufficient-btn'}
712
- disabled={playerCoins < item.price}
713
- onClick={() => purchaseItem(item)}
714
- >
715
- {playerCoins >= item.price ? 'Buy' : 'Insufficient'}
716
- </button>
717
- </div>
718
- </div>
719
- ))}
720
- </div>`}
721
- </pre>
722
- </div>
723
- </div>
724
- </div>
725
-
726
- {/* Rewards Dashboard */}
727
- <div className="!space-y-4">
728
- <h3 className="text-lg font-semibold !text-yellow-300">
729
- Rewards Dashboard
730
- </h3>
731
- <div className="!space-y-4">
732
- <div className="rounded-lg border border-white/10 bg-white/5 p-6">
733
- <div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
734
- <div className="border-b border-white/10 bg-gradient-to-r from-purple-500/20 to-yellow-500/20 p-4">
735
- <h4 className="mb-2 text-lg font-semibold text-white">
736
- Daily Challenges
737
- </h4>
738
- <div className="text-sm text-white/60">
739
- Complete tasks to earn coins
740
- </div>
741
- </div>
742
- <div className="space-y-3 p-4">
743
- <div className="flex items-center justify-between rounded-lg border border-green-500/20 bg-green-500/10 p-3">
744
- <div className="flex items-center gap-3">
745
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-green-500/20">
746
- <span className="text-sm text-green-400">
747
-
748
- </span>
749
- </div>
750
- <div>
751
- <div className="text-sm font-medium text-white">
752
- Login Streak
753
- </div>
754
- <div className="text-xs text-green-400">
755
- Completed
756
- </div>
757
- </div>
758
- </div>
759
- <div className="flex items-center gap-1">
760
- <CoinIcon className="h-4 w-4" />
761
- <span className="font-medium text-green-400">
762
- +10
763
- </span>
764
- </div>
765
- </div>
766
- <div className="flex items-center justify-between rounded-lg border border-blue-500/20 bg-blue-500/10 p-3">
767
- <div className="flex items-center gap-3">
768
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-blue-500/20">
769
- <span className="text-sm text-blue-400">
770
- 2/3
771
- </span>
772
- </div>
773
- <div>
774
- <div className="text-sm font-medium text-white">
775
- Share Content
776
- </div>
777
- <div className="text-xs text-blue-400">
778
- 2 of 3 shares
779
- </div>
780
- </div>
781
- </div>
782
- <div className="flex items-center gap-1">
783
- <CoinIcon className="h-4 w-4" />
784
- <span className="font-medium text-yellow-400">
785
- 25
786
- </span>
787
- </div>
788
- </div>
789
- <div className="flex items-center justify-between rounded-lg border border-white/10 bg-white/5 p-3">
790
- <div className="flex items-center gap-3">
791
- <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-white/10">
792
- <span className="text-sm text-white/60">
793
- 0/5
794
- </span>
795
- </div>
796
- <div>
797
- <div className="text-sm font-medium text-white">
798
- Invite Friends
799
- </div>
800
- <div className="text-xs text-white/60">
801
- 0 of 5 invites
802
- </div>
803
- </div>
804
- </div>
805
- <div className="flex items-center gap-1">
806
- <CoinIcon className="h-4 w-4" />
807
- <span className="font-medium text-yellow-400">
808
- 100
809
- </span>
810
- </div>
811
- </div>
812
- </div>
813
- </div>
814
- </div>
815
- <div className="rounded-lg bg-black/40 p-4">
816
- <pre className="overflow-x-auto text-sm !text-green-300">
817
- {`// Rewards and challenges dashboard
818
- <div className="challenges-dashboard">
819
- <div className="dashboard-header">
820
- <h3>Daily Challenges</h3>
821
- <p>Complete tasks to earn coins</p>
822
- </div>
823
- <div className="challenges-list">
824
- {challenges.map(challenge => (
825
- <div
826
- key={challenge.id}
827
- className={challenge.completed ? 'challenge-completed' : 'challenge-active'}
828
- >
829
- <ChallengeIcon
830
- progress={challenge.progress}
831
- total={challenge.total}
832
- completed={challenge.completed}
60
+ ),
61
+ }}
62
+ relatedIcons={[
63
+ {
64
+ name: "CoinToonsIcon",
65
+ description: "Toon-styled coin icon",
66
+ icon: CoinToonsIcon,
67
+ accentToken: "info",
68
+ },
69
+ {
70
+ name: "StoreCoinIcon",
71
+ description: "Store / shop coin icon",
72
+ icon: StoreCoinIcon,
73
+ accentToken: "positive",
74
+ },
75
+ {
76
+ name: "StarIcon",
77
+ description: "Star / rating icon",
78
+ icon: StarIcon,
79
+ accentToken: "warning",
80
+ },
81
+ {
82
+ name: "HeartIcon",
83
+ description: "Heart / favourite icon",
84
+ icon: HeartIcon,
85
+ accentToken: "negative",
86
+ },
87
+ ]}
833
88
  />
834
- <div className="challenge-info">
835
- <div className="challenge-title">{challenge.title}</div>
836
- <div className="challenge-progress">
837
- {challenge.progress} of {challenge.total} {challenge.unit}
838
- </div>
839
- </div>
840
- <div className="challenge-reward">
841
- <CoinIcon className="h-4 w-4" />
842
- <span className="reward-amount">{challenge.reward}</span>
843
- </div>
844
- </div>
845
- ))}
846
- </div>
847
- </div>`}
848
- </pre>
849
- </div>
850
- </div>
851
- </div>
852
-
853
- {/* E-commerce Pricing */}
854
- <div className="!space-y-4">
855
- <h3 className="text-lg font-semibold !text-yellow-300">
856
- E-commerce Integration
857
- </h3>
858
- <div className="!space-y-4">
859
- <div className="rounded-lg border border-white/10 bg-white/5 p-6">
860
- <div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
861
- <div className="border-b border-white/10 bg-white/5 p-4">
862
- <h4 className="text-lg font-semibold text-white">
863
- Premium Membership
864
- </h4>
865
- <p className="text-sm text-white/60">
866
- Unlock exclusive features and benefits
867
- </p>
868
- </div>
869
- <div className="space-y-4 p-6">
870
- <div className="grid grid-cols-3 gap-4">
871
- <div className="rounded-lg border border-white/10 bg-white/5 p-4 text-center">
872
- <div className="mb-1 text-2xl font-bold text-white">
873
- Basic
874
- </div>
875
- <div className="mb-2 flex items-center justify-center gap-1">
876
- <CoinIcon className="h-4 w-4" />
877
- <span className="font-medium text-yellow-400">
878
- Free
879
- </span>
880
- </div>
881
- <ul className="space-y-1 text-xs text-white/60">
882
- <li>Limited features</li>
883
- <li>Basic support</li>
884
- </ul>
885
- </div>
886
- <div className="rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-4 text-center">
887
- <div className="mb-1 text-2xl font-bold text-white">
888
- Pro
889
- </div>
890
- <div className="mb-2 flex items-center justify-center gap-1">
891
- <CoinIcon className="h-4 w-4" />
892
- <span className="font-medium text-yellow-400">
893
- 299/mo
894
- </span>
895
- </div>
896
- <ul className="space-y-1 text-xs text-white/60">
897
- <li>Advanced features</li>
898
- <li>Priority support</li>
899
- </ul>
900
- </div>
901
- <div className="rounded-lg border border-purple-500/30 bg-purple-500/10 p-4 text-center">
902
- <div className="mb-1 text-2xl font-bold text-white">
903
- Enterprise
904
- </div>
905
- <div className="mb-2 flex items-center justify-center gap-1">
906
- <CoinIcon className="h-4 w-4" />
907
- <span className="font-medium text-yellow-400">
908
- 999/mo
909
- </span>
910
- </div>
911
- <ul className="space-y-1 text-xs text-white/60">
912
- <li>All features</li>
913
- <li>24/7 support</li>
914
- </ul>
915
- </div>
916
- </div>
917
- <div className="text-center">
918
- <button className="rounded-lg border border-yellow-500/30 bg-yellow-500/20 px-6 py-2 text-yellow-300 transition-colors hover:bg-yellow-500/30">
919
- Choose Plan
920
- </button>
921
- </div>
922
- </div>
923
- </div>
924
- </div>
925
- <div className="rounded-lg bg-black/40 p-4">
926
- <pre className="overflow-x-auto text-sm !text-green-300">
927
- {`// E-commerce pricing with coin display
928
- <div className="pricing-plans">
929
- <div className="pricing-header">
930
- <h3>Premium Membership</h3>
931
- <p>Unlock exclusive features and benefits</p>
932
- </div>
933
- <div className="plans-grid">
934
- {pricingPlans.map(plan => (
935
- <div
936
- key={plan.id}
937
- className={plan.featured ? 'plan-featured' : 'plan-standard'}
938
- >
939
- <div className="plan-name">{plan.name}</div>
940
- <div className="plan-price">
941
- <CoinIcon className="h-4 w-4" />
942
- <span className="price-amount">
943
- {plan.price === 0 ? 'Free' : plan.price + '/mo'}
944
- </span>
945
- </div>
946
- <ul className="plan-features">
947
- {plan.features.map(feature => (
948
- <li key={feature}>{feature}</li>
949
- ))}
950
- </ul>
951
- <button
952
- className="plan-cta"
953
- onClick={() => selectPlan(plan)}
954
- >
955
- Choose Plan
956
- </button>
957
- </div>
958
- ))}
959
- </div>
960
- </div>`}
961
- </pre>
962
- </div>
963
- </div>
964
- </div>
965
- </div>
966
- </div>
967
-
968
- {/* Accessibility */}
969
- <div className="!space-y-8">
970
- <h2 className="text-center text-3xl font-bold !text-white">
971
- Accessibility Features
972
- </h2>
973
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
974
- <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
975
- <h3 className="text-lg font-semibold !text-green-300">
976
- ✅ Built-in Features
977
- </h3>
978
- <ul className="!space-y-2 text-sm !text-white/70">
979
- <li className="!text-white/70">
980
- Uses Radix UI AccessibleIcon wrapper
981
- </li>
982
- <li className="!text-white/70">
983
- Provides screen reader label "Coin icon"
984
- </li>
985
- <li className="!text-white/70">
986
- Supports keyboard navigation when interactive
987
- </li>
988
- <li className="!text-white/70">
989
- High contrast golden colors for visibility
990
- </li>
991
- <li className="!text-white/70">
992
- Consistent visual design across all sizes
993
- </li>
994
- </ul>
995
- </div>
996
-
997
- <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
998
- <h3 className="text-lg font-semibold !text-yellow-300">
999
- 💡 Best Practices
1000
- </h3>
1001
- <ul className="!space-y-2 text-sm text-white/70">
1002
- <li className="!text-white/70">
1003
- Always pair with numerical values for context
1004
- </li>
1005
- <li className="!text-white/70">
1006
- Use consistent coin terminology across the interface
1007
- </li>
1008
- <li className="!text-white/70">
1009
- Provide clear labels for coin-based interactions
1010
- </li>
1011
- <li className="!text-white/70">
1012
- Consider currency exchange rates for international users
1013
- </li>
1014
- <li className="!text-white/70">
1015
- Implement proper error handling for insufficient funds
1016
- </li>
1017
- </ul>
1018
- </div>
1019
- </div>
1020
-
1021
- <div className="rounded-lg border border-white/10 bg-white/5 p-6">
1022
- <h3 className="mb-4 text-lg font-semibold !text-blue-300">
1023
- Proper ARIA Implementation
1024
- </h3>
1025
- <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
1026
- <div className="rounded-lg bg-black/40 p-4">
1027
- <pre className="overflow-x-auto text-sm !text-cyan-300">
1028
- {`// Wallet balance display
1029
- <div className="balance-display">
1030
- <CoinIcon
1031
- className="h-5 w-5"
1032
- aria-hidden="true"
1033
- />
1034
- <span
1035
- aria-label={balance + " coins in wallet"}
1036
- className="balance-amount"
1037
- >
1038
- {balance}
1039
- </span>
1040
- </div>
1041
-
1042
- // Interactive coin button
1043
- <button
1044
- aria-label={"Purchase item for " + price + " coins"}
1045
- aria-describedby="coin-balance"
1046
- onClick={handlePurchase}
1047
- disabled={balance < price}
1048
- >
1049
- <CoinIcon className="h-4 w-4" />
1050
- <span>{price}</span>
1051
- </button>
1052
- <div id="coin-balance" className="sr-only">
1053
- Current balance: {balance} coins
1054
- </div>
1055
-
1056
- // Reward notification
1057
- <div
1058
- role="alert"
1059
- aria-live="polite"
1060
- className="reward-notification"
1061
- >
1062
- <CoinIcon className="h-4 w-4" />
1063
- <span>You earned {rewardAmount} coins!</span>
1064
- </div>
1065
-
1066
- // Store item pricing
1067
- <div className="store-item">
1068
- <ItemImage />
1069
- <div className="item-details">
1070
- <h3>{item.name}</h3>
1071
- <div
1072
- className="item-price"
1073
- aria-label={"Price: " + item.price + " coins"}
1074
- >
1075
- <CoinIcon className="h-3 w-3" />
1076
- <span>{item.price}</span>
1077
- </div>
1078
- </div>
1079
- </div>`}
1080
- </pre>
1081
- </div>
1082
- <div className="!space-y-4">
1083
- <p className="text-sm !text-white/70">
1084
- When using CoinIcon for financial displays, always
1085
- provide clear context about the currency value and
1086
- ensure users understand the monetary implications of
1087
- their actions.
1088
- </p>
1089
- <div className="rounded-lg border border-yellow-500/20 bg-yellow-500/10 p-4">
1090
- <div className="flex items-center gap-2 text-sm text-yellow-200">
1091
- <CoinIcon className="h-4 w-4" />
1092
- <span>
1093
- Always announce balance changes and transaction
1094
- results to screen readers
1095
- </span>
1096
- </div>
1097
- </div>
1098
- </div>
1099
- </div>
1100
- </div>
1101
- </div>
1102
-
1103
- {/* Related Icons */}
1104
- <div className="!space-y-8">
1105
- <h2 className="text-center text-3xl font-bold !text-white">
1106
- Related Icons
1107
- </h2>
1108
- <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
1109
- <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
1110
- <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
1111
- <span className="!text-2xl !text-white">💳</span>
1112
- </div>
1113
- <div>
1114
- <div className="font-medium text-white">
1115
- CreditCardIcon
1116
- </div>
1117
- <div className="text-xs text-white/60">
1118
- Payment method
1119
- </div>
1120
- </div>
1121
- </div>
1122
- <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
1123
- <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
1124
- <span className="!text-2xl !text-white">💰</span>
1125
- </div>
1126
- <div>
1127
- <div className="font-medium text-white">WalletIcon</div>
1128
- <div className="text-xs text-white/60">
1129
- Digital wallet
1130
- </div>
1131
- </div>
1132
- </div>
1133
- <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
1134
- <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
1135
- <span className="!text-2xl !text-white">🏆</span>
1136
- </div>
1137
- <div>
1138
- <div className="font-medium text-white">TrophyIcon</div>
1139
- <div className="text-xs text-white/60">
1140
- Achievement reward
1141
- </div>
1142
- </div>
1143
- </div>
1144
- <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
1145
- <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
1146
- <span className="!text-2xl !text-white">🛒</span>
1147
- </div>
1148
- <div>
1149
- <div className="font-medium text-white">ShoppingIcon</div>
1150
- <div className="text-xs text-white/60">
1151
- Purchase items
1152
- </div>
1153
- </div>
1154
- </div>
1155
- </div>
1156
- </div>
1157
- </div>
1158
-
1159
- {/* Footer */}
1160
- <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
1161
- <div className="!mx-auto max-w-7xl px-6 py-8">
1162
- <div className="!space-y-4 text-center">
1163
- <p className="!text-white/60">
1164
- CoinIcon is part of the Aural UI icon library, built with
1165
- accessibility and financial interface best practices in
1166
- mind.
1167
- </p>
1168
- <p className="text-sm !text-white/40">
1169
- All icons use Radix UI's AccessibleIcon for screen reader
1170
- compatibility and follow WCAG guidelines for monetary
1171
- displays and transaction interfaces.
1172
- </p>
1173
- </div>
1174
- </div>
1175
- </div>
1176
- </div>
1177
- </>
1178
89
  ),
1179
90
  },
1180
91
  },
1181
92
  tags: ["autodocs"],
1182
93
  argTypes: {
1183
- width: {
1184
- control: { type: "range", min: 8, max: 96, step: 2 },
1185
- description: "Width of the icon in pixels",
1186
- },
1187
- withAccessibility: {
1188
- control: "boolean",
1189
- description: "Whether to wrap the icon with accessibility features",
1190
- },
1191
- height: {
1192
- control: { type: "range", min: 8, max: 96, step: 2 },
1193
- description: "Height of the icon in pixels",
1194
- },
1195
94
  className: {
1196
95
  control: "text",
1197
- description: "CSS classes for styling (use for size overrides)",
96
+ description: "CSS classes including color token",
1198
97
  },
1199
- onClick: {
1200
- action: "clicked",
1201
- description: "Click handler for interactive use",
98
+ withAccessibility: {
99
+ control: "boolean",
100
+ description: "Wrap with accessibility label",
1202
101
  },
1203
102
  },
1204
103
  }
@@ -1206,185 +105,88 @@ function WalletBalance() {
1206
105
  export default meta
1207
106
  type Story = StoryObj<typeof CoinIcon>
1208
107
 
1209
- // Story parameters for consistent dark theme
1210
- const storyParameters = {
1211
- backgrounds: {
1212
- default: "dark",
1213
- values: [
1214
- { name: "dark", value: "#0a0a0a" },
1215
- { name: "darker", value: "#000000" },
1216
- ],
1217
- },
1218
- }
1219
-
1220
108
  export const Default: Story = {
1221
109
  args: {
1222
- className: "h-8 w-8",
110
+ className: "h-6 w-6 text-fm-icon-warning",
1223
111
  withAccessibility: true,
1224
112
  },
1225
- parameters: storyParameters,
1226
113
  render: (args) => (
1227
- <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
114
+ <IconDefaultCanvas>
1228
115
  <CoinIcon {...args} />
1229
- </div>
116
+ </IconDefaultCanvas>
1230
117
  ),
1231
118
  }
1232
119
 
1233
120
  export const SizeVariations: Story = {
1234
- parameters: {
1235
- ...storyParameters,
1236
- docs: {
1237
- description: {
1238
- story:
1239
- "CoinIcon in different sizes, from small inline currency displays to large wallet interfaces.",
1240
- },
1241
- },
1242
- },
1243
- render: () => (
1244
- <div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1245
- <div className="text-center">
1246
- <CoinIcon className="!mx-auto mb-2 h-3 w-3" />
1247
- <span className="text-xs text-white/60">12px</span>
1248
- </div>
1249
- <div className="text-center">
1250
- <CoinIcon className="!mx-auto mb-2 h-4 w-4" />
1251
- <span className="text-xs text-white/60">16px</span>
1252
- </div>
1253
- <div className="text-center">
1254
- <CoinIcon className="!mx-auto mb-2 h-5 w-5" />
1255
- <span className="text-xs text-white/60">20px</span>
1256
- </div>
1257
- <div className="text-center">
1258
- <CoinIcon className="!mx-auto mb-2 h-6 w-6" />
1259
- <span className="text-xs text-white/60">24px</span>
1260
- </div>
1261
- <div className="text-center">
1262
- <CoinIcon className="!mx-auto mb-2 h-8 w-8" />
1263
- <span className="text-xs text-white/60">32px</span>
1264
- </div>
1265
- <div className="text-center">
1266
- <CoinIcon className="!mx-auto mb-2 h-12 w-12" />
1267
- <span className="text-xs text-white/60">48px</span>
1268
- </div>
1269
- </div>
1270
- ),
121
+ render: () => <IconSizeVariations icon={CoinIcon} />,
1271
122
  }
1272
123
 
1273
- export const ContextualUsage: Story = {
1274
- parameters: {
1275
- ...storyParameters,
1276
- docs: {
1277
- description: {
1278
- story:
1279
- "CoinIcon in different contextual applications showing its built-in golden design.",
1280
- },
1281
- },
1282
- },
1283
- render: () => (
1284
- <div className="grid min-h-dvh grid-cols-1 items-center justify-center gap-6 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8 md:grid-cols-3">
1285
- <div className="text-center">
1286
- <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-yellow-500/30 bg-yellow-500/20">
1287
- <CoinIcon className="h-8 w-8" />
1288
- </div>
1289
- <div className="text-sm font-medium text-white">Wallet Balance</div>
1290
- <div className="text-xs text-yellow-400">Currency display</div>
1291
- </div>
1292
- <div className="text-center">
1293
- <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-amber-500/30 bg-amber-500/20">
1294
- <CoinIcon className="h-8 w-8" />
1295
- </div>
1296
- <div className="text-sm font-medium text-white">Store Pricing</div>
1297
- <div className="text-xs text-amber-400">E-commerce value</div>
1298
- </div>
1299
- <div className="text-center">
1300
- <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-orange-500/30 bg-orange-500/20">
1301
- <CoinIcon className="h-8 w-8" />
1302
- </div>
1303
- <div className="text-sm font-medium text-white">Game Rewards</div>
1304
- <div className="text-xs text-orange-400">Achievement system</div>
1305
- </div>
1306
- </div>
1307
- ),
124
+ export const ColorVariations: Story = {
125
+ render: () => <IconColorVariations icon={CoinIcon} />,
1308
126
  }
1309
127
 
1310
128
  export const UsageExamples: Story = {
1311
- parameters: {
1312
- ...storyParameters,
1313
- docs: {
1314
- description: {
1315
- story:
1316
- "Real-world usage examples showing CoinIcon in different financial and gaming contexts.",
1317
- },
1318
- },
1319
- },
1320
129
  render: () => (
1321
- <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1322
- {/* Wallet Display */}
1323
- <div className="!space-y-2">
1324
- <h3 className="text-sm font-medium text-white">
1325
- Digital Wallet Balance
1326
- </h3>
1327
- <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1328
- <div className="flex items-center justify-between rounded border border-yellow-500/30 bg-gradient-to-r from-yellow-500/20 to-amber-500/20 p-3">
1329
- <span className="font-medium text-white">Current Balance</span>
1330
- <div className="flex items-center gap-2">
1331
- <CoinIcon className="h-5 w-5" />
1332
- <span className="text-lg font-bold text-yellow-300">2,847</span>
1333
- </div>
130
+ <IconUsageCanvas>
131
+ <IconUsageSection title="Coin Balance">
132
+ <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">
133
+ <span className="text-fm-secondary font-fm-text text-sm">
134
+ Your balance
135
+ </span>
136
+ <div className="flex items-center gap-1.5">
137
+ <CoinIcon className="text-fm-icon-warning h-5 w-5" />
138
+ <span className="text-fm-primary font-fm-text text-sm font-medium">
139
+ 1,200
140
+ </span>
1334
141
  </div>
1335
142
  </div>
1336
- </div>
1337
-
1338
- {/* Store Item */}
1339
- <div className="!space-y-2">
1340
- <h3 className="text-sm font-medium text-white">Store Item Pricing</h3>
1341
- <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1342
- <div className="flex items-center justify-between rounded border border-white/10 bg-black/30 p-3">
1343
- <div className="flex items-center gap-3">
1344
- <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-purple-500/20">
1345
- <span>⚔️</span>
1346
- </div>
1347
- <div>
1348
- <div className="text-sm font-medium text-white">Epic Sword</div>
1349
- <div className="text-xs text-white/60">Legendary weapon</div>
1350
- </div>
1351
- </div>
1352
- <div className="flex items-center gap-2">
143
+ </IconUsageSection>
144
+
145
+ <IconUsageSection title="Earn Coins Row">
146
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary w-full max-w-sm overflow-hidden rounded-xl border">
147
+ {[
148
+ { label: "Listen daily", reward: "+50" },
149
+ { label: "Complete episode", reward: "+100" },
150
+ { label: "Share story", reward: "+20" },
151
+ ].map(({ label, reward }) => (
152
+ <div
153
+ key={label}
154
+ className="border-fm-divider-secondary flex items-center border-b px-4 py-3 last:border-b-0"
155
+ >
156
+ <span className="text-fm-primary font-fm-text flex-1 text-sm">
157
+ {label}
158
+ </span>
1353
159
  <div className="flex items-center gap-1">
1354
- <CoinIcon className="h-4 w-4" />
1355
- <span className="font-medium text-yellow-400">500</span>
160
+ <CoinIcon className="text-fm-icon-warning h-4 w-4" />
161
+ <span className="text-fm-secondary font-fm-text text-xs">
162
+ {reward}
163
+ </span>
1356
164
  </div>
1357
- <button className="rounded border border-yellow-500/30 bg-yellow-500/20 px-3 py-1 text-sm text-yellow-300 transition-colors hover:bg-yellow-500/30">
1358
- Buy
1359
- </button>
1360
165
  </div>
1361
- </div>
166
+ ))}
1362
167
  </div>
1363
- </div>
1364
- </div>
168
+ </IconUsageSection>
169
+
170
+ <IconUsageSection title="Unlock with Coins">
171
+ <button className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-xl border px-4 py-2">
172
+ <CoinIcon className="text-fm-icon-warning h-4 w-4" />
173
+ <span className="text-fm-primary font-fm-text text-sm">
174
+ Unlock for 200 coins
175
+ </span>
176
+ </button>
177
+ </IconUsageSection>
178
+ </IconUsageCanvas>
1365
179
  ),
1366
180
  }
1367
181
 
1368
182
  export const Playground: Story = {
1369
- parameters: {
1370
- ...storyParameters,
1371
- docs: {
1372
- description: {
1373
- story:
1374
- "Interactive playground to experiment with different CoinIcon configurations.",
1375
- },
1376
- },
1377
- },
1378
183
  args: {
1379
- width: 24,
1380
- height: 24,
1381
- className: "",
184
+ className: "h-8 w-8 text-fm-icon-warning",
185
+ withAccessibility: true,
1382
186
  },
1383
187
  render: (args) => (
1384
- <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1385
- <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1386
- <CoinIcon {...args} />
1387
- </div>
1388
- </div>
188
+ <IconPlaygroundCanvas>
189
+ <CoinIcon {...args} />
190
+ </IconPlaygroundCanvas>
1389
191
  ),
1390
192
  }