Commit Graph

19 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
Jan Kuehle
4b4c373a6b chore: use import and export types
PiperOrigin-RevId: 599338980
2024-01-17 17:39:46 -08:00
Elizabeth Mitchell
87dfee41af chore(field): reduce HCM styles and move from textfield/select to field
PiperOrigin-RevId: 578351982
2023-10-31 17:33:28 -07:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Andrew Jakubowicz
6ec3f06429 fix!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550633216
2023-07-24 12:02:59 -07:00
Elizabeth Mitchell
71cf061403 chore(textfield): clean up rendering implementation
PiperOrigin-RevId: 510494532
2023-02-17 12:27:21 -08:00
Material Web Team
d6a410aa91 Export TextfieldType to consumers
PiperOrigin-RevId: 497035551
2022-12-21 16:49:20 -08: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
Elizabeth Mitchell
606697de36 chore(text-field): update to use lit static
PiperOrigin-RevId: 466774176
2022-08-10 13:37:01 -07:00
Elizabeth Mitchell
77cc80e634 feat(text-field): add supporting text
PiperOrigin-RevId: 466241727
2022-08-08 21:45:52 -07:00
Elizabeth Mitchell
fe86936d91 chore(text-field): remove wrapper slot spans
PiperOrigin-RevId: 466112636
2022-08-08 12:15:47 -07:00
Elizabeth Mitchell
f8d950f3f6 chore(field): remove field ID property
PiperOrigin-RevId: 465328988
2022-08-04 09:12:02 -07:00
Elizabeth Mitchell
424596edce feat(text-field): add icons
PiperOrigin-RevId: 464165729
2022-07-29 15:04:12 -07:00
Material Web Team
10a6d353fc refactor: mark disabled and checked as boolean values in lit templates.
PiperOrigin-RevId: 462716556
2022-07-22 15:27:12 -07:00
Elizabeth Mitchell
e0386acda9 feat(text-field): add SSR ariaLabelledBy property
PiperOrigin-RevId: 460556448
2022-07-12 14:44:15 -07:00
Elizabeth Mitchell
0f9a8216a2 chore(text-field): remove underscore
PiperOrigin-RevId: 459515801
2022-07-07 08:11:03 -07:00