1.5.8 • Published 11 months ago

@dgtal-ui/angular v1.5.8

Weekly downloads
-
License
-
Repository
-
Last release
11 months 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

11 months ago

1.5.7

12 months ago

1.5.6

12 months ago

1.5.5

12 months ago

1.5.4

12 months ago

1.5.3

12 months ago

1.5.2

12 months ago

1.5.1

12 months ago

1.5.0

12 months ago

1.4.0

12 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.0

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

2.0.0

12 months ago

1.0.0

12 months ago