@zohodesk/svg 1.0.0-beta.45 → 1.0.0-beta.48
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 +12 -0
- package/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css +37 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +10 -0
- package/es/{svg → Loader}/Loader.js +12 -15
- package/es/Loader/props/defaultProps.js +3 -0
- package/es/Loader/props/propTypes.js +4 -0
- package/es/Provider.js +18 -84
- package/es/{svg → _svg}/SVG.js +5 -27
- package/es/{svg → _svg}/SVG.module.css +0 -0
- package/es/{svg → _svg}/SvgLoader.js +3 -3
- package/es/_svg/props/defaultProps.js +11 -0
- package/es/_svg/props/propTypes.js +15 -0
- package/es/{svg → css}/EmptyStateVariables.module.css +0 -0
- package/es/docs/Emptystate__version1.docs.js +29 -0
- package/es/docs/Emptystate__version2.docs.js +45 -0
- package/es/docs/Emptystate__version3.docs.js +148 -0
- package/es/docs/Errorstate__version1.docs.js +41 -0
- package/es/docs/Errorstate__version2.docs.js +33 -0
- package/es/docs/Errorstate__version3.docs.js +39 -0
- package/es/docs/SVG__common.docs.js +29 -0
- package/es/docs/SVGdocstyle.module.css +53 -0
- package/es/emptystate/props/defaultProps.js +8 -0
- package/es/emptystate/props/propTypes.js +9 -0
- package/es/emptystate/version1/EmptyCustomDomain.js +31 -0
- package/es/emptystate/version2/EmptyBusinessHoliday.js +31 -0
- package/es/emptystate/version2/EmptyBusinessHour.js +31 -0
- package/es/emptystate/version2/EmptyFromAddress.js +31 -0
- package/es/emptystate/version2/EmptyImportHistory.js +31 -0
- package/es/emptystate/version2/EmptyNetwork.js +31 -0
- package/es/emptystate/version2/EmptyRecycleBin.js +31 -0
- package/es/emptystate/version2/EmptyRoles.js +31 -0
- package/es/emptystate/version2/EmptyWebhook.js +31 -0
- package/es/emptystate/version2/FailureLog.js +31 -0
- package/es/emptystate/version3/CustomModule.js +60 -0
- package/es/{svg → emptystate/version3}/EmptyAccounts.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyActiveCalls.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyActivity.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAgent.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAgentQueue.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyApproval.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyArchived.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAttach.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyBlueprint.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCallHistory.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCollision.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyColumn.js +10 -20
- package/es/{svg → emptystate/version3}/EmptyContact.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyContract.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyConversation.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrm.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrmNotes.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrmPotential.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyDashboard.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyDelete.js +12 -22
- package/es/{svg → emptystate/version3}/EmptyDepartment.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyError.js +8 -17
- package/es/{svg → emptystate/version3}/EmptyFeed.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyFollowers.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyFrame.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyHappiness.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyHistory.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyInvoice.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyNotification.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyProducts.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyReply.js +8 -18
- package/es/{svg → emptystate/version3}/EmptyReports.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySchedule.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySearch.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySkills.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySla.js +8 -18
- package/es/{svg → emptystate/version3}/EmptySnippet.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTag.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTask.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTeams.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTemplate.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTicket.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTimeEntry.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTimeline.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTopic.js +9 -19
- package/es/{svg → emptystate/version3}/Export.js +15 -25
- package/es/{svg → emptystate/version3}/Extensions.js +9 -19
- package/es/{svg → emptystate/version3}/Extractor.js +9 -19
- package/es/{svg → emptystate/version3}/GCBot.js +11 -21
- package/es/{svg → emptystate/version3}/GCConversation.js +15 -25
- package/es/{svg → emptystate/version3}/Import.js +8 -18
- package/es/{svg → emptystate/version3}/KBBot.js +11 -21
- package/es/{svg → emptystate/version3}/Multilingual.js +10 -20
- package/es/{svg → emptystate/version3}/NetworkError.js +16 -26
- package/es/{svg → emptystate/version3}/Predictor.js +9 -19
- package/es/{svg → emptystate/version3}/ReadRecipients.js +11 -21
- package/es/{svg → emptystate/version3}/Variable.js +11 -21
- package/es/{svg → emptystate/version3}/ZiaAnamoly.js +9 -19
- package/es/errorstate/props/defaultProps.js +8 -0
- package/es/errorstate/props/propTypes.js +9 -0
- package/es/errorstate/version1/EmptyInconvenience.js +34 -0
- package/es/errorstate/version1/NoRequestFound.js +34 -0
- package/es/errorstate/version1/PageNotFound.js +35 -0
- package/es/errorstate/version1/UnableToProcessRequest.js +35 -0
- package/es/errorstate/version1/UnauthorizedLogin.js +35 -0
- package/es/errorstate/version1/UrlNotFound.js +35 -0
- package/es/errorstate/version1/WillBeRightBack.js +35 -0
- package/es/{svg → errorstate/version2}/EmptyUnauthorizedLogin.js +8 -19
- package/es/{svg → errorstate/version2}/EmptyWillBeRightBack.js +9 -20
- package/es/{svg → errorstate/version2}/NotImpossible.js +9 -18
- package/es/{svg → errorstate/version3}/ErrorInconvenience.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorOopsSomethingMiss.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorUnableToProcessRequest.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorUnauthorizedLogin.js +22 -29
- package/es/{svg → errorstate/version3}/ErrorUrlNotFound.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorWillBeRightBack.js +8 -15
- package/es/index.js +7 -4
- package/{es/svg/images → images}/EmptyBusinessHoliday.svg +0 -0
- package/{es/svg/images → images}/EmptyBusinessHour.svg +0 -0
- package/{es/svg/images → images}/EmptyContactInfo.svg +0 -0
- package/{es/svg/images → images}/EmptyCustomDomain.svg +0 -0
- package/{es/svg/images → images}/EmptyFilter.svg +0 -0
- package/{es/svg/images → images}/EmptyFromAddress.svg +0 -0
- package/{es/svg/images → images}/EmptyImportHistory.svg +0 -0
- package/{es/svg/images → images}/EmptyNetwork.svg +0 -0
- package/{es/svg/images → images}/EmptyRecycleBin.svg +0 -0
- package/{es/svg/images → images}/EmptyRoles.svg +0 -0
- package/{es/svg/images → images}/EmptySkills.svg +0 -0
- package/{es/svg/images → images}/EmptyWebhook.svg +0 -0
- package/{es/svg/images → images}/FailureLog.svg +0 -0
- package/{es/svg/images → images}/Inconvenience.svg +0 -0
- package/{es/svg/images → images}/NoRequestFound.svg +0 -0
- package/{es/svg/images → images}/PageNotFound.svg +0 -0
- package/{es/svg/images → images}/ReguestUrlNotFound.svg +0 -0
- package/{es/svg/images → images}/UnableToProcess.svg +0 -0
- package/{es/svg/images → images}/UnauthorizedLogin.svg +0 -0
- package/{es/svg/images → images}/WillBack.svg +0 -0
- package/lib/{svg → Loader}/Loader.js +15 -17
- package/lib/Loader/props/defaultProps.js +10 -0
- package/lib/Loader/props/propTypes.js +15 -0
- package/lib/Provider.js +25 -99
- package/lib/{svg → _svg}/SVG.js +8 -29
- package/lib/{svg → _svg}/SVG.module.css +0 -0
- package/lib/{svg → _svg}/SvgLoader.js +3 -3
- package/lib/_svg/props/defaultProps.js +18 -0
- package/lib/_svg/props/propTypes.js +26 -0
- package/lib/{svg → css}/EmptyStateVariables.module.css +0 -0
- package/lib/{svg/EmptyRoles.js → docs/Emptystate__version1.docs.js} +28 -39
- package/lib/docs/Emptystate__version2.docs.js +103 -0
- package/lib/docs/Emptystate__version3.docs.js +256 -0
- package/lib/docs/Errorstate__version1.docs.js +97 -0
- package/lib/docs/Errorstate__version2.docs.js +85 -0
- package/lib/docs/Errorstate__version3.docs.js +94 -0
- package/lib/docs/SVG__common.docs.js +79 -0
- package/lib/docs/SVGdocstyle.module.css +53 -0
- package/lib/emptystate/props/defaultProps.js +15 -0
- package/lib/{svg/utils.js → emptystate/props/propTypes.js} +7 -13
- package/lib/{svg → emptystate/version1}/EmptyCustomDomain.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyBusinessHoliday.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyBusinessHour.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyFromAddress.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyImportHistory.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyNetwork.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyRecycleBin.js +18 -20
- package/lib/emptystate/version2/EmptyRoles.js +88 -0
- package/lib/{svg → emptystate/version2}/EmptyWebhook.js +18 -20
- package/lib/{svg → emptystate/version2}/FailureLog.js +18 -20
- package/lib/emptystate/version3/CustomModule.js +116 -0
- package/lib/{svg → emptystate/version3}/EmptyAccounts.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyActiveCalls.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyActivity.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAgent.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAgentQueue.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyApproval.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyArchived.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAttach.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyBlueprint.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCallHistory.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCollision.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyColumn.js +20 -24
- package/lib/{svg → emptystate/version3}/EmptyContact.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyContract.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyConversation.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrm.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrmNotes.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrmPotential.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyDashboard.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyDelete.js +22 -26
- package/lib/{svg → emptystate/version3}/EmptyDepartment.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyError.js +18 -21
- package/lib/{svg → emptystate/version3}/EmptyFeed.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyFollowers.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyFrame.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyHappiness.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyHistory.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyInvoice.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyNotification.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyProducts.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyReply.js +18 -22
- package/lib/{svg → emptystate/version3}/EmptyReports.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySchedule.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySearch.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySkills.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySla.js +18 -22
- package/lib/{svg → emptystate/version3}/EmptySnippet.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTag.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTask.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTeams.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTemplate.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTicket.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTimeEntry.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTimeline.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTopic.js +19 -23
- package/lib/{svg → emptystate/version3}/Export.js +25 -29
- package/lib/{svg → emptystate/version3}/Extensions.js +19 -23
- package/lib/{svg → emptystate/version3}/Extractor.js +19 -23
- package/lib/{svg → emptystate/version3}/GCBot.js +21 -25
- package/lib/{svg → emptystate/version3}/GCConversation.js +25 -29
- package/lib/{svg → emptystate/version3}/Import.js +18 -22
- package/lib/{svg → emptystate/version3}/KBBot.js +21 -25
- package/lib/{svg → emptystate/version3}/Multilingual.js +20 -24
- package/lib/{svg → emptystate/version3}/NetworkError.js +26 -30
- package/lib/{svg → emptystate/version3}/Predictor.js +19 -23
- package/lib/{svg → emptystate/version3}/ReadRecipients.js +21 -25
- package/lib/{svg → emptystate/version3}/Variable.js +21 -25
- package/lib/{svg → emptystate/version3}/ZiaAnamoly.js +19 -23
- package/lib/errorstate/props/defaultProps.js +15 -0
- package/lib/errorstate/props/propTypes.js +20 -0
- package/lib/{svg → errorstate/version1}/EmptyInconvenience.js +18 -19
- package/lib/{svg → errorstate/version1}/NoRequestFound.js +18 -19
- package/lib/{svg → errorstate/version1}/PageNotFound.js +18 -19
- package/lib/{svg → errorstate/version1}/UnableToProcessRequest.js +18 -19
- package/lib/{svg → errorstate/version1}/UnauthorizedLogin.js +18 -19
- package/lib/{svg → errorstate/version1}/UrlNotFound.js +18 -19
- package/lib/{svg → errorstate/version1}/WillBeRightBack.js +18 -19
- package/lib/{svg → errorstate/version2}/EmptyUnauthorizedLogin.js +18 -22
- package/lib/{svg → errorstate/version2}/EmptyWillBeRightBack.js +19 -23
- package/lib/{svg → errorstate/version2}/NotImpossible.js +19 -21
- package/lib/{svg → errorstate/version3}/ErrorInconvenience.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorOopsSomethingMiss.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorUnableToProcessRequest.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorUnauthorizedLogin.js +32 -32
- package/lib/{svg → errorstate/version3}/ErrorUrlNotFound.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorWillBeRightBack.js +18 -18
- package/lib/index.js +40 -16
- package/package.json +3 -3
- package/es/svg/EmptyBusinessHoliday.js +0 -39
- package/es/svg/EmptyBusinessHour.js +0 -39
- package/es/svg/EmptyCustomDomain.js +0 -39
- package/es/svg/EmptyFromAddress.js +0 -39
- package/es/svg/EmptyImportHistory.js +0 -39
- package/es/svg/EmptyInconvenience.js +0 -42
- package/es/svg/EmptyNetwork.js +0 -39
- package/es/svg/EmptyRecycleBin.js +0 -39
- package/es/svg/EmptyRoles.js +0 -39
- package/es/svg/EmptyWebhook.js +0 -39
- package/es/svg/FailureLog.js +0 -39
- package/es/svg/NoRequestFound.js +0 -42
- package/es/svg/PageNotFound.js +0 -43
- package/es/svg/UnableToProcessRequest.js +0 -43
- package/es/svg/UnauthorizedLogin.js +0 -43
- package/es/svg/UrlNotFound.js +0 -43
- package/es/svg/WillBeRightBack.js +0 -43
- package/es/svg/utils.js +0 -14
- package/lib/svg/images/EmptyBusinessHoliday.svg +0 -50
- package/lib/svg/images/EmptyBusinessHour.svg +0 -42
- package/lib/svg/images/EmptyContactInfo.svg +0 -27
- package/lib/svg/images/EmptyCustomDomain.svg +0 -85
- package/lib/svg/images/EmptyFilter.svg +0 -62
- package/lib/svg/images/EmptyFromAddress.svg +0 -41
- package/lib/svg/images/EmptyImportHistory.svg +0 -43
- package/lib/svg/images/EmptyNetwork.svg +0 -50
- package/lib/svg/images/EmptyRecycleBin.svg +0 -58
- package/lib/svg/images/EmptyRoles.svg +0 -30
- package/lib/svg/images/EmptySkills.svg +0 -83
- package/lib/svg/images/EmptyWebhook.svg +0 -44
- package/lib/svg/images/FailureLog.svg +0 -46
- package/lib/svg/images/Inconvenience.svg +0 -719
- package/lib/svg/images/NoRequestFound.svg +0 -247
- package/lib/svg/images/PageNotFound.svg +0 -405
- package/lib/svg/images/ReguestUrlNotFound.svg +0 -267
- package/lib/svg/images/UnableToProcess.svg +0 -752
- package/lib/svg/images/UnauthorizedLogin.svg +0 -1047
- package/lib/svg/images/WillBack.svg +0 -633
package/README.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This Bundle Contains EmptyState Images.
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.48
|
|
6
|
+
|
|
7
|
+
- errorstate, emptystate files separated , EmptyCrm dataId changed to EmptyCrm from EmptyFeed
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.47
|
|
10
|
+
|
|
11
|
+
- PureDark mode implemented via preprocess
|
|
12
|
+
|
|
13
|
+
# 1.0.0-beta.46
|
|
14
|
+
|
|
15
|
+
- CustomModule SVG added
|
|
16
|
+
|
|
5
17
|
# 1.0.0-beta.45
|
|
6
18
|
|
|
7
19
|
- Delete, GCBot, GCConversation, KBBot, NetworkError, Variable & ReadRecipients SVG added
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[data-mode='pureDark'] {
|
|
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: var(--dot_white);
|
|
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: var(--dot_white);
|
|
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: var(--dot_white);
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][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='pureDark'][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='pureDark'][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='pureDark'][data-theme='red'] {
|
|
2
|
+
--zdt_cta_primary_fill: #a81111;
|
|
3
|
+
--zdt_cta_primary_stroke: #e94f4f;
|
|
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='pureDark'][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
|
+
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { LoaderDefaultProps } from './props/defaultProps';
|
|
3
|
+
import { LoaderProps } from './props/propTypes';
|
|
4
|
+
import SVG from './../_svg/SVG';
|
|
5
|
+
import cssStyle from './../_svg/SVG.module.css';
|
|
5
6
|
export default class Loader extends React.PureComponent {
|
|
6
7
|
constructor(props) {
|
|
7
8
|
super(props);
|
|
8
9
|
this.viewBoxStyle = {
|
|
9
|
-
animation:
|
|
10
|
+
animation: 'loaderone 2s linear infinite'
|
|
10
11
|
};
|
|
11
12
|
this.defsStyle = {
|
|
12
|
-
animation:
|
|
13
|
-
transformOrigin:
|
|
13
|
+
animation: 'circleAnimation_1 1.5s linear infinite',
|
|
14
|
+
transformOrigin: 'center'
|
|
14
15
|
};
|
|
15
16
|
this.circleStyle = {
|
|
16
|
-
animation:
|
|
17
|
-
transformOrigin:
|
|
17
|
+
animation: 'circleAnimation_2 1.2s linear infinite',
|
|
18
|
+
transformOrigin: 'center'
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -30,7 +31,7 @@ export default class Loader extends React.PureComponent {
|
|
|
30
31
|
className: `${cssStyle.loaderWrapper}`,
|
|
31
32
|
dataId: dataId,
|
|
32
33
|
styleName: this.viewBoxStyle
|
|
33
|
-
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null,
|
|
34
|
+
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, '@keyframes circleAnimation_1{to{stroke-dashoffset:-82}}@keyframes circleAnimation_2{to{stroke-dashoffset:-50}}@keyframes loaderone{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}')), /*#__PURE__*/React.createElement("title", null, 'loader'), /*#__PURE__*/React.createElement("circle", {
|
|
34
35
|
fill: "none",
|
|
35
36
|
stroke: "#089949",
|
|
36
37
|
strokeWidth: 2,
|
|
@@ -57,12 +58,8 @@ export default class Loader extends React.PureComponent {
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
}
|
|
60
|
-
Loader.propTypes =
|
|
61
|
-
|
|
62
|
-
};
|
|
63
|
-
Loader.defaultProps = {
|
|
64
|
-
dataId: 'loader'
|
|
65
|
-
};
|
|
61
|
+
Loader.propTypes = LoaderProps;
|
|
62
|
+
Loader.defaultProps = LoaderDefaultProps;
|
|
66
63
|
|
|
67
64
|
if (false) {
|
|
68
65
|
Loader.docs = {
|
package/es/Provider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import
|
|
4
|
+
import ThemeTool from '../../common/lib/ThemeTool/ThemeTool';
|
|
5
5
|
import '@zohodesk/components/assets/Appearance/default/mode/defaultMode.module.css';
|
|
6
6
|
import '@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css';
|
|
7
7
|
/* default mode & themes */
|
|
@@ -20,6 +20,14 @@ import '../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css';
|
|
|
20
20
|
import '../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css';
|
|
21
21
|
import '../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css';
|
|
22
22
|
import '../assets/Appearance/dark/mode/darkEmptyStates.module.css';
|
|
23
|
+
/* pure dark mode & themes */
|
|
24
|
+
|
|
25
|
+
import '../assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css';
|
|
26
|
+
import '../assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css';
|
|
27
|
+
import '../assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css';
|
|
28
|
+
import '../assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css';
|
|
29
|
+
import '../assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css';
|
|
30
|
+
import '../assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css';
|
|
23
31
|
export default class Provider extends React.Component {
|
|
24
32
|
constructor(props) {
|
|
25
33
|
super(props);
|
|
@@ -27,22 +35,14 @@ export default class Provider extends React.Component {
|
|
|
27
35
|
appearanceName: 'default',
|
|
28
36
|
themeName: 'blue'
|
|
29
37
|
};
|
|
30
|
-
this.switchMode = this.switchMode.bind(this);
|
|
31
38
|
this.setTheme = this.setTheme.bind(this);
|
|
39
|
+
this.setAppearance = this.setAppearance.bind(this);
|
|
32
40
|
}
|
|
33
41
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
this.setState({
|
|
39
|
-
appearanceName: 'dark'
|
|
40
|
-
});
|
|
41
|
-
} else {
|
|
42
|
-
this.setState({
|
|
43
|
-
appearanceName: 'default'
|
|
44
|
-
});
|
|
45
|
-
}
|
|
42
|
+
setAppearance(mode) {
|
|
43
|
+
this.setState({
|
|
44
|
+
appearanceName: mode
|
|
45
|
+
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
setTheme(theme) {
|
|
@@ -56,28 +56,6 @@ export default class Provider extends React.Component {
|
|
|
56
56
|
appearanceName,
|
|
57
57
|
themeName
|
|
58
58
|
} = this.state;
|
|
59
|
-
let themeClass = {
|
|
60
|
-
width: '20px',
|
|
61
|
-
height: '20px',
|
|
62
|
-
borderRadius: '3px',
|
|
63
|
-
display: 'flex',
|
|
64
|
-
border: '1px solid #ccc',
|
|
65
|
-
margin: '0 5px',
|
|
66
|
-
cursor: 'pointer',
|
|
67
|
-
backgroundColor: '#0a73eb'
|
|
68
|
-
};
|
|
69
|
-
let green = {
|
|
70
|
-
backgroundColor: '#26a942'
|
|
71
|
-
};
|
|
72
|
-
let red = {
|
|
73
|
-
backgroundColor: '#de3535'
|
|
74
|
-
};
|
|
75
|
-
let orange = {
|
|
76
|
-
backgroundColor: '#e57717'
|
|
77
|
-
};
|
|
78
|
-
let yellow = {
|
|
79
|
-
backgroundColor: '#e8b923'
|
|
80
|
-
};
|
|
81
59
|
return /*#__PURE__*/React.createElement(AppContainer, {
|
|
82
60
|
customProps: {
|
|
83
61
|
ExtraProps: {
|
|
@@ -87,54 +65,10 @@ export default class Provider extends React.Component {
|
|
|
87
65
|
}
|
|
88
66
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
89
67
|
scroll: "vertical"
|
|
90
|
-
}, this.props.children), /*#__PURE__*/React.createElement(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
backgroundColor: '#272727',
|
|
95
|
-
padding: '10px',
|
|
96
|
-
borderRadius: '15px 15px 0 0',
|
|
97
|
-
minWidth: '100px',
|
|
98
|
-
textAlign: 'center',
|
|
99
|
-
left: '50%',
|
|
100
|
-
transform: 'translate(-50%)',
|
|
101
|
-
boxShadow: '0 0 3px #000',
|
|
102
|
-
fontSize: '12px',
|
|
103
|
-
zIndex: '3',
|
|
104
|
-
display: 'flex',
|
|
105
|
-
alignItems: 'center'
|
|
106
|
-
}
|
|
107
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Switch, {
|
|
108
|
-
id: "switchMode",
|
|
109
|
-
text: "Light/Night Mode",
|
|
110
|
-
labelSize: "small",
|
|
111
|
-
onChange: this.switchMode,
|
|
112
|
-
checked: appearanceName == 'dark'
|
|
113
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
114
|
-
style: {
|
|
115
|
-
display: 'flex'
|
|
116
|
-
}
|
|
117
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
118
|
-
title: "Blue Theme",
|
|
119
|
-
style: themeClass,
|
|
120
|
-
onClick: () => this.setTheme('blue')
|
|
121
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
122
|
-
title: "Green Theme",
|
|
123
|
-
style: Object.assign({}, themeClass, green),
|
|
124
|
-
onClick: () => this.setTheme('green')
|
|
125
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
126
|
-
title: "Red Theme",
|
|
127
|
-
style: Object.assign({}, themeClass, red),
|
|
128
|
-
onClick: () => this.setTheme('red')
|
|
129
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
130
|
-
title: "Orange Theme",
|
|
131
|
-
style: Object.assign({}, themeClass, orange),
|
|
132
|
-
onClick: () => this.setTheme('orange')
|
|
133
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
134
|
-
title: "Yellow Theme",
|
|
135
|
-
style: Object.assign({}, themeClass, yellow),
|
|
136
|
-
onClick: () => this.setTheme('yellow')
|
|
137
|
-
}))));
|
|
68
|
+
}, this.props.children), /*#__PURE__*/React.createElement(ThemeTool, {
|
|
69
|
+
onThemeChange: this.setTheme,
|
|
70
|
+
onAppearanceChange: this.setAppearance
|
|
71
|
+
}));
|
|
138
72
|
}
|
|
139
73
|
|
|
140
74
|
}
|
package/es/{svg → _svg}/SVG.js
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { SvgProps } from './props/propTypes';
|
|
3
|
+
import { SvgDefaultProps } from './props/defaultProps';
|
|
3
4
|
import style from './SVG.module.css';
|
|
4
|
-
import styles from '
|
|
5
|
+
import styles from './../css/EmptyStateVariables.module.css';
|
|
5
6
|
export default class SVG extends React.Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -45,31 +46,8 @@ export default class SVG extends React.Component {
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
}
|
|
48
|
-
SVG.propTypes =
|
|
49
|
-
|
|
50
|
-
children: PropTypes.node,
|
|
51
|
-
className: PropTypes.string,
|
|
52
|
-
dataId: PropTypes.string,
|
|
53
|
-
isFluid: PropTypes.bool,
|
|
54
|
-
isRender: PropTypes.bool,
|
|
55
|
-
isSymbol: PropTypes.bool,
|
|
56
|
-
name: PropTypes.string,
|
|
57
|
-
size: PropTypes.oneOf(['small', 'large']),
|
|
58
|
-
viewBox: PropTypes.string,
|
|
59
|
-
palette: PropTypes.oneOf(['default', 'dark']),
|
|
60
|
-
styleName: PropTypes.node
|
|
61
|
-
};
|
|
62
|
-
SVG.defaultProps = {
|
|
63
|
-
alignHorizontal: true,
|
|
64
|
-
isRender: true,
|
|
65
|
-
className: '',
|
|
66
|
-
dataId: 'SVG',
|
|
67
|
-
name: '',
|
|
68
|
-
viewBox: '',
|
|
69
|
-
isSymbol: false,
|
|
70
|
-
isFluid: false,
|
|
71
|
-
palette: 'default'
|
|
72
|
-
};
|
|
49
|
+
SVG.propTypes = SvgProps;
|
|
50
|
+
SVG.defaultProps = SvgDefaultProps;
|
|
73
51
|
|
|
74
52
|
if (false) {
|
|
75
53
|
SVG.docs = {
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
2
2
|
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
|
4
4
|
export default function SvgLoader(props) {
|
|
5
5
|
let uiProps = {};
|
|
6
|
-
Object.keys(props).filter(prop => prop !=
|
|
6
|
+
Object.keys(props).filter(prop => prop != 'imageUrl').map(prop => {
|
|
7
7
|
uiProps[prop] = props[prop];
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ export default function SvgLoader(props) {
|
|
|
16
16
|
export function StaticSvg(props) {
|
|
17
17
|
let uiProps = {},
|
|
18
18
|
[image, setImage] = useState(null);
|
|
19
|
-
Object.keys(props).filter(prop => prop !=
|
|
19
|
+
Object.keys(props).filter(prop => prop != 'getImage').map(prop => {
|
|
20
20
|
uiProps[prop] = props[prop];
|
|
21
21
|
});
|
|
22
22
|
useEffect(() => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const SvgProps = {
|
|
3
|
+
alignHorizontal: PropTypes.bool,
|
|
4
|
+
children: PropTypes.node,
|
|
5
|
+
className: PropTypes.string,
|
|
6
|
+
dataId: PropTypes.string,
|
|
7
|
+
isFluid: PropTypes.bool,
|
|
8
|
+
isRender: PropTypes.bool,
|
|
9
|
+
isSymbol: PropTypes.bool,
|
|
10
|
+
name: PropTypes.string,
|
|
11
|
+
size: PropTypes.oneOf(['small', 'large']),
|
|
12
|
+
viewBox: PropTypes.string,
|
|
13
|
+
palette: PropTypes.oneOf(['default', 'dark']),
|
|
14
|
+
styleName: PropTypes.node
|
|
15
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import EmptyCustomDomain from '../emptystate/version1/EmptyCustomDomain';
|
|
3
|
+
import style from './SVGdocstyle.module.css';
|
|
4
|
+
export default class Emptystate__version1 extends React.Component {
|
|
5
|
+
render() {
|
|
6
|
+
let allSvg = {
|
|
7
|
+
EmptyCustomDomain: /*#__PURE__*/React.createElement(EmptyCustomDomain, null)
|
|
8
|
+
};
|
|
9
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
+
className: style.parent
|
|
11
|
+
}, Object.keys(allSvg).map(item => {
|
|
12
|
+
let filterDarkPalettes = item.endsWith('DarkPalette');
|
|
13
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
className: filterDarkPalettes ? style.darkPalette : style.defaultPalette
|
|
15
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16
|
+
className: style.box
|
|
17
|
+
}, allSvg[item]), /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
className: style.textStyle
|
|
19
|
+
}, item));
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (false) {
|
|
26
|
+
Emptystate__version1.docs = {
|
|
27
|
+
componentGroup: 'Emptystate'
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import EmptyBusinessHoliday from '../emptystate/version2/EmptyBusinessHoliday';
|
|
3
|
+
import EmptyBusinessHour from '../emptystate/version2/EmptyBusinessHour';
|
|
4
|
+
import EmptyImportHistory from '../emptystate/version2/EmptyImportHistory';
|
|
5
|
+
import EmptyRecycleBin from '../emptystate/version2/EmptyRecycleBin';
|
|
6
|
+
import EmptyRoles from '../emptystate/version2/EmptyRoles';
|
|
7
|
+
import EmptyNetwork from '../emptystate/version2/EmptyNetwork';
|
|
8
|
+
import FailureLog from '../emptystate/version2/FailureLog';
|
|
9
|
+
import EmptyFromAddress from '../emptystate/version2/EmptyFromAddress';
|
|
10
|
+
import EmptyWebhook from '../emptystate/version2/EmptyWebhook';
|
|
11
|
+
import style from './SVGdocstyle.module.css';
|
|
12
|
+
export default class Emptystate__version2 extends React.Component {
|
|
13
|
+
render() {
|
|
14
|
+
let allSvg = {
|
|
15
|
+
EmptyBusinessHoliday: /*#__PURE__*/React.createElement(EmptyBusinessHoliday, null),
|
|
16
|
+
EmptyBusinessHour: /*#__PURE__*/React.createElement(EmptyBusinessHour, null),
|
|
17
|
+
EmptyImportHistory: /*#__PURE__*/React.createElement(EmptyImportHistory, null),
|
|
18
|
+
EmptyRecycleBin: /*#__PURE__*/React.createElement(EmptyRecycleBin, null),
|
|
19
|
+
EmptyRoles: /*#__PURE__*/React.createElement(EmptyRoles, null),
|
|
20
|
+
EmptyNetwork: /*#__PURE__*/React.createElement(EmptyNetwork, null),
|
|
21
|
+
FailureLog: /*#__PURE__*/React.createElement(FailureLog, null),
|
|
22
|
+
EmptyFromAddress: /*#__PURE__*/React.createElement(EmptyFromAddress, null),
|
|
23
|
+
EmptyWebhook: /*#__PURE__*/React.createElement(EmptyWebhook, null)
|
|
24
|
+
};
|
|
25
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: style.parent
|
|
27
|
+
}, Object.keys(allSvg).map(item => {
|
|
28
|
+
let filterDarkPalettes = item.endsWith('DarkPalette');
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: filterDarkPalettes ? style.darkPalette : style.defaultPalette
|
|
31
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: style.box
|
|
33
|
+
}, allSvg[item]), /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: style.textStyle
|
|
35
|
+
}, item));
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (false) {
|
|
42
|
+
Emptystate__version2.docs = {
|
|
43
|
+
componentGroup: 'Emptystate'
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import EmptyActivity from '../emptystate/version3/EmptyActivity';
|
|
3
|
+
import EmptyAccounts from '../emptystate/version3/EmptyAccounts';
|
|
4
|
+
import EmptyAgent from '../emptystate/version3/EmptyAgent';
|
|
5
|
+
import EmptyArchived from '../emptystate/version3/EmptyArchived';
|
|
6
|
+
import EmptyBlueprint from '../emptystate/version3/EmptyBlueprint';
|
|
7
|
+
import EmptyFrame from '../emptystate/version3/EmptyFrame';
|
|
8
|
+
import EmptyContact from '../emptystate/version3/EmptyContact';
|
|
9
|
+
import EmptyDashboard from '../emptystate/version3/EmptyDashboard';
|
|
10
|
+
import EmptyInvoice from '../emptystate/version3/EmptyInvoice';
|
|
11
|
+
import EmptyProducts from '../emptystate/version3/EmptyProducts';
|
|
12
|
+
import EmptyReports from '../emptystate/version3/EmptyReports';
|
|
13
|
+
import EmptySearch from '../emptystate/version3/EmptySearch';
|
|
14
|
+
import EmptyTag from '../emptystate/version3/EmptyTag';
|
|
15
|
+
import EmptyTask from '../emptystate/version3/EmptyTask';
|
|
16
|
+
import EmptyTicket from '../emptystate/version3/EmptyTicket';
|
|
17
|
+
import EmptyAttach from '../emptystate/version3/EmptyAttach';
|
|
18
|
+
import EmptyHappiness from '../emptystate/version3/EmptyHappiness';
|
|
19
|
+
import EmptyConversation from '../emptystate/version3/EmptyConversation';
|
|
20
|
+
import EmptyNotification from '../emptystate/version3/EmptyNotification';
|
|
21
|
+
import EmptyTimeEntry from '../emptystate/version3/EmptyTimeEntry';
|
|
22
|
+
import EmptyTeams from '../emptystate/version3/EmptyTeams';
|
|
23
|
+
import EmptyTopic from '../emptystate/version3/EmptyTopic';
|
|
24
|
+
import EmptyActiveCalls from '../emptystate/version3/EmptyActiveCalls';
|
|
25
|
+
import EmptyCallHistory from '../emptystate/version3/EmptyCallHistory';
|
|
26
|
+
import EmptyHistory from '../emptystate/version3/EmptyHistory';
|
|
27
|
+
import EmptyTemplate from '../emptystate/version3/EmptyTemplate';
|
|
28
|
+
import EmptySkills from '../emptystate/version3/EmptySkills';
|
|
29
|
+
import EmptySnippet from '../emptystate/version3/EmptySnippet';
|
|
30
|
+
import EmptyCrm from '../emptystate/version3/EmptyCrm';
|
|
31
|
+
import EmptyFollowers from '../emptystate/version3/EmptyFollowers';
|
|
32
|
+
import EmptyFeed from '../emptystate/version3/EmptyFeed';
|
|
33
|
+
import EmptySchedule from '../emptystate/version3/EmptySchedule';
|
|
34
|
+
import EmptyColumn from '../emptystate/version3/EmptyColumn';
|
|
35
|
+
import EmptyApproval from '../emptystate/version3/EmptyApproval';
|
|
36
|
+
import EmptyCollision from '../emptystate/version3/EmptyCollision';
|
|
37
|
+
import EmptyCrmNotes from '../emptystate/version3/EmptyCrmNotes';
|
|
38
|
+
import EmptyCrmPotential from '../emptystate/version3/EmptyCrmPotential';
|
|
39
|
+
import EmptyTimeline from '../emptystate/version3/EmptyTimeline';
|
|
40
|
+
import EmptyReply from '../emptystate/version3/EmptyReply';
|
|
41
|
+
import EmptyContract from '../emptystate/version3/EmptyContract';
|
|
42
|
+
import EmptySla from '../emptystate/version3/EmptySla';
|
|
43
|
+
import EmptyAgentQueue from '../emptystate/version3/EmptyAgentQueue';
|
|
44
|
+
import EmptyDepartment from '../emptystate/version3/EmptyDepartment';
|
|
45
|
+
import ZiaAnamoly from '../emptystate/version3/ZiaAnamoly';
|
|
46
|
+
import Predictor from '../emptystate/version3/Predictor';
|
|
47
|
+
import Extractor from '../emptystate/version3/Extractor';
|
|
48
|
+
import EmptyError from '../emptystate/version3/EmptyError';
|
|
49
|
+
import Import from '../emptystate/version3/Import';
|
|
50
|
+
import Export from '../emptystate/version3/Export';
|
|
51
|
+
import Extensions from '../emptystate/version3/Extensions';
|
|
52
|
+
import Multilingual from '../emptystate/version3/Multilingual';
|
|
53
|
+
import EmptyDelete from '../emptystate/version3/EmptyDelete';
|
|
54
|
+
import GCBot from '../emptystate/version3/GCBot';
|
|
55
|
+
import GCConversation from '../emptystate/version3/GCConversation';
|
|
56
|
+
import KBBot from '../emptystate/version3/KBBot';
|
|
57
|
+
import NetworkError from '../emptystate/version3/NetworkError';
|
|
58
|
+
import Variable from '../emptystate/version3/Variable';
|
|
59
|
+
import ReadRecipients from '../emptystate/version3/ReadRecipients';
|
|
60
|
+
import CustomModule from '../emptystate/version3/CustomModule';
|
|
61
|
+
import style from './SVGdocstyle.module.css';
|
|
62
|
+
export default class Emptystate__version3 extends React.Component {
|
|
63
|
+
render() {
|
|
64
|
+
let allSvg = {
|
|
65
|
+
EmptyAccounts: /*#__PURE__*/React.createElement(EmptyAccounts, null),
|
|
66
|
+
EmptyActiveCalls: /*#__PURE__*/React.createElement(EmptyActiveCalls, null),
|
|
67
|
+
EmptyActivity: /*#__PURE__*/React.createElement(EmptyActivity, null),
|
|
68
|
+
EmptyAgent: /*#__PURE__*/React.createElement(EmptyAgent, null),
|
|
69
|
+
EmptyApproval: /*#__PURE__*/React.createElement(EmptyApproval, null),
|
|
70
|
+
EmptyArchived: /*#__PURE__*/React.createElement(EmptyArchived, null),
|
|
71
|
+
EmptyAttach: /*#__PURE__*/React.createElement(EmptyAttach, null),
|
|
72
|
+
EmptyCallHistory: /*#__PURE__*/React.createElement(EmptyCallHistory, null),
|
|
73
|
+
EmptyCollision: /*#__PURE__*/React.createElement(EmptyCollision, null),
|
|
74
|
+
EmptyColumn: /*#__PURE__*/React.createElement(EmptyColumn, null),
|
|
75
|
+
EmptyContact: /*#__PURE__*/React.createElement(EmptyContact, null),
|
|
76
|
+
EmptyConversation: /*#__PURE__*/React.createElement(EmptyConversation, null),
|
|
77
|
+
EmptyCrm: /*#__PURE__*/React.createElement(EmptyCrm, null),
|
|
78
|
+
EmptyCrmNotes: /*#__PURE__*/React.createElement(EmptyCrmNotes, null),
|
|
79
|
+
EmptyCrmPotential: /*#__PURE__*/React.createElement(EmptyCrmPotential, null),
|
|
80
|
+
EmptyDashboard: /*#__PURE__*/React.createElement(EmptyDashboard, null),
|
|
81
|
+
EmptyInvoice: /*#__PURE__*/React.createElement(EmptyInvoice, null),
|
|
82
|
+
EmptyProducts: /*#__PURE__*/React.createElement(EmptyProducts, null),
|
|
83
|
+
EmptyReports: /*#__PURE__*/React.createElement(EmptyReports, null),
|
|
84
|
+
EmptySearch: /*#__PURE__*/React.createElement(EmptySearch, null),
|
|
85
|
+
EmptyTag: /*#__PURE__*/React.createElement(EmptyTag, null),
|
|
86
|
+
EmptyTask: /*#__PURE__*/React.createElement(EmptyTask, null),
|
|
87
|
+
EmptyTicket: /*#__PURE__*/React.createElement(EmptyTicket, null),
|
|
88
|
+
EmptyHappiness: /*#__PURE__*/React.createElement(EmptyHappiness, null),
|
|
89
|
+
EmptyNotification: /*#__PURE__*/React.createElement(EmptyNotification, null),
|
|
90
|
+
EmptyTimeEntry: /*#__PURE__*/React.createElement(EmptyTimeEntry, null),
|
|
91
|
+
EmptyTeams: /*#__PURE__*/React.createElement(EmptyTeams, null),
|
|
92
|
+
EmptyTopic: /*#__PURE__*/React.createElement(EmptyTopic, null),
|
|
93
|
+
EmptySnippet: /*#__PURE__*/React.createElement(EmptySnippet, null),
|
|
94
|
+
EmptyFollowers: /*#__PURE__*/React.createElement(EmptyFollowers, null),
|
|
95
|
+
EmptyFeed: /*#__PURE__*/React.createElement(EmptyFeed, null),
|
|
96
|
+
EmptySchedule: /*#__PURE__*/React.createElement(EmptySchedule, null),
|
|
97
|
+
EmptyHistory: /*#__PURE__*/React.createElement(EmptyHistory, null),
|
|
98
|
+
EmptyTimeline: /*#__PURE__*/React.createElement(EmptyTimeline, null),
|
|
99
|
+
EmptyTemplate: /*#__PURE__*/React.createElement(EmptyTemplate, null),
|
|
100
|
+
EmptyBlueprint: /*#__PURE__*/React.createElement(EmptyBlueprint, null),
|
|
101
|
+
EmptyContract: /*#__PURE__*/React.createElement(EmptyContract, null),
|
|
102
|
+
EmptySla: /*#__PURE__*/React.createElement(EmptySla, null),
|
|
103
|
+
EmptyReply: /*#__PURE__*/React.createElement(EmptyReply, null),
|
|
104
|
+
EmptyAgentQueue: /*#__PURE__*/React.createElement(EmptyAgentQueue, null),
|
|
105
|
+
EmptySkills: /*#__PURE__*/React.createElement(EmptySkills, null),
|
|
106
|
+
EmptyDepartment: /*#__PURE__*/React.createElement(EmptyDepartment, null),
|
|
107
|
+
ZiaAnamoly: /*#__PURE__*/React.createElement(ZiaAnamoly, null),
|
|
108
|
+
Predictor: /*#__PURE__*/React.createElement(Predictor, null),
|
|
109
|
+
Extractor: /*#__PURE__*/React.createElement(Extractor, null),
|
|
110
|
+
Import: /*#__PURE__*/React.createElement(Import, null),
|
|
111
|
+
Export: /*#__PURE__*/React.createElement(Export, null),
|
|
112
|
+
Extensions: /*#__PURE__*/React.createElement(Extensions, null),
|
|
113
|
+
Multilingual: /*#__PURE__*/React.createElement(Multilingual, null),
|
|
114
|
+
EmptyDelete: /*#__PURE__*/React.createElement(EmptyDelete, null),
|
|
115
|
+
GCBot: /*#__PURE__*/React.createElement(GCBot, null),
|
|
116
|
+
GCConversation: /*#__PURE__*/React.createElement(GCConversation, null),
|
|
117
|
+
KBBot: /*#__PURE__*/React.createElement(KBBot, null),
|
|
118
|
+
NetworkError: /*#__PURE__*/React.createElement(NetworkError, null),
|
|
119
|
+
Variable: /*#__PURE__*/React.createElement(Variable, null),
|
|
120
|
+
ReadRecipients: /*#__PURE__*/React.createElement(ReadRecipients, null),
|
|
121
|
+
CustomModule: /*#__PURE__*/React.createElement(CustomModule, null),
|
|
122
|
+
EmptyFrame: /*#__PURE__*/React.createElement(EmptyFrame, null),
|
|
123
|
+
EmptyFrameDangerPalette: /*#__PURE__*/React.createElement(EmptyFrame, {
|
|
124
|
+
palette: "danger"
|
|
125
|
+
}),
|
|
126
|
+
EmptyError: /*#__PURE__*/React.createElement(EmptyError, null)
|
|
127
|
+
};
|
|
128
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
129
|
+
className: style.parent
|
|
130
|
+
}, Object.keys(allSvg).map(item => {
|
|
131
|
+
let filterDarkPalettes = item.endsWith('DarkPalette');
|
|
132
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
133
|
+
className: filterDarkPalettes ? style.darkPalette : style.defaultPalette
|
|
134
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
135
|
+
className: style.box
|
|
136
|
+
}, allSvg[item]), /*#__PURE__*/React.createElement("div", {
|
|
137
|
+
className: style.textStyle
|
|
138
|
+
}, item));
|
|
139
|
+
}));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (false) {
|
|
145
|
+
Emptystate__version3.docs = {
|
|
146
|
+
componentGroup: 'Emptystate'
|
|
147
|
+
};
|
|
148
|
+
}
|