File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/web-components/src/components/button Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ class CDSButton extends HostListenerMixin(FocusMixin(LitElement)) {
125
125
/**
126
126
* Specify the message read by screen readers for the danger button variant
127
127
*/
128
- @property ( { reflect : true , attribute : 'danger-descriptor ' } )
129
- dangerDescriptor ;
128
+ @property ( { reflect : true , attribute : 'danger-description ' } )
129
+ dangerDescription ;
130
130
131
131
/**
132
132
* `true` if the button should be disabled.
@@ -244,7 +244,7 @@ class CDSButton extends HostListenerMixin(FocusMixin(LitElement)) {
244
244
const {
245
245
autofocus,
246
246
buttonClassName,
247
- dangerDescriptor ,
247
+ dangerDescription ,
248
248
disabled,
249
249
download,
250
250
href,
@@ -370,7 +370,7 @@ class CDSButton extends HostListenerMixin(FocusMixin(LitElement)) {
370
370
type ="${ ifDefined ( type ) } ">
371
371
${ isDanger
372
372
? html `< span class ="${ prefix } --visually-hidden "
373
- > ${ dangerDescriptor } </ span
373
+ > ${ dangerDescription } </ span
374
374
> `
375
375
: `` }
376
376
< slot @slotchange ="${ handleSlotChange } "> </ slot >
You can’t perform that action at this time.
0 commit comments