@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20261016035045 → 0.8.1-dev.20261016052853

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.
@@ -18,7 +18,7 @@ import {
18
18
  SelectWithSearchInput_default,
19
19
  Select_default,
20
20
  TimeInput_default
21
- } from "./chunk-RNLQULF4.mjs";
21
+ } from "./chunk-GNIFUHGR.mjs";
22
22
  import {
23
23
  Hyperlink,
24
24
  Icon_default,
@@ -88,6 +88,7 @@ var LineTextInput = (props) => {
88
88
  autoFocus: props?.attributes?.autoFocus,
89
89
  required: props?.attributes?.required,
90
90
  placeholder: props?.attributes?.placeholder,
91
+ size: props?.attributes?.size,
91
92
  maxLength: props?.attributes?.maxLength,
92
93
  pattern: props?.attributes?.pattern,
93
94
  disabled: props?.attributes?.readOnly,
package/dist/index.d.mts CHANGED
@@ -169,6 +169,7 @@ interface InputControlProps {
169
169
  label?: string;
170
170
  hintText?: string;
171
171
  placeholder?: string;
172
+ size?: number;
172
173
  required?: boolean;
173
174
  errorMessage?: string;
174
175
  helpText?: string;
package/dist/index.d.ts CHANGED
@@ -169,6 +169,7 @@ interface InputControlProps {
169
169
  label?: string;
170
170
  hintText?: string;
171
171
  placeholder?: string;
172
+ size?: number;
172
173
  required?: boolean;
173
174
  errorMessage?: string;
174
175
  helpText?: string;
package/dist/index.js CHANGED
@@ -2268,6 +2268,7 @@ var init_LineTextInput = __esm({
2268
2268
  autoFocus: props?.attributes?.autoFocus,
2269
2269
  required: props?.attributes?.required,
2270
2270
  placeholder: props?.attributes?.placeholder,
2271
+ size: props?.attributes?.size,
2271
2272
  maxLength: props?.attributes?.maxLength,
2272
2273
  pattern: props?.attributes?.pattern,
2273
2274
  disabled: props?.attributes?.readOnly,
@@ -11053,6 +11054,7 @@ var DataList = (props) => {
11053
11054
  console.log(props.addLinkText);
11054
11055
  const [isDataFound, setIsDataFound] = (0, import_react69.useState)(null);
11055
11056
  const [searchTerm, setSearchTerm] = (0, import_react69.useState)(props.query?.searchTerm ?? "");
11057
+ const searchPlaceholder = `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`;
11056
11058
  (0, import_react69.useEffect)(() => {
11057
11059
  setSearchTerm(props.query?.searchTerm ?? "");
11058
11060
  }, [props.query?.searchTerm]);
@@ -11342,7 +11344,8 @@ var DataList = (props) => {
11342
11344
  callback: (e) => setSearchTerm(e.value),
11343
11345
  attributes: {
11344
11346
  autoFocus: true,
11345
- placeholder: `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`
11347
+ placeholder: searchPlaceholder,
11348
+ size: searchPlaceholder.length
11346
11349
  }
11347
11350
  }
11348
11351
  ),
@@ -11540,7 +11543,8 @@ var DataList = (props) => {
11540
11543
  callback: (e) => setSearchTerm(e.value),
11541
11544
  attributes: {
11542
11545
  autoFocus: true,
11543
- placeholder: `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`
11546
+ placeholder: searchPlaceholder,
11547
+ size: searchPlaceholder.length
11544
11548
  }
11545
11549
  }
11546
11550
  ),
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  getDialCodeByCountryCode,
32
32
  resolveCountry,
33
33
  splitPhoneNumber
34
- } from "./chunk-RNLQULF4.mjs";
34
+ } from "./chunk-GNIFUHGR.mjs";
35
35
  import {
36
36
  Constants,
37
37
  Hyperlink,
@@ -463,7 +463,7 @@ var ViewControl_default = ViewControl;
463
463
 
464
464
  // src/components/controls/edit/InputControl.tsx
465
465
  import dynamic7 from "next/dynamic";
466
- var InputControl = dynamic7(() => import("./InputControlClient-7CUK6ECL.mjs"), {
466
+ var InputControl = dynamic7(() => import("./InputControlClient-IKQYB764.mjs"), {
467
467
  ssr: false
468
468
  });
469
469
  var InputControl_default = InputControl;
@@ -3476,6 +3476,7 @@ var DataList = (props) => {
3476
3476
  console.log(props.addLinkText);
3477
3477
  const [isDataFound, setIsDataFound] = useState2(null);
3478
3478
  const [searchTerm, setSearchTerm] = useState2(props.query?.searchTerm ?? "");
3479
+ const searchPlaceholder = `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`;
3479
3480
  useEffect3(() => {
3480
3481
  setSearchTerm(props.query?.searchTerm ?? "");
3481
3482
  }, [props.query?.searchTerm]);
@@ -3765,7 +3766,8 @@ var DataList = (props) => {
3765
3766
  callback: (e) => setSearchTerm(e.value),
3766
3767
  attributes: {
3767
3768
  autoFocus: true,
3768
- placeholder: `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`
3769
+ placeholder: searchPlaceholder,
3770
+ size: searchPlaceholder.length
3769
3771
  }
3770
3772
  }
3771
3773
  ),
@@ -3963,7 +3965,8 @@ var DataList = (props) => {
3963
3965
  callback: (e) => setSearchTerm(e.value),
3964
3966
  attributes: {
3965
3967
  autoFocus: true,
3966
- placeholder: `Search by ${props.columns.filter((col) => col.isSearchable).map((col) => col.label).join(", ")}`
3968
+ placeholder: searchPlaceholder,
3969
+ size: searchPlaceholder.length
3967
3970
  }
3968
3971
  }
3969
3972
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20261016035045",
3
+ "version": "0.8.1-dev.20261016052853",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",