Commit Graph

18 Commits

Author SHA1 Message Date
Elizabeth Mitchell
1e47fd7383 fix(typography): rename md-typescale.js to md-typescale-styles.js
Fixes #5524

This fixes the new md-typescale file not being published. Our build assumes CSS-to-JS files end in "-styles".

This isn't a breaking change since the typescale classes haven't been published yet.

PiperOrigin-RevId: 617613456
2024-03-20 13:43:26 -07:00
Elizabeth Mitchell
36dd77ef97 feat(typography): add @material/web/typography/md-typescale classes
Fixes #1050

View the updated [typography docs](https://github.com/material-components/material-web/blob/main/docs/theming/typography.md#classes) for more info.

PiperOrigin-RevId: 613259080
2024-03-06 10:14:34 -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
7f6dda58b5 refactor(divider): reduce CSS size
Reduces the size by removing private (`--_*`) custom properties. These are not needed since the component does not share styles across variants.

Size before: 523b / 308b gzip
Size after: 469b (-10%) / 292b gzip (-5%)

PiperOrigin-RevId: 600904594
2024-01-23 14:16:41 -08:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
86ccec3e7e build: use firebase for hosting and remove url prefixes 2023-07-27 09:17:27 -07:00
Andrew Jakubowicz
7fc17c99c9 fix(divider)!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/divider/lib` to `@material/web/divider/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550044361
2023-07-21 14:03:22 -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
Elizabeth Mitchell
56e6ee08c5 chore(dialog): update demo for a11y review
PiperOrigin-RevId: 531068237
2023-05-10 19:33:30 -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
ae9fc76bbc chore(divider): finalize tokens
PiperOrigin-RevId: 530924237
2023-05-10 09:08:11 -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
05ad9ef22c chore(divider): add tests and support forced-colors mode
PiperOrigin-RevId: 504660829
2023-01-25 14:23:22 -08:00
Elizabeth Mitchell
9431c16431 feat(divider): add divider component
PiperOrigin-RevId: 504300015
2023-01-24 09:41:31 -08:00