/* 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 { BreadcrumbItem } from "./components/dda-breadcrumb/dda-breadcrumb"; import { QuickLinkItem } from "./components/dda-header/dda-header"; import { BannerCardItem } from "./components/dda-home-carousel/dda-home-carousel"; import { SelectOption } from "./components/dda-select/dda-select"; import { MiddleLinkItem, RightLinkItem } from "./components/dda-sticky-footer/dda-sticky-footer"; import { RichEditorPicker } from "./components/dda-textarea/dda-textarea"; export { BreadcrumbItem } from "./components/dda-breadcrumb/dda-breadcrumb"; export { QuickLinkItem } from "./components/dda-header/dda-header"; export { BannerCardItem } from "./components/dda-home-carousel/dda-home-carousel"; export { SelectOption } from "./components/dda-select/dda-select"; export { MiddleLinkItem, RightLinkItem } from "./components/dda-sticky-footer/dda-sticky-footer"; export { RichEditorPicker } from "./components/dda-textarea/dda-textarea"; export namespace Components { interface DdaAccordion { /** * Material Symbols icon name shown before the header text, e.g. `info`. * @default 'info' */ "accordion_icon": string; /** * Paragraph text shown in the panel when it is open. Slotted content follows it. * @default '' */ "body_description": string; /** * Theme override class for the container, e.g. `light-mode`. */ "component_mode"?: string; /** * Extra CSS classes added to the accordion container. * @default '' */ "custom_class"?: string; /** * Container style: `bg-border` (filled background with border) or `no-border` (no background or border). * @default 'bg-border' */ "design": 'bg-border' | 'no-border'; /** * Text shown in the header button that opens and closes the panel. * @default 'Accordion Header' */ "header_text": string; } interface DdaAlert { /** * `name` of the close button. */ "button_name"?: string; /** * Not used by the component; nothing is rendered from this value. * @default '' */ "button_text": string; /** * Click handler for the close button, set as a JavaScript property. The alert does not hide itself. */ "clickHandler"?: (event: MouseEvent) => void; /** * Accessible name of the close button, read by screen readers instead of the icon ligature. * @default 'Close' */ "close_button_label": string; /** * Not used by the component; it is not applied to any element. */ "component_id"?: string; /** * Theme override class for the alert, e.g. `light-mode`. */ "component_mode"?: string; /** * Extra CSS classes added to the alert container. * @default '' */ "custom_class"?: string; /** * Body text shown below the heading. * @default '' */ "description": string; /** * Label of the first action link. The link shows only when this is set. */ "first_button"?: string; /** * `href` of the first action link. */ "first_link"?: string; /** * Heading level (1–6) of the title; pick the level that fits the page outline. * @default 4 */ "heading_level": number; /** * Label of the second action link. The link shows only when this is set. */ "second_button"?: string; /** * `href` of the second action link. */ "second_link"?: string; /** * Heading text of the alert. * @default '' */ "title_text": string; /** * Style: `primary` uses a tinted background and border in the variation color; `secondary` uses a neutral surface and border. * @default 'primary' */ "type": 'primary' | 'secondary'; /** * Color and screen reader urgency: `info`, `warning`, `error` or `success`. `error` uses `role="alert"`; the others use `role="status"`. * @default 'info' */ "variation": 'info' | 'warning' | 'error' | 'success'; } interface DdaAttachFile { /** * Accessible name of the file input. Not rendered when empty. * @default '' */ "aria_label"?: string; /** * Accessible name of the remove button shown after a file is chosen, e.g. `Remove file`. * @default '' */ "button_aria_label"?: string; /** * `id` of the remove button shown after a file is chosen. */ "button_id": string; /** * `name` of the remove button shown after a file is chosen. */ "button_name"?: string; /** * Theme override class for the field, e.g. `light-mode`. */ "component_mode"?: string; /** * Extra CSS classes added to the field container. * @default '' */ "custom_class"?: string; /** * Error text shown below the field. Also sets `aria-invalid="true"` on the file input. */ "error_message": string; /** * Helper text shown below the field. Linked by `aria-describedby`. */ "helper_text": string; /** * `id` of the file input. Also used to link the label, helper text and error message. Optional: an id is generated when it is not set. */ "input_id": string; /** * `name` of the file input. */ "input_name"?: string; /** * Adds the class `dda-input-`. `disabled` gives the disabled look only; it does not disable the file input. */ "input_type"?: string; /** * Label text shown above the field. Linked to the file input through `input_id` (or a generated id). */ "label": string; /** * Size: `default` or `small`. */ "size"?: string; /** * Validation state: `error` applies the error colors. */ "validation_type"?: string; } interface DdaAvatar { /** * Accessible name of the avatar button and of each option button. The avatar button falls back to `Avatar options`. */ "aria_label": string; /** * `id` applied to each option button in the dropdown. */ "button_id"?: string; /** * `name` of each option button in the dropdown. Also added as a CSS class on the avatar container. */ "button_name"?: string; /** * Theme override class for the avatar, e.g. `light-mode`. */ "component_mode"?: string; /** * Extra CSS classes added to the avatar container. * @default '' */ "custom_class"?: string; /** * Badge: `default` (none), `status` (green dot), `verified` (check badge), `notification` (count from `notification_number`). `story` has no style yet. * @default 'default' */ "design": 'default' | 'status' | 'verified' | 'story' | 'notification'; /** * CSS class of the icon font used when `type` is `icon`, e.g. `material-icons`. The icon glyph is always `sentiment_satisfied`. * @default 'material-icons' */ "icon": string; /** * Count shown in the badge when `design` is `notification`. Hidden at sizes `xs` and `sm`. * @default 0 */ "notification_number": number; /** * Dropdown options as a JSON array of strings, e.g. `["Profile","Sign out"]`. When set, the avatar becomes a button that opens the list. */ "options": string; /** * Shape: `circle` or `square` (rounded corners). * @default 'circle' */ "rounded": 'square' | 'circle'; /** * The selected option. Matches one entry of `options`; updated when the user picks an option. Mutable: the component assigns it. */ "selected": string; /** * Size: `xs` (24px), `sm` (32px), `md` (40px), `lg` (48px), `xl` (56px) or `xxl` (64px). * @default 'md' */ "size": 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; /** * Image URL shown when `type` is `photo`. * @default '' */ "src": string; /** * Initials shown when `type` is `text`. * @default 'AB' */ "text": string; /** * Content: `photo` shows the `src` image, `icon` shows a smiley icon, `text` shows `text` as initials. * @default 'photo' */ "type": 'photo' | 'icon' | 'text'; /** * Screen-reader text of the badge when `design` is `verified`. Default: `Verified`. * @default 'Verified' */ "verified_label": string; } interface DdaBanner { /** * Accessible name of the scrollable slide region that keyboard users focus to scroll. * @default 'Slides' */ "aria_label": string; /** * CSS height of each slide image, e.g. `220px`. */ "slider_height": string; /** * CSS width of each slide image, e.g. `360px`. */ "slider_width": string; /** * Slide images. JSON array of `{ image, title }`; `image` is the image URL and `title` its alternative text. Read once, when the component loads. */ "slides": string; } interface DdaBannerCard { /** * Text under the title. An empty value shows nothing. */ "banner_card_description": string; /** * Link URL. With a URL the card is a link; without one it is a button. */ "banner_card_href": string; /** * `id` of the link or button. */ "banner_card_id": string; /** * `name` of the button (cards without a URL). */ "banner_card_name": string; /** * Title of the card; it is the accessible name. */ "banner_card_title": string; /** * 3.x name of `banner_card_href`. `banner_card_href` wins when both are set. */ "banner_card_url": string; /** * `value` of the button (cards without a URL). */ "banner_card_value": string; /** * Theme override class, e.g. `light-mode`. */ "component_mode": string; /** * Extra CSS classes. * @default '' */ "custom_class": string; /** * Kept for 3.x markup. The icon is decorative, so this text is not read. */ "image_alt": string; /** * Icon image URL. The icon is decorative: the title names the card. */ "image_src": string; } interface DdaBreadcrumb { /** * The items, as an array or a JSON string of `{ text, icon?, url? }` objects. The last item is the current page. The `data-breadcrumbs` attribute is still read when this is not set. */ "breadcrumbs"?: string | BreadcrumbItem[]; /** * Theme override class on the wrapper, e.g. `light-mode`. */ "component_mode"?: string; /** * Extra CSS classes added to the inner `