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.
@@ -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 placeholder:opacity-0 focus:placeholder:opacity-100 {inputClass}"
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>
@@ -12,6 +12,7 @@ declare class __sveltets_Render<T extends TGenericMultiSelect> {
12
12
  existing?: T[] | undefined;
13
13
  name?: string | null;
14
14
  placeholder?: string;
15
+ placeholderHideNoFocus?: boolean;
15
16
  disabled?: boolean;
16
17
  readonly?: boolean;
17
18
  required?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.172",
3
+ "version": "0.1.173",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",