Skip to content

Commit c358104

Browse files
committed
chore: Publish
1 parent 199534d commit c358104

File tree

47 files changed

+432
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+432
-326
lines changed

CHANGELOG.md

+106
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,112 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.0.0-canary.199534d61.0](https://github.com/material-components/material-components-web/compare/v3.2.0...v4.0.0-canary.199534d61.0) (2019-09-27)
7+
8+
9+
### Bug Fixes
10+
11+
* **button:** Add `overflow: visible` to button. ([#4973](https://github.com/material-components/material-components-web/issues/4973)) ([905e84e](https://github.com/material-components/material-components-web/commit/905e84e))
12+
* **button:** Adjust touch target size when density is applied ([#5112](https://github.com/material-components/material-components-web/issues/5112)) ([e2506f4](https://github.com/material-components/material-components-web/commit/e2506f4))
13+
* **checkbox:** Fix checkbox terminology in sass mixins ([#5014](https://github.com/material-components/material-components-web/issues/5014)) ([2161c02](https://github.com/material-components/material-components-web/commit/2161c02))
14+
* **chips:** Ignore selection events in chip set ([#4878](https://github.com/material-components/material-components-web/issues/4878)) ([94c6a00](https://github.com/material-components/material-components-web/commit/94c6a00))
15+
* **chips:** Remove keyCode check ([#4966](https://github.com/material-components/material-components-web/issues/4966)) ([e6304c4](https://github.com/material-components/material-components-web/commit/e6304c4))
16+
* **chips:** Reset touch target when chip density mixin is applied. ([#5116](https://github.com/material-components/material-components-web/issues/5116)) ([d3b515e](https://github.com/material-components/material-components-web/commit/d3b515e))
17+
* **chips:** Stack trailing/leading icons above touch target el ([#5040](https://github.com/material-components/material-components-web/issues/5040)) ([048d4b7](https://github.com/material-components/material-components-web/commit/048d4b7))
18+
* **chips:** Stop emitting events in handlers ([#4969](https://github.com/material-components/material-components-web/issues/4969)) ([cfd81dc](https://github.com/material-components/material-components-web/commit/cfd81dc))
19+
* **data-table:** Minor fixes for data table layout ([#5037](https://github.com/material-components/material-components-web/issues/5037)) ([37b1f93](https://github.com/material-components/material-components-web/commit/37b1f93))
20+
* **list:** Add #adapter.listItemAtIndexHasClass to prevent user state change to disabled items ([#4922](https://github.com/material-components/material-components-web/issues/4922)) ([b6d213c](https://github.com/material-components/material-components-web/commit/b6d213c))
21+
* **menu:** Vertically center the group icon ([#4862](https://github.com/material-components/material-components-web/issues/4862)) ([c5738ed](https://github.com/material-components/material-components-web/commit/c5738ed))
22+
* **radio:** Fix touch target margins: 0px => 4px. ([#5096](https://github.com/material-components/material-components-web/issues/5096)) ([a48d06e](https://github.com/material-components/material-components-web/commit/a48d06e))
23+
* **tabs:** Fix tab img icon styling. ([#5041](https://github.com/material-components/material-components-web/issues/5041)) ([d0e6cd1](https://github.com/material-components/material-components-web/commit/d0e6cd1))
24+
* **text-field:** Do not trigger shake animation when text field is empty ([#5097](https://github.com/material-components/material-components-web/issues/5097)) ([4913db9](https://github.com/material-components/material-components-web/commit/4913db9))
25+
* **touch-target:** Add missing dependency - touch target to com… ([#5098](https://github.com/material-components/material-components-web/issues/5098)) ([9306bd0](https://github.com/material-components/material-components-web/commit/9306bd0))
26+
27+
28+
### Code Refactoring
29+
30+
* **button:** Add ripple target as an inner element. ([#4890](https://github.com/material-components/material-components-web/issues/4890)) ([dffefe6](https://github.com/material-components/material-components-web/commit/dffefe6))
31+
* **mdc-fab:** Move Ripple to inner Element. ([#4997](https://github.com/material-components/material-components-web/issues/4997)) ([85b33b5](https://github.com/material-components/material-components-web/commit/85b33b5))
32+
* **slider:** Functional slider tick visuals with css background ([#4756](https://github.com/material-components/material-components-web/issues/4756)) ([8f851d9](https://github.com/material-components/material-components-web/commit/8f851d9))
33+
34+
35+
### Features
36+
37+
* **button:** Add support for increased touch target to button. ([#4948](https://github.com/material-components/material-components-web/issues/4948)) ([1d7a2e6](https://github.com/material-components/material-components-web/commit/1d7a2e6))
38+
* **checkbox:** Add support for 48px touch target ([#5025](https://github.com/material-components/material-components-web/issues/5025)) ([b5685a8](https://github.com/material-components/material-components-web/commit/b5685a8))
39+
* **checkbox:** Move ripple to child node ([#4981](https://github.com/material-components/material-components-web/issues/4981)) ([9712b24](https://github.com/material-components/material-components-web/commit/9712b24))
40+
* **chip:** Add density mixin to chip. ([#5109](https://github.com/material-components/material-components-web/issues/5109)) ([bdf3430](https://github.com/material-components/material-components-web/commit/bdf3430))
41+
* **chips:** Add keyboard navigation ([#4844](https://github.com/material-components/material-components-web/issues/4844)) ([42065fe](https://github.com/material-components/material-components-web/commit/42065fe)), closes [#2259](https://github.com/material-components/material-components-web/issues/2259)
42+
* **chips:** Add setSelectedFromChipset method ([#4872](https://github.com/material-components/material-components-web/issues/4872)) ([283bd55](https://github.com/material-components/material-components-web/commit/283bd55))
43+
* **chips:** Add support for increased touch target to chips. ([#4970](https://github.com/material-components/material-components-web/issues/4970)) ([6aa109d](https://github.com/material-components/material-components-web/commit/6aa109d))
44+
* **chips:** Use index for all chip operations ([#4869](https://github.com/material-components/material-components-web/issues/4869)) ([07078bb](https://github.com/material-components/material-components-web/commit/07078bb))
45+
* **density:** Add density subsystem to components ([#5059](https://github.com/material-components/material-components-web/issues/5059)) ([73a5e4c](https://github.com/material-components/material-components-web/commit/73a5e4c))
46+
* **dialog:** Add dialog mixin for dialogs with increased touch target buttons. ([#5024](https://github.com/material-components/material-components-web/issues/5024)) ([2ef1ddd](https://github.com/material-components/material-components-web/commit/2ef1ddd))
47+
* **list:** Add density mixin to list ([#5069](https://github.com/material-components/material-components-web/issues/5069)) ([5132f89](https://github.com/material-components/material-components-web/commit/5132f89))
48+
* **list:** Add mixin for disabled text opacity ([#4861](https://github.com/material-components/material-components-web/issues/4861)) ([d68f8a7](https://github.com/material-components/material-components-web/commit/d68f8a7))
49+
* **radio:** Add density mixin to radio ([#5118](https://github.com/material-components/material-components-web/issues/5118)) ([199534d](https://github.com/material-components/material-components-web/commit/199534d))
50+
* **radio:** Add support for 48px touch target ([#5032](https://github.com/material-components/material-components-web/issues/5032)) ([87b0a4c](https://github.com/material-components/material-components-web/commit/87b0a4c))
51+
* **radio:** Move ripple to child element ([#4983](https://github.com/material-components/material-components-web/issues/4983)) ([100ab37](https://github.com/material-components/material-components-web/commit/100ab37))
52+
* **ripple:** Add support for ripple target to mixins. ([#4880](https://github.com/material-components/material-components-web/issues/4880)) ([08dbe69](https://github.com/material-components/material-components-web/commit/08dbe69))
53+
* **snackbar:** Add option for indefinite timeout ([#4998](https://github.com/material-components/material-components-web/issues/4998)) ([4f11851](https://github.com/material-components/material-components-web/commit/4f11851))
54+
* **switch:** Add density support for switch component. ([#5124](https://github.com/material-components/material-components-web/issues/5124)) ([2c793b4](https://github.com/material-components/material-components-web/commit/2c793b4)), closes [#5104](https://github.com/material-components/material-components-web/issues/5104)
55+
* **tab-bar:** Add density mixin to tab-bar ([#5070](https://github.com/material-components/material-components-web/issues/5070)) ([45dc002](https://github.com/material-components/material-components-web/commit/45dc002))
56+
* **text-field:** Add density mixin to text field variants ([#5066](https://github.com/material-components/material-components-web/issues/5066)) ([a12101d](https://github.com/material-components/material-components-web/commit/a12101d))
57+
* **text-field:** Center align inner elements for dynamic height ([#4990](https://github.com/material-components/material-components-web/issues/4990)) ([4d94b22](https://github.com/material-components/material-components-web/commit/4d94b22))
58+
* **touch-target:** Add touch target mixins. ([#4940](https://github.com/material-components/material-components-web/issues/4940)) ([b2e0fea](https://github.com/material-components/material-components-web/commit/b2e0fea))
59+
60+
61+
### BREAKING CHANGES
62+
63+
* **radio:** In Checkbox, Renamed sass variables `$mdc-radio-touch-area` => `$mdc-radio-ripple-size` & `$mdc-radio-ui-size` => `$mdc-radio-icon-size` to be consistent with checkbox. Also, removed `$mdc-radio-ui-pct` sass variable.
64+
* **chips:** Chips markup, adapters, foundations, and events have changed.
65+
* **list:** New adapter method listItemAtIndexHasClass
66+
* **list:** Renamed mixin `mdc-list-item-shape-radius()` => `mdc-list-single-line-shape-radius()`
67+
* **density:** Renamed sass mixins & variables in MDC Data Table - `mdc-data-table-header-row-height` => `mdc-data-table-header-cell-height` & `mdc-data-table-row-height` => `mdc-data-table-cell-height`. Also removed `mdc-button--dense` variant, use button's density mixin instead.
68+
* **text-field:** Removed sass variable in notched outline - `$mdc-notched-outline-transition-duration`.
69+
* **switch:** Renames switch variables $mdc-switch-tap-target-size => $mdc-switch-ripple-size, removes $mdc-switch-tap-target-initial-position and $mdc-switch-native-control-width.
70+
* **radio:** Ripple has been moved to a child element. See readme for updates.
71+
* **slider:** remove adapter methods `appendTrackMarkers`, `removeTrackMarkers `, `setLastTrackMarkersStyleProperty `, and add adapter method `setTrackMarkers`.
72+
* **button:** This changes the structure of the button element by moving the ripple from the outer <button> element to an inner `mdc-button__ripple` element.
73+
74+
OLD
75+
```
76+
<button class="mdc-button">
77+
<span class="mdc-button__label">Hello World</span>
78+
</button>
79+
```
80+
81+
NEW
82+
```
83+
<button class="mdc-button">
84+
<div class="mdc-button__ripple"></div>
85+
<span class="mdc-button__label">Hello World</span>
86+
</button>
87+
```
88+
* **chips:** MDCChipSetAdapter#removeChip has been replaced with MDCChipSetAdapter#removeChipAtIndex. MDCChipSetAdapter#setSelected has been replaced with MDCChipSetAdapter#selectChipAtIndex
89+
* **mdc-fab:** This changes the structure of the FAB element by moving the ripple from the outer element to an inner mdc-fab__ripple element.
90+
91+
OLD
92+
93+
```html
94+
<button class="mdc-fab" aria-label="Favorite">
95+
<span class="mdc-fab__icon material-icons">favorite</span>
96+
</button>
97+
```
98+
99+
NEW
100+
101+
```html
102+
<button class="mdc-fab" aria-label="Favorite">
103+
<div class="mdc-fab__ripple"></div>
104+
<span class="mdc-fab__icon material-icons">favorite</span>
105+
</button>
106+
```
107+
108+
109+
110+
111+
6112
# [3.2.0](https://github.com/material-components/material-components-web/compare/v3.1.1...v3.2.0) (2019-09-12)
7113

8114

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.2.0",
2+
"version": "4.0.0-canary.199534d61.0",
33
"command": {
44
"version": {
55
"conventionalCommits": true
+45-45
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "material-components-web",
33
"description": "Modular and customizable Material Design UI components for the web",
4-
"version": "3.2.0",
4+
"version": "4.0.0-canary.199534d61.0",
55
"license": "MIT",
66
"keywords": [
77
"material components",
@@ -17,49 +17,49 @@
1717
"directory": "packages/material-components-web"
1818
},
1919
"dependencies": {
20-
"@material/animation": "^3.1.0",
21-
"@material/auto-init": "^3.1.0",
22-
"@material/base": "^3.1.0",
23-
"@material/button": "^3.2.0",
24-
"@material/card": "^3.2.0",
25-
"@material/checkbox": "^3.2.0",
26-
"@material/chips": "^3.2.0",
27-
"@material/data-table": "^3.2.0",
28-
"@material/density": "^0.0.0",
29-
"@material/dialog": "^3.2.0",
30-
"@material/dom": "^3.1.0",
31-
"@material/drawer": "^3.2.0",
32-
"@material/elevation": "^3.1.0",
33-
"@material/fab": "^3.2.0",
34-
"@material/feature-targeting": "^3.1.0",
35-
"@material/floating-label": "^3.2.0",
36-
"@material/form-field": "^3.2.0",
37-
"@material/grid-list": "^3.2.0",
38-
"@material/icon-button": "^3.2.0",
39-
"@material/image-list": "^3.1.0",
40-
"@material/layout-grid": "^3.1.0",
41-
"@material/line-ripple": "^3.1.0",
42-
"@material/linear-progress": "^3.2.0",
43-
"@material/list": "^3.2.0",
44-
"@material/menu": "^3.2.0",
45-
"@material/menu-surface": "^3.2.0",
46-
"@material/notched-outline": "^3.2.0",
47-
"@material/radio": "^3.2.0",
48-
"@material/ripple": "^3.2.0",
49-
"@material/rtl": "^3.2.0",
50-
"@material/select": "^3.2.0",
51-
"@material/shape": "^3.1.0",
52-
"@material/slider": "^3.2.0",
53-
"@material/snackbar": "^3.2.0",
54-
"@material/switch": "^3.2.0",
55-
"@material/tab": "^3.2.0",
56-
"@material/tab-bar": "^3.2.0",
57-
"@material/tab-indicator": "^3.1.0",
58-
"@material/tab-scroller": "^3.2.0",
59-
"@material/textfield": "^3.2.0",
60-
"@material/theme": "^3.1.0",
61-
"@material/top-app-bar": "^3.2.0",
62-
"@material/touch-target": "0.0.0",
63-
"@material/typography": "^3.1.0"
20+
"@material/animation": "^4.0.0-canary.199534d61.0",
21+
"@material/auto-init": "^4.0.0-canary.199534d61.0",
22+
"@material/base": "^4.0.0-canary.199534d61.0",
23+
"@material/button": "^4.0.0-canary.199534d61.0",
24+
"@material/card": "^4.0.0-canary.199534d61.0",
25+
"@material/checkbox": "^4.0.0-canary.199534d61.0",
26+
"@material/chips": "^4.0.0-canary.199534d61.0",
27+
"@material/data-table": "^4.0.0-canary.199534d61.0",
28+
"@material/density": "^4.0.0-canary.199534d61.0",
29+
"@material/dialog": "^4.0.0-canary.199534d61.0",
30+
"@material/dom": "^4.0.0-canary.199534d61.0",
31+
"@material/drawer": "^4.0.0-canary.199534d61.0",
32+
"@material/elevation": "^4.0.0-canary.199534d61.0",
33+
"@material/fab": "^4.0.0-canary.199534d61.0",
34+
"@material/feature-targeting": "^4.0.0-canary.199534d61.0",
35+
"@material/floating-label": "^4.0.0-canary.199534d61.0",
36+
"@material/form-field": "^4.0.0-canary.199534d61.0",
37+
"@material/grid-list": "^4.0.0-canary.199534d61.0",
38+
"@material/icon-button": "^4.0.0-canary.199534d61.0",
39+
"@material/image-list": "^4.0.0-canary.199534d61.0",
40+
"@material/layout-grid": "^4.0.0-canary.199534d61.0",
41+
"@material/line-ripple": "^4.0.0-canary.199534d61.0",
42+
"@material/linear-progress": "^4.0.0-canary.199534d61.0",
43+
"@material/list": "^4.0.0-canary.199534d61.0",
44+
"@material/menu": "^4.0.0-canary.199534d61.0",
45+
"@material/menu-surface": "^4.0.0-canary.199534d61.0",
46+
"@material/notched-outline": "^4.0.0-canary.199534d61.0",
47+
"@material/radio": "^4.0.0-canary.199534d61.0",
48+
"@material/ripple": "^4.0.0-canary.199534d61.0",
49+
"@material/rtl": "^4.0.0-canary.199534d61.0",
50+
"@material/select": "^4.0.0-canary.199534d61.0",
51+
"@material/shape": "^4.0.0-canary.199534d61.0",
52+
"@material/slider": "^4.0.0-canary.199534d61.0",
53+
"@material/snackbar": "^4.0.0-canary.199534d61.0",
54+
"@material/switch": "^4.0.0-canary.199534d61.0",
55+
"@material/tab": "^4.0.0-canary.199534d61.0",
56+
"@material/tab-bar": "^4.0.0-canary.199534d61.0",
57+
"@material/tab-indicator": "^4.0.0-canary.199534d61.0",
58+
"@material/tab-scroller": "^4.0.0-canary.199534d61.0",
59+
"@material/textfield": "^4.0.0-canary.199534d61.0",
60+
"@material/theme": "^4.0.0-canary.199534d61.0",
61+
"@material/top-app-bar": "^4.0.0-canary.199534d61.0",
62+
"@material/touch-target": "^4.0.0-canary.199534d61.0",
63+
"@material/typography": "^4.0.0-canary.199534d61.0"
6464
}
6565
}

packages/mdc-animation/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material/animation",
33
"description": "Animation Variables and Mixins used by Material Components for the web",
4-
"version": "3.1.0",
4+
"version": "4.0.0-canary.199534d61.0",
55
"license": "MIT",
66
"keywords": [
77
"material components",

packages/mdc-auto-init/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material/auto-init",
33
"description": "Declarative, easy-to-use auto-initialization for Material Components for the web",
4-
"version": "3.1.0",
4+
"version": "4.0.0-canary.199534d61.0",
55
"main": "dist/mdc.autoInit.js",
66
"module": "index.js",
77
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"directory": "packages/mdc-auto-init"
1414
},
1515
"dependencies": {
16-
"@material/base": "^3.1.0",
16+
"@material/base": "^4.0.0-canary.199534d61.0",
1717
"tslib": "^1.9.3"
1818
}
1919
}

packages/mdc-base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material/base",
33
"description": "The set of base classes for Material Components for the web",
4-
"version": "3.1.0",
4+
"version": "4.0.0-canary.199534d61.0",
55
"license": "MIT",
66
"main": "dist/mdc.base.js",
77
"module": "index.js",

packages/mdc-button/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material/button",
33
"description": "The Material Components for the web button component",
4-
"version": "3.2.0",
4+
"version": "4.0.0-canary.199534d61.0",
55
"license": "MIT",
66
"keywords": [
77
"material components",
@@ -14,14 +14,14 @@
1414
"directory": "packages/mdc-button"
1515
},
1616
"dependencies": {
17-
"@material/density": "^0.0.0",
18-
"@material/elevation": "^3.1.0",
19-
"@material/feature-targeting": "^3.1.0",
20-
"@material/ripple": "^3.2.0",
21-
"@material/rtl": "^3.2.0",
22-
"@material/shape": "^3.1.0",
23-
"@material/theme": "^3.1.0",
24-
"@material/touch-target": "^0.0.0",
25-
"@material/typography": "^3.1.0"
17+
"@material/density": "^4.0.0-canary.199534d61.0",
18+
"@material/elevation": "^4.0.0-canary.199534d61.0",
19+
"@material/feature-targeting": "^4.0.0-canary.199534d61.0",
20+
"@material/ripple": "^4.0.0-canary.199534d61.0",
21+
"@material/rtl": "^4.0.0-canary.199534d61.0",
22+
"@material/shape": "^4.0.0-canary.199534d61.0",
23+
"@material/theme": "^4.0.0-canary.199534d61.0",
24+
"@material/touch-target": "^4.0.0-canary.199534d61.0",
25+
"@material/typography": "^4.0.0-canary.199534d61.0"
2626
}
2727
}

packages/mdc-card/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material/card",
3-
"version": "3.2.0",
3+
"version": "4.0.0-canary.199534d61.0",
44
"description": "The Material Components for the web card component",
55
"license": "MIT",
66
"keywords": [
@@ -14,11 +14,11 @@
1414
"directory": "packages/mdc-card"
1515
},
1616
"dependencies": {
17-
"@material/elevation": "^3.1.0",
18-
"@material/feature-targeting": "^3.1.0",
19-
"@material/ripple": "^3.2.0",
20-
"@material/rtl": "^3.2.0",
21-
"@material/shape": "^3.1.0",
22-
"@material/theme": "^3.1.0"
17+
"@material/elevation": "^4.0.0-canary.199534d61.0",
18+
"@material/feature-targeting": "^4.0.0-canary.199534d61.0",
19+
"@material/ripple": "^4.0.0-canary.199534d61.0",
20+
"@material/rtl": "^4.0.0-canary.199534d61.0",
21+
"@material/shape": "^4.0.0-canary.199534d61.0",
22+
"@material/theme": "^4.0.0-canary.199534d61.0"
2323
}
2424
}

0 commit comments

Comments
 (0)