@getflip/swirl-components-angular 0.536.0 → 0.538.0-beta-20261126113442

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.
@@ -18,5 +18,5 @@ Built Angular Package
18
18
  - to: /home/runner/work/swirl/swirl/packages/swirl-components-angular/dist/component-library
19
19
  ------------------------------------------------------------------------------
20
20
 
21
- Build at: 2026-11-17T12:28:19.244Z - Time: 9094ms
21
+ Build at: 2026-11-26T11:34:33.773Z - Time: 15175ms
22
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @getflip/swirl-components-angular
2
2
 
3
+ ## 0.538.0-beta-20261126113442
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1845](https://github.com/getflip/swirl/pull/1845)
8
+ [`1e2467866`](https://github.com/getflip/swirl/commit/1e2467866d4cf7d03b6077008c6a576511a46ceb)
9
+ Thanks [@brunosantos-flip](https://github.com/brunosantos-flip)! - Fix long
10
+ sub menus of swirl-menu overflowing the viewport.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+ [[`b27d48968`](https://github.com/getflip/swirl/commit/b27d4896845c7b886626dfd0be477bf59b516a11),
16
+ [`78e0efabe`](https://github.com/getflip/swirl/commit/78e0efabee863fba0976244e060de3d65352add3),
17
+ [`1e2467866`](https://github.com/getflip/swirl/commit/1e2467866d4cf7d03b6077008c6a576511a46ceb)]:
18
+ - @getflip/swirl-components@0.538.0-beta-20261126113442
19
+
20
+ ## 0.537.0
21
+
22
+ ### Minor Changes
23
+
24
+ - [#1841](https://github.com/getflip/swirl/pull/1841)
25
+ [`0d03bdeb5`](https://github.com/getflip/swirl/commit/0d03bdeb599d7c6a984aa852e51bc0e5a913afe4)
26
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix form controls remaining
27
+ interactive when `swirl-form-control` is readonly.
28
+
29
+ - swirl-select: add `readonly` prop. A readonly select does not open its
30
+ options and its multi-select tags can't be removed.
31
+ - swirl-autocomplete: add `readonly` prop. A readonly autocomplete doesn't
32
+ accept input or show suggestions, and its multi-select tags can't be
33
+ removed.
34
+ - swirl-file-uploader: add `readonly` prop. A readonly file uploader doesn't
35
+ open the file picker or accept dropped files.
36
+ - swirl-form-control: readonly and disabled now also turn off editing of
37
+ slotted contenteditable controls.
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies
42
+ [[`0d03bdeb5`](https://github.com/getflip/swirl/commit/0d03bdeb599d7c6a984aa852e51bc0e5a913afe4)]:
43
+ - @getflip/swirl-components@0.537.0
44
+
3
45
  ## 0.536.0
4
46
 
5
47
  ### Minor Changes
@@ -293,11 +293,11 @@ let SwirlAutocomplete = class SwirlAutocomplete {
293
293
  proxyOutputs(this, this.el, ['valueChange']);
294
294
  }
295
295
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
296
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlAutocomplete, isStandalone: false, selector: "swirl-autocomplete", inputs: { autoSelect: "autoSelect", clearButtonLabel: "clearButtonLabel", clearable: "clearable", disabled: "disabled", generateSuggestions: "generateSuggestions", inline: "inline", invalid: "invalid", maxLength: "maxLength", menuLabel: "menuLabel", mode: "mode", multiSelect: "multiSelect", placeholder: "placeholder", required: "required", spellCheck: "spellCheck", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
296
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlAutocomplete, isStandalone: false, selector: "swirl-autocomplete", inputs: { autoSelect: "autoSelect", clearButtonLabel: "clearButtonLabel", clearable: "clearable", disabled: "disabled", generateSuggestions: "generateSuggestions", inline: "inline", invalid: "invalid", maxLength: "maxLength", menuLabel: "menuLabel", mode: "mode", multiSelect: "multiSelect", placeholder: "placeholder", readonly: "readonly", required: "required", spellCheck: "spellCheck", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
297
297
  };
298
298
  SwirlAutocomplete = __decorate([
299
299
  ProxyCmp({
300
- inputs: ['autoSelect', 'clearButtonLabel', 'clearable', 'disabled', 'generateSuggestions', 'inline', 'invalid', 'maxLength', 'menuLabel', 'mode', 'multiSelect', 'placeholder', 'required', 'spellCheck', 'swirlAriaDescribedby', 'value']
300
+ inputs: ['autoSelect', 'clearButtonLabel', 'clearable', 'disabled', 'generateSuggestions', 'inline', 'invalid', 'maxLength', 'menuLabel', 'mode', 'multiSelect', 'placeholder', 'readonly', 'required', 'spellCheck', 'swirlAriaDescribedby', 'value']
301
301
  })
302
302
  ], SwirlAutocomplete);
303
303
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlAutocomplete, decorators: [{
@@ -307,7 +307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImpo
307
307
  changeDetection: ChangeDetectionStrategy.OnPush,
308
308
  template: '<ng-content></ng-content>',
309
309
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
310
- inputs: ['autoSelect', 'clearButtonLabel', 'clearable', 'disabled', 'generateSuggestions', 'inline', 'invalid', 'maxLength', 'menuLabel', 'mode', 'multiSelect', 'placeholder', 'required', 'spellCheck', 'swirlAriaDescribedby', 'value'],
310
+ inputs: ['autoSelect', 'clearButtonLabel', 'clearable', 'disabled', 'generateSuggestions', 'inline', 'invalid', 'maxLength', 'menuLabel', 'mode', 'multiSelect', 'placeholder', 'readonly', 'required', 'spellCheck', 'swirlAriaDescribedby', 'value'],
311
311
  standalone: false
312
312
  }]
313
313
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1175,11 +1175,11 @@ let SwirlFileUploader = class SwirlFileUploader {
1175
1175
  proxyOutputs(this, this.el, ['valueChange']);
1176
1176
  }
1177
1177
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlFileUploader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1178
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlFileUploader, isStandalone: false, selector: "swirl-file-uploader", inputs: { accept: "accept", ctaLabel: "ctaLabel", description: "description", descriptionAllowHtml: "descriptionAllowHtml", disabled: "disabled", dragDropLabel: "dragDropLabel", hideLabel: "hideLabel", inputId: "inputId", inputName: "inputName", label: "label", multiple: "multiple", showDropzone: "showDropzone", uploadButtonIcon: "uploadButtonIcon", uploadButtonLabel: "uploadButtonLabel", uploadButtonVariant: "uploadButtonVariant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1178
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlFileUploader, isStandalone: false, selector: "swirl-file-uploader", inputs: { accept: "accept", ctaLabel: "ctaLabel", description: "description", descriptionAllowHtml: "descriptionAllowHtml", disabled: "disabled", dragDropLabel: "dragDropLabel", hideLabel: "hideLabel", inputId: "inputId", inputName: "inputName", label: "label", multiple: "multiple", readonly: "readonly", showDropzone: "showDropzone", uploadButtonIcon: "uploadButtonIcon", uploadButtonLabel: "uploadButtonLabel", uploadButtonVariant: "uploadButtonVariant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1179
1179
  };
1180
1180
  SwirlFileUploader = __decorate([
1181
1181
  ProxyCmp({
1182
- inputs: ['accept', 'ctaLabel', 'description', 'descriptionAllowHtml', 'disabled', 'dragDropLabel', 'hideLabel', 'inputId', 'inputName', 'label', 'multiple', 'showDropzone', 'uploadButtonIcon', 'uploadButtonLabel', 'uploadButtonVariant'],
1182
+ inputs: ['accept', 'ctaLabel', 'description', 'descriptionAllowHtml', 'disabled', 'dragDropLabel', 'hideLabel', 'inputId', 'inputName', 'label', 'multiple', 'readonly', 'showDropzone', 'uploadButtonIcon', 'uploadButtonLabel', 'uploadButtonVariant'],
1183
1183
  methods: ['reset']
1184
1184
  })
1185
1185
  ], SwirlFileUploader);
@@ -1190,7 +1190,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImpo
1190
1190
  changeDetection: ChangeDetectionStrategy.OnPush,
1191
1191
  template: '<ng-content></ng-content>',
1192
1192
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1193
- inputs: ['accept', 'ctaLabel', 'description', 'descriptionAllowHtml', 'disabled', 'dragDropLabel', 'hideLabel', { name: 'inputId', required: true }, { name: 'inputName', required: true }, { name: 'label', required: true }, 'multiple', 'showDropzone', 'uploadButtonIcon', 'uploadButtonLabel', 'uploadButtonVariant'],
1193
+ inputs: ['accept', 'ctaLabel', 'description', 'descriptionAllowHtml', 'disabled', 'dragDropLabel', 'hideLabel', { name: 'inputId', required: true }, { name: 'inputName', required: true }, { name: 'label', required: true }, 'multiple', 'readonly', 'showDropzone', 'uploadButtonIcon', 'uploadButtonLabel', 'uploadButtonVariant'],
1194
1194
  standalone: false
1195
1195
  }]
1196
1196
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -10165,11 +10165,11 @@ let SwirlMenu = class SwirlMenu {
10165
10165
  proxyOutputs(this, this.el, ['done', 'valueChange']);
10166
10166
  }
10167
10167
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
10168
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlMenu, isStandalone: false, selector: "swirl-menu", inputs: { active: "active", label: "label", level: "level", mobileBackButtonLabel: "mobileBackButtonLabel", mobileCloseMenuButtonLabel: "mobileCloseMenuButtonLabel", mobileDoneButtonLabel: "mobileDoneButtonLabel", placement: "placement", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10168
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlMenu, isStandalone: false, selector: "swirl-menu", inputs: { active: "active", label: "label", level: "level", maxHeight: "maxHeight", mobileBackButtonLabel: "mobileBackButtonLabel", mobileCloseMenuButtonLabel: "mobileCloseMenuButtonLabel", mobileDoneButtonLabel: "mobileDoneButtonLabel", placement: "placement", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10169
10169
  };
10170
10170
  SwirlMenu = __decorate([
10171
10171
  ProxyCmp({
10172
- inputs: ['active', 'label', 'level', 'mobileBackButtonLabel', 'mobileCloseMenuButtonLabel', 'mobileDoneButtonLabel', 'placement', 'value', 'variant'],
10172
+ inputs: ['active', 'label', 'level', 'maxHeight', 'mobileBackButtonLabel', 'mobileCloseMenuButtonLabel', 'mobileDoneButtonLabel', 'placement', 'value', 'variant'],
10173
10173
  methods: ['activateMenuItem', 'close', 'goBack', 'focusFirstItem', 'focusItemAtIndex', 'updateSelection', 'updateActiveItem']
10174
10174
  })
10175
10175
  ], SwirlMenu);
@@ -10180,7 +10180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImpo
10180
10180
  changeDetection: ChangeDetectionStrategy.OnPush,
10181
10181
  template: '<ng-content></ng-content>',
10182
10182
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
10183
- inputs: ['active', { name: 'label', required: true }, 'level', 'mobileBackButtonLabel', 'mobileCloseMenuButtonLabel', 'mobileDoneButtonLabel', 'placement', 'value', 'variant'],
10183
+ inputs: ['active', { name: 'label', required: true }, 'level', 'maxHeight', 'mobileBackButtonLabel', 'mobileCloseMenuButtonLabel', 'mobileDoneButtonLabel', 'placement', 'value', 'variant'],
10184
10184
  standalone: false
10185
10185
  }]
10186
10186
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -10700,11 +10700,11 @@ let SwirlSelect = class SwirlSelect {
10700
10700
  proxyOutputs(this, this.el, ['searchChange', 'valueChange']);
10701
10701
  }
10702
10702
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.23", ngImport: i0, type: SwirlSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
10703
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlSelect, isStandalone: false, selector: "swirl-select", inputs: { allowDeselect: "allowDeselect", disabled: "disabled", emptyListLabel: "emptyListLabel", inline: "inline", invalid: "invalid", label: "label", multiSelect: "multiSelect", required: "required", searchInputLabel: "searchInputLabel", searchLoading: "searchLoading", searchPlaceholder: "searchPlaceholder", selectId: "selectId", standalone: "standalone", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value", withSearch: "withSearch" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10703
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.23", type: SwirlSelect, isStandalone: false, selector: "swirl-select", inputs: { allowDeselect: "allowDeselect", disabled: "disabled", emptyListLabel: "emptyListLabel", inline: "inline", invalid: "invalid", label: "label", multiSelect: "multiSelect", readonly: "readonly", required: "required", searchInputLabel: "searchInputLabel", searchLoading: "searchLoading", searchPlaceholder: "searchPlaceholder", selectId: "selectId", standalone: "standalone", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value", withSearch: "withSearch" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10704
10704
  };
10705
10705
  SwirlSelect = __decorate([
10706
10706
  ProxyCmp({
10707
- inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', 'label', 'multiSelect', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'standalone', 'swirlAriaDescribedby', 'value', 'withSearch'],
10707
+ inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', 'label', 'multiSelect', 'readonly', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'standalone', 'swirlAriaDescribedby', 'value', 'withSearch'],
10708
10708
  methods: ['selectSearchInput', 'focusSearchInput']
10709
10709
  })
10710
10710
  ], SwirlSelect);
@@ -10715,7 +10715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.23", ngImpo
10715
10715
  changeDetection: ChangeDetectionStrategy.OnPush,
10716
10716
  template: '<ng-content></ng-content>',
10717
10717
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
10718
- inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', { name: 'label', required: true }, 'multiSelect', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'standalone', 'swirlAriaDescribedby', 'value', 'withSearch'],
10718
+ inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', { name: 'label', required: true }, 'multiSelect', 'readonly', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'standalone', 'swirlAriaDescribedby', 'value', 'withSearch'],
10719
10719
  standalone: false
10720
10720
  }]
10721
10721
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });