Skip to content
Snippets Groups Projects
components.d.ts 63.7 KiB
Newer Older
  interface HTMLHyMenuElement extends Components.HyMenu, HTMLStencilElement {}
  var HTMLHyMenuElement: {
    prototype: HTMLHyMenuElement;
    new (): HTMLHyMenuElement;
  };
  interface HTMLHyMenuItemElement extends Components.HyMenuItem, HTMLStencilElement {}
  var HTMLHyMenuItemElement: {
    prototype: HTMLHyMenuItemElement;
    new (): HTMLHyMenuItemElement;
  };
  interface HTMLHyMenuItemSidebarElement extends Components.HyMenuItemSidebar, HTMLStencilElement {}
  var HTMLHyMenuItemSidebarElement: {
    prototype: HTMLHyMenuItemSidebarElement;
    new (): HTMLHyMenuItemSidebarElement;
  };
  interface HTMLHyMenuLanguageElement extends Components.HyMenuLanguage, HTMLStencilElement {}
  var HTMLHyMenuLanguageElement: {
    prototype: HTMLHyMenuLanguageElement;
    new (): HTMLHyMenuLanguageElement;
  };
  interface HTMLHyMenuLanguageItemElement extends Components.HyMenuLanguageItem, HTMLStencilElement {}
  var HTMLHyMenuLanguageItemElement: {
    prototype: HTMLHyMenuLanguageItemElement;
    new (): HTMLHyMenuLanguageItemElement;
  };
  interface HTMLHyMenuLevelContainerElement extends Components.HyMenuLevelContainer, HTMLStencilElement {}
  var HTMLHyMenuLevelContainerElement: {
    prototype: HTMLHyMenuLevelContainerElement;
    new (): HTMLHyMenuLevelContainerElement;
  };
  interface HTMLHyMenuMobileBreadcrumbElement extends Components.HyMenuMobileBreadcrumb, HTMLStencilElement {}
  var HTMLHyMenuMobileBreadcrumbElement: {
    prototype: HTMLHyMenuMobileBreadcrumbElement;
    new (): HTMLHyMenuMobileBreadcrumbElement;
  interface HTMLHyMenuSidebarElement extends Components.HyMenuSidebar, HTMLStencilElement {}
  var HTMLHyMenuSidebarElement: {
    prototype: HTMLHyMenuSidebarElement;
    new (): HTMLHyMenuSidebarElement;
  };
  interface HTMLHyParagraphTextElement extends Components.HyParagraphText, HTMLStencilElement {}
Markus Kaarto's avatar
Markus Kaarto committed
  var HTMLHyParagraphTextElement: {
    prototype: HTMLHyParagraphTextElement;
    new (): HTMLHyParagraphTextElement;
  };
  interface HTMLHyProcessElement extends Components.HyProcess, HTMLStencilElement {}
  var HTMLHyProcessElement: {
    prototype: HTMLHyProcessElement;
    new (): HTMLHyProcessElement;
  };
  interface HTMLHyProcessFlowBoxElement extends Components.HyProcessFlowBox, HTMLStencilElement {}
  var HTMLHyProcessFlowBoxElement: {
    prototype: HTMLHyProcessFlowBoxElement;
    new (): HTMLHyProcessFlowBoxElement;
  };
  interface HTMLHyProminentImageElement extends Components.HyProminentImage, HTMLStencilElement {}
  var HTMLHyProminentImageElement: {
    prototype: HTMLHyProminentImageElement;
    new (): HTMLHyProminentImageElement;
  };
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HTMLHyQuoteElement extends Components.HyQuote, HTMLStencilElement {}
  var HTMLHyQuoteElement: {
    prototype: HTMLHyQuoteElement;
    new (): HTMLHyQuoteElement;
  };
Markus Kaarto's avatar
Markus Kaarto committed
  interface HTMLHyRowElement extends Components.HyRow, HTMLStencilElement {}
  var HTMLHyRowElement: {
    prototype: HTMLHyRowElement;
    new (): HTMLHyRowElement;
  };
  interface HTMLHySearchFieldElement extends Components.HySearchField, HTMLStencilElement {}
  var HTMLHySearchFieldElement: {
    prototype: HTMLHySearchFieldElement;
    new (): HTMLHySearchFieldElement;
  };
  interface HTMLHySectionContainerElement extends Components.HySectionContainer, HTMLStencilElement {}
Markus Kaarto's avatar
Markus Kaarto committed
  var HTMLHySectionContainerElement: {
    prototype: HTMLHySectionContainerElement;
    new (): HTMLHySectionContainerElement;
  };
  interface HTMLHyShortcutsElement extends Components.HyShortcuts, HTMLStencilElement {}
  var HTMLHyShortcutsElement: {
    prototype: HTMLHyShortcutsElement;
    new (): HTMLHyShortcutsElement;
  };
  interface HTMLHySiteHeaderElement extends Components.HySiteHeader, HTMLStencilElement {}
  var HTMLHySiteHeaderElement: {
    prototype: HTMLHySiteHeaderElement;
    new (): HTMLHySiteHeaderElement;
  };
  interface HTMLHySiteLogoElement extends Components.HySiteLogo, HTMLStencilElement {}
  var HTMLHySiteLogoElement: {
    prototype: HTMLHySiteLogoElement;
    new (): HTMLHySiteLogoElement;
  };
  interface HTMLHySiteSearchElement extends Components.HySiteSearch, HTMLStencilElement {}
  var HTMLHySiteSearchElement: {
    prototype: HTMLHySiteSearchElement;
    new (): HTMLHySiteSearchElement;
  };
Tuukka Turu's avatar
Tuukka Turu committed
  interface HTMLHyTabsElement extends Components.HyTabs, HTMLStencilElement {}
  var HTMLHyTabsElement: {
    prototype: HTMLHyTabsElement;
    new (): HTMLHyTabsElement;
  };
  interface HTMLHyTabsItemElement extends Components.HyTabsItem, HTMLStencilElement {}
  var HTMLHyTabsItemElement: {
    prototype: HTMLHyTabsItemElement;
    new (): HTMLHyTabsItemElement;
  };
  interface HTMLHyTagElement extends Components.HyTag, HTMLStencilElement {}
  var HTMLHyTagElement: {
    prototype: HTMLHyTagElement;
    new (): HTMLHyTagElement;
  };
  interface HTMLHyTinyTextElement extends Components.HyTinyText, HTMLStencilElement {}
Markus Kaarto's avatar
Markus Kaarto committed
  var HTMLHyTinyTextElement: {
    prototype: HTMLHyTinyTextElement;
    new (): HTMLHyTinyTextElement;
  };
  interface HTMLHyTwoColumnsElement extends Components.HyTwoColumns, HTMLStencilElement {}
  var HTMLHyTwoColumnsElement: {
    prototype: HTMLHyTwoColumnsElement;
    new (): HTMLHyTwoColumnsElement;
  };
  interface HTMLHyUserLoginFormElement extends Components.HyUserLoginForm, HTMLStencilElement {}
  var HTMLHyUserLoginFormElement: {
    prototype: HTMLHyUserLoginFormElement;
    new (): HTMLHyUserLoginFormElement;
  };
Tuukka Turu's avatar
Tuukka Turu committed
  interface HTMLHyVideoElement extends Components.HyVideo, HTMLStencilElement {}
  var HTMLHyVideoElement: {
    prototype: HTMLHyVideoElement;
    new (): HTMLHyVideoElement;
  };
Markus Kaarto's avatar
Markus Kaarto committed
  interface HTMLElementTagNameMap {
    'color-box': HTMLColorBoxElement;
    'hy-accordion-container': HTMLHyAccordionContainerElement;
    'hy-accordion-item': HTMLHyAccordionItemElement;
    'hy-adjacent-image-text': HTMLHyAdjacentImageTextElement;
    'hy-badge': HTMLHyBadgeElement;
    'hy-banner': HTMLHyBannerElement;
    'hy-baseline': HTMLHyBaselineElement;
    'hy-box': HTMLHyBoxElement;
    'hy-box-container': HTMLHyBoxContainerElement;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-breadcrumbs': HTMLHyBreadcrumbsElement;
    'hy-button': HTMLHyButtonElement;
    'hy-checkbox': HTMLHyCheckboxElement;
    'hy-content-list': HTMLHyContentListElement;
    'hy-content-list-item': HTMLHyContentListItemElement;
    'hy-cta-button': HTMLHyCtaButtonElement;
    'hy-cta-link': HTMLHyCtaLinkElement;
    'hy-desktop-menu-links': HTMLHyDesktopMenuLinksElement;
    'hy-docs-container': HTMLHyDocsContainerElement;
    'hy-dropdown': HTMLHyDropdownElement;
    'hy-dropdown-panel': HTMLHyDropdownPanelElement;
    'hy-dropdown-panel-item': HTMLHyDropdownPanelItemElement;
    'hy-filter-group': HTMLHyFilterGroupElement;
    'hy-filter-group-item': HTMLHyFilterGroupItemElement;
    'hy-filter-visibility-tool': HTMLHyFilterVisibilityToolElement;
    'hy-filter-visibility-tool-reset': HTMLHyFilterVisibilityToolResetElement;
    'hy-filter-visibility-tool-toggle': HTMLHyFilterVisibilityToolToggleElement;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-footer': HTMLHyFooterElement;
    'hy-footer-action': HTMLHyFooterActionElement;
    'hy-footer-base': HTMLHyFooterBaseElement;
    'hy-footer-info': HTMLHyFooterInfoElement;
    'hy-footer-link-item': HTMLHyFooterLinkItemElement;
    'hy-grid-container': HTMLHyGridContainerElement;
    'hy-grid-item': HTMLHyGridItemElement;
    'hy-grid-row': HTMLHyGridRowElement;
    'hy-heading': HTMLHyHeadingElement;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-hero': HTMLHyHeroElement;
    'hy-icon': HTMLHyIconElement;
    'hy-image': HTMLHyImageElement;
    'hy-ingress': HTMLHyIngressElement;
    'hy-introduction': HTMLHyIntroductionElement;
    'hy-key-figure': HTMLHyKeyFigureElement;
    'hy-key-figure-group': HTMLHyKeyFigureGroupElement;
    'hy-key-highlight': HTMLHyKeyHighlightElement;
    'hy-key-highlight-group': HTMLHyKeyHighlightGroupElement;
    'hy-large-process-flow': HTMLHyLargeProcessFlowElement;
    'hy-large-process-flow-phase': HTMLHyLargeProcessFlowPhaseElement;
    'hy-link': HTMLHyLinkElement;
    'hy-link-box': HTMLHyLinkBoxElement;
    'hy-link-box-list': HTMLHyLinkBoxListElement;
    'hy-link-list': HTMLHyLinkListElement;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    'hy-main': HTMLHyMainElement;
    'hy-main-content-wrapper': HTMLHyMainContentWrapperElement;
    'hy-menu': HTMLHyMenuElement;
    'hy-menu-item': HTMLHyMenuItemElement;
    'hy-menu-item-sidebar': HTMLHyMenuItemSidebarElement;
    'hy-menu-language': HTMLHyMenuLanguageElement;
    'hy-menu-language-item': HTMLHyMenuLanguageItemElement;
    'hy-menu-level-container': HTMLHyMenuLevelContainerElement;
    'hy-menu-mobile-breadcrumb': HTMLHyMenuMobileBreadcrumbElement;
    'hy-menu-sidebar': HTMLHyMenuSidebarElement;
    'hy-paragraph-text': HTMLHyParagraphTextElement;
    'hy-process': HTMLHyProcessElement;
    'hy-process-flow-box': HTMLHyProcessFlowBoxElement;
    'hy-prominent-image': HTMLHyProminentImageElement;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    'hy-quote': HTMLHyQuoteElement;
    'hy-row': HTMLHyRowElement;
    'hy-search-field': HTMLHySearchFieldElement;
    'hy-section-container': HTMLHySectionContainerElement;
    'hy-shortcuts': HTMLHyShortcutsElement;
    'hy-site-header': HTMLHySiteHeaderElement;
    'hy-site-logo': HTMLHySiteLogoElement;
    'hy-site-search': HTMLHySiteSearchElement;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-tabs': HTMLHyTabsElement;
    'hy-tabs-item': HTMLHyTabsItemElement;
    'hy-tag': HTMLHyTagElement;
    'hy-tiny-text': HTMLHyTinyTextElement;
    'hy-two-columns': HTMLHyTwoColumnsElement;
    'hy-user-login-form': HTMLHyUserLoginFormElement;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-video': HTMLHyVideoElement;
}
declare namespace LocalJSX {
Markus Kaarto's avatar
Markus Kaarto committed
  interface ColorBox {}
  interface HyAccordionContainer {
    accordionid?: string;
  }
  interface HyAccordionItem {
    accordiontitle?: string;
  }
  interface HyAdjacentImageText {
    imageAlt?: string;
    imageUrl?: string;
    mainUrl?: string;
    mainUrl2?: string;
    mainUrlAriaLabel?: string;
    mainUrlAriaLabel2?: string;
    mainUrlIsExternal?: boolean;
    mainUrlIsExternal2?: boolean;
    mainUrlTitle?: string;
    mainUrlTitle2?: string;
    textDescription?: string;
    textTitle?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyBadge {
    variant?: 'primary' | 'warn' | 'success' | 'disabled';
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HyBanner {
    headerstyle?: string;
    isExternal?: boolean;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    scLabel?: string;
    textDescription?: string;
    textTitle?: string;
    url?: string;
    urlTitle?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyBaseline {
    /**
     * Top margin to be added to all but first element. Amount of rem:s
     */
Markus Kaarto's avatar
Markus Kaarto committed
    margin?: number;
  }
  interface HyBox {
    /**
     * value for vertical alignment (align-items)
     */
    align?: string;
    /**
     * background color. Must use one of css variable names from color tokens
     */
    bg?: string;
    /**
     * fixed height for the container, useful for extra spacing containers
     */
    h?: number;
    /**
     * Value for horisontal alignment (justify-content)
     */
    justify?: string;
    /**
     * All sides padding value in rems. Responsive when given Comma separated values.
     */
    p?: string;
    /**
     * Bottom padding in rems. Responsive when given Comma separated values.
     */
    pb?: string;
    /**
     * Left padding in rems. Responsive when given Comma separated values.
     */
    pl?: string;
    /**
     * Right padding in rems. Responsive when given Comma separated values.
     */
    pr?: string;
    /**
     * Top padding in rems. Responsive when given Comma separated values.
     */
    pt?: string;
    /**
     * Responsive width. Must be a comma separated string of percentage values for breakpoints. First item is the default value.
     */
    width?: string;
  }
  interface HyBoxContainer {
    /**
     * Should the container have a max width of 90rems
     */
    maxWidth?: boolean;
    /**
     * Should the items wrap to new rows.
     */
    wrap?: boolean;
  }
Tuukka Turu's avatar
Tuukka Turu committed
  interface HyBreadcrumbs {
    dataItems?: Breadcrumb[] | string;
    headerstyle?: string;
    variant?: BreadcrumbVariants;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyButton {
    /**
     * Aria label for the element
     */
    ariaLabel?: string;
    /**
     * Custom classes added to button element.
     */
    buttonClasses?: string;
    /**
     * Button type. Defaults to submit.
     */
    buttonType?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * Use this to programmatically disable the button, matches the native button functionality
     */
    disabled?: boolean;
    /**
     * Icon to use on the left side
     */
    icon?: string;
    /**
     * Icon to use on the right side
     */
    iconRight?: string;
    /**
     * Use only with url property. Sets the
     */
    isExternal?: boolean;
    /**
     * Size (height) of the button. Normal: 44px, large: 48px
     */
    size?: 'normal' | 'large';
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * deprecated, use disabled boolean value
     */
    state?: 'enabled' | 'disabled';
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * Set this on if an anchor tag is required instead of a button.
     */
    url?: string;
    /**
     * The element variant. Defaults to primary
     */
    variant?: ButtonVariants;
  }
  interface HyCheckbox {
    checkboxId?: string | number;
    checkboxLabel?: string;
    checkboxValue?: string | number;
  }
  interface HyContentList {
    dataItems?: string;
    linkLabel?: string;
  }
  interface HyContentListItem {
    courseCode?: string;
    courseCredits?: string;
    courseEndDate?: string;
    courseEnrollmentLink?: string;
    courseLinkLabel?: string;
    courseName?: string;
    courseStartDate?: string;
    courseStudyFormat?: string;
    courseTags?: TagValue[] | string;
    courseTeachingLanguage?: string;
    variant?: CourseVariants;
  }
    headerstyle?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    isExternal?: boolean;
    linkContent?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    url?: string;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    variant?: CtaLinkButtonVariants;
  interface HyCtaLink {
    isExternal?: boolean;
    linkContent?: string;
    scLabel?: string;
    url?: string;
    variant?: CtaLinkVariants;
  interface HyDesktopMenuLinks {
    dataDesktopLinks?: DesktopLinks[] | string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyDocsContainer {}
  interface HyDropdown {
    dropdownLabel?: string;
    dropdownOptions?: IDropdownItem[] | string;
  }
  interface HyDropdownPanel {
    isHidden?: boolean;
  }
  interface HyDropdownPanelItem {
    dropdownItemId?: string | number;
    dropdownItemLabel?: string;
    dropdownItemValue?: string | number;
    isLast?: boolean;
  }
  interface HyFilterGroup {
    filterGroupFilters?: IFilterGroupFilter[] | string;
    filterGroupLabel?: string;
  }
  interface HyFilterGroupItem {
    filterGroupItemId?: string | number;
    filterGroupItemLabel?: string;
  }
  interface HyFilterVisibilityTool {
    filterVisibilityToolType?: 'toggle' | 'reset';
  }
  interface HyFilterVisibilityToolReset {}
  interface HyFilterVisibilityToolToggle {}
Tuukka Turu's avatar
Tuukka Turu committed
  interface HyFooter {}
  interface HyFooterAction {
    /**
     * Up button label.
     */
    upButtonLabel?: string;
    /**
     * String of text for updated text to be displayed.
     */
    updatedText?: string;
  }
  interface HyFooterBase {
    /**
     * Link item color
     */
    color?: FooterLinkItemColor;
    /**
     * Copyright text
     */
    copyrightText?: string;
    /**
     * Footer links to be displayed
     */
    dataFooterBaseLinks?: FooterBaseLinks[] | string;
    /**
     * Footer some links
     */
    dataFooterBaseSome?: FooterBaseSome[] | string;
    /**
     * Logo label
     */
    logoLabel?: string;
    /**
     * Logo url
     */
    logoUrl?: string;
    /**
     * Logo size
     */
    size?: SiteLogoSize;
    /**
     * Label for some links
     */
    someLabel?: string;
  }
  interface HyFooterInfo {
    /**
     * Data for links to be displayed.
     */
    dataFooterInfoLinks?: FooterInfoLinks[] | string;
    /**
     * Content area link button text.
     */
    linkText?: string;
    /**
     * Content area link button url.
     */
    linkUrl?: string;
    /**
     * Content area text.
     */
    textDescription?: string;
    /**
     * Content area title.
     */
    textTitle?: string;
  }
  interface HyFooterLinkItem {
    color?: FooterLinkItemColor;
    isMobile?: boolean;
    items?: Array<any>;
    label?: string;
    mainLink?: boolean;
    url?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyGridContainer {}
  interface HyGridItem {
    columns?: GridColumns;
    columnslg?: GridColumnsLg;
    columnssm?: GridColumnsSm;
    contentalign?: GridAlignVariants;
  }
  interface HyGridRow {}
  interface HyHeading {
    headerstyle?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    heading?: HeadingVarians;
Markus Kaarto's avatar
Markus Kaarto committed
    negative?: boolean;
Markus Kaarto's avatar
Markus Kaarto committed
    section?: HeadingSectionVariants;
  }
Tuukka Turu's avatar
Tuukka Turu committed
  interface HyHero {
    colorVariant?: HeroColorVariant;
    description?: string;
    headerstyle?: string;
Tuukka Turu's avatar
Tuukka Turu committed
    heading?: string;
    image?: string;
    isExternal?: boolean;
Tuukka Turu's avatar
Tuukka Turu committed
    scLabel?: string;
    url?: string;
    urlTitle?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyIcon {
    fill?: string;
    icon?: string;
    size?: number;
  }
  interface HyImage {
    aspectRatioHeight?: number;
    aspectRatioWidth?: number;
    caption?: string;
    imageAlt?: string;
    imageUrl?: string;
  }
  interface HyIngress {}
  interface HyIntroduction {
Tuukka Turu's avatar
Tuukka Turu committed
    headerstyle?: string;
    imageUrl?: string;
    isExternal?: boolean;
    reversed?: boolean;
    scLabel?: string;
    textDescription?: string;
    textTitle?: string;
    url?: string;
    urlTitle?: string;
    variant?: IntroductionBgColors;
  }
  interface HyKeyFigure {
    description?: string;
    heading?: string;
    variant?: KeyHighlightVariants;
  }
  interface HyKeyFigureGroup {
    dataItems?: KeyFigureValue[] | string;
  }
  interface HyKeyHighlight {
    description?: string;
    heading?: string;
    variant?: KeyHighlightVariants;
  }
  interface HyKeyHighlightGroup {
    dataItems?: KeyHighlightValue[] | string;
    variant?: KeyHighlightVariants;
  }
  interface HyLargeProcessFlow {
    dataItems?: ProcessFlowValue[] | string;
  }
  interface HyLargeProcessFlowPhase {
    dataItems?: PhaseValue[] | string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyLink {
    isExternal?: boolean;
    linkContent?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    url?: string;
    variant?: LinkVariants;
  }
  interface HyLinkBox {
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    headerstyle?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    imageAlt?: string;
    imageUrl?: string;
    isExternal?: boolean;
    scLabel?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    textDescription?: string;
    textTitle?: string;
    url?: string;
    variant?: LinkBoxVariants;
  }
  interface HyLinkBoxList {
    dataItems?: LinkBox[] | string;
    variant?: LinkBoxVariants;
  interface HyLinkList {
    dataItems?: CtaLinkValue[] | string;
    listHeading?: string;
  }
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HyMain {
    hasSidebar?: boolean;
  }
  interface HyMenu {
    dataMenuDonate?: string;
    dataMenuLanguage?: string;
    logoLabel?: string;
    logoUrl?: string;
    menuButtonBreadcrumbReturn?: string;
    menuIsOpen?: boolean;
    menuType?: MenuType;
    onMenuContainerToggled?: (event: CustomEvent<any>) => void;
  }
  interface HyMenuItem {
    ariaExpanded?: boolean;
    depth?: number;
    hasChildren?: boolean;
    inActiveTrail?: boolean;
    isActive?: boolean;
    isActiveChild?: boolean;
    isHeading?: boolean;
    isParent?: boolean;
    menuItemAlternative?: boolean;
    menuLinkId?: string;
    onAddBreadcrumb?: (event: CustomEvent<any>) => void;
    onMenuContainerActiveTrail?: (event: CustomEvent<any>) => void;
    onMenuContainerToggled?: (event: CustomEvent<any>) => void;
    onRouteClicked?: (event: CustomEvent<any>) => void;
    parentAsHeading?: string;
    parentExpanded?: boolean;
    url?: string;
  interface HyMenuItemSidebar {
    ariaExpanded?: boolean;
    depth?: number;
    hasChildren?: boolean;
    inActiveTrail?: boolean;
    isActive?: boolean;
    isActiveChild?: boolean;
    isDemo?: boolean;
    isHeading?: boolean;
    isParent?: boolean;
    label?: string;
    menuButtonSubmenuExpand?: string;
    menuIsOpen?: boolean;
    menuItemAlternative?: boolean;
    menuLinkId?: string;
    menuType?: MenuType;
    onAddBreadcrumb?: (event: CustomEvent<any>) => void;
    onMenuContainerActiveTrail?: (event: CustomEvent<any>) => void;
    onMenuContainerToggled?: (event: CustomEvent<any>) => void;
    onRouteClicked?: (event: CustomEvent<any>) => void;
    parentAsHeading?: string;
    parentExpanded?: boolean;
    url?: string;
  }
  interface HyMenuLanguage {
    dataMenuLanguage?: MenuLanguage[] | string;
    isMobile?: boolean;
    labels?: ComponentLabels[] | string;
  }
  interface HyMenuLanguageItem {
    abbr?: string;
    isActive?: boolean;
    isMobile?: boolean;
    label?: string;
    langCode?: string;
    url?: string;
  }
  interface HyMenuLevelContainer {
    activeTrailTriggered?: boolean;
    depth?: number;
    /**
     * label for front page for panel first parent
     */
    frontLabel?: string;
    /**
     * Url to front page for panel first parent
     */
    frontUrl?: string;
    triggerItem?: string;
  }
  interface HyMenuMobileBreadcrumb {
    bid?: string;
    isFirst?: boolean;
    label?: string;
    labelBack?: string;
    labelFrontPage?: string;
    onRemoveBreadcrumb?: (event: CustomEvent<any>) => void;
  }
  interface HyMenuSidebar {
    /**
     * Isdemo
     */
    isDemo?: boolean;
    /**
     * Logo label
     */
    logoLabel?: string;
    /**
     * Url for logo.
     */
    logoUrl?: string;
    /**
     * Is menu open boolean.
     */
    menuIsOpen?: boolean;
    /**
     * Menu type. Defaults to sidenav.
     */
    menuType?: MenuType;
    /**
     * Previous panel to be toggled to keep track.
     */
    minHeight?: any;
    /**
     * Upper menus panel boolean.
     */
    panelOpen?: boolean;
    /**
     * Label for panel toggle button.
     */
    panelToggleAriaLabel?: string;
    /**
     * Label for panel toggle button.
     */
    panelToggleCloseAriaLabel?: string;
    /**
     * Label for panel toggle button.
     */
    panelToggleCloseLabel?: string;
    /**
     * Label for panel toggle button.
     */
    panelToggleLabel?: string;
    /**
     * Logo size
     */
    size?: SiteLogoSize;
  }
  interface HyProcess {
    dataItems?: ProcessFlowBoxValue[] | string;
    numberTerm?: string;
  }
  interface HyProcessFlowBox {
    boxDescription?: string;
    boxNumber?: string;
    boxTitle?: string;
    intermediateStepTitle?: string;
    numberTerm?: string;
    stepState?: ProcessFlowBoxStepStates;
    variant?: ProcessFlowBoxVariants;
  }
  interface HyProminentImage {
    headerstyle?: string;
    imageUrl?: string;
    textTitle?: string;
  }
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HyQuote {
    quoteSignature?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyRow {
    /**
     * justify-content property.
     */
Markus Kaarto's avatar
Markus Kaarto committed
    align?: string;
    /**
     * justify-content property.
     */
Markus Kaarto's avatar
Markus Kaarto committed
    justify?: string;
    /**
     * Left margin to be added to adjacent items.
     */
Markus Kaarto's avatar
Markus Kaarto committed
    margin?: number;
  interface HySearchField {
    inputId?: string;
    isLabelHidden?: boolean;
    label?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface HySectionContainer {}
  interface HyShortcuts {
    dataItems?: ShortcutLinkValue[] | string;
    listHeading?: string;
  }
  interface HySiteHeader {
    dataDesktopLinks?: DesktopLinks[] | string;
    dataMenuDonate?: string;
    dataMenuLanguage?: string;
    logoLabel?: string;
    logoUrl?: string;
    menuLabelClose?: string;
    menuLabelOpen?: string;
  }
  interface HySiteLogo {
    label?: string;
    url?: string;
  }
  interface HySiteSearch {
Markus Kalijärvi's avatar
Markus Kalijärvi committed
    labels?: ComponentLabels[] | string;
Tuukka Turu's avatar
Tuukka Turu committed
  interface HyTabs {
    headerstyle?: string;
Tuukka Turu's avatar
Tuukka Turu committed
    tabId?: string;
    tabListLabel?: string;
  }
  interface HyTabsItem {
    tabTitle?: string;
  }
  interface HyTag {}
Markus Kaarto's avatar
Markus Kaarto committed
  interface HyTinyText {}
  interface HyTwoColumns {
    reversed?: boolean;
  }
  interface HyUserLoginForm {
    logoLabel?: string;
    logoUrl?: string;
  }
Tuukka Turu's avatar
Tuukka Turu committed
  interface HyVideo {
    /**
     * Context label
     */
    contextLabel?: string;
    /**
     * Should context label be visible
     */
    contextLabelVisible?: boolean;
    /**
     * Date added date as string
     */
    dateAdded?: string;
    /**
     * Label for date added
     */
    dateAddedLabel?: string;
    /**
     * Duration number
     */
    duration?: string;
    /**
     * Label for duration number
     */
    durationLabel?: string;
    headerstyle?: string;
    /**
     * Use horizontal layout where metadata is on side
     */
    horizontal?: boolean;
    /**
     * Url to video, used with preview image
     */
    linkToVideo?: string;
    /**
     * Label for play button if preview image is provided
     */
    playButtonLabel?: string;
    /**
     * Should play button be visible
     */
    playButtonVisible?: boolean;
    /**
     * Preview image url
     */
    previewImageUrl?: string;
    /**
     * Video description
     */
    videoDescription?: string;
    /**
     * Video title
     */
    videoTitle?: string;
    /**
     * Views count number
     */
    views?: string;
    /**
     * Label for views number
     */
    viewsLabel?: string;
  }
Markus Kaarto's avatar
Markus Kaarto committed
  interface IntrinsicElements {
    'color-box': ColorBox;
    'hy-accordion-container': HyAccordionContainer;
    'hy-accordion-item': HyAccordionItem;
    'hy-adjacent-image-text': HyAdjacentImageText;
    'hy-badge': HyBadge;
    'hy-banner': HyBanner;
    'hy-baseline': HyBaseline;
    'hy-box': HyBox;
    'hy-box-container': HyBoxContainer;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-breadcrumbs': HyBreadcrumbs;
    'hy-button': HyButton;
    'hy-checkbox': HyCheckbox;
    'hy-content-list': HyContentList;
    'hy-content-list-item': HyContentListItem;
    'hy-cta-button': HyCtaButton;
    'hy-cta-link': HyCtaLink;
    'hy-desktop-menu-links': HyDesktopMenuLinks;
    'hy-docs-container': HyDocsContainer;
    'hy-dropdown': HyDropdown;
    'hy-dropdown-panel': HyDropdownPanel;
    'hy-dropdown-panel-item': HyDropdownPanelItem;
    'hy-filter-group': HyFilterGroup;
    'hy-filter-group-item': HyFilterGroupItem;
    'hy-filter-visibility-tool': HyFilterVisibilityTool;
    'hy-filter-visibility-tool-reset': HyFilterVisibilityToolReset;
    'hy-filter-visibility-tool-toggle': HyFilterVisibilityToolToggle;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-footer': HyFooter;
    'hy-footer-action': HyFooterAction;
    'hy-footer-base': HyFooterBase;
    'hy-footer-info': HyFooterInfo;
    'hy-footer-link-item': HyFooterLinkItem;
    'hy-grid-container': HyGridContainer;
    'hy-grid-item': HyGridItem;
    'hy-grid-row': HyGridRow;
    'hy-heading': HyHeading;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-hero': HyHero;
    'hy-icon': HyIcon;
    'hy-image': HyImage;
    'hy-ingress': HyIngress;
    'hy-introduction': HyIntroduction;
    'hy-key-figure': HyKeyFigure;
    'hy-key-figure-group': HyKeyFigureGroup;
    'hy-key-highlight': HyKeyHighlight;
    'hy-key-highlight-group': HyKeyHighlightGroup;
    'hy-large-process-flow': HyLargeProcessFlow;
    'hy-large-process-flow-phase': HyLargeProcessFlowPhase;
    'hy-link': HyLink;
    'hy-link-box': HyLinkBox;
    'hy-link-box-list': HyLinkBoxList;
    'hy-link-list': HyLinkList;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    'hy-main': HyMain;
    'hy-main-content-wrapper': HyMainContentWrapper;
    'hy-menu': HyMenu;
    'hy-menu-item': HyMenuItem;
    'hy-menu-item-sidebar': HyMenuItemSidebar;
    'hy-menu-language': HyMenuLanguage;
    'hy-menu-language-item': HyMenuLanguageItem;
    'hy-menu-level-container': HyMenuLevelContainer;
    'hy-menu-mobile-breadcrumb': HyMenuMobileBreadcrumb;
    'hy-paragraph-text': HyParagraphText;
    'hy-process': HyProcess;
    'hy-process-flow-box': HyProcessFlowBox;
    'hy-prominent-image': HyProminentImage;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    'hy-quote': HyQuote;
    'hy-row': HyRow;
    'hy-search-field': HySearchField;
    'hy-section-container': HySectionContainer;
    'hy-shortcuts': HyShortcuts;
    'hy-site-header': HySiteHeader;
    'hy-site-logo': HySiteLogo;
    'hy-site-search': HySiteSearch;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-tabs': HyTabs;
    'hy-tabs-item': HyTabsItem;
    'hy-tag': HyTag;
    'hy-tiny-text': HyTinyText;
    'hy-two-columns': HyTwoColumns;
    'hy-user-login-form': HyUserLoginForm;
Tuukka Turu's avatar
Tuukka Turu committed
    'hy-video': HyVideo;
export {LocalJSX as JSX};
declare module '@stencil/core' {
Markus Kaarto's avatar
Markus Kaarto committed
  export namespace JSX {
    interface IntrinsicElements {