Skip to content

Commit f828880

Browse files
chore(changelog): move new features to the proper section
1 parent e36e237 commit f828880

File tree

1 file changed

+35
-22
lines changed

1 file changed

+35
-22
lines changed

CHANGELOG.md

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,9 @@ All notable changes for each version of this project will be documented in this
5959
- `onGridInitialized` -> `gridInitialized`
6060
- `onDataPreLoad` -> `dataPreLoad`
6161
- `IgxDateTimeEditor`
62-
- **Feature** - `value` accepts ISO 8601 string format.
63-
- **Feature** - `spinDelta` input property which allows a user to provide different delta values that will be used for spinning. All parts default to `1`.
64-
- **Feature** - `increment` and `decrement` methods now accept an optional `delta` parameter which targets the currently spun date portion. It takes precedence over the values set in `spinDelta`.
6562
- **Breaking Change** - `onValueChange` event is renamed to `valueChange`.
6663
- **Breaking Change** - `isSpinLoop` property is renamed to `spinLoop`.
6764
- `IgxDatePicker`
68-
- **Feature** - `value` accepts ISO 8601 string format.
69-
- **Feature** - The actions template now exposes the Calendar component as implicit context:
70-
```html
71-
<igx-date-picker>
72-
<ng-template igxPickerActions let-calendar>
73-
<button igxButton="flat" (click)="calendar.viewDate = today">Today</button>
74-
</ng-template>
75-
</igx-date-picker>
76-
```
7765
- **Breaking Change** - `onSelection` event is renamed to `valueChange`.
7866
- **Breaking Change** - new way to define custom elements in the `igx-date-picker` while the following properties are deleted or deprecated: `context`, `labelInternal`, `template`.
7967
```html
@@ -97,9 +85,9 @@ All notable changes for each version of this project will be documented in this
9785
- **Breaking Change** - `onValidationFailed` event is renamed to `validationFailed`.
9886
- **Breaking Change** - `onDisabledDate` event is removed.
9987
- **Breaking Change** - `onOpening`, `onOpened`, `onClosing` and `onClosed` events are renamed respectively to `opening`, `opened`, `closing` and `closed`.
88+
- **Breaking Change** - `igxDatePickerActions` is renamed to `igxPickerActions`
10089
- **Behavioral Change** - Upon opening, the focused date will always be the selected/bound date. If there is no selected/bound date, the date picker will focus today's date. If `minValue` and/or `maxValue` are applied and today's date (or the bound date) is outside of the specified range, the focused date will be respectively `minValue` or `maxValue`.
10190
- `IgxTimePicker`
102-
- **Feature** - `value` accepts ISO 8601 string format.
10391
- **Breaking Change** - `value` type could be `Date` or `string`.
10492
- **Breaking Change** - `onValueChanged` event is renamed to `valueChange`.
10593
- **Breaking Change** - new way to define custom elements in the `igx-time-picker` while the following properties are deleted or deprecated: `context`, `promptChar`, `displayTime`, `template`.
@@ -122,15 +110,6 @@ All notable changes for each version of this project will be documented in this
122110
- **Breaking Change** - `onValidationFailed` event is renamed to `validationFailed`.
123111
- **Behavioral Change** - The dropdown/dialog displays time portions within `minValue` and `maxValue` range if set or time between 00:00 and 24:00 in the provided `inputFormat`. The displayed values for each time portion are calculated based on the items delta always starting from zero. If the `minValue` or `maxValue` does not match the items delta, the displayed values will start/end from the next/last possible value that matches the delta. Upon opening, the selected time will be the bound value. In cases when there is not a bound value, it is outside the min/max range or does not match the items delta, the selected time will be the closest possible time that matches the items delta.
124112
- `IgxDateRangePicker`
125-
- **Feature** - `value` start and end accept ISO 8601 string format.
126-
- **Feature** - The actions template now exposes the Calendar component as implicit context:
127-
```html
128-
<igx-date-range-picker>
129-
<ng-template igxPickerActions let-calendar>
130-
<button igxButton="flat" (click)="calendar.viewDate = today">Today</button>
131-
</ng-template>
132-
</igx-date-range-picker>
133-
```
134113
- **Breaking Change** - `rangeSelected` event is renamed to `valueChange`.
135114
- **Breaking Change** - `onOpening`, `onOpened`, `onClosing` and `onClosed` events are renamed respectively to `opening`, `opened`, `closing` and `closed`.
136115
- **Breaking Change** - `monthsViewNumber` is renamed to `displayMonthsCount`.
@@ -239,6 +218,40 @@ All notable changes for each version of this project will be documented in this
239218
}
240219
}
241220
```
221+
- `IgxDateTimeEditor`
222+
- `value` accepts ISO 8601 string format.
223+
- `spinDelta` input property which allows a user to provide different delta values that will be used for spinning. All parts default to `1`.
224+
- `increment` and `decrement` methods now accept an optional `delta` parameter which targets the currently spun date portion. It takes precedence over the values set in `spinDelta`.
225+
- `IgxDatePicker`
226+
- `value` accepts ISO 8601 string format.
227+
- The actions template now exposes the Calendar component as implicit context:
228+
```html
229+
<igx-date-picker>
230+
<ng-template igxPickerActions let-calendar>
231+
<button igxButton="flat" (click)="calendar.viewDate = today">Today</button>
232+
</ng-template>
233+
</igx-date-picker>
234+
```
235+
- `IgxTimePicker`
236+
- `value` accepts ISO 8601 string format.
237+
- The `igxPickerActions` directive can now be used to provide custom buttons to the picker's pop-up:
238+
```html
239+
<igx-time-picker #timePicker>
240+
<ng-template igxPickerActions>
241+
<button igxButton="flat" (click)="timePicker.close()">Close</button>
242+
</ng-template>
243+
</igx-time-picker>
244+
```
245+
- `IgxDateRangePicker`
246+
- `value` start and end accept ISO 8601 string format.
247+
- The `igxPickerActions` directive can now be used to template the pickers `Done` button:
248+
```html
249+
<igx-date-range-picker #rangePicker>
250+
<ng-template igxPickerActions>
251+
<button igxButton="flat" (click)="rangePicker.close()">Close</button>
252+
</ng-template>
253+
</igx-date-range-picker>
254+
```
242255

243256
### Themes:
244257
- Breaking Changes:

0 commit comments

Comments
 (0)