@sap-ux/fiori-freestyle-writer 0.19.3 → 0.19.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-freestyle-writer",
3
3
  "description": "SAP Fiori freestyle application writer",
4
- "version": "0.19.3",
4
+ "version": "0.19.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -59,7 +59,7 @@ function (UIComponent, Device, models, ListSelector, ErrorHandler) {
59
59
  getContentDensityClass : function() {
60
60
  if (this._sContentDensityClass === undefined) {
61
61
  // check whether FLP has already set the content density class; do nothing in this case
62
- // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
62
+ // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api, fiori-custom/sap-browser-api-warning
63
63
  if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
64
64
  this._sContentDensityClass = "";
65
65
  } else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
@@ -73,7 +73,7 @@ export default class BaseController extends Controller {
73
73
  */
74
74
  protected onNavBack() {
75
75
  if (History.getInstance().getPreviousHash() !== undefined) {
76
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
76
+ // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
77
77
  history.go(-1);
78
78
  } else {
79
79
  this.getRouter().navTo("list", {});
@@ -271,7 +271,7 @@ sap.ui.define([
271
271
  * @public
272
272
  */
273
273
  onNavBack: function() {
274
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
274
+ // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
275
275
  history.go(-1);
276
276
  },
277
277
 
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  getContentDensityClass : function() {
54
54
  if (this._sContentDensityClass === undefined) {
55
55
  // check whether FLP has already set the content density class; do nothing in this case
56
- // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
56
+ // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api, fiori-custom/sap-browser-api-warning
57
57
  if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
58
58
  this._sContentDensityClass = "";
59
59
  } else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
@@ -74,7 +74,7 @@ export default class BaseController extends Controller {
74
74
  */
75
75
  protected onNavBack() {
76
76
  if (History.getInstance().getPreviousHash() !== undefined) {
77
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
77
+ // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
78
78
  history.go(-1);
79
79
  } else {
80
80
  this.getRouter().navTo("worklist", {});
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @public
81
81
  */
82
82
  onNavBack : function() {
83
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
83
+ // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
84
84
  history.go(-1);
85
85
  },
86
86