@byuhbll/components 7.5.1 → 7.5.2

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/index.d.ts CHANGED
@@ -530,6 +530,7 @@ interface StatusButtonInputs {
530
530
  hideLeftIcon?: boolean;
531
531
  hideRightIcon?: boolean;
532
532
  clearVariant?: boolean;
533
+ badge?: boolean;
533
534
  }
534
535
  /**
535
536
  * A button that indicates status with color and icon.
@@ -537,6 +538,7 @@ interface StatusButtonInputs {
537
538
  * Each status has a default left icon, but a custom left icon can be provided.
538
539
  * A right icon can also be provided, defaulting to 'chevron_right'.
539
540
  * The left and right icons can be hidden with the `hideLeftIcon` and `hideRightIcon` boolean inputs.
541
+ * Set the badge input to true for a simple visual indicator that shouldn't act like a button.
540
542
  * A label input is required.
541
543
  */
542
544
  declare class StatusButtonComponent {
@@ -546,6 +548,7 @@ declare class StatusButtonComponent {
546
548
  private _hideLeftIcon;
547
549
  private _hideRightIcon;
548
550
  private _clearVariant;
551
+ private _badge;
549
552
  label: string;
550
553
  set status(value: 'success' | 'info' | 'warning' | 'error' | 'disabled');
551
554
  get status(): "success" | "info" | "warning" | "error" | "disabled";
@@ -559,13 +562,18 @@ declare class StatusButtonComponent {
559
562
  get hideRightIcon(): boolean;
560
563
  set clearVariant(value: boolean);
561
564
  get clearVariant(): boolean;
565
+ set badge(value: boolean);
566
+ get badge(): boolean;
562
567
  /** helper for default left icons */
563
568
  private getDefaultLeftIcon;
569
+ /** DRY logic for element class list */
570
+ getClassList(): string[];
564
571
  static ɵfac: i0.ɵɵFactoryDeclaration<StatusButtonComponent, never>;
565
- static ɵcmp: i0.ɵɵComponentDeclaration<StatusButtonComponent, "lib-status-button", never, { "label": { "alias": "label"; "required": true; }; "status": { "alias": "status"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "hideLeftIcon": { "alias": "hideLeftIcon"; "required": false; }; "hideRightIcon": { "alias": "hideRightIcon"; "required": false; }; "clearVariant": { "alias": "clearVariant"; "required": false; }; }, {}, never, never, true, never>;
572
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusButtonComponent, "lib-status-button", never, { "label": { "alias": "label"; "required": true; }; "status": { "alias": "status"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "hideLeftIcon": { "alias": "hideLeftIcon"; "required": false; }; "hideRightIcon": { "alias": "hideRightIcon"; "required": false; }; "clearVariant": { "alias": "clearVariant"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; }, {}, never, never, true, never>;
566
573
  static ngAcceptInputType_hideLeftIcon: unknown;
567
574
  static ngAcceptInputType_hideRightIcon: unknown;
568
575
  static ngAcceptInputType_clearVariant: unknown;
576
+ static ngAcceptInputType_badge: unknown;
569
577
  }
570
578
 
571
579
  type SnackbarPurpose = 'default' | 'info' | 'success' | 'error' | 'warning';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byuhbll/components",
3
- "version": "7.5.1",
3
+ "version": "7.5.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.15",
6
6
  "@angular/core": "^20.3.15"