@zohodesk/dot 1.0.0-temp-209 → 1.0.0-temp-187.13

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 (50) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +3 -3
  3. package/es/Onboarding/Onboarding.js +1 -1
  4. package/es/VideoLookup/VideoLookup.js +1 -1
  5. package/es/form/fields/CheckBoxField/CheckBoxField.js +9 -6
  6. package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
  7. package/es/form/fields/DateField/DateField.js +8 -7
  8. package/es/form/fields/Fields.module.css +4 -0
  9. package/es/form/fields/MultiSelectField/MultiSelectField.js +6 -5
  10. package/es/form/fields/SelectField/SelectField.js +6 -5
  11. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -2
  12. package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  13. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -6
  14. package/es/form/fields/TextBoxField/TextBoxField.js +7 -7
  15. package/es/form/fields/TextareaField/TextareaField.js +6 -6
  16. package/es/list/DepartmentDropDown/DepartmentDropDown.js +7 -2
  17. package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
  18. package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
  19. package/es/list/status/StatusListItem/StatusListItem.module.css +6 -6
  20. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +3 -3
  21. package/lib/Onboarding/Onboarding.js +2 -2
  22. package/lib/VideoLookup/VideoLookup.js +2 -2
  23. package/lib/form/fields/CheckBoxField/CheckBoxField.js +10 -6
  24. package/lib/form/fields/CurrencyField/CurrencyField.js +5 -4
  25. package/lib/form/fields/DateField/DateField.js +9 -6
  26. package/lib/form/fields/Fields.module.css +4 -0
  27. package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -5
  28. package/lib/form/fields/SelectField/SelectField.js +7 -5
  29. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
  30. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  31. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
  32. package/lib/form/fields/TextBoxField/TextBoxField.js +8 -6
  33. package/lib/form/fields/TextareaField/TextareaField.js +6 -5
  34. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
  35. package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
  36. package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
  37. package/lib/list/status/StatusListItem/StatusListItem.module.css +6 -6
  38. package/package.json +6 -6
  39. package/result.json +1 -1
  40. package/unittest/index.html +11 -7
  41. package/es/DotProvider/libraryChunks/appearance/component/Dark_Component.js +0 -2
  42. package/es/DotProvider/libraryChunks/appearance/component/Light_Component.js +0 -2
  43. package/es/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +0 -2
  44. package/lib/DotProvider/libraryChunks/appearance/component/Dark_Component.js +0 -5
  45. package/lib/DotProvider/libraryChunks/appearance/component/Light_Component.js +0 -5
  46. package/lib/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +0 -5
  47. /package/es/Onboarding/css/{Onboarding.module.css → CardOnboarding.module.css} +0 -0
  48. /package/es/VideoLookup/css/{VideoLookup.module.css → VideoLookupStyles.module.css} +0 -0
  49. /package/lib/Onboarding/css/{Onboarding.module.css → CardOnboarding.module.css} +0 -0
  50. /package/lib/VideoLookup/css/{VideoLookup.module.css → VideoLookupStyles.module.css} +0 -0
@@ -2,13 +2,13 @@ import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THE
2
2
  export const themeAppearanceImports = {
3
3
  Lib_LightMode_Component: () => import(
4
4
  /* webpackChunkName: 'Lib_LightMode_Component' */
5
- "../libraryChunks/appearance/component/Light_Component"),
5
+ '@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css'),
6
6
  Lib_DarkMode_Component: () => import(
7
7
  /* webpackChunkName: 'Lib_DarkMode_Component' */
8
- "../libraryChunks/appearance/component/Dark_Component"),
8
+ '@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css'),
9
9
  Lib_PureDarkMode_Component: () => import(
10
10
  /* webpackChunkName: 'Lib_PureDarkMode_Component' */
11
- "../libraryChunks/appearance/component/PureDark_Component"),
11
+ '@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css'),
12
12
  Lib_LightMode_Dot: () => import(
13
13
  /* webpackChunkName: 'Lib_LightMode_Dot' */
14
14
  "./../../../assets/Appearance/light/mode/Dot_LightMode.module.css"),
