Commit Graph

64 Commits

Author SHA1 Message Date
Elizabeth Mitchell
1c2197bd30 chore: update css-to-ts script
PiperOrigin-RevId: 612919272
2024-03-05 11:52:39 -08:00
Elizabeth Mitchell
c9e72ce194 chore: fix size update github action date format
PiperOrigin-RevId: 601557983
2024-01-25 13:59:12 -08:00
Liz Mitchell
3638187e5f chore: add leading and trailing table pipes 2023-12-13 20:22:56 -08:00
Liz Mitchell
5d8f453ba5 chore: remove trailing whitespace 2023-12-13 11:59:50 -08:00
Liz Mitchell
52d1ca59fc chore: add extra | to table row start for GitHub empty starting columns 2023-12-13 11:35:12 -08:00
Liz Mitchell
381189da9b chore: add readme link to size and bot 2023-12-13 11:23:32 -08:00
Liz Mitchell
1d9a552dcf docs: add size tracking 2023-12-12 17:25:03 -08:00
Elliott Marquez
2adcb1479a docs: document events in jsdoc
PiperOrigin-RevId: 581041601
2023-11-09 15:25:21 -08:00
Elliott Marquez
5e0000a495 fix(docs): prepare docs generator for mixin version of lit analyzer
PiperOrigin-RevId: 581038415
2023-11-09 15:12:04 -08:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
1636d91d3a chore: update the analyzer to update the docs for select
PiperOrigin-RevId: 567918915
2023-09-23 17:17:29 -07:00
Copybara-Service
1b0461884e Merge pull request #4981 from material-components:catalog-fixes
PiperOrigin-RevId: 567885328
2023-09-23 11:19:40 -07:00
Elliott Marquez
446558081a docs(catalog): misc catalog fixes 2023-09-22 19:28:01 -07:00
Elliott Marquez
54fbb2ed5e feat(menu): implement md-sub-menu
md-sub-menu will succeed md-sub-menu-item. It allows for screen reader linear navigation

