Newer
Older

Ekaterina Kondareva
committed
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';
scLabel?: string;
textDescription?: string;
textTitle?: string;
url?: string;
urlTitle?: string;
}
/**
* Top margin to be added to all but first element. Amount of rem:s
*/
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
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 HyBreadcrumbs {
dataItems?: Breadcrumb[] | string;
headerstyle?: string;
variant?: BreadcrumbVariants;
}
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 HyDesktopMenuLinks {
dataDesktopLinks?: DesktopLinks[] | string;
}
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
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;
}
interface HyGridContainer {}
interface HyGridItem {
columns?: GridColumns;
columnslg?: GridColumnsLg;
columnssm?: GridColumnsSm;
contentalign?: GridAlignVariants;
}
interface HyGridRow {}
interface HyHeading {
interface HyHero {
colorVariant?: HeroColorVariant;
description?: 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 {}
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;
}
interface HyMain {
hasSidebar?: boolean;
}
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;
onMenuContainerToggled?: (event: CustomEvent<any>) => void;
}
interface HyMenuItem {
ariaExpanded?: boolean;
depth?: number;
hasChildren?: boolean;
inActiveTrail?: boolean;
isActive?: boolean;
isDemo?: boolean;
Markus Kalijärvi
committed
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;
Markus Kalijärvi
committed
menuButtonSubmenuExpand?: string;
menuType?: MenuType;
triggerItem?: string;
}
interface HyMenuMobileBreadcrumb {
bid?: string;
isFirst?: boolean;
label?: string;
labelBack?: string;
labelFrontPage?: string;
onRemoveBreadcrumb?: (event: CustomEvent<any>) => void;
}
Ekaterina Kondareva
committed
interface HyParagraphText {
headerstyle?: string;

Ekaterina Kondareva
committed
placement?: string;
Ekaterina Kondareva
committed
variant?: string;
}
interface HyProcess {
dataItems?: ProcessFlowBoxValue[] | string;
}
interface HyProcessFlowBox {
boxDescription?: string;
boxNumber?: string;
boxTitle?: string;
intermediateStepTitle?: string;
numberTerm?: string;
stepState?: ProcessFlowBoxStepStates;
variant?: ProcessFlowBoxVariants;
}
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;
}
dataDesktopLinks?: DesktopLinks[] | string;
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;
tabId?: string;
tabListLabel?: string;
}
interface HyTabsItem {
tabTitle?: string;
}
interface HyTwoColumns {
reversed?: boolean;
}
interface HyUserLoginForm {
logoLabel?: string;
logoUrl?: string;
}
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
interface HyVideo {
/**
* Context label
*/
contextLabel?: string;
/**
* Should context label be visible
*/
contextLabelVisible?: boolean;
/**
* Date added date as string
*/
dateAdded?: string;
/**
* Label for date added
*/
dateAddedLabel?: string;
/**
* Duration number
*/
duration?: string;
/**
* Label for duration number
*/
durationLabel?: string;
headerstyle?: string;
/**
* Use horizontal layout where metadata is on side
*/
horizontal?: boolean;
/**
* Url to video, used with preview image
*/
linkToVideo?: string;
/**
* Label for play button if preview image is provided
*/
playButtonLabel?: string;
/**
* Should play button be visible
*/
playButtonVisible?: boolean;
/**
* Preview image url
*/
previewImageUrl?: string;
/**
* Video description
*/
videoDescription?: string;
/**
* Video title
*/
videoTitle?: string;
/**
* Views count number
*/
views?: string;
/**
* Label for views number
*/
viewsLabel?: string;
}
'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-desktop-menu-links': HyDesktopMenuLinks;
'hy-docs-container': HyDocsContainer;
'hy-footer': HyFooter;
'hy-footer-action': HyFooterAction;
'hy-footer-base': HyFooterBase;
'hy-footer-info': HyFooterInfo;
'hy-footer-link-item': HyFooterLinkItem;
'hy-grid-container': HyGridContainer;
'hy-grid-item': HyGridItem;
'hy-grid-row': HyGridRow;
'hy-heading': HyHeading;
'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-large-process-flow': HyLargeProcessFlow;
'hy-large-process-flow-phase': HyLargeProcessFlowPhase;
'hy-link': HyLink;
'hy-link-box': HyLinkBox;
'hy-link-box-list': HyLinkBoxList;
Ekaterina Kondareva
committed
'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-row': HyRow;
'hy-section-container': HySectionContainer;
'hy-site-header': HySiteHeader;
'hy-site-logo': HySiteLogo;
'hy-site-search': HySiteSearch;
'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-breadcrumbs': LocalJSX.HyBreadcrumbs & JSXBase.HTMLAttributes<HTMLHyBreadcrumbsElement>;
'hy-button': LocalJSX.HyButton & JSXBase.HTMLAttributes<HTMLHyButtonElement>;
'hy-cta-button': LocalJSX.HyCtaButton & JSXBase.HTMLAttributes<HTMLHyCtaButtonElement>;
'hy-cta-link': LocalJSX.HyCtaLink & JSXBase.HTMLAttributes<HTMLHyCtaLinkElement>;
'hy-desktop-menu-links': LocalJSX.HyDesktopMenuLinks & JSXBase.HTMLAttributes<HTMLHyDesktopMenuLinksElement>;
'hy-docs-container': LocalJSX.HyDocsContainer & JSXBase.HTMLAttributes<HTMLHyDocsContainerElement>;
'hy-footer': LocalJSX.HyFooter & JSXBase.HTMLAttributes<HTMLHyFooterElement>;
'hy-footer-action': LocalJSX.HyFooterAction & JSXBase.HTMLAttributes<HTMLHyFooterActionElement>;
'hy-footer-base': LocalJSX.HyFooterBase & JSXBase.HTMLAttributes<HTMLHyFooterBaseElement>;
'hy-footer-info': LocalJSX.HyFooterInfo & JSXBase.HTMLAttributes<HTMLHyFooterInfoElement>;
'hy-footer-link-item': LocalJSX.HyFooterLinkItem & JSXBase.HTMLAttributes<HTMLHyFooterLinkItemElement>;
'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>;
Ekaterina Kondareva
committed
'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>;
'hy-video': LocalJSX.HyVideo & JSXBase.HTMLAttributes<HTMLHyVideoElement>;