@trackunit/react-core-contexts-test 0.1.90-alpha-001fc30993.0 → 0.1.90
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/{HookRenderer.cjs → HookRenderer.cjs.js} +1 -1
- package/{HookRenderer.js → HookRenderer.esm.js} +1 -1
- package/index.cjs.d.ts +1 -0
- package/{index.cjs → index.cjs.js} +1 -1
- package/{index2.cjs → index.cjs2.js} +1 -1
- package/{index.js → index.esm.js} +1 -1
- package/{index2.js → index.esm2.js} +1 -1
- package/package.json +6 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, d as dom_esm, c as commonjsGlobal, _ as __awaiter, a as act$1, f as flushPromises } from './
|
|
1
|
+
import { g as getAugmentedNamespace, d as dom_esm, c as commonjsGlobal, _ as __awaiter, a as act$1, f as flushPromises } from './index.esm2.js';
|
|
2
2
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
package/index.cjs.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./src/index";
|
|
@@ -43875,7 +43875,7 @@ class TrackunitProvidersMockBuilder {
|
|
|
43875
43875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43876
43876
|
this.validateSuppliedMocks();
|
|
43877
43877
|
// This ensures correct act loading when using hooks and not loaded if this build is used for storybook
|
|
43878
|
-
const hookRenderer = yield Promise.resolve().then(function () { return require('./HookRenderer.cjs'); });
|
|
43878
|
+
const hookRenderer = yield Promise.resolve().then(function () { return require('./HookRenderer.cjs.js'); });
|
|
43879
43879
|
return hookRenderer.reactHooksRenderHook(callback, children => this.getMockedCompositionRoot(parentElement ? parentElement(children) : children));
|
|
43880
43880
|
});
|
|
43881
43881
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Debugger, T as TrackunitProvidersMockBuilder, l as doNothing, f as flushPromises, o as flushPromisesInAct, m as mockAnalyticsContext, b as mockAssetSortingContext, e as mockCurrentUserContext, h as mockEnvironmentContext, i as mockOemBrandingContext, j as mockToastContext, k as mockUserSubscriptionContext, q as queryFor, n as queryForHook, t as trackunitProviders, u as useDebugger, v as validateIrisApp } from './
|
|
1
|
+
export { D as Debugger, T as TrackunitProvidersMockBuilder, l as doNothing, f as flushPromises, o as flushPromisesInAct, m as mockAnalyticsContext, b as mockAssetSortingContext, e as mockCurrentUserContext, h as mockEnvironmentContext, i as mockOemBrandingContext, j as mockToastContext, k as mockUserSubscriptionContext, q as queryFor, n as queryForHook, t as trackunitProviders, u as useDebugger, v as validateIrisApp } from './index.esm2.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@trackunit/react-core-contexts-api';
|
|
@@ -43847,7 +43847,7 @@ class TrackunitProvidersMockBuilder {
|
|
|
43847
43847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43848
43848
|
this.validateSuppliedMocks();
|
|
43849
43849
|
// This ensures correct act loading when using hooks and not loaded if this build is used for storybook
|
|
43850
|
-
const hookRenderer = yield import('./HookRenderer.js');
|
|
43850
|
+
const hookRenderer = yield import('./HookRenderer.esm.js');
|
|
43851
43851
|
return hookRenderer.reactHooksRenderHook(callback, children => this.getMockedCompositionRoot(parentElement ? parentElement(children) : children));
|
|
43852
43852
|
});
|
|
43853
43853
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts-test",
|
|
3
|
-
"version": "0.1.90
|
|
3
|
+
"version": "0.1.90",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=18.x"
|
|
8
8
|
},
|
|
9
|
-
"module": "./index.js",
|
|
10
|
-
"main": "./index.cjs",
|
|
11
|
-
"type": "module",
|
|
12
|
-
"types": "./src/index.d.ts",
|
|
9
|
+
"module": "./index.esm.js",
|
|
10
|
+
"main": "./index.cjs.js",
|
|
13
11
|
"dependencies": {
|
|
14
12
|
"@apollo/client": "3.7.10",
|
|
15
|
-
"@trackunit/react-core-contexts-api": "0.2.52
|
|
16
|
-
"@trackunit/react-core-hooks": "0.2.77
|
|
17
|
-
"@trackunit/tailwind-styled-components": "0.0.
|
|
13
|
+
"@trackunit/react-core-contexts-api": "0.2.52",
|
|
14
|
+
"@trackunit/react-core-hooks": "0.2.77",
|
|
15
|
+
"@trackunit/tailwind-styled-components": "0.0.60",
|
|
18
16
|
"graphql": "15.8.0",
|
|
19
17
|
"lodash": "4.17.21",
|
|
20
18
|
"react": "18.2.0",
|