Skip to content
Snippets Groups Projects
components.d.ts 72.2 KiB
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';
Markus Kaarto's avatar
Markus Kaarto committed
import {
  AccordionVariants,
Tuukka Turu's avatar
Tuukka Turu committed
  BreadcrumbVariants,
Markus Kaarto's avatar
Markus Kaarto committed
  ButtonVariants,
  CheckboxVariants,
  CourseVariants,
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  CtaLinkButtonVariants,
  CtaLinkVariants,
Tuukka Turu's avatar
Tuukka Turu committed
  FooterLinkItemColor,
  FooterLinkVariants,
Markus Kaarto's avatar
Markus Kaarto committed
  GridAlignVariants,
  GridColumns,
  GridColumnsLg,
  GridColumnsSm,
  HeadingSectionVariants,
  HeadingVarians,
Tuukka Turu's avatar
Tuukka Turu committed
  HeroColorVariant,
  IntroductionBgColors,
  ListItemVariants,
Ekaterina Kondareva's avatar
Ekaterina Kondareva committed
  PaginationItemVariants,
  PersonCardVariants,
  ProcessFlowBoxStepStates,
  SiteLogoSize,
} from './utils/utils';
import {Breadcrumb} from './components/hy-breadcrumbs/hy-breadcrumbs';
import {TagValue} from './components/courses/hy-content-list-item/hy-content-list-item';
import {DesktopLinks} from './components/site-header/hy-desktop-menu-links/hy-desktop-menu-links';
import {IDropdownItem} from './components/hy-dropdown/hy-dropdown';
import {IFilterGroupFilter} from './components/hy-filter-group/hy-filter-group';
Tuukka Turu's avatar
Tuukka Turu committed
import {FooterBaseLinks, FooterBaseSome} from './components/footer/hy-footer-base/hy-footer-base';
import {FooterInfoLinks} from './components/footer/hy-footer-info/hy-footer-info';
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 {AdditionalInfo, RelatedLink} from './components/hy-list-item/hy-list-item';
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';
import {DesktopLinks as DesktopLinks1} from './components/site-header/site-header';
export namespace Components {
Markus Kaarto's avatar
Markus Kaarto committed
  interface ColorBox {}
  interface HyAccordionContainer {
    accordionid?: string;
  }
  interface HyAccordionItem {
    accordiontitle?: string;
druid's avatar
druid committed
    headerstyle: string;
    variant: AccordionVariants;
Markus Kaarto's avatar
Markus Kaarto committed
  }
    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';
Markus Kaarto's avatar
Markus Kaarto committed
  }
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
     */
Markus Kaarto's avatar
Markus Kaarto committed
    /**
     * 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;
    /**
Markus Kaarto's avatar
Markus Kaarto committed
     * 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
     */
Loading
Loading full blame...