@zohodesk/components 1.0.0-temp-40 → 1.0.0-temp-41

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 (170) hide show
  1. package/README.md +33 -20
  2. package/es/AppContainer/AppContainer.js +3 -6
  3. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  4. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  5. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  6. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  7. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  8. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  9. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  10. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  11. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  12. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  13. package/es/Appearance/default/mode/defaultMode.module.css +1 -1
  14. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  15. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  16. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  17. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  18. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  19. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  20. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  21. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  22. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  23. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  24. package/es/Avatar/Avatar.js +1 -2
  25. package/es/Avatar/__tests__/Avatar.spec.js +1 -0
  26. package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +1 -0
  27. package/es/Button/__tests__/Button.spec.js +1 -0
  28. package/es/Buttongroup/__test__/Buttongroup.spec.js +1 -0
  29. package/es/DateTime/DateTime.js +3 -6
  30. package/es/DateTime/DateWidget.js +2 -5
  31. package/es/DateTime/DateWidget.module.css +0 -4
  32. package/es/DateTime/YearView.js +5 -6
  33. package/es/DateTime/common.js +2 -9
  34. package/es/DateTime/dateFormatUtils/dateFormat.js +57 -76
  35. package/es/DateTime/dateFormatUtils/index.js +7 -12
  36. package/es/DateTime/dateFormatUtils/timeChange.js +3 -4
  37. package/es/DateTime/dateFormatUtils/yearChange.js +3 -4
  38. package/es/DateTime/validator.js +1 -0
  39. package/es/Label/__tests__/Label.spec.js +2 -0
  40. package/es/Layout/utils.js +1 -2
  41. package/es/ListItem/ListItem.js +2 -0
  42. package/es/ListItem/ListItemWithIcon.js +2 -0
  43. package/es/MultiSelect/AdvancedGroupMultiSelect.js +10 -15
  44. package/es/MultiSelect/AdvancedMultiSelect.js +7 -6
  45. package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  46. package/es/MultiSelect/MultiSelect.js +10 -15
  47. package/es/MultiSelect/MultiSelect.module.css +8 -13
  48. package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
  49. package/es/MultiSelect/SelectedOptions.js +3 -2
  50. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +1 -2
  51. package/es/Popup/Popup.js +8 -14
  52. package/es/Popup/viewPort.js +9 -14
  53. package/es/Provider/Config.js +2 -1
  54. package/es/Provider/IdProvider.js +4 -5
  55. package/es/Provider/LibraryContext.js +5 -6
  56. package/es/Provider/NumberGenerator/NumberGenerator.js +15 -17
  57. package/es/Provider/ZindexProvider.js +4 -5
  58. package/es/Radio/Radio.js +1 -2
  59. package/es/Radio/Radio.module.css +2 -2
  60. package/es/Responsive/CustomResponsive.js +8 -11
  61. package/es/Responsive/ResizeComponent.js +1 -3
  62. package/es/Responsive/Responsive.js +9 -12
  63. package/es/Responsive/docs/Responsive__Custom.docs.js +44 -49
  64. package/es/Responsive/docs/Responsive__default.docs.js +74 -77
  65. package/es/Responsive/sizeObservers.js +1 -5
  66. package/es/Ribbon/__tests__/Ribbon.spec.js +1 -0
  67. package/es/RippleEffect/RippleEffect.js +7 -4
  68. package/es/RippleEffect/RippleEffect.module.css +3 -0
  69. package/es/Select/GroupSelect.js +1 -2
  70. package/es/Select/Select.js +1 -2
  71. package/es/Select/Select.module.css +1 -1
  72. package/es/Select/SelectWithAvatar.js +7 -4
  73. package/es/Select/docs/Select__default.docs.js +1 -2
  74. package/es/Stencils/__tests__/Stencils.spec.js +1 -0
  75. package/es/Tab/Tab.js +26 -27
  76. package/es/Tab/TabContent.js +14 -17
  77. package/es/Tab/TabContentWrapper.js +14 -17
  78. package/es/Tab/TabWrapper.js +14 -15
  79. package/es/Tab/Tabs.js +15 -4
  80. package/es/Tab/docs/Tab__default.docs.js +1 -0
  81. package/es/Tag/Tag.js +10 -4
  82. package/es/Tag/Tag.module.css +14 -11
  83. package/es/Tag/docs/Tag__default.docs.js +70 -0
  84. package/es/TextBox/__tests__/TextBox.spec.js +1 -0
  85. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  86. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -2
  87. package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +1 -0
  88. package/es/Textarea/__tests__/Textarea.spec.js +1 -0
  89. package/es/Tooltip/Tooltip.js +1 -0
  90. package/es/a11y/FocusScope/FocusScope.js +4 -10
  91. package/es/beta/FocusRing/FocusRing.js +1 -4
  92. package/es/utils/Common.js +11 -31
  93. package/es/utils/datetime/common.js +3 -6
  94. package/es/utils/dropDownUtils.js +5 -6
  95. package/es/utils/getInitial.js +1 -3
  96. package/lib/AppContainer/AppContainer.js +4 -6
  97. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  98. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  99. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  100. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  101. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  102. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  103. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  104. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  105. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  106. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  107. package/lib/Appearance/default/mode/defaultMode.module.css +1 -1
  108. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  109. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  110. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  111. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  112. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  113. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  114. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  115. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  116. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  117. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  118. package/lib/Card/Card.js +1 -1
  119. package/lib/Card/index.js +6 -6
  120. package/lib/DateTime/CalendarView.js +1 -1
  121. package/lib/DateTime/DateWidget.module.css +0 -4
  122. package/lib/DateTime/constants.js +1 -1
  123. package/lib/DateTime/dateFormatUtils/dateFormat.js +2 -2
  124. package/lib/DateTime/dateFormatUtils/index.js +13 -13
  125. package/lib/DateTime/objectUtils.js +1 -1
  126. package/lib/DropDown/DropDown.js +1 -1
  127. package/lib/Layout/Box.js +1 -1
  128. package/lib/Layout/Container.js +1 -1
  129. package/lib/Layout/index.js +4 -4
  130. package/lib/Layout/utils.js +2 -2
  131. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
  132. package/lib/MultiSelect/AdvancedMultiSelect.js +6 -3
  133. package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  134. package/lib/MultiSelect/MultiSelect.js +7 -4
  135. package/lib/MultiSelect/MultiSelect.module.css +8 -13
  136. package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -3
  137. package/lib/MultiSelect/SelectedOptions.js +3 -2
  138. package/lib/PopOver/PopOver.js +1 -1
  139. package/lib/Provider/Config.js +2 -1
  140. package/lib/Provider/IdProvider.js +3 -3
  141. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  142. package/lib/Provider/ZindexProvider.js +1 -1
  143. package/lib/Radio/Radio.js +1 -3
  144. package/lib/Radio/Radio.module.css +2 -2
  145. package/lib/Responsive/CustomResponsive.js +1 -1
  146. package/lib/Responsive/Responsive.js +2 -3
  147. package/lib/Responsive/sizeObservers.js +2 -3
  148. package/lib/Responsive/utils/index.js +2 -3
  149. package/lib/RippleEffect/RippleEffect.js +7 -4
  150. package/lib/RippleEffect/RippleEffect.module.css +3 -0
  151. package/lib/Select/Select.module.css +1 -1
  152. package/lib/Select/SelectWithAvatar.js +7 -4
  153. package/lib/Tab/Tabs.js +13 -2
  154. package/lib/Tab/index.js +10 -10
  155. package/lib/Tag/Tag.js +10 -4
  156. package/lib/Tag/Tag.module.css +14 -11
  157. package/lib/Tag/docs/Tag__default.docs.js +70 -0
  158. package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
  159. package/lib/TextBoxIcon/TextBoxIcon.module.css +5 -2
  160. package/lib/a11y/FocusScope/FocusScope.js +1 -1
  161. package/lib/index.js +308 -308
  162. package/lib/utils/Common.js +16 -20
  163. package/lib/utils/datetime/common.js +9 -9
  164. package/lib/utils/dropDownUtils.js +1 -1
  165. package/package.json +7 -3
  166. package/preprocess/componentThemeColors.js +119 -0
  167. package/preprocess/ctaThemeColors.js +95 -0
  168. package/preprocess/index.js +2 -0
  169. package/preprocess/json/componentVariableJson.js +259 -0
  170. package/preprocess/json/ctaVariableJson.js +337 -0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # DOT Style Guide
