material-components / material-design-for-wordpress

Material Design plugin for WordPress
78 stars 22 forks source link

[M3] Tool tip #406

Closed PatelUtkarsh closed 2 years ago

PatelUtkarsh commented 2 years ago

Feature description

Replace m2 style from @material/tooltip/dist/mdc.tooltip.css with m3 color and typography tokens.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

PatelUtkarsh commented 2 years ago

Tool tip is used with material button icon block.

https://user-images.githubusercontent.com/5015489/184095455-193a3f40-4780-4e8e-bc96-08f1dc93a38c.mp4

QA note: Test tool tip with m3.

igruszkauy commented 2 years ago

Verified via: https://dev-mdc-web.pantheonsite.io/2705-2/

  1. Tooltip displayed as expected for button w/ icon style.

image

  1. Tooltip color adapts when switching light/dark mode

image