valtech-components 2.0.455 → 2.0.457

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.
@@ -1,6 +1,10 @@
1
1
  import { FormControl } from '@angular/forms';
2
2
  import { Color } from '@ionic/core';
3
3
  import { ComponentState } from '../../types';
4
+ /**
5
+ * Size options for PIN input component.
6
+ */
7
+ export type PinInputSize = 'small' | 'medium' | 'large';
4
8
  /**
5
9
  * Metadata for the PIN input component.
6
10
  */
@@ -19,6 +23,8 @@ export interface PinInputMetadata {
19
23
  state?: ComponentState;
20
24
  /** Number of digits in PIN (default: 5) */
21
25
  length?: number;
26
+ /** Size of the input boxes: 'small' | 'medium' | 'large' (default: 'medium') */
27
+ size?: PinInputSize;
22
28
  /** Allow only numbers */
23
29
  allowNumbersOnly?: boolean;
24
30
  /** Mask input (show dots instead of characters) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.455",
3
+ "version": "2.0.457",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",