@nova-design-system/nova-webcomponents 3.0.0-beta.36 → 3.0.0-beta.37
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/blazor-docs.json +6242 -4908
- package/dist/cjs/{app-globals-6b0931bc.js → app-globals-bd4d701e.js} +2 -2
- package/dist/cjs/{app-globals-6b0931bc.js.map → app-globals-bd4d701e.js.map} +1 -1
- package/dist/cjs/{constants-9525a915.js → constants-69b40456.js} +15 -8
- package/dist/cjs/constants-69b40456.js.map +1 -0
- package/dist/cjs/events.utils-52846a7d.js +32 -0
- package/dist/cjs/events.utils-52846a7d.js.map +1 -0
- package/dist/cjs/{grow.animation-46e7ae4b.js → grow.animation-a1f0bc22.js} +1 -29
- package/dist/cjs/grow.animation-a1f0bc22.js.map +1 -0
- package/dist/cjs/{index-ddc37f87.js → index-5910ba06.js} +75 -18
- package/dist/{native/p-9b093b92.js.map → cjs/index-5910ba06.js.map} +1 -1
- package/dist/cjs/index.cjs.js +6 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/native.cjs.js +3 -3
- package/dist/cjs/nv-alert.cjs.entry.js +3 -3
- package/dist/cjs/nv-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +2 -2
- package/dist/cjs/nv-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-base.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +24 -4
- package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +3 -3
- package/dist/cjs/nv-datagridbody.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagriddatacell.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagridhead.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagridrow.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialog.cjs.entry.js +758 -0
- package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +132 -0
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +34 -25
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +52 -15
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +6 -3
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +12 -12
- package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldradio.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldradio.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldselect.cjs.entry.js +49 -18
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtext.cjs.entry.js +8 -5
- package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +13 -13
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtime.cjs.entry.js +994 -0
- package/dist/cjs/nv-fieldtime.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-iconbutton.cjs.entry.js +125 -0
- package/dist/cjs/nv-iconbutton.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-loader.cjs.entry.js +35 -0
- package/dist/cjs/nv-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-menu.cjs.entry.js +66 -7
- package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +11 -22
- package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-row.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-tablebody.cjs.entry.js +2 -2
- package/dist/cjs/nv-tablecolumn.cjs.entry.js +2 -2
- package/dist/cjs/nv-tabledatacell.cjs.entry.js +2 -2
- package/dist/cjs/nv-tablehead.cjs.entry.js +2 -2
- package/dist/cjs/nv-tablerow.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +82 -0
- package/dist/cjs/nv-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/string.utils-9c581350.js +25 -0
- package/dist/cjs/string.utils-9c581350.js.map +1 -0
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/nv-alert/nv-alert.css +5 -5
- package/dist/collection/components/nv-badge/nv-badge.css +10 -10
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +57 -4
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +2 -2
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js.map +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.css +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +4 -14
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js.map +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.docs.js +6 -1
- package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -1
- package/dist/collection/components/nv-button/nv-button.js +56 -1
- package/dist/collection/components/nv-button/nv-button.js.map +1 -1
- package/dist/collection/components/nv-button/styles/nv-button.css +50 -10
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +1 -0
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.js +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.js +1 -1
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.js +1 -1
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.css +43 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +79 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -0
- package/dist/collection/components/nv-dialog/nv-dialog.js +510 -0
- package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -0
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.css +8 -0
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +6 -0
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js.map +1 -0
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +267 -0
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js.map +1 -0
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.css +25 -0
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +6 -0
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js.map +1 -0
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +87 -0
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js.map +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +45 -30
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +28 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +87 -22
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +7 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +15 -6
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +15 -14
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +13 -13
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.css +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +6 -6
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +30 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +72 -19
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +10 -7
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +14 -14
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.css +261 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +110 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +1366 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js.map +1 -0
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.css +4 -4
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js +61 -0
- package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +92 -6
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.docs.js +9 -9
- package/dist/collection/components/nv-popover/nv-popover.docs.js.map +1 -1
- package/dist/collection/components/nv-popover/nv-popover.js +2 -14
- package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- 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.docs.js.map +1 -1
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- package/dist/collection/components/nv-tablebody/nv-tablebody.js +1 -1
- package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.js +1 -1
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.js +1 -1
- package/dist/collection/components/nv-tablehead/nv-tablehead.js +1 -1
- package/dist/collection/components/nv-tablerow/nv-tablerow.js +1 -1
- package/dist/collection/components/{nv-fieldtoggle/nv-fieldtoggle.css → nv-toggle/nv-toggle.css} +22 -22
- package/dist/collection/components/{nv-fieldtoggle/nv-fieldtoggle.docs.js → nv-toggle/nv-toggle.docs.js} +14 -14
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js.map +1 -0
- package/dist/collection/components/{nv-fieldtoggle/nv-fieldtoggle.js → nv-toggle/nv-toggle.js} +11 -10
- package/dist/collection/components/nv-toggle/nv-toggle.js.map +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/dev/dev-components.js +1 -1
- package/dist/collection/dev/dev-components.js.map +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/templates/navigation.docs.js +12 -2
- package/dist/collection/templates/navigation.docs.js.map +1 -1
- package/dist/collection/utils/constants.js +11 -5
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/string.utils.js +14 -0
- package/dist/collection/utils/string.utils.js.map +1 -0
- package/dist/components/index.js +5 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-alert.js +4 -4
- package/dist/components/nv-alert.js.map +1 -1
- package/dist/components/nv-avatar.js +3 -3
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-base.js +1 -1
- package/dist/components/nv-breadcrumb.js +7 -12
- package/dist/components/nv-breadcrumb.js.map +1 -1
- package/dist/components/nv-breadcrumbs.js +3 -3
- package/dist/components/nv-breadcrumbs.js.map +1 -1
- package/dist/components/nv-button.js +1 -141
- package/dist/components/nv-button.js.map +1 -1
- package/dist/components/nv-col.js +2 -2
- package/dist/components/nv-datagrid.js +3 -3
- package/dist/components/nv-datagridbody.js +2 -2
- package/dist/components/nv-datagridcolumn.js +2 -2
- package/dist/components/nv-datagriddatacell.js +2 -2
- package/dist/components/nv-datagridhead.js +2 -2
- package/dist/components/nv-datagridrow.js +2 -2
- package/dist/components/{nv-fieldtoggle.d.ts → nv-dialog.d.ts} +4 -4
- package/dist/components/nv-dialog.js +816 -0
- package/dist/components/nv-dialog.js.map +1 -0
- package/dist/components/nv-dialogfooter.d.ts +11 -0
- package/dist/components/nv-dialogfooter.js +8 -0
- package/dist/components/nv-dialogfooter.js.map +1 -0
- package/dist/components/nv-dialogheader.d.ts +11 -0
- package/dist/components/nv-dialogheader.js +8 -0
- package/dist/components/nv-dialogheader.js.map +1 -0
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddropdown.js +61 -21
- package/dist/components/nv-fielddropdown.js.map +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +14 -11
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +13 -13
- package/dist/components/nv-fieldnumber.js.map +1 -1
- package/dist/components/nv-fieldpassword.js +7 -7
- package/dist/components/nv-fieldradio.js +5 -5
- package/dist/components/nv-fieldradio.js.map +1 -1
- package/dist/components/nv-fieldselect.js +55 -21
- package/dist/components/nv-fieldselect.js.map +1 -1
- package/dist/components/nv-fieldtext.js +9 -6
- package/dist/components/nv-fieldtext.js.map +1 -1
- package/dist/components/nv-fieldtextarea.js +13 -13
- package/dist/components/nv-fieldtextarea.js.map +1 -1
- package/dist/components/nv-fieldtime.d.ts +11 -0
- package/dist/components/nv-fieldtime.js +1054 -0
- package/dist/components/nv-fieldtime.js.map +1 -0
- 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 +90 -10
- package/dist/components/nv-menu.js.map +1 -1
- package/dist/components/nv-menuitem.js +1 -80
- package/dist/components/nv-menuitem.js.map +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +2 -2
- package/dist/components/nv-stack.js +2 -2
- package/dist/components/nv-table.js +3 -3
- package/dist/components/nv-tablebody.js +2 -2
- package/dist/components/nv-tablecolumn.js +2 -2
- package/dist/components/nv-tabledatacell.js +2 -2
- package/dist/components/nv-tablehead.js +2 -2
- package/dist/components/nv-tablerow.js +2 -2
- package/dist/components/nv-toggle.d.ts +11 -0
- package/dist/components/nv-toggle.js +109 -0
- package/dist/components/nv-toggle.js.map +1 -0
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-7a19fef7.js → p-11fcdad9.js} +4 -4
- package/dist/components/{p-7a19fef7.js.map → p-11fcdad9.js.map} +1 -1
- package/dist/components/{p-7c0db67e.js → p-16badb3b.js} +4 -4
- package/dist/components/{p-7c0db67e.js.map → p-16badb3b.js.map} +1 -1
- package/dist/components/{p-3a65a05e.js → p-17714233.js} +40 -28
- package/dist/components/p-17714233.js.map +1 -0
- package/dist/components/{p-0b30dd1b.js → p-18d221e3.js} +3 -3
- package/dist/components/{p-0b30dd1b.js.map → p-18d221e3.js.map} +1 -1
- package/dist/components/p-2768d2c0.js +57 -0
- package/dist/components/p-2768d2c0.js.map +1 -0
- package/dist/components/p-2baea6ba.js +84 -0
- package/dist/components/p-2baea6ba.js.map +1 -0
- package/dist/components/{p-63afc71f.js → p-3859dc5c.js} +4 -4
- package/dist/components/{p-63afc71f.js.map → p-3859dc5c.js.map} +1 -1
- package/dist/components/{p-2abfadb8.js → p-4938572a.js} +4 -4
- package/dist/components/{p-2abfadb8.js.map → p-4938572a.js.map} +1 -1
- package/dist/components/{p-74407727.js → p-56f71851.js} +16 -9
- package/dist/components/p-56f71851.js.map +1 -0
- package/dist/components/{p-3b209e94.js → p-77d0fedc.js} +43 -3
- package/dist/components/p-77d0fedc.js.map +1 -0
- package/dist/components/p-91bf0cb6.js +166 -0
- package/dist/components/p-91bf0cb6.js.map +1 -0
- package/dist/components/{p-afa1c98e.js → p-98ff0e5f.js} +37 -28
- package/dist/components/p-98ff0e5f.js.map +1 -0
- package/dist/components/{p-5b98036c.js → p-a01bdf02.js} +4 -4
- package/dist/components/{p-5b98036c.js.map → p-a01bdf02.js.map} +1 -1
- package/dist/components/p-a5c8eee9.js +22 -0
- package/dist/components/p-a5c8eee9.js.map +1 -0
- package/dist/components/{p-78e7c594.js → p-a9a52105.js} +6 -17
- package/dist/components/p-a9a52105.js.map +1 -0
- package/dist/components/p-d429a343.js +28 -0
- package/dist/components/p-d429a343.js.map +1 -0
- package/dist/components/p-de8411ee.js +128 -0
- package/dist/components/p-de8411ee.js.map +1 -0
- package/dist/components/{p-d3b1c116.js → p-e431a0ad.js} +6 -6
- package/dist/components/{p-d3b1c116.js.map → p-e431a0ad.js.map} +1 -1
- package/dist/docs.json +2211 -911
- package/dist/esm/{app-globals-246d6b7c.js → app-globals-0a94217b.js} +2 -2
- package/dist/esm/{app-globals-246d6b7c.js.map → app-globals-0a94217b.js.map} +1 -1
- package/dist/esm/{constants-7b642e1d.js → constants-0181211f.js} +16 -9
- package/dist/esm/constants-0181211f.js.map +1 -0
- package/dist/esm/events.utils-fe1d907f.js +28 -0
- package/dist/esm/events.utils-fe1d907f.js.map +1 -0
- package/dist/esm/{grow.animation-88a8ee8f.js → grow.animation-cac164da.js} +2 -27
- package/dist/esm/grow.animation-cac164da.js.map +1 -0
- package/dist/esm/{index-cd557d0a.js → index-fac2d5d2.js} +75 -19
- package/dist/esm/index-fac2d5d2.js.map +1 -0
- package/dist/esm/index.js +4 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/native.js +4 -4
- package/dist/esm/nv-alert.entry.js +3 -3
- package/dist/esm/nv-alert.entry.js.map +1 -1
- package/dist/esm/nv-avatar.entry.js +2 -2
- package/dist/esm/nv-badge_2.entry.js +3 -3
- package/dist/esm/nv-badge_2.entry.js.map +1 -1
- package/dist/esm/nv-base.entry.js +1 -1
- package/dist/esm/nv-breadcrumb.entry.js +4 -3
- package/dist/esm/nv-breadcrumb.entry.js.map +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +3 -3
- package/dist/esm/nv-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/nv-button.entry.js +24 -4
- package/dist/esm/nv-button.entry.js.map +1 -1
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +3 -3
- package/dist/esm/nv-datagridbody.entry.js +2 -2
- package/dist/esm/nv-datagridcolumn.entry.js +2 -2
- package/dist/esm/nv-datagriddatacell.entry.js +2 -2
- package/dist/esm/nv-datagridhead.entry.js +2 -2
- package/dist/esm/nv-datagridrow.entry.js +2 -2
- package/dist/esm/nv-dialog.entry.js +754 -0
- package/dist/esm/nv-dialog.entry.js.map +1 -0
- package/dist/esm/nv-dialogfooter_2.entry.js +127 -0
- package/dist/esm/nv-dialogfooter_2.entry.js.map +1 -0
- package/dist/esm/nv-fieldcheckbox.entry.js +34 -25
- package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +52 -15
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +6 -3
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +12 -12
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
- package/dist/esm/nv-fieldpassword.entry.js +4 -4
- package/dist/esm/nv-fieldradio.entry.js +5 -5
- package/dist/esm/nv-fieldradio.entry.js.map +1 -1
- package/dist/esm/nv-fieldselect.entry.js +49 -18
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldtext.entry.js +8 -5
- package/dist/esm/nv-fieldtext.entry.js.map +1 -1
- package/dist/esm/nv-fieldtextarea.entry.js +13 -13
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
- package/dist/esm/nv-fieldtime.entry.js +990 -0
- package/dist/esm/nv-fieldtime.entry.js.map +1 -0
- package/dist/esm/nv-icon.entry.js +3 -3
- package/dist/esm/nv-iconbutton.entry.js +121 -0
- package/dist/esm/nv-iconbutton.entry.js.map +1 -0
- package/dist/esm/nv-loader.entry.js +31 -0
- package/dist/esm/nv-loader.entry.js.map +1 -0
- package/dist/esm/nv-menu.entry.js +66 -7
- package/dist/esm/nv-menu.entry.js.map +1 -1
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +5 -16
- package/dist/esm/nv-popover.entry.js.map +1 -1
- package/dist/esm/nv-row.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-tablebody.entry.js +2 -2
- package/dist/esm/nv-tablecolumn.entry.js +2 -2
- package/dist/esm/nv-tabledatacell.entry.js +2 -2
- package/dist/esm/nv-tablehead.entry.js +2 -2
- package/dist/esm/nv-tablerow.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +78 -0
- package/dist/esm/nv-toggle.entry.js.map +1 -0
- package/dist/esm/nv-tooltip.entry.js +2 -2
- package/dist/esm/string.utils-16aed4a7.js +22 -0
- package/dist/esm/string.utils-16aed4a7.js.map +1 -0
- package/dist/native/index.esm.js +1 -1
- package/dist/native/index.esm.js.map +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/native.esm.js.map +1 -1
- package/dist/native/p-02bb8184.entry.js +2 -0
- package/dist/native/p-0bf35abc.entry.js +2 -0
- package/dist/native/p-0bf35abc.entry.js.map +1 -0
- package/dist/native/p-10ba289c.entry.js +2 -0
- package/dist/native/{p-826f1d28.entry.js → p-208accf0.entry.js} +2 -2
- package/dist/native/p-208accf0.entry.js.map +1 -0
- package/dist/native/p-211f7b19.entry.js +2 -0
- package/dist/native/p-211f7b19.entry.js.map +1 -0
- package/dist/native/p-2aebf31b.entry.js +2 -0
- package/dist/native/p-3a8a9371.entry.js +2 -0
- package/dist/native/p-3a8a9371.entry.js.map +1 -0
- package/dist/native/{p-6bb2c88f.entry.js → p-3c004551.entry.js} +2 -2
- package/dist/native/p-3c004551.entry.js.map +1 -0
- package/dist/native/p-46553ffd.entry.js +2 -0
- package/dist/native/p-46553ffd.entry.js.map +1 -0
- package/dist/native/{p-f7db0785.entry.js → p-4d0caf4a.entry.js} +3 -3
- package/dist/native/p-4f11286d.entry.js +2 -0
- package/dist/native/{p-40f4828a.entry.js.map → p-4f11286d.entry.js.map} +1 -1
- package/dist/native/p-51ad8bcd.entry.js +2 -0
- package/dist/native/p-51ad8bcd.entry.js.map +1 -0
- package/dist/native/p-5439afb8.js +3 -0
- package/dist/native/p-5439afb8.js.map +1 -0
- package/dist/native/{p-74407727.js → p-56f71851.js} +2 -2
- package/dist/native/p-56f71851.js.map +1 -0
- package/dist/native/p-5f1a7e6e.entry.js +2 -0
- package/dist/native/p-5f1a7e6e.entry.js.map +1 -0
- package/dist/native/{p-575ea40b.entry.js → p-61d2cb2e.entry.js} +2 -2
- package/dist/native/{p-cd251f91.entry.js → p-6d68f133.entry.js} +2 -2
- package/dist/native/p-724ed8d7.entry.js +7 -0
- package/dist/native/p-724ed8d7.entry.js.map +1 -0
- package/dist/native/{p-e5fbe545.entry.js → p-75b1ea9f.entry.js} +2 -2
- package/dist/native/p-87083363.entry.js +2 -0
- package/dist/native/p-87083363.entry.js.map +1 -0
- package/dist/native/p-892052c2.entry.js +2 -0
- package/dist/native/p-8c1a6aa6.entry.js +2 -0
- package/dist/native/p-8c1a6aa6.entry.js.map +1 -0
- package/dist/native/p-8ee30013.entry.js +2 -0
- package/dist/native/{p-9341cf9d.entry.js.map → p-8ee30013.entry.js.map} +1 -1
- package/dist/native/{p-788712dd.entry.js → p-96902bb3.entry.js} +2 -2
- package/dist/native/p-99e7a452.entry.js +2 -0
- package/dist/native/p-99e7a452.entry.js.map +1 -0
- package/dist/native/p-9ac790b3.entry.js +2 -0
- package/dist/native/{p-18b227b5.entry.js.map → p-9ac790b3.entry.js.map} +1 -1
- package/dist/native/{p-3283505f.entry.js → p-9fb5db20.entry.js} +2 -2
- package/dist/native/p-a5c8eee9.js +2 -0
- package/dist/native/p-a5c8eee9.js.map +1 -0
- package/dist/native/{p-552e7ea4.entry.js → p-a998f8df.entry.js} +2 -2
- package/dist/native/p-aa2834e2.entry.js +2 -0
- package/dist/native/p-ab5a8ce5.entry.js +2 -0
- package/dist/native/p-beab7cbd.entry.js +2 -0
- package/dist/native/p-bfeda21c.entry.js +2 -0
- package/dist/native/p-bfeda21c.entry.js.map +1 -0
- package/dist/native/p-c1765831.js +2 -0
- package/dist/native/p-c1765831.js.map +1 -0
- package/dist/native/{p-7dfb4a60.entry.js → p-c51ee6dc.entry.js} +2 -2
- package/dist/native/p-c51ee6dc.entry.js.map +1 -0
- package/dist/native/{p-2063c768.entry.js → p-d24586ed.entry.js} +2 -2
- package/dist/native/p-d429a343.js +2 -0
- package/dist/native/p-d429a343.js.map +1 -0
- package/dist/native/{p-1e2bd4e3.entry.js → p-d4e56727.entry.js} +2 -2
- package/dist/native/p-d67b7502.entry.js +2 -0
- package/dist/native/p-d67b7502.entry.js.map +1 -0
- package/dist/native/p-d776ed48.entry.js +2 -0
- package/dist/native/p-d776ed48.entry.js.map +1 -0
- package/dist/native/p-dc9dd5a7.entry.js +2 -0
- package/dist/native/p-e192c25c.entry.js +2 -0
- package/dist/native/p-e192c25c.entry.js.map +1 -0
- package/dist/native/p-e3827605.entry.js +2 -0
- package/dist/native/{p-5d0dc7c8.entry.js.map → p-e3827605.entry.js.map} +1 -1
- package/dist/native/p-e5a7596b.entry.js +2 -0
- package/dist/native/p-e6f45df2.entry.js +2 -0
- package/dist/native/p-ed47a702.entry.js +2 -0
- package/dist/native/p-f30ce086.entry.js +2 -0
- package/dist/native/{p-eda8cd9d.entry.js.map → p-f30ce086.entry.js.map} +1 -1
- package/dist/native/p-f3fbdea6.js +2 -0
- package/dist/native/{p-f79752ca.entry.js → p-fd2955dd.entry.js} +2 -2
- package/dist/native/p-fd2955dd.entry.js.map +1 -0
- package/dist/types/components/nv-breadcrumb/nv-breadcrumb.d.ts +0 -1
- package/dist/types/components/nv-button/nv-button.d.ts +8 -0
- package/dist/types/components/nv-dialog/nv-dialog.d.ts +124 -0
- package/dist/types/components/nv-dialog/nv-dialog.docs.d.ts +4 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +63 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.docs.d.ts +4 -0
- package/dist/types/components/nv-dialogheader/nv-dialogheader.d.ts +20 -0
- package/dist/types/components/nv-dialogheader/nv-dialogheader.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.d.ts +14 -10
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +34 -10
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +6 -2
- package/dist/types/components/nv-fieldnumber/nv-fieldnumber.d.ts +4 -4
- package/dist/types/components/nv-fieldradio/nv-fieldradio.d.ts +2 -2
- package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +20 -6
- package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +5 -4
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +3 -3
- package/dist/types/components/nv-fieldtime/nv-fieldtime.d.ts +156 -0
- package/dist/types/components/nv-fieldtime/nv-fieldtime.docs.d.ts +4 -0
- package/dist/types/components/nv-menu/nv-menu.d.ts +20 -0
- package/dist/types/components/{nv-fieldtoggle/nv-fieldtoggle.d.ts → nv-toggle/nv-toggle.d.ts} +4 -4
- package/dist/types/components/nv-toggle/nv-toggle.docs.d.ts +4 -0
- package/dist/types/components.d.ts +519 -98
- package/dist/types/index.d.ts +1 -0
- package/dist/types/nova-docs.d.ts +19 -0
- package/dist/types/utils/constants.d.ts +6 -1
- package/dist/types/utils/string.utils.d.ts +9 -0
- package/dist/vscode-data.json +230 -34
- package/hydrate/index.js +2609 -442
- package/hydrate/index.mjs +2609 -442
- package/package.json +21 -9
- package/dist/cjs/constants-9525a915.js.map +0 -1
- package/dist/cjs/grow.animation-46e7ae4b.js.map +0 -1
- package/dist/cjs/index-ddc37f87.js.map +0 -1
- package/dist/cjs/nv-fieldtoggle.cjs.entry.js +0 -81
- package/dist/cjs/nv-fieldtoggle.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +0 -151
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js.map +0 -1
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.docs.js.map +0 -1
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js.map +0 -1
- package/dist/components/nv-fieldtoggle.js +0 -108
- package/dist/components/nv-fieldtoggle.js.map +0 -1
- package/dist/components/p-3a65a05e.js.map +0 -1
- package/dist/components/p-3b209e94.js.map +0 -1
- package/dist/components/p-74407727.js.map +0 -1
- package/dist/components/p-78e7c594.js.map +0 -1
- package/dist/components/p-afa1c98e.js.map +0 -1
- package/dist/esm/constants-7b642e1d.js.map +0 -1
- package/dist/esm/grow.animation-88a8ee8f.js.map +0 -1
- package/dist/esm/index-cd557d0a.js.map +0 -1
- package/dist/esm/nv-fieldtoggle.entry.js +0 -77
- package/dist/esm/nv-fieldtoggle.entry.js.map +0 -1
- package/dist/esm/nv-iconbutton_2.entry.js +0 -146
- package/dist/esm/nv-iconbutton_2.entry.js.map +0 -1
- package/dist/native/p-0a9a738c.entry.js +0 -2
- package/dist/native/p-0a9a738c.entry.js.map +0 -1
- package/dist/native/p-0f9262ed.entry.js +0 -2
- package/dist/native/p-18b227b5.entry.js +0 -2
- package/dist/native/p-225962f2.entry.js +0 -2
- package/dist/native/p-2ac838b8.entry.js +0 -2
- package/dist/native/p-38d3eee3.js +0 -2
- package/dist/native/p-3adf0c45.entry.js +0 -2
- package/dist/native/p-3adf0c45.entry.js.map +0 -1
- package/dist/native/p-40f4828a.entry.js +0 -2
- package/dist/native/p-44cc8b59.entry.js +0 -2
- package/dist/native/p-44cc8b59.entry.js.map +0 -1
- package/dist/native/p-4e056cd8.entry.js +0 -2
- package/dist/native/p-4e056cd8.entry.js.map +0 -1
- package/dist/native/p-4f30312d.entry.js +0 -2
- package/dist/native/p-4f30312d.entry.js.map +0 -1
- package/dist/native/p-4ffd5c51.entry.js +0 -2
- package/dist/native/p-52a7f936.entry.js +0 -2
- package/dist/native/p-5d0dc7c8.entry.js +0 -2
- package/dist/native/p-5e467b49.entry.js +0 -2
- package/dist/native/p-5f160072.entry.js +0 -2
- package/dist/native/p-6bb2c88f.entry.js.map +0 -1
- package/dist/native/p-6ea62d17.entry.js +0 -2
- package/dist/native/p-6ea62d17.entry.js.map +0 -1
- package/dist/native/p-74407727.js.map +0 -1
- package/dist/native/p-7dfb4a60.entry.js.map +0 -1
- package/dist/native/p-826f1d28.entry.js.map +0 -1
- package/dist/native/p-87b93cc2.entry.js +0 -2
- package/dist/native/p-8ae9aaf1.entry.js +0 -2
- package/dist/native/p-8f0984b0.entry.js +0 -2
- package/dist/native/p-8f0984b0.entry.js.map +0 -1
- package/dist/native/p-9341cf9d.entry.js +0 -2
- package/dist/native/p-967f1aee.entry.js +0 -2
- package/dist/native/p-967f1aee.entry.js.map +0 -1
- package/dist/native/p-9b093b92.js +0 -3
- package/dist/native/p-a37c2ac2.js +0 -2
- package/dist/native/p-a37c2ac2.js.map +0 -1
- package/dist/native/p-e8d181e6.entry.js +0 -2
- package/dist/native/p-eade52d4.entry.js +0 -2
- package/dist/native/p-eade52d4.entry.js.map +0 -1
- package/dist/native/p-ed825c80.entry.js +0 -2
- package/dist/native/p-ed825c80.entry.js.map +0 -1
- package/dist/native/p-eda8cd9d.entry.js +0 -2
- package/dist/native/p-f79752ca.entry.js.map +0 -1
- package/dist/native/p-fc8cad13.entry.js +0 -2
- package/dist/types/components/nv-fieldtoggle/nv-fieldtoggle.docs.d.ts +0 -4
- /package/dist/native/{p-e8d181e6.entry.js.map → p-02bb8184.entry.js.map} +0 -0
- /package/dist/native/{p-4ffd5c51.entry.js.map → p-10ba289c.entry.js.map} +0 -0
- /package/dist/native/{p-52a7f936.entry.js.map → p-2aebf31b.entry.js.map} +0 -0
- /package/dist/native/{p-f7db0785.entry.js.map → p-4d0caf4a.entry.js.map} +0 -0
- /package/dist/native/{p-575ea40b.entry.js.map → p-61d2cb2e.entry.js.map} +0 -0
- /package/dist/native/{p-cd251f91.entry.js.map → p-6d68f133.entry.js.map} +0 -0
- /package/dist/native/{p-e5fbe545.entry.js.map → p-75b1ea9f.entry.js.map} +0 -0
- /package/dist/native/{p-fc8cad13.entry.js.map → p-892052c2.entry.js.map} +0 -0
- /package/dist/native/{p-788712dd.entry.js.map → p-96902bb3.entry.js.map} +0 -0
- /package/dist/native/{p-3283505f.entry.js.map → p-9fb5db20.entry.js.map} +0 -0
- /package/dist/native/{p-552e7ea4.entry.js.map → p-a998f8df.entry.js.map} +0 -0
- /package/dist/native/{p-5f160072.entry.js.map → p-aa2834e2.entry.js.map} +0 -0
- /package/dist/native/{p-225962f2.entry.js.map → p-ab5a8ce5.entry.js.map} +0 -0
- /package/dist/native/{p-2ac838b8.entry.js.map → p-beab7cbd.entry.js.map} +0 -0
- /package/dist/native/{p-2063c768.entry.js.map → p-d24586ed.entry.js.map} +0 -0
- /package/dist/native/{p-1e2bd4e3.entry.js.map → p-d4e56727.entry.js.map} +0 -0
- /package/dist/native/{p-5e467b49.entry.js.map → p-dc9dd5a7.entry.js.map} +0 -0
- /package/dist/native/{p-0f9262ed.entry.js.map → p-e5a7596b.entry.js.map} +0 -0
- /package/dist/native/{p-87b93cc2.entry.js.map → p-e6f45df2.entry.js.map} +0 -0
- /package/dist/native/{p-8ae9aaf1.entry.js.map → p-ed47a702.entry.js.map} +0 -0
- /package/dist/native/{p-38d3eee3.js.map → p-f3fbdea6.js.map} +0 -0
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors,
|
|
8
|
+
import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
|
|
9
9
|
import { Column } from "./interfaces/Column";
|
|
10
|
+
import { Element } from "./stencil-public-runtime";
|
|
10
11
|
import { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
|
|
11
12
|
import { IconName } from "./components/nv-icon/nv-icons";
|
|
12
13
|
import { Placement } from "@floating-ui/dom";
|
|
13
14
|
import { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
|
|
14
15
|
import { MenuitemSelectedEventDetail as MenuitemSelectedEventDetail1 } from "./components/nv-menuitem/nv-menuitem";
|
|
15
|
-
|
|
16
|
-
export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, IconButtonShape, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
|
|
16
|
+
export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
|
|
17
17
|
export { Column } from "./interfaces/Column";
|
|
18
|
+
export { Element } from "./stencil-public-runtime";
|
|
18
19
|
export { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
|
|
19
20
|
export { IconName } from "./components/nv-icon/nv-icons";
|
|
20
21
|
export { Placement } from "@floating-ui/dom";
|
|
21
22
|
export { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
|
|
22
23
|
export { MenuitemSelectedEventDetail as MenuitemSelectedEventDetail1 } from "./components/nv-menuitem/nv-menuitem";
|
|
23
|
-
export { Element } from "./stencil-public-runtime";
|
|
24
24
|
export namespace Components {
|
|
25
25
|
interface NvAlert {
|
|
26
26
|
/**
|
|
@@ -177,6 +177,10 @@ export namespace Components {
|
|
|
177
177
|
interface NvBreadcrumbs {
|
|
178
178
|
}
|
|
179
179
|
interface NvButton {
|
|
180
|
+
/**
|
|
181
|
+
* Use this prop to highlight the button when it represents the current page or active selection. This helps users understand their navigation context.
|
|
182
|
+
*/
|
|
183
|
+
"active": boolean;
|
|
180
184
|
/**
|
|
181
185
|
* Applies styling that visually indicates the button represents a dangerous action.
|
|
182
186
|
*/
|
|
@@ -272,6 +276,83 @@ export namespace Components {
|
|
|
272
276
|
}
|
|
273
277
|
interface NvDatagridrow {
|
|
274
278
|
}
|
|
279
|
+
interface NvDialog {
|
|
280
|
+
/**
|
|
281
|
+
* If true, the dialog will be closed when the backdrop is clicked.
|
|
282
|
+
*/
|
|
283
|
+
"clickOutside": boolean;
|
|
284
|
+
/**
|
|
285
|
+
* If true, the dialog visibility is managed manually through methods or the open prop.
|
|
286
|
+
*/
|
|
287
|
+
"controlled": boolean;
|
|
288
|
+
"footerElement": Element;
|
|
289
|
+
/**
|
|
290
|
+
* If true, the dialog takes full width styling.
|
|
291
|
+
*/
|
|
292
|
+
"full": boolean;
|
|
293
|
+
"headerElement": Element;
|
|
294
|
+
/**
|
|
295
|
+
* Call this method to hide the dialog, making it disappear from view.
|
|
296
|
+
*/
|
|
297
|
+
"hide": () => Promise<void>;
|
|
298
|
+
/**
|
|
299
|
+
* Controls the dialog's autofocus behavior. When false (default), the dialog will automatically focus the first focusable element. When true, automatic focus is disabled and you must manually set focus on an element for accessibility compliance.
|
|
300
|
+
*/
|
|
301
|
+
"manualFocus": boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Use this prop to toggle the visibility of the dialog. Set to true to show the dialog and false to hide it.
|
|
304
|
+
*/
|
|
305
|
+
"open": boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Call this method to show the dialog, making it visible on the screen.
|
|
308
|
+
*/
|
|
309
|
+
"show": () => Promise<void>;
|
|
310
|
+
"triggerElement": Element;
|
|
311
|
+
/**
|
|
312
|
+
* If true, the dialog cannot be closed by the user.
|
|
313
|
+
*/
|
|
314
|
+
"undismissable": boolean;
|
|
315
|
+
}
|
|
316
|
+
interface NvDialogfooter {
|
|
317
|
+
/**
|
|
318
|
+
* Sets the label for the cancel button.
|
|
319
|
+
*/
|
|
320
|
+
"cancelLabel": string;
|
|
321
|
+
/**
|
|
322
|
+
* Sets the danger state for the submit button.
|
|
323
|
+
*/
|
|
324
|
+
"danger": boolean;
|
|
325
|
+
/**
|
|
326
|
+
* Disables the confirm button, preventing user interaction.
|
|
327
|
+
*/
|
|
328
|
+
"disabled": boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Sets the leading icon for the submit button.
|
|
331
|
+
*/
|
|
332
|
+
"leadingIcon": string;
|
|
333
|
+
/**
|
|
334
|
+
* Sets the label for the submit button.
|
|
335
|
+
*/
|
|
336
|
+
"submitLabel": string;
|
|
337
|
+
/**
|
|
338
|
+
* Sets the trailing icon for the submit button.
|
|
339
|
+
*/
|
|
340
|
+
"trailingIcon": string;
|
|
341
|
+
/**
|
|
342
|
+
* Controls the visibility of the cancel button. When true, the cancel button is hidden.
|
|
343
|
+
*/
|
|
344
|
+
"undismissable": boolean;
|
|
345
|
+
}
|
|
346
|
+
interface NvDialogheader {
|
|
347
|
+
/**
|
|
348
|
+
* Sets the heading text for the dialog.
|
|
349
|
+
*/
|
|
350
|
+
"heading": string;
|
|
351
|
+
/**
|
|
352
|
+
* Sets the subheading text for the dialog.
|
|
353
|
+
*/
|
|
354
|
+
"subheading": string;
|
|
355
|
+
}
|
|
275
356
|
interface NvFieldcheckbox {
|
|
276
357
|
/**
|
|
277
358
|
* Indicates whether the checkbox is checked or not.
|
|
@@ -287,10 +368,12 @@ export namespace Components {
|
|
|
287
368
|
"disabled": boolean;
|
|
288
369
|
/**
|
|
289
370
|
* Signals that there is an error associated with the checkbox, which can trigger visual cues.
|
|
371
|
+
* @validator error
|
|
290
372
|
*/
|
|
291
373
|
"error": boolean;
|
|
292
374
|
/**
|
|
293
375
|
* A description that appears when there is an error related to the checkbox.
|
|
376
|
+
* @validator message
|
|
294
377
|
*/
|
|
295
378
|
"errorDescription"?: string;
|
|
296
379
|
/**
|
|
@@ -317,7 +400,7 @@ export namespace Components {
|
|
|
317
400
|
/**
|
|
318
401
|
* Determines the position of the label relative to the checkbox, either 'start' (before) or 'end' (after).
|
|
319
402
|
*/
|
|
320
|
-
"labelPlacement": `${
|
|
403
|
+
"labelPlacement": `${LabelPlacement}`;
|
|
321
404
|
/**
|
|
322
405
|
* Message define a 'hint ' message for the Field.
|
|
323
406
|
* @deprecated Use `description` instead.
|
|
@@ -337,7 +420,7 @@ export namespace Components {
|
|
|
337
420
|
"required": boolean;
|
|
338
421
|
/**
|
|
339
422
|
* The text for the validation message.
|
|
340
|
-
* @deprecated Use `errorDescription` instead.
|
|
423
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
341
424
|
*/
|
|
342
425
|
"validation"?: string;
|
|
343
426
|
/**
|
|
@@ -347,7 +430,7 @@ export namespace Components {
|
|
|
347
430
|
}
|
|
348
431
|
interface NvFielddropdown {
|
|
349
432
|
/**
|
|
350
|
-
* The autocomplete prop helps users fill out the input field faster by suggesting entries they
|
|
433
|
+
* The autocomplete prop helps users fill out the input field faster by suggesting entries they've used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
|
|
351
434
|
*/
|
|
352
435
|
"autocomplete": `${TextInputAutocomplete}`;
|
|
353
436
|
/**
|
|
@@ -355,7 +438,7 @@ export namespace Components {
|
|
|
355
438
|
*/
|
|
356
439
|
"description": string;
|
|
357
440
|
/**
|
|
358
|
-
* The disabled prop lets you turn off the input field so that users can
|
|
441
|
+
* The disabled prop lets you turn off the input field so that users can't type in it. When disabled, the field is grayed out and won't respond to clicks or touches.
|
|
359
442
|
*/
|
|
360
443
|
"disabled": boolean;
|
|
361
444
|
/**
|
|
@@ -363,7 +446,7 @@ export namespace Components {
|
|
|
363
446
|
*/
|
|
364
447
|
"emptyresult": string;
|
|
365
448
|
/**
|
|
366
|
-
* Alters the input field
|
|
449
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
367
450
|
* @validator error
|
|
368
451
|
*/
|
|
369
452
|
"error": boolean;
|
|
@@ -386,11 +469,11 @@ export namespace Components {
|
|
|
386
469
|
*/
|
|
387
470
|
"inputId": string;
|
|
388
471
|
/**
|
|
389
|
-
* Lets you define the text that explains what users should enter in the text input field. It
|
|
472
|
+
* Lets you define the text that explains what users should enter in the text input field. It's a crucial element for making forms clear and user-friendly.
|
|
390
473
|
*/
|
|
391
474
|
"label": string;
|
|
392
475
|
/**
|
|
393
|
-
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input
|
|
476
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input's data in form submissions. It should be unique within the form to avoid conflicts.
|
|
394
477
|
*/
|
|
395
478
|
"name": string;
|
|
396
479
|
/**
|
|
@@ -398,11 +481,17 @@ export namespace Components {
|
|
|
398
481
|
*/
|
|
399
482
|
"open": boolean;
|
|
400
483
|
/**
|
|
401
|
-
*
|
|
484
|
+
* List of options available in the dropdown.
|
|
485
|
+
* @description The options are passed as a JSON string.
|
|
486
|
+
* @example options='[{"label": "Option 1", "value": "option1", "selected": true}, {"label": "Option 2", "value": "option2"}]'
|
|
487
|
+
*/
|
|
488
|
+
"options"?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Display temporary text inside the input field to give users a hint about what to type. It's a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
|
|
402
491
|
*/
|
|
403
492
|
"placeholder": string;
|
|
404
493
|
/**
|
|
405
|
-
* Display the input field
|
|
494
|
+
* Display the input field's content without allowing users to change it. Users can still click on it, select, and copy the text, but they won't be able to type or delete anything.
|
|
406
495
|
*/
|
|
407
496
|
"readonly": boolean;
|
|
408
497
|
/**
|
|
@@ -410,7 +499,7 @@ export namespace Components {
|
|
|
410
499
|
*/
|
|
411
500
|
"required": boolean;
|
|
412
501
|
/**
|
|
413
|
-
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input
|
|
502
|
+
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input's value is managed by the component's state.
|
|
414
503
|
*/
|
|
415
504
|
"value": string;
|
|
416
505
|
}
|
|
@@ -485,11 +574,13 @@ export namespace Components {
|
|
|
485
574
|
*/
|
|
486
575
|
"emptyresult": string;
|
|
487
576
|
/**
|
|
488
|
-
* Alters the input field's appearance to indicate an error.
|
|
577
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
578
|
+
* @validator error
|
|
489
579
|
*/
|
|
490
580
|
"error": boolean;
|
|
491
581
|
/**
|
|
492
|
-
* A description that appears when there is an error.
|
|
582
|
+
* A description that appears when there is an error related to the multiselect field.
|
|
583
|
+
* @validator message
|
|
493
584
|
*/
|
|
494
585
|
"errorDescription": string;
|
|
495
586
|
/**
|
|
@@ -590,7 +681,7 @@ export namespace Components {
|
|
|
590
681
|
"max": number;
|
|
591
682
|
/**
|
|
592
683
|
* Message defines a 'hint ' message for the number field.
|
|
593
|
-
* @deprecated
|
|
684
|
+
* @deprecated Use `description` instead.
|
|
594
685
|
*/
|
|
595
686
|
"message": string;
|
|
596
687
|
/**
|
|
@@ -623,7 +714,7 @@ export namespace Components {
|
|
|
623
714
|
"success": boolean;
|
|
624
715
|
/**
|
|
625
716
|
* Add the message to the validation state.
|
|
626
|
-
* @deprecated
|
|
717
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
627
718
|
*/
|
|
628
719
|
"validation": string;
|
|
629
720
|
/**
|
|
@@ -751,7 +842,7 @@ export namespace Components {
|
|
|
751
842
|
/**
|
|
752
843
|
* Defines the position of the label relative to the radio button.
|
|
753
844
|
*/
|
|
754
|
-
"labelPlacement": `${
|
|
845
|
+
"labelPlacement": `${LabelPlacement}`;
|
|
755
846
|
/**
|
|
756
847
|
* Adds a helpful hint message below the label
|
|
757
848
|
* @deprecated use description instead.
|
|
@@ -799,7 +890,7 @@ export namespace Components {
|
|
|
799
890
|
"label"?: string;
|
|
800
891
|
/**
|
|
801
892
|
* Message defines a 'hint ' message for the Select Field.
|
|
802
|
-
* @deprecated
|
|
893
|
+
* @deprecated Use `description` instead.
|
|
803
894
|
*/
|
|
804
895
|
"message": string;
|
|
805
896
|
/**
|
|
@@ -810,6 +901,10 @@ export namespace Components {
|
|
|
810
901
|
* Defines the name attribute of the select field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the selected data in form submissions. It should be unique within the form to avoid conflicts
|
|
811
902
|
*/
|
|
812
903
|
"name": string;
|
|
904
|
+
/**
|
|
905
|
+
* Options to display in the select. Can be passed as a JSON string. Format: [{ label: string, value: string, selected?: boolean, disabled?: boolean }]
|
|
906
|
+
*/
|
|
907
|
+
"options"?: string;
|
|
813
908
|
/**
|
|
814
909
|
* Display the select field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to change or delete anything.
|
|
815
910
|
*/
|
|
@@ -824,7 +919,7 @@ export namespace Components {
|
|
|
824
919
|
"success": boolean;
|
|
825
920
|
/**
|
|
826
921
|
* Add the message to the validation state.
|
|
827
|
-
* @deprecated
|
|
922
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
828
923
|
*/
|
|
829
924
|
"validation": string;
|
|
830
925
|
/**
|
|
@@ -854,7 +949,7 @@ export namespace Components {
|
|
|
854
949
|
* A description that appears when there is an error related to the textfield field.
|
|
855
950
|
* @validator message
|
|
856
951
|
*/
|
|
857
|
-
"errorDescription"
|
|
952
|
+
"errorDescription"?: string;
|
|
858
953
|
/**
|
|
859
954
|
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
860
955
|
*/
|
|
@@ -869,7 +964,7 @@ export namespace Components {
|
|
|
869
964
|
"maxlength": number;
|
|
870
965
|
/**
|
|
871
966
|
* Message defines a 'hint ' message for the Text Field.
|
|
872
|
-
* @deprecated
|
|
967
|
+
* @deprecated Use `description` instead.
|
|
873
968
|
*/
|
|
874
969
|
"message": string;
|
|
875
970
|
/**
|
|
@@ -915,7 +1010,7 @@ export namespace Components {
|
|
|
915
1010
|
"type": 'text' | 'tel' | 'email';
|
|
916
1011
|
/**
|
|
917
1012
|
* Add the message to the validation state.
|
|
918
|
-
* @deprecated
|
|
1013
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
919
1014
|
*/
|
|
920
1015
|
"validation": string;
|
|
921
1016
|
/**
|
|
@@ -960,7 +1055,7 @@ export namespace Components {
|
|
|
960
1055
|
"maxlength": number;
|
|
961
1056
|
/**
|
|
962
1057
|
* Message defines a 'hint ' message for the Text Field.
|
|
963
|
-
* @deprecated
|
|
1058
|
+
* @deprecated Use `description` instead.
|
|
964
1059
|
*/
|
|
965
1060
|
"message": string;
|
|
966
1061
|
/**
|
|
@@ -997,7 +1092,7 @@ export namespace Components {
|
|
|
997
1092
|
"success": boolean;
|
|
998
1093
|
/**
|
|
999
1094
|
* Add the message to the validation state.
|
|
1000
|
-
* @deprecated
|
|
1095
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
1001
1096
|
*/
|
|
1002
1097
|
"validation": string;
|
|
1003
1098
|
/**
|
|
@@ -1005,47 +1100,73 @@ export namespace Components {
|
|
|
1005
1100
|
*/
|
|
1006
1101
|
"value": string;
|
|
1007
1102
|
}
|
|
1008
|
-
interface
|
|
1103
|
+
interface NvFieldtime {
|
|
1009
1104
|
/**
|
|
1010
|
-
*
|
|
1105
|
+
* Add helpful hints or extra information under the time input field. This is where you can clarify what users should enter or provide additional instructions.
|
|
1011
1106
|
*/
|
|
1012
|
-
"
|
|
1107
|
+
"description": string;
|
|
1013
1108
|
/**
|
|
1014
|
-
*
|
|
1109
|
+
* The disabled prop lets you turn off the input field so that users can't interact with it. When disabled, the field is grayed out and won't respond to clicks or touches.
|
|
1015
1110
|
*/
|
|
1016
|
-
"
|
|
1111
|
+
"disabled": boolean;
|
|
1017
1112
|
/**
|
|
1018
|
-
*
|
|
1113
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
1114
|
+
* @validator error
|
|
1019
1115
|
*/
|
|
1020
|
-
"
|
|
1116
|
+
"error": boolean;
|
|
1021
1117
|
/**
|
|
1022
|
-
*
|
|
1118
|
+
* A description that appears when there is an error related to the time field.
|
|
1119
|
+
* @validator message
|
|
1023
1120
|
*/
|
|
1024
|
-
"
|
|
1121
|
+
"errorDescription": string;
|
|
1025
1122
|
/**
|
|
1026
|
-
*
|
|
1123
|
+
* Specifies the time format to be used. Available formats: - HH: 24-hour format (00-23) - HH:mm: 24-hour format with minutes (00:00-23:59) - HH:mm:ss: 24-hour format with minutes and seconds (00:00:00-23:59:59) - hh: 12-hour format (01-12) - hh:mm: 12-hour format with minutes (01:00-12:59) - hh:mm:ss: 12-hour format with minutes and seconds (01:00:00-12:59:59)
|
|
1124
|
+
*/
|
|
1125
|
+
"format": 'HH' | 'HH:mm' | 'HH:mm:ss' | 'hh' | 'hh:mm' | 'hh:mm:ss';
|
|
1126
|
+
/**
|
|
1127
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
1027
1128
|
*/
|
|
1028
1129
|
"inputId": string;
|
|
1029
1130
|
/**
|
|
1030
|
-
*
|
|
1131
|
+
* Lets you define the text that explains what users should enter in the time input field. It's a crucial element for making forms clear and user-friendly.
|
|
1031
1132
|
*/
|
|
1032
|
-
"label"
|
|
1133
|
+
"label": string;
|
|
1033
1134
|
/**
|
|
1034
|
-
*
|
|
1135
|
+
* The maximum time value that can be selected.
|
|
1035
1136
|
*/
|
|
1036
|
-
"
|
|
1137
|
+
"max": string;
|
|
1037
1138
|
/**
|
|
1038
|
-
* The
|
|
1139
|
+
* The minimum time value that can be selected.
|
|
1039
1140
|
*/
|
|
1040
|
-
"
|
|
1141
|
+
"min": string;
|
|
1041
1142
|
/**
|
|
1042
|
-
*
|
|
1143
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input's data in form submissions.
|
|
1144
|
+
*/
|
|
1145
|
+
"name": string;
|
|
1146
|
+
/**
|
|
1147
|
+
* State of the time picker popover.
|
|
1148
|
+
*/
|
|
1149
|
+
"open": boolean;
|
|
1150
|
+
/**
|
|
1151
|
+
* Display the input field's content without allowing users to change it. Users can still click on it, select, and copy the text, but they won't be able to type or delete anything.
|
|
1043
1152
|
*/
|
|
1044
1153
|
"readonly": boolean;
|
|
1045
1154
|
/**
|
|
1046
|
-
*
|
|
1155
|
+
* Marks the input field as required, ensuring that the user must fill it out before submitting the form.
|
|
1047
1156
|
*/
|
|
1048
|
-
"
|
|
1157
|
+
"required": boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* The step interval in milliseconds for time increments/decrements. This affects how the time changes when using arrow keys or spinners.
|
|
1160
|
+
*/
|
|
1161
|
+
"step": number;
|
|
1162
|
+
/**
|
|
1163
|
+
* Changes the input field’s appearance to indicate successful input or validation.
|
|
1164
|
+
*/
|
|
1165
|
+
"success": boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* The current value of the time input in the specified format.
|
|
1168
|
+
*/
|
|
1169
|
+
"value": string;
|
|
1049
1170
|
}
|
|
1050
1171
|
interface NvIcon {
|
|
1051
1172
|
/**
|
|
@@ -1140,6 +1261,10 @@ export namespace Components {
|
|
|
1140
1261
|
* Use this to disable the menu from closing automatically when a menu item is selected.
|
|
1141
1262
|
*/
|
|
1142
1263
|
"disableCloseOnSelect": boolean;
|
|
1264
|
+
/**
|
|
1265
|
+
* (New feature) Items to display in the menu, provided as a JSON string. Format: [{ label: string, value?: string, disabled?: boolean, hasSubmenu?: boolean, ... }]
|
|
1266
|
+
*/
|
|
1267
|
+
"items"?: string;
|
|
1143
1268
|
/**
|
|
1144
1269
|
* Use this if the menu is nested inside another menu. This will prevent the parent menu from closing when the child menu is opened.
|
|
1145
1270
|
*/
|
|
@@ -1343,6 +1468,48 @@ export namespace Components {
|
|
|
1343
1468
|
}
|
|
1344
1469
|
interface NvTablerow {
|
|
1345
1470
|
}
|
|
1471
|
+
interface NvToggle {
|
|
1472
|
+
/**
|
|
1473
|
+
* Indicates whether the toggle is checked or not.
|
|
1474
|
+
*/
|
|
1475
|
+
"checked": boolean;
|
|
1476
|
+
/**
|
|
1477
|
+
* A description providing additional context or information about the toggle.
|
|
1478
|
+
*/
|
|
1479
|
+
"description"?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* Disables the toggle, preventing user interaction.
|
|
1482
|
+
*/
|
|
1483
|
+
"disabled": boolean;
|
|
1484
|
+
/**
|
|
1485
|
+
* Hides the label visually while still keeping it available for screen readers.
|
|
1486
|
+
*/
|
|
1487
|
+
"hideLabel": boolean;
|
|
1488
|
+
/**
|
|
1489
|
+
* Sets the ID for the radio button’s input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
1490
|
+
*/
|
|
1491
|
+
"inputId": string;
|
|
1492
|
+
/**
|
|
1493
|
+
* The label displayed next to the toggle.
|
|
1494
|
+
*/
|
|
1495
|
+
"label"?: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Determines the position of the label relative to the toggle, either 'start' (before) or 'end' (after).
|
|
1498
|
+
*/
|
|
1499
|
+
"labelPlacement": `${LabelPlacement}`;
|
|
1500
|
+
/**
|
|
1501
|
+
* The name attribute for the toggle input, used to reference the form data after submission.
|
|
1502
|
+
*/
|
|
1503
|
+
"name"?: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* Sets the toggle to read-only, preventing user changes but still allowing focus and selection of text.
|
|
1506
|
+
*/
|
|
1507
|
+
"readonly": boolean;
|
|
1508
|
+
/**
|
|
1509
|
+
* The value attribute of the toggle input, representing the value sent on form submission when the toggle is checked.
|
|
1510
|
+
*/
|
|
1511
|
+
"value"?: string;
|
|
1512
|
+
}
|
|
1346
1513
|
interface NvTooltip {
|
|
1347
1514
|
/**
|
|
1348
1515
|
* Controls how long (in milliseconds) the tooltip waits to show after you hover over or focus on an element. If you move away before the delay is up, the tooltip won’t appear.
|
|
@@ -1367,6 +1534,14 @@ export interface NvBadgeCustomEvent<T> extends CustomEvent<T> {
|
|
|
1367
1534
|
detail: T;
|
|
1368
1535
|
target: HTMLNvBadgeElement;
|
|
1369
1536
|
}
|
|
1537
|
+
export interface NvDialogCustomEvent<T> extends CustomEvent<T> {
|
|
1538
|
+
detail: T;
|
|
1539
|
+
target: HTMLNvDialogElement;
|
|
1540
|
+
}
|
|
1541
|
+
export interface NvDialogfooterCustomEvent<T> extends CustomEvent<T> {
|
|
1542
|
+
detail: T;
|
|
1543
|
+
target: HTMLNvDialogfooterElement;
|
|
1544
|
+
}
|
|
1370
1545
|
export interface NvFieldcheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
1371
1546
|
detail: T;
|
|
1372
1547
|
target: HTMLNvFieldcheckboxElement;
|
|
@@ -1411,9 +1586,9 @@ export interface NvFieldtextareaCustomEvent<T> extends CustomEvent<T> {
|
|
|
1411
1586
|
detail: T;
|
|
1412
1587
|
target: HTMLNvFieldtextareaElement;
|
|
1413
1588
|
}
|
|
1414
|
-
export interface
|
|
1589
|
+
export interface NvFieldtimeCustomEvent<T> extends CustomEvent<T> {
|
|
1415
1590
|
detail: T;
|
|
1416
|
-
target:
|
|
1591
|
+
target: HTMLNvFieldtimeElement;
|
|
1417
1592
|
}
|
|
1418
1593
|
export interface NvMenuCustomEvent<T> extends CustomEvent<T> {
|
|
1419
1594
|
detail: T;
|
|
@@ -1427,6 +1602,10 @@ export interface NvPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
|
1427
1602
|
detail: T;
|
|
1428
1603
|
target: HTMLNvPopoverElement;
|
|
1429
1604
|
}
|
|
1605
|
+
export interface NvToggleCustomEvent<T> extends CustomEvent<T> {
|
|
1606
|
+
detail: T;
|
|
1607
|
+
target: HTMLNvToggleElement;
|
|
1608
|
+
}
|
|
1430
1609
|
declare global {
|
|
1431
1610
|
interface HTMLNvAlertElementEventMap {
|
|
1432
1611
|
"hiddenChanged": boolean;
|
|
@@ -1544,6 +1723,47 @@ declare global {
|
|
|
1544
1723
|
prototype: HTMLNvDatagridrowElement;
|
|
1545
1724
|
new (): HTMLNvDatagridrowElement;
|
|
1546
1725
|
};
|
|
1726
|
+
interface HTMLNvDialogElementEventMap {
|
|
1727
|
+
"close": void;
|
|
1728
|
+
}
|
|
1729
|
+
interface HTMLNvDialogElement extends Components.NvDialog, HTMLStencilElement {
|
|
1730
|
+
addEventListener<K extends keyof HTMLNvDialogElementEventMap>(type: K, listener: (this: HTMLNvDialogElement, ev: NvDialogCustomEvent<HTMLNvDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1731
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1732
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1733
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1734
|
+
removeEventListener<K extends keyof HTMLNvDialogElementEventMap>(type: K, listener: (this: HTMLNvDialogElement, ev: NvDialogCustomEvent<HTMLNvDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1735
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1736
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1737
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1738
|
+
}
|
|
1739
|
+
var HTMLNvDialogElement: {
|
|
1740
|
+
prototype: HTMLNvDialogElement;
|
|
1741
|
+
new (): HTMLNvDialogElement;
|
|
1742
|
+
};
|
|
1743
|
+
interface HTMLNvDialogfooterElementEventMap {
|
|
1744
|
+
"nvDialogCanceled": void;
|
|
1745
|
+
"nvDialogConfirmed": void;
|
|
1746
|
+
}
|
|
1747
|
+
interface HTMLNvDialogfooterElement extends Components.NvDialogfooter, HTMLStencilElement {
|
|
1748
|
+
addEventListener<K extends keyof HTMLNvDialogfooterElementEventMap>(type: K, listener: (this: HTMLNvDialogfooterElement, ev: NvDialogfooterCustomEvent<HTMLNvDialogfooterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1749
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1750
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1751
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1752
|
+
removeEventListener<K extends keyof HTMLNvDialogfooterElementEventMap>(type: K, listener: (this: HTMLNvDialogfooterElement, ev: NvDialogfooterCustomEvent<HTMLNvDialogfooterElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1753
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1754
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1755
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1756
|
+
}
|
|
1757
|
+
var HTMLNvDialogfooterElement: {
|
|
1758
|
+
prototype: HTMLNvDialogfooterElement;
|
|
1759
|
+
new (): HTMLNvDialogfooterElement;
|
|
1760
|
+
};
|
|
1761
|
+
interface HTMLNvDialogheaderElement extends Components.NvDialogheader, HTMLStencilElement {
|
|
1762
|
+
}
|
|
1763
|
+
var HTMLNvDialogheaderElement: {
|
|
1764
|
+
prototype: HTMLNvDialogheaderElement;
|
|
1765
|
+
new (): HTMLNvDialogheaderElement;
|
|
1766
|
+
};
|
|
1547
1767
|
interface HTMLNvFieldcheckboxElementEventMap {
|
|
1548
1768
|
"checkedChanged": boolean;
|
|
1549
1769
|
}
|
|
@@ -1747,22 +1967,22 @@ declare global {
|
|
|
1747
1967
|
prototype: HTMLNvFieldtextareaElement;
|
|
1748
1968
|
new (): HTMLNvFieldtextareaElement;
|
|
1749
1969
|
};
|
|
1750
|
-
interface
|
|
1751
|
-
"
|
|
1970
|
+
interface HTMLNvFieldtimeElementEventMap {
|
|
1971
|
+
"valueChanged": string;
|
|
1752
1972
|
}
|
|
1753
|
-
interface
|
|
1754
|
-
addEventListener<K extends keyof
|
|
1973
|
+
interface HTMLNvFieldtimeElement extends Components.NvFieldtime, HTMLStencilElement {
|
|
1974
|
+
addEventListener<K extends keyof HTMLNvFieldtimeElementEventMap>(type: K, listener: (this: HTMLNvFieldtimeElement, ev: NvFieldtimeCustomEvent<HTMLNvFieldtimeElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1755
1975
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1756
1976
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1757
1977
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1758
|
-
removeEventListener<K extends keyof
|
|
1978
|
+
removeEventListener<K extends keyof HTMLNvFieldtimeElementEventMap>(type: K, listener: (this: HTMLNvFieldtimeElement, ev: NvFieldtimeCustomEvent<HTMLNvFieldtimeElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1759
1979
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1760
1980
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1761
1981
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1762
1982
|
}
|
|
1763
|
-
var
|
|
1764
|
-
prototype:
|
|
1765
|
-
new ():
|
|
1983
|
+
var HTMLNvFieldtimeElement: {
|
|
1984
|
+
prototype: HTMLNvFieldtimeElement;
|
|
1985
|
+
new (): HTMLNvFieldtimeElement;
|
|
1766
1986
|
};
|
|
1767
1987
|
interface HTMLNvIconElement extends Components.NvIcon, HTMLStencilElement {
|
|
1768
1988
|
}
|
|
@@ -1884,6 +2104,23 @@ declare global {
|
|
|
1884
2104
|
prototype: HTMLNvTablerowElement;
|
|
1885
2105
|
new (): HTMLNvTablerowElement;
|
|
1886
2106
|
};
|
|
2107
|
+
interface HTMLNvToggleElementEventMap {
|
|
2108
|
+
"checkedChanged": boolean;
|
|
2109
|
+
}
|
|
2110
|
+
interface HTMLNvToggleElement extends Components.NvToggle, HTMLStencilElement {
|
|
2111
|
+
addEventListener<K extends keyof HTMLNvToggleElementEventMap>(type: K, listener: (this: HTMLNvToggleElement, ev: NvToggleCustomEvent<HTMLNvToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2112
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2113
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2114
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2115
|
+
removeEventListener<K extends keyof HTMLNvToggleElementEventMap>(type: K, listener: (this: HTMLNvToggleElement, ev: NvToggleCustomEvent<HTMLNvToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2116
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2117
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2118
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2119
|
+
}
|
|
2120
|
+
var HTMLNvToggleElement: {
|
|
2121
|
+
prototype: HTMLNvToggleElement;
|
|
2122
|
+
new (): HTMLNvToggleElement;
|
|
2123
|
+
};
|
|
1887
2124
|
interface HTMLNvTooltipElement extends Components.NvTooltip, HTMLStencilElement {
|
|
1888
2125
|
}
|
|
1889
2126
|
var HTMLNvTooltipElement: {
|
|
@@ -1905,6 +2142,9 @@ declare global {
|
|
|
1905
2142
|
"nv-datagriddatacell": HTMLNvDatagriddatacellElement;
|
|
1906
2143
|
"nv-datagridhead": HTMLNvDatagridheadElement;
|
|
1907
2144
|
"nv-datagridrow": HTMLNvDatagridrowElement;
|
|
2145
|
+
"nv-dialog": HTMLNvDialogElement;
|
|
2146
|
+
"nv-dialogfooter": HTMLNvDialogfooterElement;
|
|
2147
|
+
"nv-dialogheader": HTMLNvDialogheaderElement;
|
|
1908
2148
|
"nv-fieldcheckbox": HTMLNvFieldcheckboxElement;
|
|
1909
2149
|
"nv-fielddropdown": HTMLNvFielddropdownElement;
|
|
1910
2150
|
"nv-fielddropdownitem": HTMLNvFielddropdownitemElement;
|
|
@@ -1916,7 +2156,7 @@ declare global {
|
|
|
1916
2156
|
"nv-fieldselect": HTMLNvFieldselectElement;
|
|
1917
2157
|
"nv-fieldtext": HTMLNvFieldtextElement;
|
|
1918
2158
|
"nv-fieldtextarea": HTMLNvFieldtextareaElement;
|
|
1919
|
-
"nv-
|
|
2159
|
+
"nv-fieldtime": HTMLNvFieldtimeElement;
|
|
1920
2160
|
"nv-icon": HTMLNvIconElement;
|
|
1921
2161
|
"nv-iconbutton": HTMLNvIconbuttonElement;
|
|
1922
2162
|
"nv-loader": HTMLNvLoaderElement;
|
|
@@ -1931,6 +2171,7 @@ declare global {
|
|
|
1931
2171
|
"nv-tabledatacell": HTMLNvTabledatacellElement;
|
|
1932
2172
|
"nv-tablehead": HTMLNvTableheadElement;
|
|
1933
2173
|
"nv-tablerow": HTMLNvTablerowElement;
|
|
2174
|
+
"nv-toggle": HTMLNvToggleElement;
|
|
1934
2175
|
"nv-tooltip": HTMLNvTooltipElement;
|
|
1935
2176
|
}
|
|
1936
2177
|
}
|
|
@@ -2115,6 +2356,10 @@ declare namespace LocalJSX {
|
|
|
2115
2356
|
interface NvBreadcrumbs {
|
|
2116
2357
|
}
|
|
2117
2358
|
interface NvButton {
|
|
2359
|
+
/**
|
|
2360
|
+
* Use this prop to highlight the button when it represents the current page or active selection. This helps users understand their navigation context.
|
|
2361
|
+
*/
|
|
2362
|
+
"active"?: boolean;
|
|
2118
2363
|
/**
|
|
2119
2364
|
* Applies styling that visually indicates the button represents a dangerous action.
|
|
2120
2365
|
*/
|
|
@@ -2210,6 +2455,84 @@ declare namespace LocalJSX {
|
|
|
2210
2455
|
}
|
|
2211
2456
|
interface NvDatagridrow {
|
|
2212
2457
|
}
|
|
2458
|
+
interface NvDialog {
|
|
2459
|
+
/**
|
|
2460
|
+
* If true, the dialog will be closed when the backdrop is clicked.
|
|
2461
|
+
*/
|
|
2462
|
+
"clickOutside"?: boolean;
|
|
2463
|
+
/**
|
|
2464
|
+
* If true, the dialog visibility is managed manually through methods or the open prop.
|
|
2465
|
+
*/
|
|
2466
|
+
"controlled"?: boolean;
|
|
2467
|
+
/**
|
|
2468
|
+
* If true, the dialog takes full width styling.
|
|
2469
|
+
*/
|
|
2470
|
+
"full"?: boolean;
|
|
2471
|
+
/**
|
|
2472
|
+
* Controls the dialog's autofocus behavior. When false (default), the dialog will automatically focus the first focusable element. When true, automatic focus is disabled and you must manually set focus on an element for accessibility compliance.
|
|
2473
|
+
*/
|
|
2474
|
+
"manualFocus"?: boolean;
|
|
2475
|
+
/**
|
|
2476
|
+
* Emitted when the dialog is closing in order to allow for cleanup, data-capture, etc.
|
|
2477
|
+
*/
|
|
2478
|
+
"onClose"?: (event: NvDialogCustomEvent<void>) => void;
|
|
2479
|
+
/**
|
|
2480
|
+
* Use this prop to toggle the visibility of the dialog. Set to true to show the dialog and false to hide it.
|
|
2481
|
+
*/
|
|
2482
|
+
"open"?: boolean;
|
|
2483
|
+
/**
|
|
2484
|
+
* If true, the dialog cannot be closed by the user.
|
|
2485
|
+
*/
|
|
2486
|
+
"undismissable"?: boolean;
|
|
2487
|
+
}
|
|
2488
|
+
interface NvDialogfooter {
|
|
2489
|
+
/**
|
|
2490
|
+
* Sets the label for the cancel button.
|
|
2491
|
+
*/
|
|
2492
|
+
"cancelLabel"?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* Sets the danger state for the submit button.
|
|
2495
|
+
*/
|
|
2496
|
+
"danger"?: boolean;
|
|
2497
|
+
/**
|
|
2498
|
+
* Disables the confirm button, preventing user interaction.
|
|
2499
|
+
*/
|
|
2500
|
+
"disabled"?: boolean;
|
|
2501
|
+
/**
|
|
2502
|
+
* Sets the leading icon for the submit button.
|
|
2503
|
+
*/
|
|
2504
|
+
"leadingIcon"?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* Emitted when the cancel button is clicked. This will close the dialog.
|
|
2507
|
+
*/
|
|
2508
|
+
"onNvDialogCanceled"?: (event: NvDialogfooterCustomEvent<void>) => void;
|
|
2509
|
+
/**
|
|
2510
|
+
* Emitted when the submit button is clicked. This allows to handle the submit action and potential data capture before closing the dialog.
|
|
2511
|
+
*/
|
|
2512
|
+
"onNvDialogConfirmed"?: (event: NvDialogfooterCustomEvent<void>) => void;
|
|
2513
|
+
/**
|
|
2514
|
+
* Sets the label for the submit button.
|
|
2515
|
+
*/
|
|
2516
|
+
"submitLabel"?: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* Sets the trailing icon for the submit button.
|
|
2519
|
+
*/
|
|
2520
|
+
"trailingIcon"?: string;
|
|
2521
|
+
/**
|
|
2522
|
+
* Controls the visibility of the cancel button. When true, the cancel button is hidden.
|
|
2523
|
+
*/
|
|
2524
|
+
"undismissable"?: boolean;
|
|
2525
|
+
}
|
|
2526
|
+
interface NvDialogheader {
|
|
2527
|
+
/**
|
|
2528
|
+
* Sets the heading text for the dialog.
|
|
2529
|
+
*/
|
|
2530
|
+
"heading"?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Sets the subheading text for the dialog.
|
|
2533
|
+
*/
|
|
2534
|
+
"subheading"?: string;
|
|
2535
|
+
}
|
|
2213
2536
|
interface NvFieldcheckbox {
|
|
2214
2537
|
/**
|
|
2215
2538
|
* Indicates whether the checkbox is checked or not.
|
|
@@ -2225,10 +2548,12 @@ declare namespace LocalJSX {
|
|
|
2225
2548
|
"disabled"?: boolean;
|
|
2226
2549
|
/**
|
|
2227
2550
|
* Signals that there is an error associated with the checkbox, which can trigger visual cues.
|
|
2551
|
+
* @validator error
|
|
2228
2552
|
*/
|
|
2229
2553
|
"error"?: boolean;
|
|
2230
2554
|
/**
|
|
2231
2555
|
* A description that appears when there is an error related to the checkbox.
|
|
2556
|
+
* @validator message
|
|
2232
2557
|
*/
|
|
2233
2558
|
"errorDescription"?: string;
|
|
2234
2559
|
/**
|
|
@@ -2255,7 +2580,7 @@ declare namespace LocalJSX {
|
|
|
2255
2580
|
/**
|
|
2256
2581
|
* Determines the position of the label relative to the checkbox, either 'start' (before) or 'end' (after).
|
|
2257
2582
|
*/
|
|
2258
|
-
"labelPlacement"?: `${
|
|
2583
|
+
"labelPlacement"?: `${LabelPlacement}`;
|
|
2259
2584
|
/**
|
|
2260
2585
|
* Message define a 'hint ' message for the Field.
|
|
2261
2586
|
* @deprecated Use `description` instead.
|
|
@@ -2280,7 +2605,7 @@ declare namespace LocalJSX {
|
|
|
2280
2605
|
"required"?: boolean;
|
|
2281
2606
|
/**
|
|
2282
2607
|
* The text for the validation message.
|
|
2283
|
-
* @deprecated Use `errorDescription` instead.
|
|
2608
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
2284
2609
|
*/
|
|
2285
2610
|
"validation"?: string;
|
|
2286
2611
|
/**
|
|
@@ -2290,7 +2615,7 @@ declare namespace LocalJSX {
|
|
|
2290
2615
|
}
|
|
2291
2616
|
interface NvFielddropdown {
|
|
2292
2617
|
/**
|
|
2293
|
-
* The autocomplete prop helps users fill out the input field faster by suggesting entries they
|
|
2618
|
+
* The autocomplete prop helps users fill out the input field faster by suggesting entries they've used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
|
|
2294
2619
|
*/
|
|
2295
2620
|
"autocomplete"?: `${TextInputAutocomplete}`;
|
|
2296
2621
|
/**
|
|
@@ -2298,7 +2623,7 @@ declare namespace LocalJSX {
|
|
|
2298
2623
|
*/
|
|
2299
2624
|
"description"?: string;
|
|
2300
2625
|
/**
|
|
2301
|
-
* The disabled prop lets you turn off the input field so that users can
|
|
2626
|
+
* The disabled prop lets you turn off the input field so that users can't type in it. When disabled, the field is grayed out and won't respond to clicks or touches.
|
|
2302
2627
|
*/
|
|
2303
2628
|
"disabled"?: boolean;
|
|
2304
2629
|
/**
|
|
@@ -2306,7 +2631,7 @@ declare namespace LocalJSX {
|
|
|
2306
2631
|
*/
|
|
2307
2632
|
"emptyresult"?: string;
|
|
2308
2633
|
/**
|
|
2309
|
-
* Alters the input field
|
|
2634
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
2310
2635
|
* @validator error
|
|
2311
2636
|
*/
|
|
2312
2637
|
"error"?: boolean;
|
|
@@ -2324,11 +2649,11 @@ declare namespace LocalJSX {
|
|
|
2324
2649
|
*/
|
|
2325
2650
|
"inputId"?: string;
|
|
2326
2651
|
/**
|
|
2327
|
-
* Lets you define the text that explains what users should enter in the text input field. It
|
|
2652
|
+
* Lets you define the text that explains what users should enter in the text input field. It's a crucial element for making forms clear and user-friendly.
|
|
2328
2653
|
*/
|
|
2329
2654
|
"label"?: string;
|
|
2330
2655
|
/**
|
|
2331
|
-
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input
|
|
2656
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input's data in form submissions. It should be unique within the form to avoid conflicts.
|
|
2332
2657
|
*/
|
|
2333
2658
|
"name"?: string;
|
|
2334
2659
|
/**
|
|
@@ -2345,11 +2670,17 @@ declare namespace LocalJSX {
|
|
|
2345
2670
|
*/
|
|
2346
2671
|
"open"?: boolean;
|
|
2347
2672
|
/**
|
|
2348
|
-
*
|
|
2673
|
+
* List of options available in the dropdown.
|
|
2674
|
+
* @description The options are passed as a JSON string.
|
|
2675
|
+
* @example options='[{"label": "Option 1", "value": "option1", "selected": true}, {"label": "Option 2", "value": "option2"}]'
|
|
2676
|
+
*/
|
|
2677
|
+
"options"?: string;
|
|
2678
|
+
/**
|
|
2679
|
+
* Display temporary text inside the input field to give users a hint about what to type. It's a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
|
|
2349
2680
|
*/
|
|
2350
2681
|
"placeholder"?: string;
|
|
2351
2682
|
/**
|
|
2352
|
-
* Display the input field
|
|
2683
|
+
* Display the input field's content without allowing users to change it. Users can still click on it, select, and copy the text, but they won't be able to type or delete anything.
|
|
2353
2684
|
*/
|
|
2354
2685
|
"readonly"?: boolean;
|
|
2355
2686
|
/**
|
|
@@ -2357,7 +2688,7 @@ declare namespace LocalJSX {
|
|
|
2357
2688
|
*/
|
|
2358
2689
|
"required"?: boolean;
|
|
2359
2690
|
/**
|
|
2360
|
-
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input
|
|
2691
|
+
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input's value is managed by the component's state.
|
|
2361
2692
|
*/
|
|
2362
2693
|
"value"?: string;
|
|
2363
2694
|
}
|
|
@@ -2453,11 +2784,13 @@ declare namespace LocalJSX {
|
|
|
2453
2784
|
*/
|
|
2454
2785
|
"emptyresult"?: string;
|
|
2455
2786
|
/**
|
|
2456
|
-
* Alters the input field's appearance to indicate an error.
|
|
2787
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
2788
|
+
* @validator error
|
|
2457
2789
|
*/
|
|
2458
2790
|
"error"?: boolean;
|
|
2459
2791
|
/**
|
|
2460
|
-
* A description that appears when there is an error.
|
|
2792
|
+
* A description that appears when there is an error related to the multiselect field.
|
|
2793
|
+
* @validator message
|
|
2461
2794
|
*/
|
|
2462
2795
|
"errorDescription"?: string;
|
|
2463
2796
|
/**
|
|
@@ -2557,7 +2890,7 @@ declare namespace LocalJSX {
|
|
|
2557
2890
|
"max"?: number;
|
|
2558
2891
|
/**
|
|
2559
2892
|
* Message defines a 'hint ' message for the number field.
|
|
2560
|
-
* @deprecated
|
|
2893
|
+
* @deprecated Use `description` instead.
|
|
2561
2894
|
*/
|
|
2562
2895
|
"message"?: string;
|
|
2563
2896
|
/**
|
|
@@ -2595,7 +2928,7 @@ declare namespace LocalJSX {
|
|
|
2595
2928
|
"success"?: boolean;
|
|
2596
2929
|
/**
|
|
2597
2930
|
* Add the message to the validation state.
|
|
2598
|
-
* @deprecated
|
|
2931
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
2599
2932
|
*/
|
|
2600
2933
|
"validation"?: string;
|
|
2601
2934
|
/**
|
|
@@ -2728,7 +3061,7 @@ declare namespace LocalJSX {
|
|
|
2728
3061
|
/**
|
|
2729
3062
|
* Defines the position of the label relative to the radio button.
|
|
2730
3063
|
*/
|
|
2731
|
-
"labelPlacement"?: `${
|
|
3064
|
+
"labelPlacement"?: `${LabelPlacement}`;
|
|
2732
3065
|
/**
|
|
2733
3066
|
* Adds a helpful hint message below the label
|
|
2734
3067
|
* @deprecated use description instead.
|
|
@@ -2781,7 +3114,7 @@ declare namespace LocalJSX {
|
|
|
2781
3114
|
"label"?: string;
|
|
2782
3115
|
/**
|
|
2783
3116
|
* Message defines a 'hint ' message for the Select Field.
|
|
2784
|
-
* @deprecated
|
|
3117
|
+
* @deprecated Use `description` instead.
|
|
2785
3118
|
*/
|
|
2786
3119
|
"message"?: string;
|
|
2787
3120
|
/**
|
|
@@ -2797,6 +3130,10 @@ declare namespace LocalJSX {
|
|
|
2797
3130
|
* @bind value
|
|
2798
3131
|
*/
|
|
2799
3132
|
"onValueChanged"?: (event: NvFieldselectCustomEvent<string>) => void;
|
|
3133
|
+
/**
|
|
3134
|
+
* Options to display in the select. Can be passed as a JSON string. Format: [{ label: string, value: string, selected?: boolean, disabled?: boolean }]
|
|
3135
|
+
*/
|
|
3136
|
+
"options"?: string;
|
|
2800
3137
|
/**
|
|
2801
3138
|
* Display the select field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to change or delete anything.
|
|
2802
3139
|
*/
|
|
@@ -2811,7 +3148,7 @@ declare namespace LocalJSX {
|
|
|
2811
3148
|
"success"?: boolean;
|
|
2812
3149
|
/**
|
|
2813
3150
|
* Add the message to the validation state.
|
|
2814
|
-
* @deprecated
|
|
3151
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
2815
3152
|
*/
|
|
2816
3153
|
"validation"?: string;
|
|
2817
3154
|
/**
|
|
@@ -2856,7 +3193,7 @@ declare namespace LocalJSX {
|
|
|
2856
3193
|
"maxlength"?: number;
|
|
2857
3194
|
/**
|
|
2858
3195
|
* Message defines a 'hint ' message for the Text Field.
|
|
2859
|
-
* @deprecated
|
|
3196
|
+
* @deprecated Use `description` instead.
|
|
2860
3197
|
*/
|
|
2861
3198
|
"message"?: string;
|
|
2862
3199
|
/**
|
|
@@ -2907,7 +3244,7 @@ declare namespace LocalJSX {
|
|
|
2907
3244
|
"type"?: 'text' | 'tel' | 'email';
|
|
2908
3245
|
/**
|
|
2909
3246
|
* Add the message to the validation state.
|
|
2910
|
-
* @deprecated
|
|
3247
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
2911
3248
|
*/
|
|
2912
3249
|
"validation"?: string;
|
|
2913
3250
|
/**
|
|
@@ -2952,7 +3289,7 @@ declare namespace LocalJSX {
|
|
|
2952
3289
|
"maxlength"?: number;
|
|
2953
3290
|
/**
|
|
2954
3291
|
* Message defines a 'hint ' message for the Text Field.
|
|
2955
|
-
* @deprecated
|
|
3292
|
+
* @deprecated Use `description` instead.
|
|
2956
3293
|
*/
|
|
2957
3294
|
"message"?: string;
|
|
2958
3295
|
/**
|
|
@@ -2994,7 +3331,7 @@ declare namespace LocalJSX {
|
|
|
2994
3331
|
"success"?: boolean;
|
|
2995
3332
|
/**
|
|
2996
3333
|
* Add the message to the validation state.
|
|
2997
|
-
* @deprecated
|
|
3334
|
+
* @deprecated Use `errorDescription` and set the error prop instead.
|
|
2998
3335
|
*/
|
|
2999
3336
|
"validation"?: string;
|
|
3000
3337
|
/**
|
|
@@ -3002,50 +3339,75 @@ declare namespace LocalJSX {
|
|
|
3002
3339
|
*/
|
|
3003
3340
|
"value"?: string;
|
|
3004
3341
|
}
|
|
3005
|
-
interface
|
|
3006
|
-
/**
|
|
3007
|
-
* Indicates whether the toggle is checked or not.
|
|
3008
|
-
*/
|
|
3009
|
-
"checked"?: boolean;
|
|
3342
|
+
interface NvFieldtime {
|
|
3010
3343
|
/**
|
|
3011
|
-
*
|
|
3344
|
+
* Add helpful hints or extra information under the time input field. This is where you can clarify what users should enter or provide additional instructions.
|
|
3012
3345
|
*/
|
|
3013
3346
|
"description"?: string;
|
|
3014
3347
|
/**
|
|
3015
|
-
*
|
|
3348
|
+
* The disabled prop lets you turn off the input field so that users can't interact with it. When disabled, the field is grayed out and won't respond to clicks or touches.
|
|
3016
3349
|
*/
|
|
3017
3350
|
"disabled"?: boolean;
|
|
3018
3351
|
/**
|
|
3019
|
-
*
|
|
3352
|
+
* Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
|
|
3353
|
+
* @validator error
|
|
3020
3354
|
*/
|
|
3021
|
-
"
|
|
3355
|
+
"error"?: boolean;
|
|
3022
3356
|
/**
|
|
3023
|
-
*
|
|
3357
|
+
* A description that appears when there is an error related to the time field.
|
|
3358
|
+
* @validator message
|
|
3359
|
+
*/
|
|
3360
|
+
"errorDescription"?: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* Specifies the time format to be used. Available formats: - HH: 24-hour format (00-23) - HH:mm: 24-hour format with minutes (00:00-23:59) - HH:mm:ss: 24-hour format with minutes and seconds (00:00:00-23:59:59) - hh: 12-hour format (01-12) - hh:mm: 12-hour format with minutes (01:00-12:59) - hh:mm:ss: 12-hour format with minutes and seconds (01:00:00-12:59:59)
|
|
3363
|
+
*/
|
|
3364
|
+
"format"?: 'HH' | 'HH:mm' | 'HH:mm:ss' | 'hh' | 'hh:mm' | 'hh:mm:ss';
|
|
3365
|
+
/**
|
|
3366
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
3024
3367
|
*/
|
|
3025
3368
|
"inputId"?: string;
|
|
3026
3369
|
/**
|
|
3027
|
-
*
|
|
3370
|
+
* Lets you define the text that explains what users should enter in the time input field. It's a crucial element for making forms clear and user-friendly.
|
|
3028
3371
|
*/
|
|
3029
3372
|
"label"?: string;
|
|
3030
3373
|
/**
|
|
3031
|
-
*
|
|
3374
|
+
* The maximum time value that can be selected.
|
|
3032
3375
|
*/
|
|
3033
|
-
"
|
|
3376
|
+
"max"?: string;
|
|
3034
3377
|
/**
|
|
3035
|
-
* The
|
|
3378
|
+
* The minimum time value that can be selected.
|
|
3379
|
+
*/
|
|
3380
|
+
"min"?: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input's data in form submissions.
|
|
3036
3383
|
*/
|
|
3037
3384
|
"name"?: string;
|
|
3038
3385
|
/**
|
|
3039
|
-
*
|
|
3040
|
-
* @bind checked
|
|
3386
|
+
* Emit an event when the time value changes. The event detail contains the new time value (HH, HH:mm or HH:mm:ss).
|
|
3041
3387
|
*/
|
|
3042
|
-
"
|
|
3388
|
+
"onValueChanged"?: (event: NvFieldtimeCustomEvent<string>) => void;
|
|
3043
3389
|
/**
|
|
3044
|
-
*
|
|
3390
|
+
* State of the time picker popover.
|
|
3391
|
+
*/
|
|
3392
|
+
"open"?: boolean;
|
|
3393
|
+
/**
|
|
3394
|
+
* Display the input field's content without allowing users to change it. Users can still click on it, select, and copy the text, but they won't be able to type or delete anything.
|
|
3045
3395
|
*/
|
|
3046
3396
|
"readonly"?: boolean;
|
|
3047
3397
|
/**
|
|
3048
|
-
*
|
|
3398
|
+
* Marks the input field as required, ensuring that the user must fill it out before submitting the form.
|
|
3399
|
+
*/
|
|
3400
|
+
"required"?: boolean;
|
|
3401
|
+
/**
|
|
3402
|
+
* The step interval in milliseconds for time increments/decrements. This affects how the time changes when using arrow keys or spinners.
|
|
3403
|
+
*/
|
|
3404
|
+
"step"?: number;
|
|
3405
|
+
/**
|
|
3406
|
+
* Changes the input field’s appearance to indicate successful input or validation.
|
|
3407
|
+
*/
|
|
3408
|
+
"success"?: boolean;
|
|
3409
|
+
/**
|
|
3410
|
+
* The current value of the time input in the specified format.
|
|
3049
3411
|
*/
|
|
3050
3412
|
"value"?: string;
|
|
3051
3413
|
}
|
|
@@ -3138,6 +3500,10 @@ declare namespace LocalJSX {
|
|
|
3138
3500
|
* Use this to disable the menu from closing automatically when a menu item is selected.
|
|
3139
3501
|
*/
|
|
3140
3502
|
"disableCloseOnSelect"?: boolean;
|
|
3503
|
+
/**
|
|
3504
|
+
* (New feature) Items to display in the menu, provided as a JSON string. Format: [{ label: string, value?: string, disabled?: boolean, hasSubmenu?: boolean, ... }]
|
|
3505
|
+
*/
|
|
3506
|
+
"items"?: string;
|
|
3141
3507
|
/**
|
|
3142
3508
|
* Use this if the menu is nested inside another menu. This will prevent the parent menu from closing when the child menu is opened.
|
|
3143
3509
|
*/
|
|
@@ -3337,6 +3703,53 @@ declare namespace LocalJSX {
|
|
|
3337
3703
|
}
|
|
3338
3704
|
interface NvTablerow {
|
|
3339
3705
|
}
|
|
3706
|
+
interface NvToggle {
|
|
3707
|
+
/**
|
|
3708
|
+
* Indicates whether the toggle is checked or not.
|
|
3709
|
+
*/
|
|
3710
|
+
"checked"?: boolean;
|
|
3711
|
+
/**
|
|
3712
|
+
* A description providing additional context or information about the toggle.
|
|
3713
|
+
*/
|
|
3714
|
+
"description"?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* Disables the toggle, preventing user interaction.
|
|
3717
|
+
*/
|
|
3718
|
+
"disabled"?: boolean;
|
|
3719
|
+
/**
|
|
3720
|
+
* Hides the label visually while still keeping it available for screen readers.
|
|
3721
|
+
*/
|
|
3722
|
+
"hideLabel"?: boolean;
|
|
3723
|
+
/**
|
|
3724
|
+
* Sets the ID for the radio button’s input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
3725
|
+
*/
|
|
3726
|
+
"inputId"?: string;
|
|
3727
|
+
/**
|
|
3728
|
+
* The label displayed next to the toggle.
|
|
3729
|
+
*/
|
|
3730
|
+
"label"?: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* Determines the position of the label relative to the toggle, either 'start' (before) or 'end' (after).
|
|
3733
|
+
*/
|
|
3734
|
+
"labelPlacement"?: `${LabelPlacement}`;
|
|
3735
|
+
/**
|
|
3736
|
+
* The name attribute for the toggle input, used to reference the form data after submission.
|
|
3737
|
+
*/
|
|
3738
|
+
"name"?: string;
|
|
3739
|
+
/**
|
|
3740
|
+
* Emits when the checked state changes.
|
|
3741
|
+
* @bind checked
|
|
3742
|
+
*/
|
|
3743
|
+
"onCheckedChanged"?: (event: NvToggleCustomEvent<boolean>) => void;
|
|
3744
|
+
/**
|
|
3745
|
+
* Sets the toggle to read-only, preventing user changes but still allowing focus and selection of text.
|
|
3746
|
+
*/
|
|
3747
|
+
"readonly"?: boolean;
|
|
3748
|
+
/**
|
|
3749
|
+
* The value attribute of the toggle input, representing the value sent on form submission when the toggle is checked.
|
|
3750
|
+
*/
|
|
3751
|
+
"value"?: string;
|
|
3752
|
+
}
|
|
3340
3753
|
interface NvTooltip {
|
|
3341
3754
|
/**
|
|
3342
3755
|
* Controls how long (in milliseconds) the tooltip waits to show after you hover over or focus on an element. If you move away before the delay is up, the tooltip won’t appear.
|
|
@@ -3366,6 +3779,9 @@ declare namespace LocalJSX {
|
|
|
3366
3779
|
"nv-datagriddatacell": NvDatagriddatacell;
|
|
3367
3780
|
"nv-datagridhead": NvDatagridhead;
|
|
3368
3781
|
"nv-datagridrow": NvDatagridrow;
|
|
3782
|
+
"nv-dialog": NvDialog;
|
|
3783
|
+
"nv-dialogfooter": NvDialogfooter;
|
|
3784
|
+
"nv-dialogheader": NvDialogheader;
|
|
3369
3785
|
"nv-fieldcheckbox": NvFieldcheckbox;
|
|
3370
3786
|
"nv-fielddropdown": NvFielddropdown;
|
|
3371
3787
|
"nv-fielddropdownitem": NvFielddropdownitem;
|
|
@@ -3377,7 +3793,7 @@ declare namespace LocalJSX {
|
|
|
3377
3793
|
"nv-fieldselect": NvFieldselect;
|
|
3378
3794
|
"nv-fieldtext": NvFieldtext;
|
|
3379
3795
|
"nv-fieldtextarea": NvFieldtextarea;
|
|
3380
|
-
"nv-
|
|
3796
|
+
"nv-fieldtime": NvFieldtime;
|
|
3381
3797
|
"nv-icon": NvIcon;
|
|
3382
3798
|
"nv-iconbutton": NvIconbutton;
|
|
3383
3799
|
"nv-loader": NvLoader;
|
|
@@ -3392,6 +3808,7 @@ declare namespace LocalJSX {
|
|
|
3392
3808
|
"nv-tabledatacell": NvTabledatacell;
|
|
3393
3809
|
"nv-tablehead": NvTablehead;
|
|
3394
3810
|
"nv-tablerow": NvTablerow;
|
|
3811
|
+
"nv-toggle": NvToggle;
|
|
3395
3812
|
"nv-tooltip": NvTooltip;
|
|
3396
3813
|
}
|
|
3397
3814
|
}
|
|
@@ -3419,6 +3836,9 @@ declare module "@stencil/core" {
|
|
|
3419
3836
|
"nv-datagriddatacell": LocalJSX.NvDatagriddatacell & JSXBase.HTMLAttributes<HTMLNvDatagriddatacellElement>;
|
|
3420
3837
|
"nv-datagridhead": LocalJSX.NvDatagridhead & JSXBase.HTMLAttributes<HTMLNvDatagridheadElement>;
|
|
3421
3838
|
"nv-datagridrow": LocalJSX.NvDatagridrow & JSXBase.HTMLAttributes<HTMLNvDatagridrowElement>;
|
|
3839
|
+
"nv-dialog": LocalJSX.NvDialog & JSXBase.HTMLAttributes<HTMLNvDialogElement>;
|
|
3840
|
+
"nv-dialogfooter": LocalJSX.NvDialogfooter & JSXBase.HTMLAttributes<HTMLNvDialogfooterElement>;
|
|
3841
|
+
"nv-dialogheader": LocalJSX.NvDialogheader & JSXBase.HTMLAttributes<HTMLNvDialogheaderElement>;
|
|
3422
3842
|
"nv-fieldcheckbox": LocalJSX.NvFieldcheckbox & JSXBase.HTMLAttributes<HTMLNvFieldcheckboxElement>;
|
|
3423
3843
|
"nv-fielddropdown": LocalJSX.NvFielddropdown & JSXBase.HTMLAttributes<HTMLNvFielddropdownElement>;
|
|
3424
3844
|
"nv-fielddropdownitem": LocalJSX.NvFielddropdownitem & JSXBase.HTMLAttributes<HTMLNvFielddropdownitemElement>;
|
|
@@ -3430,7 +3850,7 @@ declare module "@stencil/core" {
|
|
|
3430
3850
|
"nv-fieldselect": LocalJSX.NvFieldselect & JSXBase.HTMLAttributes<HTMLNvFieldselectElement>;
|
|
3431
3851
|
"nv-fieldtext": LocalJSX.NvFieldtext & JSXBase.HTMLAttributes<HTMLNvFieldtextElement>;
|
|
3432
3852
|
"nv-fieldtextarea": LocalJSX.NvFieldtextarea & JSXBase.HTMLAttributes<HTMLNvFieldtextareaElement>;
|
|
3433
|
-
"nv-
|
|
3853
|
+
"nv-fieldtime": LocalJSX.NvFieldtime & JSXBase.HTMLAttributes<HTMLNvFieldtimeElement>;
|
|
3434
3854
|
"nv-icon": LocalJSX.NvIcon & JSXBase.HTMLAttributes<HTMLNvIconElement>;
|
|
3435
3855
|
"nv-iconbutton": LocalJSX.NvIconbutton & JSXBase.HTMLAttributes<HTMLNvIconbuttonElement>;
|
|
3436
3856
|
"nv-loader": LocalJSX.NvLoader & JSXBase.HTMLAttributes<HTMLNvLoaderElement>;
|
|
@@ -3448,6 +3868,7 @@ declare module "@stencil/core" {
|
|
|
3448
3868
|
"nv-tabledatacell": LocalJSX.NvTabledatacell & JSXBase.HTMLAttributes<HTMLNvTabledatacellElement>;
|
|
3449
3869
|
"nv-tablehead": LocalJSX.NvTablehead & JSXBase.HTMLAttributes<HTMLNvTableheadElement>;
|
|
3450
3870
|
"nv-tablerow": LocalJSX.NvTablerow & JSXBase.HTMLAttributes<HTMLNvTablerowElement>;
|
|
3871
|
+
"nv-toggle": LocalJSX.NvToggle & JSXBase.HTMLAttributes<HTMLNvToggleElement>;
|
|
3451
3872
|
"nv-tooltip": LocalJSX.NvTooltip & JSXBase.HTMLAttributes<HTMLNvTooltipElement>;
|
|
3452
3873
|
}
|
|
3453
3874
|
}
|