From 6dfaba8348b6176265a1b6b639081319584a986f Mon Sep 17 00:00:00 2001 From: ncpa0cpl Date: Wed, 3 Aug 2022 16:27:05 +0200 Subject: [PATCH] chore: exporting all prop types --- src/index.ts | 15 ++++++------ src/jsx/prop-types/index.ts | 46 +++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 src/jsx/prop-types/index.ts diff --git a/src/index.ts b/src/index.ts index 570a99b..5434252 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,14 +2,15 @@ import "./utilities/array-flat-polyfill"; export * from "./express/index"; export * from "./jsx/jsx.types"; +export * from "./jsx/prop-types/index"; +export { defineContext } from "./context-map/context-map"; export { renderToHtml, renderToHtmlAsync } from "./html-parser/render-to-html"; export { renderToStringTemplateTag } from "./string-template-parser/render-to-string-template-tag"; -export { - type ContextDefinition, - type ContextMap, - defineContext, -} from "./context-map/context-map"; -export type { AttributeBool } from "./jsx/base-html-tag-props"; + +export type { ContextDefinition, ContextMap } from "./context-map/context-map"; +export type { AttributeBool, HTMLProps } from "./jsx/base-html-tag-props"; export type { StringTemplateParserOptions } from "./string-template-parser/render-to-string-template-tag"; -export type { HTMLProps } from "./jsx/base-html-tag-props"; +export type { Crossorigin } from "./jsx/prop-types/shared/crossorigin"; +export type { RefererPolicy } from "./jsx/prop-types/shared/referer-policy"; +export type { Target } from "./jsx/prop-types/shared/target"; diff --git a/src/jsx/prop-types/index.ts b/src/jsx/prop-types/index.ts new file mode 100644 index 0000000..361f52f --- /dev/null +++ b/src/jsx/prop-types/index.ts @@ -0,0 +1,46 @@ +export type { AnchorTagProps } from "./a-jsx-props"; +export type { AreaTagProps } from "./area-jsx-props"; +export type { AudioTagProps } from "./audio-jsx-props"; +export type { BaseTagProps } from "./base-jsx-props"; +export type { BdoTagProps } from "./bdo-jsx-props"; +export type { BlockquoteTagProps } from "./blockquote-jsx-props"; +export type { ButtonTagProps } from "./button-jsx-props"; +export type { CanvasTagProps } from "./canvas-jsx-props"; +export type { ColTagProps } from "./col-jsx-props"; +export type { ColgroupTagProps } from "./colgroup-jsx-props"; +export type { DataTagProps } from "./data-jsx-props"; +export type { DelTagProps } from "./del-jsx-props"; +export type { DetailsTagProps } from "./details-jsx-props"; +export type { DialogTagProps } from "./dialog-jsx-props"; +export type { EmbedTagProps } from "./embed-jsx-props"; +export type { FieldsetTagProps } from "./fieldset-jsx-prop"; +export type { FormTagProps } from "./form-jsx-props"; +export type { HtmlTagProps } from "./html-jsx-props"; +export type { IframeTagProps } from "./iframe-jsx-props"; +export type { ImgTagProps } from "./img-jsx-props"; +export type { InputTagProps } from "./input-jsx-props"; +export type { InsTagProps } from "./ins-jsx-props"; +export type { LabelTagProps } from "./label-jsx-props"; +export type { LiTagProps } from "./li-jsx.props"; +export type { LinkTagProps } from "./link-jsx-props"; +export type { MapTagProps } from "./map-jsx-props"; +export type { MetaTagProps } from "./meta-jsx-props"; +export type { MeterTagProps } from "./meter-jsx-props"; +export type { ObjectTagProps } from "./object-jsx-props"; +export type { OlTagProps } from "./ol-jsx-props"; +export type { OptgroupTagProps } from "./optgroup-jsx-props"; +export type { OptionTagProps } from "./option-jsx-props"; +export type { OutputTagProps } from "./output-jsx-props"; +export type { ParamTagProps } from "./param-jsx-props"; +export type { ProgressTagProps } from "./progress-jsx-props"; +export type { QTagProps } from "./q-jsx-props"; +export type { ScriptTagProps } from "./script-jsx-props"; +export type { SelectTagProps } from "./select-jsx-props"; +export type { SourceTagProps } from "./source-jsx-props"; +export type { StyleTagProps } from "./style-jsx-props"; +export type { TdTagProps } from "./td-jsx-props"; +export type { TextareaTagProps } from "./textarea-jsx-props"; +export type { ThTagProps } from "./th-jsx-props"; +export type { TimeTagProps } from "./time-jsx-props"; +export type { TrackTagProps } from "./track-jsx-props"; +export type { VideoTagProps } from "./video-jsx-props";