@cauca-911/material 18.0.1-beta3 → 18.0.1-beta4
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/esm2022/lib/buttons/base-button.mjs +17 -9
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/cauca-911-material.mjs +18 -10
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/lib/buttons/base-button.d.ts +14 -5
- package/lib/buttons/icon-button/icon-button.component.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputSignal, OutputEmitterRef } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class
|
|
3
|
+
export declare abstract class BaseButtonWithoutLabel {
|
|
4
4
|
color: InputSignal<string>;
|
|
5
5
|
icon: InputSignal<string>;
|
|
6
6
|
iconAlignment: InputSignal<'left' | 'right'>;
|
|
@@ -10,12 +10,21 @@ export declare abstract class BaseButton {
|
|
|
10
10
|
iconToShow: import("@angular/core").Signal<string>;
|
|
11
11
|
buttonDisabled: import("@angular/core").Signal<boolean>;
|
|
12
12
|
buttonClick: OutputEmitterRef<void>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseButtonWithoutLabel, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseButtonWithoutLabel, never, never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isInProgress": { "alias": "isInProgress"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
|
|
15
15
|
}
|
|
16
|
-
export declare abstract class BaseButtonWithLabel
|
|
16
|
+
export declare abstract class BaseButtonWithLabel {
|
|
17
17
|
translateLabel: InputSignal<boolean>;
|
|
18
18
|
label: InputSignal<string>;
|
|
19
|
+
color: InputSignal<string>;
|
|
20
|
+
icon: InputSignal<string>;
|
|
21
|
+
iconAlignment: InputSignal<'left' | 'right'>;
|
|
22
|
+
isDisabled: InputSignal<boolean>;
|
|
23
|
+
isInProgress: InputSignal<boolean>;
|
|
24
|
+
showIcon: import("@angular/core").Signal<boolean>;
|
|
25
|
+
iconToShow: import("@angular/core").Signal<string>;
|
|
26
|
+
buttonDisabled: import("@angular/core").Signal<boolean>;
|
|
27
|
+
buttonClick: OutputEmitterRef<void>;
|
|
19
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseButtonWithLabel, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseButtonWithLabel, never, never, { "translateLabel": { "alias": "translateLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseButtonWithLabel, never, never, { "translateLabel": { "alias": "translateLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isInProgress": { "alias": "isInProgress"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
|
|
21
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseButtonWithoutLabel } from '../base-button';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IconButtonComponent extends
|
|
3
|
+
export declare class IconButtonComponent extends BaseButtonWithoutLabel {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "app-icon-button", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './lib/cauca-menu-sidebar/cauca-menu-sidebar.component';
|
|
|
5
5
|
export * from './lib/cauca-menu-vertical/cauca-menu-vertical.component';
|
|
6
6
|
export * from './lib/cauca-simple-dialog/cauca-simple-dialog.component';
|
|
7
7
|
export * from './lib/cauca-slideshow/cauca-slideshow.component';
|
|
8
|
-
export { BaseButton, BaseButtonWithLabel } from './lib/buttons/base-button';
|
|
9
8
|
export * from './lib/buttons/basic-button/basic-button.component';
|
|
10
9
|
export * from './lib/buttons/flat-button/flat-button.component';
|
|
11
10
|
export * from './lib/buttons/stroked-button/stroked-button.component';
|