@getflip/swirl-components-angular 0.528.0 → 0.529.0

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.
@@ -21,6 +21,6 @@ Built Angular Package
21
21
  - to: /home/runner/work/swirl/swirl/packages/swirl-components-angular/dist/component-library
22
22
  ------------------------------------------------------------------------------
23
23
 
24
- Build at: 2026-09-15T10:49:41.383Z - Time: 10721ms
24
+ Build at: 2026-09-17T08:04:02.704Z - Time: 10394ms
25
25
 
26
- Done in 12.61s.
26
+ Done in 12.04s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @getflip/swirl-components-angular
2
2
 
3
+ ## 0.529.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1790](https://github.com/getflip/swirl/pull/1790)
8
+ [`627d06f18`](https://github.com/getflip/swirl/commit/627d06f181825ae0af5bf26c6c14455038a04e3f)
9
+ Thanks [@danizep](https://github.com/danizep)! - Add `trigger` prop to
10
+ swirl-popover-trigger (`click` | `hover` | `focus`, array or space-separated
11
+ string) so popovers used as hover cards are keyboard accessible (WCAG 1.4.13).
12
+
13
+ Deprecates `triggerOnClick` and `triggerOnHover`; `triggerOnHover="true"` now
14
+ also opens the popover on keyboard focus.
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1806](https://github.com/getflip/swirl/pull/1806)
19
+ [`dabcc0e33`](https://github.com/getflip/swirl/commit/dabcc0e334f584eea3bb7d494c20a99a14a6f158)
20
+ Thanks [@danizep](https://github.com/danizep)! - Fix SwirlFileViewer video
21
+ rendering: videos now fill the available stage and letterbox the picture, so
22
+ extremely wide/short videos are no longer covered by the native controls bar,
23
+ and tall videos no longer overflow their container.
24
+ - Updated dependencies
25
+ [[`dabcc0e33`](https://github.com/getflip/swirl/commit/dabcc0e334f584eea3bb7d494c20a99a14a6f158),
26
+ [`627d06f18`](https://github.com/getflip/swirl/commit/627d06f181825ae0af5bf26c6c14455038a04e3f)]:
27
+ - @getflip/swirl-components@0.529.0
28
+
3
29
  ## 0.528.0
4
30
 
5
31
  ### Minor Changes
@@ -10368,11 +10368,11 @@ let SwirlPopoverTrigger = class SwirlPopoverTrigger {
10368
10368
  this.el = r.nativeElement;
10369
10369
  }
10370
10370
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlPopoverTrigger, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
10371
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlPopoverTrigger, isStandalone: false, selector: "swirl-popover-trigger", inputs: { hidePopoverWhenInvisible: "hidePopoverWhenInvisible", hoverDelay: "hoverDelay", hoverLingerDuration: "hoverLingerDuration", parentScrollContainer: "parentScrollContainer", setAriaAttributes: "setAriaAttributes", swirlPopover: "swirlPopover", triggerOnClick: "triggerOnClick", triggerOnHover: "triggerOnHover" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10371
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlPopoverTrigger, isStandalone: false, selector: "swirl-popover-trigger", inputs: { hidePopoverWhenInvisible: "hidePopoverWhenInvisible", hoverDelay: "hoverDelay", hoverLingerDuration: "hoverLingerDuration", parentScrollContainer: "parentScrollContainer", setAriaAttributes: "setAriaAttributes", swirlPopover: "swirlPopover", trigger: "trigger", triggerOnClick: "triggerOnClick", triggerOnHover: "triggerOnHover" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10372
10372
  };
10373
10373
  SwirlPopoverTrigger = __decorate([
10374
10374
  ProxyCmp({
10375
- inputs: ['hidePopoverWhenInvisible', 'hoverDelay', 'hoverLingerDuration', 'parentScrollContainer', 'setAriaAttributes', 'swirlPopover', 'triggerOnClick', 'triggerOnHover']
10375
+ inputs: ['hidePopoverWhenInvisible', 'hoverDelay', 'hoverLingerDuration', 'parentScrollContainer', 'setAriaAttributes', 'swirlPopover', 'trigger', 'triggerOnClick', 'triggerOnHover']
10376
10376
  })
10377
10377
  ], SwirlPopoverTrigger);
10378
10378
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlPopoverTrigger, decorators: [{
@@ -10382,7 +10382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImpo
10382
10382
  changeDetection: ChangeDetectionStrategy.OnPush,
10383
10383
  template: '<ng-content></ng-content>',
10384
10384
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
10385
- inputs: ['hidePopoverWhenInvisible', 'hoverDelay', 'hoverLingerDuration', 'parentScrollContainer', 'setAriaAttributes', { name: 'swirlPopover', required: true }, 'triggerOnClick', 'triggerOnHover'],
10385
+ inputs: ['hidePopoverWhenInvisible', 'hoverDelay', 'hoverLingerDuration', 'parentScrollContainer', 'setAriaAttributes', { name: 'swirlPopover', required: true }, 'trigger', 'triggerOnClick', 'triggerOnHover'],
10386
10386
  standalone: false
10387
10387
  }]
10388
10388
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });