Something went wrong on our end
components.d.ts 41.00 KiB
/* 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';
import {
ButtonVariants,
ColorVariant,
CtaLinkButtonVariants,
CtaLinkVariants,
GridAlignVariants,
GridColumns,
GridColumnsLg,
GridColumnsSm,
HeadingSectionVariants,
HeadingVarians,
HeroColorVariant,
IntroductionBgColors,
KeyHighlightVariants,
LinkBoxVariants,
LinkVariants,
MenuType,
ProcessFlowBoxStepStates,
ProcessFlowBoxVariants,
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 {ProcessFlowValue} from './components/hy-large-process-flow/hy-large-process-flow';
import {PhaseValue} from './components/hy-large-process-flow-phase/hy-large-process-flow-phase';
import {LinkBox} from './components/link-box-list/link-box-list';
import {CtaLinkValue} from './components/hy-link-list/hy-link-list';
import {MenuLanguage} from './components/navigation/menu-language/menu-language';
import {ComponentLabels} from './components/site-header/site-header';
import {ProcessFlowBoxValue} from './components/process/process';
import {ShortcutLinkValue} from './components/hy-shortcuts/hy-shortcuts';
export namespace Components {
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;
}
interface HyBadge {
variant: 'primary' | 'warn' | 'success' | 'disabled';
}
interface HyBanner {
scLabel?: string;
textDescription: string;
textTitle?: string;
url?: string;
urlTitle?: string;
}
interface HyBaseline {
/**
* Top margin to be added to all but first element. Amount of rem:s
*/
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;
}
interface HyButton {
/**
* Aria label for the element
*/
ariaLabel?: string;
/**
* Custom classes added to button element.
*/
buttonClasses: string;
/**
* Button type. Defaults to submit.
*/
buttonType: 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';
/**
* deprecated, use disabled boolean value
*/
state: 'enabled' | 'disabled';
/**
* Set this on if an anchor tag is required instead of a button.
*/
url?: string;
/**
* The element variant. Defaults to primary
*/
variant: ButtonVariants;
}
interface HyCtaButton {
isExternal: boolean;
linkContent: string;
scLabel?: string;
url?: string;
variant: CtaLinkButtonVariants;
}
interface HyCtaLink {
isExternal: boolean;
linkContent: string;
scLabel?: string;
url?: string;
variant: CtaLinkVariants;
}
interface HyDocsContainer {}
interface HyGridContainer {}
interface HyGridItem {
columns: GridColumns;
columnslg: GridColumnsLg;
columnssm: GridColumnsSm;
contentalign: GridAlignVariants;
}
interface HyGridRow {}
interface HyHeading {
/**
* @type {*}
*/
heading: HeadingVarians;
negative: boolean;
/**
* @type {*}
*/
section: HeadingSectionVariants;
}
interface HyHero {
colorVariant: HeroColorVariant;
description: string;
heading: string;
image: string;
scLabel?: string;
url: string;
urlTitle: string;
}
interface HyIcon {
fill: string;
icon: string;
size: number;
}
interface HyImage {
aspectRatioHeight: number;
aspectRatioWidth: number;
caption: string;
imageAlt: string;
imageUrl?: string;
}
interface HyIngress {}
interface HyIntroduction {
imageUrl?: string;
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;
}
interface HyLink {
isExternal: boolean;
linkContent: string;
scLabel?: string;
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;
}
interface HyLinkList {
dataItems: CtaLinkValue[] | string;
listHeading: string;
}
interface HyMain {
hasSidebar: boolean;
}
interface HyMainContentWrapper {}
interface HyMenu {
dataMenuDonate: string;
dataMenuLanguage: string;
isDemo: boolean;
labelFrontPage: string;
logoLabel: string;
logoUrl: string;
menuButtonBreadcrumbReturn: string;
menuButtonSubmenuExpand: string;
menuIsOpen: boolean;
menuType: MenuType;
}
interface HyMenuItem {
ariaExpanded: boolean;
depth: number;
hasChildren: boolean;
inActiveTrail: boolean;
isActive: boolean;
isActiveChild?: boolean;
isDemo: boolean;
isHeading: boolean;
isParent: boolean;
label: string;
menuButtonSubmenuExpand?: string;
menuItemAlternative: boolean;
menuLinkId: string;
menuType: MenuType;
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;
labelFrontPage?: string;
menuButtonSubmenuExpand?: string;
menuLevel: number;
menuType: MenuType;
triggerItem: string;
}
interface HyMenuMobileBreadcrumb {
bid: string;
isFirst: boolean;
label: string;
labelBack: string;
labelFrontPage: string;
}
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;
}
interface HyProminentImage {
imageUrl?: string;
textTitle?: string;
}
interface HyQuote {
quoteSignature?: string;
}
interface HyRow {
/**
* justify-content property.
*/
align: string;
/**
* justify-content property.
*/
justify: string;
/**
* Left margin to be added to adjacent items.
*/
margin: number;
}
interface HySectionContainer {}
interface HyShortcuts {
dataItems: ShortcutLinkValue[] | string;
listHeading: string;
}
interface HySiteHeader {
dataMenuDonate: string;
dataMenuLanguage: string;
dataSiteHeaderLabels: string;
logoLabel?: string;
logoUrl?: string;
menuLabelClose?: string;
menuLabelOpen?: string;
menuType: MenuType;
}
interface HySiteLogo {
color: ColorVariant;
label?: string;
size: SiteLogoSize;
url?: string;
}
interface HySiteSearch {
color: ColorVariant;
isAlternative: boolean;
labels?: ComponentLabels[] | string;
showLabel: boolean;
size: number;
}
interface HyTabs {
tabId?: string;
tabListLabel: string;
}
interface HyTabsItem {
tabTitle?: string;
}
interface HyTinyText {}
interface HyTwoColumns {
reversed: boolean;
}
interface HyUserLoginForm {
logoLabel?: string;
logoUrl?: string;
}
}
declare global {
interface HTMLColorBoxElement extends Components.ColorBox, HTMLStencilElement {}
var HTMLColorBoxElement: {
prototype: HTMLColorBoxElement;
new (): HTMLColorBoxElement;
};
interface HTMLHyAccordionContainerElement extends Components.HyAccordionContainer, HTMLStencilElement {}
var HTMLHyAccordionContainerElement: {
prototype: HTMLHyAccordionContainerElement;
new (): HTMLHyAccordionContainerElement;
};
interface HTMLHyAccordionItemElement extends Components.HyAccordionItem, HTMLStencilElement {}
var HTMLHyAccordionItemElement: {
prototype: HTMLHyAccordionItemElement;
new (): HTMLHyAccordionItemElement;
};
interface HTMLHyAdjacentImageTextElement extends Components.HyAdjacentImageText, HTMLStencilElement {}
var HTMLHyAdjacentImageTextElement: {
prototype: HTMLHyAdjacentImageTextElement;
new (): HTMLHyAdjacentImageTextElement;
};
interface HTMLHyBadgeElement extends Components.HyBadge, HTMLStencilElement {}
var HTMLHyBadgeElement: {
prototype: HTMLHyBadgeElement;
new (): HTMLHyBadgeElement;
};
interface HTMLHyBannerElement extends Components.HyBanner, HTMLStencilElement {}
var HTMLHyBannerElement: {
prototype: HTMLHyBannerElement;
new (): HTMLHyBannerElement;
};
interface HTMLHyBaselineElement extends Components.HyBaseline, HTMLStencilElement {}
var HTMLHyBaselineElement: {
prototype: HTMLHyBaselineElement;
new (): HTMLHyBaselineElement;
};
interface HTMLHyBoxElement extends Components.HyBox, HTMLStencilElement {}
var HTMLHyBoxElement: {
prototype: HTMLHyBoxElement;
new (): HTMLHyBoxElement;
};
interface HTMLHyBoxContainerElement extends Components.HyBoxContainer, HTMLStencilElement {}
var HTMLHyBoxContainerElement: {
prototype: HTMLHyBoxContainerElement;
new (): HTMLHyBoxContainerElement;
};
interface HTMLHyButtonElement extends Components.HyButton, HTMLStencilElement {}
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;
};
interface HTMLHyDocsContainerElement extends Components.HyDocsContainer, HTMLStencilElement {}
var HTMLHyDocsContainerElement: {
prototype: HTMLHyDocsContainerElement;
new (): HTMLHyDocsContainerElement;
};
interface HTMLHyGridContainerElement extends Components.HyGridContainer, HTMLStencilElement {}
var HTMLHyGridContainerElement: {
prototype: HTMLHyGridContainerElement;
new (): HTMLHyGridContainerElement;
};
interface HTMLHyGridItemElement extends Components.HyGridItem, HTMLStencilElement {}
var HTMLHyGridItemElement: {
prototype: HTMLHyGridItemElement;
new (): HTMLHyGridItemElement;
};
interface HTMLHyGridRowElement extends Components.HyGridRow, HTMLStencilElement {}
var HTMLHyGridRowElement: {
prototype: HTMLHyGridRowElement;
new (): HTMLHyGridRowElement;
};
interface HTMLHyHeadingElement extends Components.HyHeading, HTMLStencilElement {}
var HTMLHyHeadingElement: {
prototype: HTMLHyHeadingElement;
new (): HTMLHyHeadingElement;
};
interface HTMLHyHeroElement extends Components.HyHero, HTMLStencilElement {}
var HTMLHyHeroElement: {
prototype: HTMLHyHeroElement;
new (): HTMLHyHeroElement;
};
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 {}
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;
};
interface HTMLHyLinkElement extends Components.HyLink, HTMLStencilElement {}
var HTMLHyLinkElement: {
prototype: HTMLHyLinkElement;
new (): HTMLHyLinkElement;
};
interface HTMLHyLinkBoxElement extends Components.HyLinkBox, HTMLStencilElement {}
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 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 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 {}
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;
};
interface HTMLHyQuoteElement extends Components.HyQuote, HTMLStencilElement {}
var HTMLHyQuoteElement: {
prototype: HTMLHyQuoteElement;
new (): HTMLHyQuoteElement;
};
interface HTMLHyRowElement extends Components.HyRow, HTMLStencilElement {}
var HTMLHyRowElement: {
prototype: HTMLHyRowElement;
new (): HTMLHyRowElement;
};
interface HTMLHySectionContainerElement extends Components.HySectionContainer, HTMLStencilElement {}
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;
};
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 HTMLHyTinyTextElement extends Components.HyTinyText, HTMLStencilElement {}
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;
};
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-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-main': HTMLHyMainElement;
'hy-main-content-wrapper': HTMLHyMainContentWrapperElement;
'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-prominent-image': HTMLHyProminentImageElement;
'hy-quote': HTMLHyQuoteElement;
'hy-row': HTMLHyRowElement;
'hy-section-container': HTMLHySectionContainerElement;
'hy-shortcuts': HTMLHyShortcutsElement;
'hy-site-header': HTMLHySiteHeaderElement;
'hy-site-logo': HTMLHySiteLogoElement;
'hy-site-search': HTMLHySiteSearchElement;
'hy-tabs': HTMLHyTabsElement;
'hy-tabs-item': HTMLHyTabsItemElement;
'hy-tiny-text': HTMLHyTinyTextElement;
'hy-two-columns': HTMLHyTwoColumnsElement;
'hy-user-login-form': HTMLHyUserLoginFormElement;
}
}
declare namespace LocalJSX {
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;
}
interface HyBadge {
variant?: 'primary' | 'warn' | 'success' | 'disabled';
}
interface HyBanner {
scLabel?: string;
textDescription?: string;
textTitle?: string;
url?: string;
urlTitle?: string;
}
interface HyBaseline {
/**
* Top margin to be added to all but first element. Amount of rem:s
*/
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;
}
interface HyButton {
/**
* Aria label for the element
*/
ariaLabel?: string;
/**
* Custom classes added to button element.
*/
buttonClasses?: string;
/**
* Button type. Defaults to submit.
*/
buttonType?: 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';
/**
* deprecated, use disabled boolean value
*/
state?: 'enabled' | 'disabled';
/**
* Set this on if an anchor tag is required instead of a button.
*/
url?: string;
/**
* The element variant. Defaults to primary
*/
variant?: ButtonVariants;
}
interface HyCtaButton {
isExternal?: boolean;
linkContent?: string;
scLabel?: string;
url?: string;
variant?: CtaLinkButtonVariants;
}
interface HyCtaLink {
isExternal?: boolean;
linkContent?: string;
scLabel?: string;
url?: string;
variant?: CtaLinkVariants;
}
interface HyDocsContainer {}
interface HyGridContainer {}
interface HyGridItem {
columns?: GridColumns;
columnslg?: GridColumnsLg;
columnssm?: GridColumnsSm;
contentalign?: GridAlignVariants;
}
interface HyGridRow {}
interface HyHeading {
/**
* @type {*}
*/
heading?: HeadingVarians;
negative?: boolean;
/**
* @type {*}
*/
section?: HeadingSectionVariants;
}
interface HyHero {
colorVariant?: HeroColorVariant;
description?: string;
heading?: string;
image?: string;
scLabel?: string;
url?: string;
urlTitle?: string;
}
interface HyIcon {
fill?: string;
icon?: string;
size?: number;
}
interface HyImage {
aspectRatioHeight?: number;
aspectRatioWidth?: number;
caption?: string;
imageAlt?: string;
imageUrl?: string;
}
interface HyIngress {}
interface HyIntroduction {
imageUrl?: string;
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;
}
interface HyLink {
isExternal?: boolean;
linkContent?: string;
scLabel?: string;
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;
}
interface HyLinkList {
dataItems?: CtaLinkValue[] | string;
listHeading?: string;
}
interface HyMain {
hasSidebar?: boolean;
}
interface HyMainContentWrapper {}
interface HyMenu {
dataMenuDonate?: string;
dataMenuLanguage?: string;
isDemo?: boolean;
labelFrontPage?: string;
logoLabel?: string;
logoUrl?: string;
menuButtonBreadcrumbReturn?: string;
menuButtonSubmenuExpand?: string;
menuIsOpen?: boolean;
menuType?: MenuType;
onMenuContainerToggled?: (event: CustomEvent<any>) => void;
}
interface HyMenuItem {
ariaExpanded?: boolean;
depth?: number;
hasChildren?: boolean;
inActiveTrail?: boolean;
isActive?: boolean;
isActiveChild?: boolean;
isDemo?: boolean;
isHeading?: boolean;
isParent?: boolean;
label?: string;
menuButtonSubmenuExpand?: string;
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;
headingItem?: any;
labelFrontPage?: string;
menuButtonSubmenuExpand?: string;
menuLevel?: number;
menuType?: MenuType;
triggerItem?: string;
}
interface HyMenuMobileBreadcrumb {
bid?: string;
isFirst?: boolean;
label?: string;
labelBack?: string;
labelFrontPage?: string;
onRemoveBreadcrumb?: (event: CustomEvent<any>) => void;
}
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;
}
interface HyProminentImage {
imageUrl?: string;
textTitle?: string;
}
interface HyQuote {
quoteSignature?: string;
}
interface HyRow {
/**
* justify-content property.
*/
align?: string;
/**
* justify-content property.
*/
justify?: string;
/**
* Left margin to be added to adjacent items.
*/
margin?: number;
}
interface HySectionContainer {}
interface HyShortcuts {
dataItems?: ShortcutLinkValue[] | string;
listHeading?: string;
}
interface HySiteHeader {
dataMenuDonate?: string;
dataMenuLanguage?: string;
dataSiteHeaderLabels?: string;
logoLabel?: string;
logoUrl?: string;
menuLabelClose?: string;
menuLabelOpen?: string;
menuType?: MenuType;
}
interface HySiteLogo {
color?: ColorVariant;
label?: string;
size?: SiteLogoSize;
url?: string;
}
interface HySiteSearch {
color?: ColorVariant;
isAlternative?: boolean;
labels?: ComponentLabels[] | string;
showLabel?: boolean;
size?: number;
}
interface HyTabs {
tabId?: string;
tabListLabel?: string;
}
interface HyTabsItem {
tabTitle?: string;
}
interface HyTinyText {}
interface HyTwoColumns {
reversed?: boolean;
}
interface HyUserLoginForm {
logoLabel?: string;
logoUrl?: string;
}
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-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;
'hy-main': HyMain;
'hy-main-content-wrapper': HyMainContentWrapper;
'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-prominent-image': HyProminentImage;
'hy-quote': HyQuote;
'hy-row': HyRow;
'hy-section-container': HySectionContainer;
'hy-shortcuts': HyShortcuts;
'hy-site-header': HySiteHeader;
'hy-site-logo': HySiteLogo;
'hy-site-search': HySiteSearch;
'hy-tabs': HyTabs;
'hy-tabs-item': HyTabsItem;
'hy-tiny-text': HyTinyText;
'hy-two-columns': HyTwoColumns;
'hy-user-login-form': HyUserLoginForm;
}
}
export {LocalJSX as JSX};
declare module '@stencil/core' {
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>;
'hy-cta-button': LocalJSX.HyCtaButton & JSXBase.HTMLAttributes<HTMLHyCtaButtonElement>;
'hy-cta-link': LocalJSX.HyCtaLink & JSXBase.HTMLAttributes<HTMLHyCtaLinkElement>;
'hy-docs-container': LocalJSX.HyDocsContainer & JSXBase.HTMLAttributes<HTMLHyDocsContainerElement>;
'hy-grid-container': LocalJSX.HyGridContainer & JSXBase.HTMLAttributes<HTMLHyGridContainerElement>;
'hy-grid-item': LocalJSX.HyGridItem & JSXBase.HTMLAttributes<HTMLHyGridItemElement>;
'hy-grid-row': LocalJSX.HyGridRow & JSXBase.HTMLAttributes<HTMLHyGridRowElement>;
'hy-heading': LocalJSX.HyHeading & JSXBase.HTMLAttributes<HTMLHyHeadingElement>;
'hy-hero': LocalJSX.HyHero & JSXBase.HTMLAttributes<HTMLHyHeroElement>;
'hy-icon': LocalJSX.HyIcon & JSXBase.HTMLAttributes<HTMLHyIconElement>;
'hy-image': LocalJSX.HyImage & JSXBase.HTMLAttributes<HTMLHyImageElement>;
'hy-ingress': LocalJSX.HyIngress & JSXBase.HTMLAttributes<HTMLHyIngressElement>;
'hy-introduction': LocalJSX.HyIntroduction & JSXBase.HTMLAttributes<HTMLHyIntroductionElement>;
'hy-key-figure': LocalJSX.HyKeyFigure & JSXBase.HTMLAttributes<HTMLHyKeyFigureElement>;
'hy-key-figure-group': LocalJSX.HyKeyFigureGroup & JSXBase.HTMLAttributes<HTMLHyKeyFigureGroupElement>;
'hy-key-highlight': LocalJSX.HyKeyHighlight & JSXBase.HTMLAttributes<HTMLHyKeyHighlightElement>;
'hy-key-highlight-group': LocalJSX.HyKeyHighlightGroup & JSXBase.HTMLAttributes<HTMLHyKeyHighlightGroupElement>;
'hy-large-process-flow': LocalJSX.HyLargeProcessFlow & JSXBase.HTMLAttributes<HTMLHyLargeProcessFlowElement>;
'hy-large-process-flow-phase': LocalJSX.HyLargeProcessFlowPhase &
JSXBase.HTMLAttributes<HTMLHyLargeProcessFlowPhaseElement>;
'hy-link': LocalJSX.HyLink & JSXBase.HTMLAttributes<HTMLHyLinkElement>;
'hy-link-box': LocalJSX.HyLinkBox & JSXBase.HTMLAttributes<HTMLHyLinkBoxElement>;
'hy-link-box-list': LocalJSX.HyLinkBoxList & JSXBase.HTMLAttributes<HTMLHyLinkBoxListElement>;
'hy-link-list': LocalJSX.HyLinkList & JSXBase.HTMLAttributes<HTMLHyLinkListElement>;
'hy-main': LocalJSX.HyMain & JSXBase.HTMLAttributes<HTMLHyMainElement>;
'hy-main-content-wrapper': LocalJSX.HyMainContentWrapper &
JSXBase.HTMLAttributes<HTMLHyMainContentWrapperElement>;
'hy-menu': LocalJSX.HyMenu & JSXBase.HTMLAttributes<HTMLHyMenuElement>;
'hy-menu-item': LocalJSX.HyMenuItem & JSXBase.HTMLAttributes<HTMLHyMenuItemElement>;
'hy-menu-language': LocalJSX.HyMenuLanguage & JSXBase.HTMLAttributes<HTMLHyMenuLanguageElement>;
'hy-menu-language-item': LocalJSX.HyMenuLanguageItem & JSXBase.HTMLAttributes<HTMLHyMenuLanguageItemElement>;
'hy-menu-level-container': LocalJSX.HyMenuLevelContainer &
JSXBase.HTMLAttributes<HTMLHyMenuLevelContainerElement>;
'hy-menu-mobile-breadcrumb': LocalJSX.HyMenuMobileBreadcrumb &
JSXBase.HTMLAttributes<HTMLHyMenuMobileBreadcrumbElement>;
'hy-paragraph-text': LocalJSX.HyParagraphText & JSXBase.HTMLAttributes<HTMLHyParagraphTextElement>;
'hy-process': LocalJSX.HyProcess & JSXBase.HTMLAttributes<HTMLHyProcessElement>;
'hy-process-flow-box': LocalJSX.HyProcessFlowBox & JSXBase.HTMLAttributes<HTMLHyProcessFlowBoxElement>;
'hy-prominent-image': LocalJSX.HyProminentImage & JSXBase.HTMLAttributes<HTMLHyProminentImageElement>;
'hy-quote': LocalJSX.HyQuote & JSXBase.HTMLAttributes<HTMLHyQuoteElement>;
'hy-row': LocalJSX.HyRow & JSXBase.HTMLAttributes<HTMLHyRowElement>;
'hy-section-container': LocalJSX.HySectionContainer & JSXBase.HTMLAttributes<HTMLHySectionContainerElement>;
'hy-shortcuts': LocalJSX.HyShortcuts & JSXBase.HTMLAttributes<HTMLHyShortcutsElement>;
'hy-site-header': LocalJSX.HySiteHeader & JSXBase.HTMLAttributes<HTMLHySiteHeaderElement>;
'hy-site-logo': LocalJSX.HySiteLogo & JSXBase.HTMLAttributes<HTMLHySiteLogoElement>;
'hy-site-search': LocalJSX.HySiteSearch & JSXBase.HTMLAttributes<HTMLHySiteSearchElement>;
'hy-tabs': LocalJSX.HyTabs & JSXBase.HTMLAttributes<HTMLHyTabsElement>;
'hy-tabs-item': LocalJSX.HyTabsItem & JSXBase.HTMLAttributes<HTMLHyTabsItemElement>;
'hy-tiny-text': LocalJSX.HyTinyText & JSXBase.HTMLAttributes<HTMLHyTinyTextElement>;
'hy-two-columns': LocalJSX.HyTwoColumns & JSXBase.HTMLAttributes<HTMLHyTwoColumnsElement>;
'hy-user-login-form': LocalJSX.HyUserLoginForm & JSXBase.HTMLAttributes<HTMLHyUserLoginFormElement>;
}
}
}