Add support for "role" attribute in all fabric buttons (#148)
This commit is contained in:
Родитель
168c50aa80
Коммит
7a3851ded9
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "../../node_modules/ng-packagr/package.schema.json",
|
||||
"name": "@angular-react/fabric",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"ngPackage": {
|
||||
"lib": {
|
||||
"entryFile": "public-api.ts",
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -42,6 +42,7 @@ export abstract class FabBaseButtonComponent extends ReactWrapperComponent<IButt
|
|||
@Input() ariaLabel?: IButtonProps['ariaLabel'];
|
||||
@Input() ariaDescription?: IButtonProps['ariaDescription'];
|
||||
@Input() ariaHidden?: IButtonProps['ariaHidden'];
|
||||
@Input() role?: IButtonProps['role'];
|
||||
@Input() text?: IButtonProps['text'];
|
||||
@Input() iconProps?: IButtonProps['iconProps'];
|
||||
@Input() menuProps?: IButtonProps['menuProps'];
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
|
@ -32,6 +32,7 @@ import { FabBaseButtonComponent } from './base-button.component';
|
|||
[ariaLabel]="ariaLabel"
|
||||
[ariaDescription]="ariaDescription"
|
||||
[ariaHidden]="ariaHidden"
|
||||
[role]="role"
|
||||
[text]="text"
|
||||
[iconProps]="iconProps"
|
||||
[menuProps]="menuProps"
|
||||
|
|
Загрузка…
Ссылка в новой задаче