Skip to content

Commit a16eb4f

Browse files
paodbjavier-godoy
authored andcommitted
feat!: update library dependency to 3.7.0
1 parent 7814e92 commit a16eb4f

File tree

3 files changed

+6
-1431
lines changed

3 files changed

+6
-1431
lines changed

src/main/java/com/flowingcode/vaadin/addons/orgchart/OrgChart.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
import com.vaadin.flow.component.ComponentEvent;
2929
import com.vaadin.flow.component.ComponentEventListener;
3030
import com.vaadin.flow.component.Tag;
31+
import com.vaadin.flow.component.dependency.CssImport;
3132
import com.vaadin.flow.component.dependency.JsModule;
3233
import com.vaadin.flow.component.dependency.NpmPackage;
33-
import com.vaadin.flow.component.dependency.StyleSheet;
3434
import com.vaadin.flow.component.html.Div;
3535
import com.vaadin.flow.shared.Registration;
3636
import java.util.List;
@@ -45,12 +45,12 @@
4545
* @author pbartolo
4646
*/
4747
@SuppressWarnings("serial")
48-
// @NpmPackage(value = "orgchart", version = "2.1.4")
49-
@NpmPackage(value = "html2canvas", version = "^0.5.0-beta4")
50-
@NpmPackage(value = "jquery", version = "3.4.1")
48+
@NpmPackage(value = "orgchart", version = "3.7.0")
49+
@NpmPackage(value = "html2canvas", version = "1.4.1")
50+
@NpmPackage(value = "jquery", version = "3.6.2")
5151
@JsModule("jquery/dist/jquery.js")
52-
@JsModule("./orgchart/dist/js/jquery.orgchart.js")
53-
@StyleSheet("context://frontend/jquery.orgchart.min.css")
52+
@JsModule("orgchart/dist/js/jquery.orgchart.js")
53+
@CssImport("orgchart/dist/css/jquery.orgchart.min.css")
5454
@Tag("fc-orgchart")
5555
@JsModule("./fc-orgchart.js")
5656
public class OrgChart extends Div {

0 commit comments

Comments
 (0)