Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Angular 9 #111

Merged
merged 28 commits into from
Mar 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
­
  • Loading branch information
Enlcxx committed Mar 28, 2020
commit 558c3eae70c93d19449af9c770eabc5b7380698c
7 changes: 3 additions & 4 deletions src/lib/field/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import {
ThemeRef,
LY_COMMON_STYLES,
keyframesUniqueId,
WithStyles
WithStyles,
Style
} from '@alyle/ui';
import { LyLabel } from './label';
import { LyPlaceholder } from './placeholder';
Expand All @@ -50,8 +51,6 @@ import { Subject } from 'rxjs';
import { NgControl, NgForm, FormGroupDirective } from '@angular/forms';
import { LyError } from './error';
import { LyFieldControlBase } from './field-control-base';
import { Style } from '../src/minimal';
import { AUIThemeVariables } from '@app/app.module';

export interface LyFieldTheme {
/** Styles for Field Component */
Expand Down Expand Up @@ -465,7 +464,7 @@ export class LyField implements WithStyles, OnInit, AfterContentInit, AfterViewI

/** The field appearance style. */
@Style<string | null>(
val => (theme: AUIThemeVariables, ref) => {
val => (theme: LyFieldVariables, ref) => {
const classes = ref.selectorsOf(STYLES);
if (theme.field && theme.field.appearance) {
const appearance = theme.field.appearance[val];
Expand Down