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

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-KQPQC6LK.mjs"), {
16
+ var InputControl = dynamic(() => import("./InputControlClient-QBBQP25W.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-5NI44TXC.mjs";
6
+ } from "./chunk-7VXZJ55M.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-WQ7BAR74.mjs";
21
+ } from "./chunk-N57RANHY.mjs";
22
22
  import {
23
23
  Hyperlink,
24
24
  Icon_default
@@ -858,6 +858,8 @@ var SelectWithSearchInput = (props) => {
858
858
  "input",
859
859
  {
860
860
  type: "text",
861
+ name: props.name,
862
+ id: props.name,
861
863
  value: searchTerm,
862
864
  onChange: (e) => {
863
865
  if (!isReadOnly) {
@@ -875,6 +877,7 @@ var SelectWithSearchInput = (props) => {
875
877
  placeholder: props.attributes?.placeholder ?? "Search...",
876
878
  readOnly: isReadOnly,
877
879
  disabled: isReadOnly,
880
+ required: props.attributes?.required,
878
881
  className: `peer mt-2 py-1.5 select block w-full text-black rounded border-gray-300 shadow-sm
879
882
  focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
880
883
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
@@ -913,7 +916,8 @@ var SelectWithSearchInput = (props) => {
913
916
  }
914
917
  )
915
918
  }
916
- )
919
+ ),
920
+ /* @__PURE__ */ jsx12("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
917
921
  ] }),
918
922
  !isReadOnly && isOpen && /* @__PURE__ */ jsx12(
919
923
  "div",
@@ -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 bg-default mt-6", children: [
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 bg-default mt-6", children: [
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-AKEKO6LT.mjs"), {
6
+ var InputControl = dynamic(() => import("./InputControlClient-H75UIZE3.mjs"), {
7
7
  ssr: false
8
8
  });
9
9
  var InputControl_default = InputControl;
@@ -842,6 +842,8 @@ var SelectWithSearchInput = (props) => {
842
842
  "input",
843
843
  {
844
844
  type: "text",
845
+ name: props.name,
846
+ id: props.name,
845
847
  value: searchTerm,
846
848
  onChange: (e) => {
847
849
  if (!isReadOnly) {
@@ -859,6 +861,7 @@ var SelectWithSearchInput = (props) => {
859
861
  placeholder: props.attributes?.placeholder ?? "Search...",
860
862
  readOnly: isReadOnly,
861
863
  disabled: isReadOnly,
864
+ required: props.attributes?.required,
862
865
  className: `peer mt-2 py-1.5 select block w-full text-black rounded border-gray-300 shadow-sm
863
866
  focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
864
867
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
@@ -897,7 +900,8 @@ var SelectWithSearchInput = (props) => {
897
900
  }
898
901
  )
899
902
  }
900
- )
903
+ ),
904
+ /* @__PURE__ */ jsx12("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
901
905
  ] }),
902
906
  !isReadOnly && isOpen && /* @__PURE__ */ jsx12(
903
907
  "div",
package/dist/index.js CHANGED
@@ -3101,6 +3101,8 @@ var init_SelectWithSearchInput = __esm({
3101
3101
  "input",
3102
3102
  {
3103
3103
  type: "text",
3104
+ name: props.name,
3105
+ id: props.name,
3104
3106
  value: searchTerm,
3105
3107
  onChange: (e) => {
3106
3108
  if (!isReadOnly) {
@@ -3118,6 +3120,7 @@ var init_SelectWithSearchInput = __esm({
3118
3120
  placeholder: props.attributes?.placeholder ?? "Search...",
3119
3121
  readOnly: isReadOnly,
3120
3122
  disabled: isReadOnly,
3123
+ required: props.attributes?.required,
3121
3124
  className: `peer mt-2 py-1.5 select block w-full text-black rounded border-gray-300 shadow-sm
3122
3125
  focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
3123
3126
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
@@ -3156,7 +3159,8 @@ var init_SelectWithSearchInput = __esm({
3156
3159
  }
3157
3160
  )
3158
3161
  }
3159
- )
3162
+ ),
3163
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
3160
3164
  ] }),
3161
3165
  !isReadOnly && isOpen && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3162
3166
  "div",
@@ -5558,7 +5562,7 @@ var init_Pagination = __esm({
5558
5562
  );
5559
5563
  };
5560
5564
  if (totalPages <= 1 && totalItems === 0) return null;
5561
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "py-6 border-t bg-default mt-6", children: [
5565
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "py-6 border-t mt-6", children: [
5562
5566
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
5563
5567
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "text-sm", children: [
5564
5568
  "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-5NI44TXC.mjs";
11
+ } from "./chunk-7VXZJ55M.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-WQ7BAR74.mjs";
30
+ } from "./chunk-N57RANHY.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-BDWRNSFB.mjs"), { ssr: true });
2394
- var DataBindingControls = dynamic13(() => import("./DataBindingControls-ZUBNGEMX.mjs"), {
2393
+ var Pagination = dynamic13(() => import("./Pagination-3SOPLEQN.mjs"), { ssr: true });
2394
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-KJIEP7WU.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 bg-default mt-6", children: [
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 ",
@@ -4580,6 +4580,8 @@ var init_SelectWithSearchInput = __esm({
4580
4580
  "input",
4581
4581
  {
4582
4582
  type: "text",
4583
+ name: props.name,
4584
+ id: props.name,
4583
4585
  value: searchTerm,
4584
4586
  onChange: (e) => {
4585
4587
  if (!isReadOnly) {
@@ -4597,6 +4599,7 @@ var init_SelectWithSearchInput = __esm({
4597
4599
  placeholder: props.attributes?.placeholder ?? "Search...",
4598
4600
  readOnly: isReadOnly,
4599
4601
  disabled: isReadOnly,
4602
+ required: props.attributes?.required,
4600
4603
  className: `peer mt-2 py-1.5 select block w-full text-black rounded border-gray-300 shadow-sm
4601
4604
  focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
4602
4605
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none
@@ -4635,7 +4638,8 @@ var init_SelectWithSearchInput = __esm({
4635
4638
  }
4636
4639
  )
4637
4640
  }
4638
- )
4641
+ ),
4642
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
4639
4643
  ] }),
4640
4644
  !isReadOnly && isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4641
4645
  "div",
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-OSLUL7SF.mjs"), { ssr: true });
2362
- var DataBindingControls = dynamic13(() => import("./DataBindingControls-KJJLT3V6.mjs"), {
2361
+ var Pagination = dynamic13(() => import("./Pagination-FEXY7ERI.mjs"), { ssr: true });
2362
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-CVU43FTE.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.20260919110110",
3
+ "version": "0.8.1-dev.20260923043912",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",