-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
136 changed files
with
2,232 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { AElementProps } from "@fartlabs/ht/a"; | ||
import { a as render } from "@fartlabs/ht/a"; | ||
|
||
export type { AElementProps }; | ||
|
||
/** | ||
* A component renders the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a> | ||
*/ | ||
export function A(props: AElementProps & { children?: string[] } = {}): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AbbrElementProps } from "@fartlabs/ht/abbr"; | ||
import { abbr as render } from "@fartlabs/ht/abbr"; | ||
|
||
export type { AbbrElementProps }; | ||
|
||
/** | ||
* ABBR component renders the [`abbr`](https://developer.mozilla.org/docs/Web/HTML/Element/abbr) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/abbr> | ||
*/ | ||
export function ABBR( | ||
props: AbbrElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { AcronymElementProps } from "@fartlabs/ht/acronym"; | ||
import { acronym as render } from "@fartlabs/ht/acronym"; | ||
|
||
export type { AcronymElementProps }; | ||
|
||
/** | ||
* ACRONYM component renders the [`acronym`](https://developer.mozilla.org/docs/Web/HTML/Element/acronym) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/acronym> | ||
* @deprecated | ||
*/ | ||
export function ACRONYM( | ||
props: AcronymElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AddressElementProps } from "@fartlabs/ht/address"; | ||
import { address as render } from "@fartlabs/ht/address"; | ||
|
||
export type { AddressElementProps }; | ||
|
||
/** | ||
* ADDRESS component renders the [`address`](https://developer.mozilla.org/docs/Web/HTML/Element/address) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/address> | ||
*/ | ||
export function ADDRESS( | ||
props: AddressElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AreaElementProps } from "@fartlabs/ht/area"; | ||
import { area as render } from "@fartlabs/ht/area"; | ||
|
||
export type { AreaElementProps }; | ||
|
||
/** | ||
* AREA component renders the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area> | ||
*/ | ||
export function AREA( | ||
props: AreaElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { ArticleElementProps } from "@fartlabs/ht/article"; | ||
import { article as render } from "@fartlabs/ht/article"; | ||
|
||
export type { ArticleElementProps }; | ||
|
||
/** | ||
* ARTICLE component renders the [`article`](https://developer.mozilla.org/docs/Web/HTML/Element/article) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/article> | ||
*/ | ||
export function ARTICLE( | ||
props: ArticleElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AsideElementProps } from "@fartlabs/ht/aside"; | ||
import { aside as render } from "@fartlabs/ht/aside"; | ||
|
||
export type { AsideElementProps }; | ||
|
||
/** | ||
* ASIDE component renders the [`aside`](https://developer.mozilla.org/docs/Web/HTML/Element/aside) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/aside> | ||
*/ | ||
export function ASIDE( | ||
props: AsideElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AudioElementProps } from "@fartlabs/ht/audio"; | ||
import { audio as render } from "@fartlabs/ht/audio"; | ||
|
||
export type { AudioElementProps }; | ||
|
||
/** | ||
* AUDIO component renders the [`audio`](https://developer.mozilla.org/docs/Web/HTML/Element/audio) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/audio> | ||
*/ | ||
export function AUDIO( | ||
props: AudioElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { BElementProps } from "@fartlabs/ht/b"; | ||
import { b as render } from "@fartlabs/ht/b"; | ||
|
||
export type { BElementProps }; | ||
|
||
/** | ||
* B component renders the [`b`](https://developer.mozilla.org/docs/Web/HTML/Element/b) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/b> | ||
*/ | ||
export function B(props: BElementProps & { children?: string[] } = {}): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BaseElementProps } from "@fartlabs/ht/base"; | ||
import { base as render } from "@fartlabs/ht/base"; | ||
|
||
export type { BaseElementProps }; | ||
|
||
/** | ||
* BASE component renders the [`base`](https://developer.mozilla.org/docs/Web/HTML/Element/base) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/base> | ||
*/ | ||
export function BASE( | ||
props: BaseElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BdiElementProps } from "@fartlabs/ht/bdi"; | ||
import { bdi as render } from "@fartlabs/ht/bdi"; | ||
|
||
export type { BdiElementProps }; | ||
|
||
/** | ||
* BDI component renders the [`bdi`](https://developer.mozilla.org/docs/Web/HTML/Element/bdi) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/bdi> | ||
*/ | ||
export function BDI( | ||
props: BdiElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BdoElementProps } from "@fartlabs/ht/bdo"; | ||
import { bdo as render } from "@fartlabs/ht/bdo"; | ||
|
||
export type { BdoElementProps }; | ||
|
||
/** | ||
* BDO component renders the [`bdo`](https://developer.mozilla.org/docs/Web/HTML/Element/bdo) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/bdo> | ||
*/ | ||
export function BDO( | ||
props: BdoElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { BigElementProps } from "@fartlabs/ht/big"; | ||
import { big as render } from "@fartlabs/ht/big"; | ||
|
||
export type { BigElementProps }; | ||
|
||
/** | ||
* BIG component renders the [`big`](https://developer.mozilla.org/docs/Web/HTML/Element/big) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/big> | ||
* @deprecated | ||
*/ | ||
export function BIG( | ||
props: BigElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BlockquoteElementProps } from "@fartlabs/ht/blockquote"; | ||
import { blockquote as render } from "@fartlabs/ht/blockquote"; | ||
|
||
export type { BlockquoteElementProps }; | ||
|
||
/** | ||
* BLOCKQUOTE component renders the [`blockquote`](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/blockquote> | ||
*/ | ||
export function BLOCKQUOTE( | ||
props: BlockquoteElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BodyElementProps } from "@fartlabs/ht/body"; | ||
import { body as render } from "@fartlabs/ht/body"; | ||
|
||
export type { BodyElementProps }; | ||
|
||
/** | ||
* BODY component renders the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body> | ||
*/ | ||
export function BODY( | ||
props: BodyElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { BrElementProps } from "@fartlabs/ht/br"; | ||
import { br as render } from "@fartlabs/ht/br"; | ||
|
||
export type { BrElementProps }; | ||
|
||
/** | ||
* BR component renders the [`br`](https://developer.mozilla.org/docs/Web/HTML/Element/br) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/br> | ||
*/ | ||
export function BR( | ||
props: BrElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { ButtonElementProps } from "@fartlabs/ht/button"; | ||
import { button as render } from "@fartlabs/ht/button"; | ||
|
||
export type { ButtonElementProps }; | ||
|
||
/** | ||
* BUTTON component renders the [`button`](https://developer.mozilla.org/docs/Web/HTML/Element/button) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/button> | ||
*/ | ||
export function BUTTON( | ||
props: ButtonElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { CanvasElementProps } from "@fartlabs/ht/canvas"; | ||
import { canvas as render } from "@fartlabs/ht/canvas"; | ||
|
||
export type { CanvasElementProps }; | ||
|
||
/** | ||
* CANVAS component renders the [`canvas`](https://developer.mozilla.org/docs/Web/HTML/Element/canvas) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/canvas> | ||
*/ | ||
export function CANVAS( | ||
props: CanvasElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { CaptionElementProps } from "@fartlabs/ht/caption"; | ||
import { caption as render } from "@fartlabs/ht/caption"; | ||
|
||
export type { CaptionElementProps }; | ||
|
||
/** | ||
* CAPTION component renders the [`caption`](https://developer.mozilla.org/docs/Web/HTML/Element/caption) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/caption> | ||
*/ | ||
export function CAPTION( | ||
props: CaptionElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { CenterElementProps } from "@fartlabs/ht/center"; | ||
import { center as render } from "@fartlabs/ht/center"; | ||
|
||
export type { CenterElementProps }; | ||
|
||
/** | ||
* CENTER component renders the [`center`](https://developer.mozilla.org/docs/Web/HTML/Element/center) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/center> | ||
* @deprecated | ||
*/ | ||
export function CENTER( | ||
props: CenterElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { CiteElementProps } from "@fartlabs/ht/cite"; | ||
import { cite as render } from "@fartlabs/ht/cite"; | ||
|
||
export type { CiteElementProps }; | ||
|
||
/** | ||
* CITE component renders the [`cite`](https://developer.mozilla.org/docs/Web/HTML/Element/cite) element. | ||
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/cite> | ||
*/ | ||
export function CITE( | ||
props: CiteElementProps & { children?: string[] } = {}, | ||
): string { | ||
const { children, ...rest } = props; | ||
return render(rest, ...(children ?? [])); | ||
} |
Oops, something went wrong.