@skeletonlabs/skeleton 1.6.2-dev.9011cd1d → 1.6.2-dev.904670d4
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.
|
@@ -5,7 +5,6 @@ export let legend = false;
|
|
|
5
5
|
export let spin = false;
|
|
6
6
|
export let width = "w-24";
|
|
7
7
|
export let hover = "bg-primary-hover-token";
|
|
8
|
-
export let digits = 0;
|
|
9
8
|
export let regionCaption = "";
|
|
10
9
|
export let regionCone = "";
|
|
11
10
|
export let regionLegend = "";
|
|
@@ -33,7 +32,7 @@ function genLegend() {
|
|
|
33
32
|
return {
|
|
34
33
|
label: v.label,
|
|
35
34
|
color: setColorValue(v.color),
|
|
36
|
-
value:
|
|
35
|
+
value: v.end - v.start
|
|
37
36
|
};
|
|
38
37
|
});
|
|
39
38
|
}
|
|
@@ -13,8 +13,6 @@ declare const __propDef: {
|
|
|
13
13
|
width?: string | undefined;
|
|
14
14
|
/** Style the legend hover effect.*/
|
|
15
15
|
hover?: string | undefined;
|
|
16
|
-
/** Set the number of digits on the legend values.*/
|
|
17
|
-
digits?: number | undefined;
|
|
18
16
|
/** Style the caption region above the gradient.*/
|
|
19
17
|
regionCaption?: string | undefined;
|
|
20
18
|
/** Style the conic gradient region.*/
|
|
@@ -67,19 +67,10 @@ onDestroy(() => {
|
|
|
67
67
|
<!-- Navigation -->
|
|
68
68
|
{#if $state.total > 1}
|
|
69
69
|
<div class="step-navigation {classesNavigation}" transition:fade|local={{ duration: 100 }}>
|
|
70
|
-
{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<slot name="navigation" />
|
|
74
|
-
</div>
|
|
75
|
-
{:else}
|
|
76
|
-
<!-- Button: Back -->
|
|
77
|
-
<button type={buttonBackType} class="btn {buttonBack}" on:click={onBack} disabled={$state.current === 0}>
|
|
78
|
-
{@html buttonBackLabel}
|
|
79
|
-
</button>
|
|
80
|
-
{/if}
|
|
70
|
+
<button type={buttonBackType} class="btn {buttonBack}" on:click={onBack} disabled={$state.current === 0}
|
|
71
|
+
>{@html buttonBackLabel}</button
|
|
72
|
+
>
|
|
81
73
|
{#if stepIndex < $state.total - 1}
|
|
82
|
-
<!-- Button: Next -->
|
|
83
74
|
<button type={buttonNextType} class="btn {buttonNext}" on:click={onNext} disabled={locked}>
|
|
84
75
|
{#if locked}
|
|
85
76
|
<svg class="w-3 aspect-square" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
@@ -91,7 +82,6 @@ onDestroy(() => {
|
|
|
91
82
|
<span>{@html buttonNextLabel}</span>
|
|
92
83
|
</button>
|
|
93
84
|
{:else}
|
|
94
|
-
<!-- Button: Complete -->
|
|
95
85
|
<button type={buttonCompleteType} class="btn {buttonComplete}" on:click={onComplete} disabled={locked}>
|
|
96
86
|
{@html buttonCompleteLabel}
|
|
97
87
|
</button>
|