Skip to content

Commit e16c7ee

Browse files
refactor: remove host bindings
Co-authored-by: Akshat Patel <38994122+Akshat55@users.noreply.github.com>
1 parent 97b86aa commit e16c7ee

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

src/contained-list/contained-list.component.ts

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -67,58 +67,6 @@ export class ContainedList {
6767
*/
6868
@Input() size: ContainedListSize = ContainedListSize.Large;
6969

70-
/**
71-
* Host binding host contained list class.
72-
*/
73-
@HostBinding("class.cds--contained-list") containedListClass = true;
74-
75-
/**
76-
* Host binding host is inset class.
77-
*/
78-
@HostBinding("class.cds--contained-list--inset-rulers") isInsetClass = true;
79-
80-
/**
81-
* Host binding host on-page class.
82-
*/
83-
@HostBinding("class.cds--contained-list--on-page") get hostOnPageClass() {
84-
return this.kind === ContainedListKind.OnPage;
85-
}
86-
87-
/**
88-
* Host binding host disclosed class.
89-
*/
90-
@HostBinding("class.cds--contained-list--disclosed") get hostDisclosedClass() {
91-
return this.kind === ContainedListKind.Disclosed;
92-
}
93-
94-
/**
95-
* Host binding host size sm class.
96-
*/
97-
@HostBinding("class.cds--contained-list--sm") get hostSizeSmClass() {
98-
return this.size === ContainedListSize.Small;
99-
}
100-
101-
/**
102-
* Host binding host size md class.
103-
*/
104-
@HostBinding("class.cds--contained-list--md") get hostSizeMdClass() {
105-
return this.size === ContainedListSize.Medium;
106-
}
107-
108-
/**
109-
* Host binding host size lg class.
110-
*/
111-
@HostBinding("class.cds--contained-list--lg") get hostSizeLgClass() {
112-
return this.size === ContainedListSize.Large;
113-
}
114-
115-
/**
116-
* Host binding host size xl class.
117-
*/
118-
@HostBinding("class.cds--contained-list--xl") get hostSizeXlClass() {
119-
return this.size === ContainedListSize.ExtraLarge;
120-
}
121-
12270
/**
12371
* Label id for the contained list.
12472
*/

0 commit comments

Comments
 (0)