Skip to content

Commit eb91831

Browse files
authored
Merge branch 'master' into rkolev/tabsBottomNavRouterSupport
2 parents 15c97f5 + 58d5255 commit eb91831

File tree

88 files changed

+3058
-834
lines changed

Some content is hidden

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

88 files changed

+3058
-834
lines changed

CHANGELOG.md

Lines changed: 39 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,50 @@
11
# Ignite UI for Angular Change Log
22

33
All notable changes for each version of this project will be documented in this file.
4+
## 7.3.1
5+
- `Pager`
6+
- **Behavioral Change** - The pager is now hidden when there are no records in the grid.
7+
8+
## 7.3.1
9+
- `IgxGrid` Custom keyboard navigation
10+
- `onFocusChange` event is deprecated.
11+
- `onGridKeydown` event is exposed which is emitted when `keydown` is triggered over element inside grid's body
12+
- `navigateTo` method allows you to navigate to a position in the grid based on provided `rowindex` and `visibleColumnIndex`, also to execute a custom logic over the target element through a callback function that accepts `{ targetType: GridKeydownTargetType, target: Object }`
13+
- `getNextCell` returns `ICellPosition` which defines the next cell, according to the current position, that match specific criteria. You can pass callback function as a third parameter of `getPreviousCell` method
14+
- `getPreviousCell` returns `ICellPosition` which defines the previous cell, according to the current position, that match specific criteria. You can pass callback function as a third parameter of `getPreviousCell` method.
415

516
## 7.3.0
617