PiperOrigin-RevId: 567057310
2023-09-20 13:09:44 -07:00
Elliott Marquez
a8f20c76e5 docs: bot to trigger update-docs on merge to main 2023-09-19 21:25:17 -07:00
Elliott Marquez
9f3e55d79a docs: auto-generate API docs
Updates API docs in our markdown files with Lit Analyzer by manually running `npm run update-docs`

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-web/pull/4946 from material-components:api-docs 1322ca962041a4b1f30ef7ad3ef2c7eb9087f42b
PiperOrigin-RevId: 566834596
2023-09-19 21:05:47 -07:00
Material Web Team
41d41cc278 chore: update repository for Material 3
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00
Alexander Marks
b0733c5c1f
Update sass-to-lit-css script to use lit import instead of lit-element 2021-10-11 16:45:07 -07:00
Elliott Marquez
262e6339d9 chore(slider): allow dependency updating and update demo 2021-07-26 15:41:49 -07:00
Daniel Freedman
cc04657a2b
Remove old sass compile process (#2422)
- Sass build should be much faster!
2021-05-17 18:17:51 -07:00
Daniel Freedman
11559b7264 Add new build steps to all components
Also use SPDX header for new styling modules
2021-05-17 16:13:26 -07:00
Daniel Freedman
cbc7a6d824 New sass compile pass
- Reuse `sass-render` internals, but structured so that each component
  can build independently
- Emit stylesheet as `styles` rather than `style` to match internal
  build
- Emit stylesheets as `.css.ts` instead of `-css.ts` to match internal
  build

Related #2348
2021-05-17 15:29:01 -07:00
Elliott Marquez
855f6b301f chore: bump all deps and fix tsconfig 2020-09-11 17:34:19 -07:00
Liz Mitchell
8604d59edb
chore: remove src folder from packages in GitHub (#1706)
* chore: remove src folder from packages in GitHub

* chore: add extra newline to button sass
2020-08-17 17:59:35 -07:00
Polymer GitHub Actions Robot
4113db5cc0 Auto-format 2020-07-18 14:40:47 +00:00
Elliott Marquez
5c235b5c44
Fix(actions): fix missing parentheses 2020-07-18 10:39:53 -04:00
Joy Zhong
a0d1279af1
chore(slider): Stop updating MDC slider dep.
We'll remove this check once we've updated to the new M2 slider.
2020-07-17 11:37:45 -04:00
Elliott Marquez
8a3f2a695a chore: get ready for release and fix deps 2020-07-01 12:27:59 -07:00
Liz Mitchell
a1bbf275f3
chore: update deps bump script to include devDeps (#1386) 2020-06-01 16:19:43 -07:00
Allan Chen
610cb1088f
fix(select): Strip byte order mark in CSS compilation 2020-05-07 21:12:30 -07:00
Elliott Marquez
d3a35a44e1 docs(demos): demos built for speed 2020-05-06 20:30:44 -07:00
Daniel Freedman
6a75094e8f Fix Sass "default" imports
- Sass now has "default" imports that should handle `@material/theme` to
  mean `@material/theme/_index.scss` that `node-sass-import` did not
  understand

  Fixes #850
2020-02-18 10:15:29 -08:00
Alexander Marks
139f33e9fa
Automate bumping MDC deps using GitHub Actions (#566)
This adds a GitHub action called bump-mdc-deps that automatically runs
the script that pins our MDC Web deps to the latest canary version, and
sends us a PR if it has changed.
2019-10-17 11:47:43 -07:00
Alexander Marks
19448b156a Merge branch 'master' into canary 2019-09-26 19:19:58 -07:00
Alexander Marks
b65bf3022f Add @license annotations to all test TS files 2019-09-25 14:45:27 -07:00
Alexander Marks
4f3b37bcc9 Bump all MDC web packages to canary version, and add bump script. 2019-09-16 12:23:34 -07:00
Alexander Marks
65bccda9ed
Some small items before release (#431)
* Make textarea and textfield not NPM private
* Fix typo in button image filename: outlind_with_icon.png
* Support <img> tags in static-urlify-readme-images script
2019-08-27 14:15:27 -07:00
Alexander Marks
6f78c3d652 Add a prepack script that rewrites README images to be permanent URLs.
This way we don't need to publish images in our NPM tarballs (they're
already in our .npmignore files), but the READMEs will still render with
images on npmjs.com, webcomponents.org, etc.

It resolves master to a SHA, and uses that in a
raw.githubusercontent.com URL, so that if we change or move images files
around, any given version of the README published to NPM won't be
affected.
2019-08-13 15:35:58 -07:00
Alexander Marks
a9c2f42c74 Configuration for scripts written in TypeScript 2019-08-13 11:51:32 -07:00
Daniel Freedman
a91de22571 Print CSS Custom Properties of a Sass file
Prints selector, property, and fallback value for the CSS Custom
Properties in a Sass file

Example usage:
```
./scripts/print-css-custom-properties.js packages/snackbar/src/mwc-snackbar.scss
```

Example output:
```css
slot[name=action]::slotted(mwc-button) { --mdc-theme-primary: var(--mdc-snackbar-action-color, #bb86fc) }
```
2019-08-09 14:46:14 -07:00
Daniel Freedman
a1cc4bf4c5 Update dependencies
- Fix typescript building with 3.4
- Upgrade lerna to 3.x
2019-04-04 15:36:55 -07:00
Daniel Freedman
4c1c3c1600 Simplify demo updating
- symlink node_modules folder to put demos for unreleased components up
- disable nested babelrc in node_modules
2019-03-11 11:32:01 -07:00
Daniel Freedman
17f46249e6 Fix typescript building
- Add back-references to dependencies for `tsc --build` to work
- Normalize on `build:typescript` syntax
- make `clean` work
2019-02-01 15:39:47 -08:00
Daniel Freedman
0bb1502e18 Update and change out dependencies
- Replace webpack with rollup for karma
- Remove most of the unused npm scripts
- Fix karma node resolver usage
- Remove webpack test/unit/index.js file
- Sauce runner configs from Polymer
2019-01-30 17:53:53 -08:00
Daniel Freedman
d01885b6fd Fix demo publishing for unscoped lit-element 2019-01-11 14:10:05 -08:00
Daniel Freedman
09dab52553 Prepare 0.3.1 2018-10-08 12:19:17 -07:00
Daniel Freedman
16ddf987a8 Remove uglify plugin from demo build
It was doing _weird_ things with Ripple directive
Also lock in version of lit-html, lit-element, and webcomponents
2018-10-08 11:15:38 -07:00
Daniel Freedman
41e470a979 Make demo publishing more consistant 2018-10-05 15:44:31 -07:00
Daniel Freedman
1159e10a90 Rewrite formfield as typescript
- Implement `ripple` getter on formable components for activation of
ripple directive
- Improve watcher output
2018-10-04 12:01:21 -07:00
Daniel Freedman
b8b6069538 Update dependencies
- Typescript 3.1
  - Fix radio, drawer, icon-font, and ripple for new DOM typings
- node-sass -> sass
2018-10-02 17:44:04 -07:00