helppeople-ui 1.14.2 → 1.14.5

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.
@@ -23,6 +23,8 @@ export interface LeftPanelConfig<T = any> {
23
23
  loading?: boolean;
24
24
  /** Scroll de la tabla */
25
25
  scroll?: TableProps<T>["scroll"];
26
+ /** Layout de la tabla (antd usa "fixed" por defecto si hay columnas con ellipsis) */
27
+ tableLayout?: TableProps<T>["tableLayout"];
26
28
  /** Tamaño de la tabla */
27
29
  size?: "small" | "middle" | "large";
28
30
  /** Clase CSS personalizada */
@@ -15,6 +15,10 @@ interface CustomRichTextEditorProps {
15
15
  readOnly?: boolean;
16
16
  height?: string | number;
17
17
  width?: string | number;
18
+ /**
19
+ * Único tope real del alto del editor. Si no se indica, el editor crece sin límite
20
+ * práctico (solo aplica un techo de seguridad de 10 000 px).
21
+ */
18
22
  maxHeight?: string | number;
19
23
  minHeight?: string | number;
20
24
  autoResize?: boolean;
@@ -24,6 +28,14 @@ interface CustomRichTextEditorProps {
24
28
  allowImages?: boolean;
25
29
  /** Límite máximo de caracteres (solo texto plano, sin HTML). Por defecto: 3000 */
26
30
  maxLength?: number;
31
+ /** Muestra el contador de caracteres. Si no se indica, se muestra cuando hay maxLength */
32
+ showCharacterCount?: boolean;
33
+ /** Muestra un tirador para cambiar el alto del editor. Por defecto: false */
34
+ resizable?: boolean;
35
+ /** Clave con la que se persiste el alto en localStorage (requiere resizable) */
36
+ resizeStorageKey?: string;
37
+ /** Etiqueta accesible del tirador de redimensionado. Por defecto: "Redimensionar editor" */
38
+ resizeAriaLabel?: string;
27
39
  }
28
40
  declare const CustomRichTextEditor: React.FC<CustomRichTextEditorProps>;
29
41
  export default CustomRichTextEditor;
@@ -3,6 +3,8 @@ import { Input as AntInput } from 'antd';
3
3
  export interface CustomTextAreaProps extends React.ComponentProps<typeof AntInput.TextArea> {
4
4
  label?: string;
5
5
  required?: boolean;
6
+ /** Permite redimensionar verticalmente el textarea. Por defecto: true */
7
+ resizable?: boolean;
6
8
  }
7
9
  declare const CustomTextArea: React.FC<CustomTextAreaProps>;
8
10
  export default CustomTextArea;