@zohodesk/dot 1.9.7 → 1.9.9

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 (109) hide show
  1. package/README.md +9 -0
  2. package/es/Attachment/Attachment.module.css +3 -3
  3. package/es/DotProvider/hooks/useDotProvider.js +3 -3
  4. package/es/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +1 -0
  5. package/es/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +1 -0
  6. package/es/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +1 -0
  7. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -2
  8. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -2
  9. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -2
  10. package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -2
  11. package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -2
  12. package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -2
  13. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -2
  14. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -2
  15. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -2
  16. package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -2
  17. package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -2
  18. package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -2
  19. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -2
  20. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -2
  21. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -2
  22. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +2 -0
  23. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +2 -0
  24. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +2 -0
  25. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +2 -0
  26. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +2 -0
  27. package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +2 -0
  28. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +2 -0
  29. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +2 -0
  30. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +2 -0
  31. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +2 -0
  32. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +2 -0
  33. package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +2 -0
  34. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +2 -0
  35. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +2 -0
  36. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +2 -0
  37. package/es/DotProvider/utils/constants.js +2 -1
  38. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +15 -1
  39. package/es/DotProvider/utils/themeColorAssetsConfig.js +73 -1
  40. package/es/Image/Image.module.css +2 -2
  41. package/es/Onboarding/css/Onboarding.module.css +1 -1
  42. package/es/Separator/Separator.module.css +5 -5
  43. package/es/TagWithIcon/TagWithIcon.module.css +3 -3
  44. package/es/Upload/Upload.module.css +31 -2
  45. package/es/form/fields/Fields.module.css +73 -17
  46. package/es/form/fields/TextEditor/TextEditor.module.css +1 -1
  47. package/es/list/GridStencils/GridStencils.module.css +12 -2
  48. package/es/list/TagNew/TagNew.module.css +1 -1
  49. package/es/list/status/StatusListItem/StatusListItem.module.css +2 -2
  50. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  51. package/es/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  52. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
  53. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  54. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +3 -2
  55. package/lib/Attachment/Attachment.module.css +3 -3
  56. package/lib/DotProvider/hooks/useDotProvider.js +3 -3
  57. package/lib/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +3 -0
  58. package/lib/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +3 -0
  59. package/lib/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +3 -0
  60. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -4
  61. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -4
  62. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -4
  63. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -4
  64. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -4
  65. package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -4
  66. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -4
  67. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -4
  68. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -4
  69. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -4
  70. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -4
  71. package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -4
  72. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -4
  73. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -4
  74. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -4
  75. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +5 -0
  76. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +5 -0
  77. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +5 -0
  78. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +5 -0
  79. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +5 -0
  80. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +5 -0
  81. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +5 -0
  82. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +5 -0
  83. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +5 -0
  84. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +5 -0
  85. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +5 -0
  86. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +5 -0
  87. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +5 -0
  88. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +5 -0
  89. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +5 -0
  90. package/lib/DotProvider/utils/constants.js +4 -2
  91. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +17 -2
  92. package/lib/DotProvider/utils/themeColorAssetsConfig.js +77 -2
  93. package/lib/Image/Image.module.css +2 -2
  94. package/lib/Onboarding/css/Onboarding.module.css +1 -1
  95. package/lib/Separator/Separator.module.css +5 -5
  96. package/lib/TagWithIcon/TagWithIcon.module.css +3 -3
  97. package/lib/Upload/Upload.module.css +31 -2
  98. package/lib/form/fields/Fields.module.css +73 -17
  99. package/lib/form/fields/TextEditor/TextEditor.module.css +1 -1
  100. package/lib/list/GridStencils/GridStencils.module.css +12 -2
  101. package/lib/list/TagNew/TagNew.module.css +1 -1
  102. package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -2
  103. package/lib/version2/AlertClose/AlertClose.module.css +1 -1
  104. package/lib/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  105. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
  106. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  107. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +3 -2
  108. package/package.json +14 -11
  109. package/_react-cli.config.js +0 -27
