0.8.3 • Published 12 months ago

@tim-mhn/ng-forms v0.8.3

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

TimForms

Angular UI library for forms components built with Material CDK, Tailwindcss and Reactive Forms

only works with Angular Reactive Forms

Get started

Download the package from NPM

npm install @tim-mhn/ng-forms

Import the stylesheet

In your global .scss or .css file, add @import "@tim-mhn/ng-forms/styles.css"

Import the modules you want to use

Example with TimInputModule

// example.module.ts
import { TimInputModule } from '@tim-mhn/ng-forms/input';

@NgModule({
  imports: [TimInputModule],
  declarations: [ExampleComponent]
})
export class ExampleModule {}

// example.component.html
<tim-input [formControl]="fc"></tim-input>

// example.component.ts
@Component({})
export class ExampleComponent {

  constructor(private fb: FormBuilder) {}

  fc = this.fb.control('')
}

List of modules

  • TimUIButtonToggleModule
  • TimCheckboxModule
  • TimDateRangePickerModule
  • TimDaysPickerModule
  • TimEditableHeaderInputModule
  • TimEmailListInputModule
  • TimImageUploadModule
  • TimInputModule
  • TimInputFieldModule
  • TimPasswordInputModule
  • TimRadioModule
  • TimSelectModule
  • TimSliderModule
  • TimTextEditorModule
  • TimTimeInputModule
  • TimToggleModule

Build

Run npm run build:forms to build the project.

Build & Publish

  • Bump the version: npm version major|minor|patch
  • Build the library: npm run build:forms The build artifacts will be stored in the dist/ directory. This will also run the tailwind command to generate the .css file reusing the iqair-tailwind config.

  • Publish to NPM: go to the dist folder cd dist/forms run npm publish

Running unit tests

Run ng test forms to execute the unit tests via Karma.

0.8.3

12 months ago

0.8.1

1 year ago

0.8.0

1 year ago

0.8.2

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.5.10

1 year ago

0.5.11

1 year ago

0.5.14

1 year ago

0.5.15

1 year ago

0.5.12

1 year ago

0.5.13

1 year ago

0.6.0

1 year ago

0.5.8

1 year ago

0.5.7

1 year ago

0.5.9

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.3.5

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.5.2

1 year ago

0.3.4

1 year ago

0.5.1

1 year ago

0.4.2

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago