@evermade/overflow-slider 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -94,7 +94,7 @@ const slider = new OverflowSlider(
94
94
  You can import base styles from the library to get started. The base styles include basic styles for the slider and some plugins.
95
95
 
96
96
  ```scss
97
- @import "@evermade/overflow-slider/dist/overflow-slider.css";
97
+ @import "@evermade/overflow-slider/style.css";
98
98
  ```
99
99
 
100
100
  You can use the CSS variables to override some values easily.
@@ -135,6 +135,10 @@ Auto-play is not supported at the moment but can probably be implemented as a pl
135
135
 
136
136
  ## Changelog
137
137
 
138
+ ### 2.0.2
139
+
140
+ * Fix: Import style.css from correct path
141
+
138
142
  ### 2.0.1
139
143
 
140
144
  * Fix: Smooth scrolling for moveToSlide method
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evermade/overflow-slider",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Accessible slider tha works with overflow: auto.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,8 @@
38
38
  "./plugins/thumbnails": {
39
39
  "import": "./dist/plugins/thumbnails/thumbnails/index.esm.js",
40
40
  "require": "./dist/plugins/thumbnails/thumbnails/index.min.js"
41
- }
41
+ },
42
+ "./style.css": "./dist/overflow-slider.css"
42
43
  },
43
44
  "repository": {
44
45
  "type": "git",