@typesafe-html5/typescript 0.2.61 → 0.2.72
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/build-all.mjs +54 -0
- package/dist/block/article/article.js +465 -0
- package/dist/block/article/article.js.map +7 -0
- package/dist/block/aside/aside.js +476 -0
- package/dist/block/aside/aside.js.map +7 -0
- package/dist/block/audio/audio.js +454 -0
- package/dist/block/audio/audio.js.map +7 -0
- package/dist/block/blockquote/blockquote.js +476 -0
- package/dist/block/blockquote/blockquote.js.map +7 -0
- package/dist/block/body/body.js +378 -0
- package/dist/block/body/body.js.map +7 -0
- package/dist/block/canvas/canvas.js +487 -0
- package/dist/block/canvas/canvas.js.map +7 -0
- package/dist/block/caption/caption.js +465 -0
- package/dist/block/caption/caption.js.map +7 -0
- package/dist/block/colgroup/colgroup.js +190 -0
- package/dist/block/colgroup/colgroup.js.map +7 -0
- package/dist/block/datalist/datalist.js +465 -0
- package/dist/block/datalist/datalist.js.map +7 -0
- package/dist/block/dd/dd.js +422 -0
- package/dist/block/dd/dd.js.map +7 -0
- package/dist/block/del/del.js +487 -0
- package/dist/block/del/del.js.map +7 -0
- package/dist/block/details/details.js +520 -0
- package/dist/block/details/details.js.map +7 -0
- package/dist/block/dialog/dialog.js +520 -0
- package/dist/block/dialog/dialog.js.map +7 -0
- package/dist/block/div/div.js +520 -0
- package/dist/block/div/div.js.map +7 -0
- package/dist/block/dl/dl.js +465 -0
- package/dist/block/dl/dl.js.map +7 -0
- package/dist/block/dt/dt.js +422 -0
- package/dist/block/dt/dt.js.map +7 -0
- package/dist/block/embed/embed.js +333 -0
- package/dist/block/embed/embed.js.map +7 -0
- package/dist/block/fieldset/fieldset.js +509 -0
- package/dist/block/fieldset/fieldset.js.map +7 -0
- package/dist/block/figcaption/figcaption.js +465 -0
- package/dist/block/figcaption/figcaption.js.map +7 -0
- package/dist/block/figure/figure.js +465 -0
- package/dist/block/figure/figure.js.map +7 -0
- package/dist/block/footer/footer.js +476 -0
- package/dist/block/footer/footer.js.map +7 -0
- package/dist/block/form/form.js +443 -0
- package/dist/block/form/form.js.map +7 -0
- package/dist/block/h1/h1.js +454 -0
- package/dist/block/h1/h1.js.map +7 -0
- package/dist/block/h2/h2.js +454 -0
- package/dist/block/h2/h2.js.map +7 -0
- package/dist/block/h3/h3.js +454 -0
- package/dist/block/h3/h3.js.map +7 -0
- package/dist/block/h4/h4.js +454 -0
- package/dist/block/h4/h4.js.map +7 -0
- package/dist/block/h5/h5.js +454 -0
- package/dist/block/h5/h5.js.map +7 -0
- package/dist/block/h6/h6.js +454 -0
- package/dist/block/h6/h6.js.map +7 -0
- package/dist/block/header/header.js +322 -0
- package/dist/block/header/header.js.map +7 -0
- package/dist/block/hgroup/hgroup.js +465 -0
- package/dist/block/hgroup/hgroup.js.map +7 -0
- package/dist/block/hr/hr.js +169 -0
- package/dist/block/hr/hr.js.map +7 -0
- package/dist/block/html/html.js +92 -0
- package/dist/block/html/html.js.map +7 -0
- package/dist/block/iframe/iframe.js +465 -0
- package/dist/block/iframe/iframe.js.map +7 -0
- package/dist/block/ins/ins.js +487 -0
- package/dist/block/ins/ins.js.map +7 -0
- package/dist/block/legend/legend.js +465 -0
- package/dist/block/legend/legend.js.map +7 -0
- package/dist/block/li/li.js +488 -0
- package/dist/block/li/li.js.map +7 -0
- package/dist/block/main/main.js +444 -0
- package/dist/block/main/main.js.map +7 -0
- package/dist/block/map/map.js +476 -0
- package/dist/block/map/map.js.map +7 -0
- package/dist/block/menu/menu.js +498 -0
- package/dist/block/menu/menu.js.map +7 -0
- package/dist/block/nav/nav.js +455 -0
- package/dist/block/nav/nav.js.map +7 -0
- package/dist/block/noscript/noscript.js +311 -0
- package/dist/block/noscript/noscript.js.map +7 -0
- package/dist/block/object/object.js +542 -0
- package/dist/block/object/object.js.map +7 -0
- package/dist/block/ol/ol.js +542 -0
- package/dist/block/ol/ol.js.map +7 -0
- package/dist/block/optgroup/optgroup.js +476 -0
- package/dist/block/optgroup/optgroup.js.map +7 -0
- package/dist/block/option/option.js +542 -0
- package/dist/block/option/option.js.map +7 -0
- package/dist/block/p/p.js +465 -0
- package/dist/block/p/p.js.map +7 -0
- package/dist/block/picture/picture.js +465 -0
- package/dist/block/picture/picture.js.map +7 -0
- package/dist/block/pre/pre.js +465 -0
- package/dist/block/pre/pre.js.map +7 -0
- package/dist/block/section/section.js +487 -0
- package/dist/block/section/section.js.map +7 -0
- package/dist/block/summary/summary.js +466 -0
- package/dist/block/summary/summary.js.map +7 -0
- package/dist/block/table/table.js +509 -0
- package/dist/block/table/table.js.map +7 -0
- package/dist/block/tbody/tbody.js +465 -0
- package/dist/block/tbody/tbody.js.map +7 -0
- package/dist/block/td/td.js +575 -0
- package/dist/block/td/td.js.map +7 -0
- package/dist/block/template/template.js +465 -0
- package/dist/block/template/template.js.map +7 -0
- package/dist/block/tfoot/tfoot.js +465 -0
- package/dist/block/tfoot/tfoot.js.map +7 -0
- package/dist/block/th/th.js +586 -0
- package/dist/block/th/th.js.map +7 -0
- package/dist/block/thead/thead.js +465 -0
- package/dist/block/thead/thead.js.map +7 -0
- package/dist/block/tr/tr.js +586 -0
- package/dist/block/tr/tr.js.map +7 -0
- package/dist/block/ul/ul.js +509 -0
- package/dist/block/ul/ul.js.map +7 -0
- package/dist/block/video/video.js +575 -0
- package/dist/block/video/video.js.map +7 -0
- package/dist/index.js +48830 -0
- package/dist/index.js.map +7 -0
- package/dist/inline/a/a.js +586 -0
- package/dist/inline/a/a.js.map +7 -0
- package/dist/inline/abbr/abbr.js +454 -0
- package/dist/inline/abbr/abbr.js.map +7 -0
- package/dist/inline/address/address.js +443 -0
- package/dist/inline/address/address.js.map +7 -0
- package/dist/inline/b/b.js +465 -0
- package/dist/inline/b/b.js.map +7 -0
- package/dist/inline/bdi/bdi.js +454 -0
- package/dist/inline/bdi/bdi.js.map +7 -0
- package/dist/inline/bdo/bdo.js +465 -0
- package/dist/inline/bdo/bdo.js.map +7 -0
- package/dist/inline/button/button.js +685 -0
- package/dist/inline/button/button.js.map +7 -0
- package/dist/inline/cite/cite.js +465 -0
- package/dist/inline/cite/cite.js.map +7 -0
- package/dist/inline/code/code.js +465 -0
- package/dist/inline/code/code.js.map +7 -0
- package/dist/inline/data/data.js +476 -0
- package/dist/inline/data/data.js.map +7 -0
- package/dist/inline/dfn/dfn.js +465 -0
- package/dist/inline/dfn/dfn.js.map +7 -0
- package/dist/inline/em/em.js +465 -0
- package/dist/inline/em/em.js.map +7 -0
- package/dist/inline/i/i.js +465 -0
- package/dist/inline/i/i.js.map +7 -0
- package/dist/inline/img/img.js +399 -0
- package/dist/inline/img/img.js.map +7 -0
- package/dist/inline/input/input.js +938 -0
- package/dist/inline/input/input.js.map +7 -0
- package/dist/inline/kbd/kbd.js +465 -0
- package/dist/inline/kbd/kbd.js.map +7 -0
- package/dist/inline/label/label.js +487 -0
- package/dist/inline/label/label.js.map +7 -0
- package/dist/inline/mark/mark.js +465 -0
- package/dist/inline/mark/mark.js.map +7 -0
- package/dist/inline/meter/meter.js +498 -0
- package/dist/inline/meter/meter.js.map +7 -0
- package/dist/inline/output/output.js +410 -0
- package/dist/inline/output/output.js.map +7 -0
- package/dist/inline/progress/progress.js +454 -0
- package/dist/inline/progress/progress.js.map +7 -0
- package/dist/inline/q/q.js +476 -0
- package/dist/inline/q/q.js.map +7 -0
- package/dist/inline/rp/rp.js +465 -0
- package/dist/inline/rp/rp.js.map +7 -0
- package/dist/inline/rt/rt.js +465 -0
- package/dist/inline/rt/rt.js.map +7 -0
- package/dist/inline/ruby/ruby.js +465 -0
- package/dist/inline/ruby/ruby.js.map +7 -0
- package/dist/inline/s/s.js +465 -0
- package/dist/inline/s/s.js.map +7 -0
- package/dist/inline/samp/samp.js +465 -0
- package/dist/inline/samp/samp.js.map +7 -0
- package/dist/inline/select/select.js +674 -0
- package/dist/inline/select/select.js.map +7 -0
- package/dist/inline/slot/slot.js +476 -0
- package/dist/inline/slot/slot.js.map +7 -0
- package/dist/inline/small/small.js +465 -0
- package/dist/inline/small/small.js.map +7 -0
- package/dist/inline/span/span.js +465 -0
- package/dist/inline/span/span.js.map +7 -0
- package/dist/inline/strong/strong.js +465 -0
- package/dist/inline/strong/strong.js.map +7 -0
- package/dist/inline/sub/sub.js +465 -0
- package/dist/inline/sub/sub.js.map +7 -0
- package/dist/inline/sup/sup.js +465 -0
- package/dist/inline/sup/sup.js.map +7 -0
- package/dist/inline/svg/svg.js +542 -0
- package/dist/inline/svg/svg.js.map +7 -0
- package/dist/inline/textarea/textarea.js +718 -0
- package/dist/inline/textarea/textarea.js.map +7 -0
- package/dist/inline/time/time.js +476 -0
- package/dist/inline/time/time.js.map +7 -0
- package/dist/inline/u/u.js +465 -0
- package/dist/inline/u/u.js.map +7 -0
- package/dist/inline/var/var.js +465 -0
- package/dist/inline/var/var.js.map +7 -0
- package/dist/void/area/area.js +388 -0
- package/dist/void/area/area.js.map +7 -0
- package/dist/void/base/base.js +37 -0
- package/dist/void/base/base.js.map +7 -0
- package/dist/void/br/br.js +135 -0
- package/dist/void/br/br.js.map +7 -0
- package/dist/void/col/col.js +135 -0
- package/dist/void/col/col.js.map +7 -0
- package/dist/void/head/head.js +37 -0
- package/dist/void/head/head.js.map +7 -0
- package/dist/void/link/link.js +213 -0
- package/dist/void/link/link.js.map +7 -0
- package/dist/void/meta/meta.js +147 -0
- package/dist/void/meta/meta.js.map +7 -0
- package/dist/void/param/param.js +146 -0
- package/dist/void/param/param.js.map +7 -0
- package/dist/void/script/script.js +213 -0
- package/dist/void/script/script.js.map +7 -0
- package/dist/void/source/source.js +168 -0
- package/dist/void/source/source.js.map +7 -0
- package/dist/void/style/style.js +147 -0
- package/dist/void/style/style.js.map +7 -0
- package/dist/void/title/title.js +37 -0
- package/dist/void/title/title.js.map +7 -0
- package/dist/void/track/track.js +190 -0
- package/dist/void/track/track.js.map +7 -0
- package/dist/void/wbr/wbr.js +124 -0
- package/dist/void/wbr/wbr.js.map +7 -0
- package/package.json +4 -4
- package/src/block/article/article.ts +649 -0
- package/{block → src/block}/aside/aside.ts +144 -1
- package/{block → src/block}/audio/audio.ts +128 -1
- package/src/block/blockquote/blockquote.ts +665 -0
- package/{block → src/block}/body/body.ts +91 -1
- package/{block → src/block}/canvas/canvas.ts +144 -1
- package/src/block/caption/caption.ts +649 -0
- package/{block → src/block}/colgroup/colgroup.ts +96 -1
- package/src/block/datalist/datalist.ts +649 -0
- package/{block/dialog/dialog.ts → src/block/dd/dd.ts} +114 -88
- package/{block → src/block}/del/del.ts +144 -1
- package/src/block/details/details.ts +729 -0
- package/src/block/dialog/dialog.ts +729 -0
- package/src/block/div/div.ts +729 -0
- package/src/block/dl/dl.ts +649 -0
- package/{block/details/details.ts → src/block/dt/dt.ts} +114 -88
- package/{block → src/block}/embed/embed.ts +144 -1
- package/{block → src/block}/fieldset/fieldset.ts +144 -1
- package/src/block/figcaption/figcaption.ts +649 -0
- package/src/block/figure/figure.ts +649 -0
- package/src/block/footer/footer.ts +665 -0
- package/{block → src/block}/form/form.ts +132 -5
- package/src/block/h1/h1.ts +633 -0
- package/src/block/h2/h2.ts +633 -0
- package/src/block/h3/h3.ts +633 -0
- package/src/block/h4/h4.ts +633 -0
- package/src/block/h5/h5.ts +633 -0
- package/src/block/h6/h6.ts +633 -0
- package/{block → src/block}/header/header.ts +144 -1
- package/src/block/hgroup/hgroup.ts +649 -0
- package/{block → src/block}/hr/hr.ts +59 -1
- package/{block → src/block}/html/html.ts +27 -1
- package/{block → src/block}/iframe/iframe.ts +112 -1
- package/{block → src/block}/ins/ins.ts +144 -1
- package/src/block/legend/legend.ts +649 -0
- package/{block → src/block}/li/li.ts +107 -1
- package/{block/div/div.ts → src/block/main/main.ts} +112 -54
- package/src/block/map/map.ts +665 -0
- package/{block → src/block}/menu/menu.ts +144 -1
- package/{block → src/block}/nav/nav.ts +107 -1
- package/{block → src/block}/noscript/noscript.ts +144 -1
- package/{block → src/block}/object/object.ts +144 -1
- package/{block → src/block}/ol/ol.ts +144 -1
- package/{block → src/block}/optgroup/optgroup.ts +144 -1
- package/{block → src/block}/option/option.ts +144 -1
- package/src/block/p/p.ts +649 -0
- package/src/block/picture/picture.ts +649 -0
- package/src/block/pre/pre.ts +649 -0
- package/{block → src/block}/section/section.ts +144 -1
- package/{block → src/block}/summary/summary.ts +107 -1
- package/{block → src/block}/table/table.ts +144 -1
- package/src/block/tbody/tbody.ts +649 -0
- package/{block → src/block}/td/td.ts +144 -1
- package/src/block/template/template.ts +649 -0
- package/src/block/tfoot/tfoot.ts +649 -0
- package/{block → src/block}/th/th.ts +144 -1
- package/src/block/thead/thead.ts +649 -0
- package/{block → src/block}/tr/tr.ts +144 -1
- package/{block → src/block}/ul/ul.ts +144 -1
- package/{block → src/block}/video/video.ts +144 -1
- package/{inline → src/inline}/a/a.ts +144 -1
- package/src/inline/abbr/abbr.ts +633 -0
- package/src/inline/address/address.ts +617 -0
- package/src/inline/b/b.ts +649 -0
- package/src/inline/bdi/bdi.ts +633 -0
- package/src/inline/bdo/bdo.ts +649 -0
- package/{inline → src/inline}/button/button.ts +145 -2
- package/src/inline/cite/cite.ts +649 -0
- package/src/inline/code/code.ts +649 -0
- package/src/inline/data/data.ts +665 -0
- package/src/inline/dfn/dfn.ts +649 -0
- package/src/inline/em/em.ts +649 -0
- package/src/inline/i/i.ts +649 -0
- package/{inline → src/inline}/img/img.ts +112 -1
- package/{inline → src/inline}/input/input.ts +145 -2
- package/src/inline/kbd/kbd.ts +649 -0
- package/{inline → src/inline}/label/label.ts +144 -1
- package/src/inline/mark/mark.ts +649 -0
- package/{inline → src/inline}/meter/meter.ts +144 -1
- package/{inline → src/inline}/output/output.ts +144 -1
- package/{inline → src/inline}/progress/progress.ts +144 -1
- package/src/inline/q/q.ts +665 -0
- package/src/inline/rp/rp.ts +649 -0
- package/src/inline/rt/rt.ts +649 -0
- package/src/inline/ruby/ruby.ts +649 -0
- package/src/inline/s/s.ts +649 -0
- package/src/inline/samp/samp.ts +649 -0
- package/{inline → src/inline}/select/select.ts +144 -1
- package/src/inline/slot/slot.ts +665 -0
- package/src/inline/small/small.ts +649 -0
- package/src/inline/span/span.ts +649 -0
- package/src/inline/strong/strong.ts +649 -0
- package/src/inline/sub/sub.ts +649 -0
- package/src/inline/sup/sup.ts +649 -0
- package/{inline → src/inline}/svg/svg.ts +144 -1
- package/{inline → src/inline}/textarea/textarea.ts +144 -1
- package/src/inline/time/time.ts +665 -0
- package/src/inline/u/u.ts +649 -0
- package/src/inline/var/var.ts +649 -0
- package/{void → src/void}/area/area.ts +144 -1
- package/{void → src/void}/base/base.ts +1 -1
- package/src/void/br/br.ts +172 -0
- package/src/void/col/col.ts +172 -0
- package/{void → src/void}/head/head.ts +1 -1
- package/{void → src/void}/link/link.ts +59 -1
- package/{void → src/void}/meta/meta.ts +59 -1
- package/src/void/param/param.ts +188 -0
- package/{void → src/void}/script/script.ts +59 -1
- package/src/void/source/source.ts +220 -0
- package/{void → src/void}/style/style.ts +59 -1
- package/{void → src/void}/title/title.ts +1 -1
- package/{void → src/void}/track/track.ts +96 -1
- package/src/void/wbr/wbr.ts +156 -0
- package/block/article/article.ts +0 -506
- package/block/blockquote/blockquote.ts +0 -522
- package/block/caption/caption.ts +0 -506
- package/block/datalist/datalist.ts +0 -506
- package/block/dd/dd.ts +0 -506
- package/block/dl/dl.ts +0 -506
- package/block/dt/dt.ts +0 -506
- package/block/figcaption/figcaption.ts +0 -506
- package/block/figure/figure.ts +0 -506
- package/block/footer/footer.ts +0 -522
- package/block/h1/h1.ts +0 -490
- package/block/h2/h2.ts +0 -490
- package/block/h3/h3.ts +0 -490
- package/block/h4/h4.ts +0 -490
- package/block/h5/h5.ts +0 -490
- package/block/h6/h6.ts +0 -490
- package/block/hgroup/hgroup.ts +0 -506
- package/block/legend/legend.ts +0 -506
- package/block/main/main.ts +0 -538
- package/block/map/map.ts +0 -522
- package/block/p/p.ts +0 -506
- package/block/picture/picture.ts +0 -506
- package/block/pre/pre.ts +0 -506
- package/block/tbody/tbody.ts +0 -506
- package/block/template/template.ts +0 -506
- package/block/tfoot/tfoot.ts +0 -506
- package/block/thead/thead.ts +0 -506
- package/inline/abbr/abbr.ts +0 -490
- package/inline/address/address.ts +0 -474
- package/inline/b/b.ts +0 -506
- package/inline/bdi/bdi.ts +0 -490
- package/inline/bdo/bdo.ts +0 -506
- package/inline/cite/cite.ts +0 -506
- package/inline/code/code.ts +0 -506
- package/inline/data/data.ts +0 -522
- package/inline/dfn/dfn.ts +0 -506
- package/inline/em/em.ts +0 -506
- package/inline/i/i.ts +0 -506
- package/inline/kbd/kbd.ts +0 -506
- package/inline/mark/mark.ts +0 -506
- package/inline/q/q.ts +0 -522
- package/inline/rp/rp.ts +0 -506
- package/inline/rt/rt.ts +0 -506
- package/inline/ruby/ruby.ts +0 -506
- package/inline/s/s.ts +0 -506
- package/inline/samp/samp.ts +0 -506
- package/inline/slot/slot.ts +0 -522
- package/inline/small/small.ts +0 -506
- package/inline/span/span.ts +0 -506
- package/inline/strong/strong.ts +0 -506
- package/inline/sub/sub.ts +0 -506
- package/inline/sup/sup.ts +0 -506
- package/inline/time/time.ts +0 -522
- package/inline/u/u.ts +0 -506
- package/inline/var/var.ts +0 -506
- package/void/br/br.ts +0 -77
- package/void/col/col.ts +0 -77
- package/void/param/param.ts +0 -93
- package/void/source/source.ts +0 -125
- package/void/wbr/wbr.ts +0 -61
- /package/{index.ts → src/index.ts} +0 -0
- /package/{tsconfig.json → src/tsconfig.json} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component Tr
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,6 +11,10 @@ export interface TrProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
@@ -19,6 +23,10 @@ export interface TrProps {
|
|
|
19
23
|
* Specifies the horizontal alignment of each row cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and on offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.
|
|
20
24
|
*/
|
|
21
25
|
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | null | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
28
|
+
*/
|
|
29
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
22
30
|
/**
|
|
23
31
|
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
|
|
24
32
|
*/
|
|
@@ -111,10 +119,22 @@ export interface TrProps {
|
|
|
111
119
|
* Specifies the number of characters to offset the row cell content from the alignment character specified by the char attribute.
|
|
112
120
|
*/
|
|
113
121
|
charoff?: string | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* CSS class names
|
|
124
|
+
*/
|
|
125
|
+
className?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the element is editable
|
|
128
|
+
*/
|
|
129
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
114
130
|
/**
|
|
115
131
|
* Indicates whether the element can be edited in place
|
|
116
132
|
*/
|
|
117
133
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
136
|
+
*/
|
|
137
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
118
138
|
/**
|
|
119
139
|
* Represents the text direction of the element
|
|
120
140
|
*/
|
|
@@ -127,6 +147,10 @@ export interface TrProps {
|
|
|
127
147
|
* Indicates whether the element is hidden
|
|
128
148
|
*/
|
|
129
149
|
hidden?: boolean | null | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Unique identifier
|
|
152
|
+
*/
|
|
153
|
+
id?: string;
|
|
130
154
|
/**
|
|
131
155
|
* 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
|
|
132
156
|
*/
|
|
@@ -151,6 +175,10 @@ export interface TrProps {
|
|
|
151
175
|
* Represents the CSS inline style of the element
|
|
152
176
|
*/
|
|
153
177
|
style?: string | null | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Tab order position
|
|
180
|
+
*/
|
|
181
|
+
tabIndex?: number;
|
|
154
182
|
/**
|
|
155
183
|
* Represents a tab order of the element
|
|
156
184
|
*/
|
|
@@ -184,12 +212,29 @@ export class Tr {
|
|
|
184
212
|
if (props.children !== undefined) {
|
|
185
213
|
this.setChildren(props.children);
|
|
186
214
|
}
|
|
215
|
+
if (props.accessKey !== undefined) {
|
|
216
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
217
|
+
}
|
|
187
218
|
if (props.accesskey !== undefined) {
|
|
188
219
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
189
220
|
}
|
|
190
221
|
if (props.align !== undefined) {
|
|
191
222
|
this.setAlign(props.align);
|
|
192
223
|
}
|
|
224
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
225
|
+
const __map = props['alpine-attributes'];
|
|
226
|
+
if (__map !== null && __map !== undefined) {
|
|
227
|
+
for (const __k in __map) {
|
|
228
|
+
const __v = (__map as any)[__k];
|
|
229
|
+
let __attr = __k;
|
|
230
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
231
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
232
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
233
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
234
|
+
this.element.setAttribute(__attr, String(__v));
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
193
238
|
if (props['aria-atomic'] !== undefined) {
|
|
194
239
|
this.setAriaAtomic(props['aria-atomic']);
|
|
195
240
|
}
|
|
@@ -259,9 +304,23 @@ export class Tr {
|
|
|
259
304
|
if (props.charoff !== undefined) {
|
|
260
305
|
this.element.setAttribute('charoff', String(props.charoff));
|
|
261
306
|
}
|
|
307
|
+
if (props.className !== undefined) {
|
|
308
|
+
this.element.setAttribute('className', String(props.className));
|
|
309
|
+
}
|
|
310
|
+
if (props.contentEditable !== undefined) {
|
|
311
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
312
|
+
}
|
|
262
313
|
if (props.contenteditable !== undefined) {
|
|
263
314
|
this.setContenteditable(props.contenteditable);
|
|
264
315
|
}
|
|
316
|
+
if (props['data-attributes'] !== undefined) {
|
|
317
|
+
const __map = props['data-attributes'];
|
|
318
|
+
if (__map !== null && __map !== undefined) {
|
|
319
|
+
for (const __k in __map) {
|
|
320
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
265
324
|
if (props.dir !== undefined) {
|
|
266
325
|
this.setDir(props.dir);
|
|
267
326
|
}
|
|
@@ -271,6 +330,9 @@ export class Tr {
|
|
|
271
330
|
if (props.hidden !== undefined) {
|
|
272
331
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
273
332
|
}
|
|
333
|
+
if (props.id !== undefined) {
|
|
334
|
+
this.element.setAttribute('id', String(props.id));
|
|
335
|
+
}
|
|
274
336
|
if (props.inputmode !== undefined) {
|
|
275
337
|
this.setInputmode(props.inputmode);
|
|
276
338
|
}
|
|
@@ -289,6 +351,9 @@ export class Tr {
|
|
|
289
351
|
if (props.style !== undefined) {
|
|
290
352
|
this.element.setAttribute('style', String(props.style));
|
|
291
353
|
}
|
|
354
|
+
if (props.tabIndex !== undefined) {
|
|
355
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
356
|
+
}
|
|
292
357
|
if (props.tabindex !== undefined) {
|
|
293
358
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
294
359
|
}
|
|
@@ -303,6 +368,15 @@ export class Tr {
|
|
|
303
368
|
}
|
|
304
369
|
}
|
|
305
370
|
|
|
371
|
+
setAccessKey(value: string): this {
|
|
372
|
+
if (value === null || value === undefined) {
|
|
373
|
+
this.element.removeAttribute('accessKey');
|
|
374
|
+
} else {
|
|
375
|
+
this.element.setAttribute('accessKey', String(value));
|
|
376
|
+
}
|
|
377
|
+
return this;
|
|
378
|
+
}
|
|
379
|
+
|
|
306
380
|
setAccesskey(value: string | null | undefined): this {
|
|
307
381
|
if (value === null || value === undefined) {
|
|
308
382
|
this.element.removeAttribute('accesskey');
|
|
@@ -321,6 +395,25 @@ export class Tr {
|
|
|
321
395
|
return this;
|
|
322
396
|
}
|
|
323
397
|
|
|
398
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
399
|
+
if (value === null || value === undefined) {
|
|
400
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
401
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
402
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
403
|
+
}
|
|
404
|
+
} else {
|
|
405
|
+
for (const __k in value as Record<string, string>) {
|
|
406
|
+
let __attr = __k;
|
|
407
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
408
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
409
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
410
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
411
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return this;
|
|
415
|
+
}
|
|
416
|
+
|
|
324
417
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
325
418
|
if (value === null || value === undefined) {
|
|
326
419
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -528,6 +621,24 @@ export class Tr {
|
|
|
528
621
|
return this;
|
|
529
622
|
}
|
|
530
623
|
|
|
624
|
+
setClassName(value: string): this {
|
|
625
|
+
if (value === null || value === undefined) {
|
|
626
|
+
this.element.removeAttribute('className');
|
|
627
|
+
} else {
|
|
628
|
+
this.element.setAttribute('className', String(value));
|
|
629
|
+
}
|
|
630
|
+
return this;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
634
|
+
if (value === true) {
|
|
635
|
+
this.element.setAttribute('contentEditable', '');
|
|
636
|
+
} else {
|
|
637
|
+
this.element.removeAttribute('contentEditable');
|
|
638
|
+
}
|
|
639
|
+
return this;
|
|
640
|
+
}
|
|
641
|
+
|
|
531
642
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
532
643
|
if (value === null || value === undefined) {
|
|
533
644
|
this.element.removeAttribute('contenteditable');
|
|
@@ -537,6 +648,20 @@ export class Tr {
|
|
|
537
648
|
return this;
|
|
538
649
|
}
|
|
539
650
|
|
|
651
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
652
|
+
if (value === null || value === undefined) {
|
|
653
|
+
// Remove all data-* attributes (best-effort)
|
|
654
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
655
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
656
|
+
}
|
|
657
|
+
} else {
|
|
658
|
+
for (const __k in value as Record<string, string>) {
|
|
659
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
return this;
|
|
663
|
+
}
|
|
664
|
+
|
|
540
665
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
541
666
|
if (value === null || value === undefined) {
|
|
542
667
|
this.element.removeAttribute('dir');
|
|
@@ -564,6 +689,15 @@ export class Tr {
|
|
|
564
689
|
return this;
|
|
565
690
|
}
|
|
566
691
|
|
|
692
|
+
setId(value: string): this {
|
|
693
|
+
if (value === null || value === undefined) {
|
|
694
|
+
this.element.removeAttribute('id');
|
|
695
|
+
} else {
|
|
696
|
+
this.element.setAttribute('id', String(value));
|
|
697
|
+
}
|
|
698
|
+
return this;
|
|
699
|
+
}
|
|
700
|
+
|
|
567
701
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
568
702
|
if (value === null || value === undefined) {
|
|
569
703
|
this.element.removeAttribute('inputmode');
|
|
@@ -618,6 +752,15 @@ export class Tr {
|
|
|
618
752
|
return this;
|
|
619
753
|
}
|
|
620
754
|
|
|
755
|
+
setTabIndex(value: number): this {
|
|
756
|
+
if (value === null || value === undefined) {
|
|
757
|
+
this.element.removeAttribute('tabIndex');
|
|
758
|
+
} else {
|
|
759
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
760
|
+
}
|
|
761
|
+
return this;
|
|
762
|
+
}
|
|
763
|
+
|
|
621
764
|
setTabindex(value: number | null | undefined): this {
|
|
622
765
|
if (value === null || value === undefined) {
|
|
623
766
|
this.element.removeAttribute('tabindex');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component Ul
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface UlProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
17
21
|
accesskey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
24
|
+
*/
|
|
25
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Identifies the currently active child element (e.g., for autocomplete suggestions or composite widgets).
|
|
20
28
|
*/
|
|
@@ -83,10 +91,22 @@ export interface UlProps {
|
|
|
83
91
|
* Indicates whether the element is hidden
|
|
84
92
|
*/
|
|
85
93
|
autofocus?: boolean | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* CSS class names
|
|
96
|
+
*/
|
|
97
|
+
className?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Whether the element is editable
|
|
100
|
+
*/
|
|
101
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
86
102
|
/**
|
|
87
103
|
* Indicates whether the element can be edited in place
|
|
88
104
|
*/
|
|
89
105
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
108
|
+
*/
|
|
109
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
90
110
|
/**
|
|
91
111
|
* Represents the text direction of the element
|
|
92
112
|
*/
|
|
@@ -99,6 +119,10 @@ export interface UlProps {
|
|
|
99
119
|
* Indicates whether the element is hidden
|
|
100
120
|
*/
|
|
101
121
|
hidden?: boolean | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Unique identifier
|
|
124
|
+
*/
|
|
125
|
+
id?: string;
|
|
102
126
|
/**
|
|
103
127
|
* 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
|
|
104
128
|
*/
|
|
@@ -127,6 +151,10 @@ export interface UlProps {
|
|
|
127
151
|
* Represents the CSS inline style of the element
|
|
128
152
|
*/
|
|
129
153
|
style?: string | null | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Tab order position
|
|
156
|
+
*/
|
|
157
|
+
tabIndex?: number;
|
|
130
158
|
/**
|
|
131
159
|
* Represents a tab order of the element
|
|
132
160
|
*/
|
|
@@ -156,9 +184,26 @@ export class Ul {
|
|
|
156
184
|
if (props.children !== undefined) {
|
|
157
185
|
this.setChildren(props.children);
|
|
158
186
|
}
|
|
187
|
+
if (props.accessKey !== undefined) {
|
|
188
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
189
|
+
}
|
|
159
190
|
if (props.accesskey !== undefined) {
|
|
160
191
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
161
192
|
}
|
|
193
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
194
|
+
const __map = props['alpine-attributes'];
|
|
195
|
+
if (__map !== null && __map !== undefined) {
|
|
196
|
+
for (const __k in __map) {
|
|
197
|
+
const __v = (__map as any)[__k];
|
|
198
|
+
let __attr = __k;
|
|
199
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
200
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
201
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
202
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
203
|
+
this.element.setAttribute(__attr, String(__v));
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
162
207
|
if (props['aria-activedescendant'] !== undefined) {
|
|
163
208
|
this.element.setAttribute('aria-activedescendant', String(props['aria-activedescendant']));
|
|
164
209
|
}
|
|
@@ -210,9 +255,23 @@ export class Ul {
|
|
|
210
255
|
if (props.autofocus !== undefined) {
|
|
211
256
|
this.element.setAttribute('autofocus', String(props.autofocus));
|
|
212
257
|
}
|
|
258
|
+
if (props.className !== undefined) {
|
|
259
|
+
this.element.setAttribute('className', String(props.className));
|
|
260
|
+
}
|
|
261
|
+
if (props.contentEditable !== undefined) {
|
|
262
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
263
|
+
}
|
|
213
264
|
if (props.contenteditable !== undefined) {
|
|
214
265
|
this.setContenteditable(props.contenteditable);
|
|
215
266
|
}
|
|
267
|
+
if (props['data-attributes'] !== undefined) {
|
|
268
|
+
const __map = props['data-attributes'];
|
|
269
|
+
if (__map !== null && __map !== undefined) {
|
|
270
|
+
for (const __k in __map) {
|
|
271
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
216
275
|
if (props.dir !== undefined) {
|
|
217
276
|
this.setDir(props.dir);
|
|
218
277
|
}
|
|
@@ -222,6 +281,9 @@ export class Ul {
|
|
|
222
281
|
if (props.hidden !== undefined) {
|
|
223
282
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
224
283
|
}
|
|
284
|
+
if (props.id !== undefined) {
|
|
285
|
+
this.element.setAttribute('id', String(props.id));
|
|
286
|
+
}
|
|
225
287
|
if (props.inputmode !== undefined) {
|
|
226
288
|
this.setInputmode(props.inputmode);
|
|
227
289
|
}
|
|
@@ -243,6 +305,9 @@ export class Ul {
|
|
|
243
305
|
if (props.style !== undefined) {
|
|
244
306
|
this.element.setAttribute('style', String(props.style));
|
|
245
307
|
}
|
|
308
|
+
if (props.tabIndex !== undefined) {
|
|
309
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
310
|
+
}
|
|
246
311
|
if (props.tabindex !== undefined) {
|
|
247
312
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
248
313
|
}
|
|
@@ -254,6 +319,15 @@ export class Ul {
|
|
|
254
319
|
}
|
|
255
320
|
}
|
|
256
321
|
|
|
322
|
+
setAccessKey(value: string): this {
|
|
323
|
+
if (value === null || value === undefined) {
|
|
324
|
+
this.element.removeAttribute('accessKey');
|
|
325
|
+
} else {
|
|
326
|
+
this.element.setAttribute('accessKey', String(value));
|
|
327
|
+
}
|
|
328
|
+
return this;
|
|
329
|
+
}
|
|
330
|
+
|
|
257
331
|
setAccesskey(value: string | null | undefined): this {
|
|
258
332
|
if (value === null || value === undefined) {
|
|
259
333
|
this.element.removeAttribute('accesskey');
|
|
@@ -263,6 +337,25 @@ export class Ul {
|
|
|
263
337
|
return this;
|
|
264
338
|
}
|
|
265
339
|
|
|
340
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
341
|
+
if (value === null || value === undefined) {
|
|
342
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
343
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
344
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
345
|
+
}
|
|
346
|
+
} else {
|
|
347
|
+
for (const __k in value as Record<string, string>) {
|
|
348
|
+
let __attr = __k;
|
|
349
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
350
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
351
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
352
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
353
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return this;
|
|
357
|
+
}
|
|
358
|
+
|
|
266
359
|
setAriaActivedescendant(value: string | null | undefined): this {
|
|
267
360
|
if (value === null || value === undefined) {
|
|
268
361
|
this.element.removeAttribute('aria-activedescendant');
|
|
@@ -416,6 +509,24 @@ export class Ul {
|
|
|
416
509
|
return this;
|
|
417
510
|
}
|
|
418
511
|
|
|
512
|
+
setClassName(value: string): this {
|
|
513
|
+
if (value === null || value === undefined) {
|
|
514
|
+
this.element.removeAttribute('className');
|
|
515
|
+
} else {
|
|
516
|
+
this.element.setAttribute('className', String(value));
|
|
517
|
+
}
|
|
518
|
+
return this;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
522
|
+
if (value === true) {
|
|
523
|
+
this.element.setAttribute('contentEditable', '');
|
|
524
|
+
} else {
|
|
525
|
+
this.element.removeAttribute('contentEditable');
|
|
526
|
+
}
|
|
527
|
+
return this;
|
|
528
|
+
}
|
|
529
|
+
|
|
419
530
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
420
531
|
if (value === null || value === undefined) {
|
|
421
532
|
this.element.removeAttribute('contenteditable');
|
|
@@ -425,6 +536,20 @@ export class Ul {
|
|
|
425
536
|
return this;
|
|
426
537
|
}
|
|
427
538
|
|
|
539
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
540
|
+
if (value === null || value === undefined) {
|
|
541
|
+
// Remove all data-* attributes (best-effort)
|
|
542
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
543
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
544
|
+
}
|
|
545
|
+
} else {
|
|
546
|
+
for (const __k in value as Record<string, string>) {
|
|
547
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
return this;
|
|
551
|
+
}
|
|
552
|
+
|
|
428
553
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
429
554
|
if (value === null || value === undefined) {
|
|
430
555
|
this.element.removeAttribute('dir');
|
|
@@ -452,6 +577,15 @@ export class Ul {
|
|
|
452
577
|
return this;
|
|
453
578
|
}
|
|
454
579
|
|
|
580
|
+
setId(value: string): this {
|
|
581
|
+
if (value === null || value === undefined) {
|
|
582
|
+
this.element.removeAttribute('id');
|
|
583
|
+
} else {
|
|
584
|
+
this.element.setAttribute('id', String(value));
|
|
585
|
+
}
|
|
586
|
+
return this;
|
|
587
|
+
}
|
|
588
|
+
|
|
455
589
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
456
590
|
if (value === null || value === undefined) {
|
|
457
591
|
this.element.removeAttribute('inputmode');
|
|
@@ -515,6 +649,15 @@ export class Ul {
|
|
|
515
649
|
return this;
|
|
516
650
|
}
|
|
517
651
|
|
|
652
|
+
setTabIndex(value: number): this {
|
|
653
|
+
if (value === null || value === undefined) {
|
|
654
|
+
this.element.removeAttribute('tabIndex');
|
|
655
|
+
} else {
|
|
656
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
657
|
+
}
|
|
658
|
+
return this;
|
|
659
|
+
}
|
|
660
|
+
|
|
518
661
|
setTabindex(value: number | null | undefined): this {
|
|
519
662
|
if (value === null || value === undefined) {
|
|
520
663
|
this.element.removeAttribute('tabindex');
|