@openui5/ts-types 1.133.1 → 1.135.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.133.1",
3
+ "version": "1.135.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.133.1
1
+ // For Library Version: 1.135.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -8306,6 +8306,26 @@ declare namespace sap {
8306
8306
  __implements__sap_f_IDynamicPageStickyContent: boolean;
8307
8307
  }
8308
8308
 
8309
+ /**
8310
+ * Interface for controls suitable for the `items` aggregation of `{@link sap.f.GridContainer}`.
8311
+ *
8312
+ * Classes implementing this interface should use the accessibility role provided by the `sap.f.IGridContainerItem.getGridItemRole`
8313
+ * method.
8314
+ *
8315
+ * @since 1.134
8316
+ */
8317
+ interface IGridContainerItem {
8318
+ __implements__sap_f_IGridContainerItem: boolean;
8319
+
8320
+ /**
8321
+ * Returns the accessibility role for the `sap.f.GridContainer` item.
8322
+ *
8323
+ *
8324
+ * @returns The accessibility role for the `sap.f.GridContainer` item
8325
+ */
8326
+ getGridItemRole(): string;
8327
+ }
8328
+
8309
8329
  /**
8310
8330
  * Interface for controls suitable for the `additionalContent` aggregation of `{@link sap.f.ShellBar}`.
8311
8331
  *
@@ -8456,7 +8476,10 @@ declare namespace sap {
8456
8476
  | `{${string}}`;
8457
8477
 
8458
8478
  /**
8459
- * Defines the role of the Card Header.
8479
+ * Defines the accessibility role of the control.
8480
+ *
8481
+ * **Note:** When the control is placed inside a `sap.f.GridContainer`, its accessibility role is overridden
8482
+ * by the accessibility role specified by the `sap.f.GridContainer`.
8460
8483
  *
8461
8484
  * @experimental As of version 1.131.
8462
8485
  */
@@ -8466,7 +8489,10 @@ declare namespace sap {
8466
8489
  | `{${string}}`;
8467
8490
 
8468
8491
  /**
8469
- * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
8492
+ * Fired when action is added on card level.
8493
+ *
8494
+ * **Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem` or the control is
8495
+ * placed inside a `sap.f.GridContainer`.
8470
8496
  *
8471
8497
  * @experimental As of version 1.131.
8472
8498
  */
@@ -11659,10 +11685,11 @@ declare namespace sap {
11659
11685
  */
11660
11686
  class CardBase
11661
11687
  extends sap.ui.core.Control
11662
- implements sap.f.ICard, sap.m.IBadge
11688
+ implements sap.f.ICard, sap.m.IBadge, sap.f.IGridContainerItem
11663
11689
  {
11664
11690
  __implements__sap_f_ICard: boolean;
11665
11691
  __implements__sap_m_IBadge: boolean;
11692
+ __implements__sap_f_IGridContainerItem: boolean;
11666
11693
  /**
11667
11694
  * Constructor for a new `CardBase`.
11668
11695
  *
@@ -11731,7 +11758,8 @@ declare namespace sap {
11731
11758
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11732
11759
  * otherwise it will be bound to this `sap.f.CardBase` itself.
11733
11760
  *
11734
- * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
11761
+ * Fired when action is added on card level. *Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`
11762
+ * or the control is placed inside a `sap.f.GridContainer`.
11735
11763
  *
11736
11764
  * @experimental As of version 1.131.
11737
11765
  *
@@ -11758,7 +11786,8 @@ declare namespace sap {
11758
11786
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11759
11787
  * otherwise it will be bound to this `sap.f.CardBase` itself.
11760
11788
  *
11761
- * Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
11789
+ * Fired when action is added on card level. *Note**: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`
11790
+ * or the control is placed inside a `sap.f.GridContainer`.
11762
11791
  *
11763
11792
  * @experimental As of version 1.131.
11764
11793
  *
@@ -11815,6 +11844,13 @@ declare namespace sap {
11815
11844
  * @returns Returns the DOM Element that should get the focus
11816
11845
  */
11817
11846
  getFocusDomRef(): Element;
11847
+ /**
11848
+ * Returns the accessibility role for the `sap.f.GridContainer` item.
11849
+ *
11850
+ *
11851
+ * @returns The accessibility role for the `sap.f.GridContainer` item
11852
+ */
11853
+ getGridItemRole(): string;
11818
11854
  /**
11819
11855
  * Gets current value of property {@link #getHeight height}.
11820
11856
  *
@@ -11829,7 +11865,8 @@ declare namespace sap {
11829
11865
  /**
11830
11866
  * Gets current value of property {@link #getSemanticRole semanticRole}.
11831
11867
  *
11832
- * Defines the role of the Card Header.
11868
+ * Defines the accessibility role of the control. *Note:** When the control is placed inside a `sap.f.GridContainer`,
11869
+ * its accessibility role is overridden by the accessibility role specified by the `sap.f.GridContainer`.
11833
11870
  *
11834
11871
  * Default value is `Region`.
11835
11872
  *
@@ -11870,7 +11907,8 @@ declare namespace sap {
11870
11907
  /**
11871
11908
  * Sets a new value for property {@link #getSemanticRole semanticRole}.
11872
11909
  *
11873
- * Defines the role of the Card Header.
11910
+ * Defines the accessibility role of the control. *Note:** When the control is placed inside a `sap.f.GridContainer`,
11911
+ * its accessibility role is overridden by the accessibility role specified by the `sap.f.GridContainer`.
11874
11912
  *
11875
11913
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11876
11914
  *
@@ -17237,6 +17275,9 @@ declare namespace sap {
17237
17275
  * All rows have the same height and all columns have the same width. Their sizes can be configured with
17238
17276
  * the use of the `layout` aggregation and `{@link sap.f.GridContainerSettings}`.
17239
17277
  *
17278
+ * **Note:** To ensure better keyboard and accessibility support, child items should implement `sap.f.IGridContainerItem`
17279
+ * interface.
17280
+ *
17240
17281
  * Usage:
17241
17282
  *
17242
17283
  * When to use
@@ -20248,11 +20289,10 @@ declare namespace sap {
20248
20289
  */
20249
20290
  class ShellBar
20250
20291
  extends sap.ui.core.Control
20251
- implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
20292
+ implements sap.f.IShellBar, sap.m.IBar
20252
20293
  {
20253
20294
  __implements__sap_f_IShellBar: boolean;
20254
20295
  __implements__sap_m_IBar: boolean;
20255
- __implements__sap_tnt_IToolHeader: boolean;
20256
20296
  /**
20257
20297
  * Constructor for a new `ShellBar`.
20258
20298
  *