2
2
 
3
- In this Package we Provide Some Basic Components to Build Web App
3
+ In this Package, we Provide Some Basic Components to Build Web App
4
4
 
5
5
  - Avatar
6
6
  - AvatarTeam
@@ -32,9 +32,22 @@ In this Package we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-222
36
+
37
+ - Tabs=> isResponsive condition handled properly
38
+
39
+ # 1.0.0-alpha-221
40
+
41
+ - blueDefaultTheme & blueDarkTheme class name added in Blue CTATheme & ComponentTheme files
42
+
43
+ # 1.0.0-alpha-220
44
+
45
+ - Tooltip Delay Controlled to Improve Perf
46
+
35
47
  # 1.0.0-alpha-219
36
48
 
37
49
  - ContextOptimizer => ShallowEqal function issue solved
50
+
38
51
  # 1.0.0-alpha-218
39
52
 
40
53
  - Select => Custom props undefined issue solved
@@ -68,7 +81,7 @@ In this Package we Provide Some Basic Components to Build Web App
68
81
 
69
82
  # 1.0.0-alpha-211
70
83
 
71
- - Lato font reference changed from local to Zoho URL(webfonts)
84
+ - Lato font reference changed from local to Zoho URL(web fonts)
72
85
 
73
86
  # 1.0.0-alpha-210
