@zohodesk/svg 1.0.0-temp.47 → 1.0.0-temp.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 +11 -0
- package/assets/Appearance/dark/mode/darkEmptyStates.module.css +22 -22
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +8 -8
- package/assets/Appearance/default/mode/defaultEmptyStates.module.css +22 -22
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css +22 -22
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +8 -8
- package/es/Loader/Loader.js +2 -5
- package/es/{svg → SVG}/SVG.js +0 -2
- package/es/{svg → SVG}/SVG.module.css +0 -0
- package/es/{svg → SVG}/SvgLoader.js +1 -4
- package/es/{svg → SVG}/props/defaultProps.js +0 -0
- package/es/{svg → SVG}/props/propTypes.js +0 -0
- package/es/emptystate/version1/EmptyCustomDomain.js +3 -5
- package/es/emptystate/version2/EmptyBusinessHoliday.js +3 -5
- package/es/emptystate/version2/EmptyBusinessHour.js +3 -5
- package/es/emptystate/version2/EmptyFromAddress.js +3 -5
- package/es/emptystate/version2/EmptyImportHistory.js +3 -5
- package/es/emptystate/version2/EmptyNetwork.js +3 -5
- package/es/emptystate/version2/EmptyRecycleBin.js +3 -5
- package/es/emptystate/version2/EmptyRoles.js +3 -5
- package/es/emptystate/version2/EmptyWebhook.js +3 -5
- package/es/emptystate/version2/FailureLog.js +3 -5
- package/es/emptystate/version3/AuditLog.js +78 -0
- package/es/emptystate/version3/Contract.js +90 -0
- package/es/emptystate/version3/CustomModule.js +3 -5
- package/es/emptystate/version3/EmptyAccounts.js +3 -5
- package/es/emptystate/version3/EmptyActiveCalls.js +3 -5
- package/es/emptystate/version3/EmptyActivity.js +3 -5
- package/es/emptystate/version3/EmptyAgent.js +3 -5
- package/es/emptystate/version3/EmptyAgentQueue.js +3 -5
- package/es/emptystate/version3/EmptyApplechat.js +72 -0
- package/es/emptystate/version3/EmptyApproval.js +3 -5
- package/es/emptystate/version3/EmptyArchived.js +3 -5
- package/es/emptystate/version3/EmptyArticle.js +73 -0
- package/es/emptystate/version3/EmptyAsapchat.js +67 -0
- package/es/emptystate/version3/EmptyAttach.js +3 -5
- package/es/emptystate/version3/EmptyBlueprint.js +3 -5
- package/es/emptystate/version3/EmptyCallHistory.js +3 -5
- package/es/emptystate/version3/EmptyCanned.js +77 -0
- package/es/emptystate/version3/EmptyChat.js +77 -0
- package/es/emptystate/version3/EmptyCollision.js +3 -5
- package/es/emptystate/version3/EmptyColumn.js +3 -5
- package/es/emptystate/version3/EmptyContact.js +3 -5
- package/es/emptystate/version3/EmptyContract.js +3 -5
- package/es/emptystate/version3/EmptyConversation.js +3 -5
- package/es/emptystate/version3/EmptyCrm.js +3 -5
- package/es/emptystate/version3/EmptyCrmNotes.js +3 -5
- package/es/emptystate/version3/EmptyCrmPotential.js +3 -5
- package/es/emptystate/version3/EmptyDashboard.js +3 -5
- package/es/emptystate/version3/EmptyDelete.js +3 -5
- package/es/emptystate/version3/EmptyDepartment.js +3 -5
- package/es/emptystate/version3/EmptyError.js +3 -5
- package/es/emptystate/version3/EmptyFeed.js +3 -5
- package/es/emptystate/version3/EmptyFollowers.js +3 -5
- package/es/emptystate/version3/EmptyFrame.js +3 -5
- package/es/emptystate/version3/EmptyHappiness.js +3 -5
- package/es/emptystate/version3/EmptyHistory.js +3 -5
- package/es/emptystate/version3/EmptyInstagram.js +73 -0
- package/es/emptystate/version3/EmptyInstantmessage.js +75 -0
- package/es/emptystate/version3/EmptyInvoice.js +3 -5
- package/es/emptystate/version3/EmptyLine.js +73 -0
- package/es/emptystate/version3/EmptyMessenger.js +60 -0
- package/es/emptystate/version3/EmptyNoData.js +78 -0
- package/es/emptystate/version3/EmptyNotification.js +3 -5
- package/es/emptystate/version3/EmptyPreference.js +79 -0
- package/es/emptystate/version3/EmptyProducts.js +3 -5
- package/es/emptystate/version3/EmptyReply.js +3 -5
- package/es/emptystate/version3/EmptyReports.js +3 -5
- package/es/emptystate/version3/EmptySandbox.js +70 -0
- package/es/emptystate/version3/EmptySchedule.js +3 -5
- package/es/emptystate/version3/EmptySearch.js +3 -5
- package/es/emptystate/version3/EmptySkills.js +3 -5
- package/es/emptystate/version3/EmptySla.js +3 -5
- package/es/emptystate/version3/EmptySnippet.js +3 -5
- package/es/emptystate/version3/EmptyTag.js +3 -5
- package/es/emptystate/version3/EmptyTask.js +3 -5
- package/es/emptystate/version3/EmptyTeams.js +3 -5
- package/es/emptystate/version3/EmptyTelegram.js +73 -0
- package/es/emptystate/version3/EmptyTemplate.js +3 -5
- package/es/emptystate/version3/EmptyTicket.js +3 -5
- package/es/emptystate/version3/EmptyTimeEntry.js +3 -5
- package/es/emptystate/version3/EmptyTimeline.js +3 -5
- package/es/emptystate/version3/EmptyTopic.js +3 -5
- package/es/emptystate/version3/EmptyTwilio.js +73 -0
- package/es/emptystate/version3/EmptyWechat.js +73 -0
- package/es/emptystate/version3/EmptyWhatsapp.js +73 -0
- package/es/emptystate/version3/Export.js +3 -5
- package/es/emptystate/version3/Extensions.js +3 -5
- package/es/emptystate/version3/Extractor.js +3 -5
- package/es/emptystate/version3/GCBot.js +3 -5
- package/es/emptystate/version3/GCConversation.js +3 -5
- package/es/emptystate/version3/Import.js +3 -5
- package/es/emptystate/version3/KBBot.js +3 -5
- package/es/emptystate/version3/Multilingual.js +3 -5
- package/es/emptystate/version3/NetworkError.js +3 -5
- package/es/emptystate/version3/Predictor.js +3 -5
- package/es/emptystate/version3/ReadRecipients.js +3 -5
- package/es/emptystate/version3/SupportPlan.js +75 -0
- package/es/emptystate/version3/Variable.js +3 -5
- package/es/emptystate/version3/ZiaAnamoly.js +3 -5
- package/es/errorstate/version1/EmptyInconvenience.js +3 -5
- package/es/errorstate/version1/NoRequestFound.js +3 -5
- package/es/errorstate/version1/PageNotFound.js +3 -5
- package/es/errorstate/version1/UnableToProcessRequest.js +3 -5
- package/es/errorstate/version1/UnauthorizedLogin.js +3 -5
- package/es/errorstate/version1/UrlNotFound.js +3 -5
- package/es/errorstate/version1/WillBeRightBack.js +3 -5
- package/es/errorstate/version2/EmptyUnauthorizedLogin.js +4 -7
- package/es/errorstate/version2/EmptyWillBeRightBack.js +3 -5
- package/es/errorstate/version2/NotImpossible.js +3 -5
- package/es/errorstate/version3/ErrorInconvenience.js +4 -7
- package/es/errorstate/version3/ErrorOopsSomethingMiss.js +4 -7
- package/es/errorstate/version3/ErrorUnableToProcessRequest.js +4 -7
- package/es/errorstate/version3/ErrorUnauthorizedLogin.js +4 -6
- package/es/errorstate/version3/ErrorUrlNotFound.js +4 -7
- package/es/errorstate/version3/ErrorWillBeRightBack.js +4 -6
- package/es/index.js +14 -12
- package/lib/Loader/Loader.js +2 -28
- package/lib/Loader/props/propTypes.js +0 -3
- package/lib/{svg → SVG}/SVG.js +12 -37
- package/lib/{svg → SVG}/SVG.module.css +0 -0
- package/lib/{svg → SVG}/SvgLoader.js +4 -20
- package/lib/{svg → SVG}/props/defaultProps.js +0 -0
- package/lib/{svg → SVG}/props/propTypes.js +0 -3
- package/lib/emptystate/props/propTypes.js +0 -3
- package/lib/emptystate/version1/EmptyCustomDomain.js +1 -30
- package/lib/emptystate/version2/EmptyBusinessHoliday.js +1 -30
- package/lib/emptystate/version2/EmptyBusinessHour.js +1 -30
- package/lib/emptystate/version2/EmptyFromAddress.js +1 -30
- package/lib/emptystate/version2/EmptyImportHistory.js +1 -30
- package/lib/emptystate/version2/EmptyNetwork.js +1 -30
- package/lib/emptystate/version2/EmptyRecycleBin.js +1 -30
- package/lib/emptystate/version2/EmptyRoles.js +1 -30
- package/lib/emptystate/version2/EmptyWebhook.js +1 -30
- package/lib/emptystate/version2/FailureLog.js +1 -30
- package/lib/emptystate/version3/AuditLog.js +109 -0
- package/lib/emptystate/version3/Contract.js +121 -0
- package/lib/emptystate/version3/CustomModule.js +1 -29
- package/lib/emptystate/version3/EmptyAccounts.js +1 -29
- package/lib/emptystate/version3/EmptyActiveCalls.js +1 -29
- package/lib/emptystate/version3/EmptyActivity.js +1 -29
- package/lib/emptystate/version3/EmptyAgent.js +1 -29
- package/lib/emptystate/version3/EmptyAgentQueue.js +1 -29
- package/lib/emptystate/version3/EmptyApplechat.js +103 -0
- package/lib/emptystate/version3/EmptyApproval.js +1 -29
- package/lib/emptystate/version3/EmptyArchived.js +1 -29
- package/lib/emptystate/version3/EmptyArticle.js +104 -0
- package/lib/emptystate/version3/EmptyAsapchat.js +98 -0
- package/lib/emptystate/version3/EmptyAttach.js +1 -29
- package/lib/emptystate/version3/EmptyBlueprint.js +1 -29
- package/lib/emptystate/version3/EmptyCallHistory.js +1 -29
- package/lib/emptystate/version3/EmptyCanned.js +108 -0
- package/lib/emptystate/version3/EmptyChat.js +108 -0
- package/lib/emptystate/version3/EmptyCollision.js +1 -29
- package/lib/emptystate/version3/EmptyColumn.js +1 -29
- package/lib/emptystate/version3/EmptyContact.js +1 -29
- package/lib/emptystate/version3/EmptyContract.js +1 -29
- package/lib/emptystate/version3/EmptyConversation.js +1 -29
- package/lib/emptystate/version3/EmptyCrm.js +1 -29
- package/lib/emptystate/version3/EmptyCrmNotes.js +1 -29
- package/lib/emptystate/version3/EmptyCrmPotential.js +1 -29
- package/lib/emptystate/version3/EmptyDashboard.js +1 -29
- package/lib/emptystate/version3/EmptyDelete.js +1 -29
- package/lib/emptystate/version3/EmptyDepartment.js +1 -29
- package/lib/emptystate/version3/EmptyError.js +1 -29
- package/lib/emptystate/version3/EmptyFeed.js +1 -29
- package/lib/emptystate/version3/EmptyFollowers.js +1 -29
- package/lib/emptystate/version3/EmptyFrame.js +1 -29
- package/lib/emptystate/version3/EmptyHappiness.js +1 -29
- package/lib/emptystate/version3/EmptyHistory.js +1 -29
- package/lib/emptystate/version3/EmptyInstagram.js +104 -0
- package/lib/emptystate/version3/EmptyInstantmessage.js +106 -0
- package/lib/emptystate/version3/EmptyInvoice.js +1 -29
- package/lib/emptystate/version3/EmptyLine.js +104 -0
- package/lib/emptystate/version3/EmptyMessenger.js +91 -0
- package/lib/emptystate/version3/EmptyNoData.js +109 -0
- package/lib/emptystate/version3/EmptyNotification.js +1 -29
- package/lib/emptystate/version3/EmptyPreference.js +110 -0
- package/lib/emptystate/version3/EmptyProducts.js +1 -29
- package/lib/emptystate/version3/EmptyReply.js +1 -29
- package/lib/emptystate/version3/EmptyReports.js +1 -29
- package/lib/emptystate/version3/EmptySandbox.js +101 -0
- package/lib/emptystate/version3/EmptySchedule.js +1 -29
- package/lib/emptystate/version3/EmptySearch.js +1 -29
- package/lib/emptystate/version3/EmptySkills.js +1 -29
- package/lib/emptystate/version3/EmptySla.js +1 -29
- package/lib/emptystate/version3/EmptySnippet.js +1 -29
- package/lib/emptystate/version3/EmptyTag.js +1 -29
- package/lib/emptystate/version3/EmptyTask.js +1 -29
- package/lib/emptystate/version3/EmptyTeams.js +1 -29
- package/lib/emptystate/version3/EmptyTelegram.js +104 -0
- package/lib/emptystate/version3/EmptyTemplate.js +1 -29
- package/lib/emptystate/version3/EmptyTicket.js +1 -29
- package/lib/emptystate/version3/EmptyTimeEntry.js +1 -29
- package/lib/emptystate/version3/EmptyTimeline.js +1 -29
- package/lib/emptystate/version3/EmptyTopic.js +1 -29
- package/lib/emptystate/version3/EmptyTwilio.js +104 -0
- package/lib/emptystate/version3/EmptyWechat.js +104 -0
- package/lib/emptystate/version3/EmptyWhatsapp.js +104 -0
- package/lib/emptystate/version3/Export.js +1 -29
- package/lib/emptystate/version3/Extensions.js +1 -29
- package/lib/emptystate/version3/Extractor.js +1 -29
- package/lib/emptystate/version3/GCBot.js +1 -29
- package/lib/emptystate/version3/GCConversation.js +1 -29
- package/lib/emptystate/version3/Import.js +1 -29
- package/lib/emptystate/version3/KBBot.js +1 -29
- package/lib/emptystate/version3/Multilingual.js +1 -29
- package/lib/emptystate/version3/NetworkError.js +1 -29
- package/lib/emptystate/version3/Predictor.js +1 -29
- package/lib/emptystate/version3/ReadRecipients.js +1 -29
- package/lib/emptystate/version3/SupportPlan.js +106 -0
- package/lib/emptystate/version3/Variable.js +1 -29
- package/lib/emptystate/version3/ZiaAnamoly.js +1 -29
- package/lib/errorstate/props/propTypes.js +0 -3
- package/lib/errorstate/version1/EmptyInconvenience.js +1 -30
- package/lib/errorstate/version1/NoRequestFound.js +1 -30
- package/lib/errorstate/version1/PageNotFound.js +1 -30
- package/lib/errorstate/version1/UnableToProcessRequest.js +1 -30
- package/lib/errorstate/version1/UnauthorizedLogin.js +1 -30
- package/lib/errorstate/version1/UrlNotFound.js +1 -30
- package/lib/errorstate/version1/WillBeRightBack.js +1 -30
- package/lib/errorstate/version2/EmptyUnauthorizedLogin.js +2 -31
- package/lib/errorstate/version2/EmptyWillBeRightBack.js +1 -29
- package/lib/errorstate/version2/NotImpossible.js +1 -29
- package/lib/errorstate/version3/ErrorInconvenience.js +2 -31
- package/lib/errorstate/version3/ErrorOopsSomethingMiss.js +2 -31
- package/lib/errorstate/version3/ErrorUnableToProcessRequest.js +2 -31
- package/lib/errorstate/version3/ErrorUnauthorizedLogin.js +2 -30
- package/lib/errorstate/version3/ErrorUrlNotFound.js +2 -31
- package/lib/errorstate/version3/ErrorWillBeRightBack.js +2 -30
- package/lib/index.js +15 -97
- package/package.json +18 -18
- package/assets/Appearance/dark/mode/contrast/darkContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/mode/contrast/defaultContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/mode/contrast/pureDarkContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css +0 -10
- package/es/Provider.js +0 -120
- package/es/docs/Emptystate__version1.docs.js +0 -29
- package/es/docs/Emptystate__version2.docs.js +0 -45
- package/es/docs/Emptystate__version3.docs.js +0 -148
- package/es/docs/Errorstate__version1.docs.js +0 -41
- package/es/docs/Errorstate__version2.docs.js +0 -33
- package/es/docs/Errorstate__version3.docs.js +0 -39
- package/es/docs/SVG__common.docs.js +0 -29
- package/es/docs/SVGdocstyle.module.css +0 -74
- package/lib/Provider.js +0 -222
- package/lib/docs/Emptystate__version1.docs.js +0 -79
- package/lib/docs/Emptystate__version2.docs.js +0 -103
- package/lib/docs/Emptystate__version3.docs.js +0 -256
- package/lib/docs/Errorstate__version1.docs.js +0 -97
- package/lib/docs/Errorstate__version2.docs.js +0 -85
- package/lib/docs/Errorstate__version3.docs.js +0 -94
- package/lib/docs/SVG__common.docs.js +0 -79
- package/lib/docs/SVGdocstyle.module.css +0 -74
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ErrorInconvenience from '../errorstate/version3/ErrorInconvenience';
|
|
3
|
-
import ErrorOopsSomethingMiss from '../errorstate/version3/ErrorOopsSomethingMiss';
|
|
4
|
-
import ErrorUnableToProcessRequest from '../errorstate/version3/ErrorUnableToProcessRequest';
|
|
5
|
-
import ErrorUnauthorizedLogin from '../errorstate/version3/ErrorUnauthorizedLogin';
|
|
6
|
-
import ErrorUrlNotFound from '../errorstate/version3/ErrorUrlNotFound';
|
|
7
|
-
import ErrorWillBeRightBack from '../errorstate/version3/ErrorWillBeRightBack';
|
|
8
|
-
import style from './SVGdocstyle.module.css';
|
|
9
|
-
export default class Errorstate__version3 extends React.Component {
|
|
10
|
-
render() {
|
|
11
|
-
let allSvg = {
|
|
12
|
-
Inconvenience: /*#__PURE__*/React.createElement(ErrorInconvenience, null),
|
|
13
|
-
OopsSomethingMiss: /*#__PURE__*/React.createElement(ErrorOopsSomethingMiss, null),
|
|
14
|
-
UnableToProcessRequest: /*#__PURE__*/React.createElement(ErrorUnableToProcessRequest, null),
|
|
15
|
-
UnathorizedLogin: /*#__PURE__*/React.createElement(ErrorUnauthorizedLogin, null),
|
|
16
|
-
UrlNotFound: /*#__PURE__*/React.createElement(ErrorUrlNotFound, null),
|
|
17
|
-
WillBeRightBack: /*#__PURE__*/React.createElement(ErrorWillBeRightBack, null)
|
|
18
|
-
};
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: style.parent
|
|
21
|
-
}, Object.keys(allSvg).map(item => {
|
|
22
|
-
let filterDarkPalettes = item.endsWith('DarkPalette');
|
|
23
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
24
|
-
className: filterDarkPalettes ? style.darkPalette : style.defaultPalette
|
|
25
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
26
|
-
className: style.box
|
|
27
|
-
}, allSvg[item]), /*#__PURE__*/React.createElement("div", {
|
|
28
|
-
className: style.textStyle
|
|
29
|
-
}, item));
|
|
30
|
-
}));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
if (false) {
|
|
36
|
-
Errorstate__version3.docs = {
|
|
37
|
-
componentGroup: 'Errorstate'
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Loader from '../Loader/Loader';
|
|
3
|
-
import style from './SVGdocstyle.module.css';
|
|
4
|
-
export default class SVG__common extends React.Component {
|
|
5
|
-
render() {
|
|
6
|
-
let allSvg = {
|
|
7
|
-
Loader: /*#__PURE__*/React.createElement(Loader, 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
|
-
SVG__common.docs = {
|
|
27
|
-
componentGroup: 'Svg'
|
|
28
|
-
};
|
|
29
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
[data-mode='default'] {
|
|
2
|
-
background: #fff;
|
|
3
|
-
color: #000;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
[data-mode='dark'] {
|
|
7
|
-
background: #232b38;
|
|
8
|
-
color: #e2e4e6;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
[data-mode='pureDark'] {
|
|
12
|
-
background: #212121;
|
|
13
|
-
color: #e2e4e6;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[data-mode='default']:global(.contrast) {
|
|
17
|
-
background: #fff;
|
|
18
|
-
color: #000;
|
|
19
|
-
border-color: #000;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
[data-mode='dark']:global(.contrast) {
|
|
23
|
-
background-color: #101319;
|
|
24
|
-
color: #fff;
|
|
25
|
-
border-color: #fff;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
[data-mode='pureDark']:global(.contrast) {
|
|
29
|
-
background-color: #080808;
|
|
30
|
-
color: #fff;
|
|
31
|
-
border-color: #fff;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.parent {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
flex-wrap: wrap;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.box {
|
|
43
|
-
height: 200px;
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.defaultPalette {
|
|
50
|
-
border: 1px solid #dcdcdc;
|
|
51
|
-
padding: 5px;
|
|
52
|
-
margin: 5px;
|
|
53
|
-
width: 24%;
|
|
54
|
-
justify-content: space-between
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.darkPalette {
|
|
58
|
-
background-color: #2c334d;
|
|
59
|
-
min-width: 45%;
|
|
60
|
-
border: 1px solid #dcdcdc;
|
|
61
|
-
padding: 5px;
|
|
62
|
-
margin: 5px;
|
|
63
|
-
flex: 1;
|
|
64
|
-
max-width: 25%;
|
|
65
|
-
justify-content: space-between
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.textStyle {
|
|
69
|
-
text-align: center;
|
|
70
|
-
padding: 10px 0;
|
|
71
|
-
background: #f9f9f9;
|
|
72
|
-
margin-top: 10px;
|
|
73
|
-
color: #000
|
|
74
|
-
}
|
package/lib/Provider.js
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _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 _ThemeTool = _interopRequireDefault(require("../../common/lib/ThemeTool/ThemeTool"));
|
|
17
|
-
|
|
18
|
-
require("@zohodesk/components/assets/Appearance/default/mode/defaultMode.module.css");
|
|
19
|
-
|
|
20
|
-
require("@zohodesk/components/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
|
|
21
|
-
|
|
22
|
-
require("@zohodesk/components/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
|
|
23
|
-
|
|
24
|
-
require("@zohodesk/components/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css");
|
|
25
|
-
|
|
26
|
-
require("@zohodesk/components/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css");
|
|
27
|
-
|
|
28
|
-
require("@zohodesk/components/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css");
|
|
29
|
-
|
|
30
|
-
require("@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css");
|
|
31
|
-
|
|
32
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css");
|
|
33
|
-
|
|
34
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css");
|
|
35
|
-
|
|
36
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css");
|
|
37
|
-
|
|
38
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css");
|
|
39
|
-
|
|
40
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css");
|
|
41
|
-
|
|
42
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css");
|
|
43
|
-
|
|
44
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css");
|
|
45
|
-
|
|
46
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css");
|
|
47
|
-
|
|
48
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css");
|
|
49
|
-
|
|
50
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css");
|
|
51
|
-
|
|
52
|
-
require("@zohodesk/components/assets/Appearance/pureDark/mode/pureDarkMode.module.css");
|
|
53
|
-
|
|
54
|
-
require("../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
|
|
55
|
-
|
|
56
|
-
require("../assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css");
|
|
57
|
-
|
|
58
|
-
require("../assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
|
|
59
|
-
|
|
60
|
-
require("../assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css");
|
|
61
|
-
|
|
62
|
-
require("../assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css");
|
|
63
|
-
|
|
64
|
-
require("../assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css");
|
|
65
|
-
|
|
66
|
-
require("../assets/Appearance/default/themes/red/redDefaultCTATheme.module.css");
|
|
67
|
-
|
|
68
|
-
require("../assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css");
|
|
69
|
-
|
|
70
|
-
require("../assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css");
|
|
71
|
-
|
|
72
|
-
require("../assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css");
|
|
73
|
-
|
|
74
|
-
require("../assets/Appearance/default/mode/defaultEmptyStates.module.css");
|
|
75
|
-
|
|
76
|
-
require("../assets/Appearance/default/mode/contrast/defaultContrastEmptyStates.module.css");
|
|
77
|
-
|
|
78
|
-
require("../assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css");
|
|
79
|
-
|
|
80
|
-
require("../assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css");
|
|
81
|
-
|
|
82
|
-
require("../assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css");
|
|
83
|
-
|
|
84
|
-
require("../assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css");
|
|
85
|
-
|
|
86
|
-
require("../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css");
|
|
87
|
-
|
|
88
|
-
require("../assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css");
|
|
89
|
-
|
|
90
|
-
require("../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css");
|
|
91
|
-
|
|
92
|
-
require("../assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css");
|
|
93
|
-
|
|
94
|
-
require("../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css");
|
|
95
|
-
|
|
96
|
-
require("../assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css");
|
|
97
|
-
|
|
98
|
-
require("../assets/Appearance/dark/mode/darkEmptyStates.module.css");
|
|
99
|
-
|
|
100
|
-
require("../assets/Appearance/dark/mode/contrast/darkContrastEmptyStates.module.css");
|
|
101
|
-
|
|
102
|
-
require("../assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css");
|
|
103
|
-
|
|
104
|
-
require("../assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css");
|
|
105
|
-
|
|
106
|
-
require("../assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css");
|
|
107
|
-
|
|
108
|
-
require("../assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css");
|
|
109
|
-
|
|
110
|
-
require("../assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css");
|
|
111
|
-
|
|
112
|
-
require("../assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css");
|
|
113
|
-
|
|
114
|
-
require("../assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css");
|
|
115
|
-
|
|
116
|
-
require("../assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css");
|
|
117
|
-
|
|
118
|
-
require("../assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css");
|
|
119
|
-
|
|
120
|
-
require("../assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css");
|
|
121
|
-
|
|
122
|
-
require("../assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css");
|
|
123
|
-
|
|
124
|
-
require("../assets/Appearance/pureDark/mode/contrast/pureDarkContrastEmptyStates.module.css");
|
|
125
|
-
|
|
126
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
127
|
-
|
|
128
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
129
|
-
|
|
130
|
-
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); } }
|
|
131
|
-
|
|
132
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
133
|
-
|
|
134
|
-
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
135
|
-
|
|
136
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
137
|
-
|
|
138
|
-
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); }; }
|
|
139
|
-
|
|
140
|
-
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); }
|
|
141
|
-
|
|
142
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
143
|
-
|
|
144
|
-
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; } }
|
|
145
|
-
|
|
146
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
147
|
-
|
|
148
|
-
var Provider = /*#__PURE__*/function (_React$Component) {
|
|
149
|
-
_inherits(Provider, _React$Component);
|
|
150
|
-
|
|
151
|
-
var _super = _createSuper(Provider);
|
|
152
|
-
|
|
153
|
-
function Provider(props) {
|
|
154
|
-
var _this;
|
|
155
|
-
|
|
156
|
-
_classCallCheck(this, Provider);
|
|
157
|
-
|
|
158
|
-
_this = _super.call(this, props);
|
|
159
|
-
_this.state = {
|
|
160
|
-
appearanceName: 'default',
|
|
161
|
-
themeName: 'blue',
|
|
162
|
-
isContrastChecked: false
|
|
163
|
-
};
|
|
164
|
-
_this.setTheme = _this.setTheme.bind(_assertThisInitialized(_this));
|
|
165
|
-
_this.setAppearance = _this.setAppearance.bind(_assertThisInitialized(_this));
|
|
166
|
-
_this.setContrast = _this.setContrast.bind(_assertThisInitialized(_this));
|
|
167
|
-
return _this;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
_createClass(Provider, [{
|
|
171
|
-
key: "setAppearance",
|
|
172
|
-
value: function setAppearance(mode) {
|
|
173
|
-
this.setState({
|
|
174
|
-
appearanceName: mode
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
}, {
|
|
178
|
-
key: "setTheme",
|
|
179
|
-
value: function setTheme(theme) {
|
|
180
|
-
this.setState({
|
|
181
|
-
themeName: theme
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
}, {
|
|
185
|
-
key: "setContrast",
|
|
186
|
-
value: function setContrast() {
|
|
187
|
-
this.setState(function (prevState) {
|
|
188
|
-
return {
|
|
189
|
-
isContrastChecked: !prevState.isContrastChecked
|
|
190
|
-
};
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
}, {
|
|
194
|
-
key: "render",
|
|
195
|
-
value: function render() {
|
|
196
|
-
var _this$state = this.state,
|
|
197
|
-
appearanceName = _this$state.appearanceName,
|
|
198
|
-
themeName = _this$state.themeName,
|
|
199
|
-
isContrastChecked = _this$state.isContrastChecked;
|
|
200
|
-
return /*#__PURE__*/_react["default"].createElement(_AppContainer["default"], {
|
|
201
|
-
customProps: {
|
|
202
|
-
ExtraProps: {
|
|
203
|
-
'data-mode': appearanceName,
|
|
204
|
-
'data-theme': themeName
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
className: isContrastChecked ? 'contrast' : ''
|
|
208
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
209
|
-
scroll: "vertical"
|
|
210
|
-
}, this.props.children), /*#__PURE__*/_react["default"].createElement(_ThemeTool["default"], {
|
|
211
|
-
onThemeChange: this.setTheme,
|
|
212
|
-
onAppearanceChange: this.setAppearance,
|
|
213
|
-
onContrastChange: this.setContrast,
|
|
214
|
-
isChecked: isContrastChecked
|
|
215
|
-
}));
|
|
216
|
-
}
|
|
217
|
-
}]);
|
|
218
|
-
|
|
219
|
-
return Provider;
|
|
220
|
-
}(_react["default"].Component);
|
|
221
|
-
|
|
222
|
-
exports["default"] = Provider;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _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 _EmptyCustomDomain = _interopRequireDefault(require("../emptystate/version1/EmptyCustomDomain"));
|
|
13
|
-
|
|
14
|
-
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
-
|
|
20
|
-
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); } }
|
|
21
|
-
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
|
-
|
|
24
|
-
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
|
-
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
|
-
|
|
28
|
-
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); }; }
|
|
29
|
-
|
|
30
|
-
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); }
|
|
31
|
-
|
|
32
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
|
-
|
|
34
|
-
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; } }
|
|
35
|
-
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
|
-
|
|
38
|
-
var Emptystate__version1 = /*#__PURE__*/function (_React$Component) {
|
|
39
|
-
_inherits(Emptystate__version1, _React$Component);
|
|
40
|
-
|
|
41
|
-
var _super = _createSuper(Emptystate__version1);
|
|
42
|
-
|
|
43
|
-
function Emptystate__version1() {
|
|
44
|
-
_classCallCheck(this, Emptystate__version1);
|
|
45
|
-
|
|
46
|
-
return _super.apply(this, arguments);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
_createClass(Emptystate__version1, [{
|
|
50
|
-
key: "render",
|
|
51
|
-
value: function render() {
|
|
52
|
-
var allSvg = {
|
|
53
|
-
EmptyCustomDomain: /*#__PURE__*/_react["default"].createElement(_EmptyCustomDomain["default"], null)
|
|
54
|
-
};
|
|
55
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
-
className: _SVGdocstyleModule["default"].parent
|
|
57
|
-
}, Object.keys(allSvg).map(function (item) {
|
|
58
|
-
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
59
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
-
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
61
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
-
className: _SVGdocstyleModule["default"].box
|
|
63
|
-
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
-
className: _SVGdocstyleModule["default"].textStyle
|
|
65
|
-
}, item));
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
}]);
|
|
69
|
-
|
|
70
|
-
return Emptystate__version1;
|
|
71
|
-
}(_react["default"].Component);
|
|
72
|
-
|
|
73
|
-
exports["default"] = Emptystate__version1;
|
|
74
|
-
|
|
75
|
-
if (false) {
|
|
76
|
-
Emptystate__version1.docs = {
|
|
77
|
-
componentGroup: 'Emptystate'
|
|
78
|
-
};
|
|
79
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _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 _EmptyBusinessHoliday = _interopRequireDefault(require("../emptystate/version2/EmptyBusinessHoliday"));
|
|
13
|
-
|
|
14
|
-
var _EmptyBusinessHour = _interopRequireDefault(require("../emptystate/version2/EmptyBusinessHour"));
|
|
15
|
-
|
|
16
|
-
var _EmptyImportHistory = _interopRequireDefault(require("../emptystate/version2/EmptyImportHistory"));
|
|
17
|
-
|
|
18
|
-
var _EmptyRecycleBin = _interopRequireDefault(require("../emptystate/version2/EmptyRecycleBin"));
|
|
19
|
-
|
|
20
|
-
var _EmptyRoles = _interopRequireDefault(require("../emptystate/version2/EmptyRoles"));
|
|
21
|
-
|
|
22
|
-
var _EmptyNetwork = _interopRequireDefault(require("../emptystate/version2/EmptyNetwork"));
|
|
23
|
-
|
|
24
|
-
var _FailureLog = _interopRequireDefault(require("../emptystate/version2/FailureLog"));
|
|
25
|
-
|
|
26
|
-
var _EmptyFromAddress = _interopRequireDefault(require("../emptystate/version2/EmptyFromAddress"));
|
|
27
|
-
|
|
28
|
-
var _EmptyWebhook = _interopRequireDefault(require("../emptystate/version2/EmptyWebhook"));
|
|
29
|
-
|
|
30
|
-
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
31
|
-
|
|
32
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
33
|
-
|
|
34
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
35
|
-
|
|
36
|
-
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); } }
|
|
37
|
-
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
39
|
-
|
|
40
|
-
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
|
-
|
|
42
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
|
-
|
|
44
|
-
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); }; }
|
|
45
|
-
|
|
46
|
-
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); }
|
|
47
|
-
|
|
48
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
49
|
-
|
|
50
|
-
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; } }
|
|
51
|
-
|
|
52
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
|
-
|
|
54
|
-
var Emptystate__version2 = /*#__PURE__*/function (_React$Component) {
|
|
55
|
-
_inherits(Emptystate__version2, _React$Component);
|
|
56
|
-
|
|
57
|
-
var _super = _createSuper(Emptystate__version2);
|
|
58
|
-
|
|
59
|
-
function Emptystate__version2() {
|
|
60
|
-
_classCallCheck(this, Emptystate__version2);
|
|
61
|
-
|
|
62
|
-
return _super.apply(this, arguments);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
_createClass(Emptystate__version2, [{
|
|
66
|
-
key: "render",
|
|
67
|
-
value: function render() {
|
|
68
|
-
var allSvg = {
|
|
69
|
-
EmptyBusinessHoliday: /*#__PURE__*/_react["default"].createElement(_EmptyBusinessHoliday["default"], null),
|
|
70
|
-
EmptyBusinessHour: /*#__PURE__*/_react["default"].createElement(_EmptyBusinessHour["default"], null),
|
|
71
|
-
EmptyImportHistory: /*#__PURE__*/_react["default"].createElement(_EmptyImportHistory["default"], null),
|
|
72
|
-
EmptyRecycleBin: /*#__PURE__*/_react["default"].createElement(_EmptyRecycleBin["default"], null),
|
|
73
|
-
EmptyRoles: /*#__PURE__*/_react["default"].createElement(_EmptyRoles["default"], null),
|
|
74
|
-
EmptyNetwork: /*#__PURE__*/_react["default"].createElement(_EmptyNetwork["default"], null),
|
|
75
|
-
FailureLog: /*#__PURE__*/_react["default"].createElement(_FailureLog["default"], null),
|
|
76
|
-
EmptyFromAddress: /*#__PURE__*/_react["default"].createElement(_EmptyFromAddress["default"], null),
|
|
77
|
-
EmptyWebhook: /*#__PURE__*/_react["default"].createElement(_EmptyWebhook["default"], null)
|
|
78
|
-
};
|
|
79
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
80
|
-
className: _SVGdocstyleModule["default"].parent
|
|
81
|
-
}, Object.keys(allSvg).map(function (item) {
|
|
82
|
-
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
83
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
84
|
-
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
85
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
86
|
-
className: _SVGdocstyleModule["default"].box
|
|
87
|
-
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
88
|
-
className: _SVGdocstyleModule["default"].textStyle
|
|
89
|
-
}, item));
|
|
90
|
-
}));
|
|
91
|
-
}
|
|
92
|
-
}]);
|
|
93
|
-
|
|
94
|
-
return Emptystate__version2;
|
|
95
|
-
}(_react["default"].Component);
|
|
96
|
-
|
|
97
|
-
exports["default"] = Emptystate__version2;
|
|
98
|
-
|
|
99
|
-
if (false) {
|
|
100
|
-
Emptystate__version2.docs = {
|
|
101
|
-
componentGroup: 'Emptystate'
|
|
102
|
-
};
|
|
103
|
-
}
|