/* 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 { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/types/action-sheet"; import { ChartData, DonutChartData, EventDetail, FilesObject, FormatterValueObject, Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow, StepperPaneEvent, ValidFileStatus } from "q2-tecton-common/lib/types/elements"; import { Q2Input } from "./components/q2-input/q2-input"; import { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid"; import { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area"; import { Q2Badge } from "./components/q2-badge/q2-badge"; import { Q2Icon } from "./components/q2-icon/q2-icon"; import { InputType } from "./components/q2-input/q2-input"; import { ModalOption, ModalResponse } from "q2-tecton-common/lib/types/modal"; import { OptionValue, ValidOptionElements } from "./components/q2-option-list/q2-option-list"; import { OptionValue as OptionValue1 } from "./components/q2-option-list/q2-option-list"; export { ActionSheetData, ActionSheetListCloseData } from "q2-tecton-common/lib/types/action-sheet"; export { ChartData, DonutChartData, EventDetail, FilesObject, FormatterValueObject, Q2DataTableHeader, Q2DataTableRow, Q2DataTableSerializedRow, StepperPaneEvent, ValidFileStatus } from "q2-tecton-common/lib/types/elements"; export { Q2Input } from "./components/q2-input/q2-input"; export { TQ2GridAlignOptions, TQ2GridColumnsOptions, TQ2GridGapOptions, TQ2GridJustifyOptions, TQ2GridRowsOptions } from "./components/q2-grid/q2-grid"; export { TQ2GridAreaAlignOptions, TQ2GridAreaColumnSpanOptions, TQ2GridAreaColumnStartOptions, TQ2GridAreaJustifyOptions, TQ2GridAreaRowSpanOptions, TQ2GridAreaRowStartOptions, TQ2GridAreaZIndexOptions } from "./components/q2-grid-area/q2-grid-area"; export { Q2Badge } from "./components/q2-badge/q2-badge"; export { Q2Icon } from "./components/q2-icon/q2-icon"; export { InputType } from "./components/q2-input/q2-input"; export { ModalOption, ModalResponse } from "q2-tecton-common/lib/types/modal"; export { OptionValue, ValidOptionElements } from "./components/q2-option-list/q2-option-list"; export { OptionValue as OptionValue1 } from "./components/q2-option-list/q2-option-list"; export namespace Components { interface ClickElsewhere { } /** * @name Action Group * @category Display * @summary Use for laying out groups of buttons or links with consistent spacing. */ interface Q2ActionGroup { /** * Whether the slotted elements should take up the full width of the container when in horizontal orientation. * @warning This will prevent the buttons from wrapping when the container is too small to fit all buttons. */ "fullWidth": boolean; /** * The orientation of the buttons, which will override the auto orientation. * @info This will override and disable the auto determination of the orientation. * @warning Vertical orientation is not supported for [Links](https://tecton.q2developer.com/design-system/q2-link/) or `"coin"` [Buttons](https://tecton.q2developer.com/design-system/q2-btn/), and will be set to "horizontal". * @default 'auto' */ "orientation": 'auto' | 'vertical' | 'horizontal'; /** * The width, in pixels, that determines whether to display the buttons in vertical or horizontal orientation * @info The component determines this based on the width of the element itself, not the browser window. * @default 440 */ "orientationThreshold": number; } /** * @name Action Sheet * @category Display * @summary Use for presenting a modal sheet. */ interface Q2ActionSheet { "data": ActionSheetData; "hide": (data?: ActionSheetListCloseData) => Promise; "hideClose": boolean; "show": () => Promise; "title": string; } /** * @name Avatar * @category Display * @summary Use for displaying photos, initials, or icons for people, businesses, or accounts. */ interface Q2Avatar { /** * A [q2-icon](https://tecton.q2developer.com/design-system/q2-icon/) to display as the fallback. * @default 'person' */ "icon": string; /** * A set of up to four initials to display as capitalized text. Takes priority over `name`. */ "initials": string; /** * The name associated with the avatar. The initials of the first and last words provided will display as capital letters. * @info We recommend always providing a name when you want the avatar to be presented to screen readers. */ "name": string; /** * Determines how large to make the avatar * @default 'medium' */ "size": 'small' | 'medium' | 'large'; /** * Displays the image provided by the user. */ "src": string; } /** * @name Badge * @category Display * @summary Use for displaying counts, statuses, or indicators on other elements. */ interface Q2Badge { /** * Returns the text content of the badge. This accounts for the text in slotted elements or the Shadow DOM. * @testonly */ "getTextContent": () => Promise; /** * The number of characters to show. A maximum limit of 18 characters is acceptable. */ "maxLength": number | undefined; /** * The size of the badge. */ "size": 'default' | 'large' | undefined; /** * The stoplight color of the element when `theme` is not present. */ "status": 'info' | 'alert' | 'warning' | 'success' | undefined; /** * The color of the badge when in the active state. The `theme` has higher priority than `status`. */ "theme": 'primary' | 'secondary' | 'tertiary' | undefined; /** * What to display in the badge. Negative numbers will be shown as positive. * @info `q2-badge` also has limited support for slotted HTML elements. * @localizable */ "value": number | string; } /** * @name Button * @category Forms * @summary Use for triggering actions including submit, save, cancel, or delete. */ interface Q2Btn { /** * @private Role attribute for better semantic accessibility support */ "_role": string; /** * @private Tooltip text set by a parent q2-tooltip component for accessibility. */ "_tooltip": string; /** * Displays the component in an active state. * @info Only intended for use with the `badge` property. * @deprecated */ "active": boolean; "ariaControls": string; "ariaExpanded": string; "ariaHasPopup": string; /** * @deprecated */ "ariaLabel": string; "ariaPressed": string; "ariaSelected": string; /** * Displays the component in a smaller, badge style. * @deprecated */ "badge": boolean; /** * The component expands to fill the width of its parent element. */ "block": boolean; /** * @deprecated */ "color": string; "description": string; /** * Marks the component as disabled and displays a `not-allowed` cursor on hover. */ "disabled": boolean; /** * @deprecated */ "fab": boolean; /** * Associates the button with a `
` element by form ID. */ "form": string; /** * Hides the `label`, and assigns its value to the `aria-label` attribute on the `