tsv2-library 0.3.22 → 0.3.24

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.
@@ -0,0 +1,29 @@
1
+ export type Formatter = (input: string | number | null | undefined) => string;
2
+ export interface Colors {
3
+ isColorSupported: boolean;
4
+ reset: Formatter;
5
+ bold: Formatter;
6
+ dim: Formatter;
7
+ italic: Formatter;
8
+ underline: Formatter;
9
+ inverse: Formatter;
10
+ hidden: Formatter;
11
+ strikethrough: Formatter;
12
+ black: Formatter;
13
+ red: Formatter;
14
+ green: Formatter;
15
+ yellow: Formatter;
16
+ blue: Formatter;
17
+ magenta: Formatter;
18
+ cyan: Formatter;
19
+ white: Formatter;
20
+ gray: Formatter;
21
+ bgBlack: Formatter;
22
+ bgRed: Formatter;
23
+ bgGreen: Formatter;
24
+ bgYellow: Formatter;
25
+ bgBlue: Formatter;
26
+ bgMagenta: Formatter;
27
+ bgCyan: Formatter;
28
+ bgWhite: Formatter;
29
+ }
@@ -4,6 +4,12 @@ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
4
  * InputBadge component props
5
5
  */
6
6
  export interface InputBadgeProps {
7
+ /**
8
+ * The type of input, wether input text or input email
9
+ *
10
+ * @default text
11
+ */
12
+ type?: 'text' | 'email';
7
13
  /**
8
14
  * The model value. Used for input without validation.
9
15
  */