{"version":3,"file":"chunk-Toast.mjs","names":["useToastContext","createContext","useToastPrimitiveContext","ToastPrimitive","useToastContext","ToasterPrimitive","Icon.Icon"],"sources":["../../src/components/Toast/registry.ts","../../src/components/Toast/Toast.tsx"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\nimport { type CreateToasterReturn } from '@ark-ui/react/toast';\nimport { type ForwardedRef, type HTMLAttributes, type ReactNode } from 'react';\n\nimport { createContext } from '@dxos/react-hooks';\nimport { type ClassNameValue } from '@dxos/ui-types';\n\n// Kept out of `Toast.tsx`: react-refresh only fast-refreshes a module whose exports are all components.\n\n/** What a declared `Toast.Root` hands the toaster to render inside the machine's actor. */\nexport type ToastEntry = {\n  children: ReactNode;\n  classNames?: ClassNameValue;\n  props: HTMLAttributes<HTMLDivElement>;\n  ref: ForwardedRef<HTMLDivElement>;\n  /** Milliseconds the toast stays, for the countdown; `Infinity` for one that stays. */\n  countdown: number;\n};\n\n/**\n * The declared roots, keyed by toast id. An external store rather than React state, so a root re-registering on every\n * render re-renders the toaster alone, not the provider's subtree.\n */\nexport class ToastRegistry {\n  #entries = new Map<string, ToastEntry>();\n  #listeners = new Set<() => void>();\n  #version = 0;\n\n  get(id: string): ToastEntry | undefined {\n    return this.#entries.get(id);\n  }\n\n  set(id: string, entry: ToastEntry): void {\n    this.#entries.set(id, entry);\n    this.#notify();\n  }\n\n  delete(id: string): void {\n    if (this.#entries.delete(id)) {\n      this.#notify();\n    }\n  }\n\n  subscribe = (listener: () => void): (() => void) => {\n    this.#listeners.add(listener);\n    return () => this.#listeners.delete(listener);\n  };\n\n  getSnapshot = (): number => this.#version;\n\n  #notify(): void {\n    this.#version += 1;\n    this.#listeners.forEach((listener) => listener());\n  }\n}\n\nexport type ToastContextValue = {\n  toaster: CreateToasterReturn;\n  registry: ToastRegistry;\n  duration: number;\n};\n\nexport const [ToastContextProvider, useToastContext] = createContext<ToastContextValue>('Toast');\n","//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\n// Ark's toast machine is a store plus a `Toaster` host rather than a tree of roots. The declarative API is kept:\n// `Toast.Provider` owns the store, `Toast.Root` registers its content and mirrors `open` into the store, and\n// `Toast.Toaster` renders each registered root inside the machine's actor so the parts find their toast.\n\nimport {\n  Toaster as ToasterPrimitive,\n  type ToastOptions,\n  Toast as ToastPrimitive,\n  createToaster,\n  useToastContext as useToastPrimitiveContext,\n} from '@ark-ui/react/toast';\nimport React, {\n  type ComponentPropsWithRef,\n  type ReactNode,\n  forwardRef,\n  useEffect,\n  useId,\n  useMemo,\n  useRef,\n  useState,\n  useSyncExternalStore,\n} from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { useControllableState } from '@dxos/react-hooks';\nimport { mx } from '@dxos/ui-theme';\nimport { type ThemedClassName } from '@dxos/ui-types';\n\nimport { translationKey } from '#translations';\n\nimport { recipes } from '../../recipes.ts';\nimport { type Size } from '../../sizes.ts';\nimport { Button } from '../Button/Button.tsx';\nimport * as Icon from '../Icon/Icon.tsx';\nimport { Progress } from '../Progress/Progress.tsx';\nimport { ToastContextProvider, type ToastEntry, ToastRegistry, useToastContext } from './registry.ts';\n\nconst DEFAULT_DURATION = 5_000;\n\n/** Long enough for the exit transition in `toast.css` to finish before the machine drops the toast. */\nconst REMOVE_DELAY = 150;\n\n//\n// Provider\n//\n\ntype ToastProviderProps = {\n  children?: ReactNode;\n  /** Milliseconds a toast stays unless it says otherwise. */\n  duration?: number;\n  /** Open toasts pile up and expand under the pointer (default); `false` lays them out as rows. */\n  overlap?: boolean;\n};\n\nconst ToastProvider = ({ duration = DEFAULT_DURATION, overlap = true, children }: ToastProviderProps) => {\n  const [toaster] = useState(() =>\n    createToaster({\n      placement: 'bottom-end',\n      overlap,\n      gap: 8,\n      duration,\n      removeDelay: REMOVE_DELAY,\n      pauseOnPageIdle: true,\n      // The end offset widens at `md` (`toast.css`); the store takes a string, so a variable.\n      offsets: { top: '1rem', bottom: '1rem', left: '1rem', right: 'var(--dx-toast-offset-end, 1rem)' },\n    }),\n  );\n  const [registry] = useState(() => new ToastRegistry());\n  const context = useMemo(() => ({ toaster, registry, duration }), [toaster, registry, duration]);\n  return <ToastContextProvider {...context}>{children}</ToastContextProvider>;\n};\n\nToastProvider.displayName = 'Toast.Provider';\n\n//\n// Toaster\n//\n\ntype ToastToasterProps = ThemedClassName<\n  Omit<ComponentPropsWithRef<typeof ToasterPrimitive>, 'toaster' | 'children'>\n> & {\n  size?: Size;\n};\n\n/** Renders one registered root's content inside the machine's actor, as a popup-level panel. */\nconst ToastHost = ({ entry, size }: { entry: ToastEntry; size?: Size }) => {\n  const toast = useToastPrimitiveContext();\n  const timed = Number.isFinite(entry.countdown) && entry.countdown > 0;\n  return (\n    <ToastPrimitive.Root\n      {...entry.props}\n      data-surface='popup'\n      data-size={size}\n      className={mx(recipes.toast(), entry.classNames)}\n      ref={entry.ref}\n    >\n      {entry.children}\n      {timed && <Progress countdown={entry.countdown} paused={toast.paused} classNames={recipes.toastCountdown()} />}\n    </ToastPrimitive.Root>\n  );\n};\n\n/** Ark's region host; place one per app, after the content that declares toasts. */\nconst ToastToaster = forwardRef<HTMLDivElement, ToastToasterProps>(({ classNames, size, ...props }, forwardedRef) => {\n  const { toaster, registry } = useToastContext('Toast.Toaster');\n  useSyncExternalStore(registry.subscribe, registry.getSnapshot, registry.getSnapshot);\n  return (\n    <ToasterPrimitive {...props} toaster={toaster} className={mx(recipes.toaster(), classNames)} ref={forwardedRef}>\n      {(toast: ToastOptions) => {\n        const entry = toast.id === undefined ? undefined : registry.get(toast.id);\n        return entry ? <ToastHost entry={entry} size={size} /> : null;\n      }}\n    </ToasterPrimitive>\n  );\n});\n\nToastToaster.displayName = 'Toast.Toaster';\n\n//\n// Root\n//\n\ntype ToastRootProps = ThemedClassName<ComponentPropsWithRef<'div'>> & {\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?: (open: boolean) => void;\n  /** Milliseconds before the toast closes itself; `Infinity` for one that stays. */\n  duration?: number;\n};\n\n/**\n * Declares a toast. Renders nothing where it stands: the content is registered for the toaster, and `open` is\n * mirrored into the store, which reports a timeout or a close back as `onOpenChange`.\n */\nconst ToastRoot = forwardRef<HTMLDivElement, ToastRootProps>(\n  ({ classNames, children, open: openProp, defaultOpen = true, onOpenChange, duration, ...props }, forwardedRef) => {\n    const { toaster, registry, duration: providerDuration } = useToastContext('Toast.Root');\n    const id = useId();\n    const [open = true, setOpen] = useControllableState({\n      prop: openProp,\n      defaultProp: defaultOpen,\n      onChange: onOpenChange,\n    });\n    const countdown = duration ?? providerDuration;\n\n    // Whatever rendered last is what the toaster shows. A passive effect: the registry re-renders the toaster\n    // synchronously, which React refuses mid-commit.\n    useEffect(() => {\n      registry.set(id, { children, classNames, props, ref: forwardedRef, countdown });\n    });\n\n    // Read by the deferred store calls: StrictMode runs mount, cleanup, mount, and a cleanup that dismissed on its own\n    // would retire every toast the moment it appeared.\n    const alive = useRef(false);\n    useEffect(() => {\n      alive.current = true;\n      return () => {\n        alive.current = false;\n      };\n    }, []);\n\n    // Store calls leave the effect on a microtask: the store's React binding flushes synchronously when it publishes,\n    // which React refuses inside a lifecycle.\n    useEffect(() => {\n      let cancelled = false;\n      queueMicrotask(() => {\n        if (cancelled || !alive.current) {\n          return;\n        }\n        if (!open) {\n          if (toaster.isVisible(id)) {\n            toaster.dismiss(id);\n          }\n          return;\n        }\n        if (toaster.isVisible(id)) {\n          return;\n        }\n        // A toast still on its way out under this id would collide with the new one.\n        if (toaster.isDismissed(id)) {\n          toaster.remove(id);\n        }\n        toaster.create({\n          id,\n          duration: countdown,\n          // The root's `aria-labelledby` follows this; every toast renders a Title.\n          title: true,\n          onStatusChange: ({ status }) => {\n            if (status === 'dismissing') {\n              setOpen(false);\n            }\n            // The content stays registered until the machine has played the exit and retired its height.\n            if (status === 'unmounted') {\n              registry.delete(id);\n            }\n          },\n        });\n      });\n      return () => {\n        cancelled = true;\n      };\n    }, [open, id, toaster, countdown, setOpen, registry]);\n\n    // On unmount a visible toast is dismissed, not removed: removing drops the actor before it reports its height\n    // gone, and the pile keeps laying out around the phantom.\n    useEffect(\n      () => () => {\n        queueMicrotask(() => {\n          if (alive.current) {\n            return;\n          }\n          if (toaster.isVisible(id)) {\n            toaster.dismiss(id);\n          } else {\n            toaster.remove(id);\n            registry.delete(id);\n          }\n        });\n      },\n      [toaster, registry, id],\n    );\n\n    return null;\n  },\n);\n\nToastRoot.displayName = 'Toast.Root';\n\n//\n// Title\n//\n\ntype ToastTitleProps = ThemedClassName<ComponentPropsWithRef<typeof ToastPrimitive.Title>>;\n\nconst ToastTitle = forwardRef<HTMLDivElement, ToastTitleProps>(({ classNames, ...props }, forwardedRef) => (\n  <ToastPrimitive.Title {...props} className={mx(recipes.toastTitle(), classNames)} ref={forwardedRef} />\n));\n\nToastTitle.displayName = 'Toast.Title';\n\n//\n// CloseTrigger\n//\n\ntype ToastCloseTriggerProps = { label?: string };\n\n/** A ghost icon-only Button that dismisses the toast through the machine, reported as `onOpenChange(false)`. */\nconst ToastCloseTrigger = forwardRef<HTMLButtonElement, ToastCloseTriggerProps>(({ label }, forwardedRef) => {\n  const { t } = useTranslation(translationKey);\n  return (\n    <ToastPrimitive.CloseTrigger asChild>\n      <Button\n        variant='ghost'\n        icon='ph--x--regular'\n        iconOnly\n        label={label ?? t('toolbar-close.label')}\n        classNames={recipes.toastCloseTrigger()}\n        data-testid='toast.close'\n        ref={forwardedRef}\n      />\n    </ToastPrimitive.CloseTrigger>\n  );\n});\n\nToastCloseTrigger.displayName = 'Toast.CloseTrigger';\n\n//\n// Header\n//\n\ntype ToastHeaderProps = ThemedClassName<ComponentPropsWithRef<'div'>> & {\n  icon?: string;\n  /** Renders a trailing CloseTrigger; on by default. */\n  closable?: boolean;\n};\n\n/** A block row: an optional icon, the Title (children) and a close button. */\nconst ToastHeader = forwardRef<HTMLDivElement, ToastHeaderProps>(\n  ({ classNames, icon, closable = true, children, ...props }, forwardedRef) => (\n    <div\n      {...props}\n      data-scope='toast'\n      data-part='header'\n      className={mx(recipes.toastHeader(), classNames)}\n      ref={forwardedRef}\n    >\n      {icon && <Icon.Icon icon={icon} classNames={recipes.toastIcon()} />}\n      <ToastTitle>{children}</ToastTitle>\n      {closable && <ToastCloseTrigger />}\n    </div>\n  ),\n);\n\nToastHeader.displayName = 'Toast.Header';\n\n//\n// Description\n//\n\ntype ToastDescriptionProps = ThemedClassName<ComponentPropsWithRef<typeof ToastPrimitive.Description>>;\n\nconst ToastDescription = forwardRef<HTMLDivElement, ToastDescriptionProps>(({ classNames, ...props }, forwardedRef) => (\n  <ToastPrimitive.Description {...props} className={mx(recipes.toastDescription(), classNames)} ref={forwardedRef} />\n));\n\nToastDescription.displayName = 'Toast.Description';\n\n//\n// Footer\n//\n\ntype ToastFooterProps = ThemedClassName<ComponentPropsWithRef<'div'>>;\n\n/** A run of actions under the description. */\nconst ToastFooter = forwardRef<HTMLDivElement, ToastFooterProps>(({ classNames, ...props }, forwardedRef) => (\n  <div\n    {...props}\n    data-scope='toast'\n    data-part='footer'\n    className={mx(recipes.toastFooter(), classNames)}\n    ref={forwardedRef}\n  />\n));\n\nToastFooter.displayName = 'Toast.Footer';\n\n//\n// ActionTrigger\n//\n\ntype ToastActionTriggerProps = ComponentPropsWithRef<typeof Button>;\n\n/** A Button that runs the toast's action, after which the machine dismisses the toast. */\nconst ToastActionTrigger = forwardRef<HTMLButtonElement, ToastActionTriggerProps>((props, forwardedRef) => (\n  <ToastPrimitive.ActionTrigger asChild>\n    <Button {...props} ref={forwardedRef} />\n  </ToastPrimitive.ActionTrigger>\n));\n\nToastActionTrigger.displayName = 'Toast.ActionTrigger';\nexport type {\n  ToastActionTriggerProps as ActionTriggerProps,\n  ToastCloseTriggerProps as CloseTriggerProps,\n  ToastDescriptionProps as DescriptionProps,\n  ToastFooterProps as FooterProps,\n  ToastHeaderProps as HeaderProps,\n  ToastProviderProps as ProviderProps,\n  ToastRootProps as RootProps,\n  ToastTitleProps as TitleProps,\n  ToastToasterProps as ToasterProps,\n};\n\nexport {\n  ToastActionTrigger as ActionTrigger,\n  ToastCloseTrigger as CloseTrigger,\n  ToastDescription as Description,\n  ToastFooter as Footer,\n  ToastHeader as Header,\n  ToastProvider as Provider,\n  ToastRoot as Root,\n  ToastTitle as Title,\n  ToastToaster as Toaster,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AA0BA,IAAa,gBAAb,MAA2B;CACzB,2BAAW,IAAI,IAAwB;CACvC,6BAAa,IAAI,IAAgB;CACjC,WAAW;CAEX,IAAI,IAAoC;EACtC,OAAO,KAAK,SAAS,IAAI,EAAE;CAC7B;CAEA,IAAI,IAAY,OAAyB;EACvC,KAAK,SAAS,IAAI,IAAI,KAAK;EAC3B,KAAK,QAAQ;CACf;CAEA,OAAO,IAAkB;EACvB,IAAI,KAAK,SAAS,OAAO,EAAE,GACzB,KAAK,QAAQ;CAEjB;CAEA,aAAa,aAAuC;EAClD,KAAK,WAAW,IAAI,QAAQ;EAC5B,aAAa,KAAK,WAAW,OAAO,QAAQ;CAC9C;CAEA,oBAA4B,KAAK;CAEjC,UAAgB;EACd,KAAK,YAAY;EACjB,KAAK,WAAW,SAAS,aAAa,SAAS,CAAC;CAClD;AACF;AAQA,IAAa,CAAC,sBAAsBA,qBAAmBC,gBAAiC,OAAO;;;;;;;;;;;;;;ACtB/F,IAAM,mBAAmB;;AAGzB,IAAM,eAAe;AAcrB,IAAM,iBAAiB,EAAE,WAAW,kBAAkB,UAAU,MAAM,eAAmC;CACvG,MAAM,CAAC,WAAW,eAChB,cAAc;EACZ,WAAW;EACX;EACA,KAAK;EACL;EACA,aAAa;EACb,iBAAiB;EAEjB,SAAS;GAAE,KAAK;GAAQ,QAAQ;GAAQ,MAAM;GAAQ,OAAO;EAAmC;CAClG,CAAC,CACH;CACA,MAAM,CAAC,YAAY,eAAe,IAAI,cAAc,CAAC;CACrD,MAAM,UAAU,eAAe;EAAE;EAAS;EAAU;CAAS,IAAI;EAAC;EAAS;EAAU;CAAQ,CAAC;CAC9F,OAAO,oB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