@nova-design-system/nova-webcomponents 3.25.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/i18n.utils-BbKpUgYq.js +77 -0
- package/dist/cjs/{index-BQjqJTJB.js → index-Cfkoz1kc.js} +5 -1
- package/dist/cjs/index.cjs.js +54 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nv-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +6 -4
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/nv-button.cjs.entry.js +2 -2
- package/dist/cjs/nv-buttongroup.cjs.entry.js +3 -3
- package/dist/cjs/nv-calendar.cjs.entry.js +3 -12
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +3 -3
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialog.cjs.entry.js +16 -3
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddate.cjs.entry.js +7 -7
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -8
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +20 -19
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +16 -15
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldradio.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldselect.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +31 -29
- package/dist/cjs/nv-fieldtime.cjs.entry.js +4 -4
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +2 -2
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -2
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +198 -0
- package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +12 -5
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-split.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-table.cjs.entry.js +4 -2
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +4 -4
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/nv-badge/nv-badge.css +4 -1
- package/dist/collection/components/nv-badge/nv-badge.js +3 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.js +1 -1
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.js +1 -1
- package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +4 -4
- package/dist/collection/components/nv-calendar/nv-calendar.js +2 -11
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +0 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +15 -2
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +9 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -7
- package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +0 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldradio/styles/nv-fieldradio.css +20 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +14 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +50 -29
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -4
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
- package/dist/collection/components/nv-notification/nv-notification.js +1 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.css +37 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.docs.js +278 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +359 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.utils.js +70 -0
- package/dist/collection/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.js +66 -0
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +0 -1
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +3 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +11 -4
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +1 -2
- package/dist/collection/components/nv-table/nv-table.utils.js +2 -0
- package/dist/collection/components/nv-table/test/nv-table.utils.test.js +0 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.css +26 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.css +7 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/test/class.utils.test.js +0 -1
- package/dist/collection/utils/test/dom.utils.test.js +0 -1
- package/dist/components/_.entry.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-buttongroup.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-drawerheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +1 -1
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification-bullet.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.d.ts +11 -0
- package/dist/components/nv-pagination-nav.js +1 -0
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-iXsbKJzR.js → p-6nAIGZFL.js} +1 -1
- package/dist/components/{p-CPjfMClF.js → p-BBy1Mdgv.js} +1 -1
- package/dist/components/{p-Cfr9uriB.js → p-BMpkyzCW.js} +1 -1
- package/dist/components/{p-Cq5FI49y.js → p-Ba1zVklG.js} +1 -1
- package/dist/components/p-BaF3Tuua.js +1 -0
- package/dist/components/{p-mWVXEsBF.js → p-BvxuoODv.js} +1 -1
- package/dist/components/{p-yHGZRC6Q.js → p-BwYt1BAb.js} +1 -1
- package/dist/components/{p-C_a7VT_H.js → p-CAGzfU3O.js} +1 -1
- package/dist/components/p-CR9MpYzU.js +1 -0
- package/dist/components/{p-Bg-b6OWh.js → p-CV12ukSl.js} +1 -1
- package/dist/components/{p-BJSrJH9I.js → p-CZkFkVd8.js} +1 -1
- package/dist/components/p-CcmfuwSa.js +1 -0
- package/dist/components/p-CqJqzGJS.js +1 -0
- package/dist/components/{p-Nf-dwTsx.js → p-D-MnI-R8.js} +1 -1
- package/dist/components/{p-D7xBylwr.js → p-D0bGRzSN.js} +1 -1
- package/dist/components/p-DC_2597n.js +1 -0
- package/dist/components/{p-C6LzzMQm.js → p-Db4JZxyy.js} +1 -1
- package/dist/components/{p-Cw5yG8cD.js → p-DlOgBZa8.js} +2 -2
- package/dist/components/{p-BkqfOhkU.js → p-DrgqO3gF.js} +1 -1
- package/dist/components/{p-C-MlXMFg.js → p-Ho_7-x5W.js} +1 -1
- package/dist/components/{p-D_JRZMC-.js → p-IzPWk8zx.js} +1 -1
- package/dist/components/{p-DkC2jlrw.js → p-S18SgvAW.js} +1 -1
- package/dist/components/{p-tJDdN0lo.js → p-T-bBxAoT.js} +1 -1
- package/dist/components/{p-CskCUxuV.js → p-kMTGXpRx.js} +1 -1
- package/dist/components/p-uAXqRBhx.js +1 -0
- package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
- package/dist/esm/{index-S-IZ4AN_.js → index-BCjiE1MF.js} +5 -1
- package/dist/esm/index.js +53 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nv-accordion-item.entry.js +1 -1
- package/dist/esm/nv-accordion.entry.js +1 -1
- package/dist/esm/nv-alert.entry.js +1 -1
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +6 -4
- package/dist/esm/nv-breadcrumb.entry.js +2 -2
- package/dist/esm/nv-breadcrumbs.entry.js +2 -2
- package/dist/esm/nv-button.entry.js +2 -2
- package/dist/esm/nv-buttongroup.entry.js +3 -3
- package/dist/esm/nv-calendar.entry.js +3 -12
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +3 -3
- package/dist/esm/nv-datagridcolumn.entry.js +2 -2
- package/dist/esm/nv-dialog.entry.js +16 -3
- package/dist/esm/nv-dialogfooter_2.entry.js +3 -3
- package/dist/esm/nv-drawer.entry.js +2 -2
- package/dist/esm/nv-drawerfooter_2.entry.js +3 -3
- package/dist/esm/nv-fieldcheckbox.entry.js +6 -6
- package/dist/esm/nv-fielddate.entry.js +7 -7
- package/dist/esm/nv-fielddaterange.entry.js +7 -8
- package/dist/esm/nv-fielddropdown.entry.js +7 -6
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +3 -2
- package/dist/esm/nv-fieldnumber.entry.js +5 -5
- package/dist/esm/nv-fieldpassword.entry.js +5 -5
- package/dist/esm/nv-fieldradio.entry.js +5 -5
- package/dist/esm/nv-fieldselect.entry.js +6 -6
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +5 -5
- package/dist/esm/nv-fieldtextarea.entry.js +31 -29
- package/dist/esm/nv-fieldtime.entry.js +4 -4
- package/dist/esm/nv-icon.entry.js +3 -3
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-notification-bullet.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +2 -2
- package/dist/esm/nv-notificationcontainer.entry.js +2 -2
- package/dist/esm/nv-pagination-nav.entry.js +196 -0
- package/dist/esm/nv-paginationtable.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-sidebar.entry.js +2 -2
- package/dist/esm/nv-sidebarcontent.entry.js +2 -2
- package/dist/esm/nv-sidebardivider.entry.js +2 -2
- package/dist/esm/nv-sidebarfooter.entry.js +2 -2
- package/dist/esm/nv-sidebargroup.entry.js +2 -2
- package/dist/esm/nv-sidebarheader.entry.js +2 -2
- package/dist/esm/nv-sidebarlogo.entry.js +2 -2
- package/dist/esm/nv-sidebarnavitem.entry.js +12 -5
- package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
- package/dist/esm/nv-split.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-table.entry.js +4 -2
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +4 -4
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +3 -3
- package/dist/esm/{i18n.utils-IlwlcG9l.js → worker-client-BaF3Tuua.js} +20 -74
- package/dist/lib/scripts/nextjs-entry-shim.js +25 -0
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-4016851b.entry.js → p-03cc1f2c.entry.js} +1 -1
- package/dist/native/{p-1bf1a213.entry.js → p-0fe84123.entry.js} +1 -1
- package/dist/native/{p-29f0730f.entry.js → p-148c1d3e.entry.js} +1 -1
- package/dist/native/{p-4c29c4c7.entry.js → p-157c5ac8.entry.js} +1 -1
- package/dist/native/p-18bdc07a.entry.js +1 -0
- package/dist/native/{p-ff7eae44.entry.js → p-1aea6fe0.entry.js} +1 -1
- package/dist/native/p-1c97c353.entry.js +1 -0
- package/dist/native/p-1e0ca4df.entry.js +1 -0
- package/dist/native/{p-5fb6d986.entry.js → p-1f8cc03a.entry.js} +1 -1
- package/dist/native/p-23f0ca96.entry.js +1 -0
- package/dist/native/{p-6ba310e8.entry.js → p-24ce0c8d.entry.js} +1 -1
- package/dist/native/{p-a813f497.entry.js → p-24f69387.entry.js} +1 -1
- package/dist/native/p-25ef7329.entry.js +1 -0
- package/dist/native/{p-ad05cef2.entry.js → p-31ba86b3.entry.js} +1 -1
- package/dist/native/{p-997a2268.entry.js → p-34e19b6e.entry.js} +1 -1
- package/dist/native/{p-70fa3c6b.entry.js → p-39366f18.entry.js} +1 -1
- package/dist/native/{p-1b37bf6c.entry.js → p-3a35cf46.entry.js} +1 -1
- package/dist/native/p-46267895.entry.js +1 -0
- package/dist/native/{p-00b80d2b.entry.js → p-539c04ad.entry.js} +1 -1
- package/dist/native/{p-1c86c5b8.entry.js → p-56593bf0.entry.js} +1 -1
- package/dist/native/{p-2623b212.entry.js → p-591f3dcc.entry.js} +1 -1
- package/dist/native/p-597cac0f.entry.js +1 -0
- package/dist/native/{p-32cbc18b.entry.js → p-5a7e46ad.entry.js} +1 -1
- package/dist/native/{p-e1021e2c.entry.js → p-5c003e50.entry.js} +1 -1
- package/dist/native/p-5ce3d30b.entry.js +1 -0
- package/dist/native/p-5f42a7f1.entry.js +1 -0
- package/dist/native/{p-3c09e565.entry.js → p-6742f88f.entry.js} +1 -1
- package/dist/native/{p-5cbf5973.entry.js → p-67e0680e.entry.js} +1 -1
- package/dist/native/p-6f3c3e2a.entry.js +1 -0
- package/dist/native/{p-e371a958.entry.js → p-7aac0b1a.entry.js} +1 -1
- package/dist/native/{p-99051651.entry.js → p-7d49e88d.entry.js} +1 -1
- package/dist/native/{p-df59dee0.entry.js → p-7ec28d5d.entry.js} +1 -1
- package/dist/native/p-855f7be1.entry.js +1 -0
- package/dist/native/{p-3ac56d5f.entry.js → p-87758615.entry.js} +1 -1
- package/dist/native/{p-84202d8a.entry.js → p-8a0dc37b.entry.js} +1 -1
- package/dist/native/{p-3bd49efe.entry.js → p-8f76e030.entry.js} +1 -1
- package/dist/native/{p-6f368c8d.entry.js → p-90b8b889.entry.js} +1 -1
- package/dist/native/p-927b655d.entry.js +1 -0
- package/dist/native/{p-98de77f8.entry.js → p-9709c7d5.entry.js} +1 -1
- package/dist/native/p-99726dd4.entry.js +1 -0
- package/dist/native/{p-6ccea920.entry.js → p-9fda1976.entry.js} +1 -1
- package/dist/native/{p-S-IZ4AN_.js → p-BCjiE1MF.js} +1 -1
- package/dist/native/p-BaF3Tuua.js +1 -0
- package/dist/native/p-CR9MpYzU.js +1 -0
- package/dist/native/{p-91f71346.entry.js → p-a16f8a14.entry.js} +1 -1
- package/dist/native/{p-0242699e.entry.js → p-a6b3256b.entry.js} +1 -1
- package/dist/native/{p-184b4f0d.entry.js → p-b3964a1c.entry.js} +1 -1
- package/dist/native/{p-87f35ce1.entry.js → p-bb43a3b4.entry.js} +1 -1
- package/dist/native/{p-34cce087.entry.js → p-c0b05d6f.entry.js} +1 -1
- package/dist/native/p-c214e4af.entry.js +1 -0
- package/dist/native/p-c29dc907.entry.js +1 -0
- package/dist/native/{p-b65f3418.entry.js → p-d12a2841.entry.js} +1 -1
- package/dist/native/p-d46bd21a.entry.js +1 -0
- package/dist/native/{p-ca3b996b.entry.js → p-d6e2e120.entry.js} +1 -1
- package/dist/native/p-ddedc9c1.entry.js +1 -0
- package/dist/native/{p-a6287e55.entry.js → p-eb8ba7a2.entry.js} +1 -1
- package/dist/native/{p-4725d9aa.entry.js → p-ebff7ddb.entry.js} +1 -1
- package/dist/native/p-ecce3e66.entry.js +1 -0
- package/dist/native/{p-7f3c3c29.entry.js → p-f9612edf.entry.js} +1 -1
- package/dist/native/p-f9e4daf7.entry.js +1 -0
- package/dist/native/{p-2106dfbd.entry.js → p-fb34fc7d.entry.js} +1 -1
- package/dist/native/{p-98ea927d.entry.js → p-fd5e27ae.entry.js} +1 -1
- package/dist/types/components/nv-dialog/nv-dialog.d.ts +9 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.d.ts +82 -0
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.docs.d.ts +4 -0
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.utils.d.ts +26 -0
- package/dist/types/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.d.ts +1 -0
- package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.d.ts +2 -0
- package/dist/types/components.d.ts +159 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/nova-docs.d.ts +0 -1
- package/dist/vscode-data.json +54 -1
- package/hydrate/index.js +381 -145
- package/hydrate/index.mjs +381 -145
- package/package.json +6 -2
- package/dist/components/p-BqRuoNHJ.js +0 -1
- package/dist/components/p-CGXDiomF.js +0 -1
- package/dist/components/p-ChRIFm7p.js +0 -1
- package/dist/components/p-IlwlcG9l.js +0 -1
- package/dist/components/p-r3_atQ9r.js +0 -1
- package/dist/native/p-01d09dfa.entry.js +0 -1
- package/dist/native/p-09b88c8d.entry.js +0 -1
- package/dist/native/p-1a1a6bbf.entry.js +0 -1
- package/dist/native/p-223814fe.entry.js +0 -1
- package/dist/native/p-2b7e621a.entry.js +0 -1
- package/dist/native/p-38e981f2.entry.js +0 -1
- package/dist/native/p-3e949805.entry.js +0 -1
- package/dist/native/p-4bda5842.entry.js +0 -1
- package/dist/native/p-6a548776.entry.js +0 -1
- package/dist/native/p-6e9b95fa.entry.js +0 -1
- package/dist/native/p-IlwlcG9l.js +0 -1
- package/dist/native/p-a60660f6.entry.js +0 -1
- package/dist/native/p-bf8b0be2.entry.js +0 -1
- package/dist/native/p-d9c1287c.entry.js +0 -1
- package/dist/native/p-d9cebb66.entry.js +0 -1
- package/dist/native/p-da417f83.entry.js +0 -1
- package/dist/native/p-e5dbacf6.entry.js +0 -1
- package/dist/native/p-ed19f3dc.entry.js +0 -1
- package/dist/native/p-f1b6d43b.entry.js +0 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @fileoverview Internationalization utilities for Nova components.
|
|
5
|
+
* Provides automatic locale detection and default translations.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Default translations for truncated results text.
|
|
9
|
+
* Supports placeholders: {shown} and {total}
|
|
10
|
+
*/
|
|
11
|
+
const TRUNCATED_RESULTS_TRANSLATIONS = {
|
|
12
|
+
en: '{shown} results shown out of {total} — refine your search',
|
|
13
|
+
fr: '{shown} résultats affichés sur {total} — affinez votre recherche',
|
|
14
|
+
de: '{shown} von {total} Ergebnissen angezeigt — verfeinern Sie Ihre Suche',
|
|
15
|
+
es: '{shown} resultados mostrados de {total} — refine su búsqueda',
|
|
16
|
+
it: '{shown} risultati mostrati su {total} — perfeziona la tua ricerca',
|
|
17
|
+
nl: '{shown} resultaten getoond van {total} — verfijn uw zoekopdracht',
|
|
18
|
+
pt: '{shown} resultados exibidos de {total} — refine sua pesquisa',
|
|
19
|
+
ru: '{shown} результатов показано из {total} — уточните поиск',
|
|
20
|
+
ja: '{shown}件の結果が{total}件中表示されています — 検索を絞り込んでください',
|
|
21
|
+
zh: '{shown}个结果,共{total}个 — 请细化您的搜索',
|
|
22
|
+
ko: '{shown}개 결과가 {total}개 중 표시됨 — 검색을 구체화하세요',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Gets the browser's locale (language code).
|
|
26
|
+
* Falls back to 'en' if detection fails.
|
|
27
|
+
*
|
|
28
|
+
* @returns {string} The locale code (e.g., 'en', 'fr', 'de')
|
|
29
|
+
*/
|
|
30
|
+
function getBrowserLocale() {
|
|
31
|
+
if (typeof navigator === 'undefined') {
|
|
32
|
+
return 'en';
|
|
33
|
+
}
|
|
34
|
+
// Try navigator.language first (e.g., 'en-US', 'fr-FR')
|
|
35
|
+
const language = navigator.language || navigator.languages?.[0] || 'en';
|
|
36
|
+
// Extract the base language code (e.g., 'en' from 'en-US')
|
|
37
|
+
return language.split('-')[0].toLowerCase();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Gets the localized truncated results text.
|
|
41
|
+
* Automatically detects browser locale and provides appropriate translation.
|
|
42
|
+
* Falls back to English if translation is not available.
|
|
43
|
+
*
|
|
44
|
+
* @param {string} [locale] - Optional locale override. If not provided, uses browser locale.
|
|
45
|
+
* @returns {string} The localized text with placeholders {shown} and {total}
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* getTruncatedResultsText() // Uses browser locale
|
|
49
|
+
* getTruncatedResultsText('fr') // Returns French translation
|
|
50
|
+
* getTruncatedResultsText('de') // Returns German translation
|
|
51
|
+
*/
|
|
52
|
+
function getTruncatedResultsText(locale) {
|
|
53
|
+
const targetLocale = locale
|
|
54
|
+
? locale.split('-')[0].toLowerCase()
|
|
55
|
+
: getBrowserLocale();
|
|
56
|
+
return (TRUNCATED_RESULTS_TRANSLATIONS[targetLocale] ||
|
|
57
|
+
TRUNCATED_RESULTS_TRANSLATIONS.en);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Formats the truncated results text by replacing placeholders with actual values.
|
|
61
|
+
*
|
|
62
|
+
* @param {string} template - The text template with {shown} and {total} placeholders
|
|
63
|
+
* @param {number} shown - The number of items shown
|
|
64
|
+
* @param {number} total - The total number of items
|
|
65
|
+
* @returns {string} The formatted text with replaced placeholders
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* formatTruncatedResults('{shown} of {total}', 10, 100) // '10 of 100'
|
|
69
|
+
*/
|
|
70
|
+
function formatTruncatedResults(template, shown, total) {
|
|
71
|
+
return template
|
|
72
|
+
.replace(/{shown}/g, String(shown))
|
|
73
|
+
.replace(/{total}/g, String(total));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
exports.formatTruncatedResults = formatTruncatedResults;
|
|
77
|
+
exports.getTruncatedResultsText = getTruncatedResultsText;
|