hamzus-ui 0.0.72 → 0.0.73

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hamzus-ui",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -114,13 +114,13 @@
114
114
  <div class="slider-container {orientation === 'horizontal' ? 'horizontal' : 'vertical'}">
115
115
  <input type="hidden" {name} {value} />
116
116
  <div bind:this={slider} on:mousedown={handleClickDown} class="slider {isDraging ? 'hover' : ''}">
117
- <span class="progress" style="--progress:{percent}%;"></span>
118
- <!-- <span class="track" style="--progress:{percent}%;"></span> -->
117
+ <span class="progress" style="--progress:{percent.toFixed(2)}%;"></span>
118
+ <!-- <span class="track" style="--progress:{percent.toFixed(2)}%;"></span> -->
119
119
  <h5 class="label">{label}</h5>
120
120
  <h5
121
121
  class="label top"
122
- style="mask-image: linear-gradient(to right, black {percent}%, transparent {percent}%);
123
- -webkit-mask-image: linear-gradient(to right, black {percent}%, transparent {percent}%);"
122
+ style="mask-image: linear-gradient(to right, black {percent.toFixed(2)}%, transparent {percent.toFixed(2)}%);
123
+ -webkit-mask-image: linear-gradient(to right, black {percent.toFixed(2)}%, transparent {percent.toFixed(2)}%);"
124
124
  >
125
125
  {label}
126
126
  </h5>