@sap-ux/control-property-editor 0.7.25 → 0.8.1

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/eslint.config.js CHANGED
@@ -1,12 +1,10 @@
1
1
  const base = require('../../eslint.config.js');
2
- const { tsParser } = require('typescript-eslint');
3
2
 
4
3
  module.exports = [
5
4
  ...base,
6
5
  {
7
6
  languageOptions: {
8
7
  parserOptions: {
9
- parser: tsParser,
10
8
  tsconfigRootDir: __dirname,
11
9
  project: './tsconfig.eslint.json',
12
10
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "Control Property Editor",
4
4
  "description": "Control Property Editor",
5
5
  "license": "Apache-2.0",
6
- "version": "0.7.25",
6
+ "version": "0.8.1",
7
7
  "main": "dist/app.js",
8
8
  "repository": {
9
9
  "type": "git",
@@ -48,11 +48,11 @@
48
48
  "esbuild-plugin-copy": "2.1.1",
49
49
  "@esbuild-plugins/node-modules-polyfill": "0.2.2",
50
50
  "uuid": "11.1.1",
51
- "@sap-ux/ui-components": "2.1.14",
52
- "@sap-ux-private/control-property-editor-common": "0.7.7"
51
+ "@sap-ux/ui-components": "2.2.1",
52
+ "@sap-ux-private/control-property-editor-common": "0.8.0"
53
53
  },
54
54
  "engines": {
55
- "node": ">=20.x"
55
+ "node": ">=22.x"
56
56
  },
57
57
  "scripts": {
58
58
  "clean": "rimraf --glob dist coverage *.tsbuildinfo",
@@ -1,6 +1,7 @@
1
1
  .filter {
2
2
  display: flex;
3
- padding: 19px 15px 15px 15px;
3
+ padding: 19px 0 15px;
4
+ margin: 0 15px;
4
5
  flex-direction: row;
5
6
  justify-content: center;
6
7
  align-items: center;
@@ -20,6 +20,10 @@ import { FileChange } from './FileChange';
20
20
  import { defaultFontSize } from '../properties/constants';
21
21
  import { NoChangesFound } from './NoChangesFound';
22
22
 
23
+ const SEPARATOR_STYLE = {
24
+ margin: '0 15px'
25
+ };
26
+
23
27
  /**
24
28
  * React element for ChangePanel.
25
29
  *
@@ -52,7 +56,6 @@ export function ChangesPanel(): ReactElement {
52
56
  <>
53
57
  {fileChanges.length > 0 && (
54
58
  <>
55
- <Separator />
56
59
  <Icon iconName="Info" title={fileChangesTooltip} className={styles.infoIcon} />
57
60
  <ChangeStackHeader
58
61
  backgroundColor="var(--vscode-sideBar-background)"
@@ -68,29 +71,27 @@ export function ChangesPanel(): ReactElement {
68
71
 
69
72
  {pending.length > 0 && (
70
73
  <>
71
- <Separator />
72
74
  <ChangeStackHeader
73
75
  backgroundColor="var(--vscode-sideBar-background)"
74
76
  color="var(--vscode-editor-foreground)"
75
77
  text={t('CHANGE_SUMMARY_UNSAVED_CHANGES')}
76
78
  />
77
- <Separator />
79
+ <Separator style={SEPARATOR_STYLE} />
78
80
  <ChangeStack key="pending-changes" changes={pending} />
79
81
  </>
80
82
  )}
81
83
  {saved.length > 0 && (
82
84
  <>
83
- <Separator />
84
85
  <ChangeStackHeader
85
86
  backgroundColor="var(--vscode-sideBar-background)"
86
87
  color="var(--vscode-terminal-ansiGreen)"
87
88
  text={t('CHANGE_SUMMARY_SAVED_CHANGES')}
88
89
  />
89
- <Separator />
90
+ <Separator style={SEPARATOR_STYLE} />
90
91
  <ChangeStack key="saved-changes" changes={saved} />
91
92
  </>
92
93
  )}
93
- <Separator />
94
+ <Separator style={SEPARATOR_STYLE} />
94
95
  </>
95
96
  );
96
97
  }
@@ -7,7 +7,8 @@
7
7
  display: flex;
8
8
  justify-content: space-between;
9
9
  align-items: center;
10
- padding: 10px 15px;
10
+ padding: 10px 0;
11
+ margin: 0 15px;
11
12
  border-bottom: 1px solid var(--vscode-menu-separatorBackground);
12
13
  background-color: var(--vscode-sideBar-background);
13
14
 
@@ -1,6 +1,7 @@
1
1
  .filter-outline {
2
2
  display: flex;
3
- padding: 15px 15px 15px 15px;
3
+ padding: 15px 0;
4
+ margin: 0 15px;
4
5
  flex-direction: row;
5
6
  align-items: center;
6
7
  background-color: var(--vscode-sideBar-background);
@@ -83,7 +83,8 @@
83
83
  }
84
84
  .filter-properties {
85
85
  display: flex;
86
- padding: 0px 15px 15px 15px;
86
+ padding: 0 0 15px 0;
87
+ margin: 0 15px;
87
88
  flex-direction: row;
88
89
  align-items: center;
89
90
  border-bottom: 1px solid var(--vscode-menu-separatorBackground);
@@ -122,8 +122,7 @@ export function PropertiesList(): ReactElement {
122
122
  </div>
123
123
  <Separator
124
124
  style={{
125
- marginTop: '0px',
126
- marginBottom: '15px'
125
+ margin: '0 15px 15px'
127
126
  }}
128
127
  />
129
128
  <div className="filter-properties">