@cleen/ui 0.1.18 → 0.1.20
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.ts +4 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1206,6 +1206,7 @@ type EditableTextProps = Omit<ComponentProps<'div'>, 'onChange'> & {
|
|
|
1206
1206
|
value?: string;
|
|
1207
1207
|
defaultValue?: string;
|
|
1208
1208
|
placeholder?: string;
|
|
1209
|
+
placeholderText?: string;
|
|
1209
1210
|
canEdit?: boolean;
|
|
1210
1211
|
onSave?: (value: string) => Promise<void> | void;
|
|
1211
1212
|
onCancel?: () => Promise<void> | void;
|
|
@@ -1269,6 +1270,7 @@ type EditableTextAreaProps = Omit<ComponentProps<'div'>, 'onChange'> & {
|
|
|
1269
1270
|
value?: string;
|
|
1270
1271
|
defaultValue?: string;
|
|
1271
1272
|
placeholder?: string;
|
|
1273
|
+
placeholderText?: string;
|
|
1272
1274
|
canEdit?: boolean;
|
|
1273
1275
|
onSave?: (value: string) => Promise<void> | void;
|
|
1274
1276
|
onCancel?: () => Promise<void> | void;
|
|
@@ -1301,6 +1303,8 @@ type EditableCardProps = CardProps & {
|
|
|
1301
1303
|
description?: string;
|
|
1302
1304
|
/** Unified save callback for editable title and description fields */
|
|
1303
1305
|
onSave?: (field: EditableCardField, value: string) => Promise<void> | void;
|
|
1306
|
+
/** Whether to hide the description field */
|
|
1307
|
+
isDescriptionHidden?: boolean;
|
|
1304
1308
|
classNames?: {
|
|
1305
1309
|
/** Custom class name for the editable title element */
|
|
1306
1310
|
titleTextInput?: ComponentClassnames<EditableTextProps>;
|