@@ -30,28 +30,27 @@ const meta: Meta<typeof CustomDialog> = {
30
30
31
31
export default meta ;
32
32
33
- export const WhatsNew = ( args : any ) => (
33
+ export const EdgeToEdge = ( args : any ) => (
34
34
< DialogTrigger >
35
35
< ActionButton > Open dialog</ ActionButton >
36
36
< CustomDialog padding = "none" { ...args } isDismissible styles = { style ( { maxWidth : { isSizeUnset : '[800px]' } } ) ( { isSizeUnset : args . size == null } ) } >
37
37
< div className = { style ( { display : 'flex' , size : 'full' } ) } >
38
38
< div className = { style ( { display : 'flex' , flexDirection : 'column' , rowGap : 32 , padding : 32 , backgroundColor : 'layer-1' , width : 192 , flexShrink : 0 } ) } >
39
- < Heading slot = "title" styles = { style ( { font : 'title-3xl' , marginY : 0 } ) } > What's new </ Heading >
39
+ < Heading slot = "title" styles = { style ( { font : 'title-3xl' , marginY : 0 } ) } > Example </ Heading >
40
40
< ul className = { style ( { listStyleType : 'none' , padding : 0 , margin : 0 , display : 'flex' , flexDirection : 'column' , gap : 8 } ) } >
41
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Selective unlock</ li >
42
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Drawing aids</ li >
43
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Brush previews</ li >
44
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Multiple color sampling</ li >
45
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Vector trimming</ li >
46
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Clipping masks</ li >
47
- < li className = { style ( { height : 32 , font : 'ui' } ) } > Coming soon</ li >
41
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Lorem ipsum</ li >
42
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Consectetur adipiscing</ li >
43
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Tempor incididunt</ li >
44
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Colore magna</ li >
45
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Exercitation ullamco</ li >
46
+ < li className = { style ( { height : 32 , font : 'ui' } ) } > Commodo consequat</ li >
48
47
</ ul >
49
48
</ div >
50
49
< div className = { style ( { flexGrow : 1 } ) } >
51
50
< Image src = { new URL ( './assets/placeholder.png' , import . meta. url ) . toString ( ) } styles = { style ( { width : 'full' } ) } />
52
51
< div className = { style ( { padding : 32 , paddingEnd : 16 } ) } >
53
- < h3 className = { style ( { font : 'title-lg' , marginY : 0 } ) } > Selective unlock </ h3 >
54
- < p className = { style ( { font : 'body' } ) } > Now you can unlock objects right on the artboard, and easily find the right one when many overlap. No more searching in the Layers panel or unlocking everything at once. </ p >
52
+ < h3 className = { style ( { font : 'title-lg' , marginY : 0 } ) } > Example Heading </ h3 >
53
+ < p className = { style ( { font : 'body' } ) } > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in </ p >
55
54
</ div >
56
55
</ div >
57
56
< CloseButton staticColor = "black" styles = { style ( { position : 'absolute' , top : 12 , insetEnd : 12 } ) } />
@@ -60,21 +59,21 @@ export const WhatsNew = (args: any) => (
60
59
</ DialogTrigger >
61
60
) ;
62
61
63
- export const ThankYou = ( args : any ) => (
62
+ export const Illustration = ( args : any ) => (
64
63
< DialogTrigger >
65
64
< ActionButton > Open dialog</ ActionButton >
66
65
< CustomDialog { ...args } >
67
66
< div className = { style ( { display : 'flex' , flexDirection : 'column' , rowGap : 8 , alignItems : 'center' } ) } >
68
67
< Checkmark />
69
68
< Heading slot = "title" styles = { style ( { font : 'heading-lg' , textAlign : 'center' , marginY : 0 } ) } > Thank you!</ Heading >
70
- < p className = { style ( { font : 'body' , textAlign : 'center' , marginY : 0 } ) } > Your report has been submitted. Thank you for help keeping Adobe safe. You can learn more about our content policies by visiting our Transparency Center .</ p >
69
+ < p className = { style ( { font : 'body' , textAlign : 'center' , marginY : 0 } ) } > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua .</ p >
71
70
< CloseButton styles = { style ( { position : 'absolute' , top : 12 , insetEnd : 12 } ) } />
72
71
</ div >
73
72
</ CustomDialog >
74
73
</ DialogTrigger >
75
74
) ;
76
75
77
- ThankYou . args = {
76
+ Illustration . args = {
78
77
size : 'M'
79
78
} ;
80
79
@@ -93,8 +92,8 @@ export const SideImage = (args: any) => (
93
92
} ) } />
94
93
< div className = { style ( { padding : { default : 24 , sm : 32 } , flexGrow : 1 , display : 'flex' , flexDirection : 'column' , rowGap : 32 } ) } >
95
94
< div className = { style ( { display : 'flex' , flexDirection : 'column' , rowGap : 32 , flexGrow : 1 } ) } >
96
- < Heading slot = "title" styles = { style ( { font : 'heading' , marginY : 0 } ) } > Add new brand </ Heading >
97
- < TextField label = "Brand name " isRequired />
95
+ < Heading slot = "title" styles = { style ( { font : 'heading' , marginY : 0 } ) } > Add new</ Heading >
96
+ < TextField label = "Name " isRequired />
98
97
< DropZone >
99
98
< IllustratedMessage orientation = "horizontal" size = "S" >
100
99
< DropToUpload />
@@ -105,7 +104,7 @@ export const SideImage = (args: any) => (
105
104
</ div >
106
105
< ButtonGroup styles = { style ( { marginStart : 'auto' } ) } >
107
106
< Button slot = "close" variant = "secondary" > Close</ Button >
108
- < Button variant = "accent" > Add brand </ Button >
107
+ < Button variant = "accent" > Add</ Button >
109
108
</ ButtonGroup >
110
109
</ div >
111
110
</ div >
0 commit comments