intelliwaketssveltekitv25 0.1.172 → 0.1.173
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/dist/MultiSelect.svelte
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
existing = $bindable([]),
|
|
22
22
|
name = null,
|
|
23
23
|
placeholder = '',
|
|
24
|
+
placeholderHideNoFocus = false,
|
|
24
25
|
disabled = false,
|
|
25
26
|
readonly = false,
|
|
26
27
|
required = false,
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
existing?: T[]
|
|
64
65
|
name?: string | null
|
|
65
66
|
placeholder?: string
|
|
67
|
+
placeholderHideNoFocus?: boolean
|
|
66
68
|
disabled?: boolean
|
|
67
69
|
readonly?: boolean
|
|
68
70
|
required?: boolean
|
|
@@ -344,7 +346,9 @@
|
|
|
344
346
|
autocomplete="off"
|
|
345
347
|
bind:this={elInput}
|
|
346
348
|
bind:value={searchValue}
|
|
347
|
-
class="noFormat flex grow-1 m-1 ring-0 focus:ring-0 outline-0 focus:outline-0 min-w-[3em] w-[3em] border-none p-0
|
|
349
|
+
class="noFormat flex grow-1 m-1 ring-0 focus:ring-0 outline-0 focus:outline-0 min-w-[3em] w-[3em] border-none p-0 {inputClass}"
|
|
350
|
+
class:placeholder:opacity-0={placeholderHideNoFocus}
|
|
351
|
+
class:focus:placeholder:opacity-100={placeholderHideNoFocus}
|
|
348
352
|
onkeydown={onKeyPress} />
|
|
349
353
|
{/if}
|
|
350
354
|
</div>
|