Releases: IgniteUI/igniteui-angular
18.2.0
18.2.0
General
IFilteringExpressionsTree,FilteringExpressionsTree- Deprecation The
findandfindIndexmethods have been deprecated and will be removed in a future version. AExpressionsTreeUtilclass has been added which provides the same functionality.
- Deprecation The
New Features
IgxSimpleCombo- Introduced ability for Simple Combo to automatically select and retain valid input on "Tab" press enhancing user experience by streamlining data entry and reducing the need for manual selection improving form navigation.
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- To streamline the sorting of columns with custom formats, a new
FormattedValuesSortingStrategyhas been introduced. This strategy simplifies the sorting process by allowing direct sorting based on formatted values, eliminating the need to extend theDefaultSortingStrategyor implement a customISortingStrategy. This enhancement improves the ease of handling sorting with custom column formatters.
- To streamline the sorting of columns with custom formats, a new
IgxCarousel- Added support for vertical alignment. Can be configured via the
verticalproperty. Defaults tofalse. - Added support for showing/hiding the indicator controls (dots). Can be configured via the
indicatorsproperty. Defaults totrue.
- Added support for vertical alignment. Can be configured via the
ColumnType,IgxColumn- The built-in editors for columns of type
date,dateTimeandtimenow use a default input format as per theIgxGrid'slocale. This is valid both for cell editors and the ones in the filtering UI for all modes -quickFilter,excelStyleand the Advanced filtering. - In case the
pipeArgs.displayFormatproperty of a date-time column is set and contains only numeric date-time parts or such that can be handled by the editors, the built-in editors input format is inferred from it. - To configure the built-in editors, a new
editorOptionsproperty is added that allows to pass optional parameters. Accepts anIColumnEditorOptionsobject with thedateTimeFormatproperty, that is used as input format for the editors of
date,dateTimeandtimecolumn data types:const editorOptions: IColumnEditorOptions = { Field? dateTimeFormat: 'MM/dd/YYYY', }
<igx-column field="sampleDate" dataType="date" [editorOptions]="editorOptions"></igx-column>
- The built-in editors for columns of type
FieldType(IgxQueryBuilder)- Similar to the above, the fields now accept an
editorOptionsobject of typeIFieldEditorOptions. ItsdateTimeFormatproperty is used as input format for the query editors of date-time fields.
- Similar to the above, the fields now accept an
IgxDateTimeEditor,IgxDatePicker,IgxTimePicker,IgxDateRangePicker- In case the
inputFormatproperty is not set, the input format is inferred from
displayFormatif set and if it contains only numeric date-time parts.
- In case the
IgxTimePicker- The input and display formats are now adjusted based on the locale. For instance, day period time part (AM/PM or a/p) would not be displayed for locales that do not require it.
IgxDateTimeEditor- Added a new
defaultFormatTypeproperty (date|time|dateTime) which configures the date-time parts
according to the target type that the editor mask includes. Defaults todate.
- Added a new
IgxTabs- Added
activationproperty to control tab selection. Inautomode (default), tabs are selected instantly with Arrow or Home/End keys. Inmanualmode, tabs are focused with keys but only selected with Enter or Space.
- Added
IgxGridState- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
columnInit. The only instance where this is still necessary is when the column (or its children in case of column groups) have nofieldproperty so there's no way to uniquely identify the matching column. - Added support for persisting Multi-Row Layout.
- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
Themes
-
Breaking Change
Palettes- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
hslfunction.
Example:
/* 18.1.x and before: */ background: hsl(var(--ig-primary-600)); /* 18.2.0+: */ background: var(--ig-primary-600);
This change also opens up the door for declaring the base (500) variants of each color in CSS from any color, including other CSS variables, whereas before the Sass
palettefunction was needed to generate color shades from a base color.Example:
/* 18.1.x and before: */ $my-palette: palette($primary: #09f, ...); /* 18.2.0+: */ --ig-primary-500: #09f;
This change adds to our continuous effort to make theming configurable in CSS as much as it is in Sass.
- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
Scrollbar: New CSS variables
We have introduced new CSS variables to allow for more customizable scrollbars. This enhancement utilizes the available WebKit pseudo-selectors such as ::-webkit-scrollbar-track. However, please note that these pseudo-selectors are prefixed with -webkit- and are only supported in WebKit-based browsers (e.g., Chrome, Safari).
List of Available CSS Variables for -webkit- browsers:
--sb-size: Adjusts the scrollbar size (width and height).--sb-track-bg-color: Sets the background color of the scrollbar track.--sb-track-bg-color-hover: Sets the background color of the scrollbar track on hover.--sb-thumb-min-height: Sets the minimum height of the scrollbar thumb.--sb-thumb-border-radius: Sets the border radius of the scrollbar thumb.--sb-thumb-border-size: Sets the border size of the scrollbar thumb.--sb-thumb-border-color: Sets the border color of the scrollbar thumb.--sb-thumb-bg-color: Sets the background color of the scrollbar thumb.--sb-thumb-bg-color-hover: Sets the background color of the scrollbar thumb on hover.
For Firefox users, we provide limited scrollbar styling options through the following CSS variables:
--sb-size: Adjusts the scrollbar size.--sb-thumb-bg-color: Sets the background color of the scrollbar thumb.--sb-track-bg-color: Sets the background color of the scrollbar track.
General
-
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid,IgxPivotGrid- Deprecation The
shouldGenerateproperty has been deprecated and will be removed in a future version. Column re-creation now relies onautoGenerateinstead. Automatic migration to this is available and will be applied onng update. Note that ifautoGenerateis already set initially, there is no need to explicitly set it elsewhere in your code.
- Deprecation The
-
IgxCarousel-
animationTypeinput property is now of typeCarouselAnimationType.HorizontalAnimationTypecan also be used, however, to accommodate the new vertical mode, which supports vertical slide animations, it is recommended to useCarouselAnimationType. -
Behavioral Changes - the
keyboardSupportinput property now defaults tofalse. -
Deprecation - the
keyboardSupportinput property has been deprecated and will be removed in a future version. Keyboard navigation withArrowLeft,ArrowRight,Home, andEndkeys will be supported when focusing the indicators' container viaTab/Shift+Tab.
-
-
IgxCombo:- Breaking Change The deprecated
filterableproperty is replaced withdisableFiltering. - The dropdown search field placeholder is now part of the Combo's localization resources. It now also uses two resource values depending on whether filtering is active, e.g. in the default
enlocale it remains'Enter a Search Term', but changes to'Add Item'whendisableFilteringandallowCustomValuesare set to true. For that reason, the existingsearchPlaceholderinput is also deprecated in favor of the resources. - Deprecation -
filterablefrom thefilteringOptionshas been deprecated in favor ofdisableFiltering.
- Breaking Change The deprecated
-
IgxBadge- Breaking Change The
$border-widthproperty has been removed from the badge theme. - New outlined variant of the badge component has been added. Users can switch to
outlinedby adding the newly createdoutlinedproperty to a badge.
- Breaking Change The
17.2.23
What's Changed
- fix(slider): improve accessibility by correcting ARIA attributes and tab index - 17.2.x by @georgianastasov in #14795
- fix(combo): update touched property and apply invalid color on blur when required - 17.2.x by @Zneeky in #14924
- fix(date-picker): KB nav and calendar focus handling by @damyanpetev in #14937
- fix(textarea): disabled state cursor by @SisIvanova in #14954
Full Changelog: 17.2.22...17.2.23
18.1.17
What's Changed
- fix(igxGrid): Use SelectedRowsChange for two-way bind for Blazor. by @MayaKirova in #14744
- fix(slider): improve accessibility by correcting ARIA attributes and tab index - 18.1.x by @georgianastasov in #14794
- fix(combo): update touched property and apply invalid color on blur when required - 18.1.x by @Zneeky in #14923
- fix(date-picker): KB nav and calendar focus handling by @damyanpetev in #14936
Full Changelog: 18.1.16...18.1.17
18.2.0-rc.1
What's Changed
- feat(igxGridState): Add support for persisting MRL columns. by @MayaKirova in #14926
- fix(igxGrid): Use SelectedRowsChange for two-way bind for Blazor. by @MayaKirova in #14745
- fix(slider): improve accessibility by correcting ARIA attributes and tab index - master by @georgianastasov in #14793
Full Changelog: 18.2.0-rc.0...18.2.0-rc.1
18.2.0-rc.0
18.2.0
General
IFilteringExpressionsTree,FilteringExpressionsTree- Deprecation The
findandfindIndexmethods have been deprecated and will be removed in a future version. AExpressionsTreeUtilclass has been added which provides the same functionality.
- Deprecation The
New Features
IgxSimpleCombo- Introduced ability for Simple Combo to automatically select and retain valid input on "Tab" press enhancing user experience by streamlining data entry and reducing the need for manual selection improving form navigation.
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- To streamline the sorting of columns with custom formats, a new
FormattedValuesSortingStrategyhas been introduced. This strategy simplifies the sorting process by allowing direct sorting based on formatted values, eliminating the need to extend theDefaultSortingStrategyor implement a customISortingStrategy. This enhancement improves the ease of handling sorting with custom column formatters.
- To streamline the sorting of columns with custom formats, a new
IgxCarousel- Added support for vertical alignment. Can be configured via the
verticalproperty. Defaults tofalse. - Added support for showing/hiding the indicator controls (dots). Can be configured via the
indicatorsproperty. Defaults totrue.
- Added support for vertical alignment. Can be configured via the
ColumnType,IgxColumn- The built-in editors for columns of type
date,dateTimeandtimenow use a default input format as per theIgxGrid'slocale. This is valid both for cell editors and the ones in the filtering UI for all modes -quickFilter,excelStyleand the Advanced filtering. - In case the
pipeArgs.displayFormatproperty of a date-time column is set and contains only numeric date-time parts or such that can be handled by the editors, the built-in editors input format is inferred from it. - To configure the built-in editors, a new
editorOptionsproperty is added that allows to pass optional parameters. Accepts anIColumnEditorOptionsobject with thedateTimeFormatproperty, that is used as input format for the editors of
date,dateTimeandtimecolumn data types:const editorOptions: IColumnEditorOptions = { Field? dateTimeFormat: 'MM/dd/YYYY', }
<igx-column field="sampleDate" dataType="date" [editorOptions]="editorOptions"></igx-column>
- The built-in editors for columns of type
FieldType(IgxQueryBuilder)- Similar to the above, the fields now accept an
editorOptionsobject of typeIFieldEditorOptions. ItsdateTimeFormatproperty is used as input format for the query editors of date-time fields.
- Similar to the above, the fields now accept an
IgxDateTimeEditor,IgxDatePicker,IgxTimePicker,IgxDateRangePicker- In case the
inputFormatproperty is not set, the input format is inferred from
displayFormatif set and if it contains only numeric date-time parts.
- In case the
IgxTimePicker- The input and display formats are now adjusted based on the locale. For instance, day period time part (AM/PM or a/p) would not be displayed for locales that do not require it.
IgxDateTimeEditor- Added a new
defaultFormatTypeproperty (date|time|dateTime) which configures the date-time parts
according to the target type that the editor mask includes. Defaults todate.
- Added a new
IgxTabs- Added
activationproperty to control tab selection. Inautomode (default), tabs are selected instantly with Arrow or Home/End keys. Inmanualmode, tabs are focused with keys but only selected with Enter or Space.
- Added
IgxGridState- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
columnInit. The only instance where this is still necessary is when the column (or its children in case of column groups) have nofieldproperty so there's no way to uniquely identify the matching column.
- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
Themes
-
Palettes- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
hslfunction.
Example:
/* 18.1.x and before: */ background: hsl(var(--igx-primary-600)); /* 18.2.0+: */ background: var(--igx-primary-600);
This change also opens up the door for declaring the base (500) variants of each color in CSS from any color, including other CSS variables, whereas before the Sass
palettefunction was needed to generate color shades from a base color.Example:
/* 18.1.x and before: */ $my-palette: palette($primary: #09f, ...); /* 18.2.0+: */ --ig-primary-500: #09f;
This change adds to our continuous effort to make theming configurable in CSS as much as it is in Sass.
- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
Scrollbar: New CSS variables
We have introduced new CSS variables to allow for more customizable scrollbars. This enhancement utilizes the available WebKit pseudo-selectors such as ::-webkit-scrollbar-track. However, please note that these pseudo-selectors are prefixed with -webkit- and are only supported in WebKit-based browsers (e.g., Chrome, Safari).
List of Available CSS Variables for -webkit- browsers:
--sb-size: Adjusts the scrollbar size (width and height).--sb-track-bg-color: Sets the background color of the scrollbar track.--sb-track-bg-color-hover: Sets the background color of the scrollbar track on hover.--sb-thumb-min-height: Sets the minimum height of the scrollbar thumb.--sb-thumb-border-radius: Sets the border radius of the scrollbar thumb.--sb-thumb-border-size: Sets the border size of the scrollbar thumb.--sb-thumb-border-color: Sets the border color of the scrollbar thumb.--sb-thumb-bg-color: Sets the background color of the scrollbar thumb.--sb-thumb-bg-color-hover: Sets the background color of the scrollbar thumb on hover.
For Firefox users, we provide limited scrollbar styling options through the following CSS variables:
--sb-size: Adjusts the scrollbar size.--sb-thumb-bg-color: Sets the background color of the scrollbar thumb.--sb-track-bg-color: Sets the background color of the scrollbar track.
General
-
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid,IgxPivotGrid- Deprecation The
shouldGenerateproperty has been deprecated and will be removed in a future version. Column re-creation now relies onautoGenerateinstead. Automatic migration to this is available and will be applied onng update. Note that ifautoGenerateis already set initially, there is no need to explicitly set it elsewhere in your code.
- Deprecation The
-
IgxCarousel-
animationTypeinput property is now of typeCarouselAnimationType.HorizontalAnimationTypecan also be used, however, to accommodate the new vertical mode, which supports vertical slide animations, it is recommended to useCarouselAnimationType. -
Behavioral Changes - the
keyboardSupportinput property now defaults tofalse. -
Deprecation - the
keyboardSupportinput property has been deprecated and will be removed in a future version. Keyboard navigation withArrowLeft,ArrowRight,Home, andEndkeys will be supported when focusing the indicators' container viaTab/Shift+Tab.
-
-
IgxCombo:- Breaking Change The deprecated
filterableproperty is replaced withdisableFiltering. - The dropdown search field placeholder is now part of the Combo's localization resources. It now also uses two resource values depending on whether filtering is active, e.g. in the default
enlocale it remains'Enter a Search Term', but changes to'Add Item'whendisableFilteringandallowCustomValuesare set to true. For that reason, the existingsearchPlaceholderinput is also deprecated in favor of the resources. - Deprecation -
filterablefrom thefilteringOptionshas been deprecated in favor ofdisableFiltering.
- Breaking Change The deprecated
-
IgxBadge- Breaking Change The
$border-widthproperty has been removed from the badge theme. - New outlined variant of the badge component has been added. Users can switch to
outlinedby adding the newly createdoutlinedproperty to a badge.
- Breaking Change The
18.1.16
18.1.15
What's Changed
- Fix query builder expression actions by @desig9stein in #14884
Full Changelog: 18.1.14...18.1.15
17.2.22
What's Changed
- Fix query builder expression actions by @desig9stein in #14883
Full Changelog: 17.2.21...17.2.22
18.2.0 Beta 2
What's Changed
- refactor(themes): relative color syntax by @SisIvanova in #13769
Full Changelog: 18.2.0-beta.1...18.2.0-beta.2
18.2.0-beta.1
Query Builder: Support for nested queries - latest styles and bug fixes.