@underlayerdev/ui 0.17.0 → 0.18.0

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": "@underlayerdev/ui",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -293,6 +293,49 @@ export declare class AvatarGroupComponent {
293
293
  };
294
294
  }, {}, never, never, true, never>;
295
295
  }
296
+ export type BannerTone = 'info' | 'alert' | 'confirm' | 'error';
297
+ /**
298
+ * An inline message that sits in the page flow (unlike a toast, it stays until
299
+ * dismissed or resolved) and can offer an action. Project the message as
300
+ * content, an optional heading as `[ul-banner-title]` and the buttons as
301
+ * `[ul-banner-actions]`.
302
+ */
303
+ export declare class BannerComponent {
304
+ tone: import("@angular/core").InputSignal<BannerTone>;
305
+ /** Replaces the icon the tone brings. */
306
+ icon: import("@angular/core").InputSignal<string | undefined>;
307
+ /** Shows a close button; the banner does not remove itself, the host listens to `dismissed`. */
308
+ dismissible: import("@angular/core").InputSignal<boolean>;
309
+ /** Accessible name of the close button: the host passes it translated. */
310
+ dismissLabel: import("@angular/core").InputSignal<string>;
311
+ dismissed: import("@angular/core").OutputEmitterRef<void>;
312
+ protected readonly resolvedIcon: import("@angular/core").Signal<string>;
313
+ static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
314
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "ul-banner", never, {
315
+ "tone": {
316
+ "alias": "tone";
317
+ "required": false;
318
+ "isSignal": true;
319
+ };
320
+ "icon": {
321
+ "alias": "icon";
322
+ "required": false;
323
+ "isSignal": true;
324
+ };
325
+ "dismissible": {
326
+ "alias": "dismissible";
327
+ "required": false;
328
+ "isSignal": true;
329
+ };
330
+ "dismissLabel": {
331
+ "alias": "dismissLabel";
332
+ "required": false;
333
+ "isSignal": true;
334
+ };
335
+ }, {
336
+ "dismissed": "dismissed";
337
+ }, never, ["[ul-banner-title]", "*", "[ul-banner-actions]"], true, never>;
338
+ }
296
339
  export interface BreadcrumbItem {
297
340
  label: string;
298
341
  href?: string;
@@ -3179,7 +3222,7 @@ export declare class StepperComponent {
3179
3222
  }, {}, never, never, true, never>;
3180
3223
  }
3181
3224
  export type ToastKind = 'info' | 'success' | 'warning' | 'error';
3182
- export declare const toastIcon: (kind: ToastKind) => "alert" | "check_circle" | "cross_circle" | "info";
3225
+ export declare const toastIcon: (kind: ToastKind) => "info" | "alert" | "check_circle" | "cross_circle";
3183
3226
  export interface ToastConfig {
3184
3227
  readonly id: string;
3185
3228
  readonly message: string;