componentes-sinco 1.0.25 → 1.0.27
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.cjs +358 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.js +355 -174
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -430,6 +430,23 @@ interface SCDialogProps {
|
|
|
430
430
|
}
|
|
431
431
|
declare const SCDialog: ({ title, iconTitle, subtitle, content, actions, buttonDialog, disableClose, dividers, widthContent, heightContent, background, setShow, show }: SCDialogProps) => React__default.JSX.Element;
|
|
432
432
|
|
|
433
|
+
interface Option$2 {
|
|
434
|
+
title?: string;
|
|
435
|
+
subtitle?: any;
|
|
436
|
+
description?: any;
|
|
437
|
+
iconLeftColor?: 'inherit' | 'action' | 'disabled' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
438
|
+
iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
439
|
+
iconRightColor?: 'inherit' | 'action' | 'disabled' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
440
|
+
iconRight?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
441
|
+
divider?: boolean;
|
|
442
|
+
disable?: boolean;
|
|
443
|
+
fn?: any;
|
|
444
|
+
}
|
|
445
|
+
interface SCListContentProps {
|
|
446
|
+
options: Option$2[];
|
|
447
|
+
}
|
|
448
|
+
declare const SCListContent: ({ options }: SCListContentProps) => React__default.JSX.Element;
|
|
449
|
+
|
|
433
450
|
interface Option$1 {
|
|
434
451
|
name?: string;
|
|
435
452
|
iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
@@ -507,6 +524,7 @@ interface CalendarProps {
|
|
|
507
524
|
onMoreClick?: (date: dayjs.Dayjs, events: CalendarEvent[]) => void;
|
|
508
525
|
onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
|
|
509
526
|
onViewChange?: (view: CalendarView) => void;
|
|
527
|
+
onDateChange?: (date: dayjs.Dayjs) => void;
|
|
510
528
|
onEventHover?: (event: CalendarEvent) => React.ReactNode;
|
|
511
529
|
onNavigate?: (action: 'TODAY' | 'PREV' | 'NEXT') => void;
|
|
512
530
|
isLoading?: boolean;
|
|
@@ -547,8 +565,18 @@ interface SCCardProps {
|
|
|
547
565
|
}
|
|
548
566
|
declare const SCCard: ({ title, image, iconTitle, actionsTitle, subtitle, content, actions, expand }: SCCardProps) => React__default.JSX.Element;
|
|
549
567
|
|
|
568
|
+
interface SCActivityCalendarProps {
|
|
569
|
+
background?: string;
|
|
570
|
+
setState: React__default.Dispatch<React__default.SetStateAction<string>>;
|
|
571
|
+
state: string | any;
|
|
572
|
+
events: any[];
|
|
573
|
+
fn?: any;
|
|
574
|
+
configRangeHour?: string;
|
|
575
|
+
}
|
|
576
|
+
declare const SCActivityCalendar: ({ background, setState, state, events, fn, configRangeHour, }: SCActivityCalendarProps) => React__default.JSX.Element;
|
|
577
|
+
|
|
550
578
|
declare const SincoTheme: _mui_material_styles.Theme;
|
|
551
579
|
declare let AdproSincoTheme: _mui_material_styles.Theme;
|
|
552
580
|
declare let ADCSincoTheme: _mui_material_styles.Theme;
|
|
553
581
|
|
|
554
|
-
export { ADCSincoTheme, AdproSincoTheme, Attachment, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, PageHeader, type PageheaderProperties, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyButtonVariants, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDateRange, SCDialog, SCDrawer, SCMenu, SCModal, SCSelect, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SincoTheme, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, getButtonColor, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useFilteredItems, useMultiSelectHandlers, useProgress };
|
|
582
|
+
export { ADCSincoTheme, AdproSincoTheme, Attachment, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, PageHeader, type PageheaderProperties, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyButtonVariants, SCActivityCalendar, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDateRange, SCDialog, SCDrawer, SCListContent, SCMenu, SCModal, SCSelect, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SincoTheme, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, getButtonColor, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useFilteredItems, useMultiSelectHandlers, useProgress };
|
package/dist/index.d.ts
CHANGED
|
@@ -430,6 +430,23 @@ interface SCDialogProps {
|
|
|
430
430
|
}
|
|
431
431
|
declare const SCDialog: ({ title, iconTitle, subtitle, content, actions, buttonDialog, disableClose, dividers, widthContent, heightContent, background, setShow, show }: SCDialogProps) => React__default.JSX.Element;
|
|
432
432
|
|
|
433
|
+
interface Option$2 {
|
|
434
|
+
title?: string;
|
|
435
|
+
subtitle?: any;
|
|
436
|
+
description?: any;
|
|
437
|
+
iconLeftColor?: 'inherit' | 'action' | 'disabled' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
438
|
+
iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
439
|
+
iconRightColor?: 'inherit' | 'action' | 'disabled' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
440
|
+
iconRight?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
441
|
+
divider?: boolean;
|
|
442
|
+
disable?: boolean;
|
|
443
|
+
fn?: any;
|
|
444
|
+
}
|
|
445
|
+
interface SCListContentProps {
|
|
446
|
+
options: Option$2[];
|
|
447
|
+
}
|
|
448
|
+
declare const SCListContent: ({ options }: SCListContentProps) => React__default.JSX.Element;
|
|
449
|
+
|
|
433
450
|
interface Option$1 {
|
|
434
451
|
name?: string;
|
|
435
452
|
iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
|
|
@@ -507,6 +524,7 @@ interface CalendarProps {
|
|
|
507
524
|
onMoreClick?: (date: dayjs.Dayjs, events: CalendarEvent[]) => void;
|
|
508
525
|
onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
|
|
509
526
|
onViewChange?: (view: CalendarView) => void;
|
|
527
|
+
onDateChange?: (date: dayjs.Dayjs) => void;
|
|
510
528
|
onEventHover?: (event: CalendarEvent) => React.ReactNode;
|
|
511
529
|
onNavigate?: (action: 'TODAY' | 'PREV' | 'NEXT') => void;
|
|
512
530
|
isLoading?: boolean;
|
|
@@ -547,8 +565,18 @@ interface SCCardProps {
|
|
|
547
565
|
}
|
|
548
566
|
declare const SCCard: ({ title, image, iconTitle, actionsTitle, subtitle, content, actions, expand }: SCCardProps) => React__default.JSX.Element;
|
|
549
567
|
|
|
568
|
+
interface SCActivityCalendarProps {
|
|
569
|
+
background?: string;
|
|
570
|
+
setState: React__default.Dispatch<React__default.SetStateAction<string>>;
|
|
571
|
+
state: string | any;
|
|
572
|
+
events: any[];
|
|
573
|
+
fn?: any;
|
|
574
|
+
configRangeHour?: string;
|
|
575
|
+
}
|
|
576
|
+
declare const SCActivityCalendar: ({ background, setState, state, events, fn, configRangeHour, }: SCActivityCalendarProps) => React__default.JSX.Element;
|
|
577
|
+
|
|
550
578
|
declare const SincoTheme: _mui_material_styles.Theme;
|
|
551
579
|
declare let AdproSincoTheme: _mui_material_styles.Theme;
|
|
552
580
|
declare let ADCSincoTheme: _mui_material_styles.Theme;
|
|
553
581
|
|
|
554
|
-
export { ADCSincoTheme, AdproSincoTheme, Attachment, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, PageHeader, type PageheaderProperties, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyButtonVariants, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDateRange, SCDialog, SCDrawer, SCMenu, SCModal, SCSelect, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SincoTheme, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, getButtonColor, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useFilteredItems, useMultiSelectHandlers, useProgress };
|
|
582
|
+
export { ADCSincoTheme, AdproSincoTheme, Attachment, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, PageHeader, type PageheaderProperties, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyButtonVariants, SCActivityCalendar, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDateRange, SCDialog, SCDrawer, SCListContent, SCMenu, SCModal, SCSelect, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SincoTheme, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, getButtonColor, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useFilteredItems, useMultiSelectHandlers, useProgress };
|