@zohodesk/dot 1.9.1 → 1.9.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.
Files changed (58) hide show
  1. package/README.md +5 -0
  2. package/es/form/fields/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
  3. package/es/list/DepartmentDropDown/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
  4. package/es/list/SecondaryText/AccountName.js +23 -8
  5. package/es/list/SecondaryText/ContactName.js +18 -6
  6. package/es/list/SecondaryText/DepartmentText.js +13 -6
  7. package/es/list/SecondaryText/Email.js +19 -7
  8. package/es/list/SecondaryText/PhoneNumber.js +19 -7
  9. package/es/list/SecondaryText/PriorityText.js +13 -6
  10. package/es/list/SecondaryText/SecondaryText.js +17 -8
  11. package/es/list/SecondaryText/SecondaryText.module.css +40 -24
  12. package/es/list/SecondaryText/StatusText.js +13 -6
  13. package/es/list/SecondaryText/TicketId.js +8 -2
  14. package/es/list/SecondaryText/Website.js +16 -5
  15. package/es/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
  16. package/es/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
  17. package/es/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
  18. package/es/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
  19. package/es/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
  20. package/es/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
  21. package/es/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
  22. package/es/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
  23. package/es/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
  24. package/es/list/SecondaryText/props/defaultProps.js +18 -0
  25. package/es/list/SecondaryText/props/propTypes.js +21 -0
  26. package/es/list/Subject/Subject.js +28 -12
  27. package/es/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
  28. package/es/list/Subject/props/defaultProps.js +3 -1
  29. package/es/list/Subject/props/propTypes.js +5 -1
  30. package/lib/form/fields/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
  31. package/lib/list/DepartmentDropDown/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
  32. package/lib/list/SecondaryText/AccountName.js +27 -8
  33. package/lib/list/SecondaryText/ContactName.js +21 -6
  34. package/lib/list/SecondaryText/DepartmentText.js +15 -6
  35. package/lib/list/SecondaryText/Email.js +22 -7
  36. package/lib/list/SecondaryText/PhoneNumber.js +22 -7
  37. package/lib/list/SecondaryText/PriorityText.js +15 -6
  38. package/lib/list/SecondaryText/SecondaryText.js +26 -8
  39. package/lib/list/SecondaryText/SecondaryText.module.css +40 -24
  40. package/lib/list/SecondaryText/StatusText.js +15 -6
  41. package/lib/list/SecondaryText/TicketId.js +10 -2
  42. package/lib/list/SecondaryText/Website.js +18 -5
  43. package/lib/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
  44. package/lib/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
  45. package/lib/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
  46. package/lib/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
  47. package/lib/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
  48. package/lib/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
  49. package/lib/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
  50. package/lib/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
  51. package/lib/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
  52. package/lib/list/SecondaryText/props/defaultProps.js +18 -0
  53. package/lib/list/SecondaryText/props/propTypes.js +22 -0
  54. package/lib/list/Subject/Subject.js +40 -13
  55. package/lib/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
  56. package/lib/list/Subject/props/defaultProps.js +3 -1
  57. package/lib/list/Subject/props/propTypes.js +6 -1
  58. package/package.json +3 -3
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _Link = _interopRequireDefault(require("../../Link/Link"));
17
21
 
18
22
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
@@ -69,7 +73,9 @@ var Email = /*#__PURE__*/function (_Component) {
69
73
  isLink = _this$props.isLink,
70
74
  target = _this$props.target,
71
75
  fontWeight = _this$props.fontWeight,
72
- customProps = _this$props.customProps;
76
+ customProps = _this$props.customProps,
77
+ isHighlighted = _this$props.isHighlighted,
78
+ highlightData = _this$props.highlightData;
73
79
  var _customProps$LinkProp = customProps.LinkProps,
74
80
  LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
75
81
  _customProps$TextProp = customProps.TextProps,
@@ -81,12 +87,21 @@ var Email = /*#__PURE__*/function (_Component) {
81
87
  urlName: urlName,
82
88
  target: target,
83
89
  className: _SecondaryTextModule["default"].link
84
- }, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
85
- className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
86
- }, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
87
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : ''),
88
- "data-title": title
89
- }, TextProps), text));
90
+ }, LinkProps), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
91
+ $flag_dotted: true,
92
+ $ui_size: "12",
93
+ $ui_weight: fontWeight,
94
+ $ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : ''),
95
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
96
+ }, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
97
+ $tagAttributes_text: TextProps,
98
+ $ui_size: "12",
99
+ $flag_dotted: true,
100
+ $ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
101
+ $ui_weight: fontWeight,
102
+ $i18n_dataTitle: title,
103
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
104
+ }, text));
90
105
  }
