converge all uui-modal-* imports to uui

This commit is contained in:
Jacob Overgaard
2023-03-23 15:17:38 +01:00
parent f9cd211eb8
commit dd8c5c390a
6 changed files with 11 additions and 9 deletions

View File

@@ -1,6 +1,9 @@
import type { UUIDialogElement } from '@umbraco-ui/uui';
import type { UUIModalDialogElement } from '@umbraco-ui/uui-modal-dialog';
import { UUIModalSidebarElement, UUIModalSidebarSize } from '@umbraco-ui/uui-modal-sidebar';
import type {
UUIDialogElement,
UUIModalDialogElement,
UUIModalSidebarElement,
UUIModalSidebarSize,
} from '@umbraco-ui/uui';
import { v4 as uuidv4 } from 'uuid';
import { BehaviorSubject } from 'rxjs';
import { UmbModalConfig, UmbModalType } from './modal.context';

View File

@@ -1,9 +1,8 @@
// TODO: remove this import when the search hack is removed
import '../../src/backoffice/search/modals/search/search-modal.element';
import { UUIModalSidebarSize } from '@umbraco-ui/uui-modal-sidebar';
import type { UUIModalDialogElement, UUIModalSidebarSize } from '@umbraco-ui/uui';
import { BehaviorSubject } from 'rxjs';
import type { UUIModalDialogElement } from '@umbraco-ui/uui-modal-dialog';
import { UmbModalHandler, UmbModalHandlerClass } from './modal-handler';
import type { UmbModalToken } from './token/modal-token';
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';