matcha-components 19.30.0 → 19.33.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.
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatchaCheckboxComponent implements ControlValueAccessor {
5
+ color: string;
6
+ indeterminate: boolean;
7
+ private _labelClicable;
8
+ set labelClicable(value: boolean | string);
9
+ get labelClicable(): boolean;
10
+ private _disabled;
11
+ set disabled(value: boolean | string);
12
+ get disabled(): boolean;
13
+ get checked(): boolean;
14
+ set checked(value: boolean);
15
+ private _checked;
16
+ change: EventEmitter<{
17
+ checked: boolean;
18
+ }>;
19
+ onChange: any;
20
+ onTouched: any;
21
+ writeValue(value: boolean): void;
22
+ registerOnChange(fn: any): void;
23
+ registerOnTouched(fn: any): void;
24
+ setDisabledState(isDisabled: boolean): void;
25
+ onInputChange(event: Event): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCheckboxComponent, "matcha-checkbox", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "labelClicable": { "alias": "labelClicable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
28
+ }
@@ -1,7 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.directive";
2
+ import * as i1 from "./checkbox/checkbox.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../matcha-ripple/ripple.module";
3
5
  export declare class MatchaCheckboxModule {
4
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCheckboxModule, [typeof i1.MatchaCheckboxDirective], never, [typeof i1.MatchaCheckboxDirective]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCheckboxModule, [typeof i1.MatchaCheckboxComponent], [typeof i2.CommonModule, typeof i3.MatchaRippleModule], [typeof i1.MatchaCheckboxComponent]>;
6
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCheckboxModule>;
7
9
  }
@@ -1,45 +1,48 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./matcha-overflow-draggable/matcha-overflow-draggable.component";
3
- import * as i2 from "./matcha-button-group/button-group.module";
4
- import * as i3 from "./matcha-accordion/accordion.module";
5
- import * as i4 from "./matcha-form-field/matcha-form-field.module";
6
- import * as i5 from "./matcha-infinite-scroll/matcha-infinite-scroll.module";
7
- import * as i6 from "./matcha-modal/matcha-modal.module";
8
- import * as i7 from "./matcha-masonry/masonry.module";
9
- import * as i8 from "./matcha-card/card.module";
10
- import * as i9 from "./matcha-title/title.module";
11
- import * as i10 from "./matcha-autocomplete/autocomplete.module";
12
- import * as i11 from "./matcha-badge/badge.module";
13
- import * as i12 from "./matcha-tabs/tabs.module";
14
- import * as i13 from "./matcha-bottom-sheet/bottom-sheet.module";
15
- import * as i14 from "./matcha-button-toggle/button-toggle.module";
16
- import * as i15 from "./matcha-button/button.module";
17
- import * as i16 from "./matcha-checkbox/checkbox.module";
18
- import * as i17 from "./matcha-chips/chips.module";
19
- import * as i18 from "./matcha-datepicker/datepicker.module";
20
- import * as i19 from "./matcha-divider/divider.module";
21
- import * as i20 from "./matcha-elevation/elevation.module";
22
- import * as i21 from "./matcha-expansion/expansion.module";
23
- import * as i22 from "./matcha-forms/forms.module";
24
- import * as i23 from "./matcha-icon/icon.module";
25
- import * as i24 from "./matcha-input/input.module";
26
- import * as i25 from "./matcha-list/list.module";
27
- import * as i26 from "./matcha-menu/menu.module";
28
- import * as i27 from "./matcha-sidenav/sidenav.module";
29
- import * as i28 from "./matcha-paginator/paginator.module";
30
- import * as i29 from "./matcha-progress-bar/progress-bar.module";
31
- import * as i30 from "./matcha-progress-spinner/progress-spinner.module";
32
- import * as i31 from "./matcha-radio-button/radio-button.module";
33
- import * as i32 from "./matcha-select/select.module";
34
- import * as i33 from "./matcha-slide-toggle/slide-toggle.module";
35
- import * as i34 from "./matcha-slider/slider.module";
36
- import * as i35 from "./matcha-snackbar/snack-bar.module";
37
- import * as i36 from "./matcha-sort-header/sort-header.module";
38
- import * as i37 from "./matcha-table/table.module";
39
- import * as i38 from "./matcha-tooltip/tooltip.module";
40
- import * as i39 from "./matcha-tree/tree.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "./matcha-button-group/button-group.module";
6
+ import * as i5 from "./matcha-accordion/accordion.module";
7
+ import * as i6 from "./matcha-form-field/matcha-form-field.module";
8
+ import * as i7 from "./matcha-infinite-scroll/matcha-infinite-scroll.module";
9
+ import * as i8 from "./matcha-modal/matcha-modal.module";
10
+ import * as i9 from "./matcha-masonry/masonry.module";
11
+ import * as i10 from "./matcha-card/card.module";
12
+ import * as i11 from "./matcha-title/title.module";
13
+ import * as i12 from "./matcha-autocomplete/autocomplete.module";
14
+ import * as i13 from "./matcha-badge/badge.module";
15
+ import * as i14 from "./matcha-tabs/tabs.module";
16
+ import * as i15 from "./matcha-bottom-sheet/bottom-sheet.module";
17
+ import * as i16 from "./matcha-button-toggle/button-toggle.module";
18
+ import * as i17 from "./matcha-button/button.module";
19
+ import * as i18 from "./matcha-checkbox/checkbox.module";
20
+ import * as i19 from "./matcha-chips/chips.module";
21
+ import * as i20 from "./matcha-datepicker/datepicker.module";
22
+ import * as i21 from "./matcha-divider/divider.module";
23
+ import * as i22 from "./matcha-elevation/elevation.module";
24
+ import * as i23 from "./matcha-expansion/expansion.module";
25
+ import * as i24 from "./matcha-forms/forms.module";
26
+ import * as i25 from "./matcha-icon/icon.module";
27
+ import * as i26 from "./matcha-input/input.module";
28
+ import * as i27 from "./matcha-list/list.module";
29
+ import * as i28 from "./matcha-menu/menu.module";
30
+ import * as i29 from "./matcha-sidenav/sidenav.module";
31
+ import * as i30 from "./matcha-paginator/paginator.module";
32
+ import * as i31 from "./matcha-progress-bar/progress-bar.module";
33
+ import * as i32 from "./matcha-progress-spinner/progress-spinner.module";
34
+ import * as i33 from "./matcha-radio-button/radio-button.module";
35
+ import * as i34 from "./matcha-select/select.module";
36
+ import * as i35 from "./matcha-slide-toggle/slide-toggle.module";
37
+ import * as i36 from "./matcha-slider/slider.module";
38
+ import * as i37 from "./matcha-snackbar/snack-bar.module";
39
+ import * as i38 from "./matcha-sort-header/sort-header.module";
40
+ import * as i39 from "./matcha-table/table.module";
41
+ import * as i40 from "./matcha-tooltip/tooltip.module";
42
+ import * as i41 from "./matcha-tree/tree.module";
43
+ import * as i42 from "./matcha-ripple/ripple.module";
41
44
  export declare class MatchaComponentsModule {
42
45
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof i1.MatchaOverflowDraggableComponent], [typeof i2.MatchaButtonGroupModule, typeof i3.MatchaAccordionModule, typeof i4.MatchaFormFieldModule, typeof i5.MatchaInfiniteScrollModule, typeof i6.MatchaModalModule, typeof i7.MatchaMasonryModule, typeof i8.MatchaCardModule, typeof i9.MatchaTitleModule, typeof i10.MatchaAutocompleteModule, typeof i11.MatchaBadgeModule, typeof i12.MatchaTabsModule, typeof i13.MatchaBottomSheetModule, typeof i14.MatchaButtonToggleModule, typeof i15.MatchaButtonModule, typeof i16.MatchaCheckboxModule, typeof i17.MatchaChipsModule, typeof i18.MatchaDatepickerModule, typeof i19.MatchaDividerModule, typeof i20.MatchaElevationModule, typeof i21.MatchaExpansionModule, typeof i22.MatchaFormsModule, typeof i23.MatchaIconModule, typeof i24.MatchaInputModule, typeof i25.MatchaListModule, typeof i26.MatchaMenuModule, typeof i27.MatchaSidenavModule, typeof i28.MatchaPaginatorModule, typeof i29.MatchaProgressBarModule, typeof i30.MatchaProgressSpinnerModule, typeof i31.MatchaRadioButtonModule, typeof i32.MatchaSelectModule, typeof i33.MatchaSlideToggleModule, typeof i34.MatchaSliderModule, typeof i35.MatchaSnackBarModule, typeof i36.MatchaSortHeaderModule, typeof i37.MatchaTableModule, typeof i12.MatchaTabsModule, typeof i38.MatchaTooltipModule, typeof i39.MatchaTreeModule], [typeof i2.MatchaButtonGroupModule, typeof i3.MatchaAccordionModule, typeof i4.MatchaFormFieldModule, typeof i5.MatchaInfiniteScrollModule, typeof i6.MatchaModalModule, typeof i7.MatchaMasonryModule, typeof i8.MatchaCardModule, typeof i9.MatchaTitleModule, typeof i10.MatchaAutocompleteModule, typeof i11.MatchaBadgeModule, typeof i12.MatchaTabsModule, typeof i13.MatchaBottomSheetModule, typeof i14.MatchaButtonToggleModule, typeof i15.MatchaButtonModule, typeof i16.MatchaCheckboxModule, typeof i17.MatchaChipsModule, typeof i18.MatchaDatepickerModule, typeof i19.MatchaDividerModule, typeof i20.MatchaElevationModule, typeof i21.MatchaExpansionModule, typeof i22.MatchaFormsModule, typeof i23.MatchaIconModule, typeof i24.MatchaInputModule, typeof i25.MatchaListModule, typeof i26.MatchaMenuModule, typeof i27.MatchaSidenavModule, typeof i28.MatchaPaginatorModule, typeof i29.MatchaProgressBarModule, typeof i30.MatchaProgressSpinnerModule, typeof i31.MatchaRadioButtonModule, typeof i32.MatchaSelectModule, typeof i33.MatchaSlideToggleModule, typeof i34.MatchaSliderModule, typeof i35.MatchaSnackBarModule, typeof i36.MatchaSortHeaderModule, typeof i37.MatchaTableModule, typeof i12.MatchaTabsModule, typeof i38.MatchaTooltipModule, typeof i39.MatchaTreeModule]>;
46
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof i1.MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatchaButtonGroupModule, typeof i5.MatchaAccordionModule, typeof i6.MatchaFormFieldModule, typeof i7.MatchaInfiniteScrollModule, typeof i8.MatchaModalModule, typeof i9.MatchaMasonryModule, typeof i10.MatchaCardModule, typeof i11.MatchaTitleModule, typeof i12.MatchaAutocompleteModule, typeof i13.MatchaBadgeModule, typeof i14.MatchaTabsModule, typeof i15.MatchaBottomSheetModule, typeof i16.MatchaButtonToggleModule, typeof i17.MatchaButtonModule, typeof i18.MatchaCheckboxModule, typeof i19.MatchaChipsModule, typeof i20.MatchaDatepickerModule, typeof i21.MatchaDividerModule, typeof i22.MatchaElevationModule, typeof i23.MatchaExpansionModule, typeof i24.MatchaFormsModule, typeof i25.MatchaIconModule, typeof i26.MatchaInputModule, typeof i27.MatchaListModule, typeof i28.MatchaMenuModule, typeof i29.MatchaSidenavModule, typeof i30.MatchaPaginatorModule, typeof i31.MatchaProgressBarModule, typeof i32.MatchaProgressSpinnerModule, typeof i33.MatchaRadioButtonModule, typeof i34.MatchaSelectModule, typeof i35.MatchaSlideToggleModule, typeof i36.MatchaSliderModule, typeof i37.MatchaSnackBarModule, typeof i38.MatchaSortHeaderModule, typeof i39.MatchaTableModule, typeof i40.MatchaTooltipModule, typeof i41.MatchaTreeModule, typeof i42.MatchaRippleModule], [typeof i4.MatchaButtonGroupModule, typeof i5.MatchaAccordionModule, typeof i6.MatchaFormFieldModule, typeof i7.MatchaInfiniteScrollModule, typeof i8.MatchaModalModule, typeof i9.MatchaMasonryModule, typeof i10.MatchaCardModule, typeof i11.MatchaTitleModule, typeof i12.MatchaAutocompleteModule, typeof i13.MatchaBadgeModule, typeof i14.MatchaTabsModule, typeof i15.MatchaBottomSheetModule, typeof i16.MatchaButtonToggleModule, typeof i17.MatchaButtonModule, typeof i18.MatchaCheckboxModule, typeof i19.MatchaChipsModule, typeof i20.MatchaDatepickerModule, typeof i21.MatchaDividerModule, typeof i22.MatchaElevationModule, typeof i23.MatchaExpansionModule, typeof i24.MatchaFormsModule, typeof i25.MatchaIconModule, typeof i26.MatchaInputModule, typeof i27.MatchaListModule, typeof i28.MatchaMenuModule, typeof i29.MatchaSidenavModule, typeof i30.MatchaPaginatorModule, typeof i31.MatchaProgressBarModule, typeof i32.MatchaProgressSpinnerModule, typeof i33.MatchaRadioButtonModule, typeof i34.MatchaSelectModule, typeof i35.MatchaSlideToggleModule, typeof i36.MatchaSliderModule, typeof i37.MatchaSnackBarModule, typeof i38.MatchaSortHeaderModule, typeof i39.MatchaTableModule, typeof i40.MatchaTooltipModule, typeof i41.MatchaTreeModule, typeof i42.MatchaRippleModule]>;
44
47
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
45
48
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MatchaRippleDirective implements OnDestroy {
4
+ private el;
5
+ rippleColor: string;
6
+ private ripples;
7
+ constructor(el: ElementRef);
8
+ onMouseDown(event: MouseEvent): void;
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaRippleDirective, "[matchaRipple]", never, { "rippleColor": { "alias": "rippleColor"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ripple.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class MatchaRippleModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRippleModule, [typeof i1.MatchaRippleDirective], [typeof i2.CommonModule], [typeof i1.MatchaRippleDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRippleModule>;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "19.30.0",
3
+ "version": "19.33.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -26,6 +26,7 @@ export * from './lib/matcha-toolbar/toolbar-main-button/toolbar-main-button.comp
26
26
  export * from './lib/matcha-form-field/matcha-form-field/matcha-form-field.component';
27
27
  export * from './lib/matcha-form-field/matcha-label/matcha-label.component';
28
28
  export * from './lib/matcha-form-field/matcha-error/matcha-error.component';
29
+ export * from './lib/matcha-checkbox/checkbox/checkbox.component';
29
30
  export * from './lib/matcha-button-group/button-group.module';
30
31
  export * from './lib/matcha-accordion/accordion.module';
31
32
  export * from './lib/matcha-infinite-scroll/matcha-infinite-scroll.module';
@@ -67,6 +68,7 @@ export * from './lib/matcha-snackbar/snack-bar.module';
67
68
  export * from './lib/matcha-sort-header/sort-header.module';
68
69
  export * from './lib/matcha-table/table.module';
69
70
  export * from './lib/matcha-tree/tree.module';
71
+ export * from './lib/matcha-ripple/ripple.module';
70
72
  export * from './lib/matcha-tooltip/tooltip.directive';
71
73
  export * from './lib/matcha-input/input.directive';
72
74
  export * from './lib/matcha-tree/tree.directive';
@@ -88,10 +90,10 @@ export * from './lib/matcha-expansion/expansion.directive';
88
90
  export * from './lib/matcha-elevation/elevation.directive';
89
91
  export * from './lib/matcha-datepicker/datepicker.directive';
90
92
  export * from './lib/matcha-chips/matcha-chips.directive';
91
- export * from './lib/matcha-checkbox/checkbox.directive';
92
93
  export * from './lib/matcha-button-toggle/matcha-button-toggle.directive';
93
94
  export * from './lib/matcha-bottom-sheet/bottom-sheet.directive';
94
95
  export * from './lib/matcha-tabs/tabs.directive';
95
96
  export * from './lib/matcha-badge/badge.directive';
96
97
  export * from './lib/matcha-autocomplete/autocomplete-overview.directive';
97
98
  export * from './lib/matcha-autocomplete/autocomplete.directive';
99
+ export * from './lib/matcha-ripple/ripple.directive';
@@ -1,9 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MatchaCheckboxDirective {
4
- private _elementRef;
5
- private _renderer;
6
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaCheckboxDirective, "[matcha-checkbox]", never, {}, {}, never, never, false, never>;
9
- }