Skip to content

Commit

Permalink
upgrade semver to 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Nov 4, 2024
1 parent aaa7c3a commit d7fe843
Show file tree
Hide file tree
Showing 13 changed files with 79 additions and 61 deletions.
12 changes: 12 additions & 0 deletions a.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a>
*/
export interface AElementProps extends GlobalAttributes {
/**
* `attributionsourceid` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#attributionsourceid>
* @experimental
*/
attributionsourceid?: string | undefined;
/**
* `attributionsrc` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#attributionsrc>
Expand Down Expand Up @@ -44,6 +50,12 @@ export interface AElementProps extends GlobalAttributes {
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang>
*/
hreflang?: string | undefined;
/**
* `hreftranslate` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#hreftranslate>
* @experimental
*/
hreftranslate?: string | undefined;
/**
* `name` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#name>
Expand Down
6 changes: 0 additions & 6 deletions area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ export interface AreaElementProps extends GlobalAttributes {
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#shape>
*/
shape?: string | undefined;
/**
* `tabindex` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#tabindex>
* @deprecated
*/
tabindex?: string | undefined;
/**
* `target` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#target>
Expand Down
7 changes: 4 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"lock": false,
"name": "@fartlabs/ht",
"version": "0.0.5",
"version": "0.0.6",
"imports": {
"@mdn/browser-compat-data": "npm:@mdn/browser-compat-data@^5.5.19",
"@std/text": "jsr:@std/text@^1.0.8",
"ts-morph": "npm:ts-morph@^22.0.0"
"ts-morph": "npm:ts-morph@^24.0.0"
},
"tasks": {
"generate": "deno run -A cli/codegen.ts"
"generate": "deno run -A cli/codegen.ts",
"molt": "deno run -A jsr:@molt/cli -w"
},
"exports": {
"./cli/codegen.ts": "./cli/codegen.ts",
Expand Down
18 changes: 18 additions & 0 deletions fencedframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ import { renderElement } from "./lib/mod.ts";
* @experimental
*/
export interface FencedframeElementProps extends GlobalAttributes {
/**
* `allow` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#allow>
* @experimental
*/
allow?: string | undefined;
/**
* `height` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#height>
* @experimental
*/
height?: string | undefined;
/**
* `width` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#width>
* @experimental
*/
width?: string | undefined;
}

/**
Expand Down
6 changes: 0 additions & 6 deletions html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/html>
*/
export interface HtmlElementProps extends GlobalAttributes {
/**
* `manifest` is an attribute of the [`html`](https://developer.mozilla.org/docs/Web/HTML/Element/html) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/html#manifest>
* @deprecated
*/
manifest?: string | undefined;
/**
* `version` is an attribute of the [`html`](https://developer.mozilla.org/docs/Web/HTML/Element/html) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/html#version>
Expand Down
21 changes: 15 additions & 6 deletions input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ export interface InputElementProps extends GlobalAttributes {
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#alt>
*/
alt?: string | undefined;
/**
* `autocomplete` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#autocomplete>
*/
autocomplete?: string | undefined;
/**
* `capture` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#capture>
Expand Down Expand Up @@ -171,6 +176,16 @@ export interface InputElementProps extends GlobalAttributes {
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#readonly>
*/
readonly?: string | undefined;
/**
* `required` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#required>
*/
required?: string | undefined;
/**
* `size` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#size>
*/
size?: string | undefined;
/**
* `src` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#src>
Expand All @@ -187,12 +202,6 @@ export interface InputElementProps extends GlobalAttributes {
* @deprecated
*/
usemap?: string | undefined;
/**
* `x-moz-errormessage` is an attribute of the [`input`](https://developer.mozilla.org/docs/Web/HTML/Element/input) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#x-moz-errormessage>
* @deprecated
*/
"x-moz-errormessage"?: string | undefined;
/**
* `type` is the type of the input element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/input#type>
Expand Down
25 changes: 9 additions & 16 deletions lib/global_attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
export interface GlobalAttributes extends DataAttributes {
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey> */
accesskey?: string | undefined;
/**
* @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/anchor>
* @experimental
*/
anchor?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize> */
autocapitalize?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete> */
autocomplete?: string | undefined;
/** @experimental */
autocorrect?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autofocus> */
autofocus?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class> */
Expand All @@ -31,22 +36,8 @@ export interface GlobalAttributes extends DataAttributes {
inert?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode> */
inputmode?: string | undefined;
/** @experimental */
invokeaction?: string | undefined;
/** @experimental */
invoketarget?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is> */
is?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid> */
itemid?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop> */
itemprop?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref> */
itemref?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope> */
itemscope?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype> */
itemtype?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang> */
lang?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/nonce> */
Expand All @@ -72,6 +63,8 @@ export interface GlobalAttributes extends DataAttributes {
* @experimental
*/
virtualkeyboardpolicy?: string | undefined;
/** @see <https://developer.mozilla.org/docs/Web/HTML/Global_attributes/writingsuggestions> */
writingsuggestions?: string | undefined;
}

/**
Expand Down
6 changes: 0 additions & 6 deletions link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ export interface LinkElementProps extends GlobalAttributes {
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/link#media>
*/
media?: string | undefined;
/**
* `methods` is an attribute of the [`link`](https://developer.mozilla.org/docs/Web/HTML/Element/link) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/link#methods>
* @deprecated
*/
methods?: string | undefined;
/**
* `referrerpolicy` is an attribute of the [`link`](https://developer.mozilla.org/docs/Web/HTML/Element/link) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/link#referrerpolicy>
Expand Down
6 changes: 0 additions & 6 deletions menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/menu>
*/
export interface MenuElementProps extends GlobalAttributes {
/**
* `label` is an attribute of the [`menu`](https://developer.mozilla.org/docs/Web/HTML/Element/menu) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/menu#label>
* @deprecated
*/
label?: string | undefined;
}

/**
Expand Down
6 changes: 0 additions & 6 deletions object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ export interface ObjectElementProps extends GlobalAttributes {
* @deprecated
*/
standby?: string | undefined;
/**
* `tabindex` is an attribute of the [`object`](https://developer.mozilla.org/docs/Web/HTML/Element/object) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/object#tabindex>
* @deprecated
*/
tabindex?: string | undefined;
/**
* `type` is an attribute of the [`object`](https://developer.mozilla.org/docs/Web/HTML/Element/object) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/object#type>
Expand Down
6 changes: 0 additions & 6 deletions pre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/pre>
*/
export interface PreElementProps extends GlobalAttributes {
/**
* `cols` is an attribute of the [`pre`](https://developer.mozilla.org/docs/Web/HTML/Element/pre) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/pre#cols>
* @deprecated
*/
cols?: string | undefined;
/**
* `width` is an attribute of the [`pre`](https://developer.mozilla.org/docs/Web/HTML/Element/pre) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/pre#width>
Expand Down
5 changes: 5 additions & 0 deletions select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/select>
*/
export interface SelectElementProps extends GlobalAttributes {
/**
* `autocomplete` is an attribute of the [`select`](https://developer.mozilla.org/docs/Web/HTML/Element/select) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/select#autocomplete>
*/
autocomplete?: string | undefined;
/**
* `disabled` is an attribute of the [`select`](https://developer.mozilla.org/docs/Web/HTML/Element/select) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/select#disabled>
Expand Down
16 changes: 16 additions & 0 deletions template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,27 @@ import { renderElement } from "./lib/mod.ts";
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/template>
*/
export interface TemplateElementProps extends GlobalAttributes {
/**
* `shadowrootclonable` is an attribute of the [`template`](https://developer.mozilla.org/docs/Web/HTML/Element/template) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/template#shadowrootclonable>
*/
shadowrootclonable?: string | undefined;
/**
* `shadowrootdelegatesfocus` is an attribute of the [`template`](https://developer.mozilla.org/docs/Web/HTML/Element/template) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/template#shadowrootdelegatesfocus>
*/
shadowrootdelegatesfocus?: string | undefined;
/**
* `shadowrootmode` is an attribute of the [`template`](https://developer.mozilla.org/docs/Web/HTML/Element/template) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/template#shadowrootmode>
*/
shadowrootmode?: string | undefined;
/**
* `shadowrootserializable` is an attribute of the [`template`](https://developer.mozilla.org/docs/Web/HTML/Element/template) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/template#shadowrootserializable>
* @experimental
*/
shadowrootserializable?: string | undefined;
}

/**
Expand Down

0 comments on commit d7fe843

Please sign in to comment.