@nova-design-system/nova-webcomponents 3.29.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 +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 +5 -5
- 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 +6 -6
- 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 +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.js +1 -1
- package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +3 -3
- 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 +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.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.js +4 -4
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
- package/dist/collection/components/nv-notification/nv-notification.js +1 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-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 +2 -2
- 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-C99g_PrG.js → p-B4qcUV0M.js} +1 -1
- package/dist/components/p-B8yJMa0S.js +1 -0
- package/dist/components/{p-CBlrNW6n.js → p-BU3AWnne.js} +1 -1
- package/dist/components/{p-DKgmDzJ1.js → p-BYrgllP3.js} +1 -1
- package/dist/components/{p-DdcXhR3I.js → p-BhRpSdkR.js} +1 -1
- package/dist/components/{p-CT782LKx.js → p-Bu90dktV.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-D1psKXwD.js → p-Cj6urNtm.js} +1 -1
- package/dist/components/{p-D3JDACHw.js → p-Cx5CLy9v.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-CgufQqes.js → p-CzRlra4z.js} +1 -1
- package/dist/components/{p-CUjRfVPl.js → p-D54x8OFu.js} +1 -1
- package/dist/components/p-DP_K3tkj.js +1 -0
- package/dist/components/{p-Bytxo1iR.js → p-DQuJvZ4Z.js} +1 -1
- package/dist/components/{p-p1ofW2Cs.js → p-DZdOQQrW.js} +1 -1
- package/dist/components/{p-_zOMJBOq.js → p-Dg-Ac5i4.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-Cnlbk416.js → p-L7U51TAH.js} +1 -1
- package/dist/components/{p-RYxAzR3m.js → p-MLanePUO.js} +1 -1
- package/dist/components/p-gOKBmbgZ.js +1 -0
- package/dist/components/{p-CfOVizcp.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 +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 +5 -5
- 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 +6 -6
- 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 +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/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-b7436a14.entry.js → p-04011d0f.entry.js} +1 -1
- package/dist/native/{p-0f9a284e.entry.js → p-0c65e726.entry.js} +1 -1
- package/dist/native/{p-0a17050f.entry.js → p-10dee67d.entry.js} +1 -1
- package/dist/native/p-16037ec8.entry.js +1 -0
- package/dist/native/{p-568fbdac.entry.js → p-189647e4.entry.js} +1 -1
- package/dist/native/{p-0d03b6ed.entry.js → p-270bf467.entry.js} +1 -1
- package/dist/native/{p-2b1efb98.entry.js → p-287c67e1.entry.js} +1 -1
- package/dist/native/p-298d893d.entry.js +1 -0
- package/dist/native/{p-48c1bab4.entry.js → p-29acf903.entry.js} +1 -1
- package/dist/native/{p-2d37df11.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-04e40a1e.entry.js → p-352854eb.entry.js} +1 -1
- package/dist/native/{p-8e05077a.entry.js → p-37c42bed.entry.js} +1 -1
- package/dist/native/{p-c20e0b5f.entry.js → p-3969a700.entry.js} +1 -1
- package/dist/native/{p-4bb9b387.entry.js → p-3f888601.entry.js} +1 -1
- package/dist/native/{p-7bb2536f.entry.js → p-40000df1.entry.js} +1 -1
- package/dist/native/{p-eb737344.entry.js → p-410c21e3.entry.js} +1 -1
- package/dist/native/{p-4badca4e.entry.js → p-4514a6a4.entry.js} +1 -1
- package/dist/native/{p-1ea2a804.entry.js → p-49745be2.entry.js} +1 -1
- package/dist/native/{p-2d5189eb.entry.js → p-5375ddc6.entry.js} +1 -1
- package/dist/native/{p-d5060f92.entry.js → p-5690757b.entry.js} +1 -1
- 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-9b8478a7.entry.js → p-6ccc84c8.entry.js} +1 -1
- package/dist/native/{p-2e932ca4.entry.js → p-6dab2e90.entry.js} +1 -1
- package/dist/native/{p-1450d746.entry.js → p-728f09d5.entry.js} +1 -1
- 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-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-d5e931c9.entry.js → p-8decb323.entry.js} +1 -1
- package/dist/native/{p-0d3ab890.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-1bc76216.entry.js → p-93d2bfab.entry.js} +1 -1
- 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-b2c31350.entry.js +1 -0
- package/dist/native/{p-5cefca3c.entry.js → p-b2ef61bc.entry.js} +1 -1
- 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-b99ad8a7.entry.js +1 -0
- package/dist/native/{p-2e40d5d9.entry.js → p-be2e4cf0.entry.js} +1 -1
- package/dist/native/{p-0770997b.entry.js → p-befb5e4e.entry.js} +1 -1
- package/dist/native/{p-07f3200b.entry.js → p-c1faed1f.entry.js} +1 -1
- package/dist/native/{p-d468c445.entry.js → p-c305f1c6.entry.js} +1 -1
- package/dist/native/{p-f078f10a.entry.js → p-c5261442.entry.js} +1 -1
- package/dist/native/{p-12269ed5.entry.js → p-cd21a60d.entry.js} +1 -1
- package/dist/native/{p-0f59cb66.entry.js → p-d0dfa700.entry.js} +1 -1
- package/dist/native/{p-bff549dd.entry.js → p-d4d04530.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-dfb46af1.entry.js +1 -0
- package/dist/native/{p-26c0c34b.entry.js → p-dfd364de.entry.js} +1 -1
- package/dist/native/{p-7b545176.entry.js → p-e7a73a7c.entry.js} +1 -1
- package/dist/native/p-eab25bfa.entry.js +1 -0
- package/dist/native/{p-706eeea4.entry.js → p-ec919a10.entry.js} +1 -1
- package/dist/native/{p-3ddc967e.entry.js → p-ffc9e2a0.entry.js} +1 -1
- package/dist/native/p-gOKBmbgZ.js +1 -0
- 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 +210 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +4 -0
- package/dist/vscode-data.json +145 -0
- package/hydrate/index.js +461 -114
- package/hydrate/index.mjs +461 -114
- 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-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-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-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
|
@@ -275,7 +275,7 @@ export class NvSidebarnavitem {
|
|
|
275
275
|
render() {
|
|
276
276
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
277
277
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
278
|
-
return (h(Host, { key: '
|
|
278
|
+
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 => {
|
|
279
279
|
// Only update ref and initialize if element changed or not yet initialized
|
|
280
280
|
if (el !== this.subitemsRef) {
|
|
281
281
|
this.subitemsRef = el;
|
|
@@ -290,7 +290,7 @@ export class NvSidebarnavitem {
|
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
} }, h("slot", { key: '
|
|
293
|
+
} }, h("slot", { key: '6790db049f61ca41292bfd865884548a5a5da5d0', name: "subitems" })))));
|
|
294
294
|
}
|
|
295
295
|
static get is() { return "nv-sidebarnavitem"; }
|
|
296
296
|
static get originalStyleUrls() {
|
|
@@ -23,7 +23,7 @@ export class NvSidebarnavsubitem {
|
|
|
23
23
|
/****************************************************************************/
|
|
24
24
|
//#region RENDER
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '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" }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "nv-sidebarnavsubitem"; }
|
|
29
29
|
static get originalStyleUrls() {
|
|
@@ -3,6 +3,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
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 class NvSplit {
|
|
8
9
|
constructor() {
|
|
@@ -321,7 +322,7 @@ export class NvSplit {
|
|
|
321
322
|
/****************************************************************************/
|
|
322
323
|
//#region RENDER
|
|
323
324
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
325
|
+
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
326
|
}
|
|
326
327
|
static get is() { return "nv-split"; }
|
|
327
328
|
static get originalStyleUrls() {
|
|
@@ -18,7 +18,7 @@ export class NvStack {
|
|
|
18
18
|
/****************************************************************************/
|
|
19
19
|
//#region RENDER
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'fb4c34f7f678b980d4caceb71c420dc6de5d0322', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h("slot", { key: '2a5b1b24802d9527f5d076a316401f2bb403c979' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "nv-stack"; }
|
|
24
24
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
nv-statusindicator {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: var(--status-indicator-gap-x);
|
|
5
|
+
padding: var(--status-indicator-padding-y) var(--status-indicator-padding-x);
|
|
6
|
+
height: var(--status-indicator-height);
|
|
7
|
+
border-radius: var(--status-indicator-radius);
|
|
8
|
+
border: 1px solid;
|
|
9
|
+
font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;
|
|
10
|
+
font-size: var(--status-indicator-label-size);
|
|
11
|
+
font-weight: var(--font-weight-medium-emphasis);
|
|
12
|
+
line-height: var(--status-indicator-label-line-height);
|
|
13
|
+
width: fit-content;
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
}
|
|
16
|
+
nv-statusindicator.status-success {
|
|
17
|
+
color: var(--color-feedback-success-low-text);
|
|
18
|
+
border-color: var(--color-feedback-success-low-border);
|
|
19
|
+
}
|
|
20
|
+
nv-statusindicator.status-success nv-icon {
|
|
21
|
+
color: var(--color-feedback-success-low-icon);
|
|
22
|
+
}
|
|
23
|
+
nv-statusindicator.status-success.emphasis-high {
|
|
24
|
+
background-color: var(--color-feedback-success-low-background);
|
|
25
|
+
border-color: var(--color-feedback-success-low-border-subtle);
|
|
26
|
+
}
|
|
27
|
+
nv-statusindicator.status-warning {
|
|
28
|
+
color: var(--color-feedback-warning-low-text);
|
|
29
|
+
border-color: var(--color-feedback-warning-low-border);
|
|
30
|
+
}
|
|
31
|
+
nv-statusindicator.status-warning nv-icon {
|
|
32
|
+
color: var(--color-feedback-warning-low-icon);
|
|
33
|
+
}
|
|
34
|
+
nv-statusindicator.status-warning.emphasis-high {
|
|
35
|
+
background-color: var(--color-feedback-warning-low-background);
|
|
36
|
+
border-color: var(--color-feedback-warning-low-border-subtle);
|
|
37
|
+
}
|
|
38
|
+
nv-statusindicator.status-error {
|
|
39
|
+
color: var(--color-feedback-error-low-text);
|
|
40
|
+
border-color: var(--color-feedback-error-low-border);
|
|
41
|
+
}
|
|
42
|
+
nv-statusindicator.status-error nv-icon {
|
|
43
|
+
color: var(--color-feedback-error-low-icon);
|
|
44
|
+
}
|
|
45
|
+
nv-statusindicator.status-error.emphasis-high {
|
|
46
|
+
background-color: var(--color-feedback-error-low-background);
|
|
47
|
+
border-color: var(--color-feedback-error-low-border-subtle);
|
|
48
|
+
}
|
|
49
|
+
nv-statusindicator.status-information {
|
|
50
|
+
color: var(--color-feedback-information-low-text);
|
|
51
|
+
border-color: var(--color-feedback-information-low-border);
|
|
52
|
+
}
|
|
53
|
+
nv-statusindicator.status-information nv-icon {
|
|
54
|
+
color: var(--color-feedback-information-low-icon);
|
|
55
|
+
}
|
|
56
|
+
nv-statusindicator.status-information.emphasis-high {
|
|
57
|
+
background-color: var(--color-feedback-information-low-background);
|
|
58
|
+
border-color: var(--color-feedback-information-low-border-subtle);
|
|
59
|
+
}
|
|
60
|
+
nv-statusindicator.status-neutral {
|
|
61
|
+
color: var(--color-feedback-neutral-low-text);
|
|
62
|
+
border-color: var(--color-feedback-neutral-low-border);
|
|
63
|
+
}
|
|
64
|
+
nv-statusindicator.status-neutral nv-icon {
|
|
65
|
+
color: var(--color-feedback-neutral-low-icon);
|
|
66
|
+
}
|
|
67
|
+
nv-statusindicator.status-neutral.emphasis-high {
|
|
68
|
+
background-color: var(--color-feedback-neutral-low-background);
|
|
69
|
+
border-color: var(--color-feedback-neutral-low-border-subtle);
|
|
70
|
+
}
|
|
71
|
+
nv-statusindicator .nv-statusindicator-label {
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { nameof } from "../../utils/class.utils";
|
|
3
|
+
const NvStatusindicatorDocs = {
|
|
4
|
+
component: 'nv-statusindicator',
|
|
5
|
+
badge: 'new',
|
|
6
|
+
parentGroup: 'Status Indicator',
|
|
7
|
+
subcomponents: ['nv-icon'],
|
|
8
|
+
stories: [
|
|
9
|
+
{
|
|
10
|
+
name: 'Default',
|
|
11
|
+
args: {
|
|
12
|
+
status: 'neutral',
|
|
13
|
+
label: 'Draft',
|
|
14
|
+
},
|
|
15
|
+
template: h("nv-statusindicator", { "data-storybook-args": true }),
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: nameof(x => x.status),
|
|
19
|
+
description: 'Five status variants communicate different system states.',
|
|
20
|
+
template: (h("div", null, h("nv-statusindicator", { status: "success", label: "Validated" }), h("nv-statusindicator", { status: "warning", label: "Expiring" }), h("nv-statusindicator", { status: "error", label: "Failed" }), h("nv-statusindicator", { status: "information", label: "In progress" }), h("nv-statusindicator", { status: "neutral", label: "Draft" }))),
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: nameof(x => x.emphasis),
|
|
24
|
+
description: 'High emphasis adds a coloured background for greater visual weight. Low emphasis (default) uses border only.',
|
|
25
|
+
template: (h("div", null, h("nv-statusindicator", { status: "success", emphasis: "low", label: "Low" }), h("nv-statusindicator", { status: "success", emphasis: "high", label: "High" }), h("nv-statusindicator", { status: "error", emphasis: "low", label: "Low" }), h("nv-statusindicator", { status: "error", emphasis: "high", label: "High" }))),
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: nameof(x => x.label),
|
|
29
|
+
description: 'When label is omitted, the indicator renders icon-only with an aria-label for accessibility.',
|
|
30
|
+
template: (h("div", null, h("nv-statusindicator", { status: "success" }), h("nv-statusindicator", { status: "warning" }), h("nv-statusindicator", { status: "error" }), h("nv-statusindicator", { status: "information" }), h("nv-statusindicator", { status: "neutral" }))),
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
export default NvStatusindicatorDocs;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
const STATUS_ICONS = {
|
|
4
|
+
success: 'circle-check',
|
|
5
|
+
warning: 'alert-triangle',
|
|
6
|
+
error: 'alert-circle',
|
|
7
|
+
information: 'info-circle',
|
|
8
|
+
neutral: 'help',
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A static, non-interactive visual indicator that communicates
|
|
12
|
+
* system-controlled status through colour, icon, and optional label.
|
|
13
|
+
*/
|
|
14
|
+
export class NvStatusindicator {
|
|
15
|
+
constructor() {
|
|
16
|
+
/****************************************************************************/
|
|
17
|
+
//#region PROPERTIES
|
|
18
|
+
/**
|
|
19
|
+
* The status variant of the indicator.
|
|
20
|
+
*/
|
|
21
|
+
this.status = 'neutral';
|
|
22
|
+
/**
|
|
23
|
+
* The visual emphasis of the indicator.
|
|
24
|
+
*/
|
|
25
|
+
this.emphasis = 'low';
|
|
26
|
+
}
|
|
27
|
+
//#endregion PROPERTIES
|
|
28
|
+
/****************************************************************************/
|
|
29
|
+
//#region RENDER
|
|
30
|
+
render() {
|
|
31
|
+
const hasLabel = Boolean(this.label);
|
|
32
|
+
return (h(Host, { key: '2f1e9277152efca4f2f3ba95b44934427555854f', class: clsx(`status-${this.status}`, `emphasis-${this.emphasis}`), ...(!hasLabel ? { 'aria-label': this.status } : {}) }, h("nv-icon", { key: '55ba1905d8cde217be9156401c4075522b1e022b', name: STATUS_ICONS[this.status], size: "xs", "aria-hidden": "true" }), hasLabel && h("span", { key: 'a55382c27c4a40dbf7c800c1f1127f31f47f2852', class: "nv-statusindicator-label" }, this.label)));
|
|
33
|
+
}
|
|
34
|
+
static get is() { return "nv-statusindicator"; }
|
|
35
|
+
static get originalStyleUrls() {
|
|
36
|
+
return {
|
|
37
|
+
"$": ["nv-statusindicator.scss"]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static get styleUrls() {
|
|
41
|
+
return {
|
|
42
|
+
"$": ["nv-statusindicator.css"]
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static get properties() {
|
|
46
|
+
return {
|
|
47
|
+
"status": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"mutable": false,
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "`${FeedbackColors}`",
|
|
52
|
+
"resolved": "\"error\" | \"information\" | \"neutral\" | \"success\" | \"warning\"",
|
|
53
|
+
"references": {
|
|
54
|
+
"FeedbackColors": {
|
|
55
|
+
"location": "import",
|
|
56
|
+
"path": "../../utils/constants",
|
|
57
|
+
"id": "src/utils/constants.ts::FeedbackColors",
|
|
58
|
+
"referenceLocation": "FeedbackColors"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "The status variant of the indicator."
|
|
67
|
+
},
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
70
|
+
"reflect": true,
|
|
71
|
+
"attribute": "status",
|
|
72
|
+
"defaultValue": "'neutral'"
|
|
73
|
+
},
|
|
74
|
+
"emphasis": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "`${StatusIndicatorEmphasis}`",
|
|
79
|
+
"resolved": "\"high\" | \"low\"",
|
|
80
|
+
"references": {
|
|
81
|
+
"StatusIndicatorEmphasis": {
|
|
82
|
+
"location": "import",
|
|
83
|
+
"path": "../../utils/constants",
|
|
84
|
+
"id": "src/utils/constants.ts::StatusIndicatorEmphasis",
|
|
85
|
+
"referenceLocation": "StatusIndicatorEmphasis"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "The visual emphasis of the indicator."
|
|
94
|
+
},
|
|
95
|
+
"getter": false,
|
|
96
|
+
"setter": false,
|
|
97
|
+
"reflect": true,
|
|
98
|
+
"attribute": "emphasis",
|
|
99
|
+
"defaultValue": "'low'"
|
|
100
|
+
},
|
|
101
|
+
"label": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": true,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "The text label of the indicator. When omitted, the component renders icon-only."
|
|
114
|
+
},
|
|
115
|
+
"getter": false,
|
|
116
|
+
"setter": false,
|
|
117
|
+
"reflect": true,
|
|
118
|
+
"attribute": "label"
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -58,7 +58,7 @@ export class NvTable {
|
|
|
58
58
|
/****************************************************************************/
|
|
59
59
|
//#region RENDER
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'bc442df56ece833f6a3b6a4af24e0e67e430aefd' }, h("slot", { key: '9f0deb196b2a1bfca8d30a05a752e446068f3f3c' })));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "nv-table"; }
|
|
64
64
|
static get originalStyleUrls() {
|
|
@@ -9,6 +9,15 @@ nv-table table {
|
|
|
9
9
|
nv-table table thead {
|
|
10
10
|
background: var(--components-datagrid-header-background);
|
|
11
11
|
}
|
|
12
|
+
nv-table table tbody tr:hover {
|
|
13
|
+
background: var(--components-datagrid-body-background-hover);
|
|
14
|
+
}
|
|
15
|
+
nv-table table tbody tr[data-selected] {
|
|
16
|
+
background: var(--components-datagrid-body-background-active);
|
|
17
|
+
}
|
|
18
|
+
nv-table table tbody tr[data-selected]:hover {
|
|
19
|
+
background: var(--components-datagrid-body-background-active);
|
|
20
|
+
}
|
|
12
21
|
nv-table table tbody tr.nv-datatable-row-clickable {
|
|
13
22
|
cursor: pointer;
|
|
14
23
|
}
|
|
@@ -19,14 +28,24 @@ nv-table table tbody tr.nv-datatable-row-clickable:focus-visible {
|
|
|
19
28
|
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);
|
|
20
29
|
outline-offset: calc(var(--focus-outline-offset) * 1);
|
|
21
30
|
}
|
|
22
|
-
nv-table table tbody tr
|
|
23
|
-
|
|
31
|
+
nv-table table tbody tr.nv-datatable-expanded-row > td {
|
|
32
|
+
padding: 0;
|
|
33
|
+
height: auto;
|
|
34
|
+
border-bottom: 1px solid var(--components-datagrid-expander-border);
|
|
35
|
+
background: var(--components-datagrid-expander-expander-background);
|
|
36
|
+
}
|
|
37
|
+
nv-table table tbody .nv-datatable-expanded-content {
|
|
38
|
+
position: sticky;
|
|
39
|
+
left: 0;
|
|
40
|
+
width: 0;
|
|
41
|
+
min-width: 100%;
|
|
42
|
+
padding: var(--datagrid-cell-body-padding-y) var(--datagrid-cell-body-padding-x);
|
|
43
|
+
box-sizing: border-box;
|
|
24
44
|
}
|
|
25
45
|
nv-table table[data-row-click-enabled=true] tbody tr.nv-datatable-row-clickable:hover td {
|
|
26
46
|
background: var(--components-datagrid-body-background-hover);
|
|
27
47
|
}
|
|
28
48
|
nv-table table[data-row-click-enabled=false] > tbody > tr:hover:not([data-selected]) {
|
|
29
|
-
background-color: transparent !important;
|
|
30
49
|
cursor: default;
|
|
31
50
|
}
|
|
32
51
|
nv-table table[data-row-click-enabled=false] > tbody > tr:hover:not([data-selected]) > td {
|
|
@@ -55,7 +55,7 @@ export class NvTableheader {
|
|
|
55
55
|
/****************************************************************************/
|
|
56
56
|
//#region RENDER
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '1edf4d679b60517b8fdc239a1bc9e91fc55990ab', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h("slot", { key: '33d9ae13cbae6d34cf374bc626bc616c57e43322' }), this.sortable && (h("span", { key: '61e15b2af831a97051590e31369b42774f13ae53', class: "sort-icon-wrap", "aria-hidden": "true" }, h("nv-iconbutton", { key: 'e8cefc8559de91c2e892547b56eb51d5bc103c1c', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
59
59
|
// prevent mousedown from selecting text
|
|
60
60
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
61
61
|
'is-none': this.sortDirection === 'none',
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/* Tag color variants mapped to rainbow palette tokens */
|
|
2
|
+
/* Color token maps: tag color name -> rainbow token */
|
|
3
|
+
nv-tag {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: var(--tag-gap-x);
|
|
7
|
+
padding: 0 var(--tag-padding-x);
|
|
8
|
+
border-radius: var(--tag-border-radius);
|
|
9
|
+
border: 1px solid;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;
|
|
12
|
+
font-size: var(--font-size-xs);
|
|
13
|
+
font-weight: var(--font-weight-medium-emphasis);
|
|
14
|
+
line-height: var(--line-height-xs);
|
|
15
|
+
height: var(--tag-height);
|
|
16
|
+
width: fit-content;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
}
|
|
19
|
+
nv-tag.has-dismiss {
|
|
20
|
+
padding-right: 0;
|
|
21
|
+
}
|
|
22
|
+
nv-tag.tag-orange {
|
|
23
|
+
color: var(--color-rainbow-2-text);
|
|
24
|
+
background-color: var(--color-rainbow-2-background);
|
|
25
|
+
border-color: var(--color-rainbow-2-border-light);
|
|
26
|
+
}
|
|
27
|
+
nv-tag.tag-orange nv-icon {
|
|
28
|
+
color: var(--color-rainbow-2-icon);
|
|
29
|
+
}
|
|
30
|
+
nv-tag.tag-orange .nv-tag-content:focus, nv-tag.tag-orange .nv-tag-content:focus-within {
|
|
31
|
+
outline: none;
|
|
32
|
+
}
|
|
33
|
+
nv-tag.tag-orange .nv-tag-content:focus-visible, nv-tag.tag-orange .nv-tag-content:has(:focus-visible) {
|
|
34
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-text);
|
|
35
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
36
|
+
}
|
|
37
|
+
nv-tag.tag-crimson {
|
|
38
|
+
color: var(--color-rainbow-6-text);
|
|
39
|
+
background-color: var(--color-rainbow-6-background);
|
|
40
|
+
border-color: var(--color-rainbow-6-border-light);
|
|
41
|
+
}
|
|
42
|
+
nv-tag.tag-crimson nv-icon {
|
|
43
|
+
color: var(--color-rainbow-6-icon);
|
|
44
|
+
}
|
|
45
|
+
nv-tag.tag-crimson .nv-tag-content:focus, nv-tag.tag-crimson .nv-tag-content:focus-within {
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
nv-tag.tag-crimson .nv-tag-content:focus-visible, nv-tag.tag-crimson .nv-tag-content:has(:focus-visible) {
|
|
49
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-text);
|
|
50
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
51
|
+
}
|
|
52
|
+
nv-tag.tag-yellow {
|
|
53
|
+
color: var(--color-rainbow-3-text);
|
|
54
|
+
background-color: var(--color-rainbow-3-background);
|
|
55
|
+
border-color: var(--color-rainbow-3-border-light);
|
|
56
|
+
}
|
|
57
|
+
nv-tag.tag-yellow nv-icon {
|
|
58
|
+
color: var(--color-rainbow-3-icon);
|
|
59
|
+
}
|
|
60
|
+
nv-tag.tag-yellow .nv-tag-content:focus, nv-tag.tag-yellow .nv-tag-content:focus-within {
|
|
61
|
+
outline: none;
|
|
62
|
+
}
|
|
63
|
+
nv-tag.tag-yellow .nv-tag-content:focus-visible, nv-tag.tag-yellow .nv-tag-content:has(:focus-visible) {
|
|
64
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-text);
|
|
65
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
66
|
+
}
|
|
67
|
+
nv-tag.tag-red {
|
|
68
|
+
color: var(--color-rainbow-4-text);
|
|
69
|
+
background-color: var(--color-rainbow-4-background);
|
|
70
|
+
border-color: var(--color-rainbow-4-border-light);
|
|
71
|
+
}
|
|
72
|
+
nv-tag.tag-red nv-icon {
|
|
73
|
+
color: var(--color-rainbow-4-icon);
|
|
74
|
+
}
|
|
75
|
+
nv-tag.tag-red .nv-tag-content:focus, nv-tag.tag-red .nv-tag-content:focus-within {
|
|
76
|
+
outline: none;
|
|
77
|
+
}
|
|
78
|
+
nv-tag.tag-red .nv-tag-content:focus-visible, nv-tag.tag-red .nv-tag-content:has(:focus-visible) {
|
|
79
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-text);
|
|
80
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
81
|
+
}
|
|
82
|
+
nv-tag.tag-blue {
|
|
83
|
+
color: var(--color-rainbow-8-text);
|
|
84
|
+
background-color: var(--color-rainbow-8-background);
|
|
85
|
+
border-color: var(--color-rainbow-8-border-light);
|
|
86
|
+
}
|
|
87
|
+
nv-tag.tag-blue nv-icon {
|
|
88
|
+
color: var(--color-rainbow-8-icon);
|
|
89
|
+
}
|
|
90
|
+
nv-tag.tag-blue .nv-tag-content:focus, nv-tag.tag-blue .nv-tag-content:focus-within {
|
|
91
|
+
outline: none;
|
|
92
|
+
}
|
|
93
|
+
nv-tag.tag-blue .nv-tag-content:focus-visible, nv-tag.tag-blue .nv-tag-content:has(:focus-visible) {
|
|
94
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-text);
|
|
95
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
96
|
+
}
|
|
97
|
+
nv-tag.tag-amber {
|
|
98
|
+
color: var(--color-rainbow-1-text);
|
|
99
|
+
background-color: var(--color-rainbow-1-background);
|
|
100
|
+
border-color: var(--color-rainbow-1-border-light);
|
|
101
|
+
}
|
|
102
|
+
nv-tag.tag-amber nv-icon {
|
|
103
|
+
color: var(--color-rainbow-1-icon);
|
|
104
|
+
}
|
|
105
|
+
nv-tag.tag-amber .nv-tag-content:focus, nv-tag.tag-amber .nv-tag-content:focus-within {
|
|
106
|
+
outline: none;
|
|
107
|
+
}
|
|
108
|
+
nv-tag.tag-amber .nv-tag-content:focus-visible, nv-tag.tag-amber .nv-tag-content:has(:focus-visible) {
|
|
109
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-text);
|
|
110
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
111
|
+
}
|
|
112
|
+
nv-tag.tag-green {
|
|
113
|
+
color: var(--color-rainbow-7-text);
|
|
114
|
+
background-color: var(--color-rainbow-7-background);
|
|
115
|
+
border-color: var(--color-rainbow-7-border-light);
|
|
116
|
+
}
|
|
117
|
+
nv-tag.tag-green nv-icon {
|
|
118
|
+
color: var(--color-rainbow-7-icon);
|
|
119
|
+
}
|
|
120
|
+
nv-tag.tag-green .nv-tag-content:focus, nv-tag.tag-green .nv-tag-content:focus-within {
|
|
121
|
+
outline: none;
|
|
122
|
+
}
|
|
123
|
+
nv-tag.tag-green .nv-tag-content:focus-visible, nv-tag.tag-green .nv-tag-content:has(:focus-visible) {
|
|
124
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-text);
|
|
125
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
126
|
+
}
|
|
127
|
+
nv-tag.tag-turquoise {
|
|
128
|
+
color: var(--color-rainbow-5-text);
|
|
129
|
+
background-color: var(--color-rainbow-5-background);
|
|
130
|
+
border-color: var(--color-rainbow-5-border-light);
|
|
131
|
+
}
|
|
132
|
+
nv-tag.tag-turquoise nv-icon {
|
|
133
|
+
color: var(--color-rainbow-5-icon);
|
|
134
|
+
}
|
|
135
|
+
nv-tag.tag-turquoise .nv-tag-content:focus, nv-tag.tag-turquoise .nv-tag-content:focus-within {
|
|
136
|
+
outline: none;
|
|
137
|
+
}
|
|
138
|
+
nv-tag.tag-turquoise .nv-tag-content:focus-visible, nv-tag.tag-turquoise .nv-tag-content:has(:focus-visible) {
|
|
139
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-text);
|
|
140
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
141
|
+
}
|
|
142
|
+
nv-tag.tag-lime {
|
|
143
|
+
color: var(--color-rainbow-9-text);
|
|
144
|
+
background-color: var(--color-rainbow-9-background);
|
|
145
|
+
border-color: var(--color-rainbow-9-border-light);
|
|
146
|
+
}
|
|
147
|
+
nv-tag.tag-lime nv-icon {
|
|
148
|
+
color: var(--color-rainbow-9-icon);
|
|
149
|
+
}
|
|
150
|
+
nv-tag.tag-lime .nv-tag-content:focus, nv-tag.tag-lime .nv-tag-content:focus-within {
|
|
151
|
+
outline: none;
|
|
152
|
+
}
|
|
153
|
+
nv-tag.tag-lime .nv-tag-content:focus-visible, nv-tag.tag-lime .nv-tag-content:has(:focus-visible) {
|
|
154
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-text);
|
|
155
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
156
|
+
}
|
|
157
|
+
nv-tag.tag-grey {
|
|
158
|
+
color: var(--color-rainbow-10-text);
|
|
159
|
+
background-color: var(--color-rainbow-10-background);
|
|
160
|
+
border-color: var(--color-rainbow-10-border-light);
|
|
161
|
+
}
|
|
162
|
+
nv-tag.tag-grey nv-icon {
|
|
163
|
+
color: var(--color-rainbow-10-icon);
|
|
164
|
+
}
|
|
165
|
+
nv-tag.tag-grey .nv-tag-content:focus, nv-tag.tag-grey .nv-tag-content:focus-within {
|
|
166
|
+
outline: none;
|
|
167
|
+
}
|
|
168
|
+
nv-tag.tag-grey .nv-tag-content:focus-visible, nv-tag.tag-grey .nv-tag-content:has(:focus-visible) {
|
|
169
|
+
outline: calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-text);
|
|
170
|
+
outline-offset: calc(var(--focus-outline-offset) * 0.2);
|
|
171
|
+
}
|
|
172
|
+
nv-tag .nv-tag-leading {
|
|
173
|
+
display: contents;
|
|
174
|
+
}
|
|
175
|
+
nv-tag .nv-tag-label {
|
|
176
|
+
white-space: nowrap;
|
|
177
|
+
}
|
|
178
|
+
nv-tag .nv-tag-content {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
gap: var(--tag-gap-x);
|
|
182
|
+
color: inherit;
|
|
183
|
+
text-decoration: none;
|
|
184
|
+
border-radius: var(--tag-border-radius);
|
|
185
|
+
}
|
|
186
|
+
nv-tag.is-link .nv-tag-content {
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
}
|
|
189
|
+
nv-tag.is-link .nv-tag-content:hover {
|
|
190
|
+
text-decoration: underline;
|
|
191
|
+
}
|
|
192
|
+
nv-tag .nv-tag-dismiss {
|
|
193
|
+
padding: 0;
|
|
194
|
+
margin: 0;
|
|
195
|
+
line-height: 0;
|
|
196
|
+
border: none;
|
|
197
|
+
background: none;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
color: inherit;
|
|
200
|
+
display: inline-flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
width: var(--tag-height);
|
|
204
|
+
height: var(--tag-height);
|
|
205
|
+
border-radius: 0;
|
|
206
|
+
appearance: none;
|
|
207
|
+
}
|
|
208
|
+
nv-tag .nv-tag-dismiss:focus, nv-tag .nv-tag-dismiss:focus-within {
|
|
209
|
+
outline: none;
|
|
210
|
+
}
|
|
211
|
+
nv-tag .nv-tag-dismiss:focus-visible {
|
|
212
|
+
border-radius: 0;
|
|
213
|
+
box-shadow: inset 0 0 0 var(--focus-outline-stroke) var(--color-focus-brand);
|
|
214
|
+
}
|
|
215
|
+
nv-tag .nv-tag-dismiss:hover {
|
|
216
|
+
background-color: var(--color-interaction-container-neutral-background-hover);
|
|
217
|
+
mix-blend-mode: multiply;
|
|
218
|
+
}
|
|
219
|
+
nv-tag .nv-tag-dismiss:disabled {
|
|
220
|
+
opacity: var(--opacity-disabled);
|
|
221
|
+
pointer-events: none;
|
|
222
|
+
cursor: default;
|
|
223
|
+
}
|
|
224
|
+
nv-tag nv-icon > svg {
|
|
225
|
+
width: var(--spacing-3);
|
|
226
|
+
height: var(--spacing-3);
|
|
227
|
+
stroke-width: 1.2px;
|
|
228
|
+
}
|