geonetwork-ui 2.2.0-dev.b0f82edc → 2.2.0-dev.be693a58

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.
@@ -1 +1 @@
1
- {"version":3,"file":"max-lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/max-lines/max-lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAEV,aAAa,EAEb,SAAS,EACT,iBAAiB,EAClB,MAAM,eAAe,CAAA;;AAEtB,qBAMa,iBAAkB,YAAW,aAAa,EAAE,SAAS;IAUpD,OAAO,CAAC,GAAG;IATd,QAAQ,SAAI;IAErB,UAAU,UAAQ;IAClB,SAAS,SAAK;IACd,gBAAgB,UAAQ;IACxB,QAAQ,EAAE,cAAc,CAAA;IAEA,SAAS,EAAG,UAAU,CAAA;gBAE1B,GAAG,EAAE,iBAAiB;IAE1C,eAAe;IAYf,aAAa;IAKb,kBAAkB;IAyBlB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM;IAQ3C,WAAW,IAAI,IAAI;yCA9DR,iBAAiB;2CAAjB,iBAAiB;CAkE7B"}
1
+ {"version":3,"file":"max-lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/max-lines/max-lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAEV,aAAa,EAEb,SAAS,EACT,iBAAiB,EAClB,MAAM,eAAe,CAAA;;AAEtB,qBAMa,iBAAkB,YAAW,aAAa,EAAE,SAAS;IAUpD,OAAO,CAAC,GAAG;IATd,QAAQ,SAAI;IAErB,UAAU,UAAQ;IAClB,SAAS,SAAK;IACd,gBAAgB,UAAQ;IACxB,QAAQ,EAAE,cAAc,CAAA;IAEA,SAAS,EAAG,UAAU,CAAA;gBAE1B,GAAG,EAAE,iBAAiB;IAE1C,eAAe;IAYf,aAAa;IAKb,kBAAkB;IAyBlB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM;IAQ3C,WAAW,IAAI,IAAI;yCA9DR,iBAAiB;2CAAjB,iBAAiB;CAiE7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.2.0-dev.b0f82edc",
3
+ "version": "2.2.0-dev.be693a58",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -1,14 +1,10 @@
1
1
  <div
2
2
  #container
3
- class="max-lines overflow-hidden transition-[max-height] duration-300 relative"
3
+ class="max-lines overflow-hidden transition-[max-height] duration-300"
4
4
  [ngClass]="isExpanded ? 'ease-in' : 'ease-out'"
5
5
  [style.maxHeight]="maxHeight"
6
6
  >
7
7
  <ng-content></ng-content>
8
- <div
9
- *ngIf="showToggleButton && !isExpanded"
10
- class="absolute inset-x-0 bottom-0 bg-gradient-to-b from-transparent to-white h-3"
11
- ></div>
12
8
  </div>
13
9
  <div
14
10
  *ngIf="showToggleButton"
@@ -78,7 +78,6 @@ export class MaxLinesComponent implements AfterViewInit, OnDestroy {
78
78
  }
79
79
 
80
80
  ngOnDestroy(): void {
81
- if (!this.observer) return
82
81
  this.observer.unobserve(this.container.nativeElement.children[0])
83
82
  }
84
83
  }
@@ -63,12 +63,15 @@
63
63
  "
64
64
  [title]="'record.metadata.details' | translate"
65
65
  >
66
- <div *ngIf="metadata.lineage" class="text-gray-900 flex flex-col mt-4 gap-2">
66
+ <div
67
+ *ngIf="metadata.lineage"
68
+ class="text-gray-900 flex flex-col mb-5 pt-4 gap-2"
69
+ >
67
70
  <p class="whitespace-pre-line break-words text-gray-900" gnUiLinkify>
68
71
  {{ metadata.lineage }}
69
72
  </p>
70
73
  </div>
71
- <div class="flex flex-row gap-6 mt-5 mb-8" *ngIf="resourceContact">
74
+ <div class="flex flex-row gap-6 mb-8" *ngIf="resourceContact">
72
75
  <div
73
76
  *ngIf="resourceContact.organization?.logoUrl?.href"
74
77
  class="flex items-center justify-center border-solid border border-gray-300 rounded-md bg-white h-32 overflow-hidden"