@byuhbll/components 6.0.0-rc.1 → 6.0.0-rc0.5

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.
Files changed (44) hide show
  1. package/fesm2022/byuhbll-components.mjs +481 -129
  2. package/fesm2022/byuhbll-components.mjs.map +1 -1
  3. package/index.d.ts +3 -621
  4. package/lib/animations/animations.d.ts +4 -0
  5. package/lib/button/button.component.d.ts +66 -0
  6. package/lib/button-group/button-group.component.d.ts +46 -0
  7. package/lib/checkbox/checkbox.component.d.ts +6 -0
  8. package/lib/contact-utils.d.ts +19 -0
  9. package/lib/copy-tooltip/copy-tooltip.component.d.ts +12 -0
  10. package/lib/expand-collapse/expand-collapse.component.d.ts +10 -0
  11. package/lib/hbll-footer/hbll-footer.component.d.ts +33 -0
  12. package/lib/hbll-header/hbll-header.component.d.ts +38 -0
  13. package/lib/hbll-header/models/library-hours.d.ts +10 -0
  14. package/lib/hbll-header/nav-bar/nav-bar.component.d.ts +33 -0
  15. package/lib/hbll-header/nav-bar-dropdown/nav-bar-dropdown.component.d.ts +18 -0
  16. package/lib/hbll-header/pipes/library-hours.pipe.d.ts +7 -0
  17. package/lib/hbll-header/pipes/truncate.pipe.d.ts +7 -0
  18. package/lib/header-with-impersonation/header-with-impersonation.component.d.ts +39 -0
  19. package/lib/impersonate-modal/impersonate-modal.component.d.ts +60 -0
  20. package/lib/impersonation-banner/impersonation-banner.component.d.ts +52 -0
  21. package/lib/impersonation-banner/models/application-access.d.ts +15 -0
  22. package/lib/impersonation-banner/models/person-summary.d.ts +33 -0
  23. package/lib/models/token-payload.d.ts +3 -0
  24. package/lib/multi-select/multi-select.component.d.ts +52 -0
  25. package/lib/pipes/hbll-item-type-icon.pipe.d.ts +17 -0
  26. package/lib/snackbar/snackbar.component.d.ts +67 -0
  27. package/lib/snackbar/snackbar.service.d.ts +20 -0
  28. package/lib/ss-search-bar/advanced-search/advanced-search.component.d.ts +216 -0
  29. package/lib/ss-search-bar/constants.d.ts +153 -0
  30. package/lib/ss-search-bar/date-range/date-range.component.d.ts +25 -0
  31. package/lib/ss-search-bar/models/advanced-search.model.d.ts +18 -0
  32. package/lib/ss-search-bar/models/search-config.model.d.ts +32 -0
  33. package/lib/ss-search-bar/models/search-scope.model.d.ts +4 -0
  34. package/lib/ss-search-bar/pipes/advanced-field-warning.pipe.d.ts +9 -0
  35. package/lib/ss-search-bar/pipes/advanced-queries.pipe.d.ts +12 -0
  36. package/lib/ss-search-bar/pipes/field-by-scope.pipe.d.ts +12 -0
  37. package/lib/ss-search-bar/simple-search/simple-search.component.d.ts +28 -0
  38. package/lib/ss-search-bar/ss-search-bar.component.d.ts +25 -0
  39. package/lib/ss-search-bar/utils.d.ts +7 -0
  40. package/lib/status-button/status-button.component.d.ts +47 -0
  41. package/lib/subatomic-components/button-group-item/button-group-item.component.d.ts +18 -0
  42. package/lib/utils.d.ts +5 -0
  43. package/package.json +3 -3
  44. package/public-api.d.ts +18 -0
