Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
39c26f8
add deprecation notice
titoBouzout Nov 2, 2024
dc1829a
update types
titoBouzout Nov 2, 2024
1128106
add MathML types
titoBouzout Nov 2, 2024
29e32f1
fix wrong locataion of `indeterminate`
titoBouzout Nov 2, 2024
8ad7b80
remove `indeterminate`
titoBouzout Nov 2, 2024
041f42a
deprecate `classList`
titoBouzout Nov 2, 2024
e582379
add `MathMLAttributes`
titoBouzout Nov 3, 2024
3e47997
update events
titoBouzout Nov 3, 2024
71e0c94
improvements
titoBouzout Nov 3, 2024
a4202e0
follow suit and use `undefined` for MathML attributes
titoBouzout Nov 3, 2024
b2610d2
add links to MDN
titoBouzout Nov 5, 2024
2c6afe3
update MathML typings
titoBouzout Nov 5, 2024
2c4a66b
add some missing fields, remove invalid fields, add obsolete fields (…
titoBouzout Nov 5, 2024
58288a3
add `results` back, as the page on which is described has been found
titoBouzout Nov 7, 2024
fa8e05e
update webview
titoBouzout Nov 10, 2024
22c7e82
for `boolean` attributes the preferred form would be the string `"tru…
titoBouzout Nov 10, 2024
d9d8868
update link to table
titoBouzout Nov 10, 2024
f53d6c1
couple of missing deprecations
titoBouzout Nov 12, 2024
8680902
add `"true"` to autofocus, disabled, typemustmatch, and some webview …
titoBouzout Nov 12, 2024
e42b6f2
sort list
titoBouzout Nov 12, 2024
0ce19c8
`audio` also allows `disableremoteplayback`
titoBouzout Nov 12, 2024
5b6f423
sort list
titoBouzout Nov 12, 2024
d155fa3
double-check and correct: experimental, non-standard, deprecated
titoBouzout Nov 14, 2024
dfe420f
already included in DOMAttributes
titoBouzout Dec 1, 2024
8f3c54a
add lowercase version of `onclose` and `oncancel`
titoBouzout Dec 1, 2024
1d38c9c
remove deprecation of classlist, would be added in a new PR
titoBouzout Dec 3, 2024
28c88ba
update `jsx-h.d.ts` to match `jsx.d.ts`, add `FunctionMaybe` to aria …
titoBouzout Jan 24, 2025
f5c4afc
fix jsx-h types
ryansolid Feb 11, 2025
bc7fac7
deprecate lowercase event handlers
titoBouzout Dec 3, 2024
d6a8608
better fix for h types
ryansolid Feb 21, 2025
833089c
update type, add `"false"` for `spellcheck`
titoBouzout Apr 11, 2025
6b7a934
add ``details.name` attribute
titoBouzout Apr 11, 2025
91c1297
boolean attribute as string should be empty as in `attr=""` instead o…
titoBouzout Apr 12, 2025
b1ccca4
backport changes from next (event handlers mostly)
titoBouzout Apr 24, 2025
3ca7351
add `sync` script
titoBouzout Apr 24, 2025
5965cf8
tweak order of types
titoBouzout Apr 24, 2025
c220737
add caption sort svg properties
titoBouzout Apr 25, 2025
b1edc00
sync types
titoBouzout Apr 25, 2025
1a4990c
add instructions about updating JSX Types to readme
titoBouzout Apr 25, 2025
8f7aa6f
update aria attributes
titoBouzout Apr 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"singleQuote": false,
"arrowParens": "avoid",
"printWidth": 100
}
}
11 changes: 11 additions & 0 deletions packages/dom-expressions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,14 @@ While not as performant as the other options this library provides a mechanism t
## Work in Progress

This is still a work in progress. My goal here is to better understand and generalize this approach to provide non Virtual DOM alternatives to developing web applications.

## Updating JSX Types

JSX types are located in `packages/dom-expressions/src/jsx-h.d.ts`.

To update JSX types:

1. modify/update `packages/dom-expressions/src/jsx-h.d.ts`
2. run `node jsx-update.mjs` in `packages/dom-expressions/src/`

NOTE: The file `jsx.d.ts` is autogenerated taking `jsx-h.d.ts` as source. Changes to `jsx.d.ts` will be discarded!
Loading
Loading