@nova-design-system/nova-webcomponents 3.28.0 → 3.30.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 +5 -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 +8 -7
- 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 +8 -6
- package/dist/cjs/nv-drawer.cjs.entry.js +3 -3
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +6 -4
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +115 -86
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +7 -7
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtime.cjs.entry.js +16 -13
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- 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.docs.js +1 -1
- package/dist/collection/components/nv-alert/nv-alert.js +15 -5
- package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +32 -11
- 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.docs.js +2 -1
- package/dist/collection/components/nv-col/nv-col.js +2 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +2 -2
- 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 +35 -13
- 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 +31 -9
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -1
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +3 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +1 -1
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -6
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +3 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +3 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +1 -1
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.css +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +2 -2
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +119 -84
- package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +13 -2
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +3 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +3 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +1 -1
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +3 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +3 -2
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +3 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +13 -10
- package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +3 -0
- package/dist/collection/components/nv-icon/nv-icon.js +7 -4
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +7 -4
- 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 +5 -2
- package/dist/collection/components/nv-notification/nv-notification.js +15 -5
- 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.docs.js +1 -0
- package/dist/collection/components/nv-row/nv-row.js +2 -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 +7 -4
- 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 +37 -1
- 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.docs.js +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.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-Du3Fh0jQ.js → p-B4qcUV0M.js} +1 -1
- package/dist/components/p-B8yJMa0S.js +1 -0
- package/dist/components/{p-xrXEz2WP.js → p-BU3AWnne.js} +1 -1
- package/dist/components/{p-qkNH2RHl.js → p-BYrgllP3.js} +1 -1
- package/dist/components/p-BhRpSdkR.js +1 -0
- package/dist/components/{p-C5J7jtrC.js → p-Bu90dktV.js} +1 -1
- package/dist/components/{p-BwYt1BAb.js → p-CObbk0-q.js} +1 -1
- package/dist/components/{p-DlOgBZa8.js → p-CTISxdir.js} +2 -2
- package/dist/components/{p-nzxGC8BS.js → p-Cj6urNtm.js} +1 -1
- package/dist/components/{p-DE792Sds.js → p-Cx5CLy9v.js} +1 -1
- package/dist/components/{p-CAGzfU3O.js → p-Cyn4-37z.js} +1 -1
- package/dist/components/p-CzRJpv7x.js +1 -0
- package/dist/components/{p-CKFXHAaU.js → p-CzRlra4z.js} +1 -1
- package/dist/components/{p-DGj-fiRX.js → p-D54x8OFu.js} +1 -1
- package/dist/components/{p-DUaenjr8.js → p-DP_K3tkj.js} +1 -1
- package/dist/components/{p-VXpV-BUK.js → p-DQuJvZ4Z.js} +1 -1
- package/dist/components/{p-DwtLxfU5.js → p-DZdOQQrW.js} +1 -1
- package/dist/components/{p-Co8IghI-.js → p-Dg-Ac5i4.js} +1 -1
- package/dist/components/p-DiwYO24j.js +2 -0
- package/dist/components/p-GDyaHbt9.js +1 -0
- package/dist/components/{p-h3cPA0Cx.js → p-L7U51TAH.js} +1 -1
- package/dist/components/{p-CLzCfsnq.js → p-MLanePUO.js} +1 -1
- package/dist/components/p-gOKBmbgZ.js +1 -0
- package/dist/components/{p-f8OUzde-.js → p-yPMU6HZQ.js} +1 -1
- package/dist/esm/{constants-BReL3Lsa.js → constants-gOKBmbgZ.js} +6 -1
- package/dist/esm/index-CTmBvINI.js +4820 -0
- package/dist/esm/index.js +1 -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 +8 -7
- 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 +8 -6
- package/dist/esm/nv-drawer.entry.js +3 -3
- package/dist/esm/nv-drawerfooter_2.entry.js +6 -4
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +8 -8
- package/dist/esm/nv-fielddaterange.entry.js +8 -8
- package/dist/esm/nv-fielddropdown.entry.js +6 -6
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +115 -86
- package/dist/esm/nv-fieldnumber.entry.js +6 -6
- package/dist/esm/nv-fieldpassword.entry.js +6 -6
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +7 -7
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +6 -6
- package/dist/esm/nv-fieldtextarea.entry.js +5 -5
- package/dist/esm/nv-fieldtime.entry.js +16 -13
- package/dist/esm/nv-icon.entry.js +3 -3
- 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/lib/generators/docs-blazor.js +7 -1
- 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-0bb64497.entry.js → p-04011d0f.entry.js} +1 -1
- package/dist/native/{p-4bf96114.entry.js → p-0c65e726.entry.js} +1 -1
- package/dist/native/{p-767ee0fc.entry.js → p-10dee67d.entry.js} +1 -1
- package/dist/native/p-16037ec8.entry.js +1 -0
- package/dist/native/{p-63f2f87f.entry.js → p-189647e4.entry.js} +1 -1
- package/dist/native/{p-213c5836.entry.js → p-270bf467.entry.js} +1 -1
- package/dist/native/{p-89348af5.entry.js → p-287c67e1.entry.js} +1 -1
- package/dist/native/p-298d893d.entry.js +1 -0
- package/dist/native/{p-8e1bcadc.entry.js → p-29acf903.entry.js} +1 -1
- package/dist/native/{p-05f7bad5.entry.js → p-2afcd5e4.entry.js} +1 -1
- package/dist/native/p-33889f52.entry.js +1 -0
- package/dist/native/p-34d30b90.entry.js +1 -0
- package/dist/native/p-352854eb.entry.js +1 -0
- package/dist/native/{p-cfa0eb58.entry.js → p-37c42bed.entry.js} +1 -1
- package/dist/native/{p-5ea697a7.entry.js → p-3969a700.entry.js} +1 -1
- package/dist/native/{p-e3fb16af.entry.js → p-3f888601.entry.js} +1 -1
- package/dist/native/{p-291b297d.entry.js → p-40000df1.entry.js} +1 -1
- package/dist/native/p-410c21e3.entry.js +1 -0
- package/dist/native/{p-1e03fc3c.entry.js → p-4514a6a4.entry.js} +1 -1
- package/dist/native/{p-b3477504.entry.js → p-49745be2.entry.js} +1 -1
- package/dist/native/{p-7aa4605d.entry.js → p-5375ddc6.entry.js} +1 -1
- package/dist/native/p-5690757b.entry.js +1 -0
- package/dist/native/p-5c321768.entry.js +1 -0
- package/dist/native/{p-a16f8a14.entry.js → p-5df9c196.entry.js} +1 -1
- package/dist/native/{p-2af6d988.entry.js → p-5ef11914.entry.js} +1 -1
- package/dist/native/{p-c5d97054.entry.js → p-64649214.entry.js} +1 -1
- package/dist/native/{p-9709c7d5.entry.js → p-6bb02337.entry.js} +1 -1
- package/dist/native/{p-3c4114b8.entry.js → p-6ccc84c8.entry.js} +1 -1
- package/dist/native/{p-0fe84123.entry.js → p-6dab2e90.entry.js} +1 -1
- package/dist/native/{p-fd5e27ae.entry.js → p-728f09d5.entry.js} +1 -1
- package/dist/native/{p-72d8cb56.entry.js → p-7b1c369b.entry.js} +1 -1
- package/dist/native/p-7b3853be.entry.js +1 -0
- package/dist/native/p-7c9e1f01.entry.js +1 -0
- package/dist/native/p-7cbc09f0.entry.js +1 -0
- package/dist/native/p-859b24ed.entry.js +1 -0
- package/dist/native/{p-083b39c5.entry.js → p-8decb323.entry.js} +1 -1
- package/dist/native/{p-12a8443b.entry.js → p-8dfcfb72.entry.js} +1 -1
- package/dist/native/p-8faf3e05.entry.js +1 -0
- package/dist/native/p-915fe20c.entry.js +1 -0
- package/dist/native/p-91cb5c65.entry.js +1 -0
- package/dist/native/{p-1029a266.entry.js → p-93d2bfab.entry.js} +1 -1
- package/dist/native/{p-f9612edf.entry.js → p-9affde0d.entry.js} +1 -1
- package/dist/native/p-CTmBvINI.js +2 -0
- package/dist/native/{p-f7522dac.entry.js → p-a1ef6740.entry.js} +1 -1
- package/dist/native/{p-d3e66306.entry.js → p-b2c31350.entry.js} +1 -1
- package/dist/native/p-b2ef61bc.entry.js +1 -0
- package/dist/native/{p-67e0680e.entry.js → p-b7a10751.entry.js} +1 -1
- package/dist/native/p-b88dcd21.entry.js +1 -0
- package/dist/native/p-b99ad8a7.entry.js +1 -0
- package/dist/native/{p-fab2f2b3.entry.js → p-be2e4cf0.entry.js} +1 -1
- package/dist/native/{p-493c1bb5.entry.js → p-befb5e4e.entry.js} +1 -1
- package/dist/native/{p-dc2ce8ee.entry.js → p-c1faed1f.entry.js} +1 -1
- package/dist/native/{p-4ac8181c.entry.js → p-c305f1c6.entry.js} +1 -1
- package/dist/native/{p-7c00f6da.entry.js → p-c5261442.entry.js} +1 -1
- package/dist/native/{p-90b8b889.entry.js → p-cd21a60d.entry.js} +1 -1
- package/dist/native/{p-d8120afd.entry.js → p-d0dfa700.entry.js} +1 -1
- package/dist/native/{p-58966e0f.entry.js → p-d4d04530.entry.js} +1 -1
- package/dist/native/{p-5c003e50.entry.js → p-dc000c85.entry.js} +1 -1
- package/dist/native/p-df3ab86a.entry.js +1 -0
- package/dist/native/p-dfb46af1.entry.js +1 -0
- package/dist/native/{p-6d8d2088.entry.js → p-dfd364de.entry.js} +1 -1
- package/dist/native/{p-644ecff8.entry.js → p-e7a73a7c.entry.js} +1 -1
- package/dist/native/p-eab25bfa.entry.js +1 -0
- package/dist/native/{p-95a9d385.entry.js → p-ec919a10.entry.js} +1 -1
- package/dist/native/{p-37c41059.entry.js → p-ffc9e2a0.entry.js} +1 -1
- package/dist/native/p-gOKBmbgZ.js +1 -0
- package/dist/types/components/nv-alert/nv-alert.d.ts +3 -1
- package/dist/types/components/nv-badge/nv-badge.d.ts +6 -3
- package/dist/types/components/nv-col/nv-col.d.ts +1 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +5 -2
- package/dist/types/components/nv-drawerfooter/nv-drawerfooter.d.ts +5 -2
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +16 -11
- package/dist/types/components/nv-icon/nv-icon.d.ts +2 -1
- package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -1
- package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +1 -0
- package/dist/types/components/nv-notification/nv-notification.d.ts +3 -1
- package/dist/types/components/nv-paginationtable/nv-paginationtable.utils.d.ts +9 -0
- package/dist/types/components/nv-row/nv-row.d.ts +1 -0
- package/dist/types/components/nv-sidebar/nv-sidebar.d.ts +43 -0
- package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +2 -1
- 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 +286 -30
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +4 -0
- package/dist/vscode-data.json +18399 -2634
- package/hydrate/index.js +606 -220
- package/hydrate/index.mjs +606 -220
- package/package.json +21 -9
- package/dist/cjs/index-Cfkoz1kc.js +0 -4848
- package/dist/components/p-6nAIGZFL.js +0 -2
- package/dist/components/p-BReL3Lsa.js +0 -1
- package/dist/components/p-CnkB4kvn.js +0 -1
- package/dist/components/p-CrRawrjU.js +0 -1
- package/dist/components/p-D2C_Qr5O.js +0 -1
- package/dist/components/p-DVFofrTe.js +0 -1
- package/dist/esm/index-BCjiE1MF.js +0 -4812
- package/dist/native/p-148c1d3e.entry.js +0 -1
- package/dist/native/p-1d7a27bb.entry.js +0 -1
- package/dist/native/p-25ef7329.entry.js +0 -1
- package/dist/native/p-343c04db.entry.js +0 -1
- package/dist/native/p-46267895.entry.js +0 -1
- package/dist/native/p-544b34d4.entry.js +0 -1
- package/dist/native/p-5ce3d30b.entry.js +0 -1
- package/dist/native/p-5ef0ed10.entry.js +0 -1
- package/dist/native/p-75a2a2ac.entry.js +0 -1
- package/dist/native/p-7d164a7a.entry.js +0 -1
- package/dist/native/p-7ec28d5d.entry.js +0 -1
- package/dist/native/p-9fc95cf3.entry.js +0 -1
- package/dist/native/p-BCjiE1MF.js +0 -2
- package/dist/native/p-BReL3Lsa.js +0 -1
- package/dist/native/p-ac765e6a.entry.js +0 -1
- package/dist/native/p-c2c826a4.entry.js +0 -1
- package/dist/native/p-c56ffa82.entry.js +0 -1
- package/dist/native/p-d5f5a6e1.entry.js +0 -1
- package/dist/native/p-e46c35a0.entry.js +0 -1
- package/dist/native/p-ec23ce93.entry.js +0 -1
- package/dist/native/p-fb34fc7d.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvMenuitemCss = () => `nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}`;
|
|
4
4
|
|
|
@@ -45,7 +45,7 @@ const NvMenuitem = class {
|
|
|
45
45
|
/****************************************************************************/
|
|
46
46
|
//#region RENDER
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '052f7822782c1a50cfc207dc6c7090e9ae7ddb23', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: 'b6fb4a24573d6ce2a65d1fbec49f25084aca4efc', name: this.icon }), h("slot", { key: 'dd4b413f909db1b13a642411532b4980fe495bcf' }), this.label && h("span", { key: '06e14c729b5d1a8c7fb58797fcf345eb15d02be4', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: '53802fa02a1c643b8f04ec71365115c469016e65' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: 'ef8e14ab9147ef7cba4e160a053e4900aac9a927', name: "chevron-right" })));
|
|
49
49
|
}
|
|
50
50
|
get el() { return getElement(this); }
|
|
51
51
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvNotificationBulletCss = () => `nv-notification-bullet{display:inline-flex;align-items:center;justify-content:center;min-width:var(--sidebar-notification-bullet-size);max-width:var(--sidebar-notification-bullet-size);height:var(--sidebar-notification-bullet-size);padding:0 var(--spacing-1);border-radius:var(--radius-rounded-full);font-size:var(--sidebar-notification-bullet-font-size);font-weight:var(--sidebar-notification-bullet-font-weight);white-space:nowrap;flex-shrink:0;position:relative;}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet{display:inline-flex;align-items:center;justify-content:center;min-width:var(--sidebar-notification-bullet-size);max-width:var(--sidebar-notification-bullet-size);height:var(--sidebar-notification-bullet-size);padding:0 var(--spacing-1);border-radius:var(--radius-rounded-full);font-size:var(--sidebar-notification-bullet-font-size);font-weight:var(--sidebar-notification-bullet-font-weight);white-space:nowrap;flex-shrink:0}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-brand-500);color:var(--color-feedback-neutral-high-contrast-title)}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-brand-50);color:var(--color-brand-600);border:1px solid var(--color-brand-600)}nv-notification-bullet{}nv-notification-bullet.nv-notification-bullet-neutral{display:inline-flex;align-items:center;justify-content:center;min-width:var(--sidebar-notification-bullet-size);max-width:var(--sidebar-notification-bullet-size);height:var(--sidebar-notification-bullet-size);padding:0 var(--spacing-1);border-radius:var(--radius-rounded-full);font-size:var(--sidebar-notification-bullet-font-size);font-weight:var(--sidebar-notification-bullet-font-weight);white-space:nowrap;flex-shrink:0}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-feedback-neutral-high-contrast-background);color:var(--color-feedback-neutral-high-contrast-title)}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-feedback-neutral-low-background);color:var(--color-feedback-neutral-low-text);border-radius:var(--radius-rounded-full)}nv-notification-bullet{}nv-notification-bullet.nv-notification-bullet-with-cross-border::before{content:"";position:absolute;top:55%;left:45%;transform:translate(-50%, -50%);width:calc(var(--sidebar-notification-bullet-size) + 1.5px);height:calc(var(--sidebar-notification-bullet-size) * 1.5);border-radius:var(--radius-rounded-full);background-color:var(--nv-component-background, var(--nv-sidebarnavitem-background, var(--color-interaction-container-neutral-background)));z-index:-1;pointer-events:none}nv-notification-bullet{}nv-sidebar[collapsed] nv-notification-bullet.nv-notification-bullet-with-cross-border::before{width:calc(var(--sidebar-notification-bullet-size-reduced) * 1.5);height:calc(var(--sidebar-notification-bullet-size-reduced) * 1.5)}nv-notification-bullet{}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced,nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet{width:var(--sidebar-notification-bullet-size-reduced);height:var(--sidebar-notification-bullet-size-reduced);min-width:var(--sidebar-notification-bullet-size-reduced);max-width:var(--sidebar-notification-bullet-size-reduced);min-height:var(--sidebar-notification-bullet-size-reduced);max-height:var(--sidebar-notification-bullet-size-reduced);padding:0;font-size:0}`;
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-
|
|
2
|
-
import { F as FeedbackColors, N as NotificationPosition } from './constants-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
|
+
import { F as FeedbackColors, N as NotificationPosition } from './constants-gOKBmbgZ.js';
|
|
3
3
|
import { u as useCollapse } from './collapse.animation-DZDm0vSK.js';
|
|
4
4
|
import { u as useFade } from './fade.animation-DcRL9lcm.js';
|
|
5
5
|
import './style-value-types.es-xlgmw4x8.js';
|
|
@@ -162,7 +162,7 @@ const NvNotification = class {
|
|
|
162
162
|
/****************************************************************************/
|
|
163
163
|
//#region RENDER
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '32af1308aa22ce8228416fcce23ce5b75111895b', 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: 'e63deeef95ae6c0e3fe1d8ce178c5dbe9d82f88c', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: '1b66875001f685293d83bbe90a85b297b335c024', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'b1be8798751f60f41925ea92e40df697eb15fa42', name: "x", size: "sm" }))), h("nv-icon", { key: 'a922d93bddb729fa7674199d438833544d48da2e', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: 'a55e449e8e17560a70d3d40ff3b9e7e2855fbbac', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'd4c7b85c8b9c5c488b86ba4c8f0c456b8ea3ca2d', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: 'e1ef0d24ae77ee788c63d66bed7fee308f3f9d13', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: 'cd7d469058230fec03311e485da0360766633dd0', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'cd5000e571c1a7b19bbb0f59e58e938ee4e51361', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: 'b0a19b512cc2fbce22907ac28828429202378e75', "data-scope": "actions" }, h("slot", { key: 'd40e04eb94154b319c8e212c76f1d932942137d0', name: "actions" })))))));
|
|
166
166
|
}
|
|
167
167
|
get el() { return getElement(this); }
|
|
168
168
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvNotificationcontainerCss = () => `nv-notificationcontainer{position:fixed;display:flex;flex-direction:column;padding:var(--spacing-2);padding-top:0;z-index:9999;pointer-events:none;width:100%;max-width:512px}nv-notificationcontainer.position-top-right{top:0;right:0}nv-notificationcontainer.position-top-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-top-left{top:0;left:0}nv-notificationcontainer.position-top-left nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-top-center{top:0;left:50%;transform:translateX(-50%)}nv-notificationcontainer.position-top-center nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-bottom-right{bottom:0;right:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-left{bottom:0;left:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-left nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-center{bottom:0;left:50%;transform:translateX(-50%);flex-direction:column-reverse}nv-notificationcontainer.position-bottom-center nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer>*{pointer-events:auto}`;
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ const NvNotificationContainer = class {
|
|
|
16
16
|
/****************************************************************************/
|
|
17
17
|
//#region RENDER
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '3618bd72eb82ee09c8c971d83ea3e0dbb58f6fbf', class: `position-${this.position}` }, h("slot", { key: 'ed0d1b37dd23e984365a92d45c6ecae31a5bbac9' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
NvNotificationContainer.style = nvNotificationcontainerCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Generates a pagination range with page numbers and ellipsis items.
|
|
@@ -175,7 +175,7 @@ const NvPaginationNav = class {
|
|
|
175
175
|
render() {
|
|
176
176
|
const isFirstPage = this.currentPage === 1;
|
|
177
177
|
const isLastPage = this.currentPage === this.totalPages;
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: '2aecff38a5777b1e229b04110e774d4ac708e940' }, h("nav", { key: 'a470aab7d30178269f25eb794b447b6478ed274d', "data-scope": "pagination-nav", "aria-label": "Pagination navigation" }, this.isOnlyIcon ? (h("nv-iconbutton", { name: "chevron-left", size: "md", emphasis: "lower", disabled: isFirstPage, onClick: () => this.handlePageChange(this.currentPage - 1), "data-scope": "previous-iconbutton", "aria-label": this.previousButtonLabel })) : (h("nv-button", { size: "md", emphasis: "lower", disabled: isFirstPage, onClick: () => this.handlePageChange(this.currentPage - 1), "data-scope": "previous-button" }, h("nv-icon", { slot: "leading-icon", name: "chevron-left" }), this.previousButtonLabel)), h("ol", { key: '4ea58c4f536310c0d60354da84d9fd650a16dc67', "data-scope": "page-list" }, calculatePaginationRange({
|
|
179
179
|
currentPage: this.currentPage,
|
|
180
180
|
totalCount: this.totalCount,
|
|
181
181
|
pageSize: this.pageSize,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Pagination table utility functions for nv-paginationtable component
|
|
@@ -35,6 +35,19 @@ function interpolate(template, values, fallback) {
|
|
|
35
35
|
function isFirstPage(pageIndex) {
|
|
36
36
|
return pageIndex === 0;
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Returns the 1-based page number to show in the page label.
|
|
40
|
+
* When there are no pages (empty/filtered-to-zero dataset), returns 0 so
|
|
41
|
+
* the label reads e.g. "Page 0 of 0" instead of "Page 1 of 0".
|
|
42
|
+
* @param {number} pageIndex - Current page index (zero-based)
|
|
43
|
+
* @param {number} pageCount - Total number of pages
|
|
44
|
+
* @returns {number} The page number to display (1-based, or 0 when no pages)
|
|
45
|
+
*/
|
|
46
|
+
function getDisplayPageNumber(pageIndex, pageCount) {
|
|
47
|
+
if (pageCount <= 0)
|
|
48
|
+
return 0;
|
|
49
|
+
return pageIndex + 1;
|
|
50
|
+
}
|
|
38
51
|
/**
|
|
39
52
|
* Checks if navigation to the last/next page is possible
|
|
40
53
|
* @param {number} pageIndex - Current page index (zero-based)
|
|
@@ -207,10 +220,13 @@ const NvPaginationtable = class {
|
|
|
207
220
|
const atFirstPage = isFirstPage(this.pageIndex);
|
|
208
221
|
const atLastPage = isLastPage(this.pageIndex, this.pageCount);
|
|
209
222
|
// Use fallback values to handle undefined props (can happen when frameworks pass undefined explicitly)
|
|
210
|
-
const pageLabel = interpolate(this.labelPage, {
|
|
223
|
+
const pageLabel = interpolate(this.labelPage, {
|
|
224
|
+
pageIndex: getDisplayPageNumber(this.pageIndex, this.pageCount),
|
|
225
|
+
pageCount: this.pageCount,
|
|
226
|
+
}, 'Page {pageIndex} of {pageCount}');
|
|
211
227
|
const totalLabel = interpolate(this.labelTotal, { rowCount: this.rowCount }, 'Total: {rowCount} rows');
|
|
212
228
|
const pageSizeOptions = generatePageSizeOptions(this.labelPageSizeOption ?? '{pageSize} per page');
|
|
213
|
-
return (h(Host, { key: '
|
|
229
|
+
return (h(Host, { key: '5f0e4d93600b77cf9b54b99a1ccffb1048c389fe', role: "navigation", "aria-label": "Pagination" }, !this.hideControls && (h("div", { key: '5226510a0d4cabba98d7aafaa7e3cd7d413b2d8a', "data-scope": "controls" }, !this.hideFirstLast && (h("nv-iconbutton", { key: 'bdcb8d93cdf24821ab5cdedc0413a77f163e19a1', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: '822cfe5bd177ebbdce436f0f850fad9a86aae1c5', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'fd0aa10dee6b72d816b6801c03e5be7fb9a3698d', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (h("nv-iconbutton", { key: 'a5b8fa71a51d0157dc37b908f972c0d830b44b00', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), h("span", { key: '0b09d7507a9d1f3dbabbb37265d6949243290b1b', "data-scope": "page-label" }, pageLabel), h("span", { key: '275c4a1ca625a0afc68bfff46fc3e2872e0f76c3', "data-scope": "total" }, totalLabel), h("div", { key: '8a329ccc7baaac9f580aed7d2a53ed7f940c123a', "data-scope": "per-page" }, h("nv-fieldselect", { key: '83c644de7d30e63e0a96ccccaefb311acdd7617c', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), h("slot", { key: '190b8c8587c25ca449339a6ea1bbd85bed06d35f' })));
|
|
214
230
|
}
|
|
215
231
|
static get watchers() { return {
|
|
216
232
|
"pageIndex": [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StencilCore, r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { S as StencilCore, r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
import { u as useFade } from './fade.animation-DcRL9lcm.js';
|
|
3
3
|
import { u as useGrow } from './grow.animation-D7ep_aVl.js';
|
|
4
4
|
import './style-value-types.es-xlgmw4x8.js';
|
|
@@ -1957,7 +1957,7 @@ const NvPopover = class {
|
|
|
1957
1957
|
/****************************************************************************/
|
|
1958
1958
|
//#region RENDER
|
|
1959
1959
|
render() {
|
|
1960
|
-
return (h(Host, { key: '
|
|
1960
|
+
return (h(Host, { key: '01b6cff8203a7e1ffe5b05aeea7f8e35238ac9bb' }, h("slot", { key: '63264f349fbc817a8b4efe7272715942fc307863', name: "trigger" }), h("div", { key: '0a251a4447bbe7481a71465ac2402aeb156ba537', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'c958f8cd4c8f19d4ac7e8779cb4555a5b9dbfc01', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '72d516982d54945924c88372a54d19ba568a4e4a', name: "content" }))));
|
|
1961
1961
|
}
|
|
1962
1962
|
get el() { return getElement(this); }
|
|
1963
1963
|
static get watchers() { return {
|
package/dist/esm/nv-row.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvRowCss = () => `nv-row{display:flex;flex-wrap:wrap;margin-right:calc(var(--spacing-4) * -1);margin-left:calc(var(--spacing-4) * -1);row-gap:var(--spacing-4)}`;
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const NvRow = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '6363fba1008818b66f1eeb4ade8949f56c7c23b0' }, h("slot", { key: '2a2399121ac20fb577a29c93ba764f196352a9b8' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvRow.style = nvRowCss();
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
|
-
const nvSidebarCss = () => `nv-sidebarnavitem a,nv-sidebarnavitem a:link,nv-sidebarnavitem a:visited,nv-sidebarnavitem a:hover,nv-sidebarnavitem a:active,nv-sidebarnavsubitem a,nv-sidebarnavsubitem a:link,nv-sidebarnavsubitem a:visited,nv-sidebarnavsubitem a:hover,nv-sidebarnavsubitem a:active{color:inherit !important;text-decoration:none !important}nv-sidebar{display:flex;flex-direction:column;position:relative;height:100vh;background-color:var(--components-sidebar-background);border-right:var(--sidebar-divider-size) solid var(--components-sidebar-border);transition:width 0.3s ease;width:var(--sidebar-width)}nv-sidebar[collapsed]{width:var(--sidebar-width-collapsed)}nv-sidebar[collapsed] [data-hide-on-collapsed]{display:none !important}nv-sidebar[collapsed] .nv-sidebar-container{padding:var(--sidebar-padding-y) var(--sidebar-padding-x-collapsed)}nv-sidebar .nv-sidebar-container{display:flex;flex-direction:column;flex:1;overflow:hidden;padding:var(--sidebar-padding-y) var(--sidebar-padding-x);gap:var(--sidebar-gap-y)}nv-sidebar .nv-sidebar-toggle{position:absolute;top:var(--sidebar-collapsible-button-position-top);right:calc(-1 * var(--sidebar-collapsible-button-position-right));display:flex;align-items:center;justify-content:center;padding:var(--sidebar-collapsible-button-padding);background-color:var(--components-sidebar-background);border:1px solid var(--color-content-low-border);border-radius:var(--radius-rounded-full);cursor:pointer;transition:transform 0.2s ease;z-index:10}nv-sidebar .nv-sidebar-toggle:hover{background-color:var(--color-interaction-container-neutral-background-hover)}nv-sidebar .nv-sidebar-toggle:focus,nv-sidebar .nv-sidebar-toggle:focus-within{outline:none}nv-sidebar .nv-sidebar-toggle:focus-visible,nv-sidebar .nv-sidebar-toggle:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebar .nv-sidebar-toggle nv-icon{width:var(--sidebar-collapsible-button-icon-size);height:var(--sidebar-collapsible-button-icon-size);color:var(--color-interaction-container-neutral-icon)}nv-sidebar .nv-sidebar-toggle nv-icon:hover{color:var(--color-interaction-container-neutral-icon-hover)}`;
|
|
3
|
+
const nvSidebarCss = () => `nv-sidebarnavitem a,nv-sidebarnavitem a:link,nv-sidebarnavitem a:visited,nv-sidebarnavitem a:hover,nv-sidebarnavitem a:active,nv-sidebarnavsubitem a,nv-sidebarnavsubitem a:link,nv-sidebarnavsubitem a:visited,nv-sidebarnavsubitem a:hover,nv-sidebarnavsubitem a:active{color:inherit !important;text-decoration:none !important}nv-sidebar{display:flex;flex-direction:column;position:relative;height:100vh;background-color:var(--components-sidebar-background);border-right:var(--sidebar-divider-size) solid var(--components-sidebar-border);transition:width 0.3s ease;width:var(--sidebar-width)}nv-sidebar[collapsed]{width:var(--sidebar-width-collapsed)}nv-sidebar[collapsed] [data-hide-on-collapsed]{display:none !important}nv-sidebar[collapsed] .nv-sidebar-container{padding:var(--sidebar-padding-y) var(--sidebar-padding-x-collapsed)}nv-sidebar[resizing]{transition:none}nv-sidebar .nv-sidebar-container{display:flex;flex-direction:column;flex:1;overflow:hidden;padding:var(--sidebar-padding-y) var(--sidebar-padding-x);gap:var(--sidebar-gap-y)}nv-sidebar .nv-sidebar-toggle{position:absolute;top:var(--sidebar-collapsible-button-position-top);right:calc(-1 * var(--sidebar-collapsible-button-position-right));display:flex;align-items:center;justify-content:center;padding:var(--sidebar-collapsible-button-padding);background-color:var(--components-sidebar-background);border:1px solid var(--color-content-low-border);border-radius:var(--radius-rounded-full);cursor:pointer;transition:transform 0.2s ease;z-index:10}nv-sidebar .nv-sidebar-toggle:hover{background-color:var(--color-interaction-container-neutral-background-hover)}nv-sidebar .nv-sidebar-toggle:focus,nv-sidebar .nv-sidebar-toggle:focus-within{outline:none}nv-sidebar .nv-sidebar-toggle:focus-visible,nv-sidebar .nv-sidebar-toggle:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebar .nv-sidebar-toggle nv-icon{width:var(--sidebar-collapsible-button-icon-size);height:var(--sidebar-collapsible-button-icon-size);color:var(--color-interaction-container-neutral-icon)}nv-sidebar .nv-sidebar-toggle nv-icon:hover{color:var(--color-interaction-container-neutral-icon-hover)}nv-sidebar .nv-sidebar-resize-handle{position:absolute;top:0;right:calc(-1 * var(--sidebar-divider-size));width:4px;height:100%;cursor:col-resize;background-color:transparent;transition:background-color 0.15s ease;z-index:9;user-select:none;touch-action:none}nv-sidebar .nv-sidebar-resize-handle:hover,nv-sidebar .nv-sidebar-resize-handle:focus-visible{background-color:var(--color-interaction-container-branded-high-background)}nv-sidebar .nv-sidebar-resize-handle:focus,nv-sidebar .nv-sidebar-resize-handle:focus-within{outline:none}nv-sidebar .nv-sidebar-resize-handle:focus-visible,nv-sidebar .nv-sidebar-resize-handle:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}`;
|
|
4
4
|
|
|
5
|
+
const KEYBOARD_STEP = 8;
|
|
5
6
|
const NvSidebar = class {
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
9
|
this.openChanged = createEvent(this, "openChanged", 3);
|
|
10
|
+
this.widthChanged = createEvent(this, "widthChanged", 3);
|
|
11
|
+
this.resizeStartX = 0;
|
|
12
|
+
this.resizeStartWidth = 0;
|
|
9
13
|
/****************************************************************************/
|
|
10
14
|
//#region PROPERTIES
|
|
11
15
|
/**
|
|
@@ -31,6 +35,23 @@ const NvSidebar = class {
|
|
|
31
35
|
* - low: Less prominent appearance
|
|
32
36
|
*/
|
|
33
37
|
this.notificationEmphasis = 'high';
|
|
38
|
+
/**
|
|
39
|
+
* When true, the sidebar can be resized horizontally by dragging its right edge.
|
|
40
|
+
* Only active when the sidebar is open (not collapsed).
|
|
41
|
+
*/
|
|
42
|
+
this.resizable = false;
|
|
43
|
+
/**
|
|
44
|
+
* Minimum width in pixels when resizing.
|
|
45
|
+
*/
|
|
46
|
+
this.minWidth = 200;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum width in pixels when resizing.
|
|
49
|
+
*/
|
|
50
|
+
this.maxWidth = 480;
|
|
51
|
+
//#endregion PROPERTIES
|
|
52
|
+
/****************************************************************************/
|
|
53
|
+
//#region STATE
|
|
54
|
+
this.resizing = false;
|
|
34
55
|
//#endregion EVENTS
|
|
35
56
|
/****************************************************************************/
|
|
36
57
|
//#region METHODS
|
|
@@ -40,6 +61,81 @@ const NvSidebar = class {
|
|
|
40
61
|
this.open = !this.open;
|
|
41
62
|
}
|
|
42
63
|
};
|
|
64
|
+
this.handleResizeStart = (event) => {
|
|
65
|
+
if (event.button !== 0)
|
|
66
|
+
return;
|
|
67
|
+
if (this.resizing)
|
|
68
|
+
return;
|
|
69
|
+
if (!this.canResize())
|
|
70
|
+
return;
|
|
71
|
+
event.preventDefault();
|
|
72
|
+
this.resizing = true;
|
|
73
|
+
this.resizeStartX = event.clientX;
|
|
74
|
+
// clientWidth excludes the border, matching the CSS width that drives `--sidebar-width`
|
|
75
|
+
this.resizeStartWidth = this.el.clientWidth;
|
|
76
|
+
// Pointer capture routes subsequent pointer events to the handle even when
|
|
77
|
+
// the pointer leaves it, so releasing outside the window still fires pointerup
|
|
78
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
79
|
+
};
|
|
80
|
+
this.handleResizeMove = (event) => {
|
|
81
|
+
if (!this.resizing || !this.canResize())
|
|
82
|
+
return;
|
|
83
|
+
const delta = event.clientX - this.resizeStartX;
|
|
84
|
+
this.width = this.clampWidth(this.resizeStartWidth + delta);
|
|
85
|
+
};
|
|
86
|
+
this.handleResizeEnd = (event) => {
|
|
87
|
+
if (!this.resizing)
|
|
88
|
+
return;
|
|
89
|
+
this.releasePointerCapture(event);
|
|
90
|
+
this.resizing = false;
|
|
91
|
+
if (this.width != null) {
|
|
92
|
+
this.widthChanged.emit(this.width);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
this.handleResizeCancel = (event) => {
|
|
96
|
+
// Pointer cancel means the interaction was aborted (browser gesture, system
|
|
97
|
+
// event). Release capture and drop the drag, but do not emit widthChanged
|
|
98
|
+
// since the value was not committed by the user.
|
|
99
|
+
if (!this.resizing)
|
|
100
|
+
return;
|
|
101
|
+
this.releasePointerCapture(event);
|
|
102
|
+
this.resizing = false;
|
|
103
|
+
};
|
|
104
|
+
this.cancelResize = () => {
|
|
105
|
+
if (!this.resizing)
|
|
106
|
+
return;
|
|
107
|
+
this.resizing = false;
|
|
108
|
+
};
|
|
109
|
+
this.handleResizeKeyDown = (event) => {
|
|
110
|
+
if (!this.canResize())
|
|
111
|
+
return;
|
|
112
|
+
const [min, max] = this.getBounds();
|
|
113
|
+
const current = this.width ?? this.el.clientWidth;
|
|
114
|
+
let next = null;
|
|
115
|
+
switch (event.key) {
|
|
116
|
+
case 'ArrowLeft':
|
|
117
|
+
next = current - KEYBOARD_STEP;
|
|
118
|
+
break;
|
|
119
|
+
case 'ArrowRight':
|
|
120
|
+
next = current + KEYBOARD_STEP;
|
|
121
|
+
break;
|
|
122
|
+
case 'Home':
|
|
123
|
+
next = min;
|
|
124
|
+
break;
|
|
125
|
+
case 'End':
|
|
126
|
+
next = max;
|
|
127
|
+
break;
|
|
128
|
+
default:
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
const currentClamped = this.clampWidth(current);
|
|
133
|
+
const nextClamped = this.clampWidth(next);
|
|
134
|
+
if (nextClamped === currentClamped)
|
|
135
|
+
return;
|
|
136
|
+
this.width = nextClamped;
|
|
137
|
+
this.widthChanged.emit(this.width);
|
|
138
|
+
};
|
|
43
139
|
/**
|
|
44
140
|
* Sets the active state of navigation items based on activePath
|
|
45
141
|
*/
|
|
@@ -115,6 +211,48 @@ const NvSidebar = class {
|
|
|
115
211
|
});
|
|
116
212
|
};
|
|
117
213
|
}
|
|
214
|
+
getBounds() {
|
|
215
|
+
// Fall back to the built-in defaults if a consumer passes a non-finite bound
|
|
216
|
+
const rawMin = Number.isFinite(this.minWidth) ? this.minWidth : 200;
|
|
217
|
+
const rawMax = Number.isFinite(this.maxWidth) ? this.maxWidth : 480;
|
|
218
|
+
return [Math.min(rawMin, rawMax), Math.max(rawMin, rawMax)];
|
|
219
|
+
}
|
|
220
|
+
clampWidth(value) {
|
|
221
|
+
const [min, max] = this.getBounds();
|
|
222
|
+
return Math.round(Math.min(Math.max(value, min), max));
|
|
223
|
+
}
|
|
224
|
+
canResize() {
|
|
225
|
+
return this.resizable && !(this.type === 'collapsible' && !this.open);
|
|
226
|
+
}
|
|
227
|
+
getAriaValueNow() {
|
|
228
|
+
if (this.width != null)
|
|
229
|
+
return this.clampWidth(this.width);
|
|
230
|
+
const [min] = this.getBounds();
|
|
231
|
+
return this.clampWidth(this.el?.clientWidth || min);
|
|
232
|
+
}
|
|
233
|
+
applyWidthStyle() {
|
|
234
|
+
if (this.width == null) {
|
|
235
|
+
this.el.style.removeProperty('--sidebar-width');
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
if (!Number.isFinite(this.width)) {
|
|
239
|
+
// Guard against NaN/Infinity which would otherwise loop through @Watch('width') forever
|
|
240
|
+
this.width = undefined;
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
const clamped = this.clampWidth(this.width);
|
|
244
|
+
if (clamped !== this.width) {
|
|
245
|
+
this.width = clamped;
|
|
246
|
+
return; // @Watch('width') will re-enter and apply the clamped value
|
|
247
|
+
}
|
|
248
|
+
this.el.style.setProperty('--sidebar-width', `${clamped}px`);
|
|
249
|
+
}
|
|
250
|
+
releasePointerCapture(event) {
|
|
251
|
+
const target = event.currentTarget;
|
|
252
|
+
if (target?.hasPointerCapture(event.pointerId)) {
|
|
253
|
+
target.releasePointerCapture(event.pointerId);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
118
256
|
handleCollapsedSideEffects(isCollapsed) {
|
|
119
257
|
if (!isCollapsed) {
|
|
120
258
|
return;
|
|
@@ -131,11 +269,32 @@ const NvSidebar = class {
|
|
|
131
269
|
}
|
|
132
270
|
onOpenChanged(newValue, oldValue) {
|
|
133
271
|
this.handleCollapsedSideEffects(this.type === 'collapsible' && !newValue);
|
|
272
|
+
// Cancel any in-progress resize if the sidebar is programmatically collapsed
|
|
273
|
+
if (this.type === 'collapsible' && !newValue) {
|
|
274
|
+
this.cancelResize();
|
|
275
|
+
}
|
|
134
276
|
// Only emit event when open state actually changes (not on re-render with same value)
|
|
135
277
|
if (this.type === 'collapsible' && newValue !== oldValue) {
|
|
136
278
|
this.openChanged.emit(newValue);
|
|
137
279
|
}
|
|
138
280
|
}
|
|
281
|
+
onWidthChanged() {
|
|
282
|
+
this.applyWidthStyle();
|
|
283
|
+
}
|
|
284
|
+
onBoundsChanged() {
|
|
285
|
+
// Re-clamp the current width against the new bounds so visuals and ARIA stay within range
|
|
286
|
+
if (this.width != null) {
|
|
287
|
+
const clamped = this.clampWidth(this.width);
|
|
288
|
+
if (clamped !== this.width) {
|
|
289
|
+
this.width = clamped;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
onResizableChanged(newValue) {
|
|
294
|
+
if (!newValue) {
|
|
295
|
+
this.cancelResize();
|
|
296
|
+
}
|
|
297
|
+
}
|
|
139
298
|
//#endregion WATCHERS
|
|
140
299
|
/****************************************************************************/
|
|
141
300
|
//#region LIFECYCLE
|
|
@@ -143,6 +302,7 @@ const NvSidebar = class {
|
|
|
143
302
|
this.setActiveNavItems();
|
|
144
303
|
this.setupMutationObserver();
|
|
145
304
|
this.handleCollapsedSideEffects(this.type === 'collapsible' && !this.open);
|
|
305
|
+
this.applyWidthStyle();
|
|
146
306
|
}
|
|
147
307
|
disconnectedCallback() {
|
|
148
308
|
if (this.mutationObserver) {
|
|
@@ -157,9 +317,11 @@ const NvSidebar = class {
|
|
|
157
317
|
//#region RENDER
|
|
158
318
|
render() {
|
|
159
319
|
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
160
|
-
|
|
320
|
+
const showResizeHandle = this.resizable && !isCollapsed;
|
|
321
|
+
const [ariaValueMin, ariaValueMax] = this.getBounds();
|
|
322
|
+
return (h(Host, { key: '24fa9b232e27fe864d6984bf947d9720ffd1804d', role: "navigation", collapsed: isCollapsed ? true : undefined, resizing: this.resizing ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, h("div", { key: 'c9d15e38ab0b18c34858fca91376439f300e2f61', class: "nv-sidebar-container" }, h("slot", { key: 'fe732ec38f8848dfc3516ee2a601d8ceb313b559' })), this.type === 'collapsible' && (h("button", { key: '53f9de5d7318cdea02abe6928dda4b488d43e0a8', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h("nv-icon", { key: 'ea42dca24abed9ec5981027b0f5ac5ae9aaa3b1f', name: this.open
|
|
161
323
|
? 'layout-sidebar-left-collapse'
|
|
162
|
-
: 'layout-sidebar-right-collapse', size: "sm" })))));
|
|
324
|
+
: 'layout-sidebar-right-collapse', size: "sm" }))), showResizeHandle && (h("div", { key: '1f28ce72b3eb61223d708d519761ab9eef182f2e', class: "nv-sidebar-resize-handle", role: "separator", "aria-orientation": "vertical", "aria-label": "Resize sidebar", "aria-valuenow": this.getAriaValueNow(), "aria-valuemin": ariaValueMin, "aria-valuemax": ariaValueMax, tabIndex: 0, onPointerDown: this.handleResizeStart, onPointerMove: this.handleResizeMove, onPointerUp: this.handleResizeEnd, onPointerCancel: this.handleResizeCancel, onKeyDown: this.handleResizeKeyDown }))));
|
|
163
325
|
}
|
|
164
326
|
get el() { return getElement(this); }
|
|
165
327
|
static get watchers() { return {
|
|
@@ -168,6 +330,18 @@ const NvSidebar = class {
|
|
|
168
330
|
}],
|
|
169
331
|
"open": [{
|
|
170
332
|
"onOpenChanged": 0
|
|
333
|
+
}],
|
|
334
|
+
"width": [{
|
|
335
|
+
"onWidthChanged": 0
|
|
336
|
+
}],
|
|
337
|
+
"minWidth": [{
|
|
338
|
+
"onBoundsChanged": 0
|
|
339
|
+
}],
|
|
340
|
+
"maxWidth": [{
|
|
341
|
+
"onBoundsChanged": 0
|
|
342
|
+
}],
|
|
343
|
+
"resizable": [{
|
|
344
|
+
"onResizableChanged": 0
|
|
171
345
|
}]
|
|
172
346
|
}; }
|
|
173
347
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarcontentCss = () => `nv-sidebarcontent{display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden}`;
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const NvSidebarcontent = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '85b6fd48dca4c6889c16453ba53e6bdcb692782a', role: "list" }, h("slot", { key: 'f2a2860c6bcd8a1196f191f6af2f3be28713d792' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarcontent.style = nvSidebarcontentCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebardividerCss = () => `nv-sidebardivider{display:block;height:var(--sidebar-divider-size);background-color:var(--components-sidebar-divider)}`;
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const NvSidebardivider = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return h(Host, { key: '
|
|
12
|
+
return h(Host, { key: '31125496c90eb141cd70a69ac24f5d2b2165821c', role: "separator", "aria-orientation": "horizontal" });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebardivider.style = nvSidebardividerCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarfooterCss = () => `nv-sidebarfooter{display:block;margin-top:auto}`;
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const NvSidebarfooter = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '1d281299e81cf2081b6e77f3a47e75c8efe699fa' }, h("slot", { key: 'd0211b2b36ae6dc31f1a63e82eb8cc7c58c8e56a' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarfooter.style = nvSidebarfooterCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebargroupCss = () => `nv-sidebargroup{display:flex;flex-direction:column;gap:var(--sidebar-group-gap-y)}nv-sidebargroup .nv-sidebargroup-label{display:block;font-size:var(--font-size-sm);line-height:var(--line-height-sm);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-lower-text);letter-spacing:0;padding:var(--sidebar-title-padding-y) var(--sidebar-title-padding-x)}nv-sidebar[collapsed] nv-sidebargroup .nv-sidebargroup-label{display:none}`;
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ const NvSidebargroup = class {
|
|
|
10
10
|
/****************************************************************************/
|
|
11
11
|
//#region RENDER
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '039c251fd46c3c178d1fc5329cbf676947f9f736', role: "group", "aria-label": this.label }, this.label && h("div", { key: 'f2fc7cbbe469ab8f71caa86ec62ed98347c1072a', class: "nv-sidebargroup-label" }, this.label), h("slot", { key: '67cf9ff6aa2f61feaf1c3966e7975fbf5273229c' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
NvSidebargroup.style = nvSidebargroupCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarheaderCss = () => `nv-sidebarheader{display:block}`;
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const NvSidebarheader = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'f29fff2d903edbcea70de45e3aca5e7049872464' }, h("slot", { key: 'e5854558583d51d0dba078da41311fedcaeb9bc5' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarheader.style = nvSidebarheaderCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarlogoCss = () => `nv-sidebarlogo{display:block}nv-sidebarlogo .nv-sidebarlogo-container{display:flex;align-items:center;gap:var(--spacing-3)}nv-sidebarlogo .nv-sidebarlogo-full,nv-sidebarlogo .nv-sidebarlogo-collapsed{height:var(--spacing-8);width:auto;object-fit:contain}nv-sidebarlogo .nv-sidebarlogo-collapsed{display:none}nv-sidebarlogo .nv-sidebarlogo-title{font-size:var(--nv-sidebarlogo-font-size, var(--font-size-md));font-weight:var(--nv-sidebarlogo-font-weight, var(--font-weight-high-emphasis));font-family:var(--nv-sidebarlogo-font-family, inherit);color:var(--color-content-high-text);white-space:nowrap;overflow:hidden;transition:opacity 0.2s ease, max-width 0.3s ease, margin-left 0.3s ease;max-width:200px;opacity:1}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-full{display:none}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-collapsed{display:block}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-title{max-width:0;opacity:0;margin-left:0}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-container{justify-content:center;align-items:center;gap:0;width:100%;min-height:var(--spacing-12);padding:0}`;
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ const NvSidebarlogo = class {
|
|
|
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: '6c8f69d79da3f6f308489b440951c4c70bbf1607' }, h("div", { key: '614c4925f8e26fbcb53387f0d166d51435a67759', class: "nv-sidebarlogo-container" }, h("img", { key: 'e6e6d3b5a024179c7e0042a3fd2be330379fd1c5', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h("img", { key: 'f58059a9ec0ddc7840e77fcd3ec64d1e30b87a13', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), h("slot", { key: '2f895cfb6487af387d501bb0d22f39967a08b83a', name: "label" }), this.label && h("span", { key: 'df6039eb0a010bc547a3017ca50be61b9929337d', class: "nv-sidebarlogo-title" }, this.label))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
NvSidebarlogo.style = nvSidebarlogoCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarnavitemCss = () => `nv-sidebarnavitem{display:flex;flex-direction:column;gap:0}nv-sidebarnavitem .nv-sidebarnavitem-trigger{display:flex;align-items:center;gap:var(--sidebar-item-gap-x);padding:var(--sidebar-item-padding-y) var(--sidebar-item-padding-x);border-radius:var(--sidebar-item-radius);cursor:pointer;transition:all 0.15s ease;font-size:var(--sidebar-item-font-size);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-low-text);background:var(--components-sidebar-background);text-decoration:none;--nv-component-background:var(--components-sidebar-background);--nv-sidebarnavitem-background:var(--components-sidebar-background)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:hover{background-color:var(--color-interaction-container-neutral-background-hover);color:var(--color-content-medium-text);--nv-component-background:var(--color-interaction-container-neutral-background-hover);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus,nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-within{outline:none}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-visible,nv-sidebarnavitem .nv-sidebarnavitem-trigger:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavitem[active] .nv-sidebarnavitem-trigger{background-color:var(--color-interaction-container-neutral-background-active);color:var(--color-interaction-container-neutral-text-active);font-weight:var(--font-weight-medium-emphasis);--nv-component-background:var(--color-interaction-container-neutral-background-active);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavitem .nv-sidebarnavitem-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit;width:var(--sidebar-item-icon-size);height:var(--sidebar-item-icon-size);position:relative}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon{overflow:visible;margin:0;justify-content:center}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon nv-notification-bullet{position:absolute;transform:translate(50%, -50%);z-index:1;--sidebar-notification-bullet-size-reduced:calc( var(--sidebar-item-icon-size) * 0.4 )}nv-sidebarnavitem .nv-sidebarnavitem-content{flex:1;display:flex;align-items:center}nv-sidebarnavitem .nv-sidebarnavitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavitem .nv-sidebarnavitem-trailing{display:flex;align-items:center;gap:var(--spacing-2);margin-left:auto}nv-sidebarnavitem .nv-sidebarnavitem-chevron{transition:transform 0.2s ease;color:inherit}nv-sidebarnavitem[open] .nv-sidebarnavitem-chevron{transform:rotate(180deg)}nv-sidebarnavitem .nv-sidebarnavitem-subitems{display:flex;flex-direction:column;gap:0;max-height:0;overflow:hidden;opacity:0;transition:max-height 0.3s ease, opacity 0.2s ease;padding-left:0}nv-sidebarnavitem[open] .nv-sidebarnavitem-subitems{opacity:1;margin-top:var(--spacing-1)}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trigger{justify-content:center;gap:0;padding:var(--sidebar-item-padding-y-collapsed) var(--sidebar-item-padding-x-collapsed)}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-content{display:none}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trailing,nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-chevron{display:none}`;
|
|
4
4
|
|
|
@@ -271,7 +271,7 @@ const NvSidebarnavitem = class {
|
|
|
271
271
|
render() {
|
|
272
272
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
273
273
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
274
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '5d7b7d92812e20fa0ff6765506afc26965bcad19', role: "listitem" }, h("div", { key: '080e96026b2b1d8ed1edfe3b291aea27b3ef6a29', 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: 'e97b9141eaf73fb363374227b59317bdf40289a3', class: "nv-sidebarnavitem-icon" }, h("nv-icon", { key: '1c7f7bbf4fd36963873b70a65786e4f89463e636', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '53151726d69a262a40e3eae7751757081e7cc70e', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h("div", { key: '1a0a208300d3d17e7c1ecce3db5a307167be730e', class: "nv-sidebarnavitem-content" }, h("slot", { key: 'e92c48e3d9c71d767fe7e775c97d6da678f132e5' })), h("div", { key: '0f436e17da2cfadb01096eaa7854ad2c2ed2a4b3', class: "nv-sidebarnavitem-trailing" }, h("slot", { key: '71d23bd377b11c2bf5eaf17c25e26df33b4d9b53', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '1d6c4ab8f326d39bd7b452d8b0fe44577369b9f4', count: this.notificationCount, size: notificationSize })), this.collapsible && (h("nv-icon", { key: '13f4eb6174a76790bac429227d05de1beae4b4ee', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h("div", { key: '6d5a87e10c7394663237f466d36871fe7cce48ae', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
275
275
|
// Only update ref and initialize if element changed or not yet initialized
|
|
276
276
|
if (el !== this.subitemsRef) {
|
|
277
277
|
this.subitemsRef = el;
|
|
@@ -286,7 +286,7 @@ const NvSidebarnavitem = class {
|
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
} }, h("slot", { key: '
|
|
289
|
+
} }, h("slot", { key: '6790db049f61ca41292bfd865884548a5a5da5d0', name: "subitems" })))));
|
|
290
290
|
}
|
|
291
291
|
get el() { return getElement(this); }
|
|
292
292
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSidebarnavsubitemCss = () => `nv-sidebarnavsubitem{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--sidebar-item-padding-y) var(--sidebar-item-padding-x) var(--sidebar-item-padding-y) calc(var(--sidebar-sub-item-padding-left) + var(--sidebar-item-padding-x));cursor:pointer;transition:all 0.15s ease;position:relative;min-height:var(--spacing-10);background-color:var(--color-interaction-container-neutral-background);border-radius:var(--sidebar-item-radius);--nv-component-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavsubitem:hover{background-color:var(--color-interaction-container-neutral-background-hover);--nv-component-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavsubitem:focus,nv-sidebarnavsubitem:focus-within{outline:none}nv-sidebarnavsubitem:focus-visible,nv-sidebarnavsubitem:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{display:none}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{flex:1;display:flex;align-items:center;gap:var(--spacing-2);font-size:var(--font-size-sm);color:var(--color-content-medium-text);text-decoration:none;font-weight:var(--font-weight-medium-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavsubitem:hover .nv-sidebarnavsubitem-content{color:var(--color-content-medium-text)}nv-sidebarnavsubitem[active]{background-color:var(--color-interaction-container-neutral-background-active);--nv-component-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavsubitem[active] .nv-sidebarnavsubitem-content{color:var(--color-interaction-container-neutral-text-active);font-weight:var(--font-weight-high-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:flex;align-items:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{max-width:0;opacity:0;margin:0;overflow:hidden;transition:opacity 0.2s ease, max-width 0.2s ease}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{margin-right:0;width:var(--spacing-6);justify-content:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:none}`;
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ const NvSidebarnavsubitem = class {
|
|
|
22
22
|
/****************************************************************************/
|
|
23
23
|
//#region RENDER
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '868adf5adb19818ca6caab0f866bfd9c2bf1c6f6', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h("div", { key: '212d3e04dde99a698081e8ffc3aa39e696883794', class: "nv-sidebarnavsubitem-indicator" }), h("div", { key: '2ac964d11cdc914e329a0b6edcc6753d8182e60d', class: "nv-sidebarnavsubitem-content" }, h("slot", { key: 'be2a8d0b2e81f6f299ae9574c1358cfba28ed1a9' })), h("div", { key: '62e4e65e5c502c379851201cf038c6ca49ec051d', class: "nv-sidebarnavsubitem-trailing" }, h("slot", { key: '45cb80e9cbc0ab886ff7124035e781ae7f616f75', name: "trailing" }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
NvSidebarnavsubitem.style = nvSidebarnavsubitemCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, a as createEvent, h, d as Host, e as getElement } from './index-CTmBvINI.js';
|
|
2
2
|
|
|
3
3
|
const nvSplitCss = () => `nv-split{display:flex;width:100%;height:100%;position:relative}nv-split[direction=horizontal]{flex-direction:row}nv-split[direction=vertical]{flex-direction:column}nv-split .nv-split-gutter{position:absolute;z-index:10;background:transparent;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background-color 0.2s ease}nv-split .nv-split-gutter::after{content:"";position:absolute;background:var(--components-splitter-line-background);transition:background-color 0.2s ease}nv-split .nv-split-gutter:hover::after{background:var(--components-splitter-line-background-hover)}nv-split .nv-split-gutter::before{content:"";background:var(--components-splitter-handle-background);position:absolute;background-repeat:no-repeat;background-position:center;transition:all 0.2s ease;pointer-events:none}nv-split[direction=horizontal]>.nv-split-gutter{width:var(--splitter-gutter);top:0;bottom:0;transform:translateX(-50%);cursor:col-resize}nv-split[direction=horizontal]>.nv-split-gutter::after{width:var(--splitter-line-width);background-color:var(--components-splitter-line-background);height:100%;left:50%;top:0%;transform:translateX(-50%)}nv-split[direction=horizontal]>.nv-split-gutter:hover::after{background-color:var(--components-splitter-line-background-hover)}nv-split[direction=horizontal]>.nv-split-gutter:active::after{background-color:var(--components-splitter-line-background-active)}nv-split[direction=horizontal]>.nv-split-gutter::before{background-color:var(--components-splitter-handle-background);width:var(--splitter-handle-wide);height:var(--splitter-handle-long);border-radius:var(--splitter-handle-radius);z-index:11;transition:all 0.2s ease}nv-split[direction=horizontal]>.nv-split-gutter:hover::before{background-color:var(--components-splitter-handle-background-hover)}nv-split[direction=horizontal]>.nv-split-gutter:active::before{background-color:var(--components-splitter-handle-background-active)}nv-split[direction=vertical]>.nv-split-gutter{height:var(--splitter-gutter);left:0;right:0;transform:translateY(-50%);cursor:row-resize}nv-split[direction=vertical]>.nv-split-gutter::after{height:var(--splitter-line-width);background-color:var(--components-splitter-line-background);width:100%;top:50%;left:0%;transform:translateY(-50%)}nv-split[direction=vertical]>.nv-split-gutter:hover::after{background-color:var(--components-splitter-line-background-hover)}nv-split[direction=vertical]>.nv-split-gutter:active::after{background-color:var(--components-splitter-line-background-active)}nv-split[direction=vertical]>.nv-split-gutter::before{background-color:var(--components-splitter-handle-background);width:var(--splitter-handle-long);height:var(--splitter-handle-wide);border-radius:var(--splitter-handle-radius);z-index:11;transition:all 0.2s ease}nv-split[direction=vertical]>.nv-split-gutter:hover::before{background-color:var(--components-splitter-handle-background-hover)}nv-split[direction=vertical]>.nv-split-gutter:active::before{background-color:var(--components-splitter-handle-background-active)}nv-split[data-dragging=true]>.nv-split-gutter::after{background:var(--components-splitter-line-background-active)}nv-split>[slot=pane]{box-sizing:border-box;flex:1 1 auto;overflow:hidden;min-width:0;min-height:0;display:flex;flex-direction:column;margin:0 !important}nv-split>[slot=pane]>nv-split{flex:1 1 auto;width:100%;height:100%}`;
|
|
4
4
|
|
|
@@ -321,7 +321,7 @@ const NvSplit = class {
|
|
|
321
321
|
/****************************************************************************/
|
|
322
322
|
//#region RENDER
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: '91f106634a9f04a3b6aced262ea84e75b294255e', "data-dragging": this.isDragging.toString() }, h("slot", { key: '17fb1041dc82b510d8c303208891a2eb455b885a', name: "pane" }), h("slot", { key: '4900d19af850f103a191769ef23c0cd5d2531375', name: "gutter" }), h("slot", { key: 'bfad8d859270f46094655103f10182c25c2c94fe' })));
|
|
325
325
|
}
|
|
326
326
|
get el() { return getElement(this); }
|
|
327
327
|
static get watchers() { return {
|