@zohodesk/components 1.0.0-temp-183 → 1.0.0-temp-185

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 (107) hide show
  1. package/.DS_Store +0 -0
  2. package/.cli/PropLessFiles.html +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/.cli/stringContains.js +1 -0
  5. package/README.md +6 -0
  6. package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +15 -0
  7. package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +1 -0
  8. package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +15 -0
  9. package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +1 -0
  10. package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +15 -0
  11. package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +1 -0
  12. package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +15 -0
  13. package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +1 -0
  14. package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +15 -0
  15. package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +1 -0
  16. package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +15 -0
  17. package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +1 -0
  18. package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +15 -0
  19. package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +1 -0
  20. package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +15 -0
  21. package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +1 -0
  22. package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +15 -0
  23. package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +1 -0
  24. package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +15 -0
  25. package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +1 -0
  26. package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +15 -0
  27. package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +1 -0
  28. package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +15 -0
  29. package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +1 -0
  30. package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +15 -0
  31. package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +1 -0
  32. package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +15 -0
  33. package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +1 -0
  34. package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +15 -0
  35. package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +1 -0
  36. package/es/AvatarTeam/AvatarTeam.module.css +2 -0
  37. package/es/CheckBox/CheckBox.module.css +35 -6
  38. package/es/DropBox/DropBoxElement/DropBoxElement.js +2 -1
  39. package/es/Select/Select.js +10 -2
  40. package/es/Select/Select.module.css +26 -1
  41. package/es/Tab/TabContentWrapper.js +8 -4
  42. package/es/Tab/props/defaultProps.js +2 -1
  43. package/es/Tab/props/propTypes.js +3 -1
  44. package/es/Tag/Tag.module.css +75 -17
  45. package/es/TextBox/TextBox.js +7 -1
  46. package/es/TextBox/TextBox.module.css +41 -2
  47. package/es/TextBox/props/defaultProps.js +1 -0
  48. package/es/TextBox/props/propTypes.js +1 -0
  49. package/es/TextBoxIcon/TextBoxIcon.js +2 -0
  50. package/es/TextBoxIcon/props/defaultProps.js +1 -0
  51. package/es/TextBoxIcon/props/propTypes.js +1 -0
  52. package/es/Textarea/Textarea.module.css +31 -2
  53. package/es/Tooltip/Tooltip.js +4 -2
  54. package/es/Tooltip/Tooltip.module.css +0 -4
  55. package/es/common/customscroll.module.css +0 -10
  56. package/es/v1/Select/Select.js +10 -2
  57. package/es/v1/Tab/Tab.js +1 -3
  58. package/es/v1/Tab/TabContent.js +1 -1
  59. package/es/v1/Tab/Tabs.js +175 -262
  60. package/es/v1/Tab/v1Tab.module.css +100 -0
  61. package/es/v1/Tab/v1TabContent.module.css +4 -0
  62. package/es/v1/Tab/v1Tabs.module.css +137 -0
  63. package/es/v1/TextBox/TextBox.js +7 -2
  64. package/es/v1/TextBox/props/defaultProps.js +1 -0
  65. package/es/v1/TextBox/props/propTypes.js +1 -0
  66. package/es/v1/TextBoxIcon/TextBoxIcon.js +3 -1
  67. package/es/v1/TextBoxIcon/props/defaultProps.js +1 -0
  68. package/es/v1/TextBoxIcon/props/propTypes.js +1 -0
  69. package/es/v1/Tooltip/Tooltip.js +4 -2
  70. package/lib/AvatarTeam/AvatarTeam.module.css +2 -0
  71. package/lib/CheckBox/CheckBox.module.css +35 -6
  72. package/lib/DropBox/DropBoxElement/DropBoxElement.js +2 -1
  73. package/lib/Select/Select.js +11 -2
  74. package/lib/Select/Select.module.css +26 -1
  75. package/lib/Tab/TabContentWrapper.js +8 -4
  76. package/lib/Tab/props/defaultProps.js +2 -1
  77. package/lib/Tab/props/propTypes.js +3 -1
  78. package/lib/Tag/Tag.module.css +75 -17
  79. package/lib/TextBox/TextBox.js +9 -1
  80. package/lib/TextBox/TextBox.module.css +41 -2
  81. package/lib/TextBox/props/defaultProps.js +1 -0
  82. package/lib/TextBox/props/propTypes.js +1 -1
  83. package/lib/TextBoxIcon/TextBoxIcon.js +2 -0
  84. package/lib/TextBoxIcon/props/defaultProps.js +1 -0
  85. package/lib/TextBoxIcon/props/propTypes.js +1 -0
  86. package/lib/Textarea/Textarea.module.css +31 -2
  87. package/lib/Tooltip/Tooltip.js +4 -2
  88. package/lib/Tooltip/Tooltip.module.css +0 -4
  89. package/lib/common/customscroll.module.css +0 -10
  90. package/lib/v1/Select/Select.js +11 -2
  91. package/lib/v1/Tab/Tab.js +6 -6
  92. package/lib/v1/Tab/TabContent.js +2 -2
  93. package/lib/v1/Tab/Tabs.js +434 -530
  94. package/lib/v1/Tab/v1Tab.module.css +100 -0
  95. package/lib/v1/Tab/v1TabContent.module.css +4 -0
  96. package/lib/v1/Tab/v1Tabs.module.css +137 -0
  97. package/lib/v1/TextBox/TextBox.js +8 -2
  98. package/lib/v1/TextBox/props/defaultProps.js +1 -0
  99. package/lib/v1/TextBox/props/propTypes.js +1 -1
  100. package/lib/v1/TextBoxIcon/TextBoxIcon.js +3 -1
  101. package/lib/v1/TextBoxIcon/props/defaultProps.js +1 -0
  102. package/lib/v1/TextBoxIcon/props/propTypes.js +1 -0
  103. package/lib/v1/Tooltip/Tooltip.js +4 -2
  104. package/package.json +10 -9
  105. package/propValidationArg.json +2 -2
  106. package/result.json +1 -1
  107. /package/.cli/{AppearanceThemeValidationExcludeFiles.js → ThemeValidationExcludeFiles.js} +0 -0
