@nova-design-system/nova-react 3.27.0 → 3.29.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 (83) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/generated/components.server.js +24 -0
  3. package/dist/cjs/index-DgKzi_Pd.js +10208 -0
  4. package/dist/cjs/index.js +4 -1
  5. package/dist/cjs/nova-datetime-CyL2J6O4-0Y9g3rfI.js +10531 -0
  6. package/dist/cjs/{nv-accordion-item.entry-Gn0QFETn.js → nv-accordion-item.entry-D1o0gC5w.js} +3 -3
  7. package/dist/cjs/{nv-accordion.entry-BooppL5C.js → nv-accordion.entry-DYJtq9Az.js} +1 -1
  8. package/dist/cjs/{nv-alert.entry-CDmHhq86.js → nv-alert.entry-CMtCdHmk.js} +2 -2
  9. package/dist/cjs/{nv-avatar.entry-pYMjQvxK.js → nv-avatar.entry-B6e7aG4W.js} +1 -1
  10. package/dist/cjs/{nv-badge_2.entry-BneUUyR7.js → nv-badge_2.entry-RD3j0bJM.js} +8 -7
  11. package/dist/cjs/{nv-breadcrumb.entry-B7CGcJ_l.js → nv-breadcrumb.entry-DgpqY2fr.js} +1 -1
  12. package/dist/cjs/{nv-breadcrumbs.entry-BNKz4ehX.js → nv-breadcrumbs.entry-CZgcDUw5.js} +1 -1
  13. package/dist/cjs/{nv-button.entry-DDCkNY_S.js → nv-button.entry-DR9NaRxG.js} +1 -1
  14. package/dist/cjs/{nv-buttongroup.entry-Bio-SWcx.js → nv-buttongroup.entry-qO8r7WqG.js} +1 -1
  15. package/dist/cjs/{nv-calendar.entry-BoNFEz6W.js → nv-calendar.entry-DRlv3Xph.js} +1 -1
  16. package/dist/cjs/{nv-col.entry-BHTqFTHl.js → nv-col.entry-B7utJttP.js} +2 -2
  17. package/dist/cjs/{nv-datagrid.entry-Bw_sqaMu.js → nv-datagrid.entry-digYmlnA.js} +1 -1
  18. package/dist/cjs/{nv-datagridcolumn.entry-Z-RXn3ak.js → nv-datagridcolumn.entry-UwaDi-Hr.js} +1 -1
  19. package/dist/cjs/nv-datetest.entry-BJtWaM2T.js +69 -0
  20. package/dist/cjs/nv-datetimetest.entry-WaNPcHxh.js +57 -0
  21. package/dist/cjs/{nv-dialog.entry-ByZkK4F9.js → nv-dialog.entry-BI_mFT2G.js} +2 -2
  22. package/dist/cjs/{nv-dialogfooter_2.entry-Bddcz6HA.js → nv-dialogfooter_2.entry-DU2ClBUR.js} +7 -5
  23. package/dist/cjs/{nv-drawer.entry-660dihzy.js → nv-drawer.entry-BKF4CyOt.js} +2 -2
  24. package/dist/cjs/{nv-drawerfooter_2.entry-D6EA-3-u.js → nv-drawerfooter_2.entry-BSyUs7_4.js} +5 -3
  25. package/dist/cjs/{nv-fieldcheckbox.entry-Bm6qurcS.js → nv-fieldcheckbox.entry-l5FWToQi.js} +5 -5
  26. package/dist/cjs/{nv-fielddate.entry-DW9RQ_dD.js → nv-fielddate.entry-BfviesNp.js} +8 -8
  27. package/dist/cjs/{nv-fielddaterange.entry-m3dY0P2v.js → nv-fielddaterange.entry-BvDkPLXG.js} +8 -8
  28. package/dist/cjs/{nv-fielddropdown.entry-DkARzQix.js → nv-fielddropdown.entry-B-nYjuMt.js} +6 -6
  29. package/dist/cjs/{nv-fielddropdownitem.entry-DKG1bO2H.js → nv-fielddropdownitem.entry-Dxqyb9DN.js} +2 -2
  30. package/dist/cjs/{nv-fieldmultiselect.entry-B4As0NxI.js → nv-fieldmultiselect.entry-CgO1RP0W.js} +115 -86
  31. package/dist/cjs/{nv-fieldnumber.entry-DHBPKUcr.js → nv-fieldnumber.entry-stgdLi7x.js} +6 -6
  32. package/dist/cjs/{nv-fieldpassword.entry-DxEaIvRh.js → nv-fieldpassword.entry-CHA3JAUd.js} +6 -6
  33. package/dist/cjs/{nv-fieldradio.entry-MSrPlSzv.js → nv-fieldradio.entry-DHavVjB-.js} +4 -4
  34. package/dist/cjs/{nv-fieldselect.entry-qMAtqdcr.js → nv-fieldselect.entry-Dq5AsOFt.js} +7 -7
  35. package/dist/cjs/{nv-fieldslider.entry-CHdMG-lt.js → nv-fieldslider.entry-SlF3BBUW.js} +4 -4
  36. package/dist/cjs/{nv-fieldtext.entry-tbYFUJP9.js → nv-fieldtext.entry-BYCc8SyD.js} +6 -6
  37. package/dist/cjs/{nv-fieldtextarea.entry-D7b3-4Ar.js → nv-fieldtextarea.entry-96JCOb9L.js} +5 -5
  38. package/dist/cjs/{nv-fieldtime.entry-TSPljEeW.js → nv-fieldtime.entry-BdzjxkaK.js} +15 -12
  39. package/dist/cjs/nv-icon.entry-CSRxi6BH.js +80 -0
  40. package/dist/cjs/{nv-iconbutton_2.entry-Ch0rfD12.js → nv-iconbutton_2.entry-BtDxwMFD.js} +3 -3
  41. package/dist/cjs/{nv-menu.entry-BKLyCbyy.js → nv-menu.entry-aX39SPH8.js} +2 -2
  42. package/dist/cjs/{nv-menuitem.entry-BBK6uQav.js → nv-menuitem.entry-DzSp52G2.js} +2 -2
  43. package/dist/cjs/{nv-notification-bullet.entry-Dk0oaUTe.js → nv-notification-bullet.entry-D2yOXj46.js} +1 -1
  44. package/dist/cjs/{nv-notification.entry-DVUXuj9T.js → nv-notification.entry-BRXHbtT8.js} +2 -2
  45. package/dist/cjs/{nv-notificationcontainer.entry-BQbB0vJ8.js → nv-notificationcontainer.entry-YNIM2_ah.js} +2 -14
  46. package/dist/cjs/{nv-pagination-nav.entry-BON8ve70.js → nv-pagination-nav.entry-uY1nT9aT.js} +2 -2
  47. package/dist/cjs/{nv-paginationtable.entry-pT2Qx3xY.js → nv-paginationtable.entry-mr5KYXVC.js} +2 -2
  48. package/dist/cjs/{nv-popover.entry-91VegZzi.js → nv-popover.entry-_9ARKM70.js} +2 -2
  49. package/dist/cjs/{nv-row.entry-C_75GYAm.js → nv-row.entry-BMQvcqlU.js} +2 -2
  50. package/dist/cjs/{nv-sidebar.entry-XIcDybjF.js → nv-sidebar.entry-C4HTjJmz.js} +2 -2
  51. package/dist/cjs/{nv-sidebarcontent.entry-JSf1Mb0x.js → nv-sidebarcontent.entry-llnRwVuj.js} +2 -2
  52. package/dist/cjs/{nv-sidebardivider.entry-XZ1hYAgj.js → nv-sidebardivider.entry--rQv8d5T.js} +2 -2
  53. package/dist/cjs/{nv-sidebarfooter.entry-BHO9gh6y.js → nv-sidebarfooter.entry-C5R0sUI_.js} +2 -2
  54. package/dist/cjs/{nv-sidebargroup.entry-DAb7dWFF.js → nv-sidebargroup.entry-DdrpLbU7.js} +2 -2
  55. package/dist/cjs/{nv-sidebarheader.entry-BksZP_km.js → nv-sidebarheader.entry-HuBPIsyf.js} +2 -2
  56. package/dist/cjs/{nv-sidebarlogo.entry-BntEWmH_.js → nv-sidebarlogo.entry-TZNPoqnA.js} +2 -2
  57. package/dist/cjs/{nv-sidebarnavitem.entry-DSu34C34.js → nv-sidebarnavitem.entry-BWc3mF5I.js} +3 -3
  58. package/dist/cjs/{nv-sidebarnavsubitem.entry-Y8Ex0_Lr.js → nv-sidebarnavsubitem.entry-DekANwO8.js} +2 -2
  59. package/dist/cjs/{nv-split.entry-BDr6FxCd.js → nv-split.entry-BOwOB8FW.js} +2 -2
  60. package/dist/cjs/{nv-stack.entry-CChjKrA3.js → nv-stack.entry-CaTiSLGN.js} +2 -2
  61. package/dist/cjs/{nv-table.entry-CfqHpj1L.js → nv-table.entry-LFZaS0Dy.js} +3 -3
  62. package/dist/cjs/{nv-tableheader.entry-C61xO9Ra.js → nv-tableheader.entry-CK50S8xW.js} +2 -2
  63. package/dist/cjs/nv-timetest.entry-A9elKwkf.js +75 -0
  64. package/dist/cjs/{nv-toggle.entry-B0HofO36.js → nv-toggle.entry-BGu-6rEs.js} +3 -3
  65. package/dist/cjs/{nv-togglebutton.entry-CzyNiZyK.js → nv-togglebutton.entry-BzAcBOgN.js} +2 -2
  66. package/dist/cjs/{nv-togglebuttongroup.entry-TizvIVlB.js → nv-togglebuttongroup.entry-CIWp7IXc.js} +2 -2
  67. package/dist/cjs/{nv-tooltip.entry-0kcGcQZo.js → nv-tooltip.entry-CoGkSHpv.js} +9 -4
  68. package/dist/components/NvDatatable/NvDatatable.js +384 -65
  69. package/dist/components/NvDatatable/selectionState.js +45 -0
  70. package/dist/components/NvDatatable/selectionState.test.js +74 -0
  71. package/dist/generated/components.js +38 -0
  72. package/dist/generated/components.server.js +21 -0
  73. package/dist/types/components/NvDatatable/NvDatatable.d.ts +1 -1
  74. package/dist/types/components/NvDatatable/selectionState.d.ts +21 -0
  75. package/dist/types/components/NvDatatable/selectionState.test.d.ts +1 -0
  76. package/dist/types/components/NvDatatable/types.d.ts +22 -0
  77. package/dist/types/generated/components.d.ts +51 -1
  78. package/dist/types/generated/components.server.d.ts +51 -1
  79. package/dist/types/index.d.ts +1 -0
  80. package/dist/types/providers/NotificationProvider.d.ts +2 -2
  81. package/package.json +6 -4
  82. package/dist/cjs/index-clzdrCkN.js +0 -9713
  83. package/dist/cjs/nv-icon.entry-BtmsouTL.js +0 -80
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
5
5
  require('./style-value-types.es-xlgmw4x8-B1vLqX9m.js');
