@kms-ngx-ui/presentational 18.3.0 → 18.3.1

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,4 +1,4 @@
1
- export declare enum ButtonType {
1
+ export declare enum ButtonAppearance {
2
2
  BASIC = "mat-button",
3
3
  FLAT = "mat-flat-button",
4
4
  RAISED = "mat-raised-button"
@@ -2,13 +2,14 @@
2
2
  * @copyright KMS GmbH
3
3
  */
4
4
  import { Signal } from '@angular/core';
5
- import { ButtonType } from '../../enums/buttonType.enum';
5
+ import { ButtonAppearance } from '../../enums/buttonAppearance.enum';
6
6
  import { Color, StylingTheme } from '../../enums/colors.enum';
7
7
  import { IconSizePx } from '../../enums/iconSize.enum';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class ButtonComponent {
10
10
  color: import("@angular/core").InputSignal<StylingTheme>;
11
- type: import("@angular/core").InputSignal<ButtonType>;
11
+ type: import("@angular/core").InputSignal<"button" | "reset" | "submit">;
12
+ appearance: import("@angular/core").InputSignal<ButtonAppearance>;
12
13
  loading: import("@angular/core").InputSignal<boolean>;
13
14
  label: import("@angular/core").InputSignal<string>;
14
15
  icon: import("@angular/core").InputSignal<string>;
@@ -16,9 +17,8 @@ export declare class ButtonComponent {
16
17
  click: import("@angular/core").OutputEmitterRef<void>;
17
18
  readonly StylingTheme: typeof StylingTheme;
18
19
  readonly IconSize: typeof IconSizePx;
19
- readonly ButtonType: typeof ButtonType;
20
+ readonly ButtonAppearance: typeof ButtonAppearance;
20
21
  iconColor: Signal<Color>;
21
- constructor();
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "kms-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "kms-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, false, never>;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kms-ngx-ui/presentational",
3
- "version": "18.3.0",
3
+ "version": "18.3.1",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "18.0.0",
6
6
  "@angular/cdk": "~18.2.14",
package/public-api.d.ts CHANGED
@@ -48,7 +48,7 @@ export * from './lib/pipes/safe-url.pipe';
48
48
  export * from './lib/pipes/trim.pipe';
49
49
  export * from './lib/pipes/typeof.pipe';
50
50
  export * from './lib/parent-components/form.component';
51
- export * from './lib/enums/buttonType.enum';
51
+ export * from './lib/enums/buttonAppearance.enum';
52
52
  export * from './lib/enums/colors.enum';
53
53
  export * from './lib/enums/iconSize.enum';
54
54
  export * from './lib/enums/radioButtonSize.enum';
@@ -1,7 +0,0 @@
1
- export var ButtonType;
2
- (function (ButtonType) {
3
- ButtonType["BASIC"] = "mat-button";
4
- ButtonType["FLAT"] = "mat-flat-button";
5
- ButtonType["RAISED"] = "mat-raised-button";
6
- })(ButtonType || (ButtonType = {}));
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uVHlwZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva21zLW5neC11aS1wcmVzZW50YXRpb25hbC9zcmMvbGliL2VudW1zL2J1dHRvblR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxVQUlYO0FBSkQsV0FBWSxVQUFVO0lBQ3BCLGtDQUFvQixDQUFBO0lBQ3BCLHNDQUF3QixDQUFBO0lBQ3hCLDBDQUE0QixDQUFBO0FBQzlCLENBQUMsRUFKVyxVQUFVLEtBQVYsVUFBVSxRQUlyQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEJ1dHRvblR5cGUge1xuICBCQVNJQyA9ICdtYXQtYnV0dG9uJyxcbiAgRkxBVCA9ICdtYXQtZmxhdC1idXR0b24nLFxuICBSQUlTRUQgPSAnbWF0LXJhaXNlZC1idXR0b24nLFxufVxuIl19