corekit-ui 0.1.10 → 0.1.12

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.
Files changed (84) hide show
  1. package/dist/corekit-ui.css +1 -1
  2. package/dist/index.d.ts +4010 -12
  3. package/dist/index.js +5841 -4260
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.umd.cjs +6 -6
  6. package/dist/index.umd.cjs.map +1 -1
  7. package/package.json +24 -25
  8. package/dist/animations/Transiciones.d.ts +0 -9
  9. package/dist/animations/index.d.ts +0 -1
  10. package/dist/boton/Boton.d.ts +0 -2
  11. package/dist/boton/index.d.ts +0 -2
  12. package/dist/boton/typesButton.d.ts +0 -31
  13. package/dist/checkbox/Checkbox.d.ts +0 -18
  14. package/dist/checkbox/CheckboxGroup.d.ts +0 -3
  15. package/dist/checkbox/Iconografia.d.ts +0 -0
  16. package/dist/checkbox/index.d.ts +0 -3
  17. package/dist/checkbox/types.d.ts +0 -41
  18. package/dist/firma_manual/FirmaManual.d.ts +0 -3
  19. package/dist/firma_manual/Iconografia.d.ts +0 -16
  20. package/dist/firma_manual/TypesFirma.d.ts +0 -22
  21. package/dist/firma_manual/index.d.ts +0 -2
  22. package/dist/firma_manual/useFirmaLogica.d.ts +0 -10
  23. package/dist/hablar_escuchar/BadgeVoz.d.ts +0 -6
  24. package/dist/hablar_escuchar/Iconografia.d.ts +0 -10
  25. package/dist/hablar_escuchar/index.d.ts +0 -3
  26. package/dist/hablar_escuchar/useReconocimientoVoz.d.ts +0 -21
  27. package/dist/input_date/InputDate.d.ts +0 -339
  28. package/dist/input_date/funciones.d.ts +0 -27
  29. package/dist/input_date/index.d.ts +0 -3
  30. package/dist/input_date/types.d.ts +0 -64
  31. package/dist/input_numeric/Iconografia.d.ts +0 -5
  32. package/dist/input_numeric/InputNumeric.d.ts +0 -351
  33. package/dist/input_numeric/funciones.d.ts +0 -64
  34. package/dist/input_numeric/index.d.ts +0 -3
  35. package/dist/input_numeric/types.d.ts +0 -92
  36. package/dist/input_text/Iconografia.d.ts +0 -9
  37. package/dist/input_text/InputText.d.ts +0 -345
  38. package/dist/input_text/index.d.ts +0 -2
  39. package/dist/input_text/types.d.ts +0 -73
  40. package/dist/input_types_compartidos/index.d.ts +0 -1
  41. package/dist/input_types_compartidos/types.d.ts +0 -11
  42. package/dist/select/Iconografia.d.ts +0 -10
  43. package/dist/select/Select.d.ts +0 -56
  44. package/dist/select/SelectNativo.d.ts +0 -57
  45. package/dist/select/Types.d.ts +0 -543
  46. package/dist/select/funciones.d.ts +0 -229
  47. package/dist/select/index.d.ts +0 -4
  48. package/dist/tabla_datos/TablaDatos.d.ts +0 -80
  49. package/dist/tabla_datos/components/Iconografia.d.ts +0 -17
  50. package/dist/tabla_datos/components/TablaCards.d.ts +0 -1
  51. package/dist/tabla_datos/components/TablaEscritorio.d.ts +0 -1
  52. package/dist/tabla_datos/components/configuraciones/ConfigColumnas.d.ts +0 -1
  53. package/dist/tabla_datos/components/configuraciones/ConfigEncabezado.d.ts +0 -6
  54. package/dist/tabla_datos/components/configuraciones/ConfigFilas.d.ts +0 -1
  55. package/dist/tabla_datos/components/configuraciones/ConfigOpciones.d.ts +0 -6
  56. package/dist/tabla_datos/components/configuraciones/MenuConfiguraciones.d.ts +0 -1
  57. package/dist/tabla_datos/components/skeletons/SkeletonCargando.d.ts +0 -4
  58. package/dist/tabla_datos/components/skeletons/SkeletonCargandoCards.d.ts +0 -2
  59. package/dist/tabla_datos/components/tabla/BarraHerramientas.d.ts +0 -1
  60. package/dist/tabla_datos/components/tabla/BarraSeleccion.d.ts +0 -9
  61. package/dist/tabla_datos/components/tabla/Paginacion.d.ts +0 -1
  62. package/dist/tabla_datos/components/tabla/SinDatos.d.ts +0 -1
  63. package/dist/tabla_datos/components/tabla/tabla_cards/AccionesCards.d.ts +0 -3
  64. package/dist/tabla_datos/components/tabla/tabla_cards/ContenidoCards.d.ts +0 -3
  65. package/dist/tabla_datos/components/tabla/tabla_cards/EncabezadoCards.d.ts +0 -3
  66. package/dist/tabla_datos/constantes/ConstGenerales.d.ts +0 -18
  67. package/dist/tabla_datos/context/ContextTypes.d.ts +0 -23
  68. package/dist/tabla_datos/context/TablaDatosContext.d.ts +0 -3
  69. package/dist/tabla_datos/context/hooks.d.ts +0 -10
  70. package/dist/tabla_datos/hooks/useClickOutside.d.ts +0 -8
  71. package/dist/tabla_datos/hooks/useEscapeKey.d.ts +0 -1
  72. package/dist/tabla_datos/hooks/usePopoverPosition.d.ts +0 -15
  73. package/dist/tabla_datos/hooks/useScrollLock.d.ts +0 -1
  74. package/dist/tabla_datos/index.d.ts +0 -5
  75. package/dist/tabla_datos/types/TablaTypes.d.ts +0 -85
  76. package/dist/tabla_datos/utils/FuncionesColumnas.d.ts +0 -9
  77. package/dist/tabla_datos/utils/FuncionesPaginacion.d.ts +0 -12
  78. package/dist/tabla_datos/utils/FuncionesTabla.d.ts +0 -30
  79. package/dist/text_area/Iconografia.d.ts +0 -6
  80. package/dist/text_area/TextArea.d.ts +0 -331
  81. package/dist/text_area/index.d.ts +0 -2
  82. package/dist/text_area/types.d.ts +0 -72
  83. package/dist/texts/Texts.d.ts +0 -19
  84. package/dist/vite.svg +0 -1
