y200subcontrols 0.0.3738 → 0.0.3739

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.
@@ -12,6 +12,7 @@ export let validationText = void 0;
12
12
  export let customCss = "";
13
13
  export let customValidation = void 0;
14
14
  export let disabled = false;
15
+ export let visible = true;
15
16
  let input;
16
17
  let isValid = true;
17
18
  let inputType = "password";
@@ -44,9 +45,10 @@ onMount(() => {
44
45
  {name}
45
46
  {required}
46
47
  {placeholder}
48
+ {visible}
47
49
  on:validated={handleValidated}
48
50
  >
49
- <div class="relative group">
51
+ <div class="relative group {visible ? '' : 'hidden'}">
50
52
  <input
51
53
  type="password"
52
54
  bind:this={input}
@@ -14,6 +14,7 @@ declare const __propDef: {
14
14
  customCss?: string;
15
15
  customValidation?: (() => Boolean) | undefined;
16
16
  disabled?: boolean;
17
+ visible?: boolean;
17
18
  };
18
19
  events: {
19
20
  change: Event;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.0.3738",
3
+ "version": "0.0.3739",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",