@carbon/ibm-products 2.43.2-canary.129 → 2.43.2-canary.130

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,6 @@ export function useFocus(modalRef: any, selectorPrimaryFocus: any): {
9
9
  first: any;
10
10
  last: any;
11
11
  all: any;
12
- specifiedElement: any;
12
+ specified: any;
13
13
  };
14
14
  };
@@ -42,12 +42,12 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
42
42
  var first = (_focusableElements2 = focusableElements) === null || _focusableElements2 === void 0 ? void 0 : _focusableElements2[0];
43
43
  var last = (_focusableElements3 = focusableElements) === null || _focusableElements3 === void 0 ? void 0 : _focusableElements3[((_focusableElements4 = focusableElements) === null || _focusableElements4 === void 0 ? void 0 : _focusableElements4.length) - 1];
44
44
  var all = focusableElements;
45
- var specifiedElement = getSpecificElement(modalEl, selectorPrimaryFocus);
45
+ var specified = getSpecificElement(modalEl, selectorPrimaryFocus);
46
46
  return {
47
47
  first: first,
48
48
  last: last,
49
49
  all: all,
50
- specifiedElement: specifiedElement
50
+ specified: specified
51
51
  };
52
52
  }, [modalEl, query, selectorPrimaryFocus]);
53
53
  useEffect(function () {
@@ -9,6 +9,6 @@ export function useFocus(modalRef: any, selectorPrimaryFocus: any): {
9
9
  first: any;
10
10
  last: any;
11
11
  all: any;
12
- specifiedElement: any;
12
+ specified: any;
13
13
  };
14
14
  };
@@ -46,12 +46,12 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
46
46
  var first = (_focusableElements2 = focusableElements) === null || _focusableElements2 === void 0 ? void 0 : _focusableElements2[0];
47
47
  var last = (_focusableElements3 = focusableElements) === null || _focusableElements3 === void 0 ? void 0 : _focusableElements3[((_focusableElements4 = focusableElements) === null || _focusableElements4 === void 0 ? void 0 : _focusableElements4.length) - 1];
48
48
  var all = focusableElements;
49
- var specifiedElement = getSpecificElement(modalEl, selectorPrimaryFocus);
49
+ var specified = getSpecificElement(modalEl, selectorPrimaryFocus);
50
50
  return {
51
51
  first: first,
52
52
  last: last,
53
53
  all: all,
54
- specifiedElement: specifiedElement
54
+ specified: specified
55
55
  };
56
56
  }, [modalEl, query, selectorPrimaryFocus]);
57
57
  React.useEffect(function () {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.129+5fdb47a91",
4
+ "version": "2.43.2-canary.130+bd91747bf",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "5fdb47a91e8c7f151f4ef29bc86f7b8bd2fe96d0"
123
+ "gitHead": "bd91747bfb73a1ada8d49e5c569b1b3eb31070f0"
124
124
  }