@povio/ui 2.3.0-rc.8 → 2.3.0-rc.9
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/inputs/Input/NumberInput/NumberInput.js +1 -1
- package/dist/components/inputs/Input/TextInput/TextInput.js +1 -1
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +2 -1
- package/dist/components/inputs/Selection/Select/Select.js +2 -0
- package/dist/components/inputs/Selection/shared/SelectInput.js +2 -1
- package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +5 -0
- package/dist/components/inputs/Selection/shared/selectInput.cva.js +5 -0
- package/dist/components/inputs/Skeleton/InputFrame.js +128 -130
- package/package.json +1 -1
|
@@ -342,7 +342,7 @@ var NumberInput = ({ renderStaticInput, ...props }) => {
|
|
|
342
342
|
renderStatic: true,
|
|
343
343
|
onStaticInteract: renderRealInput,
|
|
344
344
|
inputClassName: props.inputClassName,
|
|
345
|
-
contentClassName: "pr-0!",
|
|
345
|
+
contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
|
|
346
346
|
trailingClassName: "py-0! pl-0!",
|
|
347
347
|
wrapContentAndTrailing: true,
|
|
348
348
|
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
@@ -326,7 +326,7 @@ var TextInput = ({ renderStaticInput, ...props }) => {
|
|
|
326
326
|
renderStatic: true,
|
|
327
327
|
onStaticInteract: renderRealInput,
|
|
328
328
|
inputClassName: props.inputClassName,
|
|
329
|
-
contentClassName: "pr-0!",
|
|
329
|
+
contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
|
|
330
330
|
trailingClassName: "py-0! pl-0!",
|
|
331
331
|
wrapContentAndTrailing: true,
|
|
332
332
|
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UIConfig } from "../../../../config/uiConfig.context.js";
|
|
2
2
|
import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
3
3
|
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
4
|
+
import { selectInputTagsContentWrapperCva } from "../shared/selectInput.cva.js";
|
|
4
5
|
import { SelectBase } from "../shared/SelectBase.js";
|
|
5
6
|
import { StaticSelectTrailingContent } from "../shared/StaticSelectTrailingContent.js";
|
|
6
7
|
import { getStaticSelectValue } from "../shared/staticSelect.utils.js";
|
|
@@ -95,7 +96,7 @@ function Autocomplete({ renderStaticInput, ...props }) {
|
|
|
95
96
|
isDisabled,
|
|
96
97
|
className: clsx("w-full", props.containerClassName),
|
|
97
98
|
inputClassName: clsx(props.className, props.inputClassName),
|
|
98
|
-
contentWrapperClassName:
|
|
99
|
+
contentWrapperClassName: selectInputTagsContentWrapperCva({ isSearchable: true }),
|
|
99
100
|
labelPlacement: "content-row",
|
|
100
101
|
dataAttributes,
|
|
101
102
|
renderStatic: true,
|
|
@@ -2,6 +2,7 @@ import { Typography } from "../../../text/Typography/Typography.js";
|
|
|
2
2
|
import { UIConfig } from "../../../../config/uiConfig.context.js";
|
|
3
3
|
import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
4
4
|
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
5
|
+
import { selectInputTagsContentWrapperCva } from "../shared/selectInput.cva.js";
|
|
5
6
|
import { SelectBase } from "../shared/SelectBase.js";
|
|
6
7
|
import { StaticSelectTrailingContent } from "../shared/StaticSelectTrailingContent.js";
|
|
7
8
|
import { getStaticSelectValue } from "../shared/staticSelect.utils.js";
|
|
@@ -104,6 +105,7 @@ function Select({ renderStaticInput, ...props }) {
|
|
|
104
105
|
isDisabled,
|
|
105
106
|
className: clsx("w-full", props.containerClassName),
|
|
106
107
|
inputClassName: clsx(props.className, props.inputClassName),
|
|
108
|
+
contentWrapperClassName: selectInputTagsContentWrapperCva({ isSearchable }),
|
|
107
109
|
typographySize: "label-1",
|
|
108
110
|
labelPlacement: "content-row",
|
|
109
111
|
dataAttributes,
|
|
@@ -7,6 +7,7 @@ import { InputClear } from "../../shared/InputClear.js";
|
|
|
7
7
|
import { inputBase, inputClearClass, inputSize } from "../../shared/input.cva.js";
|
|
8
8
|
import { SelectInputTags } from "./SelectInputTags.js";
|
|
9
9
|
import { SelectContext } from "./select.context.js";
|
|
10
|
+
import { selectInputTagsContentWrapperCva } from "./selectInput.cva.js";
|
|
10
11
|
import { c } from "react/compiler-runtime";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
13
|
import { clsx } from "clsx";
|
|
@@ -171,7 +172,7 @@ var SelectInput = (t0) => {
|
|
|
171
172
|
let t26;
|
|
172
173
|
if ($0[32] !== as || $0[33] !== collapseAfter || $0[34] !== fieldProps || $0[35] !== inputClassName || $0[36] !== isDisabled || $0[37] !== isSearchable || $0[38] !== onBlur || $0[39] !== onKeyDown || $0[40] !== onRemove || $0[41] !== placeholder || $0[42] !== selectedItems || $0[43] !== selectedTagsType || $0[44] !== showTags) {
|
|
173
174
|
t26 = (showTags || isSearchable) && /* @__PURE__ */ jsxs("div", {
|
|
174
|
-
className:
|
|
175
|
+
className: selectInputTagsContentWrapperCva({ isSearchable }),
|
|
175
176
|
children: [showTags && /* @__PURE__ */ jsx(SelectInputTags, {
|
|
176
177
|
selectedItems,
|
|
177
178
|
isDisabled,
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const selectInputTagsContentWrapperCva: (props?: ({
|
|
3
|
+
isSearchable?: boolean | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type SelectInputTagsContentWrapperCva = VariantProps<typeof selectInputTagsContentWrapperCva>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
//#region src/components/inputs/Selection/shared/selectInput.cva.ts
|
|
3
|
+
var selectInputTagsContentWrapperCva = cva("flex flex-1 flex-wrap gap-input-gap-input-text-to-elements truncate", { variants: { isSearchable: { false: "pointer-events-none z-1" } } });
|
|
4
|
+
//#endregion
|
|
5
|
+
export { selectInputTagsContentWrapperCva };
|
|
@@ -14,7 +14,7 @@ import { clsx } from "clsx";
|
|
|
14
14
|
import { isValidElement, useId } from "react";
|
|
15
15
|
//#region src/components/inputs/Skeleton/InputFrame.tsx
|
|
16
16
|
var InputFrame = (props) => {
|
|
17
|
-
const $ = c(
|
|
17
|
+
const $ = c(182);
|
|
18
18
|
const ui = UIConfig.useConfig();
|
|
19
19
|
const inputBaseCva = UIStyle.useCva("input.baseCva", inputBase);
|
|
20
20
|
const inputSizeCva = UIStyle.useCva("input.sizeCva", inputSize);
|
|
@@ -166,38 +166,36 @@ var InputFrame = (props) => {
|
|
|
166
166
|
$[86] = t21;
|
|
167
167
|
} else t21 = $[86];
|
|
168
168
|
const resolvedContentWrapperClassName = t21;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
$[95] =
|
|
175
|
-
$[96] =
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
t9 = clsx("group/input-frame flex min-w-0 w-full items-center gap-input-gap-input-text-to-elements", t22, inputSizeCva({
|
|
169
|
+
if ($[87] !== as || $[88] !== contentClassName || $[89] !== inputSizeCva || $[90] !== size || $[91] !== typographyCva || $[92] !== typographySize) {
|
|
170
|
+
let t22;
|
|
171
|
+
if ($[94] !== typographyCva || $[95] !== typographySize) {
|
|
172
|
+
t22 = typographySize && typographyCva({ size: typographySize });
|
|
173
|
+
$[94] = typographyCva;
|
|
174
|
+
$[95] = typographySize;
|
|
175
|
+
$[96] = t22;
|
|
176
|
+
} else t22 = $[96];
|
|
177
|
+
t9 = clsx("group/input-frame flex min-w-0 w-full items-center gap-input-gap-input-text-to-elements", inputSizeCva({
|
|
179
178
|
size,
|
|
180
179
|
as
|
|
181
|
-
}),
|
|
180
|
+
}), t22, contentClassName);
|
|
182
181
|
$[87] = as;
|
|
183
182
|
$[88] = contentClassName;
|
|
184
183
|
$[89] = inputSizeCva;
|
|
185
184
|
$[90] = size;
|
|
186
|
-
$[91] =
|
|
187
|
-
$[92] =
|
|
188
|
-
$[93] =
|
|
189
|
-
|
|
190
|
-
} else t9 = $[94];
|
|
185
|
+
$[91] = typographyCva;
|
|
186
|
+
$[92] = typographySize;
|
|
187
|
+
$[93] = t9;
|
|
188
|
+
} else t9 = $[93];
|
|
191
189
|
t10 = leadingContent;
|
|
192
|
-
if ($[
|
|
190
|
+
if ($[97] !== isLeadingIconElement || $[98] !== leadingIcon) {
|
|
193
191
|
t11 = leadingIcon && /* @__PURE__ */ jsx("div", {
|
|
194
192
|
className: clsx(!isLeadingIconElement && "pointer-events-none"),
|
|
195
193
|
children: renderIconVisual(leadingIcon)
|
|
196
194
|
});
|
|
197
|
-
$[
|
|
198
|
-
$[
|
|
199
|
-
$[
|
|
200
|
-
} else t11 = $[
|
|
195
|
+
$[97] = isLeadingIconElement;
|
|
196
|
+
$[98] = leadingIcon;
|
|
197
|
+
$[99] = t11;
|
|
198
|
+
} else t11 = $[99];
|
|
201
199
|
t12 = labelPlacement === "content-row" && labelContent;
|
|
202
200
|
t13 = actionContentPlacement === "content-row" && actionContent;
|
|
203
201
|
t5 = resolvedContentWrapperClassName;
|
|
@@ -266,7 +264,7 @@ var InputFrame = (props) => {
|
|
|
266
264
|
t9 = $[47];
|
|
267
265
|
}
|
|
268
266
|
let t14;
|
|
269
|
-
if ($[
|
|
267
|
+
if ($[100] !== t5 || $[101] !== t6 || $[102] !== t7 || $[103] !== t8) {
|
|
270
268
|
t14 = /* @__PURE__ */ jsxs("div", {
|
|
271
269
|
className: t5,
|
|
272
270
|
children: [
|
|
@@ -275,14 +273,14 @@ var InputFrame = (props) => {
|
|
|
275
273
|
t8
|
|
276
274
|
]
|
|
277
275
|
});
|
|
278
|
-
$[
|
|
279
|
-
$[
|
|
280
|
-
$[
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
} else t14 = $[
|
|
276
|
+
$[100] = t5;
|
|
277
|
+
$[101] = t6;
|
|
278
|
+
$[102] = t7;
|
|
279
|
+
$[103] = t8;
|
|
280
|
+
$[104] = t14;
|
|
281
|
+
} else t14 = $[104];
|
|
284
282
|
let t15;
|
|
285
|
-
if ($[
|
|
283
|
+
if ($[105] !== t10 || $[106] !== t11 || $[107] !== t12 || $[108] !== t13 || $[109] !== t14 || $[110] !== t9) {
|
|
286
284
|
t15 = /* @__PURE__ */ jsxs("div", {
|
|
287
285
|
className: t9,
|
|
288
286
|
children: [
|
|
@@ -293,17 +291,17 @@ var InputFrame = (props) => {
|
|
|
293
291
|
t14
|
|
294
292
|
]
|
|
295
293
|
});
|
|
296
|
-
$[
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
$[
|
|
303
|
-
} else t15 = $[
|
|
294
|
+
$[105] = t10;
|
|
295
|
+
$[106] = t11;
|
|
296
|
+
$[107] = t12;
|
|
297
|
+
$[108] = t13;
|
|
298
|
+
$[109] = t14;
|
|
299
|
+
$[110] = t9;
|
|
300
|
+
$[111] = t15;
|
|
301
|
+
} else t15 = $[111];
|
|
304
302
|
const contentRow = t15;
|
|
305
303
|
let t16;
|
|
306
|
-
if ($[
|
|
304
|
+
if ($[112] !== action || $[113] !== clearClassName || $[114] !== hasClear || $[115] !== hasTrailingContent || $[116] !== isDisabled || $[117] !== isLoading || $[118] !== onClear || $[119] !== renderStatic || $[120] !== showClear || $[121] !== trailingAction || $[122] !== trailingContent || $[123] !== trailingIcon || $[124] !== typographyCva || $[125] !== unit) {
|
|
307
305
|
t16 = hasTrailingContent ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
308
306
|
hasClear && /* @__PURE__ */ jsx(InputClear, {
|
|
309
307
|
onClear: () => onClear?.(),
|
|
@@ -337,25 +335,25 @@ var InputFrame = (props) => {
|
|
|
337
335
|
!isLoading && !action && trailingIcon && renderIconVisual(trailingIcon),
|
|
338
336
|
trailingAction
|
|
339
337
|
] }) : null;
|
|
340
|
-
$[
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
$[
|
|
344
|
-
$[
|
|
345
|
-
$[
|
|
346
|
-
$[
|
|
347
|
-
$[
|
|
348
|
-
$[
|
|
349
|
-
$[
|
|
350
|
-
$[
|
|
351
|
-
$[
|
|
352
|
-
$[
|
|
353
|
-
$[
|
|
354
|
-
$[
|
|
355
|
-
} else t16 = $[
|
|
338
|
+
$[112] = action;
|
|
339
|
+
$[113] = clearClassName;
|
|
340
|
+
$[114] = hasClear;
|
|
341
|
+
$[115] = hasTrailingContent;
|
|
342
|
+
$[116] = isDisabled;
|
|
343
|
+
$[117] = isLoading;
|
|
344
|
+
$[118] = onClear;
|
|
345
|
+
$[119] = renderStatic;
|
|
346
|
+
$[120] = showClear;
|
|
347
|
+
$[121] = trailingAction;
|
|
348
|
+
$[122] = trailingContent;
|
|
349
|
+
$[123] = trailingIcon;
|
|
350
|
+
$[124] = typographyCva;
|
|
351
|
+
$[125] = unit;
|
|
352
|
+
$[126] = t16;
|
|
353
|
+
} else t16 = $[126];
|
|
356
354
|
const trailingContentNodes = t16;
|
|
357
355
|
let t17;
|
|
358
|
-
if ($[
|
|
356
|
+
if ($[127] !== as || $[128] !== inputSizeCva || $[129] !== isTrailingInteractive || $[130] !== size || $[131] !== trailingClassName || $[132] !== trailingContentNodes || $[133] !== wrapTrailingContent) {
|
|
359
357
|
t17 = wrapTrailingContent && trailingContentNodes ? /* @__PURE__ */ jsx("div", {
|
|
360
358
|
className: clsx("flex items-center gap-input-gap-trailing-elements", inputSizeCva({
|
|
361
359
|
size,
|
|
@@ -363,70 +361,70 @@ var InputFrame = (props) => {
|
|
|
363
361
|
}), !isTrailingInteractive && "pointer-events-none", trailingClassName),
|
|
364
362
|
children: trailingContentNodes
|
|
365
363
|
}) : trailingContentNodes;
|
|
366
|
-
$[
|
|
367
|
-
$[
|
|
368
|
-
$[
|
|
369
|
-
$[
|
|
370
|
-
$[
|
|
371
|
-
$[
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
} else t17 = $[
|
|
364
|
+
$[127] = as;
|
|
365
|
+
$[128] = inputSizeCva;
|
|
366
|
+
$[129] = isTrailingInteractive;
|
|
367
|
+
$[130] = size;
|
|
368
|
+
$[131] = trailingClassName;
|
|
369
|
+
$[132] = trailingContentNodes;
|
|
370
|
+
$[133] = wrapTrailingContent;
|
|
371
|
+
$[134] = t17;
|
|
372
|
+
} else t17 = $[134];
|
|
375
373
|
const trailingRow = t17;
|
|
376
374
|
let t18;
|
|
377
|
-
if ($[
|
|
375
|
+
if ($[135] !== contentAndTrailingClassName || $[136] !== contentRow || $[137] !== trailingRow || $[138] !== wrapContentAndTrailing) {
|
|
378
376
|
t18 = wrapContentAndTrailing ? /* @__PURE__ */ jsxs("div", {
|
|
379
377
|
className: clsx("flex w-full items-center gap-input-gap-input-text-to-elements", contentAndTrailingClassName),
|
|
380
378
|
children: [contentRow, trailingRow]
|
|
381
379
|
}) : /* @__PURE__ */ jsxs(Fragment, { children: [contentRow, trailingRow] });
|
|
382
|
-
$[
|
|
383
|
-
$[
|
|
384
|
-
$[
|
|
385
|
-
$[
|
|
386
|
-
$[
|
|
387
|
-
} else t18 = $[
|
|
380
|
+
$[135] = contentAndTrailingClassName;
|
|
381
|
+
$[136] = contentRow;
|
|
382
|
+
$[137] = trailingRow;
|
|
383
|
+
$[138] = wrapContentAndTrailing;
|
|
384
|
+
$[139] = t18;
|
|
385
|
+
} else t18 = $[139];
|
|
388
386
|
const inputFrameContent = t18;
|
|
389
387
|
const t19 = as === "inline" ? -1 : void 0;
|
|
390
388
|
const t20 = as === "inline" ? -1 : void 0;
|
|
391
389
|
let t21;
|
|
392
|
-
if ($[
|
|
390
|
+
if ($[140] !== onMouseEnter || $[141] !== onStaticInteract || $[142] !== renderStatic) {
|
|
393
391
|
t21 = (event) => {
|
|
394
392
|
onMouseEnter?.(event);
|
|
395
393
|
if (renderStatic) onStaticInteract?.(false);
|
|
396
394
|
};
|
|
397
|
-
$[
|
|
398
|
-
$[
|
|
399
|
-
$[
|
|
400
|
-
$[
|
|
401
|
-
} else t21 = $[
|
|
395
|
+
$[140] = onMouseEnter;
|
|
396
|
+
$[141] = onStaticInteract;
|
|
397
|
+
$[142] = renderStatic;
|
|
398
|
+
$[143] = t21;
|
|
399
|
+
} else t21 = $[143];
|
|
402
400
|
let t22;
|
|
403
|
-
if ($[
|
|
401
|
+
if ($[144] !== onFocusCapture || $[145] !== onStaticInteract || $[146] !== renderStatic) {
|
|
404
402
|
t22 = (event_0) => {
|
|
405
403
|
onFocusCapture?.(event_0);
|
|
406
404
|
if (renderStatic) onStaticInteract?.(true);
|
|
407
405
|
};
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
$[
|
|
411
|
-
$[
|
|
412
|
-
} else t22 = $[
|
|
406
|
+
$[144] = onFocusCapture;
|
|
407
|
+
$[145] = onStaticInteract;
|
|
408
|
+
$[146] = renderStatic;
|
|
409
|
+
$[147] = t22;
|
|
410
|
+
} else t22 = $[147];
|
|
413
411
|
let t23;
|
|
414
|
-
if ($[
|
|
412
|
+
if ($[148] !== as || $[149] !== inputBaseCva || $[150] !== inputClassName || $[151] !== variant) {
|
|
415
413
|
t23 = clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
|
|
416
414
|
variant,
|
|
417
415
|
as
|
|
418
416
|
}), inputClassName);
|
|
419
|
-
$[
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
} else t23 = $[
|
|
417
|
+
$[148] = as;
|
|
418
|
+
$[149] = inputBaseCva;
|
|
419
|
+
$[150] = inputClassName;
|
|
420
|
+
$[151] = variant;
|
|
421
|
+
$[152] = t23;
|
|
422
|
+
} else t23 = $[152];
|
|
425
423
|
const t24 = renderStatic ? isDisabled ? -1 : 0 : void 0;
|
|
426
424
|
let t25;
|
|
427
425
|
let t26;
|
|
428
426
|
let t27;
|
|
429
|
-
if ($[
|
|
427
|
+
if ($[153] !== onStaticInteract || $[154] !== renderStatic) {
|
|
430
428
|
t25 = () => {
|
|
431
429
|
if (renderStatic) onStaticInteract?.(true);
|
|
432
430
|
};
|
|
@@ -436,18 +434,18 @@ var InputFrame = (props) => {
|
|
|
436
434
|
t27 = () => {
|
|
437
435
|
if (renderStatic) onStaticInteract?.(true);
|
|
438
436
|
};
|
|
439
|
-
$[
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
437
|
+
$[153] = onStaticInteract;
|
|
438
|
+
$[154] = renderStatic;
|
|
439
|
+
$[155] = t25;
|
|
440
|
+
$[156] = t26;
|
|
441
|
+
$[157] = t27;
|
|
444
442
|
} else {
|
|
445
|
-
t25 = $[
|
|
446
|
-
t26 = $[
|
|
447
|
-
t27 = $[
|
|
443
|
+
t25 = $[155];
|
|
444
|
+
t26 = $[156];
|
|
445
|
+
t27 = $[157];
|
|
448
446
|
}
|
|
449
447
|
let t28;
|
|
450
|
-
if ($[
|
|
448
|
+
if ($[158] !== dataAttributeProps || $[159] !== inputFrameContent || $[160] !== ref || $[161] !== t23 || $[162] !== t24 || $[163] !== t25 || $[164] !== t26 || $[165] !== t27) {
|
|
451
449
|
t28 = /* @__PURE__ */ jsx("div", {
|
|
452
450
|
ref,
|
|
453
451
|
...dataAttributeProps,
|
|
@@ -459,18 +457,18 @@ var InputFrame = (props) => {
|
|
|
459
457
|
"data-rac": "",
|
|
460
458
|
children: inputFrameContent
|
|
461
459
|
});
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
467
|
-
$[
|
|
468
|
-
$[
|
|
469
|
-
$[
|
|
470
|
-
$[
|
|
471
|
-
} else t28 = $[
|
|
460
|
+
$[158] = dataAttributeProps;
|
|
461
|
+
$[159] = inputFrameContent;
|
|
462
|
+
$[160] = ref;
|
|
463
|
+
$[161] = t23;
|
|
464
|
+
$[162] = t24;
|
|
465
|
+
$[163] = t25;
|
|
466
|
+
$[164] = t26;
|
|
467
|
+
$[165] = t27;
|
|
468
|
+
$[166] = t28;
|
|
469
|
+
} else t28 = $[166];
|
|
472
470
|
let t29;
|
|
473
|
-
if ($[
|
|
471
|
+
if ($[167] !== as || $[168] !== dataAttributeProps || $[169] !== formFieldProps || $[170] !== formFieldRef || $[171] !== labelProps || $[172] !== t20 || $[173] !== t21 || $[174] !== t22 || $[175] !== t28) {
|
|
474
472
|
t29 = /* @__PURE__ */ jsx(FormField, {
|
|
475
473
|
...formFieldProps,
|
|
476
474
|
...dataAttributeProps,
|
|
@@ -482,31 +480,31 @@ var InputFrame = (props) => {
|
|
|
482
480
|
onFocusCapture: t22,
|
|
483
481
|
children: t28
|
|
484
482
|
});
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
$[
|
|
493
|
-
$[
|
|
494
|
-
$[
|
|
495
|
-
} else t29 = $[
|
|
483
|
+
$[167] = as;
|
|
484
|
+
$[168] = dataAttributeProps;
|
|
485
|
+
$[169] = formFieldProps;
|
|
486
|
+
$[170] = formFieldRef;
|
|
487
|
+
$[171] = labelProps;
|
|
488
|
+
$[172] = t20;
|
|
489
|
+
$[173] = t21;
|
|
490
|
+
$[174] = t22;
|
|
491
|
+
$[175] = t28;
|
|
492
|
+
$[176] = t29;
|
|
493
|
+
} else t29 = $[176];
|
|
496
494
|
let t30;
|
|
497
|
-
if ($[
|
|
495
|
+
if ($[177] !== as || $[178] !== error || $[179] !== t19 || $[180] !== t29) {
|
|
498
496
|
t30 = /* @__PURE__ */ jsx(TooltipWrapper, {
|
|
499
497
|
as,
|
|
500
498
|
error,
|
|
501
499
|
triggerTabIndex: t19,
|
|
502
500
|
children: t29
|
|
503
501
|
});
|
|
504
|
-
$[
|
|
505
|
-
$[
|
|
506
|
-
$[
|
|
507
|
-
$[
|
|
508
|
-
$[
|
|
509
|
-
} else t30 = $[
|
|
502
|
+
$[177] = as;
|
|
503
|
+
$[178] = error;
|
|
504
|
+
$[179] = t19;
|
|
505
|
+
$[180] = t29;
|
|
506
|
+
$[181] = t30;
|
|
507
|
+
} else t30 = $[181];
|
|
510
508
|
return t30;
|
|
511
509
|
};
|
|
512
510
|
var renderIconVisual = (icon) => {
|