|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [1.0.0-pre.15](https://github.com/material-components/material-web/compare/v1.0.0-pre.14...v1.0.0-pre.15) (2023-08-10) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* **dialog:** See https://github.com/material-components/material-web/discussions/4675 for more details. |
| 9 | +* **fab:** Replace `reduced-touch-target` with `touch-target="none"` |
| 10 | +* **checkbox:** Checkbox's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size. |
| 11 | +* **radio:** Radio's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size. |
| 12 | +* **dialog:** Fullscreen dialogs weren't matching spec, so we're removing them for now to avoid future breaking changes. They will be re-added later. |
| 13 | +* **list,menu:** list-item-link and menu-item-link have been removed and their functionality has been added to menu-item and list-item respectively. |
| 14 | +* **dialog:** use `autofocus` attribute instead of `dialog-focus` |
| 15 | +* **dialog:** Use dialog.open, dialog.show(), and dialog.close() instead. |
| 16 | +* **dialog:** dialog actions can set their own layout with a container element. |
| 17 | +* **dialog:** Material dialogs are always modal. |
| 18 | +* **select:** select will now show an arrow indicator and will apply default styles to slotted icons |
| 19 | +* **icon:** Remove css custom properties from icon and prefer applying normal css properties on host except for font-family. |
| 20 | +* **menu:** subclassing events is not supported in ES5 so all menu-related events now use CustomEvent rather than subclassing Event |
| 21 | +* **button:** Buttons submit forms by default, like `<button>`. Add `type="button"` to not submit forms. |
| 22 | +* **checkbox:** Design is still exploring error-state checkboxes. If needed, theme with an error color and set aria-invalid. |
| 23 | +* **iconbutton:** Remove "unselected" from `--md-*-icon-button-*` custom properties. |
| 24 | +* **button:** Rename "md-tonal-button" elements, imports, and tokens to "md-filled-tonal-button" |
| 25 | +* **iconbutton:** rename <md-standard-icon-button> to <md-icon-button> |
| 26 | +* **dialog:** remove transitions |
| 27 | +* **dialog:** remove content and divider tokens |
| 28 | +* **dialog:** remove transition and scrim tokens |
| 29 | +* **switch:** Rename `--md-switch-unselected-<token>` to `--md-switch-<token>` |
| 30 | +* **button:** Rename `--md-<button>-spacing-<token>` to `--md-<button>-<token>-space`. Rename `--md-<button>-with-icon-*` to `--md-<button>-with-leading-icon-*`. |
| 31 | +* **dialog:** remove draggable |
| 32 | +* **dialog:** remove fullscreen tokens |
| 33 | +* **radio:** Rename `--md-radio-unselected-<token>` to `--md-radio-<token>` |
| 34 | + |
| 35 | +### Features |
| 36 | + |
| 37 | +* **button:** add touch target configs ([1f46179](https://github.com/material-components/material-web/commit/1f46179e831537b4470548e09e1574c1c4c5a90c)) |
| 38 | +* **checkbox:** add required and form validity ([5606eef](https://github.com/material-components/material-web/commit/5606eefc38b08ebeb5f63d54b4b82631ea67936a)) |
| 39 | +* **checkbox:** add touch target configurations ([f574b00](https://github.com/material-components/material-web/commit/f574b00a6384ec8f95bffd5e2c730c58639f98dd)) |
| 40 | +* **chips:** add touch target configs ([2300eb6](https://github.com/material-components/material-web/commit/2300eb6e4f666f8776d9860157ce6f09f322e4b6)) |
| 41 | +* **fab:** add touch target configurations ([8588a3f](https://github.com/material-components/material-web/commit/8588a3f52e7496e281bf59d6b1ad6a9ab116d236)) |
| 42 | +* **icon:** add aria-hidden true by default ([08d50e2](https://github.com/material-components/material-web/commit/08d50e231dd7091f5fd4b843e636e9f04941f998)) |
| 43 | +* **iconbutton:** add form submission ([c0da72b](https://github.com/material-components/material-web/commit/c0da72b6dc743772f34fb1e20ef678850bcc0dd1)) |
| 44 | +* **list,menu:** add css shadow parts to sub components ([65d04a3](https://github.com/material-components/material-web/commit/65d04a3cf3cba46deb12cd0affa2649bf3e45407)) |
| 45 | +* **radio:** add touch target configurations ([7c461ca](https://github.com/material-components/material-web/commit/7c461cad75c58eb28c3b02321197ebcf9d3b93cd)) |
| 46 | + |
| 47 | + |
| 48 | +### Bug Fixes |
| 49 | + |
| 50 | +* **button:** rename `<md-tonal-button>` to `<md-filled-tonal-button>` ([cc26ef6](https://github.com/material-components/material-web/commit/cc26ef6c02dabf9e853b4aee08f5cb3af5e29f8f)) |
| 51 | +* **button:** rename spacing tokens ([2329d2b](https://github.com/material-components/material-web/commit/2329d2b419d2963d8050dc4cda1607f165f3d2fd)) |
| 52 | +* **button:** type is submit by default ([97f5b61](https://github.com/material-components/material-web/commit/97f5b616d6b76e23e378f7abed4c6a72b60c9367)) |
| 53 | +* **checkbox:** remove error property ([ce248dc](https://github.com/material-components/material-web/commit/ce248dc3831a494bf70625d3f4b0b6ca895a2d97)) |
| 54 | +* **dialog:** misspelled `transition` ([fa103cb](https://github.com/material-components/material-web/commit/fa103cbc78677b4829a94743b1561a023d44058f)), closes [#4638](https://github.com/material-components/material-web/issues/4638) |
| 55 | +* **dialog:** remove content and divider tokens ([5adbf73](https://github.com/material-components/material-web/commit/5adbf730d3c9bf9ccfa066a0b7e10ac1831b8269)) |
| 56 | +* **dialog:** remove draggable ([2568d4f](https://github.com/material-components/material-web/commit/2568d4fbac69c8b5e9a5d5198c6525224ebf778d)) |
| 57 | +* **dialog:** remove fullscreen temporarily ([39ae5a6](https://github.com/material-components/material-web/commit/39ae5a694723d83674eab06dcee9f8a3c5d7d764)) |
| 58 | +* **dialog:** remove fullscreen tokens ([8b896e0](https://github.com/material-components/material-web/commit/8b896e0e638f61a7963a9104db70d27f6d2afbca)) |
| 59 | +* **dialog:** remove modeless ([d8ac9ce](https://github.com/material-components/material-web/commit/d8ac9ce29e146516d84c3f6ba38cd9b8d39db8ec)) |
| 60 | +* **dialog:** remove stacked ([500472b](https://github.com/material-components/material-web/commit/500472bbdf094187de1c937a2e2fac293880ba1c)) |
| 61 | +* **dialog:** remove toggleShow() ([b992b15](https://github.com/material-components/material-web/commit/b992b154dee676a746cd3ada066809514c8a1dbb)) |
| 62 | +* **dialog:** remove transition and scrim tokens ([e581142](https://github.com/material-components/material-web/commit/e581142d67ebe5429999e3517cf420138cfac671)) |
| 63 | +* **dialog:** remove transitions ([2d1c580](https://github.com/material-components/material-web/commit/2d1c58022e70c3141f79e94cb2ccc12af1d3f816)) |
| 64 | +* **dialog:** use `autofocus` attribute instead of `dialog-focus` ([50fd2f3](https://github.com/material-components/material-web/commit/50fd2f3fe08d9c9dc8c2e188fc0b9c39750e8af8)) |
| 65 | +* **filter-chip:** make click event preventDefault proof ([041cb21](https://github.com/material-components/material-web/commit/041cb21233b49680ec47980bea2e5cf44cbcbd05)) |
| 66 | +* **filter-chip:** move click event to inner button ([22b5b21](https://github.com/material-components/material-web/commit/22b5b2173aedfec88362b256a02d7841097e9598)) |
| 67 | +* **focus:** allow `--md-focus-ring-*` cascading again ([1fa5cf3](https://github.com/material-components/material-web/commit/1fa5cf34852fde4353352056b76520ff5c1321d1)) |
| 68 | +* **icon-button:** delegates focus ([db2010d](https://github.com/material-components/material-web/commit/db2010d2c12673a5905e751c68583d3df86f281d)) |
| 69 | +* **iconbutton:** remove unselected token prefix ([0a63c26](https://github.com/material-components/material-web/commit/0a63c267e9ccb272916d80b30c79908c2736e37f)) |
| 70 | +* **iconbutton:** rename <md-standard-icon-button> to <md-icon-button> ([a117b06](https://github.com/material-components/material-web/commit/a117b06b7b1d177cc9cd8abd4c9b9ff489e20d5d)) |
| 71 | +* **radio:** remove "unselected" prefix from tokens ([fb1c603](https://github.com/material-components/material-web/commit/fb1c6039e763dc7b78687f660772aeec5fe494b9)) |
| 72 | +* **segmentedbutton:** add back container height token ([db8be0a](https://github.com/material-components/material-web/commit/db8be0a15c81dd4854ea984d842c5bfe21e890d6)) |
| 73 | +* **segmentedbutton:** add back shape token ([c148bf6](https://github.com/material-components/material-web/commit/c148bf61fe11564eb60bd34ca8d1a92bb33cb0a8)) |
| 74 | +* **select:** add trailing icon indicator and fix icon token application ([4ab2e39](https://github.com/material-components/material-web/commit/4ab2e393d440225b6eb37c83aead7fd62920b11a)) |
| 75 | +* **switch:** remove unselected token prefix ([3681b58](https://github.com/material-components/material-web/commit/3681b588e02a43a4c72d4be703206348eea943a7)) |
| 76 | + |
| 77 | + |
| 78 | +### Miscellaneous Chores |
| 79 | + |
| 80 | +* update next version ([432e660](https://github.com/material-components/material-web/commit/432e660d0cf65d94e390d9d1f0043d03c1381061)) |
| 81 | + |
| 82 | + |
| 83 | +### Code Refactoring |
| 84 | + |
| 85 | +* **dialog:** match native `<dialog>` and fix spacing ([2996a8b](https://github.com/material-components/material-web/commit/2996a8b8266ac721e66d88fce9b1097e23f8ff49)) |
| 86 | +* **icon:** remove css custom props from icon and apply values directly on host ([ff60a88](https://github.com/material-components/material-web/commit/ff60a88843f901eb553e271fb5a786d6439935c8)) |
| 87 | +* **list,menu:** add href to (list|menu)-item and remove (menu|list)-item-link ([09cb6da](https://github.com/material-components/material-web/commit/09cb6da8fb0335494df04f8310242d3248507b40)) |
| 88 | +* **menu:** events no longer subclass Event but rather use CustomEvent ([043d548](https://github.com/material-components/material-web/commit/043d5482702620fe36f87255c74b17bb76d10554)) |
| 89 | + |
3 | 90 | ## [1.0.0-pre.14](https://github.com/material-components/material-web/compare/v1.0.0-pre.13...v1.0.0-pre.14) (2023-07-24) |
4 | 91 |
|
5 | 92 |
|
|
0 commit comments