components/InlineDialog.tsx

iota-sdk · web/chat-ui/src/components/InlineDialog.tsx · typescript · Apache-2.0
ui

Solid UI inline dialog components for Shadow DOM environments.

// Source: https://github.com/iota-uz/iota-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { splitProps } from 'solid-js';
import { Portal as HostPortal } from '@iota-uz/sdk/solid';
type HTMLAttributes<T> = import('solid-js').JSX.HTMLAttributes<T> & {
    className?: string;
};
import { type JSX, mergeProps, createSignal, createMemo, createEffect, on, onMount, onCleanup, untrack, createContext, useContext, lazy, Suspense, createUniqueId, Show, For } from "solid-js";
/**
 * InlineDialog — portal-free dialog components for Shadow DOM environments.
 *
 * Headless UI Dialog forcibly portals to document.body, escaping Shadow DOM
 * and losing all scoped styles. These compone

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key