@typesafe-html5/typescript 0.2.58 → 0.2.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
# TypeScript
|
|
1
|
+
# TypeScript Classes for HTML5 Elements
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Type-safe, auto-generated TypeScript classes for all HTML5 elements with full WCAG, ARIA support and validation. Part of Extended HTMLDocument - schema-first from HTML5 schema.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- Type-
|
|
8
|
-
-
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Type-Safe**: Full TypeScript support with comprehensive type definitions
|
|
8
|
+
- **Fluent API**: Chainable setter methods for all attributes
|
|
9
|
+
- **ARIA Compliant**: Complete ARIA attribute support with proper types
|
|
10
|
+
- **Auto-Generated**: Consistent API across all HTML5 elements via schema-first approach
|
|
11
|
+
- **Null/Undefined Handling**: Automatic attribute removal for null/undefined values
|
|
12
|
+
- **Framework Agnostic**: Works in any JavaScript/TypeScript environment
|
|
9
13
|
|
|
10
14
|
## Installation
|
|
11
15
|
|
package/index.ts
CHANGED
|
@@ -48,7 +48,7 @@ export { Map, type MapProps } from './block/map/map';
|
|
|
48
48
|
export { Menu, type MenuProps } from './block/menu/menu';
|
|
49
49
|
export { Nav, type NavProps } from './block/nav/nav';
|
|
50
50
|
export { Noscript, type NoscriptProps } from './block/noscript/noscript';
|
|
51
|
-
export {
|
|
51
|
+
export { Object, type ObjectProps } from './block/object/object';
|
|
52
52
|
export { Ol, type OlProps } from './block/ol/ol';
|
|
53
53
|
export { Optgroup, type OptgroupProps } from './block/optgroup/optgroup';
|
|
54
54
|
export { Option, type OptionProps } from './block/option/option';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typesafe-html5/typescript",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.61",
|
|
4
4
|
"description": "Type-safe, auto-generated TypeScript classes for all HTML5 elements with full WCAG, ARIA support and validation. Part of Extended HTMLDocument - schema-first from HTML5 schema.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"types": "index.ts",
|