@@ -0,0 +1,100 @@
1
+ .tab {
2
+ text-transform: uppercase;
3
+ letter-spacing: 0.6px;
4
+ text-decoration: none;
5
+ cursor: pointer;
6
+ }
7
+ .vertical {
8
+ height: 100%;
9
+ }
10
+ .horizontal {
11
+ width: 100%;
12
+ max-width: 100%;
13
+ }
14
+ .textContainer,
15
+ .tabText {
16
+ max-width: inherit;
17
+ }
18
+ .tabText {
19
+ composes: dotted from '../../common/common.module.css';
20
+ }
21
+ .disabled {
22
+ cursor: not-allowed;
23
+ }
24
+ .border {
25
+ border-bottom: 1px solid var(--zdt_tab_default_border);
26
+ }
27
+
28
+ .alpha,
29
+ .beta,
30
+ .delta {
31
+ transition: all var(--zd_transition2);
32
+ }
33
+ .alpha {
34
+ font-size: 11px;
35
+ line-height: 3;
36
+ padding: 0 18px;
37
+ }
38
+ .tabAlpha {
39
+ composes: alpha;
40
+ color: var(--zdt_tab_alpha_text);
41
+ }
42
+ .alphaHover:hover {
43
+ color: var(--zdt_tab_alpha_hover_text);
44
+ background-color: var(--zdt_tab_alpha_hover_bg);
45
+ }
46
+ .alphaActive {
47
+ composes: alpha;
48
+ color: var(--zdt_tab_alpha_active_text);
49
+ }
50
+ .alphaActive_border, .betaActive_border {
51
+ border-color: var(--zdt_tab_alpha_active_border);
52
+ }
53
+ .deltaActive_border {
54
+ border-color: var(--zdt_tab_delta_active_border);
55
+ }
56
+ .beta {
57
+ font-size: 14px;
58
+ line-height: 4.2857;
59
+ text-transform: capitalize;
60
+ padding: 0 4px;
61
+ }
62
+ [dir=ltr] .beta {
63
+ margin-right: 40px;
64
+ }
65
+ [dir=rtl] .beta {
66
+ margin-left: 40px;
67
+ }
68
+ .tabBeta {
69
+ composes: beta;
70
+ color: var(--zdt_tab_alpha_text);
71
+ }
72
+ .betaHover:hover {
73
+ color: var(--zdt_tab_alpha_hover_text);
74
+ }
75
+ .betaActive {
76
+ composes: beta;
77
+ color: var(--zdt_tab_alpha_hover_text);
78
+ }
79
+ .delta {
80
+ font-size: 11px;
81
+ line-height: 3;
82
+ padding: 0 4px;
83
+ }
84
+ [dir=ltr] .delta {
85
+ margin-right: 10px;
86
+ }
87
+ [dir=rtl] .delta {
88
+ margin-left: 10px;
89
+ }
90
+ .tabDelta {
91
+ composes: delta;
92
+ color: var(--zdt_tab_alpha_text);
93
+ }
94
+ .deltaHover:hover {
95
+ color: var(--zdt_tab_alpha_active_text);
96
+ }
97
+ .deltaActive {
98
+ composes: delta;
99
+ color: var(--zdt_tab_alpha_active_text);
100
+ }
@@ -0,0 +1,4 @@
1
+ /* $Id$ */
2
+ .container {
3
+ position: relative;
4
+ }
@@ -0,0 +1,137 @@
1
+ .tab {
2
+ position: relative;
3
+ z-index: 1;
4
+ --tab_position_gap: 22px;
5
+ }
6
+
7
+ .alpha {
8
+ height: 35px;
9
+ background-color: var(--zdt_tabs_alpha_bg);
10
+ }
11
+
12
+ [dir=ltr] .alpha_padding {
13
+ padding-left: 15px;
14
+ }
15
+
16
+ [dir=rtl] .alpha_padding {
17
+ padding-right: 15px;
18
+ }
19
+
20
+ .alpha_border {
21
+ border-width: 0 0 1px 0;
22
+ border-color: var(--zdt_tabs_alpha_border);
23
+ border-style: solid;
24
+ }
25
+
26
+ .alpha::after {
27
+ content: '';
28
+ position: absolute;
29
+ z-index: -2;
30
+ width: 76%;
31
+ bottom: 0;
32
+ height: 10px;
33
+ border-radius: 100px / 5px;
34
+ box-shadow: var(--zd_bs_tabs_shadow);
35
+ }
36
+
37
+ [dir=ltr] .alpha::after {
38
+ left: 12%;
39
+ }
40
+
41
+ [dir=rtl] .alpha::after {
42
+ right: 12%;
43
+ }
44
+
45
+ .alpha:before {
46
+ content: '';
47
+ position: absolute;
48
+ z-index: -1;
49
+ width: 100%;
50
+ height: 100%;
51
+ top: 0;
52
+ background: inherit;
53
+ }
54
+
55
+ [dir=ltr] .alpha:before {
56
+ left: 0;
57
+ }
58
+
59
+ [dir=rtl] .alpha:before {
60
+ right: 0;
61
+ }
62
+
63
+ .beta {
64
+ height: 61px;
65
+ background-color: var(--zdt_tabs_alpha_bg);
66
+ }
67
+
68
+ [dir=ltr] .beta_padding {
69
+ padding-left: 13px;
70
+ }
71
+
72
+ [dir=rtl] .beta_padding {
73
+ padding-right: 13px;
74
+ }
75
+
76
+ .beta_border {
77
+ border-bottom: 1px solid var(--zdt_tabs_alpha_border);
78
+ }
79
+
80
+ .delta {
81
+ height: 35px;
82
+ background-color: var(--zdt_tabs_alpha_bg);
83
+ }
84
+
85
+ [dir=ltr] .delta_padding {
86
+ padding-left: 10px;
87
+ }
88
+
89
+ [dir=rtl] .delta_padding {
90
+ padding-right: 10px;
91
+ }
92
+
93
+ .delta_border {
94
+ border-bottom: 1px dotted var(--zdt_tabs_alpha_border);
95
+ }
96
+
97
+ .delta .highlight {
98
+ border-color: var(--zdt_tabs_delta_border);
99
+ }
100
+
101
+ .maxWidth {
102
+ max-width: 100%;
103
+ }
104
+
105
+ .highlight {
106
+ position: absolute;
107
+ bottom: 0;
108
+ border-bottom: 1px solid var(--zdt_tabs_highlight_border);
109
+ }
110
+
111
+ .lineAnimate {
112
+ transition: transform var(--zd_transition3) linear;
113
+ }
114
+
115
+ .menu {
116
+ position: relative;
117
+ cursor: pointer;
118
+ }
119
+
120
+ .menuBox {
121
+ max-height: 220px;
122
+ }
123
+ .bottomRightToLeft,
124
+ .topRightToLeft,
125
+ .bottomCenterToLeft {
126
+ right: calc(var(--tab_position_gap) * -1);
127
+ }
128
+
129
+ .bottomLeftToRight,
130
+ .topLeftToRight,
131
+ .bottomCenterToRight {
132
+ left: calc(var(--tab_position_gap) * -1);
133
+ }
134
+
135
+ .hidden {
136
+ visibility: hidden;
137
+ }
@@ -38,7 +38,8 @@ function TextBox(props) {
38
38
  onFocus,
39
39
  onBlur,
40
40
  onChange,
41
- inputRef
41
+ inputRef,
42
+ isScrollPrevent
42
43
  } = props;
