ids-enterprise-typings 10.12.2 → 10.12.3

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.
@@ -18,6 +18,11 @@
18
18
  */
19
19
  type SohoModalTriggerType = 'click' | 'immediate';
20
20
 
21
+ type SohoModalFocusChangeFunction = (
22
+ modal: HTMLElement,
23
+ el: HTMLElement
24
+ ) => void;
25
+
21
26
  /**
22
27
  * Soho Modal Dialog configuration options
23
28
  *
@@ -97,6 +102,9 @@ interface SohoModalOptions {
97
102
 
98
103
  /** Add extra attributes like id's to the component **/
99
104
  attributes?: Array<Object> | Object;
105
+
106
+ /** Fires when an element gets focus on the modal */
107
+ onFocusChange?: SohoModalFocusChangeFunction;
100
108
  }
101
109
 
102
110
  type SohoModalFullSize = false | 'responsive' | 'always';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "10.12.2",
4
+ "version": "10.12.3",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {