ids-enterprise-typings 21.0.13 → 21.1.0-alpha.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.
@@ -65,5 +65,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
65
65
 
66
66
  removeMessage(options?: SohoAlertOptions): JQuery;
67
67
 
68
+ removeMessageById(options?: SohoAlertOptions): JQuery;
69
+
68
70
  scrollIntoView(alignToTop?: boolean, options?: SohoAlertOptions): void;
69
71
  }
@@ -26,7 +26,7 @@ interface SohoMessageOptions {
26
26
  message?: string;
27
27
 
28
28
  /** Width in pixels or auto. */
29
- width?: number | 'auto';
29
+ width?: number | "auto";
30
30
 
31
31
  /** The type of icon to show. */
32
32
  status?: string;
@@ -47,7 +47,10 @@ interface SohoMessageOptions {
47
47
  returnFocus?: JQuery | string;
48
48
 
49
49
  /** Skip modal's trigger element to be focused once modal is closed. */
50
- noRefocus?: boolean
50
+ noRefocus?: boolean;
51
+
52
+ /** If true, the first available input/button in the message dialog will be focused on open. */
53
+ autoFocus?: boolean;
51
54
 
52
55
  /** Adds the ability to control the opacity of the background overlay. **/
53
56
  overlayOpacity?: number;
@@ -144,7 +144,7 @@ interface SohoTabsStatic {
144
144
 
145
145
  enableTab(tabId: number | string): SohoTabsStatic;
146
146
 
147
- rename(tabId: string, name: string): void;
147
+ rename(tabId: string, name: string, tooltipContent?: string): void;
148
148
 
149
149
  refresh(): void;
150
150
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "21.0.13",
4
+ "version": "21.1.0-alpha.0",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {