Skip to content

Commit 9a49f9b

Browse files
committed
Merge branch 'ddincheva/calendarKB' of https://github.com/IgniteUI/igniteui-angular into ddincheva/calendarKB
2 parents a618947 + 618e8ff commit 9a49f9b

File tree

100 files changed

+2439
-1142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+2439
-1142
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,23 @@ All notable changes for each version of this project will be documented in this
66
### General
77
- `IgxGridActions`
88
- Added `asMenuItems` Input for grid actions - `igx-grid-editing-actions`, `igx-grid-pinning-actions`. When set to true will render the related action buttons as separate menu items with button and label.
9+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
10+
- **Behavioral Change** - The Excel Style Filtering has been reworked to provide filtering experience such as in Excel. This includes the following changes:
11+
- You can close the Excel Style Filtering menu by pressing `Ctrl + Shift + L`.
12+
- You can apply the filter by pressing `Enter`.
13+
- When searching items in the Excel Style Filtering menu, only the rows that match your search term will be filtered in.
14+
- By checking the `Add current selection to filter` option, the new search results will be added to the previously filtered items.
915
- `IgxInputGroup`
1016
- **Breaking Change** - Removed `fluent`, `fluent_search`, `bootstrap`, and `indigo` as possible values for the `type` input property.
1117
- **Behavioral Change** - The styling of the input group is now dictated by the theme being used. The remaining `types` - `line`, `border`, and `box` will only have effect on the styling when used with the `material` theme. The `search` type will affect styling when used with all themes. Changing the theme at runtime will not change the styling of the input group, a page refresh is required.
18+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
19+
- **Rename outputs**
20+
`onRowEditEnter` to `rowEditEnter`
21+
`onCellEditEnter` to `cellEditEnter`
22+
`onCellEdit` to `cellEdit`
23+
`onRowEdit` to `rowEdit`
24+
- **Breaking Change** - The `onCellEditCancel` event is replaced by the new `cellEditExit` event that emits every time the editable cell exits edit mode.
25+
- **Breaking Change** - The `onRowEditCancel` event is replaced by the new `rowEditExit` event that emits every time the editable row exits edit mode.
1226
- `IgxOverlay`
1327
- **Breaking Change** - `target` property in `PositionSettings` has been deprecated. You can set the attaching target for the component to show in `OverlaySettings` instead.
1428
- `IgxToggleDirective`
@@ -26,10 +40,11 @@ All notable changes for each version of this project will be documented in this
2640
- `IgxExpansionPanel`
2741
- `IExpansionPanelEventArgs.panel` - Deprecated. Usе `owner` property to get a reference to the panel.
2842

29-
3043
### New Features
3144
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
3245
- When triggering an export of the grid via the toolbar and the export takes more than 500 milliseconds, the export button becomes disabled and an indeterminate progress bar is shown at the bottom of the toolbar until the export is finished.
46+
- `cellEditExit` is a new event that fires when cell exits edit mode
47+
- `rowEditExit` is a new event that fires when row exits edit mode
3348
- Added *getRowData(rowSelector)* method that returns an object that represents the data that is contained in the specified row component.
3449
- Added ability to spawn row adding UI through exoposed methods. Note that rowEditing should be enabled.
3550
- `beginAddRow` method which starts the adding row UI.
@@ -58,6 +73,19 @@ All notable changes for each version of this project will be documented in this
5873
- `IgxOverlay`
5974
- The `PositionSettings` `target` property has been deprecated and moved to `OverlaySettings`.
6075
- An optional Point/HTML Element parameter `target` has been added to the `position()` method
76+
- Added `createAbsoluteOverlaySettings` and `createRelativeOverlaySettings` methods which create non-modal `OverlaySettings` based on predefined `PositionSettings`. The methods are exposed off the `IgxOverlayService`.
77+
- `createAbsoluteOverlaySettings` creates non-modal `OverlaySettings` with `GlobalPositionStrategy` or `ContainerPositionStrategy` if an outlet is provided. Accepts `AbsolutePosition` enumeration, which could be `Center`, `Top` and `Bottom`. Default is `Center`.
78+
```typescript
79+
const globalOverlaySettings = IgxOverlayService.createAbsoluteOverlaySettings(AbsolutePosition.Top);
80+
```
81+
- `createRelativeOverlaySettings` creates `OverlaySettings` with `AutoPositionStrategy`, `ConnectedPositioningStrategy` or `ElasticPositionStrategy`. Accepts target, strategy and position. The `target` is the attaching point or element for the component to show. The position strategy is a `RelativePositionStrategy` enumeration, which defaults to `Auto`. The position is a `RelativePosition` enumeration. Possible values are `Above`, `Below`, `Before`, `After` and `Default`. The default option is `Default`, which positions the element below the target, left aligned.
82+
```typescript
83+
const targetElement = this.button.nativeElement;
84+
const connectedOverlaySettings = IgxOverlayService.createRelativeOverlaySettings(
85+
targetElement,
86+
RelativePositionStrategy.Connected,
87+
RelativePosition.Above);
88+
```
6189
- `IgxToast`
6290
- The component now utilizes the `IgxOverlayService` to position itself in the DOM.
6391
- An additional input property `outlet` has been added to allow users to specify custom Overlay Outlets using the `IgxOverlayOutletDirective`;

