@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
|
@@ -71,7 +71,7 @@ export class NvFieldtextarea {
|
|
|
71
71
|
/**
|
|
72
72
|
* Enable this to make the textarea automatically resize as the user types,
|
|
73
73
|
* adjusting the height to fit the content. For the best experience, avoid
|
|
74
|
-
* vertical resizing, as it
|
|
74
|
+
* vertical resizing, as it's controlled by this feature. Horizontal resizing
|
|
75
75
|
* can still be allowed if desired.
|
|
76
76
|
*/
|
|
77
77
|
this.autosize = false;
|
|
@@ -133,35 +133,37 @@ export class NvFieldtextarea {
|
|
|
133
133
|
adjustTextareaHeight() {
|
|
134
134
|
if (this.textareaElement && this.autosize) {
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* A single requestAnimationFrame ensures that the DOM has applied any
|
|
137
137
|
* pending changes (e.g., value updates or attribute changes) before
|
|
138
|
-
*
|
|
138
|
+
* measuring. All style reads and writes happen synchronously within
|
|
139
|
+
* this callback so the browser never paints the intermediate
|
|
140
|
+
* "height: auto" state, avoiding a visible flash.
|
|
139
141
|
*/
|
|
140
142
|
requestAnimationFrame(() => {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
this.textareaElement.style.minHeight = `${minHeight}px`;
|
|
143
|
+
this.textareaElement.style.height = 'auto';
|
|
144
|
+
const computedStyle = window.getComputedStyle(this.textareaElement);
|
|
145
|
+
const lineHeight = parseFloat(computedStyle.lineHeight);
|
|
146
|
+
const paddingTop = parseFloat(computedStyle.paddingTop);
|
|
147
|
+
const paddingBottom = parseFloat(computedStyle.paddingBottom);
|
|
148
|
+
const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
|
|
149
|
+
const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
|
|
150
|
+
// Calculate min-height based on rows
|
|
151
|
+
const minHeight = lineHeight * this.rows +
|
|
152
|
+
paddingTop +
|
|
153
|
+
paddingBottom +
|
|
154
|
+
borderTopWidth +
|
|
155
|
+
borderBottomWidth;
|
|
156
|
+
this.textareaElement.style.minHeight = `${minHeight}px`;
|
|
157
|
+
if (this.maxAutoHeight &&
|
|
158
|
+
this.textareaElement.scrollHeight > this.maxAutoHeight) {
|
|
159
|
+
this.textareaElement.style.height = `${this.maxAutoHeight}px`;
|
|
160
|
+
this.textareaElement.style.overflowY = 'auto';
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
162
163
|
this.textareaElement.style.height =
|
|
163
164
|
this.textareaElement.scrollHeight + 'px';
|
|
164
|
-
|
|
165
|
+
this.textareaElement.style.overflowY = 'hidden';
|
|
166
|
+
}
|
|
165
167
|
});
|
|
166
168
|
}
|
|
167
169
|
}
|
|
@@ -213,11 +215,11 @@ export class NvFieldtextarea {
|
|
|
213
215
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
214
216
|
: undefined;
|
|
215
217
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
216
|
-
return (h(Host, { key: '
|
|
218
|
+
return (h(Host, { key: '9d7aed8625b1cfa103e275495d40116b8f1314c3' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '6609cc39f3809b833a4c9755c487ba3eef05a5c4', htmlFor: this.inputId }, h("slot", { key: '277484af20e4054be5491576ffdfb95ca0f23a79', name: "label" }, this.label))), h("div", { key: '6224c47beaee1e15ea9277a1f69f4ac5ea496cb6', class: "textarea-wrapper" }, h("div", { key: '6dd7868aa65091dd79c34497dec020945d56f925', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h("textarea", { key: '2548dab5d8b387d37036a07c4a76b567c84a8b59', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
217
219
|
'aria-required': String(ariaRequiredValue),
|
|
218
220
|
}), maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
219
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
220
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
221
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: '10ba44a9c4b83db00d00c2a4e791c68836413aac', class: "description" }, h("slot", { key: '5015686b48e185707376008306c204432199cde1', name: "description" }, this.description))), (this.errorDescription ||
|
|
222
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '312502a84e08fdacbe77cc55f4e91e0b4122c82b', hidden: !this.error, class: "error-description" }, h("slot", { key: 'b837f0784d75b8d0df04e025ee8f9a309c6f46d3', name: "error-description" }, this.errorDescription)))));
|
|
221
223
|
}
|
|
222
224
|
static get is() { return "nv-fieldtextarea"; }
|
|
223
225
|
static get formAssociated() { return true; }
|
|
@@ -636,7 +638,7 @@ export class NvFieldtextarea {
|
|
|
636
638
|
"optional": false,
|
|
637
639
|
"docs": {
|
|
638
640
|
"tags": [],
|
|
639
|
-
"text": "Enable this to make the textarea automatically resize as the user types,\nadjusting the height to fit the content. For the best experience, avoid\nvertical resizing, as it
|
|
641
|
+
"text": "Enable this to make the textarea automatically resize as the user types,\nadjusting the height to fit the content. For the best experience, avoid\nvertical resizing, as it's controlled by this feature. Horizontal resizing\ncan still be allowed if desired."
|
|
640
642
|
},
|
|
641
643
|
"getter": false,
|
|
642
644
|
"setter": false,
|
|
@@ -644,6 +646,25 @@ export class NvFieldtextarea {
|
|
|
644
646
|
"attribute": "autosize",
|
|
645
647
|
"defaultValue": "false"
|
|
646
648
|
},
|
|
649
|
+
"maxAutoHeight": {
|
|
650
|
+
"type": "number",
|
|
651
|
+
"mutable": false,
|
|
652
|
+
"complexType": {
|
|
653
|
+
"original": "number",
|
|
654
|
+
"resolved": "number",
|
|
655
|
+
"references": {}
|
|
656
|
+
},
|
|
657
|
+
"required": false,
|
|
658
|
+
"optional": false,
|
|
659
|
+
"docs": {
|
|
660
|
+
"tags": [],
|
|
661
|
+
"text": "Sets a maximum height (in pixels) for the textarea when autosize is\nenabled. Once the content exceeds this height the textarea will stop\ngrowing and the content will overflow with a scrollbar. This is useful\nfor chat-style inputs where unlimited growth is undesirable. Only\napplies when `autosize` is `true`."
|
|
662
|
+
},
|
|
663
|
+
"getter": false,
|
|
664
|
+
"setter": false,
|
|
665
|
+
"reflect": true,
|
|
666
|
+
"attribute": "max-auto-height"
|
|
667
|
+
},
|
|
647
668
|
"autofocus": {
|
|
648
669
|
"type": "boolean",
|
|
649
670
|
"mutable": false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-bind */
|
|
2
1
|
import { Host, h, forceUpdate, } from "@stencil/core";
|
|
3
2
|
import { v4 as uuidv4 } from "uuid";
|
|
4
3
|
import { TimeType } from "../../utils/constants";
|
|
@@ -872,9 +871,9 @@ export class NvFieldtime {
|
|
|
872
871
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
873
872
|
}
|
|
874
873
|
render() {
|
|
875
|
-
return (h(Host, { key: '
|
|
876
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
877
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
874
|
+
return (h(Host, { key: 'a02fbea3aa9b46d22978cececd750548c16c79cf', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '0ec36fbb4e2e810455e35537277496b600b8bd72', htmlFor: this.inputId }, h("slot", { key: '5ab4bca171c9d68fbb592c378b0db30139e23642', name: "label" }, this.label))), h("nv-popover", { key: '962705b7347af233d00ad7c33ea8777403e32534', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: this.handleOpenChanged }, h("div", { key: '16e06fbf7003cfdf29e019cd4dfcd33c3b4a12e4', class: "input-wrapper", slot: "trigger" }, h("slot", { key: '64c31ef85a92430ac348e9ff06405f682ceb7a98', name: "before-input" }), h("div", { key: '291130925798643a0c034719fc46a5ee391ec487', class: "input-container" }, h("slot", { key: '823f17b06aeb798216a46631655513bef79f7508', name: "leading-input" }), this.renderTimeInputFields(), h("nv-iconbutton", { key: '4e87bc2c19494f43cb4ac7dfb3b370eac6edab0b', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (h("nv-icon", { key: 'a5c97446025ee0b571f3fe2223dfd759ed69f9ca', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h("nv-icon", { key: '475f240e74459e16e5a9dd3bea0df21f32949e18', name: "circle-check", class: "validation", size: "sm" }))), h("slot", { key: '696be862dee53acc18c311fe2ea26f4ec099c62e', name: "after-input" })), h("div", { key: '75e7e8ad1c1bc7be602d633946b3845007a3b1c5', class: "time-dropdown", slot: "content" }, h("div", { key: '89898000bb7005ef687372d1016b5b93f02a43bc', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
|
|
875
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: 'a0bddd8851b21c57637fbe8f9d8a83d62ff43bdf', class: "description" }, h("slot", { key: '133c39ce0065b8f95a932d12c5150af595eab460', name: "description" }, this.description))), (this.errorDescription ||
|
|
876
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'de3a537dd418c1c218eceb8062fd925c0ea06bba', hidden: !this.error, class: "error-description" }, h("slot", { key: '97e2865ce647f2e4e32697acf5154fc94be9eab7', name: "error-description" }, this.errorDescription)))));
|
|
878
877
|
}
|
|
879
878
|
static get is() { return "nv-fieldtime"; }
|
|
880
879
|
static get formAssociated() { return true; }
|
|
@@ -48,7 +48,7 @@ export class NvIcon {
|
|
|
48
48
|
/****************************************************************************/
|
|
49
49
|
//#region RENDER
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'd96ca7fdb241a00f00ccdbce5f0437efade91e5e', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h("svg", { key: '9de91a2e3ed62fc6128249a3ebf791bf42053475', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h("use", { key: '4e9891a48aa09ec65096298ced483092d0a54d23', href: `#nvicon_${this.name}` }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "nv-icon"; }
|
|
54
54
|
static get originalStyleUrls() {
|
|
@@ -115,7 +115,7 @@ export class NvIconbutton {
|
|
|
115
115
|
/****************************************************************************/
|
|
116
116
|
//#region RENDER
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'e63c932f14d3b673d43ed48f61bb37a48605338d', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h("nv-loader", { key: '22ea154dce89eae701d873674a8bc6b2cecbcab9', size: this.size }), !this.loading && h("nv-icon", { key: 'f05c05c455e62d27aed57de09efd32230f68c450', name: this.name, size: this.size }), h("slot", { key: 'a1a163e56c8c027d0df2a019f77c187c6abbd91a' })));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "nv-iconbutton"; }
|
|
121
121
|
static get formAssociated() { return true; }
|
|
@@ -16,7 +16,7 @@ export class NvLoader {
|
|
|
16
16
|
//#region RENDER
|
|
17
17
|
/* <slot> empty to force rendering change */
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '5449f31fff78e9aabb1a6af11b99247cdf9fd4f3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "nv-loader"; }
|
|
22
22
|
static get originalStyleUrls() {
|
|
@@ -192,7 +192,7 @@ export class NvMenu {
|
|
|
192
192
|
this.triggerElement = this.el.querySelector('[slot="trigger"]');
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: '470d14ed698cc0064a24bf02e5fac3b32d64601a' }, h("slot", { key: '2dd81fbe5a23b5225fc464fe528ff08983959b7f', name: "trigger" }), h("nv-popover", { key: '68634d33954033dbd997c8a7f7ed711c6a17470b', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open, onOpenChanged: this.handleOpenChanged.bind(this) }, this.items ? (h("ul", { slot: "content" }, this.renderMenuItems())) : (h("slot", { name: "content" })))));
|
|
196
196
|
}
|
|
197
197
|
static get is() { return "nv-menu"; }
|
|
198
198
|
static get originalStyleUrls() {
|
|
@@ -43,7 +43,7 @@ export class NvMenuitem {
|
|
|
43
43
|
/****************************************************************************/
|
|
44
44
|
//#region RENDER
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'aac708fbf246c1083c3c4666e97b421485dd44a6', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: '3b37a8661321152859dbc4247b299e60e909fe34', name: this.icon }), h("slot", { key: 'e690d7574f8960c44bee2e3f20b1150b578a49da' }), this.label && h("span", { key: '32d487f8ec9c1d6a910734c825382899982a23a5', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: 'cefcda06f7cb217348e5027ee6a38f8731421d6e' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: '1085e47ae40ac38f87fca10dfbecbf32db95bace', name: "chevron-right" })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "nv-menuitem"; }
|
|
49
49
|
static get originalStyleUrls() {
|
|
@@ -158,7 +158,7 @@ export class NvNotification {
|
|
|
158
158
|
/****************************************************************************/
|
|
159
159
|
//#region RENDER
|
|
160
160
|
render() {
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '3c5025f664fcfc1e68856c003cd31ff10b8efdd9', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": this.getHeadingId() ?? null, "aria-describedby": this.getMessageId() ?? null, tabindex: "-1" }, h("div", { key: 'a26032a0b0ac9818b5da1f6e815a8c96f096ed46', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: 'f660bc8b5e5d8df073b69fb60d1ed0b11ec75c6f', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'dbeea84ab7f1c965eae3a8ae74b7afca98453705', name: "x", size: "sm" }))), h("nv-icon", { key: '0cbcee4f8667579b38ea205bdd747aabf6bdca8c', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: 'aed13fae98256180ff8d453c9f9d108eab429952', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'a2964d1c4dc744765ed916fe74d6cc167164eaf4', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: '2eee0bd4a73fd92ea283ae6cd50af2d1edc01f0c', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '2f7e9b5429b9fa27bc4088b5d26955b8360695c1', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'f1b3dbe8722c8750231b4fb18fdc120ecfd04c54', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '56a881b3a53bb68a214f8db560805c726930b8d4', "data-scope": "actions" }, h("slot", { key: 'ece50671721f12e58dfd03df09545cb456d00a9c', name: "actions" })))))));
|
|
162
162
|
}
|
|
163
163
|
static get is() { return "nv-notification"; }
|
|
164
164
|
static get originalStyleUrls() {
|
|
@@ -29,7 +29,7 @@ export class NvNotificationContainer {
|
|
|
29
29
|
/****************************************************************************/
|
|
30
30
|
//#region RENDER
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '97882d6391db2e1c9db884a84469db78136765e4', class: `position-${this.position}` }, h("slot", { key: '0a0c52f26006ebd186862634b7b5470c7410c976' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "nv-notificationcontainer"; }
|
|
35
35
|
static get originalStyleUrls() {
|
|
@@ -143,7 +143,7 @@ export class NvPaginationtable {
|
|
|
143
143
|
const pageLabel = interpolate(this.labelPage, { pageIndex: this.pageIndex + 1, pageCount: this.pageCount }, 'Page {pageIndex} of {pageCount}');
|
|
144
144
|
const totalLabel = interpolate(this.labelTotal, { rowCount: this.rowCount }, 'Total: {rowCount} rows');
|
|
145
145
|
const pageSizeOptions = generatePageSizeOptions(this.labelPageSizeOption ?? '{pageSize} per page');
|
|
146
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: '1ca51049fc16cc949fe38c80ceabc7a72f189279' }, !this.hideControls && (h("div", { key: '6962c8ee324aa42f5eb5defceb48cbb6b5a6ed0a', "data-scope": "controls" }, !this.hideFirstLast && (h("nv-iconbutton", { key: 'faa193b020c69f274fd7024a9fbc736661500152', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'dfa8731f6389768a659207bac3752b9ac674c9e8', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'a546e95f9921f4b6b0848ce1eaee929ac223949a', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (h("nv-iconbutton", { key: 'f59fac8c7ee04c37779089aa8de8980d5ca51d04', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), h("span", { key: '32079d8ea98a2918eee76c0176515eba13ac24a0', "data-scope": "page-label" }, pageLabel), h("span", { key: '21c38d9e335ce7c9d952f5ef8201d51f1d486b76', "data-scope": "total" }, totalLabel), h("div", { key: 'e981f5e869c08bdd52639b35ac6bec3deec8577c', "data-scope": "per-page" }, h("nv-fieldselect", { key: 'ac22a50b68b7a75f0560d19641c159a5d771bceb', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), h("slot", { key: '784a6edbfbf83b76ef7e49e881591ba16e9da064' })));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "nv-paginationtable"; }
|
|
149
149
|
static get originalStyleUrls() {
|
|
@@ -311,7 +311,7 @@ export class NvPopover {
|
|
|
311
311
|
/****************************************************************************/
|
|
312
312
|
//#region RENDER
|
|
313
313
|
render() {
|
|
314
|
-
return (h(Host, { key: '
|
|
314
|
+
return (h(Host, { key: '8d6cfba040e2e29705a6e9fd3c1044c9e0b668b1' }, h("slot", { key: '1ea59e4037bf56ced06ad652c9c55bbc56556fd5', name: "trigger" }), h("div", { key: '7023f506e410e44a85c4683ebccfe10fdaf45c10', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'b336819de26b0ae8899dbd378272a6a5a30517d6', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: 'fd9aad00f57cb5bab850983f2b28ea80b4cdd7fb', name: "content" }))));
|
|
315
315
|
}
|
|
316
316
|
static get is() { return "nv-popover"; }
|
|
317
317
|
static get originalStyleUrls() {
|
|
@@ -6,7 +6,7 @@ export class NvRow {
|
|
|
6
6
|
/****************************************************************************/
|
|
7
7
|
//#region RENDER
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '507041a8331236632f2dc12e94ca7c87465e8312' }, h("slot", { key: '3bef8f23cdc72e42467dc0407b9d2693f15638d7' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "nv-row"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -156,7 +156,7 @@ export class NvSidebar {
|
|
|
156
156
|
//#region RENDER
|
|
157
157
|
render() {
|
|
158
158
|
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(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 }, h("div", { key: 'f19453d0dbbad812f27f188ef198b895d37e8ad2', class: "nv-sidebar-container" }, h("slot", { key: '7194ae2a2a655716f3f1db89d9c38dc4b0ab9df0' })), this.type === 'collapsible' && (h("button", { key: '4f7a1805932f6e1783fbcf63dc54d3260464eab0', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h("nv-icon", { key: '76d84d1c07d3f841808950c6805aa7bcaa63cf85', name: this.open
|
|
160
160
|
? 'layout-sidebar-left-collapse'
|
|
161
161
|
: 'layout-sidebar-right-collapse', size: "sm" })))));
|
|
162
162
|
}
|
|
@@ -7,7 +7,7 @@ export class NvSidebarcontent {
|
|
|
7
7
|
/****************************************************************************/
|
|
8
8
|
//#region RENDER
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'e88e1557fbfa8ec74391dc11b6073eecb4d97685', role: "list" }, h("slot", { key: 'ccaf985cc498a5729600316135d750190a514582' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "nv-sidebarcontent"; }
|
|
13
13
|
static get originalStyleUrls() {
|
|
@@ -6,7 +6,7 @@ export class NvSidebardivider {
|
|
|
6
6
|
/****************************************************************************/
|
|
7
7
|
//#region RENDER
|
|
8
8
|
render() {
|
|
9
|
-
return h(Host, { key: '
|
|
9
|
+
return h(Host, { key: 'e2288aab359dff9087f7758e53a476e4715b0742', role: "separator", "aria-orientation": "horizontal" });
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "nv-sidebardivider"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -8,7 +8,7 @@ export class NvSidebarfooter {
|
|
|
8
8
|
/****************************************************************************/
|
|
9
9
|
//#region RENDER
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'ac36a47c2f96070779b7b05134303604e3ef7676' }, h("slot", { key: '295d26a47fa386deade3799a02686afe6ef42ce0' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "nv-sidebarfooter"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -8,7 +8,7 @@ export class NvSidebargroup {
|
|
|
8
8
|
/****************************************************************************/
|
|
9
9
|
//#region RENDER
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'efeaa9f861a41ad96b5f1878510bb1bbbd4a5404', role: "group", "aria-label": this.label }, this.label && h("div", { key: '75816b463eeb0cf7687f2b0bca271db560cfafa6', class: "nv-sidebargroup-label" }, this.label), h("slot", { key: '614116b7997561766949124e56f3cb66addd419b' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "nv-sidebargroup"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -8,7 +8,7 @@ export class NvSidebarheader {
|
|
|
8
8
|
/****************************************************************************/
|
|
9
9
|
//#region RENDER
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '8dd986cfb2cd89557955c6eb61ebfbad0eb1dbcc' }, h("slot", { key: 'ee7808c81f750f5c46da9ed0bfd3b9fcb18d393d' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "nv-sidebarheader"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -19,7 +19,7 @@ export class NvSidebarlogo {
|
|
|
19
19
|
render() {
|
|
20
20
|
const logoSrc = this.logo || this.defaultLogo;
|
|
21
21
|
const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '6a1df67b6c23e0c2b4cd4da481dcd7a708062963' }, h("div", { key: 'e974e75054b93aac6d417a5fa1c527ca75b0f417', class: "nv-sidebarlogo-container" }, h("img", { key: '51bb65b380cc18252a3ea6c16741485a61f0cf12', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h("img", { key: '0cee540a20ffb605ea2efa38c5b5942505ada7db', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && h("span", { key: '10ffc4e62a39c5ecfffd9f115c5929057901222a', class: "nv-sidebarlogo-title" }, this.label))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "nv-sidebarlogo"; }
|
|
25
25
|
static get originalStyleUrls() {
|
|
@@ -268,7 +268,7 @@ export class NvSidebarnavitem {
|
|
|
268
268
|
render() {
|
|
269
269
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
270
270
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
271
|
-
return (h(Host, { key: '
|
|
271
|
+
return (h(Host, { key: '0809fb5e4f1663571199bd75e3f2d69d09eabc2f', role: "listitem" }, 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 && (h("div", { key: '515ea7bb25f83fb3a645531ade9370357b1a3cc3', class: "nv-sidebarnavitem-icon" }, h("nv-icon", { key: '718f35787fcd979dd305bcf985a51a9bf7f21a8b', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h("nv-notification-bullet", { key: 'c99767c829bf878d30345933d1bdf9f7c79fc778', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h("div", { key: 'd2cfe856fb91a7d15232ff30c73a6709b6adffbf', class: "nv-sidebarnavitem-content" }, h("slot", { key: 'dbcc77aaf798efdca11714c0a6c9109c112ea314' })), h("div", { key: 'bf0136c15af7ac1c4bb98c9415ef0a37760cf4e1', class: "nv-sidebarnavitem-trailing" }, h("slot", { key: 'b84329d00c08ba2e7dc1a783b65d309fbf45a4da', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '8a5b9447b80a59c38f006d86fe0d6bd655e02735', count: this.notificationCount, size: notificationSize })), this.collapsible && (h("nv-icon", { key: '47348e1ad810f7abd022dc510bfd11caeb8d8c71', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h("div", { key: 'ba5160e5ea9cac822afdf9ed75f3e00807615304', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
272
272
|
// Only update ref and initialize if element changed or not yet initialized
|
|
273
273
|
if (el !== this.subitemsRef) {
|
|
274
274
|
this.subitemsRef = el;
|
|
@@ -283,7 +283,7 @@ export class NvSidebarnavitem {
|
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
} }, h("slot", { key: '
|
|
286
|
+
} }, h("slot", { key: '4cd023b2af51cf8941d29cb2728cdd1c6b2ea8ed', name: "subitems" })))));
|
|
287
287
|
}
|
|
288
288
|
static get is() { return "nv-sidebarnavitem"; }
|
|
289
289
|
static get originalStyleUrls() {
|
|
@@ -23,7 +23,7 @@ export class NvSidebarnavsubitem {
|
|
|
23
23
|
/****************************************************************************/
|
|
24
24
|
//#region RENDER
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'e5b353c32937bbf45c455593693b58d7177879f9', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h("div", { key: 'ebe7894659ae59538adc96043621b37a3145ef1a', class: "nv-sidebarnavsubitem-indicator" }), h("div", { key: '2054d9f16623e2611652274f4872b6bcdc78c44c', class: "nv-sidebarnavsubitem-content" }, h("slot", { key: 'fa1db84fbb2fcbc3cd6729146b6962445bbba2be' })), h("div", { key: 'd3399e26472f48809c2b4fd824402827330b9b11', class: "nv-sidebarnavsubitem-trailing" }, h("slot", { key: '5ee8b8b8198854ed658272032855e3cf18f21a25', name: "trailing" }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "nv-sidebarnavsubitem"; }
|
|
29
29
|
static get originalStyleUrls() {
|
|
@@ -321,7 +321,7 @@ export class NvSplit {
|
|
|
321
321
|
/****************************************************************************/
|
|
322
322
|
//#region RENDER
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'ab2b75b963d3cee109e90fe22e0dfe356a384706', "data-dragging": this.isDragging.toString() }, h("slot", { key: 'a7a8258a976029f91ffbce3fa1f90f7ed35409ef', name: "pane" }), h("slot", { key: '9af34cb299ff061bec6ba7dfe6e969e093aeb3bc', name: "gutter" })));
|
|
325
325
|
}
|
|
326
326
|
static get is() { return "nv-split"; }
|
|
327
327
|
static get originalStyleUrls() {
|
|
@@ -18,7 +18,7 @@ export class NvStack {
|
|
|
18
18
|
/****************************************************************************/
|
|
19
19
|
//#region RENDER
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '1fe102ad734149231a7058af441e5ee77ef97ca3', class: 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') }, h("slot", { key: 'f7ed597dabd90182887096441ff1258812dfe9fc' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "nv-stack"; }
|
|
24
24
|
static get originalStyleUrls() {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable @stencil-community/prefer-vdom-listener */
|
|
2
1
|
// Useful link for styling help ->
|
|
3
2
|
// https://css-tricks.com/complete-guide-table-element/
|
|
4
3
|
import { Host, h } from "@stencil/core";
|
|
@@ -59,7 +58,7 @@ export class NvTable {
|
|
|
59
58
|
/****************************************************************************/
|
|
60
59
|
//#region RENDER
|
|
61
60
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '0d5518a54b41c67bdd7c73d5147fd954fb53d388' }, h("slot", { key: '8ab65d5dd1ce751fd357b275b84db042b1d9ce2e' })));
|
|
63
62
|
}
|
|
64
63
|
static get is() { return "nv-table"; }
|
|
65
64
|
static get originalStyleUrls() {
|
|
@@ -109,6 +109,8 @@ export function releasePointerCapture(cell, pointerId) {
|
|
|
109
109
|
* @param {boolean} prevent - Whether to prevent selection
|
|
110
110
|
*/
|
|
111
111
|
export function setUserSelectPrevention(prevent) {
|
|
112
|
+
if (!document)
|
|
113
|
+
return; // SSR & node env fallback safety
|
|
112
114
|
document.body.style.userSelect = prevent ? 'none' : '';
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable jsdoc/require-jsdoc */
|
|
2
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
2
|
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
4
3
|
import { TABLE_CONSTANTS, getHandleWidthForCurrentPointer, getPointerOffsetInCell, isInResizeHandle, calculateNewWidth, isValidTableCell, getClosestTableCell, setPointerCapture, releasePointerCapture, setUserSelectPrevention, getCellWidth, setCellWidth, calculatePointerDelta, createResizeState, isValidResizeState, updateCellWidthFromResize, } from "../nv-table.utils";
|
|
@@ -55,7 +55,7 @@ export class NvTableheader {
|
|
|
55
55
|
/****************************************************************************/
|
|
56
56
|
//#region RENDER
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '95447cd8ccde74d09226bcdbf645eed309be0fa8', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h("slot", { key: '4e26aa21f080cf23ce42fb72d6777463bd079991' }), this.sortable && (h("span", { key: '666254c197e97226d2f1c6830d1216b9457c4acc', class: "sort-icon-wrap", "aria-hidden": "true" }, h("nv-iconbutton", { key: '11b2de5c4c270740857094ec8a39f1d392d7246a', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
59
59
|
// prevent mousedown from selecting text
|
|
60
60
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
61
61
|
'is-none': this.sortDirection === 'none',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
nv-toggle {
|
|
2
3
|
display: inline-flex;
|
|
3
4
|
align-items: flex-start;
|
|
@@ -118,6 +119,31 @@ nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked
|
|
|
118
119
|
nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after {
|
|
119
120
|
background-color: var(--components-toggle-shape-disabled-checked);
|
|
120
121
|
}
|
|
122
|
+
@media print {
|
|
123
|
+
nv-toggle .input-container input[type=checkbox]::after {
|
|
124
|
+
content: "●";
|
|
125
|
+
top: calc(50% - 3.5px);
|
|
126
|
+
width: auto;
|
|
127
|
+
height: auto;
|
|
128
|
+
background: none;
|
|
129
|
+
color: var(--components-toggle-border-default);
|
|
130
|
+
font-size: calc(var(--form-toggle-switch-dot-default) * 3);
|
|
131
|
+
line-height: 1;
|
|
132
|
+
}
|
|
133
|
+
nv-toggle .input-container input[type=checkbox]:checked {
|
|
134
|
+
background: transparent;
|
|
135
|
+
border-color: var(--components-toggle-border-default-checked);
|
|
136
|
+
}
|
|
137
|
+
nv-toggle .input-container input[type=checkbox]:checked::after {
|
|
138
|
+
content: "●";
|
|
139
|
+
top: calc(50% - 3.5px);
|
|
140
|
+
width: auto;
|
|
141
|
+
height: auto;
|
|
142
|
+
left: 75%;
|
|
143
|
+
background: none;
|
|
144
|
+
color: var(--components-toggle-border-default-checked);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
121
147
|
nv-toggle .description {
|
|
122
148
|
align-self: stretch;
|
|
123
149
|
color: var(--components-form-text-description-default);
|
|
@@ -60,8 +60,8 @@ export class NvToggle {
|
|
|
60
60
|
/****************************************************************************/
|
|
61
61
|
//#region RENDER
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
64
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
63
|
+
return (h(Host, { key: '38dd2a460c82599e2c2bfd6b039eafff0dc6fc67', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h("div", { key: '4d6bf742f548cc5f92ae84497f12569d9680dcef', class: "input-container" }, 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 })), h("div", { key: 'e4576a0884f02731a3e6d2d20537cfabf411a8fe', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '4744036b0d1e73f350bbc4b6f6e7664bb9361d1e', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: '44a2aeb86c840246473bc47e0ba01269af77ef06', name: "label" }, this.label))), (this.description ||
|
|
64
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: '6e5c3d1721c9db3cffd019c9274294c40793daf0', class: "description" }, h("slot", { key: '87c3d35c78ded085cd1ddb5b2874dfae7bd99842', name: "description" }, this.description))))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "nv-toggle"; }
|
|
67
67
|
static get formAssociated() { return true; }
|
|
@@ -50,7 +50,7 @@ export class NvTogglebutton {
|
|
|
50
50
|
/****************************************************************************/
|
|
51
51
|
//#region RENDER
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '4af1293d9eb69a3a20d8f30c6b2876c6c29ddc03', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h("slot", { key: '783fad27c525553cd404c1ffed0ae1305d330de8' })));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "nv-togglebutton"; }
|
|
56
56
|
static get originalStyleUrls() {
|
|
@@ -149,7 +149,7 @@ export class NvTogglebuttongroup {
|
|
|
149
149
|
/****************************************************************************/
|
|
150
150
|
//#region RENDER
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '1116872815229d09e1e286dd1f12a9787218e207' }, h("slot", { key: 'fa5363ec707f38830065718b2423dd8493acdd4e' })));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "nv-togglebuttongroup"; }
|
|
155
155
|
static get originalStyleUrls() {
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
nv-tooltip {
|
|
2
2
|
display: inline-block;
|
|
3
|
+
vertical-align: top;
|
|
3
4
|
position: relative;
|
|
4
5
|
user-select: none;
|
|
5
6
|
}
|
|
6
7
|
nv-tooltip:has([fluid]:not([fluid=false])) {
|
|
7
8
|
display: block;
|
|
8
9
|
}
|
|
10
|
+
nv-tooltip nv-popover {
|
|
11
|
+
display: block;
|
|
12
|
+
height: 0;
|
|
13
|
+
min-height: 0;
|
|
14
|
+
overflow: visible;
|
|
15
|
+
}
|
|
9
16
|
nv-tooltip nv-popover > [data-scope=popover] {
|
|
10
17
|
background: var(--components-tooltip-background);
|
|
11
18
|
color: var(--components-tooltip-text);
|
|
@@ -41,7 +41,7 @@ export class NvTooltip {
|
|
|
41
41
|
/****************************************************************************/
|
|
42
42
|
//#region RENDER
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'bda9ba58186add585457f8fdf4a8e1d6389da01a' }, 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) }, h("p", { key: 'b677689d4a73462b7d16ff7d9f31bfd61e7f47eb', slot: "content" }, this.message), h("slot", { key: 'bd1540db065fdeceb89d09d69e1dbf7ad4de728d', name: "content" })), h("slot", { key: '648d3c3125b0528cd8e88675122d775ad7cc40d9', ref: el => (this.defaultSlot = el) })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "nv-tooltip"; }
|
|
47
47
|
static get originalStyleUrls() {
|
package/dist/collection/index.js
CHANGED
|
@@ -18,4 +18,6 @@ import * as uriUtils_1 from "./utils/uri.utils";
|
|
|
18
18
|
export { uriUtils_1 as uriUtils };
|
|
19
19
|
import * as animations_1 from "./animations";
|
|
20
20
|
export { animations_1 as animations };
|
|
21
|
+
import * as searchEngine_1 from "./utils/search-engine";
|
|
22
|
+
export { searchEngine_1 as searchEngine };
|
|
21
23
|
export { iconNames } from './components/nv-icon/nv-icons';
|