@nova-design-system/nova-webcomponents 3.29.0 → 3.31.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/{constants-BugGJYqL.js → constants-BSdCE1ZF.js} +5 -0
- package/dist/cjs/index-Bj9nnTVm.js +4856 -0
- package/dist/cjs/index.cjs.js +14 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nv-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/nv-accordion.cjs.entry.js +2 -2
- package/dist/cjs/nv-alert.cjs.entry.js +3 -3
- package/dist/cjs/nv-avatar.cjs.entry.js +3 -3
- package/dist/cjs/nv-badge_2.cjs.entry.js +5 -5
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/nv-button.cjs.entry.js +3 -3
- package/dist/cjs/nv-buttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-calendar.cjs.entry.js +4 -4
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +4 -4
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
- package/dist/cjs/nv-datetest.cjs.entry.js +2 -2
- package/dist/cjs/nv-datetimetest.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +3 -3
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +4 -4
- package/dist/cjs/nv-drawer.cjs.entry.js +3 -3
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +7 -7
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -7
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +101 -23
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +45 -7
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtime.cjs.entry.js +5 -5
- package/dist/cjs/nv-icon.cjs.entry.js +4 -4
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +3 -3
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -2
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +2 -2
- package/dist/cjs/nv-paginationtable.cjs.entry.js +19 -3
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebar.cjs.entry.js +178 -4
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +3 -3
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-split.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-statusindicator.cjs.entry.js +39 -0
- package/dist/cjs/nv-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-tag.cjs.entry.js +82 -0
- package/dist/cjs/nv-timetest.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/nv-accordion/nv-accordion.js +1 -1
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.js +2 -2
- package/dist/collection/components/nv-alert/nv-alert.js +2 -2
- package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +5 -5
- 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-calendar/nv-calendar.js +2 -2
- 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-datetest/nv-datetest.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +3 -3
- 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 +3 -3
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- 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 -6
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +11 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +151 -22
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +7 -7
- 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-fieldselect/nv-fieldselect.docs.js +11 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +98 -5
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
- 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.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
- package/dist/collection/components/nv-icon/nv-icon.js +2 -2
- package/dist/collection/components/nv-icon/nv-icons.js +9 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +2 -2
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-notification/nv-notification.js +2 -2
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +6 -3
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.utils.js +13 -0
- package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +26 -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.docs.js +7 -0
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +274 -2
- package/dist/collection/components/nv-sidebar/styles/nv-sidebar.css +26 -0
- 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 +3 -3
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.js +2 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-statusindicator/nv-statusindicator.css +73 -0
- package/dist/collection/components/nv-statusindicator/nv-statusindicator.docs.js +34 -0
- package/dist/collection/components/nv-statusindicator/nv-statusindicator.js +122 -0
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-table/styles/nv-table.css +22 -3
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-tag/nv-tag.css +228 -0
- package/dist/collection/components/nv-tag/nv-tag.docs.js +114 -0
- package/dist/collection/components/nv-tag/nv-tag.js +251 -0
- package/dist/collection/components/nv-timetest/nv-timetest.js +1 -1
- 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.js +1 -1
- package/dist/collection/utils/constants.js +5 -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-datetest.js +1 -1
- package/dist/components/nv-datetimetest.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-bullet.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.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-statusindicator.d.ts +11 -0
- package/dist/components/nv-statusindicator.js +1 -0
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-tag.d.ts +11 -0
- package/dist/components/nv-tag.js +1 -0
- package/dist/components/nv-timetest.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-CUjRfVPl.js → p-1Zs1aHJ4.js} +1 -1
- package/dist/components/{p-_zOMJBOq.js → p-B4Uw_U8V.js} +1 -1
- package/dist/components/{p-CfOVizcp.js → p-BFM_8Jgq.js} +1 -1
- package/dist/components/{p-CBlrNW6n.js → p-BU3AWnne.js} +1 -1
- package/dist/components/{p-DKgmDzJ1.js → p-B_SethFg.js} +1 -1
- package/dist/components/{p-D3JDACHw.js → p-Bt5_pj49.js} +1 -1
- package/dist/components/{p-RYxAzR3m.js → p-C-Rs6wG9.js} +1 -1
- package/dist/components/{p-Cuq_uNwY.js → p-CObbk0-q.js} +1 -1
- package/dist/components/{p-CD12QIMB.js → p-CTISxdir.js} +1 -1
- package/dist/components/p-C_eOV3Z7.js +1 -0
- package/dist/components/{p-CT782LKx.js → p-Co54UCK_.js} +1 -1
- package/dist/components/{p-DdcXhR3I.js → p-CsPx96EZ.js} +1 -1
- package/dist/components/{p-Bl7rc9YV.js → p-Cyn4-37z.js} +1 -1
- package/dist/components/{p-EV8CtE4q.js → p-CzRJpv7x.js} +1 -1
- package/dist/components/p-DCYvyQ_j.js +1 -0
- package/dist/components/{p-Cnlbk416.js → p-DWvQs_c-.js} +1 -1
- package/dist/components/{p-p1ofW2Cs.js → p-DZdOQQrW.js} +1 -1
- package/dist/components/p-DiwYO24j.js +2 -0
- package/dist/components/{p-ChVdX6FG.js → p-GDyaHbt9.js} +1 -1
- package/dist/components/p-Ghb9L_N-.js +1 -0
- package/dist/components/{p-CgufQqes.js → p-Oger3lC0.js} +1 -1
- package/dist/components/{p-Bytxo1iR.js → p-VppCgviO.js} +1 -1
- package/dist/components/{p-D1psKXwD.js → p-YhjPEgIT.js} +1 -1
- package/dist/components/p-gOKBmbgZ.js +1 -0
- package/dist/esm/{constants-BReL3Lsa.js → constants-gOKBmbgZ.js} +6 -1
- package/dist/esm/index-CTmBvINI.js +4820 -0
- package/dist/esm/index.js +10 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nv-accordion-item.entry.js +3 -3
- package/dist/esm/nv-accordion.entry.js +2 -2
- package/dist/esm/nv-alert.entry.js +3 -3
- package/dist/esm/nv-avatar.entry.js +3 -3
- package/dist/esm/nv-badge_2.entry.js +5 -5
- package/dist/esm/nv-breadcrumb.entry.js +2 -2
- package/dist/esm/nv-breadcrumbs.entry.js +2 -2
- package/dist/esm/nv-button.entry.js +3 -3
- package/dist/esm/nv-buttongroup.entry.js +2 -2
- package/dist/esm/nv-calendar.entry.js +4 -4
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +4 -4
- package/dist/esm/nv-datagridcolumn.entry.js +2 -2
- package/dist/esm/nv-datetest.entry.js +2 -2
- package/dist/esm/nv-datetimetest.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js +3 -3
- package/dist/esm/nv-dialogfooter_2.entry.js +4 -4
- package/dist/esm/nv-drawer.entry.js +3 -3
- package/dist/esm/nv-drawerfooter_2.entry.js +4 -4
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +7 -7
- package/dist/esm/nv-fielddaterange.entry.js +7 -7
- package/dist/esm/nv-fielddropdown.entry.js +101 -23
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +5 -5
- package/dist/esm/nv-fieldpassword.entry.js +5 -5
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +45 -7
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +5 -5
- package/dist/esm/nv-fieldtextarea.entry.js +4 -4
- package/dist/esm/nv-fieldtime.entry.js +5 -5
- package/dist/esm/nv-icon.entry.js +4 -4
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-notification-bullet.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +3 -3
- package/dist/esm/nv-notificationcontainer.entry.js +2 -2
- package/dist/esm/nv-pagination-nav.entry.js +2 -2
- package/dist/esm/nv-paginationtable.entry.js +19 -3
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-sidebar.entry.js +178 -4
- package/dist/esm/nv-sidebarcontent.entry.js +2 -2
- package/dist/esm/nv-sidebardivider.entry.js +2 -2
- package/dist/esm/nv-sidebarfooter.entry.js +2 -2
- package/dist/esm/nv-sidebargroup.entry.js +2 -2
- package/dist/esm/nv-sidebarheader.entry.js +2 -2
- package/dist/esm/nv-sidebarlogo.entry.js +2 -2
- package/dist/esm/nv-sidebarnavitem.entry.js +3 -3
- package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
- package/dist/esm/nv-split.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-statusindicator.entry.js +37 -0
- package/dist/esm/nv-table.entry.js +3 -3
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-tag.entry.js +80 -0
- package/dist/esm/nv-timetest.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +2 -2
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.css +5711 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-568fbdac.entry.js → p-007fef99.entry.js} +1 -1
- package/dist/native/{p-9b8478a7.entry.js → p-00f4c8d3.entry.js} +1 -1
- package/dist/native/{p-b7436a14.entry.js → p-06eb42e0.entry.js} +1 -1
- package/dist/native/{p-1bc76216.entry.js → p-13c507cd.entry.js} +1 -1
- package/dist/native/{p-5cefca3c.entry.js → p-144ab827.entry.js} +1 -1
- package/dist/native/p-16037ec8.entry.js +1 -0
- package/dist/native/{p-0d03b6ed.entry.js → p-270bf467.entry.js} +1 -1
- package/dist/native/{p-48c1bab4.entry.js → p-29acf903.entry.js} +1 -1
- package/dist/native/{p-706eeea4.entry.js → p-29b23e1d.entry.js} +1 -1
- package/dist/native/{p-07f3200b.entry.js → p-2b20125e.entry.js} +1 -1
- package/dist/native/p-31e192d9.entry.js +1 -0
- package/dist/native/p-34d30b90.entry.js +1 -0
- package/dist/native/{p-04e40a1e.entry.js → p-352854eb.entry.js} +1 -1
- package/dist/native/{p-26c0c34b.entry.js → p-3855de15.entry.js} +1 -1
- package/dist/native/{p-c20e0b5f.entry.js → p-3969a700.entry.js} +1 -1
- package/dist/native/{p-8e05077a.entry.js → p-39d5af96.entry.js} +1 -1
- package/dist/native/p-3bed118d.entry.js +1 -0
- package/dist/native/{p-eb737344.entry.js → p-410c21e3.entry.js} +1 -1
- package/dist/native/{p-1ea2a804.entry.js → p-42dc404a.entry.js} +1 -1
- package/dist/native/p-49ceb38e.entry.js +1 -0
- package/dist/native/{p-d468c445.entry.js → p-4b8945c0.entry.js} +1 -1
- package/dist/native/{p-4bb9b387.entry.js → p-4cff908a.entry.js} +1 -1
- package/dist/native/{p-3ddc967e.entry.js → p-513fb9e7.entry.js} +1 -1
- package/dist/native/p-5adac760.entry.js +1 -0
- package/dist/native/p-5c321768.entry.js +1 -0
- package/dist/native/{p-7fd6f0b0.entry.js → p-5df9c196.entry.js} +1 -1
- package/dist/native/{p-9a05395d.entry.js → p-5ef11914.entry.js} +1 -1
- package/dist/native/{p-59ecaf60.entry.js → p-64649214.entry.js} +1 -1
- package/dist/native/{p-27ecae3c.entry.js → p-6bb02337.entry.js} +1 -1
- package/dist/native/{p-2e932ca4.entry.js → p-6dab2e90.entry.js} +1 -1
- package/dist/native/p-6e49d3a1.entry.js +1 -0
- package/dist/native/{p-1450d746.entry.js → p-728f09d5.entry.js} +1 -1
- package/dist/native/{p-d5e931c9.entry.js → p-72c461ac.entry.js} +1 -1
- package/dist/native/{p-2d5189eb.entry.js → p-77bc9afe.entry.js} +1 -1
- package/dist/native/p-789fdae9.entry.js +1 -0
- package/dist/native/{p-49c6d122.entry.js → p-7b1c369b.entry.js} +1 -1
- package/dist/native/p-7b3853be.entry.js +1 -0
- package/dist/native/{p-2b1efb98.entry.js → p-80ba6f84.entry.js} +1 -1
- package/dist/native/{p-0d3ab890.entry.js → p-8dfcfb72.entry.js} +1 -1
- package/dist/native/p-90397b9d.entry.js +1 -0
- package/dist/native/p-915fe20c.entry.js +1 -0
- package/dist/native/{p-7bb2536f.entry.js → p-91719d87.entry.js} +1 -1
- package/dist/native/p-91cb5c65.entry.js +1 -0
- package/dist/native/{p-16600d93.entry.js → p-9affde0d.entry.js} +1 -1
- package/dist/native/p-CTmBvINI.js +2 -0
- package/dist/native/{p-f7fdca43.entry.js → p-a1ef6740.entry.js} +1 -1
- package/dist/native/p-a5d647f1.entry.js +1 -0
- package/dist/native/{p-0f9a284e.entry.js → p-a6554d37.entry.js} +1 -1
- package/dist/native/p-b2c31350.entry.js +1 -0
- package/dist/native/p-b76682bb.entry.js +1 -0
- package/dist/native/{p-a5e39524.entry.js → p-b7a10751.entry.js} +1 -1
- package/dist/native/{p-ca4ab8a5.entry.js → p-b88dcd21.entry.js} +1 -1
- package/dist/native/{p-0f59cb66.entry.js → p-bc0b637f.entry.js} +1 -1
- package/dist/native/p-bebf7bf7.entry.js +1 -0
- package/dist/native/{p-0770997b.entry.js → p-befb5e4e.entry.js} +1 -1
- package/dist/native/{p-0a17050f.entry.js → p-c81532c9.entry.js} +1 -1
- package/dist/native/{p-12269ed5.entry.js → p-cd21a60d.entry.js} +1 -1
- package/dist/native/p-cec93106.entry.js +1 -0
- package/dist/native/{p-f078f10a.entry.js → p-cfe99a3f.entry.js} +1 -1
- package/dist/native/{p-4badca4e.entry.js → p-d0c5f580.entry.js} +1 -1
- package/dist/native/{p-336d63c4.entry.js → p-dc000c85.entry.js} +1 -1
- package/dist/native/p-df3ab86a.entry.js +1 -0
- package/dist/native/p-ef90ca99.entry.js +1 -0
- package/dist/native/{p-2e40d5d9.entry.js → p-f6341ac4.entry.js} +1 -1
- package/dist/native/{p-2d37df11.entry.js → p-f986b4e5.entry.js} +1 -1
- package/dist/native/p-gOKBmbgZ.js +1 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +39 -0
- package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +28 -0
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components/nv-paginationtable/nv-paginationtable.utils.d.ts +9 -0
- package/dist/types/components/nv-sidebar/nv-sidebar.d.ts +43 -0
- package/dist/types/components/nv-split/nv-split.d.ts +1 -0
- package/dist/types/components/nv-statusindicator/nv-statusindicator.d.ts +22 -0
- package/dist/types/components/nv-statusindicator/nv-statusindicator.docs.d.ts +4 -0
- package/dist/types/components/nv-tag/nv-tag.d.ts +64 -0
- package/dist/types/components/nv-tag/nv-tag.docs.d.ts +4 -0
- package/dist/types/components.d.ts +248 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +4 -0
- package/dist/vscode-data.json +477 -0
- package/hydrate/index.js +604 -137
- package/hydrate/index.mjs +604 -137
- package/package.json +21 -9
- package/dist/cjs/index-eLt3bBQs.js +0 -4848
- package/dist/components/p-BReL3Lsa.js +0 -1
- package/dist/components/p-C47vpaBp.js +0 -1
- package/dist/components/p-C99g_PrG.js +0 -1
- package/dist/components/p-Cr_-lRNo.js +0 -1
- package/dist/components/p-flcatmxD.js +0 -2
- package/dist/esm/index-DU3Vhh_k.js +0 -4812
- package/dist/native/p-3afa34d1.entry.js +0 -1
- package/dist/native/p-5f6e45ca.entry.js +0 -1
- package/dist/native/p-6f1213fb.entry.js +0 -1
- package/dist/native/p-6f91712c.entry.js +0 -1
- package/dist/native/p-7126f67e.entry.js +0 -1
- package/dist/native/p-748661f0.entry.js +0 -1
- package/dist/native/p-7b545176.entry.js +0 -1
- package/dist/native/p-803759ef.entry.js +0 -1
- package/dist/native/p-92539825.entry.js +0 -1
- package/dist/native/p-943a4dfd.entry.js +0 -1
- package/dist/native/p-96078a63.entry.js +0 -1
- package/dist/native/p-BReL3Lsa.js +0 -1
- package/dist/native/p-DU3Vhh_k.js +0 -2
- package/dist/native/p-bff549dd.entry.js +0 -1
- package/dist/native/p-d5060f92.entry.js +0 -1
- package/dist/native/p-dc647a64.entry.js +0 -1
- package/dist/native/p-df5c6b0c.entry.js +0 -1
- package/dist/native/p-e8569a99.entry.js +0 -1
- package/dist/native/p-f3756dfd.entry.js +0 -1
- package/dist/native/p-f3ded7e8.entry.js +0 -1
|
@@ -19,6 +19,7 @@ export declare class NvFielddropdown {
|
|
|
19
19
|
private inputElement;
|
|
20
20
|
private selectElement;
|
|
21
21
|
private toggleElement;
|
|
22
|
+
private clearElement;
|
|
22
23
|
private debounceTimer;
|
|
23
24
|
/** Pre-computed search index for efficient filtering */
|
|
24
25
|
private indexedItems;
|
|
@@ -126,6 +127,13 @@ export declare class NvFielddropdown {
|
|
|
126
127
|
* Enables or disables the filtering feature for the dropdown items.
|
|
127
128
|
*/
|
|
128
129
|
readonly filterable: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Shows the inline clear (×) button when a value is selected (or when
|
|
132
|
+
* filterable and the user has typed). The programmatic `clear()` method
|
|
133
|
+
* works regardless of this prop — leave it off when you want to manage
|
|
134
|
+
* clearing the selection from outside the component.
|
|
135
|
+
*/
|
|
136
|
+
readonly clearable: boolean;
|
|
129
137
|
/**
|
|
130
138
|
* When an item is selected by the user, the dropdown will continue to stay
|
|
131
139
|
* open.
|
|
@@ -254,6 +262,12 @@ export declare class NvFielddropdown {
|
|
|
254
262
|
* Event emitted when the filter input value changes.
|
|
255
263
|
*/
|
|
256
264
|
filterTextChanged: EventEmitter<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Emitted when the field is cleared via the inline clear button or the
|
|
267
|
+
* programmatic `clear()` method. Useful for reacting to user-initiated
|
|
268
|
+
* clears without subscribing to every `valueChanged` emission.
|
|
269
|
+
*/
|
|
270
|
+
cleared: EventEmitter<void>;
|
|
257
271
|
/**
|
|
258
272
|
* Event emitted when the dropdown opened or closed.
|
|
259
273
|
*/
|
|
@@ -280,15 +294,40 @@ export declare class NvFielddropdown {
|
|
|
280
294
|
/****************************************************************************/
|
|
281
295
|
/** Clears the filter text */
|
|
282
296
|
clearFilter(): Promise<void>;
|
|
297
|
+
/**
|
|
298
|
+
* Clears the current selection. Resets the value to an empty string,
|
|
299
|
+
* removes the selected state from items, clears the filter text (when
|
|
300
|
+
* filterable) and emits `valueChanged` (and `filterTextChanged` when the
|
|
301
|
+
* filter was reset). Emits `cleared` when anything was actually reset.
|
|
302
|
+
*/
|
|
303
|
+
clear(): Promise<void>;
|
|
283
304
|
/**
|
|
284
305
|
* Toggles the dropdown popover open state
|
|
285
306
|
* @param {boolean} open - The open state to set, if null, toggles the state
|
|
286
307
|
*/
|
|
287
308
|
toggleDropdown(open?: boolean): Promise<void>;
|
|
288
309
|
private syncToggleDropdown;
|
|
310
|
+
/**
|
|
311
|
+
* Handles clicks on the inline clear button. When a value is already
|
|
312
|
+
* selected and the user has typed in a filter, clearing should dismiss
|
|
313
|
+
* the filter and revert the input to the selected label rather than
|
|
314
|
+
* wipe the selection. Always emits `cleared` so subscribers see one
|
|
315
|
+
* consistent signal regardless of which path ran.
|
|
316
|
+
* @param {MouseEvent} [event] - The click event from the clear button.
|
|
317
|
+
*/
|
|
318
|
+
private handleClearButtonClick;
|
|
289
319
|
private handleFilterInput;
|
|
290
320
|
private setFilterInputToSelectedValue;
|
|
291
321
|
private getSelectedLabel;
|
|
322
|
+
/**
|
|
323
|
+
* Finds the item that matches the current value. Falls back to matching by
|
|
324
|
+
* label when no item matches by value, so that consumers who pass a value
|
|
325
|
+
* matching only the label (e.g. `<nv-fielddropdownitem label="Item 2">`
|
|
326
|
+
* with `value="Item 2"`) still get the correct selected item.
|
|
327
|
+
* @param {HTMLNvFielddropdownitemElement[]} items - The dropdown items to search.
|
|
328
|
+
* @returns {HTMLNvFielddropdownitemElement | undefined} The matching item, or undefined if no match is found.
|
|
329
|
+
*/
|
|
330
|
+
private findItemMatchingValue;
|
|
292
331
|
private getFilterableItems;
|
|
293
332
|
private getNavigableItems;
|
|
294
333
|
private getAllItems;
|
|
@@ -124,6 +124,12 @@ export declare class NvFieldselect {
|
|
|
124
124
|
* When enabled, allows the select to handle multiple selections.
|
|
125
125
|
*/
|
|
126
126
|
readonly multiple: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Shows the inline clear (×) button when a value is selected. The
|
|
129
|
+
* programmatic `clear()` method works regardless of this prop — leave
|
|
130
|
+
* it off when you want to manage clearing from outside the component.
|
|
131
|
+
*/
|
|
132
|
+
readonly clearable: boolean;
|
|
127
133
|
/**
|
|
128
134
|
* The value of the select field.
|
|
129
135
|
* - If `multiple` is `false`, it's a single string.
|
|
@@ -152,6 +158,12 @@ export declare class NvFieldselect {
|
|
|
152
158
|
* @bind value
|
|
153
159
|
*/
|
|
154
160
|
valueChanged: EventEmitter<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Emitted when the field is cleared via the inline clear button or the
|
|
163
|
+
* programmatic `clear()` method. Useful for reacting to user-initiated
|
|
164
|
+
* clears without subscribing to every `valueChanged` emission.
|
|
165
|
+
*/
|
|
166
|
+
cleared: EventEmitter<void>;
|
|
155
167
|
/****************************************************************************/
|
|
156
168
|
/**
|
|
157
169
|
* Updates the display value when the value property changes. This watcher is
|
|
@@ -189,6 +201,15 @@ export declare class NvFieldselect {
|
|
|
189
201
|
* Handles focus when the select container is clicked.
|
|
190
202
|
*/
|
|
191
203
|
private readonly handleSelectContainerClick;
|
|
204
|
+
/**
|
|
205
|
+
* Handles a click on the inline clear button. Stops the click from
|
|
206
|
+
* bubbling up to the select container (which would refocus the select)
|
|
207
|
+
* and clears the value. On keyboard activation (Enter/Space) it also
|
|
208
|
+
* moves focus back to the native `<select>` so keyboard users don't
|
|
209
|
+
* lose their place when the button disappears.
|
|
210
|
+
* @param {MouseEvent} event - The click event from the clear button.
|
|
211
|
+
*/
|
|
212
|
+
private readonly handleClearButtonClick;
|
|
192
213
|
/**
|
|
193
214
|
* Updates the display value of the select field. This method is used to
|
|
194
215
|
* update the display value when the selected value changes. This is necessary
|
|
@@ -217,6 +238,13 @@ export declare class NvFieldselect {
|
|
|
217
238
|
* @internal This method is not intended to be called outside of the component.
|
|
218
239
|
*/
|
|
219
240
|
private ensureSelectElement;
|
|
241
|
+
/**
|
|
242
|
+
* Clears the current selection. Resets the value to an empty string and
|
|
243
|
+
* emits `valueChanged` and `cleared` when the value actually changed.
|
|
244
|
+
* The `@Watch('value')` watcher takes care of syncing the underlying
|
|
245
|
+
* native `<select>` options and the form value.
|
|
246
|
+
*/
|
|
247
|
+
clear(): Promise<void>;
|
|
220
248
|
/****************************************************************************/
|
|
221
249
|
componentWillRender(): void;
|
|
222
250
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Available icons */
|
|
2
|
-
export declare const iconNames: readonly ["access-point-off", "access-point", "accessible", "activity", "address-book", "adjustments-horizontal", "adjustments-up", "adjustments", "affiliate", "air-conditioning", "alert-circle", "alert-square-rounded", "alert-triangle", "align-center", "align-left", "align-right", "app-window", "apps", "archive", "areas", "arrow-back-up", "arrow-back", "arrow-down-left", "arrow-down-right", "arrow-down", "arrow-forward-up", "arrow-forward", "arrow-left", "arrow-right", "arrow-up-left", "arrow-up-right", "arrow-up", "arrows-diagonal", "arrows-exchange", "arrows-maximize", "arrows-minimize", "arrows-move", "aspect-ratio", "atom", "ban", "basket", "battery-1", "battery-2", "battery-3", "battery-4", "battery-automotive", "battery-charging", "battery-eco", "battery-off", "battery", "bell-bolt", "bell-off", "bell-ringing", "bell", "bike", "bluetooth-connected", "bluetooth-off", "bluetooth", "bolt-off", "bolt", "book", "bookmark-off", "bookmark", "bookmarks", "box-align-top", "box-multiple", "brand-facebook", "brand-instagram", "brand-linkedin", "brand-x", "brand-youtube", "briefcase", "brightness-down", "brightness-up", "browser-check", "browser-plus", "browser-x", "browser", "brush", "building-bank", "building-factory", "building-lighthouse", "building-store", "building", "bulb-off", "bulb", "cake", "calendar-time", "calendar-week", "calendar", "camera-off", "camera", "car-crane", "car", "caravan", "cash-banknote", "cash", "cast", "cell", "charging-pile", "chart-arcs", "chart-area-line", "chart-area", "chart-arrows-vertical", "chart-arrows", "chart-bar", "chart-bubble", "chart-circles", "chart-donut", "chart-dots", "chart-line", "chart-pie", "chart-radar", "check", "checkbox", "checklist", "checks", "chevron-down", "chevron-left", "chevron-right", "chevron-top", "chevrons-left", "chevrons-right", "circle-caret-right", "circle-check", "circle-minus", "circle-x", "circuit-alternate", "circuit-ground-digital", "clipboard-check", "clipboard-list", "clipboard-plus", "clipboard-text", "clipboard-x", "clipboard", "clock-edit", "clock", "cloud-data-connection", "cloud-download", "cloud-rain", "cloud-snow", "cloud-upload", "cloud", "color-picker", "color-swatch", "columns-1", "columns-2", "columns-3", "compass", "contract", "cookie", "copy", "cpu", "crane", "credit-card", "crop", "cross", "crown", "currency-bitcoin", "currency-dollar", "currency-ethereum", "currency-euro", "cut", "dashboard", "database", "device-desktop", "device-floppy", "device-gamepad", "device-laptop", "device-mobile-rotated", "device-mobile", "device-tablet", "device-watch", "devices", "dialpad", "direction-horizontal", "direction-sign", "direction", "discount", "door-enter", "door-exit", "door-off", "dots-vertical", "dots", "download", "drone", "droplet-filled", "droplet-half", "droplet", "droplets", "edit", "empty", "engine", "equal-not", "eraser-off", "eraser", "external-link", "eye-check", "eye-off", "eye", "eyeglass2", "face-id", "feather", "file-alert", "file-analytics", "file-check", "file-code", "file-download", "file-export", "file-horizontal", "file-import", "file-plus", "file-search", "file-text-bookmark", "file-text", "file-type-bmp", "file-type-css", "file-type-csv", "file-type-doc", "file-type-html", "file-type-jpg", "file-type-js", "file-type-pdf", "file-type-png", "file-type-ppt", "file-type-xls", "file-type-xml", "file-type-zip", "file-upload", "file-x", "file-zip", "file", "files-off", "files", "filter-off", "filter-sort", "filter", "fingerprint", "fire-extinguisher", "flag", "flame", "flip-horizontal", "flip-vertical", "folder-minus", "folder-off", "folder-plus", "folder-x", "folder", "folders", "frame", "gas-station", "gauge-off", "gauge", "gift", "git-branch-delete", "git-branch", "git-cherry-pick", "git-commit", "git-compare", "git-fork", "git-merge", "git-pull-request-closed", "git-pull-request-draft", "git-pull-request", "gps", "grid-dots", "grip-horizontal", "grip-vertical", "hand-stop", "hand-waving", "hash", "haze", "headphones-off", "headphones", "headset", "heart-off", "heart", "heartbeat", "helicopter", "helmet-swopp", "helmet", "help", "history", "home", "hourglass-empty", "hourglass-high", "hourglass-low", "hourglass-off", "hourglass", "inbox", "info-circle", "keyboard-hide", "keyboard-show", "keyboard", "layers-intersect", "layers-off", "layout-board-split", "layout-dashboard", "layout-grid", "layout-sidebar-left-collapse", "layout-sidebar-left-expand", "layout-sidebar-right-collapse", "layout-sidebar-right-expand", "layout", "leaf", "lifebuoy", "link", "list-search", "list", "loader", "location", "lock-off", "lock-open", "lock", "login", "logout", "mail-forward", "mail-opened", "mail", "map-pin-2", "map-pin-off", "map-pin", "map", "master-data", "menu", "message-dots", "message-off", "message", "messages", "microphone-off", "microphone", "minus", "mist", "moon", "motorbike", "mouse", "movie", "network", "news", "note", "notebook", "notes", "offshore-station", "package", "palette", "paperclip", "pencil", "phone-call", "phone-calling", "phone-check", "phone-incoming", "phone-off", "phone-outgoing", "phone", "photo-off", "photo", "pig", "pin", "pinned-off", "pinned", "plane-off", "plane", "plant", "player-pause", "player-play", "player-skip-back", "player-skip-forward", "player-stop", "player-track-next", "player-track-prev", "plug-connected", "plug", "plus", "power-ac", "power-dc", "power", "presentation-analytics", "presentation", "printer", "propeller", "published", "puzzle-2", "puzzle", "pylon", "qrcode", "quotes-open", "quotes", "radar", "radio", "radioactive", "receipt-dollar", "receipt-euro", "receipt", "recharging", "recycle", "refresh-alert", "refresh-off", "refresh", "repeat-once", "repeat", "replace", "report-analytics", "report-medical", "report-search", "report", "ripple-off", "ripple", "rocket", "rotate-2", "rotate-clockwise-2", "rotate-clockwise", "rotate-dot", "rotate", "router", "ruler-measure", "sailboat", "satellite", "scale", "school", "scissors", "scooter-electric", "screenshot", "search", "seeding", "select", "selector", "send", "server", "settings", "shape", "share-2", "share", "shield-check", "shield-lock", "shield-off", "shield-x", "shield", "ship-off", "ship", "shopping-cart", "sitemap", "slash", "smart-home", "snowflake", "solar-panel", "sort-ascending-letters", "sort-ascending-numbers", "sort-descending-letters", "sort-descending-numbers", "spacing-horizontal", "spacing-vertical", "sparkles", "speakerphone", "stack", "stairs", "star", "sun", "sunrise", "sunset", "switch-horizontal", "switch-vertical", "table", "tag", "tank-empty-fill", "tank-full-fill", "tank-medium-fill", "temperature-off", "temperature", "template", "terminal", "text-size", "text", "thumb-down", "thumb-up", "ticket", "timeline", "tir", "tool", "tools", "train", "trash-off", "trash", "tree", "trees", "truck-delivery", "truck", "umbrella", "unlink", "upload", "user-circle", "user-exclamation", "user-minus", "user-off", "user-plus", "user-worker", "user", "users", "versions", "video-minus", "video-off", "video-plus", "video", "volume-2", "volume-3", "volume", "wallet", "wand", "wave", "waves", "wifi-off", "wifi", "wind-direction", "wind", "windmill", "wood", "world-code", "world", "writing", "x", "zoom-reset"];
|
|
2
|
+
export declare const iconNames: readonly ["access-point-off", "access-point", "accessible", "activity", "address-book", "adjustments-horizontal", "adjustments-up", "adjustments", "affiliate", "air-conditioning", "alert-circle", "alert-square-rounded", "alert-triangle", "align-center", "align-left", "align-right", "app-window", "apps", "archive", "areas", "arrow-back-up", "arrow-back", "arrow-down-left", "arrow-down-right", "arrow-down", "arrow-forward-up", "arrow-forward", "arrow-left", "arrow-right", "arrow-up-left", "arrow-up-right", "arrow-up", "arrows-diagonal", "arrows-exchange", "arrows-maximize", "arrows-minimize", "arrows-move", "aspect-ratio", "atom", "ban", "basket", "battery-1", "battery-2", "battery-3", "battery-4", "battery-automotive", "battery-charging", "battery-eco", "battery-off", "battery", "bell-bolt", "bell-off", "bell-ringing", "bell", "bike", "bluetooth-connected", "bluetooth-off", "bluetooth", "bolt-off", "bolt", "book", "bookmark-off", "bookmark", "bookmarks", "box-align-top", "box-multiple", "brand-facebook", "brand-instagram", "brand-linkedin", "brand-x", "brand-youtube", "briefcase", "brightness-down", "brightness-up", "browser-check", "browser-plus", "browser-x", "browser", "brush", "building-bank", "building-factory", "building-lighthouse", "building-store", "building", "bulb-off", "bulb", "cake", "calendar-time", "calendar-week", "calendar", "camera-off", "camera", "car-crane", "car", "caravan", "cash-banknote", "cash", "cast", "cell", "charging-pile", "chart-arcs", "chart-area-line", "chart-area", "chart-arrows-vertical", "chart-arrows", "chart-bar", "chart-bubble", "chart-circles", "chart-donut", "chart-dots", "chart-line", "chart-pie", "chart-radar", "check", "checkbox", "checklist", "checks", "chevron-down", "chevron-left", "chevron-right", "chevron-top", "chevrons-left", "chevrons-right", "circle-caret-right", "circle-check", "circle-minus", "circle-x", "circuit-alternate", "circuit-ground-digital", "clipboard-check", "clipboard-list", "clipboard-plus", "clipboard-text", "clipboard-x", "clipboard", "clock-edit", "clock", "cloud-data-connection", "cloud-download", "cloud-rain", "cloud-snow", "cloud-upload", "cloud", "color-picker", "color-swatch", "columns-1", "columns-2", "columns-3", "compass", "contract", "cookie", "copy", "cpu", "crane", "credit-card", "crop", "cross", "crown", "currency-bitcoin", "currency-dollar", "currency-ethereum", "currency-euro", "cut", "dashboard", "database", "device-desktop", "device-floppy", "device-gamepad", "device-laptop", "device-mobile-rotated", "device-mobile", "device-tablet", "device-watch", "devices", "dialpad", "direction-horizontal", "direction-sign", "direction", "discount", "door-enter", "door-exit", "door-off", "dots-vertical", "dots", "download", "drone", "droplet-filled", "droplet-half", "droplet", "droplets", "edit", "empty", "engine", "equal-not", "eraser-off", "eraser", "exclamation-mark", "external-link", "eye-check", "eye-off", "eye", "eyeglass2", "face-id", "feather", "file-alert", "file-analytics", "file-check", "file-code", "file-download", "file-export", "file-horizontal", "file-import", "file-plus", "file-search", "file-text-bookmark", "file-text", "file-type-bmp", "file-type-css", "file-type-csv", "file-type-doc", "file-type-html", "file-type-jpg", "file-type-js", "file-type-pdf", "file-type-png", "file-type-ppt", "file-type-xls", "file-type-xml", "file-type-zip", "file-upload", "file-x", "file-zip", "file", "files-off", "files", "filter-off", "filter-sort", "filter", "fingerprint", "fire-extinguisher", "flag", "flame", "flip-horizontal", "flip-vertical", "folder-minus", "folder-off", "folder-plus", "folder-x", "folder", "folders", "frame", "gas-station", "gauge-off", "gauge", "gift", "git-branch-delete", "git-branch", "git-cherry-pick", "git-commit", "git-compare", "git-fork", "git-merge", "git-pull-request-closed", "git-pull-request-draft", "git-pull-request", "gps", "grid-dots", "grip-horizontal", "grip-vertical", "hand-stop", "hand-waving", "hash", "haze", "headphones-off", "headphones", "headset", "heart-off", "heart", "heartbeat", "helicopter", "helmet-swopp", "helmet", "help", "history", "home", "hourglass-empty", "hourglass-high", "hourglass-low", "hourglass-off", "hourglass", "inbox", "info-circle", "info-small", "keyboard-hide", "keyboard-show", "keyboard", "layers-intersect", "layers-off", "layout-board-split", "layout-dashboard", "layout-grid", "layout-sidebar-left-collapse", "layout-sidebar-left-expand", "layout-sidebar-right-collapse", "layout-sidebar-right-expand", "layout", "leaf", "lifebuoy", "link", "list-search", "list", "loader", "location", "lock-off", "lock-open", "lock", "login", "logout", "mail-forward", "mail-opened", "mail", "map-pin-2", "map-pin-off", "map-pin", "map", "master-data", "menu", "message-dots", "message-off", "message", "messages", "microphone-off", "microphone", "minus", "mist", "moon", "motorbike", "mouse", "movie", "network", "news", "note", "notebook", "notes", "offshore-station", "package", "palette", "paperclip", "pencil", "phone-call", "phone-calling", "phone-check", "phone-incoming", "phone-off", "phone-outgoing", "phone", "photo-off", "photo", "pig", "pin", "pinned-off", "pinned", "plane-off", "plane", "plant", "player-pause", "player-play", "player-skip-back", "player-skip-forward", "player-stop", "player-track-next", "player-track-prev", "plug-connected", "plug", "plus", "power-ac", "power-dc", "power", "presentation-analytics", "presentation", "printer", "propeller", "published", "puzzle-2", "puzzle", "pylon", "qrcode", "question-mark", "quotes-open", "quotes", "radar", "radio", "radioactive", "receipt-dollar", "receipt-euro", "receipt", "recharging", "recycle", "refresh-alert", "refresh-off", "refresh", "repeat-once", "repeat", "replace", "report-analytics", "report-medical", "report-search", "report", "ripple-off", "ripple", "rocket", "rotate-2", "rotate-clockwise-2", "rotate-clockwise", "rotate-dot", "rotate", "router", "ruler-measure", "sailboat", "satellite", "scale", "school", "scissors", "scooter-electric", "screenshot", "search", "seeding", "select", "selector", "send", "server", "settings", "shape", "share-2", "share", "shield-check", "shield-lock", "shield-off", "shield-x", "shield", "ship-off", "ship", "shopping-cart", "sitemap", "slash", "smart-home", "snowflake", "solar-panel", "sort-ascending-letters", "sort-ascending-numbers", "sort-descending-letters", "sort-descending-numbers", "spacing-horizontal", "spacing-vertical", "sparkles", "speakerphone", "stack", "stairs", "star", "sun", "sunrise", "sunset", "switch-horizontal", "switch-vertical", "table", "tag", "tank-empty-fill", "tank-full-fill", "tank-medium-fill", "temperature-off", "temperature", "template", "terminal", "text-size", "text", "thumb-down", "thumb-up", "ticket", "timeline", "tir", "tool", "tools", "train", "trash-off", "trash", "tree", "trees", "trending-down-2", "trending-down-3", "trending-down", "trending-up-2", "trending-up-3", "trending-up", "truck-delivery", "truck", "umbrella", "unlink", "upload", "user-circle", "user-exclamation", "user-minus", "user-off", "user-plus", "user-worker", "user", "users", "versions", "video-minus", "video-off", "video-plus", "video", "volume-2", "volume-3", "volume", "wallet", "wand", "wave", "waves", "wifi-off", "wifi", "wind-direction", "wind", "windmill", "wood", "world-code", "world", "writing", "x", "zoom-reset"];
|
|
3
3
|
export type IconName = (typeof iconNames)[number];
|
|
@@ -28,6 +28,15 @@ export declare function interpolate(template: string | undefined | null, values:
|
|
|
28
28
|
* @returns {boolean} True if at the first page
|
|
29
29
|
*/
|
|
30
30
|
export declare function isFirstPage(pageIndex: number): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the 1-based page number to show in the page label.
|
|
33
|
+
* When there are no pages (empty/filtered-to-zero dataset), returns 0 so
|
|
34
|
+
* the label reads e.g. "Page 0 of 0" instead of "Page 1 of 0".
|
|
35
|
+
* @param {number} pageIndex - Current page index (zero-based)
|
|
36
|
+
* @param {number} pageCount - Total number of pages
|
|
37
|
+
* @returns {number} The page number to display (1-based, or 0 when no pages)
|
|
38
|
+
*/
|
|
39
|
+
export declare function getDisplayPageNumber(pageIndex: number, pageCount: number): number;
|
|
31
40
|
/**
|
|
32
41
|
* Checks if navigation to the last/next page is possible
|
|
33
42
|
* @param {number} pageIndex - Current page index (zero-based)
|
|
@@ -6,6 +6,8 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
6
6
|
export declare class NvSidebar {
|
|
7
7
|
el: HTMLNvSidebarElement;
|
|
8
8
|
private mutationObserver;
|
|
9
|
+
private resizeStartX;
|
|
10
|
+
private resizeStartWidth;
|
|
9
11
|
/****************************************************************************/
|
|
10
12
|
/**
|
|
11
13
|
* The type of sidebar behavior.
|
|
@@ -34,14 +36,52 @@ export declare class NvSidebar {
|
|
|
34
36
|
* - low: Less prominent appearance
|
|
35
37
|
*/
|
|
36
38
|
readonly notificationEmphasis: 'high' | 'low';
|
|
39
|
+
/**
|
|
40
|
+
* When true, the sidebar can be resized horizontally by dragging its right edge.
|
|
41
|
+
* Only active when the sidebar is open (not collapsed).
|
|
42
|
+
*/
|
|
43
|
+
readonly resizable: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Minimum width in pixels when resizing.
|
|
46
|
+
*/
|
|
47
|
+
readonly minWidth: number;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum width in pixels when resizing.
|
|
50
|
+
*/
|
|
51
|
+
readonly maxWidth: number;
|
|
52
|
+
/**
|
|
53
|
+
* Current sidebar width in pixels. When set (or while resizing), overrides
|
|
54
|
+
* the default CSS token width. Updated as the user drags the resize handle.
|
|
55
|
+
* Not reflected to the attribute to avoid DOM churn on every pointer move.
|
|
56
|
+
*/
|
|
57
|
+
width?: number;
|
|
58
|
+
/****************************************************************************/
|
|
59
|
+
private resizing;
|
|
37
60
|
/****************************************************************************/
|
|
38
61
|
/**
|
|
39
62
|
* Emitted when the open state changes.
|
|
40
63
|
* @bind open
|
|
41
64
|
*/
|
|
42
65
|
openChanged: EventEmitter<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* Emitted when the sidebar width changes via the resize handle.
|
|
68
|
+
* Fires at the end of a drag, or after each keyboard adjustment.
|
|
69
|
+
*/
|
|
70
|
+
widthChanged: EventEmitter<number>;
|
|
43
71
|
/****************************************************************************/
|
|
44
72
|
private handleToggle;
|
|
73
|
+
private getBounds;
|
|
74
|
+
private clampWidth;
|
|
75
|
+
private canResize;
|
|
76
|
+
private getAriaValueNow;
|
|
77
|
+
private applyWidthStyle;
|
|
78
|
+
private handleResizeStart;
|
|
79
|
+
private handleResizeMove;
|
|
80
|
+
private releasePointerCapture;
|
|
81
|
+
private handleResizeEnd;
|
|
82
|
+
private handleResizeCancel;
|
|
83
|
+
private cancelResize;
|
|
84
|
+
private handleResizeKeyDown;
|
|
45
85
|
private handleCollapsedSideEffects;
|
|
46
86
|
/**
|
|
47
87
|
* Sets the active state of navigation items based on activePath
|
|
@@ -56,6 +96,9 @@ export declare class NvSidebar {
|
|
|
56
96
|
/****************************************************************************/
|
|
57
97
|
onActivePathChanged(): void;
|
|
58
98
|
protected onOpenChanged(newValue: boolean, oldValue: boolean): void;
|
|
99
|
+
protected onWidthChanged(): void;
|
|
100
|
+
protected onBoundsChanged(): void;
|
|
101
|
+
protected onResizableChanged(newValue: boolean): void;
|
|
59
102
|
/****************************************************************************/
|
|
60
103
|
componentWillLoad(): void;
|
|
61
104
|
disconnectedCallback(): void;
|
|
@@ -3,6 +3,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
* The `nv-split` component is an advanced layout container that enables the creation of interactively resizable panels. It provides a flexible solution for dividing available space between multiple interface sections, with precise control over dimensions and constraints for each panel. Slot=“pane” elements have margin: 0 !important by default. This is a necessary technical constraint because CSS margins are not included in the flex-basis calculation, which would distort the sizing of the panes. Solution for the user: Apply margins/padding to the content inside the pane, not to the pane itself.
|
|
4
4
|
* @slot pane - Content of each split pane. Use multiple `<div slot="pane">` elements.
|
|
5
5
|
* @slot gutter - Optional custom content inside every gutter handle.
|
|
6
|
+
* @slot default - Placeholder for any auto rendered gutters
|
|
6
7
|
*/
|
|
7
8
|
export declare class NvSplit {
|
|
8
9
|
el: HTMLNvSplitElement;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FeedbackColors, StatusIndicatorEmphasis } from '../../utils/constants';
|
|
2
|
+
/**
|
|
3
|
+
* A static, non-interactive visual indicator that communicates
|
|
4
|
+
* system-controlled status through colour, icon, and optional label.
|
|
5
|
+
*/
|
|
6
|
+
export declare class NvStatusindicator {
|
|
7
|
+
/****************************************************************************/
|
|
8
|
+
/**
|
|
9
|
+
* The status variant of the indicator.
|
|
10
|
+
*/
|
|
11
|
+
readonly status: `${FeedbackColors}`;
|
|
12
|
+
/**
|
|
13
|
+
* The visual emphasis of the indicator.
|
|
14
|
+
*/
|
|
15
|
+
readonly emphasis: `${StatusIndicatorEmphasis}`;
|
|
16
|
+
/**
|
|
17
|
+
* The text label of the indicator. When omitted, the component renders icon-only.
|
|
18
|
+
*/
|
|
19
|
+
readonly label?: string;
|
|
20
|
+
/****************************************************************************/
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type TagColor = 'orange' | 'crimson' | 'yellow' | 'red' | 'blue' | 'amber' | 'green' | 'turquoise' | 'lime' | 'grey';
|
|
3
|
+
/**
|
|
4
|
+
* @slot leading-icon - Optional icon displayed before the label.
|
|
5
|
+
*/
|
|
6
|
+
export declare class NvTag {
|
|
7
|
+
/****************************************************************************/
|
|
8
|
+
/**
|
|
9
|
+
* The color variant of the tag.
|
|
10
|
+
*/
|
|
11
|
+
readonly color: TagColor;
|
|
12
|
+
/**
|
|
13
|
+
* The text label of the tag.
|
|
14
|
+
*/
|
|
15
|
+
readonly label?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the tag can be dismissed.
|
|
18
|
+
*/
|
|
19
|
+
readonly dismissible: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* When set, the tag renders as a link.
|
|
22
|
+
*/
|
|
23
|
+
readonly href?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The browsing context for the link.
|
|
26
|
+
*/
|
|
27
|
+
readonly target: '_self' | '_blank' | '_parent' | '_top';
|
|
28
|
+
/**
|
|
29
|
+
* The relationship of the linked resource. When target="_blank" and rel is not set, defaults to "noopener noreferrer" for security.
|
|
30
|
+
*/
|
|
31
|
+
readonly rel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the dismiss button is disabled.
|
|
34
|
+
*/
|
|
35
|
+
readonly disabled: boolean;
|
|
36
|
+
/****************************************************************************/
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when the dismiss button is clicked.
|
|
39
|
+
*/
|
|
40
|
+
dismissed: EventEmitter<{
|
|
41
|
+
/**
|
|
42
|
+
* The label of the dismissed tag.
|
|
43
|
+
*/
|
|
44
|
+
label?: string;
|
|
45
|
+
}>;
|
|
46
|
+
/****************************************************************************/
|
|
47
|
+
/**
|
|
48
|
+
* Handles the dismiss button click.
|
|
49
|
+
* @param {MouseEvent} event - The click event.
|
|
50
|
+
*/
|
|
51
|
+
private readonly handleDismiss;
|
|
52
|
+
/****************************************************************************/
|
|
53
|
+
/**
|
|
54
|
+
* Renders the tag content (icon + label).
|
|
55
|
+
* @returns {unknown} The tag content JSX.
|
|
56
|
+
*/
|
|
57
|
+
private renderContent;
|
|
58
|
+
/**
|
|
59
|
+
* Computes the rel attribute for the anchor.
|
|
60
|
+
* @returns {string | undefined} The computed rel value.
|
|
61
|
+
*/
|
|
62
|
+
private computeRel;
|
|
63
|
+
render(): any;
|
|
64
|
+
}
|