tccd-ui 0.0.47 → 0.0.48
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -187,12 +187,13 @@ declare function TextAreaField({ label, value, placeholder, onChange, error, max
|
|
|
187
187
|
error?: string;
|
|
188
188
|
}): react_jsx_runtime.JSX.Element;
|
|
189
189
|
|
|
190
|
-
declare function TextDisplayEdit({ label, value, onChange, disabled, icon }: {
|
|
190
|
+
declare function TextDisplayEdit({ label, value, onChange, disabled, icon, placeholder }: {
|
|
191
191
|
label: string;
|
|
192
192
|
value: string;
|
|
193
193
|
onChange?: (newValue: string) => void;
|
|
194
194
|
disabled?: boolean;
|
|
195
195
|
icon?: React.ReactNode;
|
|
196
|
+
placeholder?: string;
|
|
196
197
|
}): react_jsx_runtime.JSX.Element;
|
|
197
198
|
|
|
198
199
|
interface TimePickerProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -187,12 +187,13 @@ declare function TextAreaField({ label, value, placeholder, onChange, error, max
|
|
|
187
187
|
error?: string;
|
|
188
188
|
}): react_jsx_runtime.JSX.Element;
|
|
189
189
|
|
|
190
|
-
declare function TextDisplayEdit({ label, value, onChange, disabled, icon }: {
|
|
190
|
+
declare function TextDisplayEdit({ label, value, onChange, disabled, icon, placeholder }: {
|
|
191
191
|
label: string;
|
|
192
192
|
value: string;
|
|
193
193
|
onChange?: (newValue: string) => void;
|
|
194
194
|
disabled?: boolean;
|
|
195
195
|
icon?: React.ReactNode;
|
|
196
|
+
placeholder?: string;
|
|
196
197
|
}): react_jsx_runtime.JSX.Element;
|
|
197
198
|
|
|
198
199
|
interface TimePickerProps {
|
package/dist/index.js
CHANGED
|
@@ -1136,7 +1136,7 @@ function TextAreaField({
|
|
|
1136
1136
|
|
|
1137
1137
|
// src/components/textDisplayEdit.tsx
|
|
1138
1138
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1139
|
-
function TextDisplayEdit({ label, value, onChange, disabled = false, icon }) {
|
|
1139
|
+
function TextDisplayEdit({ label, value, onChange, disabled = false, icon, placeholder }) {
|
|
1140
1140
|
const handleChange = (e) => {
|
|
1141
1141
|
if (onChange) {
|
|
1142
1142
|
onChange(e.target.value);
|
|
@@ -1147,7 +1147,7 @@ function TextDisplayEdit({ label, value, onChange, disabled = false, icon }) {
|
|
|
1147
1147
|
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-secondary", children: icon }),
|
|
1148
1148
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-[16px] md:text-[17px] lg:text-[18px] text-inactive-tab-text", children: label })
|
|
1149
1149
|
] }),
|
|
1150
|
-
/* @__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
|
|
1150
|
+
/* @__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 })
|
|
1151
1151
|
] });
|
|
1152
1152
|
}
|
|
1153
1153
|
|