@truenas/ui-components 0.1.34 → 0.1.35

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.
@@ -10817,7 +10817,7 @@ class TnToastComponent {
10817
10817
  message = signal('', ...(ngDevMode ? [{ debugName: "message" }] : []));
10818
10818
  action = signal(null, ...(ngDevMode ? [{ debugName: "action" }] : []));
10819
10819
  type = signal(TnToastType.Info, ...(ngDevMode ? [{ debugName: "type" }] : []));
10820
- position = signal(TnToastPosition.Bottom, ...(ngDevMode ? [{ debugName: "position" }] : []));
10820
+ position = signal(TnToastPosition.Top, ...(ngDevMode ? [{ debugName: "position" }] : []));
10821
10821
  visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
10822
10822
  icon = computed(() => TOAST_ICONS[this.type()], ...(ngDevMode ? [{ debugName: "icon" }] : []));
10823
10823
  onAction = () => { };
@@ -10908,7 +10908,7 @@ class TnToastService {
10908
10908
  }
10909
10909
  const duration = resolvedConfig.duration ?? 4000;
10910
10910
  const type = resolvedConfig.type ?? TnToastType.Info;
10911
- const position = resolvedConfig.position ?? TnToastPosition.Bottom;
10911
+ const position = resolvedConfig.position ?? TnToastPosition.Top;
10912
10912
  // Create ref
10913
10913
  const ref = new TnToastRef();
10914
10914
  this.activeRef = ref;