@ui5/manifest 2.1.0 → 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,24 @@ 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
+
20
+ <a name="v2.1.1"></a>
21
+ ## [v2.1.1] - 2025-12-08 (UI5 1.140)
22
+
23
+ ### Added
24
+ - sap.card: Added new property "useMainDestinations"
25
+
8
26
  <a name="v2.1.0"></a>
9
27
  ## [v2.1.0] - 2025-09-12 (UI5 1.139)
10
28
 
@@ -17,8 +35,12 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
17
35
  - sap.card: Deprecated property "header/subTitle" (with capital T)
18
36
  - sap.card: Deprecated property "overflow/subTitle" (with capital T) in an object content item of type "Image"
19
37
 
38
+ <a name="v1.77.0"></a>
39
+ ## [v1.77.0] - 2025-08-04 (UI5 1.139)
40
+
20
41
  ### Added
21
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.
22
44
 
23
45
  ### Removed
24
46
  - sap.ui5/resource:
@@ -167,7 +189,9 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
167
189
  <a name="v1.48.1"></a>
168
190
  ## v1.48.1 - 2022-11-10
169
191
 
170
- [Unreleased]: https://github.com/SAP/ui5-manifest/compare/v2.1.0...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
194
+ [v2.1.1]: https://github.com/SAP/ui5-manifest/compare/v2.1.0...v2.1.1
171
195
  [v2.1.0]: https://github.com/SAP/ui5-manifest/compare/v2.0.0...v2.1.0
172
196
  [v2.0.0]: https://github.com/SAP/ui5-manifest/compare/v1.72.0...v2.0.0
173
197
  [v1.72.3]: https://github.com/SAP/ui5-manifest/compare/v1.71.0...v1.72.0
package/mapping.json CHANGED
@@ -1,5 +1,7 @@
1
1
  {
2
- "latest": "2.1.0",
2
+ "latest": "2.2.0",
3
+ "1.141": "2.2.0",
4
+ "1.140": "2.1.1",
3
5
  "1.139": "2.1.0",
4
6
  "1.138": "2.1.0",
5
7
  "1.137": "2.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/manifest",
3
- "version": "2.1.0",
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
@@ -91,7 +91,9 @@
91
91
  "1.71.0",
92
92
  "1.72.0",
93
93
  "2.0.0",
94
- "2.1.0"
94
+ "2.1.0",
95
+ "2.1.1",
96
+ "2.2.0"
95
97
  ]
96
98
  },
97
99
  "start_url": {
@@ -816,6 +818,10 @@
816
818
  }
817
819
  }
818
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
+ },
819
825
  "flexExtensionPointEnabled": {
820
826
  "description": "Represents an indicator whether app variant is flex extension point enabled",
821
827
  "type": "boolean",
@@ -1649,12 +1655,17 @@
1649
1655
  }
1650
1656
  },
1651
1657
  "destinations": {
1652
- "description": "Describes what destinations are used by the card",
1658
+ "description": "Specifies the destinations configured for use by the card",
1653
1659
  "type": "object",
1654
1660
  "additionalProperties": {
1655
1661
  "$ref": "#/$defs/Configuration.Destinations"
1656
1662
  }
1657
1663
  },
1664
+ "useMainDestinations": {
1665
+ "description": "Indicates if child cards should reference the main card's destinations. Must be set to true in child cards to use the main card's destinations",
1666
+ "type": "boolean",
1667
+ "default": false
1668
+ },
1658
1669
  "csrfTokens": {
1659
1670
  "description": "Describes the CSRF tokens used by the card",
1660
1671
  "type": "object",
@@ -1663,7 +1674,7 @@
1663
1674
  }
1664
1675
  },
1665
1676
  "actionHandlers": {
1666
- "description": "Holds configuration for the default action handlers",
1677
+ "description": "Contains configuration settings for the default action handlers",
1667
1678
  "type": "object",
1668
1679
  "additionalProperties": false,
1669
1680
  "properties": {
@@ -1685,7 +1696,7 @@
1685
1696
  "type": "object"
1686
1697
  },
1687
1698
  "loadingPlaceholders": {
1688
- "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",
1689
1700
  "type": "object",
1690
1701
  "properties": {
1691
1702
  "delay": {
@@ -1693,6 +1704,13 @@
1693
1704
  "type": "number"
1694
1705
  }
1695
1706
  }
1707
+ },
1708
+ "childCards": {
1709
+ "description": "[Experimental] Map of child cards",
1710
+ "type": "object",
1711
+ "additionalProperties": {
1712
+ "$ref": "#/$defs/Configuration.ChildCard"
1713
+ }
1696
1714
  }
1697
1715
  }
1698
1716
  },
@@ -2845,12 +2863,14 @@
2845
2863
  "description": "Parameters for ShowCard action",
2846
2864
  "type": "object",
2847
2865
  "additionalProperties": false,
2848
- "required": [
2849
- "manifest"
2850
- ],
2851
2866
  "properties": {
2867
+ "childCardKey": {
2868
+ "description": "The key of the card to be shown",
2869
+ "type": "string"
2870
+ },
2852
2871
  "manifest": {
2853
- "description": "An application identifier consisting of semanticObject and action",
2872
+ "deprecated": true,
2873
+ "description": "[Deprecated] Child card manifest",
2854
2874
  "oneOf": [
2855
2875
  {
2856
2876
  "type": "string"
@@ -4841,11 +4861,61 @@
4841
4861
  }
4842
4862
  ]
4843
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
+ },
4844
4875
  "visible": {
4845
4876
  "description": "Visibility of the icon",
4846
4877
  "$ref": "#/$defs/visibility"
4847
4878
  }
4848
- }
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
+ ]
4849
4919
  },
4850
4920
  "action": {
4851
4921
  "description": "Represents actions that can be applied on card elements",
@@ -5931,6 +6001,20 @@
5931
6001
  }
5932
6002
  }
5933
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
+ },
5934
6018
  "Configuration.NoData": {
5935
6019
  "description": "Represents a configuration for a NoData",
5936
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
  */
@@ -716,7 +720,9 @@ export interface SAPJSONSchemaForWebApplicationManifestFile {
716
720
  | "1.71.0"
717
721
  | "1.72.0"
718
722
  | "2.0.0"
719
- | "2.1.0";
723
+ | "2.1.0"
724
+ | "2.1.1"
725
+ | "2.2.0";
720
726
  /**
721
727
  * Represents the URL that the developer would prefer the user agent load when the user launches the web application
722
728
  */