@zohodesk/dot 1.0.0-temp-225 → 1.0.0-temp-226
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 +5 -0
- package/es/AttachmentViewer/AttachmentViewer.js +3 -9
- package/es/AttachmentViewer/props/defaultProps.js +1 -2
- package/es/AttachmentViewer/props/propTypes.js +1 -3
- package/es/DotProvider/hooks/useDotProvider.js +3 -3
- package/es/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +1 -0
- package/es/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +1 -0
- package/es/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +1 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +2 -0
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +2 -0
- package/es/DotProvider/utils/constants.js +2 -1
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +15 -1
- package/es/DotProvider/utils/themeColorAssetsConfig.js +73 -1
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +4 -3
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/AttachmentViewer/AttachmentViewer.js +3 -9
- package/lib/AttachmentViewer/props/defaultProps.js +1 -2
- package/lib/AttachmentViewer/props/propTypes.js +1 -3
- package/lib/DotProvider/hooks/useDotProvider.js +3 -3
- package/lib/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +3 -0
- package/lib/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +3 -0
- package/lib/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +3 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -4
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +5 -0
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +5 -0
- package/lib/DotProvider/utils/constants.js +4 -2
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +17 -2
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +77 -2
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +5 -3
- package/lib/list/DepartmentDropDown/props/propTypes.js +2 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/package.json +10 -10
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -593
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +0 -26
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +0 -26
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +0 -26
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +0 -26
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +0 -26
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -593
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +0 -26
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +0 -26
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +0 -26
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +0 -26
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +0 -26
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -593
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +0 -26
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +0 -26
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +0 -26
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +0 -26
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +0 -26
package/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.9.7
|
|
6
|
+
|
|
7
|
+
- **Upload** => upload_overlay_bg color contrast fixed
|
|
8
|
+
- **DepartmentDropDown** Added DepartmentTextProps support under customProps
|
|
9
|
+
|
|
5
10
|
# 1.9.5, # 1.9.6
|
|
6
11
|
|
|
7
12
|
- **listCommon.module.css** A css active ignore comment has been added to fix the hover and click pseudo-class collision issue on iOS tablets.
|
|
@@ -449,9 +449,7 @@ export default class AttachmentViewer extends Component {
|
|
|
449
449
|
i18nKeys,
|
|
450
450
|
isActive,
|
|
451
451
|
dataId,
|
|
452
|
-
customProps
|
|
453
|
-
showCount,
|
|
454
|
-
renderCustomIcons
|
|
452
|
+
customProps
|
|
455
453
|
} = this.props;
|
|
456
454
|
const {
|
|
457
455
|
avatarProps = {}
|
|
@@ -497,7 +495,7 @@ export default class AttachmentViewer extends Component {
|
|
|
497
495
|
"data-title": selectedAttachment.name,
|
|
498
496
|
dataId: "attachName",
|
|
499
497
|
id: ariaId
|
|
500
|
-
}, selectedAttachment.name),
|
|
498
|
+
}, selectedAttachment.name), /*#__PURE__*/React.createElement(Box, {
|
|
501
499
|
flexible: true,
|
|
502
500
|
className: style.count,
|
|
503
501
|
dataId: "attachCountContainer"
|
|
@@ -509,11 +507,7 @@ export default class AttachmentViewer extends Component {
|
|
|
509
507
|
align: uptoTablet ? 'bottom' : 'center',
|
|
510
508
|
wrap: "wrap",
|
|
511
509
|
isCover: false
|
|
512
|
-
},
|
|
513
|
-
selectedAttachment,
|
|
514
|
-
selectedIndex,
|
|
515
|
-
totalLen
|
|
516
|
-
}), canZoom ? isZoomed ? /*#__PURE__*/React.createElement("div", {
|
|
510
|
+
}, canZoom ? isZoomed ? /*#__PURE__*/React.createElement("div", {
|
|
517
511
|
className: uptoTablet ? style.mobileMenu : style.menu,
|
|
518
512
|
onClick: this.zoomOut.bind(this, selectedIndex),
|
|
519
513
|
"data-id": "zoomOut",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useLayoutEffect } from 'react';
|
|
2
2
|
import useDownloadAssetsAndSetAttr from "./useDownloadAssetsAndSetAttr";
|
|
3
|
-
import '@zohodesk/
|
|
4
|
-
import '@zohodesk/
|
|
5
|
-
import '@zohodesk/
|
|
3
|
+
import '@zohodesk/variables/assets/Contrast/lightContrastLightness.module.css';
|
|
4
|
+
import '@zohodesk/variables/assets/Contrast/darkContrastLightness.module.css';
|
|
5
|
+
import '@zohodesk/variables/assets/Contrast/pureDarkContrastLightness.module.css';
|
|
6
6
|
import '@zohodesk/variables/assets/colorVariables.module.css';
|
|
7
7
|
import '@zohodesk/variables/assets/dotVariables.module.css';
|
|
8
8
|
import '@zohodesk/components/es/common/basic.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/variables/assets/Appearance/dark/mode/globalTokens_DarkMode.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/variables/assets/Appearance/light/mode/globalTokens_LightMode.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/variables/assets/Appearance/pureDark/mode/globalTokens_PureDarkMode.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css';
|
|
3
1
|
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css';
|
|
3
1
|
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css';
|
|
2
|
-
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css';
|
|
3
1
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
|
|
@@ -1,3 +1 @@
|
|
|
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
1
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export const LIBRARY_VARIABLES = 'variables';
|
|
1
2
|
export const LIBRARY_COMPONENT = 'component';
|
|
2
3
|
export const LIBRARY_DOT = 'dot';
|
|
3
4
|
export const LIBRARY_SVG = 'svg';
|
|
@@ -9,6 +10,6 @@ export const THEME_COLOR_GREEN = 'green';
|
|
|
9
10
|
export const THEME_COLOR_ORANGE = 'orange';
|
|
10
11
|
export const THEME_COLOR_RED = 'red';
|
|
11
12
|
export const THEME_COLOR_YELLOW = 'yellow';
|
|
12
|
-
export const LIBRARIES = [LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG];
|
|
13
|
+
export const LIBRARIES = [LIBRARY_VARIABLES, LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG];
|
|
13
14
|
export const THEME_APPEARANCES = [THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_DARK, THEME_APPEARANCE_PURE_DARK];
|
|
14
15
|
export const THEME_COLORS = [THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW];
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from "./constants";
|
|
1
|
+
import { LIBRARY_VARIABLES, LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from "./constants";
|
|
2
2
|
export const themeAppearanceImports = {
|
|
3
|
+
Lib_LightMode_Variables: () => import(
|
|
4
|
+
/* webpackChunkName: 'Lib_LightMode_Variables' */
|
|
5
|
+
"../libraryChunks/appearance/variables/Light_Variables"),
|
|
6
|
+
Lib_DarkMode_Variables: () => import(
|
|
7
|
+
/* webpackChunkName: 'Lib_DarkMode_Variables' */
|
|
8
|
+
"../libraryChunks/appearance/variables/Dark_Variables"),
|
|
9
|
+
Lib_PureDarkMode_Variables: () => import(
|
|
10
|
+
/* webpackChunkName: 'Lib_PureDarkMode_Variables' */
|
|
11
|
+
"../libraryChunks/appearance/variables/PureDark_Variables"),
|
|
3
12
|
Lib_LightMode_Component: () => import(
|
|
4
13
|
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
5
14
|
"../libraryChunks/appearance/component/Light_Component"),
|
|
@@ -29,6 +38,11 @@ export const themeAppearanceImports = {
|
|
|
29
38
|
'@zohodesk/svg/assets/Appearance/pureDark/mode/SVG_PureDarkMode.module.css')
|
|
30
39
|
};
|
|
31
40
|
export const themeAppearanceMapping = {
|
|
41
|
+
[LIBRARY_VARIABLES]: {
|
|
42
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Variables',
|
|
43
|
+
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Variables',
|
|
44
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_Variables'
|
|
45
|
+
},
|
|
32
46
|
[LIBRARY_COMPONENT]: {
|
|
33
47
|
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Component',
|
|
34
48
|
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Component',
|
|
@@ -1,5 +1,50 @@
|
|
|
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";
|
|
1
|
+
import { LIBRARY_VARIABLES, LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants";
|
|
2
2
|
export const themeColorImports = {
|
|
3
|
+
Lib_Blue_Light_Variables: () => import(
|
|
4
|
+
/* webpackChunkName: 'Lib_Blue_Light_Variables' */
|
|
5
|
+
"../libraryChunks/variables/component/blue/Blue_Light_Variables"),
|
|
6
|
+
Lib_Blue_Dark_Variables: () => import(
|
|
7
|
+
/* webpackChunkName: 'Lib_Blue_Dark_Variables' */
|
|
8
|
+
"../libraryChunks/variables/component/blue/Blue_Dark_Variables"),
|
|
9
|
+
Lib_Blue_PureDark_Variables: () => import(
|
|
10
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_Variables' */
|
|
11
|
+
"../libraryChunks/variables/component/blue/Blue_PureDark_Variables"),
|
|
12
|
+
Lib_Green_Light_Variables: () => import(
|
|
13
|
+
/* webpackChunkName: 'Lib_Green_Light_Variables' */
|
|
14
|
+
"../libraryChunks/variables/component/green/Green_Light_Variables"),
|
|
15
|
+
Lib_Green_Dark_Variables: () => import(
|
|
16
|
+
/* webpackChunkName: 'Lib_Green_Dark_Variables' */
|
|
17
|
+
"../libraryChunks/variables/component/green/Green_Dark_Variables"),
|
|
18
|
+
Lib_Green_PureDark_Variables: () => import(
|
|
19
|
+
/* webpackChunkName: 'Lib_Green_PureDark_Variables' */
|
|
20
|
+
"../libraryChunks/variables/component/green/Green_PureDark_Variables"),
|
|
21
|
+
Lib_Orange_Light_Variables: () => import(
|
|
22
|
+
/* webpackChunkName: 'Lib_Orange_Light_Variables' */
|
|
23
|
+
"../libraryChunks/variables/component/orange/Orange_Light_Variables"),
|
|
24
|
+
Lib_Orange_Dark_Variables: () => import(
|
|
25
|
+
/* webpackChunkName: 'Lib_Orange_Dark_Variables' */
|
|
26
|
+
"../libraryChunks/variables/component/orange/Orange_Dark_Variables"),
|
|
27
|
+
Lib_Orange_PureDark_Variables: () => import(
|
|
28
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_Variables' */
|
|
29
|
+
"../libraryChunks/variables/component/orange/Orange_PureDark_Variables"),
|
|
30
|
+
Lib_Red_Light_Variables: () => import(
|
|
31
|
+
/* webpackChunkName: 'Lib_Red_Light_Variables' */
|
|
32
|
+
"../libraryChunks/variables/component/red/Red_Light_Variables"),
|
|
33
|
+
Lib_Red_Dark_Variables: () => import(
|
|
34
|
+
/* webpackChunkName: 'Lib_Red_Dark_Variables' */
|
|
35
|
+
"../libraryChunks/variables/component/red/Red_Dark_Variables"),
|
|
36
|
+
Lib_Red_PureDark_Variables: () => import(
|
|
37
|
+
/* webpackChunkName: 'Lib_Red_PureDark_Variables' */
|
|
38
|
+
"../libraryChunks/variables/component/red/Red_PureDark_Variables"),
|
|
39
|
+
Lib_Yellow_Light_Variables: () => import(
|
|
40
|
+
/* webpackChunkName: 'Lib_Yellow_Light_Variables' */
|
|
41
|
+
"../libraryChunks/variables/component/yellow/Yellow_Light_Variables"),
|
|
42
|
+
Lib_Yellow_Dark_Variables: () => import(
|
|
43
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_Variables' */
|
|
44
|
+
"../libraryChunks/variables/component/yellow/Yellow_Dark_Variables"),
|
|
45
|
+
Lib_Yellow_PureDark_Variables: () => import(
|
|
46
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_Variables' */
|
|
47
|
+
"../libraryChunks/variables/component/yellow/Yellow_PureDark_Variables"),
|
|
3
48
|
Lib_Blue_Light_Component: () => import(
|
|
4
49
|
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
5
50
|
"../libraryChunks/themes/component/blue/Blue_Light_Component"),
|
|
@@ -137,6 +182,33 @@ export const themeColorImports = {
|
|
|
137
182
|
"../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG")
|
|
138
183
|
};
|
|
139
184
|
export const themeColorMapping = {
|
|
185
|
+
[LIBRARY_VARIABLES]: {
|
|
186
|
+
[THEME_COLOR_BLUE]: {
|
|
187
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Variables',
|
|
188
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Variables',
|
|
189
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Variables'
|
|
190
|
+
},
|
|
191
|
+
[THEME_COLOR_GREEN]: {
|
|
192
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Variables',
|
|
193
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Variables',
|
|
194
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Variables'
|
|
195
|
+
},
|
|
196
|
+
[THEME_COLOR_ORANGE]: {
|
|
197
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Variables',
|
|
198
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Variables',
|
|
199
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Variables'
|
|
200
|
+
},
|
|
201
|
+
[THEME_COLOR_RED]: {
|
|
202
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Variables',
|
|
203
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Variables',
|
|
204
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Variables'
|
|
205
|
+
},
|
|
206
|
+
[THEME_COLOR_YELLOW]: {
|
|
207
|
+
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Variables',
|
|
208
|
+
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Variables',
|
|
209
|
+
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Variables'
|
|
210
|
+
}
|
|
211
|
+
},
|
|
140
212
|
[LIBRARY_COMPONENT]: {
|
|
141
213
|
[THEME_COLOR_BLUE]: {
|
|
142
214
|
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Component',
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--icon_color: var(--zdt_comment_iconText);
|
|
3
|
-
}
|
|
4
|
-
.container {
|
|
5
|
-
composes: varClass;
|
|
6
|
-
composes: inlineBlockMiddle from '../listCommon.module.css';
|
|
7
|
-
position: relative;
|
|
8
|
-
color: var(--icon_color);
|
|
9
|
-
padding: 0 var(--zd_size2) ;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
.container:hover {
|
|
13
|
-
--icon_color: var(--zdt_comment_hover_iconText);
|
|
14
|
-
}
|
|
15
|
-
.count {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: var(--zd_size1) ;
|
|
18
|
-
font-size: var(--zd_font_size9) ;
|
|
19
|
-
text-align: center;
|
|
20
|
-
}
|
|
21
|
-
[dir=ltr] .count {
|
|
22
|
-
left: 100% ;
|
|
23
|
-
}
|
|
24
|
-
[dir=rtl] .count {
|
|
25
|
-
right: 100% ;
|
|
26
|
-
}
|
|
27
|
-
.commentIcon {
|
|
28
|
-
font-size: var(--zd_font_size13) ;
|
|
29
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
--icon_color: var(--zdt_comment_iconText);
|
|
3
|
+
}
|
|
4
|
+
.container {
|
|
5
|
+
composes: varClass;
|
|
6
|
+
composes: inlineBlockMiddle from '../listCommon.module.css';
|
|
7
|
+
position: relative;
|
|
8
|
+
color: var(--icon_color);
|
|
9
|
+
padding: 0 var(--zd_size2) ;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.container:hover {
|
|
13
|
+
--icon_color: var(--zdt_comment_hover_iconText);
|
|
14
|
+
}
|
|
15
|
+
.count {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: var(--zd_size1) ;
|
|
18
|
+
font-size: var(--zd_font_size9) ;
|
|
19
|
+
text-align: center;
|
|
20
|
+
}
|
|
21
|
+
[dir=ltr] .count {
|
|
22
|
+
left: 100% ;
|
|
23
|
+
}
|
|
24
|
+
[dir=rtl] .count {
|
|
25
|
+
right: 100% ;
|
|
26
|
+
}
|
|
27
|
+
.commentIcon {
|
|
28
|
+
font-size: var(--zd_font_size13) ;
|
|
29
|
+
}
|
|
@@ -54,7 +54,8 @@ class DepartmentDropDown extends Component {
|
|
|
54
54
|
customProps
|
|
55
55
|
} = this.props;
|
|
56
56
|
const {
|
|
57
|
-
ToggleDropDownProps = {}
|
|
57
|
+
ToggleDropDownProps = {},
|
|
58
|
+
DepartmentTextProps = {}
|
|
58
59
|
} = customProps;
|
|
59
60
|
let {
|
|
60
61
|
title = 'Move Department',
|
|
@@ -73,10 +74,10 @@ class DepartmentDropDown extends Component {
|
|
|
73
74
|
}, ToggleDropDownProps, {
|
|
74
75
|
title: title,
|
|
75
76
|
options: departmentList,
|
|
76
|
-
value: /*#__PURE__*/React.createElement(DepartmentText, {
|
|
77
|
+
value: /*#__PURE__*/React.createElement(DepartmentText, _extends({}, DepartmentTextProps, {
|
|
77
78
|
text: departmentName,
|
|
78
79
|
dataTitle: departmentName
|
|
79
|
-
}),
|
|
80
|
+
})),
|
|
80
81
|
onClick: this.onMoveDepartment,
|
|
81
82
|
isEditable: isEditable,
|
|
82
83
|
onSelectLabel: onSelectLabel,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--dotColor: var(--zdt_dot_text)
|
|
3
|
-
}
|
|
4
|
-
.dot {
|
|
5
|
-
composes: varClass;
|
|
6
|
-
font-size: var(--zd_font_size16) ;
|
|
7
|
-
color: var(--dotColor);
|
|
8
|
-
transform: perspective(1px);
|
|
9
|
-
}
|
|
10
|
-
.list {
|
|
11
|
-
margin: 0 var(--zd_size6) ;
|
|
12
|
-
}
|
|
13
|
-
.minimalList {
|
|
14
|
-
margin: 0 var(--zd_size6) ;
|
|
15
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
--dotColor: var(--zdt_dot_text)
|
|
3
|
+
}
|
|
4
|
+
.dot {
|
|
5
|
+
composes: varClass;
|
|
6
|
+
font-size: var(--zd_font_size16) ;
|
|
7
|
+
color: var(--dotColor);
|
|
8
|
+
transform: perspective(1px);
|
|
9
|
+
}
|
|
10
|
+
.list {
|
|
11
|
+
margin: 0 var(--zd_size6) ;
|
|
12
|
+
}
|
|
13
|
+
.minimalList {
|
|
14
|
+
margin: 0 var(--zd_size6) ;
|
|
15
|
+
}
|