@nova-design-system/nova-react 3.22.0 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/cjs/_commonjsHelpers-B85MJLTf-CFO10eej.js +7 -0
  2. package/dist/cjs/{collapse.animation-6e0b08df-AHWzNGm_.js → collapse.animation-DZDm0vSK-C2TOIhIK.js} +3 -3
  3. package/dist/cjs/events.utils-B6GgGra--01N__3wY.js +23 -0
  4. package/dist/cjs/{fade.animation-9b939939-DV--bM4S.js → fade.animation-DcRL9lcm-DAZeHoKN.js} +75 -75
  5. package/dist/cjs/generated/components.server.js +292 -50
  6. package/dist/cjs/{grow.animation-24ad5cf8-LUp_ITEx.js → grow.animation-D7ep_aVl-BuXEDSK-.js} +5 -26
  7. package/dist/cjs/i18n.utils-IlwlcG9l-ku0bScip.js +2494 -0
  8. package/dist/cjs/{index-WPRkQD3O.js → index-kU2nW5aN.js} +12692 -7009
  9. package/dist/cjs/{nv-dialog.entry-CDSK9pUH.js → index.esm-D3eWMME9-CG1TVKfu.js} +1 -296
  10. package/dist/cjs/index.js +15 -1
  11. package/dist/cjs/inputmask-CSo292ul-DlvupPk6.js +3758 -0
  12. package/dist/cjs/{nv-accordion-item.entry-BuTvA6w9.js → nv-accordion-item.entry-Bu1tAcCq.js} +11 -10
  13. package/dist/cjs/{nv-accordion.entry-Dtsfw6He.js → nv-accordion.entry-jWjLdX8w.js} +9 -11
  14. package/dist/cjs/{nv-alert.entry-TIdfdU7Y.js → nv-alert.entry-E9ZJay_K.js} +22 -23
  15. package/dist/cjs/{nv-avatar.entry-CaxrhPuw.js → nv-avatar.entry-CUX7u0kR.js} +11 -11
  16. package/dist/cjs/{nv-badge_2.entry-CfYvTZxX.js → nv-badge_2.entry-bxpV5gxE.js} +24 -24
  17. package/dist/cjs/{nv-breadcrumb.entry-BCZ4MmfD.js → nv-breadcrumb.entry-Cbbb9Qeh.js} +5 -5
  18. package/dist/cjs/{nv-breadcrumbs.entry-DwzCE7F6.js → nv-breadcrumbs.entry-BTqnp9zO.js} +3 -3
  19. package/dist/cjs/{nv-button.entry-Cr_86bcZ.js → nv-button.entry-upWH19y6.js} +12 -14
  20. package/dist/cjs/{nv-buttongroup.entry-CWjRoHY1.js → nv-buttongroup.entry-CuZCRsnV.js} +3 -3
  21. package/dist/cjs/{nv-calendar.entry-CXfwNt6G.js → nv-calendar.entry-CT3mASW6.js} +113 -97
  22. package/dist/cjs/{nv-col.entry-CJLDS3LY.js → nv-col.entry--pCxkaTh.js} +5 -5
  23. package/dist/cjs/{nv-datagrid.entry-Cns8XSud.js → nv-datagrid.entry-CGCEhO8C.js} +80 -85
  24. package/dist/cjs/{nv-datagridcolumn.entry-CFFAipHF.js → nv-datagridcolumn.entry-Fsqc7CT_.js} +2 -1
  25. package/dist/cjs/nv-dialog.entry-B6OYcZxQ.js +300 -0
  26. package/dist/cjs/{nv-dialogfooter_2.entry-To_dGUn4.js → nv-dialogfooter_2.entry-C4fP_n2-.js} +10 -11
  27. package/dist/cjs/nv-drawer.entry-C5O4KvHU.js +445 -0
  28. package/dist/cjs/nv-drawerfooter_2.entry-C-reYJXG.js +146 -0
  29. package/dist/cjs/nv-fieldcheckbox.entry-bk7UNQny.js +177 -0
  30. package/dist/cjs/{nv-fielddate.entry-C3pXtMHL.js → nv-fielddate.entry-dqZDBVmm.js} +89 -46
  31. package/dist/cjs/{nv-fielddaterange.entry-CjVVPEK_.js → nv-fielddaterange.entry-wNRasXky.js} +151 -103
  32. package/dist/cjs/nv-fielddropdown.entry-BA15piWa.js +678 -0
  33. package/dist/cjs/{nv-fielddropdownitem.entry-Dah-PaE8.js → nv-fielddropdownitem.entry-DEWaf9dC.js} +7 -7
  34. package/dist/cjs/{nv-fieldmultiselect.entry-BMLjhqoJ.js → nv-fieldmultiselect.entry-BWY5xOAd.js} +343 -236
  35. package/dist/cjs/nv-fieldnumber.entry-DoYORd0d.js +187 -0
  36. package/dist/cjs/nv-fieldpassword.entry-CPaLj9aD.js +165 -0
  37. package/dist/cjs/{nv-fieldradio.entry-X_2VT1Dj.js → nv-fieldradio.entry-CvUmEaCa.js} +11 -11
  38. package/dist/cjs/{nv-fieldselect.entry-pSp-2rNn.js → nv-fieldselect.entry-uUIZ6hmN.js} +52 -13
  39. package/dist/cjs/{nv-fieldslider.entry-pZf7zzLU.js → nv-fieldslider.entry-DnvmxxYY.js} +16 -31
  40. package/dist/cjs/nv-fieldtext.entry-BYAJp3n_.js +163 -0
  41. package/dist/cjs/{nv-fieldtextarea.entry-t3Ixxi23.js → nv-fieldtextarea.entry-DU2bWYeg.js} +52 -14
  42. package/dist/cjs/{nv-fieldtime.entry-DY7D5_6K.js → nv-fieldtime.entry-DlMNDTht.js} +128 -84
  43. package/dist/cjs/{nv-icon.entry-6oYPSf4c.js → nv-icon.entry-CnUkRzaA.js} +12 -12
  44. package/dist/cjs/{nv-iconbutton_2.entry-ChULGovr.js → nv-iconbutton_2.entry-hqp4AcRq.js} +10 -12
  45. package/dist/cjs/{nv-menu.entry-sd0tatWq.js → nv-menu.entry-Dc_FvIx7.js} +18 -32
  46. package/dist/cjs/{nv-menuitem.entry-CCOqR7UF.js → nv-menuitem.entry-DzMhx6c_.js} +6 -5
  47. package/dist/cjs/nv-notification-bullet.entry-BwhHCMQF.js +76 -0
  48. package/dist/cjs/{nv-notification.entry-Cc3zE3yY.js → nv-notification.entry-C3m5p5BL.js} +42 -128
  49. package/dist/cjs/{nv-notificationcontainer.entry-DV4D6oOH.js → nv-notificationcontainer.entry-DTRNn7VE.js} +4 -4
  50. package/dist/cjs/{nv-popover.entry-DQSwI2jT.js → nv-popover.entry-B0c-2rO4.js} +51 -47
  51. package/dist/cjs/{nv-row.entry-UUuMSAY5.js → nv-row.entry-CdcjVGZv.js} +4 -4
  52. package/dist/cjs/nv-sidebar.entry-CiN813gQ.js +177 -0
  53. package/dist/cjs/nv-sidebarcontent.entry-D9hpAhK8.js +22 -0
  54. package/dist/cjs/nv-sidebardivider.entry-B4EMyca5.js +22 -0
  55. package/dist/cjs/nv-sidebarfooter.entry-CHi4qOFe.js +22 -0
  56. package/dist/cjs/nv-sidebargroup.entry-RVqrsyIU.js +23 -0
  57. package/dist/cjs/nv-sidebarheader.entry-_7ch0O3G.js +22 -0
  58. package/dist/cjs/nv-sidebarlogo.entry-Ch9F-JnT.js +32 -0
  59. package/dist/cjs/nv-sidebarnavitem.entry-DVrafSMr.js +296 -0
  60. package/dist/cjs/nv-sidebarnavsubitem.entry-C0XDAzma.js +35 -0
  61. package/dist/cjs/{nv-split.entry-CYP2bTTM.js → nv-split.entry-0HTslRAX.js} +47 -45
  62. package/dist/cjs/{nv-stack.entry-D35-75Vw.js → nv-stack.entry-CqO7uTQf.js} +5 -5
  63. package/dist/cjs/{nv-table.entry-DevWJBnL.js → nv-table.entry-DH85n8Mc.js} +9 -11
  64. package/dist/cjs/{nv-tableheader.entry-Hs7nUSOC.js → nv-tableheader.entry-CKfocdxD.js} +7 -7
  65. package/dist/cjs/{nv-toggle.entry-Eje9d--6.js → nv-toggle.entry-BHUl76Im.js} +9 -9
  66. package/dist/cjs/nv-togglebutton.entry-D_9COjY-.js +67 -0
  67. package/dist/cjs/{nv-togglebuttongroup.entry-CWN_Ucry.js → nv-togglebuttongroup.entry-C0NLbsq7.js} +10 -8
  68. package/dist/cjs/{nv-tooltip.entry-BGkKDEFg.js → nv-tooltip.entry-BfViGE_U.js} +5 -5
  69. package/dist/cjs/slide.animation-CmH5d1of-BZuw607U.js +90 -0
  70. package/dist/cjs/{style-value-types.es-f5d10b79-D0QCM8OB.js → style-value-types.es-xlgmw4x8-B1vLqX9m.js} +6 -3
  71. package/dist/cjs/{v4-a79185f4-2n0dOd_Y.js → v4-BdYh22OP-C1vaJ4yP.js} +1 -1
  72. package/dist/components/NvDatatable/NvDatatable.js +40 -24
  73. package/dist/generated/components.js +107 -0
  74. package/dist/generated/components.server.js +260 -50
  75. package/dist/providers/NotificationProvider.js +3 -4
  76. package/dist/types/components/NvDatatable/NvDatatable.d.ts +1 -1
  77. package/dist/types/components/NvDatatable/types.d.ts +8 -3
  78. package/dist/types/generated/components.d.ts +46 -0
  79. package/dist/types/generated/components.server.d.ts +46 -0
  80. package/package.json +2 -2
  81. package/dist/cjs/_commonjsHelpers-1789f0cf-BJu3ubxk.js +0 -10
  82. package/dist/cjs/inputmask-edcad3c1-B9Omti4z.js +0 -3749
  83. package/dist/cjs/nv-fieldcheckbox.entry-fdonR07Z.js +0 -138
  84. package/dist/cjs/nv-fielddropdown.entry-C9mXuNNj.js +0 -392
  85. package/dist/cjs/nv-fieldnumber.entry-DBdJviXu.js +0 -148
  86. package/dist/cjs/nv-fieldpassword.entry-Cim_usSM.js +0 -122
  87. package/dist/cjs/nv-fieldtext.entry-DlI_ExaV.js +0 -124
  88. package/dist/cjs/nv-togglebutton.entry-LGI7pIeK.js +0 -56
  89. /package/dist/cjs/{clsx-297c1ffe-BtxeOLZW.js → clsx-ChV9xqsO-BtxeOLZW.js} +0 -0
  90. /package/dist/cjs/{constants-69bafca2-DpB_ghPF.js → constants-BReL3Lsa-DpB_ghPF.js} +0 -0
  91. /package/dist/cjs/{timeline.animation-79215cd4-KteJaZPb.js → timeline.animation-CgHCo_Ho-KteJaZPb.js} +0 -0
