@zohodesk/dot 1.0.0-temp-212 → 1.0.0-temp-200.8
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/.cli/propValidation_report.html +1 -1
- package/README.md +39 -0
- package/es/ActionButton/ActionButton.js +3 -3
- package/es/ActionButton/__tests__/ActionButton.spec.js +9 -2
- package/es/AlphabeticList/AlphabeticList.js +3 -3
- package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
- package/es/Attachment/Attachment.js +4 -4
- package/es/Attachment/Attachment.module.css +7 -3
- package/es/Attachment/__tests__/Attachment.spec.js +1 -1
- package/es/AttachmentViewer/Attachment.js +50 -0
- package/es/AttachmentViewer/AttachmentImage.js +5 -5
- package/es/AttachmentViewer/AttachmentViewer.js +120 -34
- package/es/AttachmentViewer/AttachmentViewer.module.css +32 -9
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +9 -2
- package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
- package/es/AttachmentViewer/props/defaultProps.js +1 -1
- package/es/AttachmentViewer/props/propTypes.js +9 -1
- package/es/AttachmentViewer/utils.js +80 -13
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
- package/es/ChannelIcon/props/propTypes.js +1 -1
- package/es/DotProvider/DotProvider.js +2 -2
- package/es/DotProvider/__tests__/DotProvider.spec.js +51 -25
- package/es/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +170 -170
- package/es/DotProvider/hooks/useDotProvider.js +2 -2
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +4 -4
- package/es/DotProvider/libraryChunks/appearance/component/Dark_Component.js +1 -1
- package/es/DotProvider/libraryChunks/appearance/component/Light_Component.js +1 -1
- package/es/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -1
- package/es/DotProvider/props/propTypes.js +1 -1
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +7 -7
- package/es/DotProvider/utils/themeColorAssetsConfig.js +46 -46
- package/es/Drawer/Drawer.js +14 -8
- package/es/Drawer/__tests__/Content.spec.js +1 -1
- package/es/Drawer/__tests__/Drawer.spec.js +9 -2
- package/es/Drawer/__tests__/Footer.spec.js +1 -1
- package/es/Drawer/__tests__/Header.spec.js +1 -1
- package/es/Drawer/__tests__/__snapshots__/Header.spec.js.snap +4 -4
- package/es/Drawer/index.js +1 -1
- package/es/Drawer/props/propTypes.js +4 -1
- package/es/ExternalLink/ExternalLink.js +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
- package/es/FlipCard/FlipCard.js +7 -7
- package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
- package/es/FlipCard/__tests__/__snapshots__/FlipCard.spec.js.snap +6 -6
- package/es/FormAction/FormAction.js +3 -3
- package/es/FormAction/__tests__/FormAction.spec.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +13 -7
- package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
- package/es/FreezeLayer/index.js +2 -2
- package/es/FreezeLayer/props/propTypes.js +4 -1
- package/es/Hooks/Dragger/useDragger.js +7 -5
- package/es/Hooks/useFreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +4 -4
- package/es/IconButton/IconButton.module.css +3 -0
- package/es/IconButton/__tests__/IconButton.spec.js +1 -1
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +1 -1
- package/es/Image/Image.js +3 -3
- package/es/Image/__tests__/Image.spec.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -3
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
- package/es/Link/Link.js +4 -4
- package/es/Link/__tests__/Link.spec.js +2 -2
- package/es/Loader/Loader.js +1 -1
- package/es/Loader/__tests__/Loader.spec.js +1 -1
- package/es/Message/Message.js +4 -4
- package/es/Message/__tests__/Message.spec.js +1 -1
- package/es/Message/props/propTypes.js +1 -1
- package/es/MessageBanner/MessageBanner.js +4 -4
- package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
- package/es/NewStar/NewStar.js +3 -3
- package/es/NewStar/__tests__/NewStar.spec.js +1 -1
- package/es/Onboarding/CarouselDots/CarouselDot/CarouselDot.js +3 -3
- package/es/Onboarding/CarouselDots/CarouselDot/__tests__/CarouselDot.spec.js +1 -1
- package/es/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +5 -14
- package/es/Onboarding/CarouselDots/CarouselDots.js +4 -4
- package/es/Onboarding/CarouselDots/__tests__/CarouselDots.spec.js +1 -1
- package/es/Onboarding/Onboarding.js +49 -19
- package/es/Onboarding/__tests__/Onboarding.spec.js +53 -2
- package/es/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +597 -93
- package/es/Onboarding/css/Onboarding.module.css +20 -2
- package/es/Onboarding/hooks/useOnboarding.js +14 -1
- package/es/Onboarding/hooks/useOnboardingSlider.js +11 -4
- package/es/Onboarding/props/defaultProps.js +12 -1
- package/es/Onboarding/props/propTypes.js +13 -2
- package/es/PlusIcon/PlusIcon.js +4 -4
- package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
- package/es/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +13 -13
- package/es/PlusIcon/props/propTypes.js +1 -1
- package/es/Separator/Separator.js +3 -3
- package/es/Separator/__tests__/Separator.spec.js +1 -1
- package/es/TagWithIcon/TagWithIcon.js +3 -3
- package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
- package/es/Upload/Upload.js +4 -4
- package/es/Upload/__tests__/Upload.spec.js +1 -1
- package/es/VideoLookup/VideoLookup.js +4 -4
- package/es/VideoLookup/__tests__/VideoLookup.spec.js +9 -2
- package/es/actions/AutoClose.js +2 -2
- package/es/alert/AlertHeader/AlertHeader.js +5 -5
- package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/alert/index.js +2 -2
- package/es/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -0
- package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
- package/es/avatar/AvatarIcon/__tests__/__snapshots__/AvatarIcon.spec.js.snap +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
- package/es/avatar/index.js +7 -7
- package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +34 -11
- package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -5
- package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
- package/es/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
- package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/errorstate/LinkText/LinkText.js +4 -4
- package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
- package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +4 -4
- package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
- package/es/errorstate/index.js +8 -8
- package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
- package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
- package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/form/fields/DateField/DateField.js +5 -5
- package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
- package/es/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
- package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
- package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +4 -4
- package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -5
- package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
- package/es/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +4 -0
- package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
- package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +4 -4
- package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
- package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
- package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
- package/es/form/fields/index.js +16 -16
- package/es/form/layout/Field/Field.js +3 -3
- package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
- package/es/form/layout/Section/Section.js +2 -2
- package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
- package/es/form/layout/index.js +2 -2
- package/es/index.js +40 -40
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
- package/es/layout/SetupDetailLayout/index.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
- package/es/layout/SubtabLayout/index.js +4 -4
- package/es/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
- package/es/list/Comment/Comment.js +3 -3
- package/es/list/Comment/__tests__/Comment.spec.js +1 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
- package/es/list/Dot/Dot.js +3 -3
- package/es/list/Dot/__tests__/Dot.spec.js +1 -1
- package/es/list/DotNew/DotNew.js +3 -3
- package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
- package/es/list/GridStencils/GridStencils.js +2 -2
- package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
- package/es/list/Icons/AddNewIcon.js +2 -2
- package/es/list/Icons/CompleteIcon.js +2 -2
- package/es/list/Icons/DeleteIcon.js +2 -2
- package/es/list/Icons/EditIcon.js +2 -2
- package/es/list/Icons/FloatingIcons.js +3 -3
- package/es/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/list/Icons/SmartIcon.js +2 -2
- package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
- package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
- package/es/list/Icons/index.js +7 -7
- package/es/list/ListLayout/ListLayout.js +3 -3
- package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
- package/es/list/ListStencils/ListStencils.js +3 -3
- package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
- package/es/list/ListStencils/__tests__/__snapshots__/ListStencils.spec.js.snap +6 -6
- package/es/list/SecondaryText/AccountName.js +4 -4
- package/es/list/SecondaryText/ContactName.js +5 -5
- package/es/list/SecondaryText/DepartmentText.js +2 -2
- package/es/list/SecondaryText/Email.js +4 -4
- package/es/list/SecondaryText/HappinessRating.js +2 -2
- package/es/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/list/SecondaryText/PriorityText.js +3 -3
- package/es/list/SecondaryText/SecondaryText.js +3 -3
- package/es/list/SecondaryText/StatusText.js +3 -3
- package/es/list/SecondaryText/TicketId.js +4 -4
- package/es/list/SecondaryText/Website.js +4 -4
- package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
- package/es/list/SecondaryText/index.js +11 -11
- package/es/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
- package/es/list/Subject/Subject.js +4 -4
- package/es/list/Subject/__tests__/Subject.spec.js +1 -1
- package/es/list/TagNew/TagNew.js +3 -3
- package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
- package/es/list/Thread/Thread.js +3 -3
- package/es/list/Thread/__tests__/Thread.spec.js +1 -1
- package/es/list/index.js +16 -16
- package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
- package/es/list/status/index.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
- package/es/lookup/Lookup/Lookup.js +4 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
- package/es/lookup/Section/Section.js +2 -2
- package/es/lookup/Section/__tests__/Section.spec.js +1 -1
- package/es/lookup/header/Close/Close.js +3 -3
- package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
- package/es/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
- package/es/lookup/header/Search/Search.js +4 -4
- package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
- package/es/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
- package/es/lookup/header/Title/Title.js +3 -3
- package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
- package/es/lookup/header/index.js +5 -5
- package/es/lookup/index.js +4 -4
- package/es/setup/header/Button/Button.js +3 -3
- package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
- package/es/setup/header/Link/Link.js +4 -4
- package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/header/Search/Search.js +3 -3
- package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/setup/header/Views/Views.js +3 -3
- package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
- package/es/setup/header/index.js +4 -4
- package/es/setup/helptips/Description/Description.js +2 -2
- package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
- package/es/setup/helptips/Link/Link.js +3 -3
- package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
- package/es/setup/helptips/Title/Title.js +2 -2
- package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
- package/es/setup/helptips/index.js +4 -4
- package/es/setup/index.js +3 -3
- package/es/setup/table/Table/Table.js +2 -2
- package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +2 -2
- package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
- package/es/setup/table/TableData/TableData.js +3 -3
- package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +3 -3
- package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +3 -3
- package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
- package/es/setup/table/Text/Text.js +4 -4
- package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
- package/es/setup/table/index.js +5 -5
- package/es/svg/PlusIcon.js +2 -2
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/TemplateIcon.js +2 -2
- package/es/svg/__tests__/PlusIcon.spec.js +1 -1
- package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
- package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
- package/es/svg/index.js +3 -3
- package/es/utils/General.js +23 -1
- package/es/v1/ActionButton/ActionButton.js +3 -3
- package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
- package/es/v1/Attachment/Attachment.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentImage.js +5 -5
- package/es/v1/AttachmentViewer/AttachmentViewer.js +11 -11
- package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/ExternalLink/ExternalLink.js +3 -3
- package/es/v1/FlipCard/FlipCard.js +7 -7
- package/es/v1/FormAction/FormAction.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
- package/es/v1/Link/Link.js +4 -4
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -4
- package/es/v1/Message/props/propTypes.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +4 -4
- package/es/v1/NewStar/NewStar.js +3 -3
- package/es/v1/PlusIcon/PlusIcon.js +4 -4
- package/es/v1/Separator/Separator.js +3 -3
- package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +4 -4
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/alert/AlertClose/AlertClose.js +2 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
- package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/index.js +8 -8
- package/es/v1/alert/index.js +2 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/v1/avatar/index.js +7 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/v1/form/fields/DateField/DateField.js +5 -5
- package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +5 -5
- package/es/v1/form/fields/SelectField/SelectField.js +5 -5
- package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +4 -4
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/v1/form/fields/index.js +16 -16
- package/es/v1/form/layout/Field/Field.js +3 -3
- package/es/v1/form/layout/Section/Section.js +2 -2
- package/es/v1/form/layout/index.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/v1/layout/SetupDetailLayout/index.js +4 -4
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/v1/layout/SubtabLayout/index.js +4 -4
- package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/v1/list/Comment/Comment.js +3 -3
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/v1/list/Dot/Dot.js +3 -3
- package/es/v1/list/DotNew/DotNew.js +3 -3
- package/es/v1/list/GridStencils/GridStencils.js +2 -2
- package/es/v1/list/Icons/AddNewIcon.js +2 -2
- package/es/v1/list/Icons/CompleteIcon.js +2 -2
- package/es/v1/list/Icons/DeleteIcon.js +2 -2
- package/es/v1/list/Icons/EditIcon.js +2 -2
- package/es/v1/list/Icons/FloatingIcons.js +3 -3
- package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/v1/list/Icons/SmartIcon.js +2 -2
- package/es/v1/list/Icons/index.js +7 -7
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListStencils/ListStencils.js +3 -3
- package/es/v1/list/SecondaryText/AccountName.js +4 -4
- package/es/v1/list/SecondaryText/ContactName.js +5 -5
- package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
- package/es/v1/list/SecondaryText/Email.js +4 -4
- package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
- package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/v1/list/SecondaryText/PriorityText.js +3 -3
- package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
- package/es/v1/list/SecondaryText/StatusText.js +3 -3
- package/es/v1/list/SecondaryText/TicketId.js +4 -4
- package/es/v1/list/SecondaryText/Website.js +4 -4
- package/es/v1/list/SecondaryText/index.js +11 -11
- package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/v1/list/Subject/Subject.js +4 -4
- package/es/v1/list/TagNew/TagNew.js +3 -3
- package/es/v1/list/Thread/Thread.js +3 -3
- package/es/v1/list/index.js +16 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/v1/list/status/index.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/v1/lookup/Lookup/Lookup.js +4 -4
- package/es/v1/lookup/Section/Section.js +2 -2
- package/es/v1/lookup/header/Close/Close.js +3 -3
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/v1/lookup/header/Search/Search.js +4 -4
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/v1/lookup/header/Title/Title.js +3 -3
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/v1/lookup/header/index.js +5 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +3 -3
- package/es/v1/setup/header/Link/Link.js +4 -4
- package/es/v1/setup/header/Search/Search.js +3 -3
- package/es/v1/setup/header/Views/Views.js +3 -3
- package/es/v1/setup/header/index.js +4 -4
- package/es/v1/setup/helptips/Description/Description.js +2 -2
- package/es/v1/setup/helptips/Link/Link.js +3 -3
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/v1/setup/helptips/Title/Title.js +2 -2
- package/es/v1/setup/helptips/index.js +4 -4
- package/es/v1/setup/index.js +3 -3
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableData/TableData.js +3 -3
- package/es/v1/setup/table/TableHead/TableHead.js +3 -3
- package/es/v1/setup/table/TableRow/TableRow.js +3 -3
- package/es/v1/setup/table/Text/Text.js +4 -4
- package/es/v1/setup/table/index.js +5 -5
- package/es/v1/svg/PlusIcon.js +2 -2
- package/es/v1/svg/SnippetIcon.js +2 -2
- package/es/v1/svg/TemplateIcon.js +2 -2
- package/es/v1/svg/index.js +3 -3
- package/es/version2/AlertClose/AlertClose.js +2 -2
- package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
- package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
- package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/version2/alertIcons/AlertIcons.js +9 -9
- package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/index.js +8 -8
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
- package/es/version2/errorstate/index.js +6 -6
- package/es/version2/index.js +8 -8
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
- package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/version2/lookup/index.js +2 -2
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/notification/index.js +3 -3
- package/lib/ActionButton/__tests__/ActionButton.spec.js +8 -0
- package/lib/Attachment/Attachment.module.css +7 -3
- package/lib/AttachmentViewer/Attachment.js +60 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +125 -23
- package/lib/AttachmentViewer/AttachmentViewer.module.css +32 -9
- package/lib/AttachmentViewer/__tests__/AttachmentViewer.spec.js +8 -0
- package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
- package/lib/AttachmentViewer/props/defaultProps.js +1 -1
- package/lib/AttachmentViewer/props/propTypes.js +9 -1
- package/lib/AttachmentViewer/utils.js +85 -8
- package/lib/DotProvider/__tests__/DotProvider.spec.js +91 -64
- package/lib/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +170 -170
- package/lib/DotProvider/libraryChunks/appearance/component/Dark_Component.js +1 -1
- package/lib/DotProvider/libraryChunks/appearance/component/Light_Component.js +1 -1
- package/lib/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +1 -1
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +6 -6
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +45 -45
- package/lib/Drawer/Drawer.js +8 -2
- package/lib/Drawer/__tests__/Drawer.spec.js +8 -0
- package/lib/Drawer/__tests__/__snapshots__/Header.spec.js.snap +4 -4
- package/lib/Drawer/props/propTypes.js +4 -1
- package/lib/FlipCard/__tests__/__snapshots__/FlipCard.spec.js.snap +6 -6
- package/lib/FreezeLayer/FreezeLayer.js +8 -2
- package/lib/FreezeLayer/props/propTypes.js +4 -1
- package/lib/Hooks/Dragger/useDragger.js +2 -0
- package/lib/IconButton/IconButton.js +1 -1
- package/lib/IconButton/IconButton.module.css +3 -0
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +1 -1
- package/lib/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +5 -14
- package/lib/Onboarding/Onboarding.js +42 -13
- package/lib/Onboarding/__tests__/Onboarding.spec.js +52 -0
- package/lib/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +597 -93
- package/lib/Onboarding/css/Onboarding.module.css +20 -2
- package/lib/Onboarding/hooks/useOnboarding.js +15 -1
- package/lib/Onboarding/hooks/useOnboardingSlider.js +13 -4
- package/lib/Onboarding/props/defaultProps.js +12 -1
- package/lib/Onboarding/props/propTypes.js +11 -0
- package/lib/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +13 -13
- package/lib/VideoLookup/__tests__/VideoLookup.spec.js +8 -0
- package/lib/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -0
- package/lib/avatar/AvatarIcon/__tests__/__snapshots__/AvatarIcon.spec.js.snap +1 -1
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +34 -11
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +4 -0
- package/lib/list/ListStencils/__tests__/__snapshots__/ListStencils.spec.js.snap +6 -6
- package/lib/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
- package/lib/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
- package/lib/utils/General.js +25 -1
- package/package.json +9 -9
- package/result.json +1 -0
- package/unittest/index.html +37 -0
- package/es/common/dot_common.module.css +0 -4
- package/lib/common/dot_common.module.css +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo, useLayoutEffect } from 'react';
|
|
2
|
-
import { getThemeAppearanceAssetPromise } from
|
|
3
|
-
import { getThemeColorAssetPromise } from
|
|
4
|
-
import { getFontSizeAssetPromise } from
|
|
5
|
-
import { getZoomSizeAssetPromise } from
|
|
2
|
+
import { getThemeAppearanceAssetPromise } from "../utils/assetPromiseHandlers/themeAppearanceAssetPromise.js";
|
|
3
|
+
import { getThemeColorAssetPromise } from "../utils/assetPromiseHandlers/themeColorAssetPromise.js";
|
|
4
|
+
import { getFontSizeAssetPromise } from "../utils/assetPromiseHandlers/fontSizeAssetPromise.js";
|
|
5
|
+
import { getZoomSizeAssetPromise } from "../utils/assetPromiseHandlers/zoomSizeAssetPromise.js";
|
|
6
6
|
export default function useDownloadAssetsAndSetAttr(_ref) {
|
|
7
7
|
let {
|
|
8
8
|
themeAppearance,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/dark/mode/
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/mode/Component_v1_DarkMode.module.css';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/light/mode/
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/mode/Component_v1_LightMode.module.css';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/pureDark/mode/
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/mode/Component_v1_PureDarkMode.module.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import { THEME_APPEARANCES, THEME_COLORS } from
|
|
2
|
+
import { THEME_APPEARANCES, THEME_COLORS } from "../utils/constants";
|
|
3
3
|
export const propTypes = {
|
|
4
4
|
themeAppearance: PropTypes.oneOf(THEME_APPEARANCES),
|
|
5
5
|
themeColor: PropTypes.oneOf(THEME_COLORS),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from
|
|
1
|
+
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from "./constants";
|
|
2
2
|
export const themeAppearanceImports = {
|
|
3
3
|
Lib_LightMode_Component: () => import(
|
|
4
4
|
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
5
|
-
|
|
5
|
+
"../libraryChunks/appearance/component/Light_Component"),
|
|
6
6
|
Lib_DarkMode_Component: () => import(
|
|
7
7
|
/* webpackChunkName: 'Lib_DarkMode_Component' */
|
|
8
|
-
|
|
8
|
+
"../libraryChunks/appearance/component/Dark_Component"),
|
|
9
9
|
Lib_PureDarkMode_Component: () => import(
|
|
10
10
|
/* webpackChunkName: 'Lib_PureDarkMode_Component' */
|
|
11
|
-
|
|
11
|
+
"../libraryChunks/appearance/component/PureDark_Component"),
|
|
12
12
|
Lib_LightMode_Dot: () => import(
|
|
13
13
|
/* webpackChunkName: 'Lib_LightMode_Dot' */
|
|
14
|
-
|
|
14
|
+
"./../../../assets/Appearance/light/mode/Dot_LightMode.module.css"),
|
|
15
15
|
Lib_DarkMode_Dot: () => import(
|
|
16
16
|
/* webpackChunkName: 'Lib_DarkMode_Dot' */
|
|
17
|
-
|
|
17
|
+
"./../../../assets/Appearance/dark/mode/Dot_DarkMode.module.css"),
|
|
18
18
|
Lib_PureDarkMode_Dot: () => import(
|
|
19
19
|
/* webpackChunkName: 'Lib_PureDarkMode_Dot' */
|
|
20
|
-
|
|
20
|
+
"./../../../assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css"),
|
|
21
21
|
Lib_LightMode_SVG: () => import(
|
|
22
22
|
/* webpackChunkName: 'Lib_LightMode_SVG' */
|
|
23
23
|
'@zohodesk/svg/assets/Appearance/light/mode/SVG_LightMode.module.css'),
|
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from
|
|
1
|
+
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants";
|
|
2
2
|
export const themeColorImports = {
|
|
3
3
|
Lib_Blue_Light_Component: () => import(
|
|
4
4
|
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
5
|
-
|
|
5
|
+
"../libraryChunks/themes/component/blue/Blue_Light_Component"),
|
|
6
6
|
Lib_Blue_Dark_Component: () => import(
|
|
7
7
|
/* webpackChunkName: 'Lib_Blue_Dark_Component' */
|
|
8
|
-
|
|
8
|
+
"../libraryChunks/themes/component/blue/Blue_Dark_Component"),
|
|
9
9
|
Lib_Blue_PureDark_Component: () => import(
|
|
10
10
|
/* webpackChunkName: 'Lib_Blue_PureDark_Component' */
|
|
11
|
-
|
|
11
|
+
"../libraryChunks/themes/component/blue/Blue_PureDark_Component"),
|
|
12
12
|
Lib_Green_Light_Component: () => import(
|
|
13
13
|
/* webpackChunkName: 'Lib_Green_Light_Component' */
|
|
14
|
-
|
|
14
|
+
"../libraryChunks/themes/component/green/Green_Light_Component"),
|
|
15
15
|
Lib_Green_Dark_Component: () => import(
|
|
16
16
|
/* webpackChunkName: 'Lib_Green_Dark_Component' */
|
|
17
|
-
|
|
17
|
+
"../libraryChunks/themes/component/green/Green_Dark_Component"),
|
|
18
18
|
Lib_Green_PureDark_Component: () => import(
|
|
19
19
|
/* webpackChunkName: 'Lib_Green_PureDark_Component' */
|
|
20
|
-
|
|
20
|
+
"../libraryChunks/themes/component/green/Green_PureDark_Component"),
|
|
21
21
|
Lib_Orange_Light_Component: () => import(
|
|
22
22
|
/* webpackChunkName: 'Lib_Orange_Light_Component' */
|
|
23
|
-
|
|
23
|
+
"../libraryChunks/themes/component/orange/Orange_Light_Component"),
|
|
24
24
|
Lib_Orange_Dark_Component: () => import(
|
|
25
25
|
/* webpackChunkName: 'Lib_Orange_Dark_Component' */
|
|
26
|
-
|
|
26
|
+
"../libraryChunks/themes/component/orange/Orange_Dark_Component"),
|
|
27
27
|
Lib_Orange_PureDark_Component: () => import(
|
|
28
28
|
/* webpackChunkName: 'Lib_Orange_PureDark_Component' */
|
|
29
|
-
|
|
29
|
+
"../libraryChunks/themes/component/orange/Orange_PureDark_Component"),
|
|
30
30
|
Lib_Red_Light_Component: () => import(
|
|
31
31
|
/* webpackChunkName: 'Lib_Red_Light_Component' */
|
|
32
|
-
|
|
32
|
+
"../libraryChunks/themes/component/red/Red_Light_Component"),
|
|
33
33
|
Lib_Red_Dark_Component: () => import(
|
|
34
34
|
/* webpackChunkName: 'Lib_Red_Dark_Component' */
|
|
35
|
-
|
|
35
|
+
"../libraryChunks/themes/component/red/Red_Dark_Component"),
|
|
36
36
|
Lib_Red_PureDark_Component: () => import(
|
|
37
37
|
/* webpackChunkName: 'Lib_Red_PureDark_Component' */
|
|
38
|
-
|
|
38
|
+
"../libraryChunks/themes/component/red/Red_PureDark_Component"),
|
|
39
39
|
Lib_Yellow_Light_Component: () => import(
|
|
40
40
|
/* webpackChunkName: 'Lib_Yellow_Light_Component' */
|
|
41
|
-
|
|
41
|
+
"../libraryChunks/themes/component/yellow/Yellow_Light_Component"),
|
|
42
42
|
Lib_Yellow_Dark_Component: () => import(
|
|
43
43
|
/* webpackChunkName: 'Lib_Yellow_Dark_Component' */
|
|
44
|
-
|
|
44
|
+
"../libraryChunks/themes/component/yellow/Yellow_Dark_Component"),
|
|
45
45
|
Lib_Yellow_PureDark_Component: () => import(
|
|
46
46
|
/* webpackChunkName: 'Lib_Yellow_PureDark_Component' */
|
|
47
|
-
|
|
47
|
+
"../libraryChunks/themes/component/yellow/Yellow_PureDark_Component"),
|
|
48
48
|
Lib_Blue_Light_Dot: () => import(
|
|
49
49
|
/* webpackChunkName: 'Lib_Blue_Light_Dot' */
|
|
50
|
-
|
|
50
|
+
"../libraryChunks/themes/dot/blue/Blue_Light_Dot"),
|
|
51
51
|
Lib_Blue_Dark_Dot: () => import(
|
|
52
52
|
/* webpackChunkName: 'Lib_Blue_Dark_Dot' */
|
|
53
|
-
|
|
53
|
+
"../libraryChunks/themes/dot/blue/Blue_Dark_Dot"),
|
|
54
54
|
Lib_Blue_PureDark_Dot: () => import(
|
|
55
55
|
/* webpackChunkName: 'Lib_Blue_PureDark_Dot' */
|
|
56
|
-
|
|
56
|
+
"../libraryChunks/themes/dot/blue/Blue_PureDark_Dot"),
|
|
57
57
|
Lib_Green_Light_Dot: () => import(
|
|
58
58
|
/* webpackChunkName: 'Lib_Green_Light_Dot' */
|
|
59
|
-
|
|
59
|
+
"../libraryChunks/themes/dot/green/Green_Light_Dot"),
|
|
60
60
|
Lib_Green_Dark_Dot: () => import(
|
|
61
61
|
/* webpackChunkName: 'Lib_Green_Dark_Dot' */
|
|
62
|
-
|
|
62
|
+
"../libraryChunks/themes/dot/green/Green_Dark_Dot"),
|
|
63
63
|
Lib_Green_PureDark_Dot: () => import(
|
|
64
64
|
/* webpackChunkName: 'Lib_Green_PureDark_Dot' */
|
|
65
|
-
|
|
65
|
+
"../libraryChunks/themes/dot/green/Green_PureDark_Dot"),
|
|
66
66
|
Lib_Orange_Light_Dot: () => import(
|
|
67
67
|
/* webpackChunkName: 'Lib_Orange_Light_Dot' */
|
|
68
|
-
|
|
68
|
+
"../libraryChunks/themes/dot/orange/Orange_Light_Dot"),
|
|
69
69
|
Lib_Orange_Dark_Dot: () => import(
|
|
70
70
|
/* webpackChunkName: 'Lib_Orange_Dark_Dot' */
|
|
71
|
-
|
|
71
|
+
"../libraryChunks/themes/dot/orange/Orange_Dark_Dot"),
|
|
72
72
|
Lib_Orange_PureDark_Dot: () => import(
|
|
73
73
|
/* webpackChunkName: 'Lib_Orange_PureDark_Dot' */
|
|
74
|
-
|
|
74
|
+
"../libraryChunks/themes/dot/orange/Orange_PureDark_Dot"),
|
|
75
75
|
Lib_Red_Light_Dot: () => import(
|
|
76
76
|
/* webpackChunkName: 'Lib_Red_Light_Dot' */
|
|
77
|
-
|
|
77
|
+
"../libraryChunks/themes/dot/red/Red_Light_Dot"),
|
|
78
78
|
Lib_Red_Dark_Dot: () => import(
|
|
79
79
|
/* webpackChunkName: 'Lib_Red_Dark_Dot' */
|
|
80
|
-
|
|
80
|
+
"../libraryChunks/themes/dot/red/Red_Dark_Dot"),
|
|
81
81
|
Lib_Red_PureDark_Dot: () => import(
|
|
82
82
|
/* webpackChunkName: 'Lib_Red_PureDark_Dot' */
|
|
83
|
-
|
|
83
|
+
"../libraryChunks/themes/dot/red/Red_PureDark_Dot"),
|
|
84
84
|
Lib_Yellow_Light_Dot: () => import(
|
|
85
85
|
/* webpackChunkName: 'Lib_Yellow_Light_Dot' */
|
|
86
|
-
|
|
86
|
+
"../libraryChunks/themes/dot/yellow/Yellow_Light_Dot"),
|
|
87
87
|
Lib_Yellow_Dark_Dot: () => import(
|
|
88
88
|
/* webpackChunkName: 'Lib_Yellow_Dark_Dot' */
|
|
89
|
-
|
|
89
|
+
"../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot"),
|
|
90
90
|
Lib_Yellow_PureDark_Dot: () => import(
|
|
91
91
|
/* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */
|
|
92
|
-
|
|
92
|
+
"../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot"),
|
|
93
93
|
Lib_Blue_Light_SVG: () => import(
|
|
94
94
|
/* webpackChunkName: 'Lib_Blue_Light_SVG' */
|
|
95
|
-
|
|
95
|
+
"../libraryChunks/themes/svg/blue/Blue_Light_SVG"),
|
|
96
96
|
Lib_Blue_Dark_SVG: () => import(
|
|
97
97
|
/* webpackChunkName: 'Lib_Blue_Dark_SVG' */
|
|
98
|
-
|
|
98
|
+
"../libraryChunks/themes/svg/blue/Blue_Dark_SVG"),
|
|
99
99
|
Lib_Blue_PureDark_SVG: () => import(
|
|
100
100
|
/* webpackChunkName: 'Lib_Blue_PureDark_SVG' */
|
|
101
|
-
|
|
101
|
+
"../libraryChunks/themes/svg/blue/Blue_PureDark_SVG"),
|
|
102
102
|
Lib_Green_Light_SVG: () => import(
|
|
103
103
|
/* webpackChunkName: 'Lib_Green_Light_SVG' */
|
|
104
|
-
|
|
104
|
+
"../libraryChunks/themes/svg/green/Green_Light_SVG"),
|
|
105
105
|
Lib_Green_Dark_SVG: () => import(
|
|
106
106
|
/* webpackChunkName: 'Lib_Green_Dark_SVG' */
|
|
107
|
-
|
|
107
|
+
"../libraryChunks/themes/svg/green/Green_Dark_SVG"),
|
|
108
108
|
Lib_Green_PureDark_SVG: () => import(
|
|
109
109
|
/* webpackChunkName: 'Lib_Green_PureDark_SVG' */
|
|
110
|
-
|
|
110
|
+
"../libraryChunks/themes/svg/green/Green_PureDark_SVG"),
|
|
111
111
|
Lib_Orange_Light_SVG: () => import(
|
|
112
112
|
/* webpackChunkName: 'Lib_Orange_Light_SVG' */
|
|
113
|
-
|
|
113
|
+
"../libraryChunks/themes/svg/orange/Orange_Light_SVG"),
|
|
114
114
|
Lib_Orange_Dark_SVG: () => import(
|
|
115
115
|
/* webpackChunkName: 'Lib_Orange_Dark_SVG' */
|
|
116
|
-
|
|
116
|
+
"../libraryChunks/themes/svg/orange/Orange_Dark_SVG"),
|
|
117
117
|
Lib_Orange_PureDark_SVG: () => import(
|
|
118
118
|
/* webpackChunkName: 'Lib_Orange_PureDark_SVG' */
|
|
119
|
-
|
|
119
|
+
"../libraryChunks/themes/svg/orange/Orange_PureDark_SVG"),
|
|
120
120
|
Lib_Red_Light_SVG: () => import(
|
|
121
121
|
/* webpackChunkName: 'Lib_Red_Light_SVG' */
|
|
122
|
-
|
|
122
|
+
"../libraryChunks/themes/svg/red/Red_Light_SVG"),
|
|
123
123
|
Lib_Red_Dark_SVG: () => import(
|
|
124
124
|
/* webpackChunkName: 'Lib_Red_Dark_SVG' */
|
|
125
|
-
|
|
125
|
+
"../libraryChunks/themes/svg/red/Red_Dark_SVG"),
|
|
126
126
|
Lib_Red_PureDark_SVG: () => import(
|
|
127
127
|
/* webpackChunkName: 'Lib_Red_PureDark_SVG' */
|
|
128
|
-
|
|
128
|
+
"../libraryChunks/themes/svg/red/Red_PureDark_SVG"),
|
|
129
129
|
Lib_Yellow_Light_SVG: () => import(
|
|
130
130
|
/* webpackChunkName: 'Lib_Yellow_Light_SVG' */
|
|
131
|
-
|
|
131
|
+
"../libraryChunks/themes/svg/yellow/Yellow_Light_SVG"),
|
|
132
132
|
Lib_Yellow_Dark_SVG: () => import(
|
|
133
133
|
/* webpackChunkName: 'Lib_Yellow_Dark_SVG' */
|
|
134
|
-
|
|
134
|
+
"../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG"),
|
|
135
135
|
Lib_Yellow_PureDark_SVG: () => import(
|
|
136
136
|
/* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */
|
|
137
|
-
|
|
137
|
+
"../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG")
|
|
138
138
|
};
|
|
139
139
|
export const themeColorMapping = {
|
|
140
140
|
[LIBRARY_COMPONENT]: {
|
package/es/Drawer/Drawer.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from
|
|
3
|
-
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from
|
|
4
|
-
import FreezeLayer from
|
|
2
|
+
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from "./props/propTypes";
|
|
4
|
+
import FreezeLayer from "../FreezeLayer/FreezeLayer";
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import { Card, CardHeader, CardContent } from '@zohodesk/components/lib/Card';
|
|
7
|
-
import FormAction from
|
|
7
|
+
import FormAction from "../FormAction/FormAction";
|
|
8
8
|
import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
9
9
|
import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
10
10
|
import Heading from '@zohodesk/components/lib/Heading/Heading';
|
|
11
|
-
import IconButton from
|
|
11
|
+
import IconButton from "../IconButton/IconButton";
|
|
12
12
|
import { Icon } from '@zohodesk/icons';
|
|
13
13
|
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
14
|
-
import style from
|
|
14
|
+
import style from "./Drawer.module.css";
|
|
15
15
|
import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
|
|
16
16
|
export class Header extends React.Component {
|
|
17
17
|
render() {
|
|
@@ -233,7 +233,10 @@ export default class Drawer extends React.Component {
|
|
|
233
233
|
subDrawerActive,
|
|
234
234
|
customClass,
|
|
235
235
|
needAutoZindex,
|
|
236
|
-
innerPortalName
|
|
236
|
+
innerPortalName,
|
|
237
|
+
onAnimateEnter,
|
|
238
|
+
postAnimateStyles,
|
|
239
|
+
onAnimateExit
|
|
237
240
|
} = this.props;
|
|
238
241
|
let zindexNumber = isActive ? this.getNextIndex() : '';
|
|
239
242
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
@@ -252,7 +255,10 @@ export default class Drawer extends React.Component {
|
|
|
252
255
|
palette: palette,
|
|
253
256
|
forwardRef: forwardRef,
|
|
254
257
|
customClass: customClass,
|
|
255
|
-
needAutoZindex: needAutoZindex
|
|
258
|
+
needAutoZindex: needAutoZindex,
|
|
259
|
+
onAnimateEnter: onAnimateEnter,
|
|
260
|
+
postAnimateStyles: postAnimateStyles,
|
|
261
|
+
onAnimateExit: onAnimateExit
|
|
256
262
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
257
263
|
flexible: true
|
|
258
264
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import { Content } from
|
|
3
|
+
import { Content } from "../Drawer";
|
|
4
4
|
const paddingSizes = ['small', 'medium', 'large'];
|
|
5
5
|
const visibilityStates = [true, false];
|
|
6
6
|
describe('Content Component Snapshots', () => {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { render } from '@testing-library/react';
|
|
3
|
-
import
|
|
2
|
+
import { render, cleanup } from '@testing-library/react';
|
|
3
|
+
import { setGlobalId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
4
|
+
import Drawer from "../Drawer";
|
|
5
|
+
beforeEach(() => {
|
|
6
|
+
setGlobalId(0);
|
|
7
|
+
});
|
|
8
|
+
afterEach(() => {
|
|
9
|
+
cleanup();
|
|
10
|
+
});
|
|
4
11
|
const sizes = ['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge', 'xxlarge', 'default'];
|
|
5
12
|
const palettes = ['dark', 'default', 'darkLight', 'plain'];
|
|
6
13
|
const subDrawerSizes = ['xsmall', 'small', 'medium'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import { Footer } from
|
|
3
|
+
import { Footer } from "../Drawer";
|
|
4
4
|
const sizes = ['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge', 'xxlarge', 'default'];
|
|
5
5
|
const variants = ['primary', 'secondary', 'tertiary', 'default'];
|
|
6
6
|
describe('Footer Component Snapshots', () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render, fireEvent } from '@testing-library/react';
|
|
3
|
-
import { Header } from
|
|
3
|
+
import { Header } from "../Drawer";
|
|
4
4
|
const paddingSizes = ['small', 'medium', 'large']; // describe('Header Component', () => {
|
|
5
5
|
// describe('Snapshots', () => {
|
|
6
6
|
// test('renders with default props', () => {
|
|
@@ -73,7 +73,7 @@ exports[`Header Component - Title Prop Combinations renders Header with title an
|
|
|
73
73
|
>
|
|
74
74
|
<i
|
|
75
75
|
aria-hidden="true"
|
|
76
|
-
class="zd_font_icons basic icon-cross
|
|
76
|
+
class="zd_font_icons basic icon-cross icon_button_center "
|
|
77
77
|
data-id="fontIcon"
|
|
78
78
|
data-selector-id="fontIcon"
|
|
79
79
|
data-test-id="fontIcon"
|
|
@@ -438,7 +438,7 @@ exports[`Header Component - Title Prop Combinations renders Header with title, c
|
|
|
438
438
|
>
|
|
439
439
|
<i
|
|
440
440
|
aria-hidden="true"
|
|
441
|
-
class="zd_font_icons basic icon-cross
|
|
441
|
+
class="zd_font_icons basic icon-cross icon_button_center "
|
|
442
442
|
data-id="fontIcon"
|
|
443
443
|
data-selector-id="fontIcon"
|
|
444
444
|
data-test-id="fontIcon"
|
|
@@ -539,7 +539,7 @@ exports[`Header Component - Title Prop Combinations renders Header with title, i
|
|
|
539
539
|
>
|
|
540
540
|
<i
|
|
541
541
|
aria-hidden="true"
|
|
542
|
-
class="zd_font_icons basic icon-cross
|
|
542
|
+
class="zd_font_icons basic icon-cross icon_button_center "
|
|
543
543
|
data-id="fontIcon"
|
|
544
544
|
data-selector-id="fontIcon"
|
|
545
545
|
data-test-id="fontIcon"
|
|
@@ -736,7 +736,7 @@ exports[`Header Component - Title Prop Combinations renders Header with title, i
|
|
|
736
736
|
>
|
|
737
737
|
<i
|
|
738
738
|
aria-hidden="true"
|
|
739
|
-
class="zd_font_icons basic icon-cross
|
|
739
|
+
class="zd_font_icons basic icon-cross icon_button_center "
|
|
740
740
|
data-id="fontIcon"
|
|
741
741
|
data-selector-id="fontIcon"
|
|
742
742
|
data-test-id="fontIcon"
|
package/es/Drawer/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Header, Content, Footer, default as Drawer } from
|
|
1
|
+
export { Header, Content, Footer, default as Drawer } from "./Drawer";
|
|
@@ -50,5 +50,8 @@ export const Drawer_propTypes = {
|
|
|
50
50
|
needFocusScope: PropTypes.bool,
|
|
51
51
|
customProps: PropTypes.object,
|
|
52
52
|
innerPortalName: PropTypes.string,
|
|
53
|
-
a11y: PropTypes.object
|
|
53
|
+
a11y: PropTypes.object,
|
|
54
|
+
onAnimateEnter: PropTypes.func,
|
|
55
|
+
postAnimateStyles: PropTypes.object,
|
|
56
|
+
onAnimateExit: PropTypes.func
|
|
54
57
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**** Libraries ****/
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { defaultProps } from
|
|
4
|
-
import { propTypes } from
|
|
3
|
+
import { defaultProps } from "./props/defaultProps";
|
|
4
|
+
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** CSS ****/
|
|
6
6
|
|
|
7
|
-
import style from
|
|
7
|
+
import style from "./ExternalLink.module.css";
|
|
8
8
|
export default class ExternalLink extends React.Component {
|
|
9
9
|
addHttp(url) {
|
|
10
10
|
const regEx = new RegExp(/(^(ftp|https|mailto|tel|http|simplehelp|dynamicsnav?):)/i);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import ExternalLink from
|
|
3
|
+
import ExternalLink from "../ExternalLink";
|
|
4
4
|
describe('ExternalLink', () => {
|
|
5
5
|
const target = ['_blank', '_self'];
|
|
6
6
|
test('renders with default props', () => {
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
4
|
-
import AvatarUser from
|
|
5
|
-
import AvatarIcon from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
|
+
import AvatarUser from "../avatar/AvatarUser/AvatarUser";
|
|
5
|
+
import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
|
|
6
6
|
import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
|
|
7
7
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
8
|
-
import ChannelIcon from
|
|
8
|
+
import ChannelIcon from "../ChannelIcon/ChannelIcon";
|
|
9
9
|
import AvatarSize from '@zohodesk/components/lib/Provider/AvatarSize';
|
|
10
|
-
import style from
|
|
11
|
-
import { stopBubbling } from
|
|
10
|
+
import style from "./FlipCard.module.css";
|
|
11
|
+
import { stopBubbling } from "../utils/General";
|
|
12
12
|
export default class FlipCard extends Component {
|
|
13
13
|
constructor(props) {
|
|
14
14
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render, fireEvent } from '@testing-library/react';
|
|
3
|
-
import FlipCard from
|
|
3
|
+
import FlipCard from "../FlipCard";
|
|
4
4
|
describe('FlipCard', () => {
|
|
5
5
|
const palettes = ['primary', 'secondary', 'info', 'default'];
|
|
6
6
|
const textPalettes = ['white', 'black'];
|
|
@@ -161,7 +161,7 @@ exports[`FlipCard renders correctly with channel: chat and action: outgoing 1`]
|
|
|
161
161
|
>
|
|
162
162
|
<i
|
|
163
163
|
aria-hidden="true"
|
|
164
|
-
class="zd_font_icons basic icon-chChatOut iconStyle chat_outgoing iconColor
|
|
164
|
+
class="zd_font_icons basic icon-chChatOut iconStyle chat_outgoing avatar_align_center iconColor blue"
|
|
165
165
|
data-id="fontIcon"
|
|
166
166
|
data-selector-id="fontIcon"
|
|
167
167
|
data-test-id="fontIcon"
|
|
@@ -255,7 +255,7 @@ exports[`FlipCard renders correctly with channel: email and action: incoming 1`]
|
|
|
255
255
|
>
|
|
256
256
|
<i
|
|
257
257
|
aria-hidden="true"
|
|
258
|
-
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming iconColor
|
|
258
|
+
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming avatar_align_center iconColor green"
|
|
259
259
|
data-id="fontIcon"
|
|
260
260
|
data-selector-id="fontIcon"
|
|
261
261
|
data-test-id="fontIcon"
|
|
@@ -525,7 +525,7 @@ exports[`FlipCard renders correctly with className, channel, and action 1`] = `
|
|
|
525
525
|
>
|
|
526
526
|
<i
|
|
527
527
|
aria-hidden="true"
|
|
528
|
-
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming iconColor
|
|
528
|
+
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming avatar_align_center iconColor green"
|
|
529
529
|
data-id="fontIcon"
|
|
530
530
|
data-selector-id="fontIcon"
|
|
531
531
|
data-test-id="fontIcon"
|
|
@@ -1250,7 +1250,7 @@ exports[`FlipCard renders correctly with iconSize as a number and channel & acti
|
|
|
1250
1250
|
>
|
|
1251
1251
|
<i
|
|
1252
1252
|
aria-hidden="true"
|
|
1253
|
-
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming iconColor
|
|
1253
|
+
class="zd_font_icons basic icon-chMailIn iconStyle email_incoming avatar_align_center iconColor green"
|
|
1254
1254
|
data-id="fontIcon"
|
|
1255
1255
|
data-selector-id="fontIcon"
|
|
1256
1256
|
data-test-id="fontIcon"
|
|
@@ -1835,7 +1835,7 @@ exports[`FlipCard renders correctly with palette, channel, and action 1`] = `
|
|
|
1835
1835
|
>
|
|
1836
1836
|
<i
|
|
1837
1837
|
aria-hidden="true"
|
|
1838
|
-
class="zd_font_icons basic icon-chChatOut iconStyle chat_outgoing iconColor
|
|
1838
|
+
class="zd_font_icons basic icon-chChatOut iconStyle chat_outgoing avatar_align_center iconColor blue"
|
|
1839
1839
|
data-id="fontIcon"
|
|
1840
1840
|
data-selector-id="fontIcon"
|
|
1841
1841
|
data-test-id="fontIcon"
|
|
@@ -3824,7 +3824,7 @@ exports[`FlipCard renders with icon 1`] = `
|
|
|
3824
3824
|
>
|
|
3825
3825
|
<i
|
|
3826
3826
|
aria-hidden="true"
|
|
3827
|
-
class="zd_font_icons basic icon-ch-email iconColor
|
|
3827
|
+
class="zd_font_icons basic icon-ch-email avatar_align_center iconColor "
|
|
3828
3828
|
data-id="fontIcon"
|
|
3829
3829
|
data-selector-id="fontIcon"
|
|
3830
3830
|
data-test-id="fontIcon"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./FormAction.module.css";
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
export const LeftSide = props => {
|
|
7
7
|
props.children;
|