Merge pull request #1462 from umbraco/bugfix/cyclic-token-dependency

ensure that context-provider imports relative from itself
This commit is contained in:
Lee Kelleher
2024-03-21 08:14:57 +00:00
committed by GitHub
4 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import type { UmbContextToken } from '../token/context-token.js';
import type { UmbContextToken } from '../token/index.js';
import { UmbContextProvider } from './context-provider.js';
import type { UmbControllerHost, UmbController } from '@umbraco-cms/backoffice/controller-api';

View File

@@ -1,7 +1,7 @@
import { UmbContextProviderController } from './context-provider.controller.js';
import type { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
import { UmbControllerHostElementMixin } from '@umbraco-cms/backoffice/controller-api';
import type { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
import type { UmbContextToken } from '../token/index.js';
/**
* Provides a value to the context down the DOM tree.

View File

@@ -1,6 +1,6 @@
import type { UmbContextRequestEvent } from '../consume/context-request.event.js';
import { UMB_CONTENT_REQUEST_EVENT_TYPE, UMB_DEBUG_CONTEXT_EVENT_TYPE } from '../consume/context-request.event.js';
import type { UmbContextToken } from '../token/context-token.js';
import type { UmbContextToken } from '../token/index.js';
import {
UmbContextProvideEventImplementation,
//UmbContextUnprovidedEventImplementation,

View File

@@ -1,4 +1,3 @@
export * from './context-provider.controller.js';
export * from './context-provider.js';
export * from './context-provide.event.js';
export * from './context-provider.element.js';