@recursyve/nice-ui-kit.v2 13.2.0-beta.113 → 13.2.0-beta.115

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.
@@ -2,13 +2,25 @@ import { EventEmitter, TemplateRef } from "@angular/core";
2
2
  import { CanColor, ThemePalette } from "@angular/material/core";
3
3
  import { Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
+ export declare type NiceChipListActionIcon = {
6
+ matIcon: string;
7
+ svgIcon?: string;
8
+ } | {
9
+ matIcon?: string;
10
+ svgIcon: string;
11
+ };
12
+ export interface NiceChipListOptions {
13
+ closeButtonIcon: NiceChipListActionIcon;
14
+ }
5
15
  export declare class NiceChipListItemsComponent implements CanColor {
16
+ readonly options: NiceChipListOptions;
6
17
  itemLabel: TemplateRef<any>;
7
18
  color: ThemePalette;
8
19
  removeChip: EventEmitter<number>;
9
20
  items$: Observable<any[]>;
10
21
  defaultColor: ThemePalette;
22
+ constructor(options: NiceChipListOptions);
11
23
  remove(index: number): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, never>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, [{ optional: true; }]>;
13
25
  static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": "color"; "items$": "items$"; }, { "removeChip": "removeChip"; }, ["itemLabel"], never>;
14
26
  }
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ export declare const NICE_CHIP_LIST_OPTIONS: InjectionToken<unknown>;
@@ -1,3 +1,5 @@
1
+ import { ModuleWithProviders } from "@angular/core";
2
+ import { NiceChipListOptions } from "./chip-list-items/chip-list-items.component";
1
3
  import * as i0 from "@angular/core";
2
4
  import * as i1 from "./chip-list.directive";
3
5
  import * as i2 from "./chip-list-items/chip-list-items.component";
@@ -5,6 +7,7 @@ import * as i3 from "./chip-list-items/chip-list-item-label.directive";
5
7
  import * as i4 from "@angular/common";
6
8
  import * as i5 from "@angular/material/icon";
7
9
  export declare class NiceChipListDirectiveModule {
10
+ static forRoot(options?: NiceChipListOptions): ModuleWithProviders<NiceChipListDirectiveModule>;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirectiveModule, never>;
9
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<NiceChipListDirectiveModule, [typeof i1.NiceChipListDirective, typeof i2.NiceChipListItemsComponent, typeof i3.ChipListItemLabelDirective], [typeof i4.CommonModule, typeof i5.MatIconModule], [typeof i1.NiceChipListDirective, typeof i2.NiceChipListItemsComponent, typeof i3.ChipListItemLabelDirective]>;
10
13
  static ɵinj: i0.ɵɵInjectorDeclaration<NiceChipListDirectiveModule>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "13.2.0-beta.113",
3
+ "version": "13.2.0-beta.115",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",