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
|
@@ -201,40 +201,42 @@ export const Basic: Story = {
|
|
|
201
201
|
export const LogoCarousel: Story = {
|
|
202
202
|
render: () => (
|
|
203
203
|
<div className="w-full max-w-4xl">
|
|
204
|
-
<h3 className="mb-6 text-center text-lg font-medium
|
|
204
|
+
<h3 className="text-fm-primary mb-6 text-center text-lg font-medium">
|
|
205
205
|
Our Partners
|
|
206
206
|
</h3>
|
|
207
207
|
<Marquee pauseOnHover={false} duration="30s">
|
|
208
|
-
<div className="flex h-20 w-40 items-center justify-center rounded-lg border
|
|
208
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary flex h-20 w-40 items-center justify-center rounded-lg border transition-colors">
|
|
209
209
|
<div className="text-center">
|
|
210
|
-
<div className="text-2xl font-bold
|
|
211
|
-
<div className="text-
|
|
210
|
+
<div className="text-fm-primary text-2xl font-bold">ACME</div>
|
|
211
|
+
<div className="text-fm-secondary text-xs">Corporation</div>
|
|
212
212
|
</div>
|
|
213
213
|
</div>
|
|
214
|
-
<div className="flex h-20 w-40 items-center justify-center rounded-lg border
|
|
214
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary flex h-20 w-40 items-center justify-center rounded-lg border transition-colors">
|
|
215
215
|
<div className="text-center">
|
|
216
|
-
<div className="text-2xl font-bold
|
|
217
|
-
<div className="text-
|
|
216
|
+
<div className="text-fm-icon-info text-2xl font-bold">TechCorp</div>
|
|
217
|
+
<div className="text-fm-secondary text-xs">Innovation</div>
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
|
-
<div className="flex h-20 w-40 items-center justify-center rounded-lg border
|
|
220
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary flex h-20 w-40 items-center justify-center rounded-lg border transition-colors">
|
|
221
221
|
<div className="text-center">
|
|
222
|
-
<div className="text-2xl font-bold
|
|
223
|
-
|
|
222
|
+
<div className="text-fm-icon-positive text-2xl font-bold">
|
|
223
|
+
GlobalTech
|
|
224
|
+
</div>
|
|
225
|
+
<div className="text-fm-secondary text-xs">Solutions</div>
|
|
224
226
|
</div>
|
|
225
227
|
</div>
|
|
226
|
-
<div className="flex h-20 w-40 items-center justify-center rounded-lg border
|
|
228
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary flex h-20 w-40 items-center justify-center rounded-lg border transition-colors">
|
|
227
229
|
<div className="text-center">
|
|
228
|
-
<div className="text-2xl font-bold
|
|
230
|
+
<div className="text-fm-icon-brand-secondary text-2xl font-bold">
|
|
229
231
|
InnovateLab
|
|
230
232
|
</div>
|
|
231
|
-
<div className="text-
|
|
233
|
+
<div className="text-fm-secondary text-xs">Research</div>
|
|
232
234
|
</div>
|
|
233
235
|
</div>
|
|
234
|
-
<div className="flex h-20 w-40 items-center justify-center rounded-lg border
|
|
236
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary flex h-20 w-40 items-center justify-center rounded-lg border transition-colors">
|
|
235
237
|
<div className="text-center">
|
|
236
238
|
<div className="text-2xl font-bold text-orange-400">FutureTech</div>
|
|
237
|
-
<div className="text-
|
|
239
|
+
<div className="text-fm-secondary text-xs">Systems</div>
|
|
238
240
|
</div>
|
|
239
241
|
</div>
|
|
240
242
|
</Marquee>
|
|
@@ -254,8 +256,8 @@ export const LogoCarousel: Story = {
|
|
|
254
256
|
export const NewsTicker: Story = {
|
|
255
257
|
render: () => (
|
|
256
258
|
<div className="w-full max-w-4xl">
|
|
257
|
-
<div className="flex items-center
|
|
258
|
-
<span className="mr-3 rounded
|
|
259
|
+
<div className="bg-fm-surface-negative text-fm-surface-primary flex items-center px-4 py-2 text-sm font-medium">
|
|
260
|
+
<span className="bg-fm-surface-primary text-fm-icon-negative mr-3 rounded px-2 py-1 text-xs font-bold">
|
|
259
261
|
LIVE
|
|
260
262
|
</span>
|
|
261
263
|
<Marquee duration="25s" pauseOnHover>
|
|
@@ -288,43 +290,45 @@ export const NewsTicker: Story = {
|
|
|
288
290
|
export const Testimonials: Story = {
|
|
289
291
|
render: () => (
|
|
290
292
|
<div className="w-full max-w-5xl">
|
|
291
|
-
<h3 className="mb-6 text-center text-lg font-medium
|
|
293
|
+
<h3 className="text-fm-primary mb-6 text-center text-lg font-medium">
|
|
292
294
|
What Our Customers Say
|
|
293
295
|
</h3>
|
|
294
296
|
<Marquee pauseOnHover duration="35s">
|
|
295
|
-
<div className="w-80 rounded-lg border
|
|
297
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary w-80 rounded-lg border p-6 transition-colors">
|
|
296
298
|
<div className="flex items-start space-x-4">
|
|
297
299
|
<div className="flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-blue-500 to-purple-600">
|
|
298
|
-
<span className="font-semibold
|
|
300
|
+
<span className="text-fm-primary font-semibold">JD</span>
|
|
299
301
|
</div>
|
|
300
302
|
<div className="space-y-2">
|
|
301
|
-
<p className="text-sm leading-relaxed
|
|
303
|
+
<p className="text-fm-secondary text-sm leading-relaxed">
|
|
302
304
|
"This product has completely transformed our workflow. The
|
|
303
305
|
intuitive design and powerful features make it indispensable."
|
|
304
306
|
</p>
|
|
305
307
|
<div>
|
|
306
|
-
<div className="text-sm font-medium
|
|
307
|
-
|
|
308
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
309
|
+
John Doe
|
|
310
|
+
</div>
|
|
311
|
+
<div className="text-fm-secondary text-xs">CEO, TechStart</div>
|
|
308
312
|
</div>
|
|
309
313
|
</div>
|
|
310
314
|
</div>
|
|
311
315
|
</div>
|
|
312
316
|
|
|
313
|
-
<div className="w-80 rounded-lg border
|
|
317
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary w-80 rounded-lg border p-6 transition-colors">
|
|
314
318
|
<div className="flex items-start space-x-4">
|
|
315
319
|
<div className="flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-green-500 to-teal-600">
|
|
316
|
-
<span className="font-semibold
|
|
320
|
+
<span className="text-fm-primary font-semibold">SS</span>
|
|
317
321
|
</div>
|
|
318
322
|
<div className="space-y-2">
|
|
319
|
-
<p className="text-sm leading-relaxed
|
|
323
|
+
<p className="text-fm-secondary text-sm leading-relaxed">
|
|
320
324
|
"Outstanding customer support and a product that delivers on all
|
|
321
325
|
its promises. Highly recommended for any team."
|
|
322
326
|
</p>
|
|
323
327
|
<div>
|
|
324
|
-
<div className="text-sm font-medium
|
|
328
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
325
329
|
Sarah Smith
|
|
326
330
|
</div>
|
|
327
|
-
<div className="text-
|
|
331
|
+
<div className="text-fm-secondary text-xs">
|
|
328
332
|
Designer, CreativeHub
|
|
329
333
|
</div>
|
|
330
334
|
</div>
|
|
@@ -332,21 +336,23 @@ export const Testimonials: Story = {
|
|
|
332
336
|
</div>
|
|
333
337
|
</div>
|
|
334
338
|
|
|
335
|
-
<div className="w-80 rounded-lg border
|
|
339
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary w-80 rounded-lg border p-6 transition-colors">
|
|
336
340
|
<div className="flex items-start space-x-4">
|
|
337
341
|
<div className="flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-orange-500 to-red-600">
|
|
338
|
-
<span className="font-semibold
|
|
342
|
+
<span className="text-fm-primary font-semibold">MJ</span>
|
|
339
343
|
</div>
|
|
340
344
|
<div className="space-y-2">
|
|
341
|
-
<p className="text-sm leading-relaxed
|
|
345
|
+
<p className="text-fm-secondary text-sm leading-relaxed">
|
|
342
346
|
"The ROI has been incredible. We've seen a 300% increase in
|
|
343
347
|
productivity since implementation."
|
|
344
348
|
</p>
|
|
345
349
|
<div>
|
|
346
|
-
<div className="text-sm font-medium
|
|
350
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
347
351
|
Mike Johnson
|
|
348
352
|
</div>
|
|
349
|
-
<div className="text-
|
|
353
|
+
<div className="text-fm-secondary text-xs">
|
|
354
|
+
CTO, InnovateNow
|
|
355
|
+
</div>
|
|
350
356
|
</div>
|
|
351
357
|
</div>
|
|
352
358
|
</div>
|
|
@@ -368,76 +374,76 @@ export const Testimonials: Story = {
|
|
|
368
374
|
export const IconShowcase: Story = {
|
|
369
375
|
render: () => (
|
|
370
376
|
<div className="w-full max-w-4xl space-y-8">
|
|
371
|
-
<h3 className="text-center text-lg font-medium
|
|
377
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
372
378
|
Feature Icons
|
|
373
379
|
</h3>
|
|
374
380
|
|
|
375
381
|
{/* Horizontal Icons */}
|
|
376
382
|
<div className="space-y-4">
|
|
377
|
-
<h4 className="text-center text-sm font-medium
|
|
383
|
+
<h4 className="text-fm-secondary text-center text-sm font-medium">
|
|
378
384
|
Horizontal Scroll
|
|
379
385
|
</h4>
|
|
380
386
|
<Marquee pauseOnHover duration="20s">
|
|
381
387
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
382
388
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-blue-500/20">
|
|
383
|
-
<SearchIcon className="h-8 w-8
|
|
389
|
+
<SearchIcon className="text-fm-icon-info h-8 w-8" />
|
|
384
390
|
</div>
|
|
385
|
-
<span className="text-
|
|
391
|
+
<span className="text-fm-secondary text-xs">Search</span>
|
|
386
392
|
</div>
|
|
387
393
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
388
394
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-green-500/20">
|
|
389
|
-
<TickCircleIcon className="h-8 w-8
|
|
395
|
+
<TickCircleIcon className="text-fm-icon-positive h-8 w-8" />
|
|
390
396
|
</div>
|
|
391
|
-
<span className="text-
|
|
397
|
+
<span className="text-fm-secondary text-xs">Complete</span>
|
|
392
398
|
</div>
|
|
393
399
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
394
400
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-purple-500/20">
|
|
395
|
-
<EditBigIcon className="h-8 w-8
|
|
401
|
+
<EditBigIcon className="text-fm-icon-brand-secondary h-8 w-8" />
|
|
396
402
|
</div>
|
|
397
|
-
<span className="text-
|
|
403
|
+
<span className="text-fm-secondary text-xs">Edit</span>
|
|
398
404
|
</div>
|
|
399
405
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
400
406
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-orange-500/20">
|
|
401
|
-
<FileChartIcon className="h-8 w-8
|
|
407
|
+
<FileChartIcon className="text-fm-icon-warning h-8 w-8" />
|
|
402
408
|
</div>
|
|
403
|
-
<span className="text-
|
|
409
|
+
<span className="text-fm-secondary text-xs">Analytics</span>
|
|
404
410
|
</div>
|
|
405
411
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
406
412
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-red-500/20">
|
|
407
|
-
<AlertIcon className="h-8 w-8
|
|
413
|
+
<AlertIcon className="text-fm-icon-negative h-8 w-8" />
|
|
408
414
|
</div>
|
|
409
|
-
<span className="text-
|
|
415
|
+
<span className="text-fm-secondary text-xs">Alert</span>
|
|
410
416
|
</div>
|
|
411
417
|
<div className="flex w-24 flex-col items-center space-y-2">
|
|
412
418
|
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-cyan-500/20">
|
|
413
|
-
<EyeOpenIcon className="h-8 w-8
|
|
419
|
+
<EyeOpenIcon className="text-fm-icon-info h-8 w-8" />
|
|
414
420
|
</div>
|
|
415
|
-
<span className="text-
|
|
421
|
+
<span className="text-fm-secondary text-xs">View</span>
|
|
416
422
|
</div>
|
|
417
423
|
</Marquee>
|
|
418
424
|
</div>
|
|
419
425
|
|
|
420
426
|
{/* Reverse Direction */}
|
|
421
427
|
<div className="space-y-4">
|
|
422
|
-
<h4 className="text-center text-sm font-medium
|
|
428
|
+
<h4 className="text-fm-secondary text-center text-sm font-medium">
|
|
423
429
|
Reverse Direction
|
|
424
430
|
</h4>
|
|
425
431
|
<Marquee reverse pauseOnHover duration="25s">
|
|
426
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
427
|
-
<PlusIcon className="h-5 w-5
|
|
428
|
-
<span className="text-
|
|
432
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center space-x-3 rounded-lg border px-4 py-2">
|
|
433
|
+
<PlusIcon className="text-fm-icon-positive h-5 w-5" />
|
|
434
|
+
<span className="text-fm-primary text-sm">Add New</span>
|
|
429
435
|
</div>
|
|
430
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
431
|
-
<TrashIcon className="h-5 w-5
|
|
432
|
-
<span className="text-
|
|
436
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center space-x-3 rounded-lg border px-4 py-2">
|
|
437
|
+
<TrashIcon className="text-fm-icon-negative h-5 w-5" />
|
|
438
|
+
<span className="text-fm-primary text-sm">Delete</span>
|
|
433
439
|
</div>
|
|
434
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
435
|
-
<EditBigIcon className="h-5 w-5
|
|
436
|
-
<span className="text-
|
|
440
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center space-x-3 rounded-lg border px-4 py-2">
|
|
441
|
+
<EditBigIcon className="text-fm-icon-info h-5 w-5" />
|
|
442
|
+
<span className="text-fm-primary text-sm">Edit</span>
|
|
437
443
|
</div>
|
|
438
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
439
|
-
<EyeOpenIcon className="h-5 w-5
|
|
440
|
-
<span className="text-
|
|
444
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center space-x-3 rounded-lg border px-4 py-2">
|
|
445
|
+
<EyeOpenIcon className="text-fm-icon-brand-secondary h-5 w-5" />
|
|
446
|
+
<span className="text-fm-primary text-sm">Preview</span>
|
|
441
447
|
</div>
|
|
442
448
|
</Marquee>
|
|
443
449
|
</div>
|
|
@@ -459,61 +465,67 @@ export const VerticalMarquee: Story = {
|
|
|
459
465
|
<div className="flex justify-center space-x-8">
|
|
460
466
|
{/* Social Media Feed */}
|
|
461
467
|
<div className="space-y-4">
|
|
462
|
-
<h4 className="text-center text-sm font-medium
|
|
468
|
+
<h4 className="text-fm-secondary text-center text-sm font-medium">
|
|
463
469
|
Social Feed
|
|
464
470
|
</h4>
|
|
465
471
|
<div className="h-96 w-80">
|
|
466
472
|
<Marquee vertical pauseOnHover duration="30s" className="h-full">
|
|
467
|
-
<div className="
|
|
473
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary rounded-lg border p-4 transition-colors">
|
|
468
474
|
<div className="flex items-start space-x-3">
|
|
469
475
|
<div className="flex h-10 w-10 items-center justify-center rounded-full bg-gradient-to-br from-blue-500 to-purple-600">
|
|
470
|
-
<span className="text-sm font-semibold
|
|
476
|
+
<span className="text-fm-primary text-sm font-semibold">
|
|
477
|
+
@A
|
|
478
|
+
</span>
|
|
471
479
|
</div>
|
|
472
480
|
<div className="space-y-1">
|
|
473
|
-
<div className="text-sm font-medium
|
|
481
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
474
482
|
@alice_dev
|
|
475
483
|
</div>
|
|
476
|
-
<p className="text-
|
|
484
|
+
<p className="text-fm-secondary text-sm">
|
|
477
485
|
Just shipped a new feature! The team's hard work really paid
|
|
478
486
|
off. 🚀
|
|
479
487
|
</p>
|
|
480
|
-
<div className="text-
|
|
488
|
+
<div className="text-fm-tertiary text-xs">2 minutes ago</div>
|
|
481
489
|
</div>
|
|
482
490
|
</div>
|
|
483
491
|
</div>
|
|
484
492
|
|
|
485
|
-
<div className="
|
|
493
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary rounded-lg border p-4 transition-colors">
|
|
486
494
|
<div className="flex items-start space-x-3">
|
|
487
495
|
<div className="flex h-10 w-10 items-center justify-center rounded-full bg-gradient-to-br from-green-500 to-teal-600">
|
|
488
|
-
<span className="text-sm font-semibold
|
|
496
|
+
<span className="text-fm-primary text-sm font-semibold">
|
|
497
|
+
@B
|
|
498
|
+
</span>
|
|
489
499
|
</div>
|
|
490
500
|
<div className="space-y-1">
|
|
491
|
-
<div className="text-sm font-medium
|
|
501
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
492
502
|
@bob_designer
|
|
493
503
|
</div>
|
|
494
|
-
<p className="text-
|
|
504
|
+
<p className="text-fm-secondary text-sm">
|
|
495
505
|
Working on some exciting new designs. Can't wait to share
|
|
496
506
|
them with everyone! ✨
|
|
497
507
|
</p>
|
|
498
|
-
<div className="text-
|
|
508
|
+
<div className="text-fm-tertiary text-xs">5 minutes ago</div>
|
|
499
509
|
</div>
|
|
500
510
|
</div>
|
|
501
511
|
</div>
|
|
502
512
|
|
|
503
|
-
<div className="
|
|
513
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-tertiary rounded-lg border p-4 transition-colors">
|
|
504
514
|
<div className="flex items-start space-x-3">
|
|
505
515
|
<div className="flex h-10 w-10 items-center justify-center rounded-full bg-gradient-to-br from-orange-500 to-red-600">
|
|
506
|
-
<span className="text-sm font-semibold
|
|
516
|
+
<span className="text-fm-primary text-sm font-semibold">
|
|
517
|
+
@C
|
|
518
|
+
</span>
|
|
507
519
|
</div>
|
|
508
520
|
<div className="space-y-1">
|
|
509
|
-
<div className="text-sm font-medium
|
|
521
|
+
<div className="text-fm-primary text-sm font-medium">
|
|
510
522
|
@charlie_pm
|
|
511
523
|
</div>
|
|
512
|
-
<p className="text-
|
|
524
|
+
<p className="text-fm-secondary text-sm">
|
|
513
525
|
Great sprint review today! The team exceeded all
|
|
514
526
|
expectations. 📊
|
|
515
527
|
</p>
|
|
516
|
-
<div className="text-
|
|
528
|
+
<div className="text-fm-tertiary text-xs">8 minutes ago</div>
|
|
517
529
|
</div>
|
|
518
530
|
</div>
|
|
519
531
|
</div>
|
|
@@ -523,7 +535,7 @@ export const VerticalMarquee: Story = {
|
|
|
523
535
|
|
|
524
536
|
{/* Notification Feed */}
|
|
525
537
|
<div className="space-y-4">
|
|
526
|
-
<h4 className="text-center text-sm font-medium
|
|
538
|
+
<h4 className="text-fm-secondary text-center text-sm font-medium">
|
|
527
539
|
Notifications
|
|
528
540
|
</h4>
|
|
529
541
|
<div className="h-96 w-72">
|
|
@@ -534,39 +546,41 @@ export const VerticalMarquee: Story = {
|
|
|
534
546
|
duration="25s"
|
|
535
547
|
className="h-full"
|
|
536
548
|
>
|
|
537
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
538
|
-
<AlertIcon className="h-5 w-5 flex-shrink-0
|
|
549
|
+
<div className="border-fm-divider-secondary bg-fm-surface-info-sec flex items-center space-x-3 rounded-lg border p-3">
|
|
550
|
+
<AlertIcon className="text-fm-icon-info h-5 w-5 flex-shrink-0" />
|
|
539
551
|
<div>
|
|
540
|
-
<div className="text-
|
|
541
|
-
|
|
552
|
+
<div className="text-fm-primary text-sm">
|
|
553
|
+
New message received
|
|
554
|
+
</div>
|
|
555
|
+
<div className="text-fm-secondary text-xs">From John Doe</div>
|
|
542
556
|
</div>
|
|
543
557
|
</div>
|
|
544
558
|
|
|
545
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
546
|
-
<TickCircleIcon className="h-5 w-5 flex-shrink-0
|
|
559
|
+
<div className="border-fm-divider-positive bg-fm-surface-positive-sec flex items-center space-x-3 rounded-lg border p-3">
|
|
560
|
+
<TickCircleIcon className="text-fm-icon-positive h-5 w-5 flex-shrink-0" />
|
|
547
561
|
<div>
|
|
548
|
-
<div className="text-
|
|
549
|
-
<div className="text-
|
|
562
|
+
<div className="text-fm-primary text-sm">Task completed</div>
|
|
563
|
+
<div className="text-fm-secondary text-xs">
|
|
550
564
|
Design review finished
|
|
551
565
|
</div>
|
|
552
566
|
</div>
|
|
553
567
|
</div>
|
|
554
568
|
|
|
555
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
556
|
-
<FileChartIcon className="h-5 w-5 flex-shrink-0
|
|
569
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center space-x-3 rounded-lg border p-3">
|
|
570
|
+
<FileChartIcon className="text-fm-icon-brand-secondary h-5 w-5 flex-shrink-0" />
|
|
557
571
|
<div>
|
|
558
|
-
<div className="text-
|
|
559
|
-
<div className="text-
|
|
572
|
+
<div className="text-fm-primary text-sm">Report generated</div>
|
|
573
|
+
<div className="text-fm-secondary text-xs">
|
|
560
574
|
Monthly analytics ready
|
|
561
575
|
</div>
|
|
562
576
|
</div>
|
|
563
577
|
</div>
|
|
564
578
|
|
|
565
|
-
<div className="flex items-center space-x-3 rounded-lg border
|
|
566
|
-
<EditBigIcon className="h-5 w-5 flex-shrink-0
|
|
579
|
+
<div className="border-fm-divider-warning bg-fm-surface-warning-sec flex items-center space-x-3 rounded-lg border p-3">
|
|
580
|
+
<EditBigIcon className="text-fm-icon-warning h-5 w-5 flex-shrink-0" />
|
|
567
581
|
<div>
|
|
568
|
-
<div className="text-
|
|
569
|
-
<div className="text-
|
|
582
|
+
<div className="text-fm-primary text-sm">Document updated</div>
|
|
583
|
+
<div className="text-fm-secondary text-xs">
|
|
570
584
|
Project specs modified
|
|
571
585
|
</div>
|
|
572
586
|
</div>
|
|
@@ -590,14 +604,14 @@ export const VerticalMarquee: Story = {
|
|
|
590
604
|
export const SpeedVariations: Story = {
|
|
591
605
|
render: () => (
|
|
592
606
|
<div className="w-full max-w-4xl space-y-8">
|
|
593
|
-
<h3 className="text-center text-lg font-medium
|
|
607
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
594
608
|
Speed Variations
|
|
595
609
|
</h3>
|
|
596
610
|
|
|
597
611
|
<div className="space-y-6">
|
|
598
612
|
{/* Slow */}
|
|
599
613
|
<div className="space-y-2">
|
|
600
|
-
<h4 className="text-sm font-medium
|
|
614
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
601
615
|
Slow Speed (60s)
|
|
602
616
|
</h4>
|
|
603
617
|
<Marquee duration="60s" pauseOnHover>
|
|
@@ -618,7 +632,7 @@ export const SpeedVariations: Story = {
|
|
|
618
632
|
|
|
619
633
|
{/* Normal */}
|
|
620
634
|
<div className="space-y-2">
|
|
621
|
-
<h4 className="text-sm font-medium
|
|
635
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
622
636
|
Normal Speed (40s - Default)
|
|
623
637
|
</h4>
|
|
624
638
|
<Marquee pauseOnHover>
|
|
@@ -639,7 +653,7 @@ export const SpeedVariations: Story = {
|
|
|
639
653
|
|
|
640
654
|
{/* Fast */}
|
|
641
655
|
<div className="space-y-2">
|
|
642
|
-
<h4 className="text-sm font-medium
|
|
656
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
643
657
|
Fast Speed (20s)
|
|
644
658
|
</h4>
|
|
645
659
|
<Marquee duration="20s" pauseOnHover>
|
|
@@ -660,7 +674,7 @@ export const SpeedVariations: Story = {
|
|
|
660
674
|
|
|
661
675
|
{/* Very Fast */}
|
|
662
676
|
<div className="space-y-2">
|
|
663
|
-
<h4 className="text-sm font-medium
|
|
677
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
664
678
|
Very Fast Speed (10s)
|
|
665
679
|
</h4>
|
|
666
680
|
<Marquee duration="10s" pauseOnHover>
|
|
@@ -680,7 +694,7 @@ export const SpeedVariations: Story = {
|
|
|
680
694
|
</div>
|
|
681
695
|
</div>
|
|
682
696
|
|
|
683
|
-
<div className="text-
|
|
697
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
684
698
|
<p>
|
|
685
699
|
All examples have pauseOnHover enabled - hover to pause any marquee
|
|
686
700
|
</p>
|
|
@@ -707,15 +721,17 @@ export const InteractiveControls: Story = {
|
|
|
707
721
|
|
|
708
722
|
return (
|
|
709
723
|
<div className="w-full max-w-4xl space-y-6">
|
|
710
|
-
<h3 className="text-center text-lg font-medium
|
|
724
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
711
725
|
Interactive Controls
|
|
712
726
|
</h3>
|
|
713
727
|
|
|
714
728
|
{/* Controls */}
|
|
715
|
-
<div className="rounded-lg border
|
|
729
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
716
730
|
<div className="grid grid-cols-2 gap-4 lg:grid-cols-4">
|
|
717
731
|
<div className="space-y-2">
|
|
718
|
-
<label className="text-
|
|
732
|
+
<label className="text-fm-secondary text-sm">
|
|
733
|
+
Speed (seconds)
|
|
734
|
+
</label>
|
|
719
735
|
<input
|
|
720
736
|
type="range"
|
|
721
737
|
min="5"
|
|
@@ -724,17 +740,19 @@ export const InteractiveControls: Story = {
|
|
|
724
740
|
onChange={(e) => setSpeed(Number(e.target.value))}
|
|
725
741
|
className="w-full"
|
|
726
742
|
/>
|
|
727
|
-
<div className="text-
|
|
743
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
744
|
+
{speed}s
|
|
745
|
+
</div>
|
|
728
746
|
</div>
|
|
729
747
|
|
|
730
748
|
<div className="space-y-2">
|
|
731
|
-
<label className="text-
|
|
749
|
+
<label className="text-fm-secondary text-sm">Direction</label>
|
|
732
750
|
<button
|
|
733
751
|
onClick={() => setIsReverse(!isReverse)}
|
|
734
752
|
className={`w-full rounded px-3 py-2 text-sm transition-colors ${
|
|
735
753
|
isReverse
|
|
736
|
-
? "bg-
|
|
737
|
-
: "bg-
|
|
754
|
+
? "bg-fm-surface-info text-fm-surface-primary"
|
|
755
|
+
: "bg-fm-surface-secondary text-fm-secondary hover:bg-fm-surface-tertiary"
|
|
738
756
|
}`}
|
|
739
757
|
>
|
|
740
758
|
{isReverse ? "Reverse" : "Normal"}
|
|
@@ -742,13 +760,13 @@ export const InteractiveControls: Story = {
|
|
|
742
760
|
</div>
|
|
743
761
|
|
|
744
762
|
<div className="space-y-2">
|
|
745
|
-
<label className="text-
|
|
763
|
+
<label className="text-fm-secondary text-sm">Orientation</label>
|
|
746
764
|
<button
|
|
747
765
|
onClick={() => setIsVertical(!isVertical)}
|
|
748
766
|
className={`w-full rounded px-3 py-2 text-sm transition-colors ${
|
|
749
767
|
isVertical
|
|
750
|
-
? "bg-
|
|
751
|
-
: "bg-
|
|
768
|
+
? "bg-fm-surface-positive text-fm-surface-primary"
|
|
769
|
+
: "bg-fm-surface-secondary text-fm-secondary hover:bg-fm-surface-tertiary"
|
|
752
770
|
}`}
|
|
753
771
|
>
|
|
754
772
|
{isVertical ? "Vertical" : "Horizontal"}
|
|
@@ -756,13 +774,13 @@ export const InteractiveControls: Story = {
|
|
|
756
774
|
</div>
|
|
757
775
|
|
|
758
776
|
<div className="space-y-2">
|
|
759
|
-
<label className="text-
|
|
777
|
+
<label className="text-fm-secondary text-sm">Animation</label>
|
|
760
778
|
<button
|
|
761
779
|
onClick={() => setIsPaused(!isPaused)}
|
|
762
780
|
className={`w-full rounded px-3 py-2 text-sm transition-colors ${
|
|
763
781
|
isPaused
|
|
764
|
-
? "bg-
|
|
765
|
-
: "bg-
|
|
782
|
+
? "bg-fm-surface-negative text-fm-surface-primary"
|
|
783
|
+
: "bg-fm-surface-secondary text-fm-secondary hover:bg-fm-surface-tertiary"
|
|
766
784
|
}`}
|
|
767
785
|
>
|
|
768
786
|
{isPaused ? "Paused" : "Playing"}
|
|
@@ -799,7 +817,7 @@ export const InteractiveControls: Story = {
|
|
|
799
817
|
</Marquee>
|
|
800
818
|
</div>
|
|
801
819
|
|
|
802
|
-
<div className="text-
|
|
820
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
803
821
|
<p>
|
|
804
822
|
Adjust the controls above to see real-time changes to the marquee
|
|
805
823
|
behavior
|