@zohodesk/components 1.4.10 → 1.4.11-exp.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +10 -0
  3. package/es/AppContainer/AppContainer.js +1 -0
  4. package/es/AppContainer/AppContainer.module.css +3 -2
  5. package/es/Button/css/Button.module.css +13 -4
  6. package/es/DateTime/DateTime.module.css +12 -9
  7. package/es/DateTime/YearView.module.css +1 -1
  8. package/es/Heading/Heading.module.css +1 -1
  9. package/es/Label/Label.module.css +8 -8
  10. package/es/MultiSelect/MultiSelect.js +36 -12
  11. package/es/MultiSelect/MultiSelect.module.css +1 -1
  12. package/es/MultiSelect/Suggestions.js +171 -100
  13. package/es/MultiSelect/props/defaultProps.js +2 -0
  14. package/es/MultiSelect/props/propTypes.js +4 -0
  15. package/es/Select/Select.js +38 -9
  16. package/es/Select/props/defaultProps.js +1 -0
  17. package/es/Select/props/propTypes.js +1 -0
  18. package/es/Tab/Tabs.module.css +1 -1
  19. package/es/TextBox/TextBox.module.css +4 -4
  20. package/es/Textarea/Textarea.module.css +1 -1
  21. package/es/Tooltip/Tooltip.module.css +1 -1
  22. package/es/Typography/css/Typography.module.css +4 -4
  23. package/es/common/basic.module.css +39 -6
  24. package/es/common/basicReset.module.css +2 -2
  25. package/es/common/common.module.css +5 -5
  26. package/es/utils/Common.js +2 -1
  27. package/es/v1/Tab/v1Tabs.module.css +1 -1
  28. package/es/v1/Typography/css/v1_Typography.module.css +4 -4
  29. package/lib/AppContainer/AppContainer.js +2 -0
  30. package/lib/AppContainer/AppContainer.module.css +3 -2
  31. package/lib/Button/css/Button.module.css +13 -4
  32. package/lib/DateTime/DateTime.module.css +12 -9
  33. package/lib/DateTime/YearView.module.css +1 -1
  34. package/lib/Heading/Heading.module.css +1 -1
  35. package/lib/Label/Label.module.css +8 -8
  36. package/lib/MultiSelect/MultiSelect.js +36 -10
  37. package/lib/MultiSelect/MultiSelect.module.css +1 -1
  38. package/lib/MultiSelect/Suggestions.js +174 -104
  39. package/lib/MultiSelect/props/defaultProps.js +2 -0
  40. package/lib/MultiSelect/props/propTypes.js +4 -0
  41. package/lib/Select/Select.js +38 -7
  42. package/lib/Select/props/defaultProps.js +1 -0
  43. package/lib/Select/props/propTypes.js +1 -0
  44. package/lib/Tab/Tabs.module.css +1 -1
  45. package/lib/TextBox/TextBox.module.css +4 -4
  46. package/lib/Textarea/Textarea.module.css +1 -1
  47. package/lib/Tooltip/Tooltip.module.css +1 -1
  48. package/lib/Typography/css/Typography.module.css +4 -4
  49. package/lib/common/basic.module.css +39 -6
  50. package/lib/common/basicReset.module.css +2 -2
  51. package/lib/common/common.module.css +5 -5
  52. package/lib/utils/Common.js +4 -2
  53. package/lib/v1/Tab/v1Tabs.module.css +1 -1
  54. package/lib/v1/Typography/css/v1_Typography.module.css +4 -4
  55. package/package.json +3 -3
