ingeniuscliq-core 0.3.21 → 0.3.22
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.
|
@@ -5,5 +5,8 @@ export interface CustomSelectProps extends BaseStyleProps {
|
|
|
5
5
|
readonly label: string | React.ReactNode;
|
|
6
6
|
}[];
|
|
7
7
|
readonly placeholder?: string;
|
|
8
|
+
readonly defaultValue?: string;
|
|
9
|
+
readonly value?: string;
|
|
10
|
+
readonly onValueChange?: (value: string) => void;
|
|
8
11
|
}
|
|
9
|
-
export declare function CustomSelect({ options, placeholder, className }: CustomSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function CustomSelect({ options, placeholder, defaultValue, value, onValueChange, className }: CustomSelectProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -8730,10 +8730,10 @@ function U1({
|
|
|
8730
8730
|
}
|
|
8731
8731
|
);
|
|
8732
8732
|
}
|
|
8733
|
-
function j1({ options: e, placeholder: t,
|
|
8734
|
-
return /* @__PURE__ */ Q(F1, { children: [
|
|
8735
|
-
/* @__PURE__ */ f(W1, { className:
|
|
8736
|
-
/* @__PURE__ */ f(H1, { children: e.map((
|
|
8733
|
+
function j1({ options: e, placeholder: t, defaultValue: n, value: r, onValueChange: o, className: a = "" }) {
|
|
8734
|
+
return /* @__PURE__ */ Q(F1, { defaultValue: n, value: r, onValueChange: o, children: [
|
|
8735
|
+
/* @__PURE__ */ f(W1, { className: a, children: /* @__PURE__ */ f(B1, { placeholder: t }) }),
|
|
8736
|
+
/* @__PURE__ */ f(H1, { children: e.map((s) => /* @__PURE__ */ f(z1, { value: s.value, children: s.label }, s.value)) })
|
|
8737
8737
|
] });
|
|
8738
8738
|
}
|
|
8739
8739
|
function m4({ control: e, name: t, placeholder: n, className: r = "", options: o, selectProps: a }) {
|