@nova-design-system/nova-webcomponents 3.27.0 → 3.29.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/{index-Cfkoz1kc.js → index-eLt3bBQs.js} +13 -1
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nova-datetime-DOtVgYBB.js +10643 -0
- package/dist/cjs/nv-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +2 -2
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +8 -7
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-datetest.cjs.entry.js +66 -0
- package/dist/cjs/nv-datetimetest.cjs.entry.js +54 -0
- package/dist/cjs/nv-dialog.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +7 -5
- package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +5 -3
- 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 +15 -12
- 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 +2 -2
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -14
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +2 -2
- package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
- 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 +2 -2
- 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-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-timetest.cjs.entry.js +72 -0
- 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 +9 -4
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/nv-accordion/nv-accordion.docs.js +1 -0
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.docs.js +69 -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 -0
- package/dist/collection/components/nv-alert/nv-alert.js +15 -5
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.js +32 -11
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +36 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +1 -0
- package/dist/collection/components/nv-button/nv-button.docs.js +1 -0
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +1 -0
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +1 -0
- package/dist/collection/components/nv-col/nv-col.docs.js +2 -0
- package/dist/collection/components/nv-col/nv-col.js +2 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +3 -2
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.docs.js +25 -1
- package/dist/collection/components/nv-datetest/nv-datetest.css +15 -0
- package/dist/collection/components/nv-datetest/nv-datetest.docs.js +12 -0
- package/dist/collection/components/nv-datetest/nv-datetest.js +242 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.css +15 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.docs.js +5 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.js +197 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +1 -0
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +9 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +35 -13
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +9 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.docs.js +1 -0
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +9 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +31 -9
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +9 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -0
- 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 -0
- 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 -0
- 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 +54 -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 +42 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -0
- 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 -0
- 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 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -0
- 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 -0
- 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 -1
- 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 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -0
- 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.docs.js +1 -0
- package/dist/collection/components/nv-icon/nv-icon.js +7 -4
- package/dist/collection/components/nv-icon/nv-icons.js +4 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +1 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +7 -4
- package/dist/collection/components/nv-loader/nv-loader.docs.js +1 -0
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js +1 -0
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +20 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +6 -3
- package/dist/collection/components/nv-notification/nv-notification.docs.js +1 -0
- package/dist/collection/components/nv-notification/nv-notification.js +15 -5
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +1 -0
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.docs.js +24 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -15
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.docs.js +1 -0
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.docs.js +1 -0
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.docs.js +2 -0
- package/dist/collection/components/nv-row/nv-row.js +2 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +1 -0
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +14 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +15 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +9 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +15 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +9 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +10 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +16 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +8 -5
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +15 -1
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.docs.js +1 -0
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.docs.js +1 -0
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.docs.js +1 -0
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-table/styles/nv-table.css +19 -2
- package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +1 -0
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-timetest/nv-timetest.css +15 -0
- package/dist/collection/components/nv-timetest/nv-timetest.docs.js +5 -0
- package/dist/collection/components/nv-timetest/nv-timetest.js +248 -0
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js +1 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +48 -1
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +1 -0
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +8 -3
- package/dist/collection/index.js +3 -0
- package/dist/collection/interfaces/dates.js +1 -0
- package/dist/collection/utils/nova-datetime.js +144 -0
- package/dist/collection/utils/test/nova-datetime.test.js +230 -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.d.ts +11 -0
- package/dist/components/nv-datetest.js +1 -0
- package/dist/components/nv-datetimetest.d.ts +11 -0
- package/dist/components/nv-datetimetest.js +1 -0
- 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-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-timetest.d.ts +11 -0
- package/dist/components/nv-timetest.js +1 -0
- 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-CAGzfU3O.js → p-Bl7rc9YV.js} +1 -1
- package/dist/components/{p-BBy1Mdgv.js → p-Bytxo1iR.js} +1 -1
- package/dist/components/p-C47vpaBp.js +1 -0
- package/dist/components/{p-BMpkyzCW.js → p-C99g_PrG.js} +1 -1
- package/dist/components/{p-BvxuoODv.js → p-CBlrNW6n.js} +1 -1
- package/dist/components/{p-DlOgBZa8.js → p-CD12QIMB.js} +2 -2
- package/dist/components/{p-Ho_7-x5W.js → p-CT782LKx.js} +1 -1
- package/dist/components/{p-D-MnI-R8.js → p-CUjRfVPl.js} +1 -1
- package/dist/components/{p-kMTGXpRx.js → p-CfOVizcp.js} +1 -1
- package/dist/components/{p-S18SgvAW.js → p-CgufQqes.js} +1 -1
- package/dist/components/p-ChVdX6FG.js +1 -0
- package/dist/components/{p-Ba1zVklG.js → p-Cnlbk416.js} +1 -1
- package/dist/components/p-Cr_-lRNo.js +1 -0
- package/dist/components/{p-BwYt1BAb.js → p-Cuq_uNwY.js} +1 -1
- package/dist/components/p-CyL2J6O4.js +74 -0
- package/dist/components/p-D1psKXwD.js +1 -0
- package/dist/components/{p-T-bBxAoT.js → p-D3JDACHw.js} +1 -1
- package/dist/components/p-DKgmDzJ1.js +1 -0
- package/dist/components/p-DdcXhR3I.js +1 -0
- package/dist/components/p-EV8CtE4q.js +1 -0
- package/dist/components/{p-DrgqO3gF.js → p-RYxAzR3m.js} +1 -1
- package/dist/components/{p-Db4JZxyy.js → p-_zOMJBOq.js} +1 -1
- package/dist/components/{p-6nAIGZFL.js → p-flcatmxD.js} +1 -1
- package/dist/components/p-p1ofW2Cs.js +1 -0
- package/dist/esm/{index-BCjiE1MF.js → index-DU3Vhh_k.js} +13 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nova-datetime-CyL2J6O4.js +10636 -0
- package/dist/esm/nv-accordion-item.entry.js +3 -3
- package/dist/esm/nv-accordion.entry.js +1 -1
- package/dist/esm/nv-alert.entry.js +2 -2
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +8 -7
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-buttongroup.entry.js +1 -1
- package/dist/esm/nv-calendar.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-datetest.entry.js +64 -0
- package/dist/esm/nv-datetimetest.entry.js +52 -0
- package/dist/esm/nv-dialog.entry.js +2 -2
- package/dist/esm/nv-dialogfooter_2.entry.js +7 -5
- package/dist/esm/nv-drawer.entry.js +2 -2
- package/dist/esm/nv-drawerfooter_2.entry.js +5 -3
- 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 +15 -12
- 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 +2 -2
- package/dist/esm/nv-notificationcontainer.entry.js +2 -14
- package/dist/esm/nv-pagination-nav.entry.js +2 -2
- package/dist/esm/nv-paginationtable.entry.js +2 -2
- 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 +2 -2
- 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-table.entry.js +3 -3
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-timetest.entry.js +70 -0
- 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 +9 -4
- package/dist/lib/generators/docs-blazor.js +11 -2
- package/dist/lib/utils/parseToCSharpTypes.js +114 -18
- package/dist/lib/utils/test/parseToCSharpTypes.test.js +95 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/p-04e40a1e.entry.js +1 -0
- package/dist/native/p-0770997b.entry.js +1 -0
- package/dist/native/p-07f3200b.entry.js +1 -0
- package/dist/native/{p-a6b3256b.entry.js → p-0a17050f.entry.js} +1 -1
- package/dist/native/{p-7d49e88d.entry.js → p-0d03b6ed.entry.js} +1 -1
- package/dist/native/p-0d3ab890.entry.js +1 -0
- package/dist/native/{p-b3964a1c.entry.js → p-0f59cb66.entry.js} +1 -1
- package/dist/native/{p-87758615.entry.js → p-0f9a284e.entry.js} +1 -1
- package/dist/native/{p-90b8b889.entry.js → p-12269ed5.entry.js} +1 -1
- package/dist/native/{p-fd5e27ae.entry.js → p-1450d746.entry.js} +1 -1
- package/dist/native/{p-f9612edf.entry.js → p-16600d93.entry.js} +1 -1
- package/dist/native/{p-1e0ca4df.entry.js → p-1bc76216.entry.js} +1 -1
- package/dist/native/p-1ea2a804.entry.js +1 -0
- package/dist/native/{p-24ce0c8d.entry.js → p-26c0c34b.entry.js} +1 -1
- package/dist/native/{p-9709c7d5.entry.js → p-27ecae3c.entry.js} +1 -1
- package/dist/native/{p-5a7e46ad.entry.js → p-2b1efb98.entry.js} +1 -1
- package/dist/native/{p-927b655d.entry.js → p-2d37df11.entry.js} +1 -1
- package/dist/native/{p-eb8ba7a2.entry.js → p-2d5189eb.entry.js} +1 -1
- package/dist/native/{p-157c5ac8.entry.js → p-2e40d5d9.entry.js} +1 -1
- package/dist/native/{p-0fe84123.entry.js → p-2e932ca4.entry.js} +1 -1
- package/dist/native/{p-5c003e50.entry.js → p-336d63c4.entry.js} +1 -1
- package/dist/native/p-3afa34d1.entry.js +1 -0
- package/dist/native/{p-24f69387.entry.js → p-3ddc967e.entry.js} +1 -1
- package/dist/native/p-48c1bab4.entry.js +1 -0
- package/dist/native/{p-6742f88f.entry.js → p-49c6d122.entry.js} +1 -1
- package/dist/native/{p-8a0dc37b.entry.js → p-4badca4e.entry.js} +1 -1
- package/dist/native/{p-bb43a3b4.entry.js → p-4bb9b387.entry.js} +1 -1
- package/dist/native/{p-39366f18.entry.js → p-568fbdac.entry.js} +1 -1
- package/dist/native/{p-8f76e030.entry.js → p-59ecaf60.entry.js} +1 -1
- package/dist/native/p-5cefca3c.entry.js +1 -0
- package/dist/native/{p-148c1d3e.entry.js → p-5f6e45ca.entry.js} +1 -1
- package/dist/native/{p-fb34fc7d.entry.js → p-6f1213fb.entry.js} +1 -1
- package/dist/native/{p-5ce3d30b.entry.js → p-6f91712c.entry.js} +1 -1
- package/dist/native/{p-1aea6fe0.entry.js → p-706eeea4.entry.js} +1 -1
- package/dist/native/{p-d6e2e120.entry.js → p-7126f67e.entry.js} +1 -1
- package/dist/native/{p-1f8cc03a.entry.js → p-748661f0.entry.js} +1 -1
- package/dist/native/{p-6f3c3e2a.entry.js → p-7b545176.entry.js} +1 -1
- package/dist/native/{p-ecce3e66.entry.js → p-7bb2536f.entry.js} +1 -1
- package/dist/native/{p-a16f8a14.entry.js → p-7fd6f0b0.entry.js} +1 -1
- package/dist/native/p-803759ef.entry.js +1 -0
- package/dist/native/{p-d12a2841.entry.js → p-8e05077a.entry.js} +1 -1
- package/dist/native/{p-25ef7329.entry.js → p-92539825.entry.js} +1 -1
- package/dist/native/p-943a4dfd.entry.js +1 -0
- package/dist/native/{p-7ec28d5d.entry.js → p-96078a63.entry.js} +1 -1
- package/dist/native/{p-56593bf0.entry.js → p-9a05395d.entry.js} +1 -1
- package/dist/native/{p-f9e4daf7.entry.js → p-9b8478a7.entry.js} +1 -1
- package/dist/native/p-CyL2J6O4.js +74 -0
- package/dist/native/{p-BCjiE1MF.js → p-DU3Vhh_k.js} +1 -1
- package/dist/native/{p-67e0680e.entry.js → p-a5e39524.entry.js} +1 -1
- package/dist/native/{p-31ba86b3.entry.js → p-b7436a14.entry.js} +1 -1
- package/dist/native/{p-9fda1976.entry.js → p-bff549dd.entry.js} +1 -1
- package/dist/native/p-c20e0b5f.entry.js +1 -0
- package/dist/native/p-ca4ab8a5.entry.js +1 -0
- package/dist/native/{p-591f3dcc.entry.js → p-d468c445.entry.js} +1 -1
- package/dist/native/p-d5060f92.entry.js +1 -0
- package/dist/native/{p-539c04ad.entry.js → p-d5e931c9.entry.js} +1 -1
- package/dist/native/p-dc647a64.entry.js +1 -0
- package/dist/native/p-df5c6b0c.entry.js +1 -0
- package/dist/native/p-e8569a99.entry.js +1 -0
- package/dist/native/p-eb737344.entry.js +1 -0
- package/dist/native/{p-ebff7ddb.entry.js → p-f078f10a.entry.js} +1 -1
- package/dist/native/p-f3756dfd.entry.js +1 -0
- package/dist/native/p-f3ded7e8.entry.js +1 -0
- package/dist/native/{p-3a35cf46.entry.js → p-f7fdca43.entry.js} +1 -1
- 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-datetest/nv-datetest.d.ts +48 -0
- package/dist/types/components/nv-datetest/nv-datetest.docs.d.ts +4 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.d.ts +44 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.docs.d.ts +4 -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-icon/nv-icons.d.ts +1 -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-notificationcontainer/nv-notificationcontainer.d.ts +0 -6
- package/dist/types/components/nv-row/nv-row.d.ts +1 -0
- package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +2 -1
- package/dist/types/components/nv-timetest/nv-timetest.d.ts +48 -0
- package/dist/types/components/nv-timetest/nv-timetest.docs.d.ts +4 -0
- package/dist/types/components.d.ts +349 -44
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interfaces/dates.d.ts +8 -0
- package/dist/types/nova-docs.d.ts +8 -0
- package/dist/types/utils/nova-datetime.d.ts +79 -0
- package/dist/types/utils/test/nova-datetime.test.d.ts +1 -0
- package/dist/vscode-data.json +18259 -2581
- package/hydrate/index.js +11008 -219
- package/hydrate/index.mjs +11008 -219
- package/package.json +14 -1
- package/dist/components/p-CV12ukSl.js +0 -1
- package/dist/components/p-CZkFkVd8.js +0 -1
- package/dist/components/p-CcmfuwSa.js +0 -1
- package/dist/components/p-CqJqzGJS.js +0 -1
- package/dist/components/p-D0bGRzSN.js +0 -1
- package/dist/components/p-DC_2597n.js +0 -1
- package/dist/components/p-IzPWk8zx.js +0 -1
- package/dist/components/p-uAXqRBhx.js +0 -1
- package/dist/native/p-03cc1f2c.entry.js +0 -1
- package/dist/native/p-18bdc07a.entry.js +0 -1
- package/dist/native/p-1c97c353.entry.js +0 -1
- package/dist/native/p-23f0ca96.entry.js +0 -1
- package/dist/native/p-34e19b6e.entry.js +0 -1
- package/dist/native/p-46267895.entry.js +0 -1
- package/dist/native/p-597cac0f.entry.js +0 -1
- package/dist/native/p-5f42a7f1.entry.js +0 -1
- package/dist/native/p-7aac0b1a.entry.js +0 -1
- package/dist/native/p-855f7be1.entry.js +0 -1
- package/dist/native/p-99726dd4.entry.js +0 -1
- package/dist/native/p-c0b05d6f.entry.js +0 -1
- package/dist/native/p-c214e4af.entry.js +0 -1
- package/dist/native/p-c29dc907.entry.js +0 -1
- package/dist/native/p-d46bd21a.entry.js +0 -1
- package/dist/native/p-ddedc9c1.entry.js +0 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
1
2
|
const NvDialogfooterDocs = {
|
|
2
3
|
component: 'nv-dialogfooter',
|
|
3
|
-
|
|
4
|
+
parentGroup: 'Dialog/nv-dialog',
|
|
5
|
+
subcomponents: ['nv-dialog', 'nv-button', 'nv-dialogheader'],
|
|
6
|
+
stories: [
|
|
7
|
+
{
|
|
8
|
+
name: 'Default',
|
|
9
|
+
template: (h("nv-dialog", { open: true }, h("nv-button", { slot: "trigger" }, "Open Dialog"), h("nv-dialogheader", null, "Dialog Header"), h("p", null, "Dialog content"), h("nv-dialogfooter", { "data-storybook-args": true }, h("nv-button", null, "Cancel"), h("nv-button", null, "Confirm")))),
|
|
10
|
+
},
|
|
11
|
+
],
|
|
4
12
|
};
|
|
5
13
|
export default NvDialogfooterDocs;
|
|
@@ -18,12 +18,14 @@ export class NvDialogfooter {
|
|
|
18
18
|
this.undismissable = false;
|
|
19
19
|
/**
|
|
20
20
|
* Sets the leading icon for the primary button.
|
|
21
|
+
* @icon
|
|
21
22
|
*/
|
|
22
|
-
this.leadingIcon =
|
|
23
|
+
this.leadingIcon = null;
|
|
23
24
|
/**
|
|
24
25
|
* Sets the trailing icon for the primary button.
|
|
26
|
+
* @icon
|
|
25
27
|
*/
|
|
26
|
-
this.trailingIcon =
|
|
28
|
+
this.trailingIcon = null;
|
|
27
29
|
/**
|
|
28
30
|
* Sets the danger state for the primary button.
|
|
29
31
|
*/
|
|
@@ -71,7 +73,7 @@ export class NvDialogfooter {
|
|
|
71
73
|
/****************************************************************************/
|
|
72
74
|
//#region RENDER
|
|
73
75
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'a66631cca8c689b702dbaca327d432013a01d5a9' }, h("slot", { key: 'b11ebee7ba1cf0d54ea14061adfc2aa652a8f320' }, h(Fragment, { key: 'b476090b330740be2903f0f8baaf2af37ce9f4b9' }, !this.undismissable && (h("nv-button", { key: '7fbcf88d375443143b6c51e4374d2c8aab0a138c', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '45ea2b382870b4a94033e609b5bc57d0af7cad93', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: 'c021c5db17e94c0fa320824335ad3cf3507fc47e', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '3b3f4ebf29a35d901228d46ce799ff722a874272', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
|
|
75
77
|
}
|
|
76
78
|
static get is() { return "nv-dialogfooter"; }
|
|
77
79
|
static get formAssociated() { return true; }
|
|
@@ -131,41 +133,61 @@ export class NvDialogfooter {
|
|
|
131
133
|
"type": "string",
|
|
132
134
|
"mutable": false,
|
|
133
135
|
"complexType": {
|
|
134
|
-
"original": "
|
|
135
|
-
"resolved": "
|
|
136
|
-
"references": {
|
|
136
|
+
"original": "`${IconName}` | null",
|
|
137
|
+
"resolved": "\"access-point\" | \"access-point-off\" | \"accessible\" | \"activity\" | \"address-book\" | \"adjustments\" | \"adjustments-horizontal\" | \"adjustments-up\" | \"affiliate\" | \"air-conditioning\" | \"alert-circle\" | \"alert-square-rounded\" | \"alert-triangle\" | \"align-center\" | \"align-left\" | \"align-right\" | \"app-window\" | \"apps\" | \"archive\" | \"areas\" | \"arrow-back\" | \"arrow-back-up\" | \"arrow-down\" | \"arrow-down-left\" | \"arrow-down-right\" | \"arrow-forward\" | \"arrow-forward-up\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"arrow-up-left\" | \"arrow-up-right\" | \"arrows-diagonal\" | \"arrows-exchange\" | \"arrows-maximize\" | \"arrows-minimize\" | \"arrows-move\" | \"aspect-ratio\" | \"atom\" | \"ban\" | \"basket\" | \"battery\" | \"battery-1\" | \"battery-2\" | \"battery-3\" | \"battery-4\" | \"battery-automotive\" | \"battery-charging\" | \"battery-eco\" | \"battery-off\" | \"bell\" | \"bell-bolt\" | \"bell-off\" | \"bell-ringing\" | \"bike\" | \"bluetooth\" | \"bluetooth-connected\" | \"bluetooth-off\" | \"bolt\" | \"bolt-off\" | \"book\" | \"bookmark\" | \"bookmark-off\" | \"bookmarks\" | \"box-align-top\" | \"box-multiple\" | \"brand-facebook\" | \"brand-instagram\" | \"brand-linkedin\" | \"brand-x\" | \"brand-youtube\" | \"briefcase\" | \"brightness-down\" | \"brightness-up\" | \"browser\" | \"browser-check\" | \"browser-plus\" | \"browser-x\" | \"brush\" | \"building\" | \"building-bank\" | \"building-factory\" | \"building-lighthouse\" | \"building-store\" | \"bulb\" | \"bulb-off\" | \"cake\" | \"calendar\" | \"calendar-time\" | \"calendar-week\" | \"camera\" | \"camera-off\" | \"car\" | \"car-crane\" | \"caravan\" | \"cash\" | \"cash-banknote\" | \"cast\" | \"cell\" | \"charging-pile\" | \"chart-arcs\" | \"chart-area\" | \"chart-area-line\" | \"chart-arrows\" | \"chart-arrows-vertical\" | \"chart-bar\" | \"chart-bubble\" | \"chart-circles\" | \"chart-donut\" | \"chart-dots\" | \"chart-line\" | \"chart-pie\" | \"chart-radar\" | \"check\" | \"checkbox\" | \"checklist\" | \"checks\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-top\" | \"chevrons-left\" | \"chevrons-right\" | \"circle-caret-right\" | \"circle-check\" | \"circle-minus\" | \"circle-x\" | \"circuit-alternate\" | \"circuit-ground-digital\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-list\" | \"clipboard-plus\" | \"clipboard-text\" | \"clipboard-x\" | \"clock\" | \"clock-edit\" | \"cloud\" | \"cloud-data-connection\" | \"cloud-download\" | \"cloud-rain\" | \"cloud-snow\" | \"cloud-upload\" | \"color-picker\" | \"color-swatch\" | \"columns-1\" | \"columns-2\" | \"columns-3\" | \"compass\" | \"contract\" | \"cookie\" | \"copy\" | \"cpu\" | \"crane\" | \"credit-card\" | \"crop\" | \"cross\" | \"crown\" | \"currency-bitcoin\" | \"currency-dollar\" | \"currency-ethereum\" | \"currency-euro\" | \"cut\" | \"dashboard\" | \"database\" | \"device-desktop\" | \"device-floppy\" | \"device-gamepad\" | \"device-laptop\" | \"device-mobile\" | \"device-mobile-rotated\" | \"device-tablet\" | \"device-watch\" | \"devices\" | \"dialpad\" | \"direction\" | \"direction-horizontal\" | \"direction-sign\" | \"discount\" | \"door-enter\" | \"door-exit\" | \"door-off\" | \"dots\" | \"dots-vertical\" | \"download\" | \"drone\" | \"droplet\" | \"droplet-filled\" | \"droplet-half\" | \"droplets\" | \"edit\" | \"empty\" | \"engine\" | \"equal-not\" | \"eraser\" | \"eraser-off\" | \"external-link\" | \"eye\" | \"eye-check\" | \"eye-off\" | \"eyeglass2\" | \"face-id\" | \"feather\" | \"file\" | \"file-alert\" | \"file-analytics\" | \"file-check\" | \"file-code\" | \"file-download\" | \"file-export\" | \"file-horizontal\" | \"file-import\" | \"file-plus\" | \"file-search\" | \"file-text\" | \"file-text-bookmark\" | \"file-type-bmp\" | \"file-type-css\" | \"file-type-csv\" | \"file-type-doc\" | \"file-type-html\" | \"file-type-jpg\" | \"file-type-js\" | \"file-type-pdf\" | \"file-type-png\" | \"file-type-ppt\" | \"file-type-xls\" | \"file-type-xml\" | \"file-type-zip\" | \"file-upload\" | \"file-x\" | \"file-zip\" | \"files\" | \"files-off\" | \"filter\" | \"filter-off\" | \"filter-sort\" | \"fingerprint\" | \"fire-extinguisher\" | \"flag\" | \"flame\" | \"flip-horizontal\" | \"flip-vertical\" | \"folder\" | \"folder-minus\" | \"folder-off\" | \"folder-plus\" | \"folder-x\" | \"folders\" | \"frame\" | \"gas-station\" | \"gauge\" | \"gauge-off\" | \"gift\" | \"git-branch\" | \"git-branch-delete\" | \"git-cherry-pick\" | \"git-commit\" | \"git-compare\" | \"git-fork\" | \"git-merge\" | \"git-pull-request\" | \"git-pull-request-closed\" | \"git-pull-request-draft\" | \"gps\" | \"grid-dots\" | \"grip-horizontal\" | \"grip-vertical\" | \"hand-stop\" | \"hand-waving\" | \"hash\" | \"haze\" | \"headphones\" | \"headphones-off\" | \"headset\" | \"heart\" | \"heart-off\" | \"heartbeat\" | \"helicopter\" | \"helmet\" | \"helmet-swopp\" | \"help\" | \"history\" | \"home\" | \"hourglass\" | \"hourglass-empty\" | \"hourglass-high\" | \"hourglass-low\" | \"hourglass-off\" | \"inbox\" | \"info-circle\" | \"keyboard\" | \"keyboard-hide\" | \"keyboard-show\" | \"layers-intersect\" | \"layers-off\" | \"layout\" | \"layout-board-split\" | \"layout-dashboard\" | \"layout-grid\" | \"layout-sidebar-left-collapse\" | \"layout-sidebar-left-expand\" | \"layout-sidebar-right-collapse\" | \"layout-sidebar-right-expand\" | \"leaf\" | \"lifebuoy\" | \"link\" | \"list\" | \"list-search\" | \"loader\" | \"location\" | \"lock\" | \"lock-off\" | \"lock-open\" | \"login\" | \"logout\" | \"mail\" | \"mail-forward\" | \"mail-opened\" | \"map\" | \"map-pin\" | \"map-pin-2\" | \"map-pin-off\" | \"master-data\" | \"menu\" | \"message\" | \"message-dots\" | \"message-off\" | \"messages\" | \"microphone\" | \"microphone-off\" | \"minus\" | \"mist\" | \"moon\" | \"motorbike\" | \"mouse\" | \"movie\" | \"network\" | \"news\" | \"note\" | \"notebook\" | \"notes\" | \"offshore-station\" | \"package\" | \"palette\" | \"paperclip\" | \"pencil\" | \"phone\" | \"phone-call\" | \"phone-calling\" | \"phone-check\" | \"phone-incoming\" | \"phone-off\" | \"phone-outgoing\" | \"photo\" | \"photo-off\" | \"pig\" | \"pin\" | \"pinned\" | \"pinned-off\" | \"plane\" | \"plane-off\" | \"plant\" | \"player-pause\" | \"player-play\" | \"player-skip-back\" | \"player-skip-forward\" | \"player-stop\" | \"player-track-next\" | \"player-track-prev\" | \"plug\" | \"plug-connected\" | \"plus\" | \"power\" | \"power-ac\" | \"power-dc\" | \"presentation\" | \"presentation-analytics\" | \"printer\" | \"propeller\" | \"published\" | \"puzzle\" | \"puzzle-2\" | \"pylon\" | \"qrcode\" | \"quotes\" | \"quotes-open\" | \"radar\" | \"radio\" | \"radioactive\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"recharging\" | \"recycle\" | \"refresh\" | \"refresh-alert\" | \"refresh-off\" | \"repeat\" | \"repeat-once\" | \"replace\" | \"report\" | \"report-analytics\" | \"report-medical\" | \"report-search\" | \"ripple\" | \"ripple-off\" | \"rocket\" | \"rotate\" | \"rotate-2\" | \"rotate-clockwise\" | \"rotate-clockwise-2\" | \"rotate-dot\" | \"router\" | \"ruler-measure\" | \"sailboat\" | \"satellite\" | \"scale\" | \"school\" | \"scissors\" | \"scooter-electric\" | \"screenshot\" | \"search\" | \"seeding\" | \"select\" | \"selector\" | \"send\" | \"server\" | \"settings\" | \"shape\" | \"share\" | \"share-2\" | \"shield\" | \"shield-check\" | \"shield-lock\" | \"shield-off\" | \"shield-x\" | \"ship\" | \"ship-off\" | \"shopping-cart\" | \"sitemap\" | \"slash\" | \"smart-home\" | \"snowflake\" | \"solar-panel\" | \"sort-ascending-letters\" | \"sort-ascending-numbers\" | \"sort-descending-letters\" | \"sort-descending-numbers\" | \"spacing-horizontal\" | \"spacing-vertical\" | \"sparkles\" | \"speakerphone\" | \"stack\" | \"stairs\" | \"star\" | \"sun\" | \"sunrise\" | \"sunset\" | \"switch-horizontal\" | \"switch-vertical\" | \"table\" | \"tag\" | \"tank-empty-fill\" | \"tank-full-fill\" | \"tank-medium-fill\" | \"temperature\" | \"temperature-off\" | \"template\" | \"terminal\" | \"text\" | \"text-size\" | \"thumb-down\" | \"thumb-up\" | \"ticket\" | \"timeline\" | \"tir\" | \"tool\" | \"tools\" | \"train\" | \"trash\" | \"trash-off\" | \"tree\" | \"trees\" | \"truck\" | \"truck-delivery\" | \"umbrella\" | \"unlink\" | \"upload\" | \"user\" | \"user-circle\" | \"user-exclamation\" | \"user-minus\" | \"user-off\" | \"user-plus\" | \"user-worker\" | \"users\" | \"versions\" | \"video\" | \"video-minus\" | \"video-off\" | \"video-plus\" | \"volume\" | \"volume-2\" | \"volume-3\" | \"wallet\" | \"wand\" | \"wave\" | \"waves\" | \"wifi\" | \"wifi-off\" | \"wind\" | \"wind-direction\" | \"windmill\" | \"wood\" | \"world\" | \"world-code\" | \"writing\" | \"x\" | \"zoom-reset\"",
|
|
138
|
+
"references": {
|
|
139
|
+
"IconName": {
|
|
140
|
+
"location": "import",
|
|
141
|
+
"path": "../nv-icon/nv-icons",
|
|
142
|
+
"id": "src/components/nv-icon/nv-icons.ts::IconName",
|
|
143
|
+
"referenceLocation": "IconName"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
137
146
|
},
|
|
138
147
|
"required": false,
|
|
139
148
|
"optional": false,
|
|
140
149
|
"docs": {
|
|
141
|
-
"tags": [
|
|
150
|
+
"tags": [{
|
|
151
|
+
"name": "icon",
|
|
152
|
+
"text": undefined
|
|
153
|
+
}],
|
|
142
154
|
"text": "Sets the leading icon for the primary button."
|
|
143
155
|
},
|
|
144
156
|
"getter": false,
|
|
145
157
|
"setter": false,
|
|
146
158
|
"reflect": true,
|
|
147
159
|
"attribute": "leading-icon",
|
|
148
|
-
"defaultValue": "
|
|
160
|
+
"defaultValue": "null"
|
|
149
161
|
},
|
|
150
162
|
"trailingIcon": {
|
|
151
163
|
"type": "string",
|
|
152
164
|
"mutable": false,
|
|
153
165
|
"complexType": {
|
|
154
|
-
"original": "
|
|
155
|
-
"resolved": "
|
|
156
|
-
"references": {
|
|
166
|
+
"original": "`${IconName}` | null",
|
|
167
|
+
"resolved": "\"access-point\" | \"access-point-off\" | \"accessible\" | \"activity\" | \"address-book\" | \"adjustments\" | \"adjustments-horizontal\" | \"adjustments-up\" | \"affiliate\" | \"air-conditioning\" | \"alert-circle\" | \"alert-square-rounded\" | \"alert-triangle\" | \"align-center\" | \"align-left\" | \"align-right\" | \"app-window\" | \"apps\" | \"archive\" | \"areas\" | \"arrow-back\" | \"arrow-back-up\" | \"arrow-down\" | \"arrow-down-left\" | \"arrow-down-right\" | \"arrow-forward\" | \"arrow-forward-up\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"arrow-up-left\" | \"arrow-up-right\" | \"arrows-diagonal\" | \"arrows-exchange\" | \"arrows-maximize\" | \"arrows-minimize\" | \"arrows-move\" | \"aspect-ratio\" | \"atom\" | \"ban\" | \"basket\" | \"battery\" | \"battery-1\" | \"battery-2\" | \"battery-3\" | \"battery-4\" | \"battery-automotive\" | \"battery-charging\" | \"battery-eco\" | \"battery-off\" | \"bell\" | \"bell-bolt\" | \"bell-off\" | \"bell-ringing\" | \"bike\" | \"bluetooth\" | \"bluetooth-connected\" | \"bluetooth-off\" | \"bolt\" | \"bolt-off\" | \"book\" | \"bookmark\" | \"bookmark-off\" | \"bookmarks\" | \"box-align-top\" | \"box-multiple\" | \"brand-facebook\" | \"brand-instagram\" | \"brand-linkedin\" | \"brand-x\" | \"brand-youtube\" | \"briefcase\" | \"brightness-down\" | \"brightness-up\" | \"browser\" | \"browser-check\" | \"browser-plus\" | \"browser-x\" | \"brush\" | \"building\" | \"building-bank\" | \"building-factory\" | \"building-lighthouse\" | \"building-store\" | \"bulb\" | \"bulb-off\" | \"cake\" | \"calendar\" | \"calendar-time\" | \"calendar-week\" | \"camera\" | \"camera-off\" | \"car\" | \"car-crane\" | \"caravan\" | \"cash\" | \"cash-banknote\" | \"cast\" | \"cell\" | \"charging-pile\" | \"chart-arcs\" | \"chart-area\" | \"chart-area-line\" | \"chart-arrows\" | \"chart-arrows-vertical\" | \"chart-bar\" | \"chart-bubble\" | \"chart-circles\" | \"chart-donut\" | \"chart-dots\" | \"chart-line\" | \"chart-pie\" | \"chart-radar\" | \"check\" | \"checkbox\" | \"checklist\" | \"checks\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-top\" | \"chevrons-left\" | \"chevrons-right\" | \"circle-caret-right\" | \"circle-check\" | \"circle-minus\" | \"circle-x\" | \"circuit-alternate\" | \"circuit-ground-digital\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-list\" | \"clipboard-plus\" | \"clipboard-text\" | \"clipboard-x\" | \"clock\" | \"clock-edit\" | \"cloud\" | \"cloud-data-connection\" | \"cloud-download\" | \"cloud-rain\" | \"cloud-snow\" | \"cloud-upload\" | \"color-picker\" | \"color-swatch\" | \"columns-1\" | \"columns-2\" | \"columns-3\" | \"compass\" | \"contract\" | \"cookie\" | \"copy\" | \"cpu\" | \"crane\" | \"credit-card\" | \"crop\" | \"cross\" | \"crown\" | \"currency-bitcoin\" | \"currency-dollar\" | \"currency-ethereum\" | \"currency-euro\" | \"cut\" | \"dashboard\" | \"database\" | \"device-desktop\" | \"device-floppy\" | \"device-gamepad\" | \"device-laptop\" | \"device-mobile\" | \"device-mobile-rotated\" | \"device-tablet\" | \"device-watch\" | \"devices\" | \"dialpad\" | \"direction\" | \"direction-horizontal\" | \"direction-sign\" | \"discount\" | \"door-enter\" | \"door-exit\" | \"door-off\" | \"dots\" | \"dots-vertical\" | \"download\" | \"drone\" | \"droplet\" | \"droplet-filled\" | \"droplet-half\" | \"droplets\" | \"edit\" | \"empty\" | \"engine\" | \"equal-not\" | \"eraser\" | \"eraser-off\" | \"external-link\" | \"eye\" | \"eye-check\" | \"eye-off\" | \"eyeglass2\" | \"face-id\" | \"feather\" | \"file\" | \"file-alert\" | \"file-analytics\" | \"file-check\" | \"file-code\" | \"file-download\" | \"file-export\" | \"file-horizontal\" | \"file-import\" | \"file-plus\" | \"file-search\" | \"file-text\" | \"file-text-bookmark\" | \"file-type-bmp\" | \"file-type-css\" | \"file-type-csv\" | \"file-type-doc\" | \"file-type-html\" | \"file-type-jpg\" | \"file-type-js\" | \"file-type-pdf\" | \"file-type-png\" | \"file-type-ppt\" | \"file-type-xls\" | \"file-type-xml\" | \"file-type-zip\" | \"file-upload\" | \"file-x\" | \"file-zip\" | \"files\" | \"files-off\" | \"filter\" | \"filter-off\" | \"filter-sort\" | \"fingerprint\" | \"fire-extinguisher\" | \"flag\" | \"flame\" | \"flip-horizontal\" | \"flip-vertical\" | \"folder\" | \"folder-minus\" | \"folder-off\" | \"folder-plus\" | \"folder-x\" | \"folders\" | \"frame\" | \"gas-station\" | \"gauge\" | \"gauge-off\" | \"gift\" | \"git-branch\" | \"git-branch-delete\" | \"git-cherry-pick\" | \"git-commit\" | \"git-compare\" | \"git-fork\" | \"git-merge\" | \"git-pull-request\" | \"git-pull-request-closed\" | \"git-pull-request-draft\" | \"gps\" | \"grid-dots\" | \"grip-horizontal\" | \"grip-vertical\" | \"hand-stop\" | \"hand-waving\" | \"hash\" | \"haze\" | \"headphones\" | \"headphones-off\" | \"headset\" | \"heart\" | \"heart-off\" | \"heartbeat\" | \"helicopter\" | \"helmet\" | \"helmet-swopp\" | \"help\" | \"history\" | \"home\" | \"hourglass\" | \"hourglass-empty\" | \"hourglass-high\" | \"hourglass-low\" | \"hourglass-off\" | \"inbox\" | \"info-circle\" | \"keyboard\" | \"keyboard-hide\" | \"keyboard-show\" | \"layers-intersect\" | \"layers-off\" | \"layout\" | \"layout-board-split\" | \"layout-dashboard\" | \"layout-grid\" | \"layout-sidebar-left-collapse\" | \"layout-sidebar-left-expand\" | \"layout-sidebar-right-collapse\" | \"layout-sidebar-right-expand\" | \"leaf\" | \"lifebuoy\" | \"link\" | \"list\" | \"list-search\" | \"loader\" | \"location\" | \"lock\" | \"lock-off\" | \"lock-open\" | \"login\" | \"logout\" | \"mail\" | \"mail-forward\" | \"mail-opened\" | \"map\" | \"map-pin\" | \"map-pin-2\" | \"map-pin-off\" | \"master-data\" | \"menu\" | \"message\" | \"message-dots\" | \"message-off\" | \"messages\" | \"microphone\" | \"microphone-off\" | \"minus\" | \"mist\" | \"moon\" | \"motorbike\" | \"mouse\" | \"movie\" | \"network\" | \"news\" | \"note\" | \"notebook\" | \"notes\" | \"offshore-station\" | \"package\" | \"palette\" | \"paperclip\" | \"pencil\" | \"phone\" | \"phone-call\" | \"phone-calling\" | \"phone-check\" | \"phone-incoming\" | \"phone-off\" | \"phone-outgoing\" | \"photo\" | \"photo-off\" | \"pig\" | \"pin\" | \"pinned\" | \"pinned-off\" | \"plane\" | \"plane-off\" | \"plant\" | \"player-pause\" | \"player-play\" | \"player-skip-back\" | \"player-skip-forward\" | \"player-stop\" | \"player-track-next\" | \"player-track-prev\" | \"plug\" | \"plug-connected\" | \"plus\" | \"power\" | \"power-ac\" | \"power-dc\" | \"presentation\" | \"presentation-analytics\" | \"printer\" | \"propeller\" | \"published\" | \"puzzle\" | \"puzzle-2\" | \"pylon\" | \"qrcode\" | \"quotes\" | \"quotes-open\" | \"radar\" | \"radio\" | \"radioactive\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"recharging\" | \"recycle\" | \"refresh\" | \"refresh-alert\" | \"refresh-off\" | \"repeat\" | \"repeat-once\" | \"replace\" | \"report\" | \"report-analytics\" | \"report-medical\" | \"report-search\" | \"ripple\" | \"ripple-off\" | \"rocket\" | \"rotate\" | \"rotate-2\" | \"rotate-clockwise\" | \"rotate-clockwise-2\" | \"rotate-dot\" | \"router\" | \"ruler-measure\" | \"sailboat\" | \"satellite\" | \"scale\" | \"school\" | \"scissors\" | \"scooter-electric\" | \"screenshot\" | \"search\" | \"seeding\" | \"select\" | \"selector\" | \"send\" | \"server\" | \"settings\" | \"shape\" | \"share\" | \"share-2\" | \"shield\" | \"shield-check\" | \"shield-lock\" | \"shield-off\" | \"shield-x\" | \"ship\" | \"ship-off\" | \"shopping-cart\" | \"sitemap\" | \"slash\" | \"smart-home\" | \"snowflake\" | \"solar-panel\" | \"sort-ascending-letters\" | \"sort-ascending-numbers\" | \"sort-descending-letters\" | \"sort-descending-numbers\" | \"spacing-horizontal\" | \"spacing-vertical\" | \"sparkles\" | \"speakerphone\" | \"stack\" | \"stairs\" | \"star\" | \"sun\" | \"sunrise\" | \"sunset\" | \"switch-horizontal\" | \"switch-vertical\" | \"table\" | \"tag\" | \"tank-empty-fill\" | \"tank-full-fill\" | \"tank-medium-fill\" | \"temperature\" | \"temperature-off\" | \"template\" | \"terminal\" | \"text\" | \"text-size\" | \"thumb-down\" | \"thumb-up\" | \"ticket\" | \"timeline\" | \"tir\" | \"tool\" | \"tools\" | \"train\" | \"trash\" | \"trash-off\" | \"tree\" | \"trees\" | \"truck\" | \"truck-delivery\" | \"umbrella\" | \"unlink\" | \"upload\" | \"user\" | \"user-circle\" | \"user-exclamation\" | \"user-minus\" | \"user-off\" | \"user-plus\" | \"user-worker\" | \"users\" | \"versions\" | \"video\" | \"video-minus\" | \"video-off\" | \"video-plus\" | \"volume\" | \"volume-2\" | \"volume-3\" | \"wallet\" | \"wand\" | \"wave\" | \"waves\" | \"wifi\" | \"wifi-off\" | \"wind\" | \"wind-direction\" | \"windmill\" | \"wood\" | \"world\" | \"world-code\" | \"writing\" | \"x\" | \"zoom-reset\"",
|
|
168
|
+
"references": {
|
|
169
|
+
"IconName": {
|
|
170
|
+
"location": "import",
|
|
171
|
+
"path": "../nv-icon/nv-icons",
|
|
172
|
+
"id": "src/components/nv-icon/nv-icons.ts::IconName",
|
|
173
|
+
"referenceLocation": "IconName"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
157
176
|
},
|
|
158
177
|
"required": false,
|
|
159
178
|
"optional": false,
|
|
160
179
|
"docs": {
|
|
161
|
-
"tags": [
|
|
180
|
+
"tags": [{
|
|
181
|
+
"name": "icon",
|
|
182
|
+
"text": undefined
|
|
183
|
+
}],
|
|
162
184
|
"text": "Sets the trailing icon for the primary button."
|
|
163
185
|
},
|
|
164
186
|
"getter": false,
|
|
165
187
|
"setter": false,
|
|
166
188
|
"reflect": true,
|
|
167
189
|
"attribute": "trailing-icon",
|
|
168
|
-
"defaultValue": "
|
|
190
|
+
"defaultValue": "null"
|
|
169
191
|
},
|
|
170
192
|
"danger": {
|
|
171
193
|
"type": "boolean",
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
1
2
|
const NvDialogheaderDocs = {
|
|
2
3
|
component: 'nv-dialogheader',
|
|
3
|
-
|
|
4
|
+
parentGroup: 'Dialog/nv-dialog',
|
|
5
|
+
subcomponents: ['nv-dialog', 'nv-button', 'nv-icon'],
|
|
6
|
+
stories: [
|
|
7
|
+
{
|
|
8
|
+
name: 'Default',
|
|
9
|
+
template: (h("nv-dialog", { open: true }, h("nv-button", { slot: "trigger" }, "Open Dialog"), h("nv-dialogheader", { "data-storybook-args": true }, "Dialog Header"), h("p", null, "Dialog content"))),
|
|
10
|
+
},
|
|
11
|
+
],
|
|
4
12
|
};
|
|
5
13
|
export default NvDialogheaderDocs;
|
|
@@ -15,7 +15,7 @@ export class NvDialogheader {
|
|
|
15
15
|
/****************************************************************************/
|
|
16
16
|
//#region RENDER
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '791850365cf2de9d1a5395083e01ee927e9fcfac' }, h("slot", { key: '2641c425dc10b7d748365fa0fa3d86a6784e129b' }, h(Fragment, { key: '7c8ef96b9c7e0ba03e374cc7e74d1f8f24d94c5b' }, h("div", { key: '53d09670dc9779101b3e79adea03bc34870df028', class: "heading" }, this.heading), h("div", { key: '624861c0ecac1de23ac1a4b558dea9de6acf5706', class: "subheading" }, this.subheading)))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "nv-dialogheader"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
@@ -424,7 +424,7 @@ export class NvDrawer {
|
|
|
424
424
|
render() {
|
|
425
425
|
const hasForm = this.form || this.el.querySelector('form');
|
|
426
426
|
const state = this.open ? 'open' : 'closed';
|
|
427
|
-
return (h(Host, { key: '
|
|
427
|
+
return (h(Host, { key: '6ca026b67705704b891c9bca8293dde501c0dc7d' }, h("slot", { key: 'ce9a79e0fe385b774aeac0106929343d6a053394', name: "trigger" }), h("dialog", { key: '49f9c71fd04de256f05d82d671b7664cf1ab3563', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsx({ [`side-${this.side}`]: true }), "data-state": state }, h("div", { key: '9c113486255925e4c7520c1f040b95ec253625d8', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: 'e5b32ffe6785c27eef326f37b23478b9993f451a', class: clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (h("nv-button", { key: 'ac89f7d87b1f307fd809e518cfb88ceb82a074af', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, h("nv-icon", { key: '47d0888ea54efdf3f82cfd0b39bda5c1141074ba', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-drawerheader", { id: "drawer-header" })), h("div", { key: '77a08ee8fcda500d45c9426de8d0b6fb9e960142', class: "content-body", id: "drawer-content" }, h("slot", { key: 'fc40bc3ecb66c95c188b1984431788e8d3bb66e2' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
|
|
428
428
|
}
|
|
429
429
|
static get is() { return "nv-drawer"; }
|
|
430
430
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
1
2
|
const NvDrawerfooterDocs = {
|
|
2
3
|
component: 'nv-drawerfooter',
|
|
3
|
-
|
|
4
|
+
parentGroup: 'Dialog/nv-drawer',
|
|
5
|
+
subcomponents: ['nv-drawer', 'nv-button', 'nv-drawerheader'],
|
|
6
|
+
stories: [
|
|
7
|
+
{
|
|
8
|
+
name: 'Default',
|
|
9
|
+
template: (h("nv-drawer", { open: true }, h("nv-button", { slot: "trigger" }, "Open Drawer"), h("nv-drawerheader", null, "Drawer Header"), h("p", null, "Drawer content"), h("nv-drawerfooter", { "data-storybook-args": true }, h("nv-button", null, "Cancel"), h("nv-button", null, "Save")))),
|
|
10
|
+
},
|
|
11
|
+
],
|
|
4
12
|
};
|
|
5
13
|
export default NvDrawerfooterDocs;
|
|
@@ -18,10 +18,12 @@ export class NvDrawerfooter {
|
|
|
18
18
|
this.undismissable = false;
|
|
19
19
|
/**
|
|
20
20
|
* Sets the leading icon for the primary button.
|
|
21
|
+
* @icon
|
|
21
22
|
*/
|
|
22
23
|
this.leadingIcon = null;
|
|
23
24
|
/**
|
|
24
25
|
* Sets the trailing icon for the primary button.
|
|
26
|
+
* @icon
|
|
25
27
|
*/
|
|
26
28
|
this.trailingIcon = null;
|
|
27
29
|
/**
|
|
@@ -76,7 +78,7 @@ export class NvDrawerfooter {
|
|
|
76
78
|
/****************************************************************************/
|
|
77
79
|
//#region RENDER
|
|
78
80
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '280e30ae22c734269f8181a96ac0418d2c3bd5db' }, h("slot", { key: '9e435bc05507e06906121b49b4b486daff032ade' }, h(Fragment, { key: '1b38093cb1e7af2a16f5c465b9f7d0d79e39ea58' }, !this.undismissable && (h("nv-button", { key: 'a341887eb32885c375c393a8a13064c38b99cd48', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '58ec1ef9f3e2e4647cea49bd89455da601976aff', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: '4ade73bea4bf75f845b07418e0dc3f5c032cff2e', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '02e4cba8e8f39664cf0ee052fe8d5df4ef580949', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
|
|
80
82
|
}
|
|
81
83
|
static get is() { return "nv-drawerfooter"; }
|
|
82
84
|
static get formAssociated() { return true; }
|
|
@@ -136,14 +138,24 @@ export class NvDrawerfooter {
|
|
|
136
138
|
"type": "string",
|
|
137
139
|
"mutable": false,
|
|
138
140
|
"complexType": {
|
|
139
|
-
"original": "
|
|
140
|
-
"resolved": "
|
|
141
|
-
"references": {
|
|
141
|
+
"original": "`${IconName}` | null",
|
|
142
|
+
"resolved": "\"access-point\" | \"access-point-off\" | \"accessible\" | \"activity\" | \"address-book\" | \"adjustments\" | \"adjustments-horizontal\" | \"adjustments-up\" | \"affiliate\" | \"air-conditioning\" | \"alert-circle\" | \"alert-square-rounded\" | \"alert-triangle\" | \"align-center\" | \"align-left\" | \"align-right\" | \"app-window\" | \"apps\" | \"archive\" | \"areas\" | \"arrow-back\" | \"arrow-back-up\" | \"arrow-down\" | \"arrow-down-left\" | \"arrow-down-right\" | \"arrow-forward\" | \"arrow-forward-up\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"arrow-up-left\" | \"arrow-up-right\" | \"arrows-diagonal\" | \"arrows-exchange\" | \"arrows-maximize\" | \"arrows-minimize\" | \"arrows-move\" | \"aspect-ratio\" | \"atom\" | \"ban\" | \"basket\" | \"battery\" | \"battery-1\" | \"battery-2\" | \"battery-3\" | \"battery-4\" | \"battery-automotive\" | \"battery-charging\" | \"battery-eco\" | \"battery-off\" | \"bell\" | \"bell-bolt\" | \"bell-off\" | \"bell-ringing\" | \"bike\" | \"bluetooth\" | \"bluetooth-connected\" | \"bluetooth-off\" | \"bolt\" | \"bolt-off\" | \"book\" | \"bookmark\" | \"bookmark-off\" | \"bookmarks\" | \"box-align-top\" | \"box-multiple\" | \"brand-facebook\" | \"brand-instagram\" | \"brand-linkedin\" | \"brand-x\" | \"brand-youtube\" | \"briefcase\" | \"brightness-down\" | \"brightness-up\" | \"browser\" | \"browser-check\" | \"browser-plus\" | \"browser-x\" | \"brush\" | \"building\" | \"building-bank\" | \"building-factory\" | \"building-lighthouse\" | \"building-store\" | \"bulb\" | \"bulb-off\" | \"cake\" | \"calendar\" | \"calendar-time\" | \"calendar-week\" | \"camera\" | \"camera-off\" | \"car\" | \"car-crane\" | \"caravan\" | \"cash\" | \"cash-banknote\" | \"cast\" | \"cell\" | \"charging-pile\" | \"chart-arcs\" | \"chart-area\" | \"chart-area-line\" | \"chart-arrows\" | \"chart-arrows-vertical\" | \"chart-bar\" | \"chart-bubble\" | \"chart-circles\" | \"chart-donut\" | \"chart-dots\" | \"chart-line\" | \"chart-pie\" | \"chart-radar\" | \"check\" | \"checkbox\" | \"checklist\" | \"checks\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-top\" | \"chevrons-left\" | \"chevrons-right\" | \"circle-caret-right\" | \"circle-check\" | \"circle-minus\" | \"circle-x\" | \"circuit-alternate\" | \"circuit-ground-digital\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-list\" | \"clipboard-plus\" | \"clipboard-text\" | \"clipboard-x\" | \"clock\" | \"clock-edit\" | \"cloud\" | \"cloud-data-connection\" | \"cloud-download\" | \"cloud-rain\" | \"cloud-snow\" | \"cloud-upload\" | \"color-picker\" | \"color-swatch\" | \"columns-1\" | \"columns-2\" | \"columns-3\" | \"compass\" | \"contract\" | \"cookie\" | \"copy\" | \"cpu\" | \"crane\" | \"credit-card\" | \"crop\" | \"cross\" | \"crown\" | \"currency-bitcoin\" | \"currency-dollar\" | \"currency-ethereum\" | \"currency-euro\" | \"cut\" | \"dashboard\" | \"database\" | \"device-desktop\" | \"device-floppy\" | \"device-gamepad\" | \"device-laptop\" | \"device-mobile\" | \"device-mobile-rotated\" | \"device-tablet\" | \"device-watch\" | \"devices\" | \"dialpad\" | \"direction\" | \"direction-horizontal\" | \"direction-sign\" | \"discount\" | \"door-enter\" | \"door-exit\" | \"door-off\" | \"dots\" | \"dots-vertical\" | \"download\" | \"drone\" | \"droplet\" | \"droplet-filled\" | \"droplet-half\" | \"droplets\" | \"edit\" | \"empty\" | \"engine\" | \"equal-not\" | \"eraser\" | \"eraser-off\" | \"external-link\" | \"eye\" | \"eye-check\" | \"eye-off\" | \"eyeglass2\" | \"face-id\" | \"feather\" | \"file\" | \"file-alert\" | \"file-analytics\" | \"file-check\" | \"file-code\" | \"file-download\" | \"file-export\" | \"file-horizontal\" | \"file-import\" | \"file-plus\" | \"file-search\" | \"file-text\" | \"file-text-bookmark\" | \"file-type-bmp\" | \"file-type-css\" | \"file-type-csv\" | \"file-type-doc\" | \"file-type-html\" | \"file-type-jpg\" | \"file-type-js\" | \"file-type-pdf\" | \"file-type-png\" | \"file-type-ppt\" | \"file-type-xls\" | \"file-type-xml\" | \"file-type-zip\" | \"file-upload\" | \"file-x\" | \"file-zip\" | \"files\" | \"files-off\" | \"filter\" | \"filter-off\" | \"filter-sort\" | \"fingerprint\" | \"fire-extinguisher\" | \"flag\" | \"flame\" | \"flip-horizontal\" | \"flip-vertical\" | \"folder\" | \"folder-minus\" | \"folder-off\" | \"folder-plus\" | \"folder-x\" | \"folders\" | \"frame\" | \"gas-station\" | \"gauge\" | \"gauge-off\" | \"gift\" | \"git-branch\" | \"git-branch-delete\" | \"git-cherry-pick\" | \"git-commit\" | \"git-compare\" | \"git-fork\" | \"git-merge\" | \"git-pull-request\" | \"git-pull-request-closed\" | \"git-pull-request-draft\" | \"gps\" | \"grid-dots\" | \"grip-horizontal\" | \"grip-vertical\" | \"hand-stop\" | \"hand-waving\" | \"hash\" | \"haze\" | \"headphones\" | \"headphones-off\" | \"headset\" | \"heart\" | \"heart-off\" | \"heartbeat\" | \"helicopter\" | \"helmet\" | \"helmet-swopp\" | \"help\" | \"history\" | \"home\" | \"hourglass\" | \"hourglass-empty\" | \"hourglass-high\" | \"hourglass-low\" | \"hourglass-off\" | \"inbox\" | \"info-circle\" | \"keyboard\" | \"keyboard-hide\" | \"keyboard-show\" | \"layers-intersect\" | \"layers-off\" | \"layout\" | \"layout-board-split\" | \"layout-dashboard\" | \"layout-grid\" | \"layout-sidebar-left-collapse\" | \"layout-sidebar-left-expand\" | \"layout-sidebar-right-collapse\" | \"layout-sidebar-right-expand\" | \"leaf\" | \"lifebuoy\" | \"link\" | \"list\" | \"list-search\" | \"loader\" | \"location\" | \"lock\" | \"lock-off\" | \"lock-open\" | \"login\" | \"logout\" | \"mail\" | \"mail-forward\" | \"mail-opened\" | \"map\" | \"map-pin\" | \"map-pin-2\" | \"map-pin-off\" | \"master-data\" | \"menu\" | \"message\" | \"message-dots\" | \"message-off\" | \"messages\" | \"microphone\" | \"microphone-off\" | \"minus\" | \"mist\" | \"moon\" | \"motorbike\" | \"mouse\" | \"movie\" | \"network\" | \"news\" | \"note\" | \"notebook\" | \"notes\" | \"offshore-station\" | \"package\" | \"palette\" | \"paperclip\" | \"pencil\" | \"phone\" | \"phone-call\" | \"phone-calling\" | \"phone-check\" | \"phone-incoming\" | \"phone-off\" | \"phone-outgoing\" | \"photo\" | \"photo-off\" | \"pig\" | \"pin\" | \"pinned\" | \"pinned-off\" | \"plane\" | \"plane-off\" | \"plant\" | \"player-pause\" | \"player-play\" | \"player-skip-back\" | \"player-skip-forward\" | \"player-stop\" | \"player-track-next\" | \"player-track-prev\" | \"plug\" | \"plug-connected\" | \"plus\" | \"power\" | \"power-ac\" | \"power-dc\" | \"presentation\" | \"presentation-analytics\" | \"printer\" | \"propeller\" | \"published\" | \"puzzle\" | \"puzzle-2\" | \"pylon\" | \"qrcode\" | \"quotes\" | \"quotes-open\" | \"radar\" | \"radio\" | \"radioactive\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"recharging\" | \"recycle\" | \"refresh\" | \"refresh-alert\" | \"refresh-off\" | \"repeat\" | \"repeat-once\" | \"replace\" | \"report\" | \"report-analytics\" | \"report-medical\" | \"report-search\" | \"ripple\" | \"ripple-off\" | \"rocket\" | \"rotate\" | \"rotate-2\" | \"rotate-clockwise\" | \"rotate-clockwise-2\" | \"rotate-dot\" | \"router\" | \"ruler-measure\" | \"sailboat\" | \"satellite\" | \"scale\" | \"school\" | \"scissors\" | \"scooter-electric\" | \"screenshot\" | \"search\" | \"seeding\" | \"select\" | \"selector\" | \"send\" | \"server\" | \"settings\" | \"shape\" | \"share\" | \"share-2\" | \"shield\" | \"shield-check\" | \"shield-lock\" | \"shield-off\" | \"shield-x\" | \"ship\" | \"ship-off\" | \"shopping-cart\" | \"sitemap\" | \"slash\" | \"smart-home\" | \"snowflake\" | \"solar-panel\" | \"sort-ascending-letters\" | \"sort-ascending-numbers\" | \"sort-descending-letters\" | \"sort-descending-numbers\" | \"spacing-horizontal\" | \"spacing-vertical\" | \"sparkles\" | \"speakerphone\" | \"stack\" | \"stairs\" | \"star\" | \"sun\" | \"sunrise\" | \"sunset\" | \"switch-horizontal\" | \"switch-vertical\" | \"table\" | \"tag\" | \"tank-empty-fill\" | \"tank-full-fill\" | \"tank-medium-fill\" | \"temperature\" | \"temperature-off\" | \"template\" | \"terminal\" | \"text\" | \"text-size\" | \"thumb-down\" | \"thumb-up\" | \"ticket\" | \"timeline\" | \"tir\" | \"tool\" | \"tools\" | \"train\" | \"trash\" | \"trash-off\" | \"tree\" | \"trees\" | \"truck\" | \"truck-delivery\" | \"umbrella\" | \"unlink\" | \"upload\" | \"user\" | \"user-circle\" | \"user-exclamation\" | \"user-minus\" | \"user-off\" | \"user-plus\" | \"user-worker\" | \"users\" | \"versions\" | \"video\" | \"video-minus\" | \"video-off\" | \"video-plus\" | \"volume\" | \"volume-2\" | \"volume-3\" | \"wallet\" | \"wand\" | \"wave\" | \"waves\" | \"wifi\" | \"wifi-off\" | \"wind\" | \"wind-direction\" | \"windmill\" | \"wood\" | \"world\" | \"world-code\" | \"writing\" | \"x\" | \"zoom-reset\"",
|
|
143
|
+
"references": {
|
|
144
|
+
"IconName": {
|
|
145
|
+
"location": "import",
|
|
146
|
+
"path": "../nv-icon/nv-icons",
|
|
147
|
+
"id": "src/components/nv-icon/nv-icons.ts::IconName",
|
|
148
|
+
"referenceLocation": "IconName"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
142
151
|
},
|
|
143
152
|
"required": false,
|
|
144
153
|
"optional": true,
|
|
145
154
|
"docs": {
|
|
146
|
-
"tags": [
|
|
155
|
+
"tags": [{
|
|
156
|
+
"name": "icon",
|
|
157
|
+
"text": undefined
|
|
158
|
+
}],
|
|
147
159
|
"text": "Sets the leading icon for the primary button."
|
|
148
160
|
},
|
|
149
161
|
"getter": false,
|
|
@@ -156,14 +168,24 @@ export class NvDrawerfooter {
|
|
|
156
168
|
"type": "string",
|
|
157
169
|
"mutable": false,
|
|
158
170
|
"complexType": {
|
|
159
|
-
"original": "
|
|
160
|
-
"resolved": "
|
|
161
|
-
"references": {
|
|
171
|
+
"original": "`${IconName}` | null",
|
|
172
|
+
"resolved": "\"access-point\" | \"access-point-off\" | \"accessible\" | \"activity\" | \"address-book\" | \"adjustments\" | \"adjustments-horizontal\" | \"adjustments-up\" | \"affiliate\" | \"air-conditioning\" | \"alert-circle\" | \"alert-square-rounded\" | \"alert-triangle\" | \"align-center\" | \"align-left\" | \"align-right\" | \"app-window\" | \"apps\" | \"archive\" | \"areas\" | \"arrow-back\" | \"arrow-back-up\" | \"arrow-down\" | \"arrow-down-left\" | \"arrow-down-right\" | \"arrow-forward\" | \"arrow-forward-up\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"arrow-up-left\" | \"arrow-up-right\" | \"arrows-diagonal\" | \"arrows-exchange\" | \"arrows-maximize\" | \"arrows-minimize\" | \"arrows-move\" | \"aspect-ratio\" | \"atom\" | \"ban\" | \"basket\" | \"battery\" | \"battery-1\" | \"battery-2\" | \"battery-3\" | \"battery-4\" | \"battery-automotive\" | \"battery-charging\" | \"battery-eco\" | \"battery-off\" | \"bell\" | \"bell-bolt\" | \"bell-off\" | \"bell-ringing\" | \"bike\" | \"bluetooth\" | \"bluetooth-connected\" | \"bluetooth-off\" | \"bolt\" | \"bolt-off\" | \"book\" | \"bookmark\" | \"bookmark-off\" | \"bookmarks\" | \"box-align-top\" | \"box-multiple\" | \"brand-facebook\" | \"brand-instagram\" | \"brand-linkedin\" | \"brand-x\" | \"brand-youtube\" | \"briefcase\" | \"brightness-down\" | \"brightness-up\" | \"browser\" | \"browser-check\" | \"browser-plus\" | \"browser-x\" | \"brush\" | \"building\" | \"building-bank\" | \"building-factory\" | \"building-lighthouse\" | \"building-store\" | \"bulb\" | \"bulb-off\" | \"cake\" | \"calendar\" | \"calendar-time\" | \"calendar-week\" | \"camera\" | \"camera-off\" | \"car\" | \"car-crane\" | \"caravan\" | \"cash\" | \"cash-banknote\" | \"cast\" | \"cell\" | \"charging-pile\" | \"chart-arcs\" | \"chart-area\" | \"chart-area-line\" | \"chart-arrows\" | \"chart-arrows-vertical\" | \"chart-bar\" | \"chart-bubble\" | \"chart-circles\" | \"chart-donut\" | \"chart-dots\" | \"chart-line\" | \"chart-pie\" | \"chart-radar\" | \"check\" | \"checkbox\" | \"checklist\" | \"checks\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-top\" | \"chevrons-left\" | \"chevrons-right\" | \"circle-caret-right\" | \"circle-check\" | \"circle-minus\" | \"circle-x\" | \"circuit-alternate\" | \"circuit-ground-digital\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-list\" | \"clipboard-plus\" | \"clipboard-text\" | \"clipboard-x\" | \"clock\" | \"clock-edit\" | \"cloud\" | \"cloud-data-connection\" | \"cloud-download\" | \"cloud-rain\" | \"cloud-snow\" | \"cloud-upload\" | \"color-picker\" | \"color-swatch\" | \"columns-1\" | \"columns-2\" | \"columns-3\" | \"compass\" | \"contract\" | \"cookie\" | \"copy\" | \"cpu\" | \"crane\" | \"credit-card\" | \"crop\" | \"cross\" | \"crown\" | \"currency-bitcoin\" | \"currency-dollar\" | \"currency-ethereum\" | \"currency-euro\" | \"cut\" | \"dashboard\" | \"database\" | \"device-desktop\" | \"device-floppy\" | \"device-gamepad\" | \"device-laptop\" | \"device-mobile\" | \"device-mobile-rotated\" | \"device-tablet\" | \"device-watch\" | \"devices\" | \"dialpad\" | \"direction\" | \"direction-horizontal\" | \"direction-sign\" | \"discount\" | \"door-enter\" | \"door-exit\" | \"door-off\" | \"dots\" | \"dots-vertical\" | \"download\" | \"drone\" | \"droplet\" | \"droplet-filled\" | \"droplet-half\" | \"droplets\" | \"edit\" | \"empty\" | \"engine\" | \"equal-not\" | \"eraser\" | \"eraser-off\" | \"external-link\" | \"eye\" | \"eye-check\" | \"eye-off\" | \"eyeglass2\" | \"face-id\" | \"feather\" | \"file\" | \"file-alert\" | \"file-analytics\" | \"file-check\" | \"file-code\" | \"file-download\" | \"file-export\" | \"file-horizontal\" | \"file-import\" | \"file-plus\" | \"file-search\" | \"file-text\" | \"file-text-bookmark\" | \"file-type-bmp\" | \"file-type-css\" | \"file-type-csv\" | \"file-type-doc\" | \"file-type-html\" | \"file-type-jpg\" | \"file-type-js\" | \"file-type-pdf\" | \"file-type-png\" | \"file-type-ppt\" | \"file-type-xls\" | \"file-type-xml\" | \"file-type-zip\" | \"file-upload\" | \"file-x\" | \"file-zip\" | \"files\" | \"files-off\" | \"filter\" | \"filter-off\" | \"filter-sort\" | \"fingerprint\" | \"fire-extinguisher\" | \"flag\" | \"flame\" | \"flip-horizontal\" | \"flip-vertical\" | \"folder\" | \"folder-minus\" | \"folder-off\" | \"folder-plus\" | \"folder-x\" | \"folders\" | \"frame\" | \"gas-station\" | \"gauge\" | \"gauge-off\" | \"gift\" | \"git-branch\" | \"git-branch-delete\" | \"git-cherry-pick\" | \"git-commit\" | \"git-compare\" | \"git-fork\" | \"git-merge\" | \"git-pull-request\" | \"git-pull-request-closed\" | \"git-pull-request-draft\" | \"gps\" | \"grid-dots\" | \"grip-horizontal\" | \"grip-vertical\" | \"hand-stop\" | \"hand-waving\" | \"hash\" | \"haze\" | \"headphones\" | \"headphones-off\" | \"headset\" | \"heart\" | \"heart-off\" | \"heartbeat\" | \"helicopter\" | \"helmet\" | \"helmet-swopp\" | \"help\" | \"history\" | \"home\" | \"hourglass\" | \"hourglass-empty\" | \"hourglass-high\" | \"hourglass-low\" | \"hourglass-off\" | \"inbox\" | \"info-circle\" | \"keyboard\" | \"keyboard-hide\" | \"keyboard-show\" | \"layers-intersect\" | \"layers-off\" | \"layout\" | \"layout-board-split\" | \"layout-dashboard\" | \"layout-grid\" | \"layout-sidebar-left-collapse\" | \"layout-sidebar-left-expand\" | \"layout-sidebar-right-collapse\" | \"layout-sidebar-right-expand\" | \"leaf\" | \"lifebuoy\" | \"link\" | \"list\" | \"list-search\" | \"loader\" | \"location\" | \"lock\" | \"lock-off\" | \"lock-open\" | \"login\" | \"logout\" | \"mail\" | \"mail-forward\" | \"mail-opened\" | \"map\" | \"map-pin\" | \"map-pin-2\" | \"map-pin-off\" | \"master-data\" | \"menu\" | \"message\" | \"message-dots\" | \"message-off\" | \"messages\" | \"microphone\" | \"microphone-off\" | \"minus\" | \"mist\" | \"moon\" | \"motorbike\" | \"mouse\" | \"movie\" | \"network\" | \"news\" | \"note\" | \"notebook\" | \"notes\" | \"offshore-station\" | \"package\" | \"palette\" | \"paperclip\" | \"pencil\" | \"phone\" | \"phone-call\" | \"phone-calling\" | \"phone-check\" | \"phone-incoming\" | \"phone-off\" | \"phone-outgoing\" | \"photo\" | \"photo-off\" | \"pig\" | \"pin\" | \"pinned\" | \"pinned-off\" | \"plane\" | \"plane-off\" | \"plant\" | \"player-pause\" | \"player-play\" | \"player-skip-back\" | \"player-skip-forward\" | \"player-stop\" | \"player-track-next\" | \"player-track-prev\" | \"plug\" | \"plug-connected\" | \"plus\" | \"power\" | \"power-ac\" | \"power-dc\" | \"presentation\" | \"presentation-analytics\" | \"printer\" | \"propeller\" | \"published\" | \"puzzle\" | \"puzzle-2\" | \"pylon\" | \"qrcode\" | \"quotes\" | \"quotes-open\" | \"radar\" | \"radio\" | \"radioactive\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"recharging\" | \"recycle\" | \"refresh\" | \"refresh-alert\" | \"refresh-off\" | \"repeat\" | \"repeat-once\" | \"replace\" | \"report\" | \"report-analytics\" | \"report-medical\" | \"report-search\" | \"ripple\" | \"ripple-off\" | \"rocket\" | \"rotate\" | \"rotate-2\" | \"rotate-clockwise\" | \"rotate-clockwise-2\" | \"rotate-dot\" | \"router\" | \"ruler-measure\" | \"sailboat\" | \"satellite\" | \"scale\" | \"school\" | \"scissors\" | \"scooter-electric\" | \"screenshot\" | \"search\" | \"seeding\" | \"select\" | \"selector\" | \"send\" | \"server\" | \"settings\" | \"shape\" | \"share\" | \"share-2\" | \"shield\" | \"shield-check\" | \"shield-lock\" | \"shield-off\" | \"shield-x\" | \"ship\" | \"ship-off\" | \"shopping-cart\" | \"sitemap\" | \"slash\" | \"smart-home\" | \"snowflake\" | \"solar-panel\" | \"sort-ascending-letters\" | \"sort-ascending-numbers\" | \"sort-descending-letters\" | \"sort-descending-numbers\" | \"spacing-horizontal\" | \"spacing-vertical\" | \"sparkles\" | \"speakerphone\" | \"stack\" | \"stairs\" | \"star\" | \"sun\" | \"sunrise\" | \"sunset\" | \"switch-horizontal\" | \"switch-vertical\" | \"table\" | \"tag\" | \"tank-empty-fill\" | \"tank-full-fill\" | \"tank-medium-fill\" | \"temperature\" | \"temperature-off\" | \"template\" | \"terminal\" | \"text\" | \"text-size\" | \"thumb-down\" | \"thumb-up\" | \"ticket\" | \"timeline\" | \"tir\" | \"tool\" | \"tools\" | \"train\" | \"trash\" | \"trash-off\" | \"tree\" | \"trees\" | \"truck\" | \"truck-delivery\" | \"umbrella\" | \"unlink\" | \"upload\" | \"user\" | \"user-circle\" | \"user-exclamation\" | \"user-minus\" | \"user-off\" | \"user-plus\" | \"user-worker\" | \"users\" | \"versions\" | \"video\" | \"video-minus\" | \"video-off\" | \"video-plus\" | \"volume\" | \"volume-2\" | \"volume-3\" | \"wallet\" | \"wand\" | \"wave\" | \"waves\" | \"wifi\" | \"wifi-off\" | \"wind\" | \"wind-direction\" | \"windmill\" | \"wood\" | \"world\" | \"world-code\" | \"writing\" | \"x\" | \"zoom-reset\"",
|
|
173
|
+
"references": {
|
|
174
|
+
"IconName": {
|
|
175
|
+
"location": "import",
|
|
176
|
+
"path": "../nv-icon/nv-icons",
|
|
177
|
+
"id": "src/components/nv-icon/nv-icons.ts::IconName",
|
|
178
|
+
"referenceLocation": "IconName"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
162
181
|
},
|
|
163
182
|
"required": false,
|
|
164
183
|
"optional": true,
|
|
165
184
|
"docs": {
|
|
166
|
-
"tags": [
|
|
185
|
+
"tags": [{
|
|
186
|
+
"name": "icon",
|
|
187
|
+
"text": undefined
|
|
188
|
+
}],
|
|
167
189
|
"text": "Sets the trailing icon for the primary button."
|
|
168
190
|
},
|
|
169
191
|
"getter": false,
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
1
2
|
const NvDrawerheaderDocs = {
|
|
2
3
|
component: 'nv-drawerheader',
|
|
3
|
-
|
|
4
|
+
parentGroup: 'Dialog/nv-drawer',
|
|
5
|
+
subcomponents: ['nv-drawer', 'nv-button', 'nv-icon'],
|
|
6
|
+
stories: [
|
|
7
|
+
{
|
|
8
|
+
name: 'Default',
|
|
9
|
+
template: (h("nv-drawer", { open: true }, h("nv-button", { slot: "trigger" }, "Open Drawer"), h("nv-drawerheader", { "data-storybook-args": true }, "Drawer Header"), h("p", null, "Drawer content"))),
|
|
10
|
+
},
|
|
11
|
+
],
|
|
4
12
|
};
|
|
5
13
|
export default NvDrawerheaderDocs;
|
|
@@ -19,7 +19,7 @@ export class NvDrawerheader {
|
|
|
19
19
|
/****************************************************************************/
|
|
20
20
|
//#region RENDER
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '7f7a5091089b48e34ca8161d37062a760d04cb04' }, h("slot", { key: '32a03c7930e82a38a3e26d6cd1726dd1ac9f246c' }, h(Fragment, { key: 'ef9d6e52ac2918691ec04df4cb7e7703d5e3d0ee' }, h("div", { key: '2a4c59cf0e68d17014b977dbcd15d7b76b63b396', class: "heading" }, this.heading), h("div", { key: '70820933a33c13e39db4bb3178d270ddb780afdf', class: "subheading" }, this.subheading)))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "nv-drawerheader"; }
|
|
25
25
|
static get originalStyleUrls() {
|
|
@@ -155,15 +155,15 @@ export class NvFieldcheckbox {
|
|
|
155
155
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
156
156
|
: undefined;
|
|
157
157
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: 'd7af71859fcbf45833c17977e7f524d12d7ec516', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("div", { key: 'c636a80f3d538843e76b48f4bc6387064fdbcb6f', class: "input-container" }, h("input", { key: 'd5ca4e3d2166b89cd92aecd2b393f03d0d78b769', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, tabindex: this.el.tabIndex, ...(ariaRequiredValue !== undefined && {
|
|
159
159
|
'aria-required': String(ariaRequiredValue),
|
|
160
160
|
}), indeterminate: this.indeterminate, ref: el => {
|
|
161
161
|
if (el) {
|
|
162
162
|
el.indeterminate = this.indeterminate;
|
|
163
163
|
}
|
|
164
|
-
} }), h("span", { key: '
|
|
165
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
166
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
164
|
+
} }), h("span", { key: 'b51e2d55382e69519d3764f4f9c7087ccfd24235', class: "icon" }, this.checked && !this.indeterminate && (h("slot", { key: 'cd70b0132a720ebf866fe21d1b53bbab89cda62f', name: "checked-icon" }, h("svg", { key: 'f1a9166fa75cbd37c2a0f1850b937de00f77a51e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '2886dee16859f19b7dc630a100cbfd110c2e9eb7', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h("slot", { key: '68eb14e2bbf5726a27023714f67de50d8e24ad83', name: "indeterminate-icon" }, h("svg", { key: '671dc1afed5b3b9d71efff519009c8384da49ec1', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '956838789fbac27422e0db8f13c4e2a8abc64c74', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("slot", { key: 'a93af1189444b1c96ea689eff29b7fa1e5b726c6' }), h("div", { key: '1bd695cb83a2010267d6ce1ce8dc6902dd62adf4', class: "text-container" }, h("slot", { key: 'b4e3088cf9469842b403d0eeb3122a85d08ce710', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'f5326d69a430d60577fac4cbb6229cd26292cb6f', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: '56e52bbf5e0fed0e49b255a23a1c7fdabf69df13', name: "label" }, this.label))), (this.description ||
|
|
165
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: 'ca56f06cc4c3493e27d31de804f695bbe8a77231', class: "description" }, h("slot", { key: '46bd6a8deed8dfa6390b0994776a5c31aca16fdf', name: "description" }, this.description)))), (this.errorDescription ||
|
|
166
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c1a5b14f4397a495e6ad340a6ae3a45e9f2c82fa', hidden: !this.error, class: "error-description" }, h("slot", { key: 'b8e10251f26ec1d541a1acad5d6bda0fc57b589d', name: "error-description" }, this.errorDescription))))));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "nv-fieldcheckbox"; }
|
|
169
169
|
static get formAssociated() { return true; }
|
|
@@ -404,15 +404,15 @@ export class NvFielddate {
|
|
|
404
404
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
405
405
|
: undefined;
|
|
406
406
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
407
|
-
return (h(Host, { key: '
|
|
408
|
-
this.el.querySelector('[slot="label"]')) && (h("label", { key: '
|
|
407
|
+
return (h(Host, { key: '373ddbc08a6b5d6ca6f2ac368f0ec84067539313' }, ((this.label && this.label.length > 0) ||
|
|
408
|
+
this.el.querySelector('[slot="label"]')) && (h("label", { key: '8373d2e38786f41bda23dd8fe9d345d24fb27710', htmlFor: this.inputId }, h("slot", { key: '8ded993892e5eef5caec76081eff5d3ed2db695a', name: "label" }, this.label))), h("nv-popover", { key: '0a394aab113c9a964f7495481d728416b1b7b041', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: 'ae7e1a4d7454b09969335a4772e77ba137a12389', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '7b744ada5b12dca2ffaca4690f27a9a77240ea55', name: "before-input" }), h("div", { key: '9eb02599b7d7b6ee1835756525d8646d8a50be73', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '882a358dd1f0865a0c46ca5d9c5f8fe4689de616', name: "leading-input" }), h("input", { key: '2f8603d625b8fbfe8a5287e5512fdb2b7309004b', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
|
|
409
409
|
this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
410
410
|
'aria-required': String(ariaRequiredValue),
|
|
411
|
-
}), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: '
|
|
411
|
+
}), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: 'ae611c7990a9ee817fcd8fec5c3c6068b995310d', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '3fa08699f440d9dcbd9612965a3f1cf88b17a83c', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'ee781c688e8bc62d17250dd4ec198e5706641cf7', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
412
412
|
,
|
|
413
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '
|
|
414
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
415
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
413
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: 'ab360fe2a6d5ceb48899ba05e404548995348e96', name: "after-input" })), h("div", { key: '8379e7defd054c642fe0d25cd8f3890c351811b1', slot: "content" }, h("nv-calendar", { key: '316df6f492d8d684ba91429fe5e499330329d0a7', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
|
|
414
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: '9bad6d56684e9fea1298b5338ed32c04f3ab364c', class: "description" }, h("slot", { key: '180f3d6aac34ed02bf7ac351319327d701d4a419', name: "description" }, this.description))), (this.errorDescription ||
|
|
415
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'b62cfbae2fec4d1e4c6d15f3bd3cf8e0936ec28f', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '6c4f47488a757c5808ed1bbe8bcedaa5dce60da2' })));
|
|
416
416
|
}
|
|
417
417
|
static get is() { return "nv-fielddate"; }
|
|
418
418
|
static get originalStyleUrls() {
|
|
@@ -560,16 +560,16 @@ export class NvFielddaterange {
|
|
|
560
560
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
561
561
|
: undefined;
|
|
562
562
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
563
|
-
return (h(Host, { key: '
|
|
564
|
-
this.el.querySelector('[slot="label"]')) && (h("label", { key: '
|
|
563
|
+
return (h(Host, { key: '659fbd943d7f088b0dde4ad6ae9eac2fd719d58d' }, ((this.label && this.label.length > 0) ||
|
|
564
|
+
this.el.querySelector('[slot="label"]')) && (h("label", { key: '5ec3a4df845c445ce2c4b45798677c9ba1c79f04', htmlFor: this.startInputId }, h("slot", { key: 'ac22f1a6d6f49a2feb2a92a1ff9045422785ef64', name: "label" }, this.label))), h("nv-popover", { key: 'd4ac345011bce61f263df887fa9eebc210659145', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '6f13372e3bea5b40ed7bc82ffea0fa4f85f6e450', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '4403b049058b231017eea3be6a1045312d805d75', name: "before-input" }), h("div", { key: 'df2603a90a1e7740311c8a4b1a85a051ed8efff0', class: "input-container" }, h("slot", { key: '37554324ba2bb1f25446c97db50546e0a33b5af8', name: "leading-input" }), h("div", { key: '0e99431473e98409bdf883acfd7e50823e6fc3c2', class: "range-inputs" }, h("input", { key: '7077a4a95fd264466c44f4f96fd9b6236887b731', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
|
|
565
565
|
this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
566
566
|
'aria-required': String(ariaRequiredValue),
|
|
567
|
-
}), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: '
|
|
567
|
+
}), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: '8f84668eb682306ff6751044fb715dfbccc38e6b', class: "range-separator" }), h("input", { key: '1e7045f9501a04e14d4f726171abd07cbce0e004', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
|
|
568
568
|
this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
569
569
|
'aria-required': String(ariaRequiredValue),
|
|
570
|
-
}), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: '
|
|
571
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
572
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
570
|
+
}), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: 'a82a7ea123f900eda3eb82cb1a70796ffc0248da', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '176e92373cb84d7cd873637818eba98b51a69646', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'd7069a77fa7fdca3b8202fed9fdfe8af082fdaf6', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '1ef543db2799a3242ed0a9ef8a5058b002fb885b', name: "after-input" })), h("div", { key: 'b47f6bbc98772ba7b0aa680737bf278b716aa237', slot: "content" }, h("nv-calendar", { key: '6008dda7daff3c40f20475996f8215ae8b6c457a', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
|
|
571
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: 'bd3c9e7650cea0ae6e30418c1ed15e2e21241576', class: "description" }, h("slot", { key: 'c87eb17e1b5624c7d3b5b31644919c4a473ea135', name: "description" }, this.description))), (this.errorDescription ||
|
|
572
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'e9cb169a418080a3c374f5d36fdc7c09845a52f6', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: 'ea7d3580a7007bcdc85eb096ccdbf683d7a1d906' })));
|
|
573
573
|
}
|
|
574
574
|
static get is() { return "nv-fielddaterange"; }
|
|
575
575
|
static get originalStyleUrls() {
|
|
@@ -237,6 +237,9 @@ nv-fielddaterange .error-description {
|
|
|
237
237
|
line-height: var(--form-description-line-height);
|
|
238
238
|
color: var(--components-form-text-description-error);
|
|
239
239
|
}
|
|
240
|
+
nv-fielddaterange .error-description[hidden] {
|
|
241
|
+
display: none;
|
|
242
|
+
}
|
|
240
243
|
nv-fielddaterange .range-inputs {
|
|
241
244
|
display: flex;
|
|
242
245
|
align-items: center;
|