@openfin/web-notifications 2.14.0-alpha-4606 → 2.14.0-alpha-4607

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.
@@ -1445,8 +1445,7 @@ type Immutable<T> = {
1445
1445
  };
1446
1446
 
1447
1447
  type NotificationCenterTheme = {
1448
- palette?: CustomPaletteSet;
1449
- scheme?: 'light' | 'dark';
1448
+ palette: CustomPaletteSet;
1450
1449
  };
1451
1450
  type NotificationCenterStartupOptions = {
1452
1451
  /**
@@ -1487,26 +1486,6 @@ type NotificationCenterInitOptions = NotificationCenterStartupOptions & {
1487
1486
  * The UI is optimized for containers with a width of 345px.
1488
1487
  */
1489
1488
  container: HTMLElement;
1490
- /**
1491
- * Optional container element for notification toasts. The toaster custom element
1492
- * is appended to this container and positioned relative to it. Defaults to
1493
- * `document.body` with fixed positioning when omitted.
1494
- * @optional
1495
- */
1496
- toastContainer?: HTMLElement;
1497
- /**
1498
- * Optional configuration for notification toasts. When provided, created notifications
1499
- * (with toast !== 'none') are displayed as toasts with the specified options.
1500
- * @optional
1501
- */
1502
- toastOptions?: WebToastOptions;
1503
- };
1504
- type WebToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
1505
- type WebToastOptions = {
1506
- /** Position of toasts within the toast container. Defaults to 'top-right'. */
1507
- position?: WebToastPosition;
1508
- /** Default duration in ms for transient toasts. Sticky toasts ignore this. */
1509
- duration?: number;
1510
1489
  };
1511
1490
  type CustomPaletteSet = DefaultPaletteSet & {
1512
1491
  functional1?: string;
@@ -1565,4 +1544,4 @@ declare function show(): Promise<void>;
1565
1544
  declare function hide(): Promise<void>;
1566
1545
 
1567
1546
  export { addNotificationCountListener, addVisibilityListener, applySnapshot, getSnapshot, hide, initNotificationCenter, removeNotificationCountListener, removeVisibilityListener, setTheme, show };
1568
- export type { CustomPaletteSet, DefaultPaletteSet, ListenerContext, NotificationCenterInitOptions, NotificationCenterSnapshot, NotificationCenterStartupOptions, NotificationCenterTheme, WebToastOptions, WebToastPosition };
1547
+ export type { CustomPaletteSet, DefaultPaletteSet, ListenerContext, NotificationCenterInitOptions, NotificationCenterSnapshot, NotificationCenterStartupOptions, NotificationCenterTheme };