74
87
 
@@ -112,7 +125,7 @@ In this Package we Provide Some Basic Components to Build Web App
112
125
 
113
126
  # 1.0.0-alpha-202
114
127
 
115
- - MultiSelect - scrolltop issue fix
128
+ - MultiSelect - scroll top issue fix
116
129
 
117
130
  # 1.0.0-alpha-201
118
131
 
@@ -173,7 +186,7 @@ In this Package we Provide Some Basic Components to Build Web App
173
186
 
174
187
  # 1.0.0-alpha-188
175
188
 
176
- - Popup => popup with in popup open body click issue fixed
189
+ - Popup => popup within popup open body click issue fixed
177
190
 
178
191
  # 1.0.0-alpha-187
179
192
 
@@ -189,7 +202,7 @@ In this Package we Provide Some Basic Components to Build Web App
189
202
 
190
203
  # 1.0.0-alpha-184
191
204
 
192
- - Palette Based Folder Structure Changed.
205
+ - Palette-Based Folder Structure Changed.
193
206
  - data-theme changed to data-mode
194
207
  - data-palette changed to data-theme
195
208
 
@@ -243,7 +256,7 @@ In this Package we Provide Some Basic Components to Build Web App
243
256
 
244
257
  # 1.0.0-alpha-173
245
258
 
246
- - code based issue fixed ( const to let)
259
+ - code-based issue fixed ( const to let)
247
260
 
248
261
  # 1.0.0-alpha-172
249
262
 
@@ -395,7 +408,7 @@ In this Package we Provide Some Basic Components to Build Web App
395
408
  # 1.0.0-alpha-144
396
409
 
397
410
  - PortalLayer Moved to deprecated folder
398
- - A11y Id Added For Select,MultiSelect Based Components
411
+ - A11y Id Added For Select, MultiSelect Based Components
399
412
  - Semantic Button Default Font and Padding Resetted.
400
413
  - LisItem - dataId setted default
401
414
 
@@ -458,7 +471,7 @@ In this Package we Provide Some Basic Components to Build Web App
458
471
  # 1.0.0-alpha-137
459
472
 
460
473
  - ally Fixes
461
- - htmlId prop added in select component
474
+ - htmlId prop added in the select component
462
475
  - AdvancedGroupMultiSelect => scroll fetch issue fix
463
476
 
464
477
  # 1.0.0-alpha-136
@@ -476,7 +489,7 @@ In this Package we Provide Some Basic Components to Build Web App
476
489
 
477
490
  # 1.0.0-alpha-134
478
491
 
479
- - Reset Code Spliting
492
+ - Reset Code Splitting
480
493
 
481
494
  # 1.0.0-alpha-133
482
495
 
@@ -511,7 +524,7 @@ In this Package we Provide Some Basic Components to Build Web App
511
524
 
512
525
  # 1.0.0-alpha-126
513
526
 
514
- - AllY implementation for button, textbox
527
+ - AllY implementation for the button, textbox
515
528
  - Semantic button added
516
529
 
517
530
  # 1.0.0-alpha-125
@@ -678,7 +691,7 @@ In this Package we Provide Some Basic Components to Build Web App
678
691
 
679
692
  # 1.0.0-alpha-94
680
693
 
681
- - Tab Maping Fix
694
+ - Tab Mapping Fix
682
695
 
683
696
  # 1.0.0-alpha-93
684
697
 
@@ -687,7 +700,7 @@ In this Package we Provide Some Basic Components to Build Web App
687
700
  # 1.0.0-alpha-92
688
701
 
689
702
  - Tab Custom Element Fix
690
- - Avatar xlarge sze changes
703
+ - Avatar xlarge size changes
691
704
 
692
705
  # 1.0.0-alpha-91
693
706
 
@@ -713,7 +726,7 @@ In this Package we Provide Some Basic Components to Build Web App
713
726
  # 1.0.0-alpha-87
714
727
 
715
728
  - Date Component TimeZone Fix
716
- - Unwanted Funtctions Removed from utils/Common
729
+ - Unwanted Functions Removed from utils/Common
717
730
 
718
731
  # 1.0.0-alpha-86
