@getflip/swirl-components-angular 0.536.0 → 0.537.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +25 -0
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs +9 -9
- package/dist/component-library/fesm2022/getflip-swirl-components-angular.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +3 -3
- package/package.json +2 -2
- package/projects/component-library/src/lib/stencil-generated/components.ts +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -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-
|
|
21
|
+
Build at: 2026-11-24T15:22:21.492Z - Time: 14232ms
|
|
22
22
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @getflip/swirl-components-angular
|
|
2
2
|
|
|
3
|
+
## 0.537.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1841](https://github.com/getflip/swirl/pull/1841)
|
|
8
|
+
[`0d03bdeb5`](https://github.com/getflip/swirl/commit/0d03bdeb599d7c6a984aa852e51bc0e5a913afe4)
|
|
9
|
+
Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix form controls remaining
|
|
10
|
+
interactive when `swirl-form-control` is readonly.
|
|
11
|
+
|
|
12
|
+
- swirl-select: add `readonly` prop. A readonly select does not open its
|
|
13
|
+
options and its multi-select tags can't be removed.
|
|
14
|
+
- swirl-autocomplete: add `readonly` prop. A readonly autocomplete doesn't
|
|
15
|
+
accept input or show suggestions, and its multi-select tags can't be
|
|
16
|
+
removed.
|
|
17
|
+
- swirl-file-uploader: add `readonly` prop. A readonly file uploader doesn't
|
|
18
|
+
open the file picker or accept dropped files.
|
|
19
|
+
- swirl-form-control: readonly and disabled now also turn off editing of
|
|
20
|
+
slotted contenteditable controls.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
[[`0d03bdeb5`](https://github.com/getflip/swirl/commit/0d03bdeb599d7c6a984aa852e51bc0e5a913afe4)]:
|
|
26
|
+
- @getflip/swirl-components@0.537.0
|
|
27
|
+
|
|
3
28
|
## 0.536.0
|
|
4
29
|
|
|
5
30
|
### 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 }] });
|
|
@@ -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 }] });
|