@ui5/manifest 2.1.1 → 2.2.0

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/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
5
5
  <a name="Unreleased"></a>
6
6
  ## [Unreleased]
7
7
 
8
+ <a name="v2.2.0"></a>
9
+ ## [v2.2.0] - 2025-12-08 (UI5 1.141)
10
+
11
+ ### Added
12
+ - sap.card: New property "configuration/childCards" which holds a list of Configuration.ChildCard which represents a child card that can be opened from the main card
13
+ - sap.card: New property "showCardActionParameters/childCardKey" to refer to a child card which to be shown
14
+ - sap.card: New property "header/icon/state" which can be used to apply semantic state to the icon in the header
15
+
16
+ ### Changed
17
+ - sap.card: Added valiadtion for allowed combinations of "header/icon" properties
18
+ - sap.card: Deprecated property "showCardActionParameters/manifest". Use "showCardActionParameters/childCardKey" instead.
19
+
8
20
  <a name="v2.1.1"></a>
9
21
  ## [v2.1.1] - 2025-12-08 (UI5 1.140)
10
22
 
@@ -28,6 +40,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
28
40
 
29
41
  ### Added
30
42
  - sap.flp: new property "vizOptions" has been added to provide more options for tile sizes. Only needed for declaration of custom Fiori launchpad tiles.
43
+ - sap.ui5/flexBundle: new property explicitly flagging if a flexibility-bundle.json is part of the built application.
31
44
 
32
45
  ### Removed
33
46
  - sap.ui5/resource:
@@ -176,7 +189,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
176
189
  <a name="v1.48.1"></a>
177
190
  ## v1.48.1 - 2022-11-10
178
191
 
179
- [Unreleased]: https://github.com/SAP/ui5-manifest/compare/v2.1.1...HEAD
192
+ [Unreleased]: https://github.com/SAP/ui5-manifest/compare/v2.2.0...HEAD
193
+ [v2.2.0]: https://github.com/SAP/ui5-manifest/compare/v2.1.1...v2.2.0
180
194
  [v2.1.1]: https://github.com/SAP/ui5-manifest/compare/v2.1.0...v2.1.1
181
195
  [v2.1.0]: https://github.com/SAP/ui5-manifest/compare/v2.0.0...v2.1.0
182
196
  [v2.0.0]: https://github.com/SAP/ui5-manifest/compare/v1.72.0...v2.0.0
package/mapping.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
- "latest": "2.1.1",
2
+ "latest": "2.2.0",
3
+ "1.141": "2.2.0",
3
4
  "1.140": "2.1.1",
4
5
  "1.139": "2.1.0",
5
6
  "1.138": "2.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/manifest",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "This project contains the flattend json schema for the ui5 manifest.",
5
5
  "repository": {
6
6
  "type": "git",
package/schema.json CHANGED
@@ -92,7 +92,8 @@
92
92
  "1.72.0",
93
93
  "2.0.0",
94
94
  "2.1.0",
95
- "2.1.1"
95
+ "2.1.1",
96
+ "2.2.0"
96
97
  ]
97
98
  },
98
99
  "start_url": {
@@ -817,6 +818,10 @@
817
818
  }
818
819
  }
819
820
  },
821
+ "flexBundle": {
822
+ "description": "Represents an indicator whether a flexibility bundle was created and is within the application sources. This property is set by the building tool.",
823
+ "type": "boolean"
824
+ },
820
825
  "flexExtensionPointEnabled": {
821
826
  "description": "Represents an indicator whether app variant is flex extension point enabled",
822
827
  "type": "boolean",
@@ -1691,7 +1696,7 @@
1691
1696
  "type": "object"
1692
1697
  },
1693
1698
  "loadingPlaceholders": {
1694
- "description": "[Experimental] Object which will represent the loading placeholder of the card",
1699
+ "description": "[Experimental] Object that will represent the loading placeholder of the card",
1695
1700
  "type": "object",
1696
1701
  "properties": {
1697
1702
  "delay": {
@@ -1699,6 +1704,13 @@
1699
1704
  "type": "number"
1700
1705
  }
1701
1706
  }
1707
+ },
1708
+ "childCards": {
1709
+ "description": "[Experimental] Map of child cards",
1710
+ "type": "object",
1711
+ "additionalProperties": {
1712
+ "$ref": "#/$defs/Configuration.ChildCard"
1713
+ }
1702
1714
  }
