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

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.
@@ -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-WIPQYB6S.mjs"), {
16
+ var InputControl = dynamic(() => import("./InputControlClient-KQPQC6LK.mjs"), {
17
17
  ssr: false
18
18
  });
19
19
  var InputControl_default = InputControl;
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
  import {
5
5
  InputControl_default
6
- } from "./chunk-6RY5EC34.mjs";
6
+ } from "./chunk-5NI44TXC.mjs";
7
7
  import {
8
8
  Button_default
9
9
  } from "./chunk-LSKD5U3S.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  SelectWithSearchInput_default,
19
19
  Select_default,
20
20
  TimeInput_default
21
- } from "./chunk-CHLBBXDL.mjs";
21
+ } from "./chunk-WQ7BAR74.mjs";
22
22
  import {
23
23
  Hyperlink,
24
24
  Icon_default
@@ -492,6 +492,7 @@ var CheckboxInput = (props) => {
492
492
  if (props.value !== void 0 && props.value !== null && props.value !== "" && (props.value === true || props.value === "true" || props.value.toString().toLowerCase() === "true" || props.value === 1 || props.value === "1")) {
493
493
  value = true;
494
494
  }
495
+ const customClasses = (props?.inputClasses || "").split(/\s+/).filter((c) => !/^(w-|h-|block|inline-block|py-|px-|p-)/.test(c)).join(" ");
495
496
  return /* @__PURE__ */ jsx8(React8.Fragment, { children: /* @__PURE__ */ jsxs8("div", { className: `mb-1 ${isReadOnly ? "cursor-not-allowed" : ""}`, children: [
496
497
  props?.attributes?.label && /* @__PURE__ */ jsxs8(Fragment, { children: [
497
498
  /* @__PURE__ */ jsx8(
@@ -503,7 +504,7 @@ var CheckboxInput = (props) => {
503
504
  }
504
505
  ),
505
506
  " ",
506
- props?.attributes?.required && /* @__PURE__ */ jsx8("span", { className: "bg-error-weak !bg-transparent", children: "*" })
507
+ props?.attributes?.required && /* @__PURE__ */ jsx8("span", { className: "bg-error-weak", children: "*" })
507
508
  ] }),
508
509
  /* @__PURE__ */ jsx8(
509
510
  "input",
@@ -529,7 +530,7 @@ var CheckboxInput = (props) => {
529
530
  }
530
531
  },
531
532
  minLength: props?.attributes?.minLength,
532
- className: `peer mt-1 block rounded shadow-sm h-4 w-4 transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${props?.inputClasses ? props.inputClasses : ""}`
533
+ className: `peer mt-1 h-4 w-4 shrink-0 rounded shadow-sm transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${customClasses}`
533
534
  }
534
535
  ),
535
536
  /* @__PURE__ */ jsx8("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-BXESZH6F.mjs"), {
6
+ var InputControl = dynamic(() => import("./InputControlClient-AKEKO6LT.mjs"), {
7
7
  ssr: false
8
8
  });
9
9
  var InputControl_default = InputControl;
@@ -476,6 +476,7 @@ var CheckboxInput = (props) => {
476
476
  if (props.value !== void 0 && props.value !== null && props.value !== "" && (props.value === true || props.value === "true" || props.value.toString().toLowerCase() === "true" || props.value === 1 || props.value === "1")) {
477
477
  value = true;
478
478
  }
479
+ const customClasses = (props?.inputClasses || "").split(/\s+/).filter((c) => !/^(w-|h-|block|inline-block|py-|px-|p-)/.test(c)).join(" ");
479
480
  return /* @__PURE__ */ jsx8(React8.Fragment, { children: /* @__PURE__ */ jsxs8("div", { className: `mb-1 ${isReadOnly ? "cursor-not-allowed" : ""}`, children: [
480
481
  props?.attributes?.label && /* @__PURE__ */ jsxs8(Fragment, { children: [
481
482
  /* @__PURE__ */ jsx8(
@@ -487,7 +488,7 @@ var CheckboxInput = (props) => {
487
488
  }
488
489
  ),
489
490
  " ",
490
- props?.attributes?.required && /* @__PURE__ */ jsx8("span", { className: "bg-error-weak !bg-transparent", children: "*" })
491
+ props?.attributes?.required && /* @__PURE__ */ jsx8("span", { className: "bg-error-weak", children: "*" })
491
492
  ] }),
492
493
  /* @__PURE__ */ jsx8(
493
494
  "input",
@@ -513,7 +514,7 @@ var CheckboxInput = (props) => {
513
514
  }
514
515
  },
515
516
  minLength: props?.attributes?.minLength,
516
- className: `peer mt-1 block rounded shadow-sm h-4 w-4 transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${props?.inputClasses ? props.inputClasses : ""}`
517
+ className: `peer mt-1 h-4 w-4 shrink-0 rounded shadow-sm transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${customClasses}`
517
518
  }
518
519
  ),
519
520
  /* @__PURE__ */ jsx8("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
package/dist/index.js CHANGED
@@ -2710,6 +2710,7 @@ var init_CheckboxInput = __esm({
2710
2710
  if (props.value !== void 0 && props.value !== null && props.value !== "" && (props.value === true || props.value === "true" || props.value.toString().toLowerCase() === "true" || props.value === 1 || props.value === "1")) {
2711
2711
  value = true;
2712
2712
  }
2713
+ const customClasses = (props?.inputClasses || "").split(/\s+/).filter((c) => !/^(w-|h-|block|inline-block|py-|px-|p-)/.test(c)).join(" ");
2713
2714
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react30.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: `mb-1 ${isReadOnly ? "cursor-not-allowed" : ""}`, children: [
2714
2715
  props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
2715
2716
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
@@ -2721,7 +2722,7 @@ var init_CheckboxInput = __esm({
2721
2722
  }
2722
2723
  ),
2723
2724
  " ",
2724
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" })
2725
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "bg-error-weak", children: "*" })
2725
2726
  ] }),
2726
2727
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2727
2728
  "input",
@@ -2747,7 +2748,7 @@ var init_CheckboxInput = __esm({
2747
2748
  }
2748
2749
  },
2749
2750
  minLength: props?.attributes?.minLength,
2750
- className: `peer mt-1 block rounded shadow-sm h-4 w-4 transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${props?.inputClasses ? props.inputClasses : ""}`
2751
+ className: `peer mt-1 h-4 w-4 shrink-0 rounded shadow-sm transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${customClasses}`
2751
2752
  }
2752
2753
  ),
2753
2754
  /* @__PURE__ */ (0, import_jsx_runtime37.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-6RY5EC34.mjs";
11
+ } from "./chunk-5NI44TXC.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-CHLBBXDL.mjs";
30
+ } from "./chunk-WQ7BAR74.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-P26F2DFR.mjs"), {
2394
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-ZUBNGEMX.mjs"), {
2395
2395
  ssr: true
2396
2396
  });
2397
2397
  var Slider = dynamic13(() => import("./Slider-IVPJBPE5.mjs"), {
package/dist/server.js CHANGED
@@ -4189,6 +4189,7 @@ var init_CheckboxInput = __esm({
4189
4189
  if (props.value !== void 0 && props.value !== null && props.value !== "" && (props.value === true || props.value === "true" || props.value.toString().toLowerCase() === "true" || props.value === 1 || props.value === "1")) {
4190
4190
  value = true;
4191
4191
  }
4192
+ const customClasses = (props?.inputClasses || "").split(/\s+/).filter((c) => !/^(w-|h-|block|inline-block|py-|px-|p-)/.test(c)).join(" ");
4192
4193
  return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react46.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `mb-1 ${isReadOnly ? "cursor-not-allowed" : ""}`, children: [
4193
4194
  props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
4194
4195
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
@@ -4200,7 +4201,7 @@ var init_CheckboxInput = __esm({
4200
4201
  }
4201
4202
  ),
4202
4203
  " ",
4203
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" })
4204
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "bg-error-weak", children: "*" })
4204
4205
  ] }),
4205
4206
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4206
4207
  "input",
@@ -4226,7 +4227,7 @@ var init_CheckboxInput = __esm({
4226
4227
  }
4227
4228
  },
4228
4229
  minLength: props?.attributes?.minLength,
4229
- className: `peer mt-1 block rounded shadow-sm h-4 w-4 transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${props?.inputClasses ? props.inputClasses : ""}`
4230
+ className: `peer mt-1 h-4 w-4 shrink-0 rounded shadow-sm transition-all duration-200 ${isReadOnly ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"} ${customClasses}`
4230
4231
  }
4231
4232
  ),
4232
4233
  /* @__PURE__ */ (0, import_jsx_runtime71.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-SLMMVE2G.mjs"), {
2362
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-KJJLT3V6.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.20260919094626",
3
+ "version": "0.8.1-dev.20260919110110",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",