718
### Features
8-
- **New feature** `igxGridComponent` now supports [Multi Row Layouts](https://github.com/IgniteUI/igniteui-angular/wiki/Grid---Multi-Row-Layout). It is configured with the newly added `IgxColumnLayoutComponent` and the columns in it. `IgxColumnComponent` now expose four new fields to determine the size and the location of the field into the layout:
9-
- [`colStart`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#colstart) - column index from which the field is starting. This property is **mandatory**.
10-
- [`rowStart`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#rowstart) - row index from which the field is starting. This property is **mandatory**.
11-
- [`colEnd`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#colend) - column index where the current field should end. The amount of columns between colStart and colEnd will determine the amount of spanning columns to that field. This property is **optional**. If not set defaults to `colStart + 1`.
12-
- [`rowEnd`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#rowend) - row index where the current field should end. The amount of rows between rowStart and rowEnd will determine the amount of spanning rows to that field. This property is **optional**. If not set defaults to `rowStart + 1`.
13-
```html
14-
<igx-column-layout>
15-
<igx-column [rowStart]="1" [colStart]="1" field="Country"></igx-column>
16-
<igx-column [rowStart]="1" [colStart]="2" field="City"></igx-column>
17-
<igx-column [rowStart]="2" [colStart]="1" [colEnd]="3" field="Address"></igx-column>
18-
</igx-column-layout>
19-
```
20-
- **New feature** `igxGridComponent` now supports [Grid Row Dragging ](https://github.com/IgniteUI/igniteui-angular/wiki/Row-Dragging). It lets users pass the data of a grid record on to another surface, which has been configured to process/render this data. It can be enabled by using the `rowDraggable` input of the grid.
19+
- `igxGrid`
20+
- **Feature** `igxGridComponent` now supports [Multi Row Layouts](https://github.com/IgniteUI/igniteui-angular/wiki/Grid---Multi-Row-Layout). It is configured with the newly added `IgxColumnLayoutComponent` and the columns in it. `IgxColumnComponent` now expose four new fields to determine the size and the location of the field into the layout:
21+
- [`colStart`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#colstart) - column index from which the field is starting. This property is **mandatory**.
22+
- [`rowStart`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#rowstart) - row index from which the field is starting. This property is **mandatory**.
23+
- [`colEnd`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#colend) - column index where the current field should end. The amount of columns between colStart and colEnd will determine the amount of spanning columns to that field. This property is **optional**. If not set defaults to `colStart + 1`.
24+
- [`rowEnd`](https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxcolumncomponent.html#rowend) - row index where the current field should end. The amount of rows between rowStart and rowEnd will determine the amount of spanning rows to that field. This property is **optional**. If not set defaults to `rowStart + 1`.
25+
```html
26+
<igx-column-layout>
27+
<igx-column [rowStart]="1" [colStart]="1" field="Country"></igx-column>
28+
<igx-column [rowStart]="1" [colStart]="2" field="City"></igx-column>
29+
<igx-column [rowStart]="2" [colStart]="1" [colEnd]="3" field="Address"></igx-column>
30+
</igx-column-layout>
31+
```
32+
- `igxGrid`, `igxTreeGrid`, `igxHierarchicalGrid`
33+
- **Feature** Grid components now supports [Grid Row Dragging ](https://github.com/IgniteUI/igniteui-angular/wiki/Row-Dragging). It lets users pass the data of a grid record on to another surface, which has been configured to process/render this data. It can be enabled by using the `rowDraggable` input of the grid.
2134

22-
- `igxTreeGrid` now supports loading child rows on demand using the newly added `loadChildrenOnDemand` and `hasChildrenKey` input properties.
35+
- **Feature** The Excel Style Filter dialog and its sub-dialogs now have a display density based on the `displayDensity` input of their respective grid.
36+
- `igxTreeGrid`
37+
- **Feature** The `IgxTreeGridComponent` now supports loading child rows on demand using the newly added `loadChildrenOnDemand` and `hasChildrenKey` input properties.
2338
- `IgxListComponent`
2439
- **Feature** The `IgxListComponent` now provides the ability to choose a display density from a predefined set of options: **compact**, **cosy** and **comfortable** (default one). It can be set by using the `displayDensity` input of the list.
2540
- `igxButton`
2641
- **Feature** The `igxButton` now provides the ability to choose a display density from a predefined set of options: **compact**, **cosy** and **comfortable** (default one). It can be set by using the `displayDensity` input of the button directive.
42+
- `igxButtonGroup`
43+
- **Feature** The `igxButtonGroup` now provides the ability to choose a display density from a predefined set of options: **compact**, **cosy** and **comfortable** (default one). It can be set by using the `displayDensity` input of the button group. The buttons within the group will have the same density as the button group. If a button has the `displayDensity` set in the template, it is not changed by the density of the group where the button is placed.
2744
- `igxGrid`, `igxTreeGrid`, `igxHierarchicalGrid`
2845
- **Feature** The Excel Style Filter dialog and its sub-dialogs now have a display density based on the `displayDensity` input of their respective grid.
2946
- `IgxDropDown`
30-
- now supports virtualized items. Use in conjuction with `IgxForOf` directive, with the following syntax, to display very large list of data:
47+
- now supports virtualized items. Use in conjunction with `IgxForOf` directive, with the following syntax, to display very large list of data:
3148
```html
3249
<igx-drop-down>
3350
<div class="wrapping-div">
@@ -44,7 +61,7 @@ All notable changes for each version of this project will be documented in this
4461
- **Feature** The `groupsRecords` property now returns the full grouping tree as in 7.1 and also includes the grouping information for all pages.
4562

4663
## 7.2.5
47-
- `igxDrop`
64+
- `igxDrop`
4865
- `onEnter`, `onLeave` and `onDrop` events now have new arguments for `originalEvent`, `offsetX` and `offsetY` relative to the container the igxDrop is instanced.
4966
- `IgxList`
5067
- **Feature** the `index` property is now an `@Input` and can be assigned by structural directives such as `*igxFor`.
@@ -77,9 +94,9 @@ All notable changes for each version of this project will be documented in this
7794
### New feature
7895
- [Multi-cell selection](https://github.com/IgniteUI/igniteui-angular/wiki/Grid-Multi-cell-selection-Specification) - Enables range selection of cells in the grid.
7996

80-
### Grids Performance improvements
97+
### Grids Performance improvements
8198
- Grid rendering speed
82-
- Grid grouping rendering speed
99+
- Grid grouping rendering speed
83100
- Grid vertical scrolling using the scroll arrows
84101
- Grid horizontal scrolling using the scroll arrows
85102
- Grid cell focusing time
@@ -118,7 +135,7 @@ All notable changes for each version of this project will be documented in this
118135
- Update child summaries correctly when CRUD operations are performed #4408
119136
- Add igxQuickFilterTemplate directive #4377
120137
- Resizing: move resize handle logic in a directive #4378
121-
- No event emitted when column is unpinned #3799
138+
- No event emitted when column is unpinned #3799
122139
- When update a cell in the grouped column the child summaries are not updated #4324
123140
- Column Group border is misaligned with its children's in some cases #4387
124141
- Expanding last row of HierarchicalGrid via keyboard(Alt + downArrow) leads to cell losing its focus. #4080
@@ -129,7 +146,7 @@ All notable changes for each version of this project will be documented in this
129146
## 7.2.2
130147
### Features
131148
- **Components' Display Type** - All components now have their CSS display property explicitly set on the host element to ensure width, padding, and margins are applied when set directly on the host selectors.
132-
- **Themes**
149+
- **Themes**
133150
- Add support for gradients and images as values for component themes via the component theme functions.
134151
- `Palettes` - added surface color to the palette. The surface color is used by cards, pickers, dialog windows, etc. as the default background.
135152

@@ -354,13 +371,13 @@ All notable changes for each version of this project will be documented in this
354371
- IgxCombo - Keyboard navigation ArrowDown stutters on chunk load #3999
355372
- Row editing overlay banner not shown when enter row editing #4117
356373
- IgxToggle open method always tries to get id even when it has one #3971
357-
- Last (right-aligned) column is cut off when no widths are set for the columns #3396
374+
- Last (right-aligned) column is cut off when no widths are set for the columns #3396
358375
- The selection in the last grid column does not span in the whole cell. #1115
359376
- Last column header is a bit wider than the cells #1230
360377

361378
## 7.1.11
362379
### Improvements
363-
- Row and Cell editing Docs improvements #4055
380+
- Row and Cell editing Docs improvements #4055
364381

365382
## 7.1.10
366383
### Features

angularDocsPostDeploy.ps1

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
Write-Host "angularDocsRoot value is: " $angularDocsRoot; #angularDocsRoot octo variable
2+
$isLatest = "VariableIsLatest";
3+
$tag = "VariableValue";
4+
$path = $angularDocsRoot;
5+
$newPath = $path -replace $tagFolder, $tag #tagFolder octo variable
6+
$angularDocsRootFolder = [System.IO.Directory]::GetParent($angularDocsRoot);
7+
Write-Host "newPath is:" $newPath;
8+
9+
#######Delete all other folders starting with <AngularMajor>.<Major>########
10+
#######Since we are going to keep the latest and greatest########
11+
$lastDot = $tag.LastIndexOf('.');
12+
$filter = $tag.Substring(0,$lastDot);
13+
$foldersToDel = Get-ChildItem -Path $angularDocsRootFolder -Directory -Filter $filter*
14+
Write-Host "Folders to delete: " $foldersToDel
15+
16+
try {
17+
foreach($f in $foldersToDel){
18+
if([System.IO.Directory]::Exists($f.FullName))
19+
{ Write-Host $f.FullName " to be deleted!"
20+
Remove-Item $f.FullName -Recurse -Force } }
21+
}
22+
catch { Write-Host "Exception while deleting the old folders" }
23+
24+
New-Item -Path $newPath -ItemType Directory -Force
25+
Copy-Item -Path $path\* -Destination $newPath -Recurse -Force
26+
27+
###Add metatag inside index.html files' head section
28+
$indexFiles = Get-ChildItem -Path $newPath -File -Recurse -Filter index.html
29+
foreach($indexFile in $indexFiles) {
30+
$newText = [System.IO.File]::ReadAllText($indexFile.FullName).Replace("</head>", " <meta name=`"robots`" content=`"noindex,nofollow`">
31+
</head>");
32+
[System.IO.File]::WriteAllText($indexFile.FullName, $newText);
33+
}
34+
35+
############Update the angular-docs/sass and typescript folders if isLatest flag is true###########
36+
if($isLatest) {
37+
$sassFolder = $path + "\sass";
38+
$typeScriptFolder = $path + "\typescript";
39+
40+
$sassFolderToUpdate = $path + "\..\sass";
41+
$typeScriptFolderToUpdate = $path + "\..\typescript";
42+
Write-Host "[Latest] sassFolderToUpdate is:" $sassFolderToUpdate;
43+
Write-Host "[Latest] typeScriptFolderToUpdate is:" $typeScriptFolderToUpdate;
44+
45+
#Delete the existing content as octopus option - delete all before deployment
46+
try {
47+
Remove-Item $sassFolderToUpdate\* -Recurse -Force
48+
Remove-Item $typeScriptFolderToUpdate\* -Recurse -Force }
49+
catch { Write-Host "Exception while deleting the $sassFolderToUpdate or $typeScriptFolderToUpdate" }
50+
51+
New-Item -Path $sassFolderToUpdate\latest -ItemType Directory -Force
52+
Copy-Item -Path $sassFolder\* -Destination $sassFolderToUpdate\latest -Recurse -Force
53+
54+
New-Item -Path $typeScriptFolderToUpdate\latest -ItemType Directory -Force
55+
Copy-Item -Path $typeScriptFolder\* -Destination $typeScriptFolderToUpdate\latest -Recurse -Force
56+
}
57+
58+
###########Json file content Update###########
59+
$filePath = $jsonFile; #jsonFile octo variable
60+
Write-Host "Check file exists: " ([System.IO.File]::Exists($filePath))
61+
Write-Host "Check dir exists:" ([System.IO.Directory]::Exists($angularDocsRootFolder));
62+
63+
if([System.IO.File]::Exists($filePath) -and [System.IO.Directory]::Exists($angularDocsRootFolder)) {
64+
$folders = Get-ChildItem -Path $angularDocsRootFolder -Directory -Exclude $tagFolder,"sass","typescript";
65+
$textToUpdate = "";
66+
foreach($item in $folders) {
67+
$textToUpdate += '"' + $item.Name + '"';
68+
}
69+
$textToUpdate = "[" + $textToUpdate.Replace("`"`"","`"`,`"") + "]" ;
70+
Write-Host $textToUpdate;
71+
72+
$content = [System.IO.File]::ReadAllText($filePath);
73+
$newContent = $content -replace "\[.*\]", $textToUpdate;
74+
[System.IO.File]::WriteAllText($filePath,$newContent);
75+
}

extras/docs/themes/sassdoc/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const theme = themeleon(__dirname, function (t) {
124124
return config ? config.versions : '';
125125
},
126126
getLang: () => {
127-
return process.env.SASSDOC_LANG;
127+
return process.env.SASSDOC_LANG.trim();
128128
},
129129
ifCond: (v1, operator, v2, options) => {
130130
switch (operator) {

extras/docs/themes/sassdoc/views/index.hbs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<!DOCTYPE html>
2-
<html lang="{{getLang}}">
2+
<html lang="{{lang}}">
33
<head>
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Ignite UI for Angular | Sass Documentation</title>
88

9-
<link rel="canonical" href="{{baseURl 'sassdoc_default_url' 'en'}}" />
10-
<link rel="canonical" href="{{baseURl 'sassdoc_default_url' 'jp'}}" />
9+
{{#ifCond lang '==' 'en'}}
10+
<link rel="canonical" href="{{baseURl 'sassdoc_default_url' 'en'}}" />
11+
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'en'}}" hreflang="en" />
12+
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'en'}}" hreflang="en-us" />
13+
{{else}}
14+
<link rel="canonical" href="{{baseURl 'sassdoc_default_url' 'jp'}}" />
15+
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'jp'}}" hreflang="ja" />
16+
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'jp'}}" hreflang="ja-jp" />
17+
{{/ifCond}}
1118

12-
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'en'}}" hreflang="en" />
13-
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'en'}}" hreflang="en-us" />
14-
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'jp'}}" hreflang="ja" />
15-
<link rel="alternate" href="{{baseURl 'sassdoc_default_url' 'jp'}}" hreflang="ja-jp" />
1619

1720
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1821
<link rel="stylesheet" href="https://infragistics.com/assets/modern/css/layout.css">
@@ -54,6 +57,7 @@
5457
<!-- End Google Tag Manager (noscript) -->
5558

5659
{{> header}}
60+
<div>{{getLang}}</div>
5761

5862
<script src="assets/js/versioning/tag-versions.req.js"></script>
5963
{{!

extras/docs/themes/typedoc/src/layouts/default.hbs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

10-
<link rel="canonical" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" />
11-
<link rel="canonical" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" />
12-
13-
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" hreflang="en" />
14-
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" hreflang="en-us" />
15-
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" hreflang="ja" />
16-
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" hreflang="ja-jp" />
10+
{{#ifCond settings.localize '===' 'en'}}
11+
<link rel="canonical" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" />
12+
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" hreflang="en" />
13+
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'en'}}{{url}}" hreflang="en-us" />
14+
{{else}}
15+
<link rel="canonical" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" />
16+
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" hreflang="ja-jp" />
17+
<link rel="alternate" href="{{getConfigData 'typedoc_default_url' 'jp'}}{{url}}" hreflang="ja" />
18+
{{/ifCond}}
1719

1820
<link rel="stylesheet" href="https://infragistics.com/assets/modern/css/layout.css">
1921
<link rel="stylesheet" href="https://infragistics.com/assets/modern/css/animate-custom.css">

0 commit comments

Comments
 (0)