1.5.8 • Published 1 year ago

@dgtal-ui/angular v1.5.8

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

@dgtal-ui/angular

Angular UI component library for the Dgtal UI design system.

Installation

npm install @dgtal-ui/angular

Usage

  1. Import the standalone components directly in your component:
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ButtonComponent, InputTextComponent } from '@dgtal-ui/angular';

@Component({
  selector: 'app-example',
  standalone: true,
  imports: [
    FormsModule,
    ButtonComponent,
    InputTextComponent,
  ],
  template: `
    <dgtal-input-text 
      [(ngModel)]="value"
      placeholder="Enter text..."
    >
    </dgtal-input-text>
    
    <dg-button
      label="Submit"
      (buttonClick)="onSubmit()"
    >
    </dg-button>
  `
})
export class ExampleComponent {
  value = '';
  
  onSubmit() {
    console.log('Form submitted with value:', this.value);
  }
}

## Components

- InputText: Text input component with customizable styles
- More components coming soon...

## Development

For development instructions and contribution guidelines, please refer to our [CONTRIBUTING.md](../../CONTRIBUTING.md) file.

## License

MIT © Dgtal Lab
1.5.8

1 year ago

1.5.7

1 year ago

1.5.6

1 year ago

1.5.5

1 year ago

1.5.4

1 year ago

1.5.3

1 year ago

1.5.2

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago