Skip to content

Commit 8d12967

Browse files
authored
Merge pull request #8435 from IgniteUI/mkirova/remove-deprecated-components
chore(*): Remove deprecated components and their styles. Update sampl…
2 parents f2a37e7 + 75fbe26 commit 8d12967

20 files changed

+24
-828
lines changed

projects/igniteui-angular/src/lib/core/styles/components/column-actions/_column-actions-theme.scss

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -57,34 +57,6 @@
5757
));
5858
}
5959

60-
/// Column hiding Theme
61-
/// The function is deprecated and will be removed in future versions. Use igx-column-actions-theme instead.
62-
/// @param {Map} $palette [$default-palette] - The palette used as basis for styling the component.
63-
/// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
64-
/// @param {Color} $title-color [null]- The text color used for the title of the list.
65-
/// @param {Color} $background-color [null] - The background color of the panel.
66-
///
67-
/// @requires $default-palette
68-
/// @requires $light-schema
69-
/// @requires apply-palette
70-
/// @requires extend
71-
/// @requires text-contrast
72-
///
73-
/// @example scss Change the title color
74-
/// $column-hiding-theme: igx-column-hiding-theme($title-color: black);
75-
/// // Pass the theme to the igx-column-hiding component mixin
76-
/// @include igx-column-hiding($column-hiding-theme);
77-
////
78-
@function igx-column-hiding-theme(
79-
$palette: $default-palette,
80-
$schema: $light-schema,
81-
82-
$title-color: null,
83-
$background-color: null
84-
) {
85-
@return igx-column-actions-theme($palette, $schema, $title-color, $background-color);
86-
}
87-
8860
/// @param {Map} $theme - The theme used to style the component.
8961
/// @requires {mixin} igx-root-css-vars
9062
/// @requires rem
@@ -133,16 +105,6 @@
133105
}
134106
}
135107

136-
/// A wrapper of the igx-column-actions mixin.
137-
/// Provides compatibility for applications styling the deprecated IgxColumnHiding and IgxColumnPinning components.
138-
/// @param {Map} $theme - The theme used to style the component.
139-
/// @requires {mixin} igx-root-css-vars
140-
/// @requires rem
141-
/// @requires --var
142-
@mixin igx-column-hiding($theme) {
143-
@include igx-column-actions($theme);
144-
}
145-
146108
/// Adds typography styles for the igx-column-actions component.
147109
/// Uses the 'subtitle-1'
148110
/// category from the typographic scale.

projects/igniteui-angular/src/lib/grids/column-actions/column-actions.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export class IgxColumnActionsComponent implements DoCheck {
289289

290290
/**
291291
* Sets/Gets the css class selector.
292-
* By default the value of the `class` attribute is `"igx-column-hiding"`.
292+
* By default the value of the `class` attribute is `"igx-column-actions"`.
293293
* ```typescript
294294
* let cssCLass = this.columnHidingUI.cssClass;
295295
* ```

projects/igniteui-angular/src/lib/grids/column-actions/column-hiding.directive.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ import { Directive, Inject } from '@angular/core';
22
import { IgxColumnActionsBaseDirective } from './column-actions-base.directive';
33
import { IgxColumnComponent } from '../columns/column.component';
44
import { IgxColumnActionsComponent } from './column-actions.component';
5+
import { IBaseEventArgs } from '../../core/utils';
6+
7+
export interface IColumnVisibilityChangedEventArgs extends IBaseEventArgs {
8+
column: any;
9+
newValue: boolean;
10+
}
511

612
@Directive({
713
selector: '[igxColumnHiding]'

projects/igniteui-angular/src/lib/grids/column-chooser-base.ts

Lines changed: 0 additions & 297 deletions
This file was deleted.

0 commit comments

Comments
 (0)