@@ -28,7 +28,7 @@ import useOnboarding from "./hooks/useOnboarding";
28
28
  import { DUMMY_OBJECT } from "../utils/General";
29
29
  /** style **/
30
30
 
31
- import defaultStyle from "./css/Onboarding.module.css";
31
+ import defaultStyle from "./css/CardOnboarding.module.css";
32
32
 
33
33
  const Onboarding = _ref => {
34
34
  let {
@@ -11,7 +11,7 @@ import { defaultProps } from "./props/defaultProps";
11
11
  import { propTypes } from "./props/propTypes";
12
12
  /**** Styles ****/
13
13
 
14
- import defaultStyle from "./css/VideoLookup.module.css";
14
+ import defaultStyle from "./css/VideoLookupStyles.module.css";
15
15
  export default function VideoLookup(props) {
16
16
  const {
17
17
  isOpened,
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { Container, Box } from '@zohodesk/components/lib/Layout';
@@ -88,11 +87,15 @@ export default class CheckBoxField extends PureComponent {
88
87
  renderProps: renderLabelProps
89
88
  }, /*#__PURE__*/React.createElement(Label, {
90
89
  text: labelName,
91
- isMandatory: isMandatory,
92
- customStyle: labelCustomClass,
93
- testId: id,
94
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
90
+ id: id,
91
+ size: fieldSize === 'small' ? 'small' : 'medium',
92
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
93
+ infoText: infoText,
94
+ customClass: `${!isDirectCol ? style.checkboxText : ''} ${!isDirectCol ? style[`lineClamp_${lineClamp}`] : ''} ${isReadOnly || isDisabled ? style.cbTextReadonly : style.cbTextPointer} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
95
+ title: labelName,
95
96
  onClick: !removeEvent ? this.handleLabelClick : null,
97
+ variant: isDirectCol ? 'default' : 'primary',
98
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
96
99
  ...LabelProps
97
100
  }));
98
101
  return /*#__PURE__*/React.createElement("div", {
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -130,10 +129,11 @@ export default class CurrencyField extends PureComponent {
130
129
  renderProps: renderLabelProps
131
130
  }, /*#__PURE__*/React.createElement(Label, {
132
131
  text: labelName,
133
- isMandatory: isMandatory,
134
- customStyle: labelCustomClass,
132
+ size: fieldSize === 'small' ? 'small' : 'medium',
133
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
134
+ customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
135
135
  htmlFor: uniqueId,
136
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
136
+ dataId: 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,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import DateWidget from '@zohodesk/components/lib/DateTime/DateWidget';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -134,12 +133,14 @@ export default class DateField extends PureComponent {
134
133
  renderProps: renderLabelProps
135
134
  }, /*#__PURE__*/React.createElement(Label, {
136
135
  text: labelName,
137
- isMandatory: isMandatory,
138
- customStyle: labelCustomClass,
139
136
  htmlFor: getAriaId,
140
- testId: labelName,
141
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
142
- ...LabelProps
137
+ size: fieldSize === 'small' ? 'small' : 'medium',
138
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
139
+ onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
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
143
144
  })), /*#__PURE__*/React.createElement("div", {
144
145
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
145
146
  }, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
@@ -218,3 +218,7 @@ position: relative;
218
218
  [dir=rtl] .rightPlaceholder{
219
219
  left:var(--zd_size15)
220
220
  }
221
+
222
+ .lineClampPickListItem{
223
+ --line-clamp: var(--picklist-field-line-clamp,3);
224
+ }
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import MultiSelect from '@zohodesk/components/lib/MultiSelect/MultiSelect';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -146,11 +145,13 @@ export default class MultiSelectField extends PureComponent {
146
145
  renderProps: renderLabelProps
147
146
  }, /*#__PURE__*/React.createElement(Label, {
148
147
  text: labelName,
149
- isMandatory: isMandatory // customStyle={style.fieldLabel}
148
+ id: id,
149
+ size: fieldSize === 'small' ? 'small' : 'medium',
150
+ palette: isDarkPalette ? 'dark' : isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette // onClick={this.handleLabelClick}
150
151
  ,
152
+ customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
153
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
151
154
  htmlFor: uniqueId,
152
- testId: id,
153
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
154
155
  ...LabelProps
155
156
  })), /*#__PURE__*/React.createElement(MultiSelect, {
156
157
  options: options,
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import Select from '@zohodesk/components/lib/Select/Select';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -116,11 +115,13 @@ export default class SelectField extends PureComponent {
116
115
  renderProps: renderLabelProps
117
116
  }, /*#__PURE__*/React.createElement(Label, {
118
117
  text: labelName,
119
- isMandatory: isMandatory,
118
+ size: fieldSize === 'small' ? 'small' : 'medium',
119
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
120
+ customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
120
121
  htmlFor: uniqueId,
122
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
121
123
  ...LabelProps,
122
- testId: uniqueId,
123
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
124
+ id: uniqueId
124
125
  })), /*#__PURE__*/React.createElement("div", {
125
126
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
126
127
  }, /*#__PURE__*/React.createElement(Select, {
@@ -165,7 +165,8 @@ export default class TagsMultiSelect extends React.Component {
165
165
  const {
166
166
  TextBoxIconProps = {},
167
167
  TagWrapperProps = {},
168
- TagProps = {}
168
+ TagProps = {},
169
+ ListItemProps = {}
169
170
  } = customProps;
170
171
  const isEditable = !isReadOnly;
171
172
  return /*#__PURE__*/React.createElement("div", {
@@ -300,7 +301,8 @@ export default class TagsMultiSelect extends React.Component {
300
301
  getRef: this.getSelectedItemRef,
301
302
  isDisabled: listDisabled,
302
303
  customProps: listItemProps,
303
- customClass: listItemClass
304
+ customClass: listItemClass,
305
+ ...ListItemProps
304
306
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
305
307
  alignBox: "row",
306
308
  align: "vertical"
@@ -52,7 +52,8 @@ export const propTypes = {
52
52
  customProps: PropTypes.shape({
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
- TagProps: PropTypes.object
55
+ TagProps: PropTypes.object,
56
+ ListItemProps: PropTypes.object
56
57
  }),
57
58
  isFocus: PropTypes.bool
58
59
  };
@@ -1,9 +1,8 @@
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/lib/Layout'; // import Label from '@zohodesk/components/lib/Label/Label';
5
-
6
- import Label from "../../../../../components/es/components-v2/Label/Label";
4
+ import { Box } from '@zohodesk/components/lib/Layout';
5
+ import Label from '@zohodesk/components/lib/Label/Label';
7
6
  import Popup from '@zohodesk/components/lib/Popup/Popup';
8
7
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
9
8
  import TagsMultiSelect from "../TagsMultiSelect/TagsMultiSelect";
@@ -207,10 +206,13 @@ const TagsMultiSelectField = props => {
207
206
  }
208
207
  }, /*#__PURE__*/React.createElement(Label, {
209
208
  text: labelName,
210
- isMandatory: isMandatory,
209
+ title: labelName,
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`,
211
215
  htmlFor: htmlId,
212
- testId: id,
213
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
214
216
  ...LabelProps
215
217
  }), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
216
218
  dataId: `${dataId}_tagCount`,
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -104,12 +103,13 @@ export default class TextBoxField extends PureComponent {
104
103
  renderProps: renderLabelProps
105
104
  }, /*#__PURE__*/React.createElement(Label, {
106
105
  text: labelName,
107
- isMandatory: isMandatory,
108
- customStyle: labelCustomClass,
109
- testId: labelName,
106
+ size: fieldSize === 'small' ? 'small' : 'medium',
107
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
108
+ customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
110
109
  htmlFor: uniqueId,
111
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
112
- ...LabelProps
110
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
111
+ ...LabelProps,
112
+ id: labelName
113
113
  })), /*#__PURE__*/React.createElement("div", {
114
114
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
115
115
  }, /*#__PURE__*/React.createElement(TextBoxIcon, {
@@ -3,9 +3,8 @@ 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/lib/Label/Label';
7
6
 
8
- import Label from "../../../../../components/es/components-v2/Label/Label";
7
+ import Label from '@zohodesk/components/lib/Label/Label';
9
8
  import Textarea from '@zohodesk/components/lib/Textarea/Textarea';
10
9
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
11
10
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -132,11 +131,12 @@ export default class TextareaField extends PureComponent {
132
131
  renderProps: renderLabelProps
133
132
  }, /*#__PURE__*/React.createElement(Label, {
134
133
  text: labelName,
135
- isMandatory: isMandatory,
136
- customStyle: labelCustomClass,
137
- testId: id,
134
+ id: id,
135
+ size: fieldSize === 'small' ? 'small' : 'medium',
136
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
137
+ customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
138
138
  htmlFor: uniqueId,
139
- customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
139
+ dataId: 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}`] : ''}`
@@ -48,8 +48,12 @@ class DepartmentDropDown extends Component {
48
48
  onSearch,
49
49
  needSearchFetching,
50
50
  searchStr,
51
- i18nKeys
51
+ i18nKeys,
52
+ customProps
52
53
  } = this.props;
54
+ const {
55
+ ToggleDropDownProps = {}
56
+ } = customProps;
53
57
  let {
54
58
  title = 'Move Department',
55
59
  searchEmptyText = 'No results found',
@@ -84,7 +88,8 @@ class DepartmentDropDown extends Component {
84
88
  getNextOptions: getNextOptions,
85
89
  isNextOptions: isNextOptions,
86
90
  onSearch: onSearch,
87
- needSearchFetching: needSearchFetching
91
+ needSearchFetching: needSearchFetching,
92
+ ...ToggleDropDownProps
88
93
  });
89
94
  }
90
95
 
@@ -3,5 +3,6 @@ export const defaultProps = {
3
3
  isPopupActive: true,
4
4
  isNextOptions: false,
5
5
  searchStr: '',
6
- i18nKeys: {}
6
+ i18nKeys: {},
7
+ customProps: {}
7
8
  };
@@ -20,5 +20,8 @@ export const propTypes = {
20
20
  searchEmptyText: PropTypes.string,
21
21
  searchErrorText: PropTypes.string,
22
22
  placeholder: PropTypes.string
23
+ }),
24
+ customProps: PropTypes.shape({
25
+ ToggleDropDownProps: PropTypes.object
23
26
  })
24
27
  };
@@ -36,9 +36,8 @@
36
36
  .value {
37
37
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
38
38
  }
39
- .multiLineValue{
40
- word-break: break-word;
41
- composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
39
+ .multiLineValue {
40
+ composes: lineClamp from '~@zohodesk/components/lib/common/common.module.css';
42
41
  }
43
42
  [dir=ltr] .withBorder.active {
44
43
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -46,7 +45,6 @@
46
45
  [dir=rtl] .withBorder.active {
47
46
  border-right-color: var(--zdt_statuslistitem_default_active_border);
48
47
  }
49
-
50
48
  .default.hover, .default.effect:hover {
51
49
  background-color: var(--zdt_statuslistitem_default_effect_bg);
52
50
  }
@@ -90,8 +88,10 @@
90
88
  }
91
89
  /* Status Type */
92
90
  .statusType {
93
- width: var(--zd_size8) ;
94
- height: var(--zd_size8) ;
91
+ /* Variable:Ignore */
92
+ height: var(--zd_font_size8);
93
+ /* Variable:Ignore */
94
+ width: var(--zd_font_size8);
95
95
  border-radius: 50%;
96
96
  }
97
97
  [dir=ltr] .statusType {
@@ -20,17 +20,17 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
20
20
  var themeAppearanceImports = {
21
21
  Lib_LightMode_Component: function Lib_LightMode_Component() {
22
22
  return Promise.resolve().then(function () {
23
- return _interopRequireWildcard(require("../libraryChunks/appearance/component/Light_Component"));
23
+ return _interopRequireWildcard(require('@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css'));
24
24
  });
25
25
  },
26
26
  Lib_DarkMode_Component: function Lib_DarkMode_Component() {
27
27
  return Promise.resolve().then(function () {
28
- return _interopRequireWildcard(require("../libraryChunks/appearance/component/Dark_Component"));
28
+ return _interopRequireWildcard(require('@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css'));
29
29
  });
30
30
  },
31
31
  Lib_PureDarkMode_Component: function Lib_PureDarkMode_Component() {
32
32
  return Promise.resolve().then(function () {
33
- return _interopRequireWildcard(require("../libraryChunks/appearance/component/PureDark_Component"));
33
+ return _interopRequireWildcard(require('@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css'));
34
34
  });
35
35
  },
36
36
  Lib_LightMode_Dot: function Lib_LightMode_Dot() {
@@ -41,7 +41,7 @@ var _useOnboarding2 = _interopRequireDefault(require("./hooks/useOnboarding"));
41
41
 
42
42
  var _General = require("../utils/General");
43
43
 
44
- var _OnboardingModule = _interopRequireDefault(require("./css/Onboarding.module.css"));
44
+ var _CardOnboardingModule = _interopRequireDefault(require("./css/CardOnboarding.module.css"));
45
45
 
46
46
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
47
47
 
@@ -63,7 +63,7 @@ var Onboarding = function Onboarding(_ref) {
63
63
  onPrimaryButtonClick = _ref.onPrimaryButtonClick,
64
64
  onSecondaryButtonClick = _ref.onSecondaryButtonClick,
65
65
  customProps = _ref.customProps;
66
- var style = (0, _useMergeStyle["default"])(_OnboardingModule["default"], customStyle);
66
+ var style = (0, _useMergeStyle["default"])(_CardOnboardingModule["default"], customStyle);
67
67
 
68
68
  var _useOnboarding = (0, _useOnboarding2["default"])(),
69
69
  state = _useOnboarding.state,
@@ -23,7 +23,7 @@ var _defaultProps = require("./props/defaultProps");
23
23
 
24
24
  var _propTypes = require("./props/propTypes");
25
25
 
26
- var _VideoLookupModule = _interopRequireDefault(require("./css/VideoLookup.module.css"));
26
+ var _VideoLookupStylesModule = _interopRequireDefault(require("./css/VideoLookupStyles.module.css"));
27
27
 
28
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
29
29
 
@@ -46,7 +46,7 @@ function VideoLookup(props) {
46
46
  testId = props.testId,
47
47
  customId = props.customId,
48
48
  videoFormat = props.videoFormat;
49
- var style = (0, _utils.mergeStyle)(_VideoLookupModule["default"], customStyle);
49
+ var style = (0, _utils.mergeStyle)(_VideoLookupStylesModule["default"], customStyle);
50
50
  var handleKeyPress = (0, _react.useCallback)(function (e) {
51
51
  if (e.keyCode == '27') {
52
52
  onClose(e);
@@ -13,7 +13,7 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
- var _Label = _interopRequireDefault(require("../../../../../components/es/components-v2/Label/Label"));
16
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
17
17
 
18
18
  var _CheckBox = _interopRequireDefault(require("@zohodesk/components/lib/CheckBox/CheckBox"));
19
19
 
@@ -140,11 +140,15 @@ var CheckBoxField = /*#__PURE__*/function (_PureComponent) {
140
140
  renderProps: renderLabelProps
141
141
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
142
142
  text: labelName,
143
- isMandatory: isMandatory,
144
- customStyle: labelCustomClass,
145
- testId: id,
146
- customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
147
- onClick: !removeEvent ? this.handleLabelClick : null
143
+ id: id,
144
+ size: fieldSize === 'small' ? 'small' : 'medium',
145
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
146
+ infoText: infoText,
147
+ customClass: "".concat(!isDirectCol ? _FieldsModule["default"].checkboxText : '', " ").concat(!isDirectCol ? _FieldsModule["default"]["lineClamp_".concat(lineClamp)] : '', " ").concat(isReadOnly || isDisabled ? _FieldsModule["default"].cbTextReadonly : _FieldsModule["default"].cbTextPointer, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
148
+ title: labelName,
149
+ onClick: !removeEvent ? this.handleLabelClick : null,
150
+ variant: isDirectCol ? 'default' : 'primary',
151
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
148
152
  }, LabelProps)));
149
153
 
150
154
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -13,7 +13,7 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
- var _Label = _interopRequireDefault(require("../../../../../components/es/components-v2/Label/Label"));
16
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
17
17
 
18
18
  var _TextBoxIcon = _interopRequireDefault(require("@zohodesk/components/lib/TextBoxIcon/TextBoxIcon"));
19
19
 
@@ -178,10 +178,11 @@ var CurrencyField = /*#__PURE__*/function (_PureComponent) {
178
178
  renderProps: renderLabelProps
179
179
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
180
180
  text: labelName,
181
- isMandatory: isMandatory,
182
- customStyle: labelCustomClass,
181
+ size: fieldSize === 'small' ? 'small' : 'medium',
182
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
183
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
183
184
  htmlFor: uniqueId,
184
- customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
185
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
185
186
  }, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
186
187
  className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
187
188
  }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], _extends({
@@ -13,7 +13,7 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
- var _Label = _interopRequireDefault(require("../../../../../components/es/components-v2/Label/Label"));
16
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
17
17
 
18
18
  var _DateWidget = _interopRequireDefault(require("@zohodesk/components/lib/DateTime/DateWidget"));
19
19
 
@@ -185,12 +185,15 @@ var DateField = /*#__PURE__*/function (_PureComponent) {
185
185
  renderProps: renderLabelProps
186
186
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
187
187
  text: labelName,
188
- isMandatory: isMandatory,
189
- customStyle: labelCustomClass,
190
188
  htmlFor: getAriaId,
191
- testId: labelName,
192
- customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
193
- }, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
189
+ size: fieldSize === 'small' ? 'small' : 'medium',
190
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
191
+ onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
192
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
193
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
194
+ }, LabelProps, {
195
+ id: labelName
196
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
194
197
  className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
195
198
  }, isLocked && lockedValueText ? /*#__PURE__*/_react["default"].createElement("div", {
196
199
  className: _FieldsModule["default"].lockText
@@ -218,3 +218,7 @@ position: relative;
218
218
  [dir=rtl] .rightPlaceholder{
219
219
  left:var(--zd_size15)
220
220
  }
221
+
222
+ .lineClampPickListItem{
223
+ --line-clamp: var(--picklist-field-line-clamp,3);
224
+ }
@@ -13,7 +13,7 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
- var _Label = _interopRequireDefault(require("../../../../../components/es/components-v2/Label/Label"));
16
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
17
17
 
18
18
  var _MultiSelect = _interopRequireDefault(require("@zohodesk/components/lib/MultiSelect/MultiSelect"));
19
19
 
@@ -198,11 +198,13 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
198
198
  renderProps: renderLabelProps
199
199
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
200
200
  text: labelName,
201
- isMandatory: isMandatory // customStyle={style.fieldLabel}
201
+ id: id,
202
+ size: fieldSize === 'small' ? 'small' : 'medium',
203
+ palette: isDarkPalette ? 'dark' : isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette // onClick={this.handleLabelClick}
202
204
  ,
203
- htmlFor: uniqueId,
204
- testId: id,
205
- customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
205
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
206
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
207
+ htmlFor: uniqueId
206
208
  }, LabelProps))), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], _extends({
207
209
  options: options,
208
210
  onChange: this.handleChange,
@@ -13,7 +13,7 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
- var _Label = _interopRequireDefault(require("../../../../../components/es/components-v2/Label/Label"));
16
+ var _Label = _interopRequireDefault(require("@zohodesk/components/lib/Label/Label"));
17
17
 
18
18
  var _Select = _interopRequireDefault(require("@zohodesk/components/lib/Select/Select"));
19
19
 
@@ -166,11 +166,13 @@ var SelectField = /*#__PURE__*/function (_PureComponent) {
166
166
  renderProps: renderLabelProps
167
167
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
168
168
  text: labelName,
169
- isMandatory: isMandatory,
170
- htmlFor: uniqueId
169
+ size: fieldSize === 'small' ? 'small' : 'medium',
170
+ palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
171
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
172
+ htmlFor: uniqueId,
173
+ dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
171
174
  }, LabelProps, {
172
- testId: uniqueId,
173
- customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
175
+ id: uniqueId
174
176
  }))), /*#__PURE__*/_react["default"].createElement("div", {
175
177
  className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '', " ").concat(fieldClass ? fieldClass : '')
176
178
  }, /*#__PURE__*/_react["default"].createElement(_Select["default"], _extends({