43
44
  let {
44
45
  ariaLabel,
@@ -94,6 +95,9 @@ function TextBox(props) {
94
95
  } = e.target;
95
96
  onChange && !isReadOnly && onChange(value, e);
96
97
  };
98
+ const handlePreventTextBoxScroll = () => {
99
+ this.inputEle.scrollLeft = 0;
100
+ };
97
101
  let classList = needAppearance ? `${style.container} ${style[size]} ${style[variant]} ${needBorder ? style.border : ''} ${isDisabled && !needEffect || isReadOnly && !needEffect ? '' : style.effect} ${isFocus ? style.focus : ''}` : `${style.basic}`;
98
102
  value = value === null || value === undefined ? '' : value;
99
103
  return /*#__PURE__*/React.createElement("input", _extends({
@@ -111,7 +115,7 @@ function TextBox(props) {
111
115
  "aria-activedescendant": ariaActivedescendant,
112
116
  "aria-readonly": ariaReadonly,
113
117
  "aria-multiselectable": ariaMultiselectable,
114
- className: `${isReadOnly && needReadOnlyStyle ? style.readonly : ''} ${isClickable ? style.pointer : ''} ${classList} ${style[`borderColor_${borderColor}`]} ${customClass ? customClass : ''}`,
118
+ className: `${isReadOnly && needReadOnlyStyle ? style.readonly : ''} ${isClickable ? style.pointer : ''} ${classList} ${style[`borderColor_${borderColor}`]} ${isScrollPrevent ? style.inputDotted : ''} ${customClass ? customClass : ''}`,
115
119
  "data-id": `${dataId}`,
116
120
  "data-test-id": `${dataId}`,
117
121
  "data-selector-id": dataSelectorId,
@@ -128,6 +132,7 @@ function TextBox(props) {
128
132
  ref: handleRef,
129
133
  type: type,
130
134
  value: value,
135
+ onScroll: isScrollPrevent ? handlePreventTextBoxScroll : '',
131
136
  onKeyPress: onKeyPress,
132
137
  onMouseDown: onMouseDown
133
138
  }, options.current, customProps));
@@ -14,6 +14,7 @@ export const defaultProps = {
14
14
  borderColor: 'default',
15
15
  a11y: {},
16
16
  isFocus: false,
17
+ isScrollPrevent: false,
17
18
  customProps: {},
18
19
  dataSelectorId: 'textBox'
19
20
  };
@@ -49,6 +49,7 @@ export const propTypes = {
49
49
  ariaMultiselectable: PropTypes.bool
50
50
  }),
51
51
  isFocus: PropTypes.bool,
52
+ isScrollPrevent: PropTypes.bool,
52
53
  customProps: PropTypes.object,
53
54
  dataSelectorId: PropTypes.string,
54
55
  autoComplete: PropTypes.bool
@@ -48,7 +48,8 @@ export default function TextBoxIcon(props) {
48
48
  customProps,
49
49
  inputRef,
50
50
  onFocus,
51
- onBlur
51
+ onBlur,
52
+ isScrollPrevent
52
53
  } = props;
53
54
  const {
54
55
  customTBoxWrap = '',
@@ -117,6 +118,7 @@ export default function TextBoxIcon(props) {
117
118
  onKeyPress: onKeyPress,
118
119
  onMouseDown: onMouseDown,
119
120
  needBorder: false,
121
+ isScrollPrevent: isScrollPrevent,
120
122
  customClass: customTextBox,
121
123
  customProps: TextBoxProps
122
124
  }))), /*#__PURE__*/React.createElement(Box, {
@@ -17,6 +17,7 @@ export const defaultProps = {
17
17
  customClass: {},
18
18
  iconOnHover: false,
19
19
  isFocus: false,
20
+ isScrollPrevent: false,
20
21
  customProps: {},
21
22
  dataSelectorId: 'textBoxIcon'
22
23
  };
@@ -46,6 +46,7 @@ export const propTypes = {
46
46
  iconOnHover: PropTypes.bool,
47
47
  isFocus: PropTypes.bool,
48
48
  onClearMouseDown: PropTypes.func,
49
+ isScrollPrevent: PropTypes.bool,
49
50
  customProps: PropTypes.shape({
50
51
  TextBoxProps: PropTypes.object
51
52
  })
@@ -136,7 +136,9 @@ export default class Tooltip extends React.Component {
136
136
  if (title !== '' && title) {
137
137
  titleDiv.setAttribute('data-title', title);
138
138
  titleDiv.removeAttribute('title');
139
- if (element.nodeName !== 'I' && element.innerText && element.innerText.trim() !== '') {
139
+ let isInputElementType = element.type === 'text';
140
+ let elementText = isInputElementType ? element.value : element.innerText;
141
+ if (element.nodeName !== 'I' && elementText && elementText.trim() !== '') {
140
142
  let isContentDotted = '';
141
143
  if (element.scrollWidth !== 0) {
142
144
  isContentDotted = element.offsetWidth < element.scrollWidth;
@@ -151,7 +153,7 @@ export default class Tooltip extends React.Component {
151
153
  const scrollWidth = selectn('parentElement.scrollWidth', element) || 0;
152
154
  isContentDotted = offWidth < scrollWidth;
153
155
  }
154
- let originText = element.innerText.replace(/\s/g, '').toLowerCase();
156
+ let originText = elementText.replace(/\s/g, '').toLowerCase();
155
157
  let tooltipText = title.replace(/\s/g, '').toLowerCase();
156
158
  let isDefaultTooltip = element.hasAttribute('data-istitle') || element.hasAttribute('istitle') ? element.getAttribute('data-istitle') || element.getAttribute('istitle') : 'false';
157
159
  isDefaultTooltip = isDefaultTooltip === 'true';
@@ -31,6 +31,7 @@
31
31
  height: var(--avatarteam_height);
32
32
  outline-width: var(--avatarteam_outline_width);
33
33
  outline-style: var(--avatarteam_outline_style);
34
+ /* css:theme-validation:ignore */
34
35
  outline-color: var(--avatarteam_outline_color);
35
36
  border-width: var(--avatarteam_border_width);
36
37
  border-style: var(--avatarteam_border_style);
@@ -75,6 +76,7 @@
75
76
  top: var(--avatarteam_bottom_top);
76
77
  outline-width: var(--avatarteam_outline_width);
77
78
  outline-style: var(--avatarteam_outline_style);
79
+ /* css:theme-validation:ignore */
78
80
  outline-color: var( --avatarteam_outline_color);
79
81
  }
80
82
  .team:after, .team:before {
@@ -1,7 +1,7 @@
1
1
  .varClass {
2
2
  /* checkbox default variables */
3
3
  --checkbox_bg_color: var(--zdt_checkbox_default_bg);
4
- --checkbox_cursor: auto;
4
+ --checkbox_cursor: default;
5
5
  --checkbox_stroke_width: 2px;
6
6
  --checkbox_stroke_color: var(--zdt_checkbox_default_stroke_border);
7
7
 
@@ -9,42 +9,52 @@
9
9
  --checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
10
10
  --checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
11
11
  }
12
+
12
13
  .container {
13
14
  composes: varClass;
14
15
  stroke: var(--checkbox_stroke_color);
15
16
  }
17
+
16
18
  .container, .pointer, .readonly {
17
19
  cursor: var(--checkbox_cursor);
18
20
  }
21
+
19
22
  .pointer {
20
23
  --checkbox_cursor: pointer;
21
24
  }
25
+
22
26
  .readonly {
23
27
  --checkbox_cursor: default;
24
28
  }
29
+
25
30
  .cbBox {
26
31
  fill: none;
27
32
  stroke-width: var(--checkbox_stroke_width);
28
33
  stroke-linecap: round;
29
34
  stroke: inherit;
30
35
  }
36
+
31
37
  .tickPath {
32
38
  composes: cbBox;
33
39
  stroke-dasharray: 40;
34
40
  }
41
+
35
42
  .boxContainer {
36
43
  composes: offSelection from '../common/common.module.css';
37
44
  /* css:theme-validation:ignore */
38
45
  border-radius: 2px;
39
46
  background-color: var(--checkbox_bg_color);
40
47
  }
48
+
41
49
  .filled {
42
50
  --checkbox_bg_color: inherit;
43
51
  }
52
+
44
53
  .medium {
45
54
  width: 16px;
46
55
  height: 16px;
47
56
  }
57
+
48
58
  .small {
49
59
  width: 13px;
50
60
  height: 13px;
@@ -82,18 +92,23 @@
82
92
  [dir=rtl] .checkedtickPath {
83
93
  animation: tickAnimate var(--zd_transition3) ease forwards;
84
94
  }
95
+
85
96
  .linePath {
86
97
  transform-origin: center;
87
98
  }
99
+
88
100
  [dir=ltr] .linePath {
89
101
  animation: lineAnimate var(--zd_transition3) ease forwards;
90
102
  }
103
+
91
104
  [dir=rtl] .linePath {
92
105
  animation: lineAnimate var(--zd_transition3) ease forwards;
93
106
  }
107
+
94
108
  [dir=ltr] .text {
95
109
  margin-left: 6px;
96
110
  }
111
+
97
112
  [dir=rtl] .text {
98
113
  margin-right: 6px;
99
114
  }
@@ -102,19 +117,25 @@
102
117
  .checkeddanger {
103
118
  stroke: var(--checkbox_checked_stroke_color);
104
119
  }
120
+
105
121
  .primary:hover
122
+
106
123
  /* .primary:focus */
107
- {
124
+ {
108
125
  --checkbox_stroke_color: var(--zdt_checkbox_primary_stroke_border);
109
126
  }
127
+
110
128
  .checkedprimary {
111
129
  --checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
112
130
  }
131
+
113
132
  .danger:hover
133
+
114
134
  /* .danger:focus */
115
- {
135
+ {
116
136
  --checkbox_stroke_color: var(--zdt_checkbox_danger_stroke_border);
117
137
  }
138
+
118
139
  .checkeddanger {
119
140
  --checkbox_checked_stroke_color: var(--zdt_checkbox_danger_stroke_border);
120
141
  }
@@ -124,19 +145,25 @@
124
145
  /* css:theme-validation:ignore */
125
146
  color: var(--checkbox_checked_active_color);
126
147
  }
148
+
127
149
  .activeprimaryLabel:hover
150
+
128
151
  /* .activeprimaryLabel:focus */
129
- {
152
+ {
130
153
  --label_text_color: var(--zdt_checkbox_label_primary_text);
131
154
  }
155
+
132
156
  .checkedprimaryLabel {
133
157
  --checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
134
158
  }
159
+
135
160
  .activedangerLabel:hover
161
+
136
162
  /* .activedangerLabel:focus */
137
- {
163
+ {
138
164
  --label_text_color: var(--zdt_checkbox_label_danger_text);
139
165
  }
166
+
140
167
  .checkeddangerLabel {
141
168
  --checkbox_checked_active_color: var(--zdt_checkbox_danger_stroke_border);
142
169
  }
@@ -144,6 +171,7 @@
144
171
  0% {
145
172
  stroke-dashoffset: 40;
146
173
  }
174
+
147
175
  100% {
148
176
  stroke-dashoffset: 0;
149
177
  }
@@ -153,7 +181,8 @@
153
181
  0% {
154
182
  transform: scaleX(0);
155
183
  }
184
+
156
185
  100% {
157
186
  transform: scaleX(1);
158
187
  }
159
- }
188
+ }
@@ -99,7 +99,8 @@ function DropBoxElement(props) {
99
99
  "aria-multiselectable": ariaMultiselectable,
100
100
  "aria-labelledby": ariaLabelledby,
101
101
  tabIndex: tabIndex,
102
- onAnimationEnd: isAnimate && FireOnAnimationEnd
102
+ onAnimationEnd: isAnimate && FireOnAnimationEnd,
103
+ "data-a11y-focus-main-area": true
103
104
  }, /*#__PURE__*/_react["default"].createElement("div", {
104
105
  tabIndex: "-1",
105
106
  className: "".concat(subContainerClass, " ").concat(_DropBoxElementModule["default"]["".concat(palette, "Palette")]),
@@ -28,6 +28,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
28
28
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
29
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
30
30
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
31
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
32
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
33
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
31
34
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
32
35
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
33
36
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -763,8 +766,11 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
763
766
  htmlId: htmlId,
764
767
  isFocus: isPopupReady,
765
768
  autoComplete: autoComplete,
769
+ isScrollPrevent: true,
766
770
  customProps: {
767
- TextBoxProps: TextBoxProps
771
+ TextBoxProps: _objectSpread({
772
+ 'data-title': title || selected
773
+ }, TextBoxProps)
768
774
  }
769
775
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
770
776
  alignBox: "row",
@@ -812,7 +818,10 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
812
818
  htmlId: htmlId,
813
819
  autoComplete: autoComplete,
814
820
  isFocus: isPopupReady,
815
- customProps: TextBoxProps
821
+ isScrollPrevent: true,
822
+ customProps: _objectSpread({
823
+ 'data-title': title || selected
824
+ }, TextBoxProps)
816
825
  })), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
817
826
  query: this.responsiveFunc,
818
827
  responsiveId: "Helmet"
@@ -1,29 +1,37 @@
1
1
  .input {
2
2
  cursor: pointer;
3
3
  }
4
+
4
5
  .small {
5
6
  max-height: 200px;
6
7
  }
8
+
7
9
  .medium {
8
10
  max-height: 350px;
9
11
  }
12
+
10
13
  .large {
11
14
  max-height: 400px;
12
15
  }
16
+
13
17
  .emptyState {
14
18
  font-size: 14px;
15
19
  color: var(--zdt_select_emptystate_text);
16
20
  composes: semibold from '../common/common.module.css';
17
21
  }
22
+
18
23
  .box_small .emptyState {
19
24
  padding: 12px 6px;
20
25
  }
26
+
21
27
  .box_medium .emptyState {
22
28
  padding: 12px 15px;
23
29
  }
30
+
24
31
  .hide {
25
32
  composes: vishidden from '../common/common.module.css';
26
33
  }
34
+
27
35
  .container {
28
36
  position: relative;
29
37
  }
@@ -32,35 +40,45 @@
32
40
  height: 8px;
33
41
  line-height: var(--zd_size8);
34
42
  }
43
+
35
44
  .small.search {
36
45
  padding: 0 5px;
37
46
  }
47
+
38
48
  .medium.search {
39
49
  padding: 3px 20px 0;
40
50
  }
51
+
41
52
  .title {
42
53
  margin-bottom: 6px;
43
54
  }
55
+
44
56
  .groupTitle {
45
57
  margin: 6px 0;
46
58
  }
59
+
47
60
  .listItemContainer {
48
61
  padding: 10px 0;
49
62
  }
63
+
50
64
  .responsivelistItemContainer {
51
65
  padding: 10px 0 0;
52
66
  }
67
+
53
68
  .readonly {
54
69
  --textboxicon_icon_cursor: not-allowed;
55
70
  }
71
+
56
72
  .transparentContainer .arrowIcon {
57
73
  opacity: 0;
58
74
  visibility: hidden;
59
75
  }
76
+
60
77
  .transparentContainer:hover .arrowIcon {
61
78
  opacity: 1;
62
79
  visibility: visible;
63
80
  }
81
+
64
82
  .disable {
65
83
  color: var(--zdt_select_disable_text);
66
84
  }
@@ -79,9 +97,11 @@
79
97
  [dir=rtl] .leftIcon {
80
98
  right: 0;
81
99
  }
100
+
82
101
  [dir=ltr] .iconSelect {
83
102
  padding-left: 30px;
84
103
  }
104
+
85
105
  [dir=rtl] .iconSelect {
86
106
  padding-right: 30px;
87
107
  }
@@ -89,22 +109,27 @@
89
109
  .dropBoxList {
90
110
  padding: 10px 0;
91
111
  }
92
- .responsivedropBoxList{
112
+
113
+ .responsivedropBoxList {
93
114
  padding: 10px 0 0 0;
94
115
  }
116
+
95
117
  .rotate {
96
118
  transform: rotateX(180deg);
97
119
  }
120
+
98
121
  .iconOnHoverStyle .arrowIcon,
99
122
  .iconOnHoverReadonly .arrowIcon,
100
123
  .iconOnHoverReadonly:hover .arrowIcon {
101
124
  opacity: 0;
102
125
  visibility: hidden;
103
126
  }
127
+
104
128
  .iconOnHoverStyle:hover .arrowIcon {
105
129
  opacity: 1;
106
130
  visibility: visible;
107
131
  }
132
+
108
133
  .loader {
109
134
  padding: 10px;
110
135
  }