Skip to content

Commit 5b49a7b

Browse files
committed
Merge branch 'typedoc-changes-master' of https://github.com/IgniteUI/igniteui-angular into typedoc-changes-master
2 parents 60443b3 + 3865c9b commit 5b49a7b

File tree

600 files changed

+25278
-36868
lines changed

Some content is hidden

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

600 files changed

+25278
-36868
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"no-unused-vars": "off",
2828
"@typescript-eslint/no-unused-vars": [
29-
"warn",
29+
"error",
3030
{
3131
"varsIgnorePattern": "_",
3232
"argsIgnorePattern": "^_"

.github/CONTRIBUTING.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ When working on an issue for the Ignite UI for Angular repository, you need to b
2121
## Development - applicable to issues
2222

2323
### Statuses
24-
1. `status: in-review` this is the initial status of an issue. If the label is not placed, go ahead and place it.
25-
2. `status: in-development` this is the status once you start working on an issue. Assign the issue to yourself if it hasn't been assigned already and remove the previous status and assign it an in development status.
26-
3. `status: by-design` this is the status of an issue that has been reviewed and has been determined that the current design of the feature is such that the issue describes the correct behavior as incorrect. Remove other statuses and place this status if you've reviewed the issue.
27-
4. `status: third-party-issue` this is the status of an issue that has been reviewed, has been determined to be an issue, but the root case is not in the Ignite UI for Angular code. Example would be browser specific bugs caused by the particular browser's rendering or JavaScript engines, or an issue with the Angular framework. Remove other statuses and place only this one if you're the one performing the investigation.
28-
5. `status: not-to-fix` this is the status of issues that derive from our code, but have been decided to leave as is. This is done when fixes require general design and/or architecture changes and are very risky.
29-
6. `status: already-fixed` this status indicates that the issue is already fixed in the source code. When setting this status assign the person that logged the issue so that he can verify the issue is fixed in the respective development branch. Remove other statuses and place this status if you've reviewed the issue.
30-
7. `status: cannot-reproduce` this status indicates that you cannot reproduce the issue in the source code. A reason may be because the issue is already fixed. When setting this status assign the person that logged the issue so that he can respond with more details on how to reproduce it.
31-
8. `status: not a bug` this is the status of an issue that you reviewed and concluded that it's not a bug. You should comment explaining the reasons why you think the issue is not a bug.
32-
9. `status: resolved` this is the status of an issue that has been fixed and there are active pull requests related to it.
24+
1. `status: new` this is the initial status of an issue. This label is placed automatically.
25+
2. `status: in-review` this is the status once someone picks up the issue and starts looking at it. Change the status to in-review when you pick it up.
26+
3. `status: in-development` this is the status once you start working on an issue. Assign the issue to yourself if it hasn't been assigned already and remove the previous status and assign it an in development status.
27+
4. `status: by-design` this is the status of an issue that has been reviewed and has been determined that the current design of the feature is such that the issue describes the correct behavior as incorrect. Remove other statuses and place this status if you've reviewed the issue.
28+
5. `status: third-party-issue` this is the status of an issue that has been reviewed, has been determined to be an issue, but the root case is not in the Ignite UI for Angular code. Example would be browser specific bugs caused by the particular browser's rendering or JavaScript engines, or an issue with the Angular framework. Remove other statuses and place only this one if you're the one performing the investigation.
29+
6. `status: not-to-fix` this is the status of issues that derive from our code, but have been decided to leave as is. This is done when fixes require general design and/or architecture changes and are very risky.
30+
7. `status: already-fixed` this status indicates that the issue is already fixed in the source code. When setting this status assign the person that logged the issue so that he can verify the issue is fixed in the respective development branch. Remove other statuses and place this status if you've reviewed the issue.
31+
8. `status: cannot-reproduce` this status indicates that you cannot reproduce the issue in the source code. A reason may be because the issue is already fixed. When setting this status assign the person that logged the issue so that he can respond with more details on how to reproduce it.
32+
9. `status: not a bug` this is the status of an issue that you reviewed and concluded that it's not a bug. You should comment explaining the reasons why you think the issue is not a bug.
33+
10. `status: resolved` this is the status of an issue that has been fixed and there are active pull requests related to it.
3334

3435
Example status workflows:
3536

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: Create a report to help us improve
44
title: ''
5-
labels: ':bug: bug'
5+
labels: ':bug: bug,:new: status: new'
66
assignees: ''
77
projects: 'IgniteUI/16'
88

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: ''
5-
labels: ':toolbox: feature-request'
5+
labels: ':toolbox: feature-request,:new: status: new'
66
assignees: ''
77
projects: IgniteUI/16
88

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ jobs:
5454
npm run test:i18n:dist
5555
- name: Publish to coveralls.io
5656
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '16.x'
57-
uses: coverallsapp/github-action@v1.1.2
57+
uses: coverallsapp/github-action@v1.2.1
5858
with:
5959
github-token: ${{ github.token }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 16
14+
node-version: 18
1515
cache: 'npm'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/stale@v1
13+
- uses: actions/stale@v7
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
stale-issue-message: 'There has been no recent activity and this issue has been marked inactive.'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ npm-debug.log
3838
yarn-error.log
3939
testem.log
4040
/typings
41+
TESTS-**.xml
4142

4243
# System Files
4344
.DS_Store

CHANGELOG.md

Lines changed: 80 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,82 @@
22

33
All notable changes for each version of this project will be documented in this file.
44

5+
## 15.1.0
6+
7+
### New Features
8+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`:
9+
- `GroupMemberCountSortingStrategy` is added, which can be used to sort the grid by number of items in each group in ASC or DESC order, if grouping is applied.
10+
- A new argument `primaryKey` has been introduced to `IRowDataEventArgs` Interface and part of the event arguments that are emitted by the `rowAdded` and `rowDeleted` events. When the grid has a primary key attribute added, then the emitted `primaryKey` event argument represents the row ID, otherwise it defaults to undefined.
11+
- Added the `autoGenerateExclude` property that accepts an array of strings for property names that are to be excluded from the generated column collection
12+
- `IgxColumnComponent`
13+
- Added `currRec` and `groupRec` parameters to the `groupingComparer` function that give access to the all properties of the compared records.
14+
- `IgxOverlayService`
15+
- A new event `contentAppending` is introduced - the event is emitted before the content is appended to the overlay. The event is emitted with `OverlayEventArgs` arguments and is not cancellable.
16+
- `IgxCard`
17+
- Buttons and icons slotted in the `igx-card-actions` can now be explicitly arranged to the start/end of the layout. To position components on either side users can take advantage of the newly added directives: `igxStart` - aligns items to the start and `igxEnd` - aligns items on the end of the card actions area.
18+
- The `reverse` property has been deprecated and will be removed in a future version.
19+
20+
- Code example:
21+
22+
```html
23+
<igx-card>
24+
<igx-card-header>
25+
<h3>Title</h3>
26+
</igx-card-header>
27+
<igx-card-content>
28+
Card Content
29+
</igx-card-content>
30+
31+
<!-- Rearrange items using igxStart and igxEnd directives -->
32+
<igx-card-actions>
33+
<igx-icon igxStart>drag_indicator</igx-icon>
34+
<button igxButton="icon" igxStart>
35+
<igx-icon>favorite</igx-icon>
36+
</button>
37+
<button igxButton igxEnd>Button</button>
38+
</igx-card-actions>
39+
</igx-card>
40+
```
41+
42+
### General
43+
- `IgxPivotGrid`
44+
- The `IgxPivotDateDimension` properties `inBaseDimension` and `inOption` have been deprecated and renamed to `baseDimension` and `options` respectively.
45+
- `IgxGrid`
46+
- **Breaking Change** The `onGroupingDone` output has been renamed to `groupingDone` to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on `ng update`.
47+
- Column formatters are now applied to values shown group rows when using the default template. For custom formatters, the formatter function is called with the data from the first row in the group.
48+
- `DisplayDensity`
49+
- **Breaking Change** The `onDensityChanged` output has been renamed to `densityChanged` to not violate the no on-prefixed outputs convention. All components exposing this event are affected. Automatic migrations are available and will be applied on `ng update`.
50+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
51+
- **Breaking Change** - `rowSelectionChanging` event arguments are changed. Now the `oldSelection`, `newSelection`, `added` and `removed` collections no longer consist of the row keys of the selected elements when the grid has set a primaryKey, but now in any case the row data is emitted.
52+
When the grid is working with remote data and a primary key has been set- for the selected rows that are not currently part of the grid view, will be emitted a partial row data object.
53+
- **Behavioral Change** - When selected row is deleted from the grid component `rowSelectionChanging` event will no longer be emitted.
54+
- `IgxCarousel`
55+
- **Breaking Change** The `onSlideChanged`, `onSlideAdded`, `onSlideRemoved`, `onCarouselPaused` and `onCarouselPlaying` outputs have been renamed to `slideChanged`, `slideAdded`, `slideRemoved`, `carouselPaused` and `carouselPlaying` to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on `ng update`.
56+
- `IgxRadio`, `IgxRadioGroup`, `IgxCheckbox`, `IgxSwitch`
57+
- Added component validation along with styles for invalid state
58+
- `igxMask` directive
59+
- Added the capability to escape mask pattern literals.
60+
- `IgxBadge`
61+
- Added `shape` property that controls the shape of the badge and can be either `square` or `rounded`. The default shape of the badge is rounded.
62+
- `IgxAvatar`
63+
- **Breaking Change** The `roundShape` property has been deprecated and will be removed in a future version. Users can control the shape of the avatar by the newly added `shape` attribute that can be `square`, `rounded` or `circle`. The default shape of the avatar is `square`.
64+
- `IgxOverlayService`
65+
- `attach` method overload accepting `ComponentFactoryResolver` (trough `NgModuleRef`-like object) is now deprecated in line with API deprecated in Angular 13. New overload is added accepting `ViewComponentRef` that should be used instead.
66+
- **Breaking Changes** - ` $label-floated-background` and `$label-floated-disabled-background` properties of `IgxInputGroupComponent` theme has been removed.
67+
- `IgxInputGroupComponent` The input group has been refactored so that the floating label for the input of `type="border"` does not require a background to match the surface background under the input field. Also, suffixes and prefixes are refactored to take the full height of the input which makes it easy to add background to them.
68+
- **Breaking Changes** - `$size` property of `scrollbar-theme` theme has been renamed to `$scrollbar-size`.
69+
570
## 15.0.1
671

772
- `IgxGrid`
873
- Added new auto-sizing API `recalculateAutoSizes` that recalculates widths of columns that have size set to `auto`. Can be used in scenarios where you want to auto-size the columns again post initialization.
74+
- Clicking with the Left Mouse key while holding `Ctrl` on selected cell will deselect the cell.
975
- `igxPivotGrid`
1076
- Adding `aggregatorName` for pivot value configuration as an alternative to setting `aggregator` function. If both are set `aggregatorName` takes precedent. If none are set an error is thrown.
77+
- `IgxSimpleCombo`
78+
- **Behavioral Change**
79+
- When the user clicks on the combo's input, the dropdown opens up.
80+
- Keyboard navigation `ArrowUp` - when the combo is opened `ArrowUp` will close the dropdown if the search input is focused. If the active item is the first one in the list, the focus will be moved back to the search input while also selecting all of the text in the input. Otherwise `ArrowUp` will move to the previous list item.
1181

1282
## 15.0.0
1383

@@ -18,6 +88,8 @@ All notable changes for each version of this project will be documented in this
1888
* - `IgxColumnComponent` - `ColumnType` (for example the column parameter in `igxFilterCellTemplate`)
1989
* - `IgxGridCell` - `CellType` (for example the cell parameter in `igxCell` template)
2090

91+
- A new `groupRecord` parameter has been exposed in `operate` method, that is an `IGroupByRecord` object describing the grouped row in case grouping is applied.
92+
2193
- `excelStyleHeaderIconTemplate` - Gets/Sets the excel style header icon.
2294
- `groupRowTemplate` - Gets/Sets the template reference for the group row.
2395
- `headSelectorTemplate` - Gets/Sets the header row selector template.
@@ -53,6 +125,9 @@ All notable changes for each version of this project will be documented in this
53125
- `multi` mode - select/deselect all dates between the last selected/deselected and the one clicked while holding `Shift`.
54126
- `range` mode - extend/shorten the range from the last selected date to the one clicked while holding `Shift`.
55127

128+
- `IgxFilterOptions`
129+
- Added support for multiple keys.
130+
56131
### Theme Changes
57132
- **Breaking Changes** - The `palette` function no longer provides `info`, `success`, `warn` and `error` colors. Therefore you have to pass custom values for them if you need to use these colors. You can also use the values for `info`, `success`, `warn` and `error` colors from our predefined color palettes.
58133

@@ -85,7 +160,7 @@ All notable changes for each version of this project will be documented in this
85160

86161
### New Features
87162
- The filtering logic inside the grid's Advanced Filtering is now extracted as a separate `IgxQueryBuilder` component. The Query Builder allows you to build complex queries by specifying AND/OR operators, conditions and values using the UI. It outputs an object describing the structure of the query. Use the `locale` property to modify the locale settings. The default value is resolved to the global Angular application locale. The `resourceStrings` allows changing the displayed strings.
88-
163+
89164
- Code example below:
90165

91166
```html
@@ -121,7 +196,7 @@ All notable changes for each version of this project will be documented in this
121196
<ng-template igxPivotValueChip let-value>
122197
{{ value.member }}
123198
</ng-template>
124-
```
199+
```
125200
- Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional `pivotConfiguration` option:
126201

127202
```html
@@ -137,7 +212,7 @@ All notable changes for each version of this project will be documented in this
137212
```
138213

139214
One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
140-
As a result any custom functions set to `memberFunction`, `aggregator`, `formatter`, `styles` etc. will not be stored. Restoring any of these can be achieved with code on application level.
215+
As a result any custom functions set to `memberFunction`, `aggregator`, `formatter`, `styles` etc. will not be stored. Restoring any of these can be achieved with code on application level.
141216
Hence we have also exposed 2 new events:
142217
- `dimensionInit` - emits when a dimension from the configuration is being initialized.
143218
- `valueInit` - emits when a value from the configuration is being initialized.
@@ -197,7 +272,7 @@ All notable changes for each version of this project will be documented in this
197272
<column width='auto' ...>
198273
```
199274
- Added support for restoring filtering expressions with custom filtering operands for the `IgxGridStateDirective`.
200-
275+
201276

202277
- Added the `IgcFormControl` directive that, when imported with its `IgcFormsModule`, is designed to seamlessly attach to form components from the Ignite UI for WebComponents package and allows using them in Angular templates and reactive forms with support for `ngModel` and `formControlName` directives. Currently the only Web Component with support through the directive is `igc-rating`.
203278

@@ -212,7 +287,7 @@ All notable changes for each version of this project will be documented in this
212287

213288
## 14.0.0
214289

215-
- Added additional theme properties for the `IgxCalendar` so that it's easier to style the `:hover` and `:focus` states inside the selected date or range of dates.
290+
- Added additional theme properties for the `IgxCalendar` so that it's easier to style the `:hover` and `:focus` states inside the selected date or range of dates.
216291
- `IgxDatePicker` and `IgxDateRangePicker` now expose a `weekStart` input property like the `IgxCalendar`
217292
- `IgxCombo` and `IgxSimpleComboComponent`
218293
- The combobox `role`, `aria-haspopup`, `aria-expanded`, `aria-controls` and `aria-labelledby` attributes have been moved from combo wrapper to the combo input. Additionally the `IgxSimpleComboComponent` input is marked with `aria-readonly="false"` and `aria-autocomplete="list"` attributes. The `aria-labelled` attribute is applied to the combo dropdown as well and can be set by the `ariaLabelledBy` property, the combo label or placeholder. The serach input within the combo dropdown is now marked as `role="searchbox"`, `aria-label="search"` and `aria-autocomplete="list"`. The dropdown item container has `aria-activedescendant` attribute to identify the currently active element of the item list. The `IgxCombo` container is also marked as `aria-multiselectable="true"`. The dropdown header items role has been changed to `group`.

0 commit comments

Comments
 (0)