@@ -1,30 +0,0 @@
1
- import { Row, SortDirection, Table } from '@tanstack/react-table';
2
- import { FiltrosAplicadosType } from '../types/TablaTypes';
3
- /**
4
- * Obtiene el indicador visual de ordenamiento (↑ o ↓)
5
- */
6
- export declare function obtenerIndicadorOrden(direccion: false | SortDirection): string | null;
7
- /**
8
- * Obtiene la etiqueta de un encabezado de columna
9
- */
10
- export declare function obtenerEtiquetaEncabezado<TData>(idColumna: string, tabla: Table<TData>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
11
- /**
12
- * Renderiza una celda si está visible en la fila
13
- */
14
- export declare function renderizarCeldaSiVisible<TData>(fila: Row<TData>, idColumna: string): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
15
- /**
16
- * Verifica si una columna está visible en la fila
17
- */
18
- export declare function esColumnaVisible<TData>(fila: Row<TData>, idColumna?: string): boolean;
19
- /**
20
- * Obtiene las columnas restantes excluyendo las destacadas y acciones
21
- */
22
- export declare function obtenerColumnasRestantes<TData>(fila: Row<TData>, idPrimera?: string, idSegunda?: string): import('@tanstack/react-table').Cell<TData, unknown>[];
23
- /**
24
- * Obtiene el texto de los filtros aplicados
25
- */
26
- export declare function obtenerTextoFiltros(filtros: FiltrosAplicadosType[], totalFiltros: number): string;
27
- /**
28
- * Capitaliza la primera letra de una cadena de texto
29
- */
30
- export declare function capitalizarPrimeraLetra(str: string): string;
@@ -1,6 +0,0 @@
1
- export { MicrofonoIcono as IconoMicrofono, SonidoIcono as IconoSonido, GrabacionIcono as IconoGrabando, } from '../hablar_escuchar/Iconografia';
2
- type IconoProps = {
3
- size?: string | number;
4
- className?: string;
5
- };
6
- export declare function IconoCerrar({ size, className }: IconoProps): import("react/jsx-runtime").JSX.Element;
@@ -1,331 +0,0 @@
1
- import { ResultadoValidacion } from './types';
2
- declare const TextArea: import('react').ForwardRefExoticComponent<{
3
- variant?: import('./types').InputVariant;
4
- color?: import('./types').InputColor;
5
- size?: import('./types').InputSize;
6
- radius?: import('./types').InputRadius;
7
- label?: import('react').ReactNode;
8
- placeholder?: string;
9
- value?: string;
10
- defaultValue?: string;
11
- description?: import('react').ReactNode;
12
- errorMessage?: import('react').ReactNode | ((v: ResultadoValidacion) => import('react').ReactNode);
13
- isRequired?: boolean;
14
- isReadOnly?: boolean;
15
- isDisabled?: boolean;
16
- isClearable?: boolean;
17
- isInvalid?: boolean;
18
- validationState?: "valid" | "invalid";
19
- validate?: (value: string) => import('./types').ValidationResult;
20
- fullWidth?: boolean;
21
- disableAnimation?: boolean;
22
- minRows?: number;
23
- maxRows?: number;
24
- disableAutosize?: boolean;
25
- hideVoiceActions?: boolean;
26
- classNames?: {
27
- base?: string;
28
- label?: string;
29
- inputWrapper?: string;
30
- input?: string;
31
- actions?: string;
32
- description?: string;
33
- errorMessage?: string;
34
- };
35
- onChange?: (value: string) => void;
36
- onClear?: () => void;
37
- children?: import('react').ReactNode;
38
- } & {
39
- form?: string | undefined | undefined;
40
- slot?: string | undefined | undefined;
41
- style?: import('react').CSSProperties | undefined;
42
- title?: string | undefined | undefined;
43
- className?: string | undefined | undefined;
44
- onClick?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
45
- "aria-label"?: string | undefined | undefined;
46
- disabled?: boolean | undefined | undefined;
47
- name?: string | undefined | undefined;
48
- value?: string | number | readonly string[] | undefined;
49
- defaultChecked?: boolean | undefined | undefined;
50
- defaultValue?: string | number | readonly string[] | undefined;
51
- suppressContentEditableWarning?: boolean | undefined | undefined;
52
- suppressHydrationWarning?: boolean | undefined | undefined;
53
- accessKey?: string | undefined | undefined;
54
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
55
- autoFocus?: boolean | undefined | undefined;
56
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
57
- contextMenu?: string | undefined | undefined;
58
- dir?: string | undefined | undefined;
59
- draggable?: (boolean | "true" | "false") | undefined;
60
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
61
- hidden?: boolean | undefined | undefined;
62
- id?: string | undefined | undefined;
63
- lang?: string | undefined | undefined;
64
- nonce?: string | undefined | undefined;
65
- spellCheck?: (boolean | "true" | "false") | undefined;
66
- tabIndex?: number | undefined | undefined;
67
- translate?: "yes" | "no" | undefined | undefined;
68
- radioGroup?: string | undefined | undefined;
69
- role?: import('react').AriaRole | undefined;
70
- about?: string | undefined | undefined;
71
- content?: string | undefined | undefined;
72
- datatype?: string | undefined | undefined;
73
- inlist?: any;
74
- prefix?: string | undefined | undefined;
75
- property?: string | undefined | undefined;
76
- rel?: string | undefined | undefined;
77
- resource?: string | undefined | undefined;
78
- rev?: string | undefined | undefined;
79
- typeof?: string | undefined | undefined;
80
- vocab?: string | undefined | undefined;
81
- autoCorrect?: string | undefined | undefined;
82
- autoSave?: string | undefined | undefined;
83
- itemProp?: string | undefined | undefined;
84
- itemScope?: boolean | undefined | undefined;
85
- itemType?: string | undefined | undefined;
86
- itemID?: string | undefined | undefined;
87
- itemRef?: string | undefined | undefined;
88
- results?: number | undefined | undefined;
89
- security?: string | undefined | undefined;
90
- unselectable?: "on" | "off" | undefined | undefined;
91
- popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
92
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
93
- popoverTarget?: string | undefined | undefined;
94
- inert?: boolean | undefined | undefined;
95
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
96
- is?: string | undefined | undefined;
97
- exportparts?: string | undefined | undefined;
98
- part?: string | undefined | undefined;
99
- "aria-activedescendant"?: string | undefined | undefined;
100
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
101
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
102
- "aria-braillelabel"?: string | undefined | undefined;
103
- "aria-brailleroledescription"?: string | undefined | undefined;
104
- "aria-busy"?: (boolean | "true" | "false") | undefined;
105
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
106
- "aria-colcount"?: number | undefined | undefined;
107
- "aria-colindex"?: number | undefined | undefined;
108
- "aria-colindextext"?: string | undefined | undefined;
109
- "aria-colspan"?: number | undefined | undefined;
110
- "aria-controls"?: string | undefined | undefined;
111
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
112
- "aria-describedby"?: string | undefined | undefined;
113
- "aria-description"?: string | undefined | undefined;
114
- "aria-details"?: string | undefined | undefined;
115
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
116
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
117
- "aria-errormessage"?: string | undefined | undefined;
118
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
119
- "aria-flowto"?: string | undefined | undefined;
120
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
121
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
122
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
123
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
124
- "aria-keyshortcuts"?: string | undefined | undefined;
125
- "aria-labelledby"?: string | undefined | undefined;
126
- "aria-level"?: number | undefined | undefined;
127
- "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
128
- "aria-modal"?: (boolean | "true" | "false") | undefined;
129
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
130
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
131
- "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
132
- "aria-owns"?: string | undefined | undefined;
133
- "aria-placeholder"?: string | undefined | undefined;
134
- "aria-posinset"?: number | undefined | undefined;
135
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
136
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
137
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
138
- "aria-required"?: (boolean | "true" | "false") | undefined;
139
- "aria-roledescription"?: string | undefined | undefined;
140
- "aria-rowcount"?: number | undefined | undefined;
141
- "aria-rowindex"?: number | undefined | undefined;
142
- "aria-rowindextext"?: string | undefined | undefined;
143
- "aria-rowspan"?: number | undefined | undefined;
144
- "aria-selected"?: (boolean | "true" | "false") | undefined;
145
- "aria-setsize"?: number | undefined | undefined;
146
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
147
- "aria-valuemax"?: number | undefined | undefined;
148
- "aria-valuemin"?: number | undefined | undefined;
149
- "aria-valuenow"?: number | undefined | undefined;
150
- "aria-valuetext"?: string | undefined | undefined;
151
- dangerouslySetInnerHTML?: {
152
- __html: string | TrustedHTML;
153
- } | undefined | undefined;
154
- onCopy?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
155
- onCopyCapture?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
156
- onCut?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
157
- onCutCapture?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
158
- onPaste?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
159
- onPasteCapture?: import('react').ClipboardEventHandler<HTMLTextAreaElement> | undefined;
160
- onCompositionEnd?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
161
- onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
162
- onCompositionStart?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
163
- onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
164
- onCompositionUpdate?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
165
- onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLTextAreaElement> | undefined;
166
- onFocus?: import('react').FocusEventHandler<HTMLTextAreaElement> | undefined;
167
- onFocusCapture?: import('react').FocusEventHandler<HTMLTextAreaElement> | undefined;
168
- onBlur?: import('react').FocusEventHandler<HTMLTextAreaElement> | undefined;
169
- onBlurCapture?: import('react').FocusEventHandler<HTMLTextAreaElement> | undefined;
170
- onChangeCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
171
- onBeforeInput?: import('react').InputEventHandler<HTMLTextAreaElement> | undefined;
172
- onBeforeInputCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
173
- onInput?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
174
- onInputCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
175
- onReset?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
176
- onResetCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
177
- onSubmit?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
178
- onSubmitCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
179
- onInvalid?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
180
- onInvalidCapture?: import('react').FormEventHandler<HTMLTextAreaElement> | undefined;
181
- onLoad?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
182
- onLoadCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
183
- onError?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
184
- onErrorCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
185
- onKeyDown?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
186
- onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
187
- onKeyPress?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
188
- onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
189
- onKeyUp?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
190
- onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLTextAreaElement> | undefined;
191
- onAbort?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
192
- onAbortCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
193
- onCanPlay?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
194
- onCanPlayCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
195
- onCanPlayThrough?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
196
- onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
197
- onDurationChange?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
198
- onDurationChangeCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
199
- onEmptied?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
200
- onEmptiedCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
201
- onEncrypted?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
202
- onEncryptedCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
203
- onEnded?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
204
- onEndedCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
205
- onLoadedData?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
206
- onLoadedDataCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
207
- onLoadedMetadata?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
208
- onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
209
- onLoadStart?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
210
- onLoadStartCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
211
- onPause?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
212
- onPauseCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
213
- onPlay?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
214
- onPlayCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
215
- onPlaying?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
216
- onPlayingCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
217
- onProgress?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
218
- onProgressCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
219
- onRateChange?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
220
- onRateChangeCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
221
- onSeeked?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
222
- onSeekedCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
223
- onSeeking?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
224
- onSeekingCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
225
- onStalled?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
226
- onStalledCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
227
- onSuspend?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
228
- onSuspendCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
229
- onTimeUpdate?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
230
- onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
231
- onVolumeChange?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
232
- onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
233
- onWaiting?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
234
- onWaitingCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
235
- onAuxClick?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
236
- onAuxClickCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
237
- onClickCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
238
- onContextMenu?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
239
- onContextMenuCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
240
- onDoubleClick?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
241
- onDoubleClickCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
242
- onDrag?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
243
- onDragCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
244
- onDragEnd?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
245
- onDragEndCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
246
- onDragEnter?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
247
- onDragEnterCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
248
- onDragExit?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
249
- onDragExitCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
250
- onDragLeave?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
251
- onDragLeaveCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
252
- onDragOver?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
253
- onDragOverCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
254
- onDragStart?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
255
- onDragStartCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
256
- onDrop?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
257
- onDropCapture?: import('react').DragEventHandler<HTMLTextAreaElement> | undefined;
258
- onMouseDown?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
259
- onMouseDownCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
260
- onMouseEnter?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
261
- onMouseLeave?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
262
- onMouseMove?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
263
- onMouseMoveCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
264
- onMouseOut?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
265
- onMouseOutCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
266
- onMouseOver?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
267
- onMouseOverCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
268
- onMouseUp?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
269
- onMouseUpCapture?: import('react').MouseEventHandler<HTMLTextAreaElement> | undefined;
270
- onSelect?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
271
- onSelectCapture?: import('react').ReactEventHandler<HTMLTextAreaElement> | undefined;
272
- onTouchCancel?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
273
- onTouchCancelCapture?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
274
- onTouchEnd?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
275
- onTouchEndCapture?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
276
- onTouchMove?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
277
- onTouchMoveCapture?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
278
- onTouchStart?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
279
- onTouchStartCapture?: import('react').TouchEventHandler<HTMLTextAreaElement> | undefined;
280
- onPointerDown?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
281
- onPointerDownCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
282
- onPointerMove?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
283
- onPointerMoveCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
284
- onPointerUp?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
285
- onPointerUpCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
286
- onPointerCancel?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
287
- onPointerCancelCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
288
- onPointerEnter?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
289
- onPointerLeave?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
290
- onPointerOver?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
291
- onPointerOverCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
292
- onPointerOut?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
293
- onPointerOutCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
294
- onGotPointerCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
295
- onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
296
- onLostPointerCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
297
- onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLTextAreaElement> | undefined;
298
- onScroll?: import('react').UIEventHandler<HTMLTextAreaElement> | undefined;
299
- onScrollCapture?: import('react').UIEventHandler<HTMLTextAreaElement> | undefined;
300
- onScrollEnd?: import('react').UIEventHandler<HTMLTextAreaElement> | undefined;
301
- onScrollEndCapture?: import('react').UIEventHandler<HTMLTextAreaElement> | undefined;
302
- onWheel?: import('react').WheelEventHandler<HTMLTextAreaElement> | undefined;
303
- onWheelCapture?: import('react').WheelEventHandler<HTMLTextAreaElement> | undefined;
304
- onAnimationStart?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
305
- onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
306
- onAnimationEnd?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
307
- onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
308
- onAnimationIteration?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
309
- onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLTextAreaElement> | undefined;
310
- onToggle?: import('react').ToggleEventHandler<HTMLTextAreaElement> | undefined;
311
- onBeforeToggle?: import('react').ToggleEventHandler<HTMLTextAreaElement> | undefined;
312
- onTransitionCancel?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
313
- onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
314
- onTransitionEnd?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
315
- onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
316
- onTransitionRun?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
317
- onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
318
- onTransitionStart?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
319
- onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLTextAreaElement> | undefined;
320
- wrap?: string | undefined | undefined;
321
- autoComplete?: string | undefined | undefined;
322
- maxLength?: number | undefined | undefined;
323
- minLength?: number | undefined | undefined;
324
- placeholder?: string | undefined | undefined;
325
- readOnly?: boolean | undefined | undefined;
326
- required?: boolean | undefined | undefined;
327
- cols?: number | undefined | undefined;
328
- dirName?: string | undefined | undefined;
329
- rows?: number | undefined | undefined;
330
- } & import('react').RefAttributes<HTMLTextAreaElement>>;
331
- export { TextArea };
@@ -1,2 +0,0 @@
1
- export { TextArea } from './TextArea';
2
- export type { TextAreaProps, ResultadoValidacion } from './types';
@@ -1,72 +0,0 @@
1
- import { ReactNode, TextareaHTMLAttributes } from 'react';
2
- import { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion } from '../input_types_compartidos';
3
- export type { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion };
4
- type NativeTextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'color' | 'size' | 'onChange' | 'children'>;
5
- /**
6
- * Props del componente TextArea
7
- * @description Área de texto con soporte para dictado por voz, lectura TTS, autosize y validación
8
- */
9
- export type TextAreaProps = {
10
- /** Variante visual del textarea */
11
- variant?: InputVariant;
12
- /** Color temático del textarea (afecta el borde en focus) */
13
- color?: InputColor;
14
- /** Tamaño del textarea */
15
- size?: InputSize;
16
- /** Radio de bordes del textarea */
17
- radius?: InputRadius;
18
- /** Etiqueta del campo */
19
- label?: ReactNode;
20
- /** Placeholder del textarea */
21
- placeholder?: string;
22
- /** Valor controlado del textarea */
23
- value?: string;
24
- /** Valor inicial no controlado */
25
- defaultValue?: string;
26
- /** Descripción o texto de ayuda */
27
- description?: ReactNode;
28
- /** Mensaje de error personalizado */
29
- errorMessage?: ReactNode | ((v: ResultadoValidacion) => ReactNode);
30
- /** Si el campo es requerido */
31
- isRequired?: boolean;
32
- /** Si el campo es de solo lectura */
33
- isReadOnly?: boolean;
34
- /** Si el campo está deshabilitado */
35
- isDisabled?: boolean;
36
- /** Si muestra botón para limpiar el campo */
37
- isClearable?: boolean;
38
- /** Si el campo es inválido (override manual) */
39
- isInvalid?: boolean;
40
- /** Estado de validación manual */
41
- validationState?: 'valid' | 'invalid';
42
- /** Función de validación personalizada */
43
- validate?: (value: string) => ValidationResult;
44
- /** Si el textarea ocupa todo el ancho */
45
- fullWidth?: boolean;
46
- /** Deshabilita animaciones */
47
- disableAnimation?: boolean;
48
- /** Número mínimo de filas visibles */
49
- minRows?: number;
50
- /** Número máximo de filas antes de mostrar scroll */
51
- maxRows?: number;
52
- /** Deshabilita el redimensionado automático */
53
- disableAutosize?: boolean;
54
- /** Oculta las acciones de voz (TTS y dictado) */
55
- hideVoiceActions?: boolean;
56
- /** Clases CSS personalizadas para cada parte */
57
- classNames?: {
58
- base?: string;
59
- label?: string;
60
- inputWrapper?: string;
61
- input?: string;
62
- actions?: string;
63
- description?: string;
64
- errorMessage?: string;
65
- };
66
- /** Callback cuando cambia el valor */
67
- onChange?: (value: string) => void;
68
- /** Callback cuando se limpia el campo */
69
- onClear?: () => void;
70
- /** Contenido adicional (children) */
71
- children?: ReactNode;
72
- } & NativeTextareaProps;
@@ -1,19 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import { default as React } from 'react';
3
- declare const textVariants: (props?: ({
4
- align?: "center" | "left" | "right" | null | undefined;
5
- intent?: "primary" | "secondary" | null | undefined;
6
- weight?: "small" | "medium" | null | undefined;
7
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- type TextVariantProps = VariantProps<typeof textVariants>;
9
- type PolymorphicProps<E extends React.ElementType> = {
10
- as?: E;
11
- children?: React.ReactNode;
12
- className?: string;
13
- } & TextVariantProps & Omit<React.ComponentPropsWithoutRef<E>, keyof (TextVariantProps & {
14
- as?: E;
15
- children?: React.ReactNode;
16
- className?: string;
17
- })>;
18
- export declare const Texts: <E extends React.ElementType = "p">({ as, align, intent, weight, className, children, ...props }: PolymorphicProps<E>) => import("react/jsx-runtime").JSX.Element;
19
- export {};
package/dist/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>