6
6
  require('@stencil/react-output-target/runtime');
@@ -196,12 +196,12 @@ const NvAccordionItem = class {
196
196
  /****************************************************************************/
197
197
  //#region RENDER
198
198
  render() {
199
- return (index.h(index.Host, { key: '0105972617975546456bc611209e7aa3e233833e', class: {
199
+ return (index.h(index.Host, { key: '2db3307c8665cf2d4b05c963cc8ca3147347876f', class: {
200
200
  'nv-accordion-item': true,
201
201
  'is-open': this.currentOpenState,
202
202
  'is-disabled': this.disabled,
203
203
  'is-animating': this.isAnimating,
204
- }, role: "listitem", "aria-expanded": this.currentOpenState ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: 'c7475f319d5bf737fc0db2c3a127db409614440f', class: "nv-accordion-item__header", onClick: this.handleHeaderClick, "aria-controls": "content" }, index.h("slot", { key: '3bc7770b94ae5ac43bbe60bf95f54048e1b4627a', name: "header" }, index.h("div", { key: '4258d3bfba027886cc827e399c51776197312063', class: "nv-accordion-item__header-content" }, this.itemTitle && (index.h("span", { key: 'a14d303daef12c4db52c0944eba36f9aa6aeca37', class: "nv-accordion-item__title" }, this.itemTitle)), this.subtitle && (index.h("span", { key: '814dc4ae5baa839b010dcd1e229d66e2a5f7af23', class: "nv-accordion-item__subtitle" }, this.subtitle)))), index.h("nv-iconbutton", { key: 'aeec0b17000461b24ed02cfc88f220a21dde38b5', emphasis: "low", size: "sm", shape: "square", name: this.chevronIconName, tabindex: this.disabled ? -1 : 0, onClick: this.handleIconClick, onKeyDown: this.handleHeaderKeyDown, "aria-controls": "content", "aria-label": this.currentOpenState ? 'Close the section' : 'Open the section' })), index.h("div", { key: 'fcc3b286b3a49a294f50a12516ffe345c666c1ac', id: "content", class: "nv-accordion-item__content", ref: el => (this.contentRef = el) }, index.h("div", { key: 'd31933c4e3111025fcfce99f5c57e7c6d0d15fd8', class: "nv-accordion-item__content-inner" }, index.h("slot", { key: '34252e6dded7011301840d3b1b7b9af0166c9f5c', name: "content" })))));
204
+ }, role: "listitem", "aria-expanded": this.currentOpenState ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '993d96a9f61a5d1b8373108da93ff2fb3c99743e', class: "nv-accordion-item__header", onClick: this.handleHeaderClick, "aria-controls": "content" }, index.h("slot", { key: '8f38e7f8e97f654cbb11e22f8e0d300a15f62d82', name: "header" }, index.h("div", { key: '586b7a7555d874d014952393f217086d15863105', class: "nv-accordion-item__header-content" }, this.itemTitle && (index.h("span", { key: 'c94820fb1701aac71316e07282514db4ae91ddec', class: "nv-accordion-item__title" }, this.itemTitle)), this.subtitle && (index.h("span", { key: '76421e64254eb9b3d3a4f61f10e850c99c2b647c', class: "nv-accordion-item__subtitle" }, this.subtitle)))), index.h("nv-iconbutton", { key: '5f440c0313ebabcf0f0cab34d9e94212d250268f', emphasis: "low", size: "sm", shape: "square", name: this.chevronIconName, tabindex: this.disabled ? -1 : 0, onClick: this.handleIconClick, onKeyDown: this.handleHeaderKeyDown, "aria-controls": "content", "aria-label": this.currentOpenState ? 'Close the section' : 'Open the section' })), index.h("div", { key: '6c83b26f4da8112146a5dc76c7b2a28e69241fae', id: "content", class: "nv-accordion-item__content", ref: el => (this.contentRef = el) }, index.h("div", { key: '0d8fba56bcf5487b45ce1bfac5a8fd68500817cc', class: "nv-accordion-item__content-inner" }, index.h("slot", { key: '2238e8f467f9253e1a9e7e54d1a66593373cec47', name: "content" })))));
205
205
  }
