Commit Graph

13 Commits

Author SHA1 Message Date
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
Andrew Jakubowicz
38b1b69a9c fix(iconbutton)!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/iconbutton/lib` to `@material/web/iconbutton/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550579461
2023-07-24 09:10:22 -07:00
Elizabeth Mitchell
48ac6ef96d chore(iconbutton): remove md3 prefix
PiperOrigin-RevId: 530504251
2023-05-08 22:48:19 -07:00
Elizabeth Mitchell
db8ee4d1df chore: use private instead of protected
PiperOrigin-RevId: 527010546
2023-04-25 10:40:48 -07:00
Material Web Team
9796f6a694 Document Icon Button
PiperOrigin-RevId: 495414969
2022-12-14 14:18:45 -08:00
Daniel Freedman
f84e1557c2 chore(iconbutton): Remove ActionElement and create ripple lazily
PiperOrigin-RevId: 495365790
2022-12-14 11:15:52 -08:00
Elizabeth Mitchell
d3fa2c2ba4 chore(iconbutton): merge static/theme-styles
PiperOrigin-RevId: 486156646
2022-11-04 09:17:46 -07:00
Elizabeth Mitchell
73ca8ae0eb chore: use relative paths
PiperOrigin-RevId: 481941267
2022-10-18 09:28:59 -07:00
Alexander Marks
30c95aeee1 chore: add ".js" extensions to import statements.
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal).

PiperOrigin-RevId: 469772992
2022-08-24 11:01:21 -07:00
Daniel Freedman
fd138f7160 chore(icon-button): Refactor to use static templates for focus ring, ripple, and icon.
PiperOrigin-RevId: 469227744
2022-08-22 10:45:23 -07:00
Material Web Team
0111127e98 chore(iconbutton): Move M3 icon_button directory. Also update icon_button/ to iconbutton/ to align with 1P naming convention.
PiperOrigin-RevId: 460211503
2022-07-11 07:49:20 -07:00