91
106
  }]);
92
107
 
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _Link = _interopRequireDefault(require("../../Link/Link"));
17
21
 
18
22
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
@@ -71,7 +75,9 @@ var PhoneNumber = /*#__PURE__*/function (_Component) {
71
75
  target = _this$props.target,
72
76
  hasReload = _this$props.hasReload,
73
77
  fontWeight = _this$props.fontWeight,
74
- customProps = _this$props.customProps;
78
+ customProps = _this$props.customProps,
79
+ isHighlighted = _this$props.isHighlighted,
80
+ highlightData = _this$props.highlightData;
75
81
  var _customProps$LinkProp = customProps.LinkProps,
76
82
  LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
77
83
  _customProps$TextProp = customProps.TextProps,
@@ -85,12 +91,21 @@ var PhoneNumber = /*#__PURE__*/function (_Component) {
85
91
  target: target,
86
92
  hasReload: hasReload,
87
93
  className: _SecondaryTextModule["default"].link
88
- }, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
89
- className: "".concat(_SecondaryTextModule["default"].phoneNumber, " ").concat(_SecondaryTextModule["default"].phonetxt, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
90
- }, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
91
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"].phonetxt, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : ''),
92
- "data-title": title
93
- }, TextProps), text));
94
+ }, LinkProps), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
95
+ $ui_size: "12",
96
+ $flag_dotted: true,
97
+ $ui_className: "".concat(_SecondaryTextModule["default"].phoneNumber, " ").concat(_SecondaryTextModule["default"].phonetxt, " ").concat(className ? className : ''),
98
+ $ui_weight: fontWeight,
99
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
100
+ }, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
101
+ $tagAttributes_text: TextProps,
102
+ $ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"].phonetxt, " ").concat(className ? className : ''),
103
+ $ui_weight: fontWeight,
104
+ $ui_size: "12",
105
+ $flag_dotted: true,
106
+ $i18n_dataTitle: title,
107
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
108
+ }, text));
94
109
  }
95
110
  }]);
96
111
 
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
17
21
 
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -60,12 +64,17 @@ var PriorityText = /*#__PURE__*/function (_Component) {
60
64
  color = _this$props.color,
61
65
  text = _this$props.text,
62
66
  dataTitle = _this$props.dataTitle,
63
- dataId = _this$props.dataId;
64
- return /*#__PURE__*/_react["default"].createElement("div", {
65
- className: "".concat(_SecondaryTextModule["default"].priorityText, " ").concat(_SecondaryTextModule["default"][color], " ").concat(className ? className : ''),
66
- "data-title": dataTitle,
67
- "data-id": dataId,
68
- "data-test-id": dataId
67
+ dataId = _this$props.dataId,
68
+ isHighlighted = _this$props.isHighlighted,
69
+ highlightData = _this$props.highlightData;
70
+ return /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
71
+ $ui_className: "".concat(_SecondaryTextModule["default"].priorityText, " ").concat(_SecondaryTextModule["default"][color], " ").concat(className ? className : ''),
72
+ $flag_dotted: true,
73
+ $ui_size: "12",
74
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT,
75
+ $i18n_dataTitle: dataTitle,
76
+ customId: dataId,
77
+ testId: dataId
69
78
  }, text);
70
79
  }
71
80
  }]);
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
17
21
 
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -21,7 +25,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
25
 
22
26
  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; }
23
27
 
