@zohodesk/svg 1.0.0-beta.35
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/README.md +145 -0
- package/build/Unusedfiles.json +1 -0
- package/es/Provider.js +140 -0
- package/es/index.js +9 -0
- package/es/svg/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
- package/es/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
- package/es/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
- package/es/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
- package/es/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
- package/es/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
- package/es/svg/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
- package/es/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
- package/es/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
- package/es/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
- package/es/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
- package/es/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
- package/es/svg/EmptyAccounts.js +101 -0
- package/es/svg/EmptyActiveCalls.js +72 -0
- package/es/svg/EmptyActivity.js +72 -0
- package/es/svg/EmptyAgent.js +72 -0
- package/es/svg/EmptyAgentQueue.js +78 -0
- package/es/svg/EmptyApproval.js +78 -0
- package/es/svg/EmptyArchived.js +80 -0
- package/es/svg/EmptyAttach.js +72 -0
- package/es/svg/EmptyBlueprint.js +87 -0
- package/es/svg/EmptyBusinessHoliday.js +39 -0
- package/es/svg/EmptyBusinessHour.js +39 -0
- package/es/svg/EmptyCallHistory.js +74 -0
- package/es/svg/EmptyCollision.js +72 -0
- package/es/svg/EmptyColumn.js +78 -0
- package/es/svg/EmptyContact.js +72 -0
- package/es/svg/EmptyContract.js +68 -0
- package/es/svg/EmptyConversation.js +72 -0
- package/es/svg/EmptyCrm.js +72 -0
- package/es/svg/EmptyCrmNotes.js +83 -0
- package/es/svg/EmptyCrmPotential.js +86 -0
- package/es/svg/EmptyCustomDomain.js +39 -0
- package/es/svg/EmptyDashboard.js +78 -0
- package/es/svg/EmptyDepartment.js +72 -0
- package/es/svg/EmptyError.js +94 -0
- package/es/svg/EmptyFeed.js +75 -0
- package/es/svg/EmptyFollowers.js +73 -0
- package/es/svg/EmptyFrame.js +71 -0
- package/es/svg/EmptyFromAddress.js +39 -0
- package/es/svg/EmptyHappiness.js +72 -0
- package/es/svg/EmptyHistory.js +72 -0
- package/es/svg/EmptyImportHistory.js +39 -0
- package/es/svg/EmptyInconvenience.js +42 -0
- package/es/svg/EmptyInvoice.js +77 -0
- package/es/svg/EmptyNetwork.js +39 -0
- package/es/svg/EmptyNotification.js +72 -0
- package/es/svg/EmptyProducts.js +75 -0
- package/es/svg/EmptyRecycleBin.js +39 -0
- package/es/svg/EmptyReply.js +67 -0
- package/es/svg/EmptyReports.js +78 -0
- package/es/svg/EmptyRoles.js +39 -0
- package/es/svg/EmptySchedule.js +114 -0
- package/es/svg/EmptySearch.js +82 -0
- package/es/svg/EmptySkills.js +120 -0
- package/es/svg/EmptySla.js +67 -0
- package/es/svg/EmptySnippet.js +82 -0
- package/es/svg/EmptyStateVariables.module.css +39 -0
- package/es/svg/EmptyTag.js +75 -0
- package/es/svg/EmptyTask.js +88 -0
- package/es/svg/EmptyTeams.js +72 -0
- package/es/svg/EmptyTemplate.js +84 -0
- package/es/svg/EmptyTicket.js +75 -0
- package/es/svg/EmptyTimeEntry.js +78 -0
- package/es/svg/EmptyTimeline.js +72 -0
- package/es/svg/EmptyTopic.js +78 -0
- package/es/svg/EmptyUnauthorizedLogin.js +47 -0
- package/es/svg/EmptyWebhook.js +39 -0
- package/es/svg/EmptyWillBeRightBack.js +42 -0
- package/es/svg/ErrorInconvenience.js +113 -0
- package/es/svg/ErrorOopsSomethingMiss.js +114 -0
- package/es/svg/ErrorUnableToProcessRequest.js +114 -0
- package/es/svg/ErrorUnauthorizedLogin.js +113 -0
- package/es/svg/ErrorUrlNotFound.js +114 -0
- package/es/svg/ErrorWillBeRightBack.js +113 -0
- package/es/svg/Extractor.js +66 -0
- package/es/svg/FailureLog.js +39 -0
- package/es/svg/Import.js +82 -0
- package/es/svg/Loader.js +64 -0
- package/es/svg/NoRequestFound.js +42 -0
- package/es/svg/NotImpossible.js +79 -0
- package/es/svg/PageNotFound.js +43 -0
- package/es/svg/Predictor.js +73 -0
- package/es/svg/SVG.js +78 -0
- package/es/svg/SVG.module.css +26 -0
- package/es/svg/SvgLoader.js +28 -0
- package/es/svg/UnableToProcessRequest.js +43 -0
- package/es/svg/UnauthorizedLogin.js +43 -0
- package/es/svg/UrlNotFound.js +43 -0
- package/es/svg/WillBeRightBack.js +43 -0
- package/es/svg/ZiaAnamoly.js +67 -0
- package/es/svg/deprecated/21_07_2021/EmptyPageNotFound.js +40 -0
- package/es/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +42 -0
- package/es/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +45 -0
- package/es/svg/deprecated/21_07_2021/InvalidUrl.js +717 -0
- package/es/svg/deprecated/Themes/DarkEmptyStates.module.css +37 -0
- package/es/svg/deprecated/Themes/DefaultEmptyStates.module.css +37 -0
- package/es/svg/deprecated/Themes/palette/darkCTAPalette.module.css +51 -0
- package/es/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +51 -0
- package/es/svg/docs/SVG__common.docs.js +49 -0
- package/es/svg/docs/SVG__default.docs.js +327 -0
- package/es/svg/docs/SVG__errorstate.docs.js +74 -0
- package/es/svg/docs/SVGdocstyle.module.css +8 -0
- package/es/svg/images/EmptyBusinessHoliday.svg +50 -0
- package/es/svg/images/EmptyBusinessHour.svg +42 -0
- package/es/svg/images/EmptyContactInfo.svg +27 -0
- package/es/svg/images/EmptyCustomDomain.svg +85 -0
- package/es/svg/images/EmptyFilter.svg +62 -0
- package/es/svg/images/EmptyFromAddress.svg +41 -0
- package/es/svg/images/EmptyImportHistory.svg +43 -0
- package/es/svg/images/EmptyNetwork.svg +50 -0
- package/es/svg/images/EmptyRecycleBin.svg +58 -0
- package/es/svg/images/EmptyRoles.svg +30 -0
- package/es/svg/images/EmptySkills.svg +83 -0
- package/es/svg/images/EmptyWebhook.svg +44 -0
- package/es/svg/images/FailureLog.svg +46 -0
- package/es/svg/images/Inconvenience.svg +719 -0
- package/es/svg/images/NoRequestFound.svg +247 -0
- package/es/svg/images/PageNotFound.svg +405 -0
- package/es/svg/images/ReguestUrlNotFound.svg +267 -0
- package/es/svg/images/UnableToProcess.svg +752 -0
- package/es/svg/images/UnauthorizedLogin.svg +1047 -0
- package/es/svg/images/WillBack.svg +633 -0
- package/es/svg/utils.js +14 -0
- package/lib/Provider.js +213 -0
- package/lib/index.js +73 -0
- package/lib/svg/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
- package/lib/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
- package/lib/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
- package/lib/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
- package/lib/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
- package/lib/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
- package/lib/svg/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
- package/lib/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
- package/lib/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
- package/lib/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
- package/lib/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
- package/lib/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
- package/lib/svg/EmptyAccounts.js +151 -0
- package/lib/svg/EmptyActiveCalls.js +122 -0
- package/lib/svg/EmptyActivity.js +122 -0
- package/lib/svg/EmptyAgent.js +122 -0
- package/lib/svg/EmptyAgentQueue.js +128 -0
- package/lib/svg/EmptyApproval.js +128 -0
- package/lib/svg/EmptyArchived.js +130 -0
- package/lib/svg/EmptyAttach.js +122 -0
- package/lib/svg/EmptyBlueprint.js +137 -0
- package/lib/svg/EmptyBusinessHoliday.js +90 -0
- package/lib/svg/EmptyBusinessHour.js +90 -0
- package/lib/svg/EmptyCallHistory.js +124 -0
- package/lib/svg/EmptyCollision.js +122 -0
- package/lib/svg/EmptyColumn.js +128 -0
- package/lib/svg/EmptyContact.js +122 -0
- package/lib/svg/EmptyContract.js +118 -0
- package/lib/svg/EmptyConversation.js +122 -0
- package/lib/svg/EmptyCrm.js +122 -0
- package/lib/svg/EmptyCrmNotes.js +133 -0
- package/lib/svg/EmptyCrmPotential.js +136 -0
- package/lib/svg/EmptyCustomDomain.js +90 -0
- package/lib/svg/EmptyDashboard.js +128 -0
- package/lib/svg/EmptyDepartment.js +122 -0
- package/lib/svg/EmptyError.js +144 -0
- package/lib/svg/EmptyFeed.js +125 -0
- package/lib/svg/EmptyFollowers.js +123 -0
- package/lib/svg/EmptyFrame.js +121 -0
- package/lib/svg/EmptyFromAddress.js +90 -0
- package/lib/svg/EmptyHappiness.js +122 -0
- package/lib/svg/EmptyHistory.js +122 -0
- package/lib/svg/EmptyImportHistory.js +90 -0
- package/lib/svg/EmptyInconvenience.js +91 -0
- package/lib/svg/EmptyInvoice.js +127 -0
- package/lib/svg/EmptyNetwork.js +90 -0
- package/lib/svg/EmptyNotification.js +122 -0
- package/lib/svg/EmptyProducts.js +125 -0
- package/lib/svg/EmptyRecycleBin.js +90 -0
- package/lib/svg/EmptyReply.js +117 -0
- package/lib/svg/EmptyReports.js +128 -0
- package/lib/svg/EmptyRoles.js +90 -0
- package/lib/svg/EmptySchedule.js +164 -0
- package/lib/svg/EmptySearch.js +132 -0
- package/lib/svg/EmptySkills.js +170 -0
- package/lib/svg/EmptySla.js +117 -0
- package/lib/svg/EmptySnippet.js +132 -0
- package/lib/svg/EmptyStateVariables.module.css +39 -0
- package/lib/svg/EmptyTag.js +125 -0
- package/lib/svg/EmptyTask.js +138 -0
- package/lib/svg/EmptyTeams.js +122 -0
- package/lib/svg/EmptyTemplate.js +134 -0
- package/lib/svg/EmptyTicket.js +125 -0
- package/lib/svg/EmptyTimeEntry.js +128 -0
- package/lib/svg/EmptyTimeline.js +122 -0
- package/lib/svg/EmptyTopic.js +128 -0
- package/lib/svg/EmptyUnauthorizedLogin.js +97 -0
- package/lib/svg/EmptyWebhook.js +90 -0
- package/lib/svg/EmptyWillBeRightBack.js +92 -0
- package/lib/svg/ErrorInconvenience.js +163 -0
- package/lib/svg/ErrorOopsSomethingMiss.js +164 -0
- package/lib/svg/ErrorUnableToProcessRequest.js +164 -0
- package/lib/svg/ErrorUnauthorizedLogin.js +163 -0
- package/lib/svg/ErrorUrlNotFound.js +164 -0
- package/lib/svg/ErrorWillBeRightBack.js +163 -0
- package/lib/svg/Extractor.js +116 -0
- package/lib/svg/FailureLog.js +90 -0
- package/lib/svg/Import.js +132 -0
- package/lib/svg/Loader.js +113 -0
- package/lib/svg/NoRequestFound.js +91 -0
- package/lib/svg/NotImpossible.js +129 -0
- package/lib/svg/PageNotFound.js +92 -0
- package/lib/svg/Predictor.js +123 -0
- package/lib/svg/SVG.js +128 -0
- package/lib/svg/SVG.module.css +26 -0
- package/lib/svg/SvgLoader.js +66 -0
- package/lib/svg/UnableToProcessRequest.js +92 -0
- package/lib/svg/UnauthorizedLogin.js +92 -0
- package/lib/svg/UrlNotFound.js +92 -0
- package/lib/svg/WillBeRightBack.js +92 -0
- package/lib/svg/ZiaAnamoly.js +117 -0
- package/lib/svg/deprecated/21_07_2021/EmptyPageNotFound.js +90 -0
- package/lib/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +92 -0
- package/lib/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +95 -0
- package/lib/svg/deprecated/21_07_2021/InvalidUrl.js +765 -0
- package/lib/svg/deprecated/Themes/DarkEmptyStates.module.css +37 -0
- package/lib/svg/deprecated/Themes/DefaultEmptyStates.module.css +37 -0
- package/lib/svg/deprecated/Themes/palette/darkCTAPalette.module.css +51 -0
- package/lib/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +51 -0
- package/lib/svg/docs/SVG__common.docs.js +98 -0
- package/lib/svg/docs/SVG__default.docs.js +435 -0
- package/lib/svg/docs/SVG__errorstate.docs.js +129 -0
- package/lib/svg/docs/SVGdocstyle.module.css +8 -0
- package/lib/svg/images/EmptyBusinessHoliday.svg +50 -0
- package/lib/svg/images/EmptyBusinessHour.svg +42 -0
- package/lib/svg/images/EmptyContactInfo.svg +27 -0
- package/lib/svg/images/EmptyCustomDomain.svg +85 -0
- package/lib/svg/images/EmptyFilter.svg +62 -0
- package/lib/svg/images/EmptyFromAddress.svg +41 -0
- package/lib/svg/images/EmptyImportHistory.svg +43 -0
- package/lib/svg/images/EmptyNetwork.svg +50 -0
- package/lib/svg/images/EmptyRecycleBin.svg +58 -0
- package/lib/svg/images/EmptyRoles.svg +30 -0
- package/lib/svg/images/EmptySkills.svg +83 -0
- package/lib/svg/images/EmptyWebhook.svg +44 -0
- package/lib/svg/images/FailureLog.svg +46 -0
- package/lib/svg/images/Inconvenience.svg +719 -0
- package/lib/svg/images/NoRequestFound.svg +247 -0
- package/lib/svg/images/PageNotFound.svg +405 -0
- package/lib/svg/images/ReguestUrlNotFound.svg +267 -0
- package/lib/svg/images/UnableToProcess.svg +752 -0
- package/lib/svg/images/UnauthorizedLogin.svg +1047 -0
- package/lib/svg/images/WillBack.svg +633 -0
- package/lib/svg/utils.js +26 -0
- package/package.json +49 -0
- package/src/Provider.js +141 -0
- package/src/index.js +10 -0
- package/src/svg/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
- package/src/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
- package/src/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
- package/src/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
- package/src/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
- package/src/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
- package/src/svg/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
- package/src/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
- package/src/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
- package/src/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
- package/src/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
- package/src/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
- package/src/svg/EmptyAccounts.js +121 -0
- package/src/svg/EmptyActiveCalls.js +85 -0
- package/src/svg/EmptyActivity.js +85 -0
- package/src/svg/EmptyAgent.js +85 -0
- package/src/svg/EmptyAgentQueue.js +94 -0
- package/src/svg/EmptyApproval.js +85 -0
- package/src/svg/EmptyArchived.js +94 -0
- package/src/svg/EmptyAttach.js +85 -0
- package/src/svg/EmptyBlueprint.js +106 -0
- package/src/svg/EmptyBusinessHoliday.js +34 -0
- package/src/svg/EmptyBusinessHour.js +34 -0
- package/src/svg/EmptyCallHistory.js +82 -0
- package/src/svg/EmptyCollision.js +85 -0
- package/src/svg/EmptyColumn.js +91 -0
- package/src/svg/EmptyContact.js +85 -0
- package/src/svg/EmptyContract.js +81 -0
- package/src/svg/EmptyConversation.js +85 -0
- package/src/svg/EmptyCrm.js +84 -0
- package/src/svg/EmptyCrmNotes.js +96 -0
- package/src/svg/EmptyCrmPotential.js +100 -0
- package/src/svg/EmptyCustomDomain.js +33 -0
- package/src/svg/EmptyDashboard.js +90 -0
- package/src/svg/EmptyDepartment.js +87 -0
- package/src/svg/EmptyError.js +42 -0
- package/src/svg/EmptyFeed.js +87 -0
- package/src/svg/EmptyFollowers.js +85 -0
- package/src/svg/EmptyFrame.js +83 -0
- package/src/svg/EmptyFromAddress.js +32 -0
- package/src/svg/EmptyHappiness.js +85 -0
- package/src/svg/EmptyHistory.js +84 -0
- package/src/svg/EmptyImportHistory.js +32 -0
- package/src/svg/EmptyInconvenience.js +37 -0
- package/src/svg/EmptyInvoice.js +90 -0
- package/src/svg/EmptyNetwork.js +32 -0
- package/src/svg/EmptyNotification.js +84 -0
- package/src/svg/EmptyProducts.js +88 -0
- package/src/svg/EmptyRecycleBin.js +32 -0
- package/src/svg/EmptyReply.js +81 -0
- package/src/svg/EmptyReports.js +90 -0
- package/src/svg/EmptyRoles.js +32 -0
- package/src/svg/EmptySchedule.js +131 -0
- package/src/svg/EmptySearch.js +95 -0
- package/src/svg/EmptySkills.js +116 -0
- package/src/svg/EmptySla.js +81 -0
- package/src/svg/EmptySnippet.js +96 -0
- package/src/svg/EmptyStateVariables.module.css +39 -0
- package/src/svg/EmptyTag.js +88 -0
- package/src/svg/EmptyTask.js +97 -0
- package/src/svg/EmptyTeams.js +85 -0
- package/src/svg/EmptyTemplate.js +88 -0
- package/src/svg/EmptyTicket.js +88 -0
- package/src/svg/EmptyTimeEntry.js +91 -0
- package/src/svg/EmptyTimeline.js +85 -0
- package/src/svg/EmptyTopic.js +92 -0
- package/src/svg/EmptyUnauthorizedLogin.js +44 -0
- package/src/svg/EmptyWebhook.js +32 -0
- package/src/svg/EmptyWillBeRightBack.js +44 -0
- package/src/svg/ErrorInconvenience.js +128 -0
- package/src/svg/ErrorOopsSomethingMiss.js +128 -0
- package/src/svg/ErrorUnableToProcessRequest.js +128 -0
- package/src/svg/ErrorUnauthorizedLogin.js +127 -0
- package/src/svg/ErrorUrlNotFound.js +128 -0
- package/src/svg/ErrorWillBeRightBack.js +127 -0
- package/src/svg/Extractor.js +76 -0
- package/src/svg/FailureLog.js +32 -0
- package/src/svg/Import.js +85 -0
- package/src/svg/Loader.js +73 -0
- package/src/svg/NoRequestFound.js +37 -0
- package/src/svg/NotImpossible.js +80 -0
- package/src/svg/PageNotFound.js +38 -0
- package/src/svg/Predictor.js +78 -0
- package/src/svg/SVG.js +107 -0
- package/src/svg/SVG.module.css +26 -0
- package/src/svg/SvgLoader.js +21 -0
- package/src/svg/UnableToProcessRequest.js +37 -0
- package/src/svg/UnauthorizedLogin.js +37 -0
- package/src/svg/UrlNotFound.js +37 -0
- package/src/svg/WillBeRightBack.js +37 -0
- package/src/svg/ZiaAnamoly.js +76 -0
- package/src/svg/deprecated/21_07_2021/EmptyPageNotFound.js +39 -0
- package/src/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +41 -0
- package/src/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +48 -0
- package/src/svg/deprecated/21_07_2021/InvalidUrl.js +756 -0
- package/src/svg/deprecated/Themes/DarkEmptyStates.module.css +37 -0
- package/src/svg/deprecated/Themes/DefaultEmptyStates.module.css +37 -0
- package/src/svg/deprecated/Themes/palette/darkCTAPalette.module.css +51 -0
- package/src/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +51 -0
- package/src/svg/docs/SVG__common.docs.js +47 -0
- package/src/svg/docs/SVG__default.docs.js +233 -0
- package/src/svg/docs/SVG__errorstate.docs.js +75 -0
- package/src/svg/docs/SVGdocstyle.module.css +8 -0
- package/src/svg/images/EmptyBusinessHoliday.svg +50 -0
- package/src/svg/images/EmptyBusinessHour.svg +42 -0
- package/src/svg/images/EmptyContactInfo.svg +27 -0
- package/src/svg/images/EmptyCustomDomain.svg +85 -0
- package/src/svg/images/EmptyFilter.svg +62 -0
- package/src/svg/images/EmptyFromAddress.svg +41 -0
- package/src/svg/images/EmptyImportHistory.svg +43 -0
- package/src/svg/images/EmptyNetwork.svg +50 -0
- package/src/svg/images/EmptyRecycleBin.svg +58 -0
- package/src/svg/images/EmptyRoles.svg +30 -0
- package/src/svg/images/EmptySkills.svg +83 -0
- package/src/svg/images/EmptyWebhook.svg +44 -0
- package/src/svg/images/FailureLog.svg +46 -0
- package/src/svg/images/Inconvenience.svg +719 -0
- package/src/svg/images/NoRequestFound.svg +247 -0
- package/src/svg/images/PageNotFound.svg +405 -0
- package/src/svg/images/ReguestUrlNotFound.svg +267 -0
- package/src/svg/images/UnableToProcess.svg +752 -0
- package/src/svg/images/UnauthorizedLogin.svg +1047 -0
- package/src/svg/images/WillBack.svg +633 -0
- package/src/svg/utils.js +15 -0
package/es/svg/utils.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const emptyStatePropTypes = {
|
|
3
|
+
size: PropTypes.oneOf(['small', 'large']),
|
|
4
|
+
className: PropTypes.string,
|
|
5
|
+
alignHorizontal: PropTypes.bool,
|
|
6
|
+
dataId: PropTypes.string,
|
|
7
|
+
isRender: PropTypes.bool
|
|
8
|
+
};
|
|
9
|
+
export const emptyStateDefaultProps = {
|
|
10
|
+
size: 'large',
|
|
11
|
+
alignHorizontal: true,
|
|
12
|
+
isRender: true,
|
|
13
|
+
className: ''
|
|
14
|
+
};
|
package/lib/Provider.js
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _AppContainer = _interopRequireDefault(require("@zohodesk/components/lib/AppContainer/AppContainer"));
|
|
13
|
+
|
|
14
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
15
|
+
|
|
16
|
+
var _Switch = _interopRequireDefault(require("@zohodesk/components/lib/Switch/Switch"));
|
|
17
|
+
|
|
18
|
+
require("@zohodesk/components/lib/Appearance/default/mode/defaultMode.module.css");
|
|
19
|
+
|
|
20
|
+
require("@zohodesk/components/lib/Appearance/dark/mode/darkMode.module.css");
|
|
21
|
+
|
|
22
|
+
require("./svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
|
|
23
|
+
|
|
24
|
+
require("./svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
|
|
25
|
+
|
|
26
|
+
require("./svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css");
|
|
27
|
+
|
|
28
|
+
require("./svg/Appearance/default/themes/red/redDefaultCTATheme.module.css");
|
|
29
|
+
|
|
30
|
+
require("./svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css");
|
|
31
|
+
|
|
32
|
+
require("./svg/Appearance/default/mode/defaultEmptyStates.module.css");
|
|
33
|
+
|
|
34
|
+
require("./svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css");
|
|
35
|
+
|
|
36
|
+
require("./svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css");
|
|
37
|
+
|
|
38
|
+
require("./svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css");
|
|
39
|
+
|
|
40
|
+
require("./svg/Appearance/dark/themes/red/redDarkCTATheme.module.css");
|
|
41
|
+
|
|
42
|
+
require("./svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css");
|
|
43
|
+
|
|
44
|
+
require("./svg/Appearance/dark/mode/darkEmptyStates.module.css");
|
|
45
|
+
|
|
46
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
47
|
+
|
|
48
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
49
|
+
|
|
50
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
51
|
+
|
|
52
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
53
|
+
|
|
54
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
55
|
+
|
|
56
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
57
|
+
|
|
58
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
59
|
+
|
|
60
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
61
|
+
|
|
62
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
63
|
+
|
|
64
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
65
|
+
|
|
66
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
67
|
+
|
|
68
|
+
var Provider = /*#__PURE__*/function (_React$Component) {
|
|
69
|
+
_inherits(Provider, _React$Component);
|
|
70
|
+
|
|
71
|
+
var _super = _createSuper(Provider);
|
|
72
|
+
|
|
73
|
+
function Provider(props) {
|
|
74
|
+
var _this;
|
|
75
|
+
|
|
76
|
+
_classCallCheck(this, Provider);
|
|
77
|
+
|
|
78
|
+
_this = _super.call(this, props);
|
|
79
|
+
_this.state = {
|
|
80
|
+
appearanceName: 'default',
|
|
81
|
+
themeName: 'blue'
|
|
82
|
+
};
|
|
83
|
+
_this.switchMode = _this.switchMode.bind(_assertThisInitialized(_this));
|
|
84
|
+
_this.setTheme = _this.setTheme.bind(_assertThisInitialized(_this));
|
|
85
|
+
return _this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
_createClass(Provider, [{
|
|
89
|
+
key: "switchMode",
|
|
90
|
+
value: function switchMode() {
|
|
91
|
+
var appearanceName = this.state.appearanceName;
|
|
92
|
+
|
|
93
|
+
if (appearanceName == 'default') {
|
|
94
|
+
this.setState({
|
|
95
|
+
appearanceName: 'dark'
|
|
96
|
+
});
|
|
97
|
+
} else {
|
|
98
|
+
this.setState({
|
|
99
|
+
appearanceName: 'default'
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
key: "setTheme",
|
|
105
|
+
value: function setTheme(theme) {
|
|
106
|
+
this.setState({
|
|
107
|
+
themeName: theme
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}, {
|
|
111
|
+
key: "render",
|
|
112
|
+
value: function render() {
|
|
113
|
+
var _this2 = this;
|
|
114
|
+
|
|
115
|
+
var _this$state = this.state,
|
|
116
|
+
appearanceName = _this$state.appearanceName,
|
|
117
|
+
themeName = _this$state.themeName;
|
|
118
|
+
var themeClass = {
|
|
119
|
+
width: '20px',
|
|
120
|
+
height: '20px',
|
|
121
|
+
borderRadius: '3px',
|
|
122
|
+
display: 'flex',
|
|
123
|
+
border: '1px solid #ccc',
|
|
124
|
+
margin: '0 5px',
|
|
125
|
+
cursor: 'pointer',
|
|
126
|
+
backgroundColor: '#0a73eb'
|
|
127
|
+
};
|
|
128
|
+
var green = {
|
|
129
|
+
backgroundColor: '#26a942'
|
|
130
|
+
};
|
|
131
|
+
var red = {
|
|
132
|
+
backgroundColor: '#de3535'
|
|
133
|
+
};
|
|
134
|
+
var orange = {
|
|
135
|
+
backgroundColor: '#e57717'
|
|
136
|
+
};
|
|
137
|
+
var yellow = {
|
|
138
|
+
backgroundColor: '#e8b923'
|
|
139
|
+
};
|
|
140
|
+
return /*#__PURE__*/_react["default"].createElement(_AppContainer["default"], {
|
|
141
|
+
customProps: {
|
|
142
|
+
ExtraProps: {
|
|
143
|
+
'data-mode': appearanceName,
|
|
144
|
+
'data-theme': themeName
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
148
|
+
scroll: "vertical"
|
|
149
|
+
}, this.props.children), /*#__PURE__*/_react["default"].createElement("div", {
|
|
150
|
+
style: {
|
|
151
|
+
position: 'fixed',
|
|
152
|
+
bottom: '0',
|
|
153
|
+
backgroundColor: '#272727',
|
|
154
|
+
padding: '10px',
|
|
155
|
+
borderRadius: '15px 15px 0 0',
|
|
156
|
+
minWidth: '100px',
|
|
157
|
+
textAlign: 'center',
|
|
158
|
+
left: '50%',
|
|
159
|
+
transform: 'translate(-50%)',
|
|
160
|
+
boxShadow: '0 0 3px #000',
|
|
161
|
+
fontSize: '12px',
|
|
162
|
+
zIndex: '3',
|
|
163
|
+
display: 'flex',
|
|
164
|
+
alignItems: 'center'
|
|
165
|
+
}
|
|
166
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Switch["default"], {
|
|
167
|
+
id: "switchMode",
|
|
168
|
+
text: "Light/Night Mode",
|
|
169
|
+
labelSize: "small",
|
|
170
|
+
onChange: this.switchMode,
|
|
171
|
+
checked: appearanceName == 'dark'
|
|
172
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
|
+
style: {
|
|
174
|
+
display: 'flex'
|
|
175
|
+
}
|
|
176
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
177
|
+
title: "Blue Theme",
|
|
178
|
+
style: themeClass,
|
|
179
|
+
onClick: function onClick() {
|
|
180
|
+
return _this2.setTheme('blue');
|
|
181
|
+
}
|
|
182
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
183
|
+
title: "Green Theme",
|
|
184
|
+
style: Object.assign({}, themeClass, green),
|
|
185
|
+
onClick: function onClick() {
|
|
186
|
+
return _this2.setTheme('green');
|
|
187
|
+
}
|
|
188
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
189
|
+
title: "Red Theme",
|
|
190
|
+
style: Object.assign({}, themeClass, red),
|
|
191
|
+
onClick: function onClick() {
|
|
192
|
+
return _this2.setTheme('red');
|
|
193
|
+
}
|
|
194
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
195
|
+
title: "Orange Theme",
|
|
196
|
+
style: Object.assign({}, themeClass, orange),
|
|
197
|
+
onClick: function onClick() {
|
|
198
|
+
return _this2.setTheme('orange');
|
|
199
|
+
}
|
|
200
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
201
|
+
title: "Yellow Theme",
|
|
202
|
+
style: Object.assign({}, themeClass, yellow),
|
|
203
|
+
onClick: function onClick() {
|
|
204
|
+
return _this2.setTheme('yellow');
|
|
205
|
+
}
|
|
206
|
+
}))));
|
|
207
|
+
}
|
|
208
|
+
}]);
|
|
209
|
+
|
|
210
|
+
return Provider;
|
|
211
|
+
}(_react["default"].Component);
|
|
212
|
+
|
|
213
|
+
exports["default"] = Provider;
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "React", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _react["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ReactDOM", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _reactDom["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "renderToStaticMarkup", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _server.renderToStaticMarkup;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "_provider", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _Provider["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "SVG", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _SVG["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "SVG__emptystate", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _SVG__default["default"];
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "SVG__common", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _SVG__common["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "SVG__errorstate", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _SVG__errorstate["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
var _react = _interopRequireDefault(require("react"));
|
|
56
|
+
|
|
57
|
+
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
58
|
+
|
|
59
|
+
var _server = require("react-dom/server");
|
|
60
|
+
|
|
61
|
+
require("@zohodesk/variables/lib/sizeVariables.module.css");
|
|
62
|
+
|
|
63
|
+
var _Provider = _interopRequireDefault(require("./Provider"));
|
|
64
|
+
|
|
65
|
+
var _SVG = _interopRequireDefault(require("./svg/SVG"));
|
|
66
|
+
|
|
67
|
+
var _SVG__default = _interopRequireDefault(require("./svg/docs/SVG__default.docs"));
|
|
68
|
+
|
|
69
|
+
var _SVG__common = _interopRequireDefault(require("./svg/docs/SVG__common.docs"));
|
|
70
|
+
|
|
71
|
+
var _SVG__errorstate = _interopRequireDefault(require("./svg/docs/SVG__errorstate.docs"));
|
|
72
|
+
|
|
73
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[data-mode='dark'] {
|
|
2
|
+
/* default palette */
|
|
3
|
+
--zdt_svg_default_primary_fill: var(--zdt_cta_primary_fill);
|
|
4
|
+
--zdt_svg_default_primary_stroke: var(--zdt_cta_primary_stroke);
|
|
5
|
+
--zdt_svg_default_secondary_fill: var(--zdt_cta_secondary_fill);
|
|
6
|
+
--zdt_svg_default_secondary_plainfill: var(--zdt_cta_secondary_plainfill);
|
|
7
|
+
--zdt_svg_default_plus: #479dff;
|
|
8
|
+
--zdt_svg_default_cross: #5cc1a5;
|
|
9
|
+
--zdt_svg_default_medium_circle: #ff6b6b;
|
|
10
|
+
--zdt_svg_default_tiny_circle: #4ac064;
|
|
11
|
+
--zdt_svg_default_small_circle: #ff6b6b;
|
|
12
|
+
--zdt_svg_default_circle_fill: #fff;
|
|
13
|
+
|
|
14
|
+
/* dark palette */
|
|
15
|
+
--zdt_svg_dark_primary_fill: var(--zdt_cta_primary_dark_fill);
|
|
16
|
+
--zdt_svg_dark_primary_stroke: var(--zdt_cta_primary_dark_stroke);
|
|
17
|
+
--zdt_svg_dark_secondary_fill: var(--zdt_cta_secondary_dark_fill);
|
|
18
|
+
--zdt_svg_dark_secondary_plainfill: var(--zdt_cta_secondary_dark_plainfill);
|
|
19
|
+
--zdt_svg_dark_plus: #479dff;
|
|
20
|
+
--zdt_svg_dark_cross: #5cc1a5;
|
|
21
|
+
--zdt_svg_dark_medium_circle: #ff6b6b;
|
|
22
|
+
--zdt_svg_dark_tiny_circle: #4ac064;
|
|
23
|
+
--zdt_svg_dark_small_circle: #ff6b6b;
|
|
24
|
+
--zdt_svg_dark_circle_fill: #fff;
|
|
25
|
+
|
|
26
|
+
/* danger palette */
|
|
27
|
+
--zdt_svg_danger_primary_fill: #ff6f00;
|
|
28
|
+
--zdt_svg_danger_primary_stroke: #479dff;
|
|
29
|
+
--zdt_svg_danger_secondary_fill: #334b68;
|
|
30
|
+
--zdt_svg_danger_secondary_plainfill: #334b68;
|
|
31
|
+
--zdt_svg_danger_plus: #479dff;
|
|
32
|
+
--zdt_svg_danger_cross: #5cc1a5;
|
|
33
|
+
--zdt_svg_danger_medium_circle: #ff6b6b;
|
|
34
|
+
--zdt_svg_danger_tiny_circle: #4ac064;
|
|
35
|
+
--zdt_svg_danger_small_circle: #ff6b6b;
|
|
36
|
+
--zdt_svg_danger_circle_fill: #fff;
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='dark'][data-theme='blue'] {
|
|
2
|
+
--zdt_cta_primary_fill: #828994;
|
|
3
|
+
--zdt_cta_primary_stroke: #479dff;
|
|
4
|
+
--zdt_cta_secondary_fill: #334b68;
|
|
5
|
+
--zdt_cta_secondary_plainfill: #334b68;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #828994;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #479dff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: #334b68;
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #334b68;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='dark'][data-theme='green'] {
|
|
2
|
+
--zdt_cta_primary_fill: #45a159;
|
|
3
|
+
--zdt_cta_primary_stroke: #0e7c1c;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(69, 161, 89, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #45a159;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #45a159;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #0e7526;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(69, 161, 89, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #45a159;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='dark'][data-theme='orange'] {
|
|
2
|
+
--zdt_cta_primary_fill: #ff801f;
|
|
3
|
+
--zdt_cta_primary_stroke: #a85100;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(255, 128, 31, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #ff801f;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #ff801f;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #a85100;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(255, 128, 31, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #ff801f;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='dark'][data-theme='red'] {
|
|
2
|
+
--zdt_cta_primary_fill: #e94f4f;
|
|
3
|
+
--zdt_cta_primary_stroke: #a81111;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(233, 79, 79, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #e94f4f;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #e94f4f;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #a81111;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(233, 79, 79, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #e94f4f;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='dark'][data-theme='yellow'] {
|
|
2
|
+
--zdt_cta_primary_fill: #d79835;
|
|
3
|
+
--zdt_cta_primary_stroke: #9b6808;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(215, 152, 53, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #d79835;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #d79835;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #9b6808;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(215, 152, 53, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #d79835;
|
|
10
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[data-mode='default'] {
|
|
2
|
+
/* default palette */
|
|
3
|
+
--zdt_svg_default_primary_fill: var(--zdt_cta_primary_fill);
|
|
4
|
+
--zdt_svg_default_primary_stroke: var(--zdt_cta_primary_stroke);
|
|
5
|
+
--zdt_svg_default_secondary_fill: var(--zdt_cta_secondary_fill);
|
|
6
|
+
--zdt_svg_default_secondary_plainfill: var(--zdt_cta_secondary_plainfill);
|
|
7
|
+
--zdt_svg_default_plus: #3f70b7;
|
|
8
|
+
--zdt_svg_default_cross: #5cc1a5;
|
|
9
|
+
--zdt_svg_default_medium_circle: #e56471;
|
|
10
|
+
--zdt_svg_default_tiny_circle: #5cc1a5;
|
|
11
|
+
--zdt_svg_default_small_circle: #010101;
|
|
12
|
+
--zdt_svg_default_circle_fill: #fff;
|
|
13
|
+
|
|
14
|
+
/* dark palette */
|
|
15
|
+
--zdt_svg_dark_primary_fill: var(--zdt_cta_primary_dark_fill);
|
|
16
|
+
--zdt_svg_dark_primary_stroke: var(--zdt_cta_primary_dark_stroke);
|
|
17
|
+
--zdt_svg_dark_secondary_fill: var(--zdt_cta_secondary_dark_fill);
|
|
18
|
+
--zdt_svg_dark_secondary_plainfill: var(--zdt_cta_secondary_dark_plainfill);
|
|
19
|
+
--zdt_svg_dark_plus: #479dff;
|
|
20
|
+
--zdt_svg_dark_cross: #5cc1a5;
|
|
21
|
+
--zdt_svg_dark_medium_circle: #e56471;
|
|
22
|
+
--zdt_svg_dark_tiny_circle: #5cc1a5;
|
|
23
|
+
--zdt_svg_dark_small_circle: #010101;
|
|
24
|
+
--zdt_svg_dark_circle_fill: #fff;
|
|
25
|
+
|
|
26
|
+
/* danger palette */
|
|
27
|
+
--zdt_svg_danger_primary_fill: #ff6f00;
|
|
28
|
+
--zdt_svg_danger_primary_stroke: #010101;
|
|
29
|
+
--zdt_svg_danger_secondary_fill: rgba(63, 112, 183, 0.25);
|
|
30
|
+
--zdt_svg_danger_secondary_plainfill: #3f70b7;
|
|
31
|
+
--zdt_svg_danger_plus: #3f70b7;
|
|
32
|
+
--zdt_svg_danger_cross: #5cc1a5;
|
|
33
|
+
--zdt_svg_danger_medium_circle: #e56471;
|
|
34
|
+
--zdt_svg_danger_tiny_circle: #5cc1a5;
|
|
35
|
+
--zdt_svg_danger_small_circle: #010101;
|
|
36
|
+
--zdt_svg_danger_circle_fill: #fff;
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='blue'] {
|
|
2
|
+
--zdt_cta_primary_fill: #0a73eb;
|
|
3
|
+
--zdt_cta_primary_stroke: #221f1f;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(10, 115, 235, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #0a73eb;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #a6add7;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #fff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: #3f70b7;
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #3f70b7;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='green'] {
|
|
2
|
+
--zdt_cta_primary_fill: #26a942;
|
|
3
|
+
--zdt_cta_primary_stroke: #010101;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(38, 169, 66, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #26a942;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #26a942;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #fff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(38, 169, 66, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #26a942;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='orange'] {
|
|
2
|
+
--zdt_cta_primary_fill: #e57717;
|
|
3
|
+
--zdt_cta_primary_stroke: #010101;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(229, 119, 23, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #e57717;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #e57717;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #fff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(229, 119, 23, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #e57717;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='red'] {
|
|
2
|
+
--zdt_cta_primary_fill: #de3535;
|
|
3
|
+
--zdt_cta_primary_stroke: #010101;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(222, 53, 53, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #de3535;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #de3535;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #fff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(222, 53, 53, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #de3535;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='yellow'] {
|
|
2
|
+
--zdt_cta_primary_fill: #e8b923;
|
|
3
|
+
--zdt_cta_primary_stroke: #010101;
|
|
4
|
+
--zdt_cta_secondary_fill: rgba(232, 185, 35, 0.25);
|
|
5
|
+
--zdt_cta_secondary_plainfill: #e8b923;
|
|
6
|
+
--zdt_cta_primary_dark_fill: #e8b923;
|
|
7
|
+
--zdt_cta_primary_dark_stroke: #fff;
|
|
8
|
+
--zdt_cta_secondary_dark_fill: rgba(232, 185, 35, 0.25);
|
|
9
|
+
--zdt_cta_secondary_dark_plainfill: #e8b923;
|
|
10
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
|
|
14
|
+
var _SVG = _interopRequireDefault(require("./SVG"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
+
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
+
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
+
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
25
|
+
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
+
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
+
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
+
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
+
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
+
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var EmptyAccounts = /*#__PURE__*/function (_React$Component) {
|
|
41
|
+
_inherits(EmptyAccounts, _React$Component);
|
|
42
|
+
|
|
43
|
+
var _super = _createSuper(EmptyAccounts);
|
|
44
|
+
|
|
45
|
+
function EmptyAccounts() {
|
|
46
|
+
_classCallCheck(this, EmptyAccounts);
|
|
47
|
+
|
|
48
|
+
return _super.apply(this, arguments);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
_createClass(EmptyAccounts, [{
|
|
52
|
+
key: "render",
|
|
53
|
+
value: function render() {
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
55
|
+
viewBox: "0 0 200 200",
|
|
56
|
+
name: "accounts"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyAccounts_svg__cls-7,.EmptyAccounts_svg__cls-9{fill:var(--zd_emptysvg_secondary_fill)}.EmptyAccounts_svg__cls-3,.EmptyAccounts_svg__cls-4,.EmptyAccounts_svg__cls-5,.EmptyAccounts_svg__cls-6,.EmptyAccounts_svg__cls-8{fill:none}.EmptyAccounts_svg__cls-3{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyAccounts_svg__cls-8{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyAccounts_svg__cls-4,.EmptyAccounts_svg__cls-5{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyAccounts_svg__cls-5{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyAccounts_svg__cls-6{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}")), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z",
|
|
59
|
+
opacity: 0.05,
|
|
60
|
+
fill: "var(--zd_emptysvg_primary_fill)"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
62
|
+
cx: 156.04,
|
|
63
|
+
cy: 31.69,
|
|
64
|
+
rx: 3.54,
|
|
65
|
+
ry: 3.51,
|
|
66
|
+
strokeMiterlimit: 10,
|
|
67
|
+
stroke: "var(--zd_emptysvg_medium_circle)",
|
|
68
|
+
fill: "none"
|
|
69
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
70
|
+
className: "EmptyAccounts_svg__cls-8",
|
|
71
|
+
cx: 79.62,
|
|
72
|
+
cy: 29.6,
|
|
73
|
+
rx: 2.12,
|
|
74
|
+
ry: 2.1
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
|
+
className: "EmptyAccounts_svg__cls-4",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyAccounts_svg__cls-6",
|
|
80
|
+
cx: 165.88,
|
|
81
|
+
cy: 154.09,
|
|
82
|
+
rx: 2.45,
|
|
83
|
+
ry: 2.43
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
className: "EmptyAccounts_svg__cls-3",
|
|
86
|
+
d: "M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
88
|
+
opacity: 0.3
|
|
89
|
+
}, /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
90
|
+
className: "EmptyAccounts_svg__cls-7",
|
|
91
|
+
cx: 70.01,
|
|
92
|
+
cy: 92.77,
|
|
93
|
+
rx: 13.53,
|
|
94
|
+
ry: 13.42
|
|
95
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
96
|
+
className: "EmptyAccounts_svg__cls-7",
|
|
97
|
+
d: "M128.12 74.12s5.37-7.3 17.62-.47 3.25 28-11.37 26.24c0 0-4.75-.87-6.36-2-.01-.02 4.36-11.67.11-23.77z"
|
|
98
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
99
|
+
className: "EmptyAccounts_svg__cls-7",
|
|
100
|
+
cx: 104.52,
|
|
101
|
+
cy: 81.92,
|
|
102
|
+
rx: 18.72,
|
|
103
|
+
ry: 18.56
|
|
104
|
+
})), /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
105
|
+
className: "EmptyAccounts_svg__cls-9",
|
|
106
|
+
cx: 70.01,
|
|
107
|
+
cy: 92.77,
|
|
108
|
+
rx: 13.53,
|
|
109
|
+
ry: 13.42
|
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
111
|
+
className: "EmptyAccounts_svg__cls-9",
|
|
112
|
+
d: "M128.12 74.12s5.37-7.3 17.62-.47 3.25 28-11.37 26.24c0 0-4.75-.87-6.36-2-.01-.02 4.36-11.67.11-23.77z"
|
|
113
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
114
|
+
className: "EmptyAccounts_svg__cls-9",
|
|
115
|
+
cx: 104.52,
|
|
116
|
+
cy: 81.92,
|
|
117
|
+
rx: 18.72,
|
|
118
|
+
ry: 18.56
|
|
119
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
120
|
+
className: "EmptyAccounts_svg__cls-5",
|
|
121
|
+
d: "M43.12 137.27s26.19 17.89 43.6 1.66a6.4 6.4 0 002-4c.65-6.42 1-24.27-14.68-29.35a17.28 17.28 0 007.88-8.3c2.6-6.49 1.34-16.24-9-18.38-17.24-3.58-19.41 15-13 22.12l3.78 4.56s-18.89 12.48-16.32 23.95c0 0 13.38 12.34 30.06 7.68 0 0 23 28.3 52.82 2.18a7.2 7.2 0 002.43-5.47c-.07-8.11-1.8-29-17-36.76 0 0-13.62 12.11-26.54-3.49s3-32.37 14.56-31 23 5.12 19.49 30.5c0 0 7.75 12.35 20.9 3.5s5.17-20.73 1.65-23.06-13.1-5.77-17.62.47a35.44 35.44 0 01-7.18 35.44 29.18 29.18 0 00-6 10.41c-.88 2.75-1.33 5.66-.39 7.71 2.27 4.95 26.73 11 40.87-2.31a4.65 4.65 0 001.47-3.5c-.06-4.26-1.32-13.89-10.87-18.18 0 0 11.51 20.26 2.12 32.84"
|
|
122
|
+
}));
|
|
123
|
+
}
|
|
124
|
+
}]);
|
|
125
|
+
|
|
126
|
+
return EmptyAccounts;
|
|
127
|
+
}(_react["default"].Component);
|
|
128
|
+
|
|
129
|
+
exports["default"] = EmptyAccounts;
|
|
130
|
+
EmptyAccounts.propTypes = {
|
|
131
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
132
|
+
className: _propTypes["default"].string,
|
|
133
|
+
dataId: _propTypes["default"].string,
|
|
134
|
+
isRender: _propTypes["default"].bool,
|
|
135
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
136
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
137
|
+
};
|
|
138
|
+
EmptyAccounts.defaultProps = {
|
|
139
|
+
size: 'large',
|
|
140
|
+
alignHorizontal: true,
|
|
141
|
+
isRender: true,
|
|
142
|
+
className: '',
|
|
143
|
+
dataId: 'emptyAccounts',
|
|
144
|
+
palette: 'default'
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
if (false) {
|
|
148
|
+
EmptyAccounts.docs = {
|
|
149
|
+
componentGroup: 'SVG'
|
|
150
|
+
};
|
|
151
|
+
}
|