@zohodesk/dot 1.0.0-temp-195.3 → 1.0.0-temp-198.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/UnValidatedFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/DotProvider/DotProvider.js +60 -0
- package/es/DotProvider/hooks/useDotProvider.js +55 -0
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +97 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +3 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +1 -0
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +1 -0
- package/es/DotProvider/props/defaultProps.js +11 -0
- package/es/DotProvider/props/propTypes.js +16 -0
- package/es/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +4 -0
- package/es/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +28 -0
- package/es/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +29 -0
- package/es/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +4 -0
- package/es/DotProvider/utils/constants.js +14 -0
- package/es/DotProvider/utils/errorValidation.js +17 -0
- package/es/DotProvider/utils/getAssetsImportPromises.js +17 -0
- package/es/DotProvider/utils/sizeAssetsConfig.js +12 -0
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +47 -0
- package/es/DotProvider/utils/themeColorAssetsConfig.js +221 -0
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +96 -0
- package/es/ImportantNotes/__tests__/__snapshots__/ImportantNotes.spec.js.snap +333 -0
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/Upload/__tests__/Upload.spec.js +140 -0
- package/es/Upload/__tests__/__snapshots__/Upload.spec.js.snap +459 -0
- package/es/Upload/props/propTypes.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/common/dot_boxShadow.module.css +0 -2
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/DotProvider/DotProvider.js +88 -0
- package/lib/DotProvider/hooks/useDotProvider.js +83 -0
- package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +119 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +7 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +3 -0
- package/lib/DotProvider/props/defaultProps.js +20 -0
- package/lib/DotProvider/props/propTypes.js +28 -0
- package/lib/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +12 -0
- package/lib/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +39 -0
- package/lib/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +40 -0
- package/lib/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +12 -0
- package/lib/DotProvider/utils/constants.js +34 -0
- package/lib/DotProvider/utils/errorValidation.js +25 -0
- package/lib/DotProvider/utils/getAssetsImportPromises.js +22 -0
- package/lib/DotProvider/utils/sizeAssetsConfig.js +31 -0
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +69 -0
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +249 -0
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/ImportantNotes/__tests__/ImportantNotes.spec.js +96 -0
- package/lib/ImportantNotes/__tests__/__snapshots__/ImportantNotes.spec.js.snap +333 -0
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/Upload/__tests__/Upload.spec.js +140 -0
- package/lib/Upload/__tests__/__snapshots__/Upload.spec.js.snap +459 -0
- package/lib/Upload/props/propTypes.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +0 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +4 -4
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css';
|
|
3
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./../../../../../../assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/blue/blue_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/blue/blue_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/blue/blue_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/green/green_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/green/green_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/green/green_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/orange/orange_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/orange/orange_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/orange/orange_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/red/red_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/red/red_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/red/red_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/yellow/yellow_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/yellow/yellow_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/yellow/yellow_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { THEME_APPEARANCE_LIGHT, THEME_COLOR_BLUE } from "../utils/constants";
|
|
2
|
+
export const defaultProps = {
|
|
3
|
+
themeAppearance: THEME_APPEARANCE_LIGHT,
|
|
4
|
+
themeColor: THEME_COLOR_BLUE,
|
|
5
|
+
baseZoomUnit: '1px',
|
|
6
|
+
baseFontUnit: '16px',
|
|
7
|
+
zoomUnitVariable: '--zd_baseUnit',
|
|
8
|
+
fontUnitVariable: '--zd_baseFontUnit',
|
|
9
|
+
themeAppearanceAttr: 'data-mode',
|
|
10
|
+
themeColorAttr: 'data-theme'
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { THEME_APPEARANCES, THEME_COLORS } from "../utils/constants";
|
|
3
|
+
export const propTypes = {
|
|
4
|
+
themeAppearance: PropTypes.oneOf(THEME_APPEARANCES),
|
|
5
|
+
themeColor: PropTypes.oneOf(THEME_COLORS),
|
|
6
|
+
baseZoomUnit: PropTypes.string,
|
|
7
|
+
baseFontUnit: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
8
|
+
zoomUnitVariable: PropTypes.string,
|
|
9
|
+
fontUnitVariable: PropTypes.string,
|
|
10
|
+
themeAppearanceAttr: PropTypes.string,
|
|
11
|
+
themeColorAttr: PropTypes.string,
|
|
12
|
+
providerRef: PropTypes.func,
|
|
13
|
+
onAssetsDownloadSuccess: PropTypes.func,
|
|
14
|
+
getAssetsPromises: PropTypes.func,
|
|
15
|
+
children: PropTypes.node
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { getAssetsImportPromises } from "../getAssetsImportPromises";
|
|
2
|
+
import { themeAppearanceImports, themeAppearanceMapping } from "../themeAppearanceAssetsConfig";
|
|
3
|
+
import { validateAndLogError } from "../errorValidation";
|
|
4
|
+
import { LIBRARIES, THEME_APPEARANCES } from "../constants";
|
|
5
|
+
export function getThemeAppearanceAssetPromise(_ref) {
|
|
6
|
+
let {
|
|
7
|
+
themeAppearance
|
|
8
|
+
} = _ref;
|
|
9
|
+
const isError = validateAndLogError({
|
|
10
|
+
options: THEME_APPEARANCES,
|
|
11
|
+
value: themeAppearance,
|
|
12
|
+
type: 'themeAppearance'
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
if (!isError) {
|
|
16
|
+
const assetImportKeys = [];
|
|
17
|
+
LIBRARIES.map(library => {
|
|
18
|
+
const assetImportKey = themeAppearanceMapping[library][themeAppearance];
|
|
19
|
+
assetImportKeys.push(assetImportKey);
|
|
20
|
+
});
|
|
21
|
+
return getAssetsImportPromises({
|
|
22
|
+
assetImportKeys: assetImportKeys,
|
|
23
|
+
assetImports: themeAppearanceImports
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { getAssetsImportPromises } from "../getAssetsImportPromises";
|
|
2
|
+
import { themeColorImports, themeColorMapping } from "../themeColorAssetsConfig";
|
|
3
|
+
import { validateAndLogError } from "../errorValidation";
|
|
4
|
+
import { LIBRARIES, THEME_COLORS } from "../constants";
|
|
5
|
+
export function getThemeColorAssetPromise(_ref) {
|
|
6
|
+
let {
|
|
7
|
+
themeAppearance,
|
|
8
|
+
themeColor
|
|
9
|
+
} = _ref;
|
|
10
|
+
const isError = validateAndLogError({
|
|
11
|
+
options: THEME_COLORS,
|
|
12
|
+
value: themeColor,
|
|
13
|
+
type: 'themeColor'
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
if (!isError) {
|
|
17
|
+
const assetImportKeys = [];
|
|
18
|
+
LIBRARIES.map(library => {
|
|
19
|
+
const assetImportKey = themeColorMapping[library][themeColor][themeAppearance];
|
|
20
|
+
assetImportKeys.push(assetImportKey);
|
|
21
|
+
});
|
|
22
|
+
return getAssetsImportPromises({
|
|
23
|
+
assetImportKeys: assetImportKeys,
|
|
24
|
+
assetImports: themeColorImports
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return [];
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const LIBRARY_COMPONENT = 'component';
|
|
2
|
+
export const LIBRARY_DOT = 'dot';
|
|
3
|
+
export const LIBRARY_SVG = 'svg';
|
|
4
|
+
export const THEME_APPEARANCE_LIGHT = 'light';
|
|
5
|
+
export const THEME_APPEARANCE_DARK = 'dark';
|
|
6
|
+
export const THEME_APPEARANCE_PURE_DARK = 'pureDark';
|
|
7
|
+
export const THEME_COLOR_BLUE = 'blue';
|
|
8
|
+
export const THEME_COLOR_GREEN = 'green';
|
|
9
|
+
export const THEME_COLOR_ORANGE = 'orange';
|
|
10
|
+
export const THEME_COLOR_RED = 'red';
|
|
11
|
+
export const THEME_COLOR_YELLOW = 'yellow';
|
|
12
|
+
export const LIBRARIES = [LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG];
|
|
13
|
+
export const THEME_APPEARANCES = [THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_DARK, THEME_APPEARANCE_PURE_DARK];
|
|
14
|
+
export const THEME_COLORS = [THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { THEME_APPEARANCES, THEME_COLORS } from "./constants";
|
|
2
|
+
export function validateAndLogError(_ref) {
|
|
3
|
+
let {
|
|
4
|
+
options,
|
|
5
|
+
value,
|
|
6
|
+
type
|
|
7
|
+
} = _ref;
|
|
8
|
+
let isError = !options.includes(value);
|
|
9
|
+
|
|
10
|
+
if (isError) {
|
|
11
|
+
const themeAppearances = THEME_APPEARANCES.toString();
|
|
12
|
+
const themeColors = THEME_COLORS.toString();
|
|
13
|
+
console.error(`We do not support the '${value} ${type}'. Please provide valid '${type}' values or check spelling. DotProvider supports ${themeAppearances} appearance & ${themeColors} theme.`);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return isError;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function getAssetsImportPromises(_ref) {
|
|
2
|
+
let {
|
|
3
|
+
assetImportKeys,
|
|
4
|
+
assetImports
|
|
5
|
+
} = _ref;
|
|
6
|
+
const promises = [];
|
|
7
|
+
assetImportKeys.forEach(importKey => {
|
|
8
|
+
const assetURL = assetImports[importKey];
|
|
9
|
+
|
|
10
|
+
if (assetURL) {
|
|
11
|
+
promises.push(assetURL());
|
|
12
|
+
} else {
|
|
13
|
+
console.error(`Import not found for ${importKey} from ${assetImports}`);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
return promises;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const sizeImports = {
|
|
2
|
+
Lib_ZoomSize: () => import(
|
|
3
|
+
/* webpackChunkName: 'Lib_ZoomSize' */
|
|
4
|
+
'@zohodesk/variables/assets/sizeVariables.module.css'),
|
|
5
|
+
Lib_FontSize: () => import(
|
|
6
|
+
/* webpackChunkName: 'Lib_FontSize' */
|
|
7
|
+
'@zohodesk/variables/assets/fontsizeVariables.module.css')
|
|
8
|
+
};
|
|
9
|
+
export const sizeMapping = {
|
|
10
|
+
zoomSize: 'Lib_ZoomSize',
|
|
11
|
+
fontSize: 'Lib_FontSize'
|
|
12
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from "./constants";
|
|
2
|
+
export const themeAppearanceImports = {
|
|
3
|
+
Lib_LightMode_Component: () => import(
|
|
4
|
+
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
5
|
+
'@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css'),
|
|
6
|
+
Lib_DarkMode_Component: () => import(
|
|
7
|
+
/* webpackChunkName: 'Lib_DarkMode_Component' */
|
|
8
|
+
'@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css'),
|
|
9
|
+
Lib_PureDarkMode_Component: () => import(
|
|
10
|
+
/* webpackChunkName: 'Lib_PureDarkMode_Component' */
|
|
11
|
+
'@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css'),
|
|
12
|
+
Lib_LightMode_Dot: () => import(
|
|
13
|
+
/* webpackChunkName: 'Lib_LightMode_Dot' */
|
|
14
|
+
"./../../../assets/Appearance/light/mode/Dot_LightMode.module.css"),
|
|
15
|
+
Lib_DarkMode_Dot: () => import(
|
|
16
|
+
/* webpackChunkName: 'Lib_DarkMode_Dot' */
|
|
17
|
+
"./../../../assets/Appearance/dark/mode/Dot_DarkMode.module.css"),
|
|
18
|
+
Lib_PureDarkMode_Dot: () => import(
|
|
19
|
+
/* webpackChunkName: 'Lib_PureDarkMode_Dot' */
|
|
20
|
+
"./../../../assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css"),
|
|
21
|
+
Lib_LightMode_SVG: () => import(
|
|
22
|
+
/* webpackChunkName: 'Lib_LightMode_SVG' */
|
|
23
|
+
'@zohodesk/svg/assets/Appearance/light/mode/SVG_LightMode.module.css'),
|
|
24
|
+
Lib_DarkMode_SVG: () => import(
|
|
25
|
+
/* webpackChunkName: 'Lib_DarkMode_SVG' */
|
|
26
|
+
'@zohodesk/svg/assets/Appearance/dark/mode/SVG_DarkMode.module.css'),
|
|
27
|
+
Lib_PureDarkMode_SVG: () => import(
|
|
28
|
+
/* webpackChunkName: 'Lib_PureDarkMode_SVG' */
|
|
29
|
+
'@zohodesk/svg/assets/Appearance/pureDark/mode/SVG_PureDarkMode.module.css')
|
|
30
|
+
};
|
|
31
|
+
export const themeAppearanceMapping = {
|
|
32
|
+
[LIBRARY_COMPONENT]: {
|
|
33
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Component',
|
|
34
|
+
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Component',
|
|
35
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_Component'
|
|
36
|
+
},
|
|
37
|
+
[LIBRARY_DOT]: {
|
|
38
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Dot',
|
|
39
|
+
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Dot',
|
|
40
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_Dot'
|
|
41
|
+
},
|
|
42
|
+
[LIBRARY_SVG]: {
|
|
43
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_SVG',
|
|
44
|
+
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_SVG',
|
|
45
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_SVG'
|
|
46
|
+
}
|
|
47
|
+
};
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants";
|
|
2
|
+
export const themeColorImports = {
|
|
3
|
+
Lib_Blue_Light_Component: () => import(
|
|
4
|
+
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
5
|
+
"../libraryChunks/themes/component/blue/Blue_Light_Component"),
|
|
6
|
+
Lib_Blue_Dark_Component: () => import(
|
|
7
|
+
/* webpackChunkName: 'Lib_Blue_Dark_Component' */
|
|
8
|
+
"../libraryChunks/themes/component/blue/Blue_Dark_Component"),
|
|
9
|
+
Lib_Blue_PureDark_Component: () => import(
|
|
10
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_Component' */
|
|
11
|
+
"../libraryChunks/themes/component/blue/Blue_PureDark_Component"),
|
|
12
|
+
Lib_Green_Light_Component: () => import(
|
|
13
|
+
/* webpackChunkName: 'Lib_Green_Light_Component' */
|
|
14
|
+
"../libraryChunks/themes/component/green/Green_Light_Component"),
|
|
15
|
+
Lib_Green_Dark_Component: () => import(
|
|
16
|
+
/* webpackChunkName: 'Lib_Green_Dark_Component' */
|
|
17
|
+
"../libraryChunks/themes/component/green/Green_Dark_Component"),
|
|
18
|
+
Lib_Green_PureDark_Component: () => import(
|
|
19
|
+
/* webpackChunkName: 'Lib_Green_PureDark_Component' */
|
|
20
|
+
"../libraryChunks/themes/component/green/Green_PureDark_Component"),
|
|
21
|
+
Lib_Orange_Light_Component: () => import(
|
|
22
|
+
/* webpackChunkName: 'Lib_Orange_Light_Component' */
|
|
23
|
+
"../libraryChunks/themes/component/orange/Orange_Light_Component"),
|
|
24
|
+
Lib_Orange_Dark_Component: () => import(
|
|
25
|
+
/* webpackChunkName: 'Lib_Orange_Dark_Component' */
|
|
26
|
+
"../libraryChunks/themes/component/orange/Orange_Dark_Component"),
|
|
27
|
+
Lib_Orange_PureDark_Component: () => import(
|
|
28
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_Component' */
|
|
29
|
+
"../libraryChunks/themes/component/orange/Orange_PureDark_Component"),
|
|
30
|
+
Lib_Red_Light_Component: () => import(
|
|
31
|
+
/* webpackChunkName: 'Lib_Red_Light_Component' */
|
|
32
|
+
"../libraryChunks/themes/component/red/Red_Light_Component"),
|
|
33
|
+
Lib_Red_Dark_Component: () => import(
|
|
34
|
+
/* webpackChunkName: 'Lib_Red_Dark_Component' */
|
|
35
|
+
"../libraryChunks/themes/component/red/Red_Dark_Component"),
|
|
36
|
+
Lib_Red_PureDark_Component: () => import(
|
|
37
|
+
/* webpackChunkName: 'Lib_Red_PureDark_Component' */
|
|
38
|
+
"../libraryChunks/themes/component/red/Red_PureDark_Component"),
|
|
39
|
+
Lib_Yellow_Light_Component: () => import(
|
|
40
|
+
/* webpackChunkName: 'Lib_Yellow_Light_Component' */
|
|
41
|
+
"../libraryChunks/themes/component/yellow/Yellow_Light_Component"),
|
|
42
|
+
Lib_Yellow_Dark_Component: () => import(
|
|
43
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_Component' */
|
|
44
|
+
"../libraryChunks/themes/component/yellow/Yellow_Dark_Component"),
|
|
45
|
+
Lib_Yellow_PureDark_Component: () => import(
|
|
46
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_Component' */
|
|
47
|
+
"../libraryChunks/themes/component/yellow/Yellow_PureDark_Component"),
|
|
48
|
+
Lib_Blue_Light_Dot: () => import(
|
|
49
|
+
/* webpackChunkName: 'Lib_Blue_Light_Dot' */
|
|
50
|
+
"../libraryChunks/themes/dot/blue/Blue_Light_Dot"),
|
|
51
|
+
Lib_Blue_Dark_Dot: () => import(
|
|
52
|
+
/* webpackChunkName: 'Lib_Blue_Dark_Dot' */
|
|
53
|
+
"../libraryChunks/themes/dot/blue/Blue_Dark_Dot"),
|
|
54
|
+
Lib_Blue_PureDark_Dot: () => import(
|
|
55
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_Dot' */
|
|
56
|
+
"../libraryChunks/themes/dot/blue/Blue_PureDark_Dot"),
|
|
57
|
+
Lib_Green_Light_Dot: () => import(
|
|
58
|
+
/* webpackChunkName: 'Lib_Green_Light_Dot' */
|
|
59
|
+
"../libraryChunks/themes/dot/green/Green_Light_Dot"),
|
|
60
|
+
Lib_Green_Dark_Dot: () => import(
|
|
61
|
+
/* webpackChunkName: 'Lib_Green_Dark_Dot' */
|
|
62
|
+
"../libraryChunks/themes/dot/green/Green_Dark_Dot"),
|
|
63
|
+
Lib_Green_PureDark_Dot: () => import(
|
|
64
|
+
/* webpackChunkName: 'Lib_Green_PureDark_Dot' */
|
|
65
|
+
"../libraryChunks/themes/dot/green/Green_PureDark_Dot"),
|
|
66
|
+
Lib_Orange_Light_Dot: () => import(
|
|
67
|
+
/* webpackChunkName: 'Lib_Orange_Light_Dot' */
|
|
68
|
+
"../libraryChunks/themes/dot/orange/Orange_Light_Dot"),
|
|
69
|
+
Lib_Orange_Dark_Dot: () => import(
|
|
70
|
+
/* webpackChunkName: 'Lib_Orange_Dark_Dot' */
|
|
71
|
+
"../libraryChunks/themes/dot/orange/Orange_Dark_Dot"),
|
|
72
|
+
Lib_Orange_PureDark_Dot: () => import(
|
|
73
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_Dot' */
|
|
74
|
+
"../libraryChunks/themes/dot/orange/Orange_PureDark_Dot"),
|
|
75
|
+
Lib_Red_Light_Dot: () => import(
|
|
76
|
+
/* webpackChunkName: 'Lib_Red_Light_Dot' */
|
|
77
|
+
"../libraryChunks/themes/dot/red/Red_Light_Dot"),
|
|
78
|
+
Lib_Red_Dark_Dot: () => import(
|
|
79
|
+
/* webpackChunkName: 'Lib_Red_Dark_Dot' */
|
|
80
|
+
"../libraryChunks/themes/dot/red/Red_Dark_Dot"),
|
|
81
|
+
Lib_Red_PureDark_Dot: () => import(
|
|
82
|
+
/* webpackChunkName: 'Lib_Red_PureDark_Dot' */
|
|
83
|
+
"../libraryChunks/themes/dot/red/Red_PureDark_Dot"),
|
|
84
|
+
Lib_Yellow_Light_Dot: () => import(
|
|
85
|
+
/* webpackChunkName: 'Lib_Yellow_Light_Dot' */
|
|
86
|
+
"../libraryChunks/themes/dot/yellow/Yellow_Light_Dot"),
|
|
87
|
+
Lib_Yellow_Dark_Dot: () => import(
|
|
88
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_Dot' */
|
|
89
|
+
"../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot"),
|
|
90
|
+
Lib_Yellow_PureDark_Dot: () => import(
|
|
91
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */
|
|
92
|
+
"../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot"),
|
|
93
|
+
Lib_Blue_Light_SVG: () => import(
|
|
94
|
+
/* webpackChunkName: 'Lib_Blue_Light_SVG' */
|
|
95
|
+
"../libraryChunks/themes/svg/blue/Blue_Light_SVG"),
|
|
96
|
+
Lib_Blue_Dark_SVG: () => import(
|
|
97
|
+
/* webpackChunkName: 'Lib_Blue_Dark_SVG' */
|
|
98
|
+
"../libraryChunks/themes/svg/blue/Blue_Dark_SVG"),
|
|
99
|
+
Lib_Blue_PureDark_SVG: () => import(
|
|
100
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_SVG' */
|
|
101
|
+
"../libraryChunks/themes/svg/blue/Blue_PureDark_SVG"),
|
|
102
|
+
Lib_Green_Light_SVG: () => import(
|
|
103
|
+
/* webpackChunkName: 'Lib_Green_Light_SVG' */
|
|
104
|
+
"../libraryChunks/themes/svg/green/Green_Light_SVG"),
|
|
105
|
+
Lib_Green_Dark_SVG: () => import(
|
|
106
|
+
/* webpackChunkName: 'Lib_Green_Dark_SVG' */
|
|
107
|
+
"../libraryChunks/themes/svg/green/Green_Dark_SVG"),
|
|
108
|
+
Lib_Green_PureDark_SVG: () => import(
|
|
109
|
+
/* webpackChunkName: 'Lib_Green_PureDark_SVG' */
|
|
110
|
+
"../libraryChunks/themes/svg/green/Green_PureDark_SVG"),
|
|
111
|
+
Lib_Orange_Light_SVG: () => import(
|
|
112
|
+
/* webpackChunkName: 'Lib_Orange_Light_SVG' */
|
|
113
|
+
"../libraryChunks/themes/svg/orange/Orange_Light_SVG"),
|
|
114
|
+
Lib_Orange_Dark_SVG: () => import(
|
|
115
|
+
/* webpackChunkName: 'Lib_Orange_Dark_SVG' */
|
|
116
|
+
"../libraryChunks/themes/svg/orange/Orange_Dark_SVG"),
|
|
117
|
+
Lib_Orange_PureDark_SVG: () => import(
|
|
118
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_SVG' */
|
|
119
|
+
"../libraryChunks/themes/svg/orange/Orange_PureDark_SVG"),
|
|
120
|
+
Lib_Red_Light_SVG: () => import(
|
|
121
|
+
/* webpackChunkName: 'Lib_Red_Light_SVG' */
|
|
122
|
+
"../libraryChunks/themes/svg/red/Red_Light_SVG"),
|
|
123
|
+
Lib_Red_Dark_SVG: () => import(
|
|
124
|
+
/* webpackChunkName: 'Lib_Red_Dark_SVG' */
|
|
125
|
+
"../libraryChunks/themes/svg/red/Red_Dark_SVG"),
|
|
126
|
+
Lib_Red_PureDark_SVG: () => import(
|
|
127
|
+
/* webpackChunkName: 'Lib_Red_PureDark_SVG' */
|
|
128
|
+
"../libraryChunks/themes/svg/red/Red_PureDark_SVG"),
|
|
129
|
+
Lib_Yellow_Light_SVG: () => import(
|
|
130
|
+
/* webpackChunkName: 'Lib_Yellow_Light_SVG' */
|
|
131
|
+
"../libraryChunks/themes/svg/yellow/Yellow_Light_SVG"),
|
|
132
|
+
Lib_Yellow_Dark_SVG: () => import(
|
|
133
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_SVG' */
|
|
134
|
+
"../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG"),
|
|
135
|
+
Lib_Yellow_PureDark_SVG: () => import(
|
|
136
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */
|
|
137
|
+
"../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG")
|
|
138
|
+
};
|
|
139
|
+
export const themeColorMapping = {
|
|
140
|
+
[LIBRARY_COMPONENT]: {
|
|
141
|
+
[THEME_COLOR_BLUE]: {
|
|
142
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Component',
|
|
143
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Component',
|
|
144
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Component'
|
|
145
|
+
},
|
|
146
|
+
[THEME_COLOR_GREEN]: {
|
|
147
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Component',
|
|
148
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Component',
|
|
149
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Component'
|
|
150
|
+
},
|
|
151
|
+
[THEME_COLOR_ORANGE]: {
|
|
152
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Component',
|
|
153
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Component',
|
|
154
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Component'
|
|
155
|
+
},
|
|
156
|
+
[THEME_COLOR_RED]: {
|
|
157
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Component',
|
|
158
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Component',
|
|
159
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Component'
|
|
160
|
+
},
|
|
161
|
+
[THEME_COLOR_YELLOW]: {
|
|
162
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Component',
|
|
163
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Component',
|
|
164
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Component'
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
[LIBRARY_DOT]: {
|
|
168
|
+
[THEME_COLOR_BLUE]: {
|
|
169
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Dot',
|
|
170
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Dot',
|
|
171
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Dot'
|
|
172
|
+
},
|
|
173
|
+
[THEME_COLOR_GREEN]: {
|
|
174
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Dot',
|
|
175
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Dot',
|
|
176
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Dot'
|
|
177
|
+
},
|
|
178
|
+
[THEME_COLOR_ORANGE]: {
|
|
179
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Dot',
|
|
180
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Dot',
|
|
181
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Dot'
|
|
182
|
+
},
|
|
183
|
+
[THEME_COLOR_RED]: {
|
|
184
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Dot',
|
|
185
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Dot',
|
|
186
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Dot'
|
|
187
|
+
},
|
|
188
|
+
[THEME_COLOR_YELLOW]: {
|
|
189
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Dot',
|
|
190
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Dot',
|
|
191
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Dot'
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
[LIBRARY_SVG]: {
|
|
195
|
+
[THEME_COLOR_BLUE]: {
|
|
196
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_SVG',
|
|
197
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_SVG',
|
|
198
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_SVG'
|
|
199
|
+
},
|
|
200
|
+
[THEME_COLOR_GREEN]: {
|
|
201
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_SVG',
|
|
202
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_SVG',
|
|
203
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_SVG'
|
|
204
|
+
},
|
|
205
|
+
[THEME_COLOR_ORANGE]: {
|
|
206
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_SVG',
|
|
207
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_SVG',
|
|
208
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_SVG'
|
|
209
|
+
},
|
|
210
|
+
[THEME_COLOR_RED]: {
|
|
211
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_SVG',
|
|
212
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_SVG',
|
|
213
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_SVG'
|
|
214
|
+
},
|
|
215
|
+
[THEME_COLOR_YELLOW]: {
|
|
216
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_SVG',
|
|
217
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_SVG',
|
|
218
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_SVG'
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
};
|