Fix dependencies
This commit is contained in:
16
tp-input.js
16
tp-input.js
@@ -5,10 +5,10 @@ This program is available under Apache License Version 2.0
|
||||
*/
|
||||
|
||||
import { LitElement, html, css } from 'lit';
|
||||
import { FormElement } from '../helpers/form-element.js';
|
||||
import { EventHelpers } from '../helpers/event-helpers.js';
|
||||
import { ControlState } from '../helpers/control-state.js';
|
||||
import { Inert } from '../helpers/inert.js';
|
||||
import { FormElement } from '@tp/helpers/form-element.js';
|
||||
import { EventHelpers } from '@tp/helpers/event-helpers.js';
|
||||
import { ControlState } from '@tp/helpers/control-state.js';
|
||||
import { Inert } from '@tp/helpers/inert.js';
|
||||
|
||||
const mixins = [
|
||||
FormElement,
|
||||
@@ -31,7 +31,7 @@ class TpInput extends BaseElement {
|
||||
outline: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
.wrap ::slotted(input) {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
@@ -45,7 +45,7 @@ class TpInput extends BaseElement {
|
||||
text-align: inherit;
|
||||
color: inherit; /** FF seems to need this **/
|
||||
}
|
||||
|
||||
|
||||
.error-message {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
@@ -64,7 +64,7 @@ class TpInput extends BaseElement {
|
||||
:host([invalid]) .error-message {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -462,4 +462,4 @@ class TpInput extends BaseElement {
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('tp-input', TpInput);
|
||||
window.customElements.define('tp-input', TpInput);
|
||||
|
||||
Reference in New Issue
Block a user