719
732
 
@@ -743,7 +756,7 @@ In this Package we Provide Some Basic Components to Build Web App
743
756
 
744
757
  # 1.0.0-alpha-81
745
758
 
746
- - variant - secondary type removed in Label component
759
+ - variant - secondary type removed in a Label component
747
760
  - customClass Added For Label component
748
761
  - Radio, CheckBox SVG Updated, and Palette Danger Added, isFilled Added For Transparent BG
749
762
  - MultiSelect Avatar DataId Changes
@@ -754,7 +767,7 @@ In this Package we Provide Some Basic Components to Build Web App
754
767
 
755
768
  # 1.0.0-alpha-79
756
769
 
757
- - Tag danger,default color changed to dot_bg_hawkesBlue
770
+ - Tag danger, default color changed to dot_bg_hawkesBlue
758
771
  - MultiSelectWithAvatar size prop passed for tags Parent
759
772
 
760
773
  # 1.0.0-alpha-78
@@ -819,7 +832,7 @@ In this Package we Provide Some Basic Components to Build Web App
819
832
  # 1.0.0-alpha-67
820
833
 
821
834
  - Adding TourId and isAbsolutePositioningNeeded key in DropBox
822
- - Adding TourId in Box, Container and Tab components
835
+ - Adding TourId in Box, Container, and Tab components
823
836
 
824
837
  # 1.0.0-alpha-66
825
838
 
@@ -835,7 +848,7 @@ In this Package we Provide Some Basic Components to Build Web App
835
848
 
836
849
  - isDisabled Option added for List Item Based Atoms
837
850
  - needBorder and disableAction Option added for MultiSelect
838
- - Select BoxSize Added for Drop Box
851
+ - Select BoxSize Added for DropBox
839
852
 
840
853
  # 1.0.0-alpha-62
841
854
 
@@ -863,7 +876,7 @@ In this Package we Provide Some Basic Components to Build Web App
863
876
  # 1.0.0-alpha-57
864
877
 
865
878
  - Base Font Version 3 Updated
866
- - Advanced Group Multi Select Added
879
+ - Advanced Group Multi-Select Added
867
880
 
868
881
  # 1.0.0-alpha-56
869
882
 
@@ -882,14 +895,14 @@ In this Package we Provide Some Basic Components to Build Web App
882
895
 
883
896
  # 1.0.0-alpha-53
884
897
 
885
- - CustomScroll Maked Optional
898
+ - CustomScroll Make Optional
886
899
  - Reset Code Implemented in Portal
887
900
  - Icon Line-Height Remove
888
901
  - New Reports Icons Added
889
902
 
890
903
  # 1.0.0-alpha-52
891
904
 
892
- - Advance Multi Select Added
905
+ - Advance Multi-Select Added
893
906
 
894
907
  # 1.0.0-alpha-51
895
908
 
@@ -13,6 +13,7 @@ import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
13
13
  import '@zohodesk/variables/lib/transitionVariables.module.css';
14
14
  import '@zohodesk/variables/lib/no_transitionVariables.module.css';
15
15
  import style from './AppContainer.module.css';
