@zohodesk/dot 1.0.0-temp-226 → 1.0.0-temp-227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +593 -0
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +26 -0
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +26 -0
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +26 -0
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +26 -0
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +26 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +593 -0
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +26 -0
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +26 -0
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +26 -0
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +26 -0
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +26 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +593 -0
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +26 -0
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +26 -0
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +26 -0
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +26 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +26 -0
- package/es/DotProvider/hooks/useDotProvider.js +3 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +2 -0
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +2 -0
- package/es/DotProvider/utils/constants.js +1 -2
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +1 -15
- package/es/DotProvider/utils/themeColorAssetsConfig.js +1 -73
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/lookup/Lookup/Lookup.js +6 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +101 -4
- package/es/lookup/Lookup/__tests__/__snapshots__/Lookup.spec.js.snap +223 -2
- package/es/lookup/Lookup/props/propTypes.js +6 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +12 -5
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +87 -3
- package/es/lookup/header/ModuleHeader/props/defaultProps.js +2 -0
- package/es/lookup/header/ModuleHeader/props/propTypes.js +6 -0
- package/es/version2/lookup/AlertHeader/AlertHeader.js +19 -9
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +122 -3
- package/es/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1728 -3
- package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +6 -1
- package/es/version2/lookup/AlertHeader/props/defaultProps.js +2 -0
- package/es/version2/lookup/AlertHeader/props/propTypes.js +10 -0
- package/lib/DotProvider/hooks/useDotProvider.js +3 -3
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +4 -0
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +4 -0
- package/lib/DotProvider/utils/constants.js +2 -4
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +2 -17
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +2 -77
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/lookup/Lookup/Lookup.js +6 -4
- package/lib/lookup/Lookup/__tests__/Lookup.spec.js +101 -4
- package/lib/lookup/Lookup/__tests__/__snapshots__/Lookup.spec.js.snap +223 -2
- package/lib/lookup/Lookup/props/propTypes.js +8 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +13 -5
- package/lib/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +86 -2
- package/lib/lookup/header/ModuleHeader/props/defaultProps.js +2 -0
- package/lib/lookup/header/ModuleHeader/props/propTypes.js +6 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +19 -8
- package/lib/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +121 -2
- package/lib/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1728 -3
- package/lib/version2/lookup/AlertHeader/css/cssJSLogic.js +4 -2
- package/lib/version2/lookup/AlertHeader/props/defaultProps.js +2 -0
- package/lib/version2/lookup/AlertHeader/props/propTypes.js +10 -0
- package/package.json +6 -6
- package/es/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +0 -1
- package/es/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +0 -1
- package/es/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +0 -1
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +0 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +0 -2
- package/lib/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +0 -3
- package/lib/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +0 -3
- package/lib/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +0 -5
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +0 -5
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='blue']{
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.9 + var(--zdc_alpha_high)));
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link:hsla(212, calc(var(--zd-saturation, 1) * 100.00%), calc(63.92% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover:hsla(221, calc(var(--zd-saturation, 1) * 100.00%), calc(57.06% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
10
|
+
|
|
11
|
+
/* onboarding */
|
|
12
|
+
--zdt_onboarding_primary_gradient_border:hsla(212, calc(var(--zd-saturation, 1) * 91.84%), calc(48.04% + var(--zdc_default_inverse_low)), calc( 0.3 + var(--zdc_alpha_low)));
|
|
13
|
+
--zdt_onboarding_secondary_gradient_border:hsla(220, calc(var(--zd-saturation, 1) * 72.24%), calc(51.96% + var(--zdc_default_inverse_low)), calc( 0.51 + var(--zdc_alpha_low)));
|
|
14
|
+
--zdt_onboarding_gradient_border:hsla(220, calc(var(--zd-saturation, 1) * 72.24%), calc(51.96% + var(--zdc_default_inverse_low)), calc( 0 + var(--zdc_alpha_low)));
|
|
15
|
+
--zdt_onboarding_primary_button_shadow:hsla(212, calc(var(--zd-saturation, 1) * 91.84%), 48.04%, 0.25);
|
|
16
|
+
--zdt_onboarding_gradient_bg:hsla(213, calc(var(--zd-saturation, 1) * 19.57%), calc(18.04% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
17
|
+
|
|
18
|
+
/* attachment viewer */
|
|
19
|
+
--zdt_attachmentviewer_header_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_darker_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
20
|
+
--zdt_attachmentviewer_header_border:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(13.33% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
21
|
+
--zdt_attachmentviewer_footer_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
22
|
+
--zdt_attachmentviewer_arrow_bg_hover:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.4 + var(--zdc_alpha_high)));
|
|
23
|
+
|
|
24
|
+
/* loader */
|
|
25
|
+
--zdt_loader_bg:hsla(212, calc(var(--zd-saturation, 1) * 100.00%), 63.92%, 1);
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='green']{
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.9 + var(--zdc_alpha_high)));
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link:hsla(133, calc(var(--zd-saturation, 1) * 40.00%), calc(45.10% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover:hsla(128, calc(var(--zd-saturation, 1) * 79.71%), calc(27.06% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
10
|
+
|
|
11
|
+
/* onboarding */
|
|
12
|
+
--zdt_onboarding_primary_gradient_border:hsla(133, calc(var(--zd-saturation, 1) * 62.68%), calc(40.98% + var(--zdc_default_inverse_low)), calc( 0.3 + var(--zdc_alpha_low)));
|
|
13
|
+
--zdt_onboarding_secondary_gradient_border:hsla(133, calc(var(--zd-saturation, 1) * 62.68%), calc(40.98% + var(--zdc_default_inverse_low)), calc( 0.51 + var(--zdc_alpha_low)));
|
|
14
|
+
--zdt_onboarding_gradient_border:hsla(133, calc(var(--zd-saturation, 1) * 62.68%), calc(40.98% + var(--zdc_default_inverse_low)), calc( 0 + var(--zdc_alpha_low)));
|
|
15
|
+
--zdt_onboarding_primary_button_shadow:hsla(133, calc(var(--zd-saturation, 1) * 62.68%), 40.98%, 0.25);
|
|
16
|
+
--zdt_onboarding_gradient_bg:hsla(133, calc(var(--zd-saturation, 1) * 10.84%), calc(16.27% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
17
|
+
|
|
18
|
+
/* attachment viewer */
|
|
19
|
+
--zdt_attachmentviewer_header_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_darker_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
20
|
+
--zdt_attachmentviewer_header_border:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(13.33% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
21
|
+
--zdt_attachmentviewer_footer_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
22
|
+
--zdt_attachmentviewer_arrow_bg_hover:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.4 + var(--zdc_alpha_high)));
|
|
23
|
+
|
|
24
|
+
/* loader */
|
|
25
|
+
--zdt_loader_bg:hsla(133, calc(var(--zd-saturation, 1) * 40.00%), 45.10%, 1);
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='orange']{
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.9 + var(--zdc_alpha_high)));
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link:hsla(26, calc(var(--zd-saturation, 1) * 100.00%), calc(56.08% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover:hsla(29, calc(var(--zd-saturation, 1) * 100.00%), calc(32.94% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
10
|
+
|
|
11
|
+
/* onboarding */
|
|
12
|
+
--zdt_onboarding_primary_gradient_border:hsla(28, calc(var(--zd-saturation, 1) * 81.75%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0.3 + var(--zdc_alpha_low)));
|
|
13
|
+
--zdt_onboarding_secondary_gradient_border:hsla(28, calc(var(--zd-saturation, 1) * 81.75%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0.51 + var(--zdc_alpha_low)));
|
|
14
|
+
--zdt_onboarding_gradient_border:hsla(28, calc(var(--zd-saturation, 1) * 81.75%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0 + var(--zdc_alpha_low)));
|
|
15
|
+
--zdt_onboarding_primary_button_shadow:hsla(28, calc(var(--zd-saturation, 1) * 81.75%), 49.41%, 0.25);
|
|
16
|
+
--zdt_onboarding_gradient_bg:hsla(26, calc(var(--zd-saturation, 1) * 19.51%), calc(16.08% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
17
|
+
|
|
18
|
+
/* attachment viewer */
|
|
19
|
+
--zdt_attachmentviewer_header_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_darker_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
20
|
+
--zdt_attachmentviewer_header_border:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(13.33% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
21
|
+
--zdt_attachmentviewer_footer_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
22
|
+
--zdt_attachmentviewer_arrow_bg_hover:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.4 + var(--zdc_alpha_high)));
|
|
23
|
+
|
|
24
|
+
/* loader */
|
|
25
|
+
--zdt_loader_bg:hsla(26, calc(var(--zd-saturation, 1) * 100.00%), 56.08%, 1);
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='red']{
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.9 + var(--zdc_alpha_high)));
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link:hsla(0, calc(var(--zd-saturation, 1) * 77.78%), calc(61.18% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover:hsla(0, calc(var(--zd-saturation, 1) * 81.62%), calc(36.27% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
10
|
+
|
|
11
|
+
/* onboarding */
|
|
12
|
+
--zdt_onboarding_primary_gradient_border:hsla(0, calc(var(--zd-saturation, 1) * 73.81%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0.3 + var(--zdc_alpha_low)));
|
|
13
|
+
--zdt_onboarding_secondary_gradient_border:hsla(0, calc(var(--zd-saturation, 1) * 73.81%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0.51 + var(--zdc_alpha_low)));
|
|
14
|
+
--zdt_onboarding_gradient_border:hsla(0, calc(var(--zd-saturation, 1) * 73.81%), calc(49.41% + var(--zdc_default_inverse_low)), calc( 0 + var(--zdc_alpha_low)));
|
|
15
|
+
--zdt_onboarding_primary_button_shadow:hsla(0, calc(var(--zd-saturation, 1) * 73.81%), 49.41%, 0.25);
|
|
16
|
+
--zdt_onboarding_gradient_bg:hsla(0, calc(var(--zd-saturation, 1) * 13.25%), calc(16.27% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
17
|
+
|
|
18
|
+
/* attachment viewer */
|
|
19
|
+
--zdt_attachmentviewer_header_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_darker_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
20
|
+
--zdt_attachmentviewer_header_border:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(13.33% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
21
|
+
--zdt_attachmentviewer_footer_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
22
|
+
--zdt_attachmentviewer_arrow_bg_hover:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.4 + var(--zdc_alpha_high)));
|
|
23
|
+
|
|
24
|
+
/* loader */
|
|
25
|
+
--zdt_loader_bg:hsla(0, calc(var(--zd-saturation, 1) * 77.78%), 61.18%, 1);
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='yellow']{
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.9 + var(--zdc_alpha_high)));
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link:hsla(37, calc(var(--zd-saturation, 1) * 66.94%), calc(52.55% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover:hsla(39, calc(var(--zd-saturation, 1) * 90.18%), calc(31.96% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
10
|
+
|
|
11
|
+
/* onboarding */
|
|
12
|
+
--zdt_onboarding_primary_gradient_border:hsla(43, calc(var(--zd-saturation, 1) * 90.39%), calc(44.90% + var(--zdc_default_inverse_low)), calc( 0.3 + var(--zdc_alpha_low)));
|
|
13
|
+
--zdt_onboarding_secondary_gradient_border:hsla(43, calc(var(--zd-saturation, 1) * 90.39%), calc(44.90% + var(--zdc_default_inverse_low)), calc( 0.51 + var(--zdc_alpha_low)));
|
|
14
|
+
--zdt_onboarding_gradient_border:hsla(43, calc(var(--zd-saturation, 1) * 90.39%), calc(44.90% + var(--zdc_default_inverse_low)), calc( 0 + var(--zdc_alpha_low)));
|
|
15
|
+
--zdt_onboarding_primary_button_shadow:hsla(43, calc(var(--zd-saturation, 1) * 90.39%), 44.90%, 0.25);
|
|
16
|
+
--zdt_onboarding_gradient_bg:hsla(35, calc(var(--zd-saturation, 1) * 15.00%), calc(15.69% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
17
|
+
|
|
18
|
+
/* attachment viewer */
|
|
19
|
+
--zdt_attachmentviewer_header_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_darker_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
20
|
+
--zdt_attachmentviewer_header_border:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(13.33% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
21
|
+
--zdt_attachmentviewer_footer_bg:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(9.02% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
22
|
+
--zdt_attachmentviewer_arrow_bg_hover:hsla(0, calc(var(--zd-saturation, 1) * 0.00%), calc(6.27% + var(--zdc_default)), calc( 0.4 + var(--zdc_alpha_high)));
|
|
23
|
+
|
|
24
|
+
/* loader */
|
|
25
|
+
--zdt_loader_bg:hsla(37, calc(var(--zd-saturation, 1) * 66.94%), 52.55%, 1);
|
|
26
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useLayoutEffect } from 'react';
|
|
2
2
|
import useDownloadAssetsAndSetAttr from "./useDownloadAssetsAndSetAttr";
|
|
3
|
-
import '@zohodesk/
|
|
4
|
-
import '@zohodesk/
|
|
5
|
-
import '@zohodesk/
|
|
3
|
+
import '@zohodesk/components/assets/Contrast/lightContrastLightness.module.css';
|
|
4
|
+
import '@zohodesk/components/assets/Contrast/darkContrastLightness.module.css';
|
|
5
|
+
import '@zohodesk/components/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';
|
|
@@ -1 +1,3 @@
|
|
|
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';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
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';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
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';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css';
|
|
2
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css';
|
|
1
3
|
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export const LIBRARY_VARIABLES = 'variables';
|
|
2
1
|
export const LIBRARY_COMPONENT = 'component';
|
|
3
2
|
export const LIBRARY_DOT = 'dot';
|
|
4
3
|
export const LIBRARY_SVG = 'svg';
|
|
@@ -10,6 +9,6 @@ export const THEME_COLOR_GREEN = 'green';
|
|
|
10
9
|
export const THEME_COLOR_ORANGE = 'orange';
|
|
11
10
|
export const THEME_COLOR_RED = 'red';
|
|
12
11
|
export const THEME_COLOR_YELLOW = 'yellow';
|
|
13
|
-
export const LIBRARIES = [
|
|
12
|
+
export const LIBRARIES = [LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG];
|
|
14
13
|
export const THEME_APPEARANCES = [THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_DARK, THEME_APPEARANCE_PURE_DARK];
|
|
15
14
|
export const THEME_COLORS = [THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW];
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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"),
|
|
12
3
|
Lib_LightMode_Component: () => import(
|
|
13
4
|
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
14
5
|
"../libraryChunks/appearance/component/Light_Component"),
|
|
@@ -38,11 +29,6 @@ export const themeAppearanceImports = {
|
|
|
38
29
|
'@zohodesk/svg/assets/Appearance/pureDark/mode/SVG_PureDarkMode.module.css')
|
|
39
30
|
};
|
|
40
31
|
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
|
-
},
|
|
46
32
|
[LIBRARY_COMPONENT]: {
|
|
47
33
|
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Component',
|
|
48
34
|
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Component',
|
|
@@ -1,50 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants";
|
|
2
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"),
|
|
48
3
|
Lib_Blue_Light_Component: () => import(
|
|
49
4
|
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
50
5
|
"../libraryChunks/themes/component/blue/Blue_Light_Component"),
|
|
@@ -182,33 +137,6 @@ export const themeColorImports = {
|
|
|
182
137
|
"../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG")
|
|
183
138
|
};
|
|
184
139
|
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
|
-
},
|
|
212
140
|
[LIBRARY_COMPONENT]: {
|
|
213
141
|
[THEME_COLOR_BLUE]: {
|
|
214
142
|
[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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
position: relative;
|
|
7
|
-
composes: varClass;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
-
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.active, .active:hover {
|
|
15
|
-
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cursorPointer {
|
|
19
|
-
cursor: pointer
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* View */
|
|
23
|
-
.classic .innerContainer {
|
|
24
|
-
min-height: var(--zd_size70) ;
|
|
25
|
-
padding: var(--zd_size13) 0 ;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.compact .innerContainer {
|
|
29
|
-
min-height: var(--zd_size41) ;
|
|
30
|
-
padding: var(--zd_size5) 0 ;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.superCompact .innerContainer {
|
|
34
|
-
min-height: var(--zd_size35) ;
|
|
35
|
-
padding: var(--zd_size2) 0 ;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.compact .innerContainer,
|
|
39
|
-
.classic .innerContainer,
|
|
40
|
-
.superCompact .innerContainer {
|
|
41
|
-
/* css:theme-validation:ignore */
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
-
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
-
border-left: var(--zd_size2) solid transparent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
-
border-right: var(--zd_size2) solid transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
-
border-top-left-radius: var(--zd_size5);
|
|
58
|
-
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
-
border-top-right-radius: var(--zd_size5);
|
|
63
|
-
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[dir=ltr] .keyboardActive {
|
|
67
|
-
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
[dir=rtl] .keyboardActive {
|
|
71
|
-
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
[dir=ltr] .active {
|
|
75
|
-
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[dir=rtl] .active {
|
|
79
|
-
border-right-color: var(--zdt_listLayout_active_border);
|
|
1
|
+
.varClass {
|
|
2
|
+
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.container {
|
|
6
|
+
position: relative;
|
|
7
|
+
composes: varClass;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
+
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.active, .active:hover {
|
|
15
|
+
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cursorPointer {
|
|
19
|
+
cursor: pointer
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* View */
|
|
23
|
+
.classic .innerContainer {
|
|
24
|
+
min-height: var(--zd_size70) ;
|
|
25
|
+
padding: var(--zd_size13) 0 ;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.compact .innerContainer {
|
|
29
|
+
min-height: var(--zd_size41) ;
|
|
30
|
+
padding: var(--zd_size5) 0 ;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.superCompact .innerContainer {
|
|
34
|
+
min-height: var(--zd_size35) ;
|
|
35
|
+
padding: var(--zd_size2) 0 ;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.compact .innerContainer,
|
|
39
|
+
.classic .innerContainer,
|
|
40
|
+
.superCompact .innerContainer {
|
|
41
|
+
/* css:theme-validation:ignore */
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
+
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
+
border-left: var(--zd_size2) solid transparent;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
+
border-right: var(--zd_size2) solid transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
+
border-top-left-radius: var(--zd_size5);
|
|
58
|
+
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
+
border-top-right-radius: var(--zd_size5);
|
|
63
|
+
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[dir=ltr] .keyboardActive {
|
|
67
|
+
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[dir=rtl] .keyboardActive {
|
|
71
|
+
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[dir=ltr] .active {
|
|
75
|
+
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[dir=rtl] .active {
|
|
79
|
+
border-right-color: var(--zdt_listLayout_active_border);
|
|
80
80
|
}
|