@cleen/ui 0.1.19 → 0.1.21

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 CHANGED
@@ -1215,6 +1215,7 @@ type EditableTextProps = Omit<ComponentProps<'div'>, 'onChange'> & {
1215
1215
  saveOnBlur?: boolean;
1216
1216
  isLoading?: boolean;
1217
1217
  customLoader?: ReactNode;
1218
+ renderText?: (value: string) => ReactNode | ReactNode;
1218
1219
  classNames?: {
1219
1220
  container?: string;
1220
1221
  input?: ComponentClassnames<InputProps>;
@@ -1279,6 +1280,7 @@ type EditableTextAreaProps = Omit<ComponentProps<'div'>, 'onChange'> & {
1279
1280
  saveOnBlur?: boolean;
1280
1281
  isLoading?: boolean;
1281
1282
  customLoader?: ReactNode;
1283
+ renderText?: (value: string) => ReactNode | ReactNode;
1282
1284
  classNames?: {
1283
1285
  container?: string;
1284
1286
  textArea?: ComponentClassnames<TextAreaProps>;
@@ -1303,6 +1305,8 @@ type EditableCardProps = CardProps & {
1303
1305
  description?: string;
1304
1306
  /** Unified save callback for editable title and description fields */
1305
1307
  onSave?: (field: EditableCardField, value: string) => Promise<void> | void;
1308
+ /** Whether to hide the description field */
1309
+ isDescriptionHidden?: boolean;
1306
1310
  classNames?: {
1307
1311
  /** Custom class name for the editable title element */
1308
1312
  titleTextInput?: ComponentClassnames<EditableTextProps>;