24
- 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); }
28
+ 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; }
29
+
30
+ 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; }
31
+
32
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
33
 
26
34
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
35
 
@@ -63,15 +71,25 @@ var SecondaryText = /*#__PURE__*/function (_Component) {
63
71
  dataTitle = _this$props.dataTitle,
64
72
  dataId = _this$props.dataId,
65
73
  onClick = _this$props.onClick,
66
- customProps = _this$props.customProps;
74
+ customProps = _this$props.customProps,
75
+ isHighlighted = _this$props.isHighlighted,
76
+ highlightData = _this$props.highlightData;
67
77
  var SecondaryTextProps = customProps.SecondaryTextProps;
68
- return /*#__PURE__*/_react["default"].createElement("div", _extends({
69
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
70
- "data-title": dataTitle,
71
- "data-id": dataId,
72
- "data-test-id": dataId,
78
+
79
+ var tagAttributes = _objectSpread(_objectSpread({}, SecondaryTextProps), {}, {
73
80
  onClick: onClick
74
- }, SecondaryTextProps), text);
81
+ });
82
+
83
+ return /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
84
+ $tagAttributes_text: tagAttributes,
85
+ $ui_size: "12",
86
+ $flag_dotted: true,
87
+ $ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
88
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT,
89
+ $i18n_dataTitle: dataTitle,
90
+ customId: dataId,
91
+ testId: dataId
92
+ }, text);
75
93
  }
76
94
  }]);
77
95
 
@@ -8,109 +8,120 @@
8
8
  }[dir=rtl] .paidUserIcon {
9
9
  margin-left: var(--zd_size5) ;
10
10
  }
11
+
11
12
  .icon {
12
13
  display: block;
13
14
  }
15
+
14
16
  .disable {
15
17
  cursor: not-allowed;
16
18
  }
19
+
17
20
  .textBold {
18
21
  font-weight: var(--zd-fw-bold);
19
22
  color: var(--zdt_secondaryText_black_text);
20
23
  }
