Commit Graph

54 Commits

Author SHA1 Message Date
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
Jeremy Elbourn fe511acc14 chore: add circleci dir to code owners (#8463) 2017-11-15 14:55:06 -08:00
Joey Perrott f6b80f4358 chore: update plunker short link (#8137) 2017-10-30 15:08:57 -07:00
Kristiyan Kostadinov f29da63583 feat: update to rxjs 5.5.0 and switch to lettable operators (#7276)
Bumps the required RxJS version to 5.5.0 and gets rid of our RxChain in favor of using the lettable Rx operators. Refactors all the usages and updates the configs.

Fixes #7275.
2017-10-28 09:37:43 -07:00
Kristiyan Kostadinov dcef604506 refactor: remove compatibility mode (#7689)
Since the switch to the `mat-` prefix, the compatibility mode is no longer necessary. These changes remove anything that was left.

BREAKING CHANGE:
The `MATERIAL_COMPATIBILITY_MODE`, `CompatibilityModule`, `NoConflictStyleCompatibilityMode`, `MatPrefixRejector`, `MdPrefixRejector` symbols have been removed.
2017-10-27 09:56:04 -07:00
mmalerba c46ba07151 lint: ensure all files are owned by someone (#7937)
* lint: ensure all files are owned by someone

* address comments
2017-10-23 13:20:29 -07:00
Joey Perrott f5d1a23ba1 chore: update issue template & readme w/ stackblitz links (#7395) 2017-09-28 15:28:22 -07:00
Paul Gschwendtner 2b7475576d chore: add codeowner for moment adapter package (#6691)
* Adds @mmalerba as codeowner for the new Material moment adapter package.
2017-08-29 19:40:38 -07:00
Andrew Seguin c90ca55ef3 chore(cdk): create cdk/collections (#6208) 2017-08-22 17:45:40 -07:00
Jeremy Elbourn 9df292fba8 feat: rename cdk/keyboard -> keycodes & cdk/observe-content -> observers (#6039) 2017-08-08 23:19:32 -07:00
Paul Gschwendtner 3c19234d35 chore: fix invalid paths for codeowner folders (#6191)
The GitHub code owners feature does not work properly right now because the different paths/globs to the folders (like the `input`)  are not matching at all.

This is because the paths are not absolute nor relative paths but still include a directory name. This does not work properly and can be confirmed by playing with the `.gitignore` (which has the same pattern matching)
2017-08-01 12:51:52 -07:00
Paul Gschwendtner e2d61c78f9 chore: incorrect path for tools in codeowners (#5830) 2017-07-18 14:44:02 -07:00
Paul Gschwendtner 810e564c9b chore: codeowners need to match files (#5783)
* Currently the CODEOWNERS file only matches the directories and not directly the source files that are belonging to a specific owner.
2017-07-17 11:12:20 -07:00
Jeremy Elbourn 81af44904d chore: add CODEOWNERS file (#5774) 2017-07-14 15:04:02 -07:00
Jeremy Elbourn 25edfd1f64 chore(changelog): add missing note about TS 2.2 (#4518) 2017-05-12 14:37:12 -07:00
Kara bdbda7154a chore: update default plunker link 2017-03-02 16:01:06 -08:00