matcha-components 19.50.0 → 19.52.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/fesm2022/matcha-components.mjs +60 -26
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/lib/matcha-button-group/button-group/button-group.component.d.ts +1 -3
- package/lib/matcha-button-group/button-item/button-item.component.d.ts +1 -1
- package/lib/matcha-form-field/matcha-form-field/matcha-form-field.component.d.ts +11 -1
- package/package.json +1 -1
|
@@ -9,9 +9,7 @@ export declare class MatchaButtonGroupComponent implements AfterContentInit {
|
|
|
9
9
|
get disabled(): boolean;
|
|
10
10
|
set disabled(value: boolean | string);
|
|
11
11
|
get isDisabled(): true | null;
|
|
12
|
-
activeColor: string;
|
|
13
12
|
inactiveColor: string;
|
|
14
|
-
activeType: '' | 'basic' | 'outline' | 'alpha' | 'pill';
|
|
15
13
|
inactiveType: '' | 'basic' | 'outline' | 'alpha' | 'pill';
|
|
16
14
|
private _gap;
|
|
17
15
|
set gap(value: string);
|
|
@@ -20,5 +18,5 @@ export declare class MatchaButtonGroupComponent implements AfterContentInit {
|
|
|
20
18
|
ngAfterContentInit(): void;
|
|
21
19
|
onItemSelected(selectedItem: MatchaButtonItemComponent): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonGroupComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaButtonGroupComponent, "matcha-button-group", never, { "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaButtonGroupComponent, "matcha-button-group", never, { "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inactiveColor": { "alias": "inactiveColor"; "required": false; }; "inactiveType": { "alias": "inactiveType"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, ["buttonItems"], ["*"], false, never>;
|
|
24
22
|
}
|
|
@@ -8,7 +8,7 @@ export declare class MatchaButtonItemComponent implements AfterContentInit {
|
|
|
8
8
|
constructor(renderer: Renderer2);
|
|
9
9
|
ngAfterContentInit(): void;
|
|
10
10
|
onClick(): void;
|
|
11
|
-
setActiveState(isActive: boolean,
|
|
11
|
+
setActiveState(isActive: boolean, inactiveColor: string, inactiveType: string): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonItemComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaButtonItemComponent, "matcha-button-item", never, { "active": { "alias": "active"; "required": false; }; }, { "selected": "selected"; }, ["innerButton"], ["*"], false, never>;
|
|
14
14
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
import { FormControlName } from '@angular/forms';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MatchaFormFieldComponent {
|
|
3
4
|
color: 'red' | 'pink' | 'purple' | 'deep-purple' | 'indigo' | 'blue' | 'light-blue' | 'cyan' | 'teal' | 'green' | 'light-green' | 'lime' | 'yellow' | 'amber' | 'orange' | 'deep-orange' | 'primary' | 'accent' | 'warn' | 'brown' | 'grey' | 'blue-grey' | 'primary' | 'accent' | 'warn';
|
|
5
|
+
size: string | null;
|
|
6
|
+
sizeXs: string | null;
|
|
7
|
+
sizeSm: string | null;
|
|
8
|
+
sizeMd: string | null;
|
|
9
|
+
sizeLg: string | null;
|
|
10
|
+
sizeXl: string | null;
|
|
11
|
+
controlDir?: FormControlName;
|
|
12
|
+
get control(): import("@angular/forms").FormControl<any> | undefined;
|
|
13
|
+
get showError(): boolean;
|
|
4
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaFormFieldComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaFormFieldComponent, "matcha-form-field", never, { "color": { "alias": "color"; "required": false; }; }, {},
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaFormFieldComponent, "matcha-form-field", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeXs": { "alias": "size-xs"; "required": false; }; "sizeSm": { "alias": "size-sm"; "required": false; }; "sizeMd": { "alias": "size-md"; "required": false; }; "sizeLg": { "alias": "size-lg"; "required": false; }; "sizeXl": { "alias": "size-xl"; "required": false; }; }, {}, ["controlDir"], ["matcha-label", "*", "matcha-error"], false, never>;
|
|
6
16
|
}
|