@@ -0,0 +1,47 @@
1
+ import * as i0 from "@angular/core";
2
+ export type Status = 'success' | 'info' | 'warning' | 'error' | 'disabled';
3
+ export interface StatusButtonInputs {
4
+ label: string;
5
+ status?: Status;
6
+ leftIcon?: string;
7
+ rightIcon?: string;
8
+ hideLeftIcon?: boolean;
9
+ hideRightIcon?: boolean;
10
+ clearVariant?: boolean;
11
+ }
12
+ /**
13
+ * A button that indicates status with color and icon.
14
+ * Status can be one of: 'success', 'info', 'warning', 'error', or 'disabled'.
15
+ * Each status has a default left icon, but a custom left icon can be provided.
16
+ * A right icon can also be provided, defaulting to 'chevron_right'.
17
+ * The left and right icons can be hidden with the `hideLeftIcon` and `hideRightIcon` boolean inputs.
18
+ * A label input is required.
19
+ */
20
+ export declare class StatusButtonComponent {
21
+ private _status;
22
+ private _leftIcon;
23
+ private _rightIcon;
24
+ private _hideLeftIcon;
25
+ private _hideRightIcon;
26
+ private _clearVariant;
27
+ label: string;
28
+ set status(value: 'success' | 'info' | 'warning' | 'error' | 'disabled');
29
+ get status(): "success" | "info" | "warning" | "error" | "disabled";
30
+ set leftIcon(value: string);
31
+ get leftIcon(): string;
32
+ set rightIcon(value: string);
33
+ get rightIcon(): string;
34
+ set hideLeftIcon(value: boolean);
35
+ get hideLeftIcon(): boolean;
36
+ set hideRightIcon(value: boolean);
37
+ get hideRightIcon(): boolean;
38
+ set clearVariant(value: boolean);
39
+ get clearVariant(): boolean;
40
+ /** helper for default left icons */
41
+ private getDefaultLeftIcon;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusButtonComponent, never>;
43
+ 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>;
44
+ static ngAcceptInputType_hideLeftIcon: unknown;
45
+ static ngAcceptInputType_hideRightIcon: unknown;
46
+ static ngAcceptInputType_clearVariant: unknown;
47
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonGroupItemComponent {
4
+ id: string;
5
+ title?: string;
6
+ icon?: string;
7
+ ariaLabel?: string;
8
+ disabled: boolean;
9
+ position?: 'first' | 'last' | 'middle';
10
+ buttonClick: EventEmitter<string>;
11
+ isActive: boolean;
12
+ /**
13
+ * Handles the button click event and emits the button's ID to the parent component.
14
+ */
15
+ onClick(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupItemComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupItemComponent, "lib-button-group-item", never, { "id": { "alias": "id"; "required": true; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
18
+ }
package/lib/utils.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { BreakpointObserver } from '@angular/cdk/layout';
2
+ /**
3
+ * Signal that represents if the screen is small.
4
+ */
5
+ export declare const isScreenSmallSignal: (bo: BreakpointObserver) => import("@angular/core").Signal<boolean | undefined>;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@byuhbll/components",
3
- "version": "6.0.0-rc.1",
3
+ "version": "6.0.0-rc0.5",
4
4
  "peerDependencies": {
5
- "@angular/common": "^20.3.15",
6
- "@angular/core": "^20.3.15"
5
+ "@angular/common": "^19.2.17",
6
+ "@angular/core": "^19.2.17"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.6.2"
@@ -0,0 +1,18 @@
1
+ export * from './lib/hbll-header/hbll-header.component';
2
+ export * from './lib/pipes/hbll-item-type-icon.pipe';
3
+ export * from './lib/hbll-footer/hbll-footer.component';
4
+ export * from './lib/header-with-impersonation/header-with-impersonation.component';
5
+ export * from './lib/impersonate-modal/impersonate-modal.component';
6
+ export * from './lib/impersonation-banner/impersonation-banner.component';
7
+ export * from './lib/ss-search-bar/ss-search-bar.component';
8
+ export * from './lib/ss-search-bar/models/advanced-search.model';
9
+ export * from './lib/ss-search-bar/models/search-scope.model';
10
+ export * from './lib/ss-search-bar/models/search-config.model';
11
+ export * from './lib/snackbar/snackbar.service';
12
+ export * from './lib/snackbar/snackbar.component';
13
+ export { getUserStatusFromRoles } from './lib/contact-utils';
14
+ export { ADVANCED_SEARCH_QUALIFIER_MAP, ADVANCED_SEARCH_FIELD_MAP, ADVANCED_SEARCH_OPTIONS, } from './lib/ss-search-bar/constants';
15
+ export * from './lib/status-button/status-button.component';
16
+ export * from './lib/button/button.component';
17
+ export * from './lib/button-group/button-group.component';
18
+ export * from './lib/subatomic-components/button-group-item/button-group-item.component';