Skip to content

Commit

Permalink
chore: decouple field component from interface imported from menu
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 567361278
  • Loading branch information
AndrewJakubowicz authored and copybara-github committed Sep 21, 2023
1 parent c7c276f commit 448fcdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions field/internal/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import {property, query, queryAssignedElements, state} from 'lit/decorators.js';
import {classMap} from 'lit/directives/class-map.js';

import {EASING} from '../../internal/motion/animation.js';
import {SurfacePositionTarget} from '../../menu/internal/surfacePositionController.js';

/**
* A field component.
*/
export class Field extends LitElement implements SurfacePositionTarget {
export class Field extends LitElement {
@property({type: Boolean}) disabled = false;
@property({type: Boolean}) error = false;
@property({type: Boolean}) focused = false;
Expand Down

0 comments on commit 448fcdd

Please sign in to comment.