@arthurzakharov/ui-kit 1.7.6 → 1.7.7
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/assets/form-row-C_CTS-Xj.css +1 -0
- package/dist/assets/info-panel-DT7lLHJR.css +1 -0
- package/dist/components/form-row/form-row.component.js +27 -27
- package/dist/components/info-panel/info-panel.component.js +12 -12
- package/dist/controls/interactives/input/input.component.d.ts +3 -1
- package/dist/controls/interactives/input/input.component.js +27 -26
- package/dist/controls/interactives/text-field/text-field.component.js +56 -55
- package/package.json +1 -1
- package/dist/assets/form-row-Dx21oHae.css +0 -1
- package/dist/assets/info-panel-BJPuE65n.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._FormRow_v16lb_1{display:flex;flex-direction:column;align-items:stretch}._XXS_v16lb_7{gap:var(--rm-ui-padding-xxs)}._XS_v16lb_11{gap:var(--rm-ui-padding-xs)}._SM_v16lb_15{gap:var(--rm-ui-padding-sm)}._MD_v16lb_19{gap:var(--rm-ui-padding-md)}._LG_v16lb_23,._XL_v16lb_27{gap:var(--rm-ui-padding-xl)}._XXL_v16lb_31{gap:var(--rm-ui-padding-xxl)}._XXXL_v16lb_35{gap:var(--rm-ui-padding-xxxl)}._Child_v16lb_39{flex-grow:1}@media screen and (min-width:768px){._FormRow_v16lb_1{flex-direction:row}._Child_v16lb_39[data-children-quantity="1"]{width:100%}._Child_v16lb_39[data-children-quantity="2"]{width:50%}._Child_v16lb_39[data-children-quantity="3"]{width:calc(100% / 3)}._Child_v16lb_39[data-children-quantity="4"]{width:25%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._InfoPanel_1xmmg_1{position:relative;padding:var(--rm-ui-padding-md) 0;background-color:var(--rm-ui-info-panel-bg);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._InfoPanel_1xmmg_1:before,._InfoPanel_1xmmg_1:after{content:"";display:block;position:absolute;top:0;z-index:1;height:100%;width:100vw;background-color:inherit}._InfoPanel_1xmmg_1:before{left:0}._InfoPanel_1xmmg_1:after{right:0}._List_1xmmg_30{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._Item_1xmmg_40{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._Key_1xmmg_48{color:var(--rm-ui-color-text-secondary)}._Value_1xmmg_52{color:var(--rm-ui-color-text-primary)}@media screen and (min-width:480px){._Item_1xmmg_40{gap:var(--rm-ui-padding-xxs)}}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Children as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Children as _, isValidElement as m } from "react";
|
|
3
3
|
import c from "clsx";
|
|
4
|
-
import { baseProps as
|
|
5
|
-
import '../../assets/form-row-
|
|
6
|
-
FormRow:
|
|
7
|
-
XXS:
|
|
8
|
-
XS:
|
|
9
|
-
SM:
|
|
10
|
-
MD:
|
|
11
|
-
LG:
|
|
12
|
-
XL:
|
|
13
|
-
XXL:
|
|
14
|
-
XXXL:
|
|
15
|
-
Child:
|
|
16
|
-
},
|
|
4
|
+
import { baseProps as n } from "../../utils/functions/functions.util.js";
|
|
5
|
+
import '../../assets/form-row-C_CTS-Xj.css';const i = "_FormRow_v16lb_1", L = "_XXS_v16lb_7", d = "_XS_v16lb_11", e = "_SM_v16lb_15", v = "_MD_v16lb_19", x = "_LG_v16lb_23", S = "_XL_v16lb_27", b = "_XXL_v16lb_31", u = "_XXXL_v16lb_35", a = "_Child_v16lb_39", o = {
|
|
6
|
+
FormRow: i,
|
|
7
|
+
XXS: L,
|
|
8
|
+
XS: d,
|
|
9
|
+
SM: e,
|
|
10
|
+
MD: v,
|
|
11
|
+
LG: x,
|
|
12
|
+
XL: S,
|
|
13
|
+
XXL: b,
|
|
14
|
+
XXXL: u,
|
|
15
|
+
Child: a
|
|
16
|
+
}, C = ({ children: t, gap: X = "sm", ...l }) => _.count(t) === 0 ? null : /* @__PURE__ */ r(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
|
-
"data-testid":
|
|
20
|
-
className: c(
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
19
|
+
"data-testid": n(l, "data-testid", "form-row"),
|
|
20
|
+
className: c(o.FormRow, n(l, "className"), {
|
|
21
|
+
[o.XXS]: X === "xxs",
|
|
22
|
+
[o.XS]: X === "xs",
|
|
23
|
+
[o.SM]: X === "sm",
|
|
24
|
+
[o.MD]: X === "md",
|
|
25
|
+
[o.LG]: X === "lg",
|
|
26
|
+
[o.XL]: X === "xl",
|
|
27
|
+
[o.XXL]: X === "xxl",
|
|
28
|
+
[o.XXXL]: X === "xxxl"
|
|
29
29
|
}),
|
|
30
|
-
children:
|
|
30
|
+
children: _.map(t, (s) => m(s) ? /* @__PURE__ */ r("div", { "data-children-quantity": _.count(t), className: o.Child, children: s }) : null)
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
C as FormRow
|
|
35
35
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import o from "clsx";
|
|
3
3
|
import { baseProps as n } from "../../utils/functions/functions.util.js";
|
|
4
|
-
import '../../assets/info-panel-
|
|
5
|
-
InfoPanel:
|
|
6
|
-
List:
|
|
7
|
-
Item:
|
|
8
|
-
Key:
|
|
4
|
+
import '../../assets/info-panel-DT7lLHJR.css';const c = "_InfoPanel_1xmmg_1", d = "_List_1xmmg_30", _ = "_Item_1xmmg_40", r = "_Key_1xmmg_48", f = "_Value_1xmmg_52", a = {
|
|
5
|
+
InfoPanel: c,
|
|
6
|
+
List: d,
|
|
7
|
+
Item: _,
|
|
8
|
+
Key: r,
|
|
9
9
|
Value: f
|
|
10
|
-
},
|
|
10
|
+
}, u = ({ data: l, ...s }) => /* @__PURE__ */ e(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
"data-testid": n(s, "data-testid", "info-panel"),
|
|
14
|
-
className:
|
|
15
|
-
children: /* @__PURE__ */ e("ul", { "data-testid": "info-panel-list", className: a.List, children: l.map(([t,
|
|
14
|
+
className: o(a.InfoPanel, n(s, "className")),
|
|
15
|
+
children: /* @__PURE__ */ e("ul", { "data-testid": "info-panel-list", className: a.List, children: l.map(([t, m]) => /* @__PURE__ */ i("li", { className: a.Item, children: [
|
|
16
16
|
/* @__PURE__ */ e("span", { "data-testid": "info-panel-key", className: a.Key, children: t }),
|
|
17
|
-
/* @__PURE__ */ e("span", { "data-testid": "info-panel-value", className: a.Value, children:
|
|
17
|
+
/* @__PURE__ */ e("span", { "data-testid": "info-panel-value", className: a.Value, children: m })
|
|
18
18
|
] }, t)) })
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
u as InfoPanel
|
|
23
23
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
1
2
|
import { Interactive } from '../../utils';
|
|
2
3
|
import { Base } from '../../../utils/types';
|
|
3
4
|
export interface InputProps extends Base, Interactive<string> {
|
|
5
|
+
ref?: RefObject<HTMLInputElement>;
|
|
4
6
|
mask?: string;
|
|
5
7
|
maxLength?: number;
|
|
6
8
|
onAnimationStart?: (id: string) => void;
|
|
7
9
|
onAnimationEnd?: (id: string) => void;
|
|
8
10
|
}
|
|
9
|
-
export declare const Input: ({ id, value, disabled, onChange, onFocus, onBlur, maxLength, mask, onAnimationStart, onAnimationEnd, ...base }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Input: ({ id, value, disabled, onChange, onFocus, onBlur, ref, maxLength, mask, onAnimationStart, onAnimationEnd, ...base }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as M } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as d, useState as
|
|
2
|
+
import { useRef as d, useState as Q, useLayoutEffect as W, useCallback as R, useEffect as X } from "react";
|
|
3
3
|
import K from "clsx";
|
|
4
|
-
import { compareStrings as
|
|
5
|
-
import { useControlInteraction as
|
|
4
|
+
import { compareStrings as Y, isDigit as Z, getFirstNotEnteredCharIndex as v, replaceCharByIndex as b, getNextChar as T, isSeparator as P, getPreviousChar as k, applyMask as tt } from "./input.utils.js";
|
|
5
|
+
import { useControlInteraction as et } from "../../utils/hooks/use-control-interaction/use-control-interaction.hook.js";
|
|
6
6
|
import { baseProps as h } from "../../../utils/functions/functions.util.js";
|
|
7
|
-
import '../../../assets/input-D66hMzHc.css';const
|
|
8
|
-
Input:
|
|
9
|
-
Placeholder:
|
|
10
|
-
},
|
|
7
|
+
import '../../../assets/input-D66hMzHc.css';const nt = "_Input_gfvsr_1", rt = "_Placeholder_gfvsr_45", w = {
|
|
8
|
+
Input: nt,
|
|
9
|
+
Placeholder: rt
|
|
10
|
+
}, lt = ({
|
|
11
11
|
// Interactive props
|
|
12
12
|
id: u,
|
|
13
13
|
value: y = "",
|
|
@@ -16,26 +16,27 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
16
16
|
onFocus: L,
|
|
17
17
|
onBlur: j,
|
|
18
18
|
// Input props
|
|
19
|
-
|
|
19
|
+
ref: U,
|
|
20
|
+
maxLength: q,
|
|
20
21
|
mask: n = "",
|
|
21
|
-
onAnimationStart:
|
|
22
|
-
onAnimationEnd:
|
|
22
|
+
onAnimationStart: z,
|
|
23
|
+
onAnimationEnd: G,
|
|
23
24
|
// Base props
|
|
24
25
|
...s
|
|
25
26
|
}) => {
|
|
26
|
-
const { emitChange: C, handleFocus: S, handleBlur: E } =
|
|
27
|
+
const { emitChange: C, handleFocus: S, handleBlur: E } = et({
|
|
27
28
|
id: u,
|
|
28
29
|
disabled: g,
|
|
29
30
|
onChange: $,
|
|
30
31
|
onFocus: L,
|
|
31
32
|
onBlur: j
|
|
32
|
-
}), o = d(null), D = d(!1), a = d(null), N = d(!0), [r, I] =
|
|
33
|
+
}), o = U || d(null), D = d(!1), a = d(null), N = d(!0), [r, I] = Q(y || n), i = (t) => {
|
|
33
34
|
const c = Math.max(0, t);
|
|
34
35
|
if (a.current = c, !o.current) return;
|
|
35
36
|
const e = Math.min(c, o.current.value.length);
|
|
36
37
|
o.current.setSelectionRange(e, e);
|
|
37
38
|
};
|
|
38
|
-
|
|
39
|
+
W(() => {
|
|
39
40
|
if (!n || !o.current || a.current === null) return;
|
|
40
41
|
const t = Math.min(a.current, o.current.value.length);
|
|
41
42
|
o.current.setSelectionRange(t, t), a.current = null;
|
|
@@ -43,16 +44,16 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
43
44
|
const F = () => {
|
|
44
45
|
const t = o.current?.value || "", c = v(t, n);
|
|
45
46
|
c !== t.length && i(c);
|
|
46
|
-
},
|
|
47
|
-
const t = o.current?.value || "", c =
|
|
48
|
-
if (!
|
|
47
|
+
}, H = R(() => {
|
|
48
|
+
const t = o.current?.value || "", c = Y(r, t);
|
|
49
|
+
if (!Z(c)) return;
|
|
49
50
|
const e = o.current?.selectionEnd || 0, m = v(t, n) === t.length, l = b(r, e - 1, c), f = v(l, n);
|
|
50
51
|
if (m) {
|
|
51
|
-
const p = t.slice(0, e - 1), x = t.slice(e - 1, e), B = t.slice(e),
|
|
52
|
-
I(
|
|
52
|
+
const p = t.slice(0, e - 1), x = t.slice(e - 1, e), B = t.slice(e), O = b(p + B, e - 1, x), _ = T(p + B, e) || "";
|
|
53
|
+
I(O), i(P(_, n) && _ ? e + 1 : e);
|
|
53
54
|
} else
|
|
54
55
|
I(l), i(f);
|
|
55
|
-
}, [r, n]),
|
|
56
|
+
}, [r, n]), J = R(
|
|
56
57
|
(t) => {
|
|
57
58
|
if ([
|
|
58
59
|
"Digit1",
|
|
@@ -73,14 +74,14 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
73
74
|
t.preventDefault();
|
|
74
75
|
const e = o.current?.selectionEnd || 0;
|
|
75
76
|
if (e) {
|
|
76
|
-
const A =
|
|
77
|
+
const A = k(r, e), m = T(r, e - 1), l = P(A, n), f = P(m, n), p = e - (l || f ? 2 : 1), x = tt(r, n, e - (f ? 2 : 1));
|
|
77
78
|
I(x), i(p);
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
[r, n]
|
|
82
83
|
);
|
|
83
|
-
|
|
84
|
+
X(() => {
|
|
84
85
|
if (n) {
|
|
85
86
|
if (N.current) {
|
|
86
87
|
N.current = !1;
|
|
@@ -90,7 +91,7 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
90
91
|
}
|
|
91
92
|
}, [r, n, C]);
|
|
92
93
|
const V = (t) => {
|
|
93
|
-
t.includes("autofill-start") &&
|
|
94
|
+
t.includes("autofill-start") && z?.(u), t.includes("autofill-end") && G?.(u);
|
|
94
95
|
};
|
|
95
96
|
return n ? /* @__PURE__ */ M(
|
|
96
97
|
"input",
|
|
@@ -105,8 +106,8 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
105
106
|
value: r,
|
|
106
107
|
className: K(w.Input, h(s, "className"), { [w.Placeholder]: r === n }),
|
|
107
108
|
onAnimationStart: (t) => V(t.animationName),
|
|
108
|
-
onKeyDown:
|
|
109
|
-
onChange:
|
|
109
|
+
onKeyDown: J,
|
|
110
|
+
onChange: H,
|
|
110
111
|
onPointerDown: (t) => {
|
|
111
112
|
t.preventDefault(), D.current = !0, t.currentTarget.focus(), F();
|
|
112
113
|
},
|
|
@@ -125,7 +126,7 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
125
126
|
"data-testid": h(s, "data-testid", "input"),
|
|
126
127
|
"aria-label": `${u}-text-input`,
|
|
127
128
|
disabled: g,
|
|
128
|
-
maxLength:
|
|
129
|
+
maxLength: q,
|
|
129
130
|
type: "text",
|
|
130
131
|
id: u,
|
|
131
132
|
name: u,
|
|
@@ -139,5 +140,5 @@ import '../../../assets/input-D66hMzHc.css';const et = "_Input_gfvsr_1", nt = "_
|
|
|
139
140
|
);
|
|
140
141
|
};
|
|
141
142
|
export {
|
|
142
|
-
|
|
143
|
+
lt as Input
|
|
143
144
|
};
|
|
@@ -1,102 +1,103 @@
|
|
|
1
1
|
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import { baseProps as
|
|
2
|
+
import { useRef as B } from "react";
|
|
3
|
+
import i from "clsx";
|
|
4
|
+
import { useBoolean as x } from "usehooks-ts";
|
|
5
|
+
import { FadeScale as C } from "../../../animations/fade-scale/fade-scale.component.js";
|
|
6
|
+
import { FadeSlide as $ } from "../../../animations/fade-slide/fade-slide.component.js";
|
|
7
|
+
import { Box as w } from "../../primitives/box/box.component.js";
|
|
8
|
+
import { baseProps as h } from "../../../utils/functions/functions.util.js";
|
|
9
9
|
import "lucide-react";
|
|
10
|
-
import { ErrorMessage as
|
|
11
|
-
import { Label as
|
|
12
|
-
import { Input as
|
|
13
|
-
import '../../../assets/text-field-5nNgGQnX.css';const
|
|
14
|
-
TextField:
|
|
15
|
-
Content:
|
|
16
|
-
Label:
|
|
17
|
-
Idle:
|
|
18
|
-
Active:
|
|
19
|
-
Placeholder:
|
|
20
|
-
PlaceholderText:
|
|
21
|
-
ErrorMessage:
|
|
22
|
-
Input:
|
|
23
|
-
MaskStart:
|
|
24
|
-
},
|
|
10
|
+
import { ErrorMessage as j } from "../../primitives/error-message/error-message.component.js";
|
|
11
|
+
import { Label as D } from "../../primitives/label/label.component.js";
|
|
12
|
+
import { Input as O } from "../input/input.component.js";
|
|
13
|
+
import '../../../assets/text-field-5nNgGQnX.css';const R = "_TextField_l5ui0_1", q = "_Content_l5ui0_10", y = "_Label_l5ui0_26", z = "_Idle_l5ui0_32", G = "_Active_l5ui0_37", H = "_Placeholder_l5ui0_42", J = "_PlaceholderText_l5ui0_49", K = "_ErrorMessage_l5ui0_57", Q = "_Input_l5ui0_61", U = "_MaskStart_l5ui0_65", e = {
|
|
14
|
+
TextField: R,
|
|
15
|
+
Content: q,
|
|
16
|
+
Label: y,
|
|
17
|
+
Idle: z,
|
|
18
|
+
Active: G,
|
|
19
|
+
Placeholder: H,
|
|
20
|
+
PlaceholderText: J,
|
|
21
|
+
ErrorMessage: K,
|
|
22
|
+
Input: Q,
|
|
23
|
+
MaskStart: U
|
|
24
|
+
}, ne = ({
|
|
25
25
|
// Interactive props
|
|
26
26
|
id: c,
|
|
27
27
|
value: l = "",
|
|
28
|
-
disabled:
|
|
28
|
+
disabled: I = !1,
|
|
29
29
|
state: a = "idle",
|
|
30
|
-
onChange:
|
|
31
|
-
onFocus:
|
|
32
|
-
onBlur:
|
|
30
|
+
onChange: F,
|
|
31
|
+
onFocus: M,
|
|
32
|
+
onBlur: P,
|
|
33
33
|
// Text props
|
|
34
|
-
mask:
|
|
35
|
-
maxLength:
|
|
36
|
-
label:
|
|
34
|
+
mask: n,
|
|
35
|
+
maxLength: T = -1,
|
|
36
|
+
label: A = "",
|
|
37
37
|
message: d = "",
|
|
38
|
-
placeholder:
|
|
38
|
+
placeholder: u = "",
|
|
39
39
|
// Base props
|
|
40
|
-
...
|
|
40
|
+
...m
|
|
41
41
|
}) => {
|
|
42
|
-
const { value: _, setTrue:
|
|
43
|
-
b(), F?.(o);
|
|
44
|
-
}, L = (o) => {
|
|
42
|
+
const { value: _, setTrue: S, setFalse: b } = x(!1), { value: r, setTrue: g, setFalse: E } = x(!1), f = B(null), s = r || !!l || _, N = !n && !!u && r && !l && !_, v = !!d && a === "error", L = (o) => {
|
|
45
43
|
g(), M?.(o);
|
|
44
|
+
}, k = (o) => {
|
|
45
|
+
E(), P?.(o);
|
|
46
46
|
};
|
|
47
47
|
return /* @__PURE__ */ p(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
|
-
"data-testid":
|
|
51
|
-
className:
|
|
50
|
+
"data-testid": h(m, "data-testid", "text-field"),
|
|
51
|
+
className: i(e.TextField, h(m, "className")),
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */ t(
|
|
53
|
+
/* @__PURE__ */ t(w, { state: a, focused: r, children: /* @__PURE__ */ p(
|
|
54
54
|
"label",
|
|
55
55
|
{
|
|
56
56
|
htmlFor: c,
|
|
57
57
|
className: e.Content,
|
|
58
58
|
onPointerDown: (o) => {
|
|
59
|
-
r && o.preventDefault();
|
|
59
|
+
r && o.preventDefault(), f.current?.click();
|
|
60
60
|
},
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ t(
|
|
63
|
-
|
|
63
|
+
D,
|
|
64
64
|
{
|
|
65
65
|
"data-testid": "text-label",
|
|
66
|
-
text:
|
|
66
|
+
text: A,
|
|
67
67
|
position: s ? "active" : "idle",
|
|
68
68
|
state: s ? a : "idle",
|
|
69
|
-
className:
|
|
69
|
+
className: i(e.Label, s ? e.Active : e.Idle)
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
/* @__PURE__ */ t(
|
|
72
|
+
/* @__PURE__ */ t(C, { name: "text-placeholder", condition: N, className: e.Placeholder, children: /* @__PURE__ */ t("span", { "data-testid": "text-placeholder", className: e.PlaceholderText, children: u }) }),
|
|
73
73
|
/* @__PURE__ */ t(
|
|
74
|
-
|
|
74
|
+
O,
|
|
75
75
|
{
|
|
76
76
|
"data-testid": "text-input",
|
|
77
|
-
mask:
|
|
78
|
-
maxLength:
|
|
79
|
-
disabled:
|
|
77
|
+
mask: n,
|
|
78
|
+
maxLength: T,
|
|
79
|
+
disabled: I,
|
|
80
80
|
id: c,
|
|
81
|
+
ref: f,
|
|
81
82
|
value: l,
|
|
82
|
-
className:
|
|
83
|
-
[e.MaskStart]:
|
|
83
|
+
className: i(e.Input, {
|
|
84
|
+
[e.MaskStart]: n && l === "" && !s
|
|
84
85
|
}),
|
|
85
|
-
onAnimationStart:
|
|
86
|
-
onAnimationEnd:
|
|
87
|
-
onChange:
|
|
88
|
-
onFocus:
|
|
89
|
-
onBlur:
|
|
86
|
+
onAnimationStart: S,
|
|
87
|
+
onAnimationEnd: b,
|
|
88
|
+
onChange: F,
|
|
89
|
+
onFocus: L,
|
|
90
|
+
onBlur: k
|
|
90
91
|
}
|
|
91
92
|
)
|
|
92
93
|
]
|
|
93
94
|
}
|
|
94
95
|
) }),
|
|
95
|
-
/* @__PURE__ */ t(
|
|
96
|
+
/* @__PURE__ */ t($, { name: "text-message", direction: "ltr", condition: v, children: /* @__PURE__ */ t(j, { "data-testid": "text-error-message", text: d, className: e.ErrorMessage }) })
|
|
96
97
|
]
|
|
97
98
|
}
|
|
98
99
|
);
|
|
99
100
|
};
|
|
100
101
|
export {
|
|
101
|
-
|
|
102
|
+
ne as TextField
|
|
102
103
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._FormRow_ax4us_1{display:flex;flex-direction:column;align-items:stretch}._XXS_ax4us_7{gap:var(--rm-ui-padding-xxs)}._XS_ax4us_11{gap:var(--rm-ui-padding-xs)}._SM_ax4us_15{gap:var(--rm-ui-padding-sm)}._MD_ax4us_19{gap:var(--rm-ui-padding-md)}._LG_ax4us_23,._XL_ax4us_27{gap:var(--rm-ui-padding-xl)}._XXL_ax4us_31{gap:var(--rm-ui-padding-xxl)}._XXXL_ax4us_35{gap:var(--rm-ui-padding-xxxl)}._Child_ax4us_39{flex-grow:1}._Child_ax4us_39[data-children-quantity="1"]{width:100%}._Child_ax4us_39[data-children-quantity="2"]{width:50%}._Child_ax4us_39[data-children-quantity="3"]{width:calc(100% / 3)}._Child_ax4us_39[data-children-quantity="4"]{width:25%}@media screen and (min-width:768px){._FormRow_ax4us_1{flex-direction:row}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._InfoPanel_1u1r0_1{position:relative;padding:var(--rm-ui-padding-md) 0;background-color:var(--rm-ui-info-panel-bg);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._InfoPanel_1u1r0_1:before,._InfoPanel_1u1r0_1:after{content:"";display:block;position:absolute;top:0;z-index:1;height:100%;width:100vw;background-color:inherit}._InfoPanel_1u1r0_1:before{left:0}._InfoPanel_1u1r0_1:after{right:0}._List_1u1r0_30{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._Item_1u1r0_40{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--rm-ui-padding-xxs)}._Key_1u1r0_48{color:var(--rm-ui-color-text-secondary)}._Value_1u1r0_52{color:var(--rm-ui-color-text-primary)}@media screen and (min-width:480px){._Item_1u1r0_40{justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}}
|