igniteui-angular
Advanced tools
Changelog
18.2.0
IFilteringExpressionsTree
, FilteringExpressionsTree
find
and findIndex
methods have been deprecated and will be removed in a future version. A ExpressionsTreeUtil
class has been added which provides the same functionality.IgxSimpleCombo
IgxGrid
, IgxTreeGrid
, IgxHierarchicalGrid
FormattedValuesSortingStrategy
has been introduced. This strategy simplifies the sorting process by allowing direct sorting based on formatted values, eliminating the need to extend the DefaultSortingStrategy
or implement a custom ISortingStrategy
. This enhancement improves the ease of handling sorting with custom column formatters.IgxCarousel
vertical
property. Defaults to false
.indicators
property. Defaults to true
.ColumnType
, IgxColumn
date
, dateTime
and time
now use a default input format as per the IgxGrid
's locale
. This is valid both for cell editors and the ones in the filtering UI for all modes - quickFilter
, excelStyle
and the Advanced filtering.pipeArgs.displayFormat
property 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.editorOptions
property is added that allows to pass optional parameters. Accepts an IColumnEditorOptions
object with the dateTimeFormat
property, that is used as input format for the editors of
date
, dateTime
and time
column data types:
const editorOptions: IColumnEditorOptions = { Field?
dateTimeFormat: 'MM/dd/YYYY',
}
<igx-column field="sampleDate" dataType="date" [editorOptions]="editorOptions"></igx-column>
FieldType
(IgxQueryBuilder
)
editorOptions
object of type IFieldEditorOptions
. Its dateTimeFormat
property is used as input format for the query editors of date-time fields.IgxDateTimeEditor
, IgxDatePicker
, IgxTimePicker
, IgxDateRangePicker
inputFormat
property is not set, the input format is inferred from
displayFormat
if set and if it contains only numeric date-time parts.IgxTimePicker
IgxDateTimeEditor
defaultFormatType
property (date
| time
| dateTime
) which configures the date-time parts
according to the target type that the editor mask includes. Defaults to date
.IgxTabs
activation
property to control tab selection. In auto
mode (default), tabs are selected instantly with Arrow or Home/End keys. In manual
mode, tabs are focused with keys but only selected with Enter or Space.IgxGridState
columnInit
. The only instance where this is still necessary is when the column (or its children in case of column groups) have no field
property so there's no way to uniquely identify the matching column.Breaking Change Palettes
hsl
function.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 palette
function 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.
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).
-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.IgxGrid
, IgxTreeGrid
, IgxHierarchicalGrid
, IgxPivotGrid
shouldGenerate
property has been deprecated and will be removed in a future version. Column re-creation now relies on autoGenerate
instead. Automatic migration to this is available and will be applied on ng update
. Note that if autoGenerate
is already set initially, there is no need to explicitly set it elsewhere in your code.IgxCarousel
animationType
input property is now of type CarouselAnimationType
. HorizontalAnimationType
can also be used, however, to accommodate the new vertical mode, which supports vertical slide animations, it is recommended to use CarouselAnimationType
.
Behavioral Changes - the keyboardSupport
input property now defaults to false
.
Deprecation - the keyboardSupport
input property has been deprecated and will be removed in a future version. Keyboard navigation with ArrowLeft
, ArrowRight
, Home
, and End
keys will be supported when focusing the indicators' container via Tab
/Shift+Tab
.
IgxCombo
:
filterable
property is replaced with disableFiltering
.en
locale it remains 'Enter a Search Term'
, but changes to 'Add Item'
when disableFiltering
and allowCustomValues
are set to true. For that reason, the existing searchPlaceholder
input is also deprecated in favor of the resources.filterable
from the filteringOptions
has been deprecated in favor of disableFiltering
.IgxBadge
$border-width
property has been removed from the badge theme.outlined
by adding the newly created outlined
property to a badge.