matcha-components 20.1.0 → 20.3.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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter, AfterContentInit, QueryList, OnDestroy, ElementRef, OnChanges, SimpleChanges, Renderer2, ChangeDetectorRef, AfterViewInit, TemplateRef, NgZone, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
- import { Observable, BehaviorSubject } from 'rxjs';
4
+ import { Observable } from 'rxjs';
5
5
  import * as i3 from '@angular/forms';
6
6
  import { FormControlName, ControlValueAccessor, NgControl } from '@angular/forms';
7
7
  import * as i2 from '@angular/common';
@@ -496,6 +496,32 @@ declare class MatchaCheckboxComponent implements ControlValueAccessor {
496
496
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCheckboxComponent, "matcha-checkbox", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
497
497
  }
498
498
 
499
+ declare class MatchaRadioComponent implements ControlValueAccessor {
500
+ color: string;
501
+ value: any;
502
+ name: string;
503
+ private _disabled;
504
+ set disabled(value: boolean | string);
505
+ get disabled(): boolean;
506
+ get checked(): boolean;
507
+ set checked(value: boolean);
508
+ private _checked;
509
+ private _modelValue;
510
+ checkedChange: EventEmitter<{
511
+ checked: boolean;
512
+ }>;
513
+ change: EventEmitter<Event>;
514
+ onChange: any;
515
+ onTouched: any;
516
+ writeValue(value: any): void;
517
+ registerOnChange(fn: any): void;
518
+ registerOnTouched(fn: any): void;
519
+ setDisabledState(isDisabled: boolean): void;
520
+ onInputChange(event: Event): void;
521
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioComponent, never>;
522
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaRadioComponent, "matcha-radio", never, { "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
523
+ }
524
+
499
525
  declare class MatchaSpinComponent {
500
526
  private _elementRef;
501
527
  private _renderer;
@@ -749,15 +775,14 @@ declare class StepComponent {
749
775
  static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "matcha-step", never, { "step": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
750
776
  }
751
777
 
752
- declare class MatchaStepperComponent {
753
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaStepperComponent, never>;
754
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaStepperComponent, "matcha-stepper", never, {}, {}, never, ["*"], false, never>;
755
- }
756
-
757
778
  declare class MatchaStepperStateService {
758
- steps$: BehaviorSubject<string[]>;
759
- activeStep$: BehaviorSubject<number>;
760
- setSteps(steps: string[]): void;
779
+ private steps;
780
+ private _steps$;
781
+ steps$: rxjs.Observable<any[]>;
782
+ private _activeStep$;
783
+ activeStep$: rxjs.Observable<number>;
784
+ private pendingActiveStep;
785
+ setSteps(steps: any[]): void;
761
786
  setActiveStep(index: number): void;
762
787
  nextStep(): void;
763
788
  prevStep(): void;
@@ -765,6 +790,15 @@ declare class MatchaStepperStateService {
765
790
  static ɵprov: i0.ɵɵInjectableDeclaration<MatchaStepperStateService>;
766
791
  }
767
792
 
793
+ declare class MatchaStepperComponent {
794
+ private stepperState;
795
+ active: number;
796
+ constructor(stepperState: MatchaStepperStateService);
797
+ ngOnChanges(changes: SimpleChanges): void;
798
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaStepperComponent, never>;
799
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaStepperComponent, "matcha-stepper", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
800
+ }
801
+
768
802
  declare class MatchaStepperContentComponent implements AfterContentInit {
769
803
  private stepperState;
770
804
  steps: QueryList<StepComponent>;
@@ -1110,6 +1144,12 @@ declare class MatchaCheckboxModule {
1110
1144
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCheckboxModule>;
1111
1145
  }
1112
1146
 
1147
+ declare class MatchaRadioModule {
1148
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioModule, never>;
1149
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRadioModule, [typeof MatchaRadioComponent], [typeof i2.CommonModule, typeof MatchaRippleModule], [typeof MatchaRadioComponent]>;
1150
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRadioModule>;
1151
+ }
1152
+
1113
1153
  declare class MatchaChipsDirective {
1114
1154
  private _elementRef;
1115
1155
  private _renderer;
@@ -1204,20 +1244,6 @@ declare class MatchaProgressBarModule {
1204
1244
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaProgressBarModule>;
1205
1245
  }
1206
1246
 
1207
- declare class MatchaRadioButtonDirective {
1208
- private _elementRef;
1209
- private _renderer;
1210
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
1211
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioButtonDirective, never>;
1212
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaRadioButtonDirective, "[matchaRadioButton]", never, {}, {}, never, never, false, never>;
1213
- }
1214
-
1215
- declare class MatchaRadioButtonModule {
1216
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioButtonModule, never>;
1217
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRadioButtonModule, [typeof MatchaRadioButtonDirective], [typeof i2.CommonModule], [typeof MatchaRadioButtonDirective]>;
1218
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRadioButtonModule>;
1219
- }
1220
-
1221
1247
  declare class MatchaSelectDirective {
1222
1248
  private _elementRef;
1223
1249
  private _renderer;
@@ -1384,7 +1410,7 @@ declare class MatchaPageLayoutModule {
1384
1410
 
1385
1411
  declare class MatchaComponentsModule {
1386
1412
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
1387
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaOptionModule, typeof MatchaAutocompleteModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRadioButtonModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaOptionModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRadioButtonModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule]>;
1413
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaOptionModule, typeof MatchaAutocompleteModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaOptionModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule]>;
1388
1414
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
1389
1415
  }
1390
1416
 
@@ -1501,5 +1527,5 @@ declare class StepContentDirective {
1501
1527
  static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
1502
1528
  }
1503
1529
 
1504
- export { MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteDirective, MatchaAutocompleteModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDatepickerDirective, MatchaDatepickerModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOptionService, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioButtonDirective, MatchaRadioButtonModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectDirective, MatchaSelectModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective };
1530
+ export { MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteDirective, MatchaAutocompleteModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDatepickerDirective, MatchaDatepickerModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOptionService, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectDirective, MatchaSelectModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective };
1505
1531
  export type { ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, ModalComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.1.0",
3
+ "version": "20.3.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"