File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 17
17
"url" : " https://github.com/SAP-samples/ui5-typescript-helloworld.git"
18
18
},
19
19
"devDependencies" : {
20
- "@types/openui5" : " 1.112.0 " ,
21
- "@typescript-eslint/eslint-plugin" : " ^5.57.1 " ,
22
- "@typescript-eslint/parser" : " ^5.57.1 " ,
23
- "@ui5/cli" : " ^3.0.6 " ,
24
- "eslint" : " ^8.37 .0" ,
25
- "typescript" : " ^5.0.3 " ,
26
- "ui5-middleware-livereload" : " ^0.8.2 " ,
27
- "ui5-middleware-simpleproxy" : " ^0.9.5 " ,
28
- "ui5-tooling-transpile" : " ^0.7.0 "
20
+ "@types/openui5" : " 1.116.1 " ,
21
+ "@typescript-eslint/eslint-plugin" : " ^6.3.0 " ,
22
+ "@typescript-eslint/parser" : " ^6.3.0 " ,
23
+ "@ui5/cli" : " ^3.4.0 " ,
24
+ "eslint" : " ^8.46 .0" ,
25
+ "typescript" : " ^5.1.6 " ,
26
+ "ui5-middleware-livereload" : " ^3.0.0 " ,
27
+ "ui5-middleware-simpleproxy" : " ^3.0.0 " ,
28
+ "ui5-tooling-transpile" : " ^3.0.1 "
29
29
}
30
30
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ resources:
8
8
webapp : dist
9
9
framework :
10
10
name : OpenUI5
11
- version : " 1.112 .0"
11
+ version : " 1.116 .0"
12
12
libraries :
13
13
- name : sap.m
14
14
- name : sap.ui.core
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
type : application
5
5
framework :
6
6
name : OpenUI5
7
- version : " 1.112 .0"
7
+ version : " 1.116 .0"
8
8
libraries :
9
9
- name : sap.m
10
10
- name : sap.ui.core
Original file line number Diff line number Diff line change 1
1
import UIComponent from "sap/ui/core/UIComponent" ;
2
- import { support } from "sap/ui/Device" ;
2
+ import Device from "sap/ui/Device" ;
3
3
4
4
5
5
/**
@@ -30,7 +30,7 @@ export default class Component extends UIComponent {
30
30
// check whether FLP has already set the content density class; do nothing in this case
31
31
if ( document . body . classList . contains ( "sapUiSizeCozy" ) || document . body . classList . contains ( "sapUiSizeCompact" ) ) {
32
32
this . contentDensityClass = "" ;
33
- } else if ( ! support . touch ) { // apply "compact" mode if touch is not supported
33
+ } else if ( ! Device . support . touch ) { // apply "compact" mode if touch is not supported
34
34
this . contentDensityClass = "sapUiSizeCompact" ;
35
35
} else {
36
36
// "cozy" in case of touch support; default for most sap.m controls, but needed for desktop-first controls like sap.ui.table.Table
You can’t perform that action at this time.
0 commit comments