Newer
Older
/* 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';
ColorVariant,
GridAlignVariants,
GridColumns,
GridColumnsLg,
GridColumnsSm,
HeadingSectionVariants,
HeadingVarians,

Ekaterina Kondareva
committed
KeyHighlightVariants,

Ekaterina Kondareva
committed
LinkBoxVariants,
ProcessFlowBoxVariants,
} 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;
}

Ekaterina Kondareva
committed
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;
}
variant: 'primary' | 'warn' | 'success' | 'disabled';
interface HyBanner {
scLabel?: string;
textDescription: string;
textTitle?: string;
url?: string;
urlTitle?: string;
}
/**
* 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
*/
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/**
* 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
*/
/**
* deprecated, use disabled boolean value
*/
/**
* Set this on if an anchor tag is required instead of a button.
*/
url?: string;
/**
* The element variant. Defaults to primary
*/
variant: ButtonVariants;
}

Ekaterina Kondareva
committed
interface HyCtaButton {
Ekaterina Kondareva
committed
scLabel?: string;

Ekaterina Kondareva
committed
interface HyCtaLink {
isExternal: boolean;
linkContent: string;
scLabel?: string;
url?: string;

Ekaterina Kondareva
committed
}
interface HyDocsContainer {}
interface HyGridContainer {}
interface HyGridItem {
columns: GridColumns;
columnslg: GridColumnsLg;
columnssm: GridColumnsSm;
contentalign: GridAlignVariants;
}
interface HyGridRow {}
interface HyHeading {
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;
}

Ekaterina Kondareva
committed
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;
Ekaterina Kondareva
committed
scLabel?: string;
url?: string;
variant: LinkVariants;
}
interface HyLinkBox {
imageAlt: string;
imageUrl: string;
isExternal: boolean;
textDescription: string;
textTitle?: string;
url?: string;

Ekaterina Kondareva
committed
variant: LinkBoxVariants;
}
interface HyLinkBoxList {
dataItems: LinkBox[] | string;
variant: LinkBoxVariants;
interface HyLinkList {
dataItems: CtaLinkValue[] | string;
listHeading: string;
}
Ekaterina Kondareva
committed
interface HyMainContentWrapper {}
interface HyMenu {
dataMenuDonate: string;
dataMenuLanguage: string;
isDemo: boolean;
labelFrontPage: string;
logoLabel: string;
logoUrl: string;
menuButtonBreadcrumbReturn: string;
Markus Kalijärvi
committed
menuButtonSubmenuExpand: string;
menuIsOpen: boolean;
menuType: MenuType;
interface HyMenuItem {
ariaExpanded: boolean;
depth: number;
hasChildren: boolean;
inActiveTrail: boolean;
isActive: boolean;
isDemo: boolean;
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;
Markus Kalijärvi
committed
menuButtonSubmenuExpand?: string;
menuType: MenuType;
triggerItem: string;
}
interface HyMenuMobileBreadcrumb {
bid: string;
isFirst: boolean;
label: string;
labelBack: string;
labelFrontPage: string;
interface HyProcess {
dataItems: ProcessFlowBoxValue[] | 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;
}
/**
* justify-content property.
*/
/**
* justify-content property.
*/
/**
* Left margin to be added to adjacent items.
*/
interface HyShortcuts {
dataItems: ShortcutLinkValue[] | string;
listHeading: string;
}
interface HySiteHeader {
dataMenuDonate: string;
dataMenuLanguage: string;
Markus Kalijärvi
committed
dataSiteHeaderLabels: string;
logoLabel?: string;
logoUrl?: string;
menuLabelClose?: string;
menuLabelOpen?: string;
menuType: MenuType;
color: ColorVariant;
size: SiteLogoSize;
url?: string;
}
interface HySiteSearch {
color: ColorVariant;
isAlternative: boolean;
showLabel: boolean;
size: number;
interface HyTabs {
tabId?: string;
tabListLabel: string;
}
interface HyTabsItem {
tabTitle?: string;
}
interface HyTwoColumns {
reversed: boolean;
}
interface HyUserLoginForm {
logoLabel?: string;
logoUrl?: string;
}
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 {}

Ekaterina Kondareva
committed
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 {}

Ekaterina Kondareva
committed
var HTMLHyCtaButtonElement: {
prototype: HTMLHyCtaButtonElement;
new (): HTMLHyCtaButtonElement;
};
interface HTMLHyCtaLinkElement extends Components.HyCtaLink, HTMLStencilElement {}

Ekaterina Kondareva
committed
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 {}

Ekaterina Kondareva
committed
var HTMLHyKeyFigureElement: {
prototype: HTMLHyKeyFigureElement;
new (): HTMLHyKeyFigureElement;
};
interface HTMLHyKeyFigureGroupElement extends Components.HyKeyFigureGroup, HTMLStencilElement {}

Ekaterina Kondareva
committed
var HTMLHyKeyFigureGroupElement: {
prototype: HTMLHyKeyFigureGroupElement;
new (): HTMLHyKeyFigureGroupElement;
};
interface HTMLHyKeyHighlightElement extends Components.HyKeyHighlight, HTMLStencilElement {}

Ekaterina Kondareva
committed
var HTMLHyKeyHighlightElement: {
prototype: HTMLHyKeyHighlightElement;
new (): HTMLHyKeyHighlightElement;
};
interface HTMLHyKeyHighlightGroupElement extends Components.HyKeyHighlightGroup, HTMLStencilElement {}

Ekaterina Kondareva
committed
var HTMLHyKeyHighlightGroupElement: {
prototype: HTMLHyKeyHighlightGroupElement;
new (): HTMLHyKeyHighlightGroupElement;
};
Loading
Loading full blame...