@@ -120,39 +120,49 @@ const buttons: MaterialStoryInit<StoryKnobs> = {
120
120
const links : MaterialStoryInit < StoryKnobs > = {
121
121
name : 'Links' ,
122
122
styles,
123
- render ( { label} ) {
123
+ render ( { label, disabled , softDisabled } ) {
124
124
return html `
125
125
< div class ="column ">
126
126
< div class ="row ">
127
127
< md-filled-button
128
+ ?disabled =${ disabled }
129
+ ?soft-disabled =${ softDisabled }
128
130
href="https://google.com"
129
131
target="_blank"
130
132
trailing-icon>
131
133
${ label || 'Filled' }
132
134
</ md-filled-button >
133
135
134
136
< md-outlined-button
137
+ ?disabled =${ disabled }
138
+ ?soft-disabled =${ softDisabled }
135
139
href="https://google.com"
136
140
target="_blank"
137
141
trailing-icon>
138
142
${ label || 'Outlined' }
139
143
</ md-outlined-button >
140
144
141
145
< md-elevated-button
146
+ ?disabled =${ disabled }
147
+ ?soft-disabled =${ softDisabled }
142
148
href="https://google.com"
143
149
target="_blank"
144
150
trailing-icon>
145
151
${ label || 'Elevated' }
146
152
</ md-elevated-button >
147
153
148
154
< md-filled-tonal-button
155
+ ?disabled =${ disabled }
156
+ ?soft-disabled =${ softDisabled }
149
157
href="https://google.com"
150
158
target="_blank"
151
159
trailing-icon>
152
160
${ label || 'Tonal' }
153
161
</ md-filled-tonal-button >
154
162
155
163
< md-text-button
164
+ ?disabled =${ disabled }
165
+ ?soft-disabled =${ softDisabled }
156
166
href="https://google.com"
157
167
target="_blank"
158
168
trailing-icon>
@@ -162,6 +172,8 @@ const links: MaterialStoryInit<StoryKnobs> = {
162
172
< div class ="row ">
163
173
< md-filled-button
164
174
aria-label ="${ label || 'Filled' } link with trailing icon "
175
+ ?disabled =${ disabled }
176
+ ?soft-disabled =${ softDisabled }
165
177
href="https://google.com"
166
178
target="_blank"
167
179
trailing-icon>
@@ -171,6 +183,8 @@ const links: MaterialStoryInit<StoryKnobs> = {
171
183
172
184
< md-outlined-button
173
185
aria-label ="${ label || 'Outlined' } link with trailing icon "
186
+ ?disabled =${ disabled }
187
+ ?soft-disabled =${ softDisabled }
174
188
href="https://google.com"
175
189
target="_blank"
176
190
trailing-icon>
@@ -180,6 +194,8 @@ const links: MaterialStoryInit<StoryKnobs> = {
180
194
181
195
< md-elevated-button
182
196
aria-label ="${ label || 'Elevated' } link with trailing icon "
197
+ ?disabled =${ disabled }
198
+ ?soft-disabled =${ softDisabled }
183
199
href="https://google.com"
184
200
target="_blank"
185
201
trailing-icon>
@@ -189,6 +205,8 @@ const links: MaterialStoryInit<StoryKnobs> = {
189
205
190
206
< md-filled-tonal-button
191
207
aria-label ="${ label || 'Tonal' } link with trailing icon "
208
+ ?disabled =${ disabled }
209
+ ?soft-disabled =${ softDisabled }
192
210
href="https://google.com"
193
211
target="_blank"
194
212
trailing-icon>
@@ -198,6 +216,8 @@ const links: MaterialStoryInit<StoryKnobs> = {
198
216
199
217
< md-text-button
200
218
aria-label ="${ label || 'Text' } link with trailing icon "
219
+ ?disabled =${ disabled }
220
+ ?soft-disabled =${ softDisabled }
201
221
href="https://google.com"
202
222
target="_blank"
203
223
trailing-icon>
0 commit comments