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,345 +0,0 @@
1
- import { ResultadoValidacion } from './types';
2
- declare const InputText: import('react').ForwardRefExoticComponent<{
3
- type?: import('./types').InputType;
4
- variant?: import('./types').InputVariant;
5
- color?: import('./types').InputColor;
6
- size?: import('./types').InputSize;
7
- radius?: import('./types').InputRadius;
8
- label?: import('react').ReactNode;
9
- placeholder?: string;
10
- value?: string;
11
- defaultValue?: string;
12
- description?: import('react').ReactNode;
13
- errorMessage?: import('react').ReactNode | ((v: ResultadoValidacion) => import('react').ReactNode);
14
- startContent?: import('react').ReactNode;
15
- endContent?: import('react').ReactNode;
16
- isRequired?: boolean;
17
- isReadOnly?: boolean;
18
- isDisabled?: boolean;
19
- isClearable?: boolean;
20
- isInvalid?: boolean;
21
- validationState?: "valid" | "invalid";
22
- validate?: (value: string) => import('./types').ValidationResult;
23
- fullWidth?: boolean;
24
- disableAnimation?: boolean;
25
- classNames?: {
26
- base?: string;
27
- label?: string;
28
- inputWrapper?: string;
29
- innerWrapper?: string;
30
- input?: string;
31
- clearButton?: string;
32
- description?: string;
33
- errorMessage?: string;
34
- };
35
- onChange?: (value: string) => void;
36
- onClear?: () => void;
37
- onValueChange?: (value: string) => void;
38
- } & {
39
- form?: string | undefined | undefined;
40
- slot?: string | undefined | undefined;
41
- style?: import('react').CSSProperties | undefined;
42
- title?: string | undefined | undefined;
43
- pattern?: string | undefined | undefined;
44
- className?: string | undefined | undefined;
45
- onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
46
- "aria-label"?: string | undefined | undefined;
47
- disabled?: boolean | undefined | undefined;
48
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
49
- formEncType?: string | undefined | undefined;
50
- formMethod?: string | undefined | undefined;
51
- formNoValidate?: boolean | undefined | undefined;
52
- formTarget?: string | undefined | undefined;
53
- name?: string | undefined | undefined;
54
- value?: string | number | readonly string[] | undefined;
55
- defaultChecked?: boolean | undefined | undefined;
56
- defaultValue?: string | number | readonly string[] | undefined;
57
- suppressContentEditableWarning?: boolean | undefined | undefined;
58
- suppressHydrationWarning?: boolean | undefined | undefined;
59
- accessKey?: string | undefined | undefined;
60
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
61
- autoFocus?: boolean | undefined | undefined;
62
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
63
- contextMenu?: string | undefined | undefined;
64
- dir?: string | undefined | undefined;
65
- draggable?: (boolean | "true" | "false") | undefined;
66
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
67
- hidden?: boolean | undefined | undefined;
68
- id?: string | undefined | undefined;
69
- lang?: string | undefined | undefined;
70
- nonce?: string | undefined | undefined;
71
- spellCheck?: (boolean | "true" | "false") | undefined;
72
- tabIndex?: number | undefined | undefined;
73
- translate?: "yes" | "no" | undefined | undefined;
74
- radioGroup?: string | undefined | undefined;
75
- role?: import('react').AriaRole | undefined;
76
- about?: string | undefined | undefined;
77
- content?: string | undefined | undefined;
78
- datatype?: string | undefined | undefined;
79
- inlist?: any;
80
- prefix?: string | undefined | undefined;
81
- property?: string | undefined | undefined;
82
- rel?: string | undefined | undefined;
83
- resource?: string | undefined | undefined;
84
- rev?: string | undefined | undefined;
85
- typeof?: string | undefined | undefined;
86
- vocab?: string | undefined | undefined;
87
- autoCorrect?: string | undefined | undefined;
88
- autoSave?: string | undefined | undefined;
89
- itemProp?: string | undefined | undefined;
90
- itemScope?: boolean | undefined | undefined;
91
- itemType?: string | undefined | undefined;
92
- itemID?: string | undefined | undefined;
93
- itemRef?: string | undefined | undefined;
94
- results?: number | undefined | undefined;
95
- security?: string | undefined | undefined;
96
- unselectable?: "on" | "off" | undefined | undefined;
97
- popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
98
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
99
- popoverTarget?: string | undefined | undefined;
100
- inert?: boolean | undefined | undefined;
101
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
102
- is?: string | undefined | undefined;
103
- exportparts?: string | undefined | undefined;
104
- part?: string | undefined | undefined;
105
- "aria-activedescendant"?: string | undefined | undefined;
106
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
107
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
108
- "aria-braillelabel"?: string | undefined | undefined;
109
- "aria-brailleroledescription"?: string | undefined | undefined;
110
- "aria-busy"?: (boolean | "true" | "false") | undefined;
111
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
112
- "aria-colcount"?: number | undefined | undefined;
113
- "aria-colindex"?: number | undefined | undefined;
114
- "aria-colindextext"?: string | undefined | undefined;
115
- "aria-colspan"?: number | undefined | undefined;
116
- "aria-controls"?: string | undefined | undefined;
117
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
118
- "aria-describedby"?: string | undefined | undefined;
119
- "aria-description"?: string | undefined | undefined;
120
- "aria-details"?: string | undefined | undefined;
121
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
122
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
123
- "aria-errormessage"?: string | undefined | undefined;
124
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
125
- "aria-flowto"?: string | undefined | undefined;
126
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
127
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
128
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
129
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
130
- "aria-keyshortcuts"?: string | undefined | undefined;
131
- "aria-labelledby"?: string | undefined | undefined;
132
- "aria-level"?: number | undefined | undefined;
133
- "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
134
- "aria-modal"?: (boolean | "true" | "false") | undefined;
135
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
136
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
137
- "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
138
- "aria-owns"?: string | undefined | undefined;
139
- "aria-placeholder"?: string | undefined | undefined;
140
- "aria-posinset"?: number | undefined | undefined;
141
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
142
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
143
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
144
- "aria-required"?: (boolean | "true" | "false") | undefined;
145
- "aria-roledescription"?: string | undefined | undefined;
146
- "aria-rowcount"?: number | undefined | undefined;
147
- "aria-rowindex"?: number | undefined | undefined;
148
- "aria-rowindextext"?: string | undefined | undefined;
149
- "aria-rowspan"?: number | undefined | undefined;
150
- "aria-selected"?: (boolean | "true" | "false") | undefined;
151
- "aria-setsize"?: number | undefined | undefined;
152
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
153
- "aria-valuemax"?: number | undefined | undefined;
154
- "aria-valuemin"?: number | undefined | undefined;
155
- "aria-valuenow"?: number | undefined | undefined;
156
- "aria-valuetext"?: string | undefined | undefined;
157
- dangerouslySetInnerHTML?: {
158
- __html: string | TrustedHTML;
159
- } | undefined | undefined;
160
- onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
161
- onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
162
- onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
163
- onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
164
- onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
165
- onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
166
- onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
167
- onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
168
- onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
169
- onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
170
- onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
171
- onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
172
- onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
173
- onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
174
- onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
175
- onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
176
- onChangeCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
177
- onBeforeInput?: import('react').InputEventHandler<HTMLInputElement> | undefined;
178
- onBeforeInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
179
- onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
180
- onInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
181
- onReset?: import('react').FormEventHandler<HTMLInputElement> | undefined;
182
- onResetCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
183
- onSubmit?: import('react').FormEventHandler<HTMLInputElement> | undefined;
184
- onSubmitCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
185
- onInvalid?: import('react').FormEventHandler<HTMLInputElement> | undefined;
186
- onInvalidCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
187
- onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
188
- onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
189
- onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
190
- onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
191
- onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
192
- onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
193
- onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
194
- onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
195
- onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
196
- onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
197
- onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
198
- onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
199
- onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
200
- onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
201
- onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
202
- onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
203
- onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
204
- onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
205
- onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
206
- onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
207
- onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
208
- onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
209
- onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
210
- onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
211
- onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
212
- onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
213
- onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
214
- onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
215
- onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
216
- onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
217
- onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
218
- onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
219
- onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
220
- onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
221
- onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
222
- onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
223
- onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
224
- onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
225
- onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
226
- onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
227
- onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
228
- onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
229
- onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
230
- onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
231
- onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
232
- onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
233
- onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
234
- onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
235
- onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
236
- onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
237
- onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
238
- onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
239
- onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
240
- onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
241
- onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
242
- onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
243
- onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
244
- onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
245
- onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
246
- onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
247
- onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
248
- onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
249
- onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
250
- onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
251
- onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
252
- onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
253
- onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
254
- onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
255
- onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
256
- onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
257
- onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
258
- onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
259
- onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
260
- onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
261
- onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
262
- onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
263
- onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
264
- onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
265
- onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
266
- onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
267
- onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
268
- onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
269
- onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
270
- onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
271
- onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
272
- onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
273
- onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
274
- onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
275
- onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
276
- onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
277
- onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
278
- onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
279
- onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
280
- onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
281
- onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
282
- onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
283
- onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
284
- onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
285
- onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
286
- onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
287
- onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
288
- onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
289
- onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
290
- onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
291
- onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
292
- onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
293
- onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
294
- onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
295
- onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
296
- onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
297
- onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
298
- onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
299
- onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
300
- onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
301
- onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
302
- onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
303
- onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
304
- onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
305
- onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
306
- onScrollEnd?: import('react').UIEventHandler<HTMLInputElement> | undefined;
307
- onScrollEndCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
308
- onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
309
- onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
310
- onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
311
- onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
312
- onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
313
- onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
314
- onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
315
- onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
316
- onToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
317
- onBeforeToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
318
- onTransitionCancel?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
319
- onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
320
- onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
321
- onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
322
- onTransitionRun?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
323
- onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
324
- onTransitionStart?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
325
- onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
326
- multiple?: boolean | undefined | undefined;
327
- list?: string | undefined | undefined;
328
- accept?: string | undefined | undefined;
329
- width?: number | string | undefined | undefined;
330
- height?: number | string | undefined | undefined;
331
- checked?: boolean | undefined | undefined;
332
- max?: number | string | undefined | undefined;
333
- min?: number | string | undefined | undefined;
334
- alt?: string | undefined | undefined;
335
- autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
336
- capture?: boolean | "user" | "environment" | undefined | undefined;
337
- maxLength?: number | undefined | undefined;
338
- minLength?: number | undefined | undefined;
339
- placeholder?: string | undefined | undefined;
340
- readOnly?: boolean | undefined | undefined;
341
- required?: boolean | undefined | undefined;
342
- src?: string | undefined | undefined;
343
- step?: number | string | undefined | undefined;
344
- } & import('react').RefAttributes<HTMLInputElement>>;
345
- export { InputText };
@@ -1,2 +0,0 @@
1
- export { InputText } from './InputText';
2
- export type { InputTextProps, InputVariant, InputColor, InputSize, InputRadius, InputType, ResultadoValidacion, ValidationResult, } from './types';
@@ -1,73 +0,0 @@
1
- import { InputHTMLAttributes, ReactNode } from 'react';
2
- import { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion } from '../input_types_compartidos';
3
- export type { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion };
4
- /** Tipos de input de texto soportados */
5
- export type InputType = 'text' | 'password' | 'email' | 'tel' | 'url' | 'search';
6
- type NativeInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'color' | 'size' | 'onChange' | 'children' | 'type'>;
7
- /**
8
- * Props del componente InputText
9
- * @description Input de texto con soporte para múltiples tipos, validación, iconos y estados
10
- */
11
- export type InputTextProps = {
12
- /** Tipo del input (text, password, email, tel, url, search) */
13
- type?: InputType;
14
- /** Variante visual del input */
15
- variant?: InputVariant;
16
- /** Color temático del input (afecta el borde en focus) */
17
- color?: InputColor;
18
- /** Tamaño del input */
19
- size?: InputSize;
20
- /** Radio de bordes del input */
21
- radius?: InputRadius;
22
- /** Etiqueta del campo */
23
- label?: ReactNode;
24
- /** Placeholder del input */
25
- placeholder?: string;
26
- /** Valor controlado del input */
27
- value?: string;
28
- /** Valor inicial no controlado */
29
- defaultValue?: string;
30
- /** Descripción o texto de ayuda */
31
- description?: ReactNode;
32
- /** Mensaje de error personalizado */
33
- errorMessage?: ReactNode | ((v: ResultadoValidacion) => ReactNode);
34
- /** Contenido al inicio del input (iconos, prefijos) */
35
- startContent?: ReactNode;
36
- /** Contenido al final del input (iconos, sufijos) */
37
- endContent?: ReactNode;
38
- /** Si el campo es requerido */
39
- isRequired?: boolean;
40
- /** Si el campo es de solo lectura */
41
- isReadOnly?: boolean;
42
- /** Si el campo está deshabilitado */
43
- isDisabled?: boolean;
44
- /** Si muestra botón para limpiar el campo */
45
- isClearable?: boolean;
46
- /** Si el campo es inválido (override manual) */
47
- isInvalid?: boolean;
48
- /** Estado de validación manual */
49
- validationState?: 'valid' | 'invalid';
50
- /** Función de validación personalizada */
51
- validate?: (value: string) => ValidationResult;
52
- /** Si el input ocupa todo el ancho */
53
- fullWidth?: boolean;
54
- /** Deshabilita animaciones */
55
- disableAnimation?: boolean;
56
- /** Clases CSS personalizadas para cada parte */
57
- classNames?: {
58
- base?: string;
59
- label?: string;
60
- inputWrapper?: string;
61
- innerWrapper?: string;
62
- input?: string;
63
- clearButton?: string;
64
- description?: string;
65
- errorMessage?: string;
66
- };
67
- /** Callback cuando cambia el valor */
68
- onChange?: (value: string) => void;
69
- /** Callback cuando se limpia el campo */
70
- onClear?: () => void;
71
- /** Callback cuando cambia el valor (alias de onChange) */
72
- onValueChange?: (value: string) => void;
73
- } & NativeInputProps;
@@ -1 +0,0 @@
1
- export type { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion } from './types';
@@ -1,11 +0,0 @@
1
- export type InputVariant = 'bordered' | 'faded' | 'underlined' | 'ghost';
2
- export type InputColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
3
- export type InputSize = 'sm' | 'md' | 'lg';
4
- export type InputRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
5
- export type ValidationResult = boolean | string | {
6
- message?: string;
7
- } | null | undefined;
8
- export type ResultadoValidacion = {
9
- invalido: boolean;
10
- mensaje: string | null;
11
- };
@@ -1,10 +0,0 @@
1
- import { SVGProps } from 'react';
2
- type IconProps = SVGProps<SVGSVGElement> & {
3
- size?: number | string;
4
- };
5
- export declare const IconoChevronAbajo: ({ size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
6
- export declare const IconoCerrar: ({ size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
7
- export declare const IconoCheck: ({ size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
8
- export declare const IconoBuscar: ({ size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
9
- export declare const IconoSpinner: ({ size, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,56 +0,0 @@
1
- import { SelectProps, SelectRef } from './Types';
2
- /**
3
- * Componente Select genérico con soporte para virtualización, búsqueda y selección múltiple.
4
- *
5
- * @template T - Tipo de las opciones (string u objeto personalizado)
6
- *
7
- * @description
8
- * Select implementa un patrón de "Hybrid Rendering":
9
- * - En **desktop**: Usa un dropdown custom con Floating UI
10
- * - En **móvil**: Usa el select nativo del SO (mejor UX táctil)
11
- *
12
- * ### Características principales:
13
- * - ✅ Virtualización para listas de +10,000 opciones
14
- * - ✅ Búsqueda/filtrado con función personalizable
15
- * - ✅ Selección simple o múltiple
16
- * - ✅ Soporte para opciones agrupadas
17
- * - ✅ Validación integrada
18
- * - ✅ Navegación por teclado completa
19
- * - ✅ Typeahead (búsqueda por tecla)
20
- *
21
- * @example
22
- * ```tsx
23
- * // Básico con strings
24
- * <Select options={['Opción 1', 'Opción 2']} />
25
- *
26
- * // Con objetos
27
- * <Select
28
- * options={usuarios}
29
- * optionLabelKey="nombre"
30
- * optionValueKey="id"
31
- * />
32
- *
33
- * // Multi-selección con búsqueda
34
- * <Select
35
- * options={paises}
36
- * isMultiple
37
- * isSearchable
38
- * placeholder="Seleccione países..."
39
- * />
40
- *
41
- * // Lista virtualizada
42
- * <Select
43
- * options={listaGrande}
44
- * isVirtualized
45
- * estimatedOptionHeight={40}
46
- * />
47
- * ```
48
- *
49
- * @see {@link SelectProps} para la lista completa de props
50
- * @see {@link SelectRef} para los métodos imperativos disponibles
51
- */
52
- declare const Select: <T = string>(props: SelectProps<T> & {
53
- ref?: React.ForwardedRef<SelectRef>;
54
- }) => React.ReactElement;
55
- export { Select };
56
- export default Select;
@@ -1,57 +0,0 @@
1
- import { SelectProps } from './Types';
2
- /**
3
- * Props internas del SelectNativo.
4
- * Extiende SelectProps pero excluye features no soportadas por select nativo.
5
- *
6
- * @template T - Tipo de las opciones
7
- * @internal
8
- */
9
- type SelectNativoProps<T> = {
10
- /**
11
- * Indica si el campo está en estado inválido.
12
- * Calculado por el padre para consistencia.
13
- */
14
- esInvalido: boolean;
15
- /**
16
- * Indica si el campo está deshabilitado (incluye loading).
17
- * Calculado por el padre para consistencia.
18
- */
19
- estaDeshabilitadoReal: boolean;
20
- /**
21
- * Clases CSS del contenedor base ya calculadas.
22
- * El padre las calcula para mantener consistencia visual.
23
- */
24
- clasesBase: string;
25
- /**
26
- * Función que renderiza el valor mostrado.
27
- * Viene del padre para reutilizar la lógica de render.
28
- */
29
- renderizarValorMostrado: () => React.ReactNode;
30
- } & Omit<SelectProps<T>, 'isSearchable' | 'isMultiple' | 'isVirtualized'>;
31
- /**
32
- * Componente SelectNativo - Select nativo del SO con apariencia custom.
33
- *
34
- * Implementa el patrón "Ghost Select":
35
- * - El usuario ve el diseño personalizado de CoreKit UI
36
- * - Al hacer tap, el SO muestra su picker nativo
37
- * - La selección actualiza el estado del componente padre
38
- *
39
- * @template T - Tipo de las opciones (string u objeto)
40
- * @param props - Props del componente incluyendo datos del padre
41
- * @returns Elemento JSX con trigger visual y select nativo superpuesto
42
- *
43
- * @important
44
- * **API de callbacks**: `onChange` y `onValueChange` reciben el valor (`T`),
45
- * NO el evento nativo del select. Esto mantiene consistencia con el Select custom.
46
- *
47
- * @example
48
- * ```tsx
49
- * // El padre pasa el valor directamente:
50
- * onChange?.(opcionSeleccionada); // T, no Event
51
- * onValueChange?.(opcionSeleccionada); // T, no Event
52
- * ```
53
- *
54
- * @internal
55
- */
56
- export declare function SelectNativo<T>(props: SelectNativoProps<T>): import("react/jsx-runtime").JSX.Element;
57
- export default SelectNativo;