From fde980c8ad57a803c7bf6ca0d909cedccc354f06 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Thu, 25 Apr 2019 13:19:41 -0700 Subject: [PATCH] chore: update "material2" to "components" (#15905) This should capture things that reference the GitHub repository. There are many other places we use "material2" that we can clean up in subsequent changes. --- .circleci/config.yml | 2 +- CONTRIBUTING.md | 12 +++---- DEV_ENVIRONMENT.md | 6 ++-- README.md | 16 +++++----- guides/theming.md | 2 +- guides/typography.md | 2 +- package.json | 8 ++--- .../caretaking/write-presubmit-scheduler.js | 4 +-- scripts/deploy/publish-docs-content.sh | 2 +- src/README.md | 4 +-- src/cdk-experimental/package.json | 6 ++-- src/cdk/package.json | 6 ++-- src/cdk/platform/platform.ts | 2 +- .../ng-update/data/attribute-selectors.ts | 2 +- .../schematics/ng-update/data/class-names.ts | 6 ++-- .../ng-update/data/constructor-checks.ts | 2 +- .../schematics/ng-update/data/input-names.ts | 2 +- .../ng-update/data/method-call-checks.ts | 2 +- .../ng-update/data/property-names.ts | 8 ++--- .../schematics/ng-update/update-schematic.md | 2 +- .../constructorSignatureCheckRule.ts | 2 +- src/cdk/schematics/utils/build-component.ts | 2 +- src/dev-app/dev-app/dev-app-module.ts | 2 +- src/e2e-app/devserver-configure.js | 2 +- src/e2e-app/e2e-app/e2e-app-module.ts | 2 +- src/material-examples/package.json | 6 ++-- .../table-http/table-http-example.ts | 2 +- .../mdc-checkbox/checkbox.ts | 2 +- src/material-experimental/package.json | 6 ++-- src/material-moment-adapter/package.json | 6 ++-- src/material/button-toggle/button-toggle.scss | 2 +- src/material/button/button.scss | 2 +- src/material/card/card.scss | 2 +- .../core/datetime/native-date-adapter.ts | 2 +- src/material/form-field/form-field-input.scss | 4 +-- .../form-field/form-field-legacy.scss | 2 +- .../form-field/form-field-outline.scss | 2 +- src/material/input/input.ts | 2 +- src/material/package.json | 6 ++-- .../progress-spinner/progress-spinner.scss | 2 +- .../progress-spinner/progress-spinner.ts | 2 +- .../schematics/ng-add/theming/theming.ts | 2 +- .../schematics/ng-update/data/class-names.ts | 2 +- .../ng-update/data/constructor-checks.ts | 32 +++++++++---------- .../ng-update/data/css-selectors.ts | 4 +-- .../ng-update/data/element-selectors.ts | 2 +- .../schematics/ng-update/data/input-names.ts | 14 ++++---- .../schematics/ng-update/data/output-names.ts | 8 ++--- .../ng-update/data/property-names.ts | 22 ++++++------- .../misc-checks/checkImportsMiscRule.ts | 2 +- src/material/tabs/tab-header.ts | 2 +- tools/release/publish-release.ts | 2 +- .../release-output/output-validations.ts | 2 +- tools/release/stage-release.ts | 2 +- 54 files changed, 126 insertions(+), 126 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 72d58948c2d..4df0e34e705 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,4 @@ -# Configuration file for https://circleci.com/gh/angular/material2 +# Configuration file for https://circleci.com/gh/angular/components # Note: YAML anchors allow an object to be re-used, reducing duplication. # The ampersand declares an alias for an object, then later the `<<: *name` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b7b7e4b724..3fd96175a32 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -70,13 +70,13 @@ chances of your issue being dealt with quickly: * **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit) -You can file new issues by providing the above information [here](https://github.com/angular/material2/issues/new). +You can file new issues by providing the above information [here](https://github.com/angular/components/issues/new). ### Submitting a Pull Request (PR) Before you submit your Pull Request (PR) consider the following guidelines: -* Search [GitHub](https://github.com/angular/material2/pulls) for an open or closed PR +* Search [GitHub](https://github.com/angular/components/pulls) for an open or closed PR that relates to your submission. You don't want to duplicate effort. * Please sign our [Contributor License Agreement (CLA)](#cla) before sending PRs. We cannot accept code without this. @@ -106,7 +106,7 @@ Before you submit your Pull Request (PR) consider the following guidelines: git push my-fork my-fix-branch ``` -* In GitHub, send a pull request to `material2:master`. +* In GitHub, send a pull request to `components:master`. * If we suggest changes then: * Make the required updates. * Re-run the Angular Material test suites to ensure tests are still passing. @@ -239,9 +239,9 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise [coc]: https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md [commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/preview [corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html -[dev-doc]: https://github.com/angular/material2/blob/master/DEV_ENVIRONMENT.md -[github]: https://github.com/angular/material2 -[gitter]: https://gitter.im/angular/material2 +[dev-doc]: https://github.com/angular/components/blob/master/DEV_ENVIRONMENT.md +[github]: https://github.com/angular/components +[gitter]: https://gitter.im/angular/components [individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html [js-style-guide]: https://google.github.io/styleguide/jsguide.html [codepen]: http://codepen.io/ diff --git a/DEV_ENVIRONMENT.md b/DEV_ENVIRONMENT.md index f76c3615dba..06a6d3fd25b 100644 --- a/DEV_ENVIRONMENT.md +++ b/DEV_ENVIRONMENT.md @@ -3,10 +3,10 @@ 1. Make sure you have `node` installed with a version at _least_ 10.0.0 and `yarn` with a version of at least 1.10.0. We recommend using `nvm` to manage your node versions. 2. Run `yarn global add gulp` to install gulp. -3. Fork the `angular/material2` repo on GitHub. +3. Fork the `angular/components` repo on GitHub. 4. Clone your fork to your machine with `git clone`. - Recommendation: name your git remotes `upstream` for `angular/material2` - and `` for your fork. Also see the [team git shortcuts](https://github.com/angular/material2/wiki/Team-git----bash-shortcuts). + Recommendation: name your git remotes `upstream` for `angular/components` + and `` for your fork. Also see the [team git shortcuts](https://github.com/angular/components/wiki/Team-git----bash-shortcuts). 5. From the root of the project, run `yarn`. diff --git a/README.md b/README.md index 0c15a6de08b..de7083ea433 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Components and Material Design for Angular [![npm version](https://badge.fury.io/js/%40angular%2Fmaterial.svg)](https://www.npmjs.com/package/%40angular%2Fmaterial) -[![Build status](https://circleci.com/gh/angular/material2.svg?style=svg)](https://circleci.com/gh/angular/material2) -[![Gitter](https://badges.gitter.im/angular/material2.svg)](https://gitter.im/angular/material2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) +[![Build status](https://circleci.com/gh/angular/components.svg?style=svg)](https://circleci.com/gh/angular/components) +[![Gitter](https://badges.gitter.im/angular/components.svg)](https://gitter.im/angular/material2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) This is the home for the Angular team's UI components built for and with Angular. These include Material Design components and the Angular Component Development Kit (CDK). @@ -9,7 +9,7 @@ These include Material Design components and the Angular Component Development K #### Quick links [Documentation, demos, and guides][aio] | [Google group](https://groups.google.com/forum/#!forum/angular-material2) | -[Contributing](https://github.com/angular/material2/blob/master/CONTRIBUTING.md) | +[Contributing](https://github.com/angular/components/blob/master/CONTRIBUTING.md) | [StackBlitz Template](https://goo.gl/wwnhMV) ### Getting started @@ -17,18 +17,18 @@ These include Material Design components and the Angular Component Development K See our [Getting Started Guide][getting-started] if you're building your first project with Angular Material. -Check out our [directory of design documents](https://github.com/angular/material2/wiki/Design-doc-directory) +Check out our [directory of design documents](https://github.com/angular/components/wiki/Design-doc-directory) for more insight into our process. -If you'd like to contribute, you must follow our [contributing guidelines](https://github.com/angular/material2/blob/master/CONTRIBUTING.md). +If you'd like to contribute, you must follow our [contributing guidelines](https://github.com/angular/components/blob/master/CONTRIBUTING.md). You can look through the GitHub issues (which should be up-to-date on who is working on which features and which pieces are blocked) and make a comment. -Please see our [`help wanted`](https://github.com/angular/material2/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) +Please see our [`help wanted`](https://github.com/angular/components/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) label for a list of issues where we could use help from the community. #### High level stuff planned for Q1 → Q2 2019 (January - June): -* Most of the Angular Material team is on loan to the framework team +* Most of the Angular Components team is on loan to the framework team helping with [Ivy](https://blog.angular.io/a-plan-for-version-8-0-and-ivy-b3318dfc19f7). We've been using the Angular CDK and Angular Material tests to validate code paths as well as helping debug issues in switching Google applications to the new rendering pipeline. @@ -103,7 +103,7 @@ label for a list of issues where we could use help from the community. [16]: https://material.angular.io/components/slider/overview [17]: https://material.angular.io/components/menu/overview [18]: https://material.angular.io/components/tooltip/overview -[19]: https://github.com/angular/material2/blob/master/src/material/core/ripple/ripple.md +[19]: https://github.com/angular/components/blob/master/src/material/core/ripple/ripple.md [20]: https://material.angular.io/guide/theming [21]: https://material.angular.io/components/snack-bar/overview [22]: https://material.angular.io/components/dialog/overview diff --git a/guides/theming.md b/guides/theming.md index 281a3971215..dfc7af44579 100644 --- a/guides/theming.md +++ b/guides/theming.md @@ -185,7 +185,7 @@ export class UnicornCandyAppModule { ``` #### Theming only certain components -The `angular-material-theme` mixin will output styles for [all components in the library](https://github.com/angular/material2/blob/master/src/material/core/theming/_all-theme.scss). +The `angular-material-theme` mixin will output styles for [all components in the library](https://github.com/angular/components/blob/master/src/material/core/theming/_all-theme.scss). If you are only using a subset of the components (or if you want to change the theme for specific components), you can include component-specific theme mixins. You also will need to include the `mat-core-theme` mixin as well, which contains theme-specific styles for common behaviors diff --git a/guides/typography.md b/guides/typography.md index 43b80fb69f6..4de4b8d9bc9 100644 --- a/guides/typography.md +++ b/guides/typography.md @@ -101,7 +101,7 @@ If you're using Material's theming, you can also pass in your typography config ``` For more details about the typography functions and default config, see the -[source](https://github.com/angular/material2/blob/master/src/material/core/typography/_typography.scss). +[source](https://github.com/angular/components/blob/master/src/material/core/typography/_typography.scss). ### Material typography in your custom CSS diff --git a/package.json b/package.json index b0fe62a969c..892f2c99530 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "material2-srcs", + "name": "components-srcs", "description": "Material Design components for Angular", - "homepage": "https://github.com/angular/material2", - "bugs": "https://github.com/angular/material2/issues", + "homepage": "https://github.com/angular/components", + "bugs": "https://github.com/angular/components/issues", "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "license": "MIT", "engines": { diff --git a/scripts/caretaking/write-presubmit-scheduler.js b/scripts/caretaking/write-presubmit-scheduler.js index 9bcfa0a341a..3b28d677eb3 100755 --- a/scripts/caretaking/write-presubmit-scheduler.js +++ b/scripts/caretaking/write-presubmit-scheduler.js @@ -8,7 +8,7 @@ const github = new GitHubApi(); /** CONFIGURATION: change these things if you want to tweak how the runs are made. */ -/** Path to the local material2. By default based on the location of this script. */ +/** Path to the local components repo. By default based on the location of this script. */ const localRepo = path.resolve(__dirname, '..', '..'); /** Where to write the output from the presubmit script. */ @@ -32,7 +32,7 @@ const githubSearchOptions = { // Use the maximum of allowed items per Github API query. 100 pull requests should be // enough to continuously run presubmits through night. per_page: 100, - q: 'repo:angular/material2 is:open type:pr label:"pr: merge ready" -label:"pr: merge safe"', + q: 'repo:angular/components is:open type:pr label:"pr: merge ready" -label:"pr: merge safe"', }; /** END OF CONFIGURATION. */ diff --git a/scripts/deploy/publish-docs-content.sh b/scripts/deploy/publish-docs-content.sh index e6793e4f805..1a1f7faafb7 100755 --- a/scripts/deploy/publish-docs-content.sh +++ b/scripts/deploy/publish-docs-content.sh @@ -27,7 +27,7 @@ docsContentPath="${projectPath}/tmp/material2-docs-content" examplesPackagePath="$(bazel info bazel-bin)/src/material-examples/npm_package" # Git clone URL for the material2-docs-content repository. -docsContentRepoUrl="https://github.com/angular/material2-docs-content" +docsContentRepoUrl="https://github.com/angular/components-docs-content" # Current version of Angular Material from the package.json file buildVersion=$(node -pe "require('./package.json').version") diff --git a/src/README.md b/src/README.md index 19fce67f930..75bfc410c0f 100644 --- a/src/README.md +++ b/src/README.md @@ -1,6 +1,6 @@ Angular Material ======= -The sources for this package are in the main [Angular Material](https://github.com/angular/material2) repo. Please file issues and pull requests against that repo. +The sources for this package are in the main [Angular Material](https://github.com/angular/components) repo. Please file issues and pull requests against that repo. -License: MIT \ No newline at end of file +License: MIT diff --git a/src/cdk-experimental/package.json b/src/cdk-experimental/package.json index 72e80667e29..5a24fcd3acf 100644 --- a/src/cdk-experimental/package.json +++ b/src/cdk-experimental/package.json @@ -8,13 +8,13 @@ "typings": "./cdk-experimental.d.ts", "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "license": "MIT", "bugs": { - "url": "https://github.com/angular/material2/issues" + "url": "https://github.com/angular/components/issues" }, - "homepage": "https://github.com/angular/material2#readme", + "homepage": "https://github.com/angular/components#readme", "peerDependencies": { "@angular/cdk": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-NG" diff --git a/src/cdk/package.json b/src/cdk/package.json index bc9a6862d68..11aeced2503 100644 --- a/src/cdk/package.json +++ b/src/cdk/package.json @@ -8,7 +8,7 @@ "typings": "./cdk.d.ts", "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "keywords": [ "angular", @@ -19,9 +19,9 @@ ], "license": "MIT", "bugs": { - "url": "https://github.com/angular/material2/issues" + "url": "https://github.com/angular/components/issues" }, - "homepage": "https://github.com/angular/material2#readme", + "homepage": "https://github.com/angular/components#readme", "peerDependencies": { "@angular/core": "0.0.0-NG", "@angular/common": "0.0.0-NG" diff --git a/src/cdk/platform/platform.ts b/src/cdk/platform/platform.ts index 03bb5e4ddcc..545d3c23d49 100755 --- a/src/cdk/platform/platform.ts +++ b/src/cdk/platform/platform.ts @@ -17,7 +17,7 @@ let hasV8BreakIterator: boolean; // cause IE to throw. These cases are tied to particular versions of Windows and can happen if // the consumer is providing a polyfilled `Map`. See: // https://github.com/Microsoft/ChakraCore/issues/3189 -// https://github.com/angular/material2/issues/15687 +// https://github.com/angular/components/issues/15687 try { hasV8BreakIterator = (typeof Intl !== 'undefined' && (Intl as any).v8BreakIterator); } catch { diff --git a/src/cdk/schematics/ng-update/data/attribute-selectors.ts b/src/cdk/schematics/ng-update/data/attribute-selectors.ts index 5625391746c..0e271fc0801 100644 --- a/src/cdk/schematics/ng-update/data/attribute-selectors.ts +++ b/src/cdk/schematics/ng-update/data/attribute-selectors.ts @@ -19,7 +19,7 @@ export interface AttributeSelectorUpgradeData { export const attributeSelectors: VersionChanges = { [TargetVersion.V6]: [ { - pr: 'https://github.com/angular/material2/pull/10257', + pr: 'https://github.com/angular/components/pull/10257', changes: [ { replace: 'cdkPortalHost', diff --git a/src/cdk/schematics/ng-update/data/class-names.ts b/src/cdk/schematics/ng-update/data/class-names.ts index df788601ae0..b5bc6cea9e3 100644 --- a/src/cdk/schematics/ng-update/data/class-names.ts +++ b/src/cdk/schematics/ng-update/data/class-names.ts @@ -19,7 +19,7 @@ export interface ClassNameUpgradeData { export const classNames: VersionChanges = { [TargetVersion.V6]: [ { - pr: 'https://github.com/angular/material2/pull/10161', + pr: 'https://github.com/angular/components/pull/10161', changes: [ { replace: 'ConnectedOverlayDirective', @@ -33,7 +33,7 @@ export const classNames: VersionChanges = { }, { - pr: 'https://github.com/angular/material2/pull/10267', + pr: 'https://github.com/angular/components/pull/10267', changes: [ { replace: 'ObserveContent', @@ -43,7 +43,7 @@ export const classNames: VersionChanges = { }, { - pr: 'https://github.com/angular/material2/pull/10325', + pr: 'https://github.com/angular/components/pull/10325', changes: [ { replace: 'FocusTrapDirective', diff --git a/src/cdk/schematics/ng-update/data/constructor-checks.ts b/src/cdk/schematics/ng-update/data/constructor-checks.ts index f39c12a7cc0..743f57d0517 100644 --- a/src/cdk/schematics/ng-update/data/constructor-checks.ts +++ b/src/cdk/schematics/ng-update/data/constructor-checks.ts @@ -19,7 +19,7 @@ export type ConstructorChecksUpgradeData = string; export const constructorChecks: VersionChanges = { [TargetVersion.V8]: [ { - pr: 'https://github.com/angular/material2/pull/15647', + pr: 'https://github.com/angular/components/pull/15647', changes: [ 'CdkDrag', 'CdkDropList', 'ConnectedPositionStrategy', 'FlexibleConnectedPositionStrategy', 'OverlayPositionBuilder', 'CdkTable' diff --git a/src/cdk/schematics/ng-update/data/input-names.ts b/src/cdk/schematics/ng-update/data/input-names.ts index 26424bf9a33..7bff68a04b6 100644 --- a/src/cdk/schematics/ng-update/data/input-names.ts +++ b/src/cdk/schematics/ng-update/data/input-names.ts @@ -26,7 +26,7 @@ export interface InputNameUpgradeData { export const inputNames: VersionChanges = { [TargetVersion.V6]: [ { - pr: 'https://github.com/angular/material2/pull/10161', + pr: 'https://github.com/angular/components/pull/10161', changes: [ { replace: 'origin', diff --git a/src/cdk/schematics/ng-update/data/method-call-checks.ts b/src/cdk/schematics/ng-update/data/method-call-checks.ts index e7f34e41129..e01bd0c972b 100644 --- a/src/cdk/schematics/ng-update/data/method-call-checks.ts +++ b/src/cdk/schematics/ng-update/data/method-call-checks.ts @@ -21,7 +21,7 @@ export interface MethodCallUpgradeData { export const methodCallChecks: VersionChanges = { [TargetVersion.V6]: [ { - pr: 'https://github.com/angular/material2/pull/10325', + pr: 'https://github.com/angular/components/pull/10325', changes: [ { className: 'FocusMonitor', diff --git a/src/cdk/schematics/ng-update/data/property-names.ts b/src/cdk/schematics/ng-update/data/property-names.ts index 31509a3032a..e69e1feedb6 100644 --- a/src/cdk/schematics/ng-update/data/property-names.ts +++ b/src/cdk/schematics/ng-update/data/property-names.ts @@ -24,7 +24,7 @@ export interface PropertyNameUpgradeData { export const propertyNames: VersionChanges = { [TargetVersion.V7]: [ { - pr: 'https://github.com/angular/material2/pull/8286', + pr: 'https://github.com/angular/components/pull/8286', changes: [ { replace: 'onChange', @@ -37,7 +37,7 @@ export const propertyNames: VersionChanges = { }, { - pr: 'https://github.com/angular/material2/pull/12927', + pr: 'https://github.com/angular/components/pull/12927', changes: [ { replace: 'flexibleDiemsions', @@ -52,7 +52,7 @@ export const propertyNames: VersionChanges = { [TargetVersion.V6]: [ { - pr: 'https://github.com/angular/material2/pull/10161', + pr: 'https://github.com/angular/components/pull/10161', changes: [ { replace: '_deprecatedOrigin', @@ -142,7 +142,7 @@ export const propertyNames: VersionChanges = { }, { - pr: 'https://github.com/angular/material2/pull/10257', + pr: 'https://github.com/angular/components/pull/10257', changes: [ { replace: '_deprecatedPortal', diff --git a/src/cdk/schematics/ng-update/update-schematic.md b/src/cdk/schematics/ng-update/update-schematic.md index ef440f3b034..7b776ae6486 100644 --- a/src/cdk/schematics/ng-update/update-schematic.md +++ b/src/cdk/schematics/ng-update/update-schematic.md @@ -98,7 +98,7 @@ because the non-separated upgrade data would just include: _`onChange` => `onVal Also besides separating the upgrade data based on the target version, we split the upgrade data based on the type of code that is affected by these migrations: -* See here: [src/material/schematics/update/material/data](https://github.com/angular/material2/tree/master/src/material/schematics/update/material/data) +* See here: [src/material/schematics/update/material/data](https://github.com/angular/components/tree/master/src/material/schematics/update/material/data) ### Adding upgrade data diff --git a/src/cdk/schematics/ng-update/upgrade-rules/signature-check/constructorSignatureCheckRule.ts b/src/cdk/schematics/ng-update/upgrade-rules/signature-check/constructorSignatureCheckRule.ts index c7d098378ec..c1e67d379c0 100644 --- a/src/cdk/schematics/ng-update/upgrade-rules/signature-check/constructorSignatureCheckRule.ts +++ b/src/cdk/schematics/ng-update/upgrade-rules/signature-check/constructorSignatureCheckRule.ts @@ -33,7 +33,7 @@ export class Rule extends Rules.TypedRule { applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): RuleFailure[] { // Note that the data for this rule is not distinguished based on the target version because // we don't keep track of the new signature and don't want to update incrementally. - // See: https://github.com/angular/material2/pull/12970#issuecomment-418337566 + // See: https://github.com/angular/components/pull/12970#issuecomment-418337566 const data = getAllChanges (this.getOptions().ruleArguments[1].constructorChecks); return this.applyWithFunction(sourceFile, visitSourceFile, data, program); diff --git a/src/cdk/schematics/utils/build-component.ts b/src/cdk/schematics/utils/build-component.ts index 9100079a1fd..52b3f051af6 100644 --- a/src/cdk/schematics/utils/build-component.ts +++ b/src/cdk/schematics/utils/build-component.ts @@ -210,7 +210,7 @@ export function buildComponent(options: ComponentOptions, // In case the specified style extension is not part of the supported CSS supersets, // we generate the stylesheets with the "css" extension. This ensures that we don't // accidentally generate invalid stylesheets (e.g. drag-drop-comp.styl) which will - // break the Angular CLI project. See: https://github.com/angular/material2/issues/15164 + // break the Angular CLI project. See: https://github.com/angular/components/issues/15164 if (!supportedCssExtensions.includes(options.style!)) { // TODO: Cast is necessary as we can't use the Style enum which has been introduced // within CLI v7.3.0-rc.0. This would break the schematic for older CLI versions. diff --git a/src/dev-app/dev-app/dev-app-module.ts b/src/dev-app/dev-app/dev-app-module.ts index df4562f1346..7958a5c9c2c 100644 --- a/src/dev-app/dev-app/dev-app-module.ts +++ b/src/dev-app/dev-app/dev-app-module.ts @@ -36,7 +36,7 @@ import {DevAppLayout} from './dev-app-layout'; exports: [DevAppLayout], // We need to pass this in here, because the gesture config currently doesn't for lazy-loaded - // modules. See https://github.com/angular/material2/issues/4595#issuecomment-416641018. + // modules. See https://github.com/angular/components/issues/4595#issuecomment-416641018. providers: [{provide: HAMMER_GESTURE_CONFIG, useClass: GestureConfig}] }) export class DevAppModule { diff --git a/src/e2e-app/devserver-configure.js b/src/e2e-app/devserver-configure.js index 8e4b1aa8d06..a719b19e2d4 100644 --- a/src/e2e-app/devserver-configure.js +++ b/src/e2e-app/devserver-configure.js @@ -39,5 +39,5 @@ require.config({ } }); -// Workaround until https://github.com/angular/material2/issues/13883 has been addressed. +// Workaround until https://github.com/angular/components/issues/13883 has been addressed. var module = {id: ''}; diff --git a/src/e2e-app/e2e-app/e2e-app-module.ts b/src/e2e-app/e2e-app/e2e-app-module.ts index eda43f7dfe5..6aba33ef7ac 100644 --- a/src/e2e-app/e2e-app/e2e-app-module.ts +++ b/src/e2e-app/e2e-app/e2e-app-module.ts @@ -23,7 +23,7 @@ import {E2eAppLayout, Home} from './e2e-app-layout'; exports: [E2eAppLayout], // We need to pass this in here, because the gesture config currently doesn't for lazy-loaded - // modules. See https://github.com/angular/material2/issues/4595#issuecomment-416641018. + // modules. See https://github.com/angular/components/issues/4595#issuecomment-416641018. providers: [{provide: HAMMER_GESTURE_CONFIG, useClass: GestureConfig}] }) export class E2eAppModule { diff --git a/src/material-examples/package.json b/src/material-examples/package.json index 958a86fc1e8..26dedc0a1e9 100644 --- a/src/material-examples/package.json +++ b/src/material-examples/package.json @@ -9,7 +9,7 @@ "private": true, "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "keywords": [ "angular", @@ -19,9 +19,9 @@ ], "license": "MIT", "bugs": { - "url": "https://github.com/angular/material2/issues" + "url": "https://github.com/angular/components/issues" }, - "homepage": "https://github.com/angular/material2#readme", + "homepage": "https://github.com/angular/components#readme", "peerDependencies": { "@angular/cdk": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-NG", diff --git a/src/material-examples/table-http/table-http-example.ts b/src/material-examples/table-http/table-http-example.ts index eb88bb44c0b..23221fe9ce8 100644 --- a/src/material-examples/table-http/table-http-example.ts +++ b/src/material-examples/table-http/table-http-example.ts @@ -77,7 +77,7 @@ export class ExampleHttpDatabase { getRepoIssues(sort: string, order: string, page: number): Observable { const href = 'https://api.github.com/search/issues'; const requestUrl = - `${href}?q=repo:angular/material2&sort=${sort}&order=${order}&page=${page + 1}`; + `${href}?q=repo:angular/components&sort=${sort}&order=${order}&page=${page + 1}`; return this.http.get(requestUrl); } diff --git a/src/material-experimental/mdc-checkbox/checkbox.ts b/src/material-experimental/mdc-checkbox/checkbox.ts index b5f4a213a20..a36d19be9d9 100644 --- a/src/material-experimental/mdc-checkbox/checkbox.ts +++ b/src/material-experimental/mdc-checkbox/checkbox.ts @@ -341,7 +341,7 @@ export class MatCheckbox implements AfterViewInit, OnDestroy, ControlValueAccess this.indeterminate = false; // tslint:disable:max-line-length // We use `Promise.resolve().then` to ensure the same timing as the original `MatCheckbox`: - // https://github.com/angular/material2/blob/309d5644aa610ee083c56a823ce7c422988730e8/src/lib/checkbox/checkbox.ts#L381 + // https://github.com/angular/components/blob/309d5644aa610ee083c56a823ce7c422988730e8/src/lib/checkbox/checkbox.ts#L381 // tslint:enable:max-line-length Promise.resolve().then(() => this.indeterminateChange.next(this.indeterminate)); } else { diff --git a/src/material-experimental/package.json b/src/material-experimental/package.json index adaeb5e6a40..f0da55cb96e 100644 --- a/src/material-experimental/package.json +++ b/src/material-experimental/package.json @@ -8,13 +8,13 @@ "typings": "./material-experimental.d.ts", "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "license": "MIT", "bugs": { - "url": "https://github.com/angular/material2/issues" + "url": "https://github.com/angular/components/issues" }, - "homepage": "https://github.com/angular/material2#readme", + "homepage": "https://github.com/angular/components#readme", "peerDependencies": { "@angular/core": "0.0.0-NG", "@angular/material": "0.0.0-PLACEHOLDER", diff --git a/src/material-moment-adapter/package.json b/src/material-moment-adapter/package.json index b6af827386a..3e2b908f3e5 100644 --- a/src/material-moment-adapter/package.json +++ b/src/material-moment-adapter/package.json @@ -8,13 +8,13 @@ "typings": "./material-moment-adapter.d.ts", "repository": { "type": "git", - "url": "https://github.com/angular/material2.git" + "url": "https://github.com/angular/components.git" }, "license": "MIT", "bugs": { - "url": "https://github.com/angular/material2/issues" + "url": "https://github.com/angular/components/issues" }, - "homepage": "https://github.com/angular/material2#readme", + "homepage": "https://github.com/angular/components#readme", "peerDependencies": { "@angular/material": "0.0.0-PLACEHOLDER", "@angular/core": "0.0.0-NG", diff --git a/src/material/button-toggle/button-toggle.scss b/src/material/button-toggle/button-toggle.scss index 02e4f2c09d1..5d3f96136c7 100644 --- a/src/material/button-toggle/button-toggle.scss +++ b/src/material/button-toggle/button-toggle.scss @@ -74,7 +74,7 @@ $mat-button-toggle-legacy-border-radius: 2px !default; // overlay for `.cdk-program-focused` because mouse clicks on the