@axzydev/axzy_ui_system 1.0.164 → 1.0.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -3,8 +3,6 @@ import * as React$1 from 'react';
3
3
  import React__default, { ReactNode } from 'react';
4
4
  import * as Yup from 'yup';
5
5
 
6
- declare const buttonVariants: Record<string, string>;
7
-
8
6
  declare const semanticColors: {
9
7
  primary: {
10
8
  50: string;
@@ -127,8 +125,26 @@ declare const semanticColors: {
127
125
 
128
126
  type ColorsTypes = keyof typeof semanticColors;
129
127
 
128
+ declare const badgeVariants: {
129
+ readonly filled: "filled";
130
+ readonly outlined: "outlined";
131
+ };
132
+
130
133
  type SizesTypes = "small" | "medium" | "large";
131
134
 
135
+ interface ITBadgetProps {
136
+ label?: string;
137
+ children?: React.ReactNode;
138
+ color?: ColorsTypes;
139
+ size?: SizesTypes;
140
+ variant?: keyof typeof badgeVariants;
141
+ className?: string;
142
+ }
143
+
144
+ declare function ITBadget({ children, label, color, size, variant, className, }: ITBadgetProps): react_jsx_runtime.JSX.Element;
145
+
146
+ declare const buttonVariants: Record<string, string>;
147
+
132
148
  interface ITButtonProps {
133
149
  label?: string;
134
150
  children?: React.ReactNode;
@@ -162,6 +178,9 @@ interface ITCalendarProps {
162
178
  onSelectRange?: (start: Date, end: Date) => void;
163
179
  value?: Date;
164
180
  onChange?: (date: Date) => void;
181
+ selectionMode?: 'single' | 'range';
182
+ startDate?: Date;
183
+ endDate?: Date;
165
184
  minDate?: Date;
166
185
  maxDate?: Date;
167
186
  className?: string;
@@ -189,21 +208,122 @@ interface ITCardProps {
189
208
  */
190
209
  declare function ITCard({ title, image, alt, children, actions, className, imageClassName, titleClassName, contentClassName, actionClassName, onClick, }: ITCardProps): react_jsx_runtime.JSX.Element;
191
210
 
211
+ type TableVariants = "default" | "striped" | "bordered";
212
+ type TableSize = "sm" | "md" | "lg";
213
+
214
+ type ColumnType = "string" | "date" | "number" | "boolean" | "actions" | "catalog";
215
+ interface CatalogOption {
216
+ id: string | number;
217
+ name: string;
218
+ }
219
+ interface Column<T = any> {
220
+ key: string;
221
+ label: string;
222
+ className?: string;
223
+ currencyMX?: boolean;
224
+ actions?: (row: T) => React.ReactNode;
225
+ filter?: boolean | "catalog";
226
+ type: ColumnType;
227
+ sortable?: boolean;
228
+ render?: (row: T) => React.ReactNode;
229
+ editComponent?: (props: {
230
+ value: any;
231
+ onChange: (value: any) => void;
232
+ rowData: T;
233
+ }) => React.ReactNode;
234
+ catalogOptions?: {
235
+ data: CatalogOption[];
236
+ loading?: boolean;
237
+ error?: boolean;
238
+ };
239
+ }
240
+ interface ITTableProps<T> {
241
+ columns: Column<T>[];
242
+ containerClassName?: string;
243
+ data: T[];
244
+ variant?: TableVariants;
245
+ className?: string;
246
+ size?: TableSize;
247
+ itemsPerPageOptions?: Array<number>;
248
+ defaultItemsPerPage?: number;
249
+ title?: string;
250
+ }
251
+
252
+ interface ITDataTableFetchParams {
253
+ page: number;
254
+ limit: number;
255
+ filters: Record<string, string | number | boolean | Date>;
256
+ sort?: {
257
+ key: string;
258
+ direction: "asc" | "desc";
259
+ };
260
+ }
261
+ interface ITDataTableResponse<T> {
262
+ data: T[];
263
+ total: number;
264
+ }
265
+ interface ITDataTableProps<T extends Record<string, unknown>> {
266
+ /**
267
+ * The column configuration array matching ITTable but adapted for Server-Side processing
268
+ */
269
+ columns: Column<T>[];
270
+ /**
271
+ * Async callback that the component will trigger whenever pagination, filtering or sorting changes.
272
+ * It must return a Promise with `data` array and the `total` items matching the query.
273
+ */
274
+ fetchData: (params: ITDataTableFetchParams) => Promise<ITDataTableResponse<T>>;
275
+ /**
276
+ * The amount of milliseconds to wait after internal `filters` state changes
277
+ * before triggering `fetchData`. Helpful to avoid spamming the backend while typing.
278
+ * @default 400
279
+ */
280
+ debounceMs?: number;
281
+ /**
282
+ * Filters managed outside of the ITDataTable (e.g. a date range picker).
283
+ * These will be merged with the internal column filters before calling fetchData.
284
+ */
285
+ externalFilters?: Record<string, string | number | boolean | Date>;
286
+ /**
287
+ * Custom element to display instead of the default spinner while `isLoading` is true.
288
+ */
289
+ loadingIndicator?: ReactNode;
290
+ /**
291
+ * Re-fetches the table automatically upon mounting.
292
+ * @default true
293
+ */
294
+ fetchOnMount?: boolean;
295
+ /**
296
+ * External hook to force the component to re-fetch the current page.
297
+ * Example: trigger after a successful modal form submission.
298
+ */
299
+ reloadTrigger?: number | string | boolean;
300
+ containerClassName?: string;
301
+ className?: string;
302
+ variant?: "default" | "striped" | "bordered" | "minimal";
303
+ size?: "sm" | "md" | "lg";
304
+ itemsPerPageOptions?: number[];
305
+ defaultItemsPerPage?: number;
306
+ title?: string | ReactNode;
307
+ }
308
+
309
+ declare function ITDataTable<T extends Record<string, unknown>>({ columns, fetchData, debounceMs, externalFilters, loadingIndicator, fetchOnMount, reloadTrigger, containerClassName, className, variant, size, itemsPerPageOptions, defaultItemsPerPage, title, }: ITDataTableProps<T>): react_jsx_runtime.JSX.Element;
310
+
192
311
  interface ITDatePickerProps {
193
312
  name: string;
194
- value?: Date;
313
+ value?: Date | [Date | null, Date | null];
195
314
  onChange: (event: React.ChangeEvent<HTMLInputElement> | {
196
315
  target: {
197
316
  name: string;
198
- value: Date;
317
+ value: Date | [Date | null, Date | null];
199
318
  };
200
319
  }) => void;
201
320
  onBlur?: (event: React.FocusEvent<HTMLInputElement> | {
202
321
  target: {
203
322
  name: string;
204
- value: Date;
323
+ value: Date | [Date | null, Date | null];
205
324
  };
206
325
  }) => void;
326
+ range?: boolean;
207
327
  variant?: ColorsTypes;
208
328
  size?: SizesTypes;
209
329
  className?: string;
@@ -218,7 +338,7 @@ interface ITDatePickerProps {
218
338
  maxDate?: Date;
219
339
  }
220
340
 
221
- declare function ITDatePicker({ name, value, onChange, onBlur, variant, size, className, calendarClassName, disabled, label, touched, error, required, placeholder, minDate, maxDate, }: ITDatePickerProps): react_jsx_runtime.JSX.Element;
341
+ declare function ITDatePicker({ name, value, onChange, onBlur, variant, size, className, calendarClassName, disabled, label, touched, error, required, placeholder, minDate, maxDate, range, }: ITDatePickerProps): react_jsx_runtime.JSX.Element;
222
342
 
223
343
  interface ITDialogProps {
224
344
  isOpen: boolean;
@@ -335,6 +455,13 @@ interface ITFormBuilderProps {
335
455
 
336
456
  declare function ITFormBuilder({ fields, config, columns, values, handleChange, handleBlur, touched, errors, setFieldValue, setFieldTouched, setFieldError, isSubmitting, }: ITFormBuilderProps): react_jsx_runtime.JSX.Element;
337
457
 
458
+ declare const ITImage: ({ src, alt, className, fallbackSrc, }: {
459
+ src: any;
460
+ alt: any;
461
+ className?: string;
462
+ fallbackSrc?: string;
463
+ }) => react_jsx_runtime.JSX.Element;
464
+
338
465
  interface ITInputProps {
339
466
  name: string;
340
467
  type?: "text" | "password" | "number" | "email" | "checkbox" | "radio" | "textarea";
@@ -371,6 +498,89 @@ interface ITInputProps {
371
498
 
372
499
  declare function ITInput({ name, type, label, placeholder, value, onChange, onBlur, disabled, className, containerClassName, labelClassName, touched, error, formatNumber, required, autoFocus, onClick, iconLeft, iconRight, maxLength, minLength, checked, showHintLength, currencyFormat, rows, min, max, readOnly, focusContent }: ITInputProps): react_jsx_runtime.JSX.Element;
373
500
 
501
+ interface ITNavigationItem$1 {
502
+ id: string;
503
+ label: string;
504
+ icon?: React.ReactNode;
505
+ action?: () => void;
506
+ isActive?: boolean;
507
+ subitems?: ITNavigationSubItem$1[];
508
+ }
509
+ interface ITNavigationSubItem$1 {
510
+ id: string;
511
+ label: string;
512
+ action: () => void;
513
+ isActive?: boolean;
514
+ }
515
+ interface ITNavbarProps {
516
+ logo?: React.ReactNode;
517
+ logoText?: string;
518
+ navigationItems?: ITNavigationItem$1[];
519
+ userMenu?: {
520
+ userImage?: string;
521
+ userName: string;
522
+ userEmail: string;
523
+ menuItems: Array<{
524
+ label: string;
525
+ onClick: () => void;
526
+ }>;
527
+ };
528
+ children?: React.ReactNode;
529
+ navItems?: React.ReactNode;
530
+ showSidebar?: boolean;
531
+ showSidebarOnMobile?: boolean;
532
+ sidebarItems?: React.ReactNode;
533
+ }
534
+
535
+ declare function ITNavbar({ logo, logoText, navigationItems, userMenu, children, navItems, showSidebar, showSidebarOnMobile, sidebarItems, }: ITNavbarProps): react_jsx_runtime.JSX.Element;
536
+
537
+ interface ITPaginationProps {
538
+ /**
539
+ * Current active page (1-indexed).
540
+ */
541
+ currentPage: number;
542
+ /**
543
+ * Total number of pages available.
544
+ */
545
+ totalPages: number;
546
+ /**
547
+ * Callback fired when a page is clicked or next/prev is activated.
548
+ */
549
+ onPageChange: (page: number) => void;
550
+ /**
551
+ * Number of visible pages before and after the current page.
552
+ * Default: 1
553
+ */
554
+ siblingCount?: number;
555
+ /**
556
+ * Semantic color from the theme (primary, secondary, success, danger, warning, info, purple).
557
+ * Default: primary
558
+ */
559
+ color?: string;
560
+ /**
561
+ * Additional CSS classes for the container.
562
+ */
563
+ className?: string;
564
+ /**
565
+ * Options for items per page selector.
566
+ */
567
+ itemsPerPageOptions?: number[];
568
+ /**
569
+ * Current items per page value. Required if itemsPerPageOptions is provided.
570
+ */
571
+ itemsPerPage?: number;
572
+ /**
573
+ * Callback fired when items per page is changed.
574
+ */
575
+ onItemsPerPageChange?: (value: number) => void;
576
+ /**
577
+ * Total number of items across all pages. Used to render "1-10 of 50" text.
578
+ */
579
+ totalItems?: number;
580
+ }
581
+
582
+ declare function ITPagination({ currentPage, totalPages, onPageChange, siblingCount, color, className, itemsPerPageOptions, itemsPerPage, onItemsPerPageChange, totalItems, }: ITPaginationProps): react_jsx_runtime.JSX.Element;
583
+
374
584
  interface OptionType {
375
585
  [key: string]: string;
376
586
  }
@@ -447,48 +657,12 @@ interface ITSlideToggleProps {
447
657
  declare function ITSlideToggle({ onToggle, isOn: controlledIsOn, initialState, activeColor, inactiveColor, // default gray-400
448
658
  disabled, size, className, }: ITSlideToggleProps): react_jsx_runtime.JSX.Element;
449
659
 
450
- type TableVariants = "default" | "striped" | "bordered";
451
- type TableSize = "sm" | "md" | "lg";
660
+ declare function ITTable<T extends Record<string, unknown>>({ columns, data, containerClassName, className, variant, size, itemsPerPageOptions, defaultItemsPerPage, title, }: ITTableProps<T>): react_jsx_runtime.JSX.Element;
452
661
 
453
- type ColumnType = "string" | "date" | "number" | "boolean" | "actions" | "catalog";
454
- interface CatalogOption {
455
- id: string | number;
456
- name: string;
457
- }
458
- interface Column<T = any> {
459
- key: string;
460
- label: string;
461
- className?: string;
462
- currencyMX?: boolean;
463
- actions?: (row: T) => React.ReactNode;
464
- filter?: boolean | "catalog";
465
- type: ColumnType;
466
- sortable?: boolean;
467
- render?: (row: T) => React.ReactNode;
468
- editComponent?: (props: {
469
- value: any;
470
- onChange: (value: any) => void;
471
- rowData: T;
472
- }) => React.ReactNode;
473
- catalogOptions?: {
474
- data: CatalogOption[];
475
- loading?: boolean;
476
- error?: boolean;
477
- };
478
- }
479
- interface ITTableProps<T> {
480
- columns: Column<T>[];
481
- containerClassName?: string;
482
- data: T[];
483
- variant?: TableVariants;
662
+ declare function ITText({ children, className }: {
663
+ children: any;
484
664
  className?: string;
485
- size?: TableSize;
486
- itemsPerPageOptions?: Array<number>;
487
- defaultItemsPerPage?: number;
488
- title?: string;
489
- }
490
-
491
- declare function ITTable<T extends Record<string, unknown>>({ columns, data, containerClassName, className, variant, size, itemsPerPageOptions, defaultItemsPerPage, title, }: ITTableProps<T>): react_jsx_runtime.JSX.Element;
665
+ }): react_jsx_runtime.JSX.Element;
492
666
 
493
667
  interface ITToastProps {
494
668
  message: string;
@@ -500,135 +674,37 @@ interface ITToastProps {
500
674
 
501
675
  declare function ITToast({ message, type, duration, position, onClose, }: ITToastProps): react_jsx_runtime.JSX.Element;
502
676
 
503
- interface ITNavigationItem$1 {
504
- id: string;
505
- label: string;
506
- icon?: React.ReactNode;
507
- action?: () => void;
508
- isActive?: boolean;
509
- subitems?: ITNavigationSubItem$1[];
510
- }
511
- interface ITNavigationSubItem$1 {
512
- id: string;
513
- label: string;
514
- action: () => void;
515
- isActive?: boolean;
516
- }
517
- interface ITNavbarProps {
518
- logo?: React.ReactNode;
519
- logoText?: string;
520
- navigationItems?: ITNavigationItem$1[];
521
- userMenu?: {
522
- userImage?: string;
523
- userName: string;
524
- userEmail: string;
525
- menuItems: Array<{
526
- label: string;
527
- onClick: () => void;
528
- }>;
529
- };
530
- children?: React.ReactNode;
531
- navItems?: React.ReactNode;
532
- showSidebar?: boolean;
533
- showSidebarOnMobile?: boolean;
534
- sidebarItems?: React.ReactNode;
535
- }
536
-
537
- declare function ITNavbar({ logo, logoText, navigationItems, userMenu, children, navItems, showSidebar, showSidebarOnMobile, sidebarItems, }: ITNavbarProps): react_jsx_runtime.JSX.Element;
538
-
539
- declare function ITText({ children, className }: {
540
- children: any;
541
- className?: string;
542
- }): react_jsx_runtime.JSX.Element;
543
-
544
- declare const ITImage: ({ src, alt, className, fallbackSrc, }: {
545
- src: any;
546
- alt: any;
547
- className?: string;
548
- fallbackSrc?: string;
549
- }) => react_jsx_runtime.JSX.Element;
550
-
551
- declare const badgeVariants: {
552
- readonly filled: "filled";
553
- readonly outlined: "outlined";
554
- };
555
-
556
- interface ITBadgetProps {
557
- label?: string;
558
- children?: React.ReactNode;
559
- color?: ColorsTypes;
560
- size?: SizesTypes;
561
- variant?: keyof typeof badgeVariants;
562
- className?: string;
677
+ /** Enum con tipos de archivo permitidos */
678
+ declare enum FileTypeEnum {
679
+ PDF = "application/pdf",
680
+ XLS = "application/vnd.ms-excel",
681
+ XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
682
+ CSV = "text/csv",
683
+ PNG = "image/png",
684
+ JPG = "image/jpg",
685
+ JPEG = "image/jpeg"
563
686
  }
564
-
565
- declare function ITBadget({ children, label, color, size, variant, className, }: ITBadgetProps): react_jsx_runtime.JSX.Element;
566
-
567
- interface ITPaginationProps {
568
- /**
569
- * Current active page (1-indexed).
570
- */
571
- currentPage: number;
572
- /**
573
- * Total number of pages available.
574
- */
575
- totalPages: number;
576
- /**
577
- * Callback fired when a page is clicked or next/prev is activated.
578
- */
579
- onPageChange: (page: number) => void;
580
- /**
581
- * Number of visible pages before and after the current page.
582
- * Default: 1
583
- */
584
- siblingCount?: number;
585
- /**
586
- * Semantic color from the theme (primary, secondary, success, danger, warning, info, purple).
587
- * Default: primary
588
- */
589
- color?: string;
590
- /**
591
- * Additional CSS classes for the container.
592
- */
593
- className?: string;
594
- /**
595
- * Options for items per page selector.
596
- */
597
- itemsPerPageOptions?: number[];
598
- /**
599
- * Current items per page value. Required if itemsPerPageOptions is provided.
600
- */
601
- itemsPerPage?: number;
602
- /**
603
- * Callback fired when items per page is changed.
604
- */
605
- onItemsPerPageChange?: (value: number) => void;
606
- /**
607
- * Total number of items across all pages. Used to render "1-10 of 50" text.
608
- */
609
- totalItems?: number;
687
+ /** Enum para el estado de subida */
688
+ declare enum UploadStatus {
689
+ PENDING = "pendiente",
690
+ UPLOADING = "subiendo",
691
+ UPLOADED = "subido",
692
+ ERROR = "error"
610
693
  }
611
-
612
- declare function ITPagination({ currentPage, totalPages, onPageChange, siblingCount, color, className, itemsPerPageOptions, itemsPerPage, onItemsPerPageChange, totalItems, }: ITPaginationProps): react_jsx_runtime.JSX.Element;
613
-
614
- declare const createValidationSchema: (fields: FieldConfig[]) => Yup.ObjectSchema<{
615
- [x: string]: never;
616
- }, Yup.AnyObject, {
617
- [x: string]: any;
618
- }, "">;
619
-
620
- type LoaderSize = "sm" | "md" | "lg" | "xl";
621
- type LoaderVariant = "spinner" | "dots" | "bar" | "pulse";
622
-
623
- interface LoaderProps {
624
- size?: LoaderSize;
625
- variant?: LoaderVariant;
626
- color?: string;
627
- className?: string;
694
+ /** Props del componente */
695
+ interface ITDropfileProps {
696
+ onFileSelect: (file: File | null) => void;
697
+ onCancel?: () => void;
698
+ onSubmit?: (file: File) => void;
699
+ acceptedFileTypes?: FileTypeEnum[];
700
+ contentClassName?: string;
701
+ containerClassName?: string;
702
+ showStatusBadge?: boolean;
703
+ uploadStatus?: UploadStatus;
704
+ onStatusChange?: (status: UploadStatus) => void;
705
+ initialPreviewUrl?: string | null;
628
706
  }
629
-
630
- declare function ITLoader({ size, variant, color, // Default to semantic primary
631
- className, }: LoaderProps): react_jsx_runtime.JSX.Element;
707
+ declare const ITDropfile: React__default.FC<ITDropfileProps>;
632
708
 
633
709
  interface ITTopBarNavItem {
634
710
  id: string;
@@ -682,60 +758,23 @@ interface ITLayoutProps {
682
758
  sidebar: ITSidebarProps;
683
759
  children: React.ReactNode;
684
760
  className?: string;
761
+ contentClassName?: string;
685
762
  }
686
763
 
687
- declare function ITLayout({ topBar, sidebar, children, className, }: ITLayoutProps): react_jsx_runtime.JSX.Element;
764
+ declare function ITLayout({ topBar, sidebar, children, className, contentClassName, }: ITLayoutProps): react_jsx_runtime.JSX.Element;
688
765
 
689
- interface ITTimePickerProps {
690
- name: string;
691
- value?: string;
692
- label?: string;
693
- placeholder?: string;
694
- onChange: (e: any) => void;
695
- onBlur: (e: any) => void;
696
- required?: boolean;
697
- touched?: boolean;
698
- error?: string | boolean;
699
- disabled?: boolean;
766
+ type LoaderSize = "sm" | "md" | "lg" | "xl";
767
+ type LoaderVariant = "spinner" | "dots" | "bar" | "pulse";
768
+
769
+ interface LoaderProps {
770
+ size?: LoaderSize;
771
+ variant?: LoaderVariant;
772
+ color?: string;
700
773
  className?: string;
701
- size?: "small" | "medium" | "large";
702
- variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
703
- color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
704
774
  }
705
775
 
706
- declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
707
-
708
- /** Enum con tipos de archivo permitidos */
709
- declare enum FileTypeEnum {
710
- PDF = "application/pdf",
711
- XLS = "application/vnd.ms-excel",
712
- XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
713
- CSV = "text/csv",
714
- PNG = "image/png",
715
- JPG = "image/jpg",
716
- JPEG = "image/jpeg"
717
- }
718
- /** Enum para el estado de subida */
719
- declare enum UploadStatus {
720
- PENDING = "pendiente",
721
- UPLOADING = "subiendo",
722
- UPLOADED = "subido",
723
- ERROR = "error"
724
- }
725
- /** Props del componente */
726
- interface ITDropfileProps {
727
- onFileSelect: (file: File | null) => void;
728
- onCancel?: () => void;
729
- onSubmit?: (file: File) => void;
730
- acceptedFileTypes?: FileTypeEnum[];
731
- contentClassName?: string;
732
- containerClassName?: string;
733
- showStatusBadge?: boolean;
734
- uploadStatus?: UploadStatus;
735
- onStatusChange?: (status: UploadStatus) => void;
736
- initialPreviewUrl?: string | null;
737
- }
738
- declare const ITDropfile: React__default.FC<ITDropfileProps>;
776
+ declare function ITLoader({ size, variant, color, // Default to semantic primary
777
+ className, }: LoaderProps): react_jsx_runtime.JSX.Element;
739
778
 
740
779
  type IconType = React__default.ReactNode;
741
780
  interface Step {
@@ -792,6 +831,71 @@ interface ITThemeConfig {
792
831
  backgroundColor?: string;
793
832
  contentPadding?: string;
794
833
  };
834
+ topbar?: {
835
+ backgroundColor?: string;
836
+ borderColor?: string;
837
+ iconColor?: string;
838
+ iconHoverColor?: string;
839
+ shadow?: string;
840
+ textColor?: string;
841
+ textHoverColor?: string;
842
+ userMenu?: {
843
+ backgroundColor?: string;
844
+ hoverBackground?: string;
845
+ textColor?: string;
846
+ subtitleColor?: string;
847
+ dropdown?: {
848
+ backgroundColor?: string;
849
+ borderColor?: string;
850
+ itemHoverBackground?: string;
851
+ };
852
+ };
853
+ };
854
+ sidebar?: {
855
+ backgroundColor?: string;
856
+ borderColor?: string;
857
+ label?: {
858
+ color?: string;
859
+ size?: string;
860
+ weight?: string;
861
+ };
862
+ icon?: {
863
+ color?: string;
864
+ size?: string;
865
+ };
866
+ hover?: {
867
+ backgroundColor?: string;
868
+ };
869
+ active?: {
870
+ backgroundColor?: string;
871
+ color?: string;
872
+ iconColor?: string;
873
+ };
874
+ badge?: {
875
+ backgroundColor?: string;
876
+ color?: string;
877
+ };
878
+ };
879
+ calendar?: {
880
+ backgroundColor?: string;
881
+ borderColor?: string;
882
+ header?: {
883
+ textColor?: string;
884
+ hoverBackground?: string;
885
+ };
886
+ days?: {
887
+ textColor?: string;
888
+ weekendColor?: string;
889
+ outsideMonthColor?: string;
890
+ };
891
+ selection?: {
892
+ selectedColor?: string;
893
+ selectedBackground?: string;
894
+ rangeBackground?: string;
895
+ todayBackground?: string;
896
+ todayColor?: string;
897
+ };
898
+ };
795
899
  }
796
900
 
797
901
  interface ITThemeProviderProps {
@@ -801,4 +905,29 @@ interface ITThemeProviderProps {
801
905
 
802
906
  declare function ITThemeProvider({ theme, children }: ITThemeProviderProps): react_jsx_runtime.JSX.Element;
803
907
 
804
- export { type Column, type FieldConfig, type FieldConfigV2, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, ITTable, type ITTableProps, ITText, type ITThemeConfig, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, createValidationSchema };
908
+ interface ITTimePickerProps {
909
+ name: string;
910
+ value?: string;
911
+ label?: string;
912
+ placeholder?: string;
913
+ onChange: (e: any) => void;
914
+ onBlur: (e: any) => void;
915
+ required?: boolean;
916
+ touched?: boolean;
917
+ error?: string | boolean;
918
+ disabled?: boolean;
919
+ className?: string;
920
+ size?: "small" | "medium" | "large";
921
+ variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
922
+ color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
923
+ }
924
+
925
+ declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
926
+
927
+ declare const createValidationSchema: (fields: FieldConfig[]) => Yup.ObjectSchema<{
928
+ [x: string]: never;
929
+ }, Yup.AnyObject, {
930
+ [x: string]: any;
931
+ }, "">;
932
+
933
+ export { type Column, type FieldConfig, type FieldConfigV2, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDataTable, type ITDataTableFetchParams, type ITDataTableProps, type ITDataTableResponse, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, ITTable, type ITTableProps, ITText, type ITThemeConfig, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, createValidationSchema };