@@ -153,15 +153,15 @@ export class FocusTrap {
153
153
`[cdk-focus-${ bound } ]` ) as NodeListOf < HTMLElement > ;
154
154
155
155
for ( let i = 0 ; i < markers . length ; i ++ ) {
156
- // @breaking -change 7 .0.0
156
+ // @breaking -change 8 .0.0
157
157
if ( markers [ i ] . hasAttribute ( `cdk-focus-${ bound } ` ) ) {
158
158
console . warn ( `Found use of deprecated attribute 'cdk-focus-${ bound } ', ` +
159
159
`use 'cdkFocusRegion${ bound } ' instead. The deprecated ` +
160
- `attribute will be removed in 7 .0.0.` , markers [ i ] ) ;
160
+ `attribute will be removed in 8 .0.0.` , markers [ i ] ) ;
161
161
} else if ( markers [ i ] . hasAttribute ( `cdk-focus-region-${ bound } ` ) ) {
162
162
console . warn ( `Found use of deprecated attribute 'cdk-focus-region-${ bound } ', ` +
163
163
`use 'cdkFocusRegion${ bound } ' instead. The deprecated attribute ` +
164
- `will be removed in 7 .0.0.` , markers [ i ] ) ;
164
+ `will be removed in 8 .0.0.` , markers [ i ] ) ;
165
165
}
166
166
}
167
167
@@ -182,11 +182,11 @@ export class FocusTrap {
182
182
`[cdkFocusInitial]` ) as HTMLElement ;
183
183
184
184
if ( redirectToElement ) {
185
- // @breaking -change 7 .0.0
185
+ // @breaking -change 8 .0.0
186
186
if ( redirectToElement . hasAttribute ( `cdk-focus-initial` ) ) {
187
187
console . warn ( `Found use of deprecated attribute 'cdk-focus-initial', ` +
188
188
`use 'cdkFocusInitial' instead. The deprecated attribute ` +
189
- `will be removed in 7 .0.0` , redirectToElement ) ;
189
+ `will be removed in 8 .0.0` , redirectToElement ) ;
190
190
}
191
191
192
192
redirectToElement . focus ( ) ;
0 commit comments