@galaxy-ds/core 2.0.4 → 2.0.5
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.ts +3 -0
- package/dist/index.esm.js +477 -329
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +477 -325
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +4 -1
- package/dist/Accordion/AccordionProps.types.d.ts +0 -10
- package/dist/AccordionDetails/AccordionDetails.styled.d.ts +0 -2
- package/dist/AccordionDetails/AccordionDetailsProps.types.d.ts +0 -3
- package/dist/AccordionPanel/AccordionPanel.styled.d.ts +0 -17
- package/dist/AccordionPanel/AccordionPanelProps.types.d.ts +0 -3
- package/dist/AccordionSummary/AccordionSummary.styled.d.ts +0 -7
- package/dist/AccordionSummary/AccordionSummaryProps.types.d.ts +0 -4
- package/dist/AppointmentCalendar/AppointmentCalendar.d.ts +0 -4
- package/dist/AppointmentCalendar/AppointmentCalendarProps.types.d.ts +0 -89
- package/dist/Autocomplete/AutocompleteProps.types.d.ts +0 -80
- package/dist/AvatarGroup/AvatarGroupProps.types.d.ts +0 -8
- package/dist/AvatarsGroup/AvatarsGroup.d.ts +0 -4
- package/dist/AvatarsGroup/AvatarsGroup.types.d.ts +0 -9
- package/dist/Badge/Badge.d.ts +0 -4
- package/dist/Badge/Badge.styled.d.ts +0 -4
- package/dist/Badge/Badge.types.d.ts +0 -3
- package/dist/Badge/index.d.ts +0 -2
- package/dist/BottomListButton/BottomListButtonProps.types.d.ts +0 -4
- package/dist/Box/BoxProps.types.d.ts +0 -3
- package/dist/Breadcrumbs/BreadcrumbsProps.types.d.ts +0 -4
- package/dist/Button/ButtonProps.types.d.ts +0 -5
- package/dist/Card/CardProps.types.d.ts +0 -6
- package/dist/Chip/ChipProps.types.d.ts +0 -10
- package/dist/DatePicker/DatePickerProps.types.d.ts +0 -10
- package/dist/DateRangePicker/DateRangePickerProps.types.d.ts +0 -3
- package/dist/Dialog/Dialog.types.d.ts +0 -11
- package/dist/Divider/DividerProps.types.d.ts +0 -5
- package/dist/Drawer/DrawerProps.types.d.ts +0 -10
- package/dist/DrawerMenu/DrawerMenuProps.types.d.ts +0 -29
- package/dist/EmptyState/EmptyStateProps.types.d.ts +0 -7
- package/dist/FooterActions/FooterActionsProps.types.d.ts +0 -5
- package/dist/FormGroup/FormGroupProps.types.d.ts +0 -23
- package/dist/Grid/GridProps.types.d.ts +0 -3
- package/dist/HeaderToolbar/HeaderToolbarProps.types.d.ts +0 -25
- package/dist/Icon/IconProps.types.d.ts +0 -4
- package/dist/Icons/Access.d.ts +0 -3
- package/dist/Icons/AccountingIcon.d.ts +0 -3
- package/dist/Icons/AssignCurvedIcon.d.ts +0 -3
- package/dist/Icons/AvatarBusiness.d.ts +0 -3
- package/dist/Icons/AvatarCompany.d.ts +0 -3
- package/dist/Icons/AvatarGovernment.d.ts +0 -3
- package/dist/Icons/AvatarPeople.d.ts +0 -3
- package/dist/Icons/AvatarPerson.d.ts +0 -3
- package/dist/Icons/AvatarTrust.d.ts +0 -3
- package/dist/Icons/Browse.d.ts +0 -3
- package/dist/Icons/Browse2.d.ts +0 -3
- package/dist/Icons/ButtonCaret.d.ts +0 -3
- package/dist/Icons/ButtonFilter.d.ts +0 -3
- package/dist/Icons/Calendar.d.ts +0 -3
- package/dist/Icons/ChevronDown.d.ts +0 -3
- package/dist/Icons/ChevronLeft.d.ts +0 -3
- package/dist/Icons/ChevronRight.d.ts +0 -3
- package/dist/Icons/CoinEuroIcon.d.ts +0 -3
- package/dist/Icons/CoinIcon.d.ts +0 -3
- package/dist/Icons/CoinPoundIcon.d.ts +0 -3
- package/dist/Icons/Cross.d.ts +0 -3
- package/dist/Icons/CrossIcon16.d.ts +0 -3
- package/dist/Icons/CurrencyEuroIcon.d.ts +0 -3
- package/dist/Icons/CurrencyIcon.d.ts +0 -3
- package/dist/Icons/CurrencyPoundIcon.d.ts +0 -3
- package/dist/Icons/Dialog/Alert.d.ts +0 -3
- package/dist/Icons/Dialog/Info.d.ts +0 -3
- package/dist/Icons/Dialog/InfoCircle.d.ts +0 -3
- package/dist/Icons/Dialog/LeapLogo.d.ts +0 -3
- package/dist/Icons/Dialog/Warning.d.ts +0 -3
- package/dist/Icons/Doctype/ActivityTypeDefault.d.ts +0 -3
- package/dist/Icons/Doctype/ActivityTypePhoneCall.d.ts +0 -3
- package/dist/Icons/Doctype/ActivityTypeScannedDoc.d.ts +0 -3
- package/dist/Icons/Doctype/ActivityTypeVideoCall.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeAppointment.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeAppointmentCriticalDate.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeAudio.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeClausePrecedent.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeComment.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeCriticalDate.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeDeadline.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeDefault.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeEmail.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeEmailDraft.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeEmailReceived.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeEmailRecieved.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeEmailSent.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeExcel.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeFax.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeFileNote.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeFolder.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeImage.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeInfotrack.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeInvoiceRequest.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeInvoiceRequests.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeLetter.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeMemo.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypePdf.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypePowerpoint.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeSMS.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeSignatureDeclined.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeSignaturePending.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeSignatureRequest.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeSignatureSigned.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeTasks.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeTrust.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeVideo.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeWord.d.ts +0 -3
- package/dist/Icons/Doctype/DocTypeZip.d.ts +0 -3
- package/dist/Icons/Doctype/index.d.ts +0 -39
- package/dist/Icons/Doctype16/ActivityTypeDefault16.d.ts +0 -3
- package/dist/Icons/Doctype16/ActivityTypePhoneCall16.d.ts +0 -3
- package/dist/Icons/Doctype16/ActivityTypeScannedDoc16.d.ts +0 -3
- package/dist/Icons/Doctype16/ActivityTypeVideoCall16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeAppointment16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeAppointmentCriticalDate16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeAudio16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeClausePrecedent16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeComment16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeCriticalDate16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeDeadline16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeDefault16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeEmail16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeEmailDraft16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeEmailReceived16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeEmailSent16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeExcel16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeFax16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeFileNote16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeFolder16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeImage16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeInfotrack16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeInvoiceRequest16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeInvoiceRequests16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeLetter16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeMemo16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypePdf16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypePowerpoint16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeSMS16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeSignatureDeclined16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeSignaturePending16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeSignatureRequest16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeSignatureSigned16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeTasks16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeTrust16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeVideo16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeWord16.d.ts +0 -3
- package/dist/Icons/Doctype16/DocTypeZip16.d.ts +0 -3
- package/dist/Icons/Doctype16/index.d.ts +0 -38
- package/dist/Icons/EmailSentIcon.d.ts +0 -3
- package/dist/Icons/EnvelopeIcon.d.ts +0 -3
- package/dist/Icons/HomeIcon.d.ts +0 -3
- package/dist/Icons/InsertLink.d.ts +0 -3
- package/dist/Icons/LinkMatter.d.ts +0 -3
- package/dist/Icons/LinkMatterIcon.d.ts +0 -3
- package/dist/Icons/Loader.d.ts +0 -3
- package/dist/Icons/Logos/LawconnectIcon.d.ts +0 -2
- package/dist/Icons/Logos/LeapLogo.d.ts +0 -2
- package/dist/Icons/Logos/poweredByLawconnect.d.ts +0 -2
- package/dist/Icons/MenuIcon.d.ts +0 -3
- package/dist/Icons/MoreVerticalIcon.d.ts +0 -3
- package/dist/Icons/NewAppointment.d.ts +0 -3
- package/dist/Icons/Power.d.ts +0 -3
- package/dist/Icons/Preview.d.ts +0 -3
- package/dist/Icons/Receipt.d.ts +0 -3
- package/dist/Icons/ReportingIcon.d.ts +0 -3
- package/dist/Icons/ResponseIcon.d.ts +0 -3
- package/dist/Icons/RevokeAccess.d.ts +0 -3
- package/dist/Icons/Search.d.ts +0 -3
- package/dist/Icons/SelectFilterEmpty.d.ts +0 -3
- package/dist/Icons/SelectFilterFilled.d.ts +0 -3
- package/dist/Icons/Spinner.d.ts +0 -3
- package/dist/Icons/Tick.d.ts +0 -3
- package/dist/Icons/UserLink.d.ts +0 -3
- package/dist/Icons/UserLock.d.ts +0 -3
- package/dist/Icons/Users.d.ts +0 -3
- package/dist/Icons/ViewAsUser.d.ts +0 -3
- package/dist/Icons/ViewAsUserIcon.d.ts +0 -3
- package/dist/Icons/activities/activities16/ActivityTypeDefault16.d.ts +0 -3
- package/dist/Icons/activities/activities16/ActivityTypePhoneCall16.d.ts +0 -3
- package/dist/Icons/activities/activities16/ActivityTypeScannedDoc16.d.ts +0 -3
- package/dist/Icons/activities/activities16/ActivityTypeVideoCall16.d.ts +0 -3
- package/dist/Icons/index.d.ts +0 -50
- package/dist/Icons/leap/activities/Activities16/ActivityTypeDefault16.d.ts +0 -3
- package/dist/Icons/leap/activities/Activities16/ActivityTypePhoneCall16.d.ts +0 -3
- package/dist/Icons/leap/activities/Activities16/ActivityTypeScannedDoc16.d.ts +0 -3
- package/dist/Icons/leap/activities/Activities16/ActivityTypeVideoCall16.d.ts +0 -3
- package/dist/Icons/leap/ribbon/Calendar32.d.ts +0 -3
- package/dist/Icons/leap/ribbon/CalendarDark32.d.ts +0 -3
- package/dist/Icons/leap/ribbon/Delete32.d.ts +0 -3
- package/dist/Icons/leap/ribbon/DeleteDark32.d.ts +0 -3
- package/dist/Icons/leap/ribbon/MatterFolder32.d.ts +0 -3
- package/dist/Icons/leap/ribbon/MatterFolderDark32.d.ts +0 -3
- package/dist/ImageUpload/ImageUploadProps.types.d.ts +0 -7
- package/dist/Input/InputProps.types.d.ts +0 -26
- package/dist/MenuContext/MenuContext.d.ts +0 -4
- package/dist/MenuContext/MenuContext.types.d.ts +0 -18
- package/dist/MenuHeader/MenuHeaderProps.types.d.ts +0 -3
- package/dist/MenuItemSystem/MenuItemSystem.d.ts +0 -4
- package/dist/MenuItemSystem/MenuItemSystem.types.d.ts +0 -25
- package/dist/Modal/ModalProps.types.d.ts +0 -5
- package/dist/ModalActions/ModalActionsProps.types.d.ts +0 -3
- package/dist/ModalContent/ModalContentProps.types.d.ts +0 -7
- package/dist/ModalTitle/ModalTitleProps.types.d.ts +0 -4
- package/dist/RadioGroup/RadioGroupProps.types.d.ts +0 -4
- package/dist/SidebarLayout/SidebarLayoutProps.types.d.ts +0 -15
- package/dist/Switch/SwitchProps.types.d.ts +0 -3
- package/dist/Table/TableProps.types.d.ts +0 -11
- package/dist/TableBody/TableBodyProps.types.d.ts +0 -8
- package/dist/TableCell/TableCellProps.types.d.ts +0 -14
- package/dist/TableCellIcon/TableCellIconProps.types.d.ts +0 -5
- package/dist/TableContainer/TableContainerProps.types.d.ts +0 -3
- package/dist/TableFooter/TableFooterProps.types.d.ts +0 -8
- package/dist/TableHead/TableHeadProps.types.d.ts +0 -12
- package/dist/TableRow/TableRowProps.types.d.ts +0 -20
- package/dist/Tag/TagProps.types.d.ts +0 -18
- package/dist/ThemeProvider/ThemeProviderProps.types.d.ts +0 -5
- package/dist/Themes/Core/baseline.d.ts +0 -35
- package/dist/Themes/Core/common.d.ts +0 -289
- package/dist/Themes/Core/props.d.ts +0 -31
- package/dist/Themes/Desktop/index.d.ts +0 -1
- package/dist/Themes/Desktop/pallette.d.ts +0 -234
- package/dist/Themes/Desktop/theme.d.ts +0 -1
- package/dist/Themes/Desktop/typography.d.ts +0 -84
- package/dist/Themes/Web/index.d.ts +0 -1
- package/dist/Themes/Web/pallette.d.ts +0 -234
- package/dist/Themes/Web/theme.d.ts +0 -1
- package/dist/Themes/Web/typography.d.ts +0 -93
- package/dist/Themes/index.d.ts +0 -7
- package/dist/ToolbarButton/ToolbarButtonProps.types.d.ts +0 -8
- package/dist/Tooltip/TooltipProps.types.d.ts +0 -3
- package/dist/TwoColumnLayout/TwoColumnLayoutProps.types.d.ts +0 -11
- /package/dist/Icons/doctypes/Doctype16/{DocTypeExcel16ShortCut.d.ts → DocTypeExcel16Shortcut.d.ts} +0 -0
- /package/dist/Logos/Leap/{poweredByLawconnect.d.ts → PoweredByLawconnect.d.ts} +0 -0
package/dist/package.json
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -58,7 +58,10 @@ export * from './ModalContent';
|
|
|
58
58
|
export * from './ModalTitle';
|
|
59
59
|
export * from './Pagination';
|
|
60
60
|
export * from './ProgressBar';
|
|
61
|
+
export * from './Popover';
|
|
61
62
|
export * from './Radio';
|
|
63
|
+
export * from './RibbonButton';
|
|
64
|
+
export * from './RibbonButtonGroup';
|
|
62
65
|
export * from './RadioGroup';
|
|
63
66
|
export * from './Select';
|
|
64
67
|
export * from './SidebarLayout';
|
|
@@ -70,7 +73,7 @@ export * from './Table';
|
|
|
70
73
|
export * from './TableBody';
|
|
71
74
|
export * from './TableCell';
|
|
72
75
|
export * from './TableCellIcon';
|
|
73
|
-
export * from './TableContainer'
|
|
76
|
+
export * from './TableContainer';
|
|
74
77
|
export * from './TableFooter';
|
|
75
78
|
export * from './TableHead';
|
|
76
79
|
export * from './TableRow';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MuiAccordion: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children: NonNullable<import("react").ReactNode>;
|
|
4
|
-
classes?: Partial<import("@mui/material").AccordionClasses>;
|
|
5
|
-
defaultExpanded?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
disableGutters?: boolean;
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
onChange?: (event: import("react").SyntheticEvent<Element, Event>, expanded: boolean) => void;
|
|
10
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
11
|
-
TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
12
|
-
children?: import("react").ReactElement<any, any>;
|
|
13
|
-
}>;
|
|
14
|
-
TransitionProps?: import("@mui/material/transitions").TransitionProps;
|
|
15
|
-
} & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
17
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "onChange" | "children" | "elevation" | "square" | "sx" | "variant" | "defaultExpanded" | "disabled" | "disableGutters" | "expanded" | "TransitionComponent" | "TransitionProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Icon } from "../Icon";
|
|
3
|
-
import { Typography } from "../Typography";
|
|
4
|
-
declare const MuiAccordionSummary: import("@emotion/styled").StyledComponent<import("@mui/material").AccordionSummaryOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
6
|
-
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
|
-
export { MuiAccordionSummary, Typography, Icon, };
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
declare type IdentifierType = string | number;
|
|
2
|
-
interface AddedAppointmentInterface {
|
|
3
|
-
day: string;
|
|
4
|
-
number: IdentifierType;
|
|
5
|
-
time: string;
|
|
6
|
-
id?: IdentifierType;
|
|
7
|
-
}
|
|
8
|
-
declare type AddCallbackType = (day: string, number: IdentifierType, time: string, id?: IdentifierType) => void;
|
|
9
|
-
declare type RemoveCallbackType = (day: string, number: IdentifierType) => void;
|
|
10
|
-
interface SimpleAddCaseInterface {
|
|
11
|
-
addedAppointment: AddedAppointmentInterface;
|
|
12
|
-
addCb: AddCallbackType;
|
|
13
|
-
}
|
|
14
|
-
interface ContinuousAddCaseInterface extends SimpleAddCaseInterface {
|
|
15
|
-
removedAppointment: AddedAppointmentInterface;
|
|
16
|
-
removeCb: RemoveCallbackType;
|
|
17
|
-
}
|
|
18
|
-
declare type AddAppointmentType = (args: ContinuousAddCaseInterface | SimpleAddCaseInterface) => void;
|
|
19
|
-
declare type RemoveAppointmentType = (appointment: AddedAppointmentInterface, removeCb: RemoveCallbackType) => void;
|
|
20
|
-
declare type AppointmentAttributesType = {
|
|
21
|
-
id?: IdentifierType;
|
|
22
|
-
number: IdentifierType;
|
|
23
|
-
isReserved?: boolean;
|
|
24
|
-
isSelected?: boolean;
|
|
25
|
-
periods?: number;
|
|
26
|
-
} | null;
|
|
27
|
-
interface AppointmentCalendarProps {
|
|
28
|
-
/**
|
|
29
|
-
* Should be customized as you need.
|
|
30
|
-
* Remember to use addCb(day,number,time,id) for accepting the selection, otherwise omit it.
|
|
31
|
-
* For continuous case see the example where should use removeCb(day,number) for previously selected appointment.
|
|
32
|
-
*/
|
|
33
|
-
addAppointmentCallback?: AddAppointmentType;
|
|
34
|
-
/**
|
|
35
|
-
* Should be customized as you need. Remember to use removeCb(day,number) for accepting the deselection, otherwise omit it.
|
|
36
|
-
* ({day, number, time, id}, removeCb) => {console.log( Removed appointment ${number}, day ${day}, time ${time}, id ${id}); removeCb(day,number);}
|
|
37
|
-
*/
|
|
38
|
-
removeAppointmentCallback?: RemoveAppointmentType;
|
|
39
|
-
/**
|
|
40
|
-
* Displays the name of the day of the week (true), otherwise in dd-mm-yyyy format.
|
|
41
|
-
*/
|
|
42
|
-
alpha?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Allows to continue select appointments while remove previous ones if you already have max reservable appointments.
|
|
45
|
-
*/
|
|
46
|
-
continuous?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Allow to have already selected appointments (true), otherwise (false) they aren't going to be checked by their isSelected property.
|
|
49
|
-
*/
|
|
50
|
-
selectedByDefault?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Limits the number of selectable appointments.
|
|
53
|
-
*/
|
|
54
|
-
maxReservableAppointments?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the initial day for your days.
|
|
57
|
-
*/
|
|
58
|
-
initialDay?: Date;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the minimal period of time (ms) between appointments. Default is 15 minutes.
|
|
61
|
-
*/
|
|
62
|
-
unitTime?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the locale param for Dates variables.
|
|
65
|
-
*/
|
|
66
|
-
local?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Shows the day (true), otherwise they are hidden (false).
|
|
69
|
-
*/
|
|
70
|
-
visible?: boolean;
|
|
71
|
-
loading?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* An array of appointments.
|
|
74
|
-
*/
|
|
75
|
-
days: AppointmentAttributesType[][];
|
|
76
|
-
/**
|
|
77
|
-
* Number of days in view
|
|
78
|
-
*/
|
|
79
|
-
daysInView?: number;
|
|
80
|
-
/**
|
|
81
|
-
* Number of days to scroll by at a time
|
|
82
|
-
*/
|
|
83
|
-
daysScrollBy?: number;
|
|
84
|
-
/**
|
|
85
|
-
* Max height of the container. Can be a string or a number, a valid CSS height value.
|
|
86
|
-
*/
|
|
87
|
-
maxHeight?: number | string;
|
|
88
|
-
}
|
|
89
|
-
export { AppointmentAttributesType, AppointmentCalendarProps };
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface AutocompleteProps {
|
|
3
|
-
/**
|
|
4
|
-
* Custom action label to prepend at the bottom of the option list.
|
|
5
|
-
*/
|
|
6
|
-
actionLabel?: string;
|
|
7
|
-
autoComplete?: boolean;
|
|
8
|
-
bottomButtonHeight?: number;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
/**
|
|
11
|
-
* A function fires when clicking the custom action button prepended at the bottom of the option list.
|
|
12
|
-
*/
|
|
13
|
-
actionClick?: (e: any) => void;
|
|
14
|
-
/**
|
|
15
|
-
* If true, the input will be disabled.
|
|
16
|
-
*/
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* If true, the input can't be cleared.
|
|
20
|
-
*/
|
|
21
|
-
disableClearable?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* A filter function that determines the options that are eligible
|
|
24
|
-
*/
|
|
25
|
-
filterOptions?: (options: any, state: any) => any;
|
|
26
|
-
/**
|
|
27
|
-
* If true, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
28
|
-
*/
|
|
29
|
-
freeSolo?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Used to determine the string value for a given option. It's used to fill the input (and the list box options if renderOption is not provided).
|
|
32
|
-
*/
|
|
33
|
-
getOptionLabel?: (option: any) => string;
|
|
34
|
-
/**
|
|
35
|
-
* Input label
|
|
36
|
-
*/
|
|
37
|
-
label?: string;
|
|
38
|
-
ListboxComponent?: any;
|
|
39
|
-
/**
|
|
40
|
-
* If true, value must be an array and the menu will support multiple selections.
|
|
41
|
-
*/
|
|
42
|
-
multiple?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Text to display when there are no options.
|
|
45
|
-
*/
|
|
46
|
-
noOptionsText?: React.ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* Callback fired when the value changes.
|
|
49
|
-
*/
|
|
50
|
-
onChange?: (event: object, value: any | any[], reason: string) => any;
|
|
51
|
-
open?: boolean;
|
|
52
|
-
onKeyDown?: (event: object) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Array of options.
|
|
55
|
-
*/
|
|
56
|
-
options: any[];
|
|
57
|
-
/**
|
|
58
|
-
* Placeholder passed to input
|
|
59
|
-
*/
|
|
60
|
-
placeholder?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Deprecated. Now styles automatically change based on theme.
|
|
63
|
-
*/
|
|
64
|
-
platform?: 'desktop' | 'web';
|
|
65
|
-
/**
|
|
66
|
-
* Render the selected value.
|
|
67
|
-
* (value: T[], getTagProps: function) => ReactNode
|
|
68
|
-
* value: The value provided to the component.
|
|
69
|
-
* getTagProps: A tag props getter.
|
|
70
|
-
*/
|
|
71
|
-
renderTags?: (value: any, getTagProps: any) => React.ReactNode;
|
|
72
|
-
/**
|
|
73
|
-
* Render the option, use getOptionLabel by default.
|
|
74
|
-
*/
|
|
75
|
-
renderOption?: (option: any, state: any) => React.ReactNode;
|
|
76
|
-
filterSelectedOptions?: boolean;
|
|
77
|
-
fullWidth?: boolean;
|
|
78
|
-
onBlur?: (e: any | undefined) => void;
|
|
79
|
-
onFocus?: (e: any | undefined) => void;
|
|
80
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface AvatarGroupProps {
|
|
2
|
-
children?: any;
|
|
3
|
-
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
4
|
-
color?: "default" | "primary" | "secondary" | string;
|
|
5
|
-
tooltip?: any;
|
|
6
|
-
max?: number;
|
|
7
|
-
tooltipPlacement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top';
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface AvatarsGroupProps {
|
|
2
|
-
children: any;
|
|
3
|
-
max?: number;
|
|
4
|
-
spacing?: 'medium' | 'small' | number;
|
|
5
|
-
size?: 'small' | 'medium' | 'large';
|
|
6
|
-
color?: 'default' | 'primary' | 'dark';
|
|
7
|
-
tooltip?: any;
|
|
8
|
-
tooltipPlacement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top';
|
|
9
|
-
}
|
package/dist/Badge/Badge.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MuiBadge: import("@emotion/styled").StyledComponent<import("@mui/material").BadgeOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
|
-
ref?: import("react").Ref<HTMLSpanElement>;
|
|
4
|
-
}, "className" | "style" | "classes" | "color" | "children" | "anchorOrigin" | "badgeContent" | "componentsProps" | "components" | "invisible" | "max" | "overlap" | "slotProps" | "slots" | "showZero" | "sx" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/Badge/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface GDSChipProps {
|
|
2
|
-
color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
3
|
-
size?: 'small' | 'medium';
|
|
4
|
-
label?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
variant?: 'filled' | 'outlined';
|
|
7
|
-
rounded?: boolean;
|
|
8
|
-
onClick?: (e: any) => void;
|
|
9
|
-
onDelete?: (e: any) => void;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface DialogProps {
|
|
3
|
-
children?: any;
|
|
4
|
-
variant?: 'info' | 'alert' | 'plain';
|
|
5
|
-
platform?: 'desktop' | 'web';
|
|
6
|
-
title?: string;
|
|
7
|
-
message?: React.ReactNode;
|
|
8
|
-
open: boolean;
|
|
9
|
-
handleClose?: (e: any) => void;
|
|
10
|
-
handleClick?: (e: any) => void;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DrawerProps } from '@mui/material';
|
|
2
|
-
export interface CustomDrawerProps extends DrawerProps {
|
|
3
|
-
variant?: 'permanent' | 'persistent' | 'temporary';
|
|
4
|
-
color?: 'primary' | 'default';
|
|
5
|
-
open?: boolean;
|
|
6
|
-
children?: any;
|
|
7
|
-
PaperProps?: object;
|
|
8
|
-
ModalProps?: object;
|
|
9
|
-
onClose?: (e: any) => void;
|
|
10
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface DrawerMenuProps {
|
|
3
|
-
/**
|
|
4
|
-
* Menu item contents
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Seleted state
|
|
9
|
-
*/
|
|
10
|
-
selected?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* ref attribute
|
|
13
|
-
*/
|
|
14
|
-
ref?: any;
|
|
15
|
-
/**
|
|
16
|
-
* value label string
|
|
17
|
-
*/
|
|
18
|
-
value?: any;
|
|
19
|
-
open?: boolean;
|
|
20
|
-
dense?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Icon
|
|
23
|
-
*/
|
|
24
|
-
startAdornment?: React.ReactNode;
|
|
25
|
-
submenu?: boolean;
|
|
26
|
-
expand?: boolean;
|
|
27
|
-
onClick?: (e: any) => void;
|
|
28
|
-
variant?: 'dark' | 'light';
|
|
29
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FormGroupProps } from '@mui/material';
|
|
2
|
-
export interface CustomFormGroupProps extends FormGroupProps {
|
|
3
|
-
/**
|
|
4
|
-
* Change how items align. Default to 'flex-start'
|
|
5
|
-
*/
|
|
6
|
-
alignItems?: 'flex-start' | 'center' | 'stretch' | 'flex-end';
|
|
7
|
-
/**
|
|
8
|
-
* The content of the component.
|
|
9
|
-
*/
|
|
10
|
-
children: any;
|
|
11
|
-
/**
|
|
12
|
-
* If true display side by side.
|
|
13
|
-
*/
|
|
14
|
-
row?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Spacing units between direct children. Default to 0.
|
|
17
|
-
*/
|
|
18
|
-
spacing?: 0 | 1 | 2 | 3 | 4;
|
|
19
|
-
/**
|
|
20
|
-
* If true add margin bottom 10px for desktop 16px for in them theme
|
|
21
|
-
*/
|
|
22
|
-
margin?: boolean;
|
|
23
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface HeaderToolbarProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
/**
|
|
5
|
-
* Deprecated. Please set or unset `title` instead.
|
|
6
|
-
*/
|
|
7
|
-
titleVisibility?: boolean;
|
|
8
|
-
left?: React.ReactNode;
|
|
9
|
-
right?: React.ReactNode;
|
|
10
|
-
bgColor?: string;
|
|
11
|
-
bgImageURL?: string;
|
|
12
|
-
bgPosition?: string;
|
|
13
|
-
bgSize?: string;
|
|
14
|
-
divider?: boolean;
|
|
15
|
-
tooltip?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export type StyleProps = {
|
|
18
|
-
bgColor: string;
|
|
19
|
-
bgImageURL: string;
|
|
20
|
-
bgPosition: string;
|
|
21
|
-
bgSize: string;
|
|
22
|
-
titleVisibility: boolean;
|
|
23
|
-
divider: boolean;
|
|
24
|
-
right: any;
|
|
25
|
-
};
|
package/dist/Icons/Access.d.ts
DELETED
package/dist/Icons/Browse.d.ts
DELETED
package/dist/Icons/Browse2.d.ts
DELETED
package/dist/Icons/Calendar.d.ts
DELETED
package/dist/Icons/CoinIcon.d.ts
DELETED
package/dist/Icons/Cross.d.ts
DELETED