@@ -1,16 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-WPRkQD3O.js');
4
- var grow_animation24ad5cf8 = require('./grow.animation-24ad5cf8-LUp_ITEx.js');
5
- var fade_animation9b939939 = require('./fade.animation-9b939939-DV--bM4S.js');
6
- require('./style-value-types.es-f5d10b79-D0QCM8OB.js');
7
- var timeline_animation79215cd4 = require('./timeline.animation-79215cd4-KteJaZPb.js');
8
- var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
9
- var constants69bafca2 = require('./constants-69bafca2-DpB_ghPF.js');
10
- var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
11
- require('react');
12
- require('react-dom');
13
-
14
3
  /*!
15
4
  * tabbable 6.2.0
16
5
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -545,288 +534,4 @@ var tabbable = function tabbable(container, options) {
545
534
  return sortByOrder(candidates);
546
535
  };
547
536
 
548
- const nvDialogCss = "nv-dialog dialog{width:100vw;height:100svh;margin:0;max-height:unset;max-width:unset;padding:0;background:color-mix(in srgb, var(--components-overlay-background) 70%, transparent);backdrop-filter:blur(4px)}nv-dialog dialog.full .content{min-width:90vw;width:90vw;max-width:90vw}nv-dialog .backdrop{display:flex;min-height:100%;padding:var(--spacing-3);box-shadow:0px var(--shadow-y-axis-2xl) var(--shadow-blur-2xl) var(--shadow-spread-2xl) var(--shadow-color-opacity-3) var(--shadow-color-opacity-3)}nv-dialog .backdrop .content{border-radius:var(--radius-rounded-2xl);background:var(--color-level-00-background);min-width:min(90vw, 400px);width:fit-content;max-width:clamp(90vw, min(90vw, 960px), 960px);margin:auto;display:flex;flex-direction:column;align-items:flex-start;height:fit-content;position:relative}nv-dialog .backdrop .content nv-button.close-button{position:absolute;top:var(--dialog-dismissible-position-top);right:var(--dialog-dismissible-position-right);display:flex;padding:var(--button-sm-icon-button-padding);justify-content:flex-end;align-items:flex-start;gap:10px}nv-dialog .backdrop .content .content-body{box-sizing:border-box;padding:var(--dialog-body-padding-y) var(--dialog-body-padding-x);scrollbar-gutter:stable both-edges;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--line-height-base);color:var(--color-content-medium-text);width:100%}nv-dialog .backdrop .content .content-body::-webkit-scrollbar{width:6px;height:6px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}";
549
- const NvDialogStyle0 = nvDialogCss;
550
-
551
- const NvDialog = class {
552
- constructor(hostRef) {
553
- index.registerInstance(this, hostRef);
554
- this.openChanged = index.createEvent(this, "openChanged");
555
- this.eventsAttached = false;
556
- this.triggerClickEvents = [
557
- ['click', this.show],
558
- [
559
- 'keydown',
560
- (e) => {
561
- if (e.key === 'Enter' || e.key === ' ') {
562
- e.preventDefault();
563
- this.show();
564
- }
565
- },
566
- ],
567
- ];
568
- /**
569
- * Use this prop to toggle the visibility of the dialog. Set to true to show
570
- * the dialog and false to hide it.
571
- */
572
- this.open = false;
573
- /**
574
- * If true, the dialog cannot be closed by the user.
575
- */
576
- this.undismissable = false;
577
- /**
578
- * If true, the dialog will be closed when the backdrop is clicked.
579
- */
580
- this.clickOutside = false;
581
- /**
582
- * If true, the dialog visibility is managed manually through methods or the
583
- * open prop.
584
- */
585
- this.controlled = false;
586
- /**
587
- * If true, the dialog takes full width styling.
588
- */
589
- this.full = false;
590
- /**
591
- * Controls whether the dialog should automatically focus the first focusable
592
- * element when opened. When disabled, prevents unwanted tooltip triggers on
593
- * dialog open.
594
- */
595
- this.autofocus = false;
596
- /**
597
- * Checks for and sets up form ID if a form is present
598
- */
599
- this.checkForForm = () => {
600
- if (!this.form) {
601
- const formElement = this.el.querySelector('form');
602
- if (formElement) {
603
- this.form = this.ensureFormId(formElement);
604
- }
605
- }
606
- };
607
- /**
608
- * Handles the native dialog close event.
609
- */
610
- this.handleDialogClose = () => {
611
- if (this.open) {
612
- this.close();
613
- }
614
- };
615
- /**
616
- * Handles the click event to close the dialog when clickOutside is true.
617
- * @param {MouseEvent} event - The click event.
618
- */
619
- this.handleDialogClick = (event) => {
620
- if (!this.clickOutside || this.undismissable)
621
- return;
622
- if (this.checkForOpenPopovers())
623
- return;
624
- if (event.target === this.backdropElement) {
625
- this.close();
626
- event.preventDefault();
627
- event.stopPropagation();
628
- }
629
- };
630
- this.checkForOpenPopovers = () => {
631
- let hasOpenPopover = false;
632
- this.el.querySelectorAll('nv-popover').forEach(popover => {
633
- if (popover.hasAttribute('open')) {
634
- hasOpenPopover = true;
635
- }
636
- });
637
- return hasOpenPopover;
638
- };
639
- }
640
- //#endregion PROPERTIES
641
- /****************************************************************************/
642
- //#region METHODS
643
- /**
644
- * Call this method to show the dialog, making it visible on the screen.
645
- */
646
- async show() {
647
- this.open = true;
648
- this.preventScroll();
649
- /** It is recommended to use the .show() or .showModal() method to render
650
- * dialogs, rather than the open attribute. If a <dialog> is opened using
651
- * the open attribute, it is non-modal. */
652
- const { setFadeOut } = fade_animation9b939939.useFade(this.dialogElement);
653
- setFadeOut();
654
- this.dialogElement.showModal();
655
- const { setGrowIn, growIn } = grow_animation24ad5cf8.useGrow(this.contentElement, {
656
- duration: 100,
657
- amount: 0.9,
658
- });
659
- const { fadeIn } = fade_animation9b939939.useFade(this.dialogElement, {
660
- duration: 100,
661
- });
662
- setGrowIn();
663
- await timeline_animation79215cd4.parallel(fadeIn, growIn).start();
664
- }
665
- /**
666
- * Call this method to hide the dialog, making it disappear from view.
667
- */
668
- async close() {
669
- this.open = false;
670
- this.allowScroll();
671
- const { growOut } = grow_animation24ad5cf8.useGrow(this.contentElement, {
672
- duration: 150,
673
- amount: 0.85,
674
- });
675
- const { fadeOut } = fade_animation9b939939.useFade(this.dialogElement, {
676
- duration: 150,
677
- });
678
- await timeline_animation79215cd4.parallel(growOut, fadeOut).start();
679
- this.dialogElement.close();
680
- }
681
- /**
682
- * Sets the autofocus on the first focusable element in the dialog.
683
- */
684
- setAutofocus() {
685
- const focusableElements = tabbable(this.dialogElement, {
686
- displayCheck: 'none',
687
- });
688
- if (focusableElements.length > 0) {
689
- // Convert to array and find element with smallest top and left position
690
- let topLeftElement = focusableElements[0];
691
- let topLeftRect = topLeftElement.getBoundingClientRect();
692
- focusableElements.forEach(element => {
693
- const rect = element.getBoundingClientRect();
694
- if (rect.top < topLeftRect.top || rect.left < topLeftRect.left) {
695
- topLeftElement = element;
696
- topLeftRect = rect;
697
- }
698
- });
699
- // Set autofocus attribute on the found element
700
- topLeftElement.setAttribute('autofocus', 'true');
701
- }
702
- }
703
- /**
704
- * Attaches event listeners to the dialog.
705
- */
706
- attachEventListeners() {
707
- if (this.triggerElement && !this.eventsAttached && !this.controlled) {
708
- grow_animation24ad5cf8.addEventListeners(this.triggerClickEvents, this.triggerElement, this);
709
- this.eventsAttached = true;
710
- }
711
- }
712
- /**
713
- * Prevents the body from scrolling when the dialog is open.
714
- * Compensates for scrollbar width to prevent layout shift.
715
- */
716
- preventScroll() {
717
- // Calculate scrollbar width
718
- const scrollBarWidth = window.innerWidth - document.documentElement.clientWidth;
719
- // Apply overflow hidden and padding compensation
720
- document.documentElement.style.overflow = 'hidden';
721
- document.documentElement.style.paddingRight = `${scrollBarWidth}px`;
722
- }
723
- /**
724
- * Allows the body to scroll when the dialog is closed.
725
- * Removes the applied overflow and padding styles.
726
- */
727
- allowScroll() {
728
- // Remove the applied styles
729
- document.documentElement.style.removeProperty('overflow');
730
- document.documentElement.style.removeProperty('padding-right');
731
- }
732
- ensureFormId(formElement) {
733
- if (!formElement.id) {
734
- formElement.id = `dialog-form-${v4A79185f4.v4()}`;
735
- }
736
- return formElement.id;
737
- }
738
- //#endregion EVENTS
739
- /****************************************************************************/
740
- //#region WATCHERS
741
- async handleDialogOpenChange(isOpen) {
742
- if (isOpen) {
743
- this.show();
744
- this.openChanged.emit(isOpen);
745
- }
746
- else {
747
- this.close();
748
- this.openChanged.emit(isOpen);
749
- }
750
- }
751
- //#endregion WATCHERS
752
- /****************************************************************************/
753
- //#region LISTENERS
754
- /**
755
- * Handles the keydown event to optionally prevent the native dialog from closing when the escape key is pressed.
756
- * @param {KeyboardEvent} event - The keydown event.
757
- */
758
- handleKeyDown(event) {
759
- if (event.key !== 'Escape')
760
- return;
761
- if (!this.open)
762
- return;
763
- event.preventDefault();
764
- event.stopPropagation();
765
- const hasOpenPopover = this.checkForOpenPopovers();
766
- if (!this.undismissable && !hasOpenPopover) {
767
- event.preventDefault();
768
- event.stopPropagation();
769
- this.close();
770
- }
771
- }
772
- //#endregion LISTENERS
773
- /****************************************************************************/
774
- //#region LIFECYCLE
775
- /**
776
- * Lifecycle method that runs before the component loads.
777
- * Initializes the trigger, header, and footer elements by finding them in the component's children.
778
- * Elements are found either by their slot attribute or by their tag name (for dialog header/footer)
779
- */
780
- componentWillLoad() {
781
- this.triggerElement = Array.from(this.el.children).find(child => {
782
- return child.getAttribute('slot') === 'trigger';
783
- });
784
- this.headerElement = Array.from(this.el.children).find(child => {
785
- return (child.getAttribute('slot') === 'header' ||
786
- child.tagName.toLowerCase() === 'nv-dialogheader');
787
- });
788
- this.footerElement = Array.from(this.el.children).find(child => {
789
- return (child.getAttribute('slot') === 'footer' ||
790
- child.tagName.toLowerCase() === 'nv-dialogfooter');
791
- });
792
- // Initial form check
793
- this.checkForForm();
794
- }
795
- componentWillUpdate() {
796
- this.attachEventListeners();
797
- }
798
- componentDidLoad() {
799
- if (this.open) {
800
- this.show();
801
- }
802
- // Only set autofocus if the prop is true and no element already has autofocus
803
- if (this.autofocus && !this.dialogElement.querySelector('[autofocus]')) {
804
- this.setAutofocus();
805
- }
806
- this.attachEventListeners();
807
- // Additional form check in case form was added after initial load
808
- this.checkForForm();
809
- // this.setupContentBodyListeners();
810
- }
811
- disconnectedCallback() {
812
- if (this.triggerElement && !this.eventsAttached && !this.controlled) {
813
- grow_animation24ad5cf8.removeEventListeners(this.triggerClickEvents, this.triggerElement, this);
814
- this.eventsAttached = false;
815
- }
816
- this.allowScroll();
817
- }
818
- //#endregion LIFECYCLE
819
- /****************************************************************************/
820
- //#region RENDER
821
- render() {
822
- const hasForm = this.form || this.el.querySelector('form');
823
- return (index.h(index.Host, { key: '91b36e5daac0251997c7a6794166794f1e89087f' }, index.h("slot", { key: 'abeef317af74093c9b09fa6f2d300c23bbde54a6', name: "trigger" }), index.h("dialog", { key: '1eb417dc921bca7837aa05aad9c252fba7d9d920', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx297c1ffe.clsx({ full: this.full }) }, index.h("div", { key: '8ec55c461a747ebb4556fbf791ee1d66d3bcc51a', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: '373beedad09464f3473935e0464b3f51133e0372', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (index.h("nv-button", { key: '5e94d056687837b017991f54df6cf350159addcc', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, index.h("nv-icon", { key: '98db7848b9796589b9e7670c62a26417228a15d6', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-dialogheader", { id: "dialog-header" })), index.h("div", { key: '611eb7914b65d5a27513f91eb458a578dbc63734', class: "content-body", id: "dialog-content" }, index.h("slot", { key: 'caf21876e6a33e997eccdc577fb43d6e63fcfc90' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? constants69bafca2.ButtonType.Submit : constants69bafca2.ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
824
- }
825
- get el() { return index.getElement(this); }
826
- static get watchers() { return {
827
- "open": ["handleDialogOpenChange"]
828
- }; }
829
- };
830
- NvDialog.style = NvDialogStyle0;
831
-
832
- exports.nv_dialog = NvDialog;
537
+ exports.tabbable = tabbable;
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-WPRkQD3O.js');
3
+ var index = require('./index-kU2nW5aN.js');
4
+ require('@stencil/react-output-target/runtime');
4
5
  require('react');
5
6
  require('react-dom');
6
7
 
@@ -70,6 +71,9 @@ exports.NvDatatable = index.NvDatatable;
70
71
  exports.NvDialog = index.NvDialog;
71
72
  exports.NvDialogfooter = index.NvDialogfooter;
72
73
  exports.NvDialogheader = index.NvDialogheader;
74
+ exports.NvDrawer = index.NvDrawer;
75
+ exports.NvDrawerfooter = index.NvDrawerfooter;
76
+ exports.NvDrawerheader = index.NvDrawerheader;
73
77
  exports.NvFieldcheckbox = index.NvFieldcheckbox;
74
78
  exports.NvFielddate = index.NvFielddate;
75
79
  exports.NvFielddaterange = index.NvFielddaterange;
@@ -91,9 +95,19 @@ exports.NvLoader = index.NvLoader;
91
95
  exports.NvMenu = index.NvMenu;
92
96
  exports.NvMenuitem = index.NvMenuitem;
93
97
  exports.NvNotification = index.NvNotification;
98
+ exports.NvNotificationBullet = index.NvNotificationBullet;
94
99
  exports.NvNotificationcontainer = index.NvNotificationcontainer;
95
100
  exports.NvPopover = index.NvPopover;
96
101
  exports.NvRow = index.NvRow;
102
+ exports.NvSidebar = index.NvSidebar;
103
+ exports.NvSidebarcontent = index.NvSidebarcontent;
104
+ exports.NvSidebardivider = index.NvSidebardivider;
105
+ exports.NvSidebarfooter = index.NvSidebarfooter;
106
+ exports.NvSidebargroup = index.NvSidebargroup;
107
+ exports.NvSidebarheader = index.NvSidebarheader;
108
+ exports.NvSidebarlogo = index.NvSidebarlogo;
109
+ exports.NvSidebarnavitem = index.NvSidebarnavitem;
110
+ exports.NvSidebarnavsubitem = index.NvSidebarnavsubitem;
97
111
  exports.NvSplit = index.NvSplit;
98
112
  exports.NvStack = index.NvStack;
99
113
  exports.NvTable = index.NvTable;