package-lock.json

Lines changed: 46 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@angular/platform-browser": "^10.1.0",
5353
"@angular/platform-browser-dynamic": "^10.1.0",
5454
"@angular/router": "^10.1.0",
55-
"@igniteui/material-icons-extended": "^2.3.0",
55+
"@igniteui/material-icons-extended": "^2.4.0",
5656
"@types/hammerjs": "^2.0.36",
5757
"@types/source-map": "0.5.2",
5858
"classlist.js": "^1.1.20150312",
@@ -61,6 +61,7 @@
6161
"igniteui-trial-watermark": "^1.0.3",
6262
"jszip": "^3.5.0",
6363
"lodash.merge": "^4.6.2",
64+
"uuid": "^8.3.0",
6465
"resize-observer-polyfill": "^1.5.1",
6566
"rxjs": "^6.6.3",
6667
"setimmediate": "^1.0.5",
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"$schema": "../../common/schema/binding.schema.json",
3+
"changes": [
4+
{
5+
"name": "onCellEditCancel",
6+
"replaceWith": "cellEditExit",
7+
"owner": {
8+
"selector": "igx-grid",
9+
"type": "component"
10+
}
11+
},
12+
{
13+
"name": "onCellEditCancel",
14+
"replaceWith": "cellEditExit",
15+
"owner": {
16+
"selector": "igx-tree-grid",
17+
"type": "component"
18+
}
19+
},
20+
{
21+
"name": "onCellEditCancel",
22+
"replaceWith": "cellEditExit",
23+
"owner": {
24+
"selector": "igx-hierarchical-grid",
25+
"type": "component"
26+
}
27+
},
28+
{
29+
"name": "onRowEditCancel",
30+
"replaceWith": "rowEditExit",
31+
"owner": {
32+
"selector": "igx-grid",
33+
"type": "component"
34+
}
35+
},
36+
{
37+
"name": "onRowEditCancel",
38+
"replaceWith": "rowEditExit",
39+
"owner": {
40+
"selector": "igx-tree-grid",
41+
"type": "component"
42+
}
43+
},
44+
{
45+
"name": "onRowEditCancel",
46+
"replaceWith": "rowEditExit",
47+
"owner": {
48+
"selector": "igx-hierarchical-grid",
49+
"type": "component"
50+
}
51+
},
52+
{
53+
"name": "onRowEditEnter",
54+
"replaceWith": "rowEditEnter",
55+
"owner": {
56+
"selector": "igx-grid",
57+
"type": "component"
58+
}
59+
},
60+
{
61+
"name": "onRowEditEnter",
62+
"replaceWith": "rowEditEnter",
63+
"owner": {
64+
"selector": "igx-hierarchical-grid",
65+
"type": "component"
66+
}
67+
},
68+
{
69+
"name": "onRowEditEnter",
70+
"replaceWith": "rowEditEnter",
71+
"owner": {
72+
"selector": "igx-tree-grid",
73+
"type": "component"
74+
}
75+
},
76+
{
77+
"name": "onCellEditEnter",
78+
"replaceWith": "cellEditEnter",
79+
"owner": {
80+
"selector": "igx-grid",
81+
"type": "component"
82+
}
83+
},
84+
{
85+
"name": "onCellEditEnter",
86+
"replaceWith": "cellEditEnter",
87+
"owner": {
88+
"selector": "igx-tree-grid",
89+
"type": "component"
90+
}
91+
},
92+
{
93+
"name": "onCellEditEnter",
94+
"replaceWith": "cellEditEnter",
95+
"owner": {
96+
"selector": "igx-hierarchical-grid",
97+
"type": "component"
98+
}
99+
},
100+
{
101+
"name": "onCellEdit",
102+
"replaceWith": "cellEdit",
103+
"owner": {
104+
"selector": "igx-grid",
105+
"type": "component"
106+
}
107+
},
108+
{
109+
"name": "onCellEdit",
110+
"replaceWith": "cellEdit",
111+
"owner": {
112+
"selector": "igx-tree-grid",
113+
"type": "component"
114+
}
115+
},
116+
{
117+
"name": "onCellEdit",
118+
"replaceWith": "cellEdit",
119+
"owner": {
120+
"selector": "igx-hierarchical-grid",
121+
"type": "component"
122+
}
123+
},
124+
{
125+
"name": "onRowEdit",
126+
"replaceWith": "rowEdit",
127+
"owner": {
128+
"selector": "igx-grid",
129+
"type": "component"
130+
}
131+
},
132+
{
133+
"name": "onRowEdit",
134+
"replaceWith": "rowEdit",
135+
"owner": {
136+
"selector": "igx-hierarchical-grid",
137+
"type": "component"
138+
}
139+
},
140+
{
141+
"name": "onRowEdit",
142+
"replaceWith": "rowEdit",
143+
"owner": {
144+
"selector": "igx-tree-grid",
145+
"type": "component"
146+
}
147+
}
148+
]
149+
}

