@getflip/swirl-components-angular 0.95.2 → 0.96.1

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.
@@ -2117,6 +2117,10 @@ export declare class SwirlSearch {
2117
2117
  static ɵcmp: i0.ɵɵComponentDeclaration<SwirlSearch, "swirl-search", never, { "autoFocus": "autoFocus"; "clearButtonLabel": "clearButtonLabel"; "disabled": "disabled"; "inputId": "inputId"; "inputName": "inputName"; "label": "label"; "placeholder": "placeholder"; "value": "value"; "variant": "variant"; }, {}, never, ["*"], false>;
2118
2118
  }
2119
2119
  export declare interface SwirlSelect extends Components.SwirlSelect {
2120
+ /**
2121
+ *
2122
+ */
2123
+ searchChange: EventEmitter<CustomEvent<string>>;
2120
2124
  /**
2121
2125
  *
2122
2126
  */
@@ -2127,7 +2131,7 @@ export declare class SwirlSelect {
2127
2131
  protected el: HTMLElement;
2128
2132
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
2129
2133
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlSelect, never>;
2130
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlSelect, "swirl-select", never, { "allowDeselect": "allowDeselect"; "disabled": "disabled"; "inline": "inline"; "invalid": "invalid"; "label": "label"; "multiSelect": "multiSelect"; "required": "required"; "selectId": "selectId"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "value": "value"; }, {}, never, ["*"], false>;
2134
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlSelect, "swirl-select", never, { "allowDeselect": "allowDeselect"; "disabled": "disabled"; "emptyListLabel": "emptyListLabel"; "inline": "inline"; "invalid": "invalid"; "label": "label"; "multiSelect": "multiSelect"; "required": "required"; "searchInputLabel": "searchInputLabel"; "searchLoading": "searchLoading"; "searchPlaceholder": "searchPlaceholder"; "selectId": "selectId"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "value": "value"; "withSearch": "withSearch"; }, {}, never, ["*"], false>;
2131
2135
  }
2132
2136
  export declare interface SwirlSeparator extends Components.SwirlSeparator {
2133
2137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.95.2",
3
+ "version": "0.96.1",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build"
@@ -14,7 +14,7 @@
14
14
  "@angular/platform-browser": "^14.1.0",
15
15
  "@angular/platform-browser-dynamic": "^14.1.0",
16
16
  "@angular/router": "^14.1.0",
17
- "@getflip/swirl-components": "^0.95.2",
17
+ "@getflip/swirl-components": "^0.96.1",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -4717,6 +4717,10 @@ export class SwirlSearch {
4717
4717
 
4718
4718
 
4719
4719
  export declare interface SwirlSelect extends Components.SwirlSelect {
4720
+ /**
4721
+ *
4722
+ */
4723
+ searchChange: EventEmitter<CustomEvent<string>>;
4720
4724
  /**
4721
4725
  *
4722
4726
  */
@@ -4726,20 +4730,20 @@ export declare interface SwirlSelect extends Components.SwirlSelect {
4726
4730
 
4727
4731
  @ProxyCmp({
4728
4732
  defineCustomElementFn: undefined,
4729
- inputs: ['allowDeselect', 'disabled', 'inline', 'invalid', 'label', 'multiSelect', 'required', 'selectId', 'swirlAriaDescribedby', 'value']
4733
+ inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', 'label', 'multiSelect', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'swirlAriaDescribedby', 'value', 'withSearch']
4730
4734
  })
4731
4735
  @Component({
4732
4736
  selector: 'swirl-select',
4733
4737
  changeDetection: ChangeDetectionStrategy.OnPush,
4734
4738
  template: '<ng-content></ng-content>',
4735
- inputs: ['allowDeselect', 'disabled', 'inline', 'invalid', 'label', 'multiSelect', 'required', 'selectId', 'swirlAriaDescribedby', 'value']
4739
+ inputs: ['allowDeselect', 'disabled', 'emptyListLabel', 'inline', 'invalid', 'label', 'multiSelect', 'required', 'searchInputLabel', 'searchLoading', 'searchPlaceholder', 'selectId', 'swirlAriaDescribedby', 'value', 'withSearch']
4736
4740
  })
4737
4741
  export class SwirlSelect {
4738
4742
  protected el: HTMLElement;
4739
4743
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
4740
4744
  c.detach();
4741
4745
  this.el = r.nativeElement;
4742
- proxyOutputs(this, this.el, ['valueChange']);
4746
+ proxyOutputs(this, this.el, ['searchChange', 'valueChange']);
4743
4747
  }
4744
4748
  }
4745
4749