intelliwaketssveltekitv25 0.1.69 → 0.1.71

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.
@@ -9,7 +9,9 @@
9
9
  onchange,
10
10
  decimals = 0,
11
11
  min = null,
12
- max = null
12
+ max = null,
13
+ readonly,
14
+ disabled
13
15
  }: {
14
16
  value: number | null,
15
17
  class?: string,
@@ -19,6 +21,8 @@
19
21
  decimals?: number
20
22
  min?: number | null
21
23
  max?: number | null
24
+ readonly?: boolean
25
+ disabled?: boolean
22
26
  } = $props()
23
27
 
24
28
  // Create a readable and writable signal for the display value
@@ -84,6 +88,8 @@
84
88
  class="text-right {clazz} pr-6"
85
89
  {id}
86
90
  {name}
91
+ {readonly}
92
+ {disabled}
87
93
  value={displayValue}
88
94
  oninput={handleInput}
89
95
  onkeydown={handleKeyDown}
@@ -7,6 +7,8 @@ type $$ComponentProps = {
7
7
  decimals?: number;
8
8
  min?: number | null;
9
9
  max?: number | null;
10
+ readonly?: boolean;
11
+ disabled?: boolean;
10
12
  };
11
13
  declare const InputPercent: import("svelte").Component<$$ComponentProps, {}, "value">;
12
14
  type InputPercent = ReturnType<typeof InputPercent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",