@randstad-uca/design-system 1.0.99 → 1.0.101
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/components/Form.d.ts +5 -1
- package/dist/index.js +58 -58
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TemplateResult } from 'lit';
|
|
2
2
|
import { BaseControl } from '../helpers/BaseControl';
|
|
3
3
|
export declare class RandstadForm extends BaseControl {
|
|
4
|
-
keydown: 'number' | 'text' | undefined;
|
|
4
|
+
keydown: 'number' | 'text' | 'alfanumeric' | undefined;
|
|
5
|
+
keydownRegex?: string;
|
|
5
6
|
size: 'sm' | 'md' | 'lg';
|
|
6
7
|
icon: 'left' | 'right' | null;
|
|
7
8
|
typing: boolean;
|
|
@@ -18,9 +19,12 @@ export declare class RandstadForm extends BaseControl {
|
|
|
18
19
|
private handleInput;
|
|
19
20
|
private handleClear;
|
|
20
21
|
private handleLinkClick;
|
|
22
|
+
private _updateValueWithCursor;
|
|
21
23
|
handleInputCustom(event: Event): void;
|
|
22
24
|
onlyNumeric(event: Event): void;
|
|
23
25
|
onlyText(event: Event): void;
|
|
26
|
+
onlyAlphanumeric(event: Event): void;
|
|
27
|
+
onlyRegex(event: Event): void;
|
|
24
28
|
private handleInputKeyDown;
|
|
25
29
|
/**
|
|
26
30
|
* Calcula si el botón de limpieza (X) debe estar visible
|