@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260919094626 → 0.8.1-dev.20260922042401
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/{DataBindingControls-SLMMVE2G.mjs → DataBindingControls-KJJLT3V6.mjs} +1 -1
- package/dist/{DataBindingControls-P26F2DFR.mjs → DataBindingControls-ZUBNGEMX.mjs} +1 -1
- package/dist/{InputControlClient-BXESZH6F.mjs → InputControlClient-AKEKO6LT.mjs} +1 -1
- package/dist/{InputControlClient-WIPQYB6S.mjs → InputControlClient-KQPQC6LK.mjs} +3 -2
- package/dist/{Pagination-BDWRNSFB.mjs → Pagination-3SOPLEQN.mjs} +1 -1
- package/dist/{Pagination-OSLUL7SF.mjs → Pagination-FEXY7ERI.mjs} +1 -1
- package/dist/{chunk-6RY5EC34.mjs → chunk-5NI44TXC.mjs} +1 -1
- package/dist/{chunk-CHLBBXDL.mjs → chunk-WQ7BAR74.mjs} +3 -2
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -4
- package/dist/server.js +4 -3
- package/dist/server.mjs +2 -2
- package/package.json +1 -1
|
@@ -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-
|
|
16
|
+
var InputControl = dynamic(() => import("./InputControlClient-KQPQC6LK.mjs"), {
|
|
17
17
|
ssr: false
|
|
18
18
|
});
|
|
19
19
|
var InputControl_default = InputControl;
|
|
@@ -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
|
|
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
|
|
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 || "" })
|
|
@@ -86,7 +86,7 @@ var Pagination = (props) => {
|
|
|
86
86
|
);
|
|
87
87
|
};
|
|
88
88
|
if (totalPages <= 1 && totalItems === 0) return null;
|
|
89
|
-
return /* @__PURE__ */ jsxs("div", { className: "py-6 border-t
|
|
89
|
+
return /* @__PURE__ */ jsxs("div", { className: "py-6 border-t mt-6", children: [
|
|
90
90
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
|
|
91
91
|
/* @__PURE__ */ jsxs("div", { className: "text-sm", children: [
|
|
92
92
|
"Showing ",
|
|
@@ -86,7 +86,7 @@ var Pagination = (props) => {
|
|
|
86
86
|
);
|
|
87
87
|
};
|
|
88
88
|
if (totalPages <= 1 && totalItems === 0) return null;
|
|
89
|
-
return /* @__PURE__ */ jsxs("div", { className: "py-6 border-t
|
|
89
|
+
return /* @__PURE__ */ jsxs("div", { className: "py-6 border-t mt-6", children: [
|
|
90
90
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
|
|
91
91
|
/* @__PURE__ */ jsxs("div", { className: "text-sm", children: [
|
|
92
92
|
"Showing ",
|
|
@@ -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-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 || "" })
|
|
@@ -5557,7 +5558,7 @@ var init_Pagination = __esm({
|
|
|
5557
5558
|
);
|
|
5558
5559
|
};
|
|
5559
5560
|
if (totalPages <= 1 && totalItems === 0) return null;
|
|
5560
|
-
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "py-6 border-t
|
|
5561
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "py-6 border-t mt-6", children: [
|
|
5561
5562
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
|
|
5562
5563
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "text-sm", children: [
|
|
5563
5564
|
"Showing ",
|
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-
|
|
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-
|
|
30
|
+
} from "./chunk-WQ7BAR74.mjs";
|
|
31
31
|
import {
|
|
32
32
|
Hyperlink,
|
|
33
33
|
Icon_default
|
|
@@ -2390,8 +2390,8 @@ var GoogleMapNode_default = GoogleMapNode;
|
|
|
2390
2390
|
|
|
2391
2391
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
2392
2392
|
import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2393
|
-
var Pagination = dynamic13(() => import("./Pagination-
|
|
2394
|
-
var DataBindingControls = dynamic13(() => import("./DataBindingControls-
|
|
2393
|
+
var Pagination = dynamic13(() => import("./Pagination-3SOPLEQN.mjs"), { ssr: true });
|
|
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
|
@@ -3574,7 +3574,7 @@ var init_Pagination = __esm({
|
|
|
3574
3574
|
);
|
|
3575
3575
|
};
|
|
3576
3576
|
if (totalPages <= 1 && totalItems === 0) return null;
|
|
3577
|
-
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "py-6 border-t
|
|
3577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "py-6 border-t mt-6", children: [
|
|
3578
3578
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
|
|
3579
3579
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "text-sm", children: [
|
|
3580
3580
|
"Showing ",
|
|
@@ -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
|
|
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
|
|
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
|
@@ -2358,8 +2358,8 @@ var GoogleMapNode_default = GoogleMapNode;
|
|
|
2358
2358
|
|
|
2359
2359
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
2360
2360
|
import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2361
|
-
var Pagination = dynamic13(() => import("./Pagination-
|
|
2362
|
-
var DataBindingControls = dynamic13(() => import("./DataBindingControls-
|
|
2361
|
+
var Pagination = dynamic13(() => import("./Pagination-FEXY7ERI.mjs"), { ssr: true });
|
|
2362
|
+
var DataBindingControls = dynamic13(() => import("./DataBindingControls-KJJLT3V6.mjs"), {
|
|
2363
2363
|
ssr: true
|
|
2364
2364
|
});
|
|
2365
2365
|
var Slider = dynamic13(() => import("./Slider-QIGKP6AE.mjs"), {
|