@globalart/platform-ui 0.1.1 → 0.1.2

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.
@@ -4001,6 +4001,10 @@ class UiMenuComponent {
4001
4001
  host;
4002
4002
  align = 'end';
4003
4003
  width = 'w-64';
4004
+ full = false;
4005
+ get stretched() {
4006
+ return this.full;
4007
+ }
4004
4008
  open = signal(false);
4005
4009
  constructor(host) {
4006
4010
  this.host = host;
@@ -4024,7 +4028,7 @@ class UiMenuComponent {
4024
4028
  this.close();
4025
4029
  }
4026
4030
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: UiMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
4027
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: UiMenuComponent, isStandalone: true, selector: "ui-menu", inputs: { align: "align", width: "width" }, host: { listeners: { "document:click": "onDocumentClick($event.target)", "document:keydown.escape": "onEscape()" }, classAttribute: "relative inline-flex" }, ngImport: i0, template: `
4031
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: UiMenuComponent, isStandalone: true, selector: "ui-menu", inputs: { align: "align", width: "width", full: "full" }, host: { listeners: { "document:click": "onDocumentClick($event.target)", "document:keydown.escape": "onEscape()" }, properties: { "class.w-full": "this.stretched" }, classAttribute: "relative inline-flex" }, ngImport: i0, template: `
4028
4032
  <div (click)="toggle()" class="contents">
4029
4033
  <ng-content select="[menuTrigger]"></ng-content>
4030
4034
  </div>
@@ -4062,6 +4066,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImpor
4062
4066
  type: Input
4063
4067
  }], width: [{
4064
4068
  type: Input
4069
+ }], full: [{
4070
+ type: Input
4071
+ }], stretched: [{
4072
+ type: HostBinding,
4073
+ args: ['class.w-full']
4065
4074
  }], onDocumentClick: [{
4066
4075
  type: HostListener,
4067
4076
  args: ['document:click', ['$event.target']]