Skip to content
Snippets Groups Projects
components.d.ts 70.1 KiB
Newer Older
Markus Kaarto's avatar
Markus Kaarto committed
    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;
  };
Tuukka Turu's avatar
Tuukka Turu committed
  interface HTMLHyHeroElement extends Components.HyHero, HTMLStencilElement {}
  var HTMLHyHeroElement: {
    prototype: HTMLHyHeroElement;
    new (): HTMLHyHeroElement;
  };
Markus Kaarto's avatar
Markus Kaarto committed
  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 HTMLHyIntroductionElement extends Components.HyIntroduction, HTMLStencilElement {}
  var HTMLHyIntroductionElement: {
    prototype: HTMLHyIntroductionElement;
    new (): HTMLHyIntroductionElement;
  };
  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;
  };
  interface HTMLHyLargeProcessFlowElement extends Components.HyLargeProcessFlow, HTMLStencilElement {}
  var HTMLHyLargeProcessFlowElement: {
    prototype: HTMLHyLargeProcessFlowElement;
    new (): HTMLHyLargeProcessFlowElement;
  };
  interface HTMLHyLargeProcessFlowPhaseElement extends Components.HyLargeProcessFlowPhase, HTMLStencilElement {}
  var HTMLHyLargeProcessFlowPhaseElement: {
    prototype: HTMLHyLargeProcessFlowPhaseElement;
    new (): HTMLHyLargeProcessFlowPhaseElement;
  };
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;
  };
  interface HTMLHyLinkListElement extends Components.HyLinkList, HTMLStencilElement {}
  var HTMLHyLinkListElement: {
    prototype: HTMLHyLinkListElement;
    new (): HTMLHyLinkListElement;
  };
  interface HTMLHyListItemElement extends Components.HyListItem, HTMLStencilElement {}
  var HTMLHyListItemElement: {
    prototype: HTMLHyListItemElement;
    new (): HTMLHyListItemElement;
  };
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HTMLHyMainElement extends Components.HyMain, HTMLStencilElement {}
  var HTMLHyMainElement: {
    prototype: HTMLHyMainElement;
    new (): HTMLHyMainElement;
  };
  interface HTMLHyMainContentWrapperElement extends Components.HyMainContentWrapper, HTMLStencilElement {}
  var HTMLHyMainContentWrapperElement: {
    prototype: HTMLHyMainContentWrapperElement;
    new (): HTMLHyMainContentWrapperElement;
  };
  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;
  };
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HTMLHyPagerElement extends Components.HyPager, HTMLStencilElement {}
  var HTMLHyPagerElement: {
    prototype: HTMLHyPagerElement;
    new (): HTMLHyPagerElement;
  };
  interface HTMLHyPagerItemElement extends Components.HyPagerItem, HTMLStencilElement {}
  var HTMLHyPagerItemElement: {
    prototype: HTMLHyPagerItemElement;
    new (): HTMLHyPagerItemElement;
  };
  interface HTMLHyParagraphTextElement extends Components.HyParagraphText, HTMLStencilElement {}
Markus Kaarto's avatar
Markus Kaarto committed
  var HTMLHyParagraphTextElement: {
    prototype: HTMLHyParagraphTextElement;
    new (): HTMLHyParagraphTextElement;
  };
  interface HTMLHyPersonCardElement extends Components.HyPersonCard, HTMLStencilElement {}
  var HTMLHyPersonCardElement: {
    prototype: HTMLHyPersonCardElement;
    new (): HTMLHyPersonCardElement;
  };
  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;
    'hy-list-item': HTMLHyListItemElement;
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;
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
    'hy-pager': HTMLHyPagerElement;
    'hy-pager-item': HTMLHyPagerItemElement;
    'hy-paragraph-text': HTMLHyParagraphTextElement;
    'hy-person-card': HTMLHyPersonCardElement;
    '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;
    variant?: AccordionVariants;
    headerstyle?: string;
    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;
    headerstyle?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * Value for horisontal alignment (justify-content)
     */
    justify?: string;
    /**
     * All sides margin value in rems. Responsive when given Comma separated values.
     */
    m?: string;
    /**
     * Bottom margin in rems. Responsive when given Comma separated values.
     */
    mb?: string;
    /**
     * Left margin in rems. Responsive when given Comma separated values.
     */
    ml?: string;
    /**
     * Right margin in rems. Responsive when given Comma separated values.
     */
    mr?: string;
    /**
     * Top margin in rems. Responsive when given Comma separated values.
     */
    mt?: string;
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * 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;
  }
druid's avatar
druid committed
    /**
     * Checked attribute
     */
    checkboxChecked?: boolean;
    /**
     * Unique id for checkbox element
     */
    checkboxId?: string | number;
    /**
     * Label for input to describe
     */
    /**
     * Value for input element
     */
    checkboxValue?: string | number;
    /**
     * Variant to deifne what style of checkbox to use
     */
    variant?: CheckboxVariants;
  interface HyContentList {
    creditsLabel?: string;
    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;
    onMenuDesktopToggled?: (event: CustomEvent<any>) => void;
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;
    variant?: FooterLinkVariants;
Tuukka Turu's avatar
Tuukka Turu committed
  }
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 {
    headerstyle?: string;
  }
  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;
    headerstyle?: string;
  }
  interface HyKeyHighlight {
    description?: string;
    heading?: string;
    variant?: KeyHighlightVariants;
  }
  interface HyKeyHighlightGroup {
    dataItems?: KeyHighlightValue[] | string;
    headerstyle?: string;
  interface HyLargeProcessFlow {
    dataItems?: ProcessFlowValue[] | string;
    headerstyle?: 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;
    headerstyle?: string;
  interface HyLinkList {
    dataItems?: CtaLinkValue[] | string;
    headerstyle?: string;
    listHeading?: string;
  }
    additionalInfo?: AdditionalInfo[] | string;
    headerstyle?: string;
    imageLabel?: string;
    isExternal?: boolean;
    itemDescription?: string;
    itemImageAlt?: string;
    itemImageUrl?: string;
    itemTitle?: string;
    itemType?: string;
    outGoingUrlLabel?: string;
    relatedLinks?: RelatedLink[] | string;
    relatedLinksBlockTitle?: string;
    variant?: ListItemVariants;
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;
    onMenuLanguageToggled?: (event: CustomEvent<any>) => void;
  }
  interface HyMenuLanguageItem {
    abbr?: string;
    isActive?: boolean;
    isDisabled?: 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;
  }
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  interface HyPager {}
  interface HyPagerItem {
    itemLabel?: string;
    itemUrl?: string;
    scAriaLabel?: string;
    variant?: PaginationItemVariants;
  }
  interface HyPersonCard {
    categoryTitle?: string;
    department?: string;
    email?: string;
    field?: string;
    firstName?: string;
    imageAlt?: string;
    imageUrl?: string;
    isExternal?: boolean;
    lastName?: string;
    phone?: string;
    positionTitle?: string;
    scLabel?: string;
    url?: string;
    variant?: PersonCardVariants;
  }
  interface HyProcess {
    dataItems?: ProcessFlowBoxValue[] | string;
    headerstyle?: string;
    numberTerm?: string;
  }
  interface HyProcessFlowBox {
    boxDescription?: string;
    boxNumber?: string;
    boxTitle?: string;
    intermediateStepTitle?: string;
    numberTerm?: string;
    stepState?: ProcessFlowBoxStepStates;
    variant?: ProcessFlowBoxVariants;
  }
  interface HyProminentImage {
    headerstyle?: string;