package/README.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.9.9
6
+
7
+ - PX to variable conversion was not applied due to the CBT migration. The issue has now been fixed.
8
+
9
+ # 1.9.8
10
+
11
+ - **DotProvider** - Variables package handled and separated the component & variable import files
12
+ - **Dependency**: @zohodesk/variables@1.3.0 , @zohodesk/components@1.6.6
13
+
5
14
  # 1.9.7
6
15
 
7
16
  - **Upload** => upload_overlay_bg color contrast fixed
@@ -14,15 +14,15 @@
14
14
  height: 100% ;
15
15
  width: 100% ;
16
16
  position: absolute;
17
- top: 0
17
+ top: 0
18
18
  }
19
19
 
20
20
  [dir=ltr] .disableLayer {
21
- left: 0
21
+ left: 0
22
22
  }
23
23
 
24
24
  [dir=rtl] .disableLayer {
25
- right: 0
25
+ right: 0
26
26
  }
27
27
 
28
28
  .attachmentHover {
@@ -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/themes/variables/blue/Blue_Light_Variables"),
6
+ Lib_Blue_Dark_Variables: () => import(
7
+ /* webpackChunkName: 'Lib_Blue_Dark_Variables' */
8
+ "../libraryChunks/themes/variables/blue/Blue_Dark_Variables"),
9
+ Lib_Blue_PureDark_Variables: () => import(
10
+ /* webpackChunkName: 'Lib_Blue_PureDark_Variables' */
11
+ "../libraryChunks/themes/variables/blue/Blue_PureDark_Variables"),
12
+ Lib_Green_Light_Variables: () => import(
13
+ /* webpackChunkName: 'Lib_Green_Light_Variables' */
14
+ "../libraryChunks/themes/variables/green/Green_Light_Variables"),
15
+ Lib_Green_Dark_Variables: () => import(
16
+ /* webpackChunkName: 'Lib_Green_Dark_Variables' */
17
+ "../libraryChunks/themes/variables/green/Green_Dark_Variables"),
18
+ Lib_Green_PureDark_Variables: () => import(
19
+ /* webpackChunkName: 'Lib_Green_PureDark_Variables' */
20
+ "../libraryChunks/themes/variables/green/Green_PureDark_Variables"),
21
+ Lib_Orange_Light_Variables: () => import(
22
+ /* webpackChunkName: 'Lib_Orange_Light_Variables' */
23
+ "../libraryChunks/themes/variables/orange/Orange_Light_Variables"),
24
+ Lib_Orange_Dark_Variables: () => import(
25
+ /* webpackChunkName: 'Lib_Orange_Dark_Variables' */
26
+ "../libraryChunks/themes/variables/orange/Orange_Dark_Variables"),
27
+ Lib_Orange_PureDark_Variables: () => import(
28
+ /* webpackChunkName: 'Lib_Orange_PureDark_Variables' */
29
+ "../libraryChunks/themes/variables/orange/Orange_PureDark_Variables"),
30
+ Lib_Red_Light_Variables: () => import(
31
+ /* webpackChunkName: 'Lib_Red_Light_Variables' */
32
+ "../libraryChunks/themes/variables/red/Red_Light_Variables"),
33
+ Lib_Red_Dark_Variables: () => import(
34
+ /* webpackChunkName: 'Lib_Red_Dark_Variables' */
35
+ "../libraryChunks/themes/variables/red/Red_Dark_Variables"),
36
+ Lib_Red_PureDark_Variables: () => import(
37
+ /* webpackChunkName: 'Lib_Red_PureDark_Variables' */
38
+ "../libraryChunks/themes/variables/red/Red_PureDark_Variables"),
39
+ Lib_Yellow_Light_Variables: () => import(
40
+ /* webpackChunkName: 'Lib_Yellow_Light_Variables' */
41
+ "../libraryChunks/themes/variables/yellow/Yellow_Light_Variables"),
42
+ Lib_Yellow_Dark_Variables: () => import(
43
+ /* webpackChunkName: 'Lib_Yellow_Dark_Variables' */
44
+ "../libraryChunks/themes/variables/yellow/Yellow_Dark_Variables"),
45
+ Lib_Yellow_PureDark_Variables: () => import(
46
+ /* webpackChunkName: 'Lib_Yellow_PureDark_Variables' */
47
+ "../libraryChunks/themes/variables/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,10 +1,10 @@
1
1
  .imgFullSize{
2
2
  height:100% ;
3
- width:100%
3
+ width:100%
4
4
  }
5
5
  .imgMaxFullSize{
6
6
  max-height:100% ;
7
- max-width:100%
7
+ max-width:100%
8
8
  }
9
9
  .imgFullSize, .imgMaxFullSize{
10
10
  /* Variable:Ignore */
@@ -471,7 +471,7 @@
471
471
  transform: translateX(calc(var(--local_translate_movement) * -1));
472
472
  }
473
473
  .carouselItem {
474
- width: 100%
474
+ width: 100%
475
475
  }
476
476
 
477
477
 
@@ -1,23 +1,23 @@
1
1
  .varClass {
2
- --separator_fontSize: 15px;
2
+ --separator_fontSize: var(--zd_font_size15);
3
3
  }
4
4
  .separator {
5
5
  font-size: var(--separator_fontSize);
6
6
  margin: 0 var(--zd_size5) ;
7
7
  }
8
8
  .dot {
9
- --separator_fontSize: 8px;
9
+ --separator_fontSize: var(--zd_font_size8);
10
10
  }
11
11
  .slash {
12
- --separator_fontSize: 10px;
12
+ --separator_fontSize: var(--zd_font_size10);
13
13
  /* line-height: var(--zd_size10); */
14
14
  }
15
15
  .arrow {
16
- --separator_fontSize: 8px;
16
+ --separator_fontSize: var(--zd_font_size8);
17
17
  /* line-height: var(--zd_size7); */
18
18
  }
19
19
  .comma {
20
- --separator_fontSize: 15px;
20
+ --separator_fontSize: var(--zd_font_size15);
21
21
  /* line-height: var(--zd_size13); */
22
22
  }
23
23
  .none {
@@ -2,8 +2,8 @@
2
2
  --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
3
3
  --tag_text_color: var(--zdt_tagWithIconGrey_text);
4
4
  --tag_border_color: var(--zdt_tagWithIconGrey_border);
5
- --tag_small_fontSize: 10px;
6
- --tag_large_fontSize: 12px;
5
+ --tag_small_fontSize: var(--zd_font_size10);
6
+ --tag_large_fontSize: var(--zd_font_size12);
7
7
  }
8
8
 
9
9
  .wrapper {
@@ -20,7 +20,7 @@
20
20
 
21
21
  .small, .large {
22
22
  border: 1px solid var(--tag_border_color);
23
- border-radius: var(--zd_size4);
23
+ border-radius: 4px;
24
24
  padding: 0 var(--zd_size6) ;
25
25
  }
26
26
 
@@ -4,40 +4,49 @@
4
4
  vertical-align: middle;
5
5
  cursor: pointer;
6
6
  padding: var(--zd_size5) ;
7
- border-radius: var(--zd_size2);
7
+ border-radius: 2px;
8
8
  }
9
+
9
10
  .light {
10
11
  background-color: var(--zdt_upload_default_bg);
11
12
  }
13
+
12
14
  .night {
13
15
  background-color: var(--zdt_upload_night_bg);
14
16
  }
17
+
15
18
  .overlay {
16
19
  position: absolute;
17
20
  top: 0 ;
18
21
  bottom: 0 ;
19
22
  background-color: var(--zdt_upload_overlay_bg);
20
23
  }
24
+
21
25
  [dir=ltr] .overlay {
22
26
  left: 0 ;
23
27
  right: 0 ;
24
28
  }
29
+
25
30
  [dir=rtl] .overlay {
26
31
  right: 0 ;
27
32
  left: 0 ;
28
33
  }
34
+
29
35
  .small {
30
36
  width: var(--zd_size50) ;
31
37
  height: var(--zd_size40) ;
32
38
  }
39
+
33
40
  .medium {
34
41
  height: var(--zd_size49) ;
35
42
  width: var(--zd_size65) ;
36
43
  }
44
+
37
45
  .preview {
38
46
  opacity: 0.4;
39
47
  cursor: default;
40
48
  }
49
+
41
50
  .loader {
42
51
  position: absolute;
43
52
  bottom: calc( var(--zd_size1) * -1 ) ;
@@ -45,31 +54,40 @@
45
54
  width: 0% ;
46
55
  transition: width var(--zd_transition6) ease;
47
56
  }
57
+
48
58
  [dir=ltr] .loader {
49
59
  left: 0 ;
50
60
  }
61
+
51
62
  [dir=rtl] .loader {
52
63
  right: 0 ;
53
64
  }
65
+
54
66
  .light .loader {
55
67
  background: var(--zdt_upload_loader_default_bg);
56
68
  }
69
+
57
70
  .night .loader {
58
71
  background: var(--zdt_upload_loader_night_bg);
59
72
  }
73
+
60
74
  .uploadimage {
61
75
  width: 100% ;
62
76
  height: 100% ;
63
77
  }
78
+
64
79
  [dir=ltr] .attachInfo {
65
80
  padding: var(--zd_size4) 0 0 var(--zd_size8) ;
66
81
  }
82
+
67
83
  [dir=rtl] .attachInfo {
68
84
  padding: var(--zd_size4) var(--zd_size8) 0 0 ;
69
85
  }
86
+
70
87
  .fileIcon {
71
88
  font-size: var(--zd_font_size14) ;
72
89
  }
90
+
73
91
  .attachsize {
74
92
  font-size: var(--zd_font_size10) ;
75
93
  letter-spacing: 1px;
@@ -77,12 +95,15 @@
77
95
  text-transform: uppercase;
78
96
  padding: var(--zd_size4) 0 var(--zd_size2) ;
79
97
  }
98
+
80
99
  .light .attachsize {
81
100
  color: var(--zdt_upload_attachsize_default_text);
82
101
  }
102
+
83
103
  .night .attachsize {
84
104
  color: var(--zdt_upload_attachsize_night_text);
85
105
  }
106
+
86
107
  .uploadclose {
87
108
  height: var(--zd_size12) ;
88
109
  width: var(--zd_size12) ;
@@ -92,34 +113,42 @@
92
113
  font-size: var(--zd_font_size12) ;
93
114
  text-align: center;
94
115
  }
116
+
95
117
  [dir=ltr] .uploadclose {
96
118
  right: 0 ;
97
119
  }
120
+
98
121
  [dir=rtl] .uploadclose {
99
122
  left: 0 ;
100
123
  }
124
+
101
125
  .light .uploadclose {
102
126
  color: var(--zdt_upload_uploadclose_default_text);
103
127
  background-color: var(--zdt_upload_uploadclose_default_bg);
104
128
  }
129
+
105
130
  .light .uploadclose:hover {
106
131
  background-color: var(--zdt_upload_uploadclose_default_hover_text);
107
132
  }
133
+
108
134
  .night .uploadclose {
109
135
  color: var(--zdt_upload_uploadclose_night_text);
110
136
  background-color: var(--zdt_upload_uploadclose_night_bg);
111
137
  }
138
+
112
139
  .night .uploadclose:hover {
113
140
  background-color: var(--zdt_upload_uploadclose_night_hover_text);
114
141
  }
142
+
115
143
  .uploadclose,
116
144
  .overlay {
117
145
  opacity: 0;
118
146
  visibility: hidden;
119
147
  transition: var(--zd_transition3);
120
148
  }
149
+
121
150
  .container:hover .uploadclose,
122
151
  .container:hover .overlay {
123
152
  opacity: 1;
124
153
  visibility: visible;
125
- }
154
+ }