@ardium-ui/ui 5.0.0-alpha.40 → 5.0.0-alpha.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,14 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
2
  import { NumberLike } from '@ardium-ui/devkit';
3
- import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
3
+ import { _FormFieldComponentBase } from '../../_internal/form-field-component';
4
+ import { ArdFormFieldControl } from '../../form-field';
4
5
  import { ArdiumStarButtonComponent } from '../star-button/star-button.component';
5
6
  import { StarColor } from '../star.types';
6
7
  import { ArdRatingInputDefaults } from './rating-input.defaults';
7
8
  import { ArdRatingInputStarButtonTemplateDirective } from './rating-input.directives';
8
9
  import { ArdRatingInputStarButtonTemplateContext } from './rating-input.types';
9
10
  import * as i0 from "@angular/core";
10
- export declare class ArdiumRatingInputComponent extends _NgModelComponentBase implements ControlValueAccessor {
11
+ export declare class ArdiumRatingInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, ArdFormFieldControl {
11
12
  readonly wrapperClasses: import("@angular/core").InputSignal<string>;
12
13
  protected readonly _DEFAULTS: ArdRatingInputDefaults;
13
14
  readonly color: import("@angular/core").InputSignal<StarColor>;
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken, Provider } from '@angular/core';
2
- import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
2
+ import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
3
3
  import { StarColor } from '../star.types';
4
- export interface ArdRatingInputDefaults extends _NgModelComponentDefaults {
4
+ export interface ArdRatingInputDefaults extends _FormFieldComponentDefaults {
5
5
  color: StarColor;
6
6
  max: number;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardium-ui/ui",
3
- "version": "5.0.0-alpha.40",
3
+ "version": "5.0.0-alpha.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",