@@ -37,7 +37,10 @@ const state = new ComponentsPageState();
3737 <h3 class =" showcase-label" >Variants</h3 >
3838 <div class =" button-row" >
3939 <Button @ variant =" primary" @ testId =" btn-primary" >Primary</Button >
40- <Button @ variant =" secondary" @ testId =" btn-secondary" >Secondary</Button >
40+ <Button
41+ @ variant =" secondary"
42+ @ testId =" btn-secondary"
43+ >Secondary</Button >
4144 <Button @ variant =" danger" @ testId =" btn-danger" >Danger</Button >
4245 <Button @ variant =" ghost" @ testId =" btn-ghost" >Ghost</Button >
4346 </div >
@@ -46,17 +49,33 @@ const state = new ComponentsPageState();
4649 <div class =" showcase-item" >
4750 <h3 class =" showcase-label" >Sizes</h3 >
4851 <div class =" button-row" >
49- <Button @ variant =" primary" @ size =" small" @ testId =" btn-small" >Small</Button >
50- <Button @ variant =" primary" @ size =" medium" @ testId =" btn-medium" >Medium</Button >
51- <Button @ variant =" primary" @ size =" large" @ testId =" btn-large" >Large</Button >
52+ <Button
53+ @ variant =" primary"
54+ @ size =" small"
55+ @ testId =" btn-small"
56+ >Small</Button >
57+ <Button
58+ @ variant =" primary"
59+ @ size =" medium"
60+ @ testId =" btn-medium"
61+ >Medium</Button >
62+ <Button
63+ @ variant =" primary"
64+ @ size =" large"
65+ @ testId =" btn-large"
66+ >Large</Button >
5267 </div >
5368 </div >
5469
5570 <div class =" showcase-item" >
5671 <h3 class =" showcase-label" >States</h3 >
5772 <div class =" button-row" >
5873 <Button @ variant =" primary" @ testId =" btn-enabled" >Enabled</Button >
59- <Button @ variant =" primary" @ disabled ={{ true }} @ testId =" btn-disabled" >Disabled</Button >
74+ <Button
75+ @ variant =" primary"
76+ @ disabled ={{ true }}
77+ @ testId =" btn-disabled"
78+ >Disabled</Button >
6079 </div >
6180 </div >
6281 </div >
@@ -95,13 +114,25 @@ const state = new ComponentsPageState();
95114 Click the buttons below to open modals of different sizes.
96115 </p >
97116 <div class =" button-row" >
98- <Button @ variant =" primary" @ onClick ={{fn state.openModal " small" }} @ testId =" open-modal-small" >
117+ <Button
118+ @ variant =" primary"
119+ @ onClick ={{fn state.openModal " small" }}
120+ @ testId =" open-modal-small"
121+ >
99122 Small Modal
100123 </Button >
101- <Button @ variant =" primary" @ onClick ={{fn state.openModal " medium" }} @ testId =" open-modal-medium" >
124+ <Button
125+ @ variant =" primary"
126+ @ onClick ={{fn state.openModal " medium" }}
127+ @ testId =" open-modal-medium"
128+ >
102129 Medium Modal
103130 </Button >
104- <Button @ variant =" primary" @ onClick ={{fn state.openModal " large" }} @ testId =" open-modal-large" >
131+ <Button
132+ @ variant =" primary"
133+ @ onClick ={{fn state.openModal " large" }}
134+ @ testId =" open-modal-large"
135+ >
105136 Large Modal
106137 </Button >
107138 </div >
@@ -115,13 +146,21 @@ const state = new ComponentsPageState();
115146 @ testId =" demo-modal"
116147 >
117148 <: default >
118- <p >This is a {{state.modalSize }} modal dialog. You can put any content here.</p >
149+ <p >This is a
150+ {{state.modalSize }}
151+ modal dialog. You can put any content here.</p >
119152 <p >Click the close button or outside the modal to dismiss it.</p >
120153 </: default >
121154
122155 <: footer >
123- <Button @ variant =" secondary" @ onClick ={{state.closeModal }} >Cancel</Button >
124- <Button @ variant =" primary" @ onClick ={{state.closeModal }} >Confirm</Button >
156+ <Button
157+ @ variant =" secondary"
158+ @ onClick ={{state.closeModal }}
159+ >Cancel</Button >
160+ <Button
161+ @ variant =" primary"
162+ @ onClick ={{state.closeModal }}
163+ >Confirm</Button >
125164 </: footer >
126165 </Modal >
127166 </section >
0 commit comments