@trackunit/react-core-contexts-test 1.10.14 → 1.10.16
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/index.cjs2.js +9 -17
- package/index.esm2.js +14 -22
- package/package.json +4 -4
package/index.cjs2.js
CHANGED
|
@@ -1572,8 +1572,8 @@ function requireReactIs_production () {
|
|
|
1572
1572
|
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1573
1573
|
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
1574
1574
|
void 0 !== type.getModuleId))
|
|
1575
|
-
?
|
|
1576
|
-
:
|
|
1575
|
+
? true
|
|
1576
|
+
: false;
|
|
1577
1577
|
};
|
|
1578
1578
|
reactIs_production.typeOf = typeOf;
|
|
1579
1579
|
return reactIs_production;
|
|
@@ -1712,8 +1712,8 @@ function requireReactIs_development () {
|
|
|
1712
1712
|
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1713
1713
|
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
1714
1714
|
void 0 !== type.getModuleId))
|
|
1715
|
-
?
|
|
1716
|
-
:
|
|
1715
|
+
? true
|
|
1716
|
+
: false;
|
|
1717
1717
|
};
|
|
1718
1718
|
reactIs_development.typeOf = typeOf;
|
|
1719
1719
|
})();
|
|
@@ -3448,9 +3448,7 @@ function computeTextAlternative(root) {
|
|
|
3448
3448
|
if (hasAnyConcreteRoles(node, ["button"])) {
|
|
3449
3449
|
// https://www.w3.org/TR/html-aam-1.0/#button-element
|
|
3450
3450
|
var nameFromSubTree = computeMiscTextAlternative(node, {
|
|
3451
|
-
isEmbeddedInLabel: false
|
|
3452
|
-
isReferenced: false
|
|
3453
|
-
});
|
|
3451
|
+
isEmbeddedInLabel: false});
|
|
3454
3452
|
|
|
3455
3453
|
if (nameFromSubTree !== "") {
|
|
3456
3454
|
return nameFromSubTree;
|
|
@@ -3567,9 +3565,7 @@ function computeTextAlternative(root) {
|
|
|
3567
3565
|
if (allowsNameFromContent(current) || isElement(current) && context.isReferenced || isNativeHostLanguageTextAlternativeElement(current) || isDescendantOfNativeHostLanguageTextAlternativeElement()) {
|
|
3568
3566
|
consultedNodes.add(current);
|
|
3569
3567
|
return computeMiscTextAlternative(current, {
|
|
3570
|
-
isEmbeddedInLabel: context.isEmbeddedInLabel
|
|
3571
|
-
isReferenced: false
|
|
3572
|
-
});
|
|
3568
|
+
isEmbeddedInLabel: context.isEmbeddedInLabel});
|
|
3573
3569
|
}
|
|
3574
3570
|
|
|
3575
3571
|
if (current.nodeType === current.TEXT_NODE) {
|
|
@@ -3580,9 +3576,7 @@ function computeTextAlternative(root) {
|
|
|
3580
3576
|
if (context.recursion) {
|
|
3581
3577
|
consultedNodes.add(current);
|
|
3582
3578
|
return computeMiscTextAlternative(current, {
|
|
3583
|
-
isEmbeddedInLabel: context.isEmbeddedInLabel
|
|
3584
|
-
isReferenced: false
|
|
3585
|
-
});
|
|
3579
|
+
isEmbeddedInLabel: context.isEmbeddedInLabel});
|
|
3586
3580
|
}
|
|
3587
3581
|
|
|
3588
3582
|
|
|
@@ -3600,7 +3594,7 @@ function computeTextAlternative(root) {
|
|
|
3600
3594
|
|
|
3601
3595
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3602
3596
|
|
|
3603
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source),
|
|
3597
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), true).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3604
3598
|
|
|
3605
3599
|
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3606
3600
|
/**
|
|
@@ -9702,8 +9696,6 @@ var roleElements_1 = lib.roleElements = roleElements;
|
|
|
9702
9696
|
|
|
9703
9697
|
var lzString$1 = {exports: {}};
|
|
9704
9698
|
|
|
9705
|
-
lzString$1.exports;
|
|
9706
|
-
|
|
9707
9699
|
(function (module) {
|
|
9708
9700
|
// Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
|
9709
9701
|
// This work is free. You can redistribute it and/or modify it
|
|
@@ -11113,7 +11105,7 @@ function makeSuggestion(queryName, element, content, _ref) {
|
|
|
11113
11105
|
};
|
|
11114
11106
|
}
|
|
11115
11107
|
function canSuggest(currentMethod, requestedMethod, data) {
|
|
11116
|
-
return data && (
|
|
11108
|
+
return data && (true);
|
|
11117
11109
|
}
|
|
11118
11110
|
function getSuggestedQuery(element, variant, method) {
|
|
11119
11111
|
var _element$getAttribute, _getImplicitAriaRoles;
|
package/index.esm2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SortOrder, AssetSortByProperty } from '@trackunit/iris-app-runtime-core-api';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import React__default, { createContext, useState, useEffect, useContext, Children,
|
|
4
|
+
import React__default, { createContext, useState, useEffect, useContext, Children, createElement, isValidElement, useRef, useCallback, useMemo } from 'react';
|
|
5
5
|
import * as DeprecatedReactTestUtils from 'react-dom/test-utils';
|
|
6
6
|
import ReactDOM from 'react-dom';
|
|
7
7
|
import * as ReactDOMClient from 'react-dom/client';
|
|
@@ -1550,8 +1550,8 @@ function requireReactIs_production () {
|
|
|
1550
1550
|
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1551
1551
|
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
1552
1552
|
void 0 !== type.getModuleId))
|
|
1553
|
-
?
|
|
1554
|
-
:
|
|
1553
|
+
? true
|
|
1554
|
+
: false;
|
|
1555
1555
|
};
|
|
1556
1556
|
reactIs_production.typeOf = typeOf;
|
|
1557
1557
|
return reactIs_production;
|
|
@@ -1690,8 +1690,8 @@ function requireReactIs_development () {
|
|
|
1690
1690
|
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1691
1691
|
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
1692
1692
|
void 0 !== type.getModuleId))
|
|
1693
|
-
?
|
|
1694
|
-
:
|
|
1693
|
+
? true
|
|
1694
|
+
: false;
|
|
1695
1695
|
};
|
|
1696
1696
|
reactIs_development.typeOf = typeOf;
|
|
1697
1697
|
})();
|
|
@@ -2638,7 +2638,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
2638
2638
|
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2639
2639
|
|
|
2640
2640
|
// for environments without Set we fallback to arrays with unique members
|
|
2641
|
-
var SetLike = /*#__PURE__*/function () {
|
|
2641
|
+
var SetLike$1 = /*#__PURE__*/function () {
|
|
2642
2642
|
function SetLike() {
|
|
2643
2643
|
var items = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
2644
2644
|
|
|
@@ -2696,7 +2696,7 @@ var SetLike = /*#__PURE__*/function () {
|
|
|
2696
2696
|
return SetLike;
|
|
2697
2697
|
}();
|
|
2698
2698
|
|
|
2699
|
-
var SetLike
|
|
2699
|
+
var SetLike = typeof Set === "undefined" ? Set : SetLike$1;
|
|
2700
2700
|
|
|
2701
2701
|
// https://w3c.github.io/html-aria/#document-conformance-requirements-for-use-of-aria-attributes-in-html
|
|
2702
2702
|
|
|
@@ -3236,7 +3236,7 @@ function getSlotContents(slot) {
|
|
|
3236
3236
|
|
|
3237
3237
|
function computeTextAlternative(root) {
|
|
3238
3238
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3239
|
-
var consultedNodes = new SetLike
|
|
3239
|
+
var consultedNodes = new SetLike();
|
|
3240
3240
|
var window = safeWindow(root);
|
|
3241
3241
|
var _options$compute = options.compute,
|
|
3242
3242
|
compute = _options$compute === void 0 ? "name" : _options$compute,
|
|
@@ -3426,9 +3426,7 @@ function computeTextAlternative(root) {
|
|
|
3426
3426
|
if (hasAnyConcreteRoles(node, ["button"])) {
|
|
3427
3427
|
// https://www.w3.org/TR/html-aam-1.0/#button-element
|
|
3428
3428
|
var nameFromSubTree = computeMiscTextAlternative(node, {
|
|
3429
|
-
isEmbeddedInLabel: false
|
|
3430
|
-
isReferenced: false
|
|
3431
|
-
});
|
|
3429
|
+
isEmbeddedInLabel: false});
|
|
3432
3430
|
|
|
3433
3431
|
if (nameFromSubTree !== "") {
|
|
3434
3432
|
return nameFromSubTree;
|
|
@@ -3545,9 +3543,7 @@ function computeTextAlternative(root) {
|
|
|
3545
3543
|
if (allowsNameFromContent(current) || isElement(current) && context.isReferenced || isNativeHostLanguageTextAlternativeElement(current) || isDescendantOfNativeHostLanguageTextAlternativeElement()) {
|
|
3546
3544
|
consultedNodes.add(current);
|
|
3547
3545
|
return computeMiscTextAlternative(current, {
|
|
3548
|
-
isEmbeddedInLabel: context.isEmbeddedInLabel
|
|
3549
|
-
isReferenced: false
|
|
3550
|
-
});
|
|
3546
|
+
isEmbeddedInLabel: context.isEmbeddedInLabel});
|
|
3551
3547
|
}
|
|
3552
3548
|
|
|
3553
3549
|
if (current.nodeType === current.TEXT_NODE) {
|
|
@@ -3558,9 +3554,7 @@ function computeTextAlternative(root) {
|
|
|
3558
3554
|
if (context.recursion) {
|
|
3559
3555
|
consultedNodes.add(current);
|
|
3560
3556
|
return computeMiscTextAlternative(current, {
|
|
3561
|
-
isEmbeddedInLabel: context.isEmbeddedInLabel
|
|
3562
|
-
isReferenced: false
|
|
3563
|
-
});
|
|
3557
|
+
isEmbeddedInLabel: context.isEmbeddedInLabel});
|
|
3564
3558
|
}
|
|
3565
3559
|
|
|
3566
3560
|
|
|
@@ -3578,7 +3572,7 @@ function computeTextAlternative(root) {
|
|
|
3578
3572
|
|
|
3579
3573
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3580
3574
|
|
|
3581
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source),
|
|
3575
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), true).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3582
3576
|
|
|
3583
3577
|
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3584
3578
|
/**
|
|
@@ -9680,8 +9674,6 @@ var roleElements_1 = lib.roleElements = roleElements;
|
|
|
9680
9674
|
|
|
9681
9675
|
var lzString$1 = {exports: {}};
|
|
9682
9676
|
|
|
9683
|
-
lzString$1.exports;
|
|
9684
|
-
|
|
9685
9677
|
(function (module) {
|
|
9686
9678
|
// Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
|
9687
9679
|
// This work is free. You can redistribute it and/or modify it
|
|
@@ -11091,7 +11083,7 @@ function makeSuggestion(queryName, element, content, _ref) {
|
|
|
11091
11083
|
};
|
|
11092
11084
|
}
|
|
11093
11085
|
function canSuggest(currentMethod, requestedMethod, data) {
|
|
11094
|
-
return data && (
|
|
11086
|
+
return data && (true);
|
|
11095
11087
|
}
|
|
11096
11088
|
function getSuggestedQuery(element, variant, method) {
|
|
11097
11089
|
var _element$getAttribute, _getImplicitAriaRoles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts-test",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.16",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"@apollo/client": "3.13.8",
|
|
11
11
|
"react": "19.0.0",
|
|
12
12
|
"@tanstack/react-router": "1.114.29",
|
|
13
|
-
"@trackunit/shared-utils": "1.12.
|
|
13
|
+
"@trackunit/shared-utils": "1.12.16",
|
|
14
14
|
"graphql": "^16.10.0",
|
|
15
15
|
"@tanstack/router-core": "1.114.29",
|
|
16
|
-
"@trackunit/iris-app-runtime-core-api": "1.10.
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.11.
|
|
16
|
+
"@trackunit/iris-app-runtime-core-api": "1.10.16",
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.11.16",
|
|
18
18
|
"es-toolkit": "^1.39.10"
|
|
19
19
|
},
|
|
20
20
|
"module": "./index.esm.js",
|