@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.
Files changed (110) hide show
  1. package/README.md +5 -0
  2. package/es/AttachmentViewer/AttachmentViewer.js +3 -9
  3. package/es/AttachmentViewer/props/defaultProps.js +1 -2
  4. package/es/AttachmentViewer/props/propTypes.js +1 -3
  5. package/es/DotProvider/hooks/useDotProvider.js +3 -3
  6. package/es/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +1 -0
  7. package/es/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +1 -0
  8. package/es/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +1 -0
  9. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -2
  10. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -2
  11. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -2
  12. package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -2
  13. package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -2
  14. package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -2
  15. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -2
  16. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -2
  17. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -2
  18. package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -2
  19. package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -2
  20. package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -2
  21. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -2
  22. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -2
  23. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -2
  24. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +2 -0
  25. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +2 -0
  26. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +2 -0
  27. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +2 -0
  28. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +2 -0
  29. package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +2 -0
  30. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +2 -0
  31. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +2 -0
  32. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +2 -0
  33. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +2 -0
  34. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +2 -0
  35. package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +2 -0
  36. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +2 -0
  37. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +2 -0
  38. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +2 -0
  39. package/es/DotProvider/utils/constants.js +2 -1
  40. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +15 -1
  41. package/es/DotProvider/utils/themeColorAssetsConfig.js +73 -1
  42. package/es/list/Comment/Comment.module.css +29 -29
  43. package/es/list/DepartmentDropDown/DepartmentDropDown.js +4 -3
  44. package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
  45. package/es/list/Dot/Dot.module.css +15 -15
  46. package/es/list/ListLayout/ListLayout.module.css +79 -79
  47. package/lib/AttachmentViewer/AttachmentViewer.js +3 -9
  48. package/lib/AttachmentViewer/props/defaultProps.js +1 -2
  49. package/lib/AttachmentViewer/props/propTypes.js +1 -3
  50. package/lib/DotProvider/hooks/useDotProvider.js +3 -3
  51. package/lib/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +3 -0
  52. package/lib/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +3 -0
  53. package/lib/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +3 -0
  54. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -4
  55. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -4
  56. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -4
  57. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -4
  58. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -4
  59. package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -4
  60. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -4
  61. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -4
  62. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -4
  63. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -4
  64. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -4
  65. package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -4
  66. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -4
  67. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -4
  68. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -4
  69. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +5 -0
  70. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +5 -0
  71. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +5 -0
  72. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +5 -0
  73. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +5 -0
  74. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +5 -0
  75. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +5 -0
  76. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +5 -0
  77. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +5 -0
  78. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +5 -0
  79. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +5 -0
  80. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +5 -0
  81. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +5 -0
  82. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +5 -0
  83. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +5 -0
  84. package/lib/DotProvider/utils/constants.js +4 -2
  85. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +17 -2
  86. package/lib/DotProvider/utils/themeColorAssetsConfig.js +77 -2
  87. package/lib/list/Comment/Comment.module.css +29 -29
  88. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +5 -3
  89. package/lib/list/DepartmentDropDown/props/propTypes.js +2 -1
  90. package/lib/list/Dot/Dot.module.css +15 -15
  91. package/lib/list/ListLayout/ListLayout.module.css +79 -79
  92. package/package.json +10 -10
  93. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -593
  94. package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +0 -26
  95. package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +0 -26
  96. package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +0 -26
  97. package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +0 -26
  98. package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +0 -26
  99. package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -593
  100. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +0 -26
  101. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +0 -26
  102. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +0 -26
  103. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +0 -26
  104. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +0 -26
  105. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -593
  106. package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +0 -26
  107. package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +0 -26
  108. package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +0 -26
  109. package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +0 -26
  110. 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), showCount && /*#__PURE__*/React.createElement(Box, {
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
- }, typeof renderCustomIcons === 'function' && renderCustomIcons({
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",
@@ -12,6 +12,5 @@ export const AttachmentViewer_defaultProps = {
12
12
  isActive: false,
13
13
  dataId: 'AttachmentViewer',
14
14
  i18nKeys: {},
15
- customProps: {},
16
- showCount: true
15
+ customProps: {}
17
16
  };
@@ -44,7 +44,5 @@ export const AttachmentViewer_propTypes = {
44
44
  renderUnSupportedElement: PropTypes.func,
45
45
  customProps: PropTypes.shape({
46
46
  avatarProps: PropTypes.exact(AvatarProps)
47
- }),
48
- showCount: PropTypes.bool,
49
- renderCustomIcons: PropTypes.func
47
+ })
50
48
  };
@@ -1,8 +1,8 @@
1
1
  import { useLayoutEffect } from 'react';
2
2
  import useDownloadAssetsAndSetAttr from "./useDownloadAssetsAndSetAttr";
3
- import '@zohodesk/components/assets/Contrast/lightContrastLightness.module.css';
4
- import '@zohodesk/components/assets/Contrast/darkContrastLightness.module.css';
5
- import '@zohodesk/components/assets/Contrast/pureDarkContrastLightness.module.css';
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';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/dark/themes/blue/blue_ctaTokens_DarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/dark/themes/blue/blue_ctaTokens_DarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/light/themes/blue/blue_ctaTokens_LightTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/light/themes/blue/blue_ctaTokens_LightModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/blue/blue_ctaTokens_PureDarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/blue/blue_ctaTokens_PureDarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/dark/themes/green/green_ctaTokens_DarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/dark/themes/green/green_ctaTokens_DarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/light/themes/green/green_ctaTokens_LightTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/light/themes/green/green_ctaTokens_LightModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/green/green_ctaTokens_PureDarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/green/green_ctaTokens_PureDarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/dark/themes/orange/orange_ctaTokens_DarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/dark/themes/orange/orange_ctaTokens_DarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/light/themes/orange/orange_ctaTokens_LightTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/light/themes/orange/orange_ctaTokens_LightModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/orange/orange_ctaTokens_PureDarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/orange/orange_ctaTokens_PureDarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/dark/themes/red/red_ctaTokens_DarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/dark/themes/red/red_ctaTokens_DarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/light/themes/red/red_ctaTokens_LightTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/light/themes/red/red_ctaTokens_LightModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/red/red_ctaTokens_PureDarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/red/red_ctaTokens_PureDarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/dark/themes/yellow/yellow_ctaTokens_DarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/dark/themes/yellow/yellow_ctaTokens_DarkModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/light/themes/yellow/yellow_ctaTokens_LightTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/light/themes/yellow/yellow_ctaTokens_LightModifyCategory.module.css';
@@ -0,0 +1,2 @@
1
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/yellow/yellow_ctaTokens_PureDarkTheme.module.css';
2
+ import '@zohodesk/variables/assets/Appearance/pureDark/themes/yellow/yellow_ctaTokens_PureDarkModifyCategory.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,
@@ -22,6 +22,7 @@ export const propTypes = {
22
22
  placeholder: PropTypes.string
23
23
  }),
24
24
  customProps: PropTypes.shape({
25
- ToggleDropDownProps: PropTypes.object
25
+ ToggleDropDownProps: PropTypes.object,
26
+ DepartmentTextProps: PropTypes.object
26
27
  })
27
28
  };
@@ -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
+ }