Skip to content

Commit b63f2fb

Browse files
fix: use Uses instead of NpmPackage to avoid version conflicts
Updated NpmPackage annotation to ensure compatibility with the latest version. Co-authored-by: Javier Godoy <[email protected]>
1 parent 0eed713 commit b63f2fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/flowingcode/vaadin/addons/gridhelpers/GridRadioSelectionColumn.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,23 @@
2121
package com.flowingcode.vaadin.addons.gridhelpers;
2222

2323
import com.vaadin.flow.component.Component;
24+
import com.vaadin.flow.component.grid.Grid;
2425
import com.vaadin.flow.component.HasStyle;
2526
import com.vaadin.flow.component.Synchronize;
2627
import com.vaadin.flow.component.Tag;
2728
import com.vaadin.flow.component.dependency.JsModule;
28-
import com.vaadin.flow.component.dependency.NpmPackage;
2929
import com.vaadin.flow.component.dependency.Uses;
3030
import com.vaadin.flow.component.radiobutton.RadioButtonGroup;
3131

3232
/**
3333
* Server side implementation for the flow specific grid radio selection column.
3434
*/
3535
@Tag("grid-flow-radio-selection-column")
36-
@NpmPackage(value = "@vaadin/polymer-legacy-adapter", version = "24.3.2")
3736
@JsModule("@vaadin/polymer-legacy-adapter/style-modules.js")
3837
@JsModule("./fcGridHelper/grid-flow-radio-selection-column.js")
3938
@Uses(RadioButtonGroup.class)
39+
// Indirectly ensure @NpmPackage(value = "@vaadin/polymer-legacy-adapter", version = "x.x.x")
40+
@Uses(Grid.class)
4041
public class GridRadioSelectionColumn extends Component implements HasStyle {
4142

4243
/**

0 commit comments

Comments
 (0)