@ixfx/components 0.14.3 → 0.14.4

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/bundle/index.d.ts CHANGED
@@ -9,7 +9,7 @@ declare class IxfxIconElement extends LitElement {
9
9
  rotate: string;
10
10
  connectedCallback(): void;
11
11
  disconnectedCallback(): void;
12
- protected render(): import("lit").TemplateResult<1> | typeof nothing;
12
+ protected render(): typeof nothing | import("lit").TemplateResult<1>;
13
13
  protected updated(changed: Map<string, unknown>): void;
14
14
  static styles: import("lit").CSSResult[];
15
15
  }
@@ -596,7 +596,7 @@ declare class ButtonElement extends LitElement {
596
596
  * attribute).
597
597
  */
598
598
  value: boolean;
599
- protected _renderIcon(): import("lit").TemplateResult<1> | typeof nothing;
599
+ protected _renderIcon(): typeof nothing | import("lit").TemplateResult<1>;
600
600
  protected render(): import("lit").TemplateResult<1>;
601
601
  static styles: import("lit").CSSResult[];
602
602
  }
@@ -2101,7 +2101,7 @@ declare abstract class LabelledInputBase extends LitElement {
2101
2101
  value: number;
2102
2102
  }>) => void;
2103
2103
  protected _syncValue(v: number): void;
2104
- protected _renderEditableNumber(): import("lit").TemplateResult<1> | typeof nothing;
2104
+ protected _renderEditableNumber(): typeof nothing | import("lit").TemplateResult<1>;
2105
2105
  updated(changedProperties: Map<string, unknown>): void;
2106
2106
  }
2107
2107
  //#endregion
@@ -5792,7 +5792,7 @@ declare class SplitLayoutElement extends LitElement {
5792
5792
  private _onPointerUp;
5793
5793
  private _emitResize;
5794
5794
  private _emitChange;
5795
- protected render(): import("lit").TemplateResult<1> | typeof nothing;
5795
+ protected render(): typeof nothing | import("lit").TemplateResult<1>;
5796
5796
  private _getTrackSizes;
5797
5797
  private _resolveTracks;
5798
5798
  private _renderGutter;
@@ -7998,7 +7998,7 @@ declare class GroupedItemListerElement<T = unknown> extends LitElement {
7998
7998
  connectedCallback(): void;
7999
7999
  disconnectedCallback(): void;
8000
8000
  protected updated(changed: PropertyValues): void;
8001
- protected render(): import("lit").TemplateResult<1> | typeof nothing;
8001
+ protected render(): typeof nothing | import("lit").TemplateResult<1>;
8002
8002
  }
8003
8003
  declare global {
8004
8004
  interface HTMLElementTagNameMap {
@@ -9449,7 +9449,7 @@ declare class LabelledRadialInput extends LabelledInputBase {
9449
9449
  private _isWide;
9450
9450
  private _getEffectivePrecision;
9451
9451
  protected _handleResize(entries: ResizeObserverEntry[]): void;
9452
- protected _renderEditableNumber(): import("lit").TemplateResult<1> | typeof nothing;
9452
+ protected _renderEditableNumber(): typeof nothing | import("lit").TemplateResult<1>;
9453
9453
  render(): import("lit").TemplateResult<1>;
9454
9454
  private _getTooltipValue;
9455
9455
  static styles: CSSResultGroup;
@@ -10339,6 +10339,23 @@ interface PillRendererOptions {
10339
10339
  queueDisplay?: PillQueueDisplay;
10340
10340
  /** Extra margin (px) added to the default spacing on each side, letting pills avoid eg. a fixed header/footer/notch. */
10341
10341
  safeArea?: PillSafeArea;
10342
+ /**
10343
+ * Render the toasts in the browser's top layer (via the Popover API), so they
10344
+ * appear above modal `<dialog>` backdrops and other popovers regardless of any
10345
+ * `z-index`. Each time a new toast arrives the container is re-promoted, so a
10346
+ * dialog opened after earlier toasts doesn't keep covering later ones.
10347
+ * Browsers without the Popover API silently fall back to normal stacking.
10348
+ *
10349
+ * Caveat: a modal dialog makes the rest of the page inert, including toasts, so
10350
+ * they show above it but can't be clicked until it closes (timed dismissal is
10351
+ * unaffected). Default `true`. Set `false` to manage stacking yourself with `zIndex`.
10352
+ */
10353
+ topLayer?: boolean;
10354
+ /**
10355
+ * `z-index` for the toast layer when `topLayer` is `false`. Ignored otherwise.
10356
+ * Leave unset to take no part in z-ordering.
10357
+ */
10358
+ zIndex?: number;
10342
10359
  }
10343
10360
  declare function createPillRenderer(options?: PillRendererOptions): NotificationRenderer;
10344
10361
  //#endregion