Skip to content

Commit e2c1d00

Browse files
thesmilerthePunderWoman
authored andcommitted
docs: replace material.a.io with material.a.dev (angular#61513)
PR Close angular#61513
1 parent a62d3e7 commit e2c1d00

File tree

16 files changed

+29
-29
lines changed

16 files changed

+29
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Join the conversation and help the community.
137137
[changelog]: CHANGELOG.md
138138
[ng]: https://angular.dev
139139
[documentation]: https://angular.dev/overview
140-
[angularmaterial]: https://material.angular.io/
140+
[angularmaterial]: https://material.angular.dev/
141141
[cli]: https://angular.dev/tools/cli
142142
[architecture]: https://angular.dev/essentials
143143
[componentstemplates]: https://angular.dev/tutorials/learn-angular/1-components-in-angular

adev/src/app/features/update/recommendations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ export const RECOMMENDATIONS: Step[] = [
18221822
material: true,
18231823
step: 'v15 mat refactor',
18241824
action:
1825-
'In Angular Material v15, many of the components have been refactored to be based on the official Material Design Components for Web (MDC). This change affected the DOM and CSS classes of many components. <a href="https://rc.material.angular.io/guide/mdc-migration" alt="Link to more information about this change">Read further</a>',
1825+
'In Angular Material v15, many of the components have been refactored to be based on the official Material Design Components for Web (MDC). This change affected the DOM and CSS classes of many components. <a href="https://rc.material.angular.dev/guide/mdc-migration" alt="Link to more information about this change">Read further</a>',
18261826
},
18271827
{
18281828
possibleIn: 1500,

adev/src/app/sub-navigation-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,11 +897,11 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
897897
},
898898
{
899899
label: 'Angular CDK',
900-
path: 'https://material.angular.io/cdk/categories',
900+
path: 'https://material.angular.dev/cdk/categories',
901901
},
902902
{
903903
label: 'Angular Material',
904-
path: 'https://material.angular.io/',
904+
path: 'https://material.angular.dev/',
905905
},
906906
],
907907
},

adev/src/content/best-practices/a11y.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ See the [Binding syntax guide](guide/templates) for more background on the diffe
3636

3737
## Angular UI components
3838

