Skip to content

Commit e93fa48

Browse files
authored
Merge branch 'vnext' into localization-2025-04-30
2 parents 619db81 + 5e9e362 commit e93fa48

File tree

4 files changed

+95
-1
lines changed

4 files changed

+95
-1
lines changed

doc/en/components/general-changelog-dv-react.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,29 @@ namespace: Infragistics.Controls.Charts
99

1010
All notable changes for each version of {ProductName} are documented on this page.
1111

12+
## **{PackageVerChanges-24-2-APR2}**
13+
> [!Note]With 19.0.0 the React product introduces many breaking changes done to improve and streamline the API. Please refer to the full Update Guide.
14+
15+
[Update Guide](update-guide.md)
16+
17+
### Removed
18+
- `CheckboxChangeEventArgs` removed, use `IgrCheckboxChangeEventArgs` instead.
19+
- `RadioChangeEventArgs` removed, use `IgrRadioChangeEventArgs` instead.
20+
- `IgrRangeSliderValue` removed, use `IgrRangeSliderValueEventArgs` instead.
21+
- `IgrActiveStepChangingArgs` removed, use `IgrActiveStepChangingEventArgs` instead.
22+
- `IgrActiveStepChangedArgs` removed, use `IgrActiveStepChangedEventArgs` instead.
23+
24+
25+
### Enhancements
26+
27+
#### Stepper
28+
Stepper Step's `titlePosition` now defaults to `auto`, instead of being undefined, which has the same behavior.
29+
30+
#### Tabs
31+
igr-tab `panel` property is removed.
32+
33+
igr-tab-panel component is removed. The igr-tab now encompasses both the tab header and the tab content in a single component.
34+
1235
## **{PackageVerChanges-24-2-APR}**
1336

1437
### New Components

doc/en/components/update-guide.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Update Guide | Ignite UI for React | Infragistics
3+
_description: Check out this article on updating how to update to a newer version of the Ignite UI for React library.
4+
_keywords: ignite ui for react, update, npm package, material components
5+
---
6+
7+
# Update Guide
8+
In the Ignite UI for React versioning the first number always matches the major version of React the code supports and the second is dedicated for major version releases. Breaking changes may be introduced between major releases. A comprehensive list of changes for each release of Ignite UI for React can be found in the product [CHANGELOG](./general-changelog-dv-react.md).
9+
10+
11+
## From 18.9.0 to 19.0.0
12+
This release include a major rework of some of our React components internals leading to the following changes in **igniteui-react** and **igniteui-react-grids** packages:
13+
14+
### General
15+
#### Breaking changes
16+
17+
- Ignite UI for React components are now using React Function Components, therefore references obtained from ***useRef*** will now be a forward of the native element instead of a class component instance. Many of the use cases could remain unchanged but there are possible changes required such as not needing an extra property to access the DOM element itself.
18+
- Components no longer accept alternative string union on all properties types (e.g ***boolean | string*** or ***number | string***). Additionally, string union types are no longer case-insensitive.
19+
```tsx
20+
<IgrColumn dataType="String" sortable="true"></IgrColumn>
21+
```
22+
Becomes:
23+
```tsx
24+
<IgrColumn dataType="string" sortable={true}></IgrColumn>
25+
```
26+
- Component events are now **on** prefixed, i.e:
27+
```tsx
28+
<IgrGrid columnPin={handlePinning}></IgrGrid>
29+
```
30+
Becomes
31+
```tsx
32+
<IgrGrid onColumnPin={handlePinning}></IgrGrid>
33+
```
34+
- Component events emit a single standard **CustomEvent** argument instead of the **sender** as first argument. Therefore, custom properties like ***sender.nativeElement*** are no longer available, but native event properties all are. Also, types for event arguments are available as aliases for the specific custom event, so usage accessing ***detail*** will remain the same. With the new handler signature ***event.detail*** is the same and ***event.target*** is the DOM element equivalent to the sender:
35+
```tsx
36+
const handlePinning = (sender: IgrGridBaseDirective, event: IgrPinColumnCancellableEventArgs) => {};
37+
```
38+
Becomes:
39+
```tsx
40+
const handlePinning = (event: IgrPinColumnCancellableEventArgs) => {}
41+
// equivalent to
42+
const handlePinning = (event: CustomEvent<IgrPinColumnCancellableEventArgsDetail>) => {}
43+
```
44+
- Components no longer have the non-functional ***name*** property by default. The ***name*** property only remains in **igniteui-react** components, mostly form inputs such as **IgrInput** and **IgrCombo**, where it has native functionality.
45+
- Ignite UI for React components no longer require a ***key*** property, unless it is necessary according to React`s [documentation](https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key)
46+
- The [IgrDataGrid](./grids/data-grid/overview.md) is no longer part of **igniteui-react-grids** package. It has been moved to **igniteui-react-data-grids**, making **igniteui-react-grids** more lightweight.
47+
- There were several types that were exposed as classes in version **18.9.0** which is no longer the case. Those are now exported as types and can be used like this:
48+
```tsx
49+
const pivotConfiguration = new IgrPivotConfiguration();
50+
```
51+
Becomes:
52+
```tsx
53+
const pivotConfiguration: IgrPivotConfiguration = {
54+
rows: [],
55+
columns: [],
56+
values: []
57+
}
58+
```
59+
- **IgrButton**
60+
- **Breaking Changes**
61+
- ***clicked*** event is removed. Use native ***onClick*** instead.
62+
- **IgrInput**
63+
- **Breaking Changes**
64+
- ***inputOccurred*** event is renamed to ***onInput***.

docConfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@
171171
{ "name": "{PackageVerChanges-24-2-MAR}", "value": "18.8.0 (March 2025)"},
172172
{ "name": "{PackageVerChanges-24-2-MAR1}", "value": "18.8.1 (March 2025)"},
173173
{ "name": "{PackageVerChanges-24-2-APR}", "value": "18.9.0 (April 2025)"},
174-
{ "name": "{PackageVerLatest}", "value": "18.9.0"},
174+
{ "name": "{PackageVerChanges-24-2-APR2}", "value": "19.0.0 (April 2025)"},
175+
{ "name": "{PackageVerLatest}", "value": "19.0.0"},
175176
{ "name": "{RepoSamples}", "value": "https://github.com/IgniteUI/igniteui-react-examples/tree/master/samples"},
176177
{ "name": "{RepoBrowser}", "value": "https://github.com/IgniteUI/igniteui-react-examples/tree/master/browser"},
177178
{ "name": "{GithubLink}", "value": "https://github.com/IgniteUI/igniteui-react"},

docfx/en/components/toc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
"name": "Integrating Ignite UI for React with Next.js",
124124
"href": "nextjs-usage.md"
125125
},
126+
{
127+
"exclude": ["Angular", "Blazor", "WebComponents"],
128+
"name": "Update guide",
129+
"href": "update-guide.md",
130+
"status": "NEW"
131+
},
126132
{
127133
"exclude": ["Angular"],
128134
"name": "Interactivity",

0 commit comments

Comments
 (0)