Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 286ce4d

Browse files
authored
Merge branch 'master' into patch-1
2 parents 531b33f + 75ddf28 commit 286ce4d

File tree

7 files changed

+34
-24
lines changed

7 files changed

+34
-24
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ branches:
55
matrix:
66
include:
77
# Unit tests on Node Stable
8-
- node_js: node
8+
- node_js: 7
99
env:
1010
global:
1111
- SAUCE_USERNAME=material-sauce

CHANGELOG.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="0.12.1"></a>
2+
## [0.12.1](https://github.com/material-components/material-components-web/compare/v0.12.0...v0.12.1) (2017-05-31)
3+
4+
5+
### Bug Fixes
6+
7+
* Include the JavaScript for linear-progress (#760) (#759) ([94e2221](https://github.com/material-components/material-components-web/commit/94e2221)), closes [#759](https://github.com/material-components/material-components-web/issues/759)
8+
9+
110
<a name="0.12.0"></a>
211
# [0.12.0](https://github.com/material-components/material-components-web/compare/v0.11.1...v0.12.0) (2017-05-30)
312

@@ -32,7 +41,7 @@
3241

3342
### BREAKING CHANGES
3443

35-
* dialog: - Dialogs do not require a style="visibility:hidden" attribute in html.
44+
* dialog: - Dialogs do not require a style="visibility:hidden" attribute in html.
3645
- registerTransitionEndHandler, deregisterTransitionEndHandler, and isDialog methods must be implemented by the adapter
3746

3847

@@ -126,21 +135,21 @@
126135
### BREAKING CHANGES
127136

128137
* dialog: There are a few changes that need to be taken into
129-
account for this commit:
130-
131-
- Dialogs no longer require an `aria-hidden="true"` attribute.
132-
- Dialogs _do_ require a `style="visibility:hidden"` attribute for
133-
correct first render.
134-
- `trapFocusOnSurface` and `untrapFocusOnSurface` methods must be
135-
implemented for the adapter
136-
- `hasClass`, `setAttr`, `registerFocusTrappingHandler`,
137-
`deregisterFocusTrappingHandler`, `numFocusableTargets`,
138-
`setDialogFocusFirstTarget`, `setInitialFocus`,
139-
`getFocusableElements`, `saveElementTabState`,
140-
`restoreElementTabState`, `makeElementUntabbable`, `setBodyAttr`,
141-
`rmBodyAttr`, `getFocusedTarget`, and `setFocusedTarget` have all been
142-
removed from the adapter.
143-
- `applyPassive`, `saveElementTabState`, and `restoreElementTabState`
138+
account for this commit:
139+
140+
- Dialogs no longer require an `aria-hidden="true"` attribute.
141+
- Dialogs _do_ require a `style="visibility:hidden"` attribute for
142+
correct first render.
143+
- `trapFocusOnSurface` and `untrapFocusOnSurface` methods must be
144+
implemented for the adapter
145+
- `hasClass`, `setAttr`, `registerFocusTrappingHandler`,
146+
`deregisterFocusTrappingHandler`, `numFocusableTargets`,
147+
`setDialogFocusFirstTarget`, `setInitialFocus`,
148+
`getFocusableElements`, `saveElementTabState`,
149+
`restoreElementTabState`, `makeElementUntabbable`, `setBodyAttr`,
150+
`rmBodyAttr`, `getFocusedTarget`, and `setFocusedTarget` have all been
151+
removed from the adapter.
152+
- `applyPassive`, `saveElementTabState`, and `restoreElementTabState`
144153
have all been removed from `mdcDialog.util`.
145154
* grid-list: Adds getNumberOfTiles to grid-list's adapter API. Please update adapters to implement getNumberOfTiles.
146155

@@ -212,7 +221,7 @@ to properly align its contents.
212221
### BREAKING CHANGES
213222

214223
* select: **New adapter method:** `getValueForOptionAtIndex(index: string) => string`
215-
should return the "value" of the option at the given index. Please add
224+
should return the "value" of the option at the given index. Please add
216225
this method to your adapter implementations.
217226
* menu: adapters have to implement the new `getAccurateTime`
218227
method.

demos/switch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<div class="mdc-toolbar-fixed-adjust"></div>
6868
<section class="hero">
6969
<div class="mdc-switch">
70-
<input type="checkbox" id="basic-switch" class="mdc-switch__native-control" />
70+
<input type="checkbox" class="mdc-switch__native-control" />
7171
<div class="mdc-switch__background">
7272
<div class="mdc-switch__knob"></div>
7373
</div>

packages/material-components-web/package.json

Lines changed: 2 additions & 2 deletions
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": "0.12.0",
4+
"version": "0.12.1",
55
"license": "Apache-2.0",
66
"keywords": [
77
"material components",
@@ -27,7 +27,7 @@
2727
"@material/grid-list": "^0.2.3",
2828
"@material/icon-toggle": "^0.1.12",
2929
"@material/layout-grid": "^0.1.2",
30-
"@material/linear-progress": "^0.1.0",
30+
"@material/linear-progress": "^0.1.1",
3131
"@material/list": "^0.2.9",
3232
"@material/menu": "^0.2.7",
3333
"@material/radio": "^0.2.5",

packages/mdc-dialog/mdc-dialog.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ $mdc-dialog-dark-theme-bg-color: #303030 !default;
135135
padding: 8px;
136136

137137
&__button {
138-
margin-right: 8px;
138+
@include mdc-rtl-reflexive-box(margin, right, 8px);
139139

140140
&:last-child {
141-
margin-right: 0;
141+
@include mdc-rtl-reflexive-box(margin, right, 0);
142142
}
143143
}
144144
}

packages/mdc-linear-progress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material/linear-progress",
33
"description": "The Material Components for the web linear progress indicator component",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"license": "Apache-2.0",
66
"keywords": [
77
"material components",

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ module.exports = [{
8181
formField: [path.resolve('./packages/mdc-form-field/index.js')],
8282
gridList: [path.resolve('./packages/mdc-grid-list/index.js')],
8383
iconToggle: [path.resolve('./packages/mdc-icon-toggle/index.js')],
84+
linearProgress: [path.resolve('./packages/mdc-linear-progress/index.js')],
8485
menu: [path.resolve('./packages/mdc-menu/index.js')],
8586
radio: [path.resolve('./packages/mdc-radio/index.js')],
8687
ripple: [path.resolve('./packages/mdc-ripple/index.js')],

0 commit comments

Comments
 (0)