@nova-design-system/nova-webcomponents 3.0.0-beta.17
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/LICENSE.MD +157 -0
- package/dist/blazor-docs.json +9342 -0
- package/dist/cjs/app-globals-2ceecab2.js +11 -0
- package/dist/cjs/app-globals-2ceecab2.js.map +1 -0
- package/dist/cjs/clsx-fc789adc.js +7 -0
- package/dist/cjs/clsx-fc789adc.js.map +1 -0
- package/dist/cjs/constants-33057c89.js +140 -0
- package/dist/cjs/constants-33057c89.js.map +1 -0
- package/dist/cjs/fade.animation-0d33d198.js +1875 -0
- package/dist/cjs/fade.animation-0d33d198.js.map +1 -0
- package/dist/cjs/grow.animation-46e7ae4b.js +119 -0
- package/dist/cjs/grow.animation-46e7ae4b.js.map +1 -0
- package/dist/cjs/index-5d1f2412.js +1984 -0
- package/dist/cjs/index-5d1f2412.js.map +1 -0
- package/dist/cjs/index.cjs.js +494 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/native.cjs.js +48 -0
- package/dist/cjs/native.cjs.js.map +1 -0
- package/dist/cjs/nv-alert.cjs.entry.js +140 -0
- package/dist/cjs/nv-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-avatar.cjs.entry.js +73 -0
- package/dist/cjs/nv-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-badge.cjs.entry.js +119 -0
- package/dist/cjs/nv-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-base.cjs.entry.js +75 -0
- package/dist/cjs/nv-base.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-button.cjs.entry.js +91 -0
- package/dist/cjs/nv-button.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-col.cjs.entry.js +41 -0
- package/dist/cjs/nv-col.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +94 -0
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +94 -0
- package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +79 -0
- package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldradio.cjs.entry.js +81 -0
- package/dist/cjs/nv-fieldradio.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldselect.cjs.entry.js +290 -0
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldtext.cjs.entry.js +83 -0
- package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +151 -0
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldtoggle.cjs.entry.js +64 -0
- package/dist/cjs/nv-fieldtoggle.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-icon.cjs.entry.js +66 -0
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-iconbutton.cjs.entry.js +92 -0
- package/dist/cjs/nv-iconbutton.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-loader.cjs.entry.js +29 -0
- package/dist/cjs/nv-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-menu.cjs.entry.js +189 -0
- package/dist/cjs/nv-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-menuitem.cjs.entry.js +30 -0
- package/dist/cjs/nv-menuitem.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-popover.cjs.entry.js +2327 -0
- package/dist/cjs/nv-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-row.cjs.entry.js +24 -0
- package/dist/cjs/nv-row.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-stack.cjs.entry.js +31 -0
- package/dist/cjs/nv-stack.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-tooltip.cjs.entry.js +37 -0
- package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/timeline.animation-dbb9c5ea.js +107 -0
- package/dist/cjs/timeline.animation-dbb9c5ea.js.map +1 -0
- package/dist/cjs/v4-7014b8b0.js +67 -0
- package/dist/cjs/v4-7014b8b0.js.map +1 -0
- package/dist/collection/animations/collapse.animation.js +82 -0
- package/dist/collection/animations/collapse.animation.js.map +1 -0
- package/dist/collection/animations/fade.animation.js +66 -0
- package/dist/collection/animations/fade.animation.js.map +1 -0
- package/dist/collection/animations/grow.animation.js +87 -0
- package/dist/collection/animations/grow.animation.js.map +1 -0
- package/dist/collection/animations/index.js +5 -0
- package/dist/collection/animations/index.js.map +1 -0
- package/dist/collection/animations/timeline.animation.js +21 -0
- package/dist/collection/animations/timeline.animation.js.map +1 -0
- package/dist/collection/collection-manifest.json +35 -0
- package/dist/collection/components/nv-alert/nv-alert.css +113 -0
- package/dist/collection/components/nv-alert/nv-alert.docs.js +61 -0
- package/dist/collection/components/nv-alert/nv-alert.docs.js.map +1 -0
- package/dist/collection/components/nv-alert/nv-alert.js +355 -0
- package/dist/collection/components/nv-alert/nv-alert.js.map +1 -0
- package/dist/collection/components/nv-avatar/nv-avatar.css +154 -0
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js +42 -0
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js.map +1 -0
- package/dist/collection/components/nv-avatar/nv-avatar.js +311 -0
- package/dist/collection/components/nv-avatar/nv-avatar.js.map +1 -0
- package/dist/collection/components/nv-badge/nv-badge.css +174 -0
- package/dist/collection/components/nv-badge/nv-badge.docs.js +72 -0
- package/dist/collection/components/nv-badge/nv-badge.docs.js.map +1 -0
- package/dist/collection/components/nv-badge/nv-badge.js +354 -0
- package/dist/collection/components/nv-badge/nv-badge.js.map +1 -0
- package/dist/collection/components/nv-base/nv-base.docs.js +5 -0
- package/dist/collection/components/nv-base/nv-base.docs.js.map +1 -0
- package/dist/collection/components/nv-base/nv-base.js +69 -0
- package/dist/collection/components/nv-base/nv-base.js.map +1 -0
- package/dist/collection/components/nv-button/nv-button.css +259 -0
- package/dist/collection/components/nv-button/nv-button.docs.js +56 -0
- package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -0
- package/dist/collection/components/nv-button/nv-button.js +241 -0
- package/dist/collection/components/nv-button/nv-button.js.map +1 -0
- package/dist/collection/components/nv-col/nv-col.css +45 -0
- package/dist/collection/components/nv-col/nv-col.docs.js +18 -0
- package/dist/collection/components/nv-col/nv-col.docs.js.map +1 -0
- package/dist/collection/components/nv-col/nv-col.js +63 -0
- package/dist/collection/components/nv-col/nv-col.js.map +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +136 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +231 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +448 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js.map +1 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +183 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +180 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +435 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +149 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +189 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +465 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.css +133 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +121 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +347 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js.map +1 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.css +197 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +157 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +610 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +141 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +206 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +499 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +141 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +175 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +527 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -0
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.css +114 -0
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.docs.js +65 -0
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +283 -0
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js.map +1 -0
- package/dist/collection/components/nv-icon/nv-icon.css +32 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js +31 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js.map +1 -0
- package/dist/collection/components/nv-icon/nv-icon.js +245 -0
- package/dist/collection/components/nv-icon/nv-icon.js.map +1 -0
- package/dist/collection/components/nv-icon/nv-icons.js +450 -0
- package/dist/collection/components/nv-icon/nv-icons.js.map +1 -0
- package/dist/collection/components/nv-icon/test/nv-icon.test.js +25 -0
- package/dist/collection/components/nv-icon/test/nv-icon.test.js.map +1 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.css +152 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +61 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js.map +1 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +263 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js.map +1 -0
- package/dist/collection/components/nv-loader/nv-loader.css +162 -0
- package/dist/collection/components/nv-loader/nv-loader.docs.js +27 -0
- package/dist/collection/components/nv-loader/nv-loader.docs.js.map +1 -0
- package/dist/collection/components/nv-loader/nv-loader.js +78 -0
- package/dist/collection/components/nv-loader/nv-loader.js.map +1 -0
- package/dist/collection/components/nv-menu/nv-menu.css +61 -0
- package/dist/collection/components/nv-menu/nv-menu.docs.js +40 -0
- package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -0
- package/dist/collection/components/nv-menu/nv-menu.js +355 -0
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -0
- package/dist/collection/components/nv-menuitem/nv-menuitem.css +29 -0
- package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +6 -0
- package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js.map +1 -0
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +111 -0
- package/dist/collection/components/nv-menuitem/nv-menuitem.js.map +1 -0
- package/dist/collection/components/nv-popover/nv-popover.css +42 -0
- package/dist/collection/components/nv-popover/nv-popover.docs.js +74 -0
- package/dist/collection/components/nv-popover/nv-popover.docs.js.map +1 -0
- package/dist/collection/components/nv-popover/nv-popover.js +587 -0
- package/dist/collection/components/nv-popover/nv-popover.js.map +1 -0
- package/dist/collection/components/nv-row/nv-row.css +7 -0
- package/dist/collection/components/nv-row/nv-row.docs.js +13 -0
- package/dist/collection/components/nv-row/nv-row.docs.js.map +1 -0
- package/dist/collection/components/nv-row/nv-row.js +23 -0
- package/dist/collection/components/nv-row/nv-row.js.map +1 -0
- package/dist/collection/components/nv-stack/nv-stack.css +61 -0
- package/dist/collection/components/nv-stack/nv-stack.docs.js +39 -0
- package/dist/collection/components/nv-stack/nv-stack.docs.js.map +1 -0
- package/dist/collection/components/nv-stack/nv-stack.js +123 -0
- package/dist/collection/components/nv-stack/nv-stack.js.map +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.css +22 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +38 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js.map +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +102 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js.map +1 -0
- package/dist/collection/dev/dev-components.js +3 -0
- package/dist/collection/dev/dev-components.js.map +1 -0
- package/dist/collection/dev/dev-forms.js +3 -0
- package/dist/collection/dev/dev-forms.js.map +1 -0
- package/dist/collection/dev/dev-root.js +23 -0
- package/dist/collection/dev/dev-root.js.map +1 -0
- package/dist/collection/dev/dev-utils.js +54 -0
- package/dist/collection/dev/dev-utils.js.map +1 -0
- package/dist/collection/fonts/TT_Norms_Pro_Bold.woff2 +0 -0
- package/dist/collection/fonts/TT_Norms_Pro_Medium.woff2 +0 -0
- package/dist/collection/fonts/TT_Norms_Pro_Mono_Bold.woff2 +0 -0
- package/dist/collection/fonts/TT_Norms_Pro_Mono_Medium.woff2 +0 -0
- package/dist/collection/fonts/TT_Norms_Pro_Mono_Regular.woff2 +0 -0
- package/dist/collection/fonts/TT_Norms_Pro_Regular.woff2 +0 -0
- package/dist/collection/global.js +6 -0
- package/dist/collection/global.js.map +1 -0
- package/dist/collection/index.js +10 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/class.utils.js +15 -0
- package/dist/collection/utils/class.utils.js.map +1 -0
- package/dist/collection/utils/constants.js +122 -0
- package/dist/collection/utils/constants.js.map +1 -0
- package/dist/collection/utils/events.utils.js +19 -0
- package/dist/collection/utils/events.utils.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +488 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/nv-alert.d.ts +11 -0
- package/dist/components/nv-alert.js +171 -0
- package/dist/components/nv-alert.js.map +1 -0
- package/dist/components/nv-avatar.d.ts +11 -0
- package/dist/components/nv-avatar.js +106 -0
- package/dist/components/nv-avatar.js.map +1 -0
- package/dist/components/nv-badge.d.ts +11 -0
- package/dist/components/nv-badge.js +154 -0
- package/dist/components/nv-badge.js.map +1 -0
- package/dist/components/nv-base.d.ts +11 -0
- package/dist/components/nv-base.js +89 -0
- package/dist/components/nv-base.js.map +1 -0
- package/dist/components/nv-button.d.ts +11 -0
- package/dist/components/nv-button.js +116 -0
- package/dist/components/nv-button.js.map +1 -0
- package/dist/components/nv-col.d.ts +11 -0
- package/dist/components/nv-col.js +57 -0
- package/dist/components/nv-col.js.map +1 -0
- package/dist/components/nv-fieldcheckbox.d.ts +11 -0
- package/dist/components/nv-fieldcheckbox.js +128 -0
- package/dist/components/nv-fieldcheckbox.js.map +1 -0
- package/dist/components/nv-fieldnumber.d.ts +11 -0
- package/dist/components/nv-fieldnumber.js +134 -0
- package/dist/components/nv-fieldnumber.js.map +1 -0
- package/dist/components/nv-fieldpassword.d.ts +11 -0
- package/dist/components/nv-fieldpassword.js +134 -0
- package/dist/components/nv-fieldpassword.js.map +1 -0
- package/dist/components/nv-fieldradio.d.ts +11 -0
- package/dist/components/nv-fieldradio.js +110 -0
- package/dist/components/nv-fieldradio.js.map +1 -0
- package/dist/components/nv-fieldselect.d.ts +11 -0
- package/dist/components/nv-fieldselect.js +332 -0
- package/dist/components/nv-fieldselect.js.map +1 -0
- package/dist/components/nv-fieldtext.d.ts +11 -0
- package/dist/components/nv-fieldtext.js +125 -0
- package/dist/components/nv-fieldtext.js.map +1 -0
- package/dist/components/nv-fieldtextarea.d.ts +11 -0
- package/dist/components/nv-fieldtextarea.js +188 -0
- package/dist/components/nv-fieldtextarea.js.map +1 -0
- package/dist/components/nv-fieldtoggle.d.ts +11 -0
- package/dist/components/nv-fieldtoggle.js +91 -0
- package/dist/components/nv-fieldtoggle.js.map +1 -0
- package/dist/components/nv-icon.d.ts +11 -0
- package/dist/components/nv-icon.js +8 -0
- package/dist/components/nv-icon.js.map +1 -0
- package/dist/components/nv-iconbutton.d.ts +11 -0
- package/dist/components/nv-iconbutton.js +8 -0
- package/dist/components/nv-iconbutton.js.map +1 -0
- package/dist/components/nv-loader.d.ts +11 -0
- package/dist/components/nv-loader.js +8 -0
- package/dist/components/nv-loader.js.map +1 -0
- package/dist/components/nv-menu.d.ts +11 -0
- package/dist/components/nv-menu.js +216 -0
- package/dist/components/nv-menu.js.map +1 -0
- package/dist/components/nv-menuitem.d.ts +11 -0
- package/dist/components/nv-menuitem.js +55 -0
- package/dist/components/nv-menuitem.js.map +1 -0
- package/dist/components/nv-popover.d.ts +11 -0
- package/dist/components/nv-popover.js +8 -0
- package/dist/components/nv-popover.js.map +1 -0
- package/dist/components/nv-row.d.ts +11 -0
- package/dist/components/nv-row.js +38 -0
- package/dist/components/nv-row.js.map +1 -0
- package/dist/components/nv-stack.d.ts +11 -0
- package/dist/components/nv-stack.js +51 -0
- package/dist/components/nv-stack.js.map +1 -0
- package/dist/components/nv-tooltip.d.ts +11 -0
- package/dist/components/nv-tooltip.js +61 -0
- package/dist/components/nv-tooltip.js.map +1 -0
- package/dist/components/p-1daca48a.js +1871 -0
- package/dist/components/p-1daca48a.js.map +1 -0
- package/dist/components/p-42301d8f.js +104 -0
- package/dist/components/p-42301d8f.js.map +1 -0
- package/dist/components/p-50bd2808.js +1198 -0
- package/dist/components/p-50bd2808.js.map +1 -0
- package/dist/components/p-6146d4b0.js +87 -0
- package/dist/components/p-6146d4b0.js.map +1 -0
- package/dist/components/p-632bedb8.js +1730 -0
- package/dist/components/p-632bedb8.js.map +1 -0
- package/dist/components/p-8a1a6e56.js +5 -0
- package/dist/components/p-8a1a6e56.js.map +1 -0
- package/dist/components/p-8da6d9a3.js +43 -0
- package/dist/components/p-8da6d9a3.js.map +1 -0
- package/dist/components/p-a15ddd42.js +138 -0
- package/dist/components/p-a15ddd42.js.map +1 -0
- package/dist/components/p-be79e7bc.js +121 -0
- package/dist/components/p-be79e7bc.js.map +1 -0
- package/dist/components/p-c711fe67.js +2355 -0
- package/dist/components/p-c711fe67.js.map +1 -0
- package/dist/components/p-f5ff676c.js +65 -0
- package/dist/components/p-f5ff676c.js.map +1 -0
- package/dist/docs.d.ts +435 -0
- package/dist/docs.json +9249 -0
- package/dist/esm/app-globals-df0a3c8d.js +9 -0
- package/dist/esm/app-globals-df0a3c8d.js.map +1 -0
- package/dist/esm/clsx-297c1ffe.js +5 -0
- package/dist/esm/clsx-297c1ffe.js.map +1 -0
- package/dist/esm/constants-e9bee611.js +138 -0
- package/dist/esm/constants-e9bee611.js.map +1 -0
- package/dist/esm/fade.animation-2a077983.js +1871 -0
- package/dist/esm/fade.animation-2a077983.js.map +1 -0
- package/dist/esm/grow.animation-88a8ee8f.js +114 -0
- package/dist/esm/grow.animation-88a8ee8f.js.map +1 -0
- package/dist/esm/index-179dfba2.js +1952 -0
- package/dist/esm/index-179dfba2.js.map +1 -0
- package/dist/esm/index.js +487 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/native.js +43 -0
- package/dist/esm/native.js.map +1 -0
- package/dist/esm/nv-alert.entry.js +136 -0
- package/dist/esm/nv-alert.entry.js.map +1 -0
- package/dist/esm/nv-avatar.entry.js +69 -0
- package/dist/esm/nv-avatar.entry.js.map +1 -0
- package/dist/esm/nv-badge.entry.js +115 -0
- package/dist/esm/nv-badge.entry.js.map +1 -0
- package/dist/esm/nv-base.entry.js +71 -0
- package/dist/esm/nv-base.entry.js.map +1 -0
- package/dist/esm/nv-button.entry.js +87 -0
- package/dist/esm/nv-button.entry.js.map +1 -0
- package/dist/esm/nv-col.entry.js +37 -0
- package/dist/esm/nv-col.entry.js.map +1 -0
- package/dist/esm/nv-fieldcheckbox.entry.js +90 -0
- package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -0
- package/dist/esm/nv-fieldnumber.entry.js +90 -0
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -0
- package/dist/esm/nv-fieldpassword.entry.js +75 -0
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -0
- package/dist/esm/nv-fieldradio.entry.js +77 -0
- package/dist/esm/nv-fieldradio.entry.js.map +1 -0
- package/dist/esm/nv-fieldselect.entry.js +286 -0
- package/dist/esm/nv-fieldselect.entry.js.map +1 -0
- package/dist/esm/nv-fieldtext.entry.js +79 -0
- package/dist/esm/nv-fieldtext.entry.js.map +1 -0
- package/dist/esm/nv-fieldtextarea.entry.js +147 -0
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -0
- package/dist/esm/nv-fieldtoggle.entry.js +60 -0
- package/dist/esm/nv-fieldtoggle.entry.js.map +1 -0
- package/dist/esm/nv-icon.entry.js +62 -0
- package/dist/esm/nv-icon.entry.js.map +1 -0
- package/dist/esm/nv-iconbutton.entry.js +88 -0
- package/dist/esm/nv-iconbutton.entry.js.map +1 -0
- package/dist/esm/nv-loader.entry.js +25 -0
- package/dist/esm/nv-loader.entry.js.map +1 -0
- package/dist/esm/nv-menu.entry.js +185 -0
- package/dist/esm/nv-menu.entry.js.map +1 -0
- package/dist/esm/nv-menuitem.entry.js +26 -0
- package/dist/esm/nv-menuitem.entry.js.map +1 -0
- package/dist/esm/nv-popover.entry.js +2323 -0
- package/dist/esm/nv-popover.entry.js.map +1 -0
- package/dist/esm/nv-row.entry.js +20 -0
- package/dist/esm/nv-row.entry.js.map +1 -0
- package/dist/esm/nv-stack.entry.js +27 -0
- package/dist/esm/nv-stack.entry.js.map +1 -0
- package/dist/esm/nv-tooltip.entry.js +33 -0
- package/dist/esm/nv-tooltip.entry.js.map +1 -0
- package/dist/esm/timeline.animation-1b88f052.js +104 -0
- package/dist/esm/timeline.animation-1b88f052.js.map +1 -0
- package/dist/esm/v4-a79185f4.js +65 -0
- package/dist/esm/v4-a79185f4.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/native/fonts/TT_Norms_Pro_Bold.woff2 +0 -0
- package/dist/native/fonts/TT_Norms_Pro_Medium.woff2 +0 -0
- package/dist/native/fonts/TT_Norms_Pro_Mono_Bold.woff2 +0 -0
- package/dist/native/fonts/TT_Norms_Pro_Mono_Medium.woff2 +0 -0
- package/dist/native/fonts/TT_Norms_Pro_Mono_Regular.woff2 +0 -0
- package/dist/native/fonts/TT_Norms_Pro_Regular.woff2 +0 -0
- package/dist/native/index.esm.js +2 -0
- package/dist/native/index.esm.js.map +1 -0
- package/dist/native/native.css +1 -0
- package/dist/native/native.esm.js +2 -0
- package/dist/native/native.esm.js.map +1 -0
- package/dist/native/p-06f64d05.entry.js +2 -0
- package/dist/native/p-06f64d05.entry.js.map +1 -0
- package/dist/native/p-0aa0193b.entry.js +2 -0
- package/dist/native/p-0aa0193b.entry.js.map +1 -0
- package/dist/native/p-124a7067.entry.js +2 -0
- package/dist/native/p-124a7067.entry.js.map +1 -0
- package/dist/native/p-13d0ab5b.entry.js +2 -0
- package/dist/native/p-13d0ab5b.entry.js.map +1 -0
- package/dist/native/p-14c08510.entry.js +2 -0
- package/dist/native/p-14c08510.entry.js.map +1 -0
- package/dist/native/p-1ceee367.entry.js +2 -0
- package/dist/native/p-1ceee367.entry.js.map +1 -0
- package/dist/native/p-1daca48a.js +16 -0
- package/dist/native/p-1daca48a.js.map +1 -0
- package/dist/native/p-29d482cd.entry.js +2 -0
- package/dist/native/p-29d482cd.entry.js.map +1 -0
- package/dist/native/p-42301d8f.js +2 -0
- package/dist/native/p-42301d8f.js.map +1 -0
- package/dist/native/p-43cd42ca.entry.js +2 -0
- package/dist/native/p-43cd42ca.entry.js.map +1 -0
- package/dist/native/p-519e0f59.entry.js +2 -0
- package/dist/native/p-519e0f59.entry.js.map +1 -0
- package/dist/native/p-617d6a09.entry.js +2 -0
- package/dist/native/p-617d6a09.entry.js.map +1 -0
- package/dist/native/p-6f762ec2.entry.js +2 -0
- package/dist/native/p-6f762ec2.entry.js.map +1 -0
- package/dist/native/p-71d6aad8.entry.js +2 -0
- package/dist/native/p-71d6aad8.entry.js.map +1 -0
- package/dist/native/p-7ce1b712.entry.js +2 -0
- package/dist/native/p-7ce1b712.entry.js.map +1 -0
- package/dist/native/p-80788ddf.js +2 -0
- package/dist/native/p-80788ddf.js.map +1 -0
- package/dist/native/p-830ec54a.entry.js +2 -0
- package/dist/native/p-830ec54a.entry.js.map +1 -0
- package/dist/native/p-89accab1.entry.js +2 -0
- package/dist/native/p-89accab1.entry.js.map +1 -0
- package/dist/native/p-8a1a6e56.js +2 -0
- package/dist/native/p-8a1a6e56.js.map +1 -0
- package/dist/native/p-8b65b16f.entry.js +2 -0
- package/dist/native/p-8b65b16f.entry.js.map +1 -0
- package/dist/native/p-a15ddd42.js +2 -0
- package/dist/native/p-a15ddd42.js.map +1 -0
- package/dist/native/p-a37c2ac2.js +2 -0
- package/dist/native/p-a37c2ac2.js.map +1 -0
- package/dist/native/p-b5e4a9e7.entry.js +2 -0
- package/dist/native/p-b5e4a9e7.entry.js.map +1 -0
- package/dist/native/p-b8eb4c31.entry.js +2 -0
- package/dist/native/p-b8eb4c31.entry.js.map +1 -0
- package/dist/native/p-b99aa075.entry.js +2 -0
- package/dist/native/p-b99aa075.entry.js.map +1 -0
- package/dist/native/p-d5a8b6c4.entry.js +2 -0
- package/dist/native/p-d5a8b6c4.entry.js.map +1 -0
- package/dist/native/p-db2a68f3.js +3 -0
- package/dist/native/p-db2a68f3.js.map +1 -0
- package/dist/native/p-f5acea50.entry.js +2 -0
- package/dist/native/p-f5acea50.entry.js.map +1 -0
- package/dist/native/p-f5ff676c.js +2 -0
- package/dist/native/p-f5ff676c.js.map +1 -0
- package/dist/native/p-f9aac71a.entry.js +2 -0
- package/dist/native/p-f9aac71a.entry.js.map +1 -0
- package/dist/native/p-fb6f42b7.entry.js +2 -0
- package/dist/native/p-fb6f42b7.entry.js.map +1 -0
- package/dist/types/animations/collapse.animation.d.ts +11 -0
- package/dist/types/animations/fade.animation.d.ts +11 -0
- package/dist/types/animations/grow.animation.d.ts +15 -0
- package/dist/types/animations/index.d.ts +4 -0
- package/dist/types/animations/timeline.animation.d.ts +18 -0
- package/dist/types/components/nv-alert/nv-alert.d.ts +85 -0
- package/dist/types/components/nv-alert/nv-alert.docs.d.ts +4 -0
- package/dist/types/components/nv-avatar/nv-avatar.d.ts +75 -0
- package/dist/types/components/nv-avatar/nv-avatar.docs.d.ts +4 -0
- package/dist/types/components/nv-badge/nv-badge.d.ts +93 -0
- package/dist/types/components/nv-badge/nv-badge.docs.d.ts +4 -0
- package/dist/types/components/nv-base/nv-base.d.ts +17 -0
- package/dist/types/components/nv-base/nv-base.docs.d.ts +5 -0
- package/dist/types/components/nv-button/nv-button.d.ts +63 -0
- package/dist/types/components/nv-button/nv-button.docs.d.ts +4 -0
- package/dist/types/components/nv-col/nv-col.d.ts +18 -0
- package/dist/types/components/nv-col/nv-col.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.d.ts +119 -0
- package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldnumber/nv-fieldnumber.d.ts +132 -0
- package/dist/types/components/nv-fieldnumber/nv-fieldnumber.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +145 -0
- package/dist/types/components/nv-fieldpassword/nv-fieldpassword.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldradio/nv-fieldradio.d.ts +101 -0
- package/dist/types/components/nv-fieldradio/nv-fieldradio.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +195 -0
- package/dist/types/components/nv-fieldselect/nv-fieldselect.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +162 -0
- package/dist/types/components/nv-fieldtext/nv-fieldtext.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +161 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldtoggle/nv-fieldtoggle.d.ts +73 -0
- package/dist/types/components/nv-fieldtoggle/nv-fieldtoggle.docs.d.ts +4 -0
- package/dist/types/components/nv-icon/nv-icon.d.ts +51 -0
- package/dist/types/components/nv-icon/nv-icon.docs.d.ts +4 -0
- package/dist/types/components/nv-icon/nv-icons.d.ts +3 -0
- package/dist/types/components/nv-icon/test/nv-icon.test.d.ts +1 -0
- package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +70 -0
- package/dist/types/components/nv-iconbutton/nv-iconbutton.docs.d.ts +4 -0
- package/dist/types/components/nv-loader/nv-loader.d.ts +18 -0
- package/dist/types/components/nv-loader/nv-loader.docs.d.ts +4 -0
- package/dist/types/components/nv-menu/nv-menu.d.ts +60 -0
- package/dist/types/components/nv-menu/nv-menu.docs.d.ts +4 -0
- package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +31 -0
- package/dist/types/components/nv-menuitem/nv-menuitem.docs.d.ts +4 -0
- package/dist/types/components/nv-popover/nv-popover.d.ts +114 -0
- package/dist/types/components/nv-popover/nv-popover.docs.d.ts +4 -0
- package/dist/types/components/nv-row/nv-row.d.ts +7 -0
- package/dist/types/components/nv-row/nv-row.docs.d.ts +4 -0
- package/dist/types/components/nv-stack/nv-stack.d.ts +36 -0
- package/dist/types/components/nv-stack/nv-stack.docs.d.ts +4 -0
- package/dist/types/components/nv-tooltip/nv-tooltip.d.ts +32 -0
- package/dist/types/components/nv-tooltip/nv-tooltip.docs.d.ts +4 -0
- package/dist/types/components.d.ts +2412 -0
- package/dist/types/dev/dev-components.d.ts +2 -0
- package/dist/types/dev/dev-forms.d.ts +2 -0
- package/dist/types/dev/dev-root.d.ts +1 -0
- package/dist/types/dev/dev-utils.d.ts +17 -0
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/nova-docs.d.ts +32 -0
- package/dist/types/stencil-public-runtime.d.ts +1678 -0
- package/dist/types/utils/class.utils.d.ts +6 -0
- package/dist/types/utils/constants.d.ts +112 -0
- package/dist/types/utils/events.utils.d.ts +15 -0
- package/dist/vscode-data.json +3179 -0
- package/hydrate/index.d.ts +242 -0
- package/hydrate/index.js +24827 -0
- package/hydrate/index.mjs +24819 -0
- package/hydrate/package.json +12 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +197 -0
- package/readme.md +67 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { DeprecatedSemanticColors, FeedbackColors } from '../../utils/constants';
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Use this slot to insert HTML into the alert content.
|
|
5
|
+
*/
|
|
6
|
+
export declare class NvAlert {
|
|
7
|
+
ref: HTMLNvAlertElement;
|
|
8
|
+
/****************************************************************************/
|
|
9
|
+
/**
|
|
10
|
+
* Defines color of the alert.
|
|
11
|
+
* @deprecated use feedback instead.
|
|
12
|
+
*/
|
|
13
|
+
readonly color: `${DeprecatedSemanticColors}`;
|
|
14
|
+
componentWillRender(): void;
|
|
15
|
+
/****************************************************************************/
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the alert type which determines the color and default icon.
|
|
18
|
+
*/
|
|
19
|
+
feedback: `${FeedbackColors}`;
|
|
20
|
+
/**
|
|
21
|
+
* Main content of the alert. For more complex content, use the default slot
|
|
22
|
+
* instead.
|
|
23
|
+
*/
|
|
24
|
+
readonly message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Short and concise text for the alert title.
|
|
27
|
+
*/
|
|
28
|
+
readonly heading: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon associated with the alert, defaults vary based on the feedback type.
|
|
31
|
+
*/
|
|
32
|
+
readonly icon: string;
|
|
33
|
+
/**
|
|
34
|
+
* Allows the alert to be dismissed via a close button (x). The alert is not
|
|
35
|
+
* dismissible unless explicitly enabled.
|
|
36
|
+
*/
|
|
37
|
+
readonly dismissible: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* When true, the alert does not automatically close upon dismissing.
|
|
40
|
+
* Useful for externally controlled component behavior.
|
|
41
|
+
*/
|
|
42
|
+
readonly preventAutoClose: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Controls the visibility of the alert. Will animate with fade and collapse.
|
|
45
|
+
*/
|
|
46
|
+
hidden: boolean;
|
|
47
|
+
/****************************************************************************/
|
|
48
|
+
/**
|
|
49
|
+
* Emits when the 'hidden' prop changes, reflecting a change in visibility.
|
|
50
|
+
* Passes hidden value to the detail.
|
|
51
|
+
* @bind hidden
|
|
52
|
+
*/
|
|
53
|
+
hiddenChanged: EventEmitter<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* Emitted when the animations complete, detail includes the hidden value.
|
|
56
|
+
*/
|
|
57
|
+
hiddenChangedComplete: EventEmitter<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* Emitted when the close button is clicked.
|
|
60
|
+
*/
|
|
61
|
+
closeClicked: EventEmitter<MouseEvent>;
|
|
62
|
+
/****************************************************************************/
|
|
63
|
+
/**
|
|
64
|
+
* Used for 2 way binding with the hidden property.
|
|
65
|
+
* Triggers open and close animations.
|
|
66
|
+
* @param {boolean} hidden - The visibility state of the alert.
|
|
67
|
+
*/
|
|
68
|
+
handleHiddenChange(hidden: boolean): Promise<void>;
|
|
69
|
+
/****************************************************************************/
|
|
70
|
+
/**
|
|
71
|
+
* Handles the dismissal of the alert, considering the preventAutoClose prop.
|
|
72
|
+
* Passes the original event from the close button to the close event detail.
|
|
73
|
+
* @param {MouseEvent} originalEvent - The original event from the close button.
|
|
74
|
+
*/
|
|
75
|
+
private handleDismiss;
|
|
76
|
+
/**
|
|
77
|
+
* By default an icon is linked to the feedback type
|
|
78
|
+
* @returns {string} - The default icon name.
|
|
79
|
+
*/
|
|
80
|
+
private getDefaultIcon;
|
|
81
|
+
/****************************************************************************/
|
|
82
|
+
componentWillLoad(): void;
|
|
83
|
+
/****************************************************************************/
|
|
84
|
+
render(): any;
|
|
85
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SemanticSizes } from '../../utils/constants';
|
|
2
|
+
/**
|
|
3
|
+
* @slot icon - if you want to add an icon to the avatar, use this slot with an svg or nv-icon
|
|
4
|
+
*/
|
|
5
|
+
export declare class NvAvatar {
|
|
6
|
+
/****************************************************************************/
|
|
7
|
+
/**
|
|
8
|
+
* Set size to ExtraSmall to the avatar.
|
|
9
|
+
* @deprecated use size instead.
|
|
10
|
+
*/
|
|
11
|
+
readonly xsmall: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Set size to Small to the avatar.
|
|
14
|
+
* @deprecated use size instead.
|
|
15
|
+
*/
|
|
16
|
+
readonly small: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Set size to Medium to the avatar.
|
|
19
|
+
* @deprecated use size instead.
|
|
20
|
+
*/
|
|
21
|
+
readonly medium: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Set size to Large to the avatar.
|
|
24
|
+
* @deprecated use size instead.
|
|
25
|
+
*/
|
|
26
|
+
readonly large: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Set size to ExtraLarge to the avatar.
|
|
29
|
+
* @deprecated use size instead.
|
|
30
|
+
*/
|
|
31
|
+
readonly xlarge: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Set initials to the avatar.
|
|
34
|
+
* @deprecated use initials instead.
|
|
35
|
+
*/
|
|
36
|
+
readonly text: string;
|
|
37
|
+
/**
|
|
38
|
+
* Set src to the avatar.
|
|
39
|
+
* @deprecated use src instead.
|
|
40
|
+
*/
|
|
41
|
+
readonly url: string;
|
|
42
|
+
componentWillRender(): void;
|
|
43
|
+
/****************************************************************************/
|
|
44
|
+
/**
|
|
45
|
+
* If and image is provided, add an alt tag to describe it.
|
|
46
|
+
*/
|
|
47
|
+
readonly alt: string;
|
|
48
|
+
/**
|
|
49
|
+
* Will insert an image into the avatar.
|
|
50
|
+
*/
|
|
51
|
+
src: string;
|
|
52
|
+
/**
|
|
53
|
+
* Initials of the avatar. Usually use two letters
|
|
54
|
+
* When filled with the src parameter, the text will not be rendered.
|
|
55
|
+
*/
|
|
56
|
+
initials: string;
|
|
57
|
+
/**
|
|
58
|
+
* Define the size of the avatar. You can use t-shirt sizes.
|
|
59
|
+
*/
|
|
60
|
+
size: `${SemanticSizes}`;
|
|
61
|
+
/**
|
|
62
|
+
* You can apply different colors on the Avatar.
|
|
63
|
+
* Use a string number between 1 and 10.
|
|
64
|
+
*/
|
|
65
|
+
readonly color: string;
|
|
66
|
+
/****************************************************************************/
|
|
67
|
+
/**
|
|
68
|
+
* Makes sure the initials are trimmed to 2 letters.
|
|
69
|
+
* @param {string} initials - The initials to be trimmed.
|
|
70
|
+
* @returns {string} The trimmed initials.
|
|
71
|
+
*/
|
|
72
|
+
private trimInitials;
|
|
73
|
+
/****************************************************************************/
|
|
74
|
+
render(): any;
|
|
75
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot leading-icon - Icon before the label.
|
|
4
|
+
*/
|
|
5
|
+
export declare class NvBadge {
|
|
6
|
+
ref: HTMLNvBadgeElement;
|
|
7
|
+
/****************************************************************************/
|
|
8
|
+
/**
|
|
9
|
+
* Whether the badge is dismissible.
|
|
10
|
+
* @deprecated use dismissible instead.
|
|
11
|
+
*/
|
|
12
|
+
readonly dismissal: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The icon to display in the badge.
|
|
15
|
+
* @deprecated use leadIcon or slot="leading-icon" instead.
|
|
16
|
+
*/
|
|
17
|
+
readonly icon: string;
|
|
18
|
+
/**
|
|
19
|
+
* The location of the icon in the badge.
|
|
20
|
+
* @deprecated only leadIcon now.
|
|
21
|
+
*/
|
|
22
|
+
readonly iconLocation: 'left' | 'right';
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
/**
|
|
25
|
+
* The color of the badge. Use a string between 1 to 5
|
|
26
|
+
*/
|
|
27
|
+
readonly color?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Main content of the badge.
|
|
30
|
+
*/
|
|
31
|
+
readonly label?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The lead icon of the badge.
|
|
34
|
+
*/
|
|
35
|
+
leadIcon?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the badge is dismissible.
|
|
38
|
+
*/
|
|
39
|
+
dismissible: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Controls the visibility of the badge. Will animate with fade and collapse.
|
|
42
|
+
*/
|
|
43
|
+
hidden: boolean;
|
|
44
|
+
private _isHidden;
|
|
45
|
+
/**
|
|
46
|
+
* When true, the alert does not automatically close upon dismissing.
|
|
47
|
+
* Useful for externally controlled component behavior.
|
|
48
|
+
*/
|
|
49
|
+
readonly preventAutoClose: boolean;
|
|
50
|
+
/****************************************************************************/
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when the badge is dismissed.
|
|
53
|
+
*/
|
|
54
|
+
closeClicked: EventEmitter<MouseEvent>;
|
|
55
|
+
/**
|
|
56
|
+
* Emits when the 'hidden' prop changes, reflecting a change in visibility.
|
|
57
|
+
* Passes hidden value to the detail.
|
|
58
|
+
*/
|
|
59
|
+
hiddenChanged: EventEmitter<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the animations complete, detail includes the hidden value.
|
|
62
|
+
*/
|
|
63
|
+
hiddenChangedComplete: EventEmitter<boolean>;
|
|
64
|
+
/****************************************************************************/
|
|
65
|
+
/**
|
|
66
|
+
* Handles the dismissal prop change.
|
|
67
|
+
* @param {boolean} dismissal - The new dismissal value.
|
|
68
|
+
*/
|
|
69
|
+
handleDismissalChange(dismissal: boolean): void;
|
|
70
|
+
/**
|
|
71
|
+
* Handles the icon prop change.
|
|
72
|
+
* @param {string} icon - The new icon value.
|
|
73
|
+
*/
|
|
74
|
+
handleIconChange(icon: string): void;
|
|
75
|
+
/**
|
|
76
|
+
* Handles the hidden prop change.
|
|
77
|
+
* @param {boolean} hidden - The new hidden value.
|
|
78
|
+
*/
|
|
79
|
+
handleHiddenChange(hidden: boolean): Promise<void>;
|
|
80
|
+
/****************************************************************************/
|
|
81
|
+
/**
|
|
82
|
+
* Component will load.
|
|
83
|
+
*/
|
|
84
|
+
componentWillLoad(): void;
|
|
85
|
+
/****************************************************************************/
|
|
86
|
+
/**
|
|
87
|
+
* Handles the close button click.
|
|
88
|
+
* @param {MouseEvent} originalEvent - The original event.
|
|
89
|
+
*/
|
|
90
|
+
private readonly handleClose;
|
|
91
|
+
/****************************************************************************/
|
|
92
|
+
render(): any;
|
|
93
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot default - render children
|
|
3
|
+
* @deprecated This is only to help with the migration from v2 to v3. It will be removed in the next major release.
|
|
4
|
+
*/
|
|
5
|
+
export declare class NvBaseComponent {
|
|
6
|
+
el: HTMLNvBaseElement;
|
|
7
|
+
private mutationObserver;
|
|
8
|
+
/****************************************************************************/
|
|
9
|
+
componentWillLoad(): void;
|
|
10
|
+
componentDidLoad(): void;
|
|
11
|
+
disconnectedCallback(): void;
|
|
12
|
+
/****************************************************************************/
|
|
13
|
+
private applyClassesOnInitialRender;
|
|
14
|
+
private observeElements;
|
|
15
|
+
/****************************************************************************/
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ButtonSize, ButtonEmphasis, ButtonType } from '../../utils/constants';
|
|
2
|
+
/**
|
|
3
|
+
* @slot default - Content of the button.
|
|
4
|
+
* @slot leading-icon - Icon before the label.
|
|
5
|
+
* @slot trailing-icon - Icon after the label.
|
|
6
|
+
*/
|
|
7
|
+
export declare class NvButton {
|
|
8
|
+
internals: ElementInternals;
|
|
9
|
+
el: HTMLNvButtonElement;
|
|
10
|
+
/****************************************************************************/
|
|
11
|
+
/**
|
|
12
|
+
* Determines how large or small the button appears, allowing for
|
|
13
|
+
* customization of the button's dimensions to fit different design
|
|
14
|
+
* specifications and user needs.
|
|
15
|
+
*/
|
|
16
|
+
readonly size: `${ButtonSize}`;
|
|
17
|
+
/**
|
|
18
|
+
* Adjusts the button's emphasis to make it more or less visually prominent
|
|
19
|
+
* to users. Use this to draw attention to important actions or reduce focus
|
|
20
|
+
* on less critical ones
|
|
21
|
+
*/
|
|
22
|
+
readonly emphasis: `${ButtonEmphasis}`;
|
|
23
|
+
/**
|
|
24
|
+
* Applies styling that visually indicates the button represents a dangerous
|
|
25
|
+
* action.
|
|
26
|
+
*/
|
|
27
|
+
readonly danger: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Set this to true to show a spinner on the button, letting users know that
|
|
30
|
+
* their action is being processed. It helps improve user experience by
|
|
31
|
+
* indicating ongoing activities.
|
|
32
|
+
*/
|
|
33
|
+
loading: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Disables the button, preventing user interaction.
|
|
36
|
+
*/
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Allows the button to stretch and fill the entire width of its container.
|
|
40
|
+
*/
|
|
41
|
+
readonly fluid: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Sets the button type to control its function in forms. Use 'submit' to send
|
|
44
|
+
* form data, 'reset' to clear the form, or 'button' for a standard button
|
|
45
|
+
* that doesn’t interact with form submission by default.
|
|
46
|
+
*/
|
|
47
|
+
readonly type: `${ButtonType}`;
|
|
48
|
+
/****************************************************************************/
|
|
49
|
+
/**
|
|
50
|
+
* Handles form-related actions when the button is clicked.
|
|
51
|
+
* - Submits the form if the button type is 'submit'.
|
|
52
|
+
* - Resets the form if the button type is 'reset'.
|
|
53
|
+
* @param {Event} event - The click event.
|
|
54
|
+
*/
|
|
55
|
+
private handleClick;
|
|
56
|
+
/****************************************************************************/
|
|
57
|
+
handleLoadingChange(loading: boolean): void;
|
|
58
|
+
handleDisabledChange(disabled: boolean): void;
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
componentWillLoad(): void;
|
|
61
|
+
/****************************************************************************/
|
|
62
|
+
render(): any;
|
|
63
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot default - The column content.
|
|
3
|
+
*/
|
|
4
|
+
export declare class NvCol {
|
|
5
|
+
/****************************************************************************/
|
|
6
|
+
/**
|
|
7
|
+
* Defines the column size based on a 12 column grid system.
|
|
8
|
+
*/
|
|
9
|
+
readonly size: number;
|
|
10
|
+
/****************************************************************************/
|
|
11
|
+
/**
|
|
12
|
+
* Get the column size class.
|
|
13
|
+
* @returns {string | undefined} The column size class.
|
|
14
|
+
*/
|
|
15
|
+
private getColSize;
|
|
16
|
+
/****************************************************************************/
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type FieldLabelPlacement } from '../../utils/constants';
|
|
3
|
+
/**
|
|
4
|
+
* @slot label - Content to be placed as the label, will override the label prop.
|
|
5
|
+
* @slot description - Content to be placed as the description, will override the description prop.
|
|
6
|
+
* @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
|
|
7
|
+
* @slot checked-icon - Content to be placed as the checked icon, will override the checkedIcon prop.
|
|
8
|
+
* @slot indeterminate-icon - Content to be placed as the indeterminate icon, will override the indeterminateIcon prop.
|
|
9
|
+
*/
|
|
10
|
+
export declare class NvFieldcheckbox {
|
|
11
|
+
el: HTMLNvFieldcheckboxElement;
|
|
12
|
+
/****************************************************************************/
|
|
13
|
+
/**
|
|
14
|
+
* Message define a 'hint ' message for the Field.
|
|
15
|
+
* @deprecated Use `description` instead.
|
|
16
|
+
* */
|
|
17
|
+
readonly message?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The text for the validation message.
|
|
20
|
+
* @deprecated Use `errorDescription` instead.
|
|
21
|
+
* */
|
|
22
|
+
readonly validation?: string;
|
|
23
|
+
/**
|
|
24
|
+
* When true, the label will be placed before the checkbox.
|
|
25
|
+
* @deprecated Use `labelPlacement = end` instead.
|
|
26
|
+
* */
|
|
27
|
+
readonly labelBefore?: boolean;
|
|
28
|
+
componentWillRender(): void;
|
|
29
|
+
/****************************************************************************/
|
|
30
|
+
/**
|
|
31
|
+
* Sets the ID for the radio button’s input element and the for attribute of
|
|
32
|
+
* the associated label. If no ID is provided, a random one will be
|
|
33
|
+
* automatically generated to ensure unique identification, facilitating
|
|
34
|
+
* proper label association and accessibility.
|
|
35
|
+
*/
|
|
36
|
+
readonly inputId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name attribute for the checkbox input, used to reference the form data
|
|
39
|
+
* after submission.
|
|
40
|
+
*/
|
|
41
|
+
readonly name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The value attribute of the checkbox input, representing the value sent on
|
|
44
|
+
* form submission when the checkbox is checked. When the form is submitted,
|
|
45
|
+
* the data will consist of a name=value pair.
|
|
46
|
+
*/
|
|
47
|
+
readonly value?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The label displayed next to the checkbox.
|
|
50
|
+
*/
|
|
51
|
+
readonly label?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Determines the position of the label relative to the checkbox, either
|
|
54
|
+
* 'start' (before) or 'end' (after).
|
|
55
|
+
*/
|
|
56
|
+
labelPlacement: `${FieldLabelPlacement}`;
|
|
57
|
+
/**
|
|
58
|
+
* Hides the label visually while still keeping it available for screen
|
|
59
|
+
* readers.
|
|
60
|
+
*/
|
|
61
|
+
readonly hideLabel: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* A description providing additional context or information about the
|
|
64
|
+
* checkbox.
|
|
65
|
+
*/
|
|
66
|
+
description?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Signals that there is an error associated with the checkbox, which can
|
|
69
|
+
* trigger visual cues.
|
|
70
|
+
*/
|
|
71
|
+
readonly error: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* A description that appears when there is an error related to the checkbox.
|
|
74
|
+
*/
|
|
75
|
+
errorDescription?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates whether the checkbox is checked or not.
|
|
78
|
+
*/
|
|
79
|
+
checked: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Indicates whether the checkbox is in an indeterminate state, typically used
|
|
82
|
+
* for hierarchical checkboxes.
|
|
83
|
+
*/
|
|
84
|
+
indeterminate: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Disables the checkbox, preventing user interaction.
|
|
87
|
+
*/
|
|
88
|
+
readonly disabled: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Sets the checkbox to read-only, preventing user changes but still allowing
|
|
91
|
+
* focus and selection of text.
|
|
92
|
+
*/
|
|
93
|
+
readonly readonly: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Marks the checkbox as required, indicating that it must be checked for
|
|
96
|
+
* form submission.
|
|
97
|
+
*/
|
|
98
|
+
readonly required: boolean;
|
|
99
|
+
/****************************************************************************/
|
|
100
|
+
/**
|
|
101
|
+
* Emits when the checked state changes.
|
|
102
|
+
* @bind checked
|
|
103
|
+
*/
|
|
104
|
+
checkedChanged: EventEmitter<boolean>;
|
|
105
|
+
/****************************************************************************/
|
|
106
|
+
/**
|
|
107
|
+
* Watches for changes to the checked state and emits the new value.
|
|
108
|
+
* @param {boolean} checked - The new value of the checked state.
|
|
109
|
+
*/
|
|
110
|
+
onCheckedChanged(checked: boolean): void;
|
|
111
|
+
/**
|
|
112
|
+
* Listens for the change event on the checkbox input element and updates the
|
|
113
|
+
* checked state.
|
|
114
|
+
* @param {Event} event - The change event.
|
|
115
|
+
*/
|
|
116
|
+
handleChange(event: Event): void;
|
|
117
|
+
/****************************************************************************/
|
|
118
|
+
render(): any;
|
|
119
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot leading-input - Content to be placed before the input text, within the input container.
|
|
4
|
+
* @slot before-input - Content to be placed before the input text, outside the input container.
|
|
5
|
+
* @slot after-input - Content to be placed after the input text, outside the input container.
|
|
6
|
+
* @slot label - Content to be placed as the label, will override the label prop.
|
|
7
|
+
* @slot description - Content to be placed as the description, will override the description prop.
|
|
8
|
+
* @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
|
|
9
|
+
*/
|
|
10
|
+
export declare class NvFieldnumber {
|
|
11
|
+
el: HTMLNvFieldnumberElement;
|
|
12
|
+
private inputElement;
|
|
13
|
+
/****************************************************************************/
|
|
14
|
+
/**
|
|
15
|
+
* Message defines a 'hint ' message for the number field.
|
|
16
|
+
* @deprecated use description instead.
|
|
17
|
+
*/
|
|
18
|
+
readonly message: string;
|
|
19
|
+
/**
|
|
20
|
+
* Add the message to the validation state.
|
|
21
|
+
* @deprecated use errorDescription and set the error prop instead.
|
|
22
|
+
*/
|
|
23
|
+
readonly validation: string;
|
|
24
|
+
/****************************************************************************/
|
|
25
|
+
/**
|
|
26
|
+
* Sets the ID for the input element and the for attribute of the associated
|
|
27
|
+
* label. If no ID is provided, a random one will be automatically generated
|
|
28
|
+
* to ensure unique identification, facilitating proper label association and
|
|
29
|
+
* accessibility.
|
|
30
|
+
*/
|
|
31
|
+
readonly inputId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Lets you define the text that explains what users should enter in the text
|
|
34
|
+
* input field. It’s a crucial element for making forms clear and
|
|
35
|
+
* user-friendly.
|
|
36
|
+
*/
|
|
37
|
+
readonly label: string;
|
|
38
|
+
/**
|
|
39
|
+
* Add helpful hints or extra information under the text input field. This is
|
|
40
|
+
* where you can clarify what users should enter or provide additional
|
|
41
|
+
* instructions, making the form easier to fill out correctly.
|
|
42
|
+
*/
|
|
43
|
+
description: string;
|
|
44
|
+
/**
|
|
45
|
+
* Display temporary text inside the input field to give users a hint about
|
|
46
|
+
* what to type. It’s a great way to provide examples or suggestions directly
|
|
47
|
+
* in the field before they start typing.
|
|
48
|
+
*/
|
|
49
|
+
readonly placeholder: string;
|
|
50
|
+
/**
|
|
51
|
+
* Defines the name attribute of the input field, which is crucial for form
|
|
52
|
+
* submission. This value is used as the key in the key-value pair sent to
|
|
53
|
+
* the server, representing the input’s data in form submissions. It should be
|
|
54
|
+
* unique within the form to avoid conflicts
|
|
55
|
+
*/
|
|
56
|
+
readonly name: string;
|
|
57
|
+
/**
|
|
58
|
+
* The disabled prop lets you turn off the input field so that users can’t
|
|
59
|
+
* type in it. When disabled, the field is grayed out and won’t respond to#
|
|
60
|
+
* clicks or touches.
|
|
61
|
+
*/
|
|
62
|
+
readonly disabled: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Display the input field’s content without allowing users to change it.
|
|
65
|
+
* Users can still click on it, select, and copy the text, but they won’t be
|
|
66
|
+
* able to type or delete anything.
|
|
67
|
+
*/
|
|
68
|
+
readonly readonly: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Marks the input field as required, ensuring that the user must fill it out
|
|
71
|
+
* before submitting the form.
|
|
72
|
+
*/
|
|
73
|
+
readonly required: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Alters the input field’s appearance to indicate an error, helping users
|
|
76
|
+
* identify fields that need correction.
|
|
77
|
+
* @validator error
|
|
78
|
+
*/
|
|
79
|
+
error: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Show a helpful message under the input field when there’s a problem. It
|
|
82
|
+
* explains what’s wrong and how users can fix it, making the error easier to
|
|
83
|
+
* understand and resolve.
|
|
84
|
+
* @validator message
|
|
85
|
+
*/
|
|
86
|
+
errorDescription: string;
|
|
87
|
+
/**
|
|
88
|
+
* Changes the input field’s appearance to indicate successful input or
|
|
89
|
+
* validation.
|
|
90
|
+
*/
|
|
91
|
+
readonly success: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The maximum value that the input field can accept. Use this in combination
|
|
94
|
+
* with min to create a range of valid values.
|
|
95
|
+
*/
|
|
96
|
+
readonly max: number;
|
|
97
|
+
/**
|
|
98
|
+
* The minimum value that the input field can accept. Use this in combination
|
|
99
|
+
* with max to create a range of valid values.
|
|
100
|
+
*/
|
|
101
|
+
readonly min: number;
|
|
102
|
+
/**
|
|
103
|
+
* Define the increment value for the input field. It determines how much the
|
|
104
|
+
* value will increase or decrease when the user clicks the stepper buttons.
|
|
105
|
+
*/
|
|
106
|
+
readonly step: number;
|
|
107
|
+
/**
|
|
108
|
+
* The value of the input field. It’s the text that users type in or the value
|
|
109
|
+
* that you set programmatically. This is the main way to interact with the
|
|
110
|
+
* input field, and it’s essential for creating forms that users can fill out.
|
|
111
|
+
*/
|
|
112
|
+
value: number;
|
|
113
|
+
/****************************************************************************/
|
|
114
|
+
componentWillRender(): void;
|
|
115
|
+
/****************************************************************************/
|
|
116
|
+
/**
|
|
117
|
+
* Emitted when the input value changes.
|
|
118
|
+
* @bind value
|
|
119
|
+
*/
|
|
120
|
+
valueChanged: EventEmitter<number>;
|
|
121
|
+
/****************************************************************************/
|
|
122
|
+
watchValueHandler(newValue: number): void;
|
|
123
|
+
/****************************************************************************/
|
|
124
|
+
private handleInput;
|
|
125
|
+
private handleInputContainerClick;
|
|
126
|
+
private handlePlus;
|
|
127
|
+
private handleMinus;
|
|
128
|
+
private isMinValueReached;
|
|
129
|
+
private isMaxValueReached;
|
|
130
|
+
/****************************************************************************/
|
|
131
|
+
render(): any;
|
|
132
|
+
}
|