@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,161 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot label - Content to be placed as the label, will override the label prop.
|
|
4
|
+
* @slot description - Content to be placed as the description, will override the description prop.
|
|
5
|
+
* @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
|
|
6
|
+
*/
|
|
7
|
+
export declare class NvFieldtextarea {
|
|
8
|
+
el: HTMLNvFieldtextareaElement;
|
|
9
|
+
private textareaElement;
|
|
10
|
+
/****************************************************************************/
|
|
11
|
+
/**
|
|
12
|
+
* Message defines a 'hint ' message for the Text Field.
|
|
13
|
+
* @deprecated use description instead.
|
|
14
|
+
*/
|
|
15
|
+
readonly message: string;
|
|
16
|
+
/**
|
|
17
|
+
* Add the message to the validation state.
|
|
18
|
+
* @deprecated use errorDescription and set the error prop instead.
|
|
19
|
+
*/
|
|
20
|
+
readonly validation: string;
|
|
21
|
+
componentWillRender(): void;
|
|
22
|
+
/****************************************************************************/
|
|
23
|
+
/**
|
|
24
|
+
* Sets the ID for the textarea element and the for attribute of the associated
|
|
25
|
+
* label. If no ID is provided, a random one will be automatically generated
|
|
26
|
+
* to ensure unique identification, facilitating proper label association and
|
|
27
|
+
* accessibility.
|
|
28
|
+
*/
|
|
29
|
+
readonly textareaId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Lets you define the text that explains what users should enter in the text
|
|
32
|
+
* textarea field. It’s a crucial element for making forms clear and
|
|
33
|
+
* user-friendly.
|
|
34
|
+
*/
|
|
35
|
+
readonly label: string;
|
|
36
|
+
/**
|
|
37
|
+
* Add helpful hints or extra information under the text textarea field. This is
|
|
38
|
+
* where you can clarify what users should enter or provide additional
|
|
39
|
+
* instructions, making the form easier to fill out correctly.
|
|
40
|
+
*/
|
|
41
|
+
description: string;
|
|
42
|
+
/**
|
|
43
|
+
* Display temporary text inside the textarea field to give users a hint about
|
|
44
|
+
* what to type. It’s a great way to provide examples or suggestions directly
|
|
45
|
+
* in the field before they start typing.
|
|
46
|
+
*/
|
|
47
|
+
readonly placeholder: string;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the name attribute of the textarea field, which is crucial for form
|
|
50
|
+
* submission. This value is used as the key in the key-value pair sent to
|
|
51
|
+
* the server, representing the textarea’s data in form submissions. It should be
|
|
52
|
+
* unique within the form to avoid conflicts
|
|
53
|
+
*/
|
|
54
|
+
readonly name: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the value of the textarea field, which determines the text displayed
|
|
57
|
+
* within the field. This prop is typically used in controlled components
|
|
58
|
+
* where the textarea’s value is managed by the component’s state.
|
|
59
|
+
*/
|
|
60
|
+
value: string;
|
|
61
|
+
/**
|
|
62
|
+
* The disabled prop lets you turn off the textarea field so that users can’t
|
|
63
|
+
* type in it. When disabled, the field is grayed out and won’t respond to#
|
|
64
|
+
* clicks or touches.
|
|
65
|
+
*/
|
|
66
|
+
readonly disabled: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Display the textarea field’s content without allowing users to change it.
|
|
69
|
+
* Users can still click on it, select, and copy the text, but they won’t be
|
|
70
|
+
* able to type or delete anything.
|
|
71
|
+
*/
|
|
72
|
+
readonly readonly: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Marks the textarea field as required, ensuring that the user must fill it out
|
|
75
|
+
* before submitting the form.
|
|
76
|
+
*/
|
|
77
|
+
readonly required: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Alters the textarea field’s appearance to indicate an error, helping users
|
|
80
|
+
* identify fields that need correction.
|
|
81
|
+
* @validator error
|
|
82
|
+
*/
|
|
83
|
+
error: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Show a helpful message under the textarea field when there’s a problem. It
|
|
86
|
+
* explains what’s wrong and how users can fix it, making the error easier to
|
|
87
|
+
* understand and resolve.
|
|
88
|
+
* @validator message
|
|
89
|
+
*/
|
|
90
|
+
errorDescription: string;
|
|
91
|
+
/**
|
|
92
|
+
* Changes the textarea field’s appearance to indicate successful textarea or
|
|
93
|
+
* validation.
|
|
94
|
+
*/
|
|
95
|
+
readonly success: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Limits how many characters users can type into the textarea field. It’s
|
|
98
|
+
* helpful for making sure users don’t enter too much information, keeping
|
|
99
|
+
* their textarea within the allowed limit.
|
|
100
|
+
*/
|
|
101
|
+
readonly maxlength: number;
|
|
102
|
+
/**
|
|
103
|
+
* Ensures that users type at least a certain number of characters into the
|
|
104
|
+
* textarea field. It’s a way to make sure users provide enough information
|
|
105
|
+
* before moving on.
|
|
106
|
+
*/
|
|
107
|
+
readonly minlength: number;
|
|
108
|
+
/**
|
|
109
|
+
* The number of visible text lines for the control. The default is 3. This
|
|
110
|
+
* can be useful when you want to limit the size of the textarea field or when
|
|
111
|
+
* you want to make the textarea field smaller to fit a specific layout. The
|
|
112
|
+
* textarea field will expand vertically to fit the text as the user types.
|
|
113
|
+
*/
|
|
114
|
+
readonly rows: number;
|
|
115
|
+
/**
|
|
116
|
+
* Controls the resize property of a textarea. It can be set to none, both,
|
|
117
|
+
* horizontal, or vertical. The default is vertical.
|
|
118
|
+
*/
|
|
119
|
+
readonly resize: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
120
|
+
/**
|
|
121
|
+
* Enable this to make the textarea automatically resize as the user types,
|
|
122
|
+
* adjusting the height to fit the content. For the best experience, avoid
|
|
123
|
+
* vertical resizing, as it’s controlled by this feature. Horizontal resizing
|
|
124
|
+
* can still be allowed if desired.
|
|
125
|
+
*/
|
|
126
|
+
readonly autosize: boolean;
|
|
127
|
+
/****************************************************************************/
|
|
128
|
+
/**
|
|
129
|
+
* Emitted when the textarea value changes.
|
|
130
|
+
* @bind value
|
|
131
|
+
*/
|
|
132
|
+
valueChanged: EventEmitter<string>;
|
|
133
|
+
/****************************************************************************/
|
|
134
|
+
/**
|
|
135
|
+
* If autosize is true, we need to make sure to update the min-height when
|
|
136
|
+
* the rows change.
|
|
137
|
+
*/
|
|
138
|
+
rowsChanged(): void;
|
|
139
|
+
/**
|
|
140
|
+
* If autosize is true, we need to make sure to update the height and
|
|
141
|
+
* min-height, if false, we need to remove the height property.
|
|
142
|
+
*/
|
|
143
|
+
autosizeChanged(): void;
|
|
144
|
+
/****************************************************************************/
|
|
145
|
+
private handleTextarea;
|
|
146
|
+
private handleTextareaContainerClick;
|
|
147
|
+
private adjustTextareaHeight;
|
|
148
|
+
/**
|
|
149
|
+
* Class Properties
|
|
150
|
+
* resize-none resize: none;
|
|
151
|
+
* resize-y resize: vertical;
|
|
152
|
+
* resize-x resize: horizontal;
|
|
153
|
+
* resize resize: both;
|
|
154
|
+
* @returns {string} The resize class.
|
|
155
|
+
*/
|
|
156
|
+
private getResize;
|
|
157
|
+
/****************************************************************************/
|
|
158
|
+
componentDidLoad(): void;
|
|
159
|
+
/****************************************************************************/
|
|
160
|
+
render(): any;
|
|
161
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
*/
|
|
7
|
+
export declare class NvFieldtoggle {
|
|
8
|
+
el: HTMLNvFieldtoggleElement;
|
|
9
|
+
/******************************** PROPERTIES ********************************/
|
|
10
|
+
/**
|
|
11
|
+
* Sets the ID for the radio button’s input element and the for attribute of
|
|
12
|
+
* the associated label. If no ID is provided, a random one will be
|
|
13
|
+
* automatically generated to ensure unique identification, facilitating
|
|
14
|
+
* proper label association and accessibility.
|
|
15
|
+
*/
|
|
16
|
+
readonly inputId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name attribute for the toggle input, used to reference the form data
|
|
19
|
+
* after submission.
|
|
20
|
+
*/
|
|
21
|
+
readonly name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The value attribute of the toggle input, representing the value sent on
|
|
24
|
+
* form submission when the toggle is checked.
|
|
25
|
+
*/
|
|
26
|
+
readonly value?: string;
|
|
27
|
+
/** The label displayed next to the toggle.*/
|
|
28
|
+
readonly label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Determines the position of the label relative to the toggle, either
|
|
31
|
+
* 'start' (before) or 'end' (after).
|
|
32
|
+
*/
|
|
33
|
+
readonly labelPlacement: `${FieldLabelPlacement}`;
|
|
34
|
+
/**
|
|
35
|
+
* Hides the label visually while still keeping it available for screen
|
|
36
|
+
* readers.
|
|
37
|
+
*/
|
|
38
|
+
readonly hideLabel: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* A description providing additional context or information about the
|
|
41
|
+
* toggle.
|
|
42
|
+
*/
|
|
43
|
+
readonly description?: string;
|
|
44
|
+
/** Indicates whether the toggle is checked or not. */
|
|
45
|
+
checked: boolean;
|
|
46
|
+
/** Disables the toggle, preventing user interaction. */
|
|
47
|
+
readonly disabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the toggle to read-only, preventing user changes but still allowing
|
|
50
|
+
* focus and selection of text.
|
|
51
|
+
*/
|
|
52
|
+
readonly readonly: boolean;
|
|
53
|
+
/******************************** EVENTS ************************************/
|
|
54
|
+
/**
|
|
55
|
+
* Emits when the checked state changes.
|
|
56
|
+
* @bind checked
|
|
57
|
+
*/
|
|
58
|
+
checkedChanged: EventEmitter<boolean>;
|
|
59
|
+
/****************************** WATCHERS ************************************/
|
|
60
|
+
/**
|
|
61
|
+
* Watches for changes to the checked state and emits the new value.
|
|
62
|
+
* @param {boolean} checked - The new value of the checked state.
|
|
63
|
+
*/
|
|
64
|
+
onCheckedChanged(checked: boolean): void;
|
|
65
|
+
/**
|
|
66
|
+
* Listens for the change event on the toggle input element and updates the checked state.
|
|
67
|
+
* the checked state of the host elements.
|
|
68
|
+
* @param {Event} event - The change event.
|
|
69
|
+
*/
|
|
70
|
+
handleChange(event: Event): void;
|
|
71
|
+
/********************************* RENDER ***********************************/
|
|
72
|
+
render(): any;
|
|
73
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SemanticSizes, DeprecatedSemanticColors } from '../../utils/constants';
|
|
2
|
+
import { IconName } from './nv-icons';
|
|
3
|
+
export declare class NvIcon {
|
|
4
|
+
/****************************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* Set size to ExtraSmall.
|
|
7
|
+
* @deprecated use size instead.
|
|
8
|
+
*/
|
|
9
|
+
readonly xsmall: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Set size to Small.
|
|
12
|
+
* @deprecated use size instead.
|
|
13
|
+
*/
|
|
14
|
+
readonly small: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Set size to Medium.
|
|
17
|
+
* @deprecated use size instead.
|
|
18
|
+
*/
|
|
19
|
+
readonly medium: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Set size to Large.
|
|
22
|
+
* @deprecated use size instead.
|
|
23
|
+
*/
|
|
24
|
+
readonly large: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Set size to ExtraLarge.
|
|
27
|
+
* @deprecated use size instead.
|
|
28
|
+
*/
|
|
29
|
+
readonly xlarge: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Set color of the icon.
|
|
32
|
+
* @deprecated use class names instead.
|
|
33
|
+
*/
|
|
34
|
+
readonly color: `${DeprecatedSemanticColors}`;
|
|
35
|
+
componentWillRender(): void;
|
|
36
|
+
/****************************************************************************/
|
|
37
|
+
/**
|
|
38
|
+
* Choose the icon you want to display. This also sets the aria-label for
|
|
39
|
+
* improved accessibility, helping users who rely on screen readers.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: `${IconName}` | string;
|
|
42
|
+
/**
|
|
43
|
+
* Adjust the size of the icon to fit your design needs.
|
|
44
|
+
*/
|
|
45
|
+
size: `${SemanticSizes}`;
|
|
46
|
+
spriteUrl: string;
|
|
47
|
+
componentWillLoad(): Promise<void>;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
/****************************************************************************/
|
|
50
|
+
render(): any;
|
|
51
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Available icons */
|
|
2
|
+
export declare const iconNames: readonly ["access-point-off", "access-point", "accessible", "activity", "address-book", "adjustments-horizontal", "adjustments-up", "adjustments", "affiliate", "air-conditioning", "alert-circle", "align-center", "align-left", "align-right", "app-window", "apps", "archive", "areas", "arrow-back-up", "arrow-back", "arrow-down-left", "arrow-down-right", "arrow-down", "arrow-forward-up", "arrow-forward", "arrow-left", "arrow-right", "arrow-up-left", "arrow-up-right", "arrow-up", "arrows-move", "aspect-ratio", "atom", "basket", "battery-1", "battery-2", "battery-3", "battery-4", "battery-automotive", "battery-charging", "battery-eco", "battery-off", "battery", "bell-off", "bell-ringing", "bell", "bike", "bluetooth-connected", "bluetooth-off", "bluetooth", "bolt", "book", "bookmark-off", "bookmark", "bookmarks", "box-align-top", "box-multiple", "briefcase", "brightness-down", "brightness-up", "browser-check", "browser-plus", "browser-x", "browser", "brush", "building-bank", "building-factory", "building-lighthouse", "building-store", "building", "bulb-off", "bulb", "cake", "calendar-time", "calendar", "camera-off", "camera", "car-crane", "car", "caravan", "cash-banknote", "cash", "cast", "cell", "charging-pile", "chart-arcs", "chart-area-line", "chart-area", "chart-arrows-vertical", "chart-arrows", "chart-bar", "chart-bubble", "chart-circles", "chart-donut", "chart-dots", "chart-line", "chart-pie", "chart-radar", "check", "checkbox", "checklist", "checks", "chevron-down", "chevron-left", "chevron-right", "chevron-top", "circle-caret-right", "circle-check", "circle-x", "clipboard-check", "clipboard-list", "clipboard-plus", "clipboard-text", "clipboard-x", "clipboard", "clock-edit", "clock", "cloud-data-connection", "cloud-download", "cloud-rain", "cloud-snow", "cloud-upload", "cloud", "color-picker", "color-swatch", "compass", "contract", "copy", "cpu", "crane", "credit-card", "crop", "cross", "crown", "currency-bitcoin", "currency-dollar", "currency-ethereum", "currency-euro", "cut", "dashboard", "database", "device-desktop", "device-floppy", "device-gamepad", "device-laptop", "device-mobile-rotated", "device-mobile", "device-tablet", "device-watch", "devices", "dialpad", "direction-horizontal", "direction-sign", "direction", "discount", "door-enter", "dots-vertical", "dots", "download", "drone", "droplet-filled", "droplet-half", "droplet", "droplets", "edit", "engine", "external-link", "eye-off", "eye", "face-id", "feather", "file-alert", "file-analytics", "file-check", "file-code", "file-download", "file-export", "file-horizontal", "file-import", "file-plus", "file-search", "file-text-bookmark", "file-text", "file-type-bmp", "file-type-css", "file-type-csv", "file-type-doc", "file-type-html", "file-type-jpg", "file-type-js", "file-type-pdf", "file-type-png", "file-type-ppt", "file-type-xls", "file-type-xml", "file-type-zip", "file-upload", "file-x", "file-zip", "file", "files-off", "files", "filter-off", "filter", "fingerprint", "fire-extinguisher", "flag", "flame", "flip-horizontal", "flip-vertical", "folder-minus", "folder-off", "folder-plus", "folder-x", "folder", "folders", "frame", "gas-station", "gauge", "gift", "gps", "grid-dots", "grip-horizontal", "grip-vertical", "hand-stop", "hand-waving", "hash", "haze", "headphones-off", "headphones", "headset", "helicopter", "help", "history", "home", "hourglass-empty", "hourglass-high", "hourglass-low", "hourglass-off", "hourglass", "inbox", "info-circle", "keyboard-hide", "keyboard-show", "keyboard", "layout-board-split", "layout-dashboard", "layout-grid", "layout-sidebar-left-collapse", "layout-sidebar-left-expand", "layout-sidebar-right-collapse", "layout-sidebar-right-expand", "layout", "leaf", "lifebuoy", "link", "list-search", "list", "loader", "location", "lock-off", "lock-open", "lock", "login", "logout", "mail-forward", "mail-opened", "mail", "map-pin-off", "map-pin", "map", "menu", "message-dots", "message-off", "message", "messages", "microphone-off", "microphone", "minus", "mist", "moon", "motorbike", "mouse", "movie", "network", "news", "note", "notebook", "notes", "offshore-station", "package", "palette", "paperclip", "pencil", "phone-call", "phone-calling", "phone-check", "phone-incoming", "phone-off", "phone-outgoing", "phone", "photo-off", "photo", "pig", "pin", "pinned-off", "pinned", "plane-off", "plane", "plant", "player-pause", "player-play", "player-skip-back", "player-skip-forward", "player-track-next", "player-track-prev", "plug-connected", "plug", "plus", "power-ac", "power-dc", "power", "presentation-analytics", "presentation", "printer", "propeller", "puzzle-2", "puzzle", "pylon", "qrcode", "radar", "radio", "radioactive", "receipt-dollar", "receipt-euro", "receipt", "recharging", "recycle", "refresh-alert", "refresh", "repeat-once", "repeat", "replace", "report-analytics", "report-medical", "report-search", "report", "ripple", "rocket", "rotate-2", "rotate-clockwise-2", "rotate-clockwise", "rotate-dot", "rotate", "router", "ruler-measure", "satellite", "scale", "school", "scissors", "scooter-electric", "screenshot", "search", "seeding", "select", "selector", "send", "server", "settings", "shape", "share-2", "share", "shield-check", "shield-lock", "shield-off", "shield-x", "shield", "ship", "shopping-cart", "slash", "smart-home", "snowflake", "solar-panel", "sort-ascending-letters", "sort-ascending-numbers", "sort-descending-letters", "sort-descending-numbers", "spacing-horizontal", "spacing-vertical", "speakerphone", "stack", "star", "sun", "sunrise", "sunset", "switch-horizontal", "switch-vertical", "table", "tag", "temperature", "template", "terminal", "text-size", "text", "thumb-down", "thumb-up", "ticket", "timeline", "tir", "tool", "tools", "train", "trash-off", "trash", "tree", "trees", "truck-delivery", "truck", "umbrella", "unlink", "upload", "user-circle", "user-minus", "user-plus", "user", "users", "versions", "video-minus", "video-off", "video-plus", "video", "volume-2", "volume-3", "volume", "wallet", "wand", "waves", "wifi-off", "wifi", "wind-direction", "wind", "windmill", "wood", "world", "writing", "x"];
|
|
3
|
+
export type IconName = (typeof iconNames)[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ButtonSize, ButtonEmphasis, ButtonType } from '../../utils/constants';
|
|
2
|
+
import { IconName } from '../nv-icon/nv-icons';
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Content of the button.
|
|
5
|
+
*/
|
|
6
|
+
export declare class NvIconbutton {
|
|
7
|
+
internals: ElementInternals;
|
|
8
|
+
el: HTMLNvIconbuttonElement;
|
|
9
|
+
/****************************************************************************/
|
|
10
|
+
/**
|
|
11
|
+
* Determines how large or small the button appears, allowing for
|
|
12
|
+
* customization of the button's dimensions to fit different design
|
|
13
|
+
* specifications and user needs.
|
|
14
|
+
*/
|
|
15
|
+
readonly size: `${ButtonSize}`;
|
|
16
|
+
/**
|
|
17
|
+
* Adjusts the button’s emphasis to make it more or less visually prominent
|
|
18
|
+
* to users. Use this to draw attention to important actions or reduce focus
|
|
19
|
+
* on less critical ones.
|
|
20
|
+
*/
|
|
21
|
+
readonly emphasis: `${ButtonEmphasis}`;
|
|
22
|
+
/**
|
|
23
|
+
* Set this to true to show a spinner on the button, letting users know that
|
|
24
|
+
* their action is being processed. It helps improve user experience by
|
|
25
|
+
* indicating ongoing activities. The icon is not displayed when the button
|
|
26
|
+
* is loading. Also, the button is disabled. If you want to disable the
|
|
27
|
+
* button, it is not possible. It is automatically disabled when loading.
|
|
28
|
+
*/
|
|
29
|
+
loading: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Disables the button, preventing user interaction.
|
|
32
|
+
*/
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Makes the button look active when it’s within a compatible component
|
|
36
|
+
* like a button group.
|
|
37
|
+
*/
|
|
38
|
+
readonly active: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Choose the icon you want to display. This also sets the aria-label for
|
|
41
|
+
* improved accessibility, helping users who rely on screen readers.
|
|
42
|
+
* The icon is not displayed when the button is loading.
|
|
43
|
+
*/
|
|
44
|
+
readonly name: `${IconName}` | string;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the button type to control its function in forms. Use 'submit' to send
|
|
47
|
+
* form data, 'reset' to clear the form, or 'button' for a standard button
|
|
48
|
+
* that doesn’t interact with form submission by default.
|
|
49
|
+
*/
|
|
50
|
+
readonly type: `${ButtonType}`;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the shape of the button. Choose between square and rounded.
|
|
53
|
+
*/
|
|
54
|
+
readonly shape: 'square' | 'rounded';
|
|
55
|
+
/****************************************************************************/
|
|
56
|
+
/**
|
|
57
|
+
* Handles form-related actions when the button is clicked.
|
|
58
|
+
* - Submits the form if the button type is 'submit'.
|
|
59
|
+
* - Resets the form if the button type is 'reset'.
|
|
60
|
+
* @param {Event} event - The click event.
|
|
61
|
+
*/
|
|
62
|
+
private handleClick;
|
|
63
|
+
/****************************************************************************/
|
|
64
|
+
handleLoadingChange(loading: boolean): void;
|
|
65
|
+
handleDisabledChange(disabled: boolean): void;
|
|
66
|
+
/****************************************************************************/
|
|
67
|
+
componentWillLoad(): void;
|
|
68
|
+
/****************************************************************************/
|
|
69
|
+
render(): any;
|
|
70
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SemanticSizes, LoaderColors } from '../../utils/constants';
|
|
2
|
+
export declare class NvLoader {
|
|
3
|
+
/****************************************************************************/
|
|
4
|
+
/**
|
|
5
|
+
* Choose the size of the loader to best fit your application’s needs, whether
|
|
6
|
+
* it’s a small spinner for subtle loading indicators or a large one for more
|
|
7
|
+
* prominent displays.
|
|
8
|
+
*/
|
|
9
|
+
readonly size: `${SemanticSizes}`;
|
|
10
|
+
/**
|
|
11
|
+
* Choose the color of the loader. Options are primary and white to keep the
|
|
12
|
+
* design consistent and ensure the loader stands out or blends in
|
|
13
|
+
* appropriately with your application’s interface.
|
|
14
|
+
*/
|
|
15
|
+
readonly color: `${LoaderColors}`;
|
|
16
|
+
/****************************************************************************/
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Placement } from '@floating-ui/dom';
|
|
3
|
+
import type { MenuitemSelectedEventDetail } from '../nv-menuitem/nv-menuitem';
|
|
4
|
+
/**
|
|
5
|
+
* @slot trigger - Button to toggle the menu popover.
|
|
6
|
+
* @slot content - Use an <ul></ul> tag for the slot, and place <nv-menuitem> elements inside.
|
|
7
|
+
*/
|
|
8
|
+
export declare class NvMenu {
|
|
9
|
+
el: HTMLNvMenuElement;
|
|
10
|
+
private triggerElement;
|
|
11
|
+
private popoverElement;
|
|
12
|
+
private isHandlingKeyDown;
|
|
13
|
+
private isHandlingClick;
|
|
14
|
+
/****************************************************************************/
|
|
15
|
+
/**
|
|
16
|
+
* Use this to toggle the initial visibility of the menu, by default the menu
|
|
17
|
+
* is hidden.
|
|
18
|
+
*/
|
|
19
|
+
open: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Use this if the menu is nested inside another menu. This will prevent the
|
|
22
|
+
* parent menu from closing when the child menu is opened.
|
|
23
|
+
*/
|
|
24
|
+
readonly nested: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Use this to disable the menu from closing automatically when a menu item is
|
|
27
|
+
* selected.
|
|
28
|
+
*/
|
|
29
|
+
readonly disableCloseOnSelect: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Decides where the menu shows up next to the button it’s linked to (above,
|
|
32
|
+
* below, to the sides). If there isn’t enough room, it will adjust its
|
|
33
|
+
* position on the axis to fit on the screen, so users can always see it.
|
|
34
|
+
*/
|
|
35
|
+
readonly placement: Placement;
|
|
36
|
+
/****************************************************************************/
|
|
37
|
+
/**
|
|
38
|
+
* Opens the menu.
|
|
39
|
+
*/
|
|
40
|
+
show(): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Closes the menu.
|
|
43
|
+
*/
|
|
44
|
+
close(): Promise<void>;
|
|
45
|
+
/****************************************************************************/
|
|
46
|
+
/**
|
|
47
|
+
* Emitted from nv-menuitem elements with the corresponding id when the menu
|
|
48
|
+
* item is selected.
|
|
49
|
+
*/
|
|
50
|
+
menuitemSelected: EventEmitter<MenuitemSelectedEventDetail>;
|
|
51
|
+
private handleMenuItemSelect;
|
|
52
|
+
handleMenuClick(event: MouseEvent): void;
|
|
53
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
54
|
+
handleOpenChanged(event: CustomEvent<boolean>): void;
|
|
55
|
+
private focusFirstItem;
|
|
56
|
+
/****************************************************************************/
|
|
57
|
+
componentWillLoad(): void;
|
|
58
|
+
/****************************************************************************/
|
|
59
|
+
render(): any;
|
|
60
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IconName } from '../nv-icon/nv-icons';
|
|
2
|
+
export type MenuitemSelectedEventDetail = {
|
|
3
|
+
itemId?: HTMLElement['id'];
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @slot default - The content to render, usually just text
|
|
7
|
+
*/
|
|
8
|
+
export declare class NvMenuitem {
|
|
9
|
+
el: HTMLNvMenuitemElement;
|
|
10
|
+
/****************************************************************************/
|
|
11
|
+
/**
|
|
12
|
+
* Choose the icon you want to display. This also sets the aria-label for
|
|
13
|
+
* improved accessibility, helping users who rely on screen readers.
|
|
14
|
+
* The icon is not displayed when the button is loading.
|
|
15
|
+
*/
|
|
16
|
+
readonly icon: `${IconName}`;
|
|
17
|
+
/**
|
|
18
|
+
* Disables the item, preventing user interaction.
|
|
19
|
+
*/
|
|
20
|
+
readonly disabled: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Show a shortcut key for the action represented in the menu item.
|
|
23
|
+
*/
|
|
24
|
+
readonly shortcut: string;
|
|
25
|
+
/**
|
|
26
|
+
* If the menu item has a submenu, the a caret icon will be displayed.
|
|
27
|
+
*/
|
|
28
|
+
readonly hasSubmenu: boolean;
|
|
29
|
+
/****************************************************************************/
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type Placement } from '@floating-ui/dom';
|
|
3
|
+
/**
|
|
4
|
+
* @slot trigger - Content to be placed as the trigger.
|
|
5
|
+
* @slot content - Content to be placed within the popover.
|
|
6
|
+
*/
|
|
7
|
+
export declare class NvPopover {
|
|
8
|
+
el: HTMLNvPopoverElement;
|
|
9
|
+
private popoverElement;
|
|
10
|
+
private arrowElement;
|
|
11
|
+
/****************************************************************************/
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* Accepts a reference to the DOM element acting as the popover trigger. This
|
|
15
|
+
* should be used when the slot for the trigger is not defined.
|
|
16
|
+
*/
|
|
17
|
+
triggerElement: Element;
|
|
18
|
+
/**
|
|
19
|
+
* Use this prop to toggle the visibility of the popover. Set to true to show
|
|
20
|
+
* the popover and false to hide it.
|
|
21
|
+
*/
|
|
22
|
+
open: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the interaction mode for triggering the popover. Options include:
|
|
25
|
+
* - `hover`: The popover is shown on trigger hover.
|
|
26
|
+
* - `click`: The popover toggles on trigger click.
|
|
27
|
+
* - `controlled`: The visibility is managed manually through methods or the
|
|
28
|
+
* open prop.
|
|
29
|
+
*/
|
|
30
|
+
readonly triggerMode: 'hover' | 'click' | 'controlled';
|
|
31
|
+
/**
|
|
32
|
+
* Defines where the popover appears relative to the trigger.
|
|
33
|
+
*/
|
|
34
|
+
readonly placement: Placement;
|
|
35
|
+
/**
|
|
36
|
+
* Use this to group popovers together so that opening one will not animate
|
|
37
|
+
* the closing of another. This is helpful when popovers are placed close
|
|
38
|
+
* together, preventing animation overlap.
|
|
39
|
+
*/
|
|
40
|
+
readonly groupName: string;
|
|
41
|
+
/**
|
|
42
|
+
* Adjust the gap between the popover and its trigger element by setting how
|
|
43
|
+
* many pixels they should be apart.
|
|
44
|
+
*/
|
|
45
|
+
readonly offset: number;
|
|
46
|
+
/**
|
|
47
|
+
* Use this to decide if the popover should include a small arrow pointing to
|
|
48
|
+
* the trigger element, making the connection between them more clear.
|
|
49
|
+
*/
|
|
50
|
+
readonly hasArrow: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Disables the automatic flipping of the popover when the trigger element is
|
|
53
|
+
* out of the viewport. The popover will flip automatically by default.
|
|
54
|
+
*/
|
|
55
|
+
readonly disableFlip: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Sets how many pixels the popover should stay from the edge of the viewport.
|
|
58
|
+
*/
|
|
59
|
+
readonly shiftPadding: number;
|
|
60
|
+
/**
|
|
61
|
+
* Use this to set a delay before the popover appears on hover. If the mouse
|
|
62
|
+
* leaves before this time, the popover won’t show. This only works when the
|
|
63
|
+
* trigger mode is set to `hover`.
|
|
64
|
+
*/
|
|
65
|
+
readonly enterDelay: number;
|
|
66
|
+
/**
|
|
67
|
+
* Use this to set the popover to be nested inside another popover. This will
|
|
68
|
+
* prevent the parent popover from closing when the child popover is opened.
|
|
69
|
+
*/
|
|
70
|
+
readonly nested: boolean;
|
|
71
|
+
/****************************************************************************/
|
|
72
|
+
/**
|
|
73
|
+
* Call this method to show the popover, making it visible on the screen.
|
|
74
|
+
*/
|
|
75
|
+
show(): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Use this method to hide the popover, making it disappear from view.
|
|
78
|
+
*/
|
|
79
|
+
hide(): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Call this method to toggle between showing and hiding the popover, based on
|
|
82
|
+
* its current state.
|
|
83
|
+
*/
|
|
84
|
+
toggle(): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Calculates the position of the popover relative to the trigger.
|
|
87
|
+
* @docs https://floating-ui.com/docs/computePosition
|
|
88
|
+
*/
|
|
89
|
+
private positionPopover;
|
|
90
|
+
/****************************************************************************/
|
|
91
|
+
/**
|
|
92
|
+
* Emitted when the popover is toggled.
|
|
93
|
+
* @bind open
|
|
94
|
+
*/
|
|
95
|
+
openChanged: EventEmitter<boolean>;
|
|
96
|
+
handleOpenChanged(event: CustomEvent<boolean>): void;
|
|
97
|
+
handleDocumentClick(event: MouseEvent): void;
|
|
98
|
+
handleDocumentTouch(event: TouchEvent): void;
|
|
99
|
+
private handleClickOutside;
|
|
100
|
+
private clickEvents;
|
|
101
|
+
private hideTimeout;
|
|
102
|
+
private showTimeout;
|
|
103
|
+
private hoverEvents;
|
|
104
|
+
private closeEvents;
|
|
105
|
+
/****************************************************************************/
|
|
106
|
+
private isAnimating;
|
|
107
|
+
handleOpenChange(open: boolean): Promise<void>;
|
|
108
|
+
/****************************************************************************/
|
|
109
|
+
componentWillLoad(): void;
|
|
110
|
+
componentDidLoad(): void;
|
|
111
|
+
disconnectedCallback(): void;
|
|
112
|
+
/****************************************************************************/
|
|
113
|
+
render(): any;
|
|
114
|
+
}
|