@@ -31,6 +31,7 @@ export const MultiSelect_propTypes = {
31
31
  disableAction: PropTypes.bool,
32
32
  dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
33
33
  emptyMessage: PropTypes.string.isRequired,
34
+ isVirtualizerEnabled: PropTypes.bool,
34
35
  getContainerRef: PropTypes.func,
35
36
  getNextOptions: PropTypes.func,
36
37
  getPublicMethods: PropTypes.func,
@@ -168,6 +169,9 @@ export const Suggestions_propTypes = {
168
169
  avatarPalette: PropTypes.string,
169
170
  className: PropTypes.string,
170
171
  dataId: PropTypes.string,
172
+ isVirtualizerEnabled: PropTypes.bool,
173
+ setVirtualizerContainerRefFunction: PropTypes.func,
174
+ getVirtualizerPublicMethods: PropTypes.func,
171
175
  getRef: PropTypes.func,
172
176
  hoverId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
173
177
  hoverOption: PropTypes.number,
@@ -106,6 +106,8 @@ export class SelectComponent extends Component {
106
106
  this.handleAddNewOption = this.handleAddNewOption.bind(this);
107
107
  this.handleExposePopupHandlers = this.handleExposePopupHandlers.bind(this);
108
108
  this.handleGetAddNewOptionText = this.handleGetAddNewOptionText.bind(this);
109
+ this.getVirtualizerPublicMethods = this.getVirtualizerPublicMethods.bind(this);
110
+ this.setSuggestionsVirtualizerContainerRefFunction = this.setSuggestionsVirtualizerContainerRefFunction.bind(this);
109
111
  this.valueInputTypeString = '';
110
112
  this.valueInputSearchString = '';
111
113
  this.autoSelectSuggestions = [];
@@ -173,11 +175,7 @@ export class SelectComponent extends Component {
173
175
  });
174
176
  }
175
177
 
176
- componentDidUpdate(prevProps) {
177
- let {
178
- suggestionContainer,
179
- optionsOrder
180
- } = this;
178
+ componentDidUpdate(prevProps, prevState) {
181
179
  let {
182
180
  hoverIndex,
183
181
  searchStr,
@@ -190,15 +188,31 @@ export class SelectComponent extends Component {
190
188
  needSearch,
191
189
  onSearch,
192
190
  isPopupOpen,
193
- isSearchClearOnClose
191
+ isSearchClearOnClose,
192
+ isVirtualizerEnabled
194
193
  } = this.props;
195
- let hoverId = getIsEmptyValue(optionsOrder[hoverIndex]) ? '' : optionsOrder[hoverIndex];
196
- let selSuggestion = this[`suggestion_${hoverId}`];
197
- isPopupOpen && scrollTo(suggestionContainer, selSuggestion);
194
+
195
+ if (isVirtualizerEnabled && !!this.virtualizerMethods) {
196
+ let position = prevState.hoverIndex > hoverIndex ? 'top' : 'bottom';
197
+ this.virtualizerMethods.getElementVisiblePercentage(hoverIndex) < 50 && this.virtualizerMethods.scrollToIndex(hoverIndex, position);
198
+ } else {
199
+ let {
200
+ suggestionContainer,
201
+ optionsOrder
202
+ } = this;
203
+ let hoverId = getIsEmptyValue(optionsOrder[hoverIndex]) ? '' : optionsOrder[hoverIndex];
204
+ let selSuggestion = this[`suggestion_${hoverId}`];
205
+ isPopupOpen && scrollTo(suggestionContainer, selSuggestion);
206
+ }
198
207
 
199
208
  if (prevProps.isPopupOpen !== isPopupOpen) {
200
209
  if (isPopupOpen) {
201
210
  onDropBoxOpen && this.handleFetchOptions(onDropBoxOpen, searchStr);
211
+
212
+ if (isVirtualizerEnabled && !!this.virtualizerMethods) {
213
+ this.virtualizerMethods.getElementVisiblePercentage(hoverIndex) < 50 && this.virtualizerMethods.scrollToIndex(hoverIndex);
214
+ }
215
+
202
216
  setTimeout(() => {
203
217
  this.searchInput && this.searchInput.focus({
204
218
  preventScroll: true
@@ -529,6 +543,7 @@ export class SelectComponent extends Component {
529
543
 
530
544
  suggestionContainerRef(el) {
531
545
  this.suggestionContainer = el;
546
+ typeof this.setSuggestionsVirtualizerRef === 'function' && this.setSuggestionsVirtualizerRef(el);
532
547
  }
533
548
 
534
549
  suggestionItemRef(el, index, id) {
@@ -676,6 +691,15 @@ export class SelectComponent extends Component {
676
691
  });
677
692
  }
678
693
 
694
+ getVirtualizerPublicMethods(methods) {
695
+ this.virtualizerMethods = methods;
696
+ }
697
+
698
+ setSuggestionsVirtualizerContainerRefFunction(refFunc) {
699
+ this.setSuggestionsVirtualizerRef = refFunc;
700
+ this.suggestionContainer && refFunc(this.suggestionContainer);
701
+ }
702
+
679
703
  render() {
680
704
  let {
681
705
  needSearch,
@@ -728,6 +752,7 @@ export class SelectComponent extends Component {
728
752
  targetOffset,
729
753
  isRestrictScroll,
730
754
  dropBoxPortalId,
755
+ isVirtualizerEnabled,
731
756
  renderCustomToggleIndicator,
732
757
  renderCustomSearchClearComponent
733
758
  } = this.props;
@@ -931,7 +956,11 @@ export class SelectComponent extends Component {
931
956
  customClass: !tabletMode && dropBoxSize ? style[dropBoxSize] : '',
932
957
  eleRef: this.suggestionContainerRef
933
958
  }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
959
+ key: searchStr.trim(),
934
960
  activeId: selectedId,
961
+ isVirtualizerEnabled: isVirtualizerEnabled,
962
+ getVirtualizerPublicMethods: this.getVirtualizerPublicMethods,
963
+ setVirtualizerContainerRefFunction: this.setSuggestionsVirtualizerContainerRefFunction,
935
964
  suggestions: suggestions,
936
965
  getRef: this.suggestionItemRef,
937
966
  hoverOption: hoverIndex,
@@ -6,6 +6,7 @@ export const Select_defaultProps = {
6
6
  dataId: 'selectComponent',
7
7
  dataSelectorId: 'select',
8
8
  dropBoxSize: 'small',
9
+ isVirtualizerEnabled: false,
9
10
  isDefaultSelectValue: true,
10
11
  isDisabled: false,
11
12
  isPopupOpenOnEnter: false,
@@ -12,6 +12,7 @@ export const Select_propTypes = {
12
12
  defaultDropBoxPosition: PropTypes.string,
13
13
  dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
14
14
  emptyMessage: PropTypes.string,
15
+ isVirtualizerEnabled: PropTypes.bool,
15
16
  excludeOptions: PropTypes.array,
16
17
  getChildren: PropTypes.func,
17
18
  getContainerRef: PropTypes.func,
@@ -145,7 +145,7 @@
145
145
  }
146
146
 
147
147
  .emptyStateTitle {
148
- font-family: var(--zd_semibold);
148
+ font-weight: var(--zd-fw-semibold);
149
149
  word-wrap: break-word;
150
150
  font-size: var(--zd_font_size16) ;
151
151
  max-width: var(--zd_size430) ;
@@ -9,7 +9,7 @@
9
9
  --textbox_width: 100%;
10
10
  --textbox_height: var(--zd_size35);
11
11
  --textbox_border_radius: none;
12
- --textbox_font_family: var(--zd_regular);
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-family: var(--textbox_font_family);
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
- --textbox_font_family: var(--zd_semibold);
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
- --textbox_font_family: var(--zd_light);
180
+ --textbox_font_weight: var(--zd-fw-light);
181
181
  }
182
182
 
183
183
  .light {
@@ -139,7 +139,7 @@
139
139
  --textarea_height: var(--zd_size184);
140
140
  }
141
141
  .default {
142
- font-family: var(--zd_regular);
142
+ font-weight: var(--zd-fw-normal);
143
143
  --textarea_text_color: var(--zdt_textarea_black_text);
144
144
  }
145
145
  .primary {
@@ -14,7 +14,7 @@
14
14
  .tooltipcont {
15
15
  color: var(--zdt_tooltip_default_text);
16
16
  font-size: var(--zd_font_size13) ;
17
- font-family: var(--zd_semibold);
17
+ font-weight: var(--zd-fw-semibold);
18
18
  word-break: break-word;
19
19
  max-width: var(--zd_size420) ;
20
20
  line-height: 1.5385;
@@ -25,20 +25,20 @@
25
25
  }
26
26
 
27
27
  .font_regular {
28
- font-family: var(--zd_regular);
28
+ font-weight: var(--zd-fw-normal);
29
29
  }
30
30
 
31
31
  .font_light {
32
- font-family: var(--zd_light);
32
+ font-weight: var(--zd-fw-light);
33
33
  }
34
34
 
35
35
  .font_semibold {
36
- font-family: var(--zd_semibold);
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-family: var(--zd_bold);
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: Regular;
3
- src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
4
- font-weight: 400;
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: Light;
11
- src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
12
- font-weight: 300;
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-family: var(--zd_regular);
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-family*/
306
+ /*font-weight*/
307
307
  .regular {
308
- font-family: var(--zd_regular, Regular);
308
+ font-weight: var(--zd-fw-normal);
309
309
  }
310
310
 
311
311
  .light {
312
- font-family: var(--zd_light, Light);
312
+ font-weight: var(--zd-fw-light);
313
313
  }
314
314
 
315
315
  .semibold {
316
- font-family: var(--zd_semibold, Semibold);
316
+ font-weight: var(--zd-fw-semibold);
317
317
  composes: ftsmooth;
318
318
  }
319
319
 
320
320
  .bold {
321
- font-family: var(--zd_bold, Bold);
321
+ font-weight: var(--zd-fw-bold);
322
322
  composes: ftsmooth;
323
323
  }
324
324
 
@@ -413,4 +413,5 @@ export function isTextSelected() {
413
413
 
414
414
  return false;
415
415
  }
416
- export const DUMMY_OBJECT = {};
416
+ export const DUMMY_OBJECT = {};
417
+ export const DUMMY_ARRAY = [];
@@ -145,7 +145,7 @@
145
145
  }
146
146
 
147
147
  .emptyStateTitle {
148
- font-family: var(--zd_semibold);
148
+ font-weight: var(--zd-fw-semibold);
149
149
  word-wrap: break-word;
150
150
  font-size: var(--zd_font_size16) ;
151
151
  max-width: var(--zd_size430) ;
@@ -19,17 +19,17 @@
19
19
  display: initial;
20
20
  }
21
21
  .font_regular {
22
- font-family: var(--zd_regular);
22
+ font-weight: var(--zd-fw-normal);
23
23
  }
24
24
  .font_light {
25
- font-family: var(--zd_light);
25
+ font-weight: var(--zd-fw-light);
26
26
  }
27
27
  .font_semibold {
28
- font-family: var(--zd_semibold);
28
+ font-weight: var(--zd-fw-semibold);
29
29
  composes: ftsmooth from '../../../common/common.module.css';
30
30
  }
31
31
  .font_bold {
32
- font-family: var(--zd_bold);
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
- --button_font_family: var(--zd_regular);
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-family: var(--button_font_family);
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
- --button_font_family: var(--zd_semibold);
66
+ --button_font_weight: var(--zd-fw-semibold);
67
67
  composes: ftsmooth from '../../common/common.module.css';
68
68
  }
69
69
 
@@ -569,7 +569,7 @@
569
569
  }
570
570
 
571
571
  .loader {
572
- color: var(--dot_mirror)
572
+ color: var(--dot_mirror);
573
573
  }
574
574
 
575
575
  [dir=ltr] .strike {
@@ -579,34 +579,43 @@
579
579
  [dir=rtl] .strike {
580
580
  background-image: repeating-linear-gradient(-120deg, var(--button_strike_color) 0 1px, transparent 1px 8px);
581
581
  }
582
+
582
583
  .primaryStrike {
583
584
  --button_strike_color: var(--zdt_button_primary_strike);
584
585
  }
586
+
585
587
  .primaryfilledStrike {
586
588
  --button_strike_color: var(--zdt_button_primaryFilled_strike);
587
589
  --button_border_color: var(--zdt_button_primaryfill_bg);
588
590
  }
591
+
589
592
  .dangerStrike {
590
593
  --button_strike_color: var(--zdt_button_danger_strike);
591
594
  }
595
+
592
596
  .dangerfilledStrike {
593
597
  --button_strike_color: var(--zdt_button_dangerFilled_strike);
594
598
  --button_border_color: var(--zdt_button_dangerfill_bg);
595
599
  }
600
+
596
601
  .secondaryStrike {
597
602
  --button_strike_color: var(--zdt_button_secondary_border);
598
603
  }
604
+
599
605
  .secondaryfilledStrike {
600
606
  --button_strike_color: var(--zdt_button_secondaryFilled_strike);
601
607
  --button_border_color: var(--zdt_button_secondaryfill_bg);
602
608
  }
609
+
603
610
  .tertiaryfilledStrike {
604
611
  --button_strike_color: var(--zdt_button_tertiaryFilled_strike);
605
612
  --button_border_color: var(--zdt_button_tertiaryfill_bg);
606
613
  }
614
+
607
615
  .successStrike {
608
616
  --button_strike_color: var(--zdt_button_success_strike);
609
617
  }
618
+
610
619
  .successfilledStrike {
611
620
  --button_strike_color: var(--zdt_button_successFilled_strike);
612
621
  --button_border_color: var(--zdt_button_successfill_bg);
@@ -1,5 +1,5 @@
1
1
  .semibold {
2
- font-family: var(--zd_semibold);
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-family: var(--zd_regular);
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,.inActiveDate.holiday:hover {
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
- .inActiveDate{
151
- color: var(--zdt_datetime_invalid_text);
152
- cursor: no-drop;
151
+
152
+ .inActiveDate {
153
+ color: var(--zdt_datetime_invalid_text);
154
+ cursor: no-drop;
153
155
  }
154
- .inActiveDate:hover
155
- {
156
+
157
+ .inActiveDate:hover {
156
158
  color: var(--zdt_datetime_invalid_text);
157
159
  }
158
- .inActiveDate:hover, .inActiveDate.holiday:hover{
160
+
161
+ .inActiveDate:hover, .inActiveDate.holiday:hover {
159
162
  background-color: var(--zdt_datetime_inactivedate_hover_bg);
160
163
 
161
164
  }
@@ -61,7 +61,7 @@
61
61
  }
62
62
 
63
63
  .isActive .yearText {
64
- font-family: var(--zd_semibold);
64
+ font-weight: var(--zd-fw-semibold);
65
65
  color: var(--zdt_yearview_year_hover_text);
66
66
  font-size: var(--zd_font_size11) ;
67
67
  }
@@ -1,5 +1,5 @@
1
1
  .reset {
2
2
  font-size: inherit ;
3
- font-weight: initial;
3
+ font-weight: var(--zd-fw-normal);
4
4
  margin: initial ;
5
5
  }
@@ -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
- --label_font_family: var(--zd_regular);
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-family: var(--label_font_family);
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
- --label_font_family: var(--zd_regular);
49
+ --label_font_weight: var(--zd-fw-normal);
50
50
  }
51
51
  .font_primary {
52
- --label_font_family: var(--zd_semibold);
52
+ --label_font_weight: var(--zd-fw-semibold);
53
53
  composes: ftsmooth from '../common/common.module.css';
54
54
  }
55
55
  .dotted {