@zohodesk/components 1.4.23 → 1.5.2
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 +9 -0
- package/es/AppContainer/AppContainer.js +1 -0
- package/es/AppContainer/AppContainer.module.css +3 -2
- package/es/Button/css/Button.module.css +13 -4
- package/es/ColorSelect/ColorSingleSelect.js +0 -1
- package/es/DateTime/DateTime.module.css +12 -9
- package/es/DateTime/YearView.module.css +1 -1
- package/es/Heading/Heading.module.css +1 -1
- package/es/Label/Label.module.css +8 -8
- package/es/MultiSelect/MultiSelect.module.css +1 -1
- package/es/Tab/Tabs.module.css +1 -1
- package/es/TextBox/TextBox.module.css +4 -4
- package/es/TextBoxIcon/TextBoxIcon.module.css +0 -6
- package/es/Textarea/Textarea.module.css +1 -1
- package/es/Tooltip/Tooltip.module.css +1 -1
- package/es/Typography/css/Typography.module.css +4 -4
- package/es/common/basic.module.css +39 -6
- package/es/common/basicReset.module.css +2 -2
- package/es/common/common.module.css +5 -5
- package/es/shared/InputFieldLine/InputFieldLine.module.css +1 -1
- package/es/v1/Tab/v1Tabs.module.css +1 -1
- package/es/v1/Typography/css/v1_Typography.module.css +4 -4
- package/lib/AppContainer/AppContainer.js +2 -0
- package/lib/AppContainer/AppContainer.module.css +3 -2
- package/lib/Button/css/Button.module.css +13 -4
- package/lib/ColorSelect/ColorSingleSelect.js +1 -2
- package/lib/DateTime/DateTime.module.css +12 -9
- package/lib/DateTime/YearView.module.css +1 -1
- package/lib/Heading/Heading.module.css +1 -1
- package/lib/Label/Label.module.css +8 -8
- package/lib/MultiSelect/MultiSelect.module.css +1 -1
- package/lib/Tab/Tabs.module.css +1 -1
- package/lib/TextBox/TextBox.module.css +4 -4
- package/lib/TextBoxIcon/TextBoxIcon.module.css +0 -6
- package/lib/Textarea/Textarea.module.css +1 -1
- package/lib/Tooltip/Tooltip.module.css +1 -1
- package/lib/Typography/css/Typography.module.css +4 -4
- package/lib/common/basic.module.css +39 -6
- package/lib/common/basicReset.module.css +2 -2
- package/lib/common/common.module.css +5 -5
- package/lib/shared/InputFieldLine/InputFieldLine.module.css +1 -1
- package/lib/v1/Tab/v1Tabs.module.css +1 -1
- package/lib/v1/Typography/css/v1_Typography.module.css +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development across projects.
|
|
4
4
|
|
|
5
|
+
# 1.5.2
|
|
6
|
+
|
|
7
|
+
- **TextBoxIcon**
|
|
8
|
+
- Removed `--textboxicon_line_height` and `--textboxicon_line_color` to avoid overriding the InputFieldLine border properties.
|
|
9
|
+
|
|
10
|
+
# 1.5.1
|
|
11
|
+
|
|
12
|
+
- Font Family Migrated to Font-weight across all css (Impacted)
|
|
13
|
+
|
|
5
14
|
# 1.4.23
|
|
6
15
|
|
|
7
16
|
- **Typography**
|
|
@@ -9,6 +9,7 @@ import '@zohodesk/variables/assets/dotVariables.module.css';
|
|
|
9
9
|
import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
10
10
|
import '@zohodesk/variables/assets/fontsizeVariables.module.css';
|
|
11
11
|
import '@zohodesk/variables/es/fontFamilyVariables.module.css';
|
|
12
|
+
import '@zohodesk/variables/es/fontWeightVariables.module.css';
|
|
12
13
|
import '@zohodesk/variables/assets/transitionVariables.module.css';
|
|
13
14
|
import '@zohodesk/variables/assets/no_transitionVariables.module.css';
|
|
14
15
|
import "../common/a11y.module.css";
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
-moz-box-sizing: border-box;
|
|
9
9
|
-ms-box-sizing: border-box;
|
|
10
10
|
}
|
|
11
|
-
.container {
|
|
12
|
-
font-family: var(--zd_regular);
|
|
11
|
+
.container, .container button, .container input, .container textarea ,.container select {
|
|
12
|
+
/* font-family: var(--zd_regular); */
|
|
13
|
+
font-family: var(--zd-font-family), var(--zd_fallback_font, ZDLato);
|
|
13
14
|
}
|
|
14
15
|
.tooltip {
|
|
15
16
|
height: 0 ;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--button_cursor: pointer;
|
|
6
6
|
--button_font_size: var(--zd_font_size13);
|
|
7
7
|
--button_text_color: var(--zdt_button_default_text);
|
|
8
|
-
--
|
|
8
|
+
--button_font_weight: var(--zd-fw-normal);
|
|
9
9
|
--button_text_transform: capitalize;
|
|
10
10
|
--button_bg_color: var(--zdt_button_default_bg);
|
|
11
11
|
--button_border_radius: 4px;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
position: relative;
|
|
50
50
|
font-size: var(--button_font_size);
|
|
51
51
|
color: var(--button_text_color);
|
|
52
|
-
font-
|
|
52
|
+
font-weight: var(--button_font_weight);
|
|
53
53
|
text-transform: var(--button_text_transform);
|
|
54
54
|
min-width: var(--button_min_width);
|
|
55
55
|
height: var(--button_height);
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.bold {
|
|
66
|
-
--
|
|
66
|
+
--button_font_weight: var(--zd-fw-semibold);
|
|
67
67
|
composes: ftsmooth from '../../common/common.module.css';
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
.loader {
|
|
626
|
-
color: var(--dot_mirror)
|
|
626
|
+
color: var(--dot_mirror);
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
[dir=ltr] .strike {
|
|
@@ -633,34 +633,43 @@
|
|
|
633
633
|
[dir=rtl] .strike {
|
|
634
634
|
background-image: repeating-linear-gradient(-120deg, var(--button_strike_color) 0 1px, transparent 1px 8px);
|
|
635
635
|
}
|
|
636
|
+
|
|
636
637
|
.primaryStrike {
|
|
637
638
|
--button_strike_color: var(--zdt_button_primary_strike);
|
|
638
639
|
}
|
|
640
|
+
|
|
639
641
|
.primaryfilledStrike {
|
|
640
642
|
--button_strike_color: var(--zdt_button_primaryFilled_strike);
|
|
641
643
|
--button_border_color: var(--zdt_button_primaryfill_bg);
|
|
642
644
|
}
|
|
645
|
+
|
|
643
646
|
.dangerStrike {
|
|
644
647
|
--button_strike_color: var(--zdt_button_danger_strike);
|
|
645
648
|
}
|
|
649
|
+
|
|
646
650
|
.dangerfilledStrike {
|
|
647
651
|
--button_strike_color: var(--zdt_button_dangerFilled_strike);
|
|
648
652
|
--button_border_color: var(--zdt_button_dangerfill_bg);
|
|
649
653
|
}
|
|
654
|
+
|
|
650
655
|
.secondaryStrike {
|
|
651
656
|
--button_strike_color: var(--zdt_button_secondary_border);
|
|
652
657
|
}
|
|
658
|
+
|
|
653
659
|
.secondaryfilledStrike {
|
|
654
660
|
--button_strike_color: var(--zdt_button_secondaryFilled_strike);
|
|
655
661
|
--button_border_color: var(--zdt_button_secondaryfill_bg);
|
|
656
662
|
}
|
|
663
|
+
|
|
657
664
|
.tertiaryfilledStrike {
|
|
658
665
|
--button_strike_color: var(--zdt_button_tertiaryFilled_strike);
|
|
659
666
|
--button_border_color: var(--zdt_button_tertiaryfill_bg);
|
|
660
667
|
}
|
|
668
|
+
|
|
661
669
|
.successStrike {
|
|
662
670
|
--button_strike_color: var(--zdt_button_success_strike);
|
|
663
671
|
}
|
|
672
|
+
|
|
664
673
|
.successfilledStrike {
|
|
665
674
|
--button_strike_color: var(--zdt_button_successFilled_strike);
|
|
666
675
|
--button_border_color: var(--zdt_button_successfill_border);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.semibold {
|
|
2
|
-
font-
|
|
2
|
+
font-weight: var(--zd-fw-semibold);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
[dir=ltr] .boxPadding {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.datesStr {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-normal);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.grid {
|
|
@@ -122,7 +122,8 @@
|
|
|
122
122
|
color: var(--zdt_datetime_invalid_text);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.invalidDate.holiday
|
|
125
|
+
.invalidDate.holiday,
|
|
126
|
+
.inActiveDate.holiday:hover {
|
|
126
127
|
color: var(--zdt_datetime_invaliddate_text);
|
|
127
128
|
}
|
|
128
129
|
|
|
@@ -147,15 +148,17 @@
|
|
|
147
148
|
background-color: var(--zdt_datetime_selected_bg);
|
|
148
149
|
border-radius: 50%;
|
|
149
150
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
|
|
152
|
+
.inActiveDate {
|
|
153
|
+
color: var(--zdt_datetime_invalid_text);
|
|
154
|
+
cursor: no-drop;
|
|
153
155
|
}
|
|
154
|
-
|
|
155
|
-
{
|
|
156
|
+
|
|
157
|
+
.inActiveDate:hover {
|
|
156
158
|
color: var(--zdt_datetime_invalid_text);
|
|
157
159
|
}
|
|
158
|
-
|
|
160
|
+
|
|
161
|
+
.inActiveDate:hover, .inActiveDate.holiday:hover {
|
|
159
162
|
background-color: var(--zdt_datetime_inactivedate_hover_bg);
|
|
160
163
|
|
|
161
164
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* label default variables */
|
|
3
3
|
--label_font_size: var(--zd_font_size14);
|
|
4
4
|
--label_text_color: var(--zdt_label_default_text);
|
|
5
|
-
--
|
|
5
|
+
--label_font_weight: var(--zd-fw-normal);
|
|
6
6
|
--label_cursor: default;
|
|
7
7
|
--label_line_height: 1.286;
|
|
8
8
|
}
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
line-height: var(--label_line_height);
|
|
14
14
|
font-size: var(--label_font_size);
|
|
15
15
|
color: var(--label_text_color);
|
|
16
|
-
font-
|
|
16
|
+
font-weight: var(--label_font_weight);
|
|
17
17
|
cursor: var(--label_cursor);
|
|
18
18
|
}
|
|
19
19
|
.xsmall {
|
|
20
20
|
--label_font_size: var(--zd_font_size12);
|
|
21
|
-
--label_line_height:1.5;
|
|
21
|
+
--label_line_height: 1.5;
|
|
22
22
|
}
|
|
23
23
|
.small {
|
|
24
24
|
--label_font_size: var(--zd_font_size13);
|
|
25
|
-
--label_line_height:1.385;
|
|
25
|
+
--label_line_height: 1.385;
|
|
26
26
|
}
|
|
27
27
|
.medium {
|
|
28
28
|
--label_font_size: var(--zd_font_size14);
|
|
29
|
-
--label_line_height:1.286;
|
|
29
|
+
--label_line_height: 1.286;
|
|
30
30
|
}
|
|
31
31
|
.large {
|
|
32
32
|
--label_font_size: var(--zd_font_size26);
|
|
33
|
-
--label_line_height:0.6923;
|
|
33
|
+
--label_line_height: 0.6923;
|
|
34
34
|
composes: semibold from '../common/common.module.css';
|
|
35
35
|
}
|
|
36
36
|
.pointer {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
display: inline-block;
|
|
47
47
|
}
|
|
48
48
|
.font_default {
|
|
49
|
-
--
|
|
49
|
+
--label_font_weight: var(--zd-fw-normal);
|
|
50
50
|
}
|
|
51
51
|
.font_primary {
|
|
52
|
-
--
|
|
52
|
+
--label_font_weight: var(--zd-fw-semibold);
|
|
53
53
|
composes: ftsmooth from '../common/common.module.css';
|
|
54
54
|
}
|
|
55
55
|
.dotted {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
.more {
|
|
197
197
|
font-size: var(--zd_font_size14) ;
|
|
198
198
|
color: var(--zdt_multiselect_more_text);
|
|
199
|
-
font-
|
|
199
|
+
font-weight: var(--zd-fw-normal);
|
|
200
200
|
cursor: pointer;
|
|
201
201
|
margin-top: var(--zd_size5) ;
|
|
202
202
|
background-color: var(--zdt_multiselect_delete_bg);
|
package/es/Tab/Tabs.module.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--textbox_width: 100%;
|
|
10
10
|
--textbox_height: var(--zd_size35);
|
|
11
11
|
--textbox_border_radius: none;
|
|
12
|
-
--
|
|
12
|
+
--textbox_font_weight: var(--zd-fw-normal);
|
|
13
13
|
/* Variable:Ignore */
|
|
14
14
|
--textbox_letter_spacing: 0.1px;
|
|
15
15
|
--textbox_padding: 0;
|
|
@@ -166,18 +166,18 @@
|
|
|
166
166
|
.primary,
|
|
167
167
|
.secondary,
|
|
168
168
|
.light {
|
|
169
|
-
font-
|
|
169
|
+
font-weight: var(--textbox_font_weight);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.primary {
|
|
173
173
|
--textbox_text_color: var(--zdt_textbox_default_text);
|
|
174
|
-
--
|
|
174
|
+
--textbox_font_weight: var(--zd-fw-semibold);
|
|
175
175
|
composes: ftsmooth from '../common/common.module.css';
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.secondary {
|
|
179
179
|
--textbox_text_color: var(--zdt_textbox_secondary_text);
|
|
180
|
-
--
|
|
180
|
+
--textbox_font_weight: var(--zd-fw-light);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.light {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
.varClass {
|
|
2
|
-
/* textboxicon default variables */
|
|
3
|
-
--textboxicon_line_height: 1px;
|
|
4
|
-
--textboxicon_line_color: var(--zdt_textboxicon_default_line_bg);
|
|
5
|
-
|
|
6
2
|
/* textboxicon icon default variables */
|
|
7
3
|
--textboxicon_icon_margin: 0 var(--zd_size5);
|
|
8
4
|
--textboxicon_icon_cursor: pointer;
|
|
@@ -11,8 +7,6 @@
|
|
|
11
7
|
.container {
|
|
12
8
|
composes: varClass;
|
|
13
9
|
position: relative;
|
|
14
|
-
--local_inputFieldLine_border_width: var(--textboxicon_line_height);
|
|
15
|
-
--local_inputFieldLine_border_color: var(--textboxicon_line_color);
|
|
16
10
|
}
|
|
17
11
|
.disabled,.readonly {
|
|
18
12
|
--textboxicon_icon_cursor: not-allowed;
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.font_regular {
|
|
28
|
-
font-
|
|
28
|
+
font-weight: var(--zd-fw-normal);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.font_light {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-light);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.font_semibold {
|
|
36
|
-
font-
|
|
36
|
+
font-weight: var(--zd-fw-semibold);
|
|
37
37
|
composes: ftsmooth from '../../common/common.module.css';
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.font_bold {
|
|
41
|
-
font-
|
|
41
|
+
font-weight: var(--zd-fw-bold);
|
|
42
42
|
composes: ftsmooth from '../../common/common.module.css';
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family:
|
|
3
|
-
src: url('https://static.zohocdn.com/webfonts/
|
|
4
|
-
font-weight:
|
|
2
|
+
font-family: Light;
|
|
3
|
+
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
4
|
+
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-display: swap;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@font-face {
|
|
10
|
-
font-family:
|
|
11
|
-
src: url('https://static.zohocdn.com/webfonts/
|
|
12
|
-
font-weight:
|
|
10
|
+
font-family: Regular;
|
|
11
|
+
src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
|
|
12
|
+
font-weight: 400;
|
|
13
13
|
font-style: normal;
|
|
14
14
|
font-display: swap;
|
|
15
15
|
}
|
|
@@ -29,3 +29,36 @@
|
|
|
29
29
|
font-style: normal;
|
|
30
30
|
font-display: swap;
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: ZDLato;
|
|
36
|
+
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
37
|
+
font-weight: 100 300;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: ZDLato;
|
|
44
|
+
src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: ZDLato;
|
|
52
|
+
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
53
|
+
font-weight: 500 600;
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: ZDLato;
|
|
60
|
+
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
61
|
+
font-weight: 700 900;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-display: swap;
|
|
64
|
+
}
|
|
@@ -27,7 +27,7 @@ html {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
textarea {
|
|
30
|
-
font-
|
|
30
|
+
font-weight: var(--zd-fw-normal);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
label, input[type='button'], input[type='submit'], input[type='file'], button {
|
|
@@ -37,4 +37,4 @@ label, input[type='button'], input[type='submit'], input[type='file'], button {
|
|
|
37
37
|
/*Moz Required Box shadow Isssue*/
|
|
38
38
|
input[required]:-moz-ui-invalid {
|
|
39
39
|
box-shadow: none;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
@@ -303,22 +303,22 @@
|
|
|
303
303
|
resize: vertical;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
/*font-
|
|
306
|
+
/*font-weight*/
|
|
307
307
|
.regular {
|
|
308
|
-
font-
|
|
308
|
+
font-weight: var(--zd-fw-normal);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.light {
|
|
312
|
-
font-
|
|
312
|
+
font-weight: var(--zd-fw-light);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.semibold {
|
|
316
|
-
font-
|
|
316
|
+
font-weight: var(--zd-fw-semibold);
|
|
317
317
|
composes: ftsmooth;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
.bold {
|
|
321
|
-
font-
|
|
321
|
+
font-weight: var(--zd-fw-bold);
|
|
322
322
|
composes: ftsmooth;
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
display: initial;
|
|
20
20
|
}
|
|
21
21
|
.font_regular {
|
|
22
|
-
font-
|
|
22
|
+
font-weight: var(--zd-fw-normal);
|
|
23
23
|
}
|
|
24
24
|
.font_light {
|
|
25
|
-
font-
|
|
25
|
+
font-weight: var(--zd-fw-light);
|
|
26
26
|
}
|
|
27
27
|
.font_semibold {
|
|
28
|
-
font-
|
|
28
|
+
font-weight: var(--zd-fw-semibold);
|
|
29
29
|
composes: ftsmooth from '../../../common/common.module.css';
|
|
30
30
|
}
|
|
31
31
|
.font_bold {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-bold);
|
|
33
33
|
composes: ftsmooth from '../../../common/common.module.css';
|
|
34
34
|
}
|
|
35
35
|
.fontStyles_normal{
|
|
@@ -29,6 +29,8 @@ require("@zohodesk/variables/assets/fontsizeVariables.module.css");
|
|
|
29
29
|
|
|
30
30
|
require("@zohodesk/variables/es/fontFamilyVariables.module.css");
|
|
31
31
|
|
|
32
|
+
require("@zohodesk/variables/es/fontWeightVariables.module.css");
|
|
33
|
+
|
|
32
34
|
require("@zohodesk/variables/assets/transitionVariables.module.css");
|
|
33
35
|
|
|
34
36
|
require("@zohodesk/variables/assets/no_transitionVariables.module.css");
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
-moz-box-sizing: border-box;
|
|
9
9
|
-ms-box-sizing: border-box;
|
|
10
10
|
}
|
|
11
|
-
.container {
|
|
12
|
-
font-family: var(--zd_regular);
|
|
11
|
+
.container, .container button, .container input, .container textarea ,.container select {
|
|
12
|
+
/* font-family: var(--zd_regular); */
|
|
13
|
+
font-family: var(--zd-font-family), var(--zd_fallback_font, ZDLato);
|
|
13
14
|
}
|
|
14
15
|
.tooltip {
|
|
15
16
|
height: 0 ;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--button_cursor: pointer;
|
|
6
6
|
--button_font_size: var(--zd_font_size13);
|
|
7
7
|
--button_text_color: var(--zdt_button_default_text);
|
|
8
|
-
--
|
|
8
|
+
--button_font_weight: var(--zd-fw-normal);
|
|
9
9
|
--button_text_transform: capitalize;
|
|
10
10
|
--button_bg_color: var(--zdt_button_default_bg);
|
|
11
11
|
--button_border_radius: 4px;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
position: relative;
|
|
50
50
|
font-size: var(--button_font_size);
|
|
51
51
|
color: var(--button_text_color);
|
|
52
|
-
font-
|
|
52
|
+
font-weight: var(--button_font_weight);
|
|
53
53
|
text-transform: var(--button_text_transform);
|
|
54
54
|
min-width: var(--button_min_width);
|
|
55
55
|
height: var(--button_height);
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.bold {
|
|
66
|
-
--
|
|
66
|
+
--button_font_weight: var(--zd-fw-semibold);
|
|
67
67
|
composes: ftsmooth from '../../common/common.module.css';
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
.loader {
|
|
626
|
-
color: var(--dot_mirror)
|
|
626
|
+
color: var(--dot_mirror);
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
[dir=ltr] .strike {
|
|
@@ -633,34 +633,43 @@
|
|
|
633
633
|
[dir=rtl] .strike {
|
|
634
634
|
background-image: repeating-linear-gradient(-120deg, var(--button_strike_color) 0 1px, transparent 1px 8px);
|
|
635
635
|
}
|
|
636
|
+
|
|
636
637
|
.primaryStrike {
|
|
637
638
|
--button_strike_color: var(--zdt_button_primary_strike);
|
|
638
639
|
}
|
|
640
|
+
|
|
639
641
|
.primaryfilledStrike {
|
|
640
642
|
--button_strike_color: var(--zdt_button_primaryFilled_strike);
|
|
641
643
|
--button_border_color: var(--zdt_button_primaryfill_bg);
|
|
642
644
|
}
|
|
645
|
+
|
|
643
646
|
.dangerStrike {
|
|
644
647
|
--button_strike_color: var(--zdt_button_danger_strike);
|
|
645
648
|
}
|
|
649
|
+
|
|
646
650
|
.dangerfilledStrike {
|
|
647
651
|
--button_strike_color: var(--zdt_button_dangerFilled_strike);
|
|
648
652
|
--button_border_color: var(--zdt_button_dangerfill_bg);
|
|
649
653
|
}
|
|
654
|
+
|
|
650
655
|
.secondaryStrike {
|
|
651
656
|
--button_strike_color: var(--zdt_button_secondary_border);
|
|
652
657
|
}
|
|
658
|
+
|
|
653
659
|
.secondaryfilledStrike {
|
|
654
660
|
--button_strike_color: var(--zdt_button_secondaryFilled_strike);
|
|
655
661
|
--button_border_color: var(--zdt_button_secondaryfill_bg);
|
|
656
662
|
}
|
|
663
|
+
|
|
657
664
|
.tertiaryfilledStrike {
|
|
658
665
|
--button_strike_color: var(--zdt_button_tertiaryFilled_strike);
|
|
659
666
|
--button_border_color: var(--zdt_button_tertiaryfill_bg);
|
|
660
667
|
}
|
|
668
|
+
|
|
661
669
|
.successStrike {
|
|
662
670
|
--button_strike_color: var(--zdt_button_success_strike);
|
|
663
671
|
}
|
|
672
|
+
|
|
664
673
|
.successfilledStrike {
|
|
665
674
|
--button_strike_color: var(--zdt_button_successFilled_strike);
|
|
666
675
|
--button_border_color: var(--zdt_button_successfill_border);
|
|
@@ -27,7 +27,7 @@ var _ArrowIconModule = _interopRequireDefault(require("../shared/ArrowIcon/Arrow
|
|
|
27
27
|
|
|
28
28
|
var _ColorSelectModule = _interopRequireDefault(require("./ColorSelect.module.css"));
|
|
29
29
|
|
|
30
|
-
var _excluded = ["options", "renderCustomColorIndicator", "renderCustomSelectedValue", "customClass", "customProps", "borderColor", "
|
|
30
|
+
var _excluded = ["options", "renderCustomColorIndicator", "renderCustomSelectedValue", "customClass", "customProps", "borderColor", "dataId", "renderRightPlaceholderNode", "placeholder", "renderCustomToggleIndicator"];
|
|
31
31
|
|
|
32
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
33
33
|
|
|
@@ -57,7 +57,6 @@ function ColorSingleSelect(props) {
|
|
|
57
57
|
customClass = props.customClass,
|
|
58
58
|
customProps = props.customProps,
|
|
59
59
|
borderColor = props.borderColor,
|
|
60
|
-
children = props.children,
|
|
61
60
|
dataId = props.dataId,
|
|
62
61
|
renderRightPlaceholderNode = props.renderRightPlaceholderNode,
|
|
63
62
|
placeholder = props.placeholder,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.semibold {
|
|
2
|
-
font-
|
|
2
|
+
font-weight: var(--zd-fw-semibold);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
[dir=ltr] .boxPadding {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.datesStr {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-normal);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.grid {
|
|
@@ -122,7 +122,8 @@
|
|
|
122
122
|
color: var(--zdt_datetime_invalid_text);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.invalidDate.holiday
|
|
125
|
+
.invalidDate.holiday,
|
|
126
|
+
.inActiveDate.holiday:hover {
|
|
126
127
|
color: var(--zdt_datetime_invaliddate_text);
|
|
127
128
|
}
|
|
128
129
|
|
|
@@ -147,15 +148,17 @@
|
|
|
147
148
|
background-color: var(--zdt_datetime_selected_bg);
|
|
148
149
|
border-radius: 50%;
|
|
149
150
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
|
|
152
|
+
.inActiveDate {
|
|
153
|
+
color: var(--zdt_datetime_invalid_text);
|
|
154
|
+
cursor: no-drop;
|
|
153
155
|
}
|
|
154
|
-
|
|
155
|
-
{
|
|
156
|
+
|
|
157
|
+
.inActiveDate:hover {
|
|
156
158
|
color: var(--zdt_datetime_invalid_text);
|
|
157
159
|
}
|
|
158
|
-
|
|
160
|
+
|
|
161
|
+
.inActiveDate:hover, .inActiveDate.holiday:hover {
|
|
159
162
|
background-color: var(--zdt_datetime_inactivedate_hover_bg);
|
|
160
163
|
|
|
161
164
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* label default variables */
|
|
3
3
|
--label_font_size: var(--zd_font_size14);
|
|
4
4
|
--label_text_color: var(--zdt_label_default_text);
|
|
5
|
-
--
|
|
5
|
+
--label_font_weight: var(--zd-fw-normal);
|
|
6
6
|
--label_cursor: default;
|
|
7
7
|
--label_line_height: 1.286;
|
|
8
8
|
}
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
line-height: var(--label_line_height);
|
|
14
14
|
font-size: var(--label_font_size);
|
|
15
15
|
color: var(--label_text_color);
|
|
16
|
-
font-
|
|
16
|
+
font-weight: var(--label_font_weight);
|
|
17
17
|
cursor: var(--label_cursor);
|
|
18
18
|
}
|
|
19
19
|
.xsmall {
|
|
20
20
|
--label_font_size: var(--zd_font_size12);
|
|
21
|
-
--label_line_height:1.5;
|
|
21
|
+
--label_line_height: 1.5;
|
|
22
22
|
}
|
|
23
23
|
.small {
|
|
24
24
|
--label_font_size: var(--zd_font_size13);
|
|
25
|
-
--label_line_height:1.385;
|
|
25
|
+
--label_line_height: 1.385;
|
|
26
26
|
}
|
|
27
27
|
.medium {
|
|
28
28
|
--label_font_size: var(--zd_font_size14);
|
|
29
|
-
--label_line_height:1.286;
|
|
29
|
+
--label_line_height: 1.286;
|
|
30
30
|
}
|
|
31
31
|
.large {
|
|
32
32
|
--label_font_size: var(--zd_font_size26);
|
|
33
|
-
--label_line_height:0.6923;
|
|
33
|
+
--label_line_height: 0.6923;
|
|
34
34
|
composes: semibold from '../common/common.module.css';
|
|
35
35
|
}
|
|
36
36
|
.pointer {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
display: inline-block;
|
|
47
47
|
}
|
|
48
48
|
.font_default {
|
|
49
|
-
--
|
|
49
|
+
--label_font_weight: var(--zd-fw-normal);
|
|
50
50
|
}
|
|
51
51
|
.font_primary {
|
|
52
|
-
--
|
|
52
|
+
--label_font_weight: var(--zd-fw-semibold);
|
|
53
53
|
composes: ftsmooth from '../common/common.module.css';
|
|
54
54
|
}
|
|
55
55
|
.dotted {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
.more {
|
|
197
197
|
font-size: var(--zd_font_size14) ;
|
|
198
198
|
color: var(--zdt_multiselect_more_text);
|
|
199
|
-
font-
|
|
199
|
+
font-weight: var(--zd-fw-normal);
|
|
200
200
|
cursor: pointer;
|
|
201
201
|
margin-top: var(--zd_size5) ;
|
|
202
202
|
background-color: var(--zdt_multiselect_delete_bg);
|
package/lib/Tab/Tabs.module.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--textbox_width: 100%;
|
|
10
10
|
--textbox_height: var(--zd_size35);
|
|
11
11
|
--textbox_border_radius: none;
|
|
12
|
-
--
|
|
12
|
+
--textbox_font_weight: var(--zd-fw-normal);
|
|
13
13
|
/* Variable:Ignore */
|
|
14
14
|
--textbox_letter_spacing: 0.1px;
|
|
15
15
|
--textbox_padding: 0;
|
|
@@ -166,18 +166,18 @@
|
|
|
166
166
|
.primary,
|
|
167
167
|
.secondary,
|
|
168
168
|
.light {
|
|
169
|
-
font-
|
|
169
|
+
font-weight: var(--textbox_font_weight);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.primary {
|
|
173
173
|
--textbox_text_color: var(--zdt_textbox_default_text);
|
|
174
|
-
--
|
|
174
|
+
--textbox_font_weight: var(--zd-fw-semibold);
|
|
175
175
|
composes: ftsmooth from '../common/common.module.css';
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.secondary {
|
|
179
179
|
--textbox_text_color: var(--zdt_textbox_secondary_text);
|
|
180
|
-
--
|
|
180
|
+
--textbox_font_weight: var(--zd-fw-light);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.light {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
.varClass {
|
|
2
|
-
/* textboxicon default variables */
|
|
3
|
-
--textboxicon_line_height: 1px;
|
|
4
|
-
--textboxicon_line_color: var(--zdt_textboxicon_default_line_bg);
|
|
5
|
-
|
|
6
2
|
/* textboxicon icon default variables */
|
|
7
3
|
--textboxicon_icon_margin: 0 var(--zd_size5);
|
|
8
4
|
--textboxicon_icon_cursor: pointer;
|
|
@@ -11,8 +7,6 @@
|
|
|
11
7
|
.container {
|
|
12
8
|
composes: varClass;
|
|
13
9
|
position: relative;
|
|
14
|
-
--local_inputFieldLine_border_width: var(--textboxicon_line_height);
|
|
15
|
-
--local_inputFieldLine_border_color: var(--textboxicon_line_color);
|
|
16
10
|
}
|
|
17
11
|
.disabled,.readonly {
|
|
18
12
|
--textboxicon_icon_cursor: not-allowed;
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.font_regular {
|
|
28
|
-
font-
|
|
28
|
+
font-weight: var(--zd-fw-normal);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.font_light {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-light);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.font_semibold {
|
|
36
|
-
font-
|
|
36
|
+
font-weight: var(--zd-fw-semibold);
|
|
37
37
|
composes: ftsmooth from '../../common/common.module.css';
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.font_bold {
|
|
41
|
-
font-
|
|
41
|
+
font-weight: var(--zd-fw-bold);
|
|
42
42
|
composes: ftsmooth from '../../common/common.module.css';
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family:
|
|
3
|
-
src: url('https://static.zohocdn.com/webfonts/
|
|
4
|
-
font-weight:
|
|
2
|
+
font-family: Light;
|
|
3
|
+
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
4
|
+
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-display: swap;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@font-face {
|
|
10
|
-
font-family:
|
|
11
|
-
src: url('https://static.zohocdn.com/webfonts/
|
|
12
|
-
font-weight:
|
|
10
|
+
font-family: Regular;
|
|
11
|
+
src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
|
|
12
|
+
font-weight: 400;
|
|
13
13
|
font-style: normal;
|
|
14
14
|
font-display: swap;
|
|
15
15
|
}
|
|
@@ -29,3 +29,36 @@
|
|
|
29
29
|
font-style: normal;
|
|
30
30
|
font-display: swap;
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: ZDLato;
|
|
36
|
+
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
37
|
+
font-weight: 100 300;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: ZDLato;
|
|
44
|
+
src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: ZDLato;
|
|
52
|
+
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
53
|
+
font-weight: 500 600;
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: ZDLato;
|
|
60
|
+
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
61
|
+
font-weight: 700 900;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-display: swap;
|
|
64
|
+
}
|
|
@@ -27,7 +27,7 @@ html {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
textarea {
|
|
30
|
-
font-
|
|
30
|
+
font-weight: var(--zd-fw-normal);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
label, input[type='button'], input[type='submit'], input[type='file'], button {
|
|
@@ -37,4 +37,4 @@ label, input[type='button'], input[type='submit'], input[type='file'], button {
|
|
|
37
37
|
/*Moz Required Box shadow Isssue*/
|
|
38
38
|
input[required]:-moz-ui-invalid {
|
|
39
39
|
box-shadow: none;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
@@ -303,22 +303,22 @@
|
|
|
303
303
|
resize: vertical;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
/*font-
|
|
306
|
+
/*font-weight*/
|
|
307
307
|
.regular {
|
|
308
|
-
font-
|
|
308
|
+
font-weight: var(--zd-fw-normal);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.light {
|
|
312
|
-
font-
|
|
312
|
+
font-weight: var(--zd-fw-light);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.semibold {
|
|
316
|
-
font-
|
|
316
|
+
font-weight: var(--zd-fw-semibold);
|
|
317
317
|
composes: ftsmooth;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
.bold {
|
|
321
|
-
font-
|
|
321
|
+
font-weight: var(--zd-fw-bold);
|
|
322
322
|
composes: ftsmooth;
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
display: initial;
|
|
20
20
|
}
|
|
21
21
|
.font_regular {
|
|
22
|
-
font-
|
|
22
|
+
font-weight: var(--zd-fw-normal);
|
|
23
23
|
}
|
|
24
24
|
.font_light {
|
|
25
|
-
font-
|
|
25
|
+
font-weight: var(--zd-fw-light);
|
|
26
26
|
}
|
|
27
27
|
.font_semibold {
|
|
28
|
-
font-
|
|
28
|
+
font-weight: var(--zd-fw-semibold);
|
|
29
29
|
composes: ftsmooth from '../../../common/common.module.css';
|
|
30
30
|
}
|
|
31
31
|
.font_bold {
|
|
32
|
-
font-
|
|
32
|
+
font-weight: var(--zd-fw-bold);
|
|
33
33
|
composes: ftsmooth from '../../../common/common.module.css';
|
|
34
34
|
}
|
|
35
35
|
.fontStyles_normal{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@zohodesk/layout": "3.1.0",
|
|
87
87
|
"@zohodesk/svg": "1.2.3",
|
|
88
88
|
"@zohodesk/utils": "1.3.15",
|
|
89
|
-
"@zohodesk/variables": "1.
|
|
89
|
+
"@zohodesk/variables": "1.2.0",
|
|
90
90
|
"@zohodesk/virtualizer": "1.0.13",
|
|
91
91
|
"react-sortable-hoc": "^0.8.3",
|
|
92
92
|
"velocity-react": "1.4.3",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"@zohodesk/icons": "1.1.3",
|
|
104
|
-
"@zohodesk/variables": "1.
|
|
104
|
+
"@zohodesk/variables": "1.2.0",
|
|
105
105
|
"@zohodesk/svg": "1.2.3",
|
|
106
106
|
"@zohodesk/virtualizer": "1.0.13",
|
|
107
107
|
"velocity-react": "1.4.3",
|