@life-cockpit/angular-ui-kit 1.1.1 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@life-cockpit/angular-ui-kit",
3
- "version": "1.1.1",
3
+ "version": "1.2.1",
4
4
  "description": "Life Cockpit Design System - Angular UI component library",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -301,6 +301,15 @@ declare class CardComponent {
301
301
  * Optional subtitle rendered below the title.
302
302
  */
303
303
  subtitle: _angular_core.InputSignal<string | undefined>;
304
+ /**
305
+ * Optional badge text/count shown next to the title (e.g. item count).
306
+ */
307
+ badge: _angular_core.InputSignal<string | undefined>;
308
+ /**
309
+ * Badge color variant.
310
+ * @default 'default'
311
+ */
312
+ badgeVariant: _angular_core.InputSignal<"error" | "primary" | "warning" | "default" | "success">;
304
313
  /**
305
314
  * Visual variant of the card
306
315
  * - elevated: Box shadow (default)
@@ -354,7 +363,7 @@ declare class CardComponent {
354
363
  */
355
364
  protected handleKeydown(event: KeyboardEvent): void;
356
365
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
357
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "lc-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, ["[card-header]", "*", "[card-footer]"], true, never>;
366
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "lc-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, ["[card-header-action]", "[card-header]", "*", "[card-footer]"], true, never>;
358
367
  }
359
368
 
360
369
  type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg';
@@ -550,10 +559,17 @@ declare class LogoComponent {
550
559
  * Makes the logo appear clickable
551
560
  */
552
561
  clickable: boolean;
562
+ /**
563
+ * Color mode for different backgrounds
564
+ * - 'auto': Follows global theme (uses CSS filter in dark mode)
565
+ * - 'light': Optimized for light backgrounds (default appearance)
566
+ * - 'dark': Inverted for dark backgrounds (white/light logo)
567
+ */
568
+ colorMode: 'auto' | 'light' | 'dark';
553
569
  get logoSrc(): string;
554
570
  get logoClasses(): string;
555
571
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LogoComponent, never>;
556
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LogoComponent, "lc-logo", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; }, {}, never, never, true, never>;
572
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LogoComponent, "lc-logo", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "colorMode": { "alias": "colorMode"; "required": false; }; }, {}, never, never, true, never>;
557
573
  }
558
574
 
