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
|
@@ -11,9 +11,9 @@ const meta: Meta<typeof FileChartIcon> = {
|
|
|
11
11
|
backgrounds: {
|
|
12
12
|
default: "dark",
|
|
13
13
|
values: [
|
|
14
|
-
{ name: "dark", value: "
|
|
15
|
-
{ name: "darker", value: "
|
|
16
|
-
{ name: "light", value: "
|
|
14
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
15
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
16
|
+
{ name: "light", value: "var(--color-fm-neutral-1100)" },
|
|
17
17
|
],
|
|
18
18
|
},
|
|
19
19
|
docs: {
|
|
@@ -40,59 +40,59 @@ const meta: Meta<typeof FileChartIcon> = {
|
|
|
40
40
|
background: transparent ;
|
|
41
41
|
}
|
|
42
42
|
body {
|
|
43
|
-
background:
|
|
43
|
+
background: var(--color-fm-surface-primary) ;
|
|
44
44
|
}
|
|
45
45
|
#storybook-docs {
|
|
46
|
-
background:
|
|
46
|
+
background: var(--color-fm-surface-primary) ;
|
|
47
47
|
}
|
|
48
48
|
.sbdocs-preview {
|
|
49
49
|
background: transparent ;
|
|
50
50
|
border: none ;
|
|
51
51
|
}
|
|
52
52
|
.sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
|
|
53
|
-
color:
|
|
53
|
+
color: var(--color-fm-icon-active) ;
|
|
54
54
|
}
|
|
55
55
|
.sbdocs-p, .sbdocs-li {
|
|
56
|
-
color:
|
|
56
|
+
color: var(--color-fm-secondary) ;
|
|
57
57
|
}
|
|
58
58
|
.sbdocs-code {
|
|
59
|
-
background:
|
|
60
|
-
color:
|
|
61
|
-
border: 1px solid
|
|
59
|
+
background: var(--color-fm-surface-secondary) ;
|
|
60
|
+
color: var(--color-fm-secondary-500) ;
|
|
61
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
62
62
|
}
|
|
63
63
|
.sbdocs-pre {
|
|
64
|
-
background:
|
|
65
|
-
border: 1px solid
|
|
64
|
+
background: var(--color-fm-surface-secondary) ;
|
|
65
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
66
66
|
}
|
|
67
67
|
.sbdocs-table {
|
|
68
|
-
background:
|
|
69
|
-
border: 1px solid
|
|
68
|
+
background: var(--color-fm-surface-secondary) ;
|
|
69
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
70
70
|
}
|
|
71
71
|
.sbdocs-table th {
|
|
72
|
-
background:
|
|
73
|
-
color:
|
|
74
|
-
border-bottom: 1px solid
|
|
72
|
+
background: var(--color-fm-surface-secondary) ;
|
|
73
|
+
color: var(--color-fm-icon-active) ;
|
|
74
|
+
border-bottom: 1px solid var(--color-fm-divider-secondary) ;
|
|
75
75
|
}
|
|
76
76
|
.sbdocs-table td {
|
|
77
|
-
color:
|
|
78
|
-
border-bottom: 1px solid
|
|
77
|
+
color: var(--color-fm-secondary) ;
|
|
78
|
+
border-bottom: 1px solid var(--color-fm-divider-tertiary) ;
|
|
79
79
|
}
|
|
80
80
|
`}
|
|
81
81
|
</style>
|
|
82
82
|
|
|
83
|
-
<div className="
|
|
83
|
+
<div className="bg-fm-surface-primary min-h-screen">
|
|
84
84
|
{/* Header */}
|
|
85
|
-
<div className="relative overflow-hidden border-b
|
|
86
|
-
<div className="absolute inset-0 bg-
|
|
85
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
|
|
86
|
+
<div className="from-fm-icon-info/10 to-fm-icon-info/10 absolute inset-0 bg-linear-to-r via-transparent" />
|
|
87
87
|
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
88
88
|
<div className="!space-y-6 text-center">
|
|
89
|
-
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border
|
|
90
|
-
<FileChartIcon className="h-12 w-12
|
|
89
|
+
<div className="border-fm-icon-info/30 from-fm-icon-info/20 to-fm-icon-info/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
|
|
90
|
+
<FileChartIcon className="text-fm-icon-info h-12 w-12" />
|
|
91
91
|
</div>
|
|
92
92
|
<h1 className="!text-fm-primary text-5xl font-bold">
|
|
93
93
|
FileChartIcon
|
|
94
94
|
</h1>
|
|
95
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed
|
|
95
|
+
<p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
|
|
96
96
|
A comprehensive file chart icon representing analytics,
|
|
97
97
|
reports, and data visualization documents. Perfect for
|
|
98
98
|
dashboard applications, analytics platforms, reporting
|
|
@@ -105,28 +105,28 @@ const meta: Meta<typeof FileChartIcon> = {
|
|
|
105
105
|
{/* Stats */}
|
|
106
106
|
<div className="flex items-center justify-center gap-8 pt-8">
|
|
107
107
|
<div className="text-center">
|
|
108
|
-
<div className="text-3xl font-bold
|
|
108
|
+
<div className="text-fm-icon-info text-3xl font-bold">
|
|
109
109
|
Analytics
|
|
110
110
|
</div>
|
|
111
|
-
<div className="text-
|
|
111
|
+
<div className="text-fm-tertiary text-sm">
|
|
112
112
|
Data visualization
|
|
113
113
|
</div>
|
|
114
114
|
</div>
|
|
115
|
-
<div className="h-8 w-px
|
|
115
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
116
116
|
<div className="text-center">
|
|
117
|
-
<div className="text-3xl font-bold
|
|
117
|
+
<div className="text-fm-icon-info text-3xl font-bold">
|
|
118
118
|
Reports
|
|
119
119
|
</div>
|
|
120
|
-
<div className="text-
|
|
120
|
+
<div className="text-fm-tertiary text-sm">
|
|
121
121
|
Document representation
|
|
122
122
|
</div>
|
|
123
123
|
</div>
|
|
124
|
-
<div className="h-8 w-px
|
|
124
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
125
125
|
<div className="text-center">
|
|
126
|
-
<div className="text-3xl font-bold
|
|
126
|
+
<div className="text-fm-icon-positive text-3xl font-bold">
|
|
127
127
|
Dashboard
|
|
128
128
|
</div>
|
|
129
|
-
<div className="text-
|
|
129
|
+
<div className="text-fm-tertiary text-sm">
|
|
130
130
|
Chart integration
|
|
131
131
|
</div>
|
|
132
132
|
</div>
|
|
@@ -139,16 +139,16 @@ const meta: Meta<typeof FileChartIcon> = {
|
|
|
139
139
|
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
140
140
|
{/* Quick Usage */}
|
|
141
141
|
<div className="!space-y-8">
|
|
142
|
-
<h2 className="text-center text-3xl font-bold
|
|
142
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
143
143
|
Quick Start
|
|
144
144
|
</h2>
|
|
145
145
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
146
146
|
<div className="!space-y-4">
|
|
147
|
-
<h3 className="text-xl font-semibold
|
|
147
|
+
<h3 className="text-fm-icon-info! text-xl font-semibold">
|
|
148
148
|
Basic Usage
|
|
149
149
|
</h3>
|
|
150
|
-
<div className="rounded-lg
|
|
151
|
-
<pre className="overflow-x-auto text-sm
|
|
150
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
151
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
152
152
|
{`import { FileChartIcon } from "@icons/file-chart-icon"
|
|
153
153
|
|
|
154
154
|
function ReportsSection() {
|
|
@@ -167,17 +167,17 @@ function ReportsSection() {
|
|
|
167
167
|
</div>
|
|
168
168
|
|
|
169
169
|
<div className="!space-y-4">
|
|
170
|
-
<h3 className="text-xl font-semibold
|
|
170
|
+
<h3 className="text-fm-icon-info! text-xl font-semibold">
|
|
171
171
|
Live Preview
|
|
172
172
|
</h3>
|
|
173
|
-
<div className="flex h-32 items-center justify-center rounded-lg border
|
|
174
|
-
<div className="flex items-start gap-3 rounded-lg border
|
|
175
|
-
<FileChartIcon className="h-6 w-6
|
|
173
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
|
|
174
|
+
<div className="border-fm-icon-info/20 bg-fm-icon-info/10 flex items-start gap-3 rounded-lg border px-4 py-3">
|
|
175
|
+
<FileChartIcon className="text-fm-icon-info h-6 w-6" />
|
|
176
176
|
<div>
|
|
177
|
-
<h3 className="font-semibold
|
|
177
|
+
<h3 className="text-fm-icon-active! font-semibold">
|
|
178
178
|
Analytics Report
|
|
179
179
|
</h3>
|
|
180
|
-
<p className="text-
|
|
180
|
+
<p className="text-fm-icon-info!/80 text-sm">
|
|
181
181
|
Q4 Performance Data
|
|
182
182
|
</p>
|
|
183
183
|
</div>
|
|
@@ -189,108 +189,116 @@ function ReportsSection() {
|
|
|
189
189
|
|
|
190
190
|
{/* Props Documentation */}
|
|
191
191
|
<div className="!space-y-8">
|
|
192
|
-
<h2 className="text-center text-3xl font-bold
|
|
192
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
193
193
|
Props & Configuration
|
|
194
194
|
</h2>
|
|
195
195
|
|
|
196
|
-
<div className="overflow-hidden rounded-lg border
|
|
197
|
-
<div className="bg-
|
|
198
|
-
<h3 className="text-xl font-semibold
|
|
196
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
197
|
+
<div className="bg-fm-surface-secondary p-4">
|
|
198
|
+
<h3 className="text-fm-icon-active! text-xl font-semibold">
|
|
199
|
+
Props
|
|
200
|
+
</h3>
|
|
199
201
|
</div>
|
|
200
202
|
<table className="!my-0 w-full">
|
|
201
|
-
<thead className="bg-
|
|
202
|
-
<tr className="border-
|
|
203
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
203
|
+
<thead className="bg-fm-surface-secondary">
|
|
204
|
+
<tr className="border-fm-divider-secondary border-b">
|
|
205
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
204
206
|
Prop
|
|
205
207
|
</th>
|
|
206
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
208
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
207
209
|
Type
|
|
208
210
|
</th>
|
|
209
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
211
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
210
212
|
Default
|
|
211
213
|
</th>
|
|
212
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
214
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
213
215
|
Description
|
|
214
216
|
</th>
|
|
215
217
|
</tr>
|
|
216
218
|
</thead>
|
|
217
219
|
<tbody>
|
|
218
220
|
{" "}
|
|
219
|
-
<tr className="
|
|
220
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
221
|
+
<tr className="bg-fm-surface-secondary!">
|
|
222
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
221
223
|
withAccessibility
|
|
222
224
|
</td>
|
|
223
|
-
<td className="px-6 py-4 text-sm
|
|
225
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
224
226
|
boolean
|
|
225
227
|
</td>
|
|
226
|
-
<td className="px-6 py-4 text-sm
|
|
228
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
227
229
|
true
|
|
228
230
|
</td>
|
|
229
|
-
<td className="px-6 py-4 text-sm
|
|
231
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
230
232
|
Whether to wrap the icon with accessibility feature
|
|
231
233
|
</td>
|
|
232
234
|
</tr>
|
|
233
|
-
<tr className="border-
|
|
234
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
235
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
236
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
235
237
|
height
|
|
236
238
|
</td>
|
|
237
|
-
<td className="px-6 py-4 text-sm
|
|
239
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
238
240
|
number | string
|
|
239
241
|
</td>
|
|
240
|
-
<td className="px-6 py-4 text-sm
|
|
241
|
-
|
|
242
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
243
|
+
24
|
|
244
|
+
</td>
|
|
245
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
242
246
|
Height of the icon in pixels
|
|
243
247
|
</td>
|
|
244
248
|
</tr>
|
|
245
|
-
<tr className="border-
|
|
246
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
249
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
250
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
247
251
|
stroke
|
|
248
252
|
</td>
|
|
249
|
-
<td className="px-6 py-4 text-sm
|
|
253
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
250
254
|
string
|
|
251
255
|
</td>
|
|
252
|
-
<td className="px-6 py-4 text-sm
|
|
256
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
253
257
|
currentColor
|
|
254
258
|
</td>
|
|
255
|
-
<td className="px-6 py-4 text-sm
|
|
259
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
256
260
|
Stroke color of the icon
|
|
257
261
|
</td>
|
|
258
262
|
</tr>
|
|
259
|
-
<tr className="border-
|
|
260
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
263
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
264
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
261
265
|
strokeWidth
|
|
262
266
|
</td>
|
|
263
|
-
<td className="px-6 py-4 text-sm
|
|
267
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
264
268
|
string | number
|
|
265
269
|
</td>
|
|
266
|
-
<td className="px-6 py-4 text-sm
|
|
270
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
267
271
|
1.5
|
|
268
272
|
</td>
|
|
269
|
-
<td className="px-6 py-4 text-sm
|
|
273
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
270
274
|
Stroke width of the icon lines
|
|
271
275
|
</td>
|
|
272
276
|
</tr>
|
|
273
|
-
<tr className="border-
|
|
274
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
277
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
278
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
275
279
|
className
|
|
276
280
|
</td>
|
|
277
|
-
<td className="px-6 py-4 text-sm
|
|
281
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
278
282
|
string
|
|
279
283
|
</td>
|
|
280
|
-
<td className="px-6 py-4 text-sm
|
|
281
|
-
|
|
284
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
285
|
+
-
|
|
286
|
+
</td>
|
|
287
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
282
288
|
CSS classes for styling (use for overrides)
|
|
283
289
|
</td>
|
|
284
290
|
</tr>
|
|
285
|
-
<tr className="
|
|
286
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
291
|
+
<tr className="bg-fm-surface-secondary!">
|
|
292
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
287
293
|
...svgProps
|
|
288
294
|
</td>
|
|
289
|
-
<td className="px-6 py-4 text-sm
|
|
295
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
290
296
|
SVGProps
|
|
291
297
|
</td>
|
|
292
|
-
<td className="px-6 py-4 text-sm
|
|
293
|
-
|
|
298
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
299
|
+
-
|
|
300
|
+
</td>
|
|
301
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
294
302
|
All standard SVG element props
|
|
295
303
|
</td>
|
|
296
304
|
</tr>
|
|
@@ -301,50 +309,62 @@ function ReportsSection() {
|
|
|
301
309
|
|
|
302
310
|
{/* Size Variations */}
|
|
303
311
|
<div className="!space-y-8">
|
|
304
|
-
<h2 className="text-center text-3xl font-bold
|
|
312
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
305
313
|
Size Variations
|
|
306
314
|
</h2>
|
|
307
|
-
<div className="rounded-lg border
|
|
315
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
308
316
|
<div className="!space-y-6">
|
|
309
317
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
310
318
|
<div className="!space-y-4">
|
|
311
|
-
<h3 className="text-lg font-semibold
|
|
319
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
312
320
|
Standard Sizes
|
|
313
321
|
</h3>
|
|
314
|
-
<div className="flex items-end gap-6 rounded-lg
|
|
322
|
+
<div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
|
|
315
323
|
<div className="text-center">
|
|
316
|
-
<FileChartIcon className="!mx-auto mb-2 h-3 w-3
|
|
317
|
-
<span className="text-
|
|
324
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
|
|
325
|
+
<span className="text-fm-tertiary text-xs">
|
|
326
|
+
12px
|
|
327
|
+
</span>
|
|
318
328
|
</div>
|
|
319
329
|
<div className="text-center">
|
|
320
|
-
<FileChartIcon className="!mx-auto mb-2 h-4 w-4
|
|
321
|
-
<span className="text-
|
|
330
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
|
|
331
|
+
<span className="text-fm-tertiary text-xs">
|
|
332
|
+
16px
|
|
333
|
+
</span>
|
|
322
334
|
</div>
|
|
323
335
|
<div className="text-center">
|
|
324
|
-
<FileChartIcon className="!mx-auto mb-2 h-5 w-5
|
|
325
|
-
<span className="text-
|
|
336
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
|
|
337
|
+
<span className="text-fm-tertiary text-xs">
|
|
338
|
+
20px
|
|
339
|
+
</span>
|
|
326
340
|
</div>
|
|
327
341
|
<div className="text-center">
|
|
328
|
-
<FileChartIcon className="!mx-auto mb-2 h-6 w-6
|
|
329
|
-
<span className="text-
|
|
342
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
|
|
343
|
+
<span className="text-fm-tertiary text-xs">
|
|
344
|
+
24px
|
|
345
|
+
</span>
|
|
330
346
|
</div>
|
|
331
347
|
<div className="text-center">
|
|
332
|
-
<FileChartIcon className="!mx-auto mb-2 h-8 w-8
|
|
333
|
-
<span className="text-
|
|
348
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
|
|
349
|
+
<span className="text-fm-tertiary text-xs">
|
|
350
|
+
32px
|
|
351
|
+
</span>
|
|
334
352
|
</div>
|
|
335
353
|
<div className="text-center">
|
|
336
|
-
<FileChartIcon className="!mx-auto mb-2 h-12 w-12
|
|
337
|
-
<span className="text-
|
|
354
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
|
|
355
|
+
<span className="text-fm-tertiary text-xs">
|
|
356
|
+
48px
|
|
357
|
+
</span>
|
|
338
358
|
</div>
|
|
339
359
|
</div>
|
|
340
360
|
</div>
|
|
341
361
|
|
|
342
362
|
<div className="!space-y-4">
|
|
343
|
-
<h3 className="text-lg font-semibold
|
|
363
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
344
364
|
Code Example
|
|
345
365
|
</h3>
|
|
346
|
-
<div className="rounded-lg
|
|
347
|
-
<pre className="overflow-x-auto text-sm
|
|
366
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
367
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
348
368
|
{`// Small (16px)
|
|
349
369
|
<FileChartIcon className="h-4 w-4 " />
|
|
350
370
|
|
|
@@ -370,56 +390,56 @@ function ReportsSection() {
|
|
|
370
390
|
|
|
371
391
|
{/* Color Variations */}
|
|
372
392
|
<div className="!space-y-8">
|
|
373
|
-
<h2 className="text-center text-3xl font-bold
|
|
393
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
374
394
|
Color Variations
|
|
375
395
|
</h2>
|
|
376
396
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
377
397
|
<div className="!space-y-4">
|
|
378
|
-
<h3 className="text-lg font-semibold
|
|
398
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
379
399
|
Semantic Colors
|
|
380
400
|
</h3>
|
|
381
|
-
<div className="!space-y-4 rounded-lg border
|
|
401
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
382
402
|
<div className="flex items-center gap-4">
|
|
383
|
-
<FileChartIcon className="h-6 w-6
|
|
403
|
+
<FileChartIcon className="text-fm-icon-info h-6 w-6" />
|
|
384
404
|
<div>
|
|
385
|
-
<div className="text-sm font-medium
|
|
405
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
386
406
|
Analytics
|
|
387
407
|
</div>
|
|
388
|
-
<div className="text-
|
|
389
|
-
text-
|
|
408
|
+
<div className="text-fm-tertiary text-xs">
|
|
409
|
+
text-fm-icon-info
|
|
390
410
|
</div>
|
|
391
411
|
</div>
|
|
392
412
|
</div>
|
|
393
413
|
<div className="flex items-center gap-4">
|
|
394
|
-
<FileChartIcon className="h-6 w-6
|
|
414
|
+
<FileChartIcon className="text-fm-icon-positive h-6 w-6" />
|
|
395
415
|
<div>
|
|
396
|
-
<div className="text-sm font-medium
|
|
416
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
397
417
|
Financial Reports
|
|
398
418
|
</div>
|
|
399
|
-
<div className="text-
|
|
400
|
-
text-
|
|
419
|
+
<div className="text-fm-tertiary text-xs">
|
|
420
|
+
text-fm-icon-positive
|
|
401
421
|
</div>
|
|
402
422
|
</div>
|
|
403
423
|
</div>
|
|
404
424
|
<div className="flex items-center gap-4">
|
|
405
|
-
<FileChartIcon className="h-6 w-6
|
|
425
|
+
<FileChartIcon className="text-fm-secondary-600 h-6 w-6" />
|
|
406
426
|
<div>
|
|
407
|
-
<div className="text-sm font-medium
|
|
427
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
408
428
|
Marketing Data
|
|
409
429
|
</div>
|
|
410
|
-
<div className="text-
|
|
411
|
-
text-
|
|
430
|
+
<div className="text-fm-tertiary text-xs">
|
|
431
|
+
text-fm-secondary-600
|
|
412
432
|
</div>
|
|
413
433
|
</div>
|
|
414
434
|
</div>
|
|
415
435
|
<div className="flex items-center gap-4">
|
|
416
|
-
<FileChartIcon className="h-6 w-6
|
|
436
|
+
<FileChartIcon className="text-fm-icon-warning h-6 w-6" />
|
|
417
437
|
<div>
|
|
418
|
-
<div className="text-sm font-medium
|
|
438
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
419
439
|
Sales Metrics
|
|
420
440
|
</div>
|
|
421
|
-
<div className="text-
|
|
422
|
-
text-
|
|
441
|
+
<div className="text-fm-tertiary text-xs">
|
|
442
|
+
text-fm-icon-warning
|
|
423
443
|
</div>
|
|
424
444
|
</div>
|
|
425
445
|
</div>
|
|
@@ -427,11 +447,11 @@ function ReportsSection() {
|
|
|
427
447
|
</div>
|
|
428
448
|
|
|
429
449
|
<div className="!space-y-4">
|
|
430
|
-
<h3 className="text-lg font-semibold
|
|
450
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
431
451
|
Custom Colors
|
|
432
452
|
</h3>
|
|
433
|
-
<div className="rounded-lg
|
|
434
|
-
<pre className="overflow-x-auto text-sm
|
|
453
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
454
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
435
455
|
{`// Using Tailwind classes with
|
|
436
456
|
<FileChartIcon className="h-6 w-6 text-blue-400 " />
|
|
437
457
|
<FileChartIcon className="h-6 w-6 text-green-500 " />
|
|
@@ -457,48 +477,50 @@ function ReportsSection() {
|
|
|
457
477
|
|
|
458
478
|
{/* Usage Examples */}
|
|
459
479
|
<div className="!space-y-8">
|
|
460
|
-
<h2 className="text-center text-3xl font-bold
|
|
480
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
461
481
|
Usage Examples
|
|
462
482
|
</h2>
|
|
463
483
|
|
|
464
484
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
465
485
|
{/* Dashboard Card */}
|
|
466
486
|
<div className="!space-y-4">
|
|
467
|
-
<h3 className="text-lg font-semibold
|
|
487
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
468
488
|
Dashboard Card
|
|
469
489
|
</h3>
|
|
470
490
|
<div className="!space-y-4">
|
|
471
|
-
<div className="
|
|
491
|
+
<div className="border-fm-icon-info/20 bg-fm-icon-info/10 rounded-lg border p-6">
|
|
472
492
|
<div className="flex items-start justify-between">
|
|
473
493
|
<div className="flex items-start gap-4">
|
|
474
|
-
<div className="
|
|
475
|
-
<FileChartIcon className="h-6 w-6
|
|
494
|
+
<div className="bg-fm-icon-info/20 rounded-lg p-2">
|
|
495
|
+
<FileChartIcon className="text-fm-icon-info h-6 w-6" />
|
|
476
496
|
</div>
|
|
477
497
|
<div>
|
|
478
|
-
<h4 className="font-semibold
|
|
498
|
+
<h4 className="text-fm-icon-info! font-semibold">
|
|
479
499
|
Monthly Analytics Report
|
|
480
500
|
</h4>
|
|
481
|
-
<p className="text-
|
|
501
|
+
<p className="text-fm-icon-info!/80 text-sm">
|
|
482
502
|
Comprehensive data analysis for November 2024
|
|
483
503
|
</p>
|
|
484
504
|
<div className="mt-3 flex items-center gap-4 text-sm">
|
|
485
|
-
<span className="text-
|
|
505
|
+
<span className="text-fm-icon-info">
|
|
486
506
|
Format: PDF
|
|
487
507
|
</span>
|
|
488
|
-
<span className="text-
|
|
508
|
+
<span className="text-fm-icon-info">
|
|
489
509
|
Size: 2.4 MB
|
|
490
510
|
</span>
|
|
491
|
-
<span className="text-
|
|
511
|
+
<span className="text-fm-icon-info">
|
|
512
|
+
Pages: 24
|
|
513
|
+
</span>
|
|
492
514
|
</div>
|
|
493
515
|
</div>
|
|
494
516
|
</div>
|
|
495
|
-
<button className="text-
|
|
517
|
+
<button className="text-fm-icon-info hover:text-fm-icon-info">
|
|
496
518
|
<span className="text-sm">Download</span>
|
|
497
519
|
</button>
|
|
498
520
|
</div>
|
|
499
521
|
</div>
|
|
500
|
-
<div className="rounded-lg
|
|
501
|
-
<pre className="overflow-x-auto text-sm
|
|
522
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
523
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
502
524
|
{`<div className="border border-blue-500/20 bg-blue-500/10 p-6 rounded-lg">
|
|
503
525
|
<div className="flex items-start justify-between">
|
|
504
526
|
<div className="flex items-start gap-4">
|
|
@@ -525,56 +547,56 @@ function ReportsSection() {
|
|
|
525
547
|
|
|
526
548
|
{/* File List */}
|
|
527
549
|
<div className="!space-y-4">
|
|
528
|
-
<h3 className="text-lg font-semibold
|
|
550
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
529
551
|
File List
|
|
530
552
|
</h3>
|
|
531
553
|
<div className="!space-y-4">
|
|
532
554
|
<div className="!space-y-2">
|
|
533
|
-
<div className="flex items-center justify-between rounded-lg border
|
|
555
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between rounded-lg border p-3">
|
|
534
556
|
<div className="flex items-center gap-3">
|
|
535
|
-
<FileChartIcon className="h-5 w-5
|
|
557
|
+
<FileChartIcon className="text-fm-icon-info h-5 w-5" />
|
|
536
558
|
<div>
|
|
537
|
-
<div className="text-sm font-medium
|
|
559
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
538
560
|
Q4_Sales_Report.xlsx
|
|
539
561
|
</div>
|
|
540
|
-
<div className="text-
|
|
562
|
+
<div className="text-fm-tertiary text-xs">
|
|
541
563
|
Modified 2 hours ago
|
|
542
564
|
</div>
|
|
543
565
|
</div>
|
|
544
566
|
</div>
|
|
545
|
-
<div className="text-
|
|
567
|
+
<div className="text-fm-tertiary text-xs">1.2 MB</div>
|
|
546
568
|
</div>
|
|
547
|
-
<div className="flex items-center justify-between rounded-lg border
|
|
569
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between rounded-lg border p-3">
|
|
548
570
|
<div className="flex items-center gap-3">
|
|
549
|
-
<FileChartIcon className="h-5 w-5
|
|
571
|
+
<FileChartIcon className="text-fm-icon-positive h-5 w-5" />
|
|
550
572
|
<div>
|
|
551
|
-
<div className="text-sm font-medium
|
|
573
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
552
574
|
Financial_Dashboard.pdf
|
|
553
575
|
</div>
|
|
554
|
-
<div className="text-
|
|
576
|
+
<div className="text-fm-tertiary text-xs">
|
|
555
577
|
Modified yesterday
|
|
556
578
|
</div>
|
|
557
579
|
</div>
|
|
558
580
|
</div>
|
|
559
|
-
<div className="text-
|
|
581
|
+
<div className="text-fm-tertiary text-xs">3.8 MB</div>
|
|
560
582
|
</div>
|
|
561
|
-
<div className="flex items-center justify-between rounded-lg border
|
|
583
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between rounded-lg border p-3">
|
|
562
584
|
<div className="flex items-center gap-3">
|
|
563
|
-
<FileChartIcon className="h-5 w-5
|
|
585
|
+
<FileChartIcon className="text-fm-secondary-600 h-5 w-5" />
|
|
564
586
|
<div>
|
|
565
|
-
<div className="text-sm font-medium
|
|
587
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
566
588
|
Marketing_Metrics.pptx
|
|
567
589
|
</div>
|
|
568
|
-
<div className="text-
|
|
590
|
+
<div className="text-fm-tertiary text-xs">
|
|
569
591
|
Modified 3 days ago
|
|
570
592
|
</div>
|
|
571
593
|
</div>
|
|
572
594
|
</div>
|
|
573
|
-
<div className="text-
|
|
595
|
+
<div className="text-fm-tertiary text-xs">5.1 MB</div>
|
|
574
596
|
</div>
|
|
575
597
|
</div>
|
|
576
|
-
<div className="rounded-lg
|
|
577
|
-
<pre className="overflow-x-auto text-sm
|
|
598
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
599
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
578
600
|
{`// File list item
|
|
579
601
|
<div className="flex items-center justify-between p-3 border border-white/10 bg-white/5 rounded-lg">
|
|
580
602
|
<div className="flex items-center gap-3">
|
|
@@ -593,40 +615,40 @@ function ReportsSection() {
|
|
|
593
615
|
|
|
594
616
|
{/* Navigation Menu */}
|
|
595
617
|
<div className="!space-y-4">
|
|
596
|
-
<h3 className="text-lg font-semibold
|
|
618
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
597
619
|
Navigation Menu
|
|
598
620
|
</h3>
|
|
599
621
|
<div className="!space-y-4">
|
|
600
|
-
<div className="rounded-lg border
|
|
622
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
601
623
|
<nav className="!space-y-1">
|
|
602
624
|
<a
|
|
603
625
|
href="#"
|
|
604
|
-
className="flex items-center gap-3 rounded-lg
|
|
626
|
+
className="bg-fm-icon-info/20 text-fm-icon-info flex items-center gap-3 rounded-lg px-3 py-2"
|
|
605
627
|
>
|
|
606
628
|
<FileChartIcon className="h-5 w-5" />
|
|
607
629
|
<span className="font-medium">Reports</span>
|
|
608
|
-
<span className="ml-auto rounded
|
|
630
|
+
<span className="bg-fm-icon-info/30 ml-auto rounded px-2 py-1 text-xs">
|
|
609
631
|
24
|
|
610
632
|
</span>
|
|
611
633
|
</a>
|
|
612
634
|
<a
|
|
613
635
|
href="#"
|
|
614
|
-
className="flex items-center gap-3 rounded-lg px-3 py-2
|
|
636
|
+
className="text-fm-secondary hover:bg-fm-surface-secondary hover:text-fm-icon-active flex items-center gap-3 rounded-lg px-3 py-2"
|
|
615
637
|
>
|
|
616
638
|
<FileChartIcon className="h-5 w-5" />
|
|
617
639
|
<span>Analytics</span>
|
|
618
640
|
</a>
|
|
619
641
|
<a
|
|
620
642
|
href="#"
|
|
621
|
-
className="flex items-center gap-3 rounded-lg px-3 py-2
|
|
643
|
+
className="text-fm-secondary hover:bg-fm-surface-secondary hover:text-fm-icon-active flex items-center gap-3 rounded-lg px-3 py-2"
|
|
622
644
|
>
|
|
623
645
|
<FileChartIcon className="h-5 w-5" />
|
|
624
646
|
<span>Dashboards</span>
|
|
625
647
|
</a>
|
|
626
648
|
</nav>
|
|
627
649
|
</div>
|
|
628
|
-
<div className="rounded-lg
|
|
629
|
-
<pre className="overflow-x-auto text-sm
|
|
650
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
651
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
630
652
|
{`// Active navigation item
|
|
631
653
|
<a href="#" className="flex items-center gap-3 bg-blue-500/20 px-3 py-2 rounded-lg text-blue-200">
|
|
632
654
|
<FileChartIcon className="h-5 w-5 " />
|
|
@@ -646,27 +668,27 @@ function ReportsSection() {
|
|
|
646
668
|
|
|
647
669
|
{/* Upload Area */}
|
|
648
670
|
<div className="!space-y-4">
|
|
649
|
-
<h3 className="text-lg font-semibold
|
|
671
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
650
672
|
Upload Area
|
|
651
673
|
</h3>
|
|
652
674
|
<div className="!space-y-4">
|
|
653
|
-
<div className="
|
|
654
|
-
<div className="!mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full
|
|
655
|
-
<FileChartIcon className="h-8 w-8
|
|
675
|
+
<div className="border-fm-icon-info/30 bg-fm-icon-info/5 rounded-lg border-2 border-dashed p-8 text-center">
|
|
676
|
+
<div className="bg-fm-icon-info/20 !mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full">
|
|
677
|
+
<FileChartIcon className="text-fm-icon-info h-8 w-8" />
|
|
656
678
|
</div>
|
|
657
|
-
<h4 className="mb-2 font-semibold
|
|
679
|
+
<h4 className="text-fm-icon-active! mb-2 font-semibold">
|
|
658
680
|
Upload Analytics Files
|
|
659
681
|
</h4>
|
|
660
|
-
<p className="mb-4 text-sm
|
|
682
|
+
<p className="text-fm-secondary! mb-4 text-sm">
|
|
661
683
|
Drag and drop your chart files here, or click to
|
|
662
684
|
browse
|
|
663
685
|
</p>
|
|
664
|
-
<div className="text-
|
|
686
|
+
<div className="text-fm-tertiary! text-xs">
|
|
665
687
|
Supports: .xlsx, .pdf, .csv, .pptx (Max 10MB)
|
|
666
688
|
</div>
|
|
667
689
|
</div>
|
|
668
|
-
<div className="rounded-lg
|
|
669
|
-
<pre className="overflow-x-auto text-sm
|
|
690
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
691
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
670
692
|
{`// Upload area
|
|
671
693
|
<div className="border-2 border-dashed border-blue-500/30 bg-blue-500/5 p-8 rounded-lg text-center">
|
|
672
694
|
<div className="mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-blue-500/20">
|
|
@@ -689,64 +711,64 @@ function ReportsSection() {
|
|
|
689
711
|
|
|
690
712
|
{/* Accessibility */}
|
|
691
713
|
<div className="!space-y-8">
|
|
692
|
-
<h2 className="text-center text-3xl font-bold
|
|
714
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
693
715
|
Accessibility Features
|
|
694
716
|
</h2>
|
|
695
717
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
696
|
-
<div className="!space-y-4 rounded-lg border
|
|
697
|
-
<h3 className="text-lg font-semibold
|
|
718
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
719
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
698
720
|
✅ Built-in Features
|
|
699
721
|
</h3>
|
|
700
|
-
<ul className="!space-y-2 text-sm
|
|
701
|
-
<li className="
|
|
722
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
723
|
+
<li className="text-fm-secondary!">
|
|
702
724
|
Uses Radix UI AccessibleIcon wrapper
|
|
703
725
|
</li>
|
|
704
|
-
<li className="
|
|
726
|
+
<li className="text-fm-secondary!">
|
|
705
727
|
Provides screen reader label "File Chart icon"
|
|
706
728
|
</li>
|
|
707
|
-
<li className="
|
|
729
|
+
<li className="text-fm-secondary!">
|
|
708
730
|
Supports keyboard navigation when interactive
|
|
709
731
|
</li>
|
|
710
|
-
<li className="
|
|
732
|
+
<li className="text-fm-secondary!">
|
|
711
733
|
Maintains proper color contrast ratios
|
|
712
734
|
</li>
|
|
713
|
-
<li className="
|
|
735
|
+
<li className="text-fm-secondary!">
|
|
714
736
|
Scales with user's font size preferences
|
|
715
737
|
</li>
|
|
716
738
|
</ul>
|
|
717
739
|
</div>
|
|
718
740
|
|
|
719
|
-
<div className="!space-y-4 rounded-lg border
|
|
720
|
-
<h3 className="text-lg font-semibold
|
|
741
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
742
|
+
<h3 className="text-fm-icon-info! text-lg font-semibold">
|
|
721
743
|
💡 Best Practices
|
|
722
744
|
</h3>
|
|
723
|
-
<ul className="!space-y-2 text-sm
|
|
724
|
-
<li className="
|
|
745
|
+
<ul className="text-fm-secondary !space-y-2 text-sm">
|
|
746
|
+
<li className="text-fm-secondary!">
|
|
725
747
|
Always pair with descriptive file names
|
|
726
748
|
</li>
|
|
727
|
-
<li className="
|
|
749
|
+
<li className="text-fm-secondary!">
|
|
728
750
|
Use consistent colors for different data types
|
|
729
751
|
</li>
|
|
730
|
-
<li className="
|
|
752
|
+
<li className="text-fm-secondary!">
|
|
731
753
|
Ensure sufficient color contrast for visibility
|
|
732
754
|
</li>
|
|
733
|
-
<li className="
|
|
755
|
+
<li className="text-fm-secondary!">
|
|
734
756
|
Provide alternative text for file formats
|
|
735
757
|
</li>
|
|
736
|
-
<li className="
|
|
758
|
+
<li className="text-fm-secondary!">
|
|
737
759
|
Consider providing data summaries for charts
|
|
738
760
|
</li>
|
|
739
761
|
</ul>
|
|
740
762
|
</div>
|
|
741
763
|
</div>
|
|
742
764
|
|
|
743
|
-
<div className="rounded-lg border
|
|
744
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
765
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
766
|
+
<h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
|
|
745
767
|
Proper ARIA Implementation
|
|
746
768
|
</h3>
|
|
747
769
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
748
|
-
<div className="rounded-lg
|
|
749
|
-
<pre className="overflow-x-auto text-sm
|
|
770
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
771
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
750
772
|
{`// File item with proper ARIA
|
|
751
773
|
<div
|
|
752
774
|
role="button"
|
|
@@ -777,14 +799,14 @@ function ReportsSection() {
|
|
|
777
799
|
</pre>
|
|
778
800
|
</div>
|
|
779
801
|
<div className="!space-y-4">
|
|
780
|
-
<p className="text-
|
|
802
|
+
<p className="text-fm-secondary! text-sm">
|
|
781
803
|
When using FileChartIcon in interactive contexts or as
|
|
782
804
|
file representations, provide meaningful labels and
|
|
783
805
|
descriptions that help users understand the file type,
|
|
784
806
|
size, and purpose.
|
|
785
807
|
</p>
|
|
786
|
-
<div className="
|
|
787
|
-
<div className="flex items-center gap-2 text-sm
|
|
808
|
+
<div className="border-fm-icon-info/20 bg-fm-icon-info/10 rounded-lg border p-4">
|
|
809
|
+
<div className="text-fm-icon-info flex items-center gap-2 text-sm">
|
|
788
810
|
<FileChartIcon className="h-4 w-4" />
|
|
789
811
|
<span>
|
|
790
812
|
Screen readers need context about file types and
|
|
@@ -799,50 +821,58 @@ function ReportsSection() {
|
|
|
799
821
|
|
|
800
822
|
{/* Related Icons */}
|
|
801
823
|
<div className="!space-y-8">
|
|
802
|
-
<h2 className="text-center text-3xl font-bold
|
|
824
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
803
825
|
Related Icons
|
|
804
826
|
</h2>
|
|
805
827
|
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
806
|
-
<div className="!space-y-3 rounded-lg border
|
|
807
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
828
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
829
|
+
<div className="bg-fm-surface-tertiary/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
808
830
|
<span className="text-2xl">📄</span>
|
|
809
831
|
</div>
|
|
810
832
|
<div>
|
|
811
|
-
<div className="font-medium
|
|
812
|
-
|
|
833
|
+
<div className="text-fm-icon-active font-medium">
|
|
834
|
+
FileIcon
|
|
835
|
+
</div>
|
|
836
|
+
<div className="text-fm-tertiary text-xs">
|
|
813
837
|
Generic documents
|
|
814
838
|
</div>
|
|
815
839
|
</div>
|
|
816
840
|
</div>
|
|
817
|
-
<div className="!space-y-3 rounded-lg border
|
|
818
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
841
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
842
|
+
<div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
819
843
|
<span className="text-2xl">📊</span>
|
|
820
844
|
</div>
|
|
821
845
|
<div>
|
|
822
|
-
<div className="font-medium
|
|
823
|
-
|
|
846
|
+
<div className="text-fm-icon-active font-medium">
|
|
847
|
+
ChartIcon
|
|
848
|
+
</div>
|
|
849
|
+
<div className="text-fm-tertiary text-xs">
|
|
824
850
|
Data visualization
|
|
825
851
|
</div>
|
|
826
852
|
</div>
|
|
827
853
|
</div>
|
|
828
|
-
<div className="!space-y-3 rounded-lg border
|
|
829
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
854
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
855
|
+
<div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
830
856
|
<span className="text-2xl">📈</span>
|
|
831
857
|
</div>
|
|
832
858
|
<div>
|
|
833
|
-
<div className="font-medium
|
|
834
|
-
|
|
859
|
+
<div className="text-fm-icon-active font-medium">
|
|
860
|
+
TrendIcon
|
|
861
|
+
</div>
|
|
862
|
+
<div className="text-fm-tertiary text-xs">
|
|
835
863
|
Growth metrics
|
|
836
864
|
</div>
|
|
837
865
|
</div>
|
|
838
866
|
</div>
|
|
839
|
-
<div className="!space-y-3 rounded-lg border
|
|
840
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
867
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
868
|
+
<div className="bg-fm-icon-warning/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
841
869
|
<span className="text-2xl">📋</span>
|
|
842
870
|
</div>
|
|
843
871
|
<div>
|
|
844
|
-
<div className="font-medium
|
|
845
|
-
|
|
872
|
+
<div className="text-fm-icon-active font-medium">
|
|
873
|
+
ReportIcon
|
|
874
|
+
</div>
|
|
875
|
+
<div className="text-fm-tertiary text-xs">
|
|
846
876
|
Summary reports
|
|
847
877
|
</div>
|
|
848
878
|
</div>
|
|
@@ -852,14 +882,14 @@ function ReportsSection() {
|
|
|
852
882
|
</div>
|
|
853
883
|
|
|
854
884
|
{/* Footer */}
|
|
855
|
-
<div className="border-
|
|
885
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
|
|
856
886
|
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
857
887
|
<div className="!space-y-4 text-center">
|
|
858
|
-
<p className="
|
|
888
|
+
<p className="text-fm-tertiary!">
|
|
859
889
|
FileChartIcon is part of the Aural UI icon library, built
|
|
860
890
|
with analytics and data visualization in mind.
|
|
861
891
|
</p>
|
|
862
|
-
<p className="text-
|
|
892
|
+
<p className="text-fm-placeholder! text-sm">
|
|
863
893
|
All icons use Radix UI's AccessibleIcon for screen reader
|
|
864
894
|
compatibility and follow WCAG guidelines.
|
|
865
895
|
</p>
|
|
@@ -908,20 +938,20 @@ const storyParameters = {
|
|
|
908
938
|
backgrounds: {
|
|
909
939
|
default: "dark",
|
|
910
940
|
values: [
|
|
911
|
-
{ name: "dark", value: "
|
|
912
|
-
{ name: "darker", value: "
|
|
941
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
942
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
913
943
|
],
|
|
914
944
|
},
|
|
915
945
|
}
|
|
916
946
|
|
|
917
947
|
export const Default: Story = {
|
|
918
948
|
args: {
|
|
919
|
-
className: "h-6 w-6 text-
|
|
949
|
+
className: "h-6 w-6 text-fm-icon-info ",
|
|
920
950
|
withAccessibility: true,
|
|
921
951
|
},
|
|
922
952
|
parameters: storyParameters,
|
|
923
953
|
render: (args) => (
|
|
924
|
-
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-
|
|
954
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary flex h-32 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
|
|
925
955
|
<FileChartIcon {...args} />
|
|
926
956
|
</div>
|
|
927
957
|
),
|
|
@@ -938,30 +968,30 @@ export const SizeVariations: Story = {
|
|
|
938
968
|
},
|
|
939
969
|
},
|
|
940
970
|
render: () => (
|
|
941
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-
|
|
971
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-linear-to-br p-8">
|
|
942
972
|
<div className="text-center">
|
|
943
|
-
<FileChartIcon className="!mx-auto mb-2 h-3 w-3
|
|
944
|
-
<span className="text-
|
|
973
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
|
|
974
|
+
<span className="text-fm-tertiary text-xs">12px</span>
|
|
945
975
|
</div>
|
|
946
976
|
<div className="text-center">
|
|
947
|
-
<FileChartIcon className="!mx-auto mb-2 h-4 w-4
|
|
948
|
-
<span className="text-
|
|
977
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
|
|
978
|
+
<span className="text-fm-tertiary text-xs">16px</span>
|
|
949
979
|
</div>
|
|
950
980
|
<div className="text-center">
|
|
951
|
-
<FileChartIcon className="!mx-auto mb-2 h-5 w-5
|
|
952
|
-
<span className="text-
|
|
981
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
|
|
982
|
+
<span className="text-fm-tertiary text-xs">20px</span>
|
|
953
983
|
</div>
|
|
954
984
|
<div className="text-center">
|
|
955
|
-
<FileChartIcon className="!mx-auto mb-2 h-6 w-6
|
|
956
|
-
<span className="text-
|
|
985
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
|
|
986
|
+
<span className="text-fm-tertiary text-xs">24px</span>
|
|
957
987
|
</div>
|
|
958
988
|
<div className="text-center">
|
|
959
|
-
<FileChartIcon className="!mx-auto mb-2 h-8 w-8
|
|
960
|
-
<span className="text-
|
|
989
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
|
|
990
|
+
<span className="text-fm-tertiary text-xs">32px</span>
|
|
961
991
|
</div>
|
|
962
992
|
<div className="text-center">
|
|
963
|
-
<FileChartIcon className="!mx-auto mb-2 h-12 w-12
|
|
964
|
-
<span className="text-
|
|
993
|
+
<FileChartIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
|
|
994
|
+
<span className="text-fm-tertiary text-xs">48px</span>
|
|
965
995
|
</div>
|
|
966
996
|
</div>
|
|
967
997
|
),
|
|
@@ -978,34 +1008,38 @@ export const ColorVariations: Story = {
|
|
|
978
1008
|
},
|
|
979
1009
|
},
|
|
980
1010
|
render: () => (
|
|
981
|
-
<div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-
|
|
1011
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-linear-to-br p-8 md:grid-cols-4">
|
|
982
1012
|
<div className="text-center">
|
|
983
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
984
|
-
<FileChartIcon className="h-8 w-8
|
|
1013
|
+
<div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1014
|
+
<FileChartIcon className="text-fm-icon-info h-8 w-8" />
|
|
985
1015
|
</div>
|
|
986
|
-
<div className="text-sm font-medium
|
|
987
|
-
<div className="text-
|
|
1016
|
+
<div className="text-fm-icon-active text-sm font-medium">Analytics</div>
|
|
1017
|
+
<div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
|
|
988
1018
|
</div>
|
|
989
1019
|
<div className="text-center">
|
|
990
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
991
|
-
<FileChartIcon className="h-8 w-8
|
|
1020
|
+
<div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1021
|
+
<FileChartIcon className="text-fm-icon-positive h-8 w-8" />
|
|
1022
|
+
</div>
|
|
1023
|
+
<div className="text-fm-icon-active text-sm font-medium">Financial</div>
|
|
1024
|
+
<div className="text-fm-icon-positive text-xs">
|
|
1025
|
+
text-fm-icon-positive
|
|
992
1026
|
</div>
|
|
993
|
-
<div className="text-sm font-medium text-white">Financial</div>
|
|
994
|
-
<div className="text-xs text-green-400">text-green-400</div>
|
|
995
1027
|
</div>
|
|
996
1028
|
<div className="text-center">
|
|
997
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
998
|
-
<FileChartIcon className="h-8 w-8
|
|
1029
|
+
<div className="border-fm-secondary-500/30 bg-fm-secondary-500/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1030
|
+
<FileChartIcon className="text-fm-secondary-600 h-8 w-8" />
|
|
1031
|
+
</div>
|
|
1032
|
+
<div className="text-fm-icon-active text-sm font-medium">Marketing</div>
|
|
1033
|
+
<div className="text-fm-secondary-600 text-xs">
|
|
1034
|
+
text-fm-secondary-600
|
|
999
1035
|
</div>
|
|
1000
|
-
<div className="text-sm font-medium text-white">Marketing</div>
|
|
1001
|
-
<div className="text-xs text-purple-400">text-purple-400</div>
|
|
1002
1036
|
</div>
|
|
1003
1037
|
<div className="text-center">
|
|
1004
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1005
|
-
<FileChartIcon className="h-8 w-8
|
|
1038
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1039
|
+
<FileChartIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1006
1040
|
</div>
|
|
1007
|
-
<div className="text-sm font-medium
|
|
1008
|
-
<div className="text-
|
|
1041
|
+
<div className="text-fm-icon-active text-sm font-medium">Sales</div>
|
|
1042
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1009
1043
|
</div>
|
|
1010
1044
|
</div>
|
|
1011
1045
|
),
|
|
@@ -1022,21 +1056,23 @@ export const UsageExamples: Story = {
|
|
|
1022
1056
|
},
|
|
1023
1057
|
},
|
|
1024
1058
|
render: () => (
|
|
1025
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1059
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1026
1060
|
{/* Dashboard Card */}
|
|
1027
1061
|
<div className="!space-y-2">
|
|
1028
|
-
<h3 className="text-sm font-medium
|
|
1029
|
-
|
|
1062
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1063
|
+
Dashboard Card
|
|
1064
|
+
</h3>
|
|
1065
|
+
<div className="border-fm-icon-info/20 bg-fm-icon-info/10 rounded-lg border p-6">
|
|
1030
1066
|
<div className="flex items-start justify-between">
|
|
1031
1067
|
<div className="flex items-start gap-4">
|
|
1032
|
-
<div className="
|
|
1033
|
-
<FileChartIcon className="h-6 w-6
|
|
1068
|
+
<div className="bg-fm-icon-info/20 rounded-lg p-2">
|
|
1069
|
+
<FileChartIcon className="text-fm-icon-info h-6 w-6" />
|
|
1034
1070
|
</div>
|
|
1035
1071
|
<div>
|
|
1036
|
-
<h4 className="font-semibold
|
|
1072
|
+
<h4 className="text-fm-icon-info font-semibold">
|
|
1037
1073
|
Monthly Analytics Report
|
|
1038
1074
|
</h4>
|
|
1039
|
-
<p className="text-
|
|
1075
|
+
<p className="text-fm-icon-info/80 text-sm">
|
|
1040
1076
|
Comprehensive data analysis for November 2024
|
|
1041
1077
|
</p>
|
|
1042
1078
|
</div>
|
|
@@ -1047,48 +1083,50 @@ export const UsageExamples: Story = {
|
|
|
1047
1083
|
|
|
1048
1084
|
{/* File List */}
|
|
1049
1085
|
<div className="!space-y-2">
|
|
1050
|
-
<h3 className="text-sm font-medium
|
|
1086
|
+
<h3 className="text-fm-icon-active text-sm font-medium">File List</h3>
|
|
1051
1087
|
<div className="!space-y-2">
|
|
1052
|
-
<div className="flex items-center justify-between rounded-lg border
|
|
1088
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between rounded-lg border p-3">
|
|
1053
1089
|
<div className="flex items-center gap-3">
|
|
1054
|
-
<FileChartIcon className="h-5 w-5
|
|
1090
|
+
<FileChartIcon className="text-fm-icon-info h-5 w-5" />
|
|
1055
1091
|
<div>
|
|
1056
|
-
<div className="text-sm font-medium
|
|
1092
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1057
1093
|
Q4_Sales_Report.xlsx
|
|
1058
1094
|
</div>
|
|
1059
|
-
<div className="text-
|
|
1095
|
+
<div className="text-fm-tertiary text-xs">
|
|
1060
1096
|
Modified 2 hours ago
|
|
1061
1097
|
</div>
|
|
1062
1098
|
</div>
|
|
1063
1099
|
</div>
|
|
1064
|
-
<div className="text-
|
|
1100
|
+
<div className="text-fm-tertiary text-xs">1.2 MB</div>
|
|
1065
1101
|
</div>
|
|
1066
|
-
<div className="flex items-center justify-between rounded-lg border
|
|
1102
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between rounded-lg border p-3">
|
|
1067
1103
|
<div className="flex items-center gap-3">
|
|
1068
|
-
<FileChartIcon className="h-5 w-5
|
|
1104
|
+
<FileChartIcon className="text-fm-icon-positive h-5 w-5" />
|
|
1069
1105
|
<div>
|
|
1070
|
-
<div className="text-sm font-medium
|
|
1106
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1071
1107
|
Financial_Dashboard.pdf
|
|
1072
1108
|
</div>
|
|
1073
|
-
<div className="text-
|
|
1109
|
+
<div className="text-fm-tertiary text-xs">
|
|
1110
|
+
Modified yesterday
|
|
1111
|
+
</div>
|
|
1074
1112
|
</div>
|
|
1075
1113
|
</div>
|
|
1076
|
-
<div className="text-
|
|
1114
|
+
<div className="text-fm-tertiary text-xs">3.8 MB</div>
|
|
1077
1115
|
</div>
|
|
1078
1116
|
</div>
|
|
1079
1117
|
</div>
|
|
1080
1118
|
|
|
1081
1119
|
{/* Upload Area */}
|
|
1082
1120
|
<div className="!space-y-2">
|
|
1083
|
-
<h3 className="text-sm font-medium
|
|
1084
|
-
<div className="
|
|
1085
|
-
<div className="!mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full
|
|
1086
|
-
<FileChartIcon className="h-8 w-8
|
|
1121
|
+
<h3 className="text-fm-icon-active text-sm font-medium">Upload Area</h3>
|
|
1122
|
+
<div className="border-fm-icon-info/30 bg-fm-icon-info/5 rounded-lg border-2 border-dashed p-8 text-center">
|
|
1123
|
+
<div className="bg-fm-icon-info/20 !mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full">
|
|
1124
|
+
<FileChartIcon className="text-fm-icon-info h-8 w-8" />
|
|
1087
1125
|
</div>
|
|
1088
|
-
<h4 className="mb-2 font-semibold
|
|
1126
|
+
<h4 className="text-fm-icon-active mb-2 font-semibold">
|
|
1089
1127
|
Upload Analytics Files
|
|
1090
1128
|
</h4>
|
|
1091
|
-
<p className="text-
|
|
1129
|
+
<p className="text-fm-secondary text-sm">
|
|
1092
1130
|
Drag and drop your chart files here, or click to browse
|
|
1093
1131
|
</p>
|
|
1094
1132
|
</div>
|
|
@@ -1110,12 +1148,12 @@ export const Playground: Story = {
|
|
|
1110
1148
|
args: {
|
|
1111
1149
|
width: 32,
|
|
1112
1150
|
height: 32,
|
|
1113
|
-
className: "text-
|
|
1151
|
+
className: "text-fm-icon-info ",
|
|
1114
1152
|
strokeWidth: 1.5,
|
|
1115
1153
|
},
|
|
1116
1154
|
render: (args) => (
|
|
1117
|
-
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1118
|
-
<div className="rounded-lg border
|
|
1155
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
|
|
1156
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
1119
1157
|
<FileChartIcon {...args} />
|
|
1120
1158
|
</div>
|
|
1121
1159
|
</div>
|