Skip to content

Commit 8aef86c

Browse files
author
Alexandre Oger
committed
Mark RangeSlider as non-immutable
1 parent 5fd4175 commit 8aef86c

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

dist/range-slider-pips.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@
27802780
return child_ctx;
27812781
}
27822782

2783-
// (564:6) {#if float}
2783+
// (566:6) {#if float}
27842784
function create_if_block_2(ctx) {
27852785
let span;
27862786
let if_block0_anchor;
@@ -2849,7 +2849,7 @@
28492849
};
28502850
}
28512851

2852-
// (568:10) {#if prefix}
2852+
// (570:10) {#if prefix}
28532853
function create_if_block_4(ctx) {
28542854
let span;
28552855
let t;
@@ -2875,7 +2875,7 @@
28752875
};
28762876
}
28772877

2878-
// (569:40) {#if suffix}
2878+
// (571:40) {#if suffix}
28792879
function create_if_block_3(ctx) {
28802880
let span;
28812881
let t;
@@ -2901,7 +2901,7 @@
29012901
};
29022902
}
29032903

2904-
// (541:2) {#each values as value, index}
2904+
// (543:2) {#each values as value, index}
29052905
function create_each_block(ctx) {
29062906
let span1;
29072907
let span0;
@@ -3037,7 +3037,7 @@
30373037
};
30383038
}
30393039

3040-
// (575:2) {#if range}
3040+
// (577:2) {#if range}
30413041
function create_if_block_1(ctx) {
30423042
let span;
30433043
let span_style_value;
@@ -3064,7 +3064,7 @@
30643064
};
30653065
}
30663066

3067-
// (582:2) {#if pips}
3067+
// (584:2) {#if pips}
30683068
function create_if_block(ctx) {
30693069
let rangepips;
30703070
let current;

dist/range-slider-pips.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,7 @@ function get_if_ctx(ctx) {
27742774
return child_ctx;
27752775
}
27762776

2777-
// (564:6) {#if float}
2777+
// (566:6) {#if float}
27782778
function create_if_block_2(ctx) {
27792779
let span;
27802780
let if_block0_anchor;
@@ -2843,7 +2843,7 @@ function create_if_block_2(ctx) {
28432843
};
28442844
}
28452845

2846-
// (568:10) {#if prefix}
2846+
// (570:10) {#if prefix}
28472847
function create_if_block_4(ctx) {
28482848
let span;
28492849
let t;
@@ -2869,7 +2869,7 @@ function create_if_block_4(ctx) {
28692869
};
28702870
}
28712871

2872-
// (569:40) {#if suffix}
2872+
// (571:40) {#if suffix}
28732873
function create_if_block_3(ctx) {
28742874
let span;
28752875
let t;
@@ -2895,7 +2895,7 @@ function create_if_block_3(ctx) {
28952895
};
28962896
}
28972897

2898-
// (541:2) {#each values as value, index}
2898+
// (543:2) {#each values as value, index}
28992899
function create_each_block(ctx) {
29002900
let span1;
29012901
let span0;
@@ -3031,7 +3031,7 @@ function create_each_block(ctx) {
30313031
};
30323032
}
30333033

3034-
// (575:2) {#if range}
3034+
// (577:2) {#if range}
30353035
function create_if_block_1(ctx) {
30363036
let span;
30373037
let span_style_value;
@@ -3058,7 +3058,7 @@ function create_if_block_1(ctx) {
30583058
};
30593059
}
30603060

3061-
// (582:2) {#if pips}
3061+
// (584:2) {#if pips}
30623062
function create_if_block(ctx) {
30633063
let rangepips;
30643064
let current;

dist/svelte/components/RangeSlider.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<svelte:options immutable={false} />
2+
13
<script>import { spring } from "svelte/motion";
24
import { createEventDispatcher } from "svelte";
35
import {

src/lib/components/RangeSlider.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<svelte:options immutable={false} />
2+
13
<script lang="ts">
24
import { type SpringOpts, type Spring, spring } from 'svelte/motion';
35
import { createEventDispatcher } from 'svelte';

0 commit comments

Comments
 (0)