@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260919092040 → 0.8.1-dev.20260919094626

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.
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
  import {
5
5
  InputControl_default
6
- } from "./chunk-6DLRMMX3.mjs";
6
+ } from "./chunk-6RY5EC34.mjs";
7
7
  import {
8
8
  Button_default
9
9
  } from "./chunk-LSKD5U3S.mjs";
@@ -13,7 +13,7 @@ import { useRouter } from "next/navigation";
13
13
 
14
14
  // src/components/controls/edit/InputControl.tsx
15
15
  import dynamic from "next/dynamic";
16
- var InputControl = dynamic(() => import("./InputControlClient-UK7BUVZP.mjs"), {
16
+ var InputControl = dynamic(() => import("./InputControlClient-WIPQYB6S.mjs"), {
17
17
  ssr: false
18
18
  });
19
19
  var InputControl_default = InputControl;
@@ -18,7 +18,7 @@ import {
18
18
  SelectWithSearchInput_default,
19
19
  Select_default,
20
20
  TimeInput_default
21
- } from "./chunk-ACHYBM3S.mjs";
21
+ } from "./chunk-CHLBBXDL.mjs";
22
22
  import {
23
23
  Hyperlink,
24
24
  Icon_default
@@ -140,7 +140,7 @@ var MoneyInput = (props) => {
140
140
  event.preventDefault();
141
141
  event.target.blur();
142
142
  };
143
- let value;
143
+ let value = "";
144
144
  if (props.value !== void 0 && props.value !== null) {
145
145
  value = props.value;
146
146
  }
@@ -149,8 +149,8 @@ var MoneyInput = (props) => {
149
149
  e.preventDefault();
150
150
  }
151
151
  };
152
- return /* @__PURE__ */ jsx3(React3.Fragment, { children: /* @__PURE__ */ jsxs3("label", { className: "block mb-1", children: [
153
- /* @__PURE__ */ jsx3("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
152
+ return /* @__PURE__ */ jsx3(React3.Fragment, { children: /* @__PURE__ */ jsxs3("label", { className: "block", children: [
153
+ props?.attributes?.label && /* @__PURE__ */ jsx3("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
154
154
  " ",
155
155
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx3("span", { className: "bg-error-weak", children: "*" }),
156
156
  /* @__PURE__ */ jsx3(
@@ -162,6 +162,8 @@ var MoneyInput = (props) => {
162
162
  value,
163
163
  min: 0,
164
164
  onChange: textChangeHandler,
165
+ onBlur: props?.onBlur,
166
+ autoFocus: props?.attributes?.autoFocus,
165
167
  onWheel: handleWheel,
166
168
  onKeyDown: preventNegative,
167
169
  required: props?.attributes?.required,
@@ -170,7 +172,9 @@ var MoneyInput = (props) => {
170
172
  pattern: props?.attributes?.pattern,
171
173
  disabled: props?.attributes?.readOnly,
172
174
  minLength: props?.attributes?.minLength,
173
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
175
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
176
+ ${props?.inputClasses ? props.inputClasses : ``}
177
+ `
174
178
  }
175
179
  ),
176
180
  /* @__PURE__ */ jsx3("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -322,7 +326,7 @@ var PercentageInput = (props) => {
322
326
  event.preventDefault();
323
327
  event.target.blur();
324
328
  };
325
- let value;
329
+ let value = "";
326
330
  if (props.value !== void 0 && props.value !== null) {
327
331
  value = props.value;
328
332
  }
@@ -331,8 +335,8 @@ var PercentageInput = (props) => {
331
335
  e.preventDefault();
332
336
  }
333
337
  };
334
- return /* @__PURE__ */ jsx5(React5.Fragment, { children: /* @__PURE__ */ jsxs5("label", { className: "block mb-1", children: [
335
- /* @__PURE__ */ jsx5("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
338
+ return /* @__PURE__ */ jsx5(React5.Fragment, { children: /* @__PURE__ */ jsxs5("label", { className: "block", children: [
339
+ props?.attributes?.label && /* @__PURE__ */ jsx5("span", { className: "text-sm inline-block pb-1 font-medium ", children: props.attributes.label + " %" }),
336
340
  " ",
337
341
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx5("span", { className: "bg-error-weak", children: "*" }),
338
342
  /* @__PURE__ */ jsx5(
@@ -344,6 +348,8 @@ var PercentageInput = (props) => {
344
348
  value,
345
349
  min: 0,
346
350
  onChange: textChangeHandler,
351
+ onBlur: props?.onBlur,
352
+ autoFocus: props?.attributes?.autoFocus,
347
353
  onKeyDown: preventNegative,
348
354
  onWheel: handleWheel,
349
355
  required: props?.attributes?.required,
@@ -351,7 +357,9 @@ var PercentageInput = (props) => {
351
357
  pattern: props?.attributes?.pattern,
352
358
  disabled: props?.attributes?.readOnly,
353
359
  max: "100",
354
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
360
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
361
+ ${props?.inputClasses ? props.inputClasses : ``}
362
+ `
355
363
  }
356
364
  ),
357
365
  /* @__PURE__ */ jsx5("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -416,21 +424,19 @@ var NumberInput = (props) => {
416
424
  const textChangeHandler = (event) => {
417
425
  const text = event.target.value;
418
426
  if (props.callback !== void 0) {
419
- props.callback(
420
- {
421
- name: props.name,
422
- value: text,
423
- index: props.index,
424
- groupKey: props.groupKey
425
- }
426
- );
427
+ props.callback({
428
+ name: props.name,
429
+ value: text,
430
+ index: props.index,
431
+ groupKey: props.groupKey
432
+ });
427
433
  }
428
434
  };
429
435
  const handleWheel = (event) => {
430
436
  event.preventDefault();
431
437
  event.target.blur();
432
438
  };
433
- let value;
439
+ let value = "";
434
440
  if (props.value !== void 0 && props.value !== null) {
435
441
  value = props.value;
436
442
  }
@@ -447,14 +453,17 @@ var NumberInput = (props) => {
447
453
  value,
448
454
  onChange: textChangeHandler,
449
455
  onWheel: handleWheel,
456
+ onBlur: props?.onBlur,
457
+ autoFocus: props?.attributes?.autoFocus,
450
458
  required: props?.attributes?.required,
451
459
  placeholder: props?.attributes?.placeholder,
452
- onBlur: props?.onBlur,
453
460
  pattern: props?.attributes?.pattern,
454
461
  disabled: props?.attributes?.readOnly,
455
462
  max: props?.attributes?.maxValue,
456
463
  min: props?.attributes?.minValue,
457
- className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
464
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
465
+ ${props?.inputClasses ? props.inputClasses : ``}
466
+ `
458
467
  }
459
468
  ),
460
469
  /* @__PURE__ */ jsx7("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -535,25 +544,23 @@ var OtpInput = (props) => {
535
544
  const textChangeHandler = (event) => {
536
545
  const text = event.target.value;
537
546
  if (props.callback !== void 0) {
538
- props.callback(
539
- {
540
- name: props.name,
541
- value: text,
542
- index: props.index,
543
- groupKey: props.groupKey
544
- }
545
- );
547
+ props.callback({
548
+ name: props.name,
549
+ value: text,
550
+ index: props.index,
551
+ groupKey: props.groupKey
552
+ });
546
553
  }
547
554
  };
548
555
  const handleWheel = (event) => {
549
556
  event.preventDefault();
550
557
  };
551
- let value;
558
+ let value = "";
552
559
  if (props.value !== void 0 && props.value !== null) {
553
560
  value = props.value;
554
561
  }
555
- return /* @__PURE__ */ jsx9(React9.Fragment, { children: /* @__PURE__ */ jsxs9("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
556
- /* @__PURE__ */ jsx9("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
562
+ return /* @__PURE__ */ jsx9(React9.Fragment, { children: /* @__PURE__ */ jsxs9("label", { htmlFor: props.name, className: "block w-full", children: [
563
+ props?.attributes?.label && /* @__PURE__ */ jsx9("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
557
564
  " ",
558
565
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx9("span", { className: "bg-error-weak", children: "*" }),
559
566
  /* @__PURE__ */ jsx9(
@@ -564,6 +571,7 @@ var OtpInput = (props) => {
564
571
  id: props.name,
565
572
  value,
566
573
  onChange: textChangeHandler,
574
+ onBlur: props?.onBlur,
567
575
  autoComplete: "off",
568
576
  required: props?.attributes?.required,
569
577
  placeholder: props?.attributes?.placeholder,
@@ -573,7 +581,9 @@ var OtpInput = (props) => {
573
581
  minLength: props?.attributes?.minLength,
574
582
  autoFocus: props?.attributes?.autoFocus,
575
583
  onWheel: handleWheel,
576
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
584
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center transition-all duration-500 ease-in-out
585
+ ${props?.inputClasses ? props.inputClasses : ``}
586
+ `
577
587
  }
578
588
  ),
579
589
  /* @__PURE__ */ jsx9("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -1252,8 +1262,8 @@ var TimeInput = (props) => {
1252
1262
  });
1253
1263
  }
1254
1264
  };
1255
- return /* @__PURE__ */ jsx15(React15.Fragment, { children: /* @__PURE__ */ jsxs15("label", { className: "block mb-1", children: [
1256
- /* @__PURE__ */ jsx15("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
1265
+ return /* @__PURE__ */ jsx15(React15.Fragment, { children: /* @__PURE__ */ jsxs15("label", { className: "block", children: [
1266
+ props?.attributes?.label && /* @__PURE__ */ jsx15("span", { className: "text-sm inline-block pb-1 font-medium", children: props?.attributes?.label }),
1257
1267
  " ",
1258
1268
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx15("span", { className: "bg-error-weak", children: "*" }),
1259
1269
  /* @__PURE__ */ jsx15("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx15(
@@ -1264,9 +1274,13 @@ var TimeInput = (props) => {
1264
1274
  id: props.name,
1265
1275
  value: typeof props.value === "boolean" ? "" : props.value ?? "",
1266
1276
  onChange: timeChangeHandler,
1277
+ onBlur: props?.onBlur,
1278
+ autoFocus: props?.attributes?.autoFocus,
1267
1279
  required: props?.attributes?.required,
1268
1280
  disabled: props?.attributes?.readOnly,
1269
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
1281
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
1282
+ ${props?.inputClasses ? props.inputClasses : ``}
1283
+ `
1270
1284
  }
1271
1285
  ) }),
1272
1286
  /* @__PURE__ */ jsx15("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
@@ -3,7 +3,7 @@
3
3
 
4
4
  // src/components/controls/edit/InputControl.tsx
5
5
  import dynamic from "next/dynamic";
6
- var InputControl = dynamic(() => import("./InputControlClient-DZXYU5UB.mjs"), {
6
+ var InputControl = dynamic(() => import("./InputControlClient-BXESZH6F.mjs"), {
7
7
  ssr: false
8
8
  });
9
9
  var InputControl_default = InputControl;
@@ -124,7 +124,7 @@ var MoneyInput = (props) => {
124
124
  event.preventDefault();
125
125
  event.target.blur();
126
126
  };
127
- let value;
127
+ let value = "";
128
128
  if (props.value !== void 0 && props.value !== null) {
129
129
  value = props.value;
130
130
  }
@@ -133,8 +133,8 @@ var MoneyInput = (props) => {
133
133
  e.preventDefault();
134
134
  }
135
135
  };
136
- return /* @__PURE__ */ jsx3(React3.Fragment, { children: /* @__PURE__ */ jsxs3("label", { className: "block mb-1", children: [
137
- /* @__PURE__ */ jsx3("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
136
+ return /* @__PURE__ */ jsx3(React3.Fragment, { children: /* @__PURE__ */ jsxs3("label", { className: "block", children: [
137
+ props?.attributes?.label && /* @__PURE__ */ jsx3("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
138
138
  " ",
139
139
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx3("span", { className: "bg-error-weak", children: "*" }),
140
140
  /* @__PURE__ */ jsx3(
@@ -146,6 +146,8 @@ var MoneyInput = (props) => {
146
146
  value,
147
147
  min: 0,
148
148
  onChange: textChangeHandler,
149
+ onBlur: props?.onBlur,
150
+ autoFocus: props?.attributes?.autoFocus,
149
151
  onWheel: handleWheel,
150
152
  onKeyDown: preventNegative,
151
153
  required: props?.attributes?.required,
@@ -154,7 +156,9 @@ var MoneyInput = (props) => {
154
156
  pattern: props?.attributes?.pattern,
155
157
  disabled: props?.attributes?.readOnly,
156
158
  minLength: props?.attributes?.minLength,
157
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
159
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
160
+ ${props?.inputClasses ? props.inputClasses : ``}
161
+ `
158
162
  }
159
163
  ),
160
164
  /* @__PURE__ */ jsx3("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -306,7 +310,7 @@ var PercentageInput = (props) => {
306
310
  event.preventDefault();
307
311
  event.target.blur();
308
312
  };
309
- let value;
313
+ let value = "";
310
314
  if (props.value !== void 0 && props.value !== null) {
311
315
  value = props.value;
312
316
  }
@@ -315,8 +319,8 @@ var PercentageInput = (props) => {
315
319
  e.preventDefault();
316
320
  }
317
321
  };
318
- return /* @__PURE__ */ jsx5(React5.Fragment, { children: /* @__PURE__ */ jsxs5("label", { className: "block mb-1", children: [
319
- /* @__PURE__ */ jsx5("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
322
+ return /* @__PURE__ */ jsx5(React5.Fragment, { children: /* @__PURE__ */ jsxs5("label", { className: "block", children: [
323
+ props?.attributes?.label && /* @__PURE__ */ jsx5("span", { className: "text-sm inline-block pb-1 font-medium ", children: props.attributes.label + " %" }),
320
324
  " ",
321
325
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx5("span", { className: "bg-error-weak", children: "*" }),
322
326
  /* @__PURE__ */ jsx5(
@@ -328,6 +332,8 @@ var PercentageInput = (props) => {
328
332
  value,
329
333
  min: 0,
330
334
  onChange: textChangeHandler,
335
+ onBlur: props?.onBlur,
336
+ autoFocus: props?.attributes?.autoFocus,
331
337
  onKeyDown: preventNegative,
332
338
  onWheel: handleWheel,
333
339
  required: props?.attributes?.required,
@@ -335,7 +341,9 @@ var PercentageInput = (props) => {
335
341
  pattern: props?.attributes?.pattern,
336
342
  disabled: props?.attributes?.readOnly,
337
343
  max: "100",
338
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
344
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
345
+ ${props?.inputClasses ? props.inputClasses : ``}
346
+ `
339
347
  }
340
348
  ),
341
349
  /* @__PURE__ */ jsx5("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -400,21 +408,19 @@ var NumberInput = (props) => {
400
408
  const textChangeHandler = (event) => {
401
409
  const text = event.target.value;
402
410
  if (props.callback !== void 0) {
403
- props.callback(
404
- {
405
- name: props.name,
406
- value: text,
407
- index: props.index,
408
- groupKey: props.groupKey
409
- }
410
- );
411
+ props.callback({
412
+ name: props.name,
413
+ value: text,
414
+ index: props.index,
415
+ groupKey: props.groupKey
416
+ });
411
417
  }
412
418
  };
413
419
  const handleWheel = (event) => {
414
420
  event.preventDefault();
415
421
  event.target.blur();
416
422
  };
417
- let value;
423
+ let value = "";
418
424
  if (props.value !== void 0 && props.value !== null) {
419
425
  value = props.value;
420
426
  }
@@ -431,14 +437,17 @@ var NumberInput = (props) => {
431
437
  value,
432
438
  onChange: textChangeHandler,
433
439
  onWheel: handleWheel,
440
+ onBlur: props?.onBlur,
441
+ autoFocus: props?.attributes?.autoFocus,
434
442
  required: props?.attributes?.required,
435
443
  placeholder: props?.attributes?.placeholder,
436
- onBlur: props?.onBlur,
437
444
  pattern: props?.attributes?.pattern,
438
445
  disabled: props?.attributes?.readOnly,
439
446
  max: props?.attributes?.maxValue,
440
447
  min: props?.attributes?.minValue,
441
- className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
448
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
449
+ ${props?.inputClasses ? props.inputClasses : ``}
450
+ `
442
451
  }
443
452
  ),
444
453
  /* @__PURE__ */ jsx7("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -519,25 +528,23 @@ var OtpInput = (props) => {
519
528
  const textChangeHandler = (event) => {
520
529
  const text = event.target.value;
521
530
  if (props.callback !== void 0) {
522
- props.callback(
523
- {
524
- name: props.name,
525
- value: text,
526
- index: props.index,
527
- groupKey: props.groupKey
528
- }
529
- );
531
+ props.callback({
532
+ name: props.name,
533
+ value: text,
534
+ index: props.index,
535
+ groupKey: props.groupKey
536
+ });
530
537
  }
531
538
  };
532
539
  const handleWheel = (event) => {
533
540
  event.preventDefault();
534
541
  };
535
- let value;
542
+ let value = "";
536
543
  if (props.value !== void 0 && props.value !== null) {
537
544
  value = props.value;
538
545
  }
539
- return /* @__PURE__ */ jsx9(React9.Fragment, { children: /* @__PURE__ */ jsxs9("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
540
- /* @__PURE__ */ jsx9("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
546
+ return /* @__PURE__ */ jsx9(React9.Fragment, { children: /* @__PURE__ */ jsxs9("label", { htmlFor: props.name, className: "block w-full", children: [
547
+ props?.attributes?.label && /* @__PURE__ */ jsx9("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
541
548
  " ",
542
549
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx9("span", { className: "bg-error-weak", children: "*" }),
543
550
  /* @__PURE__ */ jsx9(
@@ -548,6 +555,7 @@ var OtpInput = (props) => {
548
555
  id: props.name,
549
556
  value,
550
557
  onChange: textChangeHandler,
558
+ onBlur: props?.onBlur,
551
559
  autoComplete: "off",
552
560
  required: props?.attributes?.required,
553
561
  placeholder: props?.attributes?.placeholder,
@@ -557,7 +565,9 @@ var OtpInput = (props) => {
557
565
  minLength: props?.attributes?.minLength,
558
566
  autoFocus: props?.attributes?.autoFocus,
559
567
  onWheel: handleWheel,
560
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
568
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center transition-all duration-500 ease-in-out
569
+ ${props?.inputClasses ? props.inputClasses : ``}
570
+ `
561
571
  }
562
572
  ),
563
573
  /* @__PURE__ */ jsx9("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -984,8 +994,8 @@ var TimeInput = (props) => {
984
994
  });
985
995
  }
986
996
  };
987
- return /* @__PURE__ */ jsx14(React14.Fragment, { children: /* @__PURE__ */ jsxs14("label", { className: "block mb-1", children: [
988
- /* @__PURE__ */ jsx14("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
997
+ return /* @__PURE__ */ jsx14(React14.Fragment, { children: /* @__PURE__ */ jsxs14("label", { className: "block", children: [
998
+ props?.attributes?.label && /* @__PURE__ */ jsx14("span", { className: "text-sm inline-block pb-1 font-medium", children: props?.attributes?.label }),
989
999
  " ",
990
1000
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx14("span", { className: "bg-error-weak", children: "*" }),
991
1001
  /* @__PURE__ */ jsx14("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx14(
@@ -996,9 +1006,13 @@ var TimeInput = (props) => {
996
1006
  id: props.name,
997
1007
  value: typeof props.value === "boolean" ? "" : props.value ?? "",
998
1008
  onChange: timeChangeHandler,
1009
+ onBlur: props?.onBlur,
1010
+ autoFocus: props?.attributes?.autoFocus,
999
1011
  required: props?.attributes?.required,
1000
1012
  disabled: props?.attributes?.readOnly,
1001
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
1013
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
1014
+ ${props?.inputClasses ? props.inputClasses : ``}
1015
+ `
1002
1016
  }
1003
1017
  ) }),
1004
1018
  /* @__PURE__ */ jsx14("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
package/dist/index.js CHANGED
@@ -2293,7 +2293,7 @@ var init_MoneyInput = __esm({
2293
2293
  event.preventDefault();
2294
2294
  event.target.blur();
2295
2295
  };
2296
- let value;
2296
+ let value = "";
2297
2297
  if (props.value !== void 0 && props.value !== null) {
2298
2298
  value = props.value;
2299
2299
  }
@@ -2302,8 +2302,8 @@ var init_MoneyInput = __esm({
2302
2302
  e.preventDefault();
2303
2303
  }
2304
2304
  };
2305
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react25.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("label", { className: "block mb-1", children: [
2306
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
2305
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react25.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("label", { className: "block", children: [
2306
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
2307
2307
  " ",
2308
2308
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "bg-error-weak", children: "*" }),
2309
2309
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
@@ -2315,6 +2315,8 @@ var init_MoneyInput = __esm({
2315
2315
  value,
2316
2316
  min: 0,
2317
2317
  onChange: textChangeHandler,
2318
+ onBlur: props?.onBlur,
2319
+ autoFocus: props?.attributes?.autoFocus,
2318
2320
  onWheel: handleWheel,
2319
2321
  onKeyDown: preventNegative,
2320
2322
  required: props?.attributes?.required,
@@ -2323,7 +2325,9 @@ var init_MoneyInput = __esm({
2323
2325
  pattern: props?.attributes?.pattern,
2324
2326
  disabled: props?.attributes?.readOnly,
2325
2327
  minLength: props?.attributes?.minLength,
2326
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
2328
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
2329
+ ${props?.inputClasses ? props.inputClasses : ``}
2330
+ `
2327
2331
  }
2328
2332
  ),
2329
2333
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -2522,7 +2526,7 @@ var init_PercentageInput = __esm({
2522
2526
  event.preventDefault();
2523
2527
  event.target.blur();
2524
2528
  };
2525
- let value;
2529
+ let value = "";
2526
2530
  if (props.value !== void 0 && props.value !== null) {
2527
2531
  value = props.value;
2528
2532
  }
@@ -2531,8 +2535,8 @@ var init_PercentageInput = __esm({
2531
2535
  e.preventDefault();
2532
2536
  }
2533
2537
  };
2534
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react27.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("label", { className: "block mb-1", children: [
2535
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
2538
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react27.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("label", { className: "block", children: [
2539
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props.attributes.label + " %" }),
2536
2540
  " ",
2537
2541
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "bg-error-weak", children: "*" }),
2538
2542
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
@@ -2544,6 +2548,8 @@ var init_PercentageInput = __esm({
2544
2548
  value,
2545
2549
  min: 0,
2546
2550
  onChange: textChangeHandler,
2551
+ onBlur: props?.onBlur,
2552
+ autoFocus: props?.attributes?.autoFocus,
2547
2553
  onKeyDown: preventNegative,
2548
2554
  onWheel: handleWheel,
2549
2555
  required: props?.attributes?.required,
@@ -2551,7 +2557,9 @@ var init_PercentageInput = __esm({
2551
2557
  pattern: props?.attributes?.pattern,
2552
2558
  disabled: props?.attributes?.readOnly,
2553
2559
  max: "100",
2554
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
2560
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
2561
+ ${props?.inputClasses ? props.inputClasses : ``}
2562
+ `
2555
2563
  }
2556
2564
  ),
2557
2565
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -2628,21 +2636,19 @@ var init_NumberInput = __esm({
2628
2636
  const textChangeHandler = (event) => {
2629
2637
  const text = event.target.value;
2630
2638
  if (props.callback !== void 0) {
2631
- props.callback(
2632
- {
2633
- name: props.name,
2634
- value: text,
2635
- index: props.index,
2636
- groupKey: props.groupKey
2637
- }
2638
- );
2639
+ props.callback({
2640
+ name: props.name,
2641
+ value: text,
2642
+ index: props.index,
2643
+ groupKey: props.groupKey
2644
+ });
2639
2645
  }
2640
2646
  };
2641
2647
  const handleWheel = (event) => {
2642
2648
  event.preventDefault();
2643
2649
  event.target.blur();
2644
2650
  };
2645
- let value;
2651
+ let value = "";
2646
2652
  if (props.value !== void 0 && props.value !== null) {
2647
2653
  value = props.value;
2648
2654
  }
@@ -2659,14 +2665,17 @@ var init_NumberInput = __esm({
2659
2665
  value,
2660
2666
  onChange: textChangeHandler,
2661
2667
  onWheel: handleWheel,
2668
+ onBlur: props?.onBlur,
2669
+ autoFocus: props?.attributes?.autoFocus,
2662
2670
  required: props?.attributes?.required,
2663
2671
  placeholder: props?.attributes?.placeholder,
2664
- onBlur: props?.onBlur,
2665
2672
  pattern: props?.attributes?.pattern,
2666
2673
  disabled: props?.attributes?.readOnly,
2667
2674
  max: props?.attributes?.maxValue,
2668
2675
  min: props?.attributes?.minValue,
2669
- className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
2676
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
2677
+ ${props?.inputClasses ? props.inputClasses : ``}
2678
+ `
2670
2679
  }
2671
2680
  ),
2672
2681
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -2759,25 +2768,23 @@ var init_OtpInput = __esm({
2759
2768
  const textChangeHandler = (event) => {
2760
2769
  const text = event.target.value;
2761
2770
  if (props.callback !== void 0) {
2762
- props.callback(
2763
- {
2764
- name: props.name,
2765
- value: text,
2766
- index: props.index,
2767
- groupKey: props.groupKey
2768
- }
2769
- );
2771
+ props.callback({
2772
+ name: props.name,
2773
+ value: text,
2774
+ index: props.index,
2775
+ groupKey: props.groupKey
2776
+ });
2770
2777
  }
2771
2778
  };
2772
2779
  const handleWheel = (event) => {
2773
2780
  event.preventDefault();
2774
2781
  };
2775
- let value;
2782
+ let value = "";
2776
2783
  if (props.value !== void 0 && props.value !== null) {
2777
2784
  value = props.value;
2778
2785
  }
2779
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react31.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
2780
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
2786
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react31.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("label", { htmlFor: props.name, className: "block w-full", children: [
2787
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
2781
2788
  " ",
2782
2789
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "bg-error-weak", children: "*" }),
2783
2790
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
@@ -2788,6 +2795,7 @@ var init_OtpInput = __esm({
2788
2795
  id: props.name,
2789
2796
  value,
2790
2797
  onChange: textChangeHandler,
2798
+ onBlur: props?.onBlur,
2791
2799
  autoComplete: "off",
2792
2800
  required: props?.attributes?.required,
2793
2801
  placeholder: props?.attributes?.placeholder,
@@ -2797,7 +2805,9 @@ var init_OtpInput = __esm({
2797
2805
  minLength: props?.attributes?.minLength,
2798
2806
  autoFocus: props?.attributes?.autoFocus,
2799
2807
  onWheel: handleWheel,
2800
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
2808
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center transition-all duration-500 ease-in-out
2809
+ ${props?.inputClasses ? props.inputClasses : ``}
2810
+ `
2801
2811
  }
2802
2812
  ),
2803
2813
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -3806,8 +3816,8 @@ var init_TimeInput = __esm({
3806
3816
  });
3807
3817
  }
3808
3818
  };
3809
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react40.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("label", { className: "block mb-1", children: [
3810
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
3819
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react40.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("label", { className: "block", children: [
3820
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-sm inline-block pb-1 font-medium", children: props?.attributes?.label }),
3811
3821
  " ",
3812
3822
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "bg-error-weak", children: "*" }),
3813
3823
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
@@ -3818,9 +3828,13 @@ var init_TimeInput = __esm({
3818
3828
  id: props.name,
3819
3829
  value: typeof props.value === "boolean" ? "" : props.value ?? "",
3820
3830
  onChange: timeChangeHandler,
3831
+ onBlur: props?.onBlur,
3832
+ autoFocus: props?.attributes?.autoFocus,
3821
3833
  required: props?.attributes?.required,
3822
3834
  disabled: props?.attributes?.readOnly,
3823
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
3835
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
3836
+ ${props?.inputClasses ? props.inputClasses : ``}
3837
+ `
3824
3838
  }
3825
3839
  ) }),
3826
3840
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-SNDGEYWZ.mjs";
9
9
  import {
10
10
  InputControl_default
11
- } from "./chunk-6DLRMMX3.mjs";
11
+ } from "./chunk-6RY5EC34.mjs";
12
12
  import "./chunk-JDX47MFV.mjs";
13
13
  import {
14
14
  CheckboxInput_default,
@@ -27,7 +27,7 @@ import {
27
27
  SelectWithSearchInput_default,
28
28
  Select_default,
29
29
  TimeInput_default
30
- } from "./chunk-ACHYBM3S.mjs";
30
+ } from "./chunk-CHLBBXDL.mjs";
31
31
  import {
32
32
  Hyperlink,
33
33
  Icon_default
@@ -2391,7 +2391,7 @@ var GoogleMapNode_default = GoogleMapNode;
2391
2391
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2392
2392
  import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2393
2393
  var Pagination = dynamic13(() => import("./Pagination-BDWRNSFB.mjs"), { ssr: true });
2394
- var DataBindingControls = dynamic13(() => import("./DataBindingControls-MBHEIZVZ.mjs"), {
2394
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-P26F2DFR.mjs"), {
2395
2395
  ssr: true
2396
2396
  });
2397
2397
  var Slider = dynamic13(() => import("./Slider-IVPJBPE5.mjs"), {
package/dist/server.js CHANGED
@@ -3807,7 +3807,7 @@ var init_MoneyInput = __esm({
3807
3807
  event.preventDefault();
3808
3808
  event.target.blur();
3809
3809
  };
3810
- let value;
3810
+ let value = "";
3811
3811
  if (props.value !== void 0 && props.value !== null) {
3812
3812
  value = props.value;
3813
3813
  }
@@ -3816,8 +3816,8 @@ var init_MoneyInput = __esm({
3816
3816
  e.preventDefault();
3817
3817
  }
3818
3818
  };
3819
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react41.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("label", { className: "block mb-1", children: [
3820
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3819
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react41.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("label", { className: "block", children: [
3820
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
3821
3821
  " ",
3822
3822
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "bg-error-weak", children: "*" }),
3823
3823
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
@@ -3829,6 +3829,8 @@ var init_MoneyInput = __esm({
3829
3829
  value,
3830
3830
  min: 0,
3831
3831
  onChange: textChangeHandler,
3832
+ onBlur: props?.onBlur,
3833
+ autoFocus: props?.attributes?.autoFocus,
3832
3834
  onWheel: handleWheel,
3833
3835
  onKeyDown: preventNegative,
3834
3836
  required: props?.attributes?.required,
@@ -3837,7 +3839,9 @@ var init_MoneyInput = __esm({
3837
3839
  pattern: props?.attributes?.pattern,
3838
3840
  disabled: props?.attributes?.readOnly,
3839
3841
  minLength: props?.attributes?.minLength,
3840
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
3842
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
3843
+ ${props?.inputClasses ? props.inputClasses : ``}
3844
+ `
3841
3845
  }
3842
3846
  ),
3843
3847
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -4001,7 +4005,7 @@ var init_PercentageInput = __esm({
4001
4005
  event.preventDefault();
4002
4006
  event.target.blur();
4003
4007
  };
4004
- let value;
4008
+ let value = "";
4005
4009
  if (props.value !== void 0 && props.value !== null) {
4006
4010
  value = props.value;
4007
4011
  }
@@ -4010,8 +4014,8 @@ var init_PercentageInput = __esm({
4010
4014
  e.preventDefault();
4011
4015
  }
4012
4016
  };
4013
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react43.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("label", { className: "block mb-1", children: [
4014
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react43.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("label", { className: "block", children: [
4018
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props.attributes.label + " %" }),
4015
4019
  " ",
4016
4020
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "bg-error-weak", children: "*" }),
4017
4021
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
@@ -4023,6 +4027,8 @@ var init_PercentageInput = __esm({
4023
4027
  value,
4024
4028
  min: 0,
4025
4029
  onChange: textChangeHandler,
4030
+ onBlur: props?.onBlur,
4031
+ autoFocus: props?.attributes?.autoFocus,
4026
4032
  onKeyDown: preventNegative,
4027
4033
  onWheel: handleWheel,
4028
4034
  required: props?.attributes?.required,
@@ -4030,7 +4036,9 @@ var init_PercentageInput = __esm({
4030
4036
  pattern: props?.attributes?.pattern,
4031
4037
  disabled: props?.attributes?.readOnly,
4032
4038
  max: "100",
4033
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
4039
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
4040
+ ${props?.inputClasses ? props.inputClasses : ``}
4041
+ `
4034
4042
  }
4035
4043
  ),
4036
4044
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -4107,21 +4115,19 @@ var init_NumberInput = __esm({
4107
4115
  const textChangeHandler = (event) => {
4108
4116
  const text = event.target.value;
4109
4117
  if (props.callback !== void 0) {
4110
- props.callback(
4111
- {
4112
- name: props.name,
4113
- value: text,
4114
- index: props.index,
4115
- groupKey: props.groupKey
4116
- }
4117
- );
4118
+ props.callback({
4119
+ name: props.name,
4120
+ value: text,
4121
+ index: props.index,
4122
+ groupKey: props.groupKey
4123
+ });
4118
4124
  }
4119
4125
  };
4120
4126
  const handleWheel = (event) => {
4121
4127
  event.preventDefault();
4122
4128
  event.target.blur();
4123
4129
  };
4124
- let value;
4130
+ let value = "";
4125
4131
  if (props.value !== void 0 && props.value !== null) {
4126
4132
  value = props.value;
4127
4133
  }
@@ -4138,14 +4144,17 @@ var init_NumberInput = __esm({
4138
4144
  value,
4139
4145
  onChange: textChangeHandler,
4140
4146
  onWheel: handleWheel,
4147
+ onBlur: props?.onBlur,
4148
+ autoFocus: props?.attributes?.autoFocus,
4141
4149
  required: props?.attributes?.required,
4142
4150
  placeholder: props?.attributes?.placeholder,
4143
- onBlur: props?.onBlur,
4144
4151
  pattern: props?.attributes?.pattern,
4145
4152
  disabled: props?.attributes?.readOnly,
4146
4153
  max: props?.attributes?.maxValue,
4147
4154
  min: props?.attributes?.minValue,
4148
- className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
4155
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm number-input transition-all duration-500 ease-in-out
4156
+ ${props?.inputClasses ? props.inputClasses : ``}
4157
+ `
4149
4158
  }
4150
4159
  ),
4151
4160
  /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -4238,25 +4247,23 @@ var init_OtpInput = __esm({
4238
4247
  const textChangeHandler = (event) => {
4239
4248
  const text = event.target.value;
4240
4249
  if (props.callback !== void 0) {
4241
- props.callback(
4242
- {
4243
- name: props.name,
4244
- value: text,
4245
- index: props.index,
4246
- groupKey: props.groupKey
4247
- }
4248
- );
4250
+ props.callback({
4251
+ name: props.name,
4252
+ value: text,
4253
+ index: props.index,
4254
+ groupKey: props.groupKey
4255
+ });
4249
4256
  }
4250
4257
  };
4251
4258
  const handleWheel = (event) => {
4252
4259
  event.preventDefault();
4253
4260
  };
4254
- let value;
4261
+ let value = "";
4255
4262
  if (props.value !== void 0 && props.value !== null) {
4256
4263
  value = props.value;
4257
4264
  }
4258
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react47.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
4259
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4265
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react47.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("label", { htmlFor: props.name, className: "block w-full", children: [
4266
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
4260
4267
  " ",
4261
4268
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "bg-error-weak", children: "*" }),
4262
4269
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
@@ -4267,6 +4274,7 @@ var init_OtpInput = __esm({
4267
4274
  id: props.name,
4268
4275
  value,
4269
4276
  onChange: textChangeHandler,
4277
+ onBlur: props?.onBlur,
4270
4278
  autoComplete: "off",
4271
4279
  required: props?.attributes?.required,
4272
4280
  placeholder: props?.attributes?.placeholder,
@@ -4276,7 +4284,9 @@ var init_OtpInput = __esm({
4276
4284
  minLength: props?.attributes?.minLength,
4277
4285
  autoFocus: props?.attributes?.autoFocus,
4278
4286
  onWheel: handleWheel,
4279
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
4287
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center transition-all duration-500 ease-in-out
4288
+ ${props?.inputClasses ? props.inputClasses : ``}
4289
+ `
4280
4290
  }
4281
4291
  ),
4282
4292
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
@@ -4990,8 +5000,8 @@ var init_TimeInput = __esm({
4990
5000
  });
4991
5001
  }
4992
5002
  };
4993
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react53.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { className: "block mb-1", children: [
4994
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
5003
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react53.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { className: "block", children: [
5004
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-sm inline-block pb-1 font-medium", children: props?.attributes?.label }),
4995
5005
  " ",
4996
5006
  props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "bg-error-weak", children: "*" }),
4997
5007
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
@@ -5002,9 +5012,13 @@ var init_TimeInput = __esm({
5002
5012
  id: props.name,
5003
5013
  value: typeof props.value === "boolean" ? "" : props.value ?? "",
5004
5014
  onChange: timeChangeHandler,
5015
+ onBlur: props?.onBlur,
5016
+ autoFocus: props?.attributes?.autoFocus,
5005
5017
  required: props?.attributes?.required,
5006
5018
  disabled: props?.attributes?.readOnly,
5007
- className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
5019
+ className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm transition-all duration-500 ease-in-out
5020
+ ${props?.inputClasses ? props.inputClasses : ``}
5021
+ `
5008
5022
  }
5009
5023
  ) }),
5010
5024
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
package/dist/server.mjs CHANGED
@@ -2359,7 +2359,7 @@ var GoogleMapNode_default = GoogleMapNode;
2359
2359
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2360
2360
  import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2361
2361
  var Pagination = dynamic13(() => import("./Pagination-OSLUL7SF.mjs"), { ssr: true });
2362
- var DataBindingControls = dynamic13(() => import("./DataBindingControls-BJLDJL7F.mjs"), {
2362
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-SLMMVE2G.mjs"), {
2363
2363
  ssr: true
2364
2364
  });
2365
2365
  var Slider = dynamic13(() => import("./Slider-QIGKP6AE.mjs"), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20260919092040",
3
+ "version": "0.8.1-dev.20260919094626",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",