17.1.0
17.1.0
New Features
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- Added a new output -
rowClick
that fires when the user clicks on a row element of the grid, including group rows
- Added a new output -
IgxTree
- Added new property
toggleNodeOnClick
that determines whether clicking over a node will change its expanded state or not. Set tofalse
by default.
- Added new property
IgxPivotGrid
IPivotDimension
interface now exposes a property calleddisplayName
similar to the one in theIPivotValue
interface. This property is optional and will be displayed inside the chips for rows and columns in theIgxPivotGrid
. If thedisplayName
property is not set,memberName
will be used as a fallback.
IgxHierarchicalGrid
,IgxGridToolbar
- The declaration of child layout toolbar templates no longer require explicit grid reference so the following:
can be simplified like:
<igx-row-island> <igx-grid-toolbar [grid]="childGrid" *igxGridToolbar="let childGrid">
<igx-row-island> <igx-grid-toolbar *igxGridToolbar>
- With this change the
grid
property of theIgxGridToolbar
has been deprecated as it's no longer needed and will be removed in a future version.
- The declaration of child layout toolbar templates no longer require explicit grid reference so the following:
- New directive -
igxIconButton
directive that provides a way to use an icon as a fully functional button has been added. The newigxIconButton
comes in three types - flat, outlined and contained (default). AlligxButton
's with typeicon
will be automatically migrated to the newigxIconButton
's withng update
. IgxButton
- Behavioral Change
buttonSelected
event is now emitted not only when a button gets selected, but also when it gets deselected. However, the event is no longer being emitted on initialization. If this event was used in a scenario where it is assumed that the button gets selected, it's a good idea the logic to be branched now based oneventArgs.selected
condition.
- Behavioral Change
IgxRowIsland
- Added
toolbarTemplate
andpaginatorTemplate
inputs for definingIgxGridToolbar
andIgxPaginator
templates.
- Added
General
igxButton
:- Breaking Change The
raised
type of theigxButton
directive has been renamed tocontained
. Automatic migrations are available and will be applied onng update
. - The
igxButtonColor
andigxButtonBackground
input properties have been deprecated and will be removed in a future version.
- Breaking Change The
IgxForOf
- Unified logic for vertical and horizontal virtualization such as - caching, updating, max browser size exceeding.
- Added new method -
addScroll
that can shift the scroll thumb by the specified amount in pixels (negative number to scroll to previous, positive to scroll next). Similar toaddScrollTop
but works for both vertical and horizontal virtualization.
IgxTextHighlightDirective
is now correctly tree-shaken out of the bundle when not used.- Breaking Change A new
IgxTextHighlightService
is now exposed and methodssetActiveHighlight
andclearActiveHighlight
have been moved to it.
- Breaking Change A new
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- Tree-shaking of the grids has been improved:
- The
igx-paginator
,igx-grid-toolbar
andigx-action-strip
components should now correctly tree-shake when not used in a grid.
- The
- Breaking Changes
rowAdd
androwDelete
events now emit event argument of typeIRowDataCancelableEventArgs
instead ofIGridEditEventArgs
. The two interfaces are still compatible, however redundant for these events propertiescellID
,newValue
,oldValue
,isAddRow
are deprecated inIRowDataCancelableEventArgs
and will be removed in a future version. Switching to the correct new interfaces should reveal any deprecated use that can be safely removed.
- Deprecations
rowID
property has been deprecated in the following interfaces:IGridEditDoneEventArgs
,IPathSegment
,IRowToggleEventArgs
,IPinRowEventArgs
,IgxAddRowParent
and will be removed in a future version. UserowKey
instead.primaryKey
property has been deprecated in the following interfaces:IRowDataEventArgs
,IGridEditDoneEventArgs
. UserowKey
instead.data
property has been deprecated in the following interfaces:IRowDataEventArgs
. UserowData
instead.
- Tree-shaking of the grids has been improved:
- HammerJS is now an optional dependency, which means apps no longer need to install and include it for related components to work. Touch-specific handling on some components is still dependent on HammerJS setup, but will be disabled without. The setup is now also an option when adding Ignite UI for Angular to existing projects via the
ng add
command.
What's Changed
- Merging 17.0.x into master by @kdinev in #13681
- feat(icon-button): implement component by @SisIvanova in #13685
- feat(tree): add toggleNodeOnClick property to the tree by @teodosiah in #13707
- refactor(*): tree-shaking for application builder (#13701) by @kdinev in #13723
- fix(igxForOf): do not reset state.startIndex with scroll position by @ddaribo in #13718
- fix(migrations,ng-add): turn on encapsulation for devkit/schematics deps by @damyanpetev in #13732
- chore: fix demos and sassdoc build scripts by @simeonoff in #13739
- fix(igxForOf): Unify vertical and horizontal scroll handling, such as… by @MayaKirova in #13689
- feat(pivotGrid): Expose displayName property for Dimensions by @IMinchev64 in #13680
- fix(excel search): error onFocus when no matches by @GrblackStar in #13743
- fix(dropdown): active items in fluent theme by @SisIvanova in #13740
- Recalculate summary sizes when reset caches is called by @ddincheva in #13727
- deps(sassdoc-theme): bump to latest version by @simeonoff in #13749
- fix(hGrid): emit events for child grids with mch by @RivaIvanova in #13733
- chore(migrations): update using standalone schematics by @Lipata in #13753
- chore(*): Updating 'fflate' to v0.8.1. #13676 by @gedinakova in #13722
- fix(navbar): icons color in AppBuilder by @SisIvanova in #13759
- chore(themes): deprecate theme mixins by @SisIvanova in #13773
- feat(grid): implementing rowClick event by @ChronosSF in #13763
- fix(igxHierarchicalGrid): Ensure root hierarchical grid takes only di… by @MayaKirova in #13775
- fix(*): focus input on label click - master by @IMinchev64 in #13778
- fix(simple-combo): handle paste event - master by @IMinchev64 in #13788
- fix(stepper): Prevent throwing an error when an active step is clicked by @viktorkombov in #13793
- fix(combo): Change the way the groups in combo are created. Add suppo… by @mddragnev in #13799
- fix(igxDrag): Restore ghost template when moving drag elements around. by @skrustev in #13809
- fix(button): Trigger changes to the buttongroup when a button is deselected by @PlamenD95 in #13813
- fix(grid): Correct shift-click selection in grouped IgxGrid #13757 by @valeriatoneva in #13785
- fix(igxGrid): Retain float value when measuring grid width so that th… by @MayaKirova in #13803
- fix(i18n): Updating localization - Excel matches count - 17.1.x by @randriova in #13832
- fix(tree-grid): get newSelection from all data by @ddaribo in #13822
- refactor(btn-group): update fluent theme styles by @SisIvanova in #13836
- fix(button): Resolve the issue with buttonSelected being called on init by @PlamenD95 in #13816
- Deprecate rowID and primaryKey in grid interfaces by @ddincheva in #13427
- chore(*): update-roadmap-01-feb-2024 by @radomirchev in #13855
- fix(grid): Process pinned columns and column groups when the columns … by @mddragnev in #13844
- fix(migrations): bare specifier to escape the encapsulation for dynamic import by @Lipata in #13882
- chore(*): updating dependencies by @kdinev in #13869
- fix(button): icon in button size by @SisIvanova in #13860
- fix(button): redundant margin in bootstrap theme by @SisIvanova in #13866
- feat(navbar): add border in bootstrap theme by @SisIvanova in #13879
- fix(grid,tree-shake): use lightweight token for paginator by @damyanpetev in #13896
- fix(grid,tree-shake): use lightweight token for toolbar by @damyanpetev in #13897
- fix(density): resolve NG0100 errors by @simeonoff in #13899
- fix(grid,tree-shake): use lightweight token for action strip, changelog by @damyanpetev in #13900
- ci(schematics): skipLibCheck on compile for schematics by @Lipata in #13883
- feat(button/icon-button): refactor buttons and add new states by @didimmova in #13853
- chore(*): updating angular to 17.2 by @kdinev in #13908
- chore(schematics): update with cli rc.0 by @Lipata in #13909
- chore(ssr): dont initialize MutationObserver if it does not exist (ss… by @hanastasov in #13913
- test(ssr): extending the bundle-test project for SSR by @kdinev in #13911
- fix(calendar): no setting of date if same date is already set by @deyvidnenchev in #13877
- feat(h-grid): provide injector to simplify child toolbar template setup by @damyanpetev in #13907
- fix(hierarchical-grid): do not use hierarchy pipe data when data is explicitly set by user by @ddaribo in #13887
- chore(migrations): fix json schema in change files by @damyanpetev in #13916
- refactor(text-highlight): abstracting service from directive by @kdinev in #13915
- Fix grouped grid with summaries export - master by @onlyexeption in #13917
- chore(migartions): add "igniteui-angular-extras" to ng update group by @Lipata in #13925
- IgxGridState: does not restore collapsible column groups by @valeriatoneva in #13895
- Make HammerJs optional. by @MayaKirova in #13905
- feat(text-highlight): implement disposal by @kdinev in #13927
- chore(deps-dev): bump ip from 1.1.8 to 1.1.9 by @dependabot in #13940
- fix(select): fix memory leak in IgxSelectionAPIService by @teodosiah in #13926
- refactor(*): tree shaking enums and tokens by @kdinev in #13943
- Add toolbar and paginator template inputs enhancements. Optimize paginator init. by @skrustev in #13942
- chore(schematics): update-official-schematics by @Lipata in #13955
Full Changelog: 17.0.4...17.1.0