Elliott Marquez
34c0a6779e
fix(elevation): limit elevation transition to box-shadow and opacity
...
`transition-property: inherit` was causing issues where doing `visiblity: hidden` would animate with the shadow of the button. This change makes it such that we set the default properties to `box-shadow, opacity` on host so that it is still configuratble by the consumer of md-elevation.
PiperOrigin-RevId: 613385695
2024-03-06 16:56:21 -08:00
Elizabeth Mitchell
c35bad0c64
fix: rename internal <styles>.css.js
to <styles>.css
...
We are changing the names of these files to reduce similarity with CSS modules and avoid clashing with tooling built around that. If you're importing `*/internal/styles.css.js`, swap to `*/internal/styles.js`.
PiperOrigin-RevId: 611265000
2024-02-28 16:20:22 -08:00
Elizabeth Mitchell
ec0a8ebf6e
chore: use CSSResultOrNative
instead of CSSResult
for static styles
...
PiperOrigin-RevId: 609760445
2024-02-23 10:01:56 -08:00
Elizabeth Mitchell
ce41b7bfb3
fix: use explicit CSSResult[]
types for static styles
...
PiperOrigin-RevId: 609494809
2024-02-22 14:15:11 -08:00
Elizabeth Mitchell
84536d7416
chore: update components to use custom properties from tokens
...
PiperOrigin-RevId: 601597083
2024-01-25 16:13:41 -08:00
Elizabeth Mitchell
901a5cbd12
chore(elevation): move private custom properties off of host
...
Elevation doesn't have variant styles, but it still uses shorter private custom properties to reduce its CSS size. I added a comment explaining why and moved the custom properties into the inner shadow dom so they can't be set on the host.
No size changes.
PiperOrigin-RevId: 601128500
2024-01-24 08:27:45 -08:00
Elizabeth Mitchell
c390291687
chore: format files with prettier
...
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elizabeth Mitchell
2295f12e71
fix: add aria-hidden="true" to ripple, focus ring, and elevation
...
PiperOrigin-RevId: 562075778
2023-09-01 16:33:32 -07:00
Elizabeth Mitchell
7d616faecd
fix(elevation): don't transition border-radius
...
PiperOrigin-RevId: 558202007
2023-08-18 11:31:15 -07:00
Elizabeth Mitchell
0e492ade43
chore: remove sass theme utilities
...
PiperOrigin-RevId: 556915539
2023-08-14 14:39:19 -07:00
Elliott Marquez
86ccec3e7e
build: use firebase for hosting and remove url prefixes
2023-07-27 09:17:27 -07:00
Andrew Jakubowicz
0432e6d9ce
fix(elevation)!: rename "lib" directory to "internal"
...
BREAKING CHANGE: Rename `@material/web/elevation/lib` to `@material/web/elevation/internal`. Prefer not using internal files.
PiperOrigin-RevId: 550038448
2023-07-21 13:42:40 -07:00
Elizabeth Mitchell
a2bb8458d2
chore(sass): move to internal
...
PiperOrigin-RevId: 536458468
2023-05-30 11:23:00 -07:00
Elliott Marquez
dc49e0b518
docs: update playground urls to match new base-URI
...
PiperOrigin-RevId: 531322264
2023-05-11 15:24:11 -07:00
Elliott Marquez
5f80c096e0
refactor: remove extraneous file extensions
...
PiperOrigin-RevId: 531005525
2023-05-10 14:26:01 -07:00
Elliott Marquez
1cade43ccf
refactor: remove extraneous file extensions
...
PiperOrigin-RevId: 530993820
2023-05-10 14:04:53 -07:00
Elizabeth Mitchell
db8ee4d1df
chore: use private instead of protected
...
PiperOrigin-RevId: 527010546
2023-04-25 10:40:48 -07:00
Elizabeth Mitchell
301eb9a18f
fix(elevation): tidy up tokens and update roadmap
...
PiperOrigin-RevId: 523211633
2023-04-10 14:24:25 -07:00
Elizabeth Mitchell
d801a5f7cd
fix(elevation)!: remove elevation surfaces
...
PiperOrigin-RevId: 522245110
2023-04-05 22:10:08 -07:00
Elizabeth Mitchell
d12ed3e4e3
chore(elevation)!: remove surface for tonal surface update
...
Changes:
- Elevation is now `inset:0;position:absolute;` by default
- Separated surface styles into a temporary `<md-elevation-surface>` element (this will be removed after tonal surface update)
PiperOrigin-RevId: 521934300
2023-04-04 20:14:24 -07:00
Elizabeth Mitchell
715c5927a7
chore(sass): remove elevation resolvers
...
PiperOrigin-RevId: 518051579
2023-03-20 12:57:55 -07:00
Elizabeth Mitchell
615527886b
fix(elevation): disable pointer-events
...
PiperOrigin-RevId: 516274391
2023-03-13 11:43:18 -07:00
Elizabeth Mitchell
6c2aef6901
chore(all): add keep-sorted comments to Sass imports
...
PiperOrigin-RevId: 509583504
2023-02-14 11:10:23 -08:00
Elizabeth Mitchell
060d204334
chore: update component tokens to v0.152
...
PiperOrigin-RevId: 501055718
2023-01-10 11:56:25 -08:00
Elizabeth Mitchell
9eb7bf081f
feat(elevation): create md-elevation component
...
PiperOrigin-RevId: 495074655
2022-12-13 11:13:05 -08:00
Elizabeth Mitchell
89eee57074
chore(elevation): branch elevation styles
...
PiperOrigin-RevId: 493625319
2022-12-07 09:27:08 -08:00
Elizabeth Mitchell
207c620515
chore(button): update to local custom properties
...
PiperOrigin-RevId: 482257619
2022-10-19 11:27:57 -07:00
Elizabeth Mitchell
73ca8ae0eb
chore: use relative paths
...
PiperOrigin-RevId: 481941267
2022-10-18 09:28:59 -07:00
Elizabeth Mitchell
9348dbbee4
chore(elevation): remove compat deps
...
PiperOrigin-RevId: 477473663
2022-09-28 09:33:45 -07:00
Material Web Team
41d41cc278
chore: update repository for Material 3
...
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00