Skip to content

Commit 6e778b4

Browse files
committed
Merge branch 'master' of https://github.com/IgniteUI/igniteui-angular into rkaraivanov/column-moving-grid-prop
2 parents 730797e + 461f2e9 commit 6e778b4

File tree

116 files changed

+5273
-2131
lines changed

Some content is hidden

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

116 files changed

+5273
-2131
lines changed

.github/CONTRIBUTING.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,27 @@ Write migrations.
170170

171171
## Deprecating methods
172172
When a method is deprecated a few steps have to be done:
173-
1. Add deprecation warning message by decorating the method with `@DeprecateMethod` decorator from `deprecateDecorators.ts` file.
173+
1. Add the `@deprecated` tag at the begging of the method description followed by the version in which the method has been deprecated and what can be used instead. Example:
174+
```ts
175+
/**
176+
* @deprecated in version 12.1.0. Use 'data' instead
177+
*
178+
* The data record that populates the row
179+
*/
180+
public getRowData(): any {
181+
return this.data;
182+
}
183+
```
174184
2. Ensure that the deprecated method is no longer used in IgniteUI for Angular codebase, samples and documentation snippets.
175185
3. Write migrations.
176186

177187
## Deprecating class properties
178188
When a class property is deprecated a few steps have to be done:
179-
1. Add deprecation warning message by decorating the property with `@DeprecateProperty` decorator from `deprecateDecorators.ts` file.
189+
1. Add the `@deprecated` tag at the begging of the property description followed by the version in which the property has been deprecated and what can be used instead.
180190
2. Ensure that the deprecated property is no longer used in IgniteUI for Angular codebase, samples and documentation snippets.
181191
3. Write migrations.
182192

183-
NOTE: TypeScript disallows decorating both the get and set accessor for a single member. Instead, all decorators for the member must be applied to the first accessor specified in document order. This is because decorators apply to a Property Descriptor, which combines both the get and set accessor, not each declaration separately.
193+
NOTE: TypeScript disallows adding descriptions to both the get and set accessor for a single member. Instead, the description for the member must be applied to the first accessor specified in document order. Having this in mind the `@deprecated` tag is applied only once.
184194

185195
# Testing a PR
186196
In order to test a pull request that is awaiting test, perform the following actions.

.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'
5+
labels: ':bug: bug'
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: 'feature-request'
5+
labels: ':toolbox: feature-request'
66
assignees: ''
77
projects: IgniteUI/16
88

.github/ISSUE_TEMPLATE/question.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Question
33
about: Get general information or clarification
44
title: ''
5-
labels: 'question'
5+
labels: ':question: question'
66
assignees: ''
77
projects: IgniteUI/16
88

@@ -12,4 +12,4 @@ projects: IgniteUI/16
1212
I have an issue with "x" and I'm not sure if I'm doing it right.
1313

1414
* igniteui-angular version:
15-
* browser:
15+
* browser:

CHANGELOG.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,38 @@ All notable changes for each version of this project will be documented in this
2020

2121
- For more information, check out the [README](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/stepper/README.md), [specification](https://github.com/IgniteUI/igniteui-angular/wiki/Stepper-Specification) and [official documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/stepper).
2222

23+
- Added `IgxFocusTrap` directive, which traps the Tab key focus within an element.
24+
25+
```html
26+
<div #wrapper [igxFocusTrap]="true" tabindex="0">
27+
<input type="text" placeholder="Enter Username" name="uname">
28+
<input type="password" placeholder="Enter Password" name="psw">
29+
<button>SIGN IN</button>
30+
</div>
31+
```
32+
33+
- Added `IgxSimpleComboComponent`
34+
- The `igx-simple-combo` which is a modification of the `igx-combo` component that allows single selection and has the appropriate UI and behavior for that. It inherits most of the `igx-combo`'s API.
35+
- Allows the selection of single items in a filterable list.
36+
- Supports custom values, keyboard navigation, validation, customized positioning of the item list via overlay settings.
37+
- Example:
38+
```html
39+
<igx-simple-combo [(ngModel)]="item" [allowCustomValues]="true" [placeholder]="'Search'" [data]="items">
40+
<label igxLabel>Items</label>
41+
<igx-hint>Please select an item from the dropdown list.</igx-hint>
42+
</igx-simple-combo>
43+
```
44+
2345
- `IgxCsvExporterService`, `IgxExcelExporterService`
2446
- Exporter services are no longer required to be provided in the application since they are now injected on a root level.
2547
- `IgxGridToolbarPinningComponent`, `IgxGridToolbarHidingComponent`
2648
- Exposed new input `buttonText` which sets the text that is displayed inside the dropdown button in the toolbar.
2749
- `IgxCombo`
2850
- Added `groupSortingDirection` input, which allows you to set groups sorting order.
51+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
52+
- Added new directives for re-templating header sorting indicators - `IgxSortHeaderIconDirective`, `IgxSortAscendingHeaderIconDirective` and `IgxSortDescendingHeaderIconDirective`.
53+
- `IgxDialog`
54+
- Added `focusTrap` input to set whether the Tab key focus is trapped within the dialog when opened. Defaults to `true`.
2955

3056
### General
3157

@@ -47,19 +73,21 @@ All notable changes for each version of this project will be documented in this
4773
- Inputs `showToolbar`, `toolbarTitle`, `columnHiding`, `columnHidingTitle`, `hiddenColumnsText`,
4874
`columnPinning`, `columnPinningTitle`, `pinnedColumnsText`.
4975
Use `IgxGridToolbarComponent`, `IgxGridToolbarHidingComponent`, `IgxGridToolbarPinningComponent` instead.
76+
- **Breaking Change** - The `rowSelected` event is renamed to `rowSelectionChanging` to better reflect its function
5077
- `igxGrid`
5178
- Exposed a `groupStrategy` input that functions similarly to `sortStrategy`, allowing customization of the grouping behavior of the grid. Please, refer to the [Group By ](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/groupby) topic for more information.
5279
- `IgxColumnActionsComponent`
5380
- **Breaking Change** - The following input has been removed
5481
- Input `columns`. Use `igxGrid` `columns` input instead.
5582
- `IgxCarousel`
56-
- **Breaking Changes** -The carousel animation type `CarouselAnimationType` is renamed to `HorizontalAnimationType`.
83+
- **Breaking Changes** -The carousel animation type `CarouselAnimationType` is renamed to `HorizontalAnimationType`.
5784

5885
## 12.2.3
5986

6087
### General
6188
- **Breaking Change** - `IgxPercentSummaryOperand` and `IgxCurrencySummaryOperand` have been removed and `IgxNumberSummaryOperand` should be used instead. If you have used the percent or currency summary operands to extend a custom summary operand from them, then change the custom operand to extend from the number summary operand.
62-
89+
- `IgxToastComponent`
90+
- **Deprecated** - The `position` input property has been deprecated. Use `positionSettings` input instead.
6391
## 12.2.1
6492

6593
### New Features
@@ -3684,4 +3712,4 @@ export class IgxCustomFilteringOperand extends IgxFilteringOperand {
36843712
- `IgxDraggableDirective` moved inside `../directives/dragdrop/` folder
36853713
- `IgxRippleDirective` moved inside `../directives/ripple/` folder
36863714
- Folder `"./navigation/nav-service"` renamed to `"./navigation/nav.service"`
3687-
3715+

0 commit comments

Comments
 (0)