39-
The [Angular Material](https://material.angular.io) library, which is maintained by the Angular team, is a suite of reusable UI components that aims to be fully accessible.
40-
The [Component Development Kit (CDK)](https://material.angular.io/cdk/categories) includes the `a11y` package that provides tools to support various areas of accessibility.
39+
The [Angular Material](https://material.angular.dev) library, which is maintained by the Angular team, is a suite of reusable UI components that aims to be fully accessible.
40+
The [Component Development Kit (CDK)](https://material.angular.dev/cdk/categories) includes the `a11y` package that provides tools to support various areas of accessibility.
4141
For example:
4242

4343
* `LiveAnnouncer` is used to announce messages for screen-reader users using an `aria-live` region.
@@ -46,7 +46,7 @@ For example:
4646
* The `cdkTrapFocus` directive traps Tab-key focus within an element.
4747
Use it to create accessible experience for components such as modal dialogs, where focus must be constrained.
4848

49-
For full details of these and other tools, see the [Angular CDK accessibility overview](https://material.angular.io/cdk/a11y/overview).
49+
For full details of these and other tools, see the [Angular CDK accessibility overview](https://material.angular.dev/cdk/a11y/overview).
5050

5151
### Augmenting native elements
5252

@@ -66,7 +66,7 @@ For example, the native `<input>` element cannot have children, so any custom te
6666
By just including `<input>` in your custom component's template, it's impossible for your component's users to set arbitrary properties and attributes to the `<input>` element.
6767
Instead, create a container component that uses content projection to include the native control in the component's API.
6868

69-
You can see [`MatFormField`](https://material.angular.io/components/form-field/overview) as an example of this pattern.
69+
You can see [`MatFormField`](https://material.angular.dev/components/form-field/overview) as an example of this pattern.
7070

7171
## Case study: Building a custom progress bar
7272

adev/src/content/guide/drag-drop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For the full API reference, please see the [Angular CDK's drag and drop API refe
1717

1818
### CDK Installation
1919

20-
The [Component Dev Kit (CDK)](https://material.angular.io/cdk/categories) is a set of behavior primitives for building components. To use the drag and drop directives, first install `@angular/cdk` from npm. You can do this from your terminal using Angular CLI:
20+
The [Component Dev Kit (CDK)](https://material.angular.dev/cdk/categories) is a set of behavior primitives for building components. To use the drag and drop directives, first install `@angular/cdk` from npm. You can do this from your terminal using Angular CLI:
2121

2222
<docs-code language="shell">
2323
ng add @angular/cdk

adev/src/content/guide/templates/ng-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,5 @@ For more details, see [Structural Directives](/guide/directives/structural-direc
279279

280280
For examples of how `ng-template` is used in other libraries, check out:
281281

282-
- [Tabs from Angular Material](https://material.angular.io/components/tabs/overview) - nothing gets rendered into the DOM until the tab is activated
283-
- [Table from Angular Material](https://material.angular.io/components/table/overview) - allows developers to define different ways to render data
282+
- [Tabs from Angular Material](https://material.angular.dev/components/tabs/overview) - nothing gets rendered into the DOM until the tab is activated
283+
- [Table from Angular Material](https://material.angular.dev/components/table/overview) - allows developers to define different ways to render data

adev/src/content/guide/testing/component-harnesses-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ it('should load button with exact text', async () => {
1616
});
1717
</docs-code>
1818

19-
Component harnesses are especially useful for shared UI widgets. Developers often write tests that depend on private implementation details of widgets, such as DOM structure and CSS classes. Those dependencies make tests brittle and hard to maintain. Harnesses offer an alternative— a supported API that interacts with the widget the same way an end-user does. Widget implementation changes now become less likely to break user tests. For example, [Angular Material](https://material.angular.io/components/categories) provides a test harness for each component in the library.
19+
Component harnesses are especially useful for shared UI widgets. Developers often write tests that depend on private implementation details of widgets, such as DOM structure and CSS classes. Those dependencies make tests brittle and hard to maintain. Harnesses offer an alternative— a supported API that interacts with the widget the same way an end-user does. Widget implementation changes now become less likely to break user tests. For example, [Angular Material](https://material.angular.dev/components/categories) provides a test harness for each component in the library.
2020

2121
Component harnesses support multiple testing environments. You can use the same harness implementation in both unit and end-to-end tests. Test authors only need to learn one API and component authors don't have to maintain separate unit and end-to-end test implementations.
2222

adev/src/content/guide/testing/component-harnesses-testing-environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Otherwise, to add support for other environments, you need to define how to inte
1717

1818
### CDK Installation
1919

20-
The [Component Dev Kit (CDK)](https://material.angular.io/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
20+
The [Component Dev Kit (CDK)](https://material.angular.dev/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
2121

2222
<docs-code language="shell">
2323
ng add @angular/cdk

adev/src/content/guide/testing/creating-component-harnesses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For components that appear in only one place, such as a page in an application,
1212

1313
### CDK Installation
1414

15-
The [Component Dev Kit (CDK)](https://material.angular.io/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
15+
The [Component Dev Kit (CDK)](https://material.angular.dev/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
1616

1717
<docs-code language="shell">
1818
ng add @angular/cdk

adev/src/content/guide/testing/using-component-harnesses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TIP: This guide assumes you've already read the [component harnesses overview gu
66

77
### CDK Installation
88

9-
The [Component Dev Kit (CDK)](https://material.angular.io/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
9+
The [Component Dev Kit (CDK)](https://material.angular.dev/cdk/categories) is a set of behavior primitives for building components. To use the component harnesses, first install `@angular/cdk` from npm. You can do this from your terminal using the Angular CLI:
1010

1111
<docs-code language="shell">
1212
ng add @angular/cdk
@@ -155,7 +155,7 @@ While every harness defines an API specific to its corresponding component, they
155155

156156
Beyond that, the API of any given harness is specific to its corresponding component; refer to the component's documentation to learn how to use a specific harness.
157157

158-
As an example, the following is a test for a component that uses the [Angular Material slider component harness](https://material.angular.io/components/slider/api#MatSliderHarness):
158+
As an example, the following is a test for a component that uses the [Angular Material slider component harness](https://material.angular.dev/components/slider/api#MatSliderHarness):
159159

160160
<docs-code language="typescript">
161161
it('should get value of slider thumb', async () => {

0 commit comments

Comments
 (0)