corekit-ui 0.1.13 → 0.1.16

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 (110) hide show
  1. package/dist/animations/Transiciones.d.ts +9 -0
  2. package/dist/animations/index.d.ts +1 -0
  3. package/dist/badge/Badge.d.ts +3 -0
  4. package/dist/badge/index.d.ts +2 -0
  5. package/dist/badge/types.d.ts +62 -0
  6. package/dist/boton/Boton.d.ts +2 -0
  7. package/dist/boton/index.d.ts +2 -0
  8. package/dist/boton/typesButton.d.ts +35 -0
  9. package/dist/checkbox/Checkbox.d.ts +24 -0
  10. package/dist/checkbox/CheckboxContext.d.ts +3 -0
  11. package/dist/checkbox/CheckboxGroup.d.ts +2 -0
  12. package/dist/checkbox/index.d.ts +4 -0
  13. package/dist/checkbox/types.d.ts +57 -0
  14. package/dist/corekit-ui.css +1 -1
  15. package/dist/drawer/Drawer.d.ts +2 -0
  16. package/dist/drawer/index.d.ts +2 -0
  17. package/dist/drawer/types.d.ts +140 -0
  18. package/dist/firma_manual/FirmaManual.d.ts +3 -0
  19. package/dist/firma_manual/Iconografia.d.ts +16 -0
  20. package/dist/firma_manual/TypesFirma.d.ts +22 -0
  21. package/dist/firma_manual/index.d.ts +2 -0
  22. package/dist/firma_manual/useFirmaLogica.d.ts +10 -0
  23. package/dist/hablar_escuchar/BadgeVoz.d.ts +6 -0
  24. package/dist/hablar_escuchar/Iconografia.d.ts +10 -0
  25. package/dist/hablar_escuchar/index.d.ts +3 -0
  26. package/dist/hablar_escuchar/useReconocimientoVoz.d.ts +21 -0
  27. package/dist/index.d.ts +20 -4010
  28. package/dist/index.js +4645 -4573
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.umd.cjs +6 -6
  31. package/dist/index.umd.cjs.map +1 -1
  32. package/dist/input_date/InputDate.d.ts +342 -0
  33. package/dist/input_date/funciones.d.ts +27 -0
  34. package/dist/input_date/index.d.ts +3 -0
  35. package/dist/input_date/types.d.ts +70 -0
  36. package/dist/input_numeric/Iconografia.d.ts +5 -0
  37. package/dist/input_numeric/InputNumeric.d.ts +353 -0
  38. package/dist/input_numeric/funciones.d.ts +64 -0
  39. package/dist/input_numeric/index.d.ts +3 -0
  40. package/dist/input_numeric/types.d.ts +96 -0
  41. package/dist/input_text/Iconografia.d.ts +9 -0
  42. package/dist/input_text/InputText.d.ts +347 -0
  43. package/dist/input_text/index.d.ts +2 -0
  44. package/dist/input_text/types.d.ts +77 -0
  45. package/dist/input_types_compartidos/index.d.ts +1 -0
  46. package/dist/input_types_compartidos/types.d.ts +11 -0
  47. package/dist/modal/Modal.d.ts +2 -0
  48. package/dist/modal/index.d.ts +2 -0
  49. package/dist/modal/types.d.ts +115 -0
  50. package/dist/modal_stack/ModalStack.d.ts +14 -0
  51. package/dist/modal_stack/index.d.ts +2 -0
  52. package/dist/panel_filtros/Iconografia.d.ts +5 -0
  53. package/dist/panel_filtros/PanelFiltros.d.ts +49 -0
  54. package/dist/panel_filtros/index.d.ts +3 -0
  55. package/dist/radio/Radio.d.ts +16 -0
  56. package/dist/radio/RadioContext.d.ts +3 -0
  57. package/dist/radio/RadioGroup.d.ts +11 -0
  58. package/dist/radio/index.d.ts +3 -0
  59. package/dist/radio/types.d.ts +195 -0
  60. package/dist/select/Iconografia.d.ts +10 -0
  61. package/dist/select/Select.d.ts +42 -0
  62. package/dist/select/SelectBase.d.ts +17 -0
  63. package/dist/select/SelectNativo.d.ts +57 -0
  64. package/dist/select/Types.d.ts +629 -0
  65. package/dist/select/funciones.d.ts +229 -0
  66. package/dist/select/index.d.ts +4 -0
  67. package/dist/tabla_datos/TablaDatos.d.ts +80 -0
  68. package/dist/tabla_datos/components/Iconografia.d.ts +17 -0
  69. package/dist/tabla_datos/components/TablaCards.d.ts +1 -0
  70. package/dist/tabla_datos/components/TablaEscritorio.d.ts +1 -0
  71. package/dist/tabla_datos/components/configuraciones/ConfigColumnas.d.ts +1 -0
  72. package/dist/tabla_datos/components/configuraciones/ConfigEncabezado.d.ts +6 -0
  73. package/dist/tabla_datos/components/configuraciones/ConfigFilas.d.ts +1 -0
  74. package/dist/tabla_datos/components/configuraciones/ConfigOpciones.d.ts +6 -0
  75. package/dist/tabla_datos/components/configuraciones/MenuConfiguraciones.d.ts +1 -0
  76. package/dist/tabla_datos/components/skeletons/SkeletonCargando.d.ts +4 -0
  77. package/dist/tabla_datos/components/skeletons/SkeletonCargandoCards.d.ts +2 -0
  78. package/dist/tabla_datos/components/tabla/BarraHerramientas.d.ts +1 -0
  79. package/dist/tabla_datos/components/tabla/BarraSeleccion.d.ts +9 -0
  80. package/dist/tabla_datos/components/tabla/Paginacion.d.ts +1 -0
  81. package/dist/tabla_datos/components/tabla/SinDatos.d.ts +1 -0
  82. package/dist/tabla_datos/components/tabla/tabla_cards/AccionesCards.d.ts +3 -0
  83. package/dist/tabla_datos/components/tabla/tabla_cards/ContenidoCards.d.ts +3 -0
  84. package/dist/tabla_datos/components/tabla/tabla_cards/EncabezadoCards.d.ts +3 -0
  85. package/dist/tabla_datos/constantes/ConstGenerales.d.ts +18 -0
  86. package/dist/tabla_datos/context/ContextTypes.d.ts +23 -0
  87. package/dist/tabla_datos/context/TablaDatosContext.d.ts +3 -0
  88. package/dist/tabla_datos/context/hooks.d.ts +10 -0
  89. package/dist/tabla_datos/hooks/useClickOutside.d.ts +8 -0
  90. package/dist/tabla_datos/hooks/useEscapeKey.d.ts +1 -0
  91. package/dist/tabla_datos/hooks/usePopoverPosition.d.ts +15 -0
  92. package/dist/tabla_datos/hooks/useScrollLock.d.ts +1 -0
  93. package/dist/tabla_datos/index.d.ts +5 -0
  94. package/dist/tabla_datos/types/TablaTypes.d.ts +85 -0
  95. package/dist/tabla_datos/types/tanstack-table.d.ts +6 -0
  96. package/dist/tabla_datos/utils/FuncionesColumnas.d.ts +9 -0
  97. package/dist/tabla_datos/utils/FuncionesPaginacion.d.ts +12 -0
  98. package/dist/tabla_datos/utils/FuncionesTabla.d.ts +30 -0
  99. package/dist/text_area/Iconografia.d.ts +6 -0
  100. package/dist/text_area/TextArea.d.ts +333 -0
  101. package/dist/text_area/index.d.ts +2 -0
  102. package/dist/text_area/types.d.ts +76 -0
  103. package/dist/texts/Texts.d.ts +19 -0
  104. package/dist/toggle/Toggle.d.ts +21 -0
  105. package/dist/toggle/index.d.ts +2 -0
  106. package/dist/toggle/types.d.ts +90 -0
  107. package/dist/tooltip/Tooltip.d.ts +2 -0
  108. package/dist/tooltip/index.d.ts +2 -0
  109. package/dist/tooltip/types.d.ts +83 -0
  110. package/package.json +1 -8
