@nova-design-system/nova-webcomponents 3.25.0 → 3.26.0
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/cjs/i18n.utils-BbKpUgYq.js +77 -0
- package/dist/cjs/index.cjs.js +54 -2
- 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 +5 -3
- 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-buttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-calendar.cjs.entry.js +2 -11
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawer.cjs.entry.js +1 -1
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +6 -7
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +19 -18
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +15 -14
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +30 -28
- package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
- package/dist/cjs/nv-icon.cjs.entry.js +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-notification.cjs.entry.js +1 -1
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
- package/dist/cjs/nv-paginationtable.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-split.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +3 -1
- package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
- package/dist/collection/components/nv-badge/nv-badge.css +4 -1
- package/dist/collection/components/nv-badge/nv-badge.js +3 -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-buttongroup/nv-buttongroup.js +1 -1
- package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +4 -4
- package/dist/collection/components/nv-calendar/nv-calendar.js +2 -11
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +0 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
- 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-dialogfooter/nv-dialogfooter.js +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +9 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -7
- package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +0 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldradio/styles/nv-fieldradio.css +20 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +14 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +50 -29
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -4
- package/dist/collection/components/nv-icon/nv-icon.js +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 +1 -1
- package/dist/collection/components/nv-notification/nv-notification.js +1 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +0 -1
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +2 -2
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +1 -2
- package/dist/collection/components/nv-table/nv-table.utils.js +2 -0
- package/dist/collection/components/nv-table/test/nv-table.utils.test.js +0 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.css +26 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.css +7 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/test/class.utils.test.js +0 -1
- package/dist/collection/utils/test/dom.utils.test.js +0 -1
- package/dist/components/_.entry.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +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-breadcrumb.js +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-buttongroup.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 +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-drawerheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +1 -1
- 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 +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-DkC2jlrw.js → p-B5KLppep.js} +1 -1
- package/dist/components/{p-Cfr9uriB.js → p-BAlaMmS4.js} +1 -1
- package/dist/components/p-BPufjY85.js +1 -0
- package/dist/components/p-BaF3Tuua.js +1 -0
- package/dist/components/{p-Cw5yG8cD.js → p-BfaMgLx7.js} +1 -1
- package/dist/components/{p-D7xBylwr.js → p-Bh6WGsHA.js} +1 -1
- package/dist/components/{p-D_JRZMC-.js → p-C2J7j_fw.js} +1 -1
- package/dist/components/{p-C-MlXMFg.js → p-C9p4yTS2.js} +1 -1
- package/dist/components/{p-tJDdN0lo.js → p-CAKTe96z.js} +1 -1
- package/dist/components/{p-C_a7VT_H.js → p-CEI7jWvn.js} +1 -1
- package/dist/components/p-CR9MpYzU.js +1 -0
- package/dist/components/{p-CskCUxuV.js → p-CZcMM7Lh.js} +1 -1
- package/dist/components/p-Ce1IBFTa.js +1 -0
- package/dist/components/{p-BJSrJH9I.js → p-D15RdWEG.js} +1 -1
- package/dist/components/{p-C6LzzMQm.js → p-DDqZBSGn.js} +1 -1
- package/dist/components/{p-BkqfOhkU.js → p-DHNSuxz-.js} +1 -1
- package/dist/components/{p-CPjfMClF.js → p-DhDxhFz-.js} +1 -1
- package/dist/components/{p-Cq5FI49y.js → p-DqU-wS_x.js} +1 -1
- package/dist/components/p-FSPz8FER.js +1 -0
- package/dist/components/{p-Nf-dwTsx.js → p-RUeDcouW.js} +1 -1
- package/dist/components/{p-Bg-b6OWh.js → p-jZF_Ggmx.js} +1 -1
- package/dist/components/p-laRga5dw.js +1 -0
- package/dist/components/{p-mWVXEsBF.js → p-nmQOuX7R.js} +1 -1
- package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
- package/dist/esm/index.js +53 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +5 -3
- 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-buttongroup.entry.js +2 -2
- package/dist/esm/nv-calendar.entry.js +2 -11
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +2 -2
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-drawer.entry.js +1 -1
- package/dist/esm/nv-drawerfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +6 -6
- package/dist/esm/nv-fielddaterange.entry.js +6 -7
- package/dist/esm/nv-fielddropdown.entry.js +6 -5
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +2 -1
- package/dist/esm/nv-fieldnumber.entry.js +4 -4
- package/dist/esm/nv-fieldpassword.entry.js +4 -4
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldslider.entry.js +3 -3
- package/dist/esm/nv-fieldtext.entry.js +4 -4
- package/dist/esm/nv-fieldtextarea.entry.js +30 -28
- package/dist/esm/nv-fieldtime.entry.js +3 -3
- package/dist/esm/nv-icon.entry.js +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-notification.entry.js +1 -1
- package/dist/esm/nv-notificationcontainer.entry.js +1 -1
- package/dist/esm/nv-paginationtable.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-sidebar.entry.js +1 -1
- package/dist/esm/nv-sidebarcontent.entry.js +1 -1
- package/dist/esm/nv-sidebardivider.entry.js +1 -1
- package/dist/esm/nv-sidebarfooter.entry.js +1 -1
- package/dist/esm/nv-sidebargroup.entry.js +1 -1
- package/dist/esm/nv-sidebarheader.entry.js +1 -1
- package/dist/esm/nv-sidebarlogo.entry.js +1 -1
- package/dist/esm/nv-sidebarnavitem.entry.js +2 -2
- package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
- package/dist/esm/nv-split.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +3 -1
- package/dist/esm/nv-tableheader.entry.js +1 -1
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-togglebutton.entry.js +1 -1
- package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
- package/dist/esm/nv-tooltip.entry.js +2 -2
- package/dist/esm/{i18n.utils-IlwlcG9l.js → worker-client-BaF3Tuua.js} +20 -74
- package/dist/lib/scripts/nextjs-entry-shim.js +25 -0
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-00b80d2b.entry.js → p-043d500e.entry.js} +1 -1
- package/dist/native/{p-3ac56d5f.entry.js → p-04956305.entry.js} +1 -1
- package/dist/native/{p-df59dee0.entry.js → p-06a17aba.entry.js} +1 -1
- package/dist/native/{p-4725d9aa.entry.js → p-0819a7b1.entry.js} +1 -1
- package/dist/native/p-0bfd188c.entry.js +1 -0
- package/dist/native/{p-70fa3c6b.entry.js → p-0e8b544b.entry.js} +1 -1
- package/dist/native/{p-6ccea920.entry.js → p-0ec34d19.entry.js} +1 -1
- package/dist/native/{p-84202d8a.entry.js → p-11eb959b.entry.js} +1 -1
- package/dist/native/{p-e371a958.entry.js → p-17f2525a.entry.js} +1 -1
- package/dist/native/p-1a5db5e9.entry.js +1 -0
- package/dist/native/p-1dd3da3b.entry.js +1 -0
- package/dist/native/p-31301f1e.entry.js +1 -0
- package/dist/native/{p-5fb6d986.entry.js → p-3a04a563.entry.js} +1 -1
- package/dist/native/{p-ad05cef2.entry.js → p-3fb1a188.entry.js} +1 -1
- package/dist/native/{p-b65f3418.entry.js → p-48e7b457.entry.js} +1 -1
- package/dist/native/{p-7f3c3c29.entry.js → p-64104dbd.entry.js} +1 -1
- package/dist/native/p-6a9363a6.entry.js +1 -0
- package/dist/native/{p-3bd49efe.entry.js → p-6b655545.entry.js} +1 -1
- package/dist/native/{p-184b4f0d.entry.js → p-702a6646.entry.js} +1 -1
- package/dist/native/{p-2623b212.entry.js → p-70abbe4f.entry.js} +1 -1
- package/dist/native/p-79d8c26b.entry.js +1 -0
- package/dist/native/{p-a813f497.entry.js → p-7a8e2ef3.entry.js} +1 -1
- package/dist/native/{p-4016851b.entry.js → p-7c413f8b.entry.js} +1 -1
- package/dist/native/{p-87f35ce1.entry.js → p-85c8be32.entry.js} +1 -1
- package/dist/native/{p-f1b6d43b.entry.js → p-87a1b06c.entry.js} +1 -1
- package/dist/native/p-89f7d483.entry.js +1 -0
- package/dist/native/{p-a6287e55.entry.js → p-8ce17efd.entry.js} +1 -1
- package/dist/native/p-8dadc0c9.entry.js +1 -0
- package/dist/native/{p-ff7eae44.entry.js → p-945ca1db.entry.js} +1 -1
- package/dist/native/p-97a5f8d5.entry.js +1 -0
- package/dist/native/p-BaF3Tuua.js +1 -0
- package/dist/native/p-CR9MpYzU.js +1 -0
- package/dist/native/p-a8bc3b92.entry.js +1 -0
- package/dist/native/p-a92e2ad8.entry.js +1 -0
- package/dist/native/{p-98de77f8.entry.js → p-a9a07a8d.entry.js} +1 -1
- package/dist/native/{p-3c09e565.entry.js → p-a9a20f37.entry.js} +1 -1
- package/dist/native/{p-91f71346.entry.js → p-aa232a20.entry.js} +1 -1
- package/dist/native/p-ae4fc02a.entry.js +1 -0
- package/dist/native/{p-6f368c8d.entry.js → p-b0d97496.entry.js} +1 -1
- package/dist/native/{p-6ba310e8.entry.js → p-bd143e7b.entry.js} +1 -1
- package/dist/native/{p-29f0730f.entry.js → p-bdaab534.entry.js} +1 -1
- package/dist/native/{p-0242699e.entry.js → p-bdbc92d9.entry.js} +1 -1
- package/dist/native/{p-1b37bf6c.entry.js → p-bef3d325.entry.js} +1 -1
- package/dist/native/{p-997a2268.entry.js → p-c3ea1eca.entry.js} +1 -1
- package/dist/native/p-c825c542.entry.js +1 -0
- package/dist/native/p-ce2c17dc.entry.js +1 -0
- package/dist/native/p-d46ea49a.entry.js +1 -0
- package/dist/native/{p-32cbc18b.entry.js → p-dc0d1690.entry.js} +1 -1
- package/dist/native/{p-34cce087.entry.js → p-e05b6008.entry.js} +1 -1
- package/dist/native/{p-1c86c5b8.entry.js → p-e937d495.entry.js} +1 -1
- package/dist/native/{p-99051651.entry.js → p-f22d2ad9.entry.js} +1 -1
- package/dist/native/p-f2a32774.entry.js +1 -0
- package/dist/native/p-f5eff2b2.entry.js +1 -0
- package/dist/native/p-f64f1bea.entry.js +1 -0
- package/dist/native/{p-4c29c4c7.entry.js → p-fba55e2f.entry.js} +1 -1
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
- package/dist/types/components.d.ts +10 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/nova-docs.d.ts +0 -1
- package/dist/vscode-data.json +5 -1
- package/hydrate/index.js +136 -139
- package/hydrate/index.mjs +136 -139
- package/package.json +2 -2
- package/dist/components/p-BqRuoNHJ.js +0 -1
- package/dist/components/p-CGXDiomF.js +0 -1
- package/dist/components/p-ChRIFm7p.js +0 -1
- package/dist/components/p-IlwlcG9l.js +0 -1
- package/dist/components/p-r3_atQ9r.js +0 -1
- package/dist/native/p-01d09dfa.entry.js +0 -1
- package/dist/native/p-09b88c8d.entry.js +0 -1
- package/dist/native/p-1a1a6bbf.entry.js +0 -1
- package/dist/native/p-223814fe.entry.js +0 -1
- package/dist/native/p-2b7e621a.entry.js +0 -1
- package/dist/native/p-38e981f2.entry.js +0 -1
- package/dist/native/p-3e949805.entry.js +0 -1
- package/dist/native/p-4bda5842.entry.js +0 -1
- package/dist/native/p-6a548776.entry.js +0 -1
- package/dist/native/p-6e9b95fa.entry.js +0 -1
- package/dist/native/p-IlwlcG9l.js +0 -1
- package/dist/native/p-a60660f6.entry.js +0 -1
- package/dist/native/p-bf8b0be2.entry.js +0 -1
- package/dist/native/p-ca3b996b.entry.js +0 -1
- package/dist/native/p-d9c1287c.entry.js +0 -1
- package/dist/native/p-d9cebb66.entry.js +0 -1
- package/dist/native/p-da417f83.entry.js +0 -1
- package/dist/native/p-e5dbacf6.entry.js +0 -1
- package/dist/native/p-ed19f3dc.entry.js +0 -1
|
@@ -11,7 +11,7 @@ const NvRow = class {
|
|
|
11
11
|
/****************************************************************************/
|
|
12
12
|
//#region RENDER
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '507041a8331236632f2dc12e94ca7c87465e8312' }, index.h("slot", { key: '3bef8f23cdc72e42467dc0407b9d2693f15638d7' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NvRow.style = nvRowCss();
|
|
@@ -159,7 +159,7 @@ const NvSidebar = class {
|
|
|
159
159
|
//#region RENDER
|
|
160
160
|
render() {
|
|
161
161
|
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
162
|
-
return (index.h(index.Host, { key: '
|
|
162
|
+
return (index.h(index.Host, { key: 'a22074a54f9d51c5a60dd698573a95862e9df0a8', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, index.h("div", { key: 'f19453d0dbbad812f27f188ef198b895d37e8ad2', class: "nv-sidebar-container" }, index.h("slot", { key: '7194ae2a2a655716f3f1db89d9c38dc4b0ab9df0' })), this.type === 'collapsible' && (index.h("button", { key: '4f7a1805932f6e1783fbcf63dc54d3260464eab0', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, index.h("nv-icon", { key: '76d84d1c07d3f841808950c6805aa7bcaa63cf85', name: this.open
|
|
163
163
|
? 'layout-sidebar-left-collapse'
|
|
164
164
|
: 'layout-sidebar-right-collapse', size: "sm" })))));
|
|
165
165
|
}
|
|
@@ -11,7 +11,7 @@ const NvSidebarcontent = class {
|
|
|
11
11
|
/****************************************************************************/
|
|
12
12
|
//#region RENDER
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: 'e88e1557fbfa8ec74391dc11b6073eecb4d97685', role: "list" }, index.h("slot", { key: 'ccaf985cc498a5729600316135d750190a514582' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NvSidebarcontent.style = nvSidebarcontentCss();
|
|
@@ -11,7 +11,7 @@ const NvSidebardivider = class {
|
|
|
11
11
|
/****************************************************************************/
|
|
12
12
|
//#region RENDER
|
|
13
13
|
render() {
|
|
14
|
-
return index.h(index.Host, { key: '
|
|
14
|
+
return index.h(index.Host, { key: 'e2288aab359dff9087f7758e53a476e4715b0742', role: "separator", "aria-orientation": "horizontal" });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NvSidebardivider.style = nvSidebardividerCss();
|
|
@@ -11,7 +11,7 @@ const NvSidebarfooter = class {
|
|
|
11
11
|
/****************************************************************************/
|
|
12
12
|
//#region RENDER
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: 'ac36a47c2f96070779b7b05134303604e3ef7676' }, index.h("slot", { key: '295d26a47fa386deade3799a02686afe6ef42ce0' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NvSidebarfooter.style = nvSidebarfooterCss();
|
|
@@ -12,7 +12,7 @@ const NvSidebargroup = class {
|
|
|
12
12
|
/****************************************************************************/
|
|
13
13
|
//#region RENDER
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: 'efeaa9f861a41ad96b5f1878510bb1bbbd4a5404', role: "group", "aria-label": this.label }, this.label && index.h("div", { key: '75816b463eeb0cf7687f2b0bca271db560cfafa6', class: "nv-sidebargroup-label" }, this.label), index.h("slot", { key: '614116b7997561766949124e56f3cb66addd419b' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
NvSidebargroup.style = nvSidebargroupCss();
|
|
@@ -11,7 +11,7 @@ const NvSidebarheader = class {
|
|
|
11
11
|
/****************************************************************************/
|
|
12
12
|
//#region RENDER
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '8dd986cfb2cd89557955c6eb61ebfbad0eb1dbcc' }, index.h("slot", { key: 'ee7808c81f750f5c46da9ed0bfd3b9fcb18d393d' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NvSidebarheader.style = nvSidebarheaderCss();
|
|
@@ -21,7 +21,7 @@ const NvSidebarlogo = class {
|
|
|
21
21
|
render() {
|
|
22
22
|
const logoSrc = this.logo || this.defaultLogo;
|
|
23
23
|
const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: '6a1df67b6c23e0c2b4cd4da481dcd7a708062963' }, index.h("div", { key: 'e974e75054b93aac6d417a5fa1c527ca75b0f417', class: "nv-sidebarlogo-container" }, index.h("img", { key: '51bb65b380cc18252a3ea6c16741485a61f0cf12', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), index.h("img", { key: '0cee540a20ffb605ea2efa38c5b5942505ada7db', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && index.h("span", { key: '10ffc4e62a39c5ecfffd9f115c5929057901222a', class: "nv-sidebarlogo-title" }, this.label))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
NvSidebarlogo.style = nvSidebarlogoCss();
|
|
@@ -266,7 +266,7 @@ const NvSidebarnavitem = class {
|
|
|
266
266
|
render() {
|
|
267
267
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
268
268
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
269
|
-
return (index.h(index.Host, { key: '
|
|
269
|
+
return (index.h(index.Host, { key: '0809fb5e4f1663571199bd75e3f2d69d09eabc2f', role: "listitem" }, index.h("div", { key: '6885fbc8e01fd60f32d56a8b750398a772ee1169', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (index.h("div", { key: '515ea7bb25f83fb3a645531ade9370357b1a3cc3', class: "nv-sidebarnavitem-icon" }, index.h("nv-icon", { key: '718f35787fcd979dd305bcf985a51a9bf7f21a8b', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (index.h("nv-notification-bullet", { key: 'c99767c829bf878d30345933d1bdf9f7c79fc778', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), index.h("div", { key: 'd2cfe856fb91a7d15232ff30c73a6709b6adffbf', class: "nv-sidebarnavitem-content" }, index.h("slot", { key: 'dbcc77aaf798efdca11714c0a6c9109c112ea314' })), index.h("div", { key: 'bf0136c15af7ac1c4bb98c9415ef0a37760cf4e1', class: "nv-sidebarnavitem-trailing" }, index.h("slot", { key: 'b84329d00c08ba2e7dc1a783b65d309fbf45a4da', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (index.h("nv-notification-bullet", { key: '8a5b9447b80a59c38f006d86fe0d6bd655e02735', count: this.notificationCount, size: notificationSize })), this.collapsible && (index.h("nv-icon", { key: '47348e1ad810f7abd022dc510bfd11caeb8d8c71', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (index.h("div", { key: 'ba5160e5ea9cac822afdf9ed75f3e00807615304', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
270
270
|
// Only update ref and initialize if element changed or not yet initialized
|
|
271
271
|
if (el !== this.subitemsRef) {
|
|
272
272
|
this.subitemsRef = el;
|
|
@@ -281,7 +281,7 @@ const NvSidebarnavitem = class {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
} }, index.h("slot", { key: '
|
|
284
|
+
} }, index.h("slot", { key: '4cd023b2af51cf8941d29cb2728cdd1c6b2ea8ed', name: "subitems" })))));
|
|
285
285
|
}
|
|
286
286
|
get el() { return index.getElement(this); }
|
|
287
287
|
static get watchers() { return {
|
|
@@ -24,7 +24,7 @@ const NvSidebarnavsubitem = class {
|
|
|
24
24
|
/****************************************************************************/
|
|
25
25
|
//#region RENDER
|
|
26
26
|
render() {
|
|
27
|
-
return (index.h(index.Host, { key: '
|
|
27
|
+
return (index.h(index.Host, { key: 'e5b353c32937bbf45c455593693b58d7177879f9', role: "listitem", "aria-current": this.active ? 'page' : undefined }, index.h("div", { key: 'ebe7894659ae59538adc96043621b37a3145ef1a', class: "nv-sidebarnavsubitem-indicator" }), index.h("div", { key: '2054d9f16623e2611652274f4872b6bcdc78c44c', class: "nv-sidebarnavsubitem-content" }, index.h("slot", { key: 'fa1db84fbb2fcbc3cd6729146b6962445bbba2be' })), index.h("div", { key: 'd3399e26472f48809c2b4fd824402827330b9b11', class: "nv-sidebarnavsubitem-trailing" }, index.h("slot", { key: '5ee8b8b8198854ed658272032855e3cf18f21a25', name: "trailing" }))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
NvSidebarnavsubitem.style = nvSidebarnavsubitemCss();
|
|
@@ -323,7 +323,7 @@ const NvSplit = class {
|
|
|
323
323
|
/****************************************************************************/
|
|
324
324
|
//#region RENDER
|
|
325
325
|
render() {
|
|
326
|
-
return (index.h(index.Host, { key: '
|
|
326
|
+
return (index.h(index.Host, { key: 'ab2b75b963d3cee109e90fe22e0dfe356a384706', "data-dragging": this.isDragging.toString() }, index.h("slot", { key: 'a7a8258a976029f91ffbce3fa1f90f7ed35409ef', name: "pane" }), index.h("slot", { key: '9af34cb299ff061bec6ba7dfe6e969e093aeb3bc', name: "gutter" })));
|
|
327
327
|
}
|
|
328
328
|
get el() { return index.getElement(this); }
|
|
329
329
|
static get watchers() { return {
|
|
@@ -20,7 +20,7 @@ const NvStack = class {
|
|
|
20
20
|
/****************************************************************************/
|
|
21
21
|
//#region RENDER
|
|
22
22
|
render() {
|
|
23
|
-
return (index.h(index.Host, { key: '
|
|
23
|
+
return (index.h(index.Host, { key: '1fe102ad734149231a7058af441e5ee77ef97ca3', class: clsx.clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, index.h("slot", { key: 'f7ed597dabd90182887096441ff1258812dfe9fc' })));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
NvStack.style = nvStackCss();
|
|
@@ -113,6 +113,8 @@ function releasePointerCapture(cell, pointerId) {
|
|
|
113
113
|
* @param {boolean} prevent - Whether to prevent selection
|
|
114
114
|
*/
|
|
115
115
|
function setUserSelectPrevention(prevent) {
|
|
116
|
+
if (!document)
|
|
117
|
+
return; // SSR & node env fallback safety
|
|
116
118
|
document.body.style.userSelect = prevent ? 'none' : '';
|
|
117
119
|
}
|
|
118
120
|
/**
|
|
@@ -231,7 +233,7 @@ const NvTable = class {
|
|
|
231
233
|
/****************************************************************************/
|
|
232
234
|
//#region RENDER
|
|
233
235
|
render() {
|
|
234
|
-
return (index.h(index.Host, { key: '
|
|
236
|
+
return (index.h(index.Host, { key: '0d5518a54b41c67bdd7c73d5147fd954fb53d388' }, index.h("slot", { key: '8ab65d5dd1ce751fd357b275b84db042b1d9ce2e' })));
|
|
235
237
|
}
|
|
236
238
|
get host() { return index.getElement(this); }
|
|
237
239
|
};
|
|
@@ -59,7 +59,7 @@ const NvTableheader = class {
|
|
|
59
59
|
/****************************************************************************/
|
|
60
60
|
//#region RENDER
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '95447cd8ccde74d09226bcdbf645eed309be0fa8', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, index.h("slot", { key: '4e26aa21f080cf23ce42fb72d6777463bd079991' }), this.sortable && (index.h("span", { key: '666254c197e97226d2f1c6830d1216b9457c4acc', class: "sort-icon-wrap", "aria-hidden": "true" }, index.h("nv-iconbutton", { key: '11b2de5c4c270740857094ec8a39f1d392d7246a', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
63
63
|
// prevent mousedown from selecting text
|
|
64
64
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
65
65
|
'is-none': this.sortDirection === 'none',
|
|
@@ -4,7 +4,7 @@ var index = require('./index-BQjqJTJB.js');
|
|
|
4
4
|
var clsx = require('./clsx-BtxeOLZW.js');
|
|
5
5
|
var v4 = require('./v4-C1vaJ4yP.js');
|
|
6
6
|
|
|
7
|
-
const nvToggleCss = () =>
|
|
7
|
+
const nvToggleCss = () => `@charset "UTF-8";nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle label{align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-toggle label.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-toggle-border-default);background:var(--components-toggle-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-toggle-shape-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-toggle-border-hover)}nv-toggle .input-container input[type=checkbox]:hover::after{background-color:var(--components-toggle-shape-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-toggle-border-default)}nv-toggle .input-container input[type=checkbox]:focus::after{background-color:var(--components-toggle-shape-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-toggle-background-default-checked);border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-toggle-shape-default-checked);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-toggle-background-default-checked);border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-toggle-background-disabled);border-color:var(--components-toggle-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked{background:var(--components-toggle-background-disabled-checked);border-color:var(--components-toggle-border-disabled-checked)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-toggle-shape-disabled-checked)}@media print{nv-toggle .input-container input[type=checkbox]::after{content:"●";top:calc(50% - 3.5px);width:auto;height:auto;background:none;color:var(--components-toggle-border-default);font-size:calc(var(--form-toggle-switch-dot-default) * 3);line-height:1}nv-toggle .input-container input[type=checkbox]:checked{background:transparent;border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:"●";top:calc(50% - 3.5px);width:auto;height:auto;left:75%;background:none;color:var(--components-toggle-border-default-checked)}}nv-toggle .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}`;
|
|
8
8
|
|
|
9
9
|
const NvToggle = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -63,8 +63,8 @@ const NvToggle = class {
|
|
|
63
63
|
/****************************************************************************/
|
|
64
64
|
//#region RENDER
|
|
65
65
|
render() {
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
67
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '38dd2a460c82599e2c2bfd6b039eafff0dc6fc67', class: clsx.clsx(this.labelPlacement === 'before' && 'label-placement-before') }, index.h("div", { key: '4d6bf742f548cc5f92ae84497f12569d9680dcef', class: "input-container" }, index.h("input", { key: '97f54363c17cde48ec226680ee58da012e590b69', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), index.h("div", { key: 'e4576a0884f02731a3e6d2d20537cfabf411a8fe', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '4744036b0d1e73f350bbc4b6f6e7664bb9361d1e', htmlFor: this.inputId, class: clsx.clsx(this.hideLabel && 'visually-hidden') }, index.h("slot", { key: '44a2aeb86c840246473bc47e0ba01269af77ef06', name: "label" }, this.label))), (this.description ||
|
|
67
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '6e5c3d1721c9db3cffd019c9274294c40793daf0', class: "description" }, index.h("slot", { key: '87c3d35c78ded085cd1ddb5b2874dfae7bd99842', name: "description" }, this.description))))));
|
|
68
68
|
}
|
|
69
69
|
static get formAssociated() { return true; }
|
|
70
70
|
get el() { return index.getElement(this); }
|
|
@@ -54,7 +54,7 @@ const NvTogglebutton = class {
|
|
|
54
54
|
/****************************************************************************/
|
|
55
55
|
//#region RENDER
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '4af1293d9eb69a3a20d8f30c6b2876c6c29ddc03', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, index.h("slot", { key: '783fad27c525553cd404c1ffed0ae1305d330de8' })));
|
|
58
58
|
}
|
|
59
59
|
get el() { return index.getElement(this); }
|
|
60
60
|
};
|
|
@@ -153,7 +153,7 @@ const NvTogglebuttongroup = class {
|
|
|
153
153
|
/****************************************************************************/
|
|
154
154
|
//#region RENDER
|
|
155
155
|
render() {
|
|
156
|
-
return (index.h(index.Host, { key: '
|
|
156
|
+
return (index.h(index.Host, { key: '1116872815229d09e1e286dd1f12a9787218e207' }, index.h("slot", { key: 'fa5363ec707f38830065718b2423dd8493acdd4e' })));
|
|
157
157
|
}
|
|
158
158
|
get el() { return index.getElement(this); }
|
|
159
159
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BQjqJTJB.js');
|
|
4
4
|
|
|
5
|
-
const nvTooltipCss = () => `nv-tooltip{display:inline-block;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}`;
|
|
5
|
+
const nvTooltipCss = () => `nv-tooltip{display:inline-block;vertical-align:top;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover{display:block;height:0;min-height:0;overflow:visible}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}`;
|
|
6
6
|
|
|
7
7
|
const NvTooltip = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -44,7 +44,7 @@ const NvTooltip = class {
|
|
|
44
44
|
/****************************************************************************/
|
|
45
45
|
//#region RENDER
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: 'bda9ba58186add585457f8fdf4a8e1d6389da01a' }, index.h("nv-popover", { key: 'ac67ea44cebbc8abb9ff4e190668093bb7179222', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, index.h("p", { key: 'b677689d4a73462b7d16ff7d9f31bfd61e7f47eb', slot: "content" }, this.message), index.h("slot", { key: 'bd1540db065fdeceb89d09d69e1dbf7ad4de728d', name: "content" })), index.h("slot", { key: '648d3c3125b0528cd8e88675122d775ad7cc40d9', ref: el => (this.defaultSlot = el) })));
|
|
48
48
|
}
|
|
49
49
|
get el() { return index.getElement(this); }
|
|
50
50
|
};
|
|
@@ -72,6 +72,8 @@ const MIN_WORKER_THRESHOLD = 0;
|
|
|
72
72
|
const MAX_WORKER_THRESHOLD = 50000;
|
|
73
73
|
/** Default fuzzy threshold (0-1, lower = stricter) */
|
|
74
74
|
const DEFAULT_FUZZY_THRESHOLD = 0.3;
|
|
75
|
+
/** Default debounce delay for strict/smart modes (ms) */
|
|
76
|
+
const DEFAULT_DEBOUNCE_DELAY = 150;
|
|
75
77
|
/** Debounce delay for fuzzy mode (ms) */
|
|
76
78
|
const FUZZY_DEBOUNCE_DELAY = 300;
|
|
77
79
|
/**
|
|
@@ -192,6 +194,16 @@ function buildIndex(items) {
|
|
|
192
194
|
};
|
|
193
195
|
});
|
|
194
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* Updates the index when items change.
|
|
199
|
+
* This is an alias for buildIndex for semantic clarity.
|
|
200
|
+
*
|
|
201
|
+
* @param {RawItem[]} items - Array of raw items with id and label
|
|
202
|
+
* @returns {IndexedItem[]} Array of indexed items with pre-computed norm and tokens
|
|
203
|
+
*/
|
|
204
|
+
function rebuildIndex(items) {
|
|
205
|
+
return buildIndex(items);
|
|
206
|
+
}
|
|
195
207
|
|
|
196
208
|
/**
|
|
197
209
|
* @fileoverview Strict search strategy using normalized substring matching.
|
|
@@ -2085,6 +2097,13 @@ function searchFuzzy(indexedItems, query, threshold = 0.3) {
|
|
|
2085
2097
|
// Return IDs sorted by relevance (best matches first)
|
|
2086
2098
|
return results.map(result => result.item.id);
|
|
2087
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Clears the Fuse.js cache.
|
|
2102
|
+
* Call this when the items change to ensure fresh indexing.
|
|
2103
|
+
*/
|
|
2104
|
+
function clearFuzzyCache() {
|
|
2105
|
+
fuseCache = null;
|
|
2106
|
+
}
|
|
2088
2107
|
|
|
2089
2108
|
/**
|
|
2090
2109
|
* @fileoverview Main search engine that orchestrates search operations.
|
|
@@ -2408,87 +2427,28 @@ class SearchWorkerClient {
|
|
|
2408
2427
|
}
|
|
2409
2428
|
}
|
|
2410
2429
|
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
/**
|
|
2416
|
-
* Default translations for truncated results text.
|
|
2417
|
-
* Supports placeholders: {shown} and {total}
|
|
2418
|
-
*/
|
|
2419
|
-
const TRUNCATED_RESULTS_TRANSLATIONS = {
|
|
2420
|
-
en: '{shown} results shown out of {total} — refine your search',
|
|
2421
|
-
fr: '{shown} résultats affichés sur {total} — affinez votre recherche',
|
|
2422
|
-
de: '{shown} von {total} Ergebnissen angezeigt — verfeinern Sie Ihre Suche',
|
|
2423
|
-
es: '{shown} resultados mostrados de {total} — refine su búsqueda',
|
|
2424
|
-
it: '{shown} risultati mostrati su {total} — perfeziona la tua ricerca',
|
|
2425
|
-
nl: '{shown} resultaten getoond van {total} — verfijn uw zoekopdracht',
|
|
2426
|
-
pt: '{shown} resultados exibidos de {total} — refine sua pesquisa',
|
|
2427
|
-
ru: '{shown} результатов показано из {total} — уточните поиск',
|
|
2428
|
-
ja: '{shown}件の結果が{total}件中表示されています — 検索を絞り込んでください',
|
|
2429
|
-
zh: '{shown}个结果,共{total}个 — 请细化您的搜索',
|
|
2430
|
-
ko: '{shown}개 결과가 {total}개 중 표시됨 — 검색을 구체화하세요',
|
|
2431
|
-
};
|
|
2432
|
-
/**
|
|
2433
|
-
* Gets the browser's locale (language code).
|
|
2434
|
-
* Falls back to 'en' if detection fails.
|
|
2435
|
-
*
|
|
2436
|
-
* @returns {string} The locale code (e.g., 'en', 'fr', 'de')
|
|
2437
|
-
*/
|
|
2438
|
-
function getBrowserLocale() {
|
|
2439
|
-
if (typeof navigator === 'undefined') {
|
|
2440
|
-
return 'en';
|
|
2441
|
-
}
|
|
2442
|
-
// Try navigator.language first (e.g., 'en-US', 'fr-FR')
|
|
2443
|
-
const language = navigator.language || navigator.languages?.[0] || 'en';
|
|
2444
|
-
// Extract the base language code (e.g., 'en' from 'en-US')
|
|
2445
|
-
return language.split('-')[0].toLowerCase();
|
|
2446
|
-
}
|
|
2447
|
-
/**
|
|
2448
|
-
* Gets the localized truncated results text.
|
|
2449
|
-
* Automatically detects browser locale and provides appropriate translation.
|
|
2450
|
-
* Falls back to English if translation is not available.
|
|
2451
|
-
*
|
|
2452
|
-
* @param {string} [locale] - Optional locale override. If not provided, uses browser locale.
|
|
2453
|
-
* @returns {string} The localized text with placeholders {shown} and {total}
|
|
2454
|
-
*
|
|
2455
|
-
* @example
|
|
2456
|
-
* getTruncatedResultsText() // Uses browser locale
|
|
2457
|
-
* getTruncatedResultsText('fr') // Returns French translation
|
|
2458
|
-
* getTruncatedResultsText('de') // Returns German translation
|
|
2459
|
-
*/
|
|
2460
|
-
function getTruncatedResultsText(locale) {
|
|
2461
|
-
const targetLocale = locale
|
|
2462
|
-
? locale.split('-')[0].toLowerCase()
|
|
2463
|
-
: getBrowserLocale();
|
|
2464
|
-
return (TRUNCATED_RESULTS_TRANSLATIONS[targetLocale] ||
|
|
2465
|
-
TRUNCATED_RESULTS_TRANSLATIONS.en);
|
|
2466
|
-
}
|
|
2467
|
-
/**
|
|
2468
|
-
* Formats the truncated results text by replacing placeholders with actual values.
|
|
2469
|
-
*
|
|
2470
|
-
* @param {string} template - The text template with {shown} and {total} placeholders
|
|
2471
|
-
* @param {number} shown - The number of items shown
|
|
2472
|
-
* @param {number} total - The total number of items
|
|
2473
|
-
* @returns {string} The formatted text with replaced placeholders
|
|
2474
|
-
*
|
|
2475
|
-
* @example
|
|
2476
|
-
* formatTruncatedResults('{shown} of {total}', 10, 100) // '10 of 100'
|
|
2477
|
-
*/
|
|
2478
|
-
function formatTruncatedResults(template, shown, total) {
|
|
2479
|
-
return template
|
|
2480
|
-
.replace(/{shown}/g, String(shown))
|
|
2481
|
-
.replace(/{total}/g, String(total));
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2430
|
+
exports.DEFAULT_DEBOUNCE_DELAY = DEFAULT_DEBOUNCE_DELAY;
|
|
2431
|
+
exports.DEFAULT_FUZZY_THRESHOLD = DEFAULT_FUZZY_THRESHOLD;
|
|
2432
|
+
exports.DEFAULT_MAX_RESULTS = DEFAULT_MAX_RESULTS;
|
|
2433
|
+
exports.DEFAULT_WORKER_THRESHOLD = DEFAULT_WORKER_THRESHOLD;
|
|
2484
2434
|
exports.FUZZY_DEBOUNCE_DELAY = FUZZY_DEBOUNCE_DELAY;
|
|
2435
|
+
exports.HARD_CAP_MAX_RESULTS = HARD_CAP_MAX_RESULTS;
|
|
2436
|
+
exports.MAX_WORKER_THRESHOLD = MAX_WORKER_THRESHOLD;
|
|
2437
|
+
exports.MIN_MAX_RESULTS = MIN_MAX_RESULTS;
|
|
2438
|
+
exports.MIN_WORKER_THRESHOLD = MIN_WORKER_THRESHOLD;
|
|
2485
2439
|
exports.SearchWorkerClient = SearchWorkerClient;
|
|
2486
2440
|
exports.buildIndex = buildIndex;
|
|
2441
|
+
exports.clampFuzzyThreshold = clampFuzzyThreshold;
|
|
2487
2442
|
exports.clampMaxResults = clampMaxResults;
|
|
2488
2443
|
exports.clampWorkerThreshold = clampWorkerThreshold;
|
|
2489
|
-
exports.
|
|
2444
|
+
exports.clearFuzzyCache = clearFuzzyCache;
|
|
2490
2445
|
exports.getEffectiveFilterMode = getEffectiveFilterMode;
|
|
2491
|
-
exports.getTruncatedResultsText = getTruncatedResultsText;
|
|
2492
2446
|
exports.isWorkerSupported = isWorkerSupported;
|
|
2447
|
+
exports.normalize = normalize;
|
|
2448
|
+
exports.rebuildIndex = rebuildIndex;
|
|
2493
2449
|
exports.search = search;
|
|
2450
|
+
exports.searchFuzzy = searchFuzzy;
|
|
2451
|
+
exports.searchSmart = searchSmart;
|
|
2452
|
+
exports.searchStrict = searchStrict;
|
|
2494
2453
|
exports.shouldUseWorker = shouldUseWorker;
|
|
2454
|
+
exports.tokenize = tokenize;
|
|
@@ -374,7 +374,10 @@ nv-badge.badge-petrol .close:focus-visible, nv-badge.badge-petrol .close:has(:fo
|
|
|
374
374
|
nv-badge.badge-petrol nv-icon {
|
|
375
375
|
color: var(--color-rainbow-8-icon);
|
|
376
376
|
}
|
|
377
|
-
nv-badge
|
|
377
|
+
nv-badge .nv-badge-leading {
|
|
378
|
+
display: contents;
|
|
379
|
+
}
|
|
380
|
+
nv-badge .nv-badge-label {
|
|
378
381
|
font-size: var(--font-size-xs);
|
|
379
382
|
line-height: var(--line-height-xs) !important;
|
|
380
383
|
text-align: center;
|
|
@@ -129,7 +129,9 @@ export class NvBadge {
|
|
|
129
129
|
'with-gap': this.dismissible || this.label,
|
|
130
130
|
'visually-hidden': this._isHidden,
|
|
131
131
|
'is-icon-only': this.isIconOnly,
|
|
132
|
-
}) }, h("
|
|
132
|
+
}) }, h("span", { key: '11cec03cc5f65c6def293b548d71ea53fd2ec2bb', class: "nv-badge-leading" }, this.leadIcon && h("nv-icon", { key: 'a9433930c4e7dd50d3abd34e1cd64b5b4eea9698', name: this.leadIcon, size: "sm" }), h("slot", { key: 'a93320c14a9e31b9b9796b5fb9cb03a04a2ea1d5', name: "leading-icon" })), h("span", { key: '5a8a3568cfbe2e9b61a42b3cd5b5056bd5c2563f', class: clsx('nv-badge-label', {
|
|
133
|
+
'visually-hidden': this.isIconOnly,
|
|
134
|
+
}) }, this.label, h("slot", { key: '4b0c4558957d4505208e2352382365b2f50810d1' })), this.dismissible && (h("button", { key: '945df330dcae40586ac02d349abc73131e8ce596', onClick: this.handleClose, class: "close", type: "button" }, h("nv-icon", { key: '37535be0818bc78809f5585841757dd992617753', name: "x", size: "sm" })))));
|
|
133
135
|
}
|
|
134
136
|
static get is() { return "nv-badge"; }
|
|
135
137
|
static get originalStyleUrls() {
|
|
@@ -34,7 +34,7 @@ export class NvBreadcrumb {
|
|
|
34
34
|
/****************************************************************************/
|
|
35
35
|
//#region RENDER
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '032880129d2acf89ed3e57367e357391a1e0848d', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (h("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (h("slot", { ref: el => (this.defaultSlot = el) })), this.tooltip && (h("nv-tooltip", { key: '90cdd03fa067846b3f3fa8ff264899b6ca170485', ref: el => (this.toolTipRef = el), message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (h("nv-popover", { key: 'acda8815ed5e216cf89cdd34323dd8211a8ea020', ref: el => (this.popoverRef = el), triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, h("ul", { key: '424396d17c2452cb6280aaa6446ee6f8ea52ea6e', slot: "content" }, h("slot", { key: '668bc1e090901e62c01079e4b058d3e6b044afd0' })))), h("span", { key: '1c84f3c4cf91cc976722a838188baae0521eb7f4', "data-scope": "separator" }, "/")));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "nv-breadcrumb"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
export class NvBreadcrumbs {
|
|
6
6
|
//#region RENDER
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'f8221b9ae4d3a5fabedbe497fef43832fc498df4', role: "navigation", "aria-label": "breadcrumbs" }, h("slot", { key: '047683541469ee0490e296813cb7e303127ad200' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "nv-breadcrumbs"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -137,7 +137,7 @@ export class NvButton {
|
|
|
137
137
|
/****************************************************************************/
|
|
138
138
|
//#region RENDER
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '785b6127926d695ddaaff1a1f740102abd5132bb', role: "button", tabindex: this.disableTabindex ? -1 : 0, onClick: this.handleButtonClick }, this.loading && (h("nv-loader", { key: 'b361e4ac45cc1612723d6a67f866b8cdce3c4abc', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), h("slot", { key: 'b23c877bd95ae0a02c89c83e4e3d5f0178d646a5', name: "leading-icon" }), h("slot", { key: '7c95b1f28a64e7bb5ca02abf2190dfda62d1c758' }), h("slot", { key: 'f1cd34ea21393b78bc2f5140364d47b9e70f505c', name: "trailing-icon" })));
|
|
141
141
|
}
|
|
142
142
|
static get is() { return "nv-button"; }
|
|
143
143
|
static get formAssociated() { return true; }
|
|
@@ -91,7 +91,7 @@ export class NvButtongroup {
|
|
|
91
91
|
/****************************************************************************/
|
|
92
92
|
//#region RENDER
|
|
93
93
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'd0322897a0312e7b55b087e4abfc94fcaf9f7747' }, h("slot", { key: '70afccf10fe728482096d3fce42083e9931e06bd' })));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "nv-buttongroup"; }
|
|
97
97
|
static get originalStyleUrls() {
|
|
@@ -13,11 +13,11 @@ nv-buttongroup[emphasis=lower] .group-item, nv-buttongroup[emphasis=lower] .grou
|
|
|
13
13
|
nv-buttongroup:not([orientation=vertical]) .group-item:not(.last):not(.first) {
|
|
14
14
|
border-radius: 0;
|
|
15
15
|
}
|
|
16
|
-
nv-buttongroup:not([orientation=vertical]) .group-item.first {
|
|
16
|
+
nv-buttongroup:not([orientation=vertical]) .group-item.first:not(.last) {
|
|
17
17
|
border-top-right-radius: 0;
|
|
18
18
|
border-bottom-right-radius: 0;
|
|
19
19
|
}
|
|
20
|
-
nv-buttongroup:not([orientation=vertical]) .group-item.last {
|
|
20
|
+
nv-buttongroup:not([orientation=vertical]) .group-item.last:not(.first) {
|
|
21
21
|
border-top-left-radius: 0;
|
|
22
22
|
border-bottom-left-radius: 0;
|
|
23
23
|
}
|
|
@@ -48,11 +48,11 @@ nv-buttongroup[orientation=vertical] .group-item {
|
|
|
48
48
|
nv-buttongroup[orientation=vertical] .group-item:not(.last):not(.first) {
|
|
49
49
|
border-radius: 0;
|
|
50
50
|
}
|
|
51
|
-
nv-buttongroup[orientation=vertical] .group-item.first {
|
|
51
|
+
nv-buttongroup[orientation=vertical] .group-item.first:not(.last) {
|
|
52
52
|
border-bottom-left-radius: 0;
|
|
53
53
|
border-bottom-right-radius: 0;
|
|
54
54
|
}
|
|
55
|
-
nv-buttongroup[orientation=vertical] .group-item.last {
|
|
55
|
+
nv-buttongroup[orientation=vertical] .group-item.last:not(.first) {
|
|
56
56
|
border-top-left-radius: 0;
|
|
57
57
|
border-top-right-radius: 0;
|
|
58
58
|
}
|
|
@@ -28,7 +28,6 @@ export class NvCalendar {
|
|
|
28
28
|
* - Range: "2025-03-15,2025-03-20"
|
|
29
29
|
* @default ""
|
|
30
30
|
*/
|
|
31
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
32
31
|
this.value = '';
|
|
33
32
|
/**
|
|
34
33
|
* Locale for date formatting
|
|
@@ -550,7 +549,6 @@ export class NvCalendar {
|
|
|
550
549
|
// Legacy support (deprecated) - sync props
|
|
551
550
|
const legacyRange = { start: startFormatted, end: endFormatted };
|
|
552
551
|
this.rangeDateChange.emit(legacyRange);
|
|
553
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
554
552
|
this.rangeValue = legacyRange;
|
|
555
553
|
if (!this.showActions) {
|
|
556
554
|
const event = new CustomEvent('closePopover', {
|
|
@@ -575,9 +573,7 @@ export class NvCalendar {
|
|
|
575
573
|
this.resetSelection = () => {
|
|
576
574
|
if (this.selectionType === 'single') {
|
|
577
575
|
this.selectedDate = null;
|
|
578
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
579
576
|
this.singleValue = null;
|
|
580
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
581
577
|
this.value = '';
|
|
582
578
|
this.singleDateChange.emit('');
|
|
583
579
|
this.valueChanged.emit('');
|
|
@@ -585,9 +581,7 @@ export class NvCalendar {
|
|
|
585
581
|
else {
|
|
586
582
|
this.startDate = null;
|
|
587
583
|
this.endDate = null;
|
|
588
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
589
584
|
this.rangeValue = null;
|
|
590
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
591
585
|
this.value = '';
|
|
592
586
|
this.rangeDateChange.emit({ start: '', end: '' });
|
|
593
587
|
this.valueChanged.emit('');
|
|
@@ -602,7 +596,6 @@ export class NvCalendar {
|
|
|
602
596
|
dateFormat: this.dateFormat,
|
|
603
597
|
});
|
|
604
598
|
this.singleDateChange.emit(dateStr);
|
|
605
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
606
599
|
this.singleValue = dateStr;
|
|
607
600
|
const event = new CustomEvent('closePopover', {
|
|
608
601
|
bubbles: true,
|
|
@@ -617,7 +610,6 @@ export class NvCalendar {
|
|
|
617
610
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
618
611
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
619
612
|
});
|
|
620
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
621
613
|
this.rangeValue = {
|
|
622
614
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
623
615
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
@@ -810,7 +802,6 @@ export class NvCalendar {
|
|
|
810
802
|
this.currentDate = startDate;
|
|
811
803
|
if (swapped) {
|
|
812
804
|
// If dates were swapped, update the rangeValue property
|
|
813
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
814
805
|
this.rangeValue = {
|
|
815
806
|
start: formatDate(startDate, { dateFormat: this.dateFormat }),
|
|
816
807
|
end: formatDate(endDate, { dateFormat: this.dateFormat }),
|
|
@@ -914,8 +905,8 @@ export class NvCalendar {
|
|
|
914
905
|
* @slot default - Child content of the component.
|
|
915
906
|
*/
|
|
916
907
|
render() {
|
|
917
|
-
return (h(Host, { key: '
|
|
918
|
-
this.hasActions) && (h("div", { key: '
|
|
908
|
+
return (h(Host, { key: '4e8b7b83c32a4defd9620558ebe6b2d45c63c509' }, h("div", { key: '65b9f1a93cae9fb77d64d5b34333c7775b99ef65', class: "datepicker-root" }, h("div", { key: '54dde61b295e3ee84e6917634bdcdad36d8aed98', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h("div", { key: '8423c5ff77f07f03d9665f2575855ba0a2540fbc', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), ((this.hasShortcuts && this.shortcutsPlacement === 'bottom') ||
|
|
909
|
+
this.hasActions) && (h("div", { key: 'd49a6c9077a4d4795d00a7221ff5ed76980d8a92', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), h("slot", { key: '52ef97f13e630ad31b80ebd53a87f07f18f458d4' })));
|
|
919
910
|
}
|
|
920
911
|
static get is() { return "nv-calendar"; }
|
|
921
912
|
static get originalStyleUrls() {
|
|
@@ -22,7 +22,7 @@ export class NvCol {
|
|
|
22
22
|
/****************************************************************************/
|
|
23
23
|
//#region RENDER
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4fe90a1d020de9e85d32a52ccb39c8b6d8c1fc25', class: clsx(this.getColSize()) }, h("slot", { key: '5a6ad624fd7c6251b2f555c0e3bc828c0e048761' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "nv-col"; }
|
|
28
28
|
static get originalStyleUrls() {
|