Skip to content

Commit

Permalink
chore: apply changes after linting [bot]
Browse files Browse the repository at this point in the history
  • Loading branch information
taiga-family-bot authored and taiga-family-bot committed Dec 21, 2023
1 parent 7f93fc5 commit 26eae47
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 41 deletions.
2 changes: 1 addition & 1 deletion projects/cdk/services/directive-styles.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function tuiWithStyles(component: Type<unknown>): void {
* @deprecated use {@link tuiWithStyles} instead
*/
@Injectable({
providedIn: `root`,
providedIn: 'root',
})
export class TuiDirectiveStylesService {
readonly map = new Map();
Expand Down
6 changes: 3 additions & 3 deletions projects/demo/src/modules/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,12 +411,12 @@ export const ROUTES: Routes = [
},
},
{
path: `experimental/textfield`,
path: 'experimental/textfield',
loadChildren: async () =>
(await import(`../experimental/textfield/textfield.module`))
(await import('../experimental/textfield/textfield.module'))
.ExampleTuiTextfieldModule,
data: {
title: `Textfield`,
title: 'Textfield',
},
},
{
Expand Down
63 changes: 32 additions & 31 deletions projects/demo/src/modules/app/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,45 +316,46 @@ export const pages: TuiDocPages = [
section: 'Tools',
title: 'DropdownSelection',
keywords:
`контекст, выпадашка, дропдаун, меню, Context, ContextMenu, option,` +
`optGroup, опции, tuiOption, варианты, dropdown, menu`,
route: `/components/data-list-wrapper`,
'контекст, выпадашка, дропдаун, меню, Context, ContextMenu, option,' +
'optGroup, опции, tuiOption, варианты, dropdown, menu',
route: '/components/data-list-wrapper',
},
{
section: `Components`,
title: `HostedDropdown`,
keywords: `dropdown, контекст, выпадашка, дропдаун, меню, menu`,
route: `/components/hosted-dropdown`,
section: 'Components',
title: 'HostedDropdown',
keywords: 'dropdown, контекст, выпадашка, дропдаун, меню, menu',
route: '/components/hosted-dropdown',
},
{
section: `Tools`,
title: `Dropdown`,
keywords: `dropdown, контекст, выпадашка, дропдаун, Context`,
route: `/directives/dropdown`,
section: 'Tools',
title: 'Dropdown',
keywords: 'dropdown, контекст, выпадашка, дропдаун, Context',
route: '/directives/dropdown',
},
{
section: `Tools`,
title: `DropdownOpen`,
keywords: `dropdown, hosted, контекст, выпадашка, дропдаун, меню, menu`,
route: `/directives/dropdown-open`,
section: 'Tools',
title: 'DropdownOpen',
keywords: 'dropdown, hosted, контекст, выпадашка, дропдаун, меню, menu',
route: '/directives/dropdown-open',
},
{
section: `Tools`,
title: `DropdownContext`,
keywords: `dropdown, контекст, выпадашка, дропдаун, Context, right-click`,
route: `/directives/dropdown-context`,
section: 'Tools',
title: 'DropdownContext',
keywords: 'dropdown, контекст, выпадашка, дропдаун, Context, right-click',
route: '/directives/dropdown-context',
},
{
section: `Tools`,
title: `DropdownHover`,
keywords: `dropdown, hover, выпадашка, дропдаун`,
route: `/directives/dropdown-hover`,
section: 'Tools',
title: 'DropdownHover',
keywords: 'dropdown, hover, выпадашка, дропдаун',
route: '/directives/dropdown-hover',
},
{
section: `Tools`,
title: `DropdownSelection`,
keywords: `dropdown, контекст, selection, выделение, выпадашка, дропдаун, Context`,
route: `/directives/dropdown-selection`,
section: 'Tools',
title: 'DropdownSelection',
keywords:
'dropdown, контекст, selection, выделение, выпадашка, дропдаун, Context',
route: '/directives/dropdown-selection',
},
],
},
Expand Down Expand Up @@ -1011,10 +1012,10 @@ export const pages: TuiDocPages = [
route: '/experimental/surface',
},
{
section: `Experimental`,
title: `Textfield`,
keywords: `form, input, select, textarea, combobox, ввод, форма, поле`,
route: `/experimental/textfield`,
section: 'Experimental',
title: 'Textfield',
keywords: 'form, input, select, textarea, combobox, ввод, форма, поле',
route: '/experimental/textfield',
},
{
section: 'Experimental',
Expand Down
12 changes: 6 additions & 6 deletions projects/experimental/components/textfield/textfield.options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export interface TuiTextfieldOptions extends TuiAppearanceOptions {
}

export const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {
appearance: `textfield`,
size: `l`,
appearance: 'textfield',
size: 'l',
cleaner: false,
};

Expand All @@ -28,7 +28,7 @@ export function tuiTextfieldOptionsProvider(

@Directive({
standalone: true,
selector: `[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]`,
selector: '[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]',
providers: [
{
provide: TUI_TEXTFIELD_OPTIONS,
Expand All @@ -42,12 +42,12 @@ export class TuiTextfieldOptionsDirective
{
private readonly options = inject(TUI_TEXTFIELD_OPTIONS, {skipSelf: true});

@Input(`tuiTextfieldAppearance`)
@Input('tuiTextfieldAppearance')
appearance = this.options.appearance;

@Input(`tuiTextfieldSize`)
@Input('tuiTextfieldSize')
size = this.options.size;

@Input(`tuiTextfieldCleaner`)
@Input('tuiTextfieldCleaner')
cleaner = this.options.cleaner;
}

0 comments on commit 26eae47

Please sign in to comment.