Skip to content
Snippets Groups Projects
components.d.ts 32.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • /* 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/core/internal';
    
    Markus Kaarto's avatar
    Markus Kaarto committed
    import {
      ButtonVariants,
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
      CtaLinkButtonVariants,
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      GridAlignVariants,
      GridColumns,
      GridColumnsLg,
      GridColumnsSm,
      HeadingSectionVariants,
      HeadingVarians,
    
      ProcessFlowBoxStepStates,
    
      SiteLogoSize,
    
    } from './utils/utils';
    import {KeyFigureValue} from './components/hy-key-figure-group/hy-key-figure-group';
    import {KeyHighlightValue} from './components/hy-key-highlight-group/hy-key-highlight-group';
    import {LinkBox} from './components/link-box-list/link-box-list';
    import {MenuLanguage} from './components/navigation/menu-language/menu-language';
    import {ComponentLabels} from './components/site-header/site-header';
    import {ProcessFlowBoxValue} from './components/process/process';
    
    export namespace Components {
    
    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';
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      }
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
      interface HyBanner {
        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;
      }
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyButton {
        /**
         * Aria label for the element
         */
        ariaLabel?: string;
        /**
         * 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;
      }
    
    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;
      }
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyDocsContainer {}
      interface HyGridContainer {}
      interface HyGridItem {
        columns: GridColumns;
        columnslg: GridColumnsLg;
        columnssm: GridColumnsSm;
        contentalign: GridAlignVariants;
      }
      interface HyGridRow {}
      interface HyHeading {
        heading: HeadingVarians;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
        negative: boolean;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
        section: HeadingSectionVariants;
      }
      interface HyIcon {
        fill: string;
        icon: string;
        size: number;
      }
      interface HyImage {
        aspectRatioHeight: number;
        aspectRatioWidth: number;
        caption: string;
        imageAlt: string;
        imageUrl?: string;
      }
      interface HyIngress {}
    
      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;
      }
    
    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 {
        imageAlt: string;
        imageUrl: string;
        isExternal: boolean;
        textDescription: string;
        textTitle?: string;
        url?: string;
    
        variant: LinkBoxVariants;
      }
      interface HyLinkBoxList {
        dataItems: LinkBox[] | string;
        variant: LinkBoxVariants;
    
    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;
    
      interface HyMenuItem {
        ariaExpanded: boolean;
        depth: number;
        hasChildren: boolean;
        inActiveTrail: boolean;
        isActive: boolean;
    
        isActiveChild?: boolean;
    
        isParent: boolean;
    
        menuButtonSubmenuExpand?: string;
    
        menuItemAlternative: boolean;
        menuLinkId: string;
    
        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;
        headingItem: any;
    
        triggerItem: string;
      }
      interface HyMenuMobileBreadcrumb {
        bid: string;
        isFirst: boolean;
        label: string;
    
        labelBack: string;
        labelFrontPage: string;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyParagraphText {}
    
      interface HyProcess {
        dataItems: ProcessFlowBoxValue[] | string;
    
        numberTerm: string;
    
      }
      interface HyProcessFlowBox {
        boxDescription: string;
        boxNumber: string;
        boxTitle: string;
        intermediateStepTitle: string;
        numberTerm: string;
        stepState: ProcessFlowBoxStepStates;
        variant: ProcessFlowBoxVariants;
      }
    
    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;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      }
      interface HySectionContainer {}
    
      interface HySiteHeader {
        dataMenuDonate: string;
        dataMenuLanguage: string;
    
        logoLabel?: string;
        logoUrl?: string;
    
      }
      interface HySiteLogo {
    
        label?: string;
    
        url?: string;
      }
      interface HySiteSearch {
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyTinyText {}
    
      interface HTMLColorBoxElement extends Components.ColorBox, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLColorBoxElement: {
        prototype: HTMLColorBoxElement;
        new (): HTMLColorBoxElement;
      };
    
      interface HTMLHyAccordionContainerElement extends Components.HyAccordionContainer, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyAccordionContainerElement: {
        prototype: HTMLHyAccordionContainerElement;
        new (): HTMLHyAccordionContainerElement;
      };
    
      interface HTMLHyAccordionItemElement extends Components.HyAccordionItem, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyAccordionItemElement: {
        prototype: HTMLHyAccordionItemElement;
        new (): HTMLHyAccordionItemElement;
      };
    
      interface HTMLHyAdjacentImageTextElement extends Components.HyAdjacentImageText, HTMLStencilElement {}
    
      var HTMLHyAdjacentImageTextElement: {
        prototype: HTMLHyAdjacentImageTextElement;
        new (): HTMLHyAdjacentImageTextElement;
      };
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HTMLHyBadgeElement extends Components.HyBadge, HTMLStencilElement {}
      var HTMLHyBadgeElement: {
        prototype: HTMLHyBadgeElement;
        new (): HTMLHyBadgeElement;
      };
    
      interface HTMLHyBannerElement extends Components.HyBanner, HTMLStencilElement {}
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
      var HTMLHyBannerElement: {
        prototype: HTMLHyBannerElement;
        new (): HTMLHyBannerElement;
      };
    
      interface HTMLHyBaselineElement extends Components.HyBaseline, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyBaselineElement: {
        prototype: HTMLHyBaselineElement;
        new (): HTMLHyBaselineElement;
      };
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HTMLHyBoxElement extends Components.HyBox, HTMLStencilElement {}
      var HTMLHyBoxElement: {
        prototype: HTMLHyBoxElement;
        new (): HTMLHyBoxElement;
      };
    
      interface HTMLHyBoxContainerElement extends Components.HyBoxContainer, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyBoxContainerElement: {
        prototype: HTMLHyBoxContainerElement;
        new (): HTMLHyBoxContainerElement;
      };
    
      interface HTMLHyButtonElement extends Components.HyButton, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyButtonElement: {
        prototype: HTMLHyButtonElement;
        new (): HTMLHyButtonElement;
      };
    
      interface HTMLHyCtaButtonElement extends Components.HyCtaButton, HTMLStencilElement {}
    
      var HTMLHyCtaButtonElement: {
        prototype: HTMLHyCtaButtonElement;
        new (): HTMLHyCtaButtonElement;
      };
    
      interface HTMLHyCtaLinkElement extends Components.HyCtaLink, HTMLStencilElement {}
    
      var HTMLHyCtaLinkElement: {
        prototype: HTMLHyCtaLinkElement;
        new (): HTMLHyCtaLinkElement;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      };
    
      interface HTMLHyDocsContainerElement extends Components.HyDocsContainer, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyDocsContainerElement: {
        prototype: HTMLHyDocsContainerElement;
        new (): HTMLHyDocsContainerElement;
      };
    
      interface HTMLHyGridContainerElement extends Components.HyGridContainer, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyGridContainerElement: {
        prototype: HTMLHyGridContainerElement;
        new (): HTMLHyGridContainerElement;
      };
    
      interface HTMLHyGridItemElement extends Components.HyGridItem, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyGridItemElement: {
        prototype: HTMLHyGridItemElement;
        new (): HTMLHyGridItemElement;
      };
    
      interface HTMLHyGridRowElement extends Components.HyGridRow, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyGridRowElement: {
        prototype: HTMLHyGridRowElement;
        new (): HTMLHyGridRowElement;
      };
    
      interface HTMLHyHeadingElement extends Components.HyHeading, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyHeadingElement: {
        prototype: HTMLHyHeadingElement;
        new (): HTMLHyHeadingElement;
      };
      interface HTMLHyIconElement extends Components.HyIcon, HTMLStencilElement {}
      var HTMLHyIconElement: {
        prototype: HTMLHyIconElement;
        new (): HTMLHyIconElement;
      };
      interface HTMLHyImageElement extends Components.HyImage, HTMLStencilElement {}
      var HTMLHyImageElement: {
        prototype: HTMLHyImageElement;
        new (): HTMLHyImageElement;
      };
    
      interface HTMLHyIngressElement extends Components.HyIngress, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyIngressElement: {
        prototype: HTMLHyIngressElement;
        new (): HTMLHyIngressElement;
      };
    
      interface HTMLHyKeyFigureElement extends Components.HyKeyFigure, HTMLStencilElement {}
    
      var HTMLHyKeyFigureElement: {
        prototype: HTMLHyKeyFigureElement;
        new (): HTMLHyKeyFigureElement;
      };
    
      interface HTMLHyKeyFigureGroupElement extends Components.HyKeyFigureGroup, HTMLStencilElement {}
    
      var HTMLHyKeyFigureGroupElement: {
        prototype: HTMLHyKeyFigureGroupElement;
        new (): HTMLHyKeyFigureGroupElement;
      };
    
      interface HTMLHyKeyHighlightElement extends Components.HyKeyHighlight, HTMLStencilElement {}
    
      var HTMLHyKeyHighlightElement: {
        prototype: HTMLHyKeyHighlightElement;
        new (): HTMLHyKeyHighlightElement;
      };
    
      interface HTMLHyKeyHighlightGroupElement extends Components.HyKeyHighlightGroup, HTMLStencilElement {}
    
      var HTMLHyKeyHighlightGroupElement: {
        prototype: HTMLHyKeyHighlightGroupElement;
        new (): HTMLHyKeyHighlightGroupElement;
      };
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HTMLHyLinkElement extends Components.HyLink, HTMLStencilElement {}
      var HTMLHyLinkElement: {
        prototype: HTMLHyLinkElement;
        new (): HTMLHyLinkElement;
      };
    
      interface HTMLHyLinkBoxElement extends Components.HyLinkBox, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyLinkBoxElement: {
        prototype: HTMLHyLinkBoxElement;
        new (): HTMLHyLinkBoxElement;
      };
    
      interface HTMLHyLinkBoxListElement extends Components.HyLinkBoxList, HTMLStencilElement {}
    
      var HTMLHyLinkBoxListElement: {
        prototype: HTMLHyLinkBoxListElement;
        new (): HTMLHyLinkBoxListElement;
      };
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
      interface HTMLHyMainElement extends Components.HyMain, HTMLStencilElement {}
      var HTMLHyMainElement: {
        prototype: HTMLHyMainElement;
        new (): HTMLHyMainElement;
      };
    
      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 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 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;
      };
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HTMLHyRowElement extends Components.HyRow, HTMLStencilElement {}
      var HTMLHyRowElement: {
        prototype: HTMLHyRowElement;
        new (): HTMLHyRowElement;
      };
    
      interface HTMLHySectionContainerElement extends Components.HySectionContainer, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHySectionContainerElement: {
        prototype: HTMLHySectionContainerElement;
        new (): HTMLHySectionContainerElement;
      };
    
      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;
      };
    
      interface HTMLHyTinyTextElement extends Components.HyTinyText, HTMLStencilElement {}
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      var HTMLHyTinyTextElement: {
        prototype: HTMLHyTinyTextElement;
        new (): HTMLHyTinyTextElement;
      };
      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;
        'hy-button': HTMLHyButtonElement;
        'hy-cta-button': HTMLHyCtaButtonElement;
        'hy-cta-link': HTMLHyCtaLinkElement;
        'hy-docs-container': HTMLHyDocsContainerElement;
        'hy-grid-container': HTMLHyGridContainerElement;
        'hy-grid-item': HTMLHyGridItemElement;
        'hy-grid-row': HTMLHyGridRowElement;
        'hy-heading': HTMLHyHeadingElement;
        'hy-icon': HTMLHyIconElement;
        'hy-image': HTMLHyImageElement;
        'hy-ingress': HTMLHyIngressElement;
        'hy-key-figure': HTMLHyKeyFigureElement;
        'hy-key-figure-group': HTMLHyKeyFigureGroupElement;
        'hy-key-highlight': HTMLHyKeyHighlightElement;
        'hy-key-highlight-group': HTMLHyKeyHighlightGroupElement;
        'hy-link': HTMLHyLinkElement;
        'hy-link-box': HTMLHyLinkBoxElement;
        'hy-link-box-list': HTMLHyLinkBoxListElement;
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
        'hy-main': HTMLHyMainElement;
    
        'hy-menu': HTMLHyMenuElement;
        'hy-menu-item': HTMLHyMenuItemElement;
        'hy-menu-language': HTMLHyMenuLanguageElement;
        'hy-menu-language-item': HTMLHyMenuLanguageItemElement;
        'hy-menu-level-container': HTMLHyMenuLevelContainerElement;
        'hy-menu-mobile-breadcrumb': HTMLHyMenuMobileBreadcrumbElement;
        'hy-paragraph-text': HTMLHyParagraphTextElement;
        'hy-process': HTMLHyProcessElement;
        'hy-process-flow-box': HTMLHyProcessFlowBoxElement;
        'hy-row': HTMLHyRowElement;
        'hy-section-container': HTMLHySectionContainerElement;
        'hy-site-header': HTMLHySiteHeaderElement;
        'hy-site-logo': HTMLHySiteLogoElement;
        'hy-site-search': HTMLHySiteSearchElement;
        'hy-tiny-text': HTMLHyTinyTextElement;
    
    }
    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 {
        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;
      }
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyButton {
        /**
         * Aria label for the element
         */
        ariaLabel?: string;
        /**
         * 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;
      }
    
    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;
      }
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyDocsContainer {}
      interface HyGridContainer {}
      interface HyGridItem {
        columns?: GridColumns;
        columnslg?: GridColumnsLg;
        columnssm?: GridColumnsSm;
        contentalign?: GridAlignVariants;
      }
      interface HyGridRow {}
      interface HyHeading {
        heading?: HeadingVarians;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
        negative?: boolean;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
        section?: HeadingSectionVariants;
      }
      interface HyIcon {
        fill?: string;
        icon?: string;
        size?: number;
      }
      interface HyImage {
        aspectRatioHeight?: number;
        aspectRatioWidth?: number;
        caption?: string;
        imageAlt?: string;
        imageUrl?: string;
      }
      interface HyIngress {}
    
      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;
      }
    
    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 {
        imageAlt?: string;
        imageUrl?: string;
        isExternal?: boolean;
        textDescription?: string;
        textTitle?: string;
        url?: string;
    
        variant?: LinkBoxVariants;
      }
      interface HyLinkBoxList {
        dataItems?: LinkBox[] | string;
        variant?: LinkBoxVariants;
    
    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 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;
        headingItem?: any;
    
        triggerItem?: string;
      }
      interface HyMenuMobileBreadcrumb {
        bid?: string;
        isFirst?: boolean;
        label?: string;
    
        labelBack?: string;
        labelFrontPage?: string;
    
        onRemoveBreadcrumb?: (event: CustomEvent<any>) => void;
      }
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyParagraphText {}
    
      interface HyProcess {
        dataItems?: ProcessFlowBoxValue[] | string;
    
        numberTerm?: string;
    
      }
      interface HyProcessFlowBox {
        boxDescription?: string;
        boxNumber?: string;
        boxTitle?: string;
        intermediateStepTitle?: string;
        numberTerm?: string;
        stepState?: ProcessFlowBoxStepStates;
        variant?: ProcessFlowBoxVariants;
      }
    
    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;
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      }
      interface HySectionContainer {}
    
      interface HySiteHeader {
        dataMenuDonate?: string;
        dataMenuLanguage?: string;
    
        logoLabel?: string;
        logoUrl?: string;
    
      }
      interface HySiteLogo {
    
        label?: string;
    
        url?: string;
      }
      interface HySiteSearch {
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      interface HyTinyText {}
      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;
        'hy-button': HyButton;
        'hy-cta-button': HyCtaButton;
        'hy-cta-link': HyCtaLink;
        'hy-docs-container': HyDocsContainer;
        'hy-grid-container': HyGridContainer;
        'hy-grid-item': HyGridItem;
        'hy-grid-row': HyGridRow;
        'hy-heading': HyHeading;
        'hy-icon': HyIcon;
        'hy-image': HyImage;
        'hy-ingress': HyIngress;
        'hy-key-figure': HyKeyFigure;
        'hy-key-figure-group': HyKeyFigureGroup;
        'hy-key-highlight': HyKeyHighlight;
        'hy-key-highlight-group': HyKeyHighlightGroup;
        'hy-link': HyLink;
        'hy-link-box': HyLinkBox;
        'hy-link-box-list': HyLinkBoxList;
    
    Ekaterina Kondareva's avatar
    Ekaterina Kondareva committed
        'hy-main': HyMain;
    
        'hy-menu': HyMenu;
        'hy-menu-item': HyMenuItem;
        '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-row': HyRow;
        'hy-section-container': HySectionContainer;
        'hy-site-header': HySiteHeader;
        'hy-site-logo': HySiteLogo;
        'hy-site-search': HySiteSearch;
        'hy-tiny-text': HyTinyText;
    
    export {LocalJSX as JSX};
    declare module '@stencil/core' {
    
    Markus Kaarto's avatar
    Markus Kaarto committed
      export namespace JSX {
        interface IntrinsicElements {
    
          'color-box': LocalJSX.ColorBox & JSXBase.HTMLAttributes<HTMLColorBoxElement>;
          'hy-accordion-container': LocalJSX.HyAccordionContainer & JSXBase.HTMLAttributes<HTMLHyAccordionContainerElement>;
          'hy-accordion-item': LocalJSX.HyAccordionItem & JSXBase.HTMLAttributes<HTMLHyAccordionItemElement>;
          'hy-adjacent-image-text': LocalJSX.HyAdjacentImageText & JSXBase.HTMLAttributes<HTMLHyAdjacentImageTextElement>;
          'hy-badge': LocalJSX.HyBadge & JSXBase.HTMLAttributes<HTMLHyBadgeElement>;
          'hy-banner': LocalJSX.HyBanner & JSXBase.HTMLAttributes<HTMLHyBannerElement>;
          'hy-baseline': LocalJSX.HyBaseline & JSXBase.HTMLAttributes<HTMLHyBaselineElement>;
          'hy-box': LocalJSX.HyBox & JSXBase.HTMLAttributes<HTMLHyBoxElement>;
          'hy-box-container': LocalJSX.HyBoxContainer & JSXBase.HTMLAttributes<HTMLHyBoxContainerElement>;
          'hy-button': LocalJSX.HyButton & JSXBase.HTMLAttributes<HTMLHyButtonElement>;