Skip to content

Commit f6018fa

Browse files
paodbjavier-godoy
authored andcommitted
refactor: add paper slider source to the component
Needed in order to be able to make fixes.
1 parent d7a591a commit f6018fa

File tree

2 files changed

+663
-5
lines changed

2 files changed

+663
-5
lines changed

src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* Carousel Addon
44
* %%
5-
* Copyright (C) 2018 - 2021 Flowing Code
5+
* Copyright (C) 2018 - 2024 Flowing Code
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
@@ -26,7 +26,6 @@
2626
import com.vaadin.flow.component.EventData;
2727
import com.vaadin.flow.component.HasSize;
2828
import com.vaadin.flow.component.Tag;
29-
import com.vaadin.flow.component.dependency.HtmlImport;
3029
import com.vaadin.flow.component.dependency.JsModule;
3130
import com.vaadin.flow.component.dependency.NpmPackage;
3231
import com.vaadin.flow.shared.Registration;
@@ -38,9 +37,8 @@
3837
*/
3938
@SuppressWarnings("serial")
4039
@Tag("l2t-paper-slider")
41-
@HtmlImport("bower_components/l2t-paper-slider/l2t-paper-slider.html")
42-
@NpmPackage(value = "@xpertsea/paper-slider", version = "3.0.0")
43-
@JsModule("@xpertsea/paper-slider/l2t-paper-slider.js")
40+
@NpmPackage(value = "@polymer/iron-a11y-keys-behavior", version = "3.0.1")
41+
@JsModule("./paper-slider/l2t-paper-slider.js")
4442
public class Carousel extends Component implements HasSize {
4543

4644
private static final String HIDE_NAV = "hideNav";

0 commit comments

Comments
 (0)