@@ -3,7 +3,6 @@ import * as React from 'react';
3
3
import type { Meta , StoryObj } from '@storybook/react' ;
4
4
5
5
import { colorsCommon } from '@utilitywarehouse/colour-system' ;
6
- < < << << < HEAD
7
6
import {
8
7
ChevronLeft01SmallIcon ,
9
8
ChevronRight01SmallIcon ,
@@ -16,22 +15,6 @@ import {
16
15
TickSmallIcon ,
17
16
TrashSmallIcon ,
18
17
} from '@utilitywarehouse/react-icons' ;
19
- | || || || parent of 7884 c5d4 ( add Button design guidelines )
20
- import { ChevronLeft01SmallIcon , ChevronRight01SmallIcon } from '@utilitywarehouse/react-icons' ;
21
- = === ===
22
- import {
23
- ChevronLeft01SmallIcon ,
24
- ChevronRight01SmallIcon ,
25
- CloseSmallIcon ,
26
- CopySmallIcon ,
27
- DownloadSmallIcon ,
28
- EditSmallIcon ,
29
- FullscreenSmallIcon ,
30
- LogoutSmallIcon ,
31
- TickSmallIcon ,
32
- TrashSmallIcon ,
33
- } from '@utilitywarehouse/react-icons' ;
34
- > >>> >>> 7884 c5d4 ( add Button design guidelines )
35
18
36
19
import { Button } from './Button' ;
37
20
@@ -377,126 +360,6 @@ export const FullWidth: Story = {
377
360
) ,
378
361
args : { children : 'Full width button with icon' } ,
379
362
} ;
380
- < < << << < HEAD
381
-
382
- export const SolidVariantDesignExample : Story = {
383
- render : ( ) = > (
384
- < Flex gap = { 2 } align = "center" >
385
- < Button variant = "solid" > Submit feedback</ Button >
386
- < Button variant = "solid" > Buy now</ Button >
387
- < Button variant = "solid" colorScheme = "red" >
388
- Delete account
389
- </ Button >
390
- </ Flex >
391
- ) ,
392
- } ;
393
-
394
- export const OutlineVariantDesignExample : Story = {
395
- render : ( ) => (
396
- < Flex gap = { 2 } align = "center" >
397
- < Button variant = "outline" > Sign up</ Button >
398
- < Button variant = "outline" colorScheme = "grey" >
399
- < EditSmallIcon />
400
- Edit
401
- </ Button >
402
- < Button variant = "outline" colorScheme = "red" >
403
- Cancel
404
- </ Button >
405
- </ Flex >
406
- ) ,
407
- } ;
408
-
409
- export const GhostVariantDesignExample : Story = {
410
- render : ( ) => (
411
- < Flex gap = { 2 } direction = "column" align = "stretch" width = { 500 } >
412
- < Button variant = "solid" > This is the main action</ Button >
413
- < Button variant = "outline" > This is a less important action</ Button >
414
- < Button variant = "ghost" > This is the least important action</ Button >
415
- </ Flex >
416
- ) ,
417
- } ;
418
- << < < << < HEAD
419
-
420
- export const CyanColorSchemeDesignExample : Story = {
421
- render : ( ) = > (
422
- < Flex gap = { 2 } align = "stretch" width = { 500 } >
423
- < Button variant = "outline" >
424
- < ChevronLeft01SmallIcon />
425
- Back
426
- </ Button >
427
- < Button variant = "solid" >
428
- Continue
429
- < ChevronRight01SmallIcon />
430
- </ Button >
431
- < Button variant = "ghost" > View help</ Button >
432
- </ Flex >
433
- ) ,
434
- } ;
435
-
436
- export const RedColorSchemeDesignExample : Story = {
437
- render : ( ) => (
438
- < Flex gap = { 2 } align = "stretch" width = { 500 } >
439
- < Button variant = "solid" colorScheme = "red" >
440
- < TrashSmallIcon />
441
- Delete account
442
- </ Button >
443
- < Button variant = "outline" colorScheme = "red" >
444
- < LogoutSmallIcon />
445
- Log out
446
- </ Button >
447
- < Button variant = "ghost" colorScheme = "red" >
448
- < CloseSmallIcon />
449
- Clear
450
- </ Button >
451
- </ Flex >
452
- ) ,
453
- } ;
454
- << < < << < HEAD
455
-
456
- export const GreenColorSchemeDesignExample : Story = {
457
- render : ( ) = > (
458
- < Flex gap = { 2 } align = "stretch" width = { 500 } >
459
- < Button variant = "solid" colorScheme = "green" >
460
- < TickSmallIcon />
461
- Selected plan
462
- </ Button >
463
- < Button variant = "outline" colorScheme = "green" >
464
- Accept
465
- </ Button >
466
- </ Flex >
467
- ) ,
468
- } ;
469
-
470
- export const GoldColorSchemeDesignExample : Story = {
471
- render : ( ) => (
472
- < Flex gap = { 2 } align = "stretch" width = { 500 } >
473
- < Button variant = "outline" colorScheme = "gold" >
474
- Review plan
475
- </ Button >
476
- < Button variant = "ghost" colorScheme = "gold" >
477
- < DownloadSmallIcon />
478
- Save as draft
479
- </ Button >
480
- </ Flex >
481
- ) ,
482
- } ;
483
-
484
- export const GreyColorSchemeDesignExample : Story = {
485
- render : ( ) => (
486
- < Flex gap = { 2 } align = "stretch" width = { 500 } >
487
- < Button variant = "outline" colorScheme = "grey" >
488
- < CopySmallIcon />
489
- Copy link
490
- </ Button >
491
- < Button variant = "ghost" colorScheme = "grey" >
492
- < FullscreenSmallIcon />
493
- Expand
494
- </ Button >
495
- </ Flex >
496
- ) ,
497
- } ;
498
- || | || || parent of 7884 c5d4 ( add Button design guidelines )
499
- === = ===
500
363
501
364
export const SolidVariantDesignExample : Story = {
502
365
render : ( ) => (
@@ -534,9 +397,6 @@ export const GhostVariantDesignExample: Story = {
534
397
</ Flex >
535
398
) ,
536
399
} ;
537
- >>> > >>> 7884 c5d4 ( add Button design guidelines )
538
- || | || || parent of 726 bc3fa ( continue )
539
- === = ===
540
400
541
401
export const CyanColorSchemeDesignExample : Story = {
542
402
render : ( ) => (
@@ -572,9 +432,6 @@ export const RedColorSchemeDesignExample: Story = {
572
432
</ Flex >
573
433
) ,
574
434
} ;
575
- >>> > >>> 726 bc3fa ( continue )
576
- || | || || parent of f57c1423 ( update button design guidelines )
577
- === = ===
578
435
579
436
export const GreenColorSchemeDesignExample : Story = {
580
437
render : ( ) => (
@@ -618,4 +475,3 @@ export const GreyColorSchemeDesignExample: Story = {
618
475
</ Flex >
619
476
) ,
620
477
} ;
621
- >>> > >>> f57c1423 ( update button design guidelines )
0 commit comments