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