tccd-ui 0.0.52 → 0.0.54
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -68,7 +68,7 @@ interface ButtonProps {
|
|
|
68
68
|
declare const Button: ({ buttonText, buttonIcon, onClick, type, disabled, loading, width }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
69
69
|
|
|
70
70
|
declare function Checkbox({ label, checked, onChange }: {
|
|
71
|
-
label: string;
|
|
71
|
+
label: React$1.ReactNode | string;
|
|
72
72
|
checked: boolean;
|
|
73
73
|
onChange: () => void;
|
|
74
74
|
}): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ interface ButtonProps {
|
|
|
68
68
|
declare const Button: ({ buttonText, buttonIcon, onClick, type, disabled, loading, width }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
69
69
|
|
|
70
70
|
declare function Checkbox({ label, checked, onChange }: {
|
|
71
|
-
label: string;
|
|
71
|
+
label: React$1.ReactNode | string;
|
|
72
72
|
checked: boolean;
|
|
73
73
|
onChange: () => void;
|
|
74
74
|
}): react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -1139,7 +1139,7 @@ function TextDisplayEdit({ label, value, onChange, disabled = false, icon, place
|
|
|
1139
1139
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "space-y-1 w-full", children: [
|
|
1140
1140
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex gap-1.5 items-center", children: [
|
|
1141
1141
|
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-secondary", children: icon }),
|
|
1142
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-[16px] md:text-[17px] lg:text-[18px] text-
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-[16px] md:text-[17px] lg:text-[18px] text-contrast", children: label })
|
|
1143
1143
|
] }),
|
|
1144
1144
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("input", { disabled, value, onChange: handleChange, className: "text-contrast text-[14px] md:text-[15px] lg:text-[16px] border-b-2 border-primary/50 focus:outline-none focus:border-primary transition-colors w-full", placeholder })
|
|
1145
1145
|
] });
|