projects/igniteui-angular/ng-package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"jszip",
1212
"resize-observer-polyfill",
1313
"igniteui-trial-watermark",
14-
"lodash.merge"
14+
"lodash.merge",
15+
"uuid",
16+
"@igniteui/material-icons-extended"
1517
]
1618
}

projects/igniteui-angular/ng-package.prod.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"jszip",
1414
"resize-observer-polyfill",
1515
"igniteui-trial-watermark",
16-
"lodash.merge"
16+
"lodash.merge",
17+
"uuid",
18+
"@igniteui/material-icons-extended"
1719
]
1820
}

projects/igniteui-angular/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@
7272
"tslib": "^2.0.0",
7373
"resize-observer-polyfill": "^1.5.1",
7474
"igniteui-trial-watermark": "^1.0.3",
75-
"lodash.merge": "^4.6.2"
75+
"lodash.merge": "^4.6.2",
76+
"uuid": "^8.3.0",
77+
"@igniteui/material-icons-extended": "^2.4.0"
7678
},
7779
"peerDependencies": {
7880
"@angular/common": "^10.0.0",

projects/igniteui-angular/schematics/utils/dependency-handler.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ export const DEPENDENCIES_MAP: PackageEntry[] = [
3030
{ name: '@types/hammerjs', target: PackageTarget.DEV },
3131
{ name: 'igniteui-trial-watermark', target: PackageTarget.NONE },
3232
{ name: 'lodash.merge', target: PackageTarget.NONE },
33+
{ name: 'uuid', target: PackageTarget.NONE },
34+
{ name: 'web-animations-js', target: PackageTarget.REGULAR },
35+
{ name: '@igniteui/material-icons-extended', target: PackageTarget.REGULAR },
3336
// peerDependencies
3437
{ name: '@angular/forms', target: PackageTarget.NONE },
3538
{ name: '@angular/common', target: PackageTarget.NONE },
3639
{ name: '@angular/core', target: PackageTarget.NONE },
3740
{ name: '@angular/animations', target: PackageTarget.NONE },
38-
{ name: 'web-animations-js', target: PackageTarget.REGULAR },
3941
// igxDevDependencies
4042
{ name: '@igniteui/angular-schematics', target: PackageTarget.DEV }
4143
];

0 commit comments

Comments
 (0)