16
+ import { getLibraryConfig } from '../Provider/Config';
16
17
  export default class AppContainer extends React.Component {
17
18
  constructor(props) {
18
19
  super(props);
@@ -22,6 +23,7 @@ export default class AppContainer extends React.Component {
22
23
  this.removeTimeout = this.removeTimeout.bind(this);
23
24
  this.getContainerRef = this.getContainerRef.bind(this);
24
25
  this.timer = null;
26
+ this.tooltipDebounce = getLibraryConfig('tooltipDebounce');
25
27
  }
26
28
 
27
29
  mouseOverDispatch(e) {
@@ -40,12 +42,8 @@ export default class AppContainer extends React.Component {
40
42
  if (this.timer) {
41
43
  this.timer = clearTimeout(this.timer);
42
44
  }
43
- /** Adding timeout before showing tooltip */
44
45
 
45
- /**Remove this tooltip debounce */
46
-
47
-
48
- this.timer = setTimeout(() => this.mouseOverDispatch(e), window.tooltipDebounce || 500);
46
+ this.timer = setTimeout(() => this.mouseOverDispatch(e), this.tooltipDebounce);
49
47
  }
50
48
 
51
49
  getContainerRef(ref) {
@@ -80,7 +78,6 @@ export default class AppContainer extends React.Component {
80
78
  children,
81
79
  tagName,
82
80
  dataId,
83
- eleRef,
84
81
  tooltipClass,
85
82
  tooltipParentClass,
86
83
  customProps
@@ -1,34 +1,34 @@
1
- [data-mode='dark'][data-theme='blue'] {
2
- --zdt_cta_primary_text: #479dff;
3
- --zdt_cta_primary_hover_text: #6eb2ff;
4
- --zdt_cta_primary_bg: #479dff;
5
- --zdt_cta_primary_hover_bg: #1065cc;
6
- --zdt_cta_primary_border: #479dff;
7
- --zdt_cta_primary_hover_border: #1065cc;
8
- --zdt_cta_primary_box_shadow: rgb(10, 115, 235, 0.2);
9
- --zdt_cta_primary_hover_box_shadow: rgb(0, 83, 184, 0.25);
10
- --zdt_cta_primary_light_bg: #2c3b4d;
11
- --zdt_cta_primary_light_hover_bg: #262f3d;
12
- --zdt_cta_primary_light_border: var(--zd_border_primary13);
13
- --zdt_cta_secondary_bg: #479dff;
14
- --zdt_cta_secondary_text: var(--dot_text_white);
15
- --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
- --zdt_cta_secondary_light_border: #3f536b;
17
- --zdt_cta_alpha_text: #479dff;
18
- --zdt_cta_alpha_hover_text: #6eb2ff;
19
- --zdt_cta_alpha_border: #479dff;
20
- --zdt_cta_alpha_hover_border: #1065cc;
21
- --zdt_cta_alpha_bg: #253142;
22
- --zdt_cta_beta_border: #479dff;
23
- --zdt_cta_grey_10_bg: #262f3d;
24
- --zdt_cta_grey_10_border: #262f3d;
25
- --zdt_cta_grey_15_bg: #2d3748;
26
- --zdt_cta_grey_15_border: #2d3748;
27
- --zdt_cta_grey_20_bg: #161b23;
28
- --zdt_cta_grey_35_bg: #384157;
29
- --zdt_cta_grey_35_text: #384157;
30
- --zdt_cta_grey_35_border: #384157;
31
- --zdt_cta_grey_40_bg: #3e4d63;
32
- --zdt_cta_grey_40_text: #3e4d63;
33
- --zdt_cta_grey_40_border: #3e4d63;
1
+ [data-mode='dark'][data-theme='blue'], :global(.blueDarkTheme) [data-desk-theme="blue"] {
2
+ --zdt_cta_primary_text: #479dff;
3
+ --zdt_cta_primary_hover_text: #6eb2ff;
4
+ --zdt_cta_primary_bg: #479dff;
5
+ --zdt_cta_primary_hover_bg: #1065cc;
6
+ --zdt_cta_primary_border: #479dff;
7
+ --zdt_cta_primary_hover_border: #1065cc;
8
+ --zdt_cta_primary_box_shadow: rgba(10, 115, 235, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(0, 83, 184, 0.25);
10
+ --zdt_cta_primary_light_bg: #2c3b4d;
11
+ --zdt_cta_primary_light_hover_bg: #262f3d;
12
+ --zdt_cta_primary_light_border: var(--zd_border_primary13);
13
+ --zdt_cta_secondary_bg: #479dff;
14
+ --zdt_cta_secondary_text: var(--dot_text_white);
15
+ --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
+ --zdt_cta_secondary_light_border: #3f536b;
17
+ --zdt_cta_alpha_text: #479dff;
18
+ --zdt_cta_alpha_hover_text: #6eb2ff;
19
+ --zdt_cta_alpha_border: #479dff;
20
+ --zdt_cta_alpha_hover_border: #1065cc;
21
+ --zdt_cta_alpha_bg: #253142;
22
+ --zdt_cta_beta_border: #479dff;
23
+ --zdt_cta_grey_10_bg: #262f3d;
24
+ --zdt_cta_grey_10_border: #262f3d;
25
+ --zdt_cta_grey_15_bg: #2d3748;
26
+ --zdt_cta_grey_15_border: #2d3748;
27
+ --zdt_cta_grey_20_bg: #161b23;
28
+ --zdt_cta_grey_35_bg: #384157;
29
+ --zdt_cta_grey_35_text: #384157;
30
+ --zdt_cta_grey_35_border: #384157;
31
+ --zdt_cta_grey_40_bg: #3e4d63;
32
+ --zdt_cta_grey_40_text: #3e4d63;
33
+ --zdt_cta_grey_40_border: #3e4d63
34
34
  }
@@ -1,48 +1,42 @@
1
- [data-mode='dark'][data-theme='blue'] {
2
- /* stencil */
3
- --zdt_stencil_dark_bg: #383f55;
4
- --zdt_stencil_dark_gradient_bg: linear-gradient(
5
- left,
6
- #383f55 0,
7
- #414963 33.33%,
8
- #414961 66.66%,
9
- #383f55 100%
10
- );
11
-
12
- /* dropbox */
13
- --zdt_dropbox_dark_bg: #232b38;
14
-
15
- /* listitem */
16
- --zdt_listitem_dark_bg: #232b38;
17
- --zdt_listitem_dark_text: #e2e4e6;
18
- --zdt_listitem_dark_effect_bg: #262f3d;
19
- --zdt_listitem_dark_active_bg: #3b4d6d;
20
- --zdt_listitem_dark_tickicon: #479dff;
21
-
22
- /* tag */
23
- --zdt_tag_dark_text: #d0d0d4;
24
- --zdt_tag_dark_bg: #42485f;
25
- --zdt_tag_dark_hover_text: #d0d0d4;
26
- --zdt_tag_dark_hover_bg: #503348;
27
- --zdt_tag_dark_close_bg: #864654;
28
- --zdt_tag_dark_close_text: #de3535;
29
-
30
- /* multiselect */
31
- --zdt_multiselect_dark_border: #4b5168;
32
- --zdt_multiselect_darkmsg_bg: #232b38;
33
- --zdt_multiselect_darkmsg_text: #d0d0d4;
34
- --zdt_multiselect_darkdelete_hover_text: #e2e4e6;
35
-
36
- /* avatar */
37
- --zdt_avatar_white_border: #a8b0bd;
38
- --zdt_avatar_white_text: var(--dot_text_white);
39
-
40
- /* label */
41
- --zdt_label_dark_text: #d0d0d4;
42
-
43
- /* textbox */
44
- --zdt_textbox_light_text: var(--dot_text_white);
45
-
46
- /* dropdown */
47
- --zdt_dropdown_darkheading_text: #a8b0bd;
1
+ [data-mode='dark'][data-theme='blue'], :global(.blueDarkTheme) [data-desk-theme="blue"] {
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: #383f55;
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(left, #383f55 0, #414963 33.33%, #414961 66.66%, #383f55 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #232b38;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #232b38;
11
+ --zdt_listitem_dark_text: #e2e4e6;
12
+ --zdt_listitem_dark_effect_bg: #262f3d;
13
+ --zdt_listitem_dark_active_bg: #3b4d6d;
14
+ --zdt_listitem_dark_tickicon: #479dff;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: #42485f;
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: #503348;
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: #de3535;
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: #4b5168;
26
+ --zdt_multiselect_darkmsg_bg: #232b38;
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: #e2e4e6;
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: #a8b0bd;
32
+ --zdt_avatar_white_text: var(--dot_text_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_text_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: #a8b0bd;
48
42
  }
@@ -1,34 +1,34 @@
1
1
  [data-mode='dark'][data-theme='green'] {
2
- --zdt_cta_primary_text: #45a159;
3
- --zdt_cta_primary_hover_text: #5eba72;
4
- --zdt_cta_primary_bg: #45a159;
5
- --zdt_cta_primary_hover_bg: #0e7c1c;
6
- --zdt_cta_primary_border: #45a159;
7
- --zdt_cta_primary_hover_border: #0e7c1c;
8
- --zdt_cta_primary_box_shadow: rgba(38, 169, 66, 0.2);
9
- --zdt_cta_primary_hover_box_shadow: rgba(14, 117, 38, 0.25);
10
- --zdt_cta_primary_light_bg: #26373b;
11
- --zdt_cta_primary_light_hover_bg: #2d4e42;
12
- --zdt_cta_primary_light_border: #2d4e42;
13
- --zdt_cta_secondary_bg: #45a159;
14
- --zdt_cta_secondary_text: var(--dot_text_white);
15
- --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
- --zdt_cta_secondary_light_border: #2d4e42;
17
- --zdt_cta_alpha_text: #45a159;
18
- --zdt_cta_alpha_hover_text: #0e7c1c;
19
- --zdt_cta_alpha_border: #45a159;
20
- --zdt_cta_alpha_hover_border: #0e7c1c;
21
- --zdt_cta_alpha_bg: #2a433f;
22
- --zdt_cta_beta_border: #45a159;
23
- --zdt_cta_grey_10_bg: #262f3d;
24
- --zdt_cta_grey_10_border: #262f3d;
25
- --zdt_cta_grey_15_bg: #2d3748;
26
- --zdt_cta_grey_15_border: #2d3748;
27
- --zdt_cta_grey_20_bg: #161b23;
28
- --zdt_cta_grey_35_bg: #384157;
29
- --zdt_cta_grey_35_text: #384157;
30
- --zdt_cta_grey_35_border: #384157;
31
- --zdt_cta_grey_40_bg: #3e4d63;
32
- --zdt_cta_grey_40_text: #3e4d63;
33
- --zdt_cta_grey_40_border: #3e4d63;
2
+ --zdt_cta_primary_text: #45a159;
3
+ --zdt_cta_primary_hover_text: #5eba72;
4
+ --zdt_cta_primary_bg: #45a159;
5
+ --zdt_cta_primary_hover_bg: #0e7c1c;
6
+ --zdt_cta_primary_border: #45a159;
7
+ --zdt_cta_primary_hover_border: #0e7c1c;
8
+ --zdt_cta_primary_box_shadow: rgba(38, 169, 66, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(14, 117, 38, 0.25);
10
+ --zdt_cta_primary_light_bg: #26373b;
11
+ --zdt_cta_primary_light_hover_bg: #2d4e42;
12
+ --zdt_cta_primary_light_border: #2d4e42;
13
+ --zdt_cta_secondary_bg: #45a159;
14
+ --zdt_cta_secondary_text: var(--dot_text_white);
15
+ --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
+ --zdt_cta_secondary_light_border: #2d4e42;
17
+ --zdt_cta_alpha_text: #45a159;
18
+ --zdt_cta_alpha_hover_text: #0e7c1c;
19
+ --zdt_cta_alpha_border: #45a159;
20
+ --zdt_cta_alpha_hover_border: #0e7c1c;
21
+ --zdt_cta_alpha_bg: #2a433f;
22
+ --zdt_cta_beta_border: #45a159;
23
+ --zdt_cta_grey_10_bg: #262f3d;
24
+ --zdt_cta_grey_10_border: #262f3d;
25
+ --zdt_cta_grey_15_bg: #2d3748;
26
+ --zdt_cta_grey_15_border: #2d3748;
27
+ --zdt_cta_grey_20_bg: #161b23;
28
+ --zdt_cta_grey_35_bg: #384157;
29
+ --zdt_cta_grey_35_text: #384157;
30
+ --zdt_cta_grey_35_border: #384157;
31
+ --zdt_cta_grey_40_bg: #3e4d63;
32
+ --zdt_cta_grey_40_text: #3e4d63;
33
+ --zdt_cta_grey_40_border: #3e4d63
34
34
  }
@@ -1,48 +1,42 @@
1
1
  [data-mode='dark'][data-theme='green'] {
2
- /* stencil */
3
- --zdt_stencil_dark_bg: #383f55;
4
- --zdt_stencil_dark_gradient_bg: linear-gradient(
5
- left,
6
- #383f55 0,
7
- #414963 33.33%,
8
- #414961 66.66%,
9
- #383f55 100%
10
- );
11
-
12
- /* dropbox */
13
- --zdt_dropbox_dark_bg: #232b38;
14
-
15
- /* listitem */
16
- --zdt_listitem_dark_bg: #232b38;
17
- --zdt_listitem_dark_text: #e2e4e6;
18
- --zdt_listitem_dark_effect_bg: #262f3d;
19
- --zdt_listitem_dark_active_bg: #3b4d6d;
20
- --zdt_listitem_dark_tickicon: #45a159;
21
-
22
- /* tag */
23
- --zdt_tag_dark_text: #d0d0d4;
24
- --zdt_tag_dark_bg: #42485f;
25
- --zdt_tag_dark_hover_text: #d0d0d4;
26
- --zdt_tag_dark_hover_bg: #503348;
27
- --zdt_tag_dark_close_bg: #864654;
28
- --zdt_tag_dark_close_text: #de3535;
29
-
30
- /* multiselect */
31
- --zdt_multiselect_dark_border: #4b5168;
32
- --zdt_multiselect_darkmsg_bg: #232b38;
33
- --zdt_multiselect_darkmsg_text: #d0d0d4;
34
- --zdt_multiselect_darkdelete_hover_text: #e2e4e6;
35
-
36
- /* avatar */
37
- --zdt_avatar_white_border: #a8b0bd;
38
- --zdt_avatar_white_text: var(--dot_text_white);
39
-
40
- /* label */
41
- --zdt_label_dark_text: #d0d0d4;
42
-
43
- /* textbox */
44
- --zdt_textbox_light_text: var(--dot_text_white);
45
-
46
- /* dropdown */
47
- --zdt_dropdown_darkheading_text: #a8b0bd;
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: #383f55;
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(left, #383f55 0, #414963 33.33%, #414961 66.66%, #383f55 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #232b38;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #232b38;
11
+ --zdt_listitem_dark_text: #e2e4e6;
12
+ --zdt_listitem_dark_effect_bg: #262f3d;
13
+ --zdt_listitem_dark_active_bg: #3b4d6d;
14
+ --zdt_listitem_dark_tickicon: #45a159;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: #42485f;
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: #503348;
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: #de3535;
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: #4b5168;
26
+ --zdt_multiselect_darkmsg_bg: #232b38;
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: #e2e4e6;
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: #a8b0bd;
32
+ --zdt_avatar_white_text: var(--dot_text_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_text_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: #a8b0bd;
48
42
  }
@@ -1,34 +1,34 @@
1
1
  [data-mode='dark'][data-theme='orange'] {
2
- --zdt_cta_primary_text: #ff801f;
3
- --zdt_cta_primary_hover_text: #ffa866;
4
- --zdt_cta_primary_bg: #ff801f;
5
- --zdt_cta_primary_hover_bg: #a85100;
6
- --zdt_cta_primary_border: #ff801f;
7
- --zdt_cta_primary_hover_border: #a85100;
8
- --zdt_cta_primary_box_shadow: rgba(229, 119, 23, 0.2);
9
- --zdt_cta_primary_hover_box_shadow: rgba(178, 89, 0, 0.25);
10
- --zdt_cta_primary_light_bg: #323136;
11
- --zdt_cta_primary_light_hover_bg: #4f3c33;
12
- --zdt_cta_primary_light_border: #4f3c33;
13
- --zdt_cta_secondary_bg: #ff801f;
14
- --zdt_cta_secondary_text: var(--dot_text_white);
15
- --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
- --zdt_cta_secondary_light_border: #4f3c33;
17
- --zdt_cta_alpha_text: #ff801f;
18
- --zdt_cta_alpha_hover_text: #a85100;
19
- --zdt_cta_alpha_border: #ff801f;
20
- --zdt_cta_alpha_hover_border: #a85100;
21
- --zdt_cta_alpha_bg: #393335;
22
- --zdt_cta_beta_border: #ff801f;
23
- --zdt_cta_grey_10_bg: #262f3d;
24
- --zdt_cta_grey_10_border: #262f3d;
25
- --zdt_cta_grey_15_bg: #2d3748;
26
- --zdt_cta_grey_15_border: #2d3748;
27
- --zdt_cta_grey_20_bg: #161b23;
28
- --zdt_cta_grey_35_bg: #384157;
29
- --zdt_cta_grey_35_text: #384157;
30
- --zdt_cta_grey_35_border: #384157;
31
- --zdt_cta_grey_40_bg: #3e4d63;
32
- --zdt_cta_grey_40_text: #3e4d63;
33
- --zdt_cta_grey_40_border: #3e4d63;
2
+ --zdt_cta_primary_text: #ff801f;
3
+ --zdt_cta_primary_hover_text: #ffa866;
4
+ --zdt_cta_primary_bg: #ff801f;
5
+ --zdt_cta_primary_hover_bg: #a85100;
6
+ --zdt_cta_primary_border: #ff801f;
7
+ --zdt_cta_primary_hover_border: #a85100;
8
+ --zdt_cta_primary_box_shadow: rgba(229, 119, 23, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(178, 89, 0, 0.25);
10
+ --zdt_cta_primary_light_bg: #323136;
11
+ --zdt_cta_primary_light_hover_bg: #4f3c33;
12
+ --zdt_cta_primary_light_border: #4f3c33;
13
+ --zdt_cta_secondary_bg: #ff801f;
14
+ --zdt_cta_secondary_text: var(--dot_text_white);
15
+ --zdt_cta_secondary_border: rgba(255, 255, 255, 0.15);
16
+ --zdt_cta_secondary_light_border: #4f3c33;
17
+ --zdt_cta_alpha_text: #ff801f;
18
+ --zdt_cta_alpha_hover_text: #a85100;
19
+ --zdt_cta_alpha_border: #ff801f;
20
+ --zdt_cta_alpha_hover_border: #a85100;
21
+ --zdt_cta_alpha_bg: #393335;
22
+ --zdt_cta_beta_border: #ff801f;
23
+ --zdt_cta_grey_10_bg: #262f3d;
24
+ --zdt_cta_grey_10_border: #262f3d;
25
+ --zdt_cta_grey_15_bg: #2d3748;
26
+ --zdt_cta_grey_15_border: #2d3748;
27
+ --zdt_cta_grey_20_bg: #161b23;
28
+ --zdt_cta_grey_35_bg: #384157;
29
+ --zdt_cta_grey_35_text: #384157;
30
+ --zdt_cta_grey_35_border: #384157;
31
+ --zdt_cta_grey_40_bg: #3e4d63;
32
+ --zdt_cta_grey_40_text: #3e4d63;
33
+ --zdt_cta_grey_40_border: #3e4d63
34
34
  }