You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/blade/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"version": "0.2.24",
4
4
"type": "module",
5
5
"license": "MIT",
6
-
"description": "Fully Type-Safe, WCAG and ARIA compliant, HTML5 components for use in more consistent Blade templates. Has static attribute enum validation.",
6
+
"description": "Type-safe, auto-generated Blade templates for all HTML5 elements with full WCAG, ARIA support and validation. Part of Extended HTMLDocument - schema-first from HTML5 schema.",
Copy file name to clipboardExpand all lines: templates/nextjs/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "@typesafe-html5/react",
3
3
"version": "0.2.24",
4
-
"description": "Type-safe, framework-agnostic, auto-generated React components for all HTML5 elements with full WCAG, ARIA support and validation.",
4
+
"description": "Type-safe, auto-generated React components for all HTML5 elements with full WCAG, ARIA support and validation. Part of Extended HTMLDocument - schema-first from HTML5 schema.",
Copy file name to clipboardExpand all lines: templates/twig/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"version": "0.2.24",
4
4
"type": "module",
5
5
"license": "MIT",
6
-
"description": "Fully Type-Safe, WCAG and ARIA compliant, HTML5 components for use in more consistent Twig templates. Has static attribute (enums) validation.",
6
+
"description": "Type-safe, auto-generated Twig templates for all HTML5 elements with full WCAG, ARIA support and validation. Part of Extended HTMLDocument - schema-first from HTML5 schema.",
* used to specify the data entry mode for an input. It helps guide on-screen keyboards (especially on mobile devices) to show the appropriate layout for the expected input type
* used to tell user agents whether the content should be translated.
124
124
*/
125
-
translate?: string|boolean|null|undefined;
125
+
translate?: 'yes'|'no'|null|undefined;
126
126
}
127
127
128
128
/**
@@ -235,7 +235,7 @@ export class Article {
235
235
returnthis;
236
236
}
237
237
238
-
setAriaAtomic(value: string|boolean|null|undefined): this {
238
+
setAriaAtomic(value: 'false'|'true'|boolean|null|undefined): this {
239
239
if(value===null||value===undefined){
240
240
this.element.removeAttribute('aria-atomic');
241
241
}else{
@@ -244,7 +244,7 @@ export class Article {
244
244
returnthis;
245
245
}
246
246
247
-
setAriaBusy(value: string|boolean|null|undefined): this {
247
+
setAriaBusy(value: 'true'|'false'|boolean|null|undefined): this {
248
248
if(value===null||value===undefined){
249
249
this.element.removeAttribute('aria-busy');
250
250
}else{
@@ -298,7 +298,7 @@ export class Article {
298
298
returnthis;
299
299
}
300
300
301
-
setAriaLive(value: string|boolean|null|undefined): this {
301
+
setAriaLive(value: 'off'|'polite'|'assertive'|null|undefined): this {
302
302
if(value===null||value===undefined){
303
303
this.element.removeAttribute('aria-live');
304
304
}else{
@@ -316,7 +316,7 @@ export class Article {
316
316
returnthis;
317
317
}
318
318
319
-
setAriaRelevant(value: string|boolean|null|undefined): this {
319
+
setAriaRelevant(value: 'additions'|'removals'|'text'|'all'|'additions text'|null|undefined): this {
320
320
if(value===null||value===undefined){
321
321
this.element.removeAttribute('aria-relevant');
322
322
}else{
@@ -334,7 +334,7 @@ export class Article {
334
334
returnthis;
335
335
}
336
336
337
-
setAutocapitalize(value: string|boolean|null|undefined): this {
337
+
setAutocapitalize(value: 'none'|'sentences'|'words'|'characters'|null|undefined): this {
338
338
if(value===null||value===undefined){
339
339
this.element.removeAttribute('autocapitalize');
340
340
}else{
@@ -352,7 +352,7 @@ export class Article {
352
352
returnthis;
353
353
}
354
354
355
-
setContenteditable(value: string|boolean|null|undefined): this {
355
+
setContenteditable(value: 'true'|'false'|'inherit'|boolean|null|undefined): this {
356
356
if(value===null||value===undefined){
357
357
this.element.removeAttribute('contenteditable');
358
358
}else{
@@ -361,7 +361,7 @@ export class Article {
361
361
returnthis;
362
362
}
363
363
364
-
setDir(value: string|boolean|null|undefined): this {
364
+
setDir(value: 'ltr'|'rtl'|'auto'|null|undefined): this {
365
365
if(value===null||value===undefined){
366
366
this.element.removeAttribute('dir');
367
367
}else{
@@ -388,7 +388,7 @@ export class Article {
388
388
returnthis;
389
389
}
390
390
391
-
setInputmode(value: string|boolean|null|undefined): this {
391
+
setInputmode(value: 'none'|'text'|'decimal'|'numeric'|'email'|'tel'|'url'|'search'|null|undefined): this {
392
392
if(value===null||value===undefined){
393
393
this.element.removeAttribute('inputmode');
394
394
}else{
@@ -406,7 +406,7 @@ export class Article {
406
406
returnthis;
407
407
}
408
408
409
-
setPopover(value: string|boolean|null|undefined): this {
409
+
setPopover(value: 'auto'|'hint'|'manual'|null|undefined): this {
410
410
if(value===null||value===undefined){
411
411
this.element.removeAttribute('popover');
412
412
}else{
@@ -415,7 +415,7 @@ export class Article {
415
415
returnthis;
416
416
}
417
417
418
-
setRole(value: string|boolean|null|undefined): this {
418
+
setRole(value: 'alert'|'application'|'article'|'banner'|'button'|'checkbox'|'complementary'|'contentinfo'|'dialog'|'form'|'grid'|'group'|'heading'|'img'|'link'|'list'|'listbox'|'listitem'|'main'|'menu'|'menubar'|'menuitem'|'navigation'|'none'|'presentation'|'radio'|'region'|'search'|'status'|'tab'|'tablist'|'tabpanel'|'textbox'|'toolbar'|'tooltip'|null|undefined): this {
419
419
if(value===null||value===undefined){
420
420
this.element.removeAttribute('role');
421
421
}else{
@@ -433,7 +433,7 @@ export class Article {
433
433
returnthis;
434
434
}
435
435
436
-
setSpellcheck(value: string|boolean|null|undefined): this {
436
+
setSpellcheck(value: 'true'|'false'|boolean|null|undefined): this {
437
437
if(value===null||value===undefined){
438
438
this.element.removeAttribute('spellcheck');
439
439
}else{
@@ -469,7 +469,7 @@ export class Article {
469
469
returnthis;
470
470
}
471
471
472
-
setTranslate(value: string|boolean|null|undefined): this {
472
+
setTranslate(value: 'yes'|'no'|null|undefined): this {
0 commit comments