21
- .textStyle, .link{
24
+
25
+ .link {
22
26
  display: block
23
27
  }
24
- .textStyle.textBold {
25
- font-weight: var(--zd-fw-bold);
26
- color: var(--zdt_secondaryText_black_text);
27
- }
28
+
28
29
  .ticketId,
29
30
  .link,
30
- .textStyle,
31
31
  .secondaryText,
32
32
  .ratingText,
33
33
  .phoneNumber {
34
34
  color: var(--zdt_secondaryText_secondaryText_text);
35
35
  }
36
- .textStyle,
37
- .secondaryText {
38
- font-size: var(--zd_font_size12) ;
39
- }
36
+
40
37
  .ticketId,
41
- .phoneNumber,
42
38
  .ratingText {
43
39
  font-size: var(--zd_font_size12) ;
44
40
  }
45
- .textStyle,
41
+
42
+ .linkWithText {
43
+ color: var(--zdt_secondaryText_secondaryText_text);
44
+ max-width: 100% ;
45
+ cursor: pointer;
46
+ }
47
+
48
+ .linkWithText:hover {
49
+ color: var(--zdt_secondaryText_blue_text);
50
+ }
51
+
46
52
  .secondaryText,
47
53
  .phoneNumber {
48
- composes: dotted from '~@zohodesk/components/es/common/common.module.css';
49
54
  max-width: 100% ;
50
- display: block;
51
55
  }
52
- .textStyle, .secondaryText, .phoneNumber {
56
+
57
+ .secondaryText, .phoneNumber {
53
58
  cursor: pointer;
54
59
  }
55
- .textStyle:hover,
60
+
56
61
  .ticketIdLink,
57
62
  .phoneNumber:hover,
58
63
  .link:hover {
59
64
  color: var(--zdt_secondaryText_blue_text);
60
65
  }
66
+
61
67
  /* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
62
68
  color: var(--zdt_secondaryText_blue_text);
63
69
  } */
64
70
  .ticketIdLink {
65
71
  cursor: pointer;
66
72
  }
67
- .ticketIdLink:hover,.ticketIdLink:focus {
73
+
74
+ .ticketIdLink:hover,
75
+ .ticketIdLink:focus {
68
76
  color: var(--zdt_secondaryText_blue_hover_text);
69
77
  }
78
+
70
79
  .primaryAccountNameCnt {
71
80
  max-width: 100% ;
72
81
  }
82
+
73
83
  /* status */
74
84
  .font_regular {
75
85
  font-weight: var(--zd-fw-normal);
76
86
  }
87
+
77
88
  .font_semibold {
78
89
  font-weight: var(--zd-fw-semibold);
79
90
  }
91
+
80
92
  .font_bold {
81
93
  font-weight: var(--zd-fw-bold);
82
94
  }
95
+
83
96
  .font_semibold,
84
97
  .font_bold,
85
98
  .textBold {
86
99
  composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
87
100
  }
88
- .priorityText,
89
- .statusText {
90
- composes: dotted from '~@zohodesk/components/es/common/common.module.css';
91
- }
92
101
 
93
102
  .priorityText {
94
- font-size: var(--zd_font_size12) ;
95
103
  max-width: 100% ;
96
104
  }
105
+
97
106
  .departmentText {
98
- font-size: var(--zd_font_size12) ;
99
107
  color: var(--zdt_secondaryText_secondaryText_text);
100
108
  max-width: 100% ;
101
- composes: dotted from '~@zohodesk/components/es/common/common.module.css';
102
109
  }
110
+
103
111
  /* HappinessRating Style */
104
112
  .happinessContainer {
105
113
  composes: inlineBlockMiddle from '../listCommon.module.css';
106
114
  }
115
+
107
116
  .happinessImg {
108
117
  width: var(--zd_size13) ;
109
118
  vertical-align: middle;
110
119
  }
120
+
111
121
  [dir=ltr] .happinessImg {
112
122
  margin: 0 var(--zd_size4) 0 0 ;
113
123
  }
124
+
114
125
  [dir=rtl] .happinessImg {
115
126
  margin: 0 0 0 var(--zd_size4) ;
116
127
  }
@@ -119,18 +130,23 @@
119
130
  .gray {
120
131
  color: var(--zdt_secondaryText_gray_text);
121
132
  }
133
+
122
134
  .orange {
123
135
  color: var(--zdt_secondaryText_orage_text);
124
136
  }
137
+
125
138
  .green {
126
139
  color: var(--zdt_secondaryText_green_text);
127
140
  }
141
+
128
142
  .red {
129
143
  color: var(--zdt_secondaryText_red_text);
130
144
  }
145
+
131
146
  .blue {
132
147
  color: var(--zdt_secondaryText_blue_text);
133
148
  }
149
+
134
150
  .black {
135
151
  color: var(--zdt_secondaryText_black_text);
136
152
  }
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
17
21
 
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -61,12 +65,17 @@ var StatusText = /*#__PURE__*/function (_Component) {
61
65
  text = _this$props.text,
62
66
  dataTitle = _this$props.dataTitle,
63
67
  fontWeight = _this$props.fontWeight,
64
- dataId = _this$props.dataId;
65
- return /*#__PURE__*/_react["default"].createElement("div", {
66
- className: "".concat(_SecondaryTextModule["default"].statusText, " ").concat(_SecondaryTextModule["default"][color], " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : ''),
67
- "data-title": dataTitle,
68
- "data-id": dataId,
69
- "data-test-id": dataId
68
+ dataId = _this$props.dataId,
69
+ isHighlighted = _this$props.isHighlighted,
70
+ highlightData = _this$props.highlightData;
71
+ return /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
72
+ $ui_className: "".concat(_SecondaryTextModule["default"][color], " ").concat(className ? className : ''),
73
+ $ui_weight: fontWeight,
74
+ $flag_dotted: true,
75
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT,
76
+ $i18n_dataTitle: dataTitle,
77
+ customId: dataId,
78
+ testId: dataId
70
79
  }, text);
71
80
  }
72
81
  }]);
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _Link = _interopRequireDefault(require("../../Link/Link"));
17
21
 
18
22
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
@@ -70,7 +74,9 @@ var TicketId = /*#__PURE__*/function (_Component) {
70
74
  target = _this$props.target,
71
75
  urlName = _this$props.urlName,
72
76
  urlData = _this$props.urlData,
73
- customProps = _this$props.customProps;
77
+ customProps = _this$props.customProps,
78
+ isHighlighted = _this$props.isHighlighted,
79
+ highlightData = _this$props.highlightData;
74
80
  var _customProps$LinkProp = customProps.LinkProps,
75
81
  LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
76
82
  _customProps$TicketId = customProps.TicketIdProps,
@@ -87,7 +93,9 @@ var TicketId = /*#__PURE__*/function (_Component) {
87
93
  href: url,
88
94
  target: target,
89
95
  onClick: onClick
90
- }, LinkProps), text) : text);
96
+ }, LinkProps), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
97
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
98
+ }, text)) : text);
91
99
  }
