@getflip/swirl-components-angular 0.389.1 → 0.390.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.
@@ -20,5 +20,5 @@ Built Angular Package
20
20
  - to: /home/runner/work/swirl/swirl/packages/swirl-components-angular/dist/component-library
21
21
  ------------------------------------------------------------------------------
22
22
 
23
- Build at: 2025-10-01T10:17:38.105Z - Time: 14210ms
23
+ Build at: 2025-10-07T06:43:30.262Z - Time: 12473ms
24
24
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @getflip/swirl-components-angular
2
2
 
3
+ ## 0.390.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1263](https://github.com/getflip/swirl/pull/1263)
8
+ [`dce133942`](https://github.com/getflip/swirl/commit/dce133942f9a62ef17f7482b4d8ccf41906eaae2)
9
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Add readonly
10
+ state to swirl-text-input, swirl-date-input, swirl-time-input,
11
+ swirl-color-input. Adjust disabled and readonly styles of swirl-form-control.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+ [[`dce133942`](https://github.com/getflip/swirl/commit/dce133942f9a62ef17f7482b4d8ccf41906eaae2)]:
17
+ - @getflip/swirl-components@0.390.0
18
+
3
19
  ## 0.389.1
4
20
 
5
21
  ### Patch Changes
@@ -678,11 +678,11 @@ let SwirlColorInput = class SwirlColorInput {
678
678
  proxyOutputs(this, this.el, ['inputBlur', 'inputFocus', 'valueChange']);
679
679
  }
680
680
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlColorInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
681
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlColorInput, isStandalone: false, selector: "swirl-color-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", disabled: "disabled", inline: "inline", invalid: "invalid", pickerButtonLabel: "pickerButtonLabel", pickerLabel: "pickerLabel", placeholder: "placeholder", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
681
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlColorInput, isStandalone: false, selector: "swirl-color-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", disabled: "disabled", inline: "inline", invalid: "invalid", pickerButtonLabel: "pickerButtonLabel", pickerLabel: "pickerLabel", placeholder: "placeholder", readonly: "readonly", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
682
682
  };
683
683
  SwirlColorInput = __decorate([
684
684
  ProxyCmp({
685
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
685
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'readonly', 'required', 'swirlAriaDescribedby', 'value']
686
686
  })
687
687
  ], SwirlColorInput);
688
688
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlColorInput, decorators: [{
@@ -692,7 +692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
692
692
  changeDetection: ChangeDetectionStrategy.OnPush,
693
693
  template: '<ng-content></ng-content>',
694
694
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
695
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'required', 'swirlAriaDescribedby', 'value'],
695
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'readonly', 'required', 'swirlAriaDescribedby', 'value'],
696
696
  standalone: false
697
697
  }]
698
698
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -762,11 +762,11 @@ let SwirlDateInput = class SwirlDateInput {
762
762
  proxyOutputs(this, this.el, ['invalidInput', 'valueChange']);
763
763
  }
764
764
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlDateInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
765
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlDateInput, isStandalone: false, selector: "swirl-date-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", datePickerDisableDate: "datePickerDisableDate", datePickerLabel: "datePickerLabel", datePickerTriggerLabel: "datePickerTriggerLabel", disabled: "disabled", firstDayOfWeek: "firstDayOfWeek", format: "format", inline: "inline", invalid: "invalid", labels: "labels", locale: "locale", placeholder: "placeholder", preferredInputMode: "preferredInputMode", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
765
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlDateInput, isStandalone: false, selector: "swirl-date-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", datePickerDisableDate: "datePickerDisableDate", datePickerLabel: "datePickerLabel", datePickerTriggerLabel: "datePickerTriggerLabel", disabled: "disabled", firstDayOfWeek: "firstDayOfWeek", format: "format", inline: "inline", invalid: "invalid", labels: "labels", locale: "locale", placeholder: "placeholder", preferredInputMode: "preferredInputMode", readonly: "readonly", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
766
766
  };
