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
|
@@ -200,7 +200,9 @@ export const Default: Story = {
|
|
|
200
200
|
render: (args) => (
|
|
201
201
|
<div className="w-80 p-8">
|
|
202
202
|
<div className="mb-4">
|
|
203
|
-
<h3 className="mb-2 text-lg font-medium
|
|
203
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
204
|
+
Default Slider
|
|
205
|
+
</h3>
|
|
204
206
|
<p className="text-fm-secondary text-sm">
|
|
205
207
|
Basic slider with default styling and value labels
|
|
206
208
|
</p>
|
|
@@ -215,7 +217,9 @@ export const LabelVariants: Story = {
|
|
|
215
217
|
render: () => (
|
|
216
218
|
<div className="w-80 space-y-6 p-8">
|
|
217
219
|
<div className="mb-6">
|
|
218
|
-
<h3 className="mb-2 text-lg font-medium
|
|
220
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
221
|
+
Label Options
|
|
222
|
+
</h3>
|
|
219
223
|
<p className="text-fm-secondary text-sm">
|
|
220
224
|
Different ways to display thumb labels
|
|
221
225
|
</p>
|
|
@@ -223,14 +227,14 @@ export const LabelVariants: Story = {
|
|
|
223
227
|
|
|
224
228
|
<div className="space-y-6">
|
|
225
229
|
<div>
|
|
226
|
-
<label className="mb-2 block text-sm font-medium
|
|
230
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
227
231
|
With Value Labels (Default)
|
|
228
232
|
</label>
|
|
229
233
|
<Slider defaultValue={[60]} variant="primary" showLabel={true} />
|
|
230
234
|
</div>
|
|
231
235
|
|
|
232
236
|
<div>
|
|
233
|
-
<label className="mb-2 block text-sm font-medium
|
|
237
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
234
238
|
Custom Label Text
|
|
235
239
|
</label>
|
|
236
240
|
<Slider
|
|
@@ -242,14 +246,14 @@ export const LabelVariants: Story = {
|
|
|
242
246
|
</div>
|
|
243
247
|
|
|
244
248
|
<div>
|
|
245
|
-
<label className="mb-2 block text-sm font-medium
|
|
249
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
246
250
|
Without Labels
|
|
247
251
|
</label>
|
|
248
252
|
<Slider defaultValue={[40]} variant="warning" showLabel={false} />
|
|
249
253
|
</div>
|
|
250
254
|
|
|
251
255
|
<div>
|
|
252
|
-
<label className="mb-2 block text-sm font-medium
|
|
256
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
253
257
|
Range with Custom Labels
|
|
254
258
|
</label>
|
|
255
259
|
<Slider
|
|
@@ -269,7 +273,9 @@ export const Variants: Story = {
|
|
|
269
273
|
render: () => (
|
|
270
274
|
<div className="w-80 space-y-6 p-8">
|
|
271
275
|
<div className="mb-6">
|
|
272
|
-
<h3 className="mb-2 text-lg font-medium
|
|
276
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
277
|
+
Slider Variants
|
|
278
|
+
</h3>
|
|
273
279
|
<p className="text-fm-secondary text-sm">
|
|
274
280
|
Different color variants with value labels
|
|
275
281
|
</p>
|
|
@@ -277,42 +283,42 @@ export const Variants: Story = {
|
|
|
277
283
|
|
|
278
284
|
<div className="space-y-4">
|
|
279
285
|
<div>
|
|
280
|
-
<label className="mb-2 block text-sm font-medium
|
|
286
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
281
287
|
Default
|
|
282
288
|
</label>
|
|
283
289
|
<Slider defaultValue={[40]} variant="default" showLabel={true} />
|
|
284
290
|
</div>
|
|
285
291
|
|
|
286
292
|
<div>
|
|
287
|
-
<label className="mb-2 block text-sm font-medium
|
|
293
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
288
294
|
Primary
|
|
289
295
|
</label>
|
|
290
296
|
<Slider defaultValue={[60]} variant="primary" showLabel={true} />
|
|
291
297
|
</div>
|
|
292
298
|
|
|
293
299
|
<div>
|
|
294
|
-
<label className="mb-2 block text-sm font-medium
|
|
300
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
295
301
|
Secondary
|
|
296
302
|
</label>
|
|
297
303
|
<Slider defaultValue={[35]} variant="secondary" showLabel={true} />
|
|
298
304
|
</div>
|
|
299
305
|
|
|
300
306
|
<div>
|
|
301
|
-
<label className="mb-2 block text-sm font-medium
|
|
307
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
302
308
|
Positive
|
|
303
309
|
</label>
|
|
304
310
|
<Slider defaultValue={[80]} variant="positive" showLabel={true} />
|
|
305
311
|
</div>
|
|
306
312
|
|
|
307
313
|
<div>
|
|
308
|
-
<label className="mb-2 block text-sm font-medium
|
|
314
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
309
315
|
Warning
|
|
310
316
|
</label>
|
|
311
317
|
<Slider defaultValue={[25]} variant="warning" showLabel={true} />
|
|
312
318
|
</div>
|
|
313
319
|
|
|
314
320
|
<div>
|
|
315
|
-
<label className="mb-2 block text-sm font-medium
|
|
321
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
316
322
|
Info
|
|
317
323
|
</label>
|
|
318
324
|
<Slider defaultValue={[70]} variant="info" showLabel={true} />
|
|
@@ -327,7 +333,9 @@ export const Sizes: Story = {
|
|
|
327
333
|
render: () => (
|
|
328
334
|
<div className="w-80 space-y-6 p-8">
|
|
329
335
|
<div className="mb-6">
|
|
330
|
-
<h3 className="mb-2 text-lg font-medium
|
|
336
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
337
|
+
Slider Sizes
|
|
338
|
+
</h3>
|
|
331
339
|
<p className="text-fm-secondary text-sm">
|
|
332
340
|
Small, medium, and large size options with labels
|
|
333
341
|
</p>
|
|
@@ -335,7 +343,7 @@ export const Sizes: Story = {
|
|
|
335
343
|
|
|
336
344
|
<div className="space-y-6">
|
|
337
345
|
<div>
|
|
338
|
-
<label className="mb-2 block text-sm font-medium
|
|
346
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
339
347
|
Small (sm)
|
|
340
348
|
</label>
|
|
341
349
|
<Slider
|
|
@@ -347,7 +355,7 @@ export const Sizes: Story = {
|
|
|
347
355
|
</div>
|
|
348
356
|
|
|
349
357
|
<div>
|
|
350
|
-
<label className="mb-2 block text-sm font-medium
|
|
358
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
351
359
|
Medium (md) - Default
|
|
352
360
|
</label>
|
|
353
361
|
<Slider
|
|
@@ -359,7 +367,7 @@ export const Sizes: Story = {
|
|
|
359
367
|
</div>
|
|
360
368
|
|
|
361
369
|
<div>
|
|
362
|
-
<label className="mb-2 block text-sm font-medium
|
|
370
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
363
371
|
Large (lg)
|
|
364
372
|
</label>
|
|
365
373
|
<Slider
|
|
@@ -379,7 +387,9 @@ export const AlignThumb: Story = {
|
|
|
379
387
|
render: () => (
|
|
380
388
|
<div className="w-80 space-y-6 p-8">
|
|
381
389
|
<div className="mb-6">
|
|
382
|
-
<h3 className="mb-2 text-lg font-medium
|
|
390
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
391
|
+
Align Thumb
|
|
392
|
+
</h3>
|
|
383
393
|
<p className="text-fm-secondary text-sm">
|
|
384
394
|
Compare default, centered and top thumb alignment
|
|
385
395
|
</p>
|
|
@@ -387,7 +397,7 @@ export const AlignThumb: Story = {
|
|
|
387
397
|
|
|
388
398
|
<div className="space-y-6">
|
|
389
399
|
<div>
|
|
390
|
-
<label className="mb-2 block text-sm font-medium
|
|
400
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
391
401
|
Default alignment
|
|
392
402
|
</label>
|
|
393
403
|
<Slider
|
|
@@ -399,7 +409,7 @@ export const AlignThumb: Story = {
|
|
|
399
409
|
</div>
|
|
400
410
|
|
|
401
411
|
<div>
|
|
402
|
-
<label className="mb-2 block text-sm font-medium
|
|
412
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
403
413
|
Centered Thumb
|
|
404
414
|
</label>
|
|
405
415
|
<Slider
|
|
@@ -411,7 +421,7 @@ export const AlignThumb: Story = {
|
|
|
411
421
|
</div>
|
|
412
422
|
|
|
413
423
|
<div>
|
|
414
|
-
<label className="mb-5 block text-sm font-medium
|
|
424
|
+
<label className="text-fm-primary mb-5 block text-sm font-medium">
|
|
415
425
|
Top Thumbs
|
|
416
426
|
</label>
|
|
417
427
|
<Slider
|
|
@@ -447,7 +457,9 @@ export const CustomLabels: Story = {
|
|
|
447
457
|
return (
|
|
448
458
|
<div className="w-80 space-y-6 p-8">
|
|
449
459
|
<div className="mb-6">
|
|
450
|
-
<h3 className="mb-2 text-lg font-medium
|
|
460
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
461
|
+
Custom Labels
|
|
462
|
+
</h3>
|
|
451
463
|
<p className="text-fm-secondary text-sm">
|
|
452
464
|
Sliders with custom label text instead of values
|
|
453
465
|
</p>
|
|
@@ -455,7 +467,7 @@ export const CustomLabels: Story = {
|
|
|
455
467
|
|
|
456
468
|
<div className="space-y-6">
|
|
457
469
|
<div>
|
|
458
|
-
<label className="mb-2 block text-sm font-medium
|
|
470
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
459
471
|
Volume Control
|
|
460
472
|
</label>
|
|
461
473
|
<Slider
|
|
@@ -471,7 +483,7 @@ export const CustomLabels: Story = {
|
|
|
471
483
|
</div>
|
|
472
484
|
|
|
473
485
|
<div>
|
|
474
|
-
<label className="mb-2 block text-sm font-medium
|
|
486
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
475
487
|
Quality Setting
|
|
476
488
|
</label>
|
|
477
489
|
<Slider
|
|
@@ -490,7 +502,7 @@ export const CustomLabels: Story = {
|
|
|
490
502
|
</div>
|
|
491
503
|
|
|
492
504
|
<div>
|
|
493
|
-
<label className="mb-2 block text-sm font-medium
|
|
505
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
494
506
|
Temperature
|
|
495
507
|
</label>
|
|
496
508
|
<Slider
|
|
@@ -505,7 +517,7 @@ export const CustomLabels: Story = {
|
|
|
505
517
|
</div>
|
|
506
518
|
|
|
507
519
|
<div>
|
|
508
|
-
<label className="mb-2 block text-sm font-medium
|
|
520
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
509
521
|
Performance Mode
|
|
510
522
|
</label>
|
|
511
523
|
<Slider
|
|
@@ -533,7 +545,9 @@ export const RangeSlider: Story = {
|
|
|
533
545
|
return (
|
|
534
546
|
<div className="w-80 p-8">
|
|
535
547
|
<div className="mb-6">
|
|
536
|
-
<h3 className="mb-2 text-lg font-medium
|
|
548
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
549
|
+
Range Slider
|
|
550
|
+
</h3>
|
|
537
551
|
<p className="text-fm-secondary">
|
|
538
552
|
Select a range with dual handles and labels
|
|
539
553
|
</p>
|
|
@@ -574,7 +588,9 @@ export const VerticalSlider: Story = {
|
|
|
574
588
|
render: () => (
|
|
575
589
|
<div className="flex items-center justify-center gap-12 p-8">
|
|
576
590
|
<div className="text-center">
|
|
577
|
-
<h4 className="mb-4 text-sm font-medium
|
|
591
|
+
<h4 className="text-fm-primary mb-4 text-sm font-medium">
|
|
592
|
+
With Labels
|
|
593
|
+
</h4>
|
|
578
594
|
<Slider
|
|
579
595
|
orientation="vertical"
|
|
580
596
|
defaultValue={[60]}
|
|
@@ -585,7 +601,9 @@ export const VerticalSlider: Story = {
|
|
|
585
601
|
</div>
|
|
586
602
|
|
|
587
603
|
<div className="text-center">
|
|
588
|
-
<h4 className="mb-4 text-sm font-medium
|
|
604
|
+
<h4 className="text-fm-primary mb-4 text-sm font-medium">
|
|
605
|
+
Without Labels
|
|
606
|
+
</h4>
|
|
589
607
|
<Slider
|
|
590
608
|
orientation="vertical"
|
|
591
609
|
defaultValue={[80]}
|
|
@@ -596,7 +614,9 @@ export const VerticalSlider: Story = {
|
|
|
596
614
|
</div>
|
|
597
615
|
|
|
598
616
|
<div className="text-center">
|
|
599
|
-
<h4 className="mb-4 text-sm font-medium
|
|
617
|
+
<h4 className="text-fm-primary mb-4 text-sm font-medium">
|
|
618
|
+
Custom Label
|
|
619
|
+
</h4>
|
|
600
620
|
<Slider
|
|
601
621
|
orientation="vertical"
|
|
602
622
|
defaultValue={[40]}
|
|
@@ -608,7 +628,7 @@ export const VerticalSlider: Story = {
|
|
|
608
628
|
</div>
|
|
609
629
|
|
|
610
630
|
<div className="text-center">
|
|
611
|
-
<h4 className="mb-4 text-sm font-medium
|
|
631
|
+
<h4 className="text-fm-primary mb-4 text-sm font-medium">Range</h4>
|
|
612
632
|
<Slider
|
|
613
633
|
orientation="vertical"
|
|
614
634
|
defaultValue={[30, 80]}
|
|
@@ -629,7 +649,9 @@ export const CustomStyling: Story = {
|
|
|
629
649
|
render: () => (
|
|
630
650
|
<div className="w-80 space-y-6 p-8">
|
|
631
651
|
<div className="mb-6">
|
|
632
|
-
<h3 className="mb-2 text-lg font-medium
|
|
652
|
+
<h3 className="text-fm-primary mb-2 text-lg font-medium">
|
|
653
|
+
Custom Styling
|
|
654
|
+
</h3>
|
|
633
655
|
<p className="text-fm-secondary text-sm">
|
|
634
656
|
Override default styles with custom classes
|
|
635
657
|
</p>
|
|
@@ -637,7 +659,7 @@ export const CustomStyling: Story = {
|
|
|
637
659
|
|
|
638
660
|
<div className="space-y-6">
|
|
639
661
|
<div>
|
|
640
|
-
<label className="mb-2 block text-sm font-medium
|
|
662
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
641
663
|
Custom Track & Range
|
|
642
664
|
</label>
|
|
643
665
|
<Slider
|
|
@@ -652,7 +674,7 @@ export const CustomStyling: Story = {
|
|
|
652
674
|
</div>
|
|
653
675
|
|
|
654
676
|
<div>
|
|
655
|
-
<label className="mb-2 block text-sm font-medium
|
|
677
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
656
678
|
Custom Thumb Styling
|
|
657
679
|
</label>
|
|
658
680
|
<Slider
|
|
@@ -667,7 +689,7 @@ export const CustomStyling: Story = {
|
|
|
667
689
|
</div>
|
|
668
690
|
|
|
669
691
|
<div>
|
|
670
|
-
<label className="mb-2 block text-sm font-medium
|
|
692
|
+
<label className="text-fm-primary mb-2 block text-sm font-medium">
|
|
671
693
|
Gradient with Custom Root
|
|
672
694
|
</label>
|
|
673
695
|
<Slider
|
|
@@ -716,7 +738,9 @@ export const CompleteShowcase: Story = {
|
|
|
716
738
|
return (
|
|
717
739
|
<div className="w-96 space-y-8 p-8">
|
|
718
740
|
<div className="mb-8">
|
|
719
|
-
<h3 className="mb-2 text-xl font-bold
|
|
741
|
+
<h3 className="text-fm-primary mb-2 text-xl font-bold">
|
|
742
|
+
System Settings
|
|
743
|
+
</h3>
|
|
720
744
|
<p className="text-fm-secondary">
|
|
721
745
|
Comprehensive slider showcase with labels and custom styling
|
|
722
746
|
</p>
|
|
@@ -724,11 +748,11 @@ export const CompleteShowcase: Story = {
|
|
|
724
748
|
|
|
725
749
|
{/* Audio Settings */}
|
|
726
750
|
<div className="space-y-4">
|
|
727
|
-
<h4 className="font-medium
|
|
751
|
+
<h4 className="text-fm-primary font-medium">Audio</h4>
|
|
728
752
|
<div className="space-y-3">
|
|
729
753
|
<div className="flex items-center justify-between">
|
|
730
754
|
<label className="text-fm-secondary text-sm">Volume</label>
|
|
731
|
-
<span className="text-sm font-medium
|
|
755
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
732
756
|
{settings.volume[0]}%
|
|
733
757
|
</span>
|
|
734
758
|
</div>
|
|
@@ -745,12 +769,12 @@ export const CompleteShowcase: Story = {
|
|
|
745
769
|
|
|
746
770
|
{/* Display Settings */}
|
|
747
771
|
<div className="space-y-4">
|
|
748
|
-
<h4 className="font-medium
|
|
772
|
+
<h4 className="text-fm-primary font-medium">Display</h4>
|
|
749
773
|
<div className="space-y-4">
|
|
750
774
|
<div className="space-y-2">
|
|
751
775
|
<div className="flex items-center justify-between">
|
|
752
776
|
<label className="text-fm-secondary text-sm">Brightness</label>
|
|
753
|
-
<span className="text-sm font-medium
|
|
777
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
754
778
|
{settings.brightness[0]}%
|
|
755
779
|
</span>
|
|
756
780
|
</div>
|
|
@@ -766,7 +790,7 @@ export const CompleteShowcase: Story = {
|
|
|
766
790
|
<div className="space-y-2">
|
|
767
791
|
<div className="flex items-center justify-between">
|
|
768
792
|
<label className="text-fm-secondary text-sm">Contrast</label>
|
|
769
|
-
<span className="text-sm font-medium
|
|
793
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
770
794
|
{settings.contrast[0]}%
|
|
771
795
|
</span>
|
|
772
796
|
</div>
|
|
@@ -783,13 +807,13 @@ export const CompleteShowcase: Story = {
|
|
|
783
807
|
|
|
784
808
|
{/* Environment Settings */}
|
|
785
809
|
<div className="space-y-4">
|
|
786
|
-
<h4 className="font-medium
|
|
810
|
+
<h4 className="text-fm-primary font-medium">Environment</h4>
|
|
787
811
|
<div className="space-y-3">
|
|
788
812
|
<div className="flex items-center justify-between">
|
|
789
813
|
<label className="text-fm-secondary text-sm">
|
|
790
814
|
Temperature Range
|
|
791
815
|
</label>
|
|
792
|
-
<span className="text-sm font-medium
|
|
816
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
793
817
|
{settings.temperature[0]}° - {settings.temperature[1]}°C
|
|
794
818
|
</span>
|
|
795
819
|
</div>
|
|
@@ -808,12 +832,12 @@ export const CompleteShowcase: Story = {
|
|
|
808
832
|
|
|
809
833
|
{/* Quality Settings */}
|
|
810
834
|
<div className="space-y-4">
|
|
811
|
-
<h4 className="font-medium
|
|
835
|
+
<h4 className="text-fm-primary font-medium">Performance</h4>
|
|
812
836
|
<div className="space-y-4">
|
|
813
837
|
<div className="space-y-2">
|
|
814
838
|
<div className="flex items-center justify-between">
|
|
815
839
|
<label className="text-fm-secondary text-sm">Quality</label>
|
|
816
|
-
<span className="text-sm font-medium
|
|
840
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
817
841
|
{getQualityLabel(settings.quality[0])}
|
|
818
842
|
</span>
|
|
819
843
|
</div>
|
|
@@ -832,7 +856,7 @@ export const CompleteShowcase: Story = {
|
|
|
832
856
|
<div className="space-y-2">
|
|
833
857
|
<div className="flex items-center justify-between">
|
|
834
858
|
<label className="text-fm-secondary text-sm">Mode</label>
|
|
835
|
-
<span className="text-sm font-medium
|
|
859
|
+
<span className="text-fm-primary text-sm font-medium">
|
|
836
860
|
{getModeLabel(settings.mode[0])}
|
|
837
861
|
</span>
|
|
838
862
|
</div>
|
|
@@ -855,7 +879,7 @@ export const CompleteShowcase: Story = {
|
|
|
855
879
|
|
|
856
880
|
{/* Settings Summary */}
|
|
857
881
|
<div className="bg-fm-surface-secondary/20 mt-8 rounded-lg p-4">
|
|
858
|
-
<h5 className="mb-2 font-medium
|
|
882
|
+
<h5 className="text-fm-primary mb-2 font-medium">Current Settings</h5>
|
|
859
883
|
<div className="text-fm-secondary space-y-1 text-sm">
|
|
860
884
|
<div>Volume: {settings.volume[0]}%</div>
|
|
861
885
|
<div>Brightness: {settings.brightness[0]}%</div>
|
|
@@ -158,14 +158,14 @@ export const ClickableWithRestrictions: Story = {
|
|
|
158
158
|
<button
|
|
159
159
|
onClick={() => setActiveStep(Math.max(0, activeStep - 1))}
|
|
160
160
|
disabled={activeStep === 0}
|
|
161
|
-
className="
|
|
161
|
+
className="bg-fm-surface-tertiary text-fm-primary rounded px-3 py-1 text-sm disabled:opacity-50"
|
|
162
162
|
>
|
|
163
163
|
Previous
|
|
164
164
|
</button>
|
|
165
165
|
<button
|
|
166
166
|
onClick={() => setActiveStep(Math.min(4, activeStep + 1))}
|
|
167
167
|
disabled={activeStep === 4}
|
|
168
|
-
className="
|
|
168
|
+
className="bg-fm-surface-info text-fm-surface-primary rounded px-3 py-1 text-sm disabled:opacity-50"
|
|
169
169
|
>
|
|
170
170
|
Next
|
|
171
171
|
</button>
|
|
@@ -203,9 +203,9 @@ export const ClickableVertical: Story = {
|
|
|
203
203
|
onStepClick={(stepIndex) => setActiveStep(stepIndex)}
|
|
204
204
|
/>
|
|
205
205
|
</div>
|
|
206
|
-
<div className="min-w-[300px] rounded-lg
|
|
207
|
-
<h3 className="mb-2 font-semibold">Step Content</h3>
|
|
208
|
-
<p className="text-
|
|
206
|
+
<div className="bg-fm-surface-secondary min-w-[300px] rounded-lg p-4">
|
|
207
|
+
<h3 className="text-fm-primary mb-2 font-semibold">Step Content</h3>
|
|
208
|
+
<p className="text-fm-secondary text-sm">
|
|
209
209
|
Content for step:{" "}
|
|
210
210
|
{["Setup", "Configure", "Test", "Deploy"][activeStep] ||
|
|
211
211
|
"Completed"}
|
|
@@ -246,11 +246,11 @@ export const ClickableCompound: Story = {
|
|
|
246
246
|
))}
|
|
247
247
|
|
|
248
248
|
<Stepper.Content>
|
|
249
|
-
<div className="min-h-[200px] rounded-lg
|
|
249
|
+
<div className="bg-fm-surface-secondary min-h-[200px] rounded-lg p-6">
|
|
250
250
|
<h3 className="mb-4 text-lg font-semibold">
|
|
251
251
|
{steps[activeStep]} Information
|
|
252
252
|
</h3>
|
|
253
|
-
<p className="mb-6
|
|
253
|
+
<p className="text-fm-secondary mb-6">
|
|
254
254
|
Please fill out your {steps[activeStep].toLowerCase()}{" "}
|
|
255
255
|
information below.
|
|
256
256
|
</p>
|
|
@@ -259,7 +259,7 @@ export const ClickableCompound: Story = {
|
|
|
259
259
|
<button
|
|
260
260
|
onClick={() => setActiveStep(Math.max(0, activeStep - 1))}
|
|
261
261
|
disabled={activeStep === 0}
|
|
262
|
-
className="
|
|
262
|
+
className="bg-fm-surface-tertiary text-fm-primary rounded px-4 py-2 disabled:opacity-50"
|
|
263
263
|
>
|
|
264
264
|
Previous
|
|
265
265
|
</button>
|
|
@@ -268,7 +268,7 @@ export const ClickableCompound: Story = {
|
|
|
268
268
|
setActiveStep(Math.min(steps.length - 1, activeStep + 1))
|
|
269
269
|
}
|
|
270
270
|
disabled={activeStep === steps.length - 1}
|
|
271
|
-
className="
|
|
271
|
+
className="bg-fm-surface-info text-fm-surface-primary rounded px-4 py-2 disabled:opacity-50"
|
|
272
272
|
>
|
|
273
273
|
{activeStep === steps.length - 1 ? "Complete" : "Next"}
|
|
274
274
|
</button>
|
|
@@ -347,7 +347,7 @@ export const ClickableWithKeyboard: Story = {
|
|
|
347
347
|
|
|
348
348
|
return (
|
|
349
349
|
<div className="space-y-4">
|
|
350
|
-
<div className="
|
|
350
|
+
<div className="bg-fm-surface-warning-sec text-fm-warning rounded-lg p-4 text-sm">
|
|
351
351
|
<strong>Keyboard Navigation:</strong>
|
|
352
352
|
<ul className="mt-2 space-y-1">
|
|
353
353
|
<li>• Use Tab to focus on clickable steps</li>
|
|
@@ -505,11 +505,11 @@ export const Interactive: Story = {
|
|
|
505
505
|
/>
|
|
506
506
|
))}
|
|
507
507
|
<Stepper.Content>
|
|
508
|
-
<div className="min-h-[200px] rounded-lg
|
|
508
|
+
<div className="bg-fm-surface-secondary min-h-[200px] rounded-lg p-6">
|
|
509
509
|
<h3 className="mb-4 text-lg font-semibold">
|
|
510
510
|
{steps[activeStep] || "Completed!"}
|
|
511
511
|
</h3>
|
|
512
|
-
<p className="mb-6
|
|
512
|
+
<p className="text-fm-secondary mb-6">
|
|
513
513
|
{activeStep < steps.length
|
|
514
514
|
? `This is the content for ${steps[activeStep]}`
|
|
515
515
|
: "All steps completed successfully!"}
|
|
@@ -519,7 +519,7 @@ export const Interactive: Story = {
|
|
|
519
519
|
<button
|
|
520
520
|
onClick={() => setActiveStep(Math.max(0, activeStep - 1))}
|
|
521
521
|
disabled={activeStep === 0}
|
|
522
|
-
className="
|
|
522
|
+
className="bg-fm-surface-tertiary text-fm-primary rounded px-4 py-2 disabled:opacity-50"
|
|
523
523
|
>
|
|
524
524
|
Previous
|
|
525
525
|
</button>
|
|
@@ -528,7 +528,7 @@ export const Interactive: Story = {
|
|
|
528
528
|
setActiveStep(Math.min(steps.length, activeStep + 1))
|
|
529
529
|
}
|
|
530
530
|
disabled={activeStep >= steps.length}
|
|
531
|
-
className="
|
|
531
|
+
className="bg-fm-surface-info text-fm-surface-primary rounded px-4 py-2 disabled:opacity-50"
|
|
532
532
|
>
|
|
533
533
|
{activeStep === steps.length - 1 ? "Complete" : "Next"}
|
|
534
534
|
</button>
|
|
@@ -553,7 +553,7 @@ export const CustomComposition: Story = {
|
|
|
553
553
|
<Stepper.Step index={2} label="Finish" isLast />
|
|
554
554
|
|
|
555
555
|
<Stepper.Content>
|
|
556
|
-
<div className="rounded-lg
|
|
556
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
557
557
|
<p>Custom content area with flexible composition</p>
|
|
558
558
|
</div>
|
|
559
559
|
</Stepper.Content>
|
|
@@ -630,7 +630,7 @@ export const VerticalWithContent: Story = {
|
|
|
630
630
|
className="h-[800px]"
|
|
631
631
|
>
|
|
632
632
|
<Stepper.Content>
|
|
633
|
-
<div className="
|
|
633
|
+
<div className="bg-fm-surface-secondary text-fm-secondary rounded-lg p-6">
|
|
634
634
|
<h3 className="mb-4 text-lg font-semibold">
|
|
635
635
|
Settings Configuration
|
|
636
636
|
</h3>
|
|
@@ -92,15 +92,15 @@ export const SizeVariants: Story = {
|
|
|
92
92
|
<div className="flex flex-col items-center space-y-4">
|
|
93
93
|
<div className="flex items-center space-x-4">
|
|
94
94
|
<Switch size="sm" checked={true} />
|
|
95
|
-
<span className="text-
|
|
95
|
+
<span className="text-fm-secondary text-sm">Small (sm)</span>
|
|
96
96
|
</div>
|
|
97
97
|
<div className="flex items-center space-x-4">
|
|
98
98
|
<Switch size="md" checked={true} />
|
|
99
|
-
<span className="text-
|
|
99
|
+
<span className="text-fm-secondary text-sm">Medium (md)</span>
|
|
100
100
|
</div>
|
|
101
101
|
<div className="flex items-center space-x-4">
|
|
102
102
|
<Switch size="lg" checked={true} />
|
|
103
|
-
<span className="text-
|
|
103
|
+
<span className="text-fm-secondary text-sm">Large (lg)</span>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
),
|
|
@@ -112,7 +112,7 @@ export const WithCustomClassNames: Story = {
|
|
|
112
112
|
classNames: {
|
|
113
113
|
root: "border-2 border-blue-500",
|
|
114
114
|
onIcon: "text-green-600 font-bold",
|
|
115
|
-
offIcon: "text-
|
|
115
|
+
offIcon: "text-fm-secondary",
|
|
116
116
|
thumb: "bg-blue-500 shadow-xl",
|
|
117
117
|
},
|
|
118
118
|
},
|
|
@@ -187,23 +187,23 @@ export const WithCustomTextVariants: Story = {
|
|
|
187
187
|
<div className="flex flex-col items-center space-y-4">
|
|
188
188
|
<div className="flex items-center space-x-4">
|
|
189
189
|
<Switch checked={false} switchOnText="ON" switchOffText="OFF" />
|
|
190
|
-
<span className="text-
|
|
190
|
+
<span className="text-fm-secondary text-sm">Default (ON/OFF)</span>
|
|
191
191
|
</div>
|
|
192
192
|
<div className="flex items-center space-x-4">
|
|
193
193
|
<Switch checked={false} switchOnText="YES" switchOffText="NO" />
|
|
194
|
-
<span className="text-
|
|
194
|
+
<span className="text-fm-secondary text-sm">Yes/No</span>
|
|
195
195
|
</div>
|
|
196
196
|
<div className="flex items-center space-x-4">
|
|
197
197
|
<Switch checked={false} switchOnText="1" switchOffText="0" />
|
|
198
|
-
<span className="text-
|
|
198
|
+
<span className="text-fm-secondary text-sm">Binary (1/0)</span>
|
|
199
199
|
</div>
|
|
200
200
|
<div className="flex items-center space-x-4">
|
|
201
201
|
<Switch checked={false} switchOnText="✓" switchOffText="✗" />
|
|
202
|
-
<span className="text-
|
|
202
|
+
<span className="text-fm-secondary text-sm">Symbols (✓/✗)</span>
|
|
203
203
|
</div>
|
|
204
204
|
<div className="flex items-center space-x-4">
|
|
205
205
|
<Switch checked={false} switchOnText="EN" switchOffText="DIS" />
|
|
206
|
-
<span className="text-
|
|
206
|
+
<span className="text-fm-secondary text-sm">Enable/Disable</span>
|
|
207
207
|
</div>
|
|
208
208
|
</div>
|
|
209
209
|
),
|
|
@@ -219,7 +219,7 @@ export const CustomTextWithSizes: Story = {
|
|
|
219
219
|
switchOnText="ON"
|
|
220
220
|
switchOffText="OFF"
|
|
221
221
|
/>
|
|
222
|
-
<span className="text-
|
|
222
|
+
<span className="text-fm-secondary text-sm">Small</span>
|
|
223
223
|
</div>
|
|
224
224
|
<div className="flex items-center space-x-4">
|
|
225
225
|
<Switch
|
|
@@ -228,7 +228,7 @@ export const CustomTextWithSizes: Story = {
|
|
|
228
228
|
switchOnText="ON"
|
|
229
229
|
switchOffText="OFF"
|
|
230
230
|
/>
|
|
231
|
-
<span className="text-
|
|
231
|
+
<span className="text-fm-secondary text-sm">Medium</span>
|
|
232
232
|
</div>
|
|
233
233
|
<div className="flex items-center space-x-4">
|
|
234
234
|
<Switch
|
|
@@ -237,7 +237,7 @@ export const CustomTextWithSizes: Story = {
|
|
|
237
237
|
switchOnText="ON"
|
|
238
238
|
switchOffText="OFF"
|
|
239
239
|
/>
|
|
240
|
-
<span className="text-
|
|
240
|
+
<span className="text-fm-secondary text-sm">Large</span>
|
|
241
241
|
</div>
|
|
242
242
|
</div>
|
|
243
243
|
),
|