Commit Graph

69 Commits

Author SHA1 Message Date
Paul Gschwendtner a3ab5e3d5f build: branch manager should use "7.3.x" as patch branch (#15097)
Updates the branch manager to validate patch PRs against the
`7.3.x` branch. This is necessary because currently some PRs
are marked as failing because they no longer apply to the
outdated `7.2.x` branch.
2019-02-06 11:11:18 -08:00
Paul Gschwendtner b774e8102f build: fix syntax error within codeowners file (#15014)
Since https://github.com/angular/material2/commit/88601fa51d581f538468a9b63890b0e285e519cb landed, it seems that the Github codeowner's are no longer working. This is because globs with such negations are not supported within the `CODEOWNERS` file

The exclusion of `.d.ts` files shouldn't be necessary anyway since the last match in the `CODEOWNERS` file takes precedence over previous matches.
2019-01-30 12:08:36 -08:00
Joey Perrott 96af473e1f chore: remove duplicate feature template entries (#14916) 2019-01-23 11:18:12 -08:00
Kristiyan Kostadinov 88601fa51d build: distribute public api guard files by code owner (#14876)
Distributes the public API guard files under their corresponding code owner, rather than falling under the tooling owners.
2019-01-17 16:00:13 -08:00
Joey Perrott 9e74f9d73c chore: reenable branch-manager (#14767) 2019-01-09 11:19:06 -08:00
Paul Gschwendtner 99149709b9 build: temporary disable branch manager (#14600)
Until Joey is back from vacation
2018-12-20 17:28:58 -08:00
Paul Gschwendtner bba9af88d6 build: update branch manager config (#14580) 2018-12-19 11:20:33 -08:00
Paul Gschwendtner 48d6907d24 build: temporarily disable robot size plugin (#14525) 2018-12-17 20:17:13 -08:00
Joey Perrott bc8fc75bf8 chore: create branch-manager.yml config file (#14523) 2018-12-14 09:13:03 -08:00
Joey Perrott a0bcd81e39 chore: update issue templates (#14338) 2018-12-04 15:36:47 -08:00
Paul Gschwendtner a08ae9a52e build: better sharing of material test utilities (#13885)
* The slide toggle tests no longer import the test gesture config from `../slider/`
* The datepicker month constants from `@angular/material/core` have been moved to `lib/testing`. The old export from `core` will be kept for backwards compatibility until V8
2018-11-27 07:49:59 -08:00
Paul Gschwendtner 6d7f417392 build: restructure demo-app in favor of bazel (#13965)
Restructures the demo-app by no longer mixing up the `demo-app` name.

Currently the `demo-app` consists of two parts:

  * The demo-app
  * And the accessibility demos

As you can tell above, this is pretty much confusing because it's
technically just consisting of:

  * Accessibility demos
  * Library demos

This change cleans up the naming and makes sure that the modules are
structured in a best-practice way.

It's odd to have the `DemoAppModule` (*not the root module*) that
includes all library demos as a folder next to the actual demo
components.

This makes it extremely hard to convert the demo-app to Bazel because
we cannot target all `.ts` files through `glob` because it only matches
files inside of the same folder (or Bazel package).

In order to make it easy to run the demo-app with Bazel, and to just
clean it up, the folder structure should be as followed:

```
src/a11y-demo/
  | ...

src/dev-app/
  | ${DEMO_COMPONENT}
     | ...
     | BUILD.bazel
  | index.html
  | BUILD.bazel
```
2018-11-15 07:50:46 -08:00
Paul Gschwendtner 7730f457d4 build: increase max size limit of angular robot (#14082)
* Increases the max size limit becaue 1KB limit is currently **way** too less. Causing all simple PRs with small changes to exceed the limit.
2018-11-12 15:41:16 -08:00
Paul Gschwendtner 3e7ae68c52 build: no longer use travis-ci (#14064) 2018-11-09 11:15:27 -08:00
Paul Gschwendtner f6bfcffbb1 build: enable size plugin from angular robot (#14025)
* build: enable size plugin from angular robot

* Improve comment
2018-11-07 13:58:39 -08:00
Kristiyan Kostadinov 0c00e70542 refactor(overlay): convert fullscreen overlay container e2e tests into unit tests (#13657) 2018-10-18 09:17:33 -07:00
Paul Gschwendtner b6fbe65631 chore: update required statuses for github robot (#13639) 2018-10-16 16:53:16 -04:00
Jeremy Elbourn 4bee73b3af chore: remove amcdnl from codeowners (#13411) 2018-10-03 14:15:55 -07:00
Paul Gschwendtner 6b6cf45098 refactor(schematics): foundation for cdk schematics (#13213)
* Moves the utility functions which will be needed for building CDK schematics to the CDK (`cdk/schematics`).
* Updates package tools to properly build schematics for CDK and Material (shared logic for building schematics; Material schematics depend on CDK schematics)
* Update to `ng-add`: The Angular CLI only installs `@angular/material` if someone runs `ng add @angular/material`. But since we need access to the utility functions from the CDK, we need to install the dependencies first, and then setup the project.
2018-09-20 10:39:31 -07:00
Kristiyan Kostadinov 52473f5ab9 feat(drag-drop): move into cdk (#12758)
Moves the `drag-drop` module from `cdk-experimental` to `cdk`.
2018-08-21 11:26:39 -07:00
Jeremy Elbourn 6a02b94ed2 chore: remove tinayuangao from codeowners (#12444) 2018-07-31 16:47:01 -07:00
Kristiyan Kostadinov 27811a3329 feat: add experimental drag-drop package (#11864) 2018-06-28 08:46:44 -07:00
Jeremy Elbourn e66df3e45f chore: make merge-ready not required for PR status to be green (#11769) 2018-06-13 11:53:45 -07:00
mmalerba f59658d848 virtual-scroll: merge into master under cdk-experimental (#11354)
* feat(virtual-scroll): fixed size virtual scroll (#9316)

* feat(virtual-scroll): fixed size virtual scroll

* address some comments

* change VirtualScrollStrategy interface a bit

* address some more comments

* fix lint & build

* chore: move virtual-scroll to cdk-experimental (#9974)

* virtual-scroll: simplify scroll listener logic (#10102)

* virtual-scroll: only move views that need to be moved (#10099)

* virtual-scroll: only move views that need to be moved

* address comments

* virtual-scroll: switch `throttleTime` to `sampleTime` (#10179)

* virtual-scroll: switch throttleTime to sampleTime

* add comment

* virtual-scroll: allow user to pass `Observable<T[]>` (#10158)

* virtual-scroll: rename `Range` to `ListRange` to avoid confusion with native `Range` (#10220)

* virtual-scroll: add autosize scroll strategy (#10219)

* rename fixed size virtual scroll directive

* add autosize virtual scroll strategy

* add item size estimator class

* add logic for jumping rendered content based on scroll position

* address comments

* virtual-scroll: add `onContentRendered` hook to `VirtualScrollStrategy` (#10290)

* virtual-scroll: add `onContentRendered` hook to `VirtualScrollStrategy`

* address comemnts

* virtual-scroll: add incremental scroll logic in `AutosizeVirtualScrollStrategy` (#10504)

* virtual-scroll: add incremental scroll logic in `AutosizeVirtualScrollStrategy`.

This still has a couple issues that need to be ironed out and it doesn't
have the code for correcting the error between the predicted and actual
scroll position. (See various TODOs for additional things that need
work).

* fix lint

* address comments

* address comments

* fix bazel

* fix devapp

* fix lint

* cleanup

* virtual-scroll: rewrite offset in terms of "to-top" and fix a bug where items were removed too soon (#10986)

* rewrite offsets to the end of the rendered content as offsets to the
start

* add some more autosize demos for testing

* make sure not to remove too many items

* address comments

* virtual-scroll: address amcdnl's feedback (#10988)

* rewrite offsets to the end of the rendered content as offsets to the
start

* add some more autosize demos for testing

* make sure not to remove too many items

* virtual-scroll: address amcdnl's feedback

* virtual-scroll: fix updating when data changes and add trackBy demos (#11085)

* virtual-scroll: add logic to correct the scroll position as user move… (#11137)

* virtual-scroll: add logic to correct the scroll position as user moves toward the top

* address comments

* fix(scrolling): adds right to fix pushed content (#11192)

* fix(scrolling): adds right to fix pushed content

* chore: address feedback

* chore: address pr feedback

* virtual-scroll: add tests for fixed size items (#11255)

* virtual-scroll: add tests for fixed size items

* address comments

* fix bug in fixed size strategy

* fix bazel build

* virtual-scroll: add tests for `cdkVirtualFor` logic (#11275)

* merge fixed size test components into one

* add tests for cdkVirtualFor logic

* allow undefined to be explicitly passed as trackBy

* fix bazel build

* address comments

* add some basic tests (#11295)

* fix lint

* virtual-scroll: add e2e tests for autosize scroll strategy (#11345)

* set up virtual scroll page in e2e app

* add gulp task for e2e:watch

* add e2e tests for autosize

* address comments

* address comments

* fix lint and tests

* fix bad rebase

* fix(scrolling): scrollbar jump when data change on scroll (#11193)

* fix(scrolling): data change not updating size

* chore: remove todo

* chore: more performant fix for jump
2018-05-22 09:19:56 -07:00
Joey Perrott ab1204d268 chore: require merge ready label for angular robot (#11161) 2018-05-04 11:22:17 -07:00
Fabian Wiles 95409888a2 ci: add config for size plugin of the github rebot (#11120) 2018-05-03 08:54:04 -07:00
Joey Perrott 29bf02427a chore: do not require reviews for material github bot (#11095) 2018-05-01 14:39:30 -07:00
Joey Perrott 38ea9373ab chore: remove @kara from codeowners as she no longer works on material2 (#11092) 2018-05-01 14:37:55 -07:00
Andrew Seguin 1ee9c5f967 chore(demo): add examples to demo app (#11018)
* chore(demo): add examples to demo app

* fix aot
2018-04-27 18:43:36 -07:00
Joey Perrott b384c3730c chore: update angular robot labels and required statuses (#11032) 2018-04-26 11:02:57 -07:00
Andrew Seguin 6dd6080d58 Revert "chore(demo): add examples to demo app (#10743)" (#11017)
This reverts commit 68b1f2afeb.
2018-04-25 22:01:12 -07:00
Andrew Seguin 68b1f2afeb chore(demo): add examples to demo app (#10743)
* chore(demo): add examples to demo app

* fix polyfill
2018-04-25 21:58:54 -07:00
Olivier Combe ce53671111 ci: fix github bot config file extension (#11011) 2018-04-25 15:44:38 -04:00
mmalerba b45960df67 chore(paginator): add paginator demo (#10893)
* chore(paginator): add paginator demo

* fix path
2018-04-17 10:48:25 -07:00
Joey Perrott ddb443aba6 chore: set up angular-robot for repo (#10840) 2018-04-16 11:52:32 -07:00
Jeremy Elbourn 872952efb9 build: add ng_package rule for @angular/material (#10625)
In order to make this work, this includes:
* Move schematics under src/lib
* Change sass rules to omit sourcemaps
* Add cdk/text-field and lib/tree to packages list
* Add bazel rules for prebuilt themes
* Add html assets to all ng_module rules
* Point all ng_module rules to a package common tsconfig
* Add missing index.ts for src/lib
* Add bazel rules for schematics
* Fix incorrect module_name for hyphenated lib ng_module rules
* Add NgModules to `imports` of the example module (formerly were just
exports)
2018-03-30 11:45:00 -07:00
Kristiyan Kostadinov 27e5f6e3bc feat(overlay): add support for flexible connected positioning (#9153)
* Adds the `FlexibleConnectedPositionStrategy` that builds on top of the `ConnectedPositionStrategy` adds the following:
  * The ability to have overlays with flexible sizing.
  * Being able to push overlays into the viewport if they don't fit.
  * Having a margin between the overlay and the viewport edge.
  * Being able to assign weights to the overlay positions.
* Refactors the `ConnectedPositionStrategy` to use the `FlexibleConnectedPositionStrategy` in order to avoid breaking API changes.
* Switches all of the components to the new position strategy.
* Adds an API to the `OverlayRef` that allows for the consumer to wrap the pane in a div. This is a common requirement between the `GlobalPositionStrategy` and the `FlexibleConnectedPositionStrategy`, and it's easier to keep track of the elements when the attaching and detaching is done in the `OverlayRef`.

Fixes #6534.
Fixes #2725.
Fixes #5267.
2018-03-14 16:13:59 -07:00
mmalerba ced9c90bee feat(cdk-input): move input autofill and autosize utils into cdk (#9831)
* move autofill to cdk

* move textarea autosize into cdk

* fix bazel build

* rename input to text-field

* set resize back to none for autosize in input css

* fix tsconfig
2018-03-13 09:00:11 -07:00
tinayuangao c975ca8746 feat(tree): merge tree branch to master (#9796) 2018-02-22 08:15:02 -08:00
Austin c98d217dfe feat(badge): add badge component (#7483) 2018-02-13 07:55:21 -08:00
Austin 673d56e2fb feat(schematics): add initial schematics utils (#9451)
* feat(schematics): add initial schematics utils

* chore: nit

* chore: pr feedback

* chore: pr feedback

* chore: add code owner
2018-02-06 09:41:15 -08:00
Kristiyan Kostadinov bbf62cdd6c feat: add bottom sheet component (#9764)
* Adds an initial implementation of the new `MatBottomSheet` service that allows users to display component-based or template-based bottom sheets.
* Sets up the various boilerplate and infrastructure necessary for a new component.

Note: this is an initial implementation that has the necessary functionality, styles and accessibility. More docs, examples and touch gestures will be added in a follow-up.
2018-02-06 09:31:11 -08:00
Jeremy Elbourn 3352201eab chore: remove plunker from issue template (#9614) 2018-01-26 07:37:58 -08:00
Paul Gschwendtner 2957d584b8 chore: move cdk dialog to cdk-experimental (#9285)
* Moves the cdk dialog package from `material-experimental` to the `cdk-experimental` package.
2018-01-12 09:40:48 -08:00
CaerusKaru bd0ec64932 feat(divider): move divider out of mat-list (#5862) 2017-12-21 11:32:00 -08:00
Joey Perrott 1121d53af7 chore: create cdk-experimental package (#9059) 2017-12-19 16:45:54 -08:00
Joey Perrott 4d675d6aac Create Dialog in CDK. (#8844) 2017-12-14 15:33:44 -08:00
Paul Gschwendtner 71305ce8f6 build: add material experimental package (#8591)
* Adds the material-experimental package.
2017-11-29 13:46:04 -08:00
Kristiyan Kostadinov d6fec3573c feat(form-field): add support for separate label and placeholder (#8223)
* feat(form-field): add support for separate label and placeholder

* Adds the ability for the user to specify both a label and placeholder text for a form field.
* Renames all of the "floating placeholder" related terminology to refer to a "floating label" instead.
* Aligns the input placeholder color with the Material spec.

Fixes #6194.

* fix: add transition to placeholder text
2017-11-28 12:09:27 -08:00
Paul Gschwendtner 3c3aadcf67 chore: update codeowners file (#8615)
* Adds`@devversion` as code owner for list and common-behaviors.
2017-11-28 10:33:24 -08:00