Skip to content

Commit 879fb0e

Browse files
committed
set immutable false, try to fix package exports, bump v3.1.0
1 parent 5f08783 commit 879fb0e

26 files changed

+1921
-490
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,8 @@ A reactive, accessible, multi-thumb, range slider with the ability to display "p
2727
| 📝⚙ | **REPL** | **[Svelte component demo](https://svelte.dev/repl/030797781fd64ad88302d1343f5b2c43?version=3)** |
2828
| ❤✒ | **Codepen** | **[Plain JS component demo](https://codepen.io/simeydotme/pen/KKNJdbK)** |
2929

30-
<br>
31-
3230
</div>
3331

34-
_🆕 = New/Changed in version 3.0.0_
35-
36-
---
37-
38-
<br>
39-
4032
## Features
4133

4234
![Features of the range slider plugin (written below)](public/svelte-range-slider-features.png)
@@ -70,13 +62,20 @@ Assuming you have a Svelte app up and running;
7062

7163
```svelte
7264
<script>
73-
import { RangeSlider } from 'svelte-range-slider-pips';
65+
import RangeSlider from 'svelte-range-slider-pips';
7466
</script>
7567
7668
<RangeSlider values={[50]} pips />
7769
```
7870

79-
- 🆕 _see [test folder](./tests/) for examples of [usage with Svelte 4](./tests/svelte4/src/App.svelte) or [Svelte 5](./tests/svelte5/src/routes/+page.svelte)_
71+
<ul>
72+
<li>
73+
<img height="16" src="./public/icons/svelte-svgrepo-com.png" alt="Svelte Icon"> <em>see <a href="./tests/">test folder</a> for examples of <a href="./tests/svelte4/src/App.svelte">usage with Svelte 4</a></em>
74+
</li>
75+
<li>
76+
<img height="16" src="./public/icons/svelte-svgrepo-com.png" alt="Svelte Icon"> <em>or <a href="./tests/svelte5/src/routes/+page.svelte">Svelte 5</em></a>
77+
</li>
78+
</ul>
8079

8180
---
8281

@@ -89,7 +88,6 @@ This should even work with jQuery.
8988

9089
```html
9190
<!-- in the <head> of your html -->
92-
<link rel="stylesheet" href="./js/vendor/svelte-range-slider-pips.css" />
9391
<script src="./js/vendor/svelte-range-slider-pips.js" />
9492
9593
<!-- in the <body> of your html -->

0 commit comments

Comments
 (0)