@base-framework/ui 1.2.25 → 1.2.26
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/atoms.es.js +47 -39
- package/dist/{confirmation-C1IsBqtI.js → confirmation-mnlhE93w.js} +6 -6
- package/dist/{full-page-C2UTDwxp.js → full-page-CbpTbpJf.js} +825 -685
- package/dist/index.es.js +175 -167
- package/dist/molecules.es.js +35 -35
- package/dist/organisms.es.js +33 -33
- package/dist/pages.es.js +4 -4
- package/dist/{sidebar-menu-CnM3ypX1.js → sidebar-menu-D5VxMCLC.js} +3 -3
- package/dist/{sidebar-menu-page-DIHRDp0N.js → sidebar-menu-page-C6gtJ-5U.js} +2 -2
- package/dist/{signature-panel-D8_WuYSM.js → signature-panel-BOh8VNYa.js} +1 -1
- package/dist/types/components/atoms/atoms.d.ts +1 -0
- package/dist/types/components/atoms/form/inputs/floating-inputs.d.ts +84 -0
- package/package.json +1 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A large input with an animated floating label.
|
|
3
|
+
* Designed for prominent forms: onboarding, login, settings, etc.
|
|
4
|
+
*
|
|
5
|
+
* The label sits inside the input as a placeholder and floats to the
|
|
6
|
+
* top-left corner when the input is focused or has a value.
|
|
7
|
+
*
|
|
8
|
+
* @param {object} props
|
|
9
|
+
* @param {string} props.label - Display text for the floating label.
|
|
10
|
+
* @param {string} [props.id] - Input ID (auto-generated if omitted).
|
|
11
|
+
* @param {string} [props.name] - Input name (used as fallback ID).
|
|
12
|
+
* @param {boolean} [props.required] - Appends a red asterisk to the label.
|
|
13
|
+
* @param {string} [props.type] - Input type (text, email, tel, etc.).
|
|
14
|
+
* @param {string} [props.bind] - Two-way data binding path.
|
|
15
|
+
* @param {string} [props.class] - Extra CSS classes for the input element.
|
|
16
|
+
* @returns {object} A container Div with the floating-label input.
|
|
17
|
+
*/
|
|
18
|
+
export const FloatingInput: (...args: any[]) => object;
|
|
19
|
+
/**
|
|
20
|
+
* Floating label input for telephone numbers.
|
|
21
|
+
* Includes automatic formatting to (XXX) XXX-XXXX.
|
|
22
|
+
*
|
|
23
|
+
* @param {object} props
|
|
24
|
+
* @returns {object} A FloatingInput of type "tel".
|
|
25
|
+
*/
|
|
26
|
+
export const FloatingTelInput: (...args: any[]) => object;
|
|
27
|
+
/**
|
|
28
|
+
* Floating label input for email addresses.
|
|
29
|
+
*
|
|
30
|
+
* @param {object} props
|
|
31
|
+
* @returns {object} A FloatingInput of type "email".
|
|
32
|
+
*/
|
|
33
|
+
export const FloatingEmailInput: (...args: any[]) => object;
|
|
34
|
+
/**
|
|
35
|
+
* Floating label input for passwords.
|
|
36
|
+
*
|
|
37
|
+
* @param {object} props
|
|
38
|
+
* @returns {object} A FloatingInput of type "password".
|
|
39
|
+
*/
|
|
40
|
+
export const FloatingPasswordInput: (...args: any[]) => object;
|
|
41
|
+
/**
|
|
42
|
+
* Floating label input for numbers.
|
|
43
|
+
*
|
|
44
|
+
* @param {object} props
|
|
45
|
+
* @returns {object} A FloatingInput of type "number".
|
|
46
|
+
*/
|
|
47
|
+
export const FloatingNumberInput: (...args: any[]) => object;
|
|
48
|
+
/**
|
|
49
|
+
* Floating label input for URLs.
|
|
50
|
+
*
|
|
51
|
+
* @param {object} props
|
|
52
|
+
* @returns {object} A FloatingInput of type "url".
|
|
53
|
+
*/
|
|
54
|
+
export const FloatingUrlInput: (...args: any[]) => object;
|
|
55
|
+
/**
|
|
56
|
+
* A textarea with an animated floating label.
|
|
57
|
+
* Same visual language as FloatingInput but for multi-line text.
|
|
58
|
+
*
|
|
59
|
+
* @param {object} props
|
|
60
|
+
* @param {string} props.label - Display text for the floating label.
|
|
61
|
+
* @param {string} [props.id] - Textarea ID (auto-generated if omitted).
|
|
62
|
+
* @param {string} [props.name] - Textarea name (used as fallback ID).
|
|
63
|
+
* @param {boolean} [props.required] - Appends a red asterisk to the label.
|
|
64
|
+
* @param {string} [props.bind] - Two-way data binding path.
|
|
65
|
+
* @param {string} [props.class] - Extra CSS classes for the textarea.
|
|
66
|
+
* @returns {object} A container Div with the floating-label textarea.
|
|
67
|
+
*/
|
|
68
|
+
export const FloatingTextarea: (...args: any[]) => object;
|
|
69
|
+
/**
|
|
70
|
+
* A select dropdown with a floating label and custom arrow.
|
|
71
|
+
* The label always remains in the floated (small) position since
|
|
72
|
+
* a select always displays a value.
|
|
73
|
+
*
|
|
74
|
+
* @param {object} props
|
|
75
|
+
* @param {string} props.label - Display text for the floating label.
|
|
76
|
+
* @param {Array} [props.options] - Array of options passed to Html.setupSelectOptions.
|
|
77
|
+
* @param {string} [props.id] - Select ID (auto-generated if omitted).
|
|
78
|
+
* @param {string} [props.name] - Select name (used as fallback ID).
|
|
79
|
+
* @param {boolean} [props.required] - Appends a red asterisk to the label.
|
|
80
|
+
* @param {string} [props.bind] - Two-way data binding path.
|
|
81
|
+
* @param {string} [props.class] - Extra CSS classes for the select.
|
|
82
|
+
* @returns {object} A container Div with the floating-label select.
|
|
83
|
+
*/
|
|
84
|
+
export const FloatingSelect: (...args: any[]) => object;
|
package/package.json
CHANGED