Commit Graph

3347 Commits

Author SHA1 Message Date
tinayuangao c975ca8746 feat(tree): merge tree branch to master (#9796) 2018-02-22 08:15:02 -08:00
Anthony Barone 4a36cf63d1 chore(menu): fix incorrect docs example (#10077) 2018-02-22 07:25:13 -08:00
Kristiyan Kostadinov fe493457b5 chore(bidi): update docs to be explicit about only looking at elements within Angular (#10076) 2018-02-21 15:48:20 -08:00
Roy 57babcf5ef docs(tooltip): fix typo left/right (#10069) 2018-02-21 13:34:43 -08:00
Operations Research Engineering Software+ 74116cf9f3 docs: fix table documentation (#9811) 2018-02-21 09:51:23 -08:00
CDDelta 355ebf8df0 docs(snackbar): add position example (#10000) 2018-02-21 09:50:15 -08:00
Juliano c6915e33ac docs(datepicker): improve and fix month picker example (#10008) 2018-02-21 09:49:41 -08:00
Paul Gschwendtner 514fa91418 build: publish docs-content based on branch (#10020) 2018-02-21 09:48:53 -08:00
Joey Perrott 27e33e0144 fix(cdk-dialog): decorate dialog as an injectable (#10052) 2018-02-21 09:48:26 -08:00
Andrew Seguin 186973044f chore: bump 6.0.0-beta.2 w/ changelog (#10056)
* chore: bump 6.0.0-beta.2 w/ changelog

* add button toggle
2018-02-20 17:04:50 -08:00
Joey Perrott 8473a410ee chore: remove IE11 from saucelab tests (#10047) 2018-02-20 12:16:24 -08:00
Kristiyan Kostadinov af26b01dfe chore: fix example compilation error (#10049)
Fixes a compilation error in the examples, presumably due to a faulty rebase.
2018-02-20 11:33:10 -08:00
Kristiyan Kostadinov 1e2b79af82 fix(expansion-panel,menu,select): nested animations not working (#9134)
Fixes issues with the expansion panel, menu and select animations where the child animations were being blocked by the parent ones.

**Note:** the menu animations needed a bit more refactoring since the old approach wasn't very idiomatic and made it harder to run the parallel animations.

Fixes #8814.
Fixes #8953.
2018-02-20 10:21:42 -08:00
Kristiyan Kostadinov 959804b26b chore(menu): fix incorrect docs example (#9954)
Fixes an incorrect example in the menu docs and the `matMenuContent` being used incorrectly in a unit test.

Fixes #9944.
2018-02-20 07:38:18 -08:00
VTHINKXIE 0e11849272 chore(autosize): fix test name in autosize spec (#9941) 2018-02-20 07:37:55 -08:00
Juliano 8ff51aeb97 docs(select): Change select's openedChange output comment (#9934) 2018-02-20 07:37:10 -08:00
Kristiyan Kostadinov 2abdb654f9 chore: fix e2e axe failure (#9929) 2018-02-20 07:36:38 -08:00
Austin 042eb71e71 docs(examples): fix svg icon example not working #9220 (#10013) 2018-02-20 07:36:09 -08:00
mmalerba e1ca3d0049 chore: rename label in readme (#9988) 2018-02-20 07:35:43 -08:00
Jeremy Elbourn 00a6c902c1 fix(badge): move styles into the theme mixin (#9999)
The badge styles were defined _outside_ the mixin, meaning they were being included any time the file was imported.
2018-02-20 07:34:45 -08:00
Jeremy Elbourn 6276efc7e0 chore: 6.0.0-beta.1 w/ changelog (#9936) 2018-02-20 07:32:02 -08:00
Austin 45399c60d2 feat(schematics): add material scaffolding schematic (#9883) 2018-02-18 13:24:36 -08:00
Kristiyan Kostadinov 17255e10df chore: fix lint warning (#10001)
Fixes a trailing whitespace that was breaking the tslint check.
2018-02-18 07:32:53 -08:00
timmoy f38bcd9292 feat(select): add option to disable option-based alignment (#9885) 2018-02-17 17:21:20 -08:00
Kristiyan Kostadinov aed7e8aa0a fix(badge): incorrectly setting aria-describedby (#9957)
* With the current setup, the badge component will set an `aria-describedby` message that doesn't correspond to the actual description, because it does the describing before its description has been updated. These changes make it so it uses the actual description.
* Fixes the aria description not being removed once the badge is destroyed.
* Cleans up the badge testing setup.
2018-02-17 17:12:47 -08:00
Joey Perrott f30609ce48 feat(typography): add letter-spacing configuration to typography configs. (#9932) 2018-02-17 17:12:19 -08:00
Kristiyan Kostadinov 9d19291feb fix(button): inconsistent overflow value between browsers (#9933)
By default most browsers will set the button overflow to `visible`, however it's `hidden` on IE. This is particularly visible on buttons with badges. These changes add a default value so the buttons are consistent between browsers.
2018-02-17 17:11:38 -08:00
Kristiyan Kostadinov 9d784a04d3 fix(bottom-sheet): inject correct directionality in child components (#9996)
Currently the `MatBottomSheetConfig.direction` property will add the `dir` attribute to the overlay, however that doesn't mean that child components that inject the `Directionality` will be able to pick it up (e.g. sliders, menus etc.). These changes add an extra injection token that'll expose the direction to child components.
2018-02-17 17:10:59 -08:00
Juliano 8e3ab8d40b refactor(datepicker): move keyboard events handlers into the views (#9775) 2018-02-17 17:09:59 -08:00
tinayuangao 949a69bcf7 fix(chips): Fix chip and chip list selectable (#9955) 2018-02-17 16:57:11 -08:00
Kristiyan Kostadinov c819267267 fix(aria-describer): better handling of non-string values (#9959)
Currently the `AriaDescriber` assumes that any values being described are going to be strings, however that may not be the case if a value is being passed it directly from the view. These changes add an extra check in order to avoid having to do null checks on consumption (see #9957).
2018-02-17 16:54:58 -08:00
Paul Gschwendtner e6e2091f80 fix(selection-list): incorrect cursor if disabled (#9963)
* Currently if a list option is disabled through the `[disabled]` binding, the disabled option still has the `pointer` cursor.
* No longer delegates the keydown event to the ListKeyManager when disabled. Right now there can be an exception because all items are disabled. See #9981.

Fixes #9952.
2018-02-17 16:52:48 -08:00
Kristiyan Kostadinov 872e3e051a fix(platform): potential error if CSS object is undefined (#9968)
Fixes a potential error if the global `CSS` object is undefined.

Fixes #9801.
2018-02-17 16:51:23 -08:00
Kristiyan Kostadinov 5ca154b19b fix(menu): not picking up indirect descendant items (#9971)
Fixes the menu directive not picking up menu items that aren't direct descendants of the panel.

Fixes #9969.
2018-02-17 16:49:44 -08:00
Kristiyan Kostadinov 1b2f90ce82 fix(badge): hard to see in high contrast mode (#9973)
Fixes the badge directive being hard to see in high contrast mode due to its background blending in with the app background.
2018-02-17 16:49:00 -08:00
Paul Gschwendtner 230e22babb fix(list-key-manager): infinite loop if all items are disabled (#9981)
Currently if the `ListKeyManager` is being used in wrap mode, and all items are disabled, pressing the down arrow key will cause the key manager to go into an infinite loop that searches for the next item.

Related #9963
2018-02-17 16:48:20 -08:00
Kristiyan Kostadinov 9914312005 fix(select): icons inside option not centered (#9982)
Fixes `mat-icon` instances inside a `mat-option` not being centered vertically.

Fixes #9978.
2018-02-17 16:46:10 -08:00
Kristiyan Kostadinov 47674f1e06 fix(overlay): default to global directionality (#9994)
Currently overlays default to the `ltr` direction, which means that consumers, whose apps are in RTL, have to pass in the direction explicitly for every overlay. These changes switch to taking the default direction from the global `Directionality` which is based on the `body` and `html` elements.

Fixes #9817.
2018-02-17 16:44:41 -08:00
Kristiyan Kostadinov e24bb4254c fix(tabs): ink bar not visible in high contrast mode (#9997)
Adds a fallback that makes the ink bar visible in high contrast mode, allowing users to see which tab is selected.
2018-02-17 16:42:21 -08:00
michael theodorides ea3a01e7f1 fix(progress spinner) : fix flickering animation (#9833) 2018-02-17 16:40:15 -08:00
Kristiyan Kostadinov 06b401774b fix(badge): AoT and server-side rendering errors (#9935)
* Adds the badge component to the kitchen sink checks.
* Fixes an AoT error due to a reference to a private property in the `host` binding.
* Fixes a server-side rendering error due to a usage of `requestAnimationFrame`.
2018-02-17 16:34:32 -08:00
Kristiyan Kostadinov bd7a408c63 fix(badge): remove top-level ampersand selectors from theme mixin (#9991)
Fixes the badge theme not compiling in some cases, because it contains a couple of top-level ampersand selectors.

Fixes #9990.
2018-02-17 16:23:05 -08:00
timmoy f6537a18ff docs(theming): update mat-color usage for numeric hue and -contrast modifier (#9977) 2018-02-17 07:06:43 -08:00
Kristiyan Kostadinov 73bc948faa build: fix select test failure on smaller devices (#9958)
Fixes one of the select positioning tests failing when running on a smaller device where the test component gets pushed too far down.
2018-02-15 11:16:26 -08:00
Paul Gschwendtner d84612eac7 build: conditional travis build stages (#9949)
No longer runs the build artifacts, docs-content, dashboard, screenshot deployment tasks on Pull Requests. This means that there aren't any noop jobs running anymore
2018-02-14 10:01:35 -08:00
Kristiyan Kostadinov 4c3e385b00 build: enforce that deprecated APIs have a deletion target (#9931)
Follow-up from #9881. Ensures that anything marked with `@deprecated` also has a `@deletion-target`.
2018-02-13 11:34:47 -08:00
Paul Gschwendtner ab930cf87b build: publish artifacts based on branch (#9919)
Build artifacts will be published differently for different branches. For example, commits in `master` will be published on the `master` branch on the `*-builds` repository. `5.2.x` commits will be published on the `5.2.x` branch on the `*-builds` repository.

Tags on the build repositories will be explicit to indicate from what branch they come. The version placeholders (in the build output) will be similar as before, and won't contain any information about the branch. e.g. `5.2.x-5.2.1-43s435s` will look bad.
2018-02-13 10:35:40 -08:00
Jeremy Elbourn 729d3a1699 chore(badge): fix bad import path in demo-app (#9926) 2018-02-13 10:32:16 -08:00
Austin c98d217dfe feat(badge): add badge component (#7483) 2018-02-13 07:55:21 -08:00
Paul Gschwendtner 2f891e64f6 build: enforce consistent version names (#9917)
Ensures that versions are following a consistent format before publishing. e.g. versions like `6.0.0-beta-0` is not valid, because the last dash should be actually a dot.

Closes #9910.
2018-02-13 07:53:32 -08:00