valtech-components 2.0.115 → 2.0.116

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,6 +1,6 @@
1
1
  import { FormControl, ValidatorFn } from '@angular/forms';
2
- import { ImageMetadata } from './atoms/image/types';
3
2
  import { Color } from '@ionic/core';
3
+ import { ImageMetadata } from './atoms/image/types';
4
4
  export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING' | 'ERROR';
5
5
  export declare const ComponentStates: {
6
6
  ENABLED: "ENABLED";
@@ -111,4 +111,6 @@ export interface ButtonMetadata {
111
111
  fill?: 'clear' | 'outline' | 'solid' | 'default';
112
112
  type: 'button' | 'submit' | 'reset';
113
113
  token?: string;
114
+ ref?: any;
115
+ handler?: (value: any) => any | Promise<any>;
114
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.115",
3
+ "version": "2.0.116",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",