@galaxy-ds/core 2.0.2 → 2.0.4
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/Accordion/Accordion.d.ts +2 -2
- package/dist/Accordion/Accordion.types.d.ts +10 -0
- package/dist/Accordion/index.d.ts +1 -1
- package/dist/AccordionDetails/AccordionDetails.d.ts +1 -1
- package/{src/AccordionDetails/AccordionDetailsProps.types.tsx → dist/AccordionDetails/AccordionDetails.types.d.ts} +3 -4
- package/dist/AccordionDetails/index.d.ts +1 -1
- package/dist/AccordionPanel/AccordionPanel.d.ts +1 -1
- package/{src/AccordionPanel/AccordionPanelProps.types.tsx → dist/AccordionPanel/AccordionPanel.types.d.ts} +3 -3
- package/dist/AccordionPanel/index.d.ts +1 -1
- package/dist/AccordionSummary/AccordionSummary.d.ts +1 -1
- package/dist/AccordionSummary/AccordionSummary.types.d.ts +4 -0
- package/dist/AccordionSummary/index.d.ts +1 -1
- package/dist/ActivityLog/ActivityLog.styled.d.ts +1 -0
- package/dist/ActivityLog/ActivityLog.types.d.ts +1 -1
- package/dist/AppBar/AppBar.d.ts +1 -1
- package/dist/AppBar/AppBar.types.d.ts +4 -3
- package/dist/AppointmentCalendar/AppointmentCalendar.d.ts +4 -0
- package/dist/AppointmentCalendar/AppointmentCalendarProps.types.d.ts +89 -0
- package/dist/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/Autocomplete/Autocomplete.types.d.ts +54 -0
- package/dist/Autocomplete/index.d.ts +1 -1
- package/dist/Avatar/Avatar.types.d.ts +2 -2
- package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/AvatarGroup/AvatarGroup.types.d.ts +9 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarsGroup/AvatarsGroup.d.ts +4 -0
- package/dist/AvatarsGroup/AvatarsGroup.types.d.ts +9 -0
- package/dist/Badge/Badge.d.ts +2 -1
- package/dist/Badge/Badge.types.d.ts +1 -1
- package/dist/BottomListButton/BottomListButton.d.ts +2 -2
- package/dist/BottomListButton/BottomListButton.styled.d.ts +4 -7
- package/dist/BottomListButton/BottomListButton.types.d.ts +5 -0
- package/dist/BottomListButton/index.d.ts +1 -1
- package/dist/Box/Box.d.ts +1 -1
- package/dist/Box/Box.types.d.ts +3 -0
- package/dist/Box/index.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.types.d.ts +3 -0
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/{src/Button/ButtonProps.types.tsx → dist/Button/Button.types.d.ts} +5 -5
- package/dist/Button/index.d.ts +1 -1
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Card/Card.styled.d.ts +0 -3
- package/dist/Card/Card.types.d.ts +6 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/Chip/Chip.types.d.ts +6 -0
- package/dist/Chip/index.d.ts +1 -1
- package/dist/CssBaseline/CssBaseline.d.ts +2 -2
- package/dist/CssBaseline/CssBaseline.types.d.ts +1 -1
- package/dist/DatePicker/DatePicker.d.ts +2 -2
- package/dist/DatePicker/DatePicker.styled.d.ts +1 -2
- package/dist/DatePicker/DatePicker.types.d.ts +3 -0
- package/dist/DatePicker/index.d.ts +1 -1
- package/dist/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/dist/DateRangePicker/DateRangePicker.styled.d.ts +1 -2
- package/dist/DateRangePicker/DateRangePicker.types.d.ts +3 -0
- package/dist/DateRangePicker/index.d.ts +1 -1
- package/dist/Dialog/Dialog.d.ts +2 -2
- package/dist/Dialog/Dialog.type.d.ts +2 -1
- package/dist/Dialog/Dialog.types.d.ts +11 -0
- package/dist/Divider/Divider.d.ts +3 -2
- package/dist/Divider/Divider.types.d.ts +3 -0
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/Drawer.d.ts +3 -3
- package/dist/Drawer/Drawer.types.d.ts +5 -0
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DrawerMenu/DrawerMenu.d.ts +3 -3
- package/dist/DrawerMenu/DrawerMenu.types.d.ts +31 -0
- package/dist/DrawerMenu/index.d.ts +1 -1
- package/dist/EmptyState/EmptyState.d.ts +1 -1
- package/dist/EmptyState/EmptyState.types.d.ts +10 -0
- package/dist/EmptyState/index.d.ts +1 -1
- package/dist/FooterActions/FooterActions.d.ts +2 -2
- package/dist/FooterActions/FooterActions.types.d.ts +6 -0
- package/dist/FooterActions/index.d.ts +1 -1
- package/dist/FormBody/FormBody.d.ts +3 -3
- package/dist/FormContainer/FormContainer.d.ts +2 -2
- package/dist/FormContainer/FormContainer.styled.d.ts +3 -1
- package/dist/FormContainer/FormContainer.types.d.ts +2 -1
- package/dist/FormGroup/FormGroup.d.ts +2 -2
- package/dist/FormGroup/FormGroup.types.d.ts +15 -0
- package/dist/FormGroup/index.d.ts +1 -1
- package/dist/FormHeader/FormHeader.d.ts +1 -1
- package/dist/FormHeader/FormHeader.types.d.ts +3 -1
- package/dist/Grid/Grid.d.ts +1 -1
- package/dist/Grid/Grid.types.d.ts +3 -0
- package/dist/Grid/index.d.ts +1 -1
- package/dist/HeaderToolbar/HeaderToolbar.d.ts +1 -1
- package/dist/HeaderToolbar/HeaderToolbar.styled.d.ts +4 -4
- package/dist/HeaderToolbar/HeaderToolbar.types.d.ts +13 -0
- package/dist/HeaderToolbar/index.d.ts +1 -1
- package/dist/Icon/Icon.d.ts +1 -1
- package/dist/Icon/IconProps.types.d.ts +4 -0
- package/dist/IconButton/IconButton.d.ts +2 -2
- package/dist/IconButton/IconButton.types.d.ts +2 -6
- package/dist/Icons/Access.d.ts +3 -0
- package/dist/Icons/AccountingIcon.d.ts +3 -0
- package/dist/Icons/AssignCurvedIcon.d.ts +3 -0
- package/dist/Icons/AvatarBusiness.d.ts +3 -0
- package/dist/Icons/AvatarCompany.d.ts +3 -0
- package/dist/Icons/AvatarGovernment.d.ts +3 -0
- package/dist/Icons/AvatarPeople.d.ts +3 -0
- package/dist/Icons/AvatarPerson.d.ts +3 -0
- package/dist/Icons/AvatarTrust.d.ts +3 -0
- package/dist/Icons/Browse.d.ts +3 -0
- package/dist/Icons/Browse2.d.ts +3 -0
- package/dist/Icons/ButtonCaret.d.ts +3 -0
- package/dist/Icons/ButtonFilter.d.ts +3 -0
- package/dist/Icons/Calendar.d.ts +3 -0
- package/dist/Icons/ChevronDown.d.ts +3 -0
- package/dist/Icons/ChevronLeft.d.ts +3 -0
- package/dist/Icons/ChevronRight.d.ts +3 -0
- package/dist/Icons/CoinEuroIcon.d.ts +3 -0
- package/dist/Icons/CoinIcon.d.ts +3 -0
- package/dist/Icons/CoinPoundIcon.d.ts +3 -0
- package/dist/Icons/Cross.d.ts +3 -0
- package/dist/Icons/CrossIcon16.d.ts +3 -0
- package/dist/Icons/CurrencyEuroIcon.d.ts +3 -0
- package/dist/Icons/CurrencyIcon.d.ts +3 -0
- package/dist/Icons/CurrencyPoundIcon.d.ts +3 -0
- package/dist/Icons/Dialog/Alert.d.ts +3 -0
- package/dist/Icons/Dialog/Info.d.ts +3 -0
- package/dist/Icons/Dialog/InfoCircle.d.ts +3 -0
- package/dist/Icons/Dialog/LeapLogo.d.ts +3 -0
- package/dist/Icons/Dialog/Warning.d.ts +3 -0
- package/dist/Icons/Doctype/ActivityTypeDefault.d.ts +3 -0
- package/dist/Icons/Doctype/ActivityTypePhoneCall.d.ts +3 -0
- package/dist/Icons/Doctype/ActivityTypeScannedDoc.d.ts +3 -0
- package/dist/Icons/Doctype/ActivityTypeVideoCall.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeAppointment.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeAppointmentCriticalDate.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeAudio.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeClausePrecedent.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeComment.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeCriticalDate.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeDeadline.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeDefault.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeEmail.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeEmailDraft.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeEmailReceived.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeEmailRecieved.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeEmailSent.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeExcel.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeFax.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeFileNote.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeFolder.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeImage.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeInfotrack.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeInvoiceRequest.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeInvoiceRequests.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeLetter.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeMemo.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypePdf.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypePowerpoint.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeSMS.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeSignatureDeclined.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeSignaturePending.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeSignatureRequest.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeSignatureSigned.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeTasks.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeTrust.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeVideo.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeWord.d.ts +3 -0
- package/dist/Icons/Doctype/DocTypeZip.d.ts +3 -0
- package/dist/Icons/Doctype16/ActivityTypeDefault16.d.ts +3 -0
- package/dist/Icons/Doctype16/ActivityTypePhoneCall16.d.ts +3 -0
- package/dist/Icons/Doctype16/ActivityTypeScannedDoc16.d.ts +3 -0
- package/dist/Icons/Doctype16/ActivityTypeVideoCall16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeAppointment16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeAppointmentCriticalDate16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeAudio16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeClausePrecedent16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeComment16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeCriticalDate16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeDeadline16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeDefault16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeEmail16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeEmailDraft16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeEmailReceived16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeEmailSent16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeExcel16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeFax16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeFileNote16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeFolder16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeImage16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeInfotrack16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeInvoiceRequest16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeInvoiceRequests16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeLetter16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeMemo16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypePdf16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypePowerpoint16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeSMS16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeSignatureDeclined16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeSignaturePending16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeSignatureRequest16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeSignatureSigned16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeTasks16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeTrust16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeVideo16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeWord16.d.ts +3 -0
- package/dist/Icons/Doctype16/DocTypeZip16.d.ts +3 -0
- package/dist/Icons/EmailSentIcon.d.ts +3 -0
- package/dist/Icons/EnvelopeIcon.d.ts +3 -0
- package/dist/Icons/HomeIcon.d.ts +3 -0
- package/dist/Icons/InsertLink.d.ts +3 -0
- package/dist/Icons/LinkMatter.d.ts +3 -0
- package/dist/Icons/LinkMatterIcon.d.ts +3 -0
- package/dist/Icons/Loader.d.ts +3 -0
- package/dist/Icons/Logos/LawconnectIcon.d.ts +2 -0
- package/dist/Icons/Logos/LeapLogo.d.ts +2 -0
- package/dist/Icons/Logos/poweredByLawconnect.d.ts +2 -0
- package/dist/Icons/MenuIcon.d.ts +3 -0
- package/dist/Icons/MoreVerticalIcon.d.ts +3 -0
- package/dist/Icons/NewAppointment.d.ts +3 -0
- package/dist/Icons/Power.d.ts +3 -0
- package/dist/Icons/Preview.d.ts +3 -0
- package/dist/Icons/Receipt.d.ts +3 -0
- package/dist/Icons/ReportingIcon.d.ts +3 -0
- package/dist/Icons/ResponseIcon.d.ts +3 -0
- package/dist/Icons/RevokeAccess.d.ts +3 -0
- package/dist/Icons/Search.d.ts +3 -0
- package/dist/Icons/SelectFilterEmpty.d.ts +3 -0
- package/dist/Icons/SelectFilterFilled.d.ts +3 -0
- package/dist/Icons/Spinner.d.ts +3 -0
- package/dist/Icons/Tick.d.ts +3 -0
- package/dist/Icons/UserLink.d.ts +3 -0
- package/dist/Icons/UserLock.d.ts +3 -0
- package/dist/Icons/Users.d.ts +3 -0
- package/dist/Icons/ViewAsUser.d.ts +3 -0
- package/dist/Icons/ViewAsUserIcon.d.ts +3 -0
- package/dist/Icons/{doctype/Doctype16 → activities/activities16}/ActivityTypeDefault16.d.ts +1 -0
- package/dist/Icons/{doctype/Doctype16 → activities/activities16}/ActivityTypePhoneCall16.d.ts +1 -0
- package/dist/Icons/{doctype/Doctype16 → activities/activities16}/ActivityTypeScannedDoc16.d.ts +1 -0
- package/dist/Icons/{doctype/Doctype16 → activities/activities16}/ActivityTypeVideoCall16.d.ts +1 -0
- package/dist/Icons/doctypes/Doctype16/DocTypeClausePrecedent16.d.ts +1 -1
- package/dist/Icons/doctypes/Doctype16/DocTypeComment16.d.ts +1 -1
- package/dist/Icons/doctypes/Doctype16/DocTypeEmail16.d.ts +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypeInvoiceRequests.d.ts → doctypes/Doctype16/DocTypeExcel16ShortCut.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypeCriticalDate.d.ts → doctypes/Doctype16/DocTypeScannedDoc16.d.ts} +1 -1
- package/dist/Icons/doctypes/Doctype16/DocTypeSignatureDeclined16.d.ts +1 -1
- package/dist/Icons/{doctype/Doctype/ActivityTypeVideoCall.d.ts → doctypes/Doctype16/DocTypeWord16Shortcut.d.ts} +1 -1
- package/dist/Icons/doctypes/Doctype16/DocTypeZip16.d.ts +1 -1
- package/dist/Icons/doctypes/Doctype16/index.d.ts +3 -0
- package/dist/Icons/index.d.ts +50 -0
- package/dist/Icons/lawconnect/index.d.ts +96 -96
- package/dist/Icons/{doctype/Doctype/DocTypeInvoiceRequest.d.ts → leap/ActivityDefault16.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypeEmailDraft.d.ts → leap/Appointment16.d.ts} +1 -1
- package/dist/Icons/leap/AutoTimer24.d.ts +2 -0
- package/dist/Icons/{doctype/Doctype/ActivityTypePhoneCall.d.ts → leap/AutoTimerFilled24.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypeEmailReceived.d.ts → leap/BlankLetter16.d.ts} +1 -1
- package/dist/Icons/leap/Bylawyers16.d.ts +2 -0
- package/dist/Icons/leap/Carat.d.ts +2 -0
- package/dist/Icons/leap/Clause16.d.ts +2 -0
- package/dist/Icons/leap/CostRecoveryExceeded16.d.ts +2 -0
- package/dist/Icons/leap/Fax16.d.ts +2 -0
- package/dist/Icons/leap/HyperLink16.d.ts +2 -0
- package/dist/Icons/{doctype/Doctype/DocTypeClausePrecedent.d.ts → leap/ManualEntry24.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypeSignaturePending.d.ts → leap/ManualEntryFilled24.d.ts} +1 -1
- package/dist/Icons/leap/Memo16.d.ts +2 -0
- package/dist/Icons/leap/PhoneCall16.d.ts +2 -0
- package/dist/Icons/leap/PrecedentNotification16.d.ts +2 -0
- package/dist/Icons/{doctype/Doctype/DocTypeEmailSent.d.ts → leap/ScannedDoc16.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype16/DocTypeComment16.d.ts → leap/SharedFolder16.d.ts} +1 -1
- package/dist/Icons/leap/Sms16.d.ts +2 -0
- package/dist/Icons/{doctype/Doctype/DocTypeInfotrack.d.ts → leap/TaxInvoice16.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype/DocTypePowerpoint.d.ts → leap/TaxInvoice216.d.ts} +1 -1
- package/dist/Icons/{doctype/Doctype16/DocTypeDefault16.d.ts → leap/TimedEntry16.d.ts} +1 -1
- package/dist/Icons/leap/Timer24.d.ts +2 -0
- package/dist/Icons/leap/TimerFillled24.d.ts +2 -0
- package/dist/Icons/{doctype/Doctype/DocTypeEmailRecieved.d.ts → leap/TrustStatement16.d.ts} +1 -1
- package/dist/Icons/leap/UnknownType16.d.ts +2 -0
- package/dist/Icons/leap/Video16.d.ts +2 -0
- package/dist/Icons/leap/VideoCall16.d.ts +2 -0
- package/dist/Icons/leap/VoiceMemo16.d.ts +2 -0
- package/dist/Icons/leap/Zyphta16.d.ts +2 -0
- package/dist/Icons/leap/activities/Activities16/ActivityTypeDefault16.d.ts +3 -0
- package/dist/Icons/leap/activities/Activities16/ActivityTypePhoneCall16.d.ts +3 -0
- package/dist/Icons/leap/activities/Activities16/ActivityTypeScannedDoc16.d.ts +3 -0
- package/dist/Icons/leap/activities/Activities16/ActivityTypeVideoCall16.d.ts +3 -0
- package/dist/Icons/leap/index.d.ts +41 -7
- package/dist/Icons/leap/ribbon/Calendar.d.ts +1 -0
- package/dist/Icons/leap/ribbon/Calendar32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/CalendarDark32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/Delete.d.ts +2 -0
- package/dist/Icons/leap/ribbon/Delete32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/DeleteDark32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/MatterFolder.d.ts +1 -0
- package/dist/Icons/leap/ribbon/MatterFolder32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/MatterFolderDark32.d.ts +3 -0
- package/dist/Icons/leap/ribbon/NewEntry.d.ts +1 -0
- package/dist/ImageUpload/ImageUpload.d.ts +1 -1
- package/dist/ImageUpload/ImageUpload.styled.d.ts +2 -0
- package/dist/ImageUpload/ImageUpload.types.d.ts +6 -0
- package/dist/ImageUpload/index.d.ts +1 -1
- package/dist/Input/Input.d.ts +2 -2
- package/dist/Input/Input.types.d.ts +27 -0
- package/dist/Input/index.d.ts +1 -1
- package/dist/InputLabel/InputLabel.d.ts +1 -1
- package/dist/InputLabel/InputLabel.types.d.ts +1 -2
- package/dist/List/List.d.ts +2 -2
- package/dist/List/List.types.d.ts +1 -3
- package/dist/ListItem/ListItem.types.d.ts +0 -7
- package/dist/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/dist/ListItemAvatar/ListItemAvatar.types.d.ts +1 -3
- package/dist/ListItemIcon/ListItemIcon.types.d.ts +1 -3
- package/dist/ListSubheader/ListSubheader.types.d.ts +1 -6
- package/dist/Loader/Loader.d.ts +1 -1
- package/dist/Logos/Leap/index.d.ts +1 -1
- package/dist/MenuContext/MenuContext.d.ts +4 -0
- package/dist/MenuContext/MenuContext.types.d.ts +18 -0
- package/dist/MenuHeader/MenuHeader.d.ts +1 -1
- package/dist/MenuHeader/MenuHeader.types.d.ts +4 -0
- package/dist/MenuHeader/index.d.ts +1 -1
- package/dist/MenuItem/MenuItem.d.ts +1 -1
- package/dist/MenuItemSystem/MenuItemSystem.d.ts +4 -0
- package/dist/MenuItemSystem/MenuItemSystem.types.d.ts +25 -0
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Modal/Modal.types.d.ts +5 -0
- package/dist/Modal/index.d.ts +1 -1
- package/dist/ModalActions/ModalActions.d.ts +2 -2
- package/dist/ModalActions/ModalActions.types.d.ts +3 -0
- package/dist/ModalActions/index.d.ts +1 -1
- package/dist/ModalContent/ModalContent.d.ts +2 -2
- package/dist/ModalContent/ModalContent.types.d.ts +7 -0
- package/dist/ModalContent/index.d.ts +1 -1
- package/dist/ModalTitle/ModalTitle.d.ts +2 -2
- package/dist/ModalTitle/ModalTitle.types.d.ts +4 -0
- package/dist/ModalTitle/index.d.ts +1 -1
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Popover/Popover.d.ts +3 -0
- package/dist/Popover/Popover.types.d.ts +7 -0
- package/dist/Popover/index.d.ts +2 -0
- package/dist/ProgressBar/ProgressBar.types.d.ts +1 -2
- package/dist/Radio/Radio.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/RadioGroup/RadioGroup.types.d.ts +4 -0
- package/dist/RadioGroup/index.d.ts +1 -1
- package/dist/RibbonButton/RibbonButton.d.ts +4 -0
- package/dist/RibbonButton/RibbonButton.styled.d.ts +9 -0
- package/dist/RibbonButton/RibbonButton.types.d.ts +11 -0
- package/dist/RibbonButton/index.d.ts +2 -0
- package/dist/RibbonButtonGroup/RibbonButtonGroup.d.ts +4 -0
- package/dist/RibbonButtonGroup/RibbonButtonGroup.styled.d.ts +8 -0
- package/dist/RibbonButtonGroup/RibbonButtonGroup.types.d.ts +15 -0
- package/dist/RibbonButtonGroup/index.d.ts +2 -0
- package/dist/Select/Select.styled.d.ts +1 -1
- package/dist/SidebarLayout/SidebarLayout.types.d.ts +15 -0
- package/dist/SidebarLayout/index.d.ts +1 -1
- package/dist/StepNavigation/StepNavigation.styled.d.ts +1 -3
- package/dist/Switch/Switch.d.ts +2 -2
- package/dist/Switch/Switch.types.d.ts +3 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabListItem/TabListItem.types.d.ts +2 -2
- package/dist/Table/Table.d.ts +2 -2
- package/dist/Table/Table.types.d.ts +8 -0
- package/dist/Table/index.d.ts +1 -1
- package/dist/TableBody/TableBody.d.ts +2 -2
- package/dist/TableBody/TableBody.types.d.ts +8 -0
- package/dist/TableBody/index.d.ts +1 -1
- package/dist/TableCell/TableCell.d.ts +1 -1
- package/dist/TableCell/TableCell.types.d.ts +9 -0
- package/dist/TableCell/index.d.ts +1 -1
- package/dist/TableCellIcon/TableCellIcon.d.ts +1 -1
- package/dist/TableCellIcon/TableCellIcon.types.d.ts +5 -0
- package/dist/TableCellIcon/index.d.ts +1 -1
- package/dist/TableContainer/TableContainer.d.ts +3 -3
- package/dist/TableContainer/TableContainer.types.d.ts +4 -0
- package/dist/TableContainer/index.d.ts +1 -1
- package/dist/TableFooter/TableFooter.d.ts +2 -2
- package/dist/TableFooter/TableFooter.types.d.ts +3 -0
- package/dist/TableFooter/index.d.ts +1 -1
- package/dist/TableHead/TableHead.d.ts +2 -2
- package/dist/TableHead/TableHead.types.d.ts +3 -0
- package/dist/TableHead/index.d.ts +1 -1
- package/dist/TableRow/TableRow.d.ts +3 -3
- package/dist/TableRow/TableRow.types.d.ts +4 -0
- package/dist/TableRow/index.d.ts +1 -1
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Tag/Tag.styled.d.ts +1 -3
- package/dist/Tag/Tag.types.d.ts +18 -0
- package/dist/Tag/index.d.ts +1 -1
- package/dist/TextField/TextField.types.d.ts +3 -4
- package/dist/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/ThemeProvider/ThemeProvider.types.d.ts +5 -0
- package/dist/ThemeProvider/index.d.ts +1 -1
- package/dist/Themes/Core/baseline.d.ts +35 -0
- package/dist/Themes/Core/common.d.ts +289 -0
- package/dist/Themes/Core/props.d.ts +31 -0
- package/dist/Themes/Desktop/index.d.ts +1 -0
- package/dist/Themes/Desktop/pallette.d.ts +234 -0
- package/dist/Themes/Desktop/theme.d.ts +1 -0
- package/dist/Themes/Desktop/typography.d.ts +84 -0
- package/dist/Themes/Web/index.d.ts +1 -0
- package/dist/Themes/Web/pallette.d.ts +234 -0
- package/dist/Themes/Web/theme.d.ts +1 -0
- package/dist/Themes/Web/typography.d.ts +93 -0
- package/dist/Themes/index.d.ts +7 -0
- package/dist/ToolbarButton/ToolbarButton.d.ts +1 -1
- package/dist/ToolbarButton/ToolbarButton.types.d.ts +8 -0
- package/dist/ToolbarButton/index.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/Tooltip.types.d.ts +4 -0
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TwoColumnLayout/TwoColumnLayout.types.d.ts +11 -0
- package/dist/TwoColumnLayout/index.d.ts +1 -1
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/Typography/Typography.types.d.ts +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +920 -788
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +947 -780
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.test.tsx +3 -2
- package/src/Accordion/Accordion.tsx +70 -48
- package/src/Accordion/{AccordionProps.types.tsx → Accordion.types.ts} +3 -2
- package/src/Accordion/index.ts +2 -2
- package/src/AccordionDetails/AccordionDetails.stories.mdx +13 -1
- package/src/AccordionDetails/AccordionDetails.test.tsx +3 -2
- package/src/AccordionDetails/AccordionDetails.tsx +5 -10
- package/src/AccordionDetails/AccordionDetails.types.ts +3 -0
- package/src/AccordionDetails/index.ts +2 -2
- package/src/AccordionPanel/AccordionPanel.test.tsx +8 -3
- package/src/AccordionPanel/AccordionPanel.tsx +6 -10
- package/src/AccordionPanel/AccordionPanel.types.ts +2 -0
- package/src/AccordionPanel/index.ts +2 -2
- package/src/AccordionSummary/AccordionSummary.test.tsx +3 -2
- package/src/AccordionSummary/AccordionSummary.tsx +11 -14
- package/src/AccordionSummary/{AccordionSummaryProps.types.tsx → AccordionSummary.types.ts} +2 -2
- package/src/AccordionSummary/index.ts +2 -2
- package/src/ActivityLog/ActivityLog.stories.mdx +0 -1
- package/src/ActivityLog/{ActivityLog.styled.ts → ActivityLog.styled.tsx} +42 -38
- package/src/ActivityLog/ActivityLog.test.tsx +26 -0
- package/src/ActivityLog/ActivityLog.tsx +28 -17
- package/src/ActivityLog/ActivityLog.types.ts +15 -17
- package/src/AppBar/AppBar.test.tsx +8 -8
- package/src/AppBar/AppBar.tsx +8 -11
- package/src/AppBar/{AppBar.types.tsx → AppBar.types.ts} +4 -12
- package/src/AttachmentIcon/AttachmentIcon.stories.mdx +253 -64
- package/src/AttachmentIcon/AttachmentIcon.test.tsx +7 -0
- package/src/AttachmentIcon/AttachmentIcon.types.ts +2 -2
- package/src/AttachmentIcon/icons.ts +27 -0
- package/src/Autocomplete/Autocomplete.stories.mdx +99 -54
- package/src/Autocomplete/{Autocomplete.styled.ts → Autocomplete.styled.tsx} +1 -2
- package/src/Autocomplete/Autocomplete.test.tsx +13 -3
- package/src/Autocomplete/Autocomplete.tsx +5 -13
- package/src/Autocomplete/{AutocompleteProps.types.tsx → Autocomplete.types.ts} +4 -28
- package/src/Autocomplete/index.ts +2 -2
- package/src/Autocomplete/story-supports/RecipientInput.js +4 -9
- package/src/Avatar/Avatar.stories.mdx +43 -10
- package/src/Avatar/Avatar.test.tsx +8 -8
- package/src/Avatar/Avatar.types.ts +20 -0
- package/src/AvatarGroup/AvatarGroup.stories.mdx +78 -4
- package/src/AvatarGroup/AvatarGroup.styled.tsx +56 -0
- package/src/AvatarGroup/AvatarGroup.test.tsx +3 -2
- package/src/AvatarGroup/AvatarGroup.tsx +1 -1
- package/src/AvatarGroup/AvatarGroup.types.ts +22 -0
- package/src/AvatarGroup/index.ts +2 -2
- package/src/Badge/Badge.stories.mdx +4 -4
- package/src/Badge/Badge.test.tsx +8 -8
- package/src/Badge/Badge.tsx +4 -5
- package/src/Badge/Badge.types.ts +3 -0
- package/src/BottomListButton/{BottomListButton.styled.ts → BottomListButton.styled.tsx} +8 -4
- package/src/BottomListButton/BottomListButton.test.tsx +3 -2
- package/src/BottomListButton/BottomListButton.tsx +12 -12
- package/src/BottomListButton/BottomListButton.types.ts +6 -0
- package/src/BottomListButton/index.ts +2 -2
- package/src/Box/Box.test.tsx +3 -2
- package/src/Box/Box.tsx +4 -5
- package/src/Box/index.ts +2 -2
- package/src/Breadcrumbs/Breadcrumbs.stories.mdx +0 -1
- package/src/Breadcrumbs/Breadcrumbs.styled.tsx +16 -0
- package/src/Breadcrumbs/Breadcrumbs.test.tsx +8 -8
- package/src/Breadcrumbs/Breadcrumbs.tsx +1 -1
- package/src/Breadcrumbs/Breadcrumbs.types.ts +3 -0
- package/src/Breadcrumbs/index.ts +1 -1
- package/src/Button/Button.stories.mdx +23 -5
- package/src/Button/{Button.styled.ts → Button.styled.tsx} +45 -47
- package/src/Button/Button.test.tsx +4 -3
- package/src/Button/Button.tsx +6 -6
- package/src/Button/Button.types.ts +5 -0
- package/src/Button/index.ts +2 -2
- package/src/Card/Card.stories.mdx +17 -5
- package/src/Card/{Card.styled.ts → Card.styled.tsx} +7 -12
- package/src/Card/Card.test.tsx +3 -2
- package/src/Card/Card.tsx +4 -7
- package/src/Card/Card.types.ts +7 -0
- package/src/Card/index.ts +2 -2
- package/src/Checkbox/Checkbox.stories.mdx +5 -1
- package/src/Checkbox/Checkbox.styled.tsx +8 -0
- package/src/Checkbox/Checkbox.test.tsx +8 -8
- package/src/Checkbox/Checkbox.tsx +10 -11
- package/src/Checkbox/Checkbox.types.ts +7 -0
- package/src/Chip/Chip.stories.mdx +49 -30
- package/src/Chip/{Chip.styled.ts → Chip.styled.tsx} +32 -37
- package/src/Chip/Chip.test.tsx +3 -2
- package/src/Chip/Chip.tsx +15 -15
- package/src/Chip/Chip.types.ts +7 -0
- package/src/Chip/index.ts +2 -2
- package/src/CssBaseline/CssBaseline.tsx +8 -10
- package/src/CssBaseline/CssBaseline.types.ts +2 -3
- package/src/DatePicker/DatePicker.stories.mdx +13 -9
- package/src/DatePicker/DatePicker.styled.tsx +5 -3
- package/src/DatePicker/DatePicker.test.tsx +3 -2
- package/src/DatePicker/DatePicker.tsx +10 -6
- package/src/DatePicker/DatePicker.types.ts +3 -0
- package/src/DatePicker/index.ts +2 -2
- package/src/DateRangePicker/DateRangePicker.stories.mdx +46 -17
- package/src/DateRangePicker/DateRangePicker.styled.tsx +5 -3
- package/src/DateRangePicker/DateRangePicker.test.tsx +3 -2
- package/src/DateRangePicker/DateRangePicker.tsx +1 -3
- package/src/DateRangePicker/index.ts +2 -2
- package/src/Dialog/Dialog.stories.mdx +143 -29
- package/src/Dialog/Dialog.test.tsx +23 -21
- package/src/Dialog/Dialog.tsx +27 -31
- package/src/Dialog/Dialog.type.ts +3 -2
- package/src/Divider/Divider.stories.mdx +6 -0
- package/src/Divider/Divider.test.tsx +2 -2
- package/src/Divider/Divider.tsx +14 -11
- package/src/Divider/Divider.types.ts +3 -0
- package/src/Divider/index.ts +2 -2
- package/src/Drawer/Drawer.stories.mdx +9 -5
- package/src/Drawer/Drawer.test.tsx +4 -3
- package/src/Drawer/Drawer.tsx +24 -19
- package/src/Drawer/Drawer.types.ts +6 -0
- package/src/Drawer/index.ts +2 -2
- package/src/DrawerMenu/DrawerMenu.stories.mdx +2 -2
- package/src/DrawerMenu/DrawerMenu.styled.tsx +73 -73
- package/src/DrawerMenu/DrawerMenu.test.tsx +2 -2
- package/src/DrawerMenu/DrawerMenu.tsx +38 -22
- package/src/DrawerMenu/DrawerMenu.types.ts +32 -0
- package/src/DrawerMenu/index.ts +2 -2
- package/src/Dropdown/Dropdown.stories.mdx +0 -6
- package/src/Dropdown/Dropdown.test.tsx +12 -0
- package/src/Dropdown/Dropdown.tsx +0 -10
- package/src/EmptyState/EmptyState.stories.mdx +5 -5
- package/src/EmptyState/EmptyState.test.tsx +2 -3
- package/src/EmptyState/EmptyState.tsx +3 -10
- package/src/EmptyState/EmptyState.types.ts +12 -0
- package/src/EmptyState/index.ts +2 -2
- package/src/FooterActions/FooterActions.styled.tsx +41 -0
- package/src/FooterActions/FooterActions.test.tsx +3 -2
- package/src/FooterActions/FooterActions.tsx +37 -25
- package/src/FooterActions/{FooterActionsProps.types.tsx → FooterActions.types.ts} +2 -2
- package/src/FooterActions/index.ts +2 -2
- package/src/FormBody/FormBody.stories.mdx +75 -1
- package/src/FormBody/FormBody.test.tsx +7 -0
- package/src/FormBody/FormBody.tsx +11 -18
- package/src/FormBody/FormBody.types.ts +6 -7
- package/src/FormContainer/FormContainer.stories.mdx +92 -10
- package/src/FormContainer/FormContainer.styled.tsx +13 -0
- package/src/FormContainer/FormContainer.test.tsx +7 -0
- package/src/FormContainer/FormContainer.tsx +15 -11
- package/src/FormContainer/FormContainer.types.ts +3 -4
- package/src/FormGroup/FormGroup.stories.mdx +47 -3
- package/src/FormGroup/FormGroup.test.tsx +2 -3
- package/src/FormGroup/FormGroup.tsx +22 -13
- package/src/FormGroup/FormGroup.types.ts +16 -0
- package/src/FormGroup/index.ts +2 -2
- package/src/FormHeader/FormHeader.styled.tsx +68 -0
- package/src/FormHeader/FormHeader.test.tsx +7 -0
- package/src/FormHeader/FormHeader.tsx +73 -48
- package/src/FormHeader/FormHeader.types.ts +8 -7
- package/src/Grid/Grid.stories.mdx +18 -5
- package/src/Grid/Grid.test.tsx +3 -2
- package/src/Grid/Grid.tsx +5 -8
- package/src/Grid/Grid.types.ts +3 -0
- package/src/Grid/index.ts +2 -2
- package/src/HeaderToolbar/HeaderToolbar.stories.mdx +183 -6
- package/src/HeaderToolbar/HeaderToolbar.styled.tsx +14 -11
- package/src/HeaderToolbar/HeaderToolbar.test.tsx +3 -2
- package/src/HeaderToolbar/HeaderToolbar.tsx +22 -12
- package/src/HeaderToolbar/HeaderToolbar.types.ts +13 -0
- package/src/HeaderToolbar/index.ts +2 -2
- package/src/Icon/Icon.stories.mdx +35 -3
- package/src/Icon/Icon.test.tsx +8 -8
- package/src/Icon/Icon.tsx +6 -6
- package/src/IconButton/IconButton.stories.mdx +101 -5
- package/src/IconButton/IconButton.test.tsx +8 -8
- package/src/IconButton/IconButton.tsx +13 -11
- package/src/IconButton/IconButton.types.ts +7 -0
- package/src/IconButton/support/IconButtonMenuListExample.tsx +6 -4
- package/src/Icons/doctype-icons.stories.mdx +260 -213
- package/src/Icons/doctypes/Doctype/icons.ts +247 -0
- package/src/Icons/doctypes/Doctype16/DocTypeAppointment16.tsx +56 -18
- package/src/Icons/doctypes/Doctype16/DocTypeClausePrecedent16.tsx +46 -13
- package/src/Icons/doctypes/Doctype16/DocTypeComment16.tsx +17 -7
- package/src/Icons/doctypes/Doctype16/DocTypeEmail16.tsx +22 -11
- package/src/Icons/doctypes/Doctype16/DocTypeExcel16Shortcut.tsx +99 -0
- package/src/Icons/doctypes/Doctype16/DocTypeScannedDoc16.tsx +43 -0
- package/src/Icons/doctypes/Doctype16/DocTypeSignatureDeclined16.tsx +44 -13
- package/src/Icons/doctypes/Doctype16/DocTypeWord16Shortcut.tsx +75 -0
- package/src/Icons/doctypes/Doctype16/DocTypeZip16.tsx +27 -9
- package/src/Icons/doctypes/Doctype16/icons.ts +148 -0
- package/src/Icons/doctypes/Doctype16/index.ts +37 -35
- package/src/Icons/lawconnect/Filled/index.ts +8 -0
- package/src/Icons/lawconnect/icons.ts +219 -0
- package/src/Icons/lawconnect/index.ts +96 -0
- package/src/Icons/lawconnect-icons.stories.mdx +165 -152
- package/src/Icons/leap/ActivityDefault16.tsx +25 -0
- package/src/Icons/leap/Appointment16.tsx +44 -0
- package/src/Icons/leap/AutoTimer24.tsx +22 -0
- package/src/Icons/leap/AutoTimerFilled24.tsx +15 -0
- package/src/Icons/leap/BlankLetter16.tsx +47 -0
- package/src/Icons/leap/Bylawyers16.tsx +36 -0
- package/src/Icons/leap/Carat.tsx +15 -0
- package/src/Icons/leap/Clause16.tsx +34 -0
- package/src/Icons/leap/CostRecoveryExceeded16.tsx +37 -0
- package/src/Icons/leap/Fax16.tsx +53 -0
- package/src/Icons/leap/HyperLink16.tsx +40 -0
- package/src/Icons/leap/ManualEntry24.tsx +27 -0
- package/src/Icons/leap/ManualEntryFilled24.tsx +27 -0
- package/src/Icons/leap/Memo16.tsx +42 -0
- package/src/Icons/leap/PhoneCall16.tsx +21 -0
- package/src/Icons/leap/PrecedentNotification16.tsx +25 -0
- package/src/Icons/leap/ScannedDoc16.tsx +42 -0
- package/src/Icons/leap/SharedFolder16.tsx +37 -0
- package/src/Icons/leap/Sms16.tsx +34 -0
- package/src/Icons/leap/TaxInvoice16.tsx +68 -0
- package/src/Icons/leap/TaxInvoice216.tsx +54 -0
- package/src/Icons/leap/TimedEntry16.tsx +39 -0
- package/src/Icons/leap/Timer24.tsx +15 -0
- package/src/Icons/leap/TimerFillled24.tsx +15 -0
- package/src/Icons/leap/TrustStatement16.tsx +61 -0
- package/src/Icons/leap/UnknownType16.tsx +32 -0
- package/src/Icons/leap/Video16.tsx +39 -0
- package/src/Icons/leap/VideoCall16.tsx +27 -0
- package/src/Icons/leap/VoiceMemo16.tsx +31 -0
- package/src/Icons/leap/Zyphta16.tsx +51 -0
- package/src/Icons/leap/icons.ts +174 -0
- package/src/Icons/leap/index.ts +48 -7
- package/src/Icons/leap/ribbon/Calendar.tsx +26 -0
- package/src/Icons/leap/ribbon/Delete.tsx +22 -0
- package/src/Icons/leap/ribbon/MatterFolder.tsx +26 -0
- package/src/Icons/leap/ribbon/NewEntry.tsx +51 -0
- package/src/Icons/leap-icons.stories.mdx +138 -95
- package/src/ImageUpload/ImageUpload.stories.mdx +23 -0
- package/src/ImageUpload/ImageUpload.styled.tsx +81 -0
- package/src/ImageUpload/ImageUpload.test.tsx +3 -2
- package/src/ImageUpload/ImageUpload.tsx +11 -16
- package/src/ImageUpload/{ImageUploadProps.types.tsx → ImageUpload.types.ts} +0 -1
- package/src/ImageUpload/index.ts +2 -2
- package/src/Input/Input.stories.mdx +35 -11
- package/src/Input/Input.test.tsx +3 -2
- package/src/Input/Input.tsx +22 -15
- package/src/Input/{InputProps.types.tsx → Input.types.ts} +9 -1
- package/src/Input/index.ts +2 -2
- package/src/InputLabel/InputLabel.test.tsx +8 -8
- package/src/InputLabel/InputLabel.tsx +6 -6
- package/src/InputLabel/InputLabel.types.ts +3 -0
- package/src/List/List.tsx +4 -4
- package/src/List/List.types.ts +2 -4
- package/src/ListItem/ListItem.test.tsx +10 -0
- package/src/ListItem/ListItem.types.ts +3 -10
- package/src/ListItemAvatar/ListItemAvatar.stories.mdx +21 -0
- package/src/ListItemAvatar/ListItemAvatar.test.tsx +9 -0
- package/src/ListItemAvatar/ListItemAvatar.tsx +3 -4
- package/src/ListItemAvatar/ListItemAvatar.types.ts +2 -5
- package/src/ListItemHoverContent/ListItemHoverContent.stories.mdx +1 -1
- package/src/ListItemHoverContent/ListItemHoverContent.test.tsx +26 -0
- package/src/ListItemIcon/ListItemIcon.test.tsx +14 -0
- package/src/ListItemIcon/ListItemIcon.types.ts +2 -5
- package/src/ListItemText/ListItemText.test.tsx +9 -0
- package/src/ListSubheader/ListSubheader.types.ts +2 -7
- package/src/Loader/Loader.stories.mdx +1 -0
- package/src/Loader/Loader.test.tsx +8 -8
- package/src/Loader/Loader.tsx +24 -14
- package/src/Logos/Leap/index.ts +4 -4
- package/src/Logos/Logos.stories.mdx +9 -1
- package/src/Menu/Menu.stories.mdx +178 -57
- package/src/Menu/Menu.test.tsx +8 -8
- package/src/Menu/Menu.tsx +1 -1
- package/src/MenuHeader/MenuHeader.stories.mdx +1 -5
- package/src/MenuHeader/MenuHeader.test.tsx +3 -2
- package/src/MenuHeader/MenuHeader.tsx +8 -11
- package/src/MenuHeader/{MenuHeaderProps.types.tsx → MenuHeader.types.ts} +2 -2
- package/src/MenuHeader/index.ts +2 -2
- package/src/MenuItem/MenuItem.stories.mdx +45 -8
- package/src/MenuItem/MenuItem.test.tsx +8 -8
- package/src/MenuItem/MenuItem.tsx +21 -11
- package/src/Modal/Modal.test.tsx +3 -2
- package/src/Modal/Modal.tsx +1 -1
- package/src/Modal/index.ts +2 -2
- package/src/ModalActions/ModalActions.test.tsx +3 -2
- package/src/ModalActions/ModalActions.tsx +8 -10
- package/src/ModalActions/index.ts +2 -2
- package/src/ModalContent/ModalContent.test.tsx +3 -2
- package/src/ModalContent/ModalContent.tsx +12 -6
- package/src/ModalContent/index.ts +2 -2
- package/src/ModalTitle/ModalTitle.test.tsx +3 -2
- package/src/ModalTitle/ModalTitle.tsx +7 -5
- package/src/ModalTitle/index.ts +2 -2
- package/src/Pagination/Pagination.test.tsx +8 -8
- package/src/Pagination/Pagination.tsx +10 -7
- package/src/Popover/Popover.stories.mdx +42 -0
- package/src/Popover/Popover.test.tsx +13 -0
- package/src/Popover/Popover.tsx +28 -0
- package/src/Popover/Popover.types.ts +7 -0
- package/src/Popover/PopoverExample.tsx +30 -0
- package/src/Popover/index.ts +2 -0
- package/src/ProgressBar/ProgressBar.stories.mdx +0 -1
- package/src/ProgressBar/ProgressBar.test.tsx +8 -8
- package/src/ProgressBar/ProgressBar.types.ts +3 -0
- package/src/Radio/Radio.stories.mdx +9 -4
- package/src/Radio/Radio.test.tsx +8 -8
- package/src/Radio/Radio.tsx +10 -11
- package/src/RadioGroup/RadioGroup.stories.mdx +9 -1
- package/src/RadioGroup/RadioGroup.test.tsx +3 -2
- package/src/RadioGroup/RadioGroup.tsx +16 -11
- package/src/RadioGroup/index.ts +2 -2
- package/src/RibbonButton/RibbonButton.stories.mdx +39 -0
- package/src/RibbonButton/RibbonButton.styled.tsx +60 -0
- package/src/RibbonButton/RibbonButton.test.tsx +10 -0
- package/src/RibbonButton/RibbonButton.tsx +22 -0
- package/src/RibbonButton/RibbonButton.types.ts +12 -0
- package/src/RibbonButton/index.ts +2 -0
- package/src/RibbonButtonGroup/RibbonButtonGroup.stories.mdx +122 -0
- package/src/RibbonButtonGroup/RibbonButtonGroup.styled.tsx +73 -0
- package/src/RibbonButtonGroup/RibbonButtonGroup.test.tsx +12 -0
- package/src/RibbonButtonGroup/RibbonButtonGroup.tsx +49 -0
- package/src/RibbonButtonGroup/RibbonButtonGroup.types.ts +18 -0
- package/src/RibbonButtonGroup/RibbonButtonGroupMenuExample.tsx +83 -0
- package/src/RibbonButtonGroup/index.ts +2 -0
- package/src/Select/Select.stories-removed.mdx +2 -2
- package/src/Select/Select.styled.tsx +40 -0
- package/src/Select/Select.test.tsx +8 -8
- package/src/Select/Select.tsx +2 -4
- package/src/SidebarLayout/SidebarLayout.test.tsx +3 -2
- package/src/SidebarLayout/SidebarLayout.tsx +1 -3
- package/src/SidebarLayout/index.ts +2 -2
- package/src/StepNavigation/StepNavigation.styled.tsx +21 -22
- package/src/StepNavigation/StepNavigation.test.tsx +7 -0
- package/src/StepNavigation/StepNavigation.tsx +10 -10
- package/src/Switch/Switch.test.tsx +3 -2
- package/src/Switch/Switch.tsx +4 -8
- package/src/Switch/index.ts +2 -2
- package/src/Tab/Tab.stories.mdx +14 -0
- package/src/Tab/Tab.test.tsx +8 -8
- package/src/TabListItem/TabListItem.stories.mdx +55 -4
- package/src/TabListItem/TabListItem.styled.tsx +0 -1
- package/src/TabListItem/TabListItem.test.tsx +7 -0
- package/src/TabListItem/TabListItem.types.ts +2 -3
- package/src/Table/Table.stories.mdx +145 -30
- package/src/Table/Table.test.tsx +2 -2
- package/src/Table/Table.tsx +4 -7
- package/src/Table/{TableProps.types.tsx → Table.types.ts} +2 -5
- package/src/Table/index.ts +2 -2
- package/src/TableBody/TableBody.test.tsx +2 -2
- package/src/TableBody/TableBody.tsx +4 -8
- package/src/TableBody/index.ts +2 -2
- package/src/TableCell/TableCell.test.tsx +2 -2
- package/src/TableCell/TableCell.tsx +1 -1
- package/src/TableCell/TableCell.types.ts +11 -0
- package/src/TableCell/index.ts +2 -2
- package/src/TableCellIcon/TableCellIcon.stories.mdx +10 -2
- package/src/TableCellIcon/TableCellIcon.test.tsx +2 -2
- package/src/TableCellIcon/TableCellIcon.tsx +20 -14
- package/src/TableCellIcon/index.ts +2 -2
- package/src/TableContainer/TableContainer.stories.mdx +43 -2
- package/src/TableContainer/TableContainer.test.tsx +2 -2
- package/src/TableContainer/TableContainer.tsx +8 -7
- package/src/TableContainer/{TableContainerProps.types.ts → TableContainer.types.ts} +2 -0
- package/src/TableContainer/index.ts +1 -1
- package/src/TableFooter/TableFooter.test.tsx +2 -2
- package/src/TableFooter/TableFooter.tsx +9 -13
- package/src/TableFooter/TableFooter.types.ts +2 -0
- package/src/TableFooter/index.ts +2 -2
- package/src/TableHead/TableHead.test.tsx +2 -2
- package/src/TableHead/TableHead.tsx +5 -8
- package/src/TableHead/TableHead.types.ts +3 -0
- package/src/TableHead/index.ts +2 -2
- package/src/TableRow/TableRow.test.tsx +2 -2
- package/src/TableRow/TableRow.tsx +6 -6
- package/src/TableRow/TableRow.types.ts +5 -0
- package/src/TableRow/index.ts +2 -2
- package/src/Tabs/Tabs.stories.mdx +70 -35
- package/src/Tabs/Tabs.test.tsx +8 -8
- package/src/Tag/Tag.stories.mdx +167 -47
- package/src/Tag/{Tag.styled.ts → Tag.styled.tsx} +33 -22
- package/src/Tag/Tag.test.tsx +4 -3
- package/src/Tag/Tag.tsx +73 -41
- package/src/Tag/{TagProps.types.tsx → Tag.types.ts} +2 -2
- package/src/Tag/index.ts +2 -2
- package/src/TextField/TextField.stories.mdx +24 -10
- package/src/TextField/TextField.test.tsx +9 -0
- package/src/TextField/TextField.types.ts +6 -0
- package/src/TextareaAutosize/TextareaAutosize.stories.mdx +0 -3
- package/src/TextareaAutosize/TextareaAutosize.test.tsx +8 -7
- package/src/TextareaAutosize/TextareaAutosize.tsx +5 -4
- package/src/Theme/index.ts +2 -2
- package/src/Theme/leap/desktop/overrides/autocomplete.ts +36 -34
- package/src/Theme/leap/desktop/overrides/menuItem.ts +122 -120
- package/src/Theme/leap/desktop/theme.ts +8 -1
- package/src/Theme/leap/web/overrides/autocomplete.ts +13 -8
- package/src/Theme/leap/web/overrides/inputBase.ts +6 -8
- package/src/Theme/leap/web/overrides/menuItem.ts +145 -143
- package/src/Theme/leap/web/theme.ts +9 -0
- package/src/ThemeProvider/ThemeProvider.test.tsx +4 -3
- package/src/ThemeProvider/ThemeProvider.tsx +7 -11
- package/src/ThemeProvider/index.ts +2 -2
- package/src/ToolbarButton/ToolbarButton.stories.mdx +1 -1
- package/src/ToolbarButton/ToolbarButton.test.tsx +3 -2
- package/src/ToolbarButton/ToolbarButton.tsx +2 -6
- package/src/ToolbarButton/index.ts +2 -2
- package/src/Tooltip/Tooltip.stories.mdx +39 -11
- package/src/Tooltip/Tooltip.test.tsx +8 -3
- package/src/Tooltip/Tooltip.tsx +6 -6
- package/src/Tooltip/Tooltip.types.ts +5 -0
- package/src/Tooltip/index.ts +2 -2
- package/src/TwoColumnLayout/TwoColumnLayout.stories.mdx +1 -1
- package/src/TwoColumnLayout/TwoColumnLayout.test.tsx +3 -2
- package/src/TwoColumnLayout/TwoColumnLayout.tsx +1 -1
- package/src/TwoColumnLayout/{TwoColumnLayoutProps.types.tsx → TwoColumnLayout.types.ts} +2 -0
- package/src/TwoColumnLayout/index.ts +2 -2
- package/src/Typography/Typography.stories.mdx +90 -24
- package/src/Typography/Typography.test.tsx +8 -8
- package/src/Typography/Typography.tsx +3 -3
- package/src/Typography/Typography.types.ts +7 -0
- package/src/index.ts +1 -1
- package/dist/Avatar/AvatarProps.types.d.ts +0 -7
- package/dist/Icons/doctype/Doctype/ActivityTypeDefault.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/ActivityTypeScannedDoc.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeAppointment.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeAppointmentCriticalDate.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeAudio.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeComment.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeDeadline.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeDefault.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeEmail.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeExcel.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeFax.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeFileNote.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeFolder.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeImage.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeLetter.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeMemo.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypePdf.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeSMS.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeSignatureDeclined.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeSignatureRequest.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeSignatureSigned.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeTasks.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeTrust.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeVideo.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeWord.d.ts +0 -2
- package/dist/Icons/doctype/Doctype/DocTypeZip.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeAppointment16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeAppointmentCriticalDate16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeAudio16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeClausePrecedent16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeCriticalDate16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeDeadline16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeEmail16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeEmailDraft16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeEmailReceived16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeEmailSent16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeExcel16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeFax16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeFileNote16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeFolder16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeImage16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeInfotrack16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeInvoiceRequest16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeInvoiceRequests16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeLetter16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeMemo16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypePdf16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypePowerpoint16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeSMS16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeSignatureDeclined16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeSignaturePending16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeSignatureRequest16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeSignatureSigned16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeTasks16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeTrust16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeVideo16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeWord16.d.ts +0 -2
- package/dist/Icons/doctype/Doctype16/DocTypeZip16.d.ts +0 -2
- package/dist/Icons/leap/Logos/LawconnectIcon.d.ts +0 -2
- package/dist/Icons/leap/Logos/LeapLegsLogo.d.ts +0 -1
- package/dist/Icons/leap/Logos/LeapLogo.d.ts +0 -1
- package/dist/Icons/leap/Logos/index.d.ts +0 -4
- package/dist/Icons/leap/Logos/poweredByLawconnect.d.ts +0 -2
- package/dist/TextAreaAutosize/TextAreaAutosize.types.d.ts +0 -3
- package/src/AccordionDetails/AccordionDetails.styled.ts +0 -10
- package/src/AccordionPanel/AccordionPanel.styled.ts +0 -6
- package/src/AccordionSummary/AccordionSummary.styled.ts +0 -14
- package/src/Avatar/Avatar.types.tsx +0 -19
- package/src/AvatarGroup/AvatarGroup.styled.ts +0 -56
- package/src/AvatarGroup/AvatarGroupProps.types.tsx +0 -19
- package/src/Badge/Badge.types.tsx +0 -3
- package/src/BottomListButton/BottomListButtonProps.types.tsx +0 -4
- package/src/Box/Box.styled.ts +0 -3
- package/src/Breadcrumbs/Breadcrumbs.styled.ts +0 -15
- package/src/Breadcrumbs/BreadcrumbsProps.types.tsx +0 -5
- package/src/Card/CardProps.types.tsx +0 -7
- package/src/Checkbox/Checkbox.styled.ts +0 -10
- package/src/Checkbox/Checkbox.types.tsx +0 -7
- package/src/Chip/ChipProps.types.tsx +0 -11
- package/src/DatePicker/DatePickerProps.types.tsx +0 -10
- package/src/Divider/DividerProps.types.tsx +0 -5
- package/src/Drawer/DrawerProps.types.tsx +0 -10
- package/src/DrawerMenu/DrawerMenuProps.types.tsx +0 -28
- package/src/EmptyState/EmptyStateProps.types.tsx +0 -6
- package/src/FooterActions/FooterActions.styled.ts +0 -41
- package/src/FormContainer/FormContainer.styled.ts +0 -11
- package/src/FormGroup/FormGroupProps.types.tsx +0 -24
- package/src/FormHeader/FormHeader.styled.ts +0 -68
- package/src/Grid/Grid.styled.ts +0 -3
- package/src/Grid/GridProps.types.tsx +0 -4
- package/src/HeaderToolbar/HeaderToolbarProps.types.tsx +0 -25
- package/src/IconButton/IconButton.types.tsx +0 -9
- package/src/Icons/lawconnect/index.tsx +0 -96
- package/src/ImageUpload/ImageUpload.styled.ts +0 -69
- package/src/InputLabel/InputLabel.types.tsx +0 -5
- package/src/Modal/Modal.styled.ts +0 -3
- package/src/ProgressBar/ProgressBar.types.tsx +0 -5
- package/src/Select/Select.styled.ts +0 -45
- package/src/TableCell/TableCellProps.types.tsx +0 -13
- package/src/TableFooter/TableFooterProps.types.tsx +0 -7
- package/src/TableHead/TableHeadProps.types.tsx +0 -11
- package/src/TableRow/TableRowProps.types.tsx +0 -19
- package/src/TextField/TextField.types.tsx +0 -6
- package/src/ThemeProvider/ThemeProvider.styled.ts +0 -3
- package/src/Tooltip/Tooltip.styled.ts +0 -3
- package/src/Tooltip/TooltipProps.types.tsx +0 -3
- package/src/Typography/Typography.types.tsx +0 -5
- /package/dist/Icons/{doctype/Doctype → Doctype}/index.d.ts +0 -0
- /package/dist/Icons/{doctype/Doctype16 → Doctype16}/index.d.ts +0 -0
- /package/src/Accordion/{Accordion.styled.ts → Accordion.styled.tsx} +0 -0
- /package/src/Avatar/{Avatar.styled.ts → Avatar.styled.tsx} +0 -0
- /package/src/Badge/{Badge.styled.ts → Badge.styled.tsx} +0 -0
- /package/src/Box/{BoxProps.types.tsx → Box.types.ts} +0 -0
- /package/src/DateRangePicker/{DateRangePickerProps.types.tsx → DateRangePicker.types.ts} +0 -0
- /package/src/EmptyState/{EmptyState.styled.ts → EmptyState.styled.tsx} +0 -0
- /package/src/FormBody/{FormBody.styled.ts → FormBody.styled.tsx} +0 -0
- /package/src/Icon/{Icon.types.tsx → Icon.types.ts} +0 -0
- /package/src/Loader/{Loader.types.tsx → Loader.types.ts} +0 -0
- /package/src/Logos/Leap/{poweredByLawconnect.tsx → PoweredByLawconnect.tsx} +0 -0
- /package/src/Menu/{Menu.types.tsx → Menu.types.ts} +0 -0
- /package/src/MenuItem/{MenuItem.types.tsx → MenuItem.types.ts} +0 -0
- /package/src/Modal/{ModalProps.types.tsx → Modal.types.ts} +0 -0
- /package/src/ModalActions/{ModalActionsProps.types.tsx → ModalActions.types.ts} +0 -0
- /package/src/ModalContent/{ModalContentProps.types.tsx → ModalContent.types.ts} +0 -0
- /package/src/ModalTitle/{ModalTitleProps.types.tsx → ModalTitle.types.ts} +0 -0
- /package/src/Pagination/{Pagination.types.tsx → Pagination.types.ts} +0 -0
- /package/src/Radio/{Radio.styled.ts → Radio.styled.tsx} +0 -0
- /package/src/Radio/{Radio.types.tsx → Radio.types.ts} +0 -0
- /package/src/RadioGroup/{RadioGroupProps.types.tsx → RadioGroup.types.ts} +0 -0
- /package/src/Select/{Select.types.tsx → Select.types.ts} +0 -0
- /package/src/SidebarLayout/{SidebarLayout.styled.ts → SidebarLayout.styled.tsx} +0 -0
- /package/src/SidebarLayout/{SidebarLayoutProps.types.tsx → SidebarLayout.types.ts} +0 -0
- /package/src/StepNavigation/{StepNavigation.types.tsx → StepNavigation.types.ts} +0 -0
- /package/src/Switch/{SwitchProps.types.tsx → Switch.types.ts} +0 -0
- /package/src/Tab/{Tab.types.tsx → Tab.types.ts} +0 -0
- /package/src/TableBody/{TableBodyProps.types.tsx → TableBody.types.ts} +0 -0
- /package/src/TableCellIcon/{TableCellIconProps.types.tsx → TableCellIcon.types.ts} +0 -0
- /package/src/Tabs/{Tabs.types.tsx → Tabs.types.ts} +0 -0
- /package/src/TextareaAutosize/{TextareaAutosize.types.tsx → TextareaAutosize.types.ts} +0 -0
- /package/src/ThemeProvider/{ThemeProviderProps.types.tsx → ThemeProvider.types.ts} +0 -0
- /package/src/ToolbarButton/{ToolbarButtonProps.types.tsx → ToolbarButton.types.ts} +0 -0
- /package/src/TwoColumnLayout/{TwoColumnLayout.styled.ts → TwoColumnLayout.styled.tsx} +0 -0
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,59 +1,81 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AccordionProps } from
|
|
3
|
-
import { Collapse } from
|
|
4
|
-
import { MuiIcon, MuiListItemIcon,
|
|
5
|
-
import SvgChevronDownLg from
|
|
6
|
-
import List from
|
|
7
|
-
import ListSubheader from
|
|
8
|
-
import { Typography } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AccordionProps } from './Accordion.types';
|
|
3
|
+
import { Collapse, ListItemButton } from '@mui/material';
|
|
4
|
+
import { MuiIcon, MuiListItemIcon, MuiListItemText } from './Accordion.styled';
|
|
5
|
+
import SvgChevronDownLg from '../Icons/lawconnect/ChevronDownLg';
|
|
6
|
+
import List from '../List/List';
|
|
7
|
+
import ListSubheader from '../ListSubheader/ListSubheader';
|
|
8
|
+
import { Typography } from '../Typography';
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
export const Accordion: React.FC<AccordionProps> = ({
|
|
11
|
+
title,
|
|
12
|
+
time,
|
|
13
|
+
color = 'textPrimary',
|
|
14
|
+
bgColor = 'white',
|
|
15
|
+
border = true,
|
|
16
|
+
chevronPosition = 'start',
|
|
17
|
+
children,
|
|
18
|
+
...rest
|
|
19
|
+
}: AccordionProps) => {
|
|
12
20
|
const [open, setOpen] = React.useState(true);
|
|
13
21
|
const handleClick = () => {
|
|
14
22
|
setOpen(!open);
|
|
15
23
|
};
|
|
16
24
|
return (
|
|
17
25
|
<div>
|
|
18
|
-
|
|
19
|
-
sx={{
|
|
20
|
-
bgcolor: bgColor
|
|
21
|
-
}}
|
|
22
|
-
>
|
|
23
|
-
<MuiListItem
|
|
24
|
-
button
|
|
25
|
-
onClick={handleClick}
|
|
26
|
-
key={title}
|
|
27
|
-
sx={{backgroundColor: bgColor, borderBottom: border ? `1px solid rgb(212, 212, 212)` : 'none'}}
|
|
28
|
-
>
|
|
29
|
-
<MuiListItemIcon className={ chevronPosition === 'end' ? 'accordionAppendIcon' : 'accordionPrependIcon' }>
|
|
30
|
-
<MuiIcon name={SvgChevronDownLg} className={open ? 'iconOpen' : 'iconClosed'} sx={{color: '#444444'}} />
|
|
31
|
-
</MuiListItemIcon>
|
|
32
|
-
<MuiListItemText className={'accordionTitle'}>
|
|
33
|
-
<Typography color={color} variant="body1">{title}</Typography>
|
|
34
|
-
</MuiListItemText>
|
|
35
|
-
{time && (
|
|
36
|
-
<MuiListItemText className={'accordionTime'}>
|
|
37
|
-
<Typography variant="body1">{time}</Typography>
|
|
38
|
-
</MuiListItemText>
|
|
39
|
-
)}
|
|
40
|
-
</MuiListItem>
|
|
41
|
-
</ListSubheader>
|
|
42
|
-
<Collapse in={open}>
|
|
43
|
-
<List
|
|
26
|
+
<ListSubheader
|
|
44
27
|
sx={{
|
|
45
|
-
bgcolor: bgColor,
|
|
46
|
-
pb:0,
|
|
47
|
-
'& .MuiListSubheader-gutters': {
|
|
48
|
-
bgcolor: bgColor
|
|
49
|
-
},
|
|
28
|
+
bgcolor: bgColor,
|
|
50
29
|
}}
|
|
51
30
|
>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
31
|
+
<ListItemButton
|
|
32
|
+
onClick={handleClick}
|
|
33
|
+
key={title}
|
|
34
|
+
sx={{
|
|
35
|
+
backgroundColor: bgColor,
|
|
36
|
+
borderBottom: border ? `1px solid rgb(212, 212, 212)` : 'none',
|
|
37
|
+
}}
|
|
38
|
+
>
|
|
39
|
+
<MuiListItemIcon
|
|
40
|
+
className={
|
|
41
|
+
chevronPosition === 'end'
|
|
42
|
+
? 'accordionAppendIcon'
|
|
43
|
+
: 'accordionPrependIcon'
|
|
44
|
+
}
|
|
45
|
+
>
|
|
46
|
+
<MuiIcon
|
|
47
|
+
name={SvgChevronDownLg}
|
|
48
|
+
className={open ? 'iconOpen' : 'iconClosed'}
|
|
49
|
+
sx={{ color: '#444444' }}
|
|
50
|
+
/>
|
|
51
|
+
</MuiListItemIcon>
|
|
52
|
+
<MuiListItemText className="accordionTitle">
|
|
53
|
+
<Typography color={color} variant="body1">
|
|
54
|
+
{title}
|
|
55
|
+
</Typography>
|
|
56
|
+
</MuiListItemText>
|
|
57
|
+
{time && (
|
|
58
|
+
<MuiListItemText className="accordionTime">
|
|
59
|
+
<Typography variant="body1">{time}</Typography>
|
|
60
|
+
</MuiListItemText>
|
|
61
|
+
)}
|
|
62
|
+
</ListItemButton>
|
|
63
|
+
</ListSubheader>
|
|
64
|
+
<Collapse in={open} {...rest}>
|
|
65
|
+
<List
|
|
66
|
+
sx={{
|
|
67
|
+
bgcolor: bgColor,
|
|
68
|
+
pb: 0,
|
|
69
|
+
'& .MuiListSubheader-gutters': {
|
|
70
|
+
bgcolor: bgColor,
|
|
71
|
+
},
|
|
72
|
+
}}
|
|
73
|
+
>
|
|
74
|
+
{children}
|
|
75
|
+
</List>
|
|
76
|
+
</Collapse>
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
58
80
|
|
|
59
|
-
export default Accordion;
|
|
81
|
+
export default Accordion;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { CollapseProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
export interface AccordionProps extends CollapseProps {
|
|
2
4
|
children?: any;
|
|
3
5
|
title?: string;
|
|
4
6
|
time?: string;
|
|
@@ -6,5 +8,4 @@ export interface AccordionProps {
|
|
|
6
8
|
bgColor?: string;
|
|
7
9
|
border?: boolean;
|
|
8
10
|
chevronPosition?: 'start' | 'end';
|
|
9
|
-
onClick?: (e: any) => void;
|
|
10
11
|
}
|
package/src/Accordion/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './Accordion';
|
|
1
|
+
export * from './Accordion.types';
|
|
2
|
+
export * from './Accordion';
|
|
@@ -8,7 +8,19 @@ import { Typography } from "../Typography";
|
|
|
8
8
|
# AccordionDetails
|
|
9
9
|
|
|
10
10
|
<Canvas withToolbar>
|
|
11
|
-
<Story name="Default"
|
|
11
|
+
<Story name="Default" parameters={{
|
|
12
|
+
docs: {
|
|
13
|
+
source: {
|
|
14
|
+
code: `
|
|
15
|
+
<AccordionDetails>
|
|
16
|
+
<Typography variant="body1">
|
|
17
|
+
Accordion Details
|
|
18
|
+
</Typography>
|
|
19
|
+
</AccordionDetails>
|
|
20
|
+
`
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}}>
|
|
12
24
|
<AccordionDetails>
|
|
13
25
|
<Typography variant="body1">
|
|
14
26
|
Accordion Details
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AccordionDetails as MuiAccordionDetails } from '@mui/material';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
MuiAccordionDetails
|
|
5
|
-
} from "./AccordionDetails.styled"
|
|
6
|
-
import { AccordionDetailsProps } from './AccordionDetailsProps.types'
|
|
3
|
+
import { AccordionDetailsProps } from './AccordionDetails.types';
|
|
7
4
|
|
|
8
5
|
export const AccordionDetails = (props: AccordionDetailsProps) => {
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
)
|
|
12
|
-
}
|
|
6
|
+
return <MuiAccordionDetails {...props} />;
|
|
7
|
+
};
|
|
13
8
|
|
|
14
|
-
export default AccordionDetails
|
|
9
|
+
export default AccordionDetails;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './AccordionDetails';
|
|
1
|
+
export * from './AccordionDetails.types';
|
|
2
|
+
export * from './AccordionDetails';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { render } from '@testing-library/react';
|
|
2
3
|
import AccordionPanel from './AccordionPanel';
|
|
3
4
|
|
|
4
|
-
test('
|
|
5
|
-
render(
|
|
6
|
-
|
|
5
|
+
test('AccordionPanel', () => {
|
|
6
|
+
render(
|
|
7
|
+
<AccordionPanel>
|
|
8
|
+
<div>Accordion Panel</div>
|
|
9
|
+
</AccordionPanel>
|
|
10
|
+
);
|
|
11
|
+
});
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { AccordionPanelProps } from './AccordionPanelProps.types'
|
|
1
|
+
import { Accordion as MuiAccordion } from '@mui/material';
|
|
2
|
+
import { AccordionPanelProps } from './AccordionPanel.types';
|
|
4
3
|
|
|
5
4
|
export const AccordionPanel = (props: AccordionPanelProps) => {
|
|
6
5
|
return (
|
|
7
|
-
<MuiAccordion
|
|
8
|
-
disableGutters
|
|
9
|
-
{...props}
|
|
10
|
-
>
|
|
6
|
+
<MuiAccordion disableGutters {...props}>
|
|
11
7
|
{props.children}
|
|
12
8
|
</MuiAccordion>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
9
|
+
);
|
|
10
|
+
};
|
|
15
11
|
|
|
16
|
-
export default AccordionPanel
|
|
12
|
+
export default AccordionPanel;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './AccordionPanel';
|
|
1
|
+
export * from './AccordionPanel.types';
|
|
2
|
+
export * from './AccordionPanel';
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
MuiAccordionSummary,
|
|
6
|
-
Icon,
|
|
7
|
-
} from "./AccordionSummary.styled"
|
|
8
|
-
import { AccordionSummaryProps } from './AccordionSummaryProps.types'
|
|
1
|
+
import { AccordionSummary as MuiAccordionSummary } from '@mui/material';
|
|
2
|
+
import { SvgChevronDownLg } from '../Icons/lawconnect';
|
|
3
|
+
import { Icon } from '../Icon';
|
|
4
|
+
import { AccordionSummaryProps } from './AccordionSummary.types';
|
|
9
5
|
|
|
10
6
|
export const AccordionSummary = (props: AccordionSummaryProps) => {
|
|
11
|
-
const {
|
|
7
|
+
const { bgColor, ...rest } = props;
|
|
12
8
|
|
|
13
9
|
return (
|
|
14
|
-
<MuiAccordionSummary
|
|
10
|
+
<MuiAccordionSummary
|
|
15
11
|
expandIcon={<Icon name={SvgChevronDownLg} />}
|
|
16
|
-
sx={{backgroundColor: bgColor}}
|
|
12
|
+
sx={{ backgroundColor: bgColor }}
|
|
13
|
+
{...rest}
|
|
17
14
|
>
|
|
18
15
|
{props.children}
|
|
19
16
|
</MuiAccordionSummary>
|
|
20
|
-
)
|
|
21
|
-
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
22
19
|
|
|
23
|
-
export default AccordionSummary
|
|
20
|
+
export default AccordionSummary;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccordionSummaryProps as MuiAccordionSummaryProps } from
|
|
1
|
+
import { AccordionSummaryProps as MuiAccordionSummaryProps } from '@mui/material';
|
|
2
2
|
|
|
3
3
|
export interface AccordionSummaryProps extends MuiAccordionSummaryProps {
|
|
4
|
-
bgColor?: string
|
|
4
|
+
bgColor?: string;
|
|
5
5
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './AccordionSummary';
|
|
1
|
+
export * from './AccordionSummary.types';
|
|
2
|
+
export * from './AccordionSummary';
|
|
@@ -5,38 +5,38 @@ import { ListItem } from '../ListItem/ListItem';
|
|
|
5
5
|
import { ListItemIcon } from '../ListItemIcon/ListItemIcon';
|
|
6
6
|
import { ListItemText } from '../ListItemText/ListItemText';
|
|
7
7
|
|
|
8
|
-
export const MuiListItem = styled(ListItem)(({theme}) => ({
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}))
|
|
8
|
+
export const MuiListItem = styled(ListItem)(({ theme }) => ({
|
|
9
|
+
width: '100%',
|
|
10
|
+
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
11
|
+
paddingLeft: 10,
|
|
12
|
+
paddingRight: 10,
|
|
13
|
+
minHeight: 44,
|
|
14
|
+
}));
|
|
15
15
|
|
|
16
16
|
export const MuiListItemICon = styled(ListItemIcon)(() => ({
|
|
17
17
|
alignSelf: 'flex-start',
|
|
18
|
-
|
|
18
|
+
'&.prependIcon': {
|
|
19
19
|
marginTop: 4,
|
|
20
20
|
width: 16,
|
|
21
21
|
height: 16,
|
|
22
22
|
minWidth: 16,
|
|
23
23
|
marginRight: 10,
|
|
24
|
-
|
|
25
|
-
fontSize: 16
|
|
24
|
+
'& .MuiSvgIcon-root': {
|
|
25
|
+
fontSize: 16,
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
'& .MuiButtonBase-root': {
|
|
28
28
|
padding: 0,
|
|
29
29
|
backgroundColor: 'transparent',
|
|
30
|
-
}
|
|
30
|
+
},
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
'&.docTypeIcon': {
|
|
33
33
|
minWidth: 16,
|
|
34
34
|
marginRight: 10,
|
|
35
|
-
|
|
36
|
-
fontSize: 24
|
|
37
|
-
}
|
|
35
|
+
'& .MuiSvgIcon-root': {
|
|
36
|
+
fontSize: 24,
|
|
37
|
+
},
|
|
38
38
|
},
|
|
39
|
-
}))
|
|
39
|
+
}));
|
|
40
40
|
|
|
41
41
|
export const MuiListItemText = styled(ListItemText)(() => ({
|
|
42
42
|
marginTop: 0,
|
|
@@ -44,42 +44,46 @@ export const MuiListItemText = styled(ListItemText)(() => ({
|
|
|
44
44
|
display: 'flex',
|
|
45
45
|
flexDirection: 'row',
|
|
46
46
|
flexWrap: 'wrap',
|
|
47
|
-
|
|
47
|
+
'&:hover': {
|
|
48
48
|
cursor: 'pointer',
|
|
49
49
|
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
cursor: 'pointer'
|
|
53
|
-
}
|
|
50
|
+
'& .MuiTypography-body1': {
|
|
51
|
+
'&:hover': {
|
|
52
|
+
cursor: 'pointer',
|
|
53
|
+
},
|
|
54
54
|
},
|
|
55
|
-
|
|
56
|
-
display: 'flex'
|
|
55
|
+
'& .MuiListItemText-primary': {
|
|
56
|
+
display: 'flex',
|
|
57
57
|
},
|
|
58
|
-
}))
|
|
58
|
+
}));
|
|
59
59
|
|
|
60
|
-
export const ActivityLogChips = styled(
|
|
60
|
+
export const ActivityLogChips = styled('div')(() => ({
|
|
61
61
|
width: '100%',
|
|
62
|
-
|
|
62
|
+
'& .MuiChip-root': {
|
|
63
63
|
marginRight: 5,
|
|
64
64
|
},
|
|
65
|
-
|
|
65
|
+
'& .MuiChip-root:last-child': {
|
|
66
66
|
marginRight: 0,
|
|
67
|
-
}
|
|
68
|
-
}))
|
|
67
|
+
},
|
|
68
|
+
}));
|
|
69
69
|
|
|
70
70
|
export const ActivityLogMainName = styled(Typography)(() => ({
|
|
71
|
-
flex: 'auto'
|
|
72
|
-
}))
|
|
71
|
+
flex: 'auto',
|
|
72
|
+
}));
|
|
73
73
|
|
|
74
|
-
export const ActivityLogTime = styled(
|
|
74
|
+
export const ActivityLogTime = styled('div')(() => ({
|
|
75
75
|
alignSelf: 'flex-start',
|
|
76
76
|
maxWidth: 80,
|
|
77
77
|
minWidth: 80,
|
|
78
78
|
marginLeft: 5,
|
|
79
79
|
textAlign: 'right',
|
|
80
|
-
whiteSpace: 'nowrap'
|
|
81
|
-
}))
|
|
80
|
+
whiteSpace: 'nowrap',
|
|
81
|
+
}));
|
|
82
|
+
|
|
83
|
+
export const ActivityLogGroup = styled('div')(() => ({
|
|
84
|
+
alignSelf: 'flex-start',
|
|
85
|
+
}));
|
|
82
86
|
|
|
83
|
-
export const
|
|
84
|
-
|
|
85
|
-
})
|
|
87
|
+
export const DocTypeImageStyled = styled('img')({
|
|
88
|
+
maxWidth: '24px',
|
|
89
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import ActivityLog from './ActivityLog';
|
|
4
|
+
|
|
5
|
+
test('ActivityLog', () => {
|
|
6
|
+
render(
|
|
7
|
+
<ActivityLog
|
|
8
|
+
name="Created Letter of Demand"
|
|
9
|
+
time="9hr 35min"
|
|
10
|
+
ext="doc"
|
|
11
|
+
attachment
|
|
12
|
+
action={[
|
|
13
|
+
{ label: 'info', variant: 'info' },
|
|
14
|
+
{ label: 'danger', variant: 'danger' },
|
|
15
|
+
{ label: 'warning', variant: 'warning' },
|
|
16
|
+
{ label: 'success', variant: 'success' },
|
|
17
|
+
]}
|
|
18
|
+
users={[
|
|
19
|
+
{ name: 'Firstname Lastname', initials: 'FL' },
|
|
20
|
+
{ name: 'Firstname Lastname', initials: 'FL' },
|
|
21
|
+
{ name: 'Firstname Lastname', initials: 'FL' },
|
|
22
|
+
]}
|
|
23
|
+
avatarGroupTooltip="Other names"
|
|
24
|
+
/>
|
|
25
|
+
);
|
|
26
|
+
});
|
|
@@ -17,19 +17,33 @@ import {
|
|
|
17
17
|
MuiListItem,
|
|
18
18
|
MuiListItemICon,
|
|
19
19
|
MuiListItemText,
|
|
20
|
+
DocTypeImageStyled,
|
|
20
21
|
} from './ActivityLog.styled';
|
|
21
22
|
import { ActivityLogProps } from './ActivityLog.types';
|
|
22
23
|
|
|
23
|
-
export const ActivityLog: React.FC<ActivityLogProps> = (
|
|
24
|
-
|
|
24
|
+
export const ActivityLog: React.FC<ActivityLogProps> = (
|
|
25
|
+
props: ActivityLogProps
|
|
26
|
+
) => {
|
|
27
|
+
const {
|
|
28
|
+
name,
|
|
29
|
+
time,
|
|
30
|
+
ext,
|
|
31
|
+
iconURL,
|
|
32
|
+
onAttach,
|
|
33
|
+
onClick,
|
|
34
|
+
users,
|
|
35
|
+
attachment,
|
|
36
|
+
action,
|
|
37
|
+
avatarGroupTooltip,
|
|
38
|
+
insertIconTooltip = 'Insert',
|
|
39
|
+
hover,
|
|
40
|
+
tooltip = 'Preview',
|
|
41
|
+
nameRef = undefined,
|
|
42
|
+
} = props;
|
|
25
43
|
|
|
26
44
|
return (
|
|
27
|
-
<MuiListItem
|
|
28
|
-
<MuiListItemICon
|
|
29
|
-
className={
|
|
30
|
-
'prependIcon'
|
|
31
|
-
}
|
|
32
|
-
>
|
|
45
|
+
<MuiListItem>
|
|
46
|
+
<MuiListItemICon className="prependIcon">
|
|
33
47
|
{attachment ? (
|
|
34
48
|
<Tooltip title={insertIconTooltip}>
|
|
35
49
|
<IconButton onClick={onAttach}>
|
|
@@ -41,13 +55,10 @@ export const ActivityLog: React.FC<ActivityLogProps> = (props: ActivityLogProps)
|
|
|
41
55
|
)}
|
|
42
56
|
</MuiListItemICon>
|
|
43
57
|
|
|
44
|
-
<MuiListItemICon
|
|
45
|
-
className={
|
|
46
|
-
'docTypeIcon'
|
|
47
|
-
}>
|
|
58
|
+
<MuiListItemICon className="docTypeIcon">
|
|
48
59
|
{iconURL ? (
|
|
49
|
-
<
|
|
50
|
-
|
|
60
|
+
<DocTypeImageStyled title={iconURL} src={iconURL} />
|
|
61
|
+
) : (
|
|
51
62
|
<AttachmentIcon ext={ext} />
|
|
52
63
|
)}
|
|
53
64
|
</MuiListItemICon>
|
|
@@ -81,7 +92,7 @@ export const ActivityLog: React.FC<ActivityLogProps> = (props: ActivityLogProps)
|
|
|
81
92
|
noWrap
|
|
82
93
|
variant="subtitle1"
|
|
83
94
|
color="primary"
|
|
84
|
-
|
|
95
|
+
>
|
|
85
96
|
{name}
|
|
86
97
|
</ActivityLogMainName>
|
|
87
98
|
)}
|
|
@@ -115,5 +126,5 @@ export const ActivityLog: React.FC<ActivityLogProps> = (props: ActivityLogProps)
|
|
|
115
126
|
</MuiListItemText>
|
|
116
127
|
</MuiListItem>
|
|
117
128
|
);
|
|
118
|
-
}
|
|
119
|
-
export default ActivityLog;
|
|
129
|
+
};
|
|
130
|
+
export default ActivityLog;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
1
|
export interface ActivityLogProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
2
|
+
name?: string;
|
|
3
|
+
nameRef?: React.MutableRefObject<any>;
|
|
4
|
+
time?: string;
|
|
5
|
+
ext?: string;
|
|
6
|
+
iconURL?: string;
|
|
7
|
+
users?: any;
|
|
8
|
+
action?: any;
|
|
9
|
+
attachment?: boolean;
|
|
10
|
+
avatarGroupTooltip?: string;
|
|
11
|
+
hover?: boolean;
|
|
12
|
+
tooltip?: string;
|
|
13
|
+
insertIconTooltip?: string;
|
|
14
|
+
onAttach?: (e: any) => void;
|
|
15
|
+
onClick?: (e: any) => void;
|
|
16
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { AppBar } from './AppBar';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})
|
|
9
|
-
})
|
|
5
|
+
describe('AppBar', () => {
|
|
6
|
+
it('renders without crashing', () => {
|
|
7
|
+
render(<AppBar />);
|
|
8
|
+
});
|
|
9
|
+
});
|