-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(module:all): remove property for static host className (#664)
- Loading branch information
Showing
37 changed files
with
160 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Directive, HostBinding } from '@angular/core'; | ||
|
||
@Directive({ | ||
selector: '[nz-card-grid]' | ||
selector: '[nz-card-grid]', | ||
host: { | ||
'[class.ant-card-grid]': 'true' | ||
} | ||
}) | ||
export class NzCardGridDirective { | ||
@HostBinding('class.ant-card-grid') _nzCardGrid = true; | ||
} | ||
export class NzCardGridDirective { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Directive, HostBinding } from '@angular/core'; | ||
|
||
@Directive({ | ||
selector: '[nz-form-extra]' | ||
selector: '[nz-form-extra]', | ||
host: { | ||
'[class.ant-form-extra]': 'true' | ||
} | ||
}) | ||
export class NzFormExtraDirective { | ||
@HostBinding(`class.ant-form-extra`) _nzFormExtra = true; | ||
} | ||
export class NzFormExtraDirective { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Directive, HostBinding } from '@angular/core'; | ||
|
||
@Directive({ | ||
selector: '[nz-form-label]' | ||
selector: '[nz-form-label]', | ||
host: { | ||
'[class.ant-form-item-label]': 'true' | ||
} | ||
}) | ||
export class NzFormLabelDirective { | ||
@HostBinding(`class.ant-form-item-label`) _nzFormItemLabel = true; | ||
} | ||
export class NzFormLabelDirective { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Directive, HostBinding } from '@angular/core'; | ||
|
||
@Directive({ | ||
selector: '[nz-form-split]' | ||
selector: '[nz-form-split]', | ||
host: { | ||
'[class.ant-form-split]': 'true' | ||
} | ||
}) | ||
export class NzFormSplitDirective { | ||
@HostBinding(`class.ant-form-split`) _nzFormSplit = true; | ||
} | ||
export class NzFormSplitDirective { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Directive, HostBinding } from '@angular/core'; | ||
|
||
@Directive({ | ||
selector: '[nz-form-text]' | ||
selector: '[nz-form-text]', | ||
host: { | ||
'[class.ant-form-text]': 'true' | ||
} | ||
}) | ||
export class NzFormTextDirective { | ||
@HostBinding(`class.ant-form-text`) _nzFormText = true; | ||
} | ||
export class NzFormTextDirective { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.