@zohodesk/dot 1.0.0-temp-219 → 1.0.0-temp-221
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 +0 -11
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +6 -6
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +12 -12
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +4 -4
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/form/fields/CheckBoxField/CheckBoxField.js +6 -9
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/DateField/DateField.js +7 -8
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -6
- package/es/form/fields/SelectField/SelectField.js +5 -6
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -8
- package/es/form/fields/TextBoxField/TextBoxField.js +7 -7
- package/es/form/fields/TextareaField/TextareaField.js +6 -6
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -2
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -2
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +6 -10
- package/lib/form/fields/CurrencyField/CurrencyField.js +4 -5
- package/lib/form/fields/DateField/DateField.js +6 -9
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -7
- package/lib/form/fields/SelectField/SelectField.js +5 -7
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +5 -8
- package/lib/form/fields/TextBoxField/TextBoxField.js +6 -8
- package/lib/form/fields/TextareaField/TextareaField.js +5 -6
- package/package.json +2 -2
- package/assets/Appearance/dark/themes/blue/blue_DotCTA_DarkModifyCategory.module.css +0 -14
- package/assets/Appearance/dark/themes/green/green_DotCTA_DarkModifyCategory.module.css +0 -14
- package/assets/Appearance/dark/themes/orange/orange_DotCTA_DarkModifyCategory.module.css +0 -14
- package/assets/Appearance/dark/themes/red/red_DotCTA_DarkModifyCategory.module.css +0 -14
- package/assets/Appearance/dark/themes/yellow/yellow_DotCTA_DarkModifyCategory.module.css +0 -14
- package/assets/Appearance/light/themes/blue/blue_DotCTA_LightModifyCategory.module.css +0 -14
- package/assets/Appearance/light/themes/green/green_DotCTA_LightModifyCategory.module.css +0 -14
- package/assets/Appearance/light/themes/orange/orange_DotCTA_LightModifyCategory.module.css +0 -14
- package/assets/Appearance/light/themes/red/red_DotCTA_LightModifyCategory.module.css +0 -14
- package/assets/Appearance/light/themes/yellow/yellow_DotCTA_LightModifyCategory.module.css +0 -14
- package/assets/Appearance/pureDark/themes/blue/blue_DotCTA_PureDarkModifyCategory.module.css +0 -14
- package/assets/Appearance/pureDark/themes/green/green_DotCTA_PureDarkModifyCategory.module.css +0 -14
- package/assets/Appearance/pureDark/themes/orange/orange_DotCTA_PureDarkModifyCategory.module.css +0 -14
- package/assets/Appearance/pureDark/themes/red/red_DotCTA_PureDarkModifyCategory.module.css +0 -14
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotCTA_PureDarkModifyCategory.module.css +0 -14
package/README.md
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
-
# 1.7.x
|
|
6
|
-
|
|
7
|
-
- Updated `@zohodesk-private/color-variable-preprocessor` package version - CTA category overridden variables are now generated only for the necessary CTA variables using the `buildOverriddenCTACategories` function.
|
|
8
|
-
- Imports newly generated Dot entry theme-related files within the specific chunk.
|
|
9
|
-
|
|
10
5
|
# 1.7.26
|
|
11
6
|
|
|
12
7
|
- `list/SecondaryText/PhoneNumber.js`
|
|
@@ -41,12 +36,6 @@ In this Library, we Provide Some Basic Components to Build Your Application
|
|
|
41
36
|
- lib imports migrated to es
|
|
42
37
|
|
|
43
38
|
|
|
44
|
-
# 1.7.x
|
|
45
|
-
|
|
46
|
-
- Necessary variables are generated only for overridden contrast categories, handled through a Node.js preprocess script.
|
|
47
|
-
- **DotProvider**
|
|
48
|
-
- Imports newly generated Dot entry theme-related files within the specific chunk.
|
|
49
|
-
|
|
50
39
|
# 1.7.19
|
|
51
40
|
|
|
52
41
|
- **AttachmentViewer**
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--zdt_avatarIcon_grey_icon: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
68
68
|
--zdt_avatarIcon_success_icon: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
69
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
70
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
71
71
|
--zdt_avatarIcon_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
72
72
|
--zdt_avatarIcon_primary_border: hsla(212, 100.00%, calc(63.92% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
73
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 85.45%, calc(43.14% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
--zdt_drawer_default_box_shadow: rgba(0, 0, 0, 0.4);
|
|
117
117
|
--zdt_drawer_default_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
118
118
|
--zdt_drawer_header_bg: var(--zdtm_cta_grey_10_bg_default_inverse_low);
|
|
119
|
-
--zdt_drawer_header_border: var(--
|
|
119
|
+
--zdt_drawer_header_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
120
120
|
--zdt_drawer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
121
121
|
|
|
122
122
|
/* toggle dropdown */
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(56.08% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
254
254
|
--zdt_secondaryText_green_text: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
255
255
|
--zdt_secondaryText_red_text: hsla(0, 100.00%, calc(70.98% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
256
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
257
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
258
258
|
--zdt_secondaryText_black_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
259
259
|
--zdt_secondaryText_secondaryText_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
/* lookup header common */
|
|
290
290
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
291
291
|
--zdt_lookupheader_white_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
292
|
-
--zdt_lookupheader_default_border: var(--
|
|
292
|
+
--zdt_lookupheader_default_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
293
293
|
--zdt_lookupheader_white_border: hsla(223, 21.68%, calc(28.04% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
294
294
|
--zdt_lookupheader_para_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
295
295
|
--zdt_lookupheader_input_border: hsla(0, 0.00%, calc(89.80% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
/* attachment viewer */
|
|
536
536
|
--zdt_attachmentviewer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
537
537
|
--zdt_attachmentviewer_button_border: hsla(218, 23.08%, calc(22.94% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
538
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
539
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
540
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
541
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(218, 9.76%, calc(51.76% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--zdt_avatarIcon_grey_icon: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
68
68
|
--zdt_avatarIcon_success_icon: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
69
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
70
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
71
71
|
--zdt_avatarIcon_default_hover_border: hsla(218, 9.76%, calc(51.76% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
72
72
|
--zdt_avatarIcon_primary_border: hsla(212, 91.84%, calc(48.04% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
73
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 100.00%, calc(36.08% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
--zdt_drawer_default_box_shadow: rgba(0, 0, 0, 0.176);
|
|
117
117
|
--zdt_drawer_default_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
118
118
|
--zdt_drawer_header_bg: var(--zdtm_cta_grey_10_bg_default_inverse_low);
|
|
119
|
-
--zdt_drawer_header_border: var(--
|
|
119
|
+
--zdt_drawer_header_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
120
120
|
--zdt_drawer_title_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
121
121
|
|
|
122
122
|
/* toggle dropdown */
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
|
|
166
166
|
/* form action */
|
|
167
167
|
--zdt_formAction_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
168
|
-
--zdt_formAction_border: var(--
|
|
168
|
+
--zdt_formAction_border: var(--zdtm_cta_grey_15_border_default_inverse_medium);
|
|
169
169
|
|
|
170
170
|
/* freezelayer */
|
|
171
171
|
--zdt_freezelayer_default_bg: rgba(0, 0, 0, 0.45);
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(50.00% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
254
254
|
--zdt_secondaryText_green_text: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
255
255
|
--zdt_secondaryText_red_text: hsla(0, 71.91%, calc(53.92% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
256
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
257
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
258
258
|
--zdt_secondaryText_black_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
259
259
|
--zdt_secondaryText_secondaryText_text: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
/* lookup header common */
|
|
290
290
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
291
291
|
--zdt_lookupheader_white_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
292
|
-
--zdt_lookupheader_default_border: var(--
|
|
293
|
-
--zdt_lookupheader_white_border: var(--
|
|
292
|
+
--zdt_lookupheader_default_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
293
|
+
--zdt_lookupheader_white_border: var(--zdtm_cta_grey_15_border_default_inverse_medium);
|
|
294
294
|
--zdt_lookupheader_para_text: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
295
295
|
--zdt_lookupheader_input_border: hsla(0, 0.00%, calc(89.80% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
296
296
|
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
--zdt_commonalert_plaininfo_hover_bg: hsla(212, 80.95%, calc(95.88% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
458
458
|
--zdt_commonalert_danger_hover_bg: hsla(0, 73.91%, calc(95.49% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
459
459
|
--zdt_commonalert_warning_hover_bg: hsla(26, 100.00%, calc(95.10% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
460
|
-
--zdt_commonalert_light_hover_bg: var(--
|
|
460
|
+
--zdt_commonalert_light_hover_bg: var(--zdtm_cta_grey_10_bg_darker_lowest);
|
|
461
461
|
--zdt_commonalert_secondlayer_bg: rgb(246,248,251);
|
|
462
462
|
--zdt_commonalert_default_icon: hsla(0, 71.91%, calc(53.92% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
463
463
|
--zdt_commonalert_success_icon: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -534,8 +534,8 @@
|
|
|
534
534
|
|
|
535
535
|
/* attachment viewer */
|
|
536
536
|
--zdt_attachmentviewer_title_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
537
|
-
--zdt_attachmentviewer_button_border: var(--
|
|
538
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
537
|
+
--zdt_attachmentviewer_button_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
539
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
540
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
541
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -549,8 +549,8 @@
|
|
|
549
549
|
--zdt_separator_secondary_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
550
550
|
|
|
551
551
|
/* tag with icon */
|
|
552
|
-
--zdt_tagWithIconGrey_bg: var(--
|
|
553
|
-
--zdt_tagWithIconGrey_border: var(--
|
|
552
|
+
--zdt_tagWithIconGrey_bg: var(--zdtm_cta_grey_20_bg_darker_lowest);
|
|
553
|
+
--zdt_tagWithIconGrey_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
554
554
|
--zdt_tagWithIconGrey_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
555
555
|
--zdt_tagWithIconBlue_bg: hsla(213, 84.62%, calc(94.90% + var(--zdc_darker_lowest)), calc(1 + var(--zdc_alpha_high)));
|
|
556
556
|
--zdt_tagWithIconBlue_border: hsla(212, 83.33%, calc(85.88% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(0, 0.00%, calc(12.94% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--zdt_avatarIcon_grey_icon: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
68
68
|
--zdt_avatarIcon_success_icon: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
69
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
70
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
71
71
|
--zdt_avatarIcon_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
72
72
|
--zdt_avatarIcon_primary_border: hsla(212, 100.00%, calc(63.92% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
73
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 85.45%, calc(43.14% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(56.08% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
254
254
|
--zdt_secondaryText_green_text: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
255
255
|
--zdt_secondaryText_red_text: hsla(0, 100.00%, calc(70.98% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
256
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
257
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
258
258
|
--zdt_secondaryText_black_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
259
259
|
--zdt_secondaryText_secondaryText_text: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
/* attachment viewer */
|
|
536
536
|
--zdt_attachmentviewer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
537
537
|
--zdt_attachmentviewer_button_border: hsla(0, 2.33%, calc(8.43% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
538
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
539
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
540
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
541
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import CheckBox from '@zohodesk/components/es/CheckBox/CheckBox';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
@@ -87,15 +88,11 @@ export default class CheckBoxField extends PureComponent {
|
|
|
87
88
|
renderProps: renderLabelProps
|
|
88
89
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
89
90
|
text: labelName,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
customClass: `${!isDirectCol ? style.checkboxText : ''} ${!isDirectCol ? style[`lineClamp_${lineClamp}`] : ''} ${isReadOnly || isDisabled ? style.cbTextReadonly : style.cbTextPointer} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
95
|
-
title: labelName,
|
|
91
|
+
isRequired: isMandatory,
|
|
92
|
+
customStyle: labelCustomClass,
|
|
93
|
+
testId: id,
|
|
94
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
96
95
|
onClick: !removeEvent ? this.handleLabelClick : null,
|
|
97
|
-
variant: isDirectCol ? 'default' : 'primary',
|
|
98
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
99
96
|
...LabelProps
|
|
100
97
|
}));
|
|
101
98
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -129,11 +130,10 @@ export default class CurrencyField extends PureComponent {
|
|
|
129
130
|
renderProps: renderLabelProps
|
|
130
131
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
131
132
|
text: labelName,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
133
|
+
isRequired: isMandatory,
|
|
134
|
+
customStyle: labelCustomClass,
|
|
135
135
|
htmlFor: uniqueId,
|
|
136
|
-
|
|
136
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
137
137
|
...LabelProps
|
|
138
138
|
})), /*#__PURE__*/React.createElement("div", {
|
|
139
139
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import DateWidget from '@zohodesk/components/es/DateTime/DateWidget';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -133,14 +134,12 @@ export default class DateField extends PureComponent {
|
|
|
133
134
|
renderProps: renderLabelProps
|
|
134
135
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
135
136
|
text: labelName,
|
|
137
|
+
isRequired: isMandatory,
|
|
138
|
+
customStyle: labelCustomClass,
|
|
136
139
|
htmlFor: getAriaId,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
141
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
142
|
-
...LabelProps,
|
|
143
|
-
id: labelName
|
|
140
|
+
testId: labelName,
|
|
141
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
142
|
+
...LabelProps
|
|
144
143
|
})), /*#__PURE__*/React.createElement("div", {
|
|
145
144
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
146
145
|
}, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import MultiSelect from '@zohodesk/components/es/MultiSelect/MultiSelect';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -145,13 +146,11 @@ export default class MultiSelectField extends PureComponent {
|
|
|
145
146
|
renderProps: renderLabelProps
|
|
146
147
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
147
148
|
text: labelName,
|
|
148
|
-
|
|
149
|
-
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
150
|
-
palette: isDarkPalette ? 'dark' : isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette // onClick={this.handleLabelClick}
|
|
149
|
+
isRequired: isMandatory // customStyle={style.fieldLabel}
|
|
151
150
|
,
|
|
152
|
-
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
153
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
154
151
|
htmlFor: uniqueId,
|
|
152
|
+
testId: id,
|
|
153
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
155
154
|
...LabelProps
|
|
156
155
|
})), /*#__PURE__*/React.createElement(MultiSelect, {
|
|
157
156
|
options: options,
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import Select from '@zohodesk/components/es/Select/Select';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -115,13 +116,11 @@ export default class SelectField extends PureComponent {
|
|
|
115
116
|
renderProps: renderLabelProps
|
|
116
117
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
117
118
|
text: labelName,
|
|
118
|
-
|
|
119
|
-
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
120
|
-
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
119
|
+
isRequired: isMandatory,
|
|
121
120
|
htmlFor: uniqueId,
|
|
122
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
123
121
|
...LabelProps,
|
|
124
|
-
|
|
122
|
+
testId: uniqueId,
|
|
123
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
125
124
|
})), /*#__PURE__*/React.createElement("div", {
|
|
126
125
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
|
|
127
126
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Box } from '@zohodesk/components/es/Layout';
|
|
5
|
-
|
|
4
|
+
import { Box } from '@zohodesk/components/es/Layout'; // import Label from '@zohodesk/components/es/Label/Label';
|
|
5
|
+
|
|
6
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
6
7
|
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
7
8
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
8
9
|
import TagsMultiSelect from "../TagsMultiSelect/TagsMultiSelect";
|
|
@@ -206,13 +207,10 @@ const TagsMultiSelectField = props => {
|
|
|
206
207
|
}
|
|
207
208
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
208
209
|
text: labelName,
|
|
209
|
-
|
|
210
|
-
id: id,
|
|
211
|
-
size: labelSize,
|
|
212
|
-
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
213
|
-
customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
|
|
214
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
210
|
+
isRequired: isMandatory,
|
|
215
211
|
htmlFor: htmlId,
|
|
212
|
+
testId: id,
|
|
213
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
216
214
|
...LabelProps
|
|
217
215
|
}), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
218
216
|
dataId: `${dataId}_tagCount`,
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -103,13 +104,12 @@ export default class TextBoxField extends PureComponent {
|
|
|
103
104
|
renderProps: renderLabelProps
|
|
104
105
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
105
106
|
text: labelName,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
isRequired: isMandatory,
|
|
108
|
+
customStyle: labelCustomClass,
|
|
109
|
+
testId: labelName,
|
|
109
110
|
htmlFor: uniqueId,
|
|
110
|
-
|
|
111
|
-
...LabelProps
|
|
112
|
-
id: labelName
|
|
111
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
112
|
+
...LabelProps
|
|
113
113
|
})), /*#__PURE__*/React.createElement("div", {
|
|
114
114
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
115
115
|
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
+
// import Label from '@zohodesk/components/es/Label/Label';
|
|
6
7
|
|
|
7
|
-
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
8
9
|
import Textarea from '@zohodesk/components/es/Textarea/Textarea';
|
|
9
10
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
10
11
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -131,12 +132,11 @@ export default class TextareaField extends PureComponent {
|
|
|
131
132
|
renderProps: renderLabelProps
|
|
132
133
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
133
134
|
text: labelName,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
135
|
+
isRequired: isMandatory,
|
|
136
|
+
customStyle: labelCustomClass,
|
|
137
|
+
testId: id,
|
|
138
138
|
htmlFor: uniqueId,
|
|
139
|
-
|
|
139
|
+
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
140
140
|
...LabelProps
|
|
141
141
|
})), /*#__PURE__*/React.createElement("div", {
|
|
142
142
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|