206
206
  get el() { return index.getElement(this); }
207
207
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  require('@stencil/react-output-target/runtime');
5
5
  require('react');
6
6
  require('react-dom');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
6
6
  var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
@@ -163,7 +163,7 @@ const NvAlert = class {
163
163
  /****************************************************************************/
164
164
  //#region RENDER
165
165
  render() {
166
- return (index.h(index.Host, { key: '2c89126ecbdca5e8df9c0541a4e312d2dc8a9fb3', role: "alert", class: clsxChV9xqsO.clsx('root', `feedback-${this.feedback}`) }, index.h("nv-icon", { key: '3aa514682ac670d81c7c88fa8b9b6f02e2761c45', name: this.icon ?? this.getDefaultIcon(), class: `icon-${this.feedback}`, size: "md" }), index.h("div", { key: '5049bdb9d17b9ef07e15554631cc8fbd557e4b22', class: "content" }, this.heading && index.h("p", { key: '3faaa7e738f484f2f7dc543866eadaa861c0709b', class: "heading" }, this.heading), this.message && index.h("p", { key: 'abd16d9cb5bc2f28e63c534e8f9f2169e511df2f', class: "message" }, this.message), index.h("slot", { key: '0b14b616a7e6665f903f0aa6c32f706b0aa8bd27' })), this.dismissible && (index.h("button", { key: '5d35998aac73ea82ef06e1d083597a7677c0cd70', class: "close", type: "button", onClick: this.handleDismiss }, index.h("nv-icon", { key: '3088178c1152525a400d116ac07ce372dadd420b', name: "x", size: "sm" })))));
166
+ return (index.h(index.Host, { key: '9a8ab30a8653a1369de135474a7c3772fa48e34b', role: "alert", class: clsxChV9xqsO.clsx('root', `feedback-${this.feedback}`) }, index.h("nv-icon", { key: '3f6789afa52b52b583256a9534297f20cdb638d6', name: this.icon ?? this.getDefaultIcon(), class: `icon-${this.feedback}`, size: "md" }), index.h("div", { key: '6ef7b204125af6c249db995159a76e540285e0e6', class: "content" }, this.heading && index.h("p", { key: '0a1622512986eb61003df3690d1e1317ef4a4152', class: "heading" }, this.heading), this.message && index.h("p", { key: '985884d07932a356af1c124edab0524cd4539521', class: "message" }, this.message), index.h("slot", { key: 'cec75763902869e019b6fbc1b793106534a8bbda' })), this.dismissible && (index.h("button", { key: '9df0c2b641a00a174f8e8a090e0c7d6e48ca97ea', class: "close", type: "button", onClick: this.handleDismiss }, index.h("nv-icon", { key: '973eeb6af6df7f07ce6d7e6965b42b89fa283b83', name: "x", size: "sm" })))));
167
167
  }
168
168
  get el() { return index.getElement(this); }
169
169
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
6
6
  require('@stencil/react-output-target/runtime');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
6
6
  var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
@@ -42,6 +42,7 @@ const NvBadge = class {
42
42
  this.label = null;
43
43
  /**
44
44
  * The lead icon of the badge.
45
+ * @icon
45
46
  */
46
47
  this.leadIcon = null;
47
48
  /**
@@ -120,7 +121,7 @@ const NvBadge = class {
120
121
  if (this.dismissal) {
121
122
  this.dismissible = this.dismissal;
122
123
  }
123
- if (this.icon != null && this.icon != '') {
124
+ if (this.icon != null && this.icon) {
124
125
  this.leadIcon = this.icon;
125
126
  }
126
127
  if (this.hidden) {
@@ -135,14 +136,14 @@ const NvBadge = class {
135
136
  /****************************************************************************/
136
137
  //#region RENDER
137
138
  render() {
138
- return (index.h(index.Host, { key: 'e47c85f80669870b4cd825fa29ebee7610751728', class: clsxChV9xqsO.clsx(`badge-${this.color}`, {
139
+ return (index.h(index.Host, { key: '178d7a8500d2b51bff75934f020d68df2548bbb9', class: clsxChV9xqsO.clsx(`badge-${this.color}`, {
139
140
  'has-close': this.dismissible,
140
141
  'with-gap': this.dismissible || this.label,
141
142
  'visually-hidden': this._isHidden,
142
143
  'is-icon-only': this.isIconOnly,
143
- }) }, index.h("span", { key: '11cec03cc5f65c6def293b548d71ea53fd2ec2bb', class: "nv-badge-leading" }, this.leadIcon && index.h("nv-icon", { key: 'a9433930c4e7dd50d3abd34e1cd64b5b4eea9698', name: this.leadIcon, size: "sm" }), index.h("slot", { key: 'a93320c14a9e31b9b9796b5fb9cb03a04a2ea1d5', name: "leading-icon" })), index.h("span", { key: '5a8a3568cfbe2e9b61a42b3cd5b5056bd5c2563f', class: clsxChV9xqsO.clsx('nv-badge-label', {
144
+ }) }, index.h("span", { key: '67dec92be67c5f2a8e75c348fd8e5d30da8a8a46', class: "nv-badge-leading" }, this.leadIcon && index.h("nv-icon", { key: '19f2acbecb7be8ea62f7656d2e2e79c2f03baebd', name: this.leadIcon, size: "sm" }), index.h("slot", { key: '9bbb8b139c5c38d635ecf6947a860a5ac08da316', name: "leading-icon" })), index.h("span", { key: '07ba9cba9bbcff4b9539f1e6af80a0440fca4afb', class: clsxChV9xqsO.clsx('nv-badge-label', {
144
145
  'visually-hidden': this.isIconOnly,
145
- }) }, this.label, index.h("slot", { key: '4b0c4558957d4505208e2352382365b2f50810d1' })), this.dismissible && (index.h("button", { key: '945df330dcae40586ac02d349abc73131e8ce596', onClick: this.handleClose, class: "close", type: "button" }, index.h("nv-icon", { key: '37535be0818bc78809f5585841757dd992617753', name: "x", size: "sm" })))));
146
+ }) }, this.label, index.h("slot", { key: '807224b100e753cb07e4af338bfb90054df7ac97' })), this.dismissible && (index.h("button", { key: '6e2f9d6f81bbfe8529deed31dbd59274cd1ea51e', onClick: this.handleClose, class: "close", type: "button" }, index.h("nv-icon", { key: 'e0e3c0c6400893a70db61558b13e7e619fa576cc', name: "x", size: "sm" })))));
146
147
  }
147
148
  get el() { return index.getElement(this); }
148
149
  static get watchers() { return {
@@ -159,7 +160,7 @@ const NvBadge = class {
159
160
  };
160
161
  NvBadge.style = nvBadgeCss();
161
162
 
162
- const nvFielddropdownitemcheckCss = () => `nv-fielddropdownitemcheck slot-fb,nv-fielddropdownitemcheck span{all:unset}nv-fielddropdownitemcheck{cursor:pointer;display:flex;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);border-radius:var(--list-dropdown-item-radius)}nv-fielddropdownitemcheck:hover{background-color:var(--components-list-dropdown-item-background-hover)}`;
163
+ const nvFielddropdownitemcheckCss = () => `nv-fielddropdownitemcheck slot-fb,nv-fielddropdownitemcheck span{all:unset}nv-fielddropdownitemcheck{cursor:pointer;display:flex;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);border-radius:var(--list-dropdown-item-radius)}nv-fielddropdownitemcheck:hover,nv-fielddropdownitemcheck[data-state=highlighted]{background-color:var(--components-list-dropdown-item-background-hover)}`;
163
164
 
164
165
  const NvFielddropdownitemcheck = class {
165
166
  constructor(hostRef) {
@@ -210,7 +211,7 @@ const NvFielddropdownitemcheck = class {
210
211
  /****************************************************************************/
211
212
  //#region RENDER
212
213
  render() {
213
- return (index.h(index.Host, { key: '6c5bc9f6060ac711a1360dd45da58dddf7d7d563', onClick: this.handleClick }, index.h("nv-fieldcheckbox", { key: 'f3efe64e5f03411f1fe7433821a46c50cd18e10e', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, index.h("slot", { key: 'e603490efb497f0ef62049e7b44c34d91c8989d2' }), index.h("slot", { key: '6774a2ab5bf182297929afbcec8c489bf620bcab', name: "main" }), index.h("slot", { key: '5ca19cd56a5917ed125eb20c6713e25dc512fb45', name: "label" }), index.h("slot", { key: '847864bfbc3302bb07088f77d9c2d200fac8b505', name: "description" }))));
214
+ return (index.h(index.Host, { key: '52f3eeee8d22ab9b45723403c58edc3f16905a07', onClick: this.handleClick }, index.h("nv-fieldcheckbox", { key: 'b06def71aa859fca784140d5c961ffa6cd8cdccc', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, index.h("slot", { key: 'cc53d2732969cb2812d08f978b3d7eeb5cdaa02a' }), index.h("slot", { key: '67336141a3dcfdab0bdc749e1937797222eaaded', name: "main" }), index.h("slot", { key: '165a860ee2dbd1783d4bf391c3a07da6756d7013', name: "label" }), index.h("slot", { key: '27c6e04f85b608a267ef2b280326d125c22dd970', name: "description" }))));
214
215
  }
215
216
  get el() { return index.getElement(this); }
216
217
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  require('@stencil/react-output-target/runtime');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  require('@stencil/react-output-target/runtime');
5
5
  require('react');
6
6
  require('react-dom');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
5
5
  require('@stencil/react-output-target/runtime');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  require('@stencil/react-output-target/runtime');
5
5
  require('react');
6
6
  require('react-dom');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
5
5
  var _commonjsHelpersB85MJLTf = require('./_commonjsHelpers-B85MJLTf-CFO10eej.js');
6
6
  require('@stencil/react-output-target/runtime');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  require('@stencil/react-output-target/runtime');
6
6
  require('react');
@@ -30,7 +30,7 @@ const NvCol = class {
30
30
  /****************************************************************************/
31
31
  //#region RENDER
32
32
  render() {
33
- return (index.h(index.Host, { key: '4fe90a1d020de9e85d32a52ccb39c8b6d8c1fc25', class: clsxChV9xqsO.clsx(this.getColSize()) }, index.h("slot", { key: '5a6ad624fd7c6251b2f555c0e3bc828c0e048761' })));
33
+ return (index.h(index.Host, { key: '8170490b65da46794b207e150175c0627ab57b94', class: clsxChV9xqsO.clsx(this.getColSize()) }, index.h("slot", { key: '7c4cdb29efdd597af059f7942a6baf89d7d53b34' })));
34
34
  }
35
35
  };
36
36
  NvCol.style = nvColCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var dom_utilsCuXVGECR = require('./dom.utils-CuXVGECR-8VY5SfMZ.js');
5
5
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
6
6
  require('@stencil/react-output-target/runtime');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  require('@stencil/react-output-target/runtime');
5
5
  require('react');
6
6
  require('react-dom');
@@ -0,0 +1,69 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DgKzi_Pd.js');
4
+ var novaDatetimeCyL2J6O4 = require('./nova-datetime-CyL2J6O4-0Y9g3rfI.js');
5
+ require('@stencil/react-output-target/runtime');
6
+ require('react');
7
+ require('react-dom');
8
+
9
+ const nvDatetestCss = () => `nv-datetest{display:flex}nv-datetest label{display:flex;flex-direction:column;margin-right:10px;font-weight:bold}nv-datetest input{font-weight:normal;padding:var(--spacing-2);border-radius:var(--spacing-1);border:1px solid #ccc}`;
10
+
11
+ const NvDatetest = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.valueChanged = index.createEvent(this, "valueChanged", 3);
15
+ this.lastChanged = index.createEvent(this, "lastChanged", 3);
16
+ this.historyChanged = index.createEvent(this, "historyChanged", 3);
17
+ this.valueDateChanged = index.createEvent(this, "valueDateChanged", 3);
18
+ //#endregion PROPERTIES
19
+ /****************************************************************************/
20
+ //#region METHODS
21
+ this.handleStartChange = (event) => {
22
+ const input = event.target;
23
+ const parsed = novaDatetimeCyL2J6O4.parseDateOnly(input.value);
24
+ if (!parsed)
25
+ return;
26
+ const newStart = novaDatetimeCyL2J6O4.formatDateOnly(parsed);
27
+ this.value = { start: newStart, end: this.value?.end };
28
+ this.lastChange = newStart;
29
+ this.history = [...(this.history ?? []), newStart];
30
+ this.valueChanged.emit(this.value);
31
+ this.lastChanged.emit({ date: this.lastChange });
32
+ this.historyChanged.emit({ dates: this.history });
33
+ this.valueDateChanged.emit({
34
+ start: this.value?.start
35
+ ? new Date(this.value.start + 'T00:00:00')
36
+ : undefined,
37
+ end: this.value?.end ? new Date(this.value.end + 'T00:00:00') : undefined,
38
+ });
39
+ };
40
+ this.handleEndChange = (event) => {
41
+ const input = event.target;
42
+ const parsed = novaDatetimeCyL2J6O4.parseDateOnly(input.value);
43
+ if (!parsed)
44
+ return;
45
+ const newEnd = novaDatetimeCyL2J6O4.formatDateOnly(parsed);
46
+ this.value = { start: this.value?.start, end: newEnd };
47
+ this.lastChange = newEnd;
48
+ this.history = [...(this.history ?? []), newEnd];
49
+ this.valueChanged.emit(this.value);
50
+ this.lastChanged.emit({ date: this.lastChange });
51
+ this.historyChanged.emit({ dates: this.history });
52
+ this.valueDateChanged.emit({
53
+ start: this.value?.start
54
+ ? new Date(this.value.start + 'T00:00:00')
55
+ : undefined,
56
+ end: this.value?.end ? new Date(this.value.end + 'T00:00:00') : undefined,
57
+ });
58
+ };
59
+ }
60
+ //#endregion EVENTS
61
+ /****************************************************************************/
62
+ //#region RENDER
63
+ render() {
64
+ return (index.h(index.Host, { key: '44e383a31e357a45c8ebe011c4ec14641ce43d74' }, index.h("label", { key: '9be748d4fcbe74b81a7aa03f2a14c806c472f118' }, "Start:", index.h("input", { key: '262ffa195b8dc8ecaaea00d12b6debe48b375cd1', type: "date", value: this.value?.start ?? '', onInput: this.handleStartChange })), index.h("label", { key: 'd8934398264595a08eb75f241fd2c5bc50e9f0d2' }, "End:", index.h("input", { key: '3fdb5b2e410706c6cfedf5244e674fd1dab361a9', type: "date", value: this.value?.end ?? '', onInput: this.handleEndChange })), index.h("slot", { key: 'bb828cffcff4e2c69a48a314636470644c55d2cc' })));
65
+ }
66
+ };
67
+ NvDatetest.style = nvDatetestCss();
68
+
69
+ exports.nv_datetest = NvDatetest;
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DgKzi_Pd.js');
4
+ require('@stencil/react-output-target/runtime');
5
+ require('react');
6
+ require('react-dom');
7
+
8
+ const nvDatetimetestCss = () => `nv-datetimetest{display:flex}nv-datetimetest label{display:flex;flex-direction:column;margin-right:10px;font-weight:bold}nv-datetimetest input{font-weight:normal;padding:var(--spacing-2);border-radius:var(--spacing-1);border:1px solid #ccc}`;
9
+
10
+ const NvDatetimetest = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.valueChanged = index.createEvent(this, "valueChanged", 3);
14
+ this.lastChanged = index.createEvent(this, "lastChanged", 3);
15
+ this.historyChanged = index.createEvent(this, "historyChanged", 3);
16
+ //#endregion PROPERTIES
17
+ /****************************************************************************/
18
+ //#region METHODS
19
+ this.handleStartChange = (event) => {
20
+ const input = event.target;
21
+ const newStart = new Date(input.value);
22
+ this.value = { start: newStart, end: this.value?.end };
23
+ this.lastChange = newStart;
24
+ this.history = [...(this.history ?? []), newStart];
25
+ this.valueChanged.emit(this.value);
26
+ this.lastChanged.emit({ date: this.lastChange });
27
+ this.historyChanged.emit({ dates: this.history });
28
+ };
29
+ this.handleEndChange = (event) => {
30
+ const input = event.target;
31
+ const newEnd = new Date(input.value);
32
+ this.value = { start: this.value?.start, end: newEnd };
33
+ this.lastChange = newEnd;
34
+ this.history = [...(this.history ?? []), newEnd];
35
+ this.valueChanged.emit(this.value);
36
+ this.lastChanged.emit({ date: this.lastChange });
37
+ this.historyChanged.emit({ dates: this.history });
38
+ };
39
+ }
40
+ //#endregion EVENTS
41
+ /****************************************************************************/
42
+ //#region RENDER
43
+ render() {
44
+ const formatDate = (date) => {
45
+ if (!date)
46
+ return '';
47
+ const d = new Date(date);
48
+ if (isNaN(d.getTime()))
49
+ return '';
50
+ return d.toISOString().slice(0, 16);
51
+ };
52
+ return (index.h(index.Host, null, index.h("label", null, "Start:", index.h("input", { type: "datetime-local", value: formatDate(this.value?.start), onInput: this.handleStartChange })), index.h("label", null, "End:", index.h("input", { type: "datetime-local", value: formatDate(this.value?.end), onInput: this.handleEndChange })), index.h("slot", null)));
53
+ }
54
+ };
55
+ NvDatetimetest.style = nvDatetimetestCss();
56
+
57
+ exports.nv_datetimetest = NvDatetimetest;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var index_esmD3eWMME9 = require('./index.esm-D3eWMME9-CG1TVKfu.js');
5
5
  var events_utilsB6GgGra_ = require('./events.utils-B6GgGra--01N__3wY.js');
6
6
  var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
@@ -298,7 +298,7 @@ const NvDialog = class {
298
298
  //#region RENDER
299
299
  render() {
300
300
  const hasForm = this.form || this.el.querySelector('form');
301
- return (index.h(index.Host, { key: '402dda24aab32637cbfd4a2967297fab760e6389' }, index.h("slot", { key: '3744313bc37f3bbf4fabe235004d1e99a6d82ffd', name: "trigger" }), index.h("dialog", { key: '8d34a090d52e729c8dbed18270900d8ef46c6a7a', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onPointerDown: this.handleDialogPointerDown, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsxChV9xqsO.clsx({ full: this.full }) }, index.h("div", { key: '9539f8682b25f4cf52f4a6fc554d1c314f015655', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: '3d74eb9b30bd5d39afd76a20d229adc0f3343f8c', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (index.h("nv-button", { key: 'd061699ef943f1178e985cfca832918b05e914be', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, index.h("nv-icon", { key: 'f60991a49b800d6a5f3af15ddc27fcbf77310a0d', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-dialogheader", { id: "dialog-header" })), index.h("div", { key: 'b3e76c96245728cd574d7d357ec0507525ba9ed5', class: "content-body", id: "dialog-content" }, index.h("slot", { key: 'be5a36d7e816f5be9c624c13d5ee03126e1d97cf' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? constantsBReL3Lsa.ButtonType.Submit : constantsBReL3Lsa.ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
301
+ return (index.h(index.Host, { key: '8a7bd6c255e68d2950802190764221263eedc794' }, index.h("slot", { key: '3194aed7aa3e70ca0c7d3a9aa310a5ae12a8c55f', name: "trigger" }), index.h("dialog", { key: '2eb801ffa547e5159e125631de4973c4072228e6', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onPointerDown: this.handleDialogPointerDown, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsxChV9xqsO.clsx({ full: this.full }) }, index.h("div", { key: 'be4754c9b659de5186ceca7a038cfe048e36f7e6', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: '6dc502fe058efde6220c15fff444a16c5920e524', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (index.h("nv-button", { key: 'b9bbc39d6553e268aaabd8a394209302b4c3129d', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, index.h("nv-icon", { key: 'aa8eb0f8ce6d2d5480b8522c470c61e902fb05fd', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-dialogheader", { id: "dialog-header" })), index.h("div", { key: '9e53461c4ff39eb272dfc1042047f43aa9afa4cc', class: "content-body", id: "dialog-content" }, index.h("slot", { key: '26f5bbe3d31dc0a341cf444dd4116f7ffd51f469' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? constantsBReL3Lsa.ButtonType.Submit : constantsBReL3Lsa.ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
302
302
  }
303
303
  get el() { return index.getElement(this); }
304
304
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
5
5
  require('@stencil/react-output-target/runtime');
6
6
  require('react');
@@ -33,12 +33,14 @@ const NvDialogfooter = class {
33
33
  this.undismissable = false;
34
34
  /**
35
35
  * Sets the leading icon for the primary button.
36
+ * @icon
36
37
  */
37
- this.leadingIcon = '';
38
+ this.leadingIcon = null;
38
39
  /**
39
40
  * Sets the trailing icon for the primary button.
41
+ * @icon
40
42
  */
41
- this.trailingIcon = '';
43
+ this.trailingIcon = null;
42
44
  /**
43
45
  * Sets the danger state for the primary button.
44
46
  */
@@ -86,7 +88,7 @@ const NvDialogfooter = class {
86
88
  /****************************************************************************/
87
89
  //#region RENDER
88
90
  render() {
89
- return (index.h(index.Host, { key: 'a5148c3e41ad6d7c5e54e2b29b8452707d5c2b2b' }, index.h("slot", { key: 'e5fcf66789eac1c6b0118403c33e7e80fb974c71' }, index.h(index.Fragment, { key: '9255d264f559322bebbcc874d91802bbaaeac2d6' }, !this.undismissable && (index.h("nv-button", { key: 'e8d6085fbbcf5bbdbad7b23d65660debb296a332', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { key: '8a6963f12e89860c3bb1e17eeed60cf9b6d81bc3', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { key: '59dc3f909f7366a0d0e05ab089d34b9d222f43ed', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { key: 'e2be736da129cf7720dad6e1a443eb55a182b2dd', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
91
+ return (index.h(index.Host, { key: 'a66631cca8c689b702dbaca327d432013a01d5a9' }, index.h("slot", { key: 'b11ebee7ba1cf0d54ea14061adfc2aa652a8f320' }, index.h(index.Fragment, { key: 'b476090b330740be2903f0f8baaf2af37ce9f4b9' }, !this.undismissable && (index.h("nv-button", { key: '7fbcf88d375443143b6c51e4374d2c8aab0a138c', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { key: '45ea2b382870b4a94033e609b5bc57d0af7cad93', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { key: 'c021c5db17e94c0fa320824335ad3cf3507fc47e', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { key: '3b3f4ebf29a35d901228d46ce799ff722a874272', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
90
92
  }
91
93
  static get formAssociated() { return true; }
92
94
  get el() { return index.getElement(this); }
@@ -109,7 +111,7 @@ const NvDialogheader = class {
109
111
  /****************************************************************************/
110
112
  //#region RENDER
111
113
  render() {
112
- return (index.h(index.Host, { key: '8577fd5a719adf8764d85f667495701cb1514df2' }, index.h("slot", { key: '5858bd8fff71db135f69a76cb298343f0590f853' }, index.h(index.Fragment, { key: '81ac703e205f1b8587144213c7f57c9fd7ba9657' }, index.h("div", { key: '5a12e1facef605d96338b31468c8d8109379e2d1', class: "heading" }, this.heading), index.h("div", { key: '1a559041968e2b2b92a987c014e41380fe6f8616', class: "subheading" }, this.subheading)))));
114
+ return (index.h(index.Host, { key: '791850365cf2de9d1a5395083e01ee927e9fcfac' }, index.h("slot", { key: '2641c425dc10b7d748365fa0fa3d86a6784e129b' }, index.h(index.Fragment, { key: '7c8ef96b9c7e0ba03e374cc7e74d1f8f24d94c5b' }, index.h("div", { key: '53d09670dc9779101b3e79adea03bc34870df028', class: "heading" }, this.heading), index.h("div", { key: '624861c0ecac1de23ac1a4b558dea9de6acf5706', class: "subheading" }, this.subheading)))));
113
115
  }
114
116
  get el() { return index.getElement(this); }
115
117
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var index_esmD3eWMME9 = require('./index.esm-D3eWMME9-CG1TVKfu.js');
5
5
  var events_utilsB6GgGra_ = require('./events.utils-B6GgGra--01N__3wY.js');
6
6
  var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
@@ -431,7 +431,7 @@ const NvDrawer = class {
431
431
  render() {
432
432
  const hasForm = this.form || this.el.querySelector('form');
433
433
  const state = this.open ? 'open' : 'closed';
434
- return (index.h(index.Host, { key: 'e8ae3c1b5adcd23622f97d0f405fd8607e51b3e4' }, index.h("slot", { key: 'c94efef46482ef65c9a907d5f23e2306cc88c9af', name: "trigger" }), index.h("dialog", { key: '8b12d8885f4a7f987985b4be49aace1f48b66949', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsxChV9xqsO.clsx({ [`side-${this.side}`]: true }), "data-state": state }, index.h("div", { key: '5fc00bd8e28cf26c92e3c3888941e6209e03fb65', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: '7eb5e3335a15a3821fa4c62160a313bddf34e3b2', class: clsxChV9xqsO.clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (index.h("nv-button", { key: 'c284d6cea03806890603d71d27d642961eab4423', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, index.h("nv-icon", { key: 'daf2c3af54c3eaede4835b100200632e644b7cc6', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-drawerheader", { id: "drawer-header" })), index.h("div", { key: '90ffef76d60a3522ae5daf10554a3f8a487c5f76', class: "content-body", id: "drawer-content" }, index.h("slot", { key: 'd66e675a68c27819f7ca146afc27e63d05ad5603' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? constantsBReL3Lsa.ButtonType.Submit : constantsBReL3Lsa.ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
434
+ return (index.h(index.Host, { key: '6ca026b67705704b891c9bca8293dde501c0dc7d' }, index.h("slot", { key: 'ce9a79e0fe385b774aeac0106929343d6a053394', name: "trigger" }), index.h("dialog", { key: '49f9c71fd04de256f05d82d671b7664cf1ab3563', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsxChV9xqsO.clsx({ [`side-${this.side}`]: true }), "data-state": state }, index.h("div", { key: '9c113486255925e4c7520c1f040b95ec253625d8', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: 'e5b32ffe6785c27eef326f37b23478b9993f451a', class: clsxChV9xqsO.clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (index.h("nv-button", { key: 'ac89f7d87b1f307fd809e518cfb88ceb82a074af', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, index.h("nv-icon", { key: '47d0888ea54efdf3f82cfd0b39bda5c1141074ba', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-drawerheader", { id: "drawer-header" })), index.h("div", { key: '77a08ee8fcda500d45c9426de8d0b6fb9e960142', class: "content-body", id: "drawer-content" }, index.h("slot", { key: 'fc40bc3ecb66c95c188b1984431788e8d3bb66e2' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? constantsBReL3Lsa.ButtonType.Submit : constantsBReL3Lsa.ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
435
435
  }
436
436
  get el() { return index.getElement(this); }
437
437
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var constantsBReL3Lsa = require('./constants-BReL3Lsa-DpB_ghPF.js');
5
5
  require('@stencil/react-output-target/runtime');
6
6
  require('react');
@@ -33,10 +33,12 @@ const NvDrawerfooter = class {
33
33
  this.undismissable = false;
34
34
  /**
35
35
  * Sets the leading icon for the primary button.
36
+ * @icon
36
37
  */
37
38
  this.leadingIcon = null;
38
39
  /**
39
40
  * Sets the trailing icon for the primary button.
41
+ * @icon
40
42
  */
41
43
  this.trailingIcon = null;
42
44
  /**
@@ -91,7 +93,7 @@ const NvDrawerfooter = class {
91
93
  /****************************************************************************/
92
94
  //#region RENDER
93
95
  render() {
94
- return (index.h(index.Host, { key: 'c83bba64c28cf284847c2b726e2d1bb9deb86152' }, index.h("slot", { key: '89e9a548f3cee3c45b8e7874e9d8618b469ce94a' }, index.h(index.Fragment, { key: 'ef18a333ef7c5de05891a265a8ccb85b6913237a' }, !this.undismissable && (index.h("nv-button", { key: 'd69eab0d344bdfb9f2454cc18d953f50b9d65aa2', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { key: '8329da9bcbb41cb972c2b2527334086c47a10f93', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { key: '86ac92ef44afe20e540422d3cd0ee45c04c233bc', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { key: '3a48543e903d060ff77d1100df4984db04c0d2cb', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
96
+ return (index.h(index.Host, { key: '280e30ae22c734269f8181a96ac0418d2c3bd5db' }, index.h("slot", { key: '9e435bc05507e06906121b49b4b486daff032ade' }, index.h(index.Fragment, { key: '1b38093cb1e7af2a16f5c465b9f7d0d79e39ea58' }, !this.undismissable && (index.h("nv-button", { key: 'a341887eb32885c375c393a8a13064c38b99cd48', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { key: '58ec1ef9f3e2e4647cea49bd89455da601976aff', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { key: '4ade73bea4bf75f845b07418e0dc3f5c032cff2e', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { key: '02e4cba8e8f39664cf0ee052fe8d5df4ef580949', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
95
97
  }
96
98
  static get formAssociated() { return true; }
97
99
  get el() { return index.getElement(this); }
@@ -118,7 +120,7 @@ const NvDrawerheader = class {
118
120
  /****************************************************************************/
119
121
  //#region RENDER
120
122
  render() {
121
- return (index.h(index.Host, { key: '8ada9e8c2b69a74b61b079de6def10bc7504d7f5' }, index.h("slot", { key: '29c79bb789bed32bb395f1d5a8ebccf4838e3f45' }, index.h(index.Fragment, { key: '688bb835bd87de992f5bc4a63f2a857b7f806120' }, index.h("div", { key: '2638fa0871f356cc5ec6e8b72f9812cdbc93ff03', class: "heading" }, this.heading), index.h("div", { key: 'a3c2b292bfc359e2d09ae4d9a88857bc9fa0d8cb', class: "subheading" }, this.subheading)))));
123
+ return (index.h(index.Host, { key: '7f7a5091089b48e34ca8161d37062a760d04cb04' }, index.h("slot", { key: '32a03c7930e82a38a3e26d6cd1726dd1ac9f246c' }, index.h(index.Fragment, { key: 'ef9d6e52ac2918691ec04df4cb7e7703d5e3d0ee' }, index.h("div", { key: '2a4c59cf0e68d17014b977dbcd15d7b76b63b396', class: "heading" }, this.heading), index.h("div", { key: '70820933a33c13e39db4bb3178d270ddb780afdf', class: "subheading" }, this.subheading)))));
122
124
  }
123
125
  get el() { return index.getElement(this); }
124
126
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-clzdrCkN.js');
3
+ var index = require('./index-DgKzi_Pd.js');
4
4
  var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
5
5
  var v4BdYh22OP = require('./v4-BdYh22OP-C1vaJ4yP.js');
6
6
  require('@stencil/react-output-target/runtime');
@@ -156,15 +156,15 @@ const NvFieldcheckbox = class {
156
156
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
157
157
  : undefined;
158
158
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
159
- return (index.h(index.Host, { key: '6ee6fed9bb078e32a40ac2d6c1c4baf2f1825be1', class: clsxChV9xqsO.clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, index.h("div", { key: '21b122c2c36382824eea7e66f2382cd333c0831c', class: "input-container" }, index.h("input", { key: '727fd8a8321e4259d44a8ffe362aa23bdb2e640e', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
159
+ return (index.h(index.Host, { key: 'd7af71859fcbf45833c17977e7f524d12d7ec516', class: clsxChV9xqsO.clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, index.h("div", { key: 'c636a80f3d538843e76b48f4bc6387064fdbcb6f', class: "input-container" }, index.h("input", { key: 'd5ca4e3d2166b89cd92aecd2b393f03d0d78b769', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, tabindex: this.el.tabIndex, ...(ariaRequiredValue !== undefined && {
160
160
  'aria-required': String(ariaRequiredValue),
161
161
  }), indeterminate: this.indeterminate, ref: el => {
162
162
  if (el) {
163
163
  el.indeterminate = this.indeterminate;
164
164
  }
165
- } }), index.h("span", { key: '74e19f64867b671e2f632780726f8cab9c6e485e', class: "icon" }, this.checked && !this.indeterminate && (index.h("slot", { key: '960d296f7caa4abe6f4268c41c09b29b4c0454da', name: "checked-icon" }, index.h("svg", { key: '5a6875f34252b36490daabfdc600b4aa748c6f2e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { key: '8acd040c77cb913d2904daaac86038171e338761', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (index.h("slot", { key: '42163fea08858131d3a4e74c119565e70d850cf2', name: "indeterminate-icon" }, index.h("svg", { key: '86d0ce5504ea9e8a82ba6c85b7729ce8161aaecf', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { key: 'ce47ed03186447bc90321a2aa8343a3377a6ade7', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), index.h("slot", { key: 'b41cb04185643e5dada6da24e5fc325905b53d08' }), index.h("div", { key: '57509a30441ab9de0c1949f6392dab34674ce91c', class: "text-container" }, index.h("slot", { key: '81ee7728a5a814371dab853d377e249afb5eab7e', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'f428aeaedd1e70f7b9626c54f3995b2998cde140', htmlFor: this.inputId, class: clsxChV9xqsO.clsx(this.hideLabel && 'visually-hidden') }, index.h("slot", { key: 'e36c574ba6041b7ab0dee5c02a025370f21d947a', name: "label" }, this.label))), (this.description ||
166
- this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'fed901aef5e5ac91b5ac04fc8751585b55031666', class: "description" }, index.h("slot", { key: '84fdd3bd94f0249f3ed821e1849be6a6f192fb72', name: "description" }, this.description)))), (this.errorDescription ||
167
- this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'fc0526ddbbd84e08c18ee27c0b4be0533af0fe22', hidden: !this.error, class: "error-description" }, index.h("slot", { key: 'd288116644ed450bdab0be20a3e7def7481e6c8b', name: "error-description" }, this.errorDescription))))));
165
+ } }), index.h("span", { key: 'b51e2d55382e69519d3764f4f9c7087ccfd24235', class: "icon" }, this.checked && !this.indeterminate && (index.h("slot", { key: 'cd70b0132a720ebf866fe21d1b53bbab89cda62f', name: "checked-icon" }, index.h("svg", { key: 'f1a9166fa75cbd37c2a0f1850b937de00f77a51e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { key: '2886dee16859f19b7dc630a100cbfd110c2e9eb7', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (index.h("slot", { key: '68eb14e2bbf5726a27023714f67de50d8e24ad83', name: "indeterminate-icon" }, index.h("svg", { key: '671dc1afed5b3b9d71efff519009c8384da49ec1', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { key: '956838789fbac27422e0db8f13c4e2a8abc64c74', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), index.h("slot", { key: 'a93af1189444b1c96ea689eff29b7fa1e5b726c6' }), index.h("div", { key: '1bd695cb83a2010267d6ce1ce8dc6902dd62adf4', class: "text-container" }, index.h("slot", { key: 'b4e3088cf9469842b403d0eeb3122a85d08ce710', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'f5326d69a430d60577fac4cbb6229cd26292cb6f', htmlFor: this.inputId, class: clsxChV9xqsO.clsx(this.hideLabel && 'visually-hidden') }, index.h("slot", { key: '56e52bbf5e0fed0e49b255a23a1c7fdabf69df13', name: "label" }, this.label))), (this.description ||
166
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'ca56f06cc4c3493e27d31de804f695bbe8a77231', class: "description" }, index.h("slot", { key: '46bd6a8deed8dfa6390b0994776a5c31aca16fdf', name: "description" }, this.description)))), (this.errorDescription ||
167
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'c1a5b14f4397a495e6ad340a6ae3a45e9f2c82fa', hidden: !this.error, class: "error-description" }, index.h("slot", { key: 'b8e10251f26ec1d541a1acad5d6bda0fc57b589d', name: "error-description" }, this.errorDescription))))));
168
168
  }
169
169
  static get formAssociated() { return true; }
170
170
  get el() { return index.getElement(this); }