@byuhbll/components 4.3.1 → 4.3.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.
@@ -0,0 +1,33 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * A button that indicates status with color and icon.
4
+ * Status can be one of: 'success', 'info', 'warning', 'error', or 'disabled'.
5
+ * Each status has a default left icon, but a custom left icon can be provided.
6
+ * A right icon can also be provided, defaulting to 'chevron_right'.
7
+ * The left and right icons can be hidden with the `hideLeftIcon` and `hideRightIcon` boolean inputs.
8
+ * A label input is required.
9
+ */
10
+ export declare class StatusButtonComponent {
11
+ private _status;
12
+ private _leftIcon;
13
+ private _rightIcon;
14
+ private _hideLeftIcon;
15
+ private _hideRightIcon;
16
+ label: string;
17
+ set status(value: 'success' | 'info' | 'warning' | 'error' | 'disabled');
18
+ get status(): 'success' | 'info' | 'warning' | 'error' | 'disabled';
19
+ set leftIcon(value: string);
20
+ get leftIcon(): string;
21
+ set rightIcon(value: string);
22
+ get rightIcon(): string;
23
+ set hideLeftIcon(value: boolean);
24
+ get hideLeftIcon(): boolean;
25
+ set hideRightIcon(value: boolean);
26
+ get hideRightIcon(): boolean;
27
+ /** helper for default left icons */
28
+ private getDefaultLeftIcon;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusButtonComponent, never>;
30
+ 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; }; }, {}, never, never, true, never>;
31
+ static ngAcceptInputType_hideLeftIcon: unknown;
32
+ static ngAcceptInputType_hideRightIcon: unknown;
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byuhbll/components",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0"
package/public-api.d.ts CHANGED
@@ -10,3 +10,4 @@ export * from './lib/ss-search-bar/models/search-scope.model';
10
10
  export * from './lib/ss-search-bar/models/search-config.model';
11
11
  export { getUserStatusFromRoles } from './lib/contact-utils';
12
12
  export { ADVANCED_SEARCH_QUALIFIER_MAP, ADVANCED_SEARCH_FIELD_MAP, ADVANCED_SEARCH_OPTIONS, } from './lib/ss-search-bar/constants';
13
+ export * from './lib/status-button/status-button.component';