Skip to content

Commit

Permalink
refactor: use relative imports in component-base (#4729)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Oct 13, 2022
1 parent e0e197c commit 2f1c3c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/component-base/src/a11y-announcer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
* Copyright (c) 2022 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/

import { animationFrame } from '@vaadin/component-base/src/async.js';
import { Debouncer } from '@vaadin/component-base/src/debounce.js';
import { animationFrame } from './async.js';
import { Debouncer } from './debounce.js';

const region = document.createElement('div');

Expand Down
2 changes: 1 addition & 1 deletion packages/component-base/src/active-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Copyright (c) 2021 - 2022 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { addListener } from '@vaadin/component-base/src/gestures.js';
import { DisabledMixin } from './disabled-mixin.js';
import { addListener } from './gestures.js';
import { KeyboardMixin } from './keyboard-mixin.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/component-base/test/dir-mixin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { nextFrame } from '@vaadin/testing-helpers';
import sinon from 'sinon';
import { PolymerElement } from '@polymer/polymer/polymer-element.js';
import { LitElement } from 'lit';
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
import { DirMixin } from '../src/dir-mixin.js';
import { PolylitMixin } from '../src/polylit-mixin.js';

class DirMixinPolymerElement extends DirMixin(PolymerElement) {
static get is() {
Expand Down

0 comments on commit 2f1c3c5

Please sign in to comment.