92
100
  }]);
93
101
 
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
17
+
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
19
+
16
20
  var _ExternalLink = _interopRequireDefault(require("../../ExternalLink/ExternalLink"));
17
21
 
18
22
  var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
@@ -64,16 +68,25 @@ var Website = /*#__PURE__*/function (_Component) {
64
68
  href = _this$props.href,
65
69
  dataId = _this$props.dataId,
66
70
  isLink = _this$props.isLink,
67
- target = _this$props.target;
71
+ target = _this$props.target,
72
+ isHighlighted = _this$props.isHighlighted,
73
+ highlightData = _this$props.highlightData;
68
74
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLink ? /*#__PURE__*/_react["default"].createElement(_ExternalLink["default"], {
69
- className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(className ? className : ''),
75
+ className: _SecondaryTextModule["default"].link,
70
76
  href: href,
71
77
  title: title,
72
78
  dataId: dataId,
73
79
  target: target
74
- }, text) : /*#__PURE__*/_react["default"].createElement("div", {
75
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
76
- "data-title": text
80
+ }, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
81
+ $flag_dotted: true,
82
+ $ui_size: "12",
83
+ $ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : ''),
84
+ $ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
85
+ }, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
86
+ $ui_size: "12",
87
+ $flag_dotted: true,
88
+ $ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
89
+ $i18n_dataTitle: text
77
90
  }, text));
78
91
  }
79
92
  }]);
@@ -35,7 +35,7 @@ exports[`AccountName rendering the defult props 1`] = `
35
35
  rel="noopener noreferrer"
36
36
  >
37
37
  <div
38
- class="textStyle font_regular "
38
+ class="dotted size12 font_regular linkWithText "
39
39
  />
40
40
  </a>
41
41
  </div>
@@ -23,7 +23,7 @@ exports[`ContactName rendering the defult props 1`] = `
23
23
  rel="noopener noreferrer"
24
24
  >
25
25
  <div
26
- class="textStyle font_regular "
26
+ class="dotted size12 font_regular linkWithText "
27
27
  />
28
28
  </a>
29
29
  </div>
