@nova-design-system/nova-webcomponents 3.0.0-beta.43 → 3.0.0-beta.44
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/dist/blazor-docs.json +18738 -0
- package/dist/cjs/index.cjs.js +472 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +4 -5
- package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-base.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +5 -5
- package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +3 -3
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +6 -6
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
- package/dist/cjs/nv-fielddate.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +4 -4
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +44 -74
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +6 -8
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtime.cjs.entry.js +9 -9
- package/dist/cjs/nv-icon.cjs.entry.js +2 -2
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-table.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
- package/dist/collection/components/nv-badge/nv-badge.css +16 -0
- package/dist/collection/components/nv-badge/nv-badge.js +3 -3
- package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
- package/dist/collection/components/nv-base/nv-base.js +1 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.js +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.css +129 -77
- package/dist/collection/components/nv-calendar/nv-calendar.js +4 -4
- package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.css +4 -4
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +7 -7
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js.map +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +5 -5
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +4 -4
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +44 -74
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +3 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +9 -11
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js.map +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-icon/nv-icons.js +472 -2
- package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.css +4 -4
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.js.map +1 -1
- package/dist/components/index.js +472 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-base.js +1 -1
- package/dist/components/nv-breadcrumb.js +3 -3
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +3 -3
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-dialog.js +6 -6
- package/dist/components/nv-dialog.js.map +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +12 -12
- package/dist/components/nv-fielddaterange.js +11 -11
- package/dist/components/nv-fielddropdown.js +49 -79
- package/dist/components/nv-fielddropdown.js.map +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +7 -7
- package/dist/components/nv-fieldnumber.js +6 -6
- package/dist/components/nv-fieldpassword.js +6 -6
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +8 -8
- package/dist/components/nv-fieldtext.js +4 -4
- package/dist/components/nv-fieldtextarea.js +3 -3
- package/dist/components/nv-fieldtime.js +13 -13
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +4 -4
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +3 -3
- package/dist/components/nv-table.js.map +1 -1
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-3aa6f6dc.js → p-016dbae8.js} +10 -10
- package/dist/components/p-016dbae8.js.map +1 -0
- package/dist/components/{p-1a4f9c97.js → p-0631d152.js} +3 -3
- package/dist/components/{p-1a4f9c97.js.map → p-0631d152.js.map} +1 -1
- package/dist/components/p-23b6b33b.js +88 -0
- package/dist/components/p-23b6b33b.js.map +1 -0
- package/dist/components/{p-a8b5969f.js → p-293e1a5c.js} +3 -3
- package/dist/components/{p-a8b5969f.js.map → p-293e1a5c.js.map} +1 -1
- package/dist/components/{p-1e095bba.js → p-3a74719c.js} +4 -4
- package/dist/components/{p-1e095bba.js.map → p-3a74719c.js.map} +1 -1
- package/dist/components/{p-56716b97.js → p-3a990da7.js} +9 -9
- package/dist/components/p-3a990da7.js.map +1 -0
- package/dist/components/{p-4c6d8df7.js → p-543082ff.js} +2 -2
- package/dist/components/{p-4c6d8df7.js.map → p-543082ff.js.map} +1 -1
- package/dist/components/{p-057ae4f2.js → p-62f6da8a.js} +2 -2
- package/dist/components/{p-057ae4f2.js.map → p-62f6da8a.js.map} +1 -1
- package/dist/components/{p-3a3ba5b1.js → p-6726f512.js} +2 -2
- package/dist/components/{p-3a3ba5b1.js.map → p-6726f512.js.map} +1 -1
- package/dist/components/{p-1fad2529.js → p-b2d2fd35.js} +3 -3
- package/dist/components/{p-1fad2529.js.map → p-b2d2fd35.js.map} +1 -1
- package/dist/components/p-cd083aba.js +176 -0
- package/dist/components/p-cd083aba.js.map +1 -0
- package/dist/components/{p-55202370.js → p-d552352b.js} +5 -5
- package/dist/components/{p-55202370.js.map → p-d552352b.js.map} +1 -1
- package/dist/components/{p-89fb308b.js → p-e40363fd.js} +2 -2
- package/dist/components/{p-89fb308b.js.map → p-e40363fd.js.map} +1 -1
- package/dist/components/{p-4c6ba63c.js → p-e66d6274.js} +3 -3
- package/dist/components/{p-4c6ba63c.js.map → p-e66d6274.js.map} +1 -1
- package/dist/components/{p-9476354d.js → p-e7f21fe7.js} +9 -11
- package/dist/components/p-e7f21fe7.js.map +1 -0
- package/dist/docs.json +2048 -160
- package/dist/esm/index.js +472 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +4 -5
- package/dist/esm/nv-badge_2.entry.js.map +1 -1
- package/dist/esm/nv-base.entry.js +1 -1
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-calendar.entry.js +5 -5
- package/dist/esm/nv-calendar.entry.js.map +1 -1
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +3 -3
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js.map +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +6 -6
- package/dist/esm/nv-dialogfooter_2.entry.js.map +1 -1
- package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
- package/dist/esm/nv-fielddate.entry.js +5 -5
- package/dist/esm/nv-fielddaterange.entry.js +4 -4
- package/dist/esm/nv-fielddropdown.entry.js +44 -74
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +6 -8
- package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldpassword.entry.js +3 -3
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldtext.entry.js +3 -3
- package/dist/esm/nv-fieldtextarea.entry.js +3 -3
- package/dist/esm/nv-fieldtime.entry.js +9 -9
- package/dist/esm/nv-icon.entry.js +2 -2
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js.map +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +3 -3
- package/dist/esm/nv-table.entry.js.map +1 -1
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/esm/nv-tooltip.entry.js.map +1 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/index.esm.js.map +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/native.esm.js.map +1 -1
- package/dist/native/p-16b38dc2.entry.js +2 -0
- package/dist/native/p-16b38dc2.entry.js.map +1 -0
- package/dist/native/p-1d5b6c6d.entry.js +2 -0
- package/dist/native/{p-7fade532.entry.js → p-2b584e35.entry.js} +2 -2
- package/dist/native/{p-514101d6.entry.js → p-39fd54e3.entry.js} +2 -2
- package/dist/native/p-3a47035f.entry.js +2 -0
- package/dist/native/p-3a47035f.entry.js.map +1 -0
- package/dist/native/p-4b6d3739.entry.js +2 -0
- package/dist/native/{p-45577c7f.entry.js.map → p-4b6d3739.entry.js.map} +1 -1
- package/dist/native/{p-31184fdd.entry.js → p-4c88e8be.entry.js} +2 -2
- package/dist/native/p-4c96b614.entry.js +2 -0
- package/dist/native/{p-2281d5ef.entry.js → p-4d2adf8c.entry.js} +2 -2
- package/dist/native/{p-942f8e92.entry.js → p-4eb132d3.entry.js} +2 -2
- package/dist/native/{p-c10e5113.entry.js → p-552ca13e.entry.js} +2 -2
- package/dist/native/p-569e9663.entry.js +2 -0
- package/dist/native/p-569e9663.entry.js.map +1 -0
- package/dist/native/{p-be4fc827.entry.js → p-5e04b50f.entry.js} +2 -2
- package/dist/native/p-5e04b50f.entry.js.map +1 -0
- package/dist/native/{p-ecc28398.entry.js → p-657a0b8a.entry.js} +2 -2
- package/dist/native/{p-464ef88f.entry.js → p-794b7820.entry.js} +2 -2
- package/dist/native/{p-f5e0d5c5.entry.js → p-870d5a5c.entry.js} +2 -2
- package/dist/native/p-8ae27c0a.entry.js +2 -0
- package/dist/native/p-8ae27c0a.entry.js.map +1 -0
- package/dist/native/p-9fe6a9b7.entry.js +2 -0
- package/dist/native/p-9fe6a9b7.entry.js.map +1 -0
- package/dist/native/{p-332c5d6c.entry.js → p-a3ea7b59.entry.js} +2 -2
- package/dist/native/{p-56e98443.entry.js → p-a6834c17.entry.js} +2 -2
- package/dist/native/{p-56e98443.entry.js.map → p-a6834c17.entry.js.map} +1 -1
- package/dist/native/{p-442f04f9.entry.js → p-ac72abfc.entry.js} +2 -2
- package/dist/native/p-adf0f628.entry.js +2 -0
- package/dist/native/p-adf0f628.entry.js.map +1 -0
- package/dist/native/{p-048486e0.entry.js → p-c84eb11f.entry.js} +2 -2
- package/dist/native/p-c84eb11f.entry.js.map +1 -0
- package/dist/native/p-ca1eff59.entry.js +2 -0
- package/dist/native/p-ca1eff59.entry.js.map +1 -0
- package/dist/native/{p-ab84ff42.entry.js → p-cce90f27.entry.js} +2 -2
- package/dist/native/p-d3d664c7.entry.js +2 -0
- package/dist/native/{p-62df7dd4.entry.js → p-d7b5ab6e.entry.js} +2 -2
- package/dist/native/{p-314d2b34.entry.js → p-d987271c.entry.js} +2 -2
- package/dist/native/{p-3af5bcc1.entry.js → p-dcfef507.entry.js} +2 -2
- package/dist/native/{p-b052f1cb.entry.js → p-ddb4fcc3.entry.js} +2 -2
- package/dist/native/{p-2ed540e3.entry.js → p-ede0c391.entry.js} +2 -2
- package/dist/native/p-efb52057.entry.js +2 -0
- package/dist/native/{p-04c6048a.entry.js → p-ffcf8271.entry.js} +2 -2
- package/dist/native/{p-04c6048a.entry.js.map → p-ffcf8271.entry.js.map} +1 -1
- package/dist/types/components/nv-badge/nv-badge.d.ts +1 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +2 -2
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +1 -7
- package/dist/types/components/nv-fielddropdownitem/nv-fielddropdownitem.d.ts +1 -6
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components.d.ts +4 -12
- package/dist/vscode-data.json +5980 -0
- package/hydrate/index.js +134 -166
- package/hydrate/index.mjs +134 -166
- package/package.json +1 -1
- package/dist/components/p-3aa6f6dc.js.map +0 -1
- package/dist/components/p-56716b97.js.map +0 -1
- package/dist/components/p-7f142767.js +0 -177
- package/dist/components/p-7f142767.js.map +0 -1
- package/dist/components/p-9476354d.js.map +0 -1
- package/dist/components/p-ebf24fd0.js +0 -88
- package/dist/components/p-ebf24fd0.js.map +0 -1
- package/dist/native/p-048486e0.entry.js.map +0 -1
- package/dist/native/p-1a46cb52.entry.js +0 -2
- package/dist/native/p-22a45102.entry.js +0 -2
- package/dist/native/p-22a45102.entry.js.map +0 -1
- package/dist/native/p-45577c7f.entry.js +0 -2
- package/dist/native/p-46aa1136.entry.js +0 -2
- package/dist/native/p-665db087.entry.js +0 -2
- package/dist/native/p-68b5a92c.entry.js +0 -2
- package/dist/native/p-68b5a92c.entry.js.map +0 -1
- package/dist/native/p-6a629671.entry.js +0 -2
- package/dist/native/p-6a629671.entry.js.map +0 -1
- package/dist/native/p-913907fb.entry.js +0 -2
- package/dist/native/p-913907fb.entry.js.map +0 -1
- package/dist/native/p-9f5e4dfc.entry.js +0 -2
- package/dist/native/p-9f5e4dfc.entry.js.map +0 -1
- package/dist/native/p-bdabd495.entry.js +0 -2
- package/dist/native/p-bdabd495.entry.js.map +0 -1
- package/dist/native/p-be4fc827.entry.js.map +0 -1
- package/dist/native/p-db2902d6.entry.js +0 -2
- package/dist/native/p-db2902d6.entry.js.map +0 -1
- package/dist/native/p-f89b7d06.entry.js +0 -2
- /package/dist/native/{p-665db087.entry.js.map → p-1d5b6c6d.entry.js.map} +0 -0
- /package/dist/native/{p-7fade532.entry.js.map → p-2b584e35.entry.js.map} +0 -0
- /package/dist/native/{p-514101d6.entry.js.map → p-39fd54e3.entry.js.map} +0 -0
- /package/dist/native/{p-31184fdd.entry.js.map → p-4c88e8be.entry.js.map} +0 -0
- /package/dist/native/{p-46aa1136.entry.js.map → p-4c96b614.entry.js.map} +0 -0
- /package/dist/native/{p-2281d5ef.entry.js.map → p-4d2adf8c.entry.js.map} +0 -0
- /package/dist/native/{p-942f8e92.entry.js.map → p-4eb132d3.entry.js.map} +0 -0
- /package/dist/native/{p-c10e5113.entry.js.map → p-552ca13e.entry.js.map} +0 -0
- /package/dist/native/{p-ecc28398.entry.js.map → p-657a0b8a.entry.js.map} +0 -0
- /package/dist/native/{p-464ef88f.entry.js.map → p-794b7820.entry.js.map} +0 -0
- /package/dist/native/{p-f5e0d5c5.entry.js.map → p-870d5a5c.entry.js.map} +0 -0
- /package/dist/native/{p-332c5d6c.entry.js.map → p-a3ea7b59.entry.js.map} +0 -0
- /package/dist/native/{p-442f04f9.entry.js.map → p-ac72abfc.entry.js.map} +0 -0
- /package/dist/native/{p-ab84ff42.entry.js.map → p-cce90f27.entry.js.map} +0 -0
- /package/dist/native/{p-f89b7d06.entry.js.map → p-d3d664c7.entry.js.map} +0 -0
- /package/dist/native/{p-62df7dd4.entry.js.map → p-d7b5ab6e.entry.js.map} +0 -0
- /package/dist/native/{p-314d2b34.entry.js.map → p-d987271c.entry.js.map} +0 -0
- /package/dist/native/{p-3af5bcc1.entry.js.map → p-dcfef507.entry.js.map} +0 -0
- /package/dist/native/{p-b052f1cb.entry.js.map → p-ddb4fcc3.entry.js.map} +0 -0
- /package/dist/native/{p-2ed540e3.entry.js.map → p-ede0c391.entry.js.map} +0 -0
- /package/dist/native/{p-1a46cb52.entry.js.map → p-efb52057.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1c45c0f2.js';
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-23b6b33b.js';
|
|
3
3
|
|
|
4
4
|
const nvMenuitemCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}";
|
|
5
5
|
const NvMenuitemStyle0 = nvMenuitemCss;
|
|
@@ -48,7 +48,7 @@ const NvMenuitem = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H {
|
|
|
48
48
|
/****************************************************************************/
|
|
49
49
|
//#region RENDER
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'b8cac84bb424c083ed0be5943b385ba54187adb5', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: '6032ba2e7048c89e6470adc95483db8d77352827', name: this.icon }), h("slot", { key: '29164bf0c16df37d5d8c2fe9646220cf740a5795' }), this.label && h("span", { key: 'ac544f68655d4d8423c475e68d9a9b5ae4151145', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: 'a2a4b1ab816c4feb2946df548d538a3052195954' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: 'e39a45bc31f9bafbfe5a1dfa20dbc9d7bf26b2e6', name: "chevron-right" })));
|
|
52
52
|
}
|
|
53
53
|
get el() { return this; }
|
|
54
54
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -82,4 +82,4 @@ defineCustomElement();
|
|
|
82
82
|
|
|
83
83
|
export { NvMenuitem as N, defineCustomElement as d };
|
|
84
84
|
|
|
85
|
-
//# sourceMappingURL=p-
|
|
85
|
+
//# sourceMappingURL=p-e66d6274.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-e66d6274.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,+6BAA+6B,CAAC;AACt8B,yBAAe,aAAa;;MCoBf,UAAU;IALvB;;;;;;;QA6BW,aAAQ,GAAY,KAAK,CAAC;;;;QAY1B,eAAU,GAAY,KAAK,CAAC;KAuFtC;IArDS,oBAAoB,CAAC,KAAY;;QAEvC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,OAAO;SACR;QAED,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;YACzB,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE;YACd,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;KACJ;IAGD,WAAW,CAAC,KAAiB;QAC3B,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;KAClC;IAGD,aAAa,CAAC,KAAoB;QAChC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE;YAC9C,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAsC,CAAC;YACtE,IACE,aAAa;gBACb,aAAa,CAAC,OAAO,KAAK,aAAa;gBACvC,CAAC,aAAa,CAAC,YAAY,CAAC,aAAa,CAAC,EAC1C;gBACA,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;aACjB;SACF;KACF;;;;IAMD,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,GAAG,IACvD,IAAI,CAAC,IAAI,IAAI,gEAAS,IAAI,EAAE,IAAI,CAAC,IAAI,GAAY,EAElD,8DAAa,EAEZ,IAAI,CAAC,KAAK,IAAI,2EAAiB,MAAM,IAAE,IAAI,CAAC,KAAK,CAAQ,EACzD,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,8DAAM,IAAI,CAAC,QAAQ,CAAO,EAC/D,IAAI,CAAC,UAAU,IAAI,gEAAS,IAAI,EAAC,eAAe,GAAW,CACvD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nv-menuitem/nv-menuitem.scss?tag=nv-menuitem","src/components/nv-menuitem/nv-menuitem.tsx"],"sourcesContent":["@mixin root-styles() {\n display: flex;\n align-items: center;\n max-width: 300px;\n width: 100vw;\n font-size: var(--menu-contextual-item-font-size);\n font-weight: var(--menu-contextual-item-font-weight);\n color: var(--components-menu-contextual-item-content);\n border-radius: var(--menu-contextual-item-radius);\n gap: var(--menu-contextual-item-gap-x);\n padding: var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);\n transition: background-color 150ms ease-out;\n cursor: pointer;\n &:hover, &:focus, &:focus-within {\n @include focused-styles();\n }\n * {\n pointer-events: none;\n }\n}\n\n@mixin focused-styles() {\n background-color: var(--components-menu-contextual-item-background-hover);\n color: var(--components-menu-contextual-item-content-hover);\n}\n\n@mixin disabled-styles() {\n cursor: unset;\n background-color: unset;\n color: var(--components-menu-contextual-item-content-disabled);\n}\n\n@mixin text-styles() {\n margin-right: auto;\n}\n\n@mixin shortcut-styles() {\n color: var(--components-menu-contextual-item-shortcut);\n}\n\nnv-menuitem {\n @include root-styles();\n\n kbd {\n @include shortcut-styles();\n }\n\n [data-scope=\"text\"] {\n @include text-styles();\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n @include disabled-styles();\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n Listen,\n} from '@stencil/core';\n\nimport { IconName } from '../nv-icon/nv-icons';\n\n/**\n * @slot default - Use this slot to render custom content for the menu item.\n */\n@Component({\n tag: 'nv-menuitem',\n styleUrl: 'nv-menuitem.scss',\n shadow: false,\n})\nexport class NvMenuitem {\n @Element() el: HTMLNvMenuitemElement;\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * Text content for the menu item. If a more custom approach is needed, use\n * the default slot instead.\n */\n @Prop({ reflect: true })\n readonly label: string;\n\n /**\n * Choose the icon you want to display. This also sets the aria-label for\n * improved accessibility, helping users who rely on screen readers.\n * The icon is not displayed when the button is loading.\n */\n @Prop({ reflect: true })\n readonly icon: `${IconName}`;\n\n /**\n * Disables the item, preventing user interaction.\n */\n @Prop({ reflect: true })\n readonly disabled: boolean = false;\n\n /**\n * Show a shortcut key for the action represented in the menu item.\n */\n @Prop({ reflect: true })\n readonly shortcut: string;\n\n /**\n * If the menu item has a submenu, the a caret icon will be displayed.\n */\n @Prop({ reflect: true })\n readonly hasSubmenu: boolean = false;\n\n /**\n * Represents the identifier or name associated with the menu item. This value\n * will be emitted as part of the event data when the menu item is selected,\n * enabling event handlers to identify the chosen item.\n */\n @Prop({ reflect: true })\n readonly name: string;\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region EVENTS\n\n /**\n * Fires when the menu item is selected (click or keypress). Will include the\n * id and name of the menu item.\n */\n @Event()\n menuitemSelected: EventEmitter<{\n /**\n * The id of the menu item that was selected.\n */\n id?: HTMLElement['id'];\n /**\n * The name of the menu item that was selected.\n */\n name?: string;\n /**\n * Indicates if the menu item has a nested submenu.\n */\n hasSubmenu?: boolean;\n }>;\n\n private handleMenuItemSelect(event: Event) {\n // If the element is disabled, stop propagation\n if (this.disabled) {\n event.stopPropagation();\n return;\n }\n\n this.menuitemSelected.emit({\n id: this.el.id,\n name: this.name,\n hasSubmenu: this.hasSubmenu,\n });\n }\n\n @Listen('click', { capture: true })\n handleClick(event: MouseEvent) {\n this.handleMenuItemSelect(event);\n }\n\n @Listen('keydown', { passive: false })\n handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter' || event.key === ' ') {\n const activeElement = document.activeElement as HTMLNvMenuitemElement;\n if (\n activeElement &&\n activeElement.tagName === 'NV-MENUITEM' &&\n !activeElement.hasAttribute('has-submenu')\n ) {\n event.preventDefault();\n this.el.click();\n }\n }\n }\n\n //#endregion EVENTS\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? '-1' : '0'}>\n {this.icon && <nv-icon name={this.icon}></nv-icon>}\n\n <slot></slot>\n\n {this.label && <span data-scope=\"text\">{this.label}</span>}\n {this.shortcut && !this.hasSubmenu && <kbd>{this.shortcut}</kbd>}\n {this.hasSubmenu && <nv-icon name=\"chevron-right\"></nv-icon>}\n </Host>\n );\n }\n\n //#endregion RENDER\n}\n"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1c45c0f2.js';
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-23b6b33b.js';
|
|
3
3
|
|
|
4
4
|
const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
|
|
5
5
|
const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
|
|
@@ -24,33 +24,31 @@ const NvFielddropdownitem = /*@__PURE__*/ proxyCustomElement(class NvFielddropdo
|
|
|
24
24
|
/****************************************************************************/
|
|
25
25
|
//#region METHODS
|
|
26
26
|
this.handleSelected = () => {
|
|
27
|
-
if (this.disabled
|
|
27
|
+
if (this.disabled)
|
|
28
28
|
return;
|
|
29
|
-
this.selected = true;
|
|
30
29
|
this.dropdownItemSelected.emit({
|
|
31
30
|
label: this.label,
|
|
32
31
|
value: this.value,
|
|
33
|
-
selected: this.selected,
|
|
34
|
-
disabled: this.disabled,
|
|
35
32
|
});
|
|
36
33
|
};
|
|
37
34
|
}
|
|
38
35
|
handleKeyDown(event) {
|
|
36
|
+
var _a, _b;
|
|
39
37
|
if (event.target !== this.el)
|
|
40
38
|
return;
|
|
41
39
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
42
40
|
event.preventDefault();
|
|
43
41
|
this.handleSelected();
|
|
42
|
+
(_b = (_a = this.el
|
|
43
|
+
.closest('nv-fielddropdown')) === null || _a === void 0 ? void 0 : _a.querySelector("[data-scope='focusable']")) === null || _b === void 0 ? void 0 : _b.focus();
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
//#endregion METHODS
|
|
47
47
|
/****************************************************************************/
|
|
48
48
|
//#region LIFECYCLE
|
|
49
49
|
componentWillLoad() {
|
|
50
|
-
this.composed = Boolean(this.el.children.length);
|
|
51
|
-
}
|
|
52
|
-
componentDidLoad() {
|
|
53
50
|
var _a;
|
|
51
|
+
this.composed = Boolean(this.el.children.length);
|
|
54
52
|
if (!this.value) {
|
|
55
53
|
const fallback = (_a = this.label) !== null && _a !== void 0 ? _a : this.el.textContent;
|
|
56
54
|
this.value = fallback.replace(/\W+/g, ''); // Remove non-word characters
|
|
@@ -60,13 +58,13 @@ const NvFielddropdownitem = /*@__PURE__*/ proxyCustomElement(class NvFielddropdo
|
|
|
60
58
|
/****************************************************************************/
|
|
61
59
|
//#region RENDER
|
|
62
60
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'acee05b9d46a503b8ca19acf9f96577f83686c38', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h("slot", { key: '07eb6931adeb42c1bd9d83b58ef43d07eb0fd4df' }), !this.composed && (h("div", { key: '4a1c9d51f6d7e2ea3680ddd2294bc5a88c6a354b', class: "text-wrapper" }, h("span", { key: '6f13add04158044d4b3cd00b386ed0ed5cde87fc', "data-scope": "text" }, this.label))), this.selected && (h("nv-icon", { key: '88bfab2accd9b3bb8a2bb8fbbc6bafab8712432e', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
64
62
|
}
|
|
65
63
|
get el() { return this; }
|
|
66
64
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
67
65
|
}, [4, "nv-fielddropdownitem", {
|
|
68
66
|
"disabled": [516],
|
|
69
|
-
"selected": [
|
|
67
|
+
"selected": [516],
|
|
70
68
|
"value": [1537],
|
|
71
69
|
"label": [513]
|
|
72
70
|
}, [[0, "keydown", "handleKeyDown"]]]);
|
|
@@ -92,4 +90,4 @@ defineCustomElement();
|
|
|
92
90
|
|
|
93
91
|
export { NvFielddropdownitem as N, defineCustomElement as d };
|
|
94
92
|
|
|
95
|
-
//# sourceMappingURL=p-
|
|
93
|
+
//# sourceMappingURL=p-e7f21fe7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-e7f21fe7.js","mappings":";;;AAAA,MAAM,sBAAsB,GAAG,utCAAutC,CAAC;AACvvC,kCAAe,sBAAsB;;MCkBxB,mBAAmB;IALhC;;;;QAOU,aAAQ,GAAG,KAAK,CAAC;;;;;;QAShB,aAAQ,GAAY,KAAK,CAAC;;;;QAM1B,aAAQ,GAAY,KAAK,CAAC;;;;QAuD3B,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,QAAQ;gBAAE,OAAO;YAE1B,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC;gBAC7B,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;aAClB,CAAC,CAAC;SACJ,CAAC;KAqCH;IA9DC,aAAa,CAAC,KAAoB;;QAChC,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,EAAE;YAAE,OAAO;QAErC,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE;YAC9C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,CAAC,cAAc,EAAE,CAAC;YAEtB,MAAA,MAAA,IAAI,CAAC,EAAE;iBACJ,OAAO,CAAC,kBAAkB,CAAC,0CAC1B,aAAa,CAAc,0BAA0B,CAAC,0CACtD,KAAK,EAAE,CAAC;SACb;KACF;;;;IAmBD,iBAAiB;;QACf,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,MAAM,QAAQ,GAAG,MAAA,IAAI,CAAC,KAAK,mCAAI,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;YACnD,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;SAC3C;KACF;;;;IAMD,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,EAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,cAAc,IAChE,8DAAQ,EAEP,CAAC,IAAI,CAAC,QAAQ,KACb,4DAAK,KAAK,EAAC,cAAc,IACvB,2EAAiB,MAAM,IAAE,IAAI,CAAC,KAAK,CAAQ,CACvC,CACP,EAEA,IAAI,CAAC,QAAQ,KACZ,gEAAS,IAAI,EAAC,OAAO,iBAAa,MAAM,gBAAY,UAAU,GAAG,CAClE,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nv-fielddropdownitem/styles/nv-fielddropdownitem.scss?tag=nv-fielddropdownitem","src/components/nv-fielddropdownitem/nv-fielddropdownitem.tsx"],"sourcesContent":["@use \"./mixins\" as *;\n\nnv-fielddropdownitem {\n @include root-styles();\n\n &[disabled]:not([disabled='false']) {\n @include disabled-styles();\n }\n\n .text-wrapper {\n @include text-wrapper-styles();\n }\n\n [data-scope='text'] {\n @include text-styles();\n }\n\n nv-icon[data-scope='selected'] {\n @include selected-icon-styles();\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Event,\n EventEmitter,\n Element,\n Listen,\n} from '@stencil/core';\n\n/**\n * @slot default - The content to be displayed inside the dropdown item.\n */\n@Component({\n tag: 'nv-fielddropdownitem',\n styleUrl: 'styles/nv-fielddropdownitem.scss',\n shadow: false,\n})\nexport class NvFielddropdownitem {\n @Element() el: HTMLNvFielddropdownitemElement;\n private composed = false;\n\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * Disables the item, preventing any user interaction.\n */\n @Prop({ reflect: true })\n readonly disabled: boolean = false;\n\n /**\n * Indicates if the item is selected.\n */\n @Prop({ reflect: true })\n readonly selected: boolean = false;\n\n /**\n * Value associated with the item. This is recommended and required for proper\n * form management.\n */\n @Prop({ reflect: true, mutable: true })\n value?: string;\n\n /**\n * Specifies the text label for the dropdown item.\n *\n * When no default slot is provided, this label is rendered as the item's\n * visible text. If the default slot is supplied, the label isn’t directly\n * displayed but is used as the selected text (on the dropdown trigger). If\n * no label is explicitly set, the component will automatically derive the\n * label from the text content of the default slot.\n */\n @Prop({ reflect: true })\n readonly label?: string;\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region EVENTS\n\n /**\n * Event emitted when the dropdown item is selected.\n */\n @Event()\n dropdownItemSelected: EventEmitter<{\n /** The value associated with the item. */\n label?: string;\n /** The value associated with the item. */\n value: string;\n }>;\n\n @Listen('keydown', { passive: false })\n handleKeyDown(event: KeyboardEvent) {\n if (event.target !== this.el) return;\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.handleSelected();\n\n this.el\n .closest('nv-fielddropdown')\n ?.querySelector<HTMLElement>(\"[data-scope='focusable']\")\n ?.focus();\n }\n }\n\n //#endregion EVENTS\n /****************************************************************************/\n //#region METHODS\n\n private handleSelected = () => {\n if (this.disabled) return;\n\n this.dropdownItemSelected.emit({\n label: this.label,\n value: this.value,\n });\n };\n\n //#endregion METHODS\n /****************************************************************************/\n //#region LIFECYCLE\n\n componentWillLoad() {\n this.composed = Boolean(this.el.children.length);\n if (!this.value) {\n const fallback = this.label ?? this.el.textContent;\n this.value = fallback.replace(/\\W+/g, ''); // Remove non-word characters\n }\n }\n\n //#endregion LIFECYCLE\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host role=\"menuitem\" tabindex={'-1'} onClick={this.handleSelected}>\n <slot />\n\n {!this.composed && (\n <div class=\"text-wrapper\">\n <span data-scope=\"text\">{this.label}</span>\n </div>\n )}\n\n {this.selected && (\n <nv-icon name=\"check\" aria-hidden=\"true\" data-scope=\"selected\" />\n )}\n </Host>\n );\n }\n\n //#endregion RENDER\n}\n"],"version":3}
|