aural-ui 3.0.7 → 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/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/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
|
@@ -242,7 +242,7 @@ export const VariantComparison: Story = {
|
|
|
242
242
|
render: () => (
|
|
243
243
|
<div className="grid grid-cols-1 gap-8 p-8 lg:grid-cols-2">
|
|
244
244
|
<div className="space-y-4">
|
|
245
|
-
<h3 className="text-center text-lg font-medium
|
|
245
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
246
246
|
Dark Variant (Default)
|
|
247
247
|
</h3>
|
|
248
248
|
<div className="flex justify-center">
|
|
@@ -258,7 +258,7 @@ export const VariantComparison: Story = {
|
|
|
258
258
|
</div>
|
|
259
259
|
|
|
260
260
|
<div className="space-y-4">
|
|
261
|
-
<h3 className="text-center text-lg font-medium
|
|
261
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
262
262
|
Light Variant
|
|
263
263
|
</h3>
|
|
264
264
|
<div className="flex justify-center">
|
|
@@ -288,18 +288,20 @@ export const VariantComparison: Story = {
|
|
|
288
288
|
export const CompletePositioningMatrix: Story = {
|
|
289
289
|
render: () => (
|
|
290
290
|
<div className="space-y-12 p-12">
|
|
291
|
-
<h3 className="text-center text-xl font-medium
|
|
291
|
+
<h3 className="text-fm-primary text-center text-xl font-medium">
|
|
292
292
|
Complete Positioning Matrix - All Combinations
|
|
293
293
|
</h3>
|
|
294
294
|
|
|
295
295
|
{/* Top Side - All Alignments */}
|
|
296
296
|
<div className="space-y-6">
|
|
297
|
-
<h4 className="text-center text-lg font-medium
|
|
297
|
+
<h4 className="text-fm-tertiary text-center text-lg font-medium">
|
|
298
298
|
Top Side Tooltips
|
|
299
299
|
</h4>
|
|
300
300
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
301
301
|
<div className="flex flex-col items-center gap-4">
|
|
302
|
-
<span className="text-
|
|
302
|
+
<span className="text-fm-secondary text-sm">
|
|
303
|
+
Top + Start (Dark)
|
|
304
|
+
</span>
|
|
303
305
|
<Tooltip variant="dark">
|
|
304
306
|
<TooltipTrigger asChild>
|
|
305
307
|
<Button variant="outline" size="lg">
|
|
@@ -313,7 +315,9 @@ export const CompletePositioningMatrix: Story = {
|
|
|
313
315
|
</div>
|
|
314
316
|
|
|
315
317
|
<div className="flex flex-col items-center gap-4">
|
|
316
|
-
<span className="text-
|
|
318
|
+
<span className="text-fm-secondary text-sm">
|
|
319
|
+
Top + Center (Light)
|
|
320
|
+
</span>
|
|
317
321
|
<Tooltip variant="light">
|
|
318
322
|
<TooltipTrigger asChild>
|
|
319
323
|
<Button variant="outline" size="lg">
|
|
@@ -329,7 +333,7 @@ export const CompletePositioningMatrix: Story = {
|
|
|
329
333
|
</div>
|
|
330
334
|
|
|
331
335
|
<div className="flex flex-col items-center gap-4">
|
|
332
|
-
<span className="text-
|
|
336
|
+
<span className="text-fm-secondary text-sm">Top + End (Dark)</span>
|
|
333
337
|
<Tooltip variant="dark">
|
|
334
338
|
<TooltipTrigger asChild>
|
|
335
339
|
<Button variant="outline" size="lg">
|
|
@@ -346,12 +350,12 @@ export const CompletePositioningMatrix: Story = {
|
|
|
346
350
|
|
|
347
351
|
{/* Right & Left Side */}
|
|
348
352
|
<div className="space-y-6">
|
|
349
|
-
<h4 className="text-center text-lg font-medium
|
|
353
|
+
<h4 className="text-fm-tertiary text-center text-lg font-medium">
|
|
350
354
|
Left & Right Side Tooltips
|
|
351
355
|
</h4>
|
|
352
356
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
353
357
|
<div className="flex flex-col items-center gap-4">
|
|
354
|
-
<span className="text-
|
|
358
|
+
<span className="text-fm-secondary text-sm">Left Side (Light)</span>
|
|
355
359
|
<Tooltip variant="light">
|
|
356
360
|
<TooltipTrigger asChild>
|
|
357
361
|
<Button variant="outline" size="lg">
|
|
@@ -365,7 +369,7 @@ export const CompletePositioningMatrix: Story = {
|
|
|
365
369
|
</div>
|
|
366
370
|
|
|
367
371
|
<div className="flex flex-col items-center gap-4">
|
|
368
|
-
<span className="text-
|
|
372
|
+
<span className="text-fm-secondary text-sm">Right Side (Dark)</span>
|
|
369
373
|
<Tooltip variant="dark">
|
|
370
374
|
<TooltipTrigger asChild>
|
|
371
375
|
<Button variant="outline" size="lg">
|
|
@@ -382,12 +386,12 @@ export const CompletePositioningMatrix: Story = {
|
|
|
382
386
|
|
|
383
387
|
{/* Bottom Side - All Alignments */}
|
|
384
388
|
<div className="space-y-6">
|
|
385
|
-
<h4 className="text-center text-lg font-medium
|
|
389
|
+
<h4 className="text-fm-tertiary text-center text-lg font-medium">
|
|
386
390
|
Bottom Side Tooltips
|
|
387
391
|
</h4>
|
|
388
392
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
389
393
|
<div className="flex flex-col items-center gap-4">
|
|
390
|
-
<span className="text-
|
|
394
|
+
<span className="text-fm-secondary text-sm">
|
|
391
395
|
Bottom + Start (Light)
|
|
392
396
|
</span>
|
|
393
397
|
<Tooltip variant="light">
|
|
@@ -403,7 +407,7 @@ export const CompletePositioningMatrix: Story = {
|
|
|
403
407
|
</div>
|
|
404
408
|
|
|
405
409
|
<div className="flex flex-col items-center gap-4">
|
|
406
|
-
<span className="text-
|
|
410
|
+
<span className="text-fm-secondary text-sm">
|
|
407
411
|
Bottom + Center (Dark)
|
|
408
412
|
</span>
|
|
409
413
|
<Tooltip variant="dark">
|
|
@@ -421,7 +425,9 @@ export const CompletePositioningMatrix: Story = {
|
|
|
421
425
|
</div>
|
|
422
426
|
|
|
423
427
|
<div className="flex flex-col items-center gap-4">
|
|
424
|
-
<span className="text-
|
|
428
|
+
<span className="text-fm-secondary text-sm">
|
|
429
|
+
Bottom + End (Light)
|
|
430
|
+
</span>
|
|
425
431
|
<Tooltip variant="light">
|
|
426
432
|
<TooltipTrigger asChild>
|
|
427
433
|
<Button variant="outline" size="lg">
|
|
@@ -436,7 +442,7 @@ export const CompletePositioningMatrix: Story = {
|
|
|
436
442
|
</div>
|
|
437
443
|
</div>
|
|
438
444
|
|
|
439
|
-
<div className="space-y-2 text-center text-xs
|
|
445
|
+
<div className="text-fm-secondary space-y-2 text-center text-xs">
|
|
440
446
|
<p>
|
|
441
447
|
All 8 positioning combinations shown with unique gradient backgrounds
|
|
442
448
|
</p>
|
|
@@ -466,13 +472,13 @@ export const CompletePositioningMatrix: Story = {
|
|
|
466
472
|
export const OffsetVariations: Story = {
|
|
467
473
|
render: () => (
|
|
468
474
|
<div className="space-y-8 p-8">
|
|
469
|
-
<h3 className="text-center text-lg font-medium
|
|
475
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
470
476
|
Side Offset Variations
|
|
471
477
|
</h3>
|
|
472
478
|
|
|
473
479
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-4">
|
|
474
480
|
<div className="flex flex-col items-center gap-4">
|
|
475
|
-
<span className="text-
|
|
481
|
+
<span className="text-fm-secondary text-sm">No Offset (0px)</span>
|
|
476
482
|
<Tooltip variant="dark">
|
|
477
483
|
<TooltipTrigger asChild>
|
|
478
484
|
<Button variant="outline">No Gap</Button>
|
|
@@ -484,7 +490,7 @@ export const OffsetVariations: Story = {
|
|
|
484
490
|
</div>
|
|
485
491
|
|
|
486
492
|
<div className="flex flex-col items-center gap-4">
|
|
487
|
-
<span className="text-
|
|
493
|
+
<span className="text-fm-secondary text-sm">Small Offset (4px)</span>
|
|
488
494
|
<Tooltip variant="light">
|
|
489
495
|
<TooltipTrigger asChild>
|
|
490
496
|
<Button variant="outline">Small Gap</Button>
|
|
@@ -496,7 +502,7 @@ export const OffsetVariations: Story = {
|
|
|
496
502
|
</div>
|
|
497
503
|
|
|
498
504
|
<div className="flex flex-col items-center gap-4">
|
|
499
|
-
<span className="text-
|
|
505
|
+
<span className="text-fm-secondary text-sm">Medium Offset (8px)</span>
|
|
500
506
|
<Tooltip variant="dark">
|
|
501
507
|
<TooltipTrigger asChild>
|
|
502
508
|
<Button variant="outline">Medium Gap</Button>
|
|
@@ -508,7 +514,7 @@ export const OffsetVariations: Story = {
|
|
|
508
514
|
</div>
|
|
509
515
|
|
|
510
516
|
<div className="flex flex-col items-center gap-4">
|
|
511
|
-
<span className="text-
|
|
517
|
+
<span className="text-fm-secondary text-sm">Large Offset (16px)</span>
|
|
512
518
|
<Tooltip variant="light">
|
|
513
519
|
<TooltipTrigger asChild>
|
|
514
520
|
<Button variant="outline">Large Gap</Button>
|
|
@@ -520,7 +526,7 @@ export const OffsetVariations: Story = {
|
|
|
520
526
|
</div>
|
|
521
527
|
</div>
|
|
522
528
|
|
|
523
|
-
<div className="text-
|
|
529
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
524
530
|
<p>
|
|
525
531
|
Side offset controls the distance between tooltip and trigger element
|
|
526
532
|
</p>
|
|
@@ -541,14 +547,14 @@ export const OffsetVariations: Story = {
|
|
|
541
547
|
export const ContentVariations: Story = {
|
|
542
548
|
render: () => (
|
|
543
549
|
<div className="space-y-8 p-8">
|
|
544
|
-
<h3 className="text-center text-lg font-medium
|
|
550
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
545
551
|
Content Variations with Gradient Backgrounds
|
|
546
552
|
</h3>
|
|
547
553
|
|
|
548
554
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
549
555
|
{/* Short Text */}
|
|
550
556
|
<div className="flex flex-col items-center gap-4">
|
|
551
|
-
<span className="text-
|
|
557
|
+
<span className="text-fm-secondary text-sm">Short Text (Dark)</span>
|
|
552
558
|
<Tooltip variant="dark">
|
|
553
559
|
<TooltipTrigger asChild>
|
|
554
560
|
<Button variant="outline">Save</Button>
|
|
@@ -561,7 +567,7 @@ export const ContentVariations: Story = {
|
|
|
561
567
|
|
|
562
568
|
{/* Long Text */}
|
|
563
569
|
<div className="flex flex-col items-center gap-4">
|
|
564
|
-
<span className="text-
|
|
570
|
+
<span className="text-fm-secondary text-sm">Long Text (Light)</span>
|
|
565
571
|
<Tooltip variant="light">
|
|
566
572
|
<TooltipTrigger asChild>
|
|
567
573
|
<Button variant="outline">Learn More</Button>
|
|
@@ -577,7 +583,7 @@ export const ContentVariations: Story = {
|
|
|
577
583
|
|
|
578
584
|
{/* Rich Content - Dark */}
|
|
579
585
|
<div className="flex flex-col items-center gap-4">
|
|
580
|
-
<span className="text-
|
|
586
|
+
<span className="text-fm-secondary text-sm">Rich Content (Dark)</span>
|
|
581
587
|
<Tooltip variant="dark">
|
|
582
588
|
<TooltipTrigger asChild>
|
|
583
589
|
<Button variant="outline">
|
|
@@ -586,10 +592,12 @@ export const ContentVariations: Story = {
|
|
|
586
592
|
</TooltipTrigger>
|
|
587
593
|
<TooltipContent className="max-w-sm" side="right">
|
|
588
594
|
<div className="space-y-2">
|
|
589
|
-
<div className="font-medium
|
|
590
|
-
|
|
595
|
+
<div className="text-fm-primary font-medium">
|
|
596
|
+
Keyboard Shortcut
|
|
597
|
+
</div>
|
|
598
|
+
<div className="text-fm-tertiary text-xs">
|
|
591
599
|
Use{" "}
|
|
592
|
-
<kbd className="
|
|
600
|
+
<kbd className="bg-fm-surface-tertiary rounded px-1 py-0.5 text-xs">
|
|
593
601
|
Ctrl+S
|
|
594
602
|
</kbd>{" "}
|
|
595
603
|
to save your work quickly.
|
|
@@ -601,7 +609,9 @@ export const ContentVariations: Story = {
|
|
|
601
609
|
|
|
602
610
|
{/* List Content - Light */}
|
|
603
611
|
<div className="flex flex-col items-center gap-4">
|
|
604
|
-
<span className="text-
|
|
612
|
+
<span className="text-fm-secondary text-sm">
|
|
613
|
+
List Content (Light)
|
|
614
|
+
</span>
|
|
605
615
|
<Tooltip variant="light">
|
|
606
616
|
<TooltipTrigger asChild>
|
|
607
617
|
<Button variant="outline">
|
|
@@ -646,14 +656,14 @@ export const ContentVariations: Story = {
|
|
|
646
656
|
export const DelayVariations: Story = {
|
|
647
657
|
render: () => (
|
|
648
658
|
<div className="space-y-8 p-8">
|
|
649
|
-
<h3 className="text-center text-lg font-medium
|
|
659
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
650
660
|
Delay Variations with TooltipProvider
|
|
651
661
|
</h3>
|
|
652
662
|
|
|
653
663
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-3">
|
|
654
664
|
{/* No Delay */}
|
|
655
665
|
<div className="flex flex-col items-center gap-4">
|
|
656
|
-
<span className="text-
|
|
666
|
+
<span className="text-fm-secondary text-sm">No Delay (0ms)</span>
|
|
657
667
|
<TooltipProvider delayDuration={0}>
|
|
658
668
|
<Tooltip variant="dark">
|
|
659
669
|
<TooltipTrigger asChild>
|
|
@@ -668,7 +678,9 @@ export const DelayVariations: Story = {
|
|
|
668
678
|
|
|
669
679
|
{/* Medium Delay */}
|
|
670
680
|
<div className="flex flex-col items-center gap-4">
|
|
671
|
-
<span className="text-
|
|
681
|
+
<span className="text-fm-secondary text-sm">
|
|
682
|
+
Medium Delay (500ms)
|
|
683
|
+
</span>
|
|
672
684
|
<TooltipProvider delayDuration={500}>
|
|
673
685
|
<Tooltip variant="light">
|
|
674
686
|
<TooltipTrigger asChild>
|
|
@@ -683,7 +695,7 @@ export const DelayVariations: Story = {
|
|
|
683
695
|
|
|
684
696
|
{/* Long Delay */}
|
|
685
697
|
<div className="flex flex-col items-center gap-4">
|
|
686
|
-
<span className="text-
|
|
698
|
+
<span className="text-fm-secondary text-sm">Long Delay (1000ms)</span>
|
|
687
699
|
<TooltipProvider delayDuration={1000}>
|
|
688
700
|
<Tooltip variant="dark">
|
|
689
701
|
<TooltipTrigger asChild>
|
|
@@ -697,7 +709,7 @@ export const DelayVariations: Story = {
|
|
|
697
709
|
</div>
|
|
698
710
|
</div>
|
|
699
711
|
|
|
700
|
-
<div className="text-
|
|
712
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
701
713
|
<p>Hover over each button to experience different delay timings</p>
|
|
702
714
|
</div>
|
|
703
715
|
</div>
|
|
@@ -716,17 +728,17 @@ export const DelayVariations: Story = {
|
|
|
716
728
|
export const IconTooltipsShowcase: Story = {
|
|
717
729
|
render: () => (
|
|
718
730
|
<div className="space-y-8 p-8">
|
|
719
|
-
<h3 className="text-center text-lg font-medium
|
|
731
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
720
732
|
Icon Tooltips with Gradient Styling
|
|
721
733
|
</h3>
|
|
722
734
|
|
|
723
735
|
<div className="grid grid-cols-2 gap-8 lg:grid-cols-4">
|
|
724
736
|
<div className="flex flex-col items-center gap-4">
|
|
725
|
-
<span className="text-
|
|
737
|
+
<span className="text-fm-secondary text-sm">Info (Dark)</span>
|
|
726
738
|
<Tooltip variant="dark">
|
|
727
739
|
<TooltipTrigger asChild>
|
|
728
|
-
<button className="rounded-full p-3 transition-colors
|
|
729
|
-
<AlertIcon className="h-6 w-6
|
|
740
|
+
<button className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors">
|
|
741
|
+
<AlertIcon className="text-fm-icon-info h-6 w-6" />
|
|
730
742
|
</button>
|
|
731
743
|
</TooltipTrigger>
|
|
732
744
|
<TooltipContent side="top" align="center">
|
|
@@ -736,11 +748,11 @@ export const IconTooltipsShowcase: Story = {
|
|
|
736
748
|
</div>
|
|
737
749
|
|
|
738
750
|
<div className="flex flex-col items-center gap-4">
|
|
739
|
-
<span className="text-
|
|
751
|
+
<span className="text-fm-secondary text-sm">Search (Light)</span>
|
|
740
752
|
<Tooltip variant="light">
|
|
741
753
|
<TooltipTrigger asChild>
|
|
742
|
-
<button className="rounded-full p-3 transition-colors
|
|
743
|
-
<SearchIcon className="h-6 w-6
|
|
754
|
+
<button className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors">
|
|
755
|
+
<SearchIcon className="text-fm-icon-positive h-6 w-6" />
|
|
744
756
|
</button>
|
|
745
757
|
</TooltipTrigger>
|
|
746
758
|
<TooltipContent side="top" align="center">
|
|
@@ -750,11 +762,11 @@ export const IconTooltipsShowcase: Story = {
|
|
|
750
762
|
</div>
|
|
751
763
|
|
|
752
764
|
<div className="flex flex-col items-center gap-4">
|
|
753
|
-
<span className="text-
|
|
765
|
+
<span className="text-fm-secondary text-sm">Edit (Dark)</span>
|
|
754
766
|
<Tooltip variant="dark">
|
|
755
767
|
<TooltipTrigger asChild>
|
|
756
|
-
<button className="rounded-full p-3 transition-colors
|
|
757
|
-
<EditBigIcon className="h-6 w-6
|
|
768
|
+
<button className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors">
|
|
769
|
+
<EditBigIcon className="text-fm-icon-brand-secondary h-6 w-6" />
|
|
758
770
|
</button>
|
|
759
771
|
</TooltipTrigger>
|
|
760
772
|
<TooltipContent side="top" align="center">
|
|
@@ -764,11 +776,11 @@ export const IconTooltipsShowcase: Story = {
|
|
|
764
776
|
</div>
|
|
765
777
|
|
|
766
778
|
<div className="flex flex-col items-center gap-4">
|
|
767
|
-
<span className="text-
|
|
779
|
+
<span className="text-fm-secondary text-sm">Delete (Light)</span>
|
|
768
780
|
<Tooltip variant="light">
|
|
769
781
|
<TooltipTrigger asChild>
|
|
770
|
-
<button className="rounded-full p-3 transition-colors
|
|
771
|
-
<TrashIcon className="h-6 w-6
|
|
782
|
+
<button className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors">
|
|
783
|
+
<TrashIcon className="text-fm-icon-negative h-6 w-6" />
|
|
772
784
|
</button>
|
|
773
785
|
</TooltipTrigger>
|
|
774
786
|
<TooltipContent side="top" align="center">
|
|
@@ -793,30 +805,30 @@ export const IconTooltipsShowcase: Story = {
|
|
|
793
805
|
export const AdvancedToolbarExample: Story = {
|
|
794
806
|
render: () => (
|
|
795
807
|
<div className="space-y-8 p-8">
|
|
796
|
-
<h3 className="text-center text-lg font-medium
|
|
808
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
797
809
|
Advanced Toolbar with Mixed Variants & Positioning
|
|
798
810
|
</h3>
|
|
799
811
|
|
|
800
812
|
<div className="flex items-center justify-center">
|
|
801
|
-
<div className="flex items-center gap-1 rounded-lg border
|
|
813
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-1 rounded-lg border p-2">
|
|
802
814
|
<Tooltip variant="dark">
|
|
803
815
|
<TooltipTrigger asChild>
|
|
804
|
-
<button className="rounded p-2 transition-colors
|
|
805
|
-
<EditBigIcon className="h-5 w-5
|
|
816
|
+
<button className="hover:bg-fm-surface-secondary rounded p-2 transition-colors">
|
|
817
|
+
<EditBigIcon className="text-fm-secondary h-5 w-5" />
|
|
806
818
|
</button>
|
|
807
819
|
</TooltipTrigger>
|
|
808
820
|
<TooltipContent side="top" align="start">
|
|
809
821
|
<div className="space-y-1">
|
|
810
822
|
<p>Edit</p>
|
|
811
|
-
<p className="text-
|
|
823
|
+
<p className="text-fm-secondary text-xs">Ctrl+E</p>
|
|
812
824
|
</div>
|
|
813
825
|
</TooltipContent>
|
|
814
826
|
</Tooltip>
|
|
815
827
|
|
|
816
828
|
<Tooltip variant="light">
|
|
817
829
|
<TooltipTrigger asChild>
|
|
818
|
-
<button className="rounded p-2 transition-colors
|
|
819
|
-
<SearchIcon className="h-5 w-5
|
|
830
|
+
<button className="hover:bg-fm-surface-secondary rounded p-2 transition-colors">
|
|
831
|
+
<SearchIcon className="text-fm-secondary h-5 w-5" />
|
|
820
832
|
</button>
|
|
821
833
|
</TooltipTrigger>
|
|
822
834
|
<TooltipContent side="top" align="center">
|
|
@@ -829,22 +841,22 @@ export const AdvancedToolbarExample: Story = {
|
|
|
829
841
|
|
|
830
842
|
<Tooltip variant="dark">
|
|
831
843
|
<TooltipTrigger asChild>
|
|
832
|
-
<button className="rounded p-2 transition-colors
|
|
833
|
-
<PlusIcon className="h-5 w-5
|
|
844
|
+
<button className="hover:bg-fm-surface-secondary rounded p-2 transition-colors">
|
|
845
|
+
<PlusIcon className="text-fm-secondary h-5 w-5" />
|
|
834
846
|
</button>
|
|
835
847
|
</TooltipTrigger>
|
|
836
848
|
<TooltipContent side="top" align="center">
|
|
837
849
|
<div className="space-y-1">
|
|
838
850
|
<p>Add New</p>
|
|
839
|
-
<p className="text-
|
|
851
|
+
<p className="text-fm-secondary text-xs">Ctrl+N</p>
|
|
840
852
|
</div>
|
|
841
853
|
</TooltipContent>
|
|
842
854
|
</Tooltip>
|
|
843
855
|
|
|
844
856
|
<Tooltip variant="light">
|
|
845
857
|
<TooltipTrigger asChild>
|
|
846
|
-
<button className="rounded p-2 transition-colors
|
|
847
|
-
<FileChartIcon className="h-5 w-5
|
|
858
|
+
<button className="hover:bg-fm-surface-secondary rounded p-2 transition-colors">
|
|
859
|
+
<FileChartIcon className="text-fm-secondary h-5 w-5" />
|
|
848
860
|
</button>
|
|
849
861
|
</TooltipTrigger>
|
|
850
862
|
<TooltipContent side="top" align="center">
|
|
@@ -857,21 +869,21 @@ export const AdvancedToolbarExample: Story = {
|
|
|
857
869
|
|
|
858
870
|
<Tooltip variant="dark">
|
|
859
871
|
<TooltipTrigger asChild>
|
|
860
|
-
<button className="rounded p-2 transition-colors
|
|
861
|
-
<TrashIcon className="h-5 w-5
|
|
872
|
+
<button className="hover:bg-fm-surface-secondary rounded p-2 transition-colors">
|
|
873
|
+
<TrashIcon className="text-fm-secondary h-5 w-5" />
|
|
862
874
|
</button>
|
|
863
875
|
</TooltipTrigger>
|
|
864
876
|
<TooltipContent side="top" align="end">
|
|
865
877
|
<div className="space-y-1">
|
|
866
878
|
<p>Delete</p>
|
|
867
|
-
<p className="text-
|
|
879
|
+
<p className="text-fm-secondary text-xs">Del</p>
|
|
868
880
|
</div>
|
|
869
881
|
</TooltipContent>
|
|
870
882
|
</Tooltip>
|
|
871
883
|
</div>
|
|
872
884
|
</div>
|
|
873
885
|
|
|
874
|
-
<div className="text-
|
|
886
|
+
<div className="text-fm-secondary text-center text-xs">
|
|
875
887
|
<p>
|
|
876
888
|
Each tooltip uses different variants and alignments for demonstration
|
|
877
889
|
</p>
|
|
@@ -896,27 +908,27 @@ export const InteractiveStates: Story = {
|
|
|
896
908
|
|
|
897
909
|
return (
|
|
898
910
|
<div className="space-y-8 p-8">
|
|
899
|
-
<h3 className="text-center text-lg font-medium
|
|
911
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
900
912
|
Interactive States with Dynamic Variants
|
|
901
913
|
</h3>
|
|
902
914
|
|
|
903
915
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
904
916
|
{/* Stateful Tooltips */}
|
|
905
917
|
<div className="space-y-4">
|
|
906
|
-
<h4 className="text-sm font-medium
|
|
918
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
907
919
|
State-Based Variants
|
|
908
920
|
</h4>
|
|
909
921
|
<div className="flex gap-4">
|
|
910
922
|
<Tooltip variant={showPassword ? "light" : "dark"}>
|
|
911
923
|
<TooltipTrigger asChild>
|
|
912
924
|
<button
|
|
913
|
-
className="rounded-full p-3 transition-colors
|
|
925
|
+
className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors"
|
|
914
926
|
onClick={() => setShowPassword(!showPassword)}
|
|
915
927
|
>
|
|
916
928
|
{showPassword ? (
|
|
917
|
-
<EyeCloseIcon className="h-6 w-6
|
|
929
|
+
<EyeCloseIcon className="text-fm-icon-info h-6 w-6" />
|
|
918
930
|
) : (
|
|
919
|
-
<EyeOpenIcon className="h-6 w-6
|
|
931
|
+
<EyeOpenIcon className="text-fm-tertiary h-6 w-6" />
|
|
920
932
|
)}
|
|
921
933
|
</button>
|
|
922
934
|
</TooltipTrigger>
|
|
@@ -928,11 +940,11 @@ export const InteractiveStates: Story = {
|
|
|
928
940
|
<Tooltip variant={isCompleted ? "light" : "dark"}>
|
|
929
941
|
<TooltipTrigger asChild>
|
|
930
942
|
<button
|
|
931
|
-
className="rounded-full p-3 transition-colors
|
|
943
|
+
className="hover:bg-fm-surface-secondary rounded-full p-3 transition-colors"
|
|
932
944
|
onClick={() => setIsCompleted(!isCompleted)}
|
|
933
945
|
>
|
|
934
946
|
<TickCircleIcon
|
|
935
|
-
className={`h-6 w-6 ${isCompleted ? "text-
|
|
947
|
+
className={`h-6 w-6 ${isCompleted ? "text-fm-icon-positive" : "text-fm-tertiary"}`}
|
|
936
948
|
/>
|
|
937
949
|
</button>
|
|
938
950
|
</TooltipTrigger>
|
|
@@ -943,14 +955,14 @@ export const InteractiveStates: Story = {
|
|
|
943
955
|
</TooltipContent>
|
|
944
956
|
</Tooltip>
|
|
945
957
|
</div>
|
|
946
|
-
<div className="text-
|
|
958
|
+
<div className="text-fm-secondary text-xs">
|
|
947
959
|
<p>Tooltip variants change based on component state</p>
|
|
948
960
|
</div>
|
|
949
961
|
</div>
|
|
950
962
|
|
|
951
963
|
{/* Complex Content */}
|
|
952
964
|
<div className="space-y-4">
|
|
953
|
-
<h4 className="text-sm font-medium
|
|
965
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
954
966
|
Complex Content Example
|
|
955
967
|
</h4>
|
|
956
968
|
<Tooltip variant="light">
|
|
@@ -971,7 +983,7 @@ export const InteractiveStates: Story = {
|
|
|
971
983
|
</div>
|
|
972
984
|
</TooltipContent>
|
|
973
985
|
</Tooltip>
|
|
974
|
-
<div className="text-
|
|
986
|
+
<div className="text-fm-secondary text-xs">
|
|
975
987
|
<p>Complex tooltip content with gradient backgrounds</p>
|
|
976
988
|
</div>
|
|
977
989
|
</div>
|
|
@@ -993,37 +1005,37 @@ export const InteractiveStates: Story = {
|
|
|
993
1005
|
export const CompleteShowcase: Story = {
|
|
994
1006
|
render: () => (
|
|
995
1007
|
<div className="space-y-12 p-8">
|
|
996
|
-
<h3 className="text-center text-xl font-medium
|
|
1008
|
+
<h3 className="text-fm-primary text-center text-xl font-medium">
|
|
997
1009
|
Complete Tooltip System Showcase
|
|
998
1010
|
</h3>
|
|
999
1011
|
|
|
1000
1012
|
{/* Status Indicators */}
|
|
1001
1013
|
<div className="space-y-4">
|
|
1002
|
-
<h4 className="text-sm font-medium
|
|
1014
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
1003
1015
|
Status Indicators with Positioning
|
|
1004
1016
|
</h4>
|
|
1005
1017
|
<div className="flex gap-6">
|
|
1006
1018
|
<div className="flex items-center gap-2">
|
|
1007
1019
|
<Tooltip variant="dark">
|
|
1008
1020
|
<TooltipTrigger asChild>
|
|
1009
|
-
<div className="h-3 w-3 cursor-help rounded-full
|
|
1021
|
+
<div className="bg-fm-surface-positive h-3 w-3 cursor-help rounded-full"></div>
|
|
1010
1022
|
</TooltipTrigger>
|
|
1011
1023
|
<TooltipContent side="top" align="start">
|
|
1012
1024
|
<div className="space-y-1">
|
|
1013
|
-
<div className="font-medium
|
|
1014
|
-
<div className="text-
|
|
1025
|
+
<div className="text-fm-primary font-medium">Online</div>
|
|
1026
|
+
<div className="text-fm-tertiary text-xs">
|
|
1015
1027
|
Last seen: Just now
|
|
1016
1028
|
</div>
|
|
1017
1029
|
</div>
|
|
1018
1030
|
</TooltipContent>
|
|
1019
1031
|
</Tooltip>
|
|
1020
|
-
<span className="text-
|
|
1032
|
+
<span className="text-fm-primary text-sm">Active User</span>
|
|
1021
1033
|
</div>
|
|
1022
1034
|
|
|
1023
1035
|
<div className="flex items-center gap-2">
|
|
1024
1036
|
<Tooltip variant="light">
|
|
1025
1037
|
<TooltipTrigger asChild>
|
|
1026
|
-
<div className="h-3 w-3 cursor-help rounded-full
|
|
1038
|
+
<div className="bg-fm-surface-warning h-3 w-3 cursor-help rounded-full"></div>
|
|
1027
1039
|
</TooltipTrigger>
|
|
1028
1040
|
<TooltipContent side="top" align="center">
|
|
1029
1041
|
<div className="space-y-1">
|
|
@@ -1034,31 +1046,31 @@ export const CompleteShowcase: Story = {
|
|
|
1034
1046
|
</div>
|
|
1035
1047
|
</TooltipContent>
|
|
1036
1048
|
</Tooltip>
|
|
1037
|
-
<span className="text-
|
|
1049
|
+
<span className="text-fm-primary text-sm">Away User</span>
|
|
1038
1050
|
</div>
|
|
1039
1051
|
|
|
1040
1052
|
<div className="flex items-center gap-2">
|
|
1041
1053
|
<Tooltip variant="dark">
|
|
1042
1054
|
<TooltipTrigger asChild>
|
|
1043
|
-
<div className="h-3 w-3 cursor-help rounded-full
|
|
1055
|
+
<div className="bg-fm-surface-secondary h-3 w-3 cursor-help rounded-full"></div>
|
|
1044
1056
|
</TooltipTrigger>
|
|
1045
1057
|
<TooltipContent side="top" align="end">
|
|
1046
1058
|
<div className="space-y-1">
|
|
1047
|
-
<div className="font-medium
|
|
1048
|
-
<div className="text-
|
|
1059
|
+
<div className="text-fm-primary font-medium">Offline</div>
|
|
1060
|
+
<div className="text-fm-tertiary text-xs">
|
|
1049
1061
|
Last seen: 2 hours ago
|
|
1050
1062
|
</div>
|
|
1051
1063
|
</div>
|
|
1052
1064
|
</TooltipContent>
|
|
1053
1065
|
</Tooltip>
|
|
1054
|
-
<span className="text-
|
|
1066
|
+
<span className="text-fm-primary text-sm">Offline User</span>
|
|
1055
1067
|
</div>
|
|
1056
1068
|
</div>
|
|
1057
1069
|
</div>
|
|
1058
1070
|
|
|
1059
1071
|
{/* Data Metrics */}
|
|
1060
1072
|
<div className="space-y-4">
|
|
1061
|
-
<h4 className="text-sm font-medium
|
|
1073
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
1062
1074
|
Data Metrics with Various Positioning
|
|
1063
1075
|
</h4>
|
|
1064
1076
|
<div className="grid grid-cols-2 gap-4 lg:grid-cols-4">
|
|
@@ -1102,11 +1114,13 @@ export const CompleteShowcase: Story = {
|
|
|
1102
1114
|
].map((metric, index) => (
|
|
1103
1115
|
<Tooltip key={index} variant={metric.variant}>
|
|
1104
1116
|
<TooltipTrigger asChild>
|
|
1105
|
-
<div className="cursor-help rounded-lg border
|
|
1106
|
-
<div className="text-2xl font-bold
|
|
1117
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary hover:bg-fm-surface-secondary cursor-help rounded-lg border p-4 transition-colors">
|
|
1118
|
+
<div className="text-fm-primary text-2xl font-bold">
|
|
1107
1119
|
{metric.value}
|
|
1108
1120
|
</div>
|
|
1109
|
-
<div className="text-
|
|
1121
|
+
<div className="text-fm-secondary text-sm">
|
|
1122
|
+
{metric.label}
|
|
1123
|
+
</div>
|
|
1110
1124
|
</div>
|
|
1111
1125
|
</TooltipTrigger>
|
|
1112
1126
|
<TooltipContent side={metric.side} align={metric.align}>
|
|
@@ -1117,11 +1131,11 @@ export const CompleteShowcase: Story = {
|
|
|
1117
1131
|
className={
|
|
1118
1132
|
metric.change.startsWith("+")
|
|
1119
1133
|
? metric.variant === "dark"
|
|
1120
|
-
? "text-
|
|
1121
|
-
: "text-
|
|
1134
|
+
? "text-fm-icon-positive"
|
|
1135
|
+
: "text-fm-icon-positive"
|
|
1122
1136
|
: metric.variant === "dark"
|
|
1123
|
-
? "text-
|
|
1124
|
-
: "text-
|
|
1137
|
+
? "text-fm-icon-negative"
|
|
1138
|
+
: "text-fm-icon-negative"
|
|
1125
1139
|
}
|
|
1126
1140
|
>
|
|
1127
1141
|
{metric.change}
|
|
@@ -1129,7 +1143,7 @@ export const CompleteShowcase: Story = {
|
|
|
1129
1143
|
<span
|
|
1130
1144
|
className={
|
|
1131
1145
|
metric.variant === "dark"
|
|
1132
|
-
? "text-
|
|
1146
|
+
? "text-fm-secondary"
|
|
1133
1147
|
: "opacity-70"
|
|
1134
1148
|
}
|
|
1135
1149
|
>
|
|
@@ -1144,7 +1158,7 @@ export const CompleteShowcase: Story = {
|
|
|
1144
1158
|
</div>
|
|
1145
1159
|
</div>
|
|
1146
1160
|
|
|
1147
|
-
<div className="space-y-1 text-center text-xs
|
|
1161
|
+
<div className="text-fm-secondary space-y-1 text-center text-xs">
|
|
1148
1162
|
<p>
|
|
1149
1163
|
Complete demonstration of the tooltip system with gradient backgrounds
|
|
1150
1164
|
</p>
|
|
@@ -1172,32 +1186,32 @@ export const CompleteShowcase: Story = {
|
|
|
1172
1186
|
export const AllCombinationsMatrix: Story = {
|
|
1173
1187
|
render: () => (
|
|
1174
1188
|
<div className="min-h-screen space-y-16 p-12">
|
|
1175
|
-
<h3 className="text-center text-2xl font-bold
|
|
1189
|
+
<h3 className="text-fm-primary text-center text-2xl font-bold">
|
|
1176
1190
|
Complete Tooltip Matrix - All Combinations
|
|
1177
1191
|
</h3>
|
|
1178
|
-
<p className="text-
|
|
1192
|
+
<p className="text-fm-secondary text-center">
|
|
1179
1193
|
Every possible combination of side, align, and variant
|
|
1180
1194
|
</p>
|
|
1181
1195
|
|
|
1182
1196
|
{/* Dark Variant - All Combinations */}
|
|
1183
1197
|
<div className="space-y-8">
|
|
1184
|
-
<h4 className="text-center text-xl font-semibold
|
|
1198
|
+
<h4 className="text-fm-icon-brand-secondary text-center text-xl font-semibold">
|
|
1185
1199
|
Dark Variant - All Sides & Alignments
|
|
1186
1200
|
</h4>
|
|
1187
1201
|
|
|
1188
1202
|
{/* Top Side - Dark */}
|
|
1189
1203
|
<div className="space-y-4">
|
|
1190
|
-
<h5 className="text-center text-lg font-medium
|
|
1204
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1191
1205
|
Top Side (Dark)
|
|
1192
1206
|
</h5>
|
|
1193
1207
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
1194
1208
|
<div className="flex flex-col items-center gap-4">
|
|
1195
|
-
<span className="text-
|
|
1209
|
+
<span className="text-fm-secondary text-sm">
|
|
1196
1210
|
side="top" align="start"
|
|
1197
1211
|
</span>
|
|
1198
1212
|
<Tooltip variant="dark">
|
|
1199
1213
|
<TooltipTrigger asChild>
|
|
1200
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1214
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1201
1215
|
Top Start
|
|
1202
1216
|
</div>
|
|
1203
1217
|
</TooltipTrigger>
|
|
@@ -1208,12 +1222,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1208
1222
|
</div>
|
|
1209
1223
|
|
|
1210
1224
|
<div className="flex flex-col items-center gap-4">
|
|
1211
|
-
<span className="text-
|
|
1225
|
+
<span className="text-fm-secondary text-sm">
|
|
1212
1226
|
side="top" align="center"
|
|
1213
1227
|
</span>
|
|
1214
1228
|
<Tooltip variant="dark">
|
|
1215
1229
|
<TooltipTrigger asChild>
|
|
1216
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1230
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1217
1231
|
Top Center
|
|
1218
1232
|
</div>
|
|
1219
1233
|
</TooltipTrigger>
|
|
@@ -1224,12 +1238,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1224
1238
|
</div>
|
|
1225
1239
|
|
|
1226
1240
|
<div className="flex flex-col items-center gap-4">
|
|
1227
|
-
<span className="text-
|
|
1241
|
+
<span className="text-fm-secondary text-sm">
|
|
1228
1242
|
side="top" align="end"
|
|
1229
1243
|
</span>
|
|
1230
1244
|
<Tooltip variant="dark">
|
|
1231
1245
|
<TooltipTrigger asChild>
|
|
1232
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1246
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1233
1247
|
Top End
|
|
1234
1248
|
</div>
|
|
1235
1249
|
</TooltipTrigger>
|
|
@@ -1243,15 +1257,15 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1243
1257
|
|
|
1244
1258
|
{/* Right & Left Side - Dark */}
|
|
1245
1259
|
<div className="space-y-4">
|
|
1246
|
-
<h5 className="text-center text-lg font-medium
|
|
1260
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1247
1261
|
Right & Left Sides (Dark)
|
|
1248
1262
|
</h5>
|
|
1249
1263
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
1250
1264
|
<div className="flex flex-col items-center gap-4">
|
|
1251
|
-
<span className="text-
|
|
1265
|
+
<span className="text-fm-secondary text-sm">side="right"</span>
|
|
1252
1266
|
<Tooltip variant="dark">
|
|
1253
1267
|
<TooltipTrigger asChild>
|
|
1254
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1268
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1255
1269
|
Right Side
|
|
1256
1270
|
</div>
|
|
1257
1271
|
</TooltipTrigger>
|
|
@@ -1262,10 +1276,10 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1262
1276
|
</div>
|
|
1263
1277
|
|
|
1264
1278
|
<div className="flex flex-col items-center gap-4">
|
|
1265
|
-
<span className="text-
|
|
1279
|
+
<span className="text-fm-secondary text-sm">side="left"</span>
|
|
1266
1280
|
<Tooltip variant="dark">
|
|
1267
1281
|
<TooltipTrigger asChild>
|
|
1268
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1282
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1269
1283
|
Left Side
|
|
1270
1284
|
</div>
|
|
1271
1285
|
</TooltipTrigger>
|
|
@@ -1279,17 +1293,17 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1279
1293
|
|
|
1280
1294
|
{/* Bottom Side - Dark */}
|
|
1281
1295
|
<div className="space-y-4">
|
|
1282
|
-
<h5 className="text-center text-lg font-medium
|
|
1296
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1283
1297
|
Bottom Side (Dark)
|
|
1284
1298
|
</h5>
|
|
1285
1299
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
1286
1300
|
<div className="flex flex-col items-center gap-4">
|
|
1287
|
-
<span className="text-
|
|
1301
|
+
<span className="text-fm-secondary text-sm">
|
|
1288
1302
|
side="bottom" align="start"
|
|
1289
1303
|
</span>
|
|
1290
1304
|
<Tooltip variant="dark">
|
|
1291
1305
|
<TooltipTrigger asChild>
|
|
1292
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1306
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1293
1307
|
Bottom Start
|
|
1294
1308
|
</div>
|
|
1295
1309
|
</TooltipTrigger>
|
|
@@ -1300,12 +1314,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1300
1314
|
</div>
|
|
1301
1315
|
|
|
1302
1316
|
<div className="flex flex-col items-center gap-4">
|
|
1303
|
-
<span className="text-
|
|
1317
|
+
<span className="text-fm-secondary text-sm">
|
|
1304
1318
|
side="bottom" align="center"
|
|
1305
1319
|
</span>
|
|
1306
1320
|
<Tooltip variant="dark">
|
|
1307
1321
|
<TooltipTrigger asChild>
|
|
1308
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1322
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1309
1323
|
Bottom Center
|
|
1310
1324
|
</div>
|
|
1311
1325
|
</TooltipTrigger>
|
|
@@ -1316,12 +1330,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1316
1330
|
</div>
|
|
1317
1331
|
|
|
1318
1332
|
<div className="flex flex-col items-center gap-4">
|
|
1319
|
-
<span className="text-
|
|
1333
|
+
<span className="text-fm-secondary text-sm">
|
|
1320
1334
|
side="bottom" align="end"
|
|
1321
1335
|
</span>
|
|
1322
1336
|
<Tooltip variant="dark">
|
|
1323
1337
|
<TooltipTrigger asChild>
|
|
1324
|
-
<div className="rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3
|
|
1338
|
+
<div className="text-fm-primary rounded-lg border border-purple-500/30 bg-purple-900/20 px-6 py-3">
|
|
1325
1339
|
Bottom End
|
|
1326
1340
|
</div>
|
|
1327
1341
|
</TooltipTrigger>
|
|
@@ -1336,23 +1350,23 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1336
1350
|
|
|
1337
1351
|
{/* Light Variant - All Combinations */}
|
|
1338
1352
|
<div className="space-y-8">
|
|
1339
|
-
<h4 className="text-center text-xl font-semibold
|
|
1353
|
+
<h4 className="text-fm-icon-brand-secondary text-center text-xl font-semibold">
|
|
1340
1354
|
Light Variant - All Sides & Alignments
|
|
1341
1355
|
</h4>
|
|
1342
1356
|
|
|
1343
1357
|
{/* Top Side - Light */}
|
|
1344
1358
|
<div className="space-y-4">
|
|
1345
|
-
<h5 className="text-center text-lg font-medium
|
|
1359
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1346
1360
|
Top Side (Light)
|
|
1347
1361
|
</h5>
|
|
1348
1362
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
1349
1363
|
<div className="flex flex-col items-center gap-4">
|
|
1350
|
-
<span className="text-
|
|
1364
|
+
<span className="text-fm-secondary text-sm">
|
|
1351
1365
|
side="top" align="start"
|
|
1352
1366
|
</span>
|
|
1353
1367
|
<Tooltip variant="light">
|
|
1354
1368
|
<TooltipTrigger asChild>
|
|
1355
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1369
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1356
1370
|
Top Start
|
|
1357
1371
|
</div>
|
|
1358
1372
|
</TooltipTrigger>
|
|
@@ -1363,12 +1377,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1363
1377
|
</div>
|
|
1364
1378
|
|
|
1365
1379
|
<div className="flex flex-col items-center gap-4">
|
|
1366
|
-
<span className="text-
|
|
1380
|
+
<span className="text-fm-secondary text-sm">
|
|
1367
1381
|
side="top" align="center"
|
|
1368
1382
|
</span>
|
|
1369
1383
|
<Tooltip variant="light">
|
|
1370
1384
|
<TooltipTrigger asChild>
|
|
1371
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1385
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1372
1386
|
Top Center
|
|
1373
1387
|
</div>
|
|
1374
1388
|
</TooltipTrigger>
|
|
@@ -1379,12 +1393,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1379
1393
|
</div>
|
|
1380
1394
|
|
|
1381
1395
|
<div className="flex flex-col items-center gap-4">
|
|
1382
|
-
<span className="text-
|
|
1396
|
+
<span className="text-fm-secondary text-sm">
|
|
1383
1397
|
side="top" align="end"
|
|
1384
1398
|
</span>
|
|
1385
1399
|
<Tooltip variant="light">
|
|
1386
1400
|
<TooltipTrigger asChild>
|
|
1387
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1401
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1388
1402
|
Top End
|
|
1389
1403
|
</div>
|
|
1390
1404
|
</TooltipTrigger>
|
|
@@ -1398,15 +1412,15 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1398
1412
|
|
|
1399
1413
|
{/* Right & Left Side - Light */}
|
|
1400
1414
|
<div className="space-y-4">
|
|
1401
|
-
<h5 className="text-center text-lg font-medium
|
|
1415
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1402
1416
|
Right & Left Sides (Light)
|
|
1403
1417
|
</h5>
|
|
1404
1418
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
1405
1419
|
<div className="flex flex-col items-center gap-4">
|
|
1406
|
-
<span className="text-
|
|
1420
|
+
<span className="text-fm-secondary text-sm">side="right"</span>
|
|
1407
1421
|
<Tooltip variant="light">
|
|
1408
1422
|
<TooltipTrigger asChild>
|
|
1409
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1423
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1410
1424
|
Right Side
|
|
1411
1425
|
</div>
|
|
1412
1426
|
</TooltipTrigger>
|
|
@@ -1417,10 +1431,10 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1417
1431
|
</div>
|
|
1418
1432
|
|
|
1419
1433
|
<div className="flex flex-col items-center gap-4">
|
|
1420
|
-
<span className="text-
|
|
1434
|
+
<span className="text-fm-secondary text-sm">side="left"</span>
|
|
1421
1435
|
<Tooltip variant="light">
|
|
1422
1436
|
<TooltipTrigger asChild>
|
|
1423
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1437
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1424
1438
|
Left Side
|
|
1425
1439
|
</div>
|
|
1426
1440
|
</TooltipTrigger>
|
|
@@ -1434,17 +1448,17 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1434
1448
|
|
|
1435
1449
|
{/* Bottom Side - Light */}
|
|
1436
1450
|
<div className="space-y-4">
|
|
1437
|
-
<h5 className="text-center text-lg font-medium
|
|
1451
|
+
<h5 className="text-fm-tertiary text-center text-lg font-medium">
|
|
1438
1452
|
Bottom Side (Light)
|
|
1439
1453
|
</h5>
|
|
1440
1454
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
1441
1455
|
<div className="flex flex-col items-center gap-4">
|
|
1442
|
-
<span className="text-
|
|
1456
|
+
<span className="text-fm-secondary text-sm">
|
|
1443
1457
|
side="bottom" align="start"
|
|
1444
1458
|
</span>
|
|
1445
1459
|
<Tooltip variant="light">
|
|
1446
1460
|
<TooltipTrigger asChild>
|
|
1447
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1461
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1448
1462
|
Bottom Start
|
|
1449
1463
|
</div>
|
|
1450
1464
|
</TooltipTrigger>
|
|
@@ -1455,12 +1469,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1455
1469
|
</div>
|
|
1456
1470
|
|
|
1457
1471
|
<div className="flex flex-col items-center gap-4">
|
|
1458
|
-
<span className="text-
|
|
1472
|
+
<span className="text-fm-secondary text-sm">
|
|
1459
1473
|
side="bottom" align="center"
|
|
1460
1474
|
</span>
|
|
1461
1475
|
<Tooltip variant="light">
|
|
1462
1476
|
<TooltipTrigger asChild>
|
|
1463
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1477
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1464
1478
|
Bottom Center
|
|
1465
1479
|
</div>
|
|
1466
1480
|
</TooltipTrigger>
|
|
@@ -1471,12 +1485,12 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1471
1485
|
</div>
|
|
1472
1486
|
|
|
1473
1487
|
<div className="flex flex-col items-center gap-4">
|
|
1474
|
-
<span className="text-
|
|
1488
|
+
<span className="text-fm-secondary text-sm">
|
|
1475
1489
|
side="bottom" align="end"
|
|
1476
1490
|
</span>
|
|
1477
1491
|
<Tooltip variant="light">
|
|
1478
1492
|
<TooltipTrigger asChild>
|
|
1479
|
-
<div className="rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3
|
|
1493
|
+
<div className="text-fm-primary rounded-lg border border-purple-300/50 bg-purple-100/10 px-6 py-3">
|
|
1480
1494
|
Bottom End
|
|
1481
1495
|
</div>
|
|
1482
1496
|
</TooltipTrigger>
|
|
@@ -1490,12 +1504,14 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1490
1504
|
</div>
|
|
1491
1505
|
|
|
1492
1506
|
{/* Code Example */}
|
|
1493
|
-
<div className="mx-auto max-w-4xl space-y-4 rounded-lg border
|
|
1494
|
-
<h5 className="text-lg font-medium
|
|
1507
|
+
<div className="border-fm-divider-secondary mx-auto max-w-4xl space-y-4 rounded-lg border bg-black/20 p-6">
|
|
1508
|
+
<h5 className="text-fm-primary text-lg font-medium">Code Examples</h5>
|
|
1495
1509
|
<div className="space-y-4 text-sm">
|
|
1496
1510
|
<div className="space-y-2">
|
|
1497
|
-
<p className="text-
|
|
1498
|
-
|
|
1511
|
+
<p className="text-fm-secondary">
|
|
1512
|
+
Dark variant with top positioning:
|
|
1513
|
+
</p>
|
|
1514
|
+
<pre className="text-fm-icon-brand-secondary overflow-x-auto rounded bg-black/40 p-3">
|
|
1499
1515
|
{`<Tooltip variant="dark">
|
|
1500
1516
|
<TooltipTrigger>Trigger Element</TooltipTrigger>
|
|
1501
1517
|
<TooltipContent side="top" align="center" sideOffset={8}>
|
|
@@ -1505,10 +1521,10 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1505
1521
|
</pre>
|
|
1506
1522
|
</div>
|
|
1507
1523
|
<div className="space-y-2">
|
|
1508
|
-
<p className="text-
|
|
1524
|
+
<p className="text-fm-secondary">
|
|
1509
1525
|
Light variant with right positioning:
|
|
1510
1526
|
</p>
|
|
1511
|
-
<pre className="overflow-x-auto rounded bg-black/40 p-3
|
|
1527
|
+
<pre className="text-fm-icon-brand-secondary overflow-x-auto rounded bg-black/40 p-3">
|
|
1512
1528
|
{`<Tooltip variant="light">
|
|
1513
1529
|
<TooltipTrigger>Trigger Element</TooltipTrigger>
|
|
1514
1530
|
<TooltipContent side="right" sideOffset={12}>
|
|
@@ -1520,7 +1536,7 @@ export const AllCombinationsMatrix: Story = {
|
|
|
1520
1536
|
</div>
|
|
1521
1537
|
</div>
|
|
1522
1538
|
|
|
1523
|
-
<div className="space-y-2 text-center text-sm
|
|
1539
|
+
<div className="text-fm-secondary space-y-2 text-center text-sm">
|
|
1524
1540
|
<p>
|
|
1525
1541
|
<strong>16 total combinations:</strong> 2 variants × 8 positioning
|
|
1526
1542
|
combinations
|