/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { AlertVariant } from "./components/alert/seki-alert"; import { AttachmentOrientation, AttachmentSize, AttachmentState } from "./components/attachment/seki-attachment"; import { AttachmentMediaVariant } from "./components/attachment/seki-attachment-media"; import { AvatarShape, AvatarSize } from "./components/avatar/seki-avatar"; import { BadgeVariant } from "./components/badge/seki-badge.interface"; import { BubbleAlign, BubbleVariant } from "./components/bubble/seki-bubble"; import { BubbleReactionsAlign, BubbleReactionsSide } from "./components/bubble/seki-bubble-reactions"; import { CalendarMode, DateRange } from "./components/calendar/seki-calendar"; import { WeekStartsOn } from "./utils/calendar/date-utils"; import { CarouselContext } from "./components/carousel/seki-carousel"; import { ChartData, ChartOptions, ChartType } from "./components/chart/chart-types"; import { ChartLegendConfig } from "./components/chart-legend/seki-chart-legend"; import { ComboboxChangeEventDetail, ComboboxCustomValueEventDetail, ComboboxEmptyReason, ComboboxItem, ComboboxMultiSelectDisplay, ComboboxSearchEventDetail, ComboboxValue } from "./utils/combobox"; import { ColumnDef, ColumnReorderDetail, ColumnResizeDetail, ColumnsChangeDetail, FetchDataCallback, FilterChangeDetail, FilterValue, PageChangeDetail, RenderExpandedRowCallback, RowClickDetail, RowExpandDetail, SelectionChangeDetail, SortChangeDetail } from "./components/data-table/interfaces"; import { DatePickerMode, DateRange as DateRange1 } from "./components/date-picker/seki-date-picker"; import { DrawerDirection } from "./components/drawer/seki-drawer-content"; import { DropdownMenuAlign, DropdownMenuSide } from "./components/dropdown-menu/seki-dropdown-menu"; import { DropdownMenuAlign as DropdownMenuAlign1, DropdownMenuSide as DropdownMenuSide1 } from "./components/dropdown-menu/seki-dropdown-menu"; import { HoverCardAlign, HoverCardSide } from "./components/hover-card/seki-hover-card"; import { HoverCardAlign as HoverCardAlign1, HoverCardSide as HoverCardSide1 } from "./components/hover-card/seki-hover-card"; import { Event } from "./stencil-public-runtime"; import { MarkerVariant } from "./components/marker/seki-marker.interface"; import { MenubarContentAlign, MenubarContentSide } from "./components/menubar/types"; import { MessageAlign } from "./components/message/seki-message"; import { ScrollPosition } from "./utils/message-scroller"; import { ScrollerEdgeDetail, ScrollerVisibilityDetail } from "./components/message-scroller/seki-message-scroller"; import { NavigationMenuContext } from "./components/navigation-menu/seki-navigation-menu"; import { PopoverAlign, PopoverSide } from "./components/popover/seki-popover"; import { PopoverAlign as PopoverAlign1, PopoverSide as PopoverSide1 } from "./components/popover/seki-popover"; import { SelectChangeEventDetail, SelectPlacement, SelectValidateEventDetail, SelectValue } from "./utils/select"; import { SeparatorOrientation } from "./components/separator/seki-separator.interface"; import { SheetSide } from "./components/sheet/seki-sheet-content"; import { SidebarStateChangeDetail } from "./components/sidebar/seki-sidebar-provider"; import { SonnerPosition } from "./components/sonner/seki-sonner"; import { SpinnerColor, SpinnerSize } from "./components/spinner/seki-spinner.interface"; import { TableCellAlign } from "./components/table/seki-table-cell"; import { TableHeadAlign } from "./components/table/seki-table-head"; import { ToastPosition } from "./components/toast/seki-toaster"; import { ToggleGroupValueChangeEventDetail } from "./utils/toggle-group"; import { TooltipHideDetail, TooltipPositionedDetail, TooltipShowDetail, TooltipSide } from "./components/tooltip/seki-tooltip"; export { AlertVariant } from "./components/alert/seki-alert"; export { AttachmentOrientation, AttachmentSize, AttachmentState } from "./components/attachment/seki-attachment"; export { AttachmentMediaVariant } from "./components/attachment/seki-attachment-media"; export { AvatarShape, AvatarSize } from "./components/avatar/seki-avatar"; export { BadgeVariant } from "./components/badge/seki-badge.interface"; export { BubbleAlign, BubbleVariant } from "./components/bubble/seki-bubble"; export { BubbleReactionsAlign, BubbleReactionsSide } from "./components/bubble/seki-bubble-reactions"; export { CalendarMode, DateRange } from "./components/calendar/seki-calendar"; export { WeekStartsOn } from "./utils/calendar/date-utils"; export { CarouselContext } from "./components/carousel/seki-carousel"; export { ChartData, ChartOptions, ChartType } from "./components/chart/chart-types"; export { ChartLegendConfig } from "./components/chart-legend/seki-chart-legend"; export { ComboboxChangeEventDetail, ComboboxCustomValueEventDetail, ComboboxEmptyReason, ComboboxItem, ComboboxMultiSelectDisplay, ComboboxSearchEventDetail, ComboboxValue } from "./utils/combobox"; export { ColumnDef, ColumnReorderDetail, ColumnResizeDetail, ColumnsChangeDetail, FetchDataCallback, FilterChangeDetail, FilterValue, PageChangeDetail, RenderExpandedRowCallback, RowClickDetail, RowExpandDetail, SelectionChangeDetail, SortChangeDetail } from "./components/data-table/interfaces"; export { DatePickerMode, DateRange as DateRange1 } from "./components/date-picker/seki-date-picker"; export { DrawerDirection } from "./components/drawer/seki-drawer-content"; export { DropdownMenuAlign, DropdownMenuSide } from "./components/dropdown-menu/seki-dropdown-menu"; export { DropdownMenuAlign as DropdownMenuAlign1, DropdownMenuSide as DropdownMenuSide1 } from "./components/dropdown-menu/seki-dropdown-menu"; export { HoverCardAlign, HoverCardSide } from "./components/hover-card/seki-hover-card"; export { HoverCardAlign as HoverCardAlign1, HoverCardSide as HoverCardSide1 } from "./components/hover-card/seki-hover-card"; export { Event } from "./stencil-public-runtime"; export { MarkerVariant } from "./components/marker/seki-marker.interface"; export { MenubarContentAlign, MenubarContentSide } from "./components/menubar/types"; export { MessageAlign } from "./components/message/seki-message"; export { ScrollPosition } from "./utils/message-scroller"; export { ScrollerEdgeDetail, ScrollerVisibilityDetail } from "./components/message-scroller/seki-message-scroller"; export { NavigationMenuContext } from "./components/navigation-menu/seki-navigation-menu"; export { PopoverAlign, PopoverSide } from "./components/popover/seki-popover"; export { PopoverAlign as PopoverAlign1, PopoverSide as PopoverSide1 } from "./components/popover/seki-popover"; export { SelectChangeEventDetail, SelectPlacement, SelectValidateEventDetail, SelectValue } from "./utils/select"; export { SeparatorOrientation } from "./components/separator/seki-separator.interface"; export { SheetSide } from "./components/sheet/seki-sheet-content"; export { SidebarStateChangeDetail } from "./components/sidebar/seki-sidebar-provider"; export { SonnerPosition } from "./components/sonner/seki-sonner"; export { SpinnerColor, SpinnerSize } from "./components/spinner/seki-spinner.interface"; export { TableCellAlign } from "./components/table/seki-table-cell"; export { TableHeadAlign } from "./components/table/seki-table-head"; export { ToastPosition } from "./components/toast/seki-toaster"; export { ToggleGroupValueChangeEventDetail } from "./utils/toggle-group"; export { TooltipHideDetail, TooltipPositionedDetail, TooltipShowDetail, TooltipSide } from "./components/tooltip/seki-tooltip"; export namespace Components { /** * Accordion root component that manages expanded state of items */ interface SekiAccordion { /** * Whether all items can be closed in single mode * @default false */ "collapsible": boolean; /** * Default value for uncontrolled usage */ "defaultValue"?: string | string[]; /** * Disable all accordion items * @default false */ "disabled": boolean; /** * Toggle an item's open state */ "toggleItem": (itemValue: string) => Promise; /** * Accordion type - single allows only one item open, multiple allows many * @default 'single' */ "type": 'single' | 'multiple'; /** * Controlled value - which items are open */ "value"?: string | string[]; } /** * Accordion content container with animated height transition */ interface SekiAccordionContent { } /** * Individual accordion item container */ interface SekiAccordionItem { /** * Disable this specific item * @default false */ "disabled": boolean; /** * Unique value for this item */ "value": string; } /** * Trigger button for accordion item - click to toggle */ interface SekiAccordionTrigger { } /** * Alert component for displaying contextual feedback messages. * Supports icons, titles, and descriptions with multiple visual variants. * @example * Heads up! * You can add components using the CLI. * * @example * ... * Error * Your session has expired. * */ interface SekiAlert { /** * Visual variant of the alert * @default 'default' */ "variant"?: AlertVariant; } /** * Description text within an alert component. * Renders supporting text with appropriate typography styles. * @example * Heads up! * * You can add components to your app using the CLI. * * */ interface SekiAlertDescription { /** * Optional CSS class for custom styling */ "class"?: string; } /** * Alert Dialog root component for confirmation dialogs * A modal dialog that interrupts the user with important content and expects a response. * Wraps seki-dialog internally with Alert Dialog-specific behavior. */ interface SekiAlertDialog { /** * Closes the alert dialog */ "closeDialog": () => Promise; /** * Default open state (uncontrolled) * @default false */ "defaultOpen": boolean; /** * Controlled open state * @default false */ "open": boolean; /** * Opens the alert dialog */ "openDialog": () => Promise; } /** * Alert Dialog Action Button Component * A button that confirms and closes the alert dialog. Supports default and destructive variants * for different action types. Emits a sekiAction event before closing. */ interface SekiAlertDialogAction { /** * The visual variant of the action button - 'default': Primary button style for standard confirmations - 'destructive': Red/danger style for destructive actions * @default 'default' */ "variant": 'default' | 'destructive'; } /** * Alert Dialog Cancel Button Component * A button that cancels and closes the alert dialog without confirming the action. * Emits a sekiCancel event before closing. */ interface SekiAlertDialogCancel { } /** * Alert Dialog Content Component * The content panel for the alert dialog with role="alertdialog". * This is a modal dialog that interrupts the user with important content * and expects a response. Unlike regular dialogs, it does NOT close on * overlay click - users must explicitly confirm or cancel. */ interface SekiAlertDialogContent { /** * Whether pressing Escape closes the alert dialog * @default true */ "closeOnEscape": boolean; } /** * Alert Dialog Trigger Component * The element that opens the alert dialog when clicked. */ interface SekiAlertDialogTrigger { } /** * Title text within an alert component. * Renders as a heading with appropriate typography styles. * @example * Heads up! * */ interface SekiAlertTitle { /** * Optional CSS class for custom styling */ "class"?: string; } /** * Aspect Ratio component for maintaining consistent aspect ratios */ interface SekiAspectRatio { /** * The desired aspect ratio as a number (width / height) Common values: 16/9 (widescreen), 4/3 (standard), 1 (square), 21/9 (ultrawide) * @default 1 */ "ratio": number; } /** * seki-attachment: File/image attachment card with metadata, upload states, * and actions — for chat composers, message threads, and upload lists. * The card is a positioned surface that composes `seki-attachment-media` * (icon or image preview), `seki-attachment-content` (title + description), * and optional `seki-attachment-actions` / `seki-attachment-trigger` overlays. * A `seki-attachment-trigger` fills the whole card behind the actions row so * the two interaction layers stay independently focusable and clickable. * The `uploading` and `processing` states apply a shimmer sweep across the * card (with a static muted fallback under `prefers-reduced-motion`); the * `error` state paints a destructive border and title. Group several cards * into a horizontally scrollable row with `seki-attachment-group`. * @component Attachment * @example * 📄 * * sales-dashboard.pdf * 2.4 MB · PDF * * * ✕ * * */ interface SekiAttachment { /** * Layout orientation. `horizontal` places the media beside the content; `vertical` stacks the media above the content (image previews). Reflected to the host attribute. * @default 'horizontal' */ "orientation": AttachmentOrientation; /** * Visual density of the card. Reflected to the host attribute. * @default 'default' */ "size": AttachmentSize; /** * Upload/lifecycle state of the attachment. `uploading` and `processing` shimmer the card; `error` paints a destructive border and title. Reflected to the host attribute. * @default 'done' */ "state": AttachmentState; } /** * seki-attachment-action: Icon button for a `seki-attachment` (remove, * download, retry, …). * Renders a minimal internal ghost button sized to match `seki-button`'s * icon scale (roughly `icon-xs`). Slot a single icon glyph. The native click * composes out of the shadow root, so listen for `click` on the element. * Accessibility: an `aria-label` is required and MUST name both the action and * the file, e.g. `label="Remove sales-dashboard.pdf"`. * @component AttachmentAction * @example ✕ */ interface SekiAttachmentAction { /** * Whether the action is disabled. Forwarded to the internal button. * @default false */ "disabled": boolean; /** * Accessible label naming the action and the file it acts on (e.g. "Remove sales-dashboard.pdf"). Required — icon-only buttons have no visible text. */ "label"?: string; /** * Button type attribute. * @default 'button' */ "type": 'button' | 'submit' | 'reset'; } /** * seki-attachment-actions: Trailing action cluster for a `seki-attachment`. * Holds one or more `seki-attachment-action` icon buttons. It establishes a * stacking context above any `seki-attachment-trigger` overlay so the actions * stay independently clickable and focusable while the trigger covers the rest * of the card. * @component AttachmentActions * @example * ⬇ * ✕ * */ interface SekiAttachmentActions { } /** * seki-attachment-content: Text column of a `seki-attachment` card. * Stacks a `seki-attachment-title` above a `seki-attachment-description` and * takes the remaining inline space, shrinking so the title can truncate. * @component AttachmentContent * @example * report.pdf * 1.2 MB · PDF * */ interface SekiAttachmentContent { } /** * seki-attachment-description: Secondary metadata line of a `seki-attachment`. * Renders at extra-small, muted type — use it for size, type, upload progress, * or, in the `error` state, the human-readable failure reason (so the error is * conveyed by text, not colour alone). * @component AttachmentDescription * @example Upload failed — file exceeds 10 MB */ interface SekiAttachmentDescription { } /** * seki-attachment-group: Horizontally scrollable row of `seki-attachment` * cards for chat composers and message threads. * Scrolls on the x-axis with proximity scroll-snap and a soft edge fade. It is * presentational, so it exposes `role="group"` with a required `label` to name * the collection for assistive tech; individual cards remain independently * tab-reachable. * @component AttachmentGroup * @example * … * … * */ interface SekiAttachmentGroup { /** * Accessible name for the presentational row (applied as `aria-label` on the `role="group"` host), e.g. "Attachments". */ "label"?: string; } /** * seki-attachment-media: Leading media box for a `seki-attachment` card. * `icon` renders a fixed-size muted square that centers a slotted icon * (emoji, SVG, or `seki-*` icon). `image` renders a preview box that a * slotted `` fills with `object-fit: cover`. In a vertical attachment * the parent stretches the box into a full-width preview banner via inherited * custom properties — no orientation prop is needed here. * @component AttachmentMedia * @example * Screenshot preview * */ interface SekiAttachmentMedia { /** * Media kind. `icon` is a muted square with a centered glyph; `image` is a cover-filled preview box. Reflected to the host attribute. * @default 'icon' */ "variant": AttachmentMediaVariant; } /** * seki-attachment-title: File name / primary label of a `seki-attachment`. * Renders at small, medium-weight type and truncates with an ellipsis when it * overflows. On the parent's `error` state the colour switches to destructive * automatically via an inherited custom property. * @component AttachmentTitle * @example sales-dashboard.pdf */ interface SekiAttachmentTitle { } /** * seki-attachment-trigger: Full-card overlay button for a `seki-attachment`. * Stretches across the whole card (absolute inset) to make the entire card * activatable — e.g. to open a preview dialog. It is layered *behind* * `seki-attachment-actions` so per-item actions (remove, download) stay * independently clickable; both layers remain in the tab order with no focus * trap. * Accessibility: an `aria-label` is required and MUST describe what activation * does, e.g. `label="Preview sales-dashboard.pdf"`. * @component AttachmentTrigger * @example * …media / content… * * … * */ interface SekiAttachmentTrigger { /** * Whether the trigger is disabled. Forwarded to the internal button. * @default false */ "disabled": boolean; /** * Accessible label describing what activating the card does (e.g. "Preview sales-dashboard.pdf"). Required — the overlay has no visible text of its own. */ "label"?: string; } /** * seki-avatar: Container for avatar image with fallback support * @component Avatar * @example * * JD * */ interface SekiAvatar { /** * Shape of the avatar * @default 'circle' */ "shape": AvatarShape; /** * Size of the avatar * @default 'md' */ "size": AvatarSize; } /** * seki-avatar-fallback: Fallback content for avatar when image fails to load * @component AvatarFallback * @example * * JD * */ interface SekiAvatarFallback { /** * Delay in milliseconds before showing the fallback Useful to avoid flickering when image loads quickly * @default 0 */ "delayMs": number; } /** * seki-avatar-image: Image element for the avatar with load/error handling * @component AvatarImage * @example * * JD * */ interface SekiAvatarImage { /** * Alt text for the avatar image * @default '' */ "alt"?: string; /** * Source URL of the avatar image */ "src"?: string; } /** * seki-badge: Presentational badge component for displaying small pieces of information * @component Badge * @example Label * * ℹ * Secondary * */ interface SekiBadge { /** * Maximum limit for number badge If number exceeds this, shows "max+" instead Only used when number prop is set * @default undefined */ "max"?: number; /** * Number to display in the badge When set, displays the number instead of text content * @default undefined */ "number"?: number; /** * Enable rounded pill styling * @default false */ "rounded"?: boolean; /** * Visual variant of the badge * @default 'default' */ "variant"?: BadgeVariant; } /** * seki-breadcrumb: Root breadcrumb navigation component * @component Breadcrumb * @example * * * Home * * * * Current * * * */ interface SekiBreadcrumb { /** * Accessible label for the breadcrumb navigation * @default 'breadcrumb' */ "label"?: string; } /** * seki-breadcrumb-ellipsis: Collapsed state indicator for long breadcrumbs * @component BreadcrumbEllipsis */ interface SekiBreadcrumbEllipsis { } /** * seki-breadcrumb-item: Individual breadcrumb item wrapper * @component BreadcrumbItem */ interface SekiBreadcrumbItem { } /** * seki-breadcrumb-link: Navigable link in breadcrumb * @component BreadcrumbLink */ interface SekiBreadcrumbLink { /** * URL for the breadcrumb link */ "href"?: string; /** * Target for the link */ "target"?: string; } /** * seki-breadcrumb-list: Container for breadcrumb items * @component BreadcrumbList */ interface SekiBreadcrumbList { } /** * seki-breadcrumb-page: Current page indicator (non-interactive) * @component BreadcrumbPage */ interface SekiBreadcrumbPage { } /** * seki-breadcrumb-separator: Visual separator between breadcrumb items * @component BreadcrumbSeparator */ interface SekiBreadcrumbSeparator { } /** * seki-bubble: Message-bubble surface for chat interfaces. * The bubble is the aligned, width-capped surface that carries the visual * variant. Compose it with `seki-bubble-content` for the message body and * `seki-bubble-reactions` for an optional reactions row. Group consecutive * bubbles with `seki-bubble-group`. * @component Bubble * @example * Hey, how are you? * */ interface SekiBubble { /** * Horizontal alignment within the container. `end` right-aligns (sender); `start` left-aligns (receiver). * @default 'start' */ "align": BubbleAlign; /** * Visual variant of the bubble surface. `ghost` is unframed and spans full width (for markdown/code output). * @default 'default' */ "variant": BubbleVariant; } /** * seki-bubble-content: Message body region inside a `seki-bubble`. * Slot-based — it inherits the bubble's colour and applies the message * typography. For interactive bubbles, slot a real `` or ``) stay reachable and announced; static emoji * text inside is still read. Pass `label` to name the group for assistive * technology (e.g. "Reactions: thumbs up and 2 more"); `aria-label` is only * applied when `label` is set. * @component BubbleReactions * @example * Nice work! * * 👍 2 ❤️ 1 * * */ interface SekiBubbleReactions { /** * Horizontal alignment of the reactions row against the bubble edge. * @default 'end' */ "align": BubbleReactionsAlign; /** * Accessible label describing the reactions, applied as `aria-label`. */ "label"?: string; /** * Which bubble edge the reactions anchor to. * @default 'bottom' */ "side": BubbleReactionsSide; } interface SekiButton { /** * Accessible label for screen readers. Required for icon-only buttons. */ "ariaLabel"?: string; /** * Whether the button is disabled * @default false */ "disabled": boolean; /** * Size of the button. Use icon-sm, icon, or icon-lg for icon-only buttons. * @default 'md' */ "size": 'sm' | 'md' | 'lg' | 'icon-sm' | 'icon' | 'icon-lg'; /** * Button type attribute * @default 'button' */ "type": 'button' | 'submit' | 'reset'; /** * Visual style variant of the button * @default 'primary' */ "variant": 'primary' | 'secondary' | 'outline' | 'ghost' | 'destructive' | 'link'; } interface SekiButtonGroup { /** * Accessible label for the button group */ "ariaLabel"?: string; /** * Layout direction of the button group * @default 'horizontal' */ "orientation": 'horizontal' | 'vertical'; /** * Size applied to all child buttons (optional) */ "size"?: 'sm' | 'md' | 'lg'; } /** * seki-calendar: A calendar component for date selection * @component Calendar * @example * */ interface SekiCalendar { /** * Dates that are disabled */ "disabledDates"?: Date[] | string[]; /** * Whether to fix the number of weeks displayed * @default false */ "fixedWeeks": boolean; /** * Maximum selectable date */ "maxDate"?: Date | string; /** * Minimum selectable date */ "minDate"?: Date | string; /** * Selection mode: single date or date range * @default 'single' */ "mode": CalendarMode; /** * Number of months to display * @default 1 */ "numberOfMonths": number; /** * Start of date range (for range mode) */ "rangeFrom"?: Date | string; /** * End of date range (for range mode) */ "rangeTo"?: Date | string; /** * Currently selected date (for single mode) */ "selected"?: Date | string; /** * Whether to show days outside the current month * @default true */ "showOutsideDays": boolean; /** * Day the week starts on (0 = Sunday, 1 = Monday, etc.) * @default 0 */ "weekStartsOn": WeekStartsOn; } /** * Flexible container for organizing related content with optional header, * content, and footer sections. Composition-based using subcomponents. * @example * * Title * * Content here * */ interface SekiCard { /** * Optional CSS class for custom styling hooks */ "class"?: string; /** * Optional data attribute for testing */ "dataTestid"?: string; } /** * Optional action area within card header for buttons or menus. * Provides flex layout with automatic right-alignment. * @example * * */ interface SekiCardAction { /** * Optional CSS class */ "class"?: string; } /** * Main content body of the card. * Flexible container for any content (text, forms, lists, etc.) * @example * * * */ interface SekiCardContent { /** * Optional CSS class */ "class"?: string; } /** * Secondary descriptive text below the card title. * Renders as paragraph with muted text color. * @example Description text */ interface SekiCardDescription { /** * Optional CSS class */ "class"?: string; } /** * Bottom section of a card for action buttons or footer content. * Provides flex layout with optional alignment control. * @example * * * */ interface SekiCardFooter { /** * Flex alignment for footer items. Default: flex-start Options: flex-start, center, flex-end * @default 'flex-start' */ "alignment": Alignment; /** * Optional CSS class */ "class"?: string; } /** * Header section of a card, typically containing title and description. * Provides flex layout for arranging title + action elements. * @example * Title * Description * * * * */ interface SekiCardHeader { /** * Optional CSS class for custom styling */ "class"?: string; } /** * Primary heading text within a card header. * Renders as semantic heading (h1-h6) with typography tokens. * @example My Card Title */ interface SekiCardTitle { /** * Optional CSS class */ "class"?: string; /** * Semantic heading level (h1-h6). Default: h2 * @default 'h2' */ "level": HeadingLevel; } interface SekiCarousel { /** * Accessible label for the carousel * @default 'Carousel' */ "ariaLabel": string; /** * Enable autoplay * @default false */ "autoplay": boolean; /** * Autoplay delay in milliseconds * @default 4000 */ "autoplayDelay": number; /** * Enable momentum/free scrolling * @default false */ "dragFree": boolean; /** * Get the carousel context for child components */ "getContext": () => Promise; /** * Get the currently selected slide index */ "getSelectedIndex": () => Promise; /** * Scroll to a specific slide index */ "goToSlide": (index: number) => Promise; /** * Enable infinite loop scrolling * @default false */ "loop": boolean; /** * Pause autoplay on hover * @default true */ "pauseOnHover": boolean; /** * Scroll to the next slide */ "scrollNext": () => Promise; /** * Scroll to the previous slide */ "scrollPrev": () => Promise; /** * Number of slides to scroll at once * @default 1 */ "slidesToScroll": number; /** * Initial slide index * @default 0 */ "startIndex": number; } /** * Container for carousel slides. This component serves as the viewport * for the Embla carousel. */ interface SekiCarouselContent { } /** * Dot indicators for carousel navigation. * Automatically syncs with parent seki-carousel. */ interface SekiCarouselDots { } /** * Individual carousel slide item. */ interface SekiCarouselItem { /** * Width of the item as CSS flex-basis. Examples: '100%' (full width), '50%' (half), '33.33%' (third) * @default '100%' */ "basis": string; } /** * Next slide navigation button. * Automatically connects to parent seki-carousel. */ interface SekiCarouselNext { } /** * Previous slide navigation button. * Automatically connects to parent seki-carousel. */ interface SekiCarouselPrevious { } interface SekiChart { "colors"?: string[]; "data"?: ChartData; "dataJson"?: string; /** * Display pie/doughnut charts with a cutout (donut style) * @default false */ "donut": boolean; /** * Apply a gradient fill to line/area chart datasets * @default false */ "gradient": boolean; /** * @default '300px' */ "height": string; /** * Hide tick labels on x and y axes * @default false */ "hideAxes": boolean; /** * Hide grid lines on x and y axes * @default false */ "hideGrid": boolean; /** * Hide the chart legend * @default false */ "hideLegend": boolean; /** * Hide tooltips on hover * @default false */ "hideTooltip": boolean; /** * Display bar charts horizontally (sets indexAxis to 'y') * @default false */ "horizontal": boolean; "options"?: ChartOptions; "optionsJson"?: string; /** * Stack datasets on top of each other (bar/line/area charts) * @default false */ "stacked": boolean; /** * @default 'line' */ "type": ChartType; } /** * seki-chart-legend: A standalone legend component for charts. * Renders a list of colored dot indicators paired with labels. * Designed to complement the seki-chart component but can be used independently. * @component ChartLegend * @example * // Set config via JS: * legend.config = { items: [{ label: 'Revenue', color: '#3b82f6' }] }; */ interface SekiChartLegend { /** * Legend configuration containing an array of items with label and color. Must be set via JavaScript property (not HTML attribute). */ "config"?: ChartLegendConfig; /** * Layout orientation of the legend items. * @default 'horizontal' */ "orientation": 'horizontal' | 'vertical'; } /** * @component seki-checkbox * @description A checkbox control that allows users to toggle between checked, unchecked, * and optionally indeterminate states. Supports form integration and full accessibility. * @example * * */ interface SekiCheckbox { /** * ID of element describing this checkbox. */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers. */ "ariaLabel"?: string; /** * Checked state. In HTML this attribute is the *initial* state (as with ``) and the component keeps it in step with user interaction. Assigning the property at any time drives the state, so a host framework can still fully control the checkbox — including vetoing a user toggle by writing the previous value back in its `sekiChange` handler. */ "checked"?: boolean; /** * Initial checked state for uncontrolled mode. Ignored if checked prop is provided. * @default false */ "defaultChecked": boolean; /** * Disables all interactions when true. * @default false */ "disabled": boolean; /** * Whether the checkbox is in an indeterminate state. * @default false */ "indeterminate": boolean; /** * Form field name for form integration. */ "name"?: string; /** * Marks checkbox as required for form validation. * @default false */ "required": boolean; /** * Value sent in form data when checkbox is checked. Defaults to 'on'. * @default 'on' */ "value": string; } interface SekiCollapsible { /** * Initial open state (uncontrolled) * @default false */ "defaultOpen": boolean; /** * Whether the collapsible is disabled * @default false */ "disabled": boolean; /** * Whether the collapsible is open (controlled) * @default false */ "open": boolean; /** * Close the collapsible */ "setClose": () => Promise; /** * Open the collapsible */ "setOpen": () => Promise; /** * Toggle the collapsible open state */ "toggle": () => Promise; } /** * Collapsible content container with animated height transition */ interface SekiCollapsibleContent { } /** * Trigger button for Collapsible component */ interface SekiCollapsibleTrigger { /** * Render as child - wraps content in a button or uses slotted element * @default false */ "asChild": boolean; } interface SekiCombobox { /** * Allow values not in the list * @default false */ "allowCustomValue": boolean; /** * ID of element that describes this combobox */ "ariaDescribedby"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * ID of element that labels this combobox */ "ariaLabelledby"?: string; /** * Clear all selections */ "clearSelection": () => Promise; /** * Programmatically close the dropdown */ "closeDropdown": () => Promise; /** * Debounce delay for search (ms) * @default 300 */ "debounce": number; /** * Initial dropdown open state (uncontrolled mode) * @default false */ "defaultOpen": boolean; /** * Initial selected value (uncontrolled mode) */ "defaultValue"?: ComboboxValue; /** * Disable component * @default false */ "disabled": boolean; /** * Static items for client-side filtering */ "items"?: ComboboxItem[]; /** * Set loading state externally (for async) * @default false */ "loading": boolean; /** * Multi-select display mode * @default 'chips' */ "multiSelectDisplay": ComboboxMultiSelectDisplay; /** * Enable multi-select mode * @default false */ "multiple": boolean; /** * Form field name for form submission */ "name"?: string; /** * Control dropdown open state (controlled mode) */ "open"?: boolean; /** * Programmatically open the dropdown */ "openDropdown": () => Promise; /** * Placeholder text * @default 'Search...' */ "placeholder": string; /** * Mark as required * @default false */ "required": boolean; /** * Set the search query programmatically */ "setQuery": (query: string) => Promise; /** * Current selected value (controlled mode) */ "value"?: ComboboxValue; } interface SekiComboboxContent { /** * Maximum height of the dropdown * @default '15rem' */ "maxHeight": string; } /** * seki-combobox-empty: Display empty/loading/error states for combobox dropdown * @component ComboboxEmpty * @example * No results found. * * @example * Loading... * */ interface SekiComboboxEmpty { /** * The reason why the combobox is showing an empty state * @default 'no-results' */ "reason": ComboboxEmptyReason; } interface SekiComboboxGroup { /** * Show even when every item in the group is filtered out * @default false */ "forceMount": boolean; /** * Group label */ "label": string; } interface SekiComboboxInput { } interface SekiComboboxItem { /** * Disable this item * @default false */ "disabled": boolean; /** * Item value */ "value": string; } /** * Command root component - command palette for navigation */ interface SekiCommand { /** * Enable built-in filtering * @default true */ "filter": boolean; /** * Controlled search value * @default '' */ "value": string; } /** * Command empty state - shown when no results match */ interface SekiCommandEmpty { } /** * Command group - groups related items with a heading */ interface SekiCommandGroup { /** * Show even when all items are filtered out * @default false */ "forceMount": boolean; /** * Group header text */ "heading": string; } /** * Command input - search field for filtering items */ interface SekiCommandInput { /** * Focus the input */ "focusInput": () => Promise; /** * Placeholder text * @default 'Type a command or search...' */ "placeholder": string; } /** * Command item - selectable option in the command list */ interface SekiCommandItem { /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * Additional search terms (space-separated) */ "keywords"?: string; /** * Keyboard shortcut hint (e.g., "⌘K") */ "shortcut"?: string; /** * Unique value emitted on select. Optional: when omitted it falls back to the item's own text, so plain-HTML usage (`Profile`) emits something meaningful instead of `undefined`. */ "value"?: string; } /** * Command list - scrollable container for items and groups */ interface SekiCommandList { } /** * Command separator/divider */ interface SekiCommandSeparator { } /** * Context Menu component - right-click context menu with items */ interface SekiContextMenu { /** * Close the menu */ "closeMenu": () => Promise; /** * Controlled open state * @default false */ "open": boolean; /** * Open the menu at specified coordinates * @param x - X coordinate (typically from mouse event) * @param y - Y coordinate (typically from mouse event) */ "openMenu": (x: number, y: number) => Promise; } /** * Context Menu content panel - displays at cursor position */ interface SekiContextMenuContent { /** * Accessible label for the menu */ "ariaLabel"?: string; } /** * Context Menu trigger component * Handles right-click (desktop) and long-press (touch) to open context menu */ interface SekiContextMenuTrigger { /** * Whether the trigger is disabled * @default false */ "disabled": boolean; /** * Duration in milliseconds for long press on touch devices * @default 500 */ "longPressDuration": number; /** * Movement threshold in pixels before canceling long press * @default 10 */ "moveThreshold": number; } interface SekiDataTable { /** * Buffer rows above/below viewport * @default 5 */ "bufferSize": number; /** * Clear all filters */ "clearAllFilters": () => Promise; /** * Clear a specific filter */ "clearFilter": (field: string) => Promise; /** * Clear all selections */ "clearSelection": () => Promise; /** * Show column visibility picker * @default false */ "columnPicker": boolean; /** * Column definitions (JSON array) * @default '[]' */ "columns": string | ColumnDef[]; /** * Message when no data * @default 'No data' */ "emptyMessage": string; /** * Enable expandable row details * @default false */ "expandable": boolean; /** * Callback to fetch data. Set it as a JS property. Assigning or replacing it (re)loads the table. Must be a * @Prop : in the lazy-loader build only decorated members are proxied from the host element to the instance. */ "fetchData"?: FetchDataCallback; /** * Get current filter state */ "getFilters": () => Promise>; /** * Get currently selected row keys */ "getSelectedKeys": () => Promise; /** * Get currently selected row objects */ "getSelectedRows": () => Promise[]>; /** * Show loading state * @default false */ "loading": boolean; /** * Allow multiple rows expanded at once * @default false */ "multiExpand": boolean; /** * Rows per page * @default 50 */ "pageSize": number; /** * Page size dropdown options * @default '[25, 50, 100]' */ "pageSizeOptions": string | number[]; /** * Refresh data */ "refresh": () => Promise; /** * Callback to render expanded row content (must be a * @Prop , see fetchData) */ "renderExpandedRow"?: RenderExpandedRowCallback; /** * Fixed row height for virtualization * @default 48 */ "rowHeight": number; /** * Field that uniquely identifies each row * @default 'id' */ "rowKey": string; /** * Search debounce delay in ms * @default 300 */ "searchDebounce": number; /** * Fields to include in global search * @default '[]' */ "searchFields": string | string[]; /** * Search input placeholder * @default 'Search...' */ "searchPlaceholder": string; /** * Show global search input * @default false */ "searchable": boolean; /** * Select all rows on current page */ "selectAll": () => Promise; /** * Select rows by keys */ "selectRows": (keys: string[]) => Promise; /** * Enable row selection with checkboxes * @default false */ "selectable": boolean; /** * Set a filter value */ "setFilter": (field: string, value: FilterValue) => Promise; /** * Enable virtualized rendering * @default false */ "virtualScroll": boolean; } /** * seki-date-picker: A date picker component with popover calendar * @component DatePicker * @example * */ interface SekiDatePicker { /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * ARIA label for accessibility */ "ariaLabel"?: string; /** * Close the date picker popover */ "closeDatePicker": () => Promise; /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen": boolean; /** * Whether the date picker is disabled * @default false */ "disabled": boolean; /** * Format string for displaying the date * @default 'PPP' */ "displayFormat": string; /** * Maximum selectable date */ "maxDate"?: Date | string; /** * Minimum selectable date */ "minDate"?: Date | string; /** * Selection mode: single date or date range * @default 'single' */ "mode": DatePickerMode; /** * Form field name. In single mode the submitted value is `YYYY-MM-DD`. In range mode two entries are submitted: `-from` and `-to` (each `YYYY-MM-DD`; an unset end is omitted). */ "name"?: string; /** * Controlled open state of the popover. Also readable/writable as the `open` attribute, so `` renders open with no script involved. * @default false */ "open": boolean; /** * Open the date picker popover */ "openDatePicker": () => Promise; /** * Placeholder text when no date is selected * @default 'Pick a date' */ "placeholder": string; /** * Start of date range (for range mode) */ "rangeFrom"?: Date | string; /** * End of date range (for range mode) */ "rangeTo"?: Date | string; /** * Whether the field is required * @default false */ "required": boolean; /** * Toggle the date picker popover */ "toggleDatePicker": () => Promise; /** * Currently selected date (for single mode) */ "value"?: Date | string; } /** * Dialog root component for modal dialogs */ interface SekiDialog { /** * Closes the dialog */ "closeDialog": () => Promise; /** * Default open state * @default false */ "defaultOpen": boolean; /** * Whether the dialog is modal (traps focus, blocks scroll) * @default true */ "modal": boolean; /** * Controlled open state * @default false */ "open": boolean; /** * Opens the dialog */ "openDialog": () => Promise; } /** * Dialog close button */ interface SekiDialogClose { } /** * Dialog content panel */ interface SekiDialogContent { /** * Whether pressing Escape closes the dialog * @default true */ "closeOnEscape": boolean; } /** * Dialog description */ interface SekiDialogDescription { } /** * Dialog footer container */ interface SekiDialogFooter { } /** * Dialog header container */ interface SekiDialogHeader { } /** * Dialog overlay (backdrop) * Works inside `seki-dialog` and inside `seki-alert-dialog`. In an alert * dialog a click on the overlay never closes it (shadcn/Radix: alert dialogs * close only via Cancel, Action or Escape). */ interface SekiDialogOverlay { /** * Whether clicking the overlay closes the dialog. Ignored inside `seki-alert-dialog`, which an overlay click never closes. * @default true */ "closeOnClick": boolean; } /** * Dialog title */ interface SekiDialogTitle { } /** * Dialog trigger button */ interface SekiDialogTrigger { } /** * seki-direction: Direction provider for RTL/LTR text direction * @component Direction * @example * Button * */ interface SekiDirection { /** * Text direction * @default 'ltr' */ "dir": 'ltr' | 'rtl'; } /** * seki-drawer: Mobile-friendly drawer component with swipe gestures * @component Drawer * @example * * Open Drawer * * * * Title * * Content here * * */ interface SekiDrawer { /** * Closes the drawer */ "closeDrawer": () => Promise; /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen": boolean; /** * Controlled open state. Also readable/writable as the `open` attribute, so `` renders open with no script involved. * @default false */ "open": boolean; /** * Opens the drawer */ "openDrawer": () => Promise; /** * Snaps to a specific point (0-1) */ "snapTo": (point: number) => Promise; /** * Toggles the drawer */ "toggleDrawer": () => Promise; } /** * seki-drawer-content: Container for drawer content with gesture support * @component DrawerContent */ interface SekiDrawerContent { /** * Accessible label for the drawer */ "ariaLabel"?: string; /** * Distance threshold (0-1) to trigger close when dragging * @default 0.5 */ "closeThreshold": number; /** * Direction the drawer slides in from * @default 'bottom' */ "direction": DrawerDirection; /** * Show the drag handle indicator Default: true for bottom/top, false for left/right */ "showHandle"?: boolean; /** * Comma-separated snap points (0-1). E.g., "0.5,1" for half and full open * @default '1' */ "snapPoints": string; /** * Velocity threshold (px/s) to trigger close on quick swipe * @default 500 */ "velocityThreshold": number; } /** * Dropdown Menu component - context menu with items */ interface SekiDropdownMenu { /** * Alignment along the side * @default 'start' */ "align": DropdownMenuAlign; /** * Close the menu */ "closeMenu": () => Promise; /** * Default open state * @default false */ "defaultOpen": boolean; /** * Controlled open state * @default false */ "open": boolean; /** * Open the menu */ "openMenu": () => Promise; /** * Preferred side for placement * @default 'bottom' */ "side": DropdownMenuSide; /** * Offset from trigger * @default 4 */ "sideOffset": number; } /** * Dropdown Menu checkbox item */ interface SekiDropdownMenuCheckbox { /** * Whether the checkbox is checked * @default false */ "checked": boolean; /** * Whether the item is disabled * @default false */ "disabled": boolean; } /** * Dropdown Menu content panel */ interface SekiDropdownMenuContent { /** * Override align from parent */ "align"?: DropdownMenuAlign1; /** * Override side from parent */ "side"?: DropdownMenuSide1; /** * Offset from trigger * @default 4 */ "sideOffset": number; } /** * Dropdown Menu item */ interface SekiDropdownMenuItem { /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * Add left padding for icon alignment * @default false */ "inset": boolean; } /** * Dropdown Menu label for grouping items */ interface SekiDropdownMenuLabel { /** * Add left padding for icon alignment * @default false */ "inset": boolean; } /** * Dropdown Menu radio item */ interface SekiDropdownMenuRadio { /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * The value of this radio item */ "value": string; } /** * Dropdown Menu radio group container */ interface SekiDropdownMenuRadioGroup { /** * The value of the selected radio item */ "value"?: string; } /** * Dropdown Menu separator/divider */ interface SekiDropdownMenuSeparator { } /** * Dropdown Menu keyboard shortcut display */ interface SekiDropdownMenuShortcut { } /** * Dropdown Menu Sub - A submenu component for nested dropdown menus */ interface SekiDropdownMenuSub { /** * Delay in milliseconds before closing the submenu on mouse leave * @default 100 */ "closeDelay": number; /** * Delay in milliseconds before opening the submenu on hover * @default 100 */ "openDelay": number; } /** * Dropdown Menu trigger button */ interface SekiDropdownMenuTrigger { } /** * seki-empty: Empty state placeholder component * @component Empty * @example * 📭 * No results found. * Clear filters * */ interface SekiEmpty { /** * Description text for the empty state */ "description"?: string; /** * Title text for the empty state */ "heading"?: string; } interface SekiField { /** * Whether the field is in an invalid/error state Applies data-invalid attribute for styling * @default false */ "invalid": boolean; /** * Layout orientation for the field - vertical: Label above control (default) - horizontal: Label beside control - responsive: Horizontal on wide screens, vertical on narrow * @default 'vertical' */ "orientation": 'vertical' | 'horizontal' | 'responsive'; } interface SekiFieldDescription { /** * Unique ID for this description element Auto-generated if not provided Used for aria-describedby references */ "descriptorId"?: string; /** * Get the component's ID Useful for dynamically setting aria-describedby attributes */ "getId": () => Promise; } interface SekiFieldError { /** * Unique ID for this error element Auto-generated if not provided Used for aria-describedby references */ "errorId"?: string; /** * Get the component's ID Useful for dynamically setting aria-describedby attributes */ "getId": () => Promise; /** * Programmatically show/hide the error message */ "setVisible": (visible: boolean) => Promise; /** * Whether the error message is visible Controls display and announcement behavior * @default true */ "visible": boolean; } interface SekiFieldGroup { /** * Gap between fields Accepts any valid CSS length value (px, rem, em, etc.) * @default '1rem' */ "gap": string; } interface SekiFieldLabel { /** * ID of the form control this label is for Resolved in the label's own root node (not this component's shadow root), so it reaches light-DOM controls. Falls back to the control nested in the label. */ "htmlFor"?: string; /** * Whether the field is required Displays a required indicator (*) after the label text * @default false */ "required": boolean; } interface SekiFieldLegend { } interface SekiFieldset { /** * Whether all fields in the fieldset are disabled When true, cascades disabled state to all nested form controls * @default false */ "disabled": boolean; } /** * Hover Card Container Component * A hover-triggered card component for previewing content (e.g., user profiles, link previews). * Shows a floating card with rich content when hovering over a trigger element. * This container manages state and timing, providing context to child components * (seki-hover-card-trigger and seki-hover-card-content). * @example ```html * * * @john * * *
* John's avatar *

John Doe

*

Software Engineer at Acme Inc.

*
*
* * ``` */ interface SekiHoverCard { /** * Alignment along the side axis * @default 'center' */ "align": HoverCardAlign; /** * Milliseconds to delay before closing the hover card * @default 300 */ "closeDelay": number; /** * Close the hover card immediately, skipping `closeDelay` */ "closeHoverCard": () => Promise; /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen": boolean; /** * Disable hover card interactions * @default false */ "disabled": boolean; /** * Controlled open state. Reflects to the `open` attribute, so `` renders open with no script involved. * @default false */ "open": boolean; /** * Milliseconds to delay before opening the hover card * @default 200 */ "openDelay": number; /** * Open the hover card immediately, skipping `openDelay` */ "openHoverCard": () => Promise; /** * Preferred side for hover card content placement * @default 'bottom' */ "side": HoverCardSide; } /** * Hover Card Content Component * The floating content panel that displays when the hover card is open. * Handles positioning, viewport boundary collision, arrow placement, * and interaction handlers to maintain open state while user interacts with content. * @example ```html * *
* Avatar *

John Doe

*

Software Engineer

*
*
* ``` */ interface SekiHoverCardContent { /** * Override the alignment from the parent container */ "align"?: HoverCardAlign1; /** * Offset along the alignment axis in pixels * @default 0 */ "alignOffset": number; /** * Override the side positioning from the parent container */ "side"?: HoverCardSide1; /** * Distance from the trigger element in pixels * @default 8 */ "sideOffset": number; } /** * Hover Card Trigger Component * The trigger element that activates the hover card on hover, focus, or touch. * Handles mouse, keyboard, and touch interactions with appropriate behavior for each. * @example ```html * * @john * * ``` */ interface SekiHoverCardTrigger { } interface SekiInput { /** * ID of element describing this input */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * Autocomplete attribute */ "autocomplete"?: string; /** * Whether the input is disabled * @default false */ "disabled": boolean; /** * Whether the input is in an invalid/error state * @default false */ "invalid": boolean; /** * Maximum value (for number/date inputs) */ "max"?: string | number; /** * Maximum length */ "maxlength"?: number; /** * Minimum value (for number/date inputs) */ "min"?: string | number; /** * Minimum length */ "minlength"?: number; /** * Name attribute for form submission */ "name"?: string; /** * Validation pattern (regex) */ "pattern"?: string; /** * Placeholder text */ "placeholder"?: string; /** * Whether the input is readonly * @default false */ "readonly": boolean; /** * Whether the input is required * @default false */ "required": boolean; /** * Size variant * @default 'md' */ "size": 'sm' | 'md' | 'lg'; /** * Step value (for number inputs) */ "step"?: string | number; /** * Input type (text, email, password, number, tel, url, date, file, etc.) * @default 'text' */ "type": string; /** * Current value of the input * @default '' */ "value"?: string; } interface SekiInputAddon { /** * Size variant (usually set by parent input-group) * @default 'md' */ "size": 'sm' | 'md' | 'lg'; } interface SekiInputGroup { /** * Accessible label for the input group */ "ariaLabel"?: string; /** * Whether all children are disabled * @default false */ "disabled": boolean; /** * Size applied to all child components (input, addon, button) * @default 'md' */ "size": 'sm' | 'md' | 'lg'; } interface SekiInputOtp { /** * ID of element describing this input */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Custom aria-label for the input */ "ariaLabel"?: string; /** * Autocomplete hint for mobile keyboards * @default 'one-time-code' */ "autocomplete": string; /** * Whether the input is disabled * @default false */ "disabled": boolean; /** * Whether the input is in an invalid/error state * @default false */ "invalid": boolean; /** * Whether to mask the input (show bullets) * @default false */ "masked": boolean; /** * Total number of characters allowed * @default 6 */ "maxlength": number; /** * Form field name */ "name"?: string; /** * Input pattern: 'digits' for numbers only, 'alphanumeric' for letters and numbers * @default 'digits' */ "pattern": 'digits' | 'alphanumeric'; /** * Whether the input is required * @default false */ "required": boolean; /** * Current OTP value * @default '' */ "value": string; } interface SekiInputOtpGroup { } interface SekiInputOtpSeparator { } interface SekiInputOtpSlot { /** * The index of this slot (0-based) */ "index": number; } /** * seki-item: Composable base item for lists and menus * @component Item * @example * 📄 * Document title * New * */ interface SekiItem { /** * Whether the item is in active/selected state * @default false */ "active": boolean; /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * Whether the item is interactive (clickable/focusable) * @default true */ "interactive": boolean; /** * Visual variant of the item * @default 'default' */ "variant": 'default' | 'inset'; } interface SekiKbd { /** * Size variant of the kbd element * @default 'md' */ "size": 'sm' | 'md' | 'lg'; } /** * seki-label: A styled label component for form elements * @component Label * @example Email Address * Username * Disabled Field */ interface SekiLabel { /** * When true, applies disabled styling (muted color, not-allowed cursor). * @default false */ "disabled"?: boolean; /** * The ID of the form element this label is associated with. Resolved in the label's own root node (document or shadow root), not in this component's shadow root, so it reaches light-DOM controls. Without it, the first control nested inside the label is used. */ "for"?: string; /** * When true, renders a required indicator (*) after the label text. * @default false */ "required"?: boolean; } /** * seki-marker: Inline conversation status indicator, system note, or * labeled separator for chat threads. * Consumers control ARIA semantics by setting `role` directly on the host * tag (e.g. `role="status"` for announced progress) — this works natively * since the role applies to the custom element itself, not its shadow tree. * @component Marker * @example * ... * Explored 4 files * * * Today * */ interface SekiMarker { /** * Visual variant of the marker * @default 'default' */ "variant"?: MarkerVariant; } /** * seki-marker-content: Text content wrapper for seki-marker, with optional * shimmer effect for streaming status text (e.g. "Thinking…"). * @component MarkerContent * @example Today * Thinking… */ interface SekiMarkerContent { /** * Applies a gradient-sweep shimmer animation to the slotted text. Intended for streaming/in-progress status content. Respects prefers-reduced-motion. * @default false */ "shimmer"?: boolean; } /** * seki-marker-icon: Decorative icon wrapper for seki-marker * @component MarkerIcon * @example * ... * Explored 4 files * */ interface SekiMarkerIcon { } /** * Menubar - horizontal menu bar with dropdown menus */ interface SekiMenubar { /** * Whether arrow keys wrap around * @default true */ "loop": boolean; } /** * Menubar checkbox item - toggleable menu option */ interface SekiMenubarCheckbox { /** * Whether the checkbox is checked * @default false */ "checked": boolean; /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * Keyboard shortcut hint */ "shortcut"?: string; } /** * Menubar content - dropdown content container */ interface SekiMenubarContent { /** * Alignment along the side * @default 'start' */ "align": MenubarContentAlign; /** * Preferred side for placement * @default 'bottom' */ "side": MenubarContentSide; /** * Offset from trigger * @default 4 */ "sideOffset": number; } /** * Menubar group - groups related menu items with optional label */ interface SekiMenubarGroup { /** * Optional group label */ "label"?: string; } /** * Menubar item - selectable menu option */ interface SekiMenubarItem { /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * Add left padding for alignment with icons * @default false */ "inset": boolean; /** * Keyboard shortcut hint (e.g., "⌘K") */ "shortcut"?: string; /** * Value emitted when item is selected */ "value"?: string; } /** * Menubar menu - individual menu container */ interface SekiMenubarMenu { /** * Unique identifier for this menu. Optional: when omitted, one is generated and reflected onto the host. Requiring the author to supply it made every plain-HTML menubar inert, because the trigger resolves its menu through `closest('seki-menubar-menu').getAttribute('menu-id')` and bailed on null. */ "menuId"?: string; } /** * Menubar radio item - single-select option */ interface SekiMenubarRadio { /** * Whether the item is disabled * @default false */ "disabled": boolean; /** * The value of this radio item */ "value": string; } /** * Menubar radio group - container for radio items */ interface SekiMenubarRadioGroup { /** * The value of the selected radio item */ "value"?: string; } /** * Menubar separator - visual divider between menu items */ interface SekiMenubarSeparator { } /** * Menubar shortcut - displays keyboard shortcut hint */ interface SekiMenubarShortcut { } /** * Menubar sub - submenu container with hover behavior */ interface SekiMenubarSub { /** * Delay before closing on mouse leave (ms) * @default 100 */ "closeDelay": number; /** * Delay before opening on hover (ms) * @default 100 */ "openDelay": number; } /** * Menubar sub content - submenu content container */ interface SekiMenubarSubContent { /** * Offset from trigger * @default 2 */ "sideOffset": number; } /** * Menubar sub trigger - opens submenu on hover */ interface SekiMenubarSubTrigger { /** * Whether the trigger is disabled * @default false */ "disabled": boolean; /** * Add left padding for alignment * @default false */ "inset": boolean; } /** * Menubar trigger - button that opens a menu */ interface SekiMenubarTrigger { /** * Whether the trigger is disabled * @default false */ "disabled": boolean; } /** * seki-message: Row-level layout for a single chat message. * Lays out an optional `seki-message-avatar` alongside a `seki-message-content` * column (header, bubble, footer). The `align` prop drives the whole row: `end` * flips the row so the avatar sits on the right and the content is * right-aligned (sender messages), while `start` keeps the avatar on the left * (receiver / assistant messages). * Alignment flows to the child parts purely through CSS — `align` is reflected * to the host attribute and the row sets an inherited `text-align`, so the * header and footer align themselves without any cross-component JS or * `closest()` lookups. * @component Message * @example * * AI * * * Assistant * * How can I help? * * * */ interface SekiMessage { /** * Horizontal orientation of the message row. `end` places the avatar on the right and right-aligns the content (sender); `start` keeps the avatar on the left (receiver). * @default 'start' */ "align": MessageAlign; } /** * seki-message-avatar: Avatar column for a `seki-message` row. * Wraps a `seki-avatar` (or any avatar-sized element) and reserves a fixed * column width so consecutive rows stay aligned. Leave it empty on earlier * rows of a `seki-message-group` to keep the column spacing without repeating * the avatar. * @component MessageAvatar * @example * * * AL * * */ interface SekiMessageAvatar { } /** * seki-message-content: Vertical content column of a `seki-message`. * Stacks an optional `seki-message-header`, the message body (typically a * `seki-bubble`), and an optional `seki-message-footer`. It takes the remaining * row width; the bubble self-aligns via its own `align`, and the header/footer * align through the row's inherited `text-align`. * @component MessageContent * @example * Ada · 12:04 * * Shipped it. * * Delivered * */ interface SekiMessageContent { } /** * seki-message-footer: Metadata / action row below the message body. * Holds small muted metadata (e.g. "Delivered") or icon-only actions such as * copy, retry, and feedback. Compose actions with `seki-button size="icon"` and * give each an `aria-label`. It aligns with the parent `seki-message` * automatically through the row's inherited `text-align`. * @component MessageFooter * @example * … * … * */ interface SekiMessageFooter { } /** * seki-message-group: Stacks consecutive messages from the same sender. * Tightens the vertical gap between rows so a run of messages reads as a single * conversation turn. To keep the bubbles aligned, give the earlier rows an * empty `seki-message-avatar` (it reserves the avatar column width) and place * the real avatar on the last row of the run. * @component MessageGroup * @example * * * * * First * * * * * * ME * * * * Second * * * * */ interface SekiMessageGroup { } /** * seki-message-header: Muted metadata row above the message body. * Holds the sender name and/or timestamp in small, muted text. It aligns with * the parent `seki-message` automatically through the row's inherited * `text-align`, so no `align` prop is needed here. * @component MessageHeader * @example Ada Lovelace · 12:04 */ interface SekiMessageHeader { } /** * seki-message-scroller: streaming chat-transcript container (shadcn/ui parity). * The scroller keeps a streamed reply pinned to the bottom while the reader is * at the live edge, never fights an upward scroll, preserves the reading * position when older history is prepended, and drives a jump-to-end button. * It merges shadcn's `MessageScrollerProvider` + `MessageScroller` into one host * element because Stencil has no React context — this host owns *all* scroll * state. * ## Composition * ```html * * * * … * … * * * ↓ * * ``` * ## Implementation notes * All dynamic behaviour (follow-output, prepend preservation, edge/visibility * detection, edge-state attributes read by the button) is applied **directly to * the DOM** from observer/scroll callbacks rather than through Stencil `@State` * + `render()`. This mirrors shadcn's imperative design — rows must never * re-render mid-scroll — and deliberately side-steps the confirmed re-render bug * (#244) where a `@State` bump from an event/observer callback does not reliably * re-invoke `render()`. `render()` here runs exactly once, at mount. * @component MessageScroller */ interface SekiMessageScroller { /** * Follow streamed output while the reader is at the live edge. Any upward user scroll disengages following until the bottom is reached again. * @default true */ "autoScroll": boolean; /** * Where to position the transcript on first mount. `last-anchor` scrolls the last `scroll-anchor` row to the top. * @default 'end' */ "defaultScrollPosition": ScrollPosition; /** * Current edge state — exposed so children/tests can read it without touching internal state. */ "getEdgeState": () => Promise; /** * Pixels of the previous turn kept visible above an anchored row when resolving `last-anchor` / `scrollToMessage`. * @default 0 */ "scrollPreviousItemPeek": number; /** * Scroll to the live edge and re-engage follow-output. */ "scrollToEnd": () => Promise; /** * Scroll a row (by `message-id`) to the top of the viewport, minus peek. Resolves to whether the row was found. */ "scrollToMessage": (id: string) => Promise; /** * Scroll to the very top. */ "scrollToStart": () => Promise; /** * Compute and emit `sekiScrollerVisibilityChange`. Off by default so the IntersectionObserver only runs when a consumer actually needs visibility. * @default false */ "trackVisibility": boolean; } /** * seki-message-scroller-button: jump-to-edge control for the transcript. * Finds its scroller via `closest('seki-message-scroller')`, listens to * `sekiScrollerEdgeChange`, and shows itself only when there is somewhere to * jump to. When inactive it is `inert`, `tabindex="-1"`, `data-active="false"`, * so it leaves no dead focus stop. * ## Why the active-state update is imperative * The active state is toggled by mutating attributes **directly on the host** * (`this.el`) from the edge-change listener — it is deliberately NOT routed * through a Stencil `@State` bump + `render()`. This is the confirmed-broken * shape from #244: a component that reads a parent's state via `closest()` + * `addEventListener` + a `@State` bump does not reliably re-invoke `render()`. * Mutating the DOM directly here side-steps Stencil's render cycle entirely and * is guaranteed to apply. * @component MessageScrollerButton */ interface SekiMessageScrollerButton { /** * Which edge this button jumps to. `end` (default) is the classic jump-to-latest; `start` jumps to the top of the history. * @default 'end' */ "direction": 'end' | 'start'; /** * Accessible label for the button. * @default 'Jump to latest messages' */ "label": string; } /** * seki-message-scroller-content: the `role="log"` list of message rows. * Announces additions to assistive tech (`aria-relevant="additions"`). Consumers * can set `aria-busy` on this element during a stream to defer announcements * until the reply settles. * @component MessageScrollerContent */ interface SekiMessageScrollerContent { /** * Accessible label for the log region. * @default 'Message log' */ "label": string; } /** * seki-message-scroller-item: a single row boundary in the transcript. * Wraps one conversation turn (typically a `seki-message`). `message-id` is the * stable identifier used by `scrollToMessage` and visibility tracking; * `scroll-anchor` marks turn boundaries (usually the user's messages) that * `default-scroll-position="last-anchor"` targets. Both props reflect to * attributes so the parent scroller can query them from light DOM. * Rows opt into `content-visibility: auto` for cheap off-screen skipping in long * transcripts; the intrinsic-size fallback keeps the scrollbar stable. * @component MessageScrollerItem */ interface SekiMessageScrollerItem { /** * Stable row identifier for `scrollToMessage` and visibility tracking. */ "messageId"?: string; /** * Marks this row as a turn boundary (target for `last-anchor`). * @default false */ "scrollAnchor": boolean; } /** * seki-message-scroller-viewport: the scrollable element of the transcript. * The host element *is* the scroll container (`:host { overflow-y: auto }`), so * its `scrollTop` / `scrollHeight` / `clientHeight` are directly readable by the * parent `seki-message-scroller` from light DOM — no reaching across a shadow * boundary. Slotted rows stay in light DOM, so the parent's ResizeObserver / * MutationObserver / IntersectionObserver measure them reliably; this is why * `shadow: true` is kept here rather than falling back to `scoped` (the carousel * escape hatch was unnecessary). * @component MessageScrollerViewport */ interface SekiMessageScrollerViewport { /** * Accessible label for the scroll region. * @default 'Messages' */ "label": string; /** * When older rows are prepended, adjust `scrollTop` by the added height so the visible row doesn't jump. Read by the parent scroller. * @default true */ "preserveScrollOnPrepend": boolean; } /** * seki-native-select: Styled native HTML select wrapper * Uses the browser's native select dropdown for better mobile UX and accessibility. * Unlike seki-select (which uses a custom dropdown), this component wraps a native * ``) and the component keeps it in step with dragging. Assigning the property at any time drives the value, so a host framework can still fully control the slider — including vetoing a drag by writing the previous value back in its `sekiInput`/`sekiChange` handler. */ "value"?: number; } interface SekiSonner { /** * Default duration in ms for each toast. 0 means persistent. * @default 4000 */ "duration": number; /** * Position of the toast container on the screen * @default 'bottom-right' */ "position": SonnerPosition; } /** * Spinner component for loading states */ interface SekiSpinner { /** * Accessible label for screen readers * @default 'Loading' */ "ariaLabel": string; /** * Color variant of the spinner * @default 'default' */ "color": SpinnerColor; /** * Size of the spinner * @default 'md' */ "size": SpinnerSize; } /** * @component seki-switch * @description An accessible toggle control for binary on/off states with full keyboard navigation, * ARIA support, form integration, and theme compatibility. * @example * * */ interface SekiSwitch { /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * @description Accessible label for standalone switches without associated label elements. */ "ariaLabel"?: string; /** * @description Checked state. In HTML this attribute is the *initial* state (as with ``), and the component keeps it in step with user interaction. Assigning the property at any time drives the state, so a host framework can still fully control the switch — including vetoing a user toggle by writing the previous value back in its `sekiChange` handler. */ "checked"?: boolean; /** * @description Initial checked state for uncontrolled mode. Ignored if checked prop is provided. * @default false */ "defaultChecked": boolean; /** * @description Disables all interactions when true. * @default false */ "disabled": boolean; /** * @description Form field name for form integration. */ "name"?: string; /** * @description Marks switch as required for form validation. * @default false */ "required": boolean; /** * @description Value sent in form data when switch is checked. Defaults to 'on'. * @default 'on' */ "value": string; } /** * seki-table: A semantic table wrapper component * @component Table * @example * * * Name * * * * * John * * * */ interface SekiTable { /** * ARIA label for the table */ "ariaLabel"?: string; } /** * seki-table-body: Table body wrapper (tbody) * @component TableBody */ interface SekiTableBody { } /** * seki-table-caption: Table caption element * @component TableCaption */ interface SekiTableCaption { } /** * seki-table-cell: Table data cell (td) * @component TableCell */ interface SekiTableCell { /** * Text alignment * @default 'left' */ "align": TableCellAlign; /** * Column width */ "width"?: string; } /** * seki-table-footer: Table footer wrapper (tfoot) * @component TableFooter */ interface SekiTableFooter { } /** * seki-table-head: Table header cell (th) * @component TableHead */ interface SekiTableHead { /** * Text alignment * @default 'left' */ "align": TableHeadAlign; /** * Current sort direction */ "sortDirection"?: 'asc' | 'desc'; /** * Whether this column is sortable * @default false */ "sortable": boolean; /** * Column width */ "width"?: string; } /** * seki-table-header: Table header wrapper (thead) * @component TableHeader */ interface SekiTableHeader { } /** * seki-table-row: Table row wrapper (tr) * @component TableRow */ interface SekiTableRow { /** * Whether this row is selected * @default false */ "selected": boolean; } /** * Tabs root component that manages selected tab state */ interface SekiTabs { /** * Default value for uncontrolled usage */ "defaultValue"?: string; /** * Orientation of the tabs * @default 'horizontal' */ "orientation": 'horizontal' | 'vertical'; /** * Select a tab by value */ "selectTab": (tabValue: string) => Promise; /** * Controlled value - which tab is selected */ "value"?: string; } /** * Tab content panel */ interface SekiTabsContent { /** * Value that matches a trigger */ "value": string; } /** * Container for tab triggers */ interface SekiTabsList { } /** * Tab trigger button */ interface SekiTabsTrigger { /** * Disable this specific trigger * @default false */ "disabled": boolean; /** * Unique value for this tab */ "value": string; } /** * @component seki-textarea * @description A multi-line text input field with full form integration, accessibility support, * and consistent styling matching shadcn/ui patterns. * @example * */ interface SekiTextarea { /** * ID of element describing this textarea */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * Autocomplete attribute */ "autocomplete"?: string; /** * Number of visible text columns */ "cols"?: number; /** * Whether the textarea is disabled * @default false */ "disabled": boolean; /** * Whether the textarea is in an invalid/error state * @default false */ "invalid": boolean; /** * Maximum length of content */ "maxlength"?: number; /** * Minimum length of content */ "minlength"?: number; /** * Name attribute for form submission */ "name"?: string; /** * Placeholder text displayed when empty */ "placeholder"?: string; /** * Whether the textarea is readonly * @default false */ "readonly": boolean; /** * Whether the textarea is required * @default false */ "required": boolean; /** * Resize behavior of the textarea * @default 'vertical' */ "resize": 'none' | 'both' | 'horizontal' | 'vertical'; /** * Number of visible text rows * @default 3 */ "rows"?: number; /** * Current value of the textarea * @default '' */ "value"?: string; } /** * Toaster component that manages and displays toast notifications. * Place this component once in your app layout. * @example * // Trigger toasts via custom events: * document.dispatchEvent(new CustomEvent('seki-toast', { * detail: { message: 'Hello!', type: 'success' } * })); */ interface SekiToaster { /** * Default duration in milliseconds before auto-dismiss * @default 4000 */ "duration": number; /** * Maximum number of visible toasts * @default 5 */ "maxToasts": number; /** * Position of the toast container * @default 'bottom-right' */ "position": ToastPosition; } /** * @component seki-toggle * @description A two-state button that can be either on or off. Supports variants (default, outline) * and sizes (sm, md, lg) with full keyboard navigation and ARIA support. * @example Bold * Italic * Underline */ interface SekiToggle { /** * Accessible label for screen readers. Required for icon-only toggles. */ "ariaLabel"?: string; /** * Initial pressed state for uncontrolled mode. Ignored if pressed prop is provided. * @default false */ "defaultPressed": boolean; /** * Disables all interactions when true. * @default false */ "disabled": boolean; /** * Controlled pressed state. When provided, component operates in controlled mode. */ "pressed"?: boolean; /** * Size of the toggle button. * @default 'md' */ "size": 'sm' | 'md' | 'lg'; /** * Value identifier when used inside a toggle group. */ "value"?: string; /** * Visual style variant of the toggle. * @default 'default' */ "variant": 'default' | 'outline'; } interface SekiToggleGroup { /** * Accessible label */ "ariaLabel"?: string; /** * Initial value for uncontrolled mode */ "defaultValue"?: string | string[]; /** * Disable all toggles * @default false */ "disabled": boolean; /** * Layout orientation * @default 'horizontal' */ "orientation": 'horizontal' | 'vertical'; /** * Size for all toggles * @default 'md' */ "size": 'sm' | 'md' | 'lg'; /** * Selection mode: single (radio-like) or multiple (checkbox-like) * @default 'single' */ "type": 'single' | 'multiple'; /** * Controlled value */ "value"?: string | string[]; /** * Visual style variant for all toggles * @default 'default' */ "variant": 'default' | 'outline'; } /** * Tooltip Component * A fully accessible tooltip component that displays contextual information * on hover (desktop) and long-press (touch). Supports rich HTML content, * intelligent positioning, keyboard navigation, and dark mode. * @example ```html * * *
Helpful information
*
* ``` */ interface SekiTooltip { /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen": boolean; /** * Milliseconds to delay before showing tooltip on hover * @default 0 * @min 0 * @max 2000 */ "delay": number; /** * Disable tooltip interactions and visibility * @default false */ "disabled": boolean; /** * Hide tooltip programmatically * @returns Promise resolves when tooltip is hidden */ "hide": () => Promise; /** * Pixels between tooltip and trigger element * @default 8 * @min 0 */ "offset": number; /** * Controlled open state. Reflects to the `open` attribute, so `` renders visible with no script involved. * @default false */ "open": boolean; /** * Show tooltip programmatically * @returns Promise resolves when tooltip is visible */ "show": () => Promise; /** * Preferred positioning side for tooltip 'auto' uses intelligent repositioning based on viewport space * @default 'auto' */ "side": TooltipSide; /** * Recalculate tooltip position Call after trigger element moves or window resizes */ "updatePosition": () => Promise; } } export interface SekiAccordionCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAccordionElement; } export interface SekiAlertDialogCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAlertDialogElement; } export interface SekiAlertDialogActionCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAlertDialogActionElement; } export interface SekiAlertDialogCancelCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAlertDialogCancelElement; } export interface SekiAlertDialogContentCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAlertDialogContentElement; } export interface SekiAlertDialogTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAlertDialogTriggerElement; } export interface SekiAvatarImageCustomEvent extends CustomEvent { detail: T; target: HTMLSekiAvatarImageElement; } export interface SekiCalendarCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCalendarElement; } export interface SekiCarouselCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCarouselElement; } export interface SekiCheckboxCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCheckboxElement; } export interface SekiCollapsibleCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCollapsibleElement; } export interface SekiComboboxCustomEvent extends CustomEvent { detail: T; target: HTMLSekiComboboxElement; } export interface SekiCommandCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCommandElement; } export interface SekiCommandInputCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCommandInputElement; } export interface SekiCommandItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiCommandItemElement; } export interface SekiContextMenuCustomEvent extends CustomEvent { detail: T; target: HTMLSekiContextMenuElement; } export interface SekiContextMenuTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiContextMenuTriggerElement; } export interface SekiDataTableCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDataTableElement; } export interface SekiDatePickerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDatePickerElement; } export interface SekiDialogCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDialogElement; } export interface SekiDialogCloseCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDialogCloseElement; } export interface SekiDialogContentCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDialogContentElement; } export interface SekiDialogOverlayCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDialogOverlayElement; } export interface SekiDialogTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDialogTriggerElement; } export interface SekiDrawerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDrawerElement; } export interface SekiDrawerContentCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDrawerContentElement; } export interface SekiDropdownMenuCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuElement; } export interface SekiDropdownMenuCheckboxCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuCheckboxElement; } export interface SekiDropdownMenuItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuItemElement; } export interface SekiDropdownMenuRadioCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuRadioElement; } export interface SekiDropdownMenuRadioGroupCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuRadioGroupElement; } export interface SekiDropdownMenuTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiDropdownMenuTriggerElement; } export interface SekiHoverCardCustomEvent extends CustomEvent { detail: T; target: HTMLSekiHoverCardElement; } export interface SekiHoverCardContentCustomEvent extends CustomEvent { detail: T; target: HTMLSekiHoverCardContentElement; } export interface SekiHoverCardTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiHoverCardTriggerElement; } export interface SekiInputCustomEvent extends CustomEvent { detail: T; target: HTMLSekiInputElement; } export interface SekiInputOtpCustomEvent extends CustomEvent { detail: T; target: HTMLSekiInputOtpElement; } export interface SekiItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiItemElement; } export interface SekiMenubarCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMenubarElement; } export interface SekiMenubarCheckboxCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMenubarCheckboxElement; } export interface SekiMenubarItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMenubarItemElement; } export interface SekiMenubarRadioCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMenubarRadioElement; } export interface SekiMenubarRadioGroupCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMenubarRadioGroupElement; } export interface SekiMessageScrollerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiMessageScrollerElement; } export interface SekiNativeSelectCustomEvent extends CustomEvent { detail: T; target: HTMLSekiNativeSelectElement; } export interface SekiNavigationMenuCustomEvent extends CustomEvent { detail: T; target: HTMLSekiNavigationMenuElement; } export interface SekiNavigationMenuItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiNavigationMenuItemElement; } export interface SekiNavigationMenuTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiNavigationMenuTriggerElement; } export interface SekiPopoverCustomEvent extends CustomEvent { detail: T; target: HTMLSekiPopoverElement; } export interface SekiPopoverCloseCustomEvent extends CustomEvent { detail: T; target: HTMLSekiPopoverCloseElement; } export interface SekiPopoverTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiPopoverTriggerElement; } export interface SekiRadioGroupCustomEvent extends CustomEvent { detail: T; target: HTMLSekiRadioGroupElement; } export interface SekiRadioGroupItemCustomEvent extends CustomEvent { detail: T; target: HTMLSekiRadioGroupItemElement; } export interface SekiResizablePanelCustomEvent extends CustomEvent { detail: T; target: HTMLSekiResizablePanelElement; } export interface SekiResizablePanelGroupCustomEvent extends CustomEvent { detail: T; target: HTMLSekiResizablePanelGroupElement; } export interface SekiScrollAreaCustomEvent extends CustomEvent { detail: T; target: HTMLSekiScrollAreaElement; } export interface SekiSelectCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSelectElement; } export interface SekiSelectOptionCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSelectOptionElement; } export interface SekiSheetCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSheetElement; } export interface SekiSheetCloseCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSheetCloseElement; } export interface SekiSheetContentCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSheetContentElement; } export interface SekiSheetTriggerCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSheetTriggerElement; } export interface SekiSidebarMenuSubCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSidebarMenuSubElement; } export interface SekiSidebarProviderCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSidebarProviderElement; } export interface SekiSliderCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSliderElement; } export interface SekiSwitchCustomEvent extends CustomEvent { detail: T; target: HTMLSekiSwitchElement; } export interface SekiTabsCustomEvent extends CustomEvent { detail: T; target: HTMLSekiTabsElement; } export interface SekiTextareaCustomEvent extends CustomEvent { detail: T; target: HTMLSekiTextareaElement; } export interface SekiToggleCustomEvent extends CustomEvent { detail: T; target: HTMLSekiToggleElement; } export interface SekiToggleGroupCustomEvent extends CustomEvent { detail: T; target: HTMLSekiToggleGroupElement; } export interface SekiTooltipCustomEvent extends CustomEvent { detail: T; target: HTMLSekiTooltipElement; } declare global { interface HTMLSekiAccordionElementEventMap { "sekiValueChange": string | string[]; "sekiContextChange": void; } /** * Accordion root component that manages expanded state of items */ interface HTMLSekiAccordionElement extends Components.SekiAccordion, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAccordionElement, ev: SekiAccordionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAccordionElement, ev: SekiAccordionCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAccordionElement: { prototype: HTMLSekiAccordionElement; new (): HTMLSekiAccordionElement; }; /** * Accordion content container with animated height transition */ interface HTMLSekiAccordionContentElement extends Components.SekiAccordionContent, HTMLStencilElement { } var HTMLSekiAccordionContentElement: { prototype: HTMLSekiAccordionContentElement; new (): HTMLSekiAccordionContentElement; }; /** * Individual accordion item container */ interface HTMLSekiAccordionItemElement extends Components.SekiAccordionItem, HTMLStencilElement { } var HTMLSekiAccordionItemElement: { prototype: HTMLSekiAccordionItemElement; new (): HTMLSekiAccordionItemElement; }; /** * Trigger button for accordion item - click to toggle */ interface HTMLSekiAccordionTriggerElement extends Components.SekiAccordionTrigger, HTMLStencilElement { } var HTMLSekiAccordionTriggerElement: { prototype: HTMLSekiAccordionTriggerElement; new (): HTMLSekiAccordionTriggerElement; }; /** * Alert component for displaying contextual feedback messages. * Supports icons, titles, and descriptions with multiple visual variants. * @example * Heads up! * You can add components using the CLI. * * @example * ... * Error * Your session has expired. * */ interface HTMLSekiAlertElement extends Components.SekiAlert, HTMLStencilElement { } var HTMLSekiAlertElement: { prototype: HTMLSekiAlertElement; new (): HTMLSekiAlertElement; }; /** * Description text within an alert component. * Renders supporting text with appropriate typography styles. * @example * Heads up! * * You can add components to your app using the CLI. * * */ interface HTMLSekiAlertDescriptionElement extends Components.SekiAlertDescription, HTMLStencilElement { } var HTMLSekiAlertDescriptionElement: { prototype: HTMLSekiAlertDescriptionElement; new (): HTMLSekiAlertDescriptionElement; }; interface HTMLSekiAlertDialogElementEventMap { "sekiOpenChange": boolean; "sekiContextChange": void; } /** * Alert Dialog root component for confirmation dialogs * A modal dialog that interrupts the user with important content and expects a response. * Wraps seki-dialog internally with Alert Dialog-specific behavior. */ interface HTMLSekiAlertDialogElement extends Components.SekiAlertDialog, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAlertDialogElement, ev: SekiAlertDialogCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAlertDialogElement, ev: SekiAlertDialogCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAlertDialogElement: { prototype: HTMLSekiAlertDialogElement; new (): HTMLSekiAlertDialogElement; }; interface HTMLSekiAlertDialogActionElementEventMap { "sekiAction": void; "sekiAlertDialogRequestClose": void; } /** * Alert Dialog Action Button Component * A button that confirms and closes the alert dialog. Supports default and destructive variants * for different action types. Emits a sekiAction event before closing. */ interface HTMLSekiAlertDialogActionElement extends Components.SekiAlertDialogAction, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAlertDialogActionElement, ev: SekiAlertDialogActionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAlertDialogActionElement, ev: SekiAlertDialogActionCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAlertDialogActionElement: { prototype: HTMLSekiAlertDialogActionElement; new (): HTMLSekiAlertDialogActionElement; }; interface HTMLSekiAlertDialogCancelElementEventMap { "sekiCancel": void; "sekiAlertDialogRequestClose": void; } /** * Alert Dialog Cancel Button Component * A button that cancels and closes the alert dialog without confirming the action. * Emits a sekiCancel event before closing. */ interface HTMLSekiAlertDialogCancelElement extends Components.SekiAlertDialogCancel, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAlertDialogCancelElement, ev: SekiAlertDialogCancelCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAlertDialogCancelElement, ev: SekiAlertDialogCancelCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAlertDialogCancelElement: { prototype: HTMLSekiAlertDialogCancelElement; new (): HTMLSekiAlertDialogCancelElement; }; interface HTMLSekiAlertDialogContentElementEventMap { "sekiAlertDialogRequestClose": void; "sekiCancel": void; } /** * Alert Dialog Content Component * The content panel for the alert dialog with role="alertdialog". * This is a modal dialog that interrupts the user with important content * and expects a response. Unlike regular dialogs, it does NOT close on * overlay click - users must explicitly confirm or cancel. */ interface HTMLSekiAlertDialogContentElement extends Components.SekiAlertDialogContent, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAlertDialogContentElement, ev: SekiAlertDialogContentCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAlertDialogContentElement, ev: SekiAlertDialogContentCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAlertDialogContentElement: { prototype: HTMLSekiAlertDialogContentElement; new (): HTMLSekiAlertDialogContentElement; }; interface HTMLSekiAlertDialogTriggerElementEventMap { "sekiAlertDialogTriggerClick": void; } /** * Alert Dialog Trigger Component * The element that opens the alert dialog when clicked. */ interface HTMLSekiAlertDialogTriggerElement extends Components.SekiAlertDialogTrigger, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAlertDialogTriggerElement, ev: SekiAlertDialogTriggerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAlertDialogTriggerElement, ev: SekiAlertDialogTriggerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAlertDialogTriggerElement: { prototype: HTMLSekiAlertDialogTriggerElement; new (): HTMLSekiAlertDialogTriggerElement; }; /** * Title text within an alert component. * Renders as a heading with appropriate typography styles. * @example * Heads up! * */ interface HTMLSekiAlertTitleElement extends Components.SekiAlertTitle, HTMLStencilElement { } var HTMLSekiAlertTitleElement: { prototype: HTMLSekiAlertTitleElement; new (): HTMLSekiAlertTitleElement; }; /** * Aspect Ratio component for maintaining consistent aspect ratios */ interface HTMLSekiAspectRatioElement extends Components.SekiAspectRatio, HTMLStencilElement { } var HTMLSekiAspectRatioElement: { prototype: HTMLSekiAspectRatioElement; new (): HTMLSekiAspectRatioElement; }; /** * seki-attachment: File/image attachment card with metadata, upload states, * and actions — for chat composers, message threads, and upload lists. * The card is a positioned surface that composes `seki-attachment-media` * (icon or image preview), `seki-attachment-content` (title + description), * and optional `seki-attachment-actions` / `seki-attachment-trigger` overlays. * A `seki-attachment-trigger` fills the whole card behind the actions row so * the two interaction layers stay independently focusable and clickable. * The `uploading` and `processing` states apply a shimmer sweep across the * card (with a static muted fallback under `prefers-reduced-motion`); the * `error` state paints a destructive border and title. Group several cards * into a horizontally scrollable row with `seki-attachment-group`. * @component Attachment * @example * 📄 * * sales-dashboard.pdf * 2.4 MB · PDF * * * ✕ * * */ interface HTMLSekiAttachmentElement extends Components.SekiAttachment, HTMLStencilElement { } var HTMLSekiAttachmentElement: { prototype: HTMLSekiAttachmentElement; new (): HTMLSekiAttachmentElement; }; /** * seki-attachment-action: Icon button for a `seki-attachment` (remove, * download, retry, …). * Renders a minimal internal ghost button sized to match `seki-button`'s * icon scale (roughly `icon-xs`). Slot a single icon glyph. The native click * composes out of the shadow root, so listen for `click` on the element. * Accessibility: an `aria-label` is required and MUST name both the action and * the file, e.g. `label="Remove sales-dashboard.pdf"`. * @component AttachmentAction * @example ✕ */ interface HTMLSekiAttachmentActionElement extends Components.SekiAttachmentAction, HTMLStencilElement { } var HTMLSekiAttachmentActionElement: { prototype: HTMLSekiAttachmentActionElement; new (): HTMLSekiAttachmentActionElement; }; /** * seki-attachment-actions: Trailing action cluster for a `seki-attachment`. * Holds one or more `seki-attachment-action` icon buttons. It establishes a * stacking context above any `seki-attachment-trigger` overlay so the actions * stay independently clickable and focusable while the trigger covers the rest * of the card. * @component AttachmentActions * @example * ⬇ * ✕ * */ interface HTMLSekiAttachmentActionsElement extends Components.SekiAttachmentActions, HTMLStencilElement { } var HTMLSekiAttachmentActionsElement: { prototype: HTMLSekiAttachmentActionsElement; new (): HTMLSekiAttachmentActionsElement; }; /** * seki-attachment-content: Text column of a `seki-attachment` card. * Stacks a `seki-attachment-title` above a `seki-attachment-description` and * takes the remaining inline space, shrinking so the title can truncate. * @component AttachmentContent * @example * report.pdf * 1.2 MB · PDF * */ interface HTMLSekiAttachmentContentElement extends Components.SekiAttachmentContent, HTMLStencilElement { } var HTMLSekiAttachmentContentElement: { prototype: HTMLSekiAttachmentContentElement; new (): HTMLSekiAttachmentContentElement; }; /** * seki-attachment-description: Secondary metadata line of a `seki-attachment`. * Renders at extra-small, muted type — use it for size, type, upload progress, * or, in the `error` state, the human-readable failure reason (so the error is * conveyed by text, not colour alone). * @component AttachmentDescription * @example Upload failed — file exceeds 10 MB */ interface HTMLSekiAttachmentDescriptionElement extends Components.SekiAttachmentDescription, HTMLStencilElement { } var HTMLSekiAttachmentDescriptionElement: { prototype: HTMLSekiAttachmentDescriptionElement; new (): HTMLSekiAttachmentDescriptionElement; }; /** * seki-attachment-group: Horizontally scrollable row of `seki-attachment` * cards for chat composers and message threads. * Scrolls on the x-axis with proximity scroll-snap and a soft edge fade. It is * presentational, so it exposes `role="group"` with a required `label` to name * the collection for assistive tech; individual cards remain independently * tab-reachable. * @component AttachmentGroup * @example * … * … * */ interface HTMLSekiAttachmentGroupElement extends Components.SekiAttachmentGroup, HTMLStencilElement { } var HTMLSekiAttachmentGroupElement: { prototype: HTMLSekiAttachmentGroupElement; new (): HTMLSekiAttachmentGroupElement; }; /** * seki-attachment-media: Leading media box for a `seki-attachment` card. * `icon` renders a fixed-size muted square that centers a slotted icon * (emoji, SVG, or `seki-*` icon). `image` renders a preview box that a * slotted `` fills with `object-fit: cover`. In a vertical attachment * the parent stretches the box into a full-width preview banner via inherited * custom properties — no orientation prop is needed here. * @component AttachmentMedia * @example * Screenshot preview * */ interface HTMLSekiAttachmentMediaElement extends Components.SekiAttachmentMedia, HTMLStencilElement { } var HTMLSekiAttachmentMediaElement: { prototype: HTMLSekiAttachmentMediaElement; new (): HTMLSekiAttachmentMediaElement; }; /** * seki-attachment-title: File name / primary label of a `seki-attachment`. * Renders at small, medium-weight type and truncates with an ellipsis when it * overflows. On the parent's `error` state the colour switches to destructive * automatically via an inherited custom property. * @component AttachmentTitle * @example sales-dashboard.pdf */ interface HTMLSekiAttachmentTitleElement extends Components.SekiAttachmentTitle, HTMLStencilElement { } var HTMLSekiAttachmentTitleElement: { prototype: HTMLSekiAttachmentTitleElement; new (): HTMLSekiAttachmentTitleElement; }; /** * seki-attachment-trigger: Full-card overlay button for a `seki-attachment`. * Stretches across the whole card (absolute inset) to make the entire card * activatable — e.g. to open a preview dialog. It is layered *behind* * `seki-attachment-actions` so per-item actions (remove, download) stay * independently clickable; both layers remain in the tab order with no focus * trap. * Accessibility: an `aria-label` is required and MUST describe what activation * does, e.g. `label="Preview sales-dashboard.pdf"`. * @component AttachmentTrigger * @example * …media / content… * * … * */ interface HTMLSekiAttachmentTriggerElement extends Components.SekiAttachmentTrigger, HTMLStencilElement { } var HTMLSekiAttachmentTriggerElement: { prototype: HTMLSekiAttachmentTriggerElement; new (): HTMLSekiAttachmentTriggerElement; }; /** * seki-avatar: Container for avatar image with fallback support * @component Avatar * @example * * JD * */ interface HTMLSekiAvatarElement extends Components.SekiAvatar, HTMLStencilElement { } var HTMLSekiAvatarElement: { prototype: HTMLSekiAvatarElement; new (): HTMLSekiAvatarElement; }; /** * seki-avatar-fallback: Fallback content for avatar when image fails to load * @component AvatarFallback * @example * * JD * */ interface HTMLSekiAvatarFallbackElement extends Components.SekiAvatarFallback, HTMLStencilElement { } var HTMLSekiAvatarFallbackElement: { prototype: HTMLSekiAvatarFallbackElement; new (): HTMLSekiAvatarFallbackElement; }; interface HTMLSekiAvatarImageElementEventMap { "avatarImageLoad": void; "avatarImageError": void; } /** * seki-avatar-image: Image element for the avatar with load/error handling * @component AvatarImage * @example * * JD * */ interface HTMLSekiAvatarImageElement extends Components.SekiAvatarImage, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiAvatarImageElement, ev: SekiAvatarImageCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiAvatarImageElement, ev: SekiAvatarImageCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiAvatarImageElement: { prototype: HTMLSekiAvatarImageElement; new (): HTMLSekiAvatarImageElement; }; /** * seki-badge: Presentational badge component for displaying small pieces of information * @component Badge * @example Label * * ℹ * Secondary * */ interface HTMLSekiBadgeElement extends Components.SekiBadge, HTMLStencilElement { } var HTMLSekiBadgeElement: { prototype: HTMLSekiBadgeElement; new (): HTMLSekiBadgeElement; }; /** * seki-breadcrumb: Root breadcrumb navigation component * @component Breadcrumb * @example * * * Home * * * * Current * * * */ interface HTMLSekiBreadcrumbElement extends Components.SekiBreadcrumb, HTMLStencilElement { } var HTMLSekiBreadcrumbElement: { prototype: HTMLSekiBreadcrumbElement; new (): HTMLSekiBreadcrumbElement; }; /** * seki-breadcrumb-ellipsis: Collapsed state indicator for long breadcrumbs * @component BreadcrumbEllipsis */ interface HTMLSekiBreadcrumbEllipsisElement extends Components.SekiBreadcrumbEllipsis, HTMLStencilElement { } var HTMLSekiBreadcrumbEllipsisElement: { prototype: HTMLSekiBreadcrumbEllipsisElement; new (): HTMLSekiBreadcrumbEllipsisElement; }; /** * seki-breadcrumb-item: Individual breadcrumb item wrapper * @component BreadcrumbItem */ interface HTMLSekiBreadcrumbItemElement extends Components.SekiBreadcrumbItem, HTMLStencilElement { } var HTMLSekiBreadcrumbItemElement: { prototype: HTMLSekiBreadcrumbItemElement; new (): HTMLSekiBreadcrumbItemElement; }; /** * seki-breadcrumb-link: Navigable link in breadcrumb * @component BreadcrumbLink */ interface HTMLSekiBreadcrumbLinkElement extends Components.SekiBreadcrumbLink, HTMLStencilElement { } var HTMLSekiBreadcrumbLinkElement: { prototype: HTMLSekiBreadcrumbLinkElement; new (): HTMLSekiBreadcrumbLinkElement; }; /** * seki-breadcrumb-list: Container for breadcrumb items * @component BreadcrumbList */ interface HTMLSekiBreadcrumbListElement extends Components.SekiBreadcrumbList, HTMLStencilElement { } var HTMLSekiBreadcrumbListElement: { prototype: HTMLSekiBreadcrumbListElement; new (): HTMLSekiBreadcrumbListElement; }; /** * seki-breadcrumb-page: Current page indicator (non-interactive) * @component BreadcrumbPage */ interface HTMLSekiBreadcrumbPageElement extends Components.SekiBreadcrumbPage, HTMLStencilElement { } var HTMLSekiBreadcrumbPageElement: { prototype: HTMLSekiBreadcrumbPageElement; new (): HTMLSekiBreadcrumbPageElement; }; /** * seki-breadcrumb-separator: Visual separator between breadcrumb items * @component BreadcrumbSeparator */ interface HTMLSekiBreadcrumbSeparatorElement extends Components.SekiBreadcrumbSeparator, HTMLStencilElement { } var HTMLSekiBreadcrumbSeparatorElement: { prototype: HTMLSekiBreadcrumbSeparatorElement; new (): HTMLSekiBreadcrumbSeparatorElement; }; /** * seki-bubble: Message-bubble surface for chat interfaces. * The bubble is the aligned, width-capped surface that carries the visual * variant. Compose it with `seki-bubble-content` for the message body and * `seki-bubble-reactions` for an optional reactions row. Group consecutive * bubbles with `seki-bubble-group`. * @component Bubble * @example * Hey, how are you? * */ interface HTMLSekiBubbleElement extends Components.SekiBubble, HTMLStencilElement { } var HTMLSekiBubbleElement: { prototype: HTMLSekiBubbleElement; new (): HTMLSekiBubbleElement; }; /** * seki-bubble-content: Message body region inside a `seki-bubble`. * Slot-based — it inherits the bubble's colour and applies the message * typography. For interactive bubbles, slot a real `` or ``) stay reachable and announced; static emoji * text inside is still read. Pass `label` to name the group for assistive * technology (e.g. "Reactions: thumbs up and 2 more"); `aria-label` is only * applied when `label` is set. * @component BubbleReactions * @example * Nice work! * * 👍 2 ❤️ 1 * * */ interface HTMLSekiBubbleReactionsElement extends Components.SekiBubbleReactions, HTMLStencilElement { } var HTMLSekiBubbleReactionsElement: { prototype: HTMLSekiBubbleReactionsElement; new (): HTMLSekiBubbleReactionsElement; }; interface HTMLSekiButtonElement extends Components.SekiButton, HTMLStencilElement { } var HTMLSekiButtonElement: { prototype: HTMLSekiButtonElement; new (): HTMLSekiButtonElement; }; interface HTMLSekiButtonGroupElement extends Components.SekiButtonGroup, HTMLStencilElement { } var HTMLSekiButtonGroupElement: { prototype: HTMLSekiButtonGroupElement; new (): HTMLSekiButtonGroupElement; }; interface HTMLSekiCalendarElementEventMap { "sekiSelect": Date; "sekiRangeSelect": DateRange; "sekiMonthChange": Date; } /** * seki-calendar: A calendar component for date selection * @component Calendar * @example * */ interface HTMLSekiCalendarElement extends Components.SekiCalendar, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCalendarElement, ev: SekiCalendarCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCalendarElement, ev: SekiCalendarCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCalendarElement: { prototype: HTMLSekiCalendarElement; new (): HTMLSekiCalendarElement; }; /** * Flexible container for organizing related content with optional header, * content, and footer sections. Composition-based using subcomponents. * @example * * Title * * Content here * */ interface HTMLSekiCardElement extends Components.SekiCard, HTMLStencilElement { } var HTMLSekiCardElement: { prototype: HTMLSekiCardElement; new (): HTMLSekiCardElement; }; /** * Optional action area within card header for buttons or menus. * Provides flex layout with automatic right-alignment. * @example * * */ interface HTMLSekiCardActionElement extends Components.SekiCardAction, HTMLStencilElement { } var HTMLSekiCardActionElement: { prototype: HTMLSekiCardActionElement; new (): HTMLSekiCardActionElement; }; /** * Main content body of the card. * Flexible container for any content (text, forms, lists, etc.) * @example * * * */ interface HTMLSekiCardContentElement extends Components.SekiCardContent, HTMLStencilElement { } var HTMLSekiCardContentElement: { prototype: HTMLSekiCardContentElement; new (): HTMLSekiCardContentElement; }; /** * Secondary descriptive text below the card title. * Renders as paragraph with muted text color. * @example Description text */ interface HTMLSekiCardDescriptionElement extends Components.SekiCardDescription, HTMLStencilElement { } var HTMLSekiCardDescriptionElement: { prototype: HTMLSekiCardDescriptionElement; new (): HTMLSekiCardDescriptionElement; }; /** * Bottom section of a card for action buttons or footer content. * Provides flex layout with optional alignment control. * @example * * * */ interface HTMLSekiCardFooterElement extends Components.SekiCardFooter, HTMLStencilElement { } var HTMLSekiCardFooterElement: { prototype: HTMLSekiCardFooterElement; new (): HTMLSekiCardFooterElement; }; /** * Header section of a card, typically containing title and description. * Provides flex layout for arranging title + action elements. * @example * Title * Description * * * * */ interface HTMLSekiCardHeaderElement extends Components.SekiCardHeader, HTMLStencilElement { } var HTMLSekiCardHeaderElement: { prototype: HTMLSekiCardHeaderElement; new (): HTMLSekiCardHeaderElement; }; /** * Primary heading text within a card header. * Renders as semantic heading (h1-h6) with typography tokens. * @example My Card Title */ interface HTMLSekiCardTitleElement extends Components.SekiCardTitle, HTMLStencilElement { } var HTMLSekiCardTitleElement: { prototype: HTMLSekiCardTitleElement; new (): HTMLSekiCardTitleElement; }; interface HTMLSekiCarouselElementEventMap { "sekiSlideChange": { index: number; total: number }; "sekiContextChange": void; } interface HTMLSekiCarouselElement extends Components.SekiCarousel, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCarouselElement, ev: SekiCarouselCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCarouselElement, ev: SekiCarouselCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCarouselElement: { prototype: HTMLSekiCarouselElement; new (): HTMLSekiCarouselElement; }; /** * Container for carousel slides. This component serves as the viewport * for the Embla carousel. */ interface HTMLSekiCarouselContentElement extends Components.SekiCarouselContent, HTMLStencilElement { } var HTMLSekiCarouselContentElement: { prototype: HTMLSekiCarouselContentElement; new (): HTMLSekiCarouselContentElement; }; /** * Dot indicators for carousel navigation. * Automatically syncs with parent seki-carousel. */ interface HTMLSekiCarouselDotsElement extends Components.SekiCarouselDots, HTMLStencilElement { } var HTMLSekiCarouselDotsElement: { prototype: HTMLSekiCarouselDotsElement; new (): HTMLSekiCarouselDotsElement; }; /** * Individual carousel slide item. */ interface HTMLSekiCarouselItemElement extends Components.SekiCarouselItem, HTMLStencilElement { } var HTMLSekiCarouselItemElement: { prototype: HTMLSekiCarouselItemElement; new (): HTMLSekiCarouselItemElement; }; /** * Next slide navigation button. * Automatically connects to parent seki-carousel. */ interface HTMLSekiCarouselNextElement extends Components.SekiCarouselNext, HTMLStencilElement { } var HTMLSekiCarouselNextElement: { prototype: HTMLSekiCarouselNextElement; new (): HTMLSekiCarouselNextElement; }; /** * Previous slide navigation button. * Automatically connects to parent seki-carousel. */ interface HTMLSekiCarouselPreviousElement extends Components.SekiCarouselPrevious, HTMLStencilElement { } var HTMLSekiCarouselPreviousElement: { prototype: HTMLSekiCarouselPreviousElement; new (): HTMLSekiCarouselPreviousElement; }; interface HTMLSekiChartElement extends Components.SekiChart, HTMLStencilElement { } var HTMLSekiChartElement: { prototype: HTMLSekiChartElement; new (): HTMLSekiChartElement; }; /** * seki-chart-legend: A standalone legend component for charts. * Renders a list of colored dot indicators paired with labels. * Designed to complement the seki-chart component but can be used independently. * @component ChartLegend * @example * // Set config via JS: * legend.config = { items: [{ label: 'Revenue', color: '#3b82f6' }] }; */ interface HTMLSekiChartLegendElement extends Components.SekiChartLegend, HTMLStencilElement { } var HTMLSekiChartLegendElement: { prototype: HTMLSekiChartLegendElement; new (): HTMLSekiChartLegendElement; }; interface HTMLSekiCheckboxElementEventMap { "sekiChange": { checked: boolean; indeterminate: boolean }; } /** * @component seki-checkbox * @description A checkbox control that allows users to toggle between checked, unchecked, * and optionally indeterminate states. Supports form integration and full accessibility. * @example * * */ interface HTMLSekiCheckboxElement extends Components.SekiCheckbox, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCheckboxElement, ev: SekiCheckboxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCheckboxElement, ev: SekiCheckboxCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCheckboxElement: { prototype: HTMLSekiCheckboxElement; new (): HTMLSekiCheckboxElement; }; interface HTMLSekiCollapsibleElementEventMap { "sekiOpenChange": boolean; "sekiContextChange": void; } interface HTMLSekiCollapsibleElement extends Components.SekiCollapsible, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCollapsibleElement, ev: SekiCollapsibleCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCollapsibleElement, ev: SekiCollapsibleCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCollapsibleElement: { prototype: HTMLSekiCollapsibleElement; new (): HTMLSekiCollapsibleElement; }; /** * Collapsible content container with animated height transition */ interface HTMLSekiCollapsibleContentElement extends Components.SekiCollapsibleContent, HTMLStencilElement { } var HTMLSekiCollapsibleContentElement: { prototype: HTMLSekiCollapsibleContentElement; new (): HTMLSekiCollapsibleContentElement; }; /** * Trigger button for Collapsible component */ interface HTMLSekiCollapsibleTriggerElement extends Components.SekiCollapsibleTrigger, HTMLStencilElement { } var HTMLSekiCollapsibleTriggerElement: { prototype: HTMLSekiCollapsibleTriggerElement; new (): HTMLSekiCollapsibleTriggerElement; }; interface HTMLSekiComboboxElementEventMap { "sekiChange": ComboboxChangeEventDetail; "sekiSearch": ComboboxSearchEventDetail; "sekiCustomValue": ComboboxCustomValueEventDetail; "sekiContextChange": void; } interface HTMLSekiComboboxElement extends Components.SekiCombobox, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiComboboxElement, ev: SekiComboboxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiComboboxElement, ev: SekiComboboxCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiComboboxElement: { prototype: HTMLSekiComboboxElement; new (): HTMLSekiComboboxElement; }; interface HTMLSekiComboboxContentElement extends Components.SekiComboboxContent, HTMLStencilElement { } var HTMLSekiComboboxContentElement: { prototype: HTMLSekiComboboxContentElement; new (): HTMLSekiComboboxContentElement; }; /** * seki-combobox-empty: Display empty/loading/error states for combobox dropdown * @component ComboboxEmpty * @example * No results found. * * @example * Loading... * */ interface HTMLSekiComboboxEmptyElement extends Components.SekiComboboxEmpty, HTMLStencilElement { } var HTMLSekiComboboxEmptyElement: { prototype: HTMLSekiComboboxEmptyElement; new (): HTMLSekiComboboxEmptyElement; }; interface HTMLSekiComboboxGroupElement extends Components.SekiComboboxGroup, HTMLStencilElement { } var HTMLSekiComboboxGroupElement: { prototype: HTMLSekiComboboxGroupElement; new (): HTMLSekiComboboxGroupElement; }; interface HTMLSekiComboboxInputElement extends Components.SekiComboboxInput, HTMLStencilElement { } var HTMLSekiComboboxInputElement: { prototype: HTMLSekiComboboxInputElement; new (): HTMLSekiComboboxInputElement; }; interface HTMLSekiComboboxItemElement extends Components.SekiComboboxItem, HTMLStencilElement { } var HTMLSekiComboboxItemElement: { prototype: HTMLSekiComboboxItemElement; new (): HTMLSekiComboboxItemElement; }; interface HTMLSekiCommandElementEventMap { "sekiValueChange": string; "sekiSelect": string; "sekiContextChange": void; } /** * Command root component - command palette for navigation */ interface HTMLSekiCommandElement extends Components.SekiCommand, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCommandElement, ev: SekiCommandCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCommandElement, ev: SekiCommandCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCommandElement: { prototype: HTMLSekiCommandElement; new (): HTMLSekiCommandElement; }; /** * Command empty state - shown when no results match */ interface HTMLSekiCommandEmptyElement extends Components.SekiCommandEmpty, HTMLStencilElement { } var HTMLSekiCommandEmptyElement: { prototype: HTMLSekiCommandEmptyElement; new (): HTMLSekiCommandEmptyElement; }; /** * Command group - groups related items with a heading */ interface HTMLSekiCommandGroupElement extends Components.SekiCommandGroup, HTMLStencilElement { } var HTMLSekiCommandGroupElement: { prototype: HTMLSekiCommandGroupElement; new (): HTMLSekiCommandGroupElement; }; interface HTMLSekiCommandInputElementEventMap { "sekiCommandInputChange": string; } /** * Command input - search field for filtering items */ interface HTMLSekiCommandInputElement extends Components.SekiCommandInput, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCommandInputElement, ev: SekiCommandInputCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCommandInputElement, ev: SekiCommandInputCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCommandInputElement: { prototype: HTMLSekiCommandInputElement; new (): HTMLSekiCommandInputElement; }; interface HTMLSekiCommandItemElementEventMap { "sekiCommandSelect": string; "sekiCommandHighlight": void; } /** * Command item - selectable option in the command list */ interface HTMLSekiCommandItemElement extends Components.SekiCommandItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiCommandItemElement, ev: SekiCommandItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiCommandItemElement, ev: SekiCommandItemCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiCommandItemElement: { prototype: HTMLSekiCommandItemElement; new (): HTMLSekiCommandItemElement; }; /** * Command list - scrollable container for items and groups */ interface HTMLSekiCommandListElement extends Components.SekiCommandList, HTMLStencilElement { } var HTMLSekiCommandListElement: { prototype: HTMLSekiCommandListElement; new (): HTMLSekiCommandListElement; }; /** * Command separator/divider */ interface HTMLSekiCommandSeparatorElement extends Components.SekiCommandSeparator, HTMLStencilElement { } var HTMLSekiCommandSeparatorElement: { prototype: HTMLSekiCommandSeparatorElement; new (): HTMLSekiCommandSeparatorElement; }; interface HTMLSekiContextMenuElementEventMap { "sekiOpenChange": boolean; "sekiSelect": string; "sekiContextChange": void; } /** * Context Menu component - right-click context menu with items */ interface HTMLSekiContextMenuElement extends Components.SekiContextMenu, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiContextMenuElement, ev: SekiContextMenuCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiContextMenuElement, ev: SekiContextMenuCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiContextMenuElement: { prototype: HTMLSekiContextMenuElement; new (): HTMLSekiContextMenuElement; }; /** * Context Menu content panel - displays at cursor position */ interface HTMLSekiContextMenuContentElement extends Components.SekiContextMenuContent, HTMLStencilElement { } var HTMLSekiContextMenuContentElement: { prototype: HTMLSekiContextMenuContentElement; new (): HTMLSekiContextMenuContentElement; }; interface HTMLSekiContextMenuTriggerElementEventMap { "sekiContextMenuOpen": { x: number; y: number }; } /** * Context Menu trigger component * Handles right-click (desktop) and long-press (touch) to open context menu */ interface HTMLSekiContextMenuTriggerElement extends Components.SekiContextMenuTrigger, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiContextMenuTriggerElement, ev: SekiContextMenuTriggerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiContextMenuTriggerElement, ev: SekiContextMenuTriggerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiContextMenuTriggerElement: { prototype: HTMLSekiContextMenuTriggerElement; new (): HTMLSekiContextMenuTriggerElement; }; interface HTMLSekiDataTableElementEventMap { "sekiSelectionChange": SelectionChangeDetail; "sekiRowExpand": RowExpandDetail; "sekiRowClick": RowClickDetail; "sekiColumnResize": ColumnResizeDetail; "sekiColumnReorder": ColumnReorderDetail; "sekiColumnsChange": ColumnsChangeDetail; "sekiSortChange": SortChangeDetail; "sekiFilterChange": FilterChangeDetail; "sekiPageChange": PageChangeDetail; } interface HTMLSekiDataTableElement extends Components.SekiDataTable, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDataTableElement, ev: SekiDataTableCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDataTableElement, ev: SekiDataTableCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDataTableElement: { prototype: HTMLSekiDataTableElement; new (): HTMLSekiDataTableElement; }; interface HTMLSekiDatePickerElementEventMap { "sekiChange": Date | DateRange1; "sekiOpen": void; "sekiClose": void; "sekiOpenChange": boolean; } /** * seki-date-picker: A date picker component with popover calendar * @component DatePicker * @example * */ interface HTMLSekiDatePickerElement extends Components.SekiDatePicker, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDatePickerElement, ev: SekiDatePickerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDatePickerElement, ev: SekiDatePickerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDatePickerElement: { prototype: HTMLSekiDatePickerElement; new (): HTMLSekiDatePickerElement; }; interface HTMLSekiDialogElementEventMap { "sekiOpenChange": boolean; "sekiContextChange": void; } /** * Dialog root component for modal dialogs */ interface HTMLSekiDialogElement extends Components.SekiDialog, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDialogElement, ev: SekiDialogCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDialogElement, ev: SekiDialogCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDialogElement: { prototype: HTMLSekiDialogElement; new (): HTMLSekiDialogElement; }; interface HTMLSekiDialogCloseElementEventMap { "sekiDialogClose": void; } /** * Dialog close button */ interface HTMLSekiDialogCloseElement extends Components.SekiDialogClose, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDialogCloseElement, ev: SekiDialogCloseCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDialogCloseElement, ev: SekiDialogCloseCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDialogCloseElement: { prototype: HTMLSekiDialogCloseElement; new (): HTMLSekiDialogCloseElement; }; interface HTMLSekiDialogContentElementEventMap { "sekiDialogClose": void; } /** * Dialog content panel */ interface HTMLSekiDialogContentElement extends Components.SekiDialogContent, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDialogContentElement, ev: SekiDialogContentCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDialogContentElement, ev: SekiDialogContentCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDialogContentElement: { prototype: HTMLSekiDialogContentElement; new (): HTMLSekiDialogContentElement; }; /** * Dialog description */ interface HTMLSekiDialogDescriptionElement extends Components.SekiDialogDescription, HTMLStencilElement { } var HTMLSekiDialogDescriptionElement: { prototype: HTMLSekiDialogDescriptionElement; new (): HTMLSekiDialogDescriptionElement; }; /** * Dialog footer container */ interface HTMLSekiDialogFooterElement extends Components.SekiDialogFooter, HTMLStencilElement { } var HTMLSekiDialogFooterElement: { prototype: HTMLSekiDialogFooterElement; new (): HTMLSekiDialogFooterElement; }; /** * Dialog header container */ interface HTMLSekiDialogHeaderElement extends Components.SekiDialogHeader, HTMLStencilElement { } var HTMLSekiDialogHeaderElement: { prototype: HTMLSekiDialogHeaderElement; new (): HTMLSekiDialogHeaderElement; }; interface HTMLSekiDialogOverlayElementEventMap { "sekiDialogClose": void; } /** * Dialog overlay (backdrop) * Works inside `seki-dialog` and inside `seki-alert-dialog`. In an alert * dialog a click on the overlay never closes it (shadcn/Radix: alert dialogs * close only via Cancel, Action or Escape). */ interface HTMLSekiDialogOverlayElement extends Components.SekiDialogOverlay, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDialogOverlayElement, ev: SekiDialogOverlayCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDialogOverlayElement, ev: SekiDialogOverlayCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDialogOverlayElement: { prototype: HTMLSekiDialogOverlayElement; new (): HTMLSekiDialogOverlayElement; }; /** * Dialog title */ interface HTMLSekiDialogTitleElement extends Components.SekiDialogTitle, HTMLStencilElement { } var HTMLSekiDialogTitleElement: { prototype: HTMLSekiDialogTitleElement; new (): HTMLSekiDialogTitleElement; }; interface HTMLSekiDialogTriggerElementEventMap { "sekiDialogTriggerClick": void; } /** * Dialog trigger button */ interface HTMLSekiDialogTriggerElement extends Components.SekiDialogTrigger, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDialogTriggerElement, ev: SekiDialogTriggerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDialogTriggerElement, ev: SekiDialogTriggerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDialogTriggerElement: { prototype: HTMLSekiDialogTriggerElement; new (): HTMLSekiDialogTriggerElement; }; /** * seki-direction: Direction provider for RTL/LTR text direction * @component Direction * @example * Button * */ interface HTMLSekiDirectionElement extends Components.SekiDirection, HTMLStencilElement { } var HTMLSekiDirectionElement: { prototype: HTMLSekiDirectionElement; new (): HTMLSekiDirectionElement; }; interface HTMLSekiDrawerElementEventMap { "drawerOpen": void; "drawerClose": void; "drawerSnap": { point: number }; "sekiOpenChange": boolean; "sekiContextChange": void; } /** * seki-drawer: Mobile-friendly drawer component with swipe gestures * @component Drawer * @example * * Open Drawer * * * * Title * * Content here * * */ interface HTMLSekiDrawerElement extends Components.SekiDrawer, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDrawerElement, ev: SekiDrawerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDrawerElement, ev: SekiDrawerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDrawerElement: { prototype: HTMLSekiDrawerElement; new (): HTMLSekiDrawerElement; }; interface HTMLSekiDrawerContentElementEventMap { "requestClose": void; "requestSnap": { point: number }; } /** * seki-drawer-content: Container for drawer content with gesture support * @component DrawerContent */ interface HTMLSekiDrawerContentElement extends Components.SekiDrawerContent, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDrawerContentElement, ev: SekiDrawerContentCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDrawerContentElement, ev: SekiDrawerContentCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDrawerContentElement: { prototype: HTMLSekiDrawerContentElement; new (): HTMLSekiDrawerContentElement; }; interface HTMLSekiDropdownMenuElementEventMap { "sekiOpenChange": boolean; "sekiSelect": string; "sekiContextChange": void; } /** * Dropdown Menu component - context menu with items */ interface HTMLSekiDropdownMenuElement extends Components.SekiDropdownMenu, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuElement, ev: SekiDropdownMenuCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuElement, ev: SekiDropdownMenuCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuElement: { prototype: HTMLSekiDropdownMenuElement; new (): HTMLSekiDropdownMenuElement; }; interface HTMLSekiDropdownMenuCheckboxElementEventMap { "sekiCheckedChange": boolean; } /** * Dropdown Menu checkbox item */ interface HTMLSekiDropdownMenuCheckboxElement extends Components.SekiDropdownMenuCheckbox, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuCheckboxElement, ev: SekiDropdownMenuCheckboxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuCheckboxElement, ev: SekiDropdownMenuCheckboxCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuCheckboxElement: { prototype: HTMLSekiDropdownMenuCheckboxElement; new (): HTMLSekiDropdownMenuCheckboxElement; }; /** * Dropdown Menu content panel */ interface HTMLSekiDropdownMenuContentElement extends Components.SekiDropdownMenuContent, HTMLStencilElement { } var HTMLSekiDropdownMenuContentElement: { prototype: HTMLSekiDropdownMenuContentElement; new (): HTMLSekiDropdownMenuContentElement; }; interface HTMLSekiDropdownMenuItemElementEventMap { "sekiSelect": void; } /** * Dropdown Menu item */ interface HTMLSekiDropdownMenuItemElement extends Components.SekiDropdownMenuItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuItemElement, ev: SekiDropdownMenuItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuItemElement, ev: SekiDropdownMenuItemCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuItemElement: { prototype: HTMLSekiDropdownMenuItemElement; new (): HTMLSekiDropdownMenuItemElement; }; /** * Dropdown Menu label for grouping items */ interface HTMLSekiDropdownMenuLabelElement extends Components.SekiDropdownMenuLabel, HTMLStencilElement { } var HTMLSekiDropdownMenuLabelElement: { prototype: HTMLSekiDropdownMenuLabelElement; new (): HTMLSekiDropdownMenuLabelElement; }; interface HTMLSekiDropdownMenuRadioElementEventMap { "sekiRadioSelect": string; } /** * Dropdown Menu radio item */ interface HTMLSekiDropdownMenuRadioElement extends Components.SekiDropdownMenuRadio, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuRadioElement, ev: SekiDropdownMenuRadioCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuRadioElement, ev: SekiDropdownMenuRadioCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuRadioElement: { prototype: HTMLSekiDropdownMenuRadioElement; new (): HTMLSekiDropdownMenuRadioElement; }; interface HTMLSekiDropdownMenuRadioGroupElementEventMap { "sekiValueChange": string; } /** * Dropdown Menu radio group container */ interface HTMLSekiDropdownMenuRadioGroupElement extends Components.SekiDropdownMenuRadioGroup, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuRadioGroupElement, ev: SekiDropdownMenuRadioGroupCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuRadioGroupElement, ev: SekiDropdownMenuRadioGroupCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuRadioGroupElement: { prototype: HTMLSekiDropdownMenuRadioGroupElement; new (): HTMLSekiDropdownMenuRadioGroupElement; }; /** * Dropdown Menu separator/divider */ interface HTMLSekiDropdownMenuSeparatorElement extends Components.SekiDropdownMenuSeparator, HTMLStencilElement { } var HTMLSekiDropdownMenuSeparatorElement: { prototype: HTMLSekiDropdownMenuSeparatorElement; new (): HTMLSekiDropdownMenuSeparatorElement; }; /** * Dropdown Menu keyboard shortcut display */ interface HTMLSekiDropdownMenuShortcutElement extends Components.SekiDropdownMenuShortcut, HTMLStencilElement { } var HTMLSekiDropdownMenuShortcutElement: { prototype: HTMLSekiDropdownMenuShortcutElement; new (): HTMLSekiDropdownMenuShortcutElement; }; /** * Dropdown Menu Sub - A submenu component for nested dropdown menus */ interface HTMLSekiDropdownMenuSubElement extends Components.SekiDropdownMenuSub, HTMLStencilElement { } var HTMLSekiDropdownMenuSubElement: { prototype: HTMLSekiDropdownMenuSubElement; new (): HTMLSekiDropdownMenuSubElement; }; interface HTMLSekiDropdownMenuTriggerElementEventMap { "sekiDropdownTriggerClick": void; } /** * Dropdown Menu trigger button */ interface HTMLSekiDropdownMenuTriggerElement extends Components.SekiDropdownMenuTrigger, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiDropdownMenuTriggerElement, ev: SekiDropdownMenuTriggerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiDropdownMenuTriggerElement, ev: SekiDropdownMenuTriggerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiDropdownMenuTriggerElement: { prototype: HTMLSekiDropdownMenuTriggerElement; new (): HTMLSekiDropdownMenuTriggerElement; }; /** * seki-empty: Empty state placeholder component * @component Empty * @example * 📭 * No results found. * Clear filters * */ interface HTMLSekiEmptyElement extends Components.SekiEmpty, HTMLStencilElement { } var HTMLSekiEmptyElement: { prototype: HTMLSekiEmptyElement; new (): HTMLSekiEmptyElement; }; interface HTMLSekiFieldElement extends Components.SekiField, HTMLStencilElement { } var HTMLSekiFieldElement: { prototype: HTMLSekiFieldElement; new (): HTMLSekiFieldElement; }; interface HTMLSekiFieldDescriptionElement extends Components.SekiFieldDescription, HTMLStencilElement { } var HTMLSekiFieldDescriptionElement: { prototype: HTMLSekiFieldDescriptionElement; new (): HTMLSekiFieldDescriptionElement; }; interface HTMLSekiFieldErrorElement extends Components.SekiFieldError, HTMLStencilElement { } var HTMLSekiFieldErrorElement: { prototype: HTMLSekiFieldErrorElement; new (): HTMLSekiFieldErrorElement; }; interface HTMLSekiFieldGroupElement extends Components.SekiFieldGroup, HTMLStencilElement { } var HTMLSekiFieldGroupElement: { prototype: HTMLSekiFieldGroupElement; new (): HTMLSekiFieldGroupElement; }; interface HTMLSekiFieldLabelElement extends Components.SekiFieldLabel, HTMLStencilElement { } var HTMLSekiFieldLabelElement: { prototype: HTMLSekiFieldLabelElement; new (): HTMLSekiFieldLabelElement; }; interface HTMLSekiFieldLegendElement extends Components.SekiFieldLegend, HTMLStencilElement { } var HTMLSekiFieldLegendElement: { prototype: HTMLSekiFieldLegendElement; new (): HTMLSekiFieldLegendElement; }; interface HTMLSekiFieldsetElement extends Components.SekiFieldset, HTMLStencilElement { } var HTMLSekiFieldsetElement: { prototype: HTMLSekiFieldsetElement; new (): HTMLSekiFieldsetElement; }; interface HTMLSekiHoverCardElementEventMap { "sekiOpenChange": boolean; "sekiContextChange": void; } /** * Hover Card Container Component * A hover-triggered card component for previewing content (e.g., user profiles, link previews). * Shows a floating card with rich content when hovering over a trigger element. * This container manages state and timing, providing context to child components * (seki-hover-card-trigger and seki-hover-card-content). * @example ```html * * * @john * * *
* John's avatar *

John Doe

*

Software Engineer at Acme Inc.

*
*
*
* ``` */ interface HTMLSekiHoverCardElement extends Components.SekiHoverCard, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiHoverCardElement, ev: SekiHoverCardCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiHoverCardElement, ev: SekiHoverCardCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiHoverCardElement: { prototype: HTMLSekiHoverCardElement; new (): HTMLSekiHoverCardElement; }; interface HTMLSekiHoverCardContentElementEventMap { "sekiHoverCardRequestClose": void; "sekiHoverCardCancelClose": void; } /** * Hover Card Content Component * The floating content panel that displays when the hover card is open. * Handles positioning, viewport boundary collision, arrow placement, * and interaction handlers to maintain open state while user interacts with content. * @example ```html * *
* Avatar *

John Doe

*

Software Engineer

*
*
* ``` */ interface HTMLSekiHoverCardContentElement extends Components.SekiHoverCardContent, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiHoverCardContentElement, ev: SekiHoverCardContentCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiHoverCardContentElement, ev: SekiHoverCardContentCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiHoverCardContentElement: { prototype: HTMLSekiHoverCardContentElement; new (): HTMLSekiHoverCardContentElement; }; interface HTMLSekiHoverCardTriggerElementEventMap { "sekiHoverCardRequestOpen": void; "sekiHoverCardRequestClose": void; "sekiHoverCardCancelClose": void; } /** * Hover Card Trigger Component * The trigger element that activates the hover card on hover, focus, or touch. * Handles mouse, keyboard, and touch interactions with appropriate behavior for each. * @example ```html * * @john * * ``` */ interface HTMLSekiHoverCardTriggerElement extends Components.SekiHoverCardTrigger, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiHoverCardTriggerElement, ev: SekiHoverCardTriggerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiHoverCardTriggerElement, ev: SekiHoverCardTriggerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiHoverCardTriggerElement: { prototype: HTMLSekiHoverCardTriggerElement; new (): HTMLSekiHoverCardTriggerElement; }; interface HTMLSekiInputElementEventMap { "sekiInput": { value: string; nativeEvent: Event }; "sekiChange": { value: string; nativeEvent: Event }; "sekiFocus": { nativeEvent: FocusEvent }; "sekiBlur": { value: string; nativeEvent: FocusEvent }; } interface HTMLSekiInputElement extends Components.SekiInput, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiInputElement, ev: SekiInputCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiInputElement, ev: SekiInputCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiInputElement: { prototype: HTMLSekiInputElement; new (): HTMLSekiInputElement; }; interface HTMLSekiInputAddonElement extends Components.SekiInputAddon, HTMLStencilElement { } var HTMLSekiInputAddonElement: { prototype: HTMLSekiInputAddonElement; new (): HTMLSekiInputAddonElement; }; interface HTMLSekiInputGroupElement extends Components.SekiInputGroup, HTMLStencilElement { } var HTMLSekiInputGroupElement: { prototype: HTMLSekiInputGroupElement; new (): HTMLSekiInputGroupElement; }; interface HTMLSekiInputOtpElementEventMap { "sekiInput": { value: string }; "sekiChange": { value: string }; "sekiComplete": { value: string }; "sekiOtpStateChange": void; } interface HTMLSekiInputOtpElement extends Components.SekiInputOtp, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiInputOtpElement, ev: SekiInputOtpCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiInputOtpElement, ev: SekiInputOtpCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiInputOtpElement: { prototype: HTMLSekiInputOtpElement; new (): HTMLSekiInputOtpElement; }; interface HTMLSekiInputOtpGroupElement extends Components.SekiInputOtpGroup, HTMLStencilElement { } var HTMLSekiInputOtpGroupElement: { prototype: HTMLSekiInputOtpGroupElement; new (): HTMLSekiInputOtpGroupElement; }; interface HTMLSekiInputOtpSeparatorElement extends Components.SekiInputOtpSeparator, HTMLStencilElement { } var HTMLSekiInputOtpSeparatorElement: { prototype: HTMLSekiInputOtpSeparatorElement; new (): HTMLSekiInputOtpSeparatorElement; }; interface HTMLSekiInputOtpSlotElement extends Components.SekiInputOtpSlot, HTMLStencilElement { } var HTMLSekiInputOtpSlotElement: { prototype: HTMLSekiInputOtpSlotElement; new (): HTMLSekiInputOtpSlotElement; }; interface HTMLSekiItemElementEventMap { "sekiSelect": void; } /** * seki-item: Composable base item for lists and menus * @component Item * @example * 📄 * Document title * New * */ interface HTMLSekiItemElement extends Components.SekiItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiItemElement, ev: SekiItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiItemElement, ev: SekiItemCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiItemElement: { prototype: HTMLSekiItemElement; new (): HTMLSekiItemElement; }; interface HTMLSekiKbdElement extends Components.SekiKbd, HTMLStencilElement { } var HTMLSekiKbdElement: { prototype: HTMLSekiKbdElement; new (): HTMLSekiKbdElement; }; /** * seki-label: A styled label component for form elements * @component Label * @example Email Address * Username * Disabled Field */ interface HTMLSekiLabelElement extends Components.SekiLabel, HTMLStencilElement { } var HTMLSekiLabelElement: { prototype: HTMLSekiLabelElement; new (): HTMLSekiLabelElement; }; /** * seki-marker: Inline conversation status indicator, system note, or * labeled separator for chat threads. * Consumers control ARIA semantics by setting `role` directly on the host * tag (e.g. `role="status"` for announced progress) — this works natively * since the role applies to the custom element itself, not its shadow tree. * @component Marker * @example * ... * Explored 4 files * * * Today * */ interface HTMLSekiMarkerElement extends Components.SekiMarker, HTMLStencilElement { } var HTMLSekiMarkerElement: { prototype: HTMLSekiMarkerElement; new (): HTMLSekiMarkerElement; }; /** * seki-marker-content: Text content wrapper for seki-marker, with optional * shimmer effect for streaming status text (e.g. "Thinking…"). * @component MarkerContent * @example Today * Thinking… */ interface HTMLSekiMarkerContentElement extends Components.SekiMarkerContent, HTMLStencilElement { } var HTMLSekiMarkerContentElement: { prototype: HTMLSekiMarkerContentElement; new (): HTMLSekiMarkerContentElement; }; /** * seki-marker-icon: Decorative icon wrapper for seki-marker * @component MarkerIcon * @example * ... * Explored 4 files * */ interface HTMLSekiMarkerIconElement extends Components.SekiMarkerIcon, HTMLStencilElement { } var HTMLSekiMarkerIconElement: { prototype: HTMLSekiMarkerIconElement; new (): HTMLSekiMarkerIconElement; }; interface HTMLSekiMenubarElementEventMap { "sekiSelect": string; "sekiOpenChange": string | null; } /** * Menubar - horizontal menu bar with dropdown menus */ interface HTMLSekiMenubarElement extends Components.SekiMenubar, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMenubarElement, ev: SekiMenubarCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMenubarElement, ev: SekiMenubarCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMenubarElement: { prototype: HTMLSekiMenubarElement; new (): HTMLSekiMenubarElement; }; interface HTMLSekiMenubarCheckboxElementEventMap { "sekiCheckedChange": boolean; } /** * Menubar checkbox item - toggleable menu option */ interface HTMLSekiMenubarCheckboxElement extends Components.SekiMenubarCheckbox, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMenubarCheckboxElement, ev: SekiMenubarCheckboxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMenubarCheckboxElement, ev: SekiMenubarCheckboxCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMenubarCheckboxElement: { prototype: HTMLSekiMenubarCheckboxElement; new (): HTMLSekiMenubarCheckboxElement; }; /** * Menubar content - dropdown content container */ interface HTMLSekiMenubarContentElement extends Components.SekiMenubarContent, HTMLStencilElement { } var HTMLSekiMenubarContentElement: { prototype: HTMLSekiMenubarContentElement; new (): HTMLSekiMenubarContentElement; }; /** * Menubar group - groups related menu items with optional label */ interface HTMLSekiMenubarGroupElement extends Components.SekiMenubarGroup, HTMLStencilElement { } var HTMLSekiMenubarGroupElement: { prototype: HTMLSekiMenubarGroupElement; new (): HTMLSekiMenubarGroupElement; }; interface HTMLSekiMenubarItemElementEventMap { "sekiMenubarSelect": string; } /** * Menubar item - selectable menu option */ interface HTMLSekiMenubarItemElement extends Components.SekiMenubarItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMenubarItemElement, ev: SekiMenubarItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMenubarItemElement, ev: SekiMenubarItemCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMenubarItemElement: { prototype: HTMLSekiMenubarItemElement; new (): HTMLSekiMenubarItemElement; }; /** * Menubar menu - individual menu container */ interface HTMLSekiMenubarMenuElement extends Components.SekiMenubarMenu, HTMLStencilElement { } var HTMLSekiMenubarMenuElement: { prototype: HTMLSekiMenubarMenuElement; new (): HTMLSekiMenubarMenuElement; }; interface HTMLSekiMenubarRadioElementEventMap { "sekiMenubarRadioSelect": string; } /** * Menubar radio item - single-select option */ interface HTMLSekiMenubarRadioElement extends Components.SekiMenubarRadio, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMenubarRadioElement, ev: SekiMenubarRadioCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMenubarRadioElement, ev: SekiMenubarRadioCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMenubarRadioElement: { prototype: HTMLSekiMenubarRadioElement; new (): HTMLSekiMenubarRadioElement; }; interface HTMLSekiMenubarRadioGroupElementEventMap { "sekiValueChange": string; } /** * Menubar radio group - container for radio items */ interface HTMLSekiMenubarRadioGroupElement extends Components.SekiMenubarRadioGroup, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMenubarRadioGroupElement, ev: SekiMenubarRadioGroupCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMenubarRadioGroupElement, ev: SekiMenubarRadioGroupCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMenubarRadioGroupElement: { prototype: HTMLSekiMenubarRadioGroupElement; new (): HTMLSekiMenubarRadioGroupElement; }; /** * Menubar separator - visual divider between menu items */ interface HTMLSekiMenubarSeparatorElement extends Components.SekiMenubarSeparator, HTMLStencilElement { } var HTMLSekiMenubarSeparatorElement: { prototype: HTMLSekiMenubarSeparatorElement; new (): HTMLSekiMenubarSeparatorElement; }; /** * Menubar shortcut - displays keyboard shortcut hint */ interface HTMLSekiMenubarShortcutElement extends Components.SekiMenubarShortcut, HTMLStencilElement { } var HTMLSekiMenubarShortcutElement: { prototype: HTMLSekiMenubarShortcutElement; new (): HTMLSekiMenubarShortcutElement; }; /** * Menubar sub - submenu container with hover behavior */ interface HTMLSekiMenubarSubElement extends Components.SekiMenubarSub, HTMLStencilElement { } var HTMLSekiMenubarSubElement: { prototype: HTMLSekiMenubarSubElement; new (): HTMLSekiMenubarSubElement; }; /** * Menubar sub content - submenu content container */ interface HTMLSekiMenubarSubContentElement extends Components.SekiMenubarSubContent, HTMLStencilElement { } var HTMLSekiMenubarSubContentElement: { prototype: HTMLSekiMenubarSubContentElement; new (): HTMLSekiMenubarSubContentElement; }; /** * Menubar sub trigger - opens submenu on hover */ interface HTMLSekiMenubarSubTriggerElement extends Components.SekiMenubarSubTrigger, HTMLStencilElement { } var HTMLSekiMenubarSubTriggerElement: { prototype: HTMLSekiMenubarSubTriggerElement; new (): HTMLSekiMenubarSubTriggerElement; }; /** * Menubar trigger - button that opens a menu */ interface HTMLSekiMenubarTriggerElement extends Components.SekiMenubarTrigger, HTMLStencilElement { } var HTMLSekiMenubarTriggerElement: { prototype: HTMLSekiMenubarTriggerElement; new (): HTMLSekiMenubarTriggerElement; }; /** * seki-message: Row-level layout for a single chat message. * Lays out an optional `seki-message-avatar` alongside a `seki-message-content` * column (header, bubble, footer). The `align` prop drives the whole row: `end` * flips the row so the avatar sits on the right and the content is * right-aligned (sender messages), while `start` keeps the avatar on the left * (receiver / assistant messages). * Alignment flows to the child parts purely through CSS — `align` is reflected * to the host attribute and the row sets an inherited `text-align`, so the * header and footer align themselves without any cross-component JS or * `closest()` lookups. * @component Message * @example * * AI * * * Assistant * * How can I help? * * * */ interface HTMLSekiMessageElement extends Components.SekiMessage, HTMLStencilElement { } var HTMLSekiMessageElement: { prototype: HTMLSekiMessageElement; new (): HTMLSekiMessageElement; }; /** * seki-message-avatar: Avatar column for a `seki-message` row. * Wraps a `seki-avatar` (or any avatar-sized element) and reserves a fixed * column width so consecutive rows stay aligned. Leave it empty on earlier * rows of a `seki-message-group` to keep the column spacing without repeating * the avatar. * @component MessageAvatar * @example * * * AL * * */ interface HTMLSekiMessageAvatarElement extends Components.SekiMessageAvatar, HTMLStencilElement { } var HTMLSekiMessageAvatarElement: { prototype: HTMLSekiMessageAvatarElement; new (): HTMLSekiMessageAvatarElement; }; /** * seki-message-content: Vertical content column of a `seki-message`. * Stacks an optional `seki-message-header`, the message body (typically a * `seki-bubble`), and an optional `seki-message-footer`. It takes the remaining * row width; the bubble self-aligns via its own `align`, and the header/footer * align through the row's inherited `text-align`. * @component MessageContent * @example * Ada · 12:04 * * Shipped it. * * Delivered * */ interface HTMLSekiMessageContentElement extends Components.SekiMessageContent, HTMLStencilElement { } var HTMLSekiMessageContentElement: { prototype: HTMLSekiMessageContentElement; new (): HTMLSekiMessageContentElement; }; /** * seki-message-footer: Metadata / action row below the message body. * Holds small muted metadata (e.g. "Delivered") or icon-only actions such as * copy, retry, and feedback. Compose actions with `seki-button size="icon"` and * give each an `aria-label`. It aligns with the parent `seki-message` * automatically through the row's inherited `text-align`. * @component MessageFooter * @example * … * … * */ interface HTMLSekiMessageFooterElement extends Components.SekiMessageFooter, HTMLStencilElement { } var HTMLSekiMessageFooterElement: { prototype: HTMLSekiMessageFooterElement; new (): HTMLSekiMessageFooterElement; }; /** * seki-message-group: Stacks consecutive messages from the same sender. * Tightens the vertical gap between rows so a run of messages reads as a single * conversation turn. To keep the bubbles aligned, give the earlier rows an * empty `seki-message-avatar` (it reserves the avatar column width) and place * the real avatar on the last row of the run. * @component MessageGroup * @example * * * * * First * * * * * * ME * * * * Second * * * * */ interface HTMLSekiMessageGroupElement extends Components.SekiMessageGroup, HTMLStencilElement { } var HTMLSekiMessageGroupElement: { prototype: HTMLSekiMessageGroupElement; new (): HTMLSekiMessageGroupElement; }; /** * seki-message-header: Muted metadata row above the message body. * Holds the sender name and/or timestamp in small, muted text. It aligns with * the parent `seki-message` automatically through the row's inherited * `text-align`, so no `align` prop is needed here. * @component MessageHeader * @example Ada Lovelace · 12:04 */ interface HTMLSekiMessageHeaderElement extends Components.SekiMessageHeader, HTMLStencilElement { } var HTMLSekiMessageHeaderElement: { prototype: HTMLSekiMessageHeaderElement; new (): HTMLSekiMessageHeaderElement; }; interface HTMLSekiMessageScrollerElementEventMap { "sekiScrollerVisibilityChange": ScrollerVisibilityDetail; "sekiScrollerEdgeChange": ScrollerEdgeDetail; } /** * seki-message-scroller: streaming chat-transcript container (shadcn/ui parity). * The scroller keeps a streamed reply pinned to the bottom while the reader is * at the live edge, never fights an upward scroll, preserves the reading * position when older history is prepended, and drives a jump-to-end button. * It merges shadcn's `MessageScrollerProvider` + `MessageScroller` into one host * element because Stencil has no React context — this host owns *all* scroll * state. * ## Composition * ```html * * * * … * … * * * ↓ * * ``` * ## Implementation notes * All dynamic behaviour (follow-output, prepend preservation, edge/visibility * detection, edge-state attributes read by the button) is applied **directly to * the DOM** from observer/scroll callbacks rather than through Stencil `@State` * + `render()`. This mirrors shadcn's imperative design — rows must never * re-render mid-scroll — and deliberately side-steps the confirmed re-render bug * (#244) where a `@State` bump from an event/observer callback does not reliably * re-invoke `render()`. `render()` here runs exactly once, at mount. * @component MessageScroller */ interface HTMLSekiMessageScrollerElement extends Components.SekiMessageScroller, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSekiMessageScrollerElement, ev: SekiMessageScrollerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSekiMessageScrollerElement, ev: SekiMessageScrollerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSekiMessageScrollerElement: { prototype: HTMLSekiMessageScrollerElement; new (): HTMLSekiMessageScrollerElement; }; /** * seki-message-scroller-button: jump-to-edge control for the transcript. * Finds its scroller via `closest('seki-message-scroller')`, listens to * `sekiScrollerEdgeChange`, and shows itself only when there is somewhere to * jump to. When inactive it is `inert`, `tabindex="-1"`, `data-active="false"`, * so it leaves no dead focus stop. * ## Why the active-state update is imperative * The active state is toggled by mutating attributes **directly on the host** * (`this.el`) from the edge-change listener — it is deliberately NOT routed * through a Stencil `@State` bump + `render()`. This is the confirmed-broken * shape from #244: a component that reads a parent's state via `closest()` + * `addEventListener` + a `@State` bump does not reliably re-invoke `render()`. * Mutating the DOM directly here side-steps Stencil's render cycle entirely and * is guaranteed to apply. * @component MessageScrollerButton */ interface HTMLSekiMessageScrollerButtonElement extends Components.SekiMessageScrollerButton, HTMLStencilElement { } var HTMLSekiMessageScrollerButtonElement: { prototype: HTMLSekiMessageScrollerButtonElement; new (): HTMLSekiMessageScrollerButtonElement; }; /** * seki-message-scroller-content: the `role="log"` list of message rows. * Announces additions to assistive tech (`aria-relevant="additions"`). Consumers * can set `aria-busy` on this element during a stream to defer announcements * until the reply settles. * @component MessageScrollerContent */ interface HTMLSekiMessageScrollerContentElement extends Components.SekiMessageScrollerContent, HTMLStencilElement { } var HTMLSekiMessageScrollerContentElement: { prototype: HTMLSekiMessageScrollerContentElement; new (): HTMLSekiMessageScrollerContentElement; }; /** * seki-message-scroller-item: a single row boundary in the transcript. * Wraps one conversation turn (typically a `seki-message`). `message-id` is the * stable identifier used by `scrollToMessage` and visibility tracking; * `scroll-anchor` marks turn boundaries (usually the user's messages) that * `default-scroll-position="last-anchor"` targets. Both props reflect to * attributes so the parent scroller can query them from light DOM. * Rows opt into `content-visibility: auto` for cheap off-screen skipping in long * transcripts; the intrinsic-size fallback keeps the scrollbar stable. * @component MessageScrollerItem */ interface HTMLSekiMessageScrollerItemElement extends Components.SekiMessageScrollerItem, HTMLStencilElement { } var HTMLSekiMessageScrollerItemElement: { prototype: HTMLSekiMessageScrollerItemElement; new (): HTMLSekiMessageScrollerItemElement; }; /** * seki-message-scroller-viewport: the scrollable element of the transcript. * The host element *is* the scroll container (`:host { overflow-y: auto }`), so * its `scrollTop` / `scrollHeight` / `clientHeight` are directly readable by the * parent `seki-message-scroller` from light DOM — no reaching across a shadow * boundary. Slotted rows stay in light DOM, so the parent's ResizeObserver / * MutationObserver / IntersectionObserver measure them reliably; this is why * `shadow: true` is kept here rather than falling back to `scoped` (the carousel * escape hatch was unnecessary). * @component MessageScrollerViewport */ interface HTMLSekiMessageScrollerViewportElement extends Components.SekiMessageScrollerViewport, HTMLStencilElement { } var HTMLSekiMessageScrollerViewportElement: { prototype: HTMLSekiMessageScrollerViewportElement; new (): HTMLSekiMessageScrollerViewportElement; }; interface HTMLSekiNativeSelectElementEventMap { "sekiChange": { value: string }; } /** * seki-native-select: Styled native HTML select wrapper * Uses the browser's native select dropdown for better mobile UX and accessibility. * Unlike seki-select (which uses a custom dropdown), this component wraps a native * ` * * */ interface SekiCardContent { /** * Optional CSS class */ "class"?: string; } /** * Secondary descriptive text below the card title. * Renders as paragraph with muted text color. * @example Description text */ interface SekiCardDescription { /** * Optional CSS class */ "class"?: string; } /** * Bottom section of a card for action buttons or footer content. * Provides flex layout with optional alignment control. * @example * * * */ interface SekiCardFooter { /** * Flex alignment for footer items. Default: flex-start Options: flex-start, center, flex-end * @default 'flex-start' */ "alignment"?: Alignment; /** * Optional CSS class */ "class"?: string; } /** * Header section of a card, typically containing title and description. * Provides flex layout for arranging title + action elements. * @example * Title * Description * * * * */ interface SekiCardHeader { /** * Optional CSS class for custom styling */ "class"?: string; } /** * Primary heading text within a card header. * Renders as semantic heading (h1-h6) with typography tokens. * @example My Card Title */ interface SekiCardTitle { /** * Optional CSS class */ "class"?: string; /** * Semantic heading level (h1-h6). Default: h2 * @default 'h2' */ "level"?: HeadingLevel; } interface SekiCarousel { /** * Accessible label for the carousel * @default 'Carousel' */ "ariaLabel"?: string; /** * Enable autoplay * @default false */ "autoplay"?: boolean; /** * Autoplay delay in milliseconds * @default 4000 */ "autoplayDelay"?: number; /** * Enable momentum/free scrolling * @default false */ "dragFree"?: boolean; /** * Enable infinite loop scrolling * @default false */ "loop"?: boolean; /** * Internal notification that the carousel's context (canScrollPrev/Next, selectedIndex, scrollSnapCount) has changed. Child nav buttons and dots subscribe to this and re-read getContext(). Unlike sekiSlideChange, it also fires on the first embla init and on reInit — otherwise children that read state once at mount (before embla, gated behind a dynamic import since #263, has finished loading) would freeze at that premature state forever (#274). Matches the context-bridge convention (see src/utils/context-bridge.ts); eventName must be a string literal for Stencil to register it. */ "onSekiContextChange"?: (event: SekiCarouselCustomEvent) => void; /** * Emitted when the selected slide changes */ "onSekiSlideChange"?: (event: SekiCarouselCustomEvent<{ index: number; total: number }>) => void; /** * Pause autoplay on hover * @default true */ "pauseOnHover"?: boolean; /** * Number of slides to scroll at once * @default 1 */ "slidesToScroll"?: number; /** * Initial slide index * @default 0 */ "startIndex"?: number; } /** * Container for carousel slides. This component serves as the viewport * for the Embla carousel. */ interface SekiCarouselContent { } /** * Dot indicators for carousel navigation. * Automatically syncs with parent seki-carousel. */ interface SekiCarouselDots { } /** * Individual carousel slide item. */ interface SekiCarouselItem { /** * Width of the item as CSS flex-basis. Examples: '100%' (full width), '50%' (half), '33.33%' (third) * @default '100%' */ "basis"?: string; } /** * Next slide navigation button. * Automatically connects to parent seki-carousel. */ interface SekiCarouselNext { } /** * Previous slide navigation button. * Automatically connects to parent seki-carousel. */ interface SekiCarouselPrevious { } interface SekiChart { "colors"?: string[]; "data"?: ChartData; "dataJson"?: string; /** * Display pie/doughnut charts with a cutout (donut style) * @default false */ "donut"?: boolean; /** * Apply a gradient fill to line/area chart datasets * @default false */ "gradient"?: boolean; /** * @default '300px' */ "height"?: string; /** * Hide tick labels on x and y axes * @default false */ "hideAxes"?: boolean; /** * Hide grid lines on x and y axes * @default false */ "hideGrid"?: boolean; /** * Hide the chart legend * @default false */ "hideLegend"?: boolean; /** * Hide tooltips on hover * @default false */ "hideTooltip"?: boolean; /** * Display bar charts horizontally (sets indexAxis to 'y') * @default false */ "horizontal"?: boolean; "options"?: ChartOptions; "optionsJson"?: string; /** * Stack datasets on top of each other (bar/line/area charts) * @default false */ "stacked"?: boolean; /** * @default 'line' */ "type"?: ChartType; } /** * seki-chart-legend: A standalone legend component for charts. * Renders a list of colored dot indicators paired with labels. * Designed to complement the seki-chart component but can be used independently. * @component ChartLegend * @example * // Set config via JS: * legend.config = { items: [{ label: 'Revenue', color: '#3b82f6' }] }; */ interface SekiChartLegend { /** * Legend configuration containing an array of items with label and color. Must be set via JavaScript property (not HTML attribute). */ "config"?: ChartLegendConfig; /** * Layout orientation of the legend items. * @default 'horizontal' */ "orientation"?: 'horizontal' | 'vertical'; } /** * @component seki-checkbox * @description A checkbox control that allows users to toggle between checked, unchecked, * and optionally indeterminate states. Supports form integration and full accessibility. * @example * * */ interface SekiCheckbox { /** * ID of element describing this checkbox. */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers. */ "ariaLabel"?: string; /** * Checked state. In HTML this attribute is the *initial* state (as with ``) and the component keeps it in step with user interaction. Assigning the property at any time drives the state, so a host framework can still fully control the checkbox — including vetoing a user toggle by writing the previous value back in its `sekiChange` handler. */ "checked"?: boolean; /** * Initial checked state for uncontrolled mode. Ignored if checked prop is provided. * @default false */ "defaultChecked"?: boolean; /** * Disables all interactions when true. * @default false */ "disabled"?: boolean; /** * Whether the checkbox is in an indeterminate state. * @default false */ "indeterminate"?: boolean; /** * Form field name for form integration. */ "name"?: string; /** * Emitted when checked state changes. */ "onSekiChange"?: (event: SekiCheckboxCustomEvent<{ checked: boolean; indeterminate: boolean }>) => void; /** * Marks checkbox as required for form validation. * @default false */ "required"?: boolean; /** * Value sent in form data when checkbox is checked. Defaults to 'on'. * @default 'on' */ "value"?: string; } interface SekiCollapsible { /** * Initial open state (uncontrolled) * @default false */ "defaultOpen"?: boolean; /** * Whether the collapsible is disabled * @default false */ "disabled"?: boolean; /** * Internal: notifies collapsible parts that `_collapsibleContext` changed. Not part of the public API; listen to `sekiOpenChange` instead. */ "onSekiContextChange"?: (event: SekiCollapsibleCustomEvent) => void; /** * Emitted when open state changes */ "onSekiOpenChange"?: (event: SekiCollapsibleCustomEvent) => void; /** * Whether the collapsible is open (controlled) * @default false */ "open"?: boolean; } /** * Collapsible content container with animated height transition */ interface SekiCollapsibleContent { } /** * Trigger button for Collapsible component */ interface SekiCollapsibleTrigger { /** * Render as child - wraps content in a button or uses slotted element * @default false */ "asChild"?: boolean; } interface SekiCombobox { /** * Allow values not in the list * @default false */ "allowCustomValue"?: boolean; /** * ID of element that describes this combobox */ "ariaDescribedby"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * ID of element that labels this combobox */ "ariaLabelledby"?: string; /** * Debounce delay for search (ms) * @default 300 */ "debounce"?: number; /** * Initial dropdown open state (uncontrolled mode) * @default false */ "defaultOpen"?: boolean; /** * Initial selected value (uncontrolled mode) */ "defaultValue"?: ComboboxValue; /** * Disable component * @default false */ "disabled"?: boolean; /** * Static items for client-side filtering */ "items"?: ComboboxItem[]; /** * Set loading state externally (for async) * @default false */ "loading"?: boolean; /** * Multi-select display mode * @default 'chips' */ "multiSelectDisplay"?: ComboboxMultiSelectDisplay; /** * Enable multi-select mode * @default false */ "multiple"?: boolean; /** * Form field name for form submission */ "name"?: string; /** * Emitted when selected value changes */ "onSekiChange"?: (event: SekiComboboxCustomEvent) => void; /** * Internal: notifies slotted children (input/items) that comboboxContext was refreshed, so they can update their selection/focus/open visuals. Slotted children don't re-render when the parent does, so without this their aria-selected/aria-expanded/chips freeze at mount values (#258). Same mechanism as seki-select's sekiSelectContextChange (#244). */ "onSekiContextChange"?: (event: SekiComboboxCustomEvent) => void; /** * Emitted when a custom value is submitted */ "onSekiCustomValue"?: (event: SekiComboboxCustomEvent) => void; /** * Emitted when search query changes (after debounce) */ "onSekiSearch"?: (event: SekiComboboxCustomEvent) => void; /** * Control dropdown open state (controlled mode) */ "open"?: boolean; /** * Placeholder text * @default 'Search...' */ "placeholder"?: string; /** * Mark as required * @default false */ "required"?: boolean; /** * Current selected value (controlled mode) */ "value"?: ComboboxValue; } interface SekiComboboxContent { /** * Maximum height of the dropdown * @default '15rem' */ "maxHeight"?: string; } /** * seki-combobox-empty: Display empty/loading/error states for combobox dropdown * @component ComboboxEmpty * @example * No results found. * * @example * Loading... * */ interface SekiComboboxEmpty { /** * The reason why the combobox is showing an empty state * @default 'no-results' */ "reason"?: ComboboxEmptyReason; } interface SekiComboboxGroup { /** * Show even when every item in the group is filtered out * @default false */ "forceMount"?: boolean; /** * Group label */ "label": string; } interface SekiComboboxInput { } interface SekiComboboxItem { /** * Disable this item * @default false */ "disabled"?: boolean; /** * Item value */ "value": string; } /** * Command root component - command palette for navigation */ interface SekiCommand { /** * Enable built-in filtering * @default true */ "filter"?: boolean; /** * Internal: notifies command parts (input, items, groups, empty state) that `_commandContext` changed. Not part of the public API; listen to `sekiValueChange` instead. */ "onSekiContextChange"?: (event: SekiCommandCustomEvent) => void; /** * Emitted when an item is selected */ "onSekiSelect"?: (event: SekiCommandCustomEvent) => void; /** * Emitted when search value changes */ "onSekiValueChange"?: (event: SekiCommandCustomEvent) => void; /** * Controlled search value * @default '' */ "value"?: string; } /** * Command empty state - shown when no results match */ interface SekiCommandEmpty { } /** * Command group - groups related items with a heading */ interface SekiCommandGroup { /** * Show even when all items are filtered out * @default false */ "forceMount"?: boolean; /** * Group header text */ "heading": string; } /** * Command input - search field for filtering items */ interface SekiCommandInput { /** * Emitted on input change (internal use) */ "onSekiCommandInputChange"?: (event: SekiCommandInputCustomEvent) => void; /** * Placeholder text * @default 'Type a command or search...' */ "placeholder"?: string; } /** * Command item - selectable option in the command list */ interface SekiCommandItem { /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Additional search terms (space-separated) */ "keywords"?: string; /** * Emitted when the pointer moves onto this item, asking seki-command to move its highlight here. seki-command identifies the item from the event target. */ "onSekiCommandHighlight"?: (event: SekiCommandItemCustomEvent) => void; /** * Emitted when this item is selected */ "onSekiCommandSelect"?: (event: SekiCommandItemCustomEvent) => void; /** * Keyboard shortcut hint (e.g., "⌘K") */ "shortcut"?: string; /** * Unique value emitted on select. Optional: when omitted it falls back to the item's own text, so plain-HTML usage (`Profile`) emits something meaningful instead of `undefined`. */ "value"?: string; } /** * Command list - scrollable container for items and groups */ interface SekiCommandList { } /** * Command separator/divider */ interface SekiCommandSeparator { } /** * Context Menu component - right-click context menu with items */ interface SekiContextMenu { /** * Emitted when open state changes */ "onSekiOpenChange"?: (event: SekiContextMenuCustomEvent) => void; /** * Emitted when an item is selected */ "onSekiSelect"?: (event: SekiContextMenuCustomEvent) => void; /** * Controlled open state * @default false */ "open"?: boolean; } /** * Context Menu content panel - displays at cursor position */ interface SekiContextMenuContent { /** * Accessible label for the menu */ "ariaLabel"?: string; } /** * Context Menu trigger component * Handles right-click (desktop) and long-press (touch) to open context menu */ interface SekiContextMenuTrigger { /** * Whether the trigger is disabled * @default false */ "disabled"?: boolean; /** * Duration in milliseconds for long press on touch devices * @default 500 */ "longPressDuration"?: number; /** * Movement threshold in pixels before canceling long press * @default 10 */ "moveThreshold"?: number; /** * Emitted when context menu should open, with position coordinates */ "onSekiContextMenuOpen"?: (event: SekiContextMenuTriggerCustomEvent<{ x: number; y: number }>) => void; } interface SekiDataTable { /** * Buffer rows above/below viewport * @default 5 */ "bufferSize"?: number; /** * Show column visibility picker * @default false */ "columnPicker"?: boolean; /** * Column definitions (JSON array) * @default '[]' */ "columns"?: string | ColumnDef[]; /** * Message when no data * @default 'No data' */ "emptyMessage"?: string; /** * Enable expandable row details * @default false */ "expandable"?: boolean; /** * Callback to fetch data. Set it as a JS property. Assigning or replacing it (re)loads the table. Must be a * @Prop : in the lazy-loader build only decorated members are proxied from the host element to the instance. */ "fetchData"?: FetchDataCallback; /** * Show loading state * @default false */ "loading"?: boolean; /** * Allow multiple rows expanded at once * @default false */ "multiExpand"?: boolean; /** * Emitted when columns are reordered */ "onSekiColumnReorder"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when a column is resized */ "onSekiColumnResize"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when column visibility/order changes */ "onSekiColumnsChange"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when filters change */ "onSekiFilterChange"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when page/page size changes */ "onSekiPageChange"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when a row is clicked */ "onSekiRowClick"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when a row is expanded/collapsed */ "onSekiRowExpand"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when row selection changes */ "onSekiSelectionChange"?: (event: SekiDataTableCustomEvent) => void; /** * Emitted when sort changes */ "onSekiSortChange"?: (event: SekiDataTableCustomEvent) => void; /** * Rows per page * @default 50 */ "pageSize"?: number; /** * Page size dropdown options * @default '[25, 50, 100]' */ "pageSizeOptions"?: string | number[]; /** * Callback to render expanded row content (must be a * @Prop , see fetchData) */ "renderExpandedRow"?: RenderExpandedRowCallback; /** * Fixed row height for virtualization * @default 48 */ "rowHeight"?: number; /** * Field that uniquely identifies each row * @default 'id' */ "rowKey"?: string; /** * Search debounce delay in ms * @default 300 */ "searchDebounce"?: number; /** * Fields to include in global search * @default '[]' */ "searchFields"?: string | string[]; /** * Search input placeholder * @default 'Search...' */ "searchPlaceholder"?: string; /** * Show global search input * @default false */ "searchable"?: boolean; /** * Enable row selection with checkboxes * @default false */ "selectable"?: boolean; /** * Enable virtualized rendering * @default false */ "virtualScroll"?: boolean; } /** * seki-date-picker: A date picker component with popover calendar * @component DatePicker * @example * */ interface SekiDatePicker { /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * ARIA label for accessibility */ "ariaLabel"?: string; /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen"?: boolean; /** * Whether the date picker is disabled * @default false */ "disabled"?: boolean; /** * Format string for displaying the date * @default 'PPP' */ "displayFormat"?: string; /** * Maximum selectable date */ "maxDate"?: Date | string; /** * Minimum selectable date */ "minDate"?: Date | string; /** * Selection mode: single date or date range * @default 'single' */ "mode"?: DatePickerMode; /** * Form field name. In single mode the submitted value is `YYYY-MM-DD`. In range mode two entries are submitted: `-from` and `-to` (each `YYYY-MM-DD`; an unset end is omitted). */ "name"?: string; /** * Emitted when a date is selected */ "onSekiChange"?: (event: SekiDatePickerCustomEvent) => void; /** * Emitted when the popover closes */ "onSekiClose"?: (event: SekiDatePickerCustomEvent) => void; /** * Emitted when the popover opens */ "onSekiOpen"?: (event: SekiDatePickerCustomEvent) => void; /** * Emitted whenever the open state changes. Matches the dialog/popover/collapsible event shape so a consumer can listen to one event name across every overlay. */ "onSekiOpenChange"?: (event: SekiDatePickerCustomEvent) => void; /** * Controlled open state of the popover. Also readable/writable as the `open` attribute, so `` renders open with no script involved. * @default false */ "open"?: boolean; /** * Placeholder text when no date is selected * @default 'Pick a date' */ "placeholder"?: string; /** * Start of date range (for range mode) */ "rangeFrom"?: Date | string; /** * End of date range (for range mode) */ "rangeTo"?: Date | string; /** * Whether the field is required * @default false */ "required"?: boolean; /** * Currently selected date (for single mode) */ "value"?: Date | string; } /** * Dialog root component for modal dialogs */ interface SekiDialog { /** * Default open state * @default false */ "defaultOpen"?: boolean; /** * Whether the dialog is modal (traps focus, blocks scroll) * @default true */ "modal"?: boolean; /** * Internal: notifies dialog parts (content, overlay, title, description) that `_dialogContext` changed. Not part of the public API; listen to `sekiOpenChange` instead. */ "onSekiContextChange"?: (event: SekiDialogCustomEvent) => void; /** * Emitted when open state changes */ "onSekiOpenChange"?: (event: SekiDialogCustomEvent) => void; /** * Controlled open state * @default false */ "open"?: boolean; } /** * Dialog close button */ interface SekiDialogClose { "onSekiDialogClose"?: (event: SekiDialogCloseCustomEvent) => void; } /** * Dialog content panel */ interface SekiDialogContent { /** * Whether pressing Escape closes the dialog * @default true */ "closeOnEscape"?: boolean; "onSekiDialogClose"?: (event: SekiDialogContentCustomEvent) => void; } /** * Dialog description */ interface SekiDialogDescription { } /** * Dialog footer container */ interface SekiDialogFooter { } /** * Dialog header container */ interface SekiDialogHeader { } /** * Dialog overlay (backdrop) * Works inside `seki-dialog` and inside `seki-alert-dialog`. In an alert * dialog a click on the overlay never closes it (shadcn/Radix: alert dialogs * close only via Cancel, Action or Escape). */ interface SekiDialogOverlay { /** * Whether clicking the overlay closes the dialog. Ignored inside `seki-alert-dialog`, which an overlay click never closes. * @default true */ "closeOnClick"?: boolean; "onSekiDialogClose"?: (event: SekiDialogOverlayCustomEvent) => void; } /** * Dialog title */ interface SekiDialogTitle { } /** * Dialog trigger button */ interface SekiDialogTrigger { "onSekiDialogTriggerClick"?: (event: SekiDialogTriggerCustomEvent) => void; } /** * seki-direction: Direction provider for RTL/LTR text direction * @component Direction * @example * Button * */ interface SekiDirection { /** * Text direction * @default 'ltr' */ "dir"?: 'ltr' | 'rtl'; } /** * seki-drawer: Mobile-friendly drawer component with swipe gestures * @component Drawer * @example * * Open Drawer * * * * Title * * Content here * * */ interface SekiDrawer { /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen"?: boolean; /** * Emitted when the drawer closes */ "onDrawerClose"?: (event: SekiDrawerCustomEvent) => void; /** * Emitted when the drawer opens */ "onDrawerOpen"?: (event: SekiDrawerCustomEvent) => void; /** * Emitted when the drawer snaps to a point */ "onDrawerSnap"?: (event: SekiDrawerCustomEvent<{ point: number }>) => void; /** * Internal: notifies seki-drawer-content that `_drawerContext` changed. Not part of the public API; listen to `sekiOpenChange` instead. */ "onSekiContextChange"?: (event: SekiDrawerCustomEvent) => void; /** * Emitted whenever the open state changes. Matches the dialog/popover/collapsible event shape so a consumer can listen to one event name across every overlay. */ "onSekiOpenChange"?: (event: SekiDrawerCustomEvent) => void; /** * Controlled open state. Also readable/writable as the `open` attribute, so `` renders open with no script involved. * @default false */ "open"?: boolean; } /** * seki-drawer-content: Container for drawer content with gesture support * @component DrawerContent */ interface SekiDrawerContent { /** * Accessible label for the drawer */ "ariaLabel"?: string; /** * Distance threshold (0-1) to trigger close when dragging * @default 0.5 */ "closeThreshold"?: number; /** * Direction the drawer slides in from * @default 'bottom' */ "direction"?: DrawerDirection; /** * Emitted to request drawer close */ "onRequestClose"?: (event: SekiDrawerContentCustomEvent) => void; /** * Emitted to request snap to a point */ "onRequestSnap"?: (event: SekiDrawerContentCustomEvent<{ point: number }>) => void; /** * Show the drag handle indicator Default: true for bottom/top, false for left/right */ "showHandle"?: boolean; /** * Comma-separated snap points (0-1). E.g., "0.5,1" for half and full open * @default '1' */ "snapPoints"?: string; /** * Velocity threshold (px/s) to trigger close on quick swipe * @default 500 */ "velocityThreshold"?: number; } /** * Dropdown Menu component - context menu with items */ interface SekiDropdownMenu { /** * Alignment along the side * @default 'start' */ "align"?: DropdownMenuAlign; /** * Default open state * @default false */ "defaultOpen"?: boolean; /** * Emitted when open state changes */ "onSekiOpenChange"?: (event: SekiDropdownMenuCustomEvent) => void; /** * Emitted when an item is selected */ "onSekiSelect"?: (event: SekiDropdownMenuCustomEvent) => void; /** * Controlled open state * @default false */ "open"?: boolean; /** * Preferred side for placement * @default 'bottom' */ "side"?: DropdownMenuSide; /** * Offset from trigger * @default 4 */ "sideOffset"?: number; } /** * Dropdown Menu checkbox item */ interface SekiDropdownMenuCheckbox { /** * Whether the checkbox is checked * @default false */ "checked"?: boolean; /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Emitted when the checked state changes */ "onSekiCheckedChange"?: (event: SekiDropdownMenuCheckboxCustomEvent) => void; } /** * Dropdown Menu content panel */ interface SekiDropdownMenuContent { /** * Override align from parent */ "align"?: DropdownMenuAlign1; /** * Override side from parent */ "side"?: DropdownMenuSide1; /** * Offset from trigger * @default 4 */ "sideOffset"?: number; } /** * Dropdown Menu item */ interface SekiDropdownMenuItem { /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Add left padding for icon alignment * @default false */ "inset"?: boolean; /** * Emitted when the item is selected */ "onSekiSelect"?: (event: SekiDropdownMenuItemCustomEvent) => void; } /** * Dropdown Menu label for grouping items */ interface SekiDropdownMenuLabel { /** * Add left padding for icon alignment * @default false */ "inset"?: boolean; } /** * Dropdown Menu radio item */ interface SekiDropdownMenuRadio { /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Emitted when the radio is selected */ "onSekiRadioSelect"?: (event: SekiDropdownMenuRadioCustomEvent) => void; /** * The value of this radio item */ "value": string; } /** * Dropdown Menu radio group container */ interface SekiDropdownMenuRadioGroup { /** * Emitted when the selected value changes */ "onSekiValueChange"?: (event: SekiDropdownMenuRadioGroupCustomEvent) => void; /** * The value of the selected radio item */ "value"?: string; } /** * Dropdown Menu separator/divider */ interface SekiDropdownMenuSeparator { } /** * Dropdown Menu keyboard shortcut display */ interface SekiDropdownMenuShortcut { } /** * Dropdown Menu Sub - A submenu component for nested dropdown menus */ interface SekiDropdownMenuSub { /** * Delay in milliseconds before closing the submenu on mouse leave * @default 100 */ "closeDelay"?: number; /** * Delay in milliseconds before opening the submenu on hover * @default 100 */ "openDelay"?: number; } /** * Dropdown Menu trigger button */ interface SekiDropdownMenuTrigger { "onSekiDropdownTriggerClick"?: (event: SekiDropdownMenuTriggerCustomEvent) => void; } /** * seki-empty: Empty state placeholder component * @component Empty * @example * 📭 * No results found. * Clear filters * */ interface SekiEmpty { /** * Description text for the empty state */ "description"?: string; /** * Title text for the empty state */ "heading"?: string; } interface SekiField { /** * Whether the field is in an invalid/error state Applies data-invalid attribute for styling * @default false */ "invalid"?: boolean; /** * Layout orientation for the field - vertical: Label above control (default) - horizontal: Label beside control - responsive: Horizontal on wide screens, vertical on narrow * @default 'vertical' */ "orientation"?: 'vertical' | 'horizontal' | 'responsive'; } interface SekiFieldDescription { /** * Unique ID for this description element Auto-generated if not provided Used for aria-describedby references */ "descriptorId"?: string; } interface SekiFieldError { /** * Unique ID for this error element Auto-generated if not provided Used for aria-describedby references */ "errorId"?: string; /** * Whether the error message is visible Controls display and announcement behavior * @default true */ "visible"?: boolean; } interface SekiFieldGroup { /** * Gap between fields Accepts any valid CSS length value (px, rem, em, etc.) * @default '1rem' */ "gap"?: string; } interface SekiFieldLabel { /** * ID of the form control this label is for Resolved in the label's own root node (not this component's shadow root), so it reaches light-DOM controls. Falls back to the control nested in the label. */ "htmlFor"?: string; /** * Whether the field is required Displays a required indicator (*) after the label text * @default false */ "required"?: boolean; } interface SekiFieldLegend { } interface SekiFieldset { /** * Whether all fields in the fieldset are disabled When true, cascades disabled state to all nested form controls * @default false */ "disabled"?: boolean; } /** * Hover Card Container Component * A hover-triggered card component for previewing content (e.g., user profiles, link previews). * Shows a floating card with rich content when hovering over a trigger element. * This container manages state and timing, providing context to child components * (seki-hover-card-trigger and seki-hover-card-content). * @example ```html * * * @john * * *
* John's avatar *

John Doe

*

Software Engineer at Acme Inc.

*
*
*
* ``` */ interface SekiHoverCard { /** * Alignment along the side axis * @default 'center' */ "align"?: HoverCardAlign; /** * Milliseconds to delay before closing the hover card * @default 300 */ "closeDelay"?: number; /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen"?: boolean; /** * Disable hover card interactions * @default false */ "disabled"?: boolean; /** * Emitted when open state changes. `detail` is the new open state as a bare boolean, matching every other `sekiOpenChange` in the library. */ "onSekiOpenChange"?: (event: SekiHoverCardCustomEvent) => void; /** * Controlled open state. Reflects to the `open` attribute, so `` renders open with no script involved. * @default false */ "open"?: boolean; /** * Milliseconds to delay before opening the hover card * @default 200 */ "openDelay"?: number; /** * Preferred side for hover card content placement * @default 'bottom' */ "side"?: HoverCardSide; } /** * Hover Card Content Component * The floating content panel that displays when the hover card is open. * Handles positioning, viewport boundary collision, arrow placement, * and interaction handlers to maintain open state while user interacts with content. * @example ```html * *
* Avatar *

John Doe

*

Software Engineer

*
*
* ``` */ interface SekiHoverCardContent { /** * Override the alignment from the parent container */ "align"?: HoverCardAlign1; /** * Offset along the alignment axis in pixels * @default 0 */ "alignOffset"?: number; /** * Emitted to cancel a pending close timer */ "onSekiHoverCardCancelClose"?: (event: SekiHoverCardContentCustomEvent) => void; /** * Emitted to request closing the hover card (with delay) */ "onSekiHoverCardRequestClose"?: (event: SekiHoverCardContentCustomEvent) => void; /** * Override the side positioning from the parent container */ "side"?: HoverCardSide1; /** * Distance from the trigger element in pixels * @default 8 */ "sideOffset"?: number; } /** * Hover Card Trigger Component * The trigger element that activates the hover card on hover, focus, or touch. * Handles mouse, keyboard, and touch interactions with appropriate behavior for each. * @example ```html * * @john * * ``` */ interface SekiHoverCardTrigger { /** * Emitted to cancel a pending close timer */ "onSekiHoverCardCancelClose"?: (event: SekiHoverCardTriggerCustomEvent) => void; /** * Emitted to request closing the hover card */ "onSekiHoverCardRequestClose"?: (event: SekiHoverCardTriggerCustomEvent) => void; /** * Emitted to request opening the hover card */ "onSekiHoverCardRequestOpen"?: (event: SekiHoverCardTriggerCustomEvent) => void; } interface SekiInput { /** * ID of element describing this input */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * Autocomplete attribute */ "autocomplete"?: string; /** * Whether the input is disabled * @default false */ "disabled"?: boolean; /** * Whether the input is in an invalid/error state * @default false */ "invalid"?: boolean; /** * Maximum value (for number/date inputs) */ "max"?: string | number; /** * Maximum length */ "maxlength"?: number; /** * Minimum value (for number/date inputs) */ "min"?: string | number; /** * Minimum length */ "minlength"?: number; /** * Name attribute for form submission */ "name"?: string; /** * Emitted on blur */ "onSekiBlur"?: (event: SekiInputCustomEvent<{ value: string; nativeEvent: FocusEvent }>) => void; /** * Emitted on blur or Enter */ "onSekiChange"?: (event: SekiInputCustomEvent<{ value: string; nativeEvent: Event }>) => void; /** * Emitted on focus */ "onSekiFocus"?: (event: SekiInputCustomEvent<{ nativeEvent: FocusEvent }>) => void; /** * Emitted on every keystroke */ "onSekiInput"?: (event: SekiInputCustomEvent<{ value: string; nativeEvent: Event }>) => void; /** * Validation pattern (regex) */ "pattern"?: string; /** * Placeholder text */ "placeholder"?: string; /** * Whether the input is readonly * @default false */ "readonly"?: boolean; /** * Whether the input is required * @default false */ "required"?: boolean; /** * Size variant * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; /** * Step value (for number inputs) */ "step"?: string | number; /** * Input type (text, email, password, number, tel, url, date, file, etc.) * @default 'text' */ "type"?: string; /** * Current value of the input * @default '' */ "value"?: string; } interface SekiInputAddon { /** * Size variant (usually set by parent input-group) * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; } interface SekiInputGroup { /** * Accessible label for the input group */ "ariaLabel"?: string; /** * Whether all children are disabled * @default false */ "disabled"?: boolean; /** * Size applied to all child components (input, addon, button) * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; } interface SekiInputOtp { /** * ID of element describing this input */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Custom aria-label for the input */ "ariaLabel"?: string; /** * Autocomplete hint for mobile keyboards * @default 'one-time-code' */ "autocomplete"?: string; /** * Whether the input is disabled * @default false */ "disabled"?: boolean; /** * Whether the input is in an invalid/error state * @default false */ "invalid"?: boolean; /** * Whether to mask the input (show bullets) * @default false */ "masked"?: boolean; /** * Total number of characters allowed * @default 6 */ "maxlength"?: number; /** * Form field name */ "name"?: string; /** * Emitted when value changes */ "onSekiChange"?: (event: SekiInputOtpCustomEvent<{ value: string }>) => void; /** * Emitted when all slots are filled */ "onSekiComplete"?: (event: SekiInputOtpCustomEvent<{ value: string }>) => void; /** * Emitted on each character change */ "onSekiInput"?: (event: SekiInputOtpCustomEvent<{ value: string }>) => void; /** * Internal event to notify slots of state changes */ "onSekiOtpStateChange"?: (event: SekiInputOtpCustomEvent) => void; /** * Input pattern: 'digits' for numbers only, 'alphanumeric' for letters and numbers * @default 'digits' */ "pattern"?: 'digits' | 'alphanumeric'; /** * Whether the input is required * @default false */ "required"?: boolean; /** * Current OTP value * @default '' */ "value"?: string; } interface SekiInputOtpGroup { } interface SekiInputOtpSeparator { } interface SekiInputOtpSlot { /** * The index of this slot (0-based) */ "index": number; } /** * seki-item: Composable base item for lists and menus * @component Item * @example * 📄 * Document title * New * */ interface SekiItem { /** * Whether the item is in active/selected state * @default false */ "active"?: boolean; /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Whether the item is interactive (clickable/focusable) * @default true */ "interactive"?: boolean; /** * Emitted when item is clicked */ "onSekiSelect"?: (event: SekiItemCustomEvent) => void; /** * Visual variant of the item * @default 'default' */ "variant"?: 'default' | 'inset'; } interface SekiKbd { /** * Size variant of the kbd element * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; } /** * seki-label: A styled label component for form elements * @component Label * @example Email Address * Username * Disabled Field */ interface SekiLabel { /** * When true, applies disabled styling (muted color, not-allowed cursor). * @default false */ "disabled"?: boolean; /** * The ID of the form element this label is associated with. Resolved in the label's own root node (document or shadow root), not in this component's shadow root, so it reaches light-DOM controls. Without it, the first control nested inside the label is used. */ "for"?: string; /** * When true, renders a required indicator (*) after the label text. * @default false */ "required"?: boolean; } /** * seki-marker: Inline conversation status indicator, system note, or * labeled separator for chat threads. * Consumers control ARIA semantics by setting `role` directly on the host * tag (e.g. `role="status"` for announced progress) — this works natively * since the role applies to the custom element itself, not its shadow tree. * @component Marker * @example * ... * Explored 4 files * * * Today * */ interface SekiMarker { /** * Visual variant of the marker * @default 'default' */ "variant"?: MarkerVariant; } /** * seki-marker-content: Text content wrapper for seki-marker, with optional * shimmer effect for streaming status text (e.g. "Thinking…"). * @component MarkerContent * @example Today * Thinking… */ interface SekiMarkerContent { /** * Applies a gradient-sweep shimmer animation to the slotted text. Intended for streaming/in-progress status content. Respects prefers-reduced-motion. * @default false */ "shimmer"?: boolean; } /** * seki-marker-icon: Decorative icon wrapper for seki-marker * @component MarkerIcon * @example * ... * Explored 4 files * */ interface SekiMarkerIcon { } /** * Menubar - horizontal menu bar with dropdown menus */ interface SekiMenubar { /** * Whether arrow keys wrap around * @default true */ "loop"?: boolean; /** * Emitted when active menu changes */ "onSekiOpenChange"?: (event: SekiMenubarCustomEvent) => void; /** * Emitted when an item is selected */ "onSekiSelect"?: (event: SekiMenubarCustomEvent) => void; } /** * Menubar checkbox item - toggleable menu option */ interface SekiMenubarCheckbox { /** * Whether the checkbox is checked * @default false */ "checked"?: boolean; /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Emitted when checked state changes */ "onSekiCheckedChange"?: (event: SekiMenubarCheckboxCustomEvent) => void; /** * Keyboard shortcut hint */ "shortcut"?: string; } /** * Menubar content - dropdown content container */ interface SekiMenubarContent { /** * Alignment along the side * @default 'start' */ "align"?: MenubarContentAlign; /** * Preferred side for placement * @default 'bottom' */ "side"?: MenubarContentSide; /** * Offset from trigger * @default 4 */ "sideOffset"?: number; } /** * Menubar group - groups related menu items with optional label */ interface SekiMenubarGroup { /** * Optional group label */ "label"?: string; } /** * Menubar item - selectable menu option */ interface SekiMenubarItem { /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Add left padding for alignment with icons * @default false */ "inset"?: boolean; /** * Emitted when item is selected */ "onSekiMenubarSelect"?: (event: SekiMenubarItemCustomEvent) => void; /** * Keyboard shortcut hint (e.g., "⌘K") */ "shortcut"?: string; /** * Value emitted when item is selected */ "value"?: string; } /** * Menubar menu - individual menu container */ interface SekiMenubarMenu { /** * Unique identifier for this menu. Optional: when omitted, one is generated and reflected onto the host. Requiring the author to supply it made every plain-HTML menubar inert, because the trigger resolves its menu through `closest('seki-menubar-menu').getAttribute('menu-id')` and bailed on null. */ "menuId"?: string; } /** * Menubar radio item - single-select option */ interface SekiMenubarRadio { /** * Whether the item is disabled * @default false */ "disabled"?: boolean; /** * Emitted when radio is selected */ "onSekiMenubarRadioSelect"?: (event: SekiMenubarRadioCustomEvent) => void; /** * The value of this radio item */ "value": string; } /** * Menubar radio group - container for radio items */ interface SekiMenubarRadioGroup { /** * Emitted when selected value changes */ "onSekiValueChange"?: (event: SekiMenubarRadioGroupCustomEvent) => void; /** * The value of the selected radio item */ "value"?: string; } /** * Menubar separator - visual divider between menu items */ interface SekiMenubarSeparator { } /** * Menubar shortcut - displays keyboard shortcut hint */ interface SekiMenubarShortcut { } /** * Menubar sub - submenu container with hover behavior */ interface SekiMenubarSub { /** * Delay before closing on mouse leave (ms) * @default 100 */ "closeDelay"?: number; /** * Delay before opening on hover (ms) * @default 100 */ "openDelay"?: number; } /** * Menubar sub content - submenu content container */ interface SekiMenubarSubContent { /** * Offset from trigger * @default 2 */ "sideOffset"?: number; } /** * Menubar sub trigger - opens submenu on hover */ interface SekiMenubarSubTrigger { /** * Whether the trigger is disabled * @default false */ "disabled"?: boolean; /** * Add left padding for alignment * @default false */ "inset"?: boolean; } /** * Menubar trigger - button that opens a menu */ interface SekiMenubarTrigger { /** * Whether the trigger is disabled * @default false */ "disabled"?: boolean; } /** * seki-message: Row-level layout for a single chat message. * Lays out an optional `seki-message-avatar` alongside a `seki-message-content` * column (header, bubble, footer). The `align` prop drives the whole row: `end` * flips the row so the avatar sits on the right and the content is * right-aligned (sender messages), while `start` keeps the avatar on the left * (receiver / assistant messages). * Alignment flows to the child parts purely through CSS — `align` is reflected * to the host attribute and the row sets an inherited `text-align`, so the * header and footer align themselves without any cross-component JS or * `closest()` lookups. * @component Message * @example * * AI * * * Assistant * * How can I help? * * * */ interface SekiMessage { /** * Horizontal orientation of the message row. `end` places the avatar on the right and right-aligns the content (sender); `start` keeps the avatar on the left (receiver). * @default 'start' */ "align"?: MessageAlign; } /** * seki-message-avatar: Avatar column for a `seki-message` row. * Wraps a `seki-avatar` (or any avatar-sized element) and reserves a fixed * column width so consecutive rows stay aligned. Leave it empty on earlier * rows of a `seki-message-group` to keep the column spacing without repeating * the avatar. * @component MessageAvatar * @example * * * AL * * */ interface SekiMessageAvatar { } /** * seki-message-content: Vertical content column of a `seki-message`. * Stacks an optional `seki-message-header`, the message body (typically a * `seki-bubble`), and an optional `seki-message-footer`. It takes the remaining * row width; the bubble self-aligns via its own `align`, and the header/footer * align through the row's inherited `text-align`. * @component MessageContent * @example * Ada · 12:04 * * Shipped it. * * Delivered * */ interface SekiMessageContent { } /** * seki-message-footer: Metadata / action row below the message body. * Holds small muted metadata (e.g. "Delivered") or icon-only actions such as * copy, retry, and feedback. Compose actions with `seki-button size="icon"` and * give each an `aria-label`. It aligns with the parent `seki-message` * automatically through the row's inherited `text-align`. * @component MessageFooter * @example * … * … * */ interface SekiMessageFooter { } /** * seki-message-group: Stacks consecutive messages from the same sender. * Tightens the vertical gap between rows so a run of messages reads as a single * conversation turn. To keep the bubbles aligned, give the earlier rows an * empty `seki-message-avatar` (it reserves the avatar column width) and place * the real avatar on the last row of the run. * @component MessageGroup * @example * * * * * First * * * * * * ME * * * * Second * * * * */ interface SekiMessageGroup { } /** * seki-message-header: Muted metadata row above the message body. * Holds the sender name and/or timestamp in small, muted text. It aligns with * the parent `seki-message` automatically through the row's inherited * `text-align`, so no `align` prop is needed here. * @component MessageHeader * @example Ada Lovelace · 12:04 */ interface SekiMessageHeader { } /** * seki-message-scroller: streaming chat-transcript container (shadcn/ui parity). * The scroller keeps a streamed reply pinned to the bottom while the reader is * at the live edge, never fights an upward scroll, preserves the reading * position when older history is prepended, and drives a jump-to-end button. * It merges shadcn's `MessageScrollerProvider` + `MessageScroller` into one host * element because Stencil has no React context — this host owns *all* scroll * state. * ## Composition * ```html * * * * … * … * * * ↓ * * ``` * ## Implementation notes * All dynamic behaviour (follow-output, prepend preservation, edge/visibility * detection, edge-state attributes read by the button) is applied **directly to * the DOM** from observer/scroll callbacks rather than through Stencil `@State` * + `render()`. This mirrors shadcn's imperative design — rows must never * re-render mid-scroll — and deliberately side-steps the confirmed re-render bug * (#244) where a `@State` bump from an event/observer callback does not reliably * re-invoke `render()`. `render()` here runs exactly once, at mount. * @component MessageScroller */ interface SekiMessageScroller { /** * Follow streamed output while the reader is at the live edge. Any upward user scroll disengages following until the bottom is reached again. * @default true */ "autoScroll"?: boolean; /** * Where to position the transcript on first mount. `last-anchor` scrolls the last `scroll-anchor` row to the top. * @default 'end' */ "defaultScrollPosition"?: ScrollPosition; /** * Emitted when the viewport reaches or leaves an edge. Drives the active state of `seki-message-scroller-button`. */ "onSekiScrollerEdgeChange"?: (event: SekiMessageScrollerCustomEvent) => void; /** * Emitted when the set of visible messages (or the governing anchor) changes. Only fires while `track-visibility` is set. */ "onSekiScrollerVisibilityChange"?: (event: SekiMessageScrollerCustomEvent) => void; /** * Pixels of the previous turn kept visible above an anchored row when resolving `last-anchor` / `scrollToMessage`. * @default 0 */ "scrollPreviousItemPeek"?: number; /** * Compute and emit `sekiScrollerVisibilityChange`. Off by default so the IntersectionObserver only runs when a consumer actually needs visibility. * @default false */ "trackVisibility"?: boolean; } /** * seki-message-scroller-button: jump-to-edge control for the transcript. * Finds its scroller via `closest('seki-message-scroller')`, listens to * `sekiScrollerEdgeChange`, and shows itself only when there is somewhere to * jump to. When inactive it is `inert`, `tabindex="-1"`, `data-active="false"`, * so it leaves no dead focus stop. * ## Why the active-state update is imperative * The active state is toggled by mutating attributes **directly on the host** * (`this.el`) from the edge-change listener — it is deliberately NOT routed * through a Stencil `@State` bump + `render()`. This is the confirmed-broken * shape from #244: a component that reads a parent's state via `closest()` + * `addEventListener` + a `@State` bump does not reliably re-invoke `render()`. * Mutating the DOM directly here side-steps Stencil's render cycle entirely and * is guaranteed to apply. * @component MessageScrollerButton */ interface SekiMessageScrollerButton { /** * Which edge this button jumps to. `end` (default) is the classic jump-to-latest; `start` jumps to the top of the history. * @default 'end' */ "direction"?: 'end' | 'start'; /** * Accessible label for the button. * @default 'Jump to latest messages' */ "label"?: string; } /** * seki-message-scroller-content: the `role="log"` list of message rows. * Announces additions to assistive tech (`aria-relevant="additions"`). Consumers * can set `aria-busy` on this element during a stream to defer announcements * until the reply settles. * @component MessageScrollerContent */ interface SekiMessageScrollerContent { /** * Accessible label for the log region. * @default 'Message log' */ "label"?: string; } /** * seki-message-scroller-item: a single row boundary in the transcript. * Wraps one conversation turn (typically a `seki-message`). `message-id` is the * stable identifier used by `scrollToMessage` and visibility tracking; * `scroll-anchor` marks turn boundaries (usually the user's messages) that * `default-scroll-position="last-anchor"` targets. Both props reflect to * attributes so the parent scroller can query them from light DOM. * Rows opt into `content-visibility: auto` for cheap off-screen skipping in long * transcripts; the intrinsic-size fallback keeps the scrollbar stable. * @component MessageScrollerItem */ interface SekiMessageScrollerItem { /** * Stable row identifier for `scrollToMessage` and visibility tracking. */ "messageId"?: string; /** * Marks this row as a turn boundary (target for `last-anchor`). * @default false */ "scrollAnchor"?: boolean; } /** * seki-message-scroller-viewport: the scrollable element of the transcript. * The host element *is* the scroll container (`:host { overflow-y: auto }`), so * its `scrollTop` / `scrollHeight` / `clientHeight` are directly readable by the * parent `seki-message-scroller` from light DOM — no reaching across a shadow * boundary. Slotted rows stay in light DOM, so the parent's ResizeObserver / * MutationObserver / IntersectionObserver measure them reliably; this is why * `shadow: true` is kept here rather than falling back to `scoped` (the carousel * escape hatch was unnecessary). * @component MessageScrollerViewport */ interface SekiMessageScrollerViewport { /** * Accessible label for the scroll region. * @default 'Messages' */ "label"?: string; /** * When older rows are prepended, adjust `scrollTop` by the added height so the visible row doesn't jump. Read by the parent scroller. * @default true */ "preserveScrollOnPrepend"?: boolean; } /** * seki-native-select: Styled native HTML select wrapper * Uses the browser's native select dropdown for better mobile UX and accessibility. * Unlike seki-select (which uses a custom dropdown), this component wraps a native * ``) and the component keeps it in step with dragging. Assigning the property at any time drives the value, so a host framework can still fully control the slider — including vetoing a drag by writing the previous value back in its `sekiInput`/`sekiChange` handler. */ "value"?: number; } interface SekiSonner { /** * Default duration in ms for each toast. 0 means persistent. * @default 4000 */ "duration"?: number; /** * Position of the toast container on the screen * @default 'bottom-right' */ "position"?: SonnerPosition; } /** * Spinner component for loading states */ interface SekiSpinner { /** * Accessible label for screen readers * @default 'Loading' */ "ariaLabel"?: string; /** * Color variant of the spinner * @default 'default' */ "color"?: SpinnerColor; /** * Size of the spinner * @default 'md' */ "size"?: SpinnerSize; } /** * @component seki-switch * @description An accessible toggle control for binary on/off states with full keyboard navigation, * ARIA support, form integration, and theme compatibility. * @example * * */ interface SekiSwitch { /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * @description Accessible label for standalone switches without associated label elements. */ "ariaLabel"?: string; /** * @description Checked state. In HTML this attribute is the *initial* state (as with ``), and the component keeps it in step with user interaction. Assigning the property at any time drives the state, so a host framework can still fully control the switch — including vetoing a user toggle by writing the previous value back in its `sekiChange` handler. */ "checked"?: boolean; /** * @description Initial checked state for uncontrolled mode. Ignored if checked prop is provided. * @default false */ "defaultChecked"?: boolean; /** * @description Disables all interactions when true. * @default false */ "disabled"?: boolean; /** * @description Form field name for form integration. */ "name"?: string; /** * @description Emitted when checked state changes (user interaction or programmatic). */ "onSekiChange"?: (event: SekiSwitchCustomEvent<{ checked: boolean }>) => void; /** * @description Marks switch as required for form validation. * @default false */ "required"?: boolean; /** * @description Value sent in form data when switch is checked. Defaults to 'on'. * @default 'on' */ "value"?: string; } /** * seki-table: A semantic table wrapper component * @component Table * @example * * * Name * * * * * John * * * */ interface SekiTable { /** * ARIA label for the table */ "ariaLabel"?: string; } /** * seki-table-body: Table body wrapper (tbody) * @component TableBody */ interface SekiTableBody { } /** * seki-table-caption: Table caption element * @component TableCaption */ interface SekiTableCaption { } /** * seki-table-cell: Table data cell (td) * @component TableCell */ interface SekiTableCell { /** * Text alignment * @default 'left' */ "align"?: TableCellAlign; /** * Column width */ "width"?: string; } /** * seki-table-footer: Table footer wrapper (tfoot) * @component TableFooter */ interface SekiTableFooter { } /** * seki-table-head: Table header cell (th) * @component TableHead */ interface SekiTableHead { /** * Text alignment * @default 'left' */ "align"?: TableHeadAlign; /** * Current sort direction */ "sortDirection"?: 'asc' | 'desc'; /** * Whether this column is sortable * @default false */ "sortable"?: boolean; /** * Column width */ "width"?: string; } /** * seki-table-header: Table header wrapper (thead) * @component TableHeader */ interface SekiTableHeader { } /** * seki-table-row: Table row wrapper (tr) * @component TableRow */ interface SekiTableRow { /** * Whether this row is selected * @default false */ "selected"?: boolean; } /** * Tabs root component that manages selected tab state */ interface SekiTabs { /** * Default value for uncontrolled usage */ "defaultValue"?: string; /** * Emitted when value changes */ "onSekiValueChange"?: (event: SekiTabsCustomEvent) => void; /** * Orientation of the tabs * @default 'horizontal' */ "orientation"?: 'horizontal' | 'vertical'; /** * Controlled value - which tab is selected */ "value"?: string; } /** * Tab content panel */ interface SekiTabsContent { /** * Value that matches a trigger */ "value": string; } /** * Container for tab triggers */ interface SekiTabsList { } /** * Tab trigger button */ interface SekiTabsTrigger { /** * Disable this specific trigger * @default false */ "disabled"?: boolean; /** * Unique value for this tab */ "value": string; } /** * @component seki-textarea * @description A multi-line text input field with full form integration, accessibility support, * and consistent styling matching shadcn/ui patterns. * @example * */ interface SekiTextarea { /** * ID of element describing this textarea */ "ariaDescribedby"?: string; /** * Text that describes this control. Set by `seki-field` from its description (and error) slot, because an `aria-describedby` id cannot cross the shadow boundary to the inner element (#358). */ "ariaDescription"?: string; /** * Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ "ariaInvalid"?: string; /** * Accessible label for screen readers */ "ariaLabel"?: string; /** * Autocomplete attribute */ "autocomplete"?: string; /** * Number of visible text columns */ "cols"?: number; /** * Whether the textarea is disabled * @default false */ "disabled"?: boolean; /** * Whether the textarea is in an invalid/error state * @default false */ "invalid"?: boolean; /** * Maximum length of content */ "maxlength"?: number; /** * Minimum length of content */ "minlength"?: number; /** * Name attribute for form submission */ "name"?: string; /** * Emitted on blur */ "onSekiBlur"?: (event: SekiTextareaCustomEvent<{ value: string; nativeEvent: FocusEvent }>) => void; /** * Emitted on blur or when content changes */ "onSekiChange"?: (event: SekiTextareaCustomEvent<{ value: string; nativeEvent: Event }>) => void; /** * Emitted on focus */ "onSekiFocus"?: (event: SekiTextareaCustomEvent<{ nativeEvent: FocusEvent }>) => void; /** * Emitted on every keystroke */ "onSekiInput"?: (event: SekiTextareaCustomEvent<{ value: string; nativeEvent: Event }>) => void; /** * Placeholder text displayed when empty */ "placeholder"?: string; /** * Whether the textarea is readonly * @default false */ "readonly"?: boolean; /** * Whether the textarea is required * @default false */ "required"?: boolean; /** * Resize behavior of the textarea * @default 'vertical' */ "resize"?: 'none' | 'both' | 'horizontal' | 'vertical'; /** * Number of visible text rows * @default 3 */ "rows"?: number; /** * Current value of the textarea * @default '' */ "value"?: string; } /** * Toaster component that manages and displays toast notifications. * Place this component once in your app layout. * @example * // Trigger toasts via custom events: * document.dispatchEvent(new CustomEvent('seki-toast', { * detail: { message: 'Hello!', type: 'success' } * })); */ interface SekiToaster { /** * Default duration in milliseconds before auto-dismiss * @default 4000 */ "duration"?: number; /** * Maximum number of visible toasts * @default 5 */ "maxToasts"?: number; /** * Position of the toast container * @default 'bottom-right' */ "position"?: ToastPosition; } /** * @component seki-toggle * @description A two-state button that can be either on or off. Supports variants (default, outline) * and sizes (sm, md, lg) with full keyboard navigation and ARIA support. * @example Bold * Italic * Underline */ interface SekiToggle { /** * Accessible label for screen readers. Required for icon-only toggles. */ "ariaLabel"?: string; /** * Initial pressed state for uncontrolled mode. Ignored if pressed prop is provided. * @default false */ "defaultPressed"?: boolean; /** * Disables all interactions when true. * @default false */ "disabled"?: boolean; /** * Emitted when pressed state changes. */ "onSekiPressedChange"?: (event: SekiToggleCustomEvent<{ pressed: boolean }>) => void; /** * Controlled pressed state. When provided, component operates in controlled mode. */ "pressed"?: boolean; /** * Size of the toggle button. * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; /** * Value identifier when used inside a toggle group. */ "value"?: string; /** * Visual style variant of the toggle. * @default 'default' */ "variant"?: 'default' | 'outline'; } interface SekiToggleGroup { /** * Accessible label */ "ariaLabel"?: string; /** * Initial value for uncontrolled mode */ "defaultValue"?: string | string[]; /** * Disable all toggles * @default false */ "disabled"?: boolean; /** * Internal: notifies slotted seki-toggle children that toggleGroupContext was refreshed, so they can update their pressed/focus/disabled visuals. Slotted children don't re-render when the group does, so without this their data-state/aria-pressed/tabindex freeze at mount values (#255). Same mechanism as seki-select's sekiSelectContextChange (#244). */ "onSekiContextChange"?: (event: SekiToggleGroupCustomEvent) => void; /** * Emitted when value changes */ "onSekiValueChange"?: (event: SekiToggleGroupCustomEvent) => void; /** * Layout orientation * @default 'horizontal' */ "orientation"?: 'horizontal' | 'vertical'; /** * Size for all toggles * @default 'md' */ "size"?: 'sm' | 'md' | 'lg'; /** * Selection mode: single (radio-like) or multiple (checkbox-like) * @default 'single' */ "type"?: 'single' | 'multiple'; /** * Controlled value */ "value"?: string | string[]; /** * Visual style variant for all toggles * @default 'default' */ "variant"?: 'default' | 'outline'; } /** * Tooltip Component * A fully accessible tooltip component that displays contextual information * on hover (desktop) and long-press (touch). Supports rich HTML content, * intelligent positioning, keyboard navigation, and dark mode. * @example ```html * * *
Helpful information
*
* ``` */ interface SekiTooltip { /** * Initial open state for uncontrolled usage * @default false */ "defaultOpen"?: boolean; /** * Milliseconds to delay before showing tooltip on hover * @default 0 * @min 0 * @max 2000 */ "delay"?: number; /** * Disable tooltip interactions and visibility * @default false */ "disabled"?: boolean; /** * Pixels between tooltip and trigger element * @default 8 * @min 0 */ "offset"?: number; /** * Event emitted when tooltip becomes hidden */ "onHideTooltip"?: (event: SekiTooltipCustomEvent) => void; /** * Event emitted after tooltip position is calculated */ "onPositioned"?: (event: SekiTooltipCustomEvent) => void; /** * Event emitted when tooltip becomes visible */ "onShowTooltip"?: (event: SekiTooltipCustomEvent) => void; /** * Controlled open state. Reflects to the `open` attribute, so `` renders visible with no script involved. * @default false */ "open"?: boolean; /** * Preferred positioning side for tooltip 'auto' uses intelligent repositioning based on viewport space * @default 'auto' */ "side"?: TooltipSide; } interface IntrinsicElements { "seki-accordion": SekiAccordion; "seki-accordion-content": SekiAccordionContent; "seki-accordion-item": SekiAccordionItem; "seki-accordion-trigger": SekiAccordionTrigger; "seki-alert": SekiAlert; "seki-alert-description": SekiAlertDescription; "seki-alert-dialog": SekiAlertDialog; "seki-alert-dialog-action": SekiAlertDialogAction; "seki-alert-dialog-cancel": SekiAlertDialogCancel; "seki-alert-dialog-content": SekiAlertDialogContent; "seki-alert-dialog-trigger": SekiAlertDialogTrigger; "seki-alert-title": SekiAlertTitle; "seki-aspect-ratio": SekiAspectRatio; "seki-attachment": SekiAttachment; "seki-attachment-action": SekiAttachmentAction; "seki-attachment-actions": SekiAttachmentActions; "seki-attachment-content": SekiAttachmentContent; "seki-attachment-description": SekiAttachmentDescription; "seki-attachment-group": SekiAttachmentGroup; "seki-attachment-media": SekiAttachmentMedia; "seki-attachment-title": SekiAttachmentTitle; "seki-attachment-trigger": SekiAttachmentTrigger; "seki-avatar": SekiAvatar; "seki-avatar-fallback": SekiAvatarFallback; "seki-avatar-image": SekiAvatarImage; "seki-badge": SekiBadge; "seki-breadcrumb": SekiBreadcrumb; "seki-breadcrumb-ellipsis": SekiBreadcrumbEllipsis; "seki-breadcrumb-item": SekiBreadcrumbItem; "seki-breadcrumb-link": SekiBreadcrumbLink; "seki-breadcrumb-list": SekiBreadcrumbList; "seki-breadcrumb-page": SekiBreadcrumbPage; "seki-breadcrumb-separator": SekiBreadcrumbSeparator; "seki-bubble": SekiBubble; "seki-bubble-content": SekiBubbleContent; "seki-bubble-group": SekiBubbleGroup; "seki-bubble-reactions": SekiBubbleReactions; "seki-button": SekiButton; "seki-button-group": SekiButtonGroup; "seki-calendar": SekiCalendar; "seki-card": SekiCard; "seki-card-action": SekiCardAction; "seki-card-content": SekiCardContent; "seki-card-description": SekiCardDescription; "seki-card-footer": SekiCardFooter; "seki-card-header": SekiCardHeader; "seki-card-title": SekiCardTitle; "seki-carousel": SekiCarousel; "seki-carousel-content": SekiCarouselContent; "seki-carousel-dots": SekiCarouselDots; "seki-carousel-item": SekiCarouselItem; "seki-carousel-next": SekiCarouselNext; "seki-carousel-previous": SekiCarouselPrevious; "seki-chart": SekiChart; "seki-chart-legend": SekiChartLegend; "seki-checkbox": SekiCheckbox; "seki-collapsible": SekiCollapsible; "seki-collapsible-content": SekiCollapsibleContent; "seki-collapsible-trigger": SekiCollapsibleTrigger; "seki-combobox": SekiCombobox; "seki-combobox-content": SekiComboboxContent; "seki-combobox-empty": SekiComboboxEmpty; "seki-combobox-group": SekiComboboxGroup; "seki-combobox-input": SekiComboboxInput; "seki-combobox-item": SekiComboboxItem; "seki-command": SekiCommand; "seki-command-empty": SekiCommandEmpty; "seki-command-group": SekiCommandGroup; "seki-command-input": SekiCommandInput; "seki-command-item": SekiCommandItem; "seki-command-list": SekiCommandList; "seki-command-separator": SekiCommandSeparator; "seki-context-menu": SekiContextMenu; "seki-context-menu-content": SekiContextMenuContent; "seki-context-menu-trigger": SekiContextMenuTrigger; "seki-data-table": SekiDataTable; "seki-date-picker": SekiDatePicker; "seki-dialog": SekiDialog; "seki-dialog-close": SekiDialogClose; "seki-dialog-content": SekiDialogContent; "seki-dialog-description": SekiDialogDescription; "seki-dialog-footer": SekiDialogFooter; "seki-dialog-header": SekiDialogHeader; "seki-dialog-overlay": SekiDialogOverlay; "seki-dialog-title": SekiDialogTitle; "seki-dialog-trigger": SekiDialogTrigger; "seki-direction": SekiDirection; "seki-drawer": SekiDrawer; "seki-drawer-content": SekiDrawerContent; "seki-dropdown-menu": SekiDropdownMenu; "seki-dropdown-menu-checkbox": SekiDropdownMenuCheckbox; "seki-dropdown-menu-content": SekiDropdownMenuContent; "seki-dropdown-menu-item": SekiDropdownMenuItem; "seki-dropdown-menu-label": SekiDropdownMenuLabel; "seki-dropdown-menu-radio": SekiDropdownMenuRadio; "seki-dropdown-menu-radio-group": SekiDropdownMenuRadioGroup; "seki-dropdown-menu-separator": SekiDropdownMenuSeparator; "seki-dropdown-menu-shortcut": SekiDropdownMenuShortcut; "seki-dropdown-menu-sub": SekiDropdownMenuSub; "seki-dropdown-menu-trigger": SekiDropdownMenuTrigger; "seki-empty": SekiEmpty; "seki-field": SekiField; "seki-field-description": SekiFieldDescription; "seki-field-error": SekiFieldError; "seki-field-group": SekiFieldGroup; "seki-field-label": SekiFieldLabel; "seki-field-legend": SekiFieldLegend; "seki-fieldset": SekiFieldset; "seki-hover-card": SekiHoverCard; "seki-hover-card-content": SekiHoverCardContent; "seki-hover-card-trigger": SekiHoverCardTrigger; "seki-input": SekiInput; "seki-input-addon": SekiInputAddon; "seki-input-group": SekiInputGroup; "seki-input-otp": SekiInputOtp; "seki-input-otp-group": SekiInputOtpGroup; "seki-input-otp-separator": SekiInputOtpSeparator; "seki-input-otp-slot": SekiInputOtpSlot; "seki-item": SekiItem; "seki-kbd": SekiKbd; "seki-label": SekiLabel; "seki-marker": SekiMarker; "seki-marker-content": SekiMarkerContent; "seki-marker-icon": SekiMarkerIcon; "seki-menubar": SekiMenubar; "seki-menubar-checkbox": SekiMenubarCheckbox; "seki-menubar-content": SekiMenubarContent; "seki-menubar-group": SekiMenubarGroup; "seki-menubar-item": SekiMenubarItem; "seki-menubar-menu": SekiMenubarMenu; "seki-menubar-radio": SekiMenubarRadio; "seki-menubar-radio-group": SekiMenubarRadioGroup; "seki-menubar-separator": SekiMenubarSeparator; "seki-menubar-shortcut": SekiMenubarShortcut; "seki-menubar-sub": SekiMenubarSub; "seki-menubar-sub-content": SekiMenubarSubContent; "seki-menubar-sub-trigger": SekiMenubarSubTrigger; "seki-menubar-trigger": SekiMenubarTrigger; "seki-message": SekiMessage; "seki-message-avatar": SekiMessageAvatar; "seki-message-content": SekiMessageContent; "seki-message-footer": SekiMessageFooter; "seki-message-group": SekiMessageGroup; "seki-message-header": SekiMessageHeader; "seki-message-scroller": SekiMessageScroller; "seki-message-scroller-button": SekiMessageScrollerButton; "seki-message-scroller-content": SekiMessageScrollerContent; "seki-message-scroller-item": SekiMessageScrollerItem; "seki-message-scroller-viewport": SekiMessageScrollerViewport; "seki-native-select": SekiNativeSelect; "seki-navigation-menu": SekiNavigationMenu; "seki-navigation-menu-content": SekiNavigationMenuContent; "seki-navigation-menu-item": SekiNavigationMenuItem; "seki-navigation-menu-link": SekiNavigationMenuLink; "seki-navigation-menu-list": SekiNavigationMenuList; "seki-navigation-menu-trigger": SekiNavigationMenuTrigger; "seki-navigation-menu-viewport": SekiNavigationMenuViewport; "seki-pagination": SekiPagination; "seki-pagination-content": SekiPaginationContent; "seki-pagination-ellipsis": SekiPaginationEllipsis; "seki-pagination-item": SekiPaginationItem; "seki-pagination-link": SekiPaginationLink; "seki-pagination-next": SekiPaginationNext; "seki-pagination-previous": SekiPaginationPrevious; "seki-popover": SekiPopover; "seki-popover-close": SekiPopoverClose; "seki-popover-content": SekiPopoverContent; "seki-popover-trigger": SekiPopoverTrigger; "seki-progress": SekiProgress; "seki-radio-group": SekiRadioGroup; "seki-radio-group-item": SekiRadioGroupItem; "seki-resizable-handle": SekiResizableHandle; "seki-resizable-panel": SekiResizablePanel; "seki-resizable-panel-group": SekiResizablePanelGroup; "seki-scroll-area": SekiScrollArea; "seki-scroll-bar": SekiScrollBar; "seki-select": SekiSelect; "seki-select-content": SekiSelectContent; "seki-select-group": SekiSelectGroup; "seki-select-option": SekiSelectOption; "seki-select-trigger": SekiSelectTrigger; "seki-separator": SekiSeparator; "seki-sheet": SekiSheet; "seki-sheet-close": SekiSheetClose; "seki-sheet-content": SekiSheetContent; "seki-sheet-description": SekiSheetDescription; "seki-sheet-footer": SekiSheetFooter; "seki-sheet-header": SekiSheetHeader; "seki-sheet-title": SekiSheetTitle; "seki-sheet-trigger": SekiSheetTrigger; "seki-sidebar": SekiSidebar; "seki-sidebar-content": SekiSidebarContent; "seki-sidebar-footer": SekiSidebarFooter; "seki-sidebar-group": SekiSidebarGroup; "seki-sidebar-group-action": SekiSidebarGroupAction; "seki-sidebar-group-content": SekiSidebarGroupContent; "seki-sidebar-group-label": SekiSidebarGroupLabel; "seki-sidebar-header": SekiSidebarHeader; "seki-sidebar-inset": SekiSidebarInset; "seki-sidebar-menu": SekiSidebarMenu; "seki-sidebar-menu-action": SekiSidebarMenuAction; "seki-sidebar-menu-badge": SekiSidebarMenuBadge; "seki-sidebar-menu-button": SekiSidebarMenuButton; "seki-sidebar-menu-item": SekiSidebarMenuItem; "seki-sidebar-menu-skeleton": SekiSidebarMenuSkeleton; "seki-sidebar-menu-sub": SekiSidebarMenuSub; "seki-sidebar-menu-sub-button": SekiSidebarMenuSubButton; "seki-sidebar-menu-sub-item": SekiSidebarMenuSubItem; "seki-sidebar-provider": SekiSidebarProvider; "seki-sidebar-rail": SekiSidebarRail; "seki-sidebar-separator": SekiSidebarSeparator; "seki-sidebar-trigger": SekiSidebarTrigger; "seki-skeleton": SekiSkeleton; "seki-slider": SekiSlider; "seki-sonner": SekiSonner; "seki-spinner": SekiSpinner; "seki-switch": SekiSwitch; "seki-table": SekiTable; "seki-table-body": SekiTableBody; "seki-table-caption": SekiTableCaption; "seki-table-cell": SekiTableCell; "seki-table-footer": SekiTableFooter; "seki-table-head": SekiTableHead; "seki-table-header": SekiTableHeader; "seki-table-row": SekiTableRow; "seki-tabs": SekiTabs; "seki-tabs-content": SekiTabsContent; "seki-tabs-list": SekiTabsList; "seki-tabs-trigger": SekiTabsTrigger; "seki-textarea": SekiTextarea; "seki-toaster": SekiToaster; "seki-toggle": SekiToggle; "seki-toggle-group": SekiToggleGroup; "seki-tooltip": SekiTooltip; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { /** * Accordion root component that manages expanded state of items */ "seki-accordion": LocalJSX.SekiAccordion & JSXBase.HTMLAttributes; /** * Accordion content container with animated height transition */ "seki-accordion-content": LocalJSX.SekiAccordionContent & JSXBase.HTMLAttributes; /** * Individual accordion item container */ "seki-accordion-item": LocalJSX.SekiAccordionItem & JSXBase.HTMLAttributes; /** * Trigger button for accordion item - click to toggle */ "seki-accordion-trigger": LocalJSX.SekiAccordionTrigger & JSXBase.HTMLAttributes; /** * Alert component for displaying contextual feedback messages. * Supports icons, titles, and descriptions with multiple visual variants. * @example * Heads up! * You can add components using the CLI. * * @example * ... * Error * Your session has expired. * */ "seki-alert": LocalJSX.SekiAlert & JSXBase.HTMLAttributes; /** * Description text within an alert component. * Renders supporting text with appropriate typography styles. * @example * Heads up! * * You can add components to your app using the CLI. * * */ "seki-alert-description": LocalJSX.SekiAlertDescription & JSXBase.HTMLAttributes; /** * Alert Dialog root component for confirmation dialogs * A modal dialog that interrupts the user with important content and expects a response. * Wraps seki-dialog internally with Alert Dialog-specific behavior. */ "seki-alert-dialog": LocalJSX.SekiAlertDialog & JSXBase.HTMLAttributes; /** * Alert Dialog Action Button Component * A button that confirms and closes the alert dialog. Supports default and destructive variants * for different action types. Emits a sekiAction event before closing. */ "seki-alert-dialog-action": LocalJSX.SekiAlertDialogAction & JSXBase.HTMLAttributes; /** * Alert Dialog Cancel Button Component * A button that cancels and closes the alert dialog without confirming the action. * Emits a sekiCancel event before closing. */ "seki-alert-dialog-cancel": LocalJSX.SekiAlertDialogCancel & JSXBase.HTMLAttributes; /** * Alert Dialog Content Component * The content panel for the alert dialog with role="alertdialog". * This is a modal dialog that interrupts the user with important content * and expects a response. Unlike regular dialogs, it does NOT close on * overlay click - users must explicitly confirm or cancel. */ "seki-alert-dialog-content": LocalJSX.SekiAlertDialogContent & JSXBase.HTMLAttributes; /** * Alert Dialog Trigger Component * The element that opens the alert dialog when clicked. */ "seki-alert-dialog-trigger": LocalJSX.SekiAlertDialogTrigger & JSXBase.HTMLAttributes; /** * Title text within an alert component. * Renders as a heading with appropriate typography styles. * @example * Heads up! * */ "seki-alert-title": LocalJSX.SekiAlertTitle & JSXBase.HTMLAttributes; /** * Aspect Ratio component for maintaining consistent aspect ratios */ "seki-aspect-ratio": LocalJSX.SekiAspectRatio & JSXBase.HTMLAttributes; /** * seki-attachment: File/image attachment card with metadata, upload states, * and actions — for chat composers, message threads, and upload lists. * The card is a positioned surface that composes `seki-attachment-media` * (icon or image preview), `seki-attachment-content` (title + description), * and optional `seki-attachment-actions` / `seki-attachment-trigger` overlays. * A `seki-attachment-trigger` fills the whole card behind the actions row so * the two interaction layers stay independently focusable and clickable. * The `uploading` and `processing` states apply a shimmer sweep across the * card (with a static muted fallback under `prefers-reduced-motion`); the * `error` state paints a destructive border and title. Group several cards * into a horizontally scrollable row with `seki-attachment-group`. * @component Attachment * @example * 📄 * * sales-dashboard.pdf * 2.4 MB · PDF * * * ✕ * * */ "seki-attachment": LocalJSX.SekiAttachment & JSXBase.HTMLAttributes; /** * seki-attachment-action: Icon button for a `seki-attachment` (remove, * download, retry, …). * Renders a minimal internal ghost button sized to match `seki-button`'s * icon scale (roughly `icon-xs`). Slot a single icon glyph. The native click * composes out of the shadow root, so listen for `click` on the element. * Accessibility: an `aria-label` is required and MUST name both the action and * the file, e.g. `label="Remove sales-dashboard.pdf"`. * @component AttachmentAction * @example ✕ */ "seki-attachment-action": LocalJSX.SekiAttachmentAction & JSXBase.HTMLAttributes; /** * seki-attachment-actions: Trailing action cluster for a `seki-attachment`. * Holds one or more `seki-attachment-action` icon buttons. It establishes a * stacking context above any `seki-attachment-trigger` overlay so the actions * stay independently clickable and focusable while the trigger covers the rest * of the card. * @component AttachmentActions * @example * ⬇ * ✕ * */ "seki-attachment-actions": LocalJSX.SekiAttachmentActions & JSXBase.HTMLAttributes; /** * seki-attachment-content: Text column of a `seki-attachment` card. * Stacks a `seki-attachment-title` above a `seki-attachment-description` and * takes the remaining inline space, shrinking so the title can truncate. * @component AttachmentContent * @example * report.pdf * 1.2 MB · PDF * */ "seki-attachment-content": LocalJSX.SekiAttachmentContent & JSXBase.HTMLAttributes; /** * seki-attachment-description: Secondary metadata line of a `seki-attachment`. * Renders at extra-small, muted type — use it for size, type, upload progress, * or, in the `error` state, the human-readable failure reason (so the error is * conveyed by text, not colour alone). * @component AttachmentDescription * @example Upload failed — file exceeds 10 MB */ "seki-attachment-description": LocalJSX.SekiAttachmentDescription & JSXBase.HTMLAttributes; /** * seki-attachment-group: Horizontally scrollable row of `seki-attachment` * cards for chat composers and message threads. * Scrolls on the x-axis with proximity scroll-snap and a soft edge fade. It is * presentational, so it exposes `role="group"` with a required `label` to name * the collection for assistive tech; individual cards remain independently * tab-reachable. * @component AttachmentGroup * @example * … * … * */ "seki-attachment-group": LocalJSX.SekiAttachmentGroup & JSXBase.HTMLAttributes; /** * seki-attachment-media: Leading media box for a `seki-attachment` card. * `icon` renders a fixed-size muted square that centers a slotted icon * (emoji, SVG, or `seki-*` icon). `image` renders a preview box that a * slotted `` fills with `object-fit: cover`. In a vertical attachment * the parent stretches the box into a full-width preview banner via inherited * custom properties — no orientation prop is needed here. * @component AttachmentMedia * @example * Screenshot preview * */ "seki-attachment-media": LocalJSX.SekiAttachmentMedia & JSXBase.HTMLAttributes; /** * seki-attachment-title: File name / primary label of a `seki-attachment`. * Renders at small, medium-weight type and truncates with an ellipsis when it * overflows. On the parent's `error` state the colour switches to destructive * automatically via an inherited custom property. * @component AttachmentTitle * @example sales-dashboard.pdf */ "seki-attachment-title": LocalJSX.SekiAttachmentTitle & JSXBase.HTMLAttributes; /** * seki-attachment-trigger: Full-card overlay button for a `seki-attachment`. * Stretches across the whole card (absolute inset) to make the entire card * activatable — e.g. to open a preview dialog. It is layered *behind* * `seki-attachment-actions` so per-item actions (remove, download) stay * independently clickable; both layers remain in the tab order with no focus * trap. * Accessibility: an `aria-label` is required and MUST describe what activation * does, e.g. `label="Preview sales-dashboard.pdf"`. * @component AttachmentTrigger * @example * …media / content… * * … * */ "seki-attachment-trigger": LocalJSX.SekiAttachmentTrigger & JSXBase.HTMLAttributes; /** * seki-avatar: Container for avatar image with fallback support * @component Avatar * @example * * JD * */ "seki-avatar": LocalJSX.SekiAvatar & JSXBase.HTMLAttributes; /** * seki-avatar-fallback: Fallback content for avatar when image fails to load * @component AvatarFallback * @example * * JD * */ "seki-avatar-fallback": LocalJSX.SekiAvatarFallback & JSXBase.HTMLAttributes; /** * seki-avatar-image: Image element for the avatar with load/error handling * @component AvatarImage * @example * * JD * */ "seki-avatar-image": LocalJSX.SekiAvatarImage & JSXBase.HTMLAttributes; /** * seki-badge: Presentational badge component for displaying small pieces of information * @component Badge * @example Label * * ℹ * Secondary * */ "seki-badge": LocalJSX.SekiBadge & JSXBase.HTMLAttributes; /** * seki-breadcrumb: Root breadcrumb navigation component * @component Breadcrumb * @example * * * Home * * * * Current * * * */ "seki-breadcrumb": LocalJSX.SekiBreadcrumb & JSXBase.HTMLAttributes; /** * seki-breadcrumb-ellipsis: Collapsed state indicator for long breadcrumbs * @component BreadcrumbEllipsis */ "seki-breadcrumb-ellipsis": LocalJSX.SekiBreadcrumbEllipsis & JSXBase.HTMLAttributes; /** * seki-breadcrumb-item: Individual breadcrumb item wrapper * @component BreadcrumbItem */ "seki-breadcrumb-item": LocalJSX.SekiBreadcrumbItem & JSXBase.HTMLAttributes; /** * seki-breadcrumb-link: Navigable link in breadcrumb * @component BreadcrumbLink */ "seki-breadcrumb-link": LocalJSX.SekiBreadcrumbLink & JSXBase.HTMLAttributes; /** * seki-breadcrumb-list: Container for breadcrumb items * @component BreadcrumbList */ "seki-breadcrumb-list": LocalJSX.SekiBreadcrumbList & JSXBase.HTMLAttributes; /** * seki-breadcrumb-page: Current page indicator (non-interactive) * @component BreadcrumbPage */ "seki-breadcrumb-page": LocalJSX.SekiBreadcrumbPage & JSXBase.HTMLAttributes; /** * seki-breadcrumb-separator: Visual separator between breadcrumb items * @component BreadcrumbSeparator */ "seki-breadcrumb-separator": LocalJSX.SekiBreadcrumbSeparator & JSXBase.HTMLAttributes; /** * seki-bubble: Message-bubble surface for chat interfaces. * The bubble is the aligned, width-capped surface that carries the visual * variant. Compose it with `seki-bubble-content` for the message body and * `seki-bubble-reactions` for an optional reactions row. Group consecutive * bubbles with `seki-bubble-group`. * @component Bubble * @example * Hey, how are you? * */ "seki-bubble": LocalJSX.SekiBubble & JSXBase.HTMLAttributes; /** * seki-bubble-content: Message body region inside a `seki-bubble`. * Slot-based — it inherits the bubble's colour and applies the message * typography. For interactive bubbles, slot a real `` or ``) stay reachable and announced; static emoji * text inside is still read. Pass `label` to name the group for assistive * technology (e.g. "Reactions: thumbs up and 2 more"); `aria-label` is only * applied when `label` is set. * @component BubbleReactions * @example * Nice work! * * 👍 2 ❤️ 1 * * */ "seki-bubble-reactions": LocalJSX.SekiBubbleReactions & JSXBase.HTMLAttributes; "seki-button": LocalJSX.SekiButton & JSXBase.HTMLAttributes; "seki-button-group": LocalJSX.SekiButtonGroup & JSXBase.HTMLAttributes; /** * seki-calendar: A calendar component for date selection * @component Calendar * @example * */ "seki-calendar": LocalJSX.SekiCalendar & JSXBase.HTMLAttributes; /** * Flexible container for organizing related content with optional header, * content, and footer sections. Composition-based using subcomponents. * @example * * Title * * Content here * */ "seki-card": LocalJSX.SekiCard & JSXBase.HTMLAttributes; /** * Optional action area within card header for buttons or menus. * Provides flex layout with automatic right-alignment. * @example * * */ "seki-card-action": LocalJSX.SekiCardAction & JSXBase.HTMLAttributes; /** * Main content body of the card. * Flexible container for any content (text, forms, lists, etc.) * @example * * * */ "seki-card-content": LocalJSX.SekiCardContent & JSXBase.HTMLAttributes; /** * Secondary descriptive text below the card title. * Renders as paragraph with muted text color. * @example Description text */ "seki-card-description": LocalJSX.SekiCardDescription & JSXBase.HTMLAttributes; /** * Bottom section of a card for action buttons or footer content. * Provides flex layout with optional alignment control. * @example * * * */ "seki-card-footer": LocalJSX.SekiCardFooter & JSXBase.HTMLAttributes; /** * Header section of a card, typically containing title and description. * Provides flex layout for arranging title + action elements. * @example * Title * Description * * * * */ "seki-card-header": LocalJSX.SekiCardHeader & JSXBase.HTMLAttributes; /** * Primary heading text within a card header. * Renders as semantic heading (h1-h6) with typography tokens. * @example My Card Title */ "seki-card-title": LocalJSX.SekiCardTitle & JSXBase.HTMLAttributes; "seki-carousel": LocalJSX.SekiCarousel & JSXBase.HTMLAttributes; /** * Container for carousel slides. This component serves as the viewport * for the Embla carousel. */ "seki-carousel-content": LocalJSX.SekiCarouselContent & JSXBase.HTMLAttributes; /** * Dot indicators for carousel navigation. * Automatically syncs with parent seki-carousel. */ "seki-carousel-dots": LocalJSX.SekiCarouselDots & JSXBase.HTMLAttributes; /** * Individual carousel slide item. */ "seki-carousel-item": LocalJSX.SekiCarouselItem & JSXBase.HTMLAttributes; /** * Next slide navigation button. * Automatically connects to parent seki-carousel. */ "seki-carousel-next": LocalJSX.SekiCarouselNext & JSXBase.HTMLAttributes; /** * Previous slide navigation button. * Automatically connects to parent seki-carousel. */ "seki-carousel-previous": LocalJSX.SekiCarouselPrevious & JSXBase.HTMLAttributes; "seki-chart": LocalJSX.SekiChart & JSXBase.HTMLAttributes; /** * seki-chart-legend: A standalone legend component for charts. * Renders a list of colored dot indicators paired with labels. * Designed to complement the seki-chart component but can be used independently. * @component ChartLegend * @example * // Set config via JS: * legend.config = { items: [{ label: 'Revenue', color: '#3b82f6' }] }; */ "seki-chart-legend": LocalJSX.SekiChartLegend & JSXBase.HTMLAttributes; /** * @component seki-checkbox * @description A checkbox control that allows users to toggle between checked, unchecked, * and optionally indeterminate states. Supports form integration and full accessibility. * @example * * */ "seki-checkbox": LocalJSX.SekiCheckbox & JSXBase.HTMLAttributes; "seki-collapsible": LocalJSX.SekiCollapsible & JSXBase.HTMLAttributes; /** * Collapsible content container with animated height transition */ "seki-collapsible-content": LocalJSX.SekiCollapsibleContent & JSXBase.HTMLAttributes; /** * Trigger button for Collapsible component */ "seki-collapsible-trigger": LocalJSX.SekiCollapsibleTrigger & JSXBase.HTMLAttributes; "seki-combobox": LocalJSX.SekiCombobox & JSXBase.HTMLAttributes; "seki-combobox-content": LocalJSX.SekiComboboxContent & JSXBase.HTMLAttributes; /** * seki-combobox-empty: Display empty/loading/error states for combobox dropdown * @component ComboboxEmpty * @example * No results found. * * @example * Loading... * */ "seki-combobox-empty": LocalJSX.SekiComboboxEmpty & JSXBase.HTMLAttributes; "seki-combobox-group": LocalJSX.SekiComboboxGroup & JSXBase.HTMLAttributes; "seki-combobox-input": LocalJSX.SekiComboboxInput & JSXBase.HTMLAttributes; "seki-combobox-item": LocalJSX.SekiComboboxItem & JSXBase.HTMLAttributes; /** * Command root component - command palette for navigation */ "seki-command": LocalJSX.SekiCommand & JSXBase.HTMLAttributes; /** * Command empty state - shown when no results match */ "seki-command-empty": LocalJSX.SekiCommandEmpty & JSXBase.HTMLAttributes; /** * Command group - groups related items with a heading */ "seki-command-group": LocalJSX.SekiCommandGroup & JSXBase.HTMLAttributes; /** * Command input - search field for filtering items */ "seki-command-input": LocalJSX.SekiCommandInput & JSXBase.HTMLAttributes; /** * Command item - selectable option in the command list */ "seki-command-item": LocalJSX.SekiCommandItem & JSXBase.HTMLAttributes; /** * Command list - scrollable container for items and groups */ "seki-command-list": LocalJSX.SekiCommandList & JSXBase.HTMLAttributes; /** * Command separator/divider */ "seki-command-separator": LocalJSX.SekiCommandSeparator & JSXBase.HTMLAttributes; /** * Context Menu component - right-click context menu with items */ "seki-context-menu": LocalJSX.SekiContextMenu & JSXBase.HTMLAttributes; /** * Context Menu content panel - displays at cursor position */ "seki-context-menu-content": LocalJSX.SekiContextMenuContent & JSXBase.HTMLAttributes; /** * Context Menu trigger component * Handles right-click (desktop) and long-press (touch) to open context menu */ "seki-context-menu-trigger": LocalJSX.SekiContextMenuTrigger & JSXBase.HTMLAttributes; "seki-data-table": LocalJSX.SekiDataTable & JSXBase.HTMLAttributes; /** * seki-date-picker: A date picker component with popover calendar * @component DatePicker * @example * */ "seki-date-picker": LocalJSX.SekiDatePicker & JSXBase.HTMLAttributes; /** * Dialog root component for modal dialogs */ "seki-dialog": LocalJSX.SekiDialog & JSXBase.HTMLAttributes; /** * Dialog close button */ "seki-dialog-close": LocalJSX.SekiDialogClose & JSXBase.HTMLAttributes; /** * Dialog content panel */ "seki-dialog-content": LocalJSX.SekiDialogContent & JSXBase.HTMLAttributes; /** * Dialog description */ "seki-dialog-description": LocalJSX.SekiDialogDescription & JSXBase.HTMLAttributes; /** * Dialog footer container */ "seki-dialog-footer": LocalJSX.SekiDialogFooter & JSXBase.HTMLAttributes; /** * Dialog header container */ "seki-dialog-header": LocalJSX.SekiDialogHeader & JSXBase.HTMLAttributes; /** * Dialog overlay (backdrop) * Works inside `seki-dialog` and inside `seki-alert-dialog`. In an alert * dialog a click on the overlay never closes it (shadcn/Radix: alert dialogs * close only via Cancel, Action or Escape). */ "seki-dialog-overlay": LocalJSX.SekiDialogOverlay & JSXBase.HTMLAttributes; /** * Dialog title */ "seki-dialog-title": LocalJSX.SekiDialogTitle & JSXBase.HTMLAttributes; /** * Dialog trigger button */ "seki-dialog-trigger": LocalJSX.SekiDialogTrigger & JSXBase.HTMLAttributes; /** * seki-direction: Direction provider for RTL/LTR text direction * @component Direction * @example * Button * */ "seki-direction": LocalJSX.SekiDirection & JSXBase.HTMLAttributes; /** * seki-drawer: Mobile-friendly drawer component with swipe gestures * @component Drawer * @example * * Open Drawer * * * * Title * * Content here * * */ "seki-drawer": LocalJSX.SekiDrawer & JSXBase.HTMLAttributes; /** * seki-drawer-content: Container for drawer content with gesture support * @component DrawerContent */ "seki-drawer-content": LocalJSX.SekiDrawerContent & JSXBase.HTMLAttributes; /** * Dropdown Menu component - context menu with items */ "seki-dropdown-menu": LocalJSX.SekiDropdownMenu & JSXBase.HTMLAttributes; /** * Dropdown Menu checkbox item */ "seki-dropdown-menu-checkbox": LocalJSX.SekiDropdownMenuCheckbox & JSXBase.HTMLAttributes; /** * Dropdown Menu content panel */ "seki-dropdown-menu-content": LocalJSX.SekiDropdownMenuContent & JSXBase.HTMLAttributes; /** * Dropdown Menu item */ "seki-dropdown-menu-item": LocalJSX.SekiDropdownMenuItem & JSXBase.HTMLAttributes; /** * Dropdown Menu label for grouping items */ "seki-dropdown-menu-label": LocalJSX.SekiDropdownMenuLabel & JSXBase.HTMLAttributes; /** * Dropdown Menu radio item */ "seki-dropdown-menu-radio": LocalJSX.SekiDropdownMenuRadio & JSXBase.HTMLAttributes; /** * Dropdown Menu radio group container */ "seki-dropdown-menu-radio-group": LocalJSX.SekiDropdownMenuRadioGroup & JSXBase.HTMLAttributes; /** * Dropdown Menu separator/divider */ "seki-dropdown-menu-separator": LocalJSX.SekiDropdownMenuSeparator & JSXBase.HTMLAttributes; /** * Dropdown Menu keyboard shortcut display */ "seki-dropdown-menu-shortcut": LocalJSX.SekiDropdownMenuShortcut & JSXBase.HTMLAttributes; /** * Dropdown Menu Sub - A submenu component for nested dropdown menus */ "seki-dropdown-menu-sub": LocalJSX.SekiDropdownMenuSub & JSXBase.HTMLAttributes; /** * Dropdown Menu trigger button */ "seki-dropdown-menu-trigger": LocalJSX.SekiDropdownMenuTrigger & JSXBase.HTMLAttributes; /** * seki-empty: Empty state placeholder component * @component Empty * @example * 📭 * No results found. * Clear filters * */ "seki-empty": LocalJSX.SekiEmpty & JSXBase.HTMLAttributes; "seki-field": LocalJSX.SekiField & JSXBase.HTMLAttributes; "seki-field-description": LocalJSX.SekiFieldDescription & JSXBase.HTMLAttributes; "seki-field-error": LocalJSX.SekiFieldError & JSXBase.HTMLAttributes; "seki-field-group": LocalJSX.SekiFieldGroup & JSXBase.HTMLAttributes; "seki-field-label": LocalJSX.SekiFieldLabel & JSXBase.HTMLAttributes; "seki-field-legend": LocalJSX.SekiFieldLegend & JSXBase.HTMLAttributes; "seki-fieldset": LocalJSX.SekiFieldset & JSXBase.HTMLAttributes; /** * Hover Card Container Component * A hover-triggered card component for previewing content (e.g., user profiles, link previews). * Shows a floating card with rich content when hovering over a trigger element. * This container manages state and timing, providing context to child components * (seki-hover-card-trigger and seki-hover-card-content). * @example ```html * * * @john * * *
* John's avatar *

John Doe

*

Software Engineer at Acme Inc.

*
*
*
* ``` */ "seki-hover-card": LocalJSX.SekiHoverCard & JSXBase.HTMLAttributes; /** * Hover Card Content Component * The floating content panel that displays when the hover card is open. * Handles positioning, viewport boundary collision, arrow placement, * and interaction handlers to maintain open state while user interacts with content. * @example ```html * *
* Avatar *

John Doe

*

Software Engineer

*
*
* ``` */ "seki-hover-card-content": LocalJSX.SekiHoverCardContent & JSXBase.HTMLAttributes; /** * Hover Card Trigger Component * The trigger element that activates the hover card on hover, focus, or touch. * Handles mouse, keyboard, and touch interactions with appropriate behavior for each. * @example ```html * * @john * * ``` */ "seki-hover-card-trigger": LocalJSX.SekiHoverCardTrigger & JSXBase.HTMLAttributes; "seki-input": LocalJSX.SekiInput & JSXBase.HTMLAttributes; "seki-input-addon": LocalJSX.SekiInputAddon & JSXBase.HTMLAttributes; "seki-input-group": LocalJSX.SekiInputGroup & JSXBase.HTMLAttributes; "seki-input-otp": LocalJSX.SekiInputOtp & JSXBase.HTMLAttributes; "seki-input-otp-group": LocalJSX.SekiInputOtpGroup & JSXBase.HTMLAttributes; "seki-input-otp-separator": LocalJSX.SekiInputOtpSeparator & JSXBase.HTMLAttributes; "seki-input-otp-slot": LocalJSX.SekiInputOtpSlot & JSXBase.HTMLAttributes; /** * seki-item: Composable base item for lists and menus * @component Item * @example * 📄 * Document title * New * */ "seki-item": LocalJSX.SekiItem & JSXBase.HTMLAttributes; "seki-kbd": LocalJSX.SekiKbd & JSXBase.HTMLAttributes; /** * seki-label: A styled label component for form elements * @component Label * @example Email Address * Username * Disabled Field */ "seki-label": LocalJSX.SekiLabel & JSXBase.HTMLAttributes; /** * seki-marker: Inline conversation status indicator, system note, or * labeled separator for chat threads. * Consumers control ARIA semantics by setting `role` directly on the host * tag (e.g. `role="status"` for announced progress) — this works natively * since the role applies to the custom element itself, not its shadow tree. * @component Marker * @example * ... * Explored 4 files * * * Today * */ "seki-marker": LocalJSX.SekiMarker & JSXBase.HTMLAttributes; /** * seki-marker-content: Text content wrapper for seki-marker, with optional * shimmer effect for streaming status text (e.g. "Thinking…"). * @component MarkerContent * @example Today * Thinking… */ "seki-marker-content": LocalJSX.SekiMarkerContent & JSXBase.HTMLAttributes; /** * seki-marker-icon: Decorative icon wrapper for seki-marker * @component MarkerIcon * @example * ... * Explored 4 files * */ "seki-marker-icon": LocalJSX.SekiMarkerIcon & JSXBase.HTMLAttributes; /** * Menubar - horizontal menu bar with dropdown menus */ "seki-menubar": LocalJSX.SekiMenubar & JSXBase.HTMLAttributes; /** * Menubar checkbox item - toggleable menu option */ "seki-menubar-checkbox": LocalJSX.SekiMenubarCheckbox & JSXBase.HTMLAttributes; /** * Menubar content - dropdown content container */ "seki-menubar-content": LocalJSX.SekiMenubarContent & JSXBase.HTMLAttributes; /** * Menubar group - groups related menu items with optional label */ "seki-menubar-group": LocalJSX.SekiMenubarGroup & JSXBase.HTMLAttributes; /** * Menubar item - selectable menu option */ "seki-menubar-item": LocalJSX.SekiMenubarItem & JSXBase.HTMLAttributes; /** * Menubar menu - individual menu container */ "seki-menubar-menu": LocalJSX.SekiMenubarMenu & JSXBase.HTMLAttributes; /** * Menubar radio item - single-select option */ "seki-menubar-radio": LocalJSX.SekiMenubarRadio & JSXBase.HTMLAttributes; /** * Menubar radio group - container for radio items */ "seki-menubar-radio-group": LocalJSX.SekiMenubarRadioGroup & JSXBase.HTMLAttributes; /** * Menubar separator - visual divider between menu items */ "seki-menubar-separator": LocalJSX.SekiMenubarSeparator & JSXBase.HTMLAttributes; /** * Menubar shortcut - displays keyboard shortcut hint */ "seki-menubar-shortcut": LocalJSX.SekiMenubarShortcut & JSXBase.HTMLAttributes; /** * Menubar sub - submenu container with hover behavior */ "seki-menubar-sub": LocalJSX.SekiMenubarSub & JSXBase.HTMLAttributes; /** * Menubar sub content - submenu content container */ "seki-menubar-sub-content": LocalJSX.SekiMenubarSubContent & JSXBase.HTMLAttributes; /** * Menubar sub trigger - opens submenu on hover */ "seki-menubar-sub-trigger": LocalJSX.SekiMenubarSubTrigger & JSXBase.HTMLAttributes; /** * Menubar trigger - button that opens a menu */ "seki-menubar-trigger": LocalJSX.SekiMenubarTrigger & JSXBase.HTMLAttributes; /** * seki-message: Row-level layout for a single chat message. * Lays out an optional `seki-message-avatar` alongside a `seki-message-content` * column (header, bubble, footer). The `align` prop drives the whole row: `end` * flips the row so the avatar sits on the right and the content is * right-aligned (sender messages), while `start` keeps the avatar on the left * (receiver / assistant messages). * Alignment flows to the child parts purely through CSS — `align` is reflected * to the host attribute and the row sets an inherited `text-align`, so the * header and footer align themselves without any cross-component JS or * `closest()` lookups. * @component Message * @example * * AI * * * Assistant * * How can I help? * * * */ "seki-message": LocalJSX.SekiMessage & JSXBase.HTMLAttributes; /** * seki-message-avatar: Avatar column for a `seki-message` row. * Wraps a `seki-avatar` (or any avatar-sized element) and reserves a fixed * column width so consecutive rows stay aligned. Leave it empty on earlier * rows of a `seki-message-group` to keep the column spacing without repeating * the avatar. * @component MessageAvatar * @example * * * AL * * */ "seki-message-avatar": LocalJSX.SekiMessageAvatar & JSXBase.HTMLAttributes; /** * seki-message-content: Vertical content column of a `seki-message`. * Stacks an optional `seki-message-header`, the message body (typically a * `seki-bubble`), and an optional `seki-message-footer`. It takes the remaining * row width; the bubble self-aligns via its own `align`, and the header/footer * align through the row's inherited `text-align`. * @component MessageContent * @example * Ada · 12:04 * * Shipped it. * * Delivered * */ "seki-message-content": LocalJSX.SekiMessageContent & JSXBase.HTMLAttributes; /** * seki-message-footer: Metadata / action row below the message body. * Holds small muted metadata (e.g. "Delivered") or icon-only actions such as * copy, retry, and feedback. Compose actions with `seki-button size="icon"` and * give each an `aria-label`. It aligns with the parent `seki-message` * automatically through the row's inherited `text-align`. * @component MessageFooter * @example * … * … * */ "seki-message-footer": LocalJSX.SekiMessageFooter & JSXBase.HTMLAttributes; /** * seki-message-group: Stacks consecutive messages from the same sender. * Tightens the vertical gap between rows so a run of messages reads as a single * conversation turn. To keep the bubbles aligned, give the earlier rows an * empty `seki-message-avatar` (it reserves the avatar column width) and place * the real avatar on the last row of the run. * @component MessageGroup * @example * * * * * First * * * * * * ME * * * * Second * * * * */ "seki-message-group": LocalJSX.SekiMessageGroup & JSXBase.HTMLAttributes; /** * seki-message-header: Muted metadata row above the message body. * Holds the sender name and/or timestamp in small, muted text. It aligns with * the parent `seki-message` automatically through the row's inherited * `text-align`, so no `align` prop is needed here. * @component MessageHeader * @example Ada Lovelace · 12:04 */ "seki-message-header": LocalJSX.SekiMessageHeader & JSXBase.HTMLAttributes; /** * seki-message-scroller: streaming chat-transcript container (shadcn/ui parity). * The scroller keeps a streamed reply pinned to the bottom while the reader is * at the live edge, never fights an upward scroll, preserves the reading * position when older history is prepended, and drives a jump-to-end button. * It merges shadcn's `MessageScrollerProvider` + `MessageScroller` into one host * element because Stencil has no React context — this host owns *all* scroll * state. * ## Composition * ```html * * * * … * … * * * ↓ * * ``` * ## Implementation notes * All dynamic behaviour (follow-output, prepend preservation, edge/visibility * detection, edge-state attributes read by the button) is applied **directly to * the DOM** from observer/scroll callbacks rather than through Stencil `@State` * + `render()`. This mirrors shadcn's imperative design — rows must never * re-render mid-scroll — and deliberately side-steps the confirmed re-render bug * (#244) where a `@State` bump from an event/observer callback does not reliably * re-invoke `render()`. `render()` here runs exactly once, at mount. * @component MessageScroller */ "seki-message-scroller": LocalJSX.SekiMessageScroller & JSXBase.HTMLAttributes; /** * seki-message-scroller-button: jump-to-edge control for the transcript. * Finds its scroller via `closest('seki-message-scroller')`, listens to * `sekiScrollerEdgeChange`, and shows itself only when there is somewhere to * jump to. When inactive it is `inert`, `tabindex="-1"`, `data-active="false"`, * so it leaves no dead focus stop. * ## Why the active-state update is imperative * The active state is toggled by mutating attributes **directly on the host** * (`this.el`) from the edge-change listener — it is deliberately NOT routed * through a Stencil `@State` bump + `render()`. This is the confirmed-broken * shape from #244: a component that reads a parent's state via `closest()` + * `addEventListener` + a `@State` bump does not reliably re-invoke `render()`. * Mutating the DOM directly here side-steps Stencil's render cycle entirely and * is guaranteed to apply. * @component MessageScrollerButton */ "seki-message-scroller-button": LocalJSX.SekiMessageScrollerButton & JSXBase.HTMLAttributes; /** * seki-message-scroller-content: the `role="log"` list of message rows. * Announces additions to assistive tech (`aria-relevant="additions"`). Consumers * can set `aria-busy` on this element during a stream to defer announcements * until the reply settles. * @component MessageScrollerContent */ "seki-message-scroller-content": LocalJSX.SekiMessageScrollerContent & JSXBase.HTMLAttributes; /** * seki-message-scroller-item: a single row boundary in the transcript. * Wraps one conversation turn (typically a `seki-message`). `message-id` is the * stable identifier used by `scrollToMessage` and visibility tracking; * `scroll-anchor` marks turn boundaries (usually the user's messages) that * `default-scroll-position="last-anchor"` targets. Both props reflect to * attributes so the parent scroller can query them from light DOM. * Rows opt into `content-visibility: auto` for cheap off-screen skipping in long * transcripts; the intrinsic-size fallback keeps the scrollbar stable. * @component MessageScrollerItem */ "seki-message-scroller-item": LocalJSX.SekiMessageScrollerItem & JSXBase.HTMLAttributes; /** * seki-message-scroller-viewport: the scrollable element of the transcript. * The host element *is* the scroll container (`:host { overflow-y: auto }`), so * its `scrollTop` / `scrollHeight` / `clientHeight` are directly readable by the * parent `seki-message-scroller` from light DOM — no reaching across a shadow * boundary. Slotted rows stay in light DOM, so the parent's ResizeObserver / * MutationObserver / IntersectionObserver measure them reliably; this is why * `shadow: true` is kept here rather than falling back to `scoped` (the carousel * escape hatch was unnecessary). * @component MessageScrollerViewport */ "seki-message-scroller-viewport": LocalJSX.SekiMessageScrollerViewport & JSXBase.HTMLAttributes; /** * seki-native-select: Styled native HTML select wrapper * Uses the browser's native select dropdown for better mobile UX and accessibility. * Unlike seki-select (which uses a custom dropdown), this component wraps a native * `