@allsorter/ui-components 0.0.406 → 0.0.408

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.
@@ -0,0 +1,22 @@
1
+ import { AnimationTriggerMetadata } from '@angular/animations';
2
+ /**
3
+ * Expand and collapse animation for accordion content
4
+ * Animates height from 0 to auto with overflow handling
5
+ * Similar to jQuery animate({ height: auto }) behavior
6
+ */
7
+ export declare const expandCollapse: AnimationTriggerMetadata;
8
+ /**
9
+ * Fade animation for showing/hiding content with opacity changes
10
+ * Used when toggling visibility via eye icon
11
+ */
12
+ export declare const fadeInOut: AnimationTriggerMetadata;
13
+ /**
14
+ * Simple slide down animation (height only, no opacity)
15
+ * Alternative animation for simpler expand/collapse
16
+ */
17
+ export declare const slideDown: AnimationTriggerMetadata;
18
+ /**
19
+ * Fade only animation (opacity only, no height changes)
20
+ * Used for subtle show/hide effects
21
+ */
22
+ export declare const fadeOnly: AnimationTriggerMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allsorter/ui-components",
3
- "version": "0.0.406",
3
+ "version": "0.0.408",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
@@ -103,7 +103,9 @@
103
103
  </div>
104
104
  <!-- Accordion body with expand/collapse animation -->
105
105
  <div class="example-accordion-item-body-wrapper">
106
- <div class="example-accordion-item-body" *ngIf="accordionItem.expanded && !isSectionHidden">
106
+ <div class="example-accordion-item-body"
107
+ *ngIf="accordionItem.expanded && !isSectionHidden"
108
+ [@expandCollapse]>
107
109
  <!-- Pop-out Panel -->
108
110
  <div *ngIf="shouldShowPopOut" #popOutPanel class="pop-out-panel"
109
111
  [ngClass]="{'pop-out-narrow': isPopOutNarrow}">