feat(fab-button): add hover state using tint colors (#18536)

- fixes a bug where backdrop filter was not applied on translucent buttons and checks for support first

references #17624
This commit is contained in:
Brandy Carney
2019-06-25 17:26:29 -04:00
committed by GitHub
parent 598a13ecc0
commit ad00679da9
9 changed files with 122 additions and 59 deletions

View File

@ -815,7 +815,7 @@ export namespace Components {
*/
'target': string | undefined;
/**
* If `true`, the fab button will be translucent.
* If `true`, the fab button will be translucent. Only applies to `ios` mode on devices that support [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
*/
'translucent': boolean;
/**
@ -4160,7 +4160,7 @@ declare namespace LocalJSX {
*/
'target'?: string | undefined;
/**
* If `true`, the fab button will be translucent.
* If `true`, the fab button will be translucent. Only applies to `ios` mode on devices that support [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
*/
'translucent'?: boolean;
/**