1703
1715
  }
1704
1716
  },
@@ -2851,12 +2863,14 @@
2851
2863
  "description": "Parameters for ShowCard action",
2852
2864
  "type": "object",
2853
2865
  "additionalProperties": false,
2854
- "required": [
2855
- "manifest"
2856
- ],
2857
2866
  "properties": {
2867
+ "childCardKey": {
2868
+ "description": "The key of the card to be shown",
2869
+ "type": "string"
2870
+ },
2858
2871
  "manifest": {
2859
- "description": "An application identifier consisting of semanticObject and action",
2872
+ "deprecated": true,
2873
+ "description": "[Deprecated] Child card manifest",
2860
2874
  "oneOf": [
2861
2875
  {
2862
2876
  "type": "string"
@@ -4847,11 +4861,61 @@
4847
4861
  }
4848
4862
  ]
4849
4863
  },
4864
+ "state": {
4865
+ "description": "Defines the state of the icon",
4866
+ "oneOf": [
4867
+ {
4868
+ "$ref": "#/$defs/state"
4869
+ },
4870
+ {
4871
+ "$ref": "#/$defs/simpleBinding"
4872
+ }
4873
+ ]
4874
+ },
4850
4875
  "visible": {
4851
4876
  "description": "Visibility of the icon",
4852
4877
  "$ref": "#/$defs/visibility"
4853
4878
  }
4854
- }
4879
+ },
4880
+ "allOf": [
4881
+ {
4882
+ "anyOf": [
4883
+ {
4884
+ "required": [
4885
+ "src"
4886
+ ]
4887
+ },
4888
+ {
4889
+ "required": [
4890
+ "initials"
4891
+ ]
4892
+ },
4893
+ {
4894
+ "required": [
4895
+ "state"
4896
+ ]
4897
+ }
4898
+ ]
4899
+ },
4900
+ {
4901
+ "not": {
4902
+ "anyOf": [
4903
+ {
4904
+ "required": [
4905
+ "src",
4906
+ "state"
4907
+ ]
4908
+ },
4909
+ {
4910
+ "required": [
4911
+ "initials",
4912
+ "state"
4913
+ ]
4914
+ }
4915
+ ]
4916
+ }
4917
+ }
4918
+ ]
4855
4919
  },
4856
4920
  "action": {
4857
4921
  "description": "Represents actions that can be applied on card elements",
@@ -5937,6 +6001,20 @@
5937
6001
  }
5938
6002
  }
5939
6003
  },
6004
+ "Configuration.ChildCard": {
6005
+ "description": "Represents a configuration for a child card",
6006
+ "type": "object",
6007
+ "additionalProperties": false,
6008
+ "required": [
6009
+ "manifest"
6010
+ ],
6011
+ "properties": {
6012
+ "manifest": {
6013
+ "description": "The manifest of the child card",
6014
+ "type": "string"
6015
+ }
6016
+ }
6017
+ },
5940
6018
  "Configuration.NoData": {
5941
6019
  "description": "Represents a configuration for a NoData",
5942
6020
  "type": "object",
@@ -347,6 +347,10 @@ export type JSONSchemaForSAPUI5Namespace = {
347
347
  commands?: {
348
348
  [k: string]: Command;
349
349
  };
350
+ /**
351
+ * Represents an indicator whether a flexibility bundle was created and is within the application sources. This property is set by the building tool.
352
+ */
353
+ flexBundle?: boolean;
350
354
  /**
351
355
  * Represents an indicator whether app variant is flex extension point enabled
352
356
  */
@@ -717,7 +721,8 @@ export interface SAPJSONSchemaForWebApplicationManifestFile {
717
721
  | "1.72.0"
718
722
  | "2.0.0"
719
723
  | "2.1.0"
720
- | "2.1.1";
724
+ | "2.1.1"
725
+ | "2.2.0";
721
726
  /**
722
727
  * Represents the URL that the developer would prefer the user agent load when the user launches the web application
723
728
  */