@@ -0,0 +1,342 @@
1
+ import { ResultadoValidacion } from './types';
2
+ declare const InputDate: import('react').ForwardRefExoticComponent<{
3
+ type?: "date" | "time" | "datetime-local" | "week" | "month";
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
+ isRequired?: boolean;
16
+ isReadOnly?: boolean;
17
+ isDisabled?: boolean;
18
+ isInvalid?: boolean;
19
+ validationState?: "valid" | "invalid";
20
+ validate?: (value: string) => import('./types').ValidationResult;
21
+ fullWidth?: boolean;
22
+ disableAnimation?: boolean;
23
+ min?: string;
24
+ max?: string;
25
+ className?: string;
26
+ style?: React.CSSProperties;
27
+ classNames?: {
28
+ base?: string;
29
+ label?: string;
30
+ inputWrapper?: string;
31
+ innerWrapper?: string;
32
+ input?: string;
33
+ description?: string;
34
+ errorMessage?: string;
35
+ };
36
+ onChange?: (value: string) => void;
37
+ } & {
38
+ form?: string | undefined | undefined;
39
+ slot?: string | undefined | undefined;
40
+ style?: import('react').CSSProperties | undefined;
41
+ title?: string | undefined | undefined;
42
+ pattern?: string | undefined | undefined;
43
+ disabled?: boolean | undefined | undefined;
44
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
45
+ formEncType?: string | undefined | undefined;
46
+ formMethod?: string | undefined | undefined;
47
+ formNoValidate?: boolean | undefined | undefined;
48
+ formTarget?: string | undefined | undefined;
49
+ name?: string | undefined | undefined;
50
+ defaultChecked?: boolean | undefined | 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
+ className?: string | undefined | undefined;
57
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
58
+ contextMenu?: string | undefined | undefined;
59
+ dir?: string | undefined | undefined;
60
+ draggable?: (boolean | "true" | "false") | undefined;
61
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
62
+ hidden?: boolean | undefined | undefined;
63
+ id?: string | undefined | undefined;
64
+ lang?: string | undefined | undefined;
65
+ nonce?: string | undefined | undefined;
66
+ spellCheck?: (boolean | "true" | "false") | undefined;
67
+ tabIndex?: number | undefined | undefined;
68
+ translate?: "yes" | "no" | undefined | undefined;
69
+ radioGroup?: string | undefined | undefined;
70
+ role?: import('react').AriaRole | undefined;
71
+ about?: string | undefined | undefined;
72
+ content?: string | undefined | undefined;
73
+ datatype?: string | undefined | undefined;
74
+ inlist?: any;
75
+ prefix?: string | undefined | undefined;
76
+ property?: string | undefined | undefined;
77
+ rel?: string | undefined | undefined;
78
+ resource?: string | undefined | undefined;
79
+ rev?: string | undefined | undefined;
80
+ typeof?: string | undefined | undefined;
81
+ vocab?: string | undefined | undefined;
82
+ autoCorrect?: string | undefined | undefined;
83
+ autoSave?: string | undefined | undefined;
84
+ itemProp?: string | undefined | undefined;
85
+ itemScope?: boolean | undefined | undefined;
86
+ itemType?: string | undefined | undefined;
87
+ itemID?: string | undefined | undefined;
88
+ itemRef?: string | undefined | undefined;
89
+ results?: number | undefined | undefined;
90
+ security?: string | undefined | undefined;
91
+ unselectable?: "on" | "off" | undefined | undefined;
92
+ popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
93
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
94
+ popoverTarget?: string | undefined | undefined;
95
+ inert?: boolean | undefined | undefined;
96
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
97
+ is?: string | undefined | undefined;
98
+ exportparts?: string | undefined | undefined;
99
+ part?: string | undefined | undefined;
100
+ "aria-activedescendant"?: string | undefined | undefined;
101
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
102
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
103
+ "aria-braillelabel"?: string | undefined | undefined;
104
+ "aria-brailleroledescription"?: string | undefined | undefined;
105
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
106
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
107
+ "aria-colcount"?: number | undefined | undefined;
108
+ "aria-colindex"?: number | undefined | undefined;
109
+ "aria-colindextext"?: string | undefined | undefined;
110
+ "aria-colspan"?: number | undefined | undefined;
111
+ "aria-controls"?: string | undefined | undefined;
112
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
113
+ "aria-describedby"?: string | undefined | undefined;
114
+ "aria-description"?: string | undefined | undefined;
115
+ "aria-details"?: string | undefined | undefined;
116
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
117
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
118
+ "aria-errormessage"?: string | undefined | undefined;
119
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
120
+ "aria-flowto"?: string | undefined | undefined;
121
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
122
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
123
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
124
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
125
+ "aria-keyshortcuts"?: string | undefined | undefined;
126
+ "aria-label"?: string | undefined | undefined;
127
+ "aria-labelledby"?: string | undefined | undefined;
128
+ "aria-level"?: number | undefined | undefined;
129
+ "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
130
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
131
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
132
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
133
+ "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
134
+ "aria-owns"?: string | undefined | undefined;
135
+ "aria-placeholder"?: string | undefined | undefined;
136
+ "aria-posinset"?: number | undefined | undefined;
137
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
138
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
139
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
140
+ "aria-required"?: (boolean | "true" | "false") | undefined;
141
+ "aria-roledescription"?: string | undefined | undefined;
142
+ "aria-rowcount"?: number | undefined | undefined;
143
+ "aria-rowindex"?: number | undefined | undefined;
144
+ "aria-rowindextext"?: string | undefined | undefined;
145
+ "aria-rowspan"?: number | undefined | undefined;
146
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
147
+ "aria-setsize"?: number | undefined | undefined;
148
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
149
+ "aria-valuemax"?: number | undefined | undefined;
150
+ "aria-valuemin"?: number | undefined | undefined;
151
+ "aria-valuenow"?: number | undefined | undefined;
152
+ "aria-valuetext"?: string | undefined | undefined;
153
+ dangerouslySetInnerHTML?: {
154
+ __html: string | TrustedHTML;
155
+ } | undefined | undefined;
156
+ onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
157
+ onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
158
+ onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
159
+ onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
160
+ onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
161
+ onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
162
+ onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
163
+ onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
164
+ onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
165
+ onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
166
+ onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
167
+ onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
168
+ onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
169
+ onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
170
+ onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
171
+ onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
172
+ onChangeCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
173
+ onBeforeInput?: import('react').InputEventHandler<HTMLInputElement> | undefined;
174
+ onBeforeInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
175
+ onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
176
+ onInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
177
+ onReset?: import('react').FormEventHandler<HTMLInputElement> | undefined;
178
+ onResetCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
179
+ onSubmit?: import('react').FormEventHandler<HTMLInputElement> | undefined;
180
+ onSubmitCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
181
+ onInvalid?: import('react').FormEventHandler<HTMLInputElement> | undefined;
182
+ onInvalidCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
183
+ onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
184
+ onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
185
+ onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
186
+ onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
187
+ onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
188
+ onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
189
+ onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
190
+ onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
191
+ onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
192
+ onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
193
+ onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
194
+ onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
195
+ onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
196
+ onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
197
+ onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
198
+ onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
199
+ onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
200
+ onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
201
+ onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
202
+ onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
203
+ onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
204
+ onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
205
+ onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
206
+ onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
207
+ onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
208
+ onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
209
+ onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
210
+ onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
211
+ onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
212
+ onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
213
+ onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
214
+ onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
215
+ onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
216
+ onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
217
+ onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
218
+ onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
219
+ onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
220
+ onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
221
+ onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
222
+ onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
223
+ onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
224
+ onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
225
+ onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
226
+ onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
227
+ onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
228
+ onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
229
+ onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
230
+ onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
231
+ onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
232
+ onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
233
+ onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
234
+ onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
235
+ onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
236
+ onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
237
+ onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
238
+ onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
239
+ onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
240
+ onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
241
+ onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
242
+ onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
243
+ onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
244
+ onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
245
+ onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
246
+ onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
247
+ onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
248
+ onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
249
+ onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
250
+ onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
251
+ onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
252
+ onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
253
+ onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
254
+ onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
255
+ onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
256
+ onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
257
+ onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
258
+ onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
259
+ onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
260
+ onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
261
+ onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
262
+ onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
263
+ onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
264
+ onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
265
+ onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
266
+ onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
267
+ onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
268
+ onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
269
+ onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
270
+ onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
271
+ onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
272
+ onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
273
+ onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
274
+ onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
275
+ onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
276
+ onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
277
+ onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
278
+ onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
279
+ onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
280
+ onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
281
+ onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
282
+ onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
283
+ onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
284
+ onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
285
+ onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
286
+ onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
287
+ onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
288
+ onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
289
+ onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
290
+ onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
291
+ onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
292
+ onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
293
+ onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
294
+ onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
295
+ onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
296
+ onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
297
+ onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
298
+ onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
299
+ onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
300
+ onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
301
+ onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
302
+ onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
303
+ onScrollEnd?: import('react').UIEventHandler<HTMLInputElement> | undefined;
304
+ onScrollEndCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
305
+ onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
306
+ onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
307
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
308
+ onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
309
+ onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
310
+ onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
311
+ onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
312
+ onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
313
+ onToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
314
+ onBeforeToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
315
+ onTransitionCancel?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
316
+ onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
317
+ onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
318
+ onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
319
+ onTransitionRun?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
320
+ onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
321
+ onTransitionStart?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
322
+ onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
323
+ multiple?: boolean | undefined | undefined;
324
+ list?: string | undefined | undefined;
325
+ step?: number | string | undefined | undefined;
326
+ accept?: string | undefined | undefined;
327
+ width?: number | string | undefined | undefined;
328
+ height?: number | string | undefined | undefined;
329
+ checked?: boolean | undefined | undefined;
330
+ max?: number | string | undefined | undefined;
331
+ min?: number | string | undefined | undefined;
332
+ alt?: string | undefined | undefined;
333
+ autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
334
+ capture?: boolean | "user" | "environment" | undefined | undefined;
335
+ maxLength?: number | undefined | undefined;
336
+ minLength?: number | undefined | undefined;
337
+ placeholder?: string | undefined | undefined;
338
+ readOnly?: boolean | undefined | undefined;
339
+ required?: boolean | undefined | undefined;
340
+ src?: string | undefined | undefined;
341
+ } & import('react').RefAttributes<HTMLInputElement>>;
342
+ export { InputDate };
@@ -0,0 +1,27 @@
1
+ import { ResultadoValidacion, ValidationResult } from './types';
2
+ /**
3
+ * Procesa el resultado de una función de validación
4
+ * @param resultado - Resultado de la función validate
5
+ * @returns Objeto con estado de validación y mensaje
6
+ */
7
+ export declare function procesarValidacion(resultado: ValidationResult): ResultadoValidacion;
8
+ /**
9
+ * Formatea una fecha ISO a formato legible
10
+ * @param fechaISO - Fecha en formato YYYY-MM-DD
11
+ * @param locale - Locale para formateo (default: 'es-CO')
12
+ * @returns Fecha formateada
13
+ */
14
+ export declare function formatearFecha(fechaISO: string, locale?: string): string;
15
+ /**
16
+ * Obtiene la fecha actual en formato ISO
17
+ * @returns Fecha actual en formato YYYY-MM-DD
18
+ */
19
+ export declare function obtenerFechaHoy(): string;
20
+ /**
21
+ * Valida si una fecha está dentro de un rango
22
+ * @param fecha - Fecha a validar (YYYY-MM-DD)
23
+ * @param min - Fecha mínima (YYYY-MM-DD)
24
+ * @param max - Fecha máxima (YYYY-MM-DD)
25
+ * @returns true si está en rango
26
+ */
27
+ export declare function fechaEnRango(fecha: string, min?: string, max?: string): boolean;
@@ -0,0 +1,3 @@
1
+ export { InputDate } from './InputDate';
2
+ export type { InputDateProps } from './types';
3
+ export { formatearFecha, obtenerFechaHoy, fechaEnRango } from './funciones';
@@ -0,0 +1,70 @@
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
+ type NativeInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'color' | 'size' | 'onChange' | 'children' | 'type' | 'value' | 'defaultValue'>;
5
+ /**
6
+ * Props del componente InputDate
7
+ * @description Input de fecha/hora usando el selector nativo del navegador
8
+ */
9
+ export type InputDateProps = {
10
+ /** Tipo de input de fecha/hora */
11
+ type?: 'date' | 'time' | 'datetime-local' | 'week' | 'month';
12
+ /** Variante visual del input */
13
+ variant?: InputVariant;
14
+ /** Color temático del input */
15
+ color?: InputColor;
16
+ /** Tamaño del input */
17
+ size?: InputSize;
18
+ /** Radio de bordes del input */
19
+ radius?: InputRadius;
20
+ /** Etiqueta del campo */
21
+ label?: ReactNode;
22
+ /** Placeholder del input */
23
+ placeholder?: string;
24
+ /** Valor controlado (string ISO: YYYY-MM-DD) */
25
+ value?: string;
26
+ /** Valor inicial no controlado */
27
+ defaultValue?: string;
28
+ /** Descripción o texto de ayuda */
29
+ description?: ReactNode;
30
+ /** Mensaje de error personalizado */
31
+ errorMessage?: ReactNode | ((v: ResultadoValidacion) => ReactNode);
32
+ /** Contenido al inicio del input */
33
+ startContent?: ReactNode;
34
+ /** Si el campo es requerido */
35
+ isRequired?: boolean;
36
+ /** Si el campo es de solo lectura */
37
+ isReadOnly?: boolean;
38
+ /** Si el campo está deshabilitado */
39
+ isDisabled?: boolean;
40
+ /** Si el campo es inválido */
41
+ isInvalid?: boolean;
42
+ /** Estado de validación manual */
43
+ validationState?: 'valid' | 'invalid';
44
+ /** Función de validación personalizada */
45
+ validate?: (value: string) => ValidationResult;
46
+ /** Si el input ocupa todo el ancho */
47
+ fullWidth?: boolean;
48
+ /** Deshabilita animaciones */
49
+ disableAnimation?: boolean;
50
+ /** Fecha mínima seleccionable (YYYY-MM-DD) */
51
+ min?: string;
52
+ /** Fecha máxima seleccionable (YYYY-MM-DD) */
53
+ max?: string;
54
+ /** Clase CSS personalizada para el contenedor base */
55
+ className?: string;
56
+ /** Estilos en línea para el contenedor base */
57
+ style?: React.CSSProperties;
58
+ /** Clases CSS personalizadas */
59
+ classNames?: {
60
+ base?: string;
61
+ label?: string;
62
+ inputWrapper?: string;
63
+ innerWrapper?: string;
64
+ input?: string;
65
+ description?: string;
66
+ errorMessage?: string;
67
+ };
68
+ /** Callback cuando cambia la fecha */
69
+ onChange?: (value: string) => void;
70
+ } & NativeInputProps;
@@ -0,0 +1,5 @@
1
+ import { FC, SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare const IconoMas: FC<IconProps>;
4
+ export declare const IconoMenos: FC<IconProps>;
5
+ export {};