@globalart/platform-ui 0.1.1 → 0.1.3

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']]
@@ -5200,9 +5209,8 @@ class UiShellComponent {
5200
5209
  (click)="closeDrawer()"></ui-sidebar-nav>
5201
5210
  </nav>
5202
5211
 
5203
- <div class="border-t border-line p-3">
5204
- <ng-content select="[shellSidebarFooter]"></ng-content>
5205
- </div>
5212
+ <div class="border-t border-line p-3 empty:hidden"><ng-content
5213
+ select="[shellSidebarFooter]"></ng-content></div>
5206
5214
  </aside>
5207
5215
 
5208
5216
  <main class="min-w-0 flex-1 overflow-y-auto">
@@ -5279,9 +5287,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImpor
5279
5287
  (click)="closeDrawer()"></ui-sidebar-nav>
5280
5288
  </nav>
5281
5289
 
5282
- <div class="border-t border-line p-3">
5283
- <ng-content select="[shellSidebarFooter]"></ng-content>
5284
- </div>
5290
+ <div class="border-t border-line p-3 empty:hidden"><ng-content
5291
+ select="[shellSidebarFooter]"></ng-content></div>
5285
5292
  </aside>
5286
5293
 
5287
5294
  <main class="min-w-0 flex-1 overflow-y-auto">