aural-ui 3.0.6 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/aspect-ratio/AspectRatio.stories.tsx +271 -242
- package/dist/components/avatar/Avatar.stories.tsx +84 -70
- package/dist/components/button/Button.stories.tsx +7 -7
- package/dist/components/button/index.tsx +7 -7
- package/dist/components/card/Card.stories.tsx +3 -3
- package/dist/components/char-count/CharCount.stories.tsx +9 -9
- package/dist/components/circular-loader/CircularLoader.stories.tsx +109 -93
- package/dist/components/clamp-lines/ClampLines.stories.tsx +25 -0
- package/dist/components/clamp-lines/index.tsx +6 -1
- package/dist/components/collapsible/Collapsible.stories.tsx +1 -1
- package/dist/components/command/Command.stories.tsx +52 -38
- package/dist/components/dialog/Dialog.stories.tsx +89 -84
- package/dist/components/divider/Divider.stories.tsx +86 -60
- package/dist/components/dot-loader/DotLoader.stories.tsx +12 -12
- package/dist/components/drawer/Drawer.stories.tsx +74 -44
- package/dist/components/drawer/index.tsx +3 -3
- package/dist/components/dropdown/Dropdown.stories.tsx +42 -32
- package/dist/components/helper-text/HelperText.stories.tsx +2 -2
- package/dist/components/hover-card/HoverCard.stories.tsx +211 -178
- package/dist/components/input/Input.stories.tsx +2 -2
- package/dist/components/input/index.tsx +2 -0
- package/dist/components/label/Label.stories.tsx +10 -10
- package/dist/components/list/List.stories.tsx +58 -44
- package/dist/components/marquee/Marquee.stories.tsx +131 -113
- package/dist/components/otp-inputs/OtpInputs.stories.tsx +47 -35
- package/dist/components/overlay/Overlay.stories.tsx +98 -92
- package/dist/components/overlay/index.tsx +4 -4
- package/dist/components/popover/Popover.stories.tsx +132 -106
- package/dist/components/radio/Radio.stories.tsx +2 -2
- package/dist/components/resizable/Resizable.stories.tsx +186 -138
- package/dist/components/scroll-area/ScrollArea.stories.tsx +174 -120
- package/dist/components/search/Search.stories.tsx +81 -59
- package/dist/components/select/Select.stories.tsx +3 -1
- package/dist/components/sheet/Sheet.stories.tsx +68 -54
- package/dist/components/slider/Slider.stories.tsx +71 -47
- package/dist/components/stepper/Stepper.stories.tsx +16 -16
- package/dist/components/switch/Switch.stories.tsx +12 -12
- package/dist/components/table/Table.stories.tsx +8 -6
- package/dist/components/tabs/Tabs.stories.tsx +324 -268
- package/dist/components/textarea/TextArea.stories.tsx +1 -1
- package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +16 -10
- package/dist/components/toast/Toast.stories.tsx +51 -45
- package/dist/components/toggle/Toggle.stories.tsx +111 -89
- package/dist/components/tooltip/Tooltip.stories.tsx +160 -144
- package/dist/icons/Icons.stories.tsx +2 -2
- package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +287 -237
- package/dist/icons/alert-icon/AlertIcon.stories.tsx +290 -248
- package/dist/icons/all-icons.tsx +97 -81
- package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +312 -270
- package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +294 -244
- package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +309 -279
- package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +294 -258
- package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +289 -255
- package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +288 -256
- package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +322 -288
- package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +340 -296
- package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +197 -177
- package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +390 -328
- package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +313 -277
- package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +367 -309
- package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +356 -308
- package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +280 -234
- package/dist/icons/camera-icon/CameraIcon.stories.tsx +370 -326
- package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +300 -256
- package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +298 -262
- package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +294 -260
- package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +291 -259
- package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +286 -256
- package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +282 -256
- package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +292 -256
- package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +338 -290
- package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +167 -148
- package/dist/icons/coin-icon/CoinIcon.stories.tsx +342 -296
- package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +342 -296
- package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +280 -238
- package/dist/icons/command-icon/CommandIcon.stories.tsx +328 -280
- package/dist/icons/copy-icon/CopyIcon.stories.tsx +294 -256
- package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +285 -235
- package/dist/icons/cross-icon/CrossIcon.stories.tsx +308 -266
- package/dist/icons/download-icon/DownloadIcon.stories.tsx +271 -231
- package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +330 -278
- package/dist/icons/email-icon/EmailIcon.stories.tsx +303 -257
- package/dist/icons/expand-icon/ExpandIcon.stories.tsx +324 -286
- package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +317 -271
- package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +320 -272
- package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +322 -280
- package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +315 -277
- package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +199 -177
- package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +304 -264
- package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +311 -277
- package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +327 -287
- package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +314 -278
- package/dist/icons/globe-icon/GlobeIcon.stories.tsx +113 -98
- package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +274 -226
- package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +349 -303
- package/dist/icons/head-icon/HeadIcon.stories.tsx +286 -246
- package/dist/icons/heart-icon/HeartIcon.stories.tsx +312 -268
- package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +246 -210
- package/dist/icons/image-icon/ImageIcon.stories.tsx +330 -284
- package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +326 -282
- package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +330 -294
- package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +288 -234
- package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +386 -330
- package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +305 -263
- package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +295 -259
- package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +296 -256
- package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +322 -282
- package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +399 -359
- package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +314 -272
- package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +238 -206
- package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +322 -276
- package/dist/icons/message-icon/MessageIcon.stories.tsx +192 -170
- package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +348 -304
- package/dist/icons/moon-icon/MoonIcon.stories.tsx +191 -167
- package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +380 -326
- package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +345 -291
- package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +310 -266
- package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +311 -271
- package/dist/icons/notes-icon/NotesIcon.stories.tsx +311 -271
- package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +309 -271
- package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +248 -210
- package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +310 -262
- package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +274 -236
- package/dist/icons/pause-icon/PauseIcon.stories.tsx +324 -280
- package/dist/icons/pencil-icon/PencilIcon.stories.tsx +323 -281
- package/dist/icons/phone-icon/PhoneIcon.stories.tsx +288 -240
- package/dist/icons/plus-icon/PlusIcon.stories.tsx +315 -273
- package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +278 -234
- package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +161 -151
- package/dist/icons/search-icon/SearchIcon.stories.tsx +324 -284
- package/dist/icons/setting-icon/SettingIcon.stories.tsx +306 -264
- package/dist/icons/share-icon/ShareIcon.stories.tsx +314 -272
- package/dist/icons/shield-icon/ShieldIcon.stories.tsx +281 -235
- package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +309 -250
- package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +317 -279
- package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +315 -279
- package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +299 -253
- package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +185 -169
- package/dist/icons/spinner-gradient-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +192 -168
- package/dist/icons/spinner-solid-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +212 -178
- package/dist/icons/spinner-solid-neutral-icon/index.tsx +1 -1
- package/dist/icons/star-icon/StarIcon.stories.tsx +290 -244
- package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +286 -234
- package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +272 -230
- package/dist/icons/sun-icon/SunIcon.stories.tsx +262 -226
- package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +321 -279
- package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +332 -282
- package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +394 -342
- package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +338 -290
- package/dist/icons/tick-icon/TickIcon.stories.tsx +364 -315
- package/dist/icons/trash-icon/TrashIcon.stories.tsx +293 -253
- package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +396 -338
- package/dist/icons/upload-icon/UploadIcon.stories.tsx +291 -247
- package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +309 -271
- package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +336 -290
- package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +382 -334
- package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +349 -305
- package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +327 -295
- package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +336 -296
- package/dist/icons/warning-icon/WarningIcon.stories.tsx +314 -274
- package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +311 -261
- package/dist/index.cjs +84 -84
- package/dist/index.js +84 -84
- package/dist/styles/aural-all-theme.css +1222 -0
- package/dist/styles/{aural-theme.css → aural-dark-theme.css} +15 -3
- package/dist/styles/aural-light-theme.css +1047 -0
- package/package.json +1 -1
|
@@ -299,7 +299,7 @@ export const AtomicComponents: Story = {
|
|
|
299
299
|
|
|
300
300
|
<Input.Wrapper>
|
|
301
301
|
<Input.StartIcon>
|
|
302
|
-
<AlertIcon className="h-4 w-4
|
|
302
|
+
<AlertIcon className="text-fm-secondary h-4 w-4" />
|
|
303
303
|
</Input.StartIcon>
|
|
304
304
|
|
|
305
305
|
<Input.Base
|
|
@@ -387,7 +387,7 @@ export const InteractiveExample: Story = {
|
|
|
387
387
|
fullWidth
|
|
388
388
|
/>
|
|
389
389
|
|
|
390
|
-
<div className="text-
|
|
390
|
+
<div className="text-fm-secondary text-sm">
|
|
391
391
|
Email: {email || "(empty)"}
|
|
392
392
|
<br />
|
|
393
393
|
Password: {"*".repeat(password.length) || "(empty)"}
|
|
@@ -87,7 +87,7 @@ export const WithInput: Story = {
|
|
|
87
87
|
<input
|
|
88
88
|
id="example-input"
|
|
89
89
|
type="text"
|
|
90
|
-
className="w-full rounded-md border
|
|
90
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
91
91
|
placeholder="Enter text here"
|
|
92
92
|
disabled={args.disabled}
|
|
93
93
|
required={args.required}
|
|
@@ -109,7 +109,7 @@ export const LabelExamples: Story = {
|
|
|
109
109
|
<input
|
|
110
110
|
id="username"
|
|
111
111
|
type="text"
|
|
112
|
-
className="w-full rounded-md border
|
|
112
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
113
113
|
placeholder="Enter username"
|
|
114
114
|
/>
|
|
115
115
|
</div>
|
|
@@ -121,7 +121,7 @@ export const LabelExamples: Story = {
|
|
|
121
121
|
<input
|
|
122
122
|
id="email"
|
|
123
123
|
type="email"
|
|
124
|
-
className="w-full rounded-md border
|
|
124
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
125
125
|
placeholder="Enter email"
|
|
126
126
|
required
|
|
127
127
|
/>
|
|
@@ -134,7 +134,7 @@ export const LabelExamples: Story = {
|
|
|
134
134
|
<input
|
|
135
135
|
id="disabled-field"
|
|
136
136
|
type="text"
|
|
137
|
-
className="w-full rounded-md border
|
|
137
|
+
className="border-fm-divider-secondary bg-fm-surface-secondary text-fm-tertiary w-full rounded-md border p-2"
|
|
138
138
|
placeholder="Disabled"
|
|
139
139
|
disabled
|
|
140
140
|
/>
|
|
@@ -146,7 +146,7 @@ export const LabelExamples: Story = {
|
|
|
146
146
|
// Example showing form layout
|
|
147
147
|
export const FormLayout: Story = {
|
|
148
148
|
render: () => (
|
|
149
|
-
<div className="mx-auto max-w-md rounded-xl
|
|
149
|
+
<div className="bg-fm-surface-secondary mx-auto max-w-md rounded-xl p-4 shadow-md">
|
|
150
150
|
<form className="space-y-4">
|
|
151
151
|
<h2 className="mb-4 text-xl font-semibold">Contact Information</h2>
|
|
152
152
|
|
|
@@ -157,7 +157,7 @@ export const FormLayout: Story = {
|
|
|
157
157
|
<input
|
|
158
158
|
id="form-name"
|
|
159
159
|
type="text"
|
|
160
|
-
className="w-full rounded-md border
|
|
160
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
161
161
|
placeholder="John Doe"
|
|
162
162
|
required
|
|
163
163
|
/>
|
|
@@ -170,7 +170,7 @@ export const FormLayout: Story = {
|
|
|
170
170
|
<input
|
|
171
171
|
id="form-email"
|
|
172
172
|
type="email"
|
|
173
|
-
className="w-full rounded-md border
|
|
173
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
174
174
|
placeholder="john@example.com"
|
|
175
175
|
required
|
|
176
176
|
/>
|
|
@@ -181,7 +181,7 @@ export const FormLayout: Story = {
|
|
|
181
181
|
<input
|
|
182
182
|
id="form-phone"
|
|
183
183
|
type="tel"
|
|
184
|
-
className="w-full rounded-md border
|
|
184
|
+
className="border-fm-divider-secondary w-full rounded-md border p-2"
|
|
185
185
|
placeholder="+1 (555) 123-4567"
|
|
186
186
|
/>
|
|
187
187
|
</div>
|
|
@@ -190,14 +190,14 @@ export const FormLayout: Story = {
|
|
|
190
190
|
<Label htmlFor="form-message">Message</Label>
|
|
191
191
|
<textarea
|
|
192
192
|
id="form-message"
|
|
193
|
-
className="h-32 w-full rounded-md border
|
|
193
|
+
className="border-fm-divider-secondary h-32 w-full rounded-md border p-2"
|
|
194
194
|
placeholder="Your message here..."
|
|
195
195
|
/>
|
|
196
196
|
</div>
|
|
197
197
|
|
|
198
198
|
<button
|
|
199
199
|
type="submit"
|
|
200
|
-
className="
|
|
200
|
+
className="bg-fm-surface-info text-fm-surface-primary rounded-md px-4 py-2 transition-colors hover:bg-blue-600"
|
|
201
201
|
>
|
|
202
202
|
Submit
|
|
203
203
|
</button>
|
|
@@ -188,7 +188,7 @@ export const BasicList: Story = {
|
|
|
188
188
|
},
|
|
189
189
|
render: (args) => (
|
|
190
190
|
<div className="mx-auto max-w-md p-8">
|
|
191
|
-
<h3 className="mb-4 text-lg font-medium
|
|
191
|
+
<h3 className="text-fm-primary mb-4 text-lg font-medium">Basic List</h3>
|
|
192
192
|
<List {...args} className="backdrop-blur-none">
|
|
193
193
|
<ListItem>
|
|
194
194
|
<FileChartIcon />
|
|
@@ -223,7 +223,7 @@ export const BasicList: Story = {
|
|
|
223
223
|
export const GroupedList: Story = {
|
|
224
224
|
render: () => (
|
|
225
225
|
<div className="mx-auto max-w-md p-8">
|
|
226
|
-
<h3 className="mb-4 text-lg font-medium
|
|
226
|
+
<h3 className="text-fm-primary mb-4 text-lg font-medium">
|
|
227
227
|
Grouped List with Labels
|
|
228
228
|
</h3>
|
|
229
229
|
<List>
|
|
@@ -307,14 +307,14 @@ export const SelectionLists: Story = {
|
|
|
307
307
|
|
|
308
308
|
return (
|
|
309
309
|
<div className="space-y-8 p-8">
|
|
310
|
-
<h3 className="text-center text-lg font-medium
|
|
310
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
311
311
|
Selection Lists
|
|
312
312
|
</h3>
|
|
313
313
|
|
|
314
314
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
315
315
|
{/* Checkbox List */}
|
|
316
316
|
<div className="space-y-4">
|
|
317
|
-
<h4 className="text-sm font-medium
|
|
317
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
318
318
|
Multi-Select (Checkbox)
|
|
319
319
|
</h4>
|
|
320
320
|
<List size="default">
|
|
@@ -359,8 +359,8 @@ export const SelectionLists: Story = {
|
|
|
359
359
|
</List>
|
|
360
360
|
|
|
361
361
|
{checkedItems.length > 0 && (
|
|
362
|
-
<div className="rounded-lg border
|
|
363
|
-
<p className="text-
|
|
362
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-3">
|
|
363
|
+
<p className="text-fm-secondary text-xs">
|
|
364
364
|
Selected: {checkedItems.length} feature
|
|
365
365
|
{checkedItems.length !== 1 ? "s" : ""}
|
|
366
366
|
</p>
|
|
@@ -370,7 +370,7 @@ export const SelectionLists: Story = {
|
|
|
370
370
|
|
|
371
371
|
{/* Radio List */}
|
|
372
372
|
<div className="space-y-4">
|
|
373
|
-
<h4 className="text-sm font-medium
|
|
373
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
374
374
|
Single Select (Radio)
|
|
375
375
|
</h4>
|
|
376
376
|
<List size="default">
|
|
@@ -395,8 +395,8 @@ export const SelectionLists: Story = {
|
|
|
395
395
|
</ListRadioGroup>
|
|
396
396
|
</List>
|
|
397
397
|
|
|
398
|
-
<div className="rounded-lg border
|
|
399
|
-
<p className="text-
|
|
398
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-3">
|
|
399
|
+
<p className="text-fm-secondary text-xs">
|
|
400
400
|
Selected:{" "}
|
|
401
401
|
{radioValue === "option1"
|
|
402
402
|
? "Light Theme"
|
|
@@ -426,14 +426,14 @@ export const SelectionLists: Story = {
|
|
|
426
426
|
export const ListVariants: Story = {
|
|
427
427
|
render: () => (
|
|
428
428
|
<div className="space-y-8 p-8">
|
|
429
|
-
<h3 className="text-center text-lg font-medium
|
|
429
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
430
430
|
List Variants
|
|
431
431
|
</h3>
|
|
432
432
|
|
|
433
433
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-3">
|
|
434
434
|
{/* Default Variant */}
|
|
435
435
|
<div className="space-y-4">
|
|
436
|
-
<h4 className="text-sm font-medium
|
|
436
|
+
<h4 className="text-fm-secondary text-sm font-medium">Default</h4>
|
|
437
437
|
<List variant="default" size="default">
|
|
438
438
|
<ListItem>
|
|
439
439
|
<FileChartIcon />
|
|
@@ -452,7 +452,7 @@ export const ListVariants: Story = {
|
|
|
452
452
|
|
|
453
453
|
{/* Elevated Variant */}
|
|
454
454
|
<div className="space-y-4">
|
|
455
|
-
<h4 className="text-sm font-medium
|
|
455
|
+
<h4 className="text-fm-secondary text-sm font-medium">Elevated</h4>
|
|
456
456
|
<List variant="elevated" size="default">
|
|
457
457
|
<ListItem>
|
|
458
458
|
<FeatureShineIcon />
|
|
@@ -471,7 +471,7 @@ export const ListVariants: Story = {
|
|
|
471
471
|
|
|
472
472
|
{/* Flat Variant */}
|
|
473
473
|
<div className="space-y-4">
|
|
474
|
-
<h4 className="text-sm font-medium
|
|
474
|
+
<h4 className="text-fm-secondary text-sm font-medium">Flat</h4>
|
|
475
475
|
<List variant="flat" size="default">
|
|
476
476
|
<ListItem>
|
|
477
477
|
<MaintenanceIcon />
|
|
@@ -504,12 +504,14 @@ export const ListVariants: Story = {
|
|
|
504
504
|
export const ListSizes: Story = {
|
|
505
505
|
render: () => (
|
|
506
506
|
<div className="space-y-8 p-8">
|
|
507
|
-
<h3 className="text-center text-lg font-medium
|
|
507
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
508
|
+
List Sizes
|
|
509
|
+
</h3>
|
|
508
510
|
|
|
509
511
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2 xl:grid-cols-4">
|
|
510
512
|
{/* Small */}
|
|
511
513
|
<div className="space-y-4">
|
|
512
|
-
<h4 className="text-sm font-medium
|
|
514
|
+
<h4 className="text-fm-secondary text-sm font-medium">Small</h4>
|
|
513
515
|
<List size="sm">
|
|
514
516
|
<ListItem size="sm">
|
|
515
517
|
<FileChartIcon />
|
|
@@ -524,7 +526,7 @@ export const ListSizes: Story = {
|
|
|
524
526
|
|
|
525
527
|
{/* Default */}
|
|
526
528
|
<div className="space-y-4">
|
|
527
|
-
<h4 className="text-sm font-medium
|
|
529
|
+
<h4 className="text-fm-secondary text-sm font-medium">Default</h4>
|
|
528
530
|
<List size="default">
|
|
529
531
|
<ListItem size="default">
|
|
530
532
|
<MagicBookIcon />
|
|
@@ -539,7 +541,7 @@ export const ListSizes: Story = {
|
|
|
539
541
|
|
|
540
542
|
{/* Large */}
|
|
541
543
|
<div className="space-y-4">
|
|
542
|
-
<h4 className="text-sm font-medium
|
|
544
|
+
<h4 className="text-fm-secondary text-sm font-medium">Large</h4>
|
|
543
545
|
<List size="lg">
|
|
544
546
|
<ListItem size="lg">
|
|
545
547
|
<BubbleSparkleIcon />
|
|
@@ -554,7 +556,7 @@ export const ListSizes: Story = {
|
|
|
554
556
|
|
|
555
557
|
{/* Extra Large */}
|
|
556
558
|
<div className="space-y-4">
|
|
557
|
-
<h4 className="text-sm font-medium
|
|
559
|
+
<h4 className="text-fm-secondary text-sm font-medium">Extra Large</h4>
|
|
558
560
|
<List size="xl">
|
|
559
561
|
<ListItem size="lg">
|
|
560
562
|
<MaintenanceIcon />
|
|
@@ -583,14 +585,14 @@ export const ListSizes: Story = {
|
|
|
583
585
|
export const BorderVariants: Story = {
|
|
584
586
|
render: () => (
|
|
585
587
|
<div className="space-y-8 p-8">
|
|
586
|
-
<h3 className="text-center text-lg font-medium
|
|
588
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
587
589
|
Border Variants
|
|
588
590
|
</h3>
|
|
589
591
|
|
|
590
592
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-3 xl:grid-cols-5">
|
|
591
593
|
{/* Default */}
|
|
592
594
|
<div className="space-y-4">
|
|
593
|
-
<h4 className="text-sm font-medium
|
|
595
|
+
<h4 className="text-fm-secondary text-sm font-medium">Default</h4>
|
|
594
596
|
<List borderVariant="default">
|
|
595
597
|
<ListItem>
|
|
596
598
|
<FileChartIcon />
|
|
@@ -605,7 +607,7 @@ export const BorderVariants: Story = {
|
|
|
605
607
|
|
|
606
608
|
{/* Success */}
|
|
607
609
|
<div className="space-y-4">
|
|
608
|
-
<h4 className="text-sm font-medium
|
|
610
|
+
<h4 className="text-fm-secondary text-sm font-medium">Success</h4>
|
|
609
611
|
<List borderVariant="success">
|
|
610
612
|
<ListItem>
|
|
611
613
|
<BubbleCheckIcon />
|
|
@@ -620,7 +622,7 @@ export const BorderVariants: Story = {
|
|
|
620
622
|
|
|
621
623
|
{/* Error */}
|
|
622
624
|
<div className="space-y-4">
|
|
623
|
-
<h4 className="text-sm font-medium
|
|
625
|
+
<h4 className="text-fm-secondary text-sm font-medium">Error</h4>
|
|
624
626
|
<List borderVariant="error">
|
|
625
627
|
<ListItem>
|
|
626
628
|
<TrashIcon />
|
|
@@ -635,7 +637,7 @@ export const BorderVariants: Story = {
|
|
|
635
637
|
|
|
636
638
|
{/* Warning */}
|
|
637
639
|
<div className="space-y-4">
|
|
638
|
-
<h4 className="text-sm font-medium
|
|
640
|
+
<h4 className="text-fm-secondary text-sm font-medium">Warning</h4>
|
|
639
641
|
<List borderVariant="warning">
|
|
640
642
|
<ListItem>
|
|
641
643
|
<LightBulbSimpleIcon />
|
|
@@ -650,7 +652,7 @@ export const BorderVariants: Story = {
|
|
|
650
652
|
|
|
651
653
|
{/* Info */}
|
|
652
654
|
<div className="space-y-4">
|
|
653
|
-
<h4 className="text-sm font-medium
|
|
655
|
+
<h4 className="text-fm-secondary text-sm font-medium">Info</h4>
|
|
654
656
|
<List borderVariant="info">
|
|
655
657
|
<ListItem>
|
|
656
658
|
<FeatureShineIcon />
|
|
@@ -666,7 +668,9 @@ export const BorderVariants: Story = {
|
|
|
666
668
|
|
|
667
669
|
{/* No Border */}
|
|
668
670
|
<div className="mx-auto max-w-md">
|
|
669
|
-
<h4 className="mb-4 text-sm font-medium
|
|
671
|
+
<h4 className="text-fm-secondary mb-4 text-sm font-medium">
|
|
672
|
+
No Border
|
|
673
|
+
</h4>
|
|
670
674
|
<List showBorder={false}>
|
|
671
675
|
<ListItem>
|
|
672
676
|
<SearchIcon />
|
|
@@ -694,14 +698,16 @@ export const BorderVariants: Story = {
|
|
|
694
698
|
export const CustomStyling: Story = {
|
|
695
699
|
render: () => (
|
|
696
700
|
<div className="space-y-8 p-8">
|
|
697
|
-
<h3 className="text-center text-lg font-medium
|
|
701
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
698
702
|
Custom Styling
|
|
699
703
|
</h3>
|
|
700
704
|
|
|
701
705
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
702
706
|
{/* Custom Classes */}
|
|
703
707
|
<div className="space-y-4">
|
|
704
|
-
<h4 className="text-sm font-medium
|
|
708
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
709
|
+
Custom Classes
|
|
710
|
+
</h4>
|
|
705
711
|
<List
|
|
706
712
|
className="border-purple-500/30 bg-purple-900/10"
|
|
707
713
|
classes={{
|
|
@@ -740,19 +746,21 @@ export const CustomStyling: Story = {
|
|
|
740
746
|
|
|
741
747
|
{/* Complex Layout */}
|
|
742
748
|
<div className="space-y-4">
|
|
743
|
-
<h4 className="text-sm font-medium
|
|
749
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
750
|
+
Complex Layout
|
|
751
|
+
</h4>
|
|
744
752
|
<List variant="elevated" size="lg">
|
|
745
753
|
<ListLabel size="lg">Premium Features</ListLabel>
|
|
746
754
|
<ListItem size="lg">
|
|
747
755
|
<div className="flex items-center gap-3">
|
|
748
756
|
<div className="rounded-full bg-green-500/20 p-2">
|
|
749
|
-
<TickIcon className="size-4
|
|
757
|
+
<TickIcon className="text-fm-icon-positive size-4" />
|
|
750
758
|
</div>
|
|
751
759
|
<div className="flex-1">
|
|
752
|
-
<div className="font-medium
|
|
760
|
+
<div className="text-fm-primary font-medium">
|
|
753
761
|
Advanced Analytics
|
|
754
762
|
</div>
|
|
755
|
-
<div className="text-
|
|
763
|
+
<div className="text-fm-secondary text-xs">
|
|
756
764
|
Deep insights and reporting
|
|
757
765
|
</div>
|
|
758
766
|
</div>
|
|
@@ -762,11 +770,13 @@ export const CustomStyling: Story = {
|
|
|
762
770
|
<ListItem size="lg">
|
|
763
771
|
<div className="flex items-center gap-3">
|
|
764
772
|
<div className="rounded-full bg-blue-500/20 p-2">
|
|
765
|
-
<FeatureShineIcon className="size-4
|
|
773
|
+
<FeatureShineIcon className="text-fm-icon-info size-4" />
|
|
766
774
|
</div>
|
|
767
775
|
<div className="flex-1">
|
|
768
|
-
<div className="font-medium
|
|
769
|
-
|
|
776
|
+
<div className="text-fm-primary font-medium">
|
|
777
|
+
AI Assistant
|
|
778
|
+
</div>
|
|
779
|
+
<div className="text-fm-secondary text-xs">
|
|
770
780
|
Intelligent automation
|
|
771
781
|
</div>
|
|
772
782
|
</div>
|
|
@@ -775,12 +785,12 @@ export const CustomStyling: Story = {
|
|
|
775
785
|
</ListItem>
|
|
776
786
|
<ListItem size="lg" disabled>
|
|
777
787
|
<div className="flex items-center gap-3">
|
|
778
|
-
<div className="rounded-full
|
|
779
|
-
<LightBulbSimpleIcon className="size-4
|
|
788
|
+
<div className="bg-fm-surface-secondary rounded-full p-2">
|
|
789
|
+
<LightBulbSimpleIcon className="text-fm-tertiary size-4" />
|
|
780
790
|
</div>
|
|
781
791
|
<div className="flex-1">
|
|
782
792
|
<div className="font-medium">Custom Workflows</div>
|
|
783
|
-
<div className="text-
|
|
793
|
+
<div className="text-fm-tertiary text-xs">Coming soon</div>
|
|
784
794
|
</div>
|
|
785
795
|
<Badge color="neutral">Soon</Badge>
|
|
786
796
|
</div>
|
|
@@ -823,14 +833,16 @@ export const InteractiveShowcase: Story = {
|
|
|
823
833
|
|
|
824
834
|
return (
|
|
825
835
|
<div className="space-y-8 p-8">
|
|
826
|
-
<h3 className="text-center text-lg font-medium
|
|
836
|
+
<h3 className="text-fm-primary text-center text-lg font-medium">
|
|
827
837
|
Interactive Showcase
|
|
828
838
|
</h3>
|
|
829
839
|
|
|
830
840
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-3">
|
|
831
841
|
{/* Navigation List */}
|
|
832
842
|
<div className="space-y-4">
|
|
833
|
-
<h4 className="text-sm font-medium
|
|
843
|
+
<h4 className="text-fm-secondary text-sm font-medium">
|
|
844
|
+
Navigation
|
|
845
|
+
</h4>
|
|
834
846
|
<List>
|
|
835
847
|
<ListLabel>Main Menu</ListLabel>
|
|
836
848
|
<ListItem
|
|
@@ -870,7 +882,7 @@ export const InteractiveShowcase: Story = {
|
|
|
870
882
|
|
|
871
883
|
{/* Feature Selection */}
|
|
872
884
|
<div className="space-y-4">
|
|
873
|
-
<h4 className="text-sm font-medium
|
|
885
|
+
<h4 className="text-fm-secondary text-sm font-medium">Features</h4>
|
|
874
886
|
<List borderVariant="success">
|
|
875
887
|
<ListLabel>Enable Features</ListLabel>
|
|
876
888
|
<ListCheckboxItem
|
|
@@ -905,7 +917,7 @@ export const InteractiveShowcase: Story = {
|
|
|
905
917
|
|
|
906
918
|
{/* Theme Selection */}
|
|
907
919
|
<div className="space-y-4">
|
|
908
|
-
<h4 className="text-sm font-medium
|
|
920
|
+
<h4 className="text-fm-secondary text-sm font-medium">Theme</h4>
|
|
909
921
|
<List borderVariant="info">
|
|
910
922
|
<ListLabel>Appearance</ListLabel>
|
|
911
923
|
<ListRadioGroup value={theme}>
|
|
@@ -927,9 +939,11 @@ export const InteractiveShowcase: Story = {
|
|
|
927
939
|
</div>
|
|
928
940
|
|
|
929
941
|
{/* Status Display */}
|
|
930
|
-
<div className="mx-auto max-w-2xl rounded-lg border
|
|
931
|
-
<h4 className="mb-3 text-sm font-medium
|
|
932
|
-
|
|
942
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary mx-auto max-w-2xl rounded-lg border p-4">
|
|
943
|
+
<h4 className="text-fm-primary mb-3 text-sm font-medium">
|
|
944
|
+
Current State
|
|
945
|
+
</h4>
|
|
946
|
+
<div className="text-fm-secondary grid grid-cols-1 gap-3 text-xs md:grid-cols-3">
|
|
933
947
|
<div>
|
|
934
948
|
<strong>Selected Page:</strong>{" "}
|
|
935
949
|
{selectedItems.includes("item1")
|