@@ -3,7 +3,7 @@
3
3
  exports[`DepartmentText rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="departmentText "
6
+ class="dotted size12 departmentText "
7
7
  />
8
8
  </DocumentFragment>
9
9
  `;
@@ -8,7 +8,7 @@ exports[`Email rendering the defult props 1`] = `
8
8
  rel="noopener noreferrer"
9
9
  >
10
10
  <div
11
- class="textStyle font_regular "
11
+ class="dotted size12 font_regular linkWithText "
12
12
  />
13
13
  </a>
14
14
  </DocumentFragment>
@@ -8,7 +8,7 @@ exports[`PhoneNumber rendering the defult props 1`] = `
8
8
  rel="noopener noreferrer"
9
9
  >
10
10
  <div
11
- class="phoneNumber phonetxt font_regular "
11
+ class="dotted size12 font_regular phoneNumber phonetxt "
12
12
  />
13
13
  </a>
14
14
  </DocumentFragment>
@@ -3,7 +3,7 @@
3
3
  exports[`PriorityText rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="priorityText black "
6
+ class="dotted size12 priorityText black "
7
7
  data-id="priority"
8
8
  data-test-id="priority"
9
9
  />
@@ -3,7 +3,7 @@
3
3
  exports[`SecondaryText rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="secondaryText "
6
+ class="dotted size12 secondaryText "
7
7
  />
8
8
  </DocumentFragment>
9
9
  `;
@@ -3,7 +3,7 @@
3
3
  exports[`StatusText rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="statusText black font_regular "
6
+ class="dotted font_regular black "
7
7
  data-id="statusContainer"
8
8
  data-test-id="statusContainer"
9
9
  />
@@ -3,10 +3,14 @@
3
3
  exports[`Website rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <a
6
- class="link textStyle "
6
+ class="link link"
7
7
  href="javascript:void(0);"
8
8
  rel="noopener noreferrer"
9
9
  target="_blank"
10
- />
10
+ >
11
+ <div
12
+ class="dotted size12 linkWithText "
13
+ />
14
+ </a>
11
15
  </DocumentFragment>
12
16
  `;
@@ -8,6 +8,8 @@ var AccountName_defaultProps = {
8
8
  isLink: true,
9
9
  dataId: 'accountName',
10
10
  fontWeight: 'regular',
11
+ isHighlighted: false,
12
+ highlightData: {},
11
13
  customProps: {}
12
14
  };
13
15
  exports.AccountName_defaultProps = AccountName_defaultProps;
@@ -17,12 +19,16 @@ var ContactName_defaultProps = {
17
19
  dataId: 'contactName',
18
20
  fontWeight: 'regular',
19
21
  i18nKeys: {},
22
+ isHighlighted: false,
23
+ highlightData: {},
20
24
  customProps: {}
21
25
  };
22
26
  exports.ContactName_defaultProps = ContactName_defaultProps;
23
27
  var Email_defaultProps = {
24
28
  isLink: true,
25
29
  fontWeight: 'regular',
30
+ isHighlighted: false,
31
+ highlightData: {},
26
32
  customProps: {}
27
33
  };
28
34
  exports.Email_defaultProps = Email_defaultProps;
@@ -30,30 +36,42 @@ var PhoneNumber_defaultProps = {
30
36
  isLink: true,
31
37
  hasReload: false,
32
38
  fontWeight: 'regular',
39
+ isHighlighted: false,
40
+ highlightData: {},
33
41
  customProps: {}
34
42
  };
35
43
  exports.PhoneNumber_defaultProps = PhoneNumber_defaultProps;
36
44
  var PriorityText_defaultProps = {
37
45
  color: 'black',
46
+ isHighlighted: false,
47
+ highlightData: {},
38
48
  dataId: 'priority'
39
49
  };
40
50
  exports.PriorityText_defaultProps = PriorityText_defaultProps;
41
51
  var SecondaryText_defaultProps = {
52
+ isHighlighted: false,
53
+ highlightData: {},
42
54
  customProps: {}
43
55
  };
44
56
  exports.SecondaryText_defaultProps = SecondaryText_defaultProps;
45
57
  var StatusText_defaultProps = {
46
58
  color: 'black',
47
59
  dataId: 'statusContainer',
60
+ isHighlighted: false,
61
+ highlightData: {},
48
62
  fontWeight: 'regular'
49
63
  };
50
64
  exports.StatusText_defaultProps = StatusText_defaultProps;
51
65
  var TicketId_defaultProps = {
52
66
  dataId: 'ticketId',
67
+ isHighlighted: false,
68
+ highlightData: {},
53
69
  customProps: {}
54
70
  };
55
71
  exports.TicketId_defaultProps = TicketId_defaultProps;
56
72
  var Website_defaultProps = {
73
+ isHighlighted: false,
74
+ highlightData: {},
57
75
  isLink: true
58
76
  };
59
77
  exports.Website_defaultProps = Website_defaultProps;