@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Select as MuiSelect } from '@mui/material';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
|
|
4
|
+
export const SelectStyled = styled(MuiSelect)(({ theme }) => ({
|
|
5
|
+
borderRadius: theme.shapes.card,
|
|
6
|
+
height: 40,
|
|
7
|
+
|
|
8
|
+
select: {
|
|
9
|
+
padding: '0 16px',
|
|
10
|
+
height: 40,
|
|
11
|
+
lineHeight: '40px',
|
|
12
|
+
display: 'flex',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
'& .MuiTypography-root': {
|
|
15
|
+
fontWeight: 'inherit',
|
|
16
|
+
},
|
|
17
|
+
'&.MuiInputBase-input, &.MuiOutlinedInput-input': {
|
|
18
|
+
paddingRight: '44px',
|
|
19
|
+
paddingTop: 0,
|
|
20
|
+
},
|
|
21
|
+
'&.MuiInputBase-input.MuiFilledInput-input': {},
|
|
22
|
+
'&.MuiInputBase-input': {
|
|
23
|
+
'&.MuiFilledInput-input': {
|
|
24
|
+
'&:focus': {
|
|
25
|
+
backgroundColor: 'transparent',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
'& .MuiFilledInput-input': {
|
|
31
|
+
paddingTop: '8px',
|
|
32
|
+
'&:focus': {
|
|
33
|
+
backgroundColor: 'transparent',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
legend: {
|
|
38
|
+
display: 'none',
|
|
39
|
+
},
|
|
40
|
+
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { Select } from './Select';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})
|
|
9
|
-
})
|
|
5
|
+
describe('Select', () => {
|
|
6
|
+
it('renders without crashing', () => {
|
|
7
|
+
render(<Select />);
|
|
8
|
+
});
|
|
9
|
+
});
|
package/src/Select/Select.tsx
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { MuiSelect } from './Select.styled';
|
|
1
|
+
import { SelectStyled } from './Select.styled';
|
|
4
2
|
|
|
5
3
|
import SvgChevronDownLg from '../Icons/lawconnect/ChevronDownLg';
|
|
6
4
|
|
|
7
5
|
import { SelectProps } from './Select.types';
|
|
8
6
|
|
|
9
7
|
export const Select = (props: SelectProps) => {
|
|
10
|
-
return <
|
|
8
|
+
return <SelectStyled IconComponent={SvgChevronDownLg} {...props} />;
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
export default Select;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SidebarLayoutProps } from './
|
|
2
|
+
import { SidebarLayoutProps } from './SidebarLayout.types';
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
SidebarWrapper,
|
|
@@ -14,7 +14,6 @@ export const SidebarLayout: any = ({
|
|
|
14
14
|
children,
|
|
15
15
|
sidebarWidth = 260,
|
|
16
16
|
sidebarBgColor = '#f3f3f3',
|
|
17
|
-
...props
|
|
18
17
|
}: SidebarLayoutProps) => {
|
|
19
18
|
const sidebar = children.find(
|
|
20
19
|
(el: React.ReactElement) => el.type === Sidebar
|
|
@@ -22,7 +21,6 @@ export const SidebarLayout: any = ({
|
|
|
22
21
|
const main = children.find((el: React.ReactElement) => el.type === Main);
|
|
23
22
|
return (
|
|
24
23
|
<SidebarWrapper display="flex">
|
|
25
|
-
{/* <SidebarSide bgcolor={sidebarBgColor}> */}
|
|
26
24
|
<SidebarSide bgcolor={sidebarBgColor} width={sidebarWidth}>
|
|
27
25
|
{sidebar && sidebar.props.children}
|
|
28
26
|
</SidebarSide>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './SidebarLayout';
|
|
1
|
+
export * from './SidebarLayout.types';
|
|
2
|
+
export * from './SidebarLayout';
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import { styled } from
|
|
1
|
+
import { styled } from '@mui/material/styles';
|
|
2
|
+
import { Typography } from '../Typography';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const StepsContainer = styled("div")(({ theme }) => ({
|
|
4
|
+
const StepsContainer = styled('div')(({ theme }) => ({
|
|
6
5
|
height: 4,
|
|
7
|
-
width:
|
|
6
|
+
width: '100%',
|
|
8
7
|
borderRadius: theme.shape.borderRadius,
|
|
9
8
|
backgroundColor: theme.palette.background.default,
|
|
10
|
-
display:
|
|
11
|
-
}))
|
|
9
|
+
display: 'flex',
|
|
10
|
+
}));
|
|
12
11
|
|
|
13
|
-
const StepBar = styled(
|
|
12
|
+
const StepBar = styled('div')(({ theme }) => ({
|
|
14
13
|
height: 4,
|
|
15
|
-
width:
|
|
16
|
-
|
|
14
|
+
width: '100%',
|
|
15
|
+
'&:first-of-type': {
|
|
17
16
|
borderRadius: theme.shape.borderRadius,
|
|
18
17
|
borderBottomRightRadius: 0,
|
|
19
18
|
borderTopRightRadius: 0,
|
|
20
19
|
},
|
|
21
|
-
|
|
20
|
+
'&:last-of-type': {
|
|
22
21
|
borderRadius: theme.shape.borderRadius,
|
|
23
22
|
borderBottomLeftRadius: 0,
|
|
24
23
|
borderTopLeftRadius: 0,
|
|
25
24
|
},
|
|
26
|
-
|
|
25
|
+
'&.active': {
|
|
27
26
|
backgroundColor: theme.palette.text.primary,
|
|
28
27
|
borderRadius: theme.shape.borderRadius,
|
|
29
|
-
|
|
28
|
+
'&:not(:first-of-type)': {
|
|
30
29
|
borderBottomLeftRadius: 0,
|
|
31
30
|
borderTopLeftRadius: 0,
|
|
32
31
|
},
|
|
33
32
|
},
|
|
34
|
-
|
|
33
|
+
'&.completed': {
|
|
35
34
|
backgroundColor: theme.palette.text.secondary,
|
|
36
35
|
},
|
|
37
|
-
}))
|
|
36
|
+
}));
|
|
38
37
|
|
|
39
|
-
const LabelsContainer = styled(
|
|
38
|
+
const LabelsContainer = styled('div')(() => ({
|
|
40
39
|
marginTop: 8,
|
|
41
|
-
display:
|
|
42
|
-
}))
|
|
40
|
+
display: 'flex',
|
|
41
|
+
}));
|
|
43
42
|
|
|
44
43
|
const StepLabel = styled(Typography)(({ theme }) => ({
|
|
45
44
|
color: theme.palette.text.disabled,
|
|
46
|
-
|
|
45
|
+
'&.active': {
|
|
47
46
|
color: theme.palette.text.primary,
|
|
48
47
|
},
|
|
49
|
-
|
|
48
|
+
'&.completed': {
|
|
50
49
|
color: theme.palette.text.secondary,
|
|
51
50
|
},
|
|
52
|
-
}))
|
|
51
|
+
}));
|
|
53
52
|
|
|
54
|
-
export { StepsContainer, StepBar, LabelsContainer, StepLabel }
|
|
53
|
+
export { StepsContainer, StepBar, LabelsContainer, StepLabel };
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import { StepNavigationProps } from './StepNavigation.types';
|
|
10
10
|
|
|
11
11
|
export const StepNavigation = (props: StepNavigationProps) => {
|
|
12
|
-
const { ref, steps, activeStep } = props
|
|
12
|
+
const { ref, steps, activeStep } = props;
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<>
|
|
@@ -18,8 +18,8 @@ export const StepNavigation = (props: StepNavigationProps) => {
|
|
|
18
18
|
<StepBar
|
|
19
19
|
key={label}
|
|
20
20
|
className={clsx(
|
|
21
|
-
activeStep === index ?
|
|
22
|
-
activeStep > index ?
|
|
21
|
+
activeStep === index ? 'active' : '',
|
|
22
|
+
activeStep > index ? 'completed' : ''
|
|
23
23
|
)}
|
|
24
24
|
></StepBar>
|
|
25
25
|
))}
|
|
@@ -29,18 +29,18 @@ export const StepNavigation = (props: StepNavigationProps) => {
|
|
|
29
29
|
<StepLabel
|
|
30
30
|
key={label}
|
|
31
31
|
className={clsx(
|
|
32
|
-
activeStep === index ?
|
|
33
|
-
activeStep > index ?
|
|
32
|
+
activeStep === index ? 'active' : '',
|
|
33
|
+
activeStep > index ? 'completed' : ''
|
|
34
34
|
)}
|
|
35
|
-
variant={
|
|
36
|
-
width={100 / steps.length +
|
|
35
|
+
variant={'subtitle2'}
|
|
36
|
+
width={100 / steps.length + '%'}
|
|
37
37
|
>
|
|
38
38
|
{label}
|
|
39
39
|
</StepLabel>
|
|
40
40
|
))}
|
|
41
41
|
</LabelsContainer>
|
|
42
42
|
</>
|
|
43
|
-
)
|
|
44
|
-
}
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
45
|
|
|
46
|
-
export default StepNavigation
|
|
46
|
+
export default StepNavigation;
|
package/src/Switch/Switch.tsx
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { Switch as MuiSwitch } from
|
|
3
|
-
import { SwitchProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Switch as MuiSwitch } from '@mui/material';
|
|
3
|
+
import { SwitchProps } from './Switch.types';
|
|
4
4
|
|
|
5
5
|
export const Switch: React.FC<SwitchProps> = (props: SwitchProps) => {
|
|
6
|
-
return
|
|
7
|
-
<>
|
|
8
|
-
<MuiSwitch color="default" {...props} />
|
|
9
|
-
</>
|
|
10
|
-
);
|
|
6
|
+
return <MuiSwitch color="default" {...props} />;
|
|
11
7
|
};
|
|
12
8
|
|
|
13
9
|
export default Switch;
|
package/src/Switch/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './Switch';
|
|
1
|
+
export * from './Switch.types';
|
|
2
|
+
export * from './Switch';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Canvas, Meta, Story } from "@storybook/addon-docs"
|
|
2
|
+
import { Tab } from "../Tab"
|
|
3
|
+
|
|
4
|
+
<Meta title="components/Tab" component={Tab} />
|
|
5
|
+
|
|
6
|
+
# Tab
|
|
7
|
+
<Canvas withToolbar>
|
|
8
|
+
<Story name="Default" args={{}}>
|
|
9
|
+
{(args) => (
|
|
10
|
+
<Tab label="One" value={0} {...args}/>
|
|
11
|
+
)}
|
|
12
|
+
</Story>
|
|
13
|
+
</Canvas>
|
|
14
|
+
|
package/src/Tab/Tab.test.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { Tab } from './Tab';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})
|
|
9
|
-
})
|
|
5
|
+
describe('Tab', () => {
|
|
6
|
+
it('renders without crashing', async () => {
|
|
7
|
+
render(<Tab />);
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -7,8 +7,6 @@ import { Typography } from '../Typography/Typography';
|
|
|
7
7
|
import { IconButton } from '../IconButton/IconButton';
|
|
8
8
|
import { ListItemAvatar } from '../ListItemAvatar/ListItemAvatar';
|
|
9
9
|
import { ListItemText } from '../ListItemText/ListItemText';
|
|
10
|
-
// import MoreVerticalIcon from '../Icons/MoreVerticalIcon'
|
|
11
|
-
// import ResponseIcon from '../Icons/ResponseIcon'
|
|
12
10
|
import { SvgMoreVerticalIcon, SvgBubble } from '../Icons/lawconnect/';
|
|
13
11
|
import { Icon } from '../Icon/Icon';
|
|
14
12
|
|
|
@@ -29,9 +27,32 @@ import TabListItem from '@galaxy-ds/core';
|
|
|
29
27
|
```
|
|
30
28
|
|
|
31
29
|
<Canvas withToolbar>
|
|
32
|
-
<Story name="Default" args={{}}
|
|
30
|
+
<Story name="Default" args={{}} parameters={{ docs: { source: { code: `
|
|
31
|
+
<TabListItem
|
|
32
|
+
hideOnHover={
|
|
33
|
+
<span>
|
|
34
|
+
<Typography component="span" variant="caption">
|
|
35
|
+
$350
|
|
36
|
+
</Typography>
|
|
37
|
+
</span>
|
|
38
|
+
}
|
|
39
|
+
showOnHover={
|
|
40
|
+
<IconButton size="small">
|
|
41
|
+
<Icon name={SvgMoreVerticalIcon} fontSize="small" />
|
|
42
|
+
</IconButton>
|
|
43
|
+
}
|
|
44
|
+
>
|
|
45
|
+
<ListItemAvatar>
|
|
46
|
+
<Avatar size="xsmall">LT</Avatar>
|
|
47
|
+
</ListItemAvatar>
|
|
48
|
+
<ListItemText primaryTypographyProps={{ noWrap: true }}>
|
|
49
|
+
Laura Tamar
|
|
50
|
+
</ListItemText>
|
|
51
|
+
</TabListItem>`
|
|
52
|
+
}}}}>
|
|
33
53
|
{(args) => (
|
|
34
54
|
<TabListItem
|
|
55
|
+
{...args}
|
|
35
56
|
hideOnHover={
|
|
36
57
|
<span>
|
|
37
58
|
<Typography component="span" variant="caption">
|
|
@@ -59,7 +80,37 @@ import TabListItem from '@galaxy-ds/core';
|
|
|
59
80
|
<ArgsTable story="Default" />
|
|
60
81
|
|
|
61
82
|
<Canvas>
|
|
62
|
-
<Story name="Text Prepend Icon" args={{}}
|
|
83
|
+
<Story name="Text Prepend Icon" args={{}} parameters={{ docs: { source: { code: `
|
|
84
|
+
<TabListItem
|
|
85
|
+
hideOnHover={
|
|
86
|
+
<span>
|
|
87
|
+
<Typography component="span" variant="caption">
|
|
88
|
+
$350
|
|
89
|
+
</Typography>
|
|
90
|
+
</span>
|
|
91
|
+
}
|
|
92
|
+
showOnHover={
|
|
93
|
+
<IconButton size="small">
|
|
94
|
+
<Icon name={SvgMoreVerticalIcon} fontSize="small" />
|
|
95
|
+
</IconButton>
|
|
96
|
+
}
|
|
97
|
+
>
|
|
98
|
+
<ListItemAvatar>
|
|
99
|
+
<Avatar size="xsmall">LT</Avatar>
|
|
100
|
+
</ListItemAvatar>
|
|
101
|
+
<Box
|
|
102
|
+
display="flex"
|
|
103
|
+
justifyContent="center"
|
|
104
|
+
alignItems="center"
|
|
105
|
+
style={{ height: 20 }}
|
|
106
|
+
>
|
|
107
|
+
<Icon name={SvgBubble} fontSize="small" />
|
|
108
|
+
</Box>
|
|
109
|
+
<ListItemText primaryTypographyProps={{ noWrap: true }}>
|
|
110
|
+
<>Laura Tamar</>
|
|
111
|
+
</ListItemText>
|
|
112
|
+
</TabListItem>
|
|
113
|
+
`}}}}>
|
|
63
114
|
{(args) => (
|
|
64
115
|
<TabListItem
|
|
65
116
|
hideOnHover={
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListItemButtonProps } from '@mui/material';
|
|
2
2
|
|
|
3
|
-
export interface TabListItemProps {
|
|
4
|
-
children: any;
|
|
3
|
+
export interface TabListItemProps extends ListItemButtonProps {
|
|
5
4
|
/**
|
|
6
5
|
* Content that hidden when list item on hover
|
|
7
6
|
*/
|
|
@@ -33,7 +33,44 @@ All Table components (Table, TableBody, TableHead, TableFooter, TableRow, TableC
|
|
|
33
33
|
For example, `component='div'`.
|
|
34
34
|
|
|
35
35
|
<Canvas withToolbar>
|
|
36
|
-
<Story name="Default" args={{ size: 'small' }}
|
|
36
|
+
<Story name="Default" args={{ size: 'small' }} parameters={{ docs: { source: { code: `
|
|
37
|
+
<TableContainer>
|
|
38
|
+
<Table size="small">
|
|
39
|
+
<TableHead>
|
|
40
|
+
<TableRow>
|
|
41
|
+
<TableCell><Typography variant='caption'>Shared with</Typography></TableCell>
|
|
42
|
+
<TableCell align='center' width={180}><Typography variant='caption'>Shared as</Typography></TableCell>
|
|
43
|
+
<TableCell align='center' width={180}><Typography variant='caption'>Access</Typography></TableCell>
|
|
44
|
+
</TableRow>
|
|
45
|
+
</TableHead>
|
|
46
|
+
<TableBody>
|
|
47
|
+
{['Laura', 'Barry Su', 'Fast Contracts'].map(name =>
|
|
48
|
+
<TableRow key={name}>
|
|
49
|
+
<TableCell padding='none' size="small">
|
|
50
|
+
<ListItem component="span" dense>
|
|
51
|
+
<ListItemAvatar>
|
|
52
|
+
<Avatar size="small"><Icon name={AvatarPersonIcon} /></Avatar>
|
|
53
|
+
</ListItemAvatar>
|
|
54
|
+
<ListItemText secondary="Laura Anderson">
|
|
55
|
+
<Typography variant='subtitle1' component='span' color='primary' noWrap>{name}</Typography>
|
|
56
|
+
<Typography component='span' color='text.light'>(Client)</Typography>
|
|
57
|
+
</ListItemText>
|
|
58
|
+
</ListItem>
|
|
59
|
+
</TableCell>
|
|
60
|
+
<TableCell align='center' size="small">PDF</TableCell>
|
|
61
|
+
<TableCell size="small">
|
|
62
|
+
<Dropdown align="right" defaultValue="1" displayEmpty startAdornment={<Icon name={UserLockIcon}/>}>
|
|
63
|
+
<MenuItem value={1}>Sign in to view</MenuItem>
|
|
64
|
+
<MenuItem value={2}>Anyone with link can view</MenuItem>
|
|
65
|
+
<MenuItem value={3}>Revoke access</MenuItem>
|
|
66
|
+
</Dropdown>
|
|
67
|
+
</TableCell>
|
|
68
|
+
</TableRow>
|
|
69
|
+
)}
|
|
70
|
+
</TableBody>
|
|
71
|
+
</Table>
|
|
72
|
+
</TableContainer>
|
|
73
|
+
`}}}}>
|
|
37
74
|
{(args) => (
|
|
38
75
|
<div style={{maxWidth: 650}}>
|
|
39
76
|
<TableContainer>
|
|
@@ -79,7 +116,46 @@ For example, `component='div'`.
|
|
|
79
116
|
Compact Table use `size='small'`
|
|
80
117
|
|
|
81
118
|
<Canvas withToolbar>
|
|
82
|
-
<Story name="Checkbox" args={{ size: 'small' }}
|
|
119
|
+
<Story name="Checkbox" args={{ size: 'small' }} parameters={{ docs: { source: { code: `
|
|
120
|
+
<TableContainer>
|
|
121
|
+
<Table size="small">
|
|
122
|
+
<TableHead>
|
|
123
|
+
<TableRow>
|
|
124
|
+
<TableCell colSpan={2}><Typography variant='caption'>Item</Typography></TableCell>
|
|
125
|
+
<TableCell align='center' width={70}><Typography noWrap variant='caption'>Staff</Typography></TableCell>
|
|
126
|
+
<TableCell align='center' width={100}><Typography variant='caption'>Created</Typography></TableCell>
|
|
127
|
+
</TableRow>
|
|
128
|
+
</TableHead>
|
|
129
|
+
<TableBody>
|
|
130
|
+
{['Laura', 'Barry Su', 'Fast Contracts'].map(name =>
|
|
131
|
+
<TableRow key={name}>
|
|
132
|
+
<TableCell padding="checkbox" size="small">
|
|
133
|
+
<Checkbox />
|
|
134
|
+
</TableCell>
|
|
135
|
+
<TableCell padding='none' size="small">
|
|
136
|
+
<ListItem component="span" disableGutters dense>
|
|
137
|
+
<ListItemIcon>
|
|
138
|
+
<AttachmentIcon size="small" ext="pdf" />
|
|
139
|
+
</ListItemIcon>
|
|
140
|
+
<ListItemText>
|
|
141
|
+
<Typography variant='body2' component='span' noWrap>Letter of Demand</Typography>
|
|
142
|
+
</ListItemText>
|
|
143
|
+
</ListItem>
|
|
144
|
+
</TableCell>
|
|
145
|
+
<TableCell align='center' size="small">
|
|
146
|
+
<TableCellIcon align='center'>
|
|
147
|
+
<Avatar
|
|
148
|
+
color="default"
|
|
149
|
+
size="small">RR</Avatar>
|
|
150
|
+
</TableCellIcon>
|
|
151
|
+
</TableCell>
|
|
152
|
+
<TableCell align='center' size="small"><Typography noWrap variant='body2'>28 Mar 2021</Typography></TableCell>
|
|
153
|
+
</TableRow>
|
|
154
|
+
)}
|
|
155
|
+
</TableBody>
|
|
156
|
+
</Table>
|
|
157
|
+
</TableContainer>
|
|
158
|
+
`}}}}>
|
|
83
159
|
{(args) => (
|
|
84
160
|
<div style={{maxWidth: 650}}>
|
|
85
161
|
<TableContainer>
|
|
@@ -93,33 +169,33 @@ Compact Table use `size='small'`
|
|
|
93
169
|
</TableHead>
|
|
94
170
|
<TableBody>
|
|
95
171
|
{['Laura', 'Barry Su', 'Fast Contracts'].map(name =>
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
172
|
+
<TableRow key={name}>
|
|
173
|
+
<TableCell padding="checkbox" size="small">
|
|
174
|
+
<Checkbox />
|
|
175
|
+
</TableCell>
|
|
176
|
+
<TableCell padding='none' size="small">
|
|
177
|
+
<ListItem component="span" disableGutters dense>
|
|
178
|
+
<ListItemIcon>
|
|
179
|
+
<AttachmentIcon size="small" ext="pdf" />
|
|
180
|
+
</ListItemIcon>
|
|
181
|
+
<ListItemText>
|
|
182
|
+
<Typography variant='body2' component='span' noWrap>Letter of Demand</Typography>
|
|
183
|
+
</ListItemText>
|
|
184
|
+
</ListItem>
|
|
185
|
+
</TableCell>
|
|
186
|
+
<TableCell align='center' size="small">
|
|
187
|
+
<TableCellIcon align='center'>
|
|
188
|
+
<Avatar
|
|
189
|
+
color="default"
|
|
190
|
+
size="small">RR</Avatar>
|
|
191
|
+
</TableCellIcon>
|
|
192
|
+
</TableCell>
|
|
193
|
+
<TableCell align='center' size="small"><Typography noWrap variant='body2'>28 Mar 2021</Typography></TableCell>
|
|
194
|
+
</TableRow>
|
|
195
|
+
)}
|
|
196
|
+
</TableBody>
|
|
197
|
+
</Table>
|
|
198
|
+
</TableContainer>
|
|
123
199
|
</div>
|
|
124
200
|
)}
|
|
125
201
|
</Story>
|
|
@@ -130,7 +206,46 @@ Compact Table use `size='small'`
|
|
|
130
206
|
To make table header sticky set `stickyHeader` to `true`.
|
|
131
207
|
|
|
132
208
|
<Canvas>
|
|
133
|
-
<Story name="Sticky Header" args={{stickyHeader: true}}
|
|
209
|
+
<Story name="Sticky Header" args={{stickyHeader: true}} parameters={{ docs: { source: { code: `
|
|
210
|
+
<TableContainer style={{maxHeight: 200}}>
|
|
211
|
+
<Table stickyHeader>
|
|
212
|
+
<TableHead>
|
|
213
|
+
<TableRow>
|
|
214
|
+
<TableCell colSpan={2}><Typography variant='caption'>Item</Typography></TableCell>
|
|
215
|
+
<TableCell align='center' width={70}><Typography noWrap variant='caption'>Staff</Typography></TableCell>
|
|
216
|
+
<TableCell align='center' width={100}><Typography variant='caption'>Created</Typography></TableCell>
|
|
217
|
+
</TableRow>
|
|
218
|
+
</TableHead>
|
|
219
|
+
<TableBody>
|
|
220
|
+
{['Laura', 'Barry Su', 'Fast Contracts', 'Stan Tamar', 'John Smith'].map(name =>
|
|
221
|
+
<TableRow key={name}>
|
|
222
|
+
<TableCell padding="checkbox">
|
|
223
|
+
<Checkbox />
|
|
224
|
+
</TableCell>
|
|
225
|
+
<TableCell padding='none'>
|
|
226
|
+
<ListItem component="span" disableGutters dense>
|
|
227
|
+
<ListItemIcon>
|
|
228
|
+
<AttachmentIcon size="small" ext="pdf" />
|
|
229
|
+
</ListItemIcon>
|
|
230
|
+
<ListItemText>
|
|
231
|
+
<Typography variant='body2' component='span' noWrap>Letter of Demand</Typography>
|
|
232
|
+
</ListItemText>
|
|
233
|
+
</ListItem>
|
|
234
|
+
</TableCell>
|
|
235
|
+
<TableCell align='center'>
|
|
236
|
+
<TableCellIcon align='center'>
|
|
237
|
+
<Avatar
|
|
238
|
+
color="default"
|
|
239
|
+
size="small">RR</Avatar>
|
|
240
|
+
</TableCellIcon>
|
|
241
|
+
</TableCell>
|
|
242
|
+
<TableCell align='center'><Typography noWrap variant='body2'>28 Mar 2021</Typography></TableCell>
|
|
243
|
+
</TableRow>
|
|
244
|
+
)}
|
|
245
|
+
</TableBody>
|
|
246
|
+
</Table>
|
|
247
|
+
</TableContainer>
|
|
248
|
+
`}}}}>
|
|
134
249
|
{(args) => (
|
|
135
250
|
<div style={{maxWidth: 650}}>
|
|
136
251
|
<TableContainer style={{maxHeight: 200}}>
|
package/src/Table/Table.test.tsx
CHANGED
package/src/Table/Table.tsx
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Table as MuiTable } from '@mui/material';
|
|
3
|
-
import { TableProps } from
|
|
4
|
-
|
|
3
|
+
import { TableProps } from './Table.types';
|
|
5
4
|
|
|
6
5
|
export const Table: React.FC<TableProps> = (props: TableProps) => {
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
)
|
|
10
|
-
}
|
|
6
|
+
return <MuiTable {...props} />;
|
|
7
|
+
};
|