16.1.0
16.1.0
New Features
-
IgxSelect:- The select component now has the ability to handle
igxPrefixandigxSuffixdirectives insideigx-select-item.
<igx-select-item> <igx-icon igxPrefix>alarm</igx-icon> Select item text content <igx-icon igxSuffix>alarm</igx-icon> </igx-select-item>
- The select component now has the ability to handle
-
IgxBadge:- Material icons extended along with any other custom icon set can now be used inside the badge component.
- Code example:
import { IgxBadgeComponent, IgxIconService } from 'igniteui-angular'; import { heartMonitor } from '@igniteui/material-icons-extended'; export class BadgeSampleComponent implements OnInit { constructor (protected _iconService: IgxIconService) {} public ngOnInit() { this._iconService.addSvgIconFromText(heartMonitor.name, heartMonitor.value, 'imx-icons'); } }
<igx-badge icon="heart-monitor" iconSet="imx-icons"></igx-badge>
-
IgxCombo:- Exposed
comboIgnoreDiacriticsFilterfilter function which normalizes diacritics to their base representation.
When the combo components are configured with it, filtering for "resume" will match both "resume" and "résumé".
- Exposed
-
IgxCombo,IgxSimpleCombo- Added new property
displayValuethat returns array of display keys.
- Added new property
-
IgxButtonGroup:- Added
ownerto theIButtonGroupEventArgsto identify the emitting button group instance. - Breaking Change Added the
selectionModeproperty that sets the selection mode of the buttons in theIgxButtonGroup. Selection modes aresingle,singleRequiredandmultias default issingle. - Breaking Change Deprecated the
multiSelectionproperty and all references have been migrated toselectionMode="multi".
- Added
-
Themes:- Include a standalone theme for the
igxLabeldirective to allow usage with components outside the Input Group.
- Include a standalone theme for the
-
Changing the size of Ignite UI components can now be done via a new custom CSS property -
--ig-size. TheDisplayDensityTokeninjection token and consequently, thedisplayDensityinputs for all components will be deprecated in the next major version and it is recommended that they no longer be used for sizing components.- Code example:
// *.component.ts // remove the provider declaration for `DisplayDensityToken` providers: [{ provide: DisplayDensityToken, useValue: { displayDensity: DisplayDensity.compact } }],
<!-- Remove `[displayDensity]="'compact'"` --> <igx-grid [displayDensity]="'compact'">...</igx-grid>
/* Add --ig-size to a component or global file. Available values are: compact: --ig-size-small cosy: --ig-size-medium comfortable: --ig-size-large */ igx-grid { --ig-size: var(--ig-size-small); }
General
IgxStepper:- Breaking Change The
IgxStepSubTitleDirectivehas been renamed toIgxStepSubtitleDirective. Automatic migrations are available and will be applied onng update.
- Breaking Change The
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- The
draggableattribute is no longer required to be set on interactable elements, if a column header is templated and the Column Moving is enabled in order for handlers for any event to be triggered. Nowdraggable='false'can be used as an addition if the user shouldn't be able to drag a column by that element, but even if omittedclickevents for example will trigger now. - Behavioral Change When there are already grouped columns, the group drop area now shows after dragging of a column starts and not when only click actions are performed.
- The
IgxCombo,IgxSimpleCombo:- Breaking Change The
selectionproperty returns an array of the selected items even when a value key is provided and thevalueproperty returns an array of value keys instead of display keys. Automatic migrations are available and will be applied onng update.
- Breaking Change The
- Improved tree-shaking support for the
@igniteui/material-icons-extendedpackage. - Improved tree-shaking support for the
igniteui-angular-i18npackage. - Improved tree-shaking support for all grids.
Full Changelog
- fix(drag): Fix ghost positioning when host is applied and window is scrolled. by @skrustev in #13100
- fix(input-group): fluent theme textarea styling in safari. by @desig9stein in #13209
- Rename igxStepSubTitle to igxStepSubtitle and update directives public api by @teodosiah in #13057
- fix(grid,kb-nav): prevent error on arrow key in filter UI row by @onlyexeption in #13164
- fix(chip): Fix nested IgxDragHandles causing parent IgxDrag elements to move. by @skrustev in #12965
- feat(igxForOf): Add support for template referencing of bound data. by @skrustev in #13222
- fix(button-group): boolean variable to check if there is initial selected button by @georgianastasov in #13183
- fix(themes): date-range picker doesn't get theme by @simeonoff in #13227
- Mass Merging 16.0.x to master by @damyanpetev in #13157
- fix(resizing): Set resize cursor initially and not on mouse hover, for not all columns get the inline style on width auto. by @skrustev in #13237
- fix(combo): add selected items to the input when data is loaded - master by @RivaIvanova in #13235
- fix(radio): unexpected margin when the radio buttons wrap on a second line by @desig9stein in #13248
- enhancement(moving): Move pointerDown and pointerMove logic to avoid needing additional custom attributes. by @skrustev in #12966
- fix(button-group): fix nth-child() usage. by @desig9stein in #13259
- fix(radio-group): wrong dirty state by @SisIvanova in #13261
- fix(pivot-selector): cropped box shadow of bootstrap input by @SisIvanova in #13270
- fix(themes): icon sizing discrepancies by @SisIvanova in #13245
- Select: Adding support for items suffix and prefix by @desig9stein in #13256
- fix(radio-group): FormControl disabled doesn't work by @simeonoff in #13275
- fix(input-group): fluent textarea jumping on focus by @desig9stein in #13273
- fix(button-group): deselected event fired on programmatic deselection by @simeonoff in #13278
- chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #13283
- feat(badge): support material icons extended by @SisIvanova in #13284
- fix(avatar, badge): shape not working by @simeonoff in #13294
- Export picker toggle component by @jackofdiamond5 in #13291
- feat(combo): Exported filter strategy for non-diacritic filter (#13071) by @ChronosSF in #13298
- feat(themes): add standalone label theme by @simeonoff in #13221
- Add lastSearchInfo docs and unify interfaces with highlight directive- master by @onlyexeption in #13286
- Add displayValue and change selection and value by @MonikaKirkova in #13207
- Grid: remove inline styles by @desig9stein in #13305
- feat(badge): support icon projection by @SisIvanova in #13315
- fix(mask): move the cursor to the next character if the same character is typed - master by @georgianastasov in #13267
- Make IMatchInfoCache internal - master by @onlyexeption in #13316
- refactor(*): consume sizing from schemas by @desig9stein in #13308
- fix(input): styling inconsistencies by @SisIvanova in #13314
- fix(igxGrid): Update column visibility based on hideGroupedColumns wh… by @MayaKirova in #13326
- fix(input-group): remove box shadow from bootstrap bundle on focus by @desig9stein in #13341
- fix(excel-exporter): do not set summary cell type - master by @onlyexeption in #13311
- fix(pivot-strategy): set properties of undefined - master by @IMinchev64 in #13320
- refactor(avatar): remove hardcoded values for rounded avatar. by @desig9stein in #13339
- fix(radio-group): checkbox matching initial value not selected by @simeonoff in #13360
- fix(date-picker): fix variables scope by @desig9stein in #13362
- fix(drag): Fix ghost template not detecting changes automatically. by @skrustev in #13351
- Remove createComponentInstance method & fix overlay positioning by @mtsvyatkova in #13288
- fix(drag): Improve dom check to support ShadowDom as well. by @skrustev in #13322
- fix(standalone): directives spread imports #13310 by @kdinev in #13353
- fix(splitter): improving sizing calculations in percent splitter #13252 - master by @ChronosSF in #13358
- chore(*): roadmap-update-23-aug by @radomirchev in #13347
- feat(button-group): add owner to IButtonGroupEventArgs by @simeonoff in #13367
- fix(calendar): displaying the correct week numbers - master by @georgianastasov in #13329
- fix(excel-export): fix pivotGrid column preparing - master by @onlyexeption in #13368
- fix(grid): updated z-index of row ghost to be above all grid elements by @tishko0 in #13377
- fix(row-island): columnInit not emitting if autoGenerate=false by @IMinchev64 in #13374
- docs(grid): Enchancing API documentation #13197 by @GrblackStar in #13306
- fix(grid): no property updateCell master by @GrblackStar in #13287
- test(*): cleaning up some warnings from tests by @kdinev in #13400
- test(tree-shaking): bundle test project setup by @kdinev in #13418
- fix(*): multiple level directive spreads break tree-shaking by @damyanpetev in #13413
- fix(i18n): sideEffects flag for tree-shaking by @damyanpetev in #13417
- refactor(navdrawer): remove indigo condition from the aside element border by @desig9stein in #13386
- feat(*): bumping material-icons-extended version by @kdinev in #13423
- fix(grid: column-pinning): working pinColumn with indexes for the last position by @georgianastasov in #13395
- fix(button-group): making selected and deselected events cancellable by @georgianastasov in #13408
- refactor(icon): Use em for the width and the height of the igx-icon. by @desig9stein in #13429
- fix(cellEditing): isCellInEditMode changed master by @GrblackStar in #13384
- test(*): rolling back to a working 20.x version by @ChronosSF in #13448
- fix(grid): add return type and return value to endEdit method by @teodosiah in #13436
- fix(grid): round column width when set in percentages - master by @ddaribo in #13405
- fix(grid): revert certain lastSearchInfo changes - master (#13365) by @ChronosSF in #13459
- fix(migrations): member lookup error when constructor is present by @damyanpetev in #13461
- refactor(themes): use only
--ig-sizefor sizing by @simeonoff in #13399 - Fix: IgxGrid: Horizontal scrollbar is displayed when row selection is enabled by @ddincheva in #13453
- feat(grid): provide styling properties for ESF by @SisIvanova in #13449
- fix(checkbox): CSS theming vars issues by @SisIvanova in #13464
- feat(migrations): add i18n and schematics as automatic updates by @Lipata in #13470
- fix(checkbox): fix sub pixel rendering for checkbox border by @desig9stein in #13477
- chore(list): add missing export by @dmk1111 in #13485
- fix(slider): properly adjusting bounds #13403 by @kdinev in #13471
- feat(button-group): adding selectionMode property by @georgianastasov in #13474
- refactor(themes): use already ingested border-radius by @simeonoff in #13483
- fix(tree): expand indicator directive #13502 by @kdinev in #13503
- fix(hierarchical-grid): add setter for child grid row data - master by @ddaribo in #13497
- refactor(divider): fix the component in flex context and add dev sample by @desig9stein in #13492
- refactor(toast): consume border-color from schema by @desig9stein in #13508
- fix(migrations): remove licensed package from group by @Lipata in #13513
- fix(button-group): deprecated multiSelection property by @georgianastasov in #13521
- fix(migrations): main path contains root path by @Lipata in #13478
- chore(grids): bump watermark version by @damyanpetev in #13442
Full Changelog: 16.0.11...16.1.0