@ascentgl/ads-ui 21.83.0 → 21.85.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "21.83.0",
3
+ "version": "21.85.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=21.0.0",
6
6
  "date-fns": ">=4.1.0",
@@ -137,7 +137,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
137
137
  /** provide icon name. NOTE: the icon must be registered in icon registry **/
138
138
  name: i0.InputSignal<adsIcon>;
139
139
  /** choose ads icon theme **/
140
- theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
140
+ theme: i0.InputSignal<"iconPrimary" | "primary" | "success" | "warn" | "white">;
141
141
  /** set badge value as number **/
142
142
  value: i0.InputSignal<number>;
143
143
  /** @ignore **/
@@ -213,7 +213,7 @@ declare class AdsButtonComponent {
213
213
  /** Whether the button is a smaller version */
214
214
  size: i0.InputSignal<Size>;
215
215
  /** Sets the "type" attribute on the button */
216
- type: i0.InputSignal<"button" | "submit" | "reset">;
216
+ type: i0.InputSignal<"submit" | "button" | "reset">;
217
217
  /** Makes the button take 100% width of its container */
218
218
  fullWidth: i0.InputSignal<boolean>;
219
219
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
@@ -228,7 +228,7 @@ declare class AdsButtonModule {
228
228
 
229
229
  declare class AdsButtonContainerComponent {
230
230
  /** How buttons in the container should be placed */
231
- justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
231
+ justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
232
232
  /** The gap between elements */
233
233
  gap: i0.InputSignal<number>;
234
234
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
@@ -1109,6 +1109,9 @@ declare abstract class AbstractBaseComponent implements OnChanges, AfterViewInit
1109
1109
  * Useful for cases where validation should only run once the user provides a value.
1110
1110
  */
1111
1111
  skipValidationWhenEmpty: boolean;
1112
+ /** When false, suppresses all visual error indication (error outline, error messages, error icons)
1113
+ * on the field until set to true. The underlying form control validity is not affected. */
1114
+ showValidationError: boolean;
1112
1115
  /** Form control, associated with input field */
1113
1116
  set control(control: AbstractControl | null);
1114
1117
  /** @ignore */
@@ -1177,7 +1180,7 @@ declare abstract class AbstractBaseComponent implements OnChanges, AfterViewInit
1177
1180
  */
1178
1181
  private hasRequiredValidatorCheck;
1179
1182
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractBaseComponent, never>;
1180
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractBaseComponent, never, never, { "skipValidationWhenEmpty": { "alias": "skipValidationWhenEmpty"; "required": false; }; "control": { "alias": "control"; "required": false; }; "immediateValidation": { "alias": "immediateValidation"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
1183
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractBaseComponent, never, never, { "skipValidationWhenEmpty": { "alias": "skipValidationWhenEmpty"; "required": false; }; "showValidationError": { "alias": "showValidationError"; "required": false; }; "control": { "alias": "control"; "required": false; }; "immediateValidation": { "alias": "immediateValidation"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
1181
1184
  }
1182
1185
 
1183
1186
  type FieldSize = 'base' | 'xs';
@@ -2112,6 +2115,8 @@ declare class AdsDatepickerComponent extends AdsDatetimepickerComponent implemen
2112
2115
  protected readonly defaultErrorMessages: GENERIC_COLLECTION<string>;
2113
2116
  /** @ignore - Previous raw input value for tracking changes */
2114
2117
  private previousRawValue;
2118
+ /** @ignore - Tracks whether the input was modified by the custom keydown handler */
2119
+ private inputModifiedByKeyHandler;
2115
2120
  /** @ignore */
2116
2121
  private elementRef;
2117
2122
  /** @ignore */
@@ -2122,6 +2127,8 @@ declare class AdsDatepickerComponent extends AdsDatetimepickerComponent implemen
2122
2127
  ngOnDestroy(): void;
2123
2128
  /** @ignore */
2124
2129
  private setupIntersectionObserver;
2130
+ /** @ignore - Override to dispatch change event on blur when input was modified programmatically */
2131
+ touchControls(): void;
2125
2132
  /** @ignore */
2126
2133
  protected applyCustomFormat(): void;
2127
2134
  /** @ignore */
@@ -2827,7 +2834,7 @@ declare class AdsTableComponent implements AfterViewInit, OnChanges, OnDestroy {
2827
2834
  /** @ignore */
2828
2835
  activeColumnMenu: i0.WritableSignal<string | null>;
2829
2836
  /** @ignore */
2830
- columnSortStates: i0.WritableSignal<Map<string, "desc" | "asc" | null>>;
2837
+ columnSortStates: i0.WritableSignal<Map<string, "asc" | "desc" | null>>;
2831
2838
  /** @ignore */
2832
2839
  columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
2833
2840
  /** @ignore */