Skip to content

Commit

Permalink
chore(isct-120): remove host: {'ui-version': 'x'}
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKIron committed Nov 29, 2023
1 parent c62aef2 commit 7aefc95
Show file tree
Hide file tree
Showing 147 changed files with 20 additions and 167 deletions.
3 changes: 1 addition & 2 deletions projects/fusion-ui/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"prefix": "fusion",
"style": "kebab-case"
}
],
"@angular-eslint/no-host-metadata-property": "off"
]
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {AccordionBaseComponent} from '@ironsource/fusion-ui/components/accordion
selector: 'fusion-accordion',
templateUrl: '../common/base/accordion.base.component.html',
styleUrls: ['./accordion.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AccordionComponent extends AccordionBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {ApiBase} from '@ironsource/fusion-ui/components/api-base';
selector: 'fusion-addbox-dropdown',
templateUrl: '../common/base/addbox-dropdown.base.component.html',
styleUrls: ['./addbox-dropdown.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
DropdownService,
Expand Down
1 change: 0 additions & 1 deletion projects/fusion-ui/components/alert/v1/alert.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {AlertBaseComponent} from '@ironsource/fusion-ui/components/alert/common/
selector: 'fusion-alert',
templateUrl: './alert.component.html',
styleUrls: ['./alert.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AlertComponent extends AlertBaseComponent {}
1 change: 0 additions & 1 deletion projects/fusion-ui/components/alert/v2/alert.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {AlertBaseComponent} from '@ironsource/fusion-ui/components/alert/common/
selector: 'fusion-alert',
templateUrl: './alert.component.html',
styleUrls: ['./alert.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AlertComponent extends AlertBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ButtonBaseComponent} from '@ironsource/fusion-ui/components/button/commo
selector: 'fusion-button,[fusion-button]',
templateUrl: '../common/base/button.base.component.html',
styleUrls: ['./button.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ButtonComponent extends ButtonBaseComponent implements OnInit {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'fusion-button-loading',
templateUrl: 'button-loading.component.html',
styleUrls: ['./button-loading.component.scss'],
host: {'ui-version': '1'}
styleUrls: ['./button-loading.component.scss']
})
export class ButtonLoadingComponent {
@Input() projectContent: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ButtonBaseComponent} from '@ironsource/fusion-ui/components/button/commo
selector: 'fusion-button,[fusion-button]',
templateUrl: '../common/base/button.base.component.html',
styleUrls: ['./button.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ButtonComponent extends ButtonBaseComponent implements OnInit {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'fusion-button-loading',
templateUrl: 'button-loading.component.html',
styleUrls: ['./button-loading.component.scss'],
host: {'ui-version': '2'}
styleUrls: ['./button-loading.component.scss']
})
export class ButtonLoadingComponent {
@Input() projectContent: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ButtonBaseComponent} from '@ironsource/fusion-ui/components/button/commo
selector: 'fusion-button',
templateUrl: '../common/base/button.base.component.html',
styleUrls: ['./button.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ButtonComponent extends ButtonBaseComponent implements OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import {Component, Input} from '@angular/core';
@Component({
selector: 'fusion-button-loading',
templateUrl: 'button-loading.component.html',
styleUrls: ['./button-loading.component.scss'],
host: {'ui-version': '3'}
styleUrls: ['./button-loading.component.scss']
})
export class ButtonLoadingComponent {
@Input() projectContent: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {CalendarBaseComponent} from '@ironsource/fusion-ui/components/calendar/c
selector: 'fusion-calendar',
templateUrl: '../common/base/calendar.base.component.html',
styleUrls: ['./calendar.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CalendarComponent extends CalendarBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {CalendarService} from '@ironsource/fusion-ui/components/calendar/common/
selector: 'fusion-calendar',
templateUrl: '../common/base/calendar.base.component.html',
styleUrls: ['./calendar.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CalendarComponent extends CalendarBaseComponent implements OnDestroy, OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {CalendarService} from '@ironsource/fusion-ui/components/calendar/common/
selector: 'fusion-calendar',
templateUrl: '../common/base/calendar.base.component.html',
styleUrls: ['./calendar.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CalendarComponent extends CalendarBaseComponent implements OnDestroy, OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ChartLabelsBaseComponent} from '@ironsource/fusion-ui/components/chart-l
selector: 'fusion-chart-labels',
templateUrl: '../common/base/chart-labels.base.component.html',
styleUrls: ['./chart-labels.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChartLabelsComponent extends ChartLabelsBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ChartLabelsBaseComponent} from '@ironsource/fusion-ui/components/chart-l
selector: 'fusion-chart-labels',
templateUrl: '../common/base/chart-labels.base.component.html',
styleUrls: ['./chart-labels.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChartLabelsComponent extends ChartLabelsBaseComponent {}
1 change: 0 additions & 1 deletion projects/fusion-ui/components/chart/v1/chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Chart.register(
selector: 'fusion-chart',
templateUrl: '../common/base/chart.base.component.html',
styleUrls: ['./chart.component-common.scss', './chart.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChartComponent extends ChartBaseComponent {
Expand Down
1 change: 0 additions & 1 deletion projects/fusion-ui/components/chart/v2/chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Chart.register(
selector: 'fusion-chart',
templateUrl: '../common/base/chart.base.component.html',
styleUrls: ['./chart.component-common.scss', './chart.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChartComponent extends ChartBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {BASE_CHECKED_IMAGE} from './checkbox.cusom-svg';
selector: 'fusion-checkbox',
templateUrl: './checkbox.component.html',
styleUrls: ['./checkbox.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {BASE_CHECKED_IMAGE} from './checkbox.cusom-svg';
selector: 'fusion-checkbox',
templateUrl: './checkbox.component.html',
styleUrls: ['./checkbox.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {CheckboxBaseComponent} from '@ironsource/fusion-ui/components/checkbox/c
selector: 'fusion-checkbox',
templateUrl: './checkbox.component.html',
styleUrls: ['./checkbox.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ChipFilterBaseComponent} from '@ironsource/fusion-ui/components/chip-fil
selector: 'fusion-chip-filter',
templateUrl: './chip-filter.component.html',
styleUrls: ['./chip-filter.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChipFilterComponent extends ChipFilterBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ChipFiltersBaseComponent} from '@ironsource/fusion-ui/components/chip-fi
selector: 'fusion-chip-filters',
templateUrl: '../common/base/chip-filters.base.component.html',
styleUrls: ['./chip-filters.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ChipFiltersComponent extends ChipFiltersBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import {DEFAULT_TIMEZONE_OPTIONS} from './datepicker.config';
multi: true
}
],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DatepickerComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit, ControlValueAccessor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const DEFAULT_OPTIONS = {
[formControl]="daterangeFormControl"
></fusion-daterange>`,
styles: [':host { margin: 0; padding: 0;} fusion-daterange {width: 256px}'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {DaterangeBaseComponent} from '@ironsource/fusion-ui/components/daterange
selector: 'fusion-daterange',
templateUrl: './daterange.component.html',
styleUrls: ['./daterange.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {DaterangeBaseComponent} from '@ironsource/fusion-ui/components/daterange
selector: 'fusion-daterange',
templateUrl: './daterange.component.html',
styleUrls: ['./daterange.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {ApiBase} from '@ironsource/fusion-ui/components/api-base';
selector: 'fusion-daterange',
templateUrl: './daterange.component.html',
styleUrls: ['./daterange.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{provide: ApiBase, useExisting: DaterangeComponent},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {DropdownOption} from '@ironsource/fusion-ui/components/dropdown-option/e
selector: 'fusion-dropdown-dual-multi-select-body-item',
templateUrl: './dropdown-dual-multi-select-body-item.component.html',
styleUrls: ['./dropdown-dual-multi-select-body-item.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectBodyItemComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {ChangeDetectionStrategy, Component, EventEmitter, Input, Output} from '@
selector: 'fusion-dropdown-dual-multi-select-footer',
templateUrl: './dropdown-dual-multi-select-footer.component.html',
styleUrls: ['./dropdown-dual-multi-select-footer.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectFooterComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {Subject} from 'rxjs';
selector: 'fusion-dropdown-dual-multi-select-header',
templateUrl: './dropdown-dual-multi-select-header.component.html',
styleUrls: ['./dropdown-dual-multi-select-header.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {ChangeDetectionStrategy, Component, Input} from '@angular/core';
selector: 'fusion-dropdown-dual-multi-select-loading',
templateUrl: './dropdown-dual-multi-select-loading.component.html',
styleUrls: ['./dropdown-dual-multi-select-loading.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectLoadingComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {DropdownDualMultiSelectBaseComponent} from '@ironsource/fusion-ui/compon
selector: 'fusion-dropdown-dual-multi-select',
templateUrl: '../common/base/dropdown-dual-multi-select.base.component.html',
styleUrls: ['./dropdown-dual-multi-select.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {TestIdsService} from '@ironsource/fusion-ui/services/test-ids';
selector: 'fusion-dropdown-dual-multi-select-body-item',
templateUrl: './dropdown-dual-multi-select-body-item.component.html',
styleUrls: ['./dropdown-dual-multi-select-body-item.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectBodyItemComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const PAGINATION_CHUNK = 20;
selector: 'fusion-dropdown-dual-multi-select-body',
templateUrl: './dropdown-dual-multi-select-body.component.html',
styleUrls: ['./dropdown-dual-multi-select-body.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {TestIdsService} from '@ironsource/fusion-ui/services/test-ids';
selector: 'fusion-dropdown-dual-multi-select-footer',
templateUrl: './dropdown-dual-multi-select-footer.component.html',
styleUrls: ['./dropdown-dual-multi-select-footer.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectFooterComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {TestIdsService} from '@ironsource/fusion-ui/services/test-ids';
selector: 'fusion-dropdown-dual-multi-select-header',
templateUrl: './dropdown-dual-multi-select-header.component.html',
styleUrls: ['./dropdown-dual-multi-select-header.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {ChangeDetectionStrategy, Component, Input} from '@angular/core';
selector: 'fusion-dropdown-dual-multi-select-loading',
templateUrl: './dropdown-dual-multi-select-loading.component.html',
styleUrls: ['./dropdown-dual-multi-select-loading.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownDualMultiSelectLoadingComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {ApiBase} from '@ironsource/fusion-ui/components/api-base';
selector: 'fusion-dropdown-dual-multi-select',
templateUrl: '../common/base/dropdown-dual-multi-select.base.component.html',
styleUrls: ['./dropdown-dual-multi-select.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
{provide: ApiBase, useExisting: DropdownDualMultiSelectComponent},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'fusion-dropdown-loader',
templateUrl: './dropdown-loader.component.html',
styleUrls: ['./dropdown-loader.component.scss'],
host: {'ui-version': '1'}
styleUrls: ['./dropdown-loader.component.scss']
})
export class DropdownLoaderComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {Component} from '@angular/core';
@Component({
selector: 'fusion-dropdown-loader',
templateUrl: './dropdown-loader.component.html',
styleUrls: ['./dropdown-loader.component.scss'],
host: {'ui-version': '2'}
styleUrls: ['./dropdown-loader.component.scss']
})
export class DropdownLoaderComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import {Component} from '@angular/core';
@Component({
selector: 'fusion-dropdown-loader',
templateUrl: './dropdown-loader.component.html',
styleUrls: ['./dropdown-loader.component.scss'],
host: {'ui-version': '3'}
styleUrls: ['./dropdown-loader.component.scss']
})
export class DropdownLoaderComponent {
iconLoader = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {DropdownOptionBaseComponent} from '@ironsource/fusion-ui/components/drop
selector: 'fusion-dropdown-option',
templateUrl: '../common/base/dropdown-option.base.component.html',
styleUrls: ['./dropdown-option.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionComponent extends DropdownOptionBaseComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {DropdownOptionBaseComponent} from '@ironsource/fusion-ui/components/drop
selector: 'fusion-dropdown-option',
templateUrl: '../common/base/dropdown-option.base.component.html',
styleUrls: ['./dropdown-option.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionComponent extends DropdownOptionBaseComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const ARROW_ICON = {
selector: 'fusion-dropdown-option',
templateUrl: './dropdown-option.component.html',
styleUrls: ['./dropdown-option.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionComponent extends DropdownOptionBaseComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {DropdownOptionsListBaseComponent} from '@ironsource/fusion-ui/components
selector: 'fusion-dropdown-options-list',
templateUrl: '../common/base/dropdown-options-list.base.component.html',
styleUrls: ['./dropdown-options-list.component.scss'],
host: {'ui-version': '1'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionsListComponent extends DropdownOptionsListBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {DropdownOptionsListBaseComponent} from '@ironsource/fusion-ui/components
selector: 'fusion-dropdown-options-list',
templateUrl: '../common/base/dropdown-options-list.base.component.html',
styleUrls: ['./dropdown-options-list.component.scss'],
host: {'ui-version': '2'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionsListComponent extends DropdownOptionsListBaseComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const CLOSE_ACTION_SELECTOR = '.fu-option-action-icon';
selector: 'fusion-dropdown-options-list',
templateUrl: '../common/base/dropdown-options-list.base.component.html',
styleUrls: ['./dropdown-options-list.component.scss'],
host: {'ui-version': '3'},
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DropdownOptionsListComponent extends DropdownOptionsListBaseComponent {
Expand Down
Loading

0 comments on commit 7aefc95

Please sign in to comment.