767
767
  SwirlDateInput = __decorate([
768
768
  ProxyCmp({
769
- inputs: ['autoFocus', 'autoSelect', 'datePickerDisableDate', 'datePickerLabel', 'datePickerTriggerLabel', 'disabled', 'firstDayOfWeek', 'format', 'inline', 'invalid', 'labels', 'locale', 'placeholder', 'preferredInputMode', 'required', 'swirlAriaDescribedby', 'value'],
769
+ inputs: ['autoFocus', 'autoSelect', 'datePickerDisableDate', 'datePickerLabel', 'datePickerTriggerLabel', 'disabled', 'firstDayOfWeek', 'format', 'inline', 'invalid', 'labels', 'locale', 'placeholder', 'preferredInputMode', 'readonly', 'required', 'swirlAriaDescribedby', 'value'],
770
770
  methods: ['openPicker']
771
771
  })
772
772
  ], SwirlDateInput);
@@ -777,7 +777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
777
777
  changeDetection: ChangeDetectionStrategy.OnPush,
778
778
  template: '<ng-content></ng-content>',
779
779
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
780
- inputs: ['autoFocus', 'autoSelect', 'datePickerDisableDate', 'datePickerLabel', 'datePickerTriggerLabel', 'disabled', 'firstDayOfWeek', 'format', 'inline', 'invalid', 'labels', 'locale', 'placeholder', 'preferredInputMode', 'required', 'swirlAriaDescribedby', 'value'],
780
+ inputs: ['autoFocus', 'autoSelect', 'datePickerDisableDate', 'datePickerLabel', 'datePickerTriggerLabel', 'disabled', 'firstDayOfWeek', 'format', 'inline', 'invalid', 'labels', 'locale', 'placeholder', 'preferredInputMode', 'readonly', 'required', 'swirlAriaDescribedby', 'value'],
781
781
  standalone: false
782
782
  }]
783
783
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1399,11 +1399,11 @@ let SwirlFormControl = class SwirlFormControl {
1399
1399
  this.el = r.nativeElement;
1400
1400
  }
1401
1401
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlFormControl, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1402
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlFormControl, isStandalone: false, selector: "swirl-form-control", inputs: { description: "description", disabled: "disabled", errorMessage: "errorMessage", fontSize: "fontSize", hideLabel: "hideLabel", icon: "icon", inline: "inline", invalid: "invalid", label: "label", labelPosition: "labelPosition", secondaryLabel: "secondaryLabel", tooltip: "tooltip" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1402
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlFormControl, isStandalone: false, selector: "swirl-form-control", inputs: { description: "description", disabled: "disabled", errorMessage: "errorMessage", fontSize: "fontSize", hideLabel: "hideLabel", icon: "icon", inline: "inline", invalid: "invalid", label: "label", labelPosition: "labelPosition", readonly: "readonly", secondaryLabel: "secondaryLabel", tooltip: "tooltip" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1403
1403
  };
1404
1404
  SwirlFormControl = __decorate([
1405
1405
  ProxyCmp({
1406
- inputs: ['description', 'disabled', 'errorMessage', 'fontSize', 'hideLabel', 'icon', 'inline', 'invalid', 'label', 'labelPosition', 'secondaryLabel', 'tooltip']
1406
+ inputs: ['description', 'disabled', 'errorMessage', 'fontSize', 'hideLabel', 'icon', 'inline', 'invalid', 'label', 'labelPosition', 'readonly', 'secondaryLabel', 'tooltip']
1407
1407
  })
1408
1408
  ], SwirlFormControl);
1409
1409
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlFormControl, decorators: [{
@@ -1413,7 +1413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
1413
1413
  changeDetection: ChangeDetectionStrategy.OnPush,
1414
1414
  template: '<ng-content></ng-content>',
1415
1415
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1416
- inputs: ['description', 'disabled', 'errorMessage', 'fontSize', 'hideLabel', 'icon', 'inline', 'invalid', { name: 'label', required: true }, 'labelPosition', 'secondaryLabel', 'tooltip'],
1416
+ inputs: ['description', 'disabled', 'errorMessage', 'fontSize', 'hideLabel', 'icon', 'inline', 'invalid', { name: 'label', required: true }, 'labelPosition', 'readonly', 'secondaryLabel', 'tooltip'],
1417
1417
  standalone: false
1418
1418
  }]
1419
1419
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -12256,11 +12256,11 @@ let SwirlTextInput = class SwirlTextInput {
12256
12256
  proxyOutputs(this, this.el, ['inputBlur', 'inputFocus', 'valueChange']);
12257
12257
  }
12258
12258
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlTextInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
12259
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlTextInput, isStandalone: false, selector: "swirl-text-input", inputs: { autoComplete: "autoComplete", autoFocus: "autoFocus", autoGrow: "autoGrow", autoSelect: "autoSelect", characterCounterLabel: "characterCounterLabel", clearButtonLabel: "clearButtonLabel", clearable: "clearable", disableDynamicWidth: "disableDynamicWidth", disabled: "disabled", fontSize: "fontSize", inline: "inline", inputName: "inputName", invalid: "invalid", max: "max", maxLength: "maxLength", min: "min", mode: "mode", passwordToggleLabel: "passwordToggleLabel", placeholder: "placeholder", prefixLabel: "prefixLabel", required: "required", rows: "rows", showCharacterCounter: "showCharacterCounter", spellCheck: "spellCheck", step: "step", suffixLabel: "suffixLabel", swirlAriaAutocomplete: "swirlAriaAutocomplete", swirlAriaControls: "swirlAriaControls", swirlAriaDescribedby: "swirlAriaDescribedby", swirlAriaExpanded: "swirlAriaExpanded", swirlRole: "swirlRole", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12259
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlTextInput, isStandalone: false, selector: "swirl-text-input", inputs: { autoComplete: "autoComplete", autoFocus: "autoFocus", autoGrow: "autoGrow", autoSelect: "autoSelect", characterCounterLabel: "characterCounterLabel", clearButtonLabel: "clearButtonLabel", clearable: "clearable", disableDynamicWidth: "disableDynamicWidth", disabled: "disabled", fontSize: "fontSize", inline: "inline", inputName: "inputName", invalid: "invalid", max: "max", maxLength: "maxLength", min: "min", mode: "mode", passwordToggleLabel: "passwordToggleLabel", placeholder: "placeholder", prefixLabel: "prefixLabel", readonly: "readonly", required: "required", rows: "rows", showCharacterCounter: "showCharacterCounter", spellCheck: "spellCheck", step: "step", suffixLabel: "suffixLabel", swirlAriaAutocomplete: "swirlAriaAutocomplete", swirlAriaControls: "swirlAriaControls", swirlAriaDescribedby: "swirlAriaDescribedby", swirlAriaExpanded: "swirlAriaExpanded", swirlRole: "swirlRole", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12260
12260
  };
12261
12261
  SwirlTextInput = __decorate([
12262
12262
  ProxyCmp({
12263
- inputs: ['autoComplete', 'autoFocus', 'autoGrow', 'autoSelect', 'characterCounterLabel', 'clearButtonLabel', 'clearable', 'disableDynamicWidth', 'disabled', 'fontSize', 'inline', 'inputName', 'invalid', 'max', 'maxLength', 'min', 'mode', 'passwordToggleLabel', 'placeholder', 'prefixLabel', 'required', 'rows', 'showCharacterCounter', 'spellCheck', 'step', 'suffixLabel', 'swirlAriaAutocomplete', 'swirlAriaControls', 'swirlAriaDescribedby', 'swirlAriaExpanded', 'swirlRole', 'type', 'value'],
12263
+ inputs: ['autoComplete', 'autoFocus', 'autoGrow', 'autoSelect', 'characterCounterLabel', 'clearButtonLabel', 'clearable', 'disableDynamicWidth', 'disabled', 'fontSize', 'inline', 'inputName', 'invalid', 'max', 'maxLength', 'min', 'mode', 'passwordToggleLabel', 'placeholder', 'prefixLabel', 'readonly', 'required', 'rows', 'showCharacterCounter', 'spellCheck', 'step', 'suffixLabel', 'swirlAriaAutocomplete', 'swirlAriaControls', 'swirlAriaDescribedby', 'swirlAriaExpanded', 'swirlRole', 'type', 'value'],
12264
12264
  methods: ['blurInput', 'focusInput']
12265
12265
  })
12266
12266
  ], SwirlTextInput);
@@ -12271,7 +12271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
12271
12271
  changeDetection: ChangeDetectionStrategy.OnPush,
12272
12272
  template: '<ng-content></ng-content>',
12273
12273
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
12274
- inputs: ['autoComplete', 'autoFocus', 'autoGrow', 'autoSelect', 'characterCounterLabel', 'clearButtonLabel', 'clearable', 'disableDynamicWidth', 'disabled', 'fontSize', 'inline', 'inputName', 'invalid', 'max', 'maxLength', 'min', 'mode', 'passwordToggleLabel', 'placeholder', 'prefixLabel', 'required', 'rows', 'showCharacterCounter', 'spellCheck', 'step', 'suffixLabel', 'swirlAriaAutocomplete', 'swirlAriaControls', 'swirlAriaDescribedby', 'swirlAriaExpanded', 'swirlRole', 'type', 'value'],
12274
+ inputs: ['autoComplete', 'autoFocus', 'autoGrow', 'autoSelect', 'characterCounterLabel', 'clearButtonLabel', 'clearable', 'disableDynamicWidth', 'disabled', 'fontSize', 'inline', 'inputName', 'invalid', 'max', 'maxLength', 'min', 'mode', 'passwordToggleLabel', 'placeholder', 'prefixLabel', 'readonly', 'required', 'rows', 'showCharacterCounter', 'spellCheck', 'step', 'suffixLabel', 'swirlAriaAutocomplete', 'swirlAriaControls', 'swirlAriaDescribedby', 'swirlAriaExpanded', 'swirlRole', 'type', 'value'],
12275
12275
  standalone: false
12276
12276
  }]
12277
12277
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -12342,11 +12342,11 @@ let SwirlTimeInput = class SwirlTimeInput {
12342
12342
  proxyOutputs(this, this.el, ['inputBlur', 'inputFocus', 'valueChange']);
12343
12343
  }
12344
12344
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlTimeInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
12345
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlTimeInput, isStandalone: false, selector: "swirl-time-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", disabled: "disabled", format: "format", inline: "inline", invalid: "invalid", placeholder: "placeholder", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12345
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: SwirlTimeInput, isStandalone: false, selector: "swirl-time-input", inputs: { autoFocus: "autoFocus", autoSelect: "autoSelect", disabled: "disabled", format: "format", inline: "inline", invalid: "invalid", placeholder: "placeholder", readonly: "readonly", required: "required", swirlAriaDescribedby: "swirlAriaDescribedby", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12346
12346
  };
12347
12347
  SwirlTimeInput = __decorate([
12348
12348
  ProxyCmp({
12349
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'format', 'inline', 'invalid', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
12349
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'format', 'inline', 'invalid', 'placeholder', 'readonly', 'required', 'swirlAriaDescribedby', 'value']
12350
12350
  })
12351
12351
  ], SwirlTimeInput);
12352
12352
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SwirlTimeInput, decorators: [{
@@ -12356,7 +12356,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
12356
12356
  changeDetection: ChangeDetectionStrategy.OnPush,
12357
12357
  template: '<ng-content></ng-content>',
12358
12358
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
12359
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'format', 'inline', 'invalid', 'placeholder', 'required', 'swirlAriaDescribedby', 'value'],
12359
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'format', 'inline', 'invalid', 'placeholder', 'readonly', 'required', 'swirlAriaDescribedby', 'value'],
12360
12360
  standalone: false
12361
12361
  }]
12362
12362
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });