@zohodesk/dot 1.0.0-temp-79 → 1.0.0-temp-80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.225
6
+
7
+ - ToggleDropDown, DepartmentDropDown, StatusDropdown search empty text change (Oops to No results found)
8
+
5
9
  # 1.0.0-beta.224
6
10
 
7
11
  - className prop added in ImportantNotes
@@ -449,7 +449,7 @@
449
449
  --zdt_commonalert_error_hover_bg: #583a45;
450
450
  --zdt_commonalert_warning_hover_bg: #583c2c;
451
451
  --zdt_commonalert_light_hover_bg: #585858;
452
- --zdt_commonalert_secondlayer_bg: #2e3642;
452
+ --zdt_commonalert_secondlayer_bg: #282828;
453
453
  --zdt_commonalert_default_icon: var(--dot_bittersweet);
454
454
  --zdt_commonalert_success_icon: var(--dot_darkmint);
455
455
  --zdt_commonalert_info_icon: var(--zdt_cta_primary_border);
@@ -463,15 +463,15 @@
463
463
  --zdt_alerticons_orange_fill: var(--dot_cadmiumorange);
464
464
 
465
465
  /* global notification */
466
- --zdt_globalnotification_default_bg: #31323f;
466
+ --zdt_globalnotification_default_bg: #282828;
467
467
  --zdt_globalnotification_default_text: var(--dot_platinum);
468
- --zdt_globalnotification_success_bg: #28373f;
468
+ --zdt_globalnotification_success_bg: #252e27;
469
469
  --zdt_globalnotification_success_text: var(--dot_platinum);
470
470
  --zdt_globalnotification_info_bg: var(--zdt_cta_primary_light_bg);
471
471
  --zdt_globalnotification_info_text: var(--dot_platinum);
472
- --zdt_globalnotification_danger_bg: #31323f;
472
+ --zdt_globalnotification_danger_bg: #282828;
473
473
  --zdt_globalnotification_danger_text: var(--dot_platinum);
474
- --zdt_globalnotification_error_bg: #31323f;
474
+ --zdt_globalnotification_error_bg: #282828;
475
475
  --zdt_globalnotification_error_text: var(--dot_platinum);
476
476
  --zdt_globalnotification_warning_bg: #31333c;
477
477
  --zdt_globalnotification_warning_text: var(--dot_platinum);
@@ -799,8 +799,8 @@ export class ToggleDropDown extends Component {
799
799
  }, ListItemProps)));
800
800
  })) : /*#__PURE__*/React.createElement(CommonEmptyState, {
801
801
  className: style.svgWrapper,
802
- title: searchErrorText || 'oops !',
803
802
  description: searchEmptyHint,
803
+ title: searchErrorText || 'No results',
804
804
  size: "small",
805
805
  getEmptyState: this.emptySearchSVG
806
806
  }) : /*#__PURE__*/React.createElement("div", {
@@ -52,7 +52,7 @@ class DepartmentDropDown extends Component {
52
52
  let {
53
53
  title = 'Move Department',
54
54
  searchEmptyText = 'No results found',
55
- searchErrorText = 'OOPS !',
55
+ searchErrorText = 'No results',
56
56
  placeholder = 'Search Department'
57
57
  } = i18nKeys;
58
58
  return /*#__PURE__*/React.createElement(ToggleDropDown, {
@@ -408,7 +408,7 @@ export class StatusDropdown extends React.Component {
408
408
  }
409
409
  })))) : isDataLoaded ? /*#__PURE__*/React.createElement(CommonEmptyState, {
410
410
  className: style.svgWrapper,
411
- title: searchErrorText || 'oops !',
411
+ title: searchErrorText || 'No results',
412
412
  description: searchEmptyHint,
413
413
  size: "small",
414
414
  getEmptyState: this.emptySearchSVG
@@ -863,8 +863,8 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
863
863
  }, ListItemProps)));
864
864
  })) : /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
865
865
  className: _ToggleDropDownModule["default"].svgWrapper,
866
- title: searchErrorText || 'oops !',
867
866
  description: searchEmptyHint,
867
+ title: searchErrorText || 'No results',
868
868
  size: "small",
869
869
  getEmptyState: this.emptySearchSVG
870
870
  }) : /*#__PURE__*/_react["default"].createElement("div", {
@@ -108,7 +108,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
108
108
  _i18nKeys$searchEmpty = i18nKeys.searchEmptyText,
109
109
  searchEmptyText = _i18nKeys$searchEmpty === void 0 ? 'No results found' : _i18nKeys$searchEmpty,
110
110
  _i18nKeys$searchError = i18nKeys.searchErrorText,
111
- searchErrorText = _i18nKeys$searchError === void 0 ? 'OOPS !' : _i18nKeys$searchError,
111
+ searchErrorText = _i18nKeys$searchError === void 0 ? 'No results' : _i18nKeys$searchError,
112
112
  _i18nKeys$placeholder = i18nKeys.placeholder,
113
113
  placeholder = _i18nKeys$placeholder === void 0 ? 'Search Department' : _i18nKeys$placeholder;
114
114
  return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], {
@@ -482,7 +482,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
482
482
  }));
483
483
  })) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
484
484
  className: _StatusDropdownModule["default"].svgWrapper,
485
- title: searchErrorText || 'oops !',
485
+ title: searchErrorText || 'No results',
486
486
  description: searchEmptyHint,
487
487
  size: "small",
488
488
  getEmptyState: this.emptySearchSVG
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-79",
3
+ "version": "1.0.0-temp-80",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -37,7 +37,7 @@
37
37
  "@zohodesk/i18n": "1.0.0-beta.7",
38
38
  "@zohodesk/components": "1.0.0-alpha-237",
39
39
  "@zohodesk/icons": "1.0.0-beta.101",
40
- "@zohodesk/svg": "1.0.0-beta.43",
40
+ "@zohodesk/svg": "1.0.0-beta.44",
41
41
  "@zohodesk/virtualizer": "1.0.3",
42
42
  "react-sortable-hoc": "^0.8.3"
43
43
  },
@@ -47,7 +47,7 @@
47
47
  "@zohodesk/i18n": "1.0.0-beta.7",
48
48
  "@zohodesk/components": "1.0.0-alpha-237",
49
49
  "@zohodesk/icons": "1.0.0-beta.101",
50
- "@zohodesk/svg": "1.0.0-beta.43"
50
+ "@zohodesk/svg": "1.0.0-beta.44"
51
51
  },
52
52
  "react-cli": {
53
53
  "preprocessor": {