559
575
  interface MenuItem {
@@ -885,7 +901,7 @@ declare class TypographyComponent {
885
901
  * Text color using semantic color tokens
886
902
  * @default 'primary'
887
903
  */
888
- color: _angular_core.InputSignal<"error" | "primary" | "secondary" | "warning" | "info" | "disabled" | "success">;
904
+ color: _angular_core.InputSignal<"error" | "primary" | "secondary" | "warning" | "info" | "success" | "disabled">;
889
905
  /**
890
906
  * Font weight
891
907
  * @default 'regular'
@@ -2805,6 +2821,13 @@ declare class BreadcrumbsComponent {
2805
2821
  * ```
2806
2822
  */
2807
2823
  declare class HeaderComponent {
2824
+ /**
2825
+ * Theme variant for the header
2826
+ * - 'light': Light background with dark text (default)
2827
+ * - 'dark': Dark background with light text
2828
+ * - 'auto': Follows the global theme (data-theme attribute)
2829
+ */
2830
+ theme: 'light' | 'dark' | 'auto';
2808
2831
  /**
2809
2832
  * Logo image source URL
2810
2833
  */
@@ -2834,6 +2857,11 @@ declare class HeaderComponent {
2834
2857
  * Whether to show theme toggle button in header
2835
2858
  */
2836
2859
  showThemeButton: boolean;
2860
+ /**
2861
+ * Size of the profile dropdown menu
2862
+ * @default 'sm'
2863
+ */
2864
+ menuSize: 'sm' | 'md' | 'lg';
2837
2865
  /**
2838
2866
  * Whether to show the Profile menu item in the user dropdown
2839
2867
  * @default true
@@ -2897,7 +2925,7 @@ declare class HeaderComponent {
2897
2925
  */
2898
2926
  onMenuItemClick(item: MenuItem): void;
2899
2927
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderComponent, never>;
2900
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderComponent, "lc-header", never, { "logo": { "alias": "logo"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "userEmail": { "alias": "userEmail"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "showHamburger": { "alias": "showHamburger"; "required": false; }; "showThemeButton": { "alias": "showThemeButton"; "required": false; }; "showProfileMenuItem": { "alias": "showProfileMenuItem"; "required": false; }; }, { "hamburgerClick": "hamburgerClick"; "themeToggleClick": "themeToggleClick"; "logoutClick": "logoutClick"; "profileClick": "profileClick"; }, never, never, true, never>;
2928
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderComponent, "lc-header", never, { "theme": { "alias": "theme"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "userEmail": { "alias": "userEmail"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "showHamburger": { "alias": "showHamburger"; "required": false; }; "showThemeButton": { "alias": "showThemeButton"; "required": false; }; "menuSize": { "alias": "menuSize"; "required": false; }; "showProfileMenuItem": { "alias": "showProfileMenuItem"; "required": false; }; }, { "hamburgerClick": "hamburgerClick"; "themeToggleClick": "themeToggleClick"; "logoutClick": "logoutClick"; "profileClick": "profileClick"; }, never, never, true, never>;
2901
2929
  }
2902
2930
 
2903
2931
  type PaginationSize = 'sm' | 'md' | 'lg';
@@ -3043,6 +3071,12 @@ declare class SidenavComponent {
3043
3071
  * Input setter for collapsed
3044
3072
  */
3045
3073
  set collapsedInput(value: boolean);
3074
+ /** Theme variant for the sidenav */
3075
+ themeMode: _angular_core.WritableSignal<"light" | "dark" | "auto">;
3076
+ /**
3077
+ * Input setter for theme
3078
+ */
3079
+ set themeInput(value: 'light' | 'dark' | 'auto');
3046
3080
  /**
3047
3081
  * Event emitted when the sidenav should close
3048
3082
  */
@@ -3094,7 +3128,7 @@ declare class SidenavComponent {
3094
3128
  */
3095
3129
  handleKeydown(event: KeyboardEvent): void;
3096
3130
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
3097
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavComponent, "lc-sidenav", never, { "isOpenInput": { "alias": "isOpenInput"; "required": false; }; "modeInput": { "alias": "modeInput"; "required": false; }; "positionInput": { "alias": "positionInput"; "required": false; }; "widthInput": { "alias": "widthInput"; "required": false; }; "ariaLabelInput": { "alias": "ariaLabelInput"; "required": false; }; "hasOverlayInput": { "alias": "hasOverlayInput"; "required": false; }; "itemsInput": { "alias": "itemsInput"; "required": false; }; "activeRouteInput": { "alias": "activeRouteInput"; "required": false; }; "collapsedInput": { "alias": "collapsedInput"; "required": false; }; }, { "closed": "closed"; "itemClicked": "itemClicked"; }, never, ["*"], true, never>;
3131
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavComponent, "lc-sidenav", never, { "isOpenInput": { "alias": "isOpenInput"; "required": false; }; "modeInput": { "alias": "modeInput"; "required": false; }; "positionInput": { "alias": "positionInput"; "required": false; }; "widthInput": { "alias": "widthInput"; "required": false; }; "ariaLabelInput": { "alias": "ariaLabelInput"; "required": false; }; "hasOverlayInput": { "alias": "hasOverlayInput"; "required": false; }; "itemsInput": { "alias": "itemsInput"; "required": false; }; "activeRouteInput": { "alias": "activeRouteInput"; "required": false; }; "collapsedInput": { "alias": "collapsedInput"; "required": false; }; "themeInput": { "alias": "theme"; "required": false; }; }, { "closed": "closed"; "itemClicked": "itemClicked"; }, never, ["*"], true, never>;
3098
3132
  }
3099
3133
 
3100
3134
  type TabOrientation = 'horizontal' | 'vertical';