Skip to content
Snippets Groups Projects
components.d.ts 2.92 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';
import {
  ButtonVariants,
} from './utils/utils';

export namespace Components {
  interface HyBaseline {}
  interface HyButton {
    'icon'?: string;
    'iconRight'?: string;
    'variant': ButtonVariants;
  }
  interface HyDocsContainer {}
  interface HyIcon {
    'fill': string;
    'icon': string;
    'size': number;
  }
  interface HyRow {
    'align': string;
    'justify': string;
  }
}

declare global {


  interface HTMLHyBaselineElement extends Components.HyBaseline, HTMLStencilElement {}
  var HTMLHyBaselineElement: {
    prototype: HTMLHyBaselineElement;
    new (): HTMLHyBaselineElement;
  };

  interface HTMLHyButtonElement extends Components.HyButton, HTMLStencilElement {}
  var HTMLHyButtonElement: {
    prototype: HTMLHyButtonElement;
    new (): HTMLHyButtonElement;
  };

  interface HTMLHyDocsContainerElement extends Components.HyDocsContainer, HTMLStencilElement {}
  var HTMLHyDocsContainerElement: {
    prototype: HTMLHyDocsContainerElement;
    new (): HTMLHyDocsContainerElement;
  };

  interface HTMLHyIconElement extends Components.HyIcon, HTMLStencilElement {}
  var HTMLHyIconElement: {
    prototype: HTMLHyIconElement;
    new (): HTMLHyIconElement;
  };

  interface HTMLHyRowElement extends Components.HyRow, HTMLStencilElement {}
  var HTMLHyRowElement: {
    prototype: HTMLHyRowElement;
    new (): HTMLHyRowElement;
  };
  interface HTMLElementTagNameMap {
    'hy-baseline': HTMLHyBaselineElement;
    'hy-button': HTMLHyButtonElement;
    'hy-docs-container': HTMLHyDocsContainerElement;
    'hy-icon': HTMLHyIconElement;
    'hy-row': HTMLHyRowElement;
  }
}

declare namespace LocalJSX {
  interface HyBaseline {}
  interface HyButton {
    'icon'?: string;
    'iconRight'?: string;
    'variant'?: ButtonVariants;
  }
  interface HyDocsContainer {}
  interface HyIcon {
    'fill'?: string;
    'icon'?: string;
    'size'?: number;
  }
  interface HyRow {
    'align'?: string;
    'justify'?: string;
  }

  interface IntrinsicElements {
    'hy-baseline': HyBaseline;
    'hy-button': HyButton;
    'hy-docs-container': HyDocsContainer;
    'hy-icon': HyIcon;
    'hy-row': HyRow;
  }
}

export { LocalJSX as JSX };


declare module "@stencil/core" {
  export namespace JSX {
    interface IntrinsicElements {
      'hy-baseline': LocalJSX.HyBaseline & JSXBase.HTMLAttributes<HTMLHyBaselineElement>;
      'hy-button': LocalJSX.HyButton & JSXBase.HTMLAttributes<HTMLHyButtonElement>;
      'hy-docs-container': LocalJSX.HyDocsContainer & JSXBase.HTMLAttributes<HTMLHyDocsContainerElement>;
      'hy-icon': LocalJSX.HyIcon & JSXBase.HTMLAttributes<HTMLHyIconElement>;
      'hy-row': LocalJSX.HyRow & JSXBase.HTMLAttributes<HTMLHyRowElement>;
    }
  }
}