Skip to content

Commit

Permalink
feat(experimental): Textfield add new component
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Dec 21, 2023
1 parent 421c167 commit ade706b
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"retrowave",
"replicants",
"tuiiconbutton",
"hitbox"
"hitbox",
"texfieldd"
],
"ignoreRegExpList": ["\\(https?://.*?\\)", "\\/{1}.+\\/{1}", "\\%2F.+", "\\%2C.+", "\\ɵ.+", "\\ыва.+"],
"overrides": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from '@taiga-ui/core';
import {
TuiIconModule,
TuiLabelDirective,
TuiTextfieldModule,
TuiTooltipModule,
} from '@taiga-ui/experimental';
Expand All @@ -23,7 +22,6 @@ import {ExampleTuiTextfieldComponent} from './textfield.component';
CommonModule,
FormsModule,
TuiTextfieldModule,
TuiLabelDirective,
TuiTooltipModule,
TuiNotificationModule,
TuiPrimitiveTextfieldModule,
Expand Down
1 change: 0 additions & 1 deletion projects/experimental/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export * from '@taiga-ui/experimental/components/checkbox';
export * from '@taiga-ui/experimental/components/chip';
export * from '@taiga-ui/experimental/components/compass';
export * from '@taiga-ui/experimental/components/icon';
export * from '@taiga-ui/experimental/components/label';
export * from '@taiga-ui/experimental/components/pin';
export * from '@taiga-ui/experimental/components/radio';
export * from '@taiga-ui/experimental/components/rating';
Expand Down
2 changes: 0 additions & 2 deletions projects/experimental/components/label/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions projects/experimental/components/label/ng-package.json

This file was deleted.

2 changes: 2 additions & 0 deletions projects/experimental/components/textfield/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export * from './label.component';
export * from './label.directive';
export * from './textfield.component';
export * from './textfield.directive';
export * from './textfield.module';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {Directive, ElementRef, HostBinding, inject} from '@angular/core';
import {tuiWithStyles} from '@taiga-ui/cdk';
import {TuiTextfieldComponent} from '@taiga-ui/experimental/components/textfield';

import {TuiLabelComponent} from './label.component';
import {TuiTextfieldComponent} from './textfield.component';

@Directive({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import {
} from '@taiga-ui/cdk';
import {TuiDropdownDirective, tuiDropdownOptionsProvider} from '@taiga-ui/core';
import {TuiButtonModule} from '@taiga-ui/experimental/components/button';
import {TuiLabelDirective} from '@taiga-ui/experimental/components/label';
import {tuiAppearanceOptionsProvider} from '@taiga-ui/experimental/directives/appearance';
import {TuiIconsDirective} from '@taiga-ui/experimental/directives/icons';
import {PolymorpheusContent, PolymorpheusModule} from '@tinkoff/ng-polymorpheus';

import {TuiLabelDirective} from './label.directive';
import {TuiTextfieldDirective} from './textfield.directive';
import {TUI_TEXTFIELD_OPTIONS, TuiTextfieldOptionsDirective} from './textfield.options';

Expand Down
15 changes: 13 additions & 2 deletions projects/experimental/components/textfield/textfield.module.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
import {NgModule} from '@angular/core';

import {TuiLabelDirective} from './label.directive';
import {TuiTextfieldComponent} from './textfield.component';
import {TuiTextfieldDirective} from './textfield.directive';
import {TuiTextfieldOptionsDirective} from './textfield.options';

@NgModule({
imports: [TuiTextfieldComponent, TuiTextfieldDirective, TuiTextfieldOptionsDirective],
exports: [TuiTextfieldComponent, TuiTextfieldDirective, TuiTextfieldOptionsDirective],
imports: [
TuiLabelDirective,
TuiTextfieldComponent,
TuiTextfieldDirective,
TuiTextfieldOptionsDirective,
],
exports: [
TuiLabelDirective,
TuiTextfieldComponent,
TuiTextfieldDirective,
TuiTextfieldOptionsDirective,
],
})
export class TuiTextfieldModule {}

0 comments on commit ade706b

Please sign in to comment.