@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: (v.end - v.start).toFixed(digits)
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
- {#if stepIndex === 0 && $$slots.navigation}
71
- <!-- Slot: Navigation -->
72
- <div class="step-navigation-slot">
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>
@@ -32,7 +32,6 @@ declare const __propDef: {
32
32
  slots: {
33
33
  header: {};
34
34
  default: {};
35
- navigation: {};
36
35
  };
37
36
  };
38
37
  export type StepProps = typeof __propDef.props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton",
3
- "version": "1.6.2-dev.9011cd1d",
3
+ "version": "1.6.2-dev.904670d4",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {