Skip to content

Commit 0a6403f

Browse files
committed
cleanup project
1 parent 5c76068 commit 0a6403f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ Web Component for easily creating layouts with sticky anchor navigation tabs and
1515
## Important information about versioning
1616
**Component versions 23.x were deprecated in order to follow Semanting Versioning practices. Please use latest version 2.x for Vaadin 23+ and version 3.x for Vaadin 24.5.**
1717

18+
## Since version 4.0.0
19+
20+
- The component has been migrated to Lit
21+
- By default, the component uses a minimal set of functional styles that provide a foundation for a custom theme.
22+
- To use the component with the Vaadin Lumo theme, import the component's Lumo theme from `@vaadin-component-factory/vcf-anchor-nav/theme/lumo.css`.
23+
- `ThemableMixin` has been removed from the component, and injecting styles into the component's shadow root using `registerStyles` is no longer supported. Use global CSS to style the component using part names and CSS variables instead.
24+
1825
## Compatibility
1926

2027
- Version 1.x.x -> Vaadin 14+

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"vcf-anchor-nav",
1717
"web-components",
1818
"web-component",
19-
"polymer"
19+
"lit"
2020
],
2121
"scripts": {
2222
"test": "wct",
@@ -42,11 +42,8 @@
4242
]
4343
},
4444
"dependencies": {
45-
"@polymer/polymer": "^3.0.0",
4645
"@vaadin/component-base": "^25.0.0-beta1",
47-
"@vaadin/tabs": "^25.0.0-beta1",
48-
"@vaadin/vaadin-lumo-styles": "^25.0.0-beta1",
49-
"@vaadin/vaadin-themable-mixin": "^25.0.0-beta1"
46+
"@vaadin/tabs": "^25.0.0-beta1"
5047
},
5148
"devDependencies": {
5249
"@babel/core": "^7.5.5",
@@ -58,6 +55,7 @@
5855
"@vaadin-component-factory/vcf-element-util": "^0.2.8",
5956
"@vaadin/button": "^25.0.0-beta1",
6057
"@vaadin/text-field": "^25.0.0-beta1",
58+
"@vaadin/vaadin-lumo-styles": "^25.0.0-beta1",
6159
"@web/dev-server": "^0.4.6",
6260
"@webcomponents/webcomponentsjs": "^2.0.0",
6361
"babel-eslint": "^10.0.2",

0 commit comments

Comments
 (0)