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
|
@@ -195,13 +195,13 @@ export const SidesAndVariants: Story = {
|
|
|
195
195
|
{/* Control Panel */}
|
|
196
196
|
<div className="fixed top-4 left-1/2 z-50 -translate-x-1/2 transform">
|
|
197
197
|
<div className="space-y-4 rounded-lg bg-black/80 p-6 backdrop-blur-sm">
|
|
198
|
-
<h3 className="text-center text-sm font-medium
|
|
198
|
+
<h3 className="text-fm-primary text-center text-sm font-medium">
|
|
199
199
|
Sheet Sides & Variants
|
|
200
200
|
</h3>
|
|
201
201
|
|
|
202
202
|
{/* Sides */}
|
|
203
203
|
<div className="space-y-2">
|
|
204
|
-
<h4 className="text-xs font-medium tracking-wide
|
|
204
|
+
<h4 className="text-fm-secondary text-xs font-medium tracking-wide uppercase">
|
|
205
205
|
Sides
|
|
206
206
|
</h4>
|
|
207
207
|
<div className="grid grid-cols-2 gap-2">
|
|
@@ -221,8 +221,8 @@ export const SidesAndVariants: Story = {
|
|
|
221
221
|
</SheetHeader>
|
|
222
222
|
<div className="py-4">
|
|
223
223
|
<div className="space-y-4">
|
|
224
|
-
<div className="rounded-lg
|
|
225
|
-
<h4 className="mb-2 font-medium
|
|
224
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
225
|
+
<h4 className="text-fm-primary mb-2 font-medium">
|
|
226
226
|
Navigation Menu
|
|
227
227
|
</h4>
|
|
228
228
|
<div className="space-y-2">
|
|
@@ -230,10 +230,10 @@ export const SidesAndVariants: Story = {
|
|
|
230
230
|
(item) => (
|
|
231
231
|
<div
|
|
232
232
|
key={item}
|
|
233
|
-
className="flex items-center gap-3 rounded p-2
|
|
233
|
+
className="hover:bg-fm-surface-tertiary flex items-center gap-3 rounded p-2"
|
|
234
234
|
>
|
|
235
|
-
<SiteLogoIcon className="h-4 w-4
|
|
236
|
-
<span className="text-
|
|
235
|
+
<SiteLogoIcon className="text-fm-secondary h-4 w-4" />
|
|
236
|
+
<span className="text-fm-primary">{item}</span>
|
|
237
237
|
</div>
|
|
238
238
|
)
|
|
239
239
|
)}
|
|
@@ -259,14 +259,14 @@ export const SidesAndVariants: Story = {
|
|
|
259
259
|
</SheetDescription>
|
|
260
260
|
</SheetHeader>
|
|
261
261
|
<div className="py-4">
|
|
262
|
-
<div className="
|
|
262
|
+
<div className="border-fm-divider-positive bg-fm-surface-positive-sec rounded-lg border p-4">
|
|
263
263
|
<div className="mb-2 flex items-center gap-2">
|
|
264
|
-
<TickCircleIcon className="h-5 w-5
|
|
265
|
-
<h4 className="font-medium
|
|
264
|
+
<TickCircleIcon className="text-fm-icon-positive h-5 w-5" />
|
|
265
|
+
<h4 className="text-fm-primary font-medium">
|
|
266
266
|
Success Panel
|
|
267
267
|
</h4>
|
|
268
268
|
</div>
|
|
269
|
-
<p className="text-
|
|
269
|
+
<p className="text-fm-secondary text-sm">
|
|
270
270
|
This demonstrates the positive variant with green accent
|
|
271
271
|
border.
|
|
272
272
|
</p>
|
|
@@ -290,14 +290,14 @@ export const SidesAndVariants: Story = {
|
|
|
290
290
|
</SheetDescription>
|
|
291
291
|
</SheetHeader>
|
|
292
292
|
<div className="py-4">
|
|
293
|
-
<div className="
|
|
293
|
+
<div className="border-fm-divider-warning bg-fm-surface-warning-sec rounded-lg border p-4">
|
|
294
294
|
<div className="mb-2 flex items-center gap-2">
|
|
295
|
-
<AlertIcon className="h-5 w-5
|
|
296
|
-
<h4 className="font-medium
|
|
295
|
+
<AlertIcon className="text-fm-warning h-5 w-5" />
|
|
296
|
+
<h4 className="text-fm-primary font-medium">
|
|
297
297
|
Warning Notice
|
|
298
298
|
</h4>
|
|
299
299
|
</div>
|
|
300
|
-
<p className="text-
|
|
300
|
+
<p className="text-fm-secondary text-sm">
|
|
301
301
|
Top sheets are great for notifications and warnings.
|
|
302
302
|
</p>
|
|
303
303
|
</div>
|
|
@@ -320,14 +320,14 @@ export const SidesAndVariants: Story = {
|
|
|
320
320
|
</SheetDescription>
|
|
321
321
|
</SheetHeader>
|
|
322
322
|
<div className="py-4">
|
|
323
|
-
<div className="
|
|
323
|
+
<div className="border-fm-divider-secondary bg-fm-surface-info-sec rounded-lg border p-4">
|
|
324
324
|
<div className="mb-2 flex items-center gap-2">
|
|
325
|
-
<FileChartIcon className="h-5 w-5
|
|
326
|
-
<h4 className="font-medium
|
|
325
|
+
<FileChartIcon className="text-fm-icon-info h-5 w-5" />
|
|
326
|
+
<h4 className="text-fm-primary font-medium">
|
|
327
327
|
Information Panel
|
|
328
328
|
</h4>
|
|
329
329
|
</div>
|
|
330
|
-
<p className="text-
|
|
330
|
+
<p className="text-fm-secondary text-sm">
|
|
331
331
|
Bottom sheets work well for mobile-style interactions.
|
|
332
332
|
</p>
|
|
333
333
|
</div>
|
|
@@ -339,7 +339,7 @@ export const SidesAndVariants: Story = {
|
|
|
339
339
|
|
|
340
340
|
{/* Error Variant */}
|
|
341
341
|
<div className="space-y-2">
|
|
342
|
-
<h4 className="text-xs font-medium tracking-wide
|
|
342
|
+
<h4 className="text-fm-secondary text-xs font-medium tracking-wide uppercase">
|
|
343
343
|
Error Variant
|
|
344
344
|
</h4>
|
|
345
345
|
<Sheet>
|
|
@@ -356,19 +356,21 @@ export const SidesAndVariants: Story = {
|
|
|
356
356
|
</SheetDescription>
|
|
357
357
|
</SheetHeader>
|
|
358
358
|
<div className="py-4">
|
|
359
|
-
<div className="
|
|
359
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
360
360
|
<div className="mb-2 flex items-center gap-2">
|
|
361
|
-
<AlertIcon className="h-5 w-5
|
|
362
|
-
<h4 className="font-medium
|
|
361
|
+
<AlertIcon className="text-fm-icon-negative h-5 w-5" />
|
|
362
|
+
<h4 className="text-fm-primary font-medium">
|
|
363
|
+
Error Details
|
|
364
|
+
</h4>
|
|
363
365
|
</div>
|
|
364
|
-
<p className="mb-3 text-sm
|
|
366
|
+
<p className="text-fm-secondary mb-3 text-sm">
|
|
365
367
|
Something went wrong. Please check the details below.
|
|
366
368
|
</p>
|
|
367
369
|
<div className="space-y-2">
|
|
368
|
-
<div className="text-
|
|
370
|
+
<div className="text-fm-secondary text-xs">
|
|
369
371
|
• Network connection failed
|
|
370
372
|
</div>
|
|
371
|
-
<div className="text-
|
|
373
|
+
<div className="text-fm-secondary text-xs">
|
|
372
374
|
• Invalid response format
|
|
373
375
|
</div>
|
|
374
376
|
</div>
|
|
@@ -463,8 +465,8 @@ export const NavigationSheet: Story = {
|
|
|
463
465
|
href="#"
|
|
464
466
|
className={`flex items-center gap-3 rounded-lg p-3 transition-colors ${
|
|
465
467
|
item.active
|
|
466
|
-
? "bg-
|
|
467
|
-
: "text-
|
|
468
|
+
? "bg-fm-surface-info-sec text-fm-info"
|
|
469
|
+
: "text-fm-primary hover:bg-fm-surface-secondary"
|
|
468
470
|
}`}
|
|
469
471
|
>
|
|
470
472
|
<item.icon className="h-5 w-5" />
|
|
@@ -483,8 +485,8 @@ export const NavigationSheet: Story = {
|
|
|
483
485
|
</nav>
|
|
484
486
|
|
|
485
487
|
<div className="mt-8 space-y-4">
|
|
486
|
-
<div className="rounded-lg
|
|
487
|
-
<h4 className="mb-2 text-sm font-medium
|
|
488
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
489
|
+
<h4 className="text-fm-primary mb-2 text-sm font-medium">
|
|
488
490
|
Quick Actions
|
|
489
491
|
</h4>
|
|
490
492
|
<div className="space-y-2">
|
|
@@ -511,11 +513,15 @@ export const NavigationSheet: Story = {
|
|
|
511
513
|
|
|
512
514
|
<SheetFooter>
|
|
513
515
|
<div className="w-full space-y-2">
|
|
514
|
-
<div className="flex items-center gap-3 rounded-lg
|
|
516
|
+
<div className="bg-fm-surface-secondary flex items-center gap-3 rounded-lg p-3">
|
|
515
517
|
<div className="h-8 w-8 rounded-full bg-gradient-to-r from-blue-500 to-purple-500"></div>
|
|
516
518
|
<div>
|
|
517
|
-
<p className="text-sm font-medium
|
|
518
|
-
|
|
519
|
+
<p className="text-fm-primary text-sm font-medium">
|
|
520
|
+
John Doe
|
|
521
|
+
</p>
|
|
522
|
+
<p className="text-fm-secondary text-xs">
|
|
523
|
+
john@example.com
|
|
524
|
+
</p>
|
|
519
525
|
</div>
|
|
520
526
|
</div>
|
|
521
527
|
<SheetClose asChild>
|
|
@@ -528,7 +534,7 @@ export const NavigationSheet: Story = {
|
|
|
528
534
|
</SheetContent>
|
|
529
535
|
</Sheet>
|
|
530
536
|
|
|
531
|
-
<h1 className="text-lg font-semibold
|
|
537
|
+
<h1 className="text-fm-primary text-lg font-semibold">App Title</h1>
|
|
532
538
|
|
|
533
539
|
<IconButton
|
|
534
540
|
variant="ghost"
|
|
@@ -665,8 +671,8 @@ export const FormSheet: Story = {
|
|
|
665
671
|
</Label>
|
|
666
672
|
</div>
|
|
667
673
|
|
|
668
|
-
<div className="rounded-lg
|
|
669
|
-
<p className="text-
|
|
674
|
+
<div className="bg-fm-surface-info-sec rounded-lg p-3">
|
|
675
|
+
<p className="text-fm-info text-xs">
|
|
670
676
|
We typically respond within 24 hours. For urgent matters,
|
|
671
677
|
please call our support line.
|
|
672
678
|
</p>
|
|
@@ -749,12 +755,12 @@ export const SettingsPanelSheet: Story = {
|
|
|
749
755
|
<div className="space-y-6">
|
|
750
756
|
{/* Notifications Section */}
|
|
751
757
|
<div className="space-y-3">
|
|
752
|
-
<h4 className="text-sm font-medium
|
|
758
|
+
<h4 className="text-fm-primary text-sm font-medium">
|
|
753
759
|
Notifications
|
|
754
760
|
</h4>
|
|
755
761
|
<div className="space-y-3">
|
|
756
762
|
<div className="flex items-center justify-between">
|
|
757
|
-
<span className="text-
|
|
763
|
+
<span className="text-fm-primary text-sm">
|
|
758
764
|
Push Notifications
|
|
759
765
|
</span>
|
|
760
766
|
<Checkbox
|
|
@@ -764,7 +770,7 @@ export const SettingsPanelSheet: Story = {
|
|
|
764
770
|
</div>
|
|
765
771
|
|
|
766
772
|
<div className="flex items-center justify-between">
|
|
767
|
-
<span className="text-
|
|
773
|
+
<span className="text-fm-primary text-sm">
|
|
768
774
|
Email Updates
|
|
769
775
|
</span>
|
|
770
776
|
<Checkbox
|
|
@@ -774,7 +780,9 @@ export const SettingsPanelSheet: Story = {
|
|
|
774
780
|
</div>
|
|
775
781
|
|
|
776
782
|
<div className="flex items-center justify-between">
|
|
777
|
-
<span className="text-
|
|
783
|
+
<span className="text-fm-primary text-sm">
|
|
784
|
+
Analytics
|
|
785
|
+
</span>
|
|
778
786
|
<Checkbox
|
|
779
787
|
checked={settings.analytics}
|
|
780
788
|
onCheckedChange={() => toggleSetting("analytics")}
|
|
@@ -785,12 +793,14 @@ export const SettingsPanelSheet: Story = {
|
|
|
785
793
|
|
|
786
794
|
{/* Appearance Section */}
|
|
787
795
|
<div className="space-y-3">
|
|
788
|
-
<h4 className="text-sm font-medium
|
|
796
|
+
<h4 className="text-fm-primary text-sm font-medium">
|
|
789
797
|
Appearance
|
|
790
798
|
</h4>
|
|
791
799
|
<div className="space-y-3">
|
|
792
800
|
<div className="flex items-center justify-between">
|
|
793
|
-
<span className="text-
|
|
801
|
+
<span className="text-fm-primary text-sm">
|
|
802
|
+
Dark Mode
|
|
803
|
+
</span>
|
|
794
804
|
<Checkbox
|
|
795
805
|
checked={settings.darkMode}
|
|
796
806
|
onCheckedChange={() => toggleSetting("darkMode")}
|
|
@@ -801,10 +811,14 @@ export const SettingsPanelSheet: Story = {
|
|
|
801
811
|
|
|
802
812
|
{/* Advanced Section */}
|
|
803
813
|
<div className="space-y-3">
|
|
804
|
-
<h4 className="text-sm font-medium
|
|
814
|
+
<h4 className="text-fm-primary text-sm font-medium">
|
|
815
|
+
Advanced
|
|
816
|
+
</h4>
|
|
805
817
|
<div className="space-y-3">
|
|
806
818
|
<div className="flex items-center justify-between">
|
|
807
|
-
<span className="text-
|
|
819
|
+
<span className="text-fm-primary text-sm">
|
|
820
|
+
Auto Save
|
|
821
|
+
</span>
|
|
808
822
|
<Checkbox
|
|
809
823
|
checked={settings.autoSave}
|
|
810
824
|
onCheckedChange={() => toggleSetting("autoSave")}
|
|
@@ -861,7 +875,7 @@ export const OverlayVariations: Story = {
|
|
|
861
875
|
|
|
862
876
|
<div className="fixed bottom-4 left-1/2 z-50 -translate-x-1/2 transform">
|
|
863
877
|
<div className="space-y-2 rounded-lg bg-black/80 p-4 backdrop-blur-sm">
|
|
864
|
-
<h3 className="text-center text-sm font-medium
|
|
878
|
+
<h3 className="text-fm-primary text-center text-sm font-medium">
|
|
865
879
|
Overlay Variations
|
|
866
880
|
</h3>
|
|
867
881
|
<div className="flex gap-2">
|
|
@@ -880,7 +894,7 @@ export const OverlayVariations: Story = {
|
|
|
880
894
|
</SheetDescription>
|
|
881
895
|
</SheetHeader>
|
|
882
896
|
<div className="py-4">
|
|
883
|
-
<p className="text-
|
|
897
|
+
<p className="text-fm-secondary text-sm">
|
|
884
898
|
This sheet uses low opacity overlay, allowing more of the
|
|
885
899
|
background content to remain visible.
|
|
886
900
|
</p>
|
|
@@ -903,7 +917,7 @@ export const OverlayVariations: Story = {
|
|
|
903
917
|
</SheetDescription>
|
|
904
918
|
</SheetHeader>
|
|
905
919
|
<div className="py-4">
|
|
906
|
-
<p className="text-
|
|
920
|
+
<p className="text-fm-secondary text-sm">
|
|
907
921
|
This sheet uses high opacity overlay, creating strong focus
|
|
908
922
|
on the sheet content by dimming the background
|
|
909
923
|
significantly.
|
|
@@ -927,7 +941,7 @@ export const OverlayVariations: Story = {
|
|
|
927
941
|
</SheetDescription>
|
|
928
942
|
</SheetHeader>
|
|
929
943
|
<div className="py-4">
|
|
930
|
-
<p className="text-
|
|
944
|
+
<p className="text-fm-secondary text-sm">
|
|
931
945
|
This sheet includes a glass effect with backdrop blur,
|
|
932
946
|
creating a modern frosted glass appearance.
|
|
933
947
|
</p>
|
|
@@ -950,7 +964,7 @@ export const OverlayVariations: Story = {
|
|
|
950
964
|
</SheetDescription>
|
|
951
965
|
</SheetHeader>
|
|
952
966
|
<div className="py-4">
|
|
953
|
-
<p className="text-
|
|
967
|
+
<p className="text-fm-secondary text-sm">
|
|
954
968
|
This sheet includes noise texture overlay, adding visual
|
|
955
969
|
interest and depth to the background.
|
|
956
970
|
</p>
|
|
@@ -1008,8 +1022,8 @@ export const MobileBottomSheet: Story = {
|
|
|
1008
1022
|
onClick={() => setSelectedOption(option.name)}
|
|
1009
1023
|
className={`flex flex-col items-center gap-2 rounded-lg p-3 transition-colors ${
|
|
1010
1024
|
selectedOption === option.name
|
|
1011
|
-
? "bg-
|
|
1012
|
-
: "text-
|
|
1025
|
+
? "bg-fm-surface-info-sec text-fm-info"
|
|
1026
|
+
: "text-fm-primary hover:bg-fm-surface-secondary"
|
|
1013
1027
|
}`}
|
|
1014
1028
|
>
|
|
1015
1029
|
<option.icon className="h-6 w-6" />
|
|
@@ -1019,16 +1033,16 @@ export const MobileBottomSheet: Story = {
|
|
|
1019
1033
|
</div>
|
|
1020
1034
|
|
|
1021
1035
|
<div className="space-y-2">
|
|
1022
|
-
<h4 className="text-sm font-medium
|
|
1036
|
+
<h4 className="text-fm-primary text-sm font-medium">
|
|
1023
1037
|
Recent Contacts
|
|
1024
1038
|
</h4>
|
|
1025
1039
|
{Array.from({ length: 3 }, (_, i) => (
|
|
1026
1040
|
<div
|
|
1027
1041
|
key={i}
|
|
1028
|
-
className="flex items-center gap-3 rounded-lg p-2
|
|
1042
|
+
className="hover:bg-fm-surface-secondary flex items-center gap-3 rounded-lg p-2"
|
|
1029
1043
|
>
|
|
1030
1044
|
<div className="h-8 w-8 rounded-full bg-gradient-to-r from-blue-500 to-purple-500"></div>
|
|
1031
|
-
<span className="text-
|
|
1045
|
+
<span className="text-fm-primary text-sm">
|
|
1032
1046
|
Contact {i + 1}
|
|
1033
1047
|
</span>
|
|
1034
1048
|
</div>
|