@memberjunction/react-runtime 5.37.0 → 5.38.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.
- package/.turbo/turbo-build.log +12 -12
- package/CHANGELOG.md +23 -0
- package/dist/324.runtime.umd.js +89 -89
- package/dist/compiler/component-compiler.d.ts +1 -1
- package/dist/compiler/component-compiler.d.ts.map +1 -1
- package/dist/compiler/component-compiler.js +10 -16
- package/dist/compiler/component-compiler.js.map +1 -1
- package/dist/compiler/index.d.ts +2 -2
- package/dist/compiler/index.js +2 -2
- package/dist/component-manager/component-manager.d.ts +4 -4
- package/dist/component-manager/index.d.ts +2 -2
- package/dist/component-manager/index.js +1 -1
- package/dist/component-manager/types.d.ts +1 -1
- package/dist/index.d.ts +28 -28
- package/dist/index.js +23 -23
- package/dist/registry/component-registry-service.d.ts +3 -3
- package/dist/registry/component-registry.d.ts +1 -1
- package/dist/registry/component-registry.js +1 -1
- package/dist/registry/component-resolver.d.ts +3 -3
- package/dist/registry/component-resolver.js +1 -1
- package/dist/registry/index.d.ts +4 -4
- package/dist/registry/index.js +3 -3
- package/dist/runtime/component-hierarchy.d.ts +3 -3
- package/dist/runtime/error-boundary.d.ts +1 -1
- package/dist/runtime/index.d.ts +5 -5
- package/dist/runtime/index.js +4 -4
- package/dist/runtime/prop-builder.d.ts +1 -1
- package/dist/runtime/react-root-manager.d.ts +1 -1
- package/dist/runtime/react-root-manager.js +1 -1
- package/dist/runtime.umd.js +2975 -2270
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/utilities/core-libraries.d.ts +1 -1
- package/dist/utilities/index.d.ts +9 -9
- package/dist/utilities/index.js +9 -9
- package/dist/utilities/library-dependency-resolver.d.ts +1 -1
- package/dist/utilities/library-loader.d.ts +3 -3
- package/dist/utilities/library-loader.js +4 -4
- package/dist/utilities/standard-libraries.d.ts +1 -1
- package/package.json +7 -7
- package/src/compiler/component-compiler.ts +7 -13
package/dist/registry/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ComponentRegistry } from './component-registry';
|
|
2
|
-
export { ComponentResolver } from './component-resolver';
|
|
3
|
-
export { ComponentRegistryService } from './component-registry-service';
|
|
1
|
+
export { ComponentRegistry } from './component-registry.js';
|
|
2
|
+
export { ComponentResolver } from './component-resolver.js';
|
|
3
|
+
export { ComponentRegistryService } from './component-registry-service.js';
|
|
4
4
|
export { ComponentSpec } from '@memberjunction/interactive-component-types';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '../types';
|
|
2
|
-
import { ComponentCompiler } from '../compiler';
|
|
3
|
-
import { ComponentRegistry } from '../registry';
|
|
1
|
+
import { RuntimeContext } from '../types/index.js';
|
|
2
|
+
import { ComponentCompiler } from '../compiler/index.js';
|
|
3
|
+
import { ComponentRegistry } from '../registry/index.js';
|
|
4
4
|
import { ComponentSpec, ComponentStyles } from '@memberjunction/interactive-component-types';
|
|
5
5
|
import { UserInfo } from '@memberjunction/core';
|
|
6
6
|
import { MJComponentLibraryEntity } from '@memberjunction/core-entities';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorBoundaryOptions, ComponentError } from '../types';
|
|
1
|
+
import { ErrorBoundaryOptions, ComponentError } from '../types/index.js';
|
|
2
2
|
export declare function createErrorBoundary(React: any, options?: ErrorBoundaryOptions): any;
|
|
3
3
|
export declare function withErrorBoundary(React: any, Component: any, options?: ErrorBoundaryOptions): any;
|
|
4
4
|
export declare function formatComponentError(error: Error, componentName: string, phase: ComponentError['phase']): ComponentError;
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary';
|
|
2
|
-
export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths, PropBuilderOptions } from './prop-builder';
|
|
3
|
-
export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy, HierarchyRegistrationResult, ComponentRegistrationError, HierarchyRegistrationOptions } from './component-hierarchy';
|
|
4
|
-
export { ReactRootManager, reactRootManager, ManagedReactRoot } from './react-root-manager';
|
|
5
|
-
export { RuntimeHook, RootHookContext } from './runtime-hooks';
|
|
1
|
+
export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary.js';
|
|
2
|
+
export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths, PropBuilderOptions } from './prop-builder.js';
|
|
3
|
+
export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy, HierarchyRegistrationResult, ComponentRegistrationError, HierarchyRegistrationOptions } from './component-hierarchy.js';
|
|
4
|
+
export { ReactRootManager, reactRootManager, ManagedReactRoot } from './react-root-manager.js';
|
|
5
|
+
export { RuntimeHook, RootHookContext } from './runtime-hooks.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary';
|
|
2
|
-
export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths } from './prop-builder';
|
|
3
|
-
export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy } from './component-hierarchy';
|
|
4
|
-
export { ReactRootManager, reactRootManager } from './react-root-manager';
|
|
1
|
+
export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary.js';
|
|
2
|
+
export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths } from './prop-builder.js';
|
|
3
|
+
export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy } from './component-hierarchy.js';
|
|
4
|
+
export { ReactRootManager, reactRootManager } from './react-root-manager.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentStyles, ComponentCallbacks } from '@memberjunction/interactive-component-types';
|
|
2
|
-
import { ComponentProps } from '../types';
|
|
2
|
+
import { ComponentProps } from '../types/index.js';
|
|
3
3
|
export interface PropBuilderOptions {
|
|
4
4
|
validate?: boolean;
|
|
5
5
|
merge?: boolean;
|