Skip to content

Commit

Permalink
fix: import lit-html things from lit (#4290)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart authored Dec 11, 2023
1 parent a9539a0 commit e8c04a5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/inputs/input-textarea.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../tooltip/tooltip.js';
import { css, html, LitElement } from 'lit';
import { classMap } from 'lit-html/directives/class-map.js';
import { classMap } from 'lit/directives/class-map.js';
import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
import { FormElementMixin } from '../form/form-element-mixin.js';
Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-date-range.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-date-range.js';
import { expect, fixture, focusElem, html, nextFrame, oneEvent, sendKeys, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';
import { styleMap } from 'lit/directives/style-map.js';

const create = (opts = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-date-time-range.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-date-time-range.js';
import { expect, fixture, focusElem, html, nextFrame, oneEvent, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';
import { nothing } from 'lit';
import { styleMap } from 'lit/directives/style-map.js';

Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-date-time.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-date-time.js';
import { expect, fixture, focusElem, html, oneEvent, sendKeys, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';

const create = (opts = {}) => {
const { disabled, label, labelHidden, localized, maxValue, minValue, opened, required, skeleton, value } = {
Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-date.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-date.js';
import { clickElem, expect, fixture, focusElem, html, nextFrame, oneEvent, sendKeys, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';

const create = (opts = {}) => {
const { disabled, emptyText, label, labelHidden, maxValue, minValue, opened, required, skeleton, value } = {
Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-time-range.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-time-range.js';
import { expect, fixture, focusElem, html, nextFrame, oneEvent, sendKeys, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';
import { styleMap } from 'lit/directives/style-map.js';

const create = (opts = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion components/inputs/test/input-time.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../input-time.js';
import { clickElem, expect, fixture, focusElem, html, oneEvent, sendKeysElem } from '@brightspace-ui/testing';
import { reset, useFakeTimers } from 'sinon';
import { ifDefined } from 'lit-html/directives/if-defined.js';
import { ifDefined } from 'lit/directives/if-defined.js';

const create = (opts = {}) => {
const { disabled, enforceTimeIntervals, label, labelHidden, opened, required, skeleton, value } = {
Expand Down
2 changes: 1 addition & 1 deletion components/list/list-item-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ListItemRoleMixin } from './list-item-role-mixin.js';
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
import { styleMap } from 'lit-html/directives/style-map.js';
import { styleMap } from 'lit/directives/style-map.js';

let tabPressed = false;
let tabListenerAdded = false;
Expand Down

0 comments on commit e8c04a5

Please sign in to comment.