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 MaintenanceIcon> = {
|
|
|
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,42 +40,42 @@ const meta: Meta<typeof MaintenanceIcon> = {
|
|
|
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
|
@keyframes rotate {
|
|
81
81
|
from { transform: rotate(0deg); }
|
|
@@ -94,19 +94,19 @@ const meta: Meta<typeof MaintenanceIcon> = {
|
|
|
94
94
|
`}
|
|
95
95
|
</style>
|
|
96
96
|
|
|
97
|
-
<div className="
|
|
97
|
+
<div className="from-fm-surface-primary via-fm-icon-info/5 to-fm-surface-primary min-h-screen bg-linear-to-br">
|
|
98
98
|
{/* Header */}
|
|
99
|
-
<div className="relative overflow-hidden border-b
|
|
100
|
-
<div className="absolute inset-0 bg-
|
|
99
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
|
|
100
|
+
<div className="from-fm-icon-info/10 to-fm-icon-warning/10 absolute inset-0 bg-linear-to-r via-transparent" />
|
|
101
101
|
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
102
102
|
<div className="!space-y-6 text-center">
|
|
103
|
-
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border
|
|
104
|
-
<MaintenanceIcon className="h-12 w-12
|
|
103
|
+
<div className="border-fm-icon-warning/30 from-fm-icon-warning/20 to-fm-icon-info/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
|
|
104
|
+
<MaintenanceIcon className="text-fm-icon-warning h-12 w-12" />
|
|
105
105
|
</div>
|
|
106
106
|
<h1 className="!text-fm-primary text-5xl font-bold">
|
|
107
107
|
MaintenanceIcon
|
|
108
108
|
</h1>
|
|
109
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed
|
|
109
|
+
<p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
|
|
110
110
|
A maintenance icon perfect for representing system
|
|
111
111
|
maintenance, repairs, technical operations, and service
|
|
112
112
|
status. Features a wrench design to convey fixing and
|
|
@@ -117,28 +117,30 @@ const meta: Meta<typeof MaintenanceIcon> = {
|
|
|
117
117
|
{/* Stats */}
|
|
118
118
|
<div className="flex items-center justify-center gap-8 pt-8">
|
|
119
119
|
<div className="text-center">
|
|
120
|
-
<div className="text-3xl font-bold
|
|
120
|
+
<div className="text-fm-icon-warning text-3xl font-bold">
|
|
121
121
|
Operations
|
|
122
122
|
</div>
|
|
123
|
-
<div className="text-
|
|
123
|
+
<div className="text-fm-tertiary text-sm">
|
|
124
124
|
System maintenance
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
|
-
<div className="h-8 w-px
|
|
127
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
128
128
|
<div className="text-center">
|
|
129
|
-
<div className="text-3xl font-bold
|
|
129
|
+
<div className="text-fm-icon-info text-3xl font-bold">
|
|
130
130
|
Service
|
|
131
131
|
</div>
|
|
132
|
-
<div className="text-
|
|
132
|
+
<div className="text-fm-tertiary text-sm">
|
|
133
133
|
Technical support
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
|
-
<div className="h-8 w-px
|
|
136
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
137
137
|
<div className="text-center">
|
|
138
|
-
<div className="text-3xl font-bold
|
|
138
|
+
<div className="text-fm-icon-warning text-3xl font-bold">
|
|
139
139
|
Repair
|
|
140
140
|
</div>
|
|
141
|
-
<div className="text-
|
|
141
|
+
<div className="text-fm-tertiary text-sm">
|
|
142
|
+
Fix & updates
|
|
143
|
+
</div>
|
|
142
144
|
</div>
|
|
143
145
|
</div>
|
|
144
146
|
</div>
|
|
@@ -149,16 +151,16 @@ const meta: Meta<typeof MaintenanceIcon> = {
|
|
|
149
151
|
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
150
152
|
{/* Quick Usage */}
|
|
151
153
|
<div className="!space-y-8">
|
|
152
|
-
<h2 className="text-center text-3xl font-bold
|
|
154
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
153
155
|
Quick Start
|
|
154
156
|
</h2>
|
|
155
157
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
156
158
|
<div className="!space-y-4">
|
|
157
|
-
<h3 className="text-xl font-semibold
|
|
159
|
+
<h3 className="text-fm-icon-warning! text-xl font-semibold">
|
|
158
160
|
Basic Usage
|
|
159
161
|
</h3>
|
|
160
|
-
<div className="rounded-lg
|
|
161
|
-
<pre className="overflow-x-auto text-sm
|
|
162
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
163
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
162
164
|
{`import { MaintenanceIcon } from "@icons/maintenance-icon"
|
|
163
165
|
|
|
164
166
|
function StatusCard() {
|
|
@@ -174,13 +176,15 @@ function StatusCard() {
|
|
|
174
176
|
</div>
|
|
175
177
|
|
|
176
178
|
<div className="!space-y-4">
|
|
177
|
-
<h3 className="text-xl font-semibold
|
|
179
|
+
<h3 className="text-fm-icon-warning! text-xl font-semibold">
|
|
178
180
|
Live Preview
|
|
179
181
|
</h3>
|
|
180
|
-
<div className="flex h-32 items-center justify-center rounded-lg border
|
|
181
|
-
<div className="flex items-center gap-3 rounded-lg border
|
|
182
|
-
<MaintenanceIcon className="h-6 w-6
|
|
183
|
-
<span className="text-
|
|
182
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
|
|
183
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 flex items-center gap-3 rounded-lg border px-4 py-3">
|
|
184
|
+
<MaintenanceIcon className="text-fm-icon-warning h-6 w-6" />
|
|
185
|
+
<span className="text-fm-icon-active">
|
|
186
|
+
System Maintenance
|
|
187
|
+
</span>
|
|
184
188
|
</div>
|
|
185
189
|
</div>
|
|
186
190
|
</div>
|
|
@@ -189,108 +193,116 @@ function StatusCard() {
|
|
|
189
193
|
|
|
190
194
|
{/* Props Documentation */}
|
|
191
195
|
<div className="!space-y-8">
|
|
192
|
-
<h2 className="text-center text-3xl font-bold
|
|
196
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
193
197
|
Props & Configuration
|
|
194
198
|
</h2>
|
|
195
199
|
|
|
196
|
-
<div className="overflow-hidden rounded-lg border
|
|
197
|
-
<div className="bg-
|
|
198
|
-
<h3 className="text-xl font-semibold
|
|
200
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
201
|
+
<div className="bg-fm-surface-secondary p-4">
|
|
202
|
+
<h3 className="text-fm-icon-active! text-xl font-semibold">
|
|
203
|
+
Props
|
|
204
|
+
</h3>
|
|
199
205
|
</div>
|
|
200
206
|
<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
|
|
207
|
+
<thead className="bg-fm-surface-secondary">
|
|
208
|
+
<tr className="border-fm-divider-secondary border-b">
|
|
209
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
204
210
|
Prop
|
|
205
211
|
</th>
|
|
206
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
212
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
207
213
|
Type
|
|
208
214
|
</th>
|
|
209
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
215
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
210
216
|
Default
|
|
211
217
|
</th>
|
|
212
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
218
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
213
219
|
Description
|
|
214
220
|
</th>
|
|
215
221
|
</tr>
|
|
216
222
|
</thead>
|
|
217
223
|
<tbody>
|
|
218
224
|
{" "}
|
|
219
|
-
<tr className="
|
|
220
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
225
|
+
<tr className="bg-fm-surface-secondary!">
|
|
226
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
221
227
|
withAccessibility
|
|
222
228
|
</td>
|
|
223
|
-
<td className="px-6 py-4 text-sm
|
|
229
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
224
230
|
boolean
|
|
225
231
|
</td>
|
|
226
|
-
<td className="px-6 py-4 text-sm
|
|
232
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
227
233
|
true
|
|
228
234
|
</td>
|
|
229
|
-
<td className="px-6 py-4 text-sm
|
|
235
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
230
236
|
Whether to wrap the icon with accessibility feature
|
|
231
237
|
</td>
|
|
232
238
|
</tr>
|
|
233
|
-
<tr className="border-
|
|
234
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
239
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
240
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
235
241
|
height
|
|
236
242
|
</td>
|
|
237
|
-
<td className="px-6 py-4 text-sm
|
|
243
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
238
244
|
number | string
|
|
239
245
|
</td>
|
|
240
|
-
<td className="px-6 py-4 text-sm
|
|
241
|
-
|
|
246
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
247
|
+
24
|
|
248
|
+
</td>
|
|
249
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
242
250
|
Height of the icon in pixels
|
|
243
251
|
</td>
|
|
244
252
|
</tr>
|
|
245
|
-
<tr className="border-
|
|
246
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
253
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
254
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
247
255
|
stroke
|
|
248
256
|
</td>
|
|
249
|
-
<td className="px-6 py-4 text-sm
|
|
257
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
250
258
|
string
|
|
251
259
|
</td>
|
|
252
|
-
<td className="px-6 py-4 text-sm
|
|
260
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
253
261
|
currentColor
|
|
254
262
|
</td>
|
|
255
|
-
<td className="px-6 py-4 text-sm
|
|
263
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
256
264
|
Stroke color of the icon outline
|
|
257
265
|
</td>
|
|
258
266
|
</tr>
|
|
259
|
-
<tr className="border-
|
|
260
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
267
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
268
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
261
269
|
strokeWidth
|
|
262
270
|
</td>
|
|
263
|
-
<td className="px-6 py-4 text-sm
|
|
271
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
264
272
|
string | number
|
|
265
273
|
</td>
|
|
266
|
-
<td className="px-6 py-4 text-sm
|
|
274
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
267
275
|
1.5
|
|
268
276
|
</td>
|
|
269
|
-
<td className="px-6 py-4 text-sm
|
|
277
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
270
278
|
Width of the stroke outline
|
|
271
279
|
</td>
|
|
272
280
|
</tr>
|
|
273
|
-
<tr className="border-
|
|
274
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
281
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
282
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
275
283
|
className
|
|
276
284
|
</td>
|
|
277
|
-
<td className="px-6 py-4 text-sm
|
|
285
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
278
286
|
string
|
|
279
287
|
</td>
|
|
280
|
-
<td className="px-6 py-4 text-sm
|
|
281
|
-
|
|
288
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
289
|
+
-
|
|
290
|
+
</td>
|
|
291
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
282
292
|
CSS classes for styling (use for overrides)
|
|
283
293
|
</td>
|
|
284
294
|
</tr>
|
|
285
|
-
<tr className="
|
|
286
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
295
|
+
<tr className="bg-fm-surface-secondary!">
|
|
296
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
287
297
|
...svgProps
|
|
288
298
|
</td>
|
|
289
|
-
<td className="px-6 py-4 text-sm
|
|
299
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
290
300
|
SVGProps
|
|
291
301
|
</td>
|
|
292
|
-
<td className="px-6 py-4 text-sm
|
|
293
|
-
|
|
302
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
303
|
+
-
|
|
304
|
+
</td>
|
|
305
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
294
306
|
All standard SVG element props
|
|
295
307
|
</td>
|
|
296
308
|
</tr>
|
|
@@ -301,50 +313,62 @@ function StatusCard() {
|
|
|
301
313
|
|
|
302
314
|
{/* Size Variations */}
|
|
303
315
|
<div className="!space-y-8">
|
|
304
|
-
<h2 className="text-center text-3xl font-bold
|
|
316
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
305
317
|
Size Variations
|
|
306
318
|
</h2>
|
|
307
|
-
<div className="rounded-lg border
|
|
319
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
308
320
|
<div className="!space-y-6">
|
|
309
321
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
310
322
|
<div className="!space-y-4">
|
|
311
|
-
<h3 className="text-lg font-semibold
|
|
323
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
312
324
|
Standard Sizes
|
|
313
325
|
</h3>
|
|
314
|
-
<div className="flex items-end gap-6 rounded-lg
|
|
326
|
+
<div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
|
|
315
327
|
<div className="text-center">
|
|
316
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-3 w-3
|
|
317
|
-
<span className="text-
|
|
328
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-3 w-3" />
|
|
329
|
+
<span className="text-fm-tertiary text-xs">
|
|
330
|
+
12px
|
|
331
|
+
</span>
|
|
318
332
|
</div>
|
|
319
333
|
<div className="text-center">
|
|
320
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-4 w-4
|
|
321
|
-
<span className="text-
|
|
334
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-4 w-4" />
|
|
335
|
+
<span className="text-fm-tertiary text-xs">
|
|
336
|
+
16px
|
|
337
|
+
</span>
|
|
322
338
|
</div>
|
|
323
339
|
<div className="text-center">
|
|
324
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-5 w-5
|
|
325
|
-
<span className="text-
|
|
340
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-5 w-5" />
|
|
341
|
+
<span className="text-fm-tertiary text-xs">
|
|
342
|
+
20px
|
|
343
|
+
</span>
|
|
326
344
|
</div>
|
|
327
345
|
<div className="text-center">
|
|
328
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-6 w-6
|
|
329
|
-
<span className="text-
|
|
346
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-6 w-6" />
|
|
347
|
+
<span className="text-fm-tertiary text-xs">
|
|
348
|
+
24px
|
|
349
|
+
</span>
|
|
330
350
|
</div>
|
|
331
351
|
<div className="text-center">
|
|
332
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-8 w-8
|
|
333
|
-
<span className="text-
|
|
352
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-8 w-8" />
|
|
353
|
+
<span className="text-fm-tertiary text-xs">
|
|
354
|
+
32px
|
|
355
|
+
</span>
|
|
334
356
|
</div>
|
|
335
357
|
<div className="text-center">
|
|
336
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-12 w-12
|
|
337
|
-
<span className="text-
|
|
358
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-12 w-12" />
|
|
359
|
+
<span className="text-fm-tertiary text-xs">
|
|
360
|
+
48px
|
|
361
|
+
</span>
|
|
338
362
|
</div>
|
|
339
363
|
</div>
|
|
340
364
|
</div>
|
|
341
365
|
|
|
342
366
|
<div className="!space-y-4">
|
|
343
|
-
<h3 className="text-lg font-semibold
|
|
367
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
344
368
|
Code Example
|
|
345
369
|
</h3>
|
|
346
|
-
<div className="rounded-lg
|
|
347
|
-
<pre className="overflow-x-auto text-sm
|
|
370
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
371
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
348
372
|
{`// Small (16px)
|
|
349
373
|
<MaintenanceIcon className="h-4 w-4 " />
|
|
350
374
|
|
|
@@ -370,56 +394,56 @@ function StatusCard() {
|
|
|
370
394
|
|
|
371
395
|
{/* Color Variations */}
|
|
372
396
|
<div className="!space-y-8">
|
|
373
|
-
<h2 className="text-center text-3xl font-bold
|
|
397
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
374
398
|
Color Variations
|
|
375
399
|
</h2>
|
|
376
400
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
377
401
|
<div className="!space-y-4">
|
|
378
|
-
<h3 className="text-lg font-semibold
|
|
402
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
379
403
|
Semantic Colors
|
|
380
404
|
</h3>
|
|
381
|
-
<div className="!space-y-4 rounded-lg border
|
|
405
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
382
406
|
<div className="flex items-center gap-4">
|
|
383
|
-
<MaintenanceIcon className="h-6 w-6
|
|
407
|
+
<MaintenanceIcon className="text-fm-icon-warning h-6 w-6" />
|
|
384
408
|
<div>
|
|
385
|
-
<div className="text-sm font-medium
|
|
409
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
386
410
|
Active Maintenance
|
|
387
411
|
</div>
|
|
388
|
-
<div className="text-
|
|
389
|
-
text-
|
|
412
|
+
<div className="text-fm-tertiary text-xs">
|
|
413
|
+
text-fm-icon-warning
|
|
390
414
|
</div>
|
|
391
415
|
</div>
|
|
392
416
|
</div>
|
|
393
417
|
<div className="flex items-center gap-4">
|
|
394
|
-
<MaintenanceIcon className="h-6 w-6
|
|
418
|
+
<MaintenanceIcon className="text-fm-icon-info h-6 w-6" />
|
|
395
419
|
<div>
|
|
396
|
-
<div className="text-sm font-medium
|
|
420
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
397
421
|
System Operations
|
|
398
422
|
</div>
|
|
399
|
-
<div className="text-
|
|
400
|
-
text-
|
|
423
|
+
<div className="text-fm-tertiary text-xs">
|
|
424
|
+
text-fm-icon-info
|
|
401
425
|
</div>
|
|
402
426
|
</div>
|
|
403
427
|
</div>
|
|
404
428
|
<div className="flex items-center gap-4">
|
|
405
|
-
<MaintenanceIcon className="h-6 w-6
|
|
429
|
+
<MaintenanceIcon className="text-fm-icon-warning h-6 w-6" />
|
|
406
430
|
<div>
|
|
407
|
-
<div className="text-sm font-medium
|
|
431
|
+
<div className="text-fm-icon-active! text-sm font-medium">
|
|
408
432
|
Scheduled Maintenance
|
|
409
433
|
</div>
|
|
410
|
-
<div className="text-
|
|
411
|
-
text-
|
|
434
|
+
<div className="text-fm-tertiary! text-xs">
|
|
435
|
+
text-fm-icon-warning
|
|
412
436
|
</div>
|
|
413
437
|
</div>
|
|
414
438
|
</div>
|
|
415
439
|
<div className="flex items-center gap-4">
|
|
416
|
-
<MaintenanceIcon className="h-6 w-6
|
|
440
|
+
<MaintenanceIcon className="text-fm-icon-negative h-6 w-6" />
|
|
417
441
|
<div>
|
|
418
|
-
<div className="text-sm font-medium
|
|
442
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
419
443
|
Emergency Repair
|
|
420
444
|
</div>
|
|
421
|
-
<div className="text-
|
|
422
|
-
text-
|
|
445
|
+
<div className="text-fm-tertiary text-xs">
|
|
446
|
+
text-fm-icon-negative
|
|
423
447
|
</div>
|
|
424
448
|
</div>
|
|
425
449
|
</div>
|
|
@@ -427,11 +451,11 @@ function StatusCard() {
|
|
|
427
451
|
</div>
|
|
428
452
|
|
|
429
453
|
<div className="!space-y-4">
|
|
430
|
-
<h3 className="text-lg font-semibold
|
|
454
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
431
455
|
Custom Colors
|
|
432
456
|
</h3>
|
|
433
|
-
<div className="rounded-lg
|
|
434
|
-
<pre className="overflow-x-auto text-sm
|
|
457
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
458
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
435
459
|
{`// Using Tailwind classes with
|
|
436
460
|
<MaintenanceIcon className="h-6 w-6 text-orange-400 " />
|
|
437
461
|
<MaintenanceIcon className="h-6 w-6 text-blue-500 " />
|
|
@@ -456,25 +480,25 @@ function StatusCard() {
|
|
|
456
480
|
|
|
457
481
|
{/* Usage Examples */}
|
|
458
482
|
<div className="!space-y-8">
|
|
459
|
-
<h2 className="text-center text-3xl font-bold
|
|
483
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
460
484
|
Usage Examples
|
|
461
485
|
</h2>
|
|
462
486
|
|
|
463
487
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
464
488
|
{/* Status Banner */}
|
|
465
489
|
<div className="!space-y-4">
|
|
466
|
-
<h3 className="text-lg font-semibold
|
|
490
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
467
491
|
Maintenance Banner
|
|
468
492
|
</h3>
|
|
469
493
|
<div className="!space-y-4">
|
|
470
|
-
<div className="
|
|
494
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 rounded-lg border p-4">
|
|
471
495
|
<div className="flex items-start gap-3">
|
|
472
|
-
<MaintenanceIcon className="mt-0.5 h-5 w-5 flex-shrink-0
|
|
496
|
+
<MaintenanceIcon className="text-fm-icon-warning mt-0.5 h-5 w-5 flex-shrink-0" />
|
|
473
497
|
<div>
|
|
474
|
-
<h4 className="font-medium
|
|
498
|
+
<h4 className="text-fm-icon-warning! font-medium">
|
|
475
499
|
Scheduled Maintenance
|
|
476
500
|
</h4>
|
|
477
|
-
<p className="text-
|
|
501
|
+
<p className="text-fm-icon-warning!/80 text-sm">
|
|
478
502
|
System maintenance is scheduled for tonight from
|
|
479
503
|
2:00 AM to 4:00 AM EST. Services may be
|
|
480
504
|
temporarily unavailable.
|
|
@@ -482,8 +506,8 @@ function StatusCard() {
|
|
|
482
506
|
</div>
|
|
483
507
|
</div>
|
|
484
508
|
</div>
|
|
485
|
-
<div className="rounded-lg
|
|
486
|
-
<pre className="overflow-x-auto text-sm
|
|
509
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
510
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
487
511
|
{`<div className="border border-orange-500/20 bg-orange-500/10 p-4 rounded-lg">
|
|
488
512
|
<div className="flex items-start gap-3">
|
|
489
513
|
<MaintenanceIcon className="h-5 w-5 text-orange-400 mt-0.5 flex-shrink-0 " />
|
|
@@ -502,7 +526,7 @@ function StatusCard() {
|
|
|
502
526
|
|
|
503
527
|
{/* Service Status List */}
|
|
504
528
|
<div className="!space-y-4">
|
|
505
|
-
<h3 className="text-lg font-semibold
|
|
529
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
506
530
|
Service Status
|
|
507
531
|
</h3>
|
|
508
532
|
<div className="!space-y-4">
|
|
@@ -526,7 +550,7 @@ function StatusCard() {
|
|
|
526
550
|
].map((item, index) => (
|
|
527
551
|
<div
|
|
528
552
|
key={index}
|
|
529
|
-
className="flex items-center gap-3 rounded-lg border
|
|
553
|
+
className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-lg border p-3"
|
|
530
554
|
>
|
|
531
555
|
<MaintenanceIcon
|
|
532
556
|
className={`h-4 w-4 ${
|
|
@@ -538,7 +562,7 @@ function StatusCard() {
|
|
|
538
562
|
}`}
|
|
539
563
|
/>
|
|
540
564
|
<div className="flex-1">
|
|
541
|
-
<span className="text-
|
|
565
|
+
<span className="text-fm-icon-active text-sm">
|
|
542
566
|
{item.service}
|
|
543
567
|
</span>
|
|
544
568
|
</div>
|
|
@@ -556,8 +580,8 @@ function StatusCard() {
|
|
|
556
580
|
</div>
|
|
557
581
|
))}
|
|
558
582
|
</div>
|
|
559
|
-
<div className="rounded-lg
|
|
560
|
-
<pre className="overflow-x-auto text-sm
|
|
583
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
584
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
561
585
|
{`// Service status item
|
|
562
586
|
<div className="flex items-center gap-3 border border-white/10 bg-white/5 p-3 rounded-lg">
|
|
563
587
|
<MaintenanceIcon className="h-4 w-4 text-orange-400 " />
|
|
@@ -575,32 +599,32 @@ function StatusCard() {
|
|
|
575
599
|
|
|
576
600
|
{/* Admin Panel Section */}
|
|
577
601
|
<div className="!space-y-4">
|
|
578
|
-
<h3 className="text-lg font-semibold
|
|
602
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
579
603
|
Admin Panel
|
|
580
604
|
</h3>
|
|
581
605
|
<div className="!space-y-4">
|
|
582
|
-
<div className="relative overflow-hidden rounded-lg border
|
|
583
|
-
<div className="absolute inset-0 bg-
|
|
606
|
+
<div className="border-fm-icon-warning/20 from-fm-icon-warning/10 to-fm-icon-info/10 relative overflow-hidden rounded-lg border bg-linear-to-br p-8 text-center">
|
|
607
|
+
<div className="via-fm-icon-warning/5 absolute inset-0 bg-linear-to-r from-transparent to-transparent" />
|
|
584
608
|
<div className="relative">
|
|
585
|
-
<MaintenanceIcon className="!mx-auto mb-4 h-16 w-16
|
|
586
|
-
<h2 className="mb-4 text-3xl font-bold
|
|
609
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-4 h-16 w-16" />
|
|
610
|
+
<h2 className="text-fm-icon-active! mb-4 text-3xl font-bold">
|
|
587
611
|
System Operations
|
|
588
612
|
</h2>
|
|
589
|
-
<p className="mb-6 text-lg
|
|
613
|
+
<p className="text-fm-secondary! mb-6 text-lg">
|
|
590
614
|
Monitor and manage system maintenance activities
|
|
591
615
|
</p>
|
|
592
616
|
<div className="flex justify-center gap-4">
|
|
593
|
-
<button className="
|
|
617
|
+
<button className="bg-fm-icon-warning/20 text-fm-icon-warning hover:bg-fm-icon-warning/30 rounded-lg px-6 py-3 transition-colors">
|
|
594
618
|
Start Maintenance
|
|
595
619
|
</button>
|
|
596
|
-
<button className="
|
|
620
|
+
<button className="bg-fm-icon-info/20 text-fm-icon-info hover:bg-fm-icon-info/30 rounded-lg px-6 py-3 transition-colors">
|
|
597
621
|
View Status
|
|
598
622
|
</button>
|
|
599
623
|
</div>
|
|
600
624
|
</div>
|
|
601
625
|
</div>
|
|
602
|
-
<div className="rounded-lg
|
|
603
|
-
<pre className="overflow-x-auto text-sm
|
|
626
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
627
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
604
628
|
{`// Admin operations section
|
|
605
629
|
<div className="relative overflow-hidden rounded-lg border border-orange-500/20 bg-gradient-to-br from-orange-500/10 to-blue-500/10 p-8 text-center">
|
|
606
630
|
<div className="relative">
|
|
@@ -623,11 +647,11 @@ function StatusCard() {
|
|
|
623
647
|
|
|
624
648
|
{/* Sidebar Navigation */}
|
|
625
649
|
<div className="!space-y-4">
|
|
626
|
-
<h3 className="text-lg font-semibold
|
|
650
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
627
651
|
Admin Navigation
|
|
628
652
|
</h3>
|
|
629
653
|
<div className="!space-y-4">
|
|
630
|
-
<div className="max-w-xs rounded-lg border
|
|
654
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary max-w-xs rounded-lg border p-3">
|
|
631
655
|
{[
|
|
632
656
|
{ name: "Dashboard", icon: "📊", active: false },
|
|
633
657
|
{
|
|
@@ -659,13 +683,13 @@ function StatusCard() {
|
|
|
659
683
|
)}
|
|
660
684
|
<span className="flex-1 text-sm">{item.name}</span>
|
|
661
685
|
{item.active && (
|
|
662
|
-
<div className="h-2 w-2 rounded-full
|
|
686
|
+
<div className="bg-fm-icon-warning h-2 w-2 rounded-full"></div>
|
|
663
687
|
)}
|
|
664
688
|
</div>
|
|
665
689
|
))}
|
|
666
690
|
</div>
|
|
667
|
-
<div className="rounded-lg
|
|
668
|
-
<pre className="overflow-x-auto text-sm
|
|
691
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
692
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
669
693
|
{`// Navigation item
|
|
670
694
|
<div className="flex items-center gap-3 p-2 rounded bg-orange-500/20 text-orange-200 cursor-pointer">
|
|
671
695
|
<MaintenanceIcon className="h-4 w-4 text-orange-400 " />
|
|
@@ -681,55 +705,55 @@ function StatusCard() {
|
|
|
681
705
|
|
|
682
706
|
{/* Interactive States */}
|
|
683
707
|
<div className="!space-y-8">
|
|
684
|
-
<h2 className="text-center text-3xl font-bold
|
|
708
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
685
709
|
Interactive States & Animations
|
|
686
710
|
</h2>
|
|
687
711
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
688
712
|
<div className="!space-y-4">
|
|
689
|
-
<h3 className="text-lg font-semibold
|
|
713
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
690
714
|
Hover & Animation Effects
|
|
691
715
|
</h3>
|
|
692
|
-
<div className="!space-y-4 rounded-lg border
|
|
716
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
693
717
|
<div className="flex items-center gap-4">
|
|
694
|
-
<MaintenanceIcon className="h-6 w-6
|
|
718
|
+
<MaintenanceIcon className="text-fm-tertiary hover:text-fm-icon-warning h-6 w-6 transition-colors" />
|
|
695
719
|
<div>
|
|
696
|
-
<div className="text-sm font-medium
|
|
720
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
697
721
|
Color Change
|
|
698
722
|
</div>
|
|
699
|
-
<div className="text-
|
|
700
|
-
hover:text-
|
|
723
|
+
<div className="text-fm-tertiary text-xs">
|
|
724
|
+
hover:text-fm-icon-warning
|
|
701
725
|
</div>
|
|
702
726
|
</div>
|
|
703
727
|
</div>
|
|
704
728
|
<div className="flex items-center gap-4">
|
|
705
|
-
<MaintenanceIcon className="h-6 w-6
|
|
729
|
+
<MaintenanceIcon className="text-fm-icon-active h-6 w-6 transition-transform hover:scale-110" />
|
|
706
730
|
<div>
|
|
707
|
-
<div className="text-sm font-medium
|
|
731
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
708
732
|
Scale Effect
|
|
709
733
|
</div>
|
|
710
|
-
<div className="text-
|
|
734
|
+
<div className="text-fm-tertiary text-xs">
|
|
711
735
|
hover:scale-110
|
|
712
736
|
</div>
|
|
713
737
|
</div>
|
|
714
738
|
</div>
|
|
715
739
|
<div className="flex items-center gap-4">
|
|
716
|
-
<MaintenanceIcon className="animate-rotate h-6 w-6
|
|
740
|
+
<MaintenanceIcon className="animate-rotate text-fm-icon-warning h-6 w-6" />
|
|
717
741
|
<div>
|
|
718
|
-
<div className="text-sm font-medium
|
|
742
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
719
743
|
Active Maintenance
|
|
720
744
|
</div>
|
|
721
|
-
<div className="text-
|
|
745
|
+
<div className="text-fm-tertiary text-xs">
|
|
722
746
|
animate-rotate
|
|
723
747
|
</div>
|
|
724
748
|
</div>
|
|
725
749
|
</div>
|
|
726
750
|
<div className="flex items-center gap-4">
|
|
727
|
-
<MaintenanceIcon className="animate-pulse-slow h-6 w-6
|
|
751
|
+
<MaintenanceIcon className="animate-pulse-slow text-fm-icon-warning h-6 w-6" />
|
|
728
752
|
<div>
|
|
729
|
-
<div className="text-sm font-medium
|
|
753
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
730
754
|
Standby Mode
|
|
731
755
|
</div>
|
|
732
|
-
<div className="text-
|
|
756
|
+
<div className="text-fm-tertiary text-xs">
|
|
733
757
|
animate-pulse-slow
|
|
734
758
|
</div>
|
|
735
759
|
</div>
|
|
@@ -738,11 +762,11 @@ function StatusCard() {
|
|
|
738
762
|
</div>
|
|
739
763
|
|
|
740
764
|
<div className="!space-y-4">
|
|
741
|
-
<h3 className="text-lg font-semibold
|
|
765
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
742
766
|
Animation Examples
|
|
743
767
|
</h3>
|
|
744
|
-
<div className="rounded-lg
|
|
745
|
-
<pre className="overflow-x-auto text-sm
|
|
768
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
769
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
746
770
|
{`// Hover effects
|
|
747
771
|
<MaintenanceIcon className="h-6 w-6 text-white/60 hover:text-orange-400 transition-colors " />
|
|
748
772
|
|
|
@@ -772,64 +796,64 @@ function StatusCard() {
|
|
|
772
796
|
|
|
773
797
|
{/* Accessibility */}
|
|
774
798
|
<div className="!space-y-8">
|
|
775
|
-
<h2 className="text-center text-3xl font-bold
|
|
799
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
776
800
|
Accessibility Features
|
|
777
801
|
</h2>
|
|
778
802
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
779
|
-
<div className="!space-y-4 rounded-lg border
|
|
780
|
-
<h3 className="text-lg font-semibold
|
|
803
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
804
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
781
805
|
✅ Built-in Features
|
|
782
806
|
</h3>
|
|
783
|
-
<ul className="!space-y-2 text-sm
|
|
784
|
-
<li className="
|
|
807
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
808
|
+
<li className="text-fm-secondary!">
|
|
785
809
|
Uses Radix UI AccessibleIcon wrapper
|
|
786
810
|
</li>
|
|
787
|
-
<li className="
|
|
811
|
+
<li className="text-fm-secondary!">
|
|
788
812
|
Provides screen reader label "Maintenance icon"
|
|
789
813
|
</li>
|
|
790
|
-
<li className="
|
|
814
|
+
<li className="text-fm-secondary!">
|
|
791
815
|
Supports keyboard navigation when interactive
|
|
792
816
|
</li>
|
|
793
|
-
<li className="
|
|
817
|
+
<li className="text-fm-secondary!">
|
|
794
818
|
Maintains proper color contrast ratios
|
|
795
819
|
</li>
|
|
796
|
-
<li className="
|
|
820
|
+
<li className="text-fm-secondary!">
|
|
797
821
|
Scales with user's font size preferences
|
|
798
822
|
</li>
|
|
799
823
|
</ul>
|
|
800
824
|
</div>
|
|
801
825
|
|
|
802
|
-
<div className="!space-y-4 rounded-lg border
|
|
803
|
-
<h3 className="text-lg font-semibold
|
|
826
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
827
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
804
828
|
💡 Best Practices
|
|
805
829
|
</h3>
|
|
806
|
-
<ul className="!space-y-2 text-sm
|
|
807
|
-
<li className="
|
|
830
|
+
<ul className="text-fm-secondary !space-y-2 text-sm">
|
|
831
|
+
<li className="text-fm-secondary!">
|
|
808
832
|
Always pair with descriptive maintenance context
|
|
809
833
|
</li>
|
|
810
|
-
<li className="
|
|
834
|
+
<li className="text-fm-secondary!">
|
|
811
835
|
Use consistent colors for maintenance states
|
|
812
836
|
</li>
|
|
813
|
-
<li className="
|
|
837
|
+
<li className="text-fm-secondary!">
|
|
814
838
|
Consider motion sensitivity for rotating animations
|
|
815
839
|
</li>
|
|
816
|
-
<li className="
|
|
840
|
+
<li className="text-fm-secondary!">
|
|
817
841
|
Add focus states for interactive elements
|
|
818
842
|
</li>
|
|
819
|
-
<li className="
|
|
843
|
+
<li className="text-fm-secondary!">
|
|
820
844
|
Provide clear status information alongside icon
|
|
821
845
|
</li>
|
|
822
846
|
</ul>
|
|
823
847
|
</div>
|
|
824
848
|
</div>
|
|
825
849
|
|
|
826
|
-
<div className="rounded-lg border
|
|
827
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
850
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
851
|
+
<h3 className="text-fm-icon-warning! mb-4 text-lg font-semibold">
|
|
828
852
|
Maintenance Status Accessibility
|
|
829
853
|
</h3>
|
|
830
854
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
831
|
-
<div className="rounded-lg
|
|
832
|
-
<pre className="overflow-x-auto text-sm
|
|
855
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
856
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
833
857
|
{`// Maintenance button with proper ARIA
|
|
834
858
|
<button
|
|
835
859
|
aria-label="Start system maintenance mode"
|
|
@@ -860,13 +884,13 @@ function StatusCard() {
|
|
|
860
884
|
</pre>
|
|
861
885
|
</div>
|
|
862
886
|
<div className="!space-y-4">
|
|
863
|
-
<p className="text-
|
|
887
|
+
<p className="text-fm-secondary! text-sm">
|
|
864
888
|
When using MaintenanceIcon for system status and
|
|
865
889
|
operations, provide clear context about the current
|
|
866
890
|
maintenance state and expected duration.
|
|
867
891
|
</p>
|
|
868
|
-
<div className="
|
|
869
|
-
<div className="flex items-center gap-2 text-sm
|
|
892
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 rounded-lg border p-4">
|
|
893
|
+
<div className="text-fm-icon-warning flex items-center gap-2 text-sm">
|
|
870
894
|
<MaintenanceIcon className="h-4 w-4" />
|
|
871
895
|
<span>
|
|
872
896
|
Screen readers understand this represents system
|
|
@@ -881,48 +905,58 @@ function StatusCard() {
|
|
|
881
905
|
|
|
882
906
|
{/* Related Icons */}
|
|
883
907
|
<div className="!space-y-8">
|
|
884
|
-
<h2 className="text-center text-3xl font-bold
|
|
908
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
885
909
|
Related Icons
|
|
886
910
|
</h2>
|
|
887
911
|
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
888
|
-
<div className="!space-y-3 rounded-lg border
|
|
889
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
912
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
913
|
+
<div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
890
914
|
<span className="text-2xl">🔧</span>
|
|
891
915
|
</div>
|
|
892
916
|
<div>
|
|
893
|
-
<div className="font-medium
|
|
894
|
-
|
|
917
|
+
<div className="text-fm-icon-active font-medium">
|
|
918
|
+
ToolIcon
|
|
919
|
+
</div>
|
|
920
|
+
<div className="text-fm-tertiary text-xs">
|
|
895
921
|
Tools & utilities
|
|
896
922
|
</div>
|
|
897
923
|
</div>
|
|
898
924
|
</div>
|
|
899
|
-
<div className="!space-y-3 rounded-lg border
|
|
900
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
925
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
926
|
+
<div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
901
927
|
<span className="text-2xl">⚙️</span>
|
|
902
928
|
</div>
|
|
903
929
|
<div>
|
|
904
|
-
<div className="font-medium
|
|
905
|
-
|
|
930
|
+
<div className="text-fm-icon-active font-medium">
|
|
931
|
+
SettingsIcon
|
|
932
|
+
</div>
|
|
933
|
+
<div className="text-fm-tertiary text-xs">
|
|
934
|
+
Configuration
|
|
935
|
+
</div>
|
|
906
936
|
</div>
|
|
907
937
|
</div>
|
|
908
|
-
<div className="!space-y-3 rounded-lg border
|
|
909
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
938
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
939
|
+
<div className="bg-fm-icon-warning/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
910
940
|
<span className="text-2xl">⚠️</span>
|
|
911
941
|
</div>
|
|
912
942
|
<div>
|
|
913
|
-
<div className="font-medium
|
|
914
|
-
|
|
943
|
+
<div className="text-fm-icon-active font-medium">
|
|
944
|
+
AlertIcon
|
|
945
|
+
</div>
|
|
946
|
+
<div className="text-fm-tertiary text-xs">
|
|
915
947
|
Warnings & alerts
|
|
916
948
|
</div>
|
|
917
949
|
</div>
|
|
918
950
|
</div>
|
|
919
|
-
<div className="!space-y-3 rounded-lg border
|
|
920
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
951
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
952
|
+
<div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
921
953
|
<span className="text-2xl">📊</span>
|
|
922
954
|
</div>
|
|
923
955
|
<div>
|
|
924
|
-
<div className="font-medium
|
|
925
|
-
|
|
956
|
+
<div className="text-fm-icon-active font-medium">
|
|
957
|
+
MonitorIcon
|
|
958
|
+
</div>
|
|
959
|
+
<div className="text-fm-tertiary text-xs">
|
|
926
960
|
System monitoring
|
|
927
961
|
</div>
|
|
928
962
|
</div>
|
|
@@ -932,15 +966,15 @@ function StatusCard() {
|
|
|
932
966
|
</div>
|
|
933
967
|
|
|
934
968
|
{/* Footer */}
|
|
935
|
-
<div className="border-
|
|
969
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
|
|
936
970
|
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
937
971
|
<div className="!space-y-4 text-center">
|
|
938
|
-
<p className="
|
|
972
|
+
<p className="text-fm-tertiary!">
|
|
939
973
|
MaintenanceIcon is part of the Aural UI icon library, built
|
|
940
974
|
for representing system maintenance, operations, and
|
|
941
975
|
technical support activities.
|
|
942
976
|
</p>
|
|
943
|
-
<p className="text-
|
|
977
|
+
<p className="text-fm-placeholder! text-sm">
|
|
944
978
|
All icons use Radix UI's AccessibleIcon for screen reader
|
|
945
979
|
compatibility and follow WCAG guidelines for system
|
|
946
980
|
administration interfaces.
|
|
@@ -990,20 +1024,20 @@ const storyParameters = {
|
|
|
990
1024
|
backgrounds: {
|
|
991
1025
|
default: "dark",
|
|
992
1026
|
values: [
|
|
993
|
-
{ name: "dark", value: "
|
|
994
|
-
{ name: "darker", value: "
|
|
1027
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
1028
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
995
1029
|
],
|
|
996
1030
|
},
|
|
997
1031
|
}
|
|
998
1032
|
|
|
999
1033
|
export const Default: Story = {
|
|
1000
1034
|
args: {
|
|
1001
|
-
className: "h-6 w-6 text-
|
|
1035
|
+
className: "h-6 w-6 text-fm-icon-warning ",
|
|
1002
1036
|
withAccessibility: true,
|
|
1003
1037
|
},
|
|
1004
1038
|
parameters: storyParameters,
|
|
1005
1039
|
render: (args) => (
|
|
1006
|
-
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1040
|
+
<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">
|
|
1007
1041
|
<MaintenanceIcon {...args} />
|
|
1008
1042
|
</div>
|
|
1009
1043
|
),
|
|
@@ -1020,30 +1054,30 @@ export const SizeVariations: Story = {
|
|
|
1020
1054
|
},
|
|
1021
1055
|
},
|
|
1022
1056
|
render: () => (
|
|
1023
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-
|
|
1057
|
+
<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">
|
|
1024
1058
|
<div className="text-center">
|
|
1025
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-3 w-3
|
|
1026
|
-
<span className="text-
|
|
1059
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-3 w-3" />
|
|
1060
|
+
<span className="text-fm-tertiary text-xs">12px</span>
|
|
1027
1061
|
</div>
|
|
1028
1062
|
<div className="text-center">
|
|
1029
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-4 w-4
|
|
1030
|
-
<span className="text-
|
|
1063
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-4 w-4" />
|
|
1064
|
+
<span className="text-fm-tertiary text-xs">16px</span>
|
|
1031
1065
|
</div>
|
|
1032
1066
|
<div className="text-center">
|
|
1033
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-5 w-5
|
|
1034
|
-
<span className="text-
|
|
1067
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-5 w-5" />
|
|
1068
|
+
<span className="text-fm-tertiary text-xs">20px</span>
|
|
1035
1069
|
</div>
|
|
1036
1070
|
<div className="text-center">
|
|
1037
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-6 w-6
|
|
1038
|
-
<span className="text-
|
|
1071
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-6 w-6" />
|
|
1072
|
+
<span className="text-fm-tertiary text-xs">24px</span>
|
|
1039
1073
|
</div>
|
|
1040
1074
|
<div className="text-center">
|
|
1041
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-8 w-8
|
|
1042
|
-
<span className="text-
|
|
1075
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-8 w-8" />
|
|
1076
|
+
<span className="text-fm-tertiary text-xs">32px</span>
|
|
1043
1077
|
</div>
|
|
1044
1078
|
<div className="text-center">
|
|
1045
|
-
<MaintenanceIcon className="!mx-auto mb-2 h-12 w-12
|
|
1046
|
-
<span className="text-
|
|
1079
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-2 h-12 w-12" />
|
|
1080
|
+
<span className="text-fm-tertiary text-xs">48px</span>
|
|
1047
1081
|
</div>
|
|
1048
1082
|
</div>
|
|
1049
1083
|
),
|
|
@@ -1060,34 +1094,40 @@ export const ColorVariations: Story = {
|
|
|
1060
1094
|
},
|
|
1061
1095
|
},
|
|
1062
1096
|
render: () => (
|
|
1063
|
-
<div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-
|
|
1097
|
+
<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">
|
|
1064
1098
|
<div className="text-center">
|
|
1065
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1066
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1099
|
+
<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">
|
|
1100
|
+
<MaintenanceIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1067
1101
|
</div>
|
|
1068
|
-
<div className="text-sm font-medium
|
|
1069
|
-
|
|
1102
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1103
|
+
Active Maintenance
|
|
1104
|
+
</div>
|
|
1105
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1070
1106
|
</div>
|
|
1071
1107
|
<div className="text-center">
|
|
1072
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1073
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1108
|
+
<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">
|
|
1109
|
+
<MaintenanceIcon className="text-fm-icon-info h-8 w-8" />
|
|
1110
|
+
</div>
|
|
1111
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1112
|
+
System Operations
|
|
1074
1113
|
</div>
|
|
1075
|
-
<div className="text-
|
|
1076
|
-
<div className="text-xs text-blue-400">text-blue-400</div>
|
|
1114
|
+
<div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
|
|
1077
1115
|
</div>
|
|
1078
1116
|
<div className="text-center">
|
|
1079
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1080
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1117
|
+
<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">
|
|
1118
|
+
<MaintenanceIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1081
1119
|
</div>
|
|
1082
|
-
<div className="text-sm font-medium
|
|
1083
|
-
<div className="text-
|
|
1120
|
+
<div className="text-fm-icon-active text-sm font-medium">Scheduled</div>
|
|
1121
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1084
1122
|
</div>
|
|
1085
1123
|
<div className="text-center">
|
|
1086
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1087
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1124
|
+
<div className="border-fm-icon-negative/30 bg-fm-icon-negative/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1125
|
+
<MaintenanceIcon className="text-fm-icon-negative h-8 w-8" />
|
|
1126
|
+
</div>
|
|
1127
|
+
<div className="text-fm-icon-active text-sm font-medium">Emergency</div>
|
|
1128
|
+
<div className="text-fm-icon-negative text-xs">
|
|
1129
|
+
text-fm-icon-negative
|
|
1088
1130
|
</div>
|
|
1089
|
-
<div className="text-sm font-medium text-white">Emergency</div>
|
|
1090
|
-
<div className="text-xs text-red-400">text-red-400</div>
|
|
1091
1131
|
</div>
|
|
1092
1132
|
</div>
|
|
1093
1133
|
),
|
|
@@ -1104,18 +1144,20 @@ export const UsageExamples: Story = {
|
|
|
1104
1144
|
},
|
|
1105
1145
|
},
|
|
1106
1146
|
render: () => (
|
|
1107
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1147
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1108
1148
|
{/* Status Banner */}
|
|
1109
1149
|
<div className="!space-y-2">
|
|
1110
|
-
<h3 className="text-sm font-medium
|
|
1111
|
-
|
|
1150
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1151
|
+
Maintenance Banner
|
|
1152
|
+
</h3>
|
|
1153
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 rounded-lg border p-4">
|
|
1112
1154
|
<div className="flex items-start gap-3">
|
|
1113
|
-
<MaintenanceIcon className="mt-0.5 h-5 w-5 flex-shrink-0
|
|
1155
|
+
<MaintenanceIcon className="text-fm-icon-warning mt-0.5 h-5 w-5 flex-shrink-0" />
|
|
1114
1156
|
<div>
|
|
1115
|
-
<h4 className="font-medium
|
|
1157
|
+
<h4 className="text-fm-icon-warning font-medium">
|
|
1116
1158
|
Scheduled Maintenance
|
|
1117
1159
|
</h4>
|
|
1118
|
-
<p className="text-
|
|
1160
|
+
<p className="text-fm-icon-warning/80 text-sm">
|
|
1119
1161
|
System maintenance is scheduled for tonight from 2:00 AM to 4:00
|
|
1120
1162
|
AM EST.
|
|
1121
1163
|
</p>
|
|
@@ -1126,7 +1168,9 @@ export const UsageExamples: Story = {
|
|
|
1126
1168
|
|
|
1127
1169
|
{/* Service Status */}
|
|
1128
1170
|
<div className="!space-y-2">
|
|
1129
|
-
<h3 className="text-sm font-medium
|
|
1171
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1172
|
+
Service Status
|
|
1173
|
+
</h3>
|
|
1130
1174
|
<div className="!space-y-3">
|
|
1131
1175
|
{[
|
|
1132
1176
|
{
|
|
@@ -1143,7 +1187,7 @@ export const UsageExamples: Story = {
|
|
|
1143
1187
|
].map((item, index) => (
|
|
1144
1188
|
<div
|
|
1145
1189
|
key={index}
|
|
1146
|
-
className="flex items-center gap-3 rounded-lg border
|
|
1190
|
+
className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-lg border p-3"
|
|
1147
1191
|
>
|
|
1148
1192
|
<MaintenanceIcon
|
|
1149
1193
|
className={`h-4 w-4 ${
|
|
@@ -1155,7 +1199,9 @@ export const UsageExamples: Story = {
|
|
|
1155
1199
|
}`}
|
|
1156
1200
|
/>
|
|
1157
1201
|
<div className="flex-1">
|
|
1158
|
-
<span className="text-
|
|
1202
|
+
<span className="text-fm-icon-active text-sm">
|
|
1203
|
+
{item.service}
|
|
1204
|
+
</span>
|
|
1159
1205
|
</div>
|
|
1160
1206
|
<div
|
|
1161
1207
|
className={`rounded px-2 py-1 text-xs ${
|
|
@@ -1175,17 +1221,17 @@ export const UsageExamples: Story = {
|
|
|
1175
1221
|
|
|
1176
1222
|
{/* Admin Panel */}
|
|
1177
1223
|
<div className="!space-y-2">
|
|
1178
|
-
<h3 className="text-sm font-medium
|
|
1179
|
-
<div className="relative overflow-hidden rounded-lg border
|
|
1224
|
+
<h3 className="text-fm-icon-active text-sm font-medium">Admin Panel</h3>
|
|
1225
|
+
<div className="border-fm-icon-warning/20 from-fm-icon-warning/10 to-fm-icon-info/10 relative overflow-hidden rounded-lg border bg-linear-to-br p-8 text-center">
|
|
1180
1226
|
<div className="relative">
|
|
1181
|
-
<MaintenanceIcon className="!mx-auto mb-4 h-16 w-16
|
|
1182
|
-
<h2 className="mb-4 text-3xl font-bold
|
|
1227
|
+
<MaintenanceIcon className="text-fm-icon-warning !mx-auto mb-4 h-16 w-16" />
|
|
1228
|
+
<h2 className="text-fm-icon-active mb-4 text-3xl font-bold">
|
|
1183
1229
|
System Operations
|
|
1184
1230
|
</h2>
|
|
1185
|
-
<p className="mb-6 text-lg
|
|
1231
|
+
<p className="text-fm-secondary mb-6 text-lg">
|
|
1186
1232
|
Monitor and manage system maintenance activities
|
|
1187
1233
|
</p>
|
|
1188
|
-
<button className="
|
|
1234
|
+
<button className="bg-fm-icon-warning/20 text-fm-icon-warning hover:bg-fm-icon-warning/30 rounded-lg px-6 py-3 transition-colors">
|
|
1189
1235
|
Start Maintenance
|
|
1190
1236
|
</button>
|
|
1191
1237
|
</div>
|
|
@@ -1206,27 +1252,27 @@ export const InteractiveStates: Story = {
|
|
|
1206
1252
|
},
|
|
1207
1253
|
},
|
|
1208
1254
|
render: () => (
|
|
1209
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1255
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1210
1256
|
<div className="!space-y-4">
|
|
1211
|
-
<h3 className="text-sm font-medium
|
|
1257
|
+
<h3 className="text-fm-secondary text-sm font-medium">
|
|
1212
1258
|
Hover & Animation Effects
|
|
1213
1259
|
</h3>
|
|
1214
1260
|
<div className="flex gap-8">
|
|
1215
1261
|
<div className="flex flex-col items-center gap-2">
|
|
1216
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1217
|
-
<span className="text-
|
|
1262
|
+
<MaintenanceIcon className="text-fm-tertiary hover:text-fm-icon-warning h-8 w-8 transition-colors" />
|
|
1263
|
+
<span className="text-fm-tertiary text-xs">Color Change</span>
|
|
1218
1264
|
</div>
|
|
1219
1265
|
<div className="flex flex-col items-center gap-2">
|
|
1220
|
-
<MaintenanceIcon className="h-8 w-8
|
|
1221
|
-
<span className="text-
|
|
1266
|
+
<MaintenanceIcon className="text-fm-icon-active h-8 w-8 transition-transform hover:scale-110" />
|
|
1267
|
+
<span className="text-fm-tertiary text-xs">Scale Up</span>
|
|
1222
1268
|
</div>
|
|
1223
1269
|
<div className="flex flex-col items-center gap-2">
|
|
1224
|
-
<MaintenanceIcon className="animate-rotate h-8 w-8
|
|
1225
|
-
<span className="text-
|
|
1270
|
+
<MaintenanceIcon className="animate-rotate text-fm-icon-warning h-8 w-8" />
|
|
1271
|
+
<span className="text-fm-tertiary text-xs">Rotate</span>
|
|
1226
1272
|
</div>
|
|
1227
1273
|
<div className="flex flex-col items-center gap-2">
|
|
1228
|
-
<MaintenanceIcon className="animate-pulse-slow h-8 w-8
|
|
1229
|
-
<span className="text-
|
|
1274
|
+
<MaintenanceIcon className="animate-pulse-slow text-fm-icon-warning h-8 w-8" />
|
|
1275
|
+
<span className="text-fm-tertiary text-xs">Pulse</span>
|
|
1230
1276
|
</div>
|
|
1231
1277
|
</div>
|
|
1232
1278
|
</div>
|
|
@@ -1247,11 +1293,11 @@ export const Playground: Story = {
|
|
|
1247
1293
|
args: {
|
|
1248
1294
|
width: 32,
|
|
1249
1295
|
height: 32,
|
|
1250
|
-
className: "text-
|
|
1296
|
+
className: "text-fm-icon-warning ",
|
|
1251
1297
|
},
|
|
1252
1298
|
render: (args) => (
|
|
1253
|
-
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1254
|
-
<div className="rounded-lg border
|
|
1299
|
+
<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">
|
|
1300
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
1255
1301
|
<MaintenanceIcon {...args} />
|
|
1256
1302
|
</div>
|
|
1257
1303
|
</div>
|