suis 1.7.2 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,9 +29,13 @@ export declare class SuisNavigationComponent {
29
29
  * Emits on collapsed value changed.
30
30
  */
31
31
  collaspedChange: EventEmitter<boolean>;
32
+ /**
33
+ * Enables dark mode pallette. By default set to true.
34
+ */
35
+ darkMode: boolean;
32
36
  onToggle(): void;
33
37
  /** @internal */
34
38
  groupItemTrackBy(index: number, groupItem: SuisNavigationGroupItem): string;
35
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "collaspedChange": { "alias": "collaspedChange"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "collaspedChange": { "alias": "collaspedChange"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
37
41
  }
@@ -20,8 +20,12 @@ export declare class SuisNavigationGroupComponent {
20
20
  * Adds expand / collapse logic to group header items. By default set to false.
21
21
  */
22
22
  expandable: boolean;
23
+ /**
24
+ * Enables dark mode pallette. By default set to true.
25
+ */
26
+ darkMode: boolean;
23
27
  /** @internal */
24
28
  itemTrackBy(index: number, item: SuisNavigationGroupItem): string;
25
29
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationGroupComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupComponent, "suis-navigation-group", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupComponent, "suis-navigation-group", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; }, {}, never, never, true, never>;
27
31
  }
@@ -24,7 +24,11 @@ export declare class SuisNavigationGroupItemComponent {
24
24
  * Emits when expanded value of the item has been changed.
25
25
  */
26
26
  expandedChange: EventEmitter<boolean>;
27
+ /**
28
+ * Enables dark mode pallette. By default set to true.
29
+ */
30
+ darkMode: boolean;
27
31
  onToggle(): void;
28
32
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationGroupItemComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupItemComponent, "suis-navigation-group-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupItemComponent, "suis-navigation-group-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, never, true, never>;
30
34
  }
@@ -12,6 +12,10 @@ export declare class SuisNavigationItemComponent {
12
12
  templateRef?: TemplateRef<{
13
13
  $implicit: SuisNavigationItem;
14
14
  }>;
15
+ /**
16
+ * Enables dark mode pallette. By default set to true.
17
+ */
18
+ darkMode: boolean;
15
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationItemComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationItemComponent, "suis-navigation-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationItemComponent, "suis-navigation-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; }, {}, never, never, true, never>;
17
21
  }
@@ -3,6 +3,6 @@ export interface SuisNavigationGroupItem extends SuisNavigationItem {
3
3
  }
4
4
  export interface SuisNavigationItem {
5
5
  label: string;
6
- link: string;
6
+ link?: string;
7
7
  [key: string]: any;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "1.7.2",
3
+ "version": "1.8.1",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "Angular 16+ Component Library",