Skip to content

Commit 9b70e03

Browse files
author
Helen Le
committed
chore(overlay): fix imports
1 parent b73c357 commit 9b70e03

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/dialog/src/DialogBase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import '@spectrum-web-components/underlay/sp-underlay.js';
2424
import '@spectrum-web-components/button/sp-button.js';
2525

2626
// Leveraged in build systems that use aliasing to prevent multiple registrations: https://github.com/adobe/spectrum-web-components/pull/3225
27-
// Get around lint error by importing locally for now. Not required for actual change.
28-
import '../sp-dialog.js';
27+
// eslint-disable-next-line import/no-extraneous-dependencies
28+
import '@spectrum-web-components/dialog/sp-dialog.js';
2929
import modalWrapperStyles from '@spectrum-web-components/modal/src/modal-wrapper.css.js';
3030
import modalStyles from '@spectrum-web-components/modal/src/modal.css.js';
3131
import { Dialog } from './Dialog.js';

packages/overlay/src/InteractionController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ export class InteractionController implements ReactiveController {
7575
this.overlay.open = true;
7676
this.target[lastInteractionType] = this.type;
7777
});
78-
import('../sp-overlay.js');
78+
// eslint-disable-next-line import/no-extraneous-dependencies
79+
import('@spectrum-web-components/overlay/sp-overlay.js');
7980
}
8081

8182
public get overlay(): AbstractOverlay {

0 commit comments

Comments
 (0)