matcha-components 1.0.26 → 18.0.27

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.
Files changed (85) hide show
  1. package/esm2022/lib/matcha-autocomplete/autocomplete-overview.directive.mjs +3 -3
  2. package/esm2022/lib/matcha-autocomplete/autocomplete.directive.mjs +3 -3
  3. package/esm2022/lib/matcha-autocomplete/autocomplete.module.mjs +4 -4
  4. package/esm2022/lib/matcha-badge/badge.directive.mjs +3 -3
  5. package/esm2022/lib/matcha-badge/badge.module.mjs +4 -4
  6. package/esm2022/lib/matcha-bottom-sheet/bottom-sheet.directive.mjs +3 -3
  7. package/esm2022/lib/matcha-bottom-sheet/bottom-sheet.module.mjs +4 -4
  8. package/esm2022/lib/matcha-button/button.directive.mjs +63 -45
  9. package/esm2022/lib/matcha-button/button.module.mjs +4 -4
  10. package/esm2022/lib/matcha-button-toggle/button-toggle.module.mjs +4 -4
  11. package/esm2022/lib/matcha-button-toggle/matcha-button-toggle.directive.mjs +3 -3
  12. package/esm2022/lib/matcha-card/card.component.mjs +4 -4
  13. package/esm2022/lib/matcha-card/card.module.mjs +4 -4
  14. package/esm2022/lib/matcha-checkbox/checkbox.directive.mjs +3 -3
  15. package/esm2022/lib/matcha-checkbox/checkbox.module.mjs +4 -4
  16. package/esm2022/lib/matcha-chips/chips.module.mjs +4 -4
  17. package/esm2022/lib/matcha-chips/matcha-chips.directive.mjs +3 -3
  18. package/esm2022/lib/matcha-components.module.mjs +4 -4
  19. package/esm2022/lib/matcha-datepicker/datepicker.directive.mjs +3 -3
  20. package/esm2022/lib/matcha-datepicker/datepicker.module.mjs +4 -4
  21. package/esm2022/lib/matcha-dialog/dialog.module.mjs +4 -4
  22. package/esm2022/lib/matcha-dialog/matcha-dialog.directive.mjs +3 -3
  23. package/esm2022/lib/matcha-divider/divider.directive.mjs +3 -3
  24. package/esm2022/lib/matcha-divider/divider.module.mjs +4 -4
  25. package/esm2022/lib/matcha-elevation/elevation.directive.mjs +4 -4
  26. package/esm2022/lib/matcha-elevation/elevation.module.mjs +4 -4
  27. package/esm2022/lib/matcha-expansion/expansion.directive.mjs +3 -3
  28. package/esm2022/lib/matcha-expansion/expansion.module.mjs +4 -4
  29. package/esm2022/lib/matcha-forms/form-field.directive.mjs +3 -3
  30. package/esm2022/lib/matcha-forms/forms.module.mjs +4 -4
  31. package/esm2022/lib/matcha-grid/grid.component.mjs +4 -4
  32. package/esm2022/lib/matcha-grid/grid.module.mjs +4 -4
  33. package/esm2022/lib/matcha-headers/headers.module.mjs +4 -4
  34. package/esm2022/lib/matcha-headers/headine/headline.component.mjs +6 -6
  35. package/esm2022/lib/matcha-headers/subhead/subhead.component.mjs +6 -6
  36. package/esm2022/lib/matcha-headers/title/title.component.mjs +6 -6
  37. package/esm2022/lib/matcha-icon/icon.component.mjs +3 -3
  38. package/esm2022/lib/matcha-icon/icon.module.mjs +4 -4
  39. package/esm2022/lib/matcha-input/input.directive.mjs +3 -3
  40. package/esm2022/lib/matcha-input/input.module.mjs +4 -4
  41. package/esm2022/lib/matcha-list/list.directive.mjs +3 -3
  42. package/esm2022/lib/matcha-list/list.module.mjs +4 -4
  43. package/esm2022/lib/matcha-menu/menu.component.mjs +54 -0
  44. package/esm2022/lib/matcha-menu/menu.directive.mjs +42 -9
  45. package/esm2022/lib/matcha-menu/menu.module.mjs +20 -9
  46. package/esm2022/lib/matcha-overflow-draggable/matcha-overflow-draggable.component.mjs +4 -4
  47. package/esm2022/lib/matcha-paginator/paginator.directive.mjs +3 -3
  48. package/esm2022/lib/matcha-paginator/paginator.module.mjs +4 -4
  49. package/esm2022/lib/matcha-progress-bar/progress-bar.directive.mjs +3 -3
  50. package/esm2022/lib/matcha-progress-bar/progress-bar.module.mjs +4 -4
  51. package/esm2022/lib/matcha-progress-spinner/progress-spinner.directive.mjs +3 -3
  52. package/esm2022/lib/matcha-progress-spinner/progress-spinner.module.mjs +4 -4
  53. package/esm2022/lib/matcha-radio-button/matcha-radio-button.directive.mjs +3 -3
  54. package/esm2022/lib/matcha-radio-button/radio-button.module.mjs +4 -4
  55. package/esm2022/lib/matcha-select/select.directive.mjs +3 -3
  56. package/esm2022/lib/matcha-select/select.module.mjs +4 -4
  57. package/esm2022/lib/matcha-sidenav/sidenav.directive.mjs +3 -3
  58. package/esm2022/lib/matcha-sidenav/sidenav.module.mjs +4 -4
  59. package/esm2022/lib/matcha-slide-toggle/slide-toggle.directive.mjs +3 -3
  60. package/esm2022/lib/matcha-slide-toggle/slide-toggle.module.mjs +4 -4
  61. package/esm2022/lib/matcha-slider/matcha-slider.directive.mjs +3 -3
  62. package/esm2022/lib/matcha-slider/slider.module.mjs +4 -4
  63. package/esm2022/lib/matcha-snackbar/snack-bar.directive.mjs +3 -3
  64. package/esm2022/lib/matcha-snackbar/snack-bar.module.mjs +4 -4
  65. package/esm2022/lib/matcha-sort-header/sort-header.directive.mjs +3 -3
  66. package/esm2022/lib/matcha-sort-header/sort-header.module.mjs +4 -4
  67. package/esm2022/lib/matcha-stepper/stepper.directive.mjs +3 -3
  68. package/esm2022/lib/matcha-stepper/stepper.module.mjs +4 -4
  69. package/esm2022/lib/matcha-table/table.directive.mjs +3 -3
  70. package/esm2022/lib/matcha-table/table.module.mjs +4 -4
  71. package/esm2022/lib/matcha-tabs/tabs.directive.mjs +3 -3
  72. package/esm2022/lib/matcha-tabs/tabs.module.mjs +4 -4
  73. package/esm2022/lib/matcha-tooltip/tooltip.directive.mjs +3 -3
  74. package/esm2022/lib/matcha-tooltip/tooltip.module.mjs +4 -4
  75. package/esm2022/lib/matcha-tree/tree.directive.mjs +3 -3
  76. package/esm2022/lib/matcha-tree/tree.module.mjs +4 -4
  77. package/esm2022/public-api.mjs +2 -1
  78. package/fesm2022/matcha-components.mjs +429 -316
  79. package/fesm2022/matcha-components.mjs.map +1 -1
  80. package/lib/matcha-button/button.directive.d.ts +4 -3
  81. package/lib/matcha-menu/menu.component.d.ts +16 -0
  82. package/lib/matcha-menu/menu.directive.d.ts +8 -3
  83. package/lib/matcha-menu/menu.module.d.ts +4 -3
  84. package/package.json +1 -1
  85. package/public-api.d.ts +1 -0
@@ -3,18 +3,19 @@ import * as i0 from "@angular/core";
3
3
  export declare class MatchaButtonDirective {
4
4
  private _elementRef;
5
5
  private _renderer;
6
- pill: string | boolean;
7
6
  size: string | null;
8
7
  color: string | null;
8
+ basic: string | boolean;
9
9
  outline: string | boolean;
10
+ pill: string | boolean;
10
11
  icon: string | boolean;
11
12
  constructor(_elementRef: ElementRef, _renderer: Renderer2);
12
13
  private _config;
13
14
  ngOnInit(): void;
14
15
  ngOnChanges(): void;
15
- addRippleEffect(e: any): boolean;
16
16
  private _setConfig;
17
+ private addRippleEffect;
17
18
  ngOnDestroy(): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaButtonDirective, "[matcha-button]", never, { "pill": { "alias": "pill"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "outline": { "alias": "outline"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaButtonDirective, "[matcha-button]", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "basic": { "alias": "basic"; "required": false; }; "outline": { "alias": "outline"; "required": false; }; "pill": { "alias": "pill"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
20
21
  }
@@ -0,0 +1,16 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MatchaMenuComponent {
4
+ private _elementRef;
5
+ private _renderer;
6
+ isParentMenu: boolean;
7
+ isOpen: boolean;
8
+ constructor(_elementRef: ElementRef, _renderer: Renderer2);
9
+ handleOutsideClick(event: Event): void;
10
+ handleMouseLeave(event: MouseEvent): void;
11
+ openMenu(): void;
12
+ closeMenu(): void;
13
+ toggleMenu(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaMenuComponent, "matcha-menu", ["matchaMenu"], { "isParentMenu": { "alias": "isParentMenu"; "required": false; }; }, {}, never, ["*"], false, never>;
16
+ }
@@ -1,9 +1,14 @@
1
1
  import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { MatchaMenuComponent } from './menu.component';
2
3
  import * as i0 from "@angular/core";
3
- export declare class MatchaMenuDirective {
4
+ export declare class MatchaMenuTriggerForDirective {
4
5
  private _elementRef;
5
6
  private _renderer;
7
+ menu: MatchaMenuComponent;
6
8
  constructor(_elementRef: ElementRef, _renderer: Renderer2);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMenuDirective, "[matchaMenu]", never, {}, {}, never, never, false, never>;
9
+ onClick(event: Event): void;
10
+ onMouseEnter(): void;
11
+ onMouseLeave(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuTriggerForDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMenuTriggerForDirective, "[matchaMenuTriggerFor]", ["matchaMenuTriggerFor"], { "menu": { "alias": "matchaMenuTriggerFor"; "required": false; }; }, {}, never, never, false, never>;
9
14
  }
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./menu.directive";
3
- import * as i2 from "@angular/common";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "./menu.directive";
4
+ import * as i3 from "@angular/common";
4
5
  export declare class MatchaMenuModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMenuModule, [typeof i1.MatchaMenuDirective], [typeof i2.CommonModule], [typeof i1.MatchaMenuDirective]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMenuModule, [typeof i1.MatchaMenuComponent, typeof i2.MatchaMenuTriggerForDirective], [typeof i3.CommonModule], [typeof i1.MatchaMenuComponent, typeof i2.MatchaMenuTriggerForDirective]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMenuModule>;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "1.0.26",
3
+ "version": "18.0.27",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './lib/matcha-headers/subhead/subhead.component';
4
4
  export * from './lib/matcha-headers/title/title.component';
5
5
  export * from './lib/matcha-icon/icon.component';
6
6
  export * from './lib/matcha-grid/grid.component';
7
+ export * from './lib/matcha-menu/menu.component';
7
8
  export * from './lib/matcha-card/card.module';
8
9
  export * from './lib/matcha-headers